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.2.6

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

@@ -160,3 +160,3 @@ "license": "MIT",

"check-types-mini": "latest",
"object-merge-advanced": "^10.3.0"
"object-merge-advanced": "^10.3.2"
},

@@ -181,3 +181,3 @@ "devDependencies": {

"rollup": "latest",
"rollup-plugin-babel": "^3.0.4",
"rollup-plugin-babel": "^3.0.5",
"rollup-plugin-commonjs": "^9.1.3",

@@ -184,0 +184,0 @@ "rollup-plugin-node-resolve": "^3.3.0",