cloudcommerce 0.0.107 → 0.0.109

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/package.json +8 -8
  3. package/packages/api/package.json +1 -1
  4. package/packages/apps/correios/package.json +1 -1
  5. package/packages/apps/custom-shipping/package.json +1 -1
  6. package/packages/apps/discounts/package.json +1 -1
  7. package/packages/apps/frenet/package.json +1 -1
  8. package/packages/apps/tiny-erp/lib/event-to-tiny.js +94 -94
  9. package/packages/apps/tiny-erp/lib/index.js +1 -1
  10. package/packages/apps/tiny-erp/lib/integration/after-tiny-queue.js +74 -71
  11. package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js +73 -70
  12. package/packages/apps/tiny-erp/lib/integration/export-product-to-tiny.js +53 -49
  13. package/packages/apps/tiny-erp/lib/integration/helpers/format-tiny-date.js +3 -3
  14. package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js +75 -76
  15. package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js +140 -137
  16. package/packages/apps/tiny-erp/lib/integration/parsers/order-from-tiny.js +39 -40
  17. package/packages/apps/tiny-erp/lib/integration/parsers/order-to-tiny.js +178 -173
  18. package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js +171 -173
  19. package/packages/apps/tiny-erp/lib/integration/parsers/product-to-tiny.js +127 -123
  20. package/packages/apps/tiny-erp/lib/integration/parsers/status-from-tiny.js +32 -32
  21. package/packages/apps/tiny-erp/lib/integration/parsers/status-to-tiny.js +37 -37
  22. package/packages/apps/tiny-erp/lib/integration/post-tiny-erp.js +43 -42
  23. package/packages/apps/tiny-erp/lib/tiny-erp.js +6 -8
  24. package/packages/apps/tiny-erp/lib/tiny-webhook.js +73 -76
  25. package/packages/apps/tiny-erp/package.json +2 -2
  26. package/packages/cli/package.json +1 -1
  27. package/packages/config/package.json +1 -1
  28. package/packages/events/package.json +2 -2
  29. package/packages/firebase/package.json +2 -2
  30. package/packages/i18n/package.json +1 -1
  31. package/packages/modules/lib/firebase/ajv.js +19 -24
  32. package/packages/modules/lib/firebase/call-app-module.js +116 -110
  33. package/packages/modules/lib/firebase/checkout.js +151 -152
  34. package/packages/modules/lib/firebase/functions-checkout/fix-items.js +194 -187
  35. package/packages/modules/lib/firebase/functions-checkout/get-custumerId.js +25 -26
  36. package/packages/modules/lib/firebase/functions-checkout/handle-order-transaction.js +121 -119
  37. package/packages/modules/lib/firebase/functions-checkout/new-order.js +177 -177
  38. package/packages/modules/lib/firebase/functions-checkout/request-to-module.js +59 -59
  39. package/packages/modules/lib/firebase/functions-checkout/utils.js +195 -197
  40. package/packages/modules/lib/firebase/handle-module.js +144 -146
  41. package/packages/modules/lib/firebase/proxy-apps.js +2 -1
  42. package/packages/modules/lib/firebase/serve-modules-api.js +52 -53
  43. package/packages/modules/lib/firebase.js +4 -6
  44. package/packages/modules/lib/index.js +12 -15
  45. package/packages/modules/package.json +2 -2
  46. package/packages/passport/package.json +2 -2
  47. package/packages/ssr/package.json +6 -6
  48. package/packages/storefront/dist/client/{LoginOffcanvas.c2a47936.js → LoginOffcanvas.28d2f50c.js} +1 -1
  49. package/packages/storefront/dist/client/assets/{_...4826ec44.css → _...41f686e3.css} +0 -0
  50. package/packages/storefront/dist/client/chunks/{LoginForm.c86d05cc.js → LoginForm.c995d3d4.js} +120 -90
  51. package/packages/storefront/dist/client/chunks/LoginOffcanvas.a1f3fe3b.js +1 -0
  52. package/packages/storefront/dist/client/chunks/runtime-dom.esm-bundler.62d623e7.js +1 -0
  53. package/packages/storefront/dist/client/{client.6db2fd63.js → client.6736232b.js} +1 -1
  54. package/packages/storefront/dist/client/sw.js +1 -1
  55. package/packages/storefront/dist/server/entry.mjs +11 -7
  56. package/packages/storefront/package.json +12 -9
  57. package/packages/storefront/src/lib/components/LoginForm.vue +42 -22
  58. package/packages/storefront/src/lib/components/TheHeader.vue +1 -1
  59. package/packages/types/package.json +1 -1
  60. package/packages/storefront/dist/client/chunks/LoginOffcanvas.794b9840.js +0 -1
  61. package/packages/storefront/dist/client/chunks/runtime-dom.esm-bundler.4b976197.js +0 -1
