import{O as x,g as r,j as d,v as i,K as e,W as o,q as c,F as h,ak as _}from"./71531b053591a96d81db2519a82aa248.js";import{H as l}from"./0f34bc84b746331fb6e6d1a17e2be5f1.js";import{A as f,_ as g,C as m}from"./f1cb0a108b35713614332c7c219352b8.js";import"./17e6f969c69a33c57a5b808c30e97817.js";import{A as n}from"./f2694457f4424ded7029976ed34eac38.js";import"./d541e75e0d3013fe2efd3bb1a31c4a6b.js";import"./3f2064fa9a9acc842de50ad820610f4b.js";import"./7e56edcc34c4dfd4bce3410bed0529e6.js";import"./aca89d4ca34e8fbbc6f322cb34935489.js";import"./c12fd3596e1e986fac56d091ec67c779.js";import"./0db5daaf91bdd56249e9ae30e1c0fad3.js";import"./4bf0dc39263bec45ac08f22b6445195f.js";import"./bd5159ed1face2f59751ceb1d07e31f3.js";import"./9f935c62533cde17533373075512c98b.js";import"./22aa1f89111f8237764a195a86dc6791.js";import"./1c66977a9e497032052fc88de8dc0025.js";import"./2eb62d616ebc70b625c1907fb9b56bcb.js";import"./167eb5fb14130edc55e0208b299eb738.js";import"./e43206e4b2ef10bccecb7d9deb74b927.js";import"./39c3d8a964c661ab72f6d2e5dcdb0e9a.js";import"./0a9beade9558a5b904150914951edb50.js";import"./7694ab0a99e001fc6c4a0dff919c3a14.js";import"./c2c13b7def76f5768e17bc73b900b28e.js";import"./9cb1ced478fdea687c5b1bf07fa2b7a3.js";import"./83c6672847a35da18c7c6cd5f39ddc2c.js";import"./8f849a317394192d6541e23f7f7dff92.js";import"./8fd9dd871ac56148ba64599be5846cf8.js";import"./d90a1dadfd9d56c6157b026a43a3acf9.js";import"./be62c323ef7199eed02717bc155004ba.js";import"./dcbabf58cd14346bf8b00e4313a9ce1e.js";const u={extends:f,mounted(){l.sendMessage("action.closeSidePanel"),console.log("sd"),navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,sampleRate:44100}}).then((a=>{console.log(a)})).catch((a=>{console.log(a)}))}},v={class:"ait-flex ait-pr-6"},b={class:"ait-flex ait-flex-col ait-min-w-[min(360px,100%)] ait-basis-[360px] ait-grow ait-gap-5 ait-pt-5 ait-max-w-[800px]"},y={class:"ait-self-center ait-text-[28px] ait-leading-8 ait-font-semibold ait-text-text-primary-1"},w={class:"ait-relative ait-p-4 ait-bg-grey-layer2-normal ait-rounded-2xl ait-flex ait-gap-3",style:{"box-shadow":"0px 11px 36px 0px rgba(159, 155, 167, 0.67)"}},k={class:"ait-flex ait-flex-col ait-gap-3"},A={class:"ait-font-semibold ait-text-[18px] ait-leading-5 ait-text-text-primary-1"},C={class:"ait-text-sm ait-leading-5 ait-text-text-primary-2"},V={class:"ait-p-4 ait-bg-grey-layer2-normal ait-rounded-2xl ait-flex ait-gap-3",style:{"box-shadow":"0px 11px 36px 0px rgba(159, 155, 167, 0.67)"}},M={class:"ait-flex ait-flex-col ait-gap-3"},S={class:"ait-font-semibold ait-text-[18px] ait-leading-5 ait-text-text-primary-1"},B={class:"ait-text-sm ait-leading-5 ait-text-text-primary-2"},$={class:"ait-p-4 ait-bg-grey-layer2-normal ait-rounded-2xl ait-flex ait-gap-3",style:{"box-shadow":"0px 11px 36px 0px rgba(159, 155, 167, 0.67)"}},j={class:"ait-flex ait-flex-col ait-gap-3"},D={class:"ait-font-semibold ait-text-[18px] ait-leading-5 ait-text-text-primary-1"},E={class:"ait-text-sm ait-leading-5 ait-text-text-primary-2"},F={class:"ait-switchbar-tab-item active"},I={class:"ait-fixed ait-left-[453px] ait-top-[116px]",xmlns:"http://www.w3.org/2000/svg",width:"30",height:"18",fill:"none",viewBox:"0 0 30 18",style:{animation:"horizontal-shaking 1s linear infinite"}};function N(a,t,s,l,p,n){const f=x("font-awesome-icon");return d(),r(h,null,[i("div",v,[t[0]||(t[0]=i("div",{class:"ait-basis-[500px] ait-shrink"},null,-1)),i("div",b,[i("div",y,e(a.__("Microphone Permission Guide")),1),i("div",w,[i("div",k,[i("div",A,e(a.__("If you see a popup")),1),i("div",C,e(a.__('Click "Allow while visiting the site" to enable speech-to-text.')),1)])]),i("div",V,[i("div",M,[i("div",S,e(a.__("If there's no popup")),1),i("div",B,[o(e(a.__("Click the microphone icon"))+" ",1),c(f,{icon:"fa-solid fa-microphone-slash",class:"ait-inline-block ait-align-middle ait-p-[4px] ait-w-[14px] ait-h-[14px] ait-rounded-full ait-bg-[#d1d7e3]"}),o(" "+e(a.__('in the address bar, select "Always allow..." and click "Done".')),1)])])]),i("div",$,[i("div",j,[i("div",D,e(a.__("If you don't see the microphone icon")),1),i("div",E,[o(e(a.__("Refresh the page, then click the"))+" ",1),c(f,{icon:"fa-solid fa-microphone-slash",class:"ait-inline-block ait-align-middle ait-p-[4px] ait-w-[14px] ait-h-[14px] ait-rounded-full ait-bg-[#d1d7e3]"}),o(" "+e(a.__('icon in the address bar and select "Always allow...".')),1)])])])])]),i("span",F,[(d(),r("svg",I,t[1]||(t[1]=[i("path",{fill:"currentColor","fill-rule":"evenodd",d:"M15 .3398 0 9.0001l15 8.6603V9.0001l15 8.6603V.3398L15 9.0001V.3398Z","clip-rule":"evenodd"},null,-1)])))])],64)}const O=g(u,[["render",N]]);l.setSidebar(),l.addLoading();const s=_(O,{type:"FullScreen"});if(Object.keys(m).forEach((a=>{s.component(a,m[a])})),window.aiVueApp=s,s.mount("#aitopia-permission"),n){let a=Object.keys(n);a&&a.forEach((a=>{s.component(a,n[a])}))}