import{a_ as x,J as r,aP as d,L as i,bc as a,W as o,X as c,F as h,G as _}from"./58940f6351d82fe8436f54748e73656f.js";import{H as l}from"./0fd09fc4f333263b914d5bc2c71490ad.js";import{A as f,_ as g,C as m}from"./923fd75a58737b5841f9adad1a4fac0f.js";import"./00710cdeee83f148fbdef4d4f9affaa0.js";import{A as n}from"./9f0f5b15fcaba1aaa548587b70034052.js";import"./a15a907ffae4589da5c5521ad0cd38fd.js";import"./51906e5c9dad68cb425ca7479d3b81cf.js";import"./16e123f089312989fce1de46d4552d39.js";import"./46f191ef2146e3a47effa614d34028ed.js";import"./6fd5b4ca5622b3eec70b5ed2a6d9d842.js";import"./648734ef6b5797fd1f35f6d29a8a778f.js";import"./ef78614d30aef819cf0744449ac19ac5.js";import"./3f21341ccd6c1452f140f59f15096549.js";import"./b7a15a9e268d085f1c61ea437757d30b.js";import"./cb4103e13b3e73c52aba82888e2ff8b6.js";import"./89d90de1e8b7598562136a11d36ccb9e.js";import"./8bec633db89910d0b9f0fb29b53a73bc.js";import"./65a4334c77c37b57961728e0a7a6ff53.js";import"./8240cf534273020ff3dc4c6fb713d0f4.js";import"./851c76caa1b27493bd94c7a948272311.js";import"./7b8c45c7ca02f9fd394bd2325569a54b.js";import"./fb7a00e90f2dce6a8510995a6b843082.js";import"./0a3ffd58bf450b62a67eaec571a65068.js";import"./ad3171c6a7e1b0d07a69b44b8fb9f20b.js";import"./eb5e02af520da44407711bdcc2dde6fc.js";import"./e7c9bf753dd507721546b85d1ad83263.js";import"./2bab9cf061134dee3b30df5b4de8dcb0.js";import"./3ec642630a87634b98e5fe0f0175a97a.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)}))}},b={class:"ait-flex ait-pr-6"},v={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"},P={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)"}},$={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 L(t,e,s,l,f,p){const n=x("font-awesome-icon");return d(),r(h,null,[i("div",b,[e[0]||(e[0]=i("div",{class:"ait-basis-[500px] ait-shrink"},null,-1)),i("div",v,[i("div",y,a(t.__("Microphone Permission Guide")),1),i("div",w,[i("div",k,[i("div",A,a(t.__("If you see a popup")),1),i("div",C,a(t.__('Click "Allow while visiting the site" to enable speech-to-text.')),1)])]),i("div",V,[i("div",M,[i("div",S,a(t.__("If there's no popup")),1),i("div",B,[o(a(t.__("Click the microphone icon"))+" ",1),c(n,{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(" "+a(t.__('in the address bar, select "Always allow..." and click "Done".')),1)])])]),i("div",P,[i("div",$,[i("div",D,a(t.__("If you don't see the microphone icon")),1),i("div",E,[o(a(t.__("Refresh the page, then click the"))+" ",1),c(n,{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(" "+a(t.__('icon in the address bar and select "Always allow...".')),1)])])])])]),i("span",F,[(d(),r("svg",I,e[1]||(e[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 N=g(u,[["render",L]]);l.setSidebar(),l.addLoading();const s=_(N,{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])}))}