import{r as e}from"./rolldown-runtime-Z1f0ZVYe.js";import"./posthog-js-P19JMAcQ.js";import{J as t,P as n,S as r,T as i,W as a,a as o,b as s,c,d as l,g as u,i as d,it as f,l as p,ot as m,w as h,y as g}from"./element-plus-D99A5MMY.js";import{m as _}from"./vue-BxO6XIpA.js";import"./main-D027d2Op.js";import{r as v,t as y}from"./usePopup-D1kkDbGu.js";import{c as b,d as x,o as S}from"../index.js";import{t as C}from"./header-MAmzC49O.js";var w={class:`popup-content__container`},T=i({__name:`popup`,setup(e){let{t:i,locale:T}=_(),{gotoSettingPage:E}=y(),D=S();return(e,_)=>{let y=c,S=p,O=o,k=d,A=l;return n(),r(u,null,[h(f(C),null,{left:a(()=>[h(f(b),{name:`arrowLeft`,title:f(i)(`pages.popupHeader.back`),onClick:_[0]||=e=>f(E)({pageTarget:f(v).Popup})},null,8,[`title`])]),title:a(()=>[g(`h4`,null,m(f(i)(`settings.generalSetting.info.title`)),1)]),right:a(()=>[h(f(b),{name:`openWithNewWindow`,title:f(i)(`pages.popupHeader.newWindow`),onClick:_[1]||=e=>f(E)({pageTarget:f(v).Options,blank:!0})},null,8,[`title`])]),_:1}),h(A,{class:`popup-content_scroll`,"max-height":`26.25rem`},{default:a(()=>[g(`section`,w,[h(k,{"label-position":`top`},{default:a(()=>[h(O,{label:f(i)(`settings.generalSetting.language.label`)},{default:a(()=>[h(S,{modelValue:f(T),"onUpdate:modelValue":_[2]||=e=>t(T)?T.value=e:null,placeholder:f(i)(`settings.generalSetting.language.placeholder`),onChange:f(D).ChangeLanguage},{default:a(()=>[(n(),s(y,{key:f(x).EN_US,label:`English`,value:`en-US`})),(n(),s(y,{key:f(x).ZH_CN,label:`简体中文`,value:`zh-CN`}))]),_:1},8,[`modelValue`,`placeholder`,`onChange`])]),_:1},8,[`label`])]),_:1})])]),_:1})],64)}}});export{T as default};
//# sourceMappingURL=popup-hyr7WbTs.js.map