object-boolean-combinations 6.0.4 → 6.0.5

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.
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * @name object-boolean-combinations
3
3
  * @fileoverview Consumes a defaults object with booleans, generates all possible variations of it
4
- * @version 6.0.4
4
+ * @version 6.0.5
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/object-boolean-combinations/}
8
8
  */
9
9
 
10
- import g from"lodash.intersection";import O from"lodash.pull";import{isPlainObject as r}from"codsen-utils";import h from"lodash.clonedeep";var j="6.0.4";var D=j;function R(i,c={}){function f(e){let t=[];for(let s=0;s<1<<e;s++){let n=[];for(let d=0;d<e;d++)n.push(s&1<<d?1:0);t.push(n)}return t}if(!i)throw new Error("[THROW_ID_01] missing input object");if(!r(i))throw new Error("[THROW_ID_02] the first input object must be a true object");if(c&&!r(c))throw new Error("[THROW_ID_03] the second override object must be a true object");let m=h(i),o=h(c),l=Object.keys(m),p=[],a=[];r(o)&&Object.keys(o).length&&(a=g(Object.keys(o),Object.keys(m)),a.forEach(e=>O(l,e)));let u=f(Object.keys(l).length),b;return u.forEach((e,t)=>{b={},l.forEach((s,n)=>{b[s]=u[t][n]===1}),p.push(b)}),r(o)&&Object.keys(o).length&&p.forEach(e=>{a.forEach(t=>{e[t]=o[t]})}),p}export{R as combinations,D as version};
10
+ import g from"lodash.intersection";import O from"lodash.pull";import{isPlainObject as r}from"codsen-utils";import h from"lodash.clonedeep";var j="6.0.5";var D=j;function R(i,c={}){function f(e){let t=[];for(let s=0;s<1<<e;s++){let n=[];for(let d=0;d<e;d++)n.push(s&1<<d?1:0);t.push(n)}return t}if(!i)throw new Error("[THROW_ID_01] missing input object");if(!r(i))throw new Error("[THROW_ID_02] the first input object must be a true object");if(c&&!r(c))throw new Error("[THROW_ID_03] the second override object must be a true object");let m=h(i),o=h(c),l=Object.keys(m),p=[],a=[];r(o)&&Object.keys(o).length&&(a=g(Object.keys(o),Object.keys(m)),a.forEach(e=>O(l,e)));let u=f(Object.keys(l).length),b;return u.forEach((e,t)=>{b={},l.forEach((s,n)=>{b[s]=u[t][n]===1}),p.push(b)}),r(o)&&Object.keys(o).length&&p.forEach(e=>{a.forEach(t=>{e[t]=o[t]})}),p}export{R as combinations,D as version};
@@ -1,17 +1,17 @@
1
1
  /**
2
2
  * @name object-boolean-combinations
3
3
  * @fileoverview Consumes a defaults object with booleans, generates all possible variations of it
4
- * @version 6.0.4
4
+ * @version 6.0.5
5
5
  * @author Roy Revelt, Codsen Ltd
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/object-boolean-combinations/}
8
8
  */
9
9
 
