UNPKG

billboard.js

Version:

Re-usable easy interface JavaScript chart library, based on D3 v4+

11 lines 208 kB
/*! * 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 3.14.2 * @requires billboard.js * @summary billboard.js plugin */(function(gr,sr){typeof exports=="object"&&typeof module=="object"?module.exports=sr():typeof define=="function"&&define.amd?define("bb",[],sr):typeof exports=="object"?exports.bb=sr():(gr.bb=gr.bb||{},gr.bb.plugin=gr.bb.plugin||{},gr.bb.plugin["bubblecompare.pkgd"]=sr())})(this,function(){return function(){"use strict";var Fr={19770:function(s,l,t){t.d(l,{default:function(){return Gr}});function r(){}function n(R){return R==null?r:function(){return this.querySelector(R)}}function e(R){typeof R!="function"&&(R=n(R));for(var M=this._groups,X=M.length,ut=new Array(X),_=0;_<X;++_)for(var yt=M[_],Tt=yt.length,Pt=ut[_]=new Array(Tt),$t,Vt,Xt=0;Xt<Tt;++Xt)($t=yt[Xt])&&(Vt=R.call($t,$t.__data__,Xt,yt))&&("__data__"in $t&&(Vt.__data__=$t.__data__),Pt[Xt]=Vt);return new At(ut,this._parents)}function a(R){return R==null?[]:Array.isArray(R)?R:Array.from(R)}function o(){return[]}function u(R){return R==null?o:function(){return this.querySelectorAll(R)}}function i(R){return function(){return a(R.apply(this,arguments))}}function v(R){typeof R=="function"?R=i(R):R=u(R);for(var M=this._groups,X=M.length,ut=[],_=[],yt=0;yt<X;++yt)for(var Tt=M[yt],Pt=Tt.length,$t,Vt=0;Vt<Pt;++Vt)($t=Tt[Vt])&&(ut.push(R.call($t,$t.__data__,Vt,Tt)),_.push($t));return new At(ut,_)}function f(R){return function(){return this.matches(R)}}function c(R){return function(M){return M.matches(R)}}var d=Array.prototype.find;function h(R){return function(){return d.call(this.children,R)}}function g(){return this.firstElementChild}function p(R){return this.select(R==null?g:h(typeof R=="function"?R:c(R)))}var y=Array.prototype.filter;function m(){return Array.from(this.children)}function I(R){return function(){return y.call(this.children,R)}}function x(R){return this.selectAll(R==null?m:I(typeof R=="function"?R:c(R)))}function S(R){typeof R!="function"&&(R=f(R));for(var M=this._groups,X=M.length,ut=new Array(X),_=0;_<X;++_)for(var yt=M[_],Tt=yt.length,Pt=ut[_]=[],$t,Vt=0;Vt<Tt;++Vt)($t=yt[Vt])&&R.call($t,$t.__data__,Vt,yt)&&Pt.push($t);return new At(ut,this._parents)}function T(R){return new Array(R.length)}function E(){return new At(this._enter||this._groups.map(T),this._parents)}function O(R,M){this.ownerDocument=R.ownerDocument,this.namespaceURI=R.namespaceURI,this._next=null,this._parent=R,this.__data__=M}O.prototype={constructor:O,appendChild:function(R){return this._parent.insertBefore(R,this._next)},insertBefore:function(R,M){return this._parent.insertBefore(R,M)},querySelector:function(R){return this._parent.querySelector(R)},querySelectorAll:function(R){return this._parent.querySelectorAll(R)}};function A(R){return function(){return R}}function C(R,M,X,ut,_,yt){for(var Tt=0,Pt,$t=M.length,Vt=yt.length;Tt<Vt;++Tt)(Pt=M[Tt])?(Pt.__data__=yt[Tt],ut[Tt]=Pt):X[Tt]=new O(R,yt[Tt]);for(;Tt<$t;++Tt)(Pt=M[Tt])&&(_[Tt]=Pt)}function P(R,M,X,ut,_,yt,Tt){var Pt,$t,Vt=new Map,Xt=M.length,or=yt.length,cr=new Array(Xt),fr;for(Pt=0;Pt<Xt;++Pt)($t=M[Pt])&&(cr[Pt]=fr=Tt.call($t,$t.__data__,Pt,M)+"",Vt.has(fr)?_[Pt]=$t:Vt.set(fr,$t));for(Pt=0;Pt<or;++Pt)fr=Tt.call(R,yt[Pt],Pt,yt)+"",($t=Vt.get(fr))?(ut[Pt]=$t,$t.__data__=yt[Pt],Vt.delete(fr)):X[Pt]=new O(R,yt[Pt]);for(Pt=0;Pt<Xt;++Pt)($t=M[Pt])&&Vt.get(cr[Pt])===$t&&(_[Pt]=$t)}function N(R){return R.__data__}function $(R,M){if(!arguments.length)return Array.from(this,N);var X=M?P:C,ut=this._parents,_=this._groups;typeof R!="function"&&(R=A(R));for(var yt=_.length,Tt=new Array(yt),Pt=new Array(yt),$t=new Array(yt),Vt=0;Vt<yt;++Vt){var Xt=ut[Vt],or=_[Vt],cr=or.length,fr=U(R.call(Xt,Xt&&Xt.__data__,Vt,ut)),dr=fr.length,Lr=Pt[Vt]=new Array(dr),$r=Tt[Vt]=new Array(dr),Vr=$t[Vt]=new Array(cr);X(Xt,or,Lr,$r,Vr,fr,M);for(var Rr=0,Mr=0,Ur,Br;Rr<dr;++Rr)if(Ur=Lr[Rr]){for(Rr>=Mr&&(Mr=Rr+1);!(Br=$r[Mr])&&++Mr<dr;);Ur._next=Br||null}}return Tt=new At(Tt,ut),Tt._enter=Pt,Tt._exit=$t,Tt}function U(R){return typeof R=="object"&&"length"in R?R:Array.from(R)}function D(){return new At(this._exit||this._groups.map(T),this._parents)}function F(R,M,X){var ut=this.enter(),_=this,yt=this.exit();return typeof R=="function"?(ut=R(ut),ut&&(ut=ut.selection())):ut=ut.append(R+""),M!=null&&(_=M(_),_&&(_=_.selection())),X==null?yt.remove():X(yt),ut&&_?ut.merge(_).order():_}function L(R){for(var M=R.selection?R.selection():R,X=this._groups,ut=M._groups,_=X.length,yt=ut.length,Tt=Math.min(_,yt),Pt=new Array(_),$t=0;$t<Tt;++$t)for(var Vt=X[$t],Xt=ut[$t],or=Vt.length,cr=Pt[$t]=new Array(or),fr,dr=0;dr<or;++dr)(fr=Vt[dr]||Xt[dr])&&(cr[dr]=fr);for(;$t<_;++$t)Pt[$t]=X[$t];return new At(Pt,this._parents)}function j(){for(var R=this._groups,M=-1,X=R.length;++M<X;)for(var ut=R[M],_=ut.length-1,yt=ut[_],Tt;--_>=0;)(Tt=ut[_])&&(yt&&Tt.compareDocumentPosition(yt)^4&&yt.parentNode.insertBefore(Tt,yt),yt=Tt);return this}function W(R){R||(R=b);function M(or,cr){return or&&cr?R(or.__data__,cr.__data__):!or-!cr}for(var X=this._groups,ut=X.length,_=new Array(ut),yt=0;yt<ut;++yt){for(var Tt=X[yt],Pt=Tt.length,$t=_[yt]=new Array(Pt),Vt,Xt=0;Xt<Pt;++Xt)(Vt=Tt[Xt])&&($t[Xt]=Vt);$t.sort(M)}return new At(_,this._parents).order()}function b(R,M){return R<M?-1:R>M?1:R>=M?0:NaN}function K(){var R=arguments[0];return arguments[0]=this,R.apply(null,arguments),this}function z(){return Array.from(this)}function it(){for(var R=this._groups,M=0,X=R.length;M<X;++M)for(var ut=R[M],_=0,yt=ut.length;_<yt;++_){var Tt=ut[_];if(Tt)return Tt}return null}function et(){let R=0;for(const M of this)++R;return R}function lt(){return!this.node()}function pt(R){for(var M=this._groups,X=0,ut=M.length;X<ut;++X)for(var _=M[X],yt=0,Tt=_.length,Pt;yt<Tt;++yt)(Pt=_[yt])&&R.call(Pt,Pt.__data__,yt,_);return this}var mt="http://www.w3.org/1999/xhtml",Bt={svg:"http://www.w3.org/2000/svg",xhtml:mt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ut(R){var M=R+="",X=M.indexOf(":");return X>=0&&(M=R.slice(0,X))!=="xmlns"&&(R=R.slice(X+1)),Bt.hasOwnProperty(M)?{space:Bt[M],local:R}:R}function Nt(R){return function(){this.removeAttribute(R)}}function at(R){return function(){this.removeAttributeNS(R.space,R.local)}}function ct(R,M){return function(){this.setAttribute(R,M)}}function Ot(R,M){return function(){this.setAttributeNS(R.space,R.local,M)}}function Ct(R,M){return function(){var X=M.apply(this,arguments);X==null?this.removeAttribute(R):this.setAttribute(R,X)}}function It(R,M){return function(){var X=M.apply(this,arguments);X==null?this.removeAttributeNS(R.space,R.local):this.setAttributeNS(R.space,R.local,X)}}function Ft(R,M){var X=Ut(R);if(arguments.length<2){var ut=this.node();return X.local?ut.getAttributeNS(X.space,X.local):ut.getAttribute(X)}return this.each((M==null?X.local?at:Nt:typeof M=="function"?X.local?It:Ct:X.local?Ot:ct)(X,M))}function Wt(R){return R.ownerDocument&&R.ownerDocument.defaultView||R.document&&R||R.defaultView}function Kt(R){return function(){this.style.removeProperty(R)}}function Gt(R,M,X){return function(){this.style.setProperty(R,M,X)}}function Mt(R,M,X){return function(){var ut=M.apply(this,arguments);ut==null?this.style.removeProperty(R):this.style.setProperty(R,ut,X)}}function bt(R,M,X){return arguments.length>1?this.each((M==null?Kt:typeof M=="function"?Mt:Gt)(R,M,X==null?"":X)):jt(this.node(),R)}function jt(R,M){return R.style.getPropertyValue(M)||Wt(R).getComputedStyle(R,null).getPropertyValue(M)}function Lt(R){return function(){delete this[R]}}function q(R,M){return function(){this[R]=M}}function st(R,M){return function(){var X=M.apply(this,arguments);X==null?delete this[R]:this[R]=X}}function Y(R,M){return arguments.length>1?this.each((M==null?Lt:typeof M=="function"?st:q)(R,M)):this.node()[R]}function xt(R){return R.trim().split(/^|\s+/)}function St(R){return R.classList||new gt(R)}function gt(R){this._node=R,this._names=xt(R.getAttribute("class")||"")}gt.prototype={add:function(R){var M=this._names.indexOf(R);M<0&&(this._names.push(R),this._node.setAttribute("class",this._names.join(" ")))},remove:function(R){var M=this._names.indexOf(R);M>=0&&(this._names.splice(M,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(R){return this._names.indexOf(R)>=0}};function ht(R,M){for(var X=St(R),ut=-1,_=M.length;++ut<_;)X.add(M[ut])}function Jt(R,M){for(var X=St(R),ut=-1,_=M.length;++ut<_;)X.remove(M[ut])}function Zt(R){return function(){ht(this,R)}}function V(R){return function(){Jt(this,R)}}function w(R,M){return function(){(M.apply(this,arguments)?ht:Jt)(this,R)}}function tt(R,M){var X=xt(R+"");if(arguments.length<2){for(var ut=St(this.node()),_=-1,yt=X.length;++_<yt;)if(!ut.contains(X[_]))return!1;return!0}return this.each((typeof M=="function"?w:M?Zt:V)(X,M))}function k(){this.textContent=""}function ot(R){return function(){this.textContent=R}}function J(R){return function(){var M=R.apply(this,arguments);this.textContent=M==null?"":M}}function Rt(R){return arguments.length?this.each(R==null?k:(typeof R=="function"?J:ot)(R)):this.node().textContent}function zt(){this.innerHTML=""}function Q(R){return function(){this.innerHTML=R}}function vt(R){return function(){var M=R.apply(this,arguments);this.innerHTML=M==null?"":M}}function ft(R){return arguments.length?this.each(R==null?zt:(typeof R=="function"?vt:Q)(R)):this.node().innerHTML}function dt(){this.nextSibling&&this.parentNode.appendChild(this)}function Dt(){return this.each(dt)}function Ht(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Yt(){return this.each(Ht)}function Qt(R){return function(){var M=this.ownerDocument,X=this.namespaceURI;return X===mt&&M.documentElement.namespaceURI===mt?M.createElement(R):M.createElementNS(X,R)}}function kt(R){return function(){return this.ownerDocument.createElementNS(R.space,R.local)}}function tr(R){var M=Ut(R);return(M.local?kt:Qt)(M)}function ur(R){var M=typeof R=="function"?R:tr(R);return this.select(function(){return this.appendChild(M.apply(this,arguments))})}function xr(){return null}function Ar(R,M){var X=typeof R=="function"?R:tr(R),ut=M==null?xr:typeof M=="function"?M:n(M);return this.select(function(){return this.insertBefore(X.apply(this,arguments),ut.apply(this,arguments)||null)})}function Sr(){var R=this.parentNode;R&&R.removeChild(this)}function yr(){return this.each(Sr)}function ir(){var R=this.cloneNode(!1),M=this.parentNode;return M?M.insertBefore(R,this.nextSibling):R}function Pr(){var R=this.cloneNode(!0),M=this.parentNode;return M?M.insertBefore(R,this.nextSibling):R}function hr(R){return this.select(R?Pr:ir)}function lr(R){return arguments.length?this.property("__data__",R):this.node().__data__}function Er(R){return function(M){R.call(this,M,this.__data__)}}function pr(R){return R.trim().split(/^|\s+/).map(function(M){var X="",ut=M.indexOf(".");return ut>=0&&(X=M.slice(ut+1),M=M.slice(0,ut)),{type:M,name:X}})}function nr(R){return function(){var M=this.__on;if(M){for(var X=0,ut=-1,_=M.length,yt;X<_;++X)yt=M[X],(!R.type||yt.type===R.type)&&yt.name===R.name?this.removeEventListener(yt.type,yt.listener,yt.options):M[++ut]=yt;++ut?M.length=ut:delete this.__on}}}function er(R,M,X){return function(){var ut=this.__on,_,yt=Er(M);if(ut){for(var Tt=0,Pt=ut.length;Tt<Pt;++Tt)if((_=ut[Tt]).type===R.type&&_.name===R.name){this.removeEventListener(_.type,_.listener,_.options),this.addEventListener(_.type,_.listener=yt,_.options=X),_.value=M;return}}this.addEventListener(R.type,yt,X),_={type:R.type,name:R.name,value:M,listener:yt,options:X},ut?ut.push(_):this.__on=[_]}}function Cr(R,M,X){var ut=pr(R+""),_,yt=ut.length,Tt;if(arguments.length<2){var Pt=this.node().__on;if(Pt){for(var $t=0,Vt=Pt.length,Xt;$t<Vt;++$t)for(_=0,Xt=Pt[$t];_<yt;++_)if((Tt=ut[_]).type===Xt.type&&Tt.name===Xt.name)return Xt.value}return}for(Pt=M?er:nr,_=0;_<yt;++_)this.each(Pt(ut[_],M,X));return this}function Ir(R,M,X){var ut=Wt(R),_=ut.CustomEvent;typeof _=="function"?_=new _(M,X):(_=ut.document.createEvent("Event"),X?(_.initEvent(M,X.bubbles,X.cancelable),_.detail=X.detail):_.initEvent(M,!1,!1)),R.dispatchEvent(_)}function G(R,M){return function(){return Ir(this,R,M)}}function nt(R,M){return function(){return Ir(this,R,M.apply(this,arguments))}}function H(R,M){return this.each((typeof M=="function"?nt:G)(R,M))}function*B(){for(var R=this._groups,M=0,X=R.length;M<X;++M)for(var ut=R[M],_=0,yt=ut.length,Tt;_<yt;++_)(Tt=ut[_])&&(yield Tt)}var Z=[null];function At(R,M){this._groups=R,this._parents=M}function Et(){return new At([[document.documentElement]],Z)}function wt(){return this}At.prototype=Et.prototype={constructor:At,select:e,selectAll:v,selectChild:p,selectChildren:x,filter:S,data:$,enter:E,exit:D,join:F,merge:L,selection:wt,order:j,sort:W,call:K,nodes:z,node:it,size:et,empty:lt,each:pt,attr:Ft,style:bt,property:Y,classed:tt,text:Rt,html:ft,raise:Dt,lower:Yt,append:ur,insert:Ar,remove:yr,clone:hr,datum:lr,on:Cr,dispatch:H,[Symbol.iterator]:B};var _t=null;function rr(R){return typeof R=="string"?new At([[document.querySelector(R)]],[document.documentElement]):new At([[R]],Z)}var ar=Object.defineProperty,rt=(R,M,X)=>M in R?ar(R,M,{enumerable:!0,configurable:!0,writable:!0,value:X}):R[M]=X,qt=(R,M,X)=>rt(R,typeof M!="symbol"?M+"":M,X);class vr{constructor(M={}){qt(this,"$$"),qt(this,"options"),this.options=M}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(M=>{this[M]=null,delete this[M]})}}qt(vr,"version","3.14.2");var Or=Object.defineProperty,Nr=(R,M,X)=>M in R?Or(R,M,{enumerable:!0,configurable:!0,writable:!0,value:X}):R[M]=X,Tr=(R,M,X)=>Nr(R,typeof M!="symbol"?M+"":M,X);const mr=class jr extends vr{constructor(M){return super(M),Tr(this,"$$"),this}$init(){const{$$:M}=this;M.findClosest=this.findClosest.bind(this),M.getBubbleR=this.getBubbleR.bind(this),M.pointExpandedR=this.pointExpandedR.bind(this)}pointExpandedR(M){const X=this.getBubbleR(M),{expandScale:ut=1}=this.options;return jr.raiseFocusedBubbleLayer(M),this.changeCursorPoint(),X*ut}static raiseFocusedBubbleLayer(M){M.raise&&rr(M.node().parentNode.parentNode).raise()}changeCursorPoint(){this.$$.$el.eventRect.style("cursor","pointer")}findClosest(M,X){const{$$:ut}=this;return M.filter(_=>_&&!ut.isBarType(_.id)).reduce((_,yt)=>ut.dist(yt,X)<this.getBubbleR(yt)?yt:_,0)}getBubbleR(M){const{minR:X,maxR:ut}=this.options,_=this.getZData(M);if(!_)return X;const[yt,Tt]=this.$$.data.targets.reduce(([$t,Vt],Xt)=>{const or=this.getZData(Xt.values[0]);return[Math.min($t,or),Math.max(Vt,or)]},[1e4,0]),Pt=yt>0&&Tt===yt?0:_/Tt;return Math.abs(Pt)*(ut-X)+X}getZData(M){return this.$$.isBubbleZType(M)?this.$$.getBubbleZData(M.value,"z"):M.value}};Tr(mr,"version","0.0.1");let Gr=mr},85156:function(s,l,t){var r=t(23583),n=t(82453),e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a function")}},80042:function(s,l,t){var r=t(11051),n=t(82453),e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not a constructor")}},53408:function(s,l,t){var r=t(52427),n=String,e=TypeError;s.exports=function(a){if(r(a))return a;throw new e("Can't set "+n(a)+" as a prototype")}},76602:function(s,l,t){var r=t(172).has;s.exports=function(n){return r(n),n}},23811:function(s,l,t){var r=t(18565),n=t(5406),e=t(7831).f,a=r("unscopables"),o=Array.prototype;o[a]===void 0&&e(o,a,{configurable:!0,value:n(null)}),s.exports=function(u){o[a][u]=!0}},24487:function(s,l,t){var r=t(22149).charAt;s.exports=function(n,e,a){return e+(a?r(n,e).length:1)}},12833:function(s,l,t){var r=t(95307),n=TypeError;s.exports=function(e,a){if(r(a,e))return e;throw new n("Incorrect invocation")}},25001:function(s,l,t){var r=t(37540),n=String,e=TypeError;s.exports=function(a){if(r(a))return a;throw new e(n(a)+" is not an object")}},3237:function(s){s.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},58360:function(s,l,t){var r=t(34246),n=t(84756),e=t(14274),a=r.ArrayBuffer,o=r.TypeError;s.exports=a&&n(a.prototype,"byteLength","get")||function(u){if(e(u)!=="ArrayBuffer")throw new o("ArrayBuffer expected");return u.byteLength}},30736:function(s,l,t){var r=t(34246),n=t(77422),e=t(58360),a=r.ArrayBuffer,o=a&&a.prototype,u=o&&n(o.slice);s.exports=function(i){if(e(i)!==0||!u)return!1;try{return u(i,0,0),!1}catch(v){return!0}}},72058:function(s,l,t){var r=t(72069);s.exports=r(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})},83843:function(s,l,t){var r=t(30736),n=TypeError;s.exports=function(e){if(r(e))throw new n("ArrayBuffer is detached");return e}},65006:function(s,l,t){var r=t(34246),n=t(11286),e=t(84756),a=t(9450),o=t(83843),u=t(58360),i=t(63741),v=t(99050),f=r.structuredClone,c=r.ArrayBuffer,d=r.DataView,h=Math.min,g=c.prototype,p=d.prototype,y=n(g.slice),m=e(g,"resizable","get"),I=e(g,"maxByteLength","get"),x=n(p.getInt8),S=n(p.setInt8);s.exports=(v||i)&&function(T,E,O){var A=u(T),C=E===void 0?A:a(E),P=!m||!m(T),N;if(o(T),v&&(T=f(T,{transfer:[T]}),A===C&&(O||P)))return T;if(A>=C&&(!O||P))N=y(T,0,C);else{var $=O&&!P&&I?{maxByteLength:I(T)}:void 0;N=new c(C,$);for(var U=new d(T),D=new d(N),F=h(C,A),L=0;L<F;L++)S(D,L,x(U,L))}return v||i(T),N}},88037:function(s,l,t){var r=t(3237),n=t(92986),e=t(34246),a=t(23583),o=t(37540),u=t(94879),i=t(9205),v=t(82453),f=t(90809),c=t(16142),d=t(85500),h=t(95307),g=t(26313),p=t(15861),y=t(18565),m=t(36374),I=t(82367),x=I.enforce,S=I.get,T=e.Int8Array,E=T&&T.prototype,O=e.Uint8ClampedArray,A=O&&O.prototype,C=T&&g(T),P=E&&g(E),N=Object.prototype,$=e.TypeError,U=y("toStringTag"),D=m("TYPED_ARRAY_TAG"),F="TypedArrayConstructor",L=r&&!!p&&i(e.opera)!=="Opera",j=!1,W,b,K,z={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},it={BigInt64Array:8,BigUint64Array:8},et=function(ct){if(!o(ct))return!1;var Ot=i(ct);return Ot==="DataView"||u(z,Ot)||u(it,Ot)},lt=function(at){var ct=g(at);if(o(ct)){var Ot=S(ct);return Ot&&u(Ot,F)?Ot[F]:lt(ct)}},pt=function(at){if(!o(at))return!1;var ct=i(at);return u(z,ct)||u(it,ct)},mt=function(at){if(pt(at))return at;throw new $("Target is not a typed array")},Bt=function(at){if(a(at)&&(!p||h(C,at)))return at;throw new $(v(at)+" is not a typed array constructor")},Ut=function(at,ct,Ot,Ct){if(n){if(Ot)for(var It in z){var Ft=e[It];if(Ft&&u(Ft.prototype,at))try{delete Ft.prototype[at]}catch(Wt){try{Ft.prototype[at]=ct}catch(Kt){}}}(!P[at]||Ot)&&c(P,at,Ot?ct:L&&E[at]||ct,Ct)}},Nt=function(at,ct,Ot){var Ct,It;if(n){if(p){if(Ot){for(Ct in z)if(It=e[Ct],It&&u(It,at))try{delete It[at]}catch(Ft){}}if(!C[at]||Ot)try{return c(C,at,Ot?ct:L&&C[at]||ct)}catch(Ft){}else return}for(Ct in z)It=e[Ct],It&&(!It[at]||Ot)&&c(It,at,ct)}};for(W in z)b=e[W],K=b&&b.prototype,K?x(K)[F]=b:L=!1;for(W in it)b=e[W],K=b&&b.prototype,K&&(x(K)[F]=b);if((!L||!a(C)||C===Function.prototype)&&(C=function(){throw new $("Incorrect invocation")},L))for(W in z)e[W]&&p(e[W],C);if((!L||!P||P===N)&&(P=C.prototype,L))for(W in z)e[W]&&p(e[W].prototype,P);if(L&&g(A)!==P&&p(A,P),n&&!u(P,U)){j=!0,d(P,U,{configurable:!0,get:function(){return o(this)?this[D]:void 0}});for(W in z)e[W]&&f(e[W],D,W)}s.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:j&&D,aTypedArray:mt,aTypedArrayConstructor:Bt,exportTypedArrayMethod:Ut,exportTypedArrayStaticMethod:Nt,getTypedArrayConstructor:lt,isView:et,isTypedArray:pt,TypedArray:C,TypedArrayPrototype:P}},17468:function(s,l,t){var r=t(34246),n=t(11286),e=t(92986),a=t(3237),o=t(86588),u=t(90809),i=t(85500),v=t(2725),f=t(72069),c=t(12833),d=t(12105),h=t(45344),g=t(9450),p=t(93279),y=t(25212),m=t(26313),I=t(15861),x=t(43011),S=t(22806),T=t(32345),E=t(93706),O=t(78401),A=t(82367),C=o.PROPER,P=o.CONFIGURABLE,N="ArrayBuffer",$="DataView",U="prototype",D="Wrong length",F="Wrong index",L=A.getterFor(N),j=A.getterFor($),W=A.set,b=r[N],K=b,z=K&&K[U],it=r[$],et=it&&it[U],lt=Object.prototype,pt=r.Array,mt=r.RangeError,Bt=n(x),Ut=n([].reverse),Nt=y.pack,at=y.unpack,ct=function(q){return[q&255]},Ot=function(q){return[q&255,q>>8&255]},Ct=function(q){return[q&255,q>>8&255,q>>16&255,q>>24&255]},It=function(q){return q[3]<<24|q[2]<<16|q[1]<<8|q[0]},Ft=function(q){return Nt(p(q),23,4)},Wt=function(q){return Nt(q,52,8)},Kt=function(q,st,Y){i(q[U],st,{configurable:!0,get:function(){return Y(this)[st]}})},Gt=function(q,st,Y,xt){var St=j(q),gt=g(Y),ht=!!xt;if(gt+st>St.byteLength)throw new mt(F);var Jt=St.bytes,Zt=gt+St.byteOffset,V=S(Jt,Zt,Zt+st);return ht?V:Ut(V)},Mt=function(q,st,Y,xt,St,gt){var ht=j(q),Jt=g(Y),Zt=xt(+St),V=!!gt;if(Jt+st>ht.byteLength)throw new mt(F);for(var w=ht.bytes,tt=Jt+ht.byteOffset,k=0;k<st;k++)w[tt+k]=Zt[V?k:st-k-1]};if(!a)K=function(st){c(this,z);var Y=g(st);W(this,{type:N,bytes:Bt(pt(Y),0),byteLength:Y}),e||(this.byteLength=Y,this.detached=!1)},z=K[U],it=function(st,Y,xt){c(this,et),c(st,z);var St=L(st),gt=St.byteLength,ht=d(Y);if(ht<0||ht>gt)throw new mt("Wrong offset");if(xt=xt===void 0?gt-ht:h(xt),ht+xt>gt)throw new mt(D);W(this,{type:$,buffer:st,byteLength:xt,byteOffset:ht,bytes:St.bytes}),e||(this.buffer=st,this.byteLength=xt,this.byteOffset=ht)},et=it[U],e&&(Kt(K,"byteLength",L),Kt(it,"buffer",j),Kt(it,"byteLength",j),Kt(it,"byteOffset",j)),v(et,{getInt8:function(st){return Gt(this,1,st)[0]<<24>>24},getUint8:function(st){return Gt(this,1,st)[0]},getInt16:function(st){var Y=Gt(this,2,st,arguments.length>1?arguments[1]:!1);return(Y[1]<<8|Y[0])<<16>>16},getUint16:function(st){var Y=Gt(this,2,st,arguments.length>1?arguments[1]:!1);return Y[1]<<8|Y[0]},getInt32:function(st){return It(Gt(this,4,st,arguments.length>1?arguments[1]:!1))},getUint32:function(st){return It(Gt(this,4,st,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(st){return at(Gt(this,4,st,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(st){return at(Gt(this,8,st,arguments.length>1?arguments[1]:!1),52)},setInt8:function(st,Y){Mt(this,1,st,ct,Y)},setUint8:function(st,Y){Mt(this,1,st,ct,Y)},setInt16:function(st,Y){Mt(this,2,st,Ot,Y,arguments.length>2?arguments[2]:!1)},setUint16:function(st,Y){Mt(this,2,st,Ot,Y,arguments.length>2?arguments[2]:!1)},setInt32:function(st,Y){Mt(this,4,st,Ct,Y,arguments.length>2?arguments[2]:!1)},setUint32:function(st,Y){Mt(this,4,st,Ct,Y,arguments.length>2?arguments[2]:!1)},setFloat32:function(st,Y){Mt(this,4,st,Ft,Y,arguments.length>2?arguments[2]:!1)},setFloat64:function(st,Y){Mt(this,8,st,Wt,Y,arguments.length>2?arguments[2]:!1)}});else{var bt=C&&b.name!==N;!f(function(){b(1)})||!f(function(){new b(-1)})||f(function(){return new b,new b(1.5),new b(NaN),b.length!==1||bt&&!P})?(K=function(st){return c(this,z),T(new b(g(st)),this,K)},K[U]=z,z.constructor=K,E(K,b)):bt&&P&&u(b,"name",N),I&&m(et)!==lt&&I(et,lt);var jt=new it(new K(2)),Lt=n(et.setInt8);jt.setInt8(0,2147483648),jt.setInt8(1,2147483649),(jt.getInt8(0)||!jt.getInt8(1))&&v(et,{setInt8:function(st,Y){Lt(this,st,Y<<24>>24)},setUint8:function(st,Y){Lt(this,st,Y<<24>>24)}},{unsafe:!0})}O(K,N),O(it,$),s.exports={ArrayBuffer:K,DataView:it}},81499:function(s,l,t){var r=t(49671),n=t(4652),e=t(82628),a=t(12384),o=Math.min;s.exports=[].copyWithin||function(i,v){var f=r(this),c=e(f),d=n(i,c),h=n(v,c),g=arguments.length>2?arguments[2]:void 0,p=o((g===void 0?c:n(g,c))-h,c-d),y=1;for(h<d&&d<h+p&&(y=-1,h+=p-1,d+=p-1);p-- >0;)h in f?f[d]=f[h]:a(f,d),d+=y,h+=y;return f}},43011:function(s,l,t){var r=t(49671),n=t(4652),e=t(82628);s.exports=function(o){for(var u=r(this),i=e(u),v=arguments.length,f=n(v>1?arguments[1]:void 0,i),c=v>2?arguments[2]:void 0,d=c===void 0?i:n(c,i);d>f;)u[f++]=o;return u}},13349:function(s,l,t){var r=t(66655).forEach,n=t(6148),e=n("forEach");s.exports=e?[].forEach:function(o){return r(this,o,arguments.length>1?arguments[1]:void 0)}},5220:function(s,l,t){var r=t(82628);s.exports=function(n,e,a){for(var o=0,u=arguments.length>2?a:r(e),i=new n(u);u>o;)i[o]=e[o++];return i}},48258:function(s,l,t){var r=t(45526),n=t(96499),e=t(49671),a=t(39969),o=t(48199),u=t(11051),i=t(82628),v=t(84082),f=t(90619),c=t(81077),d=Array;s.exports=function(g){var p=e(g),y=u(this),m=arguments.length,I=m>1?arguments[1]:void 0,x=I!==void 0;x&&(I=r(I,m>2?arguments[2]:void 0));var S=c(p),T=0,E,O,A,C,P,N;if(S&&!(this===d&&o(S)))for(O=y?new this:[],C=f(p,S),P=C.next;!(A=n(P,C)).done;T++)N=x?a(C,I,[A.value,T],!0):A.value,v(O,T,N);else for(E=i(p),O=y?new this(E):d(E);E>T;T++)N=x?I(p[T],T):p[T],v(O,T,N);return O.length=T,O}},94319:function(s,l,t){var r=t(36859),n=t(4652),e=t(82628),a=function(o){return function(u,i,v){var f=r(u),c=e(f);if(c===0)return!o&&-1;var d=n(v,c),h;if(o&&i!==i){for(;c>d;)if(h=f[d++],h!==h)return!0}else for(;c>d;d++)if((o||d in f)&&f[d]===i)return o||d||0;return!o&&-1}};s.exports={includes:a(!0),indexOf:a(!1)}},73849:function(s,l,t){var r=t(45526),n=t(72181),e=t(49671),a=t(82628),o=function(u){var i=u===1;return function(v,f,c){for(var d=e(v),h=n(d),g=a(h),p=r(f,c),y,m;g-- >0;)if(y=h[g],m=p(y,g,d),m)switch(u){case 0:return y;case 1:return g}return i?-1:void 0}};s.exports={findLast:o(0),findLastIndex:o(1)}},66655:function(s,l,t){var r=t(45526),n=t(11286),e=t(72181),a=t(49671),o=t(82628),u=t(62083),i=n([].push),v=function(f){var c=f===1,d=f===2,h=f===3,g=f===4,p=f===6,y=f===7,m=f===5||p;return function(I,x,S,T){for(var E=a(I),O=e(E),A=o(O),C=r(x,S),P=0,N=T||u,$=c?N(I,A):d||y?N(I,0):void 0,U,D;A>P;P++)if((m||P in O)&&(U=O[P],D=C(U,P,E),f))if(c)$[P]=D;else if(D)switch(f){case 3:return!0;case 5:return U;case 6:return P;case 2:i($,U)}else switch(f){case 4:return!1;case 7:i($,U)}return p?-1:h||g?g:$}};s.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},58465:function(s,l,t){var r=t(66543),n=t(36859),e=t(12105),a=t(82628),o=t(6148),u=Math.min,i=[].lastIndexOf,v=!!i&&1/[1].lastIndexOf(1,-0)<0,f=o("lastIndexOf"),c=v||!f;s.exports=c?function(h){if(v)return r(i,this,arguments)||0;var g=n(this),p=a(g);if(p===0)return-1;var y=p-1;for(arguments.length>1&&(y=u(y,e(arguments[1]))),y<0&&(y=p+y);y>=0;y--)if(y in g&&g[y]===h)return y||0;return-1}:i},52183:function(s,l,t){var r=t(72069),n=t(18565),e=t(44241),a=n("species");s.exports=function(o){return e>=51||!r(function(){var u=[],i=u.constructor={};return i[a]=function(){return{foo:1}},u[o](Boolean).foo!==1})}},6148:function(s,l,t){var r=t(72069);s.exports=function(n,e){var a=[][n];return!!a&&r(function(){a.call(null,e||function(){return 1},1)})}},97264:function(s,l,t){var r=t(85156),n=t(49671),e=t(72181),a=t(82628),o=TypeError,u="Reduce of empty array with no initial value",i=function(v){return function(f,c,d,h){var g=n(f),p=e(g),y=a(g);if(r(c),y===0&&d<2)throw new o(u);var m=v?y-1:0,I=v?-1:1;if(d<2)for(;;){if(m in p){h=p[m],m+=I;break}if(m+=I,v?m<0:y<=m)throw new o(u)}for(;v?m>=0:y>m;m+=I)m in p&&(h=c(h,p[m],m,g));return h}};s.exports={left:i(!1),right:i(!0)}},2213:function(s,l,t){var r=t(92986),n=t(3438),e=TypeError,a=Object.getOwnPropertyDescriptor,o=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}}();s.exports=o?function(u,i){if(n(u)&&!a(u,"length").writable)throw new e("Cannot set read only .length");return u.length=i}:function(u,i){return u.length=i}},22806:function(s,l,t){var r=t(11286);s.exports=r([].slice)},13270:function(s,l,t){var r=t(22806),n=Math.floor,e=function(a,o){var u=a.length;if(u<8)for(var i=1,v,f;i<u;){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 c=n(u/2),d=e(r(a,0,c),o),h=e(r(a,c),o),g=d.length,p=h.length,y=0,m=0;y<g||m<p;)a[y+m]=y<g&&m<p?o(d[y],h[m])<=0?d[y++]:h[m++]:y<g?d[y++]:h[m++];return a};s.exports=e},37555:function(s,l,t){var r=t(3438),n=t(11051),e=t(37540),a=t(18565),o=a("species"),u=Array;s.exports=function(i){var v;return r(i)&&(v=i.constructor,n(v)&&(v===u||r(v.prototype))?v=void 0:e(v)&&(v=v[o],v===null&&(v=void 0))),v===void 0?u:v}},62083:function(s,l,t){var r=t(37555);s.exports=function(n,e){return new(r(n))(e===0?0:e)}},61638:function(s,l,t){var r=t(82628);s.exports=function(n,e){for(var a=r(n),o=new e(a),u=0;u<a;u++)o[u]=n[a-u-1];return o}},72302:function(s,l,t){var r=t(82628),n=t(12105),e=RangeError;s.exports=function(a,o,u,i){var v=r(a),f=n(u),c=f<0?v+f:f;if(c>=v||c<0)throw new e("Incorrect index");for(var d=new o(v),h=0;h<v;h++)d[h]=h===c?i:a[h];return d}},6210:function(s){var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=l+"+/",r=l+"-_",n=function(e){for(var a={},o=0;o<64;o++)a[e.charAt(o)]=o;return a};s.exports={i2c:t,c2i:n(t),i2cUrl:r,c2iUrl:n(r)}},39969:function(s,l,t){var r=t(25001),n=t(99797);s.exports=function(e,a,o,u){try{return u?a(r(o)[0],o[1]):a(o)}catch(i){n(e,"throw",i)}}},97494:function(s,l,t){var r=t(18565),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(u){}s.exports=function(u,i){try{if(!i&&!e)return!1}catch(c){return!1}var v=!1;try{var f={};f[n]=function(){return{next:function(){return{done:v=!0}}}},u(f)}catch(c){}return v}},14274:function(s,l,t){var r=t(11286),n=r({}.toString),e=r("".slice);s.exports=function(a){return e(n(a),8,-1)}},9205:function(s,l,t){var r=t(67878),n=t(23583),e=t(14274),a=t(18565),o=a("toStringTag"),u=Object,i=e(function(){return arguments}())==="Arguments",v=function(f,c){try{return f[c]}catch(d){}};s.exports=r?e:function(f){var c,d,h;return f===void 0?"Undefined":f===null?"Null":typeof(d=v(c=u(f),o))=="string"?d:i?e(c):(h=e(c))==="Object"&&n(c.callee)?"Arguments":h}},34440:function(s,l,t){var r=t(5406),n=t(85500),e=t(2725),a=t(45526),o=t(12833),u=t(5683),i=t(55902),v=t(10218),f=t(10659),c=t(36167),d=t(92986),h=t(31853).fastKey,g=t(82367),p=g.set,y=g.getterFor;s.exports={getConstructor:function(m,I,x,S){var T=m(function(P,N){o(P,E),p(P,{type:I,index:r(null),first:null,last:null,size:0}),d||(P.size=0),u(N)||i(N,P[S],{that:P,AS_ENTRIES:x})}),E=T.prototype,O=y(I),A=function(P,N,$){var U=O(P),D=C(P,N),F,L;return D?D.value=$:(U.last=D={index:L=h(N,!0),key:N,value:$,previous:F=U.last,next:null,removed:!1},U.first||(U.first=D),F&&(F.next=D),d?U.size++:P.size++,L!=="F"&&(U.index[L]=D)),P},C=function(P,N){var $=O(P),U=h(N),D;if(U!=="F")return $.index[U];for(D=$.first;D;D=D.next)if(D.key===N)return D};return e(E,{clear:function(){for(var N=this,$=O(N),U=$.first;U;)U.removed=!0,U.previous&&(U.previous=U.previous.next=null),U=U.next;$.first=$.last=null,$.index=r(null),d?$.size=0:N.size=0},delete:function(P){var N=this,$=O(N),U=C(N,P);if(U){var D=U.next,F=U.previous;delete $.index[U.index],U.removed=!0,F&&(F.next=D),D&&(D.previous=F),$.first===U&&($.first=D),$.last===U&&($.last=F),d?$.size--:N.size--}return!!U},forEach:function(N){for(var $=O(this),U=a(N,arguments.length>1?arguments[1]:void 0),D;D=D?D.next:$.first;)for(U(D.value,D.key,this);D&&D.removed;)D=D.previous},has:function(N){return!!C(this,N)}}),e(E,x?{get:function(N){var $=C(this,N);return $&&$.value},set:function(N,$){return A(this,N===0?0:N,$)}}:{add:function(N){return A(this,N=N===0?0:N,N)}}),d&&n(E,"size",{configurable:!0,get:function(){return O(this).size}}),T},setStrong:function(m,I,x){var S=I+" Iterator",T=y(I),E=y(S);v(m,I,function(O,A){p(this,{type:S,target:O,state:T(O),kind:A,last:null})},function(){for(var O=E(this),A=O.kind,C=O.last;C&&C.removed;)C=C.previous;return!O.target||!(O.last=C=C?C.next:O.state.first)?(O.target=null,f(void 0,!0)):f(A==="keys"?C.key:A==="values"?C.value:[C.key,C.value],!1)},x?"entries":"values",!x,!0),c(I)}}},94667:function(s,l,t){var r=t(11286),n=t(2725),e=t(31853).getWeakData,a=t(12833),o=t(25001),u=t(5683),i=t(37540),v=t(55902),f=t(66655),c=t(94879),d=t(82367),h=d.set,g=d.getterFor,p=f.find,y=f.findIndex,m=r([].splice),I=0,x=function(E){return E.frozen||(E.frozen=new S)},S=function(){this.entries=[]},T=function(E,O){return p(E.entries,function(A){return A[0]===O})};S.prototype={get:function(E){var O=T(this,E);if(O)return O[1]},has:function(E){return!!T(this,E)},set:function(E,O){var A=T(this,E);A?A[1]=O:this.entries.push([E,O])},delete:function(E){var O=y(this.entries,function(A){return A[0]===E});return~O&&m(this.entries,O,1),!!~O}},s.exports={getConstructor:function(E,O,A,C){var P=E(function(D,F){a(D,N),h(D,{type:O,id:I++,frozen:null}),u(F)||v(F,D[C],{that:D,AS_ENTRIES:A})}),N=P.prototype,$=g(O),U=function(D,F,L){var j=$(D),W=e(o(F),!0);return W===!0?x(j).set(F,L):W[j.id]=L,D};return n(N,{delete:function(D){var F=$(this);if(!i(D))return!1;var L=e(D);return L===!0?x(F).delete(D):L&&c(L,F.id)&&delete L[F.id]},has:function(F){var L=$(this);if(!i(F))return!1;var j=e(F);return j===!0?x(L).has(F):j&&c(j,L.id)}}),n(N,A?{get:function(F){var L=$(this);if(i(F)){var j=e(F);if(j===!0)return x(L).get(F);if(j)return j[L.id]}},set:function(F,L){return U(this,F,L)}}:{add:function(F){return U(this,F,!0)}}),P}}},89378:function(s,l,t){var r=t(14304),n=t(34246),e=t(11286),a=t(13278),o=t(16142),u=t(31853),i=t(55902),v=t(12833),f=t(23583),c=t(5683),d=t(37540),h=t(72069),g=t(97494),p=t(78401),y=t(32345);s.exports=function(m,I,x){var S=m.indexOf("Map")!==-1,T=m.indexOf("Weak")!==-1,E=S?"set":"add",O=n[m],A=O&&O.prototype,C=O,P={},N=function(W){var b=e(A[W]);o(A,W,W==="add"?function(z){return b(this,z===0?0:z),this}:W==="delete"?function(K){return T&&!d(K)?!1:b(this,K===0?0:K)}:W==="get"?function(z){return T&&!d(z)?void 0:b(this,z===0?0:z)}:W==="has"?function(z){return T&&!d(z)?!1:b(this,z===0?0:z)}:function(z,it){return b(this,z===0?0:z,it),this})},$=a(m,!f(O)||!(T||A.forEach&&!h(function(){new O().entries().next()})));if($)C=x.getConstructor(I,m,S,E),u.enable();else if(a(m,!0)){var U=new C,D=U[E](T?{}:-0,1)!==U,F=h(function(){U.has(1)}),L=g(function(W){new O(W)}),j=!T&&h(function(){for(var W=new O,b=5;b--;)W[E](b,b);return!W.has(-0)});L||(C=I(function(W,b){v(W,A);var K=y(new O,W,C);return c(b)||i(b,K[E],{that:K,AS_ENTRIES:S}),K}),C.prototype=A,A.constructor=C),(F||j)&&(N("delete"),N("has"),S&&N("get")),(j||D)&&N(E),T&&A.clear&&delete A.clear}return P[m]=C,r({global:!0,constructor:!0,forced:C!==O},P),p(C,m),T||x.setStrong(C,m,S),C}},93706:function(s,l,t){var r=t(94879),n=t(16885),e=t(71349),a=t(7831);s.exports=function(o,u,i){for(var v=n(u),f=a.f,c=e.f,d=0;d<v.length;d++){var h=v[d];!r(o,h)&&!(i&&r(i,h))&&f(o,h,c(u,h))}}},8790:function(s,l,t){var r=t(18565),n=r("match");s.exports=function(e){var a=/./;try{"/./"[e](a)}catch(o){try{return a[n]=!1,"/./"[e](a)}catch(u){}}return!1}},87501:function(s,l,t){var r=t(72069);s.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype})},68422:function(s,l,t){var r=t(11286),n=t(2068),e=t(17361),a=/"/g,o=r("".replace);s.exports=function(u,i,v,f){var c=e(n(u)),d="<"+i;return v!==""&&(d+=" "+v+'="'+o(e(f),a,"&quot;")+'"'),d+">"+c+"</"+i+">"}},10659:function(s){s.exports=function(l,t){return{value:l,done:t}}},90809:function(s,l,t){var r=t(92986),n=t(7831),e=t(18526);s.exports=r?function(a,o,u){return n.f(a,o,e(1,u))}:function(a,o,u){return a[o]=u,a}},18526:function(s){s.exports=function(l,t){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:t}}},84082:function(s,l,t){var r=t(92986),n=t(7831),e=t(18526);s.exports=function(a,o,u){r?n.f(a,o,e(0,u)):a[o]=u}},11890:function(s,l,t){var r=t(11286),n=t(72069),e=t(61607).start,a=RangeError,o=isFinite,u=Math.abs,i=Date.prototype,v=i.toISOString,f=r(i.getTime),c=r(i.getUTCDate),d=r(i.getUTCFullYear),h=r(i.getUTCHours),g=r(i.getUTCMilliseconds),p=r(i.getUTCMinutes),y=r(i.getUTCMonth),m=r(i.getUTCSeconds);s.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 x=this,S=d(x),T=g(x),E=S<0?"-":S>9999?"+":"";return E+e(u(S),E?6:4,0)+"-"+e(y(x)+1,2,0)+"-"+e(c(x),2,0)+"T"+e(h(x),2,0)+":"+e(p(x),2,0)+":"+e(m(x),2,0)+"."+e(T,3,0)+"Z"}:v},84306:function(s,l,t){var r=t(25001),n=t(2064),e=TypeError;s.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)}},85500:function(s,l,t){var r=t(13749),n=t(7831);s.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)}},16142:function(s,l,t){var r=t(23583),n=t(7831),e=t(13749),a=t(36003);s.exports=function(o,u,i,v){v||(v={});var f=v.enumerable,c=v.name!==void 0?v.name:u;if(r(i)&&e(i,c,v),v.global)f?o[u]=i:a(u,i);else{try{v.unsafe?o[u]&&(f=!0):delete o[u]}catch(d){}f?o[u]=i:n.f(o,u,{value:i,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return o}},2725:function(s,l,t){var r=t(16142);s.exports=function(n,e,a){for(var o in e)r(n,o,e[o],a);return n}},36003:function(s,l,t){var r=t(34246),n=Object.defineProperty;s.exports=function(e,a){try{n(r,e,{value:a,configurable:!0,writable:!0})}catch(o){r[e]=a}return a}},12384:function(s,l,t){var r=t(82453),n=TypeError;s.exports=function(e,a){if(!delete e[a])throw new n("Cannot delete property "+r(a)+" of "+r(e))}},92986:function(s,l,t){var r=t(72069);s.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},63741:function(s,l,t){var r=t(34246),n=t(81191),e=t(99050),a=r.structuredClone,o=r.ArrayBuffer,u=r.MessageChannel,i=!1,v,f,c,d;if(e)i=function(h){a(h,{transfer:[h]})};else if(o)try{u||(v=n("worker_threads"),v&&(u=v.MessageChannel)),u&&(f=new u,c=new o(2),d=function(h){f.port1.postMessage(null,[h])},c.byteLength===2&&(d(c),c.byteLength===0&&(i=d)))}catch(h){}s.exports=i},85501:function(s,l,t){var r=t(34246),n=t(37540),e=r.document,a=n(e)&&n(e.createElement);s.exports=function(o){return a?e.createElement(o):{}}},20095:function(s){var l=TypeError,t=9007199254740991;s.exports=function(r){if(r>t)throw l("Maximum allowed index exceeded");return r}},74408:function(s){s.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}}},93014:function(s){s.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}},39882:function(s,l,t){var r=t(85501),n=r("span").classList,e=n&&n.constructor&&n.constructor.prototype;s.exports=e===Object.prototype?void 0:e},75785:function(s){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},507:function(s,l,t){var r=t(18257),n=r.match(/firefox\/(\d+)/i);s.exports=!!n&&+n[1]},17417:function(s,l,t){var r=t(18257);s.exports=/MSIE|Trident/.test(r)},7307:function(s,l,t){var r=t(18257);s.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},5286:function(s,l,t){var r=t(18257);s.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},91707:function(s,l,t){var r=t(21501);s.exports=r==="NODE"},67722:function(s,l,t){var r=t(18257);s.exports=/web0s(?!.*chrome)/i.test(r)},18257:function(s,l,t){var r=t(34246),n=r.navigator,e=n&&n.userAgent;s.exports=e?String(e):""},44241:function(s,l,t){var r=t(34246),n=t(18257),e=r.process,a=r.Deno,o=e&&e.versions||a&&a.version,u=o&&o.v8,i,v;u&&(i=u.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]))),s.exports=v},66577:function(s,l,t){var r=t(18257),n=r.match(/AppleWebKit\/(\d+)\./);s.exports=!!n&&+n[1]},21501:function(s,l,t){var r=t(34246),n=t(18257),e=t(14274),a=function(o){return n.slice(0,o.length)===o};s.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"}()},40851:function(s,l,t){var r=t(11286),n=Error,e=r("".replace),a=function(i){return String(new n(i).stack)}("zxcasd"),o=/\n\s*at [^:]*:[^\n]*/,u=o.test(a);s.exports=function(i,v){if(u&&typeof i=="string"&&!n.prepareStackTrace)for(;v--;)i=e(i,o,"");return i}},97077:function(s,l,t){var r=t(90809),n=t(40851),e=t(16929),a=Error.captureStackTrace;s.exports=function(o,u,i,v){e&&(a?a(o,u):r(o,"stack",n(i,v)))}},16929:function(s,l,t){var r=t(72069),n=t(18526);s.exports=!r(function(){var e=new Error("a");return"stack"in e?(Object.defineProperty(e,"stack",n(1,7)),e.stack!==7):!0})},58434:function(s,l,t){var r=t(92986),n=t(72069),e=t(25001),a=t(15453),o=Error.prototype.toString,u=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"});s.exports=u?function(){var v=e(this),f=a(v.name,"Error"),c=a(v.message);return f?c?f+": "+c:f:c}:o},14304:function(s,l,t){var r=t(34246),n=t(71349).f,e=t(90809),a=t(16142),o=t(36003),u=t(93706),i=t(13278);s.exports=function(v,f){var c=v.target,d=v.global,h=v.stat,g,p,y,m,I,x;if(d?p=r:h?p=r[c]||o(c,{}):p=r[c]&&r[c].prototype,p)for(y in f){if(I=f[y],v.dontCallGetSet?(x=n(p,y),m=x&&x.value):m=p[y],g=i(d?y:c+(h?".":"#")+y,v.forced),!g&&m!==void 0){if(typeof I==typeof m)continue;u(I,m)}(v.sham||m&&m.sham)&&e(I,"sham",!0),a(p,y,I,v)}}},72069:function(s){s.exports=function(l){try{return!!l()}catch(t){return!0}}},63194:function(s,l,t){t(31145);var r=t(96499),n=t(16142),e=t(44381),a=t(72069),o=t(18565),u=t(90809),i=o("species"),v=RegExp.prototype;s.exports=function(f,c,d,h){var g=o(f),p=!a(function(){var x={};return x[g]=function(){return 7},""[f](x)!==7}),y=p&&!a(function(){var x=!1,S=/a/;return f==="split"&&(S={},S.constructor={},S.constructor[i]=function(){return S},S.flags="",S[g]=/./[g]),S.exec=function(){return x=!0,null},S[g](""),!x});if(!p||!y||d){var m=/./[g],I=c(g,""[f],function(x,S,T,E,O){var A=S.exec;return A===e||A===v.exec?p&&!O?{done:!0,value:r(m,S,T,E)}:{done:!0,value:r(x,T,S,E)}:{done:!1}});n(String.prototype,f,I[0]),n(v,g,I[1])}h&&u(v[g],"sham",!0)}},53149:function(s,l,t){var r=t(3438),n=t(82628),e=t(20095),a=t(45526),o=function(u,i,v,f,c,d,h,g){for(var p=c,y=0,m=h?a(h,g):!1,I,x;y<f;)y in v&&(I=m?m(v[y],y,i):v[y],d>0&&r(I)?(x=n(I),p=o(u,i,I,x,p,d-1)-1):(e(p+1),u[p]=I),p++),y++;return p};s.exports=o},27534:function(s,l,t){var r=t(72069);s.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},66543:function(s,l,t){var r=t(87878),n=Function.prototype,e=n.apply,a=n.call;s.exports=typeof Reflect=="object"&&Reflect.apply||(r?a.bind(e):function(){return a.apply(e,arguments)})},45526:function(s,l,t){var r=t(77422),n=t(85156),e=t(87878),a=r(r.bind);s.exports=function(o,u){return n(o),u===void 0?o:e?a(o,u):function(){return o.apply(u,arguments)}}},87878:function(s,l,t){var r=t(72069);s.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},91384:function(s,l,t){var r=t(11286),n=t(85156),e=t(37540),a=t(94879),o=t(22806),u=t(87878),i=Function,v=r([].concat),f=r([].join),c={},d=function(h,g,p){if(!a(c,g)){for(var y=[],m=0;m<g;m++)y[m]="a["+m+"]";c[g]=i("C,a","return new C("+f(y,",")+")")}return c[g](h,p)};s.exports=u?i.bind:function(g){var p=n(this),y=p.prototype,m=o(arguments,1),I=function(){var S=v(m,o(arguments));return this instanceof I?d(p,S.length,S):p.apply(g,S)};return e(y)&&(I.prototype=y),I}},96499:function(s,l,t){var r=t(87878),n=Function.prototype.call;s.exports=r?n.bind(n):function(){return n.apply(n,arguments)}},86588:function(s,l,t){var r=t(92986),n=t(94879),e=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,o=n(e,"name"),u=o&&function(){}.name==="something",i=o&&(!r||r&&a(e,"name").configurable);s.exports={EXISTS:o,PROPER:u,CONFIGURABLE:i}},84756:function(s,l,t){var r=t(11286),n=t(85156);s.exports=function(e,a,o){try{return r(n(Object.getOwnPropertyDescriptor(e,a)[o]))}catch(u){}}},77422:function(s,l,t){var r=t(14274),n=t(11286);s.exports=function(e){if(r(e)==="Function")return n(e)}},11286:function(s,l,t){var r=t(87878),n=Function.prototype,e=n.call,a=r&&n.bind.bind(e,e);s.exports=r?a:function(o){return function(){return e.apply(o,arguments)}}},81191:function(s,l,t){var r=t(34246),n=t(91707);s.exports=function(e){if(n){try{return r.process.getBuiltinModule(e)}catch(a){}try{return Function('return require("'+e+'")')()}catch(a){}}}},65470:function(s,l,t){var r=t(34246);s.exports=function(n,e){var a=r[n],o=a&&a.prototype;return o&&o[e]}},38941:function(s,l,t){var r=t(34246),n=t(23583),e=function(a){return n(a)?a:void 0};s.exports=function(a,o){return arguments.length<2?e(r[a]):r[a]&&r[a][o]}},10613:function(s){s.exports=function(l){return{iterator:l,next:l.next,done:!1}}},12124:function(s,l,t){var r=t(96499),n=t(25001),e=t(10613),a=t(81077);s.exports=function(o,u){(!u||typeof o!="string")&&n(o);var i=a(o);return e(n(i!==void 0?r(i,o):o))}},81077:function(s,l,t){var r=t(9205),n=t(10512),e=t(5683),a=t(29107),o=t(18565),u=o("iterator");s.exports=function(i){if(!e(i))return n(i,u)||n(i,"@@iterator")||a[r(i)]}},90619:function(s,l,t){var r=t(96499),n=t(85156),e=t(25001),a=t(82453),o=t(81077),u=TypeError;s.exports=function(i,v){var f=arguments.length<2?o(i):v;if(n(f))return e(r(f,i));throw new u(a(i)+" is not iterable")}},10443:function(s,l,t){var r=t(11286),n=t(3438),e=t(23583),a=t(14274),o=t(17361),u=r([].push);s.exports=function(i){if(e(i))return i;if(n(i)){for(var v=i.length,f=[],c=0;c<v;c++){var d=i[c];typeof d=="string"?u(f,d):(typeof d=="number"||a(d)==="Number"||a(d)==="String")&&u(f,o(d))}var h=f.length,g=!0;return function(p,y){if(g)return g=!1,y;if(n(this))return y;for(var m=0;m<h;m++)if(f[m]===p)return y}}}},10512:function(s,l,t){var r=t(85156),n=t(5683);s.exports=function(e,a){var o=e[a];return n(o)?void 0:r(o)}},65263:function(s,l,t){var r=t(85156),n=t(25001),e=t(96499),a=t(12105),o=t(10613),u="Invalid size",i=RangeError,v=TypeError,f=Math.max,c=function(d,h){this.set=d,this.size=f(h,0),this.has=r(d.has),this.keys=r(d.keys)};c.prototype={getIterator:function(){return o(n(e(this.keys,this.set)))},includes:function(d){return e(this.has,this.set,d)}},s.exports=function(d){n(d);var h=+d.size;if(h!==h)throw new v(u);var g=a(h);if(g<0)throw new i(u);return new c(d,g)}},38368:function(s,l,t){var r=t(11286),n=t(49671),e=Math.floor,a=r("".charAt),o=r("".replace),u=r("".slice),i=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,v=/\$([$&'`]|\d{1,2})/g;s.exports=function(f,c,d,h,g,p){var y=d+f.length,m=h.length,I=v;return g!==void 0&&(g=n(g),I=i),o(p,I,function(x,S){var T;switch(a(S,0)){case"$":return"$";case"&":return f;case"`":return u(c,0,d);case"'":return u(c,y);case"<":T=g[u(S,1,-1)];break;default:var E=+S;if(E===0)return x;if(E>m){var O=e(E/10);return O===0?x:O<=m?h[O-1]===void 0?a(S,1):h[O-1]+a(S,1):x}T=h[E-1]}return T===void 0?"":T})}},34246:function(s){var l=function(t){return t&&t.Math===Math&&t};s.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof global=="object"&&global)||l(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},94879:function(s,l,t){var r=t(11286),n=t(49671),e=r({}.hasOwnProperty);s.exports=Object.hasOwn||function(o,u){return e(n(o),u)}},19423:function(s){s.exports={}},99095:function(s){s.exports=function(l,t){try{arguments.length===1?console.error(l):console.error(l,t)}catch(r){}}},96439:function(s,l,t){var r=t(38941);s.exports=r("document","documentElement")},52515:function(s,l,t){var r=t(92986),n=t(72069),e=t(85501);s.exports=!r&&!n(function(){return Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a!==7})},25212:function(s){var l=Array,t=Math.abs,r=Math.pow,n=Math.floor,e=Math.log,a=Math.LN2,o=function(i,v,f){var c=l(f),d=f*8-v-1,h=(1<<d)-1,g=h>>1,p=v===23?r(2,-24)-r(2,-77):0,y=i<0||i===0&&1/i<0?1:0,m=0,I,x,S;for(i=t(i),i!==i||i===1/0?(x=i!==i?1:0,I=h):(I=n(e(i)/a),S=r(2,-I),i*S<1&&(I--,S*=2),I+g>=1?i+=p/S:i+=p*r(2,1-g),i*S>=2&&(I++,S/=2),I+g>=h?(x=0,I=h):I+g>=1?(x=(i*S-1)*r(2,v),I+=g):(x=i*r(2,g-1)*r(2,v),I=0));v>=8;)c[m++]=x&255,x/=256,v-=8;for(I=I<<v|x,d+=v;d>0;)c[m++]=I&255,I/=256,d-=8;return c[m-1]|=y*128,c},u=function(i,v){var f=i.length,c=f*8-v-1,d=(1<<c)-1,h=d>>1,g=c-7,p=f-1,y=i[p--],m=y&127,I;for(y>>=7;g>0;)m=m*256+i[p--],g-=8;for(I=m&(1<<-g)-1,m>>=-g,g+=v;g>0;)I=I*256+i[p--],g-=8;if(m===0)m=1-h;else{if(m===d)return I?NaN:y?-1/0:1/0;I+=r(2,v),m-=h}return(y?-1:1)*I*r(2,m-v)};s.exports={pack:o,unpack:u}},72181:function(s,l,t){var r=t(11286),n=t(72069),e=t(14274),a=Object,o=r("".split);s.exports=n(function(){