seroval 0.10.4 → 0.11.0
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/dist/cjs/development/index.cjs +842 -318
- package/dist/cjs/development/index.cjs.map +4 -4
- package/dist/cjs/production/index.cjs +3 -3
- package/dist/esm/development/index.mjs +842 -318
- package/dist/esm/development/index.mjs.map +4 -4
- package/dist/esm/production/index.mjs +3 -3
- package/dist/types/core/compat.d.ts +2 -1
- package/dist/types/core/constants.d.ts +6 -1
- package/dist/types/core/constructors.d.ts +4 -0
- package/dist/types/core/types.d.ts +31 -2
- package/dist/types/core/web-api.d.ts +4 -4
- package/package.json +8 -9
- package/src/core/compat.ts +3 -1
- package/src/core/constants.ts +5 -0
- package/src/core/constructors.ts +49 -0
- package/src/core/cross/async.ts +208 -76
- package/src/core/cross/serialize.ts +61 -0
- package/src/core/cross/stream.ts +203 -79
- package/src/core/cross/sync.ts +126 -61
- package/src/core/tree/async.ts +209 -76
- package/src/core/tree/deserialize.ts +82 -0
- package/src/core/tree/primitives.ts +0 -9
- package/src/core/tree/serialize.ts +62 -0
- package/src/core/tree/sync.ts +126 -61
- package/src/core/types.ts +49 -2
- package/src/core/web-api.ts +21 -9
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";var
|
|
2
|
-
`:return"\\n";case"\r":return"\\r";case"\b":return"\\b";case" ":return"\\t";case"\f":return"\\f";case"<":return"\\x3C";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return}}function
|
|
3
|
-
`).replace(/\\r/g,"\r").replace(/\\b/g,"\b").replace(/\\t/g," ").replace(/\\f/g,"\f").replace(/\\x3C/g,"<").replace(/\\u2028/g,"\u2028").replace(/\\u2029/g,"\u2029")}var{toString:Fn}=Object.prototype,m=class extends Error{constructor(n){super('Unsupported type "'+Fn.call(n)+'"');this.value=n}};function te(e){return{t:2,i:void 0,s:e,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}var H=te(2),W=te(3),G=te(1),$=te(0),Fr=te(4),Lr=te(5),Ur=te(6),Vr=te(7);var oe="__SEROVAL_REFS__",X="_$",ne="$R",Ye="s",Je="f",Ze="P",Qe="Ps",er="Pf",qe="c",rr="S",Ae="Se",_r=`self.${X}=self.${X}||{${Ze}:function(s,f,p){return(p=new Promise(function(a,b){s=a,f=b})).${Ye}=s,p.${Je}=f,p},uP:function(p){delete p.${Ye};delete p.${Je}},${Qe}:function(p,d){p.${Ye}(d),p.value=d,this.uP(p)},${er}:function(p,d){p.${Je}(d),this.uP(p)},uS:function(s){delete s.${qe}},${Ae}:function(s,t,d,c){switch(c=s.${qe},t){case 0:return c.enqueue(d);case 1:return(this.uS(s),c.error(d));case 2:return(this.uS(s),c.close())}},${rr}:function(s,c){return(s=new ReadableStream({start:function(x){c=x}})).${qe}=c,s}}`;function xr(e){return e==null?`self.${ne}=self.${ne}||[];`:`(self.${ne}=self.${ne}||{})["${p(e)}"]=[]`}var nr=new Map,ue=new Map;function Mr(e,r){return nr.set(r,e),ue.set(e,r),r}function I(e){return nr.has(e)}function Ln(e){return ue.has(e)}function Kr(e){return S(I(e),new Error("Missing reference id")),nr.get(e)}function Hr(e){return S(Ln(e),new Error("Missing reference for id:"+e)),ue.get(e)}typeof globalThis!==void 0?Object.defineProperty(globalThis,oe,{value:ue,configurable:!0,writable:!1,enumerable:!1}):typeof window!==void 0?Object.defineProperty(window,oe,{value:ue,configurable:!0,writable:!1,enumerable:!1}):typeof self!==void 0?Object.defineProperty(self,oe,{value:ue,configurable:!0,writable:!1,enumerable:!1}):typeof global!==void 0&&Object.defineProperty(global,oe,{value:ue,configurable:!0,writable:!1,enumerable:!1});function Y(e){switch(e){case 1/0:return Lr;case-1/0:return Ur;default:return e!==e?Vr:Object.is(e,-0)?Fr:{t:0,i:void 0,s:e,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}}function J(e){return{t:1,i:void 0,s:p(e),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function q(e,r){return S(e.features&8,new m(r)),{t:3,i:void 0,s:""+r,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function z(e){return{t:4,i:e,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function Z(e,r){return{t:5,i:e,s:r.toISOString(),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,f:void 0,a:void 0,b:void 0,o:void 0}}function Q(e,r){return{t:6,i:e,s:void 0,l:void 0,c:r.source,m:r.flags,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function V(e,r){let n=new Uint8Array(r),o=n.length,t=new Array(o);for(let a=0;a<o;a++)t[a]=n[a];return{t:21,i:e,s:t,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function Be(e,r,n){return S(e.features&1024,new m(n)),S(n in $e,new Error("Only well-known symbols are supported.")),{t:17,i:r,s:$e[n],l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function T(e,r){return{t:20,i:e,s:p(Kr(r)),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function fe(e,r){let n=K(e,r);return e.reference.marked.has(n)?z(n):V(n,r)}function Te(e,r,n){return S(e.features&2048,new m(n)),{t:15,i:r,s:void 0,l:n.length,c:n.constructor.name,m:void 0,p:void 0,e:void 0,a:void 0,f:fe(e,n.buffer),b:n.byteOffset,o:void 0}}var Wr=4104;function De(e,r,n){return S((e.features&Wr)===Wr,new m(n)),{t:16,i:r,s:void 0,l:n.length,c:n.constructor.name,m:void 0,p:void 0,e:void 0,a:void 0,f:fe(e,n.buffer),b:n.byteOffset,o:void 0}}function je(e,r,n){return{t:22,i:r,s:void 0,l:n.byteLength,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:fe(e,n.buffer),b:n.byteOffset,o:void 0}}function Fe(e,r){let n=K(e,r);return e.reference.marked.has(n)?z(n):I(r)?T(n,r):Be(e,n,r)}function Le(e,r){S(I(r),new Error("Cannot serialize function without reference ID."));let n=K(e,r);return e.reference.marked.has(n)?z(n):T(n,r)}function M(e){return e instanceof EvalError?"EvalError":e instanceof RangeError?"RangeError":e instanceof ReferenceError?"ReferenceError":e instanceof SyntaxError?"SyntaxError":e instanceof TypeError?"TypeError":e instanceof URIError?"URIError":"Error"}function Gr(e){switch(e){case"Error":return Error;case"EvalError":return EvalError;case"RangeError":return RangeError;case"ReferenceError":return ReferenceError;case"SyntaxError":return SyntaxError;case"TypeError":return TypeError;case"URIError":return URIError;default:throw new Error(`Unknown Error constructor "${e}"`)}}function L(e,r){let n,o=M(r);r.name!==o?n={name:r.name}:r.constructor.name!==o&&(n={name:r.constructor.name});let t=Object.getOwnPropertyNames(r);for(let a of t)a!=="name"&&a!=="message"&&(a==="stack"?e.features&16&&(n=n||{},n[a]=r[a]):(n=n||{},n[a]=r[a]));return n}function y(e){if(!e||typeof e!="object"||Array.isArray(e))return!1;switch(e.constructor){case Map:case Set:case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:case BigInt64Array:case BigUint64Array:return!1;default:break}return Symbol.iterator in e}function $r(e){switch(e){case"Int8Array":return Int8Array;case"Int16Array":return Int16Array;case"Int32Array":return Int32Array;case"Uint8Array":return Uint8Array;case"Uint16Array":return Uint16Array;case"Uint32Array":return Uint32Array;case"Uint8ClampedArray":return Uint8ClampedArray;case"Float32Array":return Float32Array;case"Float64Array":return Float64Array;case"BigInt64Array":return BigInt64Array;case"BigUint64Array":return BigUint64Array;default:throw new Error(`Unknown TypedArray "${e}"`)}}var Un=/^[$A-Z_][0-9A-Z_$]*$/i;function ce(e){let r=e[0];return(r==="$"||r==="_"||r>="A"&&r<="Z"||r>="a"&&r<="z")&&Un.test(e)}function U(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:Object.isExtensible(e)?0:1}async function Xr(e,r,n){return S(e.features&8192,new m(n)),{t:23,i:r,s:void 0,l:void 0,c:p(n.type),m:void 0,p:void 0,e:void 0,f:fe(e,await n.arrayBuffer()),a:void 0,b:void 0,o:void 0}}async function Yr(e,r,n){return S(e.features&8192,new m(n)),{t:24,i:r,s:void 0,l:void 0,c:p(n.type),m:p(n.name),p:void 0,e:void 0,f:fe(e,await n.arrayBuffer()),a:void 0,b:n.lastModified,o:void 0}}function ee(e,r,n){return S(e.features&8192,new m(n)),{t:18,i:r,s:p(n.href),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,f:void 0,a:void 0,b:void 0,o:void 0}}function re(e,r,n){return S(e.features&8192,new m(n)),{t:19,i:r,s:p(n.toString()),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,f:void 0,a:void 0,b:void 0,o:void 0}}async function we(e){try{return[1,await e]}catch(r){return[0,r]}}async function Vn(e,r){let n=r.length,o=new Array(n),t=new Array(n),a;for(let s=0;s<n;s++)s in r&&(a=r[s],y(a)?t[s]=a:o[s]=await O(e,a));for(let s=0;s<n;s++)s in t&&(o[s]=await O(e,t[s]));return o}async function Zr(e,r,n){return{t:9,i:r,s:void 0,l:n.length,c:void 0,m:void 0,p:void 0,e:void 0,a:await Vn(e,n),f:void 0,b:void 0,o:U(n)}}async function _n(e,r,n){S(e.features&32,new m(n));let o=n.size,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0;for(let[l,c]of n.entries())y(l)||y(c)?(s[i]=l,f[i]=c,i++):(t[d]=await O(e,l),a[d]=await O(e,c),d++);for(let l=0;l<i;l++)t[d+l]=await O(e,s[l]),a[d+l]=await O(e,f[l]);return{t:8,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:{k:t,v:a,s:o},a:void 0,f:void 0,b:void 0,o:void 0}}async function xn(e,r,n){S(e.features&512,new m(n));let o=n.size,t=new Array(o),a=new Array(o),s=0,f=0;for(let i of n.keys())y(i)?a[s++]=i:t[f++]=await O(e,i);for(let i=0;i<s;i++)t[f+i]=await O(e,a[i]);return{t:7,i:r,s:void 0,l:o,c:void 0,m:void 0,p:void 0,e:void 0,a:t,f:void 0,b:void 0,o:void 0}}async function tr(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0,l,c;for(let u of n)l=r[u],c=p(u),y(l)?(s[i]=c,f[i]=l,i++):(t[d]=c,a[d]=await O(e,l),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=await O(e,f[u]);if(e.features&1024&&Symbol.iterator in r){t[o]=0;let u=Array.from(r);a[o]=await Zr(e,K(e,u),u),o++}return{k:t,v:a,s:o}}async function Qr(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0,l,c;for(let u of n)l=r[u],c=p(u),y(l)?(s[i]=c,f[i]=l,i++):(t[d]=c,a[d]=await O(e,l),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=await O(e,f[u]);return{k:t,v:a,s:o}}async function Jr(e,r,n){S(e.features&256,new m(n));let[o,t]=await we(n);return{t:12,i:r,s:o,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:await O(e,t),b:void 0,o:void 0}}async function or(e,r,n,o){return{t:o?11:10,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:await tr(e,n),e:void 0,a:void 0,f:void 0,b:void 0,o:U(n)}}async function qr(e,r,n){let o=L(e,n),t=o?await tr(e,o):void 0;return{t:14,i:r,s:void 0,l:void 0,c:void 0,m:p(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}async function Ve(e,r,n){let o=L(e,n),t=o?await tr(e,o):void 0;return{t:13,i:r,s:void 0,l:void 0,c:M(n),m:p(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}async function Mn(e,r,n){S(e.features&8192,new m(n));let o={};return n.forEach((t,a)=>{o[a]=t}),{t:25,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:await Qr(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}async function Kn(e,r,n){S(e.features&8192,new m(n));let o={};return n.forEach((t,a)=>{o[a]=t}),{t:26,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:await Qr(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}async function Hn(e,r,n){return{t:27,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:await O(e,n.valueOf()),b:void 0,o:void 0}}async function Wn(e,r){if(!r)return $;let n=K(e,r);if(e.reference.marked.has(n))return z(n);if(I(r))return T(n,r);if(Array.isArray(r))return Zr(e,n,r);switch(r.constructor){case Number:case Boolean:case String:case BigInt:case Function:case Symbol:return Hn(e,n,r);case Date:return Z(n,r);case RegExp:return Q(n,r);case Promise:return Jr(e,n,r);case ArrayBuffer:return V(n,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return Te(e,n,r);case BigInt64Array:case BigUint64Array:return De(e,n,r);case DataView:return je(e,n,r);case Map:return _n(e,n,r);case Set:return xn(e,n,r);case Object:return or(e,n,r,!1);case void 0:return or(e,n,r,!0);case AggregateError:return e.features&1?qr(e,n,r):Ve(e,n,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return Ve(e,n,r);case URL:return ee(e,n,r);case URLSearchParams:return re(e,n,r);case Blob:return Xr(e,n,r);case File:return Yr(e,n,r);case Headers:return Mn(e,n,r);case FormData:return Kn(e,n,r);default:break}if(r instanceof AggregateError)return e.features&1?qr(e,n,r):Ve(e,n,r);if(r instanceof Error)return Ve(e,n,r);if(r instanceof Promise)return Jr(e,n,r);if(Symbol.iterator in r)return or(e,n,r,!!r.constructor);throw new m(r)}async function O(e,r){switch(typeof r){case"boolean":return r?H:W;case"undefined":return G;case"string":return J(r);case"number":return Y(r);case"bigint":return q(e,r);case"object":return Wn(e,r);case"symbol":return Fe(e,r);case"function":return Le(e,r);default:throw new m(r)}}function en(e,r){switch(r){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}function k(e,r,n){return e.refs.has(r)&&e.values.set(r,n),n}function Gn(e,r){let n=r.l,o=k(e,r.i,new Array(n)),t;for(let a=0;a<n;a++)t=r.a[a],t&&(o[a]=D(e,t));return en(o,r.o),o}function rn(e,r,n){let o=r.s;if(o){let t,a,s=r.k,f=r.v;for(let i=0;i<o;i++)switch(t=s[i],a=D(e,f[i]),t){case 0:{let d=a;n[Symbol.iterator]=()=>d.values()}break;default:n[_(t)]=a;break}}return n}function $n(e,r){let n=k(e,r.i,r.t===10?{}:Object.create(null));return rn(e,r.p,n),en(n,r.o),n}function Xn(e,r){let n=k(e,r.i,new Set),o=r.a;for(let t=0,a=r.l;t<a;t++)n.add(D(e,o[t]));return n}function Yn(e,r){let n=k(e,r.i,new Map),o=r.e.k,t=r.e.v;for(let a=0,s=r.e.s;a<s;a++)n.set(D(e,o[a]),D(e,t[a]));return n}function nn(e,r,n){if(r.p){let o=rn(e,r.p,{});Object.assign(n,o)}return n}function Jn(e,r){let n=k(e,r.i,new AggregateError([],_(r.m)));return nn(e,r,n)}function qn(e,r){let n=Gr(r.c),o=k(e,r.i,new n(_(r.m)));return nn(e,r,o)}function Zn(){let e,r;return{resolve(n){e(n)},reject(n){r(n)},promise:new Promise((n,o)=>{e=n,r=o})}}async function Qn(e,r){let n=Zn(),o=k(e,r.i,n.promise),t=D(e,r.f);return r.s?n.resolve(t):n.reject(t),o}function eo(e,r){let n=new Uint8Array(r.s);return k(e,r.i,n.buffer)}function ro(e,r){let n=$r(r.c),o=D(e,r.f);return k(e,r.i,new n(o,r.b,r.l))}function no(e,r){return k(e,r.i,new Date(r.s))}function oo(e,r){return k(e,r.i,new RegExp(r.c,r.m))}function to(e,r){return k(e,r.i,new URL(_(r.s)))}function ao(e,r){return k(e,r.i,new URLSearchParams(_(r.s)))}function so(e,r){return k(e,r.i,Hr(_(r.s)))}function io(e,r){let n=D(e,r.f);return k(e,r.i,new DataView(n,r.b,r.l))}function uo(e,r){let n=D(e,r.f);return k(e,r.i,new Blob([n],{type:_(r.c)}))}function lo(e,r){let n=D(e,r.f);return k(e,r.i,new File([n],_(r.m),{type:_(r.c),lastModified:r.b}))}function fo(e,r){let n=k(e,r.i,new Headers),o=r.e.k,t=r.e.v;for(let a=0,s=r.e.s;a<s;a++)n.set(_(o[a]),D(e,t[a]));return n}function co(e,r){let n=k(e,r.i,new FormData),o=r.e.k,t=r.e.v;for(let a=0,s=r.e.s;a<s;a++)n.set(_(o[a]),D(e,t[a]));return n}function mo(e,r){return k(e,r.i,Object(D(e,r.f)))}function D(e,r){switch(r.t){case 2:return Ir(r);case 0:return r.s;case 1:return _(r.s);case 3:return BigInt(r.s);case 4:return e.values.get(r.i);case 9:return Gn(e,r);case 10:case 11:return $n(e,r);case 5:return no(e,r);case 6:return oo(e,r);case 7:return Xn(e,r);case 8:return Yn(e,r);case 21:return eo(e,r);case 16:case 15:return ro(e,r);case 22:return io(e,r);case 14:return Jn(e,r);case 13:return qn(e,r);case 12:return Qn(e,r);case 17:return Or[r.s];case 18:return to(e,r);case 19:return ao(e,r);case 20:return so(e,r);case 23:return uo(e,r);case 24:return lo(e,r);case 25:return fo(e,r);case 26:return co(e,r);case 27:return mo(e,r);default:throw new Error("invariant")}}function _e(e){switch(e.t){case"index":return e.s+"="+e.v;case"set":return e.s+".set("+e.k+","+e.v+")";case"add":return e.s+".add("+e.v+")";case"append":return e.s+".append("+e.k+","+e.v+")";default:return""}}var So={[3]:"Object.freeze",[2]:"Object.seal",[1]:"Object.preventExtensions",[0]:void 0};function po(e){let r=[],n=e[0],o=n,t;for(let a=1,s=e.length;a<s;a++){if(t=e[a],t.t===o.t)switch(t.t){case"index":t.v===o.v?n={t:"index",s:t.s,k:void 0,v:_e(n)}:(r.push(n),n=t);break;case"set":t.s===o.s?n={t:"set",s:_e(n),k:t.k,v:t.v}:(r.push(n),n=t);break;case"add":t.s===o.s?n={t:"add",s:_e(n),k:void 0,v:t.v}:(r.push(n),n=t);break;case"append":r.push(n),n=t;break;default:break}else r.push(n),n=t;o=t}return r.push(n),r}function ae(e){if(e.length){let r="",n=po(e);for(let o=0,t=n.length;o<t;o++)r+=_e(n[o])+",";return r}}function xe(e){let r="";for(let n=0,o=e.length;n<o;n++){let t=e[n];r+=So[t.type]+"("+t.value+"),"}return r}function ir(e,r,n){r!==0&&(x(e,n),e.flags.push({type:r,value:E(e,n)}))}function on(e){let r=ae(e.assignments),n=xe(e.flags);return r?n?r+n:r:n}function tn(e,r,n){e.assignments.push({t:"index",s:r,k:void 0,v:n})}function go(e,r,n){e.assignments.push({t:"add",s:E(e,r),k:void 0,v:n})}function ar(e,r,n,o){e.assignments.push({t:"set",s:E(e,r),k:n,v:o})}function yo(e,r,n,o){e.assignments.push({t:"append",s:E(e,r),k:n,v:o})}function Ce(e,r,n,o){tn(e,E(e,r)+"["+n+"]",o)}function sr(e,r,n,o){x(e,r),tn(e,E(e,r)+"."+n,o)}function C(e,r,n){return e.reference.marked.has(r)?E(e,r)+"="+n:n}function se(e,r){return r.t===4&&e.stack.includes(r.i)}function No(e,r){let n=r.i;e.stack.push(n);let o="",t,a=!1,s=r.a;for(let f=0,i=r.l;f<i;f++)f!==0&&(o+=","),t=s[f],t?se(e,t)?(x(e,n),Ce(e,n,f,E(e,t.i)),a=!0):(o+=w(e,t),a=!1):a=!0;return e.stack.pop(),ir(e,r.o,r.i),C(e,n,"["+o+(a?",]":"]"))}function an(e){return e.features&2?".values()":"[Symbol.iterator]()"}function vo(e,r){let n=e.stack;e.stack=[];let o=w(e,r)+an(e);return e.stack=n,e.features&4?o="[Symbol.iterator]:()=>"+o:e.features&64?o="[Symbol.iterator](){return "+o+"}":o="[Symbol.iterator]:function(){return "+o+"}",o}function dr(e,r,n){let o=n.s;if(o===0)return"{}";let t="";e.stack.push(r);let a,s,f,i,d,l=!1,c=n.k,u=n.v;for(let v=0;v<o;v++)switch(a=c[v],s=u[v],a){case 0:t+=(l?",":"")+vo(e,s),l=!0;break;default:f=Number(a),i=f>=0||ce(a),se(e,s)?(d=E(e,s.i),x(e,r),i&&Number.isNaN(f)?sr(e,r,a,d):Ce(e,r,i?a:'"'+a+'"',d)):(t+=(l?",":"")+(i?a:'"'+a+'"')+":"+w(e,s),l=!0);break}return e.stack.pop(),"{"+t+"}"}function bo(e,r,n,o){let t=dr(e,n,r);return t!=="{}"?"Object.assign("+o+","+t+")":o}function Ao(e,r,n){e.stack.push(r);let o=[],t,a,s,f=n.k,i=n.v;for(let d=0,l=n.s;d<l;d++)switch(t=f[d],a=i[d],t){case 0:{let c=e.stack;e.stack=[];let u=w(e,a)+an(e);e.stack=c,s=e.assignments,e.assignments=o,Ce(e,r,"Symbol.iterator",e.features&4?"()=>"+u:"function(){return "+u+"}"),e.assignments=s}break;default:{let c=w(e,a),u=Number(t),v=u>=0||ce(t);se(e,a)?v&&Number.isNaN(u)?sr(e,r,t,c):Ce(e,r,v?t:'"'+t+'"',c):(s=e.assignments,e.assignments=o,v&&Number.isNaN(u)?sr(e,r,t,c):Ce(e,r,v?t:'"'+t+'"',c),e.assignments=s)}}return e.stack.pop(),ae(o)}function ur(e,r,n,o){if(n)if(e.features&128)o=bo(e,n,r,o);else{x(e,r);let t=Ao(e,r,n);if(t)return"("+C(e,r,o)+","+t+E(e,r)+")"}return C(e,r,o)}var wo="Object.create(null)";function Co(e,r){return ir(e,r.o,r.i),ur(e,r.i,r.p,wo)}function Eo(e,r){return ir(e,r.o,r.i),C(e,r.i,dr(e,r.i,r.p))}function ko(e,r){let n="new Set",o=r.l,t=r.i;if(o){let a="",s,f=!1,i=r.a;e.stack.push(t);for(let d=0;d<o;d++)s=i[d],se(e,s)?(x(e,t),go(e,t,E(e,s.i))):(a+=(f?",":"")+w(e,s),f=!0);e.stack.pop(),a&&(n+="(["+a+"])")}return C(e,t,n)}function Ro(e,r){let n="new Map",o=r.e.s,t=r.i;if(o){let a="",s,f,i,d,l,c=!1,u=r.e.k,v=r.e.v;e.stack.push(t);for(let g=0;g<o;g++)s=u[g],f=v[g],se(e,s)?(i=E(e,t),x(e,t),se(e,f)?(d=E(e,f.i),ar(e,t,i,d)):(l=e.stack,e.stack=[],ar(e,t,i,w(e,f)),e.stack=l)):se(e,f)?(d=E(e,f.i),x(e,t),l=e.stack,e.stack=[],ar(e,t,w(e,s),d),e.stack=l):(a+=(c?",[":"[")+w(e,s)+","+w(e,f)+"]",c=!0);e.stack.pop(),a&&(n+="(["+a+"])")}return C(e,t,n)}function Po(e,r){let n=r.i;e.stack.push(n);let o='new AggregateError([],"'+r.m+'")';return e.stack.pop(),ur(e,n,r.p,o)}function zo(e,r){return ur(e,r.i,r.p,"new "+r.c+'("'+r.m+'")')}var Oo="Promise.resolve",Io="Promise.reject";function ho(e,r){let n,o=r.f,t=r.i,a=r.s?Oo:Io;if(se(e,o)){let s=E(e,o.i);e.features&4?r.s?n=a+"().then(()=>"+s+")":n=a+"().catch(()=>{throw "+s+"})":r.s?n=a+"().then(function(){return "+s+"})":n=a+"().catch(function(){throw "+s+"})"}else{e.stack.push(t);let s=w(e,o);e.stack.pop(),n=a+"("+s+")"}return C(e,t,n)}function Bo(e,r){let n="new Uint8Array(",o=r.s,t=o.length;if(t){n+="[";for(let a=0;a<t;a++)n+=(a>0?",":"")+o[a];n+="]"}return C(e,r.i,n+").buffer")}function To(e,r){return C(e,r.i,"new "+r.c+"("+w(e,r.f)+","+r.b+","+r.l+")")}function Do(e,r){return C(e,r.i,'new Date("'+r.s+'")')}function jo(e,r){return C(e,r.i,"/"+r.c+"/"+r.m)}function Fo(e,r){return C(e,r.i,'new URL("'+r.s+'")')}function Lo(e,r){return C(e,r.i,r.s?'new URLSearchParams("'+r.s+'")':"new URLSearchParams")}function Uo(e,r){return C(e,r.i,oe+'.get("'+r.s+'")')}function Vo(e,r){return C(e,r.i,"new DataView("+w(e,r.f)+","+r.b+","+r.l+")")}function _o(e,r){return C(e,r.i,"new Blob(["+w(e,r.f)+'],{type:"'+r.c+'"})')}function xo(e,r){return C(e,r.i,"new File(["+w(e,r.f)+'],"'+r.m+'",{type:"'+r.c+'",lastModified:'+r.b+"})")}function Mo(e,r){return C(e,r.i,"new Headers("+dr(e,r.i,r.e)+")")}function Ko(e,r){let n,o,t=r.e.k,a=r.e.v,s=r.i,f=[],i;e.stack.push(s);for(let d=0,l=r.e.s;d<l;d++)o=t[d],n=w(e,a[d]),i=e.assignments,e.assignments=f,yo(e,s,'"'+o+'"',n),e.assignments=i;return e.stack.pop(),ae(f)}function Ho(e,r){let n=r.e.s,o=r.i;n&&x(e,o);let t=C(e,o,"new FormData()");if(n){let a=Ko(e,r);return"("+t+","+(a==null?"":a)+E(e,o)+")"}return t}function Wo(e,r){return C(e,r.i,"Object("+w(e,r.f)+")")}function Go(e,r){return C(e,r.i,ze[r.s])}function w(e,r){switch(r.t){case 0:return""+r.s;case 1:return'"'+r.s+'"';case 2:return Oe(r);case 3:return r.s+"n";case 4:return E(e,r.i);case 9:return No(e,r);case 10:return Eo(e,r);case 11:return Co(e,r);case 5:return Do(e,r);case 6:return jo(e,r);case 7:return ko(e,r);case 8:return Ro(e,r);case 21:return Bo(e,r);case 16:case 15:return To(e,r);case 22:return Vo(e,r);case 14:return Po(e,r);case 13:return zo(e,r);case 12:return ho(e,r);case 17:return Go(e,r);case 18:return Fo(e,r);case 19:return Lo(e,r);case 20:return Uo(e,r);case 23:return _o(e,r);case 24:return xo(e,r);case 25:return Mo(e,r);case 26:return Ho(e,r);case 27:return Wo(e,r);default:throw new Error("invariant")}}function $o(e,r){let n=r.length,o=new Array(n),t=new Array(n),a;for(let s=0;s<n;s++)s in r&&(a=r[s],y(a)?t[s]=a:o[s]=h(e,a));for(let s=0;s<n;s++)s in t&&(o[s]=h(e,t[s]));return o}function dn(e,r,n){return{t:9,i:r,s:void 0,l:n.length,c:void 0,m:void 0,p:void 0,e:void 0,a:$o(e,n),f:void 0,b:void 0,o:U(n)}}function Xo(e,r,n){S(e.features&32,new m(n));let o=n.size,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0;for(let[l,c]of n.entries())y(l)||y(c)?(s[i]=l,f[i]=c,i++):(t[d]=h(e,l),a[d]=h(e,c),d++);for(let l=0;l<i;l++)t[d+l]=h(e,s[l]),a[d+l]=h(e,f[l]);return{t:8,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:{k:t,v:a,s:o},a:void 0,f:void 0,b:void 0,o:void 0}}function Yo(e,r,n){S(e.features&512,new m(n));let o=n.size,t=new Array(o),a=new Array(o),s=0,f=0;for(let i of n.keys())y(i)?a[s++]=i:t[f++]=h(e,i);for(let i=0;i<s;i++)t[f+i]=h(e,a[i]);return{t:7,i:r,s:void 0,l:o,c:void 0,m:void 0,p:void 0,e:void 0,a:t,f:void 0,b:void 0,o:void 0}}function fr(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0,l,c;for(let u of n)l=r[u],c=p(u),y(l)?(s[i]=c,f[i]=l,i++):(t[d]=c,a[d]=h(e,l),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=h(e,f[u]);if(e.features&1024&&Symbol.iterator in r){t[o]=0;let u=Array.from(r),v=K(e,u);a[o]=dn(e,v,u),o++}return{k:t,v:a,s:o}}function un(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0,l,c;for(let u of n)l=r[u],c=p(u),y(l)?(s[i]=c,f[i]=l,i++):(t[d]=c,a[d]=h(e,l),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=h(e,f[u]);return{k:t,v:a,s:o}}function lr(e,r,n,o){return{t:o?11:10,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:fr(e,n),e:void 0,a:void 0,f:void 0,b:void 0,o:U(n)}}function sn(e,r,n){let o=L(e,n),t=o?fr(e,o):void 0;return{t:14,i:r,s:void 0,l:void 0,c:void 0,m:p(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function Me(e,r,n){let o=L(e,n),t=o?fr(e,o):void 0;return{t:13,i:r,s:void 0,l:void 0,c:M(n),m:p(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function Jo(e,r,n){S(e.features&8192,new m(n));let o={};return n.forEach((t,a)=>{o[a]=t}),{t:25,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:un(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}function qo(e,r,n){S(e.features&8192,new m(n));let o={};return n.forEach((t,a)=>{o[a]=t}),{t:26,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:un(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}function Zo(e,r,n){return{t:27,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:h(e,n.valueOf()),b:void 0,o:void 0}}function Qo(e,r){if(!r)return $;let n=K(e,r);if(e.reference.marked.has(n))return z(n);if(I(r))return T(n,r);if(Array.isArray(r))return dn(e,n,r);switch(r.constructor){case Number:case Boolean:case String:case BigInt:case Function:case Symbol:return Zo(e,n,r);case Date:return Z(n,r);case RegExp:return Q(n,r);case ArrayBuffer:return V(n,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return Te(e,n,r);case BigInt64Array:case BigUint64Array:return De(e,n,r);case DataView:return je(e,n,r);case Map:return Xo(e,n,r);case Set:return Yo(e,n,r);case Object:return lr(e,n,r,!1);case void 0:return lr(e,n,r,!0);case AggregateError:return e.features&1?sn(e,n,r):Me(e,n,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return Me(e,n,r);case URL:return ee(e,n,r);case URLSearchParams:return re(e,n,r);case Headers:return Jo(e,n,r);case FormData:return qo(e,n,r);default:break}if(r instanceof AggregateError)return e.features&1?sn(e,n,r):Me(e,n,r);if(r instanceof Error)return Me(e,n,r);if(Symbol.iterator in r)return lr(e,n,r,!!r.constructor);throw new m(r)}function h(e,r){switch(typeof r){case"boolean":return r?H:W;case"undefined":return G;case"string":return J(r);case"number":return Y(r);case"bigint":return q(e,r);case"object":return Qo(e,r);case"symbol":return Fe(e,r);case"function":return Le(e,r);default:throw new m(r)}}function cr(e,r,n,o){if(r!=null&&e.vars.length){let t=on(e),a=o;if(t){let f=E(e,r);a=o+","+t+f,o.startsWith(f+"=")||(a=f+"="+a)}let s=e.vars.length>1?e.vars.join(","):e.vars[0];return e.features&4?(s=e.vars.length>1||e.vars.length===0?"("+s+")":s,"("+s+"=>("+a+"))()"):"(function("+s+"){return "+a+"})()"}return n?"("+o+")":o}function mr(e,r){let n=be(r),o=h(n,e),t=he({markedRefs:n.reference.marked,features:n.features}),a=w(t,o);return cr(t,o.i,o.t===10,a)}async function et(e,r){let n=be(r),o=await O(n,e),t=he({markedRefs:n.reference.marked,features:n.features}),a=w(t,o);return cr(t,o.i,o.t===10,a)}function rt(e){return(0,eval)(e)}function nt(e,r){let n=be(r);return{t:h(n,e),f:n.features,m:Array.from(n.reference.marked)}}async function ot(e,r){let n=be(r);return{t:await O(n,e),f:n.features,m:Array.from(n.reference.marked)}}function tt(e){let r=he({features:e.f,markedRefs:e.m}),n=w(r,e.t);return cr(r,e.t.i,e.t.i===10,n)}function at(e){let r=jr({markedRefs:e.m});return D(r,e.t)}function Sr(e={}){return{scopeId:e.scopeId,refs:e.refs||new Map,features:16383^(e.disabledFeatures||0)}}function me(e,r){let n=e.refs.get(r);if(n==null){let o=e.refs.size;return e.refs.set(r,o),o}return n}function ln(e){return{alive:!0,pending:0,refs:e.refs||new Map,features:16383^(e.disabledFeatures||0),onParse:e.onParse,onDone(){e.onDone&&e.onDone()},scopeId:e.scopeId}}function pr(e){e.pending++}function Ee(e){--e.pending<=0&&e.onDone()}function Ke(e){return{stack:[],assignments:[],features:e.features,flags:[]}}function Se(e,r){let n=e.refs.get(r);if(n!=null)return z(n);let o=e.refs.size;return e.refs.set(r,o),V(o,r)}function pe(e,r,n){return S(e.features&2048,new m(n)),{t:15,i:r,s:void 0,l:n.length,c:n.constructor.name,m:void 0,p:void 0,e:void 0,a:void 0,f:Se(e,n.buffer),b:n.byteOffset,o:void 0}}var fn=4104;function ge(e,r,n){return S((e.features&fn)===fn,new m(n)),{t:16,i:r,s:void 0,l:n.length,c:n.constructor.name,m:void 0,p:void 0,e:void 0,a:void 0,f:Se(e,n.buffer),b:n.byteOffset,o:void 0}}function ye(e,r,n){return{t:22,i:r,s:void 0,l:n.byteLength,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:Se(e,n.buffer),b:n.byteOffset,o:void 0}}function Ne(e,r){let n=e.refs.get(r);if(n!=null)return z(n);let o=e.refs.size;return e.refs.set(r,o),I(r)?T(o,r):Be(e,o,r)}function ve(e,r){S(I(r),new Error("Cannot serialize function without reference ID."));let n=e.refs.get(r);if(n!=null)return z(n);let o=e.refs.size;return e.refs.set(r,o),T(o,r)}async function cn(e,r,n){return S(e.features&8192,new m(n)),{t:23,i:r,s:void 0,l:void 0,c:p(n.type),m:void 0,p:void 0,e:void 0,f:Se(e,await n.arrayBuffer()),a:void 0,b:void 0,o:void 0}}async function mn(e,r,n){return S(e.features&8192,new m(n)),{t:24,i:r,s:void 0,l:void 0,c:p(n.type),m:p(n.name),p:void 0,e:void 0,f:Se(e,await n.arrayBuffer()),a:void 0,b:n.lastModified,o:void 0}}async function st(e,r){let n=r.length,o=new Array(n),t=new Array(n),a;for(let s=0;s<n;s++)s in r&&(a=r[s],y(a)?t[s]=a:o[s]=await B(e,a));for(let s=0;s<n;s++)s in t&&(o[s]=await B(e,t[s]));return o}async function gn(e,r,n){return{t:9,i:r,s:void 0,l:n.length,c:void 0,m:void 0,p:void 0,e:void 0,a:await st(e,n),f:void 0,b:void 0,o:U(n)}}async function it(e,r,n){S(e.features&32,new m(n));let o=n.size,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0;for(let[l,c]of n.entries())y(l)||y(c)?(s[i]=l,f[i]=c,i++):(t[d]=await B(e,l),a[d]=await B(e,c),d++);for(let l=0;l<i;l++)t[d+l]=await B(e,s[l]),a[d+l]=await B(e,f[l]);return{t:8,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:{k:t,v:a,s:o},a:void 0,f:void 0,b:void 0,o:void 0}}async function dt(e,r,n){S(e.features&512,new m(n));let o=n.size,t=new Array(o),a=new Array(o),s=0,f=0;for(let i of n.keys())y(i)?a[s++]=i:t[f++]=await B(e,i);for(let i=0;i<s;i++)t[f+i]=await B(e,a[i]);return{t:7,i:r,s:void 0,l:o,c:void 0,m:void 0,p:void 0,e:void 0,a:t,f:void 0,b:void 0,o:void 0}}async function yr(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0,l,c;for(let u of n)l=r[u],c=p(u),y(l)?(s[i]=c,f[i]=l,i++):(t[d]=c,a[d]=await B(e,l),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=await B(e,f[u]);if(e.features&1024&&Symbol.iterator in r){t[o]=0;let u=Array.from(r);a[o]=await gn(e,me(e,u),u),o++}return{k:t,v:a,s:o}}async function yn(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0,l,c;for(let u of n)l=r[u],c=p(u),y(l)?(s[i]=c,f[i]=l,i++):(t[d]=c,a[d]=await B(e,l),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=await B(e,f[u]);return{k:t,v:a,s:o}}async function Sn(e,r,n){S(e.features&256,new m(n));let[o,t]=await we(n);return{t:12,i:r,s:o,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:await B(e,t),b:void 0,o:void 0}}async function gr(e,r,n,o){return{t:o?11:10,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:await yr(e,n),e:void 0,a:void 0,f:void 0,b:void 0,o:U(n)}}async function pn(e,r,n){let o=L(e,n),t=o?await yr(e,o):void 0;return{t:14,i:r,s:void 0,l:void 0,c:void 0,m:p(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}async function He(e,r,n){let o=L(e,n),t=o?await yr(e,o):void 0;return{t:13,i:r,s:void 0,l:void 0,c:M(n),m:p(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}async function ut(e,r,n){S(e.features&8192,new m(n));let o={};return n.forEach((t,a)=>{o[a]=t}),{t:25,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:await yn(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}async function lt(e,r,n){S(e.features&8192,new m(n));let o={};return n.forEach((t,a)=>{o[a]=t}),{t:26,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:await yn(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}async function ft(e,r,n){return{t:27,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:await B(e,n.valueOf()),b:void 0,o:void 0}}async function ct(e,r){if(!r)return $;let n=e.refs.get(r);if(n!=null)return z(n);let o=e.refs.size;if(e.refs.set(r,o),I(r))return T(o,r);if(Array.isArray(r))return gn(e,o,r);switch(r.constructor){case Number:case Boolean:case String:case BigInt:case Function:case Symbol:return ft(e,o,r);case Date:return Z(o,r);case RegExp:return Q(o,r);case Promise:return Sn(e,o,r);case ArrayBuffer:return V(o,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return pe(e,o,r);case BigInt64Array:case BigUint64Array:return ge(e,o,r);case DataView:return ye(e,o,r);case Map:return it(e,o,r);case Set:return dt(e,o,r);case Object:return gr(e,o,r,!1);case void 0:return gr(e,o,r,!0);case AggregateError:return e.features&1?pn(e,o,r):He(e,o,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return He(e,o,r);case URL:return ee(e,o,r);case URLSearchParams:return re(e,o,r);case Blob:return cn(e,o,r);case File:return mn(e,o,r);case Headers:return ut(e,o,r);case FormData:return lt(e,o,r);default:break}if(r instanceof AggregateError)return e.features&1?pn(e,o,r):He(e,o,r);if(r instanceof Error)return He(e,o,r);if(r instanceof Promise)return Sn(e,o,r);if(Symbol.iterator in r)return gr(e,o,r,!!r.constructor);throw new m(r)}async function B(e,r){switch(typeof r){case"boolean":return r?H:W;case"undefined":return G;case"string":return J(r);case"number":return Y(r);case"bigint":return q(e,r);case"object":return ct(e,r);case"symbol":return Ne(e,r);case"function":return ve(e,r);default:throw new m(r)}}function b(e){return ne+"["+e+"]"}function br(e,r,n){r!==0&&e.flags.push({type:r,value:b(n)})}function Nn(e){let r=ae(e.assignments),n=xe(e.flags);return r?n?r+n:r:n}function vn(e,r,n){e.assignments.push({t:"index",s:r,k:void 0,v:n})}function mt(e,r,n){e.assignments.push({t:"add",s:b(r),k:void 0,v:n})}function Nr(e,r,n,o){e.assignments.push({t:"set",s:b(r),k:n,v:o})}function St(e,r,n,o){e.assignments.push({t:"append",s:b(r),k:n,v:o})}function ke(e,r,n,o){vn(e,b(r)+"["+n+"]",o)}function vr(e,r,n,o){vn(e,b(r)+"."+n,o)}function A(e,r){return b(e)+"="+r}function ie(e,r){return r.t===4&&e.stack.includes(r.i)}function pt(e,r){let n=r.i;e.stack.push(n);let o="",t,a=!1,s=r.a;for(let f=0,i=r.l;f<i;f++)f!==0&&(o+=","),t=s[f],t?ie(e,t)?(ke(e,n,f,b(t.i)),a=!0):(o+=N(e,t),a=!1):a=!0;return e.stack.pop(),br(e,r.o,r.i),A(n,"["+o+(a?",]":"]"))}function bn(e){return e.features&2?".values()":"[Symbol.iterator]()"}function gt(e,r){let n=e.stack;e.stack=[];let o=N(e,r)+bn(e);return e.stack=n,e.features&4?o="[Symbol.iterator]:()=>"+o:e.features&64?o="[Symbol.iterator](){return "+o+"}":o="[Symbol.iterator]:function(){return "+o+"}",o}function Ar(e,r,n){let o=n.s;if(o===0)return"{}";let t="";e.stack.push(r);let a,s,f,i,d,l=!1,c=n.k,u=n.v;for(let v=0;v<o;v++)switch(a=c[v],s=u[v],a){case 0:t+=(l?",":"")+gt(e,s),l=!0;break;default:f=Number(a),i=f>=0||ce(a),ie(e,s)?(d=b(s.i),i&&Number.isNaN(f)?vr(e,r,a,d):ke(e,r,i?a:'"'+a+'"',d)):(t+=(l?",":"")+(i?a:'"'+a+'"')+":"+N(e,s),l=!0);break}return e.stack.pop(),"{"+t+"}"}function yt(e,r,n,o){let t=Ar(e,n,r);return t!=="{}"?"Object.assign("+o+","+t+")":o}function Nt(e,r,n){e.stack.push(r);let o=[],t,a,s,f=n.k,i=n.v;for(let d=0,l=n.s;d<l;d++)switch(t=f[d],a=i[d],t){case 0:{let c=e.stack;e.stack=[];let u=N(e,a)+bn(e);e.stack=c,s=e.assignments,e.assignments=o,ke(e,r,"Symbol.iterator",e.features&4?"()=>"+u:"function(){return "+u+"}"),e.assignments=s}break;default:{let c=N(e,a),u=Number(t),v=u>=0||ce(t);ie(e,a)?v&&Number.isNaN(u)?vr(e,r,t,c):ke(e,r,v?t:'"'+t+'"',c):(s=e.assignments,e.assignments=o,v&&Number.isNaN(u)?vr(e,r,t,c):ke(e,r,v?t:'"'+t+'"',c),e.assignments=s)}}return e.stack.pop(),ae(o)}function wr(e,r,n,o){if(n)if(e.features&128)o=yt(e,n,r,o);else{let t=Nt(e,r,n);if(t)return"("+A(r,o)+","+t+b(r)+")"}return A(r,o)}var vt="Object.create(null)";function bt(e,r){return br(e,r.o,r.i),wr(e,r.i,r.p,vt)}function At(e,r){return br(e,r.o,r.i),A(r.i,Ar(e,r.i,r.p))}function wt(e,r){let n="new Set",o=r.l,t=r.i;if(o){let a="",s,f=!1,i=r.a;e.stack.push(t);for(let d=0;d<o;d++)s=i[d],ie(e,s)?mt(e,t,b(s.i)):(a+=(f?",":"")+N(e,s),f=!0);e.stack.pop(),a&&(n+="(["+a+"])")}return A(t,n)}function Ct(e,r){let n="new Map",o=r.e.s,t=r.i;if(o){let a="",s,f,i,d,l,c=!1,u=r.e.k,v=r.e.v;e.stack.push(t);for(let g=0;g<o;g++)s=u[g],f=v[g],ie(e,s)?(i=b(t),ie(e,f)?(d=b(f.i),Nr(e,t,i,d)):(l=e.stack,e.stack=[],Nr(e,t,i,N(e,f)),e.stack=l)):ie(e,f)?(d=b(f.i),l=e.stack,e.stack=[],Nr(e,t,N(e,s),d),e.stack=l):(a+=(c?",[":"[")+N(e,s)+","+N(e,f)+"]",c=!0);e.stack.pop(),a&&(n+="(["+a+"])")}return A(t,n)}function Et(e,r){let n=r.i;e.stack.push(n);let o='new AggregateError([],"'+r.m+'")';return e.stack.pop(),wr(e,n,r.p,o)}function kt(e,r){return wr(e,r.i,r.p,"new "+r.c+'("'+r.m+'")')}var Rt="Promise.resolve",Pt="Promise.reject";function zt(e,r){let n,o=r.f,t=r.i,a=r.s?Rt:Pt;if(ie(e,o)){let s=b(o.i);e.features&4?r.s?n=a+"().then(()=>"+s+")":n=a+"().catch(()=>{throw "+s+"})":r.s?n=a+"().then(function(){return "+s+"})":n=a+"().catch(function(){throw "+s+"})"}else{e.stack.push(t);let s=N(e,o);e.stack.pop(),n=a+"("+s+")"}return A(t,n)}function Ot(e){let r="new Uint8Array(",n=e.s,o=n.length;if(o){r+="[";for(let t=0;t<o;t++)r+=(t>0?",":"")+n[t];r+="]"}return A(e.i,r+").buffer")}function It(e,r){return A(r.i,"new "+r.c+"("+N(e,r.f)+","+r.b+","+r.l+")")}function ht(e){return A(e.i,'new Date("'+e.s+'")')}function Bt(e){return A(e.i,"/"+e.c+"/"+e.m)}function Tt(e){return A(e.i,'new URL("'+e.s+'")')}function Dt(e){return A(e.i,e.s?'new URLSearchParams("'+e.s+'")':"new URLSearchParams")}function jt(e){return A(e.i,oe+'.get("'+e.s+'")')}function Ft(e,r){return A(r.i,"new DataView("+N(e,r.f)+","+r.b+","+r.l+")")}function Lt(e,r){return A(r.i,"new Blob(["+N(e,r.f)+'],{type:"'+r.c+'"})')}function Ut(e,r){return A(r.i,"new File(["+N(e,r.f)+'],"'+r.m+'",{type:"'+r.c+'",lastModified:'+r.b+"})")}function Vt(e,r){return A(r.i,"new Headers("+Ar(e,r.i,r.e)+")")}function _t(e,r){let n,o,t=r.e.k,a=r.e.v,s=r.i,f=[],i;e.stack.push(s);for(let d=0,l=r.e.s;d<l;d++)o=t[d],n=N(e,a[d]),i=e.assignments,e.assignments=f,St(e,s,'"'+o+'"',n),e.assignments=i;return e.stack.pop(),ae(f)}function xt(e,r){let n=r.e.s,o=r.i,t=A(o,"new FormData()");if(n){let a=_t(e,r);return"("+t+","+(a==null?"":a)+b(o)+")"}return t}function Mt(e,r){return A(r.i,"Object("+N(e,r.f)+")")}function Kt(e){return A(e.i,ze[e.s])}function Ht(e,r){return X+"."+Qe+"("+b(r.i)+","+N(e,r.f)+")"}function Wt(e,r){return X+"."+er+"("+b(r.i)+","+N(e,r.f)+")"}function Gt(e){return A(e.i,X+"."+Ze+"()")}function $t(e){return X+"."+Ae+"("+b(e.i)+",2)"}function Xt(e,r){return X+"."+Ae+"("+b(r.i)+",0,"+N(e,r.f)+")"}function Yt(e,r){return X+"."+Ae+"("+b(r.i)+",1,"+N(e,r.f)+")"}function Jt(e){return A(e.i,X+"."+rr+"()")}function N(e,r){switch(r.t){case 0:return""+r.s;case 1:return'"'+r.s+'"';case 2:return Oe(r);case 3:return r.s+"n";case 4:return b(r.i);case 9:return pt(e,r);case 10:return At(e,r);case 11:return bt(e,r);case 5:return ht(r);case 6:return Bt(r);case 7:return wt(e,r);case 8:return Ct(e,r);case 21:return Ot(r);case 16:case 15:return It(e,r);case 22:return Ft(e,r);case 14:return Et(e,r);case 13:return kt(e,r);case 12:return zt(e,r);case 17:return Kt(r);case 18:return Tt(r);case 19:return Dt(r);case 20:return jt(r);case 23:return Lt(e,r);case 24:return Ut(e,r);case 25:return Vt(e,r);case 26:return xt(e,r);case 27:return Mt(e,r);case 29:return Ht(e,r);case 30:return Wt(e,r);case 28:return Gt(r);case 33:return $t(r);case 31:return Jt(r);case 32:return Xt(e,r);case 34:return Yt(e,r);default:throw new Error("invariant")}}function qt(e,r){let n=r.length,o=new Array(n),t=new Array(n),a;for(let s=0;s<n;s++)s in r&&(a=r[s],y(a)?t[s]=a:o[s]=R(e,a));for(let s=0;s<n;s++)s in t&&(o[s]=R(e,t[s]));return o}function Cn(e,r,n){return{t:9,i:r,s:void 0,l:n.length,c:void 0,m:void 0,p:void 0,e:void 0,a:qt(e,n),f:void 0,b:void 0,o:U(n)}}function Zt(e,r,n){S(e.features&32,new m(n));let o=n.size,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0;for(let[l,c]of n.entries())y(l)||y(c)?(s[i]=l,f[i]=c,i++):(t[d]=R(e,l),a[d]=R(e,c),d++);for(let l=0;l<i;l++)t[d+l]=R(e,s[l]),a[d+l]=R(e,f[l]);return{t:8,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:{k:t,v:a,s:o},a:void 0,f:void 0,b:void 0,o:void 0}}function Qt(e,r,n){S(e.features&512,new m(n));let o=n.size,t=new Array(o),a=new Array(o),s=0,f=0;for(let i of n.keys())y(i)?a[s++]=i:t[f++]=R(e,i);for(let i=0;i<s;i++)t[f+i]=R(e,a[i]);return{t:7,i:r,s:void 0,l:o,c:void 0,m:void 0,p:void 0,e:void 0,a:t,f:void 0,b:void 0,o:void 0}}function Er(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0,l,c;for(let u of n)l=r[u],c=p(u),y(l)?(s[i]=c,f[i]=l,i++):(t[d]=c,a[d]=R(e,l),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=R(e,f[u]);if(e.features&1024&&Symbol.iterator in r){t[o]=0;let u=Array.from(r);a[o]=Cn(e,me(e,u),u),o++}return{k:t,v:a,s:o}}function En(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0,l,c;for(let u of n)l=r[u],c=p(u),y(l)?(s[i]=c,f[i]=l,i++):(t[d]=c,a[d]=R(e,l),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=R(e,f[u]);return{k:t,v:a,s:o}}function An(e,r,n){return S(e.features&256,new m(n)),n.then(o=>{e.alive&&(e.onParse({t:29,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:R(e,o),b:void 0,o:void 0},!1),Ee(e))},o=>{e.alive&&(e.onParse({t:30,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:R(e,o),b:void 0,o:void 0},!1),Ee(e))}),pr(e),{t:28,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function Cr(e,r,n,o){return{t:o?11:10,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:Er(e,n),e:void 0,a:void 0,f:void 0,b:void 0,o:U(n)}}function wn(e,r,n){let o=L(e,n),t=o?Er(e,o):void 0;return{t:14,i:r,s:void 0,l:void 0,c:void 0,m:p(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function We(e,r,n){let o=L(e,n),t=o?Er(e,o):void 0;return{t:13,i:r,s:void 0,l:void 0,c:M(n),m:p(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function ea(e,r,n){S(e.features&8192,new m(n));let o={};return n.forEach((t,a)=>{o[a]=t}),{t:25,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:En(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}function ra(e,r,n){S(e.features&8192,new m(n));let o={};return n.forEach((t,a)=>{o[a]=t}),{t:26,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:En(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}function na(e,r,n){return{t:27,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:R(e,n.valueOf()),b:void 0,o:void 0}}function oa(e,r,n){S(e.features&8192,new m(n));let o=n.getReader();pr(e);function t(){o.read().then(a=>{e.alive&&(a.done?(e.onParse({t:33,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0},!1),Ee(e)):(e.onParse({t:32,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:R(e,a.value),b:void 0,o:void 0},!1),t()))},a=>{e.alive&&(e.onParse({t:34,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:R(e,a),b:void 0,o:void 0},!1),Ee(e))})}return t(),{t:31,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function ta(e,r){if(!r)return $;let n=e.refs.get(r);if(n!=null)return z(n);let o=e.refs.size;if(e.refs.set(r,o),I(r))return T(o,r);if(Array.isArray(r))return Cn(e,o,r);switch(r.constructor){case Number:case Boolean:case String:case BigInt:case Function:case Symbol:return na(e,o,r);case Date:return Z(o,r);case RegExp:return Q(o,r);case Promise:return An(e,o,r);case ArrayBuffer:return V(o,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return pe(e,o,r);case BigInt64Array:case BigUint64Array:return ge(e,o,r);case DataView:return ye(e,o,r);case Map:return Zt(e,o,r);case Set:return Qt(e,o,r);case Object:return Cr(e,o,r,!1);case void 0:return Cr(e,o,r,!0);case AggregateError:return e.features&1?wn(e,o,r):We(e,o,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return We(e,o,r);case URL:return ee(e,o,r);case URLSearchParams:return re(e,o,r);case Headers:return ea(e,o,r);case FormData:return ra(e,o,r);case ReadableStream:return oa(e,o,r);default:break}if(r instanceof AggregateError)return e.features&1?wn(e,o,r):We(e,o,r);if(r instanceof Error)return We(e,o,r);if(r instanceof Promise)return An(e,o,r);if(Symbol.iterator in r)return Cr(e,o,r,!!r.constructor);throw new m(r)}function R(e,r){switch(typeof r){case"boolean":return r?H:W;case"undefined":return G;case"string":return J(r);case"number":return Y(r);case"bigint":return q(e,r);case"object":return ta(e,r);case"symbol":return Ne(e,r);case"function":return ve(e,r);default:throw new m(r)}}function aa(e,r){let n=r.length,o=new Array(n),t=new Array(n),a;for(let s=0;s<n;s++)s in r&&(a=r[s],y(a)?t[s]=a:o[s]=j(e,a));for(let s=0;s<n;s++)s in t&&(o[s]=j(e,t[s]));return o}function Rn(e,r,n){return{t:9,i:r,s:void 0,l:n.length,c:void 0,m:void 0,p:void 0,e:void 0,a:aa(e,n),f:void 0,b:void 0,o:U(n)}}function sa(e,r,n){S(e.features&32,new m(n));let o=n.size,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0;for(let[l,c]of n.entries())y(l)||y(c)?(s[i]=l,f[i]=c,i++):(t[d]=j(e,l),a[d]=j(e,c),d++);for(let l=0;l<i;l++)t[d+l]=j(e,s[l]),a[d+l]=j(e,f[l]);return{t:8,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:{k:t,v:a,s:o},a:void 0,f:void 0,b:void 0,o:void 0}}function ia(e,r,n){S(e.features&512,new m(n));let o=n.size,t=new Array(o),a=new Array(o),s=0,f=0;for(let i of n.keys())y(i)?a[s++]=i:t[f++]=j(e,i);for(let i=0;i<s;i++)t[f+i]=j(e,a[i]);return{t:7,i:r,s:void 0,l:o,c:void 0,m:void 0,p:void 0,e:void 0,a:t,f:void 0,b:void 0,o:void 0}}function Rr(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0,l,c;for(let u of n)l=r[u],c=p(u),y(l)?(s[i]=c,f[i]=l,i++):(t[d]=c,a[d]=j(e,l),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=j(e,f[u]);if(e.features&1024&&Symbol.iterator in r){t[o]=0;let u=Array.from(r);a[o]=Rn(e,me(e,u),u),o++}return{k:t,v:a,s:o}}function Pn(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),f=new Array(o),i=0,d=0,l,c;for(let u of n)l=r[u],c=p(u),y(l)?(s[i]=c,f[i]=l,i++):(t[d]=c,a[d]=j(e,l),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=j(e,f[u]);return{k:t,v:a,s:o}}function kr(e,r,n,o){return{t:o?11:10,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:Rr(e,n),e:void 0,a:void 0,f:void 0,b:void 0,o:U(n)}}function kn(e,r,n){let o=L(e,n),t=o?Rr(e,o):void 0;return{t:14,i:r,s:void 0,l:void 0,c:void 0,m:p(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function Ge(e,r,n){let o=L(e,n),t=o?Rr(e,o):void 0;return{t:13,i:r,s:void 0,l:void 0,c:M(n),m:p(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function da(e,r,n){S(e.features&8192,new m(n));let o={};return n.forEach((t,a)=>{o[a]=t}),{t:25,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:Pn(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}function ua(e,r,n){S(e.features&8192,new m(n));let o={};return n.forEach((t,a)=>{o[a]=t}),{t:26,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:Pn(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}function la(e,r,n){return{t:27,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:j(e,n.valueOf()),b:void 0,o:void 0}}function fa(e,r){if(!r)return $;let n=e.refs.get(r);if(n!=null)return z(n);let o=e.refs.size;if(e.refs.set(r,o),I(r))return T(o,r);if(Array.isArray(r))return Rn(e,o,r);switch(r.constructor){case Number:case Boolean:case String:case BigInt:case Function:case Symbol:return la(e,o,r);case Date:return Z(o,r);case RegExp:return Q(o,r);case ArrayBuffer:return V(o,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return pe(e,o,r);case BigInt64Array:case BigUint64Array:return ge(e,o,r);case DataView:return ye(e,o,r);case Map:return sa(e,o,r);case Set:return ia(e,o,r);case Object:return kr(e,o,r,!1);case void 0:return kr(e,o,r,!0);case AggregateError:return e.features&1?kn(e,o,r):Ge(e,o,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return Ge(e,o,r);case URL:return ee(e,o,r);case URLSearchParams:return re(e,o,r);case Headers:return da(e,o,r);case FormData:return ua(e,o,r);default:break}if(r instanceof AggregateError)return e.features&1?kn(e,o,r):Ge(e,o,r);if(r instanceof Error)return Ge(e,o,r);if(Symbol.iterator in r)return kr(e,o,r,!!r.constructor);throw new m(r)}function j(e,r){switch(typeof r){case"boolean":return r?H:W;case"undefined":return G;case"string":return J(r);case"number":return Y(r);case"bigint":return q(e,r);case"object":return fa(e,r);case"symbol":return Ne(e,r);case"function":return ve(e,r);default:throw new m(r)}}function Pr(e,r,n,o){if(n==null)return o;let t=Nn(e),a=b(n),s=r==null?"":ne,f=t?o+","+t:o;if(s==="")return t?"("+f+a+")":f;let i=r==null?"()":"("+ne+'["'+p(r)+'"])',d=f+(t?a:"");return e.features&4?"("+s+"=>("+d+"))"+i:"(function("+s+"){return "+d+"})"+i}function ca(e,r){let n=Sr(r),o=j(n,e),t=Ke({features:n.features}),a=N(t,o);return Pr(t,n.scopeId,o.i,a)}async function ma(e,r){let n=Sr(r),o=await B(n,e),t=Ke({features:n.features}),a=N(t,o);return Pr(t,n.scopeId,o.i,a)}function zr(e,r){let n=ln({scopeId:r.scopeId,refs:r.refs,disabledFeatures:r.disabledFeatures,onParse(o,t){let a=Ke({features:n.features});r.onSerialize(Pr(a,n.scopeId,o.i,N(a,o)),t)},onDone:r.onDone});return n.onParse(R(n,e),!0),n.pending<=0&&(n.onDone(),n.alive=!1),()=>{n.alive&&(n.alive=!1,n.onDone())}}var Re=class{constructor(r){this.options=r;de(this,"alive",!0);de(this,"flushed",!1);de(this,"done",!1);de(this,"pending",0);de(this,"cleanups",[]);de(this,"refs",new Map)}write(r,n){this.alive&&!this.flushed&&(this.pending++,this.cleanups.push(zr(n,{scopeId:this.options.scopeId,refs:this.refs,disabledFeatures:this.options.disabledFeatures,onSerialize:(o,t)=>{this.alive&&this.options.onData(t?this.options.globalIdentifier+'["'+p(r)+'"]='+o:o)},onDone:()=>{this.alive&&(this.pending--,this.pending<=0&&this.flushed&&!this.done&&this.options.onDone&&(this.options.onDone(),this.done=!0))}})))}flush(){this.alive&&(this.flushed=!0,this.pending<=0&&!this.done&&this.options.onDone&&(this.options.onDone(),this.done=!0))}close(){if(this.alive){for(let r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();!this.done&&this.options.onDone&&(this.options.onDone(),this.done=!0),this.alive=!1}}};var Sa=mr;
|
|
1
|
+
"use strict";var je=Object.defineProperty;var In=Object.getOwnPropertyDescriptor;var hn=Object.getOwnPropertyNames;var Bn=Object.prototype.hasOwnProperty;var Dn=(e,r,n)=>r in e?je(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n;var Tn=(e,r)=>{for(var n in r)je(e,n,{get:r[n],enumerable:!0})},Fn=(e,r,n,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of hn(r))!Bn.call(e,t)&&t!==n&&je(e,t,{get:()=>r[t],enumerable:!(o=In(r,t))||o.enumerable});return e};var jn=e=>Fn(je({},"__esModule",{value:!0}),e);var Se=(e,r,n)=>(Dn(e,typeof r!="symbol"?r+"":r,n),n);var Ja={};Tn(Ja,{Feature:()=>h,GLOBAL_CONTEXT_API_SCRIPT:()=>Wr,Serializer:()=>Fe,compileJSON:()=>wt,createReference:()=>$r,crossSerialize:()=>$a,crossSerializeAsync:()=>Xa,crossSerializeStream:()=>Tr,default:()=>Ya,deserialize:()=>bt,fromJSON:()=>At,getCrossReferenceHeader:()=>Gr,serialize:()=>yr,serializeAsync:()=>gt,toJSON:()=>Ct,toJSONAsync:()=>Et});module.exports=jn(Ja);var h=(S=>(S[S.AggregateError=1]="AggregateError",S[S.ArrayPrototypeValues=2]="ArrayPrototypeValues",S[S.ArrowFunction=4]="ArrowFunction",S[S.BigInt=8]="BigInt",S[S.ErrorPrototypeStack=16]="ErrorPrototypeStack",S[S.Map=32]="Map",S[S.MethodShorthand=64]="MethodShorthand",S[S.ObjectAssign=128]="ObjectAssign",S[S.Promise=256]="Promise",S[S.Set=512]="Set",S[S.Symbol=1024]="Symbol",S[S.TypedArray=2048]="TypedArray",S[S.BigIntTypedArray=4096]="BigIntTypedArray",S[S.WebAPI=8192]="WebAPI",S))(h||{});var Le={0:"Symbol.asyncIterator",1:"Symbol.hasInstance",2:"Symbol.isConcatSpreadable",3:"Symbol.iterator",4:"Symbol.match",5:"Symbol.matchAll",6:"Symbol.replace",7:"Symbol.search",8:"Symbol.species",9:"Symbol.split",10:"Symbol.toPrimitive",11:"Symbol.toStringTag",12:"Symbol.unscopables"},Je={[Symbol.asyncIterator]:0,[Symbol.hasInstance]:1,[Symbol.isConcatSpreadable]:2,[Symbol.iterator]:3,[Symbol.match]:4,[Symbol.matchAll]:5,[Symbol.replace]:6,[Symbol.search]:7,[Symbol.species]:8,[Symbol.split]:9,[Symbol.toPrimitive]:10,[Symbol.toStringTag]:11,[Symbol.unscopables]:12},Fr={0:Symbol.asyncIterator,1:Symbol.hasInstance,2:Symbol.isConcatSpreadable,3:Symbol.iterator,4:Symbol.match,5:Symbol.matchAll,6:Symbol.replace,7:Symbol.search,8:Symbol.species,9:Symbol.split,10:Symbol.toPrimitive,11:Symbol.toStringTag,12:Symbol.unscopables};function xe(e){switch(e.s){case 2:return"!0";case 3:return"!1";case 1:return"void 0";case 0:return"null";case 4:return"-0";case 5:return"1/0";case 6:return"-1/0";case 7:return"NaN";default:throw new Error("invariant")}}function jr(e){switch(e.s){case 2:return!0;case 3:return!1;case 1:return;case 0:return null;case 4:return-0;case 5:return 1/0;case 6:return-1/0;case 7:return NaN;default:throw new Error("invariant")}}var Ur="hjkmoquxzABCDEFGHIJKLNPQRTUVWXYZ$_",Lr=Ur.length,Vr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789$_",xr=Vr.length;function Ze(e){let r=e%Lr,n=Ur[r];for(e=(e-r)/Lr;e>0;)r=e%xr,n+=Vr[r],e=(e-r)/xr;return n}function Pe(e={}){return{reference:{ids:new Map,marked:new Set},features:16383^(e.disabledFeatures||0)}}function Ve(e){return{stack:[],vars:[],assignments:[],reference:{valid:[],size:0,marked:new Set(e.markedRefs)},features:e.features,flags:[]}}function K(e,r){e.reference.marked.add(r)}function R(e,r){let n=e.reference.valid[r];n==null&&(n=e.reference.size++,e.reference.valid[r]=n);let o=e.vars[n];return o==null&&(o=Ze(n),e.vars[n]=o),o}function q(e,r){let n=e.reference.ids.get(r);if(n==null){let o=e.reference.ids.size;return e.reference.ids.set(r,o),o}return K(e,n),n}function Mr(e){return{values:new Map,refs:new Set(e.markedRefs)}}function Ln(e){switch(e){case'"':return'\\"';case"\\":return"\\\\";case`
|
|
2
|
+
`:return"\\n";case"\r":return"\\r";case"\b":return"\\b";case" ":return"\\t";case"\f":return"\\f";case"<":return"\\x3C";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return}}function m(e){let r="",n=0,o;for(let t=0,a=e.length;t<a;t++)o=Ln(e[t]),o&&(r+=e.slice(n,t)+o,n=t+1);return n===0?r=e:r+=e.slice(n),r}function O(e){return e.replace(/\\"/g,'"').replace(/\\\\/g,"\\").replace(/\\n/g,`
|
|
3
|
+
`).replace(/\\r/g,"\r").replace(/\\b/g,"\b").replace(/\\t/g," ").replace(/\\f/g,"\f").replace(/\\x3C/g,"<").replace(/\\u2028/g,"\u2028").replace(/\\u2029/g,"\u2029")}var{toString:xn}=Object.prototype,v=class extends Error{constructor(n){super('Unsupported type "'+xn.call(n)+'"');this.value=n}};function de(e){return{t:2,i:void 0,s:e,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}var W=de(2),G=de(3),$=de(1),_=de(0),_r=de(4),Kr=de(5),Hr=de(6),qr=de(7);function k(e,r){if(!e)throw r}var ie="__SEROVAL_REFS__",X="_$",se="$R",Qe="s",er="f",nr="P",or="Ps",tr="Pf",rr="c",ar="S",Oe="Se",Wr=`self.${X}=self.${X}||{${nr}:function(s,f,p){return(p=new Promise(function(a,b){s=a,f=b})).${Qe}=s,p.${er}=f,p},uP:function(p){delete p.${Qe};delete p.${er}},${or}:function(p,d){p.${Qe}(d),p.value=d,this.uP(p)},${tr}:function(p,d){p.${er}(d),this.uP(p)},uS:function(s){delete s.${rr}},${Oe}:function(s,t,d,c){switch(c=s.${rr},t){case 0:return c.enqueue(d);case 1:return(this.uS(s),c.error(d));case 2:return(this.uS(s),c.close())}},${ar}:function(s,c){return(s=new ReadableStream({start:function(x){c=x}})).${rr}=c,s}}`;function Gr(e){return e==null?`self.${se}=self.${se}||[];`:`(self.${se}=self.${se}||{})["${m(e)}"]=[]`}var sr=new Map,pe=new Map;function $r(e,r){return sr.set(r,e),pe.set(e,r),r}function B(e){return sr.has(e)}function Un(e){return pe.has(e)}function Xr(e){return k(B(e),new Error("Missing reference id")),sr.get(e)}function Yr(e){return k(Un(e),new Error("Missing reference for id:"+e)),pe.get(e)}typeof globalThis!==void 0?Object.defineProperty(globalThis,ie,{value:pe,configurable:!0,writable:!1,enumerable:!1}):typeof window!==void 0?Object.defineProperty(window,ie,{value:pe,configurable:!0,writable:!1,enumerable:!1}):typeof self!==void 0?Object.defineProperty(self,ie,{value:pe,configurable:!0,writable:!1,enumerable:!1}):typeof global!==void 0&&Object.defineProperty(global,ie,{value:pe,configurable:!0,writable:!1,enumerable:!1});function Y(e){switch(e){case 1/0:return Kr;case-1/0:return Hr;default:return e!==e?qr:Object.is(e,-0)?_r:{t:0,i:void 0,s:e,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}}function J(e){return{t:1,i:void 0,s:m(e),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function Z(e,r){return k(e.features&8,new v(r)),{t:3,i:void 0,s:""+r,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function z(e){return{t:4,i:e,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function Q(e,r){return{t:5,i:e,s:r.toISOString(),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,f:void 0,a:void 0,b:void 0,o:void 0}}function ee(e,r){return{t:6,i:e,s:void 0,l:void 0,c:r.source,m:r.flags,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function V(e,r){let n=new Uint8Array(r),o=n.length,t=new Array(o);for(let a=0;a<o;a++)t[a]=n[a];return{t:21,i:e,s:t,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function Me(e,r,n){return k(e.features&1024,new v(n)),k(n in Je,new Error("Only well-known symbols are supported.")),{t:17,i:r,s:Je[n],l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function F(e,r){return{t:20,i:e,s:m(Xr(r)),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function ue(e,r){let n=q(e,r);return e.reference.marked.has(n)?z(n):V(n,r)}function _e(e,r,n){return{t:15,i:r,s:void 0,l:n.length,c:n.constructor.name,m:void 0,p:void 0,e:void 0,a:void 0,f:ue(e,n.buffer),b:n.byteOffset,o:void 0}}function Ke(e,r,n){return{t:16,i:r,s:void 0,l:n.length,c:n.constructor.name,m:void 0,p:void 0,e:void 0,a:void 0,f:ue(e,n.buffer),b:n.byteOffset,o:void 0}}function He(e,r,n){return{t:22,i:r,s:void 0,l:n.byteLength,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:ue(e,n.buffer),b:n.byteOffset,o:void 0}}function qe(e,r){let n=q(e,r);return e.reference.marked.has(n)?z(n):B(r)?F(n,r):Me(e,n,r)}function We(e,r){k(B(r),new Error("Cannot serialize function without reference ID."));let n=q(e,r);return e.reference.marked.has(n)?z(n):F(n,r)}function H(e){return e instanceof EvalError?"EvalError":e instanceof RangeError?"RangeError":e instanceof ReferenceError?"ReferenceError":e instanceof SyntaxError?"SyntaxError":e instanceof TypeError?"TypeError":e instanceof URIError?"URIError":"Error"}function Jr(e){switch(e){case"Error":return Error;case"EvalError":return EvalError;case"RangeError":return RangeError;case"ReferenceError":return ReferenceError;case"SyntaxError":return SyntaxError;case"TypeError":return TypeError;case"URIError":return URIError;default:throw new Error(`Unknown Error constructor "${e}"`)}}function x(e,r){let n,o=H(r);r.name!==o?n={name:r.name}:r.constructor.name!==o&&(n={name:r.constructor.name});let t=Object.getOwnPropertyNames(r);for(let a of t)a!=="name"&&a!=="message"&&(a==="stack"?e.features&16&&(n=n||{},n[a]=r[a]):(n=n||{},n[a]=r[a]));return n}function p(e){if(!e||typeof e!="object"||Array.isArray(e))return!1;switch(e.constructor){case Map:case Set:case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:case BigInt64Array:case BigUint64Array:return!1;default:break}return Symbol.iterator in e}function Zr(e){switch(e){case"Int8Array":return Int8Array;case"Int16Array":return Int16Array;case"Int32Array":return Int32Array;case"Uint8Array":return Uint8Array;case"Uint16Array":return Uint16Array;case"Uint32Array":return Uint32Array;case"Uint8ClampedArray":return Uint8ClampedArray;case"Float32Array":return Float32Array;case"Float64Array":return Float64Array;case"BigInt64Array":return BigInt64Array;case"BigUint64Array":return BigUint64Array;default:throw new Error(`Unknown TypedArray "${e}"`)}}var Vn=/^[$A-Z_][0-9A-Z_$]*$/i;function ve(e){let r=e[0];return(r==="$"||r==="_"||r>="A"&&r<="Z"||r>="a"&&r<="z")&&Vn.test(e)}function U(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:Object.isExtensible(e)?0:1}async function Qr(e,r,n){return k(e.features&8192,new v(n)),{t:23,i:r,s:void 0,l:void 0,c:m(n.type),m:void 0,p:void 0,e:void 0,f:ue(e,await n.arrayBuffer()),a:void 0,b:void 0,o:void 0}}async function en(e,r,n){return k(e.features&8192,new v(n)),{t:24,i:r,s:void 0,l:void 0,c:m(n.type),m:m(n.name),p:void 0,e:void 0,f:ue(e,await n.arrayBuffer()),a:void 0,b:n.lastModified,o:void 0}}function re(e,r){return{t:18,i:e,s:m(r.href),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,f:void 0,a:void 0,b:void 0,o:void 0}}function ne(e,r){return{t:19,i:e,s:m(r.toString()),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,f:void 0,a:void 0,b:void 0,o:void 0}}function oe(e,r){return{t:39,i:e,s:m(r.message),l:void 0,c:m(r.name),m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}async function ze(e){try{return[1,await e]}catch(r){return[0,r]}}function ye(e,r){return{body:r,cache:e.cache,credentials:e.credentials,headers:e.headers,integrity:e.integrity,keepalive:e.keepalive,method:e.method,mode:e.mode,redirect:e.redirect,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}function ge(e){return{headers:e.headers,status:e.status,statusText:e.statusText}}function te(e){return{bubbles:e.bubbles,cancelable:e.cancelable,composed:e.composed}}function ae(e){return{detail:e.detail,bubbles:e.bubbles,cancelable:e.cancelable,composed:e.composed}}async function Mn(e,r){let n=r.length,o=new Array(n),t=new Array(n),a;for(let s=0;s<n;s++)s in r&&(a=r[s],p(a)?t[s]=a:o[s]=await I(e,a));for(let s=0;s<n;s++)s in t&&(o[s]=await I(e,t[s]));return o}async function nn(e,r,n){return{t:9,i:r,s:void 0,l:n.length,c:void 0,m:void 0,p:void 0,e:void 0,a:await Mn(e,n),f:void 0,b:void 0,o:U(n)}}async function _n(e,r,n){let o=n.size,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0;for(let[f,c]of n.entries())p(f)||p(c)?(s[i]=f,l[i]=c,i++):(t[d]=await I(e,f),a[d]=await I(e,c),d++);for(let f=0;f<i;f++)t[d+f]=await I(e,s[f]),a[d+f]=await I(e,l[f]);return{t:8,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:{k:t,v:a,s:o},a:void 0,f:void 0,b:void 0,o:void 0}}async function Kn(e,r,n){let o=n.size,t=new Array(o),a=new Array(o),s=0,l=0;for(let i of n.keys())p(i)?a[s++]=i:t[l++]=await I(e,i);for(let i=0;i<s;i++)t[l+i]=await I(e,a[i]);return{t:7,i:r,s:void 0,l:o,c:void 0,m:void 0,p:void 0,e:void 0,a:t,f:void 0,b:void 0,o:void 0}}async function dr(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0,f,c;for(let u of n)f=r[u],c=m(u),p(f)?(s[i]=c,l[i]=f,i++):(t[d]=c,a[d]=await I(e,f),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=await I(e,l[u]);if(e.features&1024&&Symbol.iterator in r){t[o]=0;let u=Array.from(r);a[o]=await nn(e,q(e,u),u),o++}return{k:t,v:a,s:o}}async function on(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0,f,c;for(let u of n)f=r[u],c=m(u),p(f)?(s[i]=c,l[i]=f,i++):(t[d]=c,a[d]=await I(e,f),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=await I(e,l[u]);return{k:t,v:a,s:o}}async function Hn(e,r,n){let[o,t]=await ze(n);return{t:12,i:r,s:o,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:await I(e,t),b:void 0,o:void 0}}async function ir(e,r,n,o){return{t:o?11:10,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:await dr(e,n),e:void 0,a:void 0,f:void 0,b:void 0,o:U(n)}}async function qn(e,r,n){let o=x(e,n),t=o?await dr(e,o):void 0;return{t:14,i:r,s:void 0,l:void 0,c:void 0,m:m(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}async function rn(e,r,n){let o=x(e,n),t=o?await dr(e,o):void 0;return{t:13,i:r,s:void 0,l:void 0,c:H(n),m:m(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}async function Wn(e,r,n){let o={};return n.forEach((t,a)=>{o[a]=t}),{t:25,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:await on(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}async function Gn(e,r,n){let o={};return n.forEach((t,a)=>{o[a]=t}),{t:26,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:await on(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}async function $n(e,r,n){return{t:27,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:await I(e,n.valueOf()),b:void 0,o:void 0}}async function Xn(e,r,n){return{t:35,i:r,s:m(n.url),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,f:await Ie(e,ye(n,n.body?await n.clone().arrayBuffer():null)),a:void 0,b:void 0,o:void 0}}async function Yn(e,r,n){return{t:36,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,f:void 0,a:[n.body?ue(e,await n.clone().arrayBuffer()):_,await Ie(e,ge(n))],b:void 0,o:void 0}}async function Jn(e,r,n){return{t:37,i:r,s:m(n.type),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:await Ie(e,te(n)),b:void 0,o:void 0}}async function Zn(e,r,n){return{t:38,i:r,s:m(n.type),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:await Ie(e,ae(n)),b:void 0,o:void 0}}async function Ie(e,r){if(!r)return _;let n=q(e,r);if(e.reference.marked.has(n))return z(n);if(B(r))return F(n,r);if(Array.isArray(r))return nn(e,n,r);let o=r.constructor;switch(o){case Number:case Boolean:case String:case BigInt:return $n(e,n,r);case Date:return Q(n,r);case RegExp:return ee(n,r);case Object:return ir(e,n,r,!1);case void 0:return ir(e,n,r,!0);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return rn(e,n,r);default:break}if(e.features&2048)switch(o){case ArrayBuffer:return V(n,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return _e(e,n,r);case DataView:return He(e,n,r);default:break}if((e.features&4104)===4104)switch(o){case BigInt64Array:case BigUint64Array:return Ke(e,n,r);default:break}if(e.features&32&&o===Map)return _n(e,n,r);if(e.features&512&&o===Set)return Kn(e,n,r);if(e.features&8192)switch(o){case URL:return re(n,r);case URLSearchParams:return ne(n,r);case Blob:return Qr(e,n,r);case File:return en(e,n,r);case Headers:return Wn(e,n,r);case FormData:return Gn(e,n,r);case Request:return Xn(e,n,r);case Response:return Yn(e,n,r);case Event:return Jn(e,n,r);case CustomEvent:return Zn(e,n,r);case DOMException:return oe(n,r);default:break}if(e.features&1&&(o===AggregateError||r instanceof AggregateError))return qn(e,n,r);if(e.features&256&&(o===Promise||r instanceof Promise))return Hn(e,n,r);if(r instanceof Error)return rn(e,n,r);if(e.features&1024&&Symbol.iterator in r)return ir(e,n,r,!!o);throw new v(r)}async function I(e,r){let n=typeof r;if(e.features&8&&n==="bigint")return Z(e,r);switch(n){case"boolean":return r?W:G;case"undefined":return $;case"string":return J(r);case"number":return Y(r);case"object":return Ie(e,r);case"symbol":return qe(e,r);case"function":return We(e,r);default:throw new v(r)}}function tn(e,r){switch(r){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}function E(e,r,n){return e.refs.has(r)&&e.values.set(r,n),n}function Qn(e,r){let n=r.l,o=E(e,r.i,new Array(n)),t;for(let a=0;a<n;a++)t=r.a[a],t&&(o[a]=A(e,t));return tn(o,r.o),o}function an(e,r,n){let o=r.s;if(o){let t,a,s=r.k,l=r.v;for(let i=0;i<o;i++)switch(t=s[i],a=A(e,l[i]),t){case 0:{let d=a;n[Symbol.iterator]=()=>d.values()}break;default:n[O(t)]=a;break}}return n}function eo(e,r){let n=E(e,r.i,r.t===10?{}:Object.create(null));return an(e,r.p,n),tn(n,r.o),n}function ro(e,r){let n=E(e,r.i,new Set),o=r.a;for(let t=0,a=r.l;t<a;t++)n.add(A(e,o[t]));return n}function no(e,r){let n=E(e,r.i,new Map),o=r.e.k,t=r.e.v;for(let a=0,s=r.e.s;a<s;a++)n.set(A(e,o[a]),A(e,t[a]));return n}function sn(e,r,n){if(r.p){let o=an(e,r.p,{});Object.assign(n,o)}return n}function oo(e,r){let n=E(e,r.i,new AggregateError([],O(r.m)));return sn(e,r,n)}function to(e,r){let n=Jr(r.c),o=E(e,r.i,new n(O(r.m)));return sn(e,r,o)}function ao(){let e,r;return{resolve(n){e(n)},reject(n){r(n)},promise:new Promise((n,o)=>{e=n,r=o})}}async function so(e,r){let n=ao(),o=E(e,r.i,n.promise),t=A(e,r.f);return r.s?n.resolve(t):n.reject(t),o}function io(e,r){let n=new Uint8Array(r.s);return E(e,r.i,n.buffer)}function uo(e,r){let n=Zr(r.c),o=A(e,r.f);return E(e,r.i,new n(o,r.b,r.l))}function fo(e,r){return E(e,r.i,new Date(r.s))}function lo(e,r){return E(e,r.i,new RegExp(r.c,r.m))}function co(e,r){return E(e,r.i,new URL(O(r.s)))}function mo(e,r){return E(e,r.i,new URLSearchParams(O(r.s)))}function So(e,r){return E(e,r.i,Yr(O(r.s)))}function po(e,r){let n=A(e,r.f);return E(e,r.i,new DataView(n,r.b,r.l))}function No(e,r){let n=A(e,r.f);return E(e,r.i,new Blob([n],{type:O(r.c)}))}function vo(e,r){let n=A(e,r.f);return E(e,r.i,new File([n],O(r.m),{type:O(r.c),lastModified:r.b}))}function yo(e,r){let n=E(e,r.i,new Headers),o=r.e.k,t=r.e.v;for(let a=0,s=r.e.s;a<s;a++)n.set(O(o[a]),A(e,t[a]));return n}function go(e,r){let n=E(e,r.i,new FormData),o=r.e.k,t=r.e.v;for(let a=0,s=r.e.s;a<s;a++)n.set(O(o[a]),A(e,t[a]));return n}function bo(e,r){return E(e,r.i,Object(A(e,r.f)))}function Co(e,r){return E(e,r.i,new Request(O(r.s),A(e,r.f)))}function Eo(e,r){return E(e,r.i,new Response(A(e,r.a[0]),A(e,r.a[1])))}function wo(e,r){return E(e,r.i,new Event(O(r.s),A(e,r.f)))}function Ao(e,r){return E(e,r.i,new CustomEvent(O(r.s),A(e,r.f)))}function Ro(e,r){return E(e,r.i,new DOMException(O(r.s),O(r.c)))}function A(e,r){switch(r.t){case 2:return jr(r);case 0:return r.s;case 1:return O(r.s);case 3:return BigInt(r.s);case 4:return e.values.get(r.i);case 9:return Qn(e,r);case 10:case 11:return eo(e,r);case 5:return fo(e,r);case 6:return lo(e,r);case 7:return ro(e,r);case 8:return no(e,r);case 21:return io(e,r);case 16:case 15:return uo(e,r);case 22:return po(e,r);case 14:return oo(e,r);case 13:return to(e,r);case 12:return so(e,r);case 17:return Fr[r.s];case 18:return co(e,r);case 19:return mo(e,r);case 20:return So(e,r);case 23:return No(e,r);case 24:return vo(e,r);case 25:return yo(e,r);case 26:return go(e,r);case 27:return bo(e,r);case 35:return Co(e,r);case 36:return Eo(e,r);case 37:return wo(e,r);case 38:return Ao(e,r);case 39:return Ro(e,r);default:throw new Error("invariant")}}function $e(e){switch(e.t){case"index":return e.s+"="+e.v;case"set":return e.s+".set("+e.k+","+e.v+")";case"add":return e.s+".add("+e.v+")";case"append":return e.s+".append("+e.k+","+e.v+")";default:return""}}var ko={3:"Object.freeze",2:"Object.seal",1:"Object.preventExtensions",0:void 0};function Po(e){let r=[],n=e[0],o=n,t;for(let a=1,s=e.length;a<s;a++){if(t=e[a],t.t===o.t)switch(t.t){case"index":t.v===o.v?n={t:"index",s:t.s,k:void 0,v:$e(n)}:(r.push(n),n=t);break;case"set":t.s===o.s?n={t:"set",s:$e(n),k:t.k,v:t.v}:(r.push(n),n=t);break;case"add":t.s===o.s?n={t:"add",s:$e(n),k:void 0,v:t.v}:(r.push(n),n=t);break;case"append":r.push(n),n=t;break;default:break}else r.push(n),n=t;o=t}return r.push(n),r}function fe(e){if(e.length){let r="",n=Po(e);for(let o=0,t=n.length;o<t;o++)r+=$e(n[o])+",";return r}}function Xe(e){let r="";for(let n=0,o=e.length;n<o;n++){let t=e[n];r+=ko[t.type]+"("+t.value+"),"}return r}function lr(e,r,n){r!==0&&(K(e,n),e.flags.push({type:r,value:R(e,n)}))}function dn(e){let r=fe(e.assignments),n=Xe(e.flags);return r?n?r+n:r:n}function un(e,r,n){e.assignments.push({t:"index",s:r,k:void 0,v:n})}function Oo(e,r,n){e.assignments.push({t:"add",s:R(e,r),k:void 0,v:n})}function ur(e,r,n,o){e.assignments.push({t:"set",s:R(e,r),k:n,v:o})}function zo(e,r,n,o){e.assignments.push({t:"append",s:R(e,r),k:n,v:o})}function he(e,r,n,o){un(e,R(e,r)+"["+n+"]",o)}function fr(e,r,n,o){K(e,r),un(e,R(e,r)+"."+n,o)}function b(e,r,n){return e.reference.marked.has(r)?R(e,r)+"="+n:n}function le(e,r){return r.t===4&&e.stack.includes(r.i)}function Io(e,r){let n=r.i;e.stack.push(n);let o="",t,a=!1,s=r.a;for(let l=0,i=r.l;l<i;l++)l!==0&&(o+=","),t=s[l],t?le(e,t)?(K(e,n),he(e,n,l,R(e,t.i)),a=!0):(o+=g(e,t),a=!1):a=!0;return e.stack.pop(),lr(e,r.o,r.i),b(e,n,"["+o+(a?",]":"]"))}function fn(e){return e.features&2?".values()":"[Symbol.iterator]()"}function ho(e,r){let n=e.stack;e.stack=[];let o=g(e,r)+fn(e);return e.stack=n,e.features&4?o="[Symbol.iterator]:()=>"+o:e.features&64?o="[Symbol.iterator](){return "+o+"}":o="[Symbol.iterator]:function(){return "+o+"}",o}function cr(e,r,n){let o=n.s;if(o===0)return"{}";let t="";e.stack.push(r);let a,s,l,i,d,f=!1,c=n.k,u=n.v;for(let C=0;C<o;C++)switch(a=c[C],s=u[C],a){case 0:t+=(f?",":"")+ho(e,s),f=!0;break;default:l=Number(a),i=l>=0||ve(a),le(e,s)?(d=R(e,s.i),K(e,r),i&&Number.isNaN(l)?fr(e,r,a,d):he(e,r,i?a:'"'+a+'"',d)):(t+=(f?",":"")+(i?a:'"'+a+'"')+":"+g(e,s),f=!0);break}return e.stack.pop(),"{"+t+"}"}function Bo(e,r,n,o){let t=cr(e,n,r);return t!=="{}"?"Object.assign("+o+","+t+")":o}function Do(e,r,n){e.stack.push(r);let o=[],t,a,s,l=n.k,i=n.v;for(let d=0,f=n.s;d<f;d++)switch(t=l[d],a=i[d],t){case 0:{let c=e.stack;e.stack=[];let u=g(e,a)+fn(e);e.stack=c,s=e.assignments,e.assignments=o,he(e,r,"Symbol.iterator",e.features&4?"()=>"+u:"function(){return "+u+"}"),e.assignments=s}break;default:{let c=g(e,a),u=Number(t),C=u>=0||ve(t);le(e,a)?C&&Number.isNaN(u)?fr(e,r,t,c):he(e,r,C?t:'"'+t+'"',c):(s=e.assignments,e.assignments=o,C&&Number.isNaN(u)?fr(e,r,t,c):he(e,r,C?t:'"'+t+'"',c),e.assignments=s)}}return e.stack.pop(),fe(o)}function mr(e,r,n,o){if(n)if(e.features&128)o=Bo(e,n,r,o);else{K(e,r);let t=Do(e,r,n);if(t)return"("+b(e,r,o)+","+t+R(e,r)+")"}return b(e,r,o)}var To="Object.create(null)";function Fo(e,r){return lr(e,r.o,r.i),mr(e,r.i,r.p,To)}function jo(e,r){return lr(e,r.o,r.i),b(e,r.i,cr(e,r.i,r.p))}function Lo(e,r){let n="new Set",o=r.l,t=r.i;if(o){let a="",s,l=!1,i=r.a;e.stack.push(t);for(let d=0;d<o;d++)s=i[d],le(e,s)?(K(e,t),Oo(e,t,R(e,s.i))):(a+=(l?",":"")+g(e,s),l=!0);e.stack.pop(),a&&(n+="(["+a+"])")}return b(e,t,n)}function xo(e,r){let n="new Map",o=r.e.s,t=r.i;if(o){let a="",s,l,i,d,f,c=!1,u=r.e.k,C=r.e.v;e.stack.push(t);for(let S=0;S<o;S++)s=u[S],l=C[S],le(e,s)?(i=R(e,t),K(e,t),le(e,l)?(d=R(e,l.i),ur(e,t,i,d)):(f=e.stack,e.stack=[],ur(e,t,i,g(e,l)),e.stack=f)):le(e,l)?(d=R(e,l.i),K(e,t),f=e.stack,e.stack=[],ur(e,t,g(e,s),d),e.stack=f):(a+=(c?",[":"[")+g(e,s)+","+g(e,l)+"]",c=!0);e.stack.pop(),a&&(n+="(["+a+"])")}return b(e,t,n)}function Uo(e,r){let n=r.i;e.stack.push(n);let o='new AggregateError([],"'+r.m+'")';return e.stack.pop(),mr(e,n,r.p,o)}function Vo(e,r){return mr(e,r.i,r.p,"new "+r.c+'("'+r.m+'")')}var Mo="Promise.resolve",_o="Promise.reject";function Ko(e,r){let n,o=r.f,t=r.i,a=r.s?Mo:_o;if(le(e,o)){let s=R(e,o.i);e.features&4?r.s?n=a+"().then(()=>"+s+")":n=a+"().catch(()=>{throw "+s+"})":r.s?n=a+"().then(function(){return "+s+"})":n=a+"().catch(function(){throw "+s+"})"}else{e.stack.push(t);let s=g(e,o);e.stack.pop(),n=a+"("+s+")"}return b(e,t,n)}function Ho(e,r){let n="new Uint8Array(",o=r.s,t=o.length;if(t){n+="[";for(let a=0;a<t;a++)n+=(a>0?",":"")+o[a];n+="]"}return b(e,r.i,n+").buffer")}function qo(e,r){return b(e,r.i,"new "+r.c+"("+g(e,r.f)+","+r.b+","+r.l+")")}function Wo(e,r){return b(e,r.i,'new Date("'+r.s+'")')}function Go(e,r){return b(e,r.i,"/"+r.c+"/"+r.m)}function $o(e,r){return b(e,r.i,'new URL("'+r.s+'")')}function Xo(e,r){return b(e,r.i,r.s?'new URLSearchParams("'+r.s+'")':"new URLSearchParams")}function Yo(e,r){return b(e,r.i,ie+'.get("'+r.s+'")')}function Jo(e,r){return b(e,r.i,"new DataView("+g(e,r.f)+","+r.b+","+r.l+")")}function Zo(e,r){return b(e,r.i,"new Blob(["+g(e,r.f)+'],{type:"'+r.c+'"})')}function Qo(e,r){return b(e,r.i,"new File(["+g(e,r.f)+'],"'+r.m+'",{type:"'+r.c+'",lastModified:'+r.b+"})")}function et(e,r){return b(e,r.i,"new Headers("+cr(e,r.i,r.e)+")")}function rt(e,r){let n,o,t=r.e.k,a=r.e.v,s=r.i,l=[],i;e.stack.push(s);for(let d=0,f=r.e.s;d<f;d++)o=t[d],n=g(e,a[d]),i=e.assignments,e.assignments=l,zo(e,s,'"'+o+'"',n),e.assignments=i;return e.stack.pop(),fe(l)}function nt(e,r){let n=r.e.s,o=r.i;n&&K(e,o);let t=b(e,o,"new FormData()");if(n){let a=rt(e,r);return"("+t+","+(a==null?"":a)+R(e,o)+")"}return t}function ot(e,r){return b(e,r.i,"Object("+g(e,r.f)+")")}function tt(e,r){return b(e,r.i,Le[r.s])}function at(e,r){return b(e,r.i,'new Request("'+r.s+'",'+g(e,r.f)+")")}function st(e,r){return b(e,r.i,"new Response("+g(e,r.a[0])+","+g(e,r.a[1])+")")}function it(e,r){return b(e,r.i,'new Event("'+r.s+'",'+g(e,r.f)+")")}function dt(e,r){return b(e,r.i,'new CustomEvent("'+r.s+'",'+g(e,r.f)+")")}function ut(e,r){return b(e,r.i,'new DOMException("'+r.s+'","'+r.c+'")')}function g(e,r){switch(r.t){case 0:return""+r.s;case 1:return'"'+r.s+'"';case 2:return xe(r);case 3:return r.s+"n";case 4:return R(e,r.i);case 9:return Io(e,r);case 10:return jo(e,r);case 11:return Fo(e,r);case 5:return Wo(e,r);case 6:return Go(e,r);case 7:return Lo(e,r);case 8:return xo(e,r);case 21:return Ho(e,r);case 16:case 15:return qo(e,r);case 22:return Jo(e,r);case 14:return Uo(e,r);case 13:return Vo(e,r);case 12:return Ko(e,r);case 17:return tt(e,r);case 18:return $o(e,r);case 19:return Xo(e,r);case 20:return Yo(e,r);case 23:return Zo(e,r);case 24:return Qo(e,r);case 25:return et(e,r);case 26:return nt(e,r);case 27:return ot(e,r);case 35:return at(e,r);case 36:return st(e,r);case 37:return it(e,r);case 38:return dt(e,r);case 39:return ut(e,r);default:throw new Error("invariant")}}function ft(e,r){let n=r.length,o=new Array(n),t=new Array(n),a;for(let s=0;s<n;s++)s in r&&(a=r[s],p(a)?t[s]=a:o[s]=D(e,a));for(let s=0;s<n;s++)s in t&&(o[s]=D(e,t[s]));return o}function cn(e,r,n){return{t:9,i:r,s:void 0,l:n.length,c:void 0,m:void 0,p:void 0,e:void 0,a:ft(e,n),f:void 0,b:void 0,o:U(n)}}function lt(e,r,n){let o=n.size,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0;for(let[f,c]of n.entries())p(f)||p(c)?(s[i]=f,l[i]=c,i++):(t[d]=D(e,f),a[d]=D(e,c),d++);for(let f=0;f<i;f++)t[d+f]=D(e,s[f]),a[d+f]=D(e,l[f]);return{t:8,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:{k:t,v:a,s:o},a:void 0,f:void 0,b:void 0,o:void 0}}function ct(e,r,n){let o=n.size,t=new Array(o),a=new Array(o),s=0,l=0;for(let i of n.keys())p(i)?a[s++]=i:t[l++]=D(e,i);for(let i=0;i<s;i++)t[l+i]=D(e,a[i]);return{t:7,i:r,s:void 0,l:o,c:void 0,m:void 0,p:void 0,e:void 0,a:t,f:void 0,b:void 0,o:void 0}}function pr(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0,f,c;for(let u of n)f=r[u],c=m(u),p(f)?(s[i]=c,l[i]=f,i++):(t[d]=c,a[d]=D(e,f),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=D(e,l[u]);if(e.features&1024&&Symbol.iterator in r){t[o]=0;let u=Array.from(r),C=q(e,u);a[o]=cn(e,C,u),o++}return{k:t,v:a,s:o}}function mn(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0,f,c;for(let u of n)f=r[u],c=m(u),p(f)?(s[i]=c,l[i]=f,i++):(t[d]=c,a[d]=D(e,f),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=D(e,l[u]);return{k:t,v:a,s:o}}function Sr(e,r,n,o){return{t:o?11:10,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:pr(e,n),e:void 0,a:void 0,f:void 0,b:void 0,o:U(n)}}function mt(e,r,n){let o=x(e,n),t=o?pr(e,o):void 0;return{t:14,i:r,s:void 0,l:void 0,c:void 0,m:m(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function ln(e,r,n){let o=x(e,n),t=o?pr(e,o):void 0;return{t:13,i:r,s:void 0,l:void 0,c:H(n),m:m(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function St(e,r,n){let o={};return n.forEach((t,a)=>{o[a]=t}),{t:25,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:mn(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}function pt(e,r,n){let o={};return n.forEach((t,a)=>{o[a]=t}),{t:26,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:mn(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}function Nt(e,r,n){return{t:27,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:D(e,n.valueOf()),b:void 0,o:void 0}}function vt(e,r,n){return{t:37,i:r,s:m(n.type),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:Nr(e,te(n)),b:void 0,o:void 0}}function yt(e,r,n){return{t:38,i:r,s:m(n.type),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:Nr(e,ae(n)),b:void 0,o:void 0}}function Nr(e,r){if(!r)return _;let n=q(e,r);if(e.reference.marked.has(n))return z(n);if(B(r))return F(n,r);if(Array.isArray(r))return cn(e,n,r);let o=r.constructor;switch(o){case Number:case Boolean:case String:case BigInt:return Nt(e,n,r);case Date:return Q(n,r);case RegExp:return ee(n,r);case Object:return Sr(e,n,r,!1);case void 0:return Sr(e,n,r,!0);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return ln(e,n,r);default:break}if(e.features&2048)switch(o){case ArrayBuffer:return V(n,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return _e(e,n,r);case DataView:return He(e,n,r);default:break}if((e.features&4104)===4104)switch(o){case BigInt64Array:case BigUint64Array:return Ke(e,n,r);default:break}if(e.features&32&&o===Map)return lt(e,n,r);if(e.features&512&&o===Set)return ct(e,n,r);if(e.features&8192)switch(o){case URL:return re(n,r);case URLSearchParams:return ne(n,r);case Headers:return St(e,n,r);case FormData:return pt(e,n,r);case Event:return vt(e,n,r);case CustomEvent:return yt(e,n,r);case DOMException:return oe(n,r);default:break}if(e.features&1&&(o===AggregateError||r instanceof AggregateError))return mt(e,n,r);if(r instanceof Error)return ln(e,n,r);if(e.features&1024&&Symbol.iterator in r)return Sr(e,n,r,!!o);throw new v(r)}function D(e,r){let n=typeof r;if(e.features&8&&n==="bigint")return Z(e,r);switch(n){case"boolean":return r?W:G;case"undefined":return $;case"string":return J(r);case"number":return Y(r);case"object":return Nr(e,r);case"symbol":return qe(e,r);case"function":return We(e,r);default:throw new v(r)}}function vr(e,r,n,o){if(r!=null&&e.vars.length){let t=dn(e),a=o;if(t){let l=R(e,r);a=o+","+t+l,o.startsWith(l+"=")||(a=l+"="+a)}let s=e.vars.length>1?e.vars.join(","):e.vars[0];return e.features&4?(s=e.vars.length>1||e.vars.length===0?"("+s+")":s,"("+s+"=>("+a+"))()"):"(function("+s+"){return "+a+"})()"}return n?"("+o+")":o}function yr(e,r){let n=Pe(r),o=D(n,e),t=Ve({markedRefs:n.reference.marked,features:n.features}),a=g(t,o);return vr(t,o.i,o.t===10,a)}async function gt(e,r){let n=Pe(r),o=await I(n,e),t=Ve({markedRefs:n.reference.marked,features:n.features}),a=g(t,o);return vr(t,o.i,o.t===10,a)}function bt(e){return(0,eval)(e)}function Ct(e,r){let n=Pe(r);return{t:D(n,e),f:n.features,m:Array.from(n.reference.marked)}}async function Et(e,r){let n=Pe(r);return{t:await I(n,e),f:n.features,m:Array.from(n.reference.marked)}}function wt(e){let r=Ve({features:e.f,markedRefs:e.m}),n=g(r,e.t);return vr(r,e.t.i,e.t.i===10,n)}function At(e){let r=Mr({markedRefs:e.m});return A(r,e.t)}function gr(e={}){return{scopeId:e.scopeId,refs:e.refs||new Map,features:16383^(e.disabledFeatures||0)}}function be(e,r){let n=e.refs.get(r);if(n==null){let o=e.refs.size;return e.refs.set(r,o),o}return n}function Sn(e){return{alive:!0,pending:0,refs:e.refs||new Map,features:16383^(e.disabledFeatures||0),onParse:e.onParse,onDone(){e.onDone&&e.onDone()},scopeId:e.scopeId}}function br(e){e.pending++}function Be(e){--e.pending<=0&&e.onDone()}function Ye(e){return{stack:[],assignments:[],features:e.features,flags:[]}}function ce(e,r){let n=e.refs.get(r);if(n!=null)return z(n);let o=e.refs.size;return e.refs.set(r,o),V(o,r)}function Ce(e,r,n){return k(e.features&2048,new v(n)),{t:15,i:r,s:void 0,l:n.length,c:n.constructor.name,m:void 0,p:void 0,e:void 0,a:void 0,f:ce(e,n.buffer),b:n.byteOffset,o:void 0}}var pn=4104;function Ee(e,r,n){return k((e.features&pn)===pn,new v(n)),{t:16,i:r,s:void 0,l:n.length,c:n.constructor.name,m:void 0,p:void 0,e:void 0,a:void 0,f:ce(e,n.buffer),b:n.byteOffset,o:void 0}}function we(e,r,n){return{t:22,i:r,s:void 0,l:n.byteLength,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:ce(e,n.buffer),b:n.byteOffset,o:void 0}}function Ae(e,r){let n=e.refs.get(r);if(n!=null)return z(n);let o=e.refs.size;return e.refs.set(r,o),B(r)?F(o,r):Me(e,o,r)}function Re(e,r){k(B(r),new Error("Cannot serialize function without reference ID."));let n=e.refs.get(r);if(n!=null)return z(n);let o=e.refs.size;return e.refs.set(r,o),F(o,r)}async function Nn(e,r,n){return k(e.features&8192,new v(n)),{t:23,i:r,s:void 0,l:void 0,c:m(n.type),m:void 0,p:void 0,e:void 0,f:ce(e,await n.arrayBuffer()),a:void 0,b:void 0,o:void 0}}async function vn(e,r,n){return k(e.features&8192,new v(n)),{t:24,i:r,s:void 0,l:void 0,c:m(n.type),m:m(n.name),p:void 0,e:void 0,f:ce(e,await n.arrayBuffer()),a:void 0,b:n.lastModified,o:void 0}}async function Rt(e,r){let n=r.length,o=new Array(n),t=new Array(n),a;for(let s=0;s<n;s++)s in r&&(a=r[s],p(a)?t[s]=a:o[s]=await T(e,a));for(let s=0;s<n;s++)s in t&&(o[s]=await T(e,t[s]));return o}async function gn(e,r,n){return{t:9,i:r,s:void 0,l:n.length,c:void 0,m:void 0,p:void 0,e:void 0,a:await Rt(e,n),f:void 0,b:void 0,o:U(n)}}async function kt(e,r,n){let o=n.size,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0;for(let[f,c]of n.entries())p(f)||p(c)?(s[i]=f,l[i]=c,i++):(t[d]=await T(e,f),a[d]=await T(e,c),d++);for(let f=0;f<i;f++)t[d+f]=await T(e,s[f]),a[d+f]=await T(e,l[f]);return{t:8,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:{k:t,v:a,s:o},a:void 0,f:void 0,b:void 0,o:void 0}}async function Pt(e,r,n){let o=n.size,t=new Array(o),a=new Array(o),s=0,l=0;for(let i of n.keys())p(i)?a[s++]=i:t[l++]=await T(e,i);for(let i=0;i<s;i++)t[l+i]=await T(e,a[i]);return{t:7,i:r,s:void 0,l:o,c:void 0,m:void 0,p:void 0,e:void 0,a:t,f:void 0,b:void 0,o:void 0}}async function Er(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0,f,c;for(let u of n)f=r[u],c=m(u),p(f)?(s[i]=c,l[i]=f,i++):(t[d]=c,a[d]=await T(e,f),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=await T(e,l[u]);if(e.features&1024&&Symbol.iterator in r){t[o]=0;let u=Array.from(r);a[o]=await gn(e,be(e,u),u),o++}return{k:t,v:a,s:o}}async function bn(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0,f,c;for(let u of n)f=r[u],c=m(u),p(f)?(s[i]=c,l[i]=f,i++):(t[d]=c,a[d]=await T(e,f),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=await T(e,l[u]);return{k:t,v:a,s:o}}async function Ot(e,r,n){let[o,t]=await ze(n);return{t:12,i:r,s:o,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:await T(e,t),b:void 0,o:void 0}}async function Cr(e,r,n,o){return{t:o?11:10,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:await Er(e,n),e:void 0,a:void 0,f:void 0,b:void 0,o:U(n)}}async function zt(e,r,n){let o=x(e,n),t=o?await Er(e,o):void 0;return{t:14,i:r,s:void 0,l:void 0,c:void 0,m:m(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}async function yn(e,r,n){let o=x(e,n),t=o?await Er(e,o):void 0;return{t:13,i:r,s:void 0,l:void 0,c:H(n),m:m(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}async function It(e,r,n){let o={};return n.forEach((t,a)=>{o[a]=t}),{t:25,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:await bn(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}async function ht(e,r,n){let o={};return n.forEach((t,a)=>{o[a]=t}),{t:26,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:await bn(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}async function Bt(e,r,n){return{t:27,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:await T(e,n.valueOf()),b:void 0,o:void 0}}async function Dt(e,r,n){return{t:35,i:r,s:m(n.url),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,f:await De(e,ye(n,n.body?await n.clone().arrayBuffer():null)),a:void 0,b:void 0,o:void 0}}async function Tt(e,r,n){return{t:36,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,f:void 0,a:[n.body?ce(e,await n.clone().arrayBuffer()):_,await De(e,ge(n))],b:void 0,o:void 0}}async function Ft(e,r,n){return{t:37,i:r,s:m(n.type),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:await De(e,te(n)),b:void 0,o:void 0}}async function jt(e,r,n){return{t:38,i:r,s:m(n.type),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:await De(e,ae(n)),b:void 0,o:void 0}}async function De(e,r){if(!r)return _;let n=e.refs.get(r);if(n!=null)return z(n);let o=e.refs.size;if(e.refs.set(r,o),B(r))return F(o,r);if(Array.isArray(r))return gn(e,o,r);let t=r.constructor;switch(t){case Number:case Boolean:case String:case BigInt:return Bt(e,o,r);case Date:return Q(o,r);case RegExp:return ee(o,r);case Object:return Cr(e,o,r,!1);case void 0:return Cr(e,o,r,!0);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return yn(e,o,r);default:break}if(e.features&2048)switch(t){case ArrayBuffer:return V(o,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return Ce(e,o,r);case DataView:return we(e,o,r);default:break}if((e.features&4104)===4104)switch(t){case BigInt64Array:case BigUint64Array:return Ee(e,o,r);default:break}if(e.features&32&&t===Map)return kt(e,o,r);if(e.features&512&&t===Set)return Pt(e,o,r);if(e.features&8192)switch(t){case URL:return re(o,r);case URLSearchParams:return ne(o,r);case Blob:return Nn(e,o,r);case File:return vn(e,o,r);case Headers:return It(e,o,r);case FormData:return ht(e,o,r);case Request:return Dt(e,o,r);case Response:return Tt(e,o,r);case Event:return Ft(e,o,r);case CustomEvent:return jt(e,o,r);case DOMException:return oe(o,r);default:break}if(e.features&1&&(t===AggregateError||r instanceof AggregateError))return zt(e,o,r);if(e.features&256&&(t===Promise||r instanceof Promise))return Ot(e,o,r);if(r instanceof Error)return yn(e,o,r);if(e.features&1024&&Symbol.iterator in r)return Cr(e,o,r,!!t);throw new v(r)}async function T(e,r){let n=typeof r;if(e.features&8&&n==="bigint")return Z(e,r);switch(n){case"boolean":return r?W:G;case"undefined":return $;case"string":return J(r);case"number":return Y(r);case"object":return De(e,r);case"symbol":return Ae(e,r);case"function":return Re(e,r);default:throw new v(r)}}function w(e){return se+"["+e+"]"}function Rr(e,r,n){r!==0&&e.flags.push({type:r,value:w(n)})}function Cn(e){let r=fe(e.assignments),n=Xe(e.flags);return r?n?r+n:r:n}function En(e,r,n){e.assignments.push({t:"index",s:r,k:void 0,v:n})}function Lt(e,r,n){e.assignments.push({t:"add",s:w(r),k:void 0,v:n})}function wr(e,r,n,o){e.assignments.push({t:"set",s:w(r),k:n,v:o})}function xt(e,r,n,o){e.assignments.push({t:"append",s:w(r),k:n,v:o})}function Te(e,r,n,o){En(e,w(r)+"["+n+"]",o)}function Ar(e,r,n,o){En(e,w(r)+"."+n,o)}function y(e,r){return w(e)+"="+r}function me(e,r){return r.t===4&&e.stack.includes(r.i)}function Ut(e,r){let n=r.i;e.stack.push(n);let o="",t,a=!1,s=r.a;for(let l=0,i=r.l;l<i;l++)l!==0&&(o+=","),t=s[l],t?me(e,t)?(Te(e,n,l,w(t.i)),a=!0):(o+=N(e,t),a=!1):a=!0;return e.stack.pop(),Rr(e,r.o,r.i),y(n,"["+o+(a?",]":"]"))}function wn(e){return e.features&2?".values()":"[Symbol.iterator]()"}function Vt(e,r){let n=e.stack;e.stack=[];let o=N(e,r)+wn(e);return e.stack=n,e.features&4?o="[Symbol.iterator]:()=>"+o:e.features&64?o="[Symbol.iterator](){return "+o+"}":o="[Symbol.iterator]:function(){return "+o+"}",o}function kr(e,r,n){let o=n.s;if(o===0)return"{}";let t="";e.stack.push(r);let a,s,l,i,d,f=!1,c=n.k,u=n.v;for(let C=0;C<o;C++)switch(a=c[C],s=u[C],a){case 0:t+=(f?",":"")+Vt(e,s),f=!0;break;default:l=Number(a),i=l>=0||ve(a),me(e,s)?(d=w(s.i),i&&Number.isNaN(l)?Ar(e,r,a,d):Te(e,r,i?a:'"'+a+'"',d)):(t+=(f?",":"")+(i?a:'"'+a+'"')+":"+N(e,s),f=!0);break}return e.stack.pop(),"{"+t+"}"}function Mt(e,r,n,o){let t=kr(e,n,r);return t!=="{}"?"Object.assign("+o+","+t+")":o}function _t(e,r,n){e.stack.push(r);let o=[],t,a,s,l=n.k,i=n.v;for(let d=0,f=n.s;d<f;d++)switch(t=l[d],a=i[d],t){case 0:{let c=e.stack;e.stack=[];let u=N(e,a)+wn(e);e.stack=c,s=e.assignments,e.assignments=o,Te(e,r,"Symbol.iterator",e.features&4?"()=>"+u:"function(){return "+u+"}"),e.assignments=s}break;default:{let c=N(e,a),u=Number(t),C=u>=0||ve(t);me(e,a)?C&&Number.isNaN(u)?Ar(e,r,t,c):Te(e,r,C?t:'"'+t+'"',c):(s=e.assignments,e.assignments=o,C&&Number.isNaN(u)?Ar(e,r,t,c):Te(e,r,C?t:'"'+t+'"',c),e.assignments=s)}}return e.stack.pop(),fe(o)}function Pr(e,r,n,o){if(n)if(e.features&128)o=Mt(e,n,r,o);else{let t=_t(e,r,n);if(t)return"("+y(r,o)+","+t+w(r)+")"}return y(r,o)}var Kt="Object.create(null)";function Ht(e,r){return Rr(e,r.o,r.i),Pr(e,r.i,r.p,Kt)}function qt(e,r){return Rr(e,r.o,r.i),y(r.i,kr(e,r.i,r.p))}function Wt(e,r){let n="new Set",o=r.l,t=r.i;if(o){let a="",s,l=!1,i=r.a;e.stack.push(t);for(let d=0;d<o;d++)s=i[d],me(e,s)?Lt(e,t,w(s.i)):(a+=(l?",":"")+N(e,s),l=!0);e.stack.pop(),a&&(n+="(["+a+"])")}return y(t,n)}function Gt(e,r){let n="new Map",o=r.e.s,t=r.i;if(o){let a="",s,l,i,d,f,c=!1,u=r.e.k,C=r.e.v;e.stack.push(t);for(let S=0;S<o;S++)s=u[S],l=C[S],me(e,s)?(i=w(t),me(e,l)?(d=w(l.i),wr(e,t,i,d)):(f=e.stack,e.stack=[],wr(e,t,i,N(e,l)),e.stack=f)):me(e,l)?(d=w(l.i),f=e.stack,e.stack=[],wr(e,t,N(e,s),d),e.stack=f):(a+=(c?",[":"[")+N(e,s)+","+N(e,l)+"]",c=!0);e.stack.pop(),a&&(n+="(["+a+"])")}return y(t,n)}function $t(e,r){let n=r.i;e.stack.push(n);let o='new AggregateError([],"'+r.m+'")';return e.stack.pop(),Pr(e,n,r.p,o)}function Xt(e,r){return Pr(e,r.i,r.p,"new "+r.c+'("'+r.m+'")')}var Yt="Promise.resolve",Jt="Promise.reject";function Zt(e,r){let n,o=r.f,t=r.i,a=r.s?Yt:Jt;if(me(e,o)){let s=w(o.i);e.features&4?r.s?n=a+"().then(()=>"+s+")":n=a+"().catch(()=>{throw "+s+"})":r.s?n=a+"().then(function(){return "+s+"})":n=a+"().catch(function(){throw "+s+"})"}else{e.stack.push(t);let s=N(e,o);e.stack.pop(),n=a+"("+s+")"}return y(t,n)}function Qt(e){let r="new Uint8Array(",n=e.s,o=n.length;if(o){r+="[";for(let t=0;t<o;t++)r+=(t>0?",":"")+n[t];r+="]"}return y(e.i,r+").buffer")}function ea(e,r){return y(r.i,"new "+r.c+"("+N(e,r.f)+","+r.b+","+r.l+")")}function ra(e){return y(e.i,'new Date("'+e.s+'")')}function na(e){return y(e.i,"/"+e.c+"/"+e.m)}function oa(e){return y(e.i,'new URL("'+e.s+'")')}function ta(e){return y(e.i,e.s?'new URLSearchParams("'+e.s+'")':"new URLSearchParams")}function aa(e){return y(e.i,ie+'.get("'+e.s+'")')}function sa(e,r){return y(r.i,"new DataView("+N(e,r.f)+","+r.b+","+r.l+")")}function ia(e,r){return y(r.i,"new Blob(["+N(e,r.f)+'],{type:"'+r.c+'"})')}function da(e,r){return y(r.i,"new File(["+N(e,r.f)+'],"'+r.m+'",{type:"'+r.c+'",lastModified:'+r.b+"})")}function ua(e,r){return y(r.i,"new Headers("+kr(e,r.i,r.e)+")")}function fa(e,r){let n,o,t=r.e.k,a=r.e.v,s=r.i,l=[],i;e.stack.push(s);for(let d=0,f=r.e.s;d<f;d++)o=t[d],n=N(e,a[d]),i=e.assignments,e.assignments=l,xt(e,s,'"'+o+'"',n),e.assignments=i;return e.stack.pop(),fe(l)}function la(e,r){let n=r.e.s,o=r.i,t=y(o,"new FormData()");if(n){let a=fa(e,r);return"("+t+","+(a==null?"":a)+w(o)+")"}return t}function ca(e,r){return y(r.i,"Object("+N(e,r.f)+")")}function ma(e){return y(e.i,Le[e.s])}function Sa(e,r){return X+"."+or+"("+w(r.i)+","+N(e,r.f)+")"}function pa(e,r){return X+"."+tr+"("+w(r.i)+","+N(e,r.f)+")"}function Na(e){return y(e.i,X+"."+nr+"()")}function va(e){return X+"."+Oe+"("+w(e.i)+",2)"}function ya(e,r){return X+"."+Oe+"("+w(r.i)+",0,"+N(e,r.f)+")"}function ga(e,r){return X+"."+Oe+"("+w(r.i)+",1,"+N(e,r.f)+")"}function ba(e){return y(e.i,X+"."+ar+"()")}function Ca(e,r){return y(r.i,'new Request("'+r.s+'",'+N(e,r.f)+")")}function Ea(e,r){return y(r.i,"new Response("+N(e,r.a[0])+","+N(e,r.a[1])+")")}function wa(e,r){return y(r.i,'new Event("'+r.s+'",'+N(e,r.f)+")")}function Aa(e,r){return y(r.i,'new CustomEvent("'+r.s+'",'+N(e,r.f)+")")}function Ra(e){return y(e.i,'new DOMException("'+e.s+'","'+e.c+'")')}function N(e,r){switch(r.t){case 0:return""+r.s;case 1:return'"'+r.s+'"';case 2:return xe(r);case 3:return r.s+"n";case 4:return w(r.i);case 9:return Ut(e,r);case 10:return qt(e,r);case 11:return Ht(e,r);case 5:return ra(r);case 6:return na(r);case 7:return Wt(e,r);case 8:return Gt(e,r);case 21:return Qt(r);case 16:case 15:return ea(e,r);case 22:return sa(e,r);case 14:return $t(e,r);case 13:return Xt(e,r);case 12:return Zt(e,r);case 17:return ma(r);case 18:return oa(r);case 19:return ta(r);case 20:return aa(r);case 23:return ia(e,r);case 24:return da(e,r);case 25:return ua(e,r);case 26:return la(e,r);case 27:return ca(e,r);case 29:return Sa(e,r);case 30:return pa(e,r);case 28:return Na(r);case 33:return va(r);case 31:return ba(r);case 32:return ya(e,r);case 34:return ga(e,r);case 35:return Ca(e,r);case 36:return Ea(e,r);case 37:return wa(e,r);case 38:return Aa(e,r);case 39:return Ra(r);default:throw new Error("invariant")}}function ka(e,r){let n=r.length,o=new Array(n),t=new Array(n),a;for(let s=0;s<n;s++)s in r&&(a=r[s],p(a)?t[s]=a:o[s]=P(e,a));for(let s=0;s<n;s++)s in t&&(o[s]=P(e,t[s]));return o}function Rn(e,r,n){return{t:9,i:r,s:void 0,l:n.length,c:void 0,m:void 0,p:void 0,e:void 0,a:ka(e,n),f:void 0,b:void 0,o:U(n)}}function Pa(e,r,n){let o=n.size,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0;for(let[f,c]of n.entries())p(f)||p(c)?(s[i]=f,l[i]=c,i++):(t[d]=P(e,f),a[d]=P(e,c),d++);for(let f=0;f<i;f++)t[d+f]=P(e,s[f]),a[d+f]=P(e,l[f]);return{t:8,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:{k:t,v:a,s:o},a:void 0,f:void 0,b:void 0,o:void 0}}function Oa(e,r,n){let o=n.size,t=new Array(o),a=new Array(o),s=0,l=0;for(let i of n.keys())p(i)?a[s++]=i:t[l++]=P(e,i);for(let i=0;i<s;i++)t[l+i]=P(e,a[i]);return{t:7,i:r,s:void 0,l:o,c:void 0,m:void 0,p:void 0,e:void 0,a:t,f:void 0,b:void 0,o:void 0}}function zr(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0,f,c;for(let u of n)f=r[u],c=m(u),p(f)?(s[i]=c,l[i]=f,i++):(t[d]=c,a[d]=P(e,f),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=P(e,l[u]);if(e.features&1024&&Symbol.iterator in r){t[o]=0;let u=Array.from(r);a[o]=Rn(e,be(e,u),u),o++}return{k:t,v:a,s:o}}function kn(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0,f,c;for(let u of n)f=r[u],c=m(u),p(f)?(s[i]=c,l[i]=f,i++):(t[d]=c,a[d]=P(e,f),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=P(e,l[u]);return{k:t,v:a,s:o}}function za(e,r,n){return n.then(o=>{e.alive&&(e.onParse({t:29,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:P(e,o),b:void 0,o:void 0},!1),Be(e))},o=>{e.alive&&(e.onParse({t:30,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:P(e,o),b:void 0,o:void 0},!1),Be(e))}),br(e),{t:28,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function Or(e,r,n,o){return{t:o?11:10,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:zr(e,n),e:void 0,a:void 0,f:void 0,b:void 0,o:U(n)}}function Ia(e,r,n){let o=x(e,n),t=o?zr(e,o):void 0;return{t:14,i:r,s:void 0,l:void 0,c:void 0,m:m(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function An(e,r,n){let o=x(e,n),t=o?zr(e,o):void 0;return{t:13,i:r,s:void 0,l:void 0,c:H(n),m:m(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function ha(e,r,n){let o={};return n.forEach((t,a)=>{o[a]=t}),{t:25,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:kn(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}function Ba(e,r,n){let o={};return n.forEach((t,a)=>{o[a]=t}),{t:26,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:kn(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}function Da(e,r,n){return{t:27,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:P(e,n.valueOf()),b:void 0,o:void 0}}function Ta(e,r,n){let o=n.getReader();br(e);function t(){o.read().then(a=>{e.alive&&(a.done?(e.onParse({t:33,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0},!1),Be(e)):(e.onParse({t:32,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:P(e,a.value),b:void 0,o:void 0},!1),t()))},a=>{e.alive&&(e.onParse({t:34,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:P(e,a),b:void 0,o:void 0},!1),Be(e))})}return t(),{t:31,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function Fa(e,r,n){return{t:35,i:r,s:m(n.url),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,f:ke(e,ye(n,n.clone().body)),a:void 0,b:void 0,o:void 0}}function ja(e,r,n){return{t:36,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,f:void 0,a:[n.body?ke(e,n.clone().body):_,ke(e,ge(n))],b:void 0,o:void 0}}function La(e,r,n){return{t:37,i:r,s:m(n.type),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:ke(e,te(n)),b:void 0,o:void 0}}function xa(e,r,n){return{t:38,i:r,s:m(n.type),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:ke(e,ae(n)),b:void 0,o:void 0}}function ke(e,r){if(!r)return _;let n=e.refs.get(r);if(n!=null)return z(n);let o=e.refs.size;if(e.refs.set(r,o),B(r))return F(o,r);if(Array.isArray(r))return Rn(e,o,r);let t=r.constructor;switch(t){case Number:case Boolean:case String:case BigInt:case Function:case Symbol:return Da(e,o,r);case Date:return Q(o,r);case RegExp:return ee(o,r);case Object:return Or(e,o,r,!1);case void 0:return Or(e,o,r,!0);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return An(e,o,r);default:break}if(e.features&2048)switch(t){case ArrayBuffer:return V(o,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return Ce(e,o,r);case DataView:return we(e,o,r);default:break}if((e.features&4104)===4104)switch(t){case BigInt64Array:case BigUint64Array:return Ee(e,o,r);default:break}if(e.features&32&&t===Map)return Pa(e,o,r);if(e.features&512&&t===Set)return Oa(e,o,r);if(e.features&8192)switch(t){case URL:return re(o,r);case URLSearchParams:return ne(o,r);case Headers:return ha(e,o,r);case FormData:return Ba(e,o,r);case ReadableStream:return Ta(e,o,r);case Request:return Fa(e,o,r);case Response:return ja(e,o,r);case Event:return La(e,o,r);case CustomEvent:return xa(e,o,r);case DOMException:return oe(o,r);default:break}if(e.features&1&&(t===AggregateError||r instanceof AggregateError))return Ia(e,o,r);if(e.features&256&&(t===Promise||r instanceof Promise))return za(e,o,r);if(r instanceof Error)return An(e,o,r);if(e.features&1024&&Symbol.iterator in r)return Or(e,o,r,!!t);throw new v(r)}function P(e,r){let n=typeof r;if(e.features&8&&n==="bigint")return Z(e,r);switch(n){case"boolean":return r?W:G;case"undefined":return $;case"string":return J(r);case"number":return Y(r);case"object":return ke(e,r);case"symbol":return Ae(e,r);case"function":return Re(e,r);default:throw new v(r)}}function Ua(e,r){let n=r.length,o=new Array(n),t=new Array(n),a;for(let s=0;s<n;s++)s in r&&(a=r[s],p(a)?t[s]=a:o[s]=j(e,a));for(let s=0;s<n;s++)s in t&&(o[s]=j(e,t[s]));return o}function On(e,r,n){return{t:9,i:r,s:void 0,l:n.length,c:void 0,m:void 0,p:void 0,e:void 0,a:Ua(e,n),f:void 0,b:void 0,o:U(n)}}function Va(e,r,n){let o=n.size,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0;for(let[f,c]of n.entries())p(f)||p(c)?(s[i]=f,l[i]=c,i++):(t[d]=j(e,f),a[d]=j(e,c),d++);for(let f=0;f<i;f++)t[d+f]=j(e,s[f]),a[d+f]=j(e,l[f]);return{t:8,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:{k:t,v:a,s:o},a:void 0,f:void 0,b:void 0,o:void 0}}function Ma(e,r,n){let o=n.size,t=new Array(o),a=new Array(o),s=0,l=0;for(let i of n.keys())p(i)?a[s++]=i:t[l++]=j(e,i);for(let i=0;i<s;i++)t[l+i]=j(e,a[i]);return{t:7,i:r,s:void 0,l:o,c:void 0,m:void 0,p:void 0,e:void 0,a:t,f:void 0,b:void 0,o:void 0}}function hr(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0,f,c;for(let u of n)f=r[u],c=m(u),p(f)?(s[i]=c,l[i]=f,i++):(t[d]=c,a[d]=j(e,f),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=j(e,l[u]);if(e.features&1024&&Symbol.iterator in r){t[o]=0;let u=Array.from(r);a[o]=On(e,be(e,u),u),o++}return{k:t,v:a,s:o}}function zn(e,r){let n=Object.keys(r),o=n.length,t=new Array(o),a=new Array(o),s=new Array(o),l=new Array(o),i=0,d=0,f,c;for(let u of n)f=r[u],c=m(u),p(f)?(s[i]=c,l[i]=f,i++):(t[d]=c,a[d]=j(e,f),d++);for(let u=0;u<i;u++)t[d+u]=s[u],a[d+u]=j(e,l[u]);return{k:t,v:a,s:o}}function Ir(e,r,n,o){return{t:o?11:10,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:hr(e,n),e:void 0,a:void 0,f:void 0,b:void 0,o:U(n)}}function _a(e,r,n){let o=x(e,n),t=o?hr(e,o):void 0;return{t:14,i:r,s:void 0,l:void 0,c:void 0,m:m(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function Pn(e,r,n){let o=x(e,n),t=o?hr(e,o):void 0;return{t:13,i:r,s:void 0,l:void 0,c:H(n),m:m(n.message),p:t,e:void 0,a:void 0,f:void 0,b:void 0,o:void 0}}function Ka(e,r,n){let o={};return n.forEach((t,a)=>{o[a]=t}),{t:25,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:zn(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}function Ha(e,r,n){let o={};return n.forEach((t,a)=>{o[a]=t}),{t:26,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:zn(e,o),a:void 0,f:void 0,b:void 0,o:void 0}}function qa(e,r,n){return{t:27,i:r,s:void 0,l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:j(e,n.valueOf()),b:void 0,o:void 0}}function Wa(e,r,n){return{t:37,i:r,s:m(n.type),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:Br(e,te(n)),b:void 0,o:void 0}}function Ga(e,r,n){return{t:38,i:r,s:m(n.type),l:void 0,c:void 0,m:void 0,p:void 0,e:void 0,a:void 0,f:Br(e,ae(n)),b:void 0,o:void 0}}function Br(e,r){if(!r)return _;let n=e.refs.get(r);if(n!=null)return z(n);let o=e.refs.size;if(e.refs.set(r,o),B(r))return F(o,r);if(Array.isArray(r))return On(e,o,r);let t=r.constructor;switch(t){case Number:case Boolean:case String:case BigInt:return qa(e,o,r);case Date:return Q(o,r);case RegExp:return ee(o,r);case Object:return Ir(e,o,r,!1);case void 0:return Ir(e,o,r,!0);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return Pn(e,o,r);default:break}if(e.features&2048)switch(t){case ArrayBuffer:return V(o,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return Ce(e,o,r);case DataView:return we(e,o,r);default:break}if((e.features&4104)===4104)switch(t){case BigInt64Array:case BigUint64Array:return Ee(e,o,r);default:break}if(e.features&32&&t===Map)return Va(e,o,r);if(e.features&512&&t===Set)return Ma(e,o,r);if(e.features&8192)switch(t){case URL:return re(o,r);case URLSearchParams:return ne(o,r);case Headers:return Ka(e,o,r);case FormData:return Ha(e,o,r);case Event:return Wa(e,o,r);case CustomEvent:return Ga(e,o,r);case DOMException:return oe(o,r);default:break}if(e.features&1&&(t===AggregateError||r instanceof AggregateError))return _a(e,o,r);if(r instanceof Error)return Pn(e,o,r);if(e.features&1024&&Symbol.iterator in r)return Ir(e,o,r,!!t);throw new v(r)}function j(e,r){let n=typeof r;if(e.features&8&&n==="bigint")return Z(e,r);switch(n){case"boolean":return r?W:G;case"undefined":return $;case"string":return J(r);case"number":return Y(r);case"object":return Br(e,r);case"symbol":return Ae(e,r);case"function":return Re(e,r);default:throw new v(r)}}function Dr(e,r,n,o){if(n==null)return o;let t=Cn(e),a=w(n),s=r==null?"":se,l=t?o+","+t:o;if(s==="")return t?"("+l+a+")":l;let i=r==null?"()":"("+se+'["'+m(r)+'"])',d=l+(t?a:"");return e.features&4?"("+s+"=>("+d+"))"+i:"(function("+s+"){return "+d+"})"+i}function $a(e,r){let n=gr(r),o=j(n,e),t=Ye({features:n.features}),a=N(t,o);return Dr(t,n.scopeId,o.i,a)}async function Xa(e,r){let n=gr(r),o=await T(n,e),t=Ye({features:n.features}),a=N(t,o);return Dr(t,n.scopeId,o.i,a)}function Tr(e,r){let n=Sn({scopeId:r.scopeId,refs:r.refs,disabledFeatures:r.disabledFeatures,onParse(o,t){let a=Ye({features:n.features});r.onSerialize(Dr(a,n.scopeId,o.i,N(a,o)),t)},onDone:r.onDone});return n.onParse(P(n,e),!0),n.pending<=0&&(n.onDone(),n.alive=!1),()=>{n.alive&&(n.alive=!1,n.onDone())}}var Fe=class{constructor(r){this.options=r;Se(this,"alive",!0);Se(this,"flushed",!1);Se(this,"done",!1);Se(this,"pending",0);Se(this,"cleanups",[]);Se(this,"refs",new Map)}write(r,n){this.alive&&!this.flushed&&(this.pending++,this.cleanups.push(Tr(n,{scopeId:this.options.scopeId,refs:this.refs,disabledFeatures:this.options.disabledFeatures,onSerialize:(o,t)=>{this.alive&&this.options.onData(t?this.options.globalIdentifier+'["'+m(r)+'"]='+o:o)},onDone:()=>{this.alive&&(this.pending--,this.pending<=0&&this.flushed&&!this.done&&this.options.onDone&&(this.options.onDone(),this.done=!0))}})))}flush(){this.alive&&(this.flushed=!0,this.pending<=0&&!this.done&&this.options.onDone&&(this.options.onDone(),this.done=!0))}close(){if(this.alive){for(let r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();!this.done&&this.options.onDone&&(this.options.onDone(),this.done=!0),this.alive=!1}}};var Ya=yr;
|