billboard.js
Version:
Re-usable easy interface JavaScript chart library, based on D3 v4+
11 lines • 242 kB
JavaScript
/*!
* Copyright (c) 2017 ~ present NAVER Corp.
* billboard.js project is licensed under the MIT license
*
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 4.0.3
* @requires billboard.js
* @summary billboard.js plugin
*/(function(pr,sr){typeof exports=="object"&&typeof module=="object"?module.exports=sr():typeof define=="function"&&define.amd?define("bb",[],sr):typeof exports=="object"?exports.bb=sr():(pr.bb=pr.bb||{},pr.bb.plugin=pr.bb.plugin||{},pr.bb.plugin["bubblecompare.pkgd"]=sr())})(this,function(){return(function(){"use strict";var jr={24503:(function(u,c,t){t.d(c,{default:function(){return _r}});function r(){}function n(P){return P==null?r:function(){return this.querySelector(P)}}function e(P){typeof P!="function"&&(P=n(P));for(var U=this._groups,q=U.length,dt=new Array(q),ot=0;ot<q;++ot)for(var xt=U[ot],At=xt.length,Dt=dt[ot]=new Array(At),$t,bt,Xt=0;Xt<At;++Xt)($t=xt[Xt])&&(bt=P.call($t,$t.__data__,Xt,xt))&&("__data__"in $t&&(bt.__data__=$t.__data__),Dt[Xt]=bt);return new _(dt,this._parents)}function a(P){return P==null?[]:Array.isArray(P)?P:Array.from(P)}function o(){return[]}function s(P){return P==null?o:function(){return this.querySelectorAll(P)}}function i(P){return function(){return a(P.apply(this,arguments))}}function v(P){typeof P=="function"?P=i(P):P=s(P);for(var U=this._groups,q=U.length,dt=[],ot=[],xt=0;xt<q;++xt)for(var At=U[xt],Dt=At.length,$t,bt=0;bt<Dt;++bt)($t=At[bt])&&(dt.push(P.call($t,$t.__data__,bt,At)),ot.push($t));return new _(dt,ot)}function f(P){return function(){return this.matches(P)}}function l(P){return function(U){return U.matches(P)}}var d=Array.prototype.find;function g(P){return function(){return d.call(this.children,P)}}function h(){return this.firstElementChild}function p(P){return this.select(P==null?h:g(typeof P=="function"?P:l(P)))}var y=Array.prototype.filter;function S(){return Array.from(this.children)}function E(P){return function(){return y.call(this.children,P)}}function m(P){return this.selectAll(P==null?S:E(typeof P=="function"?P:l(P)))}function x(P){typeof P!="function"&&(P=f(P));for(var U=this._groups,q=U.length,dt=new Array(q),ot=0;ot<q;++ot)for(var xt=U[ot],At=xt.length,Dt=dt[ot]=[],$t,bt=0;bt<At;++bt)($t=xt[bt])&&P.call($t,$t.__data__,bt,xt)&&Dt.push($t);return new _(dt,this._parents)}function I(P){return new Array(P.length)}function O(){return new _(this._enter||this._groups.map(I),this._parents)}function T(P,U){this.ownerDocument=P.ownerDocument,this.namespaceURI=P.namespaceURI,this._next=null,this._parent=P,this.__data__=U}T.prototype={constructor:T,appendChild:function(P){return this._parent.insertBefore(P,this._next)},insertBefore:function(P,U){return this._parent.insertBefore(P,U)},querySelector:function(P){return this._parent.querySelector(P)},querySelectorAll:function(P){return this._parent.querySelectorAll(P)}};function A(P){return function(){return P}}function C(P,U,q,dt,ot,xt){for(var At=0,Dt,$t=U.length,bt=xt.length;At<bt;++At)(Dt=U[At])?(Dt.__data__=xt[At],dt[At]=Dt):q[At]=new T(P,xt[At]);for(;At<$t;++At)(Dt=U[At])&&(ot[At]=Dt)}function R(P,U,q,dt,ot,xt,At){var Dt,$t,bt=new Map,Xt=U.length,or=xt.length,cr=new Array(Xt),vr;for(Dt=0;Dt<Xt;++Dt)($t=U[Dt])&&(cr[Dt]=vr=At.call($t,$t.__data__,Dt,U)+"",bt.has(vr)?ot[Dt]=$t:bt.set(vr,$t));for(Dt=0;Dt<or;++Dt)vr=At.call(P,xt[Dt],Dt,xt)+"",($t=bt.get(vr))?(dt[Dt]=$t,$t.__data__=xt[Dt],bt.delete(vr)):q[Dt]=new T(P,xt[Dt]);for(Dt=0;Dt<Xt;++Dt)($t=U[Dt])&&bt.get(cr[Dt])===$t&&(ot[Dt]=$t)}function N(P){return P.__data__}function M(P,U){if(!arguments.length)return Array.from(this,N);var q=U?R:C,dt=this._parents,ot=this._groups;typeof P!="function"&&(P=A(P));for(var xt=ot.length,At=new Array(xt),Dt=new Array(xt),$t=new Array(xt),bt=0;bt<xt;++bt){var Xt=dt[bt],or=ot[bt],cr=or.length,vr=D(P.call(Xt,Xt&&Xt.__data__,bt,dt)),dr=vr.length,Wr=Dt[bt]=new Array(dr),Vr=At[bt]=new Array(dr),tn=$t[bt]=new Array(cr);q(Xt,or,Wr,Vr,tn,vr,U);for(var Pr=0,$r=0,br,Kr;Pr<dr;++Pr)if(br=Wr[Pr]){for(Pr>=$r&&($r=Pr+1);!(Kr=Vr[$r])&&++$r<dr;);br._next=Kr||null}}return At=new _(At,dt),At._enter=Dt,At._exit=$t,At}function D(P){return typeof P=="object"&&"length"in P?P:Array.from(P)}function F(){return new _(this._exit||this._groups.map(I),this._parents)}function L(P,U,q){var dt=this.enter(),ot=this,xt=this.exit();return typeof P=="function"?(dt=P(dt),dt&&(dt=dt.selection())):dt=dt.append(P+""),U!=null&&(ot=U(ot),ot&&(ot=ot.selection())),q==null?xt.remove():q(xt),dt&&ot?dt.merge(ot).order():ot}function $(P){for(var U=P.selection?P.selection():P,q=this._groups,dt=U._groups,ot=q.length,xt=dt.length,At=Math.min(ot,xt),Dt=new Array(ot),$t=0;$t<At;++$t)for(var bt=q[$t],Xt=dt[$t],or=bt.length,cr=Dt[$t]=new Array(or),vr,dr=0;dr<or;++dr)(vr=bt[dr]||Xt[dr])&&(cr[dr]=vr);for(;$t<ot;++$t)Dt[$t]=q[$t];return new _(Dt,this._parents)}function B(){for(var P=this._groups,U=-1,q=P.length;++U<q;)for(var dt=P[U],ot=dt.length-1,xt=dt[ot],At;--ot>=0;)(At=dt[ot])&&(xt&&At.compareDocumentPosition(xt)^4&&xt.parentNode.insertBefore(At,xt),xt=At);return this}function j(P){P||(P=V);function U(or,cr){return or&&cr?P(or.__data__,cr.__data__):!or-!cr}for(var q=this._groups,dt=q.length,ot=new Array(dt),xt=0;xt<dt;++xt){for(var At=q[xt],Dt=At.length,$t=ot[xt]=new Array(Dt),bt,Xt=0;Xt<Dt;++Xt)(bt=At[Xt])&&($t[Xt]=bt);$t.sort(U)}return new _(ot,this._parents).order()}function V(P,U){return P<U?-1:P>U?1:P>=U?0:NaN}function z(){var P=arguments[0];return arguments[0]=this,P.apply(null,arguments),this}function b(){return Array.from(this)}function tt(){for(var P=this._groups,U=0,q=P.length;U<q;++U)for(var dt=P[U],ot=0,xt=dt.length;ot<xt;++ot){var At=dt[ot];if(At)return At}return null}function w(){let P=0;for(const U of this)++P;return P}function Z(){return!this.node()}function H(P){for(var U=this._groups,q=0,dt=U.length;q<dt;++q)for(var ot=U[q],xt=0,At=ot.length,Dt;xt<At;++xt)(Dt=ot[xt])&&P.call(Dt,Dt.__data__,xt,ot);return this}var W="http://www.w3.org/1999/xhtml",J={svg:"http://www.w3.org/2000/svg",xhtml:W,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function et(P){var U=P+="",q=U.indexOf(":");return q>=0&&(U=P.slice(0,q))!=="xmlns"&&(P=P.slice(q+1)),J.hasOwnProperty(U)?{space:J[U],local:P}:P}function yt(P){return function(){this.removeAttribute(P)}}function k(P){return function(){this.removeAttributeNS(P.space,P.local)}}function it(P,U){return function(){this.setAttribute(P,U)}}function Et(P,U){return function(){this.setAttributeNS(P.space,P.local,U)}}function Mt(P,U){return function(){var q=U.apply(this,arguments);q==null?this.removeAttribute(P):this.setAttribute(P,q)}}function Ot(P,U){return function(){var q=U.apply(this,arguments);q==null?this.removeAttributeNS(P.space,P.local):this.setAttributeNS(P.space,P.local,q)}}function Rt(P,U){var q=et(P);if(arguments.length<2){var dt=this.node();return q.local?dt.getAttributeNS(q.space,q.local):dt.getAttribute(q)}return this.each((U==null?q.local?k:yt:typeof U=="function"?q.local?Ot:Mt:q.local?Et:it)(q,U))}function Bt(P){return P.ownerDocument&&P.ownerDocument.defaultView||P.document&&P||P.defaultView}function Ht(P){return function(){this.style.removeProperty(P)}}function jt(P,U,q){return function(){this.style.setProperty(P,U,q)}}function Pt(P,U,q){return function(){var dt=U.apply(this,arguments);dt==null?this.style.removeProperty(P):this.style.setProperty(P,dt,q)}}function Ft(P,U,q){return arguments.length>1?this.each((U==null?Ht:typeof U=="function"?Pt:jt)(P,U,q==null?"":q)):Kt(this.node(),P)}function Kt(P,U){return P.style.getPropertyValue(U)||Bt(P).getComputedStyle(P,null).getPropertyValue(U)}function vt(P){return function(){delete this[P]}}function St(P,U){return function(){this[P]=U}}function mt(P,U){return function(){var q=U.apply(this,arguments);q==null?delete this[P]:this[P]=q}}function Yt(P,U){return arguments.length>1?this.each((U==null?vt:typeof U=="function"?mt:St)(P,U)):this.node()[P]}function ft(P){return P.trim().split(/^|\s+/)}function ht(P){return P.classList||new Ct(P)}function Ct(P){this._node=P,this._names=ft(P.getAttribute("class")||"")}Ct.prototype={add:function(P){var U=this._names.indexOf(P);U<0&&(this._names.push(P),this._node.setAttribute("class",this._names.join(" ")))},remove:function(P){var U=this._names.indexOf(P);U>=0&&(this._names.splice(U,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(P){return this._names.indexOf(P)>=0}};function Tt(P,U){for(var q=ht(P),dt=-1,ot=U.length;++dt<ot;)q.add(U[dt])}function Gt(P,U){for(var q=ht(P),dt=-1,ot=U.length;++dt<ot;)q.remove(U[dt])}function Jt(P){return function(){Tt(this,P)}}function X(P){return function(){Gt(this,P)}}function st(P,U){return function(){(U.apply(this,arguments)?Tt:Gt)(this,P)}}function Q(P,U){var q=ft(P+"");if(arguments.length<2){for(var dt=ht(this.node()),ot=-1,xt=q.length;++ot<xt;)if(!dt.contains(q[ot]))return!1;return!0}return this.each((typeof U=="function"?st:U?Jt:X)(q,U))}function nt(){this.textContent=""}function gt(P){return function(){this.textContent=P}}function rt(P){return function(){var U=P.apply(this,arguments);this.textContent=U==null?"":U}}function Lt(P){return arguments.length?this.each(P==null?nt:(typeof P=="function"?rt:gt)(P)):this.node().textContent}function zt(){this.innerHTML=""}function ut(P){return function(){this.innerHTML=P}}function lt(P){return function(){var U=P.apply(this,arguments);this.innerHTML=U==null?"":U}}function pt(P){return arguments.length?this.each(P==null?zt:(typeof P=="function"?lt:ut)(P)):this.node().innerHTML}function It(){this.nextSibling&&this.parentNode.appendChild(this)}function Ut(){return this.each(It)}function Vt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Zt(){return this.each(Vt)}function Qt(P){return function(){var U=this.ownerDocument,q=this.namespaceURI;return q===W&&U.documentElement.namespaceURI===W?U.createElement(P):U.createElementNS(q,P)}}function wt(P){return function(){return this.ownerDocument.createElementNS(P.space,P.local)}}function kt(P){var U=et(P);return(U.local?wt:Qt)(U)}function ur(P){var U=typeof P=="function"?P:kt(P);return this.select(function(){return this.appendChild(U.apply(this,arguments))})}function hr(){return null}function xr(P,U){var q=typeof P=="function"?P:kt(P),dt=U==null?hr:typeof U=="function"?U:n(U);return this.select(function(){return this.insertBefore(q.apply(this,arguments),dt.apply(this,arguments)||null)})}function Er(){var P=this.parentNode;P&&P.removeChild(this)}function Ir(){return this.each(Er)}function Or(){var P=this.cloneNode(!1),U=this.parentNode;return U?U.insertBefore(P,this.nextSibling):P}function Cr(){var P=this.cloneNode(!0),U=this.parentNode;return U?U.insertBefore(P,this.nextSibling):P}function Tr(P){return this.select(P?Cr:Or)}function mr(P){return arguments.length?this.property("__data__",P):this.node().__data__}function ir(P){return function(U){P.call(this,U,this.__data__)}}function Nr(P){return P.trim().split(/^|\s+/).map(function(U){var q="",dt=U.indexOf(".");return dt>=0&&(q=U.slice(dt+1),U=U.slice(0,dt)),{type:U,name:q}})}function gr(P){return function(){var U=this.__on;if(U){for(var q=0,dt=-1,ot=U.length,xt;q<ot;++q)xt=U[q],(!P.type||xt.type===P.type)&&xt.name===P.name?this.removeEventListener(xt.type,xt.listener,xt.options):U[++dt]=xt;++dt?U.length=dt:delete this.__on}}}function fr(P,U,q){return function(){var dt=this.__on,ot,xt=ir(U);if(dt){for(var At=0,Dt=dt.length;At<Dt;++At)if((ot=dt[At]).type===P.type&&ot.name===P.name){this.removeEventListener(ot.type,ot.listener,ot.options),this.addEventListener(ot.type,ot.listener=xt,ot.options=q),ot.value=U;return}}this.addEventListener(P.type,xt,q),ot={type:P.type,name:P.name,value:U,listener:xt,options:q},dt?dt.push(ot):this.__on=[ot]}}function Rr(P,U,q){var dt=Nr(P+""),ot,xt=dt.length,At;if(arguments.length<2){var Dt=this.node().__on;if(Dt){for(var $t=0,bt=Dt.length,Xt;$t<bt;++$t)for(ot=0,Xt=Dt[$t];ot<xt;++ot)if((At=dt[ot]).type===Xt.type&&At.name===Xt.name)return Xt.value}return}for(Dt=U?fr:gr,ot=0;ot<xt;++ot)this.each(Dt(dt[ot],U,q));return this}function yr(P,U,q){var dt=Bt(P),ot=dt.CustomEvent;typeof ot=="function"?ot=new ot(U,q):(ot=dt.document.createEvent("Event"),q?(ot.initEvent(U,q.bubbles,q.cancelable),ot.detail=q.detail):ot.initEvent(U,!1,!1)),P.dispatchEvent(ot)}function nr(P,U){return function(){return yr(this,P,U)}}function ar(P,U){return function(){return yr(this,P,U.apply(this,arguments))}}function Mr(P,U){return this.each((typeof U=="function"?ar:nr)(P,U))}function*Dr(){for(var P=this._groups,U=0,q=P.length;U<q;++U)for(var dt=P[U],ot=0,xt=dt.length,At;ot<xt;++ot)(At=dt[ot])&&(yield At)}var K=[null];function _(P,U){this._groups=P,this._parents=U}function Y(){return new _([[document.documentElement]],K)}function G(){return this}_.prototype=Y.prototype={constructor:_,select:e,selectAll:v,selectChild:p,selectChildren:m,filter:x,data:M,enter:O,exit:F,join:L,merge:$,selection:G,order:B,sort:j,call:z,nodes:b,node:tt,size:w,empty:Z,each:H,attr:Rt,style:Ft,property:Yt,classed:Q,text:Lt,html:pt,raise:Ut,lower:Zt,append:ur,insert:xr,remove:Ir,clone:Tr,datum:mr,on:Rr,dispatch:Mr,[Symbol.iterator]:Dr};var at=null;function Wt(P){return typeof P=="string"?new _([[document.querySelector(P)]],[document.documentElement]):new _([[P]],K)}const Nt=P=>P||P===0,qt=P=>typeof P=="function",_t=P=>typeof P=="string",tr=P=>typeof P=="number",er=P=>typeof P=="undefined",ct=P=>typeof P!="undefined",rr=P=>typeof P=="boolean",lr=P=>Math.ceil(P/10)*10,Fr=P=>Math.ceil(P)+.5,Br=P=>P[1]-P[0],Sr=P=>typeof P=="object",Ar=P=>{for(const U in P)return!1;return!0},Yr=P=>er(P)||P===null||_t(P)&&P.length===0||Sr(P)&&!(P instanceof Date)&&Ar(P)||tr(P)&&isNaN(P),rn=P=>!Yr(P),Xr=P=>Array.isArray(P),nn=P=>P&&!(P!=null&&P.nodeType)&&Sr(P)&&!Xr(P);function Jr(P){const U=this.config;let q,dt,ot;const xt=()=>{const At=dt.shift();if(At&&q&&Sr(q)&&At in q)return q=q[At],xt();if(!At)return q};Object.keys(U).forEach(At=>{q=P,dt=At.split("_"),ot=xt(),ct(ot)&&(U[At]=ot)}),this.api&&(this.state.orgConfig=P)}var Zr=Object.defineProperty,Qr=(P,U,q)=>U in P?Zr(P,U,{enumerable:!0,configurable:!0,writable:!0,value:q}):P[U]=q,Lr=(P,U,q)=>Qr(P,typeof U!="symbol"?U+"":U,q);class Gr{constructor(U={}){Lr(this,"$$"),Lr(this,"options"),Lr(this,"config"),this.options=U}loadConfig(){Jr.call(this,this.options)}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(U=>{this[U]=null,delete this[U]})}}Lr(Gr,"version","4.0.3");var wr=Object.defineProperty,kr=(P,U,q)=>U in P?wr(P,U,{enumerable:!0,configurable:!0,writable:!0,value:q}):P[U]=q,qr=(P,U,q)=>kr(P,typeof U!="symbol"?U+"":U,q);const Hr=class zr extends Gr{constructor(U){return super(U),this}$init(){const{$$:U}=this;U.findClosest=this.findClosest.bind(this),U.getBubbleR=this.getBubbleR.bind(this),U.pointExpandedR=this.pointExpandedR.bind(this)}pointExpandedR(U){const q=this.getBubbleR(U),{expandScale:dt=1}=this.options;return zr.raiseFocusedBubbleLayer(U),this.changeCursorPoint(),q*dt}static raiseFocusedBubbleLayer(U){U.raise&&Wt(U.node().parentNode.parentNode).raise()}changeCursorPoint(){this.$$.$el.eventRect.style("cursor","pointer")}findClosest(U,q){const{$$:dt}=this;return U.filter(ot=>ot&&!dt.isBarType(ot.id)).reduce((ot,xt)=>dt.dist(xt,q)<this.getBubbleR(xt)?xt:ot,0)}getBubbleR(U){const{minR:q,maxR:dt}=this.options,ot=this.getZData(U);if(!ot)return q;const[xt,At]=this.$$.data.targets.reduce(([$t,bt],Xt)=>{const or=this.getZData(Xt.values[0]);return[Math.min($t,or),Math.max(bt,or)]},[1e4,0]),Dt=xt>0&&At===xt?0:ot/At;return Math.abs(Dt)*(dt-q)+q}getZData(U){return this.$$.isBubbleZType(U)?this.$$.getBubbleZData(U.value,"z"):U.value}};qr(Hr,"version","0.0.1");let _r=Hr}),2663:(function(u,c,t){var r=t(94626),n=t(71016),e=TypeError;u.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a function")}}),29283:(function(u,c,t){var r=t(99908),n=t(71016),e=TypeError;u.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a constructor")}}),82053:(function(u,c,t){var r=t(70404),n=TypeError;u.exports=function(e){if(r(e)==="DataView")return e;throw new n("Argument is not a DataView")}}),26195:(function(u,c,t){var r=t(91450),n=String,e=TypeError;u.exports=function(a){if(r(a))return a;throw new e("Can't set "+n(a)+" as a prototype")}}),99895:(function(u,c,t){var r=t(53233).has;u.exports=function(n){return r(n),n}}),76314:(function(u){var c=TypeError;u.exports=function(t){if(typeof t=="string")return t;throw new c("Argument is not a string")}}),90065:(function(u,c,t){var r=t(90594),n=new r.WeakMap,e=r.set,a=r.remove;u.exports=function(o){return e(n,o,1),a(n,o),o}}),11980:(function(u,c,t){var r=t(90594).has;u.exports=function(n){return r(n),n}}),65678:(function(u,c,t){var r=t(73350),n=t(50402),e=t(56827),a=t(68175),o=t(46840),s=t(2663),i=t(32808),v=t(98575),f=t(69520),l=f("asyncDispose"),d=f("dispose"),g=e([].push),h=function(y,S){if(S==="async-dispose"){var E=v(y,l);return E!==void 0||(E=v(y,d),E===void 0)?E:function(){var m=this,x=r("Promise");return new x(function(I){n(E,m),I(void 0)})}}return v(y,d)},p=function(y,S,E){return arguments.length<3&&!i(y)&&(E=s(h(o(y),S))),E===void 0?function(){}:a(E,y)};u.exports=function(y,S,E,m){var x;if(arguments.length<4){if(i(S)&&E==="sync-dispose")return;x=p(S,E)}else x=p(void 0,E,m);g(y.stack,x)}}),90596:(function(u,c,t){var r=t(69520),n=t(31667),e=t(61188).f,a=r("unscopables"),o=Array.prototype;o[a]===void 0&&e(o,a,{configurable:!0,value:n(null)}),u.exports=function(s){o[a][s]=!0}}),60496:(function(u,c,t){var r=t(27510).charAt;u.exports=function(n,e,a){return e+(a&&r(n,e).length||1)}}),79652:(function(u,c,t){var r=t(90832),n=TypeError;u.exports=function(e,a){if(r(a,e))return e;throw new n("Incorrect invocation")}}),42253:(function(u,c,t){var r=t(12053),n=String,e=TypeError;u.exports=function(a){if(a===void 0||r(a))return a;throw new e(n(a)+" is not an object or undefined")}}),46840:(function(u,c,t){var r=t(12053),n=String,e=TypeError;u.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not an object")}}),24391:(function(u,c,t){var r=t(70404),n=TypeError;u.exports=function(e){if(r(e)==="Uint8Array")return e;throw new n("Argument is not an Uint8Array")}}),25786:(function(u){u.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"}),45515:(function(u,c,t){var r=t(84743),n=t(13111),e=t(69255),a=r.ArrayBuffer,o=r.TypeError;u.exports=a&&n(a.prototype,"byteLength","get")||function(s){if(e(s)!=="ArrayBuffer")throw new o("ArrayBuffer expected");return s.byteLength}}),87827:(function(u,c,t){var r=t(84743),n=t(25786),e=t(45515),a=r.DataView;u.exports=function(o){if(!n||e(o)!==0)return!1;try{return new a(o),!1}catch(s){return!0}}}),19423:(function(u,c,t){var r=t(20116);u.exports=r(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})}),79450:(function(u,c,t){var r=t(87827),n=TypeError;u.exports=function(e){if(r(e))throw new n("ArrayBuffer is detached");return e}}),71131:(function(u,c,t){var r=t(84743),n=t(56827),e=t(13111),a=t(29681),o=t(79450),s=t(45515),i=t(50960),v=t(70109),f=r.structuredClone,l=r.ArrayBuffer,d=r.DataView,g=Math.max,h=Math.min,p=l.prototype,y=d.prototype,S=n(p.slice),E=e(p,"resizable","get"),m=e(p,"maxByteLength","get"),x=n(y.getInt8),I=n(y.setInt8);u.exports=(v||i)&&function(O,T,A){var C=s(O),R=T===void 0?C:a(T),N=!E||!E(O),M;if(o(O),v&&(O=f(O,{transfer:[O]}),C===R&&(A||N)))return O;if(C>=R&&(!A||N))M=S(O,0,R);else{var D=A&&!N&&m?{maxByteLength:g(R,m(O))}:void 0;M=new l(R,D);for(var F=new d(O),L=new d(M),$=h(R,C),B=0;B<$;B++)I(L,B,x(F,B))}return v||i(O),M}}),6881:(function(u,c,t){var r=t(25786),n=t(13087),e=t(84743),a=t(94626),o=t(12053),s=t(46276),i=t(70404),v=t(71016),f=t(12258),l=t(45503),d=t(89339),g=t(90832),h=t(27900),p=t(41744),y=t(69520),S=t(8955),E=t(97676),m=E.enforce,x=E.get,I=e.Int8Array,O=I&&I.prototype,T=e.Uint8ClampedArray,A=T&&T.prototype,C=I&&h(I),R=O&&h(O),N=Object.prototype,M=e.TypeError,D=y("toStringTag"),F=S("TYPED_ARRAY_TAG"),L="TypedArrayConstructor",$=r&&!!p&&i(e.opera)!=="Opera",B=!1,j,V,z,b={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},tt={BigInt64Array:8,BigUint64Array:8},w=function(it){if(!o(it))return!1;var Et=i(it);return Et==="DataView"||s(b,Et)||s(tt,Et)},Z=function(k){var it=h(k);if(o(it)){var Et=x(it);return Et&&s(Et,L)?Et[L]:Z(it)}},H=function(k){if(!o(k))return!1;var it=i(k);return s(b,it)||s(tt,it)},W=function(k){if(H(k))return k;throw new M("Target is not a typed array")},J=function(k){if(a(k)&&(!p||g(C,k)))return k;throw new M(v(k)+" is not a typed array constructor")},et=function(k,it,Et,Mt){if(n){if(Et)for(var Ot in b){var Rt=e[Ot];if(Rt&&s(Rt.prototype,k))try{delete Rt.prototype[k]}catch(Bt){try{Rt.prototype[k]=it}catch(Ht){}}}(!R[k]||Et)&&l(R,k,Et?it:$&&O[k]||it,Mt)}},yt=function(k,it,Et){var Mt,Ot;if(n){if(p){if(Et){for(Mt in b)if(Ot=e[Mt],Ot&&s(Ot,k))try{delete Ot[k]}catch(Rt){}}if(!C[k]||Et)try{return l(C,k,Et?it:$&&C[k]||it)}catch(Rt){}else return}for(Mt in b)Ot=e[Mt],Ot&&(!Ot[k]||Et)&&l(Ot,k,it)}};for(j in b)V=e[j],z=V&&V.prototype,z?m(z)[L]=V:$=!1;for(j in tt)V=e[j],z=V&&V.prototype,z&&(m(z)[L]=V);if((!$||!a(C)||C===Function.prototype)&&(C=function(){throw new M("Incorrect invocation")},$))for(j in b)e[j]&&p(e[j],C);if((!$||!R||R===N)&&(R=C.prototype,$))for(j in b)e[j]&&p(e[j].prototype,R);if($&&h(A)!==R&&p(A,R),n&&!s(R,D)){B=!0,d(R,D,{configurable:!0,get:function(){return o(this)?this[F]:void 0}});for(j in b)e[j]&&f(e[j].prototype,F,j)}u.exports={NATIVE_ARRAY_BUFFER_VIEWS:$,TYPED_ARRAY_TAG:B&&F,aTypedArray:W,aTypedArrayConstructor:J,exportTypedArrayMethod:et,exportTypedArrayStaticMethod:yt,getTypedArrayConstructor:Z,isView:w,isTypedArray:H,TypedArray:C,TypedArrayPrototype:R}}),31063:(function(u,c,t){var r=t(84743),n=t(56827),e=t(13087),a=t(25786),o=t(27897),s=t(12258),i=t(89339),v=t(26394),f=t(20116),l=t(79652),d=t(28082),g=t(29681),h=t(65398),p=t(65373),y=t(27900),S=t(41744),E=t(62992),m=t(11579),x=t(17996),I=t(65859),O=t(13696),T=t(97676),A=o.PROPER,C=o.CONFIGURABLE,R="ArrayBuffer",N="DataView",M="prototype",D="Wrong length",F="Wrong index",L=T.getterFor(R),$=T.getterFor(N),B=T.set,j=r[R],V=j,z=V&&V[M],b=r[N],tt=b&&b[M],w=Object.prototype,Z=r.Array,H=r.RangeError,W=n(E),J=n([].reverse),et=p.pack,yt=p.unpack,k=function(vt){return[vt&255]},it=function(vt){return[vt&255,vt>>8&255]},Et=function(vt){return[vt&255,vt>>8&255,vt>>16&255,vt>>24&255]},Mt=function(vt){return vt[3]<<24|vt[2]<<16|vt[1]<<8|vt[0]},Ot=function(vt){return et(h(vt),23,4)},Rt=function(vt){return et(vt,52,8)},Bt=function(vt,St,mt){i(vt[M],St,{configurable:!0,get:function(){return mt(this)[St]}})},Ht=function(vt,St,mt,Yt){var ft=$(vt),ht=g(mt),Ct=!!Yt;if(ht+St>ft.byteLength)throw new H(F);var Tt=ft.bytes,Gt=ht+ft.byteOffset,Jt=m(Tt,Gt,Gt+St);return Ct?Jt:J(Jt)},jt=function(vt,St,mt,Yt,ft,ht){var Ct=$(vt),Tt=g(mt),Gt=Yt(+ft),Jt=!!ht;if(Tt+St>Ct.byteLength)throw new H(F);for(var X=Ct.bytes,st=Tt+Ct.byteOffset,Q=0;Q<St;Q++)X[st+Q]=Gt[Jt?Q:St-Q-1]};if(!a)V=function(St){l(this,z);var mt=g(St);B(this,{type:R,bytes:W(Z(mt),0),byteLength:mt}),e||(this.byteLength=mt,this.detached=!1)},z=V[M],b=function(St,mt,Yt){l(this,tt),l(St,z);var ft=L(St),ht=ft.byteLength,Ct=d(mt);if(Ct<0||Ct>ht)throw new H("Wrong offset");if(Yt=Yt===void 0?ht-Ct:g(Yt),Ct+Yt>ht)throw new H(D);B(this,{type:N,buffer:St,byteLength:Yt,byteOffset:Ct,bytes:ft.bytes}),e||(this.buffer=St,this.byteLength=Yt,this.byteOffset=Ct)},tt=b[M],e&&(Bt(V,"byteLength",L),Bt(b,"buffer",$),Bt(b,"byteLength",$),Bt(b,"byteOffset",$)),v(tt,{getInt8:function(St){return Ht(this,1,St)[0]<<24>>24},getUint8:function(St){return Ht(this,1,St)[0]},getInt16:function(St){var mt=Ht(this,2,St,arguments.length>1?arguments[1]:!1);return(mt[1]<<8|mt[0])<<16>>16},getUint16:function(St){var mt=Ht(this,2,St,arguments.length>1?arguments[1]:!1);return mt[1]<<8|mt[0]},getInt32:function(St){return Mt(Ht(this,4,St,arguments.length>1?arguments[1]:!1))},getUint32:function(St){return Mt(Ht(this,4,St,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(St){return yt(Ht(this,4,St,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(St){return yt(Ht(this,8,St,arguments.length>1?arguments[1]:!1),52)},setInt8:function(St,mt){jt(this,1,St,k,mt)},setUint8:function(St,mt){jt(this,1,St,k,mt)},setInt16:function(St,mt){jt(this,2,St,it,mt,arguments.length>2?arguments[2]:!1)},setUint16:function(St,mt){jt(this,2,St,it,mt,arguments.length>2?arguments[2]:!1)},setInt32:function(St,mt){jt(this,4,St,Et,mt,arguments.length>2?arguments[2]:!1)},setUint32:function(St,mt){jt(this,4,St,Et,mt,arguments.length>2?arguments[2]:!1)},setFloat32:function(St,mt){jt(this,4,St,Ot,mt,arguments.length>2?arguments[2]:!1)},setFloat64:function(St,mt){jt(this,8,St,Rt,mt,arguments.length>2?arguments[2]:!1)}});else{var Pt=A&&j.name!==R;!f(function(){j(1)})||!f(function(){new j(-1)})||f(function(){return new j,new j(1.5),new j(NaN),j.length!==1||Pt&&!C})?(V=function(St){return l(this,z),x(new j(g(St)),this,V)},V[M]=z,z.constructor=V,I(V,j)):Pt&&C&&s(j,"name",R),S&&y(tt)!==w&&S(tt,w);var Ft=new b(new V(2)),Kt=n(tt.setInt8);Ft.setInt8(0,2147483648),Ft.setInt8(1,2147483649),(Ft.getInt8(0)||!Ft.getInt8(1))&&v(tt,{setInt8:function(St,mt){Kt(this,St,mt<<24>>24)},setUint8:function(St,mt){Kt(this,St,mt<<24>>24)}},{unsafe:!0})}O(V,R),O(b,N),u.exports={ArrayBuffer:V,DataView:b}}),74354:(function(u,c,t){var r=t(7754),n=t(51017),e=t(71207),a=t(18895),o=Math.min;u.exports=[].copyWithin||function(i,v){var f=r(this),l=e(f),d=n(i,l),g=n(v,l),h=arguments.length>2?arguments[2]:void 0,p=o((h===void 0?l:n(h,l))-g,l-d),y=1;for(g<d&&d<g+p&&(y=-1,g+=p-1,d+=p-1);p-- >0;)g in f?f[d]=f[g]:a(f,d),d+=y,g+=y;return f}}),62992:(function(u,c,t){var r=t(7754),n=t(51017),e=t(71207);u.exports=function(o){for(var s=r(this),i=e(s),v=arguments.length,f=n(v>1?arguments[1]:void 0,i),l=v>2?arguments[2]:void 0,d=l===void 0?i:n(l,i);d>f;)s[f++]=o;return s}}),62986:(function(u,c,t){var r=t(67566).forEach,n=t(35967),e=n("forEach");u.exports=e?[].forEach:function(o){return r(this,o,arguments.length>1?arguments[1]:void 0)}}),57524:(function(u,c,t){var r=t(68175),n=t(56827),e=t(99908),a=t(35451),o=t(20644),s=t(56924),i=t(25472),v=t(98575),f=t(73350),l=t(64987),d=t(69520),g=t(88015),h=t(43990).toArray,p=d("asyncIterator"),y=n(l("Array","values")),S=n(y([]).next),E=function(){return new m(this)},m=function(x){this.iterator=y(x)};m.prototype.next=function(){return S(this.iterator)},u.exports=function(I){var O=this,T=arguments.length,A=T>1?arguments[1]:void 0,C=T>2?arguments[2]:void 0;return new(f("Promise"))(function(R){A!==void 0&&(A=r(A,C));var N=v(I,p),M=N?void 0:i(I)||E,D=e(O)?new O:[],F=N?a(I,N):new g(s(o(I,M)));R(h(F,A,D))})}}),85037:(function(u,c,t){var r=t(71207);u.exports=function(n,e,a){for(var o=0,s=arguments.length>2?a:r(e),i=new n(s);s>o;)i[o]=e[o++];return i}}),7093:(function(u,c,t){var r=t(68175),n=t(50402),e=t(7754),a=t(22138),o=t(99564),s=t(99908),i=t(71207),v=t(74591),f=t(46738),l=t(20644),d=t(25472),g=t(39106),h=Array;u.exports=function(y){var S=s(this),E=arguments.length,m=E>1?arguments[1]:void 0,x=m!==void 0;x&&(m=r(m,E>2?arguments[2]:void 0));var I=e(y),O=d(I),T=0,A,C,R,N,M,D;if(O&&!(this===h&&o(O)))for(C=S?new this:[],N=l(I,O),M=N.next;!(R=n(M,N)).done;T++){D=x?a(N,m,[R.value,T],!0):R.value;try{v(C,T,D)}catch(F){g(N,"throw",F)}}else for(A=i(I),C=S?new this(A):h(A);A>T;T++)D=x?m(I[T],T):I[T],v(C,T,D);return f(C,T),C}}),69868:(function(u,c,t){var r=t(25590),n=t(51017),e=t(71207),a=function(o){return function(s,i,v){var f=r(s),l=e(f);if(l===0)return!o&&-1;var d=n(v,l),g;if(o&&i!==i){for(;l>d;)if(g=f[d++],g!==g)return!0}else for(;l>d;d++)if((o||d in f)&&f[d]===i)return o||d||0;return!o&&-1}};u.exports={includes:a(!0),indexOf:a(!1)}}),22252:(function(u,c,t){var r=t(68175),n=t(74),e=t(7754),a=t(71207),o=function(s){var i=s===1;return function(v,f,l){for(var d=e(v),g=n(d),h=a(g),p=r(f,l),y,S;h-- >0;)if(y=g[h],S=p(y,h,d),S)switch(s){case 0:return y;case 1:return h}return i?-1:void 0}};u.exports={findLast:o(0),findLastIndex:o(1)}}),67566:(function(u,c,t){var r=t(68175),n=t(74),e=t(7754),a=t(71207),o=t(44800),s=t(74591),i=function(v){var f=v===1,l=v===2,d=v===3,g=v===4,h=v===6,p=v===7,y=v===5||h;return function(S,E,m){for(var x=e(S),I=n(x),O=a(I),T=r(E,m),A=0,C=0,R=f?o(S,O):l||p?o(S,0):void 0,N,M;O>A;A++)if((y||A in I)&&(N=I[A],M=T(N,A,x),v))if(f)s(R,A,M);else if(M)switch(v){case 3:return!0;case 5:return N;case 6:return A;case 2:s(R,C++,N)}else switch(v){case 4:return!1;case 7:s(R,C++,N)}return h?-1:d||g?g:R}};u.exports={forEach:i(0),map:i(1),filter:i(2),some:i(3),every:i(4),find:i(5),findIndex:i(6),filterReject:i(7)}}),84944:(function(u,c,t){var r=t(15360),n=t(25590),e=t(28082),a=t(71207),o=t(35967),s=Math.min,i=[].lastIndexOf,v=!!i&&1/[1].lastIndexOf(1,-0)<0,f=o("lastIndexOf"),l=v||!f;u.exports=l?function(g){if(v)return r(i,this,arguments)||0;var h=n(this),p=a(h);if(p===0)return-1;var y=p-1;for(arguments.length>1&&(y=s(y,e(arguments[1]))),y<0&&(y=p+y);y>=0;y--)if(y in h&&h[y]===g)return y||0;return-1}:i}),74024:(function(u,c,t){var r=t(20116),n=t(69520),e=t(14134),a=n("species");u.exports=function(o){return e>=51||!r(function(){var s=[],i=s.constructor={};return i[a]=function(){return{foo:1}},s[o](Boolean).foo!==1})}}),35967:(function(u,c,t){var r=t(20116);u.exports=function(n,e){var a=[][n];return!!a&&r(function(){a.call(null,e||function(){return 1},1)})}}),19579:(function(u,c,t){var r=t(2663),n=t(7754),e=t(74),a=t(71207),o=TypeError,s="Reduce of empty array with no initial value",i=function(v){return function(f,l,d,g){var h=n(f),p=e(h),y=a(h);if(r(l),y===0&&d<2)throw new o(s);var S=v?y-1:0,E=v?-1:1;if(d<2)for(;;){if(S in p){g=p[S],S+=E;break}if(S+=E,v?S<0:y<=S)throw new o(s)}for(;v?S>=0:y>S;S+=E)S in p&&(g=l(g,p[S],S,h));return g}};u.exports={left:i(!1),right:i(!0)}}),46738:(function(u,c,t){var r=t(13087),n=t(11129),e=TypeError,a=Object.getOwnPropertyDescriptor,o=r&&!(function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(s){return s instanceof TypeError}})();u.exports=o?function(s,i){if(n(s)&&!a(s,"length").writable)throw new e("Cannot set read only .length");return s.length=i}:function(s,i){return s.length=i}}),11579:(function(u,c,t){var r=t(56827);u.exports=r([].slice)}),50489:(function(u,c,t){var r=t(11579),n=Math.floor,e=function(a,o){var s=a.length;if(s<8)for(var i=1,v,f;i<s;){for(f=i,v=a[i];f&&o(a[f-1],v)>0;)a[f]=a[--f];f!==i++&&(a[f]=v)}else for(var l=n(s/2),d=e(r(a,0,l),o),g=e(r(a,l),o),h=d.length,p=g.length,y=0,S=0;y<h||S<p;)a[y+S]=y<h&&S<p?o(d[y],g[S])<=0?d[y++]:g[S++]:y<h?d[y++]:g[S++];return a};u.exports=e}),60226:(function(u,c,t){var r=t(11129),n=t(99908),e=t(12053),a=t(69520),o=a("species"),s=Array;u.exports=function(i){var v;return r(i)&&(v=i.constructor,n(v)&&(v===s||r(v.prototype))?v=void 0:e(v)&&(v=v[o],v===null&&(v=void 0))),v===void 0?s:v}}),44800:(function(u,c,t){var r=t(60226);u.exports=function(n,e){return new(r(n))(e===0?0:e)}}),88015:(function(u,c,t){var r=t(50402),n=t(46840),e=t(31667),a=t(98575),o=t(26394),s=t(97676),i=t(39106),v=t(73350),f=t(80843),l=t(89526),d=v("Promise"),g="AsyncFromSyncIterator",h=s.set,p=s.getterFor(g),y=function(E,m,x,I,O){var T=E.done;d.resolve(E.value).then(function(A){m(l(A,T))},function(A){if(!T&&O)try{i(I,"throw",A)}catch(C){A=C}x(A)})},S=function(m){m.type=g,h(this,m)};S.prototype=o(e(f),{next:function(){var m=p(this),x=arguments.length>0,I=x?arguments[0]:void 0;return new d(function(O,T){var A=n(x?r(m.next,m.iterator,I):r(m.next,m.iterator));y(A,O,T,m.iterator,!0)})},return:function(){var E=p(this),m=E.iterator,x=arguments.length>0,I=x?arguments[0]:void 0;return new d(function(O,T){var A=a(m,"return");if(A===void 0)return O(l(I,!0));var C=n(x?r(A,m,I):r(A,m));y(C,O,T,m)})},throw:function(){var E=p(this),m=E.iterator,x=arguments.length>0,I=x?arguments[0]:void 0;return new d(function(O,T){var A=a(m,"throw");if(A===void 0){try{i(m,"normal")}catch(R){return T(R)}return T(new TypeError("The iterator does not provide a throw method"))}var C=n(x?r(A,m,I):r(A,m));y(C,O,T,m,!0)})}}),u.exports=S}),37029:(function(u,c,t){var r=t(50402),n=t(46840),e=t(73350),a=t(98575);u.exports=function(o,s,i,v){try{var f=a(o,"return");if(f)return e("Promise").resolve(r(f,o)).then(function(l){try{s!==v&&n(l)}catch(d){v(d);return}s(i)},function(l){s===v?s(i):v(l)})}catch(l){return v(s===v?i:l)}s(i)}}),43990:(function(u,c,t){var r=t(50402),n=t(2663),e=t(46840),a=t(12053),o=t(4720),s=t(73350),i=t(74591),v=t(46738),f=t(56924),l=t(37029),d=function(g){var h=g===0,p=g===1,y=g===2,S=g===3;return function(E,m,x){e(E);var I=m!==void 0;(I||!h)&&n(m);var O=f(E),T=s("Promise"),A=O.iterator,C=O.next,R=0;return new T(function(N,M){var D=function(L){l(A,M,L,M)},F=function(){try{try{o(R)}catch(L){return D(L)}T.resolve(e(r(C,A))).then(function(L){try{if(e(L).done)h?(v(x,R),N(x)):N(S?!1:y||void 0);else{var $=L.value;try{if(I){var B=R++,j=m($,B),V=function(z){if(p)F();else if(y)z?F():l(A,N,!1,M);else if(h)try{i(x,B,z),F()}catch(b){D(b)}else z?l(A,N,S||$,M):F()};a(j)?T.resolve(j).then(V,D):V(j)}else i(x,R++,$),F()}catch(z){D(z)}}}catch(z){M(z)}},M)}catch(L){M(L)}};F()})}};u.exports={toArray:d(0),forEach:d(1),every:d(2),some:d(3),find:d(4)}}),80843:(function(u,c,t){var r=t(84743),n=t(81864),e=t(94626),a=t(31667),o=t(27900),s=t(45503),i=t(69520),v=t(24),f="USE_FUNCTION_CONSTRUCTOR",l=i("asyncIterator"),d=r.AsyncIterator,g=n.AsyncIteratorPrototype,h,p;if(g)h=g;else if(e(d))h=d.prototype;else if(n[f]||r[f])try{p=o(o(o(Function("return async function*(){}()")()))),o(p)===Object.prototype&&(h=p)}catch(y){}h?v&&(h=a(h)):h={},e(h[l])||s(h,l,function(){return this}),u.exports=h}),18045:(function(u){var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=c+"+/",r=c+"-_",n=function(e){for(var a={},o=0;o<64;o++)a[e.charAt(o)]=o;return a};u.exports={i2c:t,c2i:n(t),i2cUrl:r,c2iUrl:n(r)}}),22138:(function(u,c,t){var r=t(46840),n=t(39106);u.exports=function(e,a,o,s){try{return s?a(r(o)[0],o[1]):a(o)}catch(i){n(e,"throw",i)}}}),95617:(function(u,c,t){var r=t(69520),n=r("iterator"),e=!1;try{var a=0,o={next:function(){return{done:!!a++}},return:function(){e=!0}};o[n]=function(){return this},Array.from(o,function(){throw 2})}catch(s){}u.exports=function(s,i){try{if(!i&&!e)return!1}catch(l){return!1}var v=!1;try{var f={};f[n]=function(){return{next:function(){return{done:v=!0}}}},s(f)}catch(l){}return v}}),69255:(function(u,c,t){var r=t(56827),n=r({}.toString),e=r("".slice);u.exports=function(a){return e(n(a),8,-1)}}),70404:(function(u,c,t){var r=t(30535),n=t(94626),e=t(69255),a=t(69520),o=a("toStringTag"),s=Object,i=e((function(){return arguments})())==="Arguments",v=function(f,l){try{return f[l]}catch(d){}};u.exports=r?e:function(f){var l,d,g;return f===void 0?"Undefined":f===null?"Null":typeof(d=v(l=s(f),o))=="string"?d:i?e(l):(g=e(l))==="Object"&&n(l.callee)?"Arguments":g}}),16577:(function(u,c,t){var r=t(31667),n=t(89339),e=t(26394),a=t(68175),o=t(79652),s=t(32808),i=t(13615),v=t(44367),f=t(89526),l=t(74614),d=t(13087),g=t(43668).fastKey,h=t(97676),p=h.set,y=h.getterFor;u.exports={getConstructor:function(S,E,m,x){var I=S(function(R,N){o(R,O),p(R,{type:E,index:r(null),first:null,last:null,size:0}),d||(R.size=0),s(N)||i(N,R[x],{that:R,AS_ENTRIES:m})}),O=I.prototype,T=y(E),A=function(R,N,M){var D=T(R),F=C(R,N),L,$;return F?F.value=M:(D.last=F={index:$=g(N,!0),key:N,value:M,previous:L=D.last,next:null,removed:!1},D.first||(D.first=F),L&&(L.next=F),d?D.size++:R.size++,$!=="F"&&(D.index[$]=F)),R},C=function(R,N){var M=T(R),D=g(N),F;if(D!=="F")return M.index[D];for(F=M.first;F;F=F.next)if(F.key===N)return F};return e(O,{clear:function(){for(var N=this,M=T(N),D=M.first;D;)D.removed=!0,D.previous&&(D.previous=D.previous.next=null),D=D.next;M.first=M.last=null,M.index=r(null),d?M.size=0:N.size=0},delete:function(R){var N=this,M=T(N),D=C(N,R);if(D){var F=D.next,L=D.previous;delete M.index[D.index],D.removed=!0,L&&(L.next=F),F&&(F.previous=L),M.first===D&&(M.first=F),M.last===D&&(M.last=L),d?M.size--:N.size--}return!!D},forEach:function(N){for(var M=T(this),D=a(N,arguments.length>1?arguments[1]:void 0),F;F=F?F.next:M.first;)for(D(F.value,F.key,this);F&&F.removed;)F=F.previous},has:function(N){return!!C(this,N)}}),e(O,m?{get:function(N){var M=C(this,N);return M&&M.value},set:function(N,M){return A(this,N===0?0:N,M)}}:{add:function(N){return A(this,N=N===0?0:N,N)}}),d&&n(O,"size",{configurable:!0,get:function(){return T(this).size}}),I},setStrong:function(S,E,m){var x=E+" Iterator",I=y(E),O=y(x);v(S,E,function(T,A){p(this,{type:x,target:T,state:I(T),kind:A,last:null})},function(){for(var T=O(this),A=T.kind,C=T.last;C&&C.removed;)C=C.previous;return!T.target||!(T.last=C=C?C.next:T.state.first)?(T.target=null,f(void 0,!0)):f(A==="keys"?C.key:A==="values"?C.value:[C.key,C.value],!1)},m?"entries":"values",!m,!0),l(E)}}}),18902:(function(u,c,t){var r=t(56827),n=t(26394),e=t(43668).getWeakData,a=t(79652),o=t(46840),s=t(32808),i=t(12053),v=t(13615),f=t(67566),l=t(46276),d=t(97676),g=d.set,h=d.getterFor,p=f.find,y=f.findIndex,S=r([].splice),E=0,m=function(O){return O.frozen||(O.frozen=new x)},x=function(){this.entries=[]},I=function(O,T){return p(O.entries,function(A){return A[0]===T})};x.prototype={get:function(O){var T=I(this,O);if(T)return T[1]},has:function(O){return!!I(this,O)},set:function(O,T){var A=I(this,O);A?A[1]=T:this.entries.push([O,T])},delete:function(O){var T=y(this.entries,function(A){return A[0]===O});return~T&&S(this.entries,T,1),!!~T}},u.exports={getConstructor:function(O,T,A,C){var R=O(function(F,L){a(F,N),g(F,{type:T,id:E++,frozen:null}),s(L)||v(L,F[C],{that:F,AS_ENTRIES:A})}),N=R.prototype,M=h(T),D=function(F,L,$){var B=M(F),j=e(o(L),!0);return j===!0?m(B).set(L,$):j[B.id]=$,F};return n(N,{delete:function(F){var L=M(this);if(!i(F))return!1;var $=e(F);return $===!0?m(L).delete(F):$&&l($,L.id)&&delete $[L.id]},has:function(L){var $=M(this);if(!i(L))return!1;var B=e(L);return B===!0?m($).has(L):B&&l(B,$.id)}}),n(N,A?{get:function(L){var $=M(this);if(i(L)){var B=e(L);if(B===!0)return m($).get(L);if(B)return B[$.id]}},set:function(L,$){return D(this,L,$)}}:{add:function(L){return D(this,L,!0)}}),R}}}),38993:(function(u,c,t){var r=t(6987),n=t(84743),e=t(56827),a=t(81311),o=t(45503),s=t(43668),i=t(13615),v=t(79652),f=t(94626),l=t(32808),d=t(12053),g=t(20116),h=t(95617),p=t(13696),y=t(17996);u.exports=function(S,E,m){var x=S.indexOf("Map")!==-1,I=S.indexOf("Weak")!==-1,O=x?"set":"add",T=n[S],A=T&&T.prototype,C=T,R={},N=function(j){var V=e(A[j]);o(A,j,j==="add"?function(b){return V(this,b===0?0:b),this}:j==="delete"?function(z){return I&&!d(z)?!1:V(this,z===0?0:z)}:j==="get"?function(b){return I&&!d(b)?void 0:V(this,b===0?0:b)}:j==="has"?function(b){return I&&!d(b)?!1:V(this,b===0?0:b)}:function(b,tt){return V(this,b===0?0:b,tt),this})},M=a(S,!f(T)||!(I||A.forEach&&!g(function(){new T().entries().next()})));if(M)C=m.getConstructor(E,S,x,O),s.enable();else if(a(S,!0)){var D=new C,F=D[O](I?{}:-0,1)!==D,L=g(function(){D.has(1)}),$=h(function(j){new T(j)}),B=!I&&g(function(){for(var j=new T,V=5;V--;)j[O](V,V);return!j.has(-0)});$||(C=E(function(j,V){v(j,A);var z=y(new T,j,C);return l(V)||i(V,z[O],{that:z,AS_ENTRIES:x}),z}),C.prototype=A,A.constructor=C),(L||B)&&(N("delete"),N("has"),x&&N("get")),(B||F)&&N(O),I&&A.clear&&delete A.clear}return R[S]=C,r({global:!0,constructor:!0,forced:C!==T},R),p(C,S),I||m.setStrong(C,S,x),C}}),65859:(function(u,c,t){var r=t(46276),n=t(49258),e=t(66574),a=t(61188);u.exports=function(o,s,i){for(var v=n(s),f=a.f,l=e.f,d=0;d<v.length;d++){var g=v[d];!r(o,g)&&!(i&&r(i,g))&&f(o,g,l(s,g))}}}),14175:(function(u,c,t){var r=t(69520),n=r("match");u.exports=function(e){var a=/./;try{"/./"[e](a)}catch(o){try{return a[n]=!1,"/./"[e](a)}catch(s){}}return!1}}),670:(function(u,c,t){var r=t(20116);u.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype})}),22599:(function(u,c,t){var r=t(56827),n=t(56535),e=t(6360),a=/"/g,o=r("".replace);u.exports=function(s,i,v,f){var l=e(n(s)),d="<"+i;return v!==""&&(d+=" "+v+'="'+o(e(f),a,""")+'"'),d+">"+l+"</"+i+">"}}),89526:(function(u){u.exports=function(c,t){return{value:c,done:t}}}),12258:(function(u,c,t){var r=t(13087),n=t(61188),e=t(34369);u.exports=r?function(a,o,s){return n.f(a,o,e(1,s))}:function(a,o,s){return a[o]=s,a}}),34369:(function(u){u.exports=function(c,t){return{enumerable:!(c&1),configurable:!(c&2),writable:!(c&4),value:t}}}),74591:(function(u,c,t){var r=t(13087),n=t(61188),e=t(34369);u.exports=function(a,o,s){r?n.f(a,o,e(0,s)):a[o]=s}}),56077:(function(u,c,t){var r=t(56827),n=t(20116),e=t(73364).start,a=RangeError,o=isFinite,s=Math.abs,i=Date.prototype,v=i.toISOString,f=r(i.getTime),l=r(i.getUTCDate),d=r(i.getUTCFullYear),g=r(i.getUTCHours),h=r(i.getUTCMilliseconds),p=r(i.getUTCMinutes),y=r(i.getUTCMonth),S=r(i.getUTCSeconds);u.exports=n(function(){return v.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!n(function(){v.call(new Date(NaN))})?function(){if(!o(f(this)))throw new a("Invalid time value");var m=this,x=d(m),I=h(m),O=x<0?"-":x>9999?"+":"";return O+e(s(x),O?6:4,0)+"-"+e(y(m)+1,2,0)+"-"+e(l(m),2,0)+"T"+e(g(m),2,0)+":"+e(p(m),2,0)+":"+e(S(m),2,0)+"."+e(I,3,0)+"Z"}:v}),7631:(function(u,c,t){var r=t(46840),n=t(45277),e=TypeError;u.exports=function(a){if(r(this),a==="string"||a==="default")a="string";else if(a!=="number")throw new e("Incorrect hint");return n(this,a)}}),89339:(function(u,c,t){var r=t(79968),n=t(61188);u.exports=function(e,a,o){return o.get&&r(o.get,a,{getter:!0}),o.set&&r(o.set,a,{setter:!0}),n.f(e,a,o)}}),45503:(function(u,c,t){var r=t(94626),n=t(61188),e=t(79968),a=t(97004);u.exports=function(o,s,i,v){v||(v={});var f=v.enumerable,l=v.name!==void 0?v.name:s;if(r(i)&&e(i,l,v),v.global)f?o[s]=i:a(s,i);else{try{v.unsafe?o[s]&&(f=!0):delete o[s]}catch(d){}f?o[s]=i:n.f(o,s,{value:i,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return o}}),26394:(function(u,c,t){var r=t(45503);u.exports=function(n,e,a){for(var o in e)r(n,o,e[o],a);return n}}),97004:(function(u,c,t){var r=t(84743),n=Object.defineProperty;u.exports=function(e,a){try{n(r,e,{value:a,configurable:!0,writable:!0})}catch(o){r[e]=a}return a}}),18895:(function(u,c,t){var r=t(71016),n=TypeError;u.exports=function(e,a){if(!delete e[a])throw new n("Cannot delete property "+r(a)+" of "+r(e))}}),13087:(function(u,c,t){var r=t(20116);u.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}),50960:(function(u,c,t){var r=t(84743),n=t(8692),e=t(70109),a=r.structuredClone,o=r.ArrayBuffer,s=r.MessageChannel,i=!1,v,f,l,d;if(e)i=function(g){a(g,{transfer:[g]})};else if(o)try{s||(v=n("worker_threads"),v&&(s=v.MessageChannel)),s&&(f=new s,l=new o(2),d=function(g){f.port1.postMessage(null,[g])},l.byteLength===2&&(d(l),l.byteLength===0&&(i=d)))}catch(g){}u.exports=i}),74040:(function(u,c,t){var r=t(84743),n=t(12053),e=r.document,a=n(e)&&n(e.createElement);u.exports=function(o){return a?e.createElement(o):{}}}),4720:(function(u){var c=TypeError,t=9007199254740991;u.exports=function(r){if(r>t)throw new c("Maximum allowed index exceeded");return r}}),65601:(function(u){u.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}}),91439:(function(u){u.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}),28613:(function(u,c,t){var r=t(74040),n=r("span").classList,e=n&&n.constructor&&n.constructor.prototype;u.exports=e===Object.prototype?void 0:e}),95872:(function(u){u.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),61672:(function(u,c,t){var r=t(18114),n=r.match(/firefox\/(\d+)/i);u.exports=!!n&&+n[1]}),21376:(function(u,c,t){var r=t(18114);u.exports=/MSIE|Trident/.test(r)}),3750:(function(u,c,t){var r=t(18114);u.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"}),79869:(function(u,c,t){var r=t(18114);u.exports=/ipad|iphone|ipod/i.test(r)&&/applewebkit/i.test(r)}),64474:(function(u,c,t){var r=t(60760);u.exports=r==="NODE"}),38483:(function(u,c,t){var r=t(18114);u.exports=/web0s(?!.*chrome)/i.test(r)}),18114:(function(u,c,t){var r=t(84743),n=r.navigator,e=n&&n.userAgent;u.exports=e?String(e):""}),14134:(function(u,c,t){var r=t(84743),n=t(18114),e=r.process,a=r.Deno,o=e&&e.versions||a&&a.version,s=o&&o.v8,i,v;s&&(i=s.split("."),v=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!v&&n&&(i=n.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=n.match(/Chrome\/(\d+)/),i&&(v=+i[1]))),u.exports=v}),61362:(function(u,c,t){var r=t(18114),n=r.match(/AppleWebKit\/(\d+)\./);u.exports=!!n&&+n[1]}),60760:(function(u,c,t){var r=t(84743),n=t(18114),e=t(69255),a=function(o){return n.slice(0,o.length)===o};u.exports=(function(){return a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":r.Bun&&typeof Bun.version=="string"?"BUN":r.Deno&&typeof Deno.version=="object"?"DENO":e(r.process)==="process"?"NODE":r.window&&r.document?"BROWSER":"REST"})()}),54106:(function(u,c,t){var r=t(56827),n=Error,e=r("".replace),a=(function(i){return String(new n(i).stack)})("zxcasd"),o=/\n\s*at [^:]*:[^\n]*/,s=o.test(a);u.exports=function(i,v){if(s&&typeof i=="string"&&!n.prepareStackTrace)for(;v--;)i=e(i,o,"");return i}}),62212:(function(u,c,t){var r=t(12258),n=t(54106),e=t(23464),a=Error.captureStackTrace;u.exports=function(o,s,i,v){e&&(a?a(o,s):r(o,"stack",n(i,v)))}}),23464:(function(u,c,t){var r=t(20116),n=t(34369);u.exports=!r(function(){var e=new Error("a");return"stack"in e?(Object.defineProperty(e,"stack",n(1,7)),e.stack!==7):!0})}),8975:(function(u,c,t){var r=t(13087),n=t(20116),e=t(46840),a=t(76520),o=Error.prototype.toString,s=n(function(){if(r){var i=Object.create(Object.defineProperty({},"name",{get:function(){return this===i}}));if(o.call(i)!=="true")return!0}return o.call({message:1,name:2})!=="2: 1"||o.call({})!=="Error"});u.exports=s?function(){var v=e(this),f=a(v.name,"Error"),l=a(v.message);return f?l?f+": "+l:f:l}:o}),6987:(function(u,c,t){var r=t(84743),n=t(66574).f,e=t(12258),a=t(45503),o=t(97004),s=t(65859),i=t(81311);u.exports=function(v,f){var l=v.target,d=v.global,g=v.stat,h,p,y,S,E,m;if(d?p=r:g?p=r[l]||o(l,{}):p=r[l]&&r[l].prototype,p)for(y in f){if(E=f[y],v.dontCallGetSet?(m=n(p,y),S=m&&m.value):S=p[y],h=i(d?y:l+(g?".":"#")+y,v.forced),!h&&S!==void 0){if(typeof E==typeof S)continue;s(E,S)}(v.sham||S&&S.sham)&&e(E,"sham",!0),a(p,y,E,v)}}}),20116:(function(u){u.exports=function(c){try{return!!c()}catch(t){return!0}}}),21301:(function(u,c,t){t(90862);var r=t(50402),n=t(45503),e=t(41100),a=t(20116),o=t(69520),s=t(12258),i=o("species"),v=RegExp.prototype;u.exports=function(f,l,d,g){var h=o(f),p=!a(function(){var m={};return m[h]=function(){return 7},""[f](m)!==7}),y=p&&!a(function(){var m=!1,x=/a/;if(f==="split"){var I={};I[i]=function(){return x},x={constructor:I,flags:""},x[h]=/./[h]}return x.exec=function(){return m=!0,null},x[h](""),!m});if(!p||!y||d){var S=/./[h],E=l(h,""[f],function(m,x,I,O,T){var A=x.exec;return A===e||A===v.exec?p&&!T?{done:!0,value:r(S,x,I,O)}:{done:!0,value:r(m,I,x,O)}:{done:!1}});n(String.prototype,f,E[0]),n(v,h,E[1])}g&&s(v[h],"sham",!0)}}),302:(function(u,c,t){var r=t(11129),n=t(71207),e=t(4720),a=t(68175),o=t(74591),s=function(i,v,f,l,d,g,h,p){for(var y=d,S=0,E=h?a(h,p):!1,m,x;S<l;)S in f&&(m=E?E(f[S],S,v):f[S],g>0&&r(m)?(x=n(m),y=s(i,v,m,x,y,g-1)-1):(e(y+1),o(i,y,m)),y++),S++;return y};u.exports=s}),53993:(function(u,c,t){var r=t(20116);u.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})}),15360:(function(u,c,t){var r=t(11865),n=Function.prototype,e=n.apply,a=n.call;u.exports=typeof Reflect=="object"&&Reflect.apply||(r?a.bind(e):function(){return a.apply(e,arguments)})}),68175:(function(u,c,t){var r=t(34945),n=t(2663),e=t(11865),a=r(r.bind);u.exports=function(o,s){return n(o),s===void 0?o:e?a(o,s):function(){return o.apply(s,arguments)}}}),11865:(function(u,c,t){var r=t(20116);u.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})}),22457:(function(u,c,t){var r=t(56827),n=t(2663),e=t(12053),a=t(46276),o=t(11579),s=t(11865),i=Function,v=r([].concat),f=r([].join),l={},d=function(g,h,p){if(!a(l,h)){for(var y=[