cloudcommerce 0.0.64 → 0.0.65
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.
- package/CHANGELOG.md +13 -0
- package/package.json +1 -1
- package/packages/api/package.json +1 -1
- package/packages/apps/correios/README.md +1 -1
- package/packages/apps/correios/lib-mjs/calculate-correios.mjs +2 -2
- package/packages/apps/correios/package.json +1 -1
- package/packages/apps/custom-shipping/CHANGELOG.md +1 -0
- package/packages/apps/custom-shipping/README.md +1 -0
- package/packages/apps/custom-shipping/lib/custom-shipping.d.ts +2 -0
- package/packages/apps/custom-shipping/lib/custom-shipping.js +6 -0
- package/packages/apps/custom-shipping/lib/custom-shipping.js.map +1 -0
- package/packages/apps/custom-shipping/lib/index.d.ts +1 -0
- package/packages/apps/custom-shipping/lib/index.js +2 -0
- package/packages/apps/custom-shipping/lib/index.js.map +1 -0
- package/packages/apps/custom-shipping/lib-mjs/calculate-custom-shipping.mjs +251 -0
- package/packages/apps/custom-shipping/package.json +27 -0
- package/packages/apps/custom-shipping/src/custom-shipping.ts +7 -0
- package/packages/apps/custom-shipping/src/index.ts +1 -0
- package/packages/apps/custom-shipping/tsconfig.json +6 -0
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/tiny-erp/README.md +1 -1
- package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js +9 -6
- package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js.map +1 -1
- package/packages/apps/tiny-erp/package.json +1 -1
- package/packages/apps/tiny-erp/src/integration/export-order-to-tiny.ts +9 -6
- package/packages/cli/package.json +1 -1
- package/packages/events/package.json +1 -1
- package/packages/firebase/lib/config.d.ts +3 -0
- package/packages/firebase/lib/config.js +3 -0
- package/packages/firebase/lib/config.js.map +1 -1
- package/packages/firebase/package.json +1 -1
- package/packages/firebase/src/config.ts +3 -0
- package/packages/modules/lib/firebase/call-app-module.js +5 -0
- package/packages/modules/lib/firebase/call-app-module.js.map +1 -1
- package/packages/modules/package.json +2 -1
- package/packages/modules/src/firebase/call-app-module.ts +5 -0
- package/packages/passport/package.json +1 -1
- package/packages/ssr/package.json +1 -1
- package/packages/storefront/astro.config.mjs +20 -0
- package/packages/storefront/dist/client/assets/_...0b5ebd52.css +1 -0
- package/packages/storefront/dist/client/assets/_...d4aa8aff.css +1 -0
- package/packages/storefront/dist/client/assets/index.5608ba47.css +1 -0
- package/packages/storefront/dist/client/client.dbac84dd.js +1 -0
- package/packages/storefront/dist/client/favicon.ico +0 -0
- package/packages/storefront/dist/client/page.3aa82516.js +1 -0
- package/packages/storefront/dist/client/~partytown/partytown-atomics.js +2 -0
- package/packages/storefront/dist/client/~partytown/partytown-media.js +2 -0
- package/packages/storefront/dist/client/~partytown/partytown-sw.js +2 -0
- package/packages/storefront/dist/client/~partytown/partytown.js +2 -0
- package/packages/storefront/dist/server/entry.mjs +1674 -0
- package/packages/storefront/package.json +7 -3
- package/packages/storefront/public/favicon.ico +0 -0
- package/packages/storefront/src/components/Card.astro +74 -0
- package/packages/storefront/src/layouts/Layout.astro +56 -0
- package/packages/storefront/src/pages/[...slug].astro +76 -0
- package/packages/storefront/src/pages/index.astro +82 -0
- package/packages/storefront/tsconfig.json +3 -0
- package/packages/types/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// https://github.com/import-js/eslint-plugin-import/issues/1810
|
|
2
|
+
/* eslint-disable import/no-unresolved */
|
|
3
|
+
import { defineConfig } from 'astro/config';
|
|
4
|
+
import node from '@astrojs/node';
|
|
5
|
+
import vue from '@astrojs/vue';
|
|
6
|
+
import partytown from '@astrojs/partytown';
|
|
7
|
+
import prefetch from '@astrojs/prefetch';
|
|
8
|
+
import sitemap from '@astrojs/sitemap';
|
|
9
|
+
|
|
10
|
+
// https://astro.build/config
|
|
11
|
+
export default defineConfig({
|
|
12
|
+
output: 'server',
|
|
13
|
+
adapter: node(),
|
|
14
|
+
integrations: [
|
|
15
|
+
vue(),
|
|
16
|
+
partytown(),
|
|
17
|
+
prefetch(),
|
|
18
|
+
sitemap(),
|
|
19
|
+
],
|
|
20
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--astro-gradient: linear-gradient(0deg,#4F39FA, #DA62C4)}h1:where(.astro-QB6KRBZ4){margin:2rem 0}main:where(.astro-QB6KRBZ4){margin:auto;padding:1em;max-width:60ch}.text-gradient:where(.astro-QB6KRBZ4){font-weight:900;background-image:var(--astro-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-size:100% 200%;background-position-y:100%;border-radius:.4rem;animation:pulse 4s ease-in-out infinite}@keyframes pulse{0%,to{background-position-y:0%}50%{background-position-y:80%}}.instructions:where(.astro-QB6KRBZ4){line-height:1.6;margin:1rem 0;background:#4F39FA;padding:1rem;border-radius:.4rem;color:var(--color-bg)}.instructions:where(.astro-QB6KRBZ4) code:where(.astro-QB6KRBZ4){font-size:.875em;border:.1em solid var(--color-border);border-radius:4px;padding:.15em .25em}.link-card-grid:where(.astro-QB6KRBZ4){display:grid;grid-template-columns:repeat(auto-fit,minmax(24ch,1fr));gap:1rem;padding:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--font-size-base: clamp(1rem, .34vw + .91rem, 1.19rem);--font-size-lg: clamp(1.2rem, .7vw + 1.2rem, 1.5rem);--font-size-xl: clamp(2.44rem, 2.38vw + 1.85rem, 3.75rem);--color-text: hsl(12, 5%, 4%);--color-bg: hsl(10, 21%, 95%);--color-border: hsl(17, 24%, 90%)}html{font-family:system-ui,sans-serif;font-size:var(--font-size-base);color:var(--color-text);background-color:var(--color-bg)}body{margin:0}h1{font-size:var(--font-size-xl)}h2{font-size:var(--font-size-lg)}code{font-family:Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--astro-gradient: linear-gradient(0deg,#4F39FA, #DA62C4)}h1:where(.astro-2COIDAMR){margin:2rem 0}main:where(.astro-2COIDAMR){margin:auto;padding:1em;max-width:60ch}.text-gradient:where(.astro-2COIDAMR){font-weight:900;background-image:var(--astro-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-size:100% 200%;background-position-y:100%;border-radius:.4rem;animation:pulse 4s ease-in-out infinite}@keyframes pulse{0%,to{background-position-y:0%}50%{background-position-y:80%}}.instructions:where(.astro-2COIDAMR){line-height:1.6;margin:1rem 0;background:#4F39FA;padding:1rem;border-radius:.4rem;color:var(--color-bg)}.instructions:where(.astro-2COIDAMR) code:where(.astro-2COIDAMR){font-size:.875em;border:.1em solid var(--color-border);border-radius:4px;padding:.15em .25em}.link-card-grid:where(.astro-2COIDAMR){display:grid;grid-template-columns:repeat(auto-fit,minmax(24ch,1fr));gap:1rem;padding:0}:root{--link-gradient: linear-gradient(45deg, #4F39FA, #DA62C4 30%, var(--color-border) 60%)}.link-card:where(.astro-ASCHB54V){list-style:none;display:flex;padding:.15rem;background-image:var(--link-gradient);background-size:400%;border-radius:.5rem;background-position:100%;transition:background-position .6s cubic-bezier(.22,1,.36,1)}.link-card:where(.astro-ASCHB54V)>a:where(.astro-ASCHB54V){width:100%;text-decoration:none;line-height:1.4;padding:1em 1.3em;border-radius:.35rem;color:var(--text-color);background-color:#fff;opacity:.8}h2:where(.astro-ASCHB54V){margin:0;transition:color .6s cubic-bezier(.22,1,.36,1)}p:where(.astro-ASCHB54V){margin-top:.75rem;margin-bottom:0}h2:where(.astro-ASCHB54V) span:where(.astro-ASCHB54V){display:inline-block;transition:transform .3s cubic-bezier(.22,1,.36,1)}.link-card:where(.astro-ASCHB54V):is(:hover,:focus-within){background-position:0}.link-card:where(.astro-ASCHB54V):is(:hover,:focus-within) h2:where(.astro-ASCHB54V){color:#4f39fa}.link-card:where(.astro-ASCHB54V):is(:hover,:focus-within) h2:where(.astro-ASCHB54V) span:where(.astro-ASCHB54V){transform:translate(2px)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function xn(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 dr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",hr=xn(dr);function _s(e){return!!e||e===""}function yn(e){if(R(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=se(s)?mr(s):yn(s);if(r)for(const l in r)t[l]=r[l]}return t}else{if(se(e))return e;if(re(e))return e}}const pr=/;(?![^(]*\))/g,gr=/:(.+)/;function mr(e){const t={};return e.split(pr).forEach(n=>{if(n){const s=n.split(gr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function wn(e){let t="";if(se(e))t=e;else if(R(e))for(let n=0;n<e.length;n++){const s=wn(e[n]);s&&(t+=s+" ")}else if(re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const W={},ut=[],ye=()=>{},_r=()=>!1,br=/^on[^a-z]/,wt=e=>br.test(e),En=e=>e.startsWith("onUpdate:"),oe=Object.assign,Tn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xr=Object.prototype.hasOwnProperty,U=(e,t)=>xr.call(e,t),R=Array.isArray,at=e=>Bt(e)==="[object Map]",yr=e=>Bt(e)==="[object Set]",H=e=>typeof e=="function",se=e=>typeof e=="string",Cn=e=>typeof e=="symbol",re=e=>e!==null&&typeof e=="object",bs=e=>re(e)&&H(e.then)&&H(e.catch),wr=Object.prototype.toString,Bt=e=>wr.call(e),Er=e=>Bt(e).slice(8,-1),Tr=e=>Bt(e)==="[object Object]",Fn=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,dt=xn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wt=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Cr=/-(\w)/g,Qe=Wt(e=>e.replace(Cr,(t,n)=>n?n.toUpperCase():"")),Fr=/\B([A-Z])/g,nt=Wt(e=>e.replace(Fr,"-$1").toLowerCase()),xs=Wt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qt=Wt(e=>e?`on${xs(e)}`:""),Ht=(e,t)=>!Object.is(e,t),Gt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},jt=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Mr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Jn;const Or=()=>Jn||(Jn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Te;class Pr{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Te&&(this.parent=Te,this.index=(Te.scopes||(Te.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Te;try{return Te=this,t()}finally{Te=n}}}on(){Te=this}off(){Te=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 Ar(e,t=Te){t&&t.active&&t.effects.push(e)}const Mn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ys=e=>(e.w&$e)>0,ws=e=>(e.n&$e)>0,Ir=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=$e},Rr=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];ys(r)&&!ws(r)?r.delete(e):t[n++]=r,r.w&=~$e,r.n&=~$e}t.length=n}},rn=new WeakMap;let ft=0,$e=1;const ln=30;let xe;const We=Symbol(""),on=Symbol("");class On{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ar(this,s)}run(){if(!this.active)return this.fn();let t=xe,n=Ue;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=xe,xe=this,Ue=!0,$e=1<<++ft,ft<=ln?Ir(this):Yn(this),this.fn()}finally{ft<=ln&&Rr(this),$e=1<<--ft,xe=this.parent,Ue=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){xe===this?this.deferStop=!0:this.active&&(Yn(this),this.onStop&&this.onStop(),this.active=!1)}}function Yn(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ue=!0;const Es=[];function st(){Es.push(Ue),Ue=!1}function rt(){const e=Es.pop();Ue=e===void 0?!0:e}function de(e,t,n){if(Ue&&xe){let s=rn.get(e);s||rn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Mn()),Ts(r)}}function Ts(e,t){let n=!1;ft<=ln?ws(e)||(e.n|=$e,n=!ys(e)):n=!e.has(xe),n&&(e.add(xe),xe.deps.push(e))}function Ae(e,t,n,s,r,l){const o=rn.get(e);if(!o)return;let f=[];if(t==="clear")f=[...o.values()];else if(n==="length"&&R(e))o.forEach((u,d)=>{(d==="length"||d>=s)&&f.push(u)});else switch(n!==void 0&&f.push(o.get(n)),t){case"add":R(e)?Fn(n)&&f.push(o.get("length")):(f.push(o.get(We)),at(e)&&f.push(o.get(on)));break;case"delete":R(e)||(f.push(o.get(We)),at(e)&&f.push(o.get(on)));break;case"set":at(e)&&f.push(o.get(We));break}if(f.length===1)f[0]&&fn(f[0]);else{const u=[];for(const d of f)d&&u.push(...d);fn(Mn(u))}}function fn(e,t){const n=R(e)?e:[...e];for(const s of n)s.computed&&Vn(s);for(const s of n)s.computed||Vn(s)}function Vn(e,t){(e!==xe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Nr=xn("__proto__,__v_isRef,__isVue"),Cs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Cn)),Hr=Pn(),jr=Pn(!1,!0),vr=Pn(!0),zn=Ur();function Ur(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=D(this);for(let l=0,o=this.length;l<o;l++)de(s,"get",l+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(D)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){st();const s=D(this)[t].apply(this,n);return rt(),s}}),e}function Pn(e=!1,t=!1){return function(s,r,l){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&l===(e?t?Qr:As:t?Ps:Os).get(s))return s;const o=R(s);if(!e&&o&&U(zn,r))return Reflect.get(zn,r,l);const f=Reflect.get(s,r,l);return(Cn(r)?Cs.has(r):Nr(r))||(e||de(s,"get",r),t)?f:ie(f)?o&&Fn(r)?f:f.value:re(f)?e?Is(f):Rn(f):f}}const Lr=Fs(),$r=Fs(!0);function Fs(e=!1){return function(n,s,r,l){let o=n[s];if(_t(o)&&ie(o)&&!ie(r))return!1;if(!e&&!_t(r)&&(cn(r)||(r=D(r),o=D(o)),!R(n)&&ie(o)&&!ie(r)))return o.value=r,!0;const f=R(n)&&Fn(s)?Number(s)<n.length:U(n,s),u=Reflect.set(n,s,r,l);return n===D(l)&&(f?Ht(r,o)&&Ae(n,"set",s,r):Ae(n,"add",s,r)),u}}function Dr(e,t){const n=U(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Ae(e,"delete",t,void 0),s}function Kr(e,t){const n=Reflect.has(e,t);return(!Cn(t)||!Cs.has(t))&&de(e,"has",t),n}function Br(e){return de(e,"iterate",R(e)?"length":We),Reflect.ownKeys(e)}const Ms={get:Hr,set:Lr,deleteProperty:Dr,has:Kr,ownKeys:Br},Wr={get:vr,set(e,t){return!0},deleteProperty(e,t){return!0}},Sr=oe({},Ms,{get:jr,set:$r}),An=e=>e,St=e=>Reflect.getPrototypeOf(e);function Tt(e,t,n=!1,s=!1){e=e.__v_raw;const r=D(e),l=D(t);n||(t!==l&&de(r,"get",t),de(r,"get",l));const{has:o}=St(r),f=s?An:n?jn:Hn;if(o.call(r,t))return f(e.get(t));if(o.call(r,l))return f(e.get(l));e!==r&&e.get(t)}function Ct(e,t=!1){const n=this.__v_raw,s=D(n),r=D(e);return t||(e!==r&&de(s,"has",e),de(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ft(e,t=!1){return e=e.__v_raw,!t&&de(D(e),"iterate",We),Reflect.get(e,"size",e)}function Xn(e){e=D(e);const t=D(this);return St(t).has.call(t,e)||(t.add(e),Ae(t,"add",e,e)),this}function Zn(e,t){t=D(t);const n=D(this),{has:s,get:r}=St(n);let l=s.call(n,e);l||(e=D(e),l=s.call(n,e));const o=r.call(n,e);return n.set(e,t),l?Ht(t,o)&&Ae(n,"set",e,t):Ae(n,"add",e,t),this}function kn(e){const t=D(this),{has:n,get:s}=St(t);let r=n.call(t,e);r||(e=D(e),r=n.call(t,e)),s&&s.call(t,e);const l=t.delete(e);return r&&Ae(t,"delete",e,void 0),l}function Qn(){const e=D(this),t=e.size!==0,n=e.clear();return t&&Ae(e,"clear",void 0,void 0),n}function Mt(e,t){return function(s,r){const l=this,o=l.__v_raw,f=D(o),u=t?An:e?jn:Hn;return!e&&de(f,"iterate",We),o.forEach((d,_)=>s.call(r,u(d),u(_),l))}}function Ot(e,t,n){return function(...s){const r=this.__v_raw,l=D(r),o=at(l),f=e==="entries"||e===Symbol.iterator&&o,u=e==="keys"&&o,d=r[e](...s),_=n?An:t?jn:Hn;return!t&&de(l,"iterate",u?on:We),{next(){const{value:w,done:F}=d.next();return F?{value:w,done:F}:{value:f?[_(w[0]),_(w[1])]:_(w),done:F}},[Symbol.iterator](){return this}}}}function Ne(e){return function(...t){return e==="delete"?!1:this}}function qr(){const e={get(l){return Tt(this,l)},get size(){return Ft(this)},has:Ct,add:Xn,set:Zn,delete:kn,clear:Qn,forEach:Mt(!1,!1)},t={get(l){return Tt(this,l,!1,!0)},get size(){return Ft(this)},has:Ct,add:Xn,set:Zn,delete:kn,clear:Qn,forEach:Mt(!1,!0)},n={get(l){return Tt(this,l,!0)},get size(){return Ft(this,!0)},has(l){return Ct.call(this,l,!0)},add:Ne("add"),set:Ne("set"),delete:Ne("delete"),clear:Ne("clear"),forEach:Mt(!0,!1)},s={get(l){return Tt(this,l,!0,!0)},get size(){return Ft(this,!0)},has(l){return Ct.call(this,l,!0)},add:Ne("add"),set:Ne("set"),delete:Ne("delete"),clear:Ne("clear"),forEach:Mt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=Ot(l,!1,!1),n[l]=Ot(l,!0,!1),t[l]=Ot(l,!1,!0),s[l]=Ot(l,!0,!0)}),[e,n,t,s]}const[Jr,Yr,Vr,zr]=qr();function In(e,t){const n=t?e?zr:Vr:e?Yr:Jr;return(s,r,l)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(U(n,r)&&r in s?n:s,r,l)}const Xr={get:In(!1,!1)},Zr={get:In(!1,!0)},kr={get:In(!0,!1)},Os=new WeakMap,Ps=new WeakMap,As=new WeakMap,Qr=new WeakMap;function Gr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function el(e){return e.__v_skip||!Object.isExtensible(e)?0:Gr(Er(e))}function Rn(e){return _t(e)?e:Nn(e,!1,Ms,Xr,Os)}function tl(e){return Nn(e,!1,Sr,Zr,Ps)}function Is(e){return Nn(e,!0,Wr,kr,As)}function Nn(e,t,n,s,r){if(!re(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=r.get(e);if(l)return l;const o=el(e);if(o===0)return e;const f=new Proxy(e,o===2?s:n);return r.set(e,f),f}function ke(e){return _t(e)?ke(e.__v_raw):!!(e&&e.__v_isReactive)}function _t(e){return!!(e&&e.__v_isReadonly)}function cn(e){return!!(e&&e.__v_isShallow)}function Rs(e){return ke(e)||_t(e)}function D(e){const t=e&&e.__v_raw;return t?D(t):e}function Ns(e){return jt(e,"__v_skip",!0),e}const Hn=e=>re(e)?Rn(e):e,jn=e=>re(e)?Is(e):e;function nl(e){Ue&&xe&&(e=D(e),Ts(e.dep||(e.dep=Mn())))}function sl(e,t){e=D(e),e.dep&&fn(e.dep)}function ie(e){return!!(e&&e.__v_isRef===!0)}function rl(e){return ie(e)?e.value:e}const ll={get:(e,t,n)=>rl(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ie(r)&&!ie(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Hs(e){return ke(e)?e:new Proxy(e,ll)}class il{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new On(t,()=>{this._dirty||(this._dirty=!0,sl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=D(this);return nl(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ol(e,t,n=!1){let s,r;const l=H(e);return l?(s=e,r=ye):(s=e.get,r=e.set),new il(s,r,l||!r,n)}function Le(e,t,n,s){let r;try{r=s?e(...s):e()}catch(l){qt(l,t,n)}return r}function we(e,t,n,s){if(H(e)){const l=Le(e,t,n,s);return l&&bs(l)&&l.catch(o=>{qt(o,t,n)}),l}const r=[];for(let l=0;l<e.length;l++)r.push(we(e[l],t,n,s));return r}function qt(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let l=t.parent;const o=t.proxy,f=n;for(;l;){const d=l.ec;if(d){for(let _=0;_<d.length;_++)if(d[_](e,o,f)===!1)return}l=l.parent}const u=t.appContext.config.errorHandler;if(u){Le(u,null,10,[e,o,f]);return}}fl(e,n,r,s)}function fl(e,t,n,s=!0){console.error(e)}let vt=!1,un=!1;const ue=[];let Oe=0;const ht=[];let ct=null,Ve=0;const pt=[];let je=null,ze=0;const js=Promise.resolve();let vn=null,an=null;function cl(e){const t=vn||js;return e?t.then(this?e.bind(this):e):t}function ul(e){let t=Oe+1,n=ue.length;for(;t<n;){const s=t+n>>>1;bt(ue[s])<e?t=s+1:n=s}return t}function vs(e){(!ue.length||!ue.includes(e,vt&&e.allowRecurse?Oe+1:Oe))&&e!==an&&(e.id==null?ue.push(e):ue.splice(ul(e.id),0,e),Us())}function Us(){!vt&&!un&&(un=!0,vn=js.then($s))}function al(e){const t=ue.indexOf(e);t>Oe&&ue.splice(t,1)}function Ls(e,t,n,s){R(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),Us()}function dl(e){Ls(e,ct,ht,Ve)}function hl(e){Ls(e,je,pt,ze)}function Jt(e,t=null){if(ht.length){for(an=t,ct=[...new Set(ht)],ht.length=0,Ve=0;Ve<ct.length;Ve++)ct[Ve]();ct=null,Ve=0,an=null,Jt(e,t)}}function Ut(e){if(Jt(),pt.length){const t=[...new Set(pt)];if(pt.length=0,je){je.push(...t);return}for(je=t,je.sort((n,s)=>bt(n)-bt(s)),ze=0;ze<je.length;ze++)je[ze]();je=null,ze=0}}const bt=e=>e.id==null?1/0:e.id;function $s(e){un=!1,vt=!0,Jt(e),ue.sort((n,s)=>bt(n)-bt(s));const t=ye;try{for(Oe=0;Oe<ue.length;Oe++){const n=ue[Oe];n&&n.active!==!1&&Le(n,null,14)}}finally{Oe=0,ue.length=0,Ut(),vt=!1,vn=null,(ue.length||ht.length||pt.length)&&$s(e)}}function pl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||W;let r=n;const l=t.startsWith("update:"),o=l&&t.slice(7);if(o&&o in s){const _=`${o==="modelValue"?"model":o}Modifiers`,{number:w,trim:F}=s[_]||W;F&&(r=n.map(I=>I.trim())),w&&(r=n.map(Mr))}let f,u=s[f=Qt(t)]||s[f=Qt(Qe(t))];!u&&l&&(u=s[f=Qt(nt(t))]),u&&we(u,e,6,r);const d=s[f+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,we(d,e,6,r)}}function Ds(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const l=e.emits;let o={},f=!1;if(!H(e)){const u=d=>{const _=Ds(d,t,!0);_&&(f=!0,oe(o,_))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!l&&!f?(s.set(e,null),null):(R(l)?l.forEach(u=>o[u]=null):oe(o,l),s.set(e,o),o)}function Yt(e,t){return!e||!wt(t)?!1:(t=t.slice(2).replace(/Once$/,""),U(e,t[0].toLowerCase()+t.slice(1))||U(e,nt(t))||U(e,t))}let Pe=null,Ks=null;function Lt(e){const t=Pe;return Pe=e,Ks=e&&e.type.__scopeId||null,t}function gl(e,t=Pe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&os(-1);const l=Lt(t),o=e(...r);return Lt(l),s._d&&os(1),o};return s._n=!0,s._c=!0,s._d=!0,s}function en(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:l,propsOptions:[o],slots:f,attrs:u,emit:d,render:_,renderCache:w,data:F,setupState:I,ctx:S,inheritAttrs:G}=e;let j,m;const T=Lt(e);try{if(n.shapeFlag&4){const L=r||s;j=be(_.call(L,L,w,l,I,F,S)),m=u}else{const L=t;j=be(L.length>1?L(l,{attrs:u,slots:f,emit:d}):L(l,null)),m=t.props?u:ml(u)}}catch(L){qt(L,e,1),j=ae(Ge)}let N=j;if(m&&G!==!1){const L=Object.keys(m),{shapeFlag:q}=N;L.length&&q&7&&(o&&L.some(En)&&(m=_l(m,o)),N=et(N,m))}return n.dirs&&(N=et(N),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition&&(N.transition=n.transition),j=N,Lt(T),j}const ml=e=>{let t;for(const n in e)(n==="class"||n==="style"||wt(n))&&((t||(t={}))[n]=e[n]);return t},_l=(e,t)=>{const n={};for(const s in e)(!En(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function bl(e,t,n){const{props:s,children:r,component:l}=e,{props:o,children:f,patchFlag:u}=t,d=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Gn(s,o,d):!!o;if(u&8){const _=t.dynamicProps;for(let w=0;w<_.length;w++){const F=_[w];if(o[F]!==s[F]&&!Yt(d,F))return!0}}}else return(r||f)&&(!f||!f.$stable)?!0:s===o?!1:s?o?Gn(s,o,d):!0:!!o;return!1}function Gn(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 l=s[r];if(t[l]!==e[l]&&!Yt(n,l))return!0}return!1}function xl({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const yl=e=>e.__isSuspense;function Bs(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):hl(e)}function wl(e,t){if(ne){let n=ne.provides;const s=ne.parent&&ne.parent.provides;s===n&&(n=ne.provides=Object.create(s)),n[e]=t}}function tn(e,t,n=!1){const s=ne||Pe;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&&H(t)?t.call(s.proxy):t}}const es={};function nn(e,t,n){return Ws(e,t,n)}function Ws(e,t,{immediate:n,deep:s,flush:r,onTrack:l,onTrigger:o}=W){const f=ne;let u,d=!1,_=!1;if(ie(e)?(u=()=>e.value,d=cn(e)):ke(e)?(u=()=>e,s=!0):R(e)?(_=!0,d=e.some(m=>ke(m)||cn(m)),u=()=>e.map(m=>{if(ie(m))return m.value;if(ke(m))return Xe(m);if(H(m))return Le(m,f,2)})):H(e)?t?u=()=>Le(e,f,2):u=()=>{if(!(f&&f.isUnmounted))return w&&w(),we(e,f,3,[F])}:u=ye,t&&s){const m=u;u=()=>Xe(m())}let w,F=m=>{w=j.onStop=()=>{Le(m,f,4)}};if(yt)return F=ye,t?n&&we(t,f,3,[u(),_?[]:void 0,F]):u(),ye;let I=_?[]:es;const S=()=>{if(!!j.active)if(t){const m=j.run();(s||d||(_?m.some((T,N)=>Ht(T,I[N])):Ht(m,I)))&&(w&&w(),we(t,f,3,[m,I===es?void 0:I,F]),I=m)}else j.run()};S.allowRecurse=!!t;let G;r==="sync"?G=S:r==="post"?G=()=>fe(S,f&&f.suspense):G=()=>dl(S);const j=new On(u,G);return t?n?S():I=j.run():r==="post"?fe(j.run.bind(j),f&&f.suspense):j.run(),()=>{j.stop(),f&&f.scope&&Tn(f.scope.effects,j)}}function El(e,t,n){const s=this.proxy,r=se(e)?e.includes(".")?Ss(s,e):()=>s[e]:e.bind(s,s);let l;H(t)?l=t:(l=t.handler,n=t);const o=ne;tt(this);const f=Ws(r,l.bind(s),n);return o?tt(o):Se(),f}function Ss(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 Xe(e,t){if(!re(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ie(e))Xe(e.value,t);else if(R(e))for(let n=0;n<e.length;n++)Xe(e[n],t);else if(yr(e)||at(e))e.forEach(n=>{Xe(n,t)});else if(Tr(e))for(const n in e)Xe(e[n],t);return e}function Tl(e){return H(e)?{setup:e,name:e.name}:e}const gt=e=>!!e.type.__asyncLoader,qs=e=>e.type.__isKeepAlive;function Cl(e,t){Js(e,"a",t)}function Fl(e,t){Js(e,"da",t)}function Js(e,t,n=ne){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Vt(t,s,n),n){let r=n.parent;for(;r&&r.parent;)qs(r.parent.vnode)&&Ml(s,t,n,r),r=r.parent}}function Ml(e,t,n,s){const r=Vt(t,e,s,!0);Ys(()=>{Tn(s[t],r)},n)}function Vt(e,t,n=ne,s=!1){if(n){const r=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;st(),tt(n);const f=we(t,n,e,o);return Se(),rt(),f});return s?r.unshift(l):r.push(l),l}}const Ie=e=>(t,n=ne)=>(!yt||e==="sp")&&Vt(e,t,n),Ol=Ie("bm"),Pl=Ie("m"),Al=Ie("bu"),Il=Ie("u"),Rl=Ie("bum"),Ys=Ie("um"),Nl=Ie("sp"),Hl=Ie("rtg"),jl=Ie("rtc");function vl(e,t=ne){Vt("ec",e,t)}function Ce(e,t,n,s){const r=e.dirs,l=t&&t.dirs;for(let o=0;o<r.length;o++){const f=r[o];l&&(f.oldValue=l[o].value);let u=f.dir[s];u&&(st(),we(u,n,8,[e.el,f,e,t]),rt())}}const Ul=Symbol(),dn=e=>e?lr(e)?Dn(e)||e.proxy:dn(e.parent):null,$t=oe(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=>dn(e.parent),$root:e=>dn(e.root),$emit:e=>e.emit,$options:e=>zs(e),$forceUpdate:e=>e.f||(e.f=()=>vs(e.update)),$nextTick:e=>e.n||(e.n=cl.bind(e.proxy)),$watch:e=>El.bind(e)}),Ll={get({_:e},t){const{ctx:n,setupState:s,data:r,props:l,accessCache:o,type:f,appContext:u}=e;let d;if(t[0]!=="$"){const I=o[t];if(I!==void 0)switch(I){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return l[t]}else{if(s!==W&&U(s,t))return o[t]=1,s[t];if(r!==W&&U(r,t))return o[t]=2,r[t];if((d=e.propsOptions[0])&&U(d,t))return o[t]=3,l[t];if(n!==W&&U(n,t))return o[t]=4,n[t];hn&&(o[t]=0)}}const _=$t[t];let w,F;if(_)return t==="$attrs"&&de(e,"get",t),_(e);if((w=f.__cssModules)&&(w=w[t]))return w;if(n!==W&&U(n,t))return o[t]=4,n[t];if(F=u.config.globalProperties,U(F,t))return F[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:l}=e;return r!==W&&U(r,t)?(r[t]=n,!0):s!==W&&U(s,t)?(s[t]=n,!0):U(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:l}},o){let f;return!!n[o]||e!==W&&U(e,o)||t!==W&&U(t,o)||(f=l[0])&&U(f,o)||U(s,o)||U($t,o)||U(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:U(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let hn=!0;function $l(e){const t=zs(e),n=e.proxy,s=e.ctx;hn=!1,t.beforeCreate&&ts(t.beforeCreate,e,"bc");const{data:r,computed:l,methods:o,watch:f,provide:u,inject:d,created:_,beforeMount:w,mounted:F,beforeUpdate:I,updated:S,activated:G,deactivated:j,beforeDestroy:m,beforeUnmount:T,destroyed:N,unmounted:L,render:q,renderTracked:Z,renderTriggered:V,errorCaptured:v,serverPrefetch:X,expose:ee,inheritAttrs:k,components:pe,directives:te,filters:P}=t;if(d&&Dl(d,s,null,e.appContext.config.unwrapInjectedRef),o)for(const Q in o){const J=o[Q];H(J)&&(s[Q]=J.bind(n))}if(r){const Q=r.call(n,n);re(Q)&&(e.data=Rn(Q))}if(hn=!0,l)for(const Q in l){const J=l[Q],Fe=H(J)?J.bind(n,n):H(J.get)?J.get.bind(n,n):ye,Xt=!H(J)&&H(J.set)?J.set.bind(n):ye,lt=hi({get:Fe,set:Xt});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>lt.value,set:qe=>lt.value=qe})}if(f)for(const Q in f)Vs(f[Q],s,n,Q);if(u){const Q=H(u)?u.call(n):u;Reflect.ownKeys(Q).forEach(J=>{wl(J,Q[J])})}_&&ts(_,e,"c");function z(Q,J){R(J)?J.forEach(Fe=>Q(Fe.bind(n))):J&&Q(J.bind(n))}if(z(Ol,w),z(Pl,F),z(Al,I),z(Il,S),z(Cl,G),z(Fl,j),z(vl,v),z(jl,Z),z(Hl,V),z(Rl,T),z(Ys,L),z(Nl,X),R(ee))if(ee.length){const Q=e.exposed||(e.exposed={});ee.forEach(J=>{Object.defineProperty(Q,J,{get:()=>n[J],set:Fe=>n[J]=Fe})})}else e.exposed||(e.exposed={});q&&e.render===ye&&(e.render=q),k!=null&&(e.inheritAttrs=k),pe&&(e.components=pe),te&&(e.directives=te)}function Dl(e,t,n=ye,s=!1){R(e)&&(e=pn(e));for(const r in e){const l=e[r];let o;re(l)?"default"in l?o=tn(l.from||r,l.default,!0):o=tn(l.from||r):o=tn(l),ie(o)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:f=>o.value=f}):t[r]=o}}function ts(e,t,n){we(R(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Vs(e,t,n,s){const r=s.includes(".")?Ss(n,s):()=>n[s];if(se(e)){const l=t[e];H(l)&&nn(r,l)}else if(H(e))nn(r,e.bind(n));else if(re(e))if(R(e))e.forEach(l=>Vs(l,t,n,s));else{const l=H(e.handler)?e.handler.bind(n):t[e.handler];H(l)&&nn(r,l,e)}}function zs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,f=l.get(t);let u;return f?u=f:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(d=>Dt(u,d,o,!0)),Dt(u,t,o)),l.set(t,u),u}function Dt(e,t,n,s=!1){const{mixins:r,extends:l}=t;l&&Dt(e,l,n,!0),r&&r.forEach(o=>Dt(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const f=Kl[o]||n&&n[o];e[o]=f?f(e[o],t[o]):t[o]}return e}const Kl={data:ns,props:Ke,emits:Ke,methods:Ke,computed:Ke,beforeCreate:le,created:le,beforeMount:le,mounted:le,beforeUpdate:le,updated:le,beforeDestroy:le,beforeUnmount:le,destroyed:le,unmounted:le,activated:le,deactivated:le,errorCaptured:le,serverPrefetch:le,components:Ke,directives:Ke,watch:Wl,provide:ns,inject:Bl};function ns(e,t){return t?e?function(){return oe(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function Bl(e,t){return Ke(pn(e),pn(t))}function pn(e){if(R(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function le(e,t){return e?[...new Set([].concat(e,t))]:t}function Ke(e,t){return e?oe(oe(Object.create(null),e),t):t}function Wl(e,t){if(!e)return t;if(!t)return e;const n=oe(Object.create(null),e);for(const s in t)n[s]=le(e[s],t[s]);return n}function Sl(e,t,n,s=!1){const r={},l={};jt(l,zt,1),e.propsDefaults=Object.create(null),Xs(e,t,r,l);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:tl(r):e.type.props?e.props=r:e.props=l,e.attrs=l}function ql(e,t,n,s){const{props:r,attrs:l,vnode:{patchFlag:o}}=e,f=D(r),[u]=e.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const _=e.vnode.dynamicProps;for(let w=0;w<_.length;w++){let F=_[w];if(Yt(e.emitsOptions,F))continue;const I=t[F];if(u)if(U(l,F))I!==l[F]&&(l[F]=I,d=!0);else{const S=Qe(F);r[S]=gn(u,f,S,I,e,!1)}else I!==l[F]&&(l[F]=I,d=!0)}}}else{Xs(e,t,r,l)&&(d=!0);let _;for(const w in f)(!t||!U(t,w)&&((_=nt(w))===w||!U(t,_)))&&(u?n&&(n[w]!==void 0||n[_]!==void 0)&&(r[w]=gn(u,f,w,void 0,e,!0)):delete r[w]);if(l!==f)for(const w in l)(!t||!U(t,w)&&!0)&&(delete l[w],d=!0)}d&&Ae(e,"set","$attrs")}function Xs(e,t,n,s){const[r,l]=e.propsOptions;let o=!1,f;if(t)for(let u in t){if(dt(u))continue;const d=t[u];let _;r&&U(r,_=Qe(u))?!l||!l.includes(_)?n[_]=d:(f||(f={}))[_]=d:Yt(e.emitsOptions,u)||(!(u in s)||d!==s[u])&&(s[u]=d,o=!0)}if(l){const u=D(n),d=f||W;for(let _=0;_<l.length;_++){const w=l[_];n[w]=gn(r,u,w,d[w],e,!U(d,w))}}return o}function gn(e,t,n,s,r,l){const o=e[n];if(o!=null){const f=U(o,"default");if(f&&s===void 0){const u=o.default;if(o.type!==Function&&H(u)){const{propsDefaults:d}=r;n in d?s=d[n]:(tt(r),s=d[n]=u.call(null,t),Se())}else s=u}o[0]&&(l&&!f?s=!1:o[1]&&(s===""||s===nt(n))&&(s=!0))}return s}function Zs(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const l=e.props,o={},f=[];let u=!1;if(!H(e)){const _=w=>{u=!0;const[F,I]=Zs(w,t,!0);oe(o,F),I&&f.push(...I)};!n&&t.mixins.length&&t.mixins.forEach(_),e.extends&&_(e.extends),e.mixins&&e.mixins.forEach(_)}if(!l&&!u)return s.set(e,ut),ut;if(R(l))for(let _=0;_<l.length;_++){const w=Qe(l[_]);ss(w)&&(o[w]=W)}else if(l)for(const _ in l){const w=Qe(_);if(ss(w)){const F=l[_],I=o[w]=R(F)||H(F)?{type:F}:F;if(I){const S=is(Boolean,I.type),G=is(String,I.type);I[0]=S>-1,I[1]=G<0||S<G,(S>-1||U(I,"default"))&&f.push(w)}}}const d=[o,f];return s.set(e,d),d}function ss(e){return e[0]!=="$"}function rs(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ls(e,t){return rs(e)===rs(t)}function is(e,t){return R(t)?t.findIndex(n=>ls(n,e)):H(t)&&ls(t,e)?0:-1}const ks=e=>e[0]==="_"||e==="$stable",Un=e=>R(e)?e.map(be):[be(e)],Jl=(e,t,n)=>{if(t._n)return t;const s=gl((...r)=>Un(t(...r)),n);return s._c=!1,s},Qs=(e,t,n)=>{const s=e._ctx;for(const r in e){if(ks(r))continue;const l=e[r];if(H(l))t[r]=Jl(r,l,s);else if(l!=null){const o=Un(l);t[r]=()=>o}}},Gs=(e,t)=>{const n=Un(t);e.slots.default=()=>n},Yl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=D(t),jt(t,"_",n)):Qs(t,e.slots={})}else e.slots={},t&&Gs(e,t);jt(e.slots,zt,1)},Vl=(e,t,n)=>{const{vnode:s,slots:r}=e;let l=!0,o=W;if(s.shapeFlag&32){const f=t._;f?n&&f===1?l=!1:(oe(r,t),!n&&f===1&&delete r._):(l=!t.$stable,Qs(t,r)),o=t}else t&&(Gs(e,t),o={default:1});if(l)for(const f in r)!ks(f)&&!(f in o)&&delete r[f]};function er(){return{app:null,config:{isNativeTag:_r,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 zl=0;function Xl(e,t){return function(s,r=null){H(s)||(s=Object.assign({},s)),r!=null&&!re(r)&&(r=null);const l=er(),o=new Set;let f=!1;const u=l.app={_uid:zl++,_component:s,_props:r,_container:null,_context:l,_instance:null,version:pi,get config(){return l.config},set config(d){},use(d,..._){return o.has(d)||(d&&H(d.install)?(o.add(d),d.install(u,..._)):H(d)&&(o.add(d),d(u,..._))),u},mixin(d){return l.mixins.includes(d)||l.mixins.push(d),u},component(d,_){return _?(l.components[d]=_,u):l.components[d]},directive(d,_){return _?(l.directives[d]=_,u):l.directives[d]},mount(d,_,w){if(!f){const F=ae(s,r);return F.appContext=l,_&&t?t(F,d):e(F,d,w),f=!0,u._container=d,d.__vue_app__=u,Dn(F.component)||F.component.proxy}},unmount(){f&&(e(null,u._container),delete u._container.__vue_app__)},provide(d,_){return l.provides[d]=_,u}};return u}}function Kt(e,t,n,s,r=!1){if(R(e)){e.forEach((F,I)=>Kt(F,t&&(R(t)?t[I]:t),n,s,r));return}if(gt(s)&&!r)return;const l=s.shapeFlag&4?Dn(s.component)||s.component.proxy:s.el,o=r?null:l,{i:f,r:u}=e,d=t&&t.r,_=f.refs===W?f.refs={}:f.refs,w=f.setupState;if(d!=null&&d!==u&&(se(d)?(_[d]=null,U(w,d)&&(w[d]=null)):ie(d)&&(d.value=null)),H(u))Le(u,f,12,[o,_]);else{const F=se(u),I=ie(u);if(F||I){const S=()=>{if(e.f){const G=F?_[u]:u.value;r?R(G)&&Tn(G,l):R(G)?G.includes(l)||G.push(l):F?(_[u]=[l],U(w,u)&&(w[u]=_[u])):(u.value=[l],e.k&&(_[e.k]=u.value))}else F?(_[u]=o,U(w,u)&&(w[u]=o)):I&&(u.value=o,e.k&&(_[e.k]=o))};o?(S.id=-1,fe(S,n)):S()}}}let He=!1;const Pt=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",At=e=>e.nodeType===8;function Zl(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:l,parentNode:o,remove:f,insert:u,createComment:d}}=e,_=(m,T)=>{if(!T.hasChildNodes()){n(null,m,T),Ut(),T._vnode=m;return}He=!1,w(T.firstChild,m,null,null,null),Ut(),T._vnode=m,He&&console.error("Hydration completed but contains mismatches.")},w=(m,T,N,L,q,Z=!1)=>{const V=At(m)&&m.data==="[",v=()=>G(m,T,N,L,q,V),{type:X,ref:ee,shapeFlag:k,patchFlag:pe}=T,te=m.nodeType;T.el=m,pe===-2&&(Z=!1,T.dynamicChildren=null);let P=null;switch(X){case xt:te!==3?T.children===""?(u(T.el=r(""),o(m),m),P=m):P=v():(m.data!==T.children&&(He=!0,m.data=T.children),P=l(m));break;case Ge:te!==8||V?P=v():P=l(m);break;case It:if(te!==1&&te!==3)P=v();else{P=m;const ge=!T.children.length;for(let z=0;z<T.staticCount;z++)ge&&(T.children+=P.nodeType===1?P.outerHTML:P.data),z===T.staticCount-1&&(T.anchor=P),P=l(P);return P}break;case _e:V?P=S(m,T,N,L,q,Z):P=v();break;default:if(k&1)te!==1||T.type.toLowerCase()!==m.tagName.toLowerCase()?P=v():P=F(m,T,N,L,q,Z);else if(k&6){T.slotScopeIds=q;const ge=o(m);if(t(T,ge,null,N,L,Pt(ge),Z),P=V?j(m):l(m),P&&At(P)&&P.data==="teleport end"&&(P=l(P)),gt(T)){let z;V?(z=ae(_e),z.anchor=P?P.previousSibling:ge.lastChild):z=m.nodeType===3?rr(""):ae("div"),z.el=m,T.component.subTree=z}}else k&64?te!==8?P=v():P=T.type.hydrate(m,T,N,L,q,Z,e,I):k&128&&(P=T.type.hydrate(m,T,N,L,Pt(o(m)),q,Z,e,w))}return ee!=null&&Kt(ee,null,L,T),P},F=(m,T,N,L,q,Z)=>{Z=Z||!!T.dynamicChildren;const{type:V,props:v,patchFlag:X,shapeFlag:ee,dirs:k}=T,pe=V==="input"&&k||V==="option";if(pe||X!==-1){if(k&&Ce(T,null,N,"created"),v)if(pe||!Z||X&48)for(const P in v)(pe&&P.endsWith("value")||wt(P)&&!dt(P))&&s(m,P,null,v[P],!1,void 0,N);else v.onClick&&s(m,"onClick",null,v.onClick,!1,void 0,N);let te;if((te=v&&v.onVnodeBeforeMount)&&he(te,N,T),k&&Ce(T,null,N,"beforeMount"),((te=v&&v.onVnodeMounted)||k)&&Bs(()=>{te&&he(te,N,T),k&&Ce(T,null,N,"mounted")},L),ee&16&&!(v&&(v.innerHTML||v.textContent))){let P=I(m.firstChild,T,m,N,L,q,Z);for(;P;){He=!0;const ge=P;P=P.nextSibling,f(ge)}}else ee&8&&m.textContent!==T.children&&(He=!0,m.textContent=T.children)}return m.nextSibling},I=(m,T,N,L,q,Z,V)=>{V=V||!!T.dynamicChildren;const v=T.children,X=v.length;for(let ee=0;ee<X;ee++){const k=V?v[ee]:v[ee]=be(v[ee]);if(m)m=w(m,k,L,q,Z,V);else{if(k.type===xt&&!k.children)continue;He=!0,n(null,k,N,null,L,q,Pt(N),Z)}}return m},S=(m,T,N,L,q,Z)=>{const{slotScopeIds:V}=T;V&&(q=q?q.concat(V):V);const v=o(m),X=I(l(m),T,v,N,L,q,Z);return X&&At(X)&&X.data==="]"?l(T.anchor=X):(He=!0,u(T.anchor=d("]"),v,X),X)},G=(m,T,N,L,q,Z)=>{if(He=!0,T.el=null,Z){const X=j(m);for(;;){const ee=l(m);if(ee&&ee!==X)f(ee);else break}}const V=l(m),v=o(m);return f(m),n(null,T,v,V,N,L,Pt(v),q),V},j=m=>{let T=0;for(;m;)if(m=l(m),m&&At(m)&&(m.data==="["&&T++,m.data==="]")){if(T===0)return l(m);T--}return m};return[_,w]}const fe=Bs;function kl(e){return tr(e)}function Ql(e){return tr(e,Zl)}function tr(e,t){const n=Or();n.__VUE__=!0;const{insert:s,remove:r,patchProp:l,createElement:o,createText:f,createComment:u,setText:d,setElementText:_,parentNode:w,nextSibling:F,setScopeId:I=ye,cloneNode:S,insertStaticContent:G}=e,j=(i,c,a,p=null,h=null,x=null,E=!1,b=null,y=!!c.dynamicChildren)=>{if(i===c)return;i&&!ot(i,c)&&(p=Et(i),Re(i,h,x,!0),i=null),c.patchFlag===-2&&(y=!1,c.dynamicChildren=null);const{type:g,ref:M,shapeFlag:C}=c;switch(g){case xt:m(i,c,a,p);break;case Ge:T(i,c,a,p);break;case It:i==null&&N(c,a,p,E);break;case _e:te(i,c,a,p,h,x,E,b,y);break;default:C&1?Z(i,c,a,p,h,x,E,b,y):C&6?P(i,c,a,p,h,x,E,b,y):(C&64||C&128)&&g.process(i,c,a,p,h,x,E,b,y,Je)}M!=null&&h&&Kt(M,i&&i.ref,x,c||i,!c)},m=(i,c,a,p)=>{if(i==null)s(c.el=f(c.children),a,p);else{const h=c.el=i.el;c.children!==i.children&&d(h,c.children)}},T=(i,c,a,p)=>{i==null?s(c.el=u(c.children||""),a,p):c.el=i.el},N=(i,c,a,p)=>{[i.el,i.anchor]=G(i.children,c,a,p,i.el,i.anchor)},L=({el:i,anchor:c},a,p)=>{let h;for(;i&&i!==c;)h=F(i),s(i,a,p),i=h;s(c,a,p)},q=({el:i,anchor:c})=>{let a;for(;i&&i!==c;)a=F(i),r(i),i=a;r(c)},Z=(i,c,a,p,h,x,E,b,y)=>{E=E||c.type==="svg",i==null?V(c,a,p,h,x,E,b,y):ee(i,c,h,x,E,b,y)},V=(i,c,a,p,h,x,E,b)=>{let y,g;const{type:M,props:C,shapeFlag:O,transition:A,patchFlag:$,dirs:K}=i;if(i.el&&S!==void 0&&$===-1)y=i.el=S(i.el);else{if(y=i.el=o(i.type,x,C&&C.is,C),O&8?_(y,i.children):O&16&&X(i.children,y,null,p,h,x&&M!=="foreignObject",E,b),K&&Ce(i,null,p,"created"),C){for(const Y in C)Y!=="value"&&!dt(Y)&&l(y,Y,null,C[Y],x,i.children,p,h,Me);"value"in C&&l(y,"value",null,C.value),(g=C.onVnodeBeforeMount)&&he(g,p,i)}v(y,i,i.scopeId,E,p)}K&&Ce(i,null,p,"beforeMount");const B=(!h||h&&!h.pendingBranch)&&A&&!A.persisted;B&&A.beforeEnter(y),s(y,c,a),((g=C&&C.onVnodeMounted)||B||K)&&fe(()=>{g&&he(g,p,i),B&&A.enter(y),K&&Ce(i,null,p,"mounted")},h)},v=(i,c,a,p,h)=>{if(a&&I(i,a),p)for(let x=0;x<p.length;x++)I(i,p[x]);if(h){let x=h.subTree;if(c===x){const E=h.vnode;v(i,E,E.scopeId,E.slotScopeIds,h.parent)}}},X=(i,c,a,p,h,x,E,b,y=0)=>{for(let g=y;g<i.length;g++){const M=i[g]=b?ve(i[g]):be(i[g]);j(null,M,c,a,p,h,x,E,b)}},ee=(i,c,a,p,h,x,E)=>{const b=c.el=i.el;let{patchFlag:y,dynamicChildren:g,dirs:M}=c;y|=i.patchFlag&16;const C=i.props||W,O=c.props||W;let A;a&&De(a,!1),(A=O.onVnodeBeforeUpdate)&&he(A,a,c,i),M&&Ce(c,i,a,"beforeUpdate"),a&&De(a,!0);const $=h&&c.type!=="foreignObject";if(g?k(i.dynamicChildren,g,b,a,p,$,x):E||Fe(i,c,b,null,a,p,$,x,!1),y>0){if(y&16)pe(b,c,C,O,a,p,h);else if(y&2&&C.class!==O.class&&l(b,"class",null,O.class,h),y&4&&l(b,"style",C.style,O.style,h),y&8){const K=c.dynamicProps;for(let B=0;B<K.length;B++){const Y=K[B],me=C[Y],Ye=O[Y];(Ye!==me||Y==="value")&&l(b,Y,me,Ye,h,i.children,a,p,Me)}}y&1&&i.children!==c.children&&_(b,c.children)}else!E&&g==null&&pe(b,c,C,O,a,p,h);((A=O.onVnodeUpdated)||M)&&fe(()=>{A&&he(A,a,c,i),M&&Ce(c,i,a,"updated")},p)},k=(i,c,a,p,h,x,E)=>{for(let b=0;b<c.length;b++){const y=i[b],g=c[b],M=y.el&&(y.type===_e||!ot(y,g)||y.shapeFlag&70)?w(y.el):a;j(y,g,M,null,p,h,x,E,!0)}},pe=(i,c,a,p,h,x,E)=>{if(a!==p){for(const b in p){if(dt(b))continue;const y=p[b],g=a[b];y!==g&&b!=="value"&&l(i,b,g,y,E,c.children,h,x,Me)}if(a!==W)for(const b in a)!dt(b)&&!(b in p)&&l(i,b,a[b],null,E,c.children,h,x,Me);"value"in p&&l(i,"value",a.value,p.value)}},te=(i,c,a,p,h,x,E,b,y)=>{const g=c.el=i?i.el:f(""),M=c.anchor=i?i.anchor:f("");let{patchFlag:C,dynamicChildren:O,slotScopeIds:A}=c;A&&(b=b?b.concat(A):A),i==null?(s(g,a,p),s(M,a,p),X(c.children,a,M,h,x,E,b,y)):C>0&&C&64&&O&&i.dynamicChildren?(k(i.dynamicChildren,O,a,h,x,E,b),(c.key!=null||h&&c===h.subTree)&&nr(i,c,!0)):Fe(i,c,a,M,h,x,E,b,y)},P=(i,c,a,p,h,x,E,b,y)=>{c.slotScopeIds=b,i==null?c.shapeFlag&512?h.ctx.activate(c,a,p,E,y):ge(c,a,p,h,x,E,y):z(i,c,y)},ge=(i,c,a,p,h,x,E)=>{const b=i.component=oi(i,p,h);if(qs(i)&&(b.ctx.renderer=Je),fi(b),b.asyncDep){if(h&&h.registerDep(b,Q),!i.el){const y=b.subTree=ae(Ge);T(null,y,c,a)}return}Q(b,i,c,a,h,x,E)},z=(i,c,a)=>{const p=c.component=i.component;if(bl(i,c,a))if(p.asyncDep&&!p.asyncResolved){J(p,c,a);return}else p.next=c,al(p.update),p.update();else c.el=i.el,p.vnode=c},Q=(i,c,a,p,h,x,E)=>{const b=()=>{if(i.isMounted){let{next:M,bu:C,u:O,parent:A,vnode:$}=i,K=M,B;De(i,!1),M?(M.el=$.el,J(i,M,E)):M=$,C&&Gt(C),(B=M.props&&M.props.onVnodeBeforeUpdate)&&he(B,A,M,$),De(i,!0);const Y=en(i),me=i.subTree;i.subTree=Y,j(me,Y,w(me.el),Et(me),i,h,x),M.el=Y.el,K===null&&xl(i,Y.el),O&&fe(O,h),(B=M.props&&M.props.onVnodeUpdated)&&fe(()=>he(B,A,M,$),h)}else{let M;const{el:C,props:O}=c,{bm:A,m:$,parent:K}=i,B=gt(c);if(De(i,!1),A&&Gt(A),!B&&(M=O&&O.onVnodeBeforeMount)&&he(M,K,c),De(i,!0),C&&kt){const Y=()=>{i.subTree=en(i),kt(C,i.subTree,i,h,null)};B?c.type.__asyncLoader().then(()=>!i.isUnmounted&&Y()):Y()}else{const Y=i.subTree=en(i);j(null,Y,a,p,i,h,x),c.el=Y.el}if($&&fe($,h),!B&&(M=O&&O.onVnodeMounted)){const Y=c;fe(()=>he(M,K,Y),h)}(c.shapeFlag&256||K&>(K.vnode)&&K.vnode.shapeFlag&256)&&i.a&&fe(i.a,h),i.isMounted=!0,c=a=p=null}},y=i.effect=new On(b,()=>vs(g),i.scope),g=i.update=()=>y.run();g.id=i.uid,De(i,!0),g()},J=(i,c,a)=>{c.component=i;const p=i.vnode.props;i.vnode=c,i.next=null,ql(i,c.props,p,a),Vl(i,c.children,a),st(),Jt(void 0,i.update),rt()},Fe=(i,c,a,p,h,x,E,b,y=!1)=>{const g=i&&i.children,M=i?i.shapeFlag:0,C=c.children,{patchFlag:O,shapeFlag:A}=c;if(O>0){if(O&128){lt(g,C,a,p,h,x,E,b,y);return}else if(O&256){Xt(g,C,a,p,h,x,E,b,y);return}}A&8?(M&16&&Me(g,h,x),C!==g&&_(a,C)):M&16?A&16?lt(g,C,a,p,h,x,E,b,y):Me(g,h,x,!0):(M&8&&_(a,""),A&16&&X(C,a,p,h,x,E,b,y))},Xt=(i,c,a,p,h,x,E,b,y)=>{i=i||ut,c=c||ut;const g=i.length,M=c.length,C=Math.min(g,M);let O;for(O=0;O<C;O++){const A=c[O]=y?ve(c[O]):be(c[O]);j(i[O],A,a,null,h,x,E,b,y)}g>M?Me(i,h,x,!0,!1,C):X(c,a,p,h,x,E,b,y,C)},lt=(i,c,a,p,h,x,E,b,y)=>{let g=0;const M=c.length;let C=i.length-1,O=M-1;for(;g<=C&&g<=O;){const A=i[g],$=c[g]=y?ve(c[g]):be(c[g]);if(ot(A,$))j(A,$,a,null,h,x,E,b,y);else break;g++}for(;g<=C&&g<=O;){const A=i[C],$=c[O]=y?ve(c[O]):be(c[O]);if(ot(A,$))j(A,$,a,null,h,x,E,b,y);else break;C--,O--}if(g>C){if(g<=O){const A=O+1,$=A<M?c[A].el:p;for(;g<=O;)j(null,c[g]=y?ve(c[g]):be(c[g]),a,$,h,x,E,b,y),g++}}else if(g>O)for(;g<=C;)Re(i[g],h,x,!0),g++;else{const A=g,$=g,K=new Map;for(g=$;g<=O;g++){const ce=c[g]=y?ve(c[g]):be(c[g]);ce.key!=null&&K.set(ce.key,g)}let B,Y=0;const me=O-$+1;let Ye=!1,Wn=0;const it=new Array(me);for(g=0;g<me;g++)it[g]=0;for(g=A;g<=C;g++){const ce=i[g];if(Y>=me){Re(ce,h,x,!0);continue}let Ee;if(ce.key!=null)Ee=K.get(ce.key);else for(B=$;B<=O;B++)if(it[B-$]===0&&ot(ce,c[B])){Ee=B;break}Ee===void 0?Re(ce,h,x,!0):(it[Ee-$]=g+1,Ee>=Wn?Wn=Ee:Ye=!0,j(ce,c[Ee],a,null,h,x,E,b,y),Y++)}const Sn=Ye?Gl(it):ut;for(B=Sn.length-1,g=me-1;g>=0;g--){const ce=$+g,Ee=c[ce],qn=ce+1<M?c[ce+1].el:p;it[g]===0?j(null,Ee,a,qn,h,x,E,b,y):Ye&&(B<0||g!==Sn[B]?qe(Ee,a,qn,2):B--)}}},qe=(i,c,a,p,h=null)=>{const{el:x,type:E,transition:b,children:y,shapeFlag:g}=i;if(g&6){qe(i.component.subTree,c,a,p);return}if(g&128){i.suspense.move(c,a,p);return}if(g&64){E.move(i,c,a,Je);return}if(E===_e){s(x,c,a);for(let C=0;C<y.length;C++)qe(y[C],c,a,p);s(i.anchor,c,a);return}if(E===It){L(i,c,a);return}if(p!==2&&g&1&&b)if(p===0)b.beforeEnter(x),s(x,c,a),fe(()=>b.enter(x),h);else{const{leave:C,delayLeave:O,afterLeave:A}=b,$=()=>s(x,c,a),K=()=>{C(x,()=>{$(),A&&A()})};O?O(x,$,K):K()}else s(x,c,a)},Re=(i,c,a,p=!1,h=!1)=>{const{type:x,props:E,ref:b,children:y,dynamicChildren:g,shapeFlag:M,patchFlag:C,dirs:O}=i;if(b!=null&&Kt(b,null,a,i,!0),M&256){c.ctx.deactivate(i);return}const A=M&1&&O,$=!gt(i);let K;if($&&(K=E&&E.onVnodeBeforeUnmount)&&he(K,c,i),M&6)ar(i.component,a,p);else{if(M&128){i.suspense.unmount(a,p);return}A&&Ce(i,null,c,"beforeUnmount"),M&64?i.type.remove(i,c,a,h,Je,p):g&&(x!==_e||C>0&&C&64)?Me(g,c,a,!1,!0):(x===_e&&C&384||!h&&M&16)&&Me(y,c,a),p&&Kn(i)}($&&(K=E&&E.onVnodeUnmounted)||A)&&fe(()=>{K&&he(K,c,i),A&&Ce(i,null,c,"unmounted")},a)},Kn=i=>{const{type:c,el:a,anchor:p,transition:h}=i;if(c===_e){ur(a,p);return}if(c===It){q(i);return}const x=()=>{r(a),h&&!h.persisted&&h.afterLeave&&h.afterLeave()};if(i.shapeFlag&1&&h&&!h.persisted){const{leave:E,delayLeave:b}=h,y=()=>E(a,x);b?b(i.el,x,y):y()}else x()},ur=(i,c)=>{let a;for(;i!==c;)a=F(i),r(i),i=a;r(c)},ar=(i,c,a)=>{const{bum:p,scope:h,update:x,subTree:E,um:b}=i;p&&Gt(p),h.stop(),x&&(x.active=!1,Re(E,i,c,a)),b&&fe(b,c),fe(()=>{i.isUnmounted=!0},c),c&&c.pendingBranch&&!c.isUnmounted&&i.asyncDep&&!i.asyncResolved&&i.suspenseId===c.pendingId&&(c.deps--,c.deps===0&&c.resolve())},Me=(i,c,a,p=!1,h=!1,x=0)=>{for(let E=x;E<i.length;E++)Re(i[E],c,a,p,h)},Et=i=>i.shapeFlag&6?Et(i.component.subTree):i.shapeFlag&128?i.suspense.next():F(i.anchor||i.el),Bn=(i,c,a)=>{i==null?c._vnode&&Re(c._vnode,null,null,!0):j(c._vnode||null,i,c,null,null,null,a),Ut(),c._vnode=i},Je={p:j,um:Re,m:qe,r:Kn,mt:ge,mc:X,pc:Fe,pbc:k,n:Et,o:e};let Zt,kt;return t&&([Zt,kt]=t(Je)),{render:Bn,hydrate:Zt,createApp:Xl(Bn,Zt)}}function De({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function nr(e,t,n=!1){const s=e.children,r=t.children;if(R(s)&&R(r))for(let l=0;l<s.length;l++){const o=s[l];let f=r[l];f.shapeFlag&1&&!f.dynamicChildren&&((f.patchFlag<=0||f.patchFlag===32)&&(f=r[l]=ve(r[l]),f.el=o.el),n||nr(o,f))}}function Gl(e){const t=e.slice(),n=[0];let s,r,l,o,f;const u=e.length;for(s=0;s<u;s++){const d=e[s];if(d!==0){if(r=n[n.length-1],e[r]<d){t[s]=r,n.push(s);continue}for(l=0,o=n.length-1;l<o;)f=l+o>>1,e[n[f]]<d?l=f+1:o=f;d<e[n[l]]&&(l>0&&(t[s]=n[l-1]),n[l]=s)}}for(l=n.length,o=n[l-1];l-- >0;)n[l]=o,o=t[o];return n}const ei=e=>e.__isTeleport,_e=Symbol(void 0),xt=Symbol(void 0),Ge=Symbol(void 0),It=Symbol(void 0);let Ze=null,Ln=1;function os(e){Ln+=e}function mn(e){return e?e.__v_isVNode===!0:!1}function ot(e,t){return e.type===t.type&&e.key===t.key}const zt="__vInternal",sr=({key:e})=>e??null,Rt=({ref:e,ref_key:t,ref_for:n})=>e!=null?se(e)||ie(e)||H(e)?{i:Pe,r:e,k:t,f:!!n}:e:null;function ti(e,t=null,n=null,s=0,r=null,l=e===_e?0:1,o=!1,f=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&sr(t),ref:t&&Rt(t),scopeId:Ks,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:l,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return f?($n(u,n),l&128&&e.normalize(u)):n&&(u.shapeFlag|=se(n)?8:16),Ln>0&&!o&&Ze&&(u.patchFlag>0||l&6)&&u.patchFlag!==32&&Ze.push(u),u}const ae=ni;function ni(e,t=null,n=null,s=0,r=null,l=!1){if((!e||e===Ul)&&(e=Ge),mn(e)){const f=et(e,t,!0);return n&&$n(f,n),Ln>0&&!l&&Ze&&(f.shapeFlag&6?Ze[Ze.indexOf(e)]=f:Ze.push(f)),f.patchFlag|=-2,f}if(di(e)&&(e=e.__vccOpts),t){t=si(t);let{class:f,style:u}=t;f&&!se(f)&&(t.class=wn(f)),re(u)&&(Rs(u)&&!R(u)&&(u=oe({},u)),t.style=yn(u))}const o=se(e)?1:yl(e)?128:ei(e)?64:re(e)?4:H(e)?2:0;return ti(e,t,n,s,r,o,l,!0)}function si(e){return e?Rs(e)||zt in e?oe({},e):e:null}function et(e,t,n=!1){const{props:s,ref:r,patchFlag:l,children:o}=e,f=t?ri(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&sr(f),ref:t&&t.ref?n&&r?R(r)?r.concat(Rt(t)):[r,Rt(t)]:Rt(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!==_e?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&et(e.ssContent),ssFallback:e.ssFallback&&et(e.ssFallback),el:e.el,anchor:e.anchor}}function rr(e=" ",t=0){return ae(xt,null,e,t)}function be(e){return e==null||typeof e=="boolean"?ae(Ge):R(e)?ae(_e,null,e.slice()):typeof e=="object"?ve(e):ae(xt,null,String(e))}function ve(e){return e.el===null||e.memo?e:et(e)}function $n(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(R(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),$n(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(zt in t)?t._ctx=Pe:r===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else H(t)?(t={default:t,_ctx:Pe},n=32):(t=String(t),s&64?(n=16,t=[rr(t)]):n=8);e.children=t,e.shapeFlag|=n}function ri(...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=wn([t.class,s.class]));else if(r==="style")t.style=yn([t.style,s.style]);else if(wt(r)){const l=t[r],o=s[r];o&&l!==o&&!(R(l)&&l.includes(o))&&(t[r]=l?[].concat(l,o):o)}else r!==""&&(t[r]=s[r])}return t}function he(e,t,n,s=null){we(e,t,7,[n,s])}const li=er();let ii=0;function oi(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||li,l={uid:ii++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Pr(!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:Zs(s,r),emitsOptions:Ds(s,r),emit:null,emitted:null,propsDefaults:W,inheritAttrs:s.inheritAttrs,ctx:W,data:W,props:W,attrs:W,slots:W,refs:W,setupState:W,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 l.ctx={_:l},l.root=t?t.root:l,l.emit=pl.bind(null,l),e.ce&&e.ce(l),l}let ne=null;const tt=e=>{ne=e,e.scope.on()},Se=()=>{ne&&ne.scope.off(),ne=null};function lr(e){return e.vnode.shapeFlag&4}let yt=!1;function fi(e,t=!1){yt=t;const{props:n,children:s}=e.vnode,r=lr(e);Sl(e,n,r,t),Yl(e,s);const l=r?ci(e,t):void 0;return yt=!1,l}function ci(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ns(new Proxy(e.ctx,Ll));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?ai(e):null;tt(e),st();const l=Le(s,e,0,[e.props,r]);if(rt(),Se(),bs(l)){if(l.then(Se,Se),t)return l.then(o=>{fs(e,o,t)}).catch(o=>{qt(o,e,0)});e.asyncDep=l}else fs(e,l,t)}else ir(e,t)}function fs(e,t,n){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:re(t)&&(e.setupState=Hs(t)),ir(e,n)}let cs;function ir(e,t,n){const s=e.type;if(!e.render){if(!t&&cs&&!s.render){const r=s.template;if(r){const{isCustomElement:l,compilerOptions:o}=e.appContext.config,{delimiters:f,compilerOptions:u}=s,d=oe(oe({isCustomElement:l,delimiters:f},o),u);s.render=cs(r,d)}}e.render=s.render||ye}tt(e),st(),$l(e),rt(),Se()}function ui(e){return new Proxy(e.attrs,{get(t,n){return de(e,"get","$attrs"),t[n]}})}function ai(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=ui(e))},slots:e.slots,emit:e.emit,expose:t}}function Dn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Hs(Ns(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $t)return $t[n](e)}}))}function di(e){return H(e)&&"__vccOpts"in e}const hi=(e,t)=>ol(e,t,yt);function Nt(e,t,n){const s=arguments.length;return s===2?re(t)&&!R(t)?mn(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&mn(n)&&(n=[n]),ae(e,t,n))}const pi="3.2.37",gi="http://www.w3.org/2000/svg",Be=typeof document<"u"?document:null,us=Be&&Be.createElement("template"),mi={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?Be.createElementNS(gi,e):Be.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Be.createTextNode(e),createComment:e=>Be.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Be.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s,r,l){const o=n?n.previousSibling:t.lastChild;if(r&&(r===l||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===l||!(r=r.nextSibling)););else{us.innerHTML=s?`<svg>${e}</svg>`:e;const f=us.content;if(s){const u=f.firstChild;for(;u.firstChild;)f.appendChild(u.firstChild);f.removeChild(u)}t.insertBefore(f,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function _i(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 bi(e,t,n){const s=e.style,r=se(n);if(n&&!r){for(const l in n)_n(s,l,n[l]);if(t&&!se(t))for(const l in t)n[l]==null&&_n(s,l,"")}else{const l=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=l)}}const as=/\s*!important$/;function _n(e,t,n){if(R(n))n.forEach(s=>_n(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=xi(e,t);as.test(n)?e.setProperty(nt(s),n.replace(as,""),"important"):e[s]=n}}const ds=["Webkit","Moz","ms"],sn={};function xi(e,t){const n=sn[t];if(n)return n;let s=Qe(t);if(s!=="filter"&&s in e)return sn[t]=s;s=xs(s);for(let r=0;r<ds.length;r++){const l=ds[r]+s;if(l in e)return sn[t]=l}return t}const hs="http://www.w3.org/1999/xlink";function yi(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(hs,t.slice(6,t.length)):e.setAttributeNS(hs,t,n);else{const l=hr(t);n==null||l&&!_s(n)?e.removeAttribute(t):e.setAttribute(t,l?"":n)}}function wi(e,t,n,s,r,l,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,l),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const u=n??"";(e.value!==u||e.tagName==="OPTION")&&(e.value=u),n==null&&e.removeAttribute(t);return}let f=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=_s(n):n==null&&u==="string"?(n="",f=!0):u==="number"&&(n=0,f=!0)}try{e[t]=n}catch{}f&&e.removeAttribute(t)}const[or,Ei]=(()=>{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 bn=0;const Ti=Promise.resolve(),Ci=()=>{bn=0},Fi=()=>bn||(Ti.then(Ci),bn=or());function Mi(e,t,n,s){e.addEventListener(t,n,s)}function Oi(e,t,n,s){e.removeEventListener(t,n,s)}function Pi(e,t,n,s,r=null){const l=e._vei||(e._vei={}),o=l[t];if(s&&o)o.value=s;else{const[f,u]=Ai(t);if(s){const d=l[t]=Ii(s,r);Mi(e,f,d,u)}else o&&(Oi(e,f,o,u),l[t]=void 0)}}const ps=/(?:Once|Passive|Capture)$/;function Ai(e){let t;if(ps.test(e)){t={};let n;for(;n=e.match(ps);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[nt(e.slice(2)),t]}function Ii(e,t){const n=s=>{const r=s.timeStamp||or();(Ei||r>=n.attached-1)&&we(Ri(s,n.value),t,5,[s])};return n.value=e,n.attached=Fi(),n}function Ri(e,t){if(R(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 gs=/^on[a-z]/,Ni=(e,t,n,s,r=!1,l,o,f,u)=>{t==="class"?_i(e,s,r):t==="style"?bi(e,n,s):wt(t)?En(t)||Pi(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Hi(e,t,s,r))?wi(e,t,s,l,o,f,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),yi(e,t,s,r))};function Hi(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&gs.test(t)&&H(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||gs.test(t)&&se(n)?!1:t in e}const fr=oe({patchProp:Ni},mi);let mt,ms=!1;function ji(){return mt||(mt=kl(fr))}function vi(){return mt=ms?mt:Ql(fr),ms=!0,mt}const Ui=(...e)=>{const t=ji().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=cr(s);if(!r)return;const l=t._component;!H(l)&&!l.render&&!l.template&&(l.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},Li=(...e)=>{const t=vi().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=cr(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function cr(e){return se(e)?document.querySelector(e):e}const $i=Tl({props:{value:String,name:String},setup({name:e,value:t}){return t?()=>Nt("astro-slot",{name:e,innerHTML:t}):()=>null}}),Di=e=>(t,n,s,{client:r})=>{if(delete n.class,!e.hasAttribute("ssr"))return;const l=t.name?`${t.name} Host`:void 0,o={};for(const[f,u]of Object.entries(s))o[f]=()=>Nt($i,{value:u,name:f==="default"?void 0:f});r==="only"?Ui({name:l,render:()=>Nt(t,n,o)}).mount(e,!1):Li({name:l,render:()=>Nt(t,n,o)}).mount(e,!0)};export{Di as default};
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function d(e){e=e||1;var t=[],n=0;function o(s){t.push(s)>1||r()}function a(){n--,r()}function r(){n<e&&t.length>0&&(t.shift()(),n++)}return[o,a]}function m(e,t){const n=t?.timeout??50,o=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,n-(Date.now()-o))}})},1)}const v=window.requestIdleCallback||m;var w=v;const f=["mouseenter","touchstart","focus"],u=new Set;function p({href:e}){try{const t=new URL(e);return window.location.origin===t.origin&&window.location.pathname!==t.hash&&!u.has(e)}catch{}return!1}let i,c;function b(e){u.add(e.href),c.observe(e),f.map(t=>e.addEventListener(t,l,{passive:!0,once:!0}))}function y(e){c.unobserve(e),f.map(t=>e.removeEventListener(t,l))}function l({target:e}){e instanceof HTMLAnchorElement&&h(e)}async function h(e){y(e);const{href:t}=e;try{const n=await fetch(t).then(r=>r.text());i=i||new DOMParser;const o=i.parseFromString(n,"text/html"),a=Array.from(o.querySelectorAll('link[rel="stylesheet"]'));await Promise.all(a.map(r=>fetch(r.href)))}catch{}}function g({selector:e='a[href][rel~="prefetch"]',throttle:t=1}){const n=navigator.connection;if(typeof n<"u"){if(n.saveData)return Promise.reject(new Error("Cannot prefetch, Save-Data is enabled"));if(/2g/.test(n.effectiveType))return Promise.reject(new Error("Cannot prefetch, network conditions are poor"))}const[o,a]=d(t);c=c||new IntersectionObserver(r=>{r.forEach(s=>{s.isIntersecting&&s.target instanceof HTMLAnchorElement&&o(()=>h(s.target).finally(a))})}),w(()=>{const r=Array.from(document.querySelectorAll(e)).filter(p);for(const s of r)b(s)})}g({});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* Partytown 0.4.5 - MIT builder.io */
|
|
2
|
+
(e=>{const t=()=>{},r=e=>e.length,n=e=>{try{return e.constructor.name}catch(e){}return""},i=(e,t)=>e.startsWith(t),s=e=>!(i(e,"webkit")||i(e,"toJSON")||i(e,"constructor")||i(e,"toString")||i(e,"_")),o=()=>Math.round(Math.random()*Number.MAX_SAFE_INTEGER).toString(36),a={Anchor:"a",DList:"dl",Image:"img",OList:"ol",Paragraph:"p",Quote:"q",TableCaption:"caption",TableCell:"td",TableCol:"colgroup",TableRow:"tr",TableSection:"tbody",UList:"ul"},l={Graphics:"g",SVG:"svg"},c=Symbol(),u=Symbol(),h=new Map,p=new Map,d={},m=new WeakMap,g=(e,t)=>{if(e)return(t=m.get(e))||(t=e[c])||y(e,t=o()),t},f=(e,t,r,n,i)=>{if((r=d[e])&&r.T){if(e===t)return r.T;if(n=r.T.document,"d"===(i=t.split(".").pop()))return n;if("e"===i)return n.documentElement;if("h"===i)return n.head;if("b"===i)return n.body}return h.get(t)},y=(e,t,r)=>{e&&(h.set(t,e),e[c]=t,e[u]=r=Date.now(),r>w+5e3&&(h.forEach(((e,t)=>{e[u]<w&&e.nodeType&&!e.isConnected&&h.delete(t)})),w=r))};let w=0;const $=e.parent,S=document,b=$.partytown||{},v=(b.lib||"/~partytown/")+"",T=(e,t,r,s,o)=>void 0!==t&&(s=typeof t)?"string"===s||"number"===s||"boolean"===s||null==t?[0,t]:"function"===s?[6]:(r=r||new Set)&&Array.isArray(t)?r.has(t)?[1,[]]:r.add(t)&&[1,t.map((t=>T(e,t,r)))]:"object"===s?""===(o=n(t))?[2,{}]:"Window"===o?[3,[e,e]]:"HTMLCollection"===o||"NodeList"===o?[7,Array.from(t).map((t=>T(e,t,r)[1]))]:o.endsWith("Event")?[5,E(e,t,r)]:"CSSRuleList"===o?[12,Array.from(t).map(I)]:i(o,"CSS")&&o.endsWith("Rule")?[11,I(t)]:"CSSStyleDeclaration"===o?[13,E(e,t,r)]:"Attr"===o?[10,[t.name,t.value]]:t.nodeType?[3,[e,g(t),t.nodeName]]:[2,E(e,t,r,!0,!0)]:void 0:t,E=(e,t,r,n,i,o,a,l)=>{if(o={},!r.has(t))for(a in r.add(t),t)s(a)&&(l=t[a],(n||"function"!=typeof l)&&(i||""!==l)&&(o[a]=T(e,l,r)));return o},I=e=>{let t,r={};for(t in e)x.includes(t)&&(r[t]=String(e[t]));return r},M=(t,r,n,i)=>r?(n=r[0],i=r[1],0===n?i:4===n?N(t,i):1===n?i.map((e=>M(t,e))):3===n?f(i[0],i[1]):5===n?A(L(t,i)):2===n?L(t,i):8===n?i:9===n?new e[r[2]](i):void 0):void 0,N=(e,{U:t,w:r,K:n},i)=>((i=p.get(n))||(i=function(...i){e.postMessage([7,{U:t,w:r,K:n,Q:T(t,this),b:T(t,i)}])},p.set(n,i)),i),A=e=>new("detail"in e?CustomEvent:Event)(e.type,e),L=(e,t,r,n)=>{for(n in r={},t)r[n]=M(e,t[n]);return r},x="cssText,selectorText,href,media,namespaceURI,prefix,name,conditionText".split(","),C=async(e,t)=>{let n,i,s,o,a,l,c={E:t.E},u=r(t.P),h=0;for(;h<u;h++)try{l=h===u-1,n=t.P[h],i=n.U,s=n.a,!d[i]&&i.startsWith("f_")&&await new Promise((e=>{let t=0,r=()=>{d[i]||t++>1e3?e():requestAnimationFrame(r)};r()})),1===s[0]&&s[1]in d[i].T?y(new d[i].T[s[1]](...M(e,s[2])),n.w):(o=f(i,n.w),o?(a=R(e,o,s,l,n.r),n.d&&("string"==typeof n.d?y(a,n.d):d[n.d.U]={U:n.d.U,T:{document:a}}),"object"==typeof(p=a)&&p&&p.then&&(a=await a,c.z=!0),c.L=T(i,a)):c.p=n.w+" not found")}catch(e){l?c.p=String(e.stack||e):console.error(e)}var p;return c},R=(e,t,n,i,s)=>{let o,a,l,c,u,h=0,p=r(n);for(;h<p;h++){a=n[h],o=n[h+1],l=n[h-1];try{if(!Array.isArray(o))if("string"==typeof a||"number"==typeof a){if(h+1===p&&s)return u={},s.map((e=>u[e]=t[e])),u;t=t[a]}else{if(0===o)return void(t[l]=M(e,a));if("function"==typeof t[l]&&(c=M(e,a),"insertRule"===l&&c[1]>r(t.cssRules)&&(c[1]=r(t.cssRules)),t=t[l].apply(t,c),"play"===l))return Promise.resolve()}}catch(e){if(i)throw e;console.debug(e)}}return t},O=(e,t,r)=>{if(!m.has(r)){m.set(r,t);const n=r.document,i=r.history,s=m.get(r.parent),o=()=>e.postMessage([3,{U:t,I:s,R:n.baseURI,S:n.visibilityState}]),a=i.pushState.bind(i),l=i.replaceState.bind(i),c=()=>setTimeout((()=>e.postMessage([11,t,n.baseURI])));i.pushState=(e,t,r)=>{a(e,t,r),c()},i.replaceState=(e,t,r)=>{l(e,t,r),c()},r.addEventListener("popstate",c),r.addEventListener("hashchange",c),n.addEventListener("visibilitychange",(()=>e.postMessage([12,t,n.visibilityState]))),d[t]={U:t,T:r},"complete"===n.readyState?o():r.addEventListener("load",o)}},D=(e,t)=>{let n,i,s,o=t.U,a=t.T,l=a.document;l&&l.body?(n=l.querySelector('script[type="text/partytown"]:not([data-ptid]):not([data-pterror]):not([async]):not([defer])'),n||(n=l.querySelector('script[type="text/partytown"]:not([data-ptid]):not([data-pterror])')),n?(n.dataset.ptid=i=g(n,o),s={U:o,w:i},n.src?(s.R=n.src,s.G=n.dataset.ptsrc||n.src):s.j=n.innerHTML,e.postMessage([5,s])):(t.x||(t.x=1,((e,t,n)=>{let i,s,o=n._ptf,a=(n.partytown||{}).forward||[],l=(r,n)=>e.postMessage([8,{U:t,q:r,b:T(t,Array.from(n))}]);if(n._ptf=void 0,a.map((e=>{s=n,e.split(".").map(((e,t,n)=>{s=s[n[t]]=t+1<r(n)?s[n[t]]||("push"===n[t+1]?[]:{}):(...e)=>l(n,e)}))})),o)for(i=0;i<r(o);i+=2)l(o[i],o[i+1])})(e,o,a),l.dispatchEvent(new CustomEvent("pt0"))),e.postMessage([6,o]))):requestAnimationFrame((()=>D(e,t)))},H=(e,t,r)=>{let n=[],i=[e,"Object",n];for(r in t)P(n,t,r);return i},U=(e,t,r,i,s)=>{if("Object"!==t&&!e.some((e=>e[0]===t))){const o=Object.getPrototypeOf(r),a=n(o),l=[];U(e,a,o,i,s),Object.keys(Object.getOwnPropertyDescriptors(r)).map((e=>P(l,i,e))),e.push([t,a,l,s,i.nodeName])}},P=(e,t,r,i,o,a)=>{try{s(r)&&isNaN(r[0])&&"all"!==r&&("function"==(o=typeof(i=t[r]))?(String(i).includes("[native")||Object.getPrototypeOf(t)[r])&&e.push([r,5]):"object"===o&&null!=i?"Object"!==(a=n(i))&&self[a]&&e.push([r,i.nodeType||a]):"symbol"!==o&&(r.toUpperCase()===r?e.push([r,6,i]):e.push([r,6])))}catch(e){console.warn(e)}},_=e=>{let t,n=[],i=0,s=r($[e]);for(;i<s;i++)t=$[e].key(i),n.push([t,$[e].getItem(t)]);return n},F=(e,r)=>void 0!==e[r]?new e[r](t):0;let J;(async e=>{const t=new SharedArrayBuffer(1073741824),r=new Int32Array(t);return(i,s)=>{const c=s[0],u=s[1];if(0===c){const e=(()=>{const e=S.implementation.createHTMLDocument(),t=e.createElement("i"),r=e.createTextNode(""),i=e.createComment(""),s=e.createDocumentFragment(),o=F($,"IntersectionObserver"),c=F($,"MutationObserver"),u=F($,"ResizeObserver"),h=$.performance,p=$.screen,d=Object.getOwnPropertyNames($).map((t=>((e,t,r,n)=>{if(r=t.match(/^(HTML|SVG)(.+)Element$/))return n=r[2],"S"==t[0]?e.createElementNS("http://www.w3.org/2000/svg",l[n]||n.slice(0,2).toLowerCase()+n.slice(2)):e.createElement(a[n]||n)})(e,t))).filter((e=>e)).map((e=>[e])),m=[[$.history],[h],[h.navigation],[h.timing],[p],[p.orientation],[$.visualViewport],[o,12],[c,12],[u,12],[r],[i],[s],[t],[t.attributes],[t.classList],[t.dataset],[t.style],[e],[e.doctype],...d].filter((e=>e[0])).map((e=>{const t=e[0],r=e[1],i=n(t);return[i,$[i].prototype,t,r]})),g=[H("Window",$),H("Node",r)],f={i:JSON.stringify(b,((e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t))),B:new URL(v,$.location)+"",v:g,H:origin,C:_("localStorage"),N:_("sessionStorage")};return m.map((([e,t,r,n])=>U(g,e,t,r,n))),((e,t,r)=>{void 0!==t[r]&&e.push([r,"Object",Object.keys(t[r].prototype).map((e=>[e,6])),12])})(g,$,"IntersectionObserverEntry"),f})();e.O=t,i.postMessage([1,e])}else 9===c?e(u,(e=>{const t=JSON.stringify(e),n=t.length;for(let e=0;e<n;e++)r[e+1]=t.charCodeAt(e);r[0]=n,Atomics.notify(r,0)})):((e,t,r)=>{2===t[0]?O(e,o(),$):(r=d[t[1]])&&(5===t[0]?requestAnimationFrame((()=>D(e,r))):4===t[0]&&((e,t,r,n,i)=>{(i=t.T.document.querySelector(`[data-ptid="${r}"]`))&&(n?i.dataset.pterror=n:i.type+="-x",delete i.dataset.ptid),D(e,t)})(e,r,t[2],t[3]))})(i,s)}})(((e,t)=>C(J,e).then(t))).then((e=>{e&&(J=new Worker(URL.createObjectURL(new Blob(['/* Partytown 0.4.5 - MIT builder.io */\n(e=>{const t=Symbol(),r=Symbol(),n=Symbol(),i=Symbol(),s=Symbol(),o=Symbol(),a=Symbol(),l=Symbol(),$=new Map,c={},u=new WeakMap,d=[],h={},p=new Map,g=new Map,m={},f=new Map,w=new Map,y="about:blank",S=e=>e.split(","),v=e=>{if(e=h.B+e,new URL(e).origin!=location.origin)throw"Invalid "+e;return e},b=S("clientWidth,clientHeight,clientTop,clientLeft,innerWidth,innerHeight,offsetWidth,offsetHeight,offsetTop,offsetLeft,outerWidth,outerHeight,pageXOffset,pageYOffset,scrollWidth,scrollHeight,scrollTop,scrollLeft"),I=S("childElementCount,children,firstElementChild,lastElementChild,nextElementSibling,previousElementSibling"),M=S("insertBefore,remove,removeChild,replaceChild"),T=S("className,width,height,hidden,innerHTML,innerText,textContent"),E=S("setAttribute,setAttributeNS,setProperty"),N=S("addEventListener,dispatchEvent,removeEventListener"),L=N.concat(E,S("add,observe,remove,unobserve")),x=/^[A-Z]([A-Z0-9-]*[A-Z0-9])?$/,A=()=>{},C=e=>e.length,R=e=>{try{return e.constructor.name}catch(e){}return""},P=[],H=()=>Math.round(Math.random()*Number.MAX_SAFE_INTEGER).toString(36),W="text/partytown",O=(e,t,r)=>Object.defineProperty(e,t,{...r,configurable:!0}),D=(e,t)=>O(e,"name",{value:t}),k=(e,t,r)=>O(e.prototype,t,r),B=(e,t)=>Object.defineProperties(e.prototype,t),j=(e,t,r)=>k(e,t,{value:r,writable:!0}),U=(e,t)=>t in e[o],F=(e,t)=>e[o][t],_=(e,t,r)=>e[o][t]=r,V=(e,t,r)=>console.warn(`Partytown unable to ${e} cross-origin ${t}: `+r.D),z=[],G=(e,n,i,o,a,l)=>{if(z.push({U:e[t],w:e[r],a:[...e[s],...n],d:o,r:a}),3===i)h.J([10,{E:H(),P:[...z]}],l?[l instanceof ArrayBuffer?l:l.buffer]:void 0),z.length=0;else if(1===i)return X(!0);h.c=setTimeout(X,20)},X=e=>{if(clearTimeout(h.c),C(z)){const t=z[C(z)-1],r={E:H(),P:[...z]};if(z.length=0,e){const e=((e,t)=>{const r=e.O,n=new Int32Array(r);Atomics.store(n,0,0),e.J([9,t]),Atomics.wait(n,0,0);let i=Atomics.load(n,0),s="",o=0;for(;o<i;o++)s+=String.fromCharCode(n[o+1]);return JSON.parse(s)})(h,r),n=e.z,i=ce(t.U,t.w,t.a,e.L);if(e.p){if(n)return Promise.reject(e.p);throw new Error(e.p)}return n?Promise.resolve(i):i}h.J([10,r])}},q=(e,t,r,n)=>h.i.get&&(n=h.i.get(K(e,t)))!==a?n:n=G(e,t,1,void 0,r),Z=(e,t,r,n)=>{if(h.i.set){if((n=h.i.set({value:r,prevent:l,...K(e,t)}))===l)return;n!==a&&(r=n)}T.some((e=>t.includes(e)))&&(f.clear(),t[t.length-1]),t=[...t,$e(e,r),0],G(e,t,2)},J=(e,t,r,n,i,s,o,l)=>h.i.apply&&(o=h.i.apply({args:r,...K(e,t)}))!==a?o:(l=t[C(t)-1],t=[...t,$e(e,r)],n=n||(L.includes(l)?2:1),"setAttribute"===l&&U(e,r[0])?_(e,r[0],r[1]):M.includes(l)?(f.clear(),w.clear()):E.includes(l)&&(n=2,f.clear()),o=G(e,t,n,i,void 0,s)),Y=(e,t,r)=>{G(e,[1,t,$e(e,r)],1)},K=(e,t)=>({name:t.join("."),continue:a,nodeName:e[n],constructor:R(e)}),Q=(e,t,r,n,i)=>(!(i=$.get(t))&&r&&m[e]&&(i=m[e].k(r,t,n),$.set(t,i)),i),ee=(e,t)=>j(e,"nodeType",t),te=(e,t)=>t.map((t=>k(e,t,{get(){let e=re(this,t),r=w.get(e);return r||(r=q(this,[t]),w.set(e,r)),r}}))),re=(e,n,i)=>[e[t],e[r],n,...(i||P).map((e=>String(e&&e[t]?e[r]:e)))].join("."),ne=(e,t)=>S(t).map((t=>k(e,t,{get(){return U(this,t)||_(this,t,q(this,[t])),F(this,t)},set(e){F(this,t)!==e&&Z(this,[t],e),_(this,t,e)}}))),ie=e=>b.map((t=>k(e,t,{get(){const e=f.get(re(this,t));if("number"==typeof e)return e;const r=q(this,[t],b);return r&&"object"==typeof r?(Object.entries(r).map((([e,t])=>f.set(re(this,e),t))),r[t]):r}}))),se=(e,t)=>t.map((t=>{e.prototype[t]=function(...e){let r=re(this,t,e),n=f.get(r);return n||(n=J(this,[t],e),f.set(r,n)),n}})),oe=(e,n,i,s,o)=>{return void 0!==i&&(o=typeof i)?"string"===o||"boolean"===o||"number"===o||null==i?[0,i]:"function"===o?[4,{U:e,w:n,K:(a=i,(l=u.get(a))||(u.set(a,l=H()),c[l]=a),l)}]:(s=s||new Set)&&Array.isArray(i)?s.has(i)?[1,[]]:s.add(i)&&[1,i.map((t=>oe(e,n,t,s)))]:"object"===o?i[r]?[3,[i[t],i[r]]]:i instanceof Event?[5,le(e,n,i,!1,s)]:ae&&i instanceof TrustedHTML?[0,i.toString()]:i instanceof ArrayBuffer?[8,i]:ArrayBuffer.isView(i)?[9,i.buffer,R(i)]:[2,le(e,n,i,!0,s)]:void 0:i;var a,l},ae="undefined"!=typeof TrustedHTML,le=(e,t,r,n,i,s,o,a)=>{if(s={},!i.has(r))for(o in i.add(r),r)a=r[o],(n||"function"!=typeof a)&&(s[o]=oe(e,t,a,i));return s},$e=(e,n)=>e?oe(e[t],e[r],n):[0,n],ce=(e,t,r,n,i,s,o,a)=>{if(n){if(i=n[0],s=n[1],0===i||11===i||12===i)return s;if(4===i)return de(r,s);if(6===i)return A;if(3===i)return ue(s);if(7===i)return new he(s.map(ue));if(10===i)return new pe(s);if(1===i)return s.map((n=>ce(e,t,r,n)));for(a in o={},s)o[a]=ce(e,t,[...r,a],s[a]);if(13===i)return new m[e].T.CSSStyleDeclaration(e,t,r,o);if(5===i){if("message"===o.type&&o.origin){let e,t=JSON.stringify(o.data),r=d.find((e=>e.m===t));r&&(e=m[r.U],e&&(o.source=e.T,o.origin=e.D.origin))}return new Proxy(new Event(o.type,o),{get:(e,t)=>t in o?o[t]:"function"==typeof e[String(t)]?A:e[String(t)]})}if(2===i)return o}},ue=([e,t,r])=>t===e&&m[e]?m[e].T:Q(e,t,r),de=(e,{U:t,w:r,F:n,K:i})=>(c[i]||u.set(c[i]=function(...i){const s=Q(t,r,n);return J(s,e,i)},i),c[i]),he=class{constructor(e){(this._=e).map(((e,t)=>this[t]=e))}entries(){return this._.entries()}forEach(e,t){this._.map(e,t)}item(e){return this[e]}keys(){return this._.keys()}get length(){return C(this._)}values(){return this._.values()}[Symbol.iterator](){return this._[Symbol.iterator]()}},pe=class{constructor(e){this.name=e[0],this.value=e[1]}get nodeName(){return this.name}get nodeType(){return 2}},ge=(e,t,r,n,i)=>{let s,o,a=t=>((t=r.get(e.origin))||r.set(e.origin,t=[]),t),l=e=>a().findIndex((t=>t[me]===e)),$={getItem:e=>(s=l(e),s>-1?a()[s][fe]:null),setItem(r,o){s=l(r),s>-1?a()[s][fe]=o:a().push([r,o]),n?J(e,[t,"setItem"],[r,o],2):V("set",t,i)},removeItem(r){s=l(r),s>-1&&a().splice(s,1),n?J(e,[t,"removeItem"],[r],2):V("remove",t,i)},key:e=>(o=a()[e],o?o[me]:null),clear(){a().length=0,n?J(e,[t,"clear"],P,2):V("clear",t,i)},get length(){return a().length}};e[t]=$},me=0,fe=1,we=(e,t,r)=>{e[r]=D(class extends t{constructor(e,t,r,i){return super(e,t,r,i||{}),new Proxy(this,{get:(e,t)=>e[t]?e[t]:(e[t]||"string"!=typeof t||e[n][t]||(e[n][t]=q(e,[t])),e[n][t]),set:(e,t,r)=>(e[n][t]=r,Z(e,[t],r),f.clear(),!0)})}setProperty(...e){this[n][e[0]]=e[1],J(this,["setProperty"],e,2),e[0],f.clear()}getPropertyValue(e){return this[e]}removeProperty(e){let t=this[n][e];return J(this,["removeProperty"],[e],2),f.clear(),this[n][e]=void 0,t}},r)},ye=(e,t)=>{e[t]=D(class{constructor(e){this.ownerNode=e}get cssRules(){const e=this.ownerNode;return new Proxy({},{get(t,r){const n=String(r);return"item"===n?t=>ve(e,t):"length"===n?Se(e).length:isNaN(n)?t[r]:ve(e,n)}})}insertRule(e,t){const r=Se(this.ownerNode);return(t=void 0===t?0:t)>=0&&t<=r.length&&(J(this.ownerNode,["sheet","insertRule"],[e,t],2),r.splice(t,0,0)),this.ownerNode,f.clear(),t}deleteRule(e){J(this.ownerNode,["sheet","deleteRule"],[e],2),Se(this.ownerNode).splice(e,1),this.ownerNode,f.clear()}get type(){return"text/css"}},t);const r={sheet:{get(){return new e[t](this)}}};B(e.HTMLStyleElement,r)},Se=(e,t)=>((t=F(e,2))||(t=q(e,["sheet","cssRules"]),_(e,2,t)),t),ve=(e,t,r)=>(0===(r=Se(e))[t]&&(r[t]=q(e,["sheet","cssRules",parseInt(t,10)])),r[t]),be="0.4.5",Ie=(e,t,r,n,i)=>{try{e.l=t,Me(e,r)}catch(e){console.error(r,e),i=String(e.stack||e)}return e.l="",i},Me=(e,t,r)=>{e.M=1,t=`with(this){${(h.i.globalFns||[]).filter((e=>/[a-zA-Z_$][0-9a-zA-Z_$]*/.test(e))).map((e=>`(typeof ${e}==\'function\'&&(window.${e}=${e}))`)).join(";")+t.replace(/\\bthis\\b/g,"(thi$(this)?window:this)").replace(/\\/\\/# so/g,"//Xso")}\\n;function thi$(t){return t===this}}`+(r?"\\n//# sourceURL="+r:""),e.A||(t=t.replace(/.postMessage\\(/g,`.postMessage(\'${e.U}\',`)),new Function(t).call(e.T),e.M=0},Te=(e,t,r)=>{(r=F(e,t))&&setTimeout((()=>r.map((e=>e({type:t})))))},Ee=(e,t,r,n,i,s)=>{for(n=e.D;!n.host&&(n=(e=m[e.I]).D,e.U!==e.I););return i=new URL(t||"",n),!r&&h.i.resolveUrl&&(s=h.i.resolveUrl(i,n))?s:i},Ne=(e,t,r)=>Ee(e,t,r)+"",Le=()=>`<script src="${v("partytown.js?v="+be)}"><\\/script>`,xe=e=>class{constructor(){this.s="",this.l=[],this.e=[]}get src(){return this.s}set src(t){fetch(Ne(e,t,!0),{mode:"no-cors",keepalive:!0}).then((e=>{e.ok||0===e.status?this.l.map((e=>e({type:"load"}))):this.e.map((e=>e({type:"error"})))}),(()=>this.e.forEach((e=>e({type:"error"})))))}addEventListener(e,t){"load"===e&&this.l.push(t),"error"===e&&this.e.push(t)}get onload(){return this.l[0]}set onload(e){this.l=[e]}get onerror(){return this.e[0]}set onerror(e){this.e=[e]}},Ae={addEventListener:{value(...e){const t=e[0],r=F(this,t)||[];r.push(e[1]),_(this,t,r)}},async:{get:A,set:A},defer:{get:A,set:A},onload:{get(){let e=F(this,"load");return e&&e[0]||null},set(e){_(this,"load",e?[e]:null)}},onerror:{get(){let e=F(this,"error");return e&&e[0]||null},set(e){_(this,"error",e?[e]:null)}},getAttribute:{value(e){return"src"===e?this.src:J(this,["getAttribute"],[e])}},setAttribute:{value(e,t){Ce.includes(e)?this[e]=t:J(this,["setAttribute"],[e,t])}}},Ce=S("src,type"),Re=(e,t)=>{const r={innerHTML:Pe,innerText:Pe,src:{get(){return F(this,4)||""},set(e){const r=Ne(t,e,!0);e=Ne(t,e),_(this,4,e),Z(this,["src"],e),r!==e&&Z(this,["dataset","ptsrc"],r)}},textContent:Pe,type:{get(){return q(this,["type"])},set(e){He(e)||(_(this,5,e),Z(this,["type"],e))}},...Ae};B(e,r)},Pe={get(){return F(this,3)||""},set(e){_(this,3,e)}},He=e=>!e||"text/javascript"===e,We=(e,i,s)=>{const o=D(class extends s{appendChild(e){return this.insertBefore(e,null)}get href(){}set href(e){}insertBefore(e,s){const o=e[t]=this[t],a=e[r],l=e[n],$="SCRIPT"===l,c="IFRAME"===l;if($){const t=F(e,3),r=F(e,5);if(t){if(He(r)){const r=Ie(i,a,t,0,""),n=r?"pterror":"ptid",s=r||a;Z(e,["type"],W+"-x"),Z(e,["dataset",n],s)}Z(e,["innerHTML"],t)}}return J(this,["insertBefore"],[e,s],2),c&&((e,t)=>{let r,n,i=0,s=()=>{m[e]&&m[e].x&&!m[e].y?(r=F(t,1)?"error":"load",n=F(t,r),n&&n.map((e=>e({type:r})))):i++>2e3?(n=F(t,"error"),n&&n.map((e=>e({type:"error"})))):setTimeout(s,9)};s()})(a,e),$&&(X(!0),h.J([5,o])),e}get nodeName(){return this[n]}get nodeType(){return 3}get ownerDocument(){return i.n}},"Node");te(o,S("childNodes,firstChild,isConnected,lastChild,nextSibling,parentElement,parentNode,previousSibling")),e.Node=o},Oe=S("AUDIO,CANVAS,VIDEO"),De=S("Audio,MediaSource"),ke=(e,r,n)=>{B(e,{body:{get:()=>r.e},cookie:{get(){return r.A?q(this,["cookie"]):(V("get","cookie",r),"")},set(e){r.A&&Z(this,["cookie"],e)}},createElement:{value(e){if(e=e.toUpperCase(),!x.test(e))throw e+" not valid";const r="IFRAME"===e,n=this[t],i=(r?"f_":"")+H(),s=Q(n,i,e);if(J(this,["createElement"],[e],2,i),r)Xe({U:i,I:n,R:y},!0).T.fetch=fetch,Z(s,["srcdoc"],Le());else if("SCRIPT"===e){const e=F(s,5);He(e)&&Z(s,["type"],W)}return s}},createElementNS:{value(e,r){const n=H(),i=Q(this[t],n,r,e);return J(this,["createElementNS"],[e,r],2,n),i}},createTextNode:{value(e){const r=this[t],n=H(),i=Q(r,n,"#text");return J(this,["createTextNode"],[e],2,n),i}},createEvent:{value:e=>new Event(e)},currentScript:{get(){return r.l?Q(this[t],r.l,"SCRIPT"):null}},defaultView:{get:()=>n?null:r.T},documentElement:{get:()=>r.o},getElementsByTagName:{value(e){return"BODY"===(e=e.toUpperCase())?[r.e]:"HEAD"===e?[r.s]:J(this,["getElementsByTagName"],[e])}},head:{get:()=>r.s},implementation:{get(){return{hasFeature:()=>!0,createHTMLDocument:e=>{const t=H();return J(this,["implementation","createHTMLDocument"],[e],1,{U:t}),ze(t,t,r.D+"","hidden",!0,!0).n}}}},location:{get:()=>r.D,set(e){r.D.href=e+""}},nodeType:{value:9},parentNode:{value:null},parentElement:{value:null},readyState:{value:"complete"},visibilityState:{get:()=>r.S||"visible"}}),ne(e,"compatMode,referrer,forms")},Be=(e,t)=>{B(e,{parentElement:{get(){return this.parentNode}},parentNode:{get:()=>t.o}})},je=(e,t)=>{B(e,{localName:{get(){return this[n].toLowerCase()}},namespaceURI:{get(){return this[i]||"http://www.w3.org/1999/xhtml"}},nodeType:{value:1},tagName:{get(){return this[n]}}}),te(e,I),ne(e,"id"),ie(t),se(t,S("getClientRects,getBoundingClientRect"))},Ue=(e,t)=>{const r={};S("hash,host,hostname,href,origin,pathname,port,protocol,search").map((e=>{r[e]={get(){let r,n=F(this,4);return"string"!=typeof n&&(r=q(this,["href"]),_(this,4,r),n=new URL(r)[e]),Ee(t,n)[e]},set(r){let n=F(this,4),i=Ee(t,n);i[e]=new URL(r+"",i.href),_(this,4,i.href),Z(this,["href"],i.href)}}})),B(e,r)},Fe=(e,t)=>{const r={contentDocument:{get(){return _e(this).n}},contentWindow:{get(){return _e(this).T}},src:{get(){let e=_e(this).D.href;return e.startsWith("about:")?"":e},set(e){if(!e.startsWith("about:")){let t,r=new XMLHttpRequest,n=_e(this);n.D.href=e=Ne(n,e),n.y=1,_(this,1,void 0),r.open("GET",e,!1),r.send(),t=r.status,t>199&&t<300?(Z(this,["srcdoc"],`<base href="${e}">`+r.responseText.replace(/<script>/g,\'<script type="text/partytown">\').replace(/<script /g,\'<script type="text/partytown" \').replace(/text\\/javascript/g,W)+Le()),X(!0),h.J([5,n.U])):(_(this,1,t),n.y=0)}}},...Ae};B(e,r)},_e=e=>{const n=e[r];return m[n]||Xe({U:n,I:e[t],R:q(e,["src"])||y},!0),m[n]},Ve=e=>{const t=(e,t)=>{const{a:r,b:n,c:i,d:s,e:o,f:a}=J(e,[t],P);return new DOMMatrixReadOnly([r,n,i,s,o,a])},r={...e,getCTM:{value:function(){return t(this,"getCTM")}},getScreenCTM:{value:function(){return t(this,"getScreenCTM")}}};B(e,r)},ze=(a,l,$,c,u,f)=>{const w=class{constructor(e,a,l,$,c){this[t]=e,this[r]=a,this[s]=l||[],this[n]=$,this[o]={},c&&(this[i]=c)}},b=new(D(class extends URL{assign(){}reload(){}replace(){}},"Location"))($),M=b.origin===h.H||b.origin===y,T={},E=D(class extends w{constructor(){super(a,a);let n,i,o=this,$=0,d=()=>{$||((h.u||(e.g=[q,Z,J,Y,B,H,t,r,s],h.t(v("partytown-media.js?v="+be)),h.u=e.f,delete e.f),h.u)(w,x,T,o,De),$=1)},m={},y=(e,t,r)=>(Oe.includes(e)&&d(),new(m[e]?m[e]:e.includes("-")?m.UNKNOWN:m.DIV)(a,t,P,e,r));var N,A;o.Window=E,We(o,T,w),we(o,w,"CSSStyleDeclaration"),((e,t,r)=>{e[r]=D(class extends t{now(){return performance.now()}},r)})(o,w,"Performance"),h.v.map((([e,t,n,i,l])=>{const $=Ge[e]?L:"EventTarget"===t?x:"Object"===t?w:o[t],c=o[e]=D(12===i?class extends w{constructor(...t){super(a,H()),Y(this,e,t)}}:o[e]||class extends ${},e);l&&(m[l]=c),n.map((([e,t,n])=>{e in c.prototype||e in $.prototype||("string"==typeof t?k(c,e,{get(){if(!U(this,e)){const n=this[r],i=[...this[s],e],l=o[t];l&&_(this,e,new l(a,n,i))}return F(this,e)},set(t){_(this,e,t)}}):5===t?j(c,e,(function(...t){return J(this,[e],t)})):t>0&&(void 0!==n?j(c,e,n):k(c,e,{get(){return q(this,[e])},set(t){return Z(this,[e],t)}})))}))})),S("atob,btoa,crypto,indexedDB,setTimeout,setInterval,clearTimeout,clearInterval").map((t=>{delete E.prototype[t],t in o||(n=e[t],null!=n&&(o[t]="function"!=typeof n||n.toString().startsWith("class")?n:n.bind(e)))})),Object.getOwnPropertyNames(e).map((t=>{t in o||(o[t]=e[t])})),De.map((e=>O(o,e,{get:()=>(d(),o[e])}))),"trustedTypes"in e&&(o.trustedTypes=e.trustedTypes),je(o.Element,o.HTMLElement),ke(o.Document,T,f),N=o.DocumentFragment,ee(N,11),te(N,I),Ue(o.HTMLAnchorElement,T),A=o.HTMLFormElement,B(A,{}),ne(A,"elements"),Fe(o.HTMLIFrameElement),Re(o.HTMLScriptElement,T),Ve(o.SVGGraphicsElement),Be(o.HTMLHeadElement,T),Be(o.HTMLBodyElement,T),((e,t)=>{B(e,{parentElement:{value:null},parentNode:{get:()=>t.n}})})(o.HTMLHtmlElement,T),ye(o,"CSSStyleSheet"),ee(o.Comment,8),ee(o.DocumentType,10),Object.assign(T,{U:a,I:l,T:new Proxy(o,{has:()=>!0}),n:y("#document",a+".d"),o:y("HTML",a+".e"),s:y("HEAD",a+".h"),e:y("BODY",a+".b"),D:b,S:c,A:M,k:y}),o.requestAnimationFrame=e=>setTimeout((()=>e(performance.now())),9),o.cancelAnimationFrame=e=>clearTimeout(e),o.requestIdleCallback=(e,t)=>(t=Date.now(),setTimeout((()=>e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})),1)),o.cancelIdleCallback=e=>clearTimeout(e),ge(o,"localStorage",p,M,T),ge(o,"sessionStorage",g,M,T),M||(o.indexeddb=void 0),u&&(i={},o.history={pushState(e){i=e},replaceState(e){i=e},get state(){return i},length:0}),o.Worker=void 0}addEventListener(...e){"load"===e[0]?T.M&&setTimeout((()=>e[1]({type:"load"}))):J(this,["addEventListener"],e,2)}get body(){return T.e}get document(){return T.n}get documentElement(){return T.o}fetch(e,t){return e="string"==typeof e||e instanceof URL?String(e):e.url,fetch(Ne(T,e),t)}get frameElement(){return a===l?null:Q(l,a,"IFRAME")}get globalThis(){return this}get head(){return T.s}get location(){return b}set location(e){b.href=e+""}get Image(){return xe(T)}get name(){return name+a}get navigator(){return(e=>{let t,r={sendBeacon:(t,r)=>{try{return fetch(Ne(e,t,!0),{method:"POST",body:r,mode:"no-cors",keepalive:!0}),!0}catch(e){return console.error(e),!1}}};for(t in navigator)r[t]=navigator[t];return r})(T)}get origin(){return b.origin}set origin(e){}get parent(){for(let e in m)if(m[e].U===l)return m[e].T;return this}postMessage(...e){m[e[0]]&&(C(d)>50&&d.splice(0,5),d.push({U:e[0],m:JSON.stringify(e[1])}),e=e.slice(1)),J(this,["postMessage"],e,3)}get self(){return this}get top(){for(let e in m)if(m[e].U===m[e].I)return m[e].T;return this}get window(){return this}get XMLHttpRequest(){const e=XMLHttpRequest,t=String(e),r=D(class extends e{open(...e){e[1]=Ne(T,e[1]),super.open(...e)}set withCredentials(e){}toString(){return t}},R(e));return r.prototype.constructor.toString=()=>t,r}},"Window"),L=class extends w{constructor(e,t,r,n){return super(e,t,r,n),new Proxy(this,{get:(e,t)=>q(e,[t]),set:(e,t,r)=>(Z(e,[t],r),!0)})}},x=class extends w{};return N.map((e=>x.prototype[e]=function(...t){return J(this,[e],t,2)})),ne(E,"devicePixelRatio"),ie(E),se(E,["getComputedStyle"]),new E,T},Ge={DOMStringMap:1,NamedNodeMap:1},Xe=({U:e,I:t,R:r,S:n},i)=>(m[e]||(m[e]=ze(e,t,r,n,i)),h.J([5,e]),m[e]),qe=[],Ze=t=>{const r=t.data,n=r[0],i=r[1];h.x?5===n?(async e=>{let t,r=e.U,n=e.w,i=Q(r,n,"SCRIPT"),s=e.j,o=e.R,a=e.G,l="",$=m[r];if(o)try{o=Ee($,o)+"",_(i,4,o),t=await fetch(o),t.ok?(s=await t.text(),$.l=n,Me($,s,a||o),Te(i,"load")):(l=t.statusText,Te(i,"error"))}catch(e){console.error(e),l=String(e.stack||e),Te(i,"error")}else s&&(l=Ie($,n,s,0,l));$.l="",h.J([4,r,n,l])})(i):7===n?(({U:e,w:t,K:r,Q:n,b:i})=>{if(c[r])try{c[r].apply(ce(e,t,[],n),ce(e,t,[],i))}catch(e){console.error(e)}})(i):8===n?(({U:e,q:t,b:r})=>{try{let n=m[e].T,i=0,s=C(t);for(;i<s;i++)i+1<s?n=n[t[i]]:n[t[i]].apply(n,ce(null,e,[],r))}catch(e){console.error(e)}})(i):3===n?Xe(i):6===n?(m[i].x=1,m[i].y=0):12===n?m[i].S=r[2]:11===n&&(m[i].D.href=r[2]):1===n?((t=>{const r=h.i=JSON.parse(t.i),n=t.H;h.t=importScripts.bind(e),h.v=t.v,h.B=t.B,h.H=n,h.J=postMessage.bind(e),h.O=t.O,p.set(n,t.C),g.set(n,t.N),e.importScripts=void 0,delete e.postMessage,delete e.WorkerGlobalScope,S("resolveUrl,get,set,apply").map((e=>{r[e]&&(r[e]=new Function("return "+r[e])())})),h.x=1})(i),h.J([2]),[...qe].map(Ze),qe.length=0):qe.push(t)};e.onmessage=Ze,postMessage([0])})(self);\n'],{type:"text/javascript"})),{name:"Partytown 🎉"}),J.onmessage=t=>{const r=t.data;10===r[0]?C(J,r[1]):e(J,r)},$.addEventListener("pt1",(e=>O(J,g(e.detail.frameElement),e.detail))))}))})(window);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* Partytown 0.4.5 - MIT builder.io */
|
|
2
|
+
(e=>{const[t,s,n,r,i,a,o,d,u]=e.g;delete e.g;const c=Symbol(),h=Symbol(),f=Symbol(),p=Symbol(),g=Symbol(),l=Symbol(),m=[],v=(e,t,s)=>e[t]=S(t,s),S=(e,t)=>Object.defineProperty(t,"name",{value:e}),b=(e,t)=>{const r={getContext:{value(e,t){return this[c]||(this[c]=(e.includes("webgl")?g:p)(this,e,t)),this[c]}}},h=v(t,"CanvasGradient",class extends e{addColorStop(...e){n(this,["addColorStop"],e,2)}}),f=v(t,"CanvasPattern",class extends e{setTransform(...e){n(this,["setTransform"],e,2)}}),p=(e,t,r)=>{const i=e[o],c=a(),f={[o]:i,[d]:c,[u]:[]},p=n(e,["getContext"],[t,r],1,c),g="getContextAttributes,getImageData,getLineDash,getTransform,isPointInPath,isPointInStroke,measureText".split(","),l={get:(e,t)=>"string"==typeof t&&t in p?"function"==typeof p[t]?(...e)=>{if(t.startsWith("create")){const r=a();return n(f,[t],e,2,r),"createImageData"===t||"createPattern"===t?(s=`${t}()`,console.warn(`${s} not implemented`),{setTransform:()=>{}}):new h(i,r)}var s;const r=g.includes(t)?1:2;return n(f,[t],e,r)}:p[t]:e[t],set:(e,t,n)=>("string"==typeof t&&t in p?(p[t]!==n&&"function"!=typeof n&&s(f,[t],n),p[t]=n):e[t]=n,!0)};return new Proxy(p,l)},g=(e,t,r)=>{const i=e[o],c=a(),h={[o]:i,[d]:c,[u]:[]},f=n(e,["getContext"],[t,r],1,c),p={get:(e,t)=>"string"==typeof t?"function"!=typeof f[t]?f[t]:(...e)=>n(h,[t],e,m(t)):e[t],set:(e,t,n)=>("string"==typeof t&&t in f?(f[t]!==n&&"function"!=typeof n&&s(h,[t],n),f[t]=n):e[t]=n,!0)};return new Proxy(f,p)},l="checkFramebufferStatus,makeXRCompatible".split(","),m=e=>e.startsWith("create")||e.startsWith("get")||e.startsWith("is")||l.includes(e)?1:2;v(t,"CanvasGradient",h),v(t,"CanvasPattern",f),i(t.HTMLCanvasElement,r)},y=(e,u,c,b)=>{var y,T;b.Audio=S("HTMLAudioElement",class{constructor(e){const t=c.k("audio",a());return t.src=e,t}});const w=class extends e{get enabled(){return t(this,["enabled"])}set enabled(e){s(this,["enabled"],e)}get id(){return t(this,["id"])}get kind(){return t(this,["kind"])}get label(){return t(this,["label"])}get language(){return t(this,["language"])}get sourceBuffer(){return new x(this)}},E=class{constructor(e){const s="audioTracks",r=e[o],i=e[d];return new Proxy({addEventListener(...t){n(e,[s,"addEventListener"],t,3)},getTrackById:(...t)=>n(e,[s,"getTrackById"],t),get length(){return t(e,[s,"length"])},removeEventListener(...t){n(e,[s,"removeEventListener"],t,3)}},{get:(e,t)=>"number"==typeof t?new w(r,i,[s,t]):e[t]})}},k=v(b,"SourceBufferList",class extends Array{constructor(e){super(),this[h]=e}addEventListener(...e){n(this[h],["sourceBuffers","addEventListener"],e,3)}removeEventListener(...e){n(this[h],["sourceBuffers","removeEventListener"],e,3)}}),x=v(b,"SourceBuffer",(T=class extends u{constructor(e){super(e[o],e[d],["sourceBuffers"]),this[y]=[],this[h]=e}abort(){const e=R(this);n(this,[e,"appendWindowStart"],m,1)}addEventListener(...e){const t=R(this);n(this,[t,"addEventListener"],e,3)}appendBuffer(e){this[g].push(["appendBuffer",[e],e]),M(this)}get appendWindowStart(){const e=R(this);return t(this,[e,"appendWindowStart"])}set appendWindowStart(e){const t=R(this);s(this,[t,"appendWindowStart"],e)}get appendWindowEnd(){const e=R(this);return t(this,[e,"appendWindowEnd"])}set appendWindowEnd(e){const t=R(this);s(this,[t,"appendWindowEnd"],e)}get buffered(){const e=this[h],t=R(this);return new B(e[o],e[d],["sourceBuffers",t,"buffered"])}changeType(e){const t=R(this);n(this,[t,"changeType"],[e],2)}get mode(){const e=R(this);return t(this,[e,"mode"])}set mode(e){const t=R(this);s(this,[t,"mode"],e)}remove(e,t){this[g].push(["remove",[e,t]]),M(this)}removeEventListener(...e){const t=R(this);n(this,[t,"removeEventListener"],e,3)}get timestampOffset(){const e=R(this);return t(this,[e,"timestampOffset"])}set timestampOffset(e){const t=R(this);s(this,[t,"timestampOffset"],e)}get updating(){const e=R(this);return t(this,[e,"updating"])}},y=g,T)),B=v(b,"TimeRanges",class extends e{start(...e){return n(this,["start"],e)}end(...e){return n(this,["end"],e)}get length(){return t(this,["length"])}}),R=e=>e?e[h][p].indexOf(e):-1,M=e=>{if(e[g].length){if(!e.updating){const t=e[g].shift();if(t){const s=R(e);n(e,[s,t[0]],t[1],3,void 0,t[2])}}setTimeout((()=>M(e)),50)}},W={buffered:{get(){return this[l]||(this[l]=new B(this[o],this[d],["buffered"]),setTimeout((()=>{this[l]=void 0}),5e3)),this[l]}},readyState:{get(){return 4===this[f]?4:("number"!=typeof this[f]&&(this[f]=t(this,["readyState"]),setTimeout((()=>{this[f]=void 0}),1e3)),this[f])}}};v(b,"MediaSource",class extends u{constructor(){super(c.U,a()),this[p]=new k(this),r(this,"MediaSource",m)}get activeSourceBuffers(){return[]}addSourceBuffer(e){const t=new x(this);return this[p].push(t),n(this,["addSourceBuffer"],[e]),t}clearLiveSeekableRange(){n(this,["clearLiveSeekableRange"],m,2)}get duration(){return t(this,["duration"])}set duration(e){s(this,["duration"],e)}endOfStream(e){n(this,["endOfStream"],[e],3)}get readyState(){return t(this,["readyState"])}removeSourceBuffer(e){const t=R(e);t>-1&&(this[p].splice(t,1),n(this,["removeSourceBuffer"],[t],1))}setLiveSeekableRange(e,t){n(this,["setLiveSeekableRange"],[e,t],2)}get sourceBuffers(){return this[p]}static isTypeSupported(e){if(!L.has(e)){const t=n(b,["MediaSource","isTypeSupported"],[e]);L.set(e,t)}return L.get(e)}});const C=b.URL=S("URL",class extends URL{});"audioTracks"in b.HTMLMediaElement.prototype&&(v(b,"AudioTrackList",E),v(b,"AudioTrack",w),W.audioTracks={get(){return new E(this)}}),i(b.HTMLMediaElement,W),C.createObjectURL=e=>n(b,["URL","createObjectURL"],[e]),C.revokeObjectURL=e=>n(b,["URL","revokeObjectURL"],[e])},L=new Map;e.f=(e,t,s,n,r)=>{r.map((e=>{delete n[e]})),b(e,n),y(e,t,s,n)}})(self);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* Partytown 0.4.5 - MIT builder.io */
|
|
2
|
+
const e=new Map,t=(e,t)=>({E:e.E,p:t}),r=(e,t)=>new Response(e,{headers:{"content-type":t||"text/html","Cache-Control":"no-store"}});self.oninstall=()=>self.skipWaiting(),self.onactivate=()=>self.clients.claim(),self.onmessage=t=>{const r=t.data,n=e.get(r.E);n&&(e.delete(r.E),clearTimeout(n[1]),n[0](r))},self.onfetch=n=>{const i=n.request,s=new URL(i.url).pathname;s.endsWith("sw.html")?n.respondWith(r('<!DOCTYPE html><html><head><meta charset="utf-8"><script type="module">/* Partytown 0.4.5 - MIT builder.io */\n(e=>{const t=()=>{},r=e=>e.length,n=e=>{try{return e.constructor.name}catch(e){}return""},i=(e,t)=>e.startsWith(t),s=e=>!(i(e,"webkit")||i(e,"toJSON")||i(e,"constructor")||i(e,"toString")||i(e,"_")),o=()=>Math.round(Math.random()*Number.MAX_SAFE_INTEGER).toString(36),a={Anchor:"a",DList:"dl",Image:"img",OList:"ol",Paragraph:"p",Quote:"q",TableCaption:"caption",TableCell:"td",TableCol:"colgroup",TableRow:"tr",TableSection:"tbody",UList:"ul"},l={Graphics:"g",SVG:"svg"},c=Symbol(),u=Symbol(),p=new Map,h=new Map,d={},m=new WeakMap,g=(e,t)=>{if(e)return(t=m.get(e))||(t=e[c])||y(e,t=o()),t},f=(e,t,r,n,i)=>{if((r=d[e])&&r.T){if(e===t)return r.T;if(n=r.T.document,"d"===(i=t.split(".").pop()))return n;if("e"===i)return n.documentElement;if("h"===i)return n.head;if("b"===i)return n.body}return p.get(t)},y=(e,t,r)=>{e&&(p.set(t,e),e[c]=t,e[u]=r=Date.now(),r>w+5e3&&(p.forEach(((e,t)=>{e[u]<w&&e.nodeType&&!e.isConnected&&p.delete(t)})),w=r))};let w=0;const $=e.parent,S=document,v=$.partytown||{},b=(v.lib||"/~partytown/")+"",T=(e,t,r,s,o)=>void 0!==t&&(s=typeof t)?"string"===s||"number"===s||"boolean"===s||null==t?[0,t]:"function"===s?[6]:(r=r||new Set)&&Array.isArray(t)?r.has(t)?[1,[]]:r.add(t)&&[1,t.map((t=>T(e,t,r)))]:"object"===s?""===(o=n(t))?[2,{}]:"Window"===o?[3,[e,e]]:"HTMLCollection"===o||"NodeList"===o?[7,Array.from(t).map((t=>T(e,t,r)[1]))]:o.endsWith("Event")?[5,M(e,t,r)]:"CSSRuleList"===o?[12,Array.from(t).map(E)]:i(o,"CSS")&&o.endsWith("Rule")?[11,E(t)]:"CSSStyleDeclaration"===o?[13,M(e,t,r)]:"Attr"===o?[10,[t.name,t.value]]:t.nodeType?[3,[e,g(t),t.nodeName]]:[2,M(e,t,r,!0,!0)]:void 0:t,M=(e,t,r,n,i,o,a,l)=>{if(o={},!r.has(t))for(a in r.add(t),t)s(a)&&(l=t[a],(n||"function"!=typeof l)&&(i||""!==l)&&(o[a]=T(e,l,r)));return o},E=e=>{let t,r={};for(t in e)C.includes(t)&&(r[t]=String(e[t]));return r},I=(t,r,n,i)=>r?(n=r[0],i=r[1],0===n?i:4===n?N(t,i):1===n?i.map((e=>I(t,e))):3===n?f(i[0],i[1]):5===n?L(x(t,i)):2===n?x(t,i):8===n?i:9===n?new e[r[2]](i):void 0):void 0,N=(e,{U:t,w:r,K:n},i)=>((i=h.get(n))||(i=function(...i){e.postMessage([7,{U:t,w:r,K:n,Q:T(t,this),b:T(t,i)}])},h.set(n,i)),i),L=e=>new("detail"in e?CustomEvent:Event)(e.type,e),x=(e,t,r,n)=>{for(n in r={},t)r[n]=I(e,t[n]);return r},C="cssText,selectorText,href,media,namespaceURI,prefix,name,conditionText".split(","),R=async(e,t)=>{let n,i,s,o,a,l,c={E:t.E},u=r(t.P),p=0;for(;p<u;p++)try{l=p===u-1,n=t.P[p],i=n.U,s=n.a,!d[i]&&i.startsWith("f_")&&await new Promise((e=>{let t=0,r=()=>{d[i]||t++>1e3?e():requestAnimationFrame(r)};r()})),1===s[0]&&s[1]in d[i].T?y(new d[i].T[s[1]](...I(e,s[2])),n.w):(o=f(i,n.w),o?(a=A(e,o,s,l,n.r),n.d&&("string"==typeof n.d?y(a,n.d):d[n.d.U]={U:n.d.U,T:{document:a}}),"object"==typeof(h=a)&&h&&h.then&&(a=await a,c.z=!0),c.L=T(i,a)):c.p=n.w+" not found")}catch(e){l?c.p=String(e.stack||e):console.error(e)}var h;return c},A=(e,t,n,i,s)=>{let o,a,l,c,u,p=0,h=r(n);for(;p<h;p++){a=n[p],o=n[p+1],l=n[p-1];try{if(!Array.isArray(o))if("string"==typeof a||"number"==typeof a){if(p+1===h&&s)return u={},s.map((e=>u[e]=t[e])),u;t=t[a]}else{if(0===o)return void(t[l]=I(e,a));if("function"==typeof t[l]&&(c=I(e,a),"insertRule"===l&&c[1]>r(t.cssRules)&&(c[1]=r(t.cssRules)),t=t[l].apply(t,c),"play"===l))return Promise.resolve()}}catch(e){if(i)throw e;console.debug(e)}}return t},O=(e,t,r)=>{if(!m.has(r)){m.set(r,t);const n=r.document,i=r.history,s=m.get(r.parent),o=()=>e.postMessage([3,{U:t,I:s,R:n.baseURI,S:n.visibilityState}]),a=i.pushState.bind(i),l=i.replaceState.bind(i),c=()=>setTimeout((()=>e.postMessage([11,t,n.baseURI])));i.pushState=(e,t,r)=>{a(e,t,r),c()},i.replaceState=(e,t,r)=>{l(e,t,r),c()},r.addEventListener("popstate",c),r.addEventListener("hashchange",c),n.addEventListener("visibilitychange",(()=>e.postMessage([12,t,n.visibilityState]))),d[t]={U:t,T:r},"complete"===n.readyState?o():r.addEventListener("load",o)}},H=(e,t)=>{let n,i,s,o=t.U,a=t.T,l=a.document;l&&l.body?(n=l.querySelector(\'script[type="text/partytown"]:not([data-ptid]):not([data-pterror]):not([async]):not([defer])\'),n||(n=l.querySelector(\'script[type="text/partytown"]:not([data-ptid]):not([data-pterror])\')),n?(n.dataset.ptid=i=g(n,o),s={U:o,w:i},n.src?(s.R=n.src,s.G=n.dataset.ptsrc||n.src):s.j=n.innerHTML,e.postMessage([5,s])):(t.x||(t.x=1,((e,t,n)=>{let i,s,o=n._ptf,a=(n.partytown||{}).forward||[],l=(r,n)=>e.postMessage([8,{U:t,q:r,b:T(t,Array.from(n))}]);if(n._ptf=void 0,a.map((e=>{s=n,e.split(".").map(((e,t,n)=>{s=s[n[t]]=t+1<r(n)?s[n[t]]||("push"===n[t+1]?[]:{}):(...e)=>l(n,e)}))})),o)for(i=0;i<r(o);i+=2)l(o[i],o[i+1])})(e,o,a),l.dispatchEvent(new CustomEvent("pt0"))),e.postMessage([6,o]))):requestAnimationFrame((()=>H(e,t)))},D=()=>{const e=S.implementation.createHTMLDocument(),t=e.createElement("i"),r=e.createTextNode(""),i=e.createComment(""),s=e.createDocumentFragment(),o=F($,"IntersectionObserver"),c=F($,"MutationObserver"),u=F($,"ResizeObserver"),p=$.performance,h=$.screen,d=Object.getOwnPropertyNames($).map((t=>((e,t,r,n)=>{if(r=t.match(/^(HTML|SVG)(.+)Element$/))return n=r[2],"S"==t[0]?e.createElementNS("http://www.w3.org/2000/svg",l[n]||n.slice(0,2).toLowerCase()+n.slice(2)):e.createElement(a[n]||n)})(e,t))).filter((e=>e)).map((e=>[e])),m=[[$.history],[p],[p.navigation],[p.timing],[h],[h.orientation],[$.visualViewport],[o,12],[c,12],[u,12],[r],[i],[s],[t],[t.attributes],[t.classList],[t.dataset],[t.style],[e],[e.doctype],...d].filter((e=>e[0])).map((e=>{const t=e[0],r=e[1],i=n(t);return[i,$[i].prototype,t,r]})),g=[U("Window",$),U("Node",r)],f={i:JSON.stringify(v,((e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t))),B:new URL(b,$.location)+"",v:g,H:origin,C:k("localStorage"),N:k("sessionStorage")};return m.map((([e,t,r,n])=>P(g,e,t,r,n))),j(g,$,"IntersectionObserverEntry"),f},U=(e,t,r)=>{let n=[],i=[e,"Object",n];for(r in t)_(n,t,r);return i},P=(e,t,r,i,s)=>{if("Object"!==t&&!e.some((e=>e[0]===t))){const o=Object.getPrototypeOf(r),a=n(o),l=[];P(e,a,o,i,s),Object.keys(Object.getOwnPropertyDescriptors(r)).map((e=>_(l,i,e))),e.push([t,a,l,s,i.nodeName])}},_=(e,t,r,i,o,a)=>{try{s(r)&&isNaN(r[0])&&"all"!==r&&("function"==(o=typeof(i=t[r]))?(String(i).includes("[native")||Object.getPrototypeOf(t)[r])&&e.push([r,5]):"object"===o&&null!=i?"Object"!==(a=n(i))&&self[a]&&e.push([r,i.nodeType||a]):"symbol"!==o&&(r.toUpperCase()===r?e.push([r,6,i]):e.push([r,6])))}catch(e){console.warn(e)}},k=e=>{let t,n=[],i=0,s=r($[e]);for(;i<s;i++)t=$[e].key(i),n.push([t,$[e].getItem(t)]);return n},F=(e,r)=>void 0!==e[r]?new e[r](t):0,j=(e,t,r)=>{void 0!==t[r]&&e.push([r,"Object",Object.keys(t[r].prototype).map((e=>[e,6])),12])};let J;(t=>{const r=e.navigator.serviceWorker;return r.getRegistration().then((e=>(r.addEventListener("message",(t=>{return r=t.data,n=t=>e.active&&e.active.postMessage(t),R(J,r).then(n);var r,n})),(e,t)=>{0===t[0]?e.postMessage([1,D()]):((e,t,r)=>{2===t[0]?O(e,o(),$):(r=d[t[1]])&&(5===t[0]?requestAnimationFrame((()=>H(e,r))):4===t[0]&&((e,t,r,n,i)=>{(i=t.T.document.querySelector(`[data-ptid="${r}"]`))&&(n?i.dataset.pterror=n:i.type+="-x",delete i.dataset.ptid),H(e,t)})(e,r,t[2],t[3]))})(e,t)})))})().then((e=>{e&&(J=new Worker(URL.createObjectURL(new Blob([\'/* Partytown 0.4.5 - MIT builder.io */\\n(e=>{const t=Symbol(),r=Symbol(),n=Symbol(),i=Symbol(),s=Symbol(),o=Symbol(),a=Symbol(),l=Symbol(),$=new Map,c={},u=new WeakMap,d=[],h={},p=new Map,g=new Map,m={},f=new Map,y=new Map,w="about:blank",S=e=>e.split(","),v=e=>{if(e=h.B+e,new URL(e).origin!=location.origin)throw"Invalid "+e;return e},b=S("clientWidth,clientHeight,clientTop,clientLeft,innerWidth,innerHeight,offsetWidth,offsetHeight,offsetTop,offsetLeft,outerWidth,outerHeight,pageXOffset,pageYOffset,scrollWidth,scrollHeight,scrollTop,scrollLeft"),I=S("childElementCount,children,firstElementChild,lastElementChild,nextElementSibling,previousElementSibling"),T=S("insertBefore,remove,removeChild,replaceChild"),M=S("className,width,height,hidden,innerHTML,innerText,textContent"),E=S("setAttribute,setAttributeNS,setProperty"),N=S("addEventListener,dispatchEvent,removeEventListener"),L=N.concat(E,S("add,observe,remove,unobserve")),x=/^[A-Z]([A-Z0-9-]*[A-Z0-9])?$/,C=()=>{},R=e=>e.length,A=e=>{try{return e.constructor.name}catch(e){}return""},P=[],H=()=>Math.round(Math.random()*Number.MAX_SAFE_INTEGER).toString(36),O="text/partytown",W=(e,t,r)=>Object.defineProperty(e,t,{...r,configurable:!0}),D=(e,t)=>W(e,"name",{value:t}),k=(e,t,r)=>W(e.prototype,t,r),B=(e,t)=>Object.defineProperties(e.prototype,t),j=(e,t,r)=>k(e,t,{value:r,writable:!0}),U=(e,t)=>t in e[o],F=(e,t)=>e[o][t],_=(e,t,r)=>e[o][t]=r,V=(e,t,r)=>console.warn(`Partytown unable to ${e} cross-origin ${t}: `+r.D),X=[],q=(e,n,i,o,a,l)=>{if(X.push({U:e[t],w:e[r],a:[...e[s],...n],d:o,r:a}),3===i)h.J([10,{E:H(),P:[...X]}],l?[l instanceof ArrayBuffer?l:l.buffer]:void 0),X.length=0;else if(1===i)return z(!0);h.c=setTimeout(z,20)},z=e=>{if(clearTimeout(h.c),R(X)){const t=X[R(X)-1],r={E:H(),P:[...X]};if(X.length=0,e){const e=((e,t)=>{const r=new XMLHttpRequest;return r.open("POST",v("proxytown"),!1),r.send(JSON.stringify(t)),JSON.parse(r.responseText)})(0,r),n=e.z,i=ce(t.U,t.w,t.a,e.L);if(e.p){if(n)return Promise.reject(e.p);throw new Error(e.p)}return n?Promise.resolve(i):i}h.J([10,r])}},G=(e,t,r,n)=>h.i.get&&(n=h.i.get(K(e,t)))!==a?n:n=q(e,t,1,void 0,r),J=(e,t,r,n)=>{if(h.i.set){if((n=h.i.set({value:r,prevent:l,...K(e,t)}))===l)return;n!==a&&(r=n)}M.some((e=>t.includes(e)))&&(f.clear(),t[t.length-1]),t=[...t,$e(e,r),0],q(e,t,2)},Z=(e,t,r,n,i,s,o,l)=>h.i.apply&&(o=h.i.apply({args:r,...K(e,t)}))!==a?o:(l=t[R(t)-1],t=[...t,$e(e,r)],n=n||(L.includes(l)?2:1),"setAttribute"===l&&U(e,r[0])?_(e,r[0],r[1]):T.includes(l)?(f.clear(),y.clear()):E.includes(l)&&(n=2,f.clear()),o=q(e,t,n,i,void 0,s)),Y=(e,t,r)=>{q(e,[1,t,$e(e,r)],1)},K=(e,t)=>({name:t.join("."),continue:a,nodeName:e[n],constructor:A(e)}),Q=(e,t,r,n,i)=>(!(i=$.get(t))&&r&&m[e]&&(i=m[e].k(r,t,n),$.set(t,i)),i),ee=(e,t)=>j(e,"nodeType",t),te=(e,t)=>t.map((t=>k(e,t,{get(){let e=re(this,t),r=y.get(e);return r||(r=G(this,[t]),y.set(e,r)),r}}))),re=(e,n,i)=>[e[t],e[r],n,...(i||P).map((e=>String(e&&e[t]?e[r]:e)))].join("."),ne=(e,t)=>S(t).map((t=>k(e,t,{get(){return U(this,t)||_(this,t,G(this,[t])),F(this,t)},set(e){F(this,t)!==e&&J(this,[t],e),_(this,t,e)}}))),ie=e=>b.map((t=>k(e,t,{get(){const e=f.get(re(this,t));if("number"==typeof e)return e;const r=G(this,[t],b);return r&&"object"==typeof r?(Object.entries(r).map((([e,t])=>f.set(re(this,e),t))),r[t]):r}}))),se=(e,t)=>t.map((t=>{e.prototype[t]=function(...e){let r=re(this,t,e),n=f.get(r);return n||(n=Z(this,[t],e),f.set(r,n)),n}})),oe=(e,n,i,s,o)=>{return void 0!==i&&(o=typeof i)?"string"===o||"boolean"===o||"number"===o||null==i?[0,i]:"function"===o?[4,{U:e,w:n,K:(a=i,(l=u.get(a))||(u.set(a,l=H()),c[l]=a),l)}]:(s=s||new Set)&&Array.isArray(i)?s.has(i)?[1,[]]:s.add(i)&&[1,i.map((t=>oe(e,n,t,s)))]:"object"===o?i[r]?[3,[i[t],i[r]]]:i instanceof Event?[5,le(e,n,i,!1,s)]:ae&&i instanceof TrustedHTML?[0,i.toString()]:i instanceof ArrayBuffer?[8,i]:ArrayBuffer.isView(i)?[9,i.buffer,A(i)]:[2,le(e,n,i,!0,s)]:void 0:i;var a,l},ae="undefined"!=typeof TrustedHTML,le=(e,t,r,n,i,s,o,a)=>{if(s={},!i.has(r))for(o in i.add(r),r)a=r[o],(n||"function"!=typeof a)&&(s[o]=oe(e,t,a,i));return s},$e=(e,n)=>e?oe(e[t],e[r],n):[0,n],ce=(e,t,r,n,i,s,o,a)=>{if(n){if(i=n[0],s=n[1],0===i||11===i||12===i)return s;if(4===i)return de(r,s);if(6===i)return C;if(3===i)return ue(s);if(7===i)return new he(s.map(ue));if(10===i)return new pe(s);if(1===i)return s.map((n=>ce(e,t,r,n)));for(a in o={},s)o[a]=ce(e,t,[...r,a],s[a]);if(13===i)return new m[e].T.CSSStyleDeclaration(e,t,r,o);if(5===i){if("message"===o.type&&o.origin){let e,t=JSON.stringify(o.data),r=d.find((e=>e.m===t));r&&(e=m[r.U],e&&(o.source=e.T,o.origin=e.D.origin))}return new Proxy(new Event(o.type,o),{get:(e,t)=>t in o?o[t]:"function"==typeof e[String(t)]?C:e[String(t)]})}if(2===i)return o}},ue=([e,t,r])=>t===e&&m[e]?m[e].T:Q(e,t,r),de=(e,{U:t,w:r,F:n,K:i})=>(c[i]||u.set(c[i]=function(...i){const s=Q(t,r,n);return Z(s,e,i)},i),c[i]),he=class{constructor(e){(this._=e).map(((e,t)=>this[t]=e))}entries(){return this._.entries()}forEach(e,t){this._.map(e,t)}item(e){return this[e]}keys(){return this._.keys()}get length(){return R(this._)}values(){return this._.values()}[Symbol.iterator](){return this._[Symbol.iterator]()}},pe=class{constructor(e){this.name=e[0],this.value=e[1]}get nodeName(){return this.name}get nodeType(){return 2}},ge=(e,t,r,n,i)=>{let s,o,a=t=>((t=r.get(e.origin))||r.set(e.origin,t=[]),t),l=e=>a().findIndex((t=>t[me]===e)),$={getItem:e=>(s=l(e),s>-1?a()[s][fe]:null),setItem(r,o){s=l(r),s>-1?a()[s][fe]=o:a().push([r,o]),n?Z(e,[t,"setItem"],[r,o],2):V("set",t,i)},removeItem(r){s=l(r),s>-1&&a().splice(s,1),n?Z(e,[t,"removeItem"],[r],2):V("remove",t,i)},key:e=>(o=a()[e],o?o[me]:null),clear(){a().length=0,n?Z(e,[t,"clear"],P,2):V("clear",t,i)},get length(){return a().length}};e[t]=$},me=0,fe=1,ye=(e,t,r)=>{e[r]=D(class extends t{constructor(e,t,r,i){return super(e,t,r,i||{}),new Proxy(this,{get:(e,t)=>e[t]?e[t]:(e[t]||"string"!=typeof t||e[n][t]||(e[n][t]=G(e,[t])),e[n][t]),set:(e,t,r)=>(e[n][t]=r,J(e,[t],r),f.clear(),!0)})}setProperty(...e){this[n][e[0]]=e[1],Z(this,["setProperty"],e,2),e[0],f.clear()}getPropertyValue(e){return this[e]}removeProperty(e){let t=this[n][e];return Z(this,["removeProperty"],[e],2),f.clear(),this[n][e]=void 0,t}},r)},we=(e,t)=>{e[t]=D(class{constructor(e){this.ownerNode=e}get cssRules(){const e=this.ownerNode;return new Proxy({},{get(t,r){const n=String(r);return"item"===n?t=>ve(e,t):"length"===n?Se(e).length:isNaN(n)?t[r]:ve(e,n)}})}insertRule(e,t){const r=Se(this.ownerNode);return(t=void 0===t?0:t)>=0&&t<=r.length&&(Z(this.ownerNode,["sheet","insertRule"],[e,t],2),r.splice(t,0,0)),this.ownerNode,f.clear(),t}deleteRule(e){Z(this.ownerNode,["sheet","deleteRule"],[e],2),Se(this.ownerNode).splice(e,1),this.ownerNode,f.clear()}get type(){return"text/css"}},t);const r={sheet:{get(){return new e[t](this)}}};B(e.HTMLStyleElement,r)},Se=(e,t)=>((t=F(e,2))||(t=G(e,["sheet","cssRules"]),_(e,2,t)),t),ve=(e,t,r)=>(0===(r=Se(e))[t]&&(r[t]=G(e,["sheet","cssRules",parseInt(t,10)])),r[t]),be="0.4.5",Ie=(e,t,r,n,i)=>{try{e.l=t,Te(e,r)}catch(e){console.error(r,e),i=String(e.stack||e)}return e.l="",i},Te=(e,t,r)=>{e.M=1,t=`with(this){${(h.i.globalFns||[]).filter((e=>/[a-zA-Z_$][0-9a-zA-Z_$]*/.test(e))).map((e=>`(typeof ${e}==\\\'function\\\'&&(window.${e}=${e}))`)).join(";")+t.replace(/\\\\bthis\\\\b/g,"(thi$(this)?window:this)").replace(/\\\\/\\\\/# so/g,"//Xso")}\\\\n;function thi$(t){return t===this}}`+(r?"\\\\n//# sourceURL="+r:""),e.A||(t=t.replace(/.postMessage\\\\(/g,`.postMessage(\\\'${e.U}\\\',`)),new Function(t).call(e.T),e.M=0},Me=(e,t,r)=>{(r=F(e,t))&&setTimeout((()=>r.map((e=>e({type:t})))))},Ee=(e,t,r,n,i,s)=>{for(n=e.D;!n.host&&(n=(e=m[e.I]).D,e.U!==e.I););return i=new URL(t||"",n),!r&&h.i.resolveUrl&&(s=h.i.resolveUrl(i,n))?s:i},Ne=(e,t,r)=>Ee(e,t,r)+"",Le=()=>`<script src="${v("partytown.js?v="+be)}"><\\\\/script>`,xe=e=>class{constructor(){this.s="",this.l=[],this.e=[]}get src(){return this.s}set src(t){fetch(Ne(e,t,!0),{mode:"no-cors",keepalive:!0}).then((e=>{e.ok||0===e.status?this.l.map((e=>e({type:"load"}))):this.e.map((e=>e({type:"error"})))}),(()=>this.e.forEach((e=>e({type:"error"})))))}addEventListener(e,t){"load"===e&&this.l.push(t),"error"===e&&this.e.push(t)}get onload(){return this.l[0]}set onload(e){this.l=[e]}get onerror(){return this.e[0]}set onerror(e){this.e=[e]}},Ce={addEventListener:{value(...e){const t=e[0],r=F(this,t)||[];r.push(e[1]),_(this,t,r)}},async:{get:C,set:C},defer:{get:C,set:C},onload:{get(){let e=F(this,"load");return e&&e[0]||null},set(e){_(this,"load",e?[e]:null)}},onerror:{get(){let e=F(this,"error");return e&&e[0]||null},set(e){_(this,"error",e?[e]:null)}},getAttribute:{value(e){return"src"===e?this.src:Z(this,["getAttribute"],[e])}},setAttribute:{value(e,t){Re.includes(e)?this[e]=t:Z(this,["setAttribute"],[e,t])}}},Re=S("src,type"),Ae=(e,t)=>{const r={innerHTML:Pe,innerText:Pe,src:{get(){return F(this,4)||""},set(e){const r=Ne(t,e,!0);e=Ne(t,e),_(this,4,e),J(this,["src"],e),r!==e&&J(this,["dataset","ptsrc"],r)}},textContent:Pe,type:{get(){return G(this,["type"])},set(e){He(e)||(_(this,5,e),J(this,["type"],e))}},...Ce};B(e,r)},Pe={get(){return F(this,3)||""},set(e){_(this,3,e)}},He=e=>!e||"text/javascript"===e,Oe=(e,i,s)=>{const o=D(class extends s{appendChild(e){return this.insertBefore(e,null)}get href(){}set href(e){}insertBefore(e,s){const o=e[t]=this[t],a=e[r],l=e[n],$="SCRIPT"===l,c="IFRAME"===l;if($){const t=F(e,3),r=F(e,5);if(t){if(He(r)){const r=Ie(i,a,t,0,""),n=r?"pterror":"ptid",s=r||a;J(e,["type"],O+"-x"),J(e,["dataset",n],s)}J(e,["innerHTML"],t)}}return Z(this,["insertBefore"],[e,s],2),c&&((e,t)=>{let r,n,i=0,s=()=>{m[e]&&m[e].x&&!m[e].y?(r=F(t,1)?"error":"load",n=F(t,r),n&&n.map((e=>e({type:r})))):i++>2e3?(n=F(t,"error"),n&&n.map((e=>e({type:"error"})))):setTimeout(s,9)};s()})(a,e),$&&(z(!0),h.J([5,o])),e}get nodeName(){return this[n]}get nodeType(){return 3}get ownerDocument(){return i.n}},"Node");te(o,S("childNodes,firstChild,isConnected,lastChild,nextSibling,parentElement,parentNode,previousSibling")),e.Node=o},We=S("AUDIO,CANVAS,VIDEO"),De=S("Audio,MediaSource"),ke=(e,r,n)=>{B(e,{body:{get:()=>r.e},cookie:{get(){return r.A?G(this,["cookie"]):(V("get","cookie",r),"")},set(e){r.A&&J(this,["cookie"],e)}},createElement:{value(e){if(e=e.toUpperCase(),!x.test(e))throw e+" not valid";const r="IFRAME"===e,n=this[t],i=(r?"f_":"")+H(),s=Q(n,i,e);if(Z(this,["createElement"],[e],2,i),r)ze({U:i,I:n,R:w},!0).T.fetch=fetch,J(s,["srcdoc"],Le());else if("SCRIPT"===e){const e=F(s,5);He(e)&&J(s,["type"],O)}return s}},createElementNS:{value(e,r){const n=H(),i=Q(this[t],n,r,e);return Z(this,["createElementNS"],[e,r],2,n),i}},createTextNode:{value(e){const r=this[t],n=H(),i=Q(r,n,"#text");return Z(this,["createTextNode"],[e],2,n),i}},createEvent:{value:e=>new Event(e)},currentScript:{get(){return r.l?Q(this[t],r.l,"SCRIPT"):null}},defaultView:{get:()=>n?null:r.T},documentElement:{get:()=>r.o},getElementsByTagName:{value(e){return"BODY"===(e=e.toUpperCase())?[r.e]:"HEAD"===e?[r.s]:Z(this,["getElementsByTagName"],[e])}},head:{get:()=>r.s},implementation:{get(){return{hasFeature:()=>!0,createHTMLDocument:e=>{const t=H();return Z(this,["implementation","createHTMLDocument"],[e],1,{U:t}),Xe(t,t,r.D+"","hidden",!0,!0).n}}}},location:{get:()=>r.D,set(e){r.D.href=e+""}},nodeType:{value:9},parentNode:{value:null},parentElement:{value:null},readyState:{value:"complete"},visibilityState:{get:()=>r.S||"visible"}}),ne(e,"compatMode,referrer,forms")},Be=(e,t)=>{B(e,{parentElement:{get(){return this.parentNode}},parentNode:{get:()=>t.o}})},je=(e,t)=>{B(e,{localName:{get(){return this[n].toLowerCase()}},namespaceURI:{get(){return this[i]||"http://www.w3.org/1999/xhtml"}},nodeType:{value:1},tagName:{get(){return this[n]}}}),te(e,I),ne(e,"id"),ie(t),se(t,S("getClientRects,getBoundingClientRect"))},Ue=(e,t)=>{const r={};S("hash,host,hostname,href,origin,pathname,port,protocol,search").map((e=>{r[e]={get(){let r,n=F(this,4);return"string"!=typeof n&&(r=G(this,["href"]),_(this,4,r),n=new URL(r)[e]),Ee(t,n)[e]},set(r){let n=F(this,4),i=Ee(t,n);i[e]=new URL(r+"",i.href),_(this,4,i.href),J(this,["href"],i.href)}}})),B(e,r)},Fe=(e,t)=>{const r={contentDocument:{get(){return _e(this).n}},contentWindow:{get(){return _e(this).T}},src:{get(){let e=_e(this).D.href;return e.startsWith("about:")?"":e},set(e){if(!e.startsWith("about:")){let t,r=new XMLHttpRequest,n=_e(this);n.D.href=e=Ne(n,e),n.y=1,_(this,1,void 0),r.open("GET",e,!1),r.send(),t=r.status,t>199&&t<300?(J(this,["srcdoc"],`<base href="${e}">`+r.responseText.replace(/<script>/g,\\\'<script type="text/partytown">\\\').replace(/<script /g,\\\'<script type="text/partytown" \\\').replace(/text\\\\/javascript/g,O)+Le()),z(!0),h.J([5,n.U])):(_(this,1,t),n.y=0)}}},...Ce};B(e,r)},_e=e=>{const n=e[r];return m[n]||ze({U:n,I:e[t],R:G(e,["src"])||w},!0),m[n]},Ve=e=>{const t=(e,t)=>{const{a:r,b:n,c:i,d:s,e:o,f:a}=Z(e,[t],P);return new DOMMatrixReadOnly([r,n,i,s,o,a])},r={...e,getCTM:{value:function(){return t(this,"getCTM")}},getScreenCTM:{value:function(){return t(this,"getScreenCTM")}}};B(e,r)},Xe=(a,l,$,c,u,f)=>{const y=class{constructor(e,a,l,$,c){this[t]=e,this[r]=a,this[s]=l||[],this[n]=$,this[o]={},c&&(this[i]=c)}},b=new(D(class extends URL{assign(){}reload(){}replace(){}},"Location"))($),T=b.origin===h.H||b.origin===w,M={},E=D(class extends y{constructor(){super(a,a);let n,i,o=this,$=0,d=()=>{$||((h.u||(e.g=[G,J,Z,Y,B,H,t,r,s],h.t(v("partytown-media.js?v="+be)),h.u=e.f,delete e.f),h.u)(y,x,M,o,De),$=1)},m={},w=(e,t,r)=>(We.includes(e)&&d(),new(m[e]?m[e]:e.includes("-")?m.UNKNOWN:m.DIV)(a,t,P,e,r));var N,C;o.Window=E,Oe(o,M,y),ye(o,y,"CSSStyleDeclaration"),((e,t,r)=>{e[r]=D(class extends t{now(){return performance.now()}},r)})(o,y,"Performance"),h.v.map((([e,t,n,i,l])=>{const $=qe[e]?L:"EventTarget"===t?x:"Object"===t?y:o[t],c=o[e]=D(12===i?class extends y{constructor(...t){super(a,H()),Y(this,e,t)}}:o[e]||class extends ${},e);l&&(m[l]=c),n.map((([e,t,n])=>{e in c.prototype||e in $.prototype||("string"==typeof t?k(c,e,{get(){if(!U(this,e)){const n=this[r],i=[...this[s],e],l=o[t];l&&_(this,e,new l(a,n,i))}return F(this,e)},set(t){_(this,e,t)}}):5===t?j(c,e,(function(...t){return Z(this,[e],t)})):t>0&&(void 0!==n?j(c,e,n):k(c,e,{get(){return G(this,[e])},set(t){return J(this,[e],t)}})))}))})),S("atob,btoa,crypto,indexedDB,setTimeout,setInterval,clearTimeout,clearInterval").map((t=>{delete E.prototype[t],t in o||(n=e[t],null!=n&&(o[t]="function"!=typeof n||n.toString().startsWith("class")?n:n.bind(e)))})),Object.getOwnPropertyNames(e).map((t=>{t in o||(o[t]=e[t])})),De.map((e=>W(o,e,{get:()=>(d(),o[e])}))),"trustedTypes"in e&&(o.trustedTypes=e.trustedTypes),je(o.Element,o.HTMLElement),ke(o.Document,M,f),N=o.DocumentFragment,ee(N,11),te(N,I),Ue(o.HTMLAnchorElement,M),C=o.HTMLFormElement,B(C,{}),ne(C,"elements"),Fe(o.HTMLIFrameElement),Ae(o.HTMLScriptElement,M),Ve(o.SVGGraphicsElement),Be(o.HTMLHeadElement,M),Be(o.HTMLBodyElement,M),((e,t)=>{B(e,{parentElement:{value:null},parentNode:{get:()=>t.n}})})(o.HTMLHtmlElement,M),we(o,"CSSStyleSheet"),ee(o.Comment,8),ee(o.DocumentType,10),Object.assign(M,{U:a,I:l,T:new Proxy(o,{has:()=>!0}),n:w("#document",a+".d"),o:w("HTML",a+".e"),s:w("HEAD",a+".h"),e:w("BODY",a+".b"),D:b,S:c,A:T,k:w}),o.requestAnimationFrame=e=>setTimeout((()=>e(performance.now())),9),o.cancelAnimationFrame=e=>clearTimeout(e),o.requestIdleCallback=(e,t)=>(t=Date.now(),setTimeout((()=>e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})),1)),o.cancelIdleCallback=e=>clearTimeout(e),ge(o,"localStorage",p,T,M),ge(o,"sessionStorage",g,T,M),T||(o.indexeddb=void 0),u&&(i={},o.history={pushState(e){i=e},replaceState(e){i=e},get state(){return i},length:0}),o.Worker=void 0}addEventListener(...e){"load"===e[0]?M.M&&setTimeout((()=>e[1]({type:"load"}))):Z(this,["addEventListener"],e,2)}get body(){return M.e}get document(){return M.n}get documentElement(){return M.o}fetch(e,t){return e="string"==typeof e||e instanceof URL?String(e):e.url,fetch(Ne(M,e),t)}get frameElement(){return a===l?null:Q(l,a,"IFRAME")}get globalThis(){return this}get head(){return M.s}get location(){return b}set location(e){b.href=e+""}get Image(){return xe(M)}get name(){return name+a}get navigator(){return(e=>{let t,r={sendBeacon:(t,r)=>{try{return fetch(Ne(e,t,!0),{method:"POST",body:r,mode:"no-cors",keepalive:!0}),!0}catch(e){return console.error(e),!1}}};for(t in navigator)r[t]=navigator[t];return r})(M)}get origin(){return b.origin}set origin(e){}get parent(){for(let e in m)if(m[e].U===l)return m[e].T;return this}postMessage(...e){m[e[0]]&&(R(d)>50&&d.splice(0,5),d.push({U:e[0],m:JSON.stringify(e[1])}),e=e.slice(1)),Z(this,["postMessage"],e,3)}get self(){return this}get top(){for(let e in m)if(m[e].U===m[e].I)return m[e].T;return this}get window(){return this}get XMLHttpRequest(){const e=XMLHttpRequest,t=String(e),r=D(class extends e{open(...e){e[1]=Ne(M,e[1]),super.open(...e)}set withCredentials(e){}toString(){return t}},A(e));return r.prototype.constructor.toString=()=>t,r}},"Window"),L=class extends y{constructor(e,t,r,n){return super(e,t,r,n),new Proxy(this,{get:(e,t)=>G(e,[t]),set:(e,t,r)=>(J(e,[t],r),!0)})}},x=class extends y{};return N.map((e=>x.prototype[e]=function(...t){return Z(this,[e],t,2)})),ne(E,"devicePixelRatio"),ie(E),se(E,["getComputedStyle"]),new E,M},qe={DOMStringMap:1,NamedNodeMap:1},ze=({U:e,I:t,R:r,S:n},i)=>(m[e]||(m[e]=Xe(e,t,r,n,i)),h.J([5,e]),m[e]),Ge=[],Je=t=>{const r=t.data,n=r[0],i=r[1];h.x?5===n?(async e=>{let t,r=e.U,n=e.w,i=Q(r,n,"SCRIPT"),s=e.j,o=e.R,a=e.G,l="",$=m[r];if(o)try{o=Ee($,o)+"",_(i,4,o),t=await fetch(o),t.ok?(s=await t.text(),$.l=n,Te($,s,a||o),Me(i,"load")):(l=t.statusText,Me(i,"error"))}catch(e){console.error(e),l=String(e.stack||e),Me(i,"error")}else s&&(l=Ie($,n,s,0,l));$.l="",h.J([4,r,n,l])})(i):7===n?(({U:e,w:t,K:r,Q:n,b:i})=>{if(c[r])try{c[r].apply(ce(e,t,[],n),ce(e,t,[],i))}catch(e){console.error(e)}})(i):8===n?(({U:e,q:t,b:r})=>{try{let n=m[e].T,i=0,s=R(t);for(;i<s;i++)i+1<s?n=n[t[i]]:n[t[i]].apply(n,ce(null,e,[],r))}catch(e){console.error(e)}})(i):3===n?ze(i):6===n?(m[i].x=1,m[i].y=0):12===n?m[i].S=r[2]:11===n&&(m[i].D.href=r[2]):1===n?((t=>{const r=h.i=JSON.parse(t.i),n=t.H;h.t=importScripts.bind(e),h.v=t.v,h.B=t.B,h.H=n,h.J=postMessage.bind(e),h.O=t.O,p.set(n,t.C),g.set(n,t.N),e.importScripts=void 0,delete e.postMessage,delete e.WorkerGlobalScope,S("resolveUrl,get,set,apply").map((e=>{r[e]&&(r[e]=new Function("return "+r[e])())})),h.x=1})(i),h.J([2]),[...Ge].map(Je),Ge.length=0):Ge.push(t)};e.onmessage=Je,postMessage([0])})(self);\\n\'],{type:"text/javascript"})),{name:"Partytown 🎉"}),J.onmessage=t=>{const r=t.data;10===r[0]?R(J,r[1]):e(J,r)},$.addEventListener("pt1",(e=>O(J,g(e.detail.frameElement),e.detail))))}))})(window);\n<\/script></head></html>')):s.endsWith("proxytown")&&n.respondWith((n=>new Promise((async i=>{const s=await n.clone().json(),o=await(r=>new Promise((async n=>{const i=[...await self.clients.matchAll()].sort(((e,t)=>e.url>t.url?-1:e.url<t.url?1:0))[0];if(i){const s=[n,setTimeout((()=>{e.delete(r.E),n(t(r,"Timeout"))}),1e4)];e.set(r.E,s),i.postMessage(r)}else n(t(r,"NoParty"))})))(s);i(r(JSON.stringify(o),"application/json"))})))(i))};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* Partytown 0.4.5 - MIT builder.io */
|
|
2
|
+
!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);
|