object-fill-missing-keys 11.2.3 → 11.2.4

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/README.md CHANGED
@@ -21,6 +21,8 @@
21
21
  <img src="https://img.shields.io/badge/licence-MIT-brightgreen.svg?style=flat-square" alt="MIT Licence">
22
22
  </p>
23
23
 
24
+ **No 3rd party dependencies.** All dependencies, checked recursively, are Codsen packages.
25
+
24
26
  ## Install
25
27
 
26
28
  This package is [pure ESM](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). If you're not ready yet, install an older version of this program, 8.1.0 (`npm i object-fill-missing-keys@8.1.0`).
@@ -62,7 +64,7 @@ assert.deepEqual(
62
64
 
63
65
  ## Documentation
64
66
 
65
- Please [visit codsen.com](https://codsen.com/os/object-fill-missing-keys/) for a full description of the API. If you’re looking for the **Changelog**, it’s [here](https://github.com/codsen/codsen/blob/main/packages/object-fill-missing-keys/CHANGELOG.md).
67
+ Please [visit codsen.com](https://codsen.com/os/object-fill-missing-keys/) for a full description of the API. For **Changelog**, see [raw md on GitHub](https://github.com/codsen/codsen/blob/main/packages/object-fill-missing-keys/CHANGELOG.md) or [the website](https://codsen.com/os/object-fill-missing-keys/changelog).
66
68
 
67
69
  ## Contributing
68
70
 
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * @name object-fill-missing-keys
3
3
  * @fileoverview Add missing keys into plain objects, according to a reference object
4
- * @version 11.2.3
4
+ * @version 11.2.4
5
5
  * @author Roy Revelt
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/object-fill-missing-keys/}
8
8
  */
9
9
 
10
- import{arrayiffy as h}from"arrayiffy-if-string";import{deepClone as g,existy as f,formatDiagnosticValue as u,isPlainObject as a,isStr as j}from"codsen-utils";import{allEq as d}from"object-all-values-equal-to";import{mergeAdvanced as O}from"object-merge-advanced";var m="11.2.3";var I=m,T={placeholder:!1,doNotFillThesePathsIfTheyContainPlaceholders:[],useNullAsExplicitFalse:!0};function c(r){return a(r)?"plain object":Array.isArray(r)?"array":typeof r}function p(r,s,i,l,n=""){let e=r;if(f(e)||!(n.length&&l.has(n)&&d(e,i.placeholder)))if(a(s)&&a(e))Object.keys(s).forEach(t=>{let o=`${n?`${n}.`:""}${t}`;l.has(o)&&(f(e[t])?d(e[t],i.placeholder)&&(e[t]=i.placeholder):e[t]=i.placeholder),(!f(e[t])||!(l.has(o)&&d(e[t],i.placeholder)))&&(e[t]=p(e[t],s[t],i,l,o))});else if(Array.isArray(s)&&Array.isArray(e)){if(e.length===0)return g(s);if(s.length)for(let t=e.length;t--;){let o=`${n?`${n}.`:""}0`;(a(s[0])||Array.isArray(s[0]))&&(e[t]=p(e[t],s[0],i,l,o))}}else return O(s,e,{useNullAsExplicitFalse:i.useNullAsExplicitFalse,cb:(t,o,y)=>c(t)===c(o)?o:y});return e}function P(r,s,i){if(arguments.length===0)throw new Error("object-fill-missing-keys/fillMissing(): [THROW_ID_01] All arguments are missing!");if(!a(r))throw new Error(`object-fill-missing-keys/fillMissing(): [THROW_ID_02] First argument, input object must be a plain object. Currently it's type is "${c(r)}" and it's equal to: ${u(r,4)}`);if(!a(s))throw new Error(`object-fill-missing-keys/fillMissing(): [THROW_ID_03] Second argument, schema object, must be a plain object. Currently it's type is "${c(s)}" and it's equal to: ${u(s,4)}`);if(i&&!a(i))throw new Error(`object-fill-missing-keys/fillMissing(): [THROW_ID_04] Third argument, schema object, must be a plain object. Currently it's type is "${c(i)}" and it's equal to: ${u(i,4)}`);let l={...T,...i};l.doNotFillThesePathsIfTheyContainPlaceholders=h(l.doNotFillThesePathsIfTheyContainPlaceholders);let n=null,e=null;if(l.doNotFillThesePathsIfTheyContainPlaceholders.length&&!l.doNotFillThesePathsIfTheyContainPlaceholders.every((t,o)=>j(t)?!0:(n=t,e=o,!1)))throw new Error(`object-fill-missing-keys/fillMissing(): [THROW_ID_05] resolvedOpts.doNotFillThesePathsIfTheyContainPlaceholders element with an index number "${e}" is not a string! It's ${c(n)}, equal to:
10
+ import{arrayiffy as h}from"arrayiffy-if-string";import{deepClone as g,existy as f,formatDiagnosticValue as u,isPlainObject as a,isStr as j}from"codsen-utils";import{allEq as d}from"object-all-values-equal-to";import{mergeAdvanced as O}from"object-merge-advanced";var m="11.2.4";var I=m,T={placeholder:!1,doNotFillThesePathsIfTheyContainPlaceholders:[],useNullAsExplicitFalse:!0};function c(r){return a(r)?"plain object":Array.isArray(r)?"array":typeof r}function p(r,s,i,l,n=""){let e=r;if(f(e)||!(n.length&&l.has(n)&&d(e,i.placeholder)))if(a(s)&&a(e))Object.keys(s).forEach(t=>{let o=`${n?`${n}.`:""}${t}`;l.has(o)&&(f(e[t])?d(e[t],i.placeholder)&&(e[t]=i.placeholder):e[t]=i.placeholder),(!f(e[t])||!(l.has(o)&&d(e[t],i.placeholder)))&&(e[t]=p(e[t],s[t],i,l,o))});else if(Array.isArray(s)&&Array.isArray(e)){if(e.length===0)return g(s);if(s.length)for(let t=e.length;t--;){let o=`${n?`${n}.`:""}0`;(a(s[0])||Array.isArray(s[0]))&&(e[t]=p(e[t],s[0],i,l,o))}}else return O(s,e,{useNullAsExplicitFalse:i.useNullAsExplicitFalse,cb:(t,o,y)=>c(t)===c(o)?o:y});return e}function P(r,s,i){if(arguments.length===0)throw new Error("object-fill-missing-keys/fillMissing(): [THROW_ID_01] All arguments are missing!");if(!a(r))throw new Error(`object-fill-missing-keys/fillMissing(): [THROW_ID_02] First argument, input object must be a plain object. Currently it's type is "${c(r)}" and it's equal to: ${u(r,4)}`);if(!a(s))throw new Error(`object-fill-missing-keys/fillMissing(): [THROW_ID_03] Second argument, schema object, must be a plain object. Currently it's type is "${c(s)}" and it's equal to: ${u(s,4)}`);if(i&&!a(i))throw new Error(`object-fill-missing-keys/fillMissing(): [THROW_ID_04] Third argument, schema object, must be a plain object. Currently it's type is "${c(i)}" and it's equal to: ${u(i,4)}`);let l={...T,...i};l.doNotFillThesePathsIfTheyContainPlaceholders=h(l.doNotFillThesePathsIfTheyContainPlaceholders);let n=null,e=null;if(l.doNotFillThesePathsIfTheyContainPlaceholders.length&&!l.doNotFillThesePathsIfTheyContainPlaceholders.every((t,o)=>j(t)?!0:(n=t,e=o,!1)))throw new Error(`object-fill-missing-keys/fillMissing(): [THROW_ID_05] resolvedOpts.doNotFillThesePathsIfTheyContainPlaceholders element with an index number "${e}" is not a string! It's ${c(n)}, equal to:
11
11
  ${u(n,4)}`);return p(g(r),s,l,new Set(l.doNotFillThesePathsIfTheyContainPlaceholders))}export{T as defaults,P as fillMissing,I as version};
@@ -1,17 +1,17 @@
1
1
  /**
2
2
  * @name object-fill-missing-keys
3
3
  * @fileoverview Add missing keys into plain objects, according to a reference object
4
- * @version 11.2.3
4
+ * @version 11.2.4
5
5
  * @author Roy Revelt
6
6
  * @license MIT
7
7
  * {@link https://codsen.com/os/object-fill-missing-keys/}
8
8
  */
9
9
 
10
- "use strict";var objectFillMissingKeys=(()=>{var K=Object.defineProperty,Xe=Object.defineProperties,Ye=Object.getOwnPropertyDescriptor,et=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertyNames,Oe=Object.getOwnPropertySymbols;var je=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable;var te=(e,t,r)=>t in e?K(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,E=(e,t)=>{for(var r in t||(t={}))je.call(t,r)&&te(e,r,t[r]);if(Oe)for(var r of Oe(t))rt.call(t,r)&&te(e,r,t[r]);return e},q=(e,t)=>Xe(e,et(t));var nt=(e,t)=>{for(var r in t)K(e,r,{get:t[r],enumerable:!0})},_t=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of tt(t))!je.call(e,_)&&_!==r&&K(e,_,{get:()=>t[_],enumerable:!(n=Ye(t,_))||n.enumerable});return e};var it=e=>_t(K({},"__esModule",{value:!0}),e);var V=(e,t,r)=>te(e,typeof t!="symbol"?t+"":t,r);var Lt={};nt(Lt,{defaults:()=>Ze,fillMissing:()=>Ut,version:()=>qt});function we(e){return typeof e!="string"?e:e.length?[e]:[]}function ot(){let e=[],t=0,r=!1;return{append(n){return r?!1:t+n.length>1999?(e.push("\u2026"),t+=1,r=!0,!1):(e.push(n),t+=n.length,!0)},result(){return e.join("")},stopped(){return r}}}function lt(e){return"\\u".concat(e.toString(16).padStart(4,"0"))}function U(e,t){if(e.append('"')){for(let r=0;r<t.length&&!e.stopped();r+=1){let n=t.charCodeAt(r);n===34?e.append('\\"'):n===92?e.append("\\\\"):n===8?e.append("\\b"):n===9?e.append("\\t"):n===10?e.append("\\n"):n===12?e.append("\\f"):n===13?e.append("\\r"):n<32||n===8232||n===8233||n>=55296&&n<=57343?e.append(lt(n)):e.append(t[r])}e.append('"')}}function st(e){return e.get&&e.set?"[Getter/Setter]":e.get?"[Getter]":e.set?"[Setter]":"[Accessor]"}function Te(e,t){e.append("Symbol(");let r=String(t);r.length>8&&U(e,r.slice(7,-1)),e.append(")")}function Ae(e,t){typeof t=="symbol"?Te(e,t):U(e,String(t))}function O(e,t=0){let r=ot(),n=t===4?4:0,_=new WeakSet,i=0;function o(a){n&&r.append(" ".repeat(a*n))}function g(a,h){a&&r.append(","),n&&(r.append("\n"),o(h+1))}function s(a,h,m){n&&h&&(r.append("\n"),o(m)),r.append(a)}function d(a,h){Object.prototype.hasOwnProperty.call(a,"value")?j(a.value,h):r.append(st(a))}function w(a,h){let m;try{m=Reflect.getOwnPropertyDescriptor(a,"length")}catch(c){r.append("[Uninspectable]");return}let p=m==null?void 0:m.value;if(!Number.isSafeInteger(p)||p<0){r.append("[Uninspectable]");return}r.append("[");let y=!1;for(let c=0;c<p&&!r.stopped();c+=1){if(g(y,h),y=!0,i>=50){r.append("[MaxEntries]");break}i+=1;let b;try{b=Reflect.getOwnPropertyDescriptor(a,String(c))}catch(T){r.append("[Uninspectable]");continue}b!=null&&b.enumerable?d(b,h+1):r.append("[Empty]")}s("]",y,h)}function u(a,h){let m;try{m=Reflect.ownKeys(a)}catch(y){r.append("[Uninspectable]");return}r.append("{");let p=!1;for(let y of m){if(r.stopped())break;if(i>=50){g(p,h),p=!0,U(r,"\u2026"),r.append(n?": ":":"),r.append("[MaxEntries]");break}i+=1;let c;try{c=Reflect.getOwnPropertyDescriptor(a,y)}catch(b){g(p,h),p=!0,Ae(r,y),r.append(n?": ":":"),r.append("[Uninspectable]");continue}c!=null&&c.enumerable&&(g(p,h),p=!0,Ae(r,y),r.append(n?": ":":"),d(c,h+1))}s("}",p,h)}function l(a,h){if(_.has(a)){r.append("[Circular]");return}if(h>=5){r.append("[MaxDepth]");return}let m;try{m=Array.isArray(a)}catch(p){r.append("[Uninspectable]");return}_.add(a);try{m?w(a,h):u(a,h)}finally{_.delete(a)}}function j(a,h){a===null?r.append("null"):typeof a=="string"?U(r,a):typeof a=="number"?r.append(Object.is(a,-0)?"-0":String(a)):typeof a=="boolean"?r.append(a?"true":"false"):typeof a>"u"?r.append("undefined"):typeof a=="bigint"?r.append("".concat(a,"n")):typeof a=="symbol"?Te(r,a):typeof a=="function"?r.append("[Function]"):l(a,h)}try{return j(e,0),r.result()}catch(a){return"[Uninspectable]"}}var at=["_16_0_a_0_4_0_5_m_1_u_1_cp_4_b_e_4_7_0_1_0_3l_4_1_1_2_3_1_0_6_0_1_2_1_0_1_j_1_2a_1_3u_8_4l_1_11_2_0_","6_14_1z_q_4_3_19_16_z_1_1_2q_1_0_f_1_7_1_a_2_2_0_g_0_1_t_t_2g_b_0_o_w_9_1_4_0_5_l_4_0_9_0_3_0_n_o_7_","a_5_n_1_6_g_15_1m_1h_3_0_i_0_7_9_f_f_4_7_2_1_2_l_1_6_1_0_3_3_3_0_g_0_d_1_1_2_e_1_a_0_8_5_4_1_2_l_1_6","_1_1_1_1_1_1_v_3_1_0_j_2_g_8_1_2_1_l_1_6_1_1_1_4_3_0_i_0_f_1_n_0_b_7_2_1_2_l_1_6_1_1_1_4_3_0_u_1_1_2","_f_0_h_0_1_5_3_2_1_3_3_1_1_0_1_1_3_1_3_2_3_b_m_0_1g_7_1_2_1_m_1_f_3_0_q_2_1_1_2_1_u_0_4_7_1_2_1_m_1_","9_1_4_3_0_u_2_1_1_f_1_h_8_1_2_1_14_2_0_g_0_5_2_8_2_o_5_5_h_3_n_1_8_1_0_2_6_1m_1b_1_1_c_6_1m_1_1_0_1_","4_1_n_1_0_1_9_1_1_9_0_2_4_1_0_l_3_w_0_1r_7_1_z_r_4_37_16_k_0_g_5_4_3_3_0_3_1_7_2_4_c_c_0_h_11_1_0_5_","0_2_16_1_98_1_3_2_6_1_0_1_3_2_14_1_3_2_w_1_3_2_6_1_0_1_3_2_e_1_1k_1_3_2_1u_11_f_g_2d_2_5_3_h7_2_g_1_","p_5_22_6_7_7_h_d_i_e_h_e_c_1_2_f_1f_z_0_4_0_1v_2g_7_4_2_x_1_0_5_1x_a_u_1d_t_2_4_b_17_4_p_1i_m_9_1g_2","a_0_2l_1a_h_7_1i_t_d_1_a_17_q_z_15_2_a_z_2_a_5_16_2_2_15_3_1_5_1_1_3_0_5_5b_1s_7p_2_5_2_11_2_5_2_7_1","_0_1_0_1_0_1_u_2_1g_1_6_1_0_3_2_1_6_3_3_2_5_4_c_5_2_1_6_38_0_d_0_g_c_2t_0_4_0_2_9_1_0_3_4_6_0_1_0_1_","0_1_3_1_a_2_3_5_4_4_0_1g_1_22j_6c_6_3_3_1_c_11_1_0_5_0_2_1j_7_0_g_m_9_6_1_6_1_6_1_6_1_6_1_6_1_6_1_6_","28_0_d1_1_16_4_5_1_4_2d_6_2_1_2h_1_3_5_16_1_2l_h_v_1c_f_e8_533_1s_h3g_1v_19_2_7g_3_f_a_1_k_1a_g_u_2_","1x_1d_8_2_2u_2_29_k_g_1_2_1_3_1_m_t_1f_e_1d_1q_5_3_0_1_1_b_r_a_m_p_s_7_1a_s_0_g_4_1_9_a_4_1_14_n_2_1","_7_k_m_3_0_3_1d_1_0_3_1_2_4_2_0_1_0_o_2_2_a_7_2_c_5_2_5_2_5_9_6_1_6_1_16_1_d_6_36_t_8mb_c_m_4_1c_6is","_a5_2_2x_12_6_c_4_5_0_1_9_1_c_1_4_1_0_1_1_1_1_1_2z_x_a2_i_1r_2_1h_14_b_38_4_1_3q_10_p_6_p_b_2g_3_5_2","_5_2_5_2_2_z_b_1_p_1_i_1_1_1_e_2_d_y_3e_at_s_3_1c_1b_v_d_j_1_7_6_11_a_t_2_z_4_7_1c_4d_i_z_4_z_4_13_8","_1f_c_a_1_e_1_6_1_1_1_a_1_e_1_6_1_1_3_1f_c_8m_9_l_a_7_o_5_1_15_1_8_1x_5_2_0_1_17_1_1_3_0_2_m_a_m_9_u","_1t_i_1_1_a_l_a_p_6_p_12_1j_6_1_1s_0_f_3_1_2_1_s_16_s_3_s_z_7_1_r_r_1h_a_l_a_i_d_h_32_20_1j_1e_d_1e_","d_z_12_r_9_m_6y_15_6_1_g_5_1k_s_a_0_8_l_16_h_1a_k_r_m_c_1g_1l_1_2_0_d_18_w_o_q_z_t_0_2_0_8_y_3_0_c_1","b_e_3_l_0_1_0_z_h_1_o_j_1_1r_6_1_0_1_3_1_e_1_9_7_1a_12_7_2_1_2_l_1_6_1_1_1_4_3_0_i_0_c_4_u_9_1_0_2_0","_1_11_1_0_p_0_1_0_18_1g_i_3_k_2_u_1b_k_1_1_0_54_1a_15_3_10_1b_k_0_1n_16_d_0_1z_q_11_6_55_17_38_1r_v_","7_2_0_2_7_1_1_1_n_f_0_1_0_2m_7_2_12_g_0_1_0_s_0_a_13_7_0_l_0_b_19_j_0_i_20_5j_w_v_8_1_10_h_0_1d_t_34","_6_1_1_1_11_l_0_p_5_1_1_1_v_e_0_n_17_78_i_f_0_1_c_1_x_3g_0_27_pl_6e_5f_218_2o_f_tr_h_5_p_32y_5_g6_5a","1_t_1cy_fs_7_u_h_26_h_t_i_1b_g_3_v_k_5_i_c0_18_5v_1r_w_o_2_o_18_22_5_0_1u_c_1s_1_1_0_e_1_c_5p1_15_v_","2p_36_6pp_3_1_6_1_1_1_82_f_0_t_2_2_0_e_3_8_az_1s4_2y_5_c_3_8_7_9_4me_2c_1_1y_1_1_2_0_2_1_2_3_1_b_1_0","_1_6_1_1s_1_3_2_7_1_6_1_r_1_3_1_4_1_0_3_6_1_9f_2_o_1_o_1_u_1_o_1_u_1_o_1_u_1_o_1_u_1_o_1_7_1f8_u_6_5","_79_1p_42_18_a_6_g_0_8x_t_i_17_dg_r_6c_t_2_0_5r_u_1_2_1_1_1_6_2_4_9_1_68_6_1_3_1_1_1_e_1_5g_1n_1v_7_","0_xg_3_1_q_1_1_1_0_2_0_1_9_1_3_1_0_1_0_6_0_4_0_1_0_1_0_1_2_1_1_1_0_2_0_1_0_1_0_1_0_1_0_1_1_1_0_2_3_1","_6_1_3_1_3_1_0_1_9_1_g_5_2_1_4_1_g_3es_wyn_w_3dp_2_4gd_2_5rk_f_h9_1wi_f1_15u_3t6_5_6jt"].join(""),re=at.slice(1).split("_"),ut=[],Ce=127;for(let e=0;e<re.length;e+=2){let t=Ce+1+Number.parseInt(re[e],36),r=t+Number.parseInt(re[e+1],36);ut.push([t,r]),Ce=r}var Xt=new Set([..."\u060B$\u20BC\u17DB\xA5\u20A1\u20B1\xA3\u20AC\xA2\u20B9\uFDFC\u20AA\u20A9\u20AD\u20A8\u20AE\u20A6\u20BD\u20AB\u0E3F\u20A9\u20BA\u20B4","$U","$b","B/.","BZ$","Br","Bs","C$","CHF","Ft","Gs","J$","KM","K\u010D","L","MT","NT$","P","Q","R","R$","RD$","RM","Rp","S","S/.","TT$","Z$","kn","kr","lei","z\u0142","\u0192","\u0414\u0438\u043D.","\u0434\u0435\u043D","\u043B\u0432","\u062F.\u0625","Lek"]),ct=Object.prototype.hasOwnProperty,De=Function.prototype.toString,ft=De.call(Object),Ie=class{constructor(){V(this,"hasRepeatedReferences",!1);V(this,"clones",[]);V(this,"index");V(this,"sources",[])}get(e){if(this.index){let r=this.index.get(e);return r!==void 0&&(this.hasRepeatedReferences=!0),r}let t=this.sources.indexOf(e);if(t!==-1)return this.hasRepeatedReferences=!0,this.clones[t]}set(e,t){if(this.index){this.index.set(e,t);return}if(this.sources.push(e),this.clones.push(t),this.sources.length===32){this.index=new WeakMap;for(let r=0;r<this.sources.length;r++)this.index.set(this.sources[r],this.clones[r]);this.sources=[],this.clones=[]}}};function Se(e,t){let r=t.get(e);if(r!==void 0)return r;let n=e.slice(0);return t.set(e,n),n}function pt(e,t){if(typeof Buffer<"u"&&Buffer.isBuffer(e)){let i=Buffer.from(e);return t.set(e,i),i}let r=Se(e.buffer,t);if(e instanceof DataView||Object.prototype.toString.call(e)==="[object DataView]"){let i=new DataView(r,e.byteOffset,e.byteLength);return t.set(e,i),i}let n=e.constructor,_=new n(r,e.byteOffset,e.length);return t.set(e,_),_}function gt(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0})}function L(e,t,r,n){for(let _ of r){let i=t[_],o=typeof i!="object"||i===null?i:P(i,n);_==="__proto__"?gt(e,_,o):e[_]=o}}function F(e,t,r,n){for(let _ of r){let i=Object.getOwnPropertyDescriptor(t,_);if(i){if("value"in i){let o=i.value;i.value=typeof o!="object"||o===null?o:P(o,n)}Object.defineProperty(e,_,i)}}}var ht=Map.prototype.entries,yt=Set.prototype.values,oe=Object.prototype.toString,Ee,dt=(Ee=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength"))==null?void 0:Ee.get,ke,bt=(ke=Object.getOwnPropertyDescriptor(RegExp.prototype,"flags"))==null?void 0:ke.get,Me,Yt=(Me=Object.getOwnPropertyDescriptor(RegExp.prototype,"global"))==null?void 0:Me.get,xe,Pe=(xe=Object.getOwnPropertyDescriptor(RegExp.prototype,"source"))==null?void 0:xe.get,er=RegExp.prototype.test,ne;function mt(e){if(e instanceof ArrayBuffer)return!0;try{return dt.call(e),!0}catch(t){return!1}}function vt(e){try{return ht.call(e)}catch(t){return null}}function Ot(e){try{return yt.call(e)}catch(t){return null}}function jt(e){var t;try{return ne||(ne=(t=Object.getOwnPropertyDescriptor(URL.prototype,"href"))==null?void 0:t.get),ne.call(e)}catch(r){return null}}function P(e,t){if(typeof e!="object"||e===null)return e;let r=t.get(e);if(r!==void 0)return r;if(Array.isArray(e)){let s=e.length,d=new Array(s);t.set(e,d);let w=e,u=Object.keys(e);if(u.length===s&&(s===0||u[s-1]==="".concat(s-1)))for(let l=0;l<s;l++){let j=w[l];d[l]=typeof j!="object"||j===null?j:P(j,t)}else L(d,w,u,t);return d}let n=Object.getPrototypeOf(e);if(n===Object.prototype){let s={};return t.set(e,s),L(s,e,Object.keys(e),t),s}if(n===null){let s=Object.create(null);return t.set(e,s),L(s,e,Object.keys(e),t),s}if(M(e)){let s=new Date(Re.call(e));return t.set(e,s),F(s,e,Object.keys(e),t),s}if(ArrayBuffer.isView(e))return pt(e,t);if(mt(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return Se(e,t);let _=vt(e);if(_){let s=new Map;t.set(e,s);for(let[d,w]of _)s.set(P(d,t),P(w,t));return F(s,e,Object.keys(e),t),s}let i=Ot(e);if(i){let s=new Set;t.set(e,s);for(let d of i)s.add(P(d,t));return F(s,e,Object.keys(e),t),s}if(B(e)&&e!==RegExp.prototype){let s=new RegExp(Pe.call(e),bt.call(e));return s.lastIndex=e.lastIndex,t.set(e,s),F(s,e,Object.keys(e),t),s}let o=jt(e);if(o!==null){let s=new URL(o);return t.set(e,s),F(s,e,Object.keys(e),t),s}if(e instanceof Error||oe.call(e)==="[object Error]"){let s=Object.create(Object.getPrototypeOf(e));return t.set(e,s),F(s,e,Reflect.ownKeys(e),t),s}let g=Object.create(n);return t.set(e,g),L(g,e,Object.keys(e),t),g}function f(e){return P(e,new Ie)}function le(e){let t=new Ie,r=P(e,t);return{hasRepeatedReferences:t.hasRepeatedReferences,value:r}}function v(e){var n;if(e==null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;let r=Object.getOwnPropertyDescriptor(t,"constructor");return!r||!("value"in r)||typeof r.value!="function"?!1:((n=Object.getOwnPropertyDescriptor(r.value,"prototype"))==null?void 0:n.value)===t&&De.call(r.value)===ft}function N(e){return typeof e=="string"}function We(e){return Number.isFinite(e)}function Q(e){return typeof e=="boolean"}function B(e){if(e===null||typeof e!="object")return!1;try{return e instanceof RegExp?(e.source,!0):oe.call(e)!=="[object RegExp]"?!1:(Pe.call(e),!0)}catch(t){return!1}}var Re=Date.prototype.getTime;function M(e){if(e instanceof Date)return!0;if(e===null||typeof e!="object"||oe.call(e)!=="[object Date]")return!1;try{return Re.call(e),!0}catch(t){return!1}}function S(e){return e!=null}function Z(e,t){return e!=null&&ct.call(e,t)}function $e(e,t){return e.localeCompare(t)}var wt=256,At=1024,Tt=1,Ct=new Map,Et=new Map;function ie(e){if(e>=97&&e<=122)return e-32;if(e>65535)return e;let t=String.fromCharCode(e).toUpperCase();if(t.length!==1)return e;let r=t.charCodeAt(0);return e>127&&r<128?e:r}function kt(e){let t=new Uint32Array(e.length),r=0;for(let n=1;n<e.length;n++){for(;r>0&&e[n]!==e[r];)r=t[r-1];e[n]===e[r]&&r++,t[n]=r}return t}function Mt(e,t){let r=[[]],n=!0,_=!1,i=!1,o=0;for(let l=0;l<e.length;){let j=e.codePointAt(l);if(j!==92){if(j===42)_=!0,i||(r.push([]),i=!0);else{let c=t?j:ie(j);r[r.length-1].push(c),n&&(n=c<=127),o++,i=!1}l+=j>65535?2:1;continue}let a=l+1;for(;e.charCodeAt(a)===92;)a++;let h=a-l,m=e.codePointAt(a),p,y=!1;m===42?(y=h%2===0,p=y?h/2:(h-1)/2):m===void 0||m===10||m===13||m===8232||m===8233?p=Math.ceil(h/2):p=Math.floor(h/2);for(let c=0;c<p;c++)r[r.length-1].push(92),o++;if(y){i=!1,l=a;continue}if(m!==void 0){let c=t?m:ie(m);r[r.length-1].push(c),n&&(n=c<=127),o++,a+=m>65535?2:1}i=!1,l=a}let g=_&&r[0].length===0,s=_&&r[r.length-1].length===0,d=[];for(let l of r)l.length&&d.push({values:l});let w=g?0:1,u=d.length-(s?0:1);for(let l=w;l<u;l++)d[l].values.length>Tt&&(d[l].failure=kt(d[l].values));return{asciiOnly:n,endsWithWildcard:s,hasWildcard:_,minimumInputLength:o,segments:d,startsWithWildcard:g}}function xt(e,t){let r=t?Ct:Et,n=e.length<=At;if(n){let i=r.get(e);if(i)return i}let _=Mt(e,t);if(n){if(r.size>=wt){let i=r.keys().next().value;i!==void 0&&r.delete(i)}r.set(e,_)}return _}function Dt(e,t){if(t){let _=[];for(let i=0;i<e.length;){let o=e.codePointAt(i);_.push(o),i+=o>65535?2:1}return _}let r=new Uint32Array(e.length),n=0;for(let _=0;_<e.length;){let i=e.codePointAt(_);r[n]=ie(i),n++,_+=i>65535?2:1}return n===r.length?r:r.subarray(0,n)}function G(e,t,r,n){for(let _=0;_<r.values.length;_++){let i=e.charCodeAt(t+_);if(!n&&i>=97&&i<=122&&(i-=32),i!==r.values[_])return!1}return!0}function It(e,t,r,n,_){let i=n-t.values.length;if(i<r)return-1;if(!t.failure){for(let g=r;g<=i;g++)if(G(e,g,t,_))return g;return-1}let o=0;for(let g=r;g<n;g++){let s=e.charCodeAt(g);for(!_&&s>=97&&s<=122&&(s-=32);o>0&&s!==t.values[o];)o=t.failure[o-1];if(s===t.values[o]&&(o++,o===t.values.length))return g-o+1}return-1}function St(e,t,r){if(e.length<t.minimumInputLength)return!1;if(!t.hasWildcard)return e.length===t.minimumInputLength&&G(e,0,t.segments[0],r);let n=0,_=t.segments.length,i=0,o=e.length;if(!t.startsWithWildcard){let g=t.segments[0];if(!G(e,0,g,r))return!1;i=g.values.length,n++}if(!t.endsWithWildcard){_--;let g=t.segments[_];if(o-=g.values.length,!G(e,o,g,r))return!1}for(let g=n;g<_;g++){let s=t.segments[g],d=It(e,s,i,o,r);if(d===-1)return!1;i=d+s.values.length}return!0}function J(e,t,r){for(let n=0;n<r.values.length;n++)if(e[t+n]!==r.values[n])return!1;return!0}function Pt(e,t,r,n){let _=n-t.values.length;if(_<r)return-1;if(!t.failure){for(let o=r;o<=_;o++)if(J(e,o,t))return o;return-1}let i=0;for(let o=r;o<n;o++){for(;i>0&&e[o]!==t.values[i];)i=t.failure[i-1];if(e[o]===t.values[i]&&(i++,i===t.values.length))return o-i+1}return-1}function Wt(e,t){if(e.length<t.minimumInputLength)return!1;if(!t.hasWildcard)return e.length===t.minimumInputLength&&J(e,0,t.segments[0]);let r=0,n=t.segments.length,_=0,i=e.length;if(!t.startsWithWildcard){let o=t.segments[0];if(!J(e,0,o))return!1;_=o.values.length,r++}if(!t.endsWithWildcard){n--;let o=t.segments[n];if(i-=o.values.length,!J(e,i,o))return!1}for(let o=r;o<n;o++){let g=t.segments[o],s=Pt(e,g,_,i);if(s===-1)return!1;_=s+g.values.length}return!0}function Rt(e,t){let r=e.charCodeAt(0)===33,n=r?e.slice(1):e;return{compiled:n.length===0?void 0:xt(n,t),negative:r}}function _e(e,t,r,n){var i;let _;return t.compiled?t.compiled.asciiOnly?_=St(e,t.compiled,r):((i=n.tokens)!=null||(n.tokens=Dt(e,r)),_=Wt(n.tokens,t.compiled)):_=e.length===0,t.negative?!_:_}function Fe(e,t){let r=(t==null?void 0:t.caseSensitiveMatch)===!0,n=typeof e=="string"?[e]:Array.from(new Set(e));if(n.length===0)return()=>!1;let _=n.map(i=>Rt(i,r));if(typeof e=="string"){let i=_[0];return o=>_e(o,i,r,{})}return i=>{let o={},g=!1,s=!1;for(let d of _)if(d.negative){if(!_e(i,d,r,o))return!1}else g=!0,!s&&_e(i,d,r,o)&&(s=!0);return g?s:!0}}var $t={arraysMustNotContainPlaceholders:!0},Ft=Object.prototype.hasOwnProperty,Ne=Date.prototype.getTime,Ve,Be=(Ve=Object.getOwnPropertyDescriptor(RegExp.prototype,"source"))==null?void 0:Ve.get,ze,He=(ze=Object.getOwnPropertyDescriptor(RegExp.prototype,"flags"))==null?void 0:ze.get;function X(e,t){if(e===t)return!0;if(e===null||t===null||typeof e!="object"||typeof t!="object")return Number.isNaN(e)&&Number.isNaN(t);if(M(e)||M(t)){if(!M(e)||!M(t))return!1;let _=Ne.call(e),i=Ne.call(t);return _===i||Number.isNaN(_)&&Number.isNaN(i)}if(B(e)||B(t))return B(e)&&B(t)&&Be.call(e)===Be.call(t)&&He.call(e)===He.call(t);if(Array.isArray(e)||Array.isArray(t)){if(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)return!1;for(let _=e.length;_--;)if(!X(e[_],t[_]))return!1;return!0}if(!v(e)||!v(t))return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let _=r.length;_--;){let i=r[_];if(!Ft.call(t,i)||!X(e[i],t[i]))return!1}return!0}function se(e,t,r){if(Array.isArray(e)){if(e.length===0)return!0;if(r.arraysMustNotContainPlaceholders&&e.length&&e.some(n=>X(n,t)))return!1;for(let n=e.length;n--;)if(!se(e[n],t,r))return!1;return!0}if(v(e)){let n=Object.keys(e);if(n.length===0)return!0;for(let _=n.length;_--;)if(!se(e[n[_]],t,r))return!1;return!0}return X(e,t)}function Y(e,t,r){if(e===void 0)throw new Error("object-all-values-equal-to/allEq(): [THROW_ID_01] The first input is undefined! Please provide the first argument.");if(t===void 0)throw new Error("object-all-values-equal-to/allEq(): [THROW_ID_02] The second input is undefined! Please provide the second argument.");if(r&&!v(r))throw new Error("object-all-values-equal-to/allEq(): [THROW_ID_03] The third argument, options object, was given not as a plain object but as a ".concat(typeof r,", equal to:\n").concat(O(r,4)));let n=E(E({},$t),r);return se(e,t,n)}var R={arrayVsArrayAllMustBeFound:"any",caseSensitive:!0,reportCompletionFunc:null,reportProgressFunc:null,reportProgressFuncFrom:0,reportProgressFuncTo:100},sr=Object.freeze(E({},R));function ee(e,t,r){var ge,he,ye,de,be,me;if(typeof e!="string"&&!Array.isArray(e))throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_01] The first argument must be a string or an array; received ".concat(O(e,4),"."));if(typeof t!="string"&&!Array.isArray(t))throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_02] The second argument must be a string or an array of strings; received ".concat(O(t,4),"."));if(r!=null&&(typeof r!="object"||Array.isArray(r)))throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_03] The third argument must be an options object, null, or undefined; received ".concat(O(r,4),"."));let n=(ge=r==null?void 0:r.arrayVsArrayAllMustBeFound)!=null?ge:R.arrayVsArrayAllMustBeFound;if(n!=="any"&&n!=="all")throw new TypeError('array-includes-with-glob/includesWithGlob(): [THROW_ID_04] opts.arrayVsArrayAllMustBeFound must be "any", "all", null, or undefined; received '.concat(O(n,4),"."));let _=(he=r==null?void 0:r.caseSensitive)!=null?he:R.caseSensitive;if(typeof _!="boolean")throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_05] opts.caseSensitive must be a Boolean, null, or undefined; received ".concat(O(_,4),"."));let i=(ye=r==null?void 0:r.reportProgressFunc)!=null?ye:R.reportProgressFunc;if(i!==null&&typeof i!="function")throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_06] opts.reportProgressFunc must be a function, null, or undefined; received ".concat(O(i,4),"."));let o=(de=r==null?void 0:r.reportProgressFuncFrom)!=null?de:R.reportProgressFuncFrom;if(!Number.isFinite(o))throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_07] opts.reportProgressFuncFrom must be a finite number, null, or undefined; received ".concat(O(o,4),"."));let g=(be=r==null?void 0:r.reportProgressFuncTo)!=null?be:R.reportProgressFuncTo;if(!Number.isFinite(g))throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_08] opts.reportProgressFuncTo must be a finite number, null, or undefined; received ".concat(O(g,4),"."));if(o>g)throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_09] opts.reportProgressFuncFrom cannot exceed opts.reportProgressFuncTo; received ".concat(o," and ").concat(g,"."));let s=(me=r==null?void 0:r.reportCompletionFunc)!=null?me:R.reportCompletionFunc;if(s!==null&&typeof s!="function")throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_10] opts.reportCompletionFunc must be a function, null, or undefined; received ".concat(O(s,4),"."));let d=typeof t=="string"?[t]:Array.from(t);for(let A of d)if(typeof A!="string")throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_11] The second argument's array must contain only strings and no holes; received ".concat(O(A,4),"."));let w=s?Date.now():0,u=typeof e=="string"?1:e.length,l,j=0,a=0;function h(A){i&&A!==l&&(l=A,i(A))}function m(A){return h(g),s==null||s({patternComparisons:j,sourceItemsVisited:a,timeTakenInMilliseconds:Date.now()-w}),A}h(o);let p=Array.from(new Set(d));if(u===0||p.length===0)return m(!1);let y={caseSensitiveMatch:_},c=p.map(A=>({matches:Fe(A,y),negative:A.charCodeAt(0)===33})),b=c.filter(A=>A.negative),T=c.filter(A=>!A.negative),k=new Uint8Array(T.length),pe=T.length;for(let A=0;A<u;A++){let z=typeof e=="string"?e:e[A];if(a++,typeof z=="string"){let ve=!0;for(let I of b)if(j++,!I.matches(z)){ve=!1;break}if(ve){if(T.length===0)return m(!0);if(n==="any"){for(let I of T)if(j++,I.matches(z))return m(!0)}else{for(let I=0;I<T.length;I++)k[I]||(j++,T[I].matches(z)&&(k[I]=1,pe--));if(pe===0)return m(!0)}}}h(o+Math.floor((A+1)/u*(g-o)))}return m(!1)}var Ke=Function.prototype.toString,Nt=Ke.call(Object);function Bt(e){var n;if(e===null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;let r=Object.getOwnPropertyDescriptor(t,"constructor");return!r||!("value"in r)||typeof r.value!="function"?!1:((n=Object.getOwnPropertyDescriptor(r.value,"prototype"))==null?void 0:n.value)===t&&Ke.call(r.value)===Nt}function x(e){return e==null?!1:Array.isArray(e)||typeof e=="string"?!!e.length:Bt(e)?!!Object.keys(e).length:typeof e=="number"}var D=Array.isArray,Ht=Object.prototype.propertyIsEnumerable;function qe(e){return!!e&&e.some(t=>typeof t=="string")}function Vt(e,t){let r=Object.keys(e),n=Object.keys(t);if(r.length===0||n.length===0)return!0;let _=r.length<=n.length?r:n,i=r.length<=n.length?t:e;for(let o=0;o<_.length;o++)if(!Ht.call(i,_[o]))return!1;return!0}function C(e){return e===null?"null":M(e)?"date":v(e)?"object":D(e)?"array":typeof e}var ae=Object.freeze([]),ue=Object.freeze({cb:null,mergeObjectsOnlyWhenKeysetMatches:!0,ignoreKeys:ae,hardMergeKeys:ae,hardArrayConcatKeys:ae,mergeArraysContainingStringsToBeEmpty:!1,oneToManyArrayObjectMerge:!1,hardMergeEverything:!1,hardArrayConcat:!1,ignoreEverything:!1,concatInsteadOfMerging:!0,dedupeStringsInArrayValues:!1,mergeBoolsUsingOrNotAnd:!0,useNullAsExplicitFalse:!1,reuseInputs:!1});function Ge(e){return(e.ignoreEverything?1:0)|(e.hardMergeEverything?2:0)|(e.hardArrayConcat?4:0)}function zt(e,t,r,n){var _,i,o;return(o=(i=(_=e.pairs)==null?void 0:_.get(t))==null?void 0:i.get(r))==null?void 0:o.get(Ge(n))}function Ue(e,t,r,n,_){e.pairs||(e.pairs=new WeakMap);let i=e.pairs.get(t);i||(i=new WeakMap,e.pairs.set(t,i));let o=i.get(r);o||(o=new Map,i.set(r,o)),o.set(Ge(n),_)}function $(e,t,r,n=!1){if(!n&&t!=="__proto__"){e[t]=r;return}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0})}function Le(e){if(D(e)){let r=[];r.length=e.length;for(let n of Object.keys(e))$(r,n,e[n],!0);return r}let t=Object.create(Object.getPrototypeOf(e));for(let r of Object.keys(e))$(t,r,e[r],!0);return t}function W(e,t,r,n,_,i=!1,o=!1,g=!1){let s=e.path,d=e.pathSegments,w=_.memoizePairs&&v(t)&&v(r)?zt(_,t,r,n):void 0;if(w!=null&&w.active)return typeof n.cb=="function"?n.cb(f(w.pristine1),f(w.pristine2),w.result,e):w.result;if(w&&typeof n.cb!="function")return w.result;if(n.useNullAsExplicitFalse&&(t===null||r===null))return typeof n.cb=="function"?n.cb(f(t),f(r),null,e):null;let u=t;if((D(t)||v(t))&&!i)if(g){let p=le(t);u=p.value,_.memoizePairs||(_.memoizePairs=p.hasRepeatedReferences),i=typeof n.cb!="function"&&!n.oneToManyArrayObjectMerge&&!p.hasRepeatedReferences}else u=Le(t);let l=r;if((D(r)||v(r))&&!o)if(g){let p=le(r);l=p.value,_.memoizePairs||(_.memoizePairs=p.hasRepeatedReferences),o=typeof n.cb!="function"&&!n.oneToManyArrayObjectMerge&&!p.hasRepeatedReferences}else l=Le(r);let j;_.memoizePairs&&v(u)&&x(u)&&v(l)&&(j={active:!0,pristine1:t,pristine2:r,result:u},Ue(_,t,r,n,j),(t!==u||r!==l)&&Ue(_,u,l,n,j));let a;n.ignoreEverything?a=u:n.hardMergeEverything&&(a=l);let h=n.hardMergeEverything||n.ignoreEverything;if(D(u))if(x(u))if(D(l)&&x(l)){if(n.mergeArraysContainingStringsToBeEmpty&&(qe(u)||qe(l))){let c=h?a:[];return typeof n.cb=="function"?n.cb(f(t),f(r),c,e):c}if(n.hardArrayConcat){let c=h?a:u.concat(l);return typeof n.cb=="function"?n.cb(f(t),f(r),c,e):c}let p=[],y=n.concatInsteadOfMerging?void 0:new Set(u);for(let c=0,b=Math.max(u.length,l.length);c<b;c++)_.reportMetadata&&(s=e.path.length?"".concat(e.path,".").concat(c):"".concat(c),d=[...e.pathSegments,c]),v(u[c])&&v(l[c])&&(n.mergeObjectsOnlyWhenKeysetMatches&&Vt(u[c],l[c])||!n.mergeObjectsOnlyWhenKeysetMatches)?p.push(W(_.reportMetadata?{path:s,pathSegments:d,key:e.key,type:[C(u[c]),C(l[c])]}:e,u[c],l[c],n,_,i,o)):n.oneToManyArrayObjectMerge&&(u.length===1||l.length===1)?p.push(u.length===1?W(_.reportMetadata?{path:s,pathSegments:d,key:e.key,type:[C(u[0]),C(l[c])]}:e,u[0],l[c],n,_,i,o):W(_.reportMetadata?{path:s,pathSegments:d,key:e.key,type:[C(u[c]),C(l[0])]}:e,u[c],l[0],n,_,i,o)):n.concatInsteadOfMerging?(c<u.length&&p.push(u[c]),c<l.length&&p.push(l[c])):(c<u.length&&p.push(u[c]),c<l.length&&!(y!=null&&y.has(l[c]))&&p.push(l[c]));n.dedupeStringsInArrayValues&&p.every(c=>N(c))&&(p=[...new Set(p)].sort($e)),u=f(p)}else{let p=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else{if(x(l)){let y=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}let p=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else if(v(u)){if(x(u)){if(D(l)){if(x(l)){let b=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),b,e):b}let c=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),c,e):c}if(v(l)){Object.keys(l).forEach(b=>{if(_.reportMetadata&&(s=e.path.length?"".concat(e.path,".").concat(b):"".concat(b),d=[...e.pathSegments,b]),Z(u,b)){let T=u[b],k=l[b];n.ignoreKeys.length>0&&ee(b,n.ignoreKeys)?$(u,b,W(_.reportMetadata?{path:s,pathSegments:d,key:b,type:[C(T),C(k)]}:e,T,k,q(E({},n),{ignoreEverything:!0}),_,i,o),_.reuseCallerInputs):n.hardMergeKeys.length>0&&ee(b,n.hardMergeKeys)?$(u,b,W(_.reportMetadata?{path:s,pathSegments:d,key:b,type:[C(T),C(k)]}:e,T,k,q(E({},n),{hardMergeEverything:!0}),_,i,o),_.reuseCallerInputs):n.hardArrayConcatKeys.length>0&&ee(b,n.hardArrayConcatKeys)?$(u,b,W(_.reportMetadata?{path:s,pathSegments:d,key:b,type:[C(T),C(k)]}:e,T,k,q(E({},n),{hardArrayConcat:!0}),_,i,o),_.reuseCallerInputs):$(u,b,W({path:s,pathSegments:d,key:b,type:[C(T),C(k)]},T,k,n,_,i,o),_.reuseCallerInputs)}else $(u,b,l[b],!0)});let c=u;return j&&(j.active=!1,j.result=c),typeof n.cb=="function"?n.cb(f(t),f(r),c,e):u}let y=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}if(D(l)||v(l)||x(l)){let y=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}let p=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else if(M(u)){if(Number.isFinite(+u)){if(M(l)){if(Number.isFinite(+l)){let b=h?a:u>l?u:l;return typeof n.cb=="function"?n.cb(f(t),f(r),b,e):b}let c=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),c,e):c}let y=h?a:l||u;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}if(M(l)){let y=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}let p=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else if(N(u)){if(x(u)){if((D(l)||v(l)||N(l))&&x(l)){let c=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),c,e):c}let y=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}if(S(l)&&!Q(l)){let y=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}let p=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else if(We(u)){if(x(l)){let y=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}let p=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else if(Q(u)){if(Q(l)){if(n.mergeBoolsUsingOrNotAnd){let c=h?a:u||l;return typeof n.cb=="function"?n.cb(f(t),f(r),c,e):c}let y=h?a:u&&l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}if(S(l)){let y=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}let p=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else if(u===null){if(S(l)){let y=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}let p=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else{let p=h?a:l===void 0?u:l;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}let m=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),m,e):m}function ce(e){if(typeof e=="string")return!0;if(!D(e))return!1;for(let t=0;t<e.length;t++)if(!Z(e,t)||typeof e[t]!="string")return!1;return!0}function Je(e,t,r){if(!arguments.length)throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_01] Both inputs are missing");if(S(r)&&!v(r))throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_02] The optional options object should be a plain object, currently it's ".concat(O(r,4)," (type ").concat(typeof r,")"));let n=r?E({},ue):ue;if(r){for(let o of Object.keys(ue))if(Z(r,o)){let g=r[o];g!==void 0&&(n[o]=g)}if(n.cb!==null&&typeof n.cb!="function")throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_03] opts.cb must be a function, null, or undefined; received ".concat(O(n.cb,4),"."));if(!ce(n.ignoreKeys))throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_04] opts.ignoreKeys must be a string or an array of strings without holes; received ".concat(O(n.ignoreKeys,4),"."));if(!ce(n.hardMergeKeys))throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_05] opts.hardMergeKeys must be a string or an array of strings without holes; received ".concat(O(n.hardMergeKeys,4),"."));if(!ce(n.hardArrayConcatKeys))throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_06] opts.hardArrayConcatKeys must be a string or an array of strings without holes; received ".concat(O(n.hardArrayConcatKeys,4),"."));let i=["mergeObjectsOnlyWhenKeysetMatches","mergeArraysContainingStringsToBeEmpty","oneToManyArrayObjectMerge","hardMergeEverything","hardArrayConcat","ignoreEverything","concatInsteadOfMerging","dedupeStringsInArrayValues","mergeBoolsUsingOrNotAnd","useNullAsExplicitFalse","reuseInputs"];for(let o of i)if(typeof n[o]!="boolean")throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_07] opts.".concat(o," must be a Boolean; received ").concat(O(n[o],4),"."))}let _=n.reuseInputs&&!n.oneToManyArrayObjectMerge&&typeof n.cb!="function";return W({key:null,path:"",pathSegments:[],type:[C(e),C(t)]},e,t,n,{memoizePairs:_,reuseCallerInputs:_,reportMetadata:typeof n.cb=="function"},_,_,!0)}var Qe="11.2.3";var qt=Qe,Ze={placeholder:!1,doNotFillThesePathsIfTheyContainPlaceholders:[],useNullAsExplicitFalse:!0};function H(e){return v(e)?"plain object":Array.isArray(e)?"array":typeof e}function fe(e,t,r,n,_=""){let i=e;if(S(i)||!(_.length&&n.has(_)&&Y(i,r.placeholder)))if(v(t)&&v(i))Object.keys(t).forEach(o=>{let g="".concat(_?"".concat(_,"."):"").concat(o);n.has(g)&&(S(i[o])?Y(i[o],r.placeholder)&&(i[o]=r.placeholder):i[o]=r.placeholder),(!S(i[o])||!(n.has(g)&&Y(i[o],r.placeholder)))&&(i[o]=fe(i[o],t[o],r,n,g))});else if(Array.isArray(t)&&Array.isArray(i)){if(i.length===0)return f(t);if(t.length)for(let o=i.length;o--;){let g="".concat(_?"".concat(_,"."):"","0");(v(t[0])||Array.isArray(t[0]))&&(i[o]=fe(i[o],t[0],r,n,g))}}else return Je(t,i,{useNullAsExplicitFalse:r.useNullAsExplicitFalse,cb:(o,g,s)=>H(o)===H(g)?g:s});return i}function Ut(e,t,r){if(arguments.length===0)throw new Error("object-fill-missing-keys/fillMissing(): [THROW_ID_01] All arguments are missing!");if(!v(e))throw new Error("object-fill-missing-keys/fillMissing(): [THROW_ID_02] First argument, input object must be a plain object. Currently it's type is \"".concat(H(e),"\" and it's equal to: ").concat(O(e,4)));if(!v(t))throw new Error("object-fill-missing-keys/fillMissing(): [THROW_ID_03] Second argument, schema object, must be a plain object. Currently it's type is \"".concat(H(t),"\" and it's equal to: ").concat(O(t,4)));if(r&&!v(r))throw new Error("object-fill-missing-keys/fillMissing(): [THROW_ID_04] Third argument, schema object, must be a plain object. Currently it's type is \"".concat(H(r),"\" and it's equal to: ").concat(O(r,4)));let n=E(E({},Ze),r);n.doNotFillThesePathsIfTheyContainPlaceholders=we(n.doNotFillThesePathsIfTheyContainPlaceholders);let _=null,i=null;if(n.doNotFillThesePathsIfTheyContainPlaceholders.length&&!n.doNotFillThesePathsIfTheyContainPlaceholders.every((o,g)=>N(o)?!0:(_=o,i=g,!1)))throw new Error('object-fill-missing-keys/fillMissing(): [THROW_ID_05] resolvedOpts.doNotFillThesePathsIfTheyContainPlaceholders element with an index number "'.concat(i,"\" is not a string! It's ").concat(H(_),", equal to:\n").concat(O(_,4)));return fe(f(e),t,n,new Set(n.doNotFillThesePathsIfTheyContainPlaceholders))}return it(Lt);})();
10
+ "use strict";var objectFillMissingKeys=(()=>{var K=Object.defineProperty,Xe=Object.defineProperties,Ye=Object.getOwnPropertyDescriptor,et=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertyNames,Oe=Object.getOwnPropertySymbols;var je=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable;var te=(e,t,r)=>t in e?K(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,E=(e,t)=>{for(var r in t||(t={}))je.call(t,r)&&te(e,r,t[r]);if(Oe)for(var r of Oe(t))rt.call(t,r)&&te(e,r,t[r]);return e},q=(e,t)=>Xe(e,et(t));var nt=(e,t)=>{for(var r in t)K(e,r,{get:t[r],enumerable:!0})},_t=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of tt(t))!je.call(e,_)&&_!==r&&K(e,_,{get:()=>t[_],enumerable:!(n=Ye(t,_))||n.enumerable});return e};var it=e=>_t(K({},"__esModule",{value:!0}),e);var V=(e,t,r)=>te(e,typeof t!="symbol"?t+"":t,r);var Lt={};nt(Lt,{defaults:()=>Ze,fillMissing:()=>Ut,version:()=>qt});function we(e){return typeof e!="string"?e:e.length?[e]:[]}function ot(){let e=[],t=0,r=!1;return{append(n){return r?!1:t+n.length>1999?(e.push("\u2026"),t+=1,r=!0,!1):(e.push(n),t+=n.length,!0)},result(){return e.join("")},stopped(){return r}}}function lt(e){return"\\u".concat(e.toString(16).padStart(4,"0"))}function U(e,t){if(e.append('"')){for(let r=0;r<t.length&&!e.stopped();r+=1){let n=t.charCodeAt(r);n===34?e.append('\\"'):n===92?e.append("\\\\"):n===8?e.append("\\b"):n===9?e.append("\\t"):n===10?e.append("\\n"):n===12?e.append("\\f"):n===13?e.append("\\r"):n<32||n===8232||n===8233||n>=55296&&n<=57343?e.append(lt(n)):e.append(t[r])}e.append('"')}}function st(e){return e.get&&e.set?"[Getter/Setter]":e.get?"[Getter]":e.set?"[Setter]":"[Accessor]"}function Te(e,t){e.append("Symbol(");let r=String(t);r.length>8&&U(e,r.slice(7,-1)),e.append(")")}function Ae(e,t){typeof t=="symbol"?Te(e,t):U(e,String(t))}function O(e,t=0){let r=ot(),n=t===4?4:0,_=new WeakSet,i=0;function o(a){n&&r.append(" ".repeat(a*n))}function g(a,h){a&&r.append(","),n&&(r.append("\n"),o(h+1))}function s(a,h,m){n&&h&&(r.append("\n"),o(m)),r.append(a)}function d(a,h){Object.prototype.hasOwnProperty.call(a,"value")?j(a.value,h):r.append(st(a))}function w(a,h){let m;try{m=Reflect.getOwnPropertyDescriptor(a,"length")}catch(c){r.append("[Uninspectable]");return}let p=m==null?void 0:m.value;if(!Number.isSafeInteger(p)||p<0){r.append("[Uninspectable]");return}r.append("[");let y=!1;for(let c=0;c<p&&!r.stopped();c+=1){if(g(y,h),y=!0,i>=50){r.append("[MaxEntries]");break}i+=1;let b;try{b=Reflect.getOwnPropertyDescriptor(a,String(c))}catch(T){r.append("[Uninspectable]");continue}b!=null&&b.enumerable?d(b,h+1):r.append("[Empty]")}s("]",y,h)}function u(a,h){let m;try{m=Reflect.ownKeys(a)}catch(y){r.append("[Uninspectable]");return}r.append("{");let p=!1;for(let y of m){if(r.stopped())break;if(i>=50){g(p,h),p=!0,U(r,"\u2026"),r.append(n?": ":":"),r.append("[MaxEntries]");break}i+=1;let c;try{c=Reflect.getOwnPropertyDescriptor(a,y)}catch(b){g(p,h),p=!0,Ae(r,y),r.append(n?": ":":"),r.append("[Uninspectable]");continue}c!=null&&c.enumerable&&(g(p,h),p=!0,Ae(r,y),r.append(n?": ":":"),d(c,h+1))}s("}",p,h)}function l(a,h){if(_.has(a)){r.append("[Circular]");return}if(h>=5){r.append("[MaxDepth]");return}let m;try{m=Array.isArray(a)}catch(p){r.append("[Uninspectable]");return}_.add(a);try{m?w(a,h):u(a,h)}finally{_.delete(a)}}function j(a,h){a===null?r.append("null"):typeof a=="string"?U(r,a):typeof a=="number"?r.append(Object.is(a,-0)?"-0":String(a)):typeof a=="boolean"?r.append(a?"true":"false"):typeof a>"u"?r.append("undefined"):typeof a=="bigint"?r.append("".concat(a,"n")):typeof a=="symbol"?Te(r,a):typeof a=="function"?r.append("[Function]"):l(a,h)}try{return j(e,0),r.result()}catch(a){return"[Uninspectable]"}}var at=["_16_0_a_0_4_0_5_m_1_u_1_cp_4_b_e_4_7_0_1_0_3l_4_1_1_2_3_1_0_6_0_1_2_1_0_1_j_1_2a_1_3u_8_4l_1_11_2_0_","6_14_1z_q_4_3_19_16_z_1_1_2q_1_0_f_1_7_1_a_2_2_0_g_0_1_t_t_2g_b_0_o_w_9_1_4_0_5_l_4_0_9_0_3_0_n_o_7_","a_5_n_1_6_g_15_1m_1h_3_0_i_0_7_9_f_f_4_7_2_1_2_l_1_6_1_0_3_3_3_0_g_0_d_1_1_2_e_1_a_0_8_5_4_1_2_l_1_6","_1_1_1_1_1_1_v_3_1_0_j_2_g_8_1_2_1_l_1_6_1_1_1_4_3_0_i_0_f_1_n_0_b_7_2_1_2_l_1_6_1_1_1_4_3_0_u_1_1_2","_f_0_h_0_1_5_3_2_1_3_3_1_1_0_1_1_3_1_3_2_3_b_m_0_1g_7_1_2_1_m_1_f_3_0_q_2_1_1_2_1_u_0_4_7_1_2_1_m_1_","9_1_4_3_0_u_2_1_1_f_1_h_8_1_2_1_14_2_0_g_0_5_2_8_2_o_5_5_h_3_n_1_8_1_0_2_6_1m_1b_1_1_c_6_1m_1_1_0_1_","4_1_n_1_0_1_9_1_1_9_0_2_4_1_0_l_3_w_0_1r_7_1_z_r_4_37_16_k_0_g_5_4_3_3_0_3_1_7_2_4_c_c_0_h_11_1_0_5_","0_2_16_1_98_1_3_2_6_1_0_1_3_2_14_1_3_2_w_1_3_2_6_1_0_1_3_2_e_1_1k_1_3_2_1u_11_f_g_2d_2_5_3_h7_2_g_1_","p_5_22_6_7_7_h_d_i_e_h_e_c_1_2_f_1f_z_0_4_0_1v_2g_7_4_2_x_1_0_5_1x_a_u_1d_t_2_4_b_17_4_p_1i_m_9_1g_2","a_0_2l_1a_h_7_1i_t_d_1_a_17_q_z_15_2_a_z_2_a_5_16_2_2_15_3_1_5_1_1_3_0_5_5b_1s_7p_2_5_2_11_2_5_2_7_1","_0_1_0_1_0_1_u_2_1g_1_6_1_0_3_2_1_6_3_3_2_5_4_c_5_2_1_6_38_0_d_0_g_c_2t_0_4_0_2_9_1_0_3_4_6_0_1_0_1_","0_1_3_1_a_2_3_5_4_4_0_1g_1_22j_6c_6_3_3_1_c_11_1_0_5_0_2_1j_7_0_g_m_9_6_1_6_1_6_1_6_1_6_1_6_1_6_1_6_","28_0_d1_1_16_4_5_1_4_2d_6_2_1_2h_1_3_5_16_1_2l_h_v_1c_f_e8_533_1s_h3g_1v_19_2_7g_3_f_a_1_k_1a_g_u_2_","1x_1d_8_2_2u_2_29_k_g_1_2_1_3_1_m_t_1f_e_1d_1q_5_3_0_1_1_b_r_a_m_p_s_7_1a_s_0_g_4_1_9_a_4_1_14_n_2_1","_7_k_m_3_0_3_1d_1_0_3_1_2_4_2_0_1_0_o_2_2_a_7_2_c_5_2_5_2_5_9_6_1_6_1_16_1_d_6_36_t_8mb_c_m_4_1c_6is","_a5_2_2x_12_6_c_4_5_0_1_9_1_c_1_4_1_0_1_1_1_1_1_2z_x_a2_i_1r_2_1h_14_b_38_4_1_3q_10_p_6_p_b_2g_3_5_2","_5_2_5_2_2_z_b_1_p_1_i_1_1_1_e_2_d_y_3e_at_s_3_1c_1b_v_d_j_1_7_6_11_a_t_2_z_4_7_1c_4d_i_z_4_z_4_13_8","_1f_c_a_1_e_1_6_1_1_1_a_1_e_1_6_1_1_3_1f_c_8m_9_l_a_7_o_5_1_15_1_8_1x_5_2_0_1_17_1_1_3_0_2_m_a_m_9_u","_1t_i_1_1_a_l_a_p_6_p_12_1j_6_1_1s_0_f_3_1_2_1_s_16_s_3_s_z_7_1_r_r_1h_a_l_a_i_d_h_32_20_1j_1e_d_1e_","d_z_12_r_9_m_6y_15_6_1_g_5_1k_s_a_0_8_l_16_h_1a_k_r_m_c_1g_1l_1_2_0_d_18_w_o_q_z_t_0_2_0_8_y_3_0_c_1","b_e_3_l_0_1_0_z_h_1_o_j_1_1r_6_1_0_1_3_1_e_1_9_7_1a_12_7_2_1_2_l_1_6_1_1_1_4_3_0_i_0_c_4_u_9_1_0_2_0","_1_11_1_0_p_0_1_0_18_1g_i_3_k_2_u_1b_k_1_1_0_54_1a_15_3_10_1b_k_0_1n_16_d_0_1z_q_11_6_55_17_38_1r_v_","7_2_0_2_7_1_1_1_n_f_0_1_0_2m_7_2_12_g_0_1_0_s_0_a_13_7_0_l_0_b_19_j_0_i_20_5j_w_v_8_1_10_h_0_1d_t_34","_6_1_1_1_11_l_0_p_5_1_1_1_v_e_0_n_17_78_i_f_0_1_c_1_x_3g_0_27_pl_6e_5f_218_2o_f_tr_h_5_p_32y_5_g6_5a","1_t_1cy_fs_7_u_h_26_h_t_i_1b_g_3_v_k_5_i_c0_18_5v_1r_w_o_2_o_18_22_5_0_1u_c_1s_1_1_0_e_1_c_5p1_15_v_","2p_36_6pp_3_1_6_1_1_1_82_f_0_t_2_2_0_e_3_8_az_1s4_2y_5_c_3_8_7_9_4me_2c_1_1y_1_1_2_0_2_1_2_3_1_b_1_0","_1_6_1_1s_1_3_2_7_1_6_1_r_1_3_1_4_1_0_3_6_1_9f_2_o_1_o_1_u_1_o_1_u_1_o_1_u_1_o_1_u_1_o_1_7_1f8_u_6_5","_79_1p_42_18_a_6_g_0_8x_t_i_17_dg_r_6c_t_2_0_5r_u_1_2_1_1_1_6_2_4_9_1_68_6_1_3_1_1_1_e_1_5g_1n_1v_7_","0_xg_3_1_q_1_1_1_0_2_0_1_9_1_3_1_0_1_0_6_0_4_0_1_0_1_0_1_2_1_1_1_0_2_0_1_0_1_0_1_0_1_0_1_1_1_0_2_3_1","_6_1_3_1_3_1_0_1_9_1_g_5_2_1_4_1_g_3es_wyn_w_3dp_2_4gd_2_5rk_f_h9_1wi_f1_15u_3t6_5_6jt"].join(""),re=at.slice(1).split("_"),ut=[],Ce=127;for(let e=0;e<re.length;e+=2){let t=Ce+1+Number.parseInt(re[e],36),r=t+Number.parseInt(re[e+1],36);ut.push([t,r]),Ce=r}var Xt=new Set([..."\u060B$\u20BC\u17DB\xA5\u20A1\u20B1\xA3\u20AC\xA2\u20B9\uFDFC\u20AA\u20A9\u20AD\u20A8\u20AE\u20A6\u20BD\u20AB\u0E3F\u20A9\u20BA\u20B4","$U","$b","B/.","BZ$","Br","Bs","C$","CHF","Ft","Gs","J$","KM","K\u010D","L","MT","NT$","P","Q","R","R$","RD$","RM","Rp","S","S/.","TT$","Z$","kn","kr","lei","z\u0142","\u0192","\u0414\u0438\u043D.","\u0434\u0435\u043D","\u043B\u0432","\u062F.\u0625","Lek"]),ct=Object.prototype.hasOwnProperty,De=Function.prototype.toString,ft=De.call(Object),Ie=class{constructor(){V(this,"hasRepeatedReferences",!1);V(this,"clones",[]);V(this,"index");V(this,"sources",[])}get(e){if(this.index){let r=this.index.get(e);return r!==void 0&&(this.hasRepeatedReferences=!0),r}let t=this.sources.indexOf(e);if(t!==-1)return this.hasRepeatedReferences=!0,this.clones[t]}set(e,t){if(this.index){this.index.set(e,t);return}if(this.sources.push(e),this.clones.push(t),this.sources.length===32){this.index=new WeakMap;for(let r=0;r<this.sources.length;r++)this.index.set(this.sources[r],this.clones[r]);this.sources=[],this.clones=[]}}};function Se(e,t){let r=t.get(e);if(r!==void 0)return r;let n=e.slice(0);return t.set(e,n),n}function pt(e,t){if(typeof Buffer<"u"&&Buffer.isBuffer(e)){let i=Buffer.from(e);return t.set(e,i),i}let r=Se(e.buffer,t);if(e instanceof DataView||Object.prototype.toString.call(e)==="[object DataView]"){let i=new DataView(r,e.byteOffset,e.byteLength);return t.set(e,i),i}let n=e.constructor,_=new n(r,e.byteOffset,e.length);return t.set(e,_),_}function gt(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0})}function L(e,t,r,n){for(let _ of r){let i=t[_],o=typeof i!="object"||i===null?i:P(i,n);_==="__proto__"?gt(e,_,o):e[_]=o}}function F(e,t,r,n){for(let _ of r){let i=Object.getOwnPropertyDescriptor(t,_);if(i){if("value"in i){let o=i.value;i.value=typeof o!="object"||o===null?o:P(o,n)}Object.defineProperty(e,_,i)}}}var ht=Map.prototype.entries,yt=Set.prototype.values,oe=Object.prototype.toString,Ee,dt=(Ee=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength"))==null?void 0:Ee.get,ke,bt=(ke=Object.getOwnPropertyDescriptor(RegExp.prototype,"flags"))==null?void 0:ke.get,Me,Yt=(Me=Object.getOwnPropertyDescriptor(RegExp.prototype,"global"))==null?void 0:Me.get,xe,Pe=(xe=Object.getOwnPropertyDescriptor(RegExp.prototype,"source"))==null?void 0:xe.get,er=RegExp.prototype.test,ne;function mt(e){if(e instanceof ArrayBuffer)return!0;try{return dt.call(e),!0}catch(t){return!1}}function vt(e){try{return ht.call(e)}catch(t){return null}}function Ot(e){try{return yt.call(e)}catch(t){return null}}function jt(e){var t;try{return ne||(ne=(t=Object.getOwnPropertyDescriptor(URL.prototype,"href"))==null?void 0:t.get),ne.call(e)}catch(r){return null}}function P(e,t){if(typeof e!="object"||e===null)return e;let r=t.get(e);if(r!==void 0)return r;if(Array.isArray(e)){let s=e.length,d=new Array(s);t.set(e,d);let w=e,u=Object.keys(e);if(u.length===s&&(s===0||u[s-1]==="".concat(s-1)))for(let l=0;l<s;l++){let j=w[l];d[l]=typeof j!="object"||j===null?j:P(j,t)}else L(d,w,u,t);return d}let n=Object.getPrototypeOf(e);if(n===Object.prototype){let s={};return t.set(e,s),L(s,e,Object.keys(e),t),s}if(n===null){let s=Object.create(null);return t.set(e,s),L(s,e,Object.keys(e),t),s}if(M(e)){let s=new Date(Re.call(e));return t.set(e,s),F(s,e,Object.keys(e),t),s}if(ArrayBuffer.isView(e))return pt(e,t);if(mt(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return Se(e,t);let _=vt(e);if(_){let s=new Map;t.set(e,s);for(let[d,w]of _)s.set(P(d,t),P(w,t));return F(s,e,Object.keys(e),t),s}let i=Ot(e);if(i){let s=new Set;t.set(e,s);for(let d of i)s.add(P(d,t));return F(s,e,Object.keys(e),t),s}if(B(e)&&e!==RegExp.prototype){let s=new RegExp(Pe.call(e),bt.call(e));return s.lastIndex=e.lastIndex,t.set(e,s),F(s,e,Object.keys(e),t),s}let o=jt(e);if(o!==null){let s=new URL(o);return t.set(e,s),F(s,e,Object.keys(e),t),s}if(e instanceof Error||oe.call(e)==="[object Error]"){let s=Object.create(Object.getPrototypeOf(e));return t.set(e,s),F(s,e,Reflect.ownKeys(e),t),s}let g=Object.create(n);return t.set(e,g),L(g,e,Object.keys(e),t),g}function f(e){return P(e,new Ie)}function le(e){let t=new Ie,r=P(e,t);return{hasRepeatedReferences:t.hasRepeatedReferences,value:r}}function v(e){var n;if(e==null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;let r=Object.getOwnPropertyDescriptor(t,"constructor");return!r||!("value"in r)||typeof r.value!="function"?!1:((n=Object.getOwnPropertyDescriptor(r.value,"prototype"))==null?void 0:n.value)===t&&De.call(r.value)===ft}function N(e){return typeof e=="string"}function We(e){return Number.isFinite(e)}function Q(e){return typeof e=="boolean"}function B(e){if(e===null||typeof e!="object")return!1;try{return e instanceof RegExp?(e.source,!0):oe.call(e)!=="[object RegExp]"?!1:(Pe.call(e),!0)}catch(t){return!1}}var Re=Date.prototype.getTime;function M(e){if(e instanceof Date)return!0;if(e===null||typeof e!="object"||oe.call(e)!=="[object Date]")return!1;try{return Re.call(e),!0}catch(t){return!1}}function S(e){return e!=null}function Z(e,t){return e!=null&&ct.call(e,t)}function $e(e,t){return e.localeCompare(t)}var wt=256,At=1024,Tt=1,Ct=new Map,Et=new Map;function ie(e){if(e>=97&&e<=122)return e-32;if(e>65535)return e;let t=String.fromCharCode(e).toUpperCase();if(t.length!==1)return e;let r=t.charCodeAt(0);return e>127&&r<128?e:r}function kt(e){let t=new Uint32Array(e.length),r=0;for(let n=1;n<e.length;n++){for(;r>0&&e[n]!==e[r];)r=t[r-1];e[n]===e[r]&&r++,t[n]=r}return t}function Mt(e,t){let r=[[]],n=!0,_=!1,i=!1,o=0;for(let l=0;l<e.length;){let j=e.codePointAt(l);if(j!==92){if(j===42)_=!0,i||(r.push([]),i=!0);else{let c=t?j:ie(j);r[r.length-1].push(c),n&&(n=c<=127),o++,i=!1}l+=j>65535?2:1;continue}let a=l+1;for(;e.charCodeAt(a)===92;)a++;let h=a-l,m=e.codePointAt(a),p,y=!1;m===42?(y=h%2===0,p=y?h/2:(h-1)/2):m===void 0||m===10||m===13||m===8232||m===8233?p=Math.ceil(h/2):p=Math.floor(h/2);for(let c=0;c<p;c++)r[r.length-1].push(92),o++;if(y){i=!1,l=a;continue}if(m!==void 0){let c=t?m:ie(m);r[r.length-1].push(c),n&&(n=c<=127),o++,a+=m>65535?2:1}i=!1,l=a}let g=_&&r[0].length===0,s=_&&r[r.length-1].length===0,d=[];for(let l of r)l.length&&d.push({values:l});let w=g?0:1,u=d.length-(s?0:1);for(let l=w;l<u;l++)d[l].values.length>Tt&&(d[l].failure=kt(d[l].values));return{asciiOnly:n,endsWithWildcard:s,hasWildcard:_,minimumInputLength:o,segments:d,startsWithWildcard:g}}function xt(e,t){let r=t?Ct:Et,n=e.length<=At;if(n){let i=r.get(e);if(i)return i}let _=Mt(e,t);if(n){if(r.size>=wt){let i=r.keys().next().value;i!==void 0&&r.delete(i)}r.set(e,_)}return _}function Dt(e,t){if(t){let _=[];for(let i=0;i<e.length;){let o=e.codePointAt(i);_.push(o),i+=o>65535?2:1}return _}let r=new Uint32Array(e.length),n=0;for(let _=0;_<e.length;){let i=e.codePointAt(_);r[n]=ie(i),n++,_+=i>65535?2:1}return n===r.length?r:r.subarray(0,n)}function G(e,t,r,n){for(let _=0;_<r.values.length;_++){let i=e.charCodeAt(t+_);if(!n&&i>=97&&i<=122&&(i-=32),i!==r.values[_])return!1}return!0}function It(e,t,r,n,_){let i=n-t.values.length;if(i<r)return-1;if(!t.failure){for(let g=r;g<=i;g++)if(G(e,g,t,_))return g;return-1}let o=0;for(let g=r;g<n;g++){let s=e.charCodeAt(g);for(!_&&s>=97&&s<=122&&(s-=32);o>0&&s!==t.values[o];)o=t.failure[o-1];if(s===t.values[o]&&(o++,o===t.values.length))return g-o+1}return-1}function St(e,t,r){if(e.length<t.minimumInputLength)return!1;if(!t.hasWildcard)return e.length===t.minimumInputLength&&G(e,0,t.segments[0],r);let n=0,_=t.segments.length,i=0,o=e.length;if(!t.startsWithWildcard){let g=t.segments[0];if(!G(e,0,g,r))return!1;i=g.values.length,n++}if(!t.endsWithWildcard){_--;let g=t.segments[_];if(o-=g.values.length,!G(e,o,g,r))return!1}for(let g=n;g<_;g++){let s=t.segments[g],d=It(e,s,i,o,r);if(d===-1)return!1;i=d+s.values.length}return!0}function J(e,t,r){for(let n=0;n<r.values.length;n++)if(e[t+n]!==r.values[n])return!1;return!0}function Pt(e,t,r,n){let _=n-t.values.length;if(_<r)return-1;if(!t.failure){for(let o=r;o<=_;o++)if(J(e,o,t))return o;return-1}let i=0;for(let o=r;o<n;o++){for(;i>0&&e[o]!==t.values[i];)i=t.failure[i-1];if(e[o]===t.values[i]&&(i++,i===t.values.length))return o-i+1}return-1}function Wt(e,t){if(e.length<t.minimumInputLength)return!1;if(!t.hasWildcard)return e.length===t.minimumInputLength&&J(e,0,t.segments[0]);let r=0,n=t.segments.length,_=0,i=e.length;if(!t.startsWithWildcard){let o=t.segments[0];if(!J(e,0,o))return!1;_=o.values.length,r++}if(!t.endsWithWildcard){n--;let o=t.segments[n];if(i-=o.values.length,!J(e,i,o))return!1}for(let o=r;o<n;o++){let g=t.segments[o],s=Pt(e,g,_,i);if(s===-1)return!1;_=s+g.values.length}return!0}function Rt(e,t){let r=e.charCodeAt(0)===33,n=r?e.slice(1):e;return{compiled:n.length===0?void 0:xt(n,t),negative:r}}function _e(e,t,r,n){var i;let _;return t.compiled?t.compiled.asciiOnly?_=St(e,t.compiled,r):((i=n.tokens)!=null||(n.tokens=Dt(e,r)),_=Wt(n.tokens,t.compiled)):_=e.length===0,t.negative?!_:_}function Fe(e,t){let r=(t==null?void 0:t.caseSensitiveMatch)===!0,n=typeof e=="string"?[e]:Array.from(new Set(e));if(n.length===0)return()=>!1;let _=n.map(i=>Rt(i,r));if(typeof e=="string"){let i=_[0];return o=>_e(o,i,r,{})}return i=>{let o={},g=!1,s=!1;for(let d of _)if(d.negative){if(!_e(i,d,r,o))return!1}else g=!0,!s&&_e(i,d,r,o)&&(s=!0);return g?s:!0}}var $t={arraysMustNotContainPlaceholders:!0},Ft=Object.prototype.hasOwnProperty,Ne=Date.prototype.getTime,Ve,Be=(Ve=Object.getOwnPropertyDescriptor(RegExp.prototype,"source"))==null?void 0:Ve.get,ze,He=(ze=Object.getOwnPropertyDescriptor(RegExp.prototype,"flags"))==null?void 0:ze.get;function X(e,t){if(e===t)return!0;if(e===null||t===null||typeof e!="object"||typeof t!="object")return Number.isNaN(e)&&Number.isNaN(t);if(M(e)||M(t)){if(!M(e)||!M(t))return!1;let _=Ne.call(e),i=Ne.call(t);return _===i||Number.isNaN(_)&&Number.isNaN(i)}if(B(e)||B(t))return B(e)&&B(t)&&Be.call(e)===Be.call(t)&&He.call(e)===He.call(t);if(Array.isArray(e)||Array.isArray(t)){if(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)return!1;for(let _=e.length;_--;)if(!X(e[_],t[_]))return!1;return!0}if(!v(e)||!v(t))return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let _=r.length;_--;){let i=r[_];if(!Ft.call(t,i)||!X(e[i],t[i]))return!1}return!0}function se(e,t,r){if(Array.isArray(e)){if(e.length===0)return!0;if(r.arraysMustNotContainPlaceholders&&e.length&&e.some(n=>X(n,t)))return!1;for(let n=e.length;n--;)if(!se(e[n],t,r))return!1;return!0}if(v(e)){let n=Object.keys(e);if(n.length===0)return!0;for(let _=n.length;_--;)if(!se(e[n[_]],t,r))return!1;return!0}return X(e,t)}function Y(e,t,r){if(e===void 0)throw new Error("object-all-values-equal-to/allEq(): [THROW_ID_01] The first input is undefined! Please provide the first argument.");if(t===void 0)throw new Error("object-all-values-equal-to/allEq(): [THROW_ID_02] The second input is undefined! Please provide the second argument.");if(r&&!v(r))throw new Error("object-all-values-equal-to/allEq(): [THROW_ID_03] The third argument, options object, was given not as a plain object but as a ".concat(typeof r,", equal to:\n").concat(O(r,4)));let n=E(E({},$t),r);return se(e,t,n)}var R={arrayVsArrayAllMustBeFound:"any",caseSensitive:!0,reportCompletionFunc:null,reportProgressFunc:null,reportProgressFuncFrom:0,reportProgressFuncTo:100},sr=Object.freeze(E({},R));function ee(e,t,r){var ge,he,ye,de,be,me;if(typeof e!="string"&&!Array.isArray(e))throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_01] The first argument must be a string or an array; received ".concat(O(e,4),"."));if(typeof t!="string"&&!Array.isArray(t))throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_02] The second argument must be a string or an array of strings; received ".concat(O(t,4),"."));if(r!=null&&(typeof r!="object"||Array.isArray(r)))throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_03] The third argument must be an options object, null, or undefined; received ".concat(O(r,4),"."));let n=(ge=r==null?void 0:r.arrayVsArrayAllMustBeFound)!=null?ge:R.arrayVsArrayAllMustBeFound;if(n!=="any"&&n!=="all")throw new TypeError('array-includes-with-glob/includesWithGlob(): [THROW_ID_04] opts.arrayVsArrayAllMustBeFound must be "any", "all", null, or undefined; received '.concat(O(n,4),"."));let _=(he=r==null?void 0:r.caseSensitive)!=null?he:R.caseSensitive;if(typeof _!="boolean")throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_05] opts.caseSensitive must be a Boolean, null, or undefined; received ".concat(O(_,4),"."));let i=(ye=r==null?void 0:r.reportProgressFunc)!=null?ye:R.reportProgressFunc;if(i!==null&&typeof i!="function")throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_06] opts.reportProgressFunc must be a function, null, or undefined; received ".concat(O(i,4),"."));let o=(de=r==null?void 0:r.reportProgressFuncFrom)!=null?de:R.reportProgressFuncFrom;if(!Number.isFinite(o))throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_07] opts.reportProgressFuncFrom must be a finite number, null, or undefined; received ".concat(O(o,4),"."));let g=(be=r==null?void 0:r.reportProgressFuncTo)!=null?be:R.reportProgressFuncTo;if(!Number.isFinite(g))throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_08] opts.reportProgressFuncTo must be a finite number, null, or undefined; received ".concat(O(g,4),"."));if(o>g)throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_09] opts.reportProgressFuncFrom cannot exceed opts.reportProgressFuncTo; received ".concat(o," and ").concat(g,"."));let s=(me=r==null?void 0:r.reportCompletionFunc)!=null?me:R.reportCompletionFunc;if(s!==null&&typeof s!="function")throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_10] opts.reportCompletionFunc must be a function, null, or undefined; received ".concat(O(s,4),"."));let d=typeof t=="string"?[t]:Array.from(t);for(let A of d)if(typeof A!="string")throw new TypeError("array-includes-with-glob/includesWithGlob(): [THROW_ID_11] The second argument's array must contain only strings and no holes; received ".concat(O(A,4),"."));let w=s?Date.now():0,u=typeof e=="string"?1:e.length,l,j=0,a=0;function h(A){i&&A!==l&&(l=A,i(A))}function m(A){return h(g),s==null||s({patternComparisons:j,sourceItemsVisited:a,timeTakenInMilliseconds:Date.now()-w}),A}h(o);let p=Array.from(new Set(d));if(u===0||p.length===0)return m(!1);let y={caseSensitiveMatch:_},c=p.map(A=>({matches:Fe(A,y),negative:A.charCodeAt(0)===33})),b=c.filter(A=>A.negative),T=c.filter(A=>!A.negative),k=new Uint8Array(T.length),pe=T.length;for(let A=0;A<u;A++){let z=typeof e=="string"?e:e[A];if(a++,typeof z=="string"){let ve=!0;for(let I of b)if(j++,!I.matches(z)){ve=!1;break}if(ve){if(T.length===0)return m(!0);if(n==="any"){for(let I of T)if(j++,I.matches(z))return m(!0)}else{for(let I=0;I<T.length;I++)k[I]||(j++,T[I].matches(z)&&(k[I]=1,pe--));if(pe===0)return m(!0)}}}h(o+Math.floor((A+1)/u*(g-o)))}return m(!1)}var Ke=Function.prototype.toString,Nt=Ke.call(Object);function Bt(e){var n;if(e===null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;let r=Object.getOwnPropertyDescriptor(t,"constructor");return!r||!("value"in r)||typeof r.value!="function"?!1:((n=Object.getOwnPropertyDescriptor(r.value,"prototype"))==null?void 0:n.value)===t&&Ke.call(r.value)===Nt}function x(e){return e==null?!1:Array.isArray(e)||typeof e=="string"?!!e.length:Bt(e)?!!Object.keys(e).length:typeof e=="number"}var D=Array.isArray,Ht=Object.prototype.propertyIsEnumerable;function qe(e){return!!e&&e.some(t=>typeof t=="string")}function Vt(e,t){let r=Object.keys(e),n=Object.keys(t);if(r.length===0||n.length===0)return!0;let _=r.length<=n.length?r:n,i=r.length<=n.length?t:e;for(let o=0;o<_.length;o++)if(!Ht.call(i,_[o]))return!1;return!0}function C(e){return e===null?"null":M(e)?"date":v(e)?"object":D(e)?"array":typeof e}var ae=Object.freeze([]),ue=Object.freeze({cb:null,mergeObjectsOnlyWhenKeysetMatches:!0,ignoreKeys:ae,hardMergeKeys:ae,hardArrayConcatKeys:ae,mergeArraysContainingStringsToBeEmpty:!1,oneToManyArrayObjectMerge:!1,hardMergeEverything:!1,hardArrayConcat:!1,ignoreEverything:!1,concatInsteadOfMerging:!0,dedupeStringsInArrayValues:!1,mergeBoolsUsingOrNotAnd:!0,useNullAsExplicitFalse:!1,reuseInputs:!1});function Ge(e){return(e.ignoreEverything?1:0)|(e.hardMergeEverything?2:0)|(e.hardArrayConcat?4:0)}function zt(e,t,r,n){var _,i,o;return(o=(i=(_=e.pairs)==null?void 0:_.get(t))==null?void 0:i.get(r))==null?void 0:o.get(Ge(n))}function Ue(e,t,r,n,_){e.pairs||(e.pairs=new WeakMap);let i=e.pairs.get(t);i||(i=new WeakMap,e.pairs.set(t,i));let o=i.get(r);o||(o=new Map,i.set(r,o)),o.set(Ge(n),_)}function $(e,t,r,n=!1){if(!n&&t!=="__proto__"){e[t]=r;return}Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0})}function Le(e){if(D(e)){let r=[];r.length=e.length;for(let n of Object.keys(e))$(r,n,e[n],!0);return r}let t=Object.create(Object.getPrototypeOf(e));for(let r of Object.keys(e))$(t,r,e[r],!0);return t}function W(e,t,r,n,_,i=!1,o=!1,g=!1){let s=e.path,d=e.pathSegments,w=_.memoizePairs&&v(t)&&v(r)?zt(_,t,r,n):void 0;if(w!=null&&w.active)return typeof n.cb=="function"?n.cb(f(w.pristine1),f(w.pristine2),w.result,e):w.result;if(w&&typeof n.cb!="function")return w.result;if(n.useNullAsExplicitFalse&&(t===null||r===null))return typeof n.cb=="function"?n.cb(f(t),f(r),null,e):null;let u=t;if((D(t)||v(t))&&!i)if(g){let p=le(t);u=p.value,_.memoizePairs||(_.memoizePairs=p.hasRepeatedReferences),i=typeof n.cb!="function"&&!n.oneToManyArrayObjectMerge&&!p.hasRepeatedReferences}else u=Le(t);let l=r;if((D(r)||v(r))&&!o)if(g){let p=le(r);l=p.value,_.memoizePairs||(_.memoizePairs=p.hasRepeatedReferences),o=typeof n.cb!="function"&&!n.oneToManyArrayObjectMerge&&!p.hasRepeatedReferences}else l=Le(r);let j;_.memoizePairs&&v(u)&&x(u)&&v(l)&&(j={active:!0,pristine1:t,pristine2:r,result:u},Ue(_,t,r,n,j),(t!==u||r!==l)&&Ue(_,u,l,n,j));let a;n.ignoreEverything?a=u:n.hardMergeEverything&&(a=l);let h=n.hardMergeEverything||n.ignoreEverything;if(D(u))if(x(u))if(D(l)&&x(l)){if(n.mergeArraysContainingStringsToBeEmpty&&(qe(u)||qe(l))){let c=h?a:[];return typeof n.cb=="function"?n.cb(f(t),f(r),c,e):c}if(n.hardArrayConcat){let c=h?a:u.concat(l);return typeof n.cb=="function"?n.cb(f(t),f(r),c,e):c}let p=[],y=n.concatInsteadOfMerging?void 0:new Set(u);for(let c=0,b=Math.max(u.length,l.length);c<b;c++)_.reportMetadata&&(s=e.path.length?"".concat(e.path,".").concat(c):"".concat(c),d=[...e.pathSegments,c]),v(u[c])&&v(l[c])&&(n.mergeObjectsOnlyWhenKeysetMatches&&Vt(u[c],l[c])||!n.mergeObjectsOnlyWhenKeysetMatches)?p.push(W(_.reportMetadata?{path:s,pathSegments:d,key:e.key,type:[C(u[c]),C(l[c])]}:e,u[c],l[c],n,_,i,o)):n.oneToManyArrayObjectMerge&&(u.length===1||l.length===1)?p.push(u.length===1?W(_.reportMetadata?{path:s,pathSegments:d,key:e.key,type:[C(u[0]),C(l[c])]}:e,u[0],l[c],n,_,i,o):W(_.reportMetadata?{path:s,pathSegments:d,key:e.key,type:[C(u[c]),C(l[0])]}:e,u[c],l[0],n,_,i,o)):n.concatInsteadOfMerging?(c<u.length&&p.push(u[c]),c<l.length&&p.push(l[c])):(c<u.length&&p.push(u[c]),c<l.length&&!(y!=null&&y.has(l[c]))&&p.push(l[c]));n.dedupeStringsInArrayValues&&p.every(c=>N(c))&&(p=[...new Set(p)].sort($e)),u=f(p)}else{let p=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else{if(x(l)){let y=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}let p=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else if(v(u)){if(x(u)){if(D(l)){if(x(l)){let b=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),b,e):b}let c=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),c,e):c}if(v(l)){Object.keys(l).forEach(b=>{if(_.reportMetadata&&(s=e.path.length?"".concat(e.path,".").concat(b):"".concat(b),d=[...e.pathSegments,b]),Z(u,b)){let T=u[b],k=l[b];n.ignoreKeys.length>0&&ee(b,n.ignoreKeys)?$(u,b,W(_.reportMetadata?{path:s,pathSegments:d,key:b,type:[C(T),C(k)]}:e,T,k,q(E({},n),{ignoreEverything:!0}),_,i,o),_.reuseCallerInputs):n.hardMergeKeys.length>0&&ee(b,n.hardMergeKeys)?$(u,b,W(_.reportMetadata?{path:s,pathSegments:d,key:b,type:[C(T),C(k)]}:e,T,k,q(E({},n),{hardMergeEverything:!0}),_,i,o),_.reuseCallerInputs):n.hardArrayConcatKeys.length>0&&ee(b,n.hardArrayConcatKeys)?$(u,b,W(_.reportMetadata?{path:s,pathSegments:d,key:b,type:[C(T),C(k)]}:e,T,k,q(E({},n),{hardArrayConcat:!0}),_,i,o),_.reuseCallerInputs):$(u,b,W({path:s,pathSegments:d,key:b,type:[C(T),C(k)]},T,k,n,_,i,o),_.reuseCallerInputs)}else $(u,b,l[b],!0)});let c=u;return j&&(j.active=!1,j.result=c),typeof n.cb=="function"?n.cb(f(t),f(r),c,e):u}let y=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}if(D(l)||v(l)||x(l)){let y=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}let p=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else if(M(u)){if(Number.isFinite(+u)){if(M(l)){if(Number.isFinite(+l)){let b=h?a:u>l?u:l;return typeof n.cb=="function"?n.cb(f(t),f(r),b,e):b}let c=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),c,e):c}let y=h?a:l||u;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}if(M(l)){let y=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}let p=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else if(N(u)){if(x(u)){if((D(l)||v(l)||N(l))&&x(l)){let c=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),c,e):c}let y=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}if(S(l)&&!Q(l)){let y=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}let p=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else if(We(u)){if(x(l)){let y=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}let p=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else if(Q(u)){if(Q(l)){if(n.mergeBoolsUsingOrNotAnd){let c=h?a:u||l;return typeof n.cb=="function"?n.cb(f(t),f(r),c,e):c}let y=h?a:u&&l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}if(S(l)){let y=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}let p=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else if(u===null){if(S(l)){let y=h?a:l;return typeof n.cb=="function"?n.cb(f(t),f(r),y,e):y}let p=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}else{let p=h?a:l===void 0?u:l;return typeof n.cb=="function"?n.cb(f(t),f(r),p,e):p}let m=h?a:u;return typeof n.cb=="function"?n.cb(f(t),f(r),m,e):m}function ce(e){if(typeof e=="string")return!0;if(!D(e))return!1;for(let t=0;t<e.length;t++)if(!Z(e,t)||typeof e[t]!="string")return!1;return!0}function Je(e,t,r){if(!arguments.length)throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_01] Both inputs are missing");if(S(r)&&!v(r))throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_02] The optional options object should be a plain object, currently it's ".concat(O(r,4)," (type ").concat(typeof r,")"));let n=r?E({},ue):ue;if(r){for(let o of Object.keys(ue))if(Z(r,o)){let g=r[o];g!==void 0&&(n[o]=g)}if(n.cb!==null&&typeof n.cb!="function")throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_03] opts.cb must be a function, null, or undefined; received ".concat(O(n.cb,4),"."));if(!ce(n.ignoreKeys))throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_04] opts.ignoreKeys must be a string or an array of strings without holes; received ".concat(O(n.ignoreKeys,4),"."));if(!ce(n.hardMergeKeys))throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_05] opts.hardMergeKeys must be a string or an array of strings without holes; received ".concat(O(n.hardMergeKeys,4),"."));if(!ce(n.hardArrayConcatKeys))throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_06] opts.hardArrayConcatKeys must be a string or an array of strings without holes; received ".concat(O(n.hardArrayConcatKeys,4),"."));let i=["mergeObjectsOnlyWhenKeysetMatches","mergeArraysContainingStringsToBeEmpty","oneToManyArrayObjectMerge","hardMergeEverything","hardArrayConcat","ignoreEverything","concatInsteadOfMerging","dedupeStringsInArrayValues","mergeBoolsUsingOrNotAnd","useNullAsExplicitFalse","reuseInputs"];for(let o of i)if(typeof n[o]!="boolean")throw new TypeError("object-merge-advanced/mergeAdvanced(): [THROW_ID_07] opts.".concat(o," must be a Boolean; received ").concat(O(n[o],4),"."))}let _=n.reuseInputs&&!n.oneToManyArrayObjectMerge&&typeof n.cb!="function";return W({key:null,path:"",pathSegments:[],type:[C(e),C(t)]},e,t,n,{memoizePairs:_,reuseCallerInputs:_,reportMetadata:typeof n.cb=="function"},_,_,!0)}var Qe="11.2.4";var qt=Qe,Ze={placeholder:!1,doNotFillThesePathsIfTheyContainPlaceholders:[],useNullAsExplicitFalse:!0};function H(e){return v(e)?"plain object":Array.isArray(e)?"array":typeof e}function fe(e,t,r,n,_=""){let i=e;if(S(i)||!(_.length&&n.has(_)&&Y(i,r.placeholder)))if(v(t)&&v(i))Object.keys(t).forEach(o=>{let g="".concat(_?"".concat(_,"."):"").concat(o);n.has(g)&&(S(i[o])?Y(i[o],r.placeholder)&&(i[o]=r.placeholder):i[o]=r.placeholder),(!S(i[o])||!(n.has(g)&&Y(i[o],r.placeholder)))&&(i[o]=fe(i[o],t[o],r,n,g))});else if(Array.isArray(t)&&Array.isArray(i)){if(i.length===0)return f(t);if(t.length)for(let o=i.length;o--;){let g="".concat(_?"".concat(_,"."):"","0");(v(t[0])||Array.isArray(t[0]))&&(i[o]=fe(i[o],t[0],r,n,g))}}else return Je(t,i,{useNullAsExplicitFalse:r.useNullAsExplicitFalse,cb:(o,g,s)=>H(o)===H(g)?g:s});return i}function Ut(e,t,r){if(arguments.length===0)throw new Error("object-fill-missing-keys/fillMissing(): [THROW_ID_01] All arguments are missing!");if(!v(e))throw new Error("object-fill-missing-keys/fillMissing(): [THROW_ID_02] First argument, input object must be a plain object. Currently it's type is \"".concat(H(e),"\" and it's equal to: ").concat(O(e,4)));if(!v(t))throw new Error("object-fill-missing-keys/fillMissing(): [THROW_ID_03] Second argument, schema object, must be a plain object. Currently it's type is \"".concat(H(t),"\" and it's equal to: ").concat(O(t,4)));if(r&&!v(r))throw new Error("object-fill-missing-keys/fillMissing(): [THROW_ID_04] Third argument, schema object, must be a plain object. Currently it's type is \"".concat(H(r),"\" and it's equal to: ").concat(O(r,4)));let n=E(E({},Ze),r);n.doNotFillThesePathsIfTheyContainPlaceholders=we(n.doNotFillThesePathsIfTheyContainPlaceholders);let _=null,i=null;if(n.doNotFillThesePathsIfTheyContainPlaceholders.length&&!n.doNotFillThesePathsIfTheyContainPlaceholders.every((o,g)=>N(o)?!0:(_=o,i=g,!1)))throw new Error('object-fill-missing-keys/fillMissing(): [THROW_ID_05] resolvedOpts.doNotFillThesePathsIfTheyContainPlaceholders element with an index number "'.concat(i,"\" is not a string! It's ").concat(H(_),", equal to:\n").concat(O(_,4)));return fe(f(e),t,n,new Set(n.doNotFillThesePathsIfTheyContainPlaceholders))}return it(Lt);})();
11
11
  /**
12
12
  * @name arrayiffy-if-string
13
13
  * @fileoverview Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else.
14
- * @version 5.2.2
14
+ * @version 5.2.3
15
15
  * @author Roy Revelt
16
16
  * @license MIT
17
17
  * {@link https://codsen.com/os/arrayiffy-if-string/}
@@ -19,7 +19,7 @@
19
19
  /**
20
20
  * @name codsen-format-diagnostic-value
21
21
  * @fileoverview Safely format untrusted JavaScript values for diagnostics
22
- * @version 1.1.0
22
+ * @version 1.1.1
23
23
  * @author Roy Revelt
24
24
  * @license MIT
25
25
  * {@link https://codsen.com/os/codsen-format-diagnostic-value/}
@@ -27,7 +27,7 @@
27
27
  /**
28
28
  * @name codsen-utils
29
29
  * @fileoverview Various utility functions
30
- * @version 1.10.0
30
+ * @version 1.10.1
31
31
  * @author Roy Revelt
32
32
  * @license MIT
33
33
  * {@link https://codsen.com/os/codsen-utils/}
@@ -35,7 +35,7 @@
35
35
  /**
36
36
  * @name object-all-values-equal-to
37
37
  * @fileoverview Does the AST/nested-plain-object/array/whatever contain only one kind of value?
38
- * @version 4.2.2
38
+ * @version 4.2.3
39
39
  * @author Roy Revelt
40
40
  * @license MIT
41
41
  * {@link https://codsen.com/os/object-all-values-equal-to/}
@@ -43,7 +43,7 @@
43
43
  /**
44
44
  * @name array-includes-with-glob
45
45
  * @fileoverview Check strings against whole-string wildcard patterns
46
- * @version 5.2.2
46
+ * @version 5.2.3
47
47
  * @author Roy Revelt
48
48
  * @license MIT
49
49
  * {@link https://codsen.com/os/array-includes-with-glob/}
@@ -51,7 +51,7 @@
51
51
  /**
52
52
  * @name util-nonempty
53
53
  * @fileoverview Is the input (plain object, array, string or whatever) not empty?
54
- * @version 5.2.2
54
+ * @version 5.2.3
55
55
  * @author Roy Revelt
56
56
  * @license MIT
57
57
  * {@link https://codsen.com/os/util-nonempty/}
@@ -59,7 +59,7 @@
59
59
  /**
60
60
  * @name object-merge-advanced
61
61
  * @fileoverview Deeply merge JSON-like data structures
62
- * @version 14.2.2
62
+ * @version 14.2.3
63
63
  * @author Roy Revelt
64
64
  * @license MIT
65
65
  * {@link https://codsen.com/os/object-merge-advanced/}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "object-fill-missing-keys",
3
- "version": "11.2.3",
3
+ "version": "11.2.4",
4
4
  "description": "Add missing keys into plain objects, according to a reference object",
5
5
  "keywords": [
6
6
  "add",
@@ -70,10 +70,10 @@
70
70
  }
71
71
  },
72
72
  "dependencies": {
73
- "arrayiffy-if-string": "^5.2.2",
74
- "codsen-utils": "^1.10.0",
75
- "object-all-values-equal-to": "^4.2.2",
76
- "object-merge-advanced": "^14.2.2"
73
+ "arrayiffy-if-string": "^5.2.3",
74
+ "codsen-utils": "^1.10.1",
75
+ "object-all-values-equal-to": "^4.2.3",
76
+ "object-merge-advanced": "^14.2.3"
77
77
  },
78
78
  "engines": {
79
79
  "node": ">=18.20.8"