10
- "use strict";var objectBooleanCombinations=(()=>{var we=Object.create;var L=Object.defineProperty;var je=Object.getOwnPropertyDescriptor;var xe=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,Ce=Object.prototype.hasOwnProperty;var Q=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ae=(t,e)=>{for(var n in e)L(t,n,{get:e[n],enumerable:!0})},pt=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xe(e))!Ce.call(t,i)&&i!==n&&L(t,i,{get:()=>e[i],enumerable:!(r=je(e,i))||r.enumerable});return t};var V=(t,e,n)=>(n=t!=null?we(Oe(t)):{},pt(e||!t||!t.__esModule?L(n,"default",{value:t,enumerable:!0}):n,t)),Se=t=>pt(L({},"__esModule",{value:!0}),t);var Ct=Q((mi,Ot)=>{var J="__lodash_hash_undefined__",Te=9007199254740991,Ee="[object Function]",Ie="[object GeneratorFunction]",Me=/[\\^$.*+?()[\]{}|]/g,Pe=/^\[object .+?Constructor\]$/,De=typeof global=="object"&&global&&global.Object===Object&&global,Le=typeof self=="object"&&self&&self.Object===Object&&self,_t=De||Le||Function("return this")();function He(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 Re(t,e){var n=t?t.length:0;return!!n&&Ge(t,e,0)>-1}function Fe(t,e,n){for(var r=-1,i=t?t.length:0;++r<i;)if(n(e,t[r]))return!0;return!1}function yt(t,e){for(var n=-1,r=t?t.length:0,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function Ne(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function Ge(t,e,n){if(e!==e)return Ne(t,Ue,n);for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function Ue(t){return t!==t}function Be(t){return function(e){return t(e)}}function dt(t,e){return t.has(e)}function $e(t,e){return t==null?void 0:t[e]}function ke(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch(n){}return e}var We=Array.prototype,Ke=Function.prototype,mt=Object.prototype,q=_t["__core-js_shared__"],gt=function(){var t=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),vt=Ke.toString,X=mt.hasOwnProperty,Qe=mt.toString,Ve=RegExp("^"+vt.call(X).replace(Me,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=We.splice,bt=Math.max,Je=Math.min,Xe=wt(_t,"Map"),E=wt(Object,"create");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 Ye(){this.__data__=E?E(null):{}}function Ze(t){return this.has(t)&&delete this.__data__[t]}function ze(t){var e=this.__data__;if(E){var n=e[t];return n===J?void 0:n}return X.call(e,t)?e[t]:void 0}function tn(t){var e=this.__data__;return E?e[t]!==void 0:X.call(e,t)}function en(t,e){var n=this.__data__;return n[t]=E&&e===void 0?J:e,this}m.prototype.clear=Ye;m.prototype.delete=Ze;m.prototype.get=ze;m.prototype.has=tn;m.prototype.set=en;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 nn(){this.__data__=[]}function rn(t){var e=this.__data__,n=R(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():qe.call(e,n,1),!0}function on(t){var e=this.__data__,n=R(e,t);return n<0?void 0:e[n][1]}function an(t){return R(this.__data__,t)>-1}function sn(t,e){var n=this.__data__,r=R(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}x.prototype.clear=nn;x.prototype.delete=rn;x.prototype.get=on;x.prototype.has=an;x.prototype.set=sn;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 cn(){this.__data__={hash:new m,map:new(Xe||x),string:new m}}function un(t){return F(this,t).delete(t)}function ln(t){return F(this,t).get(t)}function fn(t){return F(this,t).has(t)}function hn(t,e){return F(this,t).set(t,e),this}O.prototype.clear=cn;O.prototype.delete=un;O.prototype.get=ln;O.prototype.has=fn;O.prototype.set=hn;function H(t){var e=-1,n=t?t.length:0;for(this.__data__=new O;++e<n;)this.add(t[e])}function pn(t){return this.__data__.set(t,J),this}function dn(t){return this.__data__.has(t)}H.prototype.add=H.prototype.push=pn;H.prototype.has=dn;function R(t,e){for(var n=t.length;n--;)if(xn(t[n][0],e))return n;return-1}function gn(t,e,n){for(var r=n?Fe:Re,i=t[0].length,o=t.length,a=o,s=Array(o),h=1/0,l=[];a--;){var u=t[a];a&&e&&(u=yt(u,Be(e))),h=Je(u.length,h),s[a]=!n&&(e||i>=120&&u.length>=120)?new H(a&&u):void 0}u=t[0];var d=-1,g=s[0];t:for(;++d<i&&l.length<h;){var f=u[d],p=e?e(f):f;if(f=n||f!==0?f:0,!(g?dt(g,p):r(l,p,n))){for(a=o;--a;){var ht=s[a];if(!(ht?dt(ht,p):r(t[a],p,n)))continue t}g&&g.push(p),l.push(f)}}return l}function bn(t){if(!xt(t)||vn(t))return!1;var e=jt(t)||ke(t)?Ve:Pe;return e.test(wn(t))}function _n(t,e){return e=bt(e===void 0?t.length-1:e,0),function(){for(var n=arguments,r=-1,i=bt(n.length-e,0),o=Array(i);++r<i;)o[r]=n[e+r];r=-1;for(var a=Array(e+1);++r<e;)a[r]=n[r];return a[e]=o,He(t,this,a)}}function yn(t){return Cn(t)?t:[]}function F(t,e){var n=t.__data__;return mn(e)?n[typeof e=="string"?"string":"hash"]:n.map}function wt(t,e){var n=$e(t,e);return bn(n)?n:void 0}function mn(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function vn(t){return!!gt&&gt in t}function wn(t){if(t!=null){try{return vt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var jn=_n(function(t){var e=yt(t,yn);return e.length&&e[0]===t[0]?gn(e):[]});function xn(t,e){return t===e||t!==t&&e!==e}function On(t){return t!=null&&An(t.length)&&!jt(t)}function Cn(t){return Sn(t)&&On(t)}function jt(t){var e=xt(t)?Qe.call(t):"";return e==Ee||e==Ie}function An(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Te}function xt(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Sn(t){return!!t&&typeof t=="object"}Ot.exports=jn});var Et=Q((vi,Tt)=>{function Tn(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 En(t,e){for(var n=-1,r=t?t.length:0,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function In(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function Mn(t,e,n){if(e!==e)return In(t,Dn,n);for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function Pn(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function Dn(t){return t!==t}function Ln(t){return function(e){return t(e)}}var Hn=Array.prototype,At=Hn.splice,St=Math.max;function Rn(t,e,n,r){var i=r?Pn:Mn,o=-1,a=e.length,s=t;for(t===e&&(e=Nn(e)),n&&(s=En(t,Ln(n)));++o<a;)for(var h=0,l=e[o],u=n?n(l):l;(h=i(s,u,h,r))>-1;)s!==t&&At.call(s,h,1),At.call(t,h,1);return t}function Fn(t,e){return e=St(e===void 0?t.length-1:e,0),function(){for(var n=arguments,r=-1,i=St(n.length-e,0),o=Array(i);++r<i;)o[r]=n[e+r];r=-1;for(var a=Array(e+1);++r<e;)a[r]=n[r];return a[e]=o,Tn(t,this,a)}}function Nn(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var Gn=Fn(Un);function Un(t,e){return t&&t.length&&e&&e.length?Rn(t,e):t}Tt.exports=Gn});var _e=Q((M,C)=>{var Bn=200,Bt="__lodash_hash_undefined__",$t=9007199254740991,it="[object Arguments]",$n="[object Array]",kt="[object Boolean]",Wt="[object Date]",kn="[object Error]",ot="[object Function]",Kt="[object GeneratorFunction]",N="[object Map]",Qt="[object Number]",at="[object Object]",It="[object Promise]",Vt="[object RegExp]",G="[object Set]",qt="[object String]",Jt="[object Symbol]",Z="[object WeakMap]",Xt="[object ArrayBuffer]",U="[object DataView]",Yt="[object Float32Array]",Zt="[object Float64Array]",zt="[object Int8Array]",te="[object Int16Array]",ee="[object Int32Array]",ne="[object Uint8Array]",re="[object Uint8ClampedArray]",ie="[object Uint16Array]",oe="[object Uint32Array]",Wn=/[\\^$.*+?()[\]{}|]/g,Kn=/\w*$/,Qn=/^\[object .+?Constructor\]$/,Vn=/^(?:0|[1-9]\d*)$/,c={};c[it]=c[$n]=c[Xt]=c[U]=c[kt]=c[Wt]=c[Yt]=c[Zt]=c[zt]=c[te]=c[ee]=c[N]=c[Qt]=c[at]=c[Vt]=c[G]=c[qt]=c[Jt]=c[ne]=c[re]=c[ie]=c[oe]=!0;c[kn]=c[ot]=c[Z]=!1;var qn=typeof global=="object"&&global&&global.Object===Object&&global,Jn=typeof self=="object"&&self&&self.Object===Object&&self,b=qn||Jn||Function("return this")(),ae=typeof M=="object"&&M&&!M.nodeType&&M,Mt=ae&&typeof C=="object"&&C&&!C.nodeType&&C,Xn=Mt&&Mt.exports===ae;function Yn(t,e){return t.set(e[0],e[1]),t}function Zn(t,e){return t.add(e),t}function zn(t,e){for(var n=-1,r=t?t.length:0;++n<r&&e(t[n],n,t)!==!1;);return t}function tr(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function se(t,e,n,r){var i=-1,o=t?t.length:0;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function er(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function nr(t,e){return t==null?void 0:t[e]}function ce(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch(n){}return e}function Pt(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function st(t,e){return function(n){return t(e(n))}}function Dt(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var rr=Array.prototype,ir=Function.prototype,B=Object.prototype,Y=b["__core-js_shared__"],Lt=function(){var t=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ue=ir.toString,y=B.hasOwnProperty,$=B.toString,or=RegExp("^"+ue.call(y).replace(Wn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ht=Xn?b.Buffer:void 0,Rt=b.Symbol,Ft=b.Uint8Array,ar=st(Object.getPrototypeOf,Object),sr=Object.create,cr=B.propertyIsEnumerable,ur=rr.splice,Nt=Object.getOwnPropertySymbols,lr=Ht?Ht.isBuffer:void 0,fr=st(Object.keys,Object),z=T(b,"DataView"),P=T(b,"Map"),tt=T(b,"Promise"),et=T(b,"Set"),nt=T(b,"WeakMap"),D=T(Object,"create"),hr=j(z),pr=j(P),dr=j(tt),gr=j(et),br=j(nt),Gt=Rt?Rt.prototype:void 0,Ut=Gt?Gt.valueOf:void 0;function w(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 _r(){this.__data__=D?D(null):{}}function yr(t){return this.has(t)&&delete this.__data__[t]}function mr(t){var e=this.__data__;if(D){var n=e[t];return n===Bt?void 0:n}return y.call(e,t)?e[t]:void 0}function vr(t){var e=this.__data__;return D?e[t]!==void 0:y.call(e,t)}function wr(t,e){var n=this.__data__;return n[t]=D&&e===void 0?Bt:e,this}w.prototype.clear=_r;w.prototype.delete=yr;w.prototype.get=mr;w.prototype.has=vr;w.prototype.set=wr;function _(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 jr(){this.__data__=[]}function xr(t){var e=this.__data__,n=k(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():ur.call(e,n,1),!0}function Or(t){var e=this.__data__,n=k(e,t);return n<0?void 0:e[n][1]}function Cr(t){return k(this.__data__,t)>-1}function Ar(t,e){var n=this.__data__,r=k(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}_.prototype.clear=jr;_.prototype.delete=xr;_.prototype.get=Or;_.prototype.has=Cr;_.prototype.set=Ar;function A(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 Sr(){this.__data__={hash:new w,map:new(P||_),string:new w}}function Tr(t){return W(this,t).delete(t)}function Er(t){return W(this,t).get(t)}function Ir(t){return W(this,t).has(t)}function Mr(t,e){return W(this,t).set(t,e),this}A.prototype.clear=Sr;A.prototype.delete=Tr;A.prototype.get=Er;A.prototype.has=Ir;A.prototype.set=Mr;function S(t){this.__data__=new _(t)}function Pr(){this.__data__=new _}function Dr(t){return this.__data__.delete(t)}function Lr(t){return this.__data__.get(t)}function Hr(t){return this.__data__.has(t)}function Rr(t,e){var n=this.__data__;if(n instanceof _){var r=n.__data__;if(!P||r.length<Bn-1)return r.push([t,e]),this;n=this.__data__=new A(r)}return n.set(t,e),this}S.prototype.clear=Pr;S.prototype.delete=Dr;S.prototype.get=Lr;S.prototype.has=Hr;S.prototype.set=Rr;function Fr(t,e){var n=ut(t)||si(t)?er(t.length,String):[],r=n.length,i=!!r;for(var o in t)(e||y.call(t,o))&&!(i&&(o=="length"||ri(o,r)))&&n.push(o);return n}function le(t,e,n){var r=t[e];(!(y.call(t,e)&&de(r,n))||n===void 0&&!(e in t))&&(t[e]=n)}function k(t,e){for(var n=t.length;n--;)if(de(t[n][0],e))return n;return-1}function Nr(t,e){return t&&fe(e,lt(e),t)}function rt(t,e,n,r,i,o,a){var s;if(r&&(s=o?r(t,i,o,a):r(t)),s!==void 0)return s;if(!K(t))return t;var h=ut(t);if(h){if(s=ti(t),!e)return Yr(t,s)}else{var l=v(t),u=l==ot||l==Kt;if(ui(t))return Wr(t,e);if(l==at||l==it||u&&!o){if(ce(t))return o?t:{};if(s=ei(u?{}:t),!e)return Zr(t,Nr(s,t))}else{if(!c[l])return o?t:{};s=ni(t,l,rt,e)}}a||(a=new S);var d=a.get(t);if(d)return d;if(a.set(t,s),!h)var g=n?zr(t):lt(t);return zn(g||t,function(f,p){g&&(p=f,f=t[p]),le(s,p,rt(f,e,n,r,p,t,a))}),s}function Gr(t){return K(t)?sr(t):{}}function Ur(t,e,n){var r=e(t);return ut(t)?r:tr(r,n(t))}function Br(t){return $.call(t)}function $r(t){if(!K(t)||oi(t))return!1;var e=be(t)||ce(t)?or:Qn;return e.test(j(t))}function kr(t){if(!pe(t))return fr(t);var e=[];for(var n in Object(t))y.call(t,n)&&n!="constructor"&&e.push(n);return e}function Wr(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}function ct(t){var e=new t.constructor(t.byteLength);return new Ft(e).set(new Ft(t)),e}function Kr(t,e){var n=e?ct(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Qr(t,e,n){var r=e?n(Pt(t),!0):Pt(t);return se(r,Yn,new t.constructor)}function Vr(t){var e=new t.constructor(t.source,Kn.exec(t));return e.lastIndex=t.lastIndex,e}function qr(t,e,n){var r=e?n(Dt(t),!0):Dt(t);return se(r,Zn,new t.constructor)}function Jr(t){return Ut?Object(Ut.call(t)):{}}function Xr(t,e){var n=e?ct(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Yr(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}function fe(t,e,n,r){n||(n={});for(var i=-1,o=e.length;++i<o;){var a=e[i],s=r?r(n[a],t[a],a,n,t):void 0;le(n,a,s===void 0?t[a]:s)}return n}function Zr(t,e){return fe(t,he(t),e)}function zr(t){return Ur(t,lt,he)}function W(t,e){var n=t.__data__;return ii(e)?n[typeof e=="string"?"string":"hash"]:n.map}function T(t,e){var n=nr(t,e);return $r(n)?n:void 0}var he=Nt?st(Nt,Object):hi,v=Br;(z&&v(new z(new ArrayBuffer(1)))!=U||P&&v(new P)!=N||tt&&v(tt.resolve())!=It||et&&v(new et)!=G||nt&&v(new nt)!=Z)&&(v=function(t){var e=$.call(t),n=e==at?t.constructor:void 0,r=n?j(n):void 0;if(r)switch(r){case hr:return U;case pr:return N;case dr:return It;case gr:return G;case br:return Z}return e});function ti(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 ei(t){return typeof t.constructor=="function"&&!pe(t)?Gr(ar(t)):{}}function ni(t,e,n,r){var i=t.constructor;switch(e){case Xt:return ct(t);case kt:case Wt:return new i(+t);case U:return Kr(t,r);case Yt:case Zt:case zt:case te:case ee:case ne:case re:case ie:case oe:return Xr(t,r);case N:return Qr(t,r,n);case Qt:case qt:return new i(t);case Vt:return Vr(t);case G:return qr(t,r,n);case Jt:return Jr(t)}}function ri(t,e){return e=e==null?$t:e,!!e&&(typeof t=="number"||Vn.test(t))&&t>-1&&t%1==0&&t<e}function ii(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function oi(t){return!!Lt&&Lt in t}function pe(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||B;return t===n}function j(t){if(t!=null){try{return ue.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function ai(t){return rt(t,!0,!0)}function de(t,e){return t===e||t!==t&&e!==e}function si(t){return ci(t)&&y.call(t,"callee")&&(!cr.call(t,"callee")||$.call(t)==it)}var ut=Array.isArray;function ge(t){return t!=null&&li(t.length)&&!be(t)}function ci(t){return fi(t)&&ge(t)}var ui=lr||pi;function be(t){var e=K(t)?$.call(t):"";return e==ot||e==Kt}function li(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=$t}function K(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function fi(t){return!!t&&typeof t=="object"}function lt(t){return ge(t)?Fr(t):kr(t)}function hi(){return[]}function pi(){return!1}C.exports=ai});var _i={};Ae(_i,{combinations:()=>bi,version:()=>gi});var me=V(Ct(),1),ve=V(Et(),1);function I(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 ft=V(_e(),1);var ye="6.0.4";var gi=ye;function bi(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(!I(t))throw new Error("[THROW_ID_02] the first input object must be a true object");if(e&&!I(e))throw new Error("[THROW_ID_03] the second override object must be a true object");let r=(0,ft.default)(t),i=(0,ft.default)(e),o=Object.keys(r),a=[],s=[];I(i)&&Object.keys(i).length&&(s=(0,me.default)(Object.keys(i),Object.keys(r)),s.forEach(u=>(0,ve.default)(o,u)));let h=n(Object.keys(o).length),l;return h.forEach((u,d)=>{l={},o.forEach((g,f)=>{l[g]=h[d][f]===1}),a.push(l)}),I(i)&&Object.keys(i).length&&a.forEach(u=>{s.forEach(d=>{u[d]=i[d]})}),a}return Se(_i);})();
10
+ "use strict";var objectBooleanCombinations=(()=>{var je=Object.create;var L=Object.defineProperty;var we=Object.getOwnPropertyDescriptor;var xe=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,Ce=Object.prototype.hasOwnProperty;var Q=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ae=(t,e)=>{for(var n in e)L(t,n,{get:e[n],enumerable:!0})},pt=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xe(e))!Ce.call(t,i)&&i!==n&&L(t,i,{get:()=>e[i],enumerable:!(r=we(e,i))||r.enumerable});return t};var V=(t,e,n)=>(n=t!=null?je(Oe(t)):{},pt(e||!t||!t.__esModule?L(n,"default",{value:t,enumerable:!0}):n,t)),Se=t=>pt(L({},"__esModule",{value:!0}),t);var Ct=Q((mi,Ot)=>{var J="__lodash_hash_undefined__",Te=9007199254740991,Ee="[object Function]",Ie="[object GeneratorFunction]",Me=/[\\^$.*+?()[\]{}|]/g,Pe=/^\[object .+?Constructor\]$/,De=typeof global=="object"&&global&&global.Object===Object&&global,Le=typeof self=="object"&&self&&self.Object===Object&&self,_t=De||Le||Function("return this")();function He(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 Re(t,e){var n=t?t.length:0;return!!n&&Ge(t,e,0)>-1}function Fe(t,e,n){for(var r=-1,i=t?t.length:0;++r<i;)if(n(e,t[r]))return!0;return!1}function yt(t,e){for(var n=-1,r=t?t.length:0,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function Ne(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function Ge(t,e,n){if(e!==e)return Ne(t,Ue,n);for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function Ue(t){return t!==t}function Be(t){return function(e){return t(e)}}function dt(t,e){return t.has(e)}function $e(t,e){return t==null?void 0:t[e]}function ke(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch(n){}return e}var We=Array.prototype,Ke=Function.prototype,mt=Object.prototype,q=_t["__core-js_shared__"],gt=function(){var t=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),vt=Ke.toString,X=mt.hasOwnProperty,Qe=mt.toString,Ve=RegExp("^"+vt.call(X).replace(Me,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=We.splice,bt=Math.max,Je=Math.min,Xe=jt(_t,"Map"),E=jt(Object,"create");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 Ye(){this.__data__=E?E(null):{}}function Ze(t){return this.has(t)&&delete this.__data__[t]}function ze(t){var e=this.__data__;if(E){var n=e[t];return n===J?void 0:n}return X.call(e,t)?e[t]:void 0}function tn(t){var e=this.__data__;return E?e[t]!==void 0:X.call(e,t)}function en(t,e){var n=this.__data__;return n[t]=E&&e===void 0?J:e,this}m.prototype.clear=Ye;m.prototype.delete=Ze;m.prototype.get=ze;m.prototype.has=tn;m.prototype.set=en;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 nn(){this.__data__=[]}function rn(t){var e=this.__data__,n=R(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():qe.call(e,n,1),!0}function on(t){var e=this.__data__,n=R(e,t);return n<0?void 0:e[n][1]}function an(t){return R(this.__data__,t)>-1}function sn(t,e){var n=this.__data__,r=R(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}x.prototype.clear=nn;x.prototype.delete=rn;x.prototype.get=on;x.prototype.has=an;x.prototype.set=sn;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 cn(){this.__data__={hash:new m,map:new(Xe||x),string:new m}}function un(t){return F(this,t).delete(t)}function ln(t){return F(this,t).get(t)}function fn(t){return F(this,t).has(t)}function hn(t,e){return F(this,t).set(t,e),this}O.prototype.clear=cn;O.prototype.delete=un;O.prototype.get=ln;O.prototype.has=fn;O.prototype.set=hn;function H(t){var e=-1,n=t?t.length:0;for(this.__data__=new O;++e<n;)this.add(t[e])}function pn(t){return this.__data__.set(t,J),this}function dn(t){return this.__data__.has(t)}H.prototype.add=H.prototype.push=pn;H.prototype.has=dn;function R(t,e){for(var n=t.length;n--;)if(xn(t[n][0],e))return n;return-1}function gn(t,e,n){for(var r=n?Fe:Re,i=t[0].length,o=t.length,a=o,s=Array(o),h=1/0,l=[];a--;){var u=t[a];a&&e&&(u=yt(u,Be(e))),h=Je(u.length,h),s[a]=!n&&(e||i>=120&&u.length>=120)?new H(a&&u):void 0}u=t[0];var d=-1,g=s[0];t:for(;++d<i&&l.length<h;){var f=u[d],p=e?e(f):f;if(f=n||f!==0?f:0,!(g?dt(g,p):r(l,p,n))){for(a=o;--a;){var ht=s[a];if(!(ht?dt(ht,p):r(t[a],p,n)))continue t}g&&g.push(p),l.push(f)}}return l}function bn(t){if(!xt(t)||vn(t))return!1;var e=wt(t)||ke(t)?Ve:Pe;return e.test(jn(t))}function _n(t,e){return e=bt(e===void 0?t.length-1:e,0),function(){for(var n=arguments,r=-1,i=bt(n.length-e,0),o=Array(i);++r<i;)o[r]=n[e+r];r=-1;for(var a=Array(e+1);++r<e;)a[r]=n[r];return a[e]=o,He(t,this,a)}}function yn(t){return Cn(t)?t:[]}function F(t,e){var n=t.__data__;return mn(e)?n[typeof e=="string"?"string":"hash"]:n.map}function jt(t,e){var n=$e(t,e);return bn(n)?n:void 0}function mn(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function vn(t){return!!gt&&gt in t}function jn(t){if(t!=null){try{return vt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var wn=_n(function(t){var e=yt(t,yn);return e.length&&e[0]===t[0]?gn(e):[]});function xn(t,e){return t===e||t!==t&&e!==e}function On(t){return t!=null&&An(t.length)&&!wt(t)}function Cn(t){return Sn(t)&&On(t)}function wt(t){var e=xt(t)?Qe.call(t):"";return e==Ee||e==Ie}function An(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Te}function xt(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Sn(t){return!!t&&typeof t=="object"}Ot.exports=wn});var Et=Q((vi,Tt)=>{function Tn(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 En(t,e){for(var n=-1,r=t?t.length:0,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function In(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function Mn(t,e,n){if(e!==e)return In(t,Dn,n);for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function Pn(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function Dn(t){return t!==t}function Ln(t){return function(e){return t(e)}}var Hn=Array.prototype,At=Hn.splice,St=Math.max;function Rn(t,e,n,r){var i=r?Pn:Mn,o=-1,a=e.length,s=t;for(t===e&&(e=Nn(e)),n&&(s=En(t,Ln(n)));++o<a;)for(var h=0,l=e[o],u=n?n(l):l;(h=i(s,u,h,r))>-1;)s!==t&&At.call(s,h,1),At.call(t,h,1);return t}function Fn(t,e){return e=St(e===void 0?t.length-1:e,0),function(){for(var n=arguments,r=-1,i=St(n.length-e,0),o=Array(i);++r<i;)o[r]=n[e+r];r=-1;for(var a=Array(e+1);++r<e;)a[r]=n[r];return a[e]=o,Tn(t,this,a)}}function Nn(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var Gn=Fn(Un);function Un(t,e){return t&&t.length&&e&&e.length?Rn(t,e):t}Tt.exports=Gn});var _e=Q((M,C)=>{var Bn=200,Bt="__lodash_hash_undefined__",$t=9007199254740991,it="[object Arguments]",$n="[object Array]",kt="[object Boolean]",Wt="[object Date]",kn="[object Error]",ot="[object Function]",Kt="[object GeneratorFunction]",N="[object Map]",Qt="[object Number]",at="[object Object]",It="[object Promise]",Vt="[object RegExp]",G="[object Set]",qt="[object String]",Jt="[object Symbol]",Z="[object WeakMap]",Xt="[object ArrayBuffer]",U="[object DataView]",Yt="[object Float32Array]",Zt="[object Float64Array]",zt="[object Int8Array]",te="[object Int16Array]",ee="[object Int32Array]",ne="[object Uint8Array]",re="[object Uint8ClampedArray]",ie="[object Uint16Array]",oe="[object Uint32Array]",Wn=/[\\^$.*+?()[\]{}|]/g,Kn=/\w*$/,Qn=/^\[object .+?Constructor\]$/,Vn=/^(?:0|[1-9]\d*)$/,c={};c[it]=c[$n]=c[Xt]=c[U]=c[kt]=c[Wt]=c[Yt]=c[Zt]=c[zt]=c[te]=c[ee]=c[N]=c[Qt]=c[at]=c[Vt]=c[G]=c[qt]=c[Jt]=c[ne]=c[re]=c[ie]=c[oe]=!0;c[kn]=c[ot]=c[Z]=!1;var qn=typeof global=="object"&&global&&global.Object===Object&&global,Jn=typeof self=="object"&&self&&self.Object===Object&&self,b=qn||Jn||Function("return this")(),ae=typeof M=="object"&&M&&!M.nodeType&&M,Mt=ae&&typeof C=="object"&&C&&!C.nodeType&&C,Xn=Mt&&Mt.exports===ae;function Yn(t,e){return t.set(e[0],e[1]),t}function Zn(t,e){return t.add(e),t}function zn(t,e){for(var n=-1,r=t?t.length:0;++n<r&&e(t[n],n,t)!==!1;);return t}function tr(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function se(t,e,n,r){var i=-1,o=t?t.length:0;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function er(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function nr(t,e){return t==null?void 0:t[e]}function ce(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch(n){}return e}function Pt(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function st(t,e){return function(n){return t(e(n))}}function Dt(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var rr=Array.prototype,ir=Function.prototype,B=Object.prototype,Y=b["__core-js_shared__"],Lt=function(){var t=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ue=ir.toString,y=B.hasOwnProperty,$=B.toString,or=RegExp("^"+ue.call(y).replace(Wn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ht=Xn?b.Buffer:void 0,Rt=b.Symbol,Ft=b.Uint8Array,ar=st(Object.getPrototypeOf,Object),sr=Object.create,cr=B.propertyIsEnumerable,ur=rr.splice,Nt=Object.getOwnPropertySymbols,lr=Ht?Ht.isBuffer:void 0,fr=st(Object.keys,Object),z=T(b,"DataView"),P=T(b,"Map"),tt=T(b,"Promise"),et=T(b,"Set"),nt=T(b,"WeakMap"),D=T(Object,"create"),hr=w(z),pr=w(P),dr=w(tt),gr=w(et),br=w(nt),Gt=Rt?Rt.prototype:void 0,Ut=Gt?Gt.valueOf:void 0;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 _r(){this.__data__=D?D(null):{}}function yr(t){return this.has(t)&&delete this.__data__[t]}function mr(t){var e=this.__data__;if(D){var n=e[t];return n===Bt?void 0:n}return y.call(e,t)?e[t]:void 0}function vr(t){var e=this.__data__;return D?e[t]!==void 0:y.call(e,t)}function jr(t,e){var n=this.__data__;return n[t]=D&&e===void 0?Bt:e,this}j.prototype.clear=_r;j.prototype.delete=yr;j.prototype.get=mr;j.prototype.has=vr;j.prototype.set=jr;function _(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 xr(t){var e=this.__data__,n=k(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():ur.call(e,n,1),!0}function Or(t){var e=this.__data__,n=k(e,t);return n<0?void 0:e[n][1]}function Cr(t){return k(this.__data__,t)>-1}function Ar(t,e){var n=this.__data__,r=k(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}_.prototype.clear=wr;_.prototype.delete=xr;_.prototype.get=Or;_.prototype.has=Cr;_.prototype.set=Ar;function A(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 Sr(){this.__data__={hash:new j,map:new(P||_),string:new j}}function Tr(t){return W(this,t).delete(t)}function Er(t){return W(this,t).get(t)}function Ir(t){return W(this,t).has(t)}function Mr(t,e){return W(this,t).set(t,e),this}A.prototype.clear=Sr;A.prototype.delete=Tr;A.prototype.get=Er;A.prototype.has=Ir;A.prototype.set=Mr;function S(t){this.__data__=new _(t)}function Pr(){this.__data__=new _}function Dr(t){return this.__data__.delete(t)}function Lr(t){return this.__data__.get(t)}function Hr(t){return this.__data__.has(t)}function Rr(t,e){var n=this.__data__;if(n instanceof _){var r=n.__data__;if(!P||r.length<Bn-1)return r.push([t,e]),this;n=this.__data__=new A(r)}return n.set(t,e),this}S.prototype.clear=Pr;S.prototype.delete=Dr;S.prototype.get=Lr;S.prototype.has=Hr;S.prototype.set=Rr;function Fr(t,e){var n=ut(t)||si(t)?er(t.length,String):[],r=n.length,i=!!r;for(var o in t)(e||y.call(t,o))&&!(i&&(o=="length"||ri(o,r)))&&n.push(o);return n}function le(t,e,n){var r=t[e];(!(y.call(t,e)&&de(r,n))||n===void 0&&!(e in t))&&(t[e]=n)}function k(t,e){for(var n=t.length;n--;)if(de(t[n][0],e))return n;return-1}function Nr(t,e){return t&&fe(e,lt(e),t)}function rt(t,e,n,r,i,o,a){var s;if(r&&(s=o?r(t,i,o,a):r(t)),s!==void 0)return s;if(!K(t))return t;var h=ut(t);if(h){if(s=ti(t),!e)return Yr(t,s)}else{var l=v(t),u=l==ot||l==Kt;if(ui(t))return Wr(t,e);if(l==at||l==it||u&&!o){if(ce(t))return o?t:{};if(s=ei(u?{}:t),!e)return Zr(t,Nr(s,t))}else{if(!c[l])return o?t:{};s=ni(t,l,rt,e)}}a||(a=new S);var d=a.get(t);if(d)return d;if(a.set(t,s),!h)var g=n?zr(t):lt(t);return zn(g||t,function(f,p){g&&(p=f,f=t[p]),le(s,p,rt(f,e,n,r,p,t,a))}),s}function Gr(t){return K(t)?sr(t):{}}function Ur(t,e,n){var r=e(t);return ut(t)?r:tr(r,n(t))}function Br(t){return $.call(t)}function $r(t){if(!K(t)||oi(t))return!1;var e=be(t)||ce(t)?or:Qn;return e.test(w(t))}function kr(t){if(!pe(t))return fr(t);var e=[];for(var n in Object(t))y.call(t,n)&&n!="constructor"&&e.push(n);return e}function Wr(t,e){if(e)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}function ct(t){var e=new t.constructor(t.byteLength);return new Ft(e).set(new Ft(t)),e}function Kr(t,e){var n=e?ct(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Qr(t,e,n){var r=e?n(Pt(t),!0):Pt(t);return se(r,Yn,new t.constructor)}function Vr(t){var e=new t.constructor(t.source,Kn.exec(t));return e.lastIndex=t.lastIndex,e}function qr(t,e,n){var r=e?n(Dt(t),!0):Dt(t);return se(r,Zn,new t.constructor)}function Jr(t){return Ut?Object(Ut.call(t)):{}}function Xr(t,e){var n=e?ct(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Yr(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}function fe(t,e,n,r){n||(n={});for(var i=-1,o=e.length;++i<o;){var a=e[i],s=r?r(n[a],t[a],a,n,t):void 0;le(n,a,s===void 0?t[a]:s)}return n}function Zr(t,e){return fe(t,he(t),e)}function zr(t){return Ur(t,lt,he)}function W(t,e){var n=t.__data__;return ii(e)?n[typeof e=="string"?"string":"hash"]:n.map}function T(t,e){var n=nr(t,e);return $r(n)?n:void 0}var he=Nt?st(Nt,Object):hi,v=Br;(z&&v(new z(new ArrayBuffer(1)))!=U||P&&v(new P)!=N||tt&&v(tt.resolve())!=It||et&&v(new et)!=G||nt&&v(new nt)!=Z)&&(v=function(t){var e=$.call(t),n=e==at?t.constructor:void 0,r=n?w(n):void 0;if(r)switch(r){case hr:return U;case pr:return N;case dr:return It;case gr:return G;case br:return Z}return e});function ti(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 ei(t){return typeof t.constructor=="function"&&!pe(t)?Gr(ar(t)):{}}function ni(t,e,n,r){var i=t.constructor;switch(e){case Xt:return ct(t);case kt:case Wt:return new i(+t);case U:return Kr(t,r);case Yt:case Zt:case zt:case te:case ee:case ne:case re:case ie:case oe:return Xr(t,r);case N:return Qr(t,r,n);case Qt:case qt:return new i(t);case Vt:return Vr(t);case G:return qr(t,r,n);case Jt:return Jr(t)}}function ri(t,e){return e=e==null?$t:e,!!e&&(typeof t=="number"||Vn.test(t))&&t>-1&&t%1==0&&t<e}function ii(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function oi(t){return!!Lt&&Lt in t}function pe(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||B;return t===n}function w(t){if(t!=null){try{return ue.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function ai(t){return rt(t,!0,!0)}function de(t,e){return t===e||t!==t&&e!==e}function si(t){return ci(t)&&y.call(t,"callee")&&(!cr.call(t,"callee")||$.call(t)==it)}var ut=Array.isArray;function ge(t){return t!=null&&li(t.length)&&!be(t)}function ci(t){return fi(t)&&ge(t)}var ui=lr||pi;function be(t){var e=K(t)?$.call(t):"";return e==ot||e==Kt}function li(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=$t}function K(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function fi(t){return!!t&&typeof t=="object"}function lt(t){return ge(t)?Fr(t):kr(t)}function hi(){return[]}function pi(){return!1}C.exports=ai});var _i={};Ae(_i,{combinations:()=>bi,version:()=>gi});var me=V(Ct(),1),ve=V(Et(),1);function I(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 ft=V(_e(),1);var ye="6.0.5";var gi=ye;function bi(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(!I(t))throw new Error("[THROW_ID_02] the first input object must be a true object");if(e&&!I(e))throw new Error("[THROW_ID_03] the second override object must be a true object");let r=(0,ft.default)(t),i=(0,ft.default)(e),o=Object.keys(r),a=[],s=[];I(i)&&Object.keys(i).length&&(s=(0,me.default)(Object.keys(i),Object.keys(r)),s.forEach(u=>(0,ve.default)(o,u)));let h=n(Object.keys(o).length),l;return h.forEach((u,d)=>{l={},o.forEach((g,f)=>{l[g]=h[d][f]===1}),a.push(l)}),I(i)&&Object.keys(i).length&&a.forEach(u=>{s.forEach(d=>{u[d]=i[d]})}),a}return Se(_i);})();
11
11
  /**
12
12
  * @name codsen-utils
13
13
  * @fileoverview Various utility functions
14
- * @version 1.1.0
14
+ * @version 1.1.1
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-boolean-combinations",
3
- "version": "6.0.4",
3
+ "version": "6.0.5",
4
4
  "description": "Consumes a defaults object with booleans, generates all possible variations of it",
5
5
  "keywords": [
6
6
  "all",
@@ -67,7 +67,7 @@
67
67
  }
68
68
  },
69
69
  "dependencies": {
70
- "codsen-utils": "^1.1.0",
70
+ "codsen-utils": "^1.1.1",
71
71
  "lodash.clonedeep": "^4.5.0",
72
72
  "lodash.intersection": "^4.4.0",
73
73
  "lodash.pull": "^4.1.0"