import"./vue-C2cMydZB.js";import{g as y,h as k,I as b,af as S,ag as L}from"./app-BEmliBhW.js";import{s as B}from"./pinia-BVayYkVO.js";import{c as C,k as I}from"./primevue-D560Sdto.js";import{u as N}from"./vue-router-CKUI0Twr.js";import{a5 as V,r as d,o as $,c as o,d as e,N as s,e as a,I as D,K as u,j as r,J as _,E as n,D as M,F as P,P as w}from"./@vue-Bf7e1FJA.js";import"./axios-NIGUFBhG.js";import"./@vueuse-Ca5vHdxT.js";import"./laravel-vue-i18n-DoYn1SwG.js";import"./sprintf-js-D7DtBTRn.js";import"./justified-layout-1UKsdMGj.js";import"./@sidsbrmnn-DQhBXYP8.js";import"./qrcode-B3tOMrWf.js";import"./dijkstrajs-C00ieaqj.js";import"./vue-collapsed-BjXSUHBS.js";import"./leaflet-B16DWo85.js";import"./leaflet-rotatedmarker-roe_HPmI.js";import"./leaflet.markercluster-CQ4sI09g.js";import"./@lychee-org-CcYfPfz8.js";import"./@primeuix-C4hPHhAU.js";import"./axios-cache-interceptor-hz9-Z59L.js";import"./cache-parser-DXYp_BCq.js";import"./fast-defer-9MI9za_P.js";import"./object-code-SBtdq8jY.js";import"./pinia-plugin-persistedstate-B8MS7Mes.js";import"./destr-BPvN1X9m.js";import"./deep-pick-omit-CegYQlcN.js";/* empty css            */import"./@primevue-DPkGvRPC.js";const E={class:"absolute top-0 left-0"},F={key:0,class:"my-12"},R={class:"text-center text-2xl text-surface-0 uppercase font-extralight"},T={class:"text-center text-base text-muted-color uppercase font-extralight"},j={key:1,class:"my-12"},J={class:"text-center text-2xl text-surface-0 uppercase font-extralight"},K={key:2,class:"text-center mt-4"},xe=V({__name:"LoginPage",setup(q){const f=N(),l=y(),g=k(),{title:h,is_registration_enabled:x}=B(l),m=d(!1);function i(){f.push({name:"gallery"})}const t=d(void 0);return $(()=>{g.left_menu_open=!1,Promise.all([l.init(),b.fetchLandingData()]).then(([p,c])=>{m.value=!0,c.data.landing_page_enable===!0&&(t.value=c.data)})}),(p,c)=>{const v=P("router-link");return e(),o(w,null,[s(S,{onLoggedIn:i}),a("div",E,[s(r(C),{icon:"pi pi-angle-left",class:"mr-2 border-none",severity:"secondary",text:"",onClick:i})]),m.value?(e(),D(r(I),{key:0,class:"border-none p-9 mx-auto max-w-3x","pt:content:class":"flex flex-col items-center","pt:header:class":"hidden"},{default:_(()=>[t.value?(e(),o("div",F,[a("h1",R,n(t.value.landing_title),1),a("h2",T,n(t.value.landing_subtitle),1)])):(e(),o("div",j,[a("h1",J,n(r(h)),1)])),s(L,{onLoggedIn:i,padding:""}),r(x)?(e(),o("div",K,[s(v,{to:"/register",class:"text-muted-color-emphasis text-sm font-bold hover:underline"},{default:_(()=>[M(n(p.$t("profile.register.signup")),1)]),_:1})])):u("",!0)]),_:1})):u("",!0)],64)}}});export{xe as default};
