dataframe-js
Version:
Immutable and functional data structure for datascientists and developpers
1 lines • 95.8 kB
JavaScript
var dfjs=function(t){"use strict";var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t,n){return t(n={exports:{}},n.exports),n.exports}function r(t){return t&&t.Math==Math&&t}function d(t){try{return!!t()}catch(t){return!0}}function g(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}function o(t){return j.call(t).slice(8,-1)}function l(t){if(null==t)throw TypeError("Can't call method on "+t);return t}function f(t){return A(l(t))}function m(t){return"object"==typeof t?null!==t:"function"==typeof t}function s(t,n){if(!m(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!m(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!m(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!m(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")}function h(t,n){return I.call(t,n)}function i(t){return N?T.createElement(t):{}}function k(t){if(!m(t))throw TypeError(String(t)+" is not an object");return t}function v(n,e){try{D(b,n,e)}catch(t){b[n]=e}return e}function a(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++U+z).toString(36)}function u(t){return q[t]||(q[t]=a(t))}var c,p,y,w="object",b=r(typeof globalThis==w&&globalThis)||r(typeof window==w&&window)||r(typeof self==w&&self)||r(typeof n==w&&n)||Function("return this")(),S=!d(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),O={}.propertyIsEnumerable,_=Object.getOwnPropertyDescriptor,x={f:_&&!O.call({1:2},1)?function(t){var n=_(this,t);return!!n&&n.enumerable}:O},j={}.toString,E="".split,A=d(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?E.call(t,""):Object(t)}:Object,I={}.hasOwnProperty,T=b.document,N=m(T)&&m(T.createElement),R=!S&&!d(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}),C=Object.getOwnPropertyDescriptor,P={f:S?C:function(t,n){if(t=f(t),n=s(n,!0),R)try{return C(t,n)}catch(t){}if(h(t,n))return g(!x.f.call(t,n),t[n])}},L=Object.defineProperty,F={f:S?L:function(t,n,e){if(k(t),n=s(n,!0),k(e),R)try{return L(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},D=S?function(t,n,e){return F.f(t,n,g(1,e))}:function(t,n,e){return t[n]=e,t},M=e(function(t){var n="__core-js_shared__",e=b[n]||v(n,{});(t.exports=function(t,n){return e[t]||(e[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.1.3",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),J=M("native-function-to-string",Function.toString),V=b.WeakMap,G="function"==typeof V&&/native code/.test(J.call(V)),U=0,z=Math.random(),q=M("keys"),B={},H=b.WeakMap;if(G){var Y=new H,$=Y.get,W=Y.has,K=Y.set;c=function(t,n){return K.call(Y,t,n),n},p=function(t){return $.call(Y,t)||{}},y=function(t){return W.call(Y,t)}}else{var Q=u("state");B[Q]=!0,c=function(t,n){return D(t,Q,n),n},p=function(t){return h(t,Q)?t[Q]:{}},y=function(t){return h(t,Q)}}function X(t){return"function"==typeof t?t:void 0}function Z(t,n){return arguments.length<2?X(ht[t])||X(b[t]):ht[t]&&ht[t][n]||b[t]&&b[t][n]}function tt(t){return isNaN(t=+t)?0:(0<t?pt:vt)(t)}function nt(t){return 0<t?yt(tt(t),9007199254740991):0}function et(t,n){var e=tt(t);return e<0?dt(e+n,0):gt(e,n)}function rt(a){return function(t,n,e){var r,o=f(t),i=nt(o.length),u=et(e,i);if(a&&n!=n){for(;u<i;)if((r=o[u++])!=r)return!0}else for(;u<i;u++)if((a||u in o)&&o[u]===n)return a||u||0;return!a&&-1}}function ot(t,n){var e,r=f(t),o=0,i=[];for(e in r)!h(B,e)&&h(r,e)&&i.push(e);for(;n.length>o;)h(r,e=n[o++])&&(~wt(i,e)||i.push(e));return i}function it(t,n){for(var e=kt(n),r=F.f,o=P.f,i=0;i<e.length;i++){var u=e[i];h(t,u)||r(t,u,o(n,u))}}function ut(t,n){var e=Et[jt(t)];return e==It||e!=At&&("function"==typeof n?d(n):!!n)}function at(t,n){var e,r,o,i,u,a=t.target,c=t.global,f=t.stat;if(e=c?b:f?b[a]||v(a,{}):(b[a]||{}).prototype)for(r in n){if(i=n[r],o=t.noTargetGet?(u=Nt(e,r))&&u.value:e[r],!Tt(c?r:a+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;it(i,o)}(t.sham||o&&o.sham)&&D(i,"sham",!0),lt(e,r,i,t)}}function ct(t){return Object(l(t))}function ft(){}var st={set:c,get:p,has:y,enforce:function(t){return y(t)?p(t):c(t,{})},getterFor:function(e){return function(t){var n;if(!m(t)||(n=p(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},lt=e(function(t){var n=st.get,a=st.enforce,c=String(J).split("toString");M("inspectSource",function(t){return J.call(t)}),(t.exports=function(t,n,e,r){var o=!!r&&!!r.unsafe,i=!!r&&!!r.enumerable,u=!!r&&!!r.noTargetGet;"function"==typeof e&&("string"!=typeof n||h(e,"name")||D(e,"name",n),a(e).source=c.join("string"==typeof n?n:"")),t!==b?(o?!u&&t[n]&&(i=!0):delete t[n],i?t[n]=e:D(t,n,e)):i?t[n]=e:v(n,e)})(Function.prototype,"toString",function(){return"function"==typeof this&&n(this).source||J.call(this)})}),ht=b,vt=Math.ceil,pt=Math.floor,yt=Math.min,dt=Math.max,gt=Math.min,mt={includes:rt(!0),indexOf:rt(!1)},wt=mt.indexOf,bt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],St=bt.concat("length","prototype"),Ot={f:Object.getOwnPropertyNames||function(t){return ot(t,St)}},_t={f:Object.getOwnPropertySymbols},kt=Z("Reflect","ownKeys")||function(t){var n=Ot.f(k(t)),e=_t.f;return e?n.concat(e(t)):n},xt=/#|\.prototype\./,jt=ut.normalize=function(t){return String(t).replace(xt,".").toLowerCase()},Et=ut.data={},At=ut.NATIVE="N",It=ut.POLYFILL="P",Tt=ut,Nt=P.f,Rt=!!Object.getOwnPropertySymbols&&!d(function(){return!String(Symbol())}),Ct=Array.isArray||function(t){return"Array"==o(t)},Pt=Object.keys||function(t){return ot(t,bt)},Lt=S?Object.defineProperties:function(t,n){k(t);for(var e,r=Pt(n),o=r.length,i=0;i<o;)F.f(t,e=r[i++],n[e]);return t},Ft=Z("document","documentElement"),Dt=u("IE_PROTO"),Mt="prototype",Jt=function(){var t,n=i("iframe"),e=bt.length,r="script";for(n.style.display="none",Ft.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write("<script>document.F=Object</"+r+">"),t.close(),Jt=t.F;e--;)delete Jt[Mt][bt[e]];return Jt()},Vt=Object.create||function(t,n){var e;return null!==t?(ft[Mt]=k(t),e=new ft,ft[Mt]=null,e[Dt]=t):e=Jt(),void 0===n?e:Lt(e,n)};B[Dt]=!0;function Gt(t){return rn[t]||(rn[t]=Rt&&en[t]||(Rt?en:a)("Symbol."+t))}function Ut(t){var n=ht.Symbol||(ht.Symbol={});h(n,t)||un(n,t,{value:on.f(t)})}function zt(t,n,e){t&&!h(t=e?t:t.prototype,cn)&&an(t,cn,{configurable:!0,value:n})}function qt(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}function Bt(r,o,t){if(qt(r),void 0===o)return r;switch(t){case 0:return function(){return r.call(o)};case 1:return function(t){return r.call(o,t)};case 2:return function(t,n){return r.call(o,t,n)};case 3:return function(t,n,e){return r.call(o,t,n,e)}}return function(){return r.apply(o,arguments)}}function Ht(t,n){var e;return Ct(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!Ct(e.prototype)?m(e)&&null===(e=e[fn])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)}function Yt(v){var p=1==v,y=2==v,d=3==v,g=4==v,m=6==v,w=5==v||m;return function(t,n,e,r){for(var o,i,u=ct(t),a=A(u),c=Bt(n,e,3),f=nt(a.length),s=0,l=r||Ht,h=p?l(t,f):y?l(t,0):void 0;s<f;s++)if((w||s in a)&&(i=c(o=a[s],s,u),v))if(p)h[s]=i;else if(i)switch(v){case 3:return!0;case 5:return o;case 6:return s;case 2:sn.call(h,o)}else if(g)return!1;return m?-1:d||g?g:h}}function $t(t,n){var e=En[t]=Vt(bn[yn]);return gn(e,{type:pn,tag:t,description:n}),S||(e.description=n),e}function Wt(n,t){k(n);var e=f(t),r=Pt(e).concat(Mn(e));return hn(r,function(t){S&&!Dn.call(e,t)||Fn(n,t,e[t])}),n}function Kt(t,n){var e=f(t),r=s(n,!0);if(e!==wn||!h(En,r)||h(An,r)){var o=_n(e,r);return!o||!h(En,r)||h(e,vn)&&e[vn][r]||(o.enumerable=!0),o}}function Qt(t){var n=xn(f(t)),e=[];return hn(n,function(t){h(En,t)||h(B,t)||e.push(t)}),e}var Xt=Ot.f,Zt={}.toString,tn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],nn={f:function(t){return tn&&"[object Window]"==Zt.call(t)?function(t){try{return Xt(t)}catch(t){return tn.slice()}}(t):Xt(f(t))}},en=b.Symbol,rn=M("wks"),on={f:Gt},un=F.f,an=F.f,cn=Gt("toStringTag"),fn=Gt("species"),sn=[].push,ln={forEach:Yt(0),map:Yt(1),filter:Yt(2),some:Yt(3),every:Yt(4),find:Yt(5),findIndex:Yt(6)},hn=ln.forEach,vn=u("hidden"),pn="Symbol",yn="prototype",dn=Gt("toPrimitive"),gn=st.set,mn=st.getterFor(pn),wn=Object[yn],bn=b.Symbol,Sn=b.JSON,On=Sn&&Sn.stringify,_n=P.f,kn=F.f,xn=nn.f,jn=x.f,En=M("symbols"),An=M("op-symbols"),In=M("string-to-symbol-registry"),Tn=M("symbol-to-string-registry"),Nn=M("wks"),Rn=b.QObject,Cn=!Rn||!Rn[yn]||!Rn[yn].findChild,Pn=S&&d(function(){return 7!=Vt(kn({},"a",{get:function(){return kn(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=_n(wn,n);r&&delete wn[n],kn(t,n,e),r&&t!==wn&&kn(wn,n,r)}:kn,Ln=Rt&&"symbol"==typeof bn.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof bn},Fn=function(t,n,e){t===wn&&Fn(An,n,e),k(t);var r=s(n,!0);return k(e),h(En,r)?(e.enumerable?(h(t,vn)&&t[vn][r]&&(t[vn][r]=!1),e=Vt(e,{enumerable:g(0,!1)})):(h(t,vn)||kn(t,vn,g(1,{})),t[vn][r]=!0),Pn(t,r,e)):kn(t,r,e)},Dn=function(t){var n=s(t,!0),e=jn.call(this,n);return!(this===wn&&h(En,n)&&!h(An,n))&&(!(e||!h(this,n)||!h(En,n)||h(this,vn)&&this[vn][n])||e)},Mn=function(t){var n=t===wn,e=xn(n?An:f(t)),r=[];return hn(e,function(t){!h(En,t)||n&&!h(wn,t)||r.push(En[t])}),r};Rt||(lt((bn=function(t){if(this instanceof bn)throw TypeError("Symbol is not a constructor");var n=arguments.length&&void 0!==t?String(t):void 0,e=a(n),r=function(t){this===wn&&r.call(An,t),h(this,vn)&&h(this[vn],e)&&(this[vn][e]=!1),Pn(this,e,g(1,t))};return S&&Cn&&Pn(wn,e,{configurable:!0,set:r}),$t(e,n)})[yn],"toString",function(){return mn(this).tag}),x.f=Dn,F.f=Fn,P.f=Kt,Ot.f=nn.f=Qt,_t.f=Mn,S&&(kn(bn[yn],"description",{configurable:!0,get:function(){return mn(this).description}}),lt(wn,"propertyIsEnumerable",Dn,{unsafe:!0})),on.f=function(t){return $t(Gt(t),t)}),at({global:!0,wrap:!0,forced:!Rt,sham:!Rt},{Symbol:bn}),hn(Pt(Nn),function(t){Ut(t)}),at({target:pn,stat:!0,forced:!Rt},{for:function(t){var n=String(t);if(h(In,n))return In[n];var e=bn(n);return In[n]=e,Tn[e]=n,e},keyFor:function(t){if(!Ln(t))throw TypeError(t+" is not a symbol");if(h(Tn,t))return Tn[t]},useSetter:function(){Cn=!0},useSimple:function(){Cn=!1}}),at({target:"Object",stat:!0,forced:!Rt,sham:!S},{create:function(t,n){return void 0===n?Vt(t):Wt(Vt(t),n)},defineProperty:Fn,defineProperties:Wt,getOwnPropertyDescriptor:Kt}),at({target:"Object",stat:!0,forced:!Rt},{getOwnPropertyNames:Qt,getOwnPropertySymbols:Mn}),at({target:"Object",stat:!0,forced:d(function(){_t.f(1)})},{getOwnPropertySymbols:function(t){return _t.f(ct(t))}}),Sn&&at({target:"JSON",stat:!0,forced:!Rt||d(function(){var t=bn();return"[null]"!=On([t])||"{}"!=On({a:t})||"{}"!=On(Object(t))})},{stringify:function(t){for(var n,e,r=[t],o=1;o<arguments.length;)r.push(arguments[o++]);if(e=n=r[1],(m(n)||void 0!==t)&&!Ln(t))return Ct(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!Ln(n))return n}),r[1]=n,On.apply(Sn,r)}}),bn[yn][dn]||D(bn[yn],dn,bn[yn].valueOf),zt(bn,pn),B[vn]=!0;var Jn=F.f,Vn=b.Symbol;if(!(!S||"function"!=typeof Vn||"description"in Vn.prototype&&void 0===Vn().description)){var Gn={},Un=function(t){var n=arguments.length<1||void 0===t?void 0:String(t),e=this instanceof Un?new Vn(n):void 0===n?Vn():Vn(n);return""===n&&(Gn[e]=!0),e};it(Un,Vn);var zn=Un.prototype=Vn.prototype;zn.constructor=Un;var qn=zn.toString,Bn="Symbol(test)"==String(Vn("test")),Hn=/^Symbol\((.*)\)[^)]+$/;Jn(zn,"description",{configurable:!0,get:function(){var t=m(this)?this.valueOf():this,n=qn.call(t);if(h(Gn,t))return"";var e=Bn?n.slice(7,-1):n.replace(Hn,"$1");return""===e?void 0:e}}),at({global:!0,forced:!0},{Symbol:Un})}Ut("iterator");function Yn(t,n,e){var r=s(n);r in t?F.f(t,r,g(0,e)):t[r]=e}function $n(n){return!d(function(){var t=[];return(t.constructor={})[Kn]=function(){return{foo:1}},1!==t[n](Boolean).foo})}function Wn(t){if(!m(t))return!1;var n=t[Qn];return void 0!==n?!!n:Ct(t)}var Kn=Gt("species"),Qn=Gt("isConcatSpreadable"),Xn=9007199254740991,Zn="Maximum allowed index exceeded",te=!d(function(){var t=[];return t[Qn]=!1,t.concat()[0]!==t}),ne=$n("concat");at({target:"Array",proto:!0,forced:!te||!ne},{concat:function(t){var n,e,r,o,i,u=ct(this),a=Ht(u,0),c=0;for(n=-1,r=arguments.length;n<r;n++)if(Wn(i=-1===n?u:arguments[n])){if(o=nt(i.length),Xn<c+o)throw TypeError(Zn);for(e=0;e<o;e++,c++)e in i&&Yn(a,c,i[e])}else{if(Xn<=c)throw TypeError(Zn);Yn(a,c++,i)}return a.length=c,a}});var ee=ln.filter;at({target:"Array",proto:!0,forced:!$n("filter")},{filter:function(t,n){return ee(this,t,1<arguments.length?n:void 0)}});function re(t,n){var e=[][t];return!e||!d(function(){e.call(null,n||function(){throw 1},1)})}var oe=ln.forEach,ie=re("forEach")?function(t,n){return oe(this,t,1<arguments.length?n:void 0)}:[].forEach;at({target:"Array",proto:!0,forced:[].forEach!=ie},{forEach:ie});function ue(n,t,e,r){try{return r?t(k(e)[0],e[1]):t(e)}catch(t){var o=n.return;throw void 0!==o&&k(o.call(n)),t}}function ae(t){return void 0!==t&&(se.Array===t||he[le]===t)}function ce(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),ve))?e:pe?o(n):"Object"==(r=o(n))&&"function"==typeof n.callee?"Arguments":r}function fe(t){if(null!=t)return t[ye]||t["@@iterator"]||se[ce(t)]}var se={},le=Gt("iterator"),he=Array.prototype,ve=Gt("toStringTag"),pe="Arguments"==o(function(){return arguments}()),ye=Gt("iterator"),de=Gt("iterator"),ge=!1;try{var me=0;({next:function(){return{done:!!me++}},return:function(){ge=!0}})[de]=function(){return this}}catch(t){}function we(t,n){if(!n&&!ge)return!1;var e=!1;try{var r={};r[de]=function(){return{next:function(){return{done:e=!0}}}},t(r)}catch(t){}return e}var be=!we(function(t){});at({target:"Array",stat:!0,forced:be},{from:function(t,n,e){var r,o,i,u,a=ct(t),c="function"==typeof this?this:Array,f=arguments.length,s=1<f?n:void 0,l=void 0!==s,h=0,v=fe(a);if(l&&(s=Bt(s,2<f?e:void 0,2)),null==v||c==Array&&ae(v))for(o=new c(r=nt(a.length));h<r;h++)Yn(o,h,l?s(a[h],h):a[h]);else for(u=v.call(a),o=new c;!(i=u.next()).done;h++)Yn(o,h,l?ue(u,s,[i.value,h],!0):i.value);return o.length=h,o}});var Se=Gt("unscopables"),Oe=Array.prototype;null==Oe[Se]&&D(Oe,Se,Vt(null));function _e(t){Oe[Se][t]=!0}var ke=mt.includes;at({target:"Array",proto:!0},{includes:function(t,n){return ke(this,t,1<arguments.length?n:void 0)}}),_e("includes");var xe,je,Ee,Ae=!d(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Ie=u("IE_PROTO"),Te=Object.prototype,Ne=Ae?Object.getPrototypeOf:function(t){return t=ct(t),h(t,Ie)?t[Ie]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Te:null},Re=Gt("iterator"),Ce=!1;[].keys&&("next"in(Ee=[].keys())?(je=Ne(Ne(Ee)))!==Object.prototype&&(xe=je):Ce=!0),null==xe&&(xe={}),h(xe,Re)||D(xe,Re,function(){return this});function Pe(){return this}function Le(){return this}function Fe(t,n,e,r,o,i,u){function a(t){if(t===o&&y)return y;if(!Ge&&t in v)return v[t];switch(t){case"keys":case ze:case qe:return function(){return new e(this,t)}}return function(){return new e(this)}}!function(t,n,e){var r=n+" Iterator";t.prototype=Vt(Me,{next:g(1,e)}),zt(t,r,!1),se[r]=Pe}(e,n,r);var c,f,s,l=n+" Iterator",h=!1,v=t.prototype,p=v[Ue]||v["@@iterator"]||o&&v[o],y=!Ge&&p||a(o),d="Array"==n&&v.entries||p;if(d&&(c=Ne(d.call(new t)),Ve!==Object.prototype&&c.next&&(Ne(c)!==Ve&&(Je?Je(c,Ve):"function"!=typeof c[Ue]&&D(c,Ue,Le)),zt(c,l,!0))),o==ze&&p&&p.name!==ze&&(h=!0,y=function(){return p.call(this)}),v[Ue]!==y&&D(v,Ue,y),se[n]=y,o)if(f={values:a(ze),keys:i?y:a("keys"),entries:a(qe)},u)for(s in f)!Ge&&!h&&s in v||lt(v,s,f[s]);else at({target:n,proto:!0,forced:Ge||h},f);return f}var De={IteratorPrototype:xe,BUGGY_SAFARI_ITERATORS:Ce},Me=De.IteratorPrototype,Je=Object.setPrototypeOf||("__proto__"in{}?function(){var e,r=!1,t={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(t,[]),r=t instanceof Array}catch(t){}return function(t,n){return k(t),function(t){if(!m(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),r?e.call(t,n):t.__proto__=n,t}}():void 0),Ve=De.IteratorPrototype,Ge=De.BUGGY_SAFARI_ITERATORS,Ue=Gt("iterator"),ze="values",qe="entries",Be="Array Iterator",He=st.set,Ye=st.getterFor(Be),$e=Fe(Array,"Array",function(t,n){He(this,{type:Be,target:f(t),index:0,kind:n})},function(){var t=Ye(this),n=t.target,e=t.kind,r=t.index++;return!n||r>=n.length?{value:t.target=void 0,done:!0}:"keys"==e?{value:r,done:!1}:"values"==e?{value:n[r],done:!1}:{value:[r,n[r]],done:!1}},"values");se.Arguments=se.Array,_e("keys"),_e("values"),_e("entries");var We=[].join,Ke=A!=Object,Qe=re("join",",");at({target:"Array",proto:!0,forced:Ke||Qe},{join:function(t){return We.call(f(this),void 0===t?",":t)}});var Xe=ln.map;at({target:"Array",proto:!0,forced:!$n("map")},{map:function(t,n){return Xe(this,t,1<arguments.length?n:void 0)}});function Ze(f){return function(t,n,e,r){qt(n);var o=ct(t),i=A(o),u=nt(o.length),a=f?u-1:0,c=f?-1:1;if(e<2)for(;;){if(a in i){r=i[a],a+=c;break}if(a+=c,f?a<0:u<=a)throw TypeError("Reduce of empty array with no initial value")}for(;f?0<=a:a<u;a+=c)a in i&&(r=n(r,i[a],a,o));return r}}var tr={left:Ze(!1),right:Ze(!0)},nr=tr.left;at({target:"Array",proto:!0,forced:re("reduce")},{reduce:function(t,n){return nr(this,t,arguments.length,1<arguments.length?n:void 0)}});var er=tr.right;at({target:"Array",proto:!0,forced:re("reduceRight")},{reduceRight:function(t,n){return er(this,t,arguments.length,1<arguments.length?n:void 0)}});var rr=Gt("species"),or=[].slice,ir=Math.max;at({target:"Array",proto:!0,forced:!$n("slice")},{slice:function(t,n){var e,r,o,i=f(this),u=nt(i.length),a=et(t,u),c=et(void 0===n?u:n,u);if(Ct(i)&&("function"!=typeof(e=i.constructor)||e!==Array&&!Ct(e.prototype)?m(e)&&null===(e=e[rr])&&(e=void 0):e=void 0,e===Array||void 0===e))return or.call(i,a,c);for(r=new(void 0===e?Array:e)(ir(c-a,0)),o=0;a<c;a++,o++)a in i&&Yn(r,o,i[a]);return r.length=o,r}});var ur=[].sort,ar=[1,2,3],cr=d(function(){ar.sort(void 0)}),fr=d(function(){ar.sort(null)}),sr=re("sort");at({target:"Array",proto:!0,forced:cr||!fr||sr},{sort:function(t){return void 0===t?ur.call(ct(this)):ur.call(ct(this),qt(t))}});var lr=d(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})});at({target:"Date",proto:!0,forced:lr},{toJSON:function(t){var n=ct(this),e=s(n);return"number"!=typeof e||isFinite(e)?n.toISOString():null}});var hr=F.f,vr=Function.prototype,pr=vr.toString,yr=/^\s*function ([^ (]*)/;!S||"name"in vr||hr(vr,"name",{configurable:!0,get:function(){try{return pr.call(this).match(yr)[1]}catch(t){return""}}});var dr=Object.assign,gr=!dr||d(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=dr({},t)[e]||Pt(dr({},n)).join("")!=r})?function(t,n){for(var e=ct(t),r=arguments.length,o=1,i=_t.f,u=x.f;o<r;)for(var a,c=A(arguments[o++]),f=i?Pt(c).concat(i(c)):Pt(c),s=f.length,l=0;l<s;)a=f[l++],S&&!u.call(c,a)||(e[a]=c[a]);return e}:dr;at({target:"Object",stat:!0,forced:Object.assign!==gr},{assign:gr});function mr(a){return function(t){for(var n,e=f(t),r=Pt(e),o=r.length,i=0,u=[];i<o;)n=r[i++],S&&!wr.call(e,n)||u.push(a?[n,e[n]]:e[n]);return u}}var wr=x.f,br={entries:mr(!0),values:mr(!1)},Sr=br.entries;at({target:"Object",stat:!0},{entries:function(t){return Sr(t)}});var Or=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n};at({target:"Object",stat:!0},{is:Or});var _r=d(function(){Pt(1)});at({target:"Object",stat:!0,forced:_r},{keys:function(t){return Pt(ct(t))}});var kr={};kr[Gt("toStringTag")]="z";var xr="[object z]"!==String(kr)?function(){return"[object "+ce(this)+"]"}:kr.toString,jr=Object.prototype;xr!==jr.toString&<(jr,"toString",xr,{unsafe:!0});var Er=br.values;at({target:"Object",stat:!0},{values:function(t){return Er(t)}});function Ar(){var t=k(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}var Ir,Tr,Nr=RegExp.prototype.exec,Rr=String.prototype.replace,Cr=Nr,Pr=(Ir=/a/,Tr=/b*/g,Nr.call(Ir,"a"),Nr.call(Tr,"a"),0!==Ir.lastIndex||0!==Tr.lastIndex),Lr=void 0!==/()??/.exec("")[1];(Pr||Lr)&&(Cr=function(t){var n,e,r,o,i=this;return Lr&&(e=new RegExp("^"+i.source+"$(?!\\s)",Ar.call(i))),Pr&&(n=i.lastIndex),r=Nr.call(i,t),Pr&&r&&(i.lastIndex=i.global?r.index+r[0].length:n),Lr&&r&&1<r.length&&Rr.call(r[0],e,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)}),r});var Fr=Cr;at({target:"RegExp",proto:!0,forced:/./.exec!==Fr},{exec:Fr});function Dr(t,n,e){if(!(t instanceof n))throw TypeError("Incorrect "+(e?e+" ":"")+"invocation");return t}function Mr(t,n,e){var r,o;return Je&&"function"==typeof(r=n.constructor)&&r!==e&&m(o=r.prototype)&&o!==e.prototype&&Je(t,o),t}function Jr(t,n,e){for(var r in n)lt(t,r,n[r],e);return t}function Vr(t){var n=Z(t),e=F.f;S&&n&&!n[Br]&&e(n,Br,{configurable:!0,get:function(){return this}})}function Gr(t){var n;return m(t)&&(void 0!==(n=t[Kr])?!!n:"RegExp"==o(t))}var Ur=!d(function(){return Object.isExtensible(Object.preventExtensions({}))}),zr=e(function(t){function e(t){n(t,r,{value:{objectID:"O"+ ++o,weakData:{}}})}var n=F.f,r=a("meta"),o=0,i=Object.isExtensible||function(){return!0},u=t.exports={REQUIRED:!1,fastKey:function(t,n){if(!m(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!h(t,r)){if(!i(t))return"F";if(!n)return"E";e(t)}return t[r].objectID},getWeakData:function(t,n){if(!h(t,r)){if(!i(t))return!0;if(!n)return!1;e(t)}return t[r].weakData},onFreeze:function(t){return Ur&&u.REQUIRED&&i(t)&&!h(t,r)&&e(t),t}};B[r]=!0}),qr=(zr.REQUIRED,zr.fastKey,zr.getWeakData,zr.onFreeze,e(function(t){function h(t,n){this.stopped=t,this.result=n}(t.exports=function(t,n,e,r,o){var i,u,a,c,f,s,l=Bt(n,e,r?2:1);if(o)i=t;else{if("function"!=typeof(u=fe(t)))throw TypeError("Target is not iterable");if(ae(u)){for(a=0,c=nt(t.length);a<c;a++)if((f=r?l(k(s=t[a])[0],s[1]):l(t[a]))&&f instanceof h)return f;return new h(!1)}i=u.call(t)}for(;!(s=i.next()).done;)if((f=ue(i,l,s.value,r))&&f instanceof h)return f;return new h(!1)}).stop=function(t){return new h(!0,t)}})),Br=Gt("species"),Hr=F.f,Yr=zr.fastKey,$r=st.set,Wr=st.getterFor,Kr=(function(r,t,n,o,i){function e(t){var e=a[t];lt(a,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(i&&!m(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return i&&!m(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(i&&!m(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})}var u=b[r],a=u&&u.prototype,c=u,f=o?"set":"add",s={};if(Tt(r,"function"!=typeof u||!(i||a.forEach&&!d(function(){(new u).entries().next()}))))c=n.getConstructor(t,r,o,f),zr.REQUIRED=!0;else if(Tt(r,!0)){var l=new c,h=l[f](i?{}:-0,1)!=l,v=d(function(){l.has(1)}),p=we(function(t){new u(t)}),y=!i&&d(function(){for(var t=new u,n=5;n--;)t[f](n,n);return!t.has(-0)});p||(((c=t(function(t,n){Dr(t,c,r);var e=Mr(new u,t,c);return null!=n&&qr(n,e[f],e,o),e})).prototype=a).constructor=c),(v||y)&&(e("delete"),e("has"),o&&e("get")),(y||h)&&e(f),i&&a.clear&&delete a.clear}s[r]=c,at({global:!0,forced:c!=u},s),zt(c,r),i||n.setStrong(c,r,o)}("Set",function(n){return function(t){return n(this,arguments.length?t:void 0)}},{getConstructor:function(t,e,r,o){function i(t,n,e){var r,o,i=a(t),u=c(t,n);return u?u.value=e:(i.last=u={index:o=Yr(n,!0),key:n,value:e,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=u),r&&(r.next=u),S?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t}var u=t(function(t,n){Dr(t,u,e),$r(t,{type:e,index:Vt(null),first:void 0,last:void 0,size:0}),S||(t.size=0),null!=n&&qr(n,t[o],t,r)}),a=Wr(e),c=function(t,n){var e,r=a(t),o=Yr(n);if("F"!==o)return r.index[o];for(e=r.first;e;e=e.next)if(e.key==n)return e};return Jr(u.prototype,{clear:function(){for(var t=a(this),n=t.index,e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),delete n[e.index],e=e.next;t.first=t.last=void 0,S?t.size=0:this.size=0},delete:function(t){var n=a(this),e=c(this,t);if(e){var r=e.next,o=e.previous;delete n.index[e.index],e.removed=!0,o&&(o.next=r),r&&(r.previous=o),n.first==e&&(n.first=r),n.last==e&&(n.last=o),S?n.size--:this.size--}return!!e},forEach:function(t,n){for(var e,r=a(this),o=Bt(t,1<arguments.length?n:void 0,3);e=e?e.next:r.first;)for(o(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!c(this,t)}}),Jr(u.prototype,r?{get:function(t){var n=c(this,t);return n&&n.value},set:function(t,n){return i(this,0===t?0:t,n)}}:{add:function(t){return i(this,t=0===t?0:t,t)}}),S&&Hr(u.prototype,"size",{get:function(){return a(this).size}}),u},setStrong:function(t,n,e){var r=n+" Iterator",o=Wr(n),i=Wr(r);Fe(t,n,function(t,n){$r(this,{type:r,target:t,state:o(t),kind:n,last:void 0})},function(){for(var t=i(this),n=t.kind,e=t.last;e&&e.removed;)e=e.previous;return t.target&&(t.last=e=e?e.next:t.state.first)?"keys"==n?{value:e.key,done:!1}:"values"==n?{value:e.value,done:!1}:{value:[e.key,e.value],done:!1}:{value:t.target=void 0,done:!0}},e?"entries":"values",!e,!0),Vr(n)}}),Gt("match")),Qr=Gt("match");at({target:"String",proto:!0,forced:!function(n){var e=/./;try{"/./"[n](e)}catch(t){try{return e[Qr]=!1,"/./"[n](e)}catch(t){}}return!1}("includes")},{includes:function(t,n){return!!~String(l(this)).indexOf(function(t){if(Gr(t))throw TypeError("The method doesn't accept regular expressions");return t}(t),1<arguments.length?n:void 0)}});function Xr(a){return function(t,n){var e,r,o=String(l(t)),i=tt(n),u=o.length;return i<0||u<=i?a?"":void 0:(e=o.charCodeAt(i))<55296||56319<e||i+1===u||(r=o.charCodeAt(i+1))<56320||57343<r?a?o.charAt(i):e:a?o.slice(i,i+2):r-56320+(e-55296<<10)+65536}}var Zr={codeAt:Xr(!1),charAt:Xr(!0)},to=Zr.charAt,no="String Iterator",eo=st.set,ro=st.getterFor(no);Fe(String,"String",function(t){eo(this,{type:no,string:String(t),index:0})},function(){var t,n=ro(this),e=n.string,r=n.index;return r>=e.length?{value:void 0,done:!0}:(t=to(e,r),n.index+=t.length,{value:t,done:!1})});function oo(e,t,n,r){var o=Gt(e),i=!d(function(){var t={};return t[o]=function(){return 7},7!=""[e](t)}),u=i&&!d(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[ao]=function(){return n}),n[o](""),!t});if(!i||!u||"replace"===e&&!co||"split"===e&&!fo){var a=/./[o],c=n(o,""[e],function(t,n,e,r,o){return n.exec===Fr?i&&!o?{done:!0,value:a.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}}),f=c[0],s=c[1];lt(String.prototype,e,f),lt(RegExp.prototype,o,2==t?function(t,n){return s.call(t,this,n)}:function(t){return s.call(t,this)}),r&&D(RegExp.prototype[o],"sham",!0)}}function io(t,n,e){return n+(e?so(t,n).length:1)}function uo(t,n){var e=t.exec;if("function"==typeof e){var r=e.call(t,n);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==o(t))throw TypeError("RegExp#exec called on incompatible receiver");return Fr.call(t,n)}var ao=Gt("species"),co=!d(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),fo=!d(function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]}),so=Zr.charAt,lo=Math.max,ho=Math.min,vo=Math.floor,po=/\$([$&'`]|\d\d?|<[^>]*>)/g,yo=/\$([$&'`]|\d\d?)/g;oo("replace",2,function(o,S,O){return[function(t,n){var e=l(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,e,n):S.call(String(e),t,n)},function(t,n){var e=O(S,t,this,n);if(e.done)return e.value;var r=k(t),o=String(this),i="function"==typeof n;i||(n=String(n));var u=r.global;if(u){var a=r.unicode;r.lastIndex=0}for(var c=[];;){var f=uo(r,o);if(null===f)break;if(c.push(f),!u)break;""===String(f[0])&&(r.lastIndex=io(o,nt(r.lastIndex),a))}for(var s,l="",h=0,v=0;v<c.length;v++){f=c[v];for(var p=String(f[0]),y=lo(ho(tt(f.index),o.length),0),d=[],g=1;g<f.length;g++)d.push(void 0===(s=f[g])?s:String(s));var m=f.groups;if(i){var w=[p].concat(d,y,o);void 0!==m&&w.push(m);var b=String(n.apply(void 0,w))}else b=_(p,o,y,d,m,n);h<=y&&(l+=o.slice(h,y)+b,h=y+p.length)}return l+o.slice(h)}];function _(i,u,a,c,f,t){var s=a+i.length,l=c.length,n=yo;return void 0!==f&&(f=ct(f),n=po),S.call(t,n,function(t,n){var e;switch(n.charAt(0)){case"$":return"$";case"&":return i;case"`":return u.slice(0,a);case"'":return u.slice(s);case"<":e=f[n.slice(1,-1)];break;default:var r=+n;if(0==r)return t;if(l<r){var o=vo(r/10);return 0===o?t:o<=l?void 0===c[o-1]?n.charAt(1):c[o-1]+n.charAt(1):t}e=c[r-1]}return void 0===e?"":e})}});at({target:"Set",proto:!0,real:!0,forced:!1},{addAll:function(){return function(){for(var t=k(this),n=qt(t.add),e=0,r=arguments.length;e<r;e++)n.call(t,arguments[e]);return t}.apply(this,arguments)}});at({target:"Set",proto:!0,real:!0,forced:!1},{deleteAll:function(){return function(){for(var t=k(this),n=qt(t.delete),e=!0,r=0,o=arguments.length;r<o;r++)e=e&&n.call(t,arguments[r]);return!!e}.apply(this,arguments)}});function go(t,n){var e,r=k(t).constructor;return void 0===r||null==(e=k(r)[mo])?n:qt(e)}var mo=Gt("species");at({target:"Set",proto:!0,real:!0,forced:!1},{difference:function(t){var n=k(this),e=new(go(n,Z("Set")))(n),r=qt(e.delete);return qr(t,function(t){r.call(e,t)}),e}});function wo(t){return Set.prototype.values.call(t)}at({target:"Set",proto:!0,real:!0,forced:!1},{every:function(t,n){var e=k(this),r=wo(e),o=Bt(t,1<arguments.length?n:void 0,3);return!qr(r,function(t){if(!o(t,t,e))return qr.stop()},void 0,!1,!0).stopped}}),at({target:"Set",proto:!0,real:!0,forced:!1},{filter:function(t,n){var e=k(this),r=wo(e),o=Bt(t,1<arguments.length?n:void 0,3),i=new(go(e,Z("Set"))),u=qt(i.add);return qr(r,function(t){o(t,t,e)&&u.call(i,t)},void 0,!1,!0),i}}),at({target:"Set",proto:!0,real:!0,forced:!1},{find:function(t,n){var e=k(this),r=wo(e),o=Bt(t,1<arguments.length?n:void 0,3);return qr(r,function(t){if(o(t,t,e))return qr.stop(t)},void 0,!1,!0).result}}),at({target:"Set",proto:!0,real:!0,forced:!1},{intersection:function(t){var n=k(this),e=new(go(n,Z("Set"))),r=qt(n.has),o=qt(e.add);return qr(t,function(t){r.call(n,t)&&o.call(e,t)}),e}}),at({target:"Set",proto:!0,real:!0,forced:!1},{isDisjointFrom:function(t){var n=k(this),e=qt(n.has);return!qr(t,function(t){if(!0===e.call(n,t))return qr.stop()}).stopped}}),at({target:"Set",proto:!0,real:!0,forced:!1},{isSubsetOf:function(t){var n=function(t){var n=fe(t);if("function"!=typeof n)throw TypeError(String(t)+" is not iterable");return k(n.call(t))}(this),e=k(t),r=e.has;return"function"!=typeof r&&(e=new(Z("Set"))(t),r=qt(e.has)),!qr(n,function(t){if(!1===r.call(e,t))return qr.stop()},void 0,!1,!0).stopped}}),at({target:"Set",proto:!0,real:!0,forced:!1},{isSupersetOf:function(t){var n=k(this),e=qt(n.has);return!qr(t,function(t){if(!1===e.call(n,t))return qr.stop()}).stopped}}),at({target:"Set",proto:!0,real:!0,forced:!1},{join:function(t){var n=k(this),e=wo(n),r=void 0===t?",":String(t),o=[];return qr(e,o.push,o,!1,!0),o.join(r)}}),at({target:"Set",proto:!0,real:!0,forced:!1},{map:function(t,n){var e=k(this),r=wo(e),o=Bt(t,1<arguments.length?n:void 0,3),i=new(go(e,Z("Set"))),u=qt(i.add);return qr(r,function(t){u.call(i,o(t,t,e))},void 0,!1,!0),i}}),at({target:"Set",proto:!0,real:!0,forced:!1},{reduce:function(n,t){var e,r,o=k(this),i=wo(o);if(qt(n),1<arguments.length)e=t;else{if((r=i.next()).done)throw TypeError("Reduce of empty set with no initial value");e=r.value}return qr(i,function(t){e=n(e,t,t,o)},void 0,!1,!0),e}}),at({target:"Set",proto:!0,real:!0,forced:!1},{some:function(t,n){var e=k(this),r=wo(e),o=Bt(t,1<arguments.length?n:void 0,3);return qr(r,function(t){if(o(t,t,e))return qr.stop()},void 0,!1,!0).stopped}}),at({target:"Set",proto:!0,real:!0,forced:!1},{symmetricDifference:function(t){var n=k(this),e=new(go(n,Z("Set")))(n),r=qt(e.delete),o=qt(e.add);return qr(t,function(t){r.call(e,t)||o.call(e,t)}),e}}),at({target:"Set",proto:!0,real:!0,forced:!1},{union:function(t){var n=k(this),e=new(go(n,Z("Set")))(n);return qr(t,qt(e.add),e),e}});var bo={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};for(var So in bo){var Oo=b[So],_o=Oo&&Oo.prototype;if(_o&&_o.forEach!==ie)try{D(_o,"forEach",ie)}catch(t){_o.forEach=ie}}var ko=Gt("iterator"),xo=Gt("toStringTag"),jo=$e.values;for(var Eo in bo){var Ao=b[Eo],Io=Ao&&Ao.prototype;if(Io){if(Io[ko]!==jo)try{D(Io,ko,jo)}catch(t){Io[ko]=jo}if(Io[xo]||D(Io,xo,Eo),bo[Eo])for(var To in $e)if(Io[To]!==$e[To])try{D(Io,To,$e[To])}catch(t){Io[To]=$e[To]}}}function No(t){return(No="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ro(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function Co(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Po(t,n,e){return n&&Co(t.prototype,n),e&&Co(t,e),t}function Lo(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function Fo(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),e.push.apply(e,r)}return e}function Do(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?Fo(e,!0).forEach(function(t){Lo(n,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):Fo(e).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})}return n}function Mo(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&Vo(t,n)}function Jo(t){return(Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Vo(t,n){return(Vo=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function Go(t,n,e){return(Go=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?Reflect.construct:function(t,n,e){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(t,r));return e&&Vo(o,e.prototype),o}).apply(null,arguments)}function Uo(t){var e="function"==typeof Map?new Map:void 0;return(Uo=function(t){if(null===t||!function(t){return-1!==Function.toString.call(t).indexOf("[native code]")}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return Go(t,arguments,Jo(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Vo(n,t)})(t)}function zo(t,n){if(null==t)return{};var e,r,o=function(t,n){if(null==t)return{};var e,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],0<=n.indexOf(e)||(o[e]=t[e]);return o}(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)e=i[r],0<=n.indexOf(e)||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}function qo(t,n){return!n||"object"!=typeof n&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function Bo(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=[],r=!0,o=!1,i=void 0;try{for(var u,a=t[Symbol.iterator]();!(r=(u=a.next()).done)&&(e.push(u.value),!n||e.length!==n);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return e}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Ho(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n<t.length;n++)e[n]=t[n];return e}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}at({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}});e(function(t){var n=function(i){var c,t=Object.prototype,f=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",e=n.asyncIterator||"@@asyncIterator",r=n.toStringTag||"@@toStringTag";function u(t,n,e,r){var o=n&&n.prototype instanceof a?n:a,i=Object.create(o.prototype),u=new E(r||[]);return i._invoke=function(i,u,a){var c=l;return function(t,n){if(c===v)throw new Error("Generator is already running");if(c===p){if("throw"===t)throw n;return I()}for(a.method=t,a.arg=n;;){var e=a.delegate;if(e){var r=k(e,a);if(r){if(r===y)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===l)throw c=p,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var o=s(i,u,a);if("normal"===o.type){if(c=a.done?p:h,o.arg===y)continue;return{value:o.arg,done:a.done}}"throw"===o.type&&(c=p,a.method="throw",a.arg=o.arg)}}}(t,e,u),i}function s(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}i.wrap=u;var l="suspendedStart",h="suspendedYield",v="executing",p="completed",y={};function a(){}function d(){}function g(){}var m={};m[o]=function(){return this};var w=Object.getPrototypeOf,b=w&&w(w(A([])));b&&b!==t&&f.call(b,o)&&(m=b);var S=g.prototype=a.prototype=Object.create(m);function O(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this._invoke(n,t)}})}function _(c){var n;this._invoke=function(e,r){function t(){return new Promise(function(t,n){!function n(t,e,r,o){var i=s(c[t],c,e);if("throw"!==i.type){var u=i.arg,a=u.value;return a&&"object"==typeof a&&f.call(a,"__await")?Promise.resolve(a.__await).then(function(t){n("next",t,r,o)},function(t){n("throw",t,r,o)}):Promise.resolve(a).then(function(t){u.value=t,r(u)},function(t){return n("throw",t,r,o)})}o(i.arg)}(e,r,t,n)})}return n=n?n.then(t,t):t()}}function k(t,n){var e=t.iterator[n.method];if(e===c){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=c,k(t,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var r=s(e,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,y;var o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=c),n.delegate=null,y):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function x(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function j(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function A(n){if(n){var t=n[o];if(t)return t.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var e=-1,r=function t(){for(;++e<n.length;)if(f.call(n,e))return t.value=n[e],t.done=!1,t;return t.value=c,t.done=!0,t};return r.next=r}}return{next:I}}function I(){return{value:c,done:!0}}return d.prototype=S.constructor=g,g.constructor=d,g[r]=d.displayName="GeneratorFunction",i.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===d||"GeneratorFunction"===(n.displayName||n.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,r in t||(t[r]="GeneratorFunction")),t.prototype=Object.create(S),t},i.awrap=function(t){return{__await:t}},O(_.prototype),_.prototype[e]=function(){return this},i.AsyncIterator=_,i.async=function(t,n,e,r){var o=new _(u(t,n,e,r));return i.isGeneratorFunction(n)?o:o.next().then(function(t){return t.done?t.value:o.next()})},O(S),S[r]="Generator",S[o]=function(){return this},S.toString=function(){return"[object Generator]"},i.keys=function(e){var r=[];for(var t in e)r.push(t);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},i.values=A,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(j),!t)for(var n in this)"t"===n.charAt(0)&&f.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=c)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function t(t,n){return i.type="throw",i.arg=e,r.next=t,n&&(r.method="next",r.arg=c),!!n}for(var n=this.tryEntries.length-1;0<=n;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var u=f.call(o,"catchLoc"),a=f.call(o,"finallyLoc");if(u&&a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&f.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=n,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(i)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),y},finish:function(t){for(var n=this.tryEntries.length-1;0<=n;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),j(e),y}},catch:function(t){for(var n=this.tryEntries.length-1;0<=n;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var o=r.arg;j(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:A(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=c),y}},i}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}});function Yo(e){return function(t){var n=String(l(t));return 1&e&&(n=n.replace(Ko,"")),2&e&&(n=n.replace(Qo,"")),n}}var $o="\t\n\v\f\r \u2028\u2029\ufeff",Wo="["+$o+"]",Ko=RegExp("^"+Wo+Wo+"*"),Qo=RegExp(Wo+Wo+"*$"),Xo={start:Yo(1),end:Yo(2),trim:Yo(3)},Zo=Xo.trim,ti=b.parseFloat,ni=1/ti($o+"-0")!=-1/0?function(t){var n=Zo(String(t)),e=ti(n);return 0===e&&"-"==n.charAt(0)?-0:e}:ti;at({global:!0,forced:parseFloat!=ni},{parseFloat:ni});var ei=[].push,ri=Math.min,oi=4294967295,ii=!d(function(){return!RegExp(oi,"y")});oo("split",2,function(o,d,g){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||1<".".split(/()()/).length||"".split(/.?/).length?function(t,n){var e=String(l(this)),r=void 0===n?oi:n>>>0;if(0==r)return[];if(void 0===t)return[e];if(!Gr(t))return d.call(e,t,r);for(var o,i,u,a=[],c=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,s=new RegExp(t.source,c+"g");(o=Fr.call(s,e))&&!(f<(i=s.lastIndex)&&(a.push(e.slice(f,o.index)),1<o.length&&o.index<e.length&&ei.apply(a,o.slice(1)),u=o[0].length,f=i,a.length>=r));)s.lastIndex===o.index&&s.lastIndex++;return f===e.length?!u&&s.test("")||a.push(""):a.push(e.slice(f)),a.length>r?a.slice(0,r):a}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:d.call(this,t,n)}:d,[function(t,n){var e=l(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,e,n):m.call(String(e),t,n)},function(t,n){var e=g(m,t,this,n,m!==d);if(e.done)return e.value;var r=k(t),o=String(this),i=go(r,RegExp),u=r.unicode,a=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(ii?"y":"g"),c=new i(ii?r:"^(?:"+r.source+")",a),f=void 0===n?oi:n>>>0;if(0==f)return[];if(0===o.length)return null===uo(c,o)?[o]:[];for(var s=0,l=0,h=[];l<o.length;){c.lastIndex=ii?l:0;var v,p=uo(c,ii?o:o.slice(l));if(null===p||(v=ri(nt(c.lastIndex+(ii?0:l)),o.length))===s)l=io(o,l,u);else{if(h.push(o.slice(s,l)),h.length===f)return h;for(var y=1;y<=p.length-1;y++)if(h.push(p[y]),h.length===f)return h;l=s=v}}return h.push(o.slice(s)),h}]},!ii);var ui=regeneratorRuntime.mark(li),ai=regeneratorRuntime.mark(hi);function ci(t){return!isNaN(parseFloat(t))&&isFinite(t)}function fi(n,e,t){return 2<arguments.length&&void 0!==t&&t?Object.keys(n).map(function(t){return n[t]===e[t]}).reduce(function(t,n){return t?n:t},!0):0===Ho(new Set(n.filter(function(t){return!new Set(e).has(t)}))).length}function si(t){var n=t.map(function(t){return t.length}).reduce(function(t,n){return Math.max(t,n)},0);return Ho(Array(n).keys()).map(function(n){return t.map(function(t){return t[n]})})}function li(n){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(n,"t0",1);case 1:case"end":return t.stop()}},ui)}function hi(n,e){var r,o,i,u,a,c,f,s,l,h=arguments;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=2<h.length&&void 0!==h[2]?h[2]:function(){return!1},u=!(i=!(o=0)),a=void 0,t.prev=5,c=n[Symbol.iterator]();case 7:if(i=(f=c.next()).done){t.next=18;break}if(s=f.value,r())return t.abrupt("return");t.next=11;break;case 11:if(l=e(s,o++))return t.next=15,l;t.next=15;break;case 15:i=!0,t.next=7;break;case 18:t.next=24;break;case 20:t.prev=20,t.t0=t.catch(5),u=!0,a=t.t0;case 24:t.prev=24,t.prev=25,i||null==c.return||c.return();case 27:if(t.prev=27,u)throw a;t.next=30;break;case 30:return t.finish(27);case 31:return t.finish(24);case 32:case"end":return t.stop()}},ai,null,[[5,20,24,32],[25,,27,31]])}function vi(t,n,e){var r=2<arguments.length&&void 0!==e?e:function(){return!1};return Array.from(hi(t,n,r))}function pi(t){for(var n=arguments.length,e=new Array(1<n?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return e.reduce(function(t,n){return t.split(n[0]).join(n[1])},t)}function yi(n){for(var t=arguments.length,e=new Array(1<t?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return e.filter(function(t){return n.includes(t)})}var di=function(){function e(t){var n;return Ro(this,e),(n=qo(this,Jo(e).call(this,Error))).message="".concat(t," not found. You maybe use a wrong path or url. Be sure you use absolute path, relative one being not supported."),n.name="FileNotFoundError",n}return Mo(e,Uo(Error)),e}(),gi=function(){function o(){var t;Ro(this,o),t=qo(this,Jo(o).call(this,TypeError));for(var n=arguments.length,e=new Array(n),r=0;r<n;r++)e[r]=arguments[r];return t.message="can't work with multiple variable types: [".concat(e.join(","),"]."),t.name="MixedTypeError",t}return Mo(o,Uo(TypeError)),o}(),mi=function(){function r(t,n){var e;return Ro(this,r),(e=qo(this,Jo(r).call(this,Error))).message="".concat(t," not found in [").concat(n.join(", "),"]."),e.name="NoSuchColumnError",e}return Mo(r,Uo(Error)),r}(),wi=function(){function r(t,n){var e;return Ro(this,r),(e=qo(this,Jo(r).call(this,Error))).message="[".concat(t.join(", "),"] while expecting [").concat(n.join(", "),"]."),e.name="WrongSchemaError",e}return Mo(r,Uo(Error)),r}(),bi=function(){function r(t,n){var e;return Ro(this,r),(e=qo(this,Jo(r).call(this,TypeError))).message="".concat(t&&t.constructor?t.constructor.name:No(t)," while expecting ").concat(n,"."),e.name="ArgumentTypeError",e}return Mo(r,Uo(TypeError)),r}(),Si=function(){function e(t){var n;return Ro(this,e),(n=qo(this,Jo(e).call(this,Error))).message="".concat(t,"."),n.name="SQLParseError",n}return Mo(e,Uo(Error)),e}(),Oi=function(){function e(t){var n;return Ro(this,e),(n=qo(this,Jo(e).call(this,Error))).message="The SQL temporary table ".concat(t," already exits. Use overwrite = true to overwrite it."),n.name="TableAlreadyExistsError",n}return Mo(e,Uo(Error)),e}(),_i=function(){function e(t){var n;return Ro(this,e),(n=qo(this,Jo(e).call(this,Error))).message="The SQL temporary table ".concat(t," is not allowed. Avoid to use Spaces, quotes, tabs...."),n.name="WrongTableNameError",n}return Mo(e,Uo(Error)),e}(),ki=Object.freeze({FileNotFoundError:di,MixedTypeError:gi,NoSuchColumnError:mi,WrongSchemaError:wi,ArgumentTypeError:bi,SQLParseError:Si,TableAlreadyExistsError:Oi,WrongTableNameError:_i}),xi=zr.onFreeze,ji=Object.freeze,Ei=d(function(){ji(1)});at({target:"Object",stat:!0,forced:Ei,sham:!Ur},{freeze:function(t){return ji&&m(t)?ji(xi(t)):t}});var Ai=d(func