@ncino/web-components 6.0.0 → 6.1.0-preview.10

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.
Files changed (84) hide show
  1. package/dist/_virtual/index3.js +1 -1
  2. package/dist/_virtual/index4.js +1 -1
  3. package/dist/components/boolean/boolean.gator.js +5 -4
  4. package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.js +3 -3
  5. package/dist/components/input/base/input-base.gator.js +1 -0
  6. package/dist/components/input/base/input-base.js +1 -1
  7. package/dist/components/input/gator/input-date/input-date.gator.js +8 -8
  8. package/dist/components/input/gator/input-label/input-label.gator.js +5 -5
  9. package/dist/components/input/gator/input-masked/input-masked.gator.js +1 -1
  10. package/dist/components/input/gator/input-text/input-text.gator.js +8 -7
  11. package/dist/components/input/gator/input-textarea/input-textarea.gator.js +13 -5
  12. package/dist/components/input-rich-text/input-rich-text.slds.js +1 -1
  13. package/dist/components/panel/gator/panel.storybook-test.js +1 -1
  14. package/dist/components/radio/radio.gator.js +31 -26
  15. package/dist/components/radio-group/radio-group.gator.js +6 -6
  16. package/dist/components/skip-link/gator/base/skip-link.gator.js +22 -0
  17. package/dist/components/skip-link/gator/list-item/skip-link-list-item.gator.js +7 -0
  18. package/dist/components/skip-link/index.js +1 -0
  19. package/dist/components/table/gator/table-bulk-controls/table-bulk-controls.gator.js +2 -2
  20. package/dist/components/table/gator/table.gator.js +29 -38
  21. package/dist/components/text-link/gator/text-link.gator.js +20 -10
  22. package/dist/index.gator.js +1 -1
  23. package/dist/index.js +1 -1
  24. package/dist/index.utils.js +1 -0
  25. package/dist/node_modules/.pnpm/@vitest_expect@3.2.4/node_modules/@vitest/expect/dist/index.js +1 -1
  26. package/dist/node_modules/.pnpm/@vitest_snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js +2 -2
  27. package/dist/node_modules/.pnpm/color-convert@3.1.0/node_modules/color-convert/conversions.js +1 -0
  28. package/dist/node_modules/.pnpm/color-convert@3.1.0/node_modules/color-convert/index.js +1 -0
  29. package/dist/node_modules/.pnpm/color-convert@3.1.0/node_modules/color-convert/route.js +1 -0
  30. package/dist/node_modules/.pnpm/color-name@2.0.0/node_modules/color-name/index.js +1 -0
  31. package/dist/node_modules/.pnpm/color-parse@1.4.2/node_modules/color-parse/index.js +1 -1
  32. package/dist/node_modules/.pnpm/color-string@2.0.1/node_modules/color-string/index.js +1 -0
  33. package/dist/node_modules/.pnpm/color@5.0.0/node_modules/color/index.js +1 -0
  34. package/dist/node_modules/.pnpm/{magic-string@0.30.17 → magic-string@0.30.18}/node_modules/magic-string/dist/magic-string.es.js +2 -2
  35. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/index.js +1 -1
  36. package/dist/packages/web-components/src/components/boolean/boolean.gator.scss.js +1 -1
  37. package/dist/packages/web-components/src/components/boolean/boolean.gator.tokens.scss.js +1 -1
  38. package/dist/packages/web-components/src/components/checkbox/checkbox.gator.scss.js +1 -1
  39. package/dist/packages/web-components/src/components/checkbox-group/checkbox-group.gator.scss.js +1 -1
  40. package/dist/packages/web-components/src/components/input/gator/input-textarea/input-textarea.gator.scss.js +1 -1
  41. package/dist/packages/web-components/src/components/page-header/gator/page-header.gator.scss.js +1 -1
  42. package/dist/packages/web-components/src/components/skip-link/gator/base/skip-link.gator.scss.js +1 -0
  43. package/dist/packages/web-components/src/components/skip-link/gator/list-item/skip-link-list-item.gator.scss.js +1 -0
  44. package/dist/packages/web-components/src/styles/_gator-utils.scss.js +1 -1
  45. package/dist/types/components/boolean/boolean.gator.d.ts +7 -1
  46. package/dist/types/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.d.ts +6 -0
  47. package/dist/types/components/input/base/input-base.d.ts +10 -0
  48. package/dist/types/components/input/gator/input-date/input-date.gator.d.ts +11 -1
  49. package/dist/types/components/input/gator/input-label/input-label.gator.d.ts +2 -4
  50. package/dist/types/components/input/gator/input-masked/input-masked.gator.d.ts +7 -1
  51. package/dist/types/components/input/gator/input-text/input-text.gator.d.ts +1 -0
  52. package/dist/types/components/input/gator/input-textarea/input-textarea.gator.d.ts +21 -0
  53. package/dist/types/components/radio/radio.gator.d.ts +1 -0
  54. package/dist/types/components/skip-link/gator/base/skip-link.gator.d.ts +36 -0
  55. package/dist/types/components/skip-link/gator/base/skip-link.gator.test.d.ts +0 -0
  56. package/dist/types/components/skip-link/gator/list-item/skip-link-list-item.gator.d.ts +13 -0
  57. package/dist/types/components/skip-link/gator/list-item/skip-link-list-item.gator.test.d.ts +0 -0
  58. package/dist/types/components/skip-link/index.d.ts +2 -0
  59. package/dist/types/components/table/gator/table-bulk-controls/table-bulk-controls.gator.d.ts +6 -1
  60. package/dist/types/components/table/gator/table.gator.d.ts +3 -6
  61. package/dist/types/components/text-link/gator/text-link.gator.d.ts +11 -0
  62. package/dist/types/index.d.ts +1 -0
  63. package/dist/types/index.gator.d.ts +1 -0
  64. package/dist/types/index.utils.d.ts +1 -0
  65. package/dist/types/utils/brand-color-utils.d.ts +2 -0
  66. package/dist/types/utils/components/ngc-component.d.ts +5 -0
  67. package/dist/types/utils/storybook-args.d.ts +23 -0
  68. package/dist/utils/brand-color-utils.js +1 -0
  69. package/dist/utils/components/ngc-component.js +1 -1
  70. package/dist/utils/storybook-args.js +1 -1
  71. package/dist/utils/vitest-a11y-utils.js +1 -1
  72. package/package.json +14 -6
  73. package/web-types.json +420 -12
  74. package/dist/node_modules/.pnpm/chai@5.2.1/node_modules/chai/chai.js +0 -218
  75. /package/dist/node_modules/.pnpm/{@jridgewell_sourcemap-codec@1.5.4 → @jridgewell_sourcemap-codec@1.5.5}/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js +0 -0
  76. /package/dist/node_modules/.pnpm/{@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.2.1_typescript@5.8.3__playwright@1.54.1__6e6aa2c9b4102560da2d8ed1e4176ee9 → @vitest_browser@3.2.4_msw@2.7.3_@types_node@24.3.0_typescript@5.8.3__playwright@1.55.0__558558d730596f7c5e09b21ff26a3e74}/node_modules/@vitest/browser/context.js +0 -0
  77. /package/dist/node_modules/.pnpm/{storybook@9.1.1_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.2.1_typescript@5.8_ee1bb5025e4d34f67b4152c2110a5ec2 → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_573854de366b5ba3e2ab3da4bce0caa8}/node_modules/storybook/dist/client-logger/index.js +0 -0
  78. /package/dist/node_modules/.pnpm/{storybook@9.1.1_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.2.1_typescript@5.8_ee1bb5025e4d34f67b4152c2110a5ec2 → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_573854de366b5ba3e2ab3da4bce0caa8}/node_modules/storybook/dist/core-events/index.js +0 -0
  79. /package/dist/node_modules/.pnpm/{storybook@9.1.1_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.2.1_typescript@5.8_ee1bb5025e4d34f67b4152c2110a5ec2 → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_573854de366b5ba3e2ab3da4bce0caa8}/node_modules/storybook/dist/instrumenter/index.js +0 -0
  80. /package/dist/node_modules/.pnpm/{storybook@9.1.1_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.2.1_typescript@5.8_ee1bb5025e4d34f67b4152c2110a5ec2 → storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_573854de366b5ba3e2ab3da4bce0caa8}/node_modules/storybook/dist/test/index.js +0 -0
  81. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.2.1_@vitest_browser@3.2.4_@vitest_ui@3._7f1cfb627fdb82ddd833112aba9e7b0b → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._f0774390203a57f267156838cb4cb2c5}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +0 -0
  82. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.2.1_@vitest_browser@3.2.4_@vitest_ui@3._7f1cfb627fdb82ddd833112aba9e7b0b → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._f0774390203a57f267156838cb4cb2c5}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +0 -0
  83. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.2.1_@vitest_browser@3.2.4_@vitest_ui@3._7f1cfb627fdb82ddd833112aba9e7b0b → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._f0774390203a57f267156838cb4cb2c5}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +0 -0
  84. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.2.1_@vitest_browser@3.2.4_@vitest_ui@3._7f1cfb627fdb82ddd833112aba9e7b0b → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._f0774390203a57f267156838cb4cb2c5}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +0 -0
