object-set-all-values-to 5.1.1 → 5.1.2
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
|
@@ -54,64 +54,64 @@ Accidental version bump during migration to sourcehut. Sorry about that.
|
|
|
54
54
|
|
|
55
55
|
## 3.9.0 (2019-01-20)
|
|
56
56
|
|
|
57
|
-
-
|
|
58
|
-
-
|
|
57
|
+
- Various documentation and setup tweaks after we migrated to monorepo
|
|
58
|
+
- Setup refresh: updated dependencies and all config files using automated tools
|
|
59
59
|
|
|
60
60
|
## 3.3.0 (2018-10-24)
|
|
61
61
|
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
-
|
|
62
|
+
- Updated all dependencies
|
|
63
|
+
- Restored coveralls.io reporting
|
|
64
|
+
- Restored unit test linting
|
|
65
65
|
|
|
66
66
|
## 3.2.0 (2018-06-16)
|
|
67
67
|
|
|
68
68
|
GitHub sold us out. In the meantime, we:
|
|
69
69
|
|
|
70
|
-
-
|
|
71
|
-
-
|
|
70
|
+
- Migrated to Bitbucket (to host repo + perform CI) and Codacy (for code quality audit)
|
|
71
|
+
- Dropped BitHound (RIP) and Travis
|
|
72
72
|
|
|
73
73
|
## 3.1.0 (2018-05-26)
|
|
74
74
|
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
75
|
+
- Set up [Prettier](https://prettier.io) on a custom ESLint rule set.
|
|
76
|
+
- Removed `package.lock` and `.editorconfig`
|
|
77
|
+
- Wired Rollup to remove comments from non-dev builds. This means we can now leave the `console.log`s in the source code — there's no need to comment-out `console.log` statements or care about them not spilling into production. Now it's done automatically.
|
|
78
|
+
- Unit tests are pointing at ES modules build, which means that code coverage is correct now, without Babel functions being missed. This is important because now code coverage is real again and now there are no excuses not to perfect it.
|
|
79
79
|
|
|
80
80
|
## 3.0.0 (2017-12-12)
|
|
81
81
|
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
82
|
+
- Rebased in ES Modules
|
|
83
|
+
- Set up Rollup, now we generate three builds: CommonJS, UMD and ES Modules. WebPack and Rollup should recognise ES Modules build when this library is consumed as a dependency.
|
|
84
|
+
- Whole setup overhaul and deps update
|
|
85
85
|
|
|
86
86
|
## 2.0.0 (2017-03-16)
|
|
87
87
|
|
|
88
|
-
-
|
|
88
|
+
- Now, this library does not mutate the input arguments. Yes, I know, it should have been done from the beginning, but hey, everybody's learning. This warrants a major semver bump. Otherwise, no changes in functionality.
|
|
89
89
|
|
|
90
90
|
## 1.3.0 (2017-02-17)
|
|
91
91
|
|
|
92
|
-
-
|
|
93
|
-
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
92
|
+
- Add Table of Contents to README
|
|
93
|
+
- Requesting deps version ranges more bravely, latest no matter what
|
|
94
|
+
- Updated company's name
|
|
95
|
+
- Updated BitHound config
|
|
96
|
+
- Added extension to CHANGELOG
|
|
97
97
|
|
|
98
98
|
## 1.2.0 (2016-12-23)
|
|
99
99
|
|
|
100
|
-
-
|
|
100
|
+
- Add precommit hooks for JS Standard
|
|
101
101
|
|
|
102
102
|
## 1.1.2 (2016-12-21)
|
|
103
103
|
|
|
104
|
-
-
|
|
104
|
+
- Add coverage badge
|
|
105
105
|
|
|
106
106
|
## 1.1.1 (2016-12-21)
|
|
107
107
|
|
|
108
|
-
-
|
|
108
|
+
- Now git-ignoring `.nyc_output` folder.
|
|
109
109
|
|
|
110
110
|
## 1.1.0 (2016-12-21)
|
|
111
111
|
|
|
112
|
-
-
|
|
113
|
-
-
|
|
112
|
+
- Add coveralls
|
|
113
|
+
- Add this changelog
|
|
114
114
|
|
|
115
115
|
## 1.0.0 (2016-12-02)
|
|
116
116
|
|
|
117
|
-
-
|
|
117
|
+
- First public release
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @name object-set-all-values-to
|
|
3
3
|
* @fileoverview Recursively walk the input and set all found values in plain objects to something
|
|
4
|
-
* @version 5.1.
|
|
4
|
+
* @version 5.1.2
|
|
5
5
|
* @author Roy Revelt, Codsen Ltd
|
|
6
6
|
* @license MIT
|
|
7
7
|
* {@link https://codsen.com/os/object-set-all-values-to/}
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import i from"lodash.clonedeep";import o from"lodash.isplainobject";var l="5.1.
|
|
10
|
+
import i from"lodash.clonedeep";import o from"lodash.isplainobject";var l="5.1.2";var h=l;function a(p,r){let t,e=i(p);return arguments.length<2?t=!1:o(r)||Array.isArray(r)?t=i(r):t=r,Array.isArray(e)?e.forEach((s,n)=>{(o(e[n])||Array.isArray(e[n]))&&(e[n]=a(e[n],t))}):o(e)&&Object.keys(e).forEach(s=>{Array.isArray(e[s])||o(e[s])?e[s]=a(e[s],t):e[s]=t}),e}export{a as setAllValuesTo,h as version};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @name object-set-all-values-to
|
|
3
3
|
* @fileoverview Recursively walk the input and set all found values in plain objects to something
|
|
4
|
-
* @version 5.1.
|
|
4
|
+
* @version 5.1.2
|
|
5
5
|
* @author Roy Revelt, Codsen Ltd
|
|
6
6
|
* @license MIT
|
|
7
7
|
* {@link https://codsen.com/os/object-set-all-values-to/}
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
"use strict";var objectSetAllValuesTo=(()=>{var Qt=Object.create;var T=Object.defineProperty;var zt=Object.getOwnPropertyDescriptor;var kt=Object.getOwnPropertyNames;var te=Object.getPrototypeOf,ee=Object.prototype.hasOwnProperty;var et=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),re=(t,e)=>{for(var r in e)T(t,r,{get:e[r],enumerable:!0})},rt=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of kt(e))!ee.call(t,o)&&o!==r&&T(t,o,{get:()=>e[o],enumerable:!(n=zt(e,o))||n.enumerable});return t};var nt=(t,e,r)=>(r=t!=null?Qt(te(t)):{},rt(e||!t||!t.__esModule?T(r,"default",{value:t,enumerable:!0}):r,t)),ne=t=>rt(T({},"__esModule",{value:!0}),t);var Wt=et((v,y)=>{var oe=200,gt="__lodash_hash_undefined__",yt=9007199254740991,K="[object Arguments]",ae="[object Array]",bt="[object Boolean]",_t="[object Date]",ie="[object Error]",N="[object Function]",jt="[object GeneratorFunction]",x="[object Map]",vt="[object Number]",V="[object Object]",ot="[object Promise]",mt="[object RegExp]",S="[object Set]",wt="[object String]",At="[object Symbol]",D="[object WeakMap]",Ot="[object ArrayBuffer]",C="[object DataView]",Tt="[object Float32Array]",xt="[object Float64Array]",St="[object Int8Array]",Ct="[object Int16Array]",Et="[object Int32Array]",Pt="[object Uint8Array]",It="[object Uint8ClampedArray]",Mt="[object Uint16Array]",Rt="[object Uint32Array]",se=/[\\^$.*+?()[\]{}|]/g,ce=/\w*$/,ue=/^\[object .+?Constructor\]$/,fe=/^(?:0|[1-9]\d*)$/,a={};a[K]=a[ae]=a[Ot]=a[C]=a[bt]=a[_t]=a[Tt]=a[xt]=a[St]=a[Ct]=a[Et]=a[x]=a[vt]=a[V]=a[mt]=a[S]=a[wt]=a[At]=a[Pt]=a[It]=a[Mt]=a[Rt]=!0;a[ie]=a[N]=a[D]=!1;var le=typeof global=="object"&&global&&global.Object===Object&&global,pe=typeof self=="object"&&self&&self.Object===Object&&self,u=le||pe||Function("return this")(),Gt=typeof v=="object"&&v&&!v.nodeType&&v,at=Gt&&typeof y=="object"&&y&&!y.nodeType&&y,de=at&&at.exports===Gt;function he(t,e){return t.set(e[0],e[1]),t}function ge(t,e){return t.add(e),t}function ye(t,e){for(var r=-1,n=t?t.length:0;++r<n&&e(t[r],r,t)!==!1;);return t}function be(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}function Bt(t,e,r,n){var o=-1,i=t?t.length:0;for(n&&i&&(r=t[++o]);++o<i;)r=e(r,t[o],o,t);return r}function _e(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}function je(t,e){return t==null?void 0:t[e]}function Dt(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch(r){}return e}function it(t){var e=-1,r=Array(t.size);return t.forEach(function(n,o){r[++e]=[o,n]}),r}function W(t,e){return function(r){return t(e(r))}}function st(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var ve=Array.prototype,me=Function.prototype,E=Object.prototype,B=u["__core-js_shared__"],ct=function(){var t=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ht=me.toString,l=E.hasOwnProperty,P=E.toString,we=RegExp("^"+Ht.call(l).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ut=de?u.Buffer:void 0,ft=u.Symbol,lt=u.Uint8Array,Ae=W(Object.getPrototypeOf,Object),Oe=Object.create,Te=E.propertyIsEnumerable,xe=ve.splice,pt=Object.getOwnPropertySymbols,Se=ut?ut.isBuffer:void 0,Ce=W(Object.keys,Object),H=j(u,"DataView"),m=j(u,"Map"),L=j(u,"Promise"),F=j(u,"Set"),U=j(u,"WeakMap"),w=j(Object,"create"),Ee=h(H),Pe=h(m),Ie=h(L),Me=h(F),Re=h(U),dt=ft?ft.prototype:void 0,ht=dt?dt.valueOf:void 0;function d(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 Ge(){this.__data__=w?w(null):{}}function Be(t){return this.has(t)&&delete this.__data__[t]}function De(t){var e=this.__data__;if(w){var r=e[t];return r===gt?void 0:r}return l.call(e,t)?e[t]:void 0}function He(t){var e=this.__data__;return w?e[t]!==void 0:l.call(e,t)}function Le(t,e){var r=this.__data__;return r[t]=w&&e===void 0?gt:e,this}d.prototype.clear=Ge;d.prototype.delete=Be;d.prototype.get=De;d.prototype.has=He;d.prototype.set=Le;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 Fe(){this.__data__=[]}function Ue(t){var e=this.__data__,r=I(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():xe.call(e,r,1),!0}function $e(t){var e=this.__data__,r=I(e,t);return r<0?void 0:e[r][1]}function Ke(t){return I(this.__data__,t)>-1}function Ne(t,e){var r=this.__data__,n=I(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}f.prototype.clear=Fe;f.prototype.delete=Ue;f.prototype.get=$e;f.prototype.has=Ke;f.prototype.set=Ne;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 Ve(){this.__data__={hash:new d,map:new(m||f),string:new d}}function We(t){return M(this,t).delete(t)}function qe(t){return M(this,t).get(t)}function Je(t){return M(this,t).has(t)}function Xe(t,e){return M(this,t).set(t,e),this}b.prototype.clear=Ve;b.prototype.delete=We;b.prototype.get=qe;b.prototype.has=Je;b.prototype.set=Xe;function _(t){this.__data__=new f(t)}function Ye(){this.__data__=new f}function Ze(t){return this.__data__.delete(t)}function Qe(t){return this.__data__.get(t)}function ze(t){return this.__data__.has(t)}function ke(t,e){var r=this.__data__;if(r instanceof f){var n=r.__data__;if(!m||n.length<oe-1)return n.push([t,e]),this;r=this.__data__=new b(n)}return r.set(t,e),this}_.prototype.clear=Ye;_.prototype.delete=Ze;_.prototype.get=Qe;_.prototype.has=ze;_.prototype.set=ke;function tr(t,e){var r=J(t)||Or(t)?_e(t.length,String):[],n=r.length,o=!!n;for(var i in t)(e||l.call(t,i))&&!(o&&(i=="length"||vr(i,n)))&&r.push(i);return r}function Lt(t,e,r){var n=t[e];(!(l.call(t,e)&&Kt(n,r))||r===void 0&&!(e in t))&&(t[e]=r)}function I(t,e){for(var r=t.length;r--;)if(Kt(t[r][0],e))return r;return-1}function er(t,e){return t&&Ft(e,X(e),t)}function $(t,e,r,n,o,i,c){var s;if(n&&(s=i?n(t,o,i,c):n(t)),s!==void 0)return s;if(!R(t))return t;var Q=J(t);if(Q){if(s=br(t),!e)return hr(t,s)}else{var g=p(t),z=g==N||g==jt;if(xr(t))return sr(t,e);if(g==V||g==K||z&&!i){if(Dt(t))return i?t:{};if(s=_r(z?{}:t),!e)return gr(t,er(s,t))}else{if(!a[g])return i?t:{};s=jr(t,g,$,e)}}c||(c=new _);var k=c.get(t);if(k)return k;if(c.set(t,s),!Q)var tt=r?yr(t):X(t);return ye(tt||t,function(G,O){tt&&(O=G,G=t[O]),Lt(s,O,$(G,e,r,n,O,t,c))}),s}function rr(t){return R(t)?Oe(t):{}}function nr(t,e,r){var n=e(t);return J(t)?n:be(n,r(t))}function or(t){return P.call(t)}function ar(t){if(!R(t)||wr(t))return!1;var e=Vt(t)||Dt(t)?we:ue;return e.test(h(t))}function ir(t){if(!$t(t))return Ce(t);var e=[];for(var r in Object(t))l.call(t,r)&&r!="constructor"&&e.push(r);return e}function sr(t,e){if(e)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}function q(t){var e=new t.constructor(t.byteLength);return new lt(e).set(new lt(t)),e}function cr(t,e){var r=e?q(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}function ur(t,e,r){var n=e?r(it(t),!0):it(t);return Bt(n,he,new t.constructor)}function fr(t){var e=new t.constructor(t.source,ce.exec(t));return e.lastIndex=t.lastIndex,e}function lr(t,e,r){var n=e?r(st(t),!0):st(t);return Bt(n,ge,new t.constructor)}function pr(t){return ht?Object(ht.call(t)):{}}function dr(t,e){var r=e?q(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function hr(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}function Ft(t,e,r,n){r||(r={});for(var o=-1,i=e.length;++o<i;){var c=e[o],s=n?n(r[c],t[c],c,r,t):void 0;Lt(r,c,s===void 0?t[c]:s)}return r}function gr(t,e){return Ft(t,Ut(t),e)}function yr(t){return nr(t,X,Ut)}function M(t,e){var r=t.__data__;return mr(e)?r[typeof e=="string"?"string":"hash"]:r.map}function j(t,e){var r=je(t,e);return ar(r)?r:void 0}var Ut=pt?W(pt,Object):Er,p=or;(H&&p(new H(new ArrayBuffer(1)))!=C||m&&p(new m)!=x||L&&p(L.resolve())!=ot||F&&p(new F)!=S||U&&p(new U)!=D)&&(p=function(t){var e=P.call(t),r=e==V?t.constructor:void 0,n=r?h(r):void 0;if(n)switch(n){case Ee:return C;case Pe:return x;case Ie:return ot;case Me:return S;case Re:return D}return e});function br(t){var e=t.length,r=t.constructor(e);return e&&typeof t[0]=="string"&&l.call(t,"index")&&(r.index=t.index,r.input=t.input),r}function _r(t){return typeof t.constructor=="function"&&!$t(t)?rr(Ae(t)):{}}function jr(t,e,r,n){var o=t.constructor;switch(e){case Ot:return q(t);case bt:case _t:return new o(+t);case C:return cr(t,n);case Tt:case xt:case St:case Ct:case Et:case Pt:case It:case Mt:case Rt:return dr(t,n);case x:return ur(t,n,r);case vt:case wt:return new o(t);case mt:return fr(t);case S:return lr(t,n,r);case At:return pr(t)}}function vr(t,e){return e=e==null?yt:e,!!e&&(typeof t=="number"||fe.test(t))&&t>-1&&t%1==0&&t<e}function mr(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function wr(t){return!!ct&&ct in t}function $t(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||E;return t===r}function h(t){if(t!=null){try{return Ht.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Ar(t){return $(t,!0,!0)}function Kt(t,e){return t===e||t!==t&&e!==e}function Or(t){return Tr(t)&&l.call(t,"callee")&&(!Te.call(t,"callee")||P.call(t)==K)}var J=Array.isArray;function Nt(t){return t!=null&&Sr(t.length)&&!Vt(t)}function Tr(t){return Cr(t)&&Nt(t)}var xr=Se||Pr;function Vt(t){var e=R(t)?P.call(t):"";return e==N||e==jt}function Sr(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=yt}function R(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Cr(t){return!!t&&typeof t=="object"}function X(t){return Nt(t)?tr(t):ir(t)}function Er(){return[]}function Pr(){return!1}y.exports=Ar});var Yt=et((Wr,Xt)=>{var Ir="[object Object]";function Mr(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch(r){}return e}function Rr(t,e){return function(r){return t(e(r))}}var Gr=Function.prototype,qt=Object.prototype,Jt=Gr.toString,Br=qt.hasOwnProperty,Dr=Jt.call(Object),Hr=qt.toString,Lr=Rr(Object.getPrototypeOf,Object);function Fr(t){return!!t&&typeof t=="object"}function Ur(t){if(!Fr(t)||Hr.call(t)!=Ir||Mr(t))return!1;var e=Lr(t);if(e===null)return!0;var r=Br.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Jt.call(r)==Dr}Xt.exports=Ur});var Nr={};re(Nr,{setAllValuesTo:()=>Z,version:()=>Kr});var Y=nt(Wt(),1),A=nt(Yt(),1);var Zt="5.1.1";var Kr=Zt;function Z(t,e){let r,n=(0,Y.default)(t);return arguments.length<2?r=!1:(0,A.default)(e)||Array.isArray(e)?r=(0,Y.default)(e):r=e,Array.isArray(n)?n.forEach((o,i)=>{((0,A.default)(n[i])||Array.isArray(n[i]))&&(n[i]=Z(n[i],r))}):(0,A.default)(n)&&Object.keys(n).forEach(o=>{Array.isArray(n[o])||(0,A.default)(n[o])?n[o]=Z(n[o],r):n[o]=r}),n}return ne(Nr);})();
|
|
10
|
+
"use strict";var objectSetAllValuesTo=(()=>{var Qt=Object.create;var T=Object.defineProperty;var zt=Object.getOwnPropertyDescriptor;var kt=Object.getOwnPropertyNames;var te=Object.getPrototypeOf,ee=Object.prototype.hasOwnProperty;var et=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),re=(t,e)=>{for(var r in e)T(t,r,{get:e[r],enumerable:!0})},rt=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of kt(e))!ee.call(t,o)&&o!==r&&T(t,o,{get:()=>e[o],enumerable:!(n=zt(e,o))||n.enumerable});return t};var nt=(t,e,r)=>(r=t!=null?Qt(te(t)):{},rt(e||!t||!t.__esModule?T(r,"default",{value:t,enumerable:!0}):r,t)),ne=t=>rt(T({},"__esModule",{value:!0}),t);var Wt=et((v,y)=>{var oe=200,gt="__lodash_hash_undefined__",yt=9007199254740991,K="[object Arguments]",ae="[object Array]",bt="[object Boolean]",_t="[object Date]",ie="[object Error]",N="[object Function]",jt="[object GeneratorFunction]",x="[object Map]",vt="[object Number]",V="[object Object]",ot="[object Promise]",mt="[object RegExp]",S="[object Set]",wt="[object String]",At="[object Symbol]",D="[object WeakMap]",Ot="[object ArrayBuffer]",C="[object DataView]",Tt="[object Float32Array]",xt="[object Float64Array]",St="[object Int8Array]",Ct="[object Int16Array]",Et="[object Int32Array]",Pt="[object Uint8Array]",It="[object Uint8ClampedArray]",Mt="[object Uint16Array]",Rt="[object Uint32Array]",se=/[\\^$.*+?()[\]{}|]/g,ce=/\w*$/,ue=/^\[object .+?Constructor\]$/,fe=/^(?:0|[1-9]\d*)$/,a={};a[K]=a[ae]=a[Ot]=a[C]=a[bt]=a[_t]=a[Tt]=a[xt]=a[St]=a[Ct]=a[Et]=a[x]=a[vt]=a[V]=a[mt]=a[S]=a[wt]=a[At]=a[Pt]=a[It]=a[Mt]=a[Rt]=!0;a[ie]=a[N]=a[D]=!1;var le=typeof global=="object"&&global&&global.Object===Object&&global,pe=typeof self=="object"&&self&&self.Object===Object&&self,u=le||pe||Function("return this")(),Gt=typeof v=="object"&&v&&!v.nodeType&&v,at=Gt&&typeof y=="object"&&y&&!y.nodeType&&y,de=at&&at.exports===Gt;function he(t,e){return t.set(e[0],e[1]),t}function ge(t,e){return t.add(e),t}function ye(t,e){for(var r=-1,n=t?t.length:0;++r<n&&e(t[r],r,t)!==!1;);return t}function be(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}function Bt(t,e,r,n){var o=-1,i=t?t.length:0;for(n&&i&&(r=t[++o]);++o<i;)r=e(r,t[o],o,t);return r}function _e(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}function je(t,e){return t==null?void 0:t[e]}function Dt(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch(r){}return e}function it(t){var e=-1,r=Array(t.size);return t.forEach(function(n,o){r[++e]=[o,n]}),r}function W(t,e){return function(r){return t(e(r))}}function st(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var ve=Array.prototype,me=Function.prototype,E=Object.prototype,B=u["__core-js_shared__"],ct=function(){var t=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ht=me.toString,l=E.hasOwnProperty,P=E.toString,we=RegExp("^"+Ht.call(l).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ut=de?u.Buffer:void 0,ft=u.Symbol,lt=u.Uint8Array,Ae=W(Object.getPrototypeOf,Object),Oe=Object.create,Te=E.propertyIsEnumerable,xe=ve.splice,pt=Object.getOwnPropertySymbols,Se=ut?ut.isBuffer:void 0,Ce=W(Object.keys,Object),H=j(u,"DataView"),m=j(u,"Map"),L=j(u,"Promise"),F=j(u,"Set"),U=j(u,"WeakMap"),w=j(Object,"create"),Ee=h(H),Pe=h(m),Ie=h(L),Me=h(F),Re=h(U),dt=ft?ft.prototype:void 0,ht=dt?dt.valueOf:void 0;function d(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 Ge(){this.__data__=w?w(null):{}}function Be(t){return this.has(t)&&delete this.__data__[t]}function De(t){var e=this.__data__;if(w){var r=e[t];return r===gt?void 0:r}return l.call(e,t)?e[t]:void 0}function He(t){var e=this.__data__;return w?e[t]!==void 0:l.call(e,t)}function Le(t,e){var r=this.__data__;return r[t]=w&&e===void 0?gt:e,this}d.prototype.clear=Ge;d.prototype.delete=Be;d.prototype.get=De;d.prototype.has=He;d.prototype.set=Le;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 Fe(){this.__data__=[]}function Ue(t){var e=this.__data__,r=I(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():xe.call(e,r,1),!0}function $e(t){var e=this.__data__,r=I(e,t);return r<0?void 0:e[r][1]}function Ke(t){return I(this.__data__,t)>-1}function Ne(t,e){var r=this.__data__,n=I(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}f.prototype.clear=Fe;f.prototype.delete=Ue;f.prototype.get=$e;f.prototype.has=Ke;f.prototype.set=Ne;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 Ve(){this.__data__={hash:new d,map:new(m||f),string:new d}}function We(t){return M(this,t).delete(t)}function qe(t){return M(this,t).get(t)}function Je(t){return M(this,t).has(t)}function Xe(t,e){return M(this,t).set(t,e),this}b.prototype.clear=Ve;b.prototype.delete=We;b.prototype.get=qe;b.prototype.has=Je;b.prototype.set=Xe;function _(t){this.__data__=new f(t)}function Ye(){this.__data__=new f}function Ze(t){return this.__data__.delete(t)}function Qe(t){return this.__data__.get(t)}function ze(t){return this.__data__.has(t)}function ke(t,e){var r=this.__data__;if(r instanceof f){var n=r.__data__;if(!m||n.length<oe-1)return n.push([t,e]),this;r=this.__data__=new b(n)}return r.set(t,e),this}_.prototype.clear=Ye;_.prototype.delete=Ze;_.prototype.get=Qe;_.prototype.has=ze;_.prototype.set=ke;function tr(t,e){var r=J(t)||Or(t)?_e(t.length,String):[],n=r.length,o=!!n;for(var i in t)(e||l.call(t,i))&&!(o&&(i=="length"||vr(i,n)))&&r.push(i);return r}function Lt(t,e,r){var n=t[e];(!(l.call(t,e)&&Kt(n,r))||r===void 0&&!(e in t))&&(t[e]=r)}function I(t,e){for(var r=t.length;r--;)if(Kt(t[r][0],e))return r;return-1}function er(t,e){return t&&Ft(e,X(e),t)}function $(t,e,r,n,o,i,c){var s;if(n&&(s=i?n(t,o,i,c):n(t)),s!==void 0)return s;if(!R(t))return t;var Q=J(t);if(Q){if(s=br(t),!e)return hr(t,s)}else{var g=p(t),z=g==N||g==jt;if(xr(t))return sr(t,e);if(g==V||g==K||z&&!i){if(Dt(t))return i?t:{};if(s=_r(z?{}:t),!e)return gr(t,er(s,t))}else{if(!a[g])return i?t:{};s=jr(t,g,$,e)}}c||(c=new _);var k=c.get(t);if(k)return k;if(c.set(t,s),!Q)var tt=r?yr(t):X(t);return ye(tt||t,function(G,O){tt&&(O=G,G=t[O]),Lt(s,O,$(G,e,r,n,O,t,c))}),s}function rr(t){return R(t)?Oe(t):{}}function nr(t,e,r){var n=e(t);return J(t)?n:be(n,r(t))}function or(t){return P.call(t)}function ar(t){if(!R(t)||wr(t))return!1;var e=Vt(t)||Dt(t)?we:ue;return e.test(h(t))}function ir(t){if(!$t(t))return Ce(t);var e=[];for(var r in Object(t))l.call(t,r)&&r!="constructor"&&e.push(r);return e}function sr(t,e){if(e)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}function q(t){var e=new t.constructor(t.byteLength);return new lt(e).set(new lt(t)),e}function cr(t,e){var r=e?q(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}function ur(t,e,r){var n=e?r(it(t),!0):it(t);return Bt(n,he,new t.constructor)}function fr(t){var e=new t.constructor(t.source,ce.exec(t));return e.lastIndex=t.lastIndex,e}function lr(t,e,r){var n=e?r(st(t),!0):st(t);return Bt(n,ge,new t.constructor)}function pr(t){return ht?Object(ht.call(t)):{}}function dr(t,e){var r=e?q(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function hr(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}function Ft(t,e,r,n){r||(r={});for(var o=-1,i=e.length;++o<i;){var c=e[o],s=n?n(r[c],t[c],c,r,t):void 0;Lt(r,c,s===void 0?t[c]:s)}return r}function gr(t,e){return Ft(t,Ut(t),e)}function yr(t){return nr(t,X,Ut)}function M(t,e){var r=t.__data__;return mr(e)?r[typeof e=="string"?"string":"hash"]:r.map}function j(t,e){var r=je(t,e);return ar(r)?r:void 0}var Ut=pt?W(pt,Object):Er,p=or;(H&&p(new H(new ArrayBuffer(1)))!=C||m&&p(new m)!=x||L&&p(L.resolve())!=ot||F&&p(new F)!=S||U&&p(new U)!=D)&&(p=function(t){var e=P.call(t),r=e==V?t.constructor:void 0,n=r?h(r):void 0;if(n)switch(n){case Ee:return C;case Pe:return x;case Ie:return ot;case Me:return S;case Re:return D}return e});function br(t){var e=t.length,r=t.constructor(e);return e&&typeof t[0]=="string"&&l.call(t,"index")&&(r.index=t.index,r.input=t.input),r}function _r(t){return typeof t.constructor=="function"&&!$t(t)?rr(Ae(t)):{}}function jr(t,e,r,n){var o=t.constructor;switch(e){case Ot:return q(t);case bt:case _t:return new o(+t);case C:return cr(t,n);case Tt:case xt:case St:case Ct:case Et:case Pt:case It:case Mt:case Rt:return dr(t,n);case x:return ur(t,n,r);case vt:case wt:return new o(t);case mt:return fr(t);case S:return lr(t,n,r);case At:return pr(t)}}function vr(t,e){return e=e==null?yt:e,!!e&&(typeof t=="number"||fe.test(t))&&t>-1&&t%1==0&&t<e}function mr(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function wr(t){return!!ct&&ct in t}function $t(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||E;return t===r}function h(t){if(t!=null){try{return Ht.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Ar(t){return $(t,!0,!0)}function Kt(t,e){return t===e||t!==t&&e!==e}function Or(t){return Tr(t)&&l.call(t,"callee")&&(!Te.call(t,"callee")||P.call(t)==K)}var J=Array.isArray;function Nt(t){return t!=null&&Sr(t.length)&&!Vt(t)}function Tr(t){return Cr(t)&&Nt(t)}var xr=Se||Pr;function Vt(t){var e=R(t)?P.call(t):"";return e==N||e==jt}function Sr(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=yt}function R(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Cr(t){return!!t&&typeof t=="object"}function X(t){return Nt(t)?tr(t):ir(t)}function Er(){return[]}function Pr(){return!1}y.exports=Ar});var Yt=et((Wr,Xt)=>{var Ir="[object Object]";function Mr(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch(r){}return e}function Rr(t,e){return function(r){return t(e(r))}}var Gr=Function.prototype,qt=Object.prototype,Jt=Gr.toString,Br=qt.hasOwnProperty,Dr=Jt.call(Object),Hr=qt.toString,Lr=Rr(Object.getPrototypeOf,Object);function Fr(t){return!!t&&typeof t=="object"}function Ur(t){if(!Fr(t)||Hr.call(t)!=Ir||Mr(t))return!1;var e=Lr(t);if(e===null)return!0;var r=Br.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Jt.call(r)==Dr}Xt.exports=Ur});var Nr={};re(Nr,{setAllValuesTo:()=>Z,version:()=>Kr});var Y=nt(Wt(),1),A=nt(Yt(),1);var Zt="5.1.2";var Kr=Zt;function Z(t,e){let r,n=(0,Y.default)(t);return arguments.length<2?r=!1:(0,A.default)(e)||Array.isArray(e)?r=(0,Y.default)(e):r=e,Array.isArray(n)?n.forEach((o,i)=>{((0,A.default)(n[i])||Array.isArray(n[i]))&&(n[i]=Z(n[i],r))}):(0,A.default)(n)&&Object.keys(n).forEach(o=>{Array.isArray(n[o])||(0,A.default)(n[o])?n[o]=Z(n[o],r):n[o]=r}),n}return ne(Nr);})();
|