From dab0da17802725c9ef528dd32590ca5f3613362d Mon Sep 17 00:00:00 2001 From: da-in Date: Mon, 8 Apr 2024 21:59:09 +0000 Subject: [PATCH] deploy: eb42ade7fdfe90bd9bffdfd9fc979cb74afe525e --- 404.html | 2 +- assets/{index-xbBUDVJX.js => index-wxdNa0EZ.js} | 2 +- index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename assets/{index-xbBUDVJX.js => index-wxdNa0EZ.js} (99%) diff --git a/404.html b/404.html index a14e3ad..dd104d7 100644 --- a/404.html +++ b/404.html @@ -26,7 +26,7 @@ - + diff --git a/assets/index-xbBUDVJX.js b/assets/index-wxdNa0EZ.js similarity index 99% rename from assets/index-xbBUDVJX.js rename to assets/index-wxdNa0EZ.js index 2923ba0..e1999f1 100644 --- a/assets/index-xbBUDVJX.js +++ b/assets/index-wxdNa0EZ.js @@ -6,4 +6,4 @@ var xs=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var v=(e,t,n)=>(xs(e * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const Kt=typeof window<"u";function Gu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const J=Object.assign;function Is(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ke(r)?r.map(e):e(r)}return n}const On=()=>{},Ke=Array.isArray,Yu=/\/$/,Ju=e=>e.replace(Yu,"");function Ds(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),i=t.slice(c+1,l>-1?l:t.length),r=e(i)),l>-1&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=na(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function Xu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function di(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ea(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&fn(t.matched[s],n.matched[r])&&zo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function zo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ta(e[n],t[n]))return!1;return!0}function ta(e,t){return Ke(e)?pi(e,t):Ke(t)?pi(t,e):e===t}function pi(e,t){return Ke(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function na(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,l;for(o=0;o1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var $n;(function(e){e.pop="pop",e.push="push"})($n||($n={}));var Rn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rn||(Rn={}));function sa(e){if(!e)if(Kt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ju(e)}const ra=/^[^#]+#/;function ia(e,t){return e.replace(ra,"#")+t}function oa(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Cs=()=>({left:window.pageXOffset,top:window.pageYOffset});function la(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=oa(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function mi(e,t){return(history.state?history.state.position-t:-1)+e}const Ys=new Map;function ca(e,t){Ys.set(e,t)}function ua(e){const t=Ys.get(e);return Ys.delete(e),t}let aa=()=>location.protocol+"//"+location.host;function Wo(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let l=r.includes(e.slice(i))?e.slice(i).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),di(c,"")}return di(n,e)+s+r}function fa(e,t,n,s){let r=[],i=[],o=null;const l=({state:d})=>{const g=Wo(e,location),P=n.value,A=t.value;let O=0;if(d){if(n.value=g,t.value=d,o&&o===P){o=null;return}O=A?d.position-A.position:0}else s(g);r.forEach(x=>{x(n.value,P,{delta:O,type:$n.pop,direction:O?O>0?Rn.forward:Rn.back:Rn.unknown})})};function c(){o=n.value}function a(d){r.push(d);const g=()=>{const P=r.indexOf(d);P>-1&&r.splice(P,1)};return i.push(g),g}function f(){const{history:d}=window;d.state&&d.replaceState(J({},d.state,{scroll:Cs()}),"")}function p(){for(const d of i)d();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:a,destroy:p}}function gi(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Cs():null}}function ha(e){const{history:t,location:n}=window,s={value:Wo(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,a,f){const p=e.indexOf("#"),d=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+c:aa()+e+c;try{t[f?"replaceState":"pushState"](a,"",d),r.value=a}catch(g){console.error(g),n[f?"replace":"assign"](d)}}function o(c,a){const f=J({},t.state,gi(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});i(c,f,!0),s.value=c}function l(c,a){const f=J({},r.value,t.state,{forward:c,scroll:Cs()});i(f.current,f,!0);const p=J({},gi(s.value,c,null),{position:f.position+1},a);i(c,p,!1),s.value=c}return{location:s,state:r,push:l,replace:o}}function da(e){e=sa(e);const t=ha(e),n=fa(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=J({location:"",base:e,go:s,createHref:ia.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function pa(e){return typeof e=="string"||e&&typeof e=="object"}function Vo(e){return typeof e=="string"||typeof e=="symbol"}const ft={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Zo=Symbol("");var yi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(yi||(yi={}));function hn(e,t){return J(new Error,{type:e,[Zo]:!0},t)}function nt(e,t){return e instanceof Error&&Zo in e&&(t==null||!!(e.type&t))}const vi="[^/]+?",ma={sensitive:!1,strict:!1,start:!0,end:!0},ga=/[.+*?^${}()[\]/\\]/g;function ya(e,t){const n=J({},ma,t),s=[];let r=n.start?"^":"";const i=[];for(const a of e){const f=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let p=0;pt.length?t.length===1&&t[0]===80?1:-1:0}function _a(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const ba={type:0,value:""},Ca=/[a-zA-Z0-9_]/;function wa(e){if(!e)return[[]];if(e==="/")return[[ba]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${a}": ${g}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,c,a="",f="";function p(){a&&(n===0?i.push({type:0,value:a}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:a,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function d(){a+=c}for(;l{o(T)}:On}function o(f){if(Vo(f)){const p=s.get(f);p&&(s.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&s.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function l(){return n}function c(f){let p=0;for(;p=0&&(f.record.path!==n[p].record.path||!Go(f,n[p]));)p++;n.splice(p,0,f),f.record.name&&!Ci(f)&&s.set(f.record.name,f)}function a(f,p){let d,g={},P,A;if("name"in f&&f.name){if(d=s.get(f.name),!d)throw hn(1,{location:f});A=d.record.name,g=J(bi(p.params,d.keys.filter(T=>!T.optional).map(T=>T.name)),f.params&&bi(f.params,d.keys.map(T=>T.name))),P=d.stringify(g)}else if("path"in f)P=f.path,d=n.find(T=>T.re.test(P)),d&&(g=d.parse(P),A=d.record.name);else{if(d=p.name?s.get(p.name):n.find(T=>T.re.test(p.path)),!d)throw hn(1,{location:f,currentLocation:p});A=d.record.name,g=J({},p.params,f.params),P=d.stringify(g)}const O=[];let x=d;for(;x;)O.unshift(x.record),x=x.parent;return{name:A,path:P,params:g,matched:O,meta:Ra(O)}}return e.forEach(f=>i(f)),{addRoute:i,resolve:a,removeRoute:o,getRoutes:l,getRecordMatcher:r}}function bi(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Pa(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Oa(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Oa(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Ci(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ra(e){return e.reduce((t,n)=>J(t,n.meta),{})}function wi(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Go(e,t){return t.children.some(n=>n===e||Go(e,n))}const Yo=/#/g,Sa=/&/g,Aa=/\//g,Ma=/=/g,Fa=/\?/g,Jo=/\+/g,Ta=/%5B/g,Ia=/%5D/g,Xo=/%5E/g,Da=/%60/g,el=/%7B/g,$a=/%7C/g,tl=/%7D/g,ja=/%20/g;function Pr(e){return encodeURI(""+e).replace($a,"|").replace(Ta,"[").replace(Ia,"]")}function Na(e){return Pr(e).replace(el,"{").replace(tl,"}").replace(Xo,"^")}function Js(e){return Pr(e).replace(Jo,"%2B").replace(ja,"+").replace(Yo,"%23").replace(Sa,"%26").replace(Da,"`").replace(el,"{").replace(tl,"}").replace(Xo,"^")}function Qa(e){return Js(e).replace(Ma,"%3D")}function La(e){return Pr(e).replace(Yo,"%23").replace(Fa,"%3F")}function Ua(e){return e==null?"":La(e).replace(Aa,"%2F")}function cs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Ha(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&Js(i)):[s&&Js(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function qa(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ke(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Ka=Symbol(""),Ei=Symbol(""),Or=Symbol(""),nl=Symbol(""),Xs=Symbol("");function bn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function pt(e,t,n,s,r){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,l)=>{const c=p=>{p===!1?l(hn(4,{from:n,to:t})):p instanceof Error?l(p):pa(p)?l(hn(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),o())},a=e.call(s&&s.instances[r],t,n,c);let f=Promise.resolve(a);e.length<3&&(f=f.then(c)),f.catch(p=>l(p))})}function $s(e,t,n,s){const r=[];for(const i of e)for(const o in i.components){let l=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(ka(l)){const a=(l.__vccOpts||l)[t];a&&r.push(pt(a,n,s,i,o))}else{let c=l();r.push(()=>c.then(a=>{if(!a)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const f=Gu(a)?a.default:a;i.components[o]=f;const d=(f.__vccOpts||f)[t];return d&&pt(d,n,s,i,o)()}))}}return r}function ka(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Pi(e){const t=ot(Or),n=ot(nl),s=we(()=>t.resolve(pe(e.to))),r=we(()=>{const{matched:c}=s.value,{length:a}=c,f=c[a-1],p=n.matched;if(!f||!p.length)return-1;const d=p.findIndex(fn.bind(null,f));if(d>-1)return d;const g=Oi(c[a-2]);return a>1&&Oi(f)===g&&p[p.length-1].path!==g?p.findIndex(fn.bind(null,c[a-2])):d}),i=we(()=>r.value>-1&&Va(n.params,s.value.params)),o=we(()=>r.value>-1&&r.value===n.matched.length-1&&zo(n.params,s.value.params));function l(c={}){return Wa(c)?t[pe(e.replace)?"replace":"push"](pe(e.to)).catch(On):Promise.resolve()}return{route:s,href:we(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}const Ba=Pt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Pi,setup(e,{slots:t}){const n=ps(Pi(e)),{options:s}=ot(Or),r=we(()=>({[Ri(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Ri(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Qo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),za=Ba;function Wa(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Va(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ke(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function Oi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ri=(e,t,n)=>e??t??n,Za=Pt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ot(Xs),r=we(()=>e.route||s.value),i=ot(Ei,0),o=we(()=>{let a=pe(i);const{matched:f}=r.value;let p;for(;(p=f[a])&&!p.components;)a++;return a}),l=we(()=>r.value.matched[o.value]);Yn(Ei,we(()=>o.value+1)),Yn(Ka,l),Yn(Xs,r);const c=Ln();return Gn(()=>[c.value,l.value,e.name],([a,f,p],[d,g,P])=>{f&&(f.instances[p]=a,g&&g!==f&&a&&a===d&&(f.leaveGuards.size||(f.leaveGuards=g.leaveGuards),f.updateGuards.size||(f.updateGuards=g.updateGuards))),a&&f&&(!g||!fn(f,g)||!d)&&(f.enterCallbacks[p]||[]).forEach(A=>A(a))},{flush:"post"}),()=>{const a=r.value,f=e.name,p=l.value,d=p&&p.components[f];if(!d)return Si(n.default,{Component:d,route:a});const g=p.props[f],P=g?g===!0?a.params:typeof g=="function"?g(a):g:null,O=Qo(d,J({},P,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(p.instances[f]=null)},ref:c}));return Si(n.default,{Component:O,route:a})||O}}});function Si(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const sl=Za;function Ga(e){const t=Ea(e.routes,e),n=e.parseQuery||Ha,s=e.stringifyQuery||xi,r=e.history,i=bn(),o=bn(),l=bn(),c=ql(ft);let a=ft;Kt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Is.bind(null,_=>""+_),p=Is.bind(null,Ua),d=Is.bind(null,cs);function g(_,F){let S,$;return Vo(_)?(S=t.getRecordMatcher(_),$=F):$=_,t.addRoute($,S)}function P(_){const F=t.getRecordMatcher(_);F&&t.removeRoute(F)}function A(){return t.getRoutes().map(_=>_.record)}function O(_){return!!t.getRecordMatcher(_)}function x(_,F){if(F=J({},F||c.value),typeof _=="string"){const m=Ds(n,_,F.path),y=t.resolve({path:m.path},F),b=r.createHref(m.fullPath);return J(m,y,{params:d(y.params),hash:cs(m.hash),redirectedFrom:void 0,href:b})}let S;if("path"in _)S=J({},_,{path:Ds(n,_.path,F.path).path});else{const m=J({},_.params);for(const y in m)m[y]==null&&delete m[y];S=J({},_,{params:p(m)}),F.params=p(F.params)}const $=t.resolve(S,F),G=_.hash||"";$.params=f(d($.params));const u=Xu(s,J({},_,{hash:Na(G),path:$.path})),h=r.createHref(u);return J({fullPath:u,hash:G,query:s===xi?qa(_.query):_.query||{}},$,{redirectedFrom:void 0,href:h})}function T(_){return typeof _=="string"?Ds(n,_,c.value.path):J({},_)}function j(_,F){if(a!==_)return hn(8,{from:F,to:_})}function I(_){return ge(_)}function W(_){return I(J(T(_),{replace:!0}))}function ee(_){const F=_.matched[_.matched.length-1];if(F&&F.redirect){const{redirect:S}=F;let $=typeof S=="function"?S(_):S;return typeof $=="string"&&($=$.includes("?")||$.includes("#")?$=T($):{path:$},$.params={}),J({query:_.query,hash:_.hash,params:"path"in $?{}:_.params},$)}}function ge(_,F){const S=a=x(_),$=c.value,G=_.state,u=_.force,h=_.replace===!0,m=ee(S);if(m)return ge(J(T(m),{state:typeof m=="object"?J({},G,m.state):G,force:u,replace:h}),F||S);const y=S;y.redirectedFrom=F;let b;return!u&&ea(s,$,S)&&(b=hn(16,{to:y,from:$}),ze($,$,!0,!1)),(b?Promise.resolve(b):ke(y,$)).catch(C=>nt(C)?nt(C,2)?C:ut(C):Z(C,y,$)).then(C=>{if(C){if(nt(C,2))return ge(J({replace:h},T(C.to),{state:typeof C.to=="object"?J({},G,C.to.state):G,force:u}),F||y)}else C=Ot(y,$,!0,h,G);return ct(y,$,C),C})}function Y(_,F){const S=j(_,F);return S?Promise.reject(S):Promise.resolve()}function Ee(_){const F=Ut.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(_):_()}function ke(_,F){let S;const[$,G,u]=Ya(_,F);S=$s($.reverse(),"beforeRouteLeave",_,F);for(const m of $)m.leaveGuards.forEach(y=>{S.push(pt(y,_,F))});const h=Y.bind(null,_,F);return S.push(h),ye(S).then(()=>{S=[];for(const m of i.list())S.push(pt(m,_,F));return S.push(h),ye(S)}).then(()=>{S=$s(G,"beforeRouteUpdate",_,F);for(const m of G)m.updateGuards.forEach(y=>{S.push(pt(y,_,F))});return S.push(h),ye(S)}).then(()=>{S=[];for(const m of u)if(m.beforeEnter)if(Ke(m.beforeEnter))for(const y of m.beforeEnter)S.push(pt(y,_,F));else S.push(pt(m.beforeEnter,_,F));return S.push(h),ye(S)}).then(()=>(_.matched.forEach(m=>m.enterCallbacks={}),S=$s(u,"beforeRouteEnter",_,F),S.push(h),ye(S))).then(()=>{S=[];for(const m of o.list())S.push(pt(m,_,F));return S.push(h),ye(S)}).catch(m=>nt(m,8)?m:Promise.reject(m))}function ct(_,F,S){l.list().forEach($=>Ee(()=>$(_,F,S)))}function Ot(_,F,S,$,G){const u=j(_,F);if(u)return u;const h=F===ft,m=Kt?history.state:{};S&&($||h?r.replace(_.fullPath,J({scroll:h&&m&&m.scroll},G)):r.push(_.fullPath,G)),c.value=_,ze(_,F,S,h),ut()}let Be;function yn(){Be||(Be=r.listen((_,F,S)=>{if(!Hn.listening)return;const $=x(_),G=ee($);if(G){ge(J(G,{replace:!0}),$).catch(On);return}a=$;const u=c.value;Kt&&ca(mi(u.fullPath,S.delta),Cs()),ke($,u).catch(h=>nt(h,12)?h:nt(h,2)?(ge(h.to,$).then(m=>{nt(m,20)&&!S.delta&&S.type===$n.pop&&r.go(-1,!1)}).catch(On),Promise.reject()):(S.delta&&r.go(-S.delta,!1),Z(h,$,u))).then(h=>{h=h||Ot($,u,!1),h&&(S.delta&&!nt(h,8)?r.go(-S.delta,!1):S.type===$n.pop&&nt(h,20)&&r.go(-1,!1)),ct($,u,h)}).catch(On)}))}let Qt=bn(),fe=bn(),te;function Z(_,F,S){ut(_);const $=fe.list();return $.length?$.forEach(G=>G(_,F,S)):console.error(_),Promise.reject(_)}function tt(){return te&&c.value!==ft?Promise.resolve():new Promise((_,F)=>{Qt.add([_,F])})}function ut(_){return te||(te=!_,yn(),Qt.list().forEach(([F,S])=>_?S(_):F()),Qt.reset()),_}function ze(_,F,S,$){const{scrollBehavior:G}=e;if(!Kt||!G)return Promise.resolve();const u=!S&&ua(mi(_.fullPath,0))||($||!S)&&history.state&&history.state.scroll||null;return ho().then(()=>G(_,F,u)).then(h=>h&&la(h)).catch(h=>Z(h,_,F))}const Pe=_=>r.go(_);let Lt;const Ut=new Set,Hn={currentRoute:c,listening:!0,addRoute:g,removeRoute:P,hasRoute:O,getRoutes:A,resolve:x,options:e,push:I,replace:W,go:Pe,back:()=>Pe(-1),forward:()=>Pe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:fe.add,isReady:tt,install(_){const F=this;_.component("RouterLink",za),_.component("RouterView",sl),_.config.globalProperties.$router=F,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>pe(c)}),Kt&&!Lt&&c.value===ft&&(Lt=!0,I(r.location).catch(G=>{}));const S={};for(const G in ft)Object.defineProperty(S,G,{get:()=>c.value[G],enumerable:!0});_.provide(Or,F),_.provide(nl,ro(S)),_.provide(Xs,c);const $=_.unmount;Ut.add(_),_.unmount=function(){Ut.delete(_),Ut.size<1&&(a=ft,Be&&Be(),Be=null,c.value=ft,Lt=!1,te=!1),$()}}};function ye(_){return _.reduce((F,S)=>F.then(()=>Ee(S)),Promise.resolve())}return Hn}function Ya(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;ofn(a,l))?s.push(l):n.push(l));const c=e.matched[o];c&&(t.matched.find(a=>fn(a,c))||r.push(c))}return[n,s,r]}const Rr=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ja={},Xa={class:"relative flex flex-col my-0 mx-auto w-full h-full min-[500px]:w-[500px]"};function ef(e,t){return xe(),$e("div",Xa,[Eo(e.$slots,"default")])}const tf=Rr(Ja,[["render",ef]]),nf=Pt({__name:"App",setup(e){return(t,n)=>(xe(),vr(tf,null,{default:pr(()=>[oe(pe(sl))]),_:1}))}}),sf="/assets/zzio-game-gi9PWWvs.svg",rf="/assets/title-1h217AQ3.svg",of="/assets/illustration-Ldk2dMTd.svg";function rl(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,Mi=lf,cf=(e,t)=>n=>{var s;if((t==null?void 0:t.variants)==null)return Mi(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:i}=t,o=Object.keys(r).map(a=>{const f=n==null?void 0:n[a],p=i==null?void 0:i[a];if(f===null)return null;const d=Ai(f)||Ai(p);return r[a][d]}),l=n&&Object.entries(n).reduce((a,f)=>{let[p,d]=f;return d===void 0||(a[p]=d),a},{}),c=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((a,f)=>{let{class:p,className:d,...g}=f;return Object.entries(g).every(P=>{let[A,O]=P;return Array.isArray(O)?O.includes({...i,...l}[A]):{...i,...l}[A]===O})?[...a,p,d]:a},[]);return Mi(e,o,c,n==null?void 0:n.class,n==null?void 0:n.className)},uf={},af={width:"6",height:"26",viewBox:"0 0 6 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ff=se("path",{d:"M4.2 1C0.733351 1.27513 1.4 5.35559 1.4 7.11111C1.4 10.4368 1 13.721 1 17.0159C1 18.9153 1 20.8148 1 22.7143C1 24.7699 2.14463 25 5 25",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1),hf=[ff];function df(e,t){return xe(),$e("svg",af,hf)}const pf=Rr(uf,[["render",df]]),mf={},gf={width:"5",height:"26",viewBox:"0 0 5 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yf=se("path",{d:"M1 1C3.80793 1 3.65193 1.51739 3.80793 3.50851C4.24009 4.88769 3.80793 6.50014 3.80793 7.94838C3.80793 10.7494 3.49594 13.5023 3.49594 16.376C3.49594 18.2999 3.80793 20.0164 3.80793 22.0052C3.80793 22.7818 3.96994 23.7369 3.7906 24.4944C3.61128 25.2518 1.65823 24.9337 1 24.9337",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1),vf=[yf];function _f(e,t){return xe(),$e("svg",gf,vf)}const bf=Rr(mf,[["render",_f]]),Cf=["disabled"],wf=Pt({__name:"ZButton",props:{disabled:{type:Boolean,default:!1},color:{type:String,default:"primary"}},setup(e){const t=cf(["text-black text-body-b","flex justify-between w-full rounded-[8px] px-[12px] py-[11px] border-2"],{variants:{disabled:{true:"border-dark-green text-dark-green bg-green",false:"border-black"},color:{primary:"bg-[#FCBF31]",secondary:"bg-green"}}});return(n,s)=>(xe(),$e("button",{class:hs(pe(t)({disabled:e.disabled,color:e.color})),disabled:e.disabled},[oe(pf),Eo(n.$slots,"default"),oe(bf)],10,Cf))}}),xf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20style='fill:%20%23489B6D'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='inherit'%20d='M12%202C10.6868%202%209.38642%202.25866%208.17317%202.7612C6.95991%203.26375%205.85752%204.00035%204.92893%204.92893C3.05357%206.8043%202%209.34784%202%2012C2%2016.42%204.87%2020.17%208.84%2021.5C9.34%2021.58%209.5%2021.27%209.5%2021V19.31C6.73%2019.91%206.14%2017.97%206.14%2017.97C5.68%2016.81%205.03%2016.5%205.03%2016.5C4.12%2015.88%205.1%2015.9%205.1%2015.9C6.1%2015.97%206.63%2016.93%206.63%2016.93C7.5%2018.45%208.97%2018%209.54%2017.76C9.63%2017.11%209.89%2016.67%2010.17%2016.42C7.95%2016.17%205.62%2015.31%205.62%2011.5C5.62%2010.39%206%209.5%206.65%208.79C6.55%208.54%206.2%207.5%206.75%206.15C6.75%206.15%207.59%205.88%209.5%207.17C10.29%206.95%2011.15%206.84%2012%206.84C12.85%206.84%2013.71%206.95%2014.5%207.17C16.41%205.88%2017.25%206.15%2017.25%206.15C17.8%207.5%2017.45%208.54%2017.35%208.79C18%209.5%2018.38%2010.39%2018.38%2011.5C18.38%2015.32%2016.04%2016.16%2013.81%2016.41C14.17%2016.72%2014.5%2017.33%2014.5%2018.26V21C14.5%2021.27%2014.66%2021.59%2015.17%2021.5C19.14%2020.16%2022%2016.42%2022%2012C22%2010.6868%2021.7413%209.38642%2021.2388%208.17317C20.7362%206.95991%2019.9997%205.85752%2019.0711%204.92893C18.1425%204.00035%2017.0401%203.26375%2015.8268%202.7612C14.6136%202.25866%2013.3132%202%2012%202Z'/%3e%3c/svg%3e",Ef={class:"text-dark-green flex flex-col items-center pb-12 pt-4"},Pf={class:"flex items-center gap-1 text-caption-b",href:"https://github.com/zzzi-ori",target:"_blank"},Of=["src"],Rf=se("h3",null,"zzio-game",-1),Sf=se("span",{class:"text-caption-r"},"© IT’S YOUR PRIMETIME",-1),Af=se("span",{class:"text-caption-r"},"develop by zzio-games",-1),Mf=Pt({__name:"Footer",setup(e){return(t,n)=>(xe(),$e("div",Ef,[se("a",Pf,[se("img",{class:"text-dark-green",src:pe(xf),alt:"github"},null,8,Of),Rf]),Sf,Af]))}}),Ff="/assets/event-white-VQlzzjFH.svg",Tf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.008%206.72749C9.08764%206.72749%206.73202%209.08311%206.73202%2012.0035C6.73202%2014.9239%209.08764%2017.2795%2012.008%2017.2795C14.9285%2017.2795%2017.2841%2014.9239%2017.2841%2012.0035C17.2841%209.08311%2014.9285%206.72749%2012.008%206.72749ZM12.008%2015.4336C10.1208%2015.4336%208.57794%2013.8954%208.57794%2012.0035C8.57794%2010.1117%2010.1162%208.57341%2012.008%208.57341C13.8999%208.57341%2015.4381%2010.1117%2015.4381%2012.0035C15.4381%2013.8954%2013.8953%2015.4336%2012.008%2015.4336ZM18.7305%206.51168C18.7305%207.19586%2018.1795%207.74229%2017.4999%207.74229C16.8157%207.74229%2016.2693%207.19127%2016.2693%206.51168C16.2693%205.83209%2016.8203%205.28106%2017.4999%205.28106C18.1795%205.28106%2018.7305%205.83209%2018.7305%206.51168ZM22.2249%207.76066C22.1468%206.11219%2021.7703%204.65198%2020.5626%203.44892C19.3596%202.24586%2017.8994%201.86933%2016.2509%201.78668C14.5519%201.69025%209.45958%201.69025%207.7606%201.78668C6.11672%201.86474%204.65651%202.24127%203.44886%203.44433C2.24121%204.64739%201.86927%206.10759%201.78662%207.75606C1.69019%209.45504%201.69019%2014.5474%201.78662%2016.2464C1.86468%2017.8948%202.24121%2019.355%203.44886%2020.5581C4.65651%2021.7612%206.11213%2022.1377%207.7606%2022.2204C9.45958%2022.3168%2014.5519%2022.3168%2016.2509%2022.2204C17.8994%2022.1423%2019.3596%2021.7658%2020.5626%2020.5581C21.7657%2019.355%2022.1422%2017.8948%2022.2249%2016.2464C22.3213%2014.5474%2022.3213%209.45964%2022.2249%207.76066ZM20.03%2018.0693C19.6718%2018.9693%2018.9785%2019.6627%2018.0739%2020.0255C16.7193%2020.5627%2013.505%2020.4387%2012.008%2020.4387C10.5111%2020.4387%207.29223%2020.5581%205.94223%2020.0255C5.04223%2019.6673%204.34886%2018.9739%203.98611%2018.0693C3.44886%2016.7147%203.57284%2013.5005%203.57284%2012.0035C3.57284%2010.5066%203.45345%207.2877%203.98611%205.9377C4.34427%205.0377%205.03764%204.34433%205.94223%203.98157C7.29682%203.44433%2010.5111%203.56831%2012.008%203.56831C13.505%203.56831%2016.7239%203.44892%2018.0739%203.98157C18.9739%204.33974%2019.6672%205.03311%2020.03%205.9377C20.5672%207.29229%2020.4432%2010.5066%2020.4432%2012.0035C20.4432%2013.5005%2020.5672%2016.7193%2020.03%2018.0693Z'%20fill='white'/%3e%3c/svg%3e",il=new Date("2024-04-19T23:59:59+09:00"),Fi=()=>new Date{const i=setInterval(()=>{t.value=new Date},1e3);return()=>clearInterval(i)});const n=we(()=>il.getTime()-t.value.getTime()),s=we(()=>Math.ceil(n.value/(1e3*60*60*24))),r=we(()=>{const i=String(Math.floor(n.value/36e5)%24).padStart(2,"0"),o=String(Math.floor(n.value/(1e3*60))%60).padStart(2,"0"),l=String(Math.floor(n.value/1e3)%60).padStart(2,"0");return`${i}:${o}:${l}`});return(i,o)=>n.value>0?(xe(),$e("div",If,[se("img",{src:pe(Ff),alt:"event",class:"mr-2"},null,8,Df),$f,s.value>1?(xe(),$e("span",jf,"D-"+Ns(s.value),1)):(xe(),$e("span",Nf,Ns(r.value),1)),se("img",{src:pe(Tf),alt:"instagram",class:"absolute right-4"},null,8,Qf)])):Uc("",!0)}}),Uf="/assets/event-7o-96Rwf.svg",Hf={class:"text-dark-green mt-6 mb-2"},qf=["src"],Kf=se("h3",{class:"text-caption-b inline"},"운영 안내",-1),kf={class:"text-caption-r text-dark-green list-disc ml-4"},Bf=Pt({__name:"Notice",props:{closed:{type:Boolean,default:!1}},setup(e){const t=e,n=we(()=>t.closed?["현재 찌오 게임 이벤트는 종료 되었으며, 당첨자는 4월 26일 (금) 이후 찌오 인스타그램 (@zzzi_ori)에서 확인하실 수 있습니다.","찌오 게임은 언제든 자유롭게 플레이 가능하나, 실시간 랭킹은 확인하실 수 없습니다."]:["이벤트는 4월 19일 (금) 23시 59분까지 참여 가능하며, 종료 이후에도 찌오 게임을 언제든 플레이할 수 있습니다.","실시간 랭킹은 이벤트 종료와 동시에 확인이 불가합니다.","자세한 내용은 이벤트 페이지 또는 찌오 인스타그램 (@zzzi_ori)에서 확인하세요."]);return(s,r)=>(xe(),$e(Re,null,[se("div",Hf,[se("img",{src:pe(Uf),class:"inline mr-1",alt:"beta"},null,8,qf),Kf]),se("ul",kf,[(xe(!0),$e(Re,null,vc(n.value,i=>(xe(),$e("li",{key:i},Ns(i),1))),128))])],64))}}),zf="data:image/svg+xml,%3csvg%20width='49'%20height='49'%20viewBox='0%200%2049%2049'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_694_3918)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M24.5%2044C29.6717%2044%2034.6316%2041.9455%2038.2886%2038.2886C41.9455%2034.6316%2044%2029.6717%2044%2024.5C44%2019.3283%2041.9455%2014.3684%2038.2886%2010.7114C34.6316%207.05446%2029.6717%205%2024.5%205C19.3283%205%2014.3684%207.05446%2010.7114%2010.7114C7.05446%2014.3684%205%2019.3283%205%2024.5C5%2029.6717%207.05446%2034.6316%2010.7114%2038.2886C14.3684%2041.9455%2019.3283%2044%2024.5%2044ZM24.5%2048.5C30.8652%2048.5%2036.9697%2045.9714%2041.4706%2041.4706C45.9714%2036.9697%2048.5%2030.8652%2048.5%2024.5C48.5%2018.1348%2045.9714%2012.0303%2041.4706%207.52944C36.9697%203.02856%2030.8652%200.5%2024.5%200.5C18.1348%200.5%2012.0303%203.02856%207.52944%207.52944C3.02856%2012.0303%200.5%2018.1348%200.5%2024.5C0.5%2030.8652%203.02856%2036.9697%207.52944%2041.4706C12.0303%2045.9714%2018.1348%2048.5%2024.5%2048.5ZM27.5%2033.5C27.5%2034.2957%2027.1839%2035.0587%2026.6213%2035.6213C26.0587%2036.1839%2025.2956%2036.5%2024.5%2036.5C23.7044%2036.5%2022.9413%2036.1839%2022.3787%2035.6213C21.8161%2035.0587%2021.5%2034.2957%2021.5%2033.5C21.5%2032.7043%2021.8161%2031.9413%2022.3787%2031.3787C22.9413%2030.8161%2023.7044%2030.5%2024.5%2030.5C25.2956%2030.5%2026.0587%2030.8161%2026.6213%2031.3787C27.1839%2031.9413%2027.5%2032.7043%2027.5%2033.5ZM26.75%2014.75C26.75%2014.1533%2026.5129%2013.581%2026.091%2013.159C25.669%2012.7371%2025.0967%2012.5%2024.5%2012.5C23.9033%2012.5%2023.331%2012.7371%2022.909%2013.159C22.4871%2013.581%2022.25%2014.1533%2022.25%2014.75V25.25C22.25%2025.8467%2022.4871%2026.419%2022.909%2026.841C23.331%2027.2629%2023.9033%2027.5%2024.5%2027.5C25.0967%2027.5%2025.669%2027.2629%2026.091%2026.841C26.5129%2026.419%2026.75%2025.8467%2026.75%2025.25V14.75Z'%20fill='%23489B6D'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_694_3918'%3e%3crect%20width='48'%20height='48'%20fill='white'%20transform='translate(0.5%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Wf={href:"https://www.instagram.com/p/C5anjFMP-9n/?utm_source=ig_web_copy_link",target:"_blank"},Vf={class:"flex flex-col flex-1 justify-center items-center px-6"},Zf=["src"],Gf=["src"],Yf=["src"],Jf={class:"w-full flex flex-col items-center text-dark-green text-center"},Xf=["src"],eh=se("span",{class:"text-body-b mb-1 mt-4"},"잠시 게임을 점검중입니다",-1),th=se("span",{class:"text-caption-r"},[os(" 더 나은 찌오 게임을 위해 점검 중입니다."),se("br"),os(" 점검이 종료되면 다시 게임을 플레이 할 수 있습니다. ")],-1),nh=Pt({__name:"MaintenancePage",setup(e){const t=Ln(Fi());return mr(()=>{const n=setInterval(()=>{t.value=Fi()},1e3);return()=>clearInterval(n)}),(n,s)=>(xe(),$e(Re,null,[se("a",Wf,[oe(Lf,{class:"mt-3"})]),se("div",Vf,[se("img",{src:pe(sf),alt:"zzio game",class:"mt-6"},null,8,Zf),se("img",{src:pe(rf),alt:"황금 찌오를 찾아라 beta",class:"my-3"},null,8,Gf),se("img",{src:pe(of),alt:"찌오 이미지",class:"mb-6"},null,8,Yf),se("div",Jf,[se("img",{src:pe(zf),alt:"error"},null,8,Xf),eh,th]),oe(wf,{disabled:!0,class:"mt-6",color:"primary"},{default:pr(()=>[os(" 7:00 AM 점검 종료")]),_:1}),oe(Bf,{closed:!t.value},null,8,["closed"])]),oe(Mf)],64))}}),sh=[{path:"/",component:nh}],ol=Ga({history:da("/"),routes:sh});ol.beforeEach(e=>{if(e.fullPath!=="/")return{path:"/"}});const rh=Eu(),ws=bu(nf);ws.use(rh);ws.use(ol);ws.use(Zu);ws.mount("#app"); + */const Kt=typeof window<"u";function Gu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const J=Object.assign;function Is(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ke(r)?r.map(e):e(r)}return n}const On=()=>{},Ke=Array.isArray,Yu=/\/$/,Ju=e=>e.replace(Yu,"");function Ds(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),i=t.slice(c+1,l>-1?l:t.length),r=e(i)),l>-1&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=na(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function Xu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function di(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ea(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&fn(t.matched[s],n.matched[r])&&zo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function zo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ta(e[n],t[n]))return!1;return!0}function ta(e,t){return Ke(e)?pi(e,t):Ke(t)?pi(t,e):e===t}function pi(e,t){return Ke(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function na(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,l;for(o=0;o1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var $n;(function(e){e.pop="pop",e.push="push"})($n||($n={}));var Rn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rn||(Rn={}));function sa(e){if(!e)if(Kt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ju(e)}const ra=/^[^#]+#/;function ia(e,t){return e.replace(ra,"#")+t}function oa(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Cs=()=>({left:window.pageXOffset,top:window.pageYOffset});function la(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=oa(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function mi(e,t){return(history.state?history.state.position-t:-1)+e}const Ys=new Map;function ca(e,t){Ys.set(e,t)}function ua(e){const t=Ys.get(e);return Ys.delete(e),t}let aa=()=>location.protocol+"//"+location.host;function Wo(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let l=r.includes(e.slice(i))?e.slice(i).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),di(c,"")}return di(n,e)+s+r}function fa(e,t,n,s){let r=[],i=[],o=null;const l=({state:d})=>{const g=Wo(e,location),P=n.value,A=t.value;let O=0;if(d){if(n.value=g,t.value=d,o&&o===P){o=null;return}O=A?d.position-A.position:0}else s(g);r.forEach(x=>{x(n.value,P,{delta:O,type:$n.pop,direction:O?O>0?Rn.forward:Rn.back:Rn.unknown})})};function c(){o=n.value}function a(d){r.push(d);const g=()=>{const P=r.indexOf(d);P>-1&&r.splice(P,1)};return i.push(g),g}function f(){const{history:d}=window;d.state&&d.replaceState(J({},d.state,{scroll:Cs()}),"")}function p(){for(const d of i)d();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:a,destroy:p}}function gi(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Cs():null}}function ha(e){const{history:t,location:n}=window,s={value:Wo(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,a,f){const p=e.indexOf("#"),d=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+c:aa()+e+c;try{t[f?"replaceState":"pushState"](a,"",d),r.value=a}catch(g){console.error(g),n[f?"replace":"assign"](d)}}function o(c,a){const f=J({},t.state,gi(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});i(c,f,!0),s.value=c}function l(c,a){const f=J({},r.value,t.state,{forward:c,scroll:Cs()});i(f.current,f,!0);const p=J({},gi(s.value,c,null),{position:f.position+1},a);i(c,p,!1),s.value=c}return{location:s,state:r,push:l,replace:o}}function da(e){e=sa(e);const t=ha(e),n=fa(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=J({location:"",base:e,go:s,createHref:ia.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function pa(e){return typeof e=="string"||e&&typeof e=="object"}function Vo(e){return typeof e=="string"||typeof e=="symbol"}const ft={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Zo=Symbol("");var yi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(yi||(yi={}));function hn(e,t){return J(new Error,{type:e,[Zo]:!0},t)}function nt(e,t){return e instanceof Error&&Zo in e&&(t==null||!!(e.type&t))}const vi="[^/]+?",ma={sensitive:!1,strict:!1,start:!0,end:!0},ga=/[.+*?^${}()[\]/\\]/g;function ya(e,t){const n=J({},ma,t),s=[];let r=n.start?"^":"";const i=[];for(const a of e){const f=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let p=0;pt.length?t.length===1&&t[0]===80?1:-1:0}function _a(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const ba={type:0,value:""},Ca=/[a-zA-Z0-9_]/;function wa(e){if(!e)return[[]];if(e==="/")return[[ba]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${a}": ${g}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,c,a="",f="";function p(){a&&(n===0?i.push({type:0,value:a}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:a,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function d(){a+=c}for(;l{o(T)}:On}function o(f){if(Vo(f)){const p=s.get(f);p&&(s.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&s.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function l(){return n}function c(f){let p=0;for(;p=0&&(f.record.path!==n[p].record.path||!Go(f,n[p]));)p++;n.splice(p,0,f),f.record.name&&!Ci(f)&&s.set(f.record.name,f)}function a(f,p){let d,g={},P,A;if("name"in f&&f.name){if(d=s.get(f.name),!d)throw hn(1,{location:f});A=d.record.name,g=J(bi(p.params,d.keys.filter(T=>!T.optional).map(T=>T.name)),f.params&&bi(f.params,d.keys.map(T=>T.name))),P=d.stringify(g)}else if("path"in f)P=f.path,d=n.find(T=>T.re.test(P)),d&&(g=d.parse(P),A=d.record.name);else{if(d=p.name?s.get(p.name):n.find(T=>T.re.test(p.path)),!d)throw hn(1,{location:f,currentLocation:p});A=d.record.name,g=J({},p.params,f.params),P=d.stringify(g)}const O=[];let x=d;for(;x;)O.unshift(x.record),x=x.parent;return{name:A,path:P,params:g,matched:O,meta:Ra(O)}}return e.forEach(f=>i(f)),{addRoute:i,resolve:a,removeRoute:o,getRoutes:l,getRecordMatcher:r}}function bi(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Pa(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Oa(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Oa(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Ci(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ra(e){return e.reduce((t,n)=>J(t,n.meta),{})}function wi(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Go(e,t){return t.children.some(n=>n===e||Go(e,n))}const Yo=/#/g,Sa=/&/g,Aa=/\//g,Ma=/=/g,Fa=/\?/g,Jo=/\+/g,Ta=/%5B/g,Ia=/%5D/g,Xo=/%5E/g,Da=/%60/g,el=/%7B/g,$a=/%7C/g,tl=/%7D/g,ja=/%20/g;function Pr(e){return encodeURI(""+e).replace($a,"|").replace(Ta,"[").replace(Ia,"]")}function Na(e){return Pr(e).replace(el,"{").replace(tl,"}").replace(Xo,"^")}function Js(e){return Pr(e).replace(Jo,"%2B").replace(ja,"+").replace(Yo,"%23").replace(Sa,"%26").replace(Da,"`").replace(el,"{").replace(tl,"}").replace(Xo,"^")}function Qa(e){return Js(e).replace(Ma,"%3D")}function La(e){return Pr(e).replace(Yo,"%23").replace(Fa,"%3F")}function Ua(e){return e==null?"":La(e).replace(Aa,"%2F")}function cs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Ha(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&Js(i)):[s&&Js(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function qa(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ke(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Ka=Symbol(""),Ei=Symbol(""),Or=Symbol(""),nl=Symbol(""),Xs=Symbol("");function bn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function pt(e,t,n,s,r){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,l)=>{const c=p=>{p===!1?l(hn(4,{from:n,to:t})):p instanceof Error?l(p):pa(p)?l(hn(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),o())},a=e.call(s&&s.instances[r],t,n,c);let f=Promise.resolve(a);e.length<3&&(f=f.then(c)),f.catch(p=>l(p))})}function $s(e,t,n,s){const r=[];for(const i of e)for(const o in i.components){let l=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(ka(l)){const a=(l.__vccOpts||l)[t];a&&r.push(pt(a,n,s,i,o))}else{let c=l();r.push(()=>c.then(a=>{if(!a)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const f=Gu(a)?a.default:a;i.components[o]=f;const d=(f.__vccOpts||f)[t];return d&&pt(d,n,s,i,o)()}))}}return r}function ka(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Pi(e){const t=ot(Or),n=ot(nl),s=we(()=>t.resolve(pe(e.to))),r=we(()=>{const{matched:c}=s.value,{length:a}=c,f=c[a-1],p=n.matched;if(!f||!p.length)return-1;const d=p.findIndex(fn.bind(null,f));if(d>-1)return d;const g=Oi(c[a-2]);return a>1&&Oi(f)===g&&p[p.length-1].path!==g?p.findIndex(fn.bind(null,c[a-2])):d}),i=we(()=>r.value>-1&&Va(n.params,s.value.params)),o=we(()=>r.value>-1&&r.value===n.matched.length-1&&zo(n.params,s.value.params));function l(c={}){return Wa(c)?t[pe(e.replace)?"replace":"push"](pe(e.to)).catch(On):Promise.resolve()}return{route:s,href:we(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}const Ba=Pt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Pi,setup(e,{slots:t}){const n=ps(Pi(e)),{options:s}=ot(Or),r=we(()=>({[Ri(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Ri(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Qo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),za=Ba;function Wa(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Va(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ke(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function Oi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ri=(e,t,n)=>e??t??n,Za=Pt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ot(Xs),r=we(()=>e.route||s.value),i=ot(Ei,0),o=we(()=>{let a=pe(i);const{matched:f}=r.value;let p;for(;(p=f[a])&&!p.components;)a++;return a}),l=we(()=>r.value.matched[o.value]);Yn(Ei,we(()=>o.value+1)),Yn(Ka,l),Yn(Xs,r);const c=Ln();return Gn(()=>[c.value,l.value,e.name],([a,f,p],[d,g,P])=>{f&&(f.instances[p]=a,g&&g!==f&&a&&a===d&&(f.leaveGuards.size||(f.leaveGuards=g.leaveGuards),f.updateGuards.size||(f.updateGuards=g.updateGuards))),a&&f&&(!g||!fn(f,g)||!d)&&(f.enterCallbacks[p]||[]).forEach(A=>A(a))},{flush:"post"}),()=>{const a=r.value,f=e.name,p=l.value,d=p&&p.components[f];if(!d)return Si(n.default,{Component:d,route:a});const g=p.props[f],P=g?g===!0?a.params:typeof g=="function"?g(a):g:null,O=Qo(d,J({},P,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(p.instances[f]=null)},ref:c}));return Si(n.default,{Component:O,route:a})||O}}});function Si(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const sl=Za;function Ga(e){const t=Ea(e.routes,e),n=e.parseQuery||Ha,s=e.stringifyQuery||xi,r=e.history,i=bn(),o=bn(),l=bn(),c=ql(ft);let a=ft;Kt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Is.bind(null,_=>""+_),p=Is.bind(null,Ua),d=Is.bind(null,cs);function g(_,F){let S,$;return Vo(_)?(S=t.getRecordMatcher(_),$=F):$=_,t.addRoute($,S)}function P(_){const F=t.getRecordMatcher(_);F&&t.removeRoute(F)}function A(){return t.getRoutes().map(_=>_.record)}function O(_){return!!t.getRecordMatcher(_)}function x(_,F){if(F=J({},F||c.value),typeof _=="string"){const m=Ds(n,_,F.path),y=t.resolve({path:m.path},F),b=r.createHref(m.fullPath);return J(m,y,{params:d(y.params),hash:cs(m.hash),redirectedFrom:void 0,href:b})}let S;if("path"in _)S=J({},_,{path:Ds(n,_.path,F.path).path});else{const m=J({},_.params);for(const y in m)m[y]==null&&delete m[y];S=J({},_,{params:p(m)}),F.params=p(F.params)}const $=t.resolve(S,F),G=_.hash||"";$.params=f(d($.params));const u=Xu(s,J({},_,{hash:Na(G),path:$.path})),h=r.createHref(u);return J({fullPath:u,hash:G,query:s===xi?qa(_.query):_.query||{}},$,{redirectedFrom:void 0,href:h})}function T(_){return typeof _=="string"?Ds(n,_,c.value.path):J({},_)}function j(_,F){if(a!==_)return hn(8,{from:F,to:_})}function I(_){return ge(_)}function W(_){return I(J(T(_),{replace:!0}))}function ee(_){const F=_.matched[_.matched.length-1];if(F&&F.redirect){const{redirect:S}=F;let $=typeof S=="function"?S(_):S;return typeof $=="string"&&($=$.includes("?")||$.includes("#")?$=T($):{path:$},$.params={}),J({query:_.query,hash:_.hash,params:"path"in $?{}:_.params},$)}}function ge(_,F){const S=a=x(_),$=c.value,G=_.state,u=_.force,h=_.replace===!0,m=ee(S);if(m)return ge(J(T(m),{state:typeof m=="object"?J({},G,m.state):G,force:u,replace:h}),F||S);const y=S;y.redirectedFrom=F;let b;return!u&&ea(s,$,S)&&(b=hn(16,{to:y,from:$}),ze($,$,!0,!1)),(b?Promise.resolve(b):ke(y,$)).catch(C=>nt(C)?nt(C,2)?C:ut(C):Z(C,y,$)).then(C=>{if(C){if(nt(C,2))return ge(J({replace:h},T(C.to),{state:typeof C.to=="object"?J({},G,C.to.state):G,force:u}),F||y)}else C=Ot(y,$,!0,h,G);return ct(y,$,C),C})}function Y(_,F){const S=j(_,F);return S?Promise.reject(S):Promise.resolve()}function Ee(_){const F=Ut.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(_):_()}function ke(_,F){let S;const[$,G,u]=Ya(_,F);S=$s($.reverse(),"beforeRouteLeave",_,F);for(const m of $)m.leaveGuards.forEach(y=>{S.push(pt(y,_,F))});const h=Y.bind(null,_,F);return S.push(h),ye(S).then(()=>{S=[];for(const m of i.list())S.push(pt(m,_,F));return S.push(h),ye(S)}).then(()=>{S=$s(G,"beforeRouteUpdate",_,F);for(const m of G)m.updateGuards.forEach(y=>{S.push(pt(y,_,F))});return S.push(h),ye(S)}).then(()=>{S=[];for(const m of u)if(m.beforeEnter)if(Ke(m.beforeEnter))for(const y of m.beforeEnter)S.push(pt(y,_,F));else S.push(pt(m.beforeEnter,_,F));return S.push(h),ye(S)}).then(()=>(_.matched.forEach(m=>m.enterCallbacks={}),S=$s(u,"beforeRouteEnter",_,F),S.push(h),ye(S))).then(()=>{S=[];for(const m of o.list())S.push(pt(m,_,F));return S.push(h),ye(S)}).catch(m=>nt(m,8)?m:Promise.reject(m))}function ct(_,F,S){l.list().forEach($=>Ee(()=>$(_,F,S)))}function Ot(_,F,S,$,G){const u=j(_,F);if(u)return u;const h=F===ft,m=Kt?history.state:{};S&&($||h?r.replace(_.fullPath,J({scroll:h&&m&&m.scroll},G)):r.push(_.fullPath,G)),c.value=_,ze(_,F,S,h),ut()}let Be;function yn(){Be||(Be=r.listen((_,F,S)=>{if(!Hn.listening)return;const $=x(_),G=ee($);if(G){ge(J(G,{replace:!0}),$).catch(On);return}a=$;const u=c.value;Kt&&ca(mi(u.fullPath,S.delta),Cs()),ke($,u).catch(h=>nt(h,12)?h:nt(h,2)?(ge(h.to,$).then(m=>{nt(m,20)&&!S.delta&&S.type===$n.pop&&r.go(-1,!1)}).catch(On),Promise.reject()):(S.delta&&r.go(-S.delta,!1),Z(h,$,u))).then(h=>{h=h||Ot($,u,!1),h&&(S.delta&&!nt(h,8)?r.go(-S.delta,!1):S.type===$n.pop&&nt(h,20)&&r.go(-1,!1)),ct($,u,h)}).catch(On)}))}let Qt=bn(),fe=bn(),te;function Z(_,F,S){ut(_);const $=fe.list();return $.length?$.forEach(G=>G(_,F,S)):console.error(_),Promise.reject(_)}function tt(){return te&&c.value!==ft?Promise.resolve():new Promise((_,F)=>{Qt.add([_,F])})}function ut(_){return te||(te=!_,yn(),Qt.list().forEach(([F,S])=>_?S(_):F()),Qt.reset()),_}function ze(_,F,S,$){const{scrollBehavior:G}=e;if(!Kt||!G)return Promise.resolve();const u=!S&&ua(mi(_.fullPath,0))||($||!S)&&history.state&&history.state.scroll||null;return ho().then(()=>G(_,F,u)).then(h=>h&&la(h)).catch(h=>Z(h,_,F))}const Pe=_=>r.go(_);let Lt;const Ut=new Set,Hn={currentRoute:c,listening:!0,addRoute:g,removeRoute:P,hasRoute:O,getRoutes:A,resolve:x,options:e,push:I,replace:W,go:Pe,back:()=>Pe(-1),forward:()=>Pe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:fe.add,isReady:tt,install(_){const F=this;_.component("RouterLink",za),_.component("RouterView",sl),_.config.globalProperties.$router=F,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>pe(c)}),Kt&&!Lt&&c.value===ft&&(Lt=!0,I(r.location).catch(G=>{}));const S={};for(const G in ft)Object.defineProperty(S,G,{get:()=>c.value[G],enumerable:!0});_.provide(Or,F),_.provide(nl,ro(S)),_.provide(Xs,c);const $=_.unmount;Ut.add(_),_.unmount=function(){Ut.delete(_),Ut.size<1&&(a=ft,Be&&Be(),Be=null,c.value=ft,Lt=!1,te=!1),$()}}};function ye(_){return _.reduce((F,S)=>F.then(()=>Ee(S)),Promise.resolve())}return Hn}function Ya(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;ofn(a,l))?s.push(l):n.push(l));const c=e.matched[o];c&&(t.matched.find(a=>fn(a,c))||r.push(c))}return[n,s,r]}const Rr=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ja={},Xa={class:"relative flex flex-col my-0 mx-auto w-full h-full min-[500px]:w-[500px]"};function ef(e,t){return xe(),$e("div",Xa,[Eo(e.$slots,"default")])}const tf=Rr(Ja,[["render",ef]]),nf=Pt({__name:"App",setup(e){return(t,n)=>(xe(),vr(tf,null,{default:pr(()=>[oe(pe(sl))]),_:1}))}}),sf="/assets/zzio-game-gi9PWWvs.svg",rf="/assets/title-1h217AQ3.svg",of="/assets/illustration-Ldk2dMTd.svg";function rl(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,Mi=lf,cf=(e,t)=>n=>{var s;if((t==null?void 0:t.variants)==null)return Mi(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:i}=t,o=Object.keys(r).map(a=>{const f=n==null?void 0:n[a],p=i==null?void 0:i[a];if(f===null)return null;const d=Ai(f)||Ai(p);return r[a][d]}),l=n&&Object.entries(n).reduce((a,f)=>{let[p,d]=f;return d===void 0||(a[p]=d),a},{}),c=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((a,f)=>{let{class:p,className:d,...g}=f;return Object.entries(g).every(P=>{let[A,O]=P;return Array.isArray(O)?O.includes({...i,...l}[A]):{...i,...l}[A]===O})?[...a,p,d]:a},[]);return Mi(e,o,c,n==null?void 0:n.class,n==null?void 0:n.className)},uf={},af={width:"6",height:"26",viewBox:"0 0 6 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ff=se("path",{d:"M4.2 1C0.733351 1.27513 1.4 5.35559 1.4 7.11111C1.4 10.4368 1 13.721 1 17.0159C1 18.9153 1 20.8148 1 22.7143C1 24.7699 2.14463 25 5 25",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1),hf=[ff];function df(e,t){return xe(),$e("svg",af,hf)}const pf=Rr(uf,[["render",df]]),mf={},gf={width:"5",height:"26",viewBox:"0 0 5 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},yf=se("path",{d:"M1 1C3.80793 1 3.65193 1.51739 3.80793 3.50851C4.24009 4.88769 3.80793 6.50014 3.80793 7.94838C3.80793 10.7494 3.49594 13.5023 3.49594 16.376C3.49594 18.2999 3.80793 20.0164 3.80793 22.0052C3.80793 22.7818 3.96994 23.7369 3.7906 24.4944C3.61128 25.2518 1.65823 24.9337 1 24.9337",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1),vf=[yf];function _f(e,t){return xe(),$e("svg",gf,vf)}const bf=Rr(mf,[["render",_f]]),Cf=["disabled"],wf=Pt({__name:"ZButton",props:{disabled:{type:Boolean,default:!1},color:{type:String,default:"primary"}},setup(e){const t=cf(["text-black text-body-b","flex justify-between w-full rounded-[8px] px-[12px] py-[11px] border-2"],{variants:{disabled:{true:"border-dark-green text-dark-green bg-green",false:"border-black"},color:{primary:"bg-[#FCBF31]",secondary:"bg-green"}}});return(n,s)=>(xe(),$e("button",{class:hs(pe(t)({disabled:e.disabled,color:e.color})),disabled:e.disabled},[oe(pf),Eo(n.$slots,"default"),oe(bf)],10,Cf))}}),xf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20style='fill:%20%23489B6D'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='inherit'%20d='M12%202C10.6868%202%209.38642%202.25866%208.17317%202.7612C6.95991%203.26375%205.85752%204.00035%204.92893%204.92893C3.05357%206.8043%202%209.34784%202%2012C2%2016.42%204.87%2020.17%208.84%2021.5C9.34%2021.58%209.5%2021.27%209.5%2021V19.31C6.73%2019.91%206.14%2017.97%206.14%2017.97C5.68%2016.81%205.03%2016.5%205.03%2016.5C4.12%2015.88%205.1%2015.9%205.1%2015.9C6.1%2015.97%206.63%2016.93%206.63%2016.93C7.5%2018.45%208.97%2018%209.54%2017.76C9.63%2017.11%209.89%2016.67%2010.17%2016.42C7.95%2016.17%205.62%2015.31%205.62%2011.5C5.62%2010.39%206%209.5%206.65%208.79C6.55%208.54%206.2%207.5%206.75%206.15C6.75%206.15%207.59%205.88%209.5%207.17C10.29%206.95%2011.15%206.84%2012%206.84C12.85%206.84%2013.71%206.95%2014.5%207.17C16.41%205.88%2017.25%206.15%2017.25%206.15C17.8%207.5%2017.45%208.54%2017.35%208.79C18%209.5%2018.38%2010.39%2018.38%2011.5C18.38%2015.32%2016.04%2016.16%2013.81%2016.41C14.17%2016.72%2014.5%2017.33%2014.5%2018.26V21C14.5%2021.27%2014.66%2021.59%2015.17%2021.5C19.14%2020.16%2022%2016.42%2022%2012C22%2010.6868%2021.7413%209.38642%2021.2388%208.17317C20.7362%206.95991%2019.9997%205.85752%2019.0711%204.92893C18.1425%204.00035%2017.0401%203.26375%2015.8268%202.7612C14.6136%202.25866%2013.3132%202%2012%202Z'/%3e%3c/svg%3e",Ef={class:"text-dark-green flex flex-col items-center pb-12 pt-4"},Pf={class:"flex items-center gap-1 text-caption-b",href:"https://github.com/zzzi-ori",target:"_blank"},Of=["src"],Rf=se("h3",null,"zzio-game",-1),Sf=se("span",{class:"text-caption-r"},"© IT’S YOUR PRIMETIME",-1),Af=se("span",{class:"text-caption-r"},"develop by zzio-games",-1),Mf=Pt({__name:"Footer",setup(e){return(t,n)=>(xe(),$e("div",Ef,[se("a",Pf,[se("img",{class:"text-dark-green",src:pe(xf),alt:"github"},null,8,Of),Rf]),Sf,Af]))}}),Ff="/assets/event-white-VQlzzjFH.svg",Tf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.008%206.72749C9.08764%206.72749%206.73202%209.08311%206.73202%2012.0035C6.73202%2014.9239%209.08764%2017.2795%2012.008%2017.2795C14.9285%2017.2795%2017.2841%2014.9239%2017.2841%2012.0035C17.2841%209.08311%2014.9285%206.72749%2012.008%206.72749ZM12.008%2015.4336C10.1208%2015.4336%208.57794%2013.8954%208.57794%2012.0035C8.57794%2010.1117%2010.1162%208.57341%2012.008%208.57341C13.8999%208.57341%2015.4381%2010.1117%2015.4381%2012.0035C15.4381%2013.8954%2013.8953%2015.4336%2012.008%2015.4336ZM18.7305%206.51168C18.7305%207.19586%2018.1795%207.74229%2017.4999%207.74229C16.8157%207.74229%2016.2693%207.19127%2016.2693%206.51168C16.2693%205.83209%2016.8203%205.28106%2017.4999%205.28106C18.1795%205.28106%2018.7305%205.83209%2018.7305%206.51168ZM22.2249%207.76066C22.1468%206.11219%2021.7703%204.65198%2020.5626%203.44892C19.3596%202.24586%2017.8994%201.86933%2016.2509%201.78668C14.5519%201.69025%209.45958%201.69025%207.7606%201.78668C6.11672%201.86474%204.65651%202.24127%203.44886%203.44433C2.24121%204.64739%201.86927%206.10759%201.78662%207.75606C1.69019%209.45504%201.69019%2014.5474%201.78662%2016.2464C1.86468%2017.8948%202.24121%2019.355%203.44886%2020.5581C4.65651%2021.7612%206.11213%2022.1377%207.7606%2022.2204C9.45958%2022.3168%2014.5519%2022.3168%2016.2509%2022.2204C17.8994%2022.1423%2019.3596%2021.7658%2020.5626%2020.5581C21.7657%2019.355%2022.1422%2017.8948%2022.2249%2016.2464C22.3213%2014.5474%2022.3213%209.45964%2022.2249%207.76066ZM20.03%2018.0693C19.6718%2018.9693%2018.9785%2019.6627%2018.0739%2020.0255C16.7193%2020.5627%2013.505%2020.4387%2012.008%2020.4387C10.5111%2020.4387%207.29223%2020.5581%205.94223%2020.0255C5.04223%2019.6673%204.34886%2018.9739%203.98611%2018.0693C3.44886%2016.7147%203.57284%2013.5005%203.57284%2012.0035C3.57284%2010.5066%203.45345%207.2877%203.98611%205.9377C4.34427%205.0377%205.03764%204.34433%205.94223%203.98157C7.29682%203.44433%2010.5111%203.56831%2012.008%203.56831C13.505%203.56831%2016.7239%203.44892%2018.0739%203.98157C18.9739%204.33974%2019.6672%205.03311%2020.03%205.9377C20.5672%207.29229%2020.4432%2010.5066%2020.4432%2012.0035C20.4432%2013.5005%2020.5672%2016.7193%2020.03%2018.0693Z'%20fill='white'/%3e%3c/svg%3e",il=new Date("2024-04-19T23:59:59+09:00"),Fi=()=>new Date{const i=setInterval(()=>{t.value=new Date},1e3);return()=>clearInterval(i)});const n=we(()=>il.getTime()-t.value.getTime()),s=we(()=>Math.ceil(n.value/(1e3*60*60*24))),r=we(()=>{const i=String(Math.floor(n.value/36e5)%24).padStart(2,"0"),o=String(Math.floor(n.value/(1e3*60))%60).padStart(2,"0"),l=String(Math.floor(n.value/1e3)%60).padStart(2,"0");return`${i}:${o}:${l}`});return(i,o)=>n.value>0?(xe(),$e("div",If,[se("img",{src:pe(Ff),alt:"event",class:"mr-2"},null,8,Df),$f,s.value>1?(xe(),$e("span",jf,"D-"+Ns(s.value),1)):(xe(),$e("span",Nf,Ns(r.value),1)),se("img",{src:pe(Tf),alt:"instagram",class:"absolute right-4"},null,8,Qf)])):Uc("",!0)}}),Uf="/assets/event-7o-96Rwf.svg",Hf={class:"text-dark-green mt-6 mb-2"},qf=["src"],Kf=se("h3",{class:"text-caption-b inline"},"운영 안내",-1),kf={class:"text-caption-r text-dark-green list-disc ml-4"},Bf=Pt({__name:"Notice",props:{closed:{type:Boolean,default:!1}},setup(e){const t=e,n=we(()=>t.closed?["현재 찌오 게임 이벤트는 종료 되었으며, 당첨자는 4월 26일 (금) 이후 찌오 인스타그램 (@zzzi_ori)에서 확인하실 수 있습니다.","찌오 게임은 언제든 자유롭게 플레이 가능하나, 실시간 랭킹은 확인하실 수 없습니다."]:["이벤트는 4월 19일 (금) 23시 59분까지 참여 가능하며, 종료 이후에도 찌오 게임을 언제든 플레이할 수 있습니다.","실시간 랭킹은 이벤트 종료와 동시에 확인이 불가합니다.","자세한 내용은 이벤트 페이지 또는 찌오 인스타그램 (@zzzi_ori)에서 확인하세요."]);return(s,r)=>(xe(),$e(Re,null,[se("div",Hf,[se("img",{src:pe(Uf),class:"inline mr-1",alt:"beta"},null,8,qf),Kf]),se("ul",kf,[(xe(!0),$e(Re,null,vc(n.value,i=>(xe(),$e("li",{key:i},Ns(i),1))),128))])],64))}}),zf="data:image/svg+xml,%3csvg%20width='49'%20height='49'%20viewBox='0%200%2049%2049'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_694_3918)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M24.5%2044C29.6717%2044%2034.6316%2041.9455%2038.2886%2038.2886C41.9455%2034.6316%2044%2029.6717%2044%2024.5C44%2019.3283%2041.9455%2014.3684%2038.2886%2010.7114C34.6316%207.05446%2029.6717%205%2024.5%205C19.3283%205%2014.3684%207.05446%2010.7114%2010.7114C7.05446%2014.3684%205%2019.3283%205%2024.5C5%2029.6717%207.05446%2034.6316%2010.7114%2038.2886C14.3684%2041.9455%2019.3283%2044%2024.5%2044ZM24.5%2048.5C30.8652%2048.5%2036.9697%2045.9714%2041.4706%2041.4706C45.9714%2036.9697%2048.5%2030.8652%2048.5%2024.5C48.5%2018.1348%2045.9714%2012.0303%2041.4706%207.52944C36.9697%203.02856%2030.8652%200.5%2024.5%200.5C18.1348%200.5%2012.0303%203.02856%207.52944%207.52944C3.02856%2012.0303%200.5%2018.1348%200.5%2024.5C0.5%2030.8652%203.02856%2036.9697%207.52944%2041.4706C12.0303%2045.9714%2018.1348%2048.5%2024.5%2048.5ZM27.5%2033.5C27.5%2034.2957%2027.1839%2035.0587%2026.6213%2035.6213C26.0587%2036.1839%2025.2956%2036.5%2024.5%2036.5C23.7044%2036.5%2022.9413%2036.1839%2022.3787%2035.6213C21.8161%2035.0587%2021.5%2034.2957%2021.5%2033.5C21.5%2032.7043%2021.8161%2031.9413%2022.3787%2031.3787C22.9413%2030.8161%2023.7044%2030.5%2024.5%2030.5C25.2956%2030.5%2026.0587%2030.8161%2026.6213%2031.3787C27.1839%2031.9413%2027.5%2032.7043%2027.5%2033.5ZM26.75%2014.75C26.75%2014.1533%2026.5129%2013.581%2026.091%2013.159C25.669%2012.7371%2025.0967%2012.5%2024.5%2012.5C23.9033%2012.5%2023.331%2012.7371%2022.909%2013.159C22.4871%2013.581%2022.25%2014.1533%2022.25%2014.75V25.25C22.25%2025.8467%2022.4871%2026.419%2022.909%2026.841C23.331%2027.2629%2023.9033%2027.5%2024.5%2027.5C25.0967%2027.5%2025.669%2027.2629%2026.091%2026.841C26.5129%2026.419%2026.75%2025.8467%2026.75%2025.25V14.75Z'%20fill='%23489B6D'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_694_3918'%3e%3crect%20width='48'%20height='48'%20fill='white'%20transform='translate(0.5%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Wf={href:"https://www.instagram.com/p/C5anjFMP-9n/?utm_source=ig_web_copy_link",target:"_blank"},Vf={class:"flex flex-col flex-1 justify-center items-center px-6"},Zf=["src"],Gf=["src"],Yf=["src"],Jf={class:"w-full flex flex-col items-center text-dark-green text-center"},Xf=["src"],eh=se("span",{class:"text-body-b mb-1 mt-4"},"잠시 게임을 점검중입니다",-1),th=se("span",{class:"text-caption-r"},[os(" 더 나은 찌오 게임을 위해 점검 중입니다."),se("br"),os(" 점검이 종료되면 다시 게임을 플레이 할 수 있습니다. ")],-1),nh=Pt({__name:"MaintenancePage",setup(e){const t=Ln(Fi());return mr(()=>{const n=setInterval(()=>{t.value=Fi()},1e3);return()=>clearInterval(n)}),(n,s)=>(xe(),$e(Re,null,[se("a",Wf,[oe(Lf,{class:"mt-3"})]),se("div",Vf,[se("img",{src:pe(sf),alt:"zzio game",class:"mt-6"},null,8,Zf),se("img",{src:pe(rf),alt:"황금 찌오를 찾아라 beta",class:"my-3"},null,8,Gf),se("img",{src:pe(of),alt:"찌오 이미지",class:"mb-6"},null,8,Yf),se("div",Jf,[se("img",{src:pe(zf),alt:"error"},null,8,Xf),eh,th]),oe(wf,{disabled:!0,class:"mt-6",color:"primary"},{default:pr(()=>[os(" 7:30 AM 점검 종료")]),_:1}),oe(Bf,{closed:!t.value},null,8,["closed"])]),oe(Mf)],64))}}),sh=[{path:"/",component:nh}],ol=Ga({history:da("/"),routes:sh});ol.beforeEach(e=>{if(e.fullPath!=="/")return{path:"/"}});const rh=Eu(),ws=bu(nf);ws.use(rh);ws.use(ol);ws.use(Zu);ws.mount("#app"); diff --git a/index.html b/index.html index a14e3ad..dd104d7 100644 --- a/index.html +++ b/index.html @@ -26,7 +26,7 @@ - +