@@ -1,218 +0,0 @@
1
- var St=Object.defineProperty,hn=Object.getOwnPropertyNames,f=(e,t)=>St(e,"name",{value:t,configurable:!0}),dn=(e,t)=>function(){return t||(0,e[hn(e)[0]])((t={exports:{}}).exports,t),t.exports},Te=(e,t)=>{for(var n in t)St(e,n,{get:t[n],enumerable:!0})},pn=dn({"(disabled):util"(){}}),Y={};Te(Y,{addChainableMethod:()=>Ge,addLengthGuard:()=>U,addMethod:()=>ke,addProperty:()=>Fe,checkError:()=>j,compareByInspect:()=>ee,eql:()=>Jt,expectTypes:()=>At,flag:()=>b,getActual:()=>ie,getMessage:()=>qe,getName:()=>ue,getOperator:()=>Ue,getOwnEnumerableProperties:()=>Re,getOwnEnumerablePropertySymbols:()=>We,getPathInfo:()=>Be,hasProperty:()=>ae,inspect:()=>w,isNaN:()=>te,isNumeric:()=>P,isProxyEnabled:()=>R,isRegExp:()=>ne,objDisplay:()=>$,overwriteChainableMethod:()=>Le,overwriteMethod:()=>Ke,overwriteProperty:()=>Ve,proxify:()=>K,test:()=>De,transferFlags:()=>A,type:()=>v});var j={};Te(j,{compatibleConstructor:()=>Nt,compatibleInstance:()=>Pt,compatibleMessage:()=>Et,getConstructorName:()=>jt,getMessage:()=>Ot});function oe(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}f(oe,"isErrorInstance");function Mt(e){return Object.prototype.toString.call(e)==="[object RegExp]"}f(Mt,"isRegExp");function Pt(e,t){return oe(t)&&e===t}f(Pt,"compatibleInstance");function Nt(e,t){return oe(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}f(Nt,"compatibleConstructor");function Et(e,t){const n=typeof e=="string"?e:e.message;return Mt(t)?t.test(n):typeof t=="string"?n.indexOf(t)!==-1:!1}f(Et,"compatibleMessage");function jt(e){let t=e;return oe(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}f(jt,"getConstructorName");function Ot(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}f(Ot,"getMessage");function b(e,t,n){let s=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)s[t]=n;else return s[t]}f(b,"flag");function De(e,t){let n=b(e,"negate"),s=t[0];return n?!s:s}f(De,"test");function v(e){if(typeof e>"u")return"undefined";if(e===null)return"null";const t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}f(v,"type");var gn="captureStackTrace"in Error,z,x=(z=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(t="Unspecified AssertionError",n,s){super(t),this.message=t,gn&&Error.captureStackTrace(this,s||z);for(const r in n)r in this||(this[r]=n[r])}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},f(z,"AssertionError"),z);function At(e,t){let n=b(e,"message"),s=b(e,"ssfi");n=n?n+": ":"",e=b(e,"object"),t=t.map(function(a){return a.toLowerCase()}),t.sort();let r=t.map(function(a,l){let h=~["a","e","i","o","u"].indexOf(a.charAt(0))?"an":"a";return(t.length>1&&l===t.length-1?"or ":"")+h+" "+a}).join(", "),u=v(e).toLowerCase();if(!t.some(function(a){return u===a}))throw new x(n+"object tested must be "+r+", but "+u+" given",void 0,s)}f(At,"expectTypes");function ie(e,t){return t.length>4?t[4]:e._obj}f(ie,"getActual");var dt={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},bn={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},k="…";function Ct(e,t){const n=dt[bn[t]]||dt[t]||"";return n?`\x1B[${n[0]}m${String(e)}\x1B[${n[1]}m`:String(e)}f(Ct,"colorise");function Tt({showHidden:e=!1,depth:t=2,colors:n=!1,customInspect:s=!0,showProxy:r=!1,maxArrayLength:u=1/0,breakLength:a=1/0,seen:l=[],truncate:h=1/0,stylize:d=String}={},p){const g={showHidden:!!e,depth:Number(t),colors:!!n,customInspect:!!s,showProxy:!!r,maxArrayLength:Number(u),breakLength:Number(a),truncate:Number(h),seen:l,inspect:p,stylize:d};return g.colors&&(g.stylize=Ct),g}f(Tt,"normaliseOptions");function Dt(e){return e>="\uD800"&&e<="\uDBFF"}f(Dt,"isHighSurrogate");function D(e,t,n=k){e=String(e);const s=n.length,r=e.length;if(s>t&&r>s)return n;if(r>t&&r>s){let u=t-s;return u>0&&Dt(e[u-1])&&(u=u-1),`${e.slice(0,u)}${n}`}return e}f(D,"truncate");function O(e,t,n,s=", "){n=n||t.inspect;const r=e.length;if(r===0)return"";const u=t.truncate;let a="",l="",h="";for(let d=0;d<r;d+=1){const p=d+1===e.length,g=d+2===e.length;h=`${k}(${e.length-d})`;const m=e[d];t.truncate=u-a.length-(p?0:s.length);const S=l||n(m,t)+(p?"":s),y=a.length+S.length,M=y+h.length;if(p&&y>u&&a.length+h.length<=u||!p&&!g&&M>u||(l=p?"":n(e[d+1],t)+(g?"":s),!p&&g&&M>u&&y+l.length>u))break;if(a+=S,!p&&!g&&y+l.length>=u){h=`${k}(${e.length-d-1})`;break}h=""}return`${a}${h}`}f(O,"inspectList");function It(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}f(It,"quoteComplexKey");function V([e,t],n){return n.truncate-=2,typeof e=="string"?e=It(e):typeof e!="number"&&(e=`[${n.inspect(e,n)}]`),n.truncate-=e.length,t=n.inspect(t,n),`${e}: ${t}`}f(V,"inspectProperty");function qt(e,t){const n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return"[]";t.truncate-=4;const s=O(e,t);t.truncate-=s.length;let r="";return n.length&&(r=O(n.map(u=>[u,e[u]]),t,V)),`[ ${s}${r?`, ${r}`:""} ]`}f(qt,"inspectArray");var yn=f(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function C(e,t){const n=yn(e);t.truncate-=n.length+4;const s=Object.keys(e).slice(e.length);if(!e.length&&!s.length)return`${n}[]`;let r="";for(let a=0;a<e.length;a++){const l=`${t.stylize(D(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=l.length,e[a]!==e.length&&t.truncate<=3){r+=`${k}(${e.length-e[a]+1})`;break}r+=l}let u="";return s.length&&(u=O(s.map(a=>[a,e[a]]),t,V)),`${n}[ ${r}${u?`, ${u}`:""} ]`}f(C,"inspectTypedArray");function $t(e,t){const n=e.toJSON();if(n===null)return"Invalid Date";const s=n.split("T"),r=s[0];return t.stylize(`${r}T${D(s[1],t.truncate-r.length-1)}`,"date")}f($t,"inspectDate");function ye(e,t){const n=e[Symbol.toStringTag]||"Function",s=e.name;return s?t.stylize(`[${n} ${D(s,t.truncate-11)}]`,"special"):t.stylize(`[${n}]`,"special")}f(ye,"inspectFunction");function zt([e,t],n){return n.truncate-=4,e=n.inspect(e,n),n.truncate-=e.length,t=n.inspect(t,n),`${e} => ${t}`}f(zt,"inspectMapEntry");function _t(e){const t=[];return e.forEach((n,s)=>{t.push([s,n])}),t}f(_t,"mapToEntries");function Bt(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${O(_t(e),t,zt)} }`)}f(Bt,"inspectMap");var mn=Number.isNaN||(e=>e!==e);function me(e,t){return mn(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(D(String(e),t.truncate),"number")}f(me,"inspectNumber");function we(e,t){let n=D(e.toString(),t.truncate-1);return n!==k&&(n+="n"),t.stylize(n,"bigint")}f(we,"inspectBigInt");function Ft(e,t){const n=e.toString().split("/")[2],s=t.truncate-(2+n.length),r=e.source;return t.stylize(`/${D(r,s)}/${n}`,"regexp")}f(Ft,"inspectRegExp");function kt(e){const t=[];return e.forEach(n=>{t.push(n)}),t}f(kt,"arrayFromSet");function Vt(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${O(kt(e),t)} }`)}f(Vt,"inspectSet");var pt=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),wn={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},xn=16;function Kt(e){return wn[e]||`\\u${`0000${e.charCodeAt(0).toString(xn)}`.slice(-4)}`}f(Kt,"escape");function xe(e,t){return pt.test(e)&&(e=e.replace(pt,Kt)),t.stylize(`'${D(e,t.truncate-2)}'`,"string")}f(xe,"inspectString");function ve(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}f(ve,"inspectSymbol");var Gt=f(()=>"Promise{…}","getPromiseValue");try{const{getPromiseDetails:e,kPending:t,kRejected:n}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Gt=f((s,r)=>{const[u,a]=e(s);return u===t?"Promise{<pending>}":`Promise${u===n?"!":""}{${r.inspect(a,r)}}`},"getPromiseValue"))}catch{}var vn=Gt;function L(e,t){const n=Object.getOwnPropertyNames(e),s=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(n.length===0&&s.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const r=O(n.map(l=>[l,e[l]]),t,V),u=O(s.map(l=>[l,e[l]]),t,V);t.seen.pop();let a="";return r&&u&&(a=", "),`{ ${r}${a}${u} }`}f(L,"inspectObject");var ge=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Lt(e,t){let n="";return ge&&ge in e&&(n=e[ge]),n=n||e.constructor.name,(!n||n==="_class")&&(n="<Anonymous Class>"),t.truncate-=n.length,`${n}${L(e,t)}`}f(Lt,"inspectClass");function Wt(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${O(e,t)} ]`)}f(Wt,"inspectArguments");var Sn=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Rt(e,t){const n=Object.getOwnPropertyNames(e).filter(a=>Sn.indexOf(a)===-1),s=e.name;t.truncate-=s.length;let r="";if(typeof e.message=="string"?r=D(e.message,t.truncate):n.unshift("message"),r=r?`: ${r}`:"",t.truncate-=r.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);const u=O(n.map(a=>[a,e[a]]),t,V);return`${s}${r}${u?` { ${u} }`:""}`}f(Rt,"inspectObject");function Ut([e,t],n){return n.truncate-=3,t?`${n.stylize(String(e),"yellow")}=${n.stylize(`"${t}"`,"string")}`:`${n.stylize(String(e),"yellow")}`}f(Ut,"inspectAttribute");function Q(e,t){return O(e,t,Ie,`
2
- `)}f(Q,"inspectHTMLCollection");function Ie(e,t){const n=e.getAttributeNames(),s=e.tagName.toLowerCase(),r=t.stylize(`<${s}`,"special"),u=t.stylize(">","special"),a=t.stylize(`</${s}>`,"special");t.truncate-=s.length*2+5;let l="";n.length>0&&(l+=" ",l+=O(n.map(p=>[p,e.getAttribute(p)]),t,Ut," ")),t.truncate-=l.length;const h=t.truncate;let d=Q(e.children,t);return d&&d.length>h&&(d=`${k}(${e.children.length})`),`${r}${l}${u}${d}${a}`}f(Ie,"inspectHTML");var Mn=typeof Symbol=="function"&&typeof Symbol.for=="function",be=Mn?Symbol.for("chai/inspect"):"@@chai/inspect",F=!1;try{const e=pn();F=e.inspect?e.inspect.custom:!1}catch{F=!1}var gt=new WeakMap,bt={},yt={undefined:f((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:f((e,t)=>t.stylize("null","null"),"null"),boolean:f((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:f((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:me,Number:me,bigint:we,BigInt:we,string:xe,String:xe,function:ye,Function:ye,symbol:ve,Symbol:ve,Array:qt,Date:$t,Map:Bt,Set:Vt,RegExp:Ft,Promise:vn,WeakSet:f((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:f((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Wt,Int8Array:C,Uint8Array:C,Uint8ClampedArray:C,Int16Array:C,Uint16Array:C,Int32Array:C,Uint32Array:C,Float32Array:C,Float64Array:C,Generator:f(()=>"","Generator"),DataView:f(()=>"","DataView"),ArrayBuffer:f(()=>"","ArrayBuffer"),Error:Rt,HTMLCollection:Q,NodeList:Q},Pn=f((e,t,n)=>be in e&&typeof e[be]=="function"?e[be](t):F&&F in e&&typeof e[F]=="function"?e[F](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&gt.has(e.constructor)?gt.get(e.constructor)(e,t):bt[n]?bt[n](e,t):"","inspectCustom"),Nn=Object.prototype.toString;function X(e,t={}){const n=Tt(t,X),{customInspect:s}=n;let r=e===null?"null":typeof e;if(r==="object"&&(r=Nn.call(e).slice(8,-1)),r in yt)return yt[r](e,n);if(s&&e){const a=Pn(e,n,r);if(a)return typeof a=="string"?a:X(a,n)}const u=e?Object.getPrototypeOf(e):!1;return u===Object.prototype||u===null?L(e,n):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ie(e,n):"constructor"in e?e.constructor!==Object?Lt(e,n):L(e,n):e===Object(e)?L(e,n):n.stylize(String(e),r)}f(X,"inspect");var E={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function w(e,t,n,s){let r={colors:s,depth:typeof n>"u"?2:n,showHidden:t,truncate:E.truncateThreshold?E.truncateThreshold:1/0};return X(e,r)}f(w,"inspect");function $(e){let t=w(e),n=Object.prototype.toString.call(e);if(E.truncateThreshold&&t.length>=E.truncateThreshold){if(n==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(n==="[object Array]")return"[ Array("+e.length+") ]";if(n==="[object Object]"){let s=Object.keys(e);return"{ Object ("+(s.length>2?s.splice(0,2).join(", ")+", ...":s.join(", "))+") }"}else return t}else return t}f($,"objDisplay");function qe(e,t){let n=b(e,"negate"),s=b(e,"object"),r=t[3],u=ie(e,t),a=n?t[2]:t[1],l=b(e,"message");return typeof a=="function"&&(a=a()),a=a||"",a=a.replace(/#\{this\}/g,function(){return $(s)}).replace(/#\{act\}/g,function(){return $(u)}).replace(/#\{exp\}/g,function(){return $(r)}),l?l+": "+a:a}f(qe,"getMessage");function A(e,t,n){let s=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),n=arguments.length===3?n:!0;for(let r in s)(n||r!=="object"&&r!=="ssfi"&&r!=="lockSsfi"&&r!="message")&&(t.__flags[r]=s[r])}f(A,"transferFlags");function Se(e){if(typeof e>"u")return"undefined";if(e===null)return"null";const t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}f(Se,"type");function $e(){this._key="chai/deep-eql__"+Math.random()+Date.now()}f($e,"FakeMap");$e.prototype={get:f(function(t){return t[this._key]},"get"),set:f(function(t,n){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:n,configurable:!0})},"set")};var Zt=typeof WeakMap=="function"?WeakMap:$e;function Me(e,t,n){if(!n||B(e)||B(t))return null;var s=n.get(e);if(s){var r=s.get(t);if(typeof r=="boolean")return r}return null}f(Me,"memoizeCompare");function G(e,t,n,s){if(!(!n||B(e)||B(t))){var r=n.get(e);r?r.set(t,s):(r=new Zt,r.set(t,s),n.set(e,r))}}f(G,"memoizeSet");var Jt=W;function W(e,t,n){if(n&&n.comparator)return Pe(e,t,n);var s=ze(e,t);return s!==null?s:Pe(e,t,n)}f(W,"deepEqual");function ze(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:B(e)||B(t)?!1:null}f(ze,"simpleEqual");function Pe(e,t,n){n=n||{},n.memoize=n.memoize===!1?!1:n.memoize||new Zt;var s=n&&n.comparator,r=Me(e,t,n.memoize);if(r!==null)return r;var u=Me(t,e,n.memoize);if(u!==null)return u;if(s){var a=s(e,t);if(a===!1||a===!0)return G(e,t,n.memoize,a),a;var l=ze(e,t);if(l!==null)return l}var h=Se(e);if(h!==Se(t))return G(e,t,n.memoize,!1),!1;G(e,t,n.memoize,!0);var d=Yt(e,t,h,n);return G(e,t,n.memoize,d),d}f(Pe,"extensiveDeepEqual");function Yt(e,t,n,s){switch(n){case"String":case"Number":case"Boolean":case"Date":return W(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return _e(e,t,["name","message","code"],s);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return q(e,t,s);case"RegExp":return Qt(e,t);case"Generator":return Xt(e,t,s);case"DataView":return q(new Uint8Array(e.buffer),new Uint8Array(t.buffer),s);case"ArrayBuffer":return q(new Uint8Array(e),new Uint8Array(t),s);case"Set":return Ne(e,t,s);case"Map":return Ne(e,t,s);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return en(e,t,s)}}f(Yt,"extensiveDeepEqualByType");function Qt(e,t){return e.toString()===t.toString()}f(Qt,"regexpEqual");function Ne(e,t,n){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var s=[],r=[];return e.forEach(f(function(a,l){s.push([a,l])},"gatherEntries")),t.forEach(f(function(a,l){r.push([a,l])},"gatherEntries")),q(s.sort(),r.sort(),n)}f(Ne,"entriesEqual");function q(e,t,n){var s=e.length;if(s!==t.length)return!1;if(s===0)return!0;for(var r=-1;++r<s;)if(W(e[r],t[r],n)===!1)return!1;return!0}f(q,"iterableEqual");function Xt(e,t,n){return q(H(e),H(t),n)}f(Xt,"generatorEqual");function Ht(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}f(Ht,"hasIteratorFunction");function Ee(e){if(Ht(e))try{return H(e[Symbol.iterator]())}catch{return[]}return[]}f(Ee,"getIteratorEntries");function H(e){for(var t=e.next(),n=[t.value];t.done===!1;)t=e.next(),n.push(t.value);return n}f(H,"getGeneratorEntries");function je(e){var t=[];for(var n in e)t.push(n);return t}f(je,"getEnumerableKeys");function Oe(e){for(var t=[],n=Object.getOwnPropertySymbols(e),s=0;s<n.length;s+=1){var r=n[s];Object.getOwnPropertyDescriptor(e,r).enumerable&&t.push(r)}return t}f(Oe,"getEnumerableSymbols");function _e(e,t,n,s){var r=n.length;if(r===0)return!0;for(var u=0;u<r;u+=1)if(W(e[n[u]],t[n[u]],s)===!1)return!1;return!0}f(_e,"keysEqual");function en(e,t,n){var s=je(e),r=je(t),u=Oe(e),a=Oe(t);if(s=s.concat(u),r=r.concat(a),s.length&&s.length===r.length)return q(Ae(s).sort(),Ae(r).sort())===!1?!1:_e(e,t,s,n);var l=Ee(e),h=Ee(t);return l.length&&l.length===h.length?(l.sort(),h.sort(),q(l,h,n)):s.length===0&&l.length===0&&r.length===0&&h.length===0}f(en,"objectEqual");function B(e){return e===null||typeof e!="object"}f(B,"isPrimitive");function Ae(e){return e.map(f(function(n){return typeof n=="symbol"?n.toString():n},"mapSymbol"))}f(Ae,"mapSymbols");function ae(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}f(ae,"hasProperty");function tn(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(s=>{if(s==="constructor"||s==="__proto__"||s==="prototype")return{};const u=/^\[(\d+)\]$/.exec(s);let a=null;return u?a={i:parseFloat(u[1])}:a={p:s.replace(/\\([.[\]])/g,"$1")},a})}f(tn,"parsePath");function Ce(e,t,n){let s=e,r=null;n=typeof n>"u"?t.length:n;for(let u=0;u<n;u++){const a=t[u];s&&(typeof a.p>"u"?s=s[a.i]:s=s[a.p],u===n-1&&(r=s))}return r}f(Ce,"internalGetPathValue");function Be(e,t){const n=tn(t),s=n[n.length-1],r={parent:n.length>1?Ce(e,n,n.length-1):e,name:s.p||s.i,value:Ce(e,n)};return r.exists=ae(r.parent,r.name),r}f(Be,"getPathInfo");var _,i=(_=class{__flags={};constructor(t,n,s,r){return b(this,"ssfi",s||_),b(this,"lockSsfi",r),b(this,"object",t),b(this,"message",n),b(this,"eql",E.deepEqual||Jt),K(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),E.includeStack}static set includeStack(t){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),E.includeStack=t}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),E.showDiff}static set showDiff(t){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),E.showDiff=t}static addProperty(t,n){Fe(this.prototype,t,n)}static addMethod(t,n){ke(this.prototype,t,n)}static addChainableMethod(t,n,s){Ge(this.prototype,t,n,s)}static overwriteProperty(t,n){Ve(this.prototype,t,n)}static overwriteMethod(t,n){Ke(this.prototype,t,n)}static overwriteChainableMethod(t,n,s){Le(this.prototype,t,n,s)}assert(t,n,s,r,u,a){const l=De(this,arguments);if(a!==!1&&(a=!0),r===void 0&&u===void 0&&(a=!1),E.showDiff!==!0&&(a=!1),!l){n=qe(this,arguments);const d={actual:ie(this,arguments),expected:r,showDiff:a},p=Ue(this,arguments);throw p&&(d.operator=p),new x(n,d,E.includeStack?this.assert:b(this,"ssfi"))}}get _obj(){return b(this,"object")}set _obj(t){b(this,"object",t)}},f(_,"Assertion"),_);function R(){return E.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}f(R,"isProxyEnabled");function Fe(e,t,n){n=n===void 0?function(){}:n,Object.defineProperty(e,t,{get:f(function s(){!R()&&!b(this,"lockSsfi")&&b(this,"ssfi",s);let r=n.call(this);if(r!==void 0)return r;let u=new i;return A(this,u),u},"propertyGetter"),configurable:!0})}f(Fe,"addProperty");var En=Object.getOwnPropertyDescriptor(function(){},"length");function U(e,t,n){return En.configurable&&Object.defineProperty(e,"length",{get:f(function(){throw Error(n?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}f(U,"addLengthGuard");function nn(e){let t=Object.getOwnPropertyNames(e);function n(r){t.indexOf(r)===-1&&t.push(r)}f(n,"addProperty");let s=Object.getPrototypeOf(e);for(;s!==null;)Object.getOwnPropertyNames(s).forEach(n),s=Object.getPrototypeOf(s);return t}f(nn,"getProperties");var mt=["__flags","__methods","_obj","assert"];function K(e,t){return R()?new Proxy(e,{get:f(function n(s,r){if(typeof r=="string"&&E.proxyExcludedKeys.indexOf(r)===-1&&!Reflect.has(s,r)){if(t)throw Error("Invalid Chai property: "+t+"."+r+'. See docs for proper usage of "'+t+'".');let u=null,a=4;throw nn(s).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&mt.indexOf(l)===-1){let h=sn(r,l,a);h<a&&(u=l,a=h)}}),Error(u!==null?"Invalid Chai property: "+r+'. Did you mean "'+u+'"?':"Invalid Chai property: "+r)}return mt.indexOf(r)===-1&&!b(s,"lockSsfi")&&b(s,"ssfi",n),Reflect.get(s,r)},"proxyGetter")}):e}f(K,"proxify");function sn(e,t,n){if(Math.abs(e.length-t.length)>=n)return n;let s=[];for(let r=0;r<=e.length;r++)s[r]=Array(t.length+1).fill(0),s[r][0]=r;for(let r=0;r<t.length;r++)s[0][r]=r;for(let r=1;r<=e.length;r++){let u=e.charCodeAt(r-1);for(let a=1;a<=t.length;a++){if(Math.abs(r-a)>=n){s[r][a]=n;continue}s[r][a]=Math.min(s[r-1][a]+1,s[r][a-1]+1,s[r-1][a-1]+(u===t.charCodeAt(a-1)?0:1))}}return s[e.length][t.length]}f(sn,"stringDistanceCapped");function ke(e,t,n){let s=f(function(){b(this,"lockSsfi")||b(this,"ssfi",s);let r=n.apply(this,arguments);if(r!==void 0)return r;let u=new i;return A(this,u),u},"methodWrapper");U(s,t,!1),e[t]=K(s,t)}f(ke,"addMethod");function Ve(e,t,n){let s=Object.getOwnPropertyDescriptor(e,t),r=f(function(){},"_super");s&&typeof s.get=="function"&&(r=s.get),Object.defineProperty(e,t,{get:f(function u(){!R()&&!b(this,"lockSsfi")&&b(this,"ssfi",u);let a=b(this,"lockSsfi");b(this,"lockSsfi",!0);let l=n(r).call(this);if(b(this,"lockSsfi",a),l!==void 0)return l;let h=new i;return A(this,h),h},"overwritingPropertyGetter"),configurable:!0})}f(Ve,"overwriteProperty");function Ke(e,t,n){let s=e[t],r=f(function(){throw new Error(t+" is not a function")},"_super");s&&typeof s=="function"&&(r=s);let u=f(function(){b(this,"lockSsfi")||b(this,"ssfi",u);let a=b(this,"lockSsfi");b(this,"lockSsfi",!0);let l=n(r).apply(this,arguments);if(b(this,"lockSsfi",a),l!==void 0)return l;let h=new i;return A(this,h),h},"overwritingMethodWrapper");U(u,t,!1),e[t]=K(u,t)}f(Ke,"overwriteMethod");var jn=typeof Object.setPrototypeOf=="function",wt=f(function(){},"testFn"),On=Object.getOwnPropertyNames(wt).filter(function(e){let t=Object.getOwnPropertyDescriptor(wt,e);return typeof t!="object"?!0:!t.configurable}),An=Function.prototype.call,Cn=Function.prototype.apply;function Ge(e,t,n,s){typeof s!="function"&&(s=f(function(){},"chainingBehavior"));let r={method:n,chainingBehavior:s};e.__methods||(e.__methods={}),e.__methods[t]=r,Object.defineProperty(e,t,{get:f(function(){r.chainingBehavior.call(this);let a=f(function(){b(this,"lockSsfi")||b(this,"ssfi",a);let l=r.method.apply(this,arguments);if(l!==void 0)return l;let h=new i;return A(this,h),h},"chainableMethodWrapper");if(U(a,t,!0),jn){let l=Object.create(this);l.call=An,l.apply=Cn,Object.setPrototypeOf(a,l)}else Object.getOwnPropertyNames(e).forEach(function(h){if(On.indexOf(h)!==-1)return;let d=Object.getOwnPropertyDescriptor(e,h);Object.defineProperty(a,h,d)});return A(this,a),K(a)},"chainableMethodGetter"),configurable:!0})}f(Ge,"addChainableMethod");function Le(e,t,n,s){let r=e.__methods[t],u=r.chainingBehavior;r.chainingBehavior=f(function(){let h=s(u).call(this);if(h!==void 0)return h;let d=new i;return A(this,d),d},"overwritingChainableMethodGetter");let a=r.method;r.method=f(function(){let h=n(a).apply(this,arguments);if(h!==void 0)return h;let d=new i;return A(this,d),d},"overwritingChainableMethodWrapper")}f(Le,"overwriteChainableMethod");function ee(e,t){return w(e)<w(t)?-1:1}f(ee,"compareByInspect");function We(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}f(We,"getOwnEnumerablePropertySymbols");function Re(e){return Object.keys(e).concat(We(e))}f(Re,"getOwnEnumerableProperties");var te=Number.isNaN;function rn(e){let t=v(e);return["Array","Object","Function"].indexOf(t)!==-1}f(rn,"isObjectType");function Ue(e,t){let n=b(e,"operator"),s=b(e,"negate"),r=t[3],u=s?t[2]:t[1];if(n)return n;if(typeof u=="function"&&(u=u()),u=u||"",!u||/\shave\s/.test(u))return;let a=rn(r);return/\snot\s/.test(u)?a?"notDeepStrictEqual":"notStrictEqual":a?"deepStrictEqual":"strictEqual"}f(Ue,"getOperator");function ue(e){return e.name}f(ue,"getName");function ne(e){return Object.prototype.toString.call(e)==="[object RegExp]"}f(ne,"isRegExp");function P(e){return["Number","BigInt"].includes(v(e))}f(P,"isNumeric");var{flag:c}=Y;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){i.addProperty(e)});i.addProperty("not",function(){c(this,"negate",!0)});i.addProperty("deep",function(){c(this,"deep",!0)});i.addProperty("nested",function(){c(this,"nested",!0)});i.addProperty("own",function(){c(this,"own",!0)});i.addProperty("ordered",function(){c(this,"ordered",!0)});i.addProperty("any",function(){c(this,"any",!0),c(this,"all",!1)});i.addProperty("all",function(){c(this,"all",!0),c(this,"any",!1)});var xt={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Ze(e,t){t&&c(this,"message",t),e=e.toLowerCase();let n=c(this,"object"),s=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";const r=v(n).toLowerCase();xt.function.includes(e)?this.assert(xt[e].includes(r),"expected #{this} to be "+s+e,"expected #{this} not to be "+s+e):this.assert(e===r,"expected #{this} to be "+s+e,"expected #{this} not to be "+s+e)}f(Ze,"an");i.addChainableMethod("an",Ze);i.addChainableMethod("a",Ze);function on(e,t){return te(e)&&te(t)||e===t}f(on,"SameValueZero");function Z(){c(this,"contains",!0)}f(Z,"includeChainingBehavior");function J(e,t){t&&c(this,"message",t);let n=c(this,"object"),s=v(n).toLowerCase(),r=c(this,"message"),u=c(this,"negate"),a=c(this,"ssfi"),l=c(this,"deep"),h=l?"deep ":"",d=l?c(this,"eql"):on;r=r?r+": ":"";let p=!1;switch(s){case"string":p=n.indexOf(e)!==-1;break;case"weakset":if(l)throw new x(r+"unable to use .deep.include with WeakSet",void 0,a);p=n.has(e);break;case"map":n.forEach(function(g){p=p||d(g,e)});break;case"set":l?n.forEach(function(g){p=p||d(g,e)}):p=n.has(e);break;case"array":l?p=n.some(function(g){return d(g,e)}):p=n.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new x(r+"the given combination of arguments ("+s+" and "+v(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+v(e).toLowerCase(),void 0,a);let g=Object.keys(e),m=null,S=0;if(g.forEach(function(y){let M=new i(n);if(A(this,M,!0),c(M,"lockSsfi",!0),!u||g.length===1){M.property(y,e[y]);return}try{M.property(y,e[y])}catch(I){if(!j.compatibleConstructor(I,x))throw I;m===null&&(m=I),S++}},this),u&&g.length>1&&S===g.length)throw m;return}}this.assert(p,"expected #{this} to "+h+"include "+w(e),"expected #{this} to not "+h+"include "+w(e))}f(J,"include");i.addChainableMethod("include",J,Z);i.addChainableMethod("contain",J,Z);i.addChainableMethod("contains",J,Z);i.addChainableMethod("includes",J,Z);i.addProperty("ok",function(){this.assert(c(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});i.addProperty("true",function(){this.assert(c(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!c(this,"negate"))});i.addProperty("numeric",function(){const e=c(this,"object");this.assert(["Number","BigInt"].includes(v(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!c(this,"negate"))});i.addProperty("callable",function(){const e=c(this,"object"),t=c(this,"ssfi"),n=c(this,"message"),s=n?`${n}: `:"",r=c(this,"negate"),u=r?`${s}expected ${w(e)} not to be a callable function`:`${s}expected ${w(e)} to be a callable function`,a=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(v(e));if(a&&r||!a&&!r)throw new x(u,void 0,t)});i.addProperty("false",function(){this.assert(c(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!c(this,"negate"))});i.addProperty("null",function(){this.assert(c(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});i.addProperty("undefined",function(){this.assert(c(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});i.addProperty("NaN",function(){this.assert(te(c(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Je(){let e=c(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}f(Je,"assertExist");i.addProperty("exist",Je);i.addProperty("exists",Je);i.addProperty("empty",function(){let e=c(this,"object"),t=c(this,"ssfi"),n=c(this,"message"),s;switch(n=n?n+": ":"",v(e).toLowerCase()){case"array":case"string":s=e.length;break;case"map":case"set":s=e.size;break;case"weakmap":case"weakset":throw new x(n+".empty was passed a weak collection",void 0,t);case"function":{const r=n+".empty was passed a function "+ue(e);throw new x(r.trim(),void 0,t)}default:if(e!==Object(e))throw new x(n+".empty was passed non-string primitive "+w(e),void 0,t);s=Object.keys(e).length}this.assert(s===0,"expected #{this} to be empty","expected #{this} not to be empty")});function Ye(){let e=c(this,"object"),t=v(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}f(Ye,"checkArguments");i.addProperty("arguments",Ye);i.addProperty("Arguments",Ye);function ce(e,t){t&&c(this,"message",t);let n=c(this,"object");if(c(this,"deep")){let s=c(this,"lockSsfi");c(this,"lockSsfi",!0),this.eql(e),c(this,"lockSsfi",s)}else this.assert(e===n,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}f(ce,"assertEqual");i.addMethod("equal",ce);i.addMethod("equals",ce);i.addMethod("eq",ce);function Qe(e,t){t&&c(this,"message",t);let n=c(this,"eql");this.assert(n(e,c(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}f(Qe,"assertEql");i.addMethod("eql",Qe);i.addMethod("eqls",Qe);function le(e,t){t&&c(this,"message",t);let n=c(this,"object"),s=c(this,"doLength"),r=c(this,"message"),u=r?r+": ":"",a=c(this,"ssfi"),l=v(n).toLowerCase(),h=v(e).toLowerCase();if(s&&l!=="map"&&l!=="set"&&new i(n,r,a,!0).to.have.property("length"),!s&&l==="date"&&h!=="date")throw new x(u+"the argument to above must be a date",void 0,a);if(!P(e)&&(s||P(n)))throw new x(u+"the argument to above must be a number",void 0,a);if(!s&&l!=="date"&&!P(n)){let d=l==="string"?"'"+n+"'":n;throw new x(u+"expected "+d+" to be a number or a date",void 0,a)}if(s){let d="length",p;l==="map"||l==="set"?(d="size",p=n.size):p=n.length,this.assert(p>e,"expected #{this} to have a "+d+" above #{exp} but got #{act}","expected #{this} to not have a "+d+" above #{exp}",e,p)}else this.assert(n>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}f(le,"assertAbove");i.addMethod("above",le);i.addMethod("gt",le);i.addMethod("greaterThan",le);function fe(e,t){t&&c(this,"message",t);let n=c(this,"object"),s=c(this,"doLength"),r=c(this,"message"),u=r?r+": ":"",a=c(this,"ssfi"),l=v(n).toLowerCase(),h=v(e).toLowerCase(),d,p=!0;if(s&&l!=="map"&&l!=="set"&&new i(n,r,a,!0).to.have.property("length"),!s&&l==="date"&&h!=="date")d=u+"the argument to least must be a date";else if(!P(e)&&(s||P(n)))d=u+"the argument to least must be a number";else if(!s&&l!=="date"&&!P(n)){let g=l==="string"?"'"+n+"'":n;d=u+"expected "+g+" to be a number or a date"}else p=!1;if(p)throw new x(d,void 0,a);if(s){let g="length",m;l==="map"||l==="set"?(g="size",m=n.size):m=n.length,this.assert(m>=e,"expected #{this} to have a "+g+" at least #{exp} but got #{act}","expected #{this} to have a "+g+" below #{exp}",e,m)}else this.assert(n>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}f(fe,"assertLeast");i.addMethod("least",fe);i.addMethod("gte",fe);i.addMethod("greaterThanOrEqual",fe);function he(e,t){t&&c(this,"message",t);let n=c(this,"object"),s=c(this,"doLength"),r=c(this,"message"),u=r?r+": ":"",a=c(this,"ssfi"),l=v(n).toLowerCase(),h=v(e).toLowerCase(),d,p=!0;if(s&&l!=="map"&&l!=="set"&&new i(n,r,a,!0).to.have.property("length"),!s&&l==="date"&&h!=="date")d=u+"the argument to below must be a date";else if(!P(e)&&(s||P(n)))d=u+"the argument to below must be a number";else if(!s&&l!=="date"&&!P(n)){let g=l==="string"?"'"+n+"'":n;d=u+"expected "+g+" to be a number or a date"}else p=!1;if(p)throw new x(d,void 0,a);if(s){let g="length",m;l==="map"||l==="set"?(g="size",m=n.size):m=n.length,this.assert(m<e,"expected #{this} to have a "+g+" below #{exp} but got #{act}","expected #{this} to not have a "+g+" below #{exp}",e,m)}else this.assert(n<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}f(he,"assertBelow");i.addMethod("below",he);i.addMethod("lt",he);i.addMethod("lessThan",he);function de(e,t){t&&c(this,"message",t);let n=c(this,"object"),s=c(this,"doLength"),r=c(this,"message"),u=r?r+": ":"",a=c(this,"ssfi"),l=v(n).toLowerCase(),h=v(e).toLowerCase(),d,p=!0;if(s&&l!=="map"&&l!=="set"&&new i(n,r,a,!0).to.have.property("length"),!s&&l==="date"&&h!=="date")d=u+"the argument to most must be a date";else if(!P(e)&&(s||P(n)))d=u+"the argument to most must be a number";else if(!s&&l!=="date"&&!P(n)){let g=l==="string"?"'"+n+"'":n;d=u+"expected "+g+" to be a number or a date"}else p=!1;if(p)throw new x(d,void 0,a);if(s){let g="length",m;l==="map"||l==="set"?(g="size",m=n.size):m=n.length,this.assert(m<=e,"expected #{this} to have a "+g+" at most #{exp} but got #{act}","expected #{this} to have a "+g+" above #{exp}",e,m)}else this.assert(n<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}f(de,"assertMost");i.addMethod("most",de);i.addMethod("lte",de);i.addMethod("lessThanOrEqual",de);i.addMethod("within",function(e,t,n){n&&c(this,"message",n);let s=c(this,"object"),r=c(this,"doLength"),u=c(this,"message"),a=u?u+": ":"",l=c(this,"ssfi"),h=v(s).toLowerCase(),d=v(e).toLowerCase(),p=v(t).toLowerCase(),g,m=!0,S=d==="date"&&p==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(r&&h!=="map"&&h!=="set"&&new i(s,u,l,!0).to.have.property("length"),!r&&h==="date"&&(d!=="date"||p!=="date"))g=a+"the arguments to within must be dates";else if((!P(e)||!P(t))&&(r||P(s)))g=a+"the arguments to within must be numbers";else if(!r&&h!=="date"&&!P(s)){let y=h==="string"?"'"+s+"'":s;g=a+"expected "+y+" to be a number or a date"}else m=!1;if(m)throw new x(g,void 0,l);if(r){let y="length",M;h==="map"||h==="set"?(y="size",M=s.size):M=s.length,this.assert(M>=e&&M<=t,"expected #{this} to have a "+y+" within "+S,"expected #{this} to not have a "+y+" within "+S)}else this.assert(s>=e&&s<=t,"expected #{this} to be within "+S,"expected #{this} to not be within "+S)});function Xe(e,t){t&&c(this,"message",t);let n=c(this,"object"),s=c(this,"ssfi"),r=c(this,"message"),u;try{u=n instanceof e}catch(l){throw l instanceof TypeError?(r=r?r+": ":"",new x(r+"The instanceof assertion needs a constructor but "+v(e)+" was given.",void 0,s)):l}let a=ue(e);a==null&&(a="an unnamed constructor"),this.assert(u,"expected #{this} to be an instance of "+a,"expected #{this} to not be an instance of "+a)}f(Xe,"assertInstanceOf");i.addMethod("instanceof",Xe);i.addMethod("instanceOf",Xe);function He(e,t,n){n&&c(this,"message",n);let s=c(this,"nested"),r=c(this,"own"),u=c(this,"message"),a=c(this,"object"),l=c(this,"ssfi"),h=typeof e;if(u=u?u+": ":"",s){if(h!=="string")throw new x(u+"the argument to property must be a string when using nested syntax",void 0,l)}else if(h!=="string"&&h!=="number"&&h!=="symbol")throw new x(u+"the argument to property must be a string, number, or symbol",void 0,l);if(s&&r)throw new x(u+'The "nested" and "own" flags cannot be combined.',void 0,l);if(a==null)throw new x(u+"Target cannot be null or undefined.",void 0,l);let d=c(this,"deep"),p=c(this,"negate"),g=s?Be(a,e):null,m=s?g.value:a[e],S=d?c(this,"eql"):(I,N)=>I===N,y="";d&&(y+="deep "),r&&(y+="own "),s&&(y+="nested "),y+="property ";let M;r?M=Object.prototype.hasOwnProperty.call(a,e):s?M=g.exists:M=ae(a,e),(!p||arguments.length===1)&&this.assert(M,"expected #{this} to have "+y+w(e),"expected #{this} to not have "+y+w(e)),arguments.length>1&&this.assert(M&&S(t,m),"expected #{this} to have "+y+w(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+y+w(e)+" of #{act}",t,m),c(this,"object",m)}f(He,"assertProperty");i.addMethod("property",He);function et(e,t,n){c(this,"own",!0),He.apply(this,arguments)}f(et,"assertOwnProperty");i.addMethod("ownProperty",et);i.addMethod("haveOwnProperty",et);function tt(e,t,n){typeof t=="string"&&(n=t,t=null),n&&c(this,"message",n);let s=c(this,"object"),r=Object.getOwnPropertyDescriptor(Object(s),e),u=c(this,"eql");r&&t?this.assert(u(t,r),"expected the own property descriptor for "+w(e)+" on #{this} to match "+w(t)+", got "+w(r),"expected the own property descriptor for "+w(e)+" on #{this} to not match "+w(t),t,r,!0):this.assert(r,"expected #{this} to have an own property descriptor for "+w(e),"expected #{this} to not have an own property descriptor for "+w(e)),c(this,"object",r)}f(tt,"assertOwnPropertyDescriptor");i.addMethod("ownPropertyDescriptor",tt);i.addMethod("haveOwnPropertyDescriptor",tt);function nt(){c(this,"doLength",!0)}f(nt,"assertLengthChain");function st(e,t){t&&c(this,"message",t);let n=c(this,"object"),s=v(n).toLowerCase(),r=c(this,"message"),u=c(this,"ssfi"),a="length",l;switch(s){case"map":case"set":a="size",l=n.size;break;default:new i(n,r,u,!0).to.have.property("length"),l=n.length}this.assert(l==e,"expected #{this} to have a "+a+" of #{exp} but got #{act}","expected #{this} to not have a "+a+" of #{act}",e,l)}f(st,"assertLength");i.addChainableMethod("length",st,nt);i.addChainableMethod("lengthOf",st,nt);function rt(e,t){t&&c(this,"message",t);let n=c(this,"object");this.assert(e.exec(n),"expected #{this} to match "+e,"expected #{this} not to match "+e)}f(rt,"assertMatch");i.addMethod("match",rt);i.addMethod("matches",rt);i.addMethod("string",function(e,t){t&&c(this,"message",t);let n=c(this,"object"),s=c(this,"message"),r=c(this,"ssfi");new i(n,s,r,!0).is.a("string"),this.assert(~n.indexOf(e),"expected #{this} to contain "+w(e),"expected #{this} to not contain "+w(e))});function ot(e){let t=c(this,"object"),n=v(t),s=v(e),r=c(this,"ssfi"),u=c(this,"deep"),a,l="",h,d=!0,p=c(this,"message");p=p?p+": ":"";let g=p+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(n==="Map"||n==="Set")l=u?"deeply ":"",h=[],t.forEach(function(N,T){h.push(T)}),s!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(h=Re(t),s){case"Array":if(arguments.length>1)throw new x(g,void 0,r);break;case"Object":if(arguments.length>1)throw new x(g,void 0,r);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(N){return typeof N=="symbol"?N:String(N)})}if(!e.length)throw new x(p+"keys required",void 0,r);let m=e.length,S=c(this,"any"),y=c(this,"all"),M=e,I=u?c(this,"eql"):(N,T)=>N===T;if(!S&&!y&&(y=!0),S&&(d=M.some(function(N){return h.some(function(T){return I(N,T)})})),y&&(d=M.every(function(N){return h.some(function(T){return I(N,T)})}),c(this,"contains")||(d=d&&e.length==h.length)),m>1){e=e.map(function(T){return w(T)});let N=e.pop();y&&(a=e.join(", ")+", and "+N),S&&(a=e.join(", ")+", or "+N)}else a=w(e[0]);a=(m>1?"keys ":"key ")+a,a=(c(this,"contains")?"contain ":"have ")+a,this.assert(d,"expected #{this} to "+l+a,"expected #{this} to not "+l+a,M.slice(0).sort(ee),h.sort(ee),!0)}f(ot,"assertKeys");i.addMethod("keys",ot);i.addMethod("key",ot);function pe(e,t,n){n&&c(this,"message",n);let s=c(this,"object"),r=c(this,"ssfi"),u=c(this,"message"),a=c(this,"negate")||!1;new i(s,u,r,!0).is.a("function"),(ne(e)||typeof e=="string")&&(t=e,e=null);let l,h=!1;try{s()}catch(S){h=!0,l=S}let d=e===void 0&&t===void 0,p=!!(e&&t),g=!1,m=!1;if(d||!d&&!a){let S="an error";e instanceof Error?S="#{exp}":e&&(S=j.getConstructorName(e));let y=l;if(l instanceof Error)y=l.toString();else if(typeof l=="string")y=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{y=j.getConstructorName(l)}catch{}this.assert(h,"expected #{this} to throw "+S,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),y)}if(e&&l&&(e instanceof Error&&j.compatibleInstance(l,e)===a&&(p&&a?g=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!a?" but #{act} was thrown":""),e.toString(),l.toString())),j.compatibleConstructor(l,e)===a&&(p&&a?g=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&j.getConstructorName(e),l instanceof Error?l.toString():l&&j.getConstructorName(l)))),l&&t!==void 0&&t!==null){let S="including";ne(t)&&(S="matching"),j.compatibleMessage(l,t)===a&&(p&&a?m=!0:this.assert(a,"expected #{this} to throw error "+S+" #{exp} but got #{act}","expected #{this} to throw error not "+S+" #{exp}",t,j.getMessage(l)))}g&&m&&this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&j.getConstructorName(e),l instanceof Error?l.toString():l&&j.getConstructorName(l)),c(this,"object",l)}f(pe,"assertThrows");i.addMethod("throw",pe);i.addMethod("throws",pe);i.addMethod("Throw",pe);function it(e,t){t&&c(this,"message",t);let n=c(this,"object"),s=c(this,"itself"),r=typeof n=="function"&&!s?n.prototype[e]:n[e];this.assert(typeof r=="function","expected #{this} to respond to "+w(e),"expected #{this} to not respond to "+w(e))}f(it,"respondTo");i.addMethod("respondTo",it);i.addMethod("respondsTo",it);i.addProperty("itself",function(){c(this,"itself",!0)});function at(e,t){t&&c(this,"message",t);let n=c(this,"object"),s=e(n);this.assert(s,"expected #{this} to satisfy "+$(e),"expected #{this} to not satisfy"+$(e),!c(this,"negate"),s)}f(at,"satisfy");i.addMethod("satisfy",at);i.addMethod("satisfies",at);function ut(e,t,n){n&&c(this,"message",n);let s=c(this,"object"),r=c(this,"message"),u=c(this,"ssfi");new i(s,r,u,!0).is.numeric;let a="A `delta` value is required for `closeTo`";if(t==null)throw new x(r?`${r}: ${a}`:a,void 0,u);if(new i(t,r,u,!0).is.numeric,a="A `expected` value is required for `closeTo`",e==null)throw new x(r?`${r}: ${a}`:a,void 0,u);new i(e,r,u,!0).is.numeric;const l=f(d=>d<0n?-d:d,"abs"),h=f(d=>parseFloat(parseFloat(d).toPrecision(12)),"strip");this.assert(h(l(s-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}f(ut,"closeTo");i.addMethod("closeTo",ut);i.addMethod("approximately",ut);function an(e,t,n,s,r){let u=Array.from(t),a=Array.from(e);if(!s){if(a.length!==u.length)return!1;u=u.slice()}return a.every(function(l,h){if(r)return n?n(l,u[h]):l===u[h];if(!n){let d=u.indexOf(l);return d===-1?!1:(s||u.splice(d,1),!0)}return u.some(function(d,p){return n(l,d)?(s||u.splice(p,1),!0):!1})})}f(an,"isSubsetOf");i.addMethod("members",function(e,t){t&&c(this,"message",t);let n=c(this,"object"),s=c(this,"message"),r=c(this,"ssfi");new i(n,s,r,!0).to.be.iterable,new i(e,s,r,!0).to.be.iterable;let u=c(this,"contains"),a=c(this,"ordered"),l,h,d;u?(l=a?"an ordered superset":"a superset",h="expected #{this} to be "+l+" of #{exp}",d="expected #{this} to not be "+l+" of #{exp}"):(l=a?"ordered members":"members",h="expected #{this} to have the same "+l+" as #{exp}",d="expected #{this} to not have the same "+l+" as #{exp}");let p=c(this,"deep")?c(this,"eql"):void 0;this.assert(an(e,n,p,u,a),h,d,e,n,!0)});i.addProperty("iterable",function(e){e&&c(this,"message",e);let t=c(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function un(e,t){t&&c(this,"message",t);let n=c(this,"object"),s=c(this,"message"),r=c(this,"ssfi"),u=c(this,"contains"),a=c(this,"deep"),l=c(this,"eql");new i(e,s,r,!0).to.be.an("array"),u?this.assert(e.some(function(h){return n.indexOf(h)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,n):a?this.assert(e.some(function(h){return l(n,h)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,n):this.assert(e.indexOf(n)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,n)}f(un,"oneOf");i.addMethod("oneOf",un);function ct(e,t,n){n&&c(this,"message",n);let s=c(this,"object"),r=c(this,"message"),u=c(this,"ssfi");new i(s,r,u,!0).is.a("function");let a;t?(new i(e,r,u,!0).to.have.property(t),a=e[t]):(new i(e,r,u,!0).is.a("function"),a=e()),s();let l=t==null?e():e[t],h=t==null?a:"."+t;c(this,"deltaMsgObj",h),c(this,"initialDeltaValue",a),c(this,"finalDeltaValue",l),c(this,"deltaBehavior","change"),c(this,"realDelta",l!==a),this.assert(a!==l,"expected "+h+" to change","expected "+h+" to not change")}f(ct,"assertChanges");i.addMethod("change",ct);i.addMethod("changes",ct);function lt(e,t,n){n&&c(this,"message",n);let s=c(this,"object"),r=c(this,"message"),u=c(this,"ssfi");new i(s,r,u,!0).is.a("function");let a;t?(new i(e,r,u,!0).to.have.property(t),a=e[t]):(new i(e,r,u,!0).is.a("function"),a=e()),new i(a,r,u,!0).is.a("number"),s();let l=t==null?e():e[t],h=t==null?a:"."+t;c(this,"deltaMsgObj",h),c(this,"initialDeltaValue",a),c(this,"finalDeltaValue",l),c(this,"deltaBehavior","increase"),c(this,"realDelta",l-a),this.assert(l-a>0,"expected "+h+" to increase","expected "+h+" to not increase")}f(lt,"assertIncreases");i.addMethod("increase",lt);i.addMethod("increases",lt);function ft(e,t,n){n&&c(this,"message",n);let s=c(this,"object"),r=c(this,"message"),u=c(this,"ssfi");new i(s,r,u,!0).is.a("function");let a;t?(new i(e,r,u,!0).to.have.property(t),a=e[t]):(new i(e,r,u,!0).is.a("function"),a=e()),new i(a,r,u,!0).is.a("number"),s();let l=t==null?e():e[t],h=t==null?a:"."+t;c(this,"deltaMsgObj",h),c(this,"initialDeltaValue",a),c(this,"finalDeltaValue",l),c(this,"deltaBehavior","decrease"),c(this,"realDelta",a-l),this.assert(l-a<0,"expected "+h+" to decrease","expected "+h+" to not decrease")}f(ft,"assertDecreases");i.addMethod("decrease",ft);i.addMethod("decreases",ft);function cn(e,t){t&&c(this,"message",t);let n=c(this,"deltaMsgObj"),s=c(this,"initialDeltaValue"),r=c(this,"finalDeltaValue"),u=c(this,"deltaBehavior"),a=c(this,"realDelta"),l;u==="change"?l=Math.abs(r-s)===Math.abs(e):l=a===Math.abs(e),this.assert(l,"expected "+n+" to "+u+" by "+e,"expected "+n+" to not "+u+" by "+e)}f(cn,"assertDelta");i.addMethod("by",cn);i.addProperty("extensible",function(){let e=c(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});i.addProperty("sealed",function(){let e=c(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});i.addProperty("frozen",function(){let e=c(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});i.addProperty("finite",function(e){let t=c(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function se(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(n){return t.some(function(s){return se(n,s)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(n){let s=e[n],r=t[n];return typeof s=="object"&&s!==null&&r!==null?se(s,r):typeof s=="function"?s(r):r===s}):!1}f(se,"compareSubset");i.addMethod("containSubset",function(e){const t=b(this,"object"),n=E.showDiff;this.assert(se(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,n)});function re(e,t){return new i(e,t)}f(re,"expect");re.fail=function(e,t,n,s){throw arguments.length<2&&(n=e,e=void 0),n=n||"expect.fail()",new x(n,{actual:e,expected:t,operator:s},re.fail)};var ln={};Te(ln,{Should:()=>Dn,should:()=>Tn});function ht(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new i(this.valueOf(),null,e):new i(this,null,e)}f(e,"shouldGetter");function t(s){Object.defineProperty(this,"should",{value:s,enumerable:!0,configurable:!0,writable:!0})}f(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let n={};return n.fail=function(s,r,u,a){throw arguments.length<2&&(u=s,s=void 0),u=u||"should.fail()",new x(u,{actual:s,expected:r,operator:a},n.fail)},n.equal=function(s,r,u){new i(s,u).to.equal(r)},n.Throw=function(s,r,u,a){new i(s,a).to.Throw(r,u)},n.exist=function(s,r){new i(s,r).to.exist},n.not={},n.not.equal=function(s,r,u){new i(s,u).to.not.equal(r)},n.not.Throw=function(s,r,u,a){new i(s,a).to.not.Throw(r,u)},n.not.exist=function(s,r){new i(s,r).to.not.exist},n.throw=n.Throw,n.not.throw=n.not.Throw,n}f(ht,"loadShould");var Tn=ht,Dn=ht;function o(e,t){new i(null,null,o,!0).assert(e,t,"[ negation message unavailable ]")}f(o,"assert");o.fail=function(e,t,n,s){throw arguments.length<2&&(n=e,e=void 0),n=n||"assert.fail()",new x(n,{actual:e,expected:t,operator:s},o.fail)};o.isOk=function(e,t){new i(e,t,o.isOk,!0).is.ok};o.isNotOk=function(e,t){new i(e,t,o.isNotOk,!0).is.not.ok};o.equal=function(e,t,n){let s=new i(e,n,o.equal,!0);s.assert(t==b(s,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};o.notEqual=function(e,t,n){let s=new i(e,n,o.notEqual,!0);s.assert(t!=b(s,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};o.strictEqual=function(e,t,n){new i(e,n,o.strictEqual,!0).to.equal(t)};o.notStrictEqual=function(e,t,n){new i(e,n,o.notStrictEqual,!0).to.not.equal(t)};o.deepEqual=o.deepStrictEqual=function(e,t,n){new i(e,n,o.deepEqual,!0).to.eql(t)};o.notDeepEqual=function(e,t,n){new i(e,n,o.notDeepEqual,!0).to.not.eql(t)};o.isAbove=function(e,t,n){new i(e,n,o.isAbove,!0).to.be.above(t)};o.isAtLeast=function(e,t,n){new i(e,n,o.isAtLeast,!0).to.be.least(t)};o.isBelow=function(e,t,n){new i(e,n,o.isBelow,!0).to.be.below(t)};o.isAtMost=function(e,t,n){new i(e,n,o.isAtMost,!0).to.be.most(t)};o.isTrue=function(e,t){new i(e,t,o.isTrue,!0).is.true};o.isNotTrue=function(e,t){new i(e,t,o.isNotTrue,!0).to.not.equal(!0)};o.isFalse=function(e,t){new i(e,t,o.isFalse,!0).is.false};o.isNotFalse=function(e,t){new i(e,t,o.isNotFalse,!0).to.not.equal(!1)};o.isNull=function(e,t){new i(e,t,o.isNull,!0).to.equal(null)};o.isNotNull=function(e,t){new i(e,t,o.isNotNull,!0).to.not.equal(null)};o.isNaN=function(e,t){new i(e,t,o.isNaN,!0).to.be.NaN};o.isNotNaN=function(e,t){new i(e,t,o.isNotNaN,!0).not.to.be.NaN};o.exists=function(e,t){new i(e,t,o.exists,!0).to.exist};o.notExists=function(e,t){new i(e,t,o.notExists,!0).to.not.exist};o.isUndefined=function(e,t){new i(e,t,o.isUndefined,!0).to.equal(void 0)};o.isDefined=function(e,t){new i(e,t,o.isDefined,!0).to.not.equal(void 0)};o.isCallable=function(e,t){new i(e,t,o.isCallable,!0).is.callable};o.isNotCallable=function(e,t){new i(e,t,o.isNotCallable,!0).is.not.callable};o.isObject=function(e,t){new i(e,t,o.isObject,!0).to.be.a("object")};o.isNotObject=function(e,t){new i(e,t,o.isNotObject,!0).to.not.be.a("object")};o.isArray=function(e,t){new i(e,t,o.isArray,!0).to.be.an("array")};o.isNotArray=function(e,t){new i(e,t,o.isNotArray,!0).to.not.be.an("array")};o.isString=function(e,t){new i(e,t,o.isString,!0).to.be.a("string")};o.isNotString=function(e,t){new i(e,t,o.isNotString,!0).to.not.be.a("string")};o.isNumber=function(e,t){new i(e,t,o.isNumber,!0).to.be.a("number")};o.isNotNumber=function(e,t){new i(e,t,o.isNotNumber,!0).to.not.be.a("number")};o.isNumeric=function(e,t){new i(e,t,o.isNumeric,!0).is.numeric};o.isNotNumeric=function(e,t){new i(e,t,o.isNotNumeric,!0).is.not.numeric};o.isFinite=function(e,t){new i(e,t,o.isFinite,!0).to.be.finite};o.isBoolean=function(e,t){new i(e,t,o.isBoolean,!0).to.be.a("boolean")};o.isNotBoolean=function(e,t){new i(e,t,o.isNotBoolean,!0).to.not.be.a("boolean")};o.typeOf=function(e,t,n){new i(e,n,o.typeOf,!0).to.be.a(t)};o.notTypeOf=function(e,t,n){new i(e,n,o.notTypeOf,!0).to.not.be.a(t)};o.instanceOf=function(e,t,n){new i(e,n,o.instanceOf,!0).to.be.instanceOf(t)};o.notInstanceOf=function(e,t,n){new i(e,n,o.notInstanceOf,!0).to.not.be.instanceOf(t)};o.include=function(e,t,n){new i(e,n,o.include,!0).include(t)};o.notInclude=function(e,t,n){new i(e,n,o.notInclude,!0).not.include(t)};o.deepInclude=function(e,t,n){new i(e,n,o.deepInclude,!0).deep.include(t)};o.notDeepInclude=function(e,t,n){new i(e,n,o.notDeepInclude,!0).not.deep.include(t)};o.nestedInclude=function(e,t,n){new i(e,n,o.nestedInclude,!0).nested.include(t)};o.notNestedInclude=function(e,t,n){new i(e,n,o.notNestedInclude,!0).not.nested.include(t)};o.deepNestedInclude=function(e,t,n){new i(e,n,o.deepNestedInclude,!0).deep.nested.include(t)};o.notDeepNestedInclude=function(e,t,n){new i(e,n,o.notDeepNestedInclude,!0).not.deep.nested.include(t)};o.ownInclude=function(e,t,n){new i(e,n,o.ownInclude,!0).own.include(t)};o.notOwnInclude=function(e,t,n){new i(e,n,o.notOwnInclude,!0).not.own.include(t)};o.deepOwnInclude=function(e,t,n){new i(e,n,o.deepOwnInclude,!0).deep.own.include(t)};o.notDeepOwnInclude=function(e,t,n){new i(e,n,o.notDeepOwnInclude,!0).not.deep.own.include(t)};o.match=function(e,t,n){new i(e,n,o.match,!0).to.match(t)};o.notMatch=function(e,t,n){new i(e,n,o.notMatch,!0).to.not.match(t)};o.property=function(e,t,n){new i(e,n,o.property,!0).to.have.property(t)};o.notProperty=function(e,t,n){new i(e,n,o.notProperty,!0).to.not.have.property(t)};o.propertyVal=function(e,t,n,s){new i(e,s,o.propertyVal,!0).to.have.property(t,n)};o.notPropertyVal=function(e,t,n,s){new i(e,s,o.notPropertyVal,!0).to.not.have.property(t,n)};o.deepPropertyVal=function(e,t,n,s){new i(e,s,o.deepPropertyVal,!0).to.have.deep.property(t,n)};o.notDeepPropertyVal=function(e,t,n,s){new i(e,s,o.notDeepPropertyVal,!0).to.not.have.deep.property(t,n)};o.ownProperty=function(e,t,n){new i(e,n,o.ownProperty,!0).to.have.own.property(t)};o.notOwnProperty=function(e,t,n){new i(e,n,o.notOwnProperty,!0).to.not.have.own.property(t)};o.ownPropertyVal=function(e,t,n,s){new i(e,s,o.ownPropertyVal,!0).to.have.own.property(t,n)};o.notOwnPropertyVal=function(e,t,n,s){new i(e,s,o.notOwnPropertyVal,!0).to.not.have.own.property(t,n)};o.deepOwnPropertyVal=function(e,t,n,s){new i(e,s,o.deepOwnPropertyVal,!0).to.have.deep.own.property(t,n)};o.notDeepOwnPropertyVal=function(e,t,n,s){new i(e,s,o.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,n)};o.nestedProperty=function(e,t,n){new i(e,n,o.nestedProperty,!0).to.have.nested.property(t)};o.notNestedProperty=function(e,t,n){new i(e,n,o.notNestedProperty,!0).to.not.have.nested.property(t)};o.nestedPropertyVal=function(e,t,n,s){new i(e,s,o.nestedPropertyVal,!0).to.have.nested.property(t,n)};o.notNestedPropertyVal=function(e,t,n,s){new i(e,s,o.notNestedPropertyVal,!0).to.not.have.nested.property(t,n)};o.deepNestedPropertyVal=function(e,t,n,s){new i(e,s,o.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,n)};o.notDeepNestedPropertyVal=function(e,t,n,s){new i(e,s,o.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,n)};o.lengthOf=function(e,t,n){new i(e,n,o.lengthOf,!0).to.have.lengthOf(t)};o.hasAnyKeys=function(e,t,n){new i(e,n,o.hasAnyKeys,!0).to.have.any.keys(t)};o.hasAllKeys=function(e,t,n){new i(e,n,o.hasAllKeys,!0).to.have.all.keys(t)};o.containsAllKeys=function(e,t,n){new i(e,n,o.containsAllKeys,!0).to.contain.all.keys(t)};o.doesNotHaveAnyKeys=function(e,t,n){new i(e,n,o.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};o.doesNotHaveAllKeys=function(e,t,n){new i(e,n,o.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};o.hasAnyDeepKeys=function(e,t,n){new i(e,n,o.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};o.hasAllDeepKeys=function(e,t,n){new i(e,n,o.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};o.containsAllDeepKeys=function(e,t,n){new i(e,n,o.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};o.doesNotHaveAnyDeepKeys=function(e,t,n){new i(e,n,o.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};o.doesNotHaveAllDeepKeys=function(e,t,n){new i(e,n,o.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};o.throws=function(e,t,n,s){(typeof t=="string"||t instanceof RegExp)&&(n=t,t=null);let r=new i(e,s,o.throws,!0).to.throw(t,n);return b(r,"object")};o.doesNotThrow=function(e,t,n,s){(typeof t=="string"||t instanceof RegExp)&&(n=t,t=null),new i(e,s,o.doesNotThrow,!0).to.not.throw(t,n)};o.operator=function(e,t,n,s){let r;switch(t){case"==":r=e==n;break;case"===":r=e===n;break;case">":r=e>n;break;case">=":r=e>=n;break;case"<":r=e<n;break;case"<=":r=e<=n;break;case"!=":r=e!=n;break;case"!==":r=e!==n;break;default:throw s=s&&s+": ",new x(s+'Invalid operator "'+t+'"',void 0,o.operator)}let u=new i(r,s,o.operator,!0);u.assert(b(u,"object")===!0,"expected "+w(e)+" to be "+t+" "+w(n),"expected "+w(e)+" to not be "+t+" "+w(n))};o.closeTo=function(e,t,n,s){new i(e,s,o.closeTo,!0).to.be.closeTo(t,n)};o.approximately=function(e,t,n,s){new i(e,s,o.approximately,!0).to.be.approximately(t,n)};o.sameMembers=function(e,t,n){new i(e,n,o.sameMembers,!0).to.have.same.members(t)};o.notSameMembers=function(e,t,n){new i(e,n,o.notSameMembers,!0).to.not.have.same.members(t)};o.sameDeepMembers=function(e,t,n){new i(e,n,o.sameDeepMembers,!0).to.have.same.deep.members(t)};o.notSameDeepMembers=function(e,t,n){new i(e,n,o.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};o.sameOrderedMembers=function(e,t,n){new i(e,n,o.sameOrderedMembers,!0).to.have.same.ordered.members(t)};o.notSameOrderedMembers=function(e,t,n){new i(e,n,o.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};o.sameDeepOrderedMembers=function(e,t,n){new i(e,n,o.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};o.notSameDeepOrderedMembers=function(e,t,n){new i(e,n,o.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};o.includeMembers=function(e,t,n){new i(e,n,o.includeMembers,!0).to.include.members(t)};o.notIncludeMembers=function(e,t,n){new i(e,n,o.notIncludeMembers,!0).to.not.include.members(t)};o.includeDeepMembers=function(e,t,n){new i(e,n,o.includeDeepMembers,!0).to.include.deep.members(t)};o.notIncludeDeepMembers=function(e,t,n){new i(e,n,o.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};o.includeOrderedMembers=function(e,t,n){new i(e,n,o.includeOrderedMembers,!0).to.include.ordered.members(t)};o.notIncludeOrderedMembers=function(e,t,n){new i(e,n,o.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};o.includeDeepOrderedMembers=function(e,t,n){new i(e,n,o.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};o.notIncludeDeepOrderedMembers=function(e,t,n){new i(e,n,o.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};o.oneOf=function(e,t,n){new i(e,n,o.oneOf,!0).to.be.oneOf(t)};o.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${w(e)} to be an iterable`:`expected ${w(e)} to be an iterable`,new x(t,void 0,o.isIterable)};o.changes=function(e,t,n,s){arguments.length===3&&typeof t=="function"&&(s=n,n=null),new i(e,s,o.changes,!0).to.change(t,n)};o.changesBy=function(e,t,n,s,r){if(arguments.length===4&&typeof t=="function"){let u=s;s=n,r=u}else arguments.length===3&&(s=n,n=null);new i(e,r,o.changesBy,!0).to.change(t,n).by(s)};o.doesNotChange=function(e,t,n,s){return arguments.length===3&&typeof t=="function"&&(s=n,n=null),new i(e,s,o.doesNotChange,!0).to.not.change(t,n)};o.changesButNotBy=function(e,t,n,s,r){if(arguments.length===4&&typeof t=="function"){let u=s;s=n,r=u}else arguments.length===3&&(s=n,n=null);new i(e,r,o.changesButNotBy,!0).to.change(t,n).but.not.by(s)};o.increases=function(e,t,n,s){return arguments.length===3&&typeof t=="function"&&(s=n,n=null),new i(e,s,o.increases,!0).to.increase(t,n)};o.increasesBy=function(e,t,n,s,r){if(arguments.length===4&&typeof t=="function"){let u=s;s=n,r=u}else arguments.length===3&&(s=n,n=null);new i(e,r,o.increasesBy,!0).to.increase(t,n).by(s)};o.doesNotIncrease=function(e,t,n,s){return arguments.length===3&&typeof t=="function"&&(s=n,n=null),new i(e,s,o.doesNotIncrease,!0).to.not.increase(t,n)};o.increasesButNotBy=function(e,t,n,s,r){if(arguments.length===4&&typeof t=="function"){let u=s;s=n,r=u}else arguments.length===3&&(s=n,n=null);new i(e,r,o.increasesButNotBy,!0).to.increase(t,n).but.not.by(s)};o.decreases=function(e,t,n,s){return arguments.length===3&&typeof t=="function"&&(s=n,n=null),new i(e,s,o.decreases,!0).to.decrease(t,n)};o.decreasesBy=function(e,t,n,s,r){if(arguments.length===4&&typeof t=="function"){let u=s;s=n,r=u}else arguments.length===3&&(s=n,n=null);new i(e,r,o.decreasesBy,!0).to.decrease(t,n).by(s)};o.doesNotDecrease=function(e,t,n,s){return arguments.length===3&&typeof t=="function"&&(s=n,n=null),new i(e,s,o.doesNotDecrease,!0).to.not.decrease(t,n)};o.doesNotDecreaseBy=function(e,t,n,s,r){if(arguments.length===4&&typeof t=="function"){let u=s;s=n,r=u}else arguments.length===3&&(s=n,n=null);return new i(e,r,o.doesNotDecreaseBy,!0).to.not.decrease(t,n).by(s)};o.decreasesButNotBy=function(e,t,n,s,r){if(arguments.length===4&&typeof t=="function"){let u=s;s=n,r=u}else arguments.length===3&&(s=n,n=null);new i(e,r,o.decreasesButNotBy,!0).to.decrease(t,n).but.not.by(s)};o.ifError=function(e){if(e)throw e};o.isExtensible=function(e,t){new i(e,t,o.isExtensible,!0).to.be.extensible};o.isNotExtensible=function(e,t){new i(e,t,o.isNotExtensible,!0).to.not.be.extensible};o.isSealed=function(e,t){new i(e,t,o.isSealed,!0).to.be.sealed};o.isNotSealed=function(e,t){new i(e,t,o.isNotSealed,!0).to.not.be.sealed};o.isFrozen=function(e,t){new i(e,t,o.isFrozen,!0).to.be.frozen};o.isNotFrozen=function(e,t){new i(e,t,o.isNotFrozen,!0).to.not.be.frozen};o.isEmpty=function(e,t){new i(e,t,o.isEmpty,!0).to.be.empty};o.isNotEmpty=function(e,t){new i(e,t,o.isNotEmpty,!0).to.not.be.empty};o.containsSubset=function(e,t,n){new i(e,n).to.containSubset(t)};o.doesNotContainSubset=function(e,t,n){new i(e,n).to.not.containSubset(t)};var In=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(const[e,t]of In)o[t]=o[e];var vt=[];function fn(e){const t={use:fn,AssertionError:x,util:Y,config:E,expect:re,assert:o,Assertion:i,...ln};return~vt.indexOf(e)||(e(t,Y),vt.push(e)),t}f(fn,"use");/*!
3
- * Chai - flag utility
4
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
5
- * MIT Licensed
6
- *//*!
7
- * Chai - test utility
8
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
9
- * MIT Licensed
10
- *//*!
11
- * Chai - expectTypes utility
12
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
13
- * MIT Licensed
14
- *//*!
15
- * Chai - getActual utility
16
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
17
- * MIT Licensed
18
- *//*!
19
- * Chai - message composition utility
20
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
21
- * MIT Licensed
22
- *//*!
23
- * Chai - transferFlags utility
24
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
25
- * MIT Licensed
26
- *//*!
27
- * chai
28
- * http://chaijs.com
29
- * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
30
- * MIT Licensed
31
- *//*!
32
- * Chai - isProxyEnabled helper
33
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
34
- * MIT Licensed
35
- *//*!
36
- * Chai - addProperty utility
37
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
38
- * MIT Licensed
39
- *//*!
40
- * Chai - addLengthGuard utility
41
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
42
- * MIT Licensed
43
- *//*!
44
- * Chai - getProperties utility
45
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
46
- * MIT Licensed
47
- *//*!
48
- * Chai - proxify utility
49
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
50
- * MIT Licensed
51
- *//*!
52
- * Chai - addMethod utility
53
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
54
- * MIT Licensed
55
- *//*!
56
- * Chai - overwriteProperty utility
57
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
58
- * MIT Licensed
59
- *//*!
60
- * Chai - overwriteMethod utility
61
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
62
- * MIT Licensed
63
- *//*!
64
- * Chai - addChainingMethod utility
65
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
66
- * MIT Licensed
67
- *//*!
68
- * Chai - overwriteChainableMethod utility
69
- * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
70
- * MIT Licensed
71
- *//*!
72
- * Chai - compareByInspect utility
73
- * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
74
- * MIT Licensed
75
- *//*!
76
- * Chai - getOwnEnumerablePropertySymbols utility
77
- * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
78
- * MIT Licensed
79
- *//*!
80
- * Chai - getOwnEnumerableProperties utility
81
- * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
82
- * MIT Licensed
83
- *//*!
84
- * Chai - isNaN utility
85
- * Copyright(c) 2012-2015 Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
86
- * MIT Licensed
87
- *//*!
88
- * chai
89
- * Copyright(c) 2011 Jake Luer <jake@alogicalparadox.com>
90
- * MIT Licensed
91
- *//*!
92
- * chai
93
- * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
94
- * MIT Licensed
95
- *//*! Bundled license information:
96
-
97
- deep-eql/index.js:
98
- (*!
99
- * deep-eql
100
- * Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com>
101
- * MIT Licensed
102
- *)
103
- (*!
104
- * Check to see if the MemoizeMap has recorded a result of the two operands
105
- *
106
- * @param {Mixed} leftHandOperand
107
- * @param {Mixed} rightHandOperand
108
- * @param {MemoizeMap} memoizeMap
109
- * @returns {Boolean|null} result
110
- *)
111
- (*!
112
- * Set the result of the equality into the MemoizeMap
113
- *
114
- * @param {Mixed} leftHandOperand
115
- * @param {Mixed} rightHandOperand
116
- * @param {MemoizeMap} memoizeMap
117
- * @param {Boolean} result
118
- *)
119
- (*!
120
- * Primary Export
121
- *)
122
- (*!
123
- * The main logic of the `deepEqual` function.
124
- *
125
- * @param {Mixed} leftHandOperand
126
- * @param {Mixed} rightHandOperand
127
- * @param {Object} [options] (optional) Additional options
128
- * @param {Array} [options.comparator] (optional) Override default algorithm, determining custom equality.
129
- * @param {Array} [options.memoize] (optional) Provide a custom memoization object which will cache the results of
130
- complex objects for a speed boost. By passing `false` you can disable memoization, but this will cause circular
131
- references to blow the stack.
132
- * @return {Boolean} equal match
133
- *)
134
- (*!
135
- * Compare two Regular Expressions for equality.
136
- *
137
- * @param {RegExp} leftHandOperand
138
- * @param {RegExp} rightHandOperand
139
- * @return {Boolean} result
140
- *)
141
- (*!
142
- * Compare two Sets/Maps for equality. Faster than other equality functions.
143
- *
144
- * @param {Set} leftHandOperand
145
- * @param {Set} rightHandOperand
146
- * @param {Object} [options] (Optional)
147
- * @return {Boolean} result
148
- *)
149
- (*!
150
- * Simple equality for flat iterable objects such as Arrays, TypedArrays or Node.js buffers.
151
- *
152
- * @param {Iterable} leftHandOperand
153
- * @param {Iterable} rightHandOperand
154
- * @param {Object} [options] (Optional)
155
- * @return {Boolean} result
156
- *)
157
- (*!
158
- * Simple equality for generator objects such as those returned by generator functions.
159
- *
160
- * @param {Iterable} leftHandOperand
161
- * @param {Iterable} rightHandOperand
162
- * @param {Object} [options] (Optional)
163
- * @return {Boolean} result
164
- *)
165
- (*!
166
- * Determine if the given object has an @@iterator function.
167
- *
168
- * @param {Object} target
169
- * @return {Boolean} `true` if the object has an @@iterator function.
170
- *)
171
- (*!
172
- * Gets all iterator entries from the given Object. If the Object has no @@iterator function, returns an empty array.
173
- * This will consume the iterator - which could have side effects depending on the @@iterator implementation.
174
- *
175
- * @param {Object} target
176
- * @returns {Array} an array of entries from the @@iterator function
177
- *)
178
- (*!
179
- * Gets all entries from a Generator. This will consume the generator - which could have side effects.
180
- *
181
- * @param {Generator} target
182
- * @returns {Array} an array of entries from the Generator.
183
- *)
184
- (*!
185
- * Gets all own and inherited enumerable keys from a target.
186
- *
187
- * @param {Object} target
188
- * @returns {Array} an array of own and inherited enumerable keys from the target.
189
- *)
190
- (*!
191
- * Determines if two objects have matching values, given a set of keys. Defers to deepEqual for the equality check of
192
- * each key. If any value of the given key is not equal, the function will return false (early).
193
- *
194
- * @param {Mixed} leftHandOperand
195
- * @param {Mixed} rightHandOperand
196
- * @param {Array} keys An array of keys to compare the values of leftHandOperand and rightHandOperand against
197
- * @param {Object} [options] (Optional)
198
- * @return {Boolean} result
199
- *)
200
- (*!
201
- * Recursively check the equality of two Objects. Once basic sameness has been established it will defer to `deepEqual`
202
- * for each enumerable key in the object.
203
- *
204
- * @param {Mixed} leftHandOperand
205
- * @param {Mixed} rightHandOperand
206
- * @param {Object} [options] (Optional)
207
- * @return {Boolean} result
208
- *)
209
- (*!
210
- * Returns true if the argument is a primitive.
211
- *
212
- * This intentionally returns true for all objects that can be compared by reference,
213
- * including functions and symbols.
214
- *
215
- * @param {Mixed} value
216
- * @return {Boolean} result
217
- *)
218
- */export{i as Assertion,x as AssertionError,Dn as Should,o as assert,E as config,re as expect,Tn as should,fn as use,Y as util};