UNPKG

jandas

Version:

A very much Pandas-like JavaScript library for data science

1,540 lines 216 kB
"use strict";var jandas=(()=>{var Lv=Object.defineProperty;var u=(t,a)=>Lv(t,"name",{value:a,configurable:!0});var B=(t,a)=>()=>(a||t((a={exports:{}}).exports,a),a.exports);var rt=B((Gt,vr)=>{(function(){var t,a="4.17.21",f=200,c="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",m="Expected a function",q="Invalid `variable` option passed into `_.template`",C="__lodash_hash_undefined__",T=500,U="__lodash_placeholder__",$=1,te=2,H=4,oe=1,he=2,pe=1,Te=2,En=4,Ie=8,ie=16,Se=32,In=64,an=128,Rn=256,bt=512,Rr=30,St="...",Nr=800,Vt=16,At=1,Cr=2,qt=3,Xe=1/0,xn=9007199254740991,Pr=17976931348623157e292,st=0/0,Ye=4294967295,Et=Ye-1,It=Ye>>>1,Jt=[["ary",an],["bind",pe],["bindKey",Te],["curry",Ie],["curryRight",ie],["flip",bt],["partial",Se],["partialRight",In],["rearg",Rn]],Nn="[object Arguments]",at="[object Array]",ki="[object AsyncFunction]",Hn="[object Boolean]",ot="[object Date]",Qt="[object DOMException]",zn="[object Error]",ft="[object Function]",Lr="[object GeneratorFunction]",Ve="[object Map]",wn="[object Number]",jt="[object Null]",on="[object Object]",er="[object Promise]",nr="[object Proxy]",Cn="[object RegExp]",Je="[object Set]",lt="[object String]",Mt="[object Symbol]",Fr="[object Undefined]",ct="[object WeakMap]",Dr="[object WeakSet]",Kn="[object ArrayBuffer]",o="[object DataView]",h="[object Float32Array]",p="[object Float64Array]",b="[object Int8Array]",A="[object Int16Array]",M="[object Int32Array]",R="[object Uint8Array]",P="[object Uint8ClampedArray]",W="[object Uint16Array]",Z="[object Uint32Array]",X=/\b__p \+= '';/g,z=/\b(__p \+=) '' \+/g,V=/(__e\(.*?\)|\b__t\)) \+\n'';/g,le=/&(?:amp|lt|gt|quot|#39);/g,Pe=/[&<>"']/g,Qe=RegExp(le.source),Re=RegExp(Pe.source),je=/<%-([\s\S]+?)%>/g,yn=/<%([\s\S]+?)%>/g,Ot=/<%=([\s\S]+?)%>/g,fh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lh=/^\w*$/,ch=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gi=/[\\^$.*+?()[\]{}|]/g,hh=RegExp(Gi.source),Hi=/^\s+/,ph=/\s/,_h=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,gh=/\{\n\/\* \[wrapped with (.+)\] \*/,dh=/,? & /,vh=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,mh=/[()=,{}\[\]\/\s]/,xh=/\\(\\)?/g,wh=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ds=/\w*$/,yh=/^[-+]0x[0-9a-f]+$/i,bh=/^0b[01]+$/i,Sh=/^\[object .+?Constructor\]$/,Ah=/^0o[0-7]+$/i,qh=/^(?:0|[1-9]\d*)$/,Eh=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ur=/($^)/,Ih=/['\n\r\u2028\u2029\\]/g,Wr="\\ud800-\\udfff",Mh="\\u0300-\\u036f",Oh="\\ufe20-\\ufe2f",Th="\\u20d0-\\u20ff",Us=Mh+Oh+Th,Ws="\\u2700-\\u27bf",Bs="a-z\\xdf-\\xf6\\xf8-\\xff",Rh="\\xac\\xb1\\xd7\\xf7",Nh="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ch="\\u2000-\\u206f",Ph=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",$s="A-Z\\xc0-\\xd6\\xd8-\\xde",ks="\\ufe0e\\ufe0f",Gs=Rh+Nh+Ch+Ph,zi="['\u2019]",Lh="["+Wr+"]",Hs="["+Gs+"]",Br="["+Us+"]",zs="\\d+",Fh="["+Ws+"]",Ks="["+Bs+"]",Zs="[^"+Wr+Gs+zs+Ws+Bs+$s+"]",Ki="\\ud83c[\\udffb-\\udfff]",Dh="(?:"+Br+"|"+Ki+")",Xs="[^"+Wr+"]",Zi="(?:\\ud83c[\\udde6-\\uddff]){2}",Xi="[\\ud800-\\udbff][\\udc00-\\udfff]",Tt="["+$s+"]",Ys="\\u200d",Vs="(?:"+Ks+"|"+Zs+")",Uh="(?:"+Tt+"|"+Zs+")",Js="(?:"+zi+"(?:d|ll|m|re|s|t|ve))?",Qs="(?:"+zi+"(?:D|LL|M|RE|S|T|VE))?",js=Dh+"?",ea="["+ks+"]?",Wh="(?:"+Ys+"(?:"+[Xs,Zi,Xi].join("|")+")"+ea+js+")*",Bh="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$h="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",na=ea+js+Wh,kh="(?:"+[Fh,Zi,Xi].join("|")+")"+na,Gh="(?:"+[Xs+Br+"?",Br,Zi,Xi,Lh].join("|")+")",Hh=RegExp(zi,"g"),zh=RegExp(Br,"g"),Yi=RegExp(Ki+"(?="+Ki+")|"+Gh+na,"g"),Kh=RegExp([Tt+"?"+Ks+"+"+Js+"(?="+[Hs,Tt,"$"].join("|")+")",Uh+"+"+Qs+"(?="+[Hs,Tt+Vs,"$"].join("|")+")",Tt+"?"+Vs+"+"+Js,Tt+"+"+Qs,$h,Bh,zs,kh].join("|"),"g"),Zh=RegExp("["+Ys+Wr+Us+ks+"]"),Xh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Yh=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Vh=-1,xe={};xe[h]=xe[p]=xe[b]=xe[A]=xe[M]=xe[R]=xe[P]=xe[W]=xe[Z]=!0,xe[Nn]=xe[at]=xe[Kn]=xe[Hn]=xe[o]=xe[ot]=xe[zn]=xe[ft]=xe[Ve]=xe[wn]=xe[on]=xe[Cn]=xe[Je]=xe[lt]=xe[ct]=!1;var me={};me[Nn]=me[at]=me[Kn]=me[o]=me[Hn]=me[ot]=me[h]=me[p]=me[b]=me[A]=me[M]=me[Ve]=me[wn]=me[on]=me[Cn]=me[Je]=me[lt]=me[Mt]=me[R]=me[P]=me[W]=me[Z]=!0,me[zn]=me[ft]=me[ct]=!1;var Jh={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Qh={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},jh={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},e0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},n0=parseFloat,t0=parseInt,ta=typeof global=="object"&&global&&global.Object===Object&&global,r0=typeof self=="object"&&self&&self.Object===Object&&self,Le=ta||r0||Function("return this")(),Vi=typeof Gt=="object"&&Gt&&!Gt.nodeType&&Gt,ht=Vi&&typeof vr=="object"&&vr&&!vr.nodeType&&vr,ra=ht&&ht.exports===Vi,Ji=ra&&ta.process,fn=function(){try{var E=ht&&ht.require&&ht.require("util").types;return E||Ji&&Ji.binding&&Ji.binding("util")}catch{}}(),ia=fn&&fn.isArrayBuffer,ua=fn&&fn.isDate,sa=fn&&fn.isMap,aa=fn&&fn.isRegExp,oa=fn&&fn.isSet,fa=fn&&fn.isTypedArray;function en(E,N,O){switch(O.length){case 0:return E.call(N);case 1:return E.call(N,O[0]);case 2:return E.call(N,O[0],O[1]);case 3:return E.call(N,O[0],O[1],O[2])}return E.apply(N,O)}u(en,"apply");function i0(E,N,O,G){for(var ee=-1,_e=E==null?0:E.length;++ee<_e;){var Ne=E[ee];N(G,Ne,O(Ne),E)}return G}u(i0,"arrayAggregator");function ln(E,N){for(var O=-1,G=E==null?0:E.length;++O<G&&N(E[O],O,E)!==!1;);return E}u(ln,"arrayEach");function u0(E,N){for(var O=E==null?0:E.length;O--&&N(E[O],O,E)!==!1;);return E}u(u0,"arrayEachRight");function la(E,N){for(var O=-1,G=E==null?0:E.length;++O<G;)if(!N(E[O],O,E))return!1;return!0}u(la,"arrayEvery");function Zn(E,N){for(var O=-1,G=E==null?0:E.length,ee=0,_e=[];++O<G;){var Ne=E[O];N(Ne,O,E)&&(_e[ee++]=Ne)}return _e}u(Zn,"arrayFilter");function $r(E,N){var O=E==null?0:E.length;return!!O&&Rt(E,N,0)>-1}u($r,"arrayIncludes");function Qi(E,N,O){for(var G=-1,ee=E==null?0:E.length;++G<ee;)if(O(N,E[G]))return!0;return!1}u(Qi,"arrayIncludesWith");function we(E,N){for(var O=-1,G=E==null?0:E.length,ee=Array(G);++O<G;)ee[O]=N(E[O],O,E);return ee}u(we,"arrayMap");function Xn(E,N){for(var O=-1,G=N.length,ee=E.length;++O<G;)E[ee+O]=N[O];return E}u(Xn,"arrayPush");function ji(E,N,O,G){var ee=-1,_e=E==null?0:E.length;for(G&&_e&&(O=E[++ee]);++ee<_e;)O=N(O,E[ee],ee,E);return O}u(ji,"arrayReduce");function s0(E,N,O,G){var ee=E==null?0:E.length;for(G&&ee&&(O=E[--ee]);ee--;)O=N(O,E[ee],ee,E);return O}u(s0,"arrayReduceRight");function eu(E,N){for(var O=-1,G=E==null?0:E.length;++O<G;)if(N(E[O],O,E))return!0;return!1}u(eu,"arraySome");var a0=nu("length");function o0(E){return E.split("")}u(o0,"asciiToArray");function f0(E){return E.match(vh)||[]}u(f0,"asciiWords");function ca(E,N,O){var G;return O(E,function(ee,_e,Ne){if(N(ee,_e,Ne))return G=_e,!1}),G}u(ca,"baseFindKey");function kr(E,N,O,G){for(var ee=E.length,_e=O+(G?1:-1);G?_e--:++_e<ee;)if(N(E[_e],_e,E))return _e;return-1}u(kr,"baseFindIndex");function Rt(E,N,O){return N===N?y0(E,N,O):kr(E,ha,O)}u(Rt,"baseIndexOf");function l0(E,N,O,G){for(var ee=O-1,_e=E.length;++ee<_e;)if(G(E[ee],N))return ee;return-1}u(l0,"baseIndexOfWith");function ha(E){return E!==E}u(ha,"baseIsNaN");function pa(E,N){var O=E==null?0:E.length;return O?ru(E,N)/O:st}u(pa,"baseMean");function nu(E){return function(N){return N==null?t:N[E]}}u(nu,"baseProperty");function tu(E){return function(N){return E==null?t:E[N]}}u(tu,"basePropertyOf");function _a(E,N,O,G,ee){return ee(E,function(_e,Ne,ve){O=G?(G=!1,_e):N(O,_e,Ne,ve)}),O}u(_a,"baseReduce");function c0(E,N){var O=E.length;for(E.sort(N);O--;)E[O]=E[O].value;return E}u(c0,"baseSortBy");function ru(E,N){for(var O,G=-1,ee=E.length;++G<ee;){var _e=N(E[G]);_e!==t&&(O=O===t?_e:O+_e)}return O}u(ru,"baseSum");function iu(E,N){for(var O=-1,G=Array(E);++O<E;)G[O]=N(O);return G}u(iu,"baseTimes");function h0(E,N){return we(N,function(O){return[O,E[O]]})}u(h0,"baseToPairs");function ga(E){return E&&E.slice(0,xa(E)+1).replace(Hi,"")}u(ga,"baseTrim");function nn(E){return function(N){return E(N)}}u(nn,"baseUnary");function uu(E,N){return we(N,function(O){return E[O]})}u(uu,"baseValues");function tr(E,N){return E.has(N)}u(tr,"cacheHas");function da(E,N){for(var O=-1,G=E.length;++O<G&&Rt(N,E[O],0)>-1;);return O}u(da,"charsStartIndex");function va(E,N){for(var O=E.length;O--&&Rt(N,E[O],0)>-1;);return O}u(va,"charsEndIndex");function p0(E,N){for(var O=E.length,G=0;O--;)E[O]===N&&++G;return G}u(p0,"countHolders");var _0=tu(Jh),g0=tu(Qh);function d0(E){return"\\"+e0[E]}u(d0,"escapeStringChar");function v0(E,N){return E==null?t:E[N]}u(v0,"getValue");function Nt(E){return Zh.test(E)}u(Nt,"hasUnicode");function m0(E){return Xh.test(E)}u(m0,"hasUnicodeWord");function x0(E){for(var N,O=[];!(N=E.next()).done;)O.push(N.value);return O}u(x0,"iteratorToArray");function su(E){var N=-1,O=Array(E.size);return E.forEach(function(G,ee){O[++N]=[ee,G]}),O}u(su,"mapToArray");function ma(E,N){return function(O){return E(N(O))}}u(ma,"overArg");function Yn(E,N){for(var O=-1,G=E.length,ee=0,_e=[];++O<G;){var Ne=E[O];(Ne===N||Ne===U)&&(E[O]=U,_e[ee++]=O)}return _e}u(Yn,"replaceHolders");function Gr(E){var N=-1,O=Array(E.size);return E.forEach(function(G){O[++N]=G}),O}u(Gr,"setToArray");function w0(E){var N=-1,O=Array(E.size);return E.forEach(function(G){O[++N]=[G,G]}),O}u(w0,"setToPairs");function y0(E,N,O){for(var G=O-1,ee=E.length;++G<ee;)if(E[G]===N)return G;return-1}u(y0,"strictIndexOf");function b0(E,N,O){for(var G=O+1;G--;)if(E[G]===N)return G;return G}u(b0,"strictLastIndexOf");function Ct(E){return Nt(E)?A0(E):a0(E)}u(Ct,"stringSize");function bn(E){return Nt(E)?q0(E):o0(E)}u(bn,"stringToArray");function xa(E){for(var N=E.length;N--&&ph.test(E.charAt(N)););return N}u(xa,"trimmedEndIndex");var S0=tu(jh);function A0(E){for(var N=Yi.lastIndex=0;Yi.test(E);)++N;return N}u(A0,"unicodeSize");function q0(E){return E.match(Yi)||[]}u(q0,"unicodeToArray");function E0(E){return E.match(Kh)||[]}u(E0,"unicodeWords");var I0=u(function E(N){N=N==null?Le:Vn.defaults(Le.Object(),N,Vn.pick(Le,Yh));var O=N.Array,G=N.Date,ee=N.Error,_e=N.Function,Ne=N.Math,ve=N.Object,au=N.RegExp,M0=N.String,cn=N.TypeError,Hr=O.prototype,O0=_e.prototype,Pt=ve.prototype,zr=N["__core-js_shared__"],Kr=O0.toString,de=Pt.hasOwnProperty,T0=0,wa=function(){var e=/[^.]+$/.exec(zr&&zr.keys&&zr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Zr=Pt.toString,R0=Kr.call(ve),N0=Le._,C0=au("^"+Kr.call(de).replace(Gi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Xr=ra?N.Buffer:t,Jn=N.Symbol,Yr=N.Uint8Array,ya=Xr?Xr.allocUnsafe:t,Vr=ma(ve.getPrototypeOf,ve),ba=ve.create,Sa=Pt.propertyIsEnumerable,Jr=Hr.splice,Aa=Jn?Jn.isConcatSpreadable:t,rr=Jn?Jn.iterator:t,pt=Jn?Jn.toStringTag:t,Qr=function(){try{var e=mt(ve,"defineProperty");return e({},"",{}),e}catch{}}(),P0=N.clearTimeout!==Le.clearTimeout&&N.clearTimeout,L0=G&&G.now!==Le.Date.now&&G.now,F0=N.setTimeout!==Le.setTimeout&&N.setTimeout,jr=Ne.ceil,ei=Ne.floor,ou=ve.getOwnPropertySymbols,D0=Xr?Xr.isBuffer:t,qa=N.isFinite,U0=Hr.join,W0=ma(ve.keys,ve),Ce=Ne.max,Ue=Ne.min,B0=G.now,$0=N.parseInt,Ea=Ne.random,k0=Hr.reverse,fu=mt(N,"DataView"),ir=mt(N,"Map"),lu=mt(N,"Promise"),Lt=mt(N,"Set"),ur=mt(N,"WeakMap"),sr=mt(ve,"create"),ni=ur&&new ur,Ft={},G0=xt(fu),H0=xt(ir),z0=xt(lu),K0=xt(Lt),Z0=xt(ur),ti=Jn?Jn.prototype:t,ar=ti?ti.valueOf:t,Ia=ti?ti.toString:t;function g(e){if(Ae(e)&&!ne(e)&&!(e instanceof fe)){if(e instanceof hn)return e;if(de.call(e,"__wrapped__"))return Oo(e)}return new hn(e)}u(g,"lodash");var Dt=function(){function e(){}return u(e,"object"),function(n){if(!be(n))return{};if(ba)return ba(n);e.prototype=n;var r=new e;return e.prototype=t,r}}();function ri(){}u(ri,"baseLodash");function hn(e,n){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=t}u(hn,"LodashWrapper"),g.templateSettings={escape:je,evaluate:yn,interpolate:Ot,variable:"",imports:{_:g}},g.prototype=ri.prototype,g.prototype.constructor=g,hn.prototype=Dt(ri.prototype),hn.prototype.constructor=hn;function fe(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ye,this.__views__=[]}u(fe,"LazyWrapper");function X0(){var e=new fe(this.__wrapped__);return e.__actions__=Ge(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ge(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ge(this.__views__),e}u(X0,"lazyClone");function Y0(){if(this.__filtered__){var e=new fe(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}u(Y0,"lazyReverse");function V0(){var e=this.__wrapped__.value(),n=this.__dir__,r=ne(e),s=n<0,l=r?e.length:0,d=o1(0,l,this.__views__),w=d.start,S=d.end,I=S-w,L=s?S:w-1,F=this.__iteratees__,D=F.length,k=0,K=Ue(I,this.__takeCount__);if(!r||!s&&l==I&&K==I)return Ja(e,this.__actions__);var J=[];e:for(;I--&&k<K;){L+=n;for(var ue=-1,Q=e[L];++ue<D;){var ae=F[ue],ce=ae.iteratee,un=ae.type,ke=ce(Q);if(un==Cr)Q=ke;else if(!ke){if(un==At)continue e;break e}}J[k++]=Q}return J}u(V0,"lazyValue"),fe.prototype=Dt(ri.prototype),fe.prototype.constructor=fe;function _t(e){var n=-1,r=e==null?0:e.length;for(this.clear();++n<r;){var s=e[n];this.set(s[0],s[1])}}u(_t,"Hash");function J0(){this.__data__=sr?sr(null):{},this.size=0}u(J0,"hashClear");function Q0(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}u(Q0,"hashDelete");function j0(e){var n=this.__data__;if(sr){var r=n[e];return r===C?t:r}return de.call(n,e)?n[e]:t}u(j0,"hashGet");function ep(e){var n=this.__data__;return sr?n[e]!==t:de.call(n,e)}u(ep,"hashHas");function np(e,n){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=sr&&n===t?C:n,this}u(np,"hashSet"),_t.prototype.clear=J0,_t.prototype.delete=Q0,_t.prototype.get=j0,_t.prototype.has=ep,_t.prototype.set=np;function Pn(e){var n=-1,r=e==null?0:e.length;for(this.clear();++n<r;){var s=e[n];this.set(s[0],s[1])}}u(Pn,"ListCache");function tp(){this.__data__=[],this.size=0}u(tp,"listCacheClear");function rp(e){var n=this.__data__,r=ii(n,e);if(r<0)return!1;var s=n.length-1;return r==s?n.pop():Jr.call(n,r,1),--this.size,!0}u(rp,"listCacheDelete");function ip(e){var n=this.__data__,r=ii(n,e);return r<0?t:n[r][1]}u(ip,"listCacheGet");function up(e){return ii(this.__data__,e)>-1}u(up,"listCacheHas");function sp(e,n){var r=this.__data__,s=ii(r,e);return s<0?(++this.size,r.push([e,n])):r[s][1]=n,this}u(sp,"listCacheSet"),Pn.prototype.clear=tp,Pn.prototype.delete=rp,Pn.prototype.get=ip,Pn.prototype.has=up,Pn.prototype.set=sp;function Ln(e){var n=-1,r=e==null?0:e.length;for(this.clear();++n<r;){var s=e[n];this.set(s[0],s[1])}}u(Ln,"MapCache");function ap(){this.size=0,this.__data__={hash:new _t,map:new(ir||Pn),string:new _t}}u(ap,"mapCacheClear");function op(e){var n=di(this,e).delete(e);return this.size-=n?1:0,n}u(op,"mapCacheDelete");function fp(e){return di(this,e).get(e)}u(fp,"mapCacheGet");function lp(e){return di(this,e).has(e)}u(lp,"mapCacheHas");function cp(e,n){var r=di(this,e),s=r.size;return r.set(e,n),this.size+=r.size==s?0:1,this}u(cp,"mapCacheSet"),Ln.prototype.clear=ap,Ln.prototype.delete=op,Ln.prototype.get=fp,Ln.prototype.has=lp,Ln.prototype.set=cp;function gt(e){var n=-1,r=e==null?0:e.length;for(this.__data__=new Ln;++n<r;)this.add(e[n])}u(gt,"SetCache");function hp(e){return this.__data__.set(e,C),this}u(hp,"setCacheAdd");function pp(e){return this.__data__.has(e)}u(pp,"setCacheHas"),gt.prototype.add=gt.prototype.push=hp,gt.prototype.has=pp;function Sn(e){var n=this.__data__=new Pn(e);this.size=n.size}u(Sn,"Stack");function _p(){this.__data__=new Pn,this.size=0}u(_p,"stackClear");function gp(e){var n=this.__data__,r=n.delete(e);return this.size=n.size,r}u(gp,"stackDelete");function dp(e){return this.__data__.get(e)}u(dp,"stackGet");function vp(e){return this.__data__.has(e)}u(vp,"stackHas");function mp(e,n){var r=this.__data__;if(r instanceof Pn){var s=r.__data__;if(!ir||s.length<f-1)return s.push([e,n]),this.size=++r.size,this;r=this.__data__=new Ln(s)}return r.set(e,n),this.size=r.size,this}u(mp,"stackSet"),Sn.prototype.clear=_p,Sn.prototype.delete=gp,Sn.prototype.get=dp,Sn.prototype.has=vp,Sn.prototype.set=mp;function Ma(e,n){var r=ne(e),s=!r&&wt(e),l=!r&&!s&&tt(e),d=!r&&!s&&!l&&$t(e),w=r||s||l||d,S=w?iu(e.length,M0):[],I=S.length;for(var L in e)(n||de.call(e,L))&&!(w&&(L=="length"||l&&(L=="offset"||L=="parent")||d&&(L=="buffer"||L=="byteLength"||L=="byteOffset")||Wn(L,I)))&&S.push(L);return S}u(Ma,"arrayLikeKeys");function Oa(e){var n=e.length;return n?e[yu(0,n-1)]:t}u(Oa,"arraySample");function xp(e,n){return vi(Ge(e),dt(n,0,e.length))}u(xp,"arraySampleSize");function wp(e){return vi(Ge(e))}u(wp,"arrayShuffle");function cu(e,n,r){(r!==t&&!An(e[n],r)||r===t&&!(n in e))&&Fn(e,n,r)}u(cu,"assignMergeValue");function or(e,n,r){var s=e[n];(!(de.call(e,n)&&An(s,r))||r===t&&!(n in e))&&Fn(e,n,r)}u(or,"assignValue");function ii(e,n){for(var r=e.length;r--;)if(An(e[r][0],n))return r;return-1}u(ii,"assocIndexOf");function yp(e,n,r,s){return Qn(e,function(l,d,w){n(s,l,r(l),w)}),s}u(yp,"baseAggregator");function Ta(e,n){return e&&On(n,Fe(n),e)}u(Ta,"baseAssign");function bp(e,n){return e&&On(n,ze(n),e)}u(bp,"baseAssignIn");function Fn(e,n,r){n=="__proto__"&&Qr?Qr(e,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[n]=r}u(Fn,"baseAssignValue");function hu(e,n){for(var r=-1,s=n.length,l=O(s),d=e==null;++r<s;)l[r]=d?t:Ku(e,n[r]);return l}u(hu,"baseAt");function dt(e,n,r){return e===e&&(r!==t&&(e=e<=r?e:r),n!==t&&(e=e>=n?e:n)),e}u(dt,"baseClamp");function pn(e,n,r,s,l,d){var w,S=n&$,I=n&te,L=n&H;if(r&&(w=l?r(e,s,l,d):r(e)),w!==t)return w;if(!be(e))return e;var F=ne(e);if(F){if(w=l1(e),!S)return Ge(e,w)}else{var D=We(e),k=D==ft||D==Lr;if(tt(e))return eo(e,S);if(D==on||D==Nn||k&&!l){if(w=I||k?{}:wo(e),!S)return I?jp(e,bp(w,e)):Qp(e,Ta(w,e))}else{if(!me[D])return l?e:{};w=c1(e,D,S)}}d||(d=new Sn);var K=d.get(e);if(K)return K;d.set(e,w),Yo(e)?e.forEach(function(Q){w.add(pn(Q,n,r,Q,e,d))}):Zo(e)&&e.forEach(function(Q,ae){w.set(ae,pn(Q,n,r,ae,e,d))});var J=L?I?Nu:Ru:I?ze:Fe,ue=F?t:J(e);return ln(ue||e,function(Q,ae){ue&&(ae=Q,Q=e[ae]),or(w,ae,pn(Q,n,r,ae,e,d))}),w}u(pn,"baseClone");function Sp(e){var n=Fe(e);return function(r){return Ra(r,e,n)}}u(Sp,"baseConforms");function Ra(e,n,r){var s=r.length;if(e==null)return!s;for(e=ve(e);s--;){var l=r[s],d=n[l],w=e[l];if(w===t&&!(l in e)||!d(w))return!1}return!0}u(Ra,"baseConformsTo");function Na(e,n,r){if(typeof e!="function")throw new cn(m);return gr(function(){e.apply(t,r)},n)}u(Na,"baseDelay");function fr(e,n,r,s){var l=-1,d=$r,w=!0,S=e.length,I=[],L=n.length;if(!S)return I;r&&(n=we(n,nn(r))),s?(d=Qi,w=!1):n.length>=f&&(d=tr,w=!1,n=new gt(n));e:for(;++l<S;){var F=e[l],D=r==null?F:r(F);if(F=s||F!==0?F:0,w&&D===D){for(var k=L;k--;)if(n[k]===D)continue e;I.push(F)}else d(n,D,s)||I.push(F)}return I}u(fr,"baseDifference");var Qn=uo(Mn),Ca=uo(_u,!0);function Ap(e,n){var r=!0;return Qn(e,function(s,l,d){return r=!!n(s,l,d),r}),r}u(Ap,"baseEvery");function ui(e,n,r){for(var s=-1,l=e.length;++s<l;){var d=e[s],w=n(d);if(w!=null&&(S===t?w===w&&!rn(w):r(w,S)))var S=w,I=d}return I}u(ui,"baseExtremum");function qp(e,n,r,s){var l=e.length;for(r=re(r),r<0&&(r=-r>l?0:l+r),s=s===t||s>l?l:re(s),s<0&&(s+=l),s=r>s?0:Jo(s);r<s;)e[r++]=n;return e}u(qp,"baseFill");function Pa(e,n){var r=[];return Qn(e,function(s,l,d){n(s,l,d)&&r.push(s)}),r}u(Pa,"baseFilter");function De(e,n,r,s,l){var d=-1,w=e.length;for(r||(r=p1),l||(l=[]);++d<w;){var S=e[d];n>0&&r(S)?n>1?De(S,n-1,r,s,l):Xn(l,S):s||(l[l.length]=S)}return l}u(De,"baseFlatten");var pu=so(),La=so(!0);function Mn(e,n){return e&&pu(e,n,Fe)}u(Mn,"baseForOwn");function _u(e,n){return e&&La(e,n,Fe)}u(_u,"baseForOwnRight");function si(e,n){return Zn(n,function(r){return Bn(e[r])})}u(si,"baseFunctions");function vt(e,n){n=et(n,e);for(var r=0,s=n.length;e!=null&&r<s;)e=e[Tn(n[r++])];return r&&r==s?e:t}u(vt,"baseGet");function Fa(e,n,r){var s=n(e);return ne(e)?s:Xn(s,r(e))}u(Fa,"baseGetAllKeys");function Be(e){return e==null?e===t?Fr:jt:pt&&pt in ve(e)?a1(e):w1(e)}u(Be,"baseGetTag");function gu(e,n){return e>n}u(gu,"baseGt");function Ep(e,n){return e!=null&&de.call(e,n)}u(Ep,"baseHas");function Ip(e,n){return e!=null&&n in ve(e)}u(Ip,"baseHasIn");function Mp(e,n,r){return e>=Ue(n,r)&&e<Ce(n,r)}u(Mp,"baseInRange");function du(e,n,r){for(var s=r?Qi:$r,l=e[0].length,d=e.length,w=d,S=O(d),I=1/0,L=[];w--;){var F=e[w];w&&n&&(F=we(F,nn(n))),I=Ue(F.length,I),S[w]=!r&&(n||l>=120&&F.length>=120)?new gt(w&&F):t}F=e[0];var D=-1,k=S[0];e:for(;++D<l&&L.length<I;){var K=F[D],J=n?n(K):K;if(K=r||K!==0?K:0,!(k?tr(k,J):s(L,J,r))){for(w=d;--w;){var ue=S[w];if(!(ue?tr(ue,J):s(e[w],J,r)))continue e}k&&k.push(J),L.push(K)}}return L}u(du,"baseIntersection");function Op(e,n,r,s){return Mn(e,function(l,d,w){n(s,r(l),d,w)}),s}u(Op,"baseInverter");function lr(e,n,r){n=et(n,e),e=Ao(e,n);var s=e==null?e:e[Tn(gn(n))];return s==null?t:en(s,e,r)}u(lr,"baseInvoke");function Da(e){return Ae(e)&&Be(e)==Nn}u(Da,"baseIsArguments");function Tp(e){return Ae(e)&&Be(e)==Kn}u(Tp,"baseIsArrayBuffer");function Rp(e){return Ae(e)&&Be(e)==ot}u(Rp,"baseIsDate");function cr(e,n,r,s,l){return e===n?!0:e==null||n==null||!Ae(e)&&!Ae(n)?e!==e&&n!==n:Np(e,n,r,s,cr,l)}u(cr,"baseIsEqual");function Np(e,n,r,s,l,d){var w=ne(e),S=ne(n),I=w?at:We(e),L=S?at:We(n);I=I==Nn?on:I,L=L==Nn?on:L;var F=I==on,D=L==on,k=I==L;if(k&&tt(e)){if(!tt(n))return!1;w=!0,F=!1}if(k&&!F)return d||(d=new Sn),w||$t(e)?vo(e,n,r,s,l,d):u1(e,n,I,r,s,l,d);if(!(r&oe)){var K=F&&de.call(e,"__wrapped__"),J=D&&de.call(n,"__wrapped__");if(K||J){var ue=K?e.value():e,Q=J?n.value():n;return d||(d=new Sn),l(ue,Q,r,s,d)}}return k?(d||(d=new Sn),s1(e,n,r,s,l,d)):!1}u(Np,"baseIsEqualDeep");function Cp(e){return Ae(e)&&We(e)==Ve}u(Cp,"baseIsMap");function vu(e,n,r,s){var l=r.length,d=l,w=!s;if(e==null)return!d;for(e=ve(e);l--;){var S=r[l];if(w&&S[2]?S[1]!==e[S[0]]:!(S[0]in e))return!1}for(;++l<d;){S=r[l];var I=S[0],L=e[I],F=S[1];if(w&&S[2]){if(L===t&&!(I in e))return!1}else{var D=new Sn;if(s)var k=s(L,F,I,e,n,D);if(!(k===t?cr(F,L,oe|he,s,D):k))return!1}}return!0}u(vu,"baseIsMatch");function Ua(e){if(!be(e)||g1(e))return!1;var n=Bn(e)?C0:Sh;return n.test(xt(e))}u(Ua,"baseIsNative");function Pp(e){return Ae(e)&&Be(e)==Cn}u(Pp,"baseIsRegExp");function Lp(e){return Ae(e)&&We(e)==Je}u(Lp,"baseIsSet");function Fp(e){return Ae(e)&&Si(e.length)&&!!xe[Be(e)]}u(Fp,"baseIsTypedArray");function Wa(e){return typeof e=="function"?e:e==null?Ke:typeof e=="object"?ne(e)?ka(e[0],e[1]):$a(e):ff(e)}u(Wa,"baseIteratee");function mu(e){if(!_r(e))return W0(e);var n=[];for(var r in ve(e))de.call(e,r)&&r!="constructor"&&n.push(r);return n}u(mu,"baseKeys");function Dp(e){if(!be(e))return x1(e);var n=_r(e),r=[];for(var s in e)s=="constructor"&&(n||!de.call(e,s))||r.push(s);return r}u(Dp,"baseKeysIn");function xu(e,n){return e<n}u(xu,"baseLt");function Ba(e,n){var r=-1,s=He(e)?O(e.length):[];return Qn(e,function(l,d,w){s[++r]=n(l,d,w)}),s}u(Ba,"baseMap");function $a(e){var n=Pu(e);return n.length==1&&n[0][2]?bo(n[0][0],n[0][1]):function(r){return r===e||vu(r,e,n)}}u($a,"baseMatches");function ka(e,n){return Fu(e)&&yo(n)?bo(Tn(e),n):function(r){var s=Ku(r,e);return s===t&&s===n?Zu(r,e):cr(n,s,oe|he)}}u(ka,"baseMatchesProperty");function ai(e,n,r,s,l){e!==n&&pu(n,function(d,w){if(l||(l=new Sn),be(d))Up(e,n,w,r,ai,s,l);else{var S=s?s(Uu(e,w),d,w+"",e,n,l):t;S===t&&(S=d),cu(e,w,S)}},ze)}u(ai,"baseMerge");function Up(e,n,r,s,l,d,w){var S=Uu(e,r),I=Uu(n,r),L=w.get(I);if(L){cu(e,r,L);return}var F=d?d(S,I,r+"",e,n,w):t,D=F===t;if(D){var k=ne(I),K=!k&&tt(I),J=!k&&!K&&$t(I);F=I,k||K||J?ne(S)?F=S:Me(S)?F=Ge(S):K?(D=!1,F=eo(I,!0)):J?(D=!1,F=no(I,!0)):F=[]:dr(I)||wt(I)?(F=S,wt(S)?F=Qo(S):(!be(S)||Bn(S))&&(F=wo(I))):D=!1}D&&(w.set(I,F),l(F,I,s,d,w),w.delete(I)),cu(e,r,F)}u(Up,"baseMergeDeep");function Ga(e,n){var r=e.length;if(r)return n+=n<0?r:0,Wn(n,r)?e[n]:t}u(Ga,"baseNth");function Ha(e,n,r){n.length?n=we(n,function(d){return ne(d)?function(w){return vt(w,d.length===1?d[0]:d)}:d}):n=[Ke];var s=-1;n=we(n,nn(Y()));var l=Ba(e,function(d,w,S){var I=we(n,function(L){return L(d)});return{criteria:I,index:++s,value:d}});return c0(l,function(d,w){return Jp(d,w,r)})}u(Ha,"baseOrderBy");function Wp(e,n){return za(e,n,function(r,s){return Zu(e,s)})}u(Wp,"basePick");function za(e,n,r){for(var s=-1,l=n.length,d={};++s<l;){var w=n[s],S=vt(e,w);r(S,w)&&hr(d,et(w,e),S)}return d}u(za,"basePickBy");function Bp(e){return function(n){return vt(n,e)}}u(Bp,"basePropertyDeep");function wu(e,n,r,s){var l=s?l0:Rt,d=-1,w=n.length,S=e;for(e===n&&(n=Ge(n)),r&&(S=we(e,nn(r)));++d<w;)for(var I=0,L=n[d],F=r?r(L):L;(I=l(S,F,I,s))>-1;)S!==e&&Jr.call(S,I,1),Jr.call(e,I,1);return e}u(wu,"basePullAll");function Ka(e,n){for(var r=e?n.length:0,s=r-1;r--;){var l=n[r];if(r==s||l!==d){var d=l;Wn(l)?Jr.call(e,l,1):Au(e,l)}}return e}u(Ka,"basePullAt");function yu(e,n){return e+ei(Ea()*(n-e+1))}u(yu,"baseRandom");function $p(e,n,r,s){for(var l=-1,d=Ce(jr((n-e)/(r||1)),0),w=O(d);d--;)w[s?d:++l]=e,e+=r;return w}u($p,"baseRange");function bu(e,n){var r="";if(!e||n<1||n>xn)return r;do n%2&&(r+=e),n=ei(n/2),n&&(e+=e);while(n);return r}u(bu,"baseRepeat");function se(e,n){return Wu(So(e,n,Ke),e+"")}u(se,"baseRest");function kp(e){return Oa(kt(e))}u(kp,"baseSample");function Gp(e,n){var r=kt(e);return vi(r,dt(n,0,r.length))}u(Gp,"baseSampleSize");function hr(e,n,r,s){if(!be(e))return e;n=et(n,e);for(var l=-1,d=n.length,w=d-1,S=e;S!=null&&++l<d;){var I=Tn(n[l]),L=r;if(I==="__proto__"||I==="constructor"||I==="prototype")return e;if(l!=w){var F=S[I];L=s?s(F,I,S):t,L===t&&(L=be(F)?F:Wn(n[l+1])?[]:{})}or(S,I,L),S=S[I]}return e}u(hr,"baseSet");var Za=ni?function(e,n){return ni.set(e,n),e}:Ke,Hp=Qr?function(e,n){return Qr(e,"toString",{configurable:!0,enumerable:!1,value:Yu(n),writable:!0})}:Ke;function zp(e){return vi(kt(e))}u(zp,"baseShuffle");function _n(e,n,r){var s=-1,l=e.length;n<0&&(n=-n>l?0:l+n),r=r>l?l:r,r<0&&(r+=l),l=n>r?0:r-n>>>0,n>>>=0;for(var d=O(l);++s<l;)d[s]=e[s+n];return d}u(_n,"baseSlice");function Kp(e,n){var r;return Qn(e,function(s,l,d){return r=n(s,l,d),!r}),!!r}u(Kp,"baseSome");function oi(e,n,r){var s=0,l=e==null?s:e.length;if(typeof n=="number"&&n===n&&l<=It){for(;s<l;){var d=s+l>>>1,w=e[d];w!==null&&!rn(w)&&(r?w<=n:w<n)?s=d+1:l=d}return l}return Su(e,n,Ke,r)}u(oi,"baseSortedIndex");function Su(e,n,r,s){var l=0,d=e==null?0:e.length;if(d===0)return 0;n=r(n);for(var w=n!==n,S=n===null,I=rn(n),L=n===t;l<d;){var F=ei((l+d)/2),D=r(e[F]),k=D!==t,K=D===null,J=D===D,ue=rn(D);if(w)var Q=s||J;else L?Q=J&&(s||k):S?Q=J&&k&&(s||!K):I?Q=J&&k&&!K&&(s||!ue):K||ue?Q=!1:Q=s?D<=n:D<n;Q?l=F+1:d=F}return Ue(d,Et)}u(Su,"baseSortedIndexBy");function Xa(e,n){for(var r=-1,s=e.length,l=0,d=[];++r<s;){var w=e[r],S=n?n(w):w;if(!r||!An(S,I)){var I=S;d[l++]=w===0?0:w}}return d}u(Xa,"baseSortedUniq");function Ya(e){return typeof e=="number"?e:rn(e)?st:+e}u(Ya,"baseToNumber");function tn(e){if(typeof e=="string")return e;if(ne(e))return we(e,tn)+"";if(rn(e))return Ia?Ia.call(e):"";var n=e+"";return n=="0"&&1/e==-Xe?"-0":n}u(tn,"baseToString");function jn(e,n,r){var s=-1,l=$r,d=e.length,w=!0,S=[],I=S;if(r)w=!1,l=Qi;else if(d>=f){var L=n?null:r1(e);if(L)return Gr(L);w=!1,l=tr,I=new gt}else I=n?[]:S;e:for(;++s<d;){var F=e[s],D=n?n(F):F;if(F=r||F!==0?F:0,w&&D===D){for(var k=I.length;k--;)if(I[k]===D)continue e;n&&I.push(D),S.push(F)}else l(I,D,r)||(I!==S&&I.push(D),S.push(F))}return S}u(jn,"baseUniq");function Au(e,n){return n=et(n,e),e=Ao(e,n),e==null||delete e[Tn(gn(n))]}u(Au,"baseUnset");function Va(e,n,r,s){return hr(e,n,r(vt(e,n)),s)}u(Va,"baseUpdate");function fi(e,n,r,s){for(var l=e.length,d=s?l:-1;(s?d--:++d<l)&&n(e[d],d,e););return r?_n(e,s?0:d,s?d+1:l):_n(e,s?d+1:0,s?l:d)}u(fi,"baseWhile");function Ja(e,n){var r=e;return r instanceof fe&&(r=r.value()),ji(n,function(s,l){return l.func.apply(l.thisArg,Xn([s],l.args))},r)}u(Ja,"baseWrapperValue");function qu(e,n,r){var s=e.length;if(s<2)return s?jn(e[0]):[];for(var l=-1,d=O(s);++l<s;)for(var w=e[l],S=-1;++S<s;)S!=l&&(d[l]=fr(d[l]||w,e[S],n,r));return jn(De(d,1),n,r)}u(qu,"baseXor");function Qa(e,n,r){for(var s=-1,l=e.length,d=n.length,w={};++s<l;){var S=s<d?n[s]:t;r(w,e[s],S)}return w}u(Qa,"baseZipObject");function Eu(e){return Me(e)?e:[]}u(Eu,"castArrayLikeObject");function Iu(e){return typeof e=="function"?e:Ke}u(Iu,"castFunction");function et(e,n){return ne(e)?e:Fu(e,n)?[e]:Mo(ge(e))}u(et,"castPath");var Zp=se;function nt(e,n,r){var s=e.length;return r=r===t?s:r,!n&&r>=s?e:_n(e,n,r)}u(nt,"castSlice");var ja=P0||function(e){return Le.clearTimeout(e)};function eo(e,n){if(n)return e.slice();var r=e.length,s=ya?ya(r):new e.constructor(r);return e.copy(s),s}u(eo,"cloneBuffer");function Mu(e){var n=new e.constructor(e.byteLength);return new Yr(n).set(new Yr(e)),n}u(Mu,"cloneArrayBuffer");function Xp(e,n){var r=n?Mu(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}u(Xp,"cloneDataView");function Yp(e){var n=new e.constructor(e.source,Ds.exec(e));return n.lastIndex=e.lastIndex,n}u(Yp,"cloneRegExp");function Vp(e){return ar?ve(ar.call(e)):{}}u(Vp,"cloneSymbol");function no(e,n){var r=n?Mu(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}u(no,"cloneTypedArray");function to(e,n){if(e!==n){var r=e!==t,s=e===null,l=e===e,d=rn(e),w=n!==t,S=n===null,I=n===n,L=rn(n);if(!S&&!L&&!d&&e>n||d&&w&&I&&!S&&!L||s&&w&&I||!r&&I||!l)return 1;if(!s&&!d&&!L&&e<n||L&&r&&l&&!s&&!d||S&&r&&l||!w&&l||!I)return-1}return 0}u(to,"compareAscending");function Jp(e,n,r){for(var s=-1,l=e.criteria,d=n.criteria,w=l.length,S=r.length;++s<w;){var I=to(l[s],d[s]);if(I){if(s>=S)return I;var L=r[s];return I*(L=="desc"?-1:1)}}return e.index-n.index}u(Jp,"compareMultiple");function ro(e,n,r,s){for(var l=-1,d=e.length,w=r.length,S=-1,I=n.length,L=Ce(d-w,0),F=O(I+L),D=!s;++S<I;)F[S]=n[S];for(;++l<w;)(D||l<d)&&(F[r[l]]=e[l]);for(;L--;)F[S++]=e[l++];return F}u(ro,"composeArgs");function io(e,n,r,s){for(var l=-1,d=e.length,w=-1,S=r.length,I=-1,L=n.length,F=Ce(d-S,0),D=O(F+L),k=!s;++l<F;)D[l]=e[l];for(var K=l;++I<L;)D[K+I]=n[I];for(;++w<S;)(k||l<d)&&(D[K+r[w]]=e[l++]);return D}u(io,"composeArgsRight");function Ge(e,n){var r=-1,s=e.length;for(n||(n=O(s));++r<s;)n[r]=e[r];return n}u(Ge,"copyArray");function On(e,n,r,s){var l=!r;r||(r={});for(var d=-1,w=n.length;++d<w;){var S=n[d],I=s?s(r[S],e[S],S,r,e):t;I===t&&(I=e[S]),l?Fn(r,S,I):or(r,S,I)}return r}u(On,"copyObject");function Qp(e,n){return On(e,Lu(e),n)}u(Qp,"copySymbols");function jp(e,n){return On(e,mo(e),n)}u(jp,"copySymbolsIn");function li(e,n){return function(r,s){var l=ne(r)?i0:yp,d=n?n():{};return l(r,e,Y(s,2),d)}}u(li,"createAggregator");function Ut(e){return se(function(n,r){var s=-1,l=r.length,d=l>1?r[l-1]:t,w=l>2?r[2]:t;for(d=e.length>3&&typeof d=="function"?(l--,d):t,w&&$e(r[0],r[1],w)&&(d=l<3?t:d,l=1),n=ve(n);++s<l;){var S=r[s];S&&e(n,S,s,d)}return n})}u(Ut,"createAssigner");function uo(e,n){return function(r,s){if(r==null)return r;if(!He(r))return e(r,s);for(var l=r.length,d=n?l:-1,w=ve(r);(n?d--:++d<l)&&s(w[d],d,w)!==!1;);return r}}u(uo,"createBaseEach");function so(e){return function(n,r,s){for(var l=-1,d=ve(n),w=s(n),S=w.length;S--;){var I=w[e?S:++l];if(r(d[I],I,d)===!1)break}return n}}u(so,"createBaseFor");function e1(e,n,r){var s=n&pe,l=pr(e);function d(){var w=this&&this!==Le&&this instanceof d?l:e;return w.apply(s?r:this,arguments)}return u(d,"wrapper"),d}u(e1,"createBind");function ao(e){return function(n){n=ge(n);var r=Nt(n)?bn(n):t,s=r?r[0]:n.charAt(0),l=r?nt(r,1).join(""):n.slice(1);return s[e]()+l}}u(ao,"createCaseFirst");function Wt(e){return function(n){return ji(af(sf(n).replace(Hh,"")),e,"")}}u(Wt,"createCompounder");function pr(e){return function(){var n=arguments;switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3]);case 5:return new e(n[0],n[1],n[2],n[3],n[4]);case 6:return new e(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new e(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var r=Dt(e.prototype),s=e.apply(r,n);return be(s)?s:r}}u(pr,"createCtor");function n1(e,n,r){var s=pr(e);function l(){for(var d=arguments.length,w=O(d),S=d,I=Bt(l);S--;)w[S]=arguments[S];var L=d<3&&w[0]!==I&&w[d-1]!==I?[]:Yn(w,I);if(d-=L.length,d<r)return ho(e,n,ci,l.placeholder,t,w,L,t,t,r-d);var F=this&&this!==Le&&this instanceof l?s:e;return en(F,this,w)}return u(l,"wrapper"),l}u(n1,"createCurry");function oo(e){return function(n,r,s){var l=ve(n);if(!He(n)){var d=Y(r,3);n=Fe(n),r=u(function(S){return d(l[S],S,l)},"predicate")}var w=e(n,r,s);return w>-1?l[d?n[w]:w]:t}}u(oo,"createFind");function fo(e){return Un(function(n){var r=n.length,s=r,l=hn.prototype.thru;for(e&&n.reverse();s--;){var d=n[s];if(typeof d!="function")throw new cn(m);if(l&&!w&&gi(d)=="wrapper")var w=new hn([],!0)}for(s=w?s:r;++s<r;){d=n[s];var S=gi(d),I=S=="wrapper"?Cu(d):t;I&&Du(I[0])&&I[1]==(an|Ie|Se|Rn)&&!I[4].length&&I[9]==1?w=w[gi(I[0])].apply(w,I[3]):w=d.length==1&&Du(d)?w[S]():w.thru(d)}return function(){var L=arguments,F=L[0];if(w&&L.length==1&&ne(F))return w.plant(F).value();for(var D=0,k=r?n[D].apply(this,L):F;++D<r;)k=n[D].call(this,k);return k}})}u(fo,"createFlow");function ci(e,n,r,s,l,d,w,S,I,L){var F=n&an,D=n&pe,k=n&Te,K=n&(Ie|ie),J=n&bt,ue=k?t:pr(e);function Q(){for(var ae=arguments.length,ce=O(ae),un=ae;un--;)ce[un]=arguments[un];if(K)var ke=Bt(Q),sn=p0(ce,ke);if(s&&(ce=ro(ce,s,l,K)),d&&(ce=io(ce,d,w,K)),ae-=sn,K&&ae<L){var Oe=Yn(ce,ke);return ho(e,n,ci,Q.placeholder,r,ce,Oe,S,I,L-ae)}var qn=D?r:this,kn=k?qn[e]:e;return ae=ce.length,S?ce=y1(ce,S):J&&ae>1&&ce.reverse(),F&&I<ae&&(ce.length=I),this&&this!==Le&&this instanceof Q&&(kn=ue||pr(kn)),kn.apply(qn,ce)}return u(Q,"wrapper"),Q}u(ci,"createHybrid");function lo(e,n){return function(r,s){return Op(r,e,n(s),{})}}u(lo,"createInverter");function hi(e,n){return function(r,s){var l;if(r===t&&s===t)return n;if(r!==t&&(l=r),s!==t){if(l===t)return s;typeof r=="string"||typeof s=="string"?(r=tn(r),s=tn(s)):(r=Ya(r),s=Ya(s)),l=e(r,s)}return l}}u(hi,"createMathOperation");function Ou(e){return Un(function(n){return n=we(n,nn(Y())),se(function(r){var s=this;return e(n,function(l){return en(l,s,r)})})})}u(Ou,"createOver");function pi(e,n){n=n===t?" ":tn(n);var r=n.length;if(r<2)return r?bu(n,e):n;var s=bu(n,jr(e/Ct(n)));return Nt(n)?nt(bn(s),0,e).join(""):s.slice(0,e)}u(pi,"createPadding");function t1(e,n,r,s){var l=n&pe,d=pr(e);function w(){for(var S=-1,I=arguments.length,L=-1,F=s.length,D=O(F+I),k=this&&this!==Le&&this instanceof w?d:e;++L<F;)D[L]=s[L];for(;I--;)D[L++]=arguments[++S];return en(k,l?r:this,D)}return u(w,"wrapper"),w}u(t1,"createPartial");function co(e){return function(n,r,s){return s&&typeof s!="number"&&$e(n,r,s)&&(r=s=t),n=$n(n),r===t?(r=n,n=0):r=$n(r),s=s===t?n<r?1:-1:$n(s),$p(n,r,s,e)}}u(co,"createRange");function _i(e){return function(n,r){return typeof n=="string"&&typeof r=="string"||(n=dn(n),r=dn(r)),e(n,r)}}u(_i,"createRelationalOperation");function ho(e,n,r,s,l,d,w,S,I,L){var F=n&Ie,D=F?w:t,k=F?t:w,K=F?d:t,J=F?t:d;n|=F?Se:In,n&=~(F?In:Se),n&En||(n&=~(pe|Te));var ue=[e,n,l,K,D,J,k,S,I,L],Q=r.apply(t,ue);return Du(e)&&qo(Q,ue),Q.placeholder=s,Eo(Q,e,n)}u(ho,"createRecurry");function Tu(e){var n=Ne[e];return function(r,s){if(r=dn(r),s=s==null?0:Ue(re(s),292),s&&qa(r)){var l=(ge(r)+"e").split("e"),d=n(l[0]+"e"+(+l[1]+s));return l=(ge(d)+"e").split("e"),+(l[0]+"e"+(+l[1]-s))}return n(r)}}u(Tu,"createRound");var r1=Lt&&1/Gr(new Lt([,-0]))[1]==Xe?function(e){return new Lt(e)}:Qu;function po(e){return function(n){var r=We(n);return r==Ve?su(n):r==Je?w0(n):h0(n,e(n))}}u(po,"createToPairs");function Dn(e,n,r,s,l,d,w,S){var I=n&Te;if(!I&&typeof e!="function")throw new cn(m);var L=s?s.length:0;if(L||(n&=~(Se|In),s=l=t),w=w===t?w:Ce(re(w),0),S=S===t?S:re(S),L-=l?l.length:0,n&In){var F=s,D=l;s=l=t}var k=I?t:Cu(e),K=[e,n,r,s,l,F,D,d,w,S];if(k&&m1(K,k),e=K[0],n=K[1],r=K[2],s=K[3],l=K[4],S=K[9]=K[9]===t?I?0:e.length:Ce(K[9]-L,0),!S&&n&(Ie|ie)&&(n&=~(Ie|ie)),!n||n==pe)var J=e1(e,n,r);else n==Ie||n==ie?J=n1(e,n,S):(n==Se||n==(pe|Se))&&!l.length?J=t1(e,n,r,s):J=ci.apply(t,K);var ue=k?Za:qo;return Eo(ue(J,K),e,n)}u(Dn,"createWrap");function _o(e,n,r,s){return e===t||An(e,Pt[r])&&!de.call(s,r)?n:e}u(_o,"customDefaultsAssignIn");function go(e,n,r,s,l,d){return be(e)&&be(n)&&(d.set(n,e),ai(e,n,t,go,d),d.delete(n)),e}u(go,"customDefaultsMerge");function i1(e){return dr(e)?t:e}u(i1,"customOmitClone");function vo(e,n,r,s,l,d){var w=r&oe,S=e.length,I=n.length;if(S!=I&&!(w&&I>S))return!1;var L=d.get(e),F=d.get(n);if(L&&F)return L==n&&F==e;var D=-1,k=!0,K=r&he?new gt:t;for(d.set(e,n),d.set(n,e);++D<S;){var J=e[D],ue=n[D];if(s)var Q=w?s(ue,J,D,n,e,d):s(J,ue,D,e,n,d);if(Q!==t){if(Q)continue;k=!1;break}if(K){if(!eu(n,function(ae,ce){if(!tr(K,ce)&&(J===ae||l(J,ae,r,s,d)))return K.push(ce)})){k=!1;break}}else if(!(J===ue||l(J,ue,r,s,d))){k=!1;break}}return d.delete(e),d.delete(n),k}u(vo,"equalArrays");function u1(e,n,r,s,l,d,w){switch(r){case o:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case Kn:return!(e.byteLength!=n.byteLength||!d(new Yr(e),new Yr(n)));case Hn:case ot:case wn:return An(+e,+n);case zn:return e.name==n.name&&e.message==n.message;case Cn:case lt:return e==n+"";case Ve:var S=su;case Je:var I=s&oe;if(S||(S=Gr),e.size!=n.size&&!I)return!1;var L=w.get(e);if(L)return L==n;s|=he,w.set(e,n);var F=vo(S(e),S(n),s,l,d,w);return w.delete(e),F;case Mt:if(ar)return ar.call(e)==ar.call(n)}return!1}u(u1,"equalByTag");function s1(e,n,r,s,l,d){var w=r&oe,S=Ru(e),I=S.length,L=Ru(n),F=L.length;if(I!=F&&!w)return!1;for(var D=I;D--;){var k=S[D];if(!(w?k in n:de.call(n,k)))return!1}var K=d.get(e),J=d.get(n);if(K&&J)return K==n&&J==e;var ue=!0;d.set(e,n),d.set(n,e);for(var Q=w;++D<I;){k=S[D];var ae=e[k],ce=n[k];if(s)var un=w?s(ce,ae,k,n,e,d):s(ae,ce,k,e,n,d);if(!(un===t?ae===ce||l(ae,ce,r,s,d):un)){ue=!1;break}Q||(Q=k=="constructor")}if(ue&&!Q){var ke=e.constructor,sn=n.constructor;ke!=sn&&"constructor"in e&&"constructor"in n&&!(typeof ke=="function"&&ke instanceof ke&&typeof sn=="function"&&sn instanceof sn)&&(ue=!1)}return d.delete(e),d.delete(n),ue}u(s1,"equalObjects");function Un(e){return Wu(So(e,t,No),e+"")}u(Un,"flatRest");function Ru(e){return Fa(e,Fe,Lu)}u(Ru,"getAllKeys");function Nu(e){return Fa(e,ze,mo)}u(Nu,"getAllKeysIn");var Cu=ni?function(e){return ni.get(e)}:Qu;function gi(e){for(var n=e.name+"",r=Ft[n],s=de.call(Ft,n)?r.length:0;s--;){var l=r[s],d=l.func;if(d==null||d==e)return l.name}return n}u(gi,"getFuncName");function Bt(e){var n=de.call(g,"placeholder")?g:e;return n.placeholder}u(Bt,"getHolder");function Y(){var e=g.iteratee||Vu;return e=e===Vu?Wa:e,arguments.length?e(arguments[0],arguments[1]):e}u(Y,"getIteratee");function di(e,n){var r=e.__data__;return _1(n)?r[typeof n=="string"?"string":"hash"]:r.map}u(di,"getMapData");function Pu(e){for(var n=Fe(e),r=n.length;r--;){var s=n[r],l=e[s];n[r]=[s,l,yo(l)]}return n}u(Pu,"getMatchData");function mt(e,n){var r=v0(e,n);return Ua(r)?r:t}u(mt,"getNative");function a1(e){var n=de.call(e,pt),r=e[pt];try{e[pt]=t;var s=!0}catch{}var l=Zr.call(e);return s&&(n?e[pt]=r:delete e[pt]),l}u(a1,"getRawTag");var Lu=ou?function(e){return e==null?[]:(e=ve(e),Zn(ou(e),function(n){return Sa.call(e,n)}))}:ju,mo=ou?function(e){for(var n=[];e;)Xn(n,Lu(e)),e=Vr(e);return n}:ju,We=Be;(fu&&We(new fu(new ArrayBuffer(1)))!=o||ir&&We(new ir)!=Ve||lu&&We(lu.resolve())!=er||Lt&&We(new Lt)!=Je||ur&&We(new ur)!=ct)&&(We=u(function(e){var n=Be(e),r=n==on?e.constructor:t,s=r?xt(r):"";if(s)switch(s){case G0:return o;case H0:return Ve;case z0:return er;case K0:return Je;case Z0:return ct}return n},"getTag"));function o1(e,n,r){for(var s=-1,l=r.length;++s<l;){var d=r[s],w=d.size;switch(d.type){case"drop":e+=w;break;case"dropRight":n-=w;break;case"take":n=Ue(n,e+w);break;case"takeRight":e=Ce(e,n-w);break}}return{start:e,end:n}}u(o1,"getView");function f1(e){var n=e.match(gh);return n?n[1].split(dh):[]}u(f1,"getWrapDetails");function xo(e,n,r){n=et(n,e);for(var s=-1,l=n.length,d=!1;++s<l;){var w=Tn(n[s]);if(!(d=e!=null&&r(e,w)))break;e=e[w]}return d||++s!=l?d:(l=e==null?0:e.length,!!l&&Si(l)&&Wn(w,l)&&(ne(e)||wt(e)))}u(xo,"hasPath");function l1(e){var n=e.length,r=new e.constructor(n);return n&&typeof e[0]=="string"&&de.call(e,"index")&&(r.index=e.index,r.input=e.input),r}u(l1,"initCloneArray");function wo(e){return typeof e.constructor=="function"&&!_r(e)?Dt(Vr(e)):{}}u(wo,"initCloneObject");function c1(e,n,r){var s=e.constructor;switch(n){case Kn:return Mu(e);case Hn:case ot:return new s(+e);case o:return Xp(e,r);case h:case p:case b:case A:case M:case R:case P:case W:case Z:return no(e,r);case Ve:return new s;case wn:case lt:return new s(e);case Cn:return Yp(e);case Je:return new s;case Mt:return Vp(e)}}u(c1,"initCloneByTag");function h1(e,n){var r=n.length;if(!r)return e;var s=r-1;return n[s]=(r>1?"& ":"")+n[s],n=n.join(r>2?", ":" "),e.replace(_h,`{
/* [wrapped with `+n+`] */
`)}u(h1,"insertWrapDetails");function p1(e){return ne(e)||wt(e)||!!(Aa&&e&&e[Aa])}u(p1,"isFlattenable");function Wn(e,n){var r=typeof e;return n=n??xn,!!n&&(r=="number"||r!="symbol"&&qh.test(e))&&e>-1&&e%1==0&&e<n}u(Wn,"isIndex");function $e(e,n,r){if(!be(r))return!1;var s=typeof n;return(s=="number"?He(r)&&Wn(n,r.length):s=="string"&&n in r)?An(r[n],e):!1}u($e,"isIterateeCall");function Fu(e,n){if(ne(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||rn(e)?!0:lh.test(e)||!fh.test(e)||n!=null&&e in ve(n)}u(Fu,"isKey");function _1(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}u(_1,"isKeyable");function Du(e){var n=gi(e),r=g[n];if(typeof r!="function"||!(n in fe.prototype))return!1;if(e===r)return!0;var s=Cu(r);return!!s&&e===s[0]}u(Du,"isLaziable");function g1(e){return!!wa&&wa in e}u(g1,"isMasked");var d1=zr?Bn:es;function _r(e){var n=e&&e.constructor,r=typeof n=="function"&&n.prototype||Pt;return e===r}u(_r,"isPrototype");function yo(e){return e===e&&!be(e)}u(yo,"isStrictComparable");function bo(e,n){return function(r){return r==null?!1:r[e]===n&&(n!==t||e in ve(r))}}u(bo,"matchesStrictComparable");function v1(e){var n=yi(e,function(s){return r.size===T&&r.clear(),s}),r=n.cache;return n}u(v1,"memoizeCapped");function m1(e,n){var r=e[1],s=n[1],l=r|s,d=l<(pe|Te|an),w=s==an&&r==Ie||s==an&&r==Rn&&e[7].length<=n[8]||s==(an|Rn)&&n[7].length<=n[8]&&r==Ie;if(!(d||w))return e;s&pe&&(e[2]=n[2],l|=r&pe?0:En);var S=n[3];if(S){var I=e[3];e[3]=I?ro(I,S,n[4]):S,e[4]=I?Yn(e[3],U):n[4]}return S=n[5],S&&(I=e[5],e[5]=I?io(I,S,n[6]):S,e[6]=I?Yn(e[5],U):n[6]),S=n[7],S&&(e[7]=S),s&an&&(e[8]=e[8]==null?n[8]:Ue(e[8],n[8])),e[9]==null&&(e[9]=n[9]),e[0]=n[0],e[1]=l,e}u(m1,"mergeData");function x1(e){var n=[];if(e!=null)for(var r in ve(e))n.push(r);return n}u(x1,"nativeKeysIn");function w1(e){return Zr.call(e)}u(w1,"objectToString");function So(e,n,r){return n=Ce(n===t?e.length-1:n,0),function(){for(var s=arguments,l=-1,d=Ce(s.length-n,0),w=O(d);++l<d;)w[l]=s[n+l];l=-1;for(var S=O(n+1);++l<n;)S[l]=s[l];return S[n]=r(w),en(e,this,S)}}u(So,"overRest");function Ao(e,n){return n.length<2?e:vt(e,_n(n,0,-1))}u(Ao,"parent");function y1(e,n){for(var r=e.length,s=Ue(n.length,r),l=Ge(e);s--;){var d=n[s];e[s]=Wn(d,r)?l[d]:t}return e}u(y1,"reorder");function Uu(e,n){if(!(n==="constructor"&&typeof e[n]=="function")&&n!="__proto__")return e[n]}u(Uu,"safeGet");var qo=Io(Za),gr=F0||function(e,n){return Le.setTimeout(e,n)},Wu=Io(Hp);function Eo(e,n,r){var s=n+"";return Wu(e,h1(s,b1(f1(s),r)))}u(Eo,"setWrapToString");function Io(e){var n=0,r=0;return function(){var s=B0(),l=Vt-(s-r);if(r=s,l>0){if(++n>=Nr)return arguments[0]}else n=0;return e.apply(t,arguments)}}u(Io,"shortOut");function vi(e,n){var r=-1,s=e.length,l=s-1;for(n=n===t?s:n;++r<n;){var d=yu(r,l),w=e[d];e[d]=e[r],e[r]=w}return e.length=n,e}u(vi,"shuffleSelf");var Mo=v1(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(ch,function(r,s,l,d){n.push(l?d.replace(xh,"$1"):s||r)}),n});function Tn(e){if(typeof e=="string"||rn(e))return e;var n=e+"";return n=="0"&&1/e==-Xe?"-0":n}u(Tn,"toKey");function xt(e){if(e!=null){try{return Kr.call(e)}catch{}try{return e+""}catch{}}return""}u(xt,"toSource");function b1(e,n){return ln(Jt,function(r){var s="_."+r[0];n&r[1]&&!$r(e,s)&&e.push(s)}),e.sort()}u(b1,"updateWrapDetails");function Oo(e){if(e instanceof fe)return e.clone();var n=new hn(e.__wrapped__,e.__chain__);return n.__actions__=Ge(e.__actions__),n.__index__=e.__index__,n.__values__=e.__values__,n}u(Oo,"wrapperClone");function S1(e,n,r){(r?$e(e,n,r):n===t)?n=1:n=Ce(re(n),0);var s=e==null?0:e.length;if(!s||n<1)return[];for(var l=0,d=0,w=O(jr(s/n));l<s;)w[d++]=_n(e,l,l+=n);return w}u(S1,"chunk");function A1(e){for(var n=-1,r=e==null?0:e.length,s=0,l=[];++n<r;){var d=e[n];d&&(l[s++]=d)}return l}u(A1,"compact");function q1(){var e=arguments.length;if(!e)return[];for(var n=O(e-1),r=arguments[0],s=e;s--;)n[s-1]=arguments[s];return Xn(ne(r)?Ge(r):[r],De(n,1))}u(q1,"concat");var E1=se(function(e,n){return Me(e)?fr(e,De(n,1,Me,!0)):[]}),I1=se(function(e,n){var r=gn(n);return Me(r)&&(r=t),Me(e)?fr(e,De(n,1,Me,!0),Y(r,2)):[]}),M1=se(function(e,n){var r=gn(n);return Me(r)&&(r=t),Me(e)?fr(e,De(n,1,Me,!0),t,r):[]});function O1(e,n,r){var s=e==null?0:e.length;return s?(n=r||n===t?1:re(n),_n(e,n<0?0:n,s)):[]}u(O1,"drop");function T1(e,n,r){var s=e==null?0:e.length;return s?(n=r||n===t?1:re(n),n=s-n,_n(e,0,n<0?0:n)):[]}u(T1,"dropRight");function R1(e,n){return e&&e.length?fi(e,Y(n,3),!0,!0):[]}u(R1,"dropRightWhile");function N1(e,n){return e&&e.length?fi(e,Y(n,3),!0):[]}u(N1,"dropWhile");function C1(e,n,r,s){var l=e==null?0:e.length;return l?(r&&typeof r!="number"&&$e(e,n,r)&&(r=0,s=l),qp(e,n,r,s)):[]}u(C1,"fill");function To(e,n,r){var s=e==null?0:e.length;if(!s)return-1;var l=r==null?0:re(r);return l<0&&(l=Ce(s+l,0)),kr(e,Y(n,3),l)}u(To,"findIndex");function Ro(e,n,r){var s=e==null?0:e.length;if(!s)return-1;var l=s-1;return r!==t&&(l=re(r),l=r<0?Ce(s+l,0):Ue(l,s-1)),kr(e,Y(n,3),l,!0)}u(Ro,"findLastIndex");function No(e){var n=e==null?0:e.length;return n?De(e,1):[]}u(No,"flatten");function P1(e){var n=e==null?0:e.length;return n?De(e,Xe):[]}u(P1,"flattenDeep");function L1(e,n){var r=e==null?0:e.length;return r?(n=n===t?1:re(n),De(e,n)):[]}u(L1,"flattenDepth");function F1(e){for(var n=-1,r=e==null?0:e.length,s={};++n<r;){var l=e[n];s[l[0]]=l[1]}return s}u(F1,"fromPairs");function Co(e){return e&&e.length?e[0]:t}u(Co,"head");function D1(e,n,r){var s=e==null?0:e.length;if(!s)return-1;var l=r==null?0:re(r);return l<0&&(l=Ce(s+l,0)),Rt(e,n,l)}u(D1,"indexOf");function U1(e){var n=e==null?0:e.length;return n?_n(e,0,-1):[]}u(U1,"initial");var W1=se(function(e){var n=we(e,Eu);return n.length&&n[0]===e[0]?du(n):[]}),B1=se(function(e){var n=gn(e),r=we(e,Eu);return n===gn(r)?n=t:r.pop(),r.length&&r[0]===e[0]?du(r,Y(n,2)):[]}),$1=se(function(e){var n=gn(e),r=we(e,Eu);return n=typeof n=="function"?n:t,n&&r.pop(),r.length&&r[0]===e[0]?du(r,t,n):[]});function k1(e,n){return e==null?"":U0.call(e,n)}u(k1,"join");function gn(e){var n=e==null?0:e.length;return n?e[n-1]:t}u(gn,"last");function G1(e,n,r){var s=e==null?0:e.length;if(!s)return-1;var l=s;return r!==t&&(l=re(r),l=l<0?Ce(s+l,0):Ue(l,s-1)),n===n?b0(e,n,l):kr(e,ha,l,!0)}u(G1,"lastIndexOf");function H1(e,n){return e&&e.length?Ga(e,re(n)):t}u(H1,"nth");var z1=se(Po);function Po(e,n){return e&&e.length&&n&&n.length?wu(e,n):e}u(Po,"pullAll");function K1(e,n,r){return e&&e.length&&n&&n.length?wu(e,n,Y(r,2)):e}u(K1,"pullAllBy");function Z1(e,n,r){return e&&e.length&&n&&n.length?wu(e,n,t,r):e}u(Z1,"pullAllWith");var X1=Un(function(e,n){var r=e==null?0:e.length,s=hu(e,n);return Ka(e,we(n,function(l){return Wn(l,r)?+l:l}).sort(to)),s});function Y1(e,n){var r=[];if(!(e&&e.length))return r;var s=-1,l=[],d=e.length;for(n=Y(n,3);++s<d;){var w=e[s];n(w,s,e)&&(r.push(w),l.push(s))}return Ka(e,l),r}u(Y1,"remove");function Bu(e){return e==null?e:k0.call(e)}u(Bu,"reverse");function V1(e,n,r){var s=e==null?0:e.length;return s?(r&&typeof r!="number"&&$e(e,n,r)?(n=0,r=s):(n=n==null?0:re(n),r=r===t?s:re(r)),_n(e,n,r)):[]}u(V1,"slice");function J1(e,n){return oi(e,n)}u(J1,"sortedIndex");function Q1(e,n,r){return Su(e,n,Y(r,2))}u(Q1,"sortedIndexBy");function j1(e,n){var r=e==null?0:e.length;if(r){var s=oi(e,n);if(s<r&&An(e[s],n))return s}return-1}u(j1,"sortedIndexOf");function e_(e,n){return oi(e,n,!0)}u(e_,"sortedLastIndex");function n_(e,n,r){return Su(e,n,Y(r,2),!0)}u(n_,"sortedLastIndexBy");function t_(e,n){var r=e==null?0:e.length;if(r){var s=oi(e,n,!0)-1;if(An(e[s],n))return s}return-1}u(t_,"sortedLastIndexOf");function r_(e){return e&&e.length?Xa(e):[]}u(r_,"sortedUniq");function i_(e,n){return e&&e.length?Xa(e,Y(n,2)):[]}u(i_,"sortedUniqBy");function u_(e){var n=e==null?0:e.length;return n?_n(e,1,n):[]}u(u_,"tail");function s_(e,n,r){return e&&e.length?(n=r||n===t?1:re(n),_n(e,0,n<0?0:n)):[]}u(s_,"take");function a_(e,n,r){var s=e==null?0:e.length;return s?(n=r||n===t?1:re(n),n=s-n,_n(e,n<0?0:n,s)):[]}u(a_,"takeRight");function o_(e,n){return e&&e.length?fi(e,Y(n,3),!1,!0):[]}u(o_,"takeRightWhile");function f_(e,n){return e&&e.length?fi(e,Y(n,3)):[]}u(f_,"takeWhile");var l_=se(function(e){return jn(De(e,1,Me,!0))}),c_=se(function(e){var n=gn(e);return Me(n)&&(n=t),jn(De(e,1,Me,!0),Y(n,2))}),h_=se(function(e){var n=gn(e);return n=typeof n=="function"?n:t,jn(De(e,1,Me,!0),t,n)});function p_(e){return e&&e.length?jn(e):[]}u(p_,"uniq");function __(e,n){return e&&e.length?jn(e,Y(n,2)):[]}u(__,"uniqBy");function g_(e,n){return n=typeof n=="function"?n:t,e&&e.length?jn(e,t,n):[]}u(g_,"uniqWith");function $u(e){if(!(e&&e.length))return[];var n=0;return e=Zn(e,function(r){if(Me(r))return n=Ce(r.length,n),!0}),iu(n,function(r){return we(e,nu(r))})}u($u,"unzip");function Lo(e,n){if(!(e&&e.length))return[];var r=$u(e);return n==null?r:we(r,function(s){return en(n,t,s)})}u(Lo,"unzipWith");var d_=se(function(e,n){return Me(e)?fr(e,n):[]}),v_=se(function(e){return qu(Zn(e,Me))}),m_=se(function(e){var n=gn(e);return Me(n)&&(n=t),qu(Zn(e,Me),Y(n,2))}),x_=se(function(e){var n=gn(e);return n=typeof n=="function"?n:t,qu(Zn(e,Me),t,n)}),w_=se($u);function y_(e,n){return Qa(e||[],n||[],or)}u(y_,"zipObject");function b_(e,n){return Qa(e||[],n||[],hr)}u(b_,"zipObjectDeep");var S_=se(function(e){var n=e.length,r=n>1?e[n-1]:t;return r=typeof r=="function"?(e.pop(),r):t,Lo(e,r)});function Fo(e){var n=g(e);return n.__chain__=!0,n}u(Fo,"chain");function A_(e,n){return n(e),e}u(A_,"tap");function mi(e,n){return n(e)}u(mi,"thru");var q_=Un(function(e){var n=e.length,r=n?e[0]:0,s=this.__wrapped__,l=u(function(d){return hu(d,e)},"interceptor");return n>1||this.__actions__.length||!(s instanceof fe)||!Wn(r)?this.thru(l):(s=s.slice(r,+r+(n?1:0)),s.__actions__.push({func:mi,args:[l],thisArg:t}),new hn(s,this.__chain__).thru(function(d){return n&&!d.length&&d.push(t),d}))});function E_(){return Fo(this)}u(E_,"wrapperChain");function I_(){return new hn(this.value(),this.__chain__)}u(I_,"wrapperCommit");function M_(){this.__values__===t&&(this.__values__=Vo(this.value()));var e=this.__index__>=this.__values__.length,n=e?t:this.__values__[this.__index__++];return{done:e,value:n}}u(M_,"wrapperNext");function O_(){return this}u(O_,"wrapperToIterator");function T_(e){for(var n,r=this;r instanceof ri;){var s=Oo(r);s.__index__=0,s.__values__=t,n?l.__wrapped__=s:n=s;var l=s;r=r.__wrapped__}return l.__wrapped__=e,n}u(T_,"wrapperPlant");function R_(){var e=this.__wrapped__;if(e instanceof fe){var n=e;return this.__actions__.length&&(n=new fe(this)),n=n.reverse(),n.__actions__.push({func:mi,args:[Bu],thisArg:t}),new hn(n,this.__chain__)}return this.thru(Bu)}u(R_,"wrapperReverse");function N_(){return Ja(this.__wrapped__,this.__actions__)}u(N_,"wrapperValue");var C_=li(function(e,n,r){de.call(e,r)?++e[r]:Fn(e,r,1)});function P_(e,n,r){var s=ne(e)?la:Ap;return r&&$e(e,n,r)&&(n=t),s(e,Y(n,3))}u(P_,"every");function L_(e,n){var r=ne(e)?Zn:Pa;return r(e,Y(n,3))}u(L_,"filter");var F_=oo(To),D_=oo(Ro);function U_(e,n){return De(xi(e,n),1)}u(U_,"flatMap");function W_(e,n){return De(xi(e,n),Xe)}u(W_,"flatMapDeep");function B_(e,n,r){return r=r===t?1:re(r),De(xi(e,n),r)}u(B_,"flatMapDepth");function Do(e,n){var r=ne(e)?ln:Qn;return r(e,Y(n,3))}u(Do,"forEach");function Uo(e,n){var r=ne(e)?u0:Ca;return r(e,Y(n,3))}u(Uo,"forEachRight");var $_=li(function(e,n,r){de.call(e,r)?e[r].push(n):Fn(e,r,[n])});function k_(e,n,r,s){e=He(e)?e:kt(e),r=r&&!s?re(r):0;var l=e.length;return r<0&&(r=Ce(l+r,0)),Ai(e)?r<=l&&e.indexOf(n,r)>-1:!!l&&Rt(e,n,r)>-1}u(k_,"includes");var G_=se(function(e,n,r){var s=-1,l=typeof n=="function",d=He(e)?O(e.length):[];return Qn(e,function(w){d[++s]=l?en(n,w,r):lr(w,n,r)}),d}),H_=li(function(e,n,r){Fn(e,r,n)});function xi(e,n){var r=ne(e)?we:Ba;return r(e,Y(n,3))}u(xi,"map");function z_(e,n,r,s){return e==null?[]:(ne(n)||(n=n==null?[]:[n]),r=s?t:r,ne(r)||(r=r==null?[]:[r]),Ha(e,n,r))}u(z_,"orderBy");var K_=li(function(e,n,r){e[r?0:1].push(n)},function(){return[[],[]]});function Z_(e,n,r){var s=ne(e)?ji:_a,l=arguments.length<3;return s(e,Y(n,4),r,l,Qn)}u(Z_,"reduce");function X_(e,n,r){var s=ne(e)?s0:_a,l=arguments.length<3;return s(e,Y(n,4),r,l,Ca)}u(X_,"reduceRight");function Y_(e,n){var r=ne(e)?Zn:Pa;return r(e,bi(Y(n,3)))}u(Y_,"reject");function V_(e){var n=ne(e)?Oa:kp;return n(e)}u(V_,"sample");function J_(e,n,r){(r?$e(e,n,r):n===t)?n=1:n=re(n);var s=ne(e)?xp:Gp;return s(e,n)}u(J_,"sampleSize");function Q_(e){var n=ne(e)?wp:zp;return n(e)}u(Q_,"shuffle");function j_(e){if(e==null)return 0;if(He(e))return Ai(e)?Ct(e):e.length;var n=We(e);return n==Ve||n==Je?e.size:mu(e).length}u(j_,"size");function eg(e,n,r){var s=ne(e)?eu:Kp;return r&&$e(e,n,r)&&(n=t),s(e,Y(n,3))}u(eg,"some");var ng=se(function(e,n){if(e==null)return[];var r=n.length;return r>1&&$e(e,n[0],n[1])?n=[]:r>2&&$e(n[0],n[1],n[2])&&(n=[n[0]]),Ha(e,De(n,1),[])}),wi=L0||function(){return Le.Date.now()};function tg(e,n){if(typeof n!="function")throw new cn(m);return e=re(e),function(){if(--e<1)return n.apply(this,arguments)}}u(tg,"after");function Wo(e,n,r){return n=r?t:n,n=e&&n==null?e.length:n,Dn(e,an,t,t,t,t,n)}u(Wo,"ary");function Bo(e,n){var r;if(typeof n!="function")throw new cn(m);return e=re(e),function(){return--e>0&&(r=n.apply(this,arguments)),e<=1&&(n=t),r}}u(Bo,"before");var ku=se(function(e,n,r){var s=pe;if(r.length){var l=Yn(r,Bt(ku));s|=Se}return Dn(e,s,n,r,l)}),$o=se(function(e,n,r){var s=pe|Te;if(r.length){var l=Yn(r,Bt($o));s|=Se}return Dn(n,s,e,r,l)});function ko(e,n,r){n=r?t:n;var s=Dn(e,Ie,t,t,t,t,t,n);return s.placeholder=ko.placeholder,s}u(ko,"curry");function Go(e,n,r){n=r?t:n;var s=Dn(e,ie,t,t,t,t,t,n);return s.placeholder=Go.placeholder,s}u(Go,"curryRight");function Ho(e,n,r){var s,l,d,w,S,I,L=0,F=!1,D=!1,k=!0;if(typeof e!="function")throw new cn(m);n=dn(n)||0,be(r)&&(F=!!r.leading,D="maxWait"in r,d=D?Ce(dn(r.maxWait)||0,n):d,k="trailing"in r?!!r.trailing:k);function K(Oe){var qn=s,kn=l;return s=l=t,L=Oe,w=e.apply(kn,qn),w}u(K,"invokeFunc");function J(Oe){return L=Oe,S=gr(ae,n),F?K(Oe):w}u(J,"leadingEdge");function ue(Oe){var qn=Oe-I,kn=Oe-L,lf=n-qn;return D?Ue(lf,d-kn):lf}u(ue,"remainingWait");function Q(Oe){var qn=Oe-I,kn=Oe-L;return I===t||qn>=n||qn<0||D&&kn>=d}u(Q,"shouldInvoke");function ae(){var Oe=wi();if(Q(Oe))return ce(Oe);S=gr(ae,ue(Oe))}u(ae,"timerExpired");function ce(Oe){return S=t,k&&s?K(Oe):(s=l=t,w)}u(ce,"trailingEdge");function un(){S!==t&&ja(S),L=0,s=I=l=S=t}u(un,"cancel");function ke(){return S===t?w:ce(wi())}u(ke,"flush");function sn(){var Oe=wi(),qn=Q(Oe);if(s=arguments,l=this,I=Oe,qn){if(S===t)return J(I);if(D)return ja(S),S=gr(ae,n),K(I)}return S===t&&(S=gr(ae,n)),w}return u(sn,"debounced"),sn.cancel=un,sn.flush=ke,sn}u(Ho,"debounce");var rg=se(function(e,n){return Na(e,1,n)}),ig=se(function(e,n,r){return Na(e,dn(n)||0,r)});function ug(e){return Dn(e,bt)}u(ug,"flip");function yi(e,n){if(typeof e!="function"||n!=null&&typeof n!="function")throw new cn(m);var r=u(function(){var s=arguments,l=n?n.apply(this,s):s[0],d=r.cache;if(d.has(l))return d.get(l);var w=e.apply(this,s);return r.cache=d.set(l,w)||d,w},"memoized");return r.cache=new(yi.Cache||Ln),r}u(yi,"memoize"),yi.Cache=Ln;function bi(e){if(typeof e!="function")throw new cn(m);return function(){var n=arguments;switch(n.length){case 0:return!e.call(this);case 1:return!e.call(this,n[0]);case 2:return!e.call(this,n[0],n[1]);case 3:return!e.call(this,n[0],n[1],n[2])}return!e.apply(this,n)}}u(bi,"negate");function sg(e){return Bo(2,e)}u(sg,"once");var ag=Zp(function(e,n){n=n.length==1&&ne(n[0])?we(n[0],nn(Y())):we(De(n,1),nn(Y()));var r=n.length;return se(function(s){for(var l=-1,d=Ue(s.length,r);++l<d;)s[l]=n[l].call(this,s[l]);return en(e,this,s)})}),Gu=se(function(e,n){var r=Yn(n,Bt(Gu));return Dn(e,Se,t,n,r)}),zo=se(function(e,n){var r=Yn(n,Bt(zo));return Dn(e,In,t,n,r)}),og=Un(function(e,n){return Dn(e,Rn,t,t,t,n)});function fg(e,n){if(typeof e!="function")throw new cn(m);return n=n===t?n:re(n),se(e,n)}u(fg,"rest");function lg(e,n){if(typeof e!="function")throw new cn(m);return n=n==null?0:Ce(re(n),0),se(function(r){var s=r[n],l=nt(r,0,n);return s&&Xn(l,s),en(e,this,l)})}u(lg,"spread");function cg(e,n,r){var s=!0,l=!0;if(typeof e!="function")throw new cn(m);return be(r)&&(s="leading"in r?!!r.leading:s,l="trailing"in r?!!r.trailing:l),Ho(e,n,{leading:s,maxWait:n,trailing:l})}u(cg,"throttle");function hg(e){return Wo(e,1)}u(hg,"unary");function pg(e,n){return Gu(Iu(n),e)}u(pg,"wrap");function _g(){if(!arguments.length)return[];var e=arguments[0];return ne(e)?e:[e]}u(_g,"castArray");function gg(e){return pn(e,H)}u(gg,"clone");function dg(e,n){return n=typeof n=="function"?n:t,pn(e,H,n)}u(dg,"cloneWith");function vg(e){return pn(e,$|H)}u(vg,"cloneDeep");function mg(e,n){return n=typeof n=="function"?n:t,pn(e,$|H,n)}u(mg,"cloneDeepWith");function xg(e,n){return n==null||Ra(e,n,Fe(n))}u(xg,"conformsTo");function An(e,n){return e===n||e!==e&&n!==n}u(An,"eq");var wg=_i(gu),yg=_i(function(e,n){return e>=n}),wt=Da(function(){return arguments}())?Da:function(e){return Ae(e)&&de.call(e,"callee")&&!Sa.call(e,"callee")},ne=O.isArray,bg=ia?nn(ia):Tp;function He(e){return e!=null&&Si(e.length)&&!Bn(e)}u(He,"isArrayLike");function Me(e){return Ae(e)&&He(e)}u(Me,"isArrayLikeObject");function Sg(e){return e===!0||e===!1||Ae(e)&&Be(e)==Hn}u(Sg,"isBoolean");var tt=D0||es,Ag=ua?nn(ua):Rp;function qg(e){return Ae(e)&&e.nodeType===1&&!dr(e)}u(qg,"isElement");function Eg(e){if(e==null)return!0;if(He(e)&&(ne(e)||typeof e=="string"||typeof e.splice=="function"||tt(e)||$t(e)||wt(e)))return!e.length;var n=We(e);if(n==Ve||n==Je)return!e.size;if(_r(e))return!mu(e).length;for(var r in e)if(de.call(e,r))return!1;return!0}u(Eg,"isEmpty");function Ig(e,n){return cr(e,n)}u(Ig,"isEqual");function Mg(e,n,r){r=typeof r=="function"?r:t;var s=r?r(e,n):t;return s===t?cr(e,n,t,r):!!s}u(Mg,"isEqualWith");function Hu(e){if(!Ae(e))return!1;var n=Be(e);return n==zn||n==Qt||typeof e.message=="string"&&typeof e.name=="string"&&!dr(e)}u(Hu,"isError");function Og(e){return typeof e=="number"&&qa(e)}u(Og,"isFinite");function Bn(e){if(!be(e))return!1;var n=Be(e);return n==ft||n==Lr||n==ki||n==nr}u(Bn,"isFunction");function Ko(e){return typeof e=="number"&&e==re(e)}u(Ko,"isInteger");function Si(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=xn}u(Si,"isLength");function be(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}u(be,"isObject");function Ae(e){return e!=null&&typeof e=="object"}u(Ae,"isObjectLike");var Zo=sa?nn(sa):Cp;function Tg(e,n){return e===n||vu(e,n,Pu(n))}u(Tg,"isMatch");function Rg(e,n,r){return r=typeof r=="function"?r:t,vu(e,n,Pu(n),r)}u(Rg,"isMatchWith");function Ng(e){return Xo(e)&&e!=+e}u(Ng,"isNaN");function Cg(e){if(d1(e))throw new ee(c);return Ua(e)}u(Cg,"isNative");function Pg(e){return e===null}u(Pg,"isNull");function Lg(e){return e==null}u(Lg,"isNil");function Xo(e){return typeof e=="number"||Ae(e)&&Be(e)==wn}u(Xo,"isNumber");function dr(e){if(!Ae(e)||Be(e)!=on)return!1;var n=Vr(e);if(n===null)return!0;var r=de.call(n,"constructor")&&n.constructor;return typeof r=="function"&&r instanceof r&&Kr.call(r)==R0}u(dr,"isPlainObject");var zu=aa?nn(aa):Pp;function Fg(e){return Ko(e)&&e>=-xn&&e<=xn}u(Fg,"isSafeInteger");var Yo=oa?nn(oa):Lp;function Ai(e){return typeof e=="string"||!ne(e)&&Ae(e)&&Be(e)==lt}u(Ai,"isString");function rn(e){return typeof e=="symbol"||Ae(e)&&Be(e)==Mt}u(rn,"isSymbol");var $t=fa?nn(fa):Fp;function Dg(e){return e===t}u(Dg,"isUndefined");function Ug(e){return Ae(e)&&We(e)==ct}u(Ug,"isWeakMap");function Wg(e){return Ae(e)&&Be(e)==Dr}u(Wg,"isWeakSet");var Bg=_i(xu),$g=_i(function(e,n){return e<=n});function Vo(e){if(!e)return[];if(He(e))return Ai(e)?bn(e):Ge(e);if(rr&&e[rr])return x0(e[rr]());var n=We(e),r=n==Ve?su:n==Je?Gr:kt;return r(e)}u(Vo,"toArray");function $n(e){if(!e)return e===0?e:0;if(e=dn(e),e===Xe||e===-Xe){var n=e<0?-1:1;return n*Pr}return e===e?e:0}u($n,"toFinite");function re(e){var n=$n(e),r=n%1;return n===n?r?n-r:n:0}u(re,"toInteger");function Jo(e){return e?dt(re(e),0,Ye):0}u(Jo,"toLength");function dn(e){if(typeof e=="number")return e;if(rn(e))return st;if(be(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=be(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=ga(e);var r=bh.test(e);return r||Ah.test(e)?t0(e.slice(2),r?2:8):yh.test(e)?st:+e}u(dn,"toNumber");function Qo(e){return On(e,ze(e))}u(Qo,"toPlainObject");function kg(e){return e?dt(re(e),-xn,xn):e===0?e:0}u(kg,"toSafeInteger");function ge(e){return e==null?"":tn(e)}u(ge,"toString");var Gg=Ut(function(e,n){if(_r(n)||He(n)){On(n,Fe(n),e);return}for(var r in n)de.call(n,r)&&or(e,r,n[r])}),jo=Ut(function(e,n){On(n,ze(n),e)}),qi=Ut(function(e,n,r,s){On(n,ze(n),e,s)}),Hg=Ut(function(e,n,r,s){On(n,Fe(n),e,s)}),zg=Un(hu);function Kg(e,n){var r=Dt(e);return n==null?r:Ta(r,n)}u(Kg,"create");var Zg=se(function(e,n){e=ve(e);var r=-1,s=n.length,l=s>2?n[2]:t;for(l&&$e(n[0],n[1],l)&&(s=1);++r<s;)for(var d=n[r],w=ze(d),S=-1,I=w.length;++S<I;){var L=w[S],F=e[L];(F===t||An(F,Pt[L])&&!de.call(e,L))&&(e[L]=d[L])}return e}),Xg=se(function(e){return e.push(t,go),en(ef,t,e)});function Yg(e,n){return ca(e,Y(n,3),Mn)}u(Yg,"findKey");function Vg(e,n){return ca(e,Y(n,3),_u)}u(Vg,"findLastKey");function Jg(e,n){return e==null?e:pu(e,Y(n,3),ze)}u(Jg,"forIn");function Qg(e,n){return e==null?e:La(e,Y(n,3),ze)}u(Qg,"forInRight");function jg(e,n){return e&&Mn(e,Y(n,3))}u(jg,"forOwn");function ed(e,n){return e&&_u(e,Y(n,3))}u(ed,"forOwnRight");function nd(e){return e==null?[]:si(e,Fe(e))}u(nd,"functions");function td(e){return e==null?[]:si(e,ze(e))}u(td,"functionsIn");function Ku(e,n,r){var s=e==null?t:vt(e,n);return s===t?r:s}u(Ku,"get");function rd(e,n){return e!=null&&xo(e,n,Ep)}u(rd,"has");function Zu(e,n){return e!=null&&xo(e,n,Ip)}u(Zu,"hasIn");var id=lo(function(e,n,r){n!=null&&typeof n.toString!="function"&&(n=Zr.call(n)),e[n]=r},Yu(Ke)),ud=lo(function(e,n,r){n!=null&&typeof n.toString!="function"&&(n=Zr.call(n)),de.call(e,n)?e[n].push(r):e[n]=[r]},Y),sd=se(lr);function Fe(e){return He(e)?Ma(e):mu(e)}u(Fe,"keys");function ze(e){return He(e)?Ma(e,!0):Dp(e)}u(ze,"keysIn");function ad(e,n){var r={};return n=Y(n,3),Mn(e,function(s,l,d){Fn(r,n(s,l,d),s)}),r}u(ad,"mapKeys");function od(e,n){var r={};return n=Y(n,3),Mn(e,function(s,l,d){Fn(r,l,n(s,l,d))}),r}u(od,"mapValues");var fd=Ut(function(e,n,r){ai(e,n,r)}),ef=Ut(function(e,n,r,s){ai(e,n,r,s)}),ld=Un(function(e,n){var r={};if(e==null)return r;var s=!1;n=we(n,function(d){return d=et(d,e),s||(s=d.length>1),d}),On(e,Nu(e),r),s&&(r=pn(r,$|te|H,i1));for(var l=n.length;l--;)Au(r,n[l]);return r});function cd(e,n){return nf(e,bi(Y(n)))}u(cd,"omitBy");var hd=Un(function(e,n){return e==null?{}:Wp(e,n)});function nf(e,n){if(e==null)return{};var r=we(Nu(e),function(s){return[s]});return n=Y(n),za(e,r,function(s,l){return n(s,l[0])})}u(nf,"pickBy");function pd(e,n,r){n=et(n,e);var s=-1,l=n.length;for(l||(l=1,e=t);++s<l;){var d=e==null?t:e[Tn(n[s])];d===t&&(s=l,d=r),e=Bn(d)?d.call(e):d}return e}u(pd,"result");function _d(e,n,r){return e==null?e:hr(e,n,r)}u(_d,"set");function gd(e,n,r,s){return s=typeof s=="function"?s:t,e==null?e:hr(e,n,r,s)}u(gd,"setWith");var tf=po(Fe),rf=po(ze);function dd(e,n,r){var s=ne(e),l=s||tt(e)||$t(e);if(n=Y(n,4),r==null){var d=e&&e.constructor;l?r=s?new d:[]:be(e)?r=Bn(d)?Dt(Vr(e)):{}:r={}}return(l?ln:Mn)(e,function(w,S,I){return n(r,w,S,I)}),r}u(dd,"transform");function vd(e,n){return e==null?!0:Au(e,n)}u(vd,"unset");function md(e,n,r){return e==null?e:Va(e,n,Iu(r))}u(md,"update");function xd(e,n,r,s){return s=typeof s=="function"?s:t,e==null?e:Va(e,n,Iu(r),s)}u(xd,"updateWith");function kt(e){return e==null?[]:uu(e,Fe(e))}u(kt,"values");function wd(e){return e==null?[]:uu(e,ze(e))}u(wd,"valuesIn");function yd(e,n,r){return r===t&&(r=n,n=t),r!==t&&(r=dn(r),r=r===r?r:0),n!==t&&(n=dn(n),n=n===n?n:0),dt(dn(e),n,r)}u(yd,"clamp");function bd(e,n,r){return n=$n(n),r===t?(r=n,n=0):r=$n(r),e=dn(e),Mp(e,n,r)}u(bd,"inRange");function Sd(e,n,r){if(r&&typeof r!="boolean"&&$e(e,n,r)&&(n=r=t),r===t&&(typeof n=="boolean"?(r=n,n=t):typeof e=="boolean"&&(r=e,e=t)),e===t&&n===t?(e=0,n=1):(e=$n(e),n===t?(n=e,e=0):n=$n(n)),e>n){var s=e;e=n,n=s}if(r||e%1||n%1){var l=Ea();return Ue(e+l*(n-e+n0("1e-"+((l+"").length-1))),n)}return yu(e,n)}u(Sd,"random");var Ad=Wt(function(e,n,r){return n=n.toLowerCase(),e+(r?uf(n):n)});function uf(e){return Xu(ge(e).toLowerCase())}u(uf,"capitalize");function sf(e){return e=ge(e),e&&e.replace(Eh,_0).replace(zh,"")}u(sf,"deburr");function qd(e,n,r){e=ge(e),n=tn(n);var s=e.length;r=r===t?s:dt(re(r),0,s);var l=r;return r-=n.length,r>=0&&e.slice(r,l)==n}u(qd,"endsWith");function Ed(e){return e=ge(e),e&&Re.test(e)?e.replace(Pe,g0):e}u(Ed,"escape");function Id(e){return e=ge(e),e&&hh.test(e)?e.replace(Gi,"\\$&"):e}u(Id,"escapeRegExp");var Md=Wt(function(e,n,r){return e+(r?"-":"")+n.toLowerCase()}),Od=Wt(function(e,n,r){return e+(r?" ":"")+n.toLowerCase()}),Td=ao("toLowerCase");function Rd(e,n,r){e=ge(e),n=re(n);var s=n?Ct(e):0;if(!n||s>=n)return e;var l=(n-s)/2;return pi(ei(l),r)+e+pi(jr(l),r)}u(Rd,"pad");function Nd(e,n,r){e=ge(e),n=re(n);var s=n?Ct(e):0;return n&&s<n?e+pi(n-s,r):e}u(Nd,"padEnd");function Cd(e,n,r){e=ge(e),n=re(n);var s=n?Ct(e):0;return n&&s<n?pi(n-s,r)+e:e}u(Cd,"padStart");function Pd(e,n,r){return r||n==null?n=0:n&&(n=+n),$0(ge(e).replace(Hi,""),n||0)}u(Pd,"parseInt");function Ld(e,n,r){return(r?$e(e,n,r):n===t)?n=1:n=re(n),bu(ge(e),n)}u(Ld,"repeat");function Fd(){var e=arguments,n=ge(e[0]);return e.length<3?n:n.replace(e[1],e[2])}u(Fd,"replace");var Dd=Wt(function(e,n,r){return e+(r?"_":"")+n.toLowerCase()});function Ud(e,n,r){return r&&typeof r!="number"&&$e(e,n,r)&&(n=r=t),r=r===t?Ye:r>>>0,r?(e=ge(e),e&&(typeof n=="string"||n!=null&&!zu(n))&&(n=tn(n),!n&&Nt(e))?nt(bn(e),0,r):e.split(n,r)):[]}u(Ud,"split");var Wd=Wt(function(e,n,r){return e+(r?" ":"")+Xu(n)});function Bd(e,n,r){return e=ge(e),r=r==null?0:dt(re(r),0,e.length),n=tn(n),e.slice(r,r+n.length)==n}u(Bd,"startsWith");function $d(e,n,r){var s=g.templateSettings;r&&$e(e,n,r)&&(n=t),e=ge(e),n=qi({},n,s,_o);var l=qi({},n.imports,s.imports,_o),d=Fe(l),w=uu(l,d),S,I,L=0,F=n.interpolate||Ur,D="__p += '",k=au((n.escape||Ur).source+"|"+F.source+"|"+(F===Ot?wh:Ur).source+"|"+(n.evaluate||Ur).source+"|$","g"),K="//# sourceURL="+(de.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Vh+"]")+`
`;e.replace(k,function(Q,ae,ce,un,ke,sn){return ce||(ce=un),D+=e.slice(L,sn).replace(Ih,d0),ae&&(S=!0,D+=`' +
__e(`+ae+`) +
'`),ke&&(I=!0,D+=`';
`+ke+`;
__p += '`),ce&&(D+=`' +
((__t = (`+ce+`)) == null ? '' : __t) +
'`),L=sn+Q.length,Q}),D+=`';
`;var J=de.call(n,"variable")&&n.variable;if(!J)D=`with (obj) {
`+D+`
}
`;else if(mh.test(J))throw new ee(q);D=(I?D.replace(X,""):D).replace(z,"$1").replace(V,"$1;"),D="function("+(J||"obj")+`) {
`+(J?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(S?", __e = _.escape":"")+(I?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+D+`return __p
}`;var ue=of(function(){return _e(d,K+"return "+D).apply(t,w)});if(ue.source=D,Hu(ue))throw ue;return ue}u($d,"template");function kd(e){return ge(e).toLowerCase()}u(kd,"toLower");function Gd(e){return ge(e).toUpperCase()}u(Gd,"toUpper");function Hd(e,n,r){if(e=ge(e),e&&(r||n===t))return ga(e);if(!e||!(n=tn(n)))return e;var s=bn(e),l=bn(n),d=da(s,l),w=va(s,l)+1;return nt(s,d,w).join("")}u(Hd,"trim");function zd(e,n,r){if(e=ge(e),e&&(r||n===t))return e.slice(0,xa(e)+1);if(!e||!(n=tn(n)))return e;var s=bn(e),l=va(s,bn(n))+1;return nt(s,0,l).join("")}u(zd,"trimEnd");function Kd(e,n,r){if(e=ge(e),e&&(r||n===t))return e.replace(Hi,"");if(!e||!(n=tn(n)))return e;var s=bn(e),l=da(s,bn(n));return nt(s,l).join("")}u(Kd,"trimStart");function Zd(e,n){var r=Rr,s=St;if(be(n)){var l="separator"in n?n.separator:l;r="length"in n?re(n.length):r,s="omission"in n?tn(n.omission):s}e=ge(e);var d=e.length;if(Nt(e)){var w=bn(e);d=w.length}if(r>=d)return e;var S=r-Ct(s);if(S<1)return s;var I=w?nt(w,0,S).join(""):e.slice(0,S);if(l===t)return I+s;if(w&&(S+=I.length-S),zu(l)){if(e.slice(S).search(l)){var L,F=I;for(l.global||(l=au(l.source,ge(Ds.exec(l))+"g")),l.lastIndex=0;L=l.exec(F);)var D=L.index;I=I.slice(0,D===t?S:D)}}else if(e.indexOf(tn(l),S)!=S){var k=I.lastIndexOf(l);k>-1&&(I=I.slice(0,k))}return I+s}u(Zd,"truncate");function Xd(e){return e=ge(e),e&&Qe.test(e)?e.replace(le,S0):e}u(Xd,"unescape");var Yd=Wt(function(e,n,r){return e+(r?" ":"")+n.toUpperCase()}),Xu=ao("toUpperCase");function af(e,n,r){return e=ge(e),n=r?t:n,n===t?m0(e)?E0(e):f0(e):e.match(n)||[]}u(af,"words");var of=se(function(e,n){try{return en(e,t,n)}catch(r){return Hu(r)?r:new ee(r)}}),Vd=Un(function(e,n){return ln(n,function(r){r=Tn(r),Fn(e,r,ku(e[r],e))}),e});function Jd(e){var n=e==null?0:e.length,r=Y();return e=n?we(e,function(s){if(typeof s[1]!="function")throw new cn(m);return[r(s[0]),s[1]]}):[],se(function(s){for(var l=-1;++l<n;){var d=e[l];if(en(d[0],this,s))return en(d[1],this,s)}})}u(Jd,"cond");function Qd(e){return Sp(pn(e,$))}u(Qd,"conforms");function Yu(e){return function(){return e}}u(Yu,"constant");function jd(e,n){return e==null||e!==e?n:e}u(jd,"defaultTo");var ev=fo(),nv=fo(!0);function Ke(e){return e}u(Ke,"identity");function Vu(e){return Wa(typeof e=="function"?e:pn(e,$))}u(Vu,"iteratee");function tv(e){return $a(pn(e,$))}u(tv,"matches");function rv(e,n){return ka(e,pn(n,$))}u(rv,"matchesProperty");var iv=se(function(e,n){return function(r){return lr(r,e,n)}}),uv=se(function(e,n){return function(r){return lr(e,r,n)}});function Ju(e,n,r){var s=Fe(n),l=si(n,s);r==null&&!(be(n)&&(l.length||!s.length))&&(r=n,n=e,e=this,l=si(n,Fe(n)));var d=!(be(r)&&"chain"in r)||!!r.chain,w=Bn(e);return ln(l,function(S){var I=n[S];e[S]=I,w&&(e.prototype[S]=function(){var L=this.__chain__;if(d||L){var F=e(this.__wrapped__),D=F.__actions__=Ge(this.__actions__);return D.push({func:I,args:arguments,thisArg:e}),F.__chain__=L,F}return I.apply(e,Xn([this.value()],arguments))})}),e}u(Ju,"mixin");function sv(){return Le._===this&&(Le._=N0),this}u(sv,"noConflict");function Qu(){}u(Qu,"noop");function av(e){return e=re(e),se(function(n){return Ga(n,e)})}u(av,"nthArg");var ov=Ou(we),fv=Ou(la),lv=Ou(eu);function ff(e){return Fu(e)?nu(Tn(e)):Bp(e)}u(ff,"property");function cv(e){return function(n){return e==null?t:vt(e,n)}}u(cv,"propertyOf");var hv=co(),pv=co(!0);function ju(){return[]}u(ju,"stubArray");function es(){return!1}u(es,"stubFalse");function _v(){return{}}u(_v,"stubObject");function gv(){return""}u(gv,"stubString");function dv(){return!0}u(dv,"stubTrue");function vv(e,n){if(e=re(e),e<1||e>xn)return[];var r=Ye,s=Ue(e,Ye);n=Y(n),e-=Ye;for(var l=iu(s,n);++r<e;)n(r);return l}u(vv,"times");function mv(e){return ne(e)?we(e,Tn):rn(e)?[e]:Ge(Mo(ge(e)))}u(mv,"toPath");function xv(e){var n=++T0;return ge(e)+n}u(xv,"uniqueId");var wv=hi(function(e,n){return e+n},0),yv=Tu("ceil"),bv=hi(function(e,n){return e/n},1),Sv=Tu("floor");function Av(e){return e&&e.length?ui(e,Ke,gu):t}u(Av,"max");function qv(e,n){return e&&e.length?ui(e,Y(n,2),gu):t}u(qv,"maxBy");function Ev(e){return pa(e,Ke)}u(Ev,"mean");function Iv(e,n){return pa(e,Y(n,2))}u(Iv,"meanBy");function Mv(e){return e&&e.length?ui(e,Ke,xu):t}u(Mv,"min");function Ov(e,n){return e&&e.length?ui(e,Y(n,2),xu):t}u(Ov,"minBy");var Tv=hi(function(e,n){return e*n},1),Rv=Tu("round"),Nv=hi(function(e,n){return e-n},0);function Cv(e){return e&&e.length?ru(e,Ke):0}u(Cv,"sum");function Pv(e,n){return e&&e.length?ru(e,Y(n,2)):0}return u(Pv,"sumBy"),g.after=tg,g.ary=Wo,g.assign=Gg,g.assignIn=jo,g.assignInWith=qi,g.assignWith=Hg,g.at=zg,g.before=Bo,g.bind=ku,g.bindAll=Vd,g.bindKey=$o,g.castArray=_g,g.chain=Fo,g.chunk=S1,g.compact=A1,g.concat=q1,g.cond=Jd,g.conforms=Qd,g.constant=Yu,g.countBy=C_,g.create=Kg,g.curry=ko,g.curryRight=Go,g.debounce=Ho,g.defaults=Zg,g.defaultsDeep=Xg,g.defer=rg,g.delay=ig,g.difference=E1,g.differenceBy=I1,g.differenceWith=M1,g.drop=O1,g.dropRight=T1,g.dropRightWhile=R1,g.dropWhile=N1,g.fill=C1,g.filter=L_,g.flatMap=U_,g.flatMapDeep=W_,g.flatMapDepth=B_,g.flatten=No,g.flattenDeep=P1,g.flattenDepth=L1,g.flip=ug,g.flow=ev,g.flowRight=nv,g.fromPairs=F1,g.functions=nd,g.functionsIn=td,g.groupBy=$_,g.initial=U1,g.intersection=W1,g.intersectionBy=B1,g.intersectionWith=$1,g.invert=id,g.invertBy=ud,g.invokeMap=G_,g.iteratee=Vu,g.keyBy=H_,g.keys=Fe,g.keysIn=ze,g.map=xi,g.mapKeys=ad,g.mapValues=od,g.matches=tv,g.matchesProperty=rv,g.memoize=yi,g.merge=fd,g.mergeWith=ef,g.method=iv,g.methodOf=uv,g.mixin=Ju,g.negate=bi,g.nthArg=av,g.omit=ld,g.omitBy=cd,g.once=sg,g.orderBy=z_,g.over=ov,g.overArgs=ag,g.overEvery=fv,g.overSome=lv,g.partial=Gu,g.partialRight=zo,g.partition=K_,g.pick=hd,g.pickBy=nf,g.property=ff,g.propertyOf=cv,g.pull=z1,g.pullAll=Po,g.pullAllBy=K1,g.pullAllWith=Z1,g.pullAt=X1,g.range=hv,g.rangeRight=pv,g.rearg=og,g.reject=Y_,g.remove=Y1,g.rest=fg,g.reverse=Bu,g.sampleSize=J_,g.set=_d,g.setWith=gd,g.shuffle=Q_,g.slice=V1,g.sortBy=ng,g.sortedUniq=r_,g.sortedUniqBy=i_,g.split=Ud,g.spread=lg,g.tail=u_,g.take=s_,g.takeRight=a_,g.takeRightWhile=o_,g.takeWhile=f_,g.tap=A_,g.throttle=cg,g.thru=mi,g.toArray=Vo,g.toPairs=tf,g.toPairsIn=rf,g.toPath=mv,g.toPlainObject=Qo,g.transform=dd,g.unary=hg,g.union=l_,g.unionBy=c_,g.unionWith=h_,g.uniq=p_,g.uniqBy=__,g.uniqWith=g_,g.unset=vd,g.unzip=$u,g.unzipWith=Lo,g.update=md,g.updateWith=xd,g.values=kt,g.valuesIn=wd,g.without=d_,g.words=af,g.wrap=pg,g.xor=v_,g.xorBy=m_,g.xorWith=x_,g.zip=w_,g.zipObject=y_,g.zipObjectDeep=b_,g.zipWith=S_,g.entries=tf,g.entriesIn=rf,g.extend=jo,g.extendWith=qi,Ju(g,g),g.add=wv,g.attempt=of,g.camelCase=Ad,g.capitalize=uf,g.ceil=yv,g.clamp=yd,g.clone=gg,g.cloneDeep=vg,g.cloneDeepWith=mg,g.cloneWith=dg,g.conformsTo=xg,g.deburr=sf,g.defaultTo=jd,g.divide=bv,g.endsWith=qd,g.eq=An,g.escape=Ed,g.escapeRegExp=Id,g.every=P_,g.find=F_,g.findIndex=To,g.findKey=Yg,g.findLast=D_,g.findLastIndex=Ro,g.findLastKey=Vg,g.floor=Sv,g.forEach=Do,g.forEachRight=Uo,g.forIn=Jg,g.forInRight=Qg,g.forOwn=jg,g.forOwnRight=ed,g.get=Ku,g.gt=wg,g.gte=yg,g.has=rd,g.hasIn=Zu,g.head=Co,g.identity=Ke,g.includes=k_,g.indexOf=D1,g.inRange=bd,g.invoke=sd,g.isArguments=wt,g.isArray=ne,g.isArrayBuffer=bg,g.isArrayLike=He,g.isArrayLikeObject=Me,g.isBoolean=Sg,g.isBuffer=tt,g.isDate=Ag,g.isElement=qg,g.isEmpty=Eg,g.isEqual=Ig,g.isEqualWith=Mg,g.isError=Hu,g.isFinite=Og,g.isFunction=Bn,g.isInteger=Ko,g.isLength=Si,g.isMap=Zo,g.isMatch=Tg,g.isMatchWith=Rg,g.isNaN=Ng,g.isNative=Cg,g.isNil=Lg,g.isNull=Pg,g.isNumber=Xo,g.isObject=be,g.isObjectLike=Ae,g.isPlainObject=dr,g.isRegExp=zu,g.isSafeInteger=Fg,g.isSet=Yo,g.isString=Ai,g.isSymbol=rn,g.isTypedArray=$t,g.isUndefined=Dg,g.isWeakMap=Ug,g.isWeakSet=Wg,g.join=k1,g.kebabCase=Md,g.last=gn,g.lastIndexOf=G1,g.lowerCase=Od,g.lowerFirst=Td,g.lt=Bg,g.lte=$g,g.max=Av,g.maxBy=qv,g.mean=Ev,g.meanBy=Iv,g.min=Mv,g.minBy=Ov,g.stubArray=ju,g.stubFalse=es,g.stubObject=_v,g.stubString=gv,g.stubTrue=dv,g.multiply=Tv,g.nth=H1,g.noConflict=sv,g.noop=Qu,g.now=wi,g.pad=Rd,g.padEnd=Nd,g.padStart=Cd,g.parseInt=Pd,g.random=Sd,g.reduce=Z_,g.reduceRight=X_,g.repeat=Ld,g.replace=Fd,g.result=pd,g.round=Rv,g.runInContext=E,g.sample=V_,g.size=j_,g.snakeCase=Dd,g.some=eg,g.sortedIndex=J1,g.sortedIndexBy=Q1,g.sortedIndexOf=j1,g.sortedLastIndex=e_,g.sortedLastIndexBy=n_,g.sortedLastIndexOf=t_,g.startCase=Wd,g.startsWith=Bd,g.subtract=Nv,g.sum=Cv,g.sumBy=Pv,g.template=$d,g.times=vv,g.toFinite=$n,g.toInteger=re,g.toLength=Jo,g.toLower=kd,g.toNumber=dn,g.toSafeInteger=kg,g.toString=ge,g.toUpper=Gd,g.trim=Hd,g.trimEnd=zd,g.trimStart=Kd,g.truncate=Zd,g.unescape=Xd,g.uniqueId=xv,g.upperCase=Yd,g.upperFirst=Xu,g.each=Do,g.eachRight=Uo,g.first=Co,Ju(g,function(){var e={};return Mn(g,function(n,r){de.call(g.prototype,r)||(e[r]=n)}),e}(),{chain:!1}),g.VERSION=a,ln(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){g[e].placeholder=g}),ln(["drop","take"],function(e,n){fe.prototype[e]=function(r){r=r===t?1:Ce(re(r),0);var s=this.__filtered__&&!n?new fe(this):this.clone();return s.__filtered__?s.__takeCount__=Ue(r,s.__takeCount__):s.__views__.push({size:Ue(r,Ye),type:e+(s.__dir__<0?"Right":"")}),s},fe.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}}),ln(["filter","map","takeWhile"],function(e,n){var r=n+1,s=r==At||r==qt;fe.prototype[e]=function(l){var d=this.clone();return d.__iteratees__.push({iteratee:Y(l,3),type:r}),d.__filtered__=d.__filtered__||s,d}}),ln(["head","last"],function(e,n){var r="take"+(n?"Right":"");fe.prototype[e]=function(){return this[r](1).value()[0]}}),ln(["initial","tail"],function(e,n){var r="drop"+(n?"":"Right");fe.prototype[e]=function(){return this.__filtered__?new fe(this):this[r](1)}}),fe.prototype.compact=function(){return this.filter(Ke)},fe.prototype.find=function(e){return this.filter(e).head()},fe.prototype.findLast=function(e){return this.reverse().find(e)},fe.prototype.invokeMap=se(function(e,n){return typeof e=="function"?new fe(this):this.map(function(r){return lr(r,e,n)})}),fe.prototype.reject=function(e){return this.filter(bi(Y(e)))},fe.prototype.slice=function(e,n){e=re(e);var r=this;return r.__filtered__&&(e>0||n<0)?new fe(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),n!==t&&(n=re(n),r=n<0?r.dropRight(-n):r.take(n-e)),r)},fe.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},fe.prototype.toArray=function(){return this.take(Ye)},Mn(fe.prototype,function(e,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),s=/^(?:head|last)$/.test(n),l=g[s?"take"+(n=="last"?"Right":""):n],d=s||/^find/.test(n);l&&(g.prototype[n]=function(){var w=this.__wrapped__,S=s?[1]:arguments,I=w instanceof fe,L=S[0],F=I||ne(w),D=u(function(ae){var ce=l.apply(g,Xn([ae],S));return s&&k?ce[0]:ce},"interceptor");F&&r&&typeof L=="function"&&L.length!=1&&(I=F=!1);var k=this.__chain__,K=!!this.__actions__.length,J=d&&!k,ue=I&&!K;if(!d&&F){w=ue?w:new fe(this);var Q=e.apply(w,S);return Q.__actions__.push({func:mi,args:[D],thisArg:t}),new hn(Q,k)}return J&&ue?e.apply(this,S):(Q=this.thru(D),J?s?Q.value()[0]:Q.value():Q)})}),ln(["pop","push","shift","sort","splice","unshift"],function(e){var n=Hr[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",s=/^(?:pop|shift)$/.test(e);g.prototype[e]=function(){var l=arguments;if(s&&!this.__chain__){var d=this.value();return n.apply(ne(d)?d:[],l)}return this[r](function(w){return n.apply(ne(w)?w:[],l)})}}),Mn(fe.prototype,function(e,n){var r=g[n];if(r){var s=r.name+"";de.call(Ft,s)||(Ft[s]=[]),Ft[s].push({name:n,func:r})}}),Ft[ci(t,Te).name]=[{name:"wrapper",func:t}],fe.prototype.clone=X0,fe.prototype.reverse=Y0,fe.prototype.value=V0,g.prototype.at=q_,g.prototype.chain=E_,g.prototype.commit=I_,g.prototype.next=M_,g.prototype.plant=T_,g.prototype.reverse=R_,g.prototype.toJSON=g.prototype.valueOf=g.prototype.value=N_,g.prototype.first=g.prototype.head,rr&&(g.prototype[rr]=O_),g},"runInContext"),Vn=I0();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Le._=Vn,define(function(){return Vn})):ht?((ht.exports=Vn)._=Vn,Vi._=Vn):Le._=Vn}).call(Gt)});var it=B(qe=>{"use strict";Object.defineProperty(qe,"__esModule",{value:!0});qe._trans_rg=qe.range=qe.check=qe._trans_iloc=qe.isStrArr=qe.isNumArr=qe.isVal=qe.isArr=qe.isStr=qe.isNum=void 0;var cf=rt(),wr=u(t=>cf.isNumber(t),"isNum");qe.isNum=wr;var Ii=u(t=>cf.isString(t),"isStr");qe.isStr=Ii;var Ht=u(t=>Array.isArray(t),"isArr");qe.isArr=Ht;var Fv=u(t=>wr(t)||Ii(t),"isVal");qe.isVal=Fv;var hf=u(t=>Ht(t)&&t.length>0&&wr(t[0]),"isNumArr");qe.isNumArr=hf;var Dv=u(t=>Ht(t)&&t.length>0&&Ii(t[0]),"isStrArr");qe.isStrArr=Dv;var mr={index:{set(t,a,f){let c="the values property of index";if(!Number.isInteger(t))throw`key for ${c} must be a integer. But ${t} is found.`;if(t<0||t>a)throw`key for ${c} must be in the range of [0,${a}] inclusively.`;if(!wr(f)&&!Ii(f))throw`value for ${c} must be a number or a string.`}},frame:{index:{set(t,a){if(t!==a)throw"Index shape is not equal to shape of Series or axis of DataFrame."}},b:{expr(t){if(t%2!==0)throw"` is not paired in the expression."}}},iloc:{num(t,a){if(!Number.isInteger(t))throw"input number index must be integer.";if(t<0||t>=a)throw"input number index out of range."},bool(t,a){if(t.length!==a)throw"boolean[] index shape does not match the shape of indexed vector."},str:{colon(t){if(!t.includes(":"))throw'no ":" is found in string range index.';if(t.split(":").length>3)throw'More than two ":" in the string index'},parsed(t,a){if(Number.isNaN(t)||Number.isNaN(a))throw"string range index format is not correct.";if(!Number.isInteger(t)||!Number.isInteger(a))throw"numbers in string range index must be integers."},parsedStep(t){if(Number.isNaN(t))throw"step string range index format is not correct.";if(!Number.isInteger(t))throw"step in string range index must be integers.";if(t===0)throw"step cannot be less than 0."}}},iset:{rpl:{val(t){if(Ht(t))throw"the replacement should be a value not an array"},num(t,a){let f=Ht(t);if(!f||t.length!==a)throw`the length of replacement values (${f?t.length:t}) does not match the length (${a}) of number[] index.`},mat(t,a){if(t.length!==a[0])throw`the first dimension of replacement values (${t.length}) does not match the data frame shape ${a}`;if(!t.reduce((c,m)=>c&&m.length===a[1],!0))throw`the second dimension of replacement values does not match the data frame shape ${a}`},bool(t,a){let f=a.reduce((c,m)=>m?c+1:c,0);if(t.length!==f)throw"the length of replacement values does not match the number of true values in boolean[] index"}}},set:{index:{uniq(t){if(!t.is_unique())throw"Index of the setted object is not unique. The only allowed array index type is boolean[]."}}},op:{index(t,a){if(t.shape!==a.shape)throw"The lengths of the two series' indices are not equal!"},indexSame(t,a){if(JSON.stringify(t.values)!==JSON.stringify(a.values))throw"If there are duplicate values in an index, the two series' indices must be exactly the same."},values(t,a){if(t.shape!==a.length)throw"The length of the series is not equal to the length of the array."}},set_index:{label_uniq(t,a){let f=a.trans(t);if(Ht(f))throw"Label set in set_index function must be unique."}},concat:{index:{uniq(t){if(!t.is_unique())throw"index of concatenated objects must be unique."}}}};qe.check=mr;function Ei(t,a){let f=a+t;return f<0?0:f}u(Ei,"_trans_neg");function xr(t,a){mr.iloc.str.colon(t);let f=t.split(":"),c,m,q="1";f.length===2?[c,m]=f:[c,m,q]=f,q=q||"1";let C=parseFloat(q);if(mr.iloc.str.parsedStep(C),C>0){c=c||"0",m=m||a.toString();let[T,U]=[parseFloat(c),parseFloat(m)];if(mr.iloc.str.parsed(T,U),T<0&&(T=Ei(T,a)),U<0&&(U=Ei(U,a)),T>=U)return[];if(T>=a)return[];U=U>a?a:U;let $=[],te=T;for(;te<U;)$.push(te),te+=C;return $}else{c=c||a.toString();let T=!1;m||(m="0",T=!0);let[U,$]=[parseFloat(c),parseFloat(m)];if(mr.iloc.str.parsed(U,$),U<0&&(U=Ei(U,a)),$<0&&($=Ei($,a)),U<=$)return[];if($>=a-1)return[];U=U>a-1?a-1:U;let te=[],H=U;for($=T?-1:$;H>$;)te.push(H),H+=C;return te}}u(xr,"_trans_rg");qe._trans_rg=xr;function Uv(t,a,f){return a===void 0&&f===void 0?xr(`:${t}`,t):f===void 0?xr(`${t}:${a}`,a):xr(`${t}:${a}:${f}`,f>0?a:t+1)}u(Uv,"range");qe.range=Uv;function Wv(t,a){switch(!0){case typeof t=="string":return xr(t,a);case(wr(t)&&t<0):return t+a;case hf(t):return t.map(f=>f<0?f+a:f);default:return t}}u(Wv,"_trans_iloc");qe._trans_iloc=Wv});var Oi=B(ut=>{"use strict";Object.defineProperty(ut,"__esModule",{value:!0});ut.full=ut.from_raw=ut.concat=void 0;var ns=br(),zt=yr(),Bv=Zt(),pf=it(),Kt=rt();function $v(t,a=0){if(t[0]instanceof ns.default){let f=[],c=t;if(a===0){let m=[];return c.forEach(q=>{f=f.concat(q.index.values),m=m.concat(q.values)}),new ns.default(m,{index:f})}else{let m=[],q=[],C=!1;return c.every((T,U)=>{if(pf.check.concat.index.uniq(T.index),U===0)f=T.index.values,m=T.values.map($=>[$]);else{let $=f,te=m;if(m=[],f=Kt.intersection(f,T.index.values),f.length===0)return C=!0,!1;f.forEach(H=>{let oe=$.findIndex(he=>he===H);te[oe].push(T.loc(H)),m.push(te[oe])})}return q.push(T.name),!0}),C?new zt.default([],{columns:c.map(T=>T.name)}):new zt.default(m,{index:f,columns:q})}}else{let f=t,c=a===0?H=>H.index:H=>H.columns,m=a===0?H=>H.columns:H=>H.index,q=a===0?H=>H.values:H=>H.tr,C=[],T=[],U=[],$=!1;if(f.every((H,oe)=>{let he=m(H);pf.check.concat.index.uniq(he);let pe=c(H),Te=q(H);if(oe===0)C=pe.values,T=he.values,U=Te;else{let En=T;if(T=Kt.intersection(T,he.values),T.length===0)return $=!0,!1;U=new zt.default(U,{columns:En}).loc(null,T).values,U=a===0?U.concat(H.loc(null,T).values):U.concat(H.loc(T).tr),C=C.concat(c(H).values)}return!0}),$){C=[],f.forEach(oe=>{C=C.concat(c(oe).values)});let H=new zt.default(C.map(oe=>[]),{index:C});return a===0?H:H.transpose(!0)}let te=new zt.default(U,{index:C,columns:T});return a===0?te:te.transpose(!0)}}u($v,"concat");ut.concat=$v;function Mi(t){if(Kt.hasIn(t,"index")&&Kt.hasIn(t,"name")){let a=t;return new ns.default(a.values,{name:a.name,index:Mi(a.index)})}else if(Kt.hasIn(t,"columns")){let a=t;return new zt.default(a.values,{index:Mi(a.index),columns:Mi(a.columns)})}else{let a=t;return new Bv.default(a.values,a.name)}}u(Mi,"from_raw");ut.from_raw=Mi;function kv(t,a){return Kt.isArray(t)?new Array(t[0]).fill(new Array(t[1]).fill(a)):new Array(t).fill(a)}u(kv,"full");ut.full=kv});var Ri=B((Ti,_f)=>{(function(t,a){typeof Ti=="object"&&typeof _f<"u"?a(Ti):typeof define=="function"&&define.amd?define(["exports"],a):a((t=typeof globalThis<"u"?globalThis:t||self).ss={})})(Ti,function(t){"use strict";function a(o){if(o.length===0)return 0;var h,p=o[0],b=0;if(typeof p!="number")return NaN;for(var A=1;A<o.length;A++){if(typeof o[A]!="number")return NaN;h=p+o[A],Math.abs(p)>=Math.abs(o[A])?b+=p-h+o[A]:b+=o[A]-h+p,p=h}return p+b}u(a,"t");function f(o){if(o.length===0)throw new Error("mean requires at least one data point");return a(o)/o.length}u(f,"n");function c(o,h){var p,b,A=f(o),M=0;if(h===2)for(b=0;b<o.length;b++)M+=(p=o[b]-A)*p;else for(b=0;b<o.length;b++)M+=Math.pow(o[b]-A,h);return M}u(c,"e");function m(o){if(o.length===0)throw new Error("variance requires at least one data point");return c(o,2)/o.length}u(m,"a");function q(o){if(o.length===1)return 0;var h=m(o);return Math.sqrt(h)}u(q,"o");function C(o){if(o.length===0)throw new Error("mode requires at least one data point");if(o.length===1)return o[0];for(var h=o[0],p=NaN,b=0,A=1,M=1;M<o.length+1;M++)o[M]!==h?(A>b&&(b=A,p=h),A=1,h=o[M]):A++;return p}u(C,"i");function T(o){return o.slice().sort(function(h,p){return h-p})}u(T,"u");function U(o){if(o.length===0)throw new Error("min requires at least one data point");for(var h=o[0],p=1;p<o.length;p++)o[p]<h&&(h=o[p]);return h}u(U,"h");function $(o){if(o.length===0)throw new Error("max requires at least one data point");for(var h=o[0],p=1;p<o.length;p++)o[p]>h&&(h=o[p]);return h}u($,"f");function te(o){for(var h=0,p=0;p<o.length;p++){if(typeof o[p]!="number")return NaN;h+=o[p]}return h}u(te,"l");function H(o,h){var p=o.length*h;if(o.length===0)throw new Error("quantile requires at least one data point.");if(h<0||h>1)throw new Error("quantiles must be between 0 and 1");return h===1?o[o.length-1]:h===0?o[0]:p%1!=0?o[Math.ceil(p)-1]:o.length%2==0?(o[p-1]+o[p])/2:o[p]}u(H,"s");function oe(o,h,p,b){for(p=p||0,b=b||o.length-1;b>p;){if(b-p>600){var A=b-p+1,M=h-p+1,R=Math.log(A),P=.5*Math.exp(2*R/3),W=.5*Math.sqrt(R*P*(A-P)/A);M-A/2<0&&(W*=-1),oe(o,h,Math.max(p,Math.floor(h-M*P/A+W)),Math.min(b,Math.floor(h+(A-M)*P/A+W)))}var Z=o[h],X=p,z=b;for(he(o,p,h),o[b]>Z&&he(o,p,b);X<z;){for(he(o,X,z),X++,z--;o[X]<Z;)X++;for(;o[z]>Z;)z--}o[p]===Z?he(o,p,z):he(o,++z,b),z<=h&&(p=z+1),h<=z&&(b=z-1)}}u(oe,"c");function he(o,h,p){var b=o[h];o[h]=o[p],o[p]=b}u(he,"g");function pe(o,h){var p=o.slice();if(Array.isArray(h)){(function(M,R){for(var P=[0],W=0;W<R.length;W++)P.push(Ie(M.length,R[W]));P.push(M.length-1),P.sort(En);for(var Z=[0,P.length-1];Z.length;){var X=Math.ceil(Z.pop()),z=Math.floor(Z.pop());if(!(X-z<=1)){var V=Math.floor((z+X)/2);Te(M,P[V],Math.floor(P[z]),Math.ceil(P[X])),Z.push(z,V,V,X)}}})(p,h);for(var b=[],A=0;A<h.length;A++)b[A]=H(p,h[A]);return b}return Te(p,Ie(p.length,h),0,p.length-1),H(p,h)}u(pe,"v");function Te(o,h,p,b){h%1==0?oe(o,h,p,b):(oe(o,h=Math.floor(h),p,b),oe(o,h+1,h+1,b))}u(Te,"p");function En(o,h){return o-h}u(En,"m");function Ie(o,h){var p=o*h;return h===1?o-1:h===0?0:p%1!=0?Math.ceil(p)-1:o%2==0?p-.5:p}u(Ie,"w");function ie(o,h){if(h<o[0])return 0;if(h>o[o.length-1])return 1;var p=function(M,R){for(var P=0,W=0,Z=M.length;W<Z;)R<=M[P=W+Z>>>1]?Z=P:W=-~P;return W}(o,h);if(o[p]!==h)return p/o.length;p++;var b=function(M,R){for(var P=0,W=0,Z=M.length;W<Z;)R>=M[P=W+Z>>>1]?W=-~P:Z=P;return W}(o,h);if(b===p)return p/o.length;var A=b-p+1;return A*(b+p)/2/A/o.length}u(ie,"M");function Se(o){var h=pe(o,.75),p=pe(o,.25);if(typeof h=="number"&&typeof p=="number")return h-p}u(Se,"d");function In(o){return+pe(o,.5)}u(In,"b");function an(o){for(var h=In(o),p=[],b=0;b<o.length;b++)p.push(Math.abs(o[b]-h));return In(p)}u(an,"q");function Rn(o,h){h=h||Math.random;for(var p,b,A=o.length;A>0;)b=Math.floor(h()*A--),p=o[A],o[A]=o[b],o[b]=p;return o}u(Rn,"y");function bt(o,h){return Rn(o.slice(),h)}u(bt,"E");function Rr(o,h,p){return bt(o,p).slice(0,h)}u(Rr,"x");function St(o,h){for(var p=[],b=0;b<o;b++){for(var A=[],M=0;M<h;M++)A.push(0);p.push(A)}return p}u(St,"S");function Nr(o){for(var h,p=0,b=0;b<o.length;b++)b!==0&&o[b]===h||(h=o[b],p++);return p}u(Nr,"k");function Vt(o,h,p,b){var A;if(o>0){var M=(p[h]-p[o-1])/(h-o+1);A=b[h]-b[o-1]-(h-o+1)*M*M}else A=b[h]-p[h]*p[h]/(h+1);return A<0?0:A}u(Vt,"A");function At(o,h,p,b,A,M,R){if(!(o>h)){var P=Math.floor((o+h)/2);b[p][P]=b[p-1][P-1],A[p][P]=P;var W=p;o>p&&(W=Math.max(W,A[p][o-1]||0)),W=Math.max(W,A[p-1][P]||0);var Z,X,z,V=P-1;h<b[0].length-1&&(V=Math.min(V,A[p][h+1]||0));for(var le=V;le>=W&&!((Z=Vt(le,P,M,R))+b[p-1][W-1]>=b[p][P]);--le)(X=Vt(W,P,M,R)+b[p-1][W-1])<b[p][P]&&(b[p][P]=X,A[p][P]=W),W++,(z=Z+b[p-1][le-1])<b[p][P]&&(b[p][P]=z,A[p][P]=le);At(o,P-1,p,b,A,M,R),At(P+1,h,p,b,A,M,R)}}u(At,"N");function Cr(o,h){if(o.length!==h.length)throw new Error("sampleCovariance requires samples with equal lengths");if(o.length<2)throw new Error("sampleCovariance requires at least two data points in each sample");for(var p=f(o),b=f(h),A=0,M=0;M<o.length;M++)A+=(o[M]-p)*(h[M]-b);return A/(o.length-1)}u(Cr,"P");function qt(o){if(o.length<2)throw new Error("sampleVariance requires at least two data points");return c(o,2)/(o.length-1)}u(qt,"C");function Xe(o){var h=qt(o);return Math.sqrt(h)}u(Xe,"I");function xn(o,h){return Cr(o,h)/Xe(o)/Xe(h)}u(xn,"T");function Pr(o,h,p,b){return(o*h+p*b)/(h+b)}u(Pr,"D");function st(o){if(o.length===0)throw new Error("meanSimple requires at least one data point");return te(o)/o.length}u(st,"R");function Ye(o){if(o.length===0)throw new Error("rootMeanSquare requires at least one data point");for(var h=0,p=0;p<o.length;p++)h+=Math.pow(o[p],2);return Math.sqrt(h/o.length)}u(Ye,"_");var Et=u(function(){this.totalCount=0,this.data={}},"L");Et.prototype.train=function(o,h){for(var p in this.data[h]||(this.data[h]={}),o){var b=o[p];this.data[h][p]===void 0&&(this.data[h][p]={}),this.data[h][p][b]===void 0&&(this.data[h][p][b]=0),this.data[h][p][b]++}this.totalCount++},Et.prototype.score=function(o){var h,p={};for(var b in o){var A=o[b];for(h in this.data)p[h]={},this.data[h][b]?p[h][b+"_"+A]=(this.data[h][b][A]||0)/this.totalCount:p[h][b+"_"+A]=0}var M={};for(h in p)for(var R in M[h]=0,p[h])M[h]+=p[h][R];return M};var It=u(function(){this.weights=[],this.bias=0},"V");It.prototype.predict=function(o){if(o.length!==this.weights.length)return null;for(var h=0,p=0;p<this.weights.length;p++)h+=this.weights[p]*o[p];return(h+=this.bias)>0?1:0},It.prototype.train=function(o,h){if(h!==0&&h!==1)return null;o.length!==this.weights.length&&(this.weights=o,this.bias=1);var p=this.predict(o);if(typeof p=="number"&&p!==h){for(var b=h-p,A=0;A<this.weights.length;A++)this.weights[A]+=b*o[A];this.bias+=b}return this};var Jt=1e-4;function Nn(o){if(o<0)throw new Error("factorial requires a non-negative value");if(Math.floor(o)!==o)throw new Error("factorial requires an integer input");for(var h=1,p=2;p<=o;p++)h*=p;return h}u(Nn,"U");var at=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22],ki=Math.log(Math.sqrt(2*Math.PI)),Hn={1:{.995:0,.99:0,.975:0,.95:0,.9:.02,.5:.45,.1:2.71,.05:3.84,.025:5.02,.01:6.63,.005:7.88},2:{.995:.01,.99:.02,.975:.05,.95:.1,.9:.21,.5:1.39,.1:4.61,.05:5.99,.025:7.38,.01:9.21,.005:10.6},3:{.995:.07,.99:.11,.975:.22,.95:.35,.9:.58,.5:2.37,.1:6.25,.05:7.81,.025:9.35,.01:11.34,.005:12.84},4:{.995:.21,.99:.3,.975:.48,.95:.71,.9:1.06,.5:3.36,.1:7.78,.05:9.49,.025:11.14,.01:13.28,.005:14.86},5:{.995:.41,.99:.55,.975:.83,.95:1.15,.9:1.61,.5:4.35,.1:9.24,.05:11.07,.025:12.83,.01:15.09,.005:16.75},6:{.995:.68,.99:.87,.975:1.24,.95:1.64,.9:2.2,.5:5.35,.1:10.65,.05:12.59,.025:14.45,.01:16.81,.005:18.55},7:{.995:.99,.99:1.25,.975:1.69,.95:2.17,.9:2.83,.5:6.35,.1:12.02,.05:14.07,.025:16.01,.01:18.48,.005:20.28},8:{.995:1.34,.99:1.65,.975:2.18,.95:2.73,.9:3.49,.5:7.34,.1:13.36,.05:15.51,.025:17.53,.01:20.09,.005:21.96},9:{.995:1.73,.99:2.09,.975:2.7,.95:3.33,.9:4.17,.5:8.34,.1:14.68,.05:16.92,.025:19.02,.01:21.67,.005:23.59},10:{.995:2.16,.99:2.56,.975:3.25,.95:3.94,.9:4.87,.5:9.34,.1:15.99,.05:18.31,.025:20.48,.01:23.21,.005:25.19},11:{.995:2.6,.99:3.05,.975:3.82,.95:4.57,.9:5.58,.5:10.34,.1:17.28,.05:19.68,.025:21.92,.01:24.72,.005:26.76},12:{.995:3.07,.99:3.57,.975:4.4,.95:5.23,.9:6.3,.5:11.34,.1:18.55,.05:21.03,.025:23.34,.01:26.22,.005:28.3},13:{.995:3.57,.99:4.11,.975:5.01,.95:5.89,.9:7.04,.5:12.34,.1:19.81,.05:22.36,.025:24.74,.01:27.69,.005:29.82},14:{.995:4.07,.99:4.66,.975:5.63,.95:6.57,.9:7.79,.5:13.34,.1:21.06,.05:23.68,.025:26.12,.01:29.14,.005:31.32},15:{.995:4.6,.99:5.23,.975:6.27,.95:7.26,.9:8.55,.5:14.34,.1:22.31,.05:25,.025:27.49,.01:30.58,.005:32.8},16:{.995:5.14,.99:5.81,.975:6.91,.95:7.96,.9:9.31,.5:15.34,.1:23.54,.05:26.3,.025:28.85,.01:32,.005:34.27},17:{.995:5.7,.99:6.41,.975:7.56,.95:8.67,.9:10.09,.5:16.34,.1:24.77,.05:27.59,.025:30.19,.01:33.41,.005:35.72},18:{.995:6.26,.99:7.01,.975:8.23,.95:9.39,.9:10.87,.5:17.34,.1:25.99,.05:28.87,.025:31.53,.01:34.81,.005:37.16},19:{.995:6.84,.99:7.63,.975:8.91,.95:10.12,.9:11.65,.5:18.34,.1:27.2,.05:30.14,.025:32.85,.01:36.19,.005:38.58},20:{.995:7.43,.99:8.26,.975:9.59,.95:10.85,.9:12.44,.5:19.34,.1:28.41,.05:31.41,.025:34.17,.01:37.57,.005:40},21:{.995:8.03,.99:8.9,.975:10.28,.95:11.59,.9:13.24,.5:20.34,.1:29.62,.05:32.67,.025:35.48,.01:38.93,.005:41.4},22:{.995:8.64,.99:9.54,.975:10.98,.95:12.34,.9:14.04,.5:21.34,.1:30.81,.05:33.92,.025:36.78,.01:40.29,.005:42.8},23:{.995:9.26,.99:10.2,.975:11.69,.95:13.09,.9:14.85,.5:22.34,.1:32.01,.05:35.17,.025:38.08,.01:41.64,.005:44.18},24:{.995:9.89,.99:10.86,.975:12.4,.95:13.85,.9:15.66,.5:23.34,.1:33.2,.05:36.42,.025:39.36,.01:42.98,.005:45.56},25:{.995:10.52,.99:11.52,.975:13.12,.95:14.61,.9:16.47,.5:24.34,.1:34.28,.05:37.65,.025:40.65,.01:44.31,.005:46.93},26:{.995:11.16,.99:12.2,.975:13.84,.95:15.38,.9:17.29,.5:25.34,.1:35.56,.05:38.89,.025:41.92,.01:45.64,.005:48.29},27:{.995:11.81,.99:12.88,.975:14.57,.95:16.15,.9:18.11,.5:26.34,.1:36.74,.05:40.11,.025:43.19,.01:46.96,.005:49.65},28:{.995:12.46,.99:13.57,.975:15.31,.95:16.93,.9:18.94,.5:27.34,.1:37.92,.05:41.34,.025:44.46,.01:48.28,.005:50.99},29:{.995:13.12,.99:14.26,.975:16.05,.95:17.71,.9:19.77,.5:28.34,.1:39.09,.05:42.56,.025:45.72,.01:49.59,.005:52.34},30:{.995:13.79,.99:14.95,.975:16.79,.95:18.49,.9:20.6,.5:29.34,.1:40.26,.05:43.77,.025:46.98,.01:50.89,.005:53.67},40:{.995:20.71,.99:22.16,.975:24.43,.95:26.51,.9:29.05,.5:39.34,.1:51.81,.05:55.76,.025:59.34,.01:63.69,.005:66.77},50:{.995:27.99,.99:29.71,.975:32.36,.95:34.76,.9:37.69,.5:49.33,.1:63.17,.05:67.5,.025:71.42,.01:76.15,.005:79.49},60:{.995:35.53,.99:37.48,.975:40.48,.95:43.19,.9:46.46,.5:59.33,.1:74.4,.05:79.08,.025:83.3,.01:88.38,.005:91.95},70:{.995:43.28,.99:45.44,.975:48.76,.95:51.74,.9:55.33,.5:69.33,.1:85.53,.05:90.53,.025:95.02,.01:100.42,.005:104.22},80:{.995:51.17,.99:53.54,.975:57.15,.95:60.39,.9:64.28,.5:79.33,.1:96.58,.05:101.88,.025:106.63,.01:112.33,.005:116.32},90:{.995:59.2,.99:61.75,.975:65.65,.95:69.13,.9:73.29,.5:89.33,.1:107.57,.05:113.14,.025:118.14,.01:124.12,.005:128.3},100:{.995:67.33,.99:70.06,.975:74.22,.95:77.93,.9:82.36,.5:99.33,.1:118.5,.05:124.34,.025:129.56,.01:135.81,.005:140.17}},ot=Math.sqrt(2*Math.PI),Qt={gaussian:function(o){return Math.exp(-.5*o*o)/ot}},zn={nrd:function(o){var h=Xe(o),p=Se(o);return typeof p=="number"&&(h=Math.min(h,p/1.34)),1.06*h*Math.pow(o.length,-.2)}};function ft(o,h,p){var b,A;if(h===void 0)b=Qt.gaussian;else if(typeof h=="string"){if(!Qt[h])throw new Error('Unknown kernel "'+h+'"');b=Qt[h]}else b=h;if(p===void 0)A=zn.nrd(o);else if(typeof p=="string"){if(!zn[p])throw new Error('Unknown bandwidth method "'+p+'"');A=zn[p](o)}else A=p;return function(M){var R=0,P=0;for(R=0;R<o.length;R++)P+=b((M-o[R])/A);return P/A/o.length}}u(ft,"G");var Lr=Math.sqrt(2*Math.PI);function Ve(o){for(var h=o,p=o,b=1;b<15;b++)h+=p*=o*o/(2*b+1);return Math.round(1e4*(.5+h/Lr*Math.exp(-o*o/2)))/1e4}u(Ve,"W");for(var wn=[],jt=0;jt<=3.09;jt+=.01)wn.push(Ve(jt));function on(o){var h=1/(1+.5*Math.abs(o)),p=h*Math.exp(-o*o+((((((((.17087277*h-.82215223)*h+1.48851587)*h-1.13520398)*h+.27886807)*h-.18628806)*h+.09678418)*h+.37409196)*h+1.00002368)*h-1.26551223);return o>=0?1-p:p-1}u(on,"Y");function er(o){var h=8*(Math.PI-3)/(3*Math.PI*(4-Math.PI)),p=Math.sqrt(Math.sqrt(Math.pow(2/(Math.PI*h)+Math.log(1-o*o)/2,2)-Math.log(1-o*o)/h)-(2/(Math.PI*h)+Math.log(1-o*o)/2));return o>=0?p:-p}u(er,"Z");function nr(o){if(typeof o=="number")return o<0?-1:o===0?0:1;throw new TypeError("not a number")}u(nr,"$");function Cn(o,h){for(var p=0,b=0;b<o.length;b++){var A=o[b]-h[b];p+=A*A}return Math.sqrt(p)}u(Cn,"rr");function Je(o,h){return o.map(function(p){for(var b=Number.MAX_VALUE,A=-1,M=0;M<h.length;M++){var R=Cn(p,h[M]);R<b&&(b=R,A=M)}return A})}u(Je,"tr");function lt(o,h,p){for(var b=o[0].length,A=St(p,b),M=Array(p).fill(0),R=o.length,P=0;P<R;P++){for(var W=o[P],Z=h[P],X=A[Z],z=0;z<b;z++)X[z]+=W[z];M[Z]+=1}for(var V=0;V<p;V++){if(M[V]===0)throw new Error("Centroid "+V+" has no friends");for(var le=A[V],Pe=0;Pe<b;Pe++)le[Pe]/=M[V]}return A}u(lt,"nr");function Mt(o,h){for(var p=0,b=0;b<o.length;b++)p+=Cn(o[b],h[b]);return p}u(Mt,"er");function Fr(o,h){if(o.length!==h.length)throw new Error("must have exactly as many labels as points");for(var p=function(Z){for(var X=1+$(Z),z=Array(X),V=0;V<Z.length;V++){var le=Z[V];z[le]===void 0&&(z[le]=[]),z[le].push(V)}return z}(h),b=function(Z){for(var X=Z.length,z=St(X,X),V=0;V<X;V++)for(var le=0;le<V;le++)z[V][le]=Cn(Z[V],Z[le]),z[le][V]=z[V][le];return z}(o),A=[],M=0;M<o.length;M++){var R=0;if(p[h[M]].length>1){var P=Dr(M,p[h[M]],b),W=ct(M,h,p,b);R=(W-P)/Math.max(P,W)}A.push(R)}return A}u(Fr,"ar");function ct(o,h,p,b){for(var A=h[o],M=Number.MAX_VALUE,R=0;R<p.length;R++)if(R!==A){var P=Dr(o,p[R],b);P<M&&(M=P)}return M}u(ct,"or");function Dr(o,h,p){for(var b=0,A=0;A<h.length;A++)b+=p[o][h[A]];return b/h.length}u(Dr,"ir");function Kn(o,h){return o===0&&h===0?0:Math.abs((o-h)/h)}u(Kn,"ur"),t.BayesianClassifier=Et,t.PerceptronModel=It,t.addToMean=function(o,h,p){return o+(p-o)/(h+1)},t.approxEqual=function(o,h,p){return p===void 0&&(p=Jt),Kn(o,h)<=p},t.average=f,t.averageSimple=st,t.bayesian=Et,t.bernoulliDistribution=function(o){if(o<0||o>1)throw new Error("bernoulliDistribution requires probability to be between 0 and 1 inclusive");return[1-o,o]},t.binomialDistribution=function(o,h){if(!(h<0||h>1||o<=0||o%1!=0)){var p=0,b=0,A=[],M=1;do A[p]=M*Math.pow(h,p)*Math.pow(1-h,o-p),b+=A[p],M=M*(o-++p+1)/p;while(b<.9999);return A}},t.bisect=function(o,h,p,b,A){if(typeof o!="function")throw new TypeError("func must be a function");for(var M=0;M<b;M++){var R=(h+p)/2;if(o(R)===0||Math.abs((p-h)/2)<A)return R;nr(o(R))===nr(o(h))?h=R:p=R}throw new Error("maximum number of iterations exceeded")},t.chiSquaredDistributionTable=Hn,t.chiSquaredGoodnessOfFit=function(o,h,p){for(var b=0,A=h(f(o)),M=[],R=[],P=0;P<o.length;P++)M[o[P]]===void 0&&(M[o[P]]=0),M[o[P]]++;for(var W=0;W<M.length;W++)M[W]===void 0&&(M[W]=0);for(var Z in A)Z in M&&(R[+Z]=A[Z]*o.length);for(var X=R.length-1;X>=0;X--)R[X]<3&&(R[X-1]+=R[X],R.pop(),M[X-1]+=M[X],M.pop());for(var z=0;z<M.length;z++)b+=Math.pow(M[z]-R[z],2)/R[z];var V=M.length-1-1;return Hn[V][p]<b},t.chunk=function(o,h){var p=[];if(h<1)throw new Error("chunk size must be a positive number");if(Math.floor(h)!==h)throw new Error("chunk size must be an integer");for(var b=0;b<o.length;b+=h)p.push(o.slice(b,b+h));return p},t.ckmeans=function(o,h){if(h>o.length)throw new Error("cannot generate more classes than there are data values");var p=T(o);if(Nr(p)===1)return[p];var b=St(h,p.length),A=St(h,p.length);(function(Z,X,z){for(var V=X[0].length,le=Z[Math.floor(V/2)],Pe=[],Qe=[],Re=0,je=void 0;Re<V;++Re)je=Z[Re]-le,Re===0?(Pe.push(je),Qe.push(je*je)):(Pe.push(Pe[Re-1]+je),Qe.push(Qe[Re-1]+je*je)),X[0][Re]=Vt(0,Re,Pe,Qe),z[0][Re]=0;for(var yn=1;yn<X.length;++yn)At(yn<X.length-1?yn:V-1,V-1,yn,X,z,Pe,Qe)})(p,b,A);for(var M=[],R=A[0].length-1,P=A.length-1;P>=0;P--){var W=A[P][R];M[P]=p.slice(W,R+1),P>0&&(R=W-1)}return M},t.coefficientOfVariation=function(o){return Xe(o)/f(o)},t.combinations=u(function o(h,p){var b,A,M,R,P=[];for(b=0;b<h.length;b++)if(p===1)P.push([h[b]]);else for(M=o(h.slice(b+1,h.length),p-1),A=0;A<M.length;A++)(R=M[A]).unshift(h[b]),P.push(R);return P},"r"),t.combinationsReplacement=u(function o(h,p){for(var b=[],A=0;A<h.length;A++)if(p===1)b.push([h[A]]);else for(var M=o(h.slice(A,h.length),p-1),R=0;R<M.length;R++)b.push([h[A]].concat(M[R]));return b},"r"),t.combineMeans=Pr,t.combineVariances=function(o,h,p,b,A,M){var R=Pr(h,p,A,M);return(p*(o+Math.pow(h-R,2))+M*(b+Math.pow(A-R,2)))/(p+M)},t.cumulativeStdLogisticProbability=function(o){return 1/(Math.exp(-o)+1)},t.cumulativeStdNormalProbability=function(o){var h=Math.abs(o),p=Math.min(Math.round(100*h),wn.length-1);return o>=0?wn[p]:+(1-wn[p]).toFixed(4)},t.epsilon=Jt,t.equalIntervalBreaks=function(o,h){if(o.length<2)return o;for(var p=U(o),b=$(o),A=[p],M=(b-p)/h,R=1;R<h;R++)A.push(A[0]+M*R);return A.push(b),A},t.erf=on,t.errorFunction=on,t.extent=function(o){if(o.length===0)throw new Error("extent requires at least one data point");for(var h=o[0],p=o[0],b=1;b<o.length;b++)o[b]>p&&(p=o[b]),o[b]<h&&(h=o[b]);return[h,p]},t.extentSorted=function(o){return[o[0],o[o.length-1]]},t.factorial=Nn,t.gamma=u(function o(h){if(Number.isInteger(h))return h<=0?NaN:Nn(h-1);if(--h<0)return Math.PI/(Math.sin(Math.PI*-h)*o(-h));var p=h+1/4;return Math.pow(h/Math.E,h)*Math.sqrt(2*Math.PI*(h+1/6))*(1+1/144/Math.pow(p,2)-1/12960/Math.pow(p,3)-257/207360/Math.pow(p,4)-52/2612736/Math.pow(p,5)+5741173/9405849600/Math.pow(p,6)+37529/18811699200/Math.pow(p,7))},"r"),t.gammaln=function(o){if(o<=0)return 1/0;o--;for(var h=at[0],p=1;p<15;p++)h+=at[p]/(o+p);var b=5.2421875+o;return ki+Math.log(h)-b+(o+.5)*Math.log(b)},t.geometricMean=function(o){if(o.length===0)throw new Error("geometricMean requires at least one data point");for(var h=1,p=0;p<o.length;p++){if(o[p]<0)throw new Error("geometricMean requires only non-negative numbers as input");h*=o[p]}return Math.pow(h,1/o.length)},t.harmonicMean=function(o){if(o.length===0)throw new Error("harmonicMean requires at least one data point");for(var h=0,p=0;p<o.length;p++){if(o[p]<=0)throw new Error("harmonicMean requires only positive numbers as input");h+=1/o[p]}return o.length/h},t.interquartileRange=Se,t.inverseErrorFunction=er,t.iqr=Se,t.jenks=function(o,h){if(h>o.length)return null;var p=function(b,A){var M,R,P=[],W=[],Z=0;for(M=0;M<b.length+1;M++){var X=[],z=[];for(R=0;R<A+1;R++)X.push(0),z.push(0);P.push(X),W.push(z)}for(M=1;M<A+1;M++)for(P[1][M]=1,W[1][M]=0,R=2;R<b.length+1;R++)W[R][M]=1/0;for(var V=2;V<b.length+1;V++){for(var le=0,Pe=0,Qe=0,Re=0,je=1;je<V+1;je++){var yn=V-je+1,Ot=b[yn-1];if(Z=(Pe+=Ot*Ot)-(le+=Ot)*le/++Qe,(Re=yn-1)!=0)for(R=2;R<A+1;R++)W[V][R]>=Z+W[Re][R-1]&&(P[V][R]=yn,W[V][R]=Z+W[Re][R-1])}P[V][1]=1,W[V][1]=Z}return{lowerClassLimits:P,varianceCombinations:W}}(o=o.slice().sort(function(b,A){return b-A}),h);return function(b,A,M){var R=b.length,P=[],W=M;for(P[M]=b[b.length-1];W>0;)P[W-1]=b[A[R][W]-1],R=A[R][W]-1,W--;return P}(o,p.lowerClassLimits,h)},t.kMeansCluster=function(o,h,p){p===void 0&&(p=Math.random);for(var b=null,A=Rr(o,h,p),M=null,R=Number.MAX_VALUE;R!==0;)b=A,R=Mt(A=lt(o,M=Je(o,A),h),b);return{labels:M,centroids:A}},t.kde=ft,t.kernelDensityEstimation=ft,t.linearRegression=function(o){var h,p,b=o.length;if(b===1)h=0,p=o[0][1];else{for(var A,M,R,P=0,W=0,Z=0,X=0,z=0;z<b;z++)P+=M=(A=o[z])[0],W+=R=A[1],Z+=M*M,X+=M*R;p=W/b-(h=(b*X-P*W)/(b*Z-P*P))*P/b}return{m:h,b:p}},t.linearRegressionLine=function(o){return function(h){return o.b+o.m*h}},t.logAverage=function(o){if(o.length===0)throw new Error("logAverage requires at least one data point");for(var h=0,p=0;p<o.length;p++){if(o[p]<0)throw new Error("logAverage requires only non-negative numbers as input");h+=Math.log(o[p])}return Math.exp(h/o.length)},t.logit=function(o){if(o<=0||o>=1)throw new Error("p must be strictly between zero and one");return Math.log(o/(1-o))},t.mad=an,t.max=$,t.maxSorted=function(o){return o[o.length-1]},t.mean=f,t.meanSimple=st,t.median=In,t.medianAbsoluteDeviation=an,t.medianSorted=function(o){return H(o,.5)},t.min=U,t.minSorted=function(o){return o[0]},t.mode=function(o){return C(T(o))},t.modeFast=function(o){for(var h,p=new Map,b=0,A=0;A<o.length;A++){var M=p.get(o[A]);M===void 0?M=1:M++,M>b&&(h=o[A],b=M),p.set(o[A],M)}if(b===0)throw new Error("mode requires at last one data point");return h},t.modeSorted=C,t.numericSort=T,t.perceptron=It,t.permutationTest=function(o,h,p,b,A){if(b===void 0&&(b=1e4),p===void 0&&(p="two_side"),p!=="two_side"&&p!=="greater"&&p!=="less")throw new Error("`alternative` must be either 'two_side', 'greater', or 'less'.");for(var M=f(o)-f(h),R=new Array(b),P=o.concat(h),W=Math.floor(P.length/2),Z=0;Z<b;Z++){Rn(P,A);var X=P.slice(0,W),z=P.slice(W,P.length),V=f(X)-f(z);R[Z]=V}var le=0;if(p==="two_side")for(var Pe=0;Pe<=b;Pe++)Math.abs(R[Pe])>=Math.abs(M)&&(le+=1);else if(p==="greater")for(var Qe=0;Qe<=b;Qe++)R[Qe]>=M&&(le+=1);else for(var Re=0;Re<=b;Re++)R[Re]<=M&&(le+=1);return le/b},t.permutationsHeap=function(o){for(var h=new Array(o.length),p=[o.slice()],b=0;b<o.length;b++)h[b]=0;for(var A=0;A<o.length;)if(h[A]<A){var M=0;A%2!=0&&(M=h[A]);var R=o[M];o[M]=o[A],o[A]=R,p.push(o.slice()),h[A]++,A=0}else h[A]=0,A++;return p},t.poissonDistribution=function(o){if(!(o<=0)){var h=0,p=0,b=[],A=1;do b[h]=Math.exp(-o)*Math.pow(o,h)/A,p+=b[h],A*=++h;while(p<.9999);return b}},t.probit=function(o){return o===0?o=Jt:o>=1&&(o=.9999),Math.sqrt(2)*er(2*o-1)},t.product=function(o){for(var h=1,p=0;p<o.length;p++)h*=o[p];return h},t.quantile=pe,t.quantileRank=function(o,h){return ie(T(o),h)},t.quantileRankSorted=ie,t.quantileSorted=H,t.quickselect=oe,t.rSquared=function(o,h){if(o.length<2)return 1;for(var p=0,b=0;b<o.length;b++)p+=o[b][1];for(var A=p/o.length,M=0,R=0;R<o.length;R++)M+=Math.pow(A-o[R][1],2);for(var P=0,W=0;W<o.length;W++)P+=Math.pow(o[W][1]-h(o[W][0]),2);return 1-P/M},t.relativeError=Kn,t.rms=Ye,t.rootMeanSquare=Ye,t.sample=Rr,t.sampleCorrelation=xn,t.sampleCovariance=Cr,t.sampleKurtosis=function(o){var h=o.length;if(h<4)throw new Error("sampleKurtosis requires at least four data points");for(var p,b=f(o),A=0,M=0,R=0;R<h;R++)A+=(p=o[R]-b)*p,M+=p*p*p*p;return(h-1)/((h-2)*(h-3))*(h*(h+1)*M/(A*A)-3*(h-1))},t.sampleRankCorrelation=function(o,h){for(var p=o.map(function(P,W){return[P,W]}).sort(function(P,W){return P[0]-W[0]}).map(function(P){return P[1]}),b=h.map(function(P,W){return[P,W]}).sort(function(P,W){return P[0]-W[0]}).map(function(P){return P[1]}),A=Array(p.length),M=Array(p.length),R=0;R<p.length;R++)A[p[R]]=R,M[b[R]]=R;return xn(A,M)},t.sampleSkewness=function(o){if(o.length<3)throw new Error("sampleSkewness requires at least three data points");for(var h,p=f(o),b=0,A=0,M=0;M<o.length;M++)b+=(h=o[M]-p)*h,A+=h*h*h;var R=o.length-1,P=Math.sqrt(b/R),W=o.length;return W*A/((W-1)*(W-2)*Math.pow(P,3))},t.sampleStandardDeviation=Xe,t.sampleVariance=qt,t.sampleWithReplacement=function(o,h,p){if(o.length===0)return[];p=p||Math.random;for(var b=o.length,A=[],M=0;M<h;M++){var R=Math.floor(p()*b);A.push(o[R])}return A},t.shuffle=bt,t.shuffleInPlace=Rn,t.sign=nr,t.silhouette=Fr,t.silhouetteMetric=function(o,h){return $(Fr(o,h))},t.standardDeviation=q,t.standardNormalTable=wn,t.subtractFromMean=function(o,h,p){return(o*h-p)/(h-1)},t.sum=a,t.sumNthPowerDeviations=c,t.sumSimple=te,t.tTest=function(o,h){return(f(o)-h)/(q(o)/Math.sqrt(o.length))},t.tTestTwoSample=function(o,h,p){var b=o.length,A=h.length;if(!b||!A)return null;p||(p=0);var M=f(o),R=f(h),P=qt(o),W=qt(h);if(typeof M=="number"&&typeof R=="number"&&typeof P=="number"&&typeof W=="number"){var Z=((b-1)*P+(A-1)*W)/(b+A-2);return(M-R-p)/Math.sqrt(Z*(1/b+1/A))}},t.uniqueCountSorted=Nr,t.variance=m,t.wilcoxonRankSum=function(o,h){if(!o.length||!h.length)throw new Error("Neither sample can be empty");for(var p=o.map(function(X){return{label:"x",value:X}}).concat(h.map(function(X){return{label:"y",value:X}})).sort(function(X,z){return X.value-z.value}),b=0;b<p.length;b++)p[b].rank=b;for(var A=[p[0].rank],M=1;M<p.length;M++)p[M].value===p[M-1].value?(A.push(p[M].rank),M===p.length-1&&R(p,A)):A.length>1?R(p,A):A=[p[M].rank];function R(X,z){for(var V=(z[0]+z[z.length-1])/2,le=0;le<z.length;le++)X[z[le]].rank=V}u(R,"i");for(var P=0,W=0;W<p.length;W++){var Z=p[W];Z.label==="x"&&(P+=Z.rank+1)}return P},t.zScore=function(o,h,p){return(o-h)/p}})});var df=B((A2,gf)=>{"use strict";var Gv=Math.floor;gf.exports=Gv});var mf=B((q2,vf)=>{"use strict";var Hv=df();vf.exports=Hv});var wf=B((E2,xf)=>{"use strict";var zv=mf();function Kv(t){return zv(t)===t}u(Kv,"isInteger");xf.exports=Kv});var ts=B((M2,yf)=>{"use strict";var Zv=wf();yf.exports=Zv});var Sf=B((O2,bf)=>{"use strict";var Xv=9007199254740991;bf.exports=Xv});var qf=B((T2,Af)=>{"use strict";var Yv=ts(),Vv=Sf();function Jv(t){return typeof t=="object"&&t!==null&&typeof t.length=="number"&&Yv(t.length)&&t.length>=0&&t.length<=Vv}u(Jv,"isCollection");Af.exports=Jv});var rs=B((N2,Ef)=>{"use strict";var Qv=qf();Ef.exports=Qv});var Mf=B((C2,If)=>{"use strict";var jv=typeof Object.defineProperty=="function"?Object.defineProperty:null;If.exports=jv});var Tf=B((P2,Of)=>{"use strict";var em=Mf();function nm(){try{return em({},"x",{}),!0}catch{return!1}}u(nm,"hasDefinePropertySupport");Of.exports=nm});var Nf=B((F2,Rf)=>{"use strict";var tm=Object.defineProperty;Rf.exports=tm});var is=B((D2,Cf)=>{"use strict";function rm(t){return typeof t=="number"}u(rm,"isNumber");Cf.exports=rm});var us=B((W2,Lf)=>{"use strict";function im(t){return t[0]==="-"}u(im,"startsWithMinus");function Pf(t){var a="",f;for(f=0;f<t;f++)a+="0";return a}u(Pf,"zeros");function um(t,a,f){var c=!1,m=a-t.length;return m<0||(im(t)&&(c=!0,t=t.substr(1)),t=f?t+Pf(m):Pf(m)+t,c&&(t="-"+t)),t}u(um,"zeroPad");Lf.exports=um});var Wf=B(($2,Uf)=>{"use strict";var sm=is(),Ff=us(),am=String.prototype.toLowerCase,Df=String.prototype.toUpperCase;function om(t){var a,f,c;switch(t.specifier){case"b":a=2;break;case"o":a=8;break;case"x":case"X":a=16;break;case"d":case"i":case"u":default:a=10;break}if(f=t.arg,c=parseInt(f,10),!isFinite(c)){if(!sm(f))throw new Error("invalid integer. Value: "+f);c=0}return c<0&&(t.specifier==="u"||a!==10)&&(c=4294967295+c+1),c<0?(f=(-c).toString(a),t.precision&&(f=Ff(f,t.precision,t.padRight)),f="-"+f):(f=c.toString(a),!c&&!t.precision?f="":t.precision&&(f=Ff(f,t.precision,t.padRight)),t.sign&&(f=t.sign+f)),a===16&&(t.alternate&&(f="0x"+f),f=t.specifier===Df.call(t.specifier)?Df.call(f):am.call(f)),a===8&&t.alternate&&f.charAt(0)!=="0"&&(f="0"+f),f}u(om,"formatInteger");Uf.exports=om});var $f=B((G2,Bf)=>{"use strict";function fm(t){return typeof t=="string"}u(fm,"isString");Bf.exports=fm});var Hf=B((z2,Gf)=>{"use strict";var lm=is(),cm=Math.abs,hm=String.prototype.toLowerCase,kf=String.prototype.toUpperCase,yt=String.prototype.replace,pm=/e\+(\d)$/,_m=/e-(\d)$/,gm=/^(\d+)$/,dm=/^(\d+)e/,vm=/\.0$/,mm=/\.0*e/,xm=/(\..*[^0])0*e/;function wm(t){var a,f,c=parseFloat(t.arg);if(!isFinite(c)){if(!lm(t.arg))throw new Error("invalid floating-point number. Value: "+f);c=t.arg}switch(t.specifier){case"e":case"E":f=c.toExponential(t.precision);break;case"f":case"F":f=c.toFixed(t.precision);break;case"g":case"G":cm(c)<1e-4?(a=t.precision,a>0&&(a-=1),f=c.toExponential(a)):f=c.toPrecision(t.precision),t.alternate||(f=yt.call(f,xm,"$1e"),f=yt.call(f,mm,"e"),f=yt.call(f,vm,""));break;default:throw new Error("invalid double notation. Value: "+t.specifier)}return f=yt.call(f,pm,"e+0$1"),f=yt.call(f,_m,"e-0$1"),t.alternate&&(f=yt.call(f,gm,"$1."),f=yt.call(f,dm,"$1.e")),c>=0&&t.sign&&(f=t.sign+f),f=t.specifier===kf.call(t.specifier)?kf.call(f):hm.call(f),f}u(wm,"formatDouble");Gf.exports=wm});var Zf=B((Z2,Kf)=>{"use strict";function zf(t){var a="",f;for(f=0;f<t;f++)a+=" ";return a}u(zf,"spaces");function ym(t,a,f){var c=a-t.length;return c<0||(t=f?t+zf(c):zf(c)+t),t}u(ym,"spacePad");Kf.exports=ym});var Yf=B((Y2,Xf)=>{"use strict";var bm=Wf(),Sm=$f(),Am=Hf(),qm=Zf(),Em=us(),Im=String.fromCharCode,Ni=isNaN,Mm=Array.isArray;function Om(t){var a={};return a.specifier=t.specifier,a.precision=t.precision===void 0?1:t.precision,a.width=t.width,a.flags=t.flags||"",a.mapping=t.mapping,a}u(Om,"initialize");function Tm(t){var a,f,c,m,q,C,T,U,$;if(!Mm(t))throw new TypeError("invalid argument. First argument must be an array. Value: `"+t+"`.");for(C="",T=1,U=0;U<t.length;U++)if(c=t[U],Sm(c))C+=c;else{if(a=c.precision!==void 0,c=Om(c),!c.specifier)throw new TypeError("invalid argument. Token is missing `specifier` property. Index: `"+U+"`. Value: `"+c+"`.");for(c.mapping&&(T=c.mapping),f=c.flags,$=0;$<f.length;$++)switch(m=f.charAt($),m){case" ":c.sign=" ";break;case"+":c.sign="+";break;case"-":c.padRight=!0,c.padZeros=!1;break;case"0":c.padZeros=f.indexOf("-")<0;break;case"#":c.alternate=!0;break;default:throw new Error("invalid flag: "+m)}if(c.width==="*"){if(c.width=parseInt(arguments[T],10),T+=1,Ni(c.width))throw new TypeError("the argument for * width at position "+T+" is not a number. Value: `"+c.width+"`.");c.width<0&&(c.padRight=!0,c.width=-c.width)}if(a&&c.precision==="*"){if(c.precision=parseInt(arguments[T],10),T+=1,Ni(c.precision))throw new TypeError("the argument for * precision at position "+T+" is not a number. Value: `"+c.precision+"`.");c.precision<0&&(c.precision=1,a=!1)}switch(c.arg=arguments[T],c.specifier){case"b":case"o":case"x":case"X":case"d":case"i":case"u":a&&(c.padZeros=!1),c.arg=bm(c);break;case"s":c.maxWidth=a?c.precision:-1;break;case"c":if(!Ni(c.arg)){if(q=parseInt(c.arg,10),q<0||q>127)throw new Error("invalid character code. Value: "+c.arg);c.arg=Ni(q)?String(c.arg):Im(q)}break;case"e":case"E":case"f":case"F":case"g":case"G":a||(c.precision=6),c.arg=Am(c);break;default:throw new Error("invalid specifier: "+c.specifier)}c.maxWidth>=0&&c.arg.length>c.maxWidth&&(c.arg=c.arg.substring(0,c.maxWidth)),c.padZeros?c.arg=Em(c.arg,c.width||c.precision,c.padRight):c.width&&(c.arg=qm(c.arg,c.width,c.padRight)),C+=c.arg||"",T+=1}return C}u(Tm,"formatInterpolate");Xf.exports=Tm});var Jf=B((J2,Vf)=>{"use strict";var Rm=Yf();Vf.exports=Rm});var jf=B((Q2,Qf)=>{"use strict";var Ci=/%(?:([1-9]\d*)\$)?([0 +\-#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([%A-Za-z])/g;function Nm(t){var a={mapping:t[1]?parseInt(t[1],10):void 0,flags:t[2],width:t[3],precision:t[5],specifier:t[6]};return t[4]==="."&&t[5]===void 0&&(a.precision="1"),a}u(Nm,"parse");function Cm(t){var a,f,c,m;for(f=[],m=0,c=Ci.exec(t);c;)a=t.slice(m,Ci.lastIndex-c[0].length),a.length&&f.push(a),f.push(Nm(c)),m=Ci.lastIndex,c=Ci.exec(t);return a=t.slice(m),a.length&&f.push(a),f}u(Cm,"formatTokenize");Qf.exports=Cm});var nl=B((e5,el)=>{"use strict";var Pm=jf();el.exports=Pm});var rl=B((n5,tl)=>{"use strict";function Lm(t){return typeof t=="string"}u(Lm,"isString");tl.exports=Lm});var sl=B((r5,ul)=>{"use strict";var Fm=Jf(),Dm=nl(),Um=rl();function il(t){var a,f,c;if(!Um(t))throw new TypeError(il("invalid argument. First argument must be a string. Value: `%s`.",t));for(a=Dm(t),f=new Array(arguments.length),f[0]=a,c=1;c<f.length;c++)f[c]=arguments[c];return Fm.apply(null,f)}u(il,"format");ul.exports=il});var Sr=B((u5,al)=>{"use strict";var Wm=sl();al.exports=Wm});var pl=B((s5,hl)=>{"use strict";var ol=Sr(),Xt=Object.prototype,fl=Xt.toString,ll=Xt.__defineGetter__,cl=Xt.__defineSetter__,Bm=Xt.__lookupGetter__,$m=Xt.__lookupSetter__;function km(t,a,f){var c,m,q,C;if(typeof t!="object"||t===null||fl.call(t)==="[object Array]")throw new TypeError(ol("invalid argument. First argument must be an object. Value: `%s`.",t));if(typeof f!="object"||f===null||fl.call(f)==="[object Array]")throw new TypeError(ol("invalid argument. Property descriptor must be an object. Value: `%s`.",f));if(m="value"in f,m&&(Bm.call(t,a)||$m.call(t,a)?(c=t.__proto__,t.__proto__=Xt,delete t[a],t[a]=f.value,t.__proto__=c):t[a]=f.value),q="get"in f,C="set"in f,m&&(q||C))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return q&&ll&&ll.call(t,a,f.get),C&&cl&&cl.call(t,a,f.set),t}u(km,"defineProperty");hl.exports=km});var gl=B((o5,_l)=>{"use strict";var Gm=Tf(),Hm=Nf(),zm=pl(),as;Gm()?as=Hm:as=zm;_l.exports=as});var vl=B((f5,dl)=>{"use strict";var Km=gl();function Zm(t,a,f){Km(t,a,{configurable:!1,enumerable:!1,writable:!1,value:f})}u(Zm,"setNonEnumerableReadOnly");dl.exports=Zm});var Ar=B((c5,ml)=>{"use strict";var Xm=vl();ml.exports=Xm});var os=B((h5,xl)=>{"use strict";function Ym(t){return typeof t=="number"}u(Ym,"isNumber");xl.exports=Ym});var yl=B((_5,wl)=>{"use strict";function Vm(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}u(Vm,"hasSymbolSupport");wl.exports=Vm});var Sl=B((d5,bl)=>{"use strict";var Jm=yl();bl.exports=Jm});var ql=B((v5,Al)=>{"use strict";var Qm=Sl(),jm=Qm();function ex(){return jm&&typeof Symbol.toStringTag=="symbol"}u(ex,"hasToStringTagSupport");Al.exports=ex});var Pi=B((x5,El)=>{"use strict";var nx=ql();El.exports=nx});var fs=B((w5,Il)=>{"use strict";var tx=Object.prototype.toString;Il.exports=tx});var Ol=B((y5,Ml)=>{"use strict";var rx=fs();function ix(t){return rx.call(t)}u(ix,"nativeClass");Ml.exports=ix});var Rl=B((S5,Tl)=>{"use strict";var ux=Object.prototype.hasOwnProperty;function sx(t,a){return t==null?!1:ux.call(t,a)}u(sx,"hasOwnProp");Tl.exports=sx});var ls=B((q5,Nl)=>{"use strict";var ax=Rl();Nl.exports=ax});var Pl=B((E5,Cl)=>{"use strict";var ox=typeof Symbol=="function"?Symbol:void 0;Cl.exports=ox});var Fl=B((I5,Ll)=>{"use strict";var fx=Pl();Ll.exports=fx});var Wl=B((M5,Ul)=>{"use strict";var Dl=Fl(),lx=typeof Dl=="function"?Dl.toStringTag:"";Ul.exports=lx});var $l=B((O5,Bl)=>{"use strict";var cx=ls(),qr=Wl(),cs=fs();function hx(t){var a,f,c;if(t==null)return cs.call(t);f=t[qr],a=cx(t,qr);try{t[qr]=void 0}catch{return cs.call(t)}return c=cs.call(t),a?t[qr]=f:delete t[qr],c}u(hx,"nativeClass");Bl.exports=hx});var Li=B((R5,kl)=>{"use strict";var px=Pi(),_x=Ol(),gx=$l(),hs;px()?hs=gx:hs=_x;kl.exports=hs});var Hl=B((N5,Gl)=>{"use strict";Gl.exports=Number});var Fi=B((C5,zl)=>{"use strict";var dx=Hl();zl.exports=dx});var Zl=B((P5,Kl)=>{"use strict";var vx=Fi(),mx=vx.prototype.toString;Kl.exports=mx});var Yl=B((L5,Xl)=>{"use strict";var xx=Zl();function wx(t){try{return xx.call(t),!0}catch{return!1}}u(wx,"test");Xl.exports=wx});var ps=B((D5,Vl)=>{"use strict";var yx=Pi(),bx=Li(),Sx=Fi(),Ax=Yl(),qx=yx();function Ex(t){return typeof t=="object"?t instanceof Sx?!0:qx?Ax(t):bx(t)==="[object Number]":!1}u(Ex,"isNumber");Vl.exports=Ex});var Ql=B((W5,Jl)=>{"use strict";var Ix=os(),Mx=ps();function Ox(t){return Ix(t)||Mx(t)}u(Ox,"isNumber");Jl.exports=Ox});var Er=B(($5,ec)=>{"use strict";var jl=Ar(),_s=Ql(),Tx=os(),Rx=ps();jl(_s,"isPrimitive",Tx);jl(_s,"isObject",Rx);ec.exports=_s});var tc=B((k5,nc)=>{"use strict";var Nx=Number.POSITIVE_INFINITY;nc.exports=Nx});var ic=B((G5,rc)=>{"use strict";var Cx=Fi(),Px=Cx.NEGATIVE_INFINITY;rc.exports=Px});var gs=B((H5,uc)=>{"use strict";var Lx=tc(),Fx=ic(),Dx=ts();function Ux(t){return t<Lx&&t>Fx&&Dx(t)}u(Ux,"isInteger");uc.exports=Ux});var ds=B((K5,sc)=>{"use strict";var Wx=Er().isPrimitive,Bx=gs();function $x(t){return Wx(t)&&Bx(t)}u($x,"isInteger");sc.exports=$x});var vs=B((X5,ac)=>{"use strict";var kx=Er().isObject,Gx=gs();function Hx(t){return kx(t)&&Gx(t.valueOf())}u(Hx,"isInteger");ac.exports=Hx});var fc=B((V5,oc)=>{"use strict";var zx=ds(),Kx=vs();function Zx(t){return zx(t)||Kx(t)}u(Zx,"isInteger");oc.exports=Zx});var hc=B((Q5,cc)=>{"use strict";var lc=Ar(),ms=fc(),Xx=ds(),Yx=vs();lc(ms,"isPrimitive",Xx);lc(ms,"isObject",Yx);cc.exports=ms});var xs=B((j5,pc)=>{"use strict";function Vx(t){return typeof t=="string"}u(Vx,"isString");pc.exports=Vx});var gc=B((n9,_c)=>{"use strict";var Jx=String.prototype.valueOf;_c.exports=Jx});var vc=B((t9,dc)=>{"use strict";var Qx=gc();function jx(t){try{return Qx.call(t),!0}catch{return!1}}u(jx,"test");dc.exports=jx});var ws=B((i9,mc)=>{"use strict";var ew=Pi(),nw=Li(),tw=vc(),rw=ew();function iw(t){return typeof t=="object"?t instanceof String?!0:rw?tw(t):nw(t)==="[object String]":!1}u(iw,"isString");mc.exports=iw});var wc=B((s9,xc)=>{"use strict";var uw=xs(),sw=ws();function aw(t){return uw(t)||sw(t)}u(aw,"isString");xc.exports=aw});var bs=B((o9,bc)=>{"use strict";var yc=Ar(),ys=wc(),ow=xs(),fw=ws();yc(ys,"isPrimitive",ow);yc(ys,"isObject",fw);bc.exports=ys});var Ac=B((f9,Sc)=>{"use strict";function lw(t){return t!==t}u(lw,"isnan");Sc.exports=lw});var Ss=B((c9,qc)=>{"use strict";var cw=Ac();qc.exports=cw});var As=B((h9,Ec)=>{"use strict";var hw=Er().isPrimitive,pw=Ss();function _w(t){return hw(t)&&pw(t)}u(_w,"isnan");Ec.exports=_w});var qs=B((_9,Ic)=>{"use strict";var gw=Er().isObject,dw=Ss();function vw(t){return gw(t)&&dw(t.valueOf())}u(vw,"isnan");Ic.exports=vw});var Oc=B((d9,Mc)=>{"use strict";var mw=As(),xw=qs();function ww(t){return mw(t)||xw(t)}u(ww,"isnan");Mc.exports=ww});var Nc=B((m9,Rc)=>{"use strict";var Tc=Ar(),Es=Oc(),yw=As(),bw=qs();Tc(Es,"isPrimitive",yw);Tc(Es,"isObject",bw);Rc.exports=Es});var Lc=B((x9,Pc)=>{"use strict";var Sw=rs(),Aw=hc().isPrimitive,Is=bs().isPrimitive,Cc=Nc().isPrimitive,Ms=Sr();function qw(t,a,f){var c,m,q;if(!Sw(t)&&!Is(t))throw new TypeError(Ms("invalid argument. First argument must be array-like. Value: `%s`.",t));if(arguments.length<2)throw new Error("insufficient arguments. Must provide a search value.");if(arguments.length>2){if(!Aw(f))throw new TypeError(Ms("invalid argument. Third argument must be an integer. Value: `%s`.",f));m=f,m<0&&(m=0)}else m=0;if(Is(t)){if(!Is(a))throw new TypeError(Ms("invalid argument. Second argument must be a string. Value: `%s`.",a));return t.indexOf(a,m)!==-1}if(c=t.length,Cc(a)){for(q=m;q<c;q++)if(Cc(t[q]))return!0;return!1}for(q=m;q<c;q++)if(t[q]===a)return!0;return!1}u(qw,"contains");Pc.exports=qw});var Di=B((y9,Fc)=>{"use strict";var Ew=Lc();Fc.exports=Ew});var Uc=B((b9,Dc)=>{"use strict";function Iw(t){var a,f,c;for(a=t.length,f=0,c=0;c<a;c++)f+=t[c];return f}u(Iw,"sum");Dc.exports=Iw});var Bc=B((A9,Wc)=>{"use strict";function Mw(t,a){return t<a?-1:t>a?1:0}u(Mw,"compareFunction");function Ow(t){var a,f;for(a=new Array(t.length),f=0;f<t.length;f++)a[f]=f;return a.sort(c);function c(m,q){return Mw(t[m],t[q])}}u(Ow,"order");Wc.exports=Ow});var kc=B((E9,$c)=>{"use strict";var Tw=Di();function Rw(t,a){var f,c,m;for(f=t.length,c=new Array(f),m=0;m<f;m++)c[m]=Tw(a,t[m]);return c}u(Rw,"isMissing");$c.exports=Rw});var Hc=B((M9,Gc)=>{"use strict";var Nw=Li(),Os;function Cw(t){return Nw(t)==="[object Array]"}u(Cw,"isArray");Array.isArray?Os=Array.isArray:Os=Cw;Gc.exports=Os});var Ts=B((T9,zc)=>{"use strict";var Pw=Hc();zc.exports=Pw});var Zc=B((R9,Kc)=>{"use strict";var Lw=Ts();function Fw(t){return typeof t=="object"&&t!==null&&!Lw(t)}u(Fw,"isObject");Kc.exports=Fw});var Yc=B((C9,Xc)=>{"use strict";var Dw=Zc();Xc.exports=Dw});var nh=B((P9,eh)=>{"use strict";var Vc=Di(),Uw=Ts(),Ww=Yc(),Jc=bs().isPrimitive,Rs=ls(),Ui=Sr(),Qc=["min","max","average","dense","ordinal"],jc=["last","first","remove"];function Bw(t,a){return Ww(a)?Rs(a,"encoding")&&(t.encoding=a.encoding,!Uw(t.encoding))?new TypeError(Ui("invalid option. `%s` option must be an array. Option: `%s`.","encoding",t.encoding)):Rs(a,"method")&&(t.method=a.method,!Jc(t.method)||!Vc(Qc,t.method))?new TypeError(Ui('invalid option. `%s` option must be one of the following: "%s". Option: `%s`.',"method",Qc.join('", "'),t.method)):Rs(a,"missing")&&(t.missing=a.missing,!Jc(t.missing)||!Vc(jc,t.missing))?new TypeError(Ui('invalid option. `%s` option must be one of the following: "%s". Option: `%s`.',"missing",jc.join('", "'),t.missing)):null:new TypeError(Ui("invalid argument. Options argument must be an object. Value: `%s`.",a))}u(Bw,"validate");eh.exports=Bw});var rh=B((F9,th)=>{"use strict";var $w=rs(),kw=Di(),Gw=Sr(),Hw=Uc(),zw=Bc(),Kw=kc(),Zw=nh();function Xw(t,a){var f,c,m,q,C,T,U,$,te,H,oe,he,pe,Te,En,Ie,ie,Se;if(!$w(t))throw new TypeError(Gw("invalid argument. First argument must be an array-like object. Value: `%s`.",t));if(pe={},arguments.length>1&&(En=Zw(pe,a),En))throw En;for(oe=pe.method||"average",T=pe.encoding||[null,NaN],te=pe.missing||"last",Ie=t.length,Te=[],ie=0;ie<Ie;ie++)kw(T,t[ie])||Te.push(t[ie]);if(f=Kw(t,T),Ie=Te.length,q=0,he=new Array(Ie),$=zw(Te),oe==="ordinal")for(ie=0;ie<Ie;ie++)he[$[ie]]=ie+1;else for(c=0,ie=0;ie<Ie;ie++)if(U=ie+1,ie===Ie-1||Te[$[ie]]!==Te[$[U]]){switch(oe){case"min":H=U-c;break;case"max":H=U;break;case"dense":H=U-c-q,q+=c;break;case"average":default:H=U-.5*c;break}for(Se=ie-c;Se<U;Se++)he[$[Se]]=H;c=0}else c+=1;if(te==="first"){for(m=Hw(f),Se=1,C=new Array(f.length),ie=0;ie<f.length;ie++)f[ie]?(C[ie]=Se,Se+=1):C[ie]=he.shift()+m;return C}if(te==="last"){for(C=new Array(f.length),ie=0;ie<f.length;ie++)f[ie]?C[ie]=ie+he.length+1:C[ie]=he.shift();return C}return he}u(Xw,"ranks");th.exports=Xw});var Ns=B((U9,ih)=>{"use strict";var Yw=rh();ih.exports=Yw});var yr=B((exports,module)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var util_1=it(),cmm_1=Wi(),df_lib_1=Ir(),util2_1=Oi(),Index_1=Zt(),Series_1=br(),stat=Ri(),_=rt(),ranks=Ns(),_DataFrame=class{constructor(t,a){_.isUndefined(a)&&(a={});let f;if(t.length>0&&!(0,util_1.isArr)(t[0])){f=Object.keys(t[0]);let q=f;t=t.map(C=>q.map(T=>C[T])),a.columns=q}let c=t,m=a;m=_.defaults(m,{columns:c.length===0?[]:c[0].map((q,C)=>C),index:c.map((q,C)=>C)}),this._index=m.index instanceof Index_1.default?m.index:new Index_1.default(m.index),this._columns=m.columns instanceof Index_1.default?m.columns:new Index_1.default(m.columns),this.shape=[this.index.shape,this.columns.shape],util_1.check.frame.index.set(c.length,this.shape[0]),c.length>0&&util_1.check.frame.index.set(c[0].length,this.shape[1]),this.values=c}__transpose(t){return t[0].map((a,f)=>t.map(c=>c[f]))}_transpose(t){return t.length===0?[]:this.__transpose(t)}get tr(){return _.isUndefined(this._tr)&&(this.values.length>0?this._tr=this._transpose(this.values):this._tr=Array.from(Array(this.shape[1]).keys()).map(t=>[])),this._tr}set tr(t){this._tr=t}get index(){return this._index}get columns(){return this._columns}_indexSetterEffect(){}set index(t){this._index=(0,cmm_1.setIndex)(t,this.shape[0]),this._indexSetterEffect()}set columns(t){this._columns=(0,cmm_1.setIndex)(t,this.shape[1])}rename(t,a=!1){if(a)t.index&&(0,cmm_1._rename)(this.index,t.index,!0),t.columns&&(0,cmm_1._rename)(this.columns,t.columns,!0);else{let[f,c]=[this.index.cp(),this.columns.cp()];return t.index&&(0,cmm_1._rename)(f,t.index,!0),t.columns&&(0,cmm_1._rename)(c,t.columns,!0),new _DataFrame((0,cmm_1.cp)(this.values),{index:f,columns:c})}}_p(){let t=[],a=`${this.index.name}|${this.columns.name}`;t.push(a+"	"+this.columns.values.map(c=>c.toString()).join("	"));let f=this.values.map((c,m)=>{let q=[];return q.push(this.index.values[m].toString()),q=q.concat(c.map(C=>JSON.stringify(C))),q.join("	")});t=t.concat(f),console.log(t.join(`
`)+`
DataFrame (${this.shape})`)}p(){let t=`${this.index.name}|${this.columns.name}`,a=this.reset_index(t).reset_columns();console.table(a.values),console.log(`DataFrame (${this.shape})`)}transpose(t=!1){return t?([this.values,this.tr]=[this.tr,this.values],[this.shape[0],this.shape[1]]=[this.shape[1],this.shape[0]],[this.index,this.columns]=[this.columns,this.index],this):new _DataFrame((0,cmm_1.cp)(this.tr),{index:this.columns.cp(),columns:this.index.cp()})}_iloc_asymmetric(t,a,f,c,m,q){switch(!0){case((0,util_1.isNum)(m)&&q===void 0):util_1.check.iloc.num(m,a.shape);let C=m;return new Series_1.default((0,cmm_1.cp)(t[C]),{index:f.cp(),name:a.values[C]});case((0,util_1.isNum)(m)&&(0,util_1.isArr)(q)):{util_1.check.iloc.num(m,a.shape);let T=q,U=m,$=t[U],[te,H]=(0,cmm_1.vec_loc2)($,f.values,T),oe=new Index_1.default(H,f.name);return new Series_1.default(te,{index:oe,name:a.values[U]})}case((0,util_1.isArr)(m)&&q===void 0):{let T=m,[U,$]=(0,cmm_1.vec_loc2)(t,a.values,T),te=new Index_1.default($,a.name),H=f.cp(),oe=new _DataFrame(U,{index:te,columns:H});return c?oe.transpose(!0):oe}default:return null}}_iloc_symmetric(t,a){switch(!0){case(t==null&&a==null):let f=this.values.map($=>(0,cmm_1.cp)($));return new _DataFrame(f,{index:this.index.cp(),columns:this.columns.cp()});case((0,util_1.isNum)(t)&&(0,util_1.isNum)(a)):return util_1.check.iloc.num(t,this.shape[0]),util_1.check.iloc.num(a,this.shape[1]),this.values[t][a];case((0,util_1.isArr)(t)&&(0,util_1.isArr)(a)):let c=t,m=a,C=(0,cmm_1.vec_loc)(this.values,c,$=>$).map($=>(0,cmm_1.vec_loc)($,m)),T=new Index_1.default((0,cmm_1.vec_loc)(this.index.values,c),this.index.name),U=new Index_1.default((0,cmm_1.vec_loc)(this.columns.values,m),this.columns.name);return new _DataFrame(C,{index:T,columns:U});default:return null}}iloc(t,a){t===null&&(t=void 0),a===null&&(a=void 0),t=(0,util_1._trans_iloc)(t,this.shape[0]),a=(0,util_1._trans_iloc)(a,this.shape[1]);let f;if(f=this._iloc_symmetric(t,a),f!==null)return f;if(a===void 0||(0,util_1.isVal)(t)){if(f=this._iloc_asymmetric(this.values,this.index,this.columns,!1,t,a),f!==null)return f}else if(f=this._iloc_asymmetric(this.tr,this.columns,this.index,!0,a,t),f!==null)return f;throw"input parameters for iloc might be wrong"}loc(t,a){t===null&&(t=void 0),a===null&&(a=void 0),t=t,a=a;let f=(0,cmm_1._trans)(this.index,t),c=(0,cmm_1._trans)(this.columns,a);return this.iloc(f,c)}_iset_asymmetric(t,a,f,c,m,q){switch(!0){case((0,util_1.isVal)(c)&&q===void 0):util_1.check.iloc.num(c,a.shape),util_1.check.iset.rpl.num(m,f.shape),t[c]=m;break;case((0,util_1.isVal)(c)&&(0,util_1.isArr)(q)):{util_1.check.iloc.num(c,a.shape),util_1.check.iset.rpl.num(m,q.length);let C=q,T=t[c];(0,cmm_1.vec_set)(T,m,C)}break;case((0,util_1.isArr)(c)&&q===void 0):(0,cmm_1.vec_set)(t,m,c);break;default:return null}}_iset_symmetric(t,a,f){switch(!0){case(t==null&&a==null):util_1.check.iset.rpl.mat(f,this.shape),this.values=f,this._tr=void 0;break;case((0,util_1.isVal)(t)&&(0,util_1.isVal)(a)):util_1.check.iloc.num(t,this.shape[0]),util_1.check.iloc.num(a,this.shape[1]),this.values[t][a]=f,_.isUndefined(this._tr)||(this.tr[a][t]=f);break;case((0,util_1.isArr)(t)&&(0,util_1.isArr)(a)):(0,cmm_1.vec_loc)(this.values,t,m=>m).forEach((m,q)=>{(0,cmm_1.vec_set)(m,f[q],a)}),this._tr=void 0;break;default:return null}}_iset(t,a,f){let c;if(c=this._iset_symmetric(t,a,f),c===null&&(f=f,a===void 0||(0,util_1.isVal)(t)?(c=this._iset_asymmetric(this.values,this.index,this.columns,t,f,a),c===void 0&&(this._tr=void 0)):(f.length>0&&(0,util_1.isArr)(f[0])&&(f=this._transpose(f)),c=this._iset_asymmetric(this.tr,this.columns,this.index,a,f,t),c===void 0&&(this.values=this._transpose(this.tr)))),c===null)throw"function failed. Please check the input for _iset"}iset(t,a,f){a===void 0&&f===void 0?this._iset(void 0,void 0,t):f===void 0?(t===null&&(t=void 0),this._iset(t,void 0,a)):(t===null&&(t=void 0),a===null&&(a=void 0),this._iset(t,a,f))}set(t,a,f){if(a===void 0&&f===void 0)this._iset(void 0,void 0,t);else if(f===void 0)if(t===null&&(t=void 0),(0,util_1.isVal)(t)&&!this.index.has(t))this.push(a,{name:t,axis:0});else{let c=(0,cmm_1._trans)(this.index,t);this._iset(c,void 0,a)}else if(t===null&&(t=void 0),a===null&&(a=void 0),t===void 0&&(0,util_1.isVal)(a)&&!this.columns.has(a))this.push(f,{name:a,axis:1});else{let c=(0,cmm_1._trans)(this.index,t),m=(0,cmm_1._trans)(this.columns,a);this._iset(c,m,f)}}_push(t,{name:a="",axis:f=1}={}){f===0?(util_1.check.iset.rpl.num(t,this.shape[1]),this.values.push(t),this.index.values.push(a),this.shape[f]+=1,_.isUndefined(this._tr)||this.tr.forEach((c,m)=>{c.push(t[m])})):(util_1.check.iset.rpl.num(t,this.shape[0]),_.isUndefined(this._tr)||this.tr.push(t),this.columns.values.push(a),this.shape[f]+=1,this.values.forEach((c,m)=>{c.push(t[m])}))}_series_push(t,a){let f=a.axis===0?"columns":"index";if(JSON.stringify(t.index.values)===JSON.stringify(this[f].values))this._push(t.values,a);else if(this[f].is_unique()){try{t=t.loc(this[f].values)}catch(c){throw`There are values in the DataFrame's ${f} that are not in the to be pushed Series' index.`}if(t.shape>this[f].shape)throw`The series' index values that are indexed by the DataFrame's ${f} are not unique.`;this._push(t.values,a)}else throw`If the to be pushed Series' index does not match the DataFrame's ${f} exactly, the DataFrame's${f} must have only unique values.`}push(t,a={}){t instanceof Series_1.default?(_.defaults(a,{name:t.name,axis:1}),this._series_push(t,a)):(_.defaults(a,{name:"",axis:1}),this._push(t,a))}_insert(t,a,f,c,m){util_1.check.iloc.num(t,a.shape),f.splice(t,0,c),a.insert(t,m)}insert(t,a,{name:f="",axis:c=1}={}){c===0?(t=t<0?this.shape[0]+t:t,this._insert(t,this.index,this.values,a,f),this.shape[c]+=1,this._tr=void 0):(t=t<0?this.shape[1]+t:t,this._insert(t,this.columns,this.tr,a,f),this.shape[c]+=1,this.values=this._transpose(this.tr))}drop(t,a=1){t=(0,util_1.isArr)(t)?t:[t];let f=t;if(a===0){let c=(0,util_1.range)(this.index.shape).filter(m=>!f.includes(this.index.values[m]));return this.iloc(c)}else{let c=(0,util_1.range)(this.columns.shape).filter(m=>!f.includes(this.columns.values[m]));return this.iloc(null,c)}}drop_duplicates(t,{keep:a="first",axis:f=1}={}){if(f===1){let c=this.loc(null,t),m=(0,cmm_1.duplicated)(c.values,a);return this.loc(m.map(q=>!q))}else{let c=this.loc(t);c instanceof _DataFrame&&(c=c.transpose());let m=(0,cmm_1.duplicated)(c.values,a);return this.loc(null,m.map(q=>!q))}}set_index(t){util_1.check.set_index.label_uniq(t,this.columns);let a=this.loc(null,t).values,f=this.drop(t);return f.index=new Index_1.default(a,t),f}set_columns(t){util_1.check.set_index.label_uniq(t,this.index);let a=this.loc(t).values,f=this.drop(t,0);return f.columns=new Index_1.default(a,t),f}reset_index(t){let a=new _DataFrame((0,cmm_1.cp)(this.values),{columns:this.columns.cp()}),f=this.index.values;return t=t||this.index.name,a.insert(0,f,{name:t,axis:1}),a}reset_columns(t){let a=new _DataFrame((0,cmm_1.cp)(this.values),{index:this.index.cp()}),f=this.columns.values;return t=t||this.columns.name,a.insert(0,f,{name:t,axis:0}),a}to_dict(t=1){let a=t===1?this.values:this.tr,f=t===1?this.columns:this.index;return f.is_unique()||console.warn("The index is not unique. The output will only include the value of the last key among duplicated keys."),a.map(c=>{let m={};return f.values.forEach((q,C)=>{m[q]=c[C]}),m})}bool(t,a=1){return this.b(t,{axis:a})}b(expr,options){_.isUndefined(options)&&(options={});let{ctx=void 0,axis=1}=options,arr=[];(0,util_1.range)(expr.length).forEach(t=>{let a=expr[t];(a==="["||a==="]")&&arr.push(t)}),util_1.check.frame.b.expr(arr.length);let labels=[],expr2=expr;(0,util_1.range)(arr.length/2).forEach(t=>{let a=arr[t*2],f=arr[t*2+1],c=expr.slice(a,f+1),m=expr.slice(a+1,f),q=m.trim(),C=(q.match(/"/g)||[]).length,T=(q.match(/'/g)||[]).length,U=C>T?C:T;q.includes(",")&&(U===0||U>2)||q[q.length-1]!==","&&(q!==m&&(expr2=expr.replaceAll(c,`[${q}]`)),q=q[0]==='"'||q[0]==="'"?q.slice(1,q.length-1):parseInt(q),labels.push(q))}),expr=expr2;let index=axis===1?this.columns:this.index,vals=axis===1?this.values:this.tr,num_idx=labels.map(t=>{let a=index.trans(t),f;return(0,util_1.isArr)(a)?(f=a[a.length-1],console.warn(`label ${t} is duplicated in the DataFrame's ${axis===1?"columns":"index"}. The last one is used.`)):f=a,f});labels.forEach((t,a)=>{let f=num_idx[a],c=(0,util_1.isNum)(t)?`[${t}]`:`["${t}"]`,m=`v[${f}]`;expr=expr.replaceAll(c,m)});let __ctx__=options.ctx,newExpr=(0,cmm_1.addCtx)(expr,__ctx__),bidx=vals.map(v=>eval(newExpr));return bidx}query(t,a,f){return this.q(t,a,f)}q(t,a,f){let c=null,m=null;if(_.isUndefined(a))c=this.b(t,{axis:1});else if(_.isUndefined(f))if(!_.isString(a)&&a!==null)c=this.b(t,{axis:1,ctx:a});else{let q=_.isString(t)?(0,df_lib_1.findUnquotedAt)(t):void 0;q&&q.length>0?c=this.b(t,{axis:1,ctx:a}):(m=a===null?null:this.b(a,{axis:0}),c=t===null?null:this.b(t,{axis:1}))}else m=a===null?null:this.b(a,{axis:0,ctx:f}),c=t===null?null:this.b(t,{axis:1,ctx:f});return this.loc(c,m)}_iter(t,a){let f=u(c=>t==="index"?this.iloc(c):this.iloc(null,c),"accessor");if(_.isUndefined(a)){let c=this;function*m(){let q=0,C=t==="index"?(T,U,$)=>({row:T,key:U,i:$}):(T,U,$)=>({col:T,key:U,i:$});for(let T of c[t].values)yield[f(q),T,q],q+=1}return u(m,"iter"),m()}else this[t].values.forEach((c,m)=>{let q=f(m);a(q,c,m)})}iterrows(t){return _.isUndefined(t)?this._iter("index"):this._iter("index",t)}itercols(t){return _.isUndefined(t)?this._iter("columns"):this._iter("columns",t)}groupby(t,a=0){return _.isUndefined(t)?this._groupby(null):this._groupby(t,a)}_groupby(t,a=0){let f=a===0?this.columns:this.index,c=a===0?this.iterrows:this.itercols,m=a===0?this.index:this.columns,q={};return _.isNull(t)?c.call(this,(T,U,$)=>{let H=JSON.stringify([U]);H in q||(q[H]=[]),q[H].push($)}):(t=(0,util_1.isArr)(t)?t:[t],c.call(this,(T,U,$)=>{let te=T.loc(t).values,H=JSON.stringify(te);H in q||(q[H]=[]),q[H].push($)})),new df_lib_1.GroupByThen(q,a,this,t,f)}sort_values(t,{ascending:a=!0,axis:f=1}={}){let c=f===1?this.index:this.columns,m=f===1?T=>this.iloc(T):T=>this.iloc(null,T),q=f===1?T=>this.loc(null,T):T=>this.loc(T),C=f===1?T=>T.values:T=>T.tr;if(_.isNull(t)){let T=(0,df_lib_1._sortIndices)(c.values,!1,a);return m(T)}else{let T=q(t);if(T instanceof Series_1.default){let U=T,$=(0,df_lib_1._sortIndices)(U.values,!1,a);return m($)}else{let U=T,$=(0,df_lib_1._sortIndices)(C(U),!0,a);return m($)}}}op(opStr,second){if(_.isUndefined(second)){let vals;return _.isString(opStr)?vals=this.values.map(vec=>vec.map(x=>eval(opStr))):vals=this.values.map(t=>t.map(a=>opStr(a))),new _DataFrame(vals,{index:this.index.cp(),columns:this.columns.cp()})}else if(second instanceof _DataFrame&&this.index.is_unique()&&second.index.is_unique()){util_1.check.op.index(this.index,second.index);let t=[];return this.index.values.forEach(a=>{let f=this.loc(a),c=second.loc(a),m=f.op(opStr,c);t.push(m.values)}),new _DataFrame(t,{index:this.index,columns:this.columns})}else if(second instanceof _DataFrame){util_1.check.op.index(this.index,second.index),util_1.check.op.indexSame(this.index,second.index);let t=[];return this.index.values.forEach((a,f)=>{let c=this.iloc(f),m=second.iloc(f),q=c.op(opStr,m);t.push(q.values)}),new _DataFrame(t,{index:this.index,columns:this.columns})}else{util_1.check.op.values(this.index,second),util_1.check.op.values(this.columns,second[0]);let vals=[];return this.values.forEach((vec,i)=>{let vec2=second[i],vecNew=[];vec.forEach((x,j)=>{let y=vec2[j];vecNew.push(_.isString(opStr)?eval(opStr):opStr(x,y))}),vals.push(vecNew)}),new _DataFrame(vals,{index:this.index,columns:this.columns})}}merge(t,{on:a=void 0,axis:f=1}={}){let c;_.isUndefined(a)?c=this:f===1?(c=this.set_index(a),t=t.set_index(a)):(c=this.set_columns(a),t=t.set_columns(a));let m=(0,util2_1.concat)([c,t],f);return _.isUndefined(a)?m:f===1?(m.index.name=a,m.reset_index()):(m.columns.name=a,m.reset_columns())}rank(t={}){if(t=_.defaults(t,{axis:0}),t.axis===0){let a=this.tr.map(c=>ranks(c,t)),f=new _DataFrame(a,{index:this.columns.cp(),columns:this.index.cp()});return f.transpose(!0),f}else{let a=this.values.map(c=>ranks(c,t));return new _DataFrame(a,{index:this.index.cp(),columns:this.columns.cp()})}}change(t,{periods:a=1,axis:f=0}={}){if(f===1)return this.transpose().change(t,{periods:a}).transpose(!0);if(!Number.isInteger(a))throw new Error("periods must be an integer");if(a>=1){let c=this.iloc(`${a}:`),m=this.iloc(`:-${a}`),q=c.op(t,m.values),C=new _DataFrame((0,util2_1.full)([a,this.shape[1]],NaN),{index:this.index.values.slice(0,a),columns:this.columns.cp()});return(0,util2_1.concat)([C,q],0)}else if(a<=-1){let c=this.iloc(`:${a}`),m=this.iloc(`${-a}:`),q=c.op(t,m.values),C=new _DataFrame((0,util2_1.full)([-a,this.shape[1]],NaN),{index:this.index.values.slice(this.shape[0]+a),columns:this.columns.cp()});return(0,util2_1.concat)([q,C],0)}else return new _DataFrame((0,util2_1.full)(this.shape,0),{index:this.index.cp(),columns:this.columns.cp()})}diff({periods:t=1,axis:a=0}={}){return this.change("x-y",{periods:t,axis:a})}pct_change({periods:t=1,axis:a=0}={}){return this.change("(x-y)/y",{periods:t,axis:a})}rolling(t,{min_periods:a=void 0,center:f=!1,closed:c="right",step:m=1,axis:q=0}={}){return q===0?new df_lib_1.Rolling(this,t,a,f,c,m,q):new df_lib_1.Rolling(this.transpose(),t,a,f,c,m,q)}isna(){return this.op("_.isNil(x) || _.isNaN(x)")}to_raw(t=!0){return t?{values:(0,cmm_1.cp)(this.values),index:this.index.to_raw(),columns:this.index.to_raw()}:{values:this.values,index:this.index.to_raw(t),columns:this.index.to_raw(t)}}reduce(t,a=0){if(a===1){let f=this.values.map(c=>t(c));return new Series_1.default(f,{index:this.index})}else{let f=this.tr.map(c=>t(c));return new Series_1.default(f,{index:this.columns})}}_reduce_num(t,a){return this.reduce(t,a)}min(t=0){return this._reduce_num(stat.min,t)}max(t=0){return this._reduce_num(stat.max,t)}sum(t=0){return this._reduce_num(stat.sum,t)}mean(t=0){return this._reduce_num(stat.mean,t)}median(t=0){return this._reduce_num(stat.median,t)}std(t=0){return this._reduce_num(stat.sampleStandardDeviation,t)}var(t=0){return this._reduce_num(stat.sampleVariance,t)}mode(t=0){return this._reduce_num(stat.mode,t)}prod(t=0){return this._reduce_num(stat.product,t)}};u(_DataFrame,"DataFrame");exports.default=_DataFrame});var Ir=B(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.SeriesRolling=mn.Rolling=mn.findUnquotedAt=mn._sortIndices=mn.GroupByThen=void 0;var Vw=yr(),vn=rt(),uh=it(),sh=Oi(),Gn=Ri(),Bi=class{constructor(a,f,c,m,q){this.gp=a,this.axis=f,this.df=c,this.labels=m,this.index=q}_get_keep_labels(){return vn.difference(this.index.values,this.labels)}_prepare(a,f){let c=JSON.parse(a),m=c.length===1?c[0]:c;return{sub:this.axis===0?this.df.iloc(f):this.df.iloc(null,f),k:m}}then(a){let f=0;vn.forOwn(this.gp,(c,m)=>{let{sub:q,k:C}=this._prepare(m,c);a(q,C,f),f+=1})}[Symbol.iterator](){let a=this;function*f(){let c=0;for(let[m,q]of Object.entries(a.gp)){let{sub:C,k:T}=a._prepare(m,q);yield[C,T,c],c+=1}}return u(f,"iter"),f()}reduce(a){let f=vn.isNull(this.labels)?null:this._get_keep_labels(),c=vn.isNull(f)?C=>C:C=>C.loc(f),m=[];for(let[C,T]of this){let U=C.reduce(a,this.axis);vn.isString(T)||vn.isNumber(T)?U.name=T:U.name=JSON.stringify(T),U=c(U),m.push(U)}let q=(0,sh.concat)(m,1);return this.axis===0?q.transpose():q}_reduce_num(a){return this.reduce(a)}min(){return this._reduce_num(Gn.min)}max(){return this._reduce_num(Gn.max)}sum(){return this._reduce_num(Gn.sum)}mean(){return this._reduce_num(Gn.mean)}median(){return this._reduce_num(Gn.median)}std(){return this._reduce_num(Gn.sampleStandardDeviation)}var(){return this._reduce_num(Gn.sampleVariance)}mode(){return this._reduce_num(Gn.mode)}prod(){return this._reduce_num(Gn.product)}};u(Bi,"GroupByThen");mn.GroupByThen=Bi;function Jw(t,a,f){let c=u((q,C,T)=>q===C?0:vn.isNumber(q)&&vn.isNumber(C)?(q-C)*T:q<C?-1*T:T,"_cmp"),m=(0,uh.range)(t.length);if(a){let q=u((C,T)=>{let U=t[C],$=t[T],te=0;for(let H=0;H<U.length;H++){let he=(vn.isArray(f)?f[H]:f)?1:-1;if(te=c(U[H],$[H],he),te!==0)break}return te},"cmp");return m.sort(q)}else{let q=u((C,T)=>{f=vn.isArray(f)?f[0]:f;let U=f?1:-1;return c(t[C],t[T],U)},"cmp");return m.sort(q)}}u(Jw,"_sortIndices");mn._sortIndices=Jw;function Qw(t){let a=!1,f=null,c=[];for(let m=0;m<t.length;m++){let q=t[m];q==='"'||q==="'"?a?q===f&&(a=!1):(a=!0,f=q):q==="@"&&!a&&c.push(m)}return c}u(Qw,"findUnquotedAt");mn.findUnquotedAt=Qw;var Cs=u((t,a)=>Math.floor(t+1-a/2),"get_center_idx"),jw=u((t,a)=>Math.ceil(t+a/2-1),"get_i_from_center_idx"),Mr=class{constructor(a,f,c=f,m=!1,q="right",C=1,T=0){this.df=a,this.window=f,this.min_periods=c,this.center=m,this.closed=q,this.step=C,this.axis=T;let U=[],$=[];for(let te=m?jw(0,f):0;m?Cs(te,f)<a.shape[0]:te<a.shape[0];te+=C){if(m&&Cs(te,f)<0)continue;let H=m?Cs(te,f):te;$.push(a.index.values[H]);let oe=[];for(let he=f;he>=0;he--){let pe=te-he;pe>=0&&pe<a.shape[0]&&(he===f&&(q==="left"||q==="both")&&oe.push(pe),he===0&&(q==="right"||q==="both")&&oe.push(pe),he>0&&he<f&&oe.push(pe))}oe.length<c?U.push(NaN):U.push(a.iloc(oe))}this.wins=U,this.labels=$}apply(a,f=!1){let c=u(C=>vn.isNumber(C)?(0,sh.full)(this.df.shape[1],NaN):(0,uh.range)(this.df.shape[1]).map(T=>{let U=C.iloc(null,T),$=U.query("!_.isNaN(x)");return $.shape<this.min_periods?NaN:vn.isString(a)?$[a]():a(f?U.values:$.values)}),"fn"),m=this.wins.map(C=>c(C)),q=new Vw.default(m,{index:this.labels,columns:this.df.columns});return this.axis===0?q:q.transpose()}sum(){return this.apply("sum")}};u(Mr,"Rolling");mn.Rolling=Mr;var $i=class{constructor(a,f,c=f,m=!1,q="right",C=1){this.df=a,this.window=f,this.min_periods=c,this.center=m,this.closed=q,this.step=C,this.roll=new Mr(a,f,c,m,q,C)}apply(a,f=!1){return this.roll.apply(a,f).iloc(null,0)}sum(){return this.apply("sum")}};u($i,"SeriesRolling");mn.SeriesRolling=$i});var br=B((exports,module)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var util_1=it(),cmm_1=Wi(),df_lib_1=Ir(),Index_1=Zt(),DataFrame_1=yr(),stat=Ri(),_=rt(),ranks=Ns(),df_lib_2=Ir(),_Series=class{constructor(t,a){_.isUndefined(a)&&(a={}),a=_.defaults(a,{name:"",index:new Index_1.default(t.map((f,c)=>c))}),this.values=t,this.shape=this.values.length,this._name=a.name,this._index=a.index instanceof Index_1.default?a.index:new Index_1.default(a.index)}get index(){return this._index}set index(t){this._index=(0,cmm_1.setIndex)(t,this.shape)}get name(){return this._name}set name(t){this._name=t}rename(t,a=!1){if(a)(0,cmm_1._rename)(this.index,t,!0);else{let f=(0,cmm_1._rename)(this.index,t,!1);return new _Series((0,cmm_1.cp)(this.values),{index:f,name:this.name})}}p(){let t=this.name?" "+this.name:"";console.log(this.index.values.map(a=>a.toString()).join("	")+`
`+this.values.map(a=>(0,cmm_1._str)(a)).join("	")+`
Series (${this.shape})${t}`)}_iloc(t){switch(!0){case t===void 0:return new _Series((0,cmm_1.cp)(this.values),{index:this.index.cp(),name:this.name});case(0,util_1.isNum)(t):return util_1.check.iloc.num(t,this.shape),this.values[t];default:let[a,f]=(0,cmm_1.vec_loc2)(this.values,this.index.values,t),c=new Index_1.default(f,this.index.name);return new _Series(a,{index:f,name:this.name})}}iloc(t){return t=(0,util_1._trans_iloc)(t,this.shape),this._iloc(t)}loc(t){let a;return _.isNumber(t)||_.isString(t)?a=(0,cmm_1._trans)(this.index,t):a=(0,cmm_1._trans)(this.index,t),_.isNumber(a)?this._iloc(a):this._iloc(a)}_iset(t,a){switch(!0){case t===void 0:util_1.check.iset.rpl.num(a,this.shape),this.values=(0,cmm_1.cp)(a);break;case(0,util_1.isVal)(t):util_1.check.iloc.num(t,this.shape),this.values[t]=a;break;default:(0,cmm_1.vec_set)(this.values,a,t)}}iset(t,a){a===void 0?this._iset(void 0,t):(t=(0,util_1._trans_iloc)(t,this.shape),this._iset(t,a))}set(t,a){if(a===void 0)this._iset(void 0,t);else if((0,util_1.isVal)(t)&&!this.index.has(t))this.push(a,t);else{if((t instanceof Index_1.default||t instanceof _Series)&&(t=t.values),(0,util_1.isNum)(t)||(0,util_1.isStr)(t)){let c=this.index.mp.get(t);(0,util_1.isArr)(c)&&!(0,util_1.isArr)(a)&&(a=Array.from(Array(c.length).keys()).map(m=>a))}let f=(0,cmm_1._trans)(this.index,t);this._iset(f,a)}}push(t,a=""){this.values.push(t),this.index.values.push(a),this.shape+=1}insert(t,a,f=""){util_1.check.iloc.num(t,this.shape),this.values.splice(t,0,a),this.index.insert(t,f),this.shape+=1}drop(t){t=(0,util_1.isArr)(t)?t:[t];let a=t,f=(0,util_1.range)(this.index.shape).filter(c=>!a.includes(this.index.values[c]));return this.iloc(f)}drop_duplicates(t="first"){let a=(0,cmm_1.duplicated)(this.values,t);return this.loc(a.map(f=>!f))}bool(t){return this.b(t)}b(expr,__ctx__){let newExpr=(0,cmm_1.addCtx)(expr,__ctx__);return this.values.map(x=>eval(newExpr))}query(t,a){return this.q(t,a)}q(t,a){let f=this.b(t,a);return this.loc(f)}sort_values(t=!0){let a=(0,df_lib_1._sortIndices)(this.values,!1,t);return this.iloc(a)}value_counts(){let t=new Map;this.values.forEach(m=>{let q=m;t.has(q)||t.set(q,0),t.set(q,t.get(q)+1)});let a=[];t.forEach((m,q)=>{a.push([q,m])});let c=new DataFrame_1.default(a,{columns:["value","count"]}).sort_values("count",{ascending:!1}).set_index("value").loc(null,"count");return c.name="",c.index.name="",c}op(opStr,ss){if(_.isUndefined(ss)){let vals;return _.isString(opStr)?vals=this.values.map(x=>eval(opStr)):vals=this.values.map(t=>opStr(t)),new _Series(vals,{index:this.index,name:this.name})}else if(ss instanceof _Series&&this.index.is_unique()&&ss.index.is_unique()){util_1.check.op.index(this.index,ss.index);let vals=[];return this.index.values.forEach(idx=>{let x=this.loc(idx),y=ss.loc(idx),val=_.isString(opStr)?eval(opStr):opStr(x,y);vals.push(val)}),new _Series(vals,this.index)}else{ss instanceof _Series&&(util_1.check.op.index(this.index,ss.index),util_1.check.op.indexSame(this.index,ss.index),ss=ss.values),util_1.check.op.values(this.index,ss);let vals=[];return this.values.forEach((x,i)=>{let y=ss[i],val=_.isString(opStr)?eval(opStr):opStr(x,y);vals.push(val)}),new _Series(vals,this.index)}}unique(){return _.uniq(this.values)}rank(t={}){let a=ranks(this.values,t);return new _Series(a,{index:this.index,name:this.name})}change(t,a=1){return new DataFrame_1.default(this.values.map(m=>[m]),{index:this.index.cp(),columns:[this.name]}).change(t,{periods:a}).iloc(null,0)}diff(t=1){return this.change("x-y",t)}pct_change(t=1){return this.change("(x-y)/y",t)}rolling(t,{min_periods:a=void 0,center:f=!1,closed:c="right",step:m=1}={}){let q=new DataFrame_1.default(this.values.map(T=>[T]),{index:this.index.cp(),columns:[this.name]});return new df_lib_2.SeriesRolling(q,t,a,f,c,m)}isna(){return this.op("_.isNil(x) || _.isNaN(x)")}reduce(t){return t(this.values)}min(){return stat.min(this.values)}max(){return stat.max(this.values)}sum(){return stat.sum(this.values)}mean(){return stat.mean(this.values)}mode(){return stat.mode(this.values)}median(){return stat.median(this.values)}std(){return stat.sampleStandardDeviation(this.values)}var(){return stat.sampleVariance(this.values)}prod(){return stat.product(this.values)}to_raw(t=!0){return t?{values:(0,cmm_1.cp)(this.values),name:this.name,index:this.index.to_raw()}:{values:this.values,name:this.name,index:this.index.to_raw(t)}}};u(_Series,"Series");exports.default=_Series});var Wi=B(Ee=>{"use strict";Object.defineProperty(Ee,"__esModule",{value:!0});Ee.addCtx=Ee._rename=Ee.duplicated=Ee.setIndex=Ee._trans=Ee._str=Ee.cp=Ee.vec_set=Ee.vec_loc2=Ee.vec_loc=void 0;var ye=it(),Or=Zt(),ah=br(),Ps=rt(),e2=Ir();function Tr(t){return t.slice(0)}u(Tr,"cp");Ee.cp=Tr;function n2(t,a,f){if(a.length===0)return[];if(f===void 0&&(f=(0,ye.isArr)(t[0])?c=>Tr(c):c=>c),typeof a[0]=="number")return a.map(c=>(ye.check.iloc.num(c,t.length),f(t[c])));{ye.check.iloc.bool(a,t.length);let c=[];return a.forEach((m,q)=>{m&&c.push(f(t[q]))}),c}}u(n2,"vec_loc");Ee.vec_loc=n2;function t2(t,a,f){if(f.length===0)return[[],[]];let c=[],m=[],q=(0,ye.isArr)(t[0])?T=>Tr(T):T=>T,C=(0,ye.isArr)(a[0])?T=>Tr(T):T=>T;return typeof f[0]=="number"?f.forEach(T=>{ye.check.iloc.num(T,t.length),c.push(q(t[T])),m.push(C(a[T]))}):(ye.check.iloc.bool(f,t.length),f.forEach((T,U)=>{T&&(c.push(q(t[U])),m.push(C(a[U])))})),[c,m]}u(t2,"vec_loc2");Ee.vec_loc2=t2;function r2(t,a,f){if(f.length===0){ye.check.iset.rpl.num(a,f.length);return}let c=(0,ye.isArr)(a[0])?m=>Tr(m):m=>m;if(typeof f[0]=="number")ye.check.iset.rpl.num(a,f.length),f.forEach((m,q)=>{ye.check.iloc.num(m,t.length),q===0&&((0,ye.isArr)(t[0])?ye.check.iset.rpl.num(a[0],t[0].length):ye.check.iset.rpl.val(a[0])),t[m]=c(a[q])});else{let m=0;f=f,ye.check.iloc.bool(f,t.length),ye.check.iset.rpl.bool(a,f),f.forEach((q,C)=>{q&&(m===0&&((0,ye.isArr)(t[0])?ye.check.iset.rpl.num(a[0],t[0].length):ye.check.iset.rpl.val(a[0])),t[C]=c(a[m]),m+=1)})}}u(r2,"vec_set");Ee.vec_set=r2;function i2(t){return(0,ye.isNum)(t)||(0,ye.isStr)(t)||(0,ye.isArr)(t)?t.toString():JSON.stringify(t)}u(i2,"_str");Ee._str=i2;function u2(t,a){if((0,ye.isVal)(a))return t.trans(a);switch(!0){case a instanceof Or.default:return t.trans(a.values);case(a instanceof ah.default&&a.values.length>0&&typeof a.values[0]!="boolean"):return t.trans(a.values);case a instanceof ah.default:return a.values;case(Ps.isArray(a)&&a.length>0&&typeof a[0]!="boolean"):return t.trans(a);default:return a}}u(u2,"_trans");Ee._trans=u2;var s2=u((t,a)=>{let f=t instanceof Or.default?t.shape:t.length;return ye.check.frame.index.set(a,f),t instanceof Or.default?t:new Or.default(t)},"setIndex");Ee.setIndex=s2;var a2=u((t,a="first",f=JSON.stringify)=>{let c={},m=[];return t.forEach((q,C)=>{let T=Ps.isString(q)||Ps.isNumber(q)?q:f(q);T in c?a==="first"?m[C]=!0:a==="last"?(m[c[T]]=!0,c[T]=C,m[C]=!1):(m[c[T]]=!0,m[C]=!0):(m[C]=!1,c[T]=C)}),m},"duplicated");Ee.duplicated=a2;function o2(t,a,f=!1){if(f)for(let[c,m]of t.values.entries())m in a&&(t.values[c]=a[m]);else{let c=[];for(let m of t.values)m in a?c.push(a[m]):c.push(m);return new Or.default(c,t.name)}}u(o2,"_rename");Ee._rename=o2;function f2(t,a){let f=(0,e2.findUnquotedAt)(t),c="",m=0;for(var q of t.matchAll(/(@[a-zA-Z_$][a-zA-Z0-9_$]*)|(@)/g)){let C=q.index;if(f.includes(C)){let T=q[0]==="@"?"__ctx__":`__ctx__["${q[0].slice(1)}"]`;c+=t.slice(m,C)+T,m=C+q[0].length}}return c+=t.slice(m),c}u(f2,"addCtx");Ee.addCtx=f2});var Zt=B(Fs=>{"use strict";Object.defineProperty(Fs,"__esModule",{value:!0});var Ls=Wi(),l2=it(),c2=rt(),Yt=class{constructor(a,f){this.name=f||"",this.values=a}get values(){return this._values}set values(a){let f=this;this.__values=a,this._values=new Proxy(a,{set(c,m,q){if(m!=="length"){let C=parseFloat(m);l2.check.index.set(C,f.shape,q),c[C]=q,f.remap(),f.shape=f._values.length}else c[m]=q;return!0}}),this.remap(),this.shape=this._values.length}p(){let a=Array.from(this.values.keys()).join("	"),f=this.values.join("	"),c=this.name?" "+this.name:"",m=`Index (${this.shape})${c}`;console.log(a+`
`+f+`
`+m)}_add(a,f){if(!this.mp.has(a))this.mp.set(a,f);else{let c=this.mp.get(a);Array.isArray(c)?c.push(f):this.mp.set(a,[c,f])}}remap(){this.mp=new Map,this.values.forEach((a,f)=>{this._add(a,f)})}insert(a,f){this.__values.splice(a,0,f),this.remap(),this.shape+=1}cp(){return new Yt((0,Ls.cp)(this.__values),this.name)}has(a){return this.mp.has(a)}unique(){return Array.from(this.mp.keys())}is_unique(){return this.mp.size===this.shape}check(a){if(!this.mp.has(a))throw`${a} does not exist in index`}trans(a){if(Array.isArray(a)){let f=[];return a.forEach(c=>{this.check(c);let m=this.trans(c);Array.isArray(m)?f.push(...m):f.push(m)}),f}else return this.check(a),this.mp.get(a)}duplicated(a="first"){return(0,Ls.duplicated)(this.values,a)}to_raw(a){return a=c2.isUndefined(a)?!0:a,a?{values:(0,Ls.cp)(this.__values),name:this.name}:{values:this.__values,name:this.name}}};u(Yt,"Index");Fs.default=Yt});var d2=B(Ze=>{Object.defineProperty(Ze,"__esModule",{value:!0});Ze.from_raw=Ze.concat=Ze.range=Ze.Index=Ze.Series=Ze.DataFrame=void 0;var h2=Zt();Ze.Index=h2.default;var p2=br();Ze.Series=p2.default;var _2=yr();Ze.DataFrame=_2.default;var g2=it();Object.defineProperty(Ze,"range",{enumerable:!0,get:function(){return g2.range}});var oh=Oi();Object.defineProperty(Ze,"concat",{enumerable:!0,get:function(){return oh.concat}});Object.defineProperty(Ze,"from_raw",{enumerable:!0,get:function(){return oh.from_raw}})});return d2();})();
/*! Bundled license information:

lodash/lodash.js:
  (**
   * @license
   * Lodash <https://lodash.com/>
   * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
   * Released under MIT license <https://lodash.com/license>
   * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
   * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
   *)

@stdlib/math-base-special-floor/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/math-base-special-floor/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/math-base-assert-is-integer/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/math-base-assert-is-integer/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/constants-array-max-typed-array-length/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-collection/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-collection/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/utils-define-property/lib/define_property.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2021 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/utils-define-property/lib/has_define_property_support.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2021 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/utils-define-property/lib/builtin.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/string-base-format-interpolate/lib/is_number.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2022 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/string-base-format-interpolate/lib/zero_pad.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2022 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/string-base-format-interpolate/lib/format_integer.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2022 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/string-base-format-interpolate/lib/is_string.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2022 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/string-base-format-interpolate/lib/format_double.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2022 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/string-base-format-interpolate/lib/space_pad.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2022 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/string-base-format-interpolate/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2022 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/string-base-format-interpolate/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2022 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/string-base-format-tokenize/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2022 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/string-base-format-tokenize/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2022 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/string-format/lib/is_string.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2022 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/string-format/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2022 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/string-format/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2022 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/utils-define-property/lib/polyfill.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/utils-define-property/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/utils-define-nonenumerable-read-only-property/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/utils-define-nonenumerable-read-only-property/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-number/lib/primitive.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-has-symbol-support/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-has-symbol-support/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-has-tostringtag-support/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-has-tostringtag-support/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/utils-native-class/lib/tostring.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/utils-native-class/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-has-own-property/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-has-own-property/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/symbol-ctor/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/symbol-ctor/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/utils-native-class/lib/tostringtag.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/utils-native-class/lib/polyfill.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/utils-native-class/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/number-ctor/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/number-ctor/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-number/lib/tostring.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-number/lib/try2serialize.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-number/lib/object.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-number/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-number/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/constants-float64-pinf/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/constants-float64-ninf/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-integer/lib/integer.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-integer/lib/primitive.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-integer/lib/object.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-integer/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-integer/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-string/lib/primitive.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-string/lib/valueof.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-string/lib/try2valueof.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-string/lib/object.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-string/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-string/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/math-base-assert-is-nan/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/math-base-assert-is-nan/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-nan/lib/primitive.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-nan/lib/object.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-nan/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-nan/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-contains/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-contains/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/stats-ranks/lib/sum.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/stats-ranks/lib/order.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/stats-ranks/lib/is_missing.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-array/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-array/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-object/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/assert-is-object/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/stats-ranks/lib/validate.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/stats-ranks/lib/main.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)

@stdlib/stats-ranks/lib/index.js:
  (**
  * @license Apache-2.0
  *
  * Copyright (c) 2018 The Stdlib Authors.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *    http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *)
*/