test-mixer 3.0.10 → 3.0.11

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2010-2021 Roy Revelt and other contributors
3
+ Copyright (c) 2010-2022 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
@@ -26,14 +26,12 @@
26
26
 
27
27
  ## Install
28
28
 
29
- This package is ESM only: Node 12+ is needed to use it and it must be imported instead of required:
29
+ The latest version is **ESM only**: Node 12+ is needed to use it and it must be `import`ed instead of `require`d. If your project is not on ESM yet and you want to use `require`, use an older version of this program, `2.1.0`.
30
30
 
31
31
  ```bash
32
32
  npm i test-mixer
33
33
  ```
34
34
 
35
- If you need a legacy version which works with `require`, use version 2.1.0
36
-
37
35
  ## Quick Take
38
36
 
39
37
  ```js
@@ -168,8 +166,6 @@ To report bugs or request features or assistance, [raise an issue](https://githu
168
166
 
169
167
  MIT License
170
168
 
171
- Copyright (c) 2010-2021 Roy Revelt and other contributors
172
-
169
+ Copyright (c) 2010-2022 Roy Revelt and other contributors
173
170
 
174
171
  <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">
175
-
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * @name test-mixer
3
3
  * @fileoverview Test helper to generate function opts object variations
4
- * @version 3.0.10
4
+ * @version 3.0.11
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/test-mixer/}
8
8
  */
9
9
 
10
- import{combinations as a}from"object-boolean-combinations";import l from"lodash.clonedeep";var i="3.0.10";var h=i;function g(o={},t={}){if(o&&typeof o!="object")throw new Error("test-mixer: [THROW_ID_01] the first input arg is missing!");if(t&&typeof t!="object")throw new Error("test-mixer: [THROW_ID_02] the second input arg is missing!");let s;if(typeof o=="object"&&typeof t=="object"&&Object.keys(o).some(e=>{if(!Object.keys(t).includes(e))return s=e,!0}))throw new Error(`test-mixer: [THROW_ID_03] the second input arg object should be defaults; it should be a superset of 1st input arg object. However, 1st input arg object contains key "${s}" which 2nd input arg object doesn't have.`);if(!Object.keys(t).length)return[];let c=l(o),n=l(t),r={};return Object.keys(t).forEach(e=>{typeof n[e]=="boolean"&&!Object.keys(o).includes(e)&&(r[e]=n[e])}),a(r).map(e=>({...t,...c,...e}))}export{g as mixer,h as version};
10
+ import{combinations as a}from"object-boolean-combinations";import l from"lodash.clonedeep";var i="3.0.11";var h=i;function g(o={},t={}){if(o&&typeof o!="object")throw new Error("test-mixer: [THROW_ID_01] the first input arg is missing!");if(t&&typeof t!="object")throw new Error("test-mixer: [THROW_ID_02] the second input arg is missing!");let s;if(typeof o=="object"&&typeof t=="object"&&Object.keys(o).some(e=>Object.keys(t).includes(e)?!1:(s=e,!0)))throw new Error(`test-mixer: [THROW_ID_03] the second input arg object should be defaults; it should be a superset of 1st input arg object. However, 1st input arg object contains key "${s}" which 2nd input arg object doesn't have.`);if(!Object.keys(t).length)return[];let c=l(o),n=l(t),r={};return Object.keys(t).forEach(e=>{typeof n[e]=="boolean"&&!Object.keys(o).includes(e)&&(r[e]=n[e])}),a(r).map(e=>({...t,...c,...e}))}export{g as mixer,h as version};
@@ -1,17 +1,17 @@
1
1
  /**
2
2
  * @name test-mixer
3
3
  * @fileoverview Test helper to generate function opts object variations
4
- * @version 3.0.10
4
+ * @version 3.0.11
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/test-mixer/}
8
8
  */
9
9
 
