1import{o as b,G as X,I as h,x as n,a2 as $,B as i,Q as m,M as v2,K as L2,_,y as W,C as c,v as a,aq as a2,F as x,t as k,z as w,R as V,a7 as F,J as j,O as K,E as M2,Y as H2,H as V2,T as J,a3 as I,a0 as N,aj as A2,r as D,aa as t2,a4 as U,b2 as y}from"./ANBeW5Oe.js";import{_ as w2}from"./D-VcU_eP.js";import{A as _2}from"./Bth1FJVz.js";import{E as S}from"./CUSyyCbF.js";import{c as B2,a as z2,u as k2,b as b2}from"./_bT307fk.js";import{s as E2,g as y2}from"./KyOxpBFU.js";import{A as Z2}from"./YK5Zm5Ju.js";import{A as C2}from"./C_RWQX7K.js";import{_ as x2}from"./BrH9qwUK.js";import{b as Q}from"./CmrFFJ3l.js";import"./BosuxZz1.js";import"./B0k9I5V8.js";import"./DTT6bfMp.js";var T=(e=>(e.SUCCESS="success",e.WARNING="warning",e.ERROR="error",e.INFO="info",e))(T||{});const D2=["innerHTML"],I2=b({__name:"Message",props:{icon:{},message:{},status:{}},setup(e){const t=e,l=X(()=>{switch(t.status){case T.ERROR:return"text-primary-500 bg-primary-50";case T.WARNING:return"text-yellow-600 bg-yellow-50";case T.INFO:return"text-blue-500 bg-blue-50";default:return"text-green-500 bg-green-50"}});return(p,s)=>(n(),h("div",{class:$(["message py-8 px-16 d-flex align-items-center gap-8",l.value])},[i("div",null,[m(v2,{name:p.icon},null,8,["name"])]),i("div",null,[i("span",{innerHTML:p.$renderStoryblokRichtext(p.message)},null,8,D2),L2(p.$slots,"default",{},void 0,!0)])],2))}}),S2=_(I2,[["__scopeId","data-v-ba5841bd"]]),F2="daa4f10f",T2=async e=>await window.crypto.subtle.importKey("raw",e.encode(F2),{name:"PBKDF2"},!1,["deriveKey"]),$2=async(e,t)=>{const l=e.encode("salt"),p=await window.crypto.subtle.deriveKey({name:"PBKDF2",salt:l,iterations:1e5,hash:"SHA-512"},t,{name:"AES-CBC",length:256},!1,["encrypt","decrypt"]),s=new Uint8Array(16);return{key:p,iv:s}},e2=async e=>{try{const t=new TextEncoder,l=await T2(t),{key:p,iv:s}=await $2(t,l),o=await window.crypto.subtle.encrypt({name:"AES-CBC",iv:s},p,t.encode(e)),d=new Uint8Array(o);let r="";for(const f of d)r+=f.toString(16).padStart(2,"0");return r}catch{return null}},P2={class:"bubble"},R2={class:"text-primary-500 text-center"},N2={class:"text d-none d-md-block mb-0"},O2={class:"text text-body-extra-small d-md-none mb-0"},G2=b({__name:"Bubble",setup(e){const{t}=W();return(l,p)=>(n(),h("section",null,[i("div",P2,[p[0]||(p[0]=i("svg",{width:"363",viewBox:"0 0 453 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[i("path",{d:"M12.2997 169.775L50.4617 180.093L403.589 171.871L445.484 199.767L438.235 150.431L452.155 113.831L448.098 55.9436L432.871 14.6704L386.486 1.45366L47.2784 0L11.9021 11.772L1.302 50.6283L-0.00497437 131.409L12.0464 169.784L12.2997 169.775Z",fill:"#FCEFF0"})],-1)),i("div",R2,[i("h6",N2,c(a(t)("pf2025.newYearWish")),1),i("p",O2,c(a(t)("pf2025.newYearWish")),1)])])]))}}),j2=_(G2,[["__scopeId","data-v-eb4ad238"]]),K2={class:"mask"},U2={class:"count-down d-flex justify-content-center align-items-center"},W2=b({__name:"CountDown",props:{countDown:{}},setup(e){return(t,l)=>(n(),h("div",K2,[i("div",U2,c(t.countDown),1)]))}}),q2=_(W2,[["__scopeId","data-v-6c27ebf8"]]),Y2="data:image/svg+xml,%3csvg%20width='169'%20height='194'%20viewBox='0%200%20169%20194'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M168.052%20145.45V48.4836L84.1029%200L0.153564%2048.4836V145.45L84.1029%20193.932L168.052%20145.45Z'%20fill='%23FFDCDC'/%3e%3cpath%20d='M152.201%20136.295V57.6377L84.1029%2018.3103L16.0059%2057.6377V136.295L84.1029%20175.623L152.201%20136.295Z'%20fill='white'/%3e%3cpath%20d='M84.1028%20184.133L8.6377%20140.55V53.3823L84.1028%209.79858L159.568%2053.3823V140.55L84.1028%20184.133ZM23.3739%20132.039L84.1028%20167.113L144.831%20132.039V61.8927L84.1028%2026.8193L23.3739%2061.8927V132.039Z'%20fill='%23CE1300'/%3e%3cpath%20d='M91.3146%20121.398C91.3146%20125.626%2088.7456%20128.112%2084.1881%20128.112C79.5472%20128.112%2076.8955%20125.626%2076.8955%20121.398C76.8955%20117.171%2079.5472%20114.767%2084.1881%20114.767C88.7456%20114.767%2091.3146%20117.171%2091.3146%20121.398ZM89.4922%2063.5396C90.3214%2063.5396%2090.7351%2063.9544%2090.7351%2064.8663V92.8837C90.7351%2093.4645%2090.7351%2093.7131%2090.6526%2094.459L88.167%20107.639C87.9185%20108.551%2087.7523%20108.966%2086.9241%20108.966H81.3716C80.5434%20108.966%2080.2947%20108.551%2080.1287%20107.639L77.6431%2094.459C77.5606%2093.7131%2077.4771%2093.4645%2077.4771%2092.8837V64.8663C77.4771%2063.9544%2077.8919%2063.5396%2078.72%2063.5396H89.4922Z'%20fill='black'/%3e%3c/svg%3e",J2={class:"status bg-primary-50 cut-corners-medium-both"},Q2={class:"d-flex flex-nowrap align-items-center gap-16 px-32 py-16"},X2={class:"text-button-small text-primary-500 mb-0"},t0=b({__name:"Error",props:{invalidData:{type:Boolean}},setup(e){const{t}=W();return(l,p)=>(n(),h("section",null,[i("div",J2,[i("div",Q2,[m(w2,{class:"error-img","src-static":a(Y2)},null,8,["src-static"]),i("p",X2,c(l.invalidData?a(t)("pf2025.error2"):a(t)("pf2025.error1")),1)])])]))}}),e0=_(t0,[["__scopeId","data-v-978e8935"]]),a0={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 356.2 135.5"};function l0(e,t){return n(),h("svg",a0,t[0]||(t[0]=[a2('<path fill="#821812" d="m145.1 71.2 9.3 3-6.2 14.4-7.4-1.1z"></path><path fill="#B70E0C" d="m149.5 96.4-.1-10.4-7.6-2.5-6.3 8.3-2 6.8 3.8 10.7v.1-.1l9.3-6.2z"></path><path fill="#821812" d="m98.3 54 9.1 2.9-5.9 14.5-7.4-1.1z"></path><path fill="#B70E0C" d="m102.7 79.2-.1-10.5-7.6-2.4-6.4 8.2-2 6.7 3.8 10.7 9.5-6.1z"></path><path fill="#821812" d="m55.1 29.7 9.2 3.3-6.7 14.4-7.3-1.4z"></path><path fill="#B70E0C" d="m58.5 55.3.4-10.5-7.3-2.8-7 7.9-2.1 6.8L46 67.4l-.1.3.1-.3-.1.3.1-.3 9.6-5.7z"></path><path fill="#821812" d="m18 2.2 8.2 5-9.4 12.6-7-2.9z"></path><path fill="#B70E0C" d="m16.1 27.7 2.4-10.2-6.6-4.3-8.4 6.4L0 25.8l1.1 11.3 10.7-3.6z"></path><path fill="#821812" d="m192.3 85.2 9.1 2.9-6 14.5-7.4-1z"></path><path fill="#B70E0C" d="m196.7 110.4-.1-10.5-7.6-2.4-6.2 8.2-2 6.9 3.8 10.8 9.3-6.3z"></path><path fill="#821812" d="m239.8 94.5 9.4 2-4.9 15-7.5-.5z"></path><path fill="#B70E0C" d="m246 119.5-.8-10.5-7.7-2-5.7 8.9-1.3 6.9 4.5 10.4 8.9-7z"></path><path fill="#821812" d="m287.6 96.5 9.8.9-2.9 15.5-7.4.8z"></path><path fill="#B70E0C" d="m297.2 120.3-2.3-10.1-7.7-.9-4.5 9.3-.4 7 5.9 9.8 7.9-8.1z"></path><path fill="#821812" d="m339.6 95.8 9.7.5-2.2 15.7-7.5.7z"></path><path fill="#B70E0C" d="m350.2 119.3-2.8-10.2-7.9-.5-4 9.6-.3 7.1 6.4 9.3 7.7-8.4z"></path><path fill="#821812" d="M60.3 38c57.8 35.6 126 58.2 197.4 65.7 32.5 3.3 66 3.3 98.5.3v-1.1c-32.6 3.1-65.8 3.1-98.3-.2-73.4
1-7.5-143.4-31.2-202.1-68.6C40.6 24.5 23.5 11.4 9.6 0h-1C22.4 11.3 40 25.4 55.1 35c1.7.9 3.4 2 5.2 3"></path>',17)]))}const i0={render:l0},s0={xmlns:"http://www.w3.org/2000/svg",width:"277",height:"337",fill:"none",viewBox:"0 0 277 337"};function n0(e,t){return n(),h("svg",s0,t[0]||(t[0]=[a2('<path fill="#FAD3A6" d="M26.22 292.951h4.33v30.595H0v-30.595z"></path><path fill="#D98659" d="M35.634 287.865H5.083L0 292.951h30.55z"></path><path fill="#E8A773" d="M35.633 287.865v30.595l-5.083 5.086v-30.595z"></path><path fill="#BA1B02" d="M18.395 292.978h-5.97v13.293h5.97z"></path><path fill="#A71802" d="M18.368 292.978h-5.943l4.383-5.113h5.97z"></path><path fill="#FAD3A6" d="M30.524 259.881H12.45v31.106h18.073z"></path><path fill="#D98659" d="M33.509 256.894H15.437l-2.986 2.987h18.073z"></path><path fill="#E8A773" d="M33.509 256.894V288l-2.985 3.014v-31.106z"></path><path fill="#fff" d="M23.316 259.907h-3.523v8.127h3.523z"></path><path fill="#EAEAEA" d="M23.316 259.908h-3.523l2.582-3.014h3.55z"></path><path fill="#fff" d="M17.185 287.677h-2.313v.215h2.313zm2.366 0h-2.313v.215h2.313z"></path><path fill="#fff" d="m19.632 284.986-1.318-1.319-1.13 1.158-1.156-1.158-1.29 1.319.134.161 1.049-1.049v3.686h.215v-3.686l1.049 1.049 1.021-1.049v3.686h.216v-3.686l1.049 1.049z"></path><path fill="#FFBDCA" d="M100.85 241.933H66.211v25.294h34.639z"></path><path fill="#FAD3A6" d="M118.976 228.075h14.226v100.18H33.079v-100.18z"></path><path fill="#D98659" d="M149.876 211.419H49.726l-16.647 16.656h100.123z"></path><path fill="#E8A773" d="M149.876 211.419v100.179l-16.674 16.657v-100.18z"></path><path fill="#BA1B02" d="M53.867 317.303H43.11v1.049h10.757zm11.107 0H54.217v1.049h10.757z"></path><path fill="#BA1B02" d="m65.27 304.71-6.078-6.081-5.352 5.327-5.352-5.327-6.05 6.081.726.726 4.813-4.816v17.194h1.05V300.62l4.813 4.816 4.814-4.816v17.194h1.049V300.62l4.814 4.816z"></path><path fill="#fff" d="M76.296 228.156H56.745v43.591h19.551z"></path><path fill="#EAEAEA" d="M76.27 228.156H56.744l14.414-16.737H90.71z"></path><path fill="#000" d="m123.278 274.949-29.26.485.458-38.264 28.802.43z" opacity=".05"></path><path fill="#fff" d="M123.763 237.17H94.477v37.779h29.286z"></path><path fill="#BA1B02" d="M117.926 265.451H99.343v1.237h18.583zm-5.432 2.637h-13.15v1.238h13.15zm5.836-26.532H99.343v18.997h18.987z"></path><path fill="#fff" fill-rule="evenodd" d="m113.408 247.987-1.506.754-4.41-1.965 1.371-.538zm-4.249 2.126-.296.134-.296-.134-4.249-2.126 2.017-.78 4.357 2.126z" clip-rule="evenodd"></path><path fill="#fff" fill-rule="evenodd" d="m103.673 253.503-.134-.269-.7-5.731.915.349.591 5.113 4.384 3.929-.161 1.022zm10.273-5.624.915-.349-.7 5.731-.134.269-4.895 4.413-.161-1.022 4.357-3.929zm-4.921-2.986 5.594 2.179-.78.619-4.949-1.937-4.975 1.937-.78-.619 5.594-2.179z" clip-rule="evenodd"></path><path fill="#fff" fill-rule="evenodd" d="m112.01 248.929 1.398-.861-.537 4.628-3.981 3.579.216-5.543 1.748-1.077-.108 2.718 1.076-.753zm-3.416 1.776.216 5.543-3.981-3.579-.564-4.628z" clip-rule="evenodd"></path><path fill="#F2C897" d="M76.135 176.169H48.408v42.434h27.727z"></path><path fill="#F2C897" d="M62.285 221.213c7.649 0 13.85-1.168 13.85-2.61s-6.201-2.61-13.85-2.61c-7.65 0-13.85 1.169-13.85 2.61 0 1.442 6.2 2.61 13.85 2.61"></path><path fill="#D98659" d="M62.285 178.725c7.649 0 13.85-1.168 13.85-2.61s-6.201-2.61-13.85-2.61c-7.65 0-13.85 1.168-13.85 2.61s6.2 2.61 13.85 2.61"></path><path fill="#BA1B02" d="M62.285 178.752a82 82 0 0 1-5.325-.188v12.082h5.378v-11.894z"></path><path fill="#A71802" d="m62.312 178.752 4.41-5.086a77 77 0 0 0-4.437-.134h-.834l-4.491 5.032h.053c1.614.134 3.389.188 5.272.188z"></path><path fill="#FFBDCA" d="M117.819 121.222H96.224v15.768h21.595z"></path><path fill="#FAD3A6" d="M129.114 112.584h8.848v110.728H75.57V112.584z"></path><path fill="#D98659" d="M148.343 102.198H85.951L75.57 112.584h62.392z"></path><path fill="#E8A773" d="M148.343 102.198v110.728l-10.381 10.386V112.584z"></path><path fill="#fff" d="M92.916 119.042h-11.35v10.064h11.35z"></path><path fill="#BA1B02" d="M90.63 122.406h-7.18v1.48h7.18zm-2.098 2.395H83.45v1.48h5.082zm24.339-12.19h-12.183v27.178h12.183z"></path><path fill="#A71802" d="M112.844 112.611h-12.156l8.983-10.413h12.182z"></path><path fill="#FAD3A6" d="M227.732 284.206V337H119.675v-52.794z"></path><path fill="#D98659" d="M241.259 270.644H133.202l-13.527 13.562h108.057z"></path><path fill="#E8A773" d="M241.259 270.644v52.821L227.732 337v-52.794z"></path><path fill="#BA1B02" d="M175.774 284.26h-15.867v30.083h15.867z"></path><path fill="#A71802" d="M175.774 284.26h-15.867l11.725-13.616h15.867z"></path>
1<path fill="#FAD3A6" d="M207.911 199.364h11.242v79.137H140.06v-79.137z"></path><path fill="#D98659" d="M232.303 186.206h-79.092l-13.151 13.158h79.093z"></path><path fill="#E8A773" d="M232.303 186.206v79.137l-13.15 13.158v-79.137z"></path><path fill="#fff" d="M187.634 199.445h-15.437v34.442h15.437z"></path><path fill="#EAEAEA" d="M187.634 199.444h-15.437l11.376-13.238h15.437z"></path><path fill="#000" d="m162.435 226.326-14.737.242.215-19.266 14.522.215z" opacity=".05"></path><path fill="#fff" d="M162.678 207.302h-14.764v19.024h14.764z"></path><path fill="#BA1B02" d="M159.746 221.536h-9.359v.62h9.359zm-2.743 1.346h-6.616v.619h6.616zm2.958-13.374h-9.574v9.58h9.574z"></path><path fill="#fff" fill-rule="evenodd" d="m157.46 212.765-.753.377-2.233-.996.7-.269zm-2.152 1.049-.161.081-.162-.081-2.124-1.076 1.022-.377 2.205 1.077z" clip-rule="evenodd"></path><path fill="#fff" fill-rule="evenodd" d="m152.538 215.536-.08-.135-.35-2.879.457.161.296 2.584 2.205 1.991-.081.511zm5.191-2.853.457-.161-.35 2.879-.081.135-2.474 2.233-.08-.511 2.205-1.965zm-2.475-1.48 2.824 1.104-.403.323-2.501-.969-2.501.969-.404-.323 2.824-1.104z" clip-rule="evenodd"></path><path fill="#fff" fill-rule="evenodd" d="m156.761 213.222.699-.431-.269 2.341-2.017 1.803.107-2.799.888-.538-.054 1.373.538-.377zm-1.722.914.108 2.799-1.99-1.803-.296-2.341z" clip-rule="evenodd"></path><path fill="#FAD3A6" d="M271.89 270.644h-30.739v52.902h30.739z"></path><path fill="#D98659" d="M277 265.531h-30.739l-5.11 5.113h30.739z"></path><path fill="#E8A773" d="M277 265.558v52.875l-5.11 5.14v-52.902z"></path><path fill="#BA1B02" d="M259.627 270.671h-5.997v13.831h5.997z"></path><path fill="#A71802" d="M259.627 270.671h-5.997l4.437-5.14h5.997z"></path><path fill="#BA1B02" d="M249.22 317.922h-3.927v.377h3.927zm4.033 0h-3.926v.377h3.926z"></path><path fill="#BA1B02" d="m253.361 313.321-2.232-2.234-1.937 1.965-1.936-1.965-2.232 2.234.269.269 1.775-1.776v6.296h.376v-6.296l1.748 1.776 1.748-1.776v6.296h.404v-6.296l1.748 1.776z"></path><path fill="#F2C897" d="M250.564 241.718h-23.532v28.953h23.532z"></path><path fill="#D98659" d="M254.464 237.816h-23.532l-3.9 3.902h23.505z"></path><path fill="#E8A773" d="M254.464 237.816v28.953l-3.927 3.902v-28.926z"></path><path fill="#fff" d="M241.178 241.744h-4.598v10.575h4.598z"></path><path fill="#EAEAEA" d="M241.178 241.744h-4.598l3.388-3.928h4.599z"></path><path fill="#fff" d="M238.086 260.042h-8.633v7.669h8.633z"></path><path fill="#BA1B02" d="M236.391 262.787h-5.486v.808h5.486zm-1.613 1.265h-3.873v.808h3.873z"></path><path fill="#FAD3A6" d="M210.143 162.338v32.128h-65.7v-32.128z"></path><path fill="#D98659" d="M218.373 154.104h-65.7l-8.23 8.234h65.7z"></path><path fill="#E8A773" d="M218.373 154.104v32.129l-8.229 8.234v-32.129z"></path><path fill="#BA1B02" d="M178.544 162.365h-9.655v18.297h9.655z"></path><path fill="#A71802" d="M178.544 162.365h-9.655l7.127-8.261h9.655z"></path><path fill="#000" d="m206.782 177.38-9.359.134.161-12.216 9.198.134z" opacity=".05"></path><path fill="#fff" d="M206.971 165.298h-9.386v12.082h9.386z"></path><path fill="#BA1B02" d="M205.087 171.164h-5.943v.323h5.943zm-1.748.834h-4.195v.323h4.195zm2.179-5.301h-6.374v3.229h6.374zm-54.512 24.244h-3.443v.324h3.443zm3.549 0h-3.442v.324h3.442z"></path><path fill="#BA1B02" d="m154.663 186.905-1.963-1.937-1.695 1.722-1.721-1.722-1.936 1.937.242.242 1.533-1.533v5.516h.323v-5.516l1.559 1.533 1.533-1.533v5.516h.35v-5.516l1.533 1.533z"></path><path fill="#F2C897" d="M183.277 102.09h-34.934v56.292h34.934z"></path><path fill="#F2C897" d="M165.823 161.692c9.655 0 17.481-1.482 17.481-3.31s-7.826-3.309-17.481-3.309c-9.654 0-17.48 1.481-17.48 3.309s7.826 3.31 17.48 3.31"></path><path fill="#D98659" d="M165.823 105.346c9.655 0 17.481-1.482 17.481-3.31s-7.826-3.31-17.481-3.31c-9.654 0-17.48 1.482-17.48 3.31s7.826 3.31 17.48 3.31"></path><path fill="#fff" d="M165.823 105.319a88 88 0 0 1-6.723-.242v15.23h6.777v-14.961c-.027-.027-.054-.027-.054-.027"></path><path fill="#EAEAEA" d="M165.823 98.727q-.04 0 0 0h-1.048l-5.648 6.323h.081c.511.027 1.022.081 1.559.108l1.641.08h.027c.538.027 1.102.027 1.667.054h.027c.565 0 1.13.027 1.694.027h.054l6.293-6.377a94 94 0 0 0-6.347-.215"></path><path fill="#FFBDCA" d="M198.337 138.605h-7.691v5.624h7.691z"></path><path fill="#FAD3A6" d="M202.371 135.537h3.174v22.28h-22.268v-22.28z"></path><path fill="#D98659" d="M209.256 131.824h-22.268l-3.711 3.713h22.268z"></path><path fill="#E8A773" d="M209.256 131.824v22.28l-3.711 3.713v-22.28z"></path><path fill="#BA1B02" d="M187.903 155.369h-2.393v.242h2.393zm2.447 0h-2.393v.242h2.393z"></path><path fill="#BA1B02" d="m190.431 152.57-1.345-1.345-1.21 1.184-1.183-1.184-1.345 1.345.161.162 1.076-1.077v3.848h.242v-3.848l1.049 1.077 1.076-1.077v3.848h.242v-3.848l1.075 1.077z"></path><path fill="#000" d="m203.286 145.951-6.508.107.107-8.503 6.401.081z" opacity=".05"></path><path fill="#fff" d="M203.394 137.555h-6.508v8.396h6.508z"></path><path fill="#BA1B02" d="M202.076 141.619h-4.115v.242h4.115zm-1.184.591h-2.931v.243h2.931zm1.479-3.686h-4.41v2.26h4.41zm-9.493-2.987h-4.357v9.687h4.357z"></path><path fill="#A71802" d="M192.878 135.537h-4.357l3.227-3.713h4.33z"></path><path fill="#E8A773" d="M169.427 49h-50.263l5.459-9.606h50.263z"></path><path fill="#F9D2A5" d="M153.937 57.369h7.126v50.291H110.8V57.369z"></path><path fill="#E8A773" d="M169.427 49h-50.263l-8.364 8.368h50.263z"></path><path fill="#D88559" d="M169.427 49h-50.263v8.368h41.899z"></path><path fill="#E8A773" d="M108.353 42.488 119.164 49l-8.364 8.37-10.811-6.512zM169.427 49v50.292l-8.364 8.368V57.369z"></path><path fill="#000" d="m155.792 81.29-14.657.242.215-19.185 14.442.215z" opacity=".05"></path><path fill="#fff" d="M156.035 62.347h-14.684V81.29h14.684z"></path><path fill="#BA1B02" d="M153.103 76.527h-9.305v.62h9.305zm-2.717 1.319h-6.588v.62h6.588zm2.932-13.32h-9.52v9.526h9.52z"></path><path fill="#fff" d="m122.902 95.148 1.613 1.614.431-.43-2.367-2.368-1.909 1.91-1.91-1.91-2.366 2.368.43.43 1.613-1.614v5.866h-1.694v.619h7.88v-.619h-1.721zm-2.313 5.866h-1.506v-5.866l1.613 1.614 1.614-1.614v5.866z"></path><path fill="#000" d="m169.427 49-.054 8.368-8.31 13.32v-13.32z" opacity=".05"></path><path fill="#E8A773" d="m169.427 49 10.273 8.368-8.364 8.369-10.273-8.368z"></path><path fill="#fff" d="M132.476 57.396h-9.816v21.876h9.816z"></path><path fill="#020304" d="M161.063 70.688 110.8 81.398v-24.03h50.263z" opacity=".05"></path><path fill="#E8A773" d="M156.169 70.688h-50.291l4.922-13.32h50.263z"></path><path fill="#E8A773" d="M156.169 70.688h-50.291l4.922-13.32h50.263z"></path><path fill="#fff" fill-rule="evenodd" d="m150.844 67.756-.753.377-2.205-.996.699-.27zm-2.125 1.076-.161.081-.161-.08-2.125-1.05 1.022-.377 2.178 1.076z" clip-rule="evenodd"></path><path fill="#fff" fill-rule="evenodd" d="m145.949 70.527-.081-.135-.349-2.879.457.161.296 2.557 2.205 1.964-.081.511zm5.164-2.826.457-.161-.35 2.88-.08.134-2.448 2.206-.08-.511 2.178-1.964zm-2.475-1.48 2.797 1.077-.403.323-2.501-.969-2.501.969-.404-.323 2.797-1.077z" clip-rule="evenodd"></path><path fill="#fff" fill-rule="evenodd" d="m150.145 68.24.699-.43-.269 2.313-1.99 1.803.107-2.798.888-.539-.054 1.373.538-.377zm-1.722.888.108 2.798-1.99-1.803-.296-2.314z" clip-rule="evenodd"></path><path fill="#E8A773" d="M156.169 70.688h-50.291l4.922-13.32h50.263z"></path><path fill="#F3C05C" d="m139.656 0 9.601 19.4 21.515 3.176L155.227 37.7l3.765 21.5-19.336-10.091"></path><path fill="#FED061" d="m139.656 49.108-19.202 10.09 3.658-21.5-15.544-15.122 21.487-3.175L139.656 0"></path><path fill="#E8A773" d="M156.169 70.688h-50.291l4.922-13.32h50.263z"></path><path fill="#821812" d="m119.729 188.251 4.679-.431v7.481l-3.442.915z"></path><path fill="#B70E0C" d="m126.479 198.476-2.044-4.574-3.792.376-1.183 4.79.43 3.364 3.711 3.982v.054-.054l2.932-4.494z"></path><path fill="#821812" d="m95.928 189.569 4.545-.43.135 7.507-3.443.915z"></path><path fill="#B70E0C" d="m102.678 199.821-2.043-4.601-3.792.377-1.264 4.843.403 3.31 3.711 3.982 2.959
1-4.466z"></path><path fill="#821812" d="m72.397 187.094 4.625-.242-.188 7.561-3.47.78z"></path><path fill="#B70E0C" d="m78.69 197.696-1.83-4.682-3.71.134-1.533 4.817.376 3.363 3.577 4.064-.027.134.027-.134-.027.134.027-.134 3.12-4.333z"></path><path fill="#821812" d="m50.855 182.062 4.572.672-1.748 7.293-3.63.08z"></path><path fill="#B70E0C" d="m54.89 193.633-.888-4.925-3.712-.646-2.474 4.413-.376 3.391 2.635 4.736 4.007-3.579z"></path><path fill="#821812" d="m143.126 185.452 4.545-.457.134 7.507-3.442.969z"></path><path fill="#B70E0C" d="m149.876 195.677-2.044-4.574-3.792.35-1.183 4.816.43 3.364 3.711 4.036 2.932-4.547z"></path><path fill="#821812" d="m165.743 180.501 4.545-.888.672 7.535-3.361 1.237z"></path><path fill="#B70E0C" d="m173.219 190.296-2.366-4.467-3.765.565-.834 4.978.753 3.283 3.926 3.713 2.609-4.789z"></path><path fill="#821812" d="m187.096 172.294 4.518-1.48 1.614 7.346-3.12 1.749z"></path><path fill="#B70E0C" d="m195.837 180.932-2.905-3.983-3.55 1.077-.215 4.951 1.129 3.175 4.465 3.148 1.882-5.059z"></path><path fill="#444" d="m209.794 162.15 4.33-1.642 2.017 7.292-3.147 1.749z"></path><path fill="#B70E0C" d="m218.884 170.411-3.173-3.956-3.55 1.265.08 4.978 1.264 3.175 4.545 2.879 1.7
175-5.139z"></path><path fill="#821812" d="m146.461 289.022 4.625.539-1.56 7.534-3.657.161z"></path><path fill="#B70E0C" d="m150.709 300.782-.995-5.086-3.711-.538-2.393 4.493-.35 3.525 2.797 4.817 4.007-3.821z"></path><path fill="#821812" d="m122.445 284.771 4.652.673-1.694 7.426-3.604.216z"></path><path fill="#B70E0C" d="m126.667 296.53-.941-4.951-3.712-.673-2.393 4.628-.35 3.471 2.663 4.736 4.141-3.794z"></path><path fill="#821812" d="m99.612 276.968 4.76.726-1.99 7.481-3.657-.054z"></path><path fill="#B70E0C" d="m103.458 288.915-.753-5.032-3.765-.807-2.528 4.44-.484 3.417 2.474 4.978h.135l4.061-3.66z"></path><path fill="#821812" d="m79.335 266.931 4.437 1.722-3.523 6.835-3.523-.7z"></path><path fill="#B70E0C" d="m80.626 279.335.242-5.004-3.523-1.588-3.389 3.929-1.13 3.202 1.48 5.354 4.868-2.744z"></path><path fill="#821812" d="m58.358 252.75 4.33 2.018-3.98 6.673-3.523-1.103z"></path><path fill="#B70E0C" d="m58.654 265.289.753-5.085-3.388-1.776-3.712 3.552-1.452 3.202 1.05 5.354 5.001-2.233z"></path><path fill="#821812" d="m39.264 237.036 3.577 3.067-5.406 5.409-3.2-1.83z"></path><path fill="#B70E0C" d="m36.467 249.225 1.91-4.709-2.932-2.449-4.356 2.449-2.152 2.691-.242 5.57 5.325-1.05z"></path><path fill="#821812" d="m170.288 291.579 4.76.673-1.641 7.426-3.603.189z"></path><path fill="#B70E0C" d="m174.725 303.338-1.049-4.978-3.765-.538-2.366 4.52-.35 3.471 2.797 4.79 3.953-3.794z"></path><path fill="#821812" d="m193.954 291.956 4.706.242-1.076 7.561-3.549.457z"></path><path fill="#B70E0C" d="m199.144 303.311-1.371-4.844-3.846-.376-1.963 4.762-.108 3.418 3.174 4.628 3.711-4.117z"></path><path fill="#821812" d="m217.216 288.753 4.653-.457-.027 7.696-3.55.968z"></path><path fill="#B70E0C" d="m223.859 299.355-1.99-4.789-3.846.269-1.371 4.951.403 3.417 3.792 4.198 3.093-4.628z"></path><path fill="#821812" d="m241.985 283.883 4.653-.619.349 7.696-3.469 1.076z"></path><path fill="#B70E0C" d="m249.139 294.189-2.125-4.655-3.846.43-1.183 5.005.592 3.364 3.872 4.009 2.878-4.736z"></path><path fill="#821812" d="m266.861 276.403 4.653-.861.726 7.561-3.362 1.264z"></path><path fill="#B70E0C" d="m274.634 286.305-2.502-4.494-3.845.565-.753 5.14.645 3.363 4.115 3.633 2.662-4.79z"></path><path fill="#821812" d="M76.215 189.784c32.138 4.656 66.346 1.642 99.102-8.637a243 243 0 0 0 43.029-18.432v-.538a242.3 242.3 0 0 1-43.137 18.486c-33.67 10.628-68.846 13.507-101.737 8.26-8.471-1.345-16.835-3.256-25.064-5.623v.511a208 208 0 0 0 24.983 5.597c.915.107 1.883.242 2.824.376m106.282 105.589a238 238 0 0 0 21.004-.7c25.226-1.937 50.075-7.83 73.472-17.302v-.484a246.8 246.8 0 0 1-73.526 17.356c-35.983 2.691-71.67-2.664-103.189-15.419-24.957-10.198-47.87-25.213-67.206-43.887v.672c19.31 18.594 42.141 33.501 67.018 43.646 25.494 10.333 53.625 15.795 82.427 16.118"></path>',153)]))}const o0={render:n0},p0={class:"modal-mask justify-content-center align-items-center"},d0={class:"modal-container position-relative"},c0={key:0,class:"d-flex justify-content-between align-items-center flex-column flex-sm-row"},h0={class:"left-side"},r0={class:"mb-16 mb-md-48"},f0={class:"d-none d-sm-block text-primary-500"},m0={class:"d-sm-none w-50 mb-8 text-primary-500"},g0={class:"text-grey-700"},u0={class:"mb-md-8"},v0={class:"text-body-small-grey text-link"},L0={class:"d-none d-md-flex justify-content-end"},M0={key:1,class:"d-flex justify-content-between align-items-center flex-column flex-sm-row"},H0={class:"d-none d-sm-block text-primary-500"},V0={class:"d-sm-none w-50 mb-24 text-primary-500"},A0={class:"mb-32"},w0={class:"title text-body-extra-small-grey mb-0"},_0={class:"text-body-extra-small-grey mb-0"},B0=b({__name:"Intro",setup(e,{emit:t}){const{t:l}=W(),p=t,s=x(1),o=x([{title:l("pf2025.step1.title"),description:l("pf2025.step1.description")},{title:l("pf2025.step2.title"),description:l("pf2025.step2.description")},{title:l("pf2025.step3.title"),description:l("pf2025.step3.description")}]),d=()=>{p(S.TOGGLE_INTRO)},r=()=>{p(S.START_TIMER)};return(f,u)=>(n(),h("div",p0,[i("div",d0,[m(a(i0),{class:"lights position-absolute top-0 end-0"}),s.value===1?(n(),h("div",c0,[i("div",h0,[i("div",r0,[i("h4",f0,c(a(l)("pf2025.nameOfGame")),1),i("h6",m0,c(a(l)("pf2025.nameOfGame")),1),i("p",g0,c(a(l)("pf2025.description")),1)]),i("div",u0,[m(F,{small:"",class:"me-24 mb-16",onClick:u[0]||(u[0]=v=>{d(),r()})},{default:w(()=>
1[V(c(a(l)("pf2025.wantToPlay")),1)]),_:1}),m(F,{class:"mb-16",small:"",outline:"",link:f.$pages.pf2025PlayerList},{default:w(()=>[V(c(a(l)("pf2025.orderOfPlayers")),1)]),_:1},8,["link"])]),i("button",{class:"guide-button mb-16 mb-md-0",onClick:u[1]||(u[1]=v=>s.value=2)},[i("span",v0,c(a(l)("pf2025.intructions")),1)])]),i("div",L0,[m(a(o0),{class:"image"})])])):k("",!0),s.value===2?(n(),h("div",M0,[i("div",null,[i("h4",H0,c(a(l)("pf2025.howToPlay")),1),i("h6",V0,c(a(l)("pf2025.howToPlay")),1),i("div",A0,[(n(!0),h(j,null,K(o.value,(v,A)=>(n(),h("div",{key:A,class:"d-flex gap-24 mb-24"},[m(_2,{number:`0${A+1}`,small:""},null,8,["number"]),i("div",null,[i("p",w0,c(v.title),1),i("p",_0,c(v.description),1)])]))),128))]),i("div",null,[m(F,{small:"",class:"me-24 mb-16",onClick:u[2]||(u[2]=v=>{d(),r()})},{default:w(()=>[V(c(a(l)("pf2025.letsPlay")),1)]),_:1}),m(F,{class:"mb-16",small:"",outline:"",link:f.$pages.pf2025PlayerList},{default:w(()=>[V(c(a(l)("pf2025.orderOfPlayers")),1)]),_:1},8,["link"])])])])):k("",!0)])]))}}),z0=_(B0,[["__scopeId","data-v-c64182e7"]]),l2="data:image/svg+xml,%3csvg%20width='215'%20height='118'%20viewBox='0%200%20215%20118'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M190.505%2024.5747V117.646H20.3876H0V76.3496V29.8376V24.5747H190.505Z'%20fill='%23FAD3A6'/%3e%3cpath%20d='M214.354%200.726074H23.8487L0%2024.5748H190.505L214.354%200.726074Z'%20fill='%23D98659'/%3e%3cpath%20d='M214.354%200.726074V93.7976L190.505%20117.646V24.5748L214.354%200.726074Z'%20fill='%23E8A773'/%3e%3cpath%20d='M98.9033%2024.6696H70.9297V77.6772H98.9033V24.6696Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M98.9033%2024.6696H70.9297L91.6017%200.726074H119.575L98.9033%2024.6696Z'%20fill='%23A71802'/%3e%3c/svg%3e",i2="data:image/svg+xml,%3csvg%20width='64'%20height='103'%20viewBox='0%200%2064%20103'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M54.2545%209.09509H0.0615234V102.309H54.2545V9.09509Z'%20fill='%23FAD3A6'/%3e%3cpath%20d='M63.263%200.0866699H9.06998L0.0615234%209.09514H54.2545L63.263%200.0866699Z'%20fill='%23D98659'/%3e%3cpath%20d='M63.2629%200.0866699V93.3005L54.2544%20102.309V9.09513L63.2629%200.0866699Z'%20fill='%23E8A773'/%3e%3cpath%20d='M32.6341%209.14258H22.061V33.5128H32.6341V9.14258Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M32.6341%209.14258H22.061L29.8842%200.0866699H40.4573L32.6341%209.14258Z'%20fill='%23A71802'/%3e%3cpath%20d='M14.2853%2092.3522H7.36304V93.016H14.2853V92.3522Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M21.3974%2092.3522H14.4751V93.016H21.3974V92.3522Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M21.5869%2084.2446L17.6516%2080.3567L14.2379%2083.7704L10.8242%2080.3567L6.88892%2084.2446L7.36304%2084.7187L10.4923%2081.6368V92.6841H11.1561V81.6368L14.2379%2084.7187L17.3197%2081.6368V92.6841H18.0309V81.6368L21.1128%2084.7187L21.5869%2084.2446Z'%20fill='%23BA1B02'/%3e%3c/svg%3e",s2="data:image/svg+xml,%3csvg%20width='164'%20height='164'%20viewBox='0%200%20164%20164'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M120.539%2023.8622H140.358V163.304H20.7351H0.916504V123.145V77.9129V23.8622H120.539Z'%20fill='%23FAD3A6'/%3e%3cpath%20d='M163.543%200.629883H24.1014L0.916504%2023.8622H140.358L163.543%200.629883Z'%20fill='%23D98659'/%3e%3cpath%20d='M163.543%200.629883V140.071L140.358%20163.304V23.8622L163.543%200.629883Z'%20fill='%23E8A773'/%3e%3cpath%20d='M84.79%2023.957H57.575V84.6456H84.79V23.957Z'%20fill='white'/%3e%3cpath%20d='M84.79%2023.9571H57.575L77.6306%200.629883H104.846L84.79%2023.9571Z'%20fill='%23EAEAEA'/%3e%3cpath%20opacity='0.05'%20d='M40.364%2071.37L14.3817%2071.7493L14.761%2037.8016L40.364%2038.1809V71.37Z'%20fill='black'/%3e%3cpath%20d='M40.7908%2037.8016H14.7611V71.3226H40.7908V37.8016Z'%20fill='white'/%3e%3cpath%20d='M35.6226%2062.8831H19.1229V63.9735H35.6226V62.8831Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M30.7865%2065.2537H19.1229V66.3441H30.7865V65.2537Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M36.0019%2041.6896H19.1229V58.5686H36.0019V41.6896Z'%20fill='%23BA1B02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.5926%2047.4264L30.265%2048.0902L26.3298%2046.3359L27.5625%2045.8618L31.5926%2047.4264ZM27.7996%2049.323L27.5151%2049.4652L27.2306%2049.323L23.485%2047.4264L25.2867%2046.7627L29.1745%2048.6592L27.7996%2049.323Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M22.9161%2052.31L22.7739%2052.0729L22.1575%2046.9998L22.9635%2047.2842L23.4851%2051.8359L27.3729%2055.3444L27.2307%2056.2453L22.9161%2052.31ZM32.0668%2047.3317L32.8728%2047.0472L32.2564%2052.1204L32.1142%2052.3574L27.7522%2056.2927L27.61%2055.3919L31.4978%2051.9307L32.0668%2047.3317ZM27.7048%2
1044.6765L32.6831%2046.6205L31.9719%2047.1894L27.5626%2045.4825L23.1532%2047.1894L22.442%2046.6205L27.4203%2044.6765H27.7048Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M30.36%2048.2325L31.5927%2047.4739L31.1186%2051.5988L27.5626%2054.7754L27.7523%2049.8445L29.3169%2048.8963L29.2221%2051.3143L30.1703%2050.6505L30.36%2048.2325Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M27.3254%2049.8445L27.5151%2054.7754L24.0065%2051.5988L23.485%2047.4739L27.3254%2049.8445Z'%20fill='white'/%3e%3c/svg%3e",n2="data:image/svg+xml,%3csvg%20width='64'%20height='63'%20viewBox='0%200%2064%2063'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M46.7144%209.04163H54.3479V62.9027H8.16771H0.486816V47.3986V29.9033V9.04163H46.7144Z'%20fill='%23FAD3A6'/%3e%3cpath%20d='M63.3089%200.0805664H9.44786L0.486816%209.04164H54.3479L63.3089%200.0805664Z'%20fill='%23D98659'/%3e%3cpath%20d='M63.3091%200.0805664V53.9417L54.348%2062.9027V9.04162L63.3091%200.0805664Z'%20fill='%23E8A773'/%3e%3cpath%20d='M32.9173%209.08899H22.3916V32.511H32.9173V9.08899Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M32.8699%209.08901H22.3916L30.1199%200.0805664H40.6456L32.8699%209.08901Z'%20fill='%23A71802'/%3e%3c/svg%3e",o2="data:image/svg+xml,%3csvg%20width='207'%20height='206'%20viewBox='0%200%20207%20206'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M120.15%2053.9003H59.0823V98.4684H120.15V53.9003Z'%20fill='%23FFBDCA'/%3e%3cpath%20d='M152.106%2029.4827H177.188V206.001H25.7983H0.669434V155.174V97.8995V29.4827H152.106Z'%20fill='%23FAD3A6'/%3e%3cpath%20d='M206.584%200.0866699H30.018L0.669434%2029.4827H177.188L206.584%200.0866699Z'%20fill='%23D98659'/%3e%3cpath%20d='M206.584%200.0866699V176.605L177.188%20206.001V29.4827L206.584%200.0866699Z'%20fill='%23E8A773'/%3e%3cpath%20d='M37.3195%20186.656H18.3544V188.506H37.3195V186.656Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M56.9011%20186.656H37.9359V188.506H56.9011V186.656Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M57.4226%20164.467L46.7073%20153.752L37.2721%20163.187L27.837%20153.752L17.1691%20164.467L18.4492%20165.747L26.9361%20157.26V187.605H28.7852V157.26L37.2721%20165.747L45.7591%20157.26V187.605H47.6082V157.26L56.0951%20165.747L57.4226%20164.467Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M76.862%2029.5775H42.3928V106.386H76.862V29.5775Z'%20fill='white'/%3e%3cpath%20d='M76.8146%2029.5775H42.3928L67.8062%200.0866699H102.275L76.8146%2029.5775Z'%20fill='%23EAEAEA'/%3e%3cpath%20opacity='0.05'%20d='M159.692%20112.076L108.107%20112.882L108.913%2045.5083L159.692%2046.2195V112.076Z'%20fill='black'/%3e%3cpath%20d='M160.546%2045.5083H108.913V112.076H160.546V45.5083Z'%20fill='white'/%3e%3cpath%20d='M150.257%2095.2919H117.495V97.4729H150.257V95.2919Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M140.68%2099.9384H117.495V102.119H140.68V99.9384Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M150.968%2053.1892H117.495V86.6628H150.968V53.1892Z'%20fill='%23BA1B02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M142.291%2064.5683L139.636%2065.8959L131.861%2062.4347L134.279%2061.4865L142.291%2064.5683ZM134.8%2068.2665L134.279%2068.5036L133.757%2068.2665L126.266%2064.5209L129.822%2063.1459L137.503%2066.8916L134.8%2068.2665Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M125.128%2074.2405L124.891%2073.7664L123.658%2063.6674L125.27%2064.2838L126.313%2073.2922L134.042%2080.2145L133.757%2082.0162L125.128%2074.2405ZM143.24%2064.3312L144.852%2063.7148L143.619%2073.8138L143.382%2074.2879L134.753%2082.0636L134.468%2080.2619L142.149%2073.3396L143.24%2064.3312ZM134.563%2059.0684L144.425%2062.9088L143.05%2063.9993L134.326%2060.5856L125.555%2063.9993L124.18%2062.9088L134.042%2059.0684H134.563Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M139.826%2066.2278L142.292%2064.7106L141.343%2072.8656L134.326%2079.1715L134.705%2069.4044L137.787%2067.5079L137.598%2072.2966L139.494%2070.9691L139.826%2066.2278Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M133.805%2069.357L134.184%2079.124L127.214%2072.8181L126.219%2064.6631L133.805%2069.357Z'%20fill='white'/%3e%3c/svg%3e",p2="data:image/svg+xml,%3csvg%20width='104'%20height='104'%20viewBox='0%200%20104%20104'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M76.2144%2014.851H88.7788V103.513H12.7759H0.164062V77.9575V49.2253V14.851H76.2144Z'%2
10fill='%23F9D2A5'/%3e%3cpath%20d='M103.524%200.105469H14.9095L0.164062%2014.8509H88.7788L103.524%200.105469Z'%20fill='%23E8A773'/%3e%3cpath%20d='M103.524%200.105469H14.9092V14.8509H88.7785L103.524%200.105469Z'%20fill='%23D88559'/%3e%3cpath%20d='M103.524%200.105469V88.7676L88.7788%20103.513V14.8509L103.524%200.105469Z'%20fill='%23E8A773'/%3e%3cpath%20opacity='0.05'%20d='M79.4858%2057.001L53.6458%2057.4277L54.025%2023.6223L79.4858%2024.0016V57.001Z'%20fill='black'/%3e%3cpath%20d='M79.9126%2023.6223H54.0251V57.001H79.9126V23.6223Z'%20fill='white'/%3e%3cpath%20d='M74.7447%2048.6089H58.3398V49.6994H74.7447V48.6089Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M69.9558%2050.9321H58.3396V52.0226H69.9558V50.9321Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M75.124%2027.5101H58.3398V44.2943H75.124V27.5101Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M21.5%2081.4187L24.3448%2084.2635L25.1034%2083.5049L20.9311%2079.3325L17.5648%2082.6988L14.1985%2079.3325L10.0261%2083.5049L10.7847%2084.2635L13.6295%2081.4187V91.7547H10.6425V92.8452H17.4225H17.7544H24.5345V91.7547H21.5V81.4187ZM17.4225%2091.7547H14.7674V81.4187L17.6122%2084.2635L20.457%2081.4187V91.7547H17.8018H17.4225Z'%20fill='white'/%3e%3cpath%20d='M38.3789%2014.851H21.0732V53.4925H38.3789V14.851Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M70.7618%2033.1996L69.4343%2033.8634L65.5464%2032.1091L66.7792%2031.635L70.7618%2033.1996ZM67.0162%2035.0487L66.7318%2035.191L66.4473%2035.0487L62.7017%2033.1996L64.5033%2032.5359L68.3438%2034.4324L67.0162%2035.0487Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M62.1326%2038.0358L61.9904%2037.7987L61.374%2032.7255L62.18%2033.01L62.749%2037.5616L66.6369%2041.0228L66.4946%2041.9236L62.1326%2038.0358ZM71.2359%2033.0574L72.0419%2032.7729L71.4256%2037.8461L71.2833%2038.0832L66.9688%2041.971L66.8265%2041.0702L70.667%2037.6091L71.2359%2033.0574ZM66.8739%2030.4497L71.8049%2032.3462L71.0937%2032.9152L66.6843%2031.2083L62.2749%2032.9152L61.5637%2032.3462L66.4946%2030.4497H66.8739Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M69.529%2034.0057L70.7617%2033.2471L70.2876%2037.3246L66.7791%2040.5012L66.9687%2035.5703L68.5333%2034.622L68.4385%2037.0401L69.3868%2036.3763L69.529%2034.0057Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M66.4948%2035.5703L66.6844%2040.5012L63.1759%2037.3246L62.6543%2033.2471L66.4948%2035.5703Z'%20fill='white'/%3e%3cpath%20d='M103.524%200.105469H14.9095L0.164062%2014.8509H88.7788L103.524%200.105469Z'
1%20fill='%23D98659'/%3e%3cpath%20d='M38.379%2014.8509H21.0732L33.8747%200.105469H51.1804L38.379%2014.8509Z'%20fill='%23EAEAEA'/%3e%3c/svg%3e",d2="data:image/svg+xml,%3csvg%20width='49'%20height='59'%20viewBox='0%200%2049%2059'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M41.6851%207.52698H0.19873V58.5433H41.6851V7.52698Z'%20fill='%23F2C897'/%3e%3cpath%20d='M48.5599%200.604736H7.07361L0.19873%207.52699H41.6376L48.5599%200.604736Z'%20fill='%23D98659'/%3e%3cpath%20d='M48.56%200.604736V51.621L41.6377%2058.5433V7.52701L48.56%200.604736Z'%20fill='%23E8A773'/%3e%3cpath%20d='M25.1379%207.52698H17.0303V26.1603H25.1379V7.52698Z'%20fill='white'/%3e%3cpath%20d='M25.1379%207.52699H17.0303L23.0043%200.604736H31.1119L25.1379%207.52699Z'%20fill='%23EAEAEA'/%3e%3cpath%20d='M19.6856%2039.8152H4.46606V53.3279H19.6856V39.8152Z'%20fill='white'/%3e%3cpath%20d='M16.6986%2044.6039H7.02637V46.0263H16.6986V44.6039Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M13.8538%2046.8323H7.02637V48.2547H13.8538V46.8323Z'%20fill='%23BA1B02'/%3e%3c/svg%3e",c2="data:image/svg+xml,%3csvg%20width='62'%20height='112'%20viewBox='0%200%2062%20112'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M61.7554%206.50623H0.166016V105.694H61.7554V6.50623Z'%20fill='%23F2C897'/%3e%3cpath%20d='M30.9844%20111.573C48.005%20111.573%2061.8028%20108.962%2061.8028%20105.741C61.8028%20102.521%2048.005%2099.9097%2030.9844%2099.9097C13.9639%2099.9097%200.166016%20102.521%200.166016%20105.741C0.166016%20108.962%2013.9639%20111.573%2030.9844%20111.573Z'%20fill='%23F2C897'/%3e%3cpath%20d='M30.9844%2012.2432C48.005%2012.2432%2061.8028%209.63219%2061.8028%206.41138C61.8028%203.19057%2048.005%200.57959%2030.9844%200.57959C13.9639%200.57959%200.166016%203.19057%200.166016%206.41138C0.166016%209.63219%2013.9639%2012.2432%2030.9844%2012.2432Z'%20fill='%23D98659'/%3e%3cpath%20d='M30.9846%2012.2432C26.8122%2012.2432%2022.7821%2012.101%2019.1313%2011.8165V38.6048H31.0794V12.2432C31.032%2012.2432%2030.9846%2012.2432%2030.9846%2012.2432Z'%20fill='white'/%3e%3cpath%20d='M30.9843%200.626953C30.9369%200.626953%2030.9369%200.626953%2030.9843%200.626953C30.3205%200.626953%2029.7041%200.626953%2029.1352%200.626953L19.1785%2011.769H19.3207C20.2215%2011.8164%2021.1224%2011.9112%2022.0706%2011.9586C23.0189%2012.0061%2023.9672%2012.0535%2024.9628%2012.1009C24.9628%2012.1009%2024.9628%2012.1009%2025.0102%2012.1009C25.9585%2012.1483%2026.9542%2012.1483%2027.9499%2012.1957H27.9973C28.9929%2012.1957%2029.9886%2012.2431%2030.9843%2012.2431C30.9843%2012.2431%2030.9843%2012.2431%2031.0317%2012.2431H31.0791L42.1737%201.00626C38.7126%200.769193%2034.9195%200.626953%2030.9843%200.626953Z'%20fill='%23EAEAEA'/%3e%3c/svg%3e",h2="data:image/svg+xml,%3csvg%20width='129'%20height='214'%20viewBox='0%200%20129%20214'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M75.0391%2033.5209H36.9666V61.3048H75.0391V33.5209Z'%20fill='%23FFBDCA'/%3e%3cpath%20d='M94.9524%2018.3014H110.551V213.406H16.1995H0.553223V96.6275V60.9256V18.3014H94.9524Z'%20fill='%23FAD3A6'/%3e%3cpath%20d='M128.853%200H18.8546L0.553223%2018.3014H110.551L128.853%200Z'%20fill='%23D98659'/%3e%3cpath%20d='M128.853%200V195.104L110.551%20213.406V18.3014L128.853%200Z'%20fill='%23E8A773'/%3e%3cpath%20d='M31.1345%2029.6805H11.1262V47.413H31.1345V29.6805Z'%20fill='white'/%3e%3cpath%20d='M27.1043%2035.6072H14.4451V38.2149H27.1043V35.6072Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M23.4061%2039.8743H14.4451V42.482H23.4061V39.8743Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M66.3152%2018.3962H44.8372V66.2833H66.3152V18.3962Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M66.2681%2018.3962H44.8374L60.6733%200H82.1514L66.2681%2018.3962Z'%20fill='%23A71802'/%3e%3c/svg%3e",r2="data:image/svg+xml,%3csvg%20width='38'%20height='61'%20viewBox='0%200%2038%2061'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M32.4855%206.06323H0.624023V60.8726H32.4855V6.06323Z'%20fill='%23FAD3A6'/%3e%3cpath%20d='M37.7483%200.75293H5.88686L0.624023%206.06319H32.4855L37.7483%200.75293Z'%20fill='%23D98659'/%3e%3cpath%20d='M37.7484%200.75293V55.5623L32.4856%2060.8725V6.06318L37.7484%200.75293Z'%20fill='%23E8A773'/%3e%3cpath%20d='M19.7787%206.06323H13.5676V20.3819H19.7787V6.06323Z'%20fill='white'/%3e%3cpath%20d='M19.779%206.06319H13.5679L18.1195%200.75293H24.378L19.779%206.06319Z'%20fill='%23EAEAEA'/%3e%3cpath%20d='M8.96863%2054.9933H4.89111V55.3726H8.96863V54.9933Z'%20fill='white'/%3e%3cpath%20d='M13.141%2054.9933H9.06348V55.3726H13.141V54.9933Z'%20fill='white'/%3e%3cpath%20d='M13.2832%2050.252L10.96%2047.9762L8.96863%2049.9675L6.92987%2047.9762L4.65405%2050.252L4.89112%2050.5365L6.74022%2048.6874V55.2304H7.11953V48.6874L8.96863%2050.5365L10.7703%2048.6874V55.2304H11.1496V48.6874L12.9987%2050.5365L13.2832%2050.252Z'%20fill='white'/%3e%3c/svg%3e",f2="data:image/svg+xml,%3csvg%20width='50'%20height='85'%20viewBox='0%200%2050%2085'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M49.8266%204.82129H0.943848V79.5914H49.8266V4.82129Z'%20fill='%23F2C897'/%3e%3cpath%20d='M25.4091%2084.1906C38.8946%2084.1906%2049.8268%2082.1315%2049.8268%2079.5915C49.8268%2077.0515%2038.8946%2074.9924%2025.4091%2074.9924C11.9236%2074.9924%200.991455%2077.0515%200.991455%2079.5915C0.991455%2082.1315%2011.9236%2084.1906%2025.4091%2084.1906Z'%20fill='%23F2C897'/%3e%3cpath%20d='M25.4086%209.37293C38.8941%209.37293%2049.8263%207.31386%2049.8263%204.77387C49.8263%202.23388%2038.8941%200.174805%2025.4086%200.174805C11.9231%200.174805%200.990967%202.23388%200.990967%204.77387C0.99
10967%207.31386%2011.9231%209.37293%2025.4086%209.37293Z'%20fill='%23D98659'/%3e%3cpath%20d='M25.4087%209.37291C22.0898%209.37291%2018.9132%209.23067%2016.021%209.04102V30.3294H25.5036V9.37291C25.4562%209.37291%2025.4087%209.37291%2025.4087%209.37291Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M25.4562%209.37293L33.2319%200.411869C30.7664%200.269631%2028.1587%200.174805%2025.4088%200.174805C24.8872%200.174805%2024.4131%200.174805%2023.9389%200.174805L16.021%209.04103H16.1158C18.9606%209.2781%2022.0898%209.37293%2025.4088%209.37293H25.4562Z'%20fill='%23A71802'/%3e%3c/svg%3e",m2="data:image/svg+xml,%3csvg%20width='46'%20height='47'%20viewBox='0%200%2046%2047'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M26.7031%2012.8002H13.1431V22.7095H26.7031V12.8002Z'%20fill='%23FFBDCA'/%3e%3cpath%20d='M33.815%207.34766H39.4098V46.6056H5.74658H0.151855V35.3213V22.5672V7.34766H33.815Z'%20fill='%23FAD3A6'/%3e%3cpath%20d='M45.953%200.804688H6.64768L0.1521%207.34768H39.41L45.953%200.804688Z'%20fill='%23D98659'/%3e%3cpath%20d='M45.9529%200.804688V40.0626L39.4099%2046.6056V7.34768L45.9529%200.804688Z'%20fill='%23E8A773'/%3e%3cpath%20d='M8.30693%2042.3384H4.08716V42.7651H8.30693V42.3384Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M12.6214%2042.3384H8.40161V42.7651H12.6214V42.3384Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M12.7635%2037.36L10.3928%2034.9894L8.25927%2037.0755L6.17313%2034.9894L3.80249%2037.36L4.08696%2037.6445L5.98347%2035.7954V42.528H6.41019V35.7954L8.25927%2037.6445L10.1558%2035.7954V42.528H10.5825V35.7954L12.479%2037.6445L12.7635%2037.36Z'%20fill='%23BA1B02'/%3e%3cg%20opacity='0.05'%3e%3cpath%20opacity='0.05'%20d='M35.427%2025.6965L23.9531%2025.8862L24.1428%2010.9037L35.427%2011.0933V25.6965Z'%20fill='black'/%3e%3c/g%3e%3cpath%20d='M35.6167%2010.9037H24.1428V25.6965H35.6167V10.9037Z'%20fill='white'/%3e%3cpath%20d='M33.2938%2018.1105H26.0396V18.5372H33.2938V18.1105Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M31.2076%2019.1534H26.0396V19.5802H31.2076V19.1534Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M33.8153%2012.6106H26.0396V16.5933H33.8153V12.6106Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M17.0784%207.39514H9.39746V24.4638H17.0784V7.39514Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M17.0784%207.39511H9.39746L15.087%200.804688H22.7205L17.0784%207.39511Z'%20fill='%23A71802'/%3e%3c/svg%3e",g2="data:image/svg+xml,%3csvg%20width='131'%20height='72'%20viewBox='0%200%20131%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M116.325%2015.088V71.699H12.8699H0.495117V46.5702V18.3121V15.088H116.325Z'%20fill='%23FAD3A6'/%3e%3cpath%20d='M130.833%200.57959H15.0035L0.495117%2015.088H116.325L130.833%200.57959Z'%20fill='%23D98659'/%3e%3cpath%20d='M130.833%200.57959V57.1906L116.325%2071.699V15.0879L130.833%200.57959Z'%20fill='%23E8A773'/%3e%3cpath%20d='M60.6148%2015.1827H43.5935V47.4235H60.6148V15.1827Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M60.615%2015.1828H43.5938L56.1582%200.57959H73.1795L60.615%2015.1828Z'%20fill='%23A71802'/%3e%3cg%20opacity='0.05'%3e%3cpath%20opacity='0.05'%20d='M110.398%2041.5917L93.8984%2041.8762L94.1829%2020.3033L110.398%2020.5404V41.5917Z'%20fill='black'/%3e%3c/g%3e%3cpath%20d='M110.73%2020.3033H94.1826V41.5918H110.73V20.3033Z'%20fill='white'/%3e%3cpath%20d='M107.411%2030.6394H96.9326V31.2084H107.411V30.6394Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M104.329%2032.1566H96.9326V32.7256H104.329V32.1566Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M108.169%2022.7688H96.9326V28.4584H108.169V22.7688Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M12.0639%2065.5353H5.99512V66.1042H12.0639V65.5353Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M18.3228%2065.5353H12.2539V66.1042H18.3228V65.5353Z'%20fill='%23BA1B02'/%3e%3cpath%20d='M18.512%2058.4233L15.0509%2054.9622L12.0639%2057.9966L9.02943%2054.9622L5.61572%2058.4233L6.04242%2058.85L8.74497%2056.1001V65.8197H9.31393V56.1001L12.0639%2058.85V58.8026V58.85L14.7664%2056.1001V65.8197H15.3828V56.1001L18.0853%2058.85L18.512%2058.4233Z'%20fill='%23BA1B02'/%3e%3c/svg%3e",k0={key:0,class:"container d-flex align-items-center justify-content-center"},b0={key:1,class:"d-flex flex-column justify-content-center align-items-center text-center"},E0={key:0},y0={class:"d-none d-sm-block text-primary-500"},Z0={class:"d-sm-none mb-8 text-primary-500"},C0={class:"text-grey-700"},x0={key:0,class:"form"},D0={class:"container d-flex justify-content-center"},I0={class:"error-text text-start"},S0=["name"],F0=["disabled"],T0={key:1,class:"mb-8 mb-lg-0 d-flex align-items-center justify-content-center w-100"},$0={key:1},P0={class:"d-none d-sm-block text-primary-500"},R0={class:"d-sm-none mb-8 text-primary-500"},N0=b({__name:"Epilog",props:{score:{}},setup(e){const{t}=W(),p=M2().public.webId,s=e,o=B2({nickname:z2().required("global.validation.messages.required").max(15,"global.validation.messages.max")}),{handleSubmit:d,errors:r}=k2({validationSchema:o}),{value:f,setValue:u}
1=b2("nickname"),v=x(s.score),A=x([]),B=x(null),E=x(!0),z=x(null);H2(()=>s.score,g=>{v.value=g});const P=X(()=>t("pf2025.actualPosition",{position:B.value})),O=X(()=>Z(v.value)<5e3),R=()=>{window.location.reload()},Z=g=>{const[L,M,H]=g.split(/[:.,]/).map(Number);return L*6e4+M*1e3+H},C=d(async()=>{const g=Z(v.value),M=A.value.some(Y=>Y.parsedScore===g)?g+1:g,H=q(M),G=await e2(`${p}-${f.value}-${v.value}-${new Date().valueOf()}`);try{const Y={_uid:G,nickname:f.value,date:new Date().toTimeString(),score:H},u2=await e2(JSON.stringify(Y));await E2(u2,p)&&(z.value=!0,localStorage.setItem("playerUID",G))}catch{z.value=!1}}),q=g=>{const L=Math.floor(g/6e4),M=Math.floor(g%6e4/1e3),H=g%1e3;return`${L.toString().padStart(2,"0")}:${M.toString().padStart(2,"0")},${H.toString().padStart(3,"0")}`};return V2(async()=>{try{const L=(await y2(p)).data.map(H=>({...H,parsedScore:Z(H.Score)}));A.value=L.sort((H,G)=>H.parsedScore-G.parsedScore);const M=A.value.findIndex(H=>Z(v.value)<H.parsedScore);B.value=M===-1?A.value.length+1:M+1,E.value=!1}catch(g){console.error("Failed to load game list",g),E.value=!1}}),(g,L)=>(n(),h("div",null,[E.value?(n(),h("div",k0,[m(Z2,{outer:""})])):(n(),h("div",b0,[B.value&&B.value<=20&&!E.value?(n(),h("div",E0,[i("h5",y0,c(P.value),1),i("h6",Z0,c(P.value),1),i("p",C0,[V(c(a(t)("pf2025.enterResult.part1"))+" ",1),m(J,{to:g.$pages.pf2025PlayerList},{default:w(()=>[V(c(a(t)("pf2025.enterResult.link1")),1)]),_:1},8,["to"]),V(" "+c(a(t)("pf2025.enterResult.part2"))+" ",1),m(J,{to:"#",onClick:I(R,["prevent"])},{default:w(()=>[V(c(a(t)("pf2025.enterResult.link2")),1)]),_:1}),L[3]||(L[3]=V(". "))]),z.value===null?(n(),h("div",x0,[i("div",D0,[i("form",{ref:"form",onSubmit:L[1]||(L[1]=I((...M)=>a(C)&&a(C)(...M),["prevent"]))},[i("div",null,[m(C2,{value:a(f),placeholder:a(t)("pf2025.placeholderNickname"),class:$({invalid:a(r).nickname}),name:"nickname",disabled:O.value,left:"","onInput:change":a(u),"onInput:blur":a(u)},{default:w(()=>[i("span",I0,c(a(r).nickname&&a(t)(a(r).nickname)),1)]),_:1},8,["value","placeholder","class","disabled","onInput:change","onInput:blur"])]),N(i("input",{"onUpdate:modelValue":L[0]||(L[0]=M=>v.value=M),type:"hidden",name:v.value},null,8,S0),[[A2,v.value]])],544),i("button",{type:"submit",class:"btn btn-primary cut-corners-small-right",style:{height:"52px"},disabled:!!a(r).nickname||!a(f),onClickOnce:L[2]||(L[2]=(...M)=>a(C)&&a(C)(...M))},c(a(t)("pf2025.addScore")),41,F0)])])):(n(),h("div",T0,[m(S2,{message:a(t)(`pf2025.${z.value?"success":"error"}`),icon:"check",status:z.value?a(T).SUCCESS:a(T).ERROR},{default:w(()=>[z.value?(n(),D(J,{key:0,class:"check-list-link text-green-500",to:g.$pages.pf2025PlayerList},{default:w(()=>[V(c(a(t)("pf2025.checkPlayerList")),1)]),_:1},8,["to"])):k("",!0)]),_:1},8,["message","status"])]))])):(n(),h("div",$0,[i("h5",P0,c(a(t)("pf2025.outOfScore")),1),i("h6",R0,c(a(t)("pf2025.outOfScore")),1),i("div",null,[m(F,{class:"me-24 mb-16",onClick:I(R,["prevent"])},{default:w(()=>[V(c(a(t)("pf2025.tryAgain")),1)]),_:1}),m(F,{class:"mb-16",link:g.$pages.pf2025PlayerList,outline:""},{default:w(()=>[V(c(a(t)("pf2025.orderOfPlayers")),1)]),_:1},8,["link"])])]))]))]))}}),O0=_(N0,[["__scopeId","data-v-ffd5a3e8"]]),G0={class:"mx-auto"},j0={class:"pckg-box mx-auto"},K0=["id","src","draggable"],U0=b({__name:"Packages",props:{showEpilog:{type:Boolean},showPackages:{type:Boolean},score:{}},emits:["drop","drag-start","drag-enter"],setup(e,{emit:t}){const l=t,p=t2([{dataId:"package-3",draggable:!0,component:s2},{dataId:"package-9",draggable:!0,component:h2},{dataId:"package-13",draggable:!0,component:g2},{dataId:"package-1",draggable:!1,component:l2},{dataId:"package-2",draggable:!0,component:i2},{dataId:"package-4",draggable:!0,component:n2},{dataId:"package-5",draggable:!0,component:o2},{dataId:"package-6",draggable:!1,component:p2},{dataId:"package-7",draggable:!0,component:d2},{dataId:"package-8",draggable:!0,component:c2},{dataId:"package-10",draggable:!0,component:r2},{dataId:"package-11",draggable:!0,component:f2},{dataId:"package-12",draggable:!0,component:m2}]);return(s,o)=>
1(n(),h("section",G0,[N(i("div",j0,[(n(!0),h(j,null,K(p.value,(d,r)=>(n(),h("img",{id:d.dataId,key:r,src:d.component,class:$(["package",`${d.dataId}`]),draggable:d.draggable,onDrop:[o[0]||(o[0]=I(()=>{},["prevent"])),o[2]||(o[2]=f=>l(a(S).DROP,f))],onDragover:o[1]||(o[1]=I(()=>{},["prevent"])),onDragstart:o[3]||(o[3]=f=>l(a(S).DRAG_START,f))},null,42,K0))),128))],512),[[U,s.showPackages]]),s.showEpilog?(n(),D(O0,{key:0,score:s.score,class:"mt-32"},null,8,["score"])):k("",!0)]))}}),W0=_(U0,[["__scopeId","data-v-320d2c49"]]),q0={class:"time"},Y0=b({__name:"StopWatch",props:{time:{}},setup(e){return(t,l)=>(n(),h("section",null,[i("span",q0,c(t.time),1)]))}}),J0=_(Y0,[["__scopeId","data-v-e25dc87f"]]),Q0={class:"mx-auto"},X0={class:"tree-box mx-auto"},t1=["id","src","data-draggable-id"],e1=b({__name:"Tree",props:{startAnimation:{type:Boolean}},emits:["drop","drag-leave","drag-enter","package-star","chain-1","chain-2"],setup(e,{emit:t}){const l=t,p=t2([{id:"package-star",name:Q.ANIMATION_PACKAGE_STAR},{id:"chain-1",name:Q.ANIMATION_CHAIN_1},{id:"chain-2",name:Q.ANIMATION_CHAIN_2}]),s=t2([{organicValue:"package-2",dataId:"package-2",id:"op-pckg-2",component:i2},{organicValue:"package-4",dataId:"package-4",id:"op-pckg-4",component:n2},{organicValue:"package-5",dataId:"package-5",id:"op-pckg-5",component:o2},{organicValue:"package-9",dataId:"invalid",id:"op-pckg-9",component:h2},{organicValue:"package-10",dataId:"invalid",id:"op-pckg-10",component:r2},{organicValue:"package-11",dataId:"invalid",id:"op-pckg-11",component:f2},{organicValue:"package-1",dataId:"package-1",id:"op-pckg-1",component:l2},{organicValue:"package-3",dataId:"invalid",id:"op-pckg-3",component:s2},{organicValue:"package-13",dataId:"invalid",id:"op-pckg-13",component:g2},{organicValue:"package-8",dataId:"invalid",id:"op-pckg-8",component:c2},{organicValue:"package-12",dataId:"invalid",id:"op-pckg-12",component:m2},{organicValue:"package-7",dataId:"invalid",id:"op-pckg-7",component:d2},{organicValue:"package-6",dataId:"invalid",id:"op-pckg-6",component:p2}]);return(o,d)=>(n(),h("section",Q0,[i("div",X0,[(n(!0),h(j,null,K(s.value,(r,f)=>(n(),h("img",{id:r.id,key:f,src:r.component,class:$(["package",r.organicValue]),draggable:"false","data-draggable-id":r.dataId,alt:"",onDrop:[d[0]||(d[0]=I(()=>{},["prevent"])),d[2]||(d[2]=u=>l(a(S).DROP,u))],onDragover:d[1]||(d[1]=I(()=>{},["prevent"])),onDragleave:d[3]||(d[3]=u=>l(a(S).DRAG_LEAVE,u)),onDragenter:d[4]||(d[4]=u=>l(a(S).DRAG_ENTER,u))},null,42,t1))),128)),(n(!0),h(j,null,K(p.value,r=>N((n(),h("div",{key:r.id},[m(x2,{name:r.name,autoplay:!1,loop:!1,class:$(r.id),onComplete:f=>l(`${r.id}`,f)},null,8,["name","class","onComplete"])])),[[U,o.startAnimation]])),128))])]))}}),a1=_(e1,[["__scopeId","data-v-25e0e717"]]),l1=window.setInterval,i1={components:{Bubble:j2,Tree:a1,Packages:W0,Intro:z0,ErrorBlock:e0,CountDown:q2,StopWatch:J0},data(){return{time:"00:00,000",timeBegan:null,timeStopped:null,stoppedDuration:0,started:null,running:!1,showIntro:!0,countDown:3,alert:!1,timeExpired:!1,showEpilog:!1,showPackages:!0,startAnimation:!1,alertTimeout:null,isBubbleVisible:!1,invalidData:!1}},mounted(){const e=document.createElement("script");e.setAttribute("src","https://cdn.jsdelivr.net/npm/[email protected]/DragDropTouch.js"),document.head.appendChild(e),e2("Hello world").then(t=>{console.log(t)}).catch(t=>{console.log(t)})},methods:{startTime(){this.running||(this.timeBegan===null&&(this.reset(),this.timeBegan=new Date),this.timeStopped!==null&&(this.stoppedDuration+=new Date-this.timeStopped),this.started=l1(this.timeIsRunning,10),this.running=!0)},stopTime(){this.running=!1,this.timeStopped=new Date,clearInterval(this.started)},timeIsRunning(){const e=new Date,t=new Date(e-this.timeBegan-this.stoppedDuration),l=t.getUTCMinutes(),p=t.getUTCSeconds(),s=t.getUTCMilliseconds();this.time=this.zeroPrefix(l,2)+":"+this.zeroPrefix(p,2)+","+this.zeroPrefix(s,3)},reset(){this.running=!1,clearInterval(this.started),this.stoppedDuration=0,this.timeBegan=null,this.timeStopped=null,this.time="00:00.000"},zeroPrefix(e,t){let l="";for(let p=0;p<t;p++)l+="0";return(l+e).slice(-t)},handleAnimStar(e){this.star=e},handleAnimChain(e){this.chain=e},handleAnimChain2(e){this.chain2=e},toggleIntro(){this.showIntro=!1},countDownTimer(){this.timeExpired=!0,this.countDown>1&&setTimeout(()=>{this.countDown-=1,this.countDownTimer(),setTimeout(()=>{this.timeExpired=!1,this.startTime()},3e3)},1e3)},dragStart(e){e.dataTransfer.setData("text",e.target.id),e.dataTransfer.effectAllowed="move",e.dataTransfer.dropEffect="move"},dragEnter(e){e.target.classList.add("droppable-hover")},dragLeave(e){e.target.classList.remove("droppable-hover")},drop(e){e.target.classList.remove("droppable-hover");const t=e.dataTransfer.getData("text"),l=e.target.getAttribute("data-draggable-id"),p=t===l,s=t!==l;if(p){const o=document.getElementById(t);e.target.classList.add("dropped"),o.setAttribute("draggable","false"),e.target.appendChild(o)}if(p){const o=document.getElementById("package-1"),d=document.getElementById("package-6"),r=document.getElementById("op-pckg-1"),f=document.getElementById("op-pckg-2"),u=document.getElementById("op-pckg-3"),v=document.getElementById("op-pckg-4"),A=document.getElementById("op-pckg-5"),B=document.getElementById("op-pckg-6"),E=document.getElementById("op-pckg-7"),z=document.getElementById("op-pckg-8"),P=document.getElementById("op-pckg-9"),O=
1document.getElementById("op-pckg-10"),R=document.getElementById("op-pckg-11"),Z=document.getElementById("op-pckg-12"),C=document.getElementById("op-pckg-13"),q=r.classList.contains("dropped")&&f.classList.contains("dropped"),g=E.classList.contains("dropped")&&z.classList.contains("dropped")&&P.classList.contains("dropped")&&O.classList.contains("dropped")&&R.classList.contains("dropped")&&Z.classList.contains("dropped");f.classList.contains("dropped")&&(o.style.cursor="grab",o.setAttribute("draggable","true")),E.classList.contains("dropped")&&(d.style.cursor="grab",d.setAttribute("draggable","true")),r.classList.contains("dropped")&&u.setAttribute("data-draggable-id","package-3"),v.classList.contains("dropped")&&O.setAttribute("data-draggable-id","package-10"),A.classList.contains("dropped")&&(R.setAttribute("data-draggable-id","package-11"),P.setAttribute("data-draggable-id","package-9")),u.classList.contains("dropped")&&C.setAttribute("data-draggable-id","package-13"),C.classList.contains("dropped")&&(z.setAttribute("data-draggable-id","package-8"),Z.setAttribute("data-draggable-id","package-12")),q&&E.setAttribute("data-draggable-id","package-7"),g&&B.setAttribute("data-draggable-id","package-6"),B.classList.contains("dropped")&&(B.style.display="none",this.showEpilog=!0,this.isBubbleVisible=!0,this.startAnimation=!0,this.showPackages=!1,this.stopTime(),this.star.play(),this.chain.play(),this.chain2.play())}l==="invalid"?this.showAlert(!0):s&&this.showAlert(!1)},showAlert(e){this.alertTimeout&&clearTimeout(this.alertTimeout),this.alert=!0,this.invalidData=e,this.alertTimeout=setTimeout(()=>{this.alert=!1,this.alertTimeout=null},3e3)}}},s1={class:"container"},n1={key:3,class:"d-flex justify-content-center d-lg-none pt-32",style:{height:"100px"}};function o1(e,t,l,p,s,o){const d=y("error-block"),r=y("bubble"),f=y("stop-watch"),u=y("tree"),v=y("count-down"),A=y("packages"),B=y("intro");return n(),h("section",{class:$(["pt-120 pb-160",{"touch-action":!s.showEpilog}])},[i("div",s1,[s.alert?(n(),D(d,{key:0,"invalid-data":s.invalidData,class:"d-none d-lg-block"},null,8,["invalid-data"])):k("",!0),s.isBubbleVisible?(n(),D(r,{key:1,class:"d-none d-xl-block"})):k("",!0),m(f,{time:s.time},null,8,["time"]),m(u,{"start-animation":s.startAnimation,onDrop:o.drop,onDragEnter:o.dragEnter,onDragLeave:o.dragLeave,onPackageStar:o.handleAnimStar,onChain1:o.handleAnimChain,onChain2:o.handleAnimChain2},null,8,["start-animation","onDrop","onDragEnter","onDragLeave","onPackageStar","onChain1","onChain2"]),N(m(v,{"count-down":s.countDown},null,8,["count-down"]),[[U,s.timeExpired]]),s.isBubbleVisible?(n(),D(r,{key:2,class:"d-xl-none pt-32"})):k("",!0),m(A,{"show-epilog":s.showEpilog,"show-packages":s.showPackages,score:s.time,onDrop:o.drop,onDragEnter:o.dragEnter,onDragStart:o.dragStart},null,8,["show-epilog","show-packages","score","onDrop","onDragEnter","onDragStart"]),N(m(B,{onToggleIntro:o.toggleIntro,onStartTimer:o.countDownTimer},null,8,["onToggleIntro","onStartTimer"]),[[U,s.showIntro]]),s.showEpilog?k("",!0):(n(),h("div",n1,[s.alert?(n(),D(d,{key:0,"invalid-data":s.invalidData},null,8,["invalid-data"])):k("",!0)]))])],2)}const p1=_(i1,[["render",o1],["__scopeId","data-v-04695c7a"]]),d1={components:{Pf2025:p1}};function c1(e,t,l,p,s,o){const d=y("pf2025");return n(),D(d)}const B1=_(d1,[["render",c1]]);export{B1 as default}; 2//# sourceMappingURL=DqfJMLko.js.map
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.