@@ -0,0 +1 @@
1
+ import{_ as y}from"./preload-helper.f15ab524.js";import{d as p,r as v,w as k,t as C,c as V,a as E,b as h,T as w,o as u,e as _,f as i,u as r,g as L,h as m,n as g,i as b,j as A,k as x,l as F,m as B,p as f,F as O}from"./runtime-dom.esm-bundler.62d623e7.js";/* empty css */const S="Acessar minha conta",P="Fechar",q="Criar uma conta",G="Entrar com senha",H="Esqueci minha senha",$="Minha conta e pedidos",J="Senha",K="Enviar c\xF3digo de acesso por e-mail",Q="Cadastrar",T=["open"],I=["aria-label","onClick"],M=p({__name:"AOffcanvas",props:{modelValue:{type:Boolean,default:!1},placement:{default:"end"}},emits:["update:modelValue"],setup(e,{emit:a}){const s=e;A(t=>({d23880fa:r(d)}));const o=()=>a("update:modelValue",!1),c=v(null),n=t=>{c.value?.contains(t.target)||o()},l=t=>{t.key==="Escape"&&o()};k(C(s,"modelValue"),async t=>{t?(document.body.style.maxWidth=`${document.body.offsetWidth}px`,document.body.style.overflow="hidden",setTimeout(()=>{document.addEventListener("click",n,{passive:!0}),document.addEventListener("keydown",l,{passive:!0})},500)):(document.removeEventListener("click",n),document.removeEventListener("keydown",l))});const d=V(()=>s.placement==="end"?"100%":"-100%");return(t,R)=>(u(),E(w,null,{default:h(()=>[e.modelValue?(u(),_("dialog",{key:0,class:g(["offcanvas p-0",e.placement==="end"?"justify-end":"justify-start"]),open:e.modelValue},[i("article",{ref_key:"article",ref:c,class:"rounded-none h-full max-h-screen m-0"},[i("a",{href:"#close","aria-label":r(P),class:"close","data-target":"modal-example",onClick:L(o,["prevent"])},null,8,I),m(t.$slots,"default",{},void 0,!0)],512)],10,T)):b("",!0)]),_:3}))}}),U=(e,a)=>{const s=e.__vccOpts||e;for(const[o,c]of a)s[o]=c;return s},j=U(M,[["__scopeId","data-v-8bddc837"]]),N=["href","title"],X=p({__name:"LoginOffcanvas",props:{accountUrl:{default:"/app/account"},accountIconClass:{default:"i-user-circle"}},setup(e){const a=v(!1),s=y(()=>import("./LoginForm.c995d3d4.js"),["chunks/LoginForm.c995d3d4.js","chunks/runtime-dom.esm-bundler.62d623e7.js","chunks/preload-helper.f15ab524.js"]),o=x(()=>s),c=n=>{s.then(()=>{a.value=!a.value,n.preventDefault()})};return(n,l)=>(u(),_(O,null,[i("div",{onClick:c},[m(n.$slots,"toggle",F(B({isVisible:a.value})),()=>[i("a",{href:e.accountUrl,title:r($)},[i("div",{class:g(e.accountIconClass)},null,2)],8,N)])]),f(j,{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=d=>a.value=d),class:"login-offcanvas"},{default:h(()=>[m(n.$slots,"form",{},()=>[f(r(o),{class:"w-80"})])]),_:3},8,["modelValue"])],64))}});export{X as _,J as a,G as b,H as c,Q as d,S as e,q as f,K as i};
@@ -0,0 +1 @@
1
+ function Sn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const Zr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Qr=Sn(Zr);function ks(e){return!!e||e===""}function en(e){if(H(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=oe(s)?ti(s):en(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(oe(e))return e;if(te(e))return e}}const Gr=/;(?![^(]*\))/g,ei=/:(.+)/;function ti(e){const t={};return e.split(Gr).forEach(n=>{if(n){const s=n.split(ei);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function tn(e){let t="";if(oe(e))t=e;else if(H(e))for(let n=0;n<e.length;n++){const s=tn(e[n]);s&&(t+=s+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ml(e){if(!e)return null;let{class:t,style:n}=e;return t&&!oe(t)&&(e.class=tn(t)),n&&(e.style=en(n)),e}const Il=e=>oe(e)?e:e==null?"":H(e)||te(e)&&(e.toString===zs||!D(e.toString))?JSON.stringify(e,Ws,2):String(e),Ws=(e,t)=>t&&t.__v_isRef?Ws(e,t.value):ot(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Vs(t)?{[`Set(${t.size})`]:[...t.values()]}:te(t)&&!H(t)&&!Js(t)?String(t):t,Q={},it=[],Ae=()=>{},ni=()=>!1,si=/^on[^a-z]/,Pt=e=>si.test(e),Bn=e=>e.startsWith("onUpdate:"),fe=Object.assign,jn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ri=Object.prototype.hasOwnProperty,V=(e,t)=>ri.call(e,t),H=Array.isArray,ot=e=>nn(e)==="[object Map]",Vs=e=>nn(e)==="[object Set]",D=e=>typeof e=="function",oe=e=>typeof e=="string",Dn=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",qs=e=>te(e)&&D(e.then)&&D(e.catch),zs=Object.prototype.toString,nn=e=>zs.call(e),ii=e=>nn(e).slice(8,-1),Js=e=>nn(e)==="[object Object]",$n=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ct=Sn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),sn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},oi=/-(\w)/g,ut=sn(e=>e.replace(oi,(t,n)=>n?n.toUpperCase():"")),li=/\B([A-Z])/g,pt=sn(e=>e.replace(li,"-$1").toLowerCase()),Ys=sn(e=>e.charAt(0).toUpperCase()+e.slice(1)),hn=sn(e=>e?`on${Ys(e)}`:""),At=(e,t)=>!Object.is(e,t),kt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Vt=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},qt=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ls;const fi=()=>ls||(ls=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Me;class ci{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Me&&(this.parent=Me,this.index=(Me.scopes||(Me.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Me;try{return Me=this,t()}finally{Me=n}}}on(){Me=this}off(){Me=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function ui(e,t=Me){t&&t.active&&t.effects.push(e)}const Un=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Xs=e=>(e.w&Ke)>0,Zs=e=>(e.n&Ke)>0,ai=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ke},di=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Xs(r)&&!Zs(r)?r.delete(e):t[n++]=r,r.w&=~Ke,r.n&=~Ke}t.length=n}},En=new WeakMap;let xt=0,Ke=1;const Tn=30;let Te;const et=Symbol(""),wn=Symbol("");class Kn{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,ui(this,s)}run(){if(!this.active)return this.fn();let t=Te,n=$e;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Te,Te=this,$e=!0,Ke=1<<++xt,xt<=Tn?ai(this):fs(this),this.fn()}finally{xt<=Tn&&di(this),Ke=1<<--xt,Te=this.parent,$e=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Te===this?this.deferStop=!0:this.active&&(fs(this),this.onStop&&this.onStop(),this.active=!1)}}function fs(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let $e=!0;const Qs=[];function gt(){Qs.push($e),$e=!1}function mt(){const e=Qs.pop();$e=e===void 0?!0:e}function _e(e,t,n){if($e&&Te){let s=En.get(e);s||En.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Un()),Gs(r)}}function Gs(e,t){let n=!1;xt<=Tn?Zs(e)||(e.n|=Ke,n=!Xs(e)):n=!e.has(Te),n&&(e.add(Te),Te.deps.push(e))}function Re(e,t,n,s,r,i){const o=En.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&H(e))o.forEach((c,a)=>{(a==="length"||a>=s)&&l.push(c)});else switch(n!==void 0&&l.push(o.get(n)),t){case"add":H(e)?$n(n)&&l.push(o.get("length")):(l.push(o.get(et)),ot(e)&&l.push(o.get(wn)));break;case"delete":H(e)||(l.push(o.get(et)),ot(e)&&l.push(o.get(wn)));break;case"set":ot(e)&&l.push(o.get(et));break}if(l.length===1)l[0]&&An(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);An(Un(c))}}function An(e,t){const n=H(e)?e:[...e];for(const s of n)s.computed&&cs(s);for(const s of n)s.computed||cs(s)}function cs(e,t){(e!==Te||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const hi=Sn("__proto__,__v_isRef,__isVue"),er=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Dn)),pi=kn(),gi=kn(!1,!0),mi=kn(!0),us=_i();function _i(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=J(this);for(let i=0,o=this.length;i<o;i++)_e(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(J)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){gt();const s=J(this)[t].apply(this,n);return mt(),s}}),e}function kn(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?Ri:ir:t?rr:sr).get(s))return s;const o=H(s);if(!e&&o&&V(us,r))return Reflect.get(us,r,i);const l=Reflect.get(s,r,i);return(Dn(r)?er.has(r):hi(r))||(e||_e(s,"get",r),t)?l:le(l)?o&&$n(r)?l:l.value:te(l)?e?or(l):qn(l):l}}const bi=tr(),yi=tr(!0);function tr(e=!1){return function(n,s,r,i){let o=n[s];if(at(o)&&le(o)&&!le(r))return!1;if(!e&&(!zt(r)&&!at(r)&&(o=J(o),r=J(r)),!H(n)&&le(o)&&!le(r)))return o.value=r,!0;const l=H(n)&&$n(s)?Number(s)<n.length:V(n,s),c=Reflect.set(n,s,r,i);return n===J(i)&&(l?At(r,o)&&Re(n,"set",s,r):Re(n,"add",s,r)),c}}function xi(e,t){const n=V(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Re(e,"delete",t,void 0),s}function Ci(e,t){const n=Reflect.has(e,t);return(!Dn(t)||!er.has(t))&&_e(e,"has",t),n}function Ei(e){return _e(e,"iterate",H(e)?"length":et),Reflect.ownKeys(e)}const nr={get:pi,set:bi,deleteProperty:xi,has:Ci,ownKeys:Ei},Ti={get:mi,set(e,t){return!0},deleteProperty(e,t){return!0}},wi=fe({},nr,{get:gi,set:yi}),Wn=e=>e,rn=e=>Reflect.getPrototypeOf(e);function St(e,t,n=!1,s=!1){e=e.__v_raw;const r=J(e),i=J(t);n||(t!==i&&_e(r,"get",t),_e(r,"get",i));const{has:o}=rn(r),l=s?Wn:n?Jn:vt;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function Bt(e,t=!1){const n=this.__v_raw,s=J(n),r=J(e);return t||(e!==r&&_e(s,"has",e),_e(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function jt(e,t=!1){return e=e.__v_raw,!t&&_e(J(e),"iterate",et),Reflect.get(e,"size",e)}function as(e){e=J(e);const t=J(this);return rn(t).has.call(t,e)||(t.add(e),Re(t,"add",e,e)),this}function ds(e,t){t=J(t);const n=J(this),{has:s,get:r}=rn(n);let i=s.call(n,e);i||(e=J(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?At(t,o)&&Re(n,"set",e,t):Re(n,"add",e,t),this}function hs(e){const t=J(this),{has:n,get:s}=rn(t);let r=n.call(t,e);r||(e=J(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&Re(t,"delete",e,void 0),i}function ps(){const e=J(this),t=e.size!==0,n=e.clear();return t&&Re(e,"clear",void 0,void 0),n}function Dt(e,t){return function(s,r){const i=this,o=i.__v_raw,l=J(o),c=t?Wn:e?Jn:vt;return!e&&_e(l,"iterate",et),o.forEach((a,h)=>s.call(r,c(a),c(h),i))}}function $t(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),o=ot(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,a=r[e](...s),h=n?Wn:t?Jn:vt;return!t&&_e(i,"iterate",c?wn:et),{next(){const{value:b,done:y}=a.next();return y?{value:b,done:y}:{value:l?[h(b[0]),h(b[1])]:h(b),done:y}},[Symbol.iterator](){return this}}}}function He(e){return function(...t){return e==="delete"?!1:this}}function Ai(){const e={get(i){return St(this,i)},get size(){return jt(this)},has:Bt,add:as,set:ds,delete:hs,clear:ps,forEach:Dt(!1,!1)},t={get(i){return St(this,i,!1,!0)},get size(){return jt(this)},has:Bt,add:as,set:ds,delete:hs,clear:ps,forEach:Dt(!1,!0)},n={get(i){return St(this,i,!0)},get size(){return jt(this,!0)},has(i){return Bt.call(this,i,!0)},add:He("add"),set:He("set"),delete:He("delete"),clear:He("clear"),forEach:Dt(!0,!1)},s={get(i){return St(this,i,!0,!0)},get size(){return jt(this,!0)},has(i){return Bt.call(this,i,!0)},add:He("add"),set:He("set"),delete:He("delete"),clear:He("clear"),forEach:Dt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=$t(i,!1,!1),n[i]=$t(i,!0,!1),t[i]=$t(i,!1,!0),s[i]=$t(i,!0,!0)}),[e,n,t,s]}const[vi,Fi,Mi,Ii]=Ai();function Vn(e,t){const n=t?e?Ii:Mi:e?Fi:vi;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(V(n,r)&&r in s?n:s,r,i)}const Oi={get:Vn(!1,!1)},Pi={get:Vn(!1,!0)},Ni={get:Vn(!0,!1)},sr=new WeakMap,rr=new WeakMap,ir=new WeakMap,Ri=new WeakMap;function Li(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hi(e){return e.__v_skip||!Object.isExtensible(e)?0:Li(ii(e))}function qn(e){return at(e)?e:zn(e,!1,nr,Oi,sr)}function Si(e){return zn(e,!1,wi,Pi,rr)}function or(e){return zn(e,!0,Ti,Ni,ir)}function zn(e,t,n,s,r){if(!te(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Hi(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function lt(e){return at(e)?lt(e.__v_raw):!!(e&&e.__v_isReactive)}function at(e){return!!(e&&e.__v_isReadonly)}function zt(e){return!!(e&&e.__v_isShallow)}function lr(e){return lt(e)||at(e)}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function fr(e){return Vt(e,"__v_skip",!0),e}const vt=e=>te(e)?qn(e):e,Jn=e=>te(e)?or(e):e;function cr(e){$e&&Te&&(e=J(e),Gs(e.dep||(e.dep=Un())))}function ur(e,t){e=J(e),e.dep&&An(e.dep)}function le(e){return!!(e&&e.__v_isRef===!0)}function pn(e){return Bi(e,!1)}function Bi(e,t){return le(e)?e:new ji(e,t)}class ji{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:vt(t)}get value(){return cr(this),this._value}set value(t){const n=this.__v_isShallow||zt(t)||at(t);t=n?t:J(t),At(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:vt(t),ur(this))}}function Di(e){return le(e)?e.value:e}const $i={get:(e,t,n)=>Di(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return le(r)&&!le(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ar(e){return lt(e)?e:new Proxy(e,$i)}class Ui{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Ol(e,t,n){const s=e[t];return le(s)?s:new Ui(e,t,n)}var dr;class Ki{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[dr]=!1,this._dirty=!0,this.effect=new Kn(t,()=>{this._dirty||(this._dirty=!0,ur(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=J(this);return cr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}dr="__v_isReadonly";function ki(e,t,n=!1){let s,r;const i=D(e);return i?(s=e,r=Ae):(s=e.get,r=e.set),new Ki(s,r,i||!r,n)}function Ue(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){Nt(i,t,n)}return r}function xe(e,t,n,s){if(D(e)){const i=Ue(e,t,n,s);return i&&qs(i)&&i.catch(o=>{Nt(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(xe(e[i],t,n,s));return r}function Nt(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,l=n;for(;i;){const a=i.ec;if(a){for(let h=0;h<a.length;h++)if(a[h](e,o,l)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){Ue(c,null,10,[e,o,l]);return}}Wi(e,n,r,s)}function Wi(e,t,n,s=!0){console.error(e)}let Ft=!1,vn=!1;const ce=[];let Oe=0;const ft=[];let Ne=null,Xe=0;const hr=Promise.resolve();let Yn=null;function Vi(e){const t=Yn||hr;return e?t.then(this?e.bind(this):e):t}function qi(e){let t=Oe+1,n=ce.length;for(;t<n;){const s=t+n>>>1;Mt(ce[s])<e?t=s+1:n=s}return t}function on(e){(!ce.length||!ce.includes(e,Ft&&e.allowRecurse?Oe+1:Oe))&&(e.id==null?ce.push(e):ce.splice(qi(e.id),0,e),pr())}function pr(){!Ft&&!vn&&(vn=!0,Yn=hr.then(gr))}function zi(e){const t=ce.indexOf(e);t>Oe&&ce.splice(t,1)}function Ji(e){H(e)?ft.push(...e):(!Ne||!Ne.includes(e,e.allowRecurse?Xe+1:Xe))&&ft.push(e),pr()}function gs(e,t=Ft?Oe+1:0){for(;t<ce.length;t++){const n=ce[t];n&&n.pre&&(ce.splice(t,1),t--,n())}}function Jt(e){if(ft.length){const t=[...new Set(ft)];if(ft.length=0,Ne){Ne.push(...t);return}for(Ne=t,Ne.sort((n,s)=>Mt(n)-Mt(s)),Xe=0;Xe<Ne.length;Xe++)Ne[Xe]();Ne=null,Xe=0}}const Mt=e=>e.id==null?1/0:e.id,Yi=(e,t)=>{const n=Mt(e)-Mt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function gr(e){vn=!1,Ft=!0,ce.sort(Yi);const t=Ae;try{for(Oe=0;Oe<ce.length;Oe++){const n=ce[Oe];n&&n.active!==!1&&Ue(n,null,14)}}finally{Oe=0,ce.length=0,Jt(),Ft=!1,Yn=null,(ce.length||ft.length)&&gr()}}function Xi(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Q;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const h=`${o==="modelValue"?"model":o}Modifiers`,{number:b,trim:y}=s[h]||Q;y&&(r=n.map(v=>v.trim())),b&&(r=n.map(qt))}let l,c=s[l=hn(t)]||s[l=hn(ut(t))];!c&&i&&(c=s[l=hn(pt(t))]),c&&xe(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,xe(a,e,6,r)}}function mr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!D(e)){const c=a=>{const h=mr(a,t,!0);h&&(l=!0,fe(o,h))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(te(e)&&s.set(e,null),null):(H(i)?i.forEach(c=>o[c]=null):fe(o,i),te(e)&&s.set(e,o),o)}function ln(e,t){return!e||!Pt(t)?!1:(t=t.slice(2).replace(/Once$/,""),V(e,t[0].toLowerCase()+t.slice(1))||V(e,pt(t))||V(e,t))}let de=null,_r=null;function Yt(e){const t=de;return de=e,_r=e&&e.type.__scopeId||null,t}function Zi(e,t=de,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&As(-1);const i=Yt(t),o=e(...r);return Yt(i),s._d&&As(1),o};return s._n=!0,s._c=!0,s._d=!0,s}function gn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:l,attrs:c,emit:a,render:h,renderCache:b,data:y,setupState:v,ctx:I,inheritAttrs:P}=e;let $,p;const x=Yt(e);try{if(n.shapeFlag&4){const B=r||s;$=Ee(h.call(B,B,b,i,v,y,I)),p=c}else{const B=t;$=Ee(B.length>1?B(i,{attrs:c,slots:l,emit:a}):B(i,null)),p=t.props?c:Qi(c)}}catch(B){Tt.length=0,Nt(B,e,1),$=re(me)}let L=$;if(p&&P!==!1){const B=Object.keys(p),{shapeFlag:W}=L;B.length&&W&7&&(o&&B.some(Bn)&&(p=Gi(p,o)),L=ke(L,p))}return n.dirs&&(L=ke(L),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&(L.transition=n.transition),$=L,Yt(x),$}const Qi=e=>{let t;for(const n in e)(n==="class"||n==="style"||Pt(n))&&((t||(t={}))[n]=e[n]);return t},Gi=(e,t)=>{const n={};for(const s in e)(!Bn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function eo(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?ms(s,o,a):!!o;if(c&8){const h=t.dynamicProps;for(let b=0;b<h.length;b++){const y=h[b];if(o[y]!==s[y]&&!ln(a,y))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?ms(s,o,a):!0:!!o;return!1}function ms(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!ln(n,i))return!0}return!1}function to({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const no=e=>e.__isSuspense;function br(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):Ji(e)}function so(e,t){if(ie){let n=ie.provides;const s=ie.parent&&ie.parent.provides;s===n&&(n=ie.provides=Object.create(s)),n[e]=t}}function mn(e,t,n=!1){const s=ie||de;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&D(t)?t.call(s.proxy):t}}function ro(e,t){return Xn(e,null,{flush:"post"})}const _s={};function _n(e,t,n){return Xn(e,t,n)}function Xn(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=Q){const l=ie;let c,a=!1,h=!1;if(le(e)?(c=()=>e.value,a=zt(e)):lt(e)?(c=()=>e,s=!0):H(e)?(h=!0,a=e.some(p=>lt(p)||zt(p)),c=()=>e.map(p=>{if(le(p))return p.value;if(lt(p))return Ge(p);if(D(p))return Ue(p,l,2)})):D(e)?t?c=()=>Ue(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return b&&b(),xe(e,l,3,[y])}:c=Ae,t&&s){const p=c;c=()=>Ge(p())}let b,y=p=>{b=$.onStop=()=>{Ue(p,l,4)}};if(ht)return y=Ae,t?n&&xe(t,l,3,[c(),h?[]:void 0,y]):c(),Ae;let v=h?[]:_s;const I=()=>{if(!!$.active)if(t){const p=$.run();(s||a||(h?p.some((x,L)=>At(x,v[L])):At(p,v)))&&(b&&b(),xe(t,l,3,[p,v===_s?void 0:v,y]),v=p)}else $.run()};I.allowRecurse=!!t;let P;r==="sync"?P=I:r==="post"?P=()=>he(I,l&&l.suspense):(I.pre=!0,l&&(I.id=l.uid),P=()=>on(I));const $=new Kn(c,P);return t?n?I():v=$.run():r==="post"?he($.run.bind($),l&&l.suspense):$.run(),()=>{$.stop(),l&&l.scope&&jn(l.scope.effects,$)}}function io(e,t,n){const s=this.proxy,r=oe(e)?e.includes(".")?yr(s,e):()=>s[e]:e.bind(s,s);let i;D(t)?i=t:(i=t.handler,n=t);const o=ie;dt(this);const l=Xn(r,i.bind(s),n);return o?dt(o):tt(),l}function yr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function Ge(e,t){if(!te(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),le(e))Ge(e.value,t);else if(H(e))for(let n=0;n<e.length;n++)Ge(e[n],t);else if(Vs(e)||ot(e))e.forEach(n=>{Ge(n,t)});else if(Js(e))for(const n in e)Ge(e[n],t);return e}function oo(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Zn(()=>{e.isMounted=!0}),wr(()=>{e.isUnmounting=!0}),e}const be=[Function,Array],lo={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:be,onEnter:be,onAfterEnter:be,onEnterCancelled:be,onBeforeLeave:be,onLeave:be,onAfterLeave:be,onLeaveCancelled:be,onBeforeAppear:be,onAppear:be,onAfterAppear:be,onAppearCancelled:be},setup(e,{slots:t}){const n=Ur(),s=oo();let r;return()=>{const i=t.default&&Er(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const P of i)if(P.type!==me){o=P;break}}const l=J(e),{mode:c}=l;if(s.isLeaving)return bn(o);const a=bs(o);if(!a)return bn(o);const h=Fn(a,l,s,n);Mn(a,h);const b=n.subTree,y=b&&bs(b);let v=!1;const{getTransitionKey:I}=a.type;if(I){const P=I();r===void 0?r=P:P!==r&&(r=P,v=!0)}if(y&&y.type!==me&&(!Ze(a,y)||v)){const P=Fn(y,l,s,n);if(Mn(y,P),c==="out-in")return s.isLeaving=!0,P.afterLeave=()=>{s.isLeaving=!1,n.update()},bn(o);c==="in-out"&&a.type!==me&&(P.delayLeave=($,p,x)=>{const L=Cr(s,y);L[String(y.key)]=y,$._leaveCb=()=>{p(),$._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=x})}return o}}},xr=lo;function Cr(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Fn(e,t,n,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:b,onLeave:y,onAfterLeave:v,onLeaveCancelled:I,onBeforeAppear:P,onAppear:$,onAfterAppear:p,onAppearCancelled:x}=t,L=String(e.key),B=Cr(n,e),W=(A,U)=>{A&&xe(A,s,9,U)},Z=(A,U)=>{const j=U[1];W(A,U),H(A)?A.every(z=>z.length<=1)&&j():A.length<=1&&j()},q={mode:i,persisted:o,beforeEnter(A){let U=l;if(!n.isMounted)if(r)U=P||l;else return;A._leaveCb&&A._leaveCb(!0);const j=B[L];j&&Ze(e,j)&&j.el._leaveCb&&j.el._leaveCb(),W(U,[A])},enter(A){let U=c,j=a,z=h;if(!n.isMounted)if(r)U=$||c,j=p||a,z=x||h;else return;let F=!1;const K=A._enterCb=O=>{F||(F=!0,O?W(z,[A]):W(j,[A]),q.delayedLeave&&q.delayedLeave(),A._enterCb=void 0)};U?Z(U,[A,K]):K()},leave(A,U){const j=String(e.key);if(A._enterCb&&A._enterCb(!0),n.isUnmounting)return U();W(b,[A]);let z=!1;const F=A._leaveCb=K=>{z||(z=!0,U(),K?W(I,[A]):W(v,[A]),A._leaveCb=void 0,B[j]===e&&delete B[j])};B[j]=e,y?Z(y,[A,F]):F()},clone(A){return Fn(A,t,n,s)}};return q}function bn(e){if(Rt(e))return e=ke(e),e.children=null,e}function bs(e){return Rt(e)?e.children?e.children[0]:void 0:e}function Mn(e,t){e.shapeFlag&6&&e.component?Mn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Er(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===ae?(o.patchFlag&128&&r++,s=s.concat(Er(o.children,t,l))):(t||o.type!==me)&&s.push(l!=null?ke(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function fo(e){return D(e)?{setup:e,name:e.name}:e}const ct=e=>!!e.type.__asyncLoader;function Pl(e){D(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:i,suspensible:o=!0,onError:l}=e;let c=null,a,h=0;const b=()=>(h++,c=null,y()),y=()=>{let v;return c||(v=c=t().catch(I=>{if(I=I instanceof Error?I:new Error(String(I)),l)return new Promise((P,$)=>{l(I,()=>P(b()),()=>$(I),h+1)});throw I}).then(I=>v!==c&&c?c:(I&&(I.__esModule||I[Symbol.toStringTag]==="Module")&&(I=I.default),a=I,I)))};return fo({name:"AsyncComponentWrapper",__asyncLoader:y,get __asyncResolved(){return a},setup(){const v=ie;if(a)return()=>yn(a,v);const I=x=>{c=null,Nt(x,v,13,!s)};if(o&&v.suspense||ht)return y().then(x=>()=>yn(x,v)).catch(x=>(I(x),()=>s?re(s,{error:x}):null));const P=pn(!1),$=pn(),p=pn(!!r);return r&&setTimeout(()=>{p.value=!1},r),i!=null&&setTimeout(()=>{if(!P.value&&!$.value){const x=new Error(`Async component timed out after ${i}ms.`);I(x),$.value=x}},i),y().then(()=>{P.value=!0,v.parent&&Rt(v.parent.vnode)&&on(v.parent.update)}).catch(x=>{I(x),$.value=x}),()=>{if(P.value&&a)return yn(a,v);if($.value&&s)return re(s,{error:$.value});if(n&&!p.value)return re(n)}}})}function yn(e,{vnode:{ref:t,props:n,children:s,shapeFlag:r},parent:i}){const o=re(e,n,s);return o.ref=t,o}const Rt=e=>e.type.__isKeepAlive;function co(e,t){Tr(e,"a",t)}function uo(e,t){Tr(e,"da",t)}function Tr(e,t,n=ie){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(fn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Rt(r.parent.vnode)&&ao(s,t,n,r),r=r.parent}}function ao(e,t,n,s){const r=fn(t,e,s,!0);Qn(()=>{jn(s[t],r)},n)}function fn(e,t,n=ie,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;gt(),dt(n);const l=xe(t,n,e,o);return tt(),mt(),l});return s?r.unshift(i):r.push(i),i}}const Le=e=>(t,n=ie)=>(!ht||e==="sp")&&fn(e,(...s)=>t(...s),n),ho=Le("bm"),Zn=Le("m"),po=Le("bu"),go=Le("u"),wr=Le("bum"),Qn=Le("um"),mo=Le("sp"),_o=Le("rtg"),bo=Le("rtc");function yo(e,t=ie){fn("ec",e,t)}function Nl(e,t){const n=de;if(n===null)return e;const s=un(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,l,c,a=Q]=t[i];D(o)&&(o={mounted:o,updated:o}),o.deep&&Ge(l),r.push({dir:o,instance:s,value:l,oldValue:void 0,arg:c,modifiers:a})}return e}function Ie(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(gt(),xe(c,n,8,[e.el,l,e,t]),mt())}}const xo=Symbol();function Rl(e,t,n={},s,r){if(de.isCE||de.parent&&ct(de.parent)&&de.parent.isCE)return re("slot",t==="default"?null:{name:t},s&&s());let i=e[t];i&&i._c&&(i._d=!1),Hr();const o=i&&Ar(i(n)),l=Br(ae,{key:n.key||o&&o.key||`_${t}`},o||(s?s():[]),o&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Ar(e){return e.some(t=>Gt(t)?!(t.type===me||t.type===ae&&!Ar(t.children)):!0)?e:null}const In=e=>e?Kr(e)?un(e)||e.proxy:In(e.parent):null,Xt=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>In(e.parent),$root:e=>In(e.root),$emit:e=>e.emit,$options:e=>Gn(e),$forceUpdate:e=>e.f||(e.f=()=>on(e.update)),$nextTick:e=>e.n||(e.n=Vi.bind(e.proxy)),$watch:e=>io.bind(e)}),Co={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(s!==Q&&V(s,t))return o[t]=1,s[t];if(r!==Q&&V(r,t))return o[t]=2,r[t];if((a=e.propsOptions[0])&&V(a,t))return o[t]=3,i[t];if(n!==Q&&V(n,t))return o[t]=4,n[t];On&&(o[t]=0)}}const h=Xt[t];let b,y;if(h)return t==="$attrs"&&_e(e,"get",t),h(e);if((b=l.__cssModules)&&(b=b[t]))return b;if(n!==Q&&V(n,t))return o[t]=4,n[t];if(y=c.config.globalProperties,V(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return r!==Q&&V(r,t)?(r[t]=n,!0):s!==Q&&V(s,t)?(s[t]=n,!0):V(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==Q&&V(e,o)||t!==Q&&V(t,o)||(l=i[0])&&V(l,o)||V(s,o)||V(Xt,o)||V(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:V(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let On=!0;function Eo(e){const t=Gn(e),n=e.proxy,s=e.ctx;On=!1,t.beforeCreate&&ys(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:a,created:h,beforeMount:b,mounted:y,beforeUpdate:v,updated:I,activated:P,deactivated:$,beforeDestroy:p,beforeUnmount:x,destroyed:L,unmounted:B,render:W,renderTracked:Z,renderTriggered:q,errorCaptured:A,serverPrefetch:U,expose:j,inheritAttrs:z,components:F,directives:K,filters:O}=t;if(a&&To(a,s,null,e.appContext.config.unwrapInjectedRef),o)for(const ne in o){const G=o[ne];D(G)&&(s[ne]=G.bind(n))}if(r){const ne=r.call(n,n);te(ne)&&(e.data=qn(ne))}if(On=!0,i)for(const ne in i){const G=i[ne],We=D(G)?G.bind(n,n):D(G.get)?G.get.bind(n,n):Ae,Lt=!D(G)&&D(G.set)?G.set.bind(n):Ae,Ve=Zo({get:We,set:Lt});Object.defineProperty(s,ne,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:ve=>Ve.value=ve})}if(l)for(const ne in l)vr(l[ne],s,n,ne);if(c){const ne=D(c)?c.call(n):c;Reflect.ownKeys(ne).forEach(G=>{so(G,ne[G])})}h&&ys(h,e,"c");function Y(ne,G){H(G)?G.forEach(We=>ne(We.bind(n))):G&&ne(G.bind(n))}if(Y(ho,b),Y(Zn,y),Y(po,v),Y(go,I),Y(co,P),Y(uo,$),Y(yo,A),Y(bo,Z),Y(_o,q),Y(wr,x),Y(Qn,B),Y(mo,U),H(j))if(j.length){const ne=e.exposed||(e.exposed={});j.forEach(G=>{Object.defineProperty(ne,G,{get:()=>n[G],set:We=>n[G]=We})})}else e.exposed||(e.exposed={});W&&e.render===Ae&&(e.render=W),z!=null&&(e.inheritAttrs=z),F&&(e.components=F),K&&(e.directives=K)}function To(e,t,n=Ae,s=!1){H(e)&&(e=Pn(e));for(const r in e){const i=e[r];let o;te(i)?"default"in i?o=mn(i.from||r,i.default,!0):o=mn(i.from||r):o=mn(i),le(o)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[r]=o}}function ys(e,t,n){xe(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function vr(e,t,n,s){const r=s.includes(".")?yr(n,s):()=>n[s];if(oe(e)){const i=t[e];D(i)&&_n(r,i)}else if(D(e))_n(r,e.bind(n));else if(te(e))if(H(e))e.forEach(i=>vr(i,t,n,s));else{const i=D(e.handler)?e.handler.bind(n):t[e.handler];D(i)&&_n(r,i,e)}}function Gn(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>Zt(c,a,o,!0)),Zt(c,t,o)),te(t)&&i.set(t,c),c}function Zt(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Zt(e,i,n,!0),r&&r.forEach(o=>Zt(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=wo[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const wo={data:xs,props:Ye,emits:Ye,methods:Ye,computed:Ye,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Ye,directives:Ye,watch:vo,provide:xs,inject:Ao};function xs(e,t){return t?e?function(){return fe(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function Ao(e,t){return Ye(Pn(e),Pn(t))}function Pn(e){if(H(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function Ye(e,t){return e?fe(fe(Object.create(null),e),t):t}function vo(e,t){if(!e)return t;if(!t)return e;const n=fe(Object.create(null),e);for(const s in t)n[s]=ue(e[s],t[s]);return n}function Fo(e,t,n,s=!1){const r={},i={};Vt(i,cn,1),e.propsDefaults=Object.create(null),Fr(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Si(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Mo(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=J(r),[c]=e.propsOptions;let a=!1;if((s||o>0)&&!(o&16)){if(o&8){const h=e.vnode.dynamicProps;for(let b=0;b<h.length;b++){let y=h[b];if(ln(e.emitsOptions,y))continue;const v=t[y];if(c)if(V(i,y))v!==i[y]&&(i[y]=v,a=!0);else{const I=ut(y);r[I]=Nn(c,l,I,v,e,!1)}else v!==i[y]&&(i[y]=v,a=!0)}}}else{Fr(e,t,r,i)&&(a=!0);let h;for(const b in l)(!t||!V(t,b)&&((h=pt(b))===b||!V(t,h)))&&(c?n&&(n[b]!==void 0||n[h]!==void 0)&&(r[b]=Nn(c,l,b,void 0,e,!0)):delete r[b]);if(i!==l)for(const b in i)(!t||!V(t,b)&&!0)&&(delete i[b],a=!0)}a&&Re(e,"set","$attrs")}function Fr(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Ct(c))continue;const a=t[c];let h;r&&V(r,h=ut(c))?!i||!i.includes(h)?n[h]=a:(l||(l={}))[h]=a:ln(e.emitsOptions,c)||(!(c in s)||a!==s[c])&&(s[c]=a,o=!0)}if(i){const c=J(n),a=l||Q;for(let h=0;h<i.length;h++){const b=i[h];n[b]=Nn(r,c,b,a[b],e,!V(a,b))}}return o}function Nn(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=V(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&D(c)){const{propsDefaults:a}=r;n in a?s=a[n]:(dt(r),s=a[n]=c.call(null,t),tt())}else s=c}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===pt(n))&&(s=!0))}return s}function Mr(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!D(e)){const h=b=>{c=!0;const[y,v]=Mr(b,t,!0);fe(o,y),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!i&&!c)return te(e)&&s.set(e,it),it;if(H(i))for(let h=0;h<i.length;h++){const b=ut(i[h]);Cs(b)&&(o[b]=Q)}else if(i)for(const h in i){const b=ut(h);if(Cs(b)){const y=i[h],v=o[b]=H(y)||D(y)?{type:y}:y;if(v){const I=ws(Boolean,v.type),P=ws(String,v.type);v[0]=I>-1,v[1]=P<0||I<P,(I>-1||V(v,"default"))&&l.push(b)}}}const a=[o,l];return te(e)&&s.set(e,a),a}function Cs(e){return e[0]!=="$"}function Es(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Ts(e,t){return Es(e)===Es(t)}function ws(e,t){return H(t)?t.findIndex(n=>Ts(n,e)):D(t)&&Ts(t,e)?0:-1}const Ir=e=>e[0]==="_"||e==="$stable",es=e=>H(e)?e.map(Ee):[Ee(e)],Io=(e,t,n)=>{if(t._n)return t;const s=Zi((...r)=>es(t(...r)),n);return s._c=!1,s},Or=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Ir(r))continue;const i=e[r];if(D(i))t[r]=Io(r,i,s);else if(i!=null){const o=es(i);t[r]=()=>o}}},Pr=(e,t)=>{const n=es(t);e.slots.default=()=>n},Oo=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=J(t),Vt(t,"_",n)):Or(t,e.slots={})}else e.slots={},t&&Pr(e,t);Vt(e.slots,cn,1)},Po=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Q;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(fe(r,t),!n&&l===1&&delete r._):(i=!t.$stable,Or(t,r)),o=t}else t&&(Pr(e,t),o={default:1});if(i)for(const l in r)!Ir(l)&&!(l in o)&&delete r[l]};function Nr(){return{app:null,config:{isNativeTag:ni,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let No=0;function Ro(e,t){return function(s,r=null){D(s)||(s=Object.assign({},s)),r!=null&&!te(r)&&(r=null);const i=Nr(),o=new Set;let l=!1;const c=i.app={_uid:No++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Go,get config(){return i.config},set config(a){},use(a,...h){return o.has(a)||(a&&D(a.install)?(o.add(a),a.install(c,...h)):D(a)&&(o.add(a),a(c,...h))),c},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),c},component(a,h){return h?(i.components[a]=h,c):i.components[a]},directive(a,h){return h?(i.directives[a]=h,c):i.directives[a]},mount(a,h,b){if(!l){const y=re(s,r);return y.appContext=i,h&&t?t(y,a):e(y,a,b),l=!0,c._container=a,a.__vue_app__=c,un(y.component)||y.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(a,h){return i.provides[a]=h,c}};return c}}function Qt(e,t,n,s,r=!1){if(H(e)){e.forEach((y,v)=>Qt(y,t&&(H(t)?t[v]:t),n,s,r));return}if(ct(s)&&!r)return;const i=s.shapeFlag&4?un(s.component)||s.component.proxy:s.el,o=r?null:i,{i:l,r:c}=e,a=t&&t.r,h=l.refs===Q?l.refs={}:l.refs,b=l.setupState;if(a!=null&&a!==c&&(oe(a)?(h[a]=null,V(b,a)&&(b[a]=null)):le(a)&&(a.value=null)),D(c))Ue(c,l,12,[o,h]);else{const y=oe(c),v=le(c);if(y||v){const I=()=>{if(e.f){const P=y?h[c]:c.value;r?H(P)&&jn(P,i):H(P)?P.includes(i)||P.push(i):y?(h[c]=[i],V(b,c)&&(b[c]=h[c])):(c.value=[i],e.k&&(h[e.k]=c.value))}else y?(h[c]=o,V(b,c)&&(b[c]=o)):v&&(c.value=o,e.k&&(h[e.k]=o))};o?(I.id=-1,he(I,n)):I()}}}let Se=!1;const Ut=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Kt=e=>e.nodeType===8;function Lo(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:a}}=e,h=(p,x)=>{if(!x.hasChildNodes()){n(null,p,x),Jt(),x._vnode=p;return}Se=!1,b(x.firstChild,p,null,null,null),Jt(),x._vnode=p,Se&&console.error("Hydration completed but contains mismatches.")},b=(p,x,L,B,W,Z=!1)=>{const q=Kt(p)&&p.data==="[",A=()=>P(p,x,L,B,W,q),{type:U,ref:j,shapeFlag:z,patchFlag:F}=x;let K=p.nodeType;x.el=p,F===-2&&(Z=!1,x.dynamicChildren=null);let O=null;switch(U){case It:K!==3?x.children===""?(c(x.el=r(""),o(p),p),O=p):O=A():(p.data!==x.children&&(Se=!0,p.data=x.children),O=i(p));break;case me:K!==8||q?O=A():O=i(p);break;case Et:if(q&&(p=i(p),K=p.nodeType),K===1||K===3){O=p;const pe=!x.children.length;for(let Y=0;Y<x.staticCount;Y++)pe&&(x.children+=O.nodeType===1?O.outerHTML:O.data),Y===x.staticCount-1&&(x.anchor=O),O=i(O);return q?i(O):O}else A();break;case ae:q?O=I(p,x,L,B,W,Z):O=A();break;default:if(z&1)K!==1||x.type.toLowerCase()!==p.tagName.toLowerCase()?O=A():O=y(p,x,L,B,W,Z);else if(z&6){x.slotScopeIds=W;const pe=o(p);if(t(x,pe,null,L,B,Ut(pe),Z),O=q?$(p):i(p),O&&Kt(O)&&O.data==="teleport end"&&(O=i(O)),ct(x)){let Y;q?(Y=re(ae),Y.anchor=O?O.previousSibling:pe.lastChild):Y=p.nodeType===3?$r(""):re("div"),Y.el=p,x.component.subTree=Y}}else z&64?K!==8?O=A():O=x.type.hydrate(p,x,L,B,W,Z,e,v):z&128&&(O=x.type.hydrate(p,x,L,B,Ut(o(p)),W,Z,e,b))}return j!=null&&Qt(j,null,B,x),O},y=(p,x,L,B,W,Z)=>{Z=Z||!!x.dynamicChildren;const{type:q,props:A,patchFlag:U,shapeFlag:j,dirs:z}=x,F=q==="input"&&z||q==="option";if(F||U!==-1){if(z&&Ie(x,null,L,"created"),A)if(F||!Z||U&48)for(const O in A)(F&&O.endsWith("value")||Pt(O)&&!Ct(O))&&s(p,O,null,A[O],!1,void 0,L);else A.onClick&&s(p,"onClick",null,A.onClick,!1,void 0,L);let K;if((K=A&&A.onVnodeBeforeMount)&&ye(K,L,x),z&&Ie(x,null,L,"beforeMount"),((K=A&&A.onVnodeMounted)||z)&&br(()=>{K&&ye(K,L,x),z&&Ie(x,null,L,"mounted")},B),j&16&&!(A&&(A.innerHTML||A.textContent))){let O=v(p.firstChild,x,p,L,B,W,Z);for(;O;){Se=!0;const pe=O;O=O.nextSibling,l(pe)}}else j&8&&p.textContent!==x.children&&(Se=!0,p.textContent=x.children)}return p.nextSibling},v=(p,x,L,B,W,Z,q)=>{q=q||!!x.dynamicChildren;const A=x.children,U=A.length;for(let j=0;j<U;j++){const z=q?A[j]:A[j]=Ee(A[j]);if(p)p=b(p,z,B,W,Z,q);else{if(z.type===It&&!z.children)continue;Se=!0,n(null,z,L,null,B,W,Ut(L),Z)}}return p},I=(p,x,L,B,W,Z)=>{const{slotScopeIds:q}=x;q&&(W=W?W.concat(q):q);const A=o(p),U=v(i(p),x,A,L,B,W,Z);return U&&Kt(U)&&U.data==="]"?i(x.anchor=U):(Se=!0,c(x.anchor=a("]"),A,U),U)},P=(p,x,L,B,W,Z)=>{if(Se=!0,x.el=null,Z){const U=$(p);for(;;){const j=i(p);if(j&&j!==U)l(j);else break}}const q=i(p),A=o(p);return l(p),n(null,x,A,q,L,B,Ut(A),W),q},$=p=>{let x=0;for(;p;)if(p=i(p),p&&Kt(p)&&(p.data==="["&&x++,p.data==="]")){if(x===0)return i(p);x--}return p};return[h,b]}const he=br;function Ho(e){return Rr(e)}function So(e){return Rr(e,Lo)}function Rr(e,t){const n=fi();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:a,setElementText:h,parentNode:b,nextSibling:y,setScopeId:v=Ae,insertStaticContent:I}=e,P=(f,u,d,m=null,g=null,E=null,w=!1,C=null,T=!!u.dynamicChildren)=>{if(f===u)return;f&&!Ze(f,u)&&(m=Ht(f),ve(f,g,E,!0),f=null),u.patchFlag===-2&&(T=!1,u.dynamicChildren=null);const{type:_,ref:N,shapeFlag:M}=u;switch(_){case It:$(f,u,d,m);break;case me:p(f,u,d,m);break;case Et:f==null&&x(u,d,m,w);break;case ae:F(f,u,d,m,g,E,w,C,T);break;default:M&1?W(f,u,d,m,g,E,w,C,T):M&6?K(f,u,d,m,g,E,w,C,T):(M&64||M&128)&&_.process(f,u,d,m,g,E,w,C,T,nt)}N!=null&&g&&Qt(N,f&&f.ref,E,u||f,!u)},$=(f,u,d,m)=>{if(f==null)s(u.el=l(u.children),d,m);else{const g=u.el=f.el;u.children!==f.children&&a(g,u.children)}},p=(f,u,d,m)=>{f==null?s(u.el=c(u.children||""),d,m):u.el=f.el},x=(f,u,d,m)=>{[f.el,f.anchor]=I(f.children,u,d,m,f.el,f.anchor)},L=({el:f,anchor:u},d,m)=>{let g;for(;f&&f!==u;)g=y(f),s(f,d,m),f=g;s(u,d,m)},B=({el:f,anchor:u})=>{let d;for(;f&&f!==u;)d=y(f),r(f),f=d;r(u)},W=(f,u,d,m,g,E,w,C,T)=>{w=w||u.type==="svg",f==null?Z(u,d,m,g,E,w,C,T):U(f,u,g,E,w,C,T)},Z=(f,u,d,m,g,E,w,C)=>{let T,_;const{type:N,props:M,shapeFlag:R,transition:S,dirs:k}=f;if(T=f.el=o(f.type,E,M&&M.is,M),R&8?h(T,f.children):R&16&&A(f.children,T,null,m,g,E&&N!=="foreignObject",w,C),k&&Ie(f,null,m,"created"),M){for(const X in M)X!=="value"&&!Ct(X)&&i(T,X,null,M[X],E,f.children,m,g,Pe);"value"in M&&i(T,"value",null,M.value),(_=M.onVnodeBeforeMount)&&ye(_,m,f)}q(T,f,f.scopeId,w,m),k&&Ie(f,null,m,"beforeMount");const ee=(!g||g&&!g.pendingBranch)&&S&&!S.persisted;ee&&S.beforeEnter(T),s(T,u,d),((_=M&&M.onVnodeMounted)||ee||k)&&he(()=>{_&&ye(_,m,f),ee&&S.enter(T),k&&Ie(f,null,m,"mounted")},g)},q=(f,u,d,m,g)=>{if(d&&v(f,d),m)for(let E=0;E<m.length;E++)v(f,m[E]);if(g){let E=g.subTree;if(u===E){const w=g.vnode;q(f,w,w.scopeId,w.slotScopeIds,g.parent)}}},A=(f,u,d,m,g,E,w,C,T=0)=>{for(let _=T;_<f.length;_++){const N=f[_]=C?De(f[_]):Ee(f[_]);P(null,N,u,d,m,g,E,w,C)}},U=(f,u,d,m,g,E,w)=>{const C=u.el=f.el;let{patchFlag:T,dynamicChildren:_,dirs:N}=u;T|=f.patchFlag&16;const M=f.props||Q,R=u.props||Q;let S;d&&qe(d,!1),(S=R.onVnodeBeforeUpdate)&&ye(S,d,u,f),N&&Ie(u,f,d,"beforeUpdate"),d&&qe(d,!0);const k=g&&u.type!=="foreignObject";if(_?j(f.dynamicChildren,_,C,d,m,k,E):w||G(f,u,C,null,d,m,k,E,!1),T>0){if(T&16)z(C,u,M,R,d,m,g);else if(T&2&&M.class!==R.class&&i(C,"class",null,R.class,g),T&4&&i(C,"style",M.style,R.style,g),T&8){const ee=u.dynamicProps;for(let X=0;X<ee.length;X++){const se=ee[X],Ce=M[se],st=R[se];(st!==Ce||se==="value")&&i(C,se,Ce,st,g,f.children,d,m,Pe)}}T&1&&f.children!==u.children&&h(C,u.children)}else!w&&_==null&&z(C,u,M,R,d,m,g);((S=R.onVnodeUpdated)||N)&&he(()=>{S&&ye(S,d,u,f),N&&Ie(u,f,d,"updated")},m)},j=(f,u,d,m,g,E,w)=>{for(let C=0;C<u.length;C++){const T=f[C],_=u[C],N=T.el&&(T.type===ae||!Ze(T,_)||T.shapeFlag&70)?b(T.el):d;P(T,_,N,null,m,g,E,w,!0)}},z=(f,u,d,m,g,E,w)=>{if(d!==m){if(d!==Q)for(const C in d)!Ct(C)&&!(C in m)&&i(f,C,d[C],null,w,u.children,g,E,Pe);for(const C in m){if(Ct(C))continue;const T=m[C],_=d[C];T!==_&&C!=="value"&&i(f,C,_,T,w,u.children,g,E,Pe)}"value"in m&&i(f,"value",d.value,m.value)}},F=(f,u,d,m,g,E,w,C,T)=>{const _=u.el=f?f.el:l(""),N=u.anchor=f?f.anchor:l("");let{patchFlag:M,dynamicChildren:R,slotScopeIds:S}=u;S&&(C=C?C.concat(S):S),f==null?(s(_,d,m),s(N,d,m),A(u.children,d,N,g,E,w,C,T)):M>0&&M&64&&R&&f.dynamicChildren?(j(f.dynamicChildren,R,d,g,E,w,C),(u.key!=null||g&&u===g.subTree)&&Lr(f,u,!0)):G(f,u,d,N,g,E,w,C,T)},K=(f,u,d,m,g,E,w,C,T)=>{u.slotScopeIds=C,f==null?u.shapeFlag&512?g.ctx.activate(u,d,m,w,T):O(u,d,m,g,E,w,T):pe(f,u,T)},O=(f,u,d,m,g,E,w)=>{const C=f.component=Vo(f,m,g);if(Rt(f)&&(C.ctx.renderer=nt),qo(C),C.asyncDep){if(g&&g.registerDep(C,Y),!f.el){const T=C.subTree=re(me);p(null,T,u,d)}return}Y(C,f,u,d,g,E,w)},pe=(f,u,d)=>{const m=u.component=f.component;if(eo(f,u,d))if(m.asyncDep&&!m.asyncResolved){ne(m,u,d);return}else m.next=u,zi(m.update),m.update();else u.el=f.el,m.vnode=u},Y=(f,u,d,m,g,E,w)=>{const C=()=>{if(f.isMounted){let{next:N,bu:M,u:R,parent:S,vnode:k}=f,ee=N,X;qe(f,!1),N?(N.el=k.el,ne(f,N,w)):N=k,M&&kt(M),(X=N.props&&N.props.onVnodeBeforeUpdate)&&ye(X,S,N,k),qe(f,!0);const se=gn(f),Ce=f.subTree;f.subTree=se,P(Ce,se,b(Ce.el),Ht(Ce),f,g,E),N.el=se.el,ee===null&&to(f,se.el),R&&he(R,g),(X=N.props&&N.props.onVnodeUpdated)&&he(()=>ye(X,S,N,k),g)}else{let N;const{el:M,props:R}=u,{bm:S,m:k,parent:ee}=f,X=ct(u);if(qe(f,!1),S&&kt(S),!X&&(N=R&&R.onVnodeBeforeMount)&&ye(N,ee,u),qe(f,!0),M&&dn){const se=()=>{f.subTree=gn(f),dn(M,f.subTree,f,g,null)};X?u.type.__asyncLoader().then(()=>!f.isUnmounted&&se()):se()}else{const se=f.subTree=gn(f);P(null,se,d,m,f,g,E),u.el=se.el}if(k&&he(k,g),!X&&(N=R&&R.onVnodeMounted)){const se=u;he(()=>ye(N,ee,se),g)}(u.shapeFlag&256||ee&&ct(ee.vnode)&&ee.vnode.shapeFlag&256)&&f.a&&he(f.a,g),f.isMounted=!0,u=d=m=null}},T=f.effect=new Kn(C,()=>on(_),f.scope),_=f.update=()=>T.run();_.id=f.uid,qe(f,!0),_()},ne=(f,u,d)=>{u.component=f;const m=f.vnode.props;f.vnode=u,f.next=null,Mo(f,u.props,m,d),Po(f,u.children,d),gt(),gs(),mt()},G=(f,u,d,m,g,E,w,C,T=!1)=>{const _=f&&f.children,N=f?f.shapeFlag:0,M=u.children,{patchFlag:R,shapeFlag:S}=u;if(R>0){if(R&128){Lt(_,M,d,m,g,E,w,C,T);return}else if(R&256){We(_,M,d,m,g,E,w,C,T);return}}S&8?(N&16&&Pe(_,g,E),M!==_&&h(d,M)):N&16?S&16?Lt(_,M,d,m,g,E,w,C,T):Pe(_,g,E,!0):(N&8&&h(d,""),S&16&&A(M,d,m,g,E,w,C,T))},We=(f,u,d,m,g,E,w,C,T)=>{f=f||it,u=u||it;const _=f.length,N=u.length,M=Math.min(_,N);let R;for(R=0;R<M;R++){const S=u[R]=T?De(u[R]):Ee(u[R]);P(f[R],S,d,null,g,E,w,C,T)}_>N?Pe(f,g,E,!0,!1,M):A(u,d,m,g,E,w,C,T,M)},Lt=(f,u,d,m,g,E,w,C,T)=>{let _=0;const N=u.length;let M=f.length-1,R=N-1;for(;_<=M&&_<=R;){const S=f[_],k=u[_]=T?De(u[_]):Ee(u[_]);if(Ze(S,k))P(S,k,d,null,g,E,w,C,T);else break;_++}for(;_<=M&&_<=R;){const S=f[M],k=u[R]=T?De(u[R]):Ee(u[R]);if(Ze(S,k))P(S,k,d,null,g,E,w,C,T);else break;M--,R--}if(_>M){if(_<=R){const S=R+1,k=S<N?u[S].el:m;for(;_<=R;)P(null,u[_]=T?De(u[_]):Ee(u[_]),d,k,g,E,w,C,T),_++}}else if(_>R)for(;_<=M;)ve(f[_],g,E,!0),_++;else{const S=_,k=_,ee=new Map;for(_=k;_<=R;_++){const ge=u[_]=T?De(u[_]):Ee(u[_]);ge.key!=null&&ee.set(ge.key,_)}let X,se=0;const Ce=R-k+1;let st=!1,rs=0;const _t=new Array(Ce);for(_=0;_<Ce;_++)_t[_]=0;for(_=S;_<=M;_++){const ge=f[_];if(se>=Ce){ve(ge,g,E,!0);continue}let Fe;if(ge.key!=null)Fe=ee.get(ge.key);else for(X=k;X<=R;X++)if(_t[X-k]===0&&Ze(ge,u[X])){Fe=X;break}Fe===void 0?ve(ge,g,E,!0):(_t[Fe-k]=_+1,Fe>=rs?rs=Fe:st=!0,P(ge,u[Fe],d,null,g,E,w,C,T),se++)}const is=st?Bo(_t):it;for(X=is.length-1,_=Ce-1;_>=0;_--){const ge=k+_,Fe=u[ge],os=ge+1<N?u[ge+1].el:m;_t[_]===0?P(null,Fe,d,os,g,E,w,C,T):st&&(X<0||_!==is[X]?Ve(Fe,d,os,2):X--)}}},Ve=(f,u,d,m,g=null)=>{const{el:E,type:w,transition:C,children:T,shapeFlag:_}=f;if(_&6){Ve(f.component.subTree,u,d,m);return}if(_&128){f.suspense.move(u,d,m);return}if(_&64){w.move(f,u,d,nt);return}if(w===ae){s(E,u,d);for(let M=0;M<T.length;M++)Ve(T[M],u,d,m);s(f.anchor,u,d);return}if(w===Et){L(f,u,d);return}if(m!==2&&_&1&&C)if(m===0)C.beforeEnter(E),s(E,u,d),he(()=>C.enter(E),g);else{const{leave:M,delayLeave:R,afterLeave:S}=C,k=()=>s(E,u,d),ee=()=>{M(E,()=>{k(),S&&S()})};R?R(E,k,ee):ee()}else s(E,u,d)},ve=(f,u,d,m=!1,g=!1)=>{const{type:E,props:w,ref:C,children:T,dynamicChildren:_,shapeFlag:N,patchFlag:M,dirs:R}=f;if(C!=null&&Qt(C,null,d,f,!0),N&256){u.ctx.deactivate(f);return}const S=N&1&&R,k=!ct(f);let ee;if(k&&(ee=w&&w.onVnodeBeforeUnmount)&&ye(ee,u,f),N&6)Xr(f.component,d,m);else{if(N&128){f.suspense.unmount(d,m);return}S&&Ie(f,null,u,"beforeUnmount"),N&64?f.type.remove(f,u,d,g,nt,m):_&&(E!==ae||M>0&&M&64)?Pe(_,u,d,!1,!0):(E===ae&&M&384||!g&&N&16)&&Pe(T,u,d),m&&ns(f)}(k&&(ee=w&&w.onVnodeUnmounted)||S)&&he(()=>{ee&&ye(ee,u,f),S&&Ie(f,null,u,"unmounted")},d)},ns=f=>{const{type:u,el:d,anchor:m,transition:g}=f;if(u===ae){Yr(d,m);return}if(u===Et){B(f);return}const E=()=>{r(d),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(f.shapeFlag&1&&g&&!g.persisted){const{leave:w,delayLeave:C}=g,T=()=>w(d,E);C?C(f.el,E,T):T()}else E()},Yr=(f,u)=>{let d;for(;f!==u;)d=y(f),r(f),f=d;r(u)},Xr=(f,u,d)=>{const{bum:m,scope:g,update:E,subTree:w,um:C}=f;m&&kt(m),g.stop(),E&&(E.active=!1,ve(w,f,u,d)),C&&he(C,u),he(()=>{f.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Pe=(f,u,d,m=!1,g=!1,E=0)=>{for(let w=E;w<f.length;w++)ve(f[w],u,d,m,g)},Ht=f=>f.shapeFlag&6?Ht(f.component.subTree):f.shapeFlag&128?f.suspense.next():y(f.anchor||f.el),ss=(f,u,d)=>{f==null?u._vnode&&ve(u._vnode,null,null,!0):P(u._vnode||null,f,u,null,null,null,d),gs(),Jt(),u._vnode=f},nt={p:P,um:ve,m:Ve,r:ns,mt:O,mc:A,pc:G,pbc:j,n:Ht,o:e};let an,dn;return t&&([an,dn]=t(nt)),{render:ss,hydrate:an,createApp:Ro(ss,an)}}function qe({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Lr(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=De(r[i]),l.el=o.el),n||Lr(o,l))}}function Bo(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const a=e[s];if(a!==0){if(r=n[n.length-1],e[r]<a){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<a?i=l+1:o=l;a<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const jo=e=>e.__isTeleport,ae=Symbol(void 0),It=Symbol(void 0),me=Symbol(void 0),Et=Symbol(void 0),Tt=[];let we=null;function Hr(e=!1){Tt.push(we=e?null:[])}function Do(){Tt.pop(),we=Tt[Tt.length-1]||null}let Ot=1;function As(e){Ot+=e}function Sr(e){return e.dynamicChildren=Ot>0?we||it:null,Do(),Ot>0&&we&&we.push(e),e}function Ll(e,t,n,s,r,i){return Sr(Dr(e,t,n,s,r,i,!0))}function Br(e,t,n,s,r){return Sr(re(e,t,n,s,r,!0))}function Gt(e){return e?e.__v_isVNode===!0:!1}function Ze(e,t){return e.type===t.type&&e.key===t.key}const cn="__vInternal",jr=({key:e})=>e??null,Wt=({ref:e,ref_key:t,ref_for:n})=>e!=null?oe(e)||le(e)||D(e)?{i:de,r:e,k:t,f:!!n}:e:null;function Dr(e,t=null,n=null,s=0,r=null,i=e===ae?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&jr(t),ref:t&&Wt(t),scopeId:_r,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(ts(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=oe(n)?8:16),Ot>0&&!o&&we&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&we.push(c),c}const re=$o;function $o(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===xo)&&(e=me),Gt(e)){const l=ke(e,t,!0);return n&&ts(l,n),Ot>0&&!i&&we&&(l.shapeFlag&6?we[we.indexOf(e)]=l:we.push(l)),l.patchFlag|=-2,l}if(Xo(e)&&(e=e.__vccOpts),t){t=Uo(t);let{class:l,style:c}=t;l&&!oe(l)&&(t.class=tn(l)),te(c)&&(lr(c)&&!H(c)&&(c=fe({},c)),t.style=en(c))}const o=oe(e)?1:no(e)?128:jo(e)?64:te(e)?4:D(e)?2:0;return Dr(e,t,n,s,r,o,i,!0)}function Uo(e){return e?lr(e)||cn in e?fe({},e):e:null}function ke(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,l=t?Ko(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&jr(l),ref:t&&t.ref?n&&r?H(r)?r.concat(Wt(t)):[r,Wt(t)]:Wt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ae?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ke(e.ssContent),ssFallback:e.ssFallback&&ke(e.ssFallback),el:e.el,anchor:e.anchor}}function $r(e=" ",t=0){return re(It,null,e,t)}function Hl(e="",t=!1){return t?(Hr(),Br(me,null,e)):re(me,null,e)}function Ee(e){return e==null||typeof e=="boolean"?re(me):H(e)?re(ae,null,e.slice()):typeof e=="object"?De(e):re(It,null,String(e))}function De(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ke(e)}function ts(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),ts(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(cn in t)?t._ctx=de:r===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else D(t)?(t={default:t,_ctx:de},n=32):(t=String(t),s&64?(n=16,t=[$r(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ko(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=tn([t.class,s.class]));else if(r==="style")t.style=en([t.style,s.style]);else if(Pt(r)){const i=t[r],o=s[r];o&&i!==o&&!(H(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function ye(e,t,n,s=null){xe(e,t,7,[n,s])}const ko=Nr();let Wo=0;function Vo(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||ko,i={uid:Wo++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new ci(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Mr(s,r),emitsOptions:mr(s,r),emit:null,emitted:null,propsDefaults:Q,inheritAttrs:s.inheritAttrs,ctx:Q,data:Q,props:Q,attrs:Q,slots:Q,refs:Q,setupState:Q,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Xi.bind(null,i),e.ce&&e.ce(i),i}let ie=null;const Ur=()=>ie||de,dt=e=>{ie=e,e.scope.on()},tt=()=>{ie&&ie.scope.off(),ie=null};function Kr(e){return e.vnode.shapeFlag&4}let ht=!1;function qo(e,t=!1){ht=t;const{props:n,children:s}=e.vnode,r=Kr(e);Fo(e,n,r,t),Oo(e,s);const i=r?zo(e,t):void 0;return ht=!1,i}function zo(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=fr(new Proxy(e.ctx,Co));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Yo(e):null;dt(e),gt();const i=Ue(s,e,0,[e.props,r]);if(mt(),tt(),qs(i)){if(i.then(tt,tt),t)return i.then(o=>{vs(e,o,t)}).catch(o=>{Nt(o,e,0)});e.asyncDep=i}else vs(e,i,t)}else kr(e,t)}function vs(e,t,n){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:te(t)&&(e.setupState=ar(t)),kr(e,n)}let Fs;function kr(e,t,n){const s=e.type;if(!e.render){if(!t&&Fs&&!s.render){const r=s.template||Gn(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=fe(fe({isCustomElement:i,delimiters:l},o),c);s.render=Fs(r,a)}}e.render=s.render||Ae}dt(e),gt(),Eo(e),mt(),tt()}function Jo(e){return new Proxy(e.attrs,{get(t,n){return _e(e,"get","$attrs"),t[n]}})}function Yo(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Jo(e))},slots:e.slots,emit:e.emit,expose:t}}function un(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ar(fr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Xt)return Xt[n](e)}}))}function Xo(e){return D(e)&&"__vccOpts"in e}const Zo=(e,t)=>ki(e,t,ht);function Qo(e,t,n){const s=arguments.length;return s===2?te(t)&&!H(t)?Gt(t)?re(e,null,[t]):re(e,t):re(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Gt(n)&&(n=[n]),re(e,t,n))}const Go="3.2.40",el="http://www.w3.org/2000/svg",Qe=typeof document<"u"?document:null,Ms=Qe&&Qe.createElement("template"),tl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?Qe.createElementNS(el,e):Qe.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Qe.createTextNode(e),createComment:e=>Qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Ms.innerHTML=s?`<svg>${e}</svg>`:e;const l=Ms.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function nl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function sl(e,t,n){const s=e.style,r=oe(n);if(n&&!r){for(const i in n)Rn(s,i,n[i]);if(t&&!oe(t))for(const i in t)n[i]==null&&Rn(s,i,"")}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Is=/\s*!important$/;function Rn(e,t,n){if(H(n))n.forEach(s=>Rn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=rl(e,t);Is.test(n)?e.setProperty(pt(s),n.replace(Is,""),"important"):e[s]=n}}const Os=["Webkit","Moz","ms"],xn={};function rl(e,t){const n=xn[t];if(n)return n;let s=ut(t);if(s!=="filter"&&s in e)return xn[t]=s;s=Ys(s);for(let r=0;r<Os.length;r++){const i=Os[r]+s;if(i in e)return xn[t]=i}return t}const Ps="http://www.w3.org/1999/xlink";function il(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Ps,t.slice(6,t.length)):e.setAttributeNS(Ps,t,n);else{const i=Qr(t);n==null||i&&!ks(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function ol(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const c=n??"";(e.value!==c||e.tagName==="OPTION")&&(e.value=c),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=ks(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}const[Wr,ll]=(()=>{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Ln=0;const fl=Promise.resolve(),cl=()=>{Ln=0},ul=()=>Ln||(fl.then(cl),Ln=Wr());function rt(e,t,n,s){e.addEventListener(t,n,s)}function al(e,t,n,s){e.removeEventListener(t,n,s)}function dl(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=hl(t);if(s){const a=i[t]=pl(s,r);rt(e,l,a,c)}else o&&(al(e,l,o,c),i[t]=void 0)}}const Ns=/(?:Once|Passive|Capture)$/;function hl(e){let t;if(Ns.test(e)){t={};let s;for(;s=e.match(Ns);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):pt(e.slice(2)),t]}function pl(e,t){const n=s=>{const r=s.timeStamp||Wr();(ll||r>=n.attached-1)&&xe(gl(s,n.value),t,5,[s])};return n.value=e,n.attached=ul(),n}function gl(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Rs=/^on[a-z]/,ml=(e,t,n,s,r=!1,i,o,l,c)=>{t==="class"?nl(e,s,r):t==="style"?sl(e,n,s):Pt(t)?Bn(t)||dl(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):_l(e,t,s,r))?ol(e,t,s,i,o,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),il(e,t,s,r))};function _l(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Rs.test(t)&&D(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Rs.test(t)&&oe(n)?!1:t in e}function Sl(e){const t=Ur();if(!t)return;const n=()=>Hn(t.subTree,e(t.proxy));ro(n),Zn(()=>{const s=new MutationObserver(n);s.observe(t.subTree.el.parentNode,{childList:!0}),Qn(()=>s.disconnect())})}function Hn(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Hn(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ls(e.el,t);else if(e.type===ae)e.children.forEach(n=>Hn(n,t));else if(e.type===Et){let{el:n,anchor:s}=e;for(;n&&(Ls(n,t),n!==s);)n=n.nextSibling}}function Ls(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const Be="transition",bt="animation",Vr=(e,{slots:t})=>Qo(xr,bl(e),t);Vr.displayName="Transition";const qr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Vr.props=fe({},xr.props,qr);const ze=(e,t=[])=>{H(e)?e.forEach(n=>n(...t)):e&&e(...t)},Hs=e=>e?H(e)?e.some(t=>t.length>1):e.length>1:!1;function bl(e){const t={};for(const F in e)F in qr||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=o,appearToClass:h=l,leaveFromClass:b=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,I=yl(r),P=I&&I[0],$=I&&I[1],{onBeforeEnter:p,onEnter:x,onEnterCancelled:L,onLeave:B,onLeaveCancelled:W,onBeforeAppear:Z=p,onAppear:q=x,onAppearCancelled:A=L}=t,U=(F,K,O)=>{Je(F,K?h:l),Je(F,K?a:o),O&&O()},j=(F,K)=>{F._isLeaving=!1,Je(F,b),Je(F,v),Je(F,y),K&&K()},z=F=>(K,O)=>{const pe=F?q:x,Y=()=>U(K,F,O);ze(pe,[K,Y]),Ss(()=>{Je(K,F?c:i),je(K,F?h:l),Hs(pe)||Bs(K,s,P,Y)})};return fe(t,{onBeforeEnter(F){ze(p,[F]),je(F,i),je(F,o)},onBeforeAppear(F){ze(Z,[F]),je(F,c),je(F,a)},onEnter:z(!1),onAppear:z(!0),onLeave(F,K){F._isLeaving=!0;const O=()=>j(F,K);je(F,b),El(),je(F,y),Ss(()=>{!F._isLeaving||(Je(F,b),je(F,v),Hs(B)||Bs(F,s,$,O))}),ze(B,[F,O])},onEnterCancelled(F){U(F,!1),ze(L,[F])},onAppearCancelled(F){U(F,!0),ze(A,[F])},onLeaveCancelled(F){j(F),ze(W,[F])}})}function yl(e){if(e==null)return null;if(te(e))return[Cn(e.enter),Cn(e.leave)];{const t=Cn(e);return[t,t]}}function Cn(e){return qt(e)}function je(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Je(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Ss(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let xl=0;function Bs(e,t,n,s){const r=e._endId=++xl,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Cl(e,t);if(!o)return s();const a=o+"end";let h=0;const b=()=>{e.removeEventListener(a,y),i()},y=v=>{v.target===e&&++h>=c&&b()};setTimeout(()=>{h<c&&b()},l+1),e.addEventListener(a,y)}function Cl(e,t){const n=window.getComputedStyle(e),s=I=>(n[I]||"").split(", "),r=s(Be+"Delay"),i=s(Be+"Duration"),o=js(r,i),l=s(bt+"Delay"),c=s(bt+"Duration"),a=js(l,c);let h=null,b=0,y=0;t===Be?o>0&&(h=Be,b=o,y=i.length):t===bt?a>0&&(h=bt,b=a,y=c.length):(b=Math.max(o,a),h=b>0?o>a?Be:bt:null,y=h?h===Be?i.length:c.length:0);const v=h===Be&&/\b(transform|all)(,|$)/.test(n[Be+"Property"]);return{type:h,timeout:b,propCount:y,hasTransform:v}}function js(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Ds(n)+Ds(e[s])))}function Ds(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function El(){return document.body.offsetHeight}const $s=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>kt(t,n):t};function Tl(e){e.target.composing=!0}function Us(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Bl={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=$s(r);const i=s||r.props&&r.props.type==="number";rt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=qt(l)),e._assign(l)}),n&&rt(e,"change",()=>{e.value=e.value.trim()}),t||(rt(e,"compositionstart",Tl),rt(e,"compositionend",Us),rt(e,"change",Us))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},i){if(e._assign=$s(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&qt(e.value)===t))return;const o=t??"";e.value!==o&&(e.value=o)}},wl=["ctrl","shift","alt","meta"],Al={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>wl.some(n=>e[`${n}Key`]&&!t.includes(n))},jl=(e,t)=>(n,...s)=>{for(let r=0;r<t.length;r++){const i=Al[t[r]];if(i&&i(n,t))return}return e(n,...s)},Dl={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):yt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),yt(e,!0),s.enter(e)):s.leave(e,()=>{yt(e,!1)}):yt(e,t))},beforeUnmount(e,{value:t}){yt(e,t)}};function yt(e,t){e.style.display=t?e._vod:"none"}const zr=fe({patchProp:ml},tl);let wt,Ks=!1;function vl(){return wt||(wt=Ho(zr))}function Fl(){return wt=Ks?wt:So(zr),Ks=!0,wt}const $l=(...e)=>{const t=vl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Jr(s);if(!r)return;const i=t._component;!D(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Ul=(...e)=>{const t=Fl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Jr(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function Jr(e){return oe(e)?document.querySelector(e):e}export{Dl as A,ae as F,Vr as T,Br as a,Zi as b,Zo as c,fo as d,Ll as e,Dr as f,jl as g,Rl as h,Hl as i,Sl as j,Pl as k,Ml as l,Uo as m,tn as n,Hr as o,re as p,Qo as q,pn as r,$l as s,Ol as t,Di as u,Ul as v,_n as w,Il as x,Nl as y,Bl as z};
@@ -1 +1 @@
1
- import{d as f,q as s,s as l,v as d}from"./chunks/runtime-dom.esm-bundler.4b976197.js";const p=f({props:{value:String,name:String},setup({name:t,value:e}){return e?()=>s("astro-slot",{name:t,innerHTML:e}):()=>null}}),S=t=>(e,a,o,{client:u})=>{if(delete a.class,!t.hasAttribute("ssr"))return;const i=e.name?`${e.name} Host`:void 0,r={};for(const[n,c]of Object.entries(o))r[n]=()=>s(p,{value:c,name:n==="default"?void 0:n});u==="only"?l({name:i,render:()=>s(e,a,r)}).mount(t,!1):d({name:i,render:()=>s(e,a,r)}).mount(t,!0)};export{S as default};
1
+ import{d as f,q as s,s as l,v as d}from"./chunks/runtime-dom.esm-bundler.62d623e7.js";const p=f({props:{value:String,name:String},setup({name:t,value:e}){return e?()=>s("astro-slot",{name:t,innerHTML:e}):()=>null}}),S=t=>(e,a,o,{client:u})=>{if(delete a.class,!t.hasAttribute("ssr"))return;const i=e.name?`${e.name} Host`:void 0,r={};for(const[n,c]of Object.entries(o))r[n]=()=>s(p,{value:c,name:n==="default"?void 0:n});u==="only"?l({name:i,render:()=>s(e,a,r)}).mount(t,!1):d({name:i,render:()=>s(e,a,r)}).mount(t,!0)};export{S as default};
@@ -1 +1 @@
1
- if(!self.define){let e,n={};const s=(s,i)=>(s=new URL(s+".js",i).href,n[s]||new Promise((n=>{if("document"in self){const e=document.createElement("script");e.src=s,e.onload=n,document.head.appendChild(e)}else e=s,importScripts(s),n()})).then((()=>{let e=n[s];if(!e)throw new Error(`Module ${s} didn’t register its module`);return e})));self.define=(i,r)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(n[o])return;let a={};const c=e=>s(e,o),u={module:{uri:o},exports:a,require:c};n[o]=Promise.all(i.map((e=>u[e]||c(e)))).then((e=>(r(...e),a)))}}define(["./workbox-6f0d1f78"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"chunks/LoginForm.c86d05cc.js",revision:null},{url:"chunks/LoginOffcanvas.794b9840.js",revision:null},{url:"chunks/preload-helper.f15ab524.js",revision:null},{url:"chunks/runtime-dom.esm-bundler.4b976197.js",revision:null},{url:"chunks/workbox-window.prod.es5.4b654ae6.js",revision:null},{url:"client.6db2fd63.js",revision:null},{url:"hoisted.71b2f749.js",revision:null},{url:"LoginOffcanvas.c2a47936.js",revision:null},{url:"page.3aa82516.js",revision:null},{url:"img/icon.png",revision:"791be7ee6538f26bb57bc31243a6e17e"},{url:"img/large-icon.png",revision:"0b35db516cfa7475b1c2f8c081e8d54d"},{url:"manifest.webmanifest",revision:"bed7dac4cf0dcea91307069b819ceec1"}],{ignoreURLParametersMatching:[/.*/]}),e.cleanupOutdatedCaches(),e.registerRoute(/^\/$/,new e.NetworkFirst,"GET"),e.registerRoute(/\/((?!(?:admin|assets|img)(\/|$))[^.]+)(\.(?!js|css|xml|txt|png|jpg|jpeg|webp|avif|svg|gif)[^.]+)*$/,new e.NetworkFirst({cacheName:"pages",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/assets\//,new e.StaleWhileRevalidate({cacheName:"assets",plugins:[]}),"GET"),e.registerRoute(/^\/_image$/,new e.StaleWhileRevalidate({cacheName:"sharp-images",plugins:[new e.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/img\/uploads\/.*\.(?:png|jpg|jpeg|webp|avif|svg|gif)$/,new e.StaleWhileRevalidate({cacheName:"cms-images",plugins:[new e.ExpirationPlugin({maxEntries:20,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/ecomplus\.io/,new e.NetworkFirst({cacheName:"store-api",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/normal\//,new e.CacheFirst({cacheName:"product-thumbnails",plugins:[new e.ExpirationPlugin({maxEntries:100,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/big\//,new e.CacheFirst({cacheName:"product-pictures",plugins:[new e.ExpirationPlugin({maxEntries:10,maxAgeSeconds:604800,purgeOnQuotaError:!0})]}),"GET")}));
1
+ if(!self.define){let e,n={};const s=(s,i)=>(s=new URL(s+".js",i).href,n[s]||new Promise((n=>{if("document"in self){const e=document.createElement("script");e.src=s,e.onload=n,document.head.appendChild(e)}else e=s,importScripts(s),n()})).then((()=>{let e=n[s];if(!e)throw new Error(`Module ${s} didn’t register its module`);return e})));self.define=(i,r)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(n[o])return;let a={};const c=e=>s(e,o),u={module:{uri:o},exports:a,require:c};n[o]=Promise.all(i.map((e=>u[e]||c(e)))).then((e=>(r(...e),a)))}}define(["./workbox-6f0d1f78"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"chunks/LoginForm.c995d3d4.js",revision:null},{url:"chunks/LoginOffcanvas.a1f3fe3b.js",revision:null},{url:"chunks/preload-helper.f15ab524.js",revision:null},{url:"chunks/runtime-dom.esm-bundler.62d623e7.js",revision:null},{url:"chunks/workbox-window.prod.es5.4b654ae6.js",revision:null},{url:"client.6736232b.js",revision:null},{url:"hoisted.71b2f749.js",revision:null},{url:"LoginOffcanvas.28d2f50c.js",revision:null},{url:"page.3aa82516.js",revision:null},{url:"img/icon.png",revision:"791be7ee6538f26bb57bc31243a6e17e"},{url:"img/large-icon.png",revision:"0b35db516cfa7475b1c2f8c081e8d54d"},{url:"manifest.webmanifest",revision:"bed7dac4cf0dcea91307069b819ceec1"}],{ignoreURLParametersMatching:[/.*/]}),e.cleanupOutdatedCaches(),e.registerRoute(/^\/$/,new e.NetworkFirst,"GET"),e.registerRoute(/\/((?!(?:admin|assets|img)(\/|$))[^.]+)(\.(?!js|css|xml|txt|png|jpg|jpeg|webp|avif|svg|gif)[^.]+)*$/,new e.NetworkFirst({cacheName:"pages",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/assets\//,new e.StaleWhileRevalidate({cacheName:"assets",plugins:[]}),"GET"),e.registerRoute(/^\/_image$/,new e.StaleWhileRevalidate({cacheName:"sharp-images",plugins:[new e.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/img\/uploads\/.*\.(?:png|jpg|jpeg|webp|avif|svg|gif)$/,new e.StaleWhileRevalidate({cacheName:"cms-images",plugins:[new e.ExpirationPlugin({maxEntries:20,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/ecomplus\.io/,new e.NetworkFirst({cacheName:"store-api",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/normal\//,new e.CacheFirst({cacheName:"product-thumbnails",plugins:[new e.ExpirationPlugin({maxEntries:100,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/big\//,new e.CacheFirst({cacheName:"product-pictures",plugins:[new e.ExpirationPlugin({maxEntries:10,maxAgeSeconds:604800,purgeOnQuotaError:!0})]}),"GET")}));
@@ -63,7 +63,7 @@ const _renderer1 = {
63
63
  renderToStaticMarkup: renderToStaticMarkup$1,
64
64
  };
65
65
 
66
- const ASTRO_VERSION = "1.3.0";
66
+ const ASTRO_VERSION = "1.3.1";
67
67
  function createDeprecatedFetchContentFn() {
68
68
  return () => {
69
69
  throw new Error("Deprecated: Astro.fetchContent() has been replaced with Astro.glob().");
@@ -100,10 +100,12 @@ function createAstro(filePathname, _site, projectRootStr) {
100
100
 
101
101
  const escapeHTML = escape;
102
102
  class HTMLBytes extends Uint8Array {
103
- get [Symbol.toStringTag]() {
103
+ }
104
+ Object.defineProperty(HTMLBytes.prototype, Symbol.toStringTag, {
105
+ get() {
104
106
  return "HTMLBytes";
105
107
  }
106
- }
108
+ });
107
109
  class HTMLString extends String {
108
110
  get [Symbol.toStringTag]() {
109
111
  return "HTMLString";
@@ -389,7 +391,9 @@ function extractDirectives(inputProps) {
389
391
  }
390
392
  }
391
393
  } else if (key === "class:list") {
392
- extracted.props[key.slice(0, -5)] = serializeListValue(value);
394
+ if (value) {
395
+ extracted.props[key.slice(0, -5)] = serializeListValue(value);
396
+ }
393
397
  } else {
394
398
  extracted.props[key] = value;
395
399
  }
@@ -736,7 +740,7 @@ const htmlBooleanAttributes = /^(allowfullscreen|async|autofocus|autoplay|contro
736
740
  const htmlEnumAttributes = /^(contenteditable|draggable|spellcheck|value)$/i;
737
741
  const svgEnumAttributes = /^(autoReverse|externalResourcesRequired|focusable|preserveAlpha)$/i;
738
742
  const STATIC_DIRECTIVES = /* @__PURE__ */ new Set(["set:html", "set:text"]);
739
- const toIdent = (k) => k.trim().replace(/(?:(?<!^)\b\w|\s+|[^\w]+)/g, (match, index) => {
743
+ const toIdent = (k) => k.trim().replace(/(?:(?!^)\b\w|\s+|[^\w]+)/g, (match, index) => {
740
744
  if (/[^\w]|\s/.test(match))
741
745
  return "";
742
746
  return index === 0 ? match : match.toUpperCase();
@@ -747,7 +751,7 @@ const toStyleString = (obj) => Object.entries(obj).map(([k, v]) => `${kebab(k)}:
747
751
  function defineScriptVars(vars) {
748
752
  let output = "";
749
753
  for (const [key, value] of Object.entries(vars)) {
750
- output += `let ${toIdent(key)} = ${JSON.stringify(value)};
754
+ output += `const ${toIdent(key)} = ${JSON.stringify(value)};
751
755
  `;
752
756
  }
753
757
  return markHTMLString(output);
@@ -13985,7 +13989,7 @@ function deserializeManifest(serializedManifest) {
13985
13989
  };
13986
13990
  }
13987
13991
 
13988
- const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"type":"endpoint","route":"/_image","pattern":"^\\/_image$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"../../node_modules/.pnpm/@astrojs+image@0.8.1/node_modules/@astrojs/image/dist/endpoint.js","pathname":"/_image","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...4826ec44.css"],"scripts":[{"type":"external","value":"hoisted.71b2f749.js"},{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/","type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...4826ec44.css"],"scripts":[{"type":"external","value":"hoisted.71b2f749.js"},{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/fallback","type":"page","pattern":"^\\/fallback\\/?$","segments":[[{"content":"fallback","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/fallback.astro","pathname":"/fallback","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/app","type":"page","pattern":"^\\/app\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/index.astro","pathname":"/app","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/app/account","type":"page","pattern":"^\\/app\\/account\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}],[{"content":"account","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/account.astro","pathname":"/app/account","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...4826ec44.css"],"scripts":[{"type":"external","value":"hoisted.71b2f749.js"},{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/[...slug]","type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","_meta":{"trailingSlash":"ignore"}}}],"site":"https://storefront-demo.e-com.plus/","base":"/","markdown":{"drafts":false,"syntaxHighlight":"shiki","shikiConfig":{"langs":[],"theme":"github-dark","wrap":false},"remarkPlugins":[],"rehypePlugins":[],"remarkRehype":{},"extendDefaultPlugins":false,"isAstroFlavoredMd":false},"pageMap":null,"renderers":[],"entryModules":{"\u0000@astrojs-ssr-virtual-entry":"entry.mjs","@astrojs/vue/client.js":"client.6db2fd63.js","/astro/hoisted.js?q=0":"hoisted.71b2f749.js","astro:scripts/page.js":"page.3aa82516.js","/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/components/LoginOffcanvas.vue":"LoginOffcanvas.c2a47936.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/components/LoginForm.vue":"chunks/LoginForm.c86d05cc.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/.pnpm/workbox-window@6.5.4/node_modules/workbox-window/build/workbox-window.prod.es5.mjs":"chunks/workbox-window.prod.es5.4b654ae6.js","astro:scripts/before-hydration.js":""},"assets":["/assets/_...4826ec44.css","/manifest.webmanifest","/registerSW.js","/LoginOffcanvas.c2a47936.js","/client.6db2fd63.js","/hoisted.71b2f749.js","/page.3aa82516.js","/robots.txt","/sw.js","/workbox-6f0d1f78.js","/admin/config.json","/assets/cms-preview.css","/assets/cms.css","/assets/cvv.png","/assets/img-placeholder.png","/assets/payments.png","/assets/ssl-safe.png","/chunks/LoginForm.c86d05cc.js","/chunks/LoginOffcanvas.794b9840.js","/chunks/preload-helper.f15ab524.js","/chunks/runtime-dom.esm-bundler.4b976197.js","/chunks/workbox-window.prod.es5.4b654ae6.js","/img/icon.png","/img/large-icon.png","/img/uploads/banner1.png","/img/uploads/banner2.png","/img/uploads/banner2.webp","/img/uploads/favicon.png","/img/uploads/headless.png","/img/uploads/headphone.png","/img/uploads/headphone.webp","/img/uploads/icon.png","/img/uploads/large-icon.png","/img/uploads/logo.png","/img/uploads/logo.webp","/img/uploads/og-image.png","/img/uploads/passion.png","/img/uploads/passion.webp","/img/uploads/pwa-reliable.png","/img/uploads/rect8589.png","/img/uploads/rect859.png","/img/uploads/rect89.png","/img/uploads/rect89.webp","/img/uploads/ssl-safe.png","/assets/icons/bootstrap-icons/font/storefront-icons.woff2","/assets/icons/feather-icons/font/storefront-icons.woff2","/assets/icons/font-awesome/font/storefront-icons.woff2","/assets/icons/line-awesome/font/storefront-icons.woff2","/assets/icons/tabler-icons/font/storefront-icons.woff2","/page.3aa82516.js","/~partytown/partytown-atomics.js","/~partytown/partytown-media.js","/~partytown/partytown-sw.js","/~partytown/partytown.js"]}), {
13992
+ const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"type":"endpoint","route":"/_image","pattern":"^\\/_image$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"../../node_modules/.pnpm/@astrojs+image@0.8.1/node_modules/@astrojs/image/dist/endpoint.js","pathname":"/_image","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...41f686e3.css"],"scripts":[{"type":"external","value":"hoisted.71b2f749.js"},{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/","type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...41f686e3.css"],"scripts":[{"type":"external","value":"hoisted.71b2f749.js"},{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/fallback","type":"page","pattern":"^\\/fallback\\/?$","segments":[[{"content":"fallback","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/fallback.astro","pathname":"/fallback","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/app","type":"page","pattern":"^\\/app\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/index.astro","pathname":"/app","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/app/account","type":"page","pattern":"^\\/app\\/account\\/?$","segments":[[{"content":"app","dynamic":false,"spread":false}],[{"content":"account","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/app/account.astro","pathname":"/app/account","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...41f686e3.css"],"scripts":[{"type":"external","value":"hoisted.71b2f749.js"},{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/[...slug]","type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","_meta":{"trailingSlash":"ignore"}}}],"site":"https://storefront-demo.e-com.plus/","base":"/","markdown":{"drafts":false,"syntaxHighlight":"shiki","shikiConfig":{"langs":[],"theme":"github-dark","wrap":false},"remarkPlugins":[],"rehypePlugins":[],"remarkRehype":{},"extendDefaultPlugins":false,"isAstroFlavoredMd":false},"pageMap":null,"renderers":[],"entryModules":{"\u0000@astrojs-ssr-virtual-entry":"entry.mjs","@astrojs/vue/client.js":"client.6736232b.js","/astro/hoisted.js?q=0":"hoisted.71b2f749.js","astro:scripts/page.js":"page.3aa82516.js","/@fs/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/components/LoginOffcanvas.vue":"LoginOffcanvas.28d2f50c.js","/home/leo/code/ecomplus/cloud-commerce/packages/storefront/src/lib/components/LoginForm.vue":"chunks/LoginForm.c995d3d4.js","/home/leo/code/ecomplus/cloud-commerce/node_modules/.pnpm/workbox-window@6.5.4/node_modules/workbox-window/build/workbox-window.prod.es5.mjs":"chunks/workbox-window.prod.es5.4b654ae6.js","astro:scripts/before-hydration.js":""},"assets":["/assets/_...41f686e3.css","/manifest.webmanifest","/registerSW.js","/LoginOffcanvas.28d2f50c.js","/client.6736232b.js","/hoisted.71b2f749.js","/page.3aa82516.js","/robots.txt","/sw.js","/workbox-6f0d1f78.js","/admin/config.json","/assets/cms-preview.css","/assets/cms.css","/assets/cvv.png","/assets/img-placeholder.png","/assets/payments.png","/assets/ssl-safe.png","/chunks/LoginForm.c995d3d4.js","/chunks/LoginOffcanvas.a1f3fe3b.js","/chunks/preload-helper.f15ab524.js","/chunks/runtime-dom.esm-bundler.62d623e7.js","/chunks/workbox-window.prod.es5.4b654ae6.js","/img/icon.png","/img/large-icon.png","/img/uploads/banner1.png","/img/uploads/banner2.png","/img/uploads/banner2.webp","/img/uploads/favicon.png","/img/uploads/headless.png","/img/uploads/headphone.png","/img/uploads/headphone.webp","/img/uploads/icon.png","/img/uploads/large-icon.png","/img/uploads/logo.png","/img/uploads/logo.webp","/img/uploads/og-image.png","/img/uploads/passion.png","/img/uploads/passion.webp","/img/uploads/pwa-reliable.png","/img/uploads/rect8589.png","/img/uploads/rect859.png","/img/uploads/rect89.png","/img/uploads/rect89.webp","/img/uploads/ssl-safe.png","/assets/icons/bootstrap-icons/font/storefront-icons.woff2","/assets/icons/feather-icons/font/storefront-icons.woff2","/assets/icons/font-awesome/font/storefront-icons.woff2","/assets/icons/line-awesome/font/storefront-icons.woff2","/assets/icons/tabler-icons/font/storefront-icons.woff2","/page.3aa82516.js","/~partytown/partytown-atomics.js","/~partytown/partytown-media.js","/~partytown/partytown-sw.js","/~partytown/partytown.js"]}), {
13989
13993
  pageMap: pageMap,
13990
13994
  renderers: renderers
13991
13995
  });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/storefront",
3
3
  "type": "module",
4
- "version": "0.0.107",
4
+ "version": "0.0.109",
5
5
  "description": "E-Com Plus Cloud Commerce storefront with Astro",
6
6
  "main": "src/index.js",
7
7
  "repository": {
@@ -27,10 +27,10 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@astrojs/image": "^0.8.1",
30
- "@astrojs/node": "^1.0.1",
30
+ "@astrojs/node": "^1.1.0",
31
31
  "@astrojs/partytown": "^1.0.0",
32
32
  "@astrojs/prefetch": "^0.0.7",
33
- "@astrojs/vue": "^1.0.2",
33
+ "@astrojs/vue": "^1.1.0",
34
34
  "@cloudcommerce/api": "workspace:*",
35
35
  "@cloudcommerce/config": "workspace:*",
36
36
  "@cloudcommerce/i18n": "workspace:*",
@@ -39,17 +39,20 @@
39
39
  "@iconify-json/heroicons": "^1.1.4",
40
40
  "@iconify-json/logos": "^1.1.16",
41
41
  "@nanostores/vue": "^0.6.0",
42
- "@unocss/preset-icons": "^0.45.23",
43
- "astro": "^1.3.0",
42
+ "@unocss/preset-icons": "^0.45.26",
43
+ "astro": "1.3.x",
44
44
  "color": "^4.2.3",
45
- "dotenv": "^16.0.2",
45
+ "dotenv": "^16.0.3",
46
46
  "firebase": "^9.10.0",
47
47
  "image-size": "^1.0.2",
48
48
  "nanostores": "^0.7.0",
49
49
  "rollup": "^2.79.1",
50
- "unocss": "^0.45.23",
51
- "vite": "^3.1.3",
50
+ "unocss": "^0.45.26",
51
+ "vite": "^3.1.4",
52
52
  "vite-plugin-pwa": "^0.13.1",
53
- "vue": "^3.2.39"
53
+ "vue": "^3.2.40"
54
+ },
55
+ "devDependencies": {
56
+ "@babel/core": "^7.19.3"
54
57
  }
55
58
  }
@@ -1,54 +1,74 @@
1
1
  <script lang="ts" setup>
2
- import { ref } from 'vue';
2
+ import { ref, watch } from 'vue';
3
3
  import {
4
4
  i19accessMyAccount,
5
5
  i19createAnAccount,
6
6
  i19enterWithPassword,
7
7
  i19iForgotMyPassword,
8
8
  i19password,
9
- i19send,
10
9
  i19sendLoginCodeByEmail,
10
+ i19signUp,
11
11
  } from '@i18n';
12
12
  import '../scripts/firebase-app';
13
13
  // eslint-disable-next-line import/order
14
14
  import {
15
15
  getAuth,
16
+ sendSignInLinkToEmail,
16
17
  signInWithEmailAndPassword,
17
18
  // isSignInWithEmailLink,
18
19
  // signInWithEmailLink,
19
20
  } from 'firebase/auth';
20
21
 
21
22
  const auth = getAuth();
22
- const isLinkSignIn = ref(false);
23
+ const isLinkSignIn = ref(true);
24
+ const isSignUp = ref(false);
25
+ watch(isSignUp, (_isSignUp) => {
26
+ if (_isSignUp) {
27
+ isLinkSignIn.value = true;
28
+ }
29
+ });
23
30
  const email = ref('');
24
31
  const password = ref('');
25
- const loginWithPassord = () => {
26
- signInWithEmailAndPassword(auth, email.value, password.value)
27
- .then((userCredential) => {
28
- const { user } = userCredential;
32
+ const submitLogin = async () => {
33
+ window.localStorage.setItem('emailForSignIn', email.value);
34
+ try {
35
+ if (isLinkSignIn.value) {
36
+ const url = new URL(window.location.toString());
37
+ url.searchParams.append('email', email.value);
38
+ await sendSignInLinkToEmail(auth, email.value, {
39
+ url: url.toString(),
40
+ handleCodeInApp: true,
41
+ });
42
+ } else {
43
+ const { user } = await signInWithEmailAndPassword(
44
+ auth,
45
+ email.value,
46
+ password.value,
47
+ );
29
48
  console.log(user);
30
- })
31
- .catch((error) => {
32
- console.warn(error.code);
33
- console.error(error);
34
- });
49
+ }
50
+ } catch (error) {
51
+ console.warn(error.code);
52
+ console.error(error);
53
+ }
35
54
  };
36
55
  </script>
37
56
 
38
57
  <template>
39
58
  <form
40
59
  class="login-form text-base"
41
- @submit.prevent="loginWithPassord"
60
+ @submit.prevent="submitLogin"
42
61
  >
62
+ <label v-if="isLinkSignIn" for="login-form-email">
63
+ {{ i19sendLoginCodeByEmail }}
64
+ </label>
43
65
  <input
66
+ id="login-form-email"
44
67
  type="email"
45
68
  placeholder="email@mail.com"
46
69
  v-model="email"
47
70
  required
48
71
  >
49
- <small v-if="isLinkSignIn">
50
- {{ i19sendLoginCodeByEmail }}
51
- </small>
52
72
  <input
53
73
  v-if="!isLinkSignIn"
54
74
  type="password"
@@ -57,24 +77,24 @@ const loginWithPassord = () => {
57
77
  v-model="password"
58
78
  required
59
79
  >
60
- <small v-show="!isLinkSignIn" class="text-right lowercase">
80
+ <small v-show="!isSignUp" class="text-right lowercase">
61
81
  <a
62
82
  href="#"
63
83
  class="text-muted"
64
- @click.prevent="isLinkSignIn = true"
84
+ @click.prevent="isLinkSignIn = !isLinkSignIn"
65
85
  >
66
- {{ i19iForgotMyPassword }}
86
+ {{ isLinkSignIn ? i19enterWithPassword : i19iForgotMyPassword }}
67
87
  </a>
68
88
  </small>
69
89
  <button type="submit">
70
- {{ isLinkSignIn ? i19send : i19accessMyAccount }}
90
+ {{ isSignUp ? i19signUp : i19accessMyAccount }}
71
91
  </button>
72
92
  <a
73
93
  href="#"
74
94
  class="block text-center"
75
- @click.prevent="isLinkSignIn = !isLinkSignIn"
95
+ @click.prevent="isSignUp = !isSignUp"
76
96
  >
77
- {{ isLinkSignIn ? i19enterWithPassword : i19createAnAccount }}
97
+ {{ isSignUp ? i19accessMyAccount : i19createAnAccount }}
78
98
  </a>
79
99
  </form>
80
100
  </template>
@@ -43,7 +43,7 @@ const { logo } = toRefs(props);
43
43
  </template>
44
44
 
45
45
  <style>
46
- .header a:not(:hover) [class^=i-] {
46
+ .header a:not(:hover) [class^="i-"] {
47
47
  color: var(--gray-accent);
48
48
  }
49
49
  </style>
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/types",
3
3
  "type": "module",
4
- "version": "0.0.107",
4
+ "version": "0.0.109",
5
5
  "description": "E-Com Plus Cloud Commerce reusable type definitions",
6
6
  "main": "index.ts",
7
7
  "repository": {
@@ -1 +0,0 @@
1
- import{_ as g}from"./preload-helper.f15ab524.js";import{d as p,r as v,w as k,t as V,c as C,a as E,b as h,T as w,o as u,e as _,f as i,u as r,g as L,h as m,n as y,i as b,j as A,k as x,l as F,m as B,p as f,F as O}from"./runtime-dom.esm-bundler.4b976197.js";/* empty css */const S="Acessar minha conta",P="Fechar",q="Criar uma conta",G="Entrar com senha",H="Esqueci minha senha",$="Minha conta e pedidos",J="Senha",K="Enviar",Q="Enviar c\xF3digo de acesso por e-mail",T=["open"],I=["aria-label","onClick"],M=p({__name:"AOffcanvas",props:{modelValue:{type:Boolean,default:!1},placement:{default:"end"}},emits:["update:modelValue"],setup(e,{emit:a}){const s=e;A(t=>({d23880fa:r(d)}));const o=()=>a("update:modelValue",!1),c=v(null),n=t=>{c.value?.contains(t.target)||o()},l=t=>{t.key==="Escape"&&o()};k(V(s,"modelValue"),async t=>{t?(document.body.style.maxWidth=`${document.body.offsetWidth}px`,document.body.style.overflow="hidden",setTimeout(()=>{document.addEventListener("click",n,{passive:!0}),document.addEventListener("keydown",l,{passive:!0})},500)):(document.removeEventListener("click",n),document.removeEventListener("keydown",l))});const d=C(()=>s.placement==="end"?"100%":"-100%");return(t,U)=>(u(),E(w,null,{default:h(()=>[e.modelValue?(u(),_("dialog",{key:0,class:y(["offcanvas p-0",e.placement==="end"?"justify-end":"justify-start"]),open:e.modelValue},[i("article",{ref_key:"article",ref:c,class:"rounded-none h-full max-h-screen m-0"},[i("a",{href:"#close","aria-label":r(P),class:"close","data-target":"modal-example",onClick:L(o,["prevent"])},null,8,I),m(t.$slots,"default",{},void 0,!0)],512)],10,T)):b("",!0)]),_:3}))}}),j=(e,a)=>{const s=e.__vccOpts||e;for(const[o,c]of a)s[o]=c;return s},N=j(M,[["__scopeId","data-v-8bddc837"]]),R=["href","title"],X=p({__name:"LoginOffcanvas",props:{accountUrl:{default:"/app/account"},accountIconClass:{default:"i-user-circle"}},setup(e){const a=v(!1),s=g(()=>import("./LoginForm.c86d05cc.js"),["chunks/LoginForm.c86d05cc.js","chunks/runtime-dom.esm-bundler.4b976197.js","chunks/preload-helper.f15ab524.js"]),o=x(()=>s),c=n=>{s.then(()=>{a.value=!a.value,n.preventDefault()})};return(n,l)=>(u(),_(O,null,[i("div",{onClick:c},[m(n.$slots,"toggle",F(B({isVisible:a.value})),()=>[i("a",{href:e.accountUrl,title:r($)},[i("div",{class:y(e.accountIconClass)},null,2)],8,R)])]),f(N,{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=d=>a.value=d),class:"login-offcanvas"},{default:h(()=>[m(n.$slots,"form",{},()=>[f(r(o),{class:"w-80"})])]),_:3},8,["modelValue"])],64))}});export{X as _,J as a,H as b,K as c,S as d,G as e,q as f,Q as i};