You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

array-of-arrays-into-ast

Package Overview
Dependencies
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-of-arrays-into-ast - npm Package Compare versions

Comparing version

to
1.3.1

2

dist/array-of-arrays-into-ast.umd.js

@@ -1,1 +0,1 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.arrayOfArraysIntoAst=e()}(this,function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,e){return t(e={exports:{}},e.exports),e.exports}var n=r(function(t,r){var n,o,a,i,c,u,s,f,p,y,l,h,g,b,d,v,_,m,j,w;t.exports=(n="function"==typeof Promise,o="object"==typeof self?self:e,a="undefined"!=typeof Symbol,i="undefined"!=typeof Map,c="undefined"!=typeof Set,u="undefined"!=typeof WeakMap,s="undefined"!=typeof WeakSet,f="undefined"!=typeof DataView,p=a&&void 0!==Symbol.iterator,y=a&&void 0!==Symbol.toStringTag,l=c&&"function"==typeof Set.prototype.entries,h=i&&"function"==typeof Map.prototype.entries,g=l&&Object.getPrototypeOf((new Set).entries()),b=h&&Object.getPrototypeOf((new Map).entries()),d=p&&"function"==typeof Array.prototype[Symbol.iterator],v=d&&Object.getPrototypeOf([][Symbol.iterator]()),_=p&&"function"==typeof String.prototype[Symbol.iterator],m=_&&Object.getPrototypeOf(""[Symbol.iterator]()),j=8,w=-1,function(t){var e=typeof t;if("object"!==e)return e;if(null===t)return"null";if(t===o)return"global";if(Array.isArray(t)&&(!1===y||!(Symbol.toStringTag in t)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&t===window.location)return"Location";if("object"==typeof window.document&&t===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&t===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&t===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&t instanceof window.HTMLElement){if("BLOCKQUOTE"===t.tagName)return"HTMLQuoteElement";if("TD"===t.tagName)return"HTMLTableDataCellElement";if("TH"===t.tagName)return"HTMLTableHeaderCellElement"}}var r=y&&t[Symbol.toStringTag];if("string"==typeof r)return r;var a=Object.getPrototypeOf(t);return a===RegExp.prototype?"RegExp":a===Date.prototype?"Date":n&&a===Promise.prototype?"Promise":c&&a===Set.prototype?"Set":i&&a===Map.prototype?"Map":s&&a===WeakSet.prototype?"WeakSet":u&&a===WeakMap.prototype?"WeakMap":f&&a===DataView.prototype?"DataView":i&&a===b?"Map Iterator":c&&a===g?"Set Iterator":d&&a===v?"Array Iterator":_&&a===m?"String Iterator":null===a?"Object":Object.prototype.toString.call(t).slice(j,w)})});function o(t,e,r){if(e!=e)return function(t,e,r,n){for(var o=t.length,a=r+(n?1:-1);n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,i,r);for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}function a(t,e,r,n){for(var o=r-1,a=t.length;++o<a;)if(n(t[o],e))return o;return-1}function i(t){return t!=t}var c=Array.prototype.splice;function u(t,e,r,n){var i,u=n?a:o,s=-1,f=e.length,p=t;for(t===e&&(e=function(t,e){var r=-1,n=t.length;e||(e=Array(n));for(;++r<n;)e[r]=t[r];return e}(e)),r&&(p=function(t,e){for(var r=-1,n=t?t.length:0,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}(t,(i=r,function(t){return i(t)})));++s<f;)for(var y=0,l=e[s],h=r?r(l):l;(y=u(p,h,y,n))>-1;)p!==t&&c.call(p,y,1),c.call(t,y,1);return t}var s=function(t,e){return t&&t.length&&e&&e.length?u(t,e):t},f=r(function(t,r){var n=200,o="__lodash_hash_undefined__",a=9007199254740991,i="[object Arguments]",c="[object Boolean]",u="[object Date]",s="[object Function]",f="[object GeneratorFunction]",p="[object Map]",y="[object Number]",l="[object Object]",h="[object RegExp]",g="[object Set]",b="[object String]",d="[object Symbol]",v="[object ArrayBuffer]",_="[object DataView]",m="[object Float32Array]",j="[object Float64Array]",w="[object Int8Array]",O="[object Int16Array]",k="[object Int32Array]",A="[object Uint8Array]",$="[object Uint8ClampedArray]",S="[object Uint16Array]",E="[object Uint32Array]",M=/\w*$/,T=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,P={};P[i]=P["[object Array]"]=P[v]=P[_]=P[c]=P[u]=P[m]=P[j]=P[w]=P[O]=P[k]=P[p]=P[y]=P[l]=P[h]=P[g]=P[b]=P[d]=P[A]=P[$]=P[S]=P[E]=!0,P["[object Error]"]=P[s]=P["[object WeakMap]"]=!1;var x="object"==typeof e&&e&&e.Object===Object&&e,K="object"==typeof self&&self&&self.Object===Object&&self,N=x||K||Function("return this")(),W=r&&!r.nodeType&&r,C=W&&t&&!t.nodeType&&t,F=C&&C.exports===W;function V(t,e){return t.set(e[0],e[1]),t}function L(t,e){return t.add(e),t}function D(t,e,r,n){var o=-1,a=t?t.length:0;for(n&&a&&(r=t[++o]);++o<a;)r=e(r,t[o],o,t);return r}function R(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function B(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function H(t,e){return function(r){return t(e(r))}}function G(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var U,J=Array.prototype,q=Function.prototype,z=Object.prototype,Q=N["__core-js_shared__"],X=(U=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+U:"",Y=q.toString,Z=z.hasOwnProperty,tt=z.toString,et=RegExp("^"+Y.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=F?N.Buffer:void 0,nt=N.Symbol,ot=N.Uint8Array,at=H(Object.getPrototypeOf,Object),it=Object.create,ct=z.propertyIsEnumerable,ut=J.splice,st=Object.getOwnPropertySymbols,ft=rt?rt.isBuffer:void 0,pt=H(Object.keys,Object),yt=Ct(N,"DataView"),lt=Ct(N,"Map"),ht=Ct(N,"Promise"),gt=Ct(N,"Set"),bt=Ct(N,"WeakMap"),dt=Ct(Object,"create"),vt=Rt(yt),_t=Rt(lt),mt=Rt(ht),jt=Rt(gt),wt=Rt(bt),Ot=nt?nt.prototype:void 0,kt=Ot?Ot.valueOf:void 0;function At(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function $t(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function St(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Et(t){this.__data__=new $t(t)}function Mt(t,e){var r=Ht(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Gt(t)}(t)&&Z.call(t,"callee")&&(!ct.call(t,"callee")||tt.call(t)==i)}(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,o=!!n;for(var a in t)!e&&!Z.call(t,a)||o&&("length"==a||Lt(a,n))||r.push(a);return r}function Tt(t,e,r){var n=t[e];Z.call(t,e)&&Bt(n,r)&&(void 0!==r||e in t)||(t[e]=r)}function It(t,e){for(var r=t.length;r--;)if(Bt(t[r][0],e))return r;return-1}function Pt(t,e,r,n,o,a,T){var I;if(n&&(I=a?n(t,o,a,T):n(t)),void 0!==I)return I;if(!qt(t))return t;var x=Ht(t);if(x){if(I=function(t){var e=t.length,r=t.constructor(e);e&&"string"==typeof t[0]&&Z.call(t,"index")&&(r.index=t.index,r.input=t.input);return r}(t),!e)return function(t,e){var r=-1,n=t.length;e||(e=Array(n));for(;++r<n;)e[r]=t[r];return e}(t,I)}else{var K=Vt(t),N=K==s||K==f;if(Ut(t))return function(t,e){if(e)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}(t,e);if(K==l||K==i||N&&!a){if(R(t))return a?t:{};if(I=function(t){return"function"!=typeof t.constructor||Dt(t)?{}:(e=at(t),qt(e)?it(e):{});var e}(N?{}:t),!e)return function(t,e){return Nt(t,Ft(t),e)}(t,function(t,e){return t&&Nt(e,zt(e),t)}(I,t))}else{if(!P[K])return a?t:{};I=function(t,e,r,n){var o=t.constructor;switch(e){case v:return Kt(t);case c:case u:return new o(+t);case _:return function(t,e){var r=e?Kt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,n);case m:case j:case w:case O:case k:case A:case $:case S:case E:return function(t,e){var r=e?Kt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,n);case p:return function(t,e,r){return D(e?r(B(t),!0):B(t),V,new t.constructor)}(t,n,r);case y:case b:return new o(t);case h:return(s=new(i=t).constructor(i.source,M.exec(i))).lastIndex=i.lastIndex,s;case g:return function(t,e,r){return D(e?r(G(t),!0):G(t),L,new t.constructor)}(t,n,r);case d:return a=t,kt?Object(kt.call(a)):{}}var a;var i,s}(t,K,Pt,e)}}T||(T=new Et);var W=T.get(t);if(W)return W;if(T.set(t,I),!x)var C=r?function(t){return function(t,e,r){var n=e(t);return Ht(t)?n:function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}(n,r(t))}(t,zt,Ft)}(t):zt(t);return function(t,e){for(var r=-1,n=t?t.length:0;++r<n&&!1!==e(t[r],r,t););}(C||t,function(o,a){C&&(o=t[a=o]),Tt(I,a,Pt(o,e,r,n,a,t,T))}),I}function xt(t){return!(!qt(t)||(e=t,X&&X in e))&&(Jt(t)||R(t)?et:T).test(Rt(t));var e}function Kt(t){var e=new t.constructor(t.byteLength);return new ot(e).set(new ot(t)),e}function Nt(t,e,r,n){r||(r={});for(var o=-1,a=e.length;++o<a;){var i=e[o],c=n?n(r[i],t[i],i,r,t):void 0;Tt(r,i,void 0===c?t[i]:c)}return r}function Wt(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function Ct(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return xt(r)?r:void 0}At.prototype.clear=function(){this.__data__=dt?dt(null):{}},At.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},At.prototype.get=function(t){var e=this.__data__;if(dt){var r=e[t];return r===o?void 0:r}return Z.call(e,t)?e[t]:void 0},At.prototype.has=function(t){var e=this.__data__;return dt?void 0!==e[t]:Z.call(e,t)},At.prototype.set=function(t,e){return this.__data__[t]=dt&&void 0===e?o:e,this},$t.prototype.clear=function(){this.__data__=[]},$t.prototype.delete=function(t){var e=this.__data__,r=It(e,t);return!(r<0||(r==e.length-1?e.pop():ut.call(e,r,1),0))},$t.prototype.get=function(t){var e=this.__data__,r=It(e,t);return r<0?void 0:e[r][1]},$t.prototype.has=function(t){return It(this.__data__,t)>-1},$t.prototype.set=function(t,e){var r=this.__data__,n=It(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},St.prototype.clear=function(){this.__data__={hash:new At,map:new(lt||$t),string:new At}},St.prototype.delete=function(t){return Wt(this,t).delete(t)},St.prototype.get=function(t){return Wt(this,t).get(t)},St.prototype.has=function(t){return Wt(this,t).has(t)},St.prototype.set=function(t,e){return Wt(this,t).set(t,e),this},Et.prototype.clear=function(){this.__data__=new $t},Et.prototype.delete=function(t){return this.__data__.delete(t)},Et.prototype.get=function(t){return this.__data__.get(t)},Et.prototype.has=function(t){return this.__data__.has(t)},Et.prototype.set=function(t,e){var r=this.__data__;if(r instanceof $t){var o=r.__data__;if(!lt||o.length<n-1)return o.push([t,e]),this;r=this.__data__=new St(o)}return r.set(t,e),this};var Ft=st?H(st,Object):function(){return[]},Vt=function(t){return tt.call(t)};function Lt(t,e){return!!(e=null==e?a:e)&&("number"==typeof t||I.test(t))&&t>-1&&t%1==0&&t<e}function Dt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||z)}function Rt(t){if(null!=t){try{return Y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Bt(t,e){return t===e||t!=t&&e!=e}(yt&&Vt(new yt(new ArrayBuffer(1)))!=_||lt&&Vt(new lt)!=p||ht&&"[object Promise]"!=Vt(ht.resolve())||gt&&Vt(new gt)!=g||bt&&"[object WeakMap]"!=Vt(new bt))&&(Vt=function(t){var e=tt.call(t),r=e==l?t.constructor:void 0,n=r?Rt(r):void 0;if(n)switch(n){case vt:return _;case _t:return p;case mt:return"[object Promise]";case jt:return g;case wt:return"[object WeakMap]"}return e});var Ht=Array.isArray;function Gt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}(t.length)&&!Jt(t)}var Ut=ft||function(){return!1};function Jt(t){var e=qt(t)?tt.call(t):"";return e==s||e==f}function qt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function zt(t){return Gt(t)?Mt(t):function(t){if(!Dt(t))return pt(t);var e=[];for(var r in Object(t))Z.call(t,r)&&"constructor"!=r&&e.push(r);return e}(t)}t.exports=function(t){return Pt(t,!0,!0)}}),p="[object Object]";var y,l,h=Function.prototype,g=Object.prototype,b=h.toString,d=g.hasOwnProperty,v=b.call(Object),_=g.toString,m=(y=Object.getPrototypeOf,l=Object,function(t){return y(l(t))});var j=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||_.call(t)!=p||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t))return!1;var e=m(t);if(null===e)return!0;var r=d.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&b.call(r)==v};const w=Array.isArray;function O(t){return"string"==typeof t&&t.length>0&&"."===t[0]?t.slice(1):t}function k(t,e){return function t(e,r,n){const o=f(e);let a,i,c,u,s;if((n=Object.assign({depth:-1,path:""},n)).depth+=1,w(o))for(a=0,i=o.length;a<i;a++){const e=`${n.path}.${a}`;void 0!==o[a]?(n.parent=f(o),c=t(r(o[a],void 0,Object.assign({},n,{path:O(e)})),r,Object.assign({},n,{path:O(e)})),Number.isNaN(c)&&a<o.length?(o.splice(a,1),a-=1):o[a]=c):o.splice(a,1)}else if(j(o))for(a=0,i=(u=Object.keys(o)).length;a<i;a++){s=u[a];const e=`${n.path}.${s}`;0===n.depth&&null!=s&&(n.topmostKey=s),n.parent=f(o),c=t(r(s,o[s],Object.assign({},n,{path:O(e)})),r,Object.assign({},n,{path:O(e)})),Number.isNaN(c)?delete o[s]:o[s]=c}return o}(t,e,{})}var A="__lodash_hash_undefined__",$=9007199254740991,S="[object Function]",E="[object GeneratorFunction]",M=/^\[object .+?Constructor\]$/,T="object"==typeof e&&e&&e.Object===Object&&e,I="object"==typeof self&&self&&self.Object===Object&&self,P=T||I||Function("return this")();function x(t,e){return!!(t?t.length:0)&&function(t,e,r){if(e!=e)return function(t,e,r,n){var o=t.length,a=r+(n?1:-1);for(;n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,W,r);var n=r-1,o=t.length;for(;++n<o;)if(t[n]===e)return n;return-1}(t,e,0)>-1}function K(t,e,r){for(var n=-1,o=t?t.length:0;++n<o;)if(r(e,t[n]))return!0;return!1}function N(t,e){for(var r=-1,n=t?t.length:0,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}function W(t){return t!=t}function C(t){return function(e){return t(e)}}function F(t,e){return t.has(e)}var V,L=Array.prototype,D=Function.prototype,R=Object.prototype,B=P["__core-js_shared__"],H=(V=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"",G=D.toString,U=R.hasOwnProperty,J=R.toString,q=RegExp("^"+G.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=L.splice,Q=Math.max,X=Math.min,Y=ut(P,"Map"),Z=ut(Object,"create");function tt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function et(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function rt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function nt(t){var e=-1,r=t?t.length:0;for(this.__data__=new rt;++e<r;)this.add(t[e])}function ot(t,e){for(var r,n,o=t.length;o--;)if((r=t[o][0])===(n=e)||r!=r&&n!=n)return o;return-1}function at(t){return!(!ft(t)||(e=t,H&&H in e))&&(st(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?q:M).test(function(t){if(null!=t){try{return G.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function it(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&function(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=$}(t.length)&&!st(t)}(t)}(t)?t:[]}function ct(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function ut(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return at(r)?r:void 0}function st(t){var e=ft(t)?J.call(t):"";return e==S||e==E}function ft(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}tt.prototype.clear=function(){this.__data__=Z?Z(null):{}},tt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},tt.prototype.get=function(t){var e=this.__data__;if(Z){var r=e[t];return r===A?void 0:r}return U.call(e,t)?e[t]:void 0},tt.prototype.has=function(t){var e=this.__data__;return Z?void 0!==e[t]:U.call(e,t)},tt.prototype.set=function(t,e){return this.__data__[t]=Z&&void 0===e?A:e,this},et.prototype.clear=function(){this.__data__=[]},et.prototype.delete=function(t){var e=this.__data__,r=ot(e,t);return!(r<0||(r==e.length-1?e.pop():z.call(e,r,1),0))},et.prototype.get=function(t){var e=this.__data__,r=ot(e,t);return r<0?void 0:e[r][1]},et.prototype.has=function(t){return ot(this.__data__,t)>-1},et.prototype.set=function(t,e){var r=this.__data__,n=ot(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},rt.prototype.clear=function(){this.__data__={hash:new tt,map:new(Y||et),string:new tt}},rt.prototype.delete=function(t){return ct(this,t).delete(t)},rt.prototype.get=function(t){return ct(this,t).get(t)},rt.prototype.has=function(t){return ct(this,t).has(t)},rt.prototype.set=function(t,e){return ct(this,t).set(t,e),this},nt.prototype.add=nt.prototype.push=function(t){return this.__data__.set(t,A),this},nt.prototype.has=function(t){return this.__data__.has(t)};var pt=function(t,e){return e=Q(void 0===e?t.length-1:e,0),function(){for(var r=arguments,n=-1,o=Q(r.length-e,0),a=Array(o);++n<o;)a[n]=r[e+n];n=-1;for(var i=Array(e+1);++n<e;)i[n]=r[n];return i[e]=a,function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}(t,this,i)}}(function(t){var e=N(t,it);return e.length&&e[0]===t[0]?function(t,e,r){for(var n=r?K:x,o=t[0].length,a=t.length,i=a,c=Array(a),u=1/0,s=[];i--;){var f=t[i];i&&e&&(f=N(f,C(e))),u=X(f.length,u),c[i]=!r&&(e||o>=120&&f.length>=120)?new nt(i&&f):void 0}f=t[0];var p=-1,y=c[0];t:for(;++p<o&&s.length<u;){var l=f[p],h=e?e(l):l;if(l=r||0!==l?l:0,!(y?F(y,h):n(s,h,r))){for(i=a;--i;){var g=c[i];if(!(g?F(g,h):n(t[i],h,r)))continue t}y&&y.push(h),s.push(l)}}return s}(e):[]});function yt(t){return"string"==typeof t?t.length>0?[t]:[]:t}var lt=r(function(t){t.exports=function(){var t=Object.prototype.toString;function e(t,e){return null!=t&&Object.prototype.hasOwnProperty.call(t,e)}function r(t){if(!t)return!0;if(o(t)&&0===t.length)return!0;if("string"!=typeof t){for(var r in t)if(e(t,r))return!1;return!0}return!1}function n(e){return t.call(e)}var o=Array.isArray||function(e){return"[object Array]"===t.call(e)};function a(t){var e=parseInt(t);return e.toString()===t?e:t}function i(t){t=t||{};var i=function(t){return Object.keys(i).reduce(function(e,r){return"create"===r?e:("function"==typeof i[r]&&(e[r]=i[r].bind(i,t)),e)},{})};function c(r,n){return t.includeInheritedProps||"number"==typeof n&&Array.isArray(r)||e(r,n)}function u(t,e){if(c(t,e))return t[e]}function s(t,e,r,n){if("number"==typeof e&&(e=[e]),!e||0===e.length)return t;if("string"==typeof e)return s(t,e.split(".").map(a),r,n);var o=e[0],i=u(t,o);return 1===e.length?(void 0!==i&&n||(t[o]=r),i):(void 0===i&&("number"==typeof e[1]?t[o]=[]:t[o]={}),s(t[o],e.slice(1),r,n))}return i.has=function(r,n){if("number"==typeof n?n=[n]:"string"==typeof n&&(n=n.split(".")),!n||0===n.length)return!!r;for(var i=0;i<n.length;i++){var c=a(n[i]);if(!("number"==typeof c&&o(r)&&c<r.length||(t.includeInheritedProps?c in Object(r):e(r,c))))return!1;r=r[c]}return!0},i.ensureExists=function(t,e,r){return s(t,e,r,!0)},i.set=function(t,e,r,n){return s(t,e,r,n)},i.insert=function(t,e,r,n){var a=i.get(t,e);n=~~n,o(a)||(a=[],i.set(t,e,a)),a.splice(n,0,r)},i.empty=function(t,e){var a,u;if(!r(e)&&null!=t&&(a=i.get(t,e))){if("string"==typeof a)return i.set(t,e,"");if(function(t){return"boolean"==typeof t||"[object Boolean]"===n(t)}(a))return i.set(t,e,!1);if("number"==typeof a)return i.set(t,e,0);if(o(a))a.length=0;else{if(!function(t){return"object"==typeof t&&"[object Object]"===n(t)}(a))return i.set(t,e,null);for(u in a)c(a,u)&&delete a[u]}}},i.push=function(t,e){var r=i.get(t,e);o(r)||(r=[],i.set(t,e,r)),r.push.apply(r,Array.prototype.slice.call(arguments,2))},i.coalesce=function(t,e,r){for(var n,o=0,a=e.length;o<a;o++)if(void 0!==(n=i.get(t,e[o])))return n;return r},i.get=function(t,e,r){if("number"==typeof e&&(e=[e]),!e||0===e.length)return t;if(null==t)return r;if("string"==typeof e)return i.get(t,e.split("."),r);var n=a(e[0]),o=u(t,n);return void 0===o?r:1===e.length?o:i.get(t[n],e.slice(1),r)},i.del=function(t,e){if("number"==typeof e&&(e=[e]),null==t)return t;if(r(e))return t;if("string"==typeof e)return i.del(t,e.split("."));var n=a(e[0]);return c(t,n)?1!==e.length?i.del(t[n],e.slice(1)):(o(t)?t.splice(n,1):delete t[n],t):t},i}var c=i();return c.create=i,c.withInheritedProps=i({includeInheritedProps:!0}),c}()}),ht=function(t){var e=t%100;if(e>=10&&e<=20)return"th";var r=t%10;return 1===r?"st":2===r?"nd":3===r?"rd":"th"};function gt(t){if("number"!=typeof t)throw new TypeError("Expected Number, got "+typeof t+" "+t);return t+ht(t)}gt.indicator=ht;var bt=gt,dt=/[|\\{}()[\]^$+*?.]/g,vt=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(dt,"\\$&")};const _t=new Map;function mt(t,e){const r=Object.assign({caseSensitive:!1},e),n=t+JSON.stringify(r);if(_t.has(n))return _t.get(n);const o="!"===t[0];o&&(t=t.slice(1)),t=vt(t).replace(/\\\*/g,".*");const a=new RegExp(`^${t}$`,r.caseSensitive?"":"i");return a.negated=o,_t.set(n,a),a}var jt=(t,e,r)=>{if(!Array.isArray(t)||!Array.isArray(e))throw new TypeError(`Expected two arrays, got ${typeof t} ${typeof e}`);if(0===e.length)return t;const n="!"===e[0][0];e=e.map(t=>mt(t,r));const o=[];for(const r of t){let t=n;for(const n of e)n.test(r)&&(t=!n.negated);t&&o.push(r)}return o};function wt(t,e,r){return function t(e,r,o,a=!0){function i(t){return null!=t}function c(t){return"Object"===n(t)}function u(t,e){return e=yt(e),Array.from(t).filter(t=>!e.some(e=>jt.isMatch(t,e,{caseSensitive:!0})))}function f(t){if(t.includes(".")){const e=t.split(".");return e.pop(),e.join(".")}return t}const p=["any","anything","every","everything","all","whatever","whatevs"],y=Array.isArray;if(!i(e))throw new Error("check-types-mini: [THROW_ID_01] First argument is missing!");const l={ignoreKeys:[],ignorePaths:[],acceptArrays:!1,acceptArraysIgnore:[],enforceStrictKeyset:!0,schema:{},msg:"check-types-mini",optsVarName:"opts"};let h;if(h=i(o)&&c(o)?Object.assign({},l,o):Object.assign({},l),i(h.ignoreKeys)&&h.ignoreKeys?h.ignoreKeys=yt(h.ignoreKeys):h.ignoreKeys=[],i(h.ignorePaths)&&h.ignorePaths?h.ignorePaths=yt(h.ignorePaths):h.ignorePaths=[],i(h.acceptArraysIgnore)&&h.acceptArraysIgnore?h.acceptArraysIgnore=yt(h.acceptArraysIgnore):h.acceptArraysIgnore=[],h.msg="string"==typeof h.msg?h.msg.trim():h.msg,":"===h.msg[h.msg.length-1]&&(h.msg=h.msg.slice(0,h.msg.length-1).trim()),h.schema&&Object.keys(h.schema).forEach(t=>{y(h.schema[t])||(h.schema[t]=[h.schema[t]]),h.schema[t]=h.schema[t].map(String).map(t=>t.toLowerCase()).map(t=>t.trim())}),i(r)||(r={}),a&&t(h,l,{enforceStrictKeyset:!1},!1),h.enforceStrictKeyset)if(i(h.schema)&&Object.keys(h.schema).length>0){if(0!==u(s(Object.keys(e),Object.keys(r).concat(Object.keys(h.schema))),h.ignoreKeys).length){const t=s(Object.keys(e),Object.keys(r).concat(Object.keys(h.schema)));throw new TypeError(`${h.msg}: ${h.optsVarName}.enforceStrictKeyset is on and the following key${t.length>1?"s":""} ${t.length>1?"are":"is"} not covered by schema and/or reference objects: ${t.join(", ")}`)}}else{if(!(i(r)&&Object.keys(r).length>0))throw new TypeError(`${h.msg}: Both ${h.optsVarName}.schema and reference objects are missing! We don't have anything to match the keys as you requested via opts.enforceStrictKeyset!`);if(0!==u(s(Object.keys(e),Object.keys(r)),h.ignoreKeys).length){const t=s(Object.keys(e),Object.keys(r));throw new TypeError(`${h.msg}: The input object has key${t.length>1?"s":""} which ${t.length>1?"are":"is"} not covered by the reference object: ${t.join(", ")}`)}if(0!==u(s(Object.keys(r),Object.keys(e)),h.ignoreKeys).length){const t=s(Object.keys(r),Object.keys(e));throw new TypeError(`${h.msg}: The reference object has key${t.length>1?"s":""} which ${t.length>1?"are":"is"} not present in the input object: ${t.join(", ")}`)}}k(e,(t,e,o)=>{const a=void 0!==e?e:t;if(!(!h.enforceStrictKeyset||!c(a)&&!y(a)&&y(o.parent)||i(h.schema)&&c(h.schema)&&(!c(h.schema)||Object.keys(h.schema).length&&(y(o.parent)||Object.prototype.hasOwnProperty.call(h.schema,o.path))&&(!y(o.parent)||lt.has(h.schema,f(o.path))))||i(r)&&c(r)&&(!c(r)||Object.keys(r).length&&(h.acceptArrays||lt.has(r,o.path))&&(!h.acceptArrays||(y(o.parent)||lt.has(r,o.path))&&(!y(o.parent)||lt.has(r,f(o.path)))))))throw new TypeError(`${h.msg}: ${h.optsVarName}.${o.path} is neither covered by reference object (second input argument), nor ${h.optsVarName}.schema! To stop this error, turn off ${h.optsVarName}.enforceStrictKeyset or provide some type reference (2nd argument or ${h.optsVarName}.schema).`);if(c(h.schema)&&Object.keys(h.schema).length&&Object.prototype.hasOwnProperty.call(h.schema,o.path)){const t=yt(h.schema[o.path]).map(String).map(t=>t.toLowerCase());if(lt.set(h.schema,o.path,t),!(pt(t,p).length||(!0===a||!1===a||t.includes(n(a).toLowerCase()))&&(!0!==a&&!1!==a||t.includes(String(a))||t.includes("boolean")))){if(!y(a)||!h.acceptArrays)throw new TypeError(`${h.msg}: ${h.optsVarName}.${o.path} was customised to ${"string"!==n(a)?'"':""}${JSON.stringify(a,null,0)}${"string"!==n(a)?'"':""} (${n(a).toLowerCase()}) which is not among the allowed types in schema (${t.join(", ")})`);for(let e=0,r=a.length;e<r;e++)if(!t.includes(n(a[e]).toLowerCase()))throw new TypeError(`${h.msg}: ${h.optsVarName}.${o.path}.${e}, the ${bt(e+1)} element (equal to ${JSON.stringify(a[e],null,0)}) is of a type ${n(a[e]).toLowerCase()}, but only the following are allowed by the ${h.optsVarName}.schema: ${t.join(", ")}`)}}else if(i(r)&&Object.keys(r).length&&lt.has(r,o.path)&&n(a)!==n(lt.get(r,o.path))&&(!h.ignoreKeys||!h.ignoreKeys.some(e=>jt.isMatch(t,e)))&&(!h.ignorePaths||!h.ignorePaths.some(t=>jt.isMatch(o.path,t)))){const e=lt.get(r,o.path);if(!h.acceptArrays||!y(a)||h.acceptArraysIgnore.includes(t))throw new TypeError(`${h.msg}: ${h.optsVarName}.${o.path} was customised to ${"string"===n(a).toLowerCase()?"":'"'}${JSON.stringify(a,null,0)}${"string"===n(a).toLowerCase()?"":'"'} which is not ${n(e).toLowerCase()} but ${n(a).toLowerCase()}`);if(!a.every(e=>n(e).toLowerCase()===n(r[t]).toLowerCase()))throw new TypeError(`${h.msg}: ${h.optsVarName}.${o.path} was customised to be array, but not all of its elements are ${n(r[t]).toLowerCase()}-type`)}return a})}(t,e,r)}jt.isMatch=((t,e,r)=>{const n=mt(e,r),o=n.test(t);return n.negated?!o:o});const Ot=Array.isArray;function kt(t,e,r){function n(t){return"string"==typeof t}const o=Object.assign({},{arrayVsArrayAllMustBeFound:"any"},r);if(0===arguments.length)throw new Error("array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_01] all inputs missing!");if(1===arguments.length)throw new Error("array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_02] second argument missing!");if(!Ot(t)){if(!n(t))throw new Error(`array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_03] first argument must be an array! It was given as ${typeof t}`);t=[t]}if(!n(e)&&!Ot(e))throw new Error(`array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_04] second argument must be a string or array of strings! It was given as ${typeof e}`);if("any"!==o.arrayVsArrayAllMustBeFound&&"all"!==o.arrayVsArrayAllMustBeFound)throw new Error(`array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_05] opts.arrayVsArrayAllMustBeFound was customised to an unrecognised value, ${o.arrayVsArrayAllMustBeFound}. It must be equal to either "any" or "all".`);if(0===t.length)return!1;const a=t.filter(t=>(function(t){return null!=t})(t));return 0!==a.length&&(n(e)?a.some(t=>jt.isMatch(t,e,{caseSensitive:!0})):"any"===o.arrayVsArrayAllMustBeFound?e.some(t=>a.some(e=>jt.isMatch(e,t,{caseSensitive:!0}))):e.every(t=>a.some(e=>jt.isMatch(e,t,{caseSensitive:!0}))))}var At=1/0,$t=9007199254740991,St=1.7976931348623157e308,Et=NaN,Mt="[object Arguments]",Tt="[object Function]",It="[object GeneratorFunction]",Pt="[object String]",xt="[object Symbol]",Kt=/^\s+|\s+$/g,Nt=/^[-+]0x[0-9a-f]+$/i,Wt=/^0b[01]+$/i,Ct=/^0o[0-7]+$/i,Ft=/^(?:0|[1-9]\d*)$/,Vt=parseInt;function Lt(t){return t!=t}function Dt(t,e){return function(t,e){for(var r=-1,n=t?t.length:0,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}(e,function(e){return t[e]})}var Rt=Object.prototype,Bt=Rt.hasOwnProperty,Ht=Rt.toString,Gt=Rt.propertyIsEnumerable,Ut=function(t,e){return function(r){return t(e(r))}}(Object.keys,Object),Jt=Math.max;function qt(t,e){var r=Xt(t)||function(t){return function(t){return te(t)&&Yt(t)}(t)&&Bt.call(t,"callee")&&(!Gt.call(t,"callee")||Ht.call(t)==Mt)}(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,o=!!n;for(var a in t)!e&&!Bt.call(t,a)||o&&("length"==a||Qt(a,n))||r.push(a);return r}function zt(t){if(r=(e=t)&&e.constructor,n="function"==typeof r&&r.prototype||Rt,e!==n)return Ut(t);var e,r,n,o=[];for(var a in Object(t))Bt.call(t,a)&&"constructor"!=a&&o.push(a);return o}function Qt(t,e){return!!(e=null==e?$t:e)&&("number"==typeof t||Ft.test(t))&&t>-1&&t%1==0&&t<e}var Xt=Array.isArray;function Yt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=$t}(t.length)&&!function(t){var e=Zt(t)?Ht.call(t):"";return e==Tt||e==It}(t)}function Zt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function te(t){return!!t&&"object"==typeof t}var ee=function(t,e,r,n){var o;t=Yt(t)?t:(o=t)?Dt(o,function(t){return Yt(t)?qt(t):zt(t)}(o)):[],r=r&&!n?function(t){var e=function(t){if(!t)return 0===t?t:0;if((t=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||te(t)&&Ht.call(t)==xt}(t))return Et;if(Zt(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Zt(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Kt,"");var r=Wt.test(t);return r||Ct.test(t)?Vt(t.slice(2),r?2:8):Nt.test(t)?Et:+t}(t))===At||t===-At){var e=t<0?-1:1;return e*St}return t==t?t:0}(t),r=e%1;return e==e?r?e-r:e:0}(r):0;var a=t.length;return r<0&&(r=Jt(a+r,0)),function(t){return"string"==typeof t||!Xt(t)&&te(t)&&Ht.call(t)==Pt}(t)?r<=a&&t.indexOf(e,r)>-1:!!a&&function(t,e,r){if(e!=e)return function(t,e,r,n){for(var o=t.length,a=r+(n?1:-1);n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,Lt,r);for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}(t,e,r)>-1},re=200,ne="__lodash_hash_undefined__",oe="[object Function]",ae="[object GeneratorFunction]",ie=/^\[object .+?Constructor\]$/,ce="object"==typeof e&&e&&e.Object===Object&&e,ue="object"==typeof self&&self&&self.Object===Object&&self,se=ce||ue||Function("return this")();function fe(t,e){return!!(t?t.length:0)&&function(t,e,r){if(e!=e)return function(t,e,r,n){var o=t.length,a=r+(n?1:-1);for(;n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,ye,r);var n=r-1,o=t.length;for(;++n<o;)if(t[n]===e)return n;return-1}(t,e,0)>-1}function pe(t,e,r){for(var n=-1,o=t?t.length:0;++n<o;)if(r(e,t[n]))return!0;return!1}function ye(t){return t!=t}function le(t,e){return t.has(e)}function he(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var ge=Array.prototype,be=Function.prototype,de=Object.prototype,ve=se["__core-js_shared__"],_e=function(){var t=/[^.]+$/.exec(ve&&ve.keys&&ve.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),me=be.toString,je=de.hasOwnProperty,we=de.toString,Oe=RegExp("^"+me.call(je).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ke=ge.splice,Ae=We(se,"Map"),$e=We(se,"Set"),Se=We(Object,"create");function Ee(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Me(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Te(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Ie(t){var e=-1,r=t?t.length:0;for(this.__data__=new Te;++e<r;)this.add(t[e])}function Pe(t,e){for(var r,n,o=t.length;o--;)if((r=t[o][0])===(n=e)||r!=r&&n!=n)return o;return-1}function xe(t){return!(!Ce(t)||(e=t,_e&&_e in e))&&(function(t){var e=Ce(t)?we.call(t):"";return e==oe||e==ae}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?Oe:ie).test(function(t){if(null!=t){try{return me.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}Ee.prototype.clear=function(){this.__data__=Se?Se(null):{}},Ee.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Ee.prototype.get=function(t){var e=this.__data__;if(Se){var r=e[t];return r===ne?void 0:r}return je.call(e,t)?e[t]:void 0},Ee.prototype.has=function(t){var e=this.__data__;return Se?void 0!==e[t]:je.call(e,t)},Ee.prototype.set=function(t,e){return this.__data__[t]=Se&&void 0===e?ne:e,this},Me.prototype.clear=function(){this.__data__=[]},Me.prototype.delete=function(t){var e=this.__data__,r=Pe(e,t);return!(r<0||(r==e.length-1?e.pop():ke.call(e,r,1),0))},Me.prototype.get=function(t){var e=this.__data__,r=Pe(e,t);return r<0?void 0:e[r][1]},Me.prototype.has=function(t){return Pe(this.__data__,t)>-1},Me.prototype.set=function(t,e){var r=this.__data__,n=Pe(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},Te.prototype.clear=function(){this.__data__={hash:new Ee,map:new(Ae||Me),string:new Ee}},Te.prototype.delete=function(t){return Ne(this,t).delete(t)},Te.prototype.get=function(t){return Ne(this,t).get(t)},Te.prototype.has=function(t){return Ne(this,t).has(t)},Te.prototype.set=function(t,e){return Ne(this,t).set(t,e),this},Ie.prototype.add=Ie.prototype.push=function(t){return this.__data__.set(t,ne),this},Ie.prototype.has=function(t){return this.__data__.has(t)};var Ke=$e&&1/he(new $e([,-0]))[1]==1/0?function(t){return new $e(t)}:function(){};function Ne(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function We(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return xe(r)?r:void 0}function Ce(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var Fe=function(t){return t&&t.length?function(t,e,r){var n=-1,o=fe,a=t.length,i=!0,c=[],u=c;if(r)i=!1,o=pe;else if(a>=re){var s=e?null:Ke(t);if(s)return he(s);i=!1,o=le,u=new Ie}else u=e?[]:c;t:for(;++n<a;){var f=t[n],p=e?e(f):f;if(f=r||0!==f?f:0,i&&p==p){for(var y=u.length;y--;)if(u[y]===p)continue t;e&&u.push(p),c.push(f)}else o(u,p,r)||(u!==c&&u.push(p),c.push(f))}return c}(t):[]};function Ve(t){return 0!==arguments.length&&void 0!==t&&(e=t,Array.isArray(e)||function(t){return"string"==typeof t}(t)?t.length>0:j(t)?Object.keys(t).length>0:!!function(t){return"number"==typeof t}(t));var e}function Le(t){return void 0===t?"undefined":null===t?"null":String(t)+" ("+typeof t+")"}function De(t,e,r){if(!Array.isArray(t))throw new TypeError("Expected the first argument of array-includes-all to be an array, but got "+Le(t)+".");if(!Array.isArray(e))throw new TypeError("Expected the second argument of array-includes-all to be an array, but got "+Le(e)+".");if(0===e.length)throw new RangeError("Expected the second argument of array-includes-all to include at least one value, but recieved an empty array.");return 0!==t.length&&e.every(function(e){return t.includes(e,r)})}function Re(t){return Array.isArray(t)}function Be(t){return"string"==typeof t}function He(t){return"boolean"==typeof t}function Ge(t){return!!t&&t.some(t=>"string"==typeof t)}function Ue(t){return j(t)?"object":Re(t)?"array":typeof t}function Je(t,e,r){if(0===arguments.length)throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_01] Both inputs are missing");return function t(e,r,n,o={}){if(!j(o))throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_02] Options object, the third argument, must be a plain object");const a={cb:null,mergeObjectsOnlyWhenKeysetMatches:!0,ignoreKeys:[],hardMergeKeys:[],hardArrayConcatKeys:[],mergeArraysContainingStringsToBeEmpty:!1,oneToManyArrayObjectMerge:!1,hardMergeEverything:!1,hardArrayConcat:!1,ignoreEverything:!1,concatInsteadOfMerging:!0,dedupeStringsInArrayValues:!1,mergeBoolsUsingOrNotAnd:!0,useNullAsExplicitFalse:!1},i=Object.assign(f(a),o);let c;if(i.ignoreKeys=yt(i.ignoreKeys),i.hardMergeKeys=yt(i.hardMergeKeys),wt(i,a,{msg:"object-merge-advanced/mergeAdvanced(): [THROW_ID_06*]",schema:{cb:["null","undefined","false","function"]}}),i.hardMergeKeys.includes("*")&&(i.hardMergeEverything=!0),i.ignoreKeys.includes("*")&&(i.ignoreEverything=!0),i.useNullAsExplicitFalse&&(null===r||null===n))return i.cb?i.cb(r,n,null,{path:e.path,key:e.key,type:e.type}):null;let u=Re(r)||j(r)?f(r):r;const s=Re(n)||j(n)?f(n):n;let p;i.ignoreEverything?p=u:i.hardMergeEverything&&(p=s);const y=i.hardMergeEverything||i.ignoreEverything;if(!Re(u)){if(j(u)){if(Ve(u)){if(Re(s)){if(Ve(s)){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}const t=y?p:u;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}if(j(s))return Object.keys(s).forEach(r=>{c=e.path&&e.path.length?`${e.path}.${r}`:`${r}`,u.hasOwnProperty(r)?kt(r,i.ignoreKeys)?u[r]=t({path:c,key:r,type:[Ue(u),Ue(s)]},u[r],s[r],Object.assign({},i,{ignoreEverything:!0})):kt(r,i.hardMergeKeys)?u[r]=t({path:c,key:r,type:[Ue(u),Ue(s)]},u[r],s[r],Object.assign({},i,{hardMergeEverything:!0})):kt(r,i.hardArrayConcatKeys)?u[r]=t({path:c,key:r,type:[Ue(u),Ue(s)]},u[r],s[r],Object.assign({},i,{hardArrayConcat:!0})):u[r]=t({path:c,key:r,type:[Ue(u),Ue(s)]},u[r],s[r],i):u[r]=s[r]}),u;const r=y?p:u;return i.cb?i.cb(u,s,r,{path:e.path,key:e.key,type:e.type}):r}if(Re(s)||j(s)||Ve(s)){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const r=y?p:u;return i.cb?i.cb(u,s,r,{path:e.path,key:e.key,type:e.type}):r}if(Be(u)){if(Ve(u)){if((Re(s)||j(s)||Be(s))&&Ve(s)){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=y?p:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(null!=s&&!He(s)){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=y?p:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if("number"==typeof u){if(Ve(s)){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=y?p:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(He(u)){if(He(s)){if(i.mergeBoolsUsingOrNotAnd){const t=y?p:u||s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=y?p:u&&s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(null!=s){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=y?p:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(null===u){if(null!=s){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=y?p:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}{const t=y?p:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}}if(!Ve(u)){if(Ve(s)){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}const t=y?p:u;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}if(!Re(s)||!Ve(s)){const t=y?p:u;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}{if(i.mergeArraysContainingStringsToBeEmpty&&(Ge(u)||Ge(s))){const t=y?p:[];return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}if(i.hardArrayConcat){const t=y?p:u.concat(s);return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}let r=[];for(let n=0,o=Math.max(u.length,s.length);n<o;n++)c=e.path.length?`${e.path}.${n}`:`${n}`,j(u[n])&&j(s[n])&&(i.mergeObjectsOnlyWhenKeysetMatches&&(l=u[n],h=s[n],0===Object.keys(l).length||0===Object.keys(h).length||De(Object.keys(l),Object.keys(h))||De(Object.keys(h),Object.keys(l)))||!i.mergeObjectsOnlyWhenKeysetMatches)?r.push(t({path:c,key:e.key,type:[Ue(u),Ue(s)]},u[n],s[n],i)):!i.oneToManyArrayObjectMerge||1!==u.length&&1!==s.length?i.concatInsteadOfMerging?(n<u.length&&r.push(u[n]),n<s.length&&r.push(s[n])):(n<u.length&&r.push(u[n]),n<s.length&&!ee(u,s[n])&&r.push(s[n])):r.push(1===u.length?t({path:c,key:e.key,type:[Ue(u),Ue(s)]},u[0],s[n],i):t({path:c,key:e.key,type:[Ue(u),Ue(s)]},u[n],s[0],i));i.dedupeStringsInArrayValues&&r.every(t=>Be(t))&&(r=Fe(r).sort()),u=f(r)}var l,h;const g=y?p:u;return i.cb?i.cb(u,s,g,{path:e.path,key:e.key,type:e.type}):g}({key:null,path:"",type:[Ue(t),Ue(e)]},t,e,r)}var qe=Array.isArray;return function(e,r){if(!qe(e))throw new Error("array-of-arrays-into-ast: [THROW_ID_01] input must be array. Currently it's of a type ".concat(t(e)," equal to:\n").concat(JSON.stringify(e,null,4)));if(0===e.length)return{};var n={dedupe:!0};wt(r=Object.assign({},n,r),n,{msg:"array-of-arrays-into-ast: [THROW_ID_02*]",optsVarName:"opts"});var o,a={};return e.forEach(function(t){for(var e,n,o,i=null,c=t.length;c--;)e={},n=t[c],o=[i],n in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,i=e;a=Je(a,i,{concatInsteadOfMerging:!r.dedupe})}),o=a,Object.keys(o).sort().reduce(function(t,e){return t[e]=o[e],t},{})}});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.arrayOfArraysIntoAst=e()}(this,function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,e){return t(e={exports:{}},e.exports),e.exports}var n=r(function(t,r){var n,o,a,i,c,u,s,f,p,y,l,h,g,b,d,v,_,m,j,w;t.exports=(n="function"==typeof Promise,o="object"==typeof self?self:e,a="undefined"!=typeof Symbol,i="undefined"!=typeof Map,c="undefined"!=typeof Set,u="undefined"!=typeof WeakMap,s="undefined"!=typeof WeakSet,f="undefined"!=typeof DataView,p=a&&void 0!==Symbol.iterator,y=a&&void 0!==Symbol.toStringTag,l=c&&"function"==typeof Set.prototype.entries,h=i&&"function"==typeof Map.prototype.entries,g=l&&Object.getPrototypeOf((new Set).entries()),b=h&&Object.getPrototypeOf((new Map).entries()),d=p&&"function"==typeof Array.prototype[Symbol.iterator],v=d&&Object.getPrototypeOf([][Symbol.iterator]()),_=p&&"function"==typeof String.prototype[Symbol.iterator],m=_&&Object.getPrototypeOf(""[Symbol.iterator]()),j=8,w=-1,function(t){var e=typeof t;if("object"!==e)return e;if(null===t)return"null";if(t===o)return"global";if(Array.isArray(t)&&(!1===y||!(Symbol.toStringTag in t)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&t===window.location)return"Location";if("object"==typeof window.document&&t===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&t===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&t===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&t instanceof window.HTMLElement){if("BLOCKQUOTE"===t.tagName)return"HTMLQuoteElement";if("TD"===t.tagName)return"HTMLTableDataCellElement";if("TH"===t.tagName)return"HTMLTableHeaderCellElement"}}var r=y&&t[Symbol.toStringTag];if("string"==typeof r)return r;var a=Object.getPrototypeOf(t);return a===RegExp.prototype?"RegExp":a===Date.prototype?"Date":n&&a===Promise.prototype?"Promise":c&&a===Set.prototype?"Set":i&&a===Map.prototype?"Map":s&&a===WeakSet.prototype?"WeakSet":u&&a===WeakMap.prototype?"WeakMap":f&&a===DataView.prototype?"DataView":i&&a===b?"Map Iterator":c&&a===g?"Set Iterator":d&&a===v?"Array Iterator":_&&a===m?"String Iterator":null===a?"Object":Object.prototype.toString.call(t).slice(j,w)})});function o(t,e,r){if(e!=e)return function(t,e,r,n){for(var o=t.length,a=r+(n?1:-1);n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,i,r);for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}function a(t,e,r,n){for(var o=r-1,a=t.length;++o<a;)if(n(t[o],e))return o;return-1}function i(t){return t!=t}var c=Array.prototype.splice;function u(t,e,r,n){var i,u=n?a:o,s=-1,f=e.length,p=t;for(t===e&&(e=function(t,e){var r=-1,n=t.length;e||(e=Array(n));for(;++r<n;)e[r]=t[r];return e}(e)),r&&(p=function(t,e){for(var r=-1,n=t?t.length:0,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}(t,(i=r,function(t){return i(t)})));++s<f;)for(var y=0,l=e[s],h=r?r(l):l;(y=u(p,h,y,n))>-1;)p!==t&&c.call(p,y,1),c.call(t,y,1);return t}var s=function(t,e){return t&&t.length&&e&&e.length?u(t,e):t},f=r(function(t,r){var n=200,o="__lodash_hash_undefined__",a=9007199254740991,i="[object Arguments]",c="[object Boolean]",u="[object Date]",s="[object Function]",f="[object GeneratorFunction]",p="[object Map]",y="[object Number]",l="[object Object]",h="[object RegExp]",g="[object Set]",b="[object String]",d="[object Symbol]",v="[object ArrayBuffer]",_="[object DataView]",m="[object Float32Array]",j="[object Float64Array]",w="[object Int8Array]",O="[object Int16Array]",k="[object Int32Array]",A="[object Uint8Array]",$="[object Uint8ClampedArray]",S="[object Uint16Array]",E="[object Uint32Array]",M=/\w*$/,T=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,P={};P[i]=P["[object Array]"]=P[v]=P[_]=P[c]=P[u]=P[m]=P[j]=P[w]=P[O]=P[k]=P[p]=P[y]=P[l]=P[h]=P[g]=P[b]=P[d]=P[A]=P[$]=P[S]=P[E]=!0,P["[object Error]"]=P[s]=P["[object WeakMap]"]=!1;var x="object"==typeof e&&e&&e.Object===Object&&e,K="object"==typeof self&&self&&self.Object===Object&&self,N=x||K||Function("return this")(),W=r&&!r.nodeType&&r,C=W&&t&&!t.nodeType&&t,F=C&&C.exports===W;function V(t,e){return t.set(e[0],e[1]),t}function L(t,e){return t.add(e),t}function D(t,e,r,n){var o=-1,a=t?t.length:0;for(n&&a&&(r=t[++o]);++o<a;)r=e(r,t[o],o,t);return r}function R(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function B(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function H(t,e){return function(r){return t(e(r))}}function G(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var U,J=Array.prototype,q=Function.prototype,z=Object.prototype,Q=N["__core-js_shared__"],X=(U=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+U:"",Y=q.toString,Z=z.hasOwnProperty,tt=z.toString,et=RegExp("^"+Y.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rt=F?N.Buffer:void 0,nt=N.Symbol,ot=N.Uint8Array,at=H(Object.getPrototypeOf,Object),it=Object.create,ct=z.propertyIsEnumerable,ut=J.splice,st=Object.getOwnPropertySymbols,ft=rt?rt.isBuffer:void 0,pt=H(Object.keys,Object),yt=Ct(N,"DataView"),lt=Ct(N,"Map"),ht=Ct(N,"Promise"),gt=Ct(N,"Set"),bt=Ct(N,"WeakMap"),dt=Ct(Object,"create"),vt=Rt(yt),_t=Rt(lt),mt=Rt(ht),jt=Rt(gt),wt=Rt(bt),Ot=nt?nt.prototype:void 0,kt=Ot?Ot.valueOf:void 0;function At(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function $t(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function St(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Et(t){this.__data__=new $t(t)}function Mt(t,e){var r=Ht(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Gt(t)}(t)&&Z.call(t,"callee")&&(!ct.call(t,"callee")||tt.call(t)==i)}(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,o=!!n;for(var a in t)!e&&!Z.call(t,a)||o&&("length"==a||Lt(a,n))||r.push(a);return r}function Tt(t,e,r){var n=t[e];Z.call(t,e)&&Bt(n,r)&&(void 0!==r||e in t)||(t[e]=r)}function It(t,e){for(var r=t.length;r--;)if(Bt(t[r][0],e))return r;return-1}function Pt(t,e,r,n,o,a,T){var I;if(n&&(I=a?n(t,o,a,T):n(t)),void 0!==I)return I;if(!qt(t))return t;var x=Ht(t);if(x){if(I=function(t){var e=t.length,r=t.constructor(e);e&&"string"==typeof t[0]&&Z.call(t,"index")&&(r.index=t.index,r.input=t.input);return r}(t),!e)return function(t,e){var r=-1,n=t.length;e||(e=Array(n));for(;++r<n;)e[r]=t[r];return e}(t,I)}else{var K=Vt(t),N=K==s||K==f;if(Ut(t))return function(t,e){if(e)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}(t,e);if(K==l||K==i||N&&!a){if(R(t))return a?t:{};if(I=function(t){return"function"!=typeof t.constructor||Dt(t)?{}:(e=at(t),qt(e)?it(e):{});var e}(N?{}:t),!e)return function(t,e){return Nt(t,Ft(t),e)}(t,function(t,e){return t&&Nt(e,zt(e),t)}(I,t))}else{if(!P[K])return a?t:{};I=function(t,e,r,n){var o=t.constructor;switch(e){case v:return Kt(t);case c:case u:return new o(+t);case _:return function(t,e){var r=e?Kt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,n);case m:case j:case w:case O:case k:case A:case $:case S:case E:return function(t,e){var r=e?Kt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(t,n);case p:return function(t,e,r){return D(e?r(B(t),!0):B(t),V,new t.constructor)}(t,n,r);case y:case b:return new o(t);case h:return(s=new(i=t).constructor(i.source,M.exec(i))).lastIndex=i.lastIndex,s;case g:return function(t,e,r){return D(e?r(G(t),!0):G(t),L,new t.constructor)}(t,n,r);case d:return a=t,kt?Object(kt.call(a)):{}}var a;var i,s}(t,K,Pt,e)}}T||(T=new Et);var W=T.get(t);if(W)return W;if(T.set(t,I),!x)var C=r?function(t){return function(t,e,r){var n=e(t);return Ht(t)?n:function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}(n,r(t))}(t,zt,Ft)}(t):zt(t);return function(t,e){for(var r=-1,n=t?t.length:0;++r<n&&!1!==e(t[r],r,t););}(C||t,function(o,a){C&&(o=t[a=o]),Tt(I,a,Pt(o,e,r,n,a,t,T))}),I}function xt(t){return!(!qt(t)||(e=t,X&&X in e))&&(Jt(t)||R(t)?et:T).test(Rt(t));var e}function Kt(t){var e=new t.constructor(t.byteLength);return new ot(e).set(new ot(t)),e}function Nt(t,e,r,n){r||(r={});for(var o=-1,a=e.length;++o<a;){var i=e[o],c=n?n(r[i],t[i],i,r,t):void 0;Tt(r,i,void 0===c?t[i]:c)}return r}function Wt(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function Ct(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return xt(r)?r:void 0}At.prototype.clear=function(){this.__data__=dt?dt(null):{}},At.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},At.prototype.get=function(t){var e=this.__data__;if(dt){var r=e[t];return r===o?void 0:r}return Z.call(e,t)?e[t]:void 0},At.prototype.has=function(t){var e=this.__data__;return dt?void 0!==e[t]:Z.call(e,t)},At.prototype.set=function(t,e){return this.__data__[t]=dt&&void 0===e?o:e,this},$t.prototype.clear=function(){this.__data__=[]},$t.prototype.delete=function(t){var e=this.__data__,r=It(e,t);return!(r<0||(r==e.length-1?e.pop():ut.call(e,r,1),0))},$t.prototype.get=function(t){var e=this.__data__,r=It(e,t);return r<0?void 0:e[r][1]},$t.prototype.has=function(t){return It(this.__data__,t)>-1},$t.prototype.set=function(t,e){var r=this.__data__,n=It(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},St.prototype.clear=function(){this.__data__={hash:new At,map:new(lt||$t),string:new At}},St.prototype.delete=function(t){return Wt(this,t).delete(t)},St.prototype.get=function(t){return Wt(this,t).get(t)},St.prototype.has=function(t){return Wt(this,t).has(t)},St.prototype.set=function(t,e){return Wt(this,t).set(t,e),this},Et.prototype.clear=function(){this.__data__=new $t},Et.prototype.delete=function(t){return this.__data__.delete(t)},Et.prototype.get=function(t){return this.__data__.get(t)},Et.prototype.has=function(t){return this.__data__.has(t)},Et.prototype.set=function(t,e){var r=this.__data__;if(r instanceof $t){var o=r.__data__;if(!lt||o.length<n-1)return o.push([t,e]),this;r=this.__data__=new St(o)}return r.set(t,e),this};var Ft=st?H(st,Object):function(){return[]},Vt=function(t){return tt.call(t)};function Lt(t,e){return!!(e=null==e?a:e)&&("number"==typeof t||I.test(t))&&t>-1&&t%1==0&&t<e}function Dt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||z)}function Rt(t){if(null!=t){try{return Y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Bt(t,e){return t===e||t!=t&&e!=e}(yt&&Vt(new yt(new ArrayBuffer(1)))!=_||lt&&Vt(new lt)!=p||ht&&"[object Promise]"!=Vt(ht.resolve())||gt&&Vt(new gt)!=g||bt&&"[object WeakMap]"!=Vt(new bt))&&(Vt=function(t){var e=tt.call(t),r=e==l?t.constructor:void 0,n=r?Rt(r):void 0;if(n)switch(n){case vt:return _;case _t:return p;case mt:return"[object Promise]";case jt:return g;case wt:return"[object WeakMap]"}return e});var Ht=Array.isArray;function Gt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}(t.length)&&!Jt(t)}var Ut=ft||function(){return!1};function Jt(t){var e=qt(t)?tt.call(t):"";return e==s||e==f}function qt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function zt(t){return Gt(t)?Mt(t):function(t){if(!Dt(t))return pt(t);var e=[];for(var r in Object(t))Z.call(t,r)&&"constructor"!=r&&e.push(r);return e}(t)}t.exports=function(t){return Pt(t,!0,!0)}}),p="[object Object]";var y,l,h=Function.prototype,g=Object.prototype,b=h.toString,d=g.hasOwnProperty,v=b.call(Object),_=g.toString,m=(y=Object.getPrototypeOf,l=Object,function(t){return y(l(t))});var j=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||_.call(t)!=p||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t))return!1;var e=m(t);if(null===e)return!0;var r=d.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&b.call(r)==v};const w=Array.isArray;function O(t){return"string"==typeof t&&t.length>0&&"."===t[0]?t.slice(1):t}function k(t,e){return function t(e,r,n){const o=f(e);let a,i,c,u,s;if((n=Object.assign({depth:-1,path:""},n)).depth+=1,w(o))for(a=0,i=o.length;a<i;a++){const e=`${n.path}.${a}`;void 0!==o[a]?(n.parent=f(o),c=t(r(o[a],void 0,Object.assign({},n,{path:O(e)})),r,Object.assign({},n,{path:O(e)})),Number.isNaN(c)&&a<o.length?(o.splice(a,1),a-=1):o[a]=c):o.splice(a,1)}else if(j(o))for(a=0,i=(u=Object.keys(o)).length;a<i;a++){s=u[a];const e=`${n.path}.${s}`;0===n.depth&&null!=s&&(n.topmostKey=s),n.parent=f(o),c=t(r(s,o[s],Object.assign({},n,{path:O(e)})),r,Object.assign({},n,{path:O(e)})),Number.isNaN(c)?delete o[s]:o[s]=c}return o}(t,e,{})}var A="__lodash_hash_undefined__",$=9007199254740991,S="[object Function]",E="[object GeneratorFunction]",M=/^\[object .+?Constructor\]$/,T="object"==typeof e&&e&&e.Object===Object&&e,I="object"==typeof self&&self&&self.Object===Object&&self,P=T||I||Function("return this")();function x(t,e){return!!(t?t.length:0)&&function(t,e,r){if(e!=e)return function(t,e,r,n){var o=t.length,a=r+(n?1:-1);for(;n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,W,r);var n=r-1,o=t.length;for(;++n<o;)if(t[n]===e)return n;return-1}(t,e,0)>-1}function K(t,e,r){for(var n=-1,o=t?t.length:0;++n<o;)if(r(e,t[n]))return!0;return!1}function N(t,e){for(var r=-1,n=t?t.length:0,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}function W(t){return t!=t}function C(t){return function(e){return t(e)}}function F(t,e){return t.has(e)}var V,L=Array.prototype,D=Function.prototype,R=Object.prototype,B=P["__core-js_shared__"],H=(V=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"",G=D.toString,U=R.hasOwnProperty,J=R.toString,q=RegExp("^"+G.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=L.splice,Q=Math.max,X=Math.min,Y=ut(P,"Map"),Z=ut(Object,"create");function tt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function et(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function rt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function nt(t){var e=-1,r=t?t.length:0;for(this.__data__=new rt;++e<r;)this.add(t[e])}function ot(t,e){for(var r,n,o=t.length;o--;)if((r=t[o][0])===(n=e)||r!=r&&n!=n)return o;return-1}function at(t){return!(!ft(t)||(e=t,H&&H in e))&&(st(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?q:M).test(function(t){if(null!=t){try{return G.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function it(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&function(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=$}(t.length)&&!st(t)}(t)}(t)?t:[]}function ct(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function ut(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return at(r)?r:void 0}function st(t){var e=ft(t)?J.call(t):"";return e==S||e==E}function ft(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}tt.prototype.clear=function(){this.__data__=Z?Z(null):{}},tt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},tt.prototype.get=function(t){var e=this.__data__;if(Z){var r=e[t];return r===A?void 0:r}return U.call(e,t)?e[t]:void 0},tt.prototype.has=function(t){var e=this.__data__;return Z?void 0!==e[t]:U.call(e,t)},tt.prototype.set=function(t,e){return this.__data__[t]=Z&&void 0===e?A:e,this},et.prototype.clear=function(){this.__data__=[]},et.prototype.delete=function(t){var e=this.__data__,r=ot(e,t);return!(r<0||(r==e.length-1?e.pop():z.call(e,r,1),0))},et.prototype.get=function(t){var e=this.__data__,r=ot(e,t);return r<0?void 0:e[r][1]},et.prototype.has=function(t){return ot(this.__data__,t)>-1},et.prototype.set=function(t,e){var r=this.__data__,n=ot(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},rt.prototype.clear=function(){this.__data__={hash:new tt,map:new(Y||et),string:new tt}},rt.prototype.delete=function(t){return ct(this,t).delete(t)},rt.prototype.get=function(t){return ct(this,t).get(t)},rt.prototype.has=function(t){return ct(this,t).has(t)},rt.prototype.set=function(t,e){return ct(this,t).set(t,e),this},nt.prototype.add=nt.prototype.push=function(t){return this.__data__.set(t,A),this},nt.prototype.has=function(t){return this.__data__.has(t)};var pt=function(t,e){return e=Q(void 0===e?t.length-1:e,0),function(){for(var r=arguments,n=-1,o=Q(r.length-e,0),a=Array(o);++n<o;)a[n]=r[e+n];n=-1;for(var i=Array(e+1);++n<e;)i[n]=r[n];return i[e]=a,function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}(t,this,i)}}(function(t){var e=N(t,it);return e.length&&e[0]===t[0]?function(t,e,r){for(var n=r?K:x,o=t[0].length,a=t.length,i=a,c=Array(a),u=1/0,s=[];i--;){var f=t[i];i&&e&&(f=N(f,C(e))),u=X(f.length,u),c[i]=!r&&(e||o>=120&&f.length>=120)?new nt(i&&f):void 0}f=t[0];var p=-1,y=c[0];t:for(;++p<o&&s.length<u;){var l=f[p],h=e?e(l):l;if(l=r||0!==l?l:0,!(y?F(y,h):n(s,h,r))){for(i=a;--i;){var g=c[i];if(!(g?F(g,h):n(t[i],h,r)))continue t}y&&y.push(h),s.push(l)}}return s}(e):[]});function yt(t){return"string"==typeof t?t.length>0?[t]:[]:t}var lt=r(function(t){t.exports=function(){var t=Object.prototype.toString;function e(t,e){return null!=t&&Object.prototype.hasOwnProperty.call(t,e)}function r(t){if(!t)return!0;if(o(t)&&0===t.length)return!0;if("string"!=typeof t){for(var r in t)if(e(t,r))return!1;return!0}return!1}function n(e){return t.call(e)}var o=Array.isArray||function(e){return"[object Array]"===t.call(e)};function a(t){var e=parseInt(t);return e.toString()===t?e:t}function i(t){t=t||{};var i=function(t){return Object.keys(i).reduce(function(e,r){return"create"===r?e:("function"==typeof i[r]&&(e[r]=i[r].bind(i,t)),e)},{})};function c(r,n){return t.includeInheritedProps||"number"==typeof n&&Array.isArray(r)||e(r,n)}function u(t,e){if(c(t,e))return t[e]}function s(t,e,r,n){if("number"==typeof e&&(e=[e]),!e||0===e.length)return t;if("string"==typeof e)return s(t,e.split(".").map(a),r,n);var o=e[0],i=u(t,o);return 1===e.length?(void 0!==i&&n||(t[o]=r),i):(void 0===i&&("number"==typeof e[1]?t[o]=[]:t[o]={}),s(t[o],e.slice(1),r,n))}return i.has=function(r,n){if("number"==typeof n?n=[n]:"string"==typeof n&&(n=n.split(".")),!n||0===n.length)return!!r;for(var i=0;i<n.length;i++){var c=a(n[i]);if(!("number"==typeof c&&o(r)&&c<r.length||(t.includeInheritedProps?c in Object(r):e(r,c))))return!1;r=r[c]}return!0},i.ensureExists=function(t,e,r){return s(t,e,r,!0)},i.set=function(t,e,r,n){return s(t,e,r,n)},i.insert=function(t,e,r,n){var a=i.get(t,e);n=~~n,o(a)||(a=[],i.set(t,e,a)),a.splice(n,0,r)},i.empty=function(t,e){var a,u;if(!r(e)&&null!=t&&(a=i.get(t,e))){if("string"==typeof a)return i.set(t,e,"");if(function(t){return"boolean"==typeof t||"[object Boolean]"===n(t)}(a))return i.set(t,e,!1);if("number"==typeof a)return i.set(t,e,0);if(o(a))a.length=0;else{if(!function(t){return"object"==typeof t&&"[object Object]"===n(t)}(a))return i.set(t,e,null);for(u in a)c(a,u)&&delete a[u]}}},i.push=function(t,e){var r=i.get(t,e);o(r)||(r=[],i.set(t,e,r)),r.push.apply(r,Array.prototype.slice.call(arguments,2))},i.coalesce=function(t,e,r){for(var n,o=0,a=e.length;o<a;o++)if(void 0!==(n=i.get(t,e[o])))return n;return r},i.get=function(t,e,r){if("number"==typeof e&&(e=[e]),!e||0===e.length)return t;if(null==t)return r;if("string"==typeof e)return i.get(t,e.split("."),r);var n=a(e[0]),o=u(t,n);return void 0===o?r:1===e.length?o:i.get(t[n],e.slice(1),r)},i.del=function(t,e){if("number"==typeof e&&(e=[e]),null==t)return t;if(r(e))return t;if("string"==typeof e)return i.del(t,e.split("."));var n=a(e[0]);return c(t,n)?1!==e.length?i.del(t[n],e.slice(1)):(o(t)?t.splice(n,1):delete t[n],t):t},i}var c=i();return c.create=i,c.withInheritedProps=i({includeInheritedProps:!0}),c}()}),ht=function(t){var e=t%100;if(e>=10&&e<=20)return"th";var r=t%10;return 1===r?"st":2===r?"nd":3===r?"rd":"th"};function gt(t){if("number"!=typeof t)throw new TypeError("Expected Number, got "+typeof t+" "+t);return t+ht(t)}gt.indicator=ht;var bt=gt,dt=/[|\\{}()[\]^$+*?.]/g,vt=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(dt,"\\$&")};const _t=new Map;function mt(t,e){const r=Object.assign({caseSensitive:!1},e),n=t+JSON.stringify(r);if(_t.has(n))return _t.get(n);const o="!"===t[0];o&&(t=t.slice(1)),t=vt(t).replace(/\\\*/g,".*");const a=new RegExp(`^${t}$`,r.caseSensitive?"":"i");return a.negated=o,_t.set(n,a),a}var jt=(t,e,r)=>{if(!Array.isArray(t)||!Array.isArray(e))throw new TypeError(`Expected two arrays, got ${typeof t} ${typeof e}`);if(0===e.length)return t;const n="!"===e[0][0];e=e.map(t=>mt(t,r));const o=[];for(const r of t){let t=n;for(const n of e)n.test(r)&&(t=!n.negated);t&&o.push(r)}return o};function wt(t,e,r){return function t(e,r,o,a=!0){function i(t){return null!=t}function c(t){return"Object"===n(t)}function u(t,e){return e=yt(e),Array.from(t).filter(t=>!e.some(e=>jt.isMatch(t,e,{caseSensitive:!0})))}function f(t){if(t.includes(".")){const e=t.split(".");return e.pop(),e.join(".")}return t}const p=["any","anything","every","everything","all","whatever","whatevs"],y=Array.isArray;if(!i(e))throw new Error("check-types-mini: [THROW_ID_01] First argument is missing!");const l={ignoreKeys:[],ignorePaths:[],acceptArrays:!1,acceptArraysIgnore:[],enforceStrictKeyset:!0,schema:{},msg:"check-types-mini",optsVarName:"opts"};let h;if(h=i(o)&&c(o)?Object.assign({},l,o):Object.assign({},l),i(h.ignoreKeys)&&h.ignoreKeys?h.ignoreKeys=yt(h.ignoreKeys):h.ignoreKeys=[],i(h.ignorePaths)&&h.ignorePaths?h.ignorePaths=yt(h.ignorePaths):h.ignorePaths=[],i(h.acceptArraysIgnore)&&h.acceptArraysIgnore?h.acceptArraysIgnore=yt(h.acceptArraysIgnore):h.acceptArraysIgnore=[],h.msg="string"==typeof h.msg?h.msg.trim():h.msg,":"===h.msg[h.msg.length-1]&&(h.msg=h.msg.slice(0,h.msg.length-1).trim()),h.schema&&Object.keys(h.schema).forEach(t=>{y(h.schema[t])||(h.schema[t]=[h.schema[t]]),h.schema[t]=h.schema[t].map(String).map(t=>t.toLowerCase()).map(t=>t.trim())}),i(r)||(r={}),a&&t(h,l,{enforceStrictKeyset:!1},!1),h.enforceStrictKeyset)if(i(h.schema)&&Object.keys(h.schema).length>0){if(0!==u(s(Object.keys(e),Object.keys(r).concat(Object.keys(h.schema))),h.ignoreKeys).length){const t=s(Object.keys(e),Object.keys(r).concat(Object.keys(h.schema)));throw new TypeError(`${h.msg}: ${h.optsVarName}.enforceStrictKeyset is on and the following key${t.length>1?"s":""} ${t.length>1?"are":"is"} not covered by schema and/or reference objects: ${t.join(", ")}`)}}else{if(!(i(r)&&Object.keys(r).length>0))throw new TypeError(`${h.msg}: Both ${h.optsVarName}.schema and reference objects are missing! We don't have anything to match the keys as you requested via opts.enforceStrictKeyset!`);if(0!==u(s(Object.keys(e),Object.keys(r)),h.ignoreKeys).length){const t=s(Object.keys(e),Object.keys(r));throw new TypeError(`${h.msg}: The input object has key${t.length>1?"s":""} which ${t.length>1?"are":"is"} not covered by the reference object: ${t.join(", ")}`)}if(0!==u(s(Object.keys(r),Object.keys(e)),h.ignoreKeys).length){const t=s(Object.keys(r),Object.keys(e));throw new TypeError(`${h.msg}: The reference object has key${t.length>1?"s":""} which ${t.length>1?"are":"is"} not present in the input object: ${t.join(", ")}`)}}const g=[];k(e,(t,e,o)=>{const a=void 0!==e?e:t;if(y(g)&&g.length&&g.some(t=>o.path.startsWith(t)))return a;if(!(!h.enforceStrictKeyset||!c(a)&&!y(a)&&y(o.parent)||i(h.schema)&&c(h.schema)&&(!c(h.schema)||Object.keys(h.schema).length&&(y(o.parent)||Object.prototype.hasOwnProperty.call(h.schema,o.path))&&(!y(o.parent)||lt.has(h.schema,f(o.path))))||i(r)&&c(r)&&(!c(r)||Object.keys(r).length&&(h.acceptArrays||lt.has(r,o.path))&&(!h.acceptArrays||(y(o.parent)||lt.has(r,o.path))&&(!y(o.parent)||lt.has(r,f(o.path)))))))throw new TypeError(`${h.msg}: ${h.optsVarName}.${o.path} is neither covered by reference object (second input argument), nor ${h.optsVarName}.schema! To stop this error, turn off ${h.optsVarName}.enforceStrictKeyset or provide some type reference (2nd argument or ${h.optsVarName}.schema).`);if(c(h.schema)&&Object.keys(h.schema).length&&Object.prototype.hasOwnProperty.call(h.schema,o.path)){const t=yt(h.schema[o.path]).map(String).map(t=>t.toLowerCase());if(lt.set(h.schema,o.path,t),pt(t,p).length)g.push(o.path);else if(!0!==a&&!1!==a&&!t.includes(n(a).toLowerCase())||(!0===a||!1===a)&&!t.includes(String(a))&&!t.includes("boolean")){if(!y(a)||!h.acceptArrays)throw new TypeError(`${h.msg}: ${h.optsVarName}.${o.path} was customised to ${"string"!==n(a)?'"':""}${JSON.stringify(a,null,0)}${"string"!==n(a)?'"':""} (${n(a).toLowerCase()}) which is not among the allowed types in schema (${t.join(", ")})`);for(let e=0,r=a.length;e<r;e++)if(!t.includes(n(a[e]).toLowerCase()))throw new TypeError(`${h.msg}: ${h.optsVarName}.${o.path}.${e}, the ${bt(e+1)} element (equal to ${JSON.stringify(a[e],null,0)}) is of a type ${n(a[e]).toLowerCase()}, but only the following are allowed by the ${h.optsVarName}.schema: ${t.join(", ")}`)}}else if(i(r)&&Object.keys(r).length&&lt.has(r,o.path)&&n(a)!==n(lt.get(r,o.path))&&(!h.ignoreKeys||!h.ignoreKeys.some(e=>jt.isMatch(t,e)))&&(!h.ignorePaths||!h.ignorePaths.some(t=>jt.isMatch(o.path,t)))){const e=lt.get(r,o.path);if(!h.acceptArrays||!y(a)||h.acceptArraysIgnore.includes(t))throw new TypeError(`${h.msg}: ${h.optsVarName}.${o.path} was customised to ${"string"===n(a).toLowerCase()?"":'"'}${JSON.stringify(a,null,0)}${"string"===n(a).toLowerCase()?"":'"'} which is not ${n(e).toLowerCase()} but ${n(a).toLowerCase()}`);if(!a.every(e=>n(e).toLowerCase()===n(r[t]).toLowerCase()))throw new TypeError(`${h.msg}: ${h.optsVarName}.${o.path} was customised to be array, but not all of its elements are ${n(r[t]).toLowerCase()}-type`)}return a})}(t,e,r)}jt.isMatch=((t,e,r)=>{const n=mt(e,r),o=n.test(t);return n.negated?!o:o});const Ot=Array.isArray;function kt(t,e,r){function n(t){return"string"==typeof t}const o=Object.assign({},{arrayVsArrayAllMustBeFound:"any"},r);if(0===arguments.length)throw new Error("array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_01] all inputs missing!");if(1===arguments.length)throw new Error("array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_02] second argument missing!");if(!Ot(t)){if(!n(t))throw new Error(`array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_03] first argument must be an array! It was given as ${typeof t}`);t=[t]}if(!n(e)&&!Ot(e))throw new Error(`array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_04] second argument must be a string or array of strings! It was given as ${typeof e}`);if("any"!==o.arrayVsArrayAllMustBeFound&&"all"!==o.arrayVsArrayAllMustBeFound)throw new Error(`array-includes-with-glob/arrayIncludesWithGlob(): [THROW_ID_05] opts.arrayVsArrayAllMustBeFound was customised to an unrecognised value, ${o.arrayVsArrayAllMustBeFound}. It must be equal to either "any" or "all".`);if(0===t.length)return!1;const a=t.filter(t=>(function(t){return null!=t})(t));return 0!==a.length&&(n(e)?a.some(t=>jt.isMatch(t,e,{caseSensitive:!0})):"any"===o.arrayVsArrayAllMustBeFound?e.some(t=>a.some(e=>jt.isMatch(e,t,{caseSensitive:!0}))):e.every(t=>a.some(e=>jt.isMatch(e,t,{caseSensitive:!0}))))}var At=1/0,$t=9007199254740991,St=1.7976931348623157e308,Et=NaN,Mt="[object Arguments]",Tt="[object Function]",It="[object GeneratorFunction]",Pt="[object String]",xt="[object Symbol]",Kt=/^\s+|\s+$/g,Nt=/^[-+]0x[0-9a-f]+$/i,Wt=/^0b[01]+$/i,Ct=/^0o[0-7]+$/i,Ft=/^(?:0|[1-9]\d*)$/,Vt=parseInt;function Lt(t){return t!=t}function Dt(t,e){return function(t,e){for(var r=-1,n=t?t.length:0,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}(e,function(e){return t[e]})}var Rt=Object.prototype,Bt=Rt.hasOwnProperty,Ht=Rt.toString,Gt=Rt.propertyIsEnumerable,Ut=function(t,e){return function(r){return t(e(r))}}(Object.keys,Object),Jt=Math.max;function qt(t,e){var r=Xt(t)||function(t){return function(t){return te(t)&&Yt(t)}(t)&&Bt.call(t,"callee")&&(!Gt.call(t,"callee")||Ht.call(t)==Mt)}(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,o=!!n;for(var a in t)!e&&!Bt.call(t,a)||o&&("length"==a||Qt(a,n))||r.push(a);return r}function zt(t){if(r=(e=t)&&e.constructor,n="function"==typeof r&&r.prototype||Rt,e!==n)return Ut(t);var e,r,n,o=[];for(var a in Object(t))Bt.call(t,a)&&"constructor"!=a&&o.push(a);return o}function Qt(t,e){return!!(e=null==e?$t:e)&&("number"==typeof t||Ft.test(t))&&t>-1&&t%1==0&&t<e}var Xt=Array.isArray;function Yt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=$t}(t.length)&&!function(t){var e=Zt(t)?Ht.call(t):"";return e==Tt||e==It}(t)}function Zt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function te(t){return!!t&&"object"==typeof t}var ee=function(t,e,r,n){var o;t=Yt(t)?t:(o=t)?Dt(o,function(t){return Yt(t)?qt(t):zt(t)}(o)):[],r=r&&!n?function(t){var e=function(t){if(!t)return 0===t?t:0;if((t=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||te(t)&&Ht.call(t)==xt}(t))return Et;if(Zt(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Zt(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Kt,"");var r=Wt.test(t);return r||Ct.test(t)?Vt(t.slice(2),r?2:8):Nt.test(t)?Et:+t}(t))===At||t===-At){var e=t<0?-1:1;return e*St}return t==t?t:0}(t),r=e%1;return e==e?r?e-r:e:0}(r):0;var a=t.length;return r<0&&(r=Jt(a+r,0)),function(t){return"string"==typeof t||!Xt(t)&&te(t)&&Ht.call(t)==Pt}(t)?r<=a&&t.indexOf(e,r)>-1:!!a&&function(t,e,r){if(e!=e)return function(t,e,r,n){for(var o=t.length,a=r+(n?1:-1);n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,Lt,r);for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}(t,e,r)>-1},re=200,ne="__lodash_hash_undefined__",oe="[object Function]",ae="[object GeneratorFunction]",ie=/^\[object .+?Constructor\]$/,ce="object"==typeof e&&e&&e.Object===Object&&e,ue="object"==typeof self&&self&&self.Object===Object&&self,se=ce||ue||Function("return this")();function fe(t,e){return!!(t?t.length:0)&&function(t,e,r){if(e!=e)return function(t,e,r,n){var o=t.length,a=r+(n?1:-1);for(;n?a--:++a<o;)if(e(t[a],a,t))return a;return-1}(t,ye,r);var n=r-1,o=t.length;for(;++n<o;)if(t[n]===e)return n;return-1}(t,e,0)>-1}function pe(t,e,r){for(var n=-1,o=t?t.length:0;++n<o;)if(r(e,t[n]))return!0;return!1}function ye(t){return t!=t}function le(t,e){return t.has(e)}function he(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var ge=Array.prototype,be=Function.prototype,de=Object.prototype,ve=se["__core-js_shared__"],_e=function(){var t=/[^.]+$/.exec(ve&&ve.keys&&ve.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),me=be.toString,je=de.hasOwnProperty,we=de.toString,Oe=RegExp("^"+me.call(je).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ke=ge.splice,Ae=We(se,"Map"),$e=We(se,"Set"),Se=We(Object,"create");function Ee(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Me(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Te(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Ie(t){var e=-1,r=t?t.length:0;for(this.__data__=new Te;++e<r;)this.add(t[e])}function Pe(t,e){for(var r,n,o=t.length;o--;)if((r=t[o][0])===(n=e)||r!=r&&n!=n)return o;return-1}function xe(t){return!(!Ce(t)||(e=t,_e&&_e in e))&&(function(t){var e=Ce(t)?we.call(t):"";return e==oe||e==ae}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?Oe:ie).test(function(t){if(null!=t){try{return me.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}Ee.prototype.clear=function(){this.__data__=Se?Se(null):{}},Ee.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Ee.prototype.get=function(t){var e=this.__data__;if(Se){var r=e[t];return r===ne?void 0:r}return je.call(e,t)?e[t]:void 0},Ee.prototype.has=function(t){var e=this.__data__;return Se?void 0!==e[t]:je.call(e,t)},Ee.prototype.set=function(t,e){return this.__data__[t]=Se&&void 0===e?ne:e,this},Me.prototype.clear=function(){this.__data__=[]},Me.prototype.delete=function(t){var e=this.__data__,r=Pe(e,t);return!(r<0||(r==e.length-1?e.pop():ke.call(e,r,1),0))},Me.prototype.get=function(t){var e=this.__data__,r=Pe(e,t);return r<0?void 0:e[r][1]},Me.prototype.has=function(t){return Pe(this.__data__,t)>-1},Me.prototype.set=function(t,e){var r=this.__data__,n=Pe(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},Te.prototype.clear=function(){this.__data__={hash:new Ee,map:new(Ae||Me),string:new Ee}},Te.prototype.delete=function(t){return Ne(this,t).delete(t)},Te.prototype.get=function(t){return Ne(this,t).get(t)},Te.prototype.has=function(t){return Ne(this,t).has(t)},Te.prototype.set=function(t,e){return Ne(this,t).set(t,e),this},Ie.prototype.add=Ie.prototype.push=function(t){return this.__data__.set(t,ne),this},Ie.prototype.has=function(t){return this.__data__.has(t)};var Ke=$e&&1/he(new $e([,-0]))[1]==1/0?function(t){return new $e(t)}:function(){};function Ne(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function We(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return xe(r)?r:void 0}function Ce(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var Fe=function(t){return t&&t.length?function(t,e,r){var n=-1,o=fe,a=t.length,i=!0,c=[],u=c;if(r)i=!1,o=pe;else if(a>=re){var s=e?null:Ke(t);if(s)return he(s);i=!1,o=le,u=new Ie}else u=e?[]:c;t:for(;++n<a;){var f=t[n],p=e?e(f):f;if(f=r||0!==f?f:0,i&&p==p){for(var y=u.length;y--;)if(u[y]===p)continue t;e&&u.push(p),c.push(f)}else o(u,p,r)||(u!==c&&u.push(p),c.push(f))}return c}(t):[]};function Ve(t){return 0!==arguments.length&&void 0!==t&&(e=t,Array.isArray(e)||function(t){return"string"==typeof t}(t)?t.length>0:j(t)?Object.keys(t).length>0:!!function(t){return"number"==typeof t}(t));var e}function Le(t){return void 0===t?"undefined":null===t?"null":String(t)+" ("+typeof t+")"}function De(t,e,r){if(!Array.isArray(t))throw new TypeError("Expected the first argument of array-includes-all to be an array, but got "+Le(t)+".");if(!Array.isArray(e))throw new TypeError("Expected the second argument of array-includes-all to be an array, but got "+Le(e)+".");if(0===e.length)throw new RangeError("Expected the second argument of array-includes-all to include at least one value, but recieved an empty array.");return 0!==t.length&&e.every(function(e){return t.includes(e,r)})}function Re(t){return Array.isArray(t)}function Be(t){return"string"==typeof t}function He(t){return"boolean"==typeof t}function Ge(t){return!!t&&t.some(t=>"string"==typeof t)}function Ue(t){return j(t)?"object":Re(t)?"array":typeof t}function Je(t,e,r){if(0===arguments.length)throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_01] Both inputs are missing");return function t(e,r,n,o={}){if(!j(o))throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_02] Options object, the third argument, must be a plain object");const a={cb:null,mergeObjectsOnlyWhenKeysetMatches:!0,ignoreKeys:[],hardMergeKeys:[],hardArrayConcatKeys:[],mergeArraysContainingStringsToBeEmpty:!1,oneToManyArrayObjectMerge:!1,hardMergeEverything:!1,hardArrayConcat:!1,ignoreEverything:!1,concatInsteadOfMerging:!0,dedupeStringsInArrayValues:!1,mergeBoolsUsingOrNotAnd:!0,useNullAsExplicitFalse:!1},i=Object.assign(f(a),o);let c;if(i.ignoreKeys=yt(i.ignoreKeys),i.hardMergeKeys=yt(i.hardMergeKeys),wt(i,a,{msg:"object-merge-advanced/mergeAdvanced(): [THROW_ID_06*]",schema:{cb:["null","undefined","false","function"]}}),i.hardMergeKeys.includes("*")&&(i.hardMergeEverything=!0),i.ignoreKeys.includes("*")&&(i.ignoreEverything=!0),i.useNullAsExplicitFalse&&(null===r||null===n))return i.cb?i.cb(r,n,null,{path:e.path,key:e.key,type:e.type}):null;let u=Re(r)||j(r)?f(r):r;const s=Re(n)||j(n)?f(n):n;let p;i.ignoreEverything?p=u:i.hardMergeEverything&&(p=s);const y=i.hardMergeEverything||i.ignoreEverything;if(!Re(u)){if(j(u)){if(Ve(u)){if(Re(s)){if(Ve(s)){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}const t=y?p:u;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}if(j(s))return Object.keys(s).forEach(r=>{c=e.path&&e.path.length?`${e.path}.${r}`:`${r}`,u.hasOwnProperty(r)?kt(r,i.ignoreKeys)?u[r]=t({path:c,key:r,type:[Ue(u),Ue(s)]},u[r],s[r],Object.assign({},i,{ignoreEverything:!0})):kt(r,i.hardMergeKeys)?u[r]=t({path:c,key:r,type:[Ue(u),Ue(s)]},u[r],s[r],Object.assign({},i,{hardMergeEverything:!0})):kt(r,i.hardArrayConcatKeys)?u[r]=t({path:c,key:r,type:[Ue(u),Ue(s)]},u[r],s[r],Object.assign({},i,{hardArrayConcat:!0})):u[r]=t({path:c,key:r,type:[Ue(u),Ue(s)]},u[r],s[r],i):u[r]=s[r]}),u;const r=y?p:u;return i.cb?i.cb(u,s,r,{path:e.path,key:e.key,type:e.type}):r}if(Re(s)||j(s)||Ve(s)){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const r=y?p:u;return i.cb?i.cb(u,s,r,{path:e.path,key:e.key,type:e.type}):r}if(Be(u)){if(Ve(u)){if((Re(s)||j(s)||Be(s))&&Ve(s)){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=y?p:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(null!=s&&!He(s)){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=y?p:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if("number"==typeof u){if(Ve(s)){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=y?p:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(He(u)){if(He(s)){if(i.mergeBoolsUsingOrNotAnd){const t=y?p:u||s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=y?p:u&&s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(null!=s){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=y?p:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}if(null===u){if(null!=s){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}const t=y?p:u;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}{const t=y?p:s;return i.cb?i.cb(u,s,t,{path:e.path,key:e.key,type:e.type}):t}}if(!Ve(u)){if(Ve(s)){const t=y?p:s;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}const t=y?p:u;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}if(!Re(s)||!Ve(s)){const t=y?p:u;return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}{if(i.mergeArraysContainingStringsToBeEmpty&&(Ge(u)||Ge(s))){const t=y?p:[];return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}if(i.hardArrayConcat){const t=y?p:u.concat(s);return i.cb?i.cb(u,s,t,{path:c,key:e.key,type:e.type}):t}let r=[];for(let n=0,o=Math.max(u.length,s.length);n<o;n++)c=e.path.length?`${e.path}.${n}`:`${n}`,j(u[n])&&j(s[n])&&(i.mergeObjectsOnlyWhenKeysetMatches&&(l=u[n],h=s[n],0===Object.keys(l).length||0===Object.keys(h).length||De(Object.keys(l),Object.keys(h))||De(Object.keys(h),Object.keys(l)))||!i.mergeObjectsOnlyWhenKeysetMatches)?r.push(t({path:c,key:e.key,type:[Ue(u),Ue(s)]},u[n],s[n],i)):!i.oneToManyArrayObjectMerge||1!==u.length&&1!==s.length?i.concatInsteadOfMerging?(n<u.length&&r.push(u[n]),n<s.length&&r.push(s[n])):(n<u.length&&r.push(u[n]),n<s.length&&!ee(u,s[n])&&r.push(s[n])):r.push(1===u.length?t({path:c,key:e.key,type:[Ue(u),Ue(s)]},u[0],s[n],i):t({path:c,key:e.key,type:[Ue(u),Ue(s)]},u[n],s[0],i));i.dedupeStringsInArrayValues&&r.every(t=>Be(t))&&(r=Fe(r).sort()),u=f(r)}var l,h;const g=y?p:u;return i.cb?i.cb(u,s,g,{path:e.path,key:e.key,type:e.type}):g}({key:null,path:"",type:[Ue(t),Ue(e)]},t,e,r)}var qe=Array.isArray;return function(e,r){if(!qe(e))throw new Error("array-of-arrays-into-ast: [THROW_ID_01] input must be array. Currently it's of a type ".concat(t(e)," equal to:\n").concat(JSON.stringify(e,null,4)));if(0===e.length)return{};var n={dedupe:!0};wt(r=Object.assign({},n,r),n,{msg:"array-of-arrays-into-ast: [THROW_ID_02*]",optsVarName:"opts"});var o,a={};return e.forEach(function(t){for(var e,n,o,i=null,c=t.length;c--;)e={},n=t[c],o=[i],n in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,i=e;a=Je(a,i,{concatInsteadOfMerging:!r.dedupe})}),o=a,Object.keys(o).sort().reduce(function(t,e){return t[e]=o[e],t},{})}});
{
"name": "array-of-arrays-into-ast",
"version": "1.3.0",
"version": "1.3.1",
"description": "turns an array of arrays of data into a nested tree of plain objects",

@@ -179,4 +179,4 @@ "license": "MIT",

"@babel/register": "^7.0.0",
"ava": "1.0.0-beta.8",
"babel-plugin-istanbul": "^5.0.1",
"ava": "1.0.0-rc.1",
"babel-plugin-istanbul": "^5.1.0",
"coveralls": "latest",

@@ -191,3 +191,3 @@ "eslint": "latest",

"eslint-plugin-scanjs-rules": "latest",
"husky": "latest",
"husky": "^1.1.2",
"nyc": "latest",

@@ -194,0 +194,0 @@ "prettier": "latest",