10
- var testMixer=(()=>{var $e=Object.create;var E=Object.defineProperty;var Me=Object.getOwnPropertyDescriptor;var De=Object.getOwnPropertyNames,_t=Object.getOwnPropertySymbols,He=Object.getPrototypeOf,bt=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable;var yt=(t,e,n)=>e in t?E(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,R=(t,e)=>{for(var n in e||(e={}))bt.call(e,n)&&yt(t,n,e[n]);if(_t)for(var n of _t(e))Re.call(e,n)&&yt(t,n,e[n]);return t};var jt=t=>E(t,"__esModule",{value:!0});var N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ne=(t,e)=>{for(var n in e)E(t,n,{get:e[n],enumerable:!0})},vt=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of De(e))!bt.call(t,o)&&(n||o!=="default")&&E(t,o,{get:()=>e[o],enumerable:!(r=Me(e,o))||r.enumerable});return t},I=(t,e)=>vt(jt(E(t!=null?$e(He(t)):{},"default",!e&&t&&t.__esModule?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t),Fe=(t=>(e,n)=>t&&t.get(e)||(n=vt(jt({}),e,1),t&&t.set(e,n),n))(typeof WeakMap!="undefined"?new WeakMap:0);var $t=N((Bo,Pt)=>{var X="__lodash_hash_undefined__",Le=9007199254740991,Ge="[object Function]",Be="[object GeneratorFunction]",Ve=/[\\^$.*+?()[\]{}|]/g,We=/^\[object .+?Constructor\]$/,Ue=typeof global=="object"&&global&&global.Object===Object&&global,Ke=typeof self=="object"&&self&&self.Object===Object&&self,wt=Ue||Ke||Function("return this")();function ke(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Je(t,e){var n=t?t.length:0;return!!n&&Ye(t,e,0)>-1}function qe(t,e,n){for(var r=-1,o=t?t.length:0;++r<o;)if(n(e,t[r]))return!0;return!1}function Ot(t,e){for(var n=-1,r=t?t.length:0,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function Xe(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}function Ye(t,e,n){if(e!==e)return Xe(t,Ze,n);for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}function Ze(t){return t!==t}function Qe(t){return function(e){return t(e)}}function mt(t,e){return t.has(e)}function ze(t,e){return t==null?void 0:t[e]}function tn(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch(n){}return e}var en=Array.prototype,nn=Function.prototype,xt=Object.prototype,Y=wt["__core-js_shared__"],Ct=function(){var t=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),St=nn.toString,Z=xt.hasOwnProperty,rn=xt.toString,on=RegExp("^"+St.call(Z).replace(Ve,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),an=en.splice,Tt=Math.max,cn=Math.min,sn=At(wt,"Map"),P=At(Object,"create");function j(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function un(){this.__data__=P?P(null):{}}function ln(t){return this.has(t)&&delete this.__data__[t]}function fn(t){var e=this.__data__;if(P){var n=e[t];return n===X?void 0:n}return Z.call(e,t)?e[t]:void 0}function hn(t){var e=this.__data__;return P?e[t]!==void 0:Z.call(e,t)}function pn(t,e){var n=this.__data__;return n[t]=P&&e===void 0?X:e,this}j.prototype.clear=un;j.prototype.delete=ln;j.prototype.get=fn;j.prototype.has=hn;j.prototype.set=pn;function m(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function dn(){this.__data__=[]}function gn(t){var e=this.__data__,n=L(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():an.call(e,n,1),!0}function _n(t){var e=this.__data__,n=L(e,t);return n<0?void 0:e[n][1]}function bn(t){return L(this.__data__,t)>-1}function yn(t,e){var n=this.__data__,r=L(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}m.prototype.clear=dn;m.prototype.delete=gn;m.prototype.get=_n;m.prototype.has=bn;m.prototype.set=yn;function x(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function jn(){this.__data__={hash:new j,map:new(sn||m),string:new j}}function vn(t){return G(this,t).delete(t)}function wn(t){return G(this,t).get(t)}function On(t){return G(this,t).has(t)}function mn(t,e){return G(this,t).set(t,e),this}x.prototype.clear=jn;x.prototype.delete=vn;x.prototype.get=wn;x.prototype.has=On;x.prototype.set=mn;function F(t){var e=-1,n=t?t.length:0;for(this.__data__=new x;++e<n;)this.add(t[e])}function xn(t){return this.__data__.set(t,X),this}function Cn(t){return this.__data__.has(t)}F.prototype.add=F.prototype.push=xn;F.prototype.has=Cn;function L(t,e){for(var n=t.length;n--;)if(Dn(t[n][0],e))return n;return-1}function Sn(t,e,n){for(var r=n?qe:Je,o=t[0].length,i=t.length,a=i,c=Array(i),h=1/0,l=[];a--;){var u=t[a];a&&e&&(u=Ot(u,Qe(e))),h=cn(u.length,h),c[a]=!n&&(e||o>=120&&u.length>=120)?new F(a&&u):void 0}u=t[0];var d=-1,g=c[0];t:for(;++d<o&&l.length<h;){var f=u[d],p=e?e(f):f;if(f=n||f!==0?f:0,!(g?mt(g,p):r(l,p,n))){for(a=i;--a;){var gt=c[a];if(!(gt?mt(gt,p):r(t[a],p,n)))continue t}g&&g.push(p),l.push(f)}}return l}function Tn(t){if(!It(t)||Pn(t))return!1;var e=Et(t)||tn(t)?on:We;return e.test($n(t))}function An(t,e){return e=Tt(e===void 0?t.length-1:e,0),function(){for(var n=arguments,r=-1,o=Tt(n.length-e,0),i=Array(o);++r<o;)i[r]=n[e+r];r=-1;for(var a=Array(e+1);++r<e;)a[r]=n[r];return a[e]=i,ke(t,this,a)}}function En(t){return Rn(t)?t:[]}function G(t,e){var n=t.__data__;return In(e)?n[typeof e=="string"?"string":"hash"]:n.map}function At(t,e){var n=ze(t,e);return Tn(n)?n:void 0}function In(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Pn(t){return!!Ct&&Ct in t}function $n(t){if(t!=null){try{return St.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var Mn=An(function(t){var e=Ot(t,En);return e.length&&e[0]===t[0]?Sn(e):[]});function Dn(t,e){return t===e||t!==t&&e!==e}function Hn(t){return t!=null&&Nn(t.length)&&!Et(t)}function Rn(t){return Fn(t)&&Hn(t)}function Et(t){var e=It(t)?rn.call(t):"";return e==Ge||e==Be}function Nn(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Le}function It(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Fn(t){return!!t&&typeof t=="object"}Pt.exports=Mn});var Rt=N((Vo,Ht)=>{function Ln(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Gn(t,e){for(var n=-1,r=t?t.length:0,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function Bn(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}function Vn(t,e,n){if(e!==e)return Bn(t,Un,n);for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}function Wn(t,e,n,r){for(var o=n-1,i=t.length;++o<i;)if(r(t[o],e))return o;return-1}function Un(t){return t!==t}function Kn(t){return function(e){return t(e)}}var kn=Array.prototype,Mt=kn.splice,Dt=Math.max;function Jn(t,e,n,r){var o=r?Wn:Vn,i=-1,a=e.length,c=t;for(t===e&&(e=Xn(e)),n&&(c=Gn(t,Kn(n)));++i<a;)for(var h=0,l=e[i],u=n?n(l):l;(h=o(c,u,h,r))>-1;)c!==t&&Mt.call(c,h,1),Mt.call(t,h,1);return t}function qn(t,e){return e=Dt(e===void 0?t.length-1:e,0),function(){for(var n=arguments,r=-1,o=Dt(n.length-e,0),i=Array(o);++r<o;)i[r]=n[e+r];r=-1;for(var a=Array(e+1);++r<e;)a[r]=n[r];return a[e]=i,Ln(t,this,a)}}function Xn(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var Yn=qn(Zn);function Zn(t,e){return t&&t.length&&e&&e.length?Jn(t,e):t}Ht.exports=Yn});var Gt=N((Wo,Lt)=>{var Qn="[object Object]";function zn(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch(n){}return e}function tr(t,e){return function(n){return t(e(n))}}var er=Function.prototype,Nt=Object.prototype,Ft=er.toString,nr=Nt.hasOwnProperty,rr=Ft.call(Object),or=Nt.toString,ir=tr(Object.getPrototypeOf,Object);function ar(t){return!!t&&typeof t=="object"}function cr(t){if(!ar(t)||or.call(t)!=Qn||zn(t))return!1;var e=ir(t);if(e===null)return!0;var n=nr.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&Ft.call(n)==rr}Lt.exports=cr});var ht=N((D,A)=>{var sr=200,Bt="__lodash_hash_undefined__",Vt=9007199254740991,Q="[object Arguments]",ur="[object Array]",Wt="[object Boolean]",Ut="[object Date]",lr="[object Error]",z="[object Function]",Kt="[object GeneratorFunction]",B="[object Map]",kt="[object Number]",tt="[object Object]",Jt="[object Promise]",qt="[object RegExp]",V="[object Set]",Xt="[object String]",Yt="[object Symbol]",et="[object WeakMap]",Zt="[object ArrayBuffer]",W="[object DataView]",Qt="[object Float32Array]",zt="[object Float64Array]",te="[object Int8Array]",ee="[object Int16Array]",ne="[object Int32Array]",re="[object Uint8Array]",oe="[object Uint8ClampedArray]",ie="[object Uint16Array]",ae="[object Uint32Array]",fr=/[\\^$.*+?()[\]{}|]/g,hr=/\w*$/,pr=/^\[object .+?Constructor\]$/,dr=/^(?:0|[1-9]\d*)$/,s={};s[Q]=s[ur]=s[Zt]=s[W]=s[Wt]=s[Ut]=s[Qt]=s[zt]=s[te]=s[ee]=s[ne]=s[B]=s[kt]=s[tt]=s[qt]=s[V]=s[Xt]=s[Yt]=s[re]=s[oe]=s[ie]=s[ae]=!0;s[lr]=s[z]=s[et]=!1;var gr=typeof global=="object"&&global&&global.Object===Object&&global,_r=typeof self=="object"&&self&&self.Object===Object&&self,_=gr||_r||Function("return this")(),ce=typeof D=="object"&&D&&!D.nodeType&&D,se=ce&&typeof A=="object"&&A&&!A.nodeType&&A,br=se&&se.exports===ce;function yr(t,e){return t.set(e[0],e[1]),t}function jr(t,e){return t.add(e),t}function vr(t,e){for(var n=-1,r=t?t.length:0;++n<r&&e(t[n],n,t)!==!1;);return t}function wr(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function ue(t,e,n,r){var o=-1,i=t?t.length:0;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function Or(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function mr(t,e){return t==null?void 0:t[e]}function le(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch(n){}return e}function fe(t){var e=-1,n=Array(t.size);return t.forEach(function(r,o){n[++e]=[o,r]}),n}function nt(t,e){return function(n){return t(e(n))}}function he(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var xr=Array.prototype,Cr=Function.prototype,U=Object.prototype,rt=_["__core-js_shared__"],pe=function(){var t=/[^.]+$/.exec(rt&&rt.keys&&rt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),de=Cr.toString,y=U.hasOwnProperty,K=U.toString,Sr=RegExp("^"+de.call(y).replace(fr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ge=br?_.Buffer:void 0,_e=_.Symbol,be=_.Uint8Array,Tr=nt(Object.getPrototypeOf,Object),Ar=Object.create,Er=U.propertyIsEnumerable,Ir=xr.splice,ye=Object.getOwnPropertySymbols,Pr=ge?ge.isBuffer:void 0,$r=nt(Object.keys,Object),ot=T(_,"DataView"),$=T(_,"Map"),it=T(_,"Promise"),at=T(_,"Set"),ct=T(_,"WeakMap"),M=T(Object,"create"),Mr=O(ot),Dr=O($),Hr=O(it),Rr=O(at),Nr=O(ct),je=_e?_e.prototype:void 0,ve=je?je.valueOf:void 0;function v(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Fr(){this.__data__=M?M(null):{}}function Lr(t){return this.has(t)&&delete this.__data__[t]}function Gr(t){var e=this.__data__;if(M){var n=e[t];return n===Bt?void 0:n}return y.call(e,t)?e[t]:void 0}function Br(t){var e=this.__data__;return M?e[t]!==void 0:y.call(e,t)}function Vr(t,e){var n=this.__data__;return n[t]=M&&e===void 0?Bt:e,this}v.prototype.clear=Fr;v.prototype.delete=Lr;v.prototype.get=Gr;v.prototype.has=Br;v.prototype.set=Vr;function b(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Wr(){this.__data__=[]}function Ur(t){var e=this.__data__,n=k(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Ir.call(e,n,1),!0}function Kr(t){var e=this.__data__,n=k(e,t);return n<0?void 0:e[n][1]}function kr(t){return k(this.__data__,t)>-1}function Jr(t,e){var n=this.__data__,r=k(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}b.prototype.clear=Wr;b.prototype.delete=Ur;b.prototype.get=Kr;b.prototype.has=kr;b.prototype.set=Jr;function C(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function qr(){this.__data__={hash:new v,map:new($||b),string:new v}}function Xr(t){return J(this,t).delete(t)}function Yr(t){return J(this,t).get(t)}function Zr(t){return J(this,t).has(t)}function Qr(t,e){return J(this,t).set(t,e),this}C.prototype.clear=qr;C.prototype.delete=Xr;C.prototype.get=Yr;C.prototype.has=Zr;C.prototype.set=Qr;function S(t){this.__data__=new b(t)}function zr(){this.__data__=new b}function to(t){return this.__data__.delete(t)}function eo(t){return this.__data__.get(t)}function no(t){return this.__data__.has(t)}function ro(t,e){var n=this.__data__;if(n instanceof b){var r=n.__data__;if(!$||r.length<sr-1)return r.push([t,e]),this;n=this.__data__=new C(r)}return n.set(t,e),this}S.prototype.clear=zr;S.prototype.delete=to;S.prototype.get=eo;S.prototype.has=no;S.prototype.set=ro;function oo(t,e){var n=lt(t)||Eo(t)?Or(t.length,String):[],r=n.length,o=!!r;for(var i in t)(e||y.call(t,i))&&!(o&&(i=="length"||Co(i,r)))&&n.push(i);return n}function we(t,e,n){var r=t[e];(!(y.call(t,e)&&Ce(r,n))||n===void 0&&!(e in t))&&(t[e]=n)}function k(t,e){for(var n=t.length;n--;)if(Ce(t[n][0],e))return n;return-1}function io(t,e){return t&&Oe(e,ft(e),t)}function st(t,e,n,r,o,i,a){var c;if(r&&(c=i?r(t,o,i,a):r(t)),c!==void 0)return c;if(!q(t))return t;var h=lt(t);if(h){if(c=Oo(t),!e)return jo(t,c)}else{var l=w(t),u=l==z||l==Kt;if(Po(t))return fo(t,e);if(l==tt||l==Q||u&&!i){if(le(t))return i?t:{};if(c=mo(u?{}:t),!e)return vo(t,io(c,t))}else{if(!s[l])return i?t:{};c=xo(t,l,st,e)}}a||(a=new S);var d=a.get(t);if(d)return d;if(a.set(t,c),!h)var g=n?wo(t):ft(t);return vr(g||t,function(f,p){g&&(p=f,f=t[p]),we(c,p,st(f,e,n,r,p,t,a))}),c}function ao(t){return q(t)?Ar(t):{}}function co(t,e,n){var r=e(t);return lt(t)?r:wr(r,n(t))}function so(t){return K.call(t)}function uo(t){if(!q(t)||To(t))return!1;var e=Te(t)||le(t)?Sr:pr;return e.test(O(t))}function lo(t){if(!xe(t))return $r(t);var e=[];for(var n in Object(t))y.call(t,n)&&n!="constructor"&&e.push(n);return e}function fo(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}function ut(t){var e=new t.constructor(t.byteLength);return new be(e).set(new be(t)),e}function ho(t,e){var n=e?ut(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function po(t,e,n){var r=e?n(fe(t),!0):fe(t);return ue(r,yr,new t.constructor)}function go(t){var e=new t.constructor(t.source,hr.exec(t));return e.lastIndex=t.lastIndex,e}function _o(t,e,n){var r=e?n(he(t),!0):he(t);return ue(r,jr,new t.constructor)}function bo(t){return ve?Object(ve.call(t)):{}}function yo(t,e){var n=e?ut(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function jo(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}function Oe(t,e,n,r){n||(n={});for(var o=-1,i=e.length;++o<i;){var a=e[o],c=r?r(n[a],t[a],a,n,t):void 0;we(n,a,c===void 0?t[a]:c)}return n}function vo(t,e){return Oe(t,me(t),e)}function wo(t){return co(t,ft,me)}function J(t,e){var n=t.__data__;return So(e)?n[typeof e=="string"?"string":"hash"]:n.map}function T(t,e){var n=mr(t,e);return uo(n)?n:void 0}var me=ye?nt(ye,Object):Do,w=so;(ot&&w(new ot(new ArrayBuffer(1)))!=W||$&&w(new $)!=B||it&&w(it.resolve())!=Jt||at&&w(new at)!=V||ct&&w(new ct)!=et)&&(w=function(t){var e=K.call(t),n=e==tt?t.constructor:void 0,r=n?O(n):void 0;if(r)switch(r){case Mr:return W;case Dr:return B;case Hr:return Jt;case Rr:return V;case Nr:return et}return e});function Oo(t){var e=t.length,n=t.constructor(e);return e&&typeof t[0]=="string"&&y.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function mo(t){return typeof t.constructor=="function"&&!xe(t)?ao(Tr(t)):{}}function xo(t,e,n,r){var o=t.constructor;switch(e){case Zt:return ut(t);case Wt:case Ut:return new o(+t);case W:return ho(t,r);case Qt:case zt:case te:case ee:case ne:case re:case oe:case ie:case ae:return yo(t,r);case B:return po(t,r,n);case kt:case Xt:return new o(t);case qt:return go(t);case V:return _o(t,r,n);case Yt:return bo(t)}}function Co(t,e){return e=e==null?Vt:e,!!e&&(typeof t=="number"||dr.test(t))&&t>-1&&t%1==0&&t<e}function So(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function To(t){return!!pe&&pe in t}function xe(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||U;return t===n}function O(t){if(t!=null){try{return de.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Ao(t){return st(t,!0,!0)}function Ce(t,e){return t===e||t!==t&&e!==e}function Eo(t){return Io(t)&&y.call(t,"callee")&&(!Er.call(t,"callee")||K.call(t)==Q)}var lt=Array.isArray;function Se(t){return t!=null&&$o(t.length)&&!Te(t)}function Io(t){return Mo(t)&&Se(t)}var Po=Pr||Ho;function Te(t){var e=q(t)?K.call(t):"";return e==z||e==Kt}function $o(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Vt}function q(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Mo(t){return!!t&&typeof t=="object"}function ft(t){return Se(t)?oo(t):lo(t)}function Do(){return[]}function Ho(){return!1}A.exports=Ao});var Lo={};Ne(Lo,{mixer:()=>Fo,version:()=>No});var Ae=I($t(),1),Ee=I(Rt(),1),H=I(Gt(),1),pt=I(ht(),1);function Ie(t,e={}){function n(u){let d=[];for(let g=0;g<1<<u;g++){let f=[];for(let p=0;p<u;p++)f.push(g&1<<p?1:0);d.push(f)}return d}if(!t)throw new Error("[THROW_ID_01] missing input object");if(!(0,H.default)(t))throw new Error("[THROW_ID_02] the first input object must be a true object");if(e&&!(0,H.default)(e))throw new Error("[THROW_ID_03] the second override object must be a true object");let r=(0,pt.default)(t),o=(0,pt.default)(e),i=Object.keys(r),a=[],c=[];(0,H.default)(o)&&Object.keys(o).length&&(c=(0,Ae.default)(Object.keys(o),Object.keys(r)),c.forEach(u=>(0,Ee.default)(i,u)));let h=n(Object.keys(i).length),l;return h.forEach((u,d)=>{l={},i.forEach((g,f)=>{l[g]=h[d][f]===1}),a.push(l)}),(0,H.default)(o)&&Object.keys(o).length&&a.forEach(u=>{c.forEach(d=>{u[d]=o[d]})}),a}var dt=I(ht(),1);var Pe="3.0.10";var No=Pe;function Fo(t={},e={}){if(t&&typeof t!="object")throw new Error("test-mixer: [THROW_ID_01] the first input arg is missing!");if(e&&typeof e!="object")throw new Error("test-mixer: [THROW_ID_02] the second input arg is missing!");let n;if(typeof t=="object"&&typeof e=="object"&&Object.keys(t).some(c=>{if(!Object.keys(e).includes(c))return n=c,!0}))throw new Error(`test-mixer: [THROW_ID_03] the second input arg object should be defaults; it should be a superset of 1st input arg object. However, 1st input arg object contains key "${n}" which 2nd input arg object doesn't have.`);if(!Object.keys(e).length)return[];let r=(0,dt.default)(t),o=(0,dt.default)(e),i={};return Object.keys(e).forEach(c=>{typeof o[c]=="boolean"&&!Object.keys(t).includes(c)&&(i[c]=o[c])}),Ie(i).map(c=>R(R(R({},e),r),c))}return Fe(Lo);})();
10
+ var testMixer=(()=>{var $e=Object.create;var E=Object.defineProperty;var Me=Object.getOwnPropertyDescriptor;var De=Object.getOwnPropertyNames,_t=Object.getOwnPropertySymbols,He=Object.getPrototypeOf,bt=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable;var yt=(t,e,n)=>e in t?E(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,R=(t,e)=>{for(var n in e||(e={}))bt.call(e,n)&&yt(t,n,e[n]);if(_t)for(var n of _t(e))Re.call(e,n)&&yt(t,n,e[n]);return t};var jt=t=>E(t,"__esModule",{value:!0});var N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ne=(t,e)=>{for(var n in e)E(t,n,{get:e[n],enumerable:!0})},vt=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of De(e))!bt.call(t,o)&&(n||o!=="default")&&E(t,o,{get:()=>e[o],enumerable:!(r=Me(e,o))||r.enumerable});return t},I=(t,e)=>vt(jt(E(t!=null?$e(He(t)):{},"default",!e&&t&&t.__esModule?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t),Fe=(t=>(e,n)=>t&&t.get(e)||(n=vt(jt({}),e,1),t&&t.set(e,n),n))(typeof WeakMap!="undefined"?new WeakMap:0);var $t=N((Bo,Pt)=>{var X="__lodash_hash_undefined__",Le=9007199254740991,Ge="[object Function]",Be="[object GeneratorFunction]",Ve=/[\\^$.*+?()[\]{}|]/g,We=/^\[object .+?Constructor\]$/,Ue=typeof global=="object"&&global&&global.Object===Object&&global,Ke=typeof self=="object"&&self&&self.Object===Object&&self,mt=Ue||Ke||Function("return this")();function ke(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Je(t,e){var n=t?t.length:0;return!!n&&Ye(t,e,0)>-1}function qe(t,e,n){for(var r=-1,o=t?t.length:0;++r<o;)if(n(e,t[r]))return!0;return!1}function wt(t,e){for(var n=-1,r=t?t.length:0,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function Xe(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}function Ye(t,e,n){if(e!==e)return Xe(t,Ze,n);for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}function Ze(t){return t!==t}function Qe(t){return function(e){return t(e)}}function Ot(t,e){return t.has(e)}function ze(t,e){return t==null?void 0:t[e]}function tn(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch(n){}return e}var en=Array.prototype,nn=Function.prototype,xt=Object.prototype,Y=mt["__core-js_shared__"],Ct=function(){var t=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),St=nn.toString,Z=xt.hasOwnProperty,rn=xt.toString,on=RegExp("^"+St.call(Z).replace(Ve,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),an=en.splice,Tt=Math.max,cn=Math.min,sn=At(mt,"Map"),P=At(Object,"create");function j(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function un(){this.__data__=P?P(null):{}}function ln(t){return this.has(t)&&delete this.__data__[t]}function fn(t){var e=this.__data__;if(P){var n=e[t];return n===X?void 0:n}return Z.call(e,t)?e[t]:void 0}function hn(t){var e=this.__data__;return P?e[t]!==void 0:Z.call(e,t)}function pn(t,e){var n=this.__data__;return n[t]=P&&e===void 0?X:e,this}j.prototype.clear=un;j.prototype.delete=ln;j.prototype.get=fn;j.prototype.has=hn;j.prototype.set=pn;function O(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function dn(){this.__data__=[]}function gn(t){var e=this.__data__,n=L(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():an.call(e,n,1),!0}function _n(t){var e=this.__data__,n=L(e,t);return n<0?void 0:e[n][1]}function bn(t){return L(this.__data__,t)>-1}function yn(t,e){var n=this.__data__,r=L(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}O.prototype.clear=dn;O.prototype.delete=gn;O.prototype.get=_n;O.prototype.has=bn;O.prototype.set=yn;function x(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function jn(){this.__data__={hash:new j,map:new(sn||O),string:new j}}function vn(t){return G(this,t).delete(t)}function mn(t){return G(this,t).get(t)}function wn(t){return G(this,t).has(t)}function On(t,e){return G(this,t).set(t,e),this}x.prototype.clear=jn;x.prototype.delete=vn;x.prototype.get=mn;x.prototype.has=wn;x.prototype.set=On;function F(t){var e=-1,n=t?t.length:0;for(this.__data__=new x;++e<n;)this.add(t[e])}function xn(t){return this.__data__.set(t,X),this}function Cn(t){return this.__data__.has(t)}F.prototype.add=F.prototype.push=xn;F.prototype.has=Cn;function L(t,e){for(var n=t.length;n--;)if(Dn(t[n][0],e))return n;return-1}function Sn(t,e,n){for(var r=n?qe:Je,o=t[0].length,i=t.length,a=i,c=Array(i),h=1/0,l=[];a--;){var u=t[a];a&&e&&(u=wt(u,Qe(e))),h=cn(u.length,h),c[a]=!n&&(e||o>=120&&u.length>=120)?new F(a&&u):void 0}u=t[0];var d=-1,g=c[0];t:for(;++d<o&&l.length<h;){var f=u[d],p=e?e(f):f;if(f=n||f!==0?f:0,!(g?Ot(g,p):r(l,p,n))){for(a=i;--a;){var gt=c[a];if(!(gt?Ot(gt,p):r(t[a],p,n)))continue t}g&&g.push(p),l.push(f)}}return l}function Tn(t){if(!It(t)||Pn(t))return!1;var e=Et(t)||tn(t)?on:We;return e.test($n(t))}function An(t,e){return e=Tt(e===void 0?t.length-1:e,0),function(){for(var n=arguments,r=-1,o=Tt(n.length-e,0),i=Array(o);++r<o;)i[r]=n[e+r];r=-1;for(var a=Array(e+1);++r<e;)a[r]=n[r];return a[e]=i,ke(t,this,a)}}function En(t){return Rn(t)?t:[]}function G(t,e){var n=t.__data__;return In(e)?n[typeof e=="string"?"string":"hash"]:n.map}function At(t,e){var n=ze(t,e);return Tn(n)?n:void 0}function In(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Pn(t){return!!Ct&&Ct in t}function $n(t){if(t!=null){try{return St.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var Mn=An(function(t){var e=wt(t,En);return e.length&&e[0]===t[0]?Sn(e):[]});function Dn(t,e){return t===e||t!==t&&e!==e}function Hn(t){return t!=null&&Nn(t.length)&&!Et(t)}function Rn(t){return Fn(t)&&Hn(t)}function Et(t){var e=It(t)?rn.call(t):"";return e==Ge||e==Be}function Nn(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Le}function It(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Fn(t){return!!t&&typeof t=="object"}Pt.exports=Mn});var Rt=N((Vo,Ht)=>{function Ln(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Gn(t,e){for(var n=-1,r=t?t.length:0,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function Bn(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}function Vn(t,e,n){if(e!==e)return Bn(t,Un,n);for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}function Wn(t,e,n,r){for(var o=n-1,i=t.length;++o<i;)if(r(t[o],e))return o;return-1}function Un(t){return t!==t}function Kn(t){return function(e){return t(e)}}var kn=Array.prototype,Mt=kn.splice,Dt=Math.max;function Jn(t,e,n,r){var o=r?Wn:Vn,i=-1,a=e.length,c=t;for(t===e&&(e=Xn(e)),n&&(c=Gn(t,Kn(n)));++i<a;)for(var h=0,l=e[i],u=n?n(l):l;(h=o(c,u,h,r))>-1;)c!==t&&Mt.call(c,h,1),Mt.call(t,h,1);return t}function qn(t,e){return e=Dt(e===void 0?t.length-1:e,0),function(){for(var n=arguments,r=-1,o=Dt(n.length-e,0),i=Array(o);++r<o;)i[r]=n[e+r];r=-1;for(var a=Array(e+1);++r<e;)a[r]=n[r];return a[e]=i,Ln(t,this,a)}}function Xn(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var Yn=qn(Zn);function Zn(t,e){return t&&t.length&&e&&e.length?Jn(t,e):t}Ht.exports=Yn});var Gt=N((Wo,Lt)=>{var Qn="[object Object]";function zn(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch(n){}return e}function tr(t,e){return function(n){return t(e(n))}}var er=Function.prototype,Nt=Object.prototype,Ft=er.toString,nr=Nt.hasOwnProperty,rr=Ft.call(Object),or=Nt.toString,ir=tr(Object.getPrototypeOf,Object);function ar(t){return!!t&&typeof t=="object"}function cr(t){if(!ar(t)||or.call(t)!=Qn||zn(t))return!1;var e=ir(t);if(e===null)return!0;var n=nr.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&Ft.call(n)==rr}Lt.exports=cr});var ht=N((D,A)=>{var sr=200,Bt="__lodash_hash_undefined__",Vt=9007199254740991,Q="[object Arguments]",ur="[object Array]",Wt="[object Boolean]",Ut="[object Date]",lr="[object Error]",z="[object Function]",Kt="[object GeneratorFunction]",B="[object Map]",kt="[object Number]",tt="[object Object]",Jt="[object Promise]",qt="[object RegExp]",V="[object Set]",Xt="[object String]",Yt="[object Symbol]",et="[object WeakMap]",Zt="[object ArrayBuffer]",W="[object DataView]",Qt="[object Float32Array]",zt="[object Float64Array]",te="[object Int8Array]",ee="[object Int16Array]",ne="[object Int32Array]",re="[object Uint8Array]",oe="[object Uint8ClampedArray]",ie="[object Uint16Array]",ae="[object Uint32Array]",fr=/[\\^$.*+?()[\]{}|]/g,hr=/\w*$/,pr=/^\[object .+?Constructor\]$/,dr=/^(?:0|[1-9]\d*)$/,s={};s[Q]=s[ur]=s[Zt]=s[W]=s[Wt]=s[Ut]=s[Qt]=s[zt]=s[te]=s[ee]=s[ne]=s[B]=s[kt]=s[tt]=s[qt]=s[V]=s[Xt]=s[Yt]=s[re]=s[oe]=s[ie]=s[ae]=!0;s[lr]=s[z]=s[et]=!1;var gr=typeof global=="object"&&global&&global.Object===Object&&global,_r=typeof self=="object"&&self&&self.Object===Object&&self,_=gr||_r||Function("return this")(),ce=typeof D=="object"&&D&&!D.nodeType&&D,se=ce&&typeof A=="object"&&A&&!A.nodeType&&A,br=se&&se.exports===ce;function yr(t,e){return t.set(e[0],e[1]),t}function jr(t,e){return t.add(e),t}function vr(t,e){for(var n=-1,r=t?t.length:0;++n<r&&e(t[n],n,t)!==!1;);return t}function mr(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function ue(t,e,n,r){var o=-1,i=t?t.length:0;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function wr(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Or(t,e){return t==null?void 0:t[e]}function le(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch(n){}return e}function fe(t){var e=-1,n=Array(t.size);return t.forEach(function(r,o){n[++e]=[o,r]}),n}function nt(t,e){return function(n){return t(e(n))}}function he(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var xr=Array.prototype,Cr=Function.prototype,U=Object.prototype,rt=_["__core-js_shared__"],pe=function(){var t=/[^.]+$/.exec(rt&&rt.keys&&rt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),de=Cr.toString,y=U.hasOwnProperty,K=U.toString,Sr=RegExp("^"+de.call(y).replace(fr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ge=br?_.Buffer:void 0,_e=_.Symbol,be=_.Uint8Array,Tr=nt(Object.getPrototypeOf,Object),Ar=Object.create,Er=U.propertyIsEnumerable,Ir=xr.splice,ye=Object.getOwnPropertySymbols,Pr=ge?ge.isBuffer:void 0,$r=nt(Object.keys,Object),ot=T(_,"DataView"),$=T(_,"Map"),it=T(_,"Promise"),at=T(_,"Set"),ct=T(_,"WeakMap"),M=T(Object,"create"),Mr=w(ot),Dr=w($),Hr=w(it),Rr=w(at),Nr=w(ct),je=_e?_e.prototype:void 0,ve=je?je.valueOf:void 0;function v(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Fr(){this.__data__=M?M(null):{}}function Lr(t){return this.has(t)&&delete this.__data__[t]}function Gr(t){var e=this.__data__;if(M){var n=e[t];return n===Bt?void 0:n}return y.call(e,t)?e[t]:void 0}function Br(t){var e=this.__data__;return M?e[t]!==void 0:y.call(e,t)}function Vr(t,e){var n=this.__data__;return n[t]=M&&e===void 0?Bt:e,this}v.prototype.clear=Fr;v.prototype.delete=Lr;v.prototype.get=Gr;v.prototype.has=Br;v.prototype.set=Vr;function b(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Wr(){this.__data__=[]}function Ur(t){var e=this.__data__,n=k(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Ir.call(e,n,1),!0}function Kr(t){var e=this.__data__,n=k(e,t);return n<0?void 0:e[n][1]}function kr(t){return k(this.__data__,t)>-1}function Jr(t,e){var n=this.__data__,r=k(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}b.prototype.clear=Wr;b.prototype.delete=Ur;b.prototype.get=Kr;b.prototype.has=kr;b.prototype.set=Jr;function C(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function qr(){this.__data__={hash:new v,map:new($||b),string:new v}}function Xr(t){return J(this,t).delete(t)}function Yr(t){return J(this,t).get(t)}function Zr(t){return J(this,t).has(t)}function Qr(t,e){return J(this,t).set(t,e),this}C.prototype.clear=qr;C.prototype.delete=Xr;C.prototype.get=Yr;C.prototype.has=Zr;C.prototype.set=Qr;function S(t){this.__data__=new b(t)}function zr(){this.__data__=new b}function to(t){return this.__data__.delete(t)}function eo(t){return this.__data__.get(t)}function no(t){return this.__data__.has(t)}function ro(t,e){var n=this.__data__;if(n instanceof b){var r=n.__data__;if(!$||r.length<sr-1)return r.push([t,e]),this;n=this.__data__=new C(r)}return n.set(t,e),this}S.prototype.clear=zr;S.prototype.delete=to;S.prototype.get=eo;S.prototype.has=no;S.prototype.set=ro;function oo(t,e){var n=lt(t)||Eo(t)?wr(t.length,String):[],r=n.length,o=!!r;for(var i in t)(e||y.call(t,i))&&!(o&&(i=="length"||Co(i,r)))&&n.push(i);return n}function me(t,e,n){var r=t[e];(!(y.call(t,e)&&Ce(r,n))||n===void 0&&!(e in t))&&(t[e]=n)}function k(t,e){for(var n=t.length;n--;)if(Ce(t[n][0],e))return n;return-1}function io(t,e){return t&&we(e,ft(e),t)}function st(t,e,n,r,o,i,a){var c;if(r&&(c=i?r(t,o,i,a):r(t)),c!==void 0)return c;if(!q(t))return t;var h=lt(t);if(h){if(c=wo(t),!e)return jo(t,c)}else{var l=m(t),u=l==z||l==Kt;if(Po(t))return fo(t,e);if(l==tt||l==Q||u&&!i){if(le(t))return i?t:{};if(c=Oo(u?{}:t),!e)return vo(t,io(c,t))}else{if(!s[l])return i?t:{};c=xo(t,l,st,e)}}a||(a=new S);var d=a.get(t);if(d)return d;if(a.set(t,c),!h)var g=n?mo(t):ft(t);return vr(g||t,function(f,p){g&&(p=f,f=t[p]),me(c,p,st(f,e,n,r,p,t,a))}),c}function ao(t){return q(t)?Ar(t):{}}function co(t,e,n){var r=e(t);return lt(t)?r:mr(r,n(t))}function so(t){return K.call(t)}function uo(t){if(!q(t)||To(t))return!1;var e=Te(t)||le(t)?Sr:pr;return e.test(w(t))}function lo(t){if(!xe(t))return $r(t);var e=[];for(var n in Object(t))y.call(t,n)&&n!="constructor"&&e.push(n);return e}function fo(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}function ut(t){var e=new t.constructor(t.byteLength);return new be(e).set(new be(t)),e}function ho(t,e){var n=e?ut(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function po(t,e,n){var r=e?n(fe(t),!0):fe(t);return ue(r,yr,new t.constructor)}function go(t){var e=new t.constructor(t.source,hr.exec(t));return e.lastIndex=t.lastIndex,e}function _o(t,e,n){var r=e?n(he(t),!0):he(t);return ue(r,jr,new t.constructor)}function bo(t){return ve?Object(ve.call(t)):{}}function yo(t,e){var n=e?ut(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function jo(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}function we(t,e,n,r){n||(n={});for(var o=-1,i=e.length;++o<i;){var a=e[o],c=r?r(n[a],t[a],a,n,t):void 0;me(n,a,c===void 0?t[a]:c)}return n}function vo(t,e){return we(t,Oe(t),e)}function mo(t){return co(t,ft,Oe)}function J(t,e){var n=t.__data__;return So(e)?n[typeof e=="string"?"string":"hash"]:n.map}function T(t,e){var n=Or(t,e);return uo(n)?n:void 0}var Oe=ye?nt(ye,Object):Do,m=so;(ot&&m(new ot(new ArrayBuffer(1)))!=W||$&&m(new $)!=B||it&&m(it.resolve())!=Jt||at&&m(new at)!=V||ct&&m(new ct)!=et)&&(m=function(t){var e=K.call(t),n=e==tt?t.constructor:void 0,r=n?w(n):void 0;if(r)switch(r){case Mr:return W;case Dr:return B;case Hr:return Jt;case Rr:return V;case Nr:return et}return e});function wo(t){var e=t.length,n=t.constructor(e);return e&&typeof t[0]=="string"&&y.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Oo(t){return typeof t.constructor=="function"&&!xe(t)?ao(Tr(t)):{}}function xo(t,e,n,r){var o=t.constructor;switch(e){case Zt:return ut(t);case Wt:case Ut:return new o(+t);case W:return ho(t,r);case Qt:case zt:case te:case ee:case ne:case re:case oe:case ie:case ae:return yo(t,r);case B:return po(t,r,n);case kt:case Xt:return new o(t);case qt:return go(t);case V:return _o(t,r,n);case Yt:return bo(t)}}function Co(t,e){return e=e==null?Vt:e,!!e&&(typeof t=="number"||dr.test(t))&&t>-1&&t%1==0&&t<e}function So(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function To(t){return!!pe&&pe in t}function xe(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||U;return t===n}function w(t){if(t!=null){try{return de.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Ao(t){return st(t,!0,!0)}function Ce(t,e){return t===e||t!==t&&e!==e}function Eo(t){return Io(t)&&y.call(t,"callee")&&(!Er.call(t,"callee")||K.call(t)==Q)}var lt=Array.isArray;function Se(t){return t!=null&&$o(t.length)&&!Te(t)}function Io(t){return Mo(t)&&Se(t)}var Po=Pr||Ho;function Te(t){var e=q(t)?K.call(t):"";return e==z||e==Kt}function $o(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Vt}function q(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Mo(t){return!!t&&typeof t=="object"}function ft(t){return Se(t)?oo(t):lo(t)}function Do(){return[]}function Ho(){return!1}A.exports=Ao});var Lo={};Ne(Lo,{mixer:()=>Fo,version:()=>No});var Ae=I($t(),1),Ee=I(Rt(),1),H=I(Gt(),1),pt=I(ht(),1);function Ie(t,e={}){function n(u){let d=[];for(let g=0;g<1<<u;g++){let f=[];for(let p=0;p<u;p++)f.push(g&1<<p?1:0);d.push(f)}return d}if(!t)throw new Error("[THROW_ID_01] missing input object");if(!(0,H.default)(t))throw new Error("[THROW_ID_02] the first input object must be a true object");if(e&&!(0,H.default)(e))throw new Error("[THROW_ID_03] the second override object must be a true object");let r=(0,pt.default)(t),o=(0,pt.default)(e),i=Object.keys(r),a=[],c=[];(0,H.default)(o)&&Object.keys(o).length&&(c=(0,Ae.default)(Object.keys(o),Object.keys(r)),c.forEach(u=>(0,Ee.default)(i,u)));let h=n(Object.keys(i).length),l;return h.forEach((u,d)=>{l={},i.forEach((g,f)=>{l[g]=h[d][f]===1}),a.push(l)}),(0,H.default)(o)&&Object.keys(o).length&&a.forEach(u=>{c.forEach(d=>{u[d]=o[d]})}),a}var dt=I(ht(),1);var Pe="3.0.11";var No=Pe;function Fo(t={},e={}){if(t&&typeof t!="object")throw new Error("test-mixer: [THROW_ID_01] the first input arg is missing!");if(e&&typeof e!="object")throw new Error("test-mixer: [THROW_ID_02] the second input arg is missing!");let n;if(typeof t=="object"&&typeof e=="object"&&Object.keys(t).some(c=>Object.keys(e).includes(c)?!1:(n=c,!0)))throw new Error(`test-mixer: [THROW_ID_03] the second input arg object should be defaults; it should be a superset of 1st input arg object. However, 1st input arg object contains key "${n}" which 2nd input arg object doesn't have.`);if(!Object.keys(e).length)return[];let r=(0,dt.default)(t),o=(0,dt.default)(e),i={};return Object.keys(e).forEach(c=>{typeof o[c]=="boolean"&&!Object.keys(t).includes(c)&&(i[c]=o[c])}),Ie(i).map(c=>R(R(R({},e),r),c))}return Fe(Lo);})();
11
11
  /**
12
12
  * @name object-boolean-combinations
13
13
  * @fileoverview Consumes a defaults object with booleans, generates all possible variations of it
14
- * @version 5.0.10
14
+ * @version 5.0.11
15
15
  * @author Roy Revelt, Codsen Ltd
16
16
  * @license MIT
17
17
  * {@link https://codsen.com/os/object-boolean-combinations/}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-mixer",
3
- "version": "3.0.10",
3
+ "version": "3.0.11",
4
4
  "description": "Test helper to generate function opts object variations",
5
5
  "keywords": [
6
6
  "combinations",
@@ -33,13 +33,15 @@
33
33
  "scripts": {
34
34
  "build": "node '../../ops/scripts/esbuild.js' && yarn run dts",
35
35
  "dev": "DEV=true node '../../ops/scripts/esbuild.js' && yarn run dts",
36
- "dts": "rollup -c",
36
+ "dts": "rollup -c && yarn run prettier 'types/index.d.ts' --write",
37
37
  "examples": "node '../../ops/scripts/run-examples.js'",
38
38
  "lect": "node '../../ops/lect/lect.js'",
39
39
  "letspublish": "yarn publish || :",
40
40
  "lint": "eslint . --fix",
41
41
  "perf": "node perf/check.js",
42
42
  "prepare": "echo 'ready'",
43
+ "prettier": "prettier",
44
+ "prettier:format": "prettier --write '**/*.{ts,tsx,md}' --no-error-on-unmatched-pattern",
43
45
  "pretest": "yarn run lect && yarn run build",
44
46
  "test": "c8 yarn run unit && yarn run examples && yarn run lint",
45
47
  "unit": "uvu test"
@@ -63,7 +65,7 @@
63
65
  },
64
66
  "dependencies": {
65
67
  "lodash.clonedeep": "^4.5.0",
66
- "object-boolean-combinations": "^5.0.10"
68
+ "object-boolean-combinations": "^5.0.11"
67
69
  },
68
70
  "devDependencies": {
69
71
  "@types/lodash.clonedeep": "^4.5.6"
package/types/index.d.ts CHANGED
@@ -1,10 +1,13 @@
1
1
  declare const version: string;
2
2
  declare type PlainObject = {
3
- [name: string]: any;
3
+ [name: string]: any;
4
4
  };
5
5
  declare type PlainObjectOfBool = {
6
- [name: string]: boolean;
6
+ [name: string]: boolean;
7
7
  };
8
- declare function mixer(ref?: PlainObject, defaultsObj?: PlainObject): PlainObjectOfBool[];
8
+ declare function mixer(
9
+ ref?: PlainObject,
10
+ defaultsObj?: PlainObject
11
+ ): PlainObjectOfBool[];
9
12
 
10
13
  export { mixer, version };