@design.estate/dees-catalog 1.8.10 → 1.8.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/dist_bundle/chunks/chunk-KJ2URKTR.js +0 -312
- package/dist_bundle/chunks/chunk-KJ2URKTR.js.map +0 -7
- package/dist_bundle/chunks/dees-input-multiselect.demo-Q4FYK6BR.js +0 -4
- package/dist_bundle/chunks/dees-input-multiselect.demo-Q4FYK6BR.js.map +0 -7
- package/dist_ts_web/elements/dees-input-multiselect.d.ts +0 -7
- package/dist_ts_web/elements/dees-input-multiselect.demo.d.ts +0 -1
- package/dist_ts_web/elements/dees-input-multiselect.demo.js +0 -5
- package/dist_ts_web/elements/dees-input-multiselect.js +0 -68
- package/dist_ts_web/elements/dees-searchbox.d.ts +0 -1
- package/dist_ts_web/elements/dees-searchbox.js +0 -2
- package/dist_ts_web/elements/plugins.d.ts +0 -4
- package/dist_ts_web/elements/plugins.js +0 -7
- package/dist_watch/bundle.js +0 -170083
- package/dist_watch/bundle.js.map +0 -7
- package/dist_watch/index.html +0 -28
|
@@ -1,312 +0,0 @@
|
|
|
1
|
-
var Dd=Object.create;var eo=Object.defineProperty;var Lu=Object.getOwnPropertyDescriptor;var Fd=Object.getOwnPropertyNames;var Bd=Object.getPrototypeOf,Rd=Object.prototype.hasOwnProperty;var L=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),G=(t,e)=>{for(var r in e)eo(t,r,{get:e[r],enumerable:!0})},Nd=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Fd(e))!Rd.call(t,o)&&o!==r&&eo(t,o,{get:()=>e[o],enumerable:!(n=Lu(e,o))||n.enumerable});return t};var Ee=(t,e,r)=>(r=t!=null?Dd(Bd(t)):{},Nd(e||!t||!t.__esModule?eo(r,"default",{value:t,enumerable:!0}):r,t));var kb=(t,e,r,n)=>{for(var o=n>1?void 0:n?Lu(e,r):e,i=t.length-1,s;i>=0;i--)(s=t[i])&&(o=(n?s(e,r,o):s(o))||o);return n&&o&&eo(e,r,o),o};var ho=L(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.uni=void 0;var Yd=(t="uni")=>`${t}_${"xxxxxxxxxxxxxxxxxxxxxxxx".replace(/[xy]/g,e=>{let r=Math.random()*16|0;return(e==="x"?r:r&3|8).toString(16)})}`;po.uni=Yd});var kc=L((vs,ws)=>{(function(t,e){typeof vs=="object"&&typeof ws<"u"?ws.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=e()})(vs,function(){"use strict";var t=1e3,e=6e4,r=36e5,n="millisecond",o="second",i="minute",s="hour",a="day",u="week",c="month",l="quarter",p="year",y="date",x="Invalid Date",E=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(O){var b=["th","st","nd","rd"],S=O%100;return"["+O+(b[(S-20)%10]||b[S]||b[0])+"]"}},T=function(O,b,S){var P=String(O);return!P||P.length>=b?O:""+Array(b+1-P.length).join(S)+O},A={s:T,z:function(O){var b=-O.utcOffset(),S=Math.abs(b),P=Math.floor(S/60),_=S%60;return(b<=0?"+":"-")+T(P,2,"0")+":"+T(_,2,"0")},m:function O(b,S){if(b.date()<S.date())return-O(S,b);var P=12*(S.year()-b.year())+(S.month()-b.month()),_=b.clone().add(P,c),U=S-_<0,w=b.clone().add(P+(U?-1:1),c);return+(-(P+(S-_)/(U?_-w:w-_))||0)},a:function(O){return O<0?Math.ceil(O)||0:Math.floor(O)},p:function(O){return{M:c,y:p,w:u,d:a,D:y,h:s,m:i,s:o,ms:n,Q:l}[O]||String(O||"").toLowerCase().replace(/s$/,"")},u:function(O){return O===void 0}},B="en",M={};M[B]=$;var z="$isDayjsObject",k=function(O){return O instanceof Z||!(!O||!O[z])},J=function O(b,S,P){var _;if(!b)return B;if(typeof b=="string"){var U=b.toLowerCase();M[U]&&(_=U),S&&(M[U]=S,_=U);var w=b.split("-");if(!_&&w.length>1)return O(w[0])}else{var C=b.name;M[C]=b,_=C}return!P&&_&&(B=_),_||!P&&B},N=function(O,b){if(k(O))return O.clone();var S=typeof b=="object"?b:{};return S.date=O,S.args=arguments,new Z(S)},D=A;D.l=J,D.i=k,D.w=function(O,b){return N(O,{locale:b.$L,utc:b.$u,x:b.$x,$offset:b.$offset})};var Z=function(){function O(S){this.$L=J(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[z]=!0}var b=O.prototype;return b.parse=function(S){this.$d=function(P){var _=P.date,U=P.utc;if(_===null)return new Date(NaN);if(D.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var w=_.match(E);if(w){var C=w[2]-1||0,F=(w[7]||"0").substring(0,3);return U?new Date(Date.UTC(w[1],C,w[3]||1,w[4]||0,w[5]||0,w[6]||0,F)):new Date(w[1],C,w[3]||1,w[4]||0,w[5]||0,w[6]||0,F)}}return new Date(_)}(S),this.init()},b.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},b.$utils=function(){return D},b.isValid=function(){return this.$d.toString()!==x},b.isSame=function(S,P){var _=N(S);return this.startOf(P)<=_&&_<=this.endOf(P)},b.isAfter=function(S,P){return N(S)<this.startOf(P)},b.isBefore=function(S,P){return this.endOf(P)<N(S)},b.$g=function(S,P,_){return D.u(S)?this[P]:this.set(_,S)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(S,P){var _=this,U=!!D.u(P)||P,w=D.p(S),C=function(d,f){var h=D.w(_.$u?Date.UTC(_.$y,f,d):new Date(_.$y,f,d),_);return U?h:h.endOf(a)},F=function(d,f){return D.w(_.toDate()[d].apply(_.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(f)),_)},j=this.$W,W=this.$M,Y=this.$D,Q="set"+(this.$u?"UTC":"");switch(w){case p:return U?C(1,0):C(31,11);case c:return U?C(1,W):C(0,W+1);case u:var ie=this.$locale().weekStart||0,pe=(j<ie?j+7:j)-ie;return C(U?Y-pe:Y+(6-pe),W);case a:case y:return F(Q+"Hours",0);case s:return F(Q+"Minutes",1);case i:return F(Q+"Seconds",2);case o:return F(Q+"Milliseconds",3);default:return this.clone()}},b.endOf=function(S){return this.startOf(S,!1)},b.$set=function(S,P){var _,U=D.p(S),w="set"+(this.$u?"UTC":""),C=(_={},_[a]=w+"Date",_[y]=w+"Date",_[c]=w+"Month",_[p]=w+"FullYear",_[s]=w+"Hours",_[i]=w+"Minutes",_[o]=w+"Seconds",_[n]=w+"Milliseconds",_)[U],F=U===a?this.$D+(P-this.$W):P;if(U===c||U===p){var j=this.clone().set(y,1);j.$d[C](F),j.init(),this.$d=j.set(y,Math.min(this.$D,j.daysInMonth())).$d}else C&&this.$d[C](F);return this.init(),this},b.set=function(S,P){return this.clone().$set(S,P)},b.get=function(S){return this[D.p(S)]()},b.add=function(S,P){var _,U=this;S=Number(S);var w=D.p(P),C=function(W){var Y=N(U);return D.w(Y.date(Y.date()+Math.round(W*S)),U)};if(w===c)return this.set(c,this.$M+S);if(w===p)return this.set(p,this.$y+S);if(w===a)return C(1);if(w===u)return C(7);var F=(_={},_[i]=e,_[s]=r,_[o]=t,_)[w]||1,j=this.$d.getTime()+S*F;return D.w(j,this)},b.subtract=function(S,P){return this.add(-1*S,P)},b.format=function(S){var P=this,_=this.$locale();if(!this.isValid())return _.invalidDate||x;var U=S||"YYYY-MM-DDTHH:mm:ssZ",w=D.z(this),C=this.$H,F=this.$m,j=this.$M,W=_.weekdays,Y=_.months,Q=_.meridiem,ie=function(f,h,m,v){return f&&(f[h]||f(P,U))||m[h].slice(0,v)},pe=function(f){return D.s(C%12||12,f,"0")},d=Q||function(f,h,m){var v=f<12?"AM":"PM";return m?v.toLowerCase():v};return U.replace(I,function(f,h){return h||function(m){switch(m){case"YY":return String(P.$y).slice(-2);case"YYYY":return D.s(P.$y,4,"0");case"M":return j+1;case"MM":return D.s(j+1,2,"0");case"MMM":return ie(_.monthsShort,j,Y,3);case"MMMM":return ie(Y,j);case"D":return P.$D;case"DD":return D.s(P.$D,2,"0");case"d":return String(P.$W);case"dd":return ie(_.weekdaysMin,P.$W,W,2);case"ddd":return ie(_.weekdaysShort,P.$W,W,3);case"dddd":return W[P.$W];case"H":return String(C);case"HH":return D.s(C,2,"0");case"h":return pe(1);case"hh":return pe(2);case"a":return d(C,F,!0);case"A":return d(C,F,!1);case"m":return String(F);case"mm":return D.s(F,2,"0");case"s":return String(P.$s);case"ss":return D.s(P.$s,2,"0");case"SSS":return D.s(P.$ms,3,"0");case"Z":return w}return null}(f)||w.replace(":","")})},b.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(S,P,_){var U,w=this,C=D.p(P),F=N(S),j=(F.utcOffset()-this.utcOffset())*e,W=this-F,Y=function(){return D.m(w,F)};switch(C){case p:U=Y()/12;break;case c:U=Y();break;case l:U=Y()/3;break;case u:U=(W-j)/6048e5;break;case a:U=(W-j)/864e5;break;case s:U=W/r;break;case i:U=W/e;break;case o:U=W/t;break;default:U=W}return _?U:D.a(U)},b.daysInMonth=function(){return this.endOf(c).$D},b.$locale=function(){return M[this.$L]},b.locale=function(S,P){if(!S)return this.$L;var _=this.clone(),U=J(S,P,!0);return U&&(_.$L=U),_},b.clone=function(){return D.w(this.$d,this)},b.toDate=function(){return new Date(this.valueOf())},b.toJSON=function(){return this.isValid()?this.toISOString():null},b.toISOString=function(){return this.$d.toISOString()},b.toString=function(){return this.$d.toUTCString()},O}(),fe=Z.prototype;return N.prototype=fe,[["$ms",n],["$s",o],["$m",i],["$H",s],["$W",a],["$M",c],["$y",p],["$D",y]].forEach(function(O){fe[O[1]]=function(b){return this.$g(b,O[0],O[1])}}),N.extend=function(O,b){return O.$i||(O(b,Z,N),O.$i=!0),N},N.locale=J,N.isDayjs=k,N.unix=function(O){return N(1e3*O)},N.en=M[B],N.Ls=M,N.p={},N})});var jc=L((bs,Ss)=>{(function(t,e){typeof bs=="object"&&typeof Ss<"u"?Ss.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_isToday=e()})(bs,function(){"use strict";return function(t,e,r){e.prototype.isToday=function(){var n="YYYY-MM-DD",o=r();return this.format(n)===o.format(n)}}})});var Hc=L((FA,qc)=>{"use strict";qc.exports=class{constructor(){this.parent=null,this.previousSibling=null,this.nextSibling=null,this.firstChild=null,this.lastChild=null,this.childrenVersion=0,this.childIndexCachedUpTo=null,this.cachedIndex=-1,this.cachedIndexVersion=NaN}get isAttached(){return!!(this.parent||this.previousSibling||this.nextSibling)}get hasChildren(){return!!this.firstChild}childrenChanged(){this.childrenVersion=this.childrenVersion+1&4294967295,this.childIndexCachedUpTo=null}getCachedIndex(e){return this.cachedIndexVersion!==e.childrenVersion?(this.cachedIndexVersion=NaN,-1):this.cachedIndex}setCachedIndex(e,r){this.cachedIndexVersion=e.childrenVersion,this.cachedIndex=r}}});var Vc=L((BA,zc)=>{"use strict";zc.exports=Object.freeze({DISCONNECTED:1,PRECEDING:2,FOLLOWING:4,CONTAINS:8,CONTAINED_BY:16})});var Qc=L((RA,Zc)=>{"use strict";var Gc=Symbol(),Jc=Symbol(),wt=Symbol(),Yc=Symbol(),He=class{constructor(e,r,n,o){this[Gc]=e,this[Jc]=r,this[wt]=n,this[Yc]=o}next(){let e=this[Gc],r=this[Yc],n=this[Jc];if(!this[wt])return{done:!0,value:n};let o=this[wt];return r===1?this[wt]=e._node(o).previousSibling:r===2?this[wt]=e._node(o).nextSibling:r===3?this[wt]=e._node(o).parent:r===4?this[wt]=e.preceding(o,{root:n}):this[wt]=e.following(o,{root:n}),{done:!1,value:o}}};Object.defineProperty(He.prototype,Symbol.iterator,{value:function(){return this},writable:!1});He.PREV=1;He.NEXT=2;He.PARENT=3;He.PRECEDING=4;He.FOLLOWING=5;Object.freeze(He);Object.freeze(He.prototype);Zc.exports=He});var Kc=L((NA,Xc)=>{"use strict";var jm=Hc(),bt=Vc(),Be=Qc();function Ms(){return!0}function gr(t,e){return t[t.length-1-e]}var Wo=class{constructor(e){this.symbol=Symbol(e||"SymbolTree data")}initialize(e){return this._node(e),e}_node(e){if(!e)return null;let r=e[this.symbol];return r||(e[this.symbol]=new jm)}hasChildren(e){return this._node(e).hasChildren}firstChild(e){return this._node(e).firstChild}lastChild(e){return this._node(e).lastChild}previousSibling(e){return this._node(e).previousSibling}nextSibling(e){return this._node(e).nextSibling}parent(e){return this._node(e).parent}lastInclusiveDescendant(e){let r,n=e;for(;r=this._node(n).lastChild;)n=r;return n}preceding(e,r){let n=r&&r.root;if(e===n)return null;let o=this._node(e).previousSibling;return o?this.lastInclusiveDescendant(o):this._node(e).parent}following(e,r){let n=r&&r.root,i=!(r&&r.skipChildren)&&this._node(e).firstChild;if(i)return i;let s=e;do{if(s===n)return null;let a=this._node(s).nextSibling;if(a)return a;s=this._node(s).parent}while(s);return null}childrenToArray(e,r){let n=r&&r.array||[],o=r&&r.filter||Ms,i=r&&r.thisArg||void 0,s=this._node(e),a=s.firstChild,u=0;for(;a;){let c=this._node(a);c.setCachedIndex(s,u),o.call(i,a)&&n.push(a),a=c.nextSibling,++u}return n}ancestorsToArray(e,r){let n=r&&r.array||[],o=r&&r.filter||Ms,i=r&&r.thisArg||void 0,s=e;for(;s;)o.call(i,s)&&n.push(s),s=this._node(s).parent;return n}treeToArray(e,r){let n=r&&r.array||[],o=r&&r.filter||Ms,i=r&&r.thisArg||void 0,s=e;for(;s;)o.call(i,s)&&n.push(s),s=this.following(s,{root:e});return n}childrenIterator(e,r){let n=r&&r.reverse,o=this._node(e);return new Be(this,e,n?o.lastChild:o.firstChild,n?Be.PREV:Be.NEXT)}previousSiblingsIterator(e){return new Be(this,e,this._node(e).previousSibling,Be.PREV)}nextSiblingsIterator(e){return new Be(this,e,this._node(e).nextSibling,Be.NEXT)}ancestorsIterator(e){return new Be(this,e,e,Be.PARENT)}treeIterator(e,r){let n=r&&r.reverse;return new Be(this,e,n?this.lastInclusiveDescendant(e):e,n?Be.PRECEDING:Be.FOLLOWING)}index(e){let r=this._node(e),n=this._node(r.parent);if(!n)return-1;let o=r.getCachedIndex(n);if(o>=0)return o;o=0;let i=n.firstChild;if(n.childIndexCachedUpTo){let s=this._node(n.childIndexCachedUpTo);i=s.nextSibling,o=s.getCachedIndex(n)+1}for(;i;){let s=this._node(i);if(s.setCachedIndex(n,o),i===e)break;++o,i=s.nextSibling}return n.childIndexCachedUpTo=e,o}childrenCount(e){let r=this._node(e);return r.lastChild?this.index(r.lastChild)+1:0}compareTreePosition(e,r){if(e===r)return 0;let n=[];{let l=e;for(;l;){if(l===r)return bt.CONTAINS|bt.PRECEDING;n.push(l),l=this.parent(l)}}let o=[];{let l=r;for(;l;){if(l===e)return bt.CONTAINED_BY|bt.FOLLOWING;o.push(l),l=this.parent(l)}}let i=gr(n,0);if(!i||i!==gr(o,0))return bt.DISCONNECTED;let s=0,a=Math.min(n.length,o.length);for(let l=0;l<a;++l){let p=gr(n,l),y=gr(o,l);if(p!==y)break;s=l}let u=this.index(gr(n,s+1));return this.index(gr(o,s+1))<u?bt.PRECEDING:bt.FOLLOWING}remove(e){let r=this._node(e),n=this._node(r.parent),o=this._node(r.previousSibling),i=this._node(r.nextSibling);return n&&(n.firstChild===e&&(n.firstChild=r.nextSibling),n.lastChild===e&&(n.lastChild=r.previousSibling)),o&&(o.nextSibling=r.nextSibling),i&&(i.previousSibling=r.previousSibling),r.parent=null,r.previousSibling=null,r.nextSibling=null,r.cachedIndex=-1,r.cachedIndexVersion=NaN,n&&n.childrenChanged(),e}insertBefore(e,r){let n=this._node(e),o=this._node(n.previousSibling),i=this._node(r),s=this._node(n.parent);if(i.isAttached)throw Error("Given object is already present in this SymbolTree, remove it first");return i.parent=n.parent,i.previousSibling=n.previousSibling,i.nextSibling=e,n.previousSibling=r,o&&(o.nextSibling=r),s&&s.firstChild===e&&(s.firstChild=r),s&&s.childrenChanged(),r}insertAfter(e,r){let n=this._node(e),o=this._node(n.nextSibling),i=this._node(r),s=this._node(n.parent);if(i.isAttached)throw Error("Given object is already present in this SymbolTree, remove it first");return i.parent=n.parent,i.previousSibling=e,i.nextSibling=n.nextSibling,n.nextSibling=r,o&&(o.previousSibling=r),s&&s.lastChild===e&&(s.lastChild=r),s&&s.childrenChanged(),r}prependChild(e,r){let n=this._node(e),o=this._node(r);if(o.isAttached)throw Error("Given object is already present in this SymbolTree, remove it first");return n.hasChildren?this.insertBefore(n.firstChild,r):(o.parent=e,n.firstChild=r,n.lastChild=r,n.childrenChanged()),r}appendChild(e,r){let n=this._node(e),o=this._node(r);if(o.isAttached)throw Error("Given object is already present in this SymbolTree, remove it first");return n.hasChildren?this.insertAfter(n.lastChild,r):(o.parent=e,n.firstChild=r,n.lastChild=r,n.childrenChanged()),r}};Xc.exports=Wo;Wo.TreePosition=bt});var nl=L(qo=>{"use strict";qo.byteLength=Hm;qo.toByteArray=Vm;qo.fromByteArray=Ym;var Ye=[],Re=[],qm=typeof Uint8Array<"u"?Uint8Array:Array,ks="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(Gt=0,tl=ks.length;Gt<tl;++Gt)Ye[Gt]=ks[Gt],Re[ks.charCodeAt(Gt)]=Gt;var Gt,tl;Re[45]=62;Re[95]=63;function rl(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Hm(t){var e=rl(t),r=e[0],n=e[1];return(r+n)*3/4-n}function zm(t,e,r){return(e+r)*3/4-r}function Vm(t){var e,r=rl(t),n=r[0],o=r[1],i=new qm(zm(t,n,o)),s=0,a=o>0?n-4:n,u;for(u=0;u<a;u+=4)e=Re[t.charCodeAt(u)]<<18|Re[t.charCodeAt(u+1)]<<12|Re[t.charCodeAt(u+2)]<<6|Re[t.charCodeAt(u+3)],i[s++]=e>>16&255,i[s++]=e>>8&255,i[s++]=e&255;return o===2&&(e=Re[t.charCodeAt(u)]<<2|Re[t.charCodeAt(u+1)]>>4,i[s++]=e&255),o===1&&(e=Re[t.charCodeAt(u)]<<10|Re[t.charCodeAt(u+1)]<<4|Re[t.charCodeAt(u+2)]>>2,i[s++]=e>>8&255,i[s++]=e&255),i}function Gm(t){return Ye[t>>18&63]+Ye[t>>12&63]+Ye[t>>6&63]+Ye[t&63]}function Jm(t,e,r){for(var n,o=[],i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(t[i+2]&255),o.push(Gm(n));return o.join("")}function Ym(t){for(var e,r=t.length,n=r%3,o=[],i=16383,s=0,a=r-n;s<a;s+=i)o.push(Jm(t,s,s+i>a?a:s+i));return n===1?(e=t[r-1],o.push(Ye[e>>2]+Ye[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],o.push(Ye[e>>10]+Ye[e>>4&63]+Ye[e<<2&63]+"=")),o.join("")}});var ol=L(js=>{js.read=function(t,e,r,n,o){var i,s,a=o*8-n-1,u=(1<<a)-1,c=u>>1,l=-7,p=r?o-1:0,y=r?-1:1,x=t[e+p];for(p+=y,i=x&(1<<-l)-1,x>>=-l,l+=a;l>0;i=i*256+t[e+p],p+=y,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=n;l>0;s=s*256+t[e+p],p+=y,l-=8);if(i===0)i=1-c;else{if(i===u)return s?NaN:(x?-1:1)*(1/0);s=s+Math.pow(2,n),i=i-c}return(x?-1:1)*s*Math.pow(2,i-n)};js.write=function(t,e,r,n,o,i){var s,a,u,c=i*8-o-1,l=(1<<c)-1,p=l>>1,y=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:i-1,E=n?1:-1,I=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+p>=1?e+=y/u:e+=y*Math.pow(2,1-p),e*u>=2&&(s++,u/=2),s+p>=l?(a=0,s=l):s+p>=1?(a=(e*u-1)*Math.pow(2,o),s=s+p):(a=e*Math.pow(2,p-1)*Math.pow(2,o),s=0));o>=8;t[r+x]=a&255,x+=E,a/=256,o-=8);for(s=s<<o|a,c+=o;c>0;t[r+x]=s&255,x+=E,s/=256,c-=8);t[r+x-E]|=I*128}});var bl=L(Sr=>{"use strict";var Ws=nl(),wr=ol(),il=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Sr.Buffer=g;Sr.SlowBuffer=ty;Sr.INSPECT_MAX_BYTES=50;var Ho=2147483647;Sr.kMaxLength=Ho;g.TYPED_ARRAY_SUPPORT=Zm();!g.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 Zm(){try{let t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return!1}}Object.defineProperty(g.prototype,"parent",{enumerable:!0,get:function(){if(g.isBuffer(this))return this.buffer}});Object.defineProperty(g.prototype,"offset",{enumerable:!0,get:function(){if(g.isBuffer(this))return this.byteOffset}});function lt(t){if(t>Ho)throw new RangeError('The value "'+t+'" is invalid for option "size"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,g.prototype),e}function g(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Vs(t)}return cl(t,e,r)}g.poolSize=8192;function cl(t,e,r){if(typeof t=="string")return Xm(t,e);if(ArrayBuffer.isView(t))return Km(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(Ze(t,ArrayBuffer)||t&&Ze(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ze(t,SharedArrayBuffer)||t&&Ze(t.buffer,SharedArrayBuffer)))return Hs(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return g.from(n,e,r);let o=ey(t);if(o)return o;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return g.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}g.from=function(t,e,r){return cl(t,e,r)};Object.setPrototypeOf(g.prototype,Uint8Array.prototype);Object.setPrototypeOf(g,Uint8Array);function ll(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Qm(t,e,r){return ll(t),t<=0?lt(t):e!==void 0?typeof r=="string"?lt(t).fill(e,r):lt(t).fill(e):lt(t)}g.alloc=function(t,e,r){return Qm(t,e,r)};function Vs(t){return ll(t),lt(t<0?0:Gs(t)|0)}g.allocUnsafe=function(t){return Vs(t)};g.allocUnsafeSlow=function(t){return Vs(t)};function Xm(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!g.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let r=fl(t,e)|0,n=lt(r),o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}function qs(t){let e=t.length<0?0:Gs(t.length)|0,r=lt(e);for(let n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Km(t){if(Ze(t,Uint8Array)){let e=new Uint8Array(t);return Hs(e.buffer,e.byteOffset,e.byteLength)}return qs(t)}function Hs(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,g.prototype),n}function ey(t){if(g.isBuffer(t)){let e=Gs(t.length)|0,r=lt(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Ys(t.length)?lt(0):qs(t);if(t.type==="Buffer"&&Array.isArray(t.data))return qs(t.data)}function Gs(t){if(t>=Ho)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ho.toString(16)+" bytes");return t|0}function ty(t){return+t!=t&&(t=0),g.alloc(+t)}g.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==g.prototype};g.compare=function(e,r){if(Ze(e,Uint8Array)&&(e=g.from(e,e.offset,e.byteLength)),Ze(r,Uint8Array)&&(r=g.from(r,r.offset,r.byteLength)),!g.isBuffer(e)||!g.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;let n=e.length,o=r.length;for(let i=0,s=Math.min(n,o);i<s;++i)if(e[i]!==r[i]){n=e[i],o=r[i];break}return n<o?-1:o<n?1:0};g.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};g.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return g.alloc(0);let n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;let o=g.allocUnsafe(r),i=0;for(n=0;n<e.length;++n){let s=e[n];if(Ze(s,Uint8Array))i+s.length>o.length?(g.isBuffer(s)||(s=g.from(s)),s.copy(o,i)):Uint8Array.prototype.set.call(o,s,i);else if(g.isBuffer(s))s.copy(o,i);else throw new TypeError('"list" argument must be an Array of Buffers');i+=s.length}return o};function fl(t,e){if(g.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||Ze(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);let r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;let o=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return zs(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return wl(t).length;default:if(o)return n?-1:zs(t).length;e=(""+e).toLowerCase(),o=!0}}g.byteLength=fl;function ry(t,e,r){let n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return py(this,e,r);case"utf8":case"utf-8":return hl(this,e,r);case"ascii":return ly(this,e,r);case"latin1":case"binary":return fy(this,e,r);case"base64":return uy(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return hy(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}g.prototype._isBuffer=!0;function Jt(t,e,r){let n=t[e];t[e]=t[r],t[r]=n}g.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let r=0;r<e;r+=2)Jt(this,r,r+1);return this};g.prototype.swap32=function(){let e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let r=0;r<e;r+=4)Jt(this,r,r+3),Jt(this,r+1,r+2);return this};g.prototype.swap64=function(){let e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let r=0;r<e;r+=8)Jt(this,r,r+7),Jt(this,r+1,r+6),Jt(this,r+2,r+5),Jt(this,r+3,r+4);return this};g.prototype.toString=function(){let e=this.length;return e===0?"":arguments.length===0?hl(this,0,e):ry.apply(this,arguments)};g.prototype.toLocaleString=g.prototype.toString;g.prototype.equals=function(e){if(!g.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:g.compare(this,e)===0};g.prototype.inspect=function(){let e="",r=Sr.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};il&&(g.prototype[il]=g.prototype.inspect);g.prototype.compare=function(e,r,n,o,i){if(Ze(e,Uint8Array)&&(e=g.from(e,e.offset,e.byteLength)),!g.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),o===void 0&&(o=0),i===void 0&&(i=this.length),r<0||n>e.length||o<0||i>this.length)throw new RangeError("out of range index");if(o>=i&&r>=n)return 0;if(o>=i)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,o>>>=0,i>>>=0,this===e)return 0;let s=i-o,a=n-r,u=Math.min(s,a),c=this.slice(o,i),l=e.slice(r,n);for(let p=0;p<u;++p)if(c[p]!==l[p]){s=c[p],a=l[p];break}return s<a?-1:a<s?1:0};function pl(t,e,r,n,o){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Ys(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0)if(o)r=0;else return-1;if(typeof e=="string"&&(e=g.from(e,n)),g.isBuffer(e))return e.length===0?-1:sl(t,e,r,n,o);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):sl(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function sl(t,e,r,n,o){let i=1,s=t.length,a=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;i=2,s/=2,a/=2,r/=2}function u(l,p){return i===1?l[p]:l.readUInt16BE(p*i)}let c;if(o){let l=-1;for(c=r;c<s;c++)if(u(t,c)===u(e,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===a)return l*i}else l!==-1&&(c-=c-l),l=-1}else for(r+a>s&&(r=s-a),c=r;c>=0;c--){let l=!0;for(let p=0;p<a;p++)if(u(t,c+p)!==u(e,p)){l=!1;break}if(l)return c}return-1}g.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};g.prototype.indexOf=function(e,r,n){return pl(this,e,r,n,!0)};g.prototype.lastIndexOf=function(e,r,n){return pl(this,e,r,n,!1)};function ny(t,e,r,n){r=Number(r)||0;let o=t.length-r;n?(n=Number(n),n>o&&(n=o)):n=o;let i=e.length;n>i/2&&(n=i/2);let s;for(s=0;s<n;++s){let a=parseInt(e.substr(s*2,2),16);if(Ys(a))return s;t[r+s]=a}return s}function oy(t,e,r,n){return zo(zs(e,t.length-r),t,r,n)}function iy(t,e,r,n){return zo(gy(e),t,r,n)}function sy(t,e,r,n){return zo(wl(e),t,r,n)}function ay(t,e,r,n){return zo(xy(e,t.length-r),t,r,n)}g.prototype.write=function(e,r,n,o){if(r===void 0)o="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")o=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,o===void 0&&(o="utf8")):(o=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let i=this.length-r;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");let s=!1;for(;;)switch(o){case"hex":return ny(this,e,r,n);case"utf8":case"utf-8":return oy(this,e,r,n);case"ascii":case"latin1":case"binary":return iy(this,e,r,n);case"base64":return sy(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ay(this,e,r,n);default:if(s)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),s=!0}};g.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function uy(t,e,r){return e===0&&r===t.length?Ws.fromByteArray(t):Ws.fromByteArray(t.slice(e,r))}function hl(t,e,r){r=Math.min(t.length,r);let n=[],o=e;for(;o<r;){let i=t[o],s=null,a=i>239?4:i>223?3:i>191?2:1;if(o+a<=r){let u,c,l,p;switch(a){case 1:i<128&&(s=i);break;case 2:u=t[o+1],(u&192)===128&&(p=(i&31)<<6|u&63,p>127&&(s=p));break;case 3:u=t[o+1],c=t[o+2],(u&192)===128&&(c&192)===128&&(p=(i&15)<<12|(u&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(s=p));break;case 4:u=t[o+1],c=t[o+2],l=t[o+3],(u&192)===128&&(c&192)===128&&(l&192)===128&&(p=(i&15)<<18|(u&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(s=p))}}s===null?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),o+=a}return cy(n)}var al=4096;function cy(t){let e=t.length;if(e<=al)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=al));return r}function ly(t,e,r){let n="";r=Math.min(t.length,r);for(let o=e;o<r;++o)n+=String.fromCharCode(t[o]&127);return n}function fy(t,e,r){let n="";r=Math.min(t.length,r);for(let o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function py(t,e,r){let n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let o="";for(let i=e;i<r;++i)o+=vy[t[i]];return o}function hy(t,e,r){let n=t.slice(e,r),o="";for(let i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+n[i+1]*256);return o}g.prototype.slice=function(e,r){let n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);let o=this.subarray(e,r);return Object.setPrototypeOf(o,g.prototype),o};function xe(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}g.prototype.readUintLE=g.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||xe(e,r,this.length);let o=this[e],i=1,s=0;for(;++s<r&&(i*=256);)o+=this[e+s]*i;return o};g.prototype.readUintBE=g.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||xe(e,r,this.length);let o=this[e+--r],i=1;for(;r>0&&(i*=256);)o+=this[e+--r]*i;return o};g.prototype.readUint8=g.prototype.readUInt8=function(e,r){return e=e>>>0,r||xe(e,1,this.length),this[e]};g.prototype.readUint16LE=g.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||xe(e,2,this.length),this[e]|this[e+1]<<8};g.prototype.readUint16BE=g.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||xe(e,2,this.length),this[e]<<8|this[e+1]};g.prototype.readUint32LE=g.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||xe(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};g.prototype.readUint32BE=g.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||xe(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};g.prototype.readBigUInt64LE=Et(function(e){e=e>>>0,br(e,"offset");let r=this[e],n=this[e+7];(r===void 0||n===void 0)&&Tn(e,this.length-8);let o=r+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,i=this[++e]+this[++e]*2**8+this[++e]*2**16+n*2**24;return BigInt(o)+(BigInt(i)<<BigInt(32))});g.prototype.readBigUInt64BE=Et(function(e){e=e>>>0,br(e,"offset");let r=this[e],n=this[e+7];(r===void 0||n===void 0)&&Tn(e,this.length-8);let o=r*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],i=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+n;return(BigInt(o)<<BigInt(32))+BigInt(i)});g.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||xe(e,r,this.length);let o=this[e],i=1,s=0;for(;++s<r&&(i*=256);)o+=this[e+s]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*r)),o};g.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||xe(e,r,this.length);let o=r,i=1,s=this[e+--o];for(;o>0&&(i*=256);)s+=this[e+--o]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*r)),s};g.prototype.readInt8=function(e,r){return e=e>>>0,r||xe(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};g.prototype.readInt16LE=function(e,r){e=e>>>0,r||xe(e,2,this.length);let n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};g.prototype.readInt16BE=function(e,r){e=e>>>0,r||xe(e,2,this.length);let n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};g.prototype.readInt32LE=function(e,r){return e=e>>>0,r||xe(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};g.prototype.readInt32BE=function(e,r){return e=e>>>0,r||xe(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};g.prototype.readBigInt64LE=Et(function(e){e=e>>>0,br(e,"offset");let r=this[e],n=this[e+7];(r===void 0||n===void 0)&&Tn(e,this.length-8);let o=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(n<<24);return(BigInt(o)<<BigInt(32))+BigInt(r+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24)});g.prototype.readBigInt64BE=Et(function(e){e=e>>>0,br(e,"offset");let r=this[e],n=this[e+7];(r===void 0||n===void 0)&&Tn(e,this.length-8);let o=(r<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(o)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+n)});g.prototype.readFloatLE=function(e,r){return e=e>>>0,r||xe(e,4,this.length),wr.read(this,e,!0,23,4)};g.prototype.readFloatBE=function(e,r){return e=e>>>0,r||xe(e,4,this.length),wr.read(this,e,!1,23,4)};g.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||xe(e,8,this.length),wr.read(this,e,!0,52,8)};g.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||xe(e,8,this.length),wr.read(this,e,!1,52,8)};function Oe(t,e,r,n,o,i){if(!g.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}g.prototype.writeUintLE=g.prototype.writeUIntLE=function(e,r,n,o){if(e=+e,r=r>>>0,n=n>>>0,!o){let a=Math.pow(2,8*n)-1;Oe(this,e,r,n,a,0)}let i=1,s=0;for(this[r]=e&255;++s<n&&(i*=256);)this[r+s]=e/i&255;return r+n};g.prototype.writeUintBE=g.prototype.writeUIntBE=function(e,r,n,o){if(e=+e,r=r>>>0,n=n>>>0,!o){let a=Math.pow(2,8*n)-1;Oe(this,e,r,n,a,0)}let i=n-1,s=1;for(this[r+i]=e&255;--i>=0&&(s*=256);)this[r+i]=e/s&255;return r+n};g.prototype.writeUint8=g.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||Oe(this,e,r,1,255,0),this[r]=e&255,r+1};g.prototype.writeUint16LE=g.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||Oe(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};g.prototype.writeUint16BE=g.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||Oe(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};g.prototype.writeUint32LE=g.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||Oe(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};g.prototype.writeUint32BE=g.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||Oe(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function dl(t,e,r,n,o){vl(e,n,o,t,r,7);let i=Number(e&BigInt(4294967295));t[r++]=i,i=i>>8,t[r++]=i,i=i>>8,t[r++]=i,i=i>>8,t[r++]=i;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=s,s=s>>8,t[r++]=s,s=s>>8,t[r++]=s,s=s>>8,t[r++]=s,r}function ml(t,e,r,n,o){vl(e,n,o,t,r,7);let i=Number(e&BigInt(4294967295));t[r+7]=i,i=i>>8,t[r+6]=i,i=i>>8,t[r+5]=i,i=i>>8,t[r+4]=i;let s=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=s,s=s>>8,t[r+2]=s,s=s>>8,t[r+1]=s,s=s>>8,t[r]=s,r+8}g.prototype.writeBigUInt64LE=Et(function(e,r=0){return dl(this,e,r,BigInt(0),BigInt("0xffffffffffffffff"))});g.prototype.writeBigUInt64BE=Et(function(e,r=0){return ml(this,e,r,BigInt(0),BigInt("0xffffffffffffffff"))});g.prototype.writeIntLE=function(e,r,n,o){if(e=+e,r=r>>>0,!o){let u=Math.pow(2,8*n-1);Oe(this,e,r,n,u-1,-u)}let i=0,s=1,a=0;for(this[r]=e&255;++i<n&&(s*=256);)e<0&&a===0&&this[r+i-1]!==0&&(a=1),this[r+i]=(e/s>>0)-a&255;return r+n};g.prototype.writeIntBE=function(e,r,n,o){if(e=+e,r=r>>>0,!o){let u=Math.pow(2,8*n-1);Oe(this,e,r,n,u-1,-u)}let i=n-1,s=1,a=0;for(this[r+i]=e&255;--i>=0&&(s*=256);)e<0&&a===0&&this[r+i+1]!==0&&(a=1),this[r+i]=(e/s>>0)-a&255;return r+n};g.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||Oe(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};g.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||Oe(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};g.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||Oe(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};g.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||Oe(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};g.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||Oe(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};g.prototype.writeBigInt64LE=Et(function(e,r=0){return dl(this,e,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});g.prototype.writeBigInt64BE=Et(function(e,r=0){return ml(this,e,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function yl(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function gl(t,e,r,n,o){return e=+e,r=r>>>0,o||yl(t,e,r,4,34028234663852886e22,-34028234663852886e22),wr.write(t,e,r,n,23,4),r+4}g.prototype.writeFloatLE=function(e,r,n){return gl(this,e,r,!0,n)};g.prototype.writeFloatBE=function(e,r,n){return gl(this,e,r,!1,n)};function xl(t,e,r,n,o){return e=+e,r=r>>>0,o||yl(t,e,r,8,17976931348623157e292,-17976931348623157e292),wr.write(t,e,r,n,52,8),r+8}g.prototype.writeDoubleLE=function(e,r,n){return xl(this,e,r,!0,n)};g.prototype.writeDoubleBE=function(e,r,n){return xl(this,e,r,!1,n)};g.prototype.copy=function(e,r,n,o){if(!g.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!o&&o!==0&&(o=this.length),r>=e.length&&(r=e.length),r||(r=0),o>0&&o<n&&(o=n),o===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-r<o-n&&(o=e.length-r+n);let i=o-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,o):Uint8Array.prototype.set.call(e,this.subarray(n,o),r),i};g.prototype.fill=function(e,r,n,o){if(typeof e=="string"){if(typeof r=="string"?(o=r,r=0,n=this.length):typeof n=="string"&&(o=n,n=this.length),o!==void 0&&typeof o!="string")throw new TypeError("encoding must be a string");if(typeof o=="string"&&!g.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(e.length===1){let s=e.charCodeAt(0);(o==="utf8"&&s<128||o==="latin1")&&(e=s)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);let i;if(typeof e=="number")for(i=r;i<n;++i)this[i]=e;else{let s=g.isBuffer(e)?e:g.from(e,o),a=s.length;if(a===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-r;++i)this[i+r]=s[i%a]}return this};var vr={};function Js(t,e,r){vr[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(o){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:o,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}Js("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError);Js("ERR_INVALID_ARG_TYPE",function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`},TypeError);Js("ERR_OUT_OF_RANGE",function(t,e,r){let n=`The value of "${t}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>2**32?o=ul(String(r)):typeof r=="bigint"&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=ul(o)),o+="n"),n+=` It must be ${e}. Received ${o}`,n},RangeError);function ul(t){let e="",r=t.length,n=t[0]==="-"?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function dy(t,e,r){br(e,"offset"),(t[e]===void 0||t[e+r]===void 0)&&Tn(e,t.length-(r+1))}function vl(t,e,r,n,o,i){if(t>r||t<e){let s=typeof e=="bigint"?"n":"",a;throw i>3?e===0||e===BigInt(0)?a=`>= 0${s} and < 2${s} ** ${(i+1)*8}${s}`:a=`>= -(2${s} ** ${(i+1)*8-1}${s}) and < 2 ** ${(i+1)*8-1}${s}`:a=`>= ${e}${s} and <= ${r}${s}`,new vr.ERR_OUT_OF_RANGE("value",a,t)}dy(n,o,i)}function br(t,e){if(typeof t!="number")throw new vr.ERR_INVALID_ARG_TYPE(e,"number",t)}function Tn(t,e,r){throw Math.floor(t)!==t?(br(t,r),new vr.ERR_OUT_OF_RANGE(r||"offset","an integer",t)):e<0?new vr.ERR_BUFFER_OUT_OF_BOUNDS:new vr.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}var my=/[^+/0-9A-Za-z-_]/g;function yy(t){if(t=t.split("=")[0],t=t.trim().replace(my,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function zs(t,e){e=e||1/0;let r,n=t.length,o=null,i=[];for(let s=0;s<n;++s){if(r=t.charCodeAt(s),r>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}else if(s+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return i}function gy(t){let e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function xy(t,e){let r,n,o,i=[];for(let s=0;s<t.length&&!((e-=2)<0);++s)r=t.charCodeAt(s),n=r>>8,o=r%256,i.push(o),i.push(n);return i}function wl(t){return Ws.toByteArray(yy(t))}function zo(t,e,r,n){let o;for(o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function Ze(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Ys(t){return t!==t}var vy=function(){let t="0123456789abcdef",e=new Array(256);for(let r=0;r<16;++r){let n=r*16;for(let o=0;o<16;++o)e[n+o]=t[r]+t[o]}return e}();function Et(t){return typeof BigInt>"u"?wy:t}function wy(){throw new Error("BigInt not supported")}});var Sl=L((Er,_r)=>{(function(t){var e=typeof Er=="object"&&Er&&!Er.nodeType&&Er,r=typeof _r=="object"&&_r&&!_r.nodeType&&_r,n=typeof global=="object"&&global;(n.global===n||n.window===n||n.self===n)&&(t=n);var o,i=2147483647,s=36,a=1,u=26,c=38,l=700,p=72,y=128,x="-",E=/^xn--/,I=/[^\x20-\x7E]/,$=/[\x2E\u3002\uFF0E\uFF61]/g,T={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},A=s-a,B=Math.floor,M=String.fromCharCode,z;function k(w){throw new RangeError(T[w])}function J(w,C){for(var F=w.length,j=[];F--;)j[F]=C(w[F]);return j}function N(w,C){var F=w.split("@"),j="";F.length>1&&(j=F[0]+"@",w=F[1]),w=w.replace($,".");var W=w.split("."),Y=J(W,C).join(".");return j+Y}function D(w){for(var C=[],F=0,j=w.length,W,Y;F<j;)W=w.charCodeAt(F++),W>=55296&&W<=56319&&F<j?(Y=w.charCodeAt(F++),(Y&64512)==56320?C.push(((W&1023)<<10)+(Y&1023)+65536):(C.push(W),F--)):C.push(W);return C}function Z(w){return J(w,function(C){var F="";return C>65535&&(C-=65536,F+=M(C>>>10&1023|55296),C=56320|C&1023),F+=M(C),F}).join("")}function fe(w){return w-48<10?w-22:w-65<26?w-65:w-97<26?w-97:s}function O(w,C){return w+22+75*(w<26)-((C!=0)<<5)}function b(w,C,F){var j=0;for(w=F?B(w/l):w>>1,w+=B(w/C);w>A*u>>1;j+=s)w=B(w/A);return B(j+(A+1)*w/(w+c))}function S(w){var C=[],F=w.length,j,W=0,Y=y,Q=p,ie,pe,d,f,h,m,v,R,X;for(ie=w.lastIndexOf(x),ie<0&&(ie=0),pe=0;pe<ie;++pe)w.charCodeAt(pe)>=128&&k("not-basic"),C.push(w.charCodeAt(pe));for(d=ie>0?ie+1:0;d<F;){for(f=W,h=1,m=s;d>=F&&k("invalid-input"),v=fe(w.charCodeAt(d++)),(v>=s||v>B((i-W)/h))&&k("overflow"),W+=v*h,R=m<=Q?a:m>=Q+u?u:m-Q,!(v<R);m+=s)X=s-R,h>B(i/X)&&k("overflow"),h*=X;j=C.length+1,Q=b(W-f,j,f==0),B(W/j)>i-Y&&k("overflow"),Y+=B(W/j),W%=j,C.splice(W++,0,Y)}return Z(C)}function P(w){var C,F,j,W,Y,Q,ie,pe,d,f,h,m=[],v,R,X,K;for(w=D(w),v=w.length,C=y,F=0,Y=p,Q=0;Q<v;++Q)h=w[Q],h<128&&m.push(M(h));for(j=W=m.length,W&&m.push(x);j<v;){for(ie=i,Q=0;Q<v;++Q)h=w[Q],h>=C&&h<ie&&(ie=h);for(R=j+1,ie-C>B((i-F)/R)&&k("overflow"),F+=(ie-C)*R,C=ie,Q=0;Q<v;++Q)if(h=w[Q],h<C&&++F>i&&k("overflow"),h==C){for(pe=F,d=s;f=d<=Y?a:d>=Y+u?u:d-Y,!(pe<f);d+=s)K=pe-f,X=s-f,m.push(M(O(f+K%X,0))),pe=B(K/X);m.push(M(O(pe,0))),Y=b(F,R,j==W),F=0,++j}++F,++C}return m.join("")}function _(w){return N(w,function(C){return E.test(C)?S(C.slice(4).toLowerCase()):C})}function U(w){return N(w,function(C){return I.test(C)?"xn--"+P(C):C})}if(o={version:"1.4.1",ucs2:{decode:D,encode:Z},decode:S,encode:P,toASCII:U,toUnicode:_},typeof define=="function"&&typeof define.amd=="object"&&define.amd)define("punycode",function(){return o});else if(e&&r)if(_r.exports==e)r.exports=o;else for(z in o)o.hasOwnProperty(z)&&(e[z]=o[z]);else t.punycode=o})(Er)});var _l=L((EC,El)=>{"use strict";El.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;e[r]=o;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,r);if(s.value!==o||s.enumerable!==!0)return!1}return!0}});var Cl=L((_C,Al)=>{"use strict";var Tl=typeof Symbol<"u"&&Symbol,by=_l();Al.exports=function(){return typeof Tl!="function"||typeof Symbol!="function"||typeof Tl("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:by()}});var Il=L((TC,Ol)=>{"use strict";var Pl={foo:{}},Sy=Object;Ol.exports=function(){return{__proto__:Pl}.foo===Pl.foo&&!({__proto__:null}instanceof Sy)}});var Dl=L((AC,$l)=>{"use strict";var Ey="Function.prototype.bind called on incompatible ",_y=Object.prototype.toString,Ty=Math.max,Ay="[object Function]",Ml=function(e,r){for(var n=[],o=0;o<e.length;o+=1)n[o]=e[o];for(var i=0;i<r.length;i+=1)n[i+e.length]=r[i];return n},Cy=function(e,r){for(var n=[],o=r||0,i=0;o<e.length;o+=1,i+=1)n[i]=e[o];return n},Py=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r};$l.exports=function(e){var r=this;if(typeof r!="function"||_y.apply(r)!==Ay)throw new TypeError(Ey+r);for(var n=Cy(arguments,1),o,i=function(){if(this instanceof o){var l=r.apply(this,Ml(n,arguments));return Object(l)===l?l:this}return r.apply(e,Ml(n,arguments))},s=Ty(0,r.length-n.length),a=[],u=0;u<s;u++)a[u]="$"+u;if(o=Function("binder","return function ("+Py(a,",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var c=function(){};c.prototype=r.prototype,o.prototype=new c,c.prototype=null}return o}});var Vo=L((CC,Fl)=>{"use strict";var Oy=Dl();Fl.exports=Function.prototype.bind||Oy});var Rl=L((PC,Bl)=>{"use strict";var Iy=Function.prototype.call,My=Object.prototype.hasOwnProperty,$y=Vo();Bl.exports=$y.call(Iy,My)});var _t=L((OC,jl)=>{"use strict";var V,Pr=SyntaxError,kl=Function,Cr=TypeError,Zs=function(t){try{return kl('"use strict"; return ('+t+").constructor;")()}catch{}},Yt=Object.getOwnPropertyDescriptor;if(Yt)try{Yt({},"")}catch{Yt=null}var Qs=function(){throw new Cr},Dy=Yt?function(){try{return arguments.callee,Qs}catch{try{return Yt(arguments,"callee").get}catch{return Qs}}}():Qs,Tr=Cl()(),Fy=Il()(),ve=Object.getPrototypeOf||(Fy?function(t){return t.__proto__}:null),Ar={},By=typeof Uint8Array>"u"||!ve?V:ve(Uint8Array),Zt={"%AggregateError%":typeof AggregateError>"u"?V:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?V:ArrayBuffer,"%ArrayIteratorPrototype%":Tr&&ve?ve([][Symbol.iterator]()):V,"%AsyncFromSyncIteratorPrototype%":V,"%AsyncFunction%":Ar,"%AsyncGenerator%":Ar,"%AsyncGeneratorFunction%":Ar,"%AsyncIteratorPrototype%":Ar,"%Atomics%":typeof Atomics>"u"?V:Atomics,"%BigInt%":typeof BigInt>"u"?V:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?V:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?V:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?V:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?V:Float32Array,"%Float64Array%":typeof Float64Array>"u"?V:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?V:FinalizationRegistry,"%Function%":kl,"%GeneratorFunction%":Ar,"%Int8Array%":typeof Int8Array>"u"?V:Int8Array,"%Int16Array%":typeof Int16Array>"u"?V:Int16Array,"%Int32Array%":typeof Int32Array>"u"?V:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Tr&&ve?ve(ve([][Symbol.iterator]())):V,"%JSON%":typeof JSON=="object"?JSON:V,"%Map%":typeof Map>"u"?V:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Tr||!ve?V:ve(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?V:Promise,"%Proxy%":typeof Proxy>"u"?V:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?V:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?V:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Tr||!ve?V:ve(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?V:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Tr&&ve?ve(""[Symbol.iterator]()):V,"%Symbol%":Tr?Symbol:V,"%SyntaxError%":Pr,"%ThrowTypeError%":Dy,"%TypedArray%":By,"%TypeError%":Cr,"%Uint8Array%":typeof Uint8Array>"u"?V:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?V:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?V:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?V:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?V:WeakMap,"%WeakRef%":typeof WeakRef>"u"?V:WeakRef,"%WeakSet%":typeof WeakSet>"u"?V:WeakSet};if(ve)try{null.error}catch(t){Nl=ve(ve(t)),Zt["%Error.prototype%"]=Nl}var Nl,Ry=function t(e){var r;if(e==="%AsyncFunction%")r=Zs("async function () {}");else if(e==="%GeneratorFunction%")r=Zs("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=Zs("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=t("%AsyncGenerator%");o&&ve&&(r=ve(o.prototype))}return Zt[e]=r,r},Ul={"%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"]},An=Vo(),Go=Rl(),Ny=An.call(Function.call,Array.prototype.concat),Uy=An.call(Function.apply,Array.prototype.splice),Ll=An.call(Function.call,String.prototype.replace),Jo=An.call(Function.call,String.prototype.slice),Ly=An.call(Function.call,RegExp.prototype.exec),ky=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,jy=/\\(\\)?/g,Wy=function(e){var r=Jo(e,0,1),n=Jo(e,-1);if(r==="%"&&n!=="%")throw new Pr("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Pr("invalid intrinsic syntax, expected opening `%`");var o=[];return Ll(e,ky,function(i,s,a,u){o[o.length]=a?Ll(u,jy,"$1"):s||i}),o},qy=function(e,r){var n=e,o;if(Go(Ul,n)&&(o=Ul[n],n="%"+o[0]+"%"),Go(Zt,n)){var i=Zt[n];if(i===Ar&&(i=Ry(n)),typeof i>"u"&&!r)throw new Cr("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new Pr("intrinsic "+e+" does not exist!")};jl.exports=function(e,r){if(typeof e!="string"||e.length===0)throw new Cr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Cr('"allowMissing" argument must be a boolean');if(Ly(/^%?[^%]*%?$/,e)===null)throw new Pr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Wy(e),o=n.length>0?n[0]:"",i=qy("%"+o+"%",r),s=i.name,a=i.value,u=!1,c=i.alias;c&&(o=c[0],Uy(n,Ny([0,1],c)));for(var l=1,p=!0;l<n.length;l+=1){var y=n[l],x=Jo(y,0,1),E=Jo(y,-1);if((x==='"'||x==="'"||x==="`"||E==='"'||E==="'"||E==="`")&&x!==E)throw new Pr("property names with quotes must have matching quotes");if((y==="constructor"||!p)&&(u=!0),o+="."+y,s="%"+o+"%",Go(Zt,s))a=Zt[s];else if(a!=null){if(!(y in a)){if(!r)throw new Cr("base intrinsic for "+e+" exists, but the property is not available.");return}if(Yt&&l+1>=n.length){var I=Yt(a,y);p=!!I,p&&"get"in I&&!("originalValue"in I.get)?a=I.get:a=a[y]}else p=Go(a,y),a=a[y];p&&!u&&(Zt[s]=a)}}return a}});var ea=L((IC,Wl)=>{"use strict";var Hy=_t(),Xs=Hy("%Object.defineProperty%",!0),Ks=function(){if(Xs)try{return Xs({},"a",{value:1}),!0}catch{return!1}return!1};Ks.hasArrayLengthDefineBug=function(){if(!Ks())return null;try{return Xs([],"length",{value:1}).length!==1}catch{return!0}};Wl.exports=Ks});var ta=L((MC,ql)=>{"use strict";var zy=_t(),Yo=zy("%Object.getOwnPropertyDescriptor%",!0);if(Yo)try{Yo([],"length")}catch{Yo=null}ql.exports=Yo});var Vl=L(($C,zl)=>{"use strict";var Vy=ea()(),ra=_t(),Cn=Vy&&ra("%Object.defineProperty%",!0);if(Cn)try{Cn({},"a",{value:1})}catch{Cn=!1}var Gy=ra("%SyntaxError%"),Or=ra("%TypeError%"),Hl=ta();zl.exports=function(e,r,n){if(!e||typeof e!="object"&&typeof e!="function")throw new Or("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Or("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Or("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Or("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Or("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Or("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,a=arguments.length>6?arguments[6]:!1,u=!!Hl&&Hl(e,r);if(Cn)Cn(e,r,{configurable:s===null&&u?u.configurable:!s,enumerable:o===null&&u?u.enumerable:!o,value:n,writable:i===null&&u?u.writable:!i});else if(a||!o&&!i&&!s)e[r]=n;else throw new Gy("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Xl=L((DC,Ql)=>{"use strict";var Zl=_t(),Gl=Vl(),Jy=ea()(),Jl=ta(),Yl=Zl("%TypeError%"),Yy=Zl("%Math.floor%");Ql.exports=function(e,r){if(typeof e!="function")throw new Yl("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||Yy(r)!==r)throw new Yl("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in e&&Jl){var s=Jl(e,"length");s&&!s.configurable&&(o=!1),s&&!s.writable&&(i=!1)}return(o||i||!n)&&(Jy?Gl(e,"length",r,!0,!0):Gl(e,"length",r)),e}});var nf=L((FC,Zo)=>{"use strict";var na=Vo(),Ir=_t(),Zy=Xl(),Qy=Ir("%TypeError%"),ef=Ir("%Function.prototype.apply%"),tf=Ir("%Function.prototype.call%"),rf=Ir("%Reflect.apply%",!0)||na.call(tf,ef),Pn=Ir("%Object.defineProperty%",!0),Xy=Ir("%Math.max%");if(Pn)try{Pn({},"a",{value:1})}catch{Pn=null}Zo.exports=function(e){if(typeof e!="function")throw new Qy("a function is required");var r=rf(na,tf,arguments);return Zy(r,1+Xy(0,e.length-(arguments.length-1)),!0)};var Kl=function(){return rf(na,ef,arguments)};Pn?Pn(Zo.exports,"apply",{value:Kl}):Zo.exports.apply=Kl});var uf=L((BC,af)=>{"use strict";var of=_t(),sf=nf(),Ky=sf(of("String.prototype.indexOf"));af.exports=function(e,r){var n=of(e,!!r);return typeof n=="function"&&Ky(e,".prototype.")>-1?sf(n):n}});var cf=L(()=>{});var Of=L((UC,Pf)=>{var ha=typeof Map=="function"&&Map.prototype,oa=Object.getOwnPropertyDescriptor&&ha?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Xo=ha&&oa&&typeof oa.get=="function"?oa.get:null,lf=ha&&Map.prototype.forEach,da=typeof Set=="function"&&Set.prototype,ia=Object.getOwnPropertyDescriptor&&da?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ko=da&&ia&&typeof ia.get=="function"?ia.get:null,ff=da&&Set.prototype.forEach,eg=typeof WeakMap=="function"&&WeakMap.prototype,In=eg?WeakMap.prototype.has:null,tg=typeof WeakSet=="function"&&WeakSet.prototype,Mn=tg?WeakSet.prototype.has:null,rg=typeof WeakRef=="function"&&WeakRef.prototype,pf=rg?WeakRef.prototype.deref:null,ng=Boolean.prototype.valueOf,og=Object.prototype.toString,ig=Function.prototype.toString,sg=String.prototype.match,ma=String.prototype.slice,At=String.prototype.replace,ag=String.prototype.toUpperCase,hf=String.prototype.toLowerCase,Sf=RegExp.prototype.test,df=Array.prototype.concat,Qe=Array.prototype.join,ug=Array.prototype.slice,mf=Math.floor,ua=typeof BigInt=="function"?BigInt.prototype.valueOf:null,sa=Object.getOwnPropertySymbols,ca=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Mr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Te=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Mr||!0)?Symbol.toStringTag:null,Ef=Object.prototype.propertyIsEnumerable,yf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function gf(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||Sf.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-mf(-t):mf(t);if(n!==t){var o=String(n),i=ma.call(e,o.length+1);return At.call(o,r,"$&_")+"."+At.call(At.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return At.call(e,r,"$&_")}var la=cf(),xf=la.custom,vf=Tf(xf)?xf:null;Pf.exports=function t(e,r,n,o){var i=r||{};if(Tt(i,"quoteStyle")&&i.quoteStyle!=="single"&&i.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Tt(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=Tt(i,"customInspect")?i.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Tt(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Tt(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=i.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Cf(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return a?gf(e,u):u}if(typeof e=="bigint"){var c=String(e)+"n";return a?gf(e,c):c}var l=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=l&&l>0&&typeof e=="object")return fa(e)?"[Array]":"[Object]";var p=Ag(i,n);if(typeof o>"u")o=[];else if(Af(o,e)>=0)return"[Circular]";function y(b,S,P){if(S&&(o=ug.call(o),o.push(S)),P){var _={depth:i.depth};return Tt(i,"quoteStyle")&&(_.quoteStyle=i.quoteStyle),t(b,_,n+1,o)}return t(b,i,n+1,o)}if(typeof e=="function"&&!wf(e)){var x=gg(e),E=Qo(e,y);return"[Function"+(x?": "+x:" (anonymous)")+"]"+(E.length>0?" { "+Qe.call(E,", ")+" }":"")}if(Tf(e)){var I=Mr?At.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ca.call(e);return typeof e=="object"&&!Mr?On(I):I}if(Eg(e)){for(var $="<"+hf.call(String(e.nodeName)),T=e.attributes||[],A=0;A<T.length;A++)$+=" "+T[A].name+"="+_f(cg(T[A].value),"double",i);return $+=">",e.childNodes&&e.childNodes.length&&($+="..."),$+="</"+hf.call(String(e.nodeName))+">",$}if(fa(e)){if(e.length===0)return"[]";var B=Qo(e,y);return p&&!Tg(B)?"["+pa(B,p)+"]":"[ "+Qe.call(B,", ")+" ]"}if(fg(e)){var M=Qo(e,y);return!("cause"in Error.prototype)&&"cause"in e&&!Ef.call(e,"cause")?"{ ["+String(e)+"] "+Qe.call(df.call("[cause]: "+y(e.cause),M),", ")+" }":M.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Qe.call(M,", ")+" }"}if(typeof e=="object"&&s){if(vf&&typeof e[vf]=="function"&&la)return la(e,{depth:l-n});if(s!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(xg(e)){var z=[];return lf&&lf.call(e,function(b,S){z.push(y(S,e,!0)+" => "+y(b,e))}),bf("Map",Xo.call(e),z,p)}if(bg(e)){var k=[];return ff&&ff.call(e,function(b){k.push(y(b,e))}),bf("Set",Ko.call(e),k,p)}if(vg(e))return aa("WeakMap");if(Sg(e))return aa("WeakSet");if(wg(e))return aa("WeakRef");if(hg(e))return On(y(Number(e)));if(mg(e))return On(y(ua.call(e)));if(dg(e))return On(ng.call(e));if(pg(e))return On(y(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(e===global)return"{ [object globalThis] }";if(!lg(e)&&!wf(e)){var J=Qo(e,y),N=yf?yf(e)===Object.prototype:e instanceof Object||e.constructor===Object,D=e instanceof Object?"":"null prototype",Z=!N&&Te&&Object(e)===e&&Te in e?ma.call(Ct(e),8,-1):D?"Object":"",fe=N||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",O=fe+(Z||D?"["+Qe.call(df.call([],Z||[],D||[]),": ")+"] ":"");return J.length===0?O+"{}":p?O+"{"+pa(J,p)+"}":O+"{ "+Qe.call(J,", ")+" }"}return String(e)};function _f(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function cg(t){return At.call(String(t),/"/g,""")}function fa(t){return Ct(t)==="[object Array]"&&(!Te||!(typeof t=="object"&&Te in t))}function lg(t){return Ct(t)==="[object Date]"&&(!Te||!(typeof t=="object"&&Te in t))}function wf(t){return Ct(t)==="[object RegExp]"&&(!Te||!(typeof t=="object"&&Te in t))}function fg(t){return Ct(t)==="[object Error]"&&(!Te||!(typeof t=="object"&&Te in t))}function pg(t){return Ct(t)==="[object String]"&&(!Te||!(typeof t=="object"&&Te in t))}function hg(t){return Ct(t)==="[object Number]"&&(!Te||!(typeof t=="object"&&Te in t))}function dg(t){return Ct(t)==="[object Boolean]"&&(!Te||!(typeof t=="object"&&Te in t))}function Tf(t){if(Mr)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!ca)return!1;try{return ca.call(t),!0}catch{}return!1}function mg(t){if(!t||typeof t!="object"||!ua)return!1;try{return ua.call(t),!0}catch{}return!1}var yg=Object.prototype.hasOwnProperty||function(t){return t in this};function Tt(t,e){return yg.call(t,e)}function Ct(t){return og.call(t)}function gg(t){if(t.name)return t.name;var e=sg.call(ig.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function Af(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function xg(t){if(!Xo||!t||typeof t!="object")return!1;try{Xo.call(t);try{Ko.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function vg(t){if(!In||!t||typeof t!="object")return!1;try{In.call(t,In);try{Mn.call(t,Mn)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function wg(t){if(!pf||!t||typeof t!="object")return!1;try{return pf.call(t),!0}catch{}return!1}function bg(t){if(!Ko||!t||typeof t!="object")return!1;try{Ko.call(t);try{Xo.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function Sg(t){if(!Mn||!t||typeof t!="object")return!1;try{Mn.call(t,Mn);try{In.call(t,In)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function Eg(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function Cf(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Cf(ma.call(t,0,e.maxStringLength),e)+n}var o=At.call(At.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,_g);return _f(o,"single",e)}function _g(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+ag.call(e.toString(16))}function On(t){return"Object("+t+")"}function aa(t){return t+" { ? }"}function bf(t,e,r,n){var o=n?pa(r,n):Qe.call(r,", ");return t+" ("+e+") {"+o+"}"}function Tg(t){for(var e=0;e<t.length;e++)if(Af(t[e],`
|
|
2
|
-
`)>=0)return!1;return!0}function Ag(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=Qe.call(Array(t.indent+1)," ");else return null;return{base:r,prev:Qe.call(Array(e+1),r)}}function pa(t,e){if(t.length===0)return"";var r=`
|
|
3
|
-
`+e.prev+e.base;return r+Qe.call(t,","+r)+`
|
|
4
|
-
`+e.prev}function Qo(t,e){var r=fa(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=Tt(t,o)?e(t[o],t):""}var i=typeof sa=="function"?sa(t):[],s;if(Mr){s={};for(var a=0;a<i.length;a++)s["$"+i[a]]=i[a]}for(var u in t)Tt(t,u)&&(r&&String(Number(u))===u&&u<t.length||Mr&&s["$"+u]instanceof Symbol||(Sf.call(/[^\w$]/,u)?n.push(e(u,t)+": "+e(t[u],t)):n.push(u+": "+e(t[u],t))));if(typeof sa=="function")for(var c=0;c<i.length;c++)Ef.call(t,i[c])&&n.push("["+e(i[c])+"]: "+e(t[i[c]],t));return n}});var Mf=L((LC,If)=>{"use strict";var ya=_t(),$r=uf(),Cg=Of(),Pg=ya("%TypeError%"),ei=ya("%WeakMap%",!0),ti=ya("%Map%",!0),Og=$r("WeakMap.prototype.get",!0),Ig=$r("WeakMap.prototype.set",!0),Mg=$r("WeakMap.prototype.has",!0),$g=$r("Map.prototype.get",!0),Dg=$r("Map.prototype.set",!0),Fg=$r("Map.prototype.has",!0),ga=function(t,e){for(var r=t,n;(n=r.next)!==null;r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},Bg=function(t,e){var r=ga(t,e);return r&&r.value},Rg=function(t,e,r){var n=ga(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},Ng=function(t,e){return!!ga(t,e)};If.exports=function(){var e,r,n,o={assert:function(i){if(!o.has(i))throw new Pg("Side channel does not contain "+Cg(i))},get:function(i){if(ei&&i&&(typeof i=="object"||typeof i=="function")){if(e)return Og(e,i)}else if(ti){if(r)return $g(r,i)}else if(n)return Bg(n,i)},has:function(i){if(ei&&i&&(typeof i=="object"||typeof i=="function")){if(e)return Mg(e,i)}else if(ti){if(r)return Fg(r,i)}else if(n)return Ng(n,i);return!1},set:function(i,s){ei&&i&&(typeof i=="object"||typeof i=="function")?(e||(e=new ei),Ig(e,i,s)):ti?(r||(r=new ti),Dg(r,i,s)):(n||(n={key:{},next:null}),Rg(n,i,s))}};return o}});var ri=L((kC,$f)=>{"use strict";var Ug=String.prototype.replace,Lg=/%20/g,xa={RFC1738:"RFC1738",RFC3986:"RFC3986"};$f.exports={default:xa.RFC3986,formatters:{RFC1738:function(t){return Ug.call(t,Lg,"+")},RFC3986:function(t){return String(t)}},RFC1738:xa.RFC1738,RFC3986:xa.RFC3986}});var wa=L((jC,Ff)=>{"use strict";var kg=ri(),va=Object.prototype.hasOwnProperty,Qt=Array.isArray,Xe=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),jg=function(e){for(;e.length>1;){var r=e.pop(),n=r.obj[r.prop];if(Qt(n)){for(var o=[],i=0;i<n.length;++i)typeof n[i]<"u"&&o.push(n[i]);r.obj[r.prop]=o}}},Df=function(e,r){for(var n=r&&r.plainObjects?Object.create(null):{},o=0;o<e.length;++o)typeof e[o]<"u"&&(n[o]=e[o]);return n},Wg=function t(e,r,n){if(!r)return e;if(typeof r!="object"){if(Qt(e))e.push(r);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!va.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var o=e;return Qt(e)&&!Qt(r)&&(o=Df(e,n)),Qt(e)&&Qt(r)?(r.forEach(function(i,s){if(va.call(e,s)){var a=e[s];a&&typeof a=="object"&&i&&typeof i=="object"?e[s]=t(a,i,n):e.push(i)}else e[s]=i}),e):Object.keys(r).reduce(function(i,s){var a=r[s];return va.call(i,s)?i[s]=t(i[s],a,n):i[s]=a,i},o)},qg=function(e,r){return Object.keys(r).reduce(function(n,o){return n[o]=r[o],n},e)},Hg=function(t,e,r){var n=t.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},zg=function(e,r,n,o,i){if(e.length===0)return e;var s=e;if(typeof e=="symbol"?s=Symbol.prototype.toString.call(e):typeof e!="string"&&(s=String(e)),n==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(l){return"%26%23"+parseInt(l.slice(2),16)+"%3B"});for(var a="",u=0;u<s.length;++u){var c=s.charCodeAt(u);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===kg.RFC1738&&(c===40||c===41)){a+=s.charAt(u);continue}if(c<128){a=a+Xe[c];continue}if(c<2048){a=a+(Xe[192|c>>6]+Xe[128|c&63]);continue}if(c<55296||c>=57344){a=a+(Xe[224|c>>12]+Xe[128|c>>6&63]+Xe[128|c&63]);continue}u+=1,c=65536+((c&1023)<<10|s.charCodeAt(u)&1023),a+=Xe[240|c>>18]+Xe[128|c>>12&63]+Xe[128|c>>6&63]+Xe[128|c&63]}return a},Vg=function(e){for(var r=[{obj:{o:e},prop:"o"}],n=[],o=0;o<r.length;++o)for(var i=r[o],s=i.obj[i.prop],a=Object.keys(s),u=0;u<a.length;++u){var c=a[u],l=s[c];typeof l=="object"&&l!==null&&n.indexOf(l)===-1&&(r.push({obj:s,prop:c}),n.push(l))}return jg(r),e},Gg=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},Jg=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Yg=function(e,r){return[].concat(e,r)},Zg=function(e,r){if(Qt(e)){for(var n=[],o=0;o<e.length;o+=1)n.push(r(e[o]));return n}return r(e)};Ff.exports={arrayToObject:Df,assign:qg,combine:Yg,compact:Vg,decode:Hg,encode:zg,isBuffer:Jg,isRegExp:Gg,maybeMap:Zg,merge:Wg}});var kf=L((WC,Lf)=>{"use strict";var Nf=Mf(),ni=wa(),$n=ri(),Qg=Object.prototype.hasOwnProperty,Bf={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,r){return e+"["+r+"]"},repeat:function(e){return e}},ft=Array.isArray,Xg=Array.prototype.push,Uf=function(t,e){Xg.apply(t,ft(e)?e:[e])},Kg=Date.prototype.toISOString,Rf=$n.default,Ae={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:ni.encode,encodeValuesOnly:!1,format:Rf,formatter:$n.formatters[Rf],indices:!1,serializeDate:function(e){return Kg.call(e)},skipNulls:!1,strictNullHandling:!1},ex=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},ba={},tx=function t(e,r,n,o,i,s,a,u,c,l,p,y,x,E,I,$){for(var T=e,A=$,B=0,M=!1;(A=A.get(ba))!==void 0&&!M;){var z=A.get(e);if(B+=1,typeof z<"u"){if(z===B)throw new RangeError("Cyclic object value");M=!0}typeof A.get(ba)>"u"&&(B=0)}if(typeof u=="function"?T=u(r,T):T instanceof Date?T=p(T):n==="comma"&&ft(T)&&(T=ni.maybeMap(T,function(_){return _ instanceof Date?p(_):_})),T===null){if(i)return a&&!E?a(r,Ae.encoder,I,"key",y):r;T=""}if(ex(T)||ni.isBuffer(T)){if(a){var k=E?r:a(r,Ae.encoder,I,"key",y);return[x(k)+"="+x(a(T,Ae.encoder,I,"value",y))]}return[x(r)+"="+x(String(T))]}var J=[];if(typeof T>"u")return J;var N;if(n==="comma"&&ft(T))E&&a&&(T=ni.maybeMap(T,a)),N=[{value:T.length>0?T.join(",")||null:void 0}];else if(ft(u))N=u;else{var D=Object.keys(T);N=c?D.sort(c):D}for(var Z=o&&ft(T)&&T.length===1?r+"[]":r,fe=0;fe<N.length;++fe){var O=N[fe],b=typeof O=="object"&&typeof O.value<"u"?O.value:T[O];if(!(s&&b===null)){var S=ft(T)?typeof n=="function"?n(Z,O):Z:Z+(l?"."+O:"["+O+"]");$.set(e,B);var P=Nf();P.set(ba,$),Uf(J,t(b,S,n,o,i,s,n==="comma"&&E&&ft(T)?null:a,u,c,l,p,y,x,E,I,P))}}return J},rx=function(e){if(!e)return Ae;if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||Ae.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=$n.default;if(typeof e.format<"u"){if(!Qg.call($n.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var o=$n.formatters[n],i=Ae.filter;return(typeof e.filter=="function"||ft(e.filter))&&(i=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:Ae.addQueryPrefix,allowDots:typeof e.allowDots>"u"?Ae.allowDots:!!e.allowDots,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:Ae.charsetSentinel,delimiter:typeof e.delimiter>"u"?Ae.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:Ae.encode,encoder:typeof e.encoder=="function"?e.encoder:Ae.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:Ae.encodeValuesOnly,filter:i,format:n,formatter:o,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:Ae.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:Ae.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:Ae.strictNullHandling}};Lf.exports=function(t,e){var r=t,n=rx(e),o,i;typeof n.filter=="function"?(i=n.filter,r=i("",r)):ft(n.filter)&&(i=n.filter,o=i);var s=[];if(typeof r!="object"||r===null)return"";var a;e&&e.arrayFormat in Bf?a=e.arrayFormat:e&&"indices"in e?a=e.indices?"indices":"repeat":a="indices";var u=Bf[a];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=u==="comma"&&e&&e.commaRoundTrip;o||(o=Object.keys(r)),n.sort&&o.sort(n.sort);for(var l=Nf(),p=0;p<o.length;++p){var y=o[p];n.skipNulls&&r[y]===null||Uf(s,tx(r[y],y,u,c,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,l))}var x=s.join(n.delimiter),E=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?E+="utf8=%26%2310003%3B&":E+="utf8=%E2%9C%93&"),x.length>0?E+x:""}});var qf=L((qC,Wf)=>{"use strict";var Dr=wa(),Sa=Object.prototype.hasOwnProperty,nx=Array.isArray,we={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Dr.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},ox=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},jf=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},ix="utf8=%26%2310003%3B",sx="utf8=%E2%9C%93",ax=function(e,r){var n={__proto__:null},o=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=r.parameterLimit===1/0?void 0:r.parameterLimit,s=o.split(r.delimiter,i),a=-1,u,c=r.charset;if(r.charsetSentinel)for(u=0;u<s.length;++u)s[u].indexOf("utf8=")===0&&(s[u]===sx?c="utf-8":s[u]===ix&&(c="iso-8859-1"),a=u,u=s.length);for(u=0;u<s.length;++u)if(u!==a){var l=s[u],p=l.indexOf("]="),y=p===-1?l.indexOf("="):p+1,x,E;y===-1?(x=r.decoder(l,we.decoder,c,"key"),E=r.strictNullHandling?null:""):(x=r.decoder(l.slice(0,y),we.decoder,c,"key"),E=Dr.maybeMap(jf(l.slice(y+1),r),function(I){return r.decoder(I,we.decoder,c,"value")})),E&&r.interpretNumericEntities&&c==="iso-8859-1"&&(E=ox(E)),l.indexOf("[]=")>-1&&(E=nx(E)?[E]:E),Sa.call(n,x)?n[x]=Dr.combine(n[x],E):n[x]=E}return n},ux=function(t,e,r,n){for(var o=n?e:jf(e,r),i=t.length-1;i>=0;--i){var s,a=t[i];if(a==="[]"&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var u=a.charAt(0)==="["&&a.charAt(a.length-1)==="]"?a.slice(1,-1):a,c=parseInt(u,10);!r.parseArrays&&u===""?s={0:o}:!isNaN(c)&&a!==u&&String(c)===u&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(s=[],s[c]=o):u!=="__proto__"&&(s[u]=o)}o=s}return o},cx=function(e,r,n,o){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,u=n.depth>0&&s.exec(i),c=u?i.slice(0,u.index):i,l=[];if(c){if(!n.plainObjects&&Sa.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var p=0;n.depth>0&&(u=a.exec(i))!==null&&p<n.depth;){if(p+=1,!n.plainObjects&&Sa.call(Object.prototype,u[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(u[1])}return u&&l.push("["+i.slice(u.index)+"]"),ux(l,r,n,o)}},lx=function(e){if(!e)return we;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof e.charset>"u"?we.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?we.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:we.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:we.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:we.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:we.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:we.comma,decoder:typeof e.decoder=="function"?e.decoder:we.decoder,delimiter:typeof e.delimiter=="string"||Dr.isRegExp(e.delimiter)?e.delimiter:we.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:we.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:we.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:we.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:we.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:we.strictNullHandling}};Wf.exports=function(t,e){var r=lx(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof t=="string"?ax(t,r):t,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),s=0;s<i.length;++s){var a=i[s],u=cx(a,n[a],r,typeof t=="string");o=Dr.merge(o,u,r)}return r.allowSparse===!0?o:Dr.compact(o)}});var zf=L((HC,Hf)=>{"use strict";var fx=kf(),px=qf(),hx=ri();Hf.exports={formats:hx,parse:px,stringify:fx}});var Yf=L(Br=>{"use strict";var dx=Sl();function Ne(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var mx=/^([a-z0-9.+-]+:)/i,yx=/:[0-9]*$/,gx=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,xx=["<",">",'"',"`"," ","\r",`
|
|
5
|
-
`," "],vx=["{","}","|","\\","^","`"].concat(xx),Ea=["'"].concat(vx),Vf=["%","/","?",";","#"].concat(Ea),Gf=["/","?","#"],wx=255,Jf=/^[+a-z0-9A-Z_-]{0,63}$/,bx=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Sx={javascript:!0,"javascript:":!0},_a={javascript:!0,"javascript:":!0},Fr={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Ta=zf();function Dn(t,e,r){if(t&&typeof t=="object"&&t instanceof Ne)return t;var n=new Ne;return n.parse(t,e,r),n}Ne.prototype.parse=function(t,e,r){if(typeof t!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),o=n!==-1&&n<t.indexOf("#")?"?":"#",i=t.split(o),s=/\\/g;i[0]=i[0].replace(s,"/"),t=i.join(o);var a=t;if(a=a.trim(),!r&&t.split("#").length===1){var u=gx.exec(a);if(u)return this.path=a,this.href=a,this.pathname=u[1],u[2]?(this.search=u[2],e?this.query=Ta.parse(this.search.substr(1)):this.query=this.search.substr(1)):e&&(this.search="",this.query={}),this}var c=mx.exec(a);if(c){c=c[0];var l=c.toLowerCase();this.protocol=l,a=a.substr(c.length)}if(r||c||a.match(/^\/\/[^@/]+@[^@/]+/)){var p=a.substr(0,2)==="//";p&&!(c&&_a[c])&&(a=a.substr(2),this.slashes=!0)}if(!_a[c]&&(p||c&&!Fr[c])){for(var y=-1,x=0;x<Gf.length;x++){var E=a.indexOf(Gf[x]);E!==-1&&(y===-1||E<y)&&(y=E)}var I,$;y===-1?$=a.lastIndexOf("@"):$=a.lastIndexOf("@",y),$!==-1&&(I=a.slice(0,$),a=a.slice($+1),this.auth=decodeURIComponent(I)),y=-1;for(var x=0;x<Vf.length;x++){var E=a.indexOf(Vf[x]);E!==-1&&(y===-1||E<y)&&(y=E)}y===-1&&(y=a.length),this.host=a.slice(0,y),a=a.slice(y),this.parseHost(),this.hostname=this.hostname||"";var T=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!T)for(var A=this.hostname.split(/\./),x=0,B=A.length;x<B;x++){var M=A[x];if(M&&!M.match(Jf)){for(var z="",k=0,J=M.length;k<J;k++)M.charCodeAt(k)>127?z+="x":z+=M[k];if(!z.match(Jf)){var N=A.slice(0,x),D=A.slice(x+1),Z=M.match(bx);Z&&(N.push(Z[1]),D.unshift(Z[2])),D.length&&(a="/"+D.join(".")+a),this.hostname=N.join(".");break}}}this.hostname.length>wx?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=dx.toASCII(this.hostname));var fe=this.port?":"+this.port:"",O=this.hostname||"";this.host=O+fe,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),a[0]!=="/"&&(a="/"+a))}if(!Sx[l])for(var x=0,B=Ea.length;x<B;x++){var b=Ea[x];if(a.indexOf(b)!==-1){var S=encodeURIComponent(b);S===b&&(S=escape(b)),a=a.split(b).join(S)}}var P=a.indexOf("#");P!==-1&&(this.hash=a.substr(P),a=a.slice(0,P));var _=a.indexOf("?");if(_!==-1?(this.search=a.substr(_),this.query=a.substr(_+1),e&&(this.query=Ta.parse(this.query)),a=a.slice(0,_)):e&&(this.search="",this.query={}),a&&(this.pathname=a),Fr[l]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var fe=this.pathname||"",U=this.search||"";this.path=fe+U}return this.href=this.format(),this};function Ex(t){return typeof t=="string"&&(t=Dn(t)),t instanceof Ne?t.format():Ne.prototype.format.call(t)}Ne.prototype.format=function(){var t=this.auth||"";t&&(t=encodeURIComponent(t),t=t.replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",o=!1,i="";this.host?o=t+this.host:this.hostname&&(o=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(i=Ta.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var s=this.search||i&&"?"+i||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||Fr[e])&&o!==!1?(o="//"+(o||""),r&&r.charAt(0)!=="/"&&(r="/"+r)):o||(o=""),n&&n.charAt(0)!=="#"&&(n="#"+n),s&&s.charAt(0)!=="?"&&(s="?"+s),r=r.replace(/[?#]/g,function(a){return encodeURIComponent(a)}),s=s.replace("#","%23"),e+o+r+s+n};function _x(t,e){return Dn(t,!1,!0).resolve(e)}Ne.prototype.resolve=function(t){return this.resolveObject(Dn(t,!1,!0)).format()};function Tx(t,e){return t?Dn(t,!1,!0).resolveObject(e):e}Ne.prototype.resolveObject=function(t){if(typeof t=="string"){var e=new Ne;e.parse(t,!1,!0),t=e}for(var r=new Ne,n=Object.keys(this),o=0;o<n.length;o++){var i=n[o];r[i]=this[i]}if(r.hash=t.hash,t.href==="")return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var s=Object.keys(t),a=0;a<s.length;a++){var u=s[a];u!=="protocol"&&(r[u]=t[u])}return Fr[r.protocol]&&r.hostname&&!r.pathname&&(r.pathname="/",r.path=r.pathname),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!Fr[t.protocol]){for(var c=Object.keys(t),l=0;l<c.length;l++){var p=c[l];r[p]=t[p]}return r.href=r.format(),r}if(r.protocol=t.protocol,!t.host&&!_a[t.protocol]){for(var B=(t.pathname||"").split("/");B.length&&!(t.host=B.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),B[0]!==""&&B.unshift(""),B.length<2&&B.unshift(""),r.pathname=B.join("/")}else r.pathname=t.pathname;if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var y=r.pathname||"",x=r.search||"";r.path=y+x}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var E=r.pathname&&r.pathname.charAt(0)==="/",I=t.host||t.pathname&&t.pathname.charAt(0)==="/",$=I||E||r.host&&t.pathname,T=$,A=r.pathname&&r.pathname.split("/")||[],B=t.pathname&&t.pathname.split("/")||[],M=r.protocol&&!Fr[r.protocol];if(M&&(r.hostname="",r.port=null,r.host&&(A[0]===""?A[0]=r.host:A.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(B[0]===""?B[0]=t.host:B.unshift(t.host)),t.host=null),$=$&&(B[0]===""||A[0]==="")),I)r.host=t.host||t.host===""?t.host:r.host,r.hostname=t.hostname||t.hostname===""?t.hostname:r.hostname,r.search=t.search,r.query=t.query,A=B;else if(B.length)A||(A=[]),A.pop(),A=A.concat(B),r.search=t.search,r.query=t.query;else if(t.search!=null){if(M){r.host=A.shift(),r.hostname=r.host;var z=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;z&&(r.auth=z.shift(),r.hostname=z.shift(),r.host=r.hostname)}return r.search=t.search,r.query=t.query,(r.pathname!==null||r.search!==null)&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!A.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var k=A.slice(-1)[0],J=(r.host||t.host||A.length>1)&&(k==="."||k==="..")||k==="",N=0,D=A.length;D>=0;D--)k=A[D],k==="."?A.splice(D,1):k===".."?(A.splice(D,1),N++):N&&(A.splice(D,1),N--);if(!$&&!T)for(;N--;N)A.unshift("..");$&&A[0]!==""&&(!A[0]||A[0].charAt(0)!=="/")&&A.unshift(""),J&&A.join("/").substr(-1)!=="/"&&A.push("");var Z=A[0]===""||A[0]&&A[0].charAt(0)==="/";if(M){r.hostname=Z?"":A.length?A.shift():"",r.host=r.hostname;var z=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;z&&(r.auth=z.shift(),r.hostname=z.shift(),r.host=r.hostname)}return $=$||r.host&&A.length,$&&!Z&&A.unshift(""),A.length>0?r.pathname=A.join("/"):(r.pathname=null,r.path=null),(r.pathname!==null||r.search!==null)&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r};Ne.prototype.parseHost=function(){var t=this.host,e=yx.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};Br.parse=Dn;Br.resolve=_x;Br.resolveObject=Tx;Br.format=Ex;Br.Url=Ne});var mp=L((GC,dp)=>{"use strict";dp.exports=t=>{let e=t.match(/^[ \t]*(?=\S)/gm);return e?e.reduce((r,n)=>Math.min(r,n.length),1/0):0}});var xp=L((YC,gp)=>{"use strict";gp.exports=(t,e,r,n)=>{if(!Buffer.isBuffer(t))throw new TypeError(`Expected a \`Buffer\`, got \`${typeof t}\``);if(!(typeof e=="string"&&e.length>0)||!(typeof r=="string"||typeof r=="function"))return t;n=Object.assign({fromIndex:0},n);let o=0,i=s=>{let a=o===0?n.fromIndex:0,u=s.indexOf(e,a);if(u===-1)return s;o++;let c=Buffer.from(typeof r=="string"?r:r(e,o,t)),l=Buffer.from(e),p=s.slice(0,u),y=i(s.slice(u+l.length)),x=u+c.length+y.length;return Buffer.concat([p,c,y],x)};return i(t)}});var Sp=L((QC,bp)=>{"use strict";bp.exports=function(e){var r=typeof e;if(r==="string"||e instanceof String){if(!e.trim())return!1}else if(r!=="number"&&!(e instanceof Number))return!1;return e-e+1>=0}});var Tp=L((XC,_p)=>{var Ux=Object.prototype.toString;_p.exports=function(e){if(e===void 0)return"undefined";if(e===null)return"null";var r=typeof e;if(r==="boolean")return"boolean";if(r==="string")return"string";if(r==="number")return"number";if(r==="symbol")return"symbol";if(r==="function")return qx(e)?"generatorfunction":"function";if(Lx(e))return"array";if(Vx(e))return"buffer";if(zx(e))return"arguments";if(jx(e))return"date";if(kx(e))return"error";if(Wx(e))return"regexp";switch(Ep(e)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(Hx(e))return"generator";switch(r=Ux.call(e),r){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return r.slice(8,-1).toLowerCase().replace(/\s/g,"")};function Ep(t){return typeof t.constructor=="function"?t.constructor.name:null}function Lx(t){return Array.isArray?Array.isArray(t):t instanceof Array}function kx(t){return t instanceof Error||typeof t.message=="string"&&t.constructor&&typeof t.constructor.stackTraceLimit=="number"}function jx(t){return t instanceof Date?!0:typeof t.toDateString=="function"&&typeof t.getDate=="function"&&typeof t.setDate=="function"}function Wx(t){return t instanceof RegExp?!0:typeof t.flags=="string"&&typeof t.ignoreCase=="boolean"&&typeof t.multiline=="boolean"&&typeof t.global=="boolean"}function qx(t,e){return Ep(t)==="GeneratorFunction"}function Hx(t){return typeof t.throw=="function"&&typeof t.return=="function"&&typeof t.next=="function"}function zx(t){try{if(typeof t.length=="number"&&typeof t.callee=="function")return!0}catch(e){if(e.message.indexOf("callee")!==-1)return!0}return!1}function Vx(t){return t.constructor&&typeof t.constructor.isBuffer=="function"?t.constructor.isBuffer(t):!1}});var Cp=L((KC,Ap)=>{Ap.exports=function(t){var e="Uint32Array"in t,r=t.crypto||t.msCrypto,n=r&&typeof r.getRandomValues=="function",o=e&&n;if(!o)return Math.random;var i=new Uint32Array(1),s=Math.pow(2,32);function a(){return r.getRandomValues(i),i[0]/s}return a.cryptographic=!0,a}(typeof self<"u"?self:window)});var Ip=L((eP,Ia)=>{"use strict";var Gx=Sp(),Pp=Tp(),Op=Cp();Ia.exports=Jx;Ia.exports.isCrypto=!!Op.cryptographic;var Ke={lower:"abcdefghijklmnopqrstuvwxyz",upper:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",number:"0123456789",special:"~!@#$%^&()_+-={}[];',."};Ke.all=Ke.lower+Ke.upper+Ke.number+Ke.special;function Jx(t,e,r){if(typeof t>"u")throw new Error("randomatic expects a string or number.");var n=!1;arguments.length===1&&(typeof t=="string"?e=t.length:Gx(t)&&(r={},e=t,t="*")),Pp(e)==="object"&&e.hasOwnProperty("chars")&&(r=e,t=r.chars,e=t.length,n=!0);var o=r||{},i="",s="";if(t.indexOf("?")!==-1&&(i+=o.chars),t.indexOf("a")!==-1&&(i+=Ke.lower),t.indexOf("A")!==-1&&(i+=Ke.upper),t.indexOf("0")!==-1&&(i+=Ke.number),t.indexOf("!")!==-1&&(i+=Ke.special),t.indexOf("*")!==-1&&(i+=Ke.all),n&&(i+=t),o.exclude){var a=Pp(o.exclude)==="string"?o.exclude:o.exclude.join("");a=a.replace(new RegExp("[\\]]+","g"),""),i=i.replace(new RegExp("["+a+"]+","g"),""),o.exclude.indexOf("]")!==-1&&(i=i.replace(new RegExp("[\\]]+","g"),""))}for(;e--;)s+=i.charAt(parseInt(Op()*i.length,10));return s}});var Eh=L((Nn,Lr)=>{var a0=200,Gp="__lodash_hash_undefined__",Jp=9007199254740991,Va="[object Arguments]",u0="[object Array]",Yp="[object Boolean]",Zp="[object Date]",c0="[object Error]",Ga="[object Function]",Qp="[object GeneratorFunction]",pi="[object Map]",Xp="[object Number]",Ja="[object Object]",Rp="[object Promise]",Kp="[object RegExp]",hi="[object Set]",eh="[object String]",th="[object Symbol]",ka="[object WeakMap]",rh="[object ArrayBuffer]",di="[object DataView]",nh="[object Float32Array]",oh="[object Float64Array]",ih="[object Int8Array]",sh="[object Int16Array]",ah="[object Int32Array]",uh="[object Uint8Array]",ch="[object Uint8ClampedArray]",lh="[object Uint16Array]",fh="[object Uint32Array]",l0=/[\\^$.*+?()[\]{}|]/g,f0=/\w*$/,p0=/^\[object .+?Constructor\]$/,h0=/^(?:0|[1-9]\d*)$/,re={};re[Va]=re[u0]=re[rh]=re[di]=re[Yp]=re[Zp]=re[nh]=re[oh]=re[ih]=re[sh]=re[ah]=re[pi]=re[Xp]=re[Ja]=re[Kp]=re[hi]=re[eh]=re[th]=re[uh]=re[ch]=re[lh]=re[fh]=!0;re[c0]=re[Ga]=re[ka]=!1;var d0=typeof global=="object"&&global&&global.Object===Object&&global,m0=typeof self=="object"&&self&&self.Object===Object&&self,pt=d0||m0||Function("return this")(),ph=typeof Nn=="object"&&Nn&&!Nn.nodeType&&Nn,Np=ph&&typeof Lr=="object"&&Lr&&!Lr.nodeType&&Lr,y0=Np&&Np.exports===ph;function g0(t,e){return t.set(e[0],e[1]),t}function x0(t,e){return t.add(e),t}function v0(t,e){for(var r=-1,n=t?t.length:0;++r<n&&e(t[r],r,t)!==!1;);return t}function w0(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}function hh(t,e,r,n){var o=-1,i=t?t.length:0;for(n&&i&&(r=t[++o]);++o<i;)r=e(r,t[o],o,t);return r}function b0(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}function S0(t,e){return t?.[e]}function dh(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch{}return e}function Up(t){var e=-1,r=Array(t.size);return t.forEach(function(n,o){r[++e]=[o,n]}),r}function Ya(t,e){return function(r){return t(e(r))}}function Lp(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var E0=Array.prototype,_0=Function.prototype,mi=Object.prototype,La=pt["__core-js_shared__"],kp=function(){var t=/[^.]+$/.exec(La&&La.keys&&La.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),mh=_0.toString,Pt=mi.hasOwnProperty,yi=mi.toString,T0=RegExp("^"+mh.call(Pt).replace(l0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),jp=y0?pt.Buffer:void 0,Wp=pt.Symbol,qp=pt.Uint8Array,A0=Ya(Object.getPrototypeOf,Object),C0=Object.create,P0=mi.propertyIsEnumerable,O0=E0.splice,Hp=Object.getOwnPropertySymbols,I0=jp?jp.isBuffer:void 0,M0=Ya(Object.keys,Object),ja=Wr(pt,"DataView"),Un=Wr(pt,"Map"),Wa=Wr(pt,"Promise"),qa=Wr(pt,"Set"),Ha=Wr(pt,"WeakMap"),Ln=Wr(Object,"create"),$0=er(ja),D0=er(Un),F0=er(Wa),B0=er(qa),R0=er(Ha),zp=Wp?Wp.prototype:void 0,Vp=zp?zp.valueOf:void 0;function Kt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function N0(){this.__data__=Ln?Ln(null):{}}function U0(t){return this.has(t)&&delete this.__data__[t]}function L0(t){var e=this.__data__;if(Ln){var r=e[t];return r===Gp?void 0:r}return Pt.call(e,t)?e[t]:void 0}function k0(t){var e=this.__data__;return Ln?e[t]!==void 0:Pt.call(e,t)}function j0(t,e){var r=this.__data__;return r[t]=Ln&&e===void 0?Gp:e,this}Kt.prototype.clear=N0;Kt.prototype.delete=U0;Kt.prototype.get=L0;Kt.prototype.has=k0;Kt.prototype.set=j0;function ht(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function W0(){this.__data__=[]}function q0(t){var e=this.__data__,r=gi(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():O0.call(e,r,1),!0}function H0(t){var e=this.__data__,r=gi(e,t);return r<0?void 0:e[r][1]}function z0(t){return gi(this.__data__,t)>-1}function V0(t,e){var r=this.__data__,n=gi(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}ht.prototype.clear=W0;ht.prototype.delete=q0;ht.prototype.get=H0;ht.prototype.has=z0;ht.prototype.set=V0;function kr(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function G0(){this.__data__={hash:new Kt,map:new(Un||ht),string:new Kt}}function J0(t){return xi(this,t).delete(t)}function Y0(t){return xi(this,t).get(t)}function Z0(t){return xi(this,t).has(t)}function Q0(t,e){return xi(this,t).set(t,e),this}kr.prototype.clear=G0;kr.prototype.delete=J0;kr.prototype.get=Y0;kr.prototype.has=Z0;kr.prototype.set=Q0;function jr(t){this.__data__=new ht(t)}function X0(){this.__data__=new ht}function K0(t){return this.__data__.delete(t)}function ev(t){return this.__data__.get(t)}function tv(t){return this.__data__.has(t)}function rv(t,e){var r=this.__data__;if(r instanceof ht){var n=r.__data__;if(!Un||n.length<a0-1)return n.push([t,e]),this;r=this.__data__=new kr(n)}return r.set(t,e),this}jr.prototype.clear=X0;jr.prototype.delete=K0;jr.prototype.get=ev;jr.prototype.has=tv;jr.prototype.set=rv;function nv(t,e){var r=Qa(t)||Cv(t)?b0(t.length,String):[],n=r.length,o=!!n;for(var i in t)(e||Pt.call(t,i))&&!(o&&(i=="length"||Ev(i,n)))&&r.push(i);return r}function yh(t,e,r){var n=t[e];(!(Pt.call(t,e)&&wh(n,r))||r===void 0&&!(e in t))&&(t[e]=r)}function gi(t,e){for(var r=t.length;r--;)if(wh(t[r][0],e))return r;return-1}function ov(t,e){return t&&gh(e,Xa(e),t)}function za(t,e,r,n,o,i,s){var a;if(n&&(a=i?n(t,o,i,s):n(t)),a!==void 0)return a;if(!vi(t))return t;var u=Qa(t);if(u){if(a=wv(t),!e)return gv(t,a)}else{var c=Xt(t),l=c==Ga||c==Qp;if(Ov(t))return lv(t,e);if(c==Ja||c==Va||l&&!i){if(dh(t))return i?t:{};if(a=bv(l?{}:t),!e)return xv(t,ov(a,t))}else{if(!re[c])return i?t:{};a=Sv(t,c,za,e)}}s||(s=new jr);var p=s.get(t);if(p)return p;if(s.set(t,a),!u)var y=r?vv(t):Xa(t);return v0(y||t,function(x,E){y&&(E=x,x=t[E]),yh(a,E,za(x,e,r,n,E,t,s))}),a}function iv(t){return vi(t)?C0(t):{}}function sv(t,e,r){var n=e(t);return Qa(t)?n:w0(n,r(t))}function av(t){return yi.call(t)}function uv(t){if(!vi(t)||Tv(t))return!1;var e=Sh(t)||dh(t)?T0:p0;return e.test(er(t))}function cv(t){if(!vh(t))return M0(t);var e=[];for(var r in Object(t))Pt.call(t,r)&&r!="constructor"&&e.push(r);return e}function lv(t,e){if(e)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}function Za(t){var e=new t.constructor(t.byteLength);return new qp(e).set(new qp(t)),e}function fv(t,e){var r=e?Za(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}function pv(t,e,r){var n=e?r(Up(t),!0):Up(t);return hh(n,g0,new t.constructor)}function hv(t){var e=new t.constructor(t.source,f0.exec(t));return e.lastIndex=t.lastIndex,e}function dv(t,e,r){var n=e?r(Lp(t),!0):Lp(t);return hh(n,x0,new t.constructor)}function mv(t){return Vp?Object(Vp.call(t)):{}}function yv(t,e){var r=e?Za(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function gv(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}function gh(t,e,r,n){r||(r={});for(var o=-1,i=e.length;++o<i;){var s=e[o],a=n?n(r[s],t[s],s,r,t):void 0;yh(r,s,a===void 0?t[s]:a)}return r}function xv(t,e){return gh(t,xh(t),e)}function vv(t){return sv(t,Xa,xh)}function xi(t,e){var r=t.__data__;return _v(e)?r[typeof e=="string"?"string":"hash"]:r.map}function Wr(t,e){var r=S0(t,e);return uv(r)?r:void 0}var xh=Hp?Ya(Hp,Object):$v,Xt=av;(ja&&Xt(new ja(new ArrayBuffer(1)))!=di||Un&&Xt(new Un)!=pi||Wa&&Xt(Wa.resolve())!=Rp||qa&&Xt(new qa)!=hi||Ha&&Xt(new Ha)!=ka)&&(Xt=function(t){var e=yi.call(t),r=e==Ja?t.constructor:void 0,n=r?er(r):void 0;if(n)switch(n){case $0:return di;case D0:return pi;case F0:return Rp;case B0:return hi;case R0:return ka}return e});function wv(t){var e=t.length,r=t.constructor(e);return e&&typeof t[0]=="string"&&Pt.call(t,"index")&&(r.index=t.index,r.input=t.input),r}function bv(t){return typeof t.constructor=="function"&&!vh(t)?iv(A0(t)):{}}function Sv(t,e,r,n){var o=t.constructor;switch(e){case rh:return Za(t);case Yp:case Zp:return new o(+t);case di:return fv(t,n);case nh:case oh:case ih:case sh:case ah:case uh:case ch:case lh:case fh:return yv(t,n);case pi:return pv(t,n,r);case Xp:case eh:return new o(t);case Kp:return hv(t);case hi:return dv(t,n,r);case th:return mv(t)}}function Ev(t,e){return e=e??Jp,!!e&&(typeof t=="number"||h0.test(t))&&t>-1&&t%1==0&&t<e}function _v(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Tv(t){return!!kp&&kp in t}function vh(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||mi;return t===r}function er(t){if(t!=null){try{return mh.call(t)}catch{}try{return t+""}catch{}}return""}function Av(t){return za(t,!0,!0)}function wh(t,e){return t===e||t!==t&&e!==e}function Cv(t){return Pv(t)&&Pt.call(t,"callee")&&(!P0.call(t,"callee")||yi.call(t)==Va)}var Qa=Array.isArray;function bh(t){return t!=null&&Iv(t.length)&&!Sh(t)}function Pv(t){return Mv(t)&&bh(t)}var Ov=I0||Dv;function Sh(t){var e=vi(t)?yi.call(t):"";return e==Ga||e==Qp}function Iv(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Jp}function vi(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Mv(t){return!!t&&typeof t=="object"}function Xa(t){return bh(t)?nv(t):cv(t)}function $v(){return[]}function Dv(){return!1}Lr.exports=Av});var Th=L((mP,_h)=>{"use strict";_h.exports=function(t,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var r=typeof e.cycles=="boolean"?e.cycles:!1,n=e.cmp&&function(i){return function(s){return function(a,u){var c={key:a,value:s[a]},l={key:u,value:s[u]};return i(c,l)}}}(e.cmp),o=[];return function i(s){if(s&&s.toJSON&&typeof s.toJSON=="function"&&(s=s.toJSON()),s!==void 0){if(typeof s=="number")return isFinite(s)?""+s:"null";if(typeof s!="object")return JSON.stringify(s);var a,u;if(Array.isArray(s)){for(u="[",a=0;a<s.length;a++)a&&(u+=","),u+=i(s[a])||"null";return u+"]"}if(s===null)return"null";if(o.indexOf(s)!==-1){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var c=o.push(s)-1,l=Object.keys(s).sort(n&&n(s));for(u="",a=0;a<l.length;a++){var p=l[a],y=i(s[p]);y&&(u&&(u+=","),u+=JSON.stringify(p)+":"+y)}return o.splice(c,1),"{"+u+"}"}}(t)}});var Mh=L((yP,Ih)=>{function Fv(t,e){return JSON.stringify(t,Ah,e)}function Bv(t){return JSON.parse(t,Ch)}function Ah(t,e){return Ph(e)&&Ka(e.data)&&(e.data.length>0?e.data="base64:"+Buffer.from(e.data).toString("base64"):e.data=""),e}function Ch(t,e){if(Ph(e)){if(Ka(e.data))return Buffer.from(e.data);if(Oh(e.data))return e.data.startsWith("base64:")?Buffer.from(e.data.slice(7),"base64"):Buffer.from(e.data)}return e}function Ph(t){return Rv(t)&&t.type==="Buffer"&&(Ka(t.data)||Oh(t.data))}function Ka(t){return Array.isArray(t)}function Oh(t){return typeof t=="string"}function Rv(t){return typeof t=="object"&&t!==null}Ih.exports={stringify:Fv,parse:Bv,replacer:Ah,reviver:Ch}});var nd=L(()=>{});var hd=L(le=>{"use strict";Object.defineProperty(le,"__esModule",{value:!0});le.getFirstTrueOrFalse=le.timeoutAndContinue=le.timeoutWrap=le.map=le.rejectedPromise=le.resolvedPromise=le.defer=le.Deferred=void 0;var Pi=class{constructor(){this.promise=new Promise((e,r)=>{this.resolve=n=>{this.status="fulfilled",this.stoppedAt=Date.now(),e(n)},this.reject=n=>{this.status="rejected",this.stoppedAt=Date.now(),r(n)},this.startedAt=Date.now(),this.status="pending"})}get duration(){return this.stoppedAt?this.stoppedAt-this.startedAt:Date.now()-this.startedAt}};le.Deferred=Pi;le.defer=()=>new Pi;le.resolvedPromise=t=>Promise.resolve(t);le.rejectedPromise=t=>Promise.reject(t);le.map=async(t,e)=>{let r=[],n=[];for(let o of t){let i=e(o);r.push(i),i.then(s=>{n.push(s)})}return await Promise.all(r),n};le.timeoutWrap=async(t,e,r=!0)=>new Promise((n,o)=>{setTimeout(()=>{r?o(new Error("timeout")):n(null)},e),t.then(n,o)});le.timeoutAndContinue=async(t,e=6e4)=>le.timeoutWrap(t,e,!1);le.getFirstTrueOrFalse=async t=>{let e=le.defer();for(let r of t)r.then(n=>{n===!0&&e.resolve(!0)});return Promise.all(t).then(()=>{e.resolve(!1)}),e.promise}});var yd=L((Au,Cu)=>{(function(t,e){typeof Au=="object"&&typeof Cu<"u"?Cu.exports=e():typeof define=="function"&&define.amd?define(e):(t=t||self,t.SweetScroll=e())})(Au,function(){"use strict";var t=function(){return t=Object.assign||function(f){for(var h,m=1,v=arguments.length;m<v;m++){h=arguments[m];for(var R in h)Object.prototype.hasOwnProperty.call(h,R)&&(f[R]=h[R])}return f},t.apply(this,arguments)},e=!!(typeof window<"u"&&window.document&&window.document.createElement),r=e?window.history&&"pushState"in window.history&&window.location.protocol!=="file:":!1,n=function(){var d=!1;if(!e)return d;try{var f=window,h=Object.defineProperty({},"passive",{get:function(){d=!0}});f.addEventListener("test",null,h),f.removeEventListener("test",null,h)}catch{}return d}(),o=function(d){return typeof d=="string"},i=function(d){return typeof d=="function"},s=function(d){return Array.isArray(d)},a=function(d){return!s(d)&&d-parseFloat(d)+1>=0},u=function(d,f){return d&&d.hasOwnProperty(f)},c=e?window.requestAnimationFrame.bind(window):null,l=e?window.cancelAnimationFrame.bind(window):null,p=Math.cos,y=Math.sin,x=Math.pow,E=Math.sqrt,I=Math.PI,$={linear:function(d){return d},easeInQuad:function(d,f,h,m,v){return m*(f/=v)*f+h},easeOutQuad:function(d,f,h,m,v){return-m*(f/=v)*(f-2)+h},easeInOutQuad:function(d,f,h,m,v){return(f/=v/2)<1?m/2*f*f+h:-m/2*(--f*(f-2)-1)+h},easeInCubic:function(d,f,h,m,v){return m*(f/=v)*f*f+h},easeOutCubic:function(d,f,h,m,v){return m*((f=f/v-1)*f*f+1)+h},easeInOutCubic:function(d,f,h,m,v){return(f/=v/2)<1?m/2*f*f*f+h:m/2*((f-=2)*f*f+2)+h},easeInQuart:function(d,f,h,m,v){return m*(f/=v)*f*f*f+h},easeOutQuart:function(d,f,h,m,v){return-m*((f=f/v-1)*f*f*f-1)+h},easeInOutQuart:function(d,f,h,m,v){return(f/=v/2)<1?m/2*f*f*f*f+h:-m/2*((f-=2)*f*f*f-2)+h},easeInQuint:function(d,f,h,m,v){return m*(f/=v)*f*f*f*f+h},easeOutQuint:function(d,f,h,m,v){return m*((f=f/v-1)*f*f*f*f+1)+h},easeInOutQuint:function(d,f,h,m,v){return(f/=v/2)<1?m/2*f*f*f*f*f+h:m/2*((f-=2)*f*f*f*f+2)+h},easeInSine:function(d,f,h,m,v){return-m*p(f/v*(I/2))+m+h},easeOutSine:function(d,f,h,m,v){return m*y(f/v*(I/2))+h},easeInOutSine:function(d,f,h,m,v){return-m/2*(p(I*f/v)-1)+h},easeInExpo:function(d,f,h,m,v){return f===0?h:m*x(2,10*(f/v-1))+h},easeOutExpo:function(d,f,h,m,v){return f===v?h+m:m*(-x(2,-10*f/v)+1)+h},easeInOutExpo:function(d,f,h,m,v){return f===0?h:f===v?h+m:(f/=v/2)<1?m/2*x(2,10*(f-1))+h:m/2*(-x(2,-10*--f)+2)+h},easeInCirc:function(d,f,h,m,v){return-m*(E(1-(f/=v)*f)-1)+h},easeOutCirc:function(d,f,h,m,v){return m*E(1-(f=f/v-1)*f)+h},easeInOutCirc:function(d,f,h,m,v){return(f/=v/2)<1?-m/2*(E(1-f*f)-1)+h:m/2*(E(1-(f-=2)*f)+1)+h}},T=function(d){return Array.prototype.slice.call(d?document.querySelectorAll(d):[])},A=function(d){return T(d).shift()||null},B=function(d){return d instanceof Element},M=function(d){return d===window},z=function(d){return d===document.documentElement||d===document.body},k=function(d,f){if(B(f))return d===f;for(var h=T(f),m=h.length;--m>=0&&h[m]!==d;);return m>-1},J=function(d){return Math.max(d.scrollHeight,d.clientHeight,d.offsetHeight)},N=function(d){return Math.max(d.scrollWidth,d.clientWidth,d.offsetWidth)},D=function(d){return{width:N(d),height:J(d)}},Z=function(d){var f=M(d)||z(d);return{viewport:{width:f?Math.min(window.innerWidth,document.documentElement.clientWidth):d.clientWidth,height:f?window.innerHeight:d.clientHeight},size:f?{width:Math.max(N(document.body),N(document.documentElement)),height:Math.max(J(document.body),J(document.documentElement))}:D(d)}},fe={y:"scrollTop",x:"scrollLeft"},O={y:"pageYOffset",x:"pageXOffset"},b=function(d,f){return M(d)?d[O[f]]:d[fe[f]]},S=function(d,f,h){if(M(d)){var m=h==="y";d.scrollTo(m?d.pageXOffset:f,m?f:d.pageYOffset)}else d[fe[h]]=f},P=function(d,f){var h=d.getBoundingClientRect();if(h.width||h.height){var m={top:0,left:0},v=void 0;if(M(f)||z(f))v=document.documentElement,m.top=window[O.y],m.left=window[O.x];else{v=f;var R=v.getBoundingClientRect();m.top=R.top*-1+v[fe.y],m.left=R.left*-1+v[fe.x]}return{top:h.top+m.top-v.clientTop,left:h.left+m.left-v.clientLeft}}return h},_=function(){return e?"onwheel"in document?"wheel":"mousewheel":"wheel"}(),U=function(d){return d==="wheel"?_:d},w=function(d,f,h,m,v){h.split(" ").forEach(function(R){d[f](U(R),m,n?{passive:v}:!1)})},C=function(d,f,h,m){return w(d,"addEventListener",f,h,m)},F=function(d,f,h,m){return w(d,"removeEventListener",f,h,m)},j=/^(\+|-)=(\d+(?:\.\d+)?)$/,W=function(d,f){var h={top:0,left:0,relative:!1};if(u(d,"top")||u(d,"left"))h=t({},h,d);else if(s(d))if(d.length>1)h.top=d[0],h.left=d[1];else if(d.length===1)h.top=f?d[0]:0,h.left=f?0:d[0];else return null;else if(a(d))f?h.top=d:h.left=d;else if(o(d)){var m=d.trim().match(j);if(!m)return null;var v=m[1],R=parseInt(m[2],10);v==="+"?(h.top=f?R:0,h.left=f?0:R):(h.top=f?-R:0,h.left=f?0:-R),h.relative=!0}else return null;return h},Y={trigger:"[data-scroll]",header:"[data-scroll-header]",duration:1e3,easing:"easeOutQuint",offset:0,vertical:!0,horizontal:!1,cancellable:!0,updateURL:!1,preventDefault:!0,stopPropagation:!0,before:null,after:null,cancel:null,complete:null,step:null},Q="click",ie="wheel touchstart touchmove",pe=function(){function d(f,h){var m=this;this.$el=null,this.ctx={$trigger:null,opts:null,progress:!1,pos:null,startPos:null,easing:null,start:0,id:0,cancel:!1,hash:null},this.loop=function(R){var X=m,K=X.$el,te=X.ctx;if(te.start||(te.start=R),!te.progress||!K){m.stop();return}var rt=te.opts,Me=te.pos,ke=te.start,ir=te.startPos,tn=te.easing,nt=rt.duration,gt={top:"y",left:"x"},Ve=R-ke,ye=Math.min(1,Math.max(Ve/nt,0));Object.keys(Me).forEach(function(sr){var Xn=Me[sr],rn=ir[sr],nn=Xn-rn;if(nn!==0){var Kn=tn(ye,nt*ye,0,1,nt);S(K,Math.round(rn+nn*Kn),gt[sr])}}),Ve<=nt?(m.hook(rt,"step",ye),te.id=d.raf(m.loop)):m.stop(!0)},this.handleClick=function(R){for(var X=m.opts,K=R.target;K&&K!==document;K=K.parentNode)if(k(K,X.trigger)){var te=JSON.parse(K.getAttribute("data-scroll-options")||"{}"),rt=K.getAttribute("data-scroll"),Me=rt||K.getAttribute("href"),ke=t({},X,te),ir=ke.preventDefault,tn=ke.stopPropagation,nt=ke.vertical,gt=ke.horizontal;ir&&R.preventDefault(),tn&&R.stopPropagation(),m.ctx.$trigger=K,gt&&nt?m.to(Me,ke):nt?m.toTop(Me,ke):gt&&m.toLeft(Me,ke);break}},this.handleStop=function(R){var X=m.ctx,K=X.opts;K&&K.cancellable?(X.cancel=!0,m.stop()):R.preventDefault()},this.opts=t({},Y,f||{});var v=null;e&&(typeof h=="string"?v=A(h):h!=null?v=h:v=window),this.$el=v,v&&this.bind(!0,!1)}return d.create=function(f,h){return new d(f,h)},d.prototype.to=function(f,h){if(e){var m=this,v=m.$el,R=m.ctx,X=m.opts,K=R.$trigger,te=t({},X,h||{}),rt=te.offset,Me=te.vertical,ke=te.horizontal,ir=B(te.header)?te.header:A(te.header),tn=/^#/,nt=o(f)&&tn.test(f)?f:null;if(R.opts=te,R.cancel=!1,R.hash=nt,this.stop(),!!v){var gt=W(rt,Me),Ve=W(f,Me),ye={top:0,left:0};if(Ve)if(Ve.relative){var sr=b(v,Me?"y":"x");ye.top=Me?sr+Ve.top:Ve.top,ye.left=Me?Ve.left:sr+Ve.left}else ye=Ve;else if(o(f)&&f!=="#"){var Xn=A(f);if(!Xn)return;ye=P(Xn,v)}gt&&(ye.top+=gt.top,ye.left+=gt.left),ir&&(ye.top=Math.max(0,ye.top-D(ir).height));var rn=Z(v),nn=rn.viewport,Kn=rn.size;if(ye.top=Me?Math.max(0,Math.min(Kn.height-nn.height,ye.top)):b(v,"y"),ye.left=ke?Math.max(0,Math.min(Kn.width-nn.width,ye.left)):b(v,"x"),this.hook(te,"before",ye,K)===!1){R.opts=null;return}R.pos=ye,this.start(te),this.bind(!1,!0)}}},d.prototype.toTop=function(f,h){this.to(f,t({},h||{},{vertical:!0,horizontal:!1}))},d.prototype.toLeft=function(f,h){this.to(f,t({},h||{},{vertical:!1,horizontal:!0}))},d.prototype.toElement=function(f,h){var m=this.$el;!e||!m||this.to(P(f,m),h||{})},d.prototype.stop=function(f){f===void 0&&(f=!1);var h=this,m=h.$el,v=h.ctx,R=v.pos;!m||!v.progress||(d.caf(v.id),v.progress=!1,v.start=0,v.id=0,f&&R&&(S(m,R.left,"x"),S(m,R.top,"y")),this.complete())},d.prototype.update=function(f){if(this.$el){var h=t({},this.opts,f);this.stop(),this.unbind(!0,!0),this.opts=h,this.bind(!0,!1)}},d.prototype.destroy=function(){this.$el&&(this.stop(),this.unbind(!0,!0),this.$el=null)},d.prototype.onBefore=function(f,h){return!0},d.prototype.onStep=function(f){},d.prototype.onAfter=function(f,h){},d.prototype.onCancel=function(){},d.prototype.onComplete=function(f){},d.prototype.start=function(f){var h=this.ctx;h.opts=f,h.progress=!0,h.easing=i(f.easing)?f.easing:$[f.easing];var m=this.$el,v={top:b(m,"y"),left:b(m,"x")};h.startPos=v,h.id=d.raf(this.loop)},d.prototype.complete=function(){var f=this,h=f.$el,m=f.ctx,v=m.hash,R=m.cancel,X=m.opts,K=m.pos,te=m.$trigger;if(!(!h||!X)){if(v!=null&&v!==window.location.hash){var rt=X.updateURL;e&&r&&rt!==!1&&window.history[rt==="replace"?"replaceState":"pushState"](null,"",v)}this.unbind(!1,!0),m.opts=null,m.$trigger=null,R?this.hook(X,"cancel"):this.hook(X,"after",K,te),this.hook(X,"complete",R)}},d.prototype.hook=function(f,h){for(var m=[],v=2;v<arguments.length;v++)m[v-2]=arguments[v];var R,X=f[h],K,te;return i(X)&&(K=X.apply(this,m.concat([this]))),te=(R=this)["on"+(h[0].toUpperCase()+h.slice(1))].apply(R,m),K!==void 0?K:te},d.prototype.bind=function(f,h){var m=this,v=m.$el,R=m.ctx.opts;v&&(f&&C(v,Q,this.handleClick,!1),h&&C(v,ie,this.handleStop,R?R.cancellable:!0))},d.prototype.unbind=function(f,h){var m=this,v=m.$el,R=m.ctx.opts;v&&(f&&F(v,Q,this.handleClick,!1),h&&F(v,ie,this.handleStop,R?R.cancellable:!0))},d.raf=c,d.caf=l,d}();return pe})});var Hi=globalThis,to=Hi.trustedTypes,ku=to?to.createPolicy("lit-html",{createHTML:t=>t}):void 0,zi="$lit$",ot=`lit$${(Math.random()+"").slice(9)}$`,Vi="?"+ot,Ud=`<${Vi}>`,Bt=document,sn=()=>Bt.createComment(""),an=t=>t===null||typeof t!="object"&&typeof t!="function",Vu=Array.isArray,Gu=t=>Vu(t)||typeof t?.[Symbol.iterator]=="function",qi=`[
|
|
6
|
-
\f\r]`,on=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ju=/-->/g,Wu=/>/g,Dt=RegExp(`>|${qi}(?:([^\\s"'>=/]+)(${qi}*=${qi}*(?:[^
|
|
7
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),qu=/'/g,Hu=/"/g,Ju=/^(?:script|style|textarea|title)$/i,Yu=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Gi=Yu(1),Wb=Yu(2),he=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),zu=new WeakMap,Ft=Bt.createTreeWalker(Bt,129);function Zu(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ku!==void 0?ku.createHTML(e):e}var Qu=(t,e)=>{let r=t.length-1,n=[],o,i=e===2?"<svg>":"",s=on;for(let a=0;a<r;a++){let u=t[a],c,l,p=-1,y=0;for(;y<u.length&&(s.lastIndex=y,l=s.exec(u),l!==null);)y=s.lastIndex,s===on?l[1]==="!--"?s=ju:l[1]!==void 0?s=Wu:l[2]!==void 0?(Ju.test(l[2])&&(o=RegExp("</"+l[2],"g")),s=Dt):l[3]!==void 0&&(s=Dt):s===Dt?l[0]===">"?(s=o??on,p=-1):l[1]===void 0?p=-2:(p=s.lastIndex-l[2].length,c=l[1],s=l[3]===void 0?Dt:l[3]==='"'?Hu:qu):s===Hu||s===qu?s=Dt:s===ju||s===Wu?s=on:(s=Dt,o=void 0);let x=s===Dt&&t[a+1].startsWith("/>")?" ":"";i+=s===on?u+Ud:p>=0?(n.push(c),u.slice(0,p)+zi+u.slice(p)+ot+x):u+ot+(p===-2?a:x)}return[Zu(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},un=class t{constructor({strings:e,_$litType$:r},n){let o;this.parts=[];let i=0,s=0,a=e.length-1,u=this.parts,[c,l]=Qu(e,r);if(this.el=t.createElement(c,n),Ft.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(o=Ft.nextNode())!==null&&u.length<a;){if(o.nodeType===1){if(o.hasAttributes())for(let p of o.getAttributeNames())if(p.endsWith(zi)){let y=l[s++],x=o.getAttribute(p).split(ot),E=/([.?@])?(.*)/.exec(y);u.push({type:1,index:i,name:E[2],strings:x,ctor:E[1]==="."?no:E[1]==="?"?oo:E[1]==="@"?io:Nt}),o.removeAttribute(p)}else p.startsWith(ot)&&(u.push({type:6,index:i}),o.removeAttribute(p));if(Ju.test(o.tagName)){let p=o.textContent.split(ot),y=p.length-1;if(y>0){o.textContent=to?to.emptyScript:"";for(let x=0;x<y;x++)o.append(p[x],sn()),Ft.nextNode(),u.push({type:2,index:++i});o.append(p[y],sn())}}}else if(o.nodeType===8)if(o.data===Vi)u.push({type:2,index:i});else{let p=-1;for(;(p=o.data.indexOf(ot,p+1))!==-1;)u.push({type:7,index:i}),p+=ot.length-1}i++}}static createElement(e,r){let n=Bt.createElement("template");return n.innerHTML=e,n}};function Rt(t,e,r=t,n){if(e===he)return e;let o=n!==void 0?r._$Co?.[n]:r._$Cl,i=an(e)?void 0:e._$litDirective$;return o?.constructor!==i&&(o?._$AO?.(!1),i===void 0?o=void 0:(o=new i(t),o._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=o:r._$Cl=o),o!==void 0&&(e=Rt(t,o._$AS(t,e.values),o,n)),e}var ro=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,o=(e?.creationScope??Bt).importNode(r,!0);Ft.currentNode=o;let i=Ft.nextNode(),s=0,a=0,u=n[0];for(;u!==void 0;){if(s===u.index){let c;u.type===2?c=new ar(i,i.nextSibling,this,e):u.type===1?c=new u.ctor(i,u.name,u.strings,this,e):u.type===6&&(c=new so(i,this,e)),this._$AV.push(c),u=n[++a]}s!==u?.index&&(i=Ft.nextNode(),s++)}return Ft.currentNode=Bt,o}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},ar=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,o){this.type=2,this._$AH=ae,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Rt(this,e,r),an(e)?e===ae||e==null||e===""?(this._$AH!==ae&&this._$AR(),this._$AH=ae):e!==this._$AH&&e!==he&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Gu(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==ae&&an(this._$AH)?this._$AA.nextSibling.data=e:this.$(Bt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,o=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=un.createElement(Zu(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===o)this._$AH.p(r);else{let i=new ro(o,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=zu.get(e.strings);return r===void 0&&zu.set(e.strings,r=new un(e)),r}T(e){Vu(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,o=0;for(let i of e)o===r.length?r.push(n=new t(this.k(sn()),this.k(sn()),this,this.options)):n=r[o],n._$AI(i),o++;o<r.length&&(this._$AR(n&&n._$AB.nextSibling,o),r.length=o)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Nt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,o,i){this.type=1,this._$AH=ae,this._$AN=void 0,this.element=e,this.name=r,this._$AM=o,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=ae}_$AI(e,r=this,n,o){let i=this.strings,s=!1;if(i===void 0)e=Rt(this,e,r,0),s=!an(e)||e!==this._$AH&&e!==he,s&&(this._$AH=e);else{let a=e,u,c;for(e=i[0],u=0;u<i.length-1;u++)c=Rt(this,a[n+u],r,u),c===he&&(c=this._$AH[u]),s||=!an(c)||c!==this._$AH[u],c===ae?e=ae:e!==ae&&(e+=(c??"")+i[u+1]),this._$AH[u]=c}s&&!o&&this.O(e)}O(e){e===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},no=class extends Nt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ae?void 0:e}},oo=class extends Nt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ae)}},io=class extends Nt{constructor(e,r,n,o,i){super(e,r,n,o,i),this.type=5}_$AI(e,r=this){if((e=Rt(this,e,r,0)??ae)===he)return;let n=this._$AH,o=e===ae&&n!==ae||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==ae&&(n===ae||o);o&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},so=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Rt(this,e)}},Xu={j:zi,P:ot,A:Vi,C:1,M:Qu,L:ro,R:Gu,V:Rt,D:ar,I:Nt,H:oo,N:io,U:no,B:so},Ld=Hi.litHtmlPolyfillSupport;Ld?.(un,ar),(Hi.litHtmlVersions??=[]).push("3.1.0");var Ji=(t,e,r)=>{let n=r?.renderBefore??e,o=n._$litPart$;if(o===void 0){let i=r?.renderBefore??null;n._$litPart$=o=new ar(e.insertBefore(sn(),i),i,void 0,r??{})}return o._$AI(t),o};var ao=globalThis,uo=ao.ShadowRoot&&(ao.ShadyCSS===void 0||ao.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Yi=Symbol(),Ku=new WeakMap,cn=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Yi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(uo&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Ku.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ku.set(r,e))}return e}toString(){return this.cssText}},ue=t=>new cn(typeof t=="string"?t:t+"",void 0,Yi),Ge=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,o,i)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1],t[0]);return new cn(r,t,Yi)},Zi=(t,e)=>{if(uo)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),o=ao.litNonce;o!==void 0&&n.setAttribute("nonce",o),n.textContent=r.cssText,t.appendChild(n)}},co=uo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return ue(r)})(t):t;var{is:kd,defineProperty:jd,getOwnPropertyDescriptor:Wd,getOwnPropertyNames:qd,getOwnPropertySymbols:Hd,getPrototypeOf:zd}=Object,lo=globalThis,ec=lo.trustedTypes,Vd=ec?ec.emptyScript:"",Gd=lo.reactiveElementPolyfillSupport,ln=(t,e)=>t,fn={toAttribute(t,e){switch(e){case Boolean:t=t?Vd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},fo=(t,e)=>!kd(t,e),tc={attribute:!0,type:String,converter:fn,reflect:!1,hasChanged:fo};Symbol.metadata??=Symbol("metadata"),lo.litPropertyMetadata??=new WeakMap;var it=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=tc){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),o=this.getPropertyDescriptor(e,n,r);o!==void 0&&jd(this.prototype,e,o)}}static getPropertyDescriptor(e,r,n){let{get:o,set:i}=Wd(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return o?.call(this)},set(s){let a=o?.call(this);i.call(this,s),this.requestUpdate(e,a,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??tc}static _$Ei(){if(this.hasOwnProperty(ln("elementProperties")))return;let e=zd(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(ln("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ln("properties"))){let r=this.properties,n=[...qd(r),...Hd(r)];for(let o of n)this.createProperty(o,r[o])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,o]of r)this.elementProperties.set(n,o)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let o=this._$Eu(r,n);o!==void 0&&this._$Eh.set(o,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let o of n)r.unshift(co(o))}else e!==void 0&&r.push(co(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Zi(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),o=this.constructor._$Eu(e,n);if(o!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:fn).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(o):this.setAttribute(o,i),this._$Em=null}}_$AK(e,r){let n=this.constructor,o=n._$Eh.get(e);if(o!==void 0&&this._$Em!==o){let i=n.getPropertyOptions(o),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:fn;this._$Em=o,this[o]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,n,o=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??fo)(o?i:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[o,i]of this._$Ep)this[o]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[o,i]of n)i.wrapped!==!0||this._$AL.has(o)||this[o]===void 0||this.C(o,this[o],i)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};it.elementStyles=[],it.shadowRootOptions={mode:"open"},it[ln("elementProperties")]=new Map,it[ln("finalized")]=new Map,Gd?.({ReactiveElement:it}),(lo.reactiveElementVersions??=[]).push("2.0.2");var xt=class extends it{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Ji(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return he}};xt._$litElement$=!0,xt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:xt});var Jd=globalThis.litElementPolyfillSupport;Jd?.({LitElement:xt});(globalThis.litElementVersions??=[]).push("4.0.2");var xd=Ee(ho(),1);var se={};G(se,{ObservableIntake:()=>hs,Observablemap:()=>ps,rxjs:()=>gn});var H={};G(H,{CumulativeDeferred:()=>yo,Deferred:()=>mo,cumulativeDefer:()=>Zd,defer:()=>Ut,getFirstTrueOrFalse:()=>tm,map:()=>Kd,rejectedPromise:()=>Xd,resolvedPromise:()=>Qd,timeoutAndContinue:()=>em,timeoutWrap:()=>rc});var mo=class{claim(){if(this.claimed)throw new Error("Deferred already claimed");this.claimed=!0}get duration(){return this.stoppedAt?this.stoppedAt-this.startedAt:Date.now()-this.startedAt}constructor(){this.claimed=!1,this.promise=new Promise((e,r)=>{this.resolve=n=>{this.status="fulfilled",this.stoppedAt=Date.now(),e(n)},this.reject=n=>{this.status="rejected",this.stoppedAt=Date.now(),r(n)},this.startedAt=Date.now(),this.status="pending"})}},Ut=()=>new mo;var yo=class{constructor(){this.accumulatedPromises=[],this.deferred=Ut(),this.promise=this.deferred.promise,setTimeout(async()=>{for(;this.accumulatedPromises.length>0;)await this.accumulatedPromises.shift();this.deferred.resolve()},0)}addPromise(e){this.accumulatedPromises.push(e)}},Zd=()=>new yo;var Qd=t=>Promise.resolve(t),Xd=t=>Promise.reject(t),Kd=async(t,e)=>{let r=[],n=[];for(let o of t){let i=e(o);r.push(i),i.then(s=>{n.push(s)})}return await Promise.all(r),n},rc=async(t,e,r=!0)=>new Promise((n,o)=>{setTimeout(()=>{r?o(new Error("timeout")):n(null)},e),t.then(n,o)}),em=async(t,e=6e4)=>rc(t,e,!1),tm=async t=>{let e=Ut();for(let r of t)r.then(n=>{n===!0&&e.resolve(!0)});return Promise.all(t).then(()=>{e.resolve(!1)}),e.promise};var gn={};G(gn,{Observable:()=>ne,ReplaySubject:()=>rs,Subject:()=>at,Subscription:()=>We,from:()=>qt,fromEvent:()=>zt,of:()=>os,ops:()=>Cm});var Qi=function(t,e){return Qi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},Qi(t,e)};function _e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Qi(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function nc(t,e,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(l){try{c(n.next(l))}catch(p){s(p)}}function u(l){try{c(n.throw(l))}catch(p){s(p)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((n=n.apply(t,e||[])).next())})}function go(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(c){return function(l){return u([c,l])}}function u(c){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,c[0]&&(r=0)),r;)try{if(n=1,o&&(i=c[0]&2?o.return:c[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,c[1])).done)return i;switch(o=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,o=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){r.label=c[1];break}if(c[0]===6&&r.label<i[1]){r.label=i[1],i=c;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(c);break}i[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(l){c=[6,l],o=0}finally{n=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function st(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function $e(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),o,i=[],s;try{for(;(e===void 0||e-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i}function je(t,e,r){if(r||arguments.length===2)for(var n=0,o=e.length,i;n<o;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))}function Lt(t){return this instanceof Lt?(this.v=t,this):new Lt(t)}function oc(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(y){n[y]&&(o[y]=function(x){return new Promise(function(E,I){i.push([y,x,E,I])>1||a(y,x)})})}function a(y,x){try{u(n[y](x))}catch(E){p(i[0][3],E)}}function u(y){y.value instanceof Lt?Promise.resolve(y.value.v).then(c,l):p(i[0][2],y)}function c(y){a("next",y)}function l(y){a("throw",y)}function p(y,x){y(x),i.shift(),i.length&&a(i[0][0],i[0][1])}}function ic(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof st=="function"?st(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(s){return new Promise(function(a,u){s=t[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}function q(t){return typeof t=="function"}function xo(t){var e=function(n){Error.call(n),n.stack=new Error().stack},r=t(e);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var vo=xo(function(t){return function(r){t(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
8
|
-
`+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
|
|
9
|
-
`):"",this.name="UnsubscriptionError",this.errors=r}});function kt(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var We=function(){function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var e,r,n,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=st(s),u=a.next();!u.done;u=a.next()){var c=u.value;c.remove(this)}}catch(I){e={error:I}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}else s.remove(this);var l=this.initialTeardown;if(q(l))try{l()}catch(I){i=I instanceof vo?I.errors:[I]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var y=st(p),x=y.next();!x.done;x=y.next()){var E=x.value;try{sc(E)}catch(I){i=i??[],I instanceof vo?i=je(je([],$e(i)),$e(I.errors)):i.push(I)}}}catch(I){n={error:I}}finally{try{x&&!x.done&&(o=y.return)&&o.call(y)}finally{if(n)throw n.error}}}if(i)throw new vo(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)sc(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}},t.prototype._hasParent=function(e){var r=this._parentage;return r===e||Array.isArray(r)&&r.includes(e)},t.prototype._addParent=function(e){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e},t.prototype._removeParent=function(e){var r=this._parentage;r===e?this._parentage=null:Array.isArray(r)&&kt(r,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&kt(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}();var Xi=We.EMPTY;function wo(t){return t instanceof We||t&&"closed"in t&&q(t.remove)&&q(t.add)&&q(t.unsubscribe)}function sc(t){q(t)?t():t.unsubscribe()}var qe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ur={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=ur.delegate;return o?.setTimeout?o.setTimeout.apply(o,je([t,e],$e(r))):setTimeout.apply(void 0,je([t,e],$e(r)))},clearTimeout:function(t){var e=ur.delegate;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function bo(t){ur.setTimeout(function(){var e=qe.onUnhandledError;if(e)e(t);else throw t})}function jt(){}var ac=function(){return Ki("C",void 0,void 0)}();function uc(t){return Ki("E",void 0,t)}function cc(t){return Ki("N",t,void 0)}function Ki(t,e,r){return{kind:t,value:e,error:r}}var Wt=null;function cr(t){if(qe.useDeprecatedSynchronousErrorHandling){var e=!Wt;if(e&&(Wt={errorThrown:!1,error:null}),t(),e){var r=Wt,n=r.errorThrown,o=r.error;if(Wt=null,n)throw o}}else t()}function lc(t){qe.useDeprecatedSynchronousErrorHandling&&Wt&&(Wt.errorThrown=!0,Wt.error=t)}var pn=function(t){_e(e,t);function e(r){var n=t.call(this)||this;return n.isStopped=!1,r?(n.destination=r,wo(r)&&r.add(n)):n.destination=sm,n}return e.create=function(r,n,o){return new Eo(r,n,o)},e.prototype.next=function(r){this.isStopped?ts(cc(r),this):this._next(r)},e.prototype.error=function(r){this.isStopped?ts(uc(r),this):(this.isStopped=!0,this._error(r))},e.prototype.complete=function(){this.isStopped?ts(ac,this):(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(r){this.destination.next(r)},e.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(We);var nm=Function.prototype.bind;function es(t,e){return nm.call(t,e)}var om=function(){function t(e){this.partialObserver=e}return t.prototype.next=function(e){var r=this.partialObserver;if(r.next)try{r.next(e)}catch(n){So(n)}},t.prototype.error=function(e){var r=this.partialObserver;if(r.error)try{r.error(e)}catch(n){So(n)}else So(e)},t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(r){So(r)}},t}(),Eo=function(t){_e(e,t);function e(r,n,o){var i=t.call(this)||this,s;if(q(r)||!r)s={next:r??void 0,error:n??void 0,complete:o??void 0};else{var a;i&&qe.useDeprecatedNextContext?(a=Object.create(r),a.unsubscribe=function(){return i.unsubscribe()},s={next:r.next&&es(r.next,a),error:r.error&&es(r.error,a),complete:r.complete&&es(r.complete,a)}):s=r}return i.destination=new om(s),i}return e}(pn);function So(t){qe.useDeprecatedSynchronousErrorHandling?lc(t):bo(t)}function im(t){throw t}function ts(t,e){var r=qe.onStoppedNotification;r&&ur.setTimeout(function(){return r(t,e)})}var sm={closed:!0,next:jt,error:im,complete:jt};var lr=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function _o(t){return t}function fc(t){return t.length===0?_o:t.length===1?t[0]:function(r){return t.reduce(function(n,o){return o(n)},r)}}var ne=function(){function t(e){e&&(this._subscribe=e)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(e,r,n){var o=this,i=um(e)?e:new Eo(e,r,n);return cr(function(){var s=o,a=s.operator,u=s.source;i.add(a?a.call(i,u):u?o._subscribe(i):o._trySubscribe(i))}),i},t.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(r){e.error(r)}},t.prototype.forEach=function(e,r){var n=this;return r=pc(r),new r(function(o,i){var s=new Eo({next:function(a){try{e(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});n.subscribe(s)})},t.prototype._subscribe=function(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)},t.prototype[lr]=function(){return this},t.prototype.pipe=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return fc(e)(this)},t.prototype.toPromise=function(e){var r=this;return e=pc(e),new e(function(n,o){var i;r.subscribe(function(s){return i=s},function(s){return o(s)},function(){return n(i)})})},t.create=function(e){return new t(e)},t}();function pc(t){var e;return(e=t??qe.Promise)!==null&&e!==void 0?e:Promise}function am(t){return t&&q(t.next)&&q(t.error)&&q(t.complete)}function um(t){return t&&t instanceof pn||am(t)&&wo(t)}function cm(t){return q(t?.lift)}function ce(t){return function(e){if(cm(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function de(t,e,r,n,o){return new lm(t,e,r,n,o)}var lm=function(t){_e(e,t);function e(r,n,o,i,s,a){var u=t.call(this,r)||this;return u.onFinalize=s,u.shouldUnsubscribe=a,u._next=n?function(c){try{n(c)}catch(l){r.error(l)}}:t.prototype._next,u._error=i?function(c){try{i(c)}catch(l){r.error(l)}finally{this.unsubscribe()}}:t.prototype._error,u._complete=o?function(){try{o()}catch(c){r.error(c)}finally{this.unsubscribe()}}:t.prototype._complete,u}return e.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),!n&&((r=this.onFinalize)===null||r===void 0||r.call(this))}},e}(pn);var hc=xo(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var at=function(t){_e(e,t);function e(){var r=t.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return e.prototype.lift=function(r){var n=new dc(this,this);return n.operator=r,n},e.prototype._throwIfClosed=function(){if(this.closed)throw new hc},e.prototype.next=function(r){var n=this;cr(function(){var o,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=st(n.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(r)}}catch(c){o={error:c}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}}})},e.prototype.error=function(r){var n=this;cr(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var o=n.observers;o.length;)o.shift().error(r)}})},e.prototype.complete=function(){var r=this;cr(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(r){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,r)},e.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},e.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,s=o.isStopped,a=o.observers;return i||s?Xi:(this.currentObservers=null,a.push(r),new We(function(){n.currentObservers=null,kt(a,r)}))},e.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,s=n.isStopped;o?r.error(i):s&&r.complete()},e.prototype.asObservable=function(){var r=new ne;return r.source=this,r},e.create=function(r,n){return new dc(r,n)},e}(ne);var dc=function(t){_e(e,t);function e(r,n){var o=t.call(this)||this;return o.destination=r,o.source=n,o}return e.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},e.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},e.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},e.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:Xi},e}(at);var hn={now:function(){return(hn.delegate||Date).now()},delegate:void 0};var rs=function(t){_e(e,t);function e(r,n,o){r===void 0&&(r=1/0),n===void 0&&(n=1/0),o===void 0&&(o=hn);var i=t.call(this)||this;return i._bufferSize=r,i._windowTime=n,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,n),i}return e.prototype.next=function(r){var n=this,o=n.isStopped,i=n._buffer,s=n._infiniteTimeWindow,a=n._timestampProvider,u=n._windowTime;o||(i.push(r),!s&&i.push(a.now()+u)),this._trimBuffer(),t.prototype.next.call(this,r)},e.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),o=this,i=o._infiniteTimeWindow,s=o._buffer,a=s.slice(),u=0;u<a.length&&!r.closed;u+=i?1:2)r.next(a[u]);return this._checkFinalizedStatuses(r),n},e.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,o=r._timestampProvider,i=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*n;if(n<1/0&&a<i.length&&i.splice(0,i.length-a),!s){for(var u=o.now(),c=0,l=1;l<i.length&&i[l]<=u;l+=2)c=l;c&&i.splice(0,c+1)}},e}(at);var mc=function(t){_e(e,t);function e(r,n){return t.call(this)||this}return e.prototype.schedule=function(r,n){return n===void 0&&(n=0),this},e}(We);var dn={setInterval:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=dn.delegate;return o?.setInterval?o.setInterval.apply(o,je([t,e],$e(r))):setInterval.apply(void 0,je([t,e],$e(r)))},clearInterval:function(t){var e=dn.delegate;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var yc=function(t){_e(e,t);function e(r,n){var o=t.call(this,r,n)||this;return o.scheduler=r,o.work=n,o.pending=!1,o}return e.prototype.schedule=function(r,n){var o;if(n===void 0&&(n=0),this.closed)return this;this.state=r;var i=this.id,s=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(s,i,n)),this.pending=!0,this.delay=n,this.id=(o=this.id)!==null&&o!==void 0?o:this.requestAsyncId(s,this.id,n),this},e.prototype.requestAsyncId=function(r,n,o){return o===void 0&&(o=0),dn.setInterval(r.flush.bind(r,this),o)},e.prototype.recycleAsyncId=function(r,n,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return n;n!=null&&dn.clearInterval(n)},e.prototype.execute=function(r,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(r,n);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(r,n){var o=!1,i;try{this.work(r)}catch(s){o=!0,i=s||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),i},e.prototype.unsubscribe=function(){if(!this.closed){var r=this,n=r.id,o=r.scheduler,i=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,kt(i,this),n!=null&&(this.id=this.recycleAsyncId(o,n,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},e}(mc);var ns=function(){function t(e,r){r===void 0&&(r=t.now),this.schedulerActionCtor=e,this.now=r}return t.prototype.schedule=function(e,r,n){return r===void 0&&(r=0),new this.schedulerActionCtor(this,e).schedule(n,r)},t.now=hn.now,t}();var gc=function(t){_e(e,t);function e(r,n){n===void 0&&(n=ns.now);var o=t.call(this,r,n)||this;return o.actions=[],o._active=!1,o}return e.prototype.flush=function(r){var n=this.actions;if(this._active){n.push(r);return}var o;this._active=!0;do if(o=r.execute(r.state,r.delay))break;while(r=n.shift());if(this._active=!1,o){for(;r=n.shift();)r.unsubscribe();throw o}},e}(ns);var mn=new gc(yc),xc=mn;function To(t){return t&&q(t.schedule)}function fm(t){return t[t.length-1]}function fr(t){return To(fm(t))?t.pop():void 0}var pr=function(t){return t&&typeof t.length=="number"&&typeof t!="function"};function Ao(t){return q(t?.then)}function Co(t){return q(t[lr])}function Po(t){return Symbol.asyncIterator&&q(t?.[Symbol.asyncIterator])}function Oo(t){return new TypeError("You provided "+(t!==null&&typeof t=="object"?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function pm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Io=pm();function Mo(t){return q(t?.[Io])}function $o(t){return oc(this,arguments,function(){var r,n,o,i;return go(this,function(s){switch(s.label){case 0:r=t.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,Lt(r.read())];case 3:return n=s.sent(),o=n.value,i=n.done,i?[4,Lt(void 0)]:[3,5];case 4:return[2,s.sent()];case 5:return[4,Lt(o)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function Do(t){return q(t?.getReader)}function ge(t){if(t instanceof ne)return t;if(t!=null){if(Co(t))return hm(t);if(pr(t))return dm(t);if(Ao(t))return mm(t);if(Po(t))return vc(t);if(Mo(t))return ym(t);if(Do(t))return gm(t)}throw Oo(t)}function hm(t){return new ne(function(e){var r=t[lr]();if(q(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function dm(t){return new ne(function(e){for(var r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function mm(t){return new ne(function(e){t.then(function(r){e.closed||(e.next(r),e.complete())},function(r){return e.error(r)}).then(null,bo)})}function ym(t){return new ne(function(e){var r,n;try{for(var o=st(t),i=o.next();!i.done;i=o.next()){var s=i.value;if(e.next(s),e.closed)return}}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}e.complete()})}function vc(t){return new ne(function(e){xm(t,e).catch(function(r){return e.error(r)})})}function gm(t){return vc($o(t))}function xm(t,e){var r,n,o,i;return nc(this,void 0,void 0,function(){var s,a;return go(this,function(u){switch(u.label){case 0:u.trys.push([0,5,6,11]),r=ic(t),u.label=1;case 1:return[4,r.next()];case 2:if(n=u.sent(),!!n.done)return[3,4];if(s=n.value,e.next(s),e.closed)return[2];u.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=u.sent(),o={error:a},[3,11];case 6:return u.trys.push([6,,9,10]),n&&!n.done&&(i=r.return)?[4,i.call(r)]:[3,8];case 7:u.sent(),u.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return e.complete(),[2]}})})}function Fe(t,e,r,n,o){n===void 0&&(n=0),o===void 0&&(o=!1);var i=e.schedule(function(){r(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!o)return i}function Fo(t,e){return e===void 0&&(e=0),ce(function(r,n){r.subscribe(de(n,function(o){return Fe(n,t,function(){return n.next(o)},e)},function(){return Fe(n,t,function(){return n.complete()},e)},function(o){return Fe(n,t,function(){return n.error(o)},e)}))})}function Bo(t,e){return e===void 0&&(e=0),ce(function(r,n){n.add(t.schedule(function(){return r.subscribe(n)},e))})}function wc(t,e){return ge(t).pipe(Bo(e),Fo(e))}function bc(t,e){return ge(t).pipe(Bo(e),Fo(e))}function Sc(t,e){return new ne(function(r){var n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Ec(t,e){return new ne(function(r){var n;return Fe(r,e,function(){n=t[Io](),Fe(r,e,function(){var o,i,s;try{o=n.next(),i=o.value,s=o.done}catch(a){r.error(a);return}s?r.complete():r.next(i)},0,!0)}),function(){return q(n?.return)&&n.return()}})}function Ro(t,e){if(!t)throw new Error("Iterable cannot be null");return new ne(function(r){Fe(r,e,function(){var n=t[Symbol.asyncIterator]();Fe(r,e,function(){n.next().then(function(o){o.done?r.complete():r.next(o.value)})},0,!0)})})}function _c(t,e){return Ro($o(t),e)}function Tc(t,e){if(t!=null){if(Co(t))return wc(t,e);if(pr(t))return Sc(t,e);if(Ao(t))return bc(t,e);if(Po(t))return Ro(t,e);if(Mo(t))return Ec(t,e);if(Do(t))return _c(t,e)}throw Oo(t)}function qt(t,e){return e?Tc(t,e):ge(t)}function os(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=fr(t);return qt(t,r)}function Ac(t){return t instanceof Date&&!isNaN(t)}function Ht(t,e){return ce(function(r,n){var o=0;r.subscribe(de(n,function(i){n.next(t.call(e,i,o++))}))})}var vm=Array.isArray;function wm(t,e){return vm(e)?t.apply(void 0,je([],$e(e))):t(e)}function Cc(t){return Ht(function(e){return wm(t,e)})}function Pc(t,e,r,n,o,i,s,a){var u=[],c=0,l=0,p=!1,y=function(){p&&!u.length&&!c&&e.complete()},x=function(I){return c<n?E(I):u.push(I)},E=function(I){i&&e.next(I),c++;var $=!1;ge(r(I,l++)).subscribe(de(e,function(T){o?.(T),i?x(T):e.next(T)},function(){$=!0},void 0,function(){if($)try{c--;for(var T=function(){var A=u.shift();s?Fe(e,s,function(){return E(A)}):E(A)};u.length&&c<n;)T();y()}catch(A){e.error(A)}}))};return t.subscribe(de(e,x,function(){p=!0,y()})),function(){a?.()}}function yn(t,e,r){return r===void 0&&(r=1/0),q(e)?yn(function(n,o){return Ht(function(i,s){return e(n,i,o,s)})(ge(t(n,o)))},r):(typeof e=="number"&&(r=e),ce(function(n,o){return Pc(n,o,t,r)}))}function Oc(t){return t===void 0&&(t=1/0),yn(_o,t)}function Ic(){return Oc(1)}function is(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Ic()(qt(t,fr(t)))}var bm=["addListener","removeListener"],Sm=["addEventListener","removeEventListener"],Em=["on","off"];function zt(t,e,r,n){if(q(r)&&(n=r,r=void 0),n)return zt(t,e,r).pipe(Cc(n));var o=$e(Am(t)?Sm.map(function(a){return function(u){return t[a](e,u,r)}}):_m(t)?bm.map(Mc(t,e)):Tm(t)?Em.map(Mc(t,e)):[],2),i=o[0],s=o[1];if(!i&&pr(t))return yn(function(a){return zt(a,e,r)})(ge(t));if(!i)throw new TypeError("Invalid event target");return new ne(function(a){var u=function(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];return a.next(1<c.length?c:c[0])};return i(u),function(){return s(u)}})}function Mc(t,e){return function(r){return function(n){return t[r](e,n)}}}function _m(t){return q(t.addListener)&&q(t.removeListener)}function Tm(t){return q(t.on)&&q(t.off)}function Am(t){return q(t.addEventListener)&&q(t.removeEventListener)}function $c(t,e,r){t===void 0&&(t=0),r===void 0&&(r=xc);var n=-1;return e!=null&&(To(e)?r=e:n=e),new ne(function(o){var i=Ac(t)?+t-r.now():t;i<0&&(i=0);var s=0;return r.schedule(function(){o.closed||(o.next(s++),0<=n?this.schedule(void 0,n):o.complete())},i)})}function ss(t,e){return ce(function(r,n){var o=0;r.subscribe(de(n,function(i){return t.call(e,i,o++)&&n.next(i)}))})}function as(t){return ce(function(e,r){var n=!1,o=null,i=null,s=function(){if(i?.unsubscribe(),i=null,n){n=!1;var a=o;o=null,r.next(a)}};e.subscribe(de(r,function(a){i?.unsubscribe(),n=!0,o=a,i=de(r,s,jt),ge(t(a)).subscribe(i)},function(){s(),r.complete()},void 0,function(){o=i=null}))})}function us(t,e){return e===void 0&&(e=mn),ce(function(r,n){var o=null,i=null,s=null,a=function(){if(o){o.unsubscribe(),o=null;var c=i;i=null,n.next(c)}};function u(){var c=s+t,l=e.now();if(l<c){o=this.schedule(void 0,c-l),n.add(o);return}a()}r.subscribe(de(n,function(c){i=c,s=e.now(),o||(o=e.schedule(u,t),n.add(o))},function(){a(),n.complete()},void 0,function(){i=o=null}))})}function cs(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=fr(t);return ce(function(n,o){(r?is(t,n,r):is(t,n)).subscribe(o)})}function ls(t){return ce(function(e,r){ge(t).subscribe(de(r,function(){return r.complete()},jt)),!r.closed&&e.subscribe(r)})}function Dc(t,e){return ce(function(r,n){var o=e??{},i=o.leading,s=i===void 0?!0:i,a=o.trailing,u=a===void 0?!1:a,c=!1,l=null,p=null,y=!1,x=function(){p?.unsubscribe(),p=null,u&&($(),y&&n.complete())},E=function(){p=null,y&&n.complete()},I=function(T){return p=ge(t(T)).subscribe(de(n,x,E))},$=function(){if(c){c=!1;var T=l;l=null,n.next(T),!y&&I(T)}};r.subscribe(de(n,function(T){c=!0,l=T,!(p&&!p.closed)&&(s?$():I(T))},function(){y=!0,!(u&&c&&p&&!p.closed)&&n.complete()}))})}function fs(t,e,r){e===void 0&&(e=mn);var n=$c(t,e);return Dc(function(){return n},r)}var Cm={debounce:as,debounceTime:us,map:Ht,startWith:cs,takeUntil:ls,throttleTime:fs,filter:ss};var ps=class{constructor(){this.observableEventEmitterBundleArray=new Array,this.observableEventTargetBundleArray=new Array}getSubjectForEmitterEvent(e,r){let n=this.observableEventEmitterBundleArray.find(o=>o.eventRef===e&&o.event===r);if(n)return n.subject;{let o=zt(e,r),i=new at;o.subscribe(i);let s={subject:i,eventRef:e,event:r};return this.observableEventEmitterBundleArray.push(s),s.subject}}getSubjectForEventTarget(e,r){let n=this.observableEventTargetBundleArray.find(o=>o.eventRef===e&&o.event===r);if(n)return n.subject;{let i={subject:new at,eventRef:e,event:r};return this.observableEventTargetBundleArray.push(i),i.subject}}};var hs=class{constructor(){this.observableFunctions={next:e=>{},complete:e=>{}},this.generator=null,this.buffered=!1,this.payloadBuffer=[],this.observable=new ne(e=>{this.observableFunctions.next=(...r)=>e.next(r),this.observableFunctions.complete=()=>(this.completedDeffered.resolve(),e.complete())}),this.completedDeffered=H.defer(),this.completed=this.completedDeffered.promise}setObservable(e){this.observable=e}push(e){this.buffered?this.payloadBuffer.push(e):this.internalPush(e)}pushMany(e){for(let r of e)this.push(r)}setGenerator(e){this.generator=e}makeBuffered(){this.buffered=!0}subscribe(...e){return this.observable.subscribe(...e)}request(e){if(e!==0)for(let r=0;r!==e;r++)if(this.payloadBuffer.length>0)this.internalPush(this.payloadBuffer.shift());else{let n=this.generator.next();this.internalPush(n.value)}}signalComplete(){this.observableFunctions.complete()}internalPush(e){this.observableFunctions.next(e)}};var Pm={attribute:!0,type:String,converter:fn,reflect:!1,hasChanged:fo},Om=(t=Pm,e,r)=>{let{kind:n,metadata:o}=r,i=globalThis.litPropertyMetadata.get(o);if(i===void 0&&globalThis.litPropertyMetadata.set(o,i=new Map),i.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(a){let u=e.get.call(this);e.set.call(this,a),this.requestUpdate(s,u,t)},init(a){return a!==void 0&&this.C(s,void 0,t),a}}}if(n==="setter"){let{name:s}=r;return function(a){let u=this[s];e.call(this,a),this.requestUpdate(s,u,t)}}throw Error("Unsupported decorator location: "+n)};function xn(t){return(e,r)=>typeof r=="object"?Om(t,e,r):((n,o,i)=>{let s=o.hasOwnProperty(i);return o.constructor.createProperty(i,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(o,i):void 0})(t,e,r)}var $t={};G($t,{DomTools:()=>et,TypedRequest:()=>qn,breakpoints:()=>yt,css:()=>Bu,elementBasic:()=>Jn,plugins:()=>Ob});var Jn={};G(Jn,{setup:()=>Cb,staticStyles:()=>Tb,styles:()=>Ab});var _i={};G(_i,{DeesComms:()=>xu});var ee={};G(ee,{Timeout:()=>No,delayFor:()=>Fc,delayForRandom:()=>Im});var Fc=async(t,e,r=!1)=>(await new No(t,null,r).promise,e),Im=async(t,e,r,n=!1)=>(await Fc(Math.random()*(e-t)+t,null,n),r),No=class{constructor(e,r,n=!1){this._cancelled=!1,this.timeoutInMillis=e,this._deferred=Ut(),this.promise=this._deferred.promise,this._timeout=setTimeout(()=>{this._cancelled||this._deferred.resolve(r)},e),this.started=Date.now(),n&&this.makeUnrefed()}makeUnrefed(){this._timeout.unref()}cancel(){this._cancelled=!0,clearTimeout(this._timeout)}getTimeLeft(){let e=this.started+this.timeoutInMillis-Date.now();return e>0?e:0}};var Le={};G(Le,{TypedHandler:()=>lu,TypedRequest:()=>qn,TypedResponseError:()=>tr,TypedRouter:()=>fu,TypedTarget:()=>pu});var jh=Ee(ho(),1);var Je={};G(Je,{AsyncExecutionStack:()=>Ds,BackpressuredArray:()=>Fs,FastMap:()=>Vt,Interest:()=>Sn,InterestMap:()=>Bs,LimitedArray:()=>Rs,LoopTracker:()=>Ns,ObjectMap:()=>ct,Stringmap:()=>En,TimedAggregtor:()=>Us,Tree:()=>Ls,uni:()=>el});var Lo={};G(Lo,{SmartMatch:()=>ys});var Uo={};G(Uo,{isMatch:()=>Dm,matcher:()=>$m});function ds(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ms=new Map,Bc=(t,e)=>{if(!Array.isArray(t))switch(typeof t){case"string":t=[t];break;case"undefined":t=[];break;default:throw new TypeError(`Expected '${e}' to be a string or an array, but got a type of '${typeof t}'`)}return t.filter(r=>{if(typeof r!="string"){if(typeof r>"u")return!1;throw new TypeError(`Expected '${e}' to be an array of strings, but found a type of '${typeof r}' in the array`)}return!0})},Mm=(t,e)=>{e={caseSensitive:!1,...e};let r=t+JSON.stringify(e);if(ms.has(r))return ms.get(r);let n=t[0]==="!";n&&(t=t.slice(1)),t=ds(t).replace(/\\\*/g,"[\\s\\S]*");let o=new RegExp(`^${t}$`,e.caseSensitive?"":"i");return o.negated=n,ms.set(r,o),o},Rc=(t,e,r,n)=>{if(t=Bc(t,"inputs"),e=Bc(e,"patterns"),e.length===0)return[];e=e.map(s=>Mm(s,r));let{allPatterns:o}=r||{},i=[];for(let s of t){let a,u=[...e].fill(!1);for(let[c,l]of e.entries())if(l.test(s)&&(u[c]=!0,a=!l.negated,!a))break;if(!(a===!1||a===void 0&&e.some(c=>!c.negated)||o&&u.some((c,l)=>!c&&!e[l].negated))&&(i.push(s),n))break}return i};function $m(t,e,r){return Rc(t,e,r,!1)}function Dm(t,e,r){return Rc(t,e,r,!0).length>0}var ys=class{constructor(e){this.wildcard=e}match(e){return Uo.isMatch(e,this.wildcard)}};var yr={};G(yr,{CronJob:()=>bn,CronManager:()=>As,ExtendedDate:()=>Cs,HrtMeasurement:()=>Ps,Interval:()=>Os,TimeStamp:()=>mr,Timer:()=>Is,getMilliSecondsAsHumanReadableString:()=>Ts,getMilliSecondsFromUnits:()=>_s,units:()=>vt});function Ce(t,e,r,n,o,i,s,a){return Ce.fromTZ(Ce.tp(t,e,r,n,o,i,s),a)}Ce.fromTZISO=(t,e,r)=>Ce.fromTZ(Bm(t,e),r);Ce.fromTZ=function(t,e){let r=new Date(Date.UTC(t.y,t.m-1,t.d,t.h,t.i,t.s)),n=gs(t.tz,r),o=new Date(r.getTime()-n),i=gs(t.tz,o);if(i-n===0)return o;{let s=new Date(r.getTime()-i),a=gs(t.tz,s);if(a-i===0)return s;if(!e&&a-i>0)return s;if(e)throw new Error("Invalid date passed to fromTZ()");return o}};Ce.toTZ=function(t,e){let r=t.toLocaleString("en-US",{timeZone:e}).replace(/[\u202f]/," "),n=new Date(r);return{y:n.getFullYear(),m:n.getMonth()+1,d:n.getDate(),h:n.getHours(),i:n.getMinutes(),s:n.getSeconds(),tz:e}};Ce.tp=(t,e,r,n,o,i,s)=>({y:t,m:e,d:r,h:n,i:o,s:i,tz:s});function gs(t,e=new Date){let r=e.toLocaleString("en-US",{timeZone:t,timeZoneName:"short"}).split(" ").slice(-1)[0],n=e.toLocaleString("en-US").replace(/[\u202f]/," ");return Date.parse(`${n} GMT`)-Date.parse(`${n} ${r}`)}function Bm(t,e){let r=new Date(Date.parse(t));if(isNaN(r))throw new Error("minitz: Invalid ISO8601 passed to parser.");let n=t.substring(9);return t.includes("Z")||n.includes("-")||n.includes("+")?Ce.tp(r.getUTCFullYear(),r.getUTCMonth()+1,r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),"Etc/UTC"):Ce.tp(r.getFullYear(),r.getMonth()+1,r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),e)}Ce.minitz=Ce;function Rm(t){if(t===void 0&&(t={}),delete t.name,t.legacyMode=t.legacyMode===void 0?!0:t.legacyMode,t.paused=t.paused===void 0?!1:t.paused,t.maxRuns=t.maxRuns===void 0?1/0:t.maxRuns,t.catch=t.catch===void 0?!1:t.catch,t.interval=t.interval===void 0?0:parseInt(t.interval,10),t.utcOffset=t.utcOffset===void 0?void 0:parseInt(t.utcOffset,10),t.unref=t.unref===void 0?!1:t.unref,t.startAt&&(t.startAt=new me(t.startAt,t.timezone)),t.stopAt&&(t.stopAt=new me(t.stopAt,t.timezone)),t.interval!==null){if(isNaN(t.interval))throw new Error("CronOptions: Supplied value for interval is not a number");if(t.interval<0)throw new Error("CronOptions: Supplied value for interval can not be negative")}if(t.utcOffset!==void 0){if(isNaN(t.utcOffset))throw new Error("CronOptions: Invalid value passed for utcOffset, should be number representing minutes offset from UTC.");if(t.utcOffset<-870||t.utcOffset>870)throw new Error("CronOptions: utcOffset out of bounds.");if(t.utcOffset!==void 0&&t.timezone)throw new Error("CronOptions: Combining 'utcOffset' with 'timezone' is not allowed.")}if(t.unref!==!0&&t.unref!==!1)throw new Error("CronOptions: Unref should be either true, false or undefined(false).");return t}var xs=32,vn=31|xs,Uc=[1,2,4,16,16];function Pe(t,e){this.pattern=t,this.timezone=e,this.second=Array(60).fill(0),this.minute=Array(60).fill(0),this.hour=Array(24).fill(0),this.day=Array(31).fill(0),this.month=Array(12).fill(0),this.dayOfWeek=Array(7).fill(0),this.lastDayOfMonth=!1,this.starDOM=!1,this.starDOW=!1,this.parse()}Pe.prototype.parse=function(){if(!(typeof this.pattern=="string"||this.pattern.constructor===String))throw new TypeError("CronPattern: Pattern has to be of type string.");this.pattern.indexOf("@")>=0&&(this.pattern=this.handleNicknames(this.pattern).trim());let t=this.pattern.replace(/\s+/g," ").split(" ");if(t.length<5||t.length>6)throw new TypeError("CronPattern: invalid configuration format ('"+this.pattern+"'), exacly five or six space separated parts required.");if(t.length===5&&t.unshift("0"),t[3].indexOf("L")>=0&&(t[3]=t[3].replace("L",""),this.lastDayOfMonth=!0),t[3]=="*"&&(this.starDOM=!0),t[4].length>=3&&(t[4]=this.replaceAlphaMonths(t[4])),t[5].length>=3&&(t[5]=this.replaceAlphaDays(t[5])),t[5]=="*"&&(this.starDOW=!0),this.pattern.indexOf("?")>=0){let e=new me(new Date,this.timezone).getDate(!0);t[0]=t[0].replace("?",e.getSeconds()),t[1]=t[1].replace("?",e.getMinutes()),t[2]=t[2].replace("?",e.getHours()),this.starDOM||(t[3]=t[3].replace("?",e.getDate())),t[4]=t[4].replace("?",e.getMonth()+1),this.starDOW||(t[5]=t[5].replace("?",e.getDay()))}this.throwAtIllegalCharacters(t),this.partToArray("second",t[0],0,1),this.partToArray("minute",t[1],0,1),this.partToArray("hour",t[2],0,1),this.partToArray("day",t[3],-1,1),this.partToArray("month",t[4],-1,1),this.partToArray("dayOfWeek",t[5],0,vn),this.dayOfWeek[7]&&(this.dayOfWeek[0]=this.dayOfWeek[7])};Pe.prototype.partToArray=function(t,e,r,n){let o=this[t],i=t==="day"&&this.lastDayOfMonth;if(e===""&&!i)throw new TypeError("CronPattern: configuration entry "+t+" ("+e+") is empty, check for trailing spaces.");if(e==="*")return o.fill(n);let s=e.split(",");if(s.length>1)for(let a=0;a<s.length;a++)this.partToArray(t,s[a],r,n);else e.indexOf("-")!==-1&&e.indexOf("/")!==-1?this.handleRangeWithStepping(e,t,r,n):e.indexOf("-")!==-1?this.handleRange(e,t,r,n):e.indexOf("/")!==-1?this.handleStepping(e,t,r,n):e!==""&&this.handleNumber(e,t,r,n)};Pe.prototype.throwAtIllegalCharacters=function(t){for(let e=0;e<t.length;e++)if((e===5?/[^/*0-9,\-#L]+/:/[^/*0-9,-]+/).test(t[e]))throw new TypeError("CronPattern: configuration entry "+e+" ("+t[e]+") contains illegal characters.")};Pe.prototype.handleNumber=function(t,e,r,n){let o=this.extractNth(t,e),i=parseInt(o[0],10)+r;if(isNaN(i))throw new TypeError("CronPattern: "+e+" is not a number: '"+t+"'");this.setPart(e,i,o[1]||n)};Pe.prototype.setPart=function(t,e,r){if(!Object.prototype.hasOwnProperty.call(this,t))throw new TypeError("CronPattern: Invalid part specified: "+t);if(t==="dayOfWeek"){if(e===7&&(e=0),(e<0||e>6)&&e!=="L")throw new RangeError("CronPattern: Invalid value for dayOfWeek: "+e);this.setNthWeekdayOfMonth(e,r);return}if(t==="second"||t==="minute"){if(e<0||e>=60)throw new RangeError("CronPattern: Invalid value for "+t+": "+e)}else if(t==="hour"){if(e<0||e>=24)throw new RangeError("CronPattern: Invalid value for "+t+": "+e)}else if(t==="day"){if(e<0||e>=31)throw new RangeError("CronPattern: Invalid value for "+t+": "+e)}else if(t==="month"&&(e<0||e>=12))throw new RangeError("CronPattern: Invalid value for "+t+": "+e);this[t][e]=r};Pe.prototype.handleRangeWithStepping=function(t,e,r,n){let o=this.extractNth(t,e),i=o[0].match(/^(\d+)-(\d+)\/(\d+)$/);if(i===null)throw new TypeError("CronPattern: Syntax error, illegal range with stepping: '"+t+"'");let[,s,a,u]=i;if(s=parseInt(s,10)+r,a=parseInt(a,10)+r,u=parseInt(u,10),isNaN(s))throw new TypeError("CronPattern: Syntax error, illegal lower range (NaN)");if(isNaN(a))throw new TypeError("CronPattern: Syntax error, illegal upper range (NaN)");if(isNaN(u))throw new TypeError("CronPattern: Syntax error, illegal stepping: (NaN)");if(u===0)throw new TypeError("CronPattern: Syntax error, illegal stepping: 0");if(u>this[e].length)throw new TypeError("CronPattern: Syntax error, steps cannot be greater than maximum value of part ("+this[e].length+")");if(s>a)throw new TypeError("CronPattern: From value is larger than to value: '"+t+"'");for(let c=s;c<=a;c+=u)this.setPart(e,c,o[1]||n)};Pe.prototype.extractNth=function(t,e){let r=t,n;if(r.includes("#")){if(e!=="dayOfWeek")throw new Error("CronPattern: nth (#) only allowed in day-of-week field");n=r.split("#")[1],r=r.split("#")[0]}return[r,n]};Pe.prototype.handleRange=function(t,e,r,n){let o=this.extractNth(t,e),i=o[0].split("-");if(i.length!==2)throw new TypeError("CronPattern: Syntax error, illegal range: '"+t+"'");let s=parseInt(i[0],10)+r,a=parseInt(i[1],10)+r;if(isNaN(s))throw new TypeError("CronPattern: Syntax error, illegal lower range (NaN)");if(isNaN(a))throw new TypeError("CronPattern: Syntax error, illegal upper range (NaN)");if(s>a)throw new TypeError("CronPattern: From value is larger than to value: '"+t+"'");for(let u=s;u<=a;u++)this.setPart(e,u,o[1]||n)};Pe.prototype.handleStepping=function(t,e,r,n){let o=this.extractNth(t,e),i=o[0].split("/");if(i.length!==2)throw new TypeError("CronPattern: Syntax error, illegal stepping: '"+t+"'");let s=0;i[0]!=="*"&&(s=parseInt(i[0],10)+r);let a=parseInt(i[1],10);if(isNaN(a))throw new TypeError("CronPattern: Syntax error, illegal stepping: (NaN)");if(a===0)throw new TypeError("CronPattern: Syntax error, illegal stepping: 0");if(a>this[e].length)throw new TypeError("CronPattern: Syntax error, max steps for part is ("+this[e].length+")");for(let u=s;u<this[e].length;u+=a)this.setPart(e,u,o[1]||n)};Pe.prototype.replaceAlphaDays=function(t){return t.replace(/-sun/gi,"-7").replace(/sun/gi,"0").replace(/mon/gi,"1").replace(/tue/gi,"2").replace(/wed/gi,"3").replace(/thu/gi,"4").replace(/fri/gi,"5").replace(/sat/gi,"6")};Pe.prototype.replaceAlphaMonths=function(t){return t.replace(/jan/gi,"1").replace(/feb/gi,"2").replace(/mar/gi,"3").replace(/apr/gi,"4").replace(/may/gi,"5").replace(/jun/gi,"6").replace(/jul/gi,"7").replace(/aug/gi,"8").replace(/sep/gi,"9").replace(/oct/gi,"10").replace(/nov/gi,"11").replace(/dec/gi,"12")};Pe.prototype.handleNicknames=function(t){let e=t.trim().toLowerCase();return e==="@yearly"||e==="@annually"?"0 0 1 1 *":e==="@monthly"?"0 0 1 * *":e==="@weekly"?"0 0 * * 0":e==="@daily"?"0 0 * * *":e==="@hourly"?"0 * * * *":t};Pe.prototype.setNthWeekdayOfMonth=function(t,e){if(e==="L")this.dayOfWeek[t]=this.dayOfWeek[t]|xs;else if(e<6&&e>0)this.dayOfWeek[t]=this.dayOfWeek[t]|Uc[e-1];else if(e===vn)this.dayOfWeek[t]=vn;else throw new TypeError(`CronPattern: nth weekday of of range, should be 1-5 or L. Value: ${e}`)};var Lc=[31,28,31,30,31,30,31,31,30,31,30,31],ut=[["month","year",0],["day","month",-1],["hour","day",0],["minute","hour",0],["second","minute",0]];function me(t,e){if(this.tz=e,t&&t instanceof Date)if(!isNaN(t))this.fromDate(t);else throw new TypeError("CronDate: Invalid date passed to CronDate constructor");else if(t===void 0)this.fromDate(new Date);else if(t&&typeof t=="string")this.fromString(t);else if(t instanceof me)this.fromCronDate(t);else throw new TypeError("CronDate: Invalid type ("+typeof t+") passed to CronDate constructor")}me.prototype.isNthWeekdayOfMonth=function(t,e,r,n){let i=new Date(Date.UTC(t,e,r)).getUTCDay(),s=0;for(let a=1;a<=r;a++)new Date(Date.UTC(t,e,a)).getUTCDay()===i&&s++;if(n&vn&&Uc[s-1]&n)return!0;if(n&xs){let a=new Date(Date.UTC(t,e+1,0)).getUTCDate();for(let u=r+1;u<=a;u++)if(new Date(Date.UTC(t,e,u)).getUTCDay()===i)return!1;return!0}return!1};me.prototype.fromDate=function(t){if(this.tz!==void 0)if(typeof this.tz=="number")this.ms=t.getUTCMilliseconds(),this.second=t.getUTCSeconds(),this.minute=t.getUTCMinutes()+this.tz,this.hour=t.getUTCHours(),this.day=t.getUTCDate(),this.month=t.getUTCMonth(),this.year=t.getUTCFullYear(),this.apply();else{let e=Ce.toTZ(t,this.tz);this.ms=t.getMilliseconds(),this.second=e.s,this.minute=e.i,this.hour=e.h,this.day=e.d,this.month=e.m-1,this.year=e.y}else this.ms=t.getMilliseconds(),this.second=t.getSeconds(),this.minute=t.getMinutes(),this.hour=t.getHours(),this.day=t.getDate(),this.month=t.getMonth(),this.year=t.getFullYear()};me.prototype.fromCronDate=function(t){this.tz=t.tz,this.year=t.year,this.month=t.month,this.day=t.day,this.hour=t.hour,this.minute=t.minute,this.second=t.second,this.ms=t.ms};me.prototype.apply=function(){if(this.month>11||this.day>Lc[this.month]||this.hour>59||this.minute>59||this.second>59||this.hour<0||this.minute<0||this.second<0){let t=new Date(Date.UTC(this.year,this.month,this.day,this.hour,this.minute,this.second,this.ms));return this.ms=t.getUTCMilliseconds(),this.second=t.getUTCSeconds(),this.minute=t.getUTCMinutes(),this.hour=t.getUTCHours(),this.day=t.getUTCDate(),this.month=t.getUTCMonth(),this.year=t.getUTCFullYear(),!0}else return!1};me.prototype.fromString=function(t){return this.fromDate(Ce.fromTZISO(t,this.tz))};me.prototype.findNext=function(t,e,r,n){let o=this[e],i;r.lastDayOfMonth&&(this.month!==1?i=Lc[this.month]:i=new Date(Date.UTC(this.year,this.month+1,0,0,0,0,0)).getUTCDate());let s=!r.starDOW&&e=="day"?new Date(Date.UTC(this.year,this.month,1,0,0,0,0)).getUTCDay():void 0;for(let a=this[e]+n;a<r[e].length;a++){let u=r[e][a];if(e==="day"&&r.lastDayOfMonth&&a-n==i&&(u=!0),e==="day"&&!r.starDOW){let c=r.dayOfWeek[(s+(a-n-1))%7];if(c&&c&vn)c=this.isNthWeekdayOfMonth(this.year,this.month,a-n,c);else if(c)throw new Error(`CronDate: Invalid value for dayOfWeek encountered. ${c}`);t.legacyMode&&!r.starDOM?u=u||c:u=u&&c}if(u)return this[e]=a-n,o!==this[e]?2:1}return 3};me.prototype.recurse=function(t,e,r){let n=this.findNext(e,ut[r][0],t,ut[r][2]);if(n>1){let o=r+1;for(;o<ut.length;)this[ut[o][0]]=-ut[o][2],o++;if(n===3)return this[ut[r][1]]++,this[ut[r][0]]=-ut[r][2],this.apply(),this.recurse(t,e,0);if(this.apply())return this.recurse(t,e,r-1)}return r+=1,r>=ut.length?this:this.year>=3e3?null:this.recurse(t,e,r)};me.prototype.increment=function(t,e,r){return this.second+=e.interval>1&&r?e.interval:1,this.ms=0,this.apply(),this.recurse(t,e,0)};me.prototype.getDate=function(t){return t||this.tz===void 0?new Date(this.year,this.month,this.day,this.hour,this.minute,this.second,this.ms):typeof this.tz=="number"?new Date(Date.UTC(this.year,this.month,this.day,this.hour,this.minute-this.tz,this.second,this.ms)):Ce(this.year,this.month+1,this.day,this.hour,this.minute,this.second,this.tz)};me.prototype.getTime=function(){return this.getDate().getTime()};function ko(t){return Object.prototype.toString.call(t)==="[object Function]"||typeof t=="function"||t instanceof Function}function Nm(t){typeof Deno<"u"&&typeof Deno.unrefTimer<"u"?Deno.unrefTimer(t):t&&typeof t.unref<"u"&&t.unref()}var Nc=30*1e3,wn=[];function oe(t,e,r){if(!(this instanceof oe))return new oe(t,e,r);let n,o;if(ko(e))o=e;else if(typeof e=="object")n=e;else if(e!==void 0)throw new Error("Cron: Invalid argument passed for optionsIn. Should be one of function, or object (options).");if(ko(r))o=r;else if(typeof r=="object")n=r;else if(r!==void 0)throw new Error("Cron: Invalid argument passed for funcIn. Should be one of function, or object (options).");if(this.name=n?n.name:void 0,this.options=Rm(n),this._states={kill:!1,blocking:!1,previousRun:void 0,currentRun:void 0,once:void 0,currentTimeout:void 0,maxRuns:n?n.maxRuns:void 0,paused:n?n.paused:!1,pattern:void 0},t&&(t instanceof Date||typeof t=="string"&&t.indexOf(":")>0)?this._states.once=new me(t,this.options.timezone||this.options.utcOffset):this._states.pattern=new Pe(t,this.options.timezone),this.name){if(wn.find(s=>s.name===this.name))throw new Error("Cron: Tried to initialize new named job '"+this.name+"', but name already taken.");wn.push(this)}return o!==void 0&&(this.fn=o,this.schedule()),this}oe.prototype.nextRun=function(t){let e=this._next(t);return e?e.getDate():null};oe.prototype.nextRuns=function(t,e){t>this._states.maxRuns&&(t=this._states.maxRuns);let r=[],n=e||this._states.currentRun;for(;t--&&(n=this.nextRun(n));)r.push(n);return r};oe.prototype.getPattern=function(){return this._states.pattern?this._states.pattern.pattern:void 0};oe.prototype.isRunning=function(){let t=this.nextRun(this._states.currentRun),e=!this._states.paused,r=this.fn!==void 0,n=!this._states.kill;return e&&r&&n&&t!==null};oe.prototype.isStopped=function(){return this._states.kill};oe.prototype.isBusy=function(){return this._states.blocking};oe.prototype.currentRun=function(){return this._states.currentRun?this._states.currentRun.getDate():null};oe.prototype.previousRun=function(){return this._states.previousRun?this._states.previousRun.getDate():null};oe.prototype.msToNext=function(t){t=t||new Date;let e=this._next(t);return e?e.getTime()-t.getTime():null};oe.prototype.stop=function(){this._states.kill=!0,this._states.currentTimeout&&clearTimeout(this._states.currentTimeout);let t=wn.indexOf(this);t>=0&&wn.splice(t,1)};oe.prototype.pause=function(){return this._states.paused=!0,!this._states.kill};oe.prototype.resume=function(){return this._states.paused=!1,!this._states.kill};oe.prototype.schedule=function(t){if(t&&this.fn)throw new Error("Cron: It is not allowed to schedule two functions using the same Croner instance.");t&&(this.fn=t);let e=this.msToNext(),r=this.nextRun(this._states.currentRun);return e===null||r===null?this:(e>Nc&&(e=Nc),this._states.currentTimeout=setTimeout(()=>this._checkTrigger(r),e),this._states.currentTimeout&&this.options.unref&&Nm(this._states.currentTimeout),this)};oe.prototype._trigger=async function(t){if(this._states.blocking=!0,this._states.currentRun=new me(void 0,this.options.timezone||this.options.utcOffset),this.options.catch)try{await this.fn(this,this.options.context)}catch(e){ko(this.options.catch)&&this.options.catch(e,this)}else await this.fn(this,this.options.context);this._states.previousRun=new me(t,this.options.timezone||this.options.utcOffset),this._states.blocking=!1};oe.prototype.trigger=async function(){await this._trigger()};oe.prototype._checkTrigger=function(t){let e=new Date,r=!this._states.paused&&e.getTime()>=t,n=this._states.blocking&&this.options.protect;r&&!n?(this._states.maxRuns--,this._trigger()):r&&n&&ko(this.options.protect)&&setTimeout(()=>this.options.protect(this),0),this.schedule()};oe.prototype._next=function(t){let e=!!(t||this._states.currentRun);t=new me(t,this.options.timezone||this.options.utcOffset),this.options.startAt&&t&&t.getTime()<this.options.startAt.getTime()&&(t=this.options.startAt);let r=this._states.once||new me(t,this.options.timezone||this.options.utcOffset).increment(this._states.pattern,this.options,e);return this._states.once&&this._states.once.getTime()<=t.getTime()||r===null||this._states.maxRuns<=0||this._states.kill||this.options.stopAt&&r.getTime()>=this.options.stopAt.getTime()?null:r};oe.Cron=oe;oe.scheduledJobs=wn;var hr=Ee(kc(),1),Wc=Ee(jc(),1);function Es(t){if(typeof t!="number")throw new TypeError("Expected a number");let e=t>0?Math.floor:Math.ceil;return{days:e(t/864e5),hours:e(t/36e5)%24,minutes:e(t/6e4)%60,seconds:e(t/1e3)%60,milliseconds:e(t)%1e3,microseconds:e(t*1e3)%1e3,nanoseconds:e(t*1e6)%1e3}}var Um=(t,e)=>e===1?t:`${t}s`,Lm=1e-7;function jo(t,e={}){if(!Number.isFinite(t))throw new TypeError("Expected a finite number");e.colonNotation&&(e.compact=!1,e.formatSubMilliseconds=!1,e.separateMilliseconds=!1,e.verbose=!1),e.compact&&(e.secondsDecimalDigits=0,e.millisecondsDecimalDigits=0);let r=[],n=(s,a)=>{let u=Math.floor(s*10**a+Lm);return(Math.round(u)/10**a).toFixed(a)},o=(s,a,u,c)=>{if((r.length===0||!e.colonNotation)&&s===0&&!(e.colonNotation&&u==="m"))return;c=(c||s||"0").toString();let l,p;if(e.colonNotation){l=r.length>0?":":"",p="";let y=c.includes(".")?c.split(".")[0].length:c.length,x=r.length>0?2:1;c="0".repeat(Math.max(0,x-y))+c}else l="",p=e.verbose?" "+Um(a,s):u;r.push(l+c+p)},i=Es(t);if(o(Math.trunc(i.days/365),"year","y"),o(i.days%365,"day","d"),o(i.hours,"hour","h"),o(i.minutes,"minute","m"),e.separateMilliseconds||e.formatSubMilliseconds||!e.colonNotation&&t<1e3)if(o(i.seconds,"second","s"),e.formatSubMilliseconds)o(i.milliseconds,"millisecond","ms"),o(i.microseconds,"microsecond","\xB5s"),o(i.nanoseconds,"nanosecond","ns");else{let s=i.milliseconds+i.microseconds/1e3+i.nanoseconds/1e6,a=typeof e.millisecondsDecimalDigits=="number"?e.millisecondsDecimalDigits:0,u=s>=1?Math.round(s):Math.ceil(s),c=a?s.toFixed(a):u;o(Number.parseFloat(c),"millisecond","ms",c)}else{let s=t/1e3%60,a=typeof e.secondsDecimalDigits=="number"?e.secondsDecimalDigits:1,u=n(s,a),c=e.keepDecimalsOnWholeSeconds?u:u.replace(/\.0+$/,"");o(Number.parseFloat(c),"second","s",c)}if(r.length===0)return"0"+(e.verbose?" milliseconds":"ms");if(e.compact)return r[0];if(typeof e.unitCount=="number"){let s=e.colonNotation?"":" ";return r.slice(0,Math.max(e.unitCount,1)).join(s)}return e.colonNotation?r.join(""):r.join(" ")}hr.default.extend(Wc.default);var bn=class{constructor(e,r,n){this.status="initial",this.nextExecutionUnix=0,this.cronExpression=r,this.jobFunction=n,this.cronParser=oe(r)}checkExecution(){if(this.nextExecutionUnix===0&&this.getNextExecutionTime(),Date.now()>this.nextExecutionUnix){let e=this.jobFunction(this.nextExecutionUnix);e instanceof Promise&&e.catch(r=>console.log(r)),this.nextExecutionUnix=this.getNextExecutionTime()}return this.nextExecutionUnix}getNextExecutionTime(){return this.nextExecutionUnix=Date.now()+this.getTimeToNextExecution()}getTimeToNextExecution(){return this.cronParser.msToNext()}start(){this.status="started"}stop(){this.status="stopped"}};var vt={years:(t=1)=>t*3154e7,months:(t=1)=>t*2628e6,weeks:(t=1)=>t*6048e5,days:(t=1)=>t*864e5,hours:(t=1)=>t*36e5,minutes:(t=1)=>t*6e4,seconds:(t=1)=>t*1e3},_s=t=>{let e=0,r=n=>{e=e+n};return t.years&&r(vt.years(t.years)),t.months&&r(vt.months(t.months)),t.weeks&&r(vt.weeks(t.weeks)),t.days&&r(vt.days(t.days)),t.hours&&r(vt.hours(t.hours)),t.minutes&&r(vt.minutes(t.minutes)),t.seconds&&r(vt.seconds(t.seconds)),e},Ts=t=>jo(t);var As=class{constructor(){this.status="stopped",this.cronjobs=new Je.ObjectMap}addCronjob(e,r){let n=new bn(this,e,r);return this.cronjobs.add(n),this.status==="started"&&n.start(),n}removeCronjob(e){e.stop(),this.cronjobs.remove(e)}start(){if(this.status!=="started"){this.status="started";for(let e of this.cronjobs.getArray())e.start();this.runCronCycle()}}async runCronCycle(){this.executionTimeout=new ee.Timeout(0);do{let e;for(let r of this.cronjobs.getArray())r.checkExecution(),(!e||r.getTimeToNextExecution()<e.getTimeToNextExecution())&&(e=r);e?(this.executionTimeout=new ee.Timeout(e.getTimeToNextExecution()),console.log(`Next CronJob scheduled in ${Ts(this.executionTimeout.getTimeLeft())}`)):(this.executionTimeout=new ee.Timeout(1e3),console.log("no cronjobs specified! Checking again in 1 second")),await this.executionTimeout.promise}while(this.status==="started")}stop(){this.status==="started"?(this.status="stopped",this.executionTimeout.cancel()):console.log("You tried to stop a CronManager that was not actually started.");for(let e of this.cronjobs.getArray())e.stop()}};var Cs=class t extends Date{static fromMillis(e){return new t(e)}static fromDate(e){return new t(e.getTime())}static fromEuropeanDate(e){let r=/(.*)\.(.*)\.(.*)/.exec(e),o=new Date(parseFloat(r[3]),parseFloat(r[2])-1,parseFloat(r[1])).getTime();return new t(o)}static fromHyphedDate(e){let r=new Date(e).getTime();return new t(r)}static fromEuropeanDateAndTime(e,r="12:00:00",n="Europe/Berlin"){let o=/(.*)\.(.*)\.(.*)/.exec(e),i=c=>`0${c}`.slice(-2),s=`${o[3]}-${i(o[2])}-${i(o[1])}T${r}`,u=hr.default(s).toDate().getTime();return new t(u)}constructor(e=Date.now()){super(e)}exportToEuropeanDate(){let e=this.exportToUnits();return`${e.dayString}.${e.monthString}.${e.yearString}`}exportToHyphedSortableDate(){let e=this.exportToUnits();return`${e.yearString}-${e.monthString}-${e.dayString}`}exportToUnits(){let e=["January","February","March","April","May","June","July","August","September","October","November","December"],r=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];return{year:this.getFullYear(),yearString:`${this.getFullYear()}`,month:this.getMonth()+1,monthString:("0"+(this.getMonth()+1)).slice(-2),monthName:e[this.getMonth()],day:this.getDate(),dayString:("0"+this.getDate()).slice(-2),dayOfTheWeek:this.getDay(),dayOfTheWeekName:r[this.getDay()]}}format(e){return hr.default(this.getTime()).format(e)}isToday(){return hr.default(this.getTime()).isToday()}lessTimePassedToNow(e){let r=_s(e);return Date.now()-this.getTime()<r}moreTimePassedToNow(e){return!this.lessTimePassedToNow(e)}};var Ps=class{constructor(){this.nanoSeconds=null,this.milliSeconds=null,this._milliStart=null,this._milliDiff=null,this._started=!1}start(){this._started=!0,this._milliStart=Date.now()}stop(){if(this._started===!1){console.log("Hasn't started yet");return}return this._milliDiff=Date.now()-this._milliStart,this.nanoSeconds=this._milliDiff*1e3,this.milliSeconds=this._milliDiff,this}reset(){this.nanoSeconds=null,this.milliSeconds=null,this._milliStart=null,this._milliDiff=null,this._started=!1}};var Os=class{constructor(e){this.status="initial",this.statusAuthorization=null,this.intervalJobs=[],this.intervalMilliseconds=e}start(){this.status="started";let e=new Date;this.statusAuthorization=e,(async()=>{for(;this.status==="started"&&this.statusAuthorization===e;)await ee.delayFor(this.intervalMilliseconds),this.executeIntervalJobs()})()}stop(){this.status="stopped",this.statusAuthorization=null}addIntervalJob(e){this.intervalJobs.push(e)}executeIntervalJobs(){for(let e of this.intervalJobs)e()}};var mr=class t{static fromMilliSeconds(e){return new t(e)}static fromTimeStamp(e){let r=new t;return r.change=r.milliSeconds-e.milliSeconds,r}constructor(e){this.change=null,e?typeof e=="number"&&(this.date=new Date(e)):this.date=new Date,this.milliSeconds=this.date.getTime(),this.epochtime=Math.floor(this.milliSeconds/1e3)}isOlderThanOtherTimeStamp(e,r=0){return this.milliSeconds<e.milliSeconds-r}isOlderThan(e,r=0){return this.milliSeconds+r<e.milliSeconds}isYoungerThanOtherTimeStamp(e,r=0){return this.milliSeconds>e.milliSeconds+r}isYoungerThanMilliSeconds(e){let n=new t().epochtime-e,o=new t(n);return this.isYoungerThanOtherTimeStamp(o)}};var Is=class{get timeLeft(){return this.timeInMilliseconds-this.pausedAt.change}constructor(e){this.state="initiated",this.completedDeferred=H.defer(),this.timeInMilliseconds=e,this.completed=this.completedDeferred.promise}start(){if(!this.startedAt)this.currentTimeout=setTimeout(()=>{this.completedDeferred.resolve()},this.timeInMilliseconds),this.startedAt=new mr;else throw new Error("timer has been started before. Please use resume instead")}pause(){this.startedAt&&(clearTimeout(this.currentTimeout),this.currentTimeout=null,this.pausedAt=mr.fromTimeStamp(this.startedAt))}resume(){if(this.startedAt)this.currentTimeout=setTimeout(()=>{this.completedDeferred.resolve()},this.timeLeft);else throw new Error("timer has NOT been started before. Please use .start() instead")}reset(){this.pause(),this.startedAt=null,this.pausedAt=null}};var $s=Ee(Kc(),1);var Ds=class{constructor(){this.executionSlots=[],this.isProcessing=!1}async getExclusiveExecutionSlot(e,r){let n=H.defer(),o={funcToExecute:e,executionDeferred:n,timeout:r,mode:"exclusive"};return this.executionSlots.push(o),this.processExecutionSlots(),n.promise}async getNonExclusiveExecutionSlot(e,r){let n=H.defer(),o={funcToExecute:e,executionDeferred:n,timeout:r,mode:"nonexclusive"};return this.executionSlots.push(o),this.processExecutionSlots(),n.promise}async processExecutionSlots(){if(!this.isProcessing){for(this.isProcessing=!0;this.executionSlots.length>0;){let e=this.executionSlots[0];if(e.mode==="exclusive")await this.executeExclusiveSlot(e),this.executionSlots.shift();else{let r=[];for(;this.executionSlots.length>0&&this.executionSlots[0].mode==="nonexclusive";)r.push(this.executionSlots.shift());await this.executeNonExclusiveSlots(r)}}this.isProcessing=!1}}async executeExclusiveSlot(e){try{if(e.timeout){let r=await Promise.race([e.funcToExecute(),ee.delayFor(e.timeout).then(()=>{throw new Error("Timeout reached")})]);e.executionDeferred.resolve(r)}else{let r=await e.funcToExecute();e.executionDeferred.resolve(r)}}catch(r){e.executionDeferred.reject(r)}}async executeNonExclusiveSlots(e){let r=e.map(async n=>{try{if(n.timeout){let o=await Promise.race([n.funcToExecute(),ee.delayFor(n.timeout).then(()=>{throw new Error("Timeout reached")})]);n.executionDeferred.resolve(o)}else{let o=await n.funcToExecute();n.executionDeferred.resolve(o)}}catch(o){n.executionDeferred.reject(o)}});await Promise.all(r)}};var Fs=class{constructor(e=16){this.hasSpace=new se.rxjs.Subject,this.itemsAvailable=new se.rxjs.Subject,this.data=[],this.highWaterMark=e}push(e){this.data.push(e),this.itemsAvailable.next("itemsAvailable");let r=this.checkSpaceAvailable();return r&&this.hasSpace.next("hasSpace"),r}shift(){let e=this.data.shift();return this.checkSpaceAvailable()&&this.hasSpace.next("hasSpace"),e}checkSpaceAvailable(){return this.data.length<this.highWaterMark}waitForSpace(){return new Promise(e=>{if(this.checkSpaceAvailable())e();else{let r=this.hasSpace.subscribe(()=>{r.unsubscribe(),e()})}})}waitForItems(){return new Promise(e=>{if(this.data.length>0)e();else{let r=this.itemsAvailable.subscribe(()=>{r.unsubscribe(),e()})}})}};var Vt=class t{constructor(){this.mapObject={}}isUniqueKey(e){return!this.mapObject[e]}addToMap(e,r,n){return this.isUniqueKey(e)||n&&n.force?(this.mapObject[e]=r,!0):!1}getByKey(e){return this.mapObject[e]}removeFromMap(e){let r=this.getByKey(e);return delete this.mapObject[e],r}getKeys(){let e=[];for(let r in this.mapObject)this.mapObject[r]&&e.push(r);return e}clean(){this.mapObject={}}concat(e){let r=new t;for(let n of this.getKeys())r.addToMap(n,this.getByKey(n));for(let n of e.getKeys())r.addToMap(n,e.getByKey(n),{force:!0});return r}addAllFromOther(e){for(let r of e.getKeys())this.addToMap(r,e.getByKey(r),{force:!0})}async find(e){for(let r of this.getKeys()){let n=this.getByKey(r);if(await e(n))return n}}};var el=(t="uni")=>`${t}xxxxxxxxxxx`.replace(/[xy]/g,e=>{let r=Math.random()*16|0;return(e==="x"?r:r&3|8).toString(16)}),ct=class t{constructor(){this.fastMap=new Vt,this.eventSubject=new se.rxjs.Subject}addMappedUnique(e,r){this.fastMap.addToMap(e,r)}getMappedUnique(e){return this.fastMap.getByKey(e)}removeMappedUnique(e){let r=this.getMappedUnique(e)}add(e){for(let n of this.fastMap.getKeys())if(this.fastMap.getByKey(n)===e)return n;let r=el("key");return this.addMappedUnique(r,e),this.eventSubject.next({operation:"add",payload:e}),r}addArray(e){for(let r of e)this.add(r)}checkForObject(e){return!!this.getKeyForObject(e)}getKeyForObject(e){let r=null;for(let n of this.fastMap.getKeys())if(!r&&this.fastMap.getByKey(n)===e)r=n;else continue;return r}async find(e){return this.fastMap.find(e)}findSync(e){for(let r of this.fastMap.getKeys())if(e(this.fastMap.getByKey(r)))return this.getMappedUnique(r)}async findOneAndRemove(e){let r=await this.find(e);return r&&this.remove(r),r}findOneAndRemoveSync(e){let r=this.findSync(e);return r&&this.remove(r),r}async forEach(e){for(let r of this.fastMap.getKeys())await e(this.fastMap.getByKey(r))}getOneAndRemove(){let e=this.fastMap.getKeys();if(e.length===0)return null;{let r=e[0],n=this.fastMap.removeFromMap(r);return this.eventSubject.next({operation:"remove",payload:n}),n}}getArray(){let e=[];for(let r of this.fastMap.getKeys())e.push(this.fastMap.getByKey(r));return e}isEmpty(){return this.fastMap.getKeys().length===0}remove(e){if(this.checkForObject(e)){let r=this.getKeyForObject(e),n=this.fastMap.removeFromMap(r);return this.eventSubject.next({operation:"remove",payload:n}),n}return null}wipe(){for(let e of this.fastMap.getKeys())this.fastMap.removeFromMap(e)}concat(e){let r=new t;return r.fastMap.addAllFromOther(this.fastMap),r.fastMap.addAllFromOther(e.fastMap),r}addAllFromOther(e){this.fastMap.addAllFromOther(e.fastMap)}};var Sn=class{get comparisonString(){return this.comparisonFunc(this.originalInterest)}fullfillInterest(e){this.isFullfilled=!0,this.fullfillmentStore=[],this.interestDeferred.resolve(e)}constructor(e,r,n,o){this.destructionTimer=new yr.Timer(1e4),this.isFullfilled=!1,this.fullfillmentStore=[],this.interestDeferred=new H.Deferred,this.interestFullfilled=this.interestDeferred.promise,this.interestMapRef=e,this.originalInterest=r,this.comparisonFunc=n,this.options=o,this.destructionTimer.completed.then(()=>{this.destroy()}),this.options?.markLostAfterDefault&&ee.delayFor(this.options.markLostAfterDefault).then(this.markLost)}destroy(){this.interestMapRef.removeInterest(this),!this.isFullfilled&&this.options.defaultFullfillment&&this.fullfillInterest(this.options.defaultFullfillment)}markLost(){this.destructionTimer.start()}renew(){this.destructionTimer.reset()}};var Bs=class{constructor(e,r={}){this.interestObjectMap=new ct,this.interestObservable=new se.ObservableIntake,this.comparisonFunc=e,this.options=r}async addInterest(e,r){let n=this.comparisonFunc(e),o,i=new Sn(this,e,this.comparisonFunc,{markLostAfterDefault:this.options.markLostAfterDefault,defaultFullfillment:r}),s=!1;return await this.interestObjectMap.forEach(a=>{!s&&a.comparisonString===i.comparisonString&&(console.log("info",`interest already exists for ${i.comparisonString}`),s=!0,o=a,o.renew())}),o||(o=i,this.interestObjectMap.add(o)),this.interestObservable.push(o),o}removeInterest(e){let r=this.interestObjectMap.findOneAndRemoveSync(n=>e.comparisonString===n.comparisonString)}checkInterest(e){let r=this.comparisonFunc(e);return this.checkInterestByString(r)}checkInterestByString(e){return!!this.interestObjectMap.findSync(n=>n.comparisonString===e)}informLostInterest(e){let r=this.findInterest(e);r&&r.markLost()}findInterest(e){let r=this.comparisonFunc(e);return this.interestObjectMap.findSync(o=>o.comparisonString===r)}};var Rs=class{constructor(e){this.array=[],this.arrayLimit=e}addOne(e){this.array.unshift(e),this.array.length>this.arrayLimit&&(this.array.length=this.arrayLimit)}addMany(e){for(let r of e)this.addOne(r)}setLimit(e){this.arrayLimit=e,this.array.length>this.arrayLimit&&(this.array.length=this.arrayLimit)}getAverage(){if(typeof this.array[0]=="number"){let e=0;for(let r of this.array)e=e+r;return e/this.array.length}else return null}};var Ns=class{constructor(){this.referenceObjectMap=new ct}checkAndTrack(e){return this.referenceObjectMap.checkForObject(e)?!1:(this.referenceObjectMap.add(e),!0)}};var En=class{constructor(){this._stringArray=[],this._triggerUntilTrueFunctionArray=[]}addString(e){this._stringArray.push(e),this.notifyTrigger()}addStringArray(e){for(let r of e)this.addString(r)}removeString(e){for(let r in this._stringArray)this._stringArray[r]===e&&this._stringArray.splice(parseInt(r),1);this.notifyTrigger()}wipe(){this._stringArray=[],this.notifyTrigger()}checkString(e){return this._stringArray.indexOf(e)!==-1}checkMinimatch(e){let r=new Lo.SmartMatch(e),n=!1;for(let o of this._stringArray)r.match(o)&&(n=!0);return n}checkIsEmpty(){return this._stringArray.length===0}getStringArray(){let e=[];for(let r of this._stringArray)e.push(r);return e}registerUntilTrue(e,r){let n=H.defer();return this._triggerUntilTrueFunctionArray.push(()=>{let o=e(this.getStringArray());return o===!0&&(r&&r(),n.resolve()),o}),this.notifyTrigger(),n.promise}notifyTrigger(){let e=this._triggerUntilTrueFunctionArray.filter(r=>!r());this._triggerUntilTrueFunctionArray=e}};var Us=class{constructor(e){this.storageArray=[],this.options=e}checkAggregationStatus(){let e=()=>{this.aggregationTimer=new yr.Timer(this.options.aggregationIntervalInMillis),this.aggregationTimer.completed.then(()=>{let r=this.storageArray;if(r.length===0){this.aggregationTimer=null;return}this.storageArray=[],e(),this.options.functionForAggregation(r)}),this.aggregationTimer.start()};this.aggregationTimer||e()}add(e){this.storageArray.push(e),this.checkAggregationStatus()}};var Ls=class{constructor(){this.symbolTree=new $s.default}initialize(e){return this.symbolTree.initialize(e)}hasChildren(e){return this.symbolTree.hasChildren(e)}firstChild(e){return this.symbolTree.firstChild(e)}lastChild(e){return this.symbolTree.lastChild(e)}previousSibling(e){return this.symbolTree.previousSibling(e)}nextSibling(e){return this.symbolTree.nextSibling(e)}parent(e){return this.symbolTree.parent(e)}lastInclusiveDescendant(e){return this.symbolTree.lastInclusiveDescendant(e)}preceding(e,r){return this.symbolTree.preceding(e,r)}following(e,r){return this.symbolTree.following(e,r)}childrenToArray(e,r){return this.symbolTree.childrenToArray(e,r)}ancestorsToArray(e,r){return this.symbolTree.ancestorsToArray(e,r)}treeToArray(e,r){return this.symbolTree.treeToArray(e,r)}childrenIterator(e,r){return this.symbolTree.childrenIterator(e,r)}previousSiblingsIterator(e){return this.symbolTree.previousSiblingsIterator(e)}nextSiblingsIterator(e){return this.symbolTree.nextSiblingsIterator()}ancestorsIterator(e){this.symbolTree.ancestorsIterator()}treeIterator(e,r){return this.symbolTree.treeIterator(e)}index(e){return this.symbolTree.index(e)}childrenCount(e){return this.symbolTree.childrenCount(e)}compareTreePosition(e,r){return this.compareTreePosition(e,r)}remove(e){return this.symbolTree.remove(e)}insertBefore(e,r){return this.symbolTree.insertBefore(e,r)}insertAfter(e,r){return this.symbolTree.insertAfter(e,r)}prependChild(e,r){return this.symbolTree.prependChild(e,r)}appendChild(e,r){return this.symbolTree.appendChild(e,r)}toJsonWithHierachy(e){let r=this.treeIterator(e,{});for(let n of r)console.log(n)}fromJsonWithHierachy(e){}};var Wn={};G(Wn,{WebRequest:()=>cu});var xr={};G(xr,{Smartenv:()=>_n});var _n=class{constructor(){this.loadedScripts=[]}async getEnvAwareModule(e){if(this.isNode)return await this.getSafeNodeModule(e.nodeModuleName);if(this.isBrowser)return await this.getSafeWebModule(e.webUrlArg,e.getFunction);console.error("platform for loading not supported by smartenv")}async getSafeNodeModule(e,r){if(!this.isNode){console.error(`You tried to load a node module in a wrong context: ${e}`);return}let n=await new Function(`return import('${e}')`)();return r&&await r(n),n}async getSafeWebModule(e,r){if(!this.isBrowser){console.error("You tried to load a web module in a wrong context");return}if(this.loadedScripts.includes(e))return r();this.loadedScripts.push(e);let n=H.defer();if(globalThis.importScripts)globalThis.importScripts(e),n.resolve();else{let o=document.createElement("script");o.onload=()=>{n.resolve()},o.src=e,document.head.appendChild(o)}return await n.promise,r()}get runtimeEnv(){return typeof process<"u"?"node":"browser"}get isBrowser(){return!this.isNode}get userAgent(){return this.isBrowser?navigator.userAgent:"undefined"}get isNode(){return this.runtimeEnv==="node"}get nodeVersion(){return process.version}get isCI(){return this.isNode?!!process.env.CI:!1}async isMacAsync(){return this.isNode?(await this.getSafeNodeModule("os")).platform()==="darwin":!1}async isWindowsAsync(){return this.isNode?(await this.getSafeNodeModule("os")).platform()==="win32":!1}async isLinuxAsync(){return this.isNode?(await this.getSafeNodeModule("os")).platform()==="linux":!1}async printEnv(){this.isNode?(console.log("running on NODE"),console.log("node version is "+this.nodeVersion)):(console.log("running on BROWSER"),console.log("browser is "+this.userAgent))}};var be={};G(be,{Smartjson:()=>tu,deepEqualObjects:()=>Wv,foldDec:()=>jv,parse:()=>ru,parseBase64:()=>kv,stringify:()=>qr,stringifyBase64:()=>Lv,stringifyPretty:()=>Uv});var Rn={};G(Rn,{Base64:()=>ci,Domain:()=>li,GitRepo:()=>fi,base64:()=>Ur,create:()=>$a,docker:()=>Da,indent:()=>Ra,normalize:()=>Na,type:()=>Ua});var $a={};G($a,{createCryptoRandomString:()=>Qx,createRandomString:()=>Zx});var Mp=Ee(ho(),1),$p=Ee(bl(),1),Dp=Ee(Yf(),1);var tp="3.7.5",Ax=tp,Cx=typeof atob=="function",Px=typeof btoa=="function",Nr=typeof Buffer=="function",Zf=typeof TextDecoder=="function"?new TextDecoder:void 0,Qf=typeof TextEncoder=="function"?new TextEncoder:void 0,Ox="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Fn=Array.prototype.slice.call(Ox),oi=(t=>{let e={};return t.forEach((r,n)=>e[r]=n),e})(Fn),Ix=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Se=String.fromCharCode.bind(String),Xf=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):t=>new Uint8Array(Array.prototype.slice.call(t,0)),rp=t=>t.replace(/=/g,"").replace(/[+\/]/g,e=>e=="+"?"-":"_"),np=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),op=t=>{let e,r,n,o,i="",s=t.length%3;for(let a=0;a<t.length;){if((r=t.charCodeAt(a++))>255||(n=t.charCodeAt(a++))>255||(o=t.charCodeAt(a++))>255)throw new TypeError("invalid character found");e=r<<16|n<<8|o,i+=Fn[e>>18&63]+Fn[e>>12&63]+Fn[e>>6&63]+Fn[e&63]}return s?i.slice(0,s-3)+"===".substring(s):i},Pa=Px?t=>btoa(t):Nr?t=>Buffer.from(t,"binary").toString("base64"):op,Aa=Nr?t=>Buffer.from(t).toString("base64"):t=>{let r=[];for(let n=0,o=t.length;n<o;n+=4096)r.push(Se.apply(null,t.subarray(n,n+4096)));return Pa(r.join(""))},ii=(t,e=!1)=>e?rp(Aa(t)):Aa(t),Mx=t=>{if(t.length<2){var e=t.charCodeAt(0);return e<128?t:e<2048?Se(192|e>>>6)+Se(128|e&63):Se(224|e>>>12&15)+Se(128|e>>>6&63)+Se(128|e&63)}else{var e=65536+(t.charCodeAt(0)-55296)*1024+(t.charCodeAt(1)-56320);return Se(240|e>>>18&7)+Se(128|e>>>12&63)+Se(128|e>>>6&63)+Se(128|e&63)}},$x=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ip=t=>t.replace($x,Mx),Kf=Nr?t=>Buffer.from(t,"utf8").toString("base64"):Qf?t=>Aa(Qf.encode(t)):t=>Pa(ip(t)),Rr=(t,e=!1)=>e?rp(Kf(t)):Kf(t),ep=t=>Rr(t,!0),Dx=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Fx=t=>{switch(t.length){case 4:var e=(7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3),r=e-65536;return Se((r>>>10)+55296)+Se((r&1023)+56320);case 3:return Se((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return Se((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},sp=t=>t.replace(Dx,Fx),ap=t=>{if(t=t.replace(/\s+/g,""),!Ix.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(t.length&3));let e,r="",n,o;for(let i=0;i<t.length;)e=oi[t.charAt(i++)]<<18|oi[t.charAt(i++)]<<12|(n=oi[t.charAt(i++)])<<6|(o=oi[t.charAt(i++)]),r+=n===64?Se(e>>16&255):o===64?Se(e>>16&255,e>>8&255):Se(e>>16&255,e>>8&255,e&255);return r},Oa=Cx?t=>atob(np(t)):Nr?t=>Buffer.from(t,"base64").toString("binary"):ap,up=Nr?t=>Xf(Buffer.from(t,"base64")):t=>Xf(Oa(t).split("").map(e=>e.charCodeAt(0))),cp=t=>up(lp(t)),Bx=Nr?t=>Buffer.from(t,"base64").toString("utf8"):Zf?t=>Zf.decode(up(t)):t=>sp(Oa(t)),lp=t=>np(t.replace(/[-_]/g,e=>e=="-"?"+":"/")),Ca=t=>Bx(lp(t)),Rx=t=>{if(typeof t!="string")return!1;let e=t.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(e)||!/[^\s0-9a-zA-Z\-_]/.test(e)},fp=t=>({value:t,enumerable:!1,writable:!0,configurable:!0}),pp=function(){let t=(e,r)=>Object.defineProperty(String.prototype,e,fp(r));t("fromBase64",function(){return Ca(this)}),t("toBase64",function(e){return Rr(this,e)}),t("toBase64URI",function(){return Rr(this,!0)}),t("toBase64URL",function(){return Rr(this,!0)}),t("toUint8Array",function(){return cp(this)})},hp=function(){let t=(e,r)=>Object.defineProperty(Uint8Array.prototype,e,fp(r));t("toBase64",function(e){return ii(this,e)}),t("toBase64URI",function(){return ii(this,!0)}),t("toBase64URL",function(){return ii(this,!0)})},Nx=()=>{pp(),hp()},Bn={version:tp,VERSION:Ax,atob:Oa,atobPolyfill:ap,btoa:Pa,btoaPolyfill:op,fromBase64:Ca,toBase64:Rr,encode:Rr,encodeURI:ep,encodeURL:ep,utob:ip,btou:sp,decode:Ca,isValid:Rx,fromUint8Array:ii,toUint8Array:cp,extendString:pp,extendUint8Array:hp,extendBuiltins:Nx};var yp=Ee(mp(),1);function si(t){let e=(0,yp.default)(t);if(e===0)return t;let r=new RegExp(`^[ \\t]{${e}}`,"gm");return t.replace(r,"")}var wp=Ee(xp(),1),vp=`\r
|
|
10
|
-
`;function ai(t){if(typeof t!="string"&&!Buffer.isBuffer(t))throw new TypeError(`Expected a \`string\` or a \`Buffer\`, got \`${typeof t}\``);return Buffer.isBuffer(t)?(0,wp.default)(t,vp,`
|
|
11
|
-
`):t.replace(new RegExp(vp,"g"),`
|
|
12
|
-
`)}var Ma=Ee(Ip(),1),Yx=new _n;Yx.isBrowser&&(globalThis.Buffer=$p.Buffer);var Zx=(t,e,r)=>Ma.default(t,e,r),Qx=()=>Mp.uni();var Da={};G(Da,{makeEnvObject:()=>Xx});var Xx=function(t){let e={},r=/(.*)=(.*)/;if(typeof t<"u")for(let n in t){let o=r.exec(t[n]);e[o[1]]=o[2]}return e};var Ra={};G(Ra,{indent:()=>e0,indentWithPrefix:()=>t0,normalize:()=>r0});var Fa=t=>{let e=t.split(`
|
|
13
|
-
`);return Kx(e)},Ba=t=>{let e="";for(let r of t)e=e+r+`
|
|
14
|
-
`;return e},Kx=t=>{let e=/^[\s]*$/;return e.test(t[0])&&t.shift(),e.test(t[t.length-1])&&t.pop(),t},e0=(t,e)=>{let r=Fa(t);for(let o of r)o=" ".repeat(e)+o;return Ba(r)},t0=(t,e)=>{let r,n=Fa(t),o=[];for(let i of n)o.push(e+i);return r=Ba(o),r},r0=t=>{let e,r=Fa(t),n,o=/^(\s*)/,i=/^(\s*)$/;for(let a of r){let u=o.exec(a)[1];(typeof n>"u"||u.length<n)&&!i.test(a)&&(n=u.length)}let s=[];for(let a of r)s.push(a.substr(n));return e=Ba(s),e};var Na={};G(Na,{replaceAll:()=>Fp,standard:()=>n0});var Fp=(t,e,r)=>t.replace(new RegExp(e,"g"),r),n0=(t,e)=>{let r=t;return(!e||e.stripIndent)&&(r=si(r)),(!e||e.normalizeNewline)&&(r=ai(r)),(!e||e.replaceTabs)&&(r=Fp(r," /"," ")),(!e||e.stripLeadingTrailingEmptyLines)&&(r=r.replace(/^\s*[\r\n]/gm,"").replace(/\s*[\r\n]$/gm,"")),(!e||e.stripAllEmptyLines)&&(r=r.replace(/^\s*[\r\n]/gm,"")),r};var Ua={};G(Ua,{isBase64:()=>i0,isUtf8:()=>o0});var ci=class{constructor(e,r){switch(r){case"string":this.refString=e;break;case"base64":this.refString=Ur.decode(e);break;case"base64uri":this.refString=Ur.decode(e)}}get simpleString(){return this.refString}get base64String(){return Ur.encode(this.refString)}get base64UriString(){return Ur.encodeUri(this.refString)}},Ur={encode:t=>Bn.encode(t),encodeUri:t=>Bn.encodeURI(t),decode:t=>Bn.decode(t),isBase64:t=>/^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$/.test(t)};var o0=t=>{let e=Buffer.from(t),r=0;for(;r<e.length;){if(e[r]===9||e[r]===10||e[r]===13||32<=e[r]&&e[r]<=126){r+=1;continue}if(194<=e[r]&&e[r]<=223&&128<=e[r+1]&&e[r+1]<=191){r+=2;continue}if(e[r]===224&&160<=e[r+1]&&e[r+1]<=191&&128<=e[r+2]&&e[r+2]<=191||(225<=e[r]&&e[r]<=236||e[r]===238||e[r]===239)&&128<=e[r+1]&&e[r+1]<=191&&128<=e[r+2]&&e[r+2]<=191||e[r]===237&&128<=e[r+1]&&e[r+1]<=159&&128<=e[r+2]&&e[r+2]<=191){r+=3;continue}if(e[r]===240&&144<=e[r+1]&&e[r+1]<=191&&128<=e[r+2]&&e[r+2]<=191&&128<=e[r+3]&&e[r+3]<=191||241<=e[r]&&e[r]<=243&&128<=e[r+1]&&e[r+1]<=191&&128<=e[r+2]&&e[r+2]<=191&&128<=e[r+3]&&e[r+3]<=191||e[r]===244&&128<=e[r+1]&&e[r+1]<=143&&128<=e[r+2]&&e[r+2]<=191&&128<=e[r+3]&&e[r+3]<=191){r+=4;continue}return!1}return!0},i0=t=>{let e=/[^A-Z0-9+\/=]/i,r=t.length;if(!r||r%4!==0||e.test(t))return!1;let n=t.indexOf("=");return n===-1||n===r-1||n===r-2&&t[r-1]==="="};var li=class{constructor(e){this.protocol=this._protocolRegex(e),this.protocol||(e=`https://${e}`),this.nodeParsedUrl=Dp.parse(e),this.port=this.nodeParsedUrl.port;let r=this._domainRegex(e.replace(this.nodeParsedUrl.pathname,""));this.fullName="";for(let n=1;n<=5;n++)if(r[n-1]){let o=r[n-1];this["level"+n.toString()]=o,this.fullName===""?this.fullName=o:this.fullName=o+"."+this.fullName}else this["level"+n.toString()]=void 0;this.zoneName=this.level2+"."+this.level1,this.topLevel=this.level1,this.domainName=this.level2,this.subDomain=this.level3}_domainRegex(e){let n=/([a-zA-Z0-9\-\_]*)\.{0,1}([a-zA-Z0-9\-\_]*)\.{0,1}([a-zA-Z0-9\-\_]*)\.{0,1}([a-zA-Z0-9\-\_]*)\.{0,1}([a-zA-Z0-9\-\_]*)\.{0,1}$/.exec(e);return n.reverse(),n.pop(),n.filter(function(i){return i!==""})}_protocolRegex(e){let n=/^([a-zA-Z0-9]*):\/\//.exec(e);if(n)return n[1]}_portRegex(e){let n=/^([a-zA-Z0-9]*):\/\//.exec(e);if(n)return n[1]}};var fi=class{constructor(e,r){let n=s0(e);this.host=n[1],this.user=n[2],this.repo=n[3],this.accessToken=r,this.sshUrl=Bp(this.host,this.user,this.repo,this.accessToken,"ssh"),this.httpsUrl=Bp(this.host,this.user,this.repo,this.accessToken,"https")}},s0=function(t){return/([a-zA-Z0-9\-_\.]*)(?:\/|\:)([a-zA-Z0-9\-_\.]*)(?:\/)([a-zA-Z0-9\-_\.]*)(?:\.git)/.exec(t)},Bp=function(t,e,r,n="",o){let i;switch(n!==""&&(n=n+"@"),o){case"https":i="https://"+n+t+"/"+e+"/"+r+".git";break;case"ssh":i="git@"+t+":"+e+"/"+r+".git";break;default:console.error("Link Type "+o+" not known");break}return i};var eu=Ee(Eh(),1),$h=Ee(Th(),1),wi=Ee(Mh(),1);var Dh=$h.default;var ru=wi.default.parse,qr=(t,e,r={})=>{let n=wi.default.stringify(t);return t=JSON.parse(n),Dh(t,r)},Uv=t=>{let e=qr(t),r=JSON.parse(e);return JSON.stringify(r,null,2)},Lv=(...t)=>{let e=qr(...t);return Rn.base64.encodeUri(e)},kv=t=>{let e=Rn.base64.decode(t);return ru(e)},tu=class t{static enfoldFromObject(e){let r=new this;for(let n in e)r.saveableProperties.indexOf(n)!==-1&&(r[n]=e[n]);return r}static enfoldFromJson(e){let r=ru(e);return this.enfoldFromObject(r)}foldToObject(){let e={},r=[];for(let n of this.saveableProperties){let o=this[n];if(o instanceof t){if(r.includes(o))throw new Error("cycle detected");r.push(o),o=o.foldToObject()}e[n]=eu.default(o)}return e}foldToJson(){let e=this.foldToObject();return qr(e)}},jv=()=>(t,e)=>{t.saveableProperties||(t.saveableProperties=[]),t.saveableProperties.push(e)},Wv=(t,e)=>{let r=qr(t),n=qr(e);return r===n};var Ot={};G(Ot,{TypedrequestCache:()=>uu,WebStore:()=>jn});var bi={};G(bi,{deleteDB:()=>Qv,openDB:()=>Zv,unwrap:()=>kn,wrap:()=>Ue});var qv=(t,e)=>e.some(r=>t instanceof r),Fh,Bh;function Hv(){return Fh||(Fh=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function zv(){return Bh||(Bh=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var Rh=new WeakMap,ou=new WeakMap,Nh=new WeakMap,nu=new WeakMap,su=new WeakMap;function Vv(t){let e=new Promise((r,n)=>{let o=()=>{t.removeEventListener("success",i),t.removeEventListener("error",s)},i=()=>{r(Ue(t.result)),o()},s=()=>{n(t.error),o()};t.addEventListener("success",i),t.addEventListener("error",s)});return e.then(r=>{r instanceof IDBCursor&&Rh.set(r,t)}).catch(()=>{}),su.set(e,t),e}function Gv(t){if(ou.has(t))return;let e=new Promise((r,n)=>{let o=()=>{t.removeEventListener("complete",i),t.removeEventListener("error",s),t.removeEventListener("abort",s)},i=()=>{r(),o()},s=()=>{n(t.error||new DOMException("AbortError","AbortError")),o()};t.addEventListener("complete",i),t.addEventListener("error",s),t.addEventListener("abort",s)});ou.set(t,e)}var iu={get(t,e,r){if(t instanceof IDBTransaction){if(e==="done")return ou.get(t);if(e==="objectStoreNames")return t.objectStoreNames||Nh.get(t);if(e==="store")return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return Ue(t[e])},set(t,e,r){return t[e]=r,!0},has(t,e){return t instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in t}};function Uh(t){iu=t(iu)}function Jv(t){return t===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...r){let n=t.call(kn(this),e,...r);return Nh.set(n,e.sort?e.sort():[e]),Ue(n)}:zv().includes(t)?function(...e){return t.apply(kn(this),e),Ue(Rh.get(this))}:function(...e){return Ue(t.apply(kn(this),e))}}function Yv(t){return typeof t=="function"?Jv(t):(t instanceof IDBTransaction&&Gv(t),qv(t,Hv())?new Proxy(t,iu):t)}function Ue(t){if(t instanceof IDBRequest)return Vv(t);if(nu.has(t))return nu.get(t);let e=Yv(t);return e!==t&&(nu.set(t,e),su.set(e,t)),e}var kn=t=>su.get(t);function Zv(t,e,{blocked:r,upgrade:n,blocking:o,terminated:i}={}){let s=indexedDB.open(t,e),a=Ue(s);return n&&s.addEventListener("upgradeneeded",u=>{n(Ue(s.result),u.oldVersion,u.newVersion,Ue(s.transaction),u)}),r&&s.addEventListener("blocked",u=>r(u.oldVersion,u.newVersion,u)),a.then(u=>{i&&u.addEventListener("close",()=>i()),o&&u.addEventListener("versionchange",c=>o(c.oldVersion,c.newVersion,c))}).catch(()=>{}),a}function Qv(t,{blocked:e}={}){let r=indexedDB.deleteDatabase(t);return e&&r.addEventListener("blocked",n=>e(n.oldVersion,n)),Ue(r).then(()=>{})}var Xv=["get","getKey","getAll","getAllKeys","count"],Kv=["put","add","delete","clear"],au=new Map;function Lh(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&typeof e=="string"))return;if(au.get(e))return au.get(e);let r=e.replace(/FromIndex$/,""),n=e!==r,o=Kv.includes(r);if(!(r in(n?IDBIndex:IDBObjectStore).prototype)||!(o||Xv.includes(r)))return;let i=async function(s,...a){let u=this.transaction(s,o?"readwrite":"readonly"),c=u.store;return n&&(c=c.index(a.shift())),(await Promise.all([c[r](...a),o&&u.done]))[0]};return au.set(e,i),i}Uh(t=>({...t,get:(e,r,n)=>Lh(e,r)||t.get(e,r,n),has:(e,r)=>!!Lh(e,r)||t.has(e,r)}));var jn=class{constructor(e){this.initCalled=!1,this.readyDeferred=H.defer(),this.options=e}async init(){if(this.initCalled){await this.readyDeferred.promise;return}this.initCalled=!0;let e=new xr.Smartenv;if(!e.isBrowser&&!globalThis.indexedDB&&(console.log("hey"),console.log(globalThis.indexedDB),await e.getSafeNodeModule("fake-indexeddb/auto"),!globalThis.indexedDB)){let r=await e.getSafeNodeModule("fake-indexeddb");globalThis.indexedDB=new r.IDBFactory}this.db=await bi.openDB(this.options.dbName,1,{upgrade:r=>{r.createObjectStore(this.options.storeName)}}),this.readyDeferred.resolve()}async get(e){return await this.init(),this.db.get(this.options.storeName,e)}async check(e){return await this.init(),!!await this.get(e)}async set(e,r){return await this.init(),this.db.put(this.options.storeName,r,e)}async delete(e){return await this.init(),this.db.delete(this.options.storeName,e)}async clear(){return await this.init(),this.db.clear(this.options.storeName)}async keys(){return await this.init(),this.db.getAllKeys(this.options.storeName)}};var uu=class{constructor(e="default"){this.webstore=new jn({dbName:"trStore",storeName:`trStore-${e}`})}buildKey(e){return be.stringify({method:e.method,request:e.request})}async setByRequest(e){if(!e.response)throw new Error("You cannot store requests without a response present");await this.webstore.set(this.buildKey(e),e)}async getByRequest(e){return await this.webstore.get(this.buildKey(e))}};var cu=class{constructor(e={}){this.optionsArg=e,this.cacheStore=new Ot.WebStore({dbName:"webrequest",storeName:"webrequest"}),this.options={logging:!0,...e}}async getJson(e,r=!1){let o=await(await this.request(e,{method:"GET",useCache:r})).text();return be.parse(o)}async postJson(e,r,n=!1){let i=await(await this.request(e,{method:"POST",headers:{"Content-Type":"application/json"},body:be.stringify(r),useCache:n})).text();return be.parse(i)}async putJson(e,r,n=!1){let i=await(await this.request(e,{method:"PUT",headers:{"Content-Type":"application/json"},body:be.stringify(r)})).text();return be.parse(i)}async deleteJson(e,r=!1){let o=await(await this.request(e,{headers:{"Content-Type":"application/json"},method:"GET"})).text();return be.parse(o)}async request(e,r){r={timeoutMs:6e4,useCache:!1,...r};let n=new AbortController;ee.delayFor(r.timeoutMs).then(()=>{n.abort()});let o=H.defer(),i=!1;if(r.useCache&&await this.cacheStore.check(e)){let a=await this.cacheStore.get(e);o.resolve(new Response(a,{}))}else o.resolve(null);let s=await fetch(e,{signal:n.signal,method:r.method,headers:{...r.headers||{}},body:r.body}).catch(async a=>r.useCache&&await o.promise?(i=!0,o.promise):a);if(r.useCache&&await o.promise&&s.status===500&&(i=!0,s=await o.promise),!i&&r.useCache&&s.status<300){let a=await s.clone().arrayBuffer();await this.cacheStore.set(e,a)}return this.log(`${e} answers with status: ${s.status}`),s}async requestMultiEndpoint(e,r){let n,o=0;Array.isArray(e)?n=e:n=[e];let i=[],s=async c=>{i.push(c),c==="429"&&(console.log("got 429, so waiting a little bit."),await ee.delayFor(Math.floor(Math.random()*1001)+1e3));let l=0;for(let p of i)p===c&&l++;l>2*n.length*o&&o++},a=async c=>{if(!c)throw new Error("request failed permanently");this.log(`Getting ${c} with method ${r.method}`);let l=await fetch(c,{method:r.method,headers:{"Content-Type":"application/json",...r.headers||{}},body:r.body});return this.log(`${c} answers with status: ${l.status}`),l.status>=200&&l.status<300?l:(await s(l.status.toString()),await a(n[o]))};return await a(n[o])}log(e){this.options.logging&&console.log(e)}};var tr=class{constructor(e,r){this.errorText=e,this.errorData=r}};var lu=class{constructor(e,r){this.method=e,this.handlerFunction=r}async addResponse(e){if(e.method!==this.method)throw new Error("this handler has been given a wrong method to answer to. Please use a TypedRouter to filter requests");let r,n=await this.handlerFunction(e.request).catch(o=>{o instanceof tr?r=o:console.log(o)});return r&&(e.error={text:r.errorText,data:r.errorData}),n&&(e.response=n),e?.correlation?.phase&&(e.correlation.phase="response"),e}};var fu=class{constructor(){this.routerMap=new Je.ObjectMap,this.handlerMap=new Je.ObjectMap,this.fireEventInterestMap=new Je.InterestMap(e=>e)}addTypedHandler(e){if(this.getTypedHandlerForMethod(e.method))throw new Error(`a TypedHandler for ${e.method} alredy exists! Can't add another one.`);this.handlerMap.add(e)}addTypedRouter(e){this.routerMap.findSync(n=>n===e)||(this.routerMap.add(e),e.addTypedRouter(this))}checkForTypedHandler(e){return!!this.getTypedHandlerForMethod(e)}getTypedHandlerForMethod(e,r=[]){r.push(this);let n;return n=this.handlerMap.findSync(o=>o.method===e),n||this.routerMap.getArray().forEach(o=>{!n&&!r.includes(o)&&(n=o.getTypedHandlerForMethod(e,r))}),n}async routeAndAddResponse(e,r=!1){if(e?.correlation?.phase==="request"||r){let n=this.getTypedHandlerForMethod(e.method);return n?(e=await n.addResponse(e),e):(console.log(`Cannot find handler for methodname ${e.method}`),e.error={text:"There is no available method for this call on the server side",data:{}},e.correlation.phase="response",e)}else return e?.correlation?.phase==="response"?(this.fireEventInterestMap.findInterest(e.correlation.id)?.fullfillInterest(e),null):(console.log("received weirdly shaped request"),console.log(e),null)}};var pu=class{constructor(e){if(e.postMethodWithTypedRouter&&!e.typedRouterRef)throw new Error("you have to specify a typedrouter when using postmethod with typedrouter");this.options=e}async post(e){let r;this.options.typedRouterRef&&(r=await this.options.typedRouterRef.fireEventInterestMap.addInterest(e.correlation.id,e));let o=await(this.options.postMethod||this.options.postMethodWithTypedRouter)(e),i;return r?i=await r.interestFullfilled:o?i=o:i=e,i}};var rw=new Wn.WebRequest,qn=class{constructor(e,r){typeof e=="string"?this.urlEndPoint=e:this.typedTarget=e,this.method=r}async fire(e,r=!1){let n={method:this.method,request:e,response:null,correlation:{id:jh.uni(),phase:"request"}},o;if(this.urlEndPoint?o=await rw.postJson(this.urlEndPoint,n,r):o=await this.typedTarget.post(n),o.error){if(console.error(`Got an error ${o.error.text} with data ${JSON.stringify(o.error.data)}`),!o.retry)throw new tr(o.error.text,o.error.data);return null}return o.retry?(console.log(`server requested retry for the following reason: ${o.retry.reason}`),await ee.delayFor(o.retry.waitForMs),await this.fire(e)):o.response}};function Hh(t){return!!(t&&typeof t.then=="function")}function Si(t){return t||(t=0),new Promise(function(e){return setTimeout(e,t)})}function zh(t,e){return Math.floor(Math.random()*(e-t+1)+t)}function Hn(){return Math.random().toString(36).substring(2)}var qh=0,hu=0;function It(){var t=new Date().getTime();return t===qh?(hu++,t*1e3+hu):(qh=t,hu=0,t*1e3)}var dt=Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]";var nw=It,ow="native";function iw(t){var e={messagesCallback:null,bc:new BroadcastChannel(t),subFns:[]};return e.bc.onmessage=function(r){e.messagesCallback&&e.messagesCallback(r.data)},e}function sw(t){t.bc.close(),t.subFns=[]}function aw(t,e){try{return t.bc.postMessage(e,!1),Promise.resolve()}catch(r){return Promise.reject(r)}}function uw(t,e){t.messagesCallback=e}function cw(){if(dt&&typeof window>"u")return!1;if(typeof BroadcastChannel=="function"){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}else return!1}function lw(){return 150}var Vh={create:iw,close:sw,onMessage:uw,postMessage:aw,canBeUsed:cw,type:ow,averageResponseTime:lw,microSeconds:nw};var Ei=function(){function t(e){this.ttl=e,this.set=new Set,this.timeMap=new Map}return t.prototype.has=function(e){return this.set.has(e)},t.prototype.add=function(e){var r=this;this.timeMap.set(e,Gh()),this.set.add(e),setTimeout(function(){fw(r)},0)},t.prototype.clear=function(){this.set.clear(),this.timeMap.clear()},t}();function fw(t){for(var e=Gh()-t.ttl,r=t.set[Symbol.iterator]();;){var n=r.next().value;if(!n)return;var o=t.timeMap.get(n);if(o<e)t.timeMap.delete(n),t.set.delete(n);else return}}function Gh(){return new Date().getTime()}function Hr(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=JSON.parse(JSON.stringify(t));return typeof e.webWorkerSupport>"u"&&(e.webWorkerSupport=!0),e.idb||(e.idb={}),e.idb.ttl||(e.idb.ttl=1e3*45),e.idb.fallbackInterval||(e.idb.fallbackInterval=150),t.idb&&typeof t.idb.onclose=="function"&&(e.idb.onclose=t.idb.onclose),e.localstorage||(e.localstorage={}),e.localstorage.removeTimeout||(e.localstorage.removeTimeout=1e3*60),t.methods&&(e.methods=t.methods),e.node||(e.node={}),e.node.ttl||(e.node.ttl=1e3*60*2),typeof e.node.useFastPath>"u"&&(e.node.useFastPath=!0),e}var pw=It,hw="pubkey.broadcast-channel-0-",mt="messages",dw="idb";function Jh(){if(typeof indexedDB<"u")return indexedDB;if(typeof window<"u"){if(typeof window.mozIndexedDB<"u")return window.mozIndexedDB;if(typeof window.webkitIndexedDB<"u")return window.webkitIndexedDB;if(typeof window.msIndexedDB<"u")return window.msIndexedDB}return!1}function mw(t){var e=Jh(),r=hw+t,n=e.open(r,1);n.onupgradeneeded=function(i){var s=i.target.result;s.createObjectStore(mt,{keyPath:"id",autoIncrement:!0})};var o=new Promise(function(i,s){n.onerror=function(a){return s(a)},n.onsuccess=function(){i(n.result)}});return o}function yw(t,e,r){var n=new Date().getTime(),o={uuid:e,time:n,data:r},i=t.transaction([mt],"readwrite");return new Promise(function(s,a){i.oncomplete=function(){return s()},i.onerror=function(c){return a(c)};var u=i.objectStore(mt);u.add(o)})}function gw(t,e){var r=t.transaction(mt).objectStore(mt),n=[];function o(){try{var i=IDBKeyRange.bound(e+1,1/0);return r.openCursor(i)}catch{return r.openCursor()}}return new Promise(function(i){o().onsuccess=function(s){var a=s.target.result;a?a.value.id<e+1?a.continue(e+1):(n.push(a.value),a.continue()):i(n)}})}function xw(t,e){var r=t.transaction([mt],"readwrite").objectStore(mt).delete(e);return new Promise(function(n){r.onsuccess=function(){return n()}})}function vw(t,e){var r=new Date().getTime()-e,n=t.transaction(mt).objectStore(mt),o=[];return new Promise(function(i){n.openCursor().onsuccess=function(s){var a=s.target.result;if(a){var u=a.value;if(u.time<r)o.push(u),a.continue();else{i(o);return}}else i(o)}})}function ww(t,e){return vw(t,e).then(function(r){return Promise.all(r.map(function(n){return xw(t,n.id)}))})}function bw(t,e){return e=Hr(e),mw(t).then(function(r){var n={closed:!1,lastCursorId:0,channelName:t,options:e,uuid:Hn(),eMIs:new Ei(e.idb.ttl*2),writeBlockPromise:Promise.resolve(),messagesCallback:null,readQueuePromises:[],db:r};return r.onclose=function(){n.closed=!0,e.idb.onclose&&e.idb.onclose()},Yh(n),n})}function Yh(t){t.closed||Zh(t).then(function(){return Si(t.options.idb.fallbackInterval)}).then(function(){return Yh(t)})}function Sw(t,e){return!(t.uuid===e.uuid||e.eMIs.has(t.id)||t.data.time<e.messagesCallbackTime)}function Zh(t){return t.closed||!t.messagesCallback?Promise.resolve():gw(t.db,t.lastCursorId).then(function(e){var r=e.filter(function(n){return!!n}).map(function(n){return n.id>t.lastCursorId&&(t.lastCursorId=n.id),n}).filter(function(n){return Sw(n,t)}).sort(function(n,o){return n.time-o.time});return r.forEach(function(n){t.messagesCallback&&(t.eMIs.add(n.id),t.messagesCallback(n.data))}),Promise.resolve()})}function Ew(t){t.closed=!0,t.db.close()}function _w(t,e){return t.writeBlockPromise=t.writeBlockPromise.then(function(){return yw(t.db,t.uuid,e)}).then(function(){zh(0,10)===0&&ww(t.db,t.options.idb.ttl)}),t.writeBlockPromise}function Tw(t,e,r){t.messagesCallbackTime=r,t.messagesCallback=e,Zh(t)}function Aw(){if(dt)return!1;var t=Jh();return!!t}function Cw(t){return t.idb.fallbackInterval*2}var Qh={create:bw,close:Ew,onMessage:Tw,postMessage:_w,canBeUsed:Aw,type:dw,averageResponseTime:Cw,microSeconds:pw};var Pw=It,Ow="pubkey.broadcastChannel-",Iw="localstorage";function Xh(){var t;if(typeof window>"u")return null;try{t=window.localStorage,t=window["ie8-eventlistener/storage"]||window.localStorage}catch{}return t}function Kh(t){return Ow+t}function Mw(t,e){return new Promise(function(r){Si().then(function(){var n=Kh(t.channelName),o={token:Hn(),time:new Date().getTime(),data:e,uuid:t.uuid},i=JSON.stringify(o);Xh().setItem(n,i);var s=document.createEvent("Event");s.initEvent("storage",!0,!0),s.key=n,s.newValue=i,window.dispatchEvent(s),r()})})}function $w(t,e){var r=Kh(t),n=function(i){i.key===r&&e(JSON.parse(i.newValue))};return window.addEventListener("storage",n),n}function Dw(t){window.removeEventListener("storage",t)}function Fw(t,e){if(e=Hr(e),!ed())throw new Error("BroadcastChannel: localstorage cannot be used");var r=Hn(),n=new Ei(e.localstorage.removeTimeout),o={channelName:t,uuid:r,eMIs:n};return o.listener=$w(t,function(i){o.messagesCallback&&i.uuid!==r&&(!i.token||n.has(i.token)||i.data.time&&i.data.time<o.messagesCallbackTime||(n.add(i.token),o.messagesCallback(i.data)))}),o}function Bw(t){Dw(t.listener)}function Rw(t,e,r){t.messagesCallbackTime=r,t.messagesCallback=e}function ed(){if(dt)return!1;var t=Xh();if(!t)return!1;try{var e="__broadcastchannel_check";t.setItem(e,"works"),t.removeItem(e)}catch{return!1}return!0}function Nw(){var t=120,e=navigator.userAgent.toLowerCase();return e.includes("safari")&&!e.includes("chrome")?t*2:t}var td={create:Fw,close:Bw,onMessage:Rw,postMessage:Mw,canBeUsed:ed,type:Iw,averageResponseTime:Nw,microSeconds:Pw};var Uw=It,Lw="simulate",du=new Set;function kw(t){var e={name:t,messagesCallback:null};return du.add(e),e}function jw(t){du.delete(t)}function Ww(t,e){return new Promise(function(r){return setTimeout(function(){var n=Array.from(du);n.filter(function(o){return o.name===t.name}).filter(function(o){return o!==t}).filter(function(o){return!!o.messagesCallback}).forEach(function(o){return o.messagesCallback(e)}),r()},5)})}function qw(t,e){t.messagesCallback=e}function Hw(){return!0}function zw(){return 5}var rd={create:kw,close:jw,onMessage:qw,postMessage:Ww,canBeUsed:Hw,type:Lw,averageResponseTime:zw,microSeconds:Uw};var yu=[Vh,Qh,td];dt&&(mu=nd(),typeof mu.canBeUsed=="function"&&yu.push(mu));var mu;function od(t){var e=[].concat(t.methods,yu).filter(Boolean);if(t.type){if(t.type==="simulate")return rd;var r=e.find(function(o){return o.type===t.type});if(r)return r;throw new Error("method-type "+t.type+" not found")}!t.webWorkerSupport&&!dt&&(e=e.filter(function(o){return o.type!=="idb"}));var n=e.find(function(o){return o.canBeUsed()});if(n)return n;throw new Error("No useable methode found:"+JSON.stringify(yu.map(function(o){return o.type})))}var zr=function(e,r){this.name=e,id&&(r=id),this.options=Hr(r),this.method=od(this.options),this._iL=!1,this._onML=null,this._addEL={message:[],internal:[]},this._uMP=new Set,this._befC=[],this._prepP=null,Vw(this)};zr._pubkey=!0;var id;zr.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed");return sd(this,"message",e)},postInternal:function(e){return sd(this,"internal",e)},set onmessage(t){var e=this.method.microSeconds(),r={time:e,fn:t};ud(this,"message",this._onML),t&&typeof t=="function"?(this._onML=r,ad(this,"message",r)):this._onML=null},addEventListener:function(e,r){var n=this.method.microSeconds(),o={time:n,fn:r};ad(this,e,o)},removeEventListener:function(e,r){var n=this._addEL[e].find(function(o){return o.fn===r});ud(this,e,n)},close:function(){var e=this;if(!this.closed){this.closed=!0;var r=this._prepP?this._prepP:Promise.resolve();return this._onML=null,this._addEL.message=[],r.then(function(){return Promise.all(Array.from(e._uMP))}).then(function(){return Promise.all(e._befC.map(function(n){return n()}))}).then(function(){return e.method.close(e._state)})}},get type(){return this.method.type},get isClosed(){return this.closed}};function sd(t,e,r){var n=t.method.microSeconds(),o={time:n,type:e,data:r},i=t._prepP?t._prepP:Promise.resolve();return i.then(function(){var s=t.method.postMessage(t._state,o);return t._uMP.add(s),s.catch().then(function(){return t._uMP.delete(s)}),s})}function Vw(t){var e=t.method.create(t.name,t.options);Hh(e)?(t._prepP=e,e.then(function(r){t._state=r})):t._state=e}function cd(t){return t._addEL.message.length>0||t._addEL.internal.length>0}function ad(t,e,r){t._addEL[e].push(r),Gw(t)}function ud(t,e,r){t._addEL[e]=t._addEL[e].filter(function(n){return n!==r}),Jw(t)}function Gw(t){if(!t._iL&&cd(t)){var e=function(o){t._addEL[o.type].forEach(function(i){o.time>=i.time&&i.fn(o.data)})},r=t.method.microSeconds();t._prepP?t._prepP.then(function(){t._iL=!0,t.method.onMessage(t._state,e,r)}):(t._iL=!0,t.method.onMessage(t._state,e,r))}}function Jw(t){if(t._iL&&!cd(t)){t._iL=!1;var e=t.method.microSeconds();t.method.onMessage(t._state,null,e)}}var gu=globalThis.BroadcastChannel;gu||(gu=zr);var xu=class{constructor(){this.broadcastChannel=new gu("dees-comms"),this.typedrouter=new Le.TypedRouter,this.typedtarget=new Le.TypedTarget({postMethodWithTypedRouter:async e=>{this.postMessage(e)},typedRouterRef:this.typedrouter}),this.broadcastChannel.onmessage=async e=>{let r=e.method?e:e.data;console.log(JSON.stringify(r));let n=await this.typedrouter.routeAndAddResponse(r);n&&!n.error&&this.postMessage(n)}}createTypedRequest(e){return new Le.TypedRequest(this.typedtarget,e)}async postMessage(e){this.broadcastChannel.postMessage(e)}async createTypedHandler(e,r){this.typedrouter.addTypedHandler(new Le.TypedHandler(e,r))}};var Ci={};G(Ci,{SmartRouter:()=>Su});var Ti={};G(Ti,{compile:()=>Qw,match:()=>Xw,parse:()=>vu,pathToRegexp:()=>bu,regexpToFunction:()=>fd,tokensToFunction:()=>ld,tokensToRegexp:()=>pd});function Zw(t){for(var e=[],r=0;r<t.length;){var n=t[r];if(n==="*"||n==="+"||n==="?"){e.push({type:"MODIFIER",index:r,value:t[r++]});continue}if(n==="\\"){e.push({type:"ESCAPED_CHAR",index:r++,value:t[r++]});continue}if(n==="{"){e.push({type:"OPEN",index:r,value:t[r++]});continue}if(n==="}"){e.push({type:"CLOSE",index:r,value:t[r++]});continue}if(n===":"){for(var o="",i=r+1;i<t.length;){var s=t.charCodeAt(i);if(s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===95){o+=t[i++];continue}break}if(!o)throw new TypeError("Missing parameter name at ".concat(r));e.push({type:"NAME",index:r,value:o}),r=i;continue}if(n==="("){var a=1,u="",i=r+1;if(t[i]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(i));for(;i<t.length;){if(t[i]==="\\"){u+=t[i++]+t[i++];continue}if(t[i]===")"){if(a--,a===0){i++;break}}else if(t[i]==="("&&(a++,t[i+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(i));u+=t[i++]}if(a)throw new TypeError("Unbalanced pattern at ".concat(r));if(!u)throw new TypeError("Missing pattern at ".concat(r));e.push({type:"PATTERN",index:r,value:u}),r=i;continue}e.push({type:"CHAR",index:r,value:t[r++]})}return e.push({type:"END",index:r,value:""}),e}function vu(t,e){e===void 0&&(e={});for(var r=Zw(t),n=e.prefixes,o=n===void 0?"./":n,i="[^".concat(Vr(e.delimiter||"/#?"),"]+?"),s=[],a=0,u=0,c="",l=function(k){if(u<r.length&&r[u].type===k)return r[u++].value},p=function(k){var J=l(k);if(J!==void 0)return J;var N=r[u],D=N.type,Z=N.index;throw new TypeError("Unexpected ".concat(D," at ").concat(Z,", expected ").concat(k))},y=function(){for(var k="",J;J=l("CHAR")||l("ESCAPED_CHAR");)k+=J;return k};u<r.length;){var x=l("CHAR"),E=l("NAME"),I=l("PATTERN");if(E||I){var $=x||"";o.indexOf($)===-1&&(c+=$,$=""),c&&(s.push(c),c=""),s.push({name:E||a++,prefix:$,suffix:"",pattern:I||i,modifier:l("MODIFIER")||""});continue}var T=x||l("ESCAPED_CHAR");if(T){c+=T;continue}c&&(s.push(c),c="");var A=l("OPEN");if(A){var $=y(),B=l("NAME")||"",M=l("PATTERN")||"",z=y();p("CLOSE"),s.push({name:B||(M?a++:""),pattern:B&&!M?i:M,prefix:$,suffix:z,modifier:l("MODIFIER")||""});continue}p("END")}return s}function Qw(t,e){return ld(vu(t,e),e)}function ld(t,e){e===void 0&&(e={});var r=wu(e),n=e.encode,o=n===void 0?function(u){return u}:n,i=e.validate,s=i===void 0?!0:i,a=t.map(function(u){if(typeof u=="object")return new RegExp("^(?:".concat(u.pattern,")$"),r)});return function(u){for(var c="",l=0;l<t.length;l++){var p=t[l];if(typeof p=="string"){c+=p;continue}var y=u?u[p.name]:void 0,x=p.modifier==="?"||p.modifier==="*",E=p.modifier==="*"||p.modifier==="+";if(Array.isArray(y)){if(!E)throw new TypeError('Expected "'.concat(p.name,'" to not repeat, but got an array'));if(y.length===0){if(x)continue;throw new TypeError('Expected "'.concat(p.name,'" to not be empty'))}for(var I=0;I<y.length;I++){var $=o(y[I],p);if(s&&!a[l].test($))throw new TypeError('Expected all "'.concat(p.name,'" to match "').concat(p.pattern,'", but got "').concat($,'"'));c+=p.prefix+$+p.suffix}continue}if(typeof y=="string"||typeof y=="number"){var $=o(String(y),p);if(s&&!a[l].test($))throw new TypeError('Expected "'.concat(p.name,'" to match "').concat(p.pattern,'", but got "').concat($,'"'));c+=p.prefix+$+p.suffix;continue}if(!x){var T=E?"an array":"a string";throw new TypeError('Expected "'.concat(p.name,'" to be ').concat(T))}}return c}}function Xw(t,e){var r=[],n=bu(t,r,e);return fd(n,r,e)}function fd(t,e,r){r===void 0&&(r={});var n=r.decode,o=n===void 0?function(i){return i}:n;return function(i){var s=t.exec(i);if(!s)return!1;for(var a=s[0],u=s.index,c=Object.create(null),l=function(y){if(s[y]===void 0)return"continue";var x=e[y-1];x.modifier==="*"||x.modifier==="+"?c[x.name]=s[y].split(x.prefix+x.suffix).map(function(E){return o(E,x)}):c[x.name]=o(s[y],x)},p=1;p<s.length;p++)l(p);return{path:a,index:u,params:c}}}function Vr(t){return t.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function wu(t){return t&&t.sensitive?"":"i"}function Kw(t,e){if(!e)return t;for(var r=/\((?:\?<(.*?)>)?(?!\?)/g,n=0,o=r.exec(t.source);o;)e.push({name:o[1]||n++,prefix:"",suffix:"",modifier:"",pattern:""}),o=r.exec(t.source);return t}function eb(t,e,r){var n=t.map(function(o){return bu(o,e,r).source});return new RegExp("(?:".concat(n.join("|"),")"),wu(r))}function tb(t,e,r){return pd(vu(t,r),e,r)}function pd(t,e,r){r===void 0&&(r={});for(var n=r.strict,o=n===void 0?!1:n,i=r.start,s=i===void 0?!0:i,a=r.end,u=a===void 0?!0:a,c=r.encode,l=c===void 0?function(Z){return Z}:c,p=r.delimiter,y=p===void 0?"/#?":p,x=r.endsWith,E=x===void 0?"":x,I="[".concat(Vr(E),"]|$"),$="[".concat(Vr(y),"]"),T=s?"^":"",A=0,B=t;A<B.length;A++){var M=B[A];if(typeof M=="string")T+=Vr(l(M));else{var z=Vr(l(M.prefix)),k=Vr(l(M.suffix));if(M.pattern)if(e&&e.push(M),z||k)if(M.modifier==="+"||M.modifier==="*"){var J=M.modifier==="*"?"?":"";T+="(?:".concat(z,"((?:").concat(M.pattern,")(?:").concat(k).concat(z,"(?:").concat(M.pattern,"))*)").concat(k,")").concat(J)}else T+="(?:".concat(z,"(").concat(M.pattern,")").concat(k,")").concat(M.modifier);else M.modifier==="+"||M.modifier==="*"?T+="((?:".concat(M.pattern,")").concat(M.modifier,")"):T+="(".concat(M.pattern,")").concat(M.modifier);else T+="(?:".concat(z).concat(k,")").concat(M.modifier)}}if(u)o||(T+="".concat($,"?")),T+=r.endsWith?"(?=".concat(I,")"):"$";else{var N=t[t.length-1],D=typeof N=="string"?$.indexOf(N[N.length-1])>-1:N===void 0;o||(T+="(?:".concat($,"(?=").concat(I,"))?")),D||(T+="(?=".concat($,"|").concat(I,")"))}return new RegExp(T,wu(r))}function bu(t,e,r){return t instanceof RegExp?Kw(t,e):Array.isArray(t)?eb(t,e,r):tb(t,e,r)}var Ai=class{constructor(){}getAllAsObject(){let e=new URLSearchParams(window.location.search);return Object.fromEntries(e.entries())}setQueryParam(e,r,n="replace"){var o=new URLSearchParams(window.location.search);o.set(e,r),n==="push"?history.pushState(null,null,"?"+o.toString()):history.replaceState(null,null,"?"+o.toString())}deleteQueryParam(e,r="replace"){var n=new URLSearchParams(window.location.search);n.delete(e),r==="push"?history.pushState(null,null,"?"+n.toString()):history.replaceState(null,null,"?"+n.toString())}getQueryParam(e){return this.getAllAsObject()[e]}};var Su=class{constructor(e){this.options={debug:!1},this.queryParams=new Ai,this.routes=[],this.options={...this.options,...e},window.addEventListener("popstate",r=>{r.preventDefault(),this._handleRouteState()})}async pushUrl(e="/",r={}){e!==window.location.pathname?window.history.pushState(r,window.document.title,e):window.history.replaceState(r,window.document.title,e),await this._handleRouteState()}on(e,r){this.routes.push({matchFunction:Ti.match(e),handler:r})}async _handleRouteState(){let e=window.location.pathname,r=this.routes.filter(n=>!!n.matchFunction(e));for(let n of r){let o=n.matchFunction(e);n.handler({...o.valueOf(),queryParams:this.queryParams.getAllAsObject()})}}};var Gr={};G(Gr,{Smartstate:()=>_u,StateAction:()=>zn,StatePart:()=>Vn});var Ii={};G(Ii,{sha256FromString:()=>sb});var Oi={};G(Oi,{Smartenv:()=>Eu});var dd=Ee(hd(),1);var Eu=class{constructor(){this.loadedScripts=[]}async getEnvAwareModule(e){if(this.isNode)return await this.getSafeNodeModule(e.nodeModuleName);if(this.isBrowser)return await this.getSafeWebModule(e.webUrlArg,e.getFunction);console.error("platform for loading not supported by smartenv")}async getSafeNodeModule(e){if(!this.isNode){console.error(`You tried to load a node module in a wrong context: ${e}`);return}return new Function(`return import('${e}')`)()}async getSafeWebModule(e,r){if(!this.isBrowser){console.error("You tried to load a web module in a wrong context");return}if(this.loadedScripts.includes(e))return r();this.loadedScripts.push(e);let n=dd.defer();if(globalThis.importScripts)globalThis.importScripts(e),n.resolve();else{let o=document.createElement("script");o.onload=()=>{n.resolve()},o.src=e,document.head.appendChild(o)}return await n.promise,r()}get runtimeEnv(){return typeof process<"u"?"node":"browser"}get isBrowser(){return!this.isNode}get userAgent(){return this.isBrowser?navigator.userAgent:"undefined"}get isNode(){return this.runtimeEnv==="node"}get nodeVersion(){return process.version}get isCI(){return this.isNode?!!process.env.CI:!1}async isMacAsync(){return this.isNode?(await this.getSafeNodeModule("os")).platform()==="darwin":!1}async isWindowsAsync(){return this.isNode?(await this.getSafeNodeModule("os")).platform()==="win32":!1}async isLinuxAsync(){return this.isNode?(await this.getSafeNodeModule("os")).platform()==="linux":!1}async printEnv(){this.isNode?(console.log("running on NODE"),console.log("node version is "+this.nodeVersion)):(console.log("running on BROWSER"),console.log("browser is "+this.userAgent))}};var ib=t=>{let e=[],r=new DataView(t);for(let n=0;n<r.byteLength;n+=4){let i=r.getUint32(n).toString(16),s="00000000",a=(s+i).slice(-s.length);e.push(a)}return e.join("")},sb=async t=>{let e=new Oi.Smartenv;if(e.isBrowser){let r=new TextEncoder().encode(t),n=await crypto.subtle.digest("SHA-256",r);return ib(n)}else if(e.isNode)return await(await e.getSafeNodeModule("@pushrocks/smarthash")).sha256FromString(t)};var zn=class{constructor(e,r){this.statePartRef=e,this.actionDef=r}trigger(e){this.statePartRef.dispatchAction(this,e)}};var Vn=class{constructor(e,r){this.state=new se.rxjs.Subject,this.cumulativeDeferred=H.cumulativeDefer(),this.webStore=null,this.name=e,r&&(this.webStoreOptions=r)}async init(){if(this.webStoreOptions){this.webStore=new Ot.WebStore(this.webStoreOptions),await this.webStore.init();let e=await this.webStore.get(String(this.name));e&&(this.stateStore=e,this.notifyChange())}}getState(){return this.stateStore}async setState(e){return this.stateStore=e,this.notifyChange(),this.webStore&&await this.webStore.set(String(this.name),e),this.stateStore}notifyChange(){let e=r=>Ii.sha256FromString(be.stringify(r));this.stateStore&&this.lastStateNotificationPayloadHash&&e(this.stateStore)===this.lastStateNotificationPayloadHash||(this.lastStateNotificationPayloadHash=this.stateStore,this.state.next(this.stateStore))}notifyChangeCumulative(){setTimeout(()=>this.state.next(this.stateStore),0)}select(e){return e||(e=n=>n),this.state.pipe(se.rxjs.ops.startWith(this.getState()),se.rxjs.ops.map(n=>{try{return e(n)}catch{}}))}createAction(e){return new zn(this,e)}async dispatchAction(e,r){await this.cumulativeDeferred.promise;let n=await e.actionDef(this,r);return await this.setState(n),this.getState()}async waitUntilPresent(e){let r=H.defer(),o=this.select(e).subscribe(async s=>{s&&r.resolve(s)}),i=await r.promise;return o.unsubscribe(),i}async stateSetup(e){let r=e(this);this.cumulativeDeferred.addPromise(r),this.setState(await r)}};var _u=class{constructor(){this.statePartMap={}}async getStatePart(e,r,n){if(this.statePartMap[e]){if(r&&(!n||n!=="soft"))throw new Error(`${e} already exists, yet you try to set an initial state again`);return this.statePartMap[e]}else{if(!r)throw new Error(`${e} does not yet exist, yet you don't provide an initial state`);return this.createStatePart(e,r,n)}}async createStatePart(e,r,n){let o=new Vn(e,n==="persistent"?{dbName:"smartstate",storeName:e}:null);await o.init();let i=o.getState();return await o.setState({...r,...i}),this.statePartMap[e]=o,o}};var Jr={};G(Jr,{Smarturl:()=>Tu});var Tu=class t{static createFromUrl(e,r){let n=new URL(e),o={},i=[];n.search&&n.search.replace("?","").split("&").map(c=>{i.push({key:c.split("=")[0],value:c.split("=")[1]})});for(let c of i)o[c.key]=c.value;if(r?.searchParams)for(let c of Object.keys(r.searchParams))o[c]=r.searchParams[c];let s=n.pathname||"";if(Object.keys(o).length>0){s+="?";let c=!0;for(let l of Object.keys(o))c?c=!1:s+="&",s+=`${l}=${o[l]}`}let a={...n,href:n.href,origin:n.origin,protocol:n.protocol,username:n.username,password:n.password,host:n.host,hostname:n.hostname,port:n.port,path:s,pathname:n.pathname,search:n.search,searchParams:o,hash:n.hash};!a.port&&a.protocol==="https:"&&(a.port="443"),!a.port&&a.protocol==="http:"&&(a.port="80");let u=new t;return Object.assign(u,a),u}static createFromParsedUrl(e){let r=new t;return Object.assign(r,e),r}constructor(){this.searchParams={}}toString(){let e="";return this.username&&!this.password&&(e=`${this.username}@`),this.username&&this.password&&(e=`${this.username}:${this.password}@`),`${this.protocol}//${e}${this.hostname}:${this.port}${this.path}`}};var Zr={};G(Zr,{CumulativeDeferred:()=>$i,Deferred:()=>Mi,cumulativeDefer:()=>ub,defer:()=>Yr,getFirstTrueOrFalse:()=>hb,map:()=>fb,rejectedPromise:()=>lb,resolvedPromise:()=>cb,timeoutAndContinue:()=>pb,timeoutWrap:()=>md});var Mi=class{claim(){if(this.claimed)throw new Error("Deferred already claimed");this.claimed=!0}get duration(){return this.stoppedAt?this.stoppedAt-this.startedAt:Date.now()-this.startedAt}constructor(){this.claimed=!1,this.promise=new Promise((e,r)=>{this.resolve=n=>{this.status="fulfilled",this.stoppedAt=Date.now(),e(n)},this.reject=n=>{this.status="rejected",this.stoppedAt=Date.now(),r(n)},this.startedAt=Date.now(),this.status="pending"})}},Yr=()=>new Mi;var $i=class{constructor(){this.accumulatedPromises=[],this.deferred=Yr(),this.promise=this.deferred.promise,setTimeout(async()=>{for(;this.accumulatedPromises.length>0;)await this.accumulatedPromises.shift();this.deferred.resolve()},0)}addPromise(e){this.accumulatedPromises.push(e)}},ub=()=>new $i;var cb=t=>Promise.resolve(t),lb=t=>Promise.reject(t),fb=async(t,e)=>{let r=[],n=[];for(let o of t){let i=e(o);r.push(i),i.then(s=>{n.push(s)})}return await Promise.all(r),n},md=async(t,e,r=!0)=>new Promise((n,o)=>{setTimeout(()=>{r?o(new Error("timeout")):n(null)},e),t.then(n,o)}),pb=async(t,e=6e4)=>md(t,e,!1),hb=async t=>{let e=Yr();for(let r of t)r.then(n=>{n===!0&&e.resolve(!0)});return Promise.all(t).then(()=>{e.resolve(!1)}),e.promise};var Mt=class{appendToDom(){!this.elementRef.parentElement&&!this.elementRef.parentNode&&document.getElementsByTagName("head")[0].appendChild(this.elementRef)}removeFromDom(){this.elementRef.parentElement?this.elementRef.parentElement.removeChild(this.elementRef):this.elementRef.parentNode&&this.elementRef.parentNode.removeChild(this.elementRef)}};var Qr=class t extends Mt{static createCompanyJsonLd(e){let r={"@context":"https://schema.org","@type":"Corporation",name:e.name,alternateName:e.name.replace(" GmbH",""),url:e.contact.website,logo:e.contact.logoUrl,contactPoint:{"@type":"ContactPoint",telephone:e.contact.phone,contactType:"customer service",areaServed:"DE",availableLanguage:["en","German"]},sameAs:[]};return e.contact.facebookUrl&&r.sameAs.push(e.contact.facebookUrl),e.contact.twitterUrl&&r.sameAs.push(e.contact.twitterUrl),new t(r)}static createNewsArticleJsonLd(e){let r={"@context":"https://schema.org","@type":"NewsArticle",mainEntityOfPage:{"@type":"WebPage","@id":window.location.href},headline:"Article headline",image:[e.featuredImageUrl],datePublished:new Date(e.timestamp).toISOString(),dateModified:new Date(e.timestamp).toISOString(),author:{"@type":"Person",name:`${e.author.firstName} ${e.author.surName}`},publisher:{"@type":"Organization",name:e.author.surName,logo:{"@type":"ImageObject",url:e.author.surName}},description:e.author.firstName};return new t(r)}static createProductJsonLd(e,r){let n={"@context":"https://schema.org","@type":"SoftwareApplication",name:e.name,description:e.description,operatingSystem:e.os,applicationCategory:e.category,offers:{"@type":"Offer",name:"User-based Plan",priceSpecification:{"@type":"PropertyValueSpecification",valueName:"Number of Users",valueRequired:!0,price:"4.99",priceCurrency:"EUR"}},publisher:this.createCompanyJsonLd(r).elementRef.textContent,screenshot:"https://www.social.io/screenshot.png",url:"https://www.social.io/"};return new t(n)}constructor(e){super();let r=document.createElement("script");r.type="application/ld+json",r.text=JSON.stringify(e),this.elementRef=r}};var Ie=class t extends Mt{static createNewsArticleOgTags(e){let r=[];return r.push(new t("og:url",e.url)),r.push(new t("og:title",e.title)),r.push(new t("og:description",e.content)),r.push(new t("og:image",e.featuredImageUrl)),r}static createProductOgTags(e){let r=[];return r.push(new t("og:url",globalThis.location.href)),r.push(new t("og:title",`${e.name} - ${e.slogan}`)),r.push(new t("og:site_name",e.name)),r.push(new t("og:description",e.description)),r.push(new t("og:image",e.logoLink)),r}constructor(e,r){super();let n=document.createElement("meta");n.setAttribute("property",e),n.content=r,this.elementRef=n}};var Xr=class{set title(e){this.titleStore=e,this.state==="enabled"&&(document.title=this.titleStore)}get title(){return this.titleStore}constructor(e,r){this.tags=[],this.state="disabled",this.tagManagerRef=e}addTag(e){if(e instanceof Array)for(let r of e)this.addTag(r);else this.tags.push(e),this.state==="enabled"&&e.appendToDom()}async addCompanyInfo(e){this.addTag(Qr.createCompanyJsonLd(e)),this.addTag(new Ie("og:type","business.business")),this.addTag(new Ie("og:title",e.name)),this.addTag(new Ie("og:url",e.contact.website)),this.addTag(new Ie("og:image",e.contact.logoUrl)),this.addTag(new Ie("business:contact_data:street_address",`${e.contact.address.streetName} ${e.contact.address.houseNumber}`)),this.addTag(new Ie("business:contact_data:locality",e.contact.address.postalCode)),this.addTag(new Ie("business:contact_data:region",e.contact.address.city)),this.addTag(new Ie("business:contact_data:postal_code",e.contact.address.postalCode)),this.addTag(new Ie("business:contact_data:country_name",e.contact.address.country))}addNewsArticleInfo(e){this.addTag(Qr.createNewsArticleJsonLd(e)),this.addTag(Ie.createNewsArticleOgTags(e))}addProductInfo(e,r){this.addTag(Qr.createProductJsonLd(e,r)),this.addTag(Ie.createProductOgTags(e))}async enable(){this.title&&(document.title=this.title);for(let e of this.tags)e.appendToDom();this.state="enabled"}async disable(){for(let e of this.tags)e.removeFromDom();this.state="disabled"}};var ze=class extends Mt{constructor(e,r){super();let n=document.createElement("meta");n.name=e,n.content=r,this.elementRef=n}};var Di=class{constructor(){this.globalLevel=new Xr(this,"global"),this.baseLevel=new Xr(this,"base")}async setup(e){switch(this.globalLevel.addTag(new ze("google","notranslate")),this.globalLevel.addTag(new ze("revisit-after","1 days")),e.twitterHandle&&(this.globalLevel.addTag(new ze("twitter:card","summary_large_image")),this.globalLevel.addTag(new ze("twitter:site",e.twitterHandle)),this.globalLevel.addTag(new ze("twitter:creator",e.twitterHandle))),this.baseLevel.title=e.title,e.description&&this.baseLevel.addTag(new ze("description",e.description)),e.canonicalDomain&&this.baseLevel.addTag(new ze("canonical",e.canonicalDomain)),!0){case(e.ldCompany&&!e.ldProduct):this.baseLevel.addCompanyInfo(e.ldCompany);break;case!!e.ldProduct:this.baseLevel.addProductInfo(e.ldProduct,e.ldCompany);break}await this.globalLevel.enable(),this.activeLevel=this.baseLevel,await this.activeLevel.enable()}async setSubPageLevel(e){let r=new Xr(this,"subpage");return r.title=e.title,e.description&&r.addTag(new ze("description",e.description)),await this.activeLevel.disable(),this.activeLevel=r,await this.activeLevel.enable(),r}async revertToBaseLevel(){this.activeLevel!==this.baseLevel&&(await this.activeLevel.disable(),this.activeLevel=this.baseLevel,await this.activeLevel.enable())}};var Fi=class{constructor(e){this.tagManager=new Di,this.readyDeferred=Zr.defer(),this.readyForSmartssrDeferred=Zr.defer(),this.readyPromise=this.readyDeferred.promise,this.readyForSmartssrPromise=this.readyForSmartssrDeferred.promise,this.options=e,this.setup().then(()=>{this.readyDeferred.resolve(),this.options.smartssrWaitForReadySignal||this.readyForSmartssrDeferred.resolve()})}async setup(e){e&&(this.options=e),await this.tagManager.setup(this.options.metaObject)}revertToBaseLevel(){this.tagManager.revertToBaseLevel()}async setSubLevel(e){return await this.tagManager.setSubPageLevel(e)}flashTitle(e){}informReadyForSmartssr(){this.options.smartssrWaitForReadySignal||console.error("You have not indicated that you inform smartssr by a dedicated signal! Please consider doing so!"),this.readyForSmartssrDeferred.resolve()}};var Gn=Ee(yd(),1);var Pu={ObjectMap:ct,Stringmap:En,FastMap:Vt};var yt={};G(yt,{cssForDesktop:()=>wb,cssForNotebook:()=>bb,cssForPhablet:()=>Eb,cssForPhone:()=>_b,cssForTablet:()=>Sb,desktop:()=>Ou,notebook:()=>Iu,phablet:()=>$u,phone:()=>Du,tablet:()=>Mu});var Ou=1600,Iu=1240,Mu=1024,$u=600,Du=400,wb=t=>ue(`
|
|
15
|
-
@container wccToolsViewport (min-width: ${Ou}px) {
|
|
16
|
-
${t.cssText}
|
|
17
|
-
}
|
|
18
|
-
@media (min-width: ${Ou}px) {
|
|
19
|
-
${t.cssText}
|
|
20
|
-
}
|
|
21
|
-
`),bb=t=>ue(`
|
|
22
|
-
@container wccToolsViewport (max-width: ${Iu}px) {
|
|
23
|
-
${t.cssText}
|
|
24
|
-
}
|
|
25
|
-
@media (max-width: ${Iu}px) {
|
|
26
|
-
${t.cssText}
|
|
27
|
-
}
|
|
28
|
-
`),Sb=t=>ue(`
|
|
29
|
-
@container wccToolsViewport (max-width: ${Mu}px) {
|
|
30
|
-
${t.cssText}
|
|
31
|
-
}
|
|
32
|
-
@media (max-width: ${Mu}px) {
|
|
33
|
-
${t.cssText}
|
|
34
|
-
}
|
|
35
|
-
`),Eb=t=>ue(`
|
|
36
|
-
@container wccToolsViewport (max-width: ${$u}px) {
|
|
37
|
-
${t.cssText}
|
|
38
|
-
}
|
|
39
|
-
@media (max-width: ${$u}px) {
|
|
40
|
-
${t.cssText}
|
|
41
|
-
}
|
|
42
|
-
`),_b=t=>ue(`
|
|
43
|
-
@container wccToolsViewport (max-width: ${Du}px) {
|
|
44
|
-
${t.cssText}
|
|
45
|
-
}
|
|
46
|
-
@media (max-width: ${Du}px) {
|
|
47
|
-
${t.cssText}
|
|
48
|
-
}
|
|
49
|
-
`);var Ri=class{constructor(e){this.goBrightBoolean=!1,this.preferredColorSchemeMediaMatch=window.matchMedia("(prefers-color-scheme: light)"),this.themeObservable=new se.rxjs.ReplaySubject(1),this.domtoolsRef=e,this.goBrightBoolean=this.preferredColorSchemeMediaMatch.matches,this.preferredColorSchemeMediaMatch.addEventListener("change",r=>{this.goBrightBoolean=r.matches,this.updateAllConnectedElements()}),this.updateAllConnectedElements()}async updateAllConnectedElements(){document.body&&document.body.style&&(document.body.style.background=this.goBrightBoolean?"#fff":"#000"),this.themeObservable.next(this.goBrightBoolean)}goBright(){this.goBrightBoolean=!0,this.updateAllConnectedElements()}goDark(){this.goBrightBoolean=!1,this.updateAllConnectedElements()}toggleDarkBright(){this.goBrightBoolean=!this.goBrightBoolean,this.updateAllConnectedElements()}};var Fu;(function(t){t[t.Backspace=8]="Backspace",t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Shift=16]="Shift",t[t.Ctrl=17]="Ctrl",t[t.Alt=18]="Alt",t[t.PauseBreak=19]="PauseBreak",t[t.CapsLock=20]="CapsLock",t[t.Escape=27]="Escape",t[t.Space=32]="Space",t[t.PageUp=33]="PageUp",t[t.PageDown=34]="PageDown",t[t.End=35]="End",t[t.Home=36]="Home",t[t.LeftArrow=37]="LeftArrow",t[t.UpArrow=38]="UpArrow",t[t.RightArrow=39]="RightArrow",t[t.DownArrow=40]="DownArrow",t[t.Insert=45]="Insert",t[t.Delete=46]="Delete",t[t.Zero=48]="Zero",t[t.ClosedParen=48]="ClosedParen",t[t.One=49]="One",t[t.ExclamationMark=49]="ExclamationMark",t[t.Two=50]="Two",t[t.AtSign=50]="AtSign",t[t.Three=51]="Three",t[t.PoundSign=51]="PoundSign",t[t.Hash=51]="Hash",t[t.Four=52]="Four",t[t.DollarSign=52]="DollarSign",t[t.Five=53]="Five",t[t.PercentSign=53]="PercentSign",t[t.Six=54]="Six",t[t.Caret=54]="Caret",t[t.Hat=54]="Hat",t[t.Seven=55]="Seven",t[t.Ampersand=55]="Ampersand",t[t.Eight=56]="Eight",t[t.Star=56]="Star",t[t.Asterik=56]="Asterik",t[t.Nine=57]="Nine",t[t.OpenParen=57]="OpenParen",t[t.A=65]="A",t[t.B=66]="B",t[t.C=67]="C",t[t.D=68]="D",t[t.E=69]="E",t[t.F=70]="F",t[t.G=71]="G",t[t.H=72]="H",t[t.I=73]="I",t[t.J=74]="J",t[t.K=75]="K",t[t.L=76]="L",t[t.M=77]="M",t[t.N=78]="N",t[t.O=79]="O",t[t.P=80]="P",t[t.Q=81]="Q",t[t.R=82]="R",t[t.S=83]="S",t[t.T=84]="T",t[t.U=85]="U",t[t.V=86]="V",t[t.W=87]="W",t[t.X=88]="X",t[t.Y=89]="Y",t[t.Z=90]="Z",t[t.LeftWindowKey=91]="LeftWindowKey",t[t.RightWindowKey=92]="RightWindowKey",t[t.SelectKey=93]="SelectKey",t[t.Numpad0=96]="Numpad0",t[t.Numpad1=97]="Numpad1",t[t.Numpad2=98]="Numpad2",t[t.Numpad3=99]="Numpad3",t[t.Numpad4=100]="Numpad4",t[t.Numpad5=101]="Numpad5",t[t.Numpad6=102]="Numpad6",t[t.Numpad7=103]="Numpad7",t[t.Numpad8=104]="Numpad8",t[t.Numpad9=105]="Numpad9",t[t.Multiply=106]="Multiply",t[t.Add=107]="Add",t[t.Subtract=109]="Subtract",t[t.DecimalPoint=110]="DecimalPoint",t[t.Divide=111]="Divide",t[t.F1=112]="F1",t[t.F2=113]="F2",t[t.F3=114]="F3",t[t.F4=115]="F4",t[t.F5=116]="F5",t[t.F6=117]="F6",t[t.F7=118]="F7",t[t.F8=119]="F8",t[t.F9=120]="F9",t[t.F10=121]="F10",t[t.F11=122]="F11",t[t.F12=123]="F12",t[t.NumLock=144]="NumLock",t[t.ScrollLock=145]="ScrollLock",t[t.SemiColon=186]="SemiColon",t[t.Equals=187]="Equals",t[t.Comma=188]="Comma",t[t.Dash=189]="Dash",t[t.Period=190]="Period",t[t.UnderScore=189]="UnderScore",t[t.PlusSign=187]="PlusSign",t[t.ForwardSlash=191]="ForwardSlash",t[t.Tilde=192]="Tilde",t[t.GraveAccent=192]="GraveAccent",t[t.OpenBracket=219]="OpenBracket",t[t.ClosedBracket=221]="ClosedBracket",t[t.Quote=222]="Quote"})(Fu||(Fu={}));var Ni=class{constructor(e){this.domNode=e,this.mapCombosToHandlers=new Map,this.pressedKeys=new Set,this.keyEnum=Fu,this.handleKeyDown=r=>{this.pressedKeys.add(r.keyCode),this.checkMatchingKeyboardSubjects(r)},this.handleKeyUp=r=>{this.pressedKeys.delete(r.keyCode)},this.startListening()}on(e){let r=new se.rxjs.Subject;return this.registerKeys(e,r),r}triggerKeyPress(e){for(let r of e)this.pressedKeys.add(r);this.checkMatchingKeyboardSubjects();for(let r of e)this.pressedKeys.delete(r)}startListening(){this.domNode.addEventListener("keydown",this.handleKeyDown),this.domNode.addEventListener("keyup",this.handleKeyUp)}stopListening(){this.domNode.removeEventListener("keydown",this.handleKeyDown),this.domNode.removeEventListener("keyup",this.handleKeyUp)}clear(){this.stopListening(),this.mapCombosToHandlers.clear(),this.pressedKeys.clear()}checkMatchingKeyboardSubjects(e){this.mapCombosToHandlers.forEach((r,n)=>{this.areAllKeysPressed(n)&&r.next(e)})}areAllKeysPressed(e){let r=!0;return e.forEach(n=>{this.pressedKeys.has(n)||(r=!1)}),r}registerKeys(e,r){if(!this.mapCombosToHandlers.has(e))this.mapCombosToHandlers.set(e,r);else return this.mapCombosToHandlers.get(e)}};var et=class t{static async setupDomTools(e={}){let r;if(!globalThis.deesDomTools&&!e.ignoreGlobal){globalThis.deesDomTools=new t(e),r=globalThis.deesDomTools;let n=()=>{(document.readyState==="interactive"||document.readyState==="complete")&&(r.elements.headElement=document.querySelector("head"),r.elements.bodyElement=document.querySelector("body"),r.domReady.resolve())};document.addEventListener("readystatechange",n),r.domToolsReady.resolve()}else e.ignoreGlobal?r=new t(e):r=globalThis.deesDomTools;return await r.domToolsReady.promise,r}static getGlobalDomToolsSync(){if(!globalThis.deesDomTools)throw new Error("You tried to access domtools synchronously too early");return globalThis.deesDomTools}constructor(e){this.elements={headElement:null,bodyElement:null},this.websetup=new Fi({metaObject:{title:"loading..."}}),this.smartstate=new Gr.Smartstate,this.domToolsStatePart=this.smartstate.getStatePart("domtools",{virtualViewport:"native",jwt:null}),this.router=new Ci.SmartRouter({debug:!1}),this.convenience={typedrequest:Le,smartdelay:ee,smartjson:be,smarturl:Jr},this.deesComms=new _i.DeesComms,this.scroller=new Gn.default({}),this.themeManager=new Ri(this),this.keyboard=new Ni(document.body),this.domToolsReady=H.defer(),this.domReady=H.defer(),this.globalStylesReady=H.defer(),this.runOnceTrackerStringMap=new Pu.Stringmap,this.runOnceResultMap=new Pu.FastMap}async runOnce(e,r){let n=`${e}+runningCheck`;if(!this.runOnceTrackerStringMap.checkString(e)){this.runOnceTrackerStringMap.addString(e),this.runOnceTrackerStringMap.addString(n);let o=await r();this.runOnceResultMap.addToMap(e,o),this.runOnceTrackerStringMap.removeString(n)}return await this.runOnceTrackerStringMap.registerUntilTrue(o=>!o.includes(n),()=>this.runOnceResultMap.getByKey(e))}async setGlobalStyles(e){await this.domReady.promise;let r=document.createElement("style");r.type="text/css",r.appendChild(document.createTextNode(e)),this.elements.headElement.appendChild(r)}async setExternalScript(e){await this.domReady.promise;let r=H.defer(),n=document.createElement("script");n.src=e,n.addEventListener("load",function(){r.resolve()}),(document.head||document.body).append(n),await r.promise}async setExternalCss(e){let r=document.createElement("link");r.rel="stylesheet",r.crossOrigin="anonymous",r.href=e,document.head.append(r)}async setWebsiteInfo(e){await this.websetup.setup(e),await this.websetup.readyPromise}};var Ui=(()=>{let t=navigator.userAgent.indexOf("Mac OS X")===-1?Ge``.cssText:"";return Ge`
|
|
50
|
-
/* width */
|
|
51
|
-
::-webkit-scrollbar {
|
|
52
|
-
width: 0px;
|
|
53
|
-
}
|
|
54
|
-
body {
|
|
55
|
-
scrollbar-width: none;
|
|
56
|
-
}
|
|
57
|
-
`.cssText})(),gd=Ge`
|
|
58
|
-
/*
|
|
59
|
-
@font-face {
|
|
60
|
-
font-family: 'Material Icons';
|
|
61
|
-
font-style: normal;
|
|
62
|
-
font-weight: 400;
|
|
63
|
-
src: url(https://fonts.gstatic.com/s/materialicons/v42/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2)
|
|
64
|
-
format('woff2');
|
|
65
|
-
} */
|
|
66
|
-
|
|
67
|
-
/* global body styles */
|
|
68
|
-
body {
|
|
69
|
-
margin: 0px;
|
|
70
|
-
font-family: 'Roboto', 'Inter', sans-serif;
|
|
71
|
-
box-sizing: border-box;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/* scroll bar styles */
|
|
75
|
-
${ue(Ui)}
|
|
76
|
-
`.cssText;var Tb=Ge`
|
|
77
|
-
* {
|
|
78
|
-
transition: background 0.1s, color 0.1s;
|
|
79
|
-
box-sizing: border-box;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
:host {
|
|
83
|
-
box-sizing: border-box;
|
|
84
|
-
font-family: 'Roboto', 'Inter', sans-serif;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
${ue(Ui)}
|
|
88
|
-
`,Ab=Gi`
|
|
89
|
-
<style>
|
|
90
|
-
* {
|
|
91
|
-
transition: background 0.1s, color 0.1s;
|
|
92
|
-
box-sizing: border-box;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
:host {
|
|
96
|
-
font-family: 'Roboto', 'Inter', sans-serif;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
${Ui}
|
|
100
|
-
</style>
|
|
101
|
-
`,Cb=async(t,e={})=>{let r=await et.setupDomTools(e);return r.runOnce("elementBasicSetup",async()=>{r.setGlobalStyles(gd)}),r};var Bu={};G(Bu,{cssGridColumns:()=>Pb});var Pb=(t,e)=>{let r="";for(let n=0;n<t;n++)r+=` calc((100%/${t}) - (${e*(t-1)}px/${t}))`;return r};var Ob={smartdelay:ee,smartpromise:H,SweetScroll:Gn.default,smartstate:Gr,smartrx:se,smarturl:Jr,typedrequest:Le};var rr={css:Ge,unsafeCSS:ue,LitElement:xt,property:xn};var Li=class{constructor(){this.domtoolsPromise=et.setupDomTools(),this.goBright=!1,this.bdVarTripletStore=[],this.cssGridColumns=(e,r)=>{let n="";for(let o=0;o<e;o++)n+=` calc((100%/${e}) - (${r*(e-1)}px/${e}))`;return rr.unsafeCSS(n)},this.domtoolsPromise.then(async e=>{e.themeManager.themeObservable.subscribe(async r=>{this.goBright=r,await e.domReady.promise;for(let n of this.bdVarTripletStore)document.body.style.setProperty(n.cssVarName,this.goBright?n.brightValue:n.darkValue)})})}get defaultStyles(){return Jn.staticStyles}cssForDesktop(e){return ue(yt.cssForDesktop(e))}cssForNotebook(e){return ue(yt.cssForNotebook(e))}cssForTablet(e){return ue(yt.cssForTablet(e))}cssForPhablet(e){return ue(yt.cssForPhablet(e))}cssForPhone(e){return ue(yt.cssForPhone(e))}bdTheme(e,r){let n,o;et.getGlobalDomToolsSync()?o=et.getGlobalDomToolsSync().themeManager.goBrightBoolean?e:r:o=r;let i=this.bdVarTripletStore.find(s=>s.darkValue===r&&s.brightValue===e);if(i)n=i.cssVarName;else{let s={cssVarName:`--${xd.uni()}`,brightValue:e,darkValue:r};this.bdVarTripletStore.push(s),this.domtoolsPromise.then(async a=>{await a.domReady.promise,document.body.style.setProperty(s.cssVarName,o)}),n=s.cssVarName}return rr.unsafeCSS(`var(${n}, ${o})`)}};var or={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},De=t=>(...e)=>({_$litDirective$:t,values:e}),nr=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var Yn=class extends nr{constructor(e){if(super(e),this.et=ae,e.type!==or.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ae||e==null)return this.vt=void 0,this.et=e;if(e===he)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Yn.directiveName="unsafeHTML",Yn.resultType=1;var Ib=De(Yn);var Mb=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};function $b(t){return xn({...t,state:!0,attribute:!1})}var{D:Db}=Xu,bd=t=>t===null||typeof t!="object"&&typeof t!="function";var Sd=t=>t.strings===void 0,wd=()=>document.createComment(""),Ed=(t,e,r)=>{let n=t._$AA.parentNode,o=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=n.insertBefore(wd(),o),s=n.insertBefore(wd(),o);r=new Db(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,a=s!==t;if(a){let u;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(u=t._$AU)!==s._$AU&&r._$AP(u)}if(i!==o||a){let u=r._$AA;for(;u!==i;){let c=u.nextSibling;n.insertBefore(u,o),u=c}}}return r},_d=(t,e,r=t)=>(t._$AI(e,r),t);var Td=t=>{t._$AR()};var Zn=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(e,!1),Zn(n,e);return!0},ji=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},Ad=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),Rb(e)}};function Fb(t){this._$AN!==void 0?(ji(this),this._$AM=t,Ad(this)):this._$AM=t}function Bb(t,e=!1,r=0){let n=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(e)if(Array.isArray(n))for(let i=r;i<n.length;i++)Zn(n[i],!1),ji(n[i]);else n!=null&&(Zn(n,!1),ji(n));else Zn(this,t)}var Rb=t=>{t.type==or.CHILD&&(t._$AP??=Bb,t._$AQ??=Fb)},tt=class extends nr{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,n){super._$AT(e,r,n),Ad(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(Zn(this,e),ji(this))}setValue(e){if(Sd(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var Cd=async(t,e)=>{for await(let r of t)if(await e(r)===!1)return},Kr=class{constructor(e){this.G=e}disconnect(){this.G=void 0}reconnect(e){this.G=e}deref(){return this.G}},en=class{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){this.Y??=new Promise(e=>this.Z=e)}resume(){this.Z?.(),this.Y=this.Z=void 0}};var Pd=t=>!bd(t)&&typeof t.then=="function",Od=1073741823,Ru=class extends tt{constructor(){super(...arguments),this._$C_t=Od,this._$Cwt=[],this._$Cq=new Kr(this),this._$CK=new en}render(...e){return e.find(r=>!Pd(r))??he}update(e,r){let n=this._$Cwt,o=n.length;this._$Cwt=r;let i=this._$Cq,s=this._$CK;this.isConnected||this.disconnected();for(let a=0;a<r.length&&!(a>this._$C_t);a++){let u=r[a];if(!Pd(u))return this._$C_t=a,u;a<o&&u===n[a]||(this._$C_t=Od,o=0,Promise.resolve(u).then(async c=>{for(;s.get();)await s.get();let l=i.deref();if(l!==void 0){let p=l._$Cwt.indexOf(u);p>-1&&p<l._$C_t&&(l._$C_t=p,l.setValue(c))}}))}return he}disconnected(){this._$Cq.disconnect(),this._$CK.pause()}reconnected(){this._$Cq.reconnect(this),this._$CK.resume()}},Nb=De(Ru);var Qn=class extends tt{constructor(){super(...arguments),this._$Cq=new Kr(this),this._$CK=new en}render(e,r){return he}update(e,[r,n]){if(this.isConnected||this.disconnected(),r===this._$CX)return;this._$CX=r;let o=0,{_$Cq:i,_$CK:s}=this;return Cd(r,async a=>{for(;s.get();)await s.get();let u=i.deref();if(u!==void 0){if(u._$CX!==r)return!1;n!==void 0&&(a=n(a,o)),u.commitValue(a,o),o++}return!0}),he}commitValue(e,r){this.setValue(e)}disconnected(){this._$Cq.disconnect(),this._$CK.pause()}reconnected(){this._$Cq.reconnect(this),this._$CK.resume()}},XD=De(Qn);var Ub=De(class extends Qn{constructor(t){if(super(t),t.type!==or.CHILD)throw Error("asyncAppend can only be used in child expressions")}update(t,e){return this._$CJ=t,super.update(t,e)}commitValue(t,e){e===0&&Td(this._$CJ);let r=Ed(this._$CJ);_d(r,t)}});var Id=function(t,e,r,n){var o=arguments.length,i=o<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(i=(o<3?s(i):o>3?s(e,r,i):s(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i},Md=function(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)},Wi=class extends rr.LitElement{constructor(e={}){super(),this.goBright=!1,this.rxSubscriptions=[],this.elementDomReadyDeferred=$t.plugins.smartpromise.defer(),this.elementDomReady=this.elementDomReadyDeferred.promise,this.garbageFunctions=[],this.domtoolsPromise=$t.elementBasic.setup(this,e),this.domtoolsPromise.then(r=>{this.domtools=r})}async connectedCallback(){super.connectedCallback();let e=await this.domtoolsPromise;this.themeSubscription=e.themeManager.themeObservable.subscribe(r=>{this.goBright=r}),this.rxSubscriptions.push(this.themeSubscription),this.dispatchEvent(new CustomEvent("deesElementConnected"))}firstUpdated(e){super.firstUpdated(e),this.elementDomReadyDeferred.resolve()}registerGarbageFunction(e){this.garbageFunctions.push(e)}async disconnectedCallback(){await this.domtoolsPromise,super.disconnectedCallback();for(let e of this.rxSubscriptions)e.unsubscribe();for(let e of this.garbageFunctions)e();this.dispatchEvent(new CustomEvent("deesElementDisconnected"))}};Id([rr.property({type:Boolean}),Md("design:type",Boolean)],Wi.prototype,"goBright",void 0);Id([rr.property(),Md("design:type",$t.DomTools)],Wi.prototype,"domtools",void 0);var Nu=class extends tt{constructor(){super(...arguments),this.sub=null}render(e){return this.observable!==e&&(this.sub?.unsubscribe(),this.observable=e,this.isConnected&&this.subscribe(e)),he}subscribe(e){this.sub=e.subscribe(r=>{this.setValue(r)})}disconnected(){this.sub?.unsubscribe()}reconnected(){this.subscribe(this.observable)}},Lb=De(Nu);var Uu=class extends tt{constructor(){super(...arguments),this.hasPromiseSettled=!1}render(e){return this.promise!==e&&(this.promise=e,this.isConnected&&this.handlePromise(e)),he}handlePromise(e){this.hasPromiseSettled=!1,e.then(r=>{this.promise===e&&!this.hasPromiseSettled&&(this.setValue(r),this.hasPromiseSettled=!0)}).catch(r=>{this.promise===e&&!this.hasPromiseSettled&&(this.setValue(r),this.hasPromiseSettled=!0)})}disconnected(){this.hasPromiseSettled=!0}reconnected(){this.hasPromiseSettled||this.handlePromise(this.promise)}},$d=De(Uu),gF=t=>$d(t());var EF=new Li;export{L as a,Ee as b,kb as c,Ge as d,Gi as e,H as f,xn as g,Ra as h,et as i,Jn as j,Ob as k,$t as l,Mb as m,$b as n,Wi as o,gF as p,EF as q};
|
|
102
|
-
/*! Bundled license information:
|
|
103
|
-
|
|
104
|
-
ieee754/index.js:
|
|
105
|
-
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
106
|
-
|
|
107
|
-
buffer/index.js:
|
|
108
|
-
(*!
|
|
109
|
-
* The buffer module from node.js, for the browser.
|
|
110
|
-
*
|
|
111
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
112
|
-
* @license MIT
|
|
113
|
-
*)
|
|
114
|
-
|
|
115
|
-
punycode/punycode.js:
|
|
116
|
-
(*! https://mths.be/punycode v1.4.1 by @mathias *)
|
|
117
|
-
|
|
118
|
-
is-number/index.js:
|
|
119
|
-
(*!
|
|
120
|
-
* is-number <https://github.com/jonschlinkert/is-number>
|
|
121
|
-
*
|
|
122
|
-
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
123
|
-
* Released under the MIT License.
|
|
124
|
-
*)
|
|
125
|
-
|
|
126
|
-
randomatic/index.js:
|
|
127
|
-
(*!
|
|
128
|
-
* randomatic <https://github.com/jonschlinkert/randomatic>
|
|
129
|
-
*
|
|
130
|
-
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
131
|
-
* Released under the MIT License.
|
|
132
|
-
*)
|
|
133
|
-
|
|
134
|
-
sweet-scroll/sweet-scroll.js:
|
|
135
|
-
(*! @preserve sweet-scroll v4.0.0 - tsuyoshiwada | MIT License *)
|
|
136
|
-
(*! *****************************************************************************
|
|
137
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
138
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
139
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
140
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
141
|
-
|
|
142
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
143
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
144
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
145
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
146
|
-
|
|
147
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
|
148
|
-
and limitations under the License.
|
|
149
|
-
***************************************************************************** *)
|
|
150
|
-
|
|
151
|
-
lit-html/lit-html.js:
|
|
152
|
-
(**
|
|
153
|
-
* @license
|
|
154
|
-
* Copyright 2017 Google LLC
|
|
155
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
156
|
-
*)
|
|
157
|
-
|
|
158
|
-
@lit/reactive-element/css-tag.js:
|
|
159
|
-
(**
|
|
160
|
-
* @license
|
|
161
|
-
* Copyright 2019 Google LLC
|
|
162
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
163
|
-
*)
|
|
164
|
-
|
|
165
|
-
@lit/reactive-element/reactive-element.js:
|
|
166
|
-
(**
|
|
167
|
-
* @license
|
|
168
|
-
* Copyright 2017 Google LLC
|
|
169
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
170
|
-
*)
|
|
171
|
-
|
|
172
|
-
lit-element/lit-element.js:
|
|
173
|
-
(**
|
|
174
|
-
* @license
|
|
175
|
-
* Copyright 2017 Google LLC
|
|
176
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
177
|
-
*)
|
|
178
|
-
|
|
179
|
-
lit-html/is-server.js:
|
|
180
|
-
(**
|
|
181
|
-
* @license
|
|
182
|
-
* Copyright 2022 Google LLC
|
|
183
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
184
|
-
*)
|
|
185
|
-
|
|
186
|
-
@lit/reactive-element/decorators/property.js:
|
|
187
|
-
(**
|
|
188
|
-
* @license
|
|
189
|
-
* Copyright 2017 Google LLC
|
|
190
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
191
|
-
*)
|
|
192
|
-
|
|
193
|
-
lit-html/directive.js:
|
|
194
|
-
(**
|
|
195
|
-
* @license
|
|
196
|
-
* Copyright 2017 Google LLC
|
|
197
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
198
|
-
*)
|
|
199
|
-
|
|
200
|
-
lit-html/directives/unsafe-html.js:
|
|
201
|
-
(**
|
|
202
|
-
* @license
|
|
203
|
-
* Copyright 2017 Google LLC
|
|
204
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
205
|
-
*)
|
|
206
|
-
|
|
207
|
-
@lit/reactive-element/decorators/custom-element.js:
|
|
208
|
-
(**
|
|
209
|
-
* @license
|
|
210
|
-
* Copyright 2017 Google LLC
|
|
211
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
212
|
-
*)
|
|
213
|
-
|
|
214
|
-
@lit/reactive-element/decorators/state.js:
|
|
215
|
-
(**
|
|
216
|
-
* @license
|
|
217
|
-
* Copyright 2017 Google LLC
|
|
218
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
219
|
-
*)
|
|
220
|
-
|
|
221
|
-
@lit/reactive-element/decorators/event-options.js:
|
|
222
|
-
(**
|
|
223
|
-
* @license
|
|
224
|
-
* Copyright 2017 Google LLC
|
|
225
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
226
|
-
*)
|
|
227
|
-
|
|
228
|
-
@lit/reactive-element/decorators/base.js:
|
|
229
|
-
(**
|
|
230
|
-
* @license
|
|
231
|
-
* Copyright 2017 Google LLC
|
|
232
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
233
|
-
*)
|
|
234
|
-
|
|
235
|
-
@lit/reactive-element/decorators/query.js:
|
|
236
|
-
(**
|
|
237
|
-
* @license
|
|
238
|
-
* Copyright 2017 Google LLC
|
|
239
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
240
|
-
*)
|
|
241
|
-
|
|
242
|
-
@lit/reactive-element/decorators/query-all.js:
|
|
243
|
-
(**
|
|
244
|
-
* @license
|
|
245
|
-
* Copyright 2017 Google LLC
|
|
246
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
247
|
-
*)
|
|
248
|
-
|
|
249
|
-
@lit/reactive-element/decorators/query-async.js:
|
|
250
|
-
(**
|
|
251
|
-
* @license
|
|
252
|
-
* Copyright 2017 Google LLC
|
|
253
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
254
|
-
*)
|
|
255
|
-
|
|
256
|
-
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
257
|
-
(**
|
|
258
|
-
* @license
|
|
259
|
-
* Copyright 2021 Google LLC
|
|
260
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
261
|
-
*)
|
|
262
|
-
|
|
263
|
-
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
264
|
-
(**
|
|
265
|
-
* @license
|
|
266
|
-
* Copyright 2017 Google LLC
|
|
267
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
268
|
-
*)
|
|
269
|
-
|
|
270
|
-
lit-html/directive-helpers.js:
|
|
271
|
-
(**
|
|
272
|
-
* @license
|
|
273
|
-
* Copyright 2020 Google LLC
|
|
274
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
275
|
-
*)
|
|
276
|
-
|
|
277
|
-
lit-html/async-directive.js:
|
|
278
|
-
(**
|
|
279
|
-
* @license
|
|
280
|
-
* Copyright 2017 Google LLC
|
|
281
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
282
|
-
*)
|
|
283
|
-
|
|
284
|
-
lit-html/directives/private-async-helpers.js:
|
|
285
|
-
(**
|
|
286
|
-
* @license
|
|
287
|
-
* Copyright 2021 Google LLC
|
|
288
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
289
|
-
*)
|
|
290
|
-
|
|
291
|
-
lit-html/directives/until.js:
|
|
292
|
-
(**
|
|
293
|
-
* @license
|
|
294
|
-
* Copyright 2017 Google LLC
|
|
295
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
296
|
-
*)
|
|
297
|
-
|
|
298
|
-
lit-html/directives/async-replace.js:
|
|
299
|
-
(**
|
|
300
|
-
* @license
|
|
301
|
-
* Copyright 2017 Google LLC
|
|
302
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
303
|
-
*)
|
|
304
|
-
|
|
305
|
-
lit-html/directives/async-append.js:
|
|
306
|
-
(**
|
|
307
|
-
* @license
|
|
308
|
-
* Copyright 2017 Google LLC
|
|
309
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
310
|
-
*)
|
|
311
|
-
*/
|
|
312
|
-
//# sourceMappingURL=chunk-KJ2URKTR.js.map
|