object-flatten-all-arrays 7.0.18 → 7.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 7.0.19 (2024-03-30)
7
+
8
+ ### Bug Fixes
9
+
10
+ - tweak the types ([5d05a0d](https://github.com/codsen/codsen/commit/5d05a0d07278f49543b7728219ee141fa9021ed4))
11
+
6
12
  ## 7.0.0 (2022-12-01)
7
13
 
8
14
  ### BREAKING CHANGES
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2010-2024 Roy Revelt and other contributors
3
+ Copyright (c) 2010-2025 Roy Revelt and other contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
package/README.md CHANGED
@@ -78,6 +78,6 @@ To report bugs or request features or assistance, [raise an issue](https://githu
78
78
 
79
79
  MIT License.
80
80
 
81
- Copyright © 2010-2024 Roy Revelt and other contributors.
81
+ Copyright © 2010-2025 Roy Revelt and other contributors.
82
82
 
83
83
  <p align="center"><img src="https://codsen.com/images/png-codsen-ok.png" width="98" alt="ok" align="center"> <img src="https://codsen.com/images/png-codsen-1.png" width="148" alt="codsen" align="center"> <img src="https://codsen.com/images/png-codsen-star-small.png" width="32" alt="star" align="center"></p>
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * @name object-flatten-all-arrays
3
3
  * @fileoverview Merge and flatten any arrays found in all values within plain objects
4
- * @version 7.0.18
4
+ * @version 7.0.22
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/object-flatten-all-arrays/}
8
8
  */
9
9
 
10
- import{merge as y}from"lodash-es";import b from"rfdc";import{isPlainObject as i}from"codsen-utils";var a="7.0.18";var p=b(),A=a,j={flattenArraysContainingStringsToBeEmpty:!1};function c(d,u){function m(t){return t.some(r=>typeof r=="string")}let l={...j,...u},e=p(d),s,n,o;if(Array.isArray(e)){if(l.flattenArraysContainingStringsToBeEmpty&&m(e))return[];s=null,n={},o=0;for(let t=0,r=e.length;t<r;t++)i(e[t])&&(n=y(n,e[t]),s===null?(s=!0,o=t):(e.splice(t,1),t-=1));s!==null&&(e[o]=p(n))}return i(e)?Object.keys(e).forEach(t=>{(i(e[t])||Array.isArray(e[t]))&&(e[t]=c(e[t],l))}):Array.isArray(e)&&e.forEach((t,r)=>{(i(e[r])||Array.isArray(e[r]))&&(e[r]=c(e[r],l))}),e}export{j as defaults,c as flattenAllArrays,A as version};
10
+ import{merge as y}from"lodash-es";import b from"rfdc";import{isPlainObject as i}from"codsen-utils";var a="7.0.22";var p=b(),A=a,j={flattenArraysContainingStringsToBeEmpty:!1};function c(d,u){function m(t){return t.some(r=>typeof r=="string")}let l={...j,...u},e=p(d),s,n,o;if(Array.isArray(e)){if(l.flattenArraysContainingStringsToBeEmpty&&m(e))return[];s=null,n={},o=0;for(let t=0,r=e.length;t<r;t++)i(e[t])&&(n=y(n,e[t]),s===null?(s=!0,o=t):(e.splice(t,1),t-=1));s!==null&&(e[o]=p(n))}return i(e)?Object.keys(e).forEach(t=>{(i(e[t])||Array.isArray(e[t]))&&(e[t]=c(e[t],l))}):Array.isArray(e)&&e.forEach((t,r)=>{(i(e[r])||Array.isArray(e[r]))&&(e[r]=c(e[r],l))}),e}export{j as defaults,c as flattenAllArrays,A as version};
@@ -1,17 +1,17 @@
1
1
  /**
2
2
  * @name object-flatten-all-arrays
3
3
  * @fileoverview Merge and flatten any arrays found in all values within plain objects
4
- * @version 7.0.18
4
+ * @version 7.0.22
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/object-flatten-all-arrays/}
8
8
  */
9
9
 
10
- "use strict";var objectFlattenAllArrays=(()=>{var Vt=Object.create;var L=Object.defineProperty;var qt=Object.getOwnPropertyDescriptor;var Kt=Object.getOwnPropertyNames,le=Object.getOwnPropertySymbols,Jt=Object.getPrototypeOf,me=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable;var ue=(e,t,r)=>t in e?L(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ee=(e,t)=>{for(var r in t||(t={}))me.call(t,r)&&ue(e,r,t[r]);if(le)for(var r of le(t))Qt.call(t,r)&&ue(e,r,t[r]);return e};var Zt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Xt=(e,t)=>{for(var r in t)L(e,r,{get:t[r],enumerable:!0})},de=(e,t,r,f)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Kt(t))!me.call(e,o)&&o!==r&&L(e,o,{get:()=>t[o],enumerable:!(f=qt(t,o))||f.enumerable});return e};var ce=(e,t,r)=>(r=e!=null?Vt(Jt(e)):{},de(t||!e||!e.__esModule?L(r,"default",{value:e,enumerable:!0}):r,e)),Yt=e=>de(L({},"__esModule",{value:!0}),e);var se=Zt((Qp,Wt)=>{"use strict";Wt.exports=sf;function E(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}function sf(e){if(e=e||{},e.circles)return pf(e);return e.proto?f:r;function t(o,p){for(var n=Object.keys(o),a=new Array(n.length),s=0;s<n.length;s++){var i=n[s],l=o[i];typeof l!="object"||l===null?a[i]=l:l instanceof Date?a[i]=new Date(l):ArrayBuffer.isView(l)?a[i]=E(l):a[i]=p(l)}return a}function r(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return t(o,r);if(o instanceof Map)return new Map(t(Array.from(o),r));if(o instanceof Set)return new Set(t(Array.from(o),r));var p={};for(var n in o)if(Object.hasOwnProperty.call(o,n)!==!1){var a=o[n];typeof a!="object"||a===null?p[n]=a:a instanceof Date?p[n]=new Date(a):a instanceof Map?p[n]=new Map(t(Array.from(a),r)):a instanceof Set?p[n]=new Set(t(Array.from(a),r)):ArrayBuffer.isView(a)?p[n]=E(a):p[n]=r(a)}return p}function f(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return t(o,f);if(o instanceof Map)return new Map(t(Array.from(o),f));if(o instanceof Set)return new Set(t(Array.from(o),f));var p={};for(var n in o){var a=o[n];typeof a!="object"||a===null?p[n]=a:a instanceof Date?p[n]=new Date(a):a instanceof Map?p[n]=new Map(t(Array.from(a),f)):a instanceof Set?p[n]=new Set(t(Array.from(a),f)):ArrayBuffer.isView(a)?p[n]=E(a):p[n]=f(a)}return p}}function pf(e){var t=[],r=[];return e.proto?p:o;function f(n,a){for(var s=Object.keys(n),i=new Array(s.length),l=0;l<s.length;l++){var c=s[l],d=n[c];if(typeof d!="object"||d===null)i[c]=d;else if(d instanceof Date)i[c]=new Date(d);else if(ArrayBuffer.isView(d))i[c]=E(d);else{var j=t.indexOf(d);j!==-1?i[c]=r[j]:i[c]=a(d)}}return i}function o(n){if(typeof n!="object"||n===null)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return f(n,o);if(n instanceof Map)return new Map(f(Array.from(n),o));if(n instanceof Set)return new Set(f(Array.from(n),o));var a={};t.push(n),r.push(a);for(var s in n)if(Object.hasOwnProperty.call(n,s)!==!1){var i=n[s];if(typeof i!="object"||i===null)a[s]=i;else if(i instanceof Date)a[s]=new Date(i);else if(i instanceof Map)a[s]=new Map(f(Array.from(i),o));else if(i instanceof Set)a[s]=new Set(f(Array.from(i),o));else if(ArrayBuffer.isView(i))a[s]=E(i);else{var l=t.indexOf(i);l!==-1?a[s]=r[l]:a[s]=o(i)}}return t.pop(),r.pop(),a}function p(n){if(typeof n!="object"||n===null)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return f(n,p);if(n instanceof Map)return new Map(f(Array.from(n),p));if(n instanceof Set)return new Set(f(Array.from(n),p));var a={};t.push(n),r.push(a);for(var s in n){var i=n[s];if(typeof i!="object"||i===null)a[s]=i;else if(i instanceof Date)a[s]=new Date(i);else if(i instanceof Map)a[s]=new Map(f(Array.from(i),p));else if(i instanceof Set)a[s]=new Set(f(Array.from(i),p));else if(ArrayBuffer.isView(i))a[s]=E(i);else{var l=t.indexOf(i);l!==-1?a[s]=r[l]:a[s]=p(i)}}return t.pop(),r.pop(),a}}});var mf={};Xt(mf,{defaults:()=>Ht,flattenAllArrays:()=>ie,version:()=>uf});var kt=typeof global=="object"&&global&&global.Object===Object&&global,$=kt;var er=typeof self=="object"&&self&&self.Object===Object&&self,tr=$||er||Function("return this")(),x=tr;var rr=x.Symbol,w=rr;var xe=Object.prototype,or=xe.hasOwnProperty,ar=xe.toString,R=w?w.toStringTag:void 0;function fr(e){var t=or.call(e,R),r=e[R];try{e[R]=void 0;var f=!0}catch(p){}var o=ar.call(e);return f&&(t?e[R]=r:delete e[R]),o}var he=fr;var nr=Object.prototype,sr=nr.toString;function ir(e){return sr.call(e)}var ye=ir;var pr="[object Null]",lr="[object Undefined]",ge=w?w.toStringTag:void 0;function ur(e){return e==null?e===void 0?lr:pr:ge&&ge in Object(e)?he(e):ye(e)}var g=ur;function mr(e){return e!=null&&typeof e=="object"}var h=mr;var dr=Array.isArray,F=dr;function cr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var m=cr;function xr(e){return e}var H=xr;var hr="[object AsyncFunction]",yr="[object Function]",gr="[object GeneratorFunction]",br="[object Proxy]";function vr(e){if(!m(e))return!1;var t=g(e);return t==yr||t==gr||t==hr||t==br}var _=vr;var Ar=x["__core-js_shared__"],V=Ar;var be=function(){var e=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Or(e){return!!be&&be in e}var ve=Or;var jr=Function.prototype,wr=jr.toString;function _r(e){if(e!=null){try{return wr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Ae=_r;var Sr=/[\\^$.*+?()[\]{}|]/g,Tr=/^\[object .+?Constructor\]$/,Cr=Function.prototype,Ir=Object.prototype,Pr=Cr.toString,Dr=Ir.hasOwnProperty,Br=RegExp("^"+Pr.call(Dr).replace(Sr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Mr(e){if(!m(e)||ve(e))return!1;var t=_(e)?Br:Tr;return t.test(Ae(e))}var Oe=Mr;function Er(e,t){return e==null?void 0:e[t]}var je=Er;function Lr(e,t){var r=je(e,t);return Oe(r)?r:void 0}var S=Lr;var we=Object.create,Rr=function(){function e(){}return function(t){if(!m(t))return{};if(we)return we(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),_e=Rr;function Fr(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var Se=Fr;function Nr(e,t){var r=-1,f=e.length;for(t||(t=Array(f));++r<f;)t[r]=e[r];return t}var Te=Nr;var Wr=800,zr=16,Ur=Date.now;function Gr(e){var t=0,r=0;return function(){var f=Ur(),o=zr-(f-r);if(r=f,o>0){if(++t>=Wr)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Ce=Gr;function $r(e){return function(){return e}}var Ie=$r;var Hr=function(){try{var e=S(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),T=Hr;var Vr=T?function(e,t){return T(e,"toString",{configurable:!0,enumerable:!1,value:Ie(t),writable:!0})}:H,Pe=Vr;var qr=Ce(Pe),De=qr;var Kr=9007199254740991,Jr=/^(?:0|[1-9]\d*)$/;function Qr(e,t){var r=typeof e;return t=t==null?Kr:t,!!t&&(r=="number"||r!="symbol"&&Jr.test(e))&&e>-1&&e%1==0&&e<t}var q=Qr;function Zr(e,t,r){t=="__proto__"&&T?T(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var C=Zr;function Xr(e,t){return e===t||e!==e&&t!==t}var b=Xr;var Yr=Object.prototype,kr=Yr.hasOwnProperty;function eo(e,t,r){var f=e[t];(!(kr.call(e,t)&&b(f,r))||r===void 0&&!(t in e))&&C(e,t,r)}var Be=eo;function to(e,t,r,f){var o=!r;r||(r={});for(var p=-1,n=t.length;++p<n;){var a=t[p],s=f?f(r[a],e[a],a,r,e):void 0;s===void 0&&(s=e[a]),o?C(r,a,s):Be(r,a,s)}return r}var Me=to;var Ee=Math.max;function ro(e,t,r){return t=Ee(t===void 0?e.length-1:t,0),function(){for(var f=arguments,o=-1,p=Ee(f.length-t,0),n=Array(p);++o<p;)n[o]=f[t+o];o=-1;for(var a=Array(t+1);++o<t;)a[o]=f[o];return a[t]=r(n),Se(e,this,a)}}var Le=ro;function oo(e,t){return De(Le(e,t,H),e+"")}var Re=oo;var ao=9007199254740991;function fo(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ao}var K=fo;function no(e){return e!=null&&K(e.length)&&!_(e)}var I=no;function so(e,t,r){if(!m(r))return!1;var f=typeof t;return(f=="number"?I(r)&&q(t,r.length):f=="string"&&t in r)?b(r[t],e):!1}var Fe=so;function io(e){return Re(function(t,r){var f=-1,o=r.length,p=o>1?r[o-1]:void 0,n=o>2?r[2]:void 0;for(p=e.length>3&&typeof p=="function"?(o--,p):void 0,n&&Fe(r[0],r[1],n)&&(p=o<3?void 0:p,o=1),t=Object(t);++f<o;){var a=r[f];a&&e(t,a,f,p)}return t})}var Ne=io;var po=Object.prototype;function lo(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||po;return e===r}var J=lo;function uo(e,t){for(var r=-1,f=Array(e);++r<e;)f[r]=t(r);return f}var We=uo;var mo="[object Arguments]";function co(e){return h(e)&&g(e)==mo}var te=co;var ze=Object.prototype,xo=ze.hasOwnProperty,ho=ze.propertyIsEnumerable,yo=te(function(){return arguments}())?te:function(e){return h(e)&&xo.call(e,"callee")&&!ho.call(e,"callee")},N=yo;function go(){return!1}var Ue=go;var He=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ge=He&&typeof module=="object"&&module&&!module.nodeType&&module,bo=Ge&&Ge.exports===He,$e=bo?x.Buffer:void 0,vo=$e?$e.isBuffer:void 0,Ao=vo||Ue,Q=Ao;var Oo="[object Arguments]",jo="[object Array]",wo="[object Boolean]",_o="[object Date]",So="[object Error]",To="[object Function]",Co="[object Map]",Io="[object Number]",Po="[object Object]",Do="[object RegExp]",Bo="[object Set]",Mo="[object String]",Eo="[object WeakMap]",Lo="[object ArrayBuffer]",Ro="[object DataView]",Fo="[object Float32Array]",No="[object Float64Array]",Wo="[object Int8Array]",zo="[object Int16Array]",Uo="[object Int32Array]",Go="[object Uint8Array]",$o="[object Uint8ClampedArray]",Ho="[object Uint16Array]",Vo="[object Uint32Array]",u={};u[Fo]=u[No]=u[Wo]=u[zo]=u[Uo]=u[Go]=u[$o]=u[Ho]=u[Vo]=!0;u[Oo]=u[jo]=u[Lo]=u[wo]=u[Ro]=u[_o]=u[So]=u[To]=u[Co]=u[Io]=u[Po]=u[Do]=u[Bo]=u[Mo]=u[Eo]=!1;function qo(e){return h(e)&&K(e.length)&&!!u[g(e)]}var Ve=qo;function Ko(e){return function(t){return e(t)}}var qe=Ko;var Ke=typeof exports=="object"&&exports&&!exports.nodeType&&exports,W=Ke&&typeof module=="object"&&module&&!module.nodeType&&module,Jo=W&&W.exports===Ke,re=Jo&&$.process,Qo=function(){try{var e=W&&W.require&&W.require("util").types;return e||re&&re.binding&&re.binding("util")}catch(t){}}(),oe=Qo;var Je=oe&&oe.isTypedArray,Zo=Je?qe(Je):Ve,Z=Zo;var Xo=Object.prototype,Yo=Xo.hasOwnProperty;function ko(e,t){var r=F(e),f=!r&&N(e),o=!r&&!f&&Q(e),p=!r&&!f&&!o&&Z(e),n=r||f||o||p,a=n?We(e.length,String):[],s=a.length;for(var i in e)(t||Yo.call(e,i))&&!(n&&(i=="length"||o&&(i=="offset"||i=="parent")||p&&(i=="buffer"||i=="byteLength"||i=="byteOffset")||q(i,s)))&&a.push(i);return a}var Qe=ko;function ea(e,t){return function(r){return e(t(r))}}var Ze=ea;function ta(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var Xe=ta;var ra=Object.prototype,oa=ra.hasOwnProperty;function aa(e){if(!m(e))return Xe(e);var t=J(e),r=[];for(var f in e)f=="constructor"&&(t||!oa.call(e,f))||r.push(f);return r}var Ye=aa;function fa(e){return I(e)?Qe(e,!0):Ye(e)}var X=fa;var na=S(Object,"create"),y=na;function sa(){this.__data__=y?y(null):{},this.size=0}var ke=sa;function ia(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var et=ia;var pa="__lodash_hash_undefined__",la=Object.prototype,ua=la.hasOwnProperty;function ma(e){var t=this.__data__;if(y){var r=t[e];return r===pa?void 0:r}return ua.call(t,e)?t[e]:void 0}var tt=ma;var da=Object.prototype,ca=da.hasOwnProperty;function xa(e){var t=this.__data__;return y?t[e]!==void 0:ca.call(t,e)}var rt=xa;var ha="__lodash_hash_undefined__";function ya(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=y&&t===void 0?ha:t,this}var ot=ya;function P(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var f=e[t];this.set(f[0],f[1])}}P.prototype.clear=ke;P.prototype.delete=et;P.prototype.get=tt;P.prototype.has=rt;P.prototype.set=ot;var ae=P;function ga(){this.__data__=[],this.size=0}var at=ga;function ba(e,t){for(var r=e.length;r--;)if(b(e[r][0],t))return r;return-1}var v=ba;var va=Array.prototype,Aa=va.splice;function Oa(e){var t=this.__data__,r=v(t,e);if(r<0)return!1;var f=t.length-1;return r==f?t.pop():Aa.call(t,r,1),--this.size,!0}var ft=Oa;function ja(e){var t=this.__data__,r=v(t,e);return r<0?void 0:t[r][1]}var nt=ja;function wa(e){return v(this.__data__,e)>-1}var st=wa;function _a(e,t){var r=this.__data__,f=v(r,e);return f<0?(++this.size,r.push([e,t])):r[f][1]=t,this}var it=_a;function D(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var f=e[t];this.set(f[0],f[1])}}D.prototype.clear=at;D.prototype.delete=ft;D.prototype.get=nt;D.prototype.has=st;D.prototype.set=it;var A=D;var Sa=S(x,"Map"),Y=Sa;function Ta(){this.size=0,this.__data__={hash:new ae,map:new(Y||A),string:new ae}}var pt=Ta;function Ca(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var lt=Ca;function Ia(e,t){var r=e.__data__;return lt(t)?r[typeof t=="string"?"string":"hash"]:r.map}var O=Ia;function Pa(e){var t=O(this,e).delete(e);return this.size-=t?1:0,t}var ut=Pa;function Da(e){return O(this,e).get(e)}var mt=Da;function Ba(e){return O(this,e).has(e)}var dt=Ba;function Ma(e,t){var r=O(this,e),f=r.size;return r.set(e,t),this.size+=r.size==f?0:1,this}var ct=Ma;function B(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var f=e[t];this.set(f[0],f[1])}}B.prototype.clear=pt;B.prototype.delete=ut;B.prototype.get=mt;B.prototype.has=dt;B.prototype.set=ct;var xt=B;var Ea=Ze(Object.getPrototypeOf,Object),k=Ea;var La="[object Object]",Ra=Function.prototype,Fa=Object.prototype,ht=Ra.toString,Na=Fa.hasOwnProperty,Wa=ht.call(Object);function za(e){if(!h(e)||g(e)!=La)return!1;var t=k(e);if(t===null)return!0;var r=Na.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&ht.call(r)==Wa}var yt=za;function Ua(){this.__data__=new A,this.size=0}var gt=Ua;function Ga(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var bt=Ga;function $a(e){return this.__data__.get(e)}var vt=$a;function Ha(e){return this.__data__.has(e)}var At=Ha;var Va=200;function qa(e,t){var r=this.__data__;if(r instanceof A){var f=r.__data__;if(!Y||f.length<Va-1)return f.push([e,t]),this.size=++r.size,this;r=this.__data__=new xt(f)}return r.set(e,t),this.size=r.size,this}var Ot=qa;function M(e){var t=this.__data__=new A(e);this.size=t.size}M.prototype.clear=gt;M.prototype.delete=bt;M.prototype.get=vt;M.prototype.has=At;M.prototype.set=Ot;var jt=M;var Tt=typeof exports=="object"&&exports&&!exports.nodeType&&exports,wt=Tt&&typeof module=="object"&&module&&!module.nodeType&&module,Ka=wt&&wt.exports===Tt,_t=Ka?x.Buffer:void 0,St=_t?_t.allocUnsafe:void 0;function Ja(e,t){if(t)return e.slice();var r=e.length,f=St?St(r):new e.constructor(r);return e.copy(f),f}var Ct=Ja;var Qa=x.Uint8Array,fe=Qa;function Za(e){var t=new e.constructor(e.byteLength);return new fe(t).set(new fe(e)),t}var It=Za;function Xa(e,t){var r=t?It(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Pt=Xa;function Ya(e){return typeof e.constructor=="function"&&!J(e)?_e(k(e)):{}}var Dt=Ya;function ka(e){return function(t,r,f){for(var o=-1,p=Object(t),n=f(t),a=n.length;a--;){var s=n[e?a:++o];if(r(p[s],s,p)===!1)break}return t}}var Bt=ka;var ef=Bt(),Mt=ef;function tf(e,t,r){(r!==void 0&&!b(e[t],r)||r===void 0&&!(t in e))&&C(e,t,r)}var z=tf;function rf(e){return h(e)&&I(e)}var Et=rf;function of(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var U=of;function af(e){return Me(e,X(e))}var Lt=af;function ff(e,t,r,f,o,p,n){var a=U(e,r),s=U(t,r),i=n.get(s);if(i){z(e,r,i);return}var l=p?p(a,s,r+"",e,t,n):void 0,c=l===void 0;if(c){var d=F(s),j=!d&&Q(s),pe=!d&&!j&&Z(s);l=s,d||j||pe?F(a)?l=a:Et(a)?l=Te(a):j?(c=!1,l=Ct(s,!0)):pe?(c=!1,l=Pt(s,!0)):l=[]:yt(s)||N(s)?(l=a,N(a)?l=Lt(a):(!m(a)||_(a))&&(l=Dt(s))):c=!1}c&&(n.set(s,l),o(l,s,f,p,n),n.delete(s)),z(e,r,l)}var Rt=ff;function Ft(e,t,r,f,o){e!==t&&Mt(t,function(p,n){if(o||(o=new jt),m(p))Rt(e,t,n,r,Ft,f,o);else{var a=f?f(U(e,n),p,n+"",e,t,o):void 0;a===void 0&&(a=p),z(e,n,a)}},X)}var Nt=Ft;var nf=Ne(function(e,t,r){Nt(e,t,r)}),ne=nf;var $t=ce(se(),1);var zt=ce(se(),1);var Zp=(0,zt.default)();function G(e){if(e==null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null?!1:!(Symbol.iterator in e)&&!(Symbol.toStringTag in e)}var Ut="7.0.18";var Gt=(0,$t.default)(),uf=Ut,Ht={flattenArraysContainingStringsToBeEmpty:!1};function ie(e,t){function r(s){return s.some(i=>typeof i=="string")}let f=ee(ee({},Ht),t),o=Gt(e),p,n,a;if(Array.isArray(o)){if(f.flattenArraysContainingStringsToBeEmpty&&r(o))return[];p=null,n={},a=0;for(let s=0,i=o.length;s<i;s++)G(o[s])&&(n=ne(n,o[s]),p===null?(p=!0,a=s):(o.splice(s,1),s-=1));p!==null&&(o[a]=Gt(n))}return G(o)?Object.keys(o).forEach(s=>{(G(o[s])||Array.isArray(o[s]))&&(o[s]=ie(o[s],f))}):Array.isArray(o)&&o.forEach((s,i)=>{(G(o[i])||Array.isArray(o[i]))&&(o[i]=ie(o[i],f))}),o}return Yt(mf);})();
10
+ "use strict";var objectFlattenAllArrays=(()=>{var Ve=Object.create;var R=Object.defineProperty;var qe=Object.getOwnPropertyDescriptor;var Ke=Object.getOwnPropertyNames,lt=Object.getOwnPropertySymbols,Je=Object.getPrototypeOf,dt=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable;var mt=(t,e,r)=>e in t?R(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,et=(t,e)=>{for(var r in e||(e={}))dt.call(e,r)&&mt(t,r,e[r]);if(lt)for(var r of lt(e))Qe.call(e,r)&&mt(t,r,e[r]);return t};var Ze=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Xe=(t,e)=>{for(var r in e)R(t,r,{get:e[r],enumerable:!0})},ct=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let f of Ke(e))!dt.call(t,f)&&f!==r&&R(t,f,{get:()=>e[f],enumerable:!(a=qe(e,f))||a.enumerable});return t};var xt=(t,e,r)=>(r=t!=null?Ve(Je(t)):{},ct(e||!t||!t.__esModule?R(r,"default",{value:t,enumerable:!0}):r,t)),Ye=t=>ct(R({},"__esModule",{value:!0}),t);var it=Ze((Qu,We)=>{"use strict";We.exports=uf;function L(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}function uf(t){if(t=t||{},t.circles)return pf(t);let e=new Map;if(e.set(Date,s=>new Date(s)),e.set(Map,(s,i)=>new Map(a(Array.from(s),i))),e.set(Set,(s,i)=>new Set(a(Array.from(s),i))),t.constructorHandlers)for(let s of t.constructorHandlers)e.set(s[0],s[1]);let r=null;return t.proto?u:f;function a(s,i){let o=Object.keys(s),n=new Array(o.length);for(let l=0;l<o.length;l++){let p=o[l],d=s[p];typeof d!="object"||d===null?n[p]=d:d.constructor!==Object&&(r=e.get(d.constructor))?n[p]=r(d,i):ArrayBuffer.isView(d)?n[p]=L(d):n[p]=i(d)}return n}function f(s){if(typeof s!="object"||s===null)return s;if(Array.isArray(s))return a(s,f);if(s.constructor!==Object&&(r=e.get(s.constructor)))return r(s,f);let i={};for(let o in s){if(Object.hasOwnProperty.call(s,o)===!1)continue;let n=s[o];typeof n!="object"||n===null?i[o]=n:n.constructor!==Object&&(r=e.get(n.constructor))?i[o]=r(n,f):ArrayBuffer.isView(n)?i[o]=L(n):i[o]=f(n)}return i}function u(s){if(typeof s!="object"||s===null)return s;if(Array.isArray(s))return a(s,u);if(s.constructor!==Object&&(r=e.get(s.constructor)))return r(s,u);let i={};for(let o in s){let n=s[o];typeof n!="object"||n===null?i[o]=n:n.constructor!==Object&&(r=e.get(n.constructor))?i[o]=r(n,u):ArrayBuffer.isView(n)?i[o]=L(n):i[o]=u(n)}return i}}function pf(t){let e=[],r=[],a=new Map;if(a.set(Date,o=>new Date(o)),a.set(Map,(o,n)=>new Map(u(Array.from(o),n))),a.set(Set,(o,n)=>new Set(u(Array.from(o),n))),t.constructorHandlers)for(let o of t.constructorHandlers)a.set(o[0],o[1]);let f=null;return t.proto?i:s;function u(o,n){let l=Object.keys(o),p=new Array(l.length);for(let d=0;d<l.length;d++){let y=l[d],x=o[y];if(typeof x!="object"||x===null)p[y]=x;else if(x.constructor!==Object&&(f=a.get(x.constructor)))p[y]=f(x,n);else if(ArrayBuffer.isView(x))p[y]=L(x);else{let pt=e.indexOf(x);pt!==-1?p[y]=r[pt]:p[y]=n(x)}}return p}function s(o){if(typeof o!="object"||o===null)return o;if(Array.isArray(o))return u(o,s);if(o.constructor!==Object&&(f=a.get(o.constructor)))return f(o,s);let n={};e.push(o),r.push(n);for(let l in o){if(Object.hasOwnProperty.call(o,l)===!1)continue;let p=o[l];if(typeof p!="object"||p===null)n[l]=p;else if(p.constructor!==Object&&(f=a.get(p.constructor)))n[l]=f(p,s);else if(ArrayBuffer.isView(p))n[l]=L(p);else{let d=e.indexOf(p);d!==-1?n[l]=r[d]:n[l]=s(p)}}return e.pop(),r.pop(),n}function i(o){if(typeof o!="object"||o===null)return o;if(Array.isArray(o))return u(o,i);if(o.constructor!==Object&&(f=a.get(o.constructor)))return f(o,i);let n={};e.push(o),r.push(n);for(let l in o){let p=o[l];if(typeof p!="object"||p===null)n[l]=p;else if(p.constructor!==Object&&(f=a.get(p.constructor)))n[l]=f(p,i);else if(ArrayBuffer.isView(p))n[l]=L(p);else{let d=e.indexOf(p);d!==-1?n[l]=r[d]:n[l]=i(p)}}return e.pop(),r.pop(),n}}});var df={};Xe(df,{defaults:()=>$e,flattenAllArrays:()=>ut,version:()=>mf});var tr=typeof global=="object"&&global&&global.Object===Object&&global,G=tr;var er=typeof self=="object"&&self&&self.Object===Object&&self,rr=G||er||Function("return this")(),h=rr;var or=h.Symbol,w=or;var ht=Object.prototype,ar=ht.hasOwnProperty,fr=ht.toString,F=w?w.toStringTag:void 0;function sr(t){var e=ar.call(t,F),r=t[F];try{t[F]=void 0;var a=!0}catch(u){}var f=fr.call(t);return a&&(e?t[F]=r:delete t[F]),f}var yt=sr;var nr=Object.prototype,ir=nr.toString;function ur(t){return ir.call(t)}var gt=ur;var pr="[object Null]",lr="[object Undefined]",bt=w?w.toStringTag:void 0;function mr(t){return t==null?t===void 0?lr:pr:bt&&bt in Object(t)?yt(t):gt(t)}var v=mr;function dr(t){return t!=null&&typeof t=="object"}var g=dr;var cr=Array.isArray,N=cr;function xr(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var c=xr;function hr(t){return t}var $=hr;var yr="[object AsyncFunction]",gr="[object Function]",br="[object GeneratorFunction]",vr="[object Proxy]";function Or(t){if(!c(t))return!1;var e=v(t);return e==gr||e==br||e==yr||e==vr}var T=Or;var Ar=h["__core-js_shared__"],V=Ar;var vt=function(){var t=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function jr(t){return!!vt&&vt in t}var Ot=jr;var _r=Function.prototype,wr=_r.toString;function Tr(t){if(t!=null){try{return wr.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var At=Tr;var Cr=/[\\^$.*+?()[\]{}|]/g,Sr=/^\[object .+?Constructor\]$/,Ir=Function.prototype,Pr=Object.prototype,Br=Ir.toString,Er=Pr.hasOwnProperty,Dr=RegExp("^"+Br.call(Er).replace(Cr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Mr(t){if(!c(t)||Ot(t))return!1;var e=T(t)?Dr:Sr;return e.test(At(t))}var jt=Mr;function Lr(t,e){return t==null?void 0:t[e]}var _t=Lr;function Rr(t,e){var r=_t(t,e);return jt(r)?r:void 0}var C=Rr;var wt=Object.create,Fr=function(){function t(){}return function(e){if(!c(e))return{};if(wt)return wt(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),Tt=Fr;function Nr(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)}var Ct=Nr;function kr(t,e){var r=-1,a=t.length;for(e||(e=Array(a));++r<a;)e[r]=t[r];return e}var St=kr;var Wr=800,zr=16,Ur=Date.now;function Hr(t){var e=0,r=0;return function(){var a=Ur(),f=zr-(a-r);if(r=a,f>0){if(++e>=Wr)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var It=Hr;function Gr(t){return function(){return t}}var Pt=Gr;var $r=function(){try{var t=C(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),S=$r;var Vr=S?function(t,e){return S(t,"toString",{configurable:!0,enumerable:!1,value:Pt(e),writable:!0})}:$,Bt=Vr;var qr=It(Bt),Et=qr;var Kr=9007199254740991,Jr=/^(?:0|[1-9]\d*)$/;function Qr(t,e){var r=typeof t;return e=e==null?Kr:e,!!e&&(r=="number"||r!="symbol"&&Jr.test(t))&&t>-1&&t%1==0&&t<e}var q=Qr;function Zr(t,e,r){e=="__proto__"&&S?S(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}var I=Zr;function Xr(t,e){return t===e||t!==t&&e!==e}var O=Xr;var Yr=Object.prototype,to=Yr.hasOwnProperty;function eo(t,e,r){var a=t[e];(!(to.call(t,e)&&O(a,r))||r===void 0&&!(e in t))&&I(t,e,r)}var Dt=eo;function ro(t,e,r,a){var f=!r;r||(r={});for(var u=-1,s=e.length;++u<s;){var i=e[u],o=a?a(r[i],t[i],i,r,t):void 0;o===void 0&&(o=t[i]),f?I(r,i,o):Dt(r,i,o)}return r}var Mt=ro;var Lt=Math.max;function oo(t,e,r){return e=Lt(e===void 0?t.length-1:e,0),function(){for(var a=arguments,f=-1,u=Lt(a.length-e,0),s=Array(u);++f<u;)s[f]=a[e+f];f=-1;for(var i=Array(e+1);++f<e;)i[f]=a[f];return i[e]=r(s),Ct(t,this,i)}}var Rt=oo;function ao(t,e){return Et(Rt(t,e,$),t+"")}var Ft=ao;var fo=9007199254740991;function so(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=fo}var K=so;function no(t){return t!=null&&K(t.length)&&!T(t)}var P=no;function io(t,e,r){if(!c(r))return!1;var a=typeof e;return(a=="number"?P(r)&&q(e,r.length):a=="string"&&e in r)?O(r[e],t):!1}var Nt=io;function uo(t){return Ft(function(e,r){var a=-1,f=r.length,u=f>1?r[f-1]:void 0,s=f>2?r[2]:void 0;for(u=t.length>3&&typeof u=="function"?(f--,u):void 0,s&&Nt(r[0],r[1],s)&&(u=f<3?void 0:u,f=1),e=Object(e);++a<f;){var i=r[a];i&&t(e,i,a,u)}return e})}var kt=uo;var po=Object.prototype;function lo(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||po;return t===r}var J=lo;function mo(t,e){for(var r=-1,a=Array(t);++r<t;)a[r]=e(r);return a}var Wt=mo;var co="[object Arguments]";function xo(t){return g(t)&&v(t)==co}var rt=xo;var zt=Object.prototype,ho=zt.hasOwnProperty,yo=zt.propertyIsEnumerable,go=rt(function(){return arguments}())?rt:function(t){return g(t)&&ho.call(t,"callee")&&!yo.call(t,"callee")},k=go;function bo(){return!1}var Ut=bo;var $t=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ht=$t&&typeof module=="object"&&module&&!module.nodeType&&module,vo=Ht&&Ht.exports===$t,Gt=vo?h.Buffer:void 0,Oo=Gt?Gt.isBuffer:void 0,Ao=Oo||Ut,Q=Ao;var jo="[object Arguments]",_o="[object Array]",wo="[object Boolean]",To="[object Date]",Co="[object Error]",So="[object Function]",Io="[object Map]",Po="[object Number]",Bo="[object Object]",Eo="[object RegExp]",Do="[object Set]",Mo="[object String]",Lo="[object WeakMap]",Ro="[object ArrayBuffer]",Fo="[object DataView]",No="[object Float32Array]",ko="[object Float64Array]",Wo="[object Int8Array]",zo="[object Int16Array]",Uo="[object Int32Array]",Ho="[object Uint8Array]",Go="[object Uint8ClampedArray]",$o="[object Uint16Array]",Vo="[object Uint32Array]",m={};m[No]=m[ko]=m[Wo]=m[zo]=m[Uo]=m[Ho]=m[Go]=m[$o]=m[Vo]=!0;m[jo]=m[_o]=m[Ro]=m[wo]=m[Fo]=m[To]=m[Co]=m[So]=m[Io]=m[Po]=m[Bo]=m[Eo]=m[Do]=m[Mo]=m[Lo]=!1;function qo(t){return g(t)&&K(t.length)&&!!m[v(t)]}var Vt=qo;function Ko(t){return function(e){return t(e)}}var qt=Ko;var Kt=typeof exports=="object"&&exports&&!exports.nodeType&&exports,W=Kt&&typeof module=="object"&&module&&!module.nodeType&&module,Jo=W&&W.exports===Kt,ot=Jo&&G.process,Qo=function(){try{var t=W&&W.require&&W.require("util").types;return t||ot&&ot.binding&&ot.binding("util")}catch(e){}}(),at=Qo;var Jt=at&&at.isTypedArray,Zo=Jt?qt(Jt):Vt,Z=Zo;var Xo=Object.prototype,Yo=Xo.hasOwnProperty;function ta(t,e){var r=N(t),a=!r&&k(t),f=!r&&!a&&Q(t),u=!r&&!a&&!f&&Z(t),s=r||a||f||u,i=s?Wt(t.length,String):[],o=i.length;for(var n in t)(e||Yo.call(t,n))&&!(s&&(n=="length"||f&&(n=="offset"||n=="parent")||u&&(n=="buffer"||n=="byteLength"||n=="byteOffset")||q(n,o)))&&i.push(n);return i}var Qt=ta;function ea(t,e){return function(r){return t(e(r))}}var Zt=ea;function ra(t){var e=[];if(t!=null)for(var r in Object(t))e.push(r);return e}var Xt=ra;var oa=Object.prototype,aa=oa.hasOwnProperty;function fa(t){if(!c(t))return Xt(t);var e=J(t),r=[];for(var a in t)a=="constructor"&&(e||!aa.call(t,a))||r.push(a);return r}var Yt=fa;function sa(t){return P(t)?Qt(t,!0):Yt(t)}var X=sa;var na=C(Object,"create"),b=na;function ia(){this.__data__=b?b(null):{},this.size=0}var te=ia;function ua(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var ee=ua;var pa="__lodash_hash_undefined__",la=Object.prototype,ma=la.hasOwnProperty;function da(t){var e=this.__data__;if(b){var r=e[t];return r===pa?void 0:r}return ma.call(e,t)?e[t]:void 0}var re=da;var ca=Object.prototype,xa=ca.hasOwnProperty;function ha(t){var e=this.__data__;return b?e[t]!==void 0:xa.call(e,t)}var oe=ha;var ya="__lodash_hash_undefined__";function ga(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=b&&e===void 0?ya:e,this}var ae=ga;function B(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var a=t[e];this.set(a[0],a[1])}}B.prototype.clear=te;B.prototype.delete=ee;B.prototype.get=re;B.prototype.has=oe;B.prototype.set=ae;var ft=B;function ba(){this.__data__=[],this.size=0}var fe=ba;function va(t,e){for(var r=t.length;r--;)if(O(t[r][0],e))return r;return-1}var A=va;var Oa=Array.prototype,Aa=Oa.splice;function ja(t){var e=this.__data__,r=A(e,t);if(r<0)return!1;var a=e.length-1;return r==a?e.pop():Aa.call(e,r,1),--this.size,!0}var se=ja;function _a(t){var e=this.__data__,r=A(e,t);return r<0?void 0:e[r][1]}var ne=_a;function wa(t){return A(this.__data__,t)>-1}var ie=wa;function Ta(t,e){var r=this.__data__,a=A(r,t);return a<0?(++this.size,r.push([t,e])):r[a][1]=e,this}var ue=Ta;function E(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var a=t[e];this.set(a[0],a[1])}}E.prototype.clear=fe;E.prototype.delete=se;E.prototype.get=ne;E.prototype.has=ie;E.prototype.set=ue;var j=E;var Ca=C(h,"Map"),Y=Ca;function Sa(){this.size=0,this.__data__={hash:new ft,map:new(Y||j),string:new ft}}var pe=Sa;function Ia(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var le=Ia;function Pa(t,e){var r=t.__data__;return le(e)?r[typeof e=="string"?"string":"hash"]:r.map}var _=Pa;function Ba(t){var e=_(this,t).delete(t);return this.size-=e?1:0,e}var me=Ba;function Ea(t){return _(this,t).get(t)}var de=Ea;function Da(t){return _(this,t).has(t)}var ce=Da;function Ma(t,e){var r=_(this,t),a=r.size;return r.set(t,e),this.size+=r.size==a?0:1,this}var xe=Ma;function D(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var a=t[e];this.set(a[0],a[1])}}D.prototype.clear=pe;D.prototype.delete=me;D.prototype.get=de;D.prototype.has=ce;D.prototype.set=xe;var he=D;var La=Zt(Object.getPrototypeOf,Object),tt=La;var Ra="[object Object]",Fa=Function.prototype,Na=Object.prototype,ye=Fa.toString,ka=Na.hasOwnProperty,Wa=ye.call(Object);function za(t){if(!g(t)||v(t)!=Ra)return!1;var e=tt(t);if(e===null)return!0;var r=ka.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&ye.call(r)==Wa}var ge=za;function Ua(){this.__data__=new j,this.size=0}var be=Ua;function Ha(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var ve=Ha;function Ga(t){return this.__data__.get(t)}var Oe=Ga;function $a(t){return this.__data__.has(t)}var Ae=$a;var Va=200;function qa(t,e){var r=this.__data__;if(r instanceof j){var a=r.__data__;if(!Y||a.length<Va-1)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new he(a)}return r.set(t,e),this.size=r.size,this}var je=qa;function M(t){var e=this.__data__=new j(t);this.size=e.size}M.prototype.clear=be;M.prototype.delete=ve;M.prototype.get=Oe;M.prototype.has=Ae;M.prototype.set=je;var _e=M;var Se=typeof exports=="object"&&exports&&!exports.nodeType&&exports,we=Se&&typeof module=="object"&&module&&!module.nodeType&&module,Ka=we&&we.exports===Se,Te=Ka?h.Buffer:void 0,Ce=Te?Te.allocUnsafe:void 0;function Ja(t,e){if(e)return t.slice();var r=t.length,a=Ce?Ce(r):new t.constructor(r);return t.copy(a),a}var Ie=Ja;var Qa=h.Uint8Array,st=Qa;function Za(t){var e=new t.constructor(t.byteLength);return new st(e).set(new st(t)),e}var Pe=Za;function Xa(t,e){var r=e?Pe(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}var Be=Xa;function Ya(t){return typeof t.constructor=="function"&&!J(t)?Tt(tt(t)):{}}var Ee=Ya;function tf(t){return function(e,r,a){for(var f=-1,u=Object(e),s=a(e),i=s.length;i--;){var o=s[t?i:++f];if(r(u[o],o,u)===!1)break}return e}}var De=tf;var ef=De(),Me=ef;function rf(t,e,r){(r!==void 0&&!O(t[e],r)||r===void 0&&!(e in t))&&I(t,e,r)}var z=rf;function of(t){return g(t)&&P(t)}var Le=of;function af(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var U=af;function ff(t){return Mt(t,X(t))}var Re=ff;function sf(t,e,r,a,f,u,s){var i=U(t,r),o=U(e,r),n=s.get(o);if(n){z(t,r,n);return}var l=u?u(i,o,r+"",t,e,s):void 0,p=l===void 0;if(p){var d=N(o),y=!d&&Q(o),x=!d&&!y&&Z(o);l=o,d||y||x?N(i)?l=i:Le(i)?l=St(i):y?(p=!1,l=Ie(o,!0)):x?(p=!1,l=Be(o,!0)):l=[]:ge(o)||k(o)?(l=i,k(i)?l=Re(i):(!c(i)||T(i))&&(l=Ee(o))):p=!1}p&&(s.set(o,l),f(l,o,a,u,s),s.delete(o)),z(t,r,l)}var Fe=sf;function Ne(t,e,r,a,f){t!==e&&Me(e,function(u,s){if(f||(f=new _e),c(u))Fe(t,e,s,r,Ne,a,f);else{var i=a?a(U(t,s),u,s+"",t,e,f):void 0;i===void 0&&(i=u),z(t,s,i)}},X)}var ke=Ne;var nf=kt(function(t,e,r){ke(t,e,r)}),nt=nf;var Ge=xt(it(),1);var ze=xt(it(),1);var Zu=(0,ze.default)();function H(t){if(t==null||typeof t!="object")return!1;let e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null?!1:!(Symbol.iterator in t)&&!(Symbol.toStringTag in t)}var Ue="7.0.22";var He=(0,Ge.default)(),mf=Ue,$e={flattenArraysContainingStringsToBeEmpty:!1};function ut(t,e){function r(o){return o.some(n=>typeof n=="string")}let a=et(et({},$e),e),f=He(t),u,s,i;if(Array.isArray(f)){if(a.flattenArraysContainingStringsToBeEmpty&&r(f))return[];u=null,s={},i=0;for(let o=0,n=f.length;o<n;o++)H(f[o])&&(s=nt(s,f[o]),u===null?(u=!0,i=o):(f.splice(o,1),o-=1));u!==null&&(f[i]=He(s))}return H(f)?Object.keys(f).forEach(o=>{(H(f[o])||Array.isArray(f[o]))&&(f[o]=ut(f[o],a))}):Array.isArray(f)&&f.forEach((o,n)=>{(H(f[n])||Array.isArray(f[n]))&&(f[n]=ut(f[n],a))}),f}return Ye(df);})();
11
11
  /**
12
12
  * @name codsen-utils
13
13
  * @fileoverview Various utility functions
14
- * @version 1.6.4
14
+ * @version 1.6.7
15
15
  * @author Roy Revelt, Codsen Ltd
16
16
  * @license MIT
17
17
  * {@link https://codsen.com/os/codsen-utils/}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "object-flatten-all-arrays",
3
- "version": "7.0.18",
3
+ "version": "7.0.22",
4
4
  "description": "Merge and flatten any arrays found in all values within plain objects",
5
5
  "keywords": [
6
6
  "arrays",
@@ -18,7 +18,7 @@
18
18
  "homepage": "https://codsen.com/os/object-flatten-all-arrays",
19
19
  "repository": {
20
20
  "type": "git",
21
- "url": "https://github.com/codsen/codsen.git",
21
+ "url": "git+https://github.com/codsen/codsen.git",
22
22
  "directory": "packages/object-flatten-all-arrays"
23
23
  },
24
24
  "license": "MIT",
@@ -44,7 +44,7 @@
44
44
  "examples": "node '../../ops/scripts/run-examples.js'",
45
45
  "lect": "node '../../ops/lect/lect.js' && npm run prettier -- 'README.md' '.all-contributorsrc' 'rollup.config.js' --write",
46
46
  "letspublish": "npm publish || :",
47
- "lint": "eslint . --ext .js --ext .ts --fix",
47
+ "lint": "eslint . --fix",
48
48
  "perf": "node perf/check.js",
49
49
  "prep": "echo 'ready'",
50
50
  "prettier": "prettier",
@@ -72,8 +72,8 @@
72
72
  },
73
73
  "dependencies": {
74
74
  "@types/lodash-es": "^4.17.12",
75
- "codsen-utils": "^1.6.4",
75
+ "codsen-utils": "^1.6.7",
76
76
  "lodash-es": "^4.17.21",
77
- "rfdc": "^1.3.1"
77
+ "rfdc": "^1.4.1"
78
78
  }
79
79
  }