diff --git a/docs/404.html b/docs/404.html new file mode 100644 index 0000000..eafeb51 --- /dev/null +++ b/docs/404.html @@ -0,0 +1,15 @@ + + + + + + + HyperQuark + + + + +
+ + + diff --git a/docs/assets/AboutView-b68354b6.js b/docs/assets/AboutView-b68354b6.js new file mode 100644 index 0000000..a4259dd --- /dev/null +++ b/docs/assets/AboutView-b68354b6.js @@ -0,0 +1 @@ +import{_ as e,o as t,c as s,a}from"./index-19163c0d.js";const o={},r={class:"about"},c=a('

This is an about page.

HyperQuark compiles Scratch projects to WebAssembly in an attempt to make them faster. It was created by pufferfish101007 and was written in Rust mainly, with the exception of this website which uses Vue. The source code is available on Github.

',2),h=[c];function i(n,u){return t(),s("div",r,h)}const p=e(o,[["render",i]]);export{p as default}; diff --git a/docs/assets/AboutView-e27ce503.css b/docs/assets/AboutView-e27ce503.css new file mode 100644 index 0000000..cf6d780 --- /dev/null +++ b/docs/assets/AboutView-e27ce503.css @@ -0,0 +1 @@ +@media (min-width: 1024px){.about{min-height:100vh;display:flex;align-items:center;flex-direction:column;text-align:center}} diff --git a/docs/assets/HomeView-014b65ab.css b/docs/assets/HomeView-014b65ab.css new file mode 100644 index 0000000..d395415 --- /dev/null +++ b/docs/assets/HomeView-014b65ab.css @@ -0,0 +1 @@ +.inline-block[data-v-b0d7b0b7]{display:inline-block}input[type=number][data-v-b0d7b0b7]{width:12ch;color:var(--color-text);background:var(--color-background);border:0;[data-v-b0d7b0b7]:focus{outline:none}}.projinput[data-v-b0d7b0b7]{font-family:monospace;font-size:12px;padding:0;border:var(--color-border) solid 1px}h1[data-v-b1223993]{font-size:2rem;font-weight:500;margin-bottom:1rem}span#blazing[data-v-b1223993]{font-style:italic;text-decoration:line-through} diff --git a/docs/assets/HomeView-e6445906.js b/docs/assets/HomeView-e6445906.js new file mode 100644 index 0000000..423ba85 --- /dev/null +++ b/docs/assets/HomeView-e6445906.js @@ -0,0 +1 @@ +import{_ as d,u as I,r,o as c,c as u,b as o,t as j,d as e,w as x,v as w,e as p,F as m,p as b,f as v,g,h as V}from"./index-19163c0d.js";import{_ as S}from"./ProjectFileInput-da36d62d.js";const $=t=>(b("data-v-b0d7b0b7"),t=t(),v(),t),H={key:0},N=$(()=>e("summary",null,"An error occured",-1)),P={class:".inline-block"},B={class:"inline-block"},C={__name:"ProjectInput",setup(t){const _=I(),n=r(""),s=r(null);r(null);const l=r(null);function f(){if(!/^\d+$/.test(n.value))return alert("invalid project id");_.push({name:"projectIdPlayer",params:{id:n.value}})}function y(i){l.value=i}return(i,a)=>l.value?(c(),u("details",H,[N,o(" "+j(l.value),1)])):(c(),u(m,{key:1},[e("span",P,[o("Enter a project id: "),e("span",{class:"projinput inline-block",tabindex:"0",onFocus:a[1]||(a[1]=()=>s.value.focus())},[o("https://scratch.mit.edu/projects/"),x(e("input",{type:"number",min:"1",placeholder:"771449498",ref_key:"numInput",ref:s,"onUpdate:modelValue":a[0]||(a[0]=k=>n.value=k)},null,512),[[w,n.value]])],32),e("button",{onClick:f},"Go!")]),o(),e("span",B,[o("or upload a project: "),p(S,{onError:y})])],64))}},E=d(C,[["__scopeId","data-v-b0d7b0b7"]]);const h=t=>(b("data-v-b1223993"),t=t(),v(),t),F=h(()=>e("header",null,[e("h1",null,"HyperQuark")],-1)),L=h(()=>e("div",null,[o("HyperQuark compiles Scratch projects to WebAssembly in order to run them "),e("span",{id:"blazing"},"⚡ blazingly fast ⚡"),o(" really quickly.")],-1)),R={__name:"HomeView",setup(t){return(_,n)=>{const s=g("RouterLink");return c(),u(m,null,[F,e("main",null,[L,e("div",null,[p(s,{to:"/about"},{default:V(()=>[o("Learn more")]),_:1})]),p(E)])],64)}}},D=d(R,[["__scopeId","data-v-b1223993"]]);export{D as default}; diff --git a/docs/assets/ProjectFileInput-da36d62d.js b/docs/assets/ProjectFileInput-da36d62d.js new file mode 100644 index 0000000..4aa4c8a --- /dev/null +++ b/docs/assets/ProjectFileInput-da36d62d.js @@ -0,0 +1,18 @@ +import{k as commonjsGlobal,l as process,m as buffer,n as getDefaultExportFromCjs,q as defineStore,r as ref$1,u as useRouter,o as openBlock,j as createBlock,c as createElementBlock,L as Loading}from"./index-19163c0d.js";const processFn=(e,l)=>function(...u){const r=l.promiseModule;return new r((n,t)=>{l.multiArgs?u.push((...i)=>{l.errorFirst?i[0]?t(i):(i.shift(),n(i)):n(i)}):l.errorFirst?u.push((i,s)=>{i?t(i):n(s)}):u.push(n),e.apply(this,u)})};var pify$1=(e,l)=>{l=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},l);const u=typeof e;if(!(e!==null&&(u==="object"||u==="function")))throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${e===null?"null":u}\``);const r=t=>{const i=s=>typeof s=="string"?t===s:s.test(t);return l.include?l.include.some(i):!l.exclude.some(i)};let n;u==="function"?n=function(...t){return l.excludeMain?e(...t):processFn(e,l).apply(this,t)}:n=Object.create(Object.getPrototypeOf(e));for(const t in e){const i=e[t];n[t]=typeof i=="function"&&r(t)?processFn(i,l):i}return n},utf8={},utils={},support={},events={exports:{}},hasRequiredEvents;function requireEvents(){if(hasRequiredEvents)return events.exports;hasRequiredEvents=1;var e=typeof Reflect=="object"?Reflect:null,l=e&&typeof e.apply=="function"?e.apply:function(E,x,q){return Function.prototype.apply.call(E,x,q)},u;e&&typeof e.ownKeys=="function"?u=e.ownKeys:Object.getOwnPropertySymbols?u=function(E){return Object.getOwnPropertyNames(E).concat(Object.getOwnPropertySymbols(E))}:u=function(E){return Object.getOwnPropertyNames(E)};function r(_){console&&console.warn&&console.warn(_)}var n=Number.isNaN||function(E){return E!==E};function t(){t.init.call(this)}events.exports=t,events.exports.once=p,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._eventsCount=0,t.prototype._maxListeners=void 0;var i=10;function s(_){if(typeof _!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof _)}Object.defineProperty(t,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(_){if(typeof _!="number"||_<0||n(_))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+_+".");i=_}}),t.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(E){if(typeof E!="number"||E<0||n(E))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+E+".");return this._maxListeners=E,this};function o(_){return _._maxListeners===void 0?t.defaultMaxListeners:_._maxListeners}t.prototype.getMaxListeners=function(){return o(this)},t.prototype.emit=function(E){for(var x=[],q=1;q0&&(V=x[0]),V instanceof Error)throw V;var u2=new Error("Unhandled error."+(V?" ("+V.message+")":""));throw u2.context=V,u2}var e2=j[E];if(e2===void 0)return!1;if(typeof e2=="function")l(e2,this,x);else for(var J=e2.length,a2=h(e2,J),q=0;q0&&V.length>T&&!V.warned){V.warned=!0;var u2=new Error("Possible EventEmitter memory leak detected. "+V.length+" "+String(E)+" listeners added. Use emitter.setMaxListeners() to increase limit");u2.name="MaxListenersExceededWarning",u2.emitter=_,u2.type=E,u2.count=V.length,r(u2)}return _}t.prototype.addListener=function(E,x){return g(this,E,x,!1)},t.prototype.on=t.prototype.addListener,t.prototype.prependListener=function(E,x){return g(this,E,x,!0)};function m(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(_,E,x){var q={fired:!1,wrapFn:void 0,target:_,type:E,listener:x},T=m.bind(q);return T.listener=x,q.wrapFn=T,T}t.prototype.once=function(E,x){return s(x),this.on(E,d(this,E,x)),this},t.prototype.prependOnceListener=function(E,x){return s(x),this.prependListener(E,d(this,E,x)),this},t.prototype.removeListener=function(E,x){var q,T,j,V,u2;if(s(x),T=this._events,T===void 0)return this;if(q=T[E],q===void 0)return this;if(q===x||q.listener===x)--this._eventsCount===0?this._events=Object.create(null):(delete T[E],T.removeListener&&this.emit("removeListener",E,q.listener||x));else if(typeof q!="function"){for(j=-1,V=q.length-1;V>=0;V--)if(q[V]===x||q[V].listener===x){u2=q[V].listener,j=V;break}if(j<0)return this;j===0?q.shift():S(q,j),q.length===1&&(T[E]=q[0]),T.removeListener!==void 0&&this.emit("removeListener",E,u2||x)}return this},t.prototype.off=t.prototype.removeListener,t.prototype.removeAllListeners=function(E){var x,q,T;if(q=this._events,q===void 0)return this;if(q.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):q[E]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete q[E]),this;if(arguments.length===0){var j=Object.keys(q),V;for(T=0;T=0;T--)this.removeListener(E,x[T]);return this};function c(_,E,x){var q=_._events;if(q===void 0)return[];var T=q[E];return T===void 0?[]:typeof T=="function"?x?[T.listener||T]:[T]:x?v(T):h(T,T.length)}t.prototype.listeners=function(E){return c(this,E,!0)},t.prototype.rawListeners=function(E){return c(this,E,!1)},t.listenerCount=function(_,E){return typeof _.listenerCount=="function"?_.listenerCount(E):a.call(_,E)},t.prototype.listenerCount=a;function a(_){var E=this._events;if(E!==void 0){var x=E[_];if(typeof x=="function")return 1;if(x!==void 0)return x.length}return 0}t.prototype.eventNames=function(){return this._eventsCount>0?u(this._events):[]};function h(_,E){for(var x=new Array(E),q=0;q"u"||!m?e:m(Uint8Array),a={"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":o&&m?m([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":u,"%GeneratorFunction%":d,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":o&&m?m(m([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!o||!m?e:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!o||!m?e:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":o&&m?m(""[Symbol.iterator]()):e,"%Symbol%":o?Symbol:e,"%SyntaxError%":l,"%ThrowTypeError%":s,"%TypedArray%":c,"%TypeError%":r,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet};if(m)try{null.error}catch(e2){var h=m(m(e2));a["%Error.prototype%"]=h}var S=function e2(J){var a2;if(J==="%AsyncFunction%")a2=n("async function () {}");else if(J==="%GeneratorFunction%")a2=n("function* () {}");else if(J==="%AsyncGeneratorFunction%")a2=n("async function* () {}");else if(J==="%AsyncGenerator%"){var m2=e2("%AsyncGeneratorFunction%");m2&&(a2=m2.prototype)}else if(J==="%AsyncIteratorPrototype%"){var g2=e2("%AsyncGenerator%");g2&&m&&(a2=m(g2.prototype))}return a[J]=a2,a2},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},p=requireFunctionBind(),b=requireSrc(),y=p.call(Function.call,Array.prototype.concat),_=p.call(Function.apply,Array.prototype.splice),E=p.call(Function.call,String.prototype.replace),x=p.call(Function.call,String.prototype.slice),q=p.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,j=/\\(\\)?/g,V=function(J){var a2=x(J,0,1),m2=x(J,-1);if(a2==="%"&&m2!=="%")throw new l("invalid intrinsic syntax, expected closing `%`");if(m2==="%"&&a2!=="%")throw new l("invalid intrinsic syntax, expected opening `%`");var g2=[];return E(J,T,function(f2,_2,s2,o2){g2[g2.length]=s2?E(o2,j,"$1"):_2||f2}),g2},u2=function(J,a2){var m2=J,g2;if(b(v,m2)&&(g2=v[m2],m2="%"+g2[0]+"%"),b(a,m2)){var f2=a[m2];if(f2===d&&(f2=S(m2)),typeof f2>"u"&&!a2)throw new r("intrinsic "+J+" exists, but is not available. Please file an issue!");return{alias:g2,name:m2,value:f2}}throw new l("intrinsic "+J+" does not exist!")};return getIntrinsic=function(J,a2){if(typeof J!="string"||J.length===0)throw new r("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof a2!="boolean")throw new r('"allowMissing" argument must be a boolean');if(q(/^%?[^%]*%?$/,J)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var m2=V(J),g2=m2.length>0?m2[0]:"",f2=u2("%"+g2+"%",a2),_2=f2.name,s2=f2.value,o2=!1,y2=f2.alias;y2&&(g2=y2[0],_(m2,y([0,1],y2)));for(var N=1,B=!0;N=m2.length){var I=t(s2,$);B=!!I,B&&"get"in I&&!("originalValue"in I.get)?s2=I.get:s2=s2[$]}else B=b(s2,$),s2=s2[$];B&&!o2&&(a[_2]=s2)}}return s2},getIntrinsic}var callBind={exports:{}},hasRequiredCallBind;function requireCallBind(){return hasRequiredCallBind||(hasRequiredCallBind=1,function(e){var l=requireFunctionBind(),u=requireGetIntrinsic(),r=u("%Function.prototype.apply%"),n=u("%Function.prototype.call%"),t=u("%Reflect.apply%",!0)||l.call(n,r),i=u("%Object.getOwnPropertyDescriptor%",!0),s=u("%Object.defineProperty%",!0),o=u("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}e.exports=function(d){var c=t(l,n,arguments);if(i&&s){var a=i(c,"length");a.configurable&&s(c,"length",{value:1+o(0,d.length-(arguments.length-1))})}return c};var g=function(){return t(l,r,arguments)};s?s(e.exports,"apply",{value:g}):e.exports.apply=g}(callBind)),callBind.exports}var callBound,hasRequiredCallBound;function requireCallBound(){if(hasRequiredCallBound)return callBound;hasRequiredCallBound=1;var e=requireGetIntrinsic(),l=requireCallBind(),u=l(e("String.prototype.indexOf"));return callBound=function(n,t){var i=e(n,!!t);return typeof i=="function"&&u(n,".prototype.")>-1?l(i):i},callBound}var isArguments,hasRequiredIsArguments;function requireIsArguments(){if(hasRequiredIsArguments)return isArguments;hasRequiredIsArguments=1;var e=requireShams()(),l=requireCallBound(),u=l("Object.prototype.toString"),r=function(s){return e&&s&&typeof s=="object"&&Symbol.toStringTag in s?!1:u(s)==="[object Arguments]"},n=function(s){return r(s)?!0:s!==null&&typeof s=="object"&&typeof s.length=="number"&&s.length>=0&&u(s)!=="[object Array]"&&u(s.callee)==="[object Function]"},t=function(){return r(arguments)}();return r.isLegacyArguments=n,isArguments=t?r:n,isArguments}var isGeneratorFunction,hasRequiredIsGeneratorFunction;function requireIsGeneratorFunction(){if(hasRequiredIsGeneratorFunction)return isGeneratorFunction;hasRequiredIsGeneratorFunction=1;var e=Object.prototype.toString,l=Function.prototype.toString,u=/^\s*(?:function)?\*/,r=requireShams()(),n=Object.getPrototypeOf,t=function(){if(!r)return!1;try{return Function("return function*() {}")()}catch{}},i;return isGeneratorFunction=function(o){if(typeof o!="function")return!1;if(u.test(l.call(o)))return!0;if(!r){var g=e.call(o);return g==="[object GeneratorFunction]"}if(!n)return!1;if(typeof i>"u"){var m=t();i=m?n(m):!1}return n(o)===i},isGeneratorFunction}var isCallable,hasRequiredIsCallable;function requireIsCallable(){if(hasRequiredIsCallable)return isCallable;hasRequiredIsCallable=1;var e=Function.prototype.toString,l=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,u,r;if(typeof l=="function"&&typeof Object.defineProperty=="function")try{u=Object.defineProperty({},"length",{get:function(){throw r}}),r={},l(function(){throw 42},null,u)}catch(b){b!==r&&(l=null)}else l=null;var n=/^\s*class\b/,t=function(y){try{var _=e.call(y);return n.test(_)}catch{return!1}},i=function(y){try{return t(y)?!1:(e.call(y),!0)}catch{return!1}},s=Object.prototype.toString,o="[object Object]",g="[object Function]",m="[object GeneratorFunction]",d="[object HTMLAllCollection]",c="[object HTML document.all class]",a="[object HTMLCollection]",h=typeof Symbol=="function"&&!!Symbol.toStringTag,S=!(0 in[,]),v=function(){return!1};if(typeof document=="object"){var p=document.all;s.call(p)===s.call(document.all)&&(v=function(y){if((S||!y)&&(typeof y>"u"||typeof y=="object"))try{var _=s.call(y);return(_===d||_===c||_===a||_===o)&&y("")==null}catch{}return!1})}return isCallable=l?function(y){if(v(y))return!0;if(!y||typeof y!="function"&&typeof y!="object")return!1;try{l(y,null,u)}catch(_){if(_!==r)return!1}return!t(y)&&i(y)}:function(y){if(v(y))return!0;if(!y||typeof y!="function"&&typeof y!="object")return!1;if(h)return i(y);if(t(y))return!1;var _=s.call(y);return _!==g&&_!==m&&!/^\[object HTML/.test(_)?!1:i(y)},isCallable}var forEach_1,hasRequiredForEach;function requireForEach(){if(hasRequiredForEach)return forEach_1;hasRequiredForEach=1;var e=requireIsCallable(),l=Object.prototype.toString,u=Object.prototype.hasOwnProperty,r=function(o,g,m){for(var d=0,c=o.length;d=3&&(d=m),l.call(o)==="[object Array]"?r(o,g,d):typeof o=="string"?n(o,g,d):t(o,g,d)};return forEach_1=i,forEach_1}var availableTypedArrays,hasRequiredAvailableTypedArrays;function requireAvailableTypedArrays(){if(hasRequiredAvailableTypedArrays)return availableTypedArrays;hasRequiredAvailableTypedArrays=1;var e=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],l=typeof globalThis>"u"?commonjsGlobal:globalThis;return availableTypedArrays=function(){for(var r=[],n=0;n"u"?commonjsGlobal:globalThis,o=l(),g=r("String.prototype.slice"),m=Object.getPrototypeOf,d=r("Array.prototype.indexOf",!0)||function(v,p){for(var b=0;b-1?p:p!=="Object"?!1:h(v)}return n?a(v):null},whichTypedArray}var isTypedArray,hasRequiredIsTypedArray;function requireIsTypedArray(){if(hasRequiredIsTypedArray)return isTypedArray;hasRequiredIsTypedArray=1;var e=requireWhichTypedArray();return isTypedArray=function(u){return!!e(u)},isTypedArray}var hasRequiredTypes;function requireTypes(){return hasRequiredTypes||(hasRequiredTypes=1,function(e){var l=requireIsArguments(),u=requireIsGeneratorFunction(),r=requireWhichTypedArray(),n=requireIsTypedArray();function t(C){return C.call.bind(C)}var i=typeof BigInt<"u",s=typeof Symbol<"u",o=t(Object.prototype.toString),g=t(Number.prototype.valueOf),m=t(String.prototype.valueOf),d=t(Boolean.prototype.valueOf);if(i)var c=t(BigInt.prototype.valueOf);if(s)var a=t(Symbol.prototype.valueOf);function h(C,W){if(typeof C!="object")return!1;try{return W(C),!0}catch{return!1}}e.isArgumentsObject=l,e.isGeneratorFunction=u,e.isTypedArray=n;function S(C){return typeof Promise<"u"&&C instanceof Promise||C!==null&&typeof C=="object"&&typeof C.then=="function"&&typeof C.catch=="function"}e.isPromise=S;function v(C){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(C):n(C)||B(C)}e.isArrayBufferView=v;function p(C){return r(C)==="Uint8Array"}e.isUint8Array=p;function b(C){return r(C)==="Uint8ClampedArray"}e.isUint8ClampedArray=b;function y(C){return r(C)==="Uint16Array"}e.isUint16Array=y;function _(C){return r(C)==="Uint32Array"}e.isUint32Array=_;function E(C){return r(C)==="Int8Array"}e.isInt8Array=E;function x(C){return r(C)==="Int16Array"}e.isInt16Array=x;function q(C){return r(C)==="Int32Array"}e.isInt32Array=q;function T(C){return r(C)==="Float32Array"}e.isFloat32Array=T;function j(C){return r(C)==="Float64Array"}e.isFloat64Array=j;function V(C){return r(C)==="BigInt64Array"}e.isBigInt64Array=V;function u2(C){return r(C)==="BigUint64Array"}e.isBigUint64Array=u2;function e2(C){return o(C)==="[object Map]"}e2.working=typeof Map<"u"&&e2(new Map);function J(C){return typeof Map>"u"?!1:e2.working?e2(C):C instanceof Map}e.isMap=J;function a2(C){return o(C)==="[object Set]"}a2.working=typeof Set<"u"&&a2(new Set);function m2(C){return typeof Set>"u"?!1:a2.working?a2(C):C instanceof Set}e.isSet=m2;function g2(C){return o(C)==="[object WeakMap]"}g2.working=typeof WeakMap<"u"&&g2(new WeakMap);function f2(C){return typeof WeakMap>"u"?!1:g2.working?g2(C):C instanceof WeakMap}e.isWeakMap=f2;function _2(C){return o(C)==="[object WeakSet]"}_2.working=typeof WeakSet<"u"&&_2(new WeakSet);function s2(C){return _2(C)}e.isWeakSet=s2;function o2(C){return o(C)==="[object ArrayBuffer]"}o2.working=typeof ArrayBuffer<"u"&&o2(new ArrayBuffer);function y2(C){return typeof ArrayBuffer>"u"?!1:o2.working?o2(C):C instanceof ArrayBuffer}e.isArrayBuffer=y2;function N(C){return o(C)==="[object DataView]"}N.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&N(new DataView(new ArrayBuffer(1),0,1));function B(C){return typeof DataView>"u"?!1:N.working?N(C):C instanceof DataView}e.isDataView=B;var $=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function D(C){return o(C)==="[object SharedArrayBuffer]"}function R(C){return typeof $>"u"?!1:(typeof D.working>"u"&&(D.working=D(new $)),D.working?D(C):C instanceof $)}e.isSharedArrayBuffer=R;function I(C){return o(C)==="[object AsyncFunction]"}e.isAsyncFunction=I;function U(C){return o(C)==="[object Map Iterator]"}e.isMapIterator=U;function K(C){return o(C)==="[object Set Iterator]"}e.isSetIterator=K;function Q(C){return o(C)==="[object Generator]"}e.isGeneratorObject=Q;function P(C){return o(C)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=P;function A(C){return h(C,g)}e.isNumberObject=A;function X(C){return h(C,m)}e.isStringObject=X;function h2(C){return h(C,d)}e.isBooleanObject=h2;function x2(C){return i&&h(C,c)}e.isBigIntObject=x2;function b2(C){return s&&h(C,a)}e.isSymbolObject=b2;function k(C){return A(C)||X(C)||h2(C)||x2(C)||b2(C)}e.isBoxedPrimitive=k;function z(C){return typeof Uint8Array<"u"&&(y2(C)||R(C))}e.isAnyArrayBuffer=z,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(C){Object.defineProperty(e,C,{enumerable:!1,value:function(){throw new Error(C+" is not supported in userland")}})})}(types)),types}var isBufferBrowser,hasRequiredIsBufferBrowser;function requireIsBufferBrowser(){return hasRequiredIsBufferBrowser||(hasRequiredIsBufferBrowser=1,isBufferBrowser=function(l){return l&&typeof l=="object"&&typeof l.copy=="function"&&typeof l.fill=="function"&&typeof l.readUInt8=="function"}),isBufferBrowser}var hasRequiredUtil$1;function requireUtil$1(){return hasRequiredUtil$1||(hasRequiredUtil$1=1,function(e){var l=Object.getOwnPropertyDescriptors||function(B){for(var $=Object.keys(B),D={},R=0;R<$.length;R++)D[$[R]]=Object.getOwnPropertyDescriptor(B,$[R]);return D},u=/%[sdj%]/g;e.format=function(N){if(!E(N)){for(var B=[],$=0;$=R)return K;switch(K){case"%s":return String(D[$++]);case"%d":return Number(D[$++]);case"%j":try{return JSON.stringify(D[$++])}catch{return"[Circular]"}default:return K}}),U=D[$];$"u")return function(){return e.deprecate(N,B).apply(this,arguments)};var $=!1;function D(){if(!$){if(process.throwDeprecation)throw new Error(B);process.traceDeprecation?console.trace(B):console.error(B),$=!0}return N.apply(this,arguments)}return D};var r={},n=/^$/;if({}.NODE_DEBUG){var t={}.NODE_DEBUG;t=t.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),n=new RegExp("^"+t+"$","i")}e.debuglog=function(N){if(N=N.toUpperCase(),!r[N])if(n.test(N)){var B=process.pid;r[N]=function(){var $=e.format.apply(e,arguments);console.error("%s %d: %s",N,B,$)}}else r[N]=function(){};return r[N]};function i(N,B){var $={seen:[],stylize:o};return arguments.length>=3&&($.depth=arguments[2]),arguments.length>=4&&($.colors=arguments[3]),p(B)?$.showHidden=B:B&&e._extend($,B),q($.showHidden)&&($.showHidden=!1),q($.depth)&&($.depth=2),q($.colors)&&($.colors=!1),q($.customInspect)&&($.customInspect=!0),$.colors&&($.stylize=s),m($,N,$.depth)}e.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function s(N,B){var $=i.styles[B];return $?"\x1B["+i.colors[$][0]+"m"+N+"\x1B["+i.colors[$][1]+"m":N}function o(N,B){return N}function g(N){var B={};return N.forEach(function($,D){B[$]=!0}),B}function m(N,B,$){if(N.customInspect&&B&&e2(B.inspect)&&B.inspect!==e.inspect&&!(B.constructor&&B.constructor.prototype===B)){var D=B.inspect($,N);return E(D)||(D=m(N,D,$)),D}var R=d(N,B);if(R)return R;var I=Object.keys(B),U=g(I);if(N.showHidden&&(I=Object.getOwnPropertyNames(B)),u2(B)&&(I.indexOf("message")>=0||I.indexOf("description")>=0))return c(B);if(I.length===0){if(e2(B)){var K=B.name?": "+B.name:"";return N.stylize("[Function"+K+"]","special")}if(T(B))return N.stylize(RegExp.prototype.toString.call(B),"regexp");if(V(B))return N.stylize(Date.prototype.toString.call(B),"date");if(u2(B))return c(B)}var Q="",P=!1,A=["{","}"];if(v(B)&&(P=!0,A=["[","]"]),e2(B)){var X=B.name?": "+B.name:"";Q=" [Function"+X+"]"}if(T(B)&&(Q=" "+RegExp.prototype.toString.call(B)),V(B)&&(Q=" "+Date.prototype.toUTCString.call(B)),u2(B)&&(Q=" "+c(B)),I.length===0&&(!P||B.length==0))return A[0]+Q+A[1];if($<0)return T(B)?N.stylize(RegExp.prototype.toString.call(B),"regexp"):N.stylize("[Object]","special");N.seen.push(B);var h2;return P?h2=a(N,B,$,U,I):h2=I.map(function(x2){return h(N,B,$,U,x2,P)}),N.seen.pop(),S(h2,Q,A)}function d(N,B){if(q(B))return N.stylize("undefined","undefined");if(E(B)){var $="'"+JSON.stringify(B).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return N.stylize($,"string")}if(_(B))return N.stylize(""+B,"number");if(p(B))return N.stylize(""+B,"boolean");if(b(B))return N.stylize("null","null")}function c(N){return"["+Error.prototype.toString.call(N)+"]"}function a(N,B,$,D,R){for(var I=[],U=0,K=B.length;U-1&&(I?K=K.split(` +`).map(function(P){return" "+P}).join(` +`).slice(2):K=` +`+K.split(` +`).map(function(P){return" "+P}).join(` +`))):K=N.stylize("[Circular]","special")),q(U)){if(I&&R.match(/^\d+$/))return K;U=JSON.stringify(""+R),U.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(U=U.slice(1,-1),U=N.stylize(U,"name")):(U=U.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),U=N.stylize(U,"string"))}return U+": "+K}function S(N,B,$){var D=N.reduce(function(R,I){return I.indexOf(` +`)>=0,R+I.replace(/\u001b\[\d\d?m/g,"").length+1},0);return D>60?$[0]+(B===""?"":B+` + `)+" "+N.join(`, + `)+" "+$[1]:$[0]+B+" "+N.join(", ")+" "+$[1]}e.types=requireTypes();function v(N){return Array.isArray(N)}e.isArray=v;function p(N){return typeof N=="boolean"}e.isBoolean=p;function b(N){return N===null}e.isNull=b;function y(N){return N==null}e.isNullOrUndefined=y;function _(N){return typeof N=="number"}e.isNumber=_;function E(N){return typeof N=="string"}e.isString=E;function x(N){return typeof N=="symbol"}e.isSymbol=x;function q(N){return N===void 0}e.isUndefined=q;function T(N){return j(N)&&a2(N)==="[object RegExp]"}e.isRegExp=T,e.types.isRegExp=T;function j(N){return typeof N=="object"&&N!==null}e.isObject=j;function V(N){return j(N)&&a2(N)==="[object Date]"}e.isDate=V,e.types.isDate=V;function u2(N){return j(N)&&(a2(N)==="[object Error]"||N instanceof Error)}e.isError=u2,e.types.isNativeError=u2;function e2(N){return typeof N=="function"}e.isFunction=e2;function J(N){return N===null||typeof N=="boolean"||typeof N=="number"||typeof N=="string"||typeof N=="symbol"||typeof N>"u"}e.isPrimitive=J,e.isBuffer=requireIsBufferBrowser();function a2(N){return Object.prototype.toString.call(N)}function m2(N){return N<10?"0"+N.toString(10):N.toString(10)}var g2=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function f2(){var N=new Date,B=[m2(N.getHours()),m2(N.getMinutes()),m2(N.getSeconds())].join(":");return[N.getDate(),g2[N.getMonth()],B].join(" ")}e.log=function(){console.log("%s - %s",f2(),e.format.apply(e,arguments))},e.inherits=requireInherits_browser(),e._extend=function(N,B){if(!B||!j(B))return N;for(var $=Object.keys(B),D=$.length;D--;)N[$[D]]=B[$[D]];return N};function _2(N,B){return Object.prototype.hasOwnProperty.call(N,B)}var s2=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(B){if(typeof B!="function")throw new TypeError('The "original" argument must be of type Function');if(s2&&B[s2]){var $=B[s2];if(typeof $!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty($,s2,{value:$,enumerable:!1,writable:!1,configurable:!0}),$}function $(){for(var D,R,I=new Promise(function(Q,P){D=Q,R=P}),U=[],K=0;K0?this.tail.next=p:this.head=p,this.tail=p,++this.length}},{key:"unshift",value:function(v){var p={data:v,next:this.head};this.length===0&&(this.tail=p),this.head=p,++this.length}},{key:"shift",value:function(){if(this.length!==0){var v=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,v}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(v){if(this.length===0)return"";for(var p=this.head,b=""+p.data;p=p.next;)b+=v+p.data;return b}},{key:"concat",value:function(v){if(this.length===0)return g.alloc(0);for(var p=g.allocUnsafe(v>>>0),b=this.head,y=0;b;)a(b.data,p,y),y+=b.data.length,b=b.next;return p}},{key:"consume",value:function(v,p){var b;return v_.length?_.length:v;if(E===_.length?y+=_:y+=_.slice(0,v),v-=E,v===0){E===_.length?(++b,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=_.slice(E));break}++b}return this.length-=b,y}},{key:"_getBuffer",value:function(v){var p=g.allocUnsafe(v),b=this.head,y=1;for(b.data.copy(p),v-=b.data.length;b=b.next;){var _=b.data,E=v>_.length?_.length:v;if(_.copy(p,p.length-v,0,E),v-=E,v===0){E===_.length?(++y,b.next?this.head=b.next:this.head=this.tail=null):(this.head=b,b.data=_.slice(E));break}++y}return this.length-=y,p}},{key:c,value:function(v,p){return d(this,l(l({},p),{},{depth:0,customInspect:!1}))}}]),h}(),buffer_list}var destroy_1,hasRequiredDestroy;function requireDestroy(){if(hasRequiredDestroy)return destroy_1;hasRequiredDestroy=1;function e(i,s){var o=this,g=this._readableState&&this._readableState.destroyed,m=this._writableState&&this._writableState.destroyed;return g||m?(s?s(i):i&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(n,this,i)):process.nextTick(n,this,i)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(i||null,function(d){!s&&d?o._writableState?o._writableState.errorEmitted?process.nextTick(u,o):(o._writableState.errorEmitted=!0,process.nextTick(l,o,d)):process.nextTick(l,o,d):s?(process.nextTick(u,o),s(d)):process.nextTick(u,o)}),this)}function l(i,s){n(i,s),u(i)}function u(i){i._writableState&&!i._writableState.emitClose||i._readableState&&!i._readableState.emitClose||i.emit("close")}function r(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function n(i,s){i.emit("error",s)}function t(i,s){var o=i._readableState,g=i._writableState;o&&o.autoDestroy||g&&g.autoDestroy?i.destroy(s):i.emit("error",s)}return destroy_1={destroy:e,undestroy:r,errorOrDestroy:t},destroy_1}var errorsBrowser={},hasRequiredErrorsBrowser;function requireErrorsBrowser(){if(hasRequiredErrorsBrowser)return errorsBrowser;hasRequiredErrorsBrowser=1;function e(s,o){s.prototype=Object.create(o.prototype),s.prototype.constructor=s,s.__proto__=o}var l={};function u(s,o,g){g||(g=Error);function m(c,a,h){return typeof o=="string"?o:o(c,a,h)}var d=function(c){e(a,c);function a(h,S,v){return c.call(this,m(h,S,v))||this}return a}(g);d.prototype.name=g.name,d.prototype.code=s,l[s]=d}function r(s,o){if(Array.isArray(s)){var g=s.length;return s=s.map(function(m){return String(m)}),g>2?"one of ".concat(o," ").concat(s.slice(0,g-1).join(", "),", or ")+s[g-1]:g===2?"one of ".concat(o," ").concat(s[0]," or ").concat(s[1]):"of ".concat(o," ").concat(s[0])}else return"of ".concat(o," ").concat(String(s))}function n(s,o,g){return s.substr(!g||g<0?0:+g,o.length)===o}function t(s,o,g){return(g===void 0||g>s.length)&&(g=s.length),s.substring(g-o.length,g)===o}function i(s,o,g){return typeof g!="number"&&(g=0),g+o.length>s.length?!1:s.indexOf(o,g)!==-1}return u("ERR_INVALID_OPT_VALUE",function(s,o){return'The value "'+o+'" is invalid for option "'+s+'"'},TypeError),u("ERR_INVALID_ARG_TYPE",function(s,o,g){var m;typeof o=="string"&&n(o,"not ")?(m="must not be",o=o.replace(/^not /,"")):m="must be";var d;if(t(s," argument"))d="The ".concat(s," ").concat(m," ").concat(r(o,"type"));else{var c=i(s,".")?"property":"argument";d='The "'.concat(s,'" ').concat(c," ").concat(m," ").concat(r(o,"type"))}return d+=". Received type ".concat(typeof g),d},TypeError),u("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),u("ERR_METHOD_NOT_IMPLEMENTED",function(s){return"The "+s+" method is not implemented"}),u("ERR_STREAM_PREMATURE_CLOSE","Premature close"),u("ERR_STREAM_DESTROYED",function(s){return"Cannot call "+s+" after a stream was destroyed"}),u("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),u("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),u("ERR_STREAM_WRITE_AFTER_END","write after end"),u("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),u("ERR_UNKNOWN_ENCODING",function(s){return"Unknown encoding: "+s},TypeError),u("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),errorsBrowser.codes=l,errorsBrowser}var state,hasRequiredState;function requireState(){if(hasRequiredState)return state;hasRequiredState=1;var e=requireErrorsBrowser().codes.ERR_INVALID_OPT_VALUE;function l(r,n,t){return r.highWaterMark!=null?r.highWaterMark:n?r[t]:null}function u(r,n,t,i){var s=l(n,i,t);if(s!=null){if(!(isFinite(s)&&Math.floor(s)===s)||s<0){var o=i?t:"highWaterMark";throw new e(o,s)}return Math.floor(s)}return r.objectMode?16:16*1024}return state={getHighWaterMark:u},state}var browser$2,hasRequiredBrowser$2;function requireBrowser$2(){if(hasRequiredBrowser$2)return browser$2;hasRequiredBrowser$2=1,browser$2=e;function e(u,r){if(l("noDeprecation"))return u;var n=!1;function t(){if(!n){if(l("throwDeprecation"))throw new Error(r);l("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return u.apply(this,arguments)}return t}function l(u){try{if(!commonjsGlobal.localStorage)return!1}catch{return!1}var r=commonjsGlobal.localStorage[u];return r==null?!1:String(r).toLowerCase()==="true"}return browser$2}var _stream_writable,hasRequired_stream_writable;function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1,_stream_writable=T;function e(R){var I=this;this.next=null,this.entry=null,this.finish=function(){D(I,R)}}var l;T.WritableState=x;var u={deprecate:requireBrowser$2()},r=requireStreamBrowser(),n=buffer.Buffer,t=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function i(R){return n.from(R)}function s(R){return n.isBuffer(R)||R instanceof t}var o=requireDestroy(),g=requireState(),m=g.getHighWaterMark,d=requireErrorsBrowser().codes,c=d.ERR_INVALID_ARG_TYPE,a=d.ERR_METHOD_NOT_IMPLEMENTED,h=d.ERR_MULTIPLE_CALLBACK,S=d.ERR_STREAM_CANNOT_PIPE,v=d.ERR_STREAM_DESTROYED,p=d.ERR_STREAM_NULL_VALUES,b=d.ERR_STREAM_WRITE_AFTER_END,y=d.ERR_UNKNOWN_ENCODING,_=o.errorOrDestroy;requireInherits_browser()(T,r);function E(){}function x(R,I,U){l=l||require_stream_duplex(),R=R||{},typeof U!="boolean"&&(U=I instanceof l),this.objectMode=!!R.objectMode,U&&(this.objectMode=this.objectMode||!!R.writableObjectMode),this.highWaterMark=m(this,R,"writableHighWaterMark",U),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var K=R.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=R.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){g2(I,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=R.emitClose!==!1,this.autoDestroy=!!R.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}x.prototype.getBuffer=function(){for(var I=this.bufferedRequest,U=[];I;)U.push(I),I=I.next;return U},function(){try{Object.defineProperty(x.prototype,"buffer",{get:u.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var q;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(q=Function.prototype[Symbol.hasInstance],Object.defineProperty(T,Symbol.hasInstance,{value:function(I){return q.call(this,I)?!0:this!==T?!1:I&&I._writableState instanceof x}})):q=function(I){return I instanceof this};function T(R){l=l||require_stream_duplex();var I=this instanceof l;if(!I&&!q.call(T,this))return new T(R);this._writableState=new x(R,this,I),this.writable=!0,R&&(typeof R.write=="function"&&(this._write=R.write),typeof R.writev=="function"&&(this._writev=R.writev),typeof R.destroy=="function"&&(this._destroy=R.destroy),typeof R.final=="function"&&(this._final=R.final)),r.call(this)}T.prototype.pipe=function(){_(this,new S)};function j(R,I){var U=new b;_(R,U),process.nextTick(I,U)}function V(R,I,U,K){var Q;return U===null?Q=new p:typeof U!="string"&&!I.objectMode&&(Q=new c("chunk",["string","Buffer"],U)),Q?(_(R,Q),process.nextTick(K,Q),!1):!0}T.prototype.write=function(R,I,U){var K=this._writableState,Q=!1,P=!K.objectMode&&s(R);return P&&!n.isBuffer(R)&&(R=i(R)),typeof I=="function"&&(U=I,I=null),P?I="buffer":I||(I=K.defaultEncoding),typeof U!="function"&&(U=E),K.ending?j(this,U):(P||V(this,K,R,U))&&(K.pendingcb++,Q=e2(this,K,P,R,I,U)),Q},T.prototype.cork=function(){this._writableState.corked++},T.prototype.uncork=function(){var R=this._writableState;R.corked&&(R.corked--,!R.writing&&!R.corked&&!R.bufferProcessing&&R.bufferedRequest&&s2(this,R))},T.prototype.setDefaultEncoding=function(I){if(typeof I=="string"&&(I=I.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((I+"").toLowerCase())>-1))throw new y(I);return this._writableState.defaultEncoding=I,this},Object.defineProperty(T.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function u2(R,I,U){return!R.objectMode&&R.decodeStrings!==!1&&typeof I=="string"&&(I=n.from(I,U)),I}Object.defineProperty(T.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function e2(R,I,U,K,Q,P){if(!U){var A=u2(I,K,Q);K!==A&&(U=!0,Q="buffer",K=A)}var X=I.objectMode?1:K.length;I.length+=X;var h2=I.length */var hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,function(e,l){var u=buffer,r=u.Buffer;function n(i,s){for(var o in i)s[o]=i[o]}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?e.exports=u:(n(u,l),l.Buffer=t);function t(i,s,o){return r(i,s,o)}t.prototype=Object.create(r.prototype),n(r,t),t.from=function(i,s,o){if(typeof i=="number")throw new TypeError("Argument must not be a number");return r(i,s,o)},t.alloc=function(i,s,o){if(typeof i!="number")throw new TypeError("Argument must be a number");var g=r(i);return s!==void 0?typeof o=="string"?g.fill(s,o):g.fill(s):g.fill(0),g},t.allocUnsafe=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return r(i)},t.allocUnsafeSlow=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return u.SlowBuffer(i)}}(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var hasRequiredString_decoder;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var e=requireSafeBuffer().Buffer,l=e.isEncoding||function(p){switch(p=""+p,p&&p.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function u(p){if(!p)return"utf8";for(var b;;)switch(p){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return p;default:if(b)return;p=(""+p).toLowerCase(),b=!0}}function r(p){var b=u(p);if(typeof b!="string"&&(e.isEncoding===l||!l(p)))throw new Error("Unknown encoding: "+p);return b||p}string_decoder.StringDecoder=n;function n(p){this.encoding=r(p);var b;switch(this.encoding){case"utf16le":this.text=d,this.end=c,b=4;break;case"utf8":this.fillLast=o,b=4;break;case"base64":this.text=a,this.end=h,b=3;break;default:this.write=S,this.end=v;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(b)}n.prototype.write=function(p){if(p.length===0)return"";var b,y;if(this.lastNeed){if(b=this.fillLast(p),b===void 0)return"";y=this.lastNeed,this.lastNeed=0}else y=0;return y>5===6?2:p>>4===14?3:p>>3===30?4:p>>6===2?-1:-2}function i(p,b,y){var _=b.length-1;if(_=0?(E>0&&(p.lastNeed=E-1),E):--_=0?(E>0&&(p.lastNeed=E-2),E):--_=0?(E>0&&(E===2?E=0:p.lastNeed=E-3),E):0))}function s(p,b,y){if((b[0]&192)!==128)return p.lastNeed=0,"�";if(p.lastNeed>1&&b.length>1){if((b[1]&192)!==128)return p.lastNeed=1,"�";if(p.lastNeed>2&&b.length>2&&(b[2]&192)!==128)return p.lastNeed=2,"�"}}function o(p){var b=this.lastTotal-this.lastNeed,y=s(this,p);if(y!==void 0)return y;if(this.lastNeed<=p.length)return p.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,b,0,p.length),this.lastNeed-=p.length}function g(p,b){var y=i(this,p,b);if(!this.lastNeed)return p.toString("utf8",b);this.lastTotal=y;var _=p.length-(y-this.lastNeed);return p.copy(this.lastChar,0,_),p.toString("utf8",b,_)}function m(p){var b=p&&p.length?this.write(p):"";return this.lastNeed?b+"�":b}function d(p,b){if((p.length-b)%2===0){var y=p.toString("utf16le",b);if(y){var _=y.charCodeAt(y.length-1);if(_>=55296&&_<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1],y.slice(0,-1)}return y}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=p[p.length-1],p.toString("utf16le",b,p.length-1)}function c(p){var b=p&&p.length?this.write(p):"";if(this.lastNeed){var y=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,y)}return b}function a(p,b){var y=(p.length-b)%3;return y===0?p.toString("base64",b):(this.lastNeed=3-y,this.lastTotal=3,y===1?this.lastChar[0]=p[p.length-1]:(this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1]),p.toString("base64",b,p.length-y))}function h(p){var b=p&&p.length?this.write(p):"";return this.lastNeed?b+this.lastChar.toString("base64",0,3-this.lastNeed):b}function S(p){return p.toString(this.encoding)}function v(p){return p&&p.length?this.write(p):""}return string_decoder}var endOfStream,hasRequiredEndOfStream;function requireEndOfStream(){if(hasRequiredEndOfStream)return endOfStream;hasRequiredEndOfStream=1;var e=requireErrorsBrowser().codes.ERR_STREAM_PREMATURE_CLOSE;function l(t){var i=!1;return function(){if(!i){i=!0;for(var s=arguments.length,o=new Array(s),g=0;g0)if(typeof A!="string"&&!b2.objectMode&&Object.getPrototypeOf(A)!==r.prototype&&(A=t(A)),h2)b2.endEmitted?E(P,new p):u2(P,b2,A,!0);else if(b2.ended)E(P,new S);else{if(b2.destroyed)return!1;b2.reading=!1,b2.decoder&&!X?(A=b2.decoder.write(A),b2.objectMode||A.length!==0?u2(P,b2,A,!1):s2(P,b2)):u2(P,b2,A,!1)}else h2||(b2.reading=!1,s2(P,b2))}return!b2.ended&&(b2.length=J?P=J:(P--,P|=P>>>1,P|=P>>>2,P|=P>>>4,P|=P>>>8,P|=P>>>16,P++),P}function m2(P,A){return P<=0||A.length===0&&A.ended?0:A.objectMode?1:P!==P?A.flowing&&A.length?A.buffer.head.data.length:A.length:(P>A.highWaterMark&&(A.highWaterMark=a2(P)),P<=A.length?P:A.ended?A.length:(A.needReadable=!0,0))}j.prototype.read=function(P){o("read",P),P=parseInt(P,10);var A=this._readableState,X=P;if(P!==0&&(A.emittedReadable=!1),P===0&&A.needReadable&&((A.highWaterMark!==0?A.length>=A.highWaterMark:A.length>0)||A.ended))return o("read: emitReadable",A.length,A.ended),A.length===0&&A.ended?U(this):f2(this),null;if(P=m2(P,A),P===0&&A.ended)return A.length===0&&U(this),null;var h2=A.needReadable;o("need readable",h2),(A.length===0||A.length-P0?x2=I(P,A):x2=null,x2===null?(A.needReadable=A.length<=A.highWaterMark,P=0):(A.length-=P,A.awaitDrain=0),A.length===0&&(A.ended||(A.needReadable=!0),X!==P&&A.ended&&U(this)),x2!==null&&this.emit("data",x2),x2};function g2(P,A){if(o("onEofChunk"),!A.ended){if(A.decoder){var X=A.decoder.end();X&&X.length&&(A.buffer.push(X),A.length+=A.objectMode?1:X.length)}A.ended=!0,A.sync?f2(P):(A.needReadable=!1,A.emittedReadable||(A.emittedReadable=!0,_2(P)))}}function f2(P){var A=P._readableState;o("emitReadable",A.needReadable,A.emittedReadable),A.needReadable=!1,A.emittedReadable||(o("emitReadable",A.flowing),A.emittedReadable=!0,process.nextTick(_2,P))}function _2(P){var A=P._readableState;o("emitReadable_",A.destroyed,A.length,A.ended),!A.destroyed&&(A.length||A.ended)&&(P.emit("readable"),A.emittedReadable=!1),A.needReadable=!A.flowing&&!A.ended&&A.length<=A.highWaterMark,R(P)}function s2(P,A){A.readingMore||(A.readingMore=!0,process.nextTick(o2,P,A))}function o2(P,A){for(;!A.reading&&!A.ended&&(A.length1&&Q(h2.pipes,P)!==-1)&&!W&&(o("false write response, pause",h2.awaitDrain),h2.awaitDrain++),X.pause())}function c2(F2){o("onerror",F2),G(),P.removeListener("error",c2),l(P,"error")===0&&E(P,F2)}q(P,"error",c2);function L(){P.removeListener("finish",l2),G()}P.once("close",L);function l2(){o("onfinish"),P.removeListener("close",L),G()}P.once("finish",l2);function G(){o("unpipe"),X.unpipe(P)}return P.emit("pipe",X),h2.flowing||(o("pipe resume"),X.resume()),P};function y2(P){return function(){var X=P._readableState;o("pipeOnDrain",X.awaitDrain),X.awaitDrain&&X.awaitDrain--,X.awaitDrain===0&&l(P,"data")&&(X.flowing=!0,R(P))}}j.prototype.unpipe=function(P){var A=this._readableState,X={hasUnpiped:!1};if(A.pipesCount===0)return this;if(A.pipesCount===1)return P&&P!==A.pipes?this:(P||(P=A.pipes),A.pipes=null,A.pipesCount=0,A.flowing=!1,P&&P.emit("unpipe",this,X),this);if(!P){var h2=A.pipes,x2=A.pipesCount;A.pipes=null,A.pipesCount=0,A.flowing=!1;for(var b2=0;b20,h2.flowing!==!1&&this.resume()):P==="readable"&&!h2.endEmitted&&!h2.readableListening&&(h2.readableListening=h2.needReadable=!0,h2.flowing=!1,h2.emittedReadable=!1,o("on readable",h2.length,h2.reading),h2.length?f2(this):h2.reading||process.nextTick(B,this)),X},j.prototype.addListener=j.prototype.on,j.prototype.removeListener=function(P,A){var X=u.prototype.removeListener.call(this,P,A);return P==="readable"&&process.nextTick(N,this),X},j.prototype.removeAllListeners=function(P){var A=u.prototype.removeAllListeners.apply(this,arguments);return(P==="readable"||P===void 0)&&process.nextTick(N,this),A};function N(P){var A=P._readableState;A.readableListening=P.listenerCount("readable")>0,A.resumeScheduled&&!A.paused?A.flowing=!0:P.listenerCount("data")>0&&P.resume()}function B(P){o("readable nexttick read 0"),P.read(0)}j.prototype.resume=function(){var P=this._readableState;return P.flowing||(o("resume"),P.flowing=!P.readableListening,$(this,P)),P.paused=!1,this};function $(P,A){A.resumeScheduled||(A.resumeScheduled=!0,process.nextTick(D,P,A))}function D(P,A){o("resume",A.reading),A.reading||P.read(0),A.resumeScheduled=!1,P.emit("resume"),R(P),A.flowing&&!A.reading&&P.read(0)}j.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function R(P){var A=P._readableState;for(o("flow",A.flowing);A.flowing&&P.read()!==null;);}j.prototype.wrap=function(P){var A=this,X=this._readableState,h2=!1;P.on("end",function(){if(o("wrapped end"),X.decoder&&!X.ended){var k=X.decoder.end();k&&k.length&&A.push(k)}A.push(null)}),P.on("data",function(k){if(o("wrapped data"),X.decoder&&(k=X.decoder.write(k)),!(X.objectMode&&k==null)&&!(!X.objectMode&&(!k||!k.length))){var z=A.push(k);z||(h2=!0,P.pause())}});for(var x2 in P)this[x2]===void 0&&typeof P[x2]=="function"&&(this[x2]=function(z){return function(){return P[z].apply(P,arguments)}}(x2));for(var b2=0;b2=A.length?(A.decoder?X=A.buffer.join(""):A.buffer.length===1?X=A.buffer.first():X=A.buffer.concat(A.length),A.buffer.clear()):X=A.buffer.consume(P,A.decoder),X}function U(P){var A=P._readableState;o("endReadable",A.endEmitted),A.endEmitted||(A.ended=!0,process.nextTick(K,A,P))}function K(P,A){if(o("endReadableNT",P.endEmitted,P.length),!P.endEmitted&&P.length===0&&(P.endEmitted=!0,A.readable=!1,A.emit("end"),P.autoDestroy)){var X=A._writableState;(!X||X.autoDestroy&&X.finished)&&A.destroy()}}typeof Symbol=="function"&&(j.from=function(P,A){return _===void 0&&(_=requireFromBrowser()),_(j,P,A)});function Q(P,A){for(var X=0,h2=P.length;X0;return s(b,_,E,function(x){v||(v=x),x&&p.forEach(o),!_&&(p.forEach(o),S(v))})});return a.reduce(g)}return pipeline_1=d,pipeline_1}var streamBrowserify,hasRequiredStreamBrowserify;function requireStreamBrowserify(){if(hasRequiredStreamBrowserify)return streamBrowserify;hasRequiredStreamBrowserify=1,streamBrowserify=u;var e=requireEvents().EventEmitter,l=requireInherits_browser();l(u,e),u.Readable=require_stream_readable(),u.Writable=require_stream_writable(),u.Duplex=require_stream_duplex(),u.Transform=require_stream_transform(),u.PassThrough=require_stream_passthrough(),u.finished=requireEndOfStream(),u.pipeline=requirePipeline(),u.Stream=u;function u(){e.call(this)}return u.prototype.pipe=function(r,n){var t=this;function i(a){r.writable&&r.write(a)===!1&&t.pause&&t.pause()}t.on("data",i);function s(){t.readable&&t.resume&&t.resume()}r.on("drain",s),!r._isStdio&&(!n||n.end!==!1)&&(t.on("end",g),t.on("close",m));var o=!1;function g(){o||(o=!0,r.end())}function m(){o||(o=!0,typeof r.destroy=="function"&&r.destroy())}function d(a){if(c(),e.listenerCount(this,"error")===0)throw a}t.on("error",d),r.on("error",d);function c(){t.removeListener("data",i),r.removeListener("drain",s),t.removeListener("end",g),t.removeListener("close",m),t.removeListener("error",d),r.removeListener("error",d),t.removeListener("end",c),t.removeListener("close",c),r.removeListener("close",c)}return t.on("end",c),t.on("close",c),r.on("close",c),r.emit("pipe",t),r},streamBrowserify}var readableStreamBrowser,hasRequiredReadableStreamBrowser;function requireReadableStreamBrowser(){return hasRequiredReadableStreamBrowser||(hasRequiredReadableStreamBrowser=1,readableStreamBrowser=requireStreamBrowserify()),readableStreamBrowser}var hasRequiredSupport;function requireSupport(){if(hasRequiredSupport)return support;if(hasRequiredSupport=1,support.base64=!0,support.array=!0,support.string=!0,support.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",support.nodebuffer=typeof buffer.Buffer<"u",support.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")support.blob=!1;else{var e=new ArrayBuffer(0);try{support.blob=new Blob([e],{type:"application/zip"}).size===0}catch{try{var l=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,u=new l;u.append(e),support.blob=u.getBlob("application/zip").size===0}catch{support.blob=!1}}}try{support.nodestream=!!requireReadableStreamBrowser().Readable}catch{support.nodestream=!1}return support}var base64={},hasRequiredBase64;function requireBase64(){if(hasRequiredBase64)return base64;hasRequiredBase64=1;var e=requireUtils(),l=requireSupport(),u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return base64.encode=function(r){for(var n=[],t,i,s,o,g,m,d,c=0,a=r.length,h=a,S=e.getTypeOf(r)!=="string";c>2,g=(t&3)<<4|i>>4,m=h>1?(i&15)<<2|s>>6:64,d=h>2?s&63:64,n.push(u.charAt(o)+u.charAt(g)+u.charAt(m)+u.charAt(d));return n.join("")},base64.decode=function(r){var n,t,i,s,o,g,m,d=0,c=0,a="data:";if(r.substr(0,a.length)===a)throw new Error("Invalid base64 input, it looks like a data url.");r=r.replace(/[^A-Za-z0-9\+\/\=]/g,"");var h=r.length*3/4;if(r.charAt(r.length-1)===u.charAt(64)&&h--,r.charAt(r.length-2)===u.charAt(64)&&h--,h%1!==0)throw new Error("Invalid base64 input, bad content length.");var S;for(l.uint8array?S=new Uint8Array(h|0):S=new Array(h|0);d>4,t=(o&15)<<4|g>>2,i=(g&3)<<6|m,S[c++]=n,g!==64&&(S[c++]=t),m!==64&&(S[c++]=i);return S},base64}var nodejsUtils,hasRequiredNodejsUtils;function requireNodejsUtils(){return hasRequiredNodejsUtils||(hasRequiredNodejsUtils=1,nodejsUtils={isNode:typeof buffer.Buffer<"u",newBufferFrom:function(e,l){return new buffer.Buffer(e,l)},allocBuffer:function(e){return buffer.Buffer.alloc?buffer.Buffer.alloc(e):new buffer.Buffer(e)},isBuffer:function(e){return buffer.Buffer.isBuffer(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}}),nodejsUtils}var web_immediate={},_global={exports:{}},hasRequired_global;function require_global(){if(hasRequired_global)return _global.exports;hasRequired_global=1;var e=_global.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();return typeof __g=="number"&&(__g=e),_global.exports}var _core={exports:{}},hasRequired_core;function require_core(){if(hasRequired_core)return _core.exports;hasRequired_core=1;var e=_core.exports={version:"2.3.0"};return typeof __e=="number"&&(__e=e),_core.exports}var _aFunction,hasRequired_aFunction;function require_aFunction(){return hasRequired_aFunction||(hasRequired_aFunction=1,_aFunction=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e}),_aFunction}var _ctx,hasRequired_ctx;function require_ctx(){if(hasRequired_ctx)return _ctx;hasRequired_ctx=1;var e=require_aFunction();return _ctx=function(l,u,r){if(e(l),u===void 0)return l;switch(r){case 1:return function(n){return l.call(u,n)};case 2:return function(n,t){return l.call(u,n,t)};case 3:return function(n,t,i){return l.call(u,n,t,i)}}return function(){return l.apply(u,arguments)}},_ctx}var _objectDp={},_isObject,hasRequired_isObject;function require_isObject(){return hasRequired_isObject||(hasRequired_isObject=1,_isObject=function(e){return typeof e=="object"?e!==null:typeof e=="function"}),_isObject}var _anObject,hasRequired_anObject;function require_anObject(){if(hasRequired_anObject)return _anObject;hasRequired_anObject=1;var e=require_isObject();return _anObject=function(l){if(!e(l))throw TypeError(l+" is not an object!");return l},_anObject}var _fails,hasRequired_fails;function require_fails(){return hasRequired_fails||(hasRequired_fails=1,_fails=function(e){try{return!!e()}catch{return!0}}),_fails}var _descriptors,hasRequired_descriptors;function require_descriptors(){return hasRequired_descriptors||(hasRequired_descriptors=1,_descriptors=!require_fails()(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})),_descriptors}var _domCreate,hasRequired_domCreate;function require_domCreate(){if(hasRequired_domCreate)return _domCreate;hasRequired_domCreate=1;var e=require_isObject(),l=require_global().document,u=e(l)&&e(l.createElement);return _domCreate=function(r){return u?l.createElement(r):{}},_domCreate}var _ie8DomDefine,hasRequired_ie8DomDefine;function require_ie8DomDefine(){return hasRequired_ie8DomDefine||(hasRequired_ie8DomDefine=1,_ie8DomDefine=!require_descriptors()&&!require_fails()(function(){return Object.defineProperty(require_domCreate()("div"),"a",{get:function(){return 7}}).a!=7})),_ie8DomDefine}var _toPrimitive,hasRequired_toPrimitive;function require_toPrimitive(){if(hasRequired_toPrimitive)return _toPrimitive;hasRequired_toPrimitive=1;var e=require_isObject();return _toPrimitive=function(l,u){if(!e(l))return l;var r,n;if(u&&typeof(r=l.toString)=="function"&&!e(n=r.call(l))||typeof(r=l.valueOf)=="function"&&!e(n=r.call(l))||!u&&typeof(r=l.toString)=="function"&&!e(n=r.call(l)))return n;throw TypeError("Can't convert object to primitive value")},_toPrimitive}var hasRequired_objectDp;function require_objectDp(){if(hasRequired_objectDp)return _objectDp;hasRequired_objectDp=1;var e=require_anObject(),l=require_ie8DomDefine(),u=require_toPrimitive(),r=Object.defineProperty;return _objectDp.f=require_descriptors()?Object.defineProperty:function(t,i,s){if(e(t),i=u(i,!0),e(s),l)try{return r(t,i,s)}catch{}if("get"in s||"set"in s)throw TypeError("Accessors not supported!");return"value"in s&&(t[i]=s.value),t},_objectDp}var _propertyDesc,hasRequired_propertyDesc;function require_propertyDesc(){return hasRequired_propertyDesc||(hasRequired_propertyDesc=1,_propertyDesc=function(e,l){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:l}}),_propertyDesc}var _hide,hasRequired_hide;function require_hide(){if(hasRequired_hide)return _hide;hasRequired_hide=1;var e=require_objectDp(),l=require_propertyDesc();return _hide=require_descriptors()?function(u,r,n){return e.f(u,r,l(1,n))}:function(u,r,n){return u[r]=n,u},_hide}var _export,hasRequired_export;function require_export(){if(hasRequired_export)return _export;hasRequired_export=1;var e=require_global(),l=require_core(),u=require_ctx(),r=require_hide(),n="prototype",t=function(i,s,o){var g=i&t.F,m=i&t.G,d=i&t.S,c=i&t.P,a=i&t.B,h=i&t.W,S=m?l:l[s]||(l[s]={}),v=S[n],p=m?e:d?e[s]:(e[s]||{})[n],b,y,_;m&&(o=s);for(b in o)y=!g&&p&&p[b]!==void 0,!(y&&b in S)&&(_=y?p[b]:o[b],S[b]=m&&typeof p[b]!="function"?o[b]:a&&y?u(_,e):h&&p[b]==_?function(E){var x=function(q,T,j){if(this instanceof E){switch(arguments.length){case 0:return new E;case 1:return new E(q);case 2:return new E(q,T)}return new E(q,T,j)}return E.apply(this,arguments)};return x[n]=E[n],x}(_):c&&typeof _=="function"?u(Function.call,_):_,c&&((S.virtual||(S.virtual={}))[b]=_,i&t.R&&v&&!v[b]&&r(v,b,_)))};return t.F=1,t.G=2,t.S=4,t.P=8,t.B=16,t.W=32,t.U=64,t.R=128,_export=t,_export}var _invoke,hasRequired_invoke;function require_invoke(){return hasRequired_invoke||(hasRequired_invoke=1,_invoke=function(e,l,u){var r=u===void 0;switch(l.length){case 0:return r?e():e.call(u);case 1:return r?e(l[0]):e.call(u,l[0]);case 2:return r?e(l[0],l[1]):e.call(u,l[0],l[1]);case 3:return r?e(l[0],l[1],l[2]):e.call(u,l[0],l[1],l[2]);case 4:return r?e(l[0],l[1],l[2],l[3]):e.call(u,l[0],l[1],l[2],l[3])}return e.apply(u,l)}),_invoke}var _html,hasRequired_html;function require_html(){return hasRequired_html||(hasRequired_html=1,_html=require_global().document&&document.documentElement),_html}var _cof,hasRequired_cof;function require_cof(){if(hasRequired_cof)return _cof;hasRequired_cof=1;var e={}.toString;return _cof=function(l){return e.call(l).slice(8,-1)},_cof}var _task,hasRequired_task;function require_task(){if(hasRequired_task)return _task;hasRequired_task=1;var e=require_ctx(),l=require_invoke(),u=require_html(),r=require_domCreate(),n=require_global(),t=n.process,i=n.setImmediate,s=n.clearImmediate,o=n.MessageChannel,g=0,m={},d="onreadystatechange",c,a,h,S=function(){var p=+this;if(m.hasOwnProperty(p)){var b=m[p];delete m[p],b()}},v=function(p){S.call(p.data)};return(!i||!s)&&(i=function(b){for(var y=[],_=1;arguments.length>_;)y.push(arguments[_++]);return m[++g]=function(){l(typeof b=="function"?b:Function(b),y)},c(g),g},s=function(b){delete m[b]},require_cof()(t)=="process"?c=function(p){t.nextTick(e(S,p,1))}:o?(a=new o,h=a.port2,a.port1.onmessage=v,c=e(h.postMessage,h,1)):n.addEventListener&&typeof postMessage=="function"&&!n.importScripts?(c=function(p){n.postMessage(p+"","*")},n.addEventListener("message",v,!1)):d in r("script")?c=function(p){u.appendChild(r("script"))[d]=function(){u.removeChild(this),S.call(p)}}:c=function(p){setTimeout(e(S,p,1),0)}),_task={set:i,clear:s},_task}var hasRequiredWeb_immediate;function requireWeb_immediate(){if(hasRequiredWeb_immediate)return web_immediate;hasRequiredWeb_immediate=1;var e=require_export(),l=require_task();return e(e.G+e.B,{setImmediate:l.set,clearImmediate:l.clear}),web_immediate}var setImmediate,hasRequiredSetImmediate;function requireSetImmediate(){return hasRequiredSetImmediate||(hasRequiredSetImmediate=1,requireWeb_immediate(),setImmediate=require_core().setImmediate),setImmediate}var browser$1,hasRequiredBrowser$1;function requireBrowser$1(){if(hasRequiredBrowser$1)return browser$1;hasRequiredBrowser$1=1;var e=commonjsGlobal.MutationObserver||commonjsGlobal.WebKitMutationObserver,l;if(e){var u=0,r=new e(o),n=commonjsGlobal.document.createTextNode("");r.observe(n,{characterData:!0}),l=function(){n.data=u=++u%2}}else if(!commonjsGlobal.setImmediate&&typeof commonjsGlobal.MessageChannel<"u"){var t=new commonjsGlobal.MessageChannel;t.port1.onmessage=o,l=function(){t.port2.postMessage(0)}}else"document"in commonjsGlobal&&"onreadystatechange"in commonjsGlobal.document.createElement("script")?l=function(){var m=commonjsGlobal.document.createElement("script");m.onreadystatechange=function(){o(),m.onreadystatechange=null,m.parentNode.removeChild(m),m=null},commonjsGlobal.document.documentElement.appendChild(m)}:l=function(){setTimeout(o,0)};var i,s=[];function o(){i=!0;for(var m,d,c=s.length;c;){for(d=s,s=[],m=-1;++m1;)try{return g.stringifyByChunk(a,S,h)}catch{h=Math.floor(h/2)}return g.stringifyByChar(a)}e.applyFromCharCode=m;function d(a,h){for(var S=0;S"u"&&(a[S]=arguments[h][S]);return a},e.prepareContent=function(a,h,S,v,p){var b=t.Promise.resolve(h).then(function(y){var _=l.blob&&(y instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(y))!==-1);return _&&typeof FileReader<"u"?new t.Promise(function(E,x){var q=new FileReader;q.onload=function(T){E(T.target.result)},q.onerror=function(T){x(T.target.error)},q.readAsArrayBuffer(y)}):y});return b.then(function(y){var _=e.getTypeOf(y);return _?(_==="arraybuffer"?y=e.transformTo("uint8array",y):_==="string"&&(p?y=u.decode(y):S&&v!==!0&&(y=i(y))),y):t.Promise.reject(new Error("Can't read the data of '"+a+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}}(utils)),utils}var GenericWorker_1,hasRequiredGenericWorker;function requireGenericWorker(){if(hasRequiredGenericWorker)return GenericWorker_1;hasRequiredGenericWorker=1;function e(l){this.name=l||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}return e.prototype={push:function(l){this.emit("data",l)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(l){this.emit("error",l)}return!0},error:function(l){return this.isFinished?!1:(this.isPaused?this.generatedError=l:(this.isFinished=!0,this.emit("error",l),this.previous&&this.previous.error(l),this.cleanUp()),!0)},on:function(l,u){return this._listeners[l].push(u),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(l,u){if(this._listeners[l])for(var r=0;r "+l:l}},GenericWorker_1=e,GenericWorker_1}var hasRequiredUtf8;function requireUtf8(){return hasRequiredUtf8||(hasRequiredUtf8=1,function(e){for(var l=requireUtils(),u=requireSupport(),r=requireNodejsUtils(),n=requireGenericWorker(),t=new Array(256),i=0;i<256;i++)t[i]=i>=252?6:i>=248?5:i>=240?4:i>=224?3:i>=192?2:1;t[254]=t[254]=1;var s=function(c){var a,h,S,v,p,b=c.length,y=0;for(v=0;v>>6,a[p++]=128|h&63):h<65536?(a[p++]=224|h>>>12,a[p++]=128|h>>>6&63,a[p++]=128|h&63):(a[p++]=240|h>>>18,a[p++]=128|h>>>12&63,a[p++]=128|h>>>6&63,a[p++]=128|h&63);return a},o=function(c,a){var h;for(a=a||c.length,a>c.length&&(a=c.length),h=a-1;h>=0&&(c[h]&192)===128;)h--;return h<0||h===0?a:h+t[c[h]]>a?h:a},g=function(c){var a,h,S,v,p=c.length,b=new Array(p*2);for(h=0,a=0;a4){b[h++]=65533,a+=v-1;continue}for(S&=v===2?31:v===3?15:7;v>1&&a1){b[h++]=65533;continue}S<65536?b[h++]=S:(S-=65536,b[h++]=55296|S>>10&1023,b[h++]=56320|S&1023)}return b.length!==h&&(b.subarray?b=b.subarray(0,h):b.length=h),l.applyFromCharCode(b)};e.utf8encode=function(a){return u.nodebuffer?r.newBufferFrom(a,"utf-8"):s(a)},e.utf8decode=function(a){return u.nodebuffer?l.transformTo("nodebuffer",a).toString("utf-8"):(a=l.transformTo(u.uint8array?"uint8array":"array",a),g(a))};function m(){n.call(this,"utf-8 decode"),this.leftOver=null}l.inherits(m,n),m.prototype.processChunk=function(c){var a=l.transformTo(u.uint8array?"uint8array":"array",c.data);if(this.leftOver&&this.leftOver.length){if(u.uint8array){var h=a;a=new Uint8Array(h.length+this.leftOver.length),a.set(this.leftOver,0),a.set(h,this.leftOver.length)}else a=this.leftOver.concat(a);this.leftOver=null}var S=o(a),v=a;S!==a.length&&(u.uint8array?(v=a.subarray(0,S),this.leftOver=a.subarray(S,a.length)):(v=a.slice(0,S),this.leftOver=a.slice(S,a.length))),this.push({data:e.utf8decode(v),meta:c.meta})},m.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=m;function d(){n.call(this,"utf-8 encode")}l.inherits(d,n),d.prototype.processChunk=function(c){this.push({data:e.utf8encode(c.data),meta:c.meta})},e.Utf8EncodeWorker=d}(utf8)),utf8}var ConvertWorker_1,hasRequiredConvertWorker;function requireConvertWorker(){if(hasRequiredConvertWorker)return ConvertWorker_1;hasRequiredConvertWorker=1;var e=requireGenericWorker(),l=requireUtils();function u(r){e.call(this,"ConvertWorker to "+r),this.destType=r}return l.inherits(u,e),u.prototype.processChunk=function(r){this.push({data:l.transformTo(this.destType,r.data),meta:r.meta})},ConvertWorker_1=u,ConvertWorker_1}var NodejsStreamOutputAdapter_1,hasRequiredNodejsStreamOutputAdapter;function requireNodejsStreamOutputAdapter(){if(hasRequiredNodejsStreamOutputAdapter)return NodejsStreamOutputAdapter_1;hasRequiredNodejsStreamOutputAdapter=1;var e=requireReadableStreamBrowser().Readable,l=requireUtils();l.inherits(u,e);function u(r,n,t){e.call(this,n),this._helper=r;var i=this;r.on("data",function(s,o){i.push(s)||i._helper.pause(),t&&t(o)}).on("error",function(s){i.emit("error",s)}).on("end",function(){i.push(null)})}return u.prototype._read=function(){this._helper.resume()},NodejsStreamOutputAdapter_1=u,NodejsStreamOutputAdapter_1}var StreamHelper_1,hasRequiredStreamHelper;function requireStreamHelper(){if(hasRequiredStreamHelper)return StreamHelper_1;hasRequiredStreamHelper=1;var e=requireUtils(),l=requireConvertWorker(),u=requireGenericWorker(),r=requireBase64(),n=requireSupport(),t=requireExternal(),i=null;if(n.nodestream)try{i=requireNodejsStreamOutputAdapter()}catch{}function s(d,c,a){switch(d){case"blob":return e.newBlob(e.transformTo("arraybuffer",c),a);case"base64":return r.encode(c);default:return e.transformTo(d,c)}}function o(d,c){var a,h=0,S=null,v=0;for(a=0;a=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,i);break;case"uint8array":t=this.data.subarray(this.index,i);break;case"array":case"nodebuffer":t=this.data.slice(this.index,i);break}return this.index=i,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},DataWorker_1=r,DataWorker_1}var DataLengthProbe_1,hasRequiredDataLengthProbe;function requireDataLengthProbe(){if(hasRequiredDataLengthProbe)return DataLengthProbe_1;hasRequiredDataLengthProbe=1;var e=requireUtils(),l=requireGenericWorker();function u(r){l.call(this,"DataLengthProbe for "+r),this.propName=r,this.withStreamInfo(r,0)}return e.inherits(u,l),u.prototype.processChunk=function(r){if(r){var n=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=n+r.data.length}l.prototype.processChunk.call(this,r)},DataLengthProbe_1=u,DataLengthProbe_1}var crc32_1$1,hasRequiredCrc32$1;function requireCrc32$1(){if(hasRequiredCrc32$1)return crc32_1$1;hasRequiredCrc32$1=1;var e=requireUtils();function l(){for(var t,i=[],s=0;s<256;s++){t=s;for(var o=0;o<8;o++)t=t&1?3988292384^t>>>1:t>>>1;i[s]=t}return i}var u=l();function r(t,i,s,o){var g=u,m=o+s;t=t^-1;for(var d=o;d>>8^g[(t^i[d])&255];return t^-1}function n(t,i,s,o){var g=u,m=o+s;t=t^-1;for(var d=o;d>>8^g[(t^i.charCodeAt(d))&255];return t^-1}return crc32_1$1=function(i,s){if(typeof i>"u"||!i.length)return 0;var o=e.getTypeOf(i)!=="string";return o?r(s|0,i,i.length,0):n(s|0,i,i.length,0)},crc32_1$1}var Crc32Probe_1,hasRequiredCrc32Probe;function requireCrc32Probe(){if(hasRequiredCrc32Probe)return Crc32Probe_1;hasRequiredCrc32Probe=1;var e=requireGenericWorker(),l=requireCrc32$1(),u=requireUtils();function r(){e.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}return u.inherits(r,e),r.prototype.processChunk=function(n){this.streamInfo.crc32=l(n.data,this.streamInfo.crc32||0),this.push(n)},Crc32Probe_1=r,Crc32Probe_1}var compressedObject,hasRequiredCompressedObject;function requireCompressedObject(){if(hasRequiredCompressedObject)return compressedObject;hasRequiredCompressedObject=1;var e=requireExternal(),l=requireDataWorker(),r=requireDataLengthProbe(),u=requireCrc32Probe(),r=requireDataLengthProbe();function n(t,i,s,o,g){this.compressedSize=t,this.uncompressedSize=i,this.crc32=s,this.compression=o,this.compressedContent=g}return n.prototype={getContentWorker:function(){var t=new l(e.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new r("data_length")),i=this;return t.on("end",function(){if(this.streamInfo.data_length!==i.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new l(e.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},n.createWorkerFrom=function(t,i,s){return t.pipe(new u).pipe(new r("uncompressedSize")).pipe(i.compressWorker(s)).pipe(new r("compressedSize")).withStreamInfo("compression",i)},compressedObject=n,compressedObject}var zipObject,hasRequiredZipObject;function requireZipObject(){if(hasRequiredZipObject)return zipObject;hasRequiredZipObject=1;var e=requireStreamHelper(),l=requireDataWorker(),u=requireUtf8(),r=requireCompressedObject(),n=requireGenericWorker(),t=function(g,m,d){this.name=g,this.dir=d.dir,this.date=d.date,this.comment=d.comment,this.unixPermissions=d.unixPermissions,this.dosPermissions=d.dosPermissions,this._data=m,this._dataBinary=d.binary,this.options={compression:d.compression,compressionOptions:d.compressionOptions}};t.prototype={internalStream:function(g){var m=null,d="string";try{if(!g)throw new Error("No output type specified.");d=g.toLowerCase();var c=d==="string"||d==="text";(d==="binarystring"||d==="text")&&(d="string"),m=this._decompressWorker();var a=!this._dataBinary;a&&!c&&(m=m.pipe(new u.Utf8EncodeWorker)),!a&&c&&(m=m.pipe(new u.Utf8DecodeWorker))}catch(h){m=new n("error"),m.error(h)}return new e(m,d,"")},async:function(g,m){return this.internalStream(g).accumulate(m)},nodeStream:function(g,m){return this.internalStream(g||"nodebuffer").toNodejsStream(m)},_compressWorker:function(g,m){if(this._data instanceof r&&this._data.compression.magic===g.magic)return this._data.getCompressedWorker();var d=this._decompressWorker();return this._dataBinary||(d=d.pipe(new u.Utf8EncodeWorker)),r.createWorkerFrom(d,g,m)},_decompressWorker:function(){return this._data instanceof r?this._data.getContentWorker():this._data instanceof n?this._data:new l(this._data)}};for(var i=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],s=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},o=0;o=0;)O[d2]=0}var i=0,s=1,o=2,g=3,m=258,d=29,c=256,a=c+1+d,h=30,S=19,v=2*a+1,p=15,b=16,y=7,_=256,E=16,x=17,q=18,T=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],j=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],V=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],u2=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],e2=512,J=new Array((a+2)*2);t(J);var a2=new Array(h*2);t(a2);var m2=new Array(e2);t(m2);var g2=new Array(m-g+1);t(g2);var f2=new Array(d);t(f2);var _2=new Array(h);t(_2);function s2(O,d2,p2,S2,Z){this.static_tree=O,this.extra_bits=d2,this.extra_base=p2,this.elems=S2,this.max_length=Z,this.has_stree=O&&O.length}var o2,y2,N;function B(O,d2){this.dyn_tree=O,this.max_code=0,this.stat_desc=d2}function $(O){return O<256?m2[O]:m2[256+(O>>>7)]}function D(O,d2){O.pending_buf[O.pending++]=d2&255,O.pending_buf[O.pending++]=d2>>>8&255}function R(O,d2,p2){O.bi_valid>b-p2?(O.bi_buf|=d2<>b-O.bi_valid,O.bi_valid+=p2-b):(O.bi_buf|=d2<>>=1,p2<<=1;while(--d2>0);return p2>>>1}function K(O){O.bi_valid===16?(D(O,O.bi_buf),O.bi_buf=0,O.bi_valid=0):O.bi_valid>=8&&(O.pending_buf[O.pending++]=O.bi_buf&255,O.bi_buf>>=8,O.bi_valid-=8)}function Q(O,d2){var p2=d2.dyn_tree,S2=d2.max_code,Z=d2.stat_desc.static_tree,t2=d2.stat_desc.has_stree,w=d2.stat_desc.extra_bits,v2=d2.stat_desc.extra_base,A2=d2.stat_desc.max_length,f,r2,Y,F,M,n2,R2=0;for(F=0;F<=p;F++)O.bl_count[F]=0;for(p2[O.heap[O.heap_max]*2+1]=0,f=O.heap_max+1;fA2&&(F=A2,R2++),p2[r2*2+1]=F,!(r2>S2)&&(O.bl_count[F]++,M=0,r2>=v2&&(M=w[r2-v2]),n2=p2[r2*2],O.opt_len+=n2*(F+M),t2&&(O.static_len+=n2*(Z[r2*2+1]+M)));if(R2!==0){do{for(F=A2-1;O.bl_count[F]===0;)F--;O.bl_count[F]--,O.bl_count[F+1]+=2,O.bl_count[A2]--,R2-=2}while(R2>0);for(F=A2;F!==0;F--)for(r2=O.bl_count[F];r2!==0;)Y=O.heap[--f],!(Y>S2)&&(p2[Y*2+1]!==F&&(O.opt_len+=(F-p2[Y*2+1])*p2[Y*2],p2[Y*2+1]=F),r2--)}}function P(O,d2,p2){var S2=new Array(p+1),Z=0,t2,w;for(t2=1;t2<=p;t2++)S2[t2]=Z=Z+p2[t2-1]<<1;for(w=0;w<=d2;w++){var v2=O[w*2+1];v2!==0&&(O[w*2]=U(S2[v2]++,v2))}}function A(){var O,d2,p2,S2,Z,t2=new Array(p+1);for(p2=0,S2=0;S2>=7;S28?D(O,O.bi_buf):O.bi_valid>0&&(O.pending_buf[O.pending++]=O.bi_buf),O.bi_buf=0,O.bi_valid=0}function x2(O,d2,p2,S2){h2(O),S2&&(D(O,p2),D(O,~p2)),e.arraySet(O.pending_buf,O.window,d2,p2,O.pending),O.pending+=p2}function b2(O,d2,p2,S2){var Z=d2*2,t2=p2*2;return O[Z]>1;w>=1;w--)k(O,p2,w);f=t2;do w=O.heap[1],O.heap[1]=O.heap[O.heap_len--],k(O,p2,1),v2=O.heap[1],O.heap[--O.heap_max]=w,O.heap[--O.heap_max]=v2,p2[f*2]=p2[w*2]+p2[v2*2],O.depth[f]=(O.depth[w]>=O.depth[v2]?O.depth[w]:O.depth[v2])+1,p2[w*2+1]=p2[v2*2+1]=f,O.heap[1]=f++,k(O,p2,1);while(O.heap_len>=2);O.heap[--O.heap_max]=O.heap[1],Q(O,d2),P(p2,A2,O.bl_count)}function W(O,d2,p2){var S2,Z=-1,t2,w=d2[0*2+1],v2=0,A2=7,f=4;for(w===0&&(A2=138,f=3),d2[(p2+1)*2+1]=65535,S2=0;S2<=p2;S2++)t2=w,w=d2[(S2+1)*2+1],!(++v2=3&&O.bl_tree[u2[d2]*2+1]===0;d2--);return O.opt_len+=3*(d2+1)+5+5+4,d2}function c2(O,d2,p2,S2){var Z;for(R(O,d2-257,5),R(O,p2-1,5),R(O,S2-4,4),Z=0;Z>>=1)if(d2&1&&O.dyn_ltree[p2*2]!==0)return u;if(O.dyn_ltree[9*2]!==0||O.dyn_ltree[10*2]!==0||O.dyn_ltree[13*2]!==0)return r;for(p2=32;p20?(O.strm.data_type===n&&(O.strm.data_type=L(O)),C(O,O.l_desc),C(O,O.d_desc),w=i2(O),Z=O.opt_len+3+7>>>3,t2=O.static_len+3+7>>>3,t2<=Z&&(Z=t2)):Z=t2=p2+5,p2+4<=Z&&d2!==-1?F2(O,d2,p2,S2):O.strategy===l||t2===Z?(R(O,(s<<1)+(S2?1:0),3),z(O,J,a2)):(R(O,(o<<1)+(S2?1:0),3),c2(O,O.l_desc.max_code+1,O.d_desc.max_code+1,w+1),z(O,O.dyn_ltree,O.dyn_dtree)),X(O),S2&&h2(O)}function D2(O,d2,p2){return O.pending_buf[O.d_buf+O.last_lit*2]=d2>>>8&255,O.pending_buf[O.d_buf+O.last_lit*2+1]=d2&255,O.pending_buf[O.l_buf+O.last_lit]=p2&255,O.last_lit++,d2===0?O.dyn_ltree[p2*2]++:(O.matches++,d2--,O.dyn_ltree[(g2[p2]+c+1)*2]++,O.dyn_dtree[$(d2)*2]++),O.last_lit===O.lit_bufsize-1}return trees._tr_init=G,trees._tr_stored_block=F2,trees._tr_flush_block=q2,trees._tr_tally=D2,trees._tr_align=P2,trees}var adler32_1,hasRequiredAdler32;function requireAdler32(){if(hasRequiredAdler32)return adler32_1;hasRequiredAdler32=1;function e(l,u,r,n){for(var t=l&65535|0,i=l>>>16&65535|0,s=0;r!==0;){s=r>2e3?2e3:r,r-=s;do t=t+u[n++]|0,i=i+t|0;while(--s);t%=65521,i%=65521}return t|i<<16|0}return adler32_1=e,adler32_1}var crc32_1,hasRequiredCrc32;function requireCrc32(){if(hasRequiredCrc32)return crc32_1;hasRequiredCrc32=1;function e(){for(var r,n=[],t=0;t<256;t++){r=t;for(var i=0;i<8;i++)r=r&1?3988292384^r>>>1:r>>>1;n[t]=r}return n}var l=e();function u(r,n,t,i){var s=l,o=i+t;r^=-1;for(var g=i;g>>8^s[(r^n[g])&255];return r^-1}return crc32_1=u,crc32_1}var messages,hasRequiredMessages;function requireMessages(){return hasRequiredMessages||(hasRequiredMessages=1,messages={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}),messages}var hasRequiredDeflate$1;function requireDeflate$1(){if(hasRequiredDeflate$1)return deflate;hasRequiredDeflate$1=1;var e=requireCommon(),l=requireTrees(),u=requireAdler32(),r=requireCrc32(),n=requireMessages(),t=0,i=1,s=3,o=4,g=5,m=0,d=1,c=-2,a=-3,h=-5,S=-1,v=1,p=2,b=3,y=4,_=0,E=2,x=8,q=9,T=15,j=8,V=29,u2=256,e2=u2+1+V,J=30,a2=19,m2=2*e2+1,g2=15,f2=3,_2=258,s2=_2+f2+1,o2=32,y2=42,N=69,B=73,$=91,D=103,R=113,I=666,U=1,K=2,Q=3,P=4,A=3;function X(f,r2){return f.msg=n[r2],r2}function h2(f){return(f<<1)-(f>4?9:0)}function x2(f){for(var r2=f.length;--r2>=0;)f[r2]=0}function b2(f){var r2=f.state,Y=r2.pending;Y>f.avail_out&&(Y=f.avail_out),Y!==0&&(e.arraySet(f.output,r2.pending_buf,r2.pending_out,Y,f.next_out),f.next_out+=Y,r2.pending_out+=Y,f.total_out+=Y,f.avail_out-=Y,r2.pending-=Y,r2.pending===0&&(r2.pending_out=0))}function k(f,r2){l._tr_flush_block(f,f.block_start>=0?f.block_start:-1,f.strstart-f.block_start,r2),f.block_start=f.strstart,b2(f.strm)}function z(f,r2){f.pending_buf[f.pending++]=r2}function C(f,r2){f.pending_buf[f.pending++]=r2>>>8&255,f.pending_buf[f.pending++]=r2&255}function W(f,r2,Y,F){var M=f.avail_in;return M>F&&(M=F),M===0?0:(f.avail_in-=M,e.arraySet(r2,f.input,f.next_in,M,Y),f.state.wrap===1?f.adler=u(f.adler,r2,M,Y):f.state.wrap===2&&(f.adler=r(f.adler,r2,M,Y)),f.next_in+=M,f.total_in+=M,M)}function H(f,r2){var Y=f.max_chain_length,F=f.strstart,M,n2,R2=f.prev_length,w2=f.nice_match,E2=f.strstart>f.w_size-s2?f.strstart-(f.w_size-s2):0,O2=f.window,U2=f.w_mask,I2=f.prev,C2=f.strstart+_2,T2=O2[F+R2-1],B2=O2[F+R2];f.prev_length>=f.good_match&&(Y>>=2),w2>f.lookahead&&(w2=f.lookahead);do if(M=r2,!(O2[M+R2]!==B2||O2[M+R2-1]!==T2||O2[M]!==O2[F]||O2[++M]!==O2[F+1])){F+=2,M++;do;while(O2[++F]===O2[++M]&&O2[++F]===O2[++M]&&O2[++F]===O2[++M]&&O2[++F]===O2[++M]&&O2[++F]===O2[++M]&&O2[++F]===O2[++M]&&O2[++F]===O2[++M]&&O2[++F]===O2[++M]&&FR2){if(f.match_start=r2,R2=n2,n2>=w2)break;T2=O2[F+R2-1],B2=O2[F+R2]}}while((r2=I2[r2&U2])>E2&&--Y!==0);return R2<=f.lookahead?R2:f.lookahead}function i2(f){var r2=f.w_size,Y,F,M,n2,R2;do{if(n2=f.window_size-f.lookahead-f.strstart,f.strstart>=r2+(r2-s2)){e.arraySet(f.window,f.window,r2,r2,0),f.match_start-=r2,f.strstart-=r2,f.block_start-=r2,F=f.hash_size,Y=F;do M=f.head[--Y],f.head[Y]=M>=r2?M-r2:0;while(--F);F=r2,Y=F;do M=f.prev[--Y],f.prev[Y]=M>=r2?M-r2:0;while(--F);n2+=r2}if(f.strm.avail_in===0)break;if(F=W(f.strm,f.window,f.strstart+f.lookahead,n2),f.lookahead+=F,f.lookahead+f.insert>=f2)for(R2=f.strstart-f.insert,f.ins_h=f.window[R2],f.ins_h=(f.ins_h<f.pending_buf_size-5&&(Y=f.pending_buf_size-5);;){if(f.lookahead<=1){if(i2(f),f.lookahead===0&&r2===t)return U;if(f.lookahead===0)break}f.strstart+=f.lookahead,f.lookahead=0;var F=f.block_start+Y;if((f.strstart===0||f.strstart>=F)&&(f.lookahead=f.strstart-F,f.strstart=F,k(f,!1),f.strm.avail_out===0)||f.strstart-f.block_start>=f.w_size-s2&&(k(f,!1),f.strm.avail_out===0))return U}return f.insert=0,r2===o?(k(f,!0),f.strm.avail_out===0?Q:P):(f.strstart>f.block_start&&(k(f,!1),f.strm.avail_out===0),U)}function L(f,r2){for(var Y,F;;){if(f.lookahead=f2&&(f.ins_h=(f.ins_h<=f2)if(F=l._tr_tally(f,f.strstart-f.match_start,f.match_length-f2),f.lookahead-=f.match_length,f.match_length<=f.max_lazy_match&&f.lookahead>=f2){f.match_length--;do f.strstart++,f.ins_h=(f.ins_h<=f2&&(f.ins_h=(f.ins_h<4096)&&(f.match_length=f2-1)),f.prev_length>=f2&&f.match_length<=f.prev_length){M=f.strstart+f.lookahead-f2,F=l._tr_tally(f,f.strstart-1-f.prev_match,f.prev_length-f2),f.lookahead-=f.prev_length-1,f.prev_length-=2;do++f.strstart<=M&&(f.ins_h=(f.ins_h<=f2&&f.strstart>0&&(M=f.strstart-1,F=R2[M],F===R2[++M]&&F===R2[++M]&&F===R2[++M])){n2=f.strstart+_2;do;while(F===R2[++M]&&F===R2[++M]&&F===R2[++M]&&F===R2[++M]&&F===R2[++M]&&F===R2[++M]&&F===R2[++M]&&F===R2[++M]&&Mf.lookahead&&(f.match_length=f.lookahead)}if(f.match_length>=f2?(Y=l._tr_tally(f,1,f.match_length-f2),f.lookahead-=f.match_length,f.strstart+=f.match_length,f.match_length=0):(Y=l._tr_tally(f,0,f.window[f.strstart]),f.lookahead--,f.strstart++),Y&&(k(f,!1),f.strm.avail_out===0))return U}return f.insert=0,r2===o?(k(f,!0),f.strm.avail_out===0?Q:P):f.last_lit&&(k(f,!1),f.strm.avail_out===0)?U:K}function F2(f,r2){for(var Y;;){if(f.lookahead===0&&(i2(f),f.lookahead===0)){if(r2===t)return U;break}if(f.match_length=0,Y=l._tr_tally(f,0,f.window[f.strstart]),f.lookahead--,f.strstart++,Y&&(k(f,!1),f.strm.avail_out===0))return U}return f.insert=0,r2===o?(k(f,!0),f.strm.avail_out===0?Q:P):f.last_lit&&(k(f,!1),f.strm.avail_out===0)?U:K}function P2(f,r2,Y,F,M){this.good_length=f,this.max_lazy=r2,this.nice_length=Y,this.max_chain=F,this.func=M}var q2;q2=[new P2(0,0,0,0,c2),new P2(4,4,8,4,L),new P2(4,5,16,8,L),new P2(4,6,32,32,L),new P2(4,4,16,16,l2),new P2(8,16,32,32,l2),new P2(8,16,128,128,l2),new P2(8,32,128,256,l2),new P2(32,128,258,1024,l2),new P2(32,258,258,4096,l2)];function D2(f){f.window_size=2*f.w_size,x2(f.head),f.max_lazy_match=q2[f.level].max_lazy,f.good_match=q2[f.level].good_length,f.nice_match=q2[f.level].nice_length,f.max_chain_length=q2[f.level].max_chain,f.strstart=0,f.block_start=0,f.lookahead=0,f.insert=0,f.match_length=f.prev_length=f2-1,f.match_available=0,f.ins_h=0}function O(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=x,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new e.Buf16(m2*2),this.dyn_dtree=new e.Buf16((2*J+1)*2),this.bl_tree=new e.Buf16((2*a2+1)*2),x2(this.dyn_ltree),x2(this.dyn_dtree),x2(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new e.Buf16(g2+1),this.heap=new e.Buf16(2*e2+1),x2(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new e.Buf16(2*e2+1),x2(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function d2(f){var r2;return!f||!f.state?X(f,c):(f.total_in=f.total_out=0,f.data_type=E,r2=f.state,r2.pending=0,r2.pending_out=0,r2.wrap<0&&(r2.wrap=-r2.wrap),r2.status=r2.wrap?y2:R,f.adler=r2.wrap===2?0:1,r2.last_flush=t,l._tr_init(r2),m)}function p2(f){var r2=d2(f);return r2===m&&D2(f.state),r2}function S2(f,r2){return!f||!f.state||f.state.wrap!==2?c:(f.state.gzhead=r2,m)}function Z(f,r2,Y,F,M,n2){if(!f)return c;var R2=1;if(r2===S&&(r2=6),F<0?(R2=0,F=-F):F>15&&(R2=2,F-=16),M<1||M>q||Y!==x||F<8||F>15||r2<0||r2>9||n2<0||n2>y)return X(f,c);F===8&&(F=9);var w2=new O;return f.state=w2,w2.strm=f,w2.wrap=R2,w2.gzhead=null,w2.w_bits=F,w2.w_size=1<g||r2<0)return f?X(f,c):c;if(F=f.state,!f.output||!f.input&&f.avail_in!==0||F.status===I&&r2!==o)return X(f,f.avail_out===0?h:c);if(F.strm=f,Y=F.last_flush,F.last_flush=r2,F.status===y2)if(F.wrap===2)f.adler=0,z(F,31),z(F,139),z(F,8),F.gzhead?(z(F,(F.gzhead.text?1:0)+(F.gzhead.hcrc?2:0)+(F.gzhead.extra?4:0)+(F.gzhead.name?8:0)+(F.gzhead.comment?16:0)),z(F,F.gzhead.time&255),z(F,F.gzhead.time>>8&255),z(F,F.gzhead.time>>16&255),z(F,F.gzhead.time>>24&255),z(F,F.level===9?2:F.strategy>=p||F.level<2?4:0),z(F,F.gzhead.os&255),F.gzhead.extra&&F.gzhead.extra.length&&(z(F,F.gzhead.extra.length&255),z(F,F.gzhead.extra.length>>8&255)),F.gzhead.hcrc&&(f.adler=r(f.adler,F.pending_buf,F.pending,0)),F.gzindex=0,F.status=N):(z(F,0),z(F,0),z(F,0),z(F,0),z(F,0),z(F,F.level===9?2:F.strategy>=p||F.level<2?4:0),z(F,A),F.status=R);else{var R2=x+(F.w_bits-8<<4)<<8,w2=-1;F.strategy>=p||F.level<2?w2=0:F.level<6?w2=1:F.level===6?w2=2:w2=3,R2|=w2<<6,F.strstart!==0&&(R2|=o2),R2+=31-R2%31,F.status=R,C(F,R2),F.strstart!==0&&(C(F,f.adler>>>16),C(F,f.adler&65535)),f.adler=1}if(F.status===N)if(F.gzhead.extra){for(M=F.pending;F.gzindex<(F.gzhead.extra.length&65535)&&!(F.pending===F.pending_buf_size&&(F.gzhead.hcrc&&F.pending>M&&(f.adler=r(f.adler,F.pending_buf,F.pending-M,M)),b2(f),M=F.pending,F.pending===F.pending_buf_size));)z(F,F.gzhead.extra[F.gzindex]&255),F.gzindex++;F.gzhead.hcrc&&F.pending>M&&(f.adler=r(f.adler,F.pending_buf,F.pending-M,M)),F.gzindex===F.gzhead.extra.length&&(F.gzindex=0,F.status=B)}else F.status=B;if(F.status===B)if(F.gzhead.name){M=F.pending;do{if(F.pending===F.pending_buf_size&&(F.gzhead.hcrc&&F.pending>M&&(f.adler=r(f.adler,F.pending_buf,F.pending-M,M)),b2(f),M=F.pending,F.pending===F.pending_buf_size)){n2=1;break}F.gzindexM&&(f.adler=r(f.adler,F.pending_buf,F.pending-M,M)),n2===0&&(F.gzindex=0,F.status=$)}else F.status=$;if(F.status===$)if(F.gzhead.comment){M=F.pending;do{if(F.pending===F.pending_buf_size&&(F.gzhead.hcrc&&F.pending>M&&(f.adler=r(f.adler,F.pending_buf,F.pending-M,M)),b2(f),M=F.pending,F.pending===F.pending_buf_size)){n2=1;break}F.gzindexM&&(f.adler=r(f.adler,F.pending_buf,F.pending-M,M)),n2===0&&(F.status=D)}else F.status=D;if(F.status===D&&(F.gzhead.hcrc?(F.pending+2>F.pending_buf_size&&b2(f),F.pending+2<=F.pending_buf_size&&(z(F,f.adler&255),z(F,f.adler>>8&255),f.adler=0,F.status=R)):F.status=R),F.pending!==0){if(b2(f),f.avail_out===0)return F.last_flush=-1,m}else if(f.avail_in===0&&h2(r2)<=h2(Y)&&r2!==o)return X(f,h);if(F.status===I&&f.avail_in!==0)return X(f,h);if(f.avail_in!==0||F.lookahead!==0||r2!==t&&F.status!==I){var E2=F.strategy===p?F2(F,r2):F.strategy===b?G(F,r2):q2[F.level].func(F,r2);if((E2===Q||E2===P)&&(F.status=I),E2===U||E2===Q)return f.avail_out===0&&(F.last_flush=-1),m;if(E2===K&&(r2===i?l._tr_align(F):r2!==g&&(l._tr_stored_block(F,0,0,!1),r2===s&&(x2(F.head),F.lookahead===0&&(F.strstart=0,F.block_start=0,F.insert=0))),b2(f),f.avail_out===0))return F.last_flush=-1,m}return r2!==o?m:F.wrap<=0?d:(F.wrap===2?(z(F,f.adler&255),z(F,f.adler>>8&255),z(F,f.adler>>16&255),z(F,f.adler>>24&255),z(F,f.total_in&255),z(F,f.total_in>>8&255),z(F,f.total_in>>16&255),z(F,f.total_in>>24&255)):(C(F,f.adler>>>16),C(F,f.adler&65535)),b2(f),F.wrap>0&&(F.wrap=-F.wrap),F.pending!==0?m:d)}function v2(f){var r2;return!f||!f.state?c:(r2=f.state.status,r2!==y2&&r2!==N&&r2!==B&&r2!==$&&r2!==D&&r2!==R&&r2!==I?X(f,c):(f.state=null,r2===R?X(f,a):m))}function A2(f,r2){var Y=r2.length,F,M,n2,R2,w2,E2,O2,U2;if(!f||!f.state||(F=f.state,R2=F.wrap,R2===2||R2===1&&F.status!==y2||F.lookahead))return c;for(R2===1&&(f.adler=u(f.adler,r2,Y,0)),F.wrap=0,Y>=F.w_size&&(R2===0&&(x2(F.head),F.strstart=0,F.block_start=0,F.insert=0),U2=new e.Buf8(F.w_size),e.arraySet(U2,r2,Y-F.w_size,F.w_size,0),r2=U2,Y=F.w_size),w2=f.avail_in,E2=f.next_in,O2=f.input,f.avail_in=Y,f.next_in=0,f.input=r2,i2(F);F.lookahead>=f2;){M=F.strstart,n2=F.lookahead-(f2-1);do F.ins_h=(F.ins_h<=252?6:n>=248?5:n>=240?4:n>=224?3:n>=192?2:1;r[254]=r[254]=1,strings.string2buf=function(i){var s,o,g,m,d,c=i.length,a=0;for(m=0;m>>6,s[d++]=128|o&63):o<65536?(s[d++]=224|o>>>12,s[d++]=128|o>>>6&63,s[d++]=128|o&63):(s[d++]=240|o>>>18,s[d++]=128|o>>>12&63,s[d++]=128|o>>>6&63,s[d++]=128|o&63);return s};function t(i,s){if(s<65534&&(i.subarray&&u||!i.subarray&&l))return String.fromCharCode.apply(null,e.shrinkBuf(i,s));for(var o="",g=0;g4){a[g++]=65533,o+=d-1;continue}for(m&=d===2?31:d===3?15:7;d>1&&o1){a[g++]=65533;continue}m<65536?a[g++]=m:(m-=65536,a[g++]=55296|m>>10&1023,a[g++]=56320|m&1023)}return t(a,g)},strings.utf8border=function(i,s){var o;for(s=s||i.length,s>i.length&&(s=i.length),o=s-1;o>=0&&(i[o]&192)===128;)o--;return o<0||o===0?s:o+r[i[o]]>s?o:s},strings}var zstream,hasRequiredZstream;function requireZstream(){if(hasRequiredZstream)return zstream;hasRequiredZstream=1;function e(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}return zstream=e,zstream}var hasRequiredDeflate;function requireDeflate(){if(hasRequiredDeflate)return deflate$1;hasRequiredDeflate=1;var e=requireDeflate$1(),l=requireCommon(),u=requireStrings(),r=requireMessages(),n=requireZstream(),t=Object.prototype.toString,i=0,s=4,o=0,g=1,m=2,d=-1,c=0,a=8;function h(b){if(!(this instanceof h))return new h(b);this.options=l.assign({level:d,method:a,chunkSize:16384,windowBits:15,memLevel:8,strategy:c,to:""},b||{});var y=this.options;y.raw&&y.windowBits>0?y.windowBits=-y.windowBits:y.gzip&&y.windowBits>0&&y.windowBits<16&&(y.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new n,this.strm.avail_out=0;var _=e.deflateInit2(this.strm,y.level,y.method,y.windowBits,y.memLevel,y.strategy);if(_!==o)throw new Error(r[_]);if(y.header&&e.deflateSetHeader(this.strm,y.header),y.dictionary){var E;if(typeof y.dictionary=="string"?E=u.string2buf(y.dictionary):t.call(y.dictionary)==="[object ArrayBuffer]"?E=new Uint8Array(y.dictionary):E=y.dictionary,_=e.deflateSetDictionary(this.strm,E),_!==o)throw new Error(r[_]);this._dict_set=!0}}h.prototype.push=function(b,y){var _=this.strm,E=this.options.chunkSize,x,q;if(this.ended)return!1;q=y===~~y?y:y===!0?s:i,typeof b=="string"?_.input=u.string2buf(b):t.call(b)==="[object ArrayBuffer]"?_.input=new Uint8Array(b):_.input=b,_.next_in=0,_.avail_in=_.input.length;do{if(_.avail_out===0&&(_.output=new l.Buf8(E),_.next_out=0,_.avail_out=E),x=e.deflate(_,q),x!==g&&x!==o)return this.onEnd(x),this.ended=!0,!1;(_.avail_out===0||_.avail_in===0&&(q===s||q===m))&&(this.options.to==="string"?this.onData(u.buf2binstring(l.shrinkBuf(_.output,_.next_out))):this.onData(l.shrinkBuf(_.output,_.next_out)))}while((_.avail_in>0||_.avail_out===0)&&x!==g);return q===s?(x=e.deflateEnd(this.strm),this.onEnd(x),this.ended=!0,x===o):(q===m&&(this.onEnd(o),_.avail_out=0),!0)},h.prototype.onData=function(b){this.chunks.push(b)},h.prototype.onEnd=function(b){b===o&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function S(b,y){var _=new h(y);if(_.push(b,!0),_.err)throw _.msg||r[_.err];return _.result}function v(b,y){return y=y||{},y.raw=!0,S(b,y)}function p(b,y){return y=y||{},y.gzip=!0,S(b,y)}return deflate$1.Deflate=h,deflate$1.deflate=S,deflate$1.deflateRaw=v,deflate$1.gzip=p,deflate$1}var inflate$1={},inflate={},inffast,hasRequiredInffast;function requireInffast(){if(hasRequiredInffast)return inffast;hasRequiredInffast=1;var e=30,l=12;return inffast=function(r,n){var t,i,s,o,g,m,d,c,a,h,S,v,p,b,y,_,E,x,q,T,j,V,u2,e2,J;t=r.state,i=r.next_in,e2=r.input,s=i+(r.avail_in-5),o=r.next_out,J=r.output,g=o-(n-r.avail_out),m=o+(r.avail_out-257),d=t.dmax,c=t.wsize,a=t.whave,h=t.wnext,S=t.window,v=t.hold,p=t.bits,b=t.lencode,y=t.distcode,_=(1<>>24,v>>>=q,p-=q,q=x>>>16&255,q===0)J[o++]=x&65535;else if(q&16){T=x&65535,q&=15,q&&(p>>=q,p-=q),p<15&&(v+=e2[i++]<>>24,v>>>=q,p-=q,q=x>>>16&255,q&16){if(j=x&65535,q&=15,pd){r.msg="invalid distance too far back",t.mode=e;break l}if(v>>>=q,p-=q,q=o-g,j>q){if(q=j-q,q>a&&t.sane){r.msg="invalid distance too far back",t.mode=e;break l}if(V=0,u2=S,h===0){if(V+=c-q,q2;)J[o++]=u2[V++],J[o++]=u2[V++],J[o++]=u2[V++],T-=3;T&&(J[o++]=u2[V++],T>1&&(J[o++]=u2[V++]))}else{V=o-j;do J[o++]=J[V++],J[o++]=J[V++],J[o++]=J[V++],T-=3;while(T>2);T&&(J[o++]=J[V++],T>1&&(J[o++]=J[V++]))}}else if(q&64){r.msg="invalid distance code",t.mode=e;break l}else{x=y[(x&65535)+(v&(1<>3,i-=T,p-=T<<3,v&=(1<=1&&B[T]===0;T--);if(j>T&&(j=T),T===0)return v[p++]=1<<24|64<<16|0,v[p++]=1<<24|64<<16|0,y.bits=1,0;for(q=1;q0&&(c===n||T!==1))return-1;for($[1]=0,E=1;Eu||c===i&&J>r)return 1;for(;;){I=E-u2,b[x]N?(U=D[R+b[x]],K=o2[y2+b[x]]):(U=32+64,K=0),m2=1<>u2)+g2]=I<<24|U<<16|K|0;while(g2!==0);for(m2=1<>=1;if(m2!==0?(a2&=m2-1,a2+=m2):a2=0,x++,--B[E]===0){if(E===T)break;E=a[h+b[x]]}if(E>j&&(a2&_2)!==f2){for(u2===0&&(u2=j),s2+=q,V=E-u2,e2=1<u||c===i&&J>r)return 1;f2=a2&_2,v[f2]=j<<24|V<<16|s2-p|0}}return a2!==0&&(v[s2+a2]=E-u2<<24|64<<16|0),y.bits=j,0},inftrees}var hasRequiredInflate$1;function requireInflate$1(){if(hasRequiredInflate$1)return inflate;hasRequiredInflate$1=1;var e=requireCommon(),l=requireAdler32(),u=requireCrc32(),r=requireInffast(),n=requireInftrees(),t=0,i=1,s=2,o=4,g=5,m=6,d=0,c=1,a=2,h=-2,S=-3,v=-4,p=-5,b=8,y=1,_=2,E=3,x=4,q=5,T=6,j=7,V=8,u2=9,e2=10,J=11,a2=12,m2=13,g2=14,f2=15,_2=16,s2=17,o2=18,y2=19,N=20,B=21,$=22,D=23,R=24,I=25,U=26,K=27,Q=28,P=29,A=30,X=31,h2=32,x2=852,b2=592,k=15,z=k;function C(Z){return(Z>>>24&255)+(Z>>>8&65280)+((Z&65280)<<8)+((Z&255)<<24)}function W(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new e.Buf16(320),this.work=new e.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function H(Z){var t2;return!Z||!Z.state?h:(t2=Z.state,Z.total_in=Z.total_out=t2.total=0,Z.msg="",t2.wrap&&(Z.adler=t2.wrap&1),t2.mode=y,t2.last=0,t2.havedict=0,t2.dmax=32768,t2.head=null,t2.hold=0,t2.bits=0,t2.lencode=t2.lendyn=new e.Buf32(x2),t2.distcode=t2.distdyn=new e.Buf32(b2),t2.sane=1,t2.back=-1,d)}function i2(Z){var t2;return!Z||!Z.state?h:(t2=Z.state,t2.wsize=0,t2.whave=0,t2.wnext=0,H(Z))}function c2(Z,t2){var w,v2;return!Z||!Z.state||(v2=Z.state,t2<0?(w=0,t2=-t2):(w=(t2>>4)+1,t2<48&&(t2&=15)),t2&&(t2<8||t2>15))?h:(v2.window!==null&&v2.wbits!==t2&&(v2.window=null),v2.wrap=w,v2.wbits=t2,i2(Z))}function L(Z,t2){var w,v2;return Z?(v2=new W,Z.state=v2,v2.window=null,w=c2(Z,t2),w!==d&&(Z.state=null),w):h}function l2(Z){return L(Z,z)}var G=!0,F2,P2;function q2(Z){if(G){var t2;for(F2=new e.Buf32(512),P2=new e.Buf32(32),t2=0;t2<144;)Z.lens[t2++]=8;for(;t2<256;)Z.lens[t2++]=9;for(;t2<280;)Z.lens[t2++]=7;for(;t2<288;)Z.lens[t2++]=8;for(n(i,Z.lens,0,288,F2,0,Z.work,{bits:9}),t2=0;t2<32;)Z.lens[t2++]=5;n(s,Z.lens,0,32,P2,0,Z.work,{bits:5}),G=!1}Z.lencode=F2,Z.lenbits=9,Z.distcode=P2,Z.distbits=5}function D2(Z,t2,w,v2){var A2,f=Z.state;return f.window===null&&(f.wsize=1<=f.wsize?(e.arraySet(f.window,t2,w-f.wsize,f.wsize,0),f.wnext=0,f.whave=f.wsize):(A2=f.wsize-f.wnext,A2>v2&&(A2=v2),e.arraySet(f.window,t2,w-v2,A2,f.wnext),v2-=A2,v2?(e.arraySet(f.window,t2,w-v2,v2,0),f.wnext=v2,f.whave=f.wsize):(f.wnext+=A2,f.wnext===f.wsize&&(f.wnext=0),f.whave>>8&255,w.check=u(w.check,j2,2,0),M=0,n2=0,w.mode=_;break}if(w.flags=0,w.head&&(w.head.done=!1),!(w.wrap&1)||(((M&255)<<8)+(M>>8))%31){Z.msg="incorrect header check",w.mode=A;break}if((M&15)!==b){Z.msg="unknown compression method",w.mode=A;break}if(M>>>=4,n2-=4,k2=(M&15)+8,w.wbits===0)w.wbits=k2;else if(k2>w.wbits){Z.msg="invalid window size",w.mode=A;break}w.dmax=1<>8&1),w.flags&512&&(j2[0]=M&255,j2[1]=M>>>8&255,w.check=u(w.check,j2,2,0)),M=0,n2=0,w.mode=E;case E:for(;n2<32;){if(Y===0)break l;Y--,M+=v2[f++]<>>8&255,j2[2]=M>>>16&255,j2[3]=M>>>24&255,w.check=u(w.check,j2,4,0)),M=0,n2=0,w.mode=x;case x:for(;n2<16;){if(Y===0)break l;Y--,M+=v2[f++]<>8),w.flags&512&&(j2[0]=M&255,j2[1]=M>>>8&255,w.check=u(w.check,j2,2,0)),M=0,n2=0,w.mode=q;case q:if(w.flags&1024){for(;n2<16;){if(Y===0)break l;Y--,M+=v2[f++]<>>8&255,w.check=u(w.check,j2,2,0)),M=0,n2=0}else w.head&&(w.head.extra=null);w.mode=T;case T:if(w.flags&1024&&(E2=w.length,E2>Y&&(E2=Y),E2&&(w.head&&(k2=w.head.extra_len-w.length,w.head.extra||(w.head.extra=new Array(w.head.extra_len)),e.arraySet(w.head.extra,v2,f,E2,k2)),w.flags&512&&(w.check=u(w.check,v2,E2,f)),Y-=E2,f+=E2,w.length-=E2),w.length))break l;w.length=0,w.mode=j;case j:if(w.flags&2048){if(Y===0)break l;E2=0;do k2=v2[f+E2++],w.head&&k2&&w.length<65536&&(w.head.name+=String.fromCharCode(k2));while(k2&&E2>9&1,w.head.done=!0),Z.adler=w.check=0,w.mode=a2;break;case e2:for(;n2<32;){if(Y===0)break l;Y--,M+=v2[f++]<>>=n2&7,n2-=n2&7,w.mode=K;break}for(;n2<3;){if(Y===0)break l;Y--,M+=v2[f++]<>>=1,n2-=1,M&3){case 0:w.mode=g2;break;case 1:if(q2(w),w.mode=N,t2===m){M>>>=2,n2-=2;break l}break;case 2:w.mode=s2;break;case 3:Z.msg="invalid block type",w.mode=A}M>>>=2,n2-=2;break;case g2:for(M>>>=n2&7,n2-=n2&7;n2<32;){if(Y===0)break l;Y--,M+=v2[f++]<>>16^65535)){Z.msg="invalid stored block lengths",w.mode=A;break}if(w.length=M&65535,M=0,n2=0,w.mode=f2,t2===m)break l;case f2:w.mode=_2;case _2:if(E2=w.length,E2){if(E2>Y&&(E2=Y),E2>F&&(E2=F),E2===0)break l;e.arraySet(A2,v2,f,E2,r2),Y-=E2,f+=E2,F-=E2,r2+=E2,w.length-=E2;break}w.mode=a2;break;case s2:for(;n2<14;){if(Y===0)break l;Y--,M+=v2[f++]<>>=5,n2-=5,w.ndist=(M&31)+1,M>>>=5,n2-=5,w.ncode=(M&15)+4,M>>>=4,n2-=4,w.nlen>286||w.ndist>30){Z.msg="too many length or distance symbols",w.mode=A;break}w.have=0,w.mode=o2;case o2:for(;w.have>>=3,n2-=3}for(;w.have<19;)w.lens[W2[w.have++]]=0;if(w.lencode=w.lendyn,w.lenbits=7,z2={bits:w.lenbits},N2=n(t,w.lens,0,19,w.lencode,0,w.work,z2),w.lenbits=z2.bits,N2){Z.msg="invalid code lengths set",w.mode=A;break}w.have=0,w.mode=y2;case y2:for(;w.have>>24,T2=I2>>>16&255,B2=I2&65535,!(C2<=n2);){if(Y===0)break l;Y--,M+=v2[f++]<>>=C2,n2-=C2,w.lens[w.have++]=B2;else{if(B2===16){for($2=C2+2;n2<$2;){if(Y===0)break l;Y--,M+=v2[f++]<>>=C2,n2-=C2,w.have===0){Z.msg="invalid bit length repeat",w.mode=A;break}k2=w.lens[w.have-1],E2=3+(M&3),M>>>=2,n2-=2}else if(B2===17){for($2=C2+3;n2<$2;){if(Y===0)break l;Y--,M+=v2[f++]<>>=C2,n2-=C2,k2=0,E2=3+(M&7),M>>>=3,n2-=3}else{for($2=C2+7;n2<$2;){if(Y===0)break l;Y--,M+=v2[f++]<>>=C2,n2-=C2,k2=0,E2=11+(M&127),M>>>=7,n2-=7}if(w.have+E2>w.nlen+w.ndist){Z.msg="invalid bit length repeat",w.mode=A;break}for(;E2--;)w.lens[w.have++]=k2}}if(w.mode===A)break;if(w.lens[256]===0){Z.msg="invalid code -- missing end-of-block",w.mode=A;break}if(w.lenbits=9,z2={bits:w.lenbits},N2=n(i,w.lens,0,w.nlen,w.lencode,0,w.work,z2),w.lenbits=z2.bits,N2){Z.msg="invalid literal/lengths set",w.mode=A;break}if(w.distbits=6,w.distcode=w.distdyn,z2={bits:w.distbits},N2=n(s,w.lens,w.nlen,w.ndist,w.distcode,0,w.work,z2),w.distbits=z2.bits,N2){Z.msg="invalid distances set",w.mode=A;break}if(w.mode=N,t2===m)break l;case N:w.mode=B;case B:if(Y>=6&&F>=258){Z.next_out=r2,Z.avail_out=F,Z.next_in=f,Z.avail_in=Y,w.hold=M,w.bits=n2,r(Z,w2),r2=Z.next_out,A2=Z.output,F=Z.avail_out,f=Z.next_in,v2=Z.input,Y=Z.avail_in,M=w.hold,n2=w.bits,w.mode===a2&&(w.back=-1);break}for(w.back=0;I2=w.lencode[M&(1<>>24,T2=I2>>>16&255,B2=I2&65535,!(C2<=n2);){if(Y===0)break l;Y--,M+=v2[f++]<>L2)],C2=I2>>>24,T2=I2>>>16&255,B2=I2&65535,!(L2+C2<=n2);){if(Y===0)break l;Y--,M+=v2[f++]<>>=L2,n2-=L2,w.back+=L2}if(M>>>=C2,n2-=C2,w.back+=C2,w.length=B2,T2===0){w.mode=U;break}if(T2&32){w.back=-1,w.mode=a2;break}if(T2&64){Z.msg="invalid literal/length code",w.mode=A;break}w.extra=T2&15,w.mode=$;case $:if(w.extra){for($2=w.extra;n2<$2;){if(Y===0)break l;Y--,M+=v2[f++]<>>=w.extra,n2-=w.extra,w.back+=w.extra}w.was=w.length,w.mode=D;case D:for(;I2=w.distcode[M&(1<>>24,T2=I2>>>16&255,B2=I2&65535,!(C2<=n2);){if(Y===0)break l;Y--,M+=v2[f++]<>L2)],C2=I2>>>24,T2=I2>>>16&255,B2=I2&65535,!(L2+C2<=n2);){if(Y===0)break l;Y--,M+=v2[f++]<>>=L2,n2-=L2,w.back+=L2}if(M>>>=C2,n2-=C2,w.back+=C2,T2&64){Z.msg="invalid distance code",w.mode=A;break}w.offset=B2,w.extra=T2&15,w.mode=R;case R:if(w.extra){for($2=w.extra;n2<$2;){if(Y===0)break l;Y--,M+=v2[f++]<>>=w.extra,n2-=w.extra,w.back+=w.extra}if(w.offset>w.dmax){Z.msg="invalid distance too far back",w.mode=A;break}w.mode=I;case I:if(F===0)break l;if(E2=w2-F,w.offset>E2){if(E2=w.offset-E2,E2>w.whave&&w.sane){Z.msg="invalid distance too far back",w.mode=A;break}E2>w.wnext?(E2-=w.wnext,O2=w.wsize-E2):O2=w.wnext-E2,E2>w.length&&(E2=w.length),U2=w.window}else U2=A2,O2=r2-w.offset,E2=w.length;E2>F&&(E2=F),F-=E2,w.length-=E2;do A2[r2++]=U2[O2++];while(--E2);w.length===0&&(w.mode=B);break;case U:if(F===0)break l;A2[r2++]=w.length,F--,w.mode=B;break;case K:if(w.wrap){for(;n2<32;){if(Y===0)break l;Y--,M|=v2[f++]<=0&&c.windowBits<16&&(c.windowBits=-c.windowBits,c.windowBits===0&&(c.windowBits=-15)),c.windowBits>=0&&c.windowBits<16&&!(d&&d.windowBits)&&(c.windowBits+=32),c.windowBits>15&&c.windowBits<48&&(c.windowBits&15||(c.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new t,this.strm.avail_out=0;var a=e.inflateInit2(this.strm,c.windowBits);if(a!==r.Z_OK)throw new Error(n[a]);if(this.header=new i,e.inflateGetHeader(this.strm,this.header),c.dictionary&&(typeof c.dictionary=="string"?c.dictionary=u.string2buf(c.dictionary):s.call(c.dictionary)==="[object ArrayBuffer]"&&(c.dictionary=new Uint8Array(c.dictionary)),c.raw&&(a=e.inflateSetDictionary(this.strm,c.dictionary),a!==r.Z_OK)))throw new Error(n[a])}o.prototype.push=function(d,c){var a=this.strm,h=this.options.chunkSize,S=this.options.dictionary,v,p,b,y,_,E=!1;if(this.ended)return!1;p=c===~~c?c:c===!0?r.Z_FINISH:r.Z_NO_FLUSH,typeof d=="string"?a.input=u.binstring2buf(d):s.call(d)==="[object ArrayBuffer]"?a.input=new Uint8Array(d):a.input=d,a.next_in=0,a.avail_in=a.input.length;do{if(a.avail_out===0&&(a.output=new l.Buf8(h),a.next_out=0,a.avail_out=h),v=e.inflate(a,r.Z_NO_FLUSH),v===r.Z_NEED_DICT&&S&&(v=e.inflateSetDictionary(this.strm,S)),v===r.Z_BUF_ERROR&&E===!0&&(v=r.Z_OK,E=!1),v!==r.Z_STREAM_END&&v!==r.Z_OK)return this.onEnd(v),this.ended=!0,!1;a.next_out&&(a.avail_out===0||v===r.Z_STREAM_END||a.avail_in===0&&(p===r.Z_FINISH||p===r.Z_SYNC_FLUSH))&&(this.options.to==="string"?(b=u.utf8border(a.output,a.next_out),y=a.next_out-b,_=u.buf2string(a.output,b),a.next_out=y,a.avail_out=h-y,y&&l.arraySet(a.output,a.output,b,y,0),this.onData(_)):this.onData(l.shrinkBuf(a.output,a.next_out))),a.avail_in===0&&a.avail_out===0&&(E=!0)}while((a.avail_in>0||a.avail_out===0)&&v!==r.Z_STREAM_END);return v===r.Z_STREAM_END&&(p=r.Z_FINISH),p===r.Z_FINISH?(v=e.inflateEnd(this.strm),this.onEnd(v),this.ended=!0,v===r.Z_OK):(p===r.Z_SYNC_FLUSH&&(this.onEnd(r.Z_OK),a.avail_out=0),!0)},o.prototype.onData=function(d){this.chunks.push(d)},o.prototype.onEnd=function(d){d===r.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=d,this.msg=this.strm.msg};function g(d,c){var a=new o(c);if(a.push(d,!0),a.err)throw a.msg||n[a.err];return a.result}function m(d,c){return c=c||{},c.raw=!0,g(d,c)}return inflate$1.Inflate=o,inflate$1.inflate=g,inflate$1.inflateRaw=m,inflate$1.ungzip=g,inflate$1}var pako_1,hasRequiredPako;function requirePako(){if(hasRequiredPako)return pako_1;hasRequiredPako=1;var e=requireCommon().assign,l=requireDeflate(),u=requireInflate(),r=requireConstants(),n={};return e(n,l,u,r),pako_1=n,pako_1}var hasRequiredFlate;function requireFlate(){if(hasRequiredFlate)return flate;hasRequiredFlate=1;var e=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",l=requirePako(),u=requireUtils(),r=requireGenericWorker(),n=e?"uint8array":"array";flate.magic="\b\0";function t(i,s){r.call(this,"FlateWorker/"+i),this._pako=null,this._pakoAction=i,this._pakoOptions=s,this.meta={}}return u.inherits(t,r),t.prototype.processChunk=function(i){this.meta=i.meta,this._pako===null&&this._createPako(),this._pako.push(u.transformTo(n,i.data),!1)},t.prototype.flush=function(){r.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},t.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this._pako=null},t.prototype._createPako=function(){this._pako=new l[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var i=this;this._pako.onData=function(s){i.push({data:s,meta:i.meta})}},flate.compressWorker=function(i){return new t("Deflate",i)},flate.uncompressWorker=function(){return new t("Inflate",{})},flate}var hasRequiredCompressions;function requireCompressions(){if(hasRequiredCompressions)return compressions;hasRequiredCompressions=1;var e=requireGenericWorker();return compressions.STORE={magic:"\0\0",compressWorker:function(l){return new e("STORE compression")},uncompressWorker:function(){return new e("STORE decompression")}},compressions.DEFLATE=requireFlate(),compressions}var signature={},hasRequiredSignature;function requireSignature(){return hasRequiredSignature||(hasRequiredSignature=1,signature.LOCAL_FILE_HEADER="PK",signature.CENTRAL_FILE_HEADER="PK",signature.CENTRAL_DIRECTORY_END="PK",signature.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",signature.ZIP64_CENTRAL_DIRECTORY_END="PK",signature.DATA_DESCRIPTOR="PK\x07\b"),signature}var ZipFileWorker_1,hasRequiredZipFileWorker;function requireZipFileWorker(){if(hasRequiredZipFileWorker)return ZipFileWorker_1;hasRequiredZipFileWorker=1;var e=requireUtils(),l=requireGenericWorker(),u=requireUtf8(),r=requireCrc32$1(),n=requireSignature(),t=function(c,a){var h="",S;for(S=0;S>>8;return h},i=function(c,a){var h=c;return c||(h=a?16893:33204),(h&65535)<<16},s=function(c,a){return(c||0)&63},o=function(c,a,h,S,v,p){var b=c.file,y=c.compression,_=p!==u.utf8encode,E=e.transformTo("string",p(b.name)),x=e.transformTo("string",u.utf8encode(b.name)),q=b.comment,T=e.transformTo("string",p(q)),j=e.transformTo("string",u.utf8encode(q)),V=x.length!==b.name.length,u2=j.length!==q.length,e2,J,a2="",m2="",g2="",f2=b.dir,_2=b.date,s2={crc32:0,compressedSize:0,uncompressedSize:0};(!a||h)&&(s2.crc32=c.crc32,s2.compressedSize=c.compressedSize,s2.uncompressedSize=c.uncompressedSize);var o2=0;a&&(o2|=8),!_&&(V||u2)&&(o2|=2048);var y2=0,N=0;f2&&(y2|=16),v==="UNIX"?(N=798,y2|=i(b.unixPermissions,f2)):(N=20,y2|=s(b.dosPermissions)),e2=_2.getUTCHours(),e2=e2<<6,e2=e2|_2.getUTCMinutes(),e2=e2<<5,e2=e2|_2.getUTCSeconds()/2,J=_2.getUTCFullYear()-1980,J=J<<4,J=J|_2.getUTCMonth()+1,J=J<<5,J=J|_2.getUTCDate(),V&&(m2=t(1,1)+t(r(E),4)+x,a2+="up"+t(m2.length,2)+m2),u2&&(g2=t(1,1)+t(r(T),4)+j,a2+="uc"+t(g2.length,2)+g2);var B="";B+=` +\0`,B+=t(o2,2),B+=y.magic,B+=t(e2,2),B+=t(J,2),B+=t(s2.crc32,4),B+=t(s2.compressedSize,4),B+=t(s2.uncompressedSize,4),B+=t(E.length,2),B+=t(a2.length,2);var $=n.LOCAL_FILE_HEADER+B+E+a2,D=n.CENTRAL_FILE_HEADER+t(N,2)+B+t(T.length,2)+"\0\0\0\0"+t(y2,4)+t(S,4)+E+a2+T;return{fileRecord:$,dirRecord:D}},g=function(c,a,h,S,v){var p="",b=e.transformTo("string",v(S));return p=n.CENTRAL_DIRECTORY_END+"\0\0\0\0"+t(c,2)+t(c,2)+t(a,4)+t(h,4)+t(b.length,2)+b,p},m=function(c){var a="";return a=n.DATA_DESCRIPTOR+t(c.crc32,4)+t(c.compressedSize,4)+t(c.uncompressedSize,4),a};function d(c,a,h,S){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=a,this.zipPlatform=h,this.encodeFileName=S,this.streamFiles=c,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}return e.inherits(d,l),d.prototype.push=function(c){var a=c.meta.percent||0,h=this.entriesCount,S=this._sources.length;this.accumulate?this.contentBuffer.push(c):(this.bytesWritten+=c.data.length,l.prototype.push.call(this,{data:c.data,meta:{currentFile:this.currentFile,percent:h?(a+100*(h-S-1))/h:100}}))},d.prototype.openedSource=function(c){this.currentSourceOffset=this.bytesWritten,this.currentFile=c.file.name;var a=this.streamFiles&&!c.file.dir;if(a){var h=o(c,a,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:h.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(c){this.accumulate=!1;var a=this.streamFiles&&!c.file.dir,h=o(c,a,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(h.dirRecord),a)this.push({data:m(c),meta:{percent:100}});else for(this.push({data:h.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var c=this.bytesWritten,a=0;a"u")&&(E.binary=!x);var q=p instanceof t&&p.uncompressedSize===0;(q||E.dir||!p||p.length===0)&&(E.base64=!1,E.binary=!0,p="",E.compression="STORE",y="string");var T=null;p instanceof t||p instanceof u?T=p:o.isNode&&o.isStream(p)?T=new g(v,p):T=l.prepareContent(v,p,E.binary,E.optimizedBinaryString,E.base64);var j=new i(v,T,E);this.files[v]=j},d=function(v){v.slice(-1)==="/"&&(v=v.substring(0,v.length-1));var p=v.lastIndexOf("/");return p>0?v.substring(0,p):""},c=function(v){return v.slice(-1)!=="/"&&(v+="/"),v},a=function(v,p){return p=typeof p<"u"?p:n.createFolders,v=c(v),this.files[v]||m.call(this,v,null,{dir:!0,createFolders:p}),this.files[v]};function h(v){return Object.prototype.toString.call(v)==="[object RegExp]"}var S={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(v){var p,b,y;for(p in this.files)this.files.hasOwnProperty(p)&&(y=this.files[p],b=p.slice(this.root.length,p.length),b&&p.slice(0,this.root.length)===this.root&&v(b,y))},filter:function(v){var p=[];return this.forEach(function(b,y){v(b,y)&&p.push(y)}),p},file:function(v,p,b){if(arguments.length===1)if(h(v)){var y=v;return this.filter(function(E,x){return!x.dir&&y.test(E)})}else{var _=this.files[this.root+v];return _&&!_.dir?_:null}else v=this.root+v,m.call(this,v,p,b);return this},folder:function(v){if(!v)return this;if(h(v))return this.filter(function(_,E){return E.dir&&v.test(_)});var p=this.root+v,b=a.call(this,p),y=this.clone();return y.root=b.name,y},remove:function(v){v=this.root+v;var p=this.files[v];if(p||(v.slice(-1)!=="/"&&(v+="/"),p=this.files[v]),p&&!p.dir)delete this.files[v];else for(var b=this.filter(function(_,E){return E.name.slice(0,v.length)===v}),y=0;y=this.index;n--)r=(r<<8)+this.byteAt(n);return this.index+=u,r},readString:function(u){return e.transformTo("string",this.readData(u))},readData:function(u){},lastIndexOfSignature:function(u){},readAndCheckSignature:function(u){},readDate:function(){var u=this.readInt(4);return new Date(Date.UTC((u>>25&127)+1980,(u>>21&15)-1,u>>16&31,u>>11&31,u>>5&63,(u&31)<<1))}},DataReader_1=l,DataReader_1}var ArrayReader_1,hasRequiredArrayReader;function requireArrayReader(){if(hasRequiredArrayReader)return ArrayReader_1;hasRequiredArrayReader=1;var e=requireDataReader(),l=requireUtils();function u(r){e.call(this,r);for(var n=0;n=0;--o)if(this.data[o]===n&&this.data[o+1]===t&&this.data[o+2]===i&&this.data[o+3]===s)return o-this.zero;return-1},u.prototype.readAndCheckSignature=function(r){var n=r.charCodeAt(0),t=r.charCodeAt(1),i=r.charCodeAt(2),s=r.charCodeAt(3),o=this.readData(4);return n===o[0]&&t===o[1]&&i===o[2]&&s===o[3]},u.prototype.readData=function(r){if(this.checkOffset(r),r===0)return[];var n=this.data.slice(this.zero+this.index,this.zero+this.index+r);return this.index+=r,n},ArrayReader_1=u,ArrayReader_1}var StringReader_1,hasRequiredStringReader;function requireStringReader(){if(hasRequiredStringReader)return StringReader_1;hasRequiredStringReader=1;var e=requireDataReader(),l=requireUtils();function u(r){e.call(this,r)}return l.inherits(u,e),u.prototype.byteAt=function(r){return this.data.charCodeAt(this.zero+r)},u.prototype.lastIndexOfSignature=function(r){return this.data.lastIndexOf(r)-this.zero},u.prototype.readAndCheckSignature=function(r){var n=this.readData(4);return r===n},u.prototype.readData=function(r){this.checkOffset(r);var n=this.data.slice(this.zero+this.index,this.zero+this.index+r);return this.index+=r,n},StringReader_1=u,StringReader_1}var Uint8ArrayReader_1,hasRequiredUint8ArrayReader;function requireUint8ArrayReader(){if(hasRequiredUint8ArrayReader)return Uint8ArrayReader_1;hasRequiredUint8ArrayReader=1;var e=requireArrayReader(),l=requireUtils();function u(r){e.call(this,r)}return l.inherits(u,e),u.prototype.readData=function(r){if(this.checkOffset(r),r===0)return new Uint8Array(0);var n=this.data.subarray(this.zero+this.index,this.zero+this.index+r);return this.index+=r,n},Uint8ArrayReader_1=u,Uint8ArrayReader_1}var NodeBufferReader_1,hasRequiredNodeBufferReader;function requireNodeBufferReader(){if(hasRequiredNodeBufferReader)return NodeBufferReader_1;hasRequiredNodeBufferReader=1;var e=requireUint8ArrayReader(),l=requireUtils();function u(r){e.call(this,r)}return l.inherits(u,e),u.prototype.readData=function(r){this.checkOffset(r);var n=this.data.slice(this.zero+this.index,this.zero+this.index+r);return this.index+=r,n},NodeBufferReader_1=u,NodeBufferReader_1}var readerFor,hasRequiredReaderFor;function requireReaderFor(){if(hasRequiredReaderFor)return readerFor;hasRequiredReaderFor=1;var e=requireUtils(),l=requireSupport(),u=requireArrayReader(),r=requireStringReader(),n=requireNodeBufferReader(),t=requireUint8ArrayReader();return readerFor=function(i){var s=e.getTypeOf(i);return e.checkSupport(s),s==="string"&&!l.uint8array?new r(i):s==="nodebuffer"?new n(i):l.uint8array?new t(e.transformTo("uint8array",i)):new u(e.transformTo("array",i))},readerFor}var zipEntry,hasRequiredZipEntry;function requireZipEntry(){if(hasRequiredZipEntry)return zipEntry;hasRequiredZipEntry=1;var e=requireReaderFor(),l=requireUtils(),u=requireCompressedObject(),r=requireCrc32$1(),n=requireUtf8(),t=requireCompressions(),i=requireSupport(),s=0,o=3,g=function(d){for(var c in t)if(t.hasOwnProperty(c)&&t[c].magic===d)return t[c];return null};function m(d,c){this.options=d,this.loadOptions=c}return m.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function(d){var c,a;if(d.skip(22),this.fileNameLength=d.readInt(2),a=d.readInt(2),this.fileName=d.readData(this.fileNameLength),d.skip(a),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(c=g(this.compressionMethod),c===null)throw new Error("Corrupted zip : compression "+l.pretty(this.compressionMethod)+" unknown (inner file : "+l.transformTo("string",this.fileName)+")");this.decompressed=new u(this.compressedSize,this.uncompressedSize,this.crc32,c,d.readData(this.compressedSize))},readCentralPart:function(d){this.versionMadeBy=d.readInt(2),d.skip(2),this.bitFlag=d.readInt(2),this.compressionMethod=d.readString(2),this.date=d.readDate(),this.crc32=d.readInt(4),this.compressedSize=d.readInt(4),this.uncompressedSize=d.readInt(4);var c=d.readInt(2);if(this.extraFieldsLength=d.readInt(2),this.fileCommentLength=d.readInt(2),this.diskNumberStart=d.readInt(2),this.internalFileAttributes=d.readInt(2),this.externalFileAttributes=d.readInt(4),this.localHeaderOffset=d.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");d.skip(c),this.readExtraFields(d),this.parseZIP64ExtraField(d),this.fileComment=d.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var d=this.versionMadeBy>>8;this.dir=!!(this.externalFileAttributes&16),d===s&&(this.dosPermissions=this.externalFileAttributes&63),d===o&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=!0)},parseZIP64ExtraField:function(d){if(this.extraFields[1]){var c=e(this.extraFields[1].value);this.uncompressedSize===l.MAX_VALUE_32BITS&&(this.uncompressedSize=c.readInt(8)),this.compressedSize===l.MAX_VALUE_32BITS&&(this.compressedSize=c.readInt(8)),this.localHeaderOffset===l.MAX_VALUE_32BITS&&(this.localHeaderOffset=c.readInt(8)),this.diskNumberStart===l.MAX_VALUE_32BITS&&(this.diskNumberStart=c.readInt(4))}},readExtraFields:function(d){var c=d.index+this.extraFieldsLength,a,h,S;for(this.extraFields||(this.extraFields={});d.index1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var i,s;for(i=0;i0)this.isSignature(o,u.CENTRAL_FILE_HEADER)||(this.reader.zero=m);else if(m<0)throw new Error("Corrupted zip: missing "+Math.abs(m)+" bytes.")},prepareReader:function(i){this.reader=e(i)},load:function(i){this.prepareReader(i),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},zipEntries=t,zipEntries}var load,hasRequiredLoad;function requireLoad(){if(hasRequiredLoad)return load;hasRequiredLoad=1;var u=requireUtils(),e=requireExternal(),l=requireUtf8(),u=requireUtils(),r=requireZipEntries(),n=requireCrc32Probe(),t=requireNodejsUtils();function i(s){return new e.Promise(function(o,g){var m=s.decompressed.getContentWorker().pipe(new n);m.on("error",function(d){g(d)}).on("end",function(){m.streamInfo.crc32!==s.decompressed.crc32?g(new Error("Corrupted zip : CRC32 mismatch")):o()}).resume()})}return load=function(s,o){var g=this;return o=u.extend(o||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:l.utf8decode}),t.isNode&&t.isStream(s)?e.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):u.prepareContent("the loaded zip file",s,!0,o.optimizedBinaryString,o.base64).then(function(m){var d=new r(o);return d.load(m),d}).then(function(d){var c=[e.Promise.resolve(d)],a=d.files;if(o.checkCRC32)for(var h=0;hn.length%2?r.replace("\\"+t,""):r))}catch(r){return l(r.toString())}return l(null,u)}),parse$1}var url={exports:{}},punycode={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */punycode.exports;var hasRequiredPunycode;function requirePunycode(){return hasRequiredPunycode||(hasRequiredPunycode=1,function(e,l){(function(u){var r=l&&!l.nodeType&&l,n=e&&!e.nodeType&&e,t=typeof commonjsGlobal=="object"&&commonjsGlobal;(t.global===t||t.window===t||t.self===t)&&(u=t);var i,s=2147483647,o=36,g=1,m=26,d=38,c=700,a=72,h=128,S="-",v=/^xn--/,p=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=o-g,E=Math.floor,x=String.fromCharCode,q;function T(o2){throw new RangeError(y[o2])}function j(o2,y2){for(var N=o2.length,B=[];N--;)B[N]=y2(o2[N]);return B}function V(o2,y2){var N=o2.split("@"),B="";N.length>1&&(B=N[0]+"@",o2=N[1]),o2=o2.replace(b,".");var $=o2.split("."),D=j($,y2).join(".");return B+D}function u2(o2){for(var y2=[],N=0,B=o2.length,$,D;N=55296&&$<=56319&&N65535&&(y2-=65536,N+=x(y2>>>10&1023|55296),y2=56320|y2&1023),N+=x(y2),N}).join("")}function J(o2){return o2-48<10?o2-22:o2-65<26?o2-65:o2-97<26?o2-97:o}function a2(o2,y2){return o2+22+75*(o2<26)-((y2!=0)<<5)}function m2(o2,y2,N){var B=0;for(o2=N?E(o2/c):o2>>1,o2+=E(o2/y2);o2>_*m>>1;B+=o)o2=E(o2/_);return E(B+(_+1)*o2/(o2+d))}function g2(o2){var y2=[],N=o2.length,B,$=0,D=h,R=a,I,U,K,Q,P,A,X,h2,x2;for(I=o2.lastIndexOf(S),I<0&&(I=0),U=0;U=128&&T("not-basic"),y2.push(o2.charCodeAt(U));for(K=I>0?I+1:0;K=N&&T("invalid-input"),X=J(o2.charCodeAt(K++)),(X>=o||X>E((s-$)/P))&&T("overflow"),$+=X*P,h2=A<=R?g:A>=R+m?m:A-R,!(XE(s/x2)&&T("overflow"),P*=x2;B=y2.length+1,R=m2($-Q,B,Q==0),E($/B)>s-D&&T("overflow"),D+=E($/B),$%=B,y2.splice($++,0,D)}return e2(y2)}function f2(o2){var y2,N,B,$,D,R,I,U,K,Q,P,A=[],X,h2,x2,b2;for(o2=u2(o2),X=o2.length,y2=h,N=0,D=a,R=0;R=y2&&PE((s-N)/h2)&&T("overflow"),N+=(I-y2)*h2,y2=I,R=0;Rs&&T("overflow"),P==y2){for(U=N,K=o;Q=K<=D?g:K>=D+m?m:K-D,!(U0&&g>o&&(g=o);for(var m=0;m=0?(a=d.substr(0,c),h=d.substr(c+1)):(a=d,h=""),S=decodeURIComponent(a),v=decodeURIComponent(h),e(i,S)?l(i[S])?i[S].push(v):i[S]=[i[S],v]:i[S]=v}return i};var l=Array.isArray||function(u){return Object.prototype.toString.call(u)==="[object Array]"};return decode}var encode,hasRequiredEncode;function requireEncode(){if(hasRequiredEncode)return encode;hasRequiredEncode=1;var e=function(n){switch(typeof n){case"string":return n;case"boolean":return n?"true":"false";case"number":return isFinite(n)?n:"";default:return""}};encode=function(n,t,i,s){return t=t||"&",i=i||"=",n===null&&(n=void 0),typeof n=="object"?u(r(n),function(o){var g=encodeURIComponent(e(o))+i;return l(n[o])?u(n[o],function(m){return g+encodeURIComponent(e(m))}).join(t):g+encodeURIComponent(e(n[o]))}).join(t):s?encodeURIComponent(e(s))+i+encodeURIComponent(e(n)):""};var l=Array.isArray||function(n){return Object.prototype.toString.call(n)==="[object Array]"};function u(n,t){if(n.map)return n.map(t);for(var i=[],s=0;s",'"',"`"," ","\r",` +`," "],_=["{","}","|","\\","^","`"].concat(y),E=["'"].concat(_),x=["%","/","?",";","#"].concat(E),q=["/","?","#"],T=255,j=/^[+a-z0-9A-Z_-]{0,63}$/,V=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,u2={javascript:!0,"javascript:":!0},e2={javascript:!0,"javascript:":!0},J={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},a2=i.default;function m2(L,l2,G){if(L&&g.isObject(L)&&L instanceof S)return L;var F2=new S;return F2.parse(L,l2,G),F2}S.prototype.parse=function(L,l2,G){if(!g.isString(L))throw new TypeError("Parameter 'url' must be a string, not "+typeof L);var F2=L.indexOf("?"),P2=F2!==-1&&F2127?n2+="x":n2+=M[R2];if(!n2.match(j)){var E2=Y.slice(0,w),O2=Y.slice(w+1),U2=M.match(V);U2&&(E2.push(U2[1]),O2.unshift(U2[2])),O2.length&&(O="/"+O2.join(".")+O),this.hostname=E2.join(".");break}}}this.hostname.length>T?this.hostname="":this.hostname=this.hostname.toLowerCase(),r2||(this.hostname=o.toASCII(this.hostname));var I2=this.port?":"+this.port:"",C2=this.hostname||"";this.host=C2+I2,this.href+=this.host,r2&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),O[0]!=="/"&&(O="/"+O))}if(!u2[S2])for(var w=0,F=E.length;w0?G.host.split("@"):!1;n2&&(G.auth=n2.shift(),G.host=G.hostname=n2.shift())}return G.search=L.search,G.query=L.query,(!g.isNull(G.pathname)||!g.isNull(G.search))&&(G.path=(G.pathname?G.pathname:"")+(G.search?G.search:"")),G.href=G.format(),G}if(!Y.length)return G.pathname=null,G.search?G.path="/"+G.search:G.path=null,G.href=G.format(),G;for(var R2=Y.slice(-1)[0],w2=(G.host||L.host||Y.length>1)&&(R2==="."||R2==="..")||R2==="",E2=0,O2=Y.length;O2>=0;O2--)R2=Y[O2],R2==="."?Y.splice(O2,1):R2===".."?(Y.splice(O2,1),E2++):E2&&(Y.splice(O2,1),E2--);if(!f&&!r2)for(;E2--;E2)Y.unshift("..");f&&Y[0]!==""&&(!Y[0]||Y[0].charAt(0)!=="/")&&Y.unshift(""),w2&&Y.join("/").substr(-1)!=="/"&&Y.push("");var U2=Y[0]===""||Y[0]&&Y[0].charAt(0)==="/";if(M){G.hostname=G.host=U2?"":Y.length?Y.shift():"";var n2=G.host&&G.host.indexOf("@")>0?G.host.split("@"):!1;n2&&(G.auth=n2.shift(),G.host=G.hostname=n2.shift())}return f=f||G.host&&Y.length,f&&!U2&&Y.unshift(""),Y.length?G.pathname=Y.join("/"):(G.pathname=null,G.path=null),(!g.isNull(G.pathname)||!g.isNull(G.search))&&(G.path=(G.pathname?G.pathname:"")+(G.search?G.search:"")),G.auth=L.auth||G.auth,G.slashes=G.slashes||L.slashes,G.href=G.format(),G},S.prototype.parseHost=function(){var L=this.host,l2=p.exec(L);l2&&(l2=l2[0],l2!==":"&&(this.port=l2.substr(1)),L=L.substr(0,L.length-l2.length)),L&&(this.hostname=L)};function s2(L,l2){for(var G=0,F2=L.length-1;F2>=0;F2--){var P2=L[F2];P2==="."?L.splice(F2,1):P2===".."?(L.splice(F2,1),G++):G&&(L.splice(F2,1),G--)}if(l2)for(;G--;G)L.unshift("..");return L}function o2(){for(var L="",l2=!1,G=arguments.length-1;G>=-1&&!l2;G--){var F2=G>=0?arguments[G]:"/";if(typeof F2!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!F2)continue;L=F2+"/"+L,l2=F2.charAt(0)==="/"}return L=s2(y2(L.split("/"),function(P2){return!!P2}),!l2).join("/"),(l2?"/":"")+L||"."}function y2(L,l2){if(L.filter)return L.filter(l2);for(var G=[],F2=0;F2"u")throw new TypeError('The "domain" argument must be specified');return new I("http://"+l2).hostname},C=function(l2){if(typeof l2>"u")throw new TypeError('The "domain" argument must be specified');return new I("http://"+l2).hostname},W=function(l2){var G=new I("file://"),F2=o2(l2),P2=l2.charCodeAt(l2.length-1);return P2===h2&&F2[F2.length-1]!=="/"&&(F2+="/"),G.pathname=k(F2),G},H=function(l2){if(!x2(l2)&&typeof l2!="string")throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof l2+" ("+l2+")");var G=new I(l2);if(G.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return b2(G)},i2=function(l2,G){var F2,P2,q2;if(G===void 0&&(G={}),!(l2 instanceof I))return B(l2);if(typeof G!="object"||G===null)throw new TypeError('The "options" argument must be of type object.');var D2=(F2=G.auth)!=null?F2:!0,O=(P2=G.fragment)!=null?P2:!0,d2=(q2=G.search)!=null?q2:!0,p2=new I(l2.toString());return D2||(p2.username="",p2.password=""),O||(p2.hash=""),d2||(p2.search=""),p2.toString()},c2={format:i2,parse:$,resolve:D,resolveObject:c,Url:R,URL:I,URLSearchParams:U,domainToASCII:z,domainToUnicode:C,pathToFileURL:W,fileURLToPath:H};l.URL=I,l.URLSearchParams=U,l.Url=R,l.default=c2,l.domainToASCII=z,l.domainToUnicode=C,l.fileURLToPath=H,l.format=i2,l.parse=$,l.pathToFileURL=W,l.resolve=D,l.resolveObject=c,l=e.exports=c2}(url,url.exports)),url.exports}var fastDeepEqual,hasRequiredFastDeepEqual;function requireFastDeepEqual(){if(hasRequiredFastDeepEqual)return fastDeepEqual;hasRequiredFastDeepEqual=1;var e=Array.isArray,l=Object.keys,u=Object.prototype.hasOwnProperty;return fastDeepEqual=function r(n,t){if(n===t)return!0;var i=e(n),s=e(t),o,g,m;if(i&&s){if(g=n.length,g!=t.length)return!1;for(o=0;o=55296&&t<=56319&&n=$)throw new Error("Cannot access property/index "+R+" levels up, current level is "+$);return D[$-R]}if(R>$)throw new Error("Cannot access data "+R+" levels up, current level is "+$);if(U="data"+($-R||""),!I)return U}for(var Q=U,P=I.split("/"),A=0;A=0?{index:_,compiling:!0}:(_=this._compilations.length,this._compilations[_]={schema:p,root:b,baseId:y},{index:_,compiling:!1})}function m(p,b,y){var _=d.call(this,p,b,y);_>=0&&this._compilations.splice(_,1)}function d(p,b,y){for(var _=0;_%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,o=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,g=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,m=/^(?:\/(?:[^~/]|~0|~1)*)*$/,d=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,c=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;formats_1=a;function a(T){return T=T=="full"?"full":"fast",e.copy(a[T])}a.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d:\d\d)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d:\d\d)$/i,uri:/^(?:[a-z][a-z0-9+-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":s,url:o,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:n,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:q,uuid:g,"json-pointer":m,"json-pointer-uri-fragment":d,"relative-json-pointer":c},a.full={date:S,time:v,"date-time":b,uri:E,"uri-reference":i,"uri-template":s,url:o,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&''*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:y,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:q,uuid:g,"json-pointer":m,"json-pointer-uri-fragment":d,"relative-json-pointer":c};function h(T){return T%4===0&&(T%100!==0||T%400===0)}function S(T){var j=T.match(l);if(!j)return!1;var V=+j[1],u2=+j[2],e2=+j[3];return u2>=1&&u2<=12&&e2>=1&&e2<=(u2==2&&h(V)?29:u[u2])}function v(T,j){var V=T.match(r);if(!V)return!1;var u2=V[1],e2=V[2],J=V[3],a2=V[5];return(u2<=23&&e2<=59&&J<=59||u2==23&&e2==59&&J==60)&&(!j||a2)}var p=/t|\s/i;function b(T){var j=T.split(p);return j.length==2&&S(j[0])&&v(j[1],!0)}function y(T){return T.length<=255&&n.test(T)}var _=/\/|:/;function E(T){return _.test(T)&&t.test(T)}var x=/[^\\]\\Z/;function q(T){if(x.test(T))return!1;try{return new RegExp(T),!0}catch{return!1}}return formats_1}var ref,hasRequiredRef;function requireRef(){return hasRequiredRef||(hasRequiredRef=1,ref=function(l,u,r){var n=" ",t=l.level,i=l.dataLevel,s=l.schema[u],o=l.errSchemaPath+"/"+u,g=!l.opts.allErrors,m="data"+(i||""),d="valid"+t,c,a;if(s=="#"||s=="#/")l.isRoot?(c=l.async,a="validate"):(c=l.root.schema.$async===!0,a="root.refVal[0]");else{var h=l.resolveRef(l.baseId,s,l.isRoot);if(h===void 0){var S=l.MissingRefError.message(l.baseId,s);if(l.opts.missingRefs=="fail"){l.logger.error(S);var v=v||[];v.push(n),n="",l.createErrors!==!1?(n+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+l.errorPath+" , schemaPath: "+l.util.toQuotedString(o)+" , params: { ref: '"+l.util.escapeQuotes(s)+"' } ",l.opts.messages!==!1&&(n+=" , message: 'can\\'t resolve reference "+l.util.escapeQuotes(s)+"' "),l.opts.verbose&&(n+=" , schema: "+l.util.toQuotedString(s)+" , parentSchema: validate.schema"+l.schemaPath+" , data: "+m+" "),n+=" } "):n+=" {} ";var p=n;n=v.pop(),!l.compositeRule&&g?l.async?n+=" throw new ValidationError(["+p+"]); ":n+=" validate.errors = ["+p+"]; return false; ":n+=" var err = "+p+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",g&&(n+=" if (false) { ")}else if(l.opts.missingRefs=="ignore")l.logger.warn(S),g&&(n+=" if (true) { ");else throw new l.MissingRefError(l.baseId,s,S)}else if(h.inline){var b=l.util.copy(l);b.level++;var y="valid"+b.level;b.schema=h.schema,b.schemaPath="",b.errSchemaPath=s;var _=l.validate(b).replace(/validate\.schema/g,h.code);n+=" "+_+" ",g&&(n+=" if ("+y+") { ")}else c=h.$async===!0||l.async&&h.$async!==!1,a=h.code}if(a){var v=v||[];v.push(n),n="",l.opts.passContext?n+=" "+a+".call(this, ":n+=" "+a+"( ",n+=" "+m+", (dataPath || '')",l.errorPath!='""'&&(n+=" + "+l.errorPath);var E=i?"data"+(i-1||""):"parentData",x=i?l.dataPathArr[i]:"parentDataProperty";n+=" , "+E+" , "+x+", rootData) ";var q=n;if(n=v.pop(),c){if(!l.async)throw new Error("async schema referenced by sync schema");g&&(n+=" var "+d+"; "),n+=" try { await "+q+"; ",g&&(n+=" "+d+" = true; "),n+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",g&&(n+=" "+d+" = false; "),n+=" } ",g&&(n+=" if ("+d+") { ")}else n+=" if (!"+q+") { if (vErrors === null) vErrors = "+a+".errors; else vErrors = vErrors.concat("+a+".errors); errors = vErrors.length; } ",g&&(n+=" else { ")}return n}),ref}var allOf$3,hasRequiredAllOf;function requireAllOf(){return hasRequiredAllOf||(hasRequiredAllOf=1,allOf$3=function(l,u,r){var n=" ",t=l.schema[u],i=l.schemaPath+l.util.getProperty(u),s=l.errSchemaPath+"/"+u,o=!l.opts.allErrors,g=l.util.copy(l),m="";g.level++;var d="valid"+g.level,c=g.baseId,a=!0,h=t;if(h)for(var S,v=-1,p=h.length-1;v=0)return m&&(n+=" if (true) { "),n;throw new Error('unknown format "'+s+'" is used in schema at path "'+l.errSchemaPath+'"')}var p=typeof v=="object"&&!(v instanceof RegExp)&&v.validate,b=p&&v.type||"string";if(p){var y=v.async===!0;v=v.validate}if(b!=r)return m&&(n+=" if (true) { "),n;if(y){if(!l.async)throw new Error("async format in sync schema");var _="formats"+l.util.getProperty(s)+".validate";n+=" if (!(await "+_+"("+d+"))) { "}else{n+=" if (! ";var _="formats"+l.util.getProperty(s);p&&(_+=".validate"),typeof v=="function"?n+=" "+_+"("+d+") ":n+=" "+_+".test("+d+") ",n+=") { "}}var E=E||[];E.push(n),n="",l.createErrors!==!1?(n+=" { keyword: 'format' , dataPath: (dataPath || '') + "+l.errorPath+" , schemaPath: "+l.util.toQuotedString(g)+" , params: { format: ",c?n+=""+a:n+=""+l.util.toQuotedString(s),n+=" } ",l.opts.messages!==!1&&(n+=` , message: 'should match format "`,c?n+="' + "+a+" + '":n+=""+l.util.escapeQuotes(s),n+=`"' `),l.opts.verbose&&(n+=" , schema: ",c?n+="validate.schema"+o:n+=""+l.util.toQuotedString(s),n+=" , parentSchema: validate.schema"+l.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ";var x=n;return n=E.pop(),!l.compositeRule&&m?l.async?n+=" throw new ValidationError(["+x+"]); ":n+=" validate.errors = ["+x+"]; return false; ":n+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",m&&(n+=" else { "),n}),format}var _if,hasRequired_if;function require_if(){return hasRequired_if||(hasRequired_if=1,_if=function(l,u,r){var n=" ",t=l.level,i=l.dataLevel,s=l.schema[u],o=l.schemaPath+l.util.getProperty(u),g=l.errSchemaPath+"/"+u,m=!l.opts.allErrors,d="data"+(i||""),c="valid"+t,a="errs__"+t,h=l.util.copy(l);h.level++;var S="valid"+h.level,v=l.schema.then,p=l.schema.else,b=v!==void 0&&l.util.schemaHasRules(v,l.RULES.all),y=p!==void 0&&l.util.schemaHasRules(p,l.RULES.all),_=h.baseId;if(b||y){var E;h.createErrors=!1,h.schema=s,h.schemaPath=o,h.errSchemaPath=g,n+=" var "+a+" = errors; var "+c+" = true; ";var x=l.compositeRule;l.compositeRule=h.compositeRule=!0,n+=" "+l.validate(h)+" ",h.baseId=_,h.createErrors=!0,n+=" errors = "+a+"; if (vErrors !== null) { if ("+a+") vErrors.length = "+a+"; else vErrors = null; } ",l.compositeRule=h.compositeRule=x,b?(n+=" if ("+S+") { ",h.schema=l.schema.then,h.schemaPath=l.schemaPath+".then",h.errSchemaPath=l.errSchemaPath+"/then",n+=" "+l.validate(h)+" ",h.baseId=_,n+=" "+c+" = "+S+"; ",b&&y?(E="ifClause"+t,n+=" var "+E+" = 'then'; "):E="'then'",n+=" } ",y&&(n+=" else { ")):n+=" if (!"+S+") { ",y&&(h.schema=l.schema.else,h.schemaPath=l.schemaPath+".else",h.errSchemaPath=l.errSchemaPath+"/else",n+=" "+l.validate(h)+" ",h.baseId=_,n+=" "+c+" = "+S+"; ",b&&y?(E="ifClause"+t,n+=" var "+E+" = 'else'; "):E="'else'",n+=" } "),n+=" if (!"+c+") { var err = ",l.createErrors!==!1?(n+=" { keyword: 'if' , dataPath: (dataPath || '') + "+l.errorPath+" , schemaPath: "+l.util.toQuotedString(g)+" , params: { failingKeyword: "+E+" } ",l.opts.messages!==!1&&(n+=` , message: 'should match "' + `+E+` + '" schema' `),l.opts.verbose&&(n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+l.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!l.compositeRule&&m&&(l.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),n+=" } ",m&&(n+=" else { "),n=l.util.cleanUpCode(n)}else m&&(n+=" if (true) { ");return n}),_if}var items,hasRequiredItems;function requireItems(){return hasRequiredItems||(hasRequiredItems=1,items=function(l,u,r){var n=" ",t=l.level,i=l.dataLevel,s=l.schema[u],o=l.schemaPath+l.util.getProperty(u),g=l.errSchemaPath+"/"+u,m=!l.opts.allErrors,d="data"+(i||""),c="valid"+t,a="errs__"+t,h=l.util.copy(l),S="";h.level++;var v="valid"+h.level,p="i"+t,b=h.dataLevel=l.dataLevel+1,y="data"+b,_=l.baseId;if(n+="var "+a+" = errors;var "+c+";",Array.isArray(s)){var E=l.schema.additionalItems;if(E===!1){n+=" "+c+" = "+d+".length <= "+s.length+"; ";var x=g;g=l.errSchemaPath+"/additionalItems",n+=" if (!"+c+") { ";var q=q||[];q.push(n),n="",l.createErrors!==!1?(n+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+l.errorPath+" , schemaPath: "+l.util.toQuotedString(g)+" , params: { limit: "+s.length+" } ",l.opts.messages!==!1&&(n+=" , message: 'should NOT have more than "+s.length+" items' "),l.opts.verbose&&(n+=" , schema: false , parentSchema: validate.schema"+l.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ";var T=n;n=q.pop(),!l.compositeRule&&m?l.async?n+=" throw new ValidationError(["+T+"]); ":n+=" validate.errors = ["+T+"]; return false; ":n+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",g=x,m&&(S+="}",n+=" else { ")}var j=s;if(j){for(var V,u2=-1,e2=j.length-1;u2 "+u2+") { ";var J=d+"["+u2+"]";h.schema=V,h.schemaPath=o+"["+u2+"]",h.errSchemaPath=g+"/"+u2,h.errorPath=l.util.getPathExpr(l.errorPath,u2,l.opts.jsonPointers,!0),h.dataPathArr[b]=u2;var a2=l.validate(h);h.baseId=_,l.util.varOccurences(a2,y)<2?n+=" "+l.util.varReplace(a2,y,J)+" ":n+=" var "+y+" = "+J+"; "+a2+" ",n+=" } ",m&&(n+=" if ("+v+") { ",S+="}")}}if(typeof E=="object"&&l.util.schemaHasRules(E,l.RULES.all)){h.schema=E,h.schemaPath=l.schemaPath+".additionalItems",h.errSchemaPath=l.errSchemaPath+"/additionalItems",n+=" "+v+" = true; if ("+d+".length > "+s.length+") { for (var "+p+" = "+s.length+"; "+p+" < "+d+".length; "+p+"++) { ",h.errorPath=l.util.getPathExpr(l.errorPath,p,l.opts.jsonPointers,!0);var J=d+"["+p+"]";h.dataPathArr[b]=p;var a2=l.validate(h);h.baseId=_,l.util.varOccurences(a2,y)<2?n+=" "+l.util.varReplace(a2,y,J)+" ":n+=" var "+y+" = "+J+"; "+a2+" ",m&&(n+=" if (!"+v+") break; "),n+=" } } ",m&&(n+=" if ("+v+") { ",S+="}")}}else if(l.util.schemaHasRules(s,l.RULES.all)){h.schema=s,h.schemaPath=o,h.errSchemaPath=g,n+=" for (var "+p+" = 0; "+p+" < "+d+".length; "+p+"++) { ",h.errorPath=l.util.getPathExpr(l.errorPath,p,l.opts.jsonPointers,!0);var J=d+"["+p+"]";h.dataPathArr[b]=p;var a2=l.validate(h);h.baseId=_,l.util.varOccurences(a2,y)<2?n+=" "+l.util.varReplace(a2,y,J)+" ":n+=" var "+y+" = "+J+"; "+a2+" ",m&&(n+=" if (!"+v+") break; "),n+=" }"}return m&&(n+=" "+S+" if ("+a+" == errors) {"),n=l.util.cleanUpCode(n),n}),items}var _limit,hasRequired_limit;function require_limit(){return hasRequired_limit||(hasRequired_limit=1,_limit=function(l,u,r){var n=" ",t=l.level,i=l.dataLevel,s=l.schema[u],o=l.schemaPath+l.util.getProperty(u),g=l.errSchemaPath+"/"+u,m=!l.opts.allErrors,_,d="data"+(i||""),c=l.opts.$data&&s&&s.$data,a;c?(n+=" var schema"+t+" = "+l.util.getData(s.$data,i,l.dataPathArr)+"; ",a="schema"+t):a=s;var h=u=="maximum",S=h?"exclusiveMaximum":"exclusiveMinimum",v=l.schema[S],p=l.opts.$data&&v&&v.$data,b=h?"<":">",y=h?">":"<",_=void 0;if(p){var E=l.util.getData(v.$data,i,l.dataPathArr),x="exclusive"+t,q="exclType"+t,T="exclIsNumber"+t,j="op"+t,V="' + "+j+" + '";n+=" var schemaExcl"+t+" = "+E+"; ",E="schemaExcl"+t,n+=" var "+x+"; var "+q+" = typeof "+E+"; if ("+q+" != 'boolean' && "+q+" != 'undefined' && "+q+" != 'number') { ";var _=S,u2=u2||[];u2.push(n),n="",l.createErrors!==!1?(n+=" { keyword: '"+(_||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+l.errorPath+" , schemaPath: "+l.util.toQuotedString(g)+" , params: {} ",l.opts.messages!==!1&&(n+=" , message: '"+S+" should be boolean' "),l.opts.verbose&&(n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+l.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ";var e2=n;n=u2.pop(),!l.compositeRule&&m?l.async?n+=" throw new ValidationError(["+e2+"]); ":n+=" validate.errors = ["+e2+"]; return false; ":n+=" var err = "+e2+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else if ( ",c&&(n+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),n+=" "+q+" == 'number' ? ( ("+x+" = "+a+" === undefined || "+E+" "+b+"= "+a+") ? "+d+" "+y+"= "+E+" : "+d+" "+y+" "+a+" ) : ( ("+x+" = "+E+" === true) ? "+d+" "+y+"= "+a+" : "+d+" "+y+" "+a+" ) || "+d+" !== "+d+") { var op"+t+" = "+x+" ? '"+b+"' : '"+b+"='; ",s===void 0&&(_=S,g=l.errSchemaPath+"/"+S,a=E,c=p)}else{var T=typeof v=="number",V=b;if(T&&c){var j="'"+V+"'";n+=" if ( ",c&&(n+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),n+=" ( "+a+" === undefined || "+v+" "+b+"= "+a+" ? "+d+" "+y+"= "+v+" : "+d+" "+y+" "+a+" ) || "+d+" !== "+d+") { "}else{T&&s===void 0?(x=!0,_=S,g=l.errSchemaPath+"/"+S,a=v,y+="="):(T&&(a=Math[h?"min":"max"](v,s)),v===(T?a:!0)?(x=!0,_=S,g=l.errSchemaPath+"/"+S,y+="="):(x=!1,V+="="));var j="'"+V+"'";n+=" if ( ",c&&(n+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),n+=" "+d+" "+y+" "+a+" || "+d+" !== "+d+") { "}}_=_||u;var u2=u2||[];u2.push(n),n="",l.createErrors!==!1?(n+=" { keyword: '"+(_||"_limit")+"' , dataPath: (dataPath || '') + "+l.errorPath+" , schemaPath: "+l.util.toQuotedString(g)+" , params: { comparison: "+j+", limit: "+a+", exclusive: "+x+" } ",l.opts.messages!==!1&&(n+=" , message: 'should be "+V+" ",c?n+="' + "+a:n+=""+a+"'"),l.opts.verbose&&(n+=" , schema: ",c?n+="validate.schema"+o:n+=""+s,n+=" , parentSchema: validate.schema"+l.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ";var e2=n;return n=u2.pop(),!l.compositeRule&&m?l.async?n+=" throw new ValidationError(["+e2+"]); ":n+=" validate.errors = ["+e2+"]; return false; ":n+=" var err = "+e2+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",m&&(n+=" else { "),n}),_limit}var _limitItems,hasRequired_limitItems;function require_limitItems(){return hasRequired_limitItems||(hasRequired_limitItems=1,_limitItems=function(l,u,r){var n=" ",t=l.level,i=l.dataLevel,s=l.schema[u],o=l.schemaPath+l.util.getProperty(u),g=l.errSchemaPath+"/"+u,m=!l.opts.allErrors,S,d="data"+(i||""),c=l.opts.$data&&s&&s.$data,a;c?(n+=" var schema"+t+" = "+l.util.getData(s.$data,i,l.dataPathArr)+"; ",a="schema"+t):a=s;var h=u=="maxItems"?">":"<";n+="if ( ",c&&(n+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),n+=" "+d+".length "+h+" "+a+") { ";var S=u,v=v||[];v.push(n),n="",l.createErrors!==!1?(n+=" { keyword: '"+(S||"_limitItems")+"' , dataPath: (dataPath || '') + "+l.errorPath+" , schemaPath: "+l.util.toQuotedString(g)+" , params: { limit: "+a+" } ",l.opts.messages!==!1&&(n+=" , message: 'should NOT have ",u=="maxItems"?n+="more":n+="less",n+=" than ",c?n+="' + "+a+" + '":n+=""+s,n+=" items' "),l.opts.verbose&&(n+=" , schema: ",c?n+="validate.schema"+o:n+=""+s,n+=" , parentSchema: validate.schema"+l.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ";var p=n;return n=v.pop(),!l.compositeRule&&m?l.async?n+=" throw new ValidationError(["+p+"]); ":n+=" validate.errors = ["+p+"]; return false; ":n+=" var err = "+p+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",m&&(n+=" else { "),n}),_limitItems}var _limitLength,hasRequired_limitLength;function require_limitLength(){return hasRequired_limitLength||(hasRequired_limitLength=1,_limitLength=function(l,u,r){var n=" ",t=l.level,i=l.dataLevel,s=l.schema[u],o=l.schemaPath+l.util.getProperty(u),g=l.errSchemaPath+"/"+u,m=!l.opts.allErrors,S,d="data"+(i||""),c=l.opts.$data&&s&&s.$data,a;c?(n+=" var schema"+t+" = "+l.util.getData(s.$data,i,l.dataPathArr)+"; ",a="schema"+t):a=s;var h=u=="maxLength"?">":"<";n+="if ( ",c&&(n+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),l.opts.unicode===!1?n+=" "+d+".length ":n+=" ucs2length("+d+") ",n+=" "+h+" "+a+") { ";var S=u,v=v||[];v.push(n),n="",l.createErrors!==!1?(n+=" { keyword: '"+(S||"_limitLength")+"' , dataPath: (dataPath || '') + "+l.errorPath+" , schemaPath: "+l.util.toQuotedString(g)+" , params: { limit: "+a+" } ",l.opts.messages!==!1&&(n+=" , message: 'should NOT be ",u=="maxLength"?n+="longer":n+="shorter",n+=" than ",c?n+="' + "+a+" + '":n+=""+s,n+=" characters' "),l.opts.verbose&&(n+=" , schema: ",c?n+="validate.schema"+o:n+=""+s,n+=" , parentSchema: validate.schema"+l.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ";var p=n;return n=v.pop(),!l.compositeRule&&m?l.async?n+=" throw new ValidationError(["+p+"]); ":n+=" validate.errors = ["+p+"]; return false; ":n+=" var err = "+p+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",m&&(n+=" else { "),n}),_limitLength}var _limitProperties,hasRequired_limitProperties;function require_limitProperties(){return hasRequired_limitProperties||(hasRequired_limitProperties=1,_limitProperties=function(l,u,r){var n=" ",t=l.level,i=l.dataLevel,s=l.schema[u],o=l.schemaPath+l.util.getProperty(u),g=l.errSchemaPath+"/"+u,m=!l.opts.allErrors,S,d="data"+(i||""),c=l.opts.$data&&s&&s.$data,a;c?(n+=" var schema"+t+" = "+l.util.getData(s.$data,i,l.dataPathArr)+"; ",a="schema"+t):a=s;var h=u=="maxProperties"?">":"<";n+="if ( ",c&&(n+=" ("+a+" !== undefined && typeof "+a+" != 'number') || "),n+=" Object.keys("+d+").length "+h+" "+a+") { ";var S=u,v=v||[];v.push(n),n="",l.createErrors!==!1?(n+=" { keyword: '"+(S||"_limitProperties")+"' , dataPath: (dataPath || '') + "+l.errorPath+" , schemaPath: "+l.util.toQuotedString(g)+" , params: { limit: "+a+" } ",l.opts.messages!==!1&&(n+=" , message: 'should NOT have ",u=="maxProperties"?n+="more":n+="less",n+=" than ",c?n+="' + "+a+" + '":n+=""+s,n+=" properties' "),l.opts.verbose&&(n+=" , schema: ",c?n+="validate.schema"+o:n+=""+s,n+=" , parentSchema: validate.schema"+l.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ";var p=n;return n=v.pop(),!l.compositeRule&&m?l.async?n+=" throw new ValidationError(["+p+"]); ":n+=" validate.errors = ["+p+"]; return false; ":n+=" var err = "+p+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",m&&(n+=" else { "),n}),_limitProperties}var multipleOf,hasRequiredMultipleOf;function requireMultipleOf(){return hasRequiredMultipleOf||(hasRequiredMultipleOf=1,multipleOf=function(l,u,r){var n=" ",t=l.level,i=l.dataLevel,s=l.schema[u],o=l.schemaPath+l.util.getProperty(u),g=l.errSchemaPath+"/"+u,m=!l.opts.allErrors,d="data"+(i||""),c=l.opts.$data&&s&&s.$data,a;c?(n+=" var schema"+t+" = "+l.util.getData(s.$data,i,l.dataPathArr)+"; ",a="schema"+t):a=s,n+="var division"+t+";if (",c&&(n+=" "+a+" !== undefined && ( typeof "+a+" != 'number' || "),n+=" (division"+t+" = "+d+" / "+a+", ",l.opts.multipleOfPrecision?n+=" Math.abs(Math.round(division"+t+") - division"+t+") > 1e-"+l.opts.multipleOfPrecision+" ":n+=" division"+t+" !== parseInt(division"+t+") ",n+=" ) ",c&&(n+=" ) "),n+=" ) { ";var h=h||[];h.push(n),n="",l.createErrors!==!1?(n+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+l.errorPath+" , schemaPath: "+l.util.toQuotedString(g)+" , params: { multipleOf: "+a+" } ",l.opts.messages!==!1&&(n+=" , message: 'should be multiple of ",c?n+="' + "+a:n+=""+a+"'"),l.opts.verbose&&(n+=" , schema: ",c?n+="validate.schema"+o:n+=""+s,n+=" , parentSchema: validate.schema"+l.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ";var S=n;return n=h.pop(),!l.compositeRule&&m?l.async?n+=" throw new ValidationError(["+S+"]); ":n+=" validate.errors = ["+S+"]; return false; ":n+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+="} ",m&&(n+=" else { "),n}),multipleOf}var not,hasRequiredNot;function requireNot(){return hasRequiredNot||(hasRequiredNot=1,not=function(l,u,r){var n=" ",t=l.level,i=l.dataLevel,s=l.schema[u],o=l.schemaPath+l.util.getProperty(u),g=l.errSchemaPath+"/"+u,m=!l.opts.allErrors,d="data"+(i||""),c="errs__"+t,a=l.util.copy(l);a.level++;var h="valid"+a.level;if(l.util.schemaHasRules(s,l.RULES.all)){a.schema=s,a.schemaPath=o,a.errSchemaPath=g,n+=" var "+c+" = errors; ";var S=l.compositeRule;l.compositeRule=a.compositeRule=!0,a.createErrors=!1;var v;a.opts.allErrors&&(v=a.opts.allErrors,a.opts.allErrors=!1),n+=" "+l.validate(a)+" ",a.createErrors=!0,v&&(a.opts.allErrors=v),l.compositeRule=a.compositeRule=S,n+=" if ("+h+") { ";var p=p||[];p.push(n),n="",l.createErrors!==!1?(n+=" { keyword: 'not' , dataPath: (dataPath || '') + "+l.errorPath+" , schemaPath: "+l.util.toQuotedString(g)+" , params: {} ",l.opts.messages!==!1&&(n+=" , message: 'should NOT be valid' "),l.opts.verbose&&(n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+l.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ";var b=n;n=p.pop(),!l.compositeRule&&m?l.async?n+=" throw new ValidationError(["+b+"]); ":n+=" validate.errors = ["+b+"]; return false; ":n+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { errors = "+c+"; if (vErrors !== null) { if ("+c+") vErrors.length = "+c+"; else vErrors = null; } ",l.opts.allErrors&&(n+=" } ")}else n+=" var err = ",l.createErrors!==!1?(n+=" { keyword: 'not' , dataPath: (dataPath || '') + "+l.errorPath+" , schemaPath: "+l.util.toQuotedString(g)+" , params: {} ",l.opts.messages!==!1&&(n+=" , message: 'should NOT be valid' "),l.opts.verbose&&(n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+l.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",m&&(n+=" if (false) { ");return n}),not}var oneOf,hasRequiredOneOf;function requireOneOf(){return hasRequiredOneOf||(hasRequiredOneOf=1,oneOf=function(l,u,r){var n=" ",t=l.level,i=l.dataLevel,s=l.schema[u],o=l.schemaPath+l.util.getProperty(u),g=l.errSchemaPath+"/"+u,m=!l.opts.allErrors,d="data"+(i||""),c="valid"+t,a="errs__"+t,h=l.util.copy(l),S="";h.level++;var v="valid"+h.level,p=h.baseId,b="prevValid"+t,y="passingSchemas"+t;n+="var "+a+" = errors , "+b+" = false , "+c+" = false , "+y+" = null; ";var _=l.compositeRule;l.compositeRule=h.compositeRule=!0;var E=s;if(E)for(var x,q=-1,T=E.length-1;q5)n+=" || validate.schema"+o+"["+v+"] ";else{var _2=E;if(_2)for(var s2,o2=-1,y2=_2.length-1;o2=l.opts.loopRequired,q=l.opts.ownProperties;if(m)if(n+=" var missing"+t+"; ",x){a||(n+=" var "+h+" = validate.schema"+o+"; ");var T="i"+t,j="schema"+t+"["+T+"]",V="' + "+j+" + '";l.opts._errorDataPathProperty&&(l.errorPath=l.util.getPathExpr(E,j,l.opts.jsonPointers)),n+=" var "+c+" = true; ",a&&(n+=" if (schema"+t+" === undefined) "+c+" = true; else if (!Array.isArray(schema"+t+")) "+c+" = false; else {"),n+=" for (var "+T+" = 0; "+T+" < "+h+".length; "+T+"++) { "+c+" = "+d+"["+h+"["+T+"]] !== undefined ",q&&(n+=" && Object.prototype.hasOwnProperty.call("+d+", "+h+"["+T+"]) "),n+="; if (!"+c+") break; } ",a&&(n+=" } "),n+=" if (!"+c+") { ";var u2=u2||[];u2.push(n),n="",l.createErrors!==!1?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+l.errorPath+" , schemaPath: "+l.util.toQuotedString(g)+" , params: { missingProperty: '"+V+"' } ",l.opts.messages!==!1&&(n+=" , message: '",l.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+V+"\\'",n+="' "),l.opts.verbose&&(n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+l.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ";var e2=n;n=u2.pop(),!l.compositeRule&&m?l.async?n+=" throw new ValidationError(["+e2+"]); ":n+=" validate.errors = ["+e2+"]; return false; ":n+=" var err = "+e2+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { "}else{n+=" if ( ";var J=S;if(J)for(var a2,T=-1,m2=J.length-1;T 1) { ";var S=l.schema.items&&l.schema.items.type,v=Array.isArray(S);if(!S||S=="object"||S=="array"||v&&(S.indexOf("object")>=0||S.indexOf("array")>=0))n+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+d+"[i], "+d+"[j])) { "+c+" = false; break outer; } } } ";else{n+=" var itemIndices = {}, item; for (;i--;) { var item = "+d+"[i]; ";var p="checkDataType"+(v?"s":"");n+=" if ("+l.util[p](S,"item",!0)+") continue; ",v&&(n+=` if (typeof item == 'string') item = '"' + item; `),n+=" if (typeof itemIndices[item] == 'number') { "+c+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}n+=" } ",a&&(n+=" } "),n+=" if (!"+c+") { ";var b=b||[];b.push(n),n="",l.createErrors!==!1?(n+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+l.errorPath+" , schemaPath: "+l.util.toQuotedString(g)+" , params: { i: i, j: j } ",l.opts.messages!==!1&&(n+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),l.opts.verbose&&(n+=" , schema: ",a?n+="validate.schema"+o:n+=""+s,n+=" , parentSchema: validate.schema"+l.schemaPath+" , data: "+d+" "),n+=" } "):n+=" {} ";var y=n;n=b.pop(),!l.compositeRule&&m?l.async?n+=" throw new ValidationError(["+y+"]); ":n+=" validate.errors = ["+y+"]; return false; ":n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",m&&(n+=" else { ")}else m&&(n+=" if (true) { ");return n}),uniqueItems}var dotjs,hasRequiredDotjs;function requireDotjs(){return hasRequiredDotjs||(hasRequiredDotjs=1,dotjs={$ref:requireRef(),allOf:requireAllOf(),anyOf:requireAnyOf(),$comment:requireComment(),const:require_const(),contains:requireContains(),dependencies:requireDependencies(),enum:require_enum(),format:requireFormat(),if:require_if(),items:requireItems(),maximum:require_limit(),minimum:require_limit(),maxItems:require_limitItems(),minItems:require_limitItems(),maxLength:require_limitLength(),minLength:require_limitLength(),maxProperties:require_limitProperties(),minProperties:require_limitProperties(),multipleOf:requireMultipleOf(),not:requireNot(),oneOf:requireOneOf(),pattern:requirePattern(),properties:requireProperties(),propertyNames:requirePropertyNames(),required:requireRequired(),uniqueItems:requireUniqueItems(),validate:requireValidate$1()}),dotjs}var rules,hasRequiredRules;function requireRules(){if(hasRequiredRules)return rules;hasRequiredRules=1;var e=requireDotjs(),l=requireUtil().toHash;return rules=function(){var r=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],n=["type","$comment"],t=["$schema","$id","id","$data","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],i=["number","integer","string","array","object","boolean","null"];return r.all=l(n),r.types=l(i),r.forEach(function(s){s.rules=s.rules.map(function(o){var g;if(typeof o=="object"){var m=Object.keys(o)[0];g=o[m],o=m,g.forEach(function(c){n.push(c),r.all[c]=!0})}n.push(o);var d=r.all[o]={keyword:o,code:e[o],implements:g};return d}),r.all.$comment={keyword:"$comment",code:e.$comment},s.type&&(r.types[s.type]=s)}),r.keywords=l(n.concat(t)),r.custom={},r},rules}var data,hasRequiredData;function requireData(){if(hasRequiredData)return data;hasRequiredData=1;var e=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return data=function(l,u){for(var r=0;r=this.maxPosition?{value:null,done:!0}:this.iter.next()}}const notImplemented=()=>{throw new Error("Not implemented")},IS_HOST_LITTLE_ENDIAN=(()=>{const e=new Uint16Array(1),l=new Uint8Array(e.buffer);return e[0]=43707,l[0]===187})();class BytePrimitive{constructor({size:l=0,sizeOf:u=()=>l,writeSizeOf:r=notImplemented,toBytes:n=new Uint8Array(1),read:t,write:i=notImplemented}){this.size=l,this.sizeOf=u,this.writeSizeOf=r,this.toBytes=n,this.bytes=new Uint8Array(n.buffer),this.read=t,this.write=i}asPropertyObject(l){const u=this;return{get(){return u.read(this.uint8a,l+this.offset)},set(r){return u.write(this.uint8a,l+this.offset,r)},enumerable:!0}}read(){return null}}const Uint8=new BytePrimitive({size:1,read(e,l){return e[l]},write(e,l,u){return e[l]=u,u}}),HOSTLE_BE16={size:2,read(e,l){return this.bytes[1]=e[l+0],this.bytes[0]=e[l+1],this.toBytes[0]},write(e,l,u){return this.toBytes[0]=u,e[l+0]=this.bytes[1],e[l+1]=this.bytes[0],u}},HOSTBE_BE16={size:2,read(e,l){return this.bytes[0]=e[l+0],this.bytes[1]=e[l+1],this.toBytes[0]},write(e,l,u){return this.toBytes[0]=u,e[l+0]=this.bytes[0],e[l+1]=this.bytes[1],u}};let BE16;IS_HOST_LITTLE_ENDIAN?BE16=HOSTLE_BE16:BE16=HOSTBE_BE16;new BytePrimitive(Object.assign({},BE16,{toBytes:new Uint16Array(1)}));const Int16BE=new BytePrimitive(Object.assign({},BE16,{toBytes:new Int16Array(1)})),HOSTLE_BE32={size:4,read(e,l){return this.bytes[3]=e[l+0],this.bytes[2]=e[l+1],this.bytes[1]=e[l+2],this.bytes[0]=e[l+3],this.toBytes[0]},write(e,l,u){return this.toBytes[0]=u,e[l+0]=this.bytes[3],e[l+1]=this.bytes[2],e[l+2]=this.bytes[1],e[l+3]=this.bytes[0],u}},HOSTBE_BE32={size:4,read(e,l){return this.bytes[0]=e[l+0],this.bytes[1]=e[l+1],this.bytes[2]=e[l+2],this.bytes[3]=e[l+3],this.toBytes[0]},write(e,l,u){return this.toBytes[0]=u,e[l+0]=this.bytes[0],e[l+1]=this.bytes[1],e[l+2]=this.bytes[2],e[l+3]=this.bytes[3],u}};let BE32;IS_HOST_LITTLE_ENDIAN?BE32=HOSTLE_BE32:BE32=HOSTBE_BE32;const Int32BE=new BytePrimitive(Object.assign({},BE32,{toBytes:new Int32Array(1)})),Uint32BE=new BytePrimitive(Object.assign({},BE32,{toBytes:new Uint32Array(1)}));let LE16;IS_HOST_LITTLE_ENDIAN?LE16=HOSTBE_BE16:LE16=HOSTLE_BE16;const Uint16LE=new BytePrimitive(Object.assign({},LE16,{toBytes:new Uint16Array(1)}));let LE32;IS_HOST_LITTLE_ENDIAN?LE32=HOSTBE_BE32:LE32=HOSTLE_BE32;const Uint32LE=new BytePrimitive(Object.assign({},LE32,{toBytes:new Uint32Array(1)})),HOSTLE_BEDOUBLE={size:8,read(e,l){return this.bytes[7]=e[l+0],this.bytes[6]=e[l+1],this.bytes[5]=e[l+2],this.bytes[4]=e[l+3],this.bytes[3]=e[l+4],this.bytes[2]=e[l+5],this.bytes[1]=e[l+6],this.bytes[0]=e[l+7],this.toBytes[0]}},HOSTBE_BEDOUBLE={size:8,read(e,l){return this.bytes[7]=e[l+0],this.bytes[6]=e[l+1],this.bytes[5]=e[l+2],this.bytes[4]=e[l+3],this.bytes[3]=e[l+4],this.bytes[2]=e[l+5],this.bytes[1]=e[l+6],this.bytes[0]=e[l+7],this.toBytes[0]}};let BEDOUBLE;IS_HOST_LITTLE_ENDIAN?BEDOUBLE=HOSTLE_BEDOUBLE:BEDOUBLE=HOSTBE_BEDOUBLE;const DoubleBE=new BytePrimitive(Object.assign({},BEDOUBLE,{toBytes:new Float64Array(1)}));class FixedAsciiString extends BytePrimitive{constructor(l){super({size:l,read(u,r){let n="";for(let t=0;t57343)H.push(i2);else if(56320<=i2&&i2<=57343)H.push(65533);else if(55296<=i2&&i2<=56319)if(W===C-1)H.push(65533);else{var c2=z.charCodeAt(W+1);if(56320<=c2&&c2<=57343){var L=i2&1023,l2=c2&1023;H.push(65536+(L<<10)+l2),W+=1}else H.push(65533)}W+=1}return H}function s(k){for(var z="",C=0;C>10)+55296,(W&1023)+56320))}return z}function o(k){return 0<=k&&k<=127}var g=o,m=-1;function d(k){this.tokens=[].slice.call(k),this.tokens.reverse()}d.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.pop():m},prepend:function(k){if(Array.isArray(k))for(var z=k;z.length;)this.tokens.push(z.pop());else this.tokens.push(k)},push:function(k){if(Array.isArray(k))for(var z=k;z.length;)this.tokens.unshift(z.shift());else this.tokens.unshift(k)}};var c=-1;function a(k,z){if(k)throw TypeError("Decoder error");return z||65533}function h(k){throw TypeError("The code point "+k+" could not be encoded.")}function S(k){return k=String(k).trim().toLowerCase(),Object.prototype.hasOwnProperty.call(p,k)?p[k]:null}var v=[{encodings:[{labels:["unicode-1-1-utf-8","utf-8","utf8"],name:"UTF-8"}],heading:"The Encoding"},{encodings:[{labels:["866","cp866","csibm866","ibm866"],name:"IBM866"},{labels:["csisolatin2","iso-8859-2","iso-ir-101","iso8859-2","iso88592","iso_8859-2","iso_8859-2:1987","l2","latin2"],name:"ISO-8859-2"},{labels:["csisolatin3","iso-8859-3","iso-ir-109","iso8859-3","iso88593","iso_8859-3","iso_8859-3:1988","l3","latin3"],name:"ISO-8859-3"},{labels:["csisolatin4","iso-8859-4","iso-ir-110","iso8859-4","iso88594","iso_8859-4","iso_8859-4:1988","l4","latin4"],name:"ISO-8859-4"},{labels:["csisolatincyrillic","cyrillic","iso-8859-5","iso-ir-144","iso8859-5","iso88595","iso_8859-5","iso_8859-5:1988"],name:"ISO-8859-5"},{labels:["arabic","asmo-708","csiso88596e","csiso88596i","csisolatinarabic","ecma-114","iso-8859-6","iso-8859-6-e","iso-8859-6-i","iso-ir-127","iso8859-6","iso88596","iso_8859-6","iso_8859-6:1987"],name:"ISO-8859-6"},{labels:["csisolatingreek","ecma-118","elot_928","greek","greek8","iso-8859-7","iso-ir-126","iso8859-7","iso88597","iso_8859-7","iso_8859-7:1987","sun_eu_greek"],name:"ISO-8859-7"},{labels:["csiso88598e","csisolatinhebrew","hebrew","iso-8859-8","iso-8859-8-e","iso-ir-138","iso8859-8","iso88598","iso_8859-8","iso_8859-8:1988","visual"],name:"ISO-8859-8"},{labels:["csiso88598i","iso-8859-8-i","logical"],name:"ISO-8859-8-I"},{labels:["csisolatin6","iso-8859-10","iso-ir-157","iso8859-10","iso885910","l6","latin6"],name:"ISO-8859-10"},{labels:["iso-8859-13","iso8859-13","iso885913"],name:"ISO-8859-13"},{labels:["iso-8859-14","iso8859-14","iso885914"],name:"ISO-8859-14"},{labels:["csisolatin9","iso-8859-15","iso8859-15","iso885915","iso_8859-15","l9"],name:"ISO-8859-15"},{labels:["iso-8859-16"],name:"ISO-8859-16"},{labels:["cskoi8r","koi","koi8","koi8-r","koi8_r"],name:"KOI8-R"},{labels:["koi8-ru","koi8-u"],name:"KOI8-U"},{labels:["csmacintosh","mac","macintosh","x-mac-roman"],name:"macintosh"},{labels:["dos-874","iso-8859-11","iso8859-11","iso885911","tis-620","windows-874"],name:"windows-874"},{labels:["cp1250","windows-1250","x-cp1250"],name:"windows-1250"},{labels:["cp1251","windows-1251","x-cp1251"],name:"windows-1251"},{labels:["ansi_x3.4-1968","ascii","cp1252","cp819","csisolatin1","ibm819","iso-8859-1","iso-ir-100","iso8859-1","iso88591","iso_8859-1","iso_8859-1:1987","l1","latin1","us-ascii","windows-1252","x-cp1252"],name:"windows-1252"},{labels:["cp1253","windows-1253","x-cp1253"],name:"windows-1253"},{labels:["cp1254","csisolatin5","iso-8859-9","iso-ir-148","iso8859-9","iso88599","iso_8859-9","iso_8859-9:1989","l5","latin5","windows-1254","x-cp1254"],name:"windows-1254"},{labels:["cp1255","windows-1255","x-cp1255"],name:"windows-1255"},{labels:["cp1256","windows-1256","x-cp1256"],name:"windows-1256"},{labels:["cp1257","windows-1257","x-cp1257"],name:"windows-1257"},{labels:["cp1258","windows-1258","x-cp1258"],name:"windows-1258"},{labels:["x-mac-cyrillic","x-mac-ukrainian"],name:"x-mac-cyrillic"}],heading:"Legacy single-byte encodings"},{encodings:[{labels:["chinese","csgb2312","csiso58gb231280","gb2312","gb_2312","gb_2312-80","gbk","iso-ir-58","x-gbk"],name:"GBK"},{labels:["gb18030"],name:"gb18030"}],heading:"Legacy multi-byte Chinese (simplified) encodings"},{encodings:[{labels:["big5","big5-hkscs","cn-big5","csbig5","x-x-big5"],name:"Big5"}],heading:"Legacy multi-byte Chinese (traditional) encodings"},{encodings:[{labels:["cseucpkdfmtjapanese","euc-jp","x-euc-jp"],name:"EUC-JP"},{labels:["csiso2022jp","iso-2022-jp"],name:"ISO-2022-JP"},{labels:["csshiftjis","ms932","ms_kanji","shift-jis","shift_jis","sjis","windows-31j","x-sjis"],name:"Shift_JIS"}],heading:"Legacy multi-byte Japanese encodings"},{encodings:[{labels:["cseuckr","csksc56011987","euc-kr","iso-ir-149","korean","ks_c_5601-1987","ks_c_5601-1989","ksc5601","ksc_5601","windows-949"],name:"EUC-KR"}],heading:"Legacy multi-byte Korean encodings"},{encodings:[{labels:["csiso2022kr","hz-gb-2312","iso-2022-cn","iso-2022-cn-ext","iso-2022-kr"],name:"replacement"},{labels:["utf-16be"],name:"UTF-16BE"},{labels:["utf-16","utf-16le"],name:"UTF-16LE"},{labels:["x-user-defined"],name:"x-user-defined"}],heading:"Legacy miscellaneous encodings"}],p={};v.forEach(function(k){k.encodings.forEach(function(z){z.labels.forEach(function(C){p[C]=z})})});var b={},y={};function _(k,z){return z&&z[k]||null}function E(k,z){var C=z.indexOf(k);return C===-1?null:C}function x(k){if(!("encoding-indexes"in l))throw Error("Indexes missing. Did you forget to include encoding-indexes.js first?");return l["encoding-indexes"][k]}function q(k){if(k>39419&&k<189e3||k>1237575)return null;if(k===7457)return 59335;var z=0,C=0,W=x("gb18030-ranges"),H;for(H=0;H0&&G[0]===65279?(this._BOMseen=!0,G.shift()):G.length>0&&(this._BOMseen=!0)),s(G)}return l2.call(this,i2)};function m2(k,z){if(!(this instanceof m2))throw TypeError("Called as a function. Did you forget 'new'?");z=t(z),this._encoding=null,this._encoder=null,this._do_not_flush=!1,this._fatal=z.fatal?"fatal":"replacement";var C=this;if(z.NONSTANDARD_allowLegacyEncoding){k=k!==void 0?String(k):J;var W=S(k);if(W===null||W.name==="replacement")throw RangeError("Unknown encoding: "+k);if(!b[W.name])throw Error("Encoder not present. Did you forget to include encoding-indexes.js first?");C._encoding=W}else C._encoding=S("utf-8"),k!==void 0&&"console"in l&&console.warn("TextEncoder constructor called with encoding label, which is ignored.");return Object.defineProperty||(this.encoding=C._encoding.name.toLowerCase()),C}Object.defineProperty&&Object.defineProperty(m2.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}}),m2.prototype.encode=function(z,C){z=z===void 0?"":String(z),C=t(C),this._do_not_flush||(this._encoder=b[this._encoding.name]({fatal:this._fatal==="fatal"})),this._do_not_flush=!!C.stream;for(var W=new d(i(z)),H=[],i2;;){var c2=W.read();if(c2===m||(i2=this._encoder.handler(W,c2),i2===c))break;Array.isArray(i2)?H.push.apply(H,i2):H.push(i2)}if(!this._do_not_flush){for(;i2=this._encoder.handler(W,W.read()),i2!==c;)Array.isArray(i2)?H.push.apply(H,i2):H.push(i2);this._encoder=null}return new Uint8Array(H)};function g2(k){var z=k.fatal,C=0,W=0,H=0,i2=128,c2=191;this.handler=function(L,l2){if(l2===m&&H!==0)return H=0,a(z);if(l2===m)return c;if(H===0){if(u(l2,0,127))return l2;if(u(l2,194,223))H=1,C=l2&31;else if(u(l2,224,239))l2===224&&(i2=160),l2===237&&(c2=159),H=2,C=l2&15;else if(u(l2,240,244))l2===240&&(i2=144),l2===244&&(c2=143),H=3,C=l2&7;else return a(z);return null}if(!u(l2,i2,c2))return C=H=W=0,i2=128,c2=191,L.prepend(l2),a(z);if(i2=128,c2=191,C=C<<6|l2&63,W+=1,W!==H)return null;var G=C;return C=H=W=0,G}}function f2(k){k.fatal,this.handler=function(z,C){if(C===m)return c;if(g(C))return C;var W,H;u(C,128,2047)?(W=1,H=192):u(C,2048,65535)?(W=2,H=224):u(C,65536,1114111)&&(W=3,H=240);for(var i2=[(C>>6*W)+H];W>0;){var c2=C>>6*(W-1);i2.push(128|c2&63),W-=1}return i2}}b["UTF-8"]=function(k){return new f2(k)},y["UTF-8"]=function(k){return new g2(k)};function _2(k,z){var C=z.fatal;this.handler=function(W,H){if(H===m)return c;if(o(H))return H;var i2=k[H-128];return i2===null?a(C):i2}}function s2(k,z){z.fatal,this.handler=function(C,W){if(W===m)return c;if(g(W))return W;var H=E(W,k);return H===null&&h(W),H+128}}(function(){"encoding-indexes"in l&&v.forEach(function(k){k.heading==="Legacy single-byte encodings"&&k.encodings.forEach(function(z){var C=z.name,W=x(C.toLowerCase());y[C]=function(H){return new _2(W,H)},b[C]=function(H){return new s2(W,H)}})})})(),y.GBK=function(k){return new o2(k)},b.GBK=function(k){return new y2(k,!0)};function o2(k){var z=k.fatal,C=0,W=0,H=0;this.handler=function(i2,c2){if(c2===m&&C===0&&W===0&&H===0)return c;c2===m&&(C!==0||W!==0||H!==0)&&(C=0,W=0,H=0,a(z));var L;if(H!==0){L=null,u(c2,48,57)&&(L=q((((C-129)*10+W-48)*126+H-129)*10+c2-48));var l2=[W,H,c2];return C=0,W=0,H=0,L===null?(i2.prepend(l2),a(z)):L}if(W!==0)return u(c2,129,254)?(H=c2,null):(i2.prepend([W,c2]),C=0,W=0,a(z));if(C!==0){if(u(c2,48,57))return W=c2,null;var G=C,F2=null;C=0;var P2=c2<127?64:65;return(u(c2,64,126)||u(c2,128,254))&&(F2=(G-129)*190+(c2-P2)),L=F2===null?null:_(F2,x("gb18030")),L===null&&o(c2)&&i2.prepend(c2),L===null?a(z):L}return o(c2)?c2:c2===128?8364:u(c2,129,254)?(C=c2,null):a(z)}}function y2(k,z){k.fatal,this.handler=function(C,W){if(W===m)return c;if(g(W))return W;if(W===58853)return h(W);if(z&&W===8364)return 128;var H=E(W,x("gb18030"));if(H!==null){var i2=n(H/190)+129,c2=H%190,L=c2<63?64:65;return[i2,c2+L]}if(z)return h(W);H=T(W);var l2=n(H/10/126/10);H=H-l2*10*126*10;var G=n(H/10/126);H=H-G*10*126;var F2=n(H/10),P2=H-F2*10;return[l2+129,G+48,F2+129,P2+48]}}b.gb18030=function(k){return new y2(k)},y.gb18030=function(k){return new o2(k)};function N(k){var z=k.fatal,C=0;this.handler=function(W,H){if(H===m&&C!==0)return C=0,a(z);if(H===m&&C===0)return c;if(C!==0){var i2=C,c2=null;C=0;var L=H<127?64:98;switch((u(H,64,126)||u(H,161,254))&&(c2=(i2-129)*157+(H-L)),c2){case 1133:return[202,772];case 1135:return[202,780];case 1164:return[234,772];case 1166:return[234,780]}var l2=c2===null?null:_(c2,x("big5"));return l2===null&&o(H)&&W.prepend(H),l2===null?a(z):l2}return o(H)?H:u(H,129,254)?(C=H,null):a(z)}}function B(k){k.fatal,this.handler=function(z,C){if(C===m)return c;if(g(C))return C;var W=u2(C);if(W===null)return h(C);var H=n(W/157)+129;if(H<161)return h(C);var i2=W%157,c2=i2<63?64:98;return[H,i2+c2]}}b.Big5=function(k){return new B(k)},y.Big5=function(k){return new N(k)};function $(k){var z=k.fatal,C=!1,W=0;this.handler=function(H,i2){if(i2===m&&W!==0)return W=0,a(z);if(i2===m&&W===0)return c;if(W===142&&u(i2,161,223))return W=0,65377-161+i2;if(W===143&&u(i2,161,254))return C=!0,W=i2,null;if(W!==0){var c2=W;W=0;var L=null;return u(c2,161,254)&&u(i2,161,254)&&(L=_((c2-161)*94+(i2-161),x(C?"jis0212":"jis0208"))),C=!1,u(i2,161,254)||H.prepend(i2),L===null?a(z):L}return o(i2)?i2:i2===142||i2===143||u(i2,161,254)?(W=i2,null):a(z)}}function D(k){k.fatal,this.handler=function(z,C){if(C===m)return c;if(g(C))return C;if(C===165)return 92;if(C===8254)return 126;if(u(C,65377,65439))return[142,C-65377+161];C===8722&&(C=65293);var W=E(C,x("jis0208"));if(W===null)return h(C);var H=n(W/94)+161,i2=W%94+161;return[H,i2]}}b["EUC-JP"]=function(k){return new D(k)},y["EUC-JP"]=function(k){return new $(k)};function R(k){var z=k.fatal,C={ASCII:0,Roman:1,Katakana:2,LeadByte:3,TrailByte:4,EscapeStart:5,Escape:6},W=C.ASCII,H=C.ASCII,i2=0,c2=!1;this.handler=function(L,l2){switch(W){default:case C.ASCII:return l2===27?(W=C.EscapeStart,null):u(l2,0,127)&&l2!==14&&l2!==15&&l2!==27?(c2=!1,l2):l2===m?c:(c2=!1,a(z));case C.Roman:return l2===27?(W=C.EscapeStart,null):l2===92?(c2=!1,165):l2===126?(c2=!1,8254):u(l2,0,127)&&l2!==14&&l2!==15&&l2!==27&&l2!==92&&l2!==126?(c2=!1,l2):l2===m?c:(c2=!1,a(z));case C.Katakana:return l2===27?(W=C.EscapeStart,null):u(l2,33,95)?(c2=!1,65377-33+l2):l2===m?c:(c2=!1,a(z));case C.LeadByte:return l2===27?(W=C.EscapeStart,null):u(l2,33,126)?(c2=!1,i2=l2,W=C.TrailByte,null):l2===m?c:(c2=!1,a(z));case C.TrailByte:if(l2===27)return W=C.EscapeStart,a(z);if(u(l2,33,126)){W=C.LeadByte;var G=(i2-33)*94+l2-33,F2=_(G,x("jis0208"));return F2===null?a(z):F2}return l2===m?(W=C.LeadByte,L.prepend(l2),a(z)):(W=C.LeadByte,a(z));case C.EscapeStart:return l2===36||l2===40?(i2=l2,W=C.Escape,null):(L.prepend(l2),c2=!1,W=H,a(z));case C.Escape:var P2=i2;i2=0;var q2=null;if(P2===40&&l2===66&&(q2=C.ASCII),P2===40&&l2===74&&(q2=C.Roman),P2===40&&l2===73&&(q2=C.Katakana),P2===36&&(l2===64||l2===66)&&(q2=C.LeadByte),q2!==null){W=W=q2;var D2=c2;return c2=!0,D2?a(z):null}return L.prepend([P2,l2]),c2=!1,W=H,a(z)}}}function I(k){k.fatal;var z={ASCII:0,Roman:1,jis0208:2},C=z.ASCII;this.handler=function(W,H){if(H===m&&C!==z.ASCII)return W.prepend(H),C=z.ASCII,[27,40,66];if(H===m&&C===z.ASCII)return c;if((C===z.ASCII||C===z.Roman)&&(H===14||H===15||H===27))return h(65533);if(C===z.ASCII&&g(H))return H;if(C===z.Roman&&(g(H)&&H!==92&&H!==126||H==165||H==8254)){if(g(H))return H;if(H===165)return 92;if(H===8254)return 126}if(g(H)&&C!==z.ASCII)return W.prepend(H),C=z.ASCII,[27,40,66];if((H===165||H===8254)&&C!==z.Roman)return W.prepend(H),C=z.Roman,[27,40,74];H===8722&&(H=65293);var i2=E(H,x("jis0208"));if(i2===null)return h(H);if(C!==z.jis0208)return W.prepend(H),C=z.jis0208,[27,36,66];var c2=n(i2/94)+33,L=i2%94+33;return[c2,L]}}b["ISO-2022-JP"]=function(k){return new I(k)},y["ISO-2022-JP"]=function(k){return new R(k)};function U(k){var z=k.fatal,C=0;this.handler=function(W,H){if(H===m&&C!==0)return C=0,a(z);if(H===m&&C===0)return c;if(C!==0){var i2=C,c2=null;C=0;var L=H<127?64:65,l2=i2<160?129:193;if((u(H,64,126)||u(H,128,252))&&(c2=(i2-l2)*188+H-L),u(c2,8836,10715))return 57344-8836+c2;var G=c2===null?null:_(c2,x("jis0208"));return G===null&&o(H)&&W.prepend(H),G===null?a(z):G}return o(H)||H===128?H:u(H,161,223)?65377-161+H:u(H,129,159)||u(H,224,252)?(C=H,null):a(z)}}function K(k){k.fatal,this.handler=function(z,C){if(C===m)return c;if(g(C)||C===128)return C;if(C===165)return 92;if(C===8254)return 126;if(u(C,65377,65439))return C-65377+161;C===8722&&(C=65293);var W=j(C);if(W===null)return h(C);var H=n(W/188),i2=H<31?129:193,c2=W%188,L=c2<63?64:65;return[H+i2,c2+L]}}b.Shift_JIS=function(k){return new K(k)},y.Shift_JIS=function(k){return new U(k)};function Q(k){var z=k.fatal,C=0;this.handler=function(W,H){if(H===m&&C!==0)return C=0,a(z);if(H===m&&C===0)return c;if(C!==0){var i2=C,c2=null;C=0,u(H,65,254)&&(c2=(i2-129)*190+(H-65));var L=c2===null?null:_(c2,x("euc-kr"));return c2===null&&o(H)&&W.prepend(H),L===null?a(z):L}return o(H)?H:u(H,129,254)?(C=H,null):a(z)}}function P(k){k.fatal,this.handler=function(z,C){if(C===m)return c;if(g(C))return C;var W=E(C,x("euc-kr"));if(W===null)return h(C);var H=n(W/190)+129,i2=W%190+65;return[H,i2]}}b["EUC-KR"]=function(k){return new P(k)},y["EUC-KR"]=function(k){return new Q(k)};function A(k,z){var C=k>>8,W=k&255;return z?[C,W]:[W,C]}function X(k,z){var C=z.fatal,W=null,H=null;this.handler=function(i2,c2){if(c2===m&&(W!==null||H!==null))return a(C);if(c2===m&&W===null&&H===null)return c;if(W===null)return W=c2,null;var L;if(k?L=(W<<8)+c2:L=(c2<<8)+W,W=null,H!==null){var l2=H;return H=null,u(L,56320,57343)?65536+(l2-55296)*1024+(L-56320):(i2.prepend(A(L,k)),a(C))}return u(L,55296,56319)?(H=L,null):u(L,56320,57343)?a(C):L}}function h2(k,z){z.fatal,this.handler=function(C,W){if(W===m)return c;if(u(W,0,65535))return A(W,k);var H=A((W-65536>>10)+55296,k),i2=A((W-65536&1023)+56320,k);return H.concat(i2)}}b["UTF-16BE"]=function(k){return new h2(!0,k)},y["UTF-16BE"]=function(k){return new X(!0,k)},b["UTF-16LE"]=function(k){return new h2(!1,k)},y["UTF-16LE"]=function(k){return new X(!1,k)};function x2(k){k.fatal,this.handler=function(z,C){return C===m?c:o(C)?C:63360+C-128}}function b2(k){k.fatal,this.handler=function(z,C){return C===m?c:g(C)?C:u(C,63360,63487)?C-63360+128:h(C)}}b["x-user-defined"]=function(k){return new b2(k)},y["x-user-defined"]=function(k){return new x2(k)},l.TextEncoder||(l.TextEncoder=m2),l.TextDecoder||(l.TextDecoder=a2),e.exports&&(e.exports={TextEncoder:l.TextEncoder,TextDecoder:l.TextDecoder,EncodingIndexes:l["encoding-indexes"]})})(commonjsGlobal||{})})(encoding$1);var encodingExports=encoding$1.exports,encoding=encodingExports,textEncoding={TextEncoder:encoding.TextEncoder,TextDecoder:encoding.TextDecoder};const BUFFER_TOO_BIG=10*1024*1024;let ReferenceBE;IS_HOST_LITTLE_ENDIAN?ReferenceBE=new BytePrimitive({size:3,read(e,l){return e[l+0]<<16|e[l+1]<<8|e[l+2]}}):ReferenceBE=new BytePrimitive({size:3,read(e,l){return e[l+2]<<16|e[l+1]<<8|e[l+0]}});const LargeInt=new BytePrimitive({sizeOf(e,l){const u=Int16BE.read(e,l);return Int16BE.size+u},read(e,l){let u=0,r=0;const n=Int16BE.read(e,l);for(let t=0;t"u"?decoder=new textEncoding.TextDecoder:decoder=new TextDecoder;const UTF8=new BytePrimitive({sizeOf(e,l){return Uint32BE.size+Uint32BE.read(e,l)},read(e,l){const u=Uint32BE.read(e,l);return assert(u>22&255,t=u>>12&255,i=u>>2&255;return(r<<24|n<<16|t<<8|i)>>>0}}),TranslucentColor=new BytePrimitive({size:5,read(e,l){const u=Uint32BE.read(e,l),r=Uint8.read(e,l),n=u>>22&255,t=u>>12&255,i=u>>2&255;return(r<<24|n<<16|t<<8|i)>>>0}}),TYPES={NULL:1,TRUE:2,FALSE:3,SMALL_INT:4,SMALL_INT_16:5,LARGE_INT_POSITIVE:6,LARGE_INT_NEGATIVE:7,FLOATING:8,STRING:9,SYMBOL:10,BYTES:11,SOUND:12,BITMAP:13,UTF8:14,ARRAY:20,ORDERED_COLLECTION:21,SET:22,IDENTITY_SET:23,DICTIONARY:24,IDENTITY_DICTIONARY:25,COLOR:30,TRANSLUCENT_COLOR:31,POINT:32,RECTANGLE:33,FORM:34,SQUEAK:35,OBJECT_REF:99,MORPH:100,ALIGNMENT:104,STATIC_STRING:105,UPDATING_STRING:106,SAMPLED_SOUND:109,IMAGE_MORPH:110,SPRITE:124,STAGE:125,WATCHER:155,IMAGE_MEDIA:162,SOUND_MEDIA:164,MULTILINE_STRING:171,WATCHER_READOUT_FRAME:173,WATCHER_SLIDER:174,LIST_WATCHER:175},TYPE_NAMES=Object.entries(TYPES).reduce((e,[l,u])=>(e[u]=l,e),{});class Field{constructor(l,u){this.classId=l,this.position=u}}const valueOf$1=e=>typeof e=="object"&&e?e.valueOf():e;class Value extends Field{constructor(l,u,r){super(l,u),this.value=r}valueOf(){return this.value}toJSON(){return this.classId===TYPES.TRANSLUCENT_COLOR||this.classId===TYPES.COLOR?this.value&16777215:this.value}toString(){return this.value}}class Header extends Field{constructor(l,u,r){super(l,u),this.size=r}}class Reference extends Field{constructor(l,u,r){super(l,u),this.index=r}valueOf(){return`Ref(${this.index})`}}class BuiltinObjectHeader extends Header{constructor(l,u){super(l,u,0)}}class FieldObjectHeader extends Header{constructor(l,u,r,n){super(l,u,n),this.version=r}}class Consumer{constructor({type:l=Value,read:u,value:r=u?n=>n.read(u):null}){this.type=l,this.value=r}next(l,u,r){return{value:new this.type(u,r,this.value(l)),done:!1}}}const CONSUMER_PROTOS={[TYPES.NULL]:{value:()=>null},[TYPES.TRUE]:{value:()=>!0},[TYPES.FALSE]:{value:()=>!1},[TYPES.SMALL_INT]:{read:Int32BE},[TYPES.SMALL_INT_16]:{read:Int16BE},[TYPES.LARGE_INT_POSITIVE]:{read:LargeInt},[TYPES.LARGE_INT_NEGATIVE]:{read:LargeInt},[TYPES.FLOATING]:{read:DoubleBE},[TYPES.STRING]:{read:AsciiString},[TYPES.SYMBOL]:{read:AsciiString},[TYPES.BYTES]:{read:Bytes},[TYPES.SOUND]:{read:SoundBytes},[TYPES.BITMAP]:{read:Bitmap32BE},[TYPES.UTF8]:{read:UTF8},[TYPES.ARRAY]:{type:Header,read:Int32BE},[TYPES.ORDERED_COLLECTION]:{type:Header,read:Int32BE},[TYPES.SET]:{type:Header,read:Int32BE},[TYPES.IDENTITY_SET]:{type:Header,read:Int32BE},[TYPES.DICTIONARY]:{type:Header,value:e=>e.read(Int32BE)*2},[TYPES.IDENTITY_DICTIONARY]:{type:Header,value:e=>e.read(Int32BE)*2},[TYPES.COLOR]:{read:OpaqueColor},[TYPES.TRANSLUCENT_COLOR]:{read:TranslucentColor},[TYPES.POINT]:{type:Header,value:()=>2},[TYPES.RECTANGLE]:{type:Header,value:()=>4},[TYPES.FORM]:{type:Header,value:()=>5},[TYPES.SQUEAK]:{type:Header,value:()=>6},[TYPES.OBJECT_REF]:{type:Reference,read:ReferenceBE}},CONSUMERS=Array.from({length:256},(e,l)=>CONSUMER_PROTOS[l]?new Consumer(CONSUMER_PROTOS[l]):null),builtinConsumer=new Consumer({type:BuiltinObjectHeader,value:()=>null});class FieldIterator{constructor(l,u){this.buffer=l,this.stream=new ByteStream(l,u)}[Symbol.iterator](){return this}next(){if(this.stream.position>=this.stream.uint8a.length)return{value:null,done:!0};const l=this.stream.position,u=this.stream.read(Uint8),r=CONSUMERS[u];if(r!==null)return r.next(this.stream,u,l);if(ue.toLowerCase().replace(/_(\w)/g,([,l])=>l.toUpperCase());class FieldObject{constructor({classId:l,version:u,fields:r}){this.classId=l,this.version=u,this.fields=r}get FIELDS(){return[]}get RAW_FIELDS(){return this.fields}string(l){return String(this.fields[l])}number(l){return+this.fields[l]}boolean(l){return!!this.fields[l]}toString(){return this.constructor===FieldObject?`${this.constructor.name} ${this.classId} ${TYPE_NAMES[this.classId]}`:this.constructor.name}static define(l,u=FieldObject){class r extends u{get FIELDS(){return l}static get FIELDS(){return l}}return Object.keys(l).forEach(n=>{const t=l[n];Object.defineProperty(r.prototype,toTitleCase(n),{get(){return this.fields[t]}})}),r}}class CRC32{constructor(){this.bit=new Uint32Array(1),this.crc=0,this.c=0,this.table=[];let l;for(let u=0;u<256;u++){l=u;for(let r=0;r<8;r++)l=l&1?3988292384^l>>>1:l>>>1;this.table[u]=l>>>0}}update(l,u=0,r=l.length){let n=~this.crc>>>0;for(let t=0;t>>8^this.table[(n^l[u+t])&255];return this.crc=~n>>>0,this}get digest(){return this.crc}}const defaultColorMap=[0,4278190080,4294967295,4286611584,4294901760,4278255360,4278190335,4278255615,4294967040,4294902015,4280295456,4282400832,4284506208,4288651167,4290756543,4292861919,4278716424,4279242768,4279769112,4280821800,4281348144,4281874488,4282927176,4283453520,4283979864,4285032552,4285558896,4286085240,4287072135,4287598479,4288124823,4289177511,4289703855,4290230199,4291282887,4291809231,4292335575,4293388263,4293914607,4294440951,4278190080,4278203136,4278216192,4278229248,4278242304,4278255360,4278190131,4278203187,4278216243,4278229299,4278242355,4278255411,4278190182,4278203238,4278216294,4278229350,4278242406,4278255462,4278190233,4278203289,4278216345,4278229401,4278242457,4278255513,4278190284,4278203340,4278216396,4278229452,4278242508,4278255564,4278190335,4278203391,4278216447,4278229503,4278242559,4278255615,4281532416,4281545472,4281558528,4281571584,4281584640,4281597696,4281532467,4281545523,4281558579,4281571635,4281584691,4281597747,4281532518,4281545574,4281558630,4281571686,4281584742,4281597798,4281532569,4281545625,4281558681,4281571737,4281584793,4281597849,4281532620,4281545676,4281558732,4281571788,4281584844,4281597900,4281532671,4281545727,4281558783,4281571839,4281584895,4281597951,4284874752,4284887808,4284900864,4284913920,4284926976,4284940032,4284874803,4284887859,4284900915,4284913971,4284927027,4284940083,4284874854,4284887910,4284900966,4284914022,4284927078,4284940134,4284874905,4284887961,4284901017,4284914073,4284927129,4284940185,4284874956,4284888012,4284901068,4284914124,4284927180,4284940236,4284875007,4284888063,4284901119,4284914175,4284927231,4284940287,4288217088,4288230144,4288243200,4288256256,4288269312,4288282368,4288217139,4288230195,4288243251,4288256307,4288269363,4288282419,4288217190,4288230246,4288243302,4288256358,4288269414,4288282470,4288217241,4288230297,4288243353,4288256409,4288269465,4288282521,4288217292,4288230348,4288243404,4288256460,4288269516,4288282572,4288217343,4288230399,4288243455,4288256511,4288269567,4288282623,4291559424,4291572480,4291585536,4291598592,4291611648,4291624704,4291559475,4291572531,4291585587,4291598643,4291611699,4291624755,4291559526,4291572582,4291585638,4291598694,4291611750,4291624806,4291559577,4291572633,4291585689,4291598745,4291611801,4291624857,4291559628,4291572684,4291585740,4291598796,4291611852,4291624908,4291559679,4291572735,4291585791,4291598847,4291611903,4291624959,4294901760,4294914816,4294927872,4294940928,4294953984,4294967040,4294901811,4294914867,4294927923,4294940979,4294954035,4294967091,4294901862,4294914918,4294927974,4294941030,4294954086,4294967142,4294901913,4294914969,4294928025,4294941081,4294954137,4294967193,4294901964,4294915020,4294928076,4294941132,4294954188,4294967244,4294902015,4294915071,4294928127,4294941183,4294954239,4294967295],defaultOneBitColorMap=[4294967295,4278190080],VariableIntBE=new BytePrimitive({sizeOf(e,l){const u=e[l];return u<=223?1:u<=254?2:5},read(e,l){const u=e[l];return u<=223?u:u<=254?(u-224)*256+e[l+1]:Uint32BE.read(e,l+1)}});class SqueakImage{decode(l,u,r,n,t){const i=this.decodePixels(n,r===32);if(r<=8)return t||(t=r===1?defaultOneBitColorMap:defaultColorMap),this.unpackPixels(i,l,u,r,t);if(r===16)return this.raster16To32(i,l,u);if(r===32)return i;throw new Error("Unhandled Squeak Image depth.")}decodePixels(l,u){let r;if(Array.isArray(l)||l instanceof Uint32Array){if(r=new Uint32Array(l),u)for(let s=0;s>2,g=s&3;let m;switch(g){case 0:i+=o;break;case 1:m=n.read(Uint8),m=m<<24|m<<16|m<<8|m,u&&m!==0&&(m|=4278190080);for(let d=0;d>a&s],a-=n}return i}raster16To32(l,u,r){const n=new Uint32Array(2*l.length);let t,i,s,o=0,g=0;for(let m=0;m>t&65535,s!==0){const c=s>>7&248,a=s>>2&248,h=s<<3&248;s=4278190080|c<<16|a<<8|h}n[g++]=s,t-=16}}return n}buildCustomColormap(l,u,r){const n=new Uint32Array(1<>1,this.bitPosition=0,this.currentByte=0,this.stream=null,this.end=0}decode(l){this.bitPosition=0,this.currentByte=0,this.stream=new ByteStream(l.buffer,l.byteOffset),this.end=l.byteOffset+l.length;const u=Math.floor(l.length*8/this.bitsPerSample),r=new Int16Array(u);let n=0,t=0;for(let i=0;i=0,"Ran out of bits in Squeak Sound");let o=SQUEAK_SOUND_STEP_SIZE_TABLE[t],g=0;for(let m=this.valueHighBit;m>0;m=m>>1)s&m&&(g+=o),o=o>>1;g+=o,n+=s&this.signMask?-g:g,t+=this.indexTable[s],t<0&&(t=0),t>88&&(t=88),n>32767&&(n=32767),n<-32768&&(n=-32768),r[i]=n}return r}nextCode(){let l=this.bitsPerSample,u=l-this.bitPosition,r=u<0?this.currentByte>>-u:this.currentByte<0;){if(l-=this.bitPosition,this.end-this.stream.position>0)this.currentByte=this.stream.read(Uint8),this.bitPosition=8;else return this.currentByte=0,this.bitPosition=0,-1;u=l-this.bitPosition,r+=u<0?this.currentByte>>-u:this.currentByte<>8-this.bitPosition,r}static samples(l,u){return u.length*8/l}}class Packet{constructor(l=new Uint8Array(this.size),u=0){this.uint8a=l,this.offset=u}equals(l){for(const u in l)if(this[u]!==l[u])return!1;return!0}view(){const l=this.constructor.name,u={toString(){return l}};for(const r in this.shape)u[r]=this[r];return u}static initConstructor(l){return l.size=l.prototype.size,l}static extend(l){const u=class extends Packet{get shape(){return l}};let r=0;return Object.keys(l).forEach(n=>{if(Object.defineProperty(u.prototype,n,l[n].asPropertyObject(r)),l[n].size===0)throw new Error("Packet cannot be defined with variable sized members.");r+=l[n].size}),u.prototype.size=r,u.size=r,u}}class WAVESignature extends Packet.extend({riff:new FixedAsciiString(4),length:Uint32LE,wave:new FixedAsciiString(4)}){}Packet.initConstructor(WAVESignature);class WAVEChunkStart extends Packet.extend({chunkType:new FixedAsciiString(4),length:Uint32LE}){}Packet.initConstructor(WAVEChunkStart);class WAVEFMTChunkBody extends Packet.extend({format:Uint16LE,channels:Uint16LE,sampleRate:Uint32LE,bytesPerSec:Uint32LE,blockAlignment:Uint16LE,bitsPerSample:Uint16LE}){}Packet.initConstructor(WAVEFMTChunkBody);class WAVFile{encode(l,{channels:u=1,sampleRate:r=22050}={}){const n=new Uint8Array(l.buffer,l.byteOffset,l.byteLength),t=WAVESignature.size+WAVEChunkStart.size+WAVEFMTChunkBody.size+WAVEChunkStart.size+n.length,i=new ByteStream(new ArrayBuffer(t));return i.writeStruct(WAVESignature,{riff:"RIFF",length:t-8,wave:"WAVE"}),i.writeStruct(WAVEChunkStart,{chunkType:"fmt ",length:WAVEFMTChunkBody.size}),i.writeStruct(WAVEFMTChunkBody,{format:1,channels:u,sampleRate:r,bytesPerSec:r*2*u,blockAlignment:u*2,bitsPerSample:16}),i.writeStruct(WAVEChunkStart,{chunkType:"data",length:t-i.position-WAVEChunkStart.size}),i.writeBytes(n),i.uint8a}static encode(l,u){return new WAVFile().encode(l,u)}static samples(l){const u=new WAVEChunkStart(l,WAVESignature.size).length;return new WAVEChunkStart(l,WAVESignature.size+WAVEChunkStart.size+u).length/2}}var md5$1={exports:{}};(function(module){(function(){var ERROR="input is invalid type",WINDOW=typeof window=="object",root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&typeof self=="object",NODE_JS=!root.JS_MD5_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;NODE_JS?root=commonjsGlobal:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_MD5_NO_COMMON_JS&&!0&&module.exports,ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(buffer)}(root.JS_MD5_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(e){return Object.prototype.toString.call(e)==="[object Array]"}),ARRAY_BUFFER&&(root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(e){return typeof e=="object"&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e){return function(l){return new Md5(!0).update(l)[e]()}},createMethod=function(){var e=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.create=function(){return new Md5},e.update=function(r){return e.create().update(r)};for(var l=0;l>2]|=e[n]<>6,o[t++]=128|r&63):r<55296||r>=57344?(o[t++]=224|r>>12,o[t++]=128|r>>6&63,o[t++]=128|r&63):(r=65536+((r&1023)<<10|e.charCodeAt(++n)&1023),o[t++]=240|r>>18,o[t++]=128|r>>12&63,o[t++]=128|r>>6&63,o[t++]=128|r&63);else for(t=this.start;n>2]|=r<>2]|=(192|r>>6)<>2]|=(128|r&63)<=57344?(s[t>>2]|=(224|r>>12)<>2]|=(128|r>>6&63)<>2]|=(128|r&63)<>2]|=(240|r>>18)<>2]|=(128|r>>12&63)<>2]|=(128|r>>6&63)<>2]|=(128|r&63)<=64?(this.start=t-64,this.hash(),this.hashed=!0):this.start=t}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Md5.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,l=this.lastByteIndex;e[l>>2]|=EXTRA[l&3],l>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},Md5.prototype.hash=function(){var e,l,u,r,n,t,i=this.blocks;this.first?(e=i[0]-680876937,e=(e<<7|e>>>25)-271733879<<0,r=(-1732584194^e&2004318071)+i[1]-117830708,r=(r<<12|r>>>20)+e<<0,u=(-271733879^r&(e^-271733879))+i[2]-1126478375,u=(u<<17|u>>>15)+r<<0,l=(e^u&(r^e))+i[3]-1316259209,l=(l<<22|l>>>10)+u<<0):(e=this.h0,l=this.h1,u=this.h2,r=this.h3,e+=(r^l&(u^r))+i[0]-680876936,e=(e<<7|e>>>25)+l<<0,r+=(u^e&(l^u))+i[1]-389564586,r=(r<<12|r>>>20)+e<<0,u+=(l^r&(e^l))+i[2]+606105819,u=(u<<17|u>>>15)+r<<0,l+=(e^u&(r^e))+i[3]-1044525330,l=(l<<22|l>>>10)+u<<0),e+=(r^l&(u^r))+i[4]-176418897,e=(e<<7|e>>>25)+l<<0,r+=(u^e&(l^u))+i[5]+1200080426,r=(r<<12|r>>>20)+e<<0,u+=(l^r&(e^l))+i[6]-1473231341,u=(u<<17|u>>>15)+r<<0,l+=(e^u&(r^e))+i[7]-45705983,l=(l<<22|l>>>10)+u<<0,e+=(r^l&(u^r))+i[8]+1770035416,e=(e<<7|e>>>25)+l<<0,r+=(u^e&(l^u))+i[9]-1958414417,r=(r<<12|r>>>20)+e<<0,u+=(l^r&(e^l))+i[10]-42063,u=(u<<17|u>>>15)+r<<0,l+=(e^u&(r^e))+i[11]-1990404162,l=(l<<22|l>>>10)+u<<0,e+=(r^l&(u^r))+i[12]+1804603682,e=(e<<7|e>>>25)+l<<0,r+=(u^e&(l^u))+i[13]-40341101,r=(r<<12|r>>>20)+e<<0,u+=(l^r&(e^l))+i[14]-1502002290,u=(u<<17|u>>>15)+r<<0,l+=(e^u&(r^e))+i[15]+1236535329,l=(l<<22|l>>>10)+u<<0,e+=(u^r&(l^u))+i[1]-165796510,e=(e<<5|e>>>27)+l<<0,r+=(l^u&(e^l))+i[6]-1069501632,r=(r<<9|r>>>23)+e<<0,u+=(e^l&(r^e))+i[11]+643717713,u=(u<<14|u>>>18)+r<<0,l+=(r^e&(u^r))+i[0]-373897302,l=(l<<20|l>>>12)+u<<0,e+=(u^r&(l^u))+i[5]-701558691,e=(e<<5|e>>>27)+l<<0,r+=(l^u&(e^l))+i[10]+38016083,r=(r<<9|r>>>23)+e<<0,u+=(e^l&(r^e))+i[15]-660478335,u=(u<<14|u>>>18)+r<<0,l+=(r^e&(u^r))+i[4]-405537848,l=(l<<20|l>>>12)+u<<0,e+=(u^r&(l^u))+i[9]+568446438,e=(e<<5|e>>>27)+l<<0,r+=(l^u&(e^l))+i[14]-1019803690,r=(r<<9|r>>>23)+e<<0,u+=(e^l&(r^e))+i[3]-187363961,u=(u<<14|u>>>18)+r<<0,l+=(r^e&(u^r))+i[8]+1163531501,l=(l<<20|l>>>12)+u<<0,e+=(u^r&(l^u))+i[13]-1444681467,e=(e<<5|e>>>27)+l<<0,r+=(l^u&(e^l))+i[2]-51403784,r=(r<<9|r>>>23)+e<<0,u+=(e^l&(r^e))+i[7]+1735328473,u=(u<<14|u>>>18)+r<<0,l+=(r^e&(u^r))+i[12]-1926607734,l=(l<<20|l>>>12)+u<<0,n=l^u,e+=(n^r)+i[5]-378558,e=(e<<4|e>>>28)+l<<0,r+=(n^e)+i[8]-2022574463,r=(r<<11|r>>>21)+e<<0,t=r^e,u+=(t^l)+i[11]+1839030562,u=(u<<16|u>>>16)+r<<0,l+=(t^u)+i[14]-35309556,l=(l<<23|l>>>9)+u<<0,n=l^u,e+=(n^r)+i[1]-1530992060,e=(e<<4|e>>>28)+l<<0,r+=(n^e)+i[4]+1272893353,r=(r<<11|r>>>21)+e<<0,t=r^e,u+=(t^l)+i[7]-155497632,u=(u<<16|u>>>16)+r<<0,l+=(t^u)+i[10]-1094730640,l=(l<<23|l>>>9)+u<<0,n=l^u,e+=(n^r)+i[13]+681279174,e=(e<<4|e>>>28)+l<<0,r+=(n^e)+i[0]-358537222,r=(r<<11|r>>>21)+e<<0,t=r^e,u+=(t^l)+i[3]-722521979,u=(u<<16|u>>>16)+r<<0,l+=(t^u)+i[6]+76029189,l=(l<<23|l>>>9)+u<<0,n=l^u,e+=(n^r)+i[9]-640364487,e=(e<<4|e>>>28)+l<<0,r+=(n^e)+i[12]-421815835,r=(r<<11|r>>>21)+e<<0,t=r^e,u+=(t^l)+i[15]+530742520,u=(u<<16|u>>>16)+r<<0,l+=(t^u)+i[2]-995338651,l=(l<<23|l>>>9)+u<<0,e+=(u^(l|~r))+i[0]-198630844,e=(e<<6|e>>>26)+l<<0,r+=(l^(e|~u))+i[7]+1126891415,r=(r<<10|r>>>22)+e<<0,u+=(e^(r|~l))+i[14]-1416354905,u=(u<<15|u>>>17)+r<<0,l+=(r^(u|~e))+i[5]-57434055,l=(l<<21|l>>>11)+u<<0,e+=(u^(l|~r))+i[12]+1700485571,e=(e<<6|e>>>26)+l<<0,r+=(l^(e|~u))+i[3]-1894986606,r=(r<<10|r>>>22)+e<<0,u+=(e^(r|~l))+i[10]-1051523,u=(u<<15|u>>>17)+r<<0,l+=(r^(u|~e))+i[1]-2054922799,l=(l<<21|l>>>11)+u<<0,e+=(u^(l|~r))+i[8]+1873313359,e=(e<<6|e>>>26)+l<<0,r+=(l^(e|~u))+i[15]-30611744,r=(r<<10|r>>>22)+e<<0,u+=(e^(r|~l))+i[6]-1560198380,u=(u<<15|u>>>17)+r<<0,l+=(r^(u|~e))+i[13]+1309151649,l=(l<<21|l>>>11)+u<<0,e+=(u^(l|~r))+i[4]-145523070,e=(e<<6|e>>>26)+l<<0,r+=(l^(e|~u))+i[11]-1120210379,r=(r<<10|r>>>22)+e<<0,u+=(e^(r|~l))+i[2]+718787259,u=(u<<15|u>>>17)+r<<0,l+=(r^(u|~e))+i[9]-343485551,l=(l<<21|l>>>11)+u<<0,this.first?(this.h0=e+1732584193<<0,this.h1=l-271733879<<0,this.h2=u-1732584194<<0,this.h3=r+271733878<<0,this.first=!1):(this.h0=this.h0+e<<0,this.h1=this.h1+l<<0,this.h2=this.h2+u<<0,this.h3=this.h3+r<<0)},Md5.prototype.hex=function(){this.finalize();var e=this.h0,l=this.h1,u=this.h2,r=this.h3;return HEX_CHARS[e>>4&15]+HEX_CHARS[e&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[l>>4&15]+HEX_CHARS[l&15]+HEX_CHARS[l>>12&15]+HEX_CHARS[l>>8&15]+HEX_CHARS[l>>20&15]+HEX_CHARS[l>>16&15]+HEX_CHARS[l>>28&15]+HEX_CHARS[l>>24&15]+HEX_CHARS[u>>4&15]+HEX_CHARS[u&15]+HEX_CHARS[u>>12&15]+HEX_CHARS[u>>8&15]+HEX_CHARS[u>>20&15]+HEX_CHARS[u>>16&15]+HEX_CHARS[u>>28&15]+HEX_CHARS[u>>24&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[r&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]},Md5.prototype.toString=Md5.prototype.hex,Md5.prototype.digest=function(){this.finalize();var e=this.h0,l=this.h1,u=this.h2,r=this.h3;return[e&255,e>>8&255,e>>16&255,e>>24&255,l&255,l>>8&255,l>>16&255,l>>24&255,u&255,u>>8&255,u>>16&255,u>>24&255,r&255,r>>8&255,r>>16&255,r>>24&255]},Md5.prototype.array=Md5.prototype.digest,Md5.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(16),l=new Uint32Array(e);return l[0]=this.h0,l[1]=this.h1,l[2]=this.h2,l[3]=this.h3,e},Md5.prototype.buffer=Md5.prototype.arrayBuffer,Md5.prototype.base64=function(){for(var e,l,u,r="",n=this.array(),t=0;t<15;)e=n[t++],l=n[t++],u=n[t++],r+=BASE64_ENCODE_CHAR[e>>>2]+BASE64_ENCODE_CHAR[(e<<4|l>>>4)&63]+BASE64_ENCODE_CHAR[(l<<2|u>>>6)&63]+BASE64_ENCODE_CHAR[u&63];return e=n[t],r+=BASE64_ENCODE_CHAR[e>>>2]+BASE64_ENCODE_CHAR[e<<4&63]+"==",r};var exports=createMethod();COMMON_JS?module.exports=exports:root.md5=exports})()})(md5$1);var md5Exports=md5$1.exports;const md5=getDefaultExportFromCjs(md5Exports);class PointData extends FieldObject.define({X:0,Y:1}){}class RectangleData extends FieldObject.define({X:0,Y:1,X2:2,Y2:3}){get width(){return this.x2-this.x}get height(){return this.y2-this.y}}const _bgra2rgbaInPlace=e=>{for(let l=0;ll.valueOf())).buffer))),this._decoded}get extension(){return"uncompressed"}}class StageData extends FieldObject.define({STAGE_CONTENTS:2,OBJ_NAME:6,VARS:7,BLOCKS_BIN:8,IS_CLONE:9,MEDIA:10,CURRENT_COSTUME:11,ZOOM:12,H_PAN:13,V_PAN:14,OBSOLETE_SAVED_STATE:15,SPRITE_ORDER_IN_LIBRARY:16,VOLUME:17,TEMPO_BPM:18,SCENE_STATES:19,LISTS:20}){get spriteOrderInLibrary(){return this.fields[this.FIELDS.SPRITE_ORDER_IN_LIBRARY]||null}get tempoBPM(){return this.fields[this.FIELDS.TEMPO_BPM]||0}get lists(){return this.fields[this.FIELDS.LISTS]||[]}}class SpriteData extends FieldObject.define({BOX:0,PARENT:1,COLOR:3,VISIBLE:4,OBJ_NAME:6,VARS:7,BLOCKS_BIN:8,IS_CLONE:9,MEDIA:10,CURRENT_COSTUME:11,VISIBILITY:12,SCALE_POINT:13,ROTATION_DEGREES:14,ROTATION_STYLE:15,VOLUME:16,TEMPO_BPM:17,DRAGGABLE:18,SCENE_STATES:19,LISTS:20}){get scratchX(){return this.box.x+this.currentCostume.rotationCenter.x-240}get scratchY(){return 180-(this.box.y+this.currentCostume.rotationCenter.y)}get visible(){return(this.fields[this.FIELDS.VISIBLE]&1)===0}get tempoBPM(){return this.fields[this.FIELDS.TEMPO_BPM]||0}get lists(){return this.fields[this.FIELDS.LISTS]||[]}}class TextDetailsData extends FieldObject.define({RECTANGLE:0,FONT:8,COLOR:9,LINES:11}){}class ImageMediaData extends FieldObject.define({COSTUME_NAME:0,BITMAP:1,ROTATION_CENTER:2,TEXT_DETAILS:3,BASE_LAYER_DATA:4,OLD_COMPOSITE:5}){get image(){return this.oldComposite instanceof ImageData?this.oldComposite:this.baseLayerData.value?null:this.bitmap}get width(){return this.image===null?-1:this.image.width}get height(){return this.image===null?-1:this.image.height}get rawBytes(){return this.image===null?this.baseLayerData.value.slice():this.image.bytes.value}get decoded(){return this.image===null?this.baseLayerData.value.slice():this.image.decoded}get crc(){if(!this._crc){const l=new CRC32().update(new Uint8Array(new Uint32Array([this.bitmap.width]).buffer)).update(new Uint8Array(new Uint32Array([this.bitmap.height]).buffer)).update(new Uint8Array(new Uint32Array([this.bitmap.depth]).buffer)).update(this.rawBytes);this._crc=l.digest}return this._crc}get extension(){return this.oldComposite instanceof ImageData?"uncompressed":this.baseLayerData.value?"jpg":"uncompressed"}toString(){return`ImageMediaData "${this.costumeName}"`}}class UncompressedData extends FieldObject.define({DATA:3,RATE:4}){}const reverseBytes16=e=>{const l=new Uint8Array(e);for(let u=0;uFIELD_OBJECT_CONTRUCTOR_PROTOS[l]||null);class TypeIterator{constructor(l){this.valueIterator=l}[Symbol.iterator](){return this}next(){const l=this.valueIterator.next();if(l.done)return l;const u=l.value,{classId:r}=u;let n=u;if(u instanceof Header){n=[];for(let t=0;t>>16;for(let i=0;i0;){this._deflateIndex===DEFLATE_BLOCK_SIZE_MAX&&(this.chunk=this.stream.writeStruct(DeflateChunkStart,{lastPacket:0,length:0,lengthCheck:65535}));const t=Math.min(r-n,DEFLATE_BLOCK_SIZE_MAX-this._deflateIndex);this.stream.writeBytes(l,n,n+t),this._deflateIndex+=t,n+=t}this.adler.update(l,u,r-u)}finish(){this.chunk.lastPacket=1,this.stream.writeStruct(DeflateEnd,{checksum:this.adler.digest})}static estimateSize(l){const u=Math.ceil(l/DEFLATE_BLOCK_SIZE_MAX);return DeflateHeader.size+u*DeflateChunkStart.size+DeflateEnd.size+l}}class PNGChunkStream extends ProxyStream{constructor(l,u="IHDR"){super(l),this.start=this.stream.writeStruct(PNGChunkStart,{length:0,chunkType:u}),this.crc=new CRC32}finish(){const l=this.start.offset+this.start.size,u=this.position-l;this.start.length=u,this.crc.update(this.stream.uint8a,l-Uint32BE.size,u+Uint32BE.size),this.stream.writeStruct(PNGChunkEnd,{checksum:this.crc.digest})}static size(l){return PNGChunkStart.size+l+PNGChunkEnd.size}}class PNGFile{encode(l,u,r){const n=l*4+PNGFilterMethodByte.size,t=n*u,i=PNGSignature.size+PNGChunkStream.size(PNGIHDRChunkBody.size)+PNGChunkStream.size(DeflateStream.estimateSize(t))+PNGChunkStream.size(0),s=new ByteStream(new ArrayBuffer(i));s.writeStruct(PNGSignature,{support8Bit:137,png:"PNG",dosLineEnding:`\r +`,dosEndOfFile:"",unixLineEnding:` +`});const o=new PNGChunkStream(s,"IHDR");o.writeStruct(PNGIHDRChunkBody,{width:l,height:u,bitDepth:8,colorType:6,compressionMethod:0,filterMethod:0,interlaceMethod:0}),o.finish();const g=new PNGChunkStream(s,"IDAT"),m=new DeflateStream(g);let d=0;for(;de.extension==="uncompressed"?"png":"jpg",toSb2ImageMedia=e=>e.extension==="uncompressed"?new Uint8Array(PNGFile.encode(e.width,e.height,e.decoded)):e.decoded,toSb2SoundMedia=e=>e.wavEncodedData,toSb2FakeZipApi=({images:e,sounds:l})=>{const u={};let r=0;for(const n of e)u[`${r++}.${toSb2ImageExtension(n)}`]={bytes:toSb2ImageMedia(n)};r=0;for(const n of l)u[`${r++}.wav`]={bytes:toSb2SoundMedia(n)};return new FakeZip(u)},fixMouseEdgeRef=e=>{const l=String(e[e.length-1]),u=e.length-1;return l==="mouse"?e[u]="_mouse_":l==="edge"?e[u]="_edge_":e[e.length-1]instanceof StageData&&(e[u]="_stage_"),e},sb1SpecMap={getParam:([e,l,u,r])=>[e,l,u,r||"r"],changeVariable:e=>[e[2],e[1],e[3]],EventHatMorph:e=>String(e[1])==="Scratch-StartClicked"?["whenGreenFlag"]:["whenIReceive",e[1]],MouseClickEventHatMorph:()=>["whenClicked"],KeyEventHatMorph:e=>["whenKeyPressed",e[1]],stopScripts:e=>String(e[1])==="other scripts"?[e[0],"other scripts in sprite"]:e,abs:e=>["computeFunction:of:","abs",e[1]],sqrt:e=>["computeFunction:of:","sqrt",e[1]],"\\\\":e=>["%",...e.slice(1)],doReturn:()=>["stopScripts","this script"],stopAll:()=>["stopScripts","all"],"showBackground:":e=>["startScene",e[1]],nextBackground:()=>["nextScene"],doForeverIf:e=>["doForever",[["doIf",e[1],e[2]]]],"getAttribute:of:":fixMouseEdgeRef,"gotoSpriteOrMouse:":fixMouseEdgeRef,"distanceTo:":fixMouseEdgeRef,"pointTowards:":fixMouseEdgeRef,"touching:":fixMouseEdgeRef},valueOf=e=>typeof e=="object"&&e?e.valueOf():e,toSb2Json=e=>{const{info:l,stageData:u,images:r,sounds:n}=e,t=y=>{const _=[];for(let E=0;E({name:y,value:_,isPersistent:!1}),s=([,{listName:y,contents:_,x:E,y:x,width:q,height:T,hiddenWhenNull:j}])=>({listName:y,contents:_,isPersistent:!1,x:E,y:x,width:q,height:T,visible:valueOf(j)!==null}),o=y=>{const _=n.findIndex(E=>E.crc===y.crc);return{soundName:y.name,soundID:_,md5:`${y.md5}.wav`,sampleCount:y.sampleCount,rate:y.rate,format:""}},g=y=>y.extension==="uncompressed"?"png":"jpg",m=y=>{const _=r.findIndex(E=>E.crc===y.crc);return{costumeName:y.costumeName,baseLayerID:_,baseLayerMD5:`${md5(y.rawBytes)}.${g(y)}`,bitmapResolution:1,rotationCenterX:y.rotationCenter.x,rotationCenterY:y.rotationCenter.y}},d=y=>{let _=y.map(a);const E=sb1SpecMap[_[0]];return E&&(_=E(_)),_},c=y=>y.map(d),a=y=>y instanceof SpriteData?y.objName:Array.isArray(y)?y.length===0||Array.isArray(y[0])?c(y):d(y):y,h=y=>[y[0].x,y[0].y,c(y[1])],S=y=>{const _=y.media.filter(x=>x instanceof ImageMediaData),E=y.media.filter(x=>x instanceof SoundMediaData);return{objName:y.objName,variables:t(y.vars).map(i),lists:t(y.lists).map(s),scripts:y.blocksBin.map(h),costumes:_.map(m),currentCostumeIndex:_.findIndex(x=>x.crc===y.currentCostume.crc),sounds:E.map(o),scratchX:y.scratchX,scratchY:y.scratchY,scale:y.scalePoint.x,direction:Math.round(y.rotationDegrees*1e6)/1e6-270,rotationStyle:y.rotationStyle,isDraggable:y.draggable,indexInLibrary:u.spriteOrderInLibrary.indexOf(y),visible:y.visible,spriteInfo:{}}},v=y=>y instanceof SpriteData?S(y):null,p=y=>{const _=y.media.filter(x=>x instanceof ImageMediaData),E=y.media.filter(x=>x instanceof SoundMediaData);return{objName:y.objName,variables:t(y.vars).map(i),lists:t(y.lists).map(s),scripts:y.blocksBin.map(h),costumes:_.map(m),currentCostumeIndex:_.findIndex(x=>x.crc===y.currentCostume.crc),sounds:E.map(o),penLayerMD5:"5c81a336fab8be57adc039a8a2b33ca9.png",penLayerID:0,tempoBPM:y.tempoBPM,videoAlpha:.5,children:y.stageContents.map(v).filter(Boolean).reverse()}},b=y=>{const _={};for(let E=0;Eu instanceof ImageMediaData?l.has(u.crc)?!1:(l.add(u.crc),!0):!1)}sounds(){const l=new Set;return this.dataFixed().filter(u=>u instanceof SoundMediaData?l.has(u.crc)?!1:(l.add(u.crc),!0):!1)}}const unpackProject=e=>(typeof e!="string"&&(e=buffer.Buffer.from(e)),new Promise((l,u)=>{validate$1(e,!1,(r,n)=>{if(r)return u(r);l(n)})}).catch(l=>{try{const u=new SB1File(e),r=u.json;return r.projectVersion=2,Promise.resolve([r,u.zip])}catch(u){if(!(u instanceof ValidationError))return Promise.reject(u)}return Promise.reject(l)})),useProjectFileStore=defineStore("projectFile",()=>{const e=ref$1(null),l=ref$1([]),u=ref$1("untitled"),r=ref$1("unknown");return{json:e,assets:l,title:u,author:r}}),_sfc_main={__name:"ProjectFileInput",emits:["error"],setup(e,{emit:l}){const u=ref$1(null),r=ref$1(!1),n=useRouter(),t=useProjectFileStore();async function i(){r.value=!0,console.log(u);let s=u.value.files[0];if(console.log(s),!s){l("error","file doesn't exist"),r.value=!1;return}let o,g,m;try{m=await unpackProject(await s.arrayBuffer()),[o,g]=m}catch(d){console.log("error",d),l("error",d.hasOwnProperty("validationError")?JSON.stringify(d):d.toString()+(d.stack?` +`+d.stack:"")),r.value=!1;return}console.log(m,o,g),t.json=o,t.title=s.name.replace(/\..+?$/,""),n.push({name:"projectFilePlayer"})}return(s,o)=>r.value?(openBlock(),createBlock(Loading,{key:0})):(openBlock(),createElementBlock("input",{key:1,type:"file",ref_key:"fileInput",ref:u,onInput:i},null,544))}};export{_sfc_main as _,useProjectFileStore as u}; diff --git a/docs/assets/ProjectFileView-2a52ba01.js b/docs/assets/ProjectFileView-2a52ba01.js new file mode 100644 index 0000000..59e2cca --- /dev/null +++ b/docs/assets/ProjectFileView-2a52ba01.js @@ -0,0 +1 @@ +import{u as c,_ as i}from"./ProjectFileInput-da36d62d.js";import{P as u}from"./ProjectPlayer-cf744d99.js";import{r as _,o as r,c as s,b as l,t as m,i as e,j as d,e as p,F as f,d as j}from"./index-19163c0d.js";const h={key:0},k=j("summary",null,"An error occured",-1),y={key:1},x={__name:"ProjectFileView",setup(P){const t=c(),o=_(null);let n=a=>o.value=a;return(a,v)=>o.value?(r(),s("details",h,[k,l(" "+m(o.value),1)])):(r(),s(f,{key:1},[e(t).json!==null?(r(),d(u,{key:0,json:e(t).json,assets:e(t).assets,title:e(t).title,author:e(t).author},null,8,["json","assets","title","author"])):(r(),s("div",y,[l("Upload a project: "),p(i,{onError:e(n)},null,8,["onError"])]))],64))}};export{x as default}; diff --git a/docs/assets/ProjectIdView-63dd01a7.js b/docs/assets/ProjectIdView-63dd01a7.js new file mode 100644 index 0000000..61c48f0 --- /dev/null +++ b/docs/assets/ProjectIdView-63dd01a7.js @@ -0,0 +1 @@ +import{P as v}from"./ProjectPlayer-cf744d99.js";import{_ as w,r,s as u,o as p,j,c as P,b as f,d as c,t as b,F as k,p as x,f as I,h as m,S as g,e as y,L as S}from"./index-19163c0d.js";const i=t=>(x("data-v-6ef01cf7"),t=t(),I(),t),B=i(()=>c("h1",null,"Project not found",-1)),V=i(()=>c("br",null,null,-1)),$=i(()=>c("summary",null,"Error message (probably unhelpful):",-1)),E={__name:"ProjectIdPlayer",props:["id"],async setup(t){let e,a;const n=t,o=r(null),_=r(""),d=r(""),h=r("");try{const s=([e,a]=u(async()=>([e,a]=u(()=>fetch(`https://trampoline.turbowarp.org/api/projects/${n.id}/`)),e=await e,a(),e).json()),e=await e,a(),e);d.value=s.title,h.value=s.author.username,_.value=([e,a]=u(()=>fetch(`https://projects.scratch.mit.edu/${n.id}/?token=${s.project_token}`).then(l=>{if(!l.ok)throw new Error("response was not OK");return l.json()})),e=await e,a(),e),o.value=!0}catch(s){o.value=s}return(s,l)=>o.value===!0?(p(),j(v,{key:0,json:_.value,author:h.value,title:d.value},null,8,["json","author","title"])):(p(),P(k,{key:1},[B,f(" This could be because it doesn't exist, or it may be private. "),V,c("details",null,[$,f(" "+b(o.value),1)])],64))}},N=w(E,[["__scopeId","data-v-6ef01cf7"]]),L={__name:"ProjectIdView",props:["id"],setup(t){const e=t;return(a,n)=>(p(),j(g,null,{fallback:m(()=>[y(S)]),default:m(()=>[y(N,{id:e.id},null,8,["id"])]),_:1}))}};export{L as default}; diff --git a/docs/assets/ProjectIdView-faa0cc2d.css b/docs/assets/ProjectIdView-faa0cc2d.css new file mode 100644 index 0000000..2f7400f --- /dev/null +++ b/docs/assets/ProjectIdView-faa0cc2d.css @@ -0,0 +1 @@ +details[data-v-6ef01cf7]{margin-top:1rem;font-size:12px} diff --git a/docs/assets/ProjectPlayer-02aa7c52.css b/docs/assets/ProjectPlayer-02aa7c52.css new file mode 100644 index 0000000..3e456f5 --- /dev/null +++ b/docs/assets/ProjectPlayer-02aa7c52.css @@ -0,0 +1 @@ +canvas[data-v-683efcd7]{border:1px solid black;background:white;max-width:calc((100vw - 1rem)*.95)} diff --git a/docs/assets/ProjectPlayer-cf744d99.js b/docs/assets/ProjectPlayer-cf744d99.js new file mode 100644 index 0000000..873fdc6 --- /dev/null +++ b/docs/assets/ProjectPlayer-cf744d99.js @@ -0,0 +1,3 @@ +import{m as buffer,x as _global,_ as _export_sfc,r as ref,o as openBlock,c as createElementBlock,d as createBaseVNode,t as toDisplayString,i as unref,b as createTextVNode,F as Fragment,p as pushScopeId,f as popScopeId}from"./index-19163c0d.js";const __vite__wasmUrl="/hyperquark/assets/hyperquark_bg-33a6f127.wasm",__vite__initWasm=async(e={},t)=>{let n;if(t.startsWith("data:")){const _=t.replace(/^data:.*?base64,/,"");let o;if(typeof buffer.Buffer=="function"&&typeof buffer.Buffer.from=="function")o=buffer.Buffer.from(_,"base64");else if(typeof atob=="function"){const c=atob(_);o=new Uint8Array(c.length);for(let r=0;r"u"?(0,module.require)("util").TextDecoder:TextDecoder;let cachedTextDecoder=new lTextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});cachedTextDecoder.decode();let cachedUint8Memory0=null;function getUint8Memory0(){return(cachedUint8Memory0===null||cachedUint8Memory0.byteLength===0)&&(cachedUint8Memory0=new Uint8Array(wasm$1.memory.buffer)),cachedUint8Memory0}function getStringFromWasm0(e,t){return e=e>>>0,cachedTextDecoder.decode(getUint8Memory0().subarray(e,e+t))}let heap_next=heap.length;function addHeapObject(e){heap_next===heap.length&&heap.push(heap.length+1);const t=heap_next;return heap_next=heap[t],heap[t]=e,t}function dropObject(e){e<132||(heap[e]=heap_next,heap_next=e)}function takeObject(e){const t=getObject(e);return dropObject(e),t}let WASM_VECTOR_LEN=0;const lTextEncoder=typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder;let cachedTextEncoder=new lTextEncoder("utf-8");const encodeString=typeof cachedTextEncoder.encodeInto=="function"?function(e,t){return cachedTextEncoder.encodeInto(e,t)}:function(e,t){const n=cachedTextEncoder.encode(e);return t.set(n),{read:e.length,written:n.length}};function passStringToWasm0(e,t,n){if(n===void 0){const a=cachedTextEncoder.encode(e),d=t(a.length,1)>>>0;return getUint8Memory0().subarray(d,d+a.length).set(a),WASM_VECTOR_LEN=a.length,d}let _=e.length,o=t(_,1)>>>0;const c=getUint8Memory0();let r=0;for(;r<_;r++){const a=e.charCodeAt(r);if(a>127)break;c[o+r]=a}if(r!==_){r!==0&&(e=e.slice(r)),o=n(o,_,_=r+e.length*3,1)>>>0;const a=getUint8Memory0().subarray(o+r,o+_),d=encodeString(e,a);r+=d.written}return WASM_VECTOR_LEN=r,o}let cachedInt32Memory0=null;function getInt32Memory0(){return(cachedInt32Memory0===null||cachedInt32Memory0.byteLength===0)&&(cachedInt32Memory0=new Int32Array(wasm$1.memory.buffer)),cachedInt32Memory0}function sb3_to_wasm$1(e){let t,n;try{const c=wasm$1.__wbindgen_add_to_stack_pointer(-16),r=passStringToWasm0(e,wasm$1.__wbindgen_malloc,wasm$1.__wbindgen_realloc),a=WASM_VECTOR_LEN;wasm$1.sb3_to_wasm(c,r,a);var _=getInt32Memory0()[c/4+0],o=getInt32Memory0()[c/4+1];return t=_,n=o,getStringFromWasm0(_,o)}finally{wasm$1.__wbindgen_add_to_stack_pointer(16),wasm$1.__wbindgen_free(t,n,1)}}function handleError(e,t){try{return e.apply(this,t)}catch(n){wasm$1.__wbindgen_exn_store(addHeapObject(n))}}function __wbindgen_is_object(e){const t=getObject(e);return typeof t=="object"&&t!==null}function __wbg_crypto_c48a774b022d20ac(e){const t=getObject(e).crypto;return addHeapObject(t)}function __wbg_process_298734cf255a885d(e){const t=getObject(e).process;return addHeapObject(t)}function __wbg_versions_e2e78e134e3e5d01(e){const t=getObject(e).versions;return addHeapObject(t)}function __wbg_node_1cd7a5d853dbea79(e){const t=getObject(e).node;return addHeapObject(t)}function __wbindgen_is_string(e){return typeof getObject(e)=="string"}function __wbg_msCrypto_bcb970640f50a1e8(e){const t=getObject(e).msCrypto;return addHeapObject(t)}function __wbg_require_8f08ceecec0f4fee(){return handleError(function(){const e=module.require;return addHeapObject(e)},arguments)}function __wbindgen_string_new(e,t){const n=getStringFromWasm0(e,t);return addHeapObject(n)}function __wbg_randomFillSync_dc1e9a60c158336d(){return handleError(function(e,t){getObject(e).randomFillSync(takeObject(t))},arguments)}function __wbg_getRandomValues_37fa2ca9e4e07fab(){return handleError(function(e,t){getObject(e).getRandomValues(getObject(t))},arguments)}function __wbindgen_object_drop_ref(e){takeObject(e)}function __wbg_newnoargs_581967eacc0e2604(e,t){const n=new Function(getStringFromWasm0(e,t));return addHeapObject(n)}function __wbindgen_is_function(e){return typeof getObject(e)=="function"}function __wbg_self_1ff1d729e9aae938(){return handleError(function(){const e=self.self;return addHeapObject(e)},arguments)}function __wbg_window_5f4faef6c12b79ec(){return handleError(function(){const e=window.window;return addHeapObject(e)},arguments)}function __wbg_globalThis_1d39714405582d3c(){return handleError(function(){const e=globalThis.globalThis;return addHeapObject(e)},arguments)}function __wbg_global_651f05c6a0944d1c(){return handleError(function(){const e=_global.global;return addHeapObject(e)},arguments)}function __wbindgen_is_undefined(e){return getObject(e)===void 0}function __wbg_call_cb65541d95d71282(){return handleError(function(e,t){const n=getObject(e).call(getObject(t));return addHeapObject(n)},arguments)}function __wbg_call_01734de55d61e11d(){return handleError(function(e,t,n){const _=getObject(e).call(getObject(t),getObject(n));return addHeapObject(_)},arguments)}function __wbg_buffer_085ec1f694018c4f(e){const t=getObject(e).buffer;return addHeapObject(t)}function __wbg_newwithbyteoffsetandlength_6da8e527659b86aa(e,t,n){const _=new Uint8Array(getObject(e),t>>>0,n>>>0);return addHeapObject(_)}function __wbg_new_8125e318e6245eed(e){const t=new Uint8Array(getObject(e));return addHeapObject(t)}function __wbg_newwithlength_e5d69174d6984cd7(e){const t=new Uint8Array(e>>>0);return addHeapObject(t)}function __wbg_subarray_13db269f57aa838d(e,t,n){const _=getObject(e).subarray(t>>>0,n>>>0);return addHeapObject(_)}function __wbg_set_5cf90238115182c3(e,t,n){getObject(e).set(getObject(t),n>>>0)}function __wbindgen_object_clone_ref(e){const t=getObject(e);return addHeapObject(t)}function __wbindgen_throw(e,t){throw new Error(getStringFromWasm0(e,t))}function __wbindgen_memory(){const e=wasm$1.memory;return addHeapObject(e)}URL=globalThis.URL;const __vite__wasmModule=await __vite__initWasm({"./hyperquark_bg.js":{__wbindgen_is_object,__wbg_crypto_c48a774b022d20ac,__wbg_process_298734cf255a885d,__wbg_versions_e2e78e134e3e5d01,__wbg_node_1cd7a5d853dbea79,__wbindgen_is_string,__wbg_msCrypto_bcb970640f50a1e8,__wbg_require_8f08ceecec0f4fee,__wbindgen_string_new,__wbg_randomFillSync_dc1e9a60c158336d,__wbg_getRandomValues_37fa2ca9e4e07fab,__wbindgen_object_drop_ref,__wbg_newnoargs_581967eacc0e2604,__wbindgen_is_function,__wbg_self_1ff1d729e9aae938,__wbg_window_5f4faef6c12b79ec,__wbg_globalThis_1d39714405582d3c,__wbg_global_651f05c6a0944d1c,__wbindgen_is_undefined,__wbg_call_cb65541d95d71282,__wbg_call_01734de55d61e11d,__wbg_buffer_085ec1f694018c4f,__wbg_newwithbyteoffsetandlength_6da8e527659b86aa,__wbg_new_8125e318e6245eed,__wbg_newwithlength_e5d69174d6984cd7,__wbg_subarray_13db269f57aa838d,__wbg_set_5cf90238115182c3,__wbindgen_object_clone_ref,__wbindgen_throw,__wbindgen_memory}},__vite__wasmUrl),memory=__vite__wasmModule.memory,sb3_to_wasm=__vite__wasmModule.sb3_to_wasm,__wbindgen_add_to_stack_pointer=__vite__wasmModule.__wbindgen_add_to_stack_pointer,__wbindgen_malloc=__vite__wasmModule.__wbindgen_malloc,__wbindgen_realloc=__vite__wasmModule.__wbindgen_realloc,__wbindgen_free=__vite__wasmModule.__wbindgen_free,__wbindgen_exn_store=__vite__wasmModule.__wbindgen_exn_store,wasm=Object.freeze(Object.defineProperty({__proto__:null,__wbindgen_add_to_stack_pointer,__wbindgen_exn_store,__wbindgen_free,__wbindgen_malloc,__wbindgen_realloc,memory,sb3_to_wasm},Symbol.toStringTag,{value:"Module"}));__wbg_set_wasm(wasm);const ProjectPlayer_vue_vue_type_style_index_0_scoped_683efcd7_lang="",_withScopeId=e=>(pushScopeId("data-v-683efcd7"),e=e(),popScopeId(),e),_hoisted_1=["value"],_hoisted_2=_withScopeId(()=>createBaseVNode("label",{for:"turbo"},"turbo mode",-1)),_hoisted_3={key:0},_hoisted_4=_withScopeId(()=>createBaseVNode("summary",null,"An error occured whilst trying to load the project.",-1)),_hoisted_5=_withScopeId(()=>createBaseVNode("br",null,null,-1)),_hoisted_6=_withScopeId(()=>createBaseVNode("br",null,null,-1)),_hoisted_7=_withScopeId(()=>createBaseVNode("button",null,"stop",-1)),_hoisted_8=_withScopeId(()=>createBaseVNode("canvas",{width:"480",height:"360"},null,-1)),_hoisted_9=_withScopeId(()=>createBaseVNode("div",{id:"hq-output"},[createTextVNode("Project output:"),createBaseVNode("br")],-1)),_sfc_main={__name:"ProjectPlayer",props:["json","title","author","assets"],setup(__props){const props=__props;let error=ref(null),turbo=ref(!1),wasm,start;try{if(wasm=sb3_to_wasm$1(JSON.stringify(props.json)),start=eval(wasm),!1==="function")throw start}catch(e){error.value=e.toString(),e.stack&&(error.value+=` +`+e.stack)}console.log(start);function greenFlag(){start({framerate:turbo?1/0:30}).then(e=>alert("done")).catch(e=>{error.value=e.toString(),e.stack&&(error.value+=` +`+e.stack)})}return(e,t)=>(openBlock(),createElementBlock(Fragment,null,[createBaseVNode("h1",null,toDisplayString(props.title||"untitled"),1),createBaseVNode("span",null,"by "+toDisplayString(props.author||"unknown"),1),createBaseVNode("input",{type:"checkbox",name:"turbo",value:unref(turbo)},null,8,_hoisted_1),createTextVNode(),_hoisted_2,unref(error)?(openBlock(),createElementBlock("details",_hoisted_3,[_hoisted_4,createTextVNode(" "+toDisplayString(unref(error)),1)])):(openBlock(),createElementBlock(Fragment,{key:1},[_hoisted_5,_hoisted_6,createBaseVNode("button",{onClick:greenFlag},"green flag"),createTextVNode(),_hoisted_7,_hoisted_8,_hoisted_9],64))],64))}},ProjectPlayer=_export_sfc(_sfc_main,[["__scopeId","data-v-683efcd7"]]);export{ProjectPlayer as P}; diff --git a/docs/assets/hyperquark_bg-33a6f127.wasm b/docs/assets/hyperquark_bg-33a6f127.wasm new file mode 100644 index 0000000..07ca47c Binary files /dev/null and b/docs/assets/hyperquark_bg-33a6f127.wasm differ diff --git a/docs/assets/index-19163c0d.js b/docs/assets/index-19163c0d.js new file mode 100644 index 0000000..8046845 --- /dev/null +++ b/docs/assets/index-19163c0d.js @@ -0,0 +1,10 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const f of l.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&r(f)}).observe(document,{childList:!0,subtree:!0});function n(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(s){if(s.ep)return;s.ep=!0;const l=n(s);fetch(s.href,l)}})();var Hf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ro(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fo={},Mn={};Mn.byteLength=Po;Mn.toByteArray=So;Mn.fromByteArray=Uo;var We=[],Ie=[],Io=typeof Uint8Array<"u"?Uint8Array:Array,Zn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var At=0,To=Zn.length;At0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function Po(e){var t=rs(e),n=t[0],r=t[1];return(n+r)*3/4-r}function Bo(e,t,n){return(t+n)*3/4-n}function So(e){var t,n=rs(e),r=n[0],s=n[1],l=new Io(Bo(e,r,s)),f=0,c=s>0?r-4:r,h;for(h=0;h>16&255,l[f++]=t>>8&255,l[f++]=t&255;return s===2&&(t=Ie[e.charCodeAt(h)]<<2|Ie[e.charCodeAt(h+1)]>>4,l[f++]=t&255),s===1&&(t=Ie[e.charCodeAt(h)]<<10|Ie[e.charCodeAt(h+1)]<<4|Ie[e.charCodeAt(h+2)]>>2,l[f++]=t>>8&255,l[f++]=t&255),l}function Oo(e){return We[e>>18&63]+We[e>>12&63]+We[e>>6&63]+We[e&63]}function Mo(e,t,n){for(var r,s=[],l=t;lc?c:f+l));return r===1?(t=e[n-1],s.push(We[t>>2]+We[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],s.push(We[t>>10]+We[t>>4&63]+We[t<<2&63]+"=")),s.join("")}var Tr={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */Tr.read=function(e,t,n,r,s){var l,f,c=s*8-r-1,h=(1<>1,m=-7,y=n?s-1:0,v=n?-1:1,b=e[t+y];for(y+=v,l=b&(1<<-m)-1,b>>=-m,m+=c;m>0;l=l*256+e[t+y],y+=v,m-=8);for(f=l&(1<<-m)-1,l>>=-m,m+=r;m>0;f=f*256+e[t+y],y+=v,m-=8);if(l===0)l=1-p;else{if(l===h)return f?NaN:(b?-1:1)*(1/0);f=f+Math.pow(2,r),l=l-p}return(b?-1:1)*f*Math.pow(2,l-r)};Tr.write=function(e,t,n,r,s,l){var f,c,h,p=l*8-s-1,m=(1<>1,v=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=r?0:l-1,I=r?1:-1,B=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(c=isNaN(t)?1:0,f=m):(f=Math.floor(Math.log(t)/Math.LN2),t*(h=Math.pow(2,-f))<1&&(f--,h*=2),f+y>=1?t+=v/h:t+=v*Math.pow(2,1-y),t*h>=2&&(f++,h/=2),f+y>=m?(c=0,f=m):f+y>=1?(c=(t*h-1)*Math.pow(2,s),f=f+y):(c=t*Math.pow(2,y-1)*Math.pow(2,s),f=0));s>=8;e[n+b]=c&255,b+=I,c/=256,s-=8);for(f=f<0;e[n+b]=f&255,b+=I,f/=256,p-=8);e[n+b-I]|=B*128};/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */(function(e){var t=Mn,n=Tr,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=c,e.SlowBuffer=L,e.INSPECT_MAX_BYTES=50;var s=2147483647;e.kMaxLength=s,c.TYPED_ARRAY_SUPPORT=l(),!c.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function l(){try{var u=new Uint8Array(1),i={foo:function(){return 42}};return Object.setPrototypeOf(i,Uint8Array.prototype),Object.setPrototypeOf(u,i),u.foo()===42}catch{return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}});function f(u){if(u>s)throw new RangeError('The value "'+u+'" is invalid for option "size"');var i=new Uint8Array(u);return Object.setPrototypeOf(i,c.prototype),i}function c(u,i,o){if(typeof u=="number"){if(typeof i=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(u)}return h(u,i,o)}c.poolSize=8192;function h(u,i,o){if(typeof u=="string")return v(u,i);if(ArrayBuffer.isView(u))return I(u);if(u==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof u);if(_(u,ArrayBuffer)||u&&_(u.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(_(u,SharedArrayBuffer)||u&&_(u.buffer,SharedArrayBuffer)))return B(u,i,o);if(typeof u=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var a=u.valueOf&&u.valueOf();if(a!=null&&a!==u)return c.from(a,i,o);var g=j(u);if(g)return g;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof u[Symbol.toPrimitive]=="function")return c.from(u[Symbol.toPrimitive]("string"),i,o);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof u)}c.from=function(u,i,o){return h(u,i,o)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array);function p(u){if(typeof u!="number")throw new TypeError('"size" argument must be of type number');if(u<0)throw new RangeError('The value "'+u+'" is invalid for option "size"')}function m(u,i,o){return p(u),u<=0?f(u):i!==void 0?typeof o=="string"?f(u).fill(i,o):f(u).fill(i):f(u)}c.alloc=function(u,i,o){return m(u,i,o)};function y(u){return p(u),f(u<0?0:M(u)|0)}c.allocUnsafe=function(u){return y(u)},c.allocUnsafeSlow=function(u){return y(u)};function v(u,i){if((typeof i!="string"||i==="")&&(i="utf8"),!c.isEncoding(i))throw new TypeError("Unknown encoding: "+i);var o=q(u,i)|0,a=f(o),g=a.write(u,i);return g!==o&&(a=a.slice(0,g)),a}function b(u){for(var i=u.length<0?0:M(u.length)|0,o=f(i),a=0;a=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return u|0}function L(u){return+u!=u&&(u=0),c.alloc(+u)}c.isBuffer=function(i){return i!=null&&i._isBuffer===!0&&i!==c.prototype},c.compare=function(i,o){if(_(i,Uint8Array)&&(i=c.from(i,i.offset,i.byteLength)),_(o,Uint8Array)&&(o=c.from(o,o.offset,o.byteLength)),!c.isBuffer(i)||!c.isBuffer(o))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(i===o)return 0;for(var a=i.length,g=o.length,w=0,E=Math.min(a,g);wg.length?c.from(E).copy(g,w):Uint8Array.prototype.set.call(g,E,w);else if(c.isBuffer(E))E.copy(g,w);else throw new TypeError('"list" argument must be an Array of Buffers');w+=E.length}return g};function q(u,i){if(c.isBuffer(u))return u.length;if(ArrayBuffer.isView(u)||_(u,ArrayBuffer))return u.byteLength;if(typeof u!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof u);var o=u.length,a=arguments.length>2&&arguments[2]===!0;if(!a&&o===0)return 0;for(var g=!1;;)switch(i){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":return S(u).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o*2;case"hex":return o>>>1;case"base64":return Y(u).length;default:if(g)return a?-1:S(u).length;i=(""+i).toLowerCase(),g=!0}}c.byteLength=q;function F(u,i,o){var a=!1;if((i===void 0||i<0)&&(i=0),i>this.length||((o===void 0||o>this.length)&&(o=this.length),o<=0)||(o>>>=0,i>>>=0,o<=i))return"";for(u||(u="utf8");;)switch(u){case"hex":return Se(this,i,o);case"utf8":case"utf-8":return ve(this,i,o);case"ascii":return V(this,i,o);case"latin1":case"binary":return Z(this,i,o);case"base64":return he(this,i,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return je(this,i,o);default:if(a)throw new TypeError("Unknown encoding: "+u);u=(u+"").toLowerCase(),a=!0}}c.prototype._isBuffer=!0;function U(u,i,o){var a=u[i];u[i]=u[o],u[o]=a}c.prototype.swap16=function(){var i=this.length;if(i%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var o=0;oo&&(i+=" ... "),""},r&&(c.prototype[r]=c.prototype.inspect),c.prototype.compare=function(i,o,a,g,w){if(_(i,Uint8Array)&&(i=c.from(i,i.offset,i.byteLength)),!c.isBuffer(i))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof i);if(o===void 0&&(o=0),a===void 0&&(a=i?i.length:0),g===void 0&&(g=0),w===void 0&&(w=this.length),o<0||a>i.length||g<0||w>this.length)throw new RangeError("out of range index");if(g>=w&&o>=a)return 0;if(g>=w)return-1;if(o>=a)return 1;if(o>>>=0,a>>>=0,g>>>=0,w>>>=0,this===i)return 0;for(var E=w-g,R=a-o,T=Math.min(E,R),O=this.slice(g,w),N=i.slice(o,a),$=0;$2147483647?o=2147483647:o<-2147483648&&(o=-2147483648),o=+o,x(o)&&(o=g?0:u.length-1),o<0&&(o=u.length+o),o>=u.length){if(g)return-1;o=u.length-1}else if(o<0)if(g)o=0;else return-1;if(typeof i=="string"&&(i=c.from(i,a)),c.isBuffer(i))return i.length===0?-1:te(u,i,o,a,g);if(typeof i=="number")return i=i&255,typeof Uint8Array.prototype.indexOf=="function"?g?Uint8Array.prototype.indexOf.call(u,i,o):Uint8Array.prototype.lastIndexOf.call(u,i,o):te(u,[i],o,a,g);throw new TypeError("val must be string, number or Buffer")}function te(u,i,o,a,g){var w=1,E=u.length,R=i.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(u.length<2||i.length<2)return-1;w=2,E/=2,R/=2,o/=2}function T(le,be){return w===1?le[be]:le.readUInt16BE(be*w)}var O;if(g){var N=-1;for(O=o;OE&&(o=E-R),O=o;O>=0;O--){for(var $=!0,Q=0;Qg&&(a=g)):a=g;var w=i.length;a>w/2&&(a=w/2);for(var E=0;E>>0,isFinite(a)?(a=a>>>0,g===void 0&&(g="utf8")):(g=a,a=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var w=this.length-o;if((a===void 0||a>w)&&(a=w),i.length>0&&(a<0||o<0)||o>this.length)throw new RangeError("Attempt to write outside buffer bounds");g||(g="utf8");for(var E=!1;;)switch(g){case"hex":return D(this,i,o,a);case"utf8":case"utf-8":return H(this,i,o,a);case"ascii":case"latin1":case"binary":return ee(this,i,o,a);case"base64":return se(this,i,o,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ae(this,i,o,a);default:if(E)throw new TypeError("Unknown encoding: "+g);g=(""+g).toLowerCase(),E=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function he(u,i,o){return i===0&&o===u.length?t.fromByteArray(u):t.fromByteArray(u.slice(i,o))}function ve(u,i,o){o=Math.min(u.length,o);for(var a=[],g=i;g239?4:w>223?3:w>191?2:1;if(g+R<=o){var T,O,N,$;switch(R){case 1:w<128&&(E=w);break;case 2:T=u[g+1],(T&192)===128&&($=(w&31)<<6|T&63,$>127&&(E=$));break;case 3:T=u[g+1],O=u[g+2],(T&192)===128&&(O&192)===128&&($=(w&15)<<12|(T&63)<<6|O&63,$>2047&&($<55296||$>57343)&&(E=$));break;case 4:T=u[g+1],O=u[g+2],N=u[g+3],(T&192)===128&&(O&192)===128&&(N&192)===128&&($=(w&15)<<18|(T&63)<<12|(O&63)<<6|N&63,$>65535&&$<1114112&&(E=$))}}E===null?(E=65533,R=1):E>65535&&(E-=65536,a.push(E>>>10&1023|55296),E=56320|E&1023),a.push(E),g+=R}return z(a)}var ge=4096;function z(u){var i=u.length;if(i<=ge)return String.fromCharCode.apply(String,u);for(var o="",a=0;aa)&&(o=a);for(var g="",w=i;wa&&(i=a),o<0?(o+=a,o<0&&(o=0)):o>a&&(o=a),oo)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(i,o,a){i=i>>>0,o=o>>>0,a||ne(i,o,this.length);for(var g=this[i],w=1,E=0;++E>>0,o=o>>>0,a||ne(i,o,this.length);for(var g=this[i+--o],w=1;o>0&&(w*=256);)g+=this[i+--o]*w;return g},c.prototype.readUint8=c.prototype.readUInt8=function(i,o){return i=i>>>0,o||ne(i,1,this.length),this[i]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(i,o){return i=i>>>0,o||ne(i,2,this.length),this[i]|this[i+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(i,o){return i=i>>>0,o||ne(i,2,this.length),this[i]<<8|this[i+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(i,o){return i=i>>>0,o||ne(i,4,this.length),(this[i]|this[i+1]<<8|this[i+2]<<16)+this[i+3]*16777216},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(i,o){return i=i>>>0,o||ne(i,4,this.length),this[i]*16777216+(this[i+1]<<16|this[i+2]<<8|this[i+3])},c.prototype.readIntLE=function(i,o,a){i=i>>>0,o=o>>>0,a||ne(i,o,this.length);for(var g=this[i],w=1,E=0;++E=w&&(g-=Math.pow(2,8*o)),g},c.prototype.readIntBE=function(i,o,a){i=i>>>0,o=o>>>0,a||ne(i,o,this.length);for(var g=o,w=1,E=this[i+--g];g>0&&(w*=256);)E+=this[i+--g]*w;return w*=128,E>=w&&(E-=Math.pow(2,8*o)),E},c.prototype.readInt8=function(i,o){return i=i>>>0,o||ne(i,1,this.length),this[i]&128?(255-this[i]+1)*-1:this[i]},c.prototype.readInt16LE=function(i,o){i=i>>>0,o||ne(i,2,this.length);var a=this[i]|this[i+1]<<8;return a&32768?a|4294901760:a},c.prototype.readInt16BE=function(i,o){i=i>>>0,o||ne(i,2,this.length);var a=this[i+1]|this[i]<<8;return a&32768?a|4294901760:a},c.prototype.readInt32LE=function(i,o){return i=i>>>0,o||ne(i,4,this.length),this[i]|this[i+1]<<8|this[i+2]<<16|this[i+3]<<24},c.prototype.readInt32BE=function(i,o){return i=i>>>0,o||ne(i,4,this.length),this[i]<<24|this[i+1]<<16|this[i+2]<<8|this[i+3]},c.prototype.readFloatLE=function(i,o){return i=i>>>0,o||ne(i,4,this.length),n.read(this,i,!0,23,4)},c.prototype.readFloatBE=function(i,o){return i=i>>>0,o||ne(i,4,this.length),n.read(this,i,!1,23,4)},c.prototype.readDoubleLE=function(i,o){return i=i>>>0,o||ne(i,8,this.length),n.read(this,i,!0,52,8)},c.prototype.readDoubleBE=function(i,o){return i=i>>>0,o||ne(i,8,this.length),n.read(this,i,!1,52,8)};function re(u,i,o,a,g,w){if(!c.isBuffer(u))throw new TypeError('"buffer" argument must be a Buffer instance');if(i>g||iu.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(i,o,a,g){if(i=+i,o=o>>>0,a=a>>>0,!g){var w=Math.pow(2,8*a)-1;re(this,i,o,a,w,0)}var E=1,R=0;for(this[o]=i&255;++R>>0,a=a>>>0,!g){var w=Math.pow(2,8*a)-1;re(this,i,o,a,w,0)}var E=a-1,R=1;for(this[o+E]=i&255;--E>=0&&(R*=256);)this[o+E]=i/R&255;return o+a},c.prototype.writeUint8=c.prototype.writeUInt8=function(i,o,a){return i=+i,o=o>>>0,a||re(this,i,o,1,255,0),this[o]=i&255,o+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(i,o,a){return i=+i,o=o>>>0,a||re(this,i,o,2,65535,0),this[o]=i&255,this[o+1]=i>>>8,o+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(i,o,a){return i=+i,o=o>>>0,a||re(this,i,o,2,65535,0),this[o]=i>>>8,this[o+1]=i&255,o+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(i,o,a){return i=+i,o=o>>>0,a||re(this,i,o,4,4294967295,0),this[o+3]=i>>>24,this[o+2]=i>>>16,this[o+1]=i>>>8,this[o]=i&255,o+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(i,o,a){return i=+i,o=o>>>0,a||re(this,i,o,4,4294967295,0),this[o]=i>>>24,this[o+1]=i>>>16,this[o+2]=i>>>8,this[o+3]=i&255,o+4},c.prototype.writeIntLE=function(i,o,a,g){if(i=+i,o=o>>>0,!g){var w=Math.pow(2,8*a-1);re(this,i,o,a,w-1,-w)}var E=0,R=1,T=0;for(this[o]=i&255;++E>0)-T&255;return o+a},c.prototype.writeIntBE=function(i,o,a,g){if(i=+i,o=o>>>0,!g){var w=Math.pow(2,8*a-1);re(this,i,o,a,w-1,-w)}var E=a-1,R=1,T=0;for(this[o+E]=i&255;--E>=0&&(R*=256);)i<0&&T===0&&this[o+E+1]!==0&&(T=1),this[o+E]=(i/R>>0)-T&255;return o+a},c.prototype.writeInt8=function(i,o,a){return i=+i,o=o>>>0,a||re(this,i,o,1,127,-128),i<0&&(i=255+i+1),this[o]=i&255,o+1},c.prototype.writeInt16LE=function(i,o,a){return i=+i,o=o>>>0,a||re(this,i,o,2,32767,-32768),this[o]=i&255,this[o+1]=i>>>8,o+2},c.prototype.writeInt16BE=function(i,o,a){return i=+i,o=o>>>0,a||re(this,i,o,2,32767,-32768),this[o]=i>>>8,this[o+1]=i&255,o+2},c.prototype.writeInt32LE=function(i,o,a){return i=+i,o=o>>>0,a||re(this,i,o,4,2147483647,-2147483648),this[o]=i&255,this[o+1]=i>>>8,this[o+2]=i>>>16,this[o+3]=i>>>24,o+4},c.prototype.writeInt32BE=function(i,o,a){return i=+i,o=o>>>0,a||re(this,i,o,4,2147483647,-2147483648),i<0&&(i=4294967295+i+1),this[o]=i>>>24,this[o+1]=i>>>16,this[o+2]=i>>>8,this[o+3]=i&255,o+4};function Ve(u,i,o,a,g,w){if(o+a>u.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("Index out of range")}function Ye(u,i,o,a,g){return i=+i,o=o>>>0,g||Ve(u,i,o,4),n.write(u,i,o,a,23,4),o+4}c.prototype.writeFloatLE=function(i,o,a){return Ye(this,i,o,!0,a)},c.prototype.writeFloatBE=function(i,o,a){return Ye(this,i,o,!1,a)};function gt(u,i,o,a,g){return i=+i,o=o>>>0,g||Ve(u,i,o,8),n.write(u,i,o,a,52,8),o+8}c.prototype.writeDoubleLE=function(i,o,a){return gt(this,i,o,!0,a)},c.prototype.writeDoubleBE=function(i,o,a){return gt(this,i,o,!1,a)},c.prototype.copy=function(i,o,a,g){if(!c.isBuffer(i))throw new TypeError("argument should be a Buffer");if(a||(a=0),!g&&g!==0&&(g=this.length),o>=i.length&&(o=i.length),o||(o=0),g>0&&g=this.length)throw new RangeError("Index out of range");if(g<0)throw new RangeError("sourceEnd out of bounds");g>this.length&&(g=this.length),i.length-o>>0,a=a===void 0?this.length:a>>>0,i||(i=0);var E;if(typeof i=="number")for(E=o;E55295&&o<57344){if(!g){if(o>56319){(i-=3)>-1&&w.push(239,191,189);continue}else if(E+1===a){(i-=3)>-1&&w.push(239,191,189);continue}g=o;continue}if(o<56320){(i-=3)>-1&&w.push(239,191,189),g=o;continue}o=(g-55296<<10|o-56320)+65536}else g&&(i-=3)>-1&&w.push(239,191,189);if(g=null,o<128){if((i-=1)<0)break;w.push(o)}else if(o<2048){if((i-=2)<0)break;w.push(o>>6|192,o&63|128)}else if(o<65536){if((i-=3)<0)break;w.push(o>>12|224,o>>6&63|128,o&63|128)}else if(o<1114112){if((i-=4)<0)break;w.push(o>>18|240,o>>12&63|128,o>>6&63|128,o&63|128)}else throw new Error("Invalid code point")}return w}function P(u){for(var i=[],o=0;o>8,g=o%256,w.push(g),w.push(a);return w}function Y(u){return t.toByteArray(C(u))}function d(u,i,o,a){for(var g=0;g=i.length||g>=u.length);++g)i[g+o]=u[g];return g}function _(u,i){return u instanceof i||u!=null&&u.constructor!=null&&u.constructor.name!=null&&u.constructor.name===i.name}function x(u){return u!==u}var A=function(){for(var u="0123456789abcdef",i=new Array(256),o=0;o<16;++o)for(var a=o*16,g=0;g<16;++g)i[a+g]=u[o]+u[g];return i}()})(Fo);var is={exports:{}},fe=is.exports={},He,Ke;function lr(){throw new Error("setTimeout has not been defined")}function cr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?He=setTimeout:He=lr}catch{He=lr}try{typeof clearTimeout=="function"?Ke=clearTimeout:Ke=cr}catch{Ke=cr}})();function ss(e){if(He===setTimeout)return setTimeout(e,0);if((He===lr||!He)&&setTimeout)return He=setTimeout,setTimeout(e,0);try{return He(e,0)}catch{try{return He.call(null,e,0)}catch{return He.call(this,e,0)}}}function Lo(e){if(Ke===clearTimeout)return clearTimeout(e);if((Ke===cr||!Ke)&&clearTimeout)return Ke=clearTimeout,clearTimeout(e);try{return Ke(e)}catch{try{return Ke.call(null,e)}catch{return Ke.call(this,e)}}}var Xe=[],Tt=!1,vt,vn=-1;function ko(){!Tt||!vt||(Tt=!1,vt.length?Xe=vt.concat(Xe):vn=-1,Xe.length&&os())}function os(){if(!Tt){var e=ss(ko);Tt=!0;for(var t=Xe.length;t;){for(vt=Xe,Xe=[];++vn1)for(var n=1;n!!n[s.toLowerCase()]:s=>!!n[s]}const oe={},Pt=[],Ue=()=>{},Do=()=>!1,$o=/^on[^a-z]/,Un=e=>$o.test(e),Br=e=>e.startsWith("onUpdate:"),we=Object.assign,Sr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ho=Object.prototype.hasOwnProperty,J=(e,t)=>Ho.call(e,t),K=Array.isArray,Bt=e=>Ln(e)==="[object Map]",cs=e=>Ln(e)==="[object Set]",W=e=>typeof e=="function",de=e=>typeof e=="string",Or=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",Mr=e=>ce(e)&&W(e.then)&&W(e.catch),us=Object.prototype.toString,Ln=e=>us.call(e),Ko=e=>Ln(e).slice(8,-1),fs=e=>Ln(e)==="[object Object]",Ur=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xn=Pr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),kn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Wo=/-(\w)/g,ze=kn(e=>e.replace(Wo,(t,n)=>n?n.toUpperCase():"")),qo=/\B([A-Z])/g,Dt=kn(e=>e.replace(qo,"-$1").toLowerCase()),Nn=kn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Gn=kn(e=>e?`on${Nn(e)}`:""),en=(e,t)=>!Object.is(e,t),En=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ur=e=>{const t=parseFloat(e);return isNaN(t)?e:t},zo=e=>{const t=de(e)?Number(e):NaN;return isNaN(t)?e:t};let oi;const fr=()=>oi||(oi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof si<"u"?si:{});function Lr(e){if(K(e)){const t={};for(let n=0;n{if(n){const r=n.split(Yo);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function kr(e){let t="";if(de(e))t=e;else if(K(e))for(let n=0;nde(e)?e:e==null?"":K(e)||ce(e)&&(e.toString===us||!W(e.toString))?JSON.stringify(e,hs,2):String(e),hs=(e,t)=>t&&t.__v_isRef?hs(e,t.value):Bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:cs(t)?{[`Set(${t.size})`]:[...t.values()]}:ce(t)&&!K(t)&&!fs(t)?String(t):t;let Fe;class ps{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Fe,!t&&Fe&&(this.index=(Fe.scopes||(Fe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Fe;try{return Fe=this,t()}finally{Fe=n}}}on(){Fe=this}off(){Fe=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},ms=e=>(e.w&ht)>0,ys=e=>(e.n&ht)>0,tl=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(m==="length"||m>=h)&&c.push(p)})}else switch(n!==void 0&&c.push(f.get(n)),t){case"add":K(e)?Ur(n)&&c.push(f.get("length")):(c.push(f.get(Et)),Bt(e)&&c.push(f.get(hr)));break;case"delete":K(e)||(c.push(f.get(Et)),Bt(e)&&c.push(f.get(hr)));break;case"set":Bt(e)&&c.push(f.get(Et));break}if(c.length===1)c[0]&&pr(c[0]);else{const h=[];for(const p of c)p&&h.push(...p);pr(Nr(h))}}function pr(e,t){const n=K(e)?e:[...e];for(const r of n)r.computed&&ci(r);for(const r of n)r.computed||ci(r)}function ci(e,t){(e!==Me||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function rl(e,t){var n;return(n=Fn.get(e))==null?void 0:n.get(t)}const il=Pr("__proto__,__v_isRef,__isVue"),vs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Or)),sl=Dr(),ol=Dr(!1,!0),ll=Dr(!0),ui=cl();function cl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=X(this);for(let l=0,f=this.length;l{e[t]=function(...n){$t();const r=X(this)[t].apply(this,n);return Ht(),r}}),e}function ul(e){const t=X(this);return Ce(t,"has",e),t.hasOwnProperty(e)}function Dr(e=!1,t=!1){return function(r,s,l){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&l===(e?t?Cl:Cs:t?As:bs).get(r))return r;const f=K(r);if(!e){if(f&&J(ui,s))return Reflect.get(ui,s,l);if(s==="hasOwnProperty")return ul}const c=Reflect.get(r,s,l);return(Or(s)?vs.has(s):il(s))||(e||Ce(r,"get",s),t)?c:ue(c)?f&&Ur(s)?c:c.value:ce(c)?e?Fs(c):fn(c):c}}const fl=xs(),al=xs(!0);function xs(e=!1){return function(n,r,s,l){let f=n[r];if(Mt(f)&&ue(f)&&!ue(s))return!1;if(!e&&(!In(s)&&!Mt(s)&&(f=X(f),s=X(s)),!K(n)&&ue(f)&&!ue(s)))return f.value=s,!0;const c=K(n)&&Ur(r)?Number(r)e,jn=e=>Reflect.getPrototypeOf(e);function hn(e,t,n=!1,r=!1){e=e.__v_raw;const s=X(e),l=X(t);n||(t!==l&&Ce(s,"get",t),Ce(s,"get",l));const{has:f}=jn(s),c=r?$r:n?Wr:tn;if(f.call(s,t))return c(e.get(t));if(f.call(s,l))return c(e.get(l));e!==s&&e.get(t)}function pn(e,t=!1){const n=this.__v_raw,r=X(n),s=X(e);return t||(e!==s&&Ce(r,"has",e),Ce(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function dn(e,t=!1){return e=e.__v_raw,!t&&Ce(X(e),"iterate",Et),Reflect.get(e,"size",e)}function fi(e){e=X(e);const t=X(this);return jn(t).has.call(t,e)||(t.add(e),Ge(t,"add",e,e)),this}function ai(e,t){t=X(t);const n=X(this),{has:r,get:s}=jn(n);let l=r.call(n,e);l||(e=X(e),l=r.call(n,e));const f=s.call(n,e);return n.set(e,t),l?en(t,f)&&Ge(n,"set",e,t):Ge(n,"add",e,t),this}function hi(e){const t=X(this),{has:n,get:r}=jn(t);let s=n.call(t,e);s||(e=X(e),s=n.call(t,e)),r&&r.call(t,e);const l=t.delete(e);return s&&Ge(t,"delete",e,void 0),l}function pi(){const e=X(this),t=e.size!==0,n=e.clear();return t&&Ge(e,"clear",void 0,void 0),n}function gn(e,t){return function(r,s){const l=this,f=l.__v_raw,c=X(f),h=t?$r:e?Wr:tn;return!e&&Ce(c,"iterate",Et),f.forEach((p,m)=>r.call(s,h(p),h(m),l))}}function mn(e,t,n){return function(...r){const s=this.__v_raw,l=X(s),f=Bt(l),c=e==="entries"||e===Symbol.iterator&&f,h=e==="keys"&&f,p=s[e](...r),m=n?$r:t?Wr:tn;return!t&&Ce(l,"iterate",h?hr:Et),{next(){const{value:y,done:v}=p.next();return v?{value:y,done:v}:{value:c?[m(y[0]),m(y[1])]:m(y),done:v}},[Symbol.iterator](){return this}}}}function nt(e){return function(...t){return e==="delete"?!1:this}}function yl(){const e={get(l){return hn(this,l)},get size(){return dn(this)},has:pn,add:fi,set:ai,delete:hi,clear:pi,forEach:gn(!1,!1)},t={get(l){return hn(this,l,!1,!0)},get size(){return dn(this)},has:pn,add:fi,set:ai,delete:hi,clear:pi,forEach:gn(!1,!0)},n={get(l){return hn(this,l,!0)},get size(){return dn(this,!0)},has(l){return pn.call(this,l,!0)},add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear"),forEach:gn(!0,!1)},r={get(l){return hn(this,l,!0,!0)},get size(){return dn(this,!0)},has(l){return pn.call(this,l,!0)},add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear"),forEach:gn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=mn(l,!1,!1),n[l]=mn(l,!0,!1),t[l]=mn(l,!1,!0),r[l]=mn(l,!0,!0)}),[e,n,t,r]}const[_l,wl,vl,xl]=yl();function Hr(e,t){const n=t?e?xl:vl:e?wl:_l;return(r,s,l)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(J(n,s)&&s in r?n:r,s,l)}const El={get:Hr(!1,!1)},bl={get:Hr(!1,!0)},Al={get:Hr(!0,!1)},bs=new WeakMap,As=new WeakMap,Cs=new WeakMap,Cl=new WeakMap;function Rl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fl(e){return e.__v_skip||!Object.isExtensible(e)?0:Rl(Ko(e))}function fn(e){return Mt(e)?e:Kr(e,!1,Es,El,bs)}function Rs(e){return Kr(e,!1,ml,bl,As)}function Fs(e){return Kr(e,!0,gl,Al,Cs)}function Kr(e,t,n,r,s){if(!ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=s.get(e);if(l)return l;const f=Fl(e);if(f===0)return e;const c=new Proxy(e,f===2?r:n);return s.set(e,c),c}function ut(e){return Mt(e)?ut(e.__v_raw):!!(e&&e.__v_isReactive)}function Mt(e){return!!(e&&e.__v_isReadonly)}function In(e){return!!(e&&e.__v_isShallow)}function Is(e){return ut(e)||Mt(e)}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function Dn(e){return Rn(e,"__v_skip",!0),e}const tn=e=>ce(e)?fn(e):e,Wr=e=>ce(e)?Fs(e):e;function Ts(e){ct&&Me&&(e=X(e),ws(e.dep||(e.dep=Nr())))}function Ps(e,t){e=X(e);const n=e.dep;n&&pr(n)}function ue(e){return!!(e&&e.__v_isRef===!0)}function $n(e){return Bs(e,!1)}function Il(e){return Bs(e,!0)}function Bs(e,t){return ue(e)?e:new Tl(e,t)}class Tl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:X(t),this._value=n?t:tn(t)}get value(){return Ts(this),this._value}set value(t){const n=this.__v_isShallow||In(t)||Mt(t);t=n?t:X(t),en(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:tn(t),Ps(this))}}function Ze(e){return ue(e)?e.value:e}const Pl={get:(e,t,n)=>Ze(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ue(s)&&!ue(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Ss(e){return ut(e)?e:new Proxy(e,Pl)}function Bl(e){const t=K(e)?new Array(e.length):{};for(const n in e)t[n]=Ol(e,n);return t}class Sl{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return rl(X(this._object),this._key)}}function Ol(e,t,n){const r=e[t];return ue(r)?r:new Sl(e,t,n)}class Ml{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new jr(t,()=>{this._dirty||(this._dirty=!0,Ps(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=X(this);return Ts(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ul(e,t,n=!1){let r,s;const l=W(e);return l?(r=e,s=Ue):(r=e.get,s=e.set),new Ml(r,s,l||!s,n)}function ft(e,t,n,r){let s;try{s=r?e(...r):e()}catch(l){an(l,t,n)}return s}function Le(e,t,n,r){if(W(e)){const l=ft(e,t,n,r);return l&&Mr(l)&&l.catch(f=>{an(f,t,n)}),l}const s=[];for(let l=0;l>>1;rn(xe[r])qe&&xe.splice(t,1)}function Us(e){K(e)?St.push(...e):(!Je||!Je.includes(e,e.allowRecurse?_t+1:_t))&&St.push(e),Ms()}function di(e,t=nn?qe+1:0){for(;trn(n)-rn(r)),_t=0;_te.id==null?1/0:e.id,jl=(e,t)=>{const n=rn(e)-rn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ks(e){dr=!1,nn=!0,xe.sort(jl);const t=Ue;try{for(qe=0;qede(b)?b.trim():b)),y&&(s=n.map(ur))}let c,h=r[c=Gn(t)]||r[c=Gn(ze(t))];!h&&l&&(h=r[c=Gn(Dt(t))]),h&&Le(h,e,6,s);const p=r[c+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Le(p,e,6,s)}}function Ns(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const l=e.emits;let f={},c=!1;if(!W(e)){const h=p=>{const m=Ns(p,t,!0);m&&(c=!0,we(f,m))};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}return!l&&!c?(ce(e)&&r.set(e,null),null):(K(l)?l.forEach(h=>f[h]=null):we(f,l),ce(e)&&r.set(e,f),f)}function Hn(e,t){return!e||!Un(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,Dt(t))||J(e,t))}let ye=null,Kn=null;function Tn(e){const t=ye;return ye=e,Kn=e&&e.type.__scopeId||null,t}function $l(e){Kn=e}function Hl(){Kn=null}function gr(e,t=ye,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Ri(-1);const l=Tn(t);let f;try{f=e(...s)}finally{Tn(l),r._d&&Ri(1)}return f};return r._n=!0,r._c=!0,r._d=!0,r}function er(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:l,propsOptions:[f],slots:c,attrs:h,emit:p,render:m,renderCache:y,data:v,setupState:b,ctx:I,inheritAttrs:B}=e;let j,M;const L=Tn(e);try{if(n.shapeFlag&4){const F=s||r;j=Oe(m.call(F,F,y,l,b,v,I)),M=h}else{const F=t;j=Oe(F.length>1?F(l,{attrs:h,slots:c,emit:p}):F(l,null)),M=t.props?h:Wl(h)}}catch(F){Jt.length=0,an(F,e,1),j=_e(pt)}let q=j;if(M&&B!==!1){const F=Object.keys(M),{shapeFlag:U}=q;F.length&&U&7&&(f&&F.some(Br)&&(M=ql(M,f)),q=kt(q,M))}return n.dirs&&(q=kt(q),q.dirs=q.dirs?q.dirs.concat(n.dirs):n.dirs),n.transition&&(q.transition=n.transition),j=q,Tn(L),j}function Kl(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||Un(n))&&((t||(t={}))[n]=e[n]);return t},ql=(e,t)=>{const n={};for(const r in e)(!Br(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function zl(e,t,n){const{props:r,children:s,component:l}=e,{props:f,children:c,patchFlag:h}=t,p=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&h>=0){if(h&1024)return!0;if(h&16)return r?gi(r,f,p):!!f;if(h&8){const m=t.dynamicProps;for(let y=0;ye.__isSuspense,Yl={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,l,f,c,h,p){e==null?Ql(t,n,r,s,l,f,c,h,p):Jl(e,t,n,r,s,f,c,h,p)},hydrate:Xl,create:Qr,normalize:Zl},qf=Yl;function sn(e,t){const n=e.props&&e.props[t];W(n)&&n()}function Ql(e,t,n,r,s,l,f,c,h){const{p,o:{createElement:m}}=h,y=m("div"),v=e.suspense=Qr(e,s,r,t,y,n,l,f,c,h);p(null,v.pendingBranch=e.ssContent,y,null,r,v,l,f),v.deps>0?(sn(e,"onPending"),sn(e,"onFallback"),p(null,e.ssFallback,t,n,r,null,l,f),Ot(v,e.ssFallback)):v.resolve(!1,!0)}function Jl(e,t,n,r,s,l,f,c,{p:h,um:p,o:{createElement:m}}){const y=t.suspense=e.suspense;y.vnode=t,t.el=e.el;const v=t.ssContent,b=t.ssFallback,{activeBranch:I,pendingBranch:B,isInFallback:j,isHydrating:M}=y;if(B)y.pendingBranch=v,lt(v,B)?(h(B,v,y.hiddenContainer,null,s,y,l,f,c),y.deps<=0?y.resolve():j&&(h(I,b,n,r,s,null,l,f,c),Ot(y,b))):(y.pendingId++,M?(y.isHydrating=!1,y.activeBranch=B):p(B,s,y),y.deps=0,y.effects.length=0,y.hiddenContainer=m("div"),j?(h(null,v,y.hiddenContainer,null,s,y,l,f,c),y.deps<=0?y.resolve():(h(I,b,n,r,s,null,l,f,c),Ot(y,b))):I&<(v,I)?(h(I,v,n,r,s,y,l,f,c),y.resolve(!0)):(h(null,v,y.hiddenContainer,null,s,y,l,f,c),y.deps<=0&&y.resolve()));else if(I&<(v,I))h(I,v,n,r,s,y,l,f,c),Ot(y,v);else if(sn(t,"onPending"),y.pendingBranch=v,y.pendingId++,h(null,v,y.hiddenContainer,null,s,y,l,f,c),y.deps<=0)y.resolve();else{const{timeout:L,pendingId:q}=y;L>0?setTimeout(()=>{y.pendingId===q&&y.fallback(b)},L):L===0&&y.fallback(b)}}function Qr(e,t,n,r,s,l,f,c,h,p,m=!1){const{p:y,m:v,um:b,n:I,o:{parentNode:B,remove:j}}=p;let M;const L=ec(e);L&&t?.pendingBranch&&(M=t.pendingId,t.deps++);const q=e.props?zo(e.props.timeout):void 0,F={vnode:e,parent:t,parentComponent:n,isSVG:f,container:r,hiddenContainer:s,anchor:l,deps:0,pendingId:0,timeout:typeof q=="number"?q:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:m,isUnmounted:!1,effects:[],resolve(U=!1,G=!1){const{vnode:te,activeBranch:D,pendingBranch:H,pendingId:ee,effects:se,parentComponent:ae,container:he}=F;if(F.isHydrating)F.isHydrating=!1;else if(!U){const z=D&&H.transition&&H.transition.mode==="out-in";z&&(D.transition.afterLeave=()=>{ee===F.pendingId&&v(H,he,V,0)});let{anchor:V}=F;D&&(V=I(D),b(D,ae,F,!0)),z||v(H,he,V,0)}Ot(F,H),F.pendingBranch=null,F.isInFallback=!1;let ve=F.parent,ge=!1;for(;ve;){if(ve.pendingBranch){ve.effects.push(...se),ge=!0;break}ve=ve.parent}ge||Us(se),F.effects=[],L&&t&&t.pendingBranch&&M===t.pendingId&&(t.deps--,t.deps===0&&!G&&t.resolve()),sn(te,"onResolve")},fallback(U){if(!F.pendingBranch)return;const{vnode:G,activeBranch:te,parentComponent:D,container:H,isSVG:ee}=F;sn(G,"onFallback");const se=I(te),ae=()=>{F.isInFallback&&(y(null,U,H,se,D,null,ee,c,h),Ot(F,U))},he=U.transition&&U.transition.mode==="out-in";he&&(te.transition.afterLeave=ae),F.isInFallback=!0,b(te,D,null,!0),he||ae()},move(U,G,te){F.activeBranch&&v(F.activeBranch,U,G,te),F.container=U},next(){return F.activeBranch&&I(F.activeBranch)},registerDep(U,G){const te=!!F.pendingBranch;te&&F.deps++;const D=U.vnode.el;U.asyncDep.catch(H=>{an(H,U,0)}).then(H=>{if(U.isUnmounted||F.isUnmounted||F.pendingId!==U.suspenseId)return;U.asyncResolved=!0;const{vnode:ee}=U;xr(U,H,!1),D&&(ee.el=D);const se=!D&&U.subTree.el;G(U,ee,B(D||U.subTree.el),D?null:I(U.subTree),F,f,h),se&&j(se),Yr(U,ee.el),te&&--F.deps===0&&F.resolve()})},unmount(U,G){F.isUnmounted=!0,F.activeBranch&&b(F.activeBranch,n,U,G),F.pendingBranch&&b(F.pendingBranch,n,U,G)}};return F}function Xl(e,t,n,r,s,l,f,c,h){const p=t.suspense=Qr(t,r,n,e.parentNode,document.createElement("div"),null,s,l,f,c,!0),m=h(e,p.pendingBranch=t.ssContent,n,p,l,f);return p.deps===0&&p.resolve(!1,!0),m}function Zl(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=mi(r?n.default:n),e.ssFallback=r?mi(n.fallback):_e(pt)}function mi(e){let t;if(W(e)){const n=Ut&&e._c;n&&(e._d=!1,zn()),e=e(),n&&(e._d=!0,t=Be,to())}return K(e)&&(e=Kl(e)),e=Oe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Gl(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):Us(e)}function Ot(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,Yr(r,s))}function ec(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const yn={};function Vt(e,t,n){return js(e,t,n)}function js(e,t,{immediate:n,deep:r,flush:s,onTrack:l,onTrigger:f}=oe){var c;const h=gs()===((c=pe)==null?void 0:c.scope)?pe:null;let p,m=!1,y=!1;if(ue(e)?(p=()=>e.value,m=In(e)):ut(e)?(p=()=>e,r=!0):K(e)?(y=!0,m=e.some(F=>ut(F)||In(F)),p=()=>e.map(F=>{if(ue(F))return F.value;if(ut(F))return xt(F);if(W(F))return ft(F,h,2)})):W(e)?t?p=()=>ft(e,h,2):p=()=>{if(!(h&&h.isUnmounted))return v&&v(),Le(e,h,3,[b])}:p=Ue,t&&r){const F=p;p=()=>xt(F())}let v,b=F=>{v=L.onStop=()=>{ft(F,h,4)}},I;if(cn)if(b=Ue,t?n&&Le(t,h,3,[p(),y?[]:void 0,b]):p(),s==="sync"){const F=Jc();I=F.__watcherHandles||(F.__watcherHandles=[])}else return Ue;let B=y?new Array(e.length).fill(yn):yn;const j=()=>{if(L.active)if(t){const F=L.run();(r||m||(y?F.some((U,G)=>en(U,B[G])):en(F,B)))&&(v&&v(),Le(t,h,3,[F,B===yn?void 0:y&&B[0]===yn?[]:B,b]),B=F)}else L.run()};j.allowRecurse=!!t;let M;s==="sync"?M=j:s==="post"?M=()=>Ae(j,h&&h.suspense):(j.pre=!0,h&&(j.id=h.uid),M=()=>Vr(j));const L=new jr(p,M);t?n?j():B=L.run():s==="post"?Ae(L.run.bind(L),h&&h.suspense):L.run();const q=()=>{L.stop(),h&&h.scope&&Sr(h.scope.effects,L)};return I&&I.push(q),q}function tc(e,t,n){const r=this.proxy,s=de(e)?e.includes(".")?Ds(r,e):()=>r[e]:e.bind(r,r);let l;W(t)?l=t:(l=t.handler,n=t);const f=pe;dt(this);const c=js(s,l.bind(r),n);return f?dt(f):at(),c}function Ds(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{xt(n,t)});else if(fs(e))for(const n in e)xt(e[n],t);return e}function zf(e,t){const n=ye;if(n===null)return e;const r=Yn(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let l=0;lwe({name:e.name},t,{setup:e}))():e}const Yt=e=>!!e.type.__asyncLoader,Hs=e=>e.type.__isKeepAlive;function nc(e,t){Ks(e,"a",t)}function rc(e,t){Ks(e,"da",t)}function Ks(e,t,n=pe){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Wn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Hs(s.parent.vnode)&&ic(r,t,n,s),s=s.parent}}function ic(e,t,n,r){const s=Wn(t,e,r,!0);Ws(()=>{Sr(r[t],s)},n)}function Wn(e,t,n=pe,r=!1){if(n){const s=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...f)=>{if(n.isUnmounted)return;$t(),dt(n);const c=Le(t,n,e,f);return at(),Ht(),c});return r?s.unshift(l):s.push(l),l}}const tt=e=>(t,n=pe)=>(!cn||e==="sp")&&Wn(e,(...r)=>t(...r),n),sc=tt("bm"),oc=tt("m"),lc=tt("bu"),cc=tt("u"),uc=tt("bum"),Ws=tt("um"),fc=tt("sp"),ac=tt("rtg"),hc=tt("rtc");function pc(e,t=pe){Wn("ec",e,t)}const qs="components";function Vf(e,t){return gc(qs,e,!0,t)||e}const dc=Symbol.for("v-ndc");function gc(e,t,n=!0,r=!1){const s=ye||pe;if(s){const l=s.type;if(e===qs){const c=Vc(l,!1);if(c&&(c===t||c===ze(t)||c===Nn(ze(t))))return l}const f=yi(s[e]||l[e],t)||yi(s.appContext[e],t);return!f&&r?l:f}}function yi(e,t){return e&&(e[t]||e[ze(t)]||e[Nn(ze(t))])}function mc(e,t,n={},r,s){if(ye.isCE||ye.parent&&Yt(ye.parent)&&ye.parent.isCE)return t!=="default"&&(n.name=t),_e("slot",n,r&&r());let l=e[t];l&&l._c&&(l._d=!1),zn();const f=l&&zs(l(n)),c=Uc(Te,{key:n.key||f&&f.key||`_${t}`},f||(r?r():[]),f&&e._===1?64:-2);return!s&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),l&&l._c&&(l._d=!0),c}function zs(e){return e.some(t=>ln(t)?!(t.type===pt||t.type===Te&&!zs(t.children)):!0)?e:null}const mr=e=>e?so(e)?Yn(e)||e.proxy:mr(e.parent):null,Qt=we(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>mr(e.parent),$root:e=>mr(e.root),$emit:e=>e.emit,$options:e=>Jr(e),$forceUpdate:e=>e.f||(e.f=()=>Vr(e.update)),$nextTick:e=>e.n||(e.n=zr.bind(e.proxy)),$watch:e=>tc.bind(e)}),tr=(e,t)=>e!==oe&&!e.__isScriptSetup&&J(e,t),yc={get({_:e},t){const{ctx:n,setupState:r,data:s,props:l,accessCache:f,type:c,appContext:h}=e;let p;if(t[0]!=="$"){const b=f[t];if(b!==void 0)switch(b){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return l[t]}else{if(tr(r,t))return f[t]=1,r[t];if(s!==oe&&J(s,t))return f[t]=2,s[t];if((p=e.propsOptions[0])&&J(p,t))return f[t]=3,l[t];if(n!==oe&&J(n,t))return f[t]=4,n[t];yr&&(f[t]=0)}}const m=Qt[t];let y,v;if(m)return t==="$attrs"&&Ce(e,"get",t),m(e);if((y=c.__cssModules)&&(y=y[t]))return y;if(n!==oe&&J(n,t))return f[t]=4,n[t];if(v=h.config.globalProperties,J(v,t))return v[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:l}=e;return tr(s,t)?(s[t]=n,!0):r!==oe&&J(r,t)?(r[t]=n,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:l}},f){let c;return!!n[f]||e!==oe&&J(e,f)||tr(t,f)||(c=l[0])&&J(c,f)||J(r,f)||J(Qt,f)||J(s.config.globalProperties,f)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:J(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function _i(e){return K(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Yf(e){const t=Hc();let n=e();return at(),Mr(n)&&(n=n.catch(r=>{throw dt(t),r})),[n,()=>dt(t)]}let yr=!0;function _c(e){const t=Jr(e),n=e.proxy,r=e.ctx;yr=!1,t.beforeCreate&&wi(t.beforeCreate,e,"bc");const{data:s,computed:l,methods:f,watch:c,provide:h,inject:p,created:m,beforeMount:y,mounted:v,beforeUpdate:b,updated:I,activated:B,deactivated:j,beforeDestroy:M,beforeUnmount:L,destroyed:q,unmounted:F,render:U,renderTracked:G,renderTriggered:te,errorCaptured:D,serverPrefetch:H,expose:ee,inheritAttrs:se,components:ae,directives:he,filters:ve}=t;if(p&&wc(p,r,null),f)for(const V in f){const Z=f[V];W(Z)&&(r[V]=Z.bind(n))}if(s){const V=s.call(n,n);ce(V)&&(e.data=fn(V))}if(yr=!0,l)for(const V in l){const Z=l[V],Se=W(Z)?Z.bind(n,n):W(Z.get)?Z.get.bind(n,n):Ue,je=!W(Z)&&W(Z.set)?Z.set.bind(n):Ue,ne=Pe({get:Se,set:je});Object.defineProperty(r,V,{enumerable:!0,configurable:!0,get:()=>ne.value,set:re=>ne.value=re})}if(c)for(const V in c)Vs(c[V],r,n,V);if(h){const V=W(h)?h.call(n):h;Reflect.ownKeys(V).forEach(Z=>{bn(Z,V[Z])})}m&&wi(m,e,"c");function z(V,Z){K(Z)?Z.forEach(Se=>V(Se.bind(n))):Z&&V(Z.bind(n))}if(z(sc,y),z(oc,v),z(lc,b),z(cc,I),z(nc,B),z(rc,j),z(pc,D),z(hc,G),z(ac,te),z(uc,L),z(Ws,F),z(fc,H),K(ee))if(ee.length){const V=e.exposed||(e.exposed={});ee.forEach(Z=>{Object.defineProperty(V,Z,{get:()=>n[Z],set:Se=>n[Z]=Se})})}else e.exposed||(e.exposed={});U&&e.render===Ue&&(e.render=U),se!=null&&(e.inheritAttrs=se),ae&&(e.components=ae),he&&(e.directives=he)}function wc(e,t,n=Ue){K(e)&&(e=_r(e));for(const r in e){const s=e[r];let l;ce(s)?"default"in s?l=ke(s.from||r,s.default,!0):l=ke(s.from||r):l=ke(s),ue(l)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:f=>l.value=f}):t[r]=l}}function wi(e,t,n){Le(K(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Vs(e,t,n,r){const s=r.includes(".")?Ds(n,r):()=>n[r];if(de(e)){const l=t[e];W(l)&&Vt(s,l)}else if(W(e))Vt(s,e.bind(n));else if(ce(e))if(K(e))e.forEach(l=>Vs(l,t,n,r));else{const l=W(e.handler)?e.handler.bind(n):t[e.handler];W(l)&&Vt(s,l,e)}}function Jr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:l,config:{optionMergeStrategies:f}}=e.appContext,c=l.get(t);let h;return c?h=c:!s.length&&!n&&!r?h=t:(h={},s.length&&s.forEach(p=>Pn(h,p,f,!0)),Pn(h,t,f)),ce(t)&&l.set(t,h),h}function Pn(e,t,n,r=!1){const{mixins:s,extends:l}=t;l&&Pn(e,l,n,!0),s&&s.forEach(f=>Pn(e,f,n,!0));for(const f in t)if(!(r&&f==="expose")){const c=vc[f]||n&&n[f];e[f]=c?c(e[f],t[f]):t[f]}return e}const vc={data:vi,props:xi,emits:xi,methods:zt,computed:zt,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:zt,directives:zt,watch:Ec,provide:vi,inject:xc};function vi(e,t){return t?e?function(){return we(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function xc(e,t){return zt(_r(e),_r(t))}function _r(e){if(K(e)){const t={};for(let n=0;n1)return n&&W(t)?t.call(r&&r.proxy):t}}function Cc(){return!!(pe||ye||on)}function Rc(e,t,n,r=!1){const s={},l={};Rn(l,Vn,1),e.propsDefaults=Object.create(null),Qs(e,t,s,l);for(const f in e.propsOptions[0])f in s||(s[f]=void 0);n?e.props=r?s:Rs(s):e.type.props?e.props=s:e.props=l,e.attrs=l}function Fc(e,t,n,r){const{props:s,attrs:l,vnode:{patchFlag:f}}=e,c=X(s),[h]=e.propsOptions;let p=!1;if((r||f>0)&&!(f&16)){if(f&8){const m=e.vnode.dynamicProps;for(let y=0;y{h=!0;const[v,b]=Js(y,t,!0);we(f,v),b&&c.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!l&&!h)return ce(e)&&r.set(e,Pt),Pt;if(K(l))for(let m=0;m-1,b[1]=B<0||I-1||J(b,"default"))&&c.push(y)}}}const p=[f,c];return ce(e)&&r.set(e,p),p}function Ei(e){return e[0]!=="$"}function bi(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Ai(e,t){return bi(e)===bi(t)}function Ci(e,t){return K(t)?t.findIndex(n=>Ai(n,e)):W(t)&&Ai(t,e)?0:-1}const Xs=e=>e[0]==="_"||e==="$stable",Xr=e=>K(e)?e.map(Oe):[Oe(e)],Ic=(e,t,n)=>{if(t._n)return t;const r=gr((...s)=>Xr(t(...s)),n);return r._c=!1,r},Zs=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Xs(s))continue;const l=e[s];if(W(l))t[s]=Ic(s,l,r);else if(l!=null){const f=Xr(l);t[s]=()=>f}}},Gs=(e,t)=>{const n=Xr(t);e.slots.default=()=>n},Tc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=X(t),Rn(t,"_",n)):Zs(t,e.slots={})}else e.slots={},t&&Gs(e,t);Rn(e.slots,Vn,1)},Pc=(e,t,n)=>{const{vnode:r,slots:s}=e;let l=!0,f=oe;if(r.shapeFlag&32){const c=t._;c?n&&c===1?l=!1:(we(s,t),!n&&c===1&&delete s._):(l=!t.$stable,Zs(t,s)),f=t}else t&&(Gs(e,t),f={default:1});if(l)for(const c in s)!Xs(c)&&!(c in f)&&delete s[c]};function vr(e,t,n,r,s=!1){if(K(e)){e.forEach((v,b)=>vr(v,t&&(K(t)?t[b]:t),n,r,s));return}if(Yt(r)&&!s)return;const l=r.shapeFlag&4?Yn(r.component)||r.component.proxy:r.el,f=s?null:l,{i:c,r:h}=e,p=t&&t.r,m=c.refs===oe?c.refs={}:c.refs,y=c.setupState;if(p!=null&&p!==h&&(de(p)?(m[p]=null,J(y,p)&&(y[p]=null)):ue(p)&&(p.value=null)),W(h))ft(h,c,12,[f,m]);else{const v=de(h),b=ue(h);if(v||b){const I=()=>{if(e.f){const B=v?J(y,h)?y[h]:m[h]:h.value;s?K(B)&&Sr(B,l):K(B)?B.includes(l)||B.push(l):v?(m[h]=[l],J(y,h)&&(y[h]=m[h])):(h.value=[l],e.k&&(m[e.k]=h.value))}else v?(m[h]=f,J(y,h)&&(y[h]=f)):b&&(h.value=f,e.k&&(m[e.k]=f))};f?(I.id=-1,Ae(I,n)):I()}}}const Ae=Gl;function Bc(e){return Sc(e)}function Sc(e,t){const n=fr();n.__VUE__=!0;const{insert:r,remove:s,patchProp:l,createElement:f,createText:c,createComment:h,setText:p,setElementText:m,parentNode:y,nextSibling:v,setScopeId:b=Ue,insertStaticContent:I}=e,B=(d,_,x,A=null,u=null,i=null,o=!1,a=null,g=!!_.dynamicChildren)=>{if(d===_)return;d&&!lt(d,_)&&(A=C(d),re(d,u,i,!0),d=null),_.patchFlag===-2&&(g=!1,_.dynamicChildren=null);const{type:w,ref:E,shapeFlag:R}=_;switch(w){case qn:j(d,_,x,A);break;case pt:M(d,_,x,A);break;case An:d==null&&L(_,x,A,o);break;case Te:ae(d,_,x,A,u,i,o,a,g);break;default:R&1?U(d,_,x,A,u,i,o,a,g):R&6?he(d,_,x,A,u,i,o,a,g):(R&64||R&128)&&w.process(d,_,x,A,u,i,o,a,g,P)}E!=null&&u&&vr(E,d&&d.ref,i,_||d,!_)},j=(d,_,x,A)=>{if(d==null)r(_.el=c(_.children),x,A);else{const u=_.el=d.el;_.children!==d.children&&p(u,_.children)}},M=(d,_,x,A)=>{d==null?r(_.el=h(_.children||""),x,A):_.el=d.el},L=(d,_,x,A)=>{[d.el,d.anchor]=I(d.children,_,x,A,d.el,d.anchor)},q=({el:d,anchor:_},x,A)=>{let u;for(;d&&d!==_;)u=v(d),r(d,x,A),d=u;r(_,x,A)},F=({el:d,anchor:_})=>{let x;for(;d&&d!==_;)x=v(d),s(d),d=x;s(_)},U=(d,_,x,A,u,i,o,a,g)=>{o=o||_.type==="svg",d==null?G(_,x,A,u,i,o,a,g):H(d,_,u,i,o,a,g)},G=(d,_,x,A,u,i,o,a)=>{let g,w;const{type:E,props:R,shapeFlag:T,transition:O,dirs:N}=d;if(g=d.el=f(d.type,i,R&&R.is,R),T&8?m(g,d.children):T&16&&D(d.children,g,null,A,u,i&&E!=="foreignObject",o,a),N&&mt(d,null,A,"created"),te(g,d,d.scopeId,o,A),R){for(const Q in R)Q!=="value"&&!xn(Q)&&l(g,Q,null,R[Q],i,d.children,A,u,me);"value"in R&&l(g,"value",null,R.value),(w=R.onVnodeBeforeMount)&&$e(w,A,d)}N&&mt(d,null,A,"beforeMount");const $=(!u||u&&!u.pendingBranch)&&O&&!O.persisted;$&&O.beforeEnter(g),r(g,_,x),((w=R&&R.onVnodeMounted)||$||N)&&Ae(()=>{w&&$e(w,A,d),$&&O.enter(g),N&&mt(d,null,A,"mounted")},u)},te=(d,_,x,A,u)=>{if(x&&b(d,x),A)for(let i=0;i{for(let w=g;w{const a=_.el=d.el;let{patchFlag:g,dynamicChildren:w,dirs:E}=_;g|=d.patchFlag&16;const R=d.props||oe,T=_.props||oe;let O;x&&yt(x,!1),(O=T.onVnodeBeforeUpdate)&&$e(O,x,_,d),E&&mt(_,d,x,"beforeUpdate"),x&&yt(x,!0);const N=u&&_.type!=="foreignObject";if(w?ee(d.dynamicChildren,w,a,x,A,N,i):o||Z(d,_,a,null,x,A,N,i,!1),g>0){if(g&16)se(a,_,R,T,x,A,u);else if(g&2&&R.class!==T.class&&l(a,"class",null,T.class,u),g&4&&l(a,"style",R.style,T.style,u),g&8){const $=_.dynamicProps;for(let Q=0;Q<$.length;Q++){const le=$[Q],be=R[le],bt=T[le];(bt!==be||le==="value")&&l(a,le,be,bt,u,d.children,x,A,me)}}g&1&&d.children!==_.children&&m(a,_.children)}else!o&&w==null&&se(a,_,R,T,x,A,u);((O=T.onVnodeUpdated)||E)&&Ae(()=>{O&&$e(O,x,_,d),E&&mt(_,d,x,"updated")},A)},ee=(d,_,x,A,u,i,o)=>{for(let a=0;a<_.length;a++){const g=d[a],w=_[a],E=g.el&&(g.type===Te||!lt(g,w)||g.shapeFlag&70)?y(g.el):x;B(g,w,E,null,A,u,i,o,!0)}},se=(d,_,x,A,u,i,o)=>{if(x!==A){if(x!==oe)for(const a in x)!xn(a)&&!(a in A)&&l(d,a,x[a],null,o,_.children,u,i,me);for(const a in A){if(xn(a))continue;const g=A[a],w=x[a];g!==w&&a!=="value"&&l(d,a,w,g,o,_.children,u,i,me)}"value"in A&&l(d,"value",x.value,A.value)}},ae=(d,_,x,A,u,i,o,a,g)=>{const w=_.el=d?d.el:c(""),E=_.anchor=d?d.anchor:c("");let{patchFlag:R,dynamicChildren:T,slotScopeIds:O}=_;O&&(a=a?a.concat(O):O),d==null?(r(w,x,A),r(E,x,A),D(_.children,x,E,u,i,o,a,g)):R>0&&R&64&&T&&d.dynamicChildren?(ee(d.dynamicChildren,T,x,u,i,o,a),(_.key!=null||u&&_===u.subTree)&&eo(d,_,!0)):Z(d,_,x,E,u,i,o,a,g)},he=(d,_,x,A,u,i,o,a,g)=>{_.slotScopeIds=a,d==null?_.shapeFlag&512?u.ctx.activate(_,x,A,o,g):ve(_,x,A,u,i,o,g):ge(d,_,g)},ve=(d,_,x,A,u,i,o)=>{const a=d.component=$c(d,A,u);if(Hs(d)&&(a.ctx.renderer=P),Kc(a),a.asyncDep){if(u&&u.registerDep(a,z),!d.el){const g=a.subTree=_e(pt);M(null,g,_,x)}return}z(a,d,_,x,u,i,o)},ge=(d,_,x)=>{const A=_.component=d.component;if(zl(d,_,x))if(A.asyncDep&&!A.asyncResolved){V(A,_,x);return}else A.next=_,Nl(A.update),A.update();else _.el=d.el,A.vnode=_},z=(d,_,x,A,u,i,o)=>{const a=()=>{if(d.isMounted){let{next:E,bu:R,u:T,parent:O,vnode:N}=d,$=E,Q;yt(d,!1),E?(E.el=N.el,V(d,E,o)):E=N,R&&En(R),(Q=E.props&&E.props.onVnodeBeforeUpdate)&&$e(Q,O,E,N),yt(d,!0);const le=er(d),be=d.subTree;d.subTree=le,B(be,le,y(be.el),C(be),d,u,i),E.el=le.el,$===null&&Yr(d,le.el),T&&Ae(T,u),(Q=E.props&&E.props.onVnodeUpdated)&&Ae(()=>$e(Q,O,E,N),u)}else{let E;const{el:R,props:T}=_,{bm:O,m:N,parent:$}=d,Q=Yt(_);if(yt(d,!1),O&&En(O),!Q&&(E=T&&T.onVnodeBeforeMount)&&$e(E,$,_),yt(d,!0),R&&Y){const le=()=>{d.subTree=er(d),Y(R,d.subTree,d,u,null)};Q?_.type.__asyncLoader().then(()=>!d.isUnmounted&&le()):le()}else{const le=d.subTree=er(d);B(null,le,x,A,d,u,i),_.el=le.el}if(N&&Ae(N,u),!Q&&(E=T&&T.onVnodeMounted)){const le=_;Ae(()=>$e(E,$,le),u)}(_.shapeFlag&256||$&&Yt($.vnode)&&$.vnode.shapeFlag&256)&&d.a&&Ae(d.a,u),d.isMounted=!0,_=x=A=null}},g=d.effect=new jr(a,()=>Vr(w),d.scope),w=d.update=()=>g.run();w.id=d.uid,yt(d,!0),w()},V=(d,_,x)=>{_.component=d;const A=d.vnode.props;d.vnode=_,d.next=null,Fc(d,_.props,A,x),Pc(d,_.children,x),$t(),di(),Ht()},Z=(d,_,x,A,u,i,o,a,g=!1)=>{const w=d&&d.children,E=d?d.shapeFlag:0,R=_.children,{patchFlag:T,shapeFlag:O}=_;if(T>0){if(T&128){je(w,R,x,A,u,i,o,a,g);return}else if(T&256){Se(w,R,x,A,u,i,o,a,g);return}}O&8?(E&16&&me(w,u,i),R!==w&&m(x,R)):E&16?O&16?je(w,R,x,A,u,i,o,a,g):me(w,u,i,!0):(E&8&&m(x,""),O&16&&D(R,x,A,u,i,o,a,g))},Se=(d,_,x,A,u,i,o,a,g)=>{d=d||Pt,_=_||Pt;const w=d.length,E=_.length,R=Math.min(w,E);let T;for(T=0;TE?me(d,u,i,!0,!1,R):D(_,x,A,u,i,o,a,g,R)},je=(d,_,x,A,u,i,o,a,g)=>{let w=0;const E=_.length;let R=d.length-1,T=E-1;for(;w<=R&&w<=T;){const O=d[w],N=_[w]=g?st(_[w]):Oe(_[w]);if(lt(O,N))B(O,N,x,null,u,i,o,a,g);else break;w++}for(;w<=R&&w<=T;){const O=d[R],N=_[T]=g?st(_[T]):Oe(_[T]);if(lt(O,N))B(O,N,x,null,u,i,o,a,g);else break;R--,T--}if(w>R){if(w<=T){const O=T+1,N=OT)for(;w<=R;)re(d[w],u,i,!0),w++;else{const O=w,N=w,$=new Map;for(w=N;w<=T;w++){const Re=_[w]=g?st(_[w]):Oe(_[w]);Re.key!=null&&$.set(Re.key,w)}let Q,le=0;const be=T-N+1;let bt=!1,ni=0;const Kt=new Array(be);for(w=0;w=be){re(Re,u,i,!0);continue}let De;if(Re.key!=null)De=$.get(Re.key);else for(Q=N;Q<=T;Q++)if(Kt[Q-N]===0&<(Re,_[Q])){De=Q;break}De===void 0?re(Re,u,i,!0):(Kt[De-N]=w+1,De>=ni?ni=De:bt=!0,B(Re,_[De],x,null,u,i,o,a,g),le++)}const ri=bt?Oc(Kt):Pt;for(Q=ri.length-1,w=be-1;w>=0;w--){const Re=N+w,De=_[Re],ii=Re+1{const{el:i,type:o,transition:a,children:g,shapeFlag:w}=d;if(w&6){ne(d.component.subTree,_,x,A);return}if(w&128){d.suspense.move(_,x,A);return}if(w&64){o.move(d,_,x,P);return}if(o===Te){r(i,_,x);for(let R=0;Ra.enter(i),u);else{const{leave:R,delayLeave:T,afterLeave:O}=a,N=()=>r(i,_,x),$=()=>{R(i,()=>{N(),O&&O()})};T?T(i,N,$):$()}else r(i,_,x)},re=(d,_,x,A=!1,u=!1)=>{const{type:i,props:o,ref:a,children:g,dynamicChildren:w,shapeFlag:E,patchFlag:R,dirs:T}=d;if(a!=null&&vr(a,null,x,d,!0),E&256){_.ctx.deactivate(d);return}const O=E&1&&T,N=!Yt(d);let $;if(N&&($=o&&o.onVnodeBeforeUnmount)&&$e($,_,d),E&6)gt(d.component,x,A);else{if(E&128){d.suspense.unmount(x,A);return}O&&mt(d,null,_,"beforeUnmount"),E&64?d.type.remove(d,_,x,u,P,A):w&&(i!==Te||R>0&&R&64)?me(w,_,x,!1,!0):(i===Te&&R&384||!u&&E&16)&&me(g,_,x),A&&Ve(d)}(N&&($=o&&o.onVnodeUnmounted)||O)&&Ae(()=>{$&&$e($,_,d),O&&mt(d,null,_,"unmounted")},x)},Ve=d=>{const{type:_,el:x,anchor:A,transition:u}=d;if(_===Te){Ye(x,A);return}if(_===An){F(d);return}const i=()=>{s(x),u&&!u.persisted&&u.afterLeave&&u.afterLeave()};if(d.shapeFlag&1&&u&&!u.persisted){const{leave:o,delayLeave:a}=u,g=()=>o(x,i);a?a(d.el,i,g):g()}else i()},Ye=(d,_)=>{let x;for(;d!==_;)x=v(d),s(d),d=x;s(_)},gt=(d,_,x)=>{const{bum:A,scope:u,update:i,subTree:o,um:a}=d;A&&En(A),u.stop(),i&&(i.active=!1,re(o,d,_,x)),a&&Ae(a,_),Ae(()=>{d.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},me=(d,_,x,A=!1,u=!1,i=0)=>{for(let o=i;od.shapeFlag&6?C(d.component.subTree):d.shapeFlag&128?d.suspense.next():v(d.anchor||d.el),S=(d,_,x)=>{d==null?_._vnode&&re(_._vnode,null,null,!0):B(_._vnode||null,d,_,null,null,null,x),di(),Ls(),_._vnode=d},P={p:B,um:re,m:ne,r:Ve,mt:ve,mc:D,pc:Z,pbc:ee,n:C,o:e};let k,Y;return t&&([k,Y]=t(P)),{render:S,hydrate:k,createApp:Ac(S,k)}}function yt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function eo(e,t,n=!1){const r=e.children,s=t.children;if(K(r)&&K(s))for(let l=0;l>1,e[n[c]]0&&(t[r]=n[l-1]),n[l]=r)}}for(l=n.length,f=n[l-1];l-- >0;)n[l]=f,f=t[f];return n}const Mc=e=>e.__isTeleport,Te=Symbol.for("v-fgt"),qn=Symbol.for("v-txt"),pt=Symbol.for("v-cmt"),An=Symbol.for("v-stc"),Jt=[];let Be=null;function zn(e=!1){Jt.push(Be=e?null:[])}function to(){Jt.pop(),Be=Jt[Jt.length-1]||null}let Ut=1;function Ri(e){Ut+=e}function no(e){return e.dynamicChildren=Ut>0?Be||Pt:null,to(),Ut>0&&Be&&Be.push(e),e}function ro(e,t,n,r,s,l){return no(Lt(e,t,n,r,s,l,!0))}function Uc(e,t,n,r,s){return no(_e(e,t,n,r,s,!0))}function ln(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const Vn="__vInternal",io=({key:e})=>e??null,Cn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?de(e)||ue(e)||W(e)?{i:ye,r:e,k:t,f:!!n}:e:null);function Lt(e,t=null,n=null,r=0,s=null,l=e===Te?0:1,f=!1,c=!1){const h={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&io(t),ref:t&&Cn(t),scopeId:Kn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ye};return c?(Zr(h,n),l&128&&e.normalize(h)):n&&(h.shapeFlag|=de(n)?8:16),Ut>0&&!f&&Be&&(h.patchFlag>0||l&6)&&h.patchFlag!==32&&Be.push(h),h}const _e=Lc;function Lc(e,t=null,n=null,r=0,s=null,l=!1){if((!e||e===dc)&&(e=pt),ln(e)){const c=kt(e,t,!0);return n&&Zr(c,n),Ut>0&&!l&&Be&&(c.shapeFlag&6?Be[Be.indexOf(e)]=c:Be.push(c)),c.patchFlag|=-2,c}if(Yc(e)&&(e=e.__vccOpts),t){t=kc(t);let{class:c,style:h}=t;c&&!de(c)&&(t.class=kr(c)),ce(h)&&(Is(h)&&!K(h)&&(h=we({},h)),t.style=Lr(h))}const f=de(e)?1:Vl(e)?128:Mc(e)?64:ce(e)?4:W(e)?2:0;return Lt(e,t,n,r,s,f,l,!0)}function kc(e){return e?Is(e)||Vn in e?we({},e):e:null}function kt(e,t,n=!1){const{props:r,ref:s,patchFlag:l,children:f}=e,c=t?Nc(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&io(c),ref:t&&t.ref?n&&s?K(s)?s.concat(Cn(t)):[s,Cn(t)]:Cn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:f,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&kt(e.ssContent),ssFallback:e.ssFallback&&kt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Bn(e=" ",t=0){return _e(qn,null,e,t)}function Qf(e,t){const n=_e(An,null,e);return n.staticCount=t,n}function Oe(e){return e==null||typeof e=="boolean"?_e(pt):K(e)?_e(Te,null,e.slice()):typeof e=="object"?st(e):_e(qn,null,String(e))}function st(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:kt(e)}function Zr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Zr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Vn in t)?t._ctx=ye:s===3&&ye&&(ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:ye},n=32):(t=String(t),r&64?(n=16,t=[Bn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Nc(...e){const t={};for(let n=0;npe||ye;let Gr,Ct,Fi="__VUE_INSTANCE_SETTERS__";(Ct=fr()[Fi])||(Ct=fr()[Fi]=[]),Ct.push(e=>pe=e),Gr=e=>{Ct.length>1?Ct.forEach(t=>t(e)):Ct[0](e)};const dt=e=>{Gr(e),e.scope.on()},at=()=>{pe&&pe.scope.off(),Gr(null)};function so(e){return e.vnode.shapeFlag&4}let cn=!1;function Kc(e,t=!1){cn=t;const{props:n,children:r}=e.vnode,s=so(e);Rc(e,n,s,t),Tc(e,r);const l=s?Wc(e,t):void 0;return cn=!1,l}function Wc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Dn(new Proxy(e.ctx,yc));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?zc(e):null;dt(e),$t();const l=ft(r,e,0,[e.props,s]);if(Ht(),at(),Mr(l)){if(l.then(at,at),t)return l.then(f=>{xr(e,f,t)}).catch(f=>{an(f,e,0)});e.asyncDep=l}else xr(e,l,t)}else oo(e,t)}function xr(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ce(t)&&(e.setupState=Ss(t)),oo(e,n)}let Ii;function oo(e,t,n){const r=e.type;if(!e.render){if(!t&&Ii&&!r.render){const s=r.template||Jr(e).template;if(s){const{isCustomElement:l,compilerOptions:f}=e.appContext.config,{delimiters:c,compilerOptions:h}=r,p=we(we({isCustomElement:l,delimiters:c},f),h);r.render=Ii(s,p)}}e.render=r.render||Ue}dt(e),$t(),_c(e),Ht(),at()}function qc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ce(e,"get","$attrs"),t[n]}}))}function zc(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return qc(e)},slots:e.slots,emit:e.emit,expose:t}}function Yn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ss(Dn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qt)return Qt[n](e)},has(t,n){return n in t||n in Qt}}))}function Vc(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function Yc(e){return W(e)&&"__vccOpts"in e}const Pe=(e,t)=>Ul(e,t,cn);function Sn(e,t,n){const r=arguments.length;return r===2?ce(t)&&!K(t)?ln(t)?_e(e,null,[t]):_e(e,t):_e(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ln(n)&&(n=[n]),_e(e,t,n))}const Qc=Symbol.for("v-scx"),Jc=()=>ke(Qc),Xc="3.3.4",Zc="http://www.w3.org/2000/svg",wt=typeof document<"u"?document:null,Ti=wt&&wt.createElement("template"),Gc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?wt.createElementNS(Zc,e):wt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>wt.createTextNode(e),createComment:e=>wt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,l){const f=n?n.previousSibling:t.lastChild;if(s&&(s===l||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===l||!(s=s.nextSibling)););else{Ti.innerHTML=r?`${e}`:e;const c=Ti.content;if(r){const h=c.firstChild;for(;h.firstChild;)c.appendChild(h.firstChild);c.removeChild(h)}t.insertBefore(c,n)}return[f?f.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function eu(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function tu(e,t,n){const r=e.style,s=de(n);if(n&&!s){if(t&&!de(t))for(const l in t)n[l]==null&&Er(r,l,"");for(const l in n)Er(r,l,n[l])}else{const l=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=l)}}const Pi=/\s*!important$/;function Er(e,t,n){if(K(n))n.forEach(r=>Er(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=nu(e,t);Pi.test(n)?e.setProperty(Dt(r),n.replace(Pi,""),"important"):e[r]=n}}const Bi=["Webkit","Moz","ms"],nr={};function nu(e,t){const n=nr[t];if(n)return n;let r=ze(t);if(r!=="filter"&&r in e)return nr[t]=r;r=Nn(r);for(let s=0;srr||(cu.then(()=>rr=0),rr=Date.now());function fu(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Le(au(r,n.value),t,5,[r])};return n.value=e,n.attached=uu(),n}function au(e,t){if(K(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Mi=/^on[a-z]/,hu=(e,t,n,r,s=!1,l,f,c,h)=>{t==="class"?eu(e,r,s):t==="style"?tu(e,n,r):Un(t)?Br(t)||ou(e,t,n,r,f):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):pu(e,t,r,s))?iu(e,t,r,l,f,c,h):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ru(e,t,r,s))};function pu(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Mi.test(t)&&W(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Mi.test(t)&&de(n)?!1:t in e}const Ui=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?n=>En(t,n):t};function du(e){e.target.composing=!0}function Li(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Jf={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=Ui(s);const l=r||s.props&&s.props.type==="number";Ft(e,t?"change":"input",f=>{if(f.target.composing)return;let c=e.value;n&&(c=c.trim()),l&&(c=ur(c)),e._assign(c)}),n&&Ft(e,"change",()=>{e.value=e.value.trim()}),t||(Ft(e,"compositionstart",du),Ft(e,"compositionend",Li),Ft(e,"change",Li))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},l){if(e._assign=Ui(l),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&ur(e.value)===t))return;const f=t??"";e.value!==f&&(e.value=f)}},gu=we({patchProp:hu},Gc);let ki;function mu(){return ki||(ki=Bc(gu))}const yu=(...e)=>{const t=mu().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=_u(r);if(!s)return;const l=t._component;!W(l)&&!l.render&&!l.template&&(l.template=s.innerHTML),s.innerHTML="";const f=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),f},t};function _u(e){return de(e)?document.querySelector(e):e}var wu=!1;let lo;const Qn=e=>lo=e,co=Symbol();function br(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Xt;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Xt||(Xt={}));function vu(){const e=ds(!0),t=e.run(()=>$n({}));let n=[],r=[];const s=Dn({install(l){Qn(s),s._a=l,l.provide(co,s),l.config.globalProperties.$pinia=s,r.forEach(f=>n.push(f)),r=[]},use(l){return!this._a&&!wu?r.push(l):n.push(l),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const uo=()=>{};function Ni(e,t,n,r=uo){e.push(t);const s=()=>{const l=e.indexOf(t);l>-1&&(e.splice(l,1),r())};return!n&&gs()&&el(s),s}function Rt(e,...t){e.slice().forEach(n=>{n(...t)})}const xu=e=>e();function Ar(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];br(s)&&br(r)&&e.hasOwnProperty(n)&&!ue(r)&&!ut(r)?e[n]=Ar(s,r):e[n]=r}return e}const Eu=Symbol();function bu(e){return!br(e)||!e.hasOwnProperty(Eu)}const{assign:it}=Object;function Au(e){return!!(ue(e)&&e.effect)}function Cu(e,t,n,r){const{state:s,actions:l,getters:f}=t,c=n.state.value[e];let h;function p(){c||(n.state.value[e]=s?s():{});const m=Bl(n.state.value[e]);return it(m,l,Object.keys(f||{}).reduce((y,v)=>(y[v]=Dn(Pe(()=>{Qn(n);const b=n._s.get(e);return f[v].call(b,b)})),y),{}))}return h=fo(e,p,t,n,r,!0),h}function fo(e,t,n={},r,s,l){let f;const c=it({actions:{}},n),h={deep:!0};let p,m,y=[],v=[],b;const I=r.state.value[e];!l&&!I&&(r.state.value[e]={}),$n({});let B;function j(D){let H;p=m=!1,typeof D=="function"?(D(r.state.value[e]),H={type:Xt.patchFunction,storeId:e,events:b}):(Ar(r.state.value[e],D),H={type:Xt.patchObject,payload:D,storeId:e,events:b});const ee=B=Symbol();zr().then(()=>{B===ee&&(p=!0)}),m=!0,Rt(y,H,r.state.value[e])}const M=l?function(){const{state:H}=n,ee=H?H():{};this.$patch(se=>{it(se,ee)})}:uo;function L(){f.stop(),y=[],v=[],r._s.delete(e)}function q(D,H){return function(){Qn(r);const ee=Array.from(arguments),se=[],ae=[];function he(z){se.push(z)}function ve(z){ae.push(z)}Rt(v,{args:ee,name:D,store:U,after:he,onError:ve});let ge;try{ge=H.apply(this&&this.$id===e?this:U,ee)}catch(z){throw Rt(ae,z),z}return ge instanceof Promise?ge.then(z=>(Rt(se,z),z)).catch(z=>(Rt(ae,z),Promise.reject(z))):(Rt(se,ge),ge)}}const F={_p:r,$id:e,$onAction:Ni.bind(null,v),$patch:j,$reset:M,$subscribe(D,H={}){const ee=Ni(y,D,H.detached,()=>se()),se=f.run(()=>Vt(()=>r.state.value[e],ae=>{(H.flush==="sync"?m:p)&&D({storeId:e,type:Xt.direct,events:b},ae)},it({},h,H)));return ee},$dispose:L},U=fn(F);r._s.set(e,U);const G=r._a&&r._a.runWithContext||xu,te=r._e.run(()=>(f=ds(),G(()=>f.run(t))));for(const D in te){const H=te[D];if(ue(H)&&!Au(H)||ut(H))l||(I&&bu(H)&&(ue(H)?H.value=I[D]:Ar(H,I[D])),r.state.value[e][D]=H);else if(typeof H=="function"){const ee=q(D,H);te[D]=ee,c.actions[D]=H}}return it(U,te),it(X(U),te),Object.defineProperty(U,"$state",{get:()=>r.state.value[e],set:D=>{j(H=>{it(H,D)})}}),r._p.forEach(D=>{it(U,f.run(()=>D({store:U,app:r._a,pinia:r,options:c})))}),I&&l&&n.hydrate&&n.hydrate(U.$state,I),p=!0,m=!0,U}function Xf(e,t,n){let r,s;const l=typeof t=="function";typeof e=="string"?(r=e,s=l?n:t):(s=e,r=e.id);function f(c,h){const p=Cc();return c=c||(p?ke(co,null):null),c&&Qn(c),c=lo,c._s.has(r)||(l?fo(r,t,s,c):Cu(r,s,c)),c._s.get(r)}return f.$id=r,f}const Ru="/hyperquark/logo.png";/*! + * vue-router v4.2.4 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */const It=typeof window<"u";function Fu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ie=Object.assign;function ir(e,t){const n={};for(const r in t){const s=t[r];n[r]=Ne(s)?s.map(e):e(s)}return n}const Zt=()=>{},Ne=Array.isArray,Iu=/\/$/,Tu=e=>e.replace(Iu,"");function sr(e,t,n="/"){let r,s={},l="",f="";const c=t.indexOf("#");let h=t.indexOf("?");return c=0&&(h=-1),h>-1&&(r=t.slice(0,h),l=t.slice(h+1,c>-1?c:t.length),s=e(l)),c>-1&&(r=r||t.slice(0,c),f=t.slice(c,t.length)),r=Ou(r??t,n),{fullPath:r+(l&&"?")+l+f,path:r,query:s,hash:f}}function Pu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ji(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Bu(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Nt(t.matched[r],n.matched[s])&&ao(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Nt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ao(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Su(e[n],t[n]))return!1;return!0}function Su(e,t){return Ne(e)?Di(e,t):Ne(t)?Di(t,e):e===t}function Di(e,t){return Ne(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Ou(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let l=n.length-1,f,c;for(f=0;f1&&l--;else break;return n.slice(0,l).join("/")+"/"+r.slice(f-(f===r.length?1:0)).join("/")}var un;(function(e){e.pop="pop",e.push="push"})(un||(un={}));var Gt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Gt||(Gt={}));function Mu(e){if(!e)if(It){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Tu(e)}const Uu=/^[^#]+#/;function Lu(e,t){return e.replace(Uu,"#")+t}function ku(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Jn=()=>({left:window.pageXOffset,top:window.pageYOffset});function Nu(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=ku(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function $i(e,t){return(history.state?history.state.position-t:-1)+e}const Cr=new Map;function ju(e,t){Cr.set(e,t)}function Du(e){const t=Cr.get(e);return Cr.delete(e),t}let $u=()=>location.protocol+"//"+location.host;function ho(e,t){const{pathname:n,search:r,hash:s}=t,l=e.indexOf("#");if(l>-1){let c=s.includes(e.slice(l))?e.slice(l).length:1,h=s.slice(c);return h[0]!=="/"&&(h="/"+h),ji(h,"")}return ji(n,e)+r+s}function Hu(e,t,n,r){let s=[],l=[],f=null;const c=({state:v})=>{const b=ho(e,location),I=n.value,B=t.value;let j=0;if(v){if(n.value=b,t.value=v,f&&f===I){f=null;return}j=B?v.position-B.position:0}else r(b);s.forEach(M=>{M(n.value,I,{delta:j,type:un.pop,direction:j?j>0?Gt.forward:Gt.back:Gt.unknown})})};function h(){f=n.value}function p(v){s.push(v);const b=()=>{const I=s.indexOf(v);I>-1&&s.splice(I,1)};return l.push(b),b}function m(){const{history:v}=window;v.state&&v.replaceState(ie({},v.state,{scroll:Jn()}),"")}function y(){for(const v of l)v();l=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",m,{passive:!0}),{pauseListeners:h,listen:p,destroy:y}}function Hi(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Jn():null}}function Ku(e){const{history:t,location:n}=window,r={value:ho(e,n)},s={value:t.state};s.value||l(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function l(h,p,m){const y=e.indexOf("#"),v=y>-1?(n.host&&document.querySelector("base")?e:e.slice(y))+h:$u()+e+h;try{t[m?"replaceState":"pushState"](p,"",v),s.value=p}catch(b){console.error(b),n[m?"replace":"assign"](v)}}function f(h,p){const m=ie({},t.state,Hi(s.value.back,h,s.value.forward,!0),p,{position:s.value.position});l(h,m,!0),r.value=h}function c(h,p){const m=ie({},s.value,t.state,{forward:h,scroll:Jn()});l(m.current,m,!0);const y=ie({},Hi(r.value,h,null),{position:m.position+1},p);l(h,y,!1),r.value=h}return{location:r,state:s,push:c,replace:f}}function Wu(e){e=Mu(e);const t=Ku(e),n=Hu(e,t.state,t.location,t.replace);function r(l,f=!0){f||n.pauseListeners(),history.go(l)}const s=ie({location:"",base:e,go:r,createHref:Lu.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function qu(e){return typeof e=="string"||e&&typeof e=="object"}function po(e){return typeof e=="string"||typeof e=="symbol"}const rt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},go=Symbol("");var Ki;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ki||(Ki={}));function jt(e,t){return ie(new Error,{type:e,[go]:!0},t)}function Qe(e,t){return e instanceof Error&&go in e&&(t==null||!!(e.type&t))}const Wi="[^/]+?",zu={sensitive:!1,strict:!1,start:!0,end:!0},Vu=/[.+*?^${}()[\]/\\]/g;function Yu(e,t){const n=ie({},zu,t),r=[];let s=n.start?"^":"";const l=[];for(const p of e){const m=p.length?[]:[90];n.strict&&!p.length&&(s+="/");for(let y=0;yt.length?t.length===1&&t[0]===40+40?1:-1:0}function Ju(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Xu={type:0,value:""},Zu=/[a-zA-Z0-9_]/;function Gu(e){if(!e)return[[]];if(e==="/")return[[Xu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(b){throw new Error(`ERR (${n})/"${p}": ${b}`)}let n=0,r=n;const s=[];let l;function f(){l&&s.push(l),l=[]}let c=0,h,p="",m="";function y(){p&&(n===0?l.push({type:0,value:p}):n===1||n===2||n===3?(l.length>1&&(h==="*"||h==="+")&&t(`A repeatable param (${p}) must be alone in its segment. eg: '/:ids+.`),l.push({type:1,value:p,regexp:m,repeatable:h==="*"||h==="+",optional:h==="*"||h==="?"})):t("Invalid state to consume buffer"),p="")}function v(){p+=h}for(;c{f(L)}:Zt}function f(m){if(po(m)){const y=r.get(m);y&&(r.delete(m),n.splice(n.indexOf(y),1),y.children.forEach(f),y.alias.forEach(f))}else{const y=n.indexOf(m);y>-1&&(n.splice(y,1),m.record.name&&r.delete(m.record.name),m.children.forEach(f),m.alias.forEach(f))}}function c(){return n}function h(m){let y=0;for(;y=0&&(m.record.path!==n[y].record.path||!mo(m,n[y]));)y++;n.splice(y,0,m),m.record.name&&!Vi(m)&&r.set(m.record.name,m)}function p(m,y){let v,b={},I,B;if("name"in m&&m.name){if(v=r.get(m.name),!v)throw jt(1,{location:m});B=v.record.name,b=ie(zi(y.params,v.keys.filter(L=>!L.optional).map(L=>L.name)),m.params&&zi(m.params,v.keys.map(L=>L.name))),I=v.stringify(b)}else if("path"in m)I=m.path,v=n.find(L=>L.re.test(I)),v&&(b=v.parse(I),B=v.record.name);else{if(v=y.name?r.get(y.name):n.find(L=>L.re.test(y.path)),!v)throw jt(1,{location:m,currentLocation:y});B=v.record.name,b=ie({},y.params,m.params),I=v.stringify(b)}const j=[];let M=v;for(;M;)j.unshift(M.record),M=M.parent;return{name:B,path:I,params:b,matched:j,meta:sf(j)}}return e.forEach(m=>l(m)),{addRoute:l,resolve:p,removeRoute:f,getRoutes:c,getRecordMatcher:s}}function zi(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function nf(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:rf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function rf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Vi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function sf(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function Yi(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function mo(e,t){return t.children.some(n=>n===e||mo(e,n))}const yo=/#/g,of=/&/g,lf=/\//g,cf=/=/g,uf=/\?/g,_o=/\+/g,ff=/%5B/g,af=/%5D/g,wo=/%5E/g,hf=/%60/g,vo=/%7B/g,pf=/%7C/g,xo=/%7D/g,df=/%20/g;function ei(e){return encodeURI(""+e).replace(pf,"|").replace(ff,"[").replace(af,"]")}function gf(e){return ei(e).replace(vo,"{").replace(xo,"}").replace(wo,"^")}function Rr(e){return ei(e).replace(_o,"%2B").replace(df,"+").replace(yo,"%23").replace(of,"%26").replace(hf,"`").replace(vo,"{").replace(xo,"}").replace(wo,"^")}function mf(e){return Rr(e).replace(cf,"%3D")}function yf(e){return ei(e).replace(yo,"%23").replace(uf,"%3F")}function _f(e){return e==null?"":yf(e).replace(lf,"%2F")}function On(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function wf(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;sl&&Rr(l)):[r&&Rr(r)]).forEach(l=>{l!==void 0&&(t+=(t.length?"&":"")+n,l!=null&&(t+="="+l))})}return t}function vf(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ne(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const xf=Symbol(""),Ji=Symbol(""),Xn=Symbol(""),Eo=Symbol(""),Fr=Symbol("");function Wt(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ot(e,t,n,r,s){const l=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((f,c)=>{const h=y=>{y===!1?c(jt(4,{from:n,to:t})):y instanceof Error?c(y):qu(y)?c(jt(2,{from:t,to:y})):(l&&r.enterCallbacks[s]===l&&typeof y=="function"&&l.push(y),f())},p=e.call(r&&r.instances[s],t,n,h);let m=Promise.resolve(p);e.length<3&&(m=m.then(h)),m.catch(y=>c(y))})}function or(e,t,n,r){const s=[];for(const l of e)for(const f in l.components){let c=l.components[f];if(!(t!=="beforeRouteEnter"&&!l.instances[f]))if(Ef(c)){const p=(c.__vccOpts||c)[t];p&&s.push(ot(p,n,r,l,f))}else{let h=c();s.push(()=>h.then(p=>{if(!p)return Promise.reject(new Error(`Couldn't resolve component "${f}" at "${l.path}"`));const m=Fu(p)?p.default:p;l.components[f]=m;const v=(m.__vccOpts||m)[t];return v&&ot(v,n,r,l,f)()}))}}return s}function Ef(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Xi(e){const t=ke(Xn),n=ke(Eo),r=Pe(()=>t.resolve(Ze(e.to))),s=Pe(()=>{const{matched:h}=r.value,{length:p}=h,m=h[p-1],y=n.matched;if(!m||!y.length)return-1;const v=y.findIndex(Nt.bind(null,m));if(v>-1)return v;const b=Zi(h[p-2]);return p>1&&Zi(m)===b&&y[y.length-1].path!==b?y.findIndex(Nt.bind(null,h[p-2])):v}),l=Pe(()=>s.value>-1&&Cf(n.params,r.value.params)),f=Pe(()=>s.value>-1&&s.value===n.matched.length-1&&ao(n.params,r.value.params));function c(h={}){return Af(h)?t[Ze(e.replace)?"replace":"push"](Ze(e.to)).catch(Zt):Promise.resolve()}return{route:r,href:Pe(()=>r.value.href),isActive:l,isExactActive:f,navigate:c}}const bf=$s({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Xi,setup(e,{slots:t}){const n=fn(Xi(e)),{options:r}=ke(Xn),s=Pe(()=>({[Gi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Gi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const l=t.default&&t.default(n);return e.custom?l:Sn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},l)}}}),Ir=bf;function Af(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Cf(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Ne(s)||s.length!==r.length||r.some((l,f)=>l!==s[f]))return!1}return!0}function Zi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Gi=(e,t,n)=>e??t??n,Rf=$s({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ke(Fr),s=Pe(()=>e.route||r.value),l=ke(Ji,0),f=Pe(()=>{let p=Ze(l);const{matched:m}=s.value;let y;for(;(y=m[p])&&!y.components;)p++;return p}),c=Pe(()=>s.value.matched[f.value]);bn(Ji,Pe(()=>f.value+1)),bn(xf,c),bn(Fr,s);const h=$n();return Vt(()=>[h.value,c.value,e.name],([p,m,y],[v,b,I])=>{m&&(m.instances[y]=p,b&&b!==m&&p&&p===v&&(m.leaveGuards.size||(m.leaveGuards=b.leaveGuards),m.updateGuards.size||(m.updateGuards=b.updateGuards))),p&&m&&(!b||!Nt(m,b)||!v)&&(m.enterCallbacks[y]||[]).forEach(B=>B(p))},{flush:"post"}),()=>{const p=s.value,m=e.name,y=c.value,v=y&&y.components[m];if(!v)return es(n.default,{Component:v,route:p});const b=y.props[m],I=b?b===!0?p.params:typeof b=="function"?b(p):b:null,j=Sn(v,ie({},I,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(y.instances[m]=null)},ref:h}));return es(n.default,{Component:j,route:p})||j}}});function es(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const bo=Rf;function Ff(e){const t=tf(e.routes,e),n=e.parseQuery||wf,r=e.stringifyQuery||Qi,s=e.history,l=Wt(),f=Wt(),c=Wt(),h=Il(rt);let p=rt;It&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=ir.bind(null,C=>""+C),y=ir.bind(null,_f),v=ir.bind(null,On);function b(C,S){let P,k;return po(C)?(P=t.getRecordMatcher(C),k=S):k=C,t.addRoute(k,P)}function I(C){const S=t.getRecordMatcher(C);S&&t.removeRoute(S)}function B(){return t.getRoutes().map(C=>C.record)}function j(C){return!!t.getRecordMatcher(C)}function M(C,S){if(S=ie({},S||h.value),typeof C=="string"){const x=sr(n,C,S.path),A=t.resolve({path:x.path},S),u=s.createHref(x.fullPath);return ie(x,A,{params:v(A.params),hash:On(x.hash),redirectedFrom:void 0,href:u})}let P;if("path"in C)P=ie({},C,{path:sr(n,C.path,S.path).path});else{const x=ie({},C.params);for(const A in x)x[A]==null&&delete x[A];P=ie({},C,{params:y(x)}),S.params=y(S.params)}const k=t.resolve(P,S),Y=C.hash||"";k.params=m(v(k.params));const d=Pu(r,ie({},C,{hash:gf(Y),path:k.path})),_=s.createHref(d);return ie({fullPath:d,hash:Y,query:r===Qi?vf(C.query):C.query||{}},k,{redirectedFrom:void 0,href:_})}function L(C){return typeof C=="string"?sr(n,C,h.value.path):ie({},C)}function q(C,S){if(p!==C)return jt(8,{from:S,to:C})}function F(C){return te(C)}function U(C){return F(ie(L(C),{replace:!0}))}function G(C){const S=C.matched[C.matched.length-1];if(S&&S.redirect){const{redirect:P}=S;let k=typeof P=="function"?P(C):P;return typeof k=="string"&&(k=k.includes("?")||k.includes("#")?k=L(k):{path:k},k.params={}),ie({query:C.query,hash:C.hash,params:"path"in k?{}:C.params},k)}}function te(C,S){const P=p=M(C),k=h.value,Y=C.state,d=C.force,_=C.replace===!0,x=G(P);if(x)return te(ie(L(x),{state:typeof x=="object"?ie({},Y,x.state):Y,force:d,replace:_}),S||P);const A=P;A.redirectedFrom=S;let u;return!d&&Bu(r,k,P)&&(u=jt(16,{to:A,from:k}),ne(k,k,!0,!1)),(u?Promise.resolve(u):ee(A,k)).catch(i=>Qe(i)?Qe(i,2)?i:je(i):Z(i,A,k)).then(i=>{if(i){if(Qe(i,2))return te(ie({replace:_},L(i.to),{state:typeof i.to=="object"?ie({},Y,i.to.state):Y,force:d}),S||A)}else i=ae(A,k,!0,_,Y);return se(A,k,i),i})}function D(C,S){const P=q(C,S);return P?Promise.reject(P):Promise.resolve()}function H(C){const S=Ye.values().next().value;return S&&typeof S.runWithContext=="function"?S.runWithContext(C):C()}function ee(C,S){let P;const[k,Y,d]=If(C,S);P=or(k.reverse(),"beforeRouteLeave",C,S);for(const x of k)x.leaveGuards.forEach(A=>{P.push(ot(A,C,S))});const _=D.bind(null,C,S);return P.push(_),me(P).then(()=>{P=[];for(const x of l.list())P.push(ot(x,C,S));return P.push(_),me(P)}).then(()=>{P=or(Y,"beforeRouteUpdate",C,S);for(const x of Y)x.updateGuards.forEach(A=>{P.push(ot(A,C,S))});return P.push(_),me(P)}).then(()=>{P=[];for(const x of d)if(x.beforeEnter)if(Ne(x.beforeEnter))for(const A of x.beforeEnter)P.push(ot(A,C,S));else P.push(ot(x.beforeEnter,C,S));return P.push(_),me(P)}).then(()=>(C.matched.forEach(x=>x.enterCallbacks={}),P=or(d,"beforeRouteEnter",C,S),P.push(_),me(P))).then(()=>{P=[];for(const x of f.list())P.push(ot(x,C,S));return P.push(_),me(P)}).catch(x=>Qe(x,8)?x:Promise.reject(x))}function se(C,S,P){c.list().forEach(k=>H(()=>k(C,S,P)))}function ae(C,S,P,k,Y){const d=q(C,S);if(d)return d;const _=S===rt,x=It?history.state:{};P&&(k||_?s.replace(C.fullPath,ie({scroll:_&&x&&x.scroll},Y)):s.push(C.fullPath,Y)),h.value=C,ne(C,S,P,_),je()}let he;function ve(){he||(he=s.listen((C,S,P)=>{if(!gt.listening)return;const k=M(C),Y=G(k);if(Y){te(ie(Y,{replace:!0}),k).catch(Zt);return}p=k;const d=h.value;It&&ju($i(d.fullPath,P.delta),Jn()),ee(k,d).catch(_=>Qe(_,12)?_:Qe(_,2)?(te(_.to,k).then(x=>{Qe(x,20)&&!P.delta&&P.type===un.pop&&s.go(-1,!1)}).catch(Zt),Promise.reject()):(P.delta&&s.go(-P.delta,!1),Z(_,k,d))).then(_=>{_=_||ae(k,d,!1),_&&(P.delta&&!Qe(_,8)?s.go(-P.delta,!1):P.type===un.pop&&Qe(_,20)&&s.go(-1,!1)),se(k,d,_)}).catch(Zt)}))}let ge=Wt(),z=Wt(),V;function Z(C,S,P){je(C);const k=z.list();return k.length?k.forEach(Y=>Y(C,S,P)):console.error(C),Promise.reject(C)}function Se(){return V&&h.value!==rt?Promise.resolve():new Promise((C,S)=>{ge.add([C,S])})}function je(C){return V||(V=!C,ve(),ge.list().forEach(([S,P])=>C?P(C):S()),ge.reset()),C}function ne(C,S,P,k){const{scrollBehavior:Y}=e;if(!It||!Y)return Promise.resolve();const d=!P&&Du($i(C.fullPath,0))||(k||!P)&&history.state&&history.state.scroll||null;return zr().then(()=>Y(C,S,d)).then(_=>_&&Nu(_)).catch(_=>Z(_,C,S))}const re=C=>s.go(C);let Ve;const Ye=new Set,gt={currentRoute:h,listening:!0,addRoute:b,removeRoute:I,hasRoute:j,getRoutes:B,resolve:M,options:e,push:F,replace:U,go:re,back:()=>re(-1),forward:()=>re(1),beforeEach:l.add,beforeResolve:f.add,afterEach:c.add,onError:z.add,isReady:Se,install(C){const S=this;C.component("RouterLink",Ir),C.component("RouterView",bo),C.config.globalProperties.$router=S,Object.defineProperty(C.config.globalProperties,"$route",{enumerable:!0,get:()=>Ze(h)}),It&&!Ve&&h.value===rt&&(Ve=!0,F(s.location).catch(Y=>{}));const P={};for(const Y in rt)Object.defineProperty(P,Y,{get:()=>h.value[Y],enumerable:!0});C.provide(Xn,S),C.provide(Eo,Rs(P)),C.provide(Fr,h);const k=C.unmount;Ye.add(C),C.unmount=function(){Ye.delete(C),Ye.size<1&&(p=rt,he&&he(),he=null,h.value=rt,Ve=!1,V=!1),k()}}};function me(C){return C.reduce((S,P)=>S.then(()=>H(P)),Promise.resolve())}return gt}function If(e,t){const n=[],r=[],s=[],l=Math.max(t.matched.length,e.matched.length);for(let f=0;fNt(p,c))?r.push(c):n.push(c));const h=e.matched[f];h&&(t.matched.find(p=>Nt(p,h))||s.push(h))}return[n,r,s]}function Zf(){return ke(Xn)}const Ao=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Co=e=>($l("data-v-bbfdef92"),e=e(),Hl(),e),Tf={class:"wrapper"},Pf=Co(()=>Lt("img",{alt:"HyperQuark logo",class:"logo",src:Ru},null,-1)),Bf=Co(()=>Lt("a",{href:"https://github.com/hyperquark/"},"Github",-1)),Sf={__name:"App",setup(e){return(t,n)=>(zn(),ro(Te,null,[Lt("div",Tf,[Lt("nav",null,[_e(Ze(Ir),{to:"/"},{default:gr(()=>[Pf,Bn("HyperQuark")]),_:1}),_e(Ze(Ir),{to:"/about"},{default:gr(()=>[Bn("About")]),_:1}),Bf])]),_e(Ze(bo))],64))}},Of=Ao(Sf,[["__scopeId","data-v-bbfdef92"]]),Mf="modulepreload",Uf=function(e){return"/hyperquark/"+e},ts={},_n=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(l=>{if(l=Uf(l),l in ts)return;ts[l]=!0;const f=l.endsWith(".css"),c=f?'[rel="stylesheet"]':"";if(!!r)for(let m=s.length-1;m>=0;m--){const y=s[m];if(y.href===l&&(!f||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${c}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":Mf,f||(p.as="script",p.crossOrigin=""),p.href=l,document.head.appendChild(p),f)return new Promise((m,y)=>{p.addEventListener("load",m),p.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>t()).catch(l=>{const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=l,window.dispatchEvent(f),!f.defaultPrevented)throw l})},Lf=(e,t)=>{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((r,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+t)))})};const kf={},Nf={class:"loading"};function jf(e,t){return zn(),ro("span",Nf,[mc(e.$slots,"default",{},()=>[Bn("Loading")],!0)])}const Df=Ao(kf,[["render",jf],["__scopeId","data-v-05d6e286"]]);let ns=Object.setPrototypeOf({},null);const wn=e=>({setup(){let t=ns[e];const n=$n(!t);return n.value&&Lf(Object.assign({"../views/AboutView.vue":()=>_n(()=>import("./AboutView-b68354b6.js"),["assets/AboutView-b68354b6.js","assets/AboutView-e27ce503.css"]),"../views/HomeView.vue":()=>_n(()=>import("./HomeView-e6445906.js"),["assets/HomeView-e6445906.js","assets/ProjectFileInput-da36d62d.js","assets/HomeView-014b65ab.css"]),"../views/ProjectFileView.vue":()=>_n(()=>import("./ProjectFileView-2a52ba01.js"),["assets/ProjectFileView-2a52ba01.js","assets/ProjectFileInput-da36d62d.js","assets/ProjectPlayer-cf744d99.js","assets/ProjectPlayer-02aa7c52.css"]),"../views/ProjectIdView.vue":()=>_n(()=>import("./ProjectIdView-63dd01a7.js"),["assets/ProjectIdView-63dd01a7.js","assets/ProjectPlayer-cf744d99.js","assets/ProjectPlayer-02aa7c52.css","assets/ProjectIdView-faa0cc2d.css"])}),`../views/${e}.vue`).then(r=>{n.value=!1,t=r.default,ns[e]=t}),()=>n.value?Sn(Df):Sn(t)}}),$f=Ff({history:Wu("/hyperquark/"),routes:[{path:"/",name:"home",component:wn("HomeView")},{path:"/projects/:id(\\d+)",name:"projectIdPlayer",component:wn("ProjectIdView"),props:!0},{path:"/projects/file",name:"projectFilePlayer",component:wn("ProjectFileView")},{path:"/about",name:"about",component:wn("AboutView")}]}),ti=yu(Of);ti.use(vu());ti.use($f);ti.mount("#app");export{Te as F,Df as L,qf as S,Ao as _,Qf as a,Bn as b,ro as c,Lt as d,_e as e,Hl as f,Vf as g,gr as h,Ze as i,Uc as j,Hf as k,Kf as l,Fo as m,Ro as n,zn as o,$l as p,Xf as q,$n as r,Yf as s,Wf as t,Zf as u,Jf as v,zf as w,si as x}; diff --git a/docs/assets/index-d2ca3174.css b/docs/assets/index-d2ca3174.css new file mode 100644 index 0000000..d5be73e --- /dev/null +++ b/docs/assets/index-d2ca3174.css @@ -0,0 +1 @@ +:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;color:var(--color-text);background:var(--color-background);transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{max-width:1280px;margin:0 auto;padding:1rem;font-weight:400}div,p{margin:1rem auto}a,.green{text-decoration:none;color:#bd7c00;transition:.4s}@media (hover: hover){a:hover{background-color:#d1730033}}header,main{text-align:center}.logo[data-v-bbfdef92]{vertical-align:middle;display:inline-block}nav[data-v-bbfdef92]{.logo[data-v-bbfdef92]{width:30px;height:30px}width:100%;font-size:12px;text-align:center;margin-bottom:1rem}nav a.router-link-exact-active[data-v-bbfdef92]{color:var(--color-text)}nav a.router-link-exact-active[data-v-bbfdef92]:hover{background-color:transparent}nav a[data-v-bbfdef92]{display:inline-block;padding:0 1rem;border-left:1px solid var(--color-border)}nav a[data-v-bbfdef92]:first-of-type{border:0}div.wrapper[data-v-bbfdef92]{margin:0 auto}span.loading[data-v-05d6e286]:after{content:"...";animation:loading-05d6e286 1s infinite}@keyframes loading-05d6e286{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}} diff --git a/docs/favicon.ico b/docs/favicon.ico new file mode 100644 index 0000000..5a207b3 Binary files /dev/null and b/docs/favicon.ico differ diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..eafeb51 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,15 @@ + + + + + + + HyperQuark + + + + +
+ + + diff --git a/docs/logo.png b/docs/logo.png new file mode 100644 index 0000000..e51d286 Binary files /dev/null and b/docs/logo.png differ