var Te=Object.defineProperty,Re=Object.defineProperties;var De=Object.getOwnPropertyDescriptors;var de=Object.getOwnPropertySymbols;var Pe=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable;var ce=(S,g,r)=>g in S?Te(S,g,{enumerable:!0,configurable:!0,writable:!0,value:r}):S[g]=r,H=(S,g)=>{for(var r in g||(g={}))Pe.call(g,r)&&ce(S,r,g[r]);if(de)for(var r of de(g))Ie.call(g,r)&&ce(S,r,g[r]);return S},q=(S,g)=>Re(S,De(g));var y=(S,g,r)=>new Promise((m,P)=>{var o=x=>{try{f(r.next(x))}catch(l){P(l)}},L=x=>{try{f(r.throw(x))}catch(l){P(l)}},f=x=>x.done?m(x.value):Promise.resolve(x.value).then(o,L);f((r=r.apply(S,g)).next())});import{s as Ee,r as h,w as J,o as Le,e as Ve,p as $e,f as C,v as Y,i as a,g as T,q as ue,k as i,A as Q,x as ee,T as te,t as M,F as Ae,m as Ne,j as Z,G as Be,V as ve,h as w,W as je,l as fe,C as F}from"./vendor-vue.CmaRnji1.js";import{_ as ze,u as Oe,dD as He,a as Ye,ds as Ze,i as ae,A as Xe,f as X,du as Ke}from"./index.CjrDwa0W.js";import{O as We}from"./OneInputModal.DRJpYsK_.js";import"./vendor.DSdF8huI.js";import"./swiper.tg5sgs8j.js";/* empty css */const Ge={class:"w-full rounded-[44em] overflow-hidden h-full bg-[#F2F2F7] dark:bg-[#000000] flex flex-col"},Ue=["src"],qe={class:"w-full h-[81em] flex flex-col items-center flex-shrink-0"},Je={class:"w-full h-[50em] flex items-center"},Qe={class:"flex justify-between items-center w-[270em] h-full border-b-[1em] border-neutral-200 dark:border-stone-900"},et={key:0,class:"font-['SFPRO'] text-[21em] font-[400] text-black dark:text-white",delay:100},tt=["placeholder"],at={key:0,xmlns:"http://www.w3.org/2000/svg",class:"h-[50%]",width:"20",height:"20",viewBox:"0 0 19 19",fill:"white"},lt=["fill"],nt={key:1,xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 15 15"},ot=["stroke"],st={key:0,class:"w-full flex justify-center items-center flex-shrink-0"},it={class:"w-[272em] flex flex-col"},rt={class:"font-['SFPRO'] text-[21em] font-[400] text-black dark:text-white"},dt=["onClick","enter"],ct={class:"w-full font-['SFPRO'] font-[400] text-[13em] text-black dark:text-white"},ut={class:"flex justify-between font-['SFPRO'] font-[400] text-[9em] text-[#8F8F8F]"},vt={key:0,class:"flex-col"},ft={class:"w-full flex justify-between text-[#8F8F8F] text-[9em] font-['SFPRO'] font-[400]"},gt={class:"flex w-full justify-between items-center px-[4em]"},mt=["src"],ht={class:"flex justify-between items-center w-[87em]"},wt=["stroke"],pt=["stroke"],Ct=["stroke"],St=["fill"],bt=["fill"],kt=["fill"],xt=["stroke"],yt=["stroke"],_t=["stroke"],Mt=["src"],Ft={key:0,xmlns:"http://www.w3.org/2000/svg",class:"w-full h-full",width:"72",height:"72",viewBox:"0 0 72 72",fill:"none"},Tt=["fill","stroke"],Rt={key:1,class:"w-full h-full",width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Dt=["fill"],Pt={class:"font-['SFPRO'] text-black text-[15em] dark:text-white font-[400]"},It={class:"font-['SFPRO'] text-[#8F8F8F] text-[9em]"},Et={__name:"VoiceApp",setup(S){const g=Oe(),r=He(),{DarkMode:m,PlayerTalking:P}=Ee(g),{t:o}=Ye();let L=null,f=null,x=null;const l=h({}),V=h(!1);function ge(t){if(s.value&&(s.value.pause(),s.value=null),l.value.VoiceIndex===t){r.recordings.forEach(n=>n.active=!1),p.value=p.value.map(n=>q(H({},n),{active:!1})),l.value={};return}const e=p.value[t];r.recordings.forEach(n=>n.active=n.id===e.id),p.value=p.value.map((n,d)=>q(H({},n),{active:d===t})),l.value={TotalSecond:0,CurrentSecond:0,CurrentSecondString:"00:00",Percentage:0,Playing:!1,VoiceIndex:t}}function le(t){if(s.value)if(t){const e=s.value.currentTime+15;e>=l.value.TotalSecond?(s.value.currentTime=0,s.value.pause(),l.value.CurrentSecond=0,l.value.Percentage=0,l.value.CurrentSecondString="00:00",l.value.Playing=!1):s.value.currentTime=e}else{const e=s.value.currentTime-15;e<0?s.value.currentTime=0:s.value.currentTime=e}}function ne(t){return y(this,null,function*(){if(t){const e=l.value.VoiceIndex,n=p.value[e];(yield r.deleteRecording(n.id))&&(p.value=[...r.recordings]),l.value={},j.value=!1}else{j.value=!0;return}})}const $=h(!1),I=h({}),k=h({CurrentSecond:0,CurrentStringMinute:"00",CurrentStringSecond:"00"}),A=h("Recording"),oe=h(""),se=h([]),K=h(!1),N=h(null),B=h("");function ie(){return y(this,null,function*(){_.value===!0?yield he():yield me()})}function me(){return y(this,null,function*(){try{f=new Ke,yield f.initialize();const t=yield f.initializePeer();oe.value=t,yield f.getLocalMicrophone(),P.value||f.muteLocalAudio(!0);const e=setInterval(()=>{const d=f.getConnectedPeers();d.length!==se.value.length&&(se.value=d,d.length>0&&(B.value=`✅ ${d.length} kişi bağlı`))},1e3);window.peerCheckInterval=e,N.value=null,(yield f.startRecording())&&(_.value=!0,x=setInterval(()=>{k.value.CurrentSecond++;const d=Math.floor(k.value.CurrentSecond/60),v=k.value.CurrentSecond%60;k.value.CurrentStringMinute=d.toString().padStart(2,"0"),k.value.CurrentStringSecond=v.toString().padStart(2,"0")},1e3),setTimeout(()=>{X("SET_VOICE_PEER_ID",{peerId:oe.value})},1e3))}catch(t){console.error("Başlatma hatası:",t),B.value="❌ Hata: "+t.message}})}const he=()=>y(this,null,function*(){const t=yield f.stopRecording();if(t){N.value=t;const e=(t.size/1024).toFixed(2);B.value=`✅ Kayıt tamamlandı (${e} KB)`}if(clearInterval(x),!N.value||K.value){_.value=!1;return}try{K.value=!0;const e=yield f.uploadRecording(N.value);if(e&&e.url){const n=k.value.CurrentSecond,d=Math.floor(n/60).toString().padStart(2,"0"),v=(n%60).toString().padStart(2,"0");$.value=!0,I.value={url:e.url,location:A.value,duration:`${d}:${v}`}}}catch(e){B.value="❌ Yükleme hatası",console.error(e)}finally{K.value=!1,_.value=!1,A.value="Recording",f&&(f.cleanup(),f=null),window.peerCheckInterval&&clearInterval(window.peerCheckInterval),X("REMOVE_PEERID")}}),we=t=>{if(!t)return"";let e;if(t.includes("/")){const[G,O,U]=t.split("/");e=new Date(U,O-1,G)}else e=new Date(t);if(isNaN(e.getTime()))return t;const n=new Date,d=new Date(n);d.setDate(d.getDate()-1);const v=e.getDate()===n.getDate()&&e.getMonth()===n.getMonth()&&e.getFullYear()===n.getFullYear(),c=e.getDate()===d.getDate()&&e.getMonth()===d.getMonth()&&e.getFullYear()===d.getFullYear(),u=Math.floor((n-e)/(1e3*60*60*24)),b=u<7&&u>=0,D=e.getHours().toString().padStart(2,"0"),R=e.getMinutes().toString().padStart(2,"0"),z=`${D}:${R}`;if(v)return z;if(c)return`${o("voice.yesterday")}, ${z}`;if(b)return`${[o("voice.sun"),o("voice.mon"),o("voice.tue"),o("voice.wed"),o("voice.thu"),o("voice.fri"),o("voice.sat")][e.getDay()]}, ${z}`;{const O=[o("voice.jan"),o("voice.feb"),o("voice.mar"),o("voice.apr"),o("voice.may"),o("voice.jun"),o("voice.jul"),o("voice.aug"),o("voice.sep"),o("voice.oct"),o("voice.nov"),o("voice.dec")][e.getMonth()],U=e.getDate();return`${O} ${U}, ${z}`}};function pe(t){return y(this,null,function*(){const e=yield r.addRecording({name:t.name,url:I.value.url,location:I.value.location,duration:I.value.duration});k.value={CurrentSecond:0,CurrentStringMinute:"00",CurrentStringSecond:"00"},I.value={},$.value=!1,e&&(p.value=[...r.recordings])})}function Ce(){k.value={CurrentSecond:0,CurrentStringMinute:"00",CurrentStringSecond:"00"},$.value=!1}const s=h(null),W=h(!1);function Se(t){if(!s.value||!l.value.TotalSecond)return;const n=t.currentTarget.getBoundingClientRect(),d=t.clientX-n.left,u=Math.max(0,Math.min(d,n.width))/n.width*100/100*l.value.TotalSecond;W.value=!0,s.value&&(s.value.currentTime=u),l.value.CurrentSecond=Math.floor(u),l.value.Percentage=u/l.value.TotalSecond*100;const b=Math.floor(u),D=b>=60?Math.floor(b/60).toString().padStart(2,"0"):"00",R=b>=60?(b-Number(D)*60).toString().padStart(2,"0"):b.toString().padStart(2,"0");l.value.CurrentSecondString=D+":"+R}function re(){const t=p.value[l.value.VoiceIndex];if(l.value.Playing)s.value&&s.value.pause(),l.value.Playing=!1;else{if(!s.value&&t&&t.voice.data){s.value=new Audio(t.voice.data);const e=t.voice.length,[n,d]=e.split(":").map(Number),v=n*60+d;l.value.TotalSecond=v,s.value.addEventListener("loadedmetadata",()=>{const c=s.value.duration;c&&c!==1/0&&c>0&&!isNaN(c)&&(l.value.TotalSecond=Math.floor(c))}),s.value.addEventListener("durationchange",()=>{const c=s.value.duration;c&&c!==1/0&&c>0&&!isNaN(c)&&(l.value.TotalSecond=Math.floor(c))}),s.value.addEventListener("seeked",()=>{W.value=!1}),s.value.addEventListener("timeupdate",()=>{if(s.value&&!W.value){const c=s.value.currentTime,u=Math.floor(c);if(u>=l.value.CurrentSecond&&(l.value.CurrentSecond=u),l.value.TotalSecond>0&&l.value.TotalSecond!==1/0){const R=c/l.value.TotalSecond*100;(R>=l.value.Percentage||R===0)&&(l.value.Percentage=Math.min(R,100))}const b=u>=60?Math.floor(u/60).toString().padStart(2,"0"):"00",D=u>=60?(u-Number(b)*60).toString().padStart(2,"0"):u.toString().padStart(2,"0");l.value.CurrentSecondString=b+":"+D}}),s.value.addEventListener("ended",()=>{l.value.CurrentSecond=l.value.TotalSecond,l.value.Percentage=100;const c=l.value.TotalSecond,u=c>=60?Math.floor(c/60).toString().padStart(2,"0"):"00",b=c>=60?(c-Number(u)*60).toString().padStart(2,"0"):c.toString().padStart(2,"0");l.value.CurrentSecondString=u+":"+b,setTimeout(()=>{l.value.CurrentSecond=0,l.value.Percentage=0,l.value.Playing=!1,l.value.CurrentSecondString="00:00",s.value&&(s.value.currentTime=0)},500)})}s.value&&s.value.play(),l.value.Playing=!0}}const p=h([]),be=h(null);function ke(){return y(this,null,function*(){try{(yield r.fetchRecordings(!0))&&(p.value=[...r.recordings])}catch(t){console.error("Error loading voice recordings:",t)}})}function xe(t){const e=t.target,n=e.scrollTop+e.clientHeight,d=e.scrollHeight;n>=d*.9&&r.hasMore&&!r.isLoadingMore&&ye()}function ye(){return y(this,null,function*(){(yield r.loadMoreRecordings())&&(p.value=[...r.recordings])})}const j=h(!1),E=h(!1),_=h(!1),_e=t=>{const e=r.recordings.filter(n=>{if(n.name.toLowerCase().includes(t.toLowerCase())||n.name.toLowerCase().startsWith(t.toLowerCase())||t===""||t===" ")return n});p.value=e.map(n=>H({},n))};J(P,t=>{f&&f.muteLocalAudio(!t)}),J(()=>r.recordings,t=>{p.value=[...t]},{deep:!0}),J(()=>g.phoneState,t=>{t==="closed"&&_.value&&(f&&(f.cleanup(),f=null),window.peerCheckInterval&&clearInterval(window.peerCheckInterval),X("REMOVE_PEERID"),_.value=!1,clearInterval(L),k.value={CurrentSecond:0,CurrentStringMinute:"00",CurrentStringSecond:"00"},A.value="Recording")}),Le(()=>y(this,null,function*(){yield ke()})),Ve(()=>{clearInterval(L),f&&f.cleanup(),s.value&&(s.value.pause(),s.value=null)});const Me=()=>{j.value=!1};$e(()=>{m.value?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")});const Fe=t=>y(this,null,function*(){V.value=!1;let e=yield X("SEND_MESSAGE",{recipients:[{target_phone:t.target_phone}],message:{type:"audiofile",content:{url:p.value[l.value.VoiceIndex].voice.data,duration:p.value[l.value.VoiceIndex].voice.length,name:p.value[l.value.VoiceIndex].name}}});e.success||g.TriggerNotification({appname:"message",header:"Message",message:e.message})});return(t,e)=>{const n=ve("motion-slide-left"),d=ve("motion");return w(),C("div",Ge,[Y(Ze,{onCancel:e[0]||(e[0]=v=>V.value=!1),onSelectcontact:Fe,style:{"z-index":"1004"},title:i(o)("voice.sendAudio"),show:V.value},null,8,["title","show"]),a("img",{src:i(ae)["voicerefrecording.png"],class:"h-full w-full absolute opacity-0",alt:""},null,8,Ue),a("div",qe,[e[15]||(e[15]=a("div",{class:"w-full h-[35em]"},null,-1)),a("div",Je,[e[14]||(e[14]=a("div",{class:"w-[15em] h-full"},null,-1)),a("div",Qe,[Y(te,{name:"search"},{default:ee(()=>[E.value?(w(),C("input",{key:1,onInput:e[1]||(e[1]=v=>_e(v.target.value)),type:"text",placeholder:i(o)("voice.searchRecordings"),class:"bg-white shadow-[0px_0px_32.400001525878906px_0px_rgba(0,0,0,0.10)] dark:bg-[#151515] indent-[.3em] relative z-[2] rounded-[5em] w-[26.5em] pl-[1em] h-[3em] font-['SFPRO'] text-[9em] text-black dark:text-white focus:outline-none"},null,40,tt)):Q((w(),C("span",et,[je(M(i(o)("voice.allRecordings")),1)])),[[n]])]),_:1}),Q((w(),C("div",{onClick:e[2]||(e[2]=v=>E.value=!E.value),class:"relative z-[2] cursor-pointer anim-hover-1 w-[26em] h-[26em] rounded-full bg-white shadow-[0px_0px_32.400001525878906px_0px_rgba(0,0,0,0.10)] dark:bg-[#151515] flex items-center justify-center",initial:{opacity:0,scale:.8},enter:{opacity:1,scale:1,transition:{delay:200,duration:300,type:"spring",stiffness:200,damping:15}}},[Y(te,{name:"search"},{default:ee(()=>[E.value?(w(),C("svg",nt,[a("path",{d:"M13.5 1.5L1.50081 13.4992M13.4992 13.5L1.5 1.50085",stroke:i(m)?"#FFFFFF":"#000000","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,8,ot)])):(w(),C("svg",at,[a("path",{d:"M0.5 7.78028C0.5 8.78382 0.690379 9.72502 1.07114 10.6039C1.4519 11.4828 1.98005 12.2567 2.65559 12.9258C3.33112 13.5948 4.1126 14.1178 5.00001 14.4949C5.88742 14.872 6.83778 15.0605 7.85109 15.0605C8.64945 15.0605 9.41095 14.9389 10.1356 14.6956C10.8603 14.4523 11.5236 14.1178 12.1254 13.6921L16.6576 18.1897C16.7682 18.2932 16.8895 18.3708 17.0215 18.4225C17.1535 18.4742 17.2933 18.5 17.4407 18.5C17.6495 18.5 17.8337 18.4529 17.9934 18.3586C18.153 18.2643 18.2774 18.135 18.3664 17.9709C18.4555 17.8066 18.5 17.6241 18.5 17.4234C18.5 17.2775 18.4739 17.1407 18.4217 17.0129C18.3695 16.8852 18.2943 16.7727 18.1961 16.6754L13.6914 12.1868C14.1643 11.5786 14.5343 10.9004 14.8014 10.1523C15.0686 9.40419 15.2021 8.61352 15.2021 7.78028C15.2021 6.77673 15.0118 5.83552 14.6311 4.95666C14.2503 4.0778 13.7221 3.30385 13.0466 2.63482C12.3711 1.96579 11.5896 1.44273 10.7021 1.06564C9.81475 0.688545 8.8644 0.5 7.85109 0.5C6.83778 0.5 5.88742 0.688545 5.00001 1.06564C4.1126 1.44273 3.33112 1.96579 2.65559 2.63482C1.98005 3.30385 1.4519 4.0778 1.07114 4.95666C0.690379 5.83552 0.5 6.77673 0.5 7.78028ZM2.07523 7.78028C2.07523 6.9896 2.22416 6.24911 2.522 5.55879C2.81986 4.86847 3.2344 4.26026 3.76561 3.73415C4.29683 3.20806 4.91096 2.79751 5.60799 2.50253C6.30503 2.20755 7.05273 2.06006 7.85109 2.06006C8.64945 2.06006 9.39715 2.20755 10.0942 2.50253C10.7912 2.79751 11.4038 3.20806 11.9319 3.73415C12.4601 4.26026 12.8746 4.86847 13.1756 5.55879C13.4765 6.24911 13.6269 6.9896 13.6269 7.78028C13.6269 8.57095 13.4765 9.31145 13.1756 10.0018C12.8746 10.6921 12.4601 11.2988 11.9319 11.8218C11.4038 12.3449 10.7912 12.7554 10.0942 13.0535C9.39715 13.3515 8.64945 13.5005 7.85109 13.5005C7.05273 13.5005 6.30503 13.3515 5.60799 13.0535C4.91096 12.7554 4.29683 12.3449 3.76561 11.8218C3.2344 11.2988 2.81986 10.6921 2.522 10.0018C2.22416 9.31145 2.07523 8.57095 2.07523 7.78028Z",fill:i(m)?"#FFFFFF":"#000000"},null,8,lt)]))]),_:1})])),[[d]])])])]),E.value?(w(),C("div",st,[a("div",it,[e[16]||(e[16]=a("div",{class:"w-full h-[6em]"},null,-1)),a("span",rt,M(i(o)("voice.allRecordings")),1),e[17]||(e[17]=a("div",{class:"w-full h-[10em]"},null,-1))])])):T("",!0),a("div",{ref_key:"scrollContainer",ref:be,onScroll:xe,class:"w-full flex flex-col items-center overflow-y-auto flex-1"},[(w(!0),C(Ae,null,Ne(p.value,(v,c)=>Q((w(),C("div",{onClick:u=>ge(c),class:fe([[v.active?"min-h-[100em]":"min-h-[55em]"],"relative z-[2] cursor-pointer w-[270em] py-[15em] border-b-[1em] border-neutral-200 dark:border-stone-900 flex flex-col justify-center items-center transition-all duration-300"]),initial:{opacity:0,y:15},enter:{opacity:1,y:0,transition:{delay:100+c*50,duration:300}}},[a("div",{style:Z({height:(v.active,"auto"),transition:0}),class:fe(`w-full flex flex-col justify-center ${v.active?"expanded":""}`)},[a("span",ct,M(v.name),1),a("div",ut,[a("span",null,M(we(v.date)),1),a("span",null,M(v.voice.length),1)]),Y(te,{name:"search"},{default:ee(()=>[v.active?(w(),C("div",vt,[e[18]||(e[18]=a("div",{class:"w-full h-[7em]"},null,-1)),a("div",{onClick:F(Se,["stop"]),onMousedown:e[3]||(e[3]=F(()=>{},["stop"])),onTouchstart:e[4]||(e[4]=F(()=>{},["stop"])),class:"w-full h-[5em] rounded-md bg-[#DADADF] dark:bg-[#FFFFFF33] flex items-center cursor-pointer"},[a("div",{style:Z({width:String(Math.round(l.value.Percentage))+"%",transition:"width 0.4s cubic-bezier(0.42, 0, 0.58, 1)",willChange:"width"}),class:"h-[5.5em] rounded-md bg-[#000] dark:bg-[#FFF]"},null,4)],32),e[19]||(e[19]=a("div",{class:"w-full h-[5em]"},null,-1)),a("div",ft,[a("span",null,M(l.value.CurrentSecondString),1),a("span",null,M(v.voice.length),1)]),e[20]||(e[20]=a("div",{class:"w-full h-[3em]"},null,-1)),a("div",gt,[a("img",{onClick:e[5]||(e[5]=F(u=>V.value=!0,["stop"])),src:i(ae)["voice/shareicon.svg"],class:"w-[16em]",alt:""},null,8,mt),a("div",ht,[(w(),C("svg",{onClick:e[6]||(e[6]=F(u=>le(!1),["stop"])),class:"w-[16em] h-[16em]",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[a("path",{d:"M12 5L10.8961 3.45459C10.4851 2.87911 10.2795 2.59137 10.4093 2.32411C10.5391 2.05684 10.8689 2.04153 11.5286 2.01092C11.6848 2.00367 11.842 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.4771 22 2 17.5228 2 12C2 8.72836 3.5711 5.82368 6 3.99927",stroke:i(m)?"#fff":"#000","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,8,wt),a("path",{d:"M8 10.9997C8.528 10.5797 9.008 9.88708 9.308 10.0157C9.608 10.1442 9.512 10.5677 9.512 11.2277C9.512 11.8877 9.512 14.6804 9.512 16.0037",stroke:i(m)?"#fff":"#000","stroke-width":"1.5","stroke-linecap":"round"},null,8,pt),a("path",{d:"M16 10H13.3595C13.1212 10 12.916 10.1682 12.8692 10.4019L12.504 12.504C13.14 12.24 13.4607 12.1429 14.1766 12.1429C15.2126 12.1429 16.104 12.78 16.002 14.1C16.02 15.66 14.76 16.02 14.1766 16C13.5931 15.98 12.66 16.2 12.5 15",stroke:i(m)?"#fff":"#000","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ct)])),l.value.Playing===!1?(w(),C("svg",{key:0,onClick:e[7]||(e[7]=F(u=>re(),["stop"])),class:"relative z-[4] w-[25em] h-[25em]",xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none"},[a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.75 9.64978C8.75 7.36801 11.252 5.96992 13.1953 7.16578L30.0152 17.5165C31.866 18.6555 31.866 21.3457 30.0152 22.4845L13.1953 32.8352C11.252 34.0312 8.75 32.633 8.75 30.3512V9.64978Z",fill:i(m)?"#fff":"#000"},null,8,St)])):T("",!0),l.value.Playing===!0?(w(),C("svg",{key:1,onClick:e[8]||(e[8]=F(u=>re(),["stop"])),class:"relative z-[4] w-[25em] h-[25em]",xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none"},[a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.41602 8.33366C5.41602 6.72283 6.72185 5.41699 8.33268 5.41699H14.9993C16.6102 5.41699 17.916 6.72283 17.916 8.33366V31.667C17.916 33.2778 16.6102 34.5837 14.9993 34.5837H8.33268C6.72185 34.5837 5.41602 33.2778 5.41602 31.667V8.33366Z",fill:i(m)?"#fff":"#000"},null,8,bt),a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22.084 8.33366C22.084 6.72283 23.3898 5.41699 25.0007 5.41699H31.6673C33.2782 5.41699 34.584 6.72283 34.584 8.33366V31.667C34.584 33.2778 33.2782 34.5837 31.6673 34.5837H25.0007C23.3898 34.5837 22.084 33.2778 22.084 31.667V8.33366Z",fill:i(m)?"#fff":"#000"},null,8,kt)])):T("",!0),(w(),C("svg",{onClick:e[9]||(e[9]=F(u=>le(!0),["stop"])),class:"w-[16em] h-[16em]",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},[a("path",{d:"M12 5L13.1039 3.45459C13.5149 2.87911 13.7205 2.59137 13.5907 2.32411C13.4609 2.05684 13.1311 2.04153 12.4714 2.01092C12.3152 2.00367 12.158 2 12 2C6.4772 2 2 6.47715 2 12C2 17.5228 6.4772 22 12 22C17.5229 22 22 17.5228 22 12C22 8.72836 20.4289 5.82368 18 3.99927",stroke:i(m)?"#fff":"#000","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,8,xt),a("path",{d:"M8 10.9997C8.528 10.5797 9.008 9.88708 9.308 10.0157C9.608 10.1442 9.512 10.5677 9.512 11.2277C9.512 11.8877 9.512 14.6804 9.512 16.0037",stroke:i(m)?"#fff":"#000","stroke-width":"1.5","stroke-linecap":"round"},null,8,yt),a("path",{d:"M16 10H13.3595C13.1212 10 12.916 10.1682 12.8692 10.4019L12.504 12.504C13.14 12.24 13.4607 12.1429 14.1766 12.1429C15.2126 12.1429 16.104 12.78 16.002 14.1C16.02 15.66 14.76 16.02 14.1766 16C13.5931 15.98 12.66 16.2 12.5 15",stroke:i(m)?"#fff":"#000","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,8,_t)]))]),a("img",{onClick:e[10]||(e[10]=F(u=>ne(),["stop"])),src:i(ae)["voice/trashicon.svg"],class:"relative z-[23] w-[16em]",alt:""},null,8,Mt)])])):T("",!0)]),_:2},1024)],6)],10,dt)),[[d]])),256))],544),a("div",{class:"absolute bottom-0 left-0 right-0 h-[150em] pointer-events-none z-[2]",style:Z({background:i(m)?"linear-gradient(to top, rgba(0,0,0,1.0) 0%, rgba(0,0,0,0.6) 40%, transparent 100%)":"linear-gradient(to top, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.08) 30%, transparent 100%)"})},null,4),a("div",{style:{"box-shadow":"0 0em 32.4em 0 rgba(0, 0, 0, 0.29)"},onClick:e[11]||(e[11]=v=>ie()),class:"absolute cursor-pointer anim-hover-1 z-[3] bottom-[17em] left-[125em] w-[47 em] h-[47em] flex rounded-full"},[_.value?T("",!0):(w(),C("svg",Ft,[a("rect",{x:"2",y:"2",width:"68",height:"68",rx:"34",fill:i(m)?"#252525":"#fff",stroke:i(m)?"#252525":"#fff","stroke-width":"4"},null,8,Tt),e[21]||(e[21]=a("rect",{x:"8",y:"8",width:"56",height:"56",rx:"28",fill:"#FF4A4A"},null,-1))])),_.value?(w(),C("svg",Rt,[a("rect",{width:"56",height:"56",rx:"28",fill:i(m)?"#252525":"#fff"},null,8,Dt),e[22]||(e[22]=a("rect",{x:"16",y:"16",width:"24",height:"24",rx:"6",fill:"#E85454"},null,-1))])):T("",!0)]),a("div",{style:Z({height:_.value?"210em":"0em",transition:"height 0.3s",boxShadow:"0 0em 32.4em 0 rgba(0,0,0,0.29)"}),class:"z-[2] opacity-100 items-center absolute bottom-0 rounded-[40em] w-full shadow-xl bg-white dark:bg-[#1E1E1E] flex flex-col"},[e[23]||(e[23]=a("div",{class:"w-full h-[6em]"},null,-1)),a("div",{onClick:e[12]||(e[12]=v=>ie()),class:"w-[45em] h-[6em] cursor-pointer rounded-lg bg-[#CCCCCC] dark:bg-[#343434]"}),e[24]||(e[24]=a("div",{class:"w-full h-[11em]"},null,-1)),a("span",Pt,M(A.value),1),e[25]||(e[25]=a("div",{class:"w-full h-[6em]"},null,-1)),a("span",It,M(k.value.CurrentStringMinute+":"+k.value.CurrentStringSecond),1),e[26]||(e[26]=Be('