1import{j as e,J as a,k as l,E as t,o as s,x as o,b as i,w as n,c as d,a as u,G as r,C as c,H as p,t as v,r as g,q as h,K as m,T as f,L as y,M as x,v as w,u as b,e as S,N as C,__tla as __tla_0}from"./index-DNLpZagP.js";import{_ as k}from"./_plugin-vue_export-helper-BCo6x5W8.js";import"./modulepreload-polyfill-LFxCJ1gP.js";let $;let __tla=Promise.all([(()=>{try{return __tla_0}catch{}})()]).then(async()=>{let V,L,M,_,E,B,A,j,I,z;V={class:"dialog-title"};L=[(e=>(y("data-v-7aa49be4"),e=e(),x(),e))((()=>u("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16"},[u("path",{d:"M18.3 5.71a.996.996 0 00-1.41 0L12 10.59 7.11 5.7A.996.996 0 105.7 7.11L10.59 12 5.7 16.89a.996.996 0 101.41 1.41L12 13.41l4.89 4.89a.996.996 0 101.41-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"})],-1)))];M=k({__name:"Dialog",props:{modelValue:{type:Boolean,default:!1},header:{type:String,default:""},draggable:{type:Boolean,default:!1},dismissableMask:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},width:{type:String,default:"auto"},height:{type:String,default:"auto"},contentClass:{type:String,default:""},contentStyle:{type:String,default:""},headerClass:{type:String,default:""},headerStyle:{type:String,default:""},headerActionsClass:{type:String,default:""},headerActionsStyle:{type:String,default:""},rootClass:{type:String,default:""}},emits:["update:modelValue"],setup(y){function x(e){k.value&&(C.value={x:e.clientX-_.value.x,y:e.clientY-_.value.y})}function w(){k.value=!1,document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",w)}const b=y,S=e(null),C=e({x:0,y:0}),k=e(!1),M=e({x:0,y:0}),_=e({x:0,y:0}),E=a((()=>({width:b.width,height:b.height,transform:`translate(${C.value.x}px, ${C.value.y}px)`})));return l((()=>{b.modelValue&&(C.value={x:0,y:0})})),t((()=>{document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",w)})),(e,a)=>(s(),o(f,{to:"body"},[i(m,{name:"dialog-fade"},{default:n((()=>[y.modelValue?(s(),d("div",{key:0,class:"dialog-overlay",onClick:a[3]||(a[3]=()=>y.dismissableMask&&e.$emit("update:modelValue",!1))},[u("div",{class:r(["dialog",[{draggable:y.draggable},y.rootClass]]),onClick:a[2]||(a[2]=c((()=>{}),["stop"])),style:p(E.value),ref_key:"dialogEl",ref:S},[u("div",{class:r(["dialog-header",y.headerClass]),style:p(y.headerStyle),onMousedown:a[1]||(a[1]=e=>{return y.draggable&&(a=e,void(b.draggable&&(k.value=!0,M.value={x:C.value.x,y:C.value.y},_.value={x:a.clientX-C.value.x,y:a.clientY-C.value.y},document.addEventListener("mousemove",x),document.addEventListener("mouseup",w))));var a})},[u("div",V,v(y.header),1),u("div",{class:r(["dialog-header-actions",y.headerActionsClass]),style:p(y.headerActionsStyle)},[u("button",{class:"dialog-close",onClick:a[0]||(a[0]=()=>e.$emit("update:modelValue",!1)),"aria-label":"Close"},L)],6)],38),u("div",{class:r(["dialog-content",y.contentClass]),style:p(y.contentStyle)},[g(e.$slots,"default",{},void 0,!0)],6)],6)])):h("",!0)])),_:3})]))}},[["__scopeId","data-v-7aa49be4"]]);_={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48"};E=[w('<defs><path id="a" d="M44.5 20H24v8.5h11.8C34.7 33.9 30.1 37 24 37c-7.2 0-13-5.8-13-13s5.8-13 13-13c3.1 0 5.9 1.1 8.1 2.9l6.4-6.4C34.6 4.1 29.6 2 24 2 11.8 2 2 11.8 2 24s9.8 22 22 22c11 0 21-8 21-22 0-1.3-.2-2.7-.5-4"></path></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"></use></clipPath><path fill="#FBBC05" d="M0 37V11l17 13z" clip-path="url(#b)"></path><path fill="#EA4335" d="m0 11 17 13 7-6.1L48 14V0H0z" clip-path="url(#b)"></path><path fill="#34A853" d="m0 37 30-23 7.9 1L48 0v48H0z" clip-path="url(#b)"></path><path fill="#4285F4" d="M48 48 17 24l-4-3 35-10z" clip-path="url(#b)"></path>',6)];B={render:function(){return s(),d("svg",_,[...E])}};A={class:"w-full h-full flex flex-col items-center justify-center"};j={class:"google-button-wrapper flex items-center justify-center"};I=u("span",null,"Sign in with Google",-1);z={key:0,class:"error-message mt-4"};$={__name:"SignIn",setup(a){async function l(){r.value="";try{await C(),t.signInModalVisible=!1,window.location.reload()}catch(e){return void(r.value=e.message)}}const t=b(),r=e("");return(e,a)=>(s(),o(M,{modelValue:S(t).signInModalVisible,"onUpdate:modelValue":a[0]||(a[0]=e=>S(t).signInModalVisible=e),header:"Sign In",dismissableMask:!0,contentClass:"flex h-full flex-col signin-panel",width:"360px",height:"220px"},{default:n((()=>[u("div",A,[u("div",j,[u("button",{onClick:l,class:"google-signin-button"},[i(S(B),{class:"google-icon"}),I])]),r.value?(s(),d("div",z,v(r.value),1)):h("",!0)])])),_:1},8,["modelValue"]))}}});
1export{$ as default,__tla};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.