cloudcommerce 0.0.113 → 0.0.115
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 +16 -0
- package/ecomplus-stores/monocard/functions/core/package.json +1 -1
- package/ecomplus-stores/monocard/functions/events/package.json +2 -2
- package/ecomplus-stores/monocard/functions/modules/package.json +2 -2
- package/ecomplus-stores/monocard/functions/passport/package.json +2 -2
- package/ecomplus-stores/monocard/functions/ssr/package.json +5 -4
- package/ecomplus-stores/monocard/functions/ssr/src/components/TheHeader.vue +5 -0
- package/ecomplus-stores/monocard/functions/ssr/src/layouts/Pages.astro +24 -0
- package/ecomplus-stores/monocard/functions/ssr/src/pages/[...slug].astro +1 -3
- package/ecomplus-stores/monocard/functions/ssr/src/pages/fallback.astro +1 -3
- package/ecomplus-stores/monocard/package.json +1 -1
- package/package.json +7 -7
- package/packages/api/package.json +1 -1
- package/packages/apps/correios/package.json +2 -2
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/frenet/package.json +2 -2
- package/packages/apps/mercadopago/package.json +5 -5
- package/packages/apps/tiny-erp/package.json +4 -4
- package/packages/cli/package.json +2 -2
- package/packages/config/package.json +1 -1
- package/packages/events/package.json +3 -3
- package/packages/firebase/package.json +3 -3
- package/packages/i18n/package.json +1 -1
- package/packages/modules/package.json +4 -4
- package/packages/passport/package.json +3 -3
- package/packages/ssr/package.json +5 -5
- package/packages/storefront/astro.config.mjs +17 -1
- package/packages/storefront/dist/{client/assets/_...129504ca.css → server/assets/_...slug_.648f7d81.css} +1 -1
- package/packages/storefront/package.json +11 -11
- package/packages/storefront/src/components/.gitkeep +0 -0
- package/packages/storefront/src/layouts/Pages.astro +38 -0
- package/packages/storefront/src/{assets → lib/assets}/pico.css +0 -0
- package/packages/storefront/src/lib/components/ADrawer.vue +1 -1
- package/packages/storefront/src/lib/components/LoginDrawer.vue +2 -2
- package/packages/storefront/src/lib/components/LoginForm.vue +2 -2
- package/packages/storefront/src/lib/components/TopBar.vue +2 -2
- package/packages/storefront/src/lib/layouts/Base.astro +2 -2
- package/packages/storefront/src/lib/layouts/BaseBody.astro +2 -22
- package/packages/storefront/src/lib/layouts/BaseHead.astro +2 -2
- package/packages/storefront/src/lib/layouts/BaseStateJson.astro +1 -1
- package/packages/storefront/src/lib/layouts/Pages.astro +1 -1
- package/packages/storefront/src/lib/layouts/PagesHeader.astro +20 -18
- package/packages/storefront/src/lib/main/Fallback.astro +1 -1
- package/packages/storefront/src/lib/main/Home.astro +1 -1
- package/packages/storefront/src/lib/main/Wildcard.astro +1 -1
- package/packages/storefront/src/lib/ssr-context.ts +1 -1
- package/packages/storefront/src/lib/state/customer-session.ts +1 -1
- package/packages/storefront/src/lib/types/cms-code.d.ts +5 -0
- package/packages/storefront/src/lib/types/cms-contacts.d.ts +5 -0
- package/packages/storefront/src/lib/types/cms-header.d.ts +5 -0
- package/packages/storefront/src/lib/types/cms-settings.d.ts +5 -0
- package/packages/storefront/src/lib/types/cms-social.d.ts +5 -0
- package/packages/storefront/src/pages/[...slug].astro +3 -5
- package/packages/storefront/src/pages/fallback.astro +3 -5
- package/packages/storefront/src/pages/index.astro +3 -5
- package/packages/storefront/tsconfig.json +3 -1
- package/packages/storefront/uno.config.ts +8 -0
- package/packages/types/package.json +1 -1
- package/packages/apps/mercadopago/lib/index.d.ts +0 -1
- package/packages/apps/mercadopago/lib/index.js +0 -3
- package/packages/apps/mercadopago/lib/index.js.map +0 -1
- package/packages/apps/mercadopago/lib/mercadopago.d.ts +0 -86
- package/packages/apps/mercadopago/lib/mercadopago.js +0 -15
- package/packages/apps/mercadopago/lib/mercadopago.js.map +0 -1
- package/packages/apps/mercadopago/lib/mp-create-transaction.d.ts +0 -85
- package/packages/apps/mercadopago/lib/mp-create-transaction.js +0 -270
- package/packages/apps/mercadopago/lib/mp-create-transaction.js.map +0 -1
- package/packages/apps/mercadopago/lib/mp-list-payments.d.ts +0 -7
- package/packages/apps/mercadopago/lib/mp-list-payments.js +0 -175
- package/packages/apps/mercadopago/lib/mp-list-payments.js.map +0 -1
- package/packages/apps/mercadopago/lib/mp-webhook.d.ts +0 -5
- package/packages/apps/mercadopago/lib/mp-webhook.js +0 -119
- package/packages/apps/mercadopago/lib/mp-webhook.js.map +0 -1
- package/packages/apps/tiny-erp/lib/event-to-tiny.js +0 -115
- package/packages/apps/tiny-erp/lib/event-to-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/index.js +0 -2
- package/packages/apps/tiny-erp/lib/index.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/after-tiny-queue.js +0 -79
- package/packages/apps/tiny-erp/lib/integration/after-tiny-queue.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js +0 -84
- package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/export-product-to-tiny.js +0 -58
- package/packages/apps/tiny-erp/lib/integration/export-product-to-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/helpers/format-tiny-date.js +0 -7
- package/packages/apps/tiny-erp/lib/integration/helpers/format-tiny-date.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js +0 -92
- package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js +0 -158
- package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/order-from-tiny.js +0 -46
- package/packages/apps/tiny-erp/lib/integration/parsers/order-from-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/order-to-tiny.js +0 -193
- package/packages/apps/tiny-erp/lib/integration/parsers/order-to-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js +0 -199
- package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/product-to-tiny.js +0 -129
- package/packages/apps/tiny-erp/lib/integration/parsers/product-to-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/status-from-tiny.js +0 -34
- package/packages/apps/tiny-erp/lib/integration/parsers/status-from-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/parsers/status-to-tiny.js +0 -39
- package/packages/apps/tiny-erp/lib/integration/parsers/status-to-tiny.js.map +0 -1
- package/packages/apps/tiny-erp/lib/integration/post-tiny-erp.js +0 -47
- package/packages/apps/tiny-erp/lib/integration/post-tiny-erp.js.map +0 -1
- package/packages/apps/tiny-erp/lib/tiny-erp.js +0 -18
- package/packages/apps/tiny-erp/lib/tiny-erp.js.map +0 -1
- package/packages/apps/tiny-erp/lib/tiny-webhook.js +0 -92
- package/packages/apps/tiny-erp/lib/tiny-webhook.js.map +0 -1
- package/packages/passport/lib/firebase/authenticate-customer.js +0 -81
- package/packages/passport/lib/firebase/authenticate-customer.js.map +0 -1
- package/packages/passport/lib/firebase/serve-passport-api.js +0 -31
- package/packages/passport/lib/firebase/serve-passport-api.js.map +0 -1
- package/packages/passport/lib/firebase.js +0 -16
- package/packages/passport/lib/firebase.js.map +0 -1
- package/packages/passport/lib/index.js +0 -2
- package/packages/passport/lib/index.js.map +0 -1
- package/packages/ssr/lib/firebase/serve-feeds.js +0 -8
- package/packages/ssr/lib/firebase/serve-feeds.js.map +0 -1
- package/packages/ssr/lib/firebase/serve-storefront.js +0 -50
- package/packages/ssr/lib/firebase/serve-storefront.js.map +0 -1
- package/packages/ssr/lib/firebase.js +0 -23
- package/packages/ssr/lib/firebase.js.map +0 -1
- package/packages/ssr/lib/index.js +0 -4
- package/packages/ssr/lib/index.js.map +0 -1
- package/packages/storefront/dist/client/LoginDrawer.1061c69c.js +0 -1
- package/packages/storefront/dist/client/admin/config.json +0 -1
- package/packages/storefront/dist/client/assets/cms-preview.css +0 -274
- package/packages/storefront/dist/client/assets/cms.css +0 -114
- package/packages/storefront/dist/client/assets/cvv.png +0 -0
- package/packages/storefront/dist/client/assets/icons/bootstrap-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/feather-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/font-awesome/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/line-awesome/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/tabler-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/img-placeholder.png +0 -0
- package/packages/storefront/dist/client/assets/payments.png +0 -0
- package/packages/storefront/dist/client/assets/ssl-safe.png +0 -0
- package/packages/storefront/dist/client/chunks/LoginDrawer.4d10fa17.js +0 -1
- package/packages/storefront/dist/client/chunks/LoginForm.dd3df9d8.js +0 -1426
- package/packages/storefront/dist/client/chunks/preload-helper.f15ab524.js +0 -1
- package/packages/storefront/dist/client/chunks/runtime-dom.esm-bundler.7f8f570f.js +0 -1
- package/packages/storefront/dist/client/chunks/workbox-window.prod.es5.4b654ae6.js +0 -2
- package/packages/storefront/dist/client/client.246ab4a4.js +0 -1
- package/packages/storefront/dist/client/hoisted.71b2f749.js +0 -1
- package/packages/storefront/dist/client/img/icon.png +0 -0
- package/packages/storefront/dist/client/img/large-icon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/banner1.png +0 -0
- package/packages/storefront/dist/client/img/uploads/banner2.png +0 -0
- package/packages/storefront/dist/client/img/uploads/banner2.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/favicon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/headless.png +0 -0
- package/packages/storefront/dist/client/img/uploads/headphone.png +0 -0
- package/packages/storefront/dist/client/img/uploads/headphone.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/icon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/large-icon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/logo.png +0 -0
- package/packages/storefront/dist/client/img/uploads/logo.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/og-image.png +0 -0
- package/packages/storefront/dist/client/img/uploads/passion.png +0 -0
- package/packages/storefront/dist/client/img/uploads/passion.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/pwa-reliable.png +0 -0
- package/packages/storefront/dist/client/img/uploads/rect8589.png +0 -0
- package/packages/storefront/dist/client/img/uploads/rect859.png +0 -0
- package/packages/storefront/dist/client/img/uploads/rect89.png +0 -0
- package/packages/storefront/dist/client/img/uploads/rect89.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/ssl-safe.png +0 -0
- package/packages/storefront/dist/client/manifest.webmanifest +0 -1
- package/packages/storefront/dist/client/page.3aa82516.js +0 -1
- package/packages/storefront/dist/client/robots.txt +0 -8
- package/packages/storefront/dist/client/sw.js +0 -1
- package/packages/storefront/dist/client/workbox-6f0d1f78.js +0 -1
- package/packages/storefront/dist/client/~partytown/partytown-atomics.js +0 -2
- package/packages/storefront/dist/client/~partytown/partytown-media.js +0 -2
- package/packages/storefront/dist/client/~partytown/partytown-sw.js +0 -2
- package/packages/storefront/dist/client/~partytown/partytown.js +0 -2
- package/packages/storefront/dist/server/avif/avif_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/avif/avif_node_enc.wasm +0 -0
- package/packages/storefront/dist/server/entry.mjs +0 -16224
- package/packages/storefront/dist/server/mozjpeg/mozjpeg_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/mozjpeg/mozjpeg_node_enc.wasm +0 -0
- package/packages/storefront/dist/server/png/squoosh_oxipng_bg.wasm +0 -0
- package/packages/storefront/dist/server/png/squoosh_png_bg.wasm +0 -0
- package/packages/storefront/dist/server/resize/squoosh_resize_bg.wasm +0 -0
- package/packages/storefront/dist/server/rotate/rotate.wasm +0 -0
- package/packages/storefront/dist/server/webp/webp_node_dec.wasm +0 -0
- package/packages/storefront/dist/server/webp/webp_node_enc.wasm +0 -0
- package/packages/storefront/src/types/cms-code.d.ts +0 -5
- package/packages/storefront/src/types/cms-contacts.d.ts +0 -5
- package/packages/storefront/src/types/cms-header.d.ts +0 -5
- package/packages/storefront/src/types/cms-settings.d.ts +0 -5
- package/packages/storefront/src/types/cms-social.d.ts +0 -5
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const u="modulepreload",f=function(s){return"/"+s},i={},m=function(o,n,h){return!n||n.length===0?o():Promise.all(n.map(e=>{if(e=f(e),e in i)return;i[e]=!0;const t=e.endsWith(".css"),l=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${l}`))return;const r=document.createElement("link");if(r.rel=t?"stylesheet":u,t||(r.as="script",r.crossOrigin=""),r.href=e,document.head.appendChild(r),t)return new Promise((c,a)=>{r.addEventListener("load",c),r.addEventListener("error",()=>a(new Error(`Unable to preload CSS for ${e}`)))})})).then(()=>o())};export{m as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function Sn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const Qr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Gr=Sn(Qr);function ks(e){return!!e||e===""}function en(e){if(L(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ie(s)?ni(s):en(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(ie(e))return e;if(te(e))return e}}const ei=/;(?![^(]*\))/g,ti=/:(.+)/;function ni(e){const t={};return e.split(ei).forEach(n=>{if(n){const s=n.split(ti);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function tn(e){let t="";if(ie(e))t=e;else if(L(e))for(let n=0;n<e.length;n++){const s=tn(e[n]);s&&(t+=s+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Mo(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ie(t)&&(e.class=tn(t)),n&&(e.style=en(n)),e}const Oo=e=>ie(e)?e:e==null?"":L(e)||te(e)&&(e.toString===zs||!D(e.toString))?JSON.stringify(e,Ws,2):String(e),Ws=(e,t)=>t&&t.__v_isRef?Ws(e,t.value):lt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Vs(t)?{[`Set(${t.size})`]:[...t.values()]}:te(t)&&!L(t)&&!Js(t)?String(t):t,Q={},it=[],ve=()=>{},si=()=>!1,ri=/^on[^a-z]/,Pt=e=>ri.test(e),Bn=e=>e.startsWith("onUpdate:"),fe=Object.assign,jn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ii=Object.prototype.hasOwnProperty,V=(e,t)=>ii.call(e,t),L=Array.isArray,lt=e=>nn(e)==="[object Map]",Vs=e=>nn(e)==="[object Set]",D=e=>typeof e=="function",ie=e=>typeof e=="string",Dn=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",qs=e=>te(e)&&D(e.then)&&D(e.catch),zs=Object.prototype.toString,nn=e=>zs.call(e),li=e=>nn(e).slice(8,-1),Js=e=>nn(e)==="[object Object]",$n=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ct=Sn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),sn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},oi=/-(\w)/g,ut=sn(e=>e.replace(oi,(t,n)=>n?n.toUpperCase():"")),fi=/\B([A-Z])/g,pt=sn(e=>e.replace(fi,"-$1").toLowerCase()),Ys=sn(e=>e.charAt(0).toUpperCase()+e.slice(1)),hn=sn(e=>e?`on${Ys(e)}`:""),At=(e,t)=>!Object.is(e,t),kt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Vt=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},qt=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let os;const ci=()=>os||(os=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let me;class ui{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&me&&(this.parent=me,this.index=(me.scopes||(me.scopes=[])).push(this)-1)}run(t){if(this.active){const n=me;try{return me=this,t()}finally{me=n}}}on(){me=this}off(){me=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function ai(e,t=me){t&&t.active&&t.effects.push(e)}function Io(){return me}function Po(e){me&&me.cleanups.push(e)}const Un=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Xs=e=>(e.w&Ke)>0,Zs=e=>(e.n&Ke)>0,di=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ke},hi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Xs(r)&&!Zs(r)?r.delete(e):t[n++]=r,r.w&=~Ke,r.n&=~Ke}t.length=n}},En=new WeakMap;let xt=0,Ke=1;const Tn=30;let we;const et=Symbol(""),wn=Symbol("");class Kn{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,ai(this,s)}run(){if(!this.active)return this.fn();let t=we,n=$e;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=we,we=this,$e=!0,Ke=1<<++xt,xt<=Tn?di(this):fs(this),this.fn()}finally{xt<=Tn&&hi(this),Ke=1<<--xt,we=this.parent,$e=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){we===this?this.deferStop=!0:this.active&&(fs(this),this.onStop&&this.onStop(),this.active=!1)}}function fs(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let $e=!0;const Qs=[];function gt(){Qs.push($e),$e=!1}function mt(){const e=Qs.pop();$e=e===void 0?!0:e}function be(e,t,n){if($e&&we){let s=En.get(e);s||En.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Un()),Gs(r)}}function Gs(e,t){let n=!1;xt<=Tn?Zs(e)||(e.n|=Ke,n=!Xs(e)):n=!e.has(we),n&&(e.add(we),we.deps.push(e))}function Ne(e,t,n,s,r,i){const l=En.get(e);if(!l)return;let o=[];if(t==="clear")o=[...l.values()];else if(n==="length"&&L(e))l.forEach((c,a)=>{(a==="length"||a>=s)&&o.push(c)});else switch(n!==void 0&&o.push(l.get(n)),t){case"add":L(e)?$n(n)&&o.push(l.get("length")):(o.push(l.get(et)),lt(e)&&o.push(l.get(wn)));break;case"delete":L(e)||(o.push(l.get(et)),lt(e)&&o.push(l.get(wn)));break;case"set":lt(e)&&o.push(l.get(et));break}if(o.length===1)o[0]&&An(o[0]);else{const c=[];for(const a of o)a&&c.push(...a);An(Un(c))}}function An(e,t){const n=L(e)?e:[...e];for(const s of n)s.computed&&cs(s);for(const s of n)s.computed||cs(s)}function cs(e,t){(e!==we||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const pi=Sn("__proto__,__v_isRef,__isVue"),er=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Dn)),gi=kn(),mi=kn(!1,!0),_i=kn(!0),us=bi();function bi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=J(this);for(let i=0,l=this.length;i<l;i++)be(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(J)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){gt();const s=J(this)[t].apply(this,n);return mt(),s}}),e}function kn(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?Li:ir:t?rr:sr).get(s))return s;const l=L(s);if(!e&&l&&V(us,r))return Reflect.get(us,r,i);const o=Reflect.get(s,r,i);return(Dn(r)?er.has(r):pi(r))||(e||be(s,"get",r),t)?o:oe(o)?l&&$n(r)?o:o.value:te(o)?e?lr(o):qn(o):o}}const yi=tr(),xi=tr(!0);function tr(e=!1){return function(n,s,r,i){let l=n[s];if(at(l)&&oe(l)&&!oe(r))return!1;if(!e&&(!zt(r)&&!at(r)&&(l=J(l),r=J(r)),!L(n)&&oe(l)&&!oe(r)))return l.value=r,!0;const o=L(n)&&$n(s)?Number(s)<n.length:V(n,s),c=Reflect.set(n,s,r,i);return n===J(i)&&(o?At(r,l)&&Ne(n,"set",s,r):Ne(n,"add",s,r)),c}}function Ci(e,t){const n=V(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Ne(e,"delete",t,void 0),s}function Ei(e,t){const n=Reflect.has(e,t);return(!Dn(t)||!er.has(t))&&be(e,"has",t),n}function Ti(e){return be(e,"iterate",L(e)?"length":et),Reflect.ownKeys(e)}const nr={get:gi,set:yi,deleteProperty:Ci,has:Ei,ownKeys:Ti},wi={get:_i,set(e,t){return!0},deleteProperty(e,t){return!0}},Ai=fe({},nr,{get:mi,set:xi}),Wn=e=>e,rn=e=>Reflect.getPrototypeOf(e);function St(e,t,n=!1,s=!1){e=e.__v_raw;const r=J(e),i=J(t);n||(t!==i&&be(r,"get",t),be(r,"get",i));const{has:l}=rn(r),o=s?Wn:n?Jn:vt;if(l.call(r,t))return o(e.get(t));if(l.call(r,i))return o(e.get(i));e!==r&&e.get(t)}function Bt(e,t=!1){const n=this.__v_raw,s=J(n),r=J(e);return t||(e!==r&&be(s,"has",e),be(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function jt(e,t=!1){return e=e.__v_raw,!t&&be(J(e),"iterate",et),Reflect.get(e,"size",e)}function as(e){e=J(e);const t=J(this);return rn(t).has.call(t,e)||(t.add(e),Ne(t,"add",e,e)),this}function ds(e,t){t=J(t);const n=J(this),{has:s,get:r}=rn(n);let i=s.call(n,e);i||(e=J(e),i=s.call(n,e));const l=r.call(n,e);return n.set(e,t),i?At(t,l)&&Ne(n,"set",e,t):Ne(n,"add",e,t),this}function hs(e){const t=J(this),{has:n,get:s}=rn(t);let r=n.call(t,e);r||(e=J(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&Ne(t,"delete",e,void 0),i}function ps(){const e=J(this),t=e.size!==0,n=e.clear();return t&&Ne(e,"clear",void 0,void 0),n}function Dt(e,t){return function(s,r){const i=this,l=i.__v_raw,o=J(l),c=t?Wn:e?Jn:vt;return!e&&be(o,"iterate",et),l.forEach((a,h)=>s.call(r,c(a),c(h),i))}}function $t(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),l=lt(i),o=e==="entries"||e===Symbol.iterator&&l,c=e==="keys"&&l,a=r[e](...s),h=n?Wn:t?Jn:vt;return!t&&be(i,"iterate",c?wn:et),{next(){const{value:b,done:y}=a.next();return y?{value:b,done:y}:{value:o?[h(b[0]),h(b[1])]:h(b),done:y}},[Symbol.iterator](){return this}}}}function He(e){return function(...t){return e==="delete"?!1:this}}function vi(){const e={get(i){return St(this,i)},get size(){return jt(this)},has:Bt,add:as,set:ds,delete:hs,clear:ps,forEach:Dt(!1,!1)},t={get(i){return St(this,i,!1,!0)},get size(){return jt(this)},has:Bt,add:as,set:ds,delete:hs,clear:ps,forEach:Dt(!1,!0)},n={get(i){return St(this,i,!0)},get size(){return jt(this,!0)},has(i){return Bt.call(this,i,!0)},add:He("add"),set:He("set"),delete:He("delete"),clear:He("clear"),forEach:Dt(!0,!1)},s={get(i){return St(this,i,!0,!0)},get size(){return jt(this,!0)},has(i){return Bt.call(this,i,!0)},add:He("add"),set:He("set"),delete:He("delete"),clear:He("clear"),forEach:Dt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=$t(i,!1,!1),n[i]=$t(i,!0,!1),t[i]=$t(i,!1,!0),s[i]=$t(i,!0,!0)}),[e,n,t,s]}const[Fi,Mi,Oi,Ii]=vi();function Vn(e,t){const n=t?e?Ii:Oi:e?Mi:Fi;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(V(n,r)&&r in s?n:s,r,i)}const Pi={get:Vn(!1,!1)},Ri={get:Vn(!1,!0)},Ni={get:Vn(!0,!1)},sr=new WeakMap,rr=new WeakMap,ir=new WeakMap,Li=new WeakMap;function Hi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Si(e){return e.__v_skip||!Object.isExtensible(e)?0:Hi(li(e))}function qn(e){return at(e)?e:zn(e,!1,nr,Pi,sr)}function Bi(e){return zn(e,!1,Ai,Ri,rr)}function lr(e){return zn(e,!0,wi,Ni,ir)}function zn(e,t,n,s,r){if(!te(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const l=Si(e);if(l===0)return e;const o=new Proxy(e,l===2?s:n);return r.set(e,o),o}function ot(e){return at(e)?ot(e.__v_raw):!!(e&&e.__v_isReactive)}function at(e){return!!(e&&e.__v_isReadonly)}function zt(e){return!!(e&&e.__v_isShallow)}function or(e){return ot(e)||at(e)}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function fr(e){return Vt(e,"__v_skip",!0),e}const vt=e=>te(e)?qn(e):e,Jn=e=>te(e)?lr(e):e;function cr(e){$e&&we&&(e=J(e),Gs(e.dep||(e.dep=Un())))}function ur(e,t){e=J(e),e.dep&&An(e.dep)}function oe(e){return!!(e&&e.__v_isRef===!0)}function pn(e){return ar(e,!1)}function Ro(e){return ar(e,!0)}function ar(e,t){return oe(e)?e:new ji(e,t)}class ji{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:vt(t)}get value(){return cr(this),this._value}set value(t){const n=this.__v_isShallow||zt(t)||at(t);t=n?t:J(t),At(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:vt(t),ur(this))}}function Di(e){return oe(e)?e.value:e}const $i={get:(e,t,n)=>Di(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return oe(r)&&!oe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function dr(e){return ot(e)?e:new Proxy(e,$i)}class Ui{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function No(e,t,n){const s=e[t];return oe(s)?s:new Ui(e,t,n)}var hr;class Ki{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[hr]=!1,this._dirty=!0,this.effect=new Kn(t,()=>{this._dirty||(this._dirty=!0,ur(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=J(this);return cr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}hr="__v_isReadonly";function ki(e,t,n=!1){let s,r;const i=D(e);return i?(s=e,r=ve):(s=e.get,r=e.set),new Ki(s,r,i||!r,n)}function Ue(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){Rt(i,t,n)}return r}function Ce(e,t,n,s){if(D(e)){const i=Ue(e,t,n,s);return i&&qs(i)&&i.catch(l=>{Rt(l,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Ce(e[i],t,n,s));return r}function Rt(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const l=t.proxy,o=n;for(;i;){const a=i.ec;if(a){for(let h=0;h<a.length;h++)if(a[h](e,l,o)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){Ue(c,null,10,[e,l,o]);return}}Wi(e,n,r,s)}function Wi(e,t,n,s=!0){console.error(e)}let Ft=!1,vn=!1;const ce=[];let Ie=0;const ft=[];let Re=null,Xe=0;const pr=Promise.resolve();let Yn=null;function Vi(e){const t=Yn||pr;return e?t.then(this?e.bind(this):e):t}function qi(e){let t=Ie+1,n=ce.length;for(;t<n;){const s=t+n>>>1;Mt(ce[s])<e?t=s+1:n=s}return t}function ln(e){(!ce.length||!ce.includes(e,Ft&&e.allowRecurse?Ie+1:Ie))&&(e.id==null?ce.push(e):ce.splice(qi(e.id),0,e),gr())}function gr(){!Ft&&!vn&&(vn=!0,Yn=pr.then(mr))}function zi(e){const t=ce.indexOf(e);t>Ie&&ce.splice(t,1)}function Ji(e){L(e)?ft.push(...e):(!Re||!Re.includes(e,e.allowRecurse?Xe+1:Xe))&&ft.push(e),gr()}function gs(e,t=Ft?Ie+1:0){for(;t<ce.length;t++){const n=ce[t];n&&n.pre&&(ce.splice(t,1),t--,n())}}function Jt(e){if(ft.length){const t=[...new Set(ft)];if(ft.length=0,Re){Re.push(...t);return}for(Re=t,Re.sort((n,s)=>Mt(n)-Mt(s)),Xe=0;Xe<Re.length;Xe++)Re[Xe]();Re=null,Xe=0}}const Mt=e=>e.id==null?1/0:e.id,Yi=(e,t)=>{const n=Mt(e)-Mt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function mr(e){vn=!1,Ft=!0,ce.sort(Yi);const t=ve;try{for(Ie=0;Ie<ce.length;Ie++){const n=ce[Ie];n&&n.active!==!1&&Ue(n,null,14)}}finally{Ie=0,ce.length=0,Jt(),Ft=!1,Yn=null,(ce.length||ft.length)&&mr()}}function Xi(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Q;let r=n;const i=t.startsWith("update:"),l=i&&t.slice(7);if(l&&l in s){const h=`${l==="modelValue"?"model":l}Modifiers`,{number:b,trim:y}=s[h]||Q;y&&(r=n.map(v=>v.trim())),b&&(r=n.map(qt))}let o,c=s[o=hn(t)]||s[o=hn(ut(t))];!c&&i&&(c=s[o=hn(pt(t))]),c&&Ce(c,e,6,r);const a=s[o+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Ce(a,e,6,r)}}function _r(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let l={},o=!1;if(!D(e)){const c=a=>{const h=_r(a,t,!0);h&&(o=!0,fe(l,h))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!o?(te(e)&&s.set(e,null),null):(L(i)?i.forEach(c=>l[c]=null):fe(l,i),te(e)&&s.set(e,l),l)}function on(e,t){return!e||!Pt(t)?!1:(t=t.slice(2).replace(/Once$/,""),V(e,t[0].toLowerCase()+t.slice(1))||V(e,pt(t))||V(e,t))}let de=null,br=null;function Yt(e){const t=de;return de=e,br=e&&e.type.__scopeId||null,t}function Zi(e,t=de,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&As(-1);const i=Yt(t),l=e(...r);return Yt(i),s._d&&As(1),l};return s._n=!0,s._c=!0,s._d=!0,s}function gn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[l],slots:o,attrs:c,emit:a,render:h,renderCache:b,data:y,setupState:v,ctx:O,inheritAttrs:P}=e;let $,p;const x=Yt(e);try{if(n.shapeFlag&4){const B=r||s;$=Te(h.call(B,B,b,i,v,y,O)),p=c}else{const B=t;$=Te(B.length>1?B(i,{attrs:c,slots:o,emit:a}):B(i,null)),p=t.props?c:Qi(c)}}catch(B){Tt.length=0,Rt(B,e,1),$=re(_e)}let H=$;if(p&&P!==!1){const B=Object.keys(p),{shapeFlag:W}=H;B.length&&W&7&&(l&&B.some(Bn)&&(p=Gi(p,l)),H=ke(H,p))}return n.dirs&&(H=ke(H),H.dirs=H.dirs?H.dirs.concat(n.dirs):n.dirs),n.transition&&(H.transition=n.transition),$=H,Yt(x),$}const Qi=e=>{let t;for(const n in e)(n==="class"||n==="style"||Pt(n))&&((t||(t={}))[n]=e[n]);return t},Gi=(e,t)=>{const n={};for(const s in e)(!Bn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function el(e,t,n){const{props:s,children:r,component:i}=e,{props:l,children:o,patchFlag:c}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?ms(s,l,a):!!l;if(c&8){const h=t.dynamicProps;for(let b=0;b<h.length;b++){const y=h[b];if(l[y]!==s[y]&&!on(a,y))return!0}}}else return(r||o)&&(!o||!o.$stable)?!0:s===l?!1:s?l?ms(s,l,a):!0:!!l;return!1}function ms(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!on(n,i))return!0}return!1}function tl({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const nl=e=>e.__isSuspense;function yr(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):Ji(e)}function sl(e,t){if(le){let n=le.provides;const s=le.parent&&le.parent.provides;s===n&&(n=le.provides=Object.create(s)),n[e]=t}}function mn(e,t,n=!1){const s=le||de;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&D(t)?t.call(s.proxy):t}}function rl(e,t){return Xn(e,null,{flush:"post"})}const _s={};function _n(e,t,n){return Xn(e,t,n)}function Xn(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:l}=Q){const o=le;let c,a=!1,h=!1;if(oe(e)?(c=()=>e.value,a=zt(e)):ot(e)?(c=()=>e,s=!0):L(e)?(h=!0,a=e.some(p=>ot(p)||zt(p)),c=()=>e.map(p=>{if(oe(p))return p.value;if(ot(p))return Ge(p);if(D(p))return Ue(p,o,2)})):D(e)?t?c=()=>Ue(e,o,2):c=()=>{if(!(o&&o.isUnmounted))return b&&b(),Ce(e,o,3,[y])}:c=ve,t&&s){const p=c;c=()=>Ge(p())}let b,y=p=>{b=$.onStop=()=>{Ue(p,o,4)}};if(ht)return y=ve,t?n&&Ce(t,o,3,[c(),h?[]:void 0,y]):c(),ve;let v=h?[]:_s;const O=()=>{if(!!$.active)if(t){const p=$.run();(s||a||(h?p.some((x,H)=>At(x,v[H])):At(p,v)))&&(b&&b(),Ce(t,o,3,[p,v===_s?void 0:v,y]),v=p)}else $.run()};O.allowRecurse=!!t;let P;r==="sync"?P=O:r==="post"?P=()=>he(O,o&&o.suspense):(O.pre=!0,o&&(O.id=o.uid),P=()=>ln(O));const $=new Kn(c,P);return t?n?O():v=$.run():r==="post"?he($.run.bind($),o&&o.suspense):$.run(),()=>{$.stop(),o&&o.scope&&jn(o.scope.effects,$)}}function il(e,t,n){const s=this.proxy,r=ie(e)?e.includes(".")?xr(s,e):()=>s[e]:e.bind(s,s);let i;D(t)?i=t:(i=t.handler,n=t);const l=le;dt(this);const o=Xn(r,i.bind(s),n);return l?dt(l):tt(),o}function xr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function Ge(e,t){if(!te(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),oe(e))Ge(e.value,t);else if(L(e))for(let n=0;n<e.length;n++)Ge(e[n],t);else if(Vs(e)||lt(e))e.forEach(n=>{Ge(n,t)});else if(Js(e))for(const n in e)Ge(e[n],t);return e}function ll(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Zn(()=>{e.isMounted=!0}),Ar(()=>{e.isUnmounting=!0}),e}const ye=[Function,Array],ol={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ye,onEnter:ye,onAfterEnter:ye,onEnterCancelled:ye,onBeforeLeave:ye,onLeave:ye,onAfterLeave:ye,onLeaveCancelled:ye,onBeforeAppear:ye,onAppear:ye,onAfterAppear:ye,onAppearCancelled:ye},setup(e,{slots:t}){const n=Kr(),s=ll();let r;return()=>{const i=t.default&&Tr(t.default(),!0);if(!i||!i.length)return;let l=i[0];if(i.length>1){for(const P of i)if(P.type!==_e){l=P;break}}const o=J(e),{mode:c}=o;if(s.isLeaving)return bn(l);const a=bs(l);if(!a)return bn(l);const h=Fn(a,o,s,n);Mn(a,h);const b=n.subTree,y=b&&bs(b);let v=!1;const{getTransitionKey:O}=a.type;if(O){const P=O();r===void 0?r=P:P!==r&&(r=P,v=!0)}if(y&&y.type!==_e&&(!Ze(a,y)||v)){const P=Fn(y,o,s,n);if(Mn(y,P),c==="out-in")return s.isLeaving=!0,P.afterLeave=()=>{s.isLeaving=!1,n.update()},bn(l);c==="in-out"&&a.type!==_e&&(P.delayLeave=($,p,x)=>{const H=Er(s,y);H[String(y.key)]=y,$._leaveCb=()=>{p(),$._leaveCb=void 0,delete h.delayedLeave},h.delayedLeave=x})}return l}}},Cr=ol;function Er(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Fn(e,t,n,s){const{appear:r,mode:i,persisted:l=!1,onBeforeEnter:o,onEnter:c,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:b,onLeave:y,onAfterLeave:v,onLeaveCancelled:O,onBeforeAppear:P,onAppear:$,onAfterAppear:p,onAppearCancelled:x}=t,H=String(e.key),B=Er(n,e),W=(A,U)=>{A&&Ce(A,s,9,U)},Z=(A,U)=>{const j=U[1];W(A,U),L(A)?A.every(z=>z.length<=1)&&j():A.length<=1&&j()},q={mode:i,persisted:l,beforeEnter(A){let U=o;if(!n.isMounted)if(r)U=P||o;else return;A._leaveCb&&A._leaveCb(!0);const j=B[H];j&&Ze(e,j)&&j.el._leaveCb&&j.el._leaveCb(),W(U,[A])},enter(A){let U=c,j=a,z=h;if(!n.isMounted)if(r)U=$||c,j=p||a,z=x||h;else return;let F=!1;const K=A._enterCb=I=>{F||(F=!0,I?W(z,[A]):W(j,[A]),q.delayedLeave&&q.delayedLeave(),A._enterCb=void 0)};U?Z(U,[A,K]):K()},leave(A,U){const j=String(e.key);if(A._enterCb&&A._enterCb(!0),n.isUnmounting)return U();W(b,[A]);let z=!1;const F=A._leaveCb=K=>{z||(z=!0,U(),K?W(O,[A]):W(v,[A]),A._leaveCb=void 0,B[j]===e&&delete B[j])};B[j]=e,y?Z(y,[A,F]):F()},clone(A){return Fn(A,t,n,s)}};return q}function bn(e){if(Nt(e))return e=ke(e),e.children=null,e}function bs(e){return Nt(e)?e.children?e.children[0]:void 0:e}function Mn(e,t){e.shapeFlag&6&&e.component?Mn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Tr(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let l=e[i];const o=n==null?l.key:String(n)+String(l.key!=null?l.key:i);l.type===ae?(l.patchFlag&128&&r++,s=s.concat(Tr(l.children,t,o))):(t||l.type!==_e)&&s.push(o!=null?ke(l,{key:o}):l)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function fl(e){return D(e)?{setup:e,name:e.name}:e}const ct=e=>!!e.type.__asyncLoader;function Lo(e){D(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:i,suspensible:l=!0,onError:o}=e;let c=null,a,h=0;const b=()=>(h++,c=null,y()),y=()=>{let v;return c||(v=c=t().catch(O=>{if(O=O instanceof Error?O:new Error(String(O)),o)return new Promise((P,$)=>{o(O,()=>P(b()),()=>$(O),h+1)});throw O}).then(O=>v!==c&&c?c:(O&&(O.__esModule||O[Symbol.toStringTag]==="Module")&&(O=O.default),a=O,O)))};return fl({name:"AsyncComponentWrapper",__asyncLoader:y,get __asyncResolved(){return a},setup(){const v=le;if(a)return()=>yn(a,v);const O=x=>{c=null,Rt(x,v,13,!s)};if(l&&v.suspense||ht)return y().then(x=>()=>yn(x,v)).catch(x=>(O(x),()=>s?re(s,{error:x}):null));const P=pn(!1),$=pn(),p=pn(!!r);return r&&setTimeout(()=>{p.value=!1},r),i!=null&&setTimeout(()=>{if(!P.value&&!$.value){const x=new Error(`Async component timed out after ${i}ms.`);O(x),$.value=x}},i),y().then(()=>{P.value=!0,v.parent&&Nt(v.parent.vnode)&&ln(v.parent.update)}).catch(x=>{O(x),$.value=x}),()=>{if(P.value&&a)return yn(a,v);if($.value&&s)return re(s,{error:$.value});if(n&&!p.value)return re(n)}}})}function yn(e,{vnode:{ref:t,props:n,children:s,shapeFlag:r},parent:i}){const l=re(e,n,s);return l.ref=t,l}const Nt=e=>e.type.__isKeepAlive;function cl(e,t){wr(e,"a",t)}function ul(e,t){wr(e,"da",t)}function wr(e,t,n=le){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(fn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Nt(r.parent.vnode)&&al(s,t,n,r),r=r.parent}}function al(e,t,n,s){const r=fn(t,e,s,!0);Qn(()=>{jn(s[t],r)},n)}function fn(e,t,n=le,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;gt(),dt(n);const o=Ce(t,n,e,l);return tt(),mt(),o});return s?r.unshift(i):r.push(i),i}}const Le=e=>(t,n=le)=>(!ht||e==="sp")&&fn(e,(...s)=>t(...s),n),dl=Le("bm"),Zn=Le("m"),hl=Le("bu"),pl=Le("u"),Ar=Le("bum"),Qn=Le("um"),gl=Le("sp"),ml=Le("rtg"),_l=Le("rtc");function bl(e,t=le){fn("ec",e,t)}function Ho(e,t){const n=de;if(n===null)return e;const s=un(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[l,o,c,a=Q]=t[i];D(l)&&(l={mounted:l,updated:l}),l.deep&&Ge(o),r.push({dir:l,instance:s,value:o,oldValue:void 0,arg:c,modifiers:a})}return e}function Oe(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let l=0;l<r.length;l++){const o=r[l];i&&(o.oldValue=i[l].value);let c=o.dir[s];c&&(gt(),Ce(c,n,8,[e.el,o,e,t]),mt())}}const yl=Symbol();function So(e,t,n,s){let r;const i=n&&n[s];if(L(e)||ie(e)){r=new Array(e.length);for(let l=0,o=e.length;l<o;l++)r[l]=t(e[l],l,void 0,i&&i[l])}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i&&i[l])}else if(te(e))if(e[Symbol.iterator])r=Array.from(e,(l,o)=>t(l,o,void 0,i&&i[o]));else{const l=Object.keys(e);r=new Array(l.length);for(let o=0,c=l.length;o<c;o++){const a=l[o];r[o]=t(e[a],a,o,i&&i[o])}}else r=[];return n&&(n[s]=r),r}function Bo(e,t,n={},s,r){if(de.isCE||de.parent&&ct(de.parent)&&de.parent.isCE)return re("slot",t==="default"?null:{name:t},s&&s());let i=e[t];i&&i._c&&(i._d=!1),Sr();const l=i&&vr(i(n)),o=jr(ae,{key:n.key||l&&l.key||`_${t}`},l||(s?s():[]),l&&e._===1?64:-2);return!r&&o.scopeId&&(o.slotScopeIds=[o.scopeId+"-s"]),i&&i._c&&(i._d=!0),o}function vr(e){return e.some(t=>Gt(t)?!(t.type===_e||t.type===ae&&!vr(t.children)):!0)?e:null}const On=e=>e?kr(e)?un(e)||e.proxy:On(e.parent):null,Xt=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>On(e.parent),$root:e=>On(e.root),$emit:e=>e.emit,$options:e=>Gn(e),$forceUpdate:e=>e.f||(e.f=()=>ln(e.update)),$nextTick:e=>e.n||(e.n=Vi.bind(e.proxy)),$watch:e=>il.bind(e)}),xl={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:l,type:o,appContext:c}=e;let a;if(t[0]!=="$"){const v=l[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(s!==Q&&V(s,t))return l[t]=1,s[t];if(r!==Q&&V(r,t))return l[t]=2,r[t];if((a=e.propsOptions[0])&&V(a,t))return l[t]=3,i[t];if(n!==Q&&V(n,t))return l[t]=4,n[t];In&&(l[t]=0)}}const h=Xt[t];let b,y;if(h)return t==="$attrs"&&be(e,"get",t),h(e);if((b=o.__cssModules)&&(b=b[t]))return b;if(n!==Q&&V(n,t))return l[t]=4,n[t];if(y=c.config.globalProperties,V(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return r!==Q&&V(r,t)?(r[t]=n,!0):s!==Q&&V(s,t)?(s[t]=n,!0):V(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},l){let o;return!!n[l]||e!==Q&&V(e,l)||t!==Q&&V(t,l)||(o=i[0])&&V(o,l)||V(s,l)||V(Xt,l)||V(r.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:V(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let In=!0;function Cl(e){const t=Gn(e),n=e.proxy,s=e.ctx;In=!1,t.beforeCreate&&ys(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:l,watch:o,provide:c,inject:a,created:h,beforeMount:b,mounted:y,beforeUpdate:v,updated:O,activated:P,deactivated:$,beforeDestroy:p,beforeUnmount:x,destroyed:H,unmounted:B,render:W,renderTracked:Z,renderTriggered:q,errorCaptured:A,serverPrefetch:U,expose:j,inheritAttrs:z,components:F,directives:K,filters:I}=t;if(a&&El(a,s,null,e.appContext.config.unwrapInjectedRef),l)for(const ne in l){const G=l[ne];D(G)&&(s[ne]=G.bind(n))}if(r){const ne=r.call(n,n);te(ne)&&(e.data=qn(ne))}if(In=!0,i)for(const ne in i){const G=i[ne],We=D(G)?G.bind(n,n):D(G.get)?G.get.bind(n,n):ve,Lt=!D(G)&&D(G.set)?G.set.bind(n):ve,Ve=Xl({get:We,set:Lt});Object.defineProperty(s,ne,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:Fe=>Ve.value=Fe})}if(o)for(const ne in o)Fr(o[ne],s,n,ne);if(c){const ne=D(c)?c.call(n):c;Reflect.ownKeys(ne).forEach(G=>{sl(G,ne[G])})}h&&ys(h,e,"c");function Y(ne,G){L(G)?G.forEach(We=>ne(We.bind(n))):G&&ne(G.bind(n))}if(Y(dl,b),Y(Zn,y),Y(hl,v),Y(pl,O),Y(cl,P),Y(ul,$),Y(bl,A),Y(_l,Z),Y(ml,q),Y(Ar,x),Y(Qn,B),Y(gl,U),L(j))if(j.length){const ne=e.exposed||(e.exposed={});j.forEach(G=>{Object.defineProperty(ne,G,{get:()=>n[G],set:We=>n[G]=We})})}else e.exposed||(e.exposed={});W&&e.render===ve&&(e.render=W),z!=null&&(e.inheritAttrs=z),F&&(e.components=F),K&&(e.directives=K)}function El(e,t,n=ve,s=!1){L(e)&&(e=Pn(e));for(const r in e){const i=e[r];let l;te(i)?"default"in i?l=mn(i.from||r,i.default,!0):l=mn(i.from||r):l=mn(i),oe(l)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):t[r]=l}}function ys(e,t,n){Ce(L(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fr(e,t,n,s){const r=s.includes(".")?xr(n,s):()=>n[s];if(ie(e)){const i=t[e];D(i)&&_n(r,i)}else if(D(e))_n(r,e.bind(n));else if(te(e))if(L(e))e.forEach(i=>Fr(i,t,n,s));else{const i=D(e.handler)?e.handler.bind(n):t[e.handler];D(i)&&_n(r,i,e)}}function Gn(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,o=i.get(t);let c;return o?c=o:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>Zt(c,a,l,!0)),Zt(c,t,l)),te(t)&&i.set(t,c),c}function Zt(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Zt(e,i,n,!0),r&&r.forEach(l=>Zt(e,l,n,!0));for(const l in t)if(!(s&&l==="expose")){const o=Tl[l]||n&&n[l];e[l]=o?o(e[l],t[l]):t[l]}return e}const Tl={data:xs,props:Ye,emits:Ye,methods:Ye,computed:Ye,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Ye,directives:Ye,watch:Al,provide:xs,inject:wl};function xs(e,t){return t?e?function(){return fe(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function wl(e,t){return Ye(Pn(e),Pn(t))}function Pn(e){if(L(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function Ye(e,t){return e?fe(fe(Object.create(null),e),t):t}function Al(e,t){if(!e)return t;if(!t)return e;const n=fe(Object.create(null),e);for(const s in t)n[s]=ue(e[s],t[s]);return n}function vl(e,t,n,s=!1){const r={},i={};Vt(i,cn,1),e.propsDefaults=Object.create(null),Mr(e,t,r,i);for(const l in e.propsOptions[0])l in r||(r[l]=void 0);n?e.props=s?r:Bi(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Fl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:l}}=e,o=J(r),[c]=e.propsOptions;let a=!1;if((s||l>0)&&!(l&16)){if(l&8){const h=e.vnode.dynamicProps;for(let b=0;b<h.length;b++){let y=h[b];if(on(e.emitsOptions,y))continue;const v=t[y];if(c)if(V(i,y))v!==i[y]&&(i[y]=v,a=!0);else{const O=ut(y);r[O]=Rn(c,o,O,v,e,!1)}else v!==i[y]&&(i[y]=v,a=!0)}}}else{Mr(e,t,r,i)&&(a=!0);let h;for(const b in o)(!t||!V(t,b)&&((h=pt(b))===b||!V(t,h)))&&(c?n&&(n[b]!==void 0||n[h]!==void 0)&&(r[b]=Rn(c,o,b,void 0,e,!0)):delete r[b]);if(i!==o)for(const b in i)(!t||!V(t,b)&&!0)&&(delete i[b],a=!0)}a&&Ne(e,"set","$attrs")}function Mr(e,t,n,s){const[r,i]=e.propsOptions;let l=!1,o;if(t)for(let c in t){if(Ct(c))continue;const a=t[c];let h;r&&V(r,h=ut(c))?!i||!i.includes(h)?n[h]=a:(o||(o={}))[h]=a:on(e.emitsOptions,c)||(!(c in s)||a!==s[c])&&(s[c]=a,l=!0)}if(i){const c=J(n),a=o||Q;for(let h=0;h<i.length;h++){const b=i[h];n[b]=Rn(r,c,b,a[b],e,!V(a,b))}}return l}function Rn(e,t,n,s,r,i){const l=e[n];if(l!=null){const o=V(l,"default");if(o&&s===void 0){const c=l.default;if(l.type!==Function&&D(c)){const{propsDefaults:a}=r;n in a?s=a[n]:(dt(r),s=a[n]=c.call(null,t),tt())}else s=c}l[0]&&(i&&!o?s=!1:l[1]&&(s===""||s===pt(n))&&(s=!0))}return s}function Or(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,l={},o=[];let c=!1;if(!D(e)){const h=b=>{c=!0;const[y,v]=Or(b,t,!0);fe(l,y),v&&o.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!i&&!c)return te(e)&&s.set(e,it),it;if(L(i))for(let h=0;h<i.length;h++){const b=ut(i[h]);Cs(b)&&(l[b]=Q)}else if(i)for(const h in i){const b=ut(h);if(Cs(b)){const y=i[h],v=l[b]=L(y)||D(y)?{type:y}:y;if(v){const O=ws(Boolean,v.type),P=ws(String,v.type);v[0]=O>-1,v[1]=P<0||O<P,(O>-1||V(v,"default"))&&o.push(b)}}}const a=[l,o];return te(e)&&s.set(e,a),a}function Cs(e){return e[0]!=="$"}function Es(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Ts(e,t){return Es(e)===Es(t)}function ws(e,t){return L(t)?t.findIndex(n=>Ts(n,e)):D(t)&&Ts(t,e)?0:-1}const Ir=e=>e[0]==="_"||e==="$stable",es=e=>L(e)?e.map(Te):[Te(e)],Ml=(e,t,n)=>{if(t._n)return t;const s=Zi((...r)=>es(t(...r)),n);return s._c=!1,s},Pr=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Ir(r))continue;const i=e[r];if(D(i))t[r]=Ml(r,i,s);else if(i!=null){const l=es(i);t[r]=()=>l}}},Rr=(e,t)=>{const n=es(t);e.slots.default=()=>n},Ol=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=J(t),Vt(t,"_",n)):Pr(t,e.slots={})}else e.slots={},t&&Rr(e,t);Vt(e.slots,cn,1)},Il=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,l=Q;if(s.shapeFlag&32){const o=t._;o?n&&o===1?i=!1:(fe(r,t),!n&&o===1&&delete r._):(i=!t.$stable,Pr(t,r)),l=t}else t&&(Rr(e,t),l={default:1});if(i)for(const o in r)!Ir(o)&&!(o in l)&&delete r[o]};function Nr(){return{app:null,config:{isNativeTag:si,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 Pl=0;function Rl(e,t){return function(s,r=null){D(s)||(s=Object.assign({},s)),r!=null&&!te(r)&&(r=null);const i=Nr(),l=new Set;let o=!1;const c=i.app={_uid:Pl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Ql,get config(){return i.config},set config(a){},use(a,...h){return l.has(a)||(a&&D(a.install)?(l.add(a),a.install(c,...h)):D(a)&&(l.add(a),a(c,...h))),c},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),c},component(a,h){return h?(i.components[a]=h,c):i.components[a]},directive(a,h){return h?(i.directives[a]=h,c):i.directives[a]},mount(a,h,b){if(!o){const y=re(s,r);return y.appContext=i,h&&t?t(y,a):e(y,a,b),o=!0,c._container=a,a.__vue_app__=c,un(y.component)||y.component.proxy}},unmount(){o&&(e(null,c._container),delete c._container.__vue_app__)},provide(a,h){return i.provides[a]=h,c}};return c}}function Qt(e,t,n,s,r=!1){if(L(e)){e.forEach((y,v)=>Qt(y,t&&(L(t)?t[v]:t),n,s,r));return}if(ct(s)&&!r)return;const i=s.shapeFlag&4?un(s.component)||s.component.proxy:s.el,l=r?null:i,{i:o,r:c}=e,a=t&&t.r,h=o.refs===Q?o.refs={}:o.refs,b=o.setupState;if(a!=null&&a!==c&&(ie(a)?(h[a]=null,V(b,a)&&(b[a]=null)):oe(a)&&(a.value=null)),D(c))Ue(c,o,12,[l,h]);else{const y=ie(c),v=oe(c);if(y||v){const O=()=>{if(e.f){const P=y?h[c]:c.value;r?L(P)&&jn(P,i):L(P)?P.includes(i)||P.push(i):y?(h[c]=[i],V(b,c)&&(b[c]=h[c])):(c.value=[i],e.k&&(h[e.k]=c.value))}else y?(h[c]=l,V(b,c)&&(b[c]=l)):v&&(c.value=l,e.k&&(h[e.k]=l))};l?(O.id=-1,he(O,n)):O()}}}let Se=!1;const Ut=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Kt=e=>e.nodeType===8;function Nl(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:l,remove:o,insert:c,createComment:a}}=e,h=(p,x)=>{if(!x.hasChildNodes()){n(null,p,x),Jt(),x._vnode=p;return}Se=!1,b(x.firstChild,p,null,null,null),Jt(),x._vnode=p,Se&&console.error("Hydration completed but contains mismatches.")},b=(p,x,H,B,W,Z=!1)=>{const q=Kt(p)&&p.data==="[",A=()=>P(p,x,H,B,W,q),{type:U,ref:j,shapeFlag:z,patchFlag:F}=x;let K=p.nodeType;x.el=p,F===-2&&(Z=!1,x.dynamicChildren=null);let I=null;switch(U){case Ot:K!==3?x.children===""?(c(x.el=r(""),l(p),p),I=p):I=A():(p.data!==x.children&&(Se=!0,p.data=x.children),I=i(p));break;case _e:K!==8||q?I=A():I=i(p);break;case Et:if(q&&(p=i(p),K=p.nodeType),K===1||K===3){I=p;const pe=!x.children.length;for(let Y=0;Y<x.staticCount;Y++)pe&&(x.children+=I.nodeType===1?I.outerHTML:I.data),Y===x.staticCount-1&&(x.anchor=I),I=i(I);return q?i(I):I}else A();break;case ae:q?I=O(p,x,H,B,W,Z):I=A();break;default:if(z&1)K!==1||x.type.toLowerCase()!==p.tagName.toLowerCase()?I=A():I=y(p,x,H,B,W,Z);else if(z&6){x.slotScopeIds=W;const pe=l(p);if(t(x,pe,null,H,B,Ut(pe),Z),I=q?$(p):i(p),I&&Kt(I)&&I.data==="teleport end"&&(I=i(I)),ct(x)){let Y;q?(Y=re(ae),Y.anchor=I?I.previousSibling:pe.lastChild):Y=p.nodeType===3?Ur(""):re("div"),Y.el=p,x.component.subTree=Y}}else z&64?K!==8?I=A():I=x.type.hydrate(p,x,H,B,W,Z,e,v):z&128&&(I=x.type.hydrate(p,x,H,B,Ut(l(p)),W,Z,e,b))}return j!=null&&Qt(j,null,B,x),I},y=(p,x,H,B,W,Z)=>{Z=Z||!!x.dynamicChildren;const{type:q,props:A,patchFlag:U,shapeFlag:j,dirs:z}=x,F=q==="input"&&z||q==="option";if(F||U!==-1){if(z&&Oe(x,null,H,"created"),A)if(F||!Z||U&48)for(const I in A)(F&&I.endsWith("value")||Pt(I)&&!Ct(I))&&s(p,I,null,A[I],!1,void 0,H);else A.onClick&&s(p,"onClick",null,A.onClick,!1,void 0,H);let K;if((K=A&&A.onVnodeBeforeMount)&&xe(K,H,x),z&&Oe(x,null,H,"beforeMount"),((K=A&&A.onVnodeMounted)||z)&&yr(()=>{K&&xe(K,H,x),z&&Oe(x,null,H,"mounted")},B),j&16&&!(A&&(A.innerHTML||A.textContent))){let I=v(p.firstChild,x,p,H,B,W,Z);for(;I;){Se=!0;const pe=I;I=I.nextSibling,o(pe)}}else j&8&&p.textContent!==x.children&&(Se=!0,p.textContent=x.children)}return p.nextSibling},v=(p,x,H,B,W,Z,q)=>{q=q||!!x.dynamicChildren;const A=x.children,U=A.length;for(let j=0;j<U;j++){const z=q?A[j]:A[j]=Te(A[j]);if(p)p=b(p,z,B,W,Z,q);else{if(z.type===Ot&&!z.children)continue;Se=!0,n(null,z,H,null,B,W,Ut(H),Z)}}return p},O=(p,x,H,B,W,Z)=>{const{slotScopeIds:q}=x;q&&(W=W?W.concat(q):q);const A=l(p),U=v(i(p),x,A,H,B,W,Z);return U&&Kt(U)&&U.data==="]"?i(x.anchor=U):(Se=!0,c(x.anchor=a("]"),A,U),U)},P=(p,x,H,B,W,Z)=>{if(Se=!0,x.el=null,Z){const U=$(p);for(;;){const j=i(p);if(j&&j!==U)o(j);else break}}const q=i(p),A=l(p);return o(p),n(null,x,A,q,H,B,Ut(A),W),q},$=p=>{let x=0;for(;p;)if(p=i(p),p&&Kt(p)&&(p.data==="["&&x++,p.data==="]")){if(x===0)return i(p);x--}return p};return[h,b]}const he=yr;function Ll(e){return Lr(e)}function Hl(e){return Lr(e,Nl)}function Lr(e,t){const n=ci();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:l,createText:o,createComment:c,setText:a,setElementText:h,parentNode:b,nextSibling:y,setScopeId:v=ve,insertStaticContent:O}=e,P=(f,u,d,m=null,g=null,E=null,w=!1,C=null,T=!!u.dynamicChildren)=>{if(f===u)return;f&&!Ze(f,u)&&(m=Ht(f),Fe(f,g,E,!0),f=null),u.patchFlag===-2&&(T=!1,u.dynamicChildren=null);const{type:_,ref:R,shapeFlag:M}=u;switch(_){case Ot:$(f,u,d,m);break;case _e:p(f,u,d,m);break;case Et:f==null&&x(u,d,m,w);break;case ae:F(f,u,d,m,g,E,w,C,T);break;default:M&1?W(f,u,d,m,g,E,w,C,T):M&6?K(f,u,d,m,g,E,w,C,T):(M&64||M&128)&&_.process(f,u,d,m,g,E,w,C,T,nt)}R!=null&&g&&Qt(R,f&&f.ref,E,u||f,!u)},$=(f,u,d,m)=>{if(f==null)s(u.el=o(u.children),d,m);else{const g=u.el=f.el;u.children!==f.children&&a(g,u.children)}},p=(f,u,d,m)=>{f==null?s(u.el=c(u.children||""),d,m):u.el=f.el},x=(f,u,d,m)=>{[f.el,f.anchor]=O(f.children,u,d,m,f.el,f.anchor)},H=({el:f,anchor:u},d,m)=>{let g;for(;f&&f!==u;)g=y(f),s(f,d,m),f=g;s(u,d,m)},B=({el:f,anchor:u})=>{let d;for(;f&&f!==u;)d=y(f),r(f),f=d;r(u)},W=(f,u,d,m,g,E,w,C,T)=>{w=w||u.type==="svg",f==null?Z(u,d,m,g,E,w,C,T):U(f,u,g,E,w,C,T)},Z=(f,u,d,m,g,E,w,C)=>{let T,_;const{type:R,props:M,shapeFlag:N,transition:S,dirs:k}=f;if(T=f.el=l(f.type,E,M&&M.is,M),N&8?h(T,f.children):N&16&&A(f.children,T,null,m,g,E&&R!=="foreignObject",w,C),k&&Oe(f,null,m,"created"),M){for(const X in M)X!=="value"&&!Ct(X)&&i(T,X,null,M[X],E,f.children,m,g,Pe);"value"in M&&i(T,"value",null,M.value),(_=M.onVnodeBeforeMount)&&xe(_,m,f)}q(T,f,f.scopeId,w,m),k&&Oe(f,null,m,"beforeMount");const ee=(!g||g&&!g.pendingBranch)&&S&&!S.persisted;ee&&S.beforeEnter(T),s(T,u,d),((_=M&&M.onVnodeMounted)||ee||k)&&he(()=>{_&&xe(_,m,f),ee&&S.enter(T),k&&Oe(f,null,m,"mounted")},g)},q=(f,u,d,m,g)=>{if(d&&v(f,d),m)for(let E=0;E<m.length;E++)v(f,m[E]);if(g){let E=g.subTree;if(u===E){const w=g.vnode;q(f,w,w.scopeId,w.slotScopeIds,g.parent)}}},A=(f,u,d,m,g,E,w,C,T=0)=>{for(let _=T;_<f.length;_++){const R=f[_]=C?De(f[_]):Te(f[_]);P(null,R,u,d,m,g,E,w,C)}},U=(f,u,d,m,g,E,w)=>{const C=u.el=f.el;let{patchFlag:T,dynamicChildren:_,dirs:R}=u;T|=f.patchFlag&16;const M=f.props||Q,N=u.props||Q;let S;d&&qe(d,!1),(S=N.onVnodeBeforeUpdate)&&xe(S,d,u,f),R&&Oe(u,f,d,"beforeUpdate"),d&&qe(d,!0);const k=g&&u.type!=="foreignObject";if(_?j(f.dynamicChildren,_,C,d,m,k,E):w||G(f,u,C,null,d,m,k,E,!1),T>0){if(T&16)z(C,u,M,N,d,m,g);else if(T&2&&M.class!==N.class&&i(C,"class",null,N.class,g),T&4&&i(C,"style",M.style,N.style,g),T&8){const ee=u.dynamicProps;for(let X=0;X<ee.length;X++){const se=ee[X],Ee=M[se],st=N[se];(st!==Ee||se==="value")&&i(C,se,Ee,st,g,f.children,d,m,Pe)}}T&1&&f.children!==u.children&&h(C,u.children)}else!w&&_==null&&z(C,u,M,N,d,m,g);((S=N.onVnodeUpdated)||R)&&he(()=>{S&&xe(S,d,u,f),R&&Oe(u,f,d,"updated")},m)},j=(f,u,d,m,g,E,w)=>{for(let C=0;C<u.length;C++){const T=f[C],_=u[C],R=T.el&&(T.type===ae||!Ze(T,_)||T.shapeFlag&70)?b(T.el):d;P(T,_,R,null,m,g,E,w,!0)}},z=(f,u,d,m,g,E,w)=>{if(d!==m){if(d!==Q)for(const C in d)!Ct(C)&&!(C in m)&&i(f,C,d[C],null,w,u.children,g,E,Pe);for(const C in m){if(Ct(C))continue;const T=m[C],_=d[C];T!==_&&C!=="value"&&i(f,C,_,T,w,u.children,g,E,Pe)}"value"in m&&i(f,"value",d.value,m.value)}},F=(f,u,d,m,g,E,w,C,T)=>{const _=u.el=f?f.el:o(""),R=u.anchor=f?f.anchor:o("");let{patchFlag:M,dynamicChildren:N,slotScopeIds:S}=u;S&&(C=C?C.concat(S):S),f==null?(s(_,d,m),s(R,d,m),A(u.children,d,R,g,E,w,C,T)):M>0&&M&64&&N&&f.dynamicChildren?(j(f.dynamicChildren,N,d,g,E,w,C),(u.key!=null||g&&u===g.subTree)&&Hr(f,u,!0)):G(f,u,d,R,g,E,w,C,T)},K=(f,u,d,m,g,E,w,C,T)=>{u.slotScopeIds=C,f==null?u.shapeFlag&512?g.ctx.activate(u,d,m,w,T):I(u,d,m,g,E,w,T):pe(f,u,T)},I=(f,u,d,m,g,E,w)=>{const C=f.component=Wl(f,m,g);if(Nt(f)&&(C.ctx.renderer=nt),Vl(C),C.asyncDep){if(g&&g.registerDep(C,Y),!f.el){const T=C.subTree=re(_e);p(null,T,u,d)}return}Y(C,f,u,d,g,E,w)},pe=(f,u,d)=>{const m=u.component=f.component;if(el(f,u,d))if(m.asyncDep&&!m.asyncResolved){ne(m,u,d);return}else m.next=u,zi(m.update),m.update();else u.el=f.el,m.vnode=u},Y=(f,u,d,m,g,E,w)=>{const C=()=>{if(f.isMounted){let{next:R,bu:M,u:N,parent:S,vnode:k}=f,ee=R,X;qe(f,!1),R?(R.el=k.el,ne(f,R,w)):R=k,M&&kt(M),(X=R.props&&R.props.onVnodeBeforeUpdate)&&xe(X,S,R,k),qe(f,!0);const se=gn(f),Ee=f.subTree;f.subTree=se,P(Ee,se,b(Ee.el),Ht(Ee),f,g,E),R.el=se.el,ee===null&&tl(f,se.el),N&&he(N,g),(X=R.props&&R.props.onVnodeUpdated)&&he(()=>xe(X,S,R,k),g)}else{let R;const{el:M,props:N}=u,{bm:S,m:k,parent:ee}=f,X=ct(u);if(qe(f,!1),S&&kt(S),!X&&(R=N&&N.onVnodeBeforeMount)&&xe(R,ee,u),qe(f,!0),M&&dn){const se=()=>{f.subTree=gn(f),dn(M,f.subTree,f,g,null)};X?u.type.__asyncLoader().then(()=>!f.isUnmounted&&se()):se()}else{const se=f.subTree=gn(f);P(null,se,d,m,f,g,E),u.el=se.el}if(k&&he(k,g),!X&&(R=N&&N.onVnodeMounted)){const se=u;he(()=>xe(R,ee,se),g)}(u.shapeFlag&256||ee&&ct(ee.vnode)&&ee.vnode.shapeFlag&256)&&f.a&&he(f.a,g),f.isMounted=!0,u=d=m=null}},T=f.effect=new Kn(C,()=>ln(_),f.scope),_=f.update=()=>T.run();_.id=f.uid,qe(f,!0),_()},ne=(f,u,d)=>{u.component=f;const m=f.vnode.props;f.vnode=u,f.next=null,Fl(f,u.props,m,d),Il(f,u.children,d),gt(),gs(),mt()},G=(f,u,d,m,g,E,w,C,T=!1)=>{const _=f&&f.children,R=f?f.shapeFlag:0,M=u.children,{patchFlag:N,shapeFlag:S}=u;if(N>0){if(N&128){Lt(_,M,d,m,g,E,w,C,T);return}else if(N&256){We(_,M,d,m,g,E,w,C,T);return}}S&8?(R&16&&Pe(_,g,E),M!==_&&h(d,M)):R&16?S&16?Lt(_,M,d,m,g,E,w,C,T):Pe(_,g,E,!0):(R&8&&h(d,""),S&16&&A(M,d,m,g,E,w,C,T))},We=(f,u,d,m,g,E,w,C,T)=>{f=f||it,u=u||it;const _=f.length,R=u.length,M=Math.min(_,R);let N;for(N=0;N<M;N++){const S=u[N]=T?De(u[N]):Te(u[N]);P(f[N],S,d,null,g,E,w,C,T)}_>R?Pe(f,g,E,!0,!1,M):A(u,d,m,g,E,w,C,T,M)},Lt=(f,u,d,m,g,E,w,C,T)=>{let _=0;const R=u.length;let M=f.length-1,N=R-1;for(;_<=M&&_<=N;){const S=f[_],k=u[_]=T?De(u[_]):Te(u[_]);if(Ze(S,k))P(S,k,d,null,g,E,w,C,T);else break;_++}for(;_<=M&&_<=N;){const S=f[M],k=u[N]=T?De(u[N]):Te(u[N]);if(Ze(S,k))P(S,k,d,null,g,E,w,C,T);else break;M--,N--}if(_>M){if(_<=N){const S=N+1,k=S<R?u[S].el:m;for(;_<=N;)P(null,u[_]=T?De(u[_]):Te(u[_]),d,k,g,E,w,C,T),_++}}else if(_>N)for(;_<=M;)Fe(f[_],g,E,!0),_++;else{const S=_,k=_,ee=new Map;for(_=k;_<=N;_++){const ge=u[_]=T?De(u[_]):Te(u[_]);ge.key!=null&&ee.set(ge.key,_)}let X,se=0;const Ee=N-k+1;let st=!1,rs=0;const _t=new Array(Ee);for(_=0;_<Ee;_++)_t[_]=0;for(_=S;_<=M;_++){const ge=f[_];if(se>=Ee){Fe(ge,g,E,!0);continue}let Me;if(ge.key!=null)Me=ee.get(ge.key);else for(X=k;X<=N;X++)if(_t[X-k]===0&&Ze(ge,u[X])){Me=X;break}Me===void 0?Fe(ge,g,E,!0):(_t[Me-k]=_+1,Me>=rs?rs=Me:st=!0,P(ge,u[Me],d,null,g,E,w,C,T),se++)}const is=st?Sl(_t):it;for(X=is.length-1,_=Ee-1;_>=0;_--){const ge=k+_,Me=u[ge],ls=ge+1<R?u[ge+1].el:m;_t[_]===0?P(null,Me,d,ls,g,E,w,C,T):st&&(X<0||_!==is[X]?Ve(Me,d,ls,2):X--)}}},Ve=(f,u,d,m,g=null)=>{const{el:E,type:w,transition:C,children:T,shapeFlag:_}=f;if(_&6){Ve(f.component.subTree,u,d,m);return}if(_&128){f.suspense.move(u,d,m);return}if(_&64){w.move(f,u,d,nt);return}if(w===ae){s(E,u,d);for(let M=0;M<T.length;M++)Ve(T[M],u,d,m);s(f.anchor,u,d);return}if(w===Et){H(f,u,d);return}if(m!==2&&_&1&&C)if(m===0)C.beforeEnter(E),s(E,u,d),he(()=>C.enter(E),g);else{const{leave:M,delayLeave:N,afterLeave:S}=C,k=()=>s(E,u,d),ee=()=>{M(E,()=>{k(),S&&S()})};N?N(E,k,ee):ee()}else s(E,u,d)},Fe=(f,u,d,m=!1,g=!1)=>{const{type:E,props:w,ref:C,children:T,dynamicChildren:_,shapeFlag:R,patchFlag:M,dirs:N}=f;if(C!=null&&Qt(C,null,d,f,!0),R&256){u.ctx.deactivate(f);return}const S=R&1&&N,k=!ct(f);let ee;if(k&&(ee=w&&w.onVnodeBeforeUnmount)&&xe(ee,u,f),R&6)Zr(f.component,d,m);else{if(R&128){f.suspense.unmount(d,m);return}S&&Oe(f,null,u,"beforeUnmount"),R&64?f.type.remove(f,u,d,g,nt,m):_&&(E!==ae||M>0&&M&64)?Pe(_,u,d,!1,!0):(E===ae&&M&384||!g&&R&16)&&Pe(T,u,d),m&&ns(f)}(k&&(ee=w&&w.onVnodeUnmounted)||S)&&he(()=>{ee&&xe(ee,u,f),S&&Oe(f,null,u,"unmounted")},d)},ns=f=>{const{type:u,el:d,anchor:m,transition:g}=f;if(u===ae){Xr(d,m);return}if(u===Et){B(f);return}const E=()=>{r(d),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(f.shapeFlag&1&&g&&!g.persisted){const{leave:w,delayLeave:C}=g,T=()=>w(d,E);C?C(f.el,E,T):T()}else E()},Xr=(f,u)=>{let d;for(;f!==u;)d=y(f),r(f),f=d;r(u)},Zr=(f,u,d)=>{const{bum:m,scope:g,update:E,subTree:w,um:C}=f;m&&kt(m),g.stop(),E&&(E.active=!1,Fe(w,f,u,d)),C&&he(C,u),he(()=>{f.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},Pe=(f,u,d,m=!1,g=!1,E=0)=>{for(let w=E;w<f.length;w++)Fe(f[w],u,d,m,g)},Ht=f=>f.shapeFlag&6?Ht(f.component.subTree):f.shapeFlag&128?f.suspense.next():y(f.anchor||f.el),ss=(f,u,d)=>{f==null?u._vnode&&Fe(u._vnode,null,null,!0):P(u._vnode||null,f,u,null,null,null,d),gs(),Jt(),u._vnode=f},nt={p:P,um:Fe,m:Ve,r:ns,mt:I,mc:A,pc:G,pbc:j,n:Ht,o:e};let an,dn;return t&&([an,dn]=t(nt)),{render:ss,hydrate:an,createApp:Rl(ss,an)}}function qe({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Hr(e,t,n=!1){const s=e.children,r=t.children;if(L(s)&&L(r))for(let i=0;i<s.length;i++){const l=s[i];let o=r[i];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=r[i]=De(r[i]),o.el=l.el),n||Hr(l,o))}}function Sl(e){const t=e.slice(),n=[0];let s,r,i,l,o;const c=e.length;for(s=0;s<c;s++){const a=e[s];if(a!==0){if(r=n[n.length-1],e[r]<a){t[s]=r,n.push(s);continue}for(i=0,l=n.length-1;i<l;)o=i+l>>1,e[n[o]]<a?i=o+1:l=o;a<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,l=n[i-1];i-- >0;)n[i]=l,l=t[l];return n}const Bl=e=>e.__isTeleport,ae=Symbol(void 0),Ot=Symbol(void 0),_e=Symbol(void 0),Et=Symbol(void 0),Tt=[];let Ae=null;function Sr(e=!1){Tt.push(Ae=e?null:[])}function jl(){Tt.pop(),Ae=Tt[Tt.length-1]||null}let It=1;function As(e){It+=e}function Br(e){return e.dynamicChildren=It>0?Ae||it:null,jl(),It>0&&Ae&&Ae.push(e),e}function jo(e,t,n,s,r,i){return Br($r(e,t,n,s,r,i,!0))}function jr(e,t,n,s,r){return Br(re(e,t,n,s,r,!0))}function Gt(e){return e?e.__v_isVNode===!0:!1}function Ze(e,t){return e.type===t.type&&e.key===t.key}const cn="__vInternal",Dr=({key:e})=>e??null,Wt=({ref:e,ref_key:t,ref_for:n})=>e!=null?ie(e)||oe(e)||D(e)?{i:de,r:e,k:t,f:!!n}:e:null;function $r(e,t=null,n=null,s=0,r=null,i=e===ae?0:1,l=!1,o=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Dr(t),ref:t&&Wt(t),scopeId:br,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return o?(ts(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ie(n)?8:16),It>0&&!l&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const re=Dl;function Dl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===yl)&&(e=_e),Gt(e)){const o=ke(e,t,!0);return n&&ts(o,n),It>0&&!i&&Ae&&(o.shapeFlag&6?Ae[Ae.indexOf(e)]=o:Ae.push(o)),o.patchFlag|=-2,o}if(Yl(e)&&(e=e.__vccOpts),t){t=$l(t);let{class:o,style:c}=t;o&&!ie(o)&&(t.class=tn(o)),te(c)&&(or(c)&&!L(c)&&(c=fe({},c)),t.style=en(c))}const l=ie(e)?1:nl(e)?128:Bl(e)?64:te(e)?4:D(e)?2:0;return $r(e,t,n,s,r,l,i,!0)}function $l(e){return e?or(e)||cn in e?fe({},e):e:null}function ke(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:l}=e,o=t?Ul(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&Dr(o),ref:t&&t.ref?n&&r?L(r)?r.concat(Wt(t)):[r,Wt(t)]:Wt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ae?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ke(e.ssContent),ssFallback:e.ssFallback&&ke(e.ssFallback),el:e.el,anchor:e.anchor}}function Ur(e=" ",t=0){return re(Ot,null,e,t)}function Do(e="",t=!1){return t?(Sr(),jr(_e,null,e)):re(_e,null,e)}function Te(e){return e==null||typeof e=="boolean"?re(_e):L(e)?re(ae,null,e.slice()):typeof e=="object"?De(e):re(Ot,null,String(e))}function De(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ke(e)}function ts(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(L(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),ts(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(cn in t)?t._ctx=de:r===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else D(t)?(t={default:t,_ctx:de},n=32):(t=String(t),s&64?(n=16,t=[Ur(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ul(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=tn([t.class,s.class]));else if(r==="style")t.style=en([t.style,s.style]);else if(Pt(r)){const i=t[r],l=s[r];l&&i!==l&&!(L(i)&&i.includes(l))&&(t[r]=i?[].concat(i,l):l)}else r!==""&&(t[r]=s[r])}return t}function xe(e,t,n,s=null){Ce(e,t,7,[n,s])}const Kl=Nr();let kl=0;function Wl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Kl,i={uid:kl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new ui(!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:Or(s,r),emitsOptions:_r(s,r),emit:null,emitted:null,propsDefaults:Q,inheritAttrs:s.inheritAttrs,ctx:Q,data:Q,props:Q,attrs:Q,slots:Q,refs:Q,setupState:Q,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Xi.bind(null,i),e.ce&&e.ce(i),i}let le=null;const Kr=()=>le||de,dt=e=>{le=e,e.scope.on()},tt=()=>{le&&le.scope.off(),le=null};function kr(e){return e.vnode.shapeFlag&4}let ht=!1;function Vl(e,t=!1){ht=t;const{props:n,children:s}=e.vnode,r=kr(e);vl(e,n,r,t),Ol(e,s);const i=r?ql(e,t):void 0;return ht=!1,i}function ql(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=fr(new Proxy(e.ctx,xl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Jl(e):null;dt(e),gt();const i=Ue(s,e,0,[e.props,r]);if(mt(),tt(),qs(i)){if(i.then(tt,tt),t)return i.then(l=>{vs(e,l,t)}).catch(l=>{Rt(l,e,0)});e.asyncDep=i}else vs(e,i,t)}else Wr(e,t)}function vs(e,t,n){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:te(t)&&(e.setupState=dr(t)),Wr(e,n)}let Fs;function Wr(e,t,n){const s=e.type;if(!e.render){if(!t&&Fs&&!s.render){const r=s.template||Gn(e).template;if(r){const{isCustomElement:i,compilerOptions:l}=e.appContext.config,{delimiters:o,compilerOptions:c}=s,a=fe(fe({isCustomElement:i,delimiters:o},l),c);s.render=Fs(r,a)}}e.render=s.render||ve}dt(e),gt(),Cl(e),mt(),tt()}function zl(e){return new Proxy(e.attrs,{get(t,n){return be(e,"get","$attrs"),t[n]}})}function Jl(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=zl(e))},slots:e.slots,emit:e.emit,expose:t}}function un(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(dr(fr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Xt)return Xt[n](e)}}))}function Yl(e){return D(e)&&"__vccOpts"in e}const Xl=(e,t)=>ki(e,t,ht);function Zl(e,t,n){const s=arguments.length;return s===2?te(t)&&!L(t)?Gt(t)?re(e,null,[t]):re(e,t):re(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Gt(n)&&(n=[n]),re(e,t,n))}const Ql="3.2.40",Gl="http://www.w3.org/2000/svg",Qe=typeof document<"u"?document:null,Ms=Qe&&Qe.createElement("template"),eo={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?Qe.createElementNS(Gl,e):Qe.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Qe.createTextNode(e),createComment:e=>Qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const l=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Ms.innerHTML=s?`<svg>${e}</svg>`:e;const o=Ms.content;if(s){const c=o.firstChild;for(;c.firstChild;)o.appendChild(c.firstChild);o.removeChild(c)}t.insertBefore(o,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function to(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 no(e,t,n){const s=e.style,r=ie(n);if(n&&!r){for(const i in n)Nn(s,i,n[i]);if(t&&!ie(t))for(const i in t)n[i]==null&&Nn(s,i,"")}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Os=/\s*!important$/;function Nn(e,t,n){if(L(n))n.forEach(s=>Nn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=so(e,t);Os.test(n)?e.setProperty(pt(s),n.replace(Os,""),"important"):e[s]=n}}const Is=["Webkit","Moz","ms"],xn={};function so(e,t){const n=xn[t];if(n)return n;let s=ut(t);if(s!=="filter"&&s in e)return xn[t]=s;s=Ys(s);for(let r=0;r<Is.length;r++){const i=Is[r]+s;if(i in e)return xn[t]=i}return t}const Ps="http://www.w3.org/1999/xlink";function ro(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Ps,t.slice(6,t.length)):e.setAttributeNS(Ps,t,n);else{const i=Gr(t);n==null||i&&!ks(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function io(e,t,n,s,r,i,l){if(t==="innerHTML"||t==="textContent"){s&&l(s,r,i),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const c=n??"";(e.value!==c||e.tagName==="OPTION")&&(e.value=c),n==null&&e.removeAttribute(t);return}let o=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=ks(n):n==null&&c==="string"?(n="",o=!0):c==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(t)}const[Vr,lo]=(()=>{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Ln=0;const oo=Promise.resolve(),fo=()=>{Ln=0},co=()=>Ln||(oo.then(fo),Ln=Vr());function rt(e,t,n,s){e.addEventListener(t,n,s)}function uo(e,t,n,s){e.removeEventListener(t,n,s)}function ao(e,t,n,s,r=null){const i=e._vei||(e._vei={}),l=i[t];if(s&&l)l.value=s;else{const[o,c]=ho(t);if(s){const a=i[t]=po(s,r);rt(e,o,a,c)}else l&&(uo(e,o,l,c),i[t]=void 0)}}const Rs=/(?:Once|Passive|Capture)$/;function ho(e){let t;if(Rs.test(e)){t={};let s;for(;s=e.match(Rs);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):pt(e.slice(2)),t]}function po(e,t){const n=s=>{const r=s.timeStamp||Vr();(lo||r>=n.attached-1)&&Ce(go(s,n.value),t,5,[s])};return n.value=e,n.attached=co(),n}function go(e,t){if(L(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 Ns=/^on[a-z]/,mo=(e,t,n,s,r=!1,i,l,o,c)=>{t==="class"?to(e,s,r):t==="style"?no(e,n,s):Pt(t)?Bn(t)||ao(e,t,n,s,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):_o(e,t,s,r))?io(e,t,s,i,l,o,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ro(e,t,s,r))};function _o(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Ns.test(t)&&D(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ns.test(t)&&ie(n)?!1:t in e}function $o(e){const t=Kr();if(!t)return;const n=()=>Hn(t.subTree,e(t.proxy));rl(n),Zn(()=>{const s=new MutationObserver(n);s.observe(t.subTree.el.parentNode,{childList:!0}),Qn(()=>s.disconnect())})}function Hn(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Hn(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Ls(e.el,t);else if(e.type===ae)e.children.forEach(n=>Hn(n,t));else if(e.type===Et){let{el:n,anchor:s}=e;for(;n&&(Ls(n,t),n!==s);)n=n.nextSibling}}function Ls(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const Be="transition",bt="animation",qr=(e,{slots:t})=>Zl(Cr,bo(e),t);qr.displayName="Transition";const zr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};qr.props=fe({},Cr.props,zr);const ze=(e,t=[])=>{L(e)?e.forEach(n=>n(...t)):e&&e(...t)},Hs=e=>e?L(e)?e.some(t=>t.length>1):e.length>1:!1;function bo(e){const t={};for(const F in e)F in zr||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:o=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=l,appearToClass:h=o,leaveFromClass:b=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,O=yo(r),P=O&&O[0],$=O&&O[1],{onBeforeEnter:p,onEnter:x,onEnterCancelled:H,onLeave:B,onLeaveCancelled:W,onBeforeAppear:Z=p,onAppear:q=x,onAppearCancelled:A=H}=t,U=(F,K,I)=>{Je(F,K?h:o),Je(F,K?a:l),I&&I()},j=(F,K)=>{F._isLeaving=!1,Je(F,b),Je(F,v),Je(F,y),K&&K()},z=F=>(K,I)=>{const pe=F?q:x,Y=()=>U(K,F,I);ze(pe,[K,Y]),Ss(()=>{Je(K,F?c:i),je(K,F?h:o),Hs(pe)||Bs(K,s,P,Y)})};return fe(t,{onBeforeEnter(F){ze(p,[F]),je(F,i),je(F,l)},onBeforeAppear(F){ze(Z,[F]),je(F,c),je(F,a)},onEnter:z(!1),onAppear:z(!0),onLeave(F,K){F._isLeaving=!0;const I=()=>j(F,K);je(F,b),Eo(),je(F,y),Ss(()=>{!F._isLeaving||(Je(F,b),je(F,v),Hs(B)||Bs(F,s,$,I))}),ze(B,[F,I])},onEnterCancelled(F){U(F,!1),ze(H,[F])},onAppearCancelled(F){U(F,!0),ze(A,[F])},onLeaveCancelled(F){j(F),ze(W,[F])}})}function yo(e){if(e==null)return null;if(te(e))return[Cn(e.enter),Cn(e.leave)];{const t=Cn(e);return[t,t]}}function Cn(e){return qt(e)}function je(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Je(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Ss(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let xo=0;function Bs(e,t,n,s){const r=e._endId=++xo,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:l,timeout:o,propCount:c}=Co(e,t);if(!l)return s();const a=l+"end";let h=0;const b=()=>{e.removeEventListener(a,y),i()},y=v=>{v.target===e&&++h>=c&&b()};setTimeout(()=>{h<c&&b()},o+1),e.addEventListener(a,y)}function Co(e,t){const n=window.getComputedStyle(e),s=O=>(n[O]||"").split(", "),r=s(Be+"Delay"),i=s(Be+"Duration"),l=js(r,i),o=s(bt+"Delay"),c=s(bt+"Duration"),a=js(o,c);let h=null,b=0,y=0;t===Be?l>0&&(h=Be,b=l,y=i.length):t===bt?a>0&&(h=bt,b=a,y=c.length):(b=Math.max(l,a),h=b>0?l>a?Be:bt:null,y=h?h===Be?i.length:c.length:0);const v=h===Be&&/\b(transform|all)(,|$)/.test(n[Be+"Property"]);return{type:h,timeout:b,propCount:y,hasTransform:v}}function js(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Ds(n)+Ds(e[s])))}function Ds(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Eo(){return document.body.offsetHeight}const $s=e=>{const t=e.props["onUpdate:modelValue"]||!1;return L(t)?n=>kt(t,n):t};function To(e){e.target.composing=!0}function Us(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Uo={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=$s(r);const i=s||r.props&&r.props.type==="number";rt(e,t?"change":"input",l=>{if(l.target.composing)return;let o=e.value;n&&(o=o.trim()),i&&(o=qt(o)),e._assign(o)}),n&&rt(e,"change",()=>{e.value=e.value.trim()}),t||(rt(e,"compositionstart",To),rt(e,"compositionend",Us),rt(e,"change",Us))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},i){if(e._assign=$s(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&qt(e.value)===t))return;const l=t??"";e.value!==l&&(e.value=l)}},wo=["ctrl","shift","alt","meta"],Ao={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>wo.some(n=>e[`${n}Key`]&&!t.includes(n))},Ko=(e,t)=>(n,...s)=>{for(let r=0;r<t.length;r++){const i=Ao[t[r]];if(i&&i(n,t))return}return e(n,...s)},ko={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):yt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),yt(e,!0),s.enter(e)):s.leave(e,()=>{yt(e,!1)}):yt(e,t))},beforeUnmount(e,{value:t}){yt(e,t)}};function yt(e,t){e.style.display=t?e._vod:"none"}const Jr=fe({patchProp:mo},eo);let wt,Ks=!1;function vo(){return wt||(wt=Ll(Jr))}function Fo(){return wt=Ks?wt:Hl(Jr),Ks=!0,wt}const Wo=(...e)=>{const t=vo().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Yr(s);if(!r)return;const i=t._component;!D(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const l=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),l},t},Vo=(...e)=>{const t=Fo().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Yr(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function Yr(e){return ie(e)?document.querySelector(e):e}export{Io as A,Po as B,Ho as C,Uo as D,oe as E,ae as F,ko as G,qr as T,jr as a,Zi as b,Xl as c,fl as d,jo as e,$r as f,Ko as g,Bo as h,Do as i,$o as j,Lo as k,Mo as l,$l as m,tn as n,Sr as o,re as p,Oo as q,pn as r,So as s,No as t,Di as u,Zl as v,_n as w,Wo as x,Vo as y,Ro as z};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
try{self["workbox:window:6.5.3"]&&_()}catch{}function S(t,r){return new Promise(function(e){var i=new MessageChannel;i.port1.onmessage=function(f){e(f.data)},t.postMessage(r,[i.port2])})}function W(t,r){for(var e=0;e<r.length;e++){var i=r[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function E(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,i=new Array(r);e<r;e++)i[e]=t[e];return i}function k(t,r){var e;if(typeof Symbol>"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(e=function(f,d){if(f){if(typeof f=="string")return E(f,d);var h=Object.prototype.toString.call(f).slice(8,-1);return h==="Object"&&f.constructor&&(h=f.constructor.name),h==="Map"||h==="Set"?Array.from(f):h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)?E(f,d):void 0}}(t))||r&&t&&typeof t.length=="number"){e&&(t=e);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return(e=t[Symbol.iterator]()).next.bind(e)}try{self["workbox:core:6.5.3"]&&_()}catch{}var y=function(){var t=this;this.promise=new Promise(function(r,e){t.resolve=r,t.reject=e})};function b(t,r){var e=location.href;return new URL(t,e).href===new URL(r,e).href}var g=function(t,r){this.type=t,Object.assign(this,r)};function p(t,r,e){return e?r?r(t):t:(t&&t.then||(t=Promise.resolve(t)),r?t.then(r):t)}function L(){}var j={type:"SKIP_WAITING"};function P(t,r){if(!r)return t&&t.then?t.then(L):Promise.resolve()}var x=function(t){var r,e;function i(v,c){var n,o;return c===void 0&&(c={}),(n=t.call(this)||this).nn={},n.tn=0,n.rn=new y,n.en=new y,n.on=new y,n.un=0,n.an=new Set,n.cn=function(){var s=n.fn,a=s.installing;n.tn>0||!b(a.scriptURL,n.sn.toString())||performance.now()>n.un+6e4?(n.vn=a,s.removeEventListener("updatefound",n.cn)):(n.hn=a,n.an.add(a),n.rn.resolve(a)),++n.tn,a.addEventListener("statechange",n.ln)},n.ln=function(s){var a=n.fn,u=s.target,l=u.state,m=u===n.vn,w={sw:u,isExternal:m,originalEvent:s};!m&&n.mn&&(w.isUpdate=!0),n.dispatchEvent(new g(l,w)),l==="installed"?n.wn=self.setTimeout(function(){l==="installed"&&a.waiting===u&&n.dispatchEvent(new g("waiting",w))},200):l==="activating"&&(clearTimeout(n.wn),m||n.en.resolve(u))},n.dn=function(s){var a=n.hn,u=a!==navigator.serviceWorker.controller;n.dispatchEvent(new g("controlling",{isExternal:u,originalEvent:s,sw:a,isUpdate:n.mn})),u||n.on.resolve(a)},n.gn=(o=function(s){var a=s.data,u=s.ports,l=s.source;return p(n.getSW(),function(){n.an.has(l)&&n.dispatchEvent(new g("message",{data:a,originalEvent:s,ports:u,sw:l}))})},function(){for(var s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];try{return Promise.resolve(o.apply(this,s))}catch(u){return Promise.reject(u)}}),n.sn=v,n.nn=c,navigator.serviceWorker.addEventListener("message",n.gn),n}e=t,(r=i).prototype=Object.create(e.prototype),r.prototype.constructor=r,r.__proto__=e;var f,d,h=i.prototype;return h.register=function(v){var c=(v===void 0?{}:v).immediate,n=c!==void 0&&c;try{var o=this;return function(s,a){var u=s();return u&&u.then?u.then(a):a(u)}(function(){if(!n&&document.readyState!=="complete")return P(new Promise(function(s){return window.addEventListener("load",s)}))},function(){return o.mn=Boolean(navigator.serviceWorker.controller),o.yn=o.pn(),p(o.bn(),function(s){o.fn=s,o.yn&&(o.hn=o.yn,o.en.resolve(o.yn),o.on.resolve(o.yn),o.yn.addEventListener("statechange",o.ln,{once:!0}));var a=o.fn.waiting;return a&&b(a.scriptURL,o.sn.toString())&&(o.hn=a,Promise.resolve().then(function(){o.dispatchEvent(new g("waiting",{sw:a,wasWaitingBeforeRegister:!0}))}).then(function(){})),o.hn&&(o.rn.resolve(o.hn),o.an.add(o.hn)),o.fn.addEventListener("updatefound",o.cn),navigator.serviceWorker.addEventListener("controllerchange",o.dn),o.fn})})}catch(s){return Promise.reject(s)}},h.update=function(){try{return this.fn?P(this.fn.update()):void 0}catch(v){return Promise.reject(v)}},h.getSW=function(){return this.hn!==void 0?Promise.resolve(this.hn):this.rn.promise},h.messageSW=function(v){try{return p(this.getSW(),function(c){return S(c,v)})}catch(c){return Promise.reject(c)}},h.messageSkipWaiting=function(){this.fn&&this.fn.waiting&&S(this.fn.waiting,j)},h.pn=function(){var v=navigator.serviceWorker.controller;return v&&b(v.scriptURL,this.sn.toString())?v:void 0},h.bn=function(){try{var v=this;return function(c,n){try{var o=c()}catch(s){return n(s)}return o&&o.then?o.then(void 0,n):o}(function(){return p(navigator.serviceWorker.register(v.sn,v.nn),function(c){return v.un=performance.now(),c})},function(c){throw c})}catch(c){return Promise.reject(c)}},f=i,(d=[{key:"active",get:function(){return this.en.promise}},{key:"controlling",get:function(){return this.on.promise}}])&&W(f.prototype,d),i}(function(){function t(){this.Pn=new Map}var r=t.prototype;return r.addEventListener=function(e,i){this.Sn(e).add(i)},r.removeEventListener=function(e,i){this.Sn(e).delete(i)},r.dispatchEvent=function(e){e.target=this;for(var i,f=k(this.Sn(e.type));!(i=f()).done;)(0,i.value)(e)},r.Sn=function(e){return this.Pn.has(e)||this.Pn.set(e,new Set),this.Pn.get(e)},t}());export{x as Workbox,g as WorkboxEvent,S as messageSW};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as f,v as s,x as l,y as d}from"./chunks/runtime-dom.esm-bundler.7f8f570f.js";const p=f({props:{value:String,name:String},setup({name:t,value:e}){return e?()=>s("astro-slot",{name:t,innerHTML:e}):()=>null}}),S=t=>(e,a,o,{client:u})=>{if(delete a.class,!t.hasAttribute("ssr"))return;const i=e.name?`${e.name} Host`:void 0,r={};for(const[n,c]of Object.entries(o))r[n]=()=>s(p,{value:c,name:n==="default"?void 0:n});u==="only"?l({name:i,render:()=>s(e,a,r)}).mount(t,!1):d({name:i,render:()=>s(e,a,r)}).mount(t,!0)};export{S as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as g}from"./chunks/preload-helper.f15ab524.js";function v(d={}){const{immediate:l=!1,onNeedRefresh:u,onOfflineReady:r,onRegistered:t,onRegisteredSW:o,onRegisterError:s}=d;let i,n;const c=async(a=!0)=>{await n};async function f(){if("serviceWorker"in navigator){const{Workbox:a,messageSW:w}=await g(()=>import("./chunks/workbox-window.prod.es5.4b654ae6.js"),[]);i=new a("/sw.js",{scope:"/",type:"classic"}),i.addEventListener("activated",e=>{e.isUpdate?window.location.reload():r?.()}),i.register({immediate:l}).then(e=>{o?o("/sw.js",e):t?.(e)}).catch(e=>{s?.(e)})}}return n=f(),c}v();
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"My Shop","short_name":"MyShop","start_url":"/","display":"standalone","background_color":"#f5f6fa","lang":"en","scope":"/","description":"My PWA Shop","theme_color":"#137c5c","crossorigin":"use-credentials","icons":[{"src":"/img/icon.png","sizes":"192x192","type":"image/png"},{"src":"/img/large-icon.png","sizes":"512x512","type":"image/png"},{"src":"/img/large-icon.png","sizes":"512x512","type":"image/png","purpose":"any maskable"}]}
|
|
@@ -1 +0,0 @@
|
|
|
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({});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
if(!self.define){let e,n={};const s=(s,r)=>(s=new URL(s+".js",r).href,n[s]||new Promise((n=>{if("document"in self){const e=document.createElement("script");e.src=s,e.onload=n,document.head.appendChild(e)}else e=s,importScripts(s),n()})).then((()=>{let e=n[s];if(!e)throw new Error(`Module ${s} didn’t register its module`);return e})));self.define=(r,i)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(n[o])return;let a={};const c=e=>s(e,o),u={module:{uri:o},exports:a,require:c};n[o]=Promise.all(r.map((e=>u[e]||c(e)))).then((e=>(i(...e),a)))}}define(["./workbox-6f0d1f78"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"chunks/LoginDrawer.4d10fa17.js",revision:null},{url:"chunks/LoginForm.dd3df9d8.js",revision:null},{url:"chunks/preload-helper.f15ab524.js",revision:null},{url:"chunks/runtime-dom.esm-bundler.7f8f570f.js",revision:null},{url:"chunks/workbox-window.prod.es5.4b654ae6.js",revision:null},{url:"client.246ab4a4.js",revision:null},{url:"hoisted.71b2f749.js",revision:null},{url:"LoginDrawer.1061c69c.js",revision:null},{url:"page.3aa82516.js",revision:null},{url:"img/icon.png",revision:"791be7ee6538f26bb57bc31243a6e17e"},{url:"img/large-icon.png",revision:"0b35db516cfa7475b1c2f8c081e8d54d"},{url:"manifest.webmanifest",revision:"bed7dac4cf0dcea91307069b819ceec1"}],{ignoreURLParametersMatching:[/.*/]}),e.cleanupOutdatedCaches(),e.registerRoute(/^\/$/,new e.NetworkFirst,"GET"),e.registerRoute(/\/((?!(?:admin|assets|img)(\/|$))[^.]+)(\.(?!js|css|xml|txt|png|jpg|jpeg|webp|avif|svg|gif)[^.]+)*$/,new e.NetworkFirst({cacheName:"pages",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/assets\//,new e.StaleWhileRevalidate({cacheName:"assets",plugins:[]}),"GET"),e.registerRoute(/^\/_image$/,new e.StaleWhileRevalidate({cacheName:"sharp-images",plugins:[new e.ExpirationPlugin({maxEntries:50,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^\/img\/uploads\/.*\.(?:png|jpg|jpeg|webp|avif|svg|gif)$/,new e.StaleWhileRevalidate({cacheName:"cms-images",plugins:[new e.ExpirationPlugin({maxEntries:20,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/ecomplus\.io/,new e.NetworkFirst({cacheName:"store-api",plugins:[new e.ExpirationPlugin({maxEntries:50,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/normal\//,new e.CacheFirst({cacheName:"product-thumbnails",plugins:[new e.ExpirationPlugin({maxEntries:100,maxAgeSeconds:2592e3,purgeOnQuotaError:!0})]}),"GET"),e.registerRoute(/^https:\/\/(((\w+\.)?ecoms\d)|(ecom[\w-]+(\.\w+)*\.digitaloceanspaces))\.com.*\/imgs\/big\//,new e.CacheFirst({cacheName:"product-pictures",plugins:[new e.ExpirationPlugin({maxEntries:10,maxAgeSeconds:604800,purgeOnQuotaError:!0})]}),"GET")}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
define(["exports"],(function(t){"use strict";try{self["workbox:core:6.5.3"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:6.5.3"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class a{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let a=r&&r.handler;const o=t.method;if(!a&&this.i.has(o)&&(a=this.i.get(o)),!a)return;let c;try{c=a.handle({url:s,request:t,event:e,params:i})}catch(t){c=Promise.reject(t)}const h=r&&r.catchHandler;return c instanceof Promise&&(this.o||h)&&(c=c.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),c}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const a=r.match({url:t,sameOrigin:e,request:s,event:n});if(a)return i=a,(Array.isArray(i)&&0===i.length||a.constructor===Object&&0===Object.keys(a).length||"boolean"==typeof a)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let o;const c=()=>(o||(o=new a,o.addFetchListener(),o.addCacheListener()),o);function h(t,e,n){let a;if("string"==typeof t){const s=new URL(t,location.href);a=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)a=new r(t,e,n);else if("function"==typeof t)a=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=t}return c().registerRoute(a),a}try{self["workbox:strategies:6.5.3"]&&_()}catch(t){}const u={cacheWillUpdate:async({response:t})=>200===t.status||0===t.status?t:null},l={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},f=t=>[l.prefix,t,l.suffix].filter((t=>t&&t.length>0)).join("-"),w=t=>t||f(l.precache),d=t=>t||f(l.runtime);function p(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class y{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const m=new Set;function g(t){return"string"==typeof t?new Request(t):t}class R{constructor(t,e){this.h={},Object.assign(this,e),this.event=e.event,this.u=t,this.l=new y,this.p=[],this.m=[...t.plugins],this.g=new Map;for(const t of this.m)this.g.set(t,{});this.event.waitUntil(this.l.promise)}async fetch(t){const{event:e}=this;let n=g(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.u.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=g(t);let s;const{cacheName:n,matchOptions:i}=this.u,r=await this.getCacheKey(e,"read"),a=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,a);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=g(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(a=r.url,new URL(String(a),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var a;const o=await this.R(e);if(!o)return!1;const{cacheName:c,matchOptions:h}=this.u,u=await self.caches.open(c),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=p(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),a=await t.keys(e,r);for(const e of a)if(i===p(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?o.clone():o)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of m)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:c,oldResponse:f,newResponse:o.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.h[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=g(await t({mode:e,request:n,event:this.event,params:this.params}));this.h[s]=n}return this.h[s]}hasCallback(t){for(const e of this.u.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.u.plugins)if("function"==typeof e[t]){const s=this.g.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.p.push(t),t}async doneWaiting(){let t;for(;t=this.p.shift();)await t}destroy(){this.l.resolve(null)}async R(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class v{constructor(t={}){this.cacheName=d(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new R(this,{event:e,request:s,params:n}),r=this.v(i,s,e);return[r,this.q(r,i,s,e)]}async v(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this.D(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async q(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}function b(t){t.then((()=>{}))}function q(){return q=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var s=arguments[e];for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(t[n]=s[n])}return t},q.apply(this,arguments)}let D,U;const x=new WeakMap,I=new WeakMap,L=new WeakMap,E=new WeakMap,C=new WeakMap;let N={get(t,e,s){if(t instanceof IDBTransaction){if("done"===e)return I.get(t);if("objectStoreNames"===e)return t.objectStoreNames||L.get(t);if("store"===e)return s.objectStoreNames[1]?void 0:s.objectStore(s.objectStoreNames[0])}return B(t[e])},set:(t,e,s)=>(t[e]=s,!0),has:(t,e)=>t instanceof IDBTransaction&&("done"===e||"store"===e)||e in t};function O(t){return t!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(U||(U=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(T(this),e),B(x.get(this))}:function(...e){return B(t.apply(T(this),e))}:function(e,...s){const n=t.call(T(this),e,...s);return L.set(n,e.sort?e.sort():[e]),B(n)}}function k(t){return"function"==typeof t?O(t):(t instanceof IDBTransaction&&function(t){if(I.has(t))return;const e=new Promise(((e,s)=>{const n=()=>{t.removeEventListener("complete",i),t.removeEventListener("error",r),t.removeEventListener("abort",r)},i=()=>{e(),n()},r=()=>{s(t.error||new DOMException("AbortError","AbortError")),n()};t.addEventListener("complete",i),t.addEventListener("error",r),t.addEventListener("abort",r)}));I.set(t,e)}(t),e=t,(D||(D=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some((t=>e instanceof t))?new Proxy(t,N):t);var e}function B(t){if(t instanceof IDBRequest)return function(t){const e=new Promise(((e,s)=>{const n=()=>{t.removeEventListener("success",i),t.removeEventListener("error",r)},i=()=>{e(B(t.result)),n()},r=()=>{s(t.error),n()};t.addEventListener("success",i),t.addEventListener("error",r)}));return e.then((e=>{e instanceof IDBCursor&&x.set(e,t)})).catch((()=>{})),C.set(e,t),e}(t);if(E.has(t))return E.get(t);const e=k(t);return e!==t&&(E.set(t,e),C.set(e,t)),e}const T=t=>C.get(t);const M=["get","getKey","getAll","getAllKeys","count"],P=["put","add","delete","clear"],W=new Map;function j(t,e){if(!(t instanceof IDBDatabase)||e in t||"string"!=typeof e)return;if(W.get(e))return W.get(e);const s=e.replace(/FromIndex$/,""),n=e!==s,i=P.includes(s);if(!(s in(n?IDBIndex:IDBObjectStore).prototype)||!i&&!M.includes(s))return;const r=async function(t,...e){const r=this.transaction(t,i?"readwrite":"readonly");let a=r.store;return n&&(a=a.index(e.shift())),(await Promise.all([a[s](...e),i&&r.done]))[0]};return W.set(e,r),r}N=(t=>q({},t,{get:(e,s,n)=>j(e,s)||t.get(e,s,n),has:(e,s)=>!!j(e,s)||t.has(e,s)}))(N);try{self["workbox:expiration:6.5.3"]&&_()}catch(t){}const S="cache-entries",K=t=>{const e=new URL(t,location.href);return e.hash="",e.href};class A{constructor(t){this.U=null,this._=t}I(t){const e=t.createObjectStore(S,{keyPath:"id"});e.createIndex("cacheName","cacheName",{unique:!1}),e.createIndex("timestamp","timestamp",{unique:!1})}L(t){this.I(t),this._&&function(t,{blocked:e}={}){const s=indexedDB.deleteDatabase(t);e&&s.addEventListener("blocked",(t=>e(t.oldVersion,t))),B(s).then((()=>{}))}(this._)}async setTimestamp(t,e){const s={url:t=K(t),timestamp:e,cacheName:this._,id:this.C(t)},n=(await this.getDb()).transaction(S,"readwrite",{durability:"relaxed"});await n.store.put(s),await n.done}async getTimestamp(t){const e=await this.getDb(),s=await e.get(S,this.C(t));return null==s?void 0:s.timestamp}async expireEntries(t,e){const s=await this.getDb();let n=await s.transaction(S).store.index("timestamp").openCursor(null,"prev");const i=[];let r=0;for(;n;){const s=n.value;s.cacheName===this._&&(t&&s.timestamp<t||e&&r>=e?i.push(n.value):r++),n=await n.continue()}const a=[];for(const t of i)await s.delete(S,t.id),a.push(t.url);return a}C(t){return this._+"|"+K(t)}async getDb(){return this.U||(this.U=await function(t,e,{blocked:s,upgrade:n,blocking:i,terminated:r}={}){const a=indexedDB.open(t,e),o=B(a);return n&&a.addEventListener("upgradeneeded",(t=>{n(B(a.result),t.oldVersion,t.newVersion,B(a.transaction),t)})),s&&a.addEventListener("blocked",(t=>s(t.oldVersion,t.newVersion,t))),o.then((t=>{r&&t.addEventListener("close",(()=>r())),i&&t.addEventListener("versionchange",(t=>i(t.oldVersion,t.newVersion,t)))})).catch((()=>{})),o}("workbox-expiration",1,{upgrade:this.L.bind(this)})),this.U}}class F{constructor(t,e={}){this.N=!1,this.O=!1,this.k=e.maxEntries,this.B=e.maxAgeSeconds,this.T=e.matchOptions,this._=t,this.M=new A(t)}async expireEntries(){if(this.N)return void(this.O=!0);this.N=!0;const t=this.B?Date.now()-1e3*this.B:0,e=await this.M.expireEntries(t,this.k),s=await self.caches.open(this._);for(const t of e)await s.delete(t,this.T);this.N=!1,this.O&&(this.O=!1,b(this.expireEntries()))}async updateTimestamp(t){await this.M.setTimestamp(t,Date.now())}async isURLExpired(t){if(this.B){const e=await this.M.getTimestamp(t),s=Date.now()-1e3*this.B;return void 0===e||e<s}return!1}async delete(){this.O=!1,await this.M.expireEntries(1/0)}}function H(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:6.5.3"]&&_()}catch(t){}function $(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class G{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class V{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.P.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.P=t}}let J,Q;async function z(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},a=e?e(r):r,o=function(){if(void 0===J){const t=new Response("");if("body"in t)try{new Response(t.body),J=!0}catch(t){J=!1}J=!1}return J}()?i.body:await i.blob();return new Response(o,a)}class X extends v{constructor(t={}){t.cacheName=w(t.cacheName),super(t),this.W=!1!==t.fallbackToNetwork,this.plugins.push(X.copyRedirectedCacheableResponsesPlugin)}async D(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.j(t,e):await this.S(t,e))}async S(t,e){let n;const i=e.params||{};if(!this.W)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,a=!r||r===s;n=await e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?r||s:void 0})),s&&a&&"no-cors"!==t.mode&&(this.K(),await e.cachePut(t,n.clone()))}return n}async j(t,e){this.K();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}K(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==X.copyRedirectedCacheableResponsesPlugin&&(n===X.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(X.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}X.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},X.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await z(t):t};class Y{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.A=new Map,this.F=new Map,this.H=new Map,this.u=new X({cacheName:w(t),plugins:[...e,new V({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.u}precache(t){this.addToCacheList(t),this.$||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.$=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=$(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.A.has(i)&&this.A.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.A.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.H.has(t)&&this.H.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.H.set(t,n.integrity)}if(this.A.set(i,t),this.F.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return H(t,(async()=>{const e=new G;this.strategy.plugins.push(e);for(const[e,s]of this.A){const n=this.H.get(s),i=this.F.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return H(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.A.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.A}getCachedURLs(){return[...this.A.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.A.get(e.href)}getIntegrityForCacheKey(t){return this.H.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}const Z=()=>(Q||(Q=new Y),Q);class tt extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const a=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield a.href,s&&a.pathname.endsWith("/")){const t=new URL(a.href);t.pathname+=s,yield t.href}if(n){const t=new URL(a.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}t.CacheFirst=class extends v{async D(t,e){let n,i=await e.cacheMatch(t);if(!i)try{i=await e.fetchAndCachePut(t)}catch(t){t instanceof Error&&(n=t)}if(!i)throw new s("no-response",{url:t.url,error:n});return i}},t.ExpirationPlugin=class{constructor(t={}){this.cachedResponseWillBeUsed=async({event:t,request:e,cacheName:s,cachedResponse:n})=>{if(!n)return null;const i=this.G(n),r=this.V(s);b(r.expireEntries());const a=r.updateTimestamp(e.url);if(t)try{t.waitUntil(a)}catch(t){}return i?n:null},this.cacheDidUpdate=async({cacheName:t,request:e})=>{const s=this.V(t);await s.updateTimestamp(e.url),await s.expireEntries()},this.J=t,this.B=t.maxAgeSeconds,this.X=new Map,t.purgeOnQuotaError&&function(t){m.add(t)}((()=>this.deleteCacheAndMetadata()))}V(t){if(t===d())throw new s("expire-custom-caches-only");let e=this.X.get(t);return e||(e=new F(t,this.J),this.X.set(t,e)),e}G(t){if(!this.B)return!0;const e=this.Y(t);if(null===e)return!0;return e>=Date.now()-1e3*this.B}Y(t){if(!t.headers.has("date"))return null;const e=t.headers.get("date"),s=new Date(e).getTime();return isNaN(s)?null:s}async deleteCacheAndMetadata(){for(const[t,e]of this.X)await self.caches.delete(t),await e.delete();this.X=new Map}},t.NetworkFirst=class extends v{constructor(t={}){super(t),this.plugins.some((t=>"cacheWillUpdate"in t))||this.plugins.unshift(u),this.Z=t.networkTimeoutSeconds||0}async D(t,e){const n=[],i=[];let r;if(this.Z){const{id:s,promise:a}=this.tt({request:t,logs:n,handler:e});r=s,i.push(a)}const a=this.et({timeoutId:r,request:t,logs:n,handler:e});i.push(a);const o=await e.waitUntil((async()=>await e.waitUntil(Promise.race(i))||await a)());if(!o)throw new s("no-response",{url:t.url});return o}tt({request:t,logs:e,handler:s}){let n;return{promise:new Promise((e=>{n=setTimeout((async()=>{e(await s.cacheMatch(t))}),1e3*this.Z)})),id:n}}async et({timeoutId:t,request:e,logs:s,handler:n}){let i,r;try{r=await n.fetchAndCachePut(e)}catch(t){t instanceof Error&&(i=t)}return t&&clearTimeout(t),!i&&r||(r=await n.cacheMatch(e)),r}},t.StaleWhileRevalidate=class extends v{constructor(t={}){super(t),this.plugins.some((t=>"cacheWillUpdate"in t))||this.plugins.unshift(u)}async D(t,e){const n=e.fetchAndCachePut(t).catch((()=>{}));e.waitUntil(n);let i,r=await e.cacheMatch(t);if(r);else try{r=await n}catch(t){t instanceof Error&&(i=t)}if(!r)throw new s("no-response",{url:t.url,error:i});return r}},t.cleanupOutdatedCaches=function(){self.addEventListener("activate",(t=>{const e=w();t.waitUntil((async(t,e="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(e)&&s.includes(self.registration.scope)&&s!==t));return await Promise.all(s.map((t=>self.caches.delete(t)))),s})(e).then((t=>{})))}))},t.clientsClaim=function(){self.addEventListener("activate",(()=>self.clients.claim()))},t.precacheAndRoute=function(t,e){!function(t){Z().precache(t)}(t),function(t){const e=Z();h(new tt(e,t))}(e)},t.registerRoute=h}));
|
|
@@ -1,2 +0,0 @@
|
|
|
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);
|
|
@@ -1,2 +0,0 @@
|
|
|
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);
|
|
@@ -1,2 +0,0 @@
|
|
|
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))};
|
|
@@ -1,2 +0,0 @@
|
|
|
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);
|
|
Binary file
|
|
Binary file
|