@fern-api/csharp-dynamic-snippets 0.0.4 → 0.0.6

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 (77) hide show
  1. package/cjs/DynamicSnippetsGenerator.cjs +14 -14
  2. package/cjs/DynamicSnippetsGenerator.cjs.map +1 -1
  3. package/cjs/DynamicSnippetsGenerator.d.cts +5 -3
  4. package/cjs/{DynamicSnippetsGeneratorContext-DQDI25Nx.d.cts → DynamicSnippetsGeneratorContext-DhvOZIoP.d.cts} +127 -85
  5. package/cjs/EndpointSnippetGenerator.cjs +20 -20
  6. package/cjs/EndpointSnippetGenerator.cjs.map +1 -1
  7. package/cjs/EndpointSnippetGenerator.d.cts +10 -4
  8. package/cjs/context/DynamicLiteralMapper.cjs +2 -0
  9. package/cjs/context/DynamicLiteralMapper.cjs.map +1 -0
  10. package/cjs/context/DynamicLiteralMapper.d.cts +7 -0
  11. package/cjs/context/DynamicSnippetsGeneratorContext.cjs +20 -20
  12. package/cjs/context/DynamicSnippetsGeneratorContext.cjs.map +1 -1
  13. package/cjs/context/DynamicSnippetsGeneratorContext.d.cts +3 -2
  14. package/cjs/context/DynamicTypeMapper.cjs +1 -1
  15. package/cjs/context/DynamicTypeMapper.cjs.map +1 -1
  16. package/cjs/context/DynamicTypeMapper.d.cts +3 -2
  17. package/cjs/context/FilePropertyMapper.cjs +15 -15
  18. package/cjs/context/FilePropertyMapper.cjs.map +1 -1
  19. package/cjs/context/FilePropertyMapper.d.cts +3 -2
  20. package/cjs/index.cjs +18 -21
  21. package/cjs/index.cjs.map +1 -1
  22. package/cjs/index.d.cts +3 -2
  23. package/esm/DynamicSnippetsGenerator.d.ts +5 -3
  24. package/esm/DynamicSnippetsGenerator.js +1 -1
  25. package/esm/{DynamicSnippetsGeneratorContext-DQDI25Nx.d.ts → DynamicSnippetsGeneratorContext-DhvOZIoP.d.ts} +127 -85
  26. package/esm/EndpointSnippetGenerator.d.ts +10 -4
  27. package/esm/EndpointSnippetGenerator.js +1 -1
  28. package/esm/chunk-A53BGSGD.js +2 -0
  29. package/esm/chunk-A53BGSGD.js.map +1 -0
  30. package/esm/chunk-LWJEMG53.js +2 -0
  31. package/esm/chunk-LWJEMG53.js.map +1 -0
  32. package/esm/chunk-PRAGN765.js +2 -0
  33. package/esm/chunk-PRAGN765.js.map +1 -0
  34. package/esm/chunk-QALVTPA5.js +33 -0
  35. package/esm/chunk-QALVTPA5.js.map +1 -0
  36. package/esm/chunk-TOOGWICF.js +2 -0
  37. package/esm/chunk-TOOGWICF.js.map +1 -0
  38. package/esm/chunk-TVSKLWL4.js +2 -0
  39. package/esm/chunk-TVSKLWL4.js.map +1 -0
  40. package/esm/chunk-WP3GAWOR.js +2 -0
  41. package/esm/chunk-WP3GAWOR.js.map +1 -0
  42. package/esm/chunk-ZEEJAJ4K.js +15 -0
  43. package/esm/chunk-ZEEJAJ4K.js.map +1 -0
  44. package/esm/context/DynamicLiteralMapper.d.ts +7 -0
  45. package/esm/context/DynamicLiteralMapper.js +2 -0
  46. package/esm/context/DynamicSnippetsGeneratorContext.d.ts +3 -2
  47. package/esm/context/DynamicSnippetsGeneratorContext.js +1 -1
  48. package/esm/context/DynamicTypeMapper.d.ts +3 -2
  49. package/esm/context/DynamicTypeMapper.js +1 -1
  50. package/esm/context/FilePropertyMapper.d.ts +3 -2
  51. package/esm/context/FilePropertyMapper.js +1 -1
  52. package/esm/index.d.ts +3 -2
  53. package/esm/index.js +1 -4
  54. package/esm/index.js.map +1 -1
  55. package/package.json +1 -1
  56. package/cjs/context/DynamicTypeLiteralMapper.cjs +0 -2
  57. package/cjs/context/DynamicTypeLiteralMapper.cjs.map +0 -1
  58. package/cjs/context/DynamicTypeLiteralMapper.d.cts +0 -6
  59. package/esm/chunk-CDMZ2O62.js +0 -2
  60. package/esm/chunk-CDMZ2O62.js.map +0 -1
  61. package/esm/chunk-D2D544ZS.js +0 -2
  62. package/esm/chunk-D2D544ZS.js.map +0 -1
  63. package/esm/chunk-F3KILROP.js +0 -2
  64. package/esm/chunk-F3KILROP.js.map +0 -1
  65. package/esm/chunk-GQKEVSN5.js +0 -2
  66. package/esm/chunk-GQKEVSN5.js.map +0 -1
  67. package/esm/chunk-MM7AFFVF.js +0 -2
  68. package/esm/chunk-MM7AFFVF.js.map +0 -1
  69. package/esm/chunk-PBYJXQQK.js +0 -2
  70. package/esm/chunk-PBYJXQQK.js.map +0 -1
  71. package/esm/chunk-SAYITSWL.js +0 -15
  72. package/esm/chunk-SAYITSWL.js.map +0 -1
  73. package/esm/chunk-ZDZZCKFB.js +0 -33
  74. package/esm/chunk-ZDZZCKFB.js.map +0 -1
  75. package/esm/context/DynamicTypeLiteralMapper.d.ts +0 -6
  76. package/esm/context/DynamicTypeLiteralMapper.js +0 -2
  77. /package/esm/context/{DynamicTypeLiteralMapper.js.map → DynamicLiteralMapper.js.map} +0 -0
package/esm/index.js CHANGED
@@ -1,5 +1,2 @@
1
- import"./chunk-KHCIVF5J.js";import{a as Di}from"./chunk-GQKEVSN5.js";import"./chunk-SAYITSWL.js";import"./chunk-PBYJXQQK.js";import"./chunk-CDMZ2O62.js";import"./chunk-D2D544ZS.js";import"./chunk-F3KILROP.js";import"./chunk-MM7AFFVF.js";import{c as Ti,f as a,g as Ri}from"./chunk-ZDZZCKFB.js";var Mr=a((Sf,Ne)=>{"use strict";Ne.exports=Object});var Ce=a((mf,We)=>{"use strict";We.exports=Error});var Ge=a((bf,Ue)=>{"use strict";Ue.exports=EvalError});var ke=a((Af,Le)=>{"use strict";Le.exports=RangeError});var He=a((qf,ze)=>{"use strict";ze.exports=ReferenceError});var Nr=a((wf,Ke)=>{"use strict";Ke.exports=SyntaxError});var d=a((Of,Je)=>{"use strict";Je.exports=TypeError});var Ye=a((xf,je)=>{"use strict";je.exports=URIError});var Wr=a(($f,Xe)=>{"use strict";Xe.exports=Math.abs});var Cr=a((Pf,Qe)=>{"use strict";Qe.exports=Math.floor});var Ze=a((Ef,Ve)=>{"use strict";Ve.exports=Math.max});var Ur=a((If,rt)=>{"use strict";rt.exports=Math.min});var tt=a((Ff,et)=>{"use strict";et.exports=Math.pow});var ot=a((Tf,nt)=>{"use strict";nt.exports=Math.round});var ar=a((Rf,it)=>{"use strict";it.exports=Number.isNaN||function(r){return r!==r}});var ut=a((Df,at)=>{"use strict";var _i=ar();at.exports=function(r){return _i(r)||r===0?r:r<0?-1:1}});var ft=a((_f,lt)=>{"use strict";lt.exports=Object.getOwnPropertyDescriptor});var B=a((Bf,st)=>{"use strict";var ur=ft();if(ur)try{ur([],"length")}catch(e){ur=null}st.exports=ur});var K=a((Mf,pt)=>{"use strict";var lr=Object.defineProperty||!1;if(lr)try{lr({},"a",{value:1})}catch(e){lr=!1}pt.exports=lr});var Gr=a((Nf,ct)=>{"use strict";ct.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;r[t]=o;for(var i in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==t||!Object.prototype.propertyIsEnumerable.call(r,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(r,t);if(f.value!==o||f.enumerable!==!0)return!1}return!0}});var Lr=a((Wf,vt)=>{"use strict";var yt=typeof Symbol!="undefined"&&Symbol,Bi=Gr();vt.exports=function(){return typeof yt!="function"||typeof Symbol!="function"||typeof yt("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Bi()}});var kr=a((Cf,gt)=>{"use strict";gt.exports=typeof Reflect!="undefined"&&Reflect.getPrototypeOf||null});var zr=a((Uf,dt)=>{"use strict";var Mi=Mr();dt.exports=Mi.getPrototypeOf||null});var mt=a((Gf,St)=>{"use strict";var Ni="Function.prototype.bind called on incompatible ",Wi=Object.prototype.toString,Ci=Math.max,Ui="[object Function]",ht=function(r,t){for(var n=[],o=0;o<r.length;o+=1)n[o]=r[o];for(var i=0;i<t.length;i+=1)n[i+r.length]=t[i];return n},Gi=function(r,t){for(var n=[],o=t||0,i=0;o<r.length;o+=1,i+=1)n[i]=r[o];return n},Li=function(e,r){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=r);return t};St.exports=function(r){var t=this;if(typeof t!="function"||Wi.apply(t)!==Ui)throw new TypeError(Ni+t);for(var n=Gi(arguments,1),o,i=function(){if(this instanceof o){var y=t.apply(this,ht(n,arguments));return Object(y)===y?y:this}return t.apply(r,ht(n,arguments))},l=Ci(0,t.length-n.length),f=[],u=0;u<l;u++)f[u]="$"+u;if(o=Function("binder","return function ("+Li(f,",")+"){ return binder.apply(this,arguments); }")(i),t.prototype){var v=function(){};v.prototype=t.prototype,o.prototype=new v,v.prototype=null}return o}});var M=a((Lf,bt)=>{"use strict";var ki=mt();bt.exports=Function.prototype.bind||ki});var fr=a((kf,At)=>{"use strict";At.exports=Function.prototype.call});var sr=a((zf,qt)=>{"use strict";qt.exports=Function.prototype.apply});var Ot=a((Hf,wt)=>{"use strict";wt.exports=typeof Reflect!="undefined"&&Reflect&&Reflect.apply});var Hr=a((Kf,xt)=>{"use strict";var zi=M(),Hi=sr(),Ki=fr(),Ji=Ot();xt.exports=Ji||zi.call(Ki,Hi)});var pr=a((Jf,$t)=>{"use strict";var ji=M(),Yi=d(),Xi=fr(),Qi=Hr();$t.exports=function(r){if(r.length<1||typeof r[0]!="function")throw new Yi("a function is required");return Qi(ji,Xi,r)}});var Rt=a((jf,Tt)=>{"use strict";var Vi=pr(),Pt=B(),It;try{It=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var Kr=!!It&&Pt&&Pt(Object.prototype,"__proto__"),Ft=Object,Et=Ft.getPrototypeOf;Tt.exports=Kr&&typeof Kr.get=="function"?Vi([Kr.get]):typeof Et=="function"?function(r){return Et(r==null?r:Ft(r))}:!1});var Nt=a((Yf,Mt)=>{"use strict";var Dt=kr(),_t=zr(),Bt=Rt();Mt.exports=Dt?function(r){return Dt(r)}:_t?function(r){if(!r||typeof r!="object"&&typeof r!="function")throw new TypeError("getProto: not an object");return _t(r)}:Bt?function(r){return Bt(r)}:null});var Jr=a((Xf,Wt)=>{"use strict";var Zi=Function.prototype.call,ra=Object.prototype.hasOwnProperty,ea=M();Wt.exports=ea.call(Zi,ra)});var q=a((Qf,zt)=>{"use strict";var p,ta=Mr(),na=Ce(),oa=Ge(),ia=ke(),aa=He(),U=Nr(),C=d(),ua=Ye(),la=Wr(),fa=Cr(),sa=Ze(),pa=Ur(),ca=tt(),ya=ot(),va=ut(),Lt=Function,jr=function(e){try{return Lt('"use strict"; return ('+e+").constructor;")()}catch(r){}},J=B(),ga=K(),Yr=function(){throw new C},da=J?(function(){try{return arguments.callee,Yr}catch(e){try{return J(arguments,"callee").get}catch(r){return Yr}}})():Yr,N=Lr()(),h=Nt(),ha=zr(),Sa=kr(),kt=sr(),j=fr(),W={},ma=typeof Uint8Array=="undefined"||!h?p:h(Uint8Array),R={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?p:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?p:ArrayBuffer,"%ArrayIteratorPrototype%":N&&h?h([][Symbol.iterator]()):p,"%AsyncFromSyncIteratorPrototype%":p,"%AsyncFunction%":W,"%AsyncGenerator%":W,"%AsyncGeneratorFunction%":W,"%AsyncIteratorPrototype%":W,"%Atomics%":typeof Atomics=="undefined"?p:Atomics,"%BigInt%":typeof BigInt=="undefined"?p:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?p:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?p:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?p:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":na,"%eval%":eval,"%EvalError%":oa,"%Float16Array%":typeof Float16Array=="undefined"?p:Float16Array,"%Float32Array%":typeof Float32Array=="undefined"?p:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?p:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?p:FinalizationRegistry,"%Function%":Lt,"%GeneratorFunction%":W,"%Int8Array%":typeof Int8Array=="undefined"?p:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?p:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?p:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":N&&h?h(h([][Symbol.iterator]())):p,"%JSON%":typeof JSON=="object"?JSON:p,"%Map%":typeof Map=="undefined"?p:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!N||!h?p:h(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":ta,"%Object.getOwnPropertyDescriptor%":J,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?p:Promise,"%Proxy%":typeof Proxy=="undefined"?p:Proxy,"%RangeError%":ia,"%ReferenceError%":aa,"%Reflect%":typeof Reflect=="undefined"?p:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?p:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!N||!h?p:h(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?p:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":N&&h?h(""[Symbol.iterator]()):p,"%Symbol%":N?Symbol:p,"%SyntaxError%":U,"%ThrowTypeError%":da,"%TypedArray%":ma,"%TypeError%":C,"%Uint8Array%":typeof Uint8Array=="undefined"?p:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?p:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?p:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?p:Uint32Array,"%URIError%":ua,"%WeakMap%":typeof WeakMap=="undefined"?p:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?p:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?p:WeakSet,"%Function.prototype.call%":j,"%Function.prototype.apply%":kt,"%Object.defineProperty%":ga,"%Object.getPrototypeOf%":ha,"%Math.abs%":la,"%Math.floor%":fa,"%Math.max%":sa,"%Math.min%":pa,"%Math.pow%":ca,"%Math.round%":ya,"%Math.sign%":va,"%Reflect.getPrototypeOf%":Sa};if(h)try{null.error}catch(e){Ct=h(h(e)),R["%Error.prototype%"]=Ct}var Ct,ba=function e(r){var t;if(r==="%AsyncFunction%")t=jr("async function () {}");else if(r==="%GeneratorFunction%")t=jr("function* () {}");else if(r==="%AsyncGeneratorFunction%")t=jr("async function* () {}");else if(r==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(r==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&h&&(t=h(o.prototype))}return R[r]=t,t},Ut={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Y=M(),cr=Jr(),Aa=Y.call(j,Array.prototype.concat),qa=Y.call(kt,Array.prototype.splice),Gt=Y.call(j,String.prototype.replace),yr=Y.call(j,String.prototype.slice),wa=Y.call(j,RegExp.prototype.exec),Oa=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,xa=/\\(\\)?/g,$a=function(r){var t=yr(r,0,1),n=yr(r,-1);if(t==="%"&&n!=="%")throw new U("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new U("invalid intrinsic syntax, expected opening `%`");var o=[];return Gt(r,Oa,function(i,l,f,u){o[o.length]=f?Gt(u,xa,"$1"):l||i}),o},Pa=function(r,t){var n=r,o;if(cr(Ut,n)&&(o=Ut[n],n="%"+o[0]+"%"),cr(R,n)){var i=R[n];if(i===W&&(i=ba(n)),typeof i=="undefined"&&!t)throw new C("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new U("intrinsic "+r+" does not exist!")};zt.exports=function(r,t){if(typeof r!="string"||r.length===0)throw new C("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new C('"allowMissing" argument must be a boolean');if(wa(/^%?[^%]*%?$/,r)===null)throw new U("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=$a(r),o=n.length>0?n[0]:"",i=Pa("%"+o+"%",t),l=i.name,f=i.value,u=!1,v=i.alias;v&&(o=v[0],qa(n,Aa([0,1],v)));for(var y=1,c=!0;y<n.length;y+=1){var s=n[y],S=yr(s,0,1),b=yr(s,-1);if((S==='"'||S==="'"||S==="`"||b==='"'||b==="'"||b==="`")&&S!==b)throw new U("property names with quotes must have matching quotes");if((s==="constructor"||!c)&&(u=!0),o+="."+s,l="%"+o+"%",cr(R,l))f=R[l];else if(f!=null){if(!(s in f)){if(!t)throw new C("base intrinsic for "+r+" exists, but the property is not available.");return}if(J&&y+1>=n.length){var g=J(f,s);c=!!g,c&&"get"in g&&!("originalValue"in g.get)?f=g.get:f=f[s]}else c=cr(f,s),f=f[s];c&&!u&&(R[l]=f)}}return f}});var vr=a((Vf,Jt)=>{"use strict";var Ht=K(),Ea=Nr(),G=d(),Kt=B();Jt.exports=function(r,t,n){if(!r||typeof r!="object"&&typeof r!="function")throw new G("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new G("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new G("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new G("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new G("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new G("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,u=!!Kt&&Kt(r,t);if(Ht)Ht(r,t,{configurable:l===null&&u?u.configurable:!l,enumerable:o===null&&u?u.enumerable:!o,value:n,writable:i===null&&u?u.writable:!i});else if(f||!o&&!i&&!l)r[t]=n;else throw new Ea("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var gr=a((Zf,Yt)=>{"use strict";var Xr=K(),jt=function(){return!!Xr};jt.hasArrayLengthDefineBug=function(){if(!Xr)return null;try{return Xr([],"length",{value:1}).length!==1}catch(r){return!0}};Yt.exports=jt});var rn=a((rs,Zt)=>{"use strict";var Ia=q(),Xt=vr(),Fa=gr()(),Qt=B(),Vt=d(),Ta=Ia("%Math.floor%");Zt.exports=function(r,t){if(typeof r!="function")throw new Vt("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Ta(t)!==t)throw new Vt("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in r&&Qt){var l=Qt(r,"length");l&&!l.configurable&&(o=!1),l&&!l.writable&&(i=!1)}return(o||i||!n)&&(Fa?Xt(r,"length",t,!0,!0):Xt(r,"length",t)),r}});var tn=a((es,en)=>{"use strict";var Ra=M(),Da=sr(),_a=Hr();en.exports=function(){return _a(Ra,Da,arguments)}});var hr=a((ts,dr)=>{"use strict";var Ba=rn(),nn=K(),Ma=pr(),on=tn();dr.exports=function(r){var t=Ma(arguments),n=r.length-(arguments.length-1);return Ba(t,1+(n>0?n:0),!0)};nn?nn(dr.exports,"apply",{value:on}):dr.exports.apply=on});var Qr=a((ns,un)=>{"use strict";var an=Object.prototype.toString;un.exports=function(r){var t=an.call(r),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&an.call(r.callee)==="[object Function]"),n}});var dn=a((os,gn)=>{"use strict";var vn;Object.keys||(X=Object.prototype.hasOwnProperty,Vr=Object.prototype.toString,ln=Qr(),Zr=Object.prototype.propertyIsEnumerable,fn=!Zr.call({toString:null},"toString"),sn=Zr.call(function(){},"prototype"),Q=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Sr=function(e){var r=e.constructor;return r&&r.prototype===e},pn={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},cn=(function(){if(typeof window=="undefined")return!1;for(var e in window)try{if(!pn["$"+e]&&X.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{Sr(window[e])}catch(r){return!0}}catch(r){return!0}return!1})(),yn=function(e){if(typeof window=="undefined"||!cn)return Sr(e);try{return Sr(e)}catch(r){return!1}},vn=function(r){var t=r!==null&&typeof r=="object",n=Vr.call(r)==="[object Function]",o=ln(r),i=t&&Vr.call(r)==="[object String]",l=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var f=sn&&n;if(i&&r.length>0&&!X.call(r,0))for(var u=0;u<r.length;++u)l.push(String(u));if(o&&r.length>0)for(var v=0;v<r.length;++v)l.push(String(v));else for(var y in r)!(f&&y==="prototype")&&X.call(r,y)&&l.push(String(y));if(fn)for(var c=yn(r),s=0;s<Q.length;++s)!(c&&Q[s]==="constructor")&&X.call(r,Q[s])&&l.push(Q[s]);return l});var X,Vr,ln,Zr,fn,sn,Q,Sr,pn,cn,yn;gn.exports=vn});var bn=a((is,mn)=>{"use strict";var Na=Array.prototype.slice,Wa=Qr(),hn=Object.keys,mr=hn?function(r){return hn(r)}:dn(),Sn=Object.keys;mr.shim=function(){if(Object.keys){var r=(function(){var t=Object.keys(arguments);return t&&t.length===arguments.length})(1,2);r||(Object.keys=function(n){return Wa(n)?Sn(Na.call(n)):Sn(n)})}else Object.keys=mr;return Object.keys||mr};mn.exports=mr});var br=a((as,On)=>{"use strict";var Ca=bn(),Ua=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Ga=Object.prototype.toString,La=Array.prototype.concat,An=vr(),ka=function(e){return typeof e=="function"&&Ga.call(e)==="[object Function]"},qn=gr()(),za=function(e,r,t,n){if(r in e){if(n===!0){if(e[r]===t)return}else if(!ka(n)||!n())return}qn?An(e,r,t,!0):An(e,r,t)},wn=function(e,r){var t=arguments.length>2?arguments[2]:{},n=Ca(r);Ua&&(n=La.call(n,Object.getOwnPropertySymbols(r)));for(var o=0;o<n.length;o+=1)za(e,n[o],r[n[o]],t[n[o]])};wn.supportsDescriptors=!!qn;On.exports=wn});var w=a((us,Pn)=>{"use strict";var xn=q(),$n=pr(),Ha=$n([xn("%String.prototype.indexOf%")]);Pn.exports=function(r,t){var n=xn(r,!!t);return typeof n=="function"&&Ha(r,".prototype.")>-1?$n([n]):n}});var Fn=a((ls,In)=>{"use strict";var Ka=q(),En=Ka("%Array%"),Ja=!En.isArray&&w()("Object.prototype.toString");In.exports=En.isArray||function(r){return Ja(r)==="[object Array]"}});var re=a((fs,Tn)=>{"use strict";Tn.exports=Fn()});var Dn=a((ss,Rn)=>{"use strict";var ja=q(),Ya=w(),Xa=d(),Qa=re(),Va=ja("%Reflect.apply%",!0)||Ya("Function.prototype.apply");Rn.exports=function(r,t){var n=arguments.length>2?arguments[2]:[];if(!Qa(n))throw new Xa("Assertion failed: optional `argumentsList`, if provided, must be a List");return Va(r,t,n)}});var Bn=a((ps,_n)=>{"use strict";_n.exports=Ti("util").inspect});var tr=a((cs,eo)=>{"use strict";var se=typeof Map=="function"&&Map.prototype,ee=Object.getOwnPropertyDescriptor&&se?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,qr=se&&ee&&typeof ee.get=="function"?ee.get:null,Mn=se&&Map.prototype.forEach,pe=typeof Set=="function"&&Set.prototype,te=Object.getOwnPropertyDescriptor&&pe?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,wr=pe&&te&&typeof te.get=="function"?te.get:null,Nn=pe&&Set.prototype.forEach,Za=typeof WeakMap=="function"&&WeakMap.prototype,Z=Za?WeakMap.prototype.has:null,ru=typeof WeakSet=="function"&&WeakSet.prototype,rr=ru?WeakSet.prototype.has:null,eu=typeof WeakRef=="function"&&WeakRef.prototype,Wn=eu?WeakRef.prototype.deref:null,tu=Boolean.prototype.valueOf,nu=Object.prototype.toString,ou=Function.prototype.toString,iu=String.prototype.match,ce=String.prototype.slice,I=String.prototype.replace,au=String.prototype.toUpperCase,Cn=String.prototype.toLowerCase,jn=RegExp.prototype.test,Un=Array.prototype.concat,O=Array.prototype.join,uu=Array.prototype.slice,Gn=Math.floor,ie=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ne=Object.getOwnPropertySymbols,ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,L=typeof Symbol=="function"&&typeof Symbol.iterator=="object",er=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===L||!0)?Symbol.toStringTag:null,Yn=Object.prototype.propertyIsEnumerable,Ln=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function kn(e,r){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||jn.call(/e/,r))return r;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-Gn(-e):Gn(e);if(n!==e){var o=String(n),i=ce.call(r,o.length+1);return I.call(o,t,"$&_")+"."+I.call(I.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return I.call(r,t,"$&_")}var ue=Bn(),zn=ue.custom,Hn=Vn(zn)?zn:null,Xn={__proto__:null,double:'"',single:"'"},lu={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};eo.exports=function e(r,t,n,o){var i=t||{};if($(i,"quoteStyle")&&!$(Xn,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if($(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=$(i,"customInspect")?i.customInspect:!0;if(typeof l!="boolean"&&l!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if($(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var f=i.numericSeparator;if(typeof r=="undefined")return"undefined";if(r===null)return"null";if(typeof r=="boolean")return r?"true":"false";if(typeof r=="string")return ro(r,i);if(typeof r=="number"){if(r===0)return 1/0/r>0?"0":"-0";var u=String(r);return f?kn(r,u):u}if(typeof r=="bigint"){var v=String(r)+"n";return f?kn(r,v):v}var y=typeof i.depth=="undefined"?5:i.depth;if(typeof n=="undefined"&&(n=0),n>=y&&y>0&&typeof r=="object")return le(r)?"[Array]":"[Object]";var c=$u(i,n);if(typeof o=="undefined")o=[];else if(Zn(o,r)>=0)return"[Circular]";function s(_,ir,Fi){if(ir&&(o=uu.call(o),o.push(ir)),Fi){var Me={depth:i.depth};return $(i,"quoteStyle")&&(Me.quoteStyle=i.quoteStyle),e(_,Me,n+1,o)}return e(_,i,n+1,o)}if(typeof r=="function"&&!Kn(r)){var S=hu(r),b=Ar(r,s);return"[Function"+(S?": "+S:" (anonymous)")+"]"+(b.length>0?" { "+O.call(b,", ")+" }":"")}if(Vn(r)){var g=L?I.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):ae.call(r);return typeof r=="object"&&!L?V(g):g}if(wu(r)){for(var m="<"+Cn.call(String(r.nodeName)),A=r.attributes||[],x=0;x<A.length;x++)m+=" "+A[x].name+"="+Qn(fu(A[x].value),"double",i);return m+=">",r.childNodes&&r.childNodes.length&&(m+="..."),m+="</"+Cn.call(String(r.nodeName))+">",m}if(le(r)){if(r.length===0)return"[]";var T=Ar(r,s);return c&&!xu(T)?"["+fe(T,c)+"]":"[ "+O.call(T,", ")+" ]"}if(pu(r)){var H=Ar(r,s);return!("cause"in Error.prototype)&&"cause"in r&&!Yn.call(r,"cause")?"{ ["+String(r)+"] "+O.call(Un.call("[cause]: "+s(r.cause),H),", ")+" }":H.length===0?"["+String(r)+"]":"{ ["+String(r)+"] "+O.call(H,", ")+" }"}if(typeof r=="object"&&l){if(Hn&&typeof r[Hn]=="function"&&ue)return ue(r,{depth:y-n});if(l!=="symbol"&&typeof r.inspect=="function")return r.inspect()}if(Su(r)){var or=[];return Mn&&Mn.call(r,function(_,ir){or.push(s(ir,r,!0)+" => "+s(_,r))}),Jn("Map",qr.call(r),or,c)}if(Au(r)){var De=[];return Nn&&Nn.call(r,function(_){De.push(s(_,r))}),Jn("Set",wr.call(r),De,c)}if(mu(r))return oe("WeakMap");if(qu(r))return oe("WeakSet");if(bu(r))return oe("WeakRef");if(yu(r))return V(s(Number(r)));if(gu(r))return V(s(ie.call(r)));if(vu(r))return V(tu.call(r));if(cu(r))return V(s(String(r)));if(typeof window!="undefined"&&r===window)return"{ [object Window] }";if(typeof globalThis!="undefined"&&r===globalThis||typeof global!="undefined"&&r===global)return"{ [object globalThis] }";if(!su(r)&&!Kn(r)){var Dr=Ar(r,s),_e=Ln?Ln(r)===Object.prototype:r instanceof Object||r.constructor===Object,_r=r instanceof Object?"":"null prototype",Be=!_e&&er&&Object(r)===r&&er in r?ce.call(F(r),8,-1):_r?"Object":"",Ii=_e||typeof r.constructor!="function"?"":r.constructor.name?r.constructor.name+" ":"",Br=Ii+(Be||_r?"["+O.call(Un.call([],Be||[],_r||[]),": ")+"] ":"");return Dr.length===0?Br+"{}":c?Br+"{"+fe(Dr,c)+"}":Br+"{ "+O.call(Dr,", ")+" }"}return String(r)};function Qn(e,r,t){var n=t.quoteStyle||r,o=Xn[n];return o+e+o}function fu(e){return I.call(String(e),/"/g,"&quot;")}function D(e){return!er||!(typeof e=="object"&&(er in e||typeof e[er]!="undefined"))}function le(e){return F(e)==="[object Array]"&&D(e)}function su(e){return F(e)==="[object Date]"&&D(e)}function Kn(e){return F(e)==="[object RegExp]"&&D(e)}function pu(e){return F(e)==="[object Error]"&&D(e)}function cu(e){return F(e)==="[object String]"&&D(e)}function yu(e){return F(e)==="[object Number]"&&D(e)}function vu(e){return F(e)==="[object Boolean]"&&D(e)}function Vn(e){if(L)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!ae)return!1;try{return ae.call(e),!0}catch(r){}return!1}function gu(e){if(!e||typeof e!="object"||!ie)return!1;try{return ie.call(e),!0}catch(r){}return!1}var du=Object.prototype.hasOwnProperty||function(e){return e in this};function $(e,r){return du.call(e,r)}function F(e){return nu.call(e)}function hu(e){if(e.name)return e.name;var r=iu.call(ou.call(e),/^function\s*([\w$]+)/);return r?r[1]:null}function Zn(e,r){if(e.indexOf)return e.indexOf(r);for(var t=0,n=e.length;t<n;t++)if(e[t]===r)return t;return-1}function Su(e){if(!qr||!e||typeof e!="object")return!1;try{qr.call(e);try{wr.call(e)}catch(r){return!0}return e instanceof Map}catch(r){}return!1}function mu(e){if(!Z||!e||typeof e!="object")return!1;try{Z.call(e,Z);try{rr.call(e,rr)}catch(r){return!0}return e instanceof WeakMap}catch(r){}return!1}function bu(e){if(!Wn||!e||typeof e!="object")return!1;try{return Wn.call(e),!0}catch(r){}return!1}function Au(e){if(!wr||!e||typeof e!="object")return!1;try{wr.call(e);try{qr.call(e)}catch(r){return!0}return e instanceof Set}catch(r){}return!1}function qu(e){if(!rr||!e||typeof e!="object")return!1;try{rr.call(e,rr);try{Z.call(e,Z)}catch(r){return!0}return e instanceof WeakSet}catch(r){}return!1}function wu(e){return!e||typeof e!="object"?!1:typeof HTMLElement!="undefined"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function ro(e,r){if(e.length>r.maxStringLength){var t=e.length-r.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return ro(ce.call(e,0,r.maxStringLength),r)+n}var o=lu[r.quoteStyle||"single"];o.lastIndex=0;var i=I.call(I.call(e,o,"\\$1"),/[\x00-\x1f]/g,Ou);return Qn(i,"single",r)}function Ou(e){var r=e.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return t?"\\"+t:"\\x"+(r<16?"0":"")+au.call(r.toString(16))}function V(e){return"Object("+e+")"}function oe(e){return e+" { ? }"}function Jn(e,r,t,n){var o=n?fe(t,n):O.call(t,", ");return e+" ("+r+") {"+o+"}"}function xu(e){for(var r=0;r<e.length;r++)if(Zn(e[r],`
2
- `)>=0)return!1;return!0}function $u(e,r){var t;if(e.indent===" ")t=" ";else if(typeof e.indent=="number"&&e.indent>0)t=O.call(Array(e.indent+1)," ");else return null;return{base:t,prev:O.call(Array(r+1),t)}}function fe(e,r){if(e.length===0)return"";var t=`
3
- `+r.prev+r.base;return t+O.call(e,","+t)+`
4
- `+r.prev}function Ar(e,r){var t=le(e),n=[];if(t){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=$(e,o)?r(e[o],e):""}var i=typeof ne=="function"?ne(e):[],l;if(L){l={};for(var f=0;f<i.length;f++)l["$"+i[f]]=i[f]}for(var u in e)$(e,u)&&(t&&String(Number(u))===u&&u<e.length||L&&l["$"+u]instanceof Symbol||(jn.call(/[^\w$]/,u)?n.push(r(u,e)+": "+r(e[u],e)):n.push(u+": "+r(e[u],e))));if(typeof ne=="function")for(var v=0;v<i.length;v++)Yn.call(e,i[v])&&n.push("["+r(i[v])+"]: "+r(e[i[v]],e));return n}});var Or=a((ys,to)=>{"use strict";to.exports=function(r){return typeof r=="string"||typeof r=="symbol"}});var oo=a((vs,no)=>{"use strict";var Pu=d(),Eu=tr(),Iu=Or();no.exports=function(r,t){if(!Iu(t))throw new Pu("Assertion failed: P is not a Property Key, got "+Eu(t));return r[t]}});var lo=a((gs,uo)=>{"use strict";var ao=Function.prototype.toString,k=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ve,xr;if(typeof k=="function"&&typeof Object.defineProperty=="function")try{ve=Object.defineProperty({},"length",{get:function(){throw xr}}),xr={},k(function(){throw 42},null,ve)}catch(e){e!==xr&&(k=null)}else k=null;var Fu=/^\s*class\b/,ge=function(r){try{var t=ao.call(r);return Fu.test(t)}catch(n){return!1}},ye=function(r){try{return ge(r)?!1:(ao.call(r),!0)}catch(t){return!1}},$r=Object.prototype.toString,Tu="[object Object]",Ru="[object Function]",Du="[object GeneratorFunction]",_u="[object HTMLAllCollection]",Bu="[object HTML document.all class]",Mu="[object HTMLCollection]",Nu=typeof Symbol=="function"&&!!Symbol.toStringTag,Wu=!(0 in[,]),de=function(){return!1};typeof document=="object"&&(io=document.all,$r.call(io)===$r.call(document.all)&&(de=function(r){if((Wu||!r)&&(typeof r=="undefined"||typeof r=="object"))try{var t=$r.call(r);return(t===_u||t===Bu||t===Mu||t===Tu)&&r("")==null}catch(n){}return!1}));var io;uo.exports=k?function(r){if(de(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;try{k(r,null,ve)}catch(t){if(t!==xr)return!1}return!ge(r)&&ye(r)}:function(r){if(de(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;if(Nu)return ye(r);if(ge(r))return!1;var t=$r.call(r);return t!==Ru&&t!==Du&&!/^\[object HTML/.test(t)?!1:ye(r)}});var he=a((ds,fo)=>{"use strict";fo.exports=lo()});var yo=a((hs,co)=>{"use strict";var so=d(),Cu=oo(),Uu=he(),Gu=Or(),po=tr();co.exports=function(r,t){if(!Gu(t))throw new so("Assertion failed: P is not a Property Key");var n=Cu(r,t);if(n!=null){if(!Uu(n))throw new so(po(t)+" is not a function: "+po(n));return n}}});var go=a((Ss,vo)=>{"use strict";var Lu=ar();vo.exports=function(r){return(typeof r=="number"||typeof r=="bigint")&&!Lu(r)&&r!==1/0&&r!==-1/0}});var Pr=a((ms,ho)=>{"use strict";var ku=Wr(),zu=Cr(),Hu=ar(),Ku=go();ho.exports=function(r){if(typeof r!="number"||Hu(r)||!Ku(r))return!1;var t=ku(r);return zu(t)===t}});var Se=a((bs,So)=>{"use strict";So.exports=function(r){return!!r&&(typeof r=="function"||typeof r=="object")}});var bo=a((As,mo)=>{"use strict";var Ju=Gr();mo.exports=function(){return Ju()&&!!Symbol.toStringTag}});var qe=a((qs,xo)=>{"use strict";var Ao=w(),ju=bo()(),Yu=Jr(),Xu=B(),Ae;ju?(qo=Ao("RegExp.prototype.exec"),me={},Er=function(){throw me},be={toString:Er,valueOf:Er},typeof Symbol.toPrimitive=="symbol"&&(be[Symbol.toPrimitive]=Er),Ae=function(r){if(!r||typeof r!="object")return!1;var t=Xu(r,"lastIndex"),n=t&&Yu(t,"value");if(!n)return!1;try{qo(r,be)}catch(o){return o===me}}):(wo=Ao("Object.prototype.toString"),Oo="[object RegExp]",Ae=function(r){return!r||typeof r!="object"&&typeof r!="function"?!1:wo(r)===Oo});var qo,me,Er,be,wo,Oo;xo.exports=Ae});var we=a((ws,$o)=>{"use strict";var Qu=w(),Vu=qe(),Zu=Qu("RegExp.prototype.exec"),rl=d();$o.exports=function(r){if(!Vu(r))throw new rl("`regex` must be a RegExp");return function(n){return Zu(r,n)!==null}}});var Io=a((Os,Eo)=>{"use strict";var Po=d(),el=tr(),tl=Or(),nl=Se();Eo.exports=function(r,t){if(!nl(r))throw new Po("Assertion failed: Type(O) is not Object");if(!tl(t))throw new Po("Assertion failed: P is not a Property Key, got "+el(t));return r[t]}});var To=a((xs,Fo)=>{"use strict";Fo.exports=Ur()});var xe=a(($s,Ro)=>{"use strict";var ol=w(),Oe=d(),il=Pr(),al=ol("String.prototype.slice");Ro.exports=function(r,t,n){if(typeof r!="string")throw new Oe("Assertion failed: `string` must be a String");if(typeof t!="string")throw new Oe("Assertion failed: `searchValue` must be a String");if(!il(n)||n<0)throw new Oe("Assertion failed: `fromIndex` must be a non-negative integer");var o=r.length;if(t===""&&n<=o)return n;for(var i=t.length,l=n;l<=o-i;l+=1){var f=al(r,l,l+i);if(f===t)return l}return"NOT-FOUND"}});var Ir=a((Ps,Do)=>{"use strict";var ul=d();Do.exports=function(r){if(r==null)throw new ul(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r}});var Bo=a((Es,_o)=>{"use strict";var ll=q(),fl=ll("%String%"),sl=d();_o.exports=function(r){if(typeof r=="symbol")throw new sl("Cannot convert a Symbol value to a string");return fl(r)}});var $e=a((Is,Wo)=>{"use strict";var pl=Ir(),cl=Bo(),yl=w(),Mo=yl("String.prototype.replace"),No=/^\s$/.test("\u180E"),vl=No?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,gl=No?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;Wo.exports=function(){var r=cl(pl(this));return Mo(Mo(r,vl,""),gl,"")}});var Pe=a((Fs,Uo)=>{"use strict";var dl=$e(),Co="\u200B",z="\u180E";Uo.exports=function(){return String.prototype.trim&&Co.trim()===Co&&z.trim()===z&&("_"+z).trim()==="_"+z&&(z+"_").trim()===z+"_"?String.prototype.trim:dl}});var ko=a((Ts,Lo)=>{"use strict";var hl=gr()(),Go=vr(),Sl=Pe();Lo.exports=function(){var r=Sl();return String.prototype.trim!==r&&(hl?Go(String.prototype,"trim",r,!0):Go(String.prototype,"trim",r)),r}});var Jo=a((Rs,Ko)=>{"use strict";var ml=hr(),bl=br(),Al=Ir(),ql=$e(),zo=Pe(),wl=ko(),Ol=ml(zo()),Ho=function(r){return Al(r),Ol(r)};bl(Ho,{getPolyfill:zo,implementation:ql,shim:wl});Ko.exports=Ho});var Vo=a((Ds,Qo)=>{"use strict";var Xo=q(),xl=Xo("%RegExp%"),$l=d(),jo=Xo("%parseInt%"),Pl=w(),Fr=we(),Yo=Pl("String.prototype.slice"),El=Fr(/^0b[01]+$/i),Il=Fr(/^0o[0-7]+$/i),Fl=Fr(/^[-+]0x[0-9a-f]+$/i),Tl=["\x85","\u200B","\uFFFE"].join(""),Rl=new xl("["+Tl+"]","g"),Dl=Fr(Rl),_l=Jo();Qo.exports=function e(r){if(typeof r!="string")throw new $l("Assertion failed: `argument` is not a String");if(El(r))return+jo(Yo(r,2),2);if(Il(r))return+jo(Yo(r,2),8);if(Dl(r)||Fl(r))return NaN;var t=_l(r);return t!==r?e(t):+r}});var ei=a((_s,ri)=>{"use strict";var Bl=d(),Zo=Pr(),Ml=w(),Nl=Ml("String.prototype.slice");ri.exports=function(r,t,n){if(typeof r!="string"||!Zo(t)||arguments.length>2&&!Zo(n))throw new Bl("`S` must be a String, and `inclusiveStart` and `exclusiveEnd` must be integers");return Nl(r,t,arguments.length>2?n:r.length)}});var Ee=a((Bs,ti)=>{"use strict";var Wl=q(),Cl=Wl("%String%"),Ul=d();ti.exports=function(r){if(typeof r=="symbol")throw new Ul("Cannot convert a Symbol value to a string");return Cl(r)}});var oi=a((Ms,ni)=>{"use strict";ni.exports=function(r,t){for(var n=0;n<r.length;n+=1)if(!t(r[n],n,r))return!1;return!0}});var ai=a((Ns,ii)=>{"use strict";var Gl=w()("String.prototype.slice");ii.exports=function(r,t){return r===t?!0:r.length>t.length?!1:Gl(t,0,r.length)===r}});var li=a((Ws,ui)=>{"use strict";ui.exports=function(r){return typeof r=="string"||typeof r=="undefined"}});var yi=a((Cs,ci)=>{"use strict";var P=d(),Ie=tr(),Ll=Pr(),fi=Se(),pi=we(),kl=Io(),zl=re(),Hl=To(),Kl=xe(),si=Vo(),E=ei(),Jl=Ee(),jl=oi(),nr=ai(),Yl=li(),Xl=pi(/^\$[0-9]/),Ql=pi(/^\$[0-9][0-9]/);ci.exports=function(r,t,n,o,i,l){if(typeof r!="string")throw new P("Assertion failed: `matched` must be a String");if(typeof t!="string")throw new P("Assertion failed: `str` must be a String");if(!Ll(n)||n<0)throw new P("Assertion failed: `position` must be a nonnegative integer, got "+Ie(n));if(!zl(o)||!jl(o,Yl))throw new P("Assertion failed: `captures` must be a possibly-empty List of Strings or `undefined`, got "+Ie(o));if(typeof i!="undefined"&&!fi(i))throw new P("Assertion failed: `namedCaptures` must be `undefined` or an Object");if(typeof l!="string")throw new P("Assertion failed: `replacementTemplate` must be a String");var f=t.length;if(n>f)throw new P("Assertion failed: position > stringLength, got "+Ie(n));for(var u=l,v="";u!=="";){var y,c,s;if(nr("$$",u))y="$$",c="$";else if(nr("$`",u))y="$`",c=E(t,0,n);else if(nr("$&",u))y="$&",c=r;else if(nr("$'",u)){y="$'";var S=r.length,b=n+S;c=E(t,Hl(b,f))}else if(Xl(u)){var g=Ql(u)?2:1,m=E(u,1,1+g),A=si(m);if(A<0||A>99)throw new P("Assertion failed: `index` must be >= 0 and <= 99");var x=o.length;A>x&&g===2&&(g=1,m=E(m,0,1),A=si(m)),y=E(u,0,1+g),1<=A&&A<=x?(s=o[A-1],typeof s=="undefined"?c="":c=s):c=y}else if(nr("$<",u)){var T=Kl(u,">",0);if(!(T>-1)||typeof i=="undefined")y="$<",c=y;else{y=E(u,0,T+1);var H=E(u,2,T);if(!fi(i))throw new P("Assertion failed: Type(namedCaptures) is not Object");s=kl(i,H),typeof s=="undefined"?c="":c=Jl(s)}}else y=E(u,0,1),c=y;var or=y.length;u=E(u,or),v+=c}return v}});var hi=a((Us,di)=>{"use strict";var vi=q(),gi=hr(),Vl=gi(vi("String.prototype.indexOf"));di.exports=function(r,t){var n=vi(r,!!t);return typeof n=="function"&&Vl(r,".prototype.")>-1?gi(n):n}});var Te=a((Gs,Ai)=>{"use strict";var Si=Dn(),Zl=yo(),rf=yi(),ef=he(),tf=Ir(),Tr=Ee(),mi=xe(),nf=q(),Rr=hi(),of=Lr()(),af=qe(),uf=nf("%Math.max%"),bi=d(),lf=Rr("Array.prototype.push"),Fe=Rr("String.prototype.slice"),ff=Rr("String.prototype.indexOf"),sf=Rr("String.prototype.replace");Ai.exports=function(r,t){var n=tf(this),o=af(r);if(o&&ff(Fe(r,r.source.length+2),"g")===-1)throw new bi("use .replace for a non-global regex. NOTE: this may be allowed in the future.");if(of&&Symbol.replace){if(r!=null){var i=Zl(r,Symbol.replace);if(typeof i!="undefined")return Si(i,r,[n,t])}}else if(o)return sf(n,r,t);var l=Tr(n),f=Tr(r),u=ef(t);u||(t=Tr(t));for(var v=f.length,y=uf(1,v),c=[],s=mi(l,f,0);s!=="NOT-FOUND";)lf(c,s),s=mi(l,f,s+y);for(var S=0,b="",g=0;g<c.length;g+=1){var m;if(u)m=Tr(Si(t,void 0,[f,c[g],l]));else{if(typeof t!="string")throw new bi("Assertion failed: `replaceValue` should be a string at this point");var A=[];m=rf(f,l,c[g],A,void 0,t)}var x=Fe(l,S,c[g]);b+=x+m,S=c[g]+v}return S<l.length&&(b+=Fe(l,S)),b}});var Re=a((Ls,qi)=>{"use strict";var pf=Te();qi.exports=function(){return String.prototype.replaceAll||pf}});var Oi=a((ks,wi)=>{"use strict";var cf=br(),yf=Re();wi.exports=function(){var r=yf();return cf(String.prototype,{replaceAll:r},{replaceAll:function(){return String.prototype.replaceAll!==r}}),r}});var Ei=a((zs,Pi)=>{"use strict";var vf=hr(),gf=br(),xi=Te(),df=Re(),hf=Oi(),$i=vf(xi);gf($i,{getPolyfill:df,implementation:xi,shim:hf});Pi.exports=$i});var Hs=Ri(Ei(),1);export{Di as DynamicSnippetsGenerator};
1
+ import"./chunk-KHCIVF5J.js";import{a as e}from"./chunk-A53BGSGD.js";import"./chunk-ZEEJAJ4K.js";import"./chunk-TOOGWICF.js";import"./chunk-LWJEMG53.js";import"./chunk-PRAGN765.js";import"./chunk-TVSKLWL4.js";import"./chunk-WP3GAWOR.js";import"./chunk-QALVTPA5.js";export{e as DynamicSnippetsGenerator};
5
2
  //# sourceMappingURL=index.js.map
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js","../../../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js","../../../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js","../../../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js","../../../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js","../../../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js","../../../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js","../../../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js","../../../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js","../../../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js","../../../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js","../../../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js","../../../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js","../../../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js","../../../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js","../../../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js","../../../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js","../../../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js","../../../../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js","../../../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js","../../../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js","../../../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js","../../../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js","../../../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js","../../../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js","../../../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js","../../../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js","../../../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js","../../../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js","../../../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js","../../../../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js","../../../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js","../../../../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js","../../../../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js","../../../../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js","../../../../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js","../../../../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js","../../../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/applyBind.js","../../../../../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/index.js","../../../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js","../../../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/implementation.js","../../../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js","../../../../../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js","../../../../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/helpers/IsArray.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/2025/IsArray.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/2025/Call.js","../../../../../node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/util.inspect.js","../../../../../node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/index.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/helpers/isPropertyKey.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/2025/GetV.js","../../../../../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/2025/IsCallable.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/2025/GetMethod.js","../../../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isFinite.js","../../../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isInteger.js","../../../../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/isObject.js","../../../../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js","../../../../../node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js","../../../../../node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/2025/Get.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/2025/min.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/2025/StringIndexOf.js","../../../../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/RequireObjectCoercible.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/2024/ToString.js","../../../../../node_modules/.pnpm/string.prototype.trim@1.2.10/node_modules/string.prototype.trim/implementation.js","../../../../../node_modules/.pnpm/string.prototype.trim@1.2.10/node_modules/string.prototype.trim/polyfill.js","../../../../../node_modules/.pnpm/string.prototype.trim@1.2.10/node_modules/string.prototype.trim/shim.js","../../../../../node_modules/.pnpm/string.prototype.trim@1.2.10/node_modules/string.prototype.trim/index.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/2025/StringToNumber.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/2025/substring.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/2025/ToString.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/helpers/every.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/helpers/isPrefixOf.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/helpers/isStringOrUndefined.js","../../../../../node_modules/.pnpm/es-abstract@1.24.0/node_modules/es-abstract/2025/GetSubstitution.js","../../../../../node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/callBound.js","../../../../../node_modules/.pnpm/string.prototype.replaceall@1.0.11/node_modules/string.prototype.replaceall/implementation.js","../../../../../node_modules/.pnpm/string.prototype.replaceall@1.0.11/node_modules/string.prototype.replaceall/polyfill.js","../../../../../node_modules/.pnpm/string.prototype.replaceall@1.0.11/node_modules/string.prototype.replaceall/shim.js","../../../../../node_modules/.pnpm/string.prototype.replaceall@1.0.11/node_modules/string.prototype.replaceall/index.js","../../src/index.ts"],"sourcesContent":["'use strict';\n\n/** @type {import('.')} */\nmodule.exports = Object;\n","'use strict';\n\n/** @type {import('.')} */\nmodule.exports = Error;\n","'use strict';\n\n/** @type {import('./eval')} */\nmodule.exports = EvalError;\n","'use strict';\n\n/** @type {import('./range')} */\nmodule.exports = RangeError;\n","'use strict';\n\n/** @type {import('./ref')} */\nmodule.exports = ReferenceError;\n","'use strict';\n\n/** @type {import('./syntax')} */\nmodule.exports = SyntaxError;\n","'use strict';\n\n/** @type {import('./type')} */\nmodule.exports = TypeError;\n","'use strict';\n\n/** @type {import('./uri')} */\nmodule.exports = URIError;\n","'use strict';\n\n/** @type {import('./abs')} */\nmodule.exports = Math.abs;\n","'use strict';\n\n/** @type {import('./floor')} */\nmodule.exports = Math.floor;\n","'use strict';\n\n/** @type {import('./max')} */\nmodule.exports = Math.max;\n","'use strict';\n\n/** @type {import('./min')} */\nmodule.exports = Math.min;\n","'use strict';\n\n/** @type {import('./pow')} */\nmodule.exports = Math.pow;\n","'use strict';\n\n/** @type {import('./round')} */\nmodule.exports = Math.round;\n","'use strict';\n\n/** @type {import('./isNaN')} */\nmodule.exports = Number.isNaN || function isNaN(a) {\n\treturn a !== a;\n};\n","'use strict';\n\nvar $isNaN = require('./isNaN');\n\n/** @type {import('./sign')} */\nmodule.exports = function sign(number) {\n\tif ($isNaN(number) || number === 0) {\n\t\treturn number;\n\t}\n\treturn number < 0 ? -1 : +1;\n};\n","'use strict';\n\n/** @type {import('./gOPD')} */\nmodule.exports = Object.getOwnPropertyDescriptor;\n","'use strict';\n\n/** @type {import('.')} */\nvar $gOPD = require('./gOPD');\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n","'use strict';\n\n/** @type {import('.')} */\nvar $defineProperty = Object.defineProperty || false;\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = false;\n\t}\n}\n\nmodule.exports = $defineProperty;\n","'use strict';\n\n/** @type {import('./shams')} */\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\t/** @type {{ [k in symbol]?: unknown }} */\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (var _ in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\t// eslint-disable-next-line no-extra-parens\n\t\tvar descriptor = /** @type {PropertyDescriptor} */ (Object.getOwnPropertyDescriptor(obj, sym));\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\n/** @type {import('.')} */\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","'use strict';\n\n/** @type {import('./Reflect.getPrototypeOf')} */\nmodule.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;\n","'use strict';\n\nvar $Object = require('es-object-atoms');\n\n/** @type {import('./Object.getPrototypeOf')} */\nmodule.exports = $Object.getPrototypeOf || null;\n","'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar toStr = Object.prototype.toString;\nvar max = Math.max;\nvar funcType = '[object Function]';\n\nvar concatty = function concatty(a, b) {\n var arr = [];\n\n for (var i = 0; i < a.length; i += 1) {\n arr[i] = a[i];\n }\n for (var j = 0; j < b.length; j += 1) {\n arr[j + a.length] = b[j];\n }\n\n return arr;\n};\n\nvar slicy = function slicy(arrLike, offset) {\n var arr = [];\n for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {\n arr[j] = arrLike[i];\n }\n return arr;\n};\n\nvar joiny = function (arr, joiner) {\n var str = '';\n for (var i = 0; i < arr.length; i += 1) {\n str += arr[i];\n if (i + 1 < arr.length) {\n str += joiner;\n }\n }\n return str;\n};\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.apply(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slicy(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n concatty(args, arguments)\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n }\n return target.apply(\n that,\n concatty(args, arguments)\n );\n\n };\n\n var boundLength = max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs[i] = '$' + i;\n }\n\n bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","'use strict';\n\n/** @type {import('./functionCall')} */\nmodule.exports = Function.prototype.call;\n","'use strict';\n\n/** @type {import('./functionApply')} */\nmodule.exports = Function.prototype.apply;\n","'use strict';\n\n/** @type {import('./reflectApply')} */\nmodule.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;\n","'use strict';\n\nvar bind = require('function-bind');\n\nvar $apply = require('./functionApply');\nvar $call = require('./functionCall');\nvar $reflectApply = require('./reflectApply');\n\n/** @type {import('./actualApply')} */\nmodule.exports = $reflectApply || bind.call($call, $apply);\n","'use strict';\n\nvar bind = require('function-bind');\nvar $TypeError = require('es-errors/type');\n\nvar $call = require('./functionCall');\nvar $actualApply = require('./actualApply');\n\n/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */\nmodule.exports = function callBindBasic(args) {\n\tif (args.length < 1 || typeof args[0] !== 'function') {\n\t\tthrow new $TypeError('a function is required');\n\t}\n\treturn $actualApply(bind, $call, args);\n};\n","'use strict';\n\nvar callBind = require('call-bind-apply-helpers');\nvar gOPD = require('gopd');\n\nvar hasProtoAccessor;\ntry {\n\t// eslint-disable-next-line no-extra-parens, no-proto\n\thasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;\n} catch (e) {\n\tif (!e || typeof e !== 'object' || !('code' in e) || e.code !== 'ERR_PROTO_ACCESS') {\n\t\tthrow e;\n\t}\n}\n\n// eslint-disable-next-line no-extra-parens\nvar desc = !!hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));\n\nvar $Object = Object;\nvar $getPrototypeOf = $Object.getPrototypeOf;\n\n/** @type {import('./get')} */\nmodule.exports = desc && typeof desc.get === 'function'\n\t? callBind([desc.get])\n\t: typeof $getPrototypeOf === 'function'\n\t\t? /** @type {import('./get')} */ function getDunder(value) {\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\treturn $getPrototypeOf(value == null ? value : $Object(value));\n\t\t}\n\t\t: false;\n","'use strict';\n\nvar reflectGetProto = require('./Reflect.getPrototypeOf');\nvar originalGetProto = require('./Object.getPrototypeOf');\n\nvar getDunderProto = require('dunder-proto/get');\n\n/** @type {import('.')} */\nmodule.exports = reflectGetProto\n\t? function getProto(O) {\n\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\treturn reflectGetProto(O);\n\t}\n\t: originalGetProto\n\t\t? function getProto(O) {\n\t\t\tif (!O || (typeof O !== 'object' && typeof O !== 'function')) {\n\t\t\t\tthrow new TypeError('getProto: not an object');\n\t\t\t}\n\t\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\t\treturn originalGetProto(O);\n\t\t}\n\t\t: getDunderProto\n\t\t\t? function getProto(O) {\n\t\t\t\t// @ts-expect-error TS can't narrow inside a closure, for some reason\n\t\t\t\treturn getDunderProto(O);\n\t\t\t}\n\t\t\t: null;\n","'use strict';\n\nvar call = Function.prototype.call;\nvar $hasOwn = Object.prototype.hasOwnProperty;\nvar bind = require('function-bind');\n\n/** @type {import('.')} */\nmodule.exports = bind.call(call, $hasOwn);\n","'use strict';\n\nvar undefined;\n\nvar $Object = require('es-object-atoms');\n\nvar $Error = require('es-errors');\nvar $EvalError = require('es-errors/eval');\nvar $RangeError = require('es-errors/range');\nvar $ReferenceError = require('es-errors/ref');\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\nvar $URIError = require('es-errors/uri');\n\nvar abs = require('math-intrinsics/abs');\nvar floor = require('math-intrinsics/floor');\nvar max = require('math-intrinsics/max');\nvar min = require('math-intrinsics/min');\nvar pow = require('math-intrinsics/pow');\nvar round = require('math-intrinsics/round');\nvar sign = require('math-intrinsics/sign');\n\nvar $Function = Function;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = require('gopd');\nvar $defineProperty = require('es-define-property');\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\n\nvar getProto = require('get-proto');\nvar $ObjectGPO = require('get-proto/Object.getPrototypeOf');\nvar $ReflectGPO = require('get-proto/Reflect.getPrototypeOf');\n\nvar $apply = require('call-bind-apply-helpers/functionApply');\nvar $call = require('call-bind-apply-helpers/functionCall');\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t__proto__: null,\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': $Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': $EvalError,\n\t'%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': $Object,\n\t'%Object.getOwnPropertyDescriptor%': $gOPD,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': $RangeError,\n\t'%ReferenceError%': $ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': $URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,\n\n\t'%Function.prototype.call%': $call,\n\t'%Function.prototype.apply%': $apply,\n\t'%Object.defineProperty%': $defineProperty,\n\t'%Object.getPrototypeOf%': $ObjectGPO,\n\t'%Math.abs%': abs,\n\t'%Math.floor%': floor,\n\t'%Math.max%': max,\n\t'%Math.min%': min,\n\t'%Math.pow%': pow,\n\t'%Math.round%': round,\n\t'%Math.sign%': sign,\n\t'%Reflect.getPrototypeOf%': $ReflectGPO\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t__proto__: null,\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('hasown');\nvar $concat = bind.call($call, Array.prototype.concat);\nvar $spliceApply = bind.call($apply, Array.prototype.splice);\nvar $replace = bind.call($call, String.prototype.replace);\nvar $strSlice = bind.call($call, String.prototype.slice);\nvar $exec = bind.call($call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n","'use strict';\n\nvar $defineProperty = require('es-define-property');\n\nvar $SyntaxError = require('es-errors/syntax');\nvar $TypeError = require('es-errors/type');\n\nvar gopd = require('gopd');\n\n/** @type {import('.')} */\nmodule.exports = function defineDataProperty(\n\tobj,\n\tproperty,\n\tvalue\n) {\n\tif (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n\t\tthrow new $TypeError('`obj` must be an object or a function`');\n\t}\n\tif (typeof property !== 'string' && typeof property !== 'symbol') {\n\t\tthrow new $TypeError('`property` must be a string or a symbol`');\n\t}\n\tif (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {\n\t\tthrow new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {\n\t\tthrow new $TypeError('`nonWritable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {\n\t\tthrow new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 6 && typeof arguments[6] !== 'boolean') {\n\t\tthrow new $TypeError('`loose`, if provided, must be a boolean');\n\t}\n\n\tvar nonEnumerable = arguments.length > 3 ? arguments[3] : null;\n\tvar nonWritable = arguments.length > 4 ? arguments[4] : null;\n\tvar nonConfigurable = arguments.length > 5 ? arguments[5] : null;\n\tvar loose = arguments.length > 6 ? arguments[6] : false;\n\n\t/* @type {false | TypedPropertyDescriptor<unknown>} */\n\tvar desc = !!gopd && gopd(obj, property);\n\n\tif ($defineProperty) {\n\t\t$defineProperty(obj, property, {\n\t\t\tconfigurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,\n\t\t\tenumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,\n\t\t\tvalue: value,\n\t\t\twritable: nonWritable === null && desc ? desc.writable : !nonWritable\n\t\t});\n\t} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {\n\t\t// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable\n\t\tobj[property] = value; // eslint-disable-line no-param-reassign\n\t} else {\n\t\tthrow new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');\n\t}\n};\n","'use strict';\n\nvar $defineProperty = require('es-define-property');\n\nvar hasPropertyDescriptors = function hasPropertyDescriptors() {\n\treturn !!$defineProperty;\n};\n\nhasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n\t// node v0.6 has a bug where array lengths can be Set but not Defined\n\tif (!$defineProperty) {\n\t\treturn null;\n\t}\n\ttry {\n\t\treturn $defineProperty([], 'length', { value: 1 }).length !== 1;\n\t} catch (e) {\n\t\t// In Firefox 4-22, defining length on an array throws an exception.\n\t\treturn true;\n\t}\n};\n\nmodule.exports = hasPropertyDescriptors;\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar define = require('define-data-property');\nvar hasDescriptors = require('has-property-descriptors')();\nvar gOPD = require('gopd');\n\nvar $TypeError = require('es-errors/type');\nvar $floor = GetIntrinsic('%Math.floor%');\n\n/** @type {import('.')} */\nmodule.exports = function setFunctionLength(fn, length) {\n\tif (typeof fn !== 'function') {\n\t\tthrow new $TypeError('`fn` is not a function');\n\t}\n\tif (typeof length !== 'number' || length < 0 || length > 0xFFFFFFFF || $floor(length) !== length) {\n\t\tthrow new $TypeError('`length` must be a positive 32-bit integer');\n\t}\n\n\tvar loose = arguments.length > 2 && !!arguments[2];\n\n\tvar functionLengthIsConfigurable = true;\n\tvar functionLengthIsWritable = true;\n\tif ('length' in fn && gOPD) {\n\t\tvar desc = gOPD(fn, 'length');\n\t\tif (desc && !desc.configurable) {\n\t\t\tfunctionLengthIsConfigurable = false;\n\t\t}\n\t\tif (desc && !desc.writable) {\n\t\t\tfunctionLengthIsWritable = false;\n\t\t}\n\t}\n\n\tif (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {\n\t\tif (hasDescriptors) {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);\n\t\t} else {\n\t\t\tdefine(/** @type {Parameters<define>[0]} */ (fn), 'length', length);\n\t\t}\n\t}\n\treturn fn;\n};\n","'use strict';\n\nvar bind = require('function-bind');\nvar $apply = require('./functionApply');\nvar actualApply = require('./actualApply');\n\n/** @type {import('./applyBind')} */\nmodule.exports = function applyBind() {\n\treturn actualApply(bind, $apply, arguments);\n};\n","'use strict';\n\nvar setFunctionLength = require('set-function-length');\n\nvar $defineProperty = require('es-define-property');\n\nvar callBindBasic = require('call-bind-apply-helpers');\nvar applyBind = require('call-bind-apply-helpers/applyBind');\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = callBindBasic(arguments);\n\tvar adjustedLength = originalFunction.length - (arguments.length - 1);\n\treturn setFunctionLength(\n\t\tfunc,\n\t\t1 + (adjustedLength > 0 ? adjustedLength : 0),\n\t\ttrue\n\t);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n","'use strict';\n\nvar toStr = Object.prototype.toString;\n\nmodule.exports = function isArguments(value) {\n\tvar str = toStr.call(value);\n\tvar isArgs = str === '[object Arguments]';\n\tif (!isArgs) {\n\t\tisArgs = str !== '[object Array]' &&\n\t\t\tvalue !== null &&\n\t\t\ttypeof value === 'object' &&\n\t\t\ttypeof value.length === 'number' &&\n\t\t\tvalue.length >= 0 &&\n\t\t\ttoStr.call(value.callee) === '[object Function]';\n\t}\n\treturn isArgs;\n};\n","'use strict';\n\nvar keysShim;\nif (!Object.keys) {\n\t// modified from https://github.com/es-shims/es5-shim\n\tvar has = Object.prototype.hasOwnProperty;\n\tvar toStr = Object.prototype.toString;\n\tvar isArgs = require('./isArguments'); // eslint-disable-line global-require\n\tvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\tvar hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');\n\tvar hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\n\tvar dontEnums = [\n\t\t'toString',\n\t\t'toLocaleString',\n\t\t'valueOf',\n\t\t'hasOwnProperty',\n\t\t'isPrototypeOf',\n\t\t'propertyIsEnumerable',\n\t\t'constructor'\n\t];\n\tvar equalsConstructorPrototype = function (o) {\n\t\tvar ctor = o.constructor;\n\t\treturn ctor && ctor.prototype === o;\n\t};\n\tvar excludedKeys = {\n\t\t$applicationCache: true,\n\t\t$console: true,\n\t\t$external: true,\n\t\t$frame: true,\n\t\t$frameElement: true,\n\t\t$frames: true,\n\t\t$innerHeight: true,\n\t\t$innerWidth: true,\n\t\t$onmozfullscreenchange: true,\n\t\t$onmozfullscreenerror: true,\n\t\t$outerHeight: true,\n\t\t$outerWidth: true,\n\t\t$pageXOffset: true,\n\t\t$pageYOffset: true,\n\t\t$parent: true,\n\t\t$scrollLeft: true,\n\t\t$scrollTop: true,\n\t\t$scrollX: true,\n\t\t$scrollY: true,\n\t\t$self: true,\n\t\t$webkitIndexedDB: true,\n\t\t$webkitStorageInfo: true,\n\t\t$window: true\n\t};\n\tvar hasAutomationEqualityBug = (function () {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined') { return false; }\n\t\tfor (var k in window) {\n\t\t\ttry {\n\t\t\t\tif (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tequalsConstructorPrototype(window[k]);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}());\n\tvar equalsConstructorPrototypeIfNotBuggy = function (o) {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t}\n\t\ttry {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n\n\tkeysShim = function keys(object) {\n\t\tvar isObject = object !== null && typeof object === 'object';\n\t\tvar isFunction = toStr.call(object) === '[object Function]';\n\t\tvar isArguments = isArgs(object);\n\t\tvar isString = isObject && toStr.call(object) === '[object String]';\n\t\tvar theKeys = [];\n\n\t\tif (!isObject && !isFunction && !isArguments) {\n\t\t\tthrow new TypeError('Object.keys called on a non-object');\n\t\t}\n\n\t\tvar skipProto = hasProtoEnumBug && isFunction;\n\t\tif (isString && object.length > 0 && !has.call(object, 0)) {\n\t\t\tfor (var i = 0; i < object.length; ++i) {\n\t\t\t\ttheKeys.push(String(i));\n\t\t\t}\n\t\t}\n\n\t\tif (isArguments && object.length > 0) {\n\t\t\tfor (var j = 0; j < object.length; ++j) {\n\t\t\t\ttheKeys.push(String(j));\n\t\t\t}\n\t\t} else {\n\t\t\tfor (var name in object) {\n\t\t\t\tif (!(skipProto && name === 'prototype') && has.call(object, name)) {\n\t\t\t\t\ttheKeys.push(String(name));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (hasDontEnumBug) {\n\t\t\tvar skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n\n\t\t\tfor (var k = 0; k < dontEnums.length; ++k) {\n\t\t\t\tif (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n\t\t\t\t\ttheKeys.push(dontEnums[k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn theKeys;\n\t};\n}\nmodule.exports = keysShim;\n","'use strict';\n\nvar slice = Array.prototype.slice;\nvar isArgs = require('./isArguments');\n\nvar origKeys = Object.keys;\nvar keysShim = origKeys ? function keys(o) { return origKeys(o); } : require('./implementation');\n\nvar originalKeys = Object.keys;\n\nkeysShim.shim = function shimObjectKeys() {\n\tif (Object.keys) {\n\t\tvar keysWorksWithArguments = (function () {\n\t\t\t// Safari 5.0 bug\n\t\t\tvar args = Object.keys(arguments);\n\t\t\treturn args && args.length === arguments.length;\n\t\t}(1, 2));\n\t\tif (!keysWorksWithArguments) {\n\t\t\tObject.keys = function keys(object) { // eslint-disable-line func-name-matching\n\t\t\t\tif (isArgs(object)) {\n\t\t\t\t\treturn originalKeys(slice.call(object));\n\t\t\t\t}\n\t\t\t\treturn originalKeys(object);\n\t\t\t};\n\t\t}\n\t} else {\n\t\tObject.keys = keysShim;\n\t}\n\treturn Object.keys || keysShim;\n};\n\nmodule.exports = keysShim;\n","'use strict';\n\nvar keys = require('object-keys');\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';\n\nvar toStr = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar defineDataProperty = require('define-data-property');\n\nvar isFunction = function (fn) {\n\treturn typeof fn === 'function' && toStr.call(fn) === '[object Function]';\n};\n\nvar supportsDescriptors = require('has-property-descriptors')();\n\nvar defineProperty = function (object, name, value, predicate) {\n\tif (name in object) {\n\t\tif (predicate === true) {\n\t\t\tif (object[name] === value) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else if (!isFunction(predicate) || !predicate()) {\n\t\t\treturn;\n\t\t}\n\t}\n\n\tif (supportsDescriptors) {\n\t\tdefineDataProperty(object, name, value, true);\n\t} else {\n\t\tdefineDataProperty(object, name, value);\n\t}\n};\n\nvar defineProperties = function (object, map) {\n\tvar predicates = arguments.length > 2 ? arguments[2] : {};\n\tvar props = keys(map);\n\tif (hasSymbols) {\n\t\tprops = concat.call(props, Object.getOwnPropertySymbols(map));\n\t}\n\tfor (var i = 0; i < props.length; i += 1) {\n\t\tdefineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n\t}\n};\n\ndefineProperties.supportsDescriptors = !!supportsDescriptors;\n\nmodule.exports = defineProperties;\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBindBasic = require('call-bind-apply-helpers');\n\n/** @type {(thisArg: string, searchString: string, position?: number) => number} */\nvar $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]);\n\n/** @type {import('.')} */\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\t/* eslint no-extra-parens: 0 */\n\n\tvar intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */ (GetIntrinsic(name, !!allowMissing));\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBindBasic(/** @type {const} */ ([intrinsic]));\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Array = GetIntrinsic('%Array%');\n\n// eslint-disable-next-line global-require\nvar toStr = !$Array.isArray && require('call-bound')('Object.prototype.toString');\n\nmodule.exports = $Array.isArray || function IsArray(argument) {\n\treturn toStr(argument) === '[object Array]';\n};\n","'use strict';\n\n// https://262.ecma-international.org/6.0/#sec-isarray\nmodule.exports = require('../helpers/IsArray');\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bound');\n\nvar $TypeError = require('es-errors/type');\n\nvar IsArray = require('./IsArray');\n\nvar $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('Function.prototype.apply');\n\n// https://262.ecma-international.org/6.0/#sec-call\n\nmodule.exports = function Call(F, V) {\n\tvar argumentsList = arguments.length > 2 ? arguments[2] : [];\n\tif (!IsArray(argumentsList)) {\n\t\tthrow new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List');\n\t}\n\treturn $apply(F, V, argumentsList);\n};\n","module.exports = require('util').inspect;\n","var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar $match = String.prototype.match;\nvar $slice = String.prototype.slice;\nvar $replace = String.prototype.replace;\nvar $toUpperCase = String.prototype.toUpperCase;\nvar $toLowerCase = String.prototype.toLowerCase;\nvar $test = RegExp.prototype.test;\nvar $concat = Array.prototype.concat;\nvar $join = Array.prototype.join;\nvar $arrSlice = Array.prototype.slice;\nvar $floor = Math.floor;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\n// ie, `has-tostringtag/shams\nvar toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')\n ? Symbol.toStringTag\n : null;\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nfunction addNumericSeparator(num, str) {\n if (\n num === Infinity\n || num === -Infinity\n || num !== num\n || (num && num > -1000 && num < 1000)\n || $test.call(/e/, str)\n ) {\n return str;\n }\n var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n if (typeof num === 'number') {\n var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n if (int !== num) {\n var intStr = String(int);\n var dec = $slice.call(str, intStr.length + 1);\n return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n }\n }\n return $replace.call(str, sepRegex, '$&_');\n}\n\nvar utilInspect = require('./util.inspect');\nvar inspectCustom = utilInspect.custom;\nvar inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n\nvar quotes = {\n __proto__: null,\n 'double': '\"',\n single: \"'\"\n};\nvar quoteREs = {\n __proto__: null,\n 'double': /([\"\\\\])/g,\n single: /(['\\\\])/g\n};\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && !has(quotes, opts.quoteStyle)) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n }\n var numericSeparator = opts.numericSeparator;\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n var str = String(obj);\n return numericSeparator ? addNumericSeparator(obj, str) : str;\n }\n if (typeof obj === 'bigint') {\n var bigIntStr = String(obj) + 'n';\n return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = $arrSlice.call(seen);\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + $toLowerCase.call(String(obj.nodeName));\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + $join.call(xs, ', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n }\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n return utilInspect(obj, { depth: maxDepth - depth });\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n if (mapForEach) {\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n }\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n if (setForEach) {\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n }\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n // note: in IE 8, sometimes `global !== window` but both are the prototypes of each other\n /* eslint-env browser */\n if (typeof window !== 'undefined' && obj === window) {\n return '{ [object Window] }';\n }\n if (\n (typeof globalThis !== 'undefined' && obj === globalThis)\n || (typeof global !== 'undefined' && obj === global)\n ) {\n return '{ [object globalThis] }';\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + $join.call(ys, ', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var style = opts.quoteStyle || defaultStyle;\n var quoteChar = quotes[style];\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return $replace.call(String(s), /\"/g, '&quot;');\n}\n\nfunction canTrustToString(obj) {\n return !toStringTag || !(typeof obj === 'object' && (toStringTag in obj || typeof obj[toStringTag] !== 'undefined'));\n}\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && canTrustToString(obj); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && canTrustToString(obj); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && canTrustToString(obj); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && canTrustToString(obj); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && canTrustToString(obj); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && canTrustToString(obj); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && canTrustToString(obj); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n }\n var quoteRE = quoteREs[opts.quoteStyle || 'single'];\n quoteRE.lastIndex = 0;\n // eslint-disable-next-line no-control-regex\n var s = $replace.call($replace.call(str, quoteRE, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = $join.call(Array(opts.indent + 1), ' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: $join.call(Array(depth + 1), baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ($test.call(/[^\\w$]/, key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n","'use strict';\n\nmodule.exports = function isPropertyKey(argument) {\n\treturn typeof argument === 'string' || typeof argument === 'symbol';\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar inspect = require('object-inspect');\n\nvar isPropertyKey = require('../helpers/isPropertyKey');\n// var ToObject = require('./ToObject');\n\n// https://262.ecma-international.org/6.0/#sec-getv\n\nmodule.exports = function GetV(V, P) {\n\t// 7.3.2.1\n\tif (!isPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: P is not a Property Key, got ' + inspect(P));\n\t}\n\n\t// 7.3.2.2-3\n\t// var O = ToObject(V);\n\n\t// 7.3.2.4\n\treturn V[P];\n};\n","'use strict';\n\nvar fnToStr = Function.prototype.toString;\nvar reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;\nvar badArrayLike;\nvar isCallableMarker;\nif (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {\n\ttry {\n\t\tbadArrayLike = Object.defineProperty({}, 'length', {\n\t\t\tget: function () {\n\t\t\t\tthrow isCallableMarker;\n\t\t\t}\n\t\t});\n\t\tisCallableMarker = {};\n\t\t// eslint-disable-next-line no-throw-literal\n\t\treflectApply(function () { throw 42; }, null, badArrayLike);\n\t} catch (_) {\n\t\tif (_ !== isCallableMarker) {\n\t\t\treflectApply = null;\n\t\t}\n\t}\n} else {\n\treflectApply = null;\n}\n\nvar constructorRegex = /^\\s*class\\b/;\nvar isES6ClassFn = function isES6ClassFunction(value) {\n\ttry {\n\t\tvar fnStr = fnToStr.call(value);\n\t\treturn constructorRegex.test(fnStr);\n\t} catch (e) {\n\t\treturn false; // not a function\n\t}\n};\n\nvar tryFunctionObject = function tryFunctionToStr(value) {\n\ttry {\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tfnToStr.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar objectClass = '[object Object]';\nvar fnClass = '[object Function]';\nvar genClass = '[object GeneratorFunction]';\nvar ddaClass = '[object HTMLAllCollection]'; // IE 11\nvar ddaClass2 = '[object HTML document.all class]';\nvar ddaClass3 = '[object HTMLCollection]'; // IE 9-10\nvar hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`\n\nvar isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing\n\nvar isDDA = function isDocumentDotAll() { return false; };\nif (typeof document === 'object') {\n\t// Firefox 3 canonicalizes DDA to undefined when it's not accessed directly\n\tvar all = document.all;\n\tif (toStr.call(all) === toStr.call(document.all)) {\n\t\tisDDA = function isDocumentDotAll(value) {\n\t\t\t/* globals document: false */\n\t\t\t// in IE 6-8, typeof document.all is \"object\" and it's truthy\n\t\t\tif ((isIE68 || !value) && (typeof value === 'undefined' || typeof value === 'object')) {\n\t\t\t\ttry {\n\t\t\t\t\tvar str = toStr.call(value);\n\t\t\t\t\treturn (\n\t\t\t\t\t\tstr === ddaClass\n\t\t\t\t\t\t|| str === ddaClass2\n\t\t\t\t\t\t|| str === ddaClass3 // opera 12.16\n\t\t\t\t\t\t|| str === objectClass // IE 6-8\n\t\t\t\t\t) && value('') == null; // eslint-disable-line eqeqeq\n\t\t\t\t} catch (e) { /**/ }\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\t}\n}\n\nmodule.exports = reflectApply\n\t? function isCallable(value) {\n\t\tif (isDDA(value)) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\ttry {\n\t\t\treflectApply(value, null, badArrayLike);\n\t\t} catch (e) {\n\t\t\tif (e !== isCallableMarker) { return false; }\n\t\t}\n\t\treturn !isES6ClassFn(value) && tryFunctionObject(value);\n\t}\n\t: function isCallable(value) {\n\t\tif (isDDA(value)) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (hasToStringTag) { return tryFunctionObject(value); }\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tvar strClass = toStr.call(value);\n\t\tif (strClass !== fnClass && strClass !== genClass && !(/^\\[object HTML/).test(strClass)) { return false; }\n\t\treturn tryFunctionObject(value);\n\t};\n","'use strict';\n\n// http://262.ecma-international.org/5.1/#sec-9.11\n\nmodule.exports = require('is-callable');\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar GetV = require('./GetV');\nvar IsCallable = require('./IsCallable');\nvar isPropertyKey = require('../helpers/isPropertyKey');\n\nvar inspect = require('object-inspect');\n\n// https://262.ecma-international.org/6.0/#sec-getmethod\n\nmodule.exports = function GetMethod(O, P) {\n\t// 7.3.9.1\n\tif (!isPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: P is not a Property Key');\n\t}\n\n\t// 7.3.9.2\n\tvar func = GetV(O, P);\n\n\t// 7.3.9.4\n\tif (func == null) {\n\t\treturn void 0;\n\t}\n\n\t// 7.3.9.5\n\tif (!IsCallable(func)) {\n\t\tthrow new $TypeError(inspect(P) + ' is not a function: ' + inspect(func));\n\t}\n\n\t// 7.3.9.6\n\treturn func;\n};\n","'use strict';\n\nvar $isNaN = require('./isNaN');\n\n/** @type {import('./isFinite')} */\nmodule.exports = function isFinite(x) {\n\treturn (typeof x === 'number' || typeof x === 'bigint')\n && !$isNaN(x)\n && x !== Infinity\n && x !== -Infinity;\n};\n\n","'use strict';\n\nvar $abs = require('./abs');\nvar $floor = require('./floor');\n\nvar $isNaN = require('./isNaN');\nvar $isFinite = require('./isFinite');\n\n/** @type {import('./isInteger')} */\nmodule.exports = function isInteger(argument) {\n\tif (typeof argument !== 'number' || $isNaN(argument) || !$isFinite(argument)) {\n\t\treturn false;\n\t}\n\tvar absValue = $abs(argument);\n\treturn $floor(absValue) === absValue;\n};\n","'use strict';\n\n/** @type {import('./isObject')} */\nmodule.exports = function isObject(x) {\n\treturn !!x && (typeof x === 'function' || typeof x === 'object');\n};\n","'use strict';\n\nvar hasSymbols = require('has-symbols/shams');\n\n/** @type {import('.')} */\nmodule.exports = function hasToStringTagShams() {\n\treturn hasSymbols() && !!Symbol.toStringTag;\n};\n","'use strict';\n\nvar callBound = require('call-bound');\nvar hasToStringTag = require('has-tostringtag/shams')();\nvar hasOwn = require('hasown');\nvar gOPD = require('gopd');\n\n/** @type {import('.')} */\nvar fn;\n\nif (hasToStringTag) {\n\t/** @type {(receiver: ThisParameterType<typeof RegExp.prototype.exec>, ...args: Parameters<typeof RegExp.prototype.exec>) => ReturnType<typeof RegExp.prototype.exec>} */\n\tvar $exec = callBound('RegExp.prototype.exec');\n\t/** @type {object} */\n\tvar isRegexMarker = {};\n\n\tvar throwRegexMarker = function () {\n\t\tthrow isRegexMarker;\n\t};\n\t/** @type {{ toString(): never, valueOf(): never, [Symbol.toPrimitive]?(): never }} */\n\tvar badStringifier = {\n\t\ttoString: throwRegexMarker,\n\t\tvalueOf: throwRegexMarker\n\t};\n\n\tif (typeof Symbol.toPrimitive === 'symbol') {\n\t\tbadStringifier[Symbol.toPrimitive] = throwRegexMarker;\n\t}\n\n\t/** @type {import('.')} */\n\t// @ts-expect-error TS can't figure out that the $exec call always throws\n\t// eslint-disable-next-line consistent-return\n\tfn = function isRegex(value) {\n\t\tif (!value || typeof value !== 'object') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// eslint-disable-next-line no-extra-parens\n\t\tvar descriptor = /** @type {NonNullable<typeof gOPD>} */ (gOPD)(/** @type {{ lastIndex?: unknown }} */ (value), 'lastIndex');\n\t\tvar hasLastIndexDataProperty = descriptor && hasOwn(descriptor, 'value');\n\t\tif (!hasLastIndexDataProperty) {\n\t\t\treturn false;\n\t\t}\n\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-extra-parens\n\t\t\t$exec(value, /** @type {string} */ (/** @type {unknown} */ (badStringifier)));\n\t\t} catch (e) {\n\t\t\treturn e === isRegexMarker;\n\t\t}\n\t};\n} else {\n\t/** @type {(receiver: ThisParameterType<typeof Object.prototype.toString>, ...args: Parameters<typeof Object.prototype.toString>) => ReturnType<typeof Object.prototype.toString>} */\n\tvar $toString = callBound('Object.prototype.toString');\n\t/** @const @type {'[object RegExp]'} */\n\tvar regexClass = '[object RegExp]';\n\n\t/** @type {import('.')} */\n\tfn = function isRegex(value) {\n\t\t// In older browsers, typeof regex incorrectly returns 'function'\n\t\tif (!value || (typeof value !== 'object' && typeof value !== 'function')) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn $toString(value) === regexClass;\n\t};\n}\n\nmodule.exports = fn;\n","'use strict';\n\nvar callBound = require('call-bound');\nvar isRegex = require('is-regex');\n\nvar $exec = callBound('RegExp.prototype.exec');\nvar $TypeError = require('es-errors/type');\n\n/** @type {import('.')} */\nmodule.exports = function regexTester(regex) {\n\tif (!isRegex(regex)) {\n\t\tthrow new $TypeError('`regex` must be a RegExp');\n\t}\n\treturn function test(s) {\n\t\treturn $exec(regex, s) !== null;\n\t};\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\nvar inspect = require('object-inspect');\n\nvar isPropertyKey = require('../helpers/isPropertyKey');\n\nvar isObject = require('es-object-atoms/isObject');\n\n// https://262.ecma-international.org/6.0/#sec-get-o-p\n\nmodule.exports = function Get(O, P) {\n\t// 7.3.1.1\n\tif (!isObject(O)) {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\t// 7.3.1.2\n\tif (!isPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: P is not a Property Key, got ' + inspect(P));\n\t}\n\t// 7.3.1.3\n\treturn O[P];\n};\n","'use strict';\n\n// https://262.ecma-international.org/6.0/#sec-algorithm-conventions\n\nmodule.exports = require('math-intrinsics/min');\n","'use strict';\n\nvar callBound = require('call-bound');\n\nvar $TypeError = require('es-errors/type');\nvar isInteger = require('math-intrinsics/isInteger');\n\nvar $slice = callBound('String.prototype.slice');\n\n// https://262.ecma-international.org/16.0/#sec-stringindexof\n\nmodule.exports = function StringIndexOf(string, searchValue, fromIndex) {\n\tif (typeof string !== 'string') {\n\t\tthrow new $TypeError('Assertion failed: `string` must be a String');\n\t}\n\tif (typeof searchValue !== 'string') {\n\t\tthrow new $TypeError('Assertion failed: `searchValue` must be a String');\n\t}\n\tif (!isInteger(fromIndex) || fromIndex < 0) {\n\t\tthrow new $TypeError('Assertion failed: `fromIndex` must be a non-negative integer');\n\t}\n\n\tvar len = string.length; // step 1\n\tif (searchValue === '' && fromIndex <= len) {\n\t\treturn fromIndex; // step 2\n\t}\n\n\tvar searchLen = searchValue.length; // step 3\n\tfor (var i = fromIndex; i <= (len - searchLen); i += 1) { // step 4\n\t\tvar candidate = $slice(string, i, i + searchLen); // step 4.a\n\t\tif (candidate === searchValue) {\n\t\t\treturn i; // step 4.b\n\t\t}\n\t}\n\treturn 'NOT-FOUND'; // step 5\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\n\n/** @type {import('./RequireObjectCoercible')} */\nmodule.exports = function RequireObjectCoercible(value) {\n\tif (value == null) {\n\t\tthrow new $TypeError((arguments.length > 0 && arguments[1]) || ('Cannot call method on ' + value));\n\t}\n\treturn value;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $String = GetIntrinsic('%String%');\nvar $TypeError = require('es-errors/type');\n\n// https://262.ecma-international.org/6.0/#sec-tostring\n\nmodule.exports = function ToString(argument) {\n\tif (typeof argument === 'symbol') {\n\t\tthrow new $TypeError('Cannot convert a Symbol value to a string');\n\t}\n\treturn $String(argument);\n};\n","'use strict';\n\nvar RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');\nvar ToString = require('es-abstract/2024/ToString');\nvar callBound = require('call-bound');\nvar $replace = callBound('String.prototype.replace');\n\nvar mvsIsWS = (/^\\s$/).test('\\u180E');\n/* eslint-disable no-control-regex */\nvar leftWhitespace = mvsIsWS\n\t? /^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+/\n\t: /^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+/;\nvar rightWhitespace = mvsIsWS\n\t? /[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+$/\n\t: /[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+$/;\n/* eslint-enable no-control-regex */\n\nmodule.exports = function trim() {\n\tvar S = ToString(RequireObjectCoercible(this));\n\treturn $replace($replace(S, leftWhitespace, ''), rightWhitespace, '');\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nvar zeroWidthSpace = '\\u200b';\nvar mongolianVowelSeparator = '\\u180E';\n\nmodule.exports = function getPolyfill() {\n\tif (\n\t\tString.prototype.trim\n\t\t&& zeroWidthSpace.trim() === zeroWidthSpace\n\t\t&& mongolianVowelSeparator.trim() === mongolianVowelSeparator\n\t\t&& ('_' + mongolianVowelSeparator).trim() === ('_' + mongolianVowelSeparator)\n\t\t&& (mongolianVowelSeparator + '_').trim() === (mongolianVowelSeparator + '_')\n\t) {\n\t\treturn String.prototype.trim;\n\t}\n\treturn implementation;\n};\n","'use strict';\n\nvar supportsDescriptors = require('has-property-descriptors')();\nvar defineDataProperty = require('define-data-property');\n\nvar getPolyfill = require('./polyfill');\n\nmodule.exports = function shimStringTrim() {\n\tvar polyfill = getPolyfill();\n\n\tif (String.prototype.trim !== polyfill) {\n\t\tif (supportsDescriptors) {\n\t\t\tdefineDataProperty(String.prototype, 'trim', polyfill, true);\n\t\t} else {\n\t\t\tdefineDataProperty(String.prototype, 'trim', polyfill);\n\t\t}\n\t}\n\n\treturn polyfill;\n};\n","'use strict';\n\nvar callBind = require('call-bind');\nvar define = require('define-properties');\nvar RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar shim = require('./shim');\n\nvar bound = callBind(getPolyfill());\nvar boundMethod = function trim(receiver) {\n\tRequireObjectCoercible(receiver);\n\treturn bound(receiver);\n};\n\ndefine(boundMethod, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = boundMethod;\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $RegExp = GetIntrinsic('%RegExp%');\nvar $TypeError = require('es-errors/type');\nvar $parseInteger = GetIntrinsic('%parseInt%');\n\nvar callBound = require('call-bound');\nvar regexTester = require('safe-regex-test');\n\nvar $strSlice = callBound('String.prototype.slice');\nvar isBinary = regexTester(/^0b[01]+$/i);\nvar isOctal = regexTester(/^0o[0-7]+$/i);\nvar isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i);\nvar nonWS = ['\\u0085', '\\u200b', '\\ufffe'].join('');\nvar nonWSregex = new $RegExp('[' + nonWS + ']', 'g');\nvar hasNonWS = regexTester(nonWSregex);\n\nvar $trim = require('string.prototype.trim');\n\n// https://262.ecma-international.org/13.0/#sec-stringtonumber\n\nmodule.exports = function StringToNumber(argument) {\n\tif (typeof argument !== 'string') {\n\t\tthrow new $TypeError('Assertion failed: `argument` is not a String');\n\t}\n\tif (isBinary(argument)) {\n\t\treturn +$parseInteger($strSlice(argument, 2), 2);\n\t}\n\tif (isOctal(argument)) {\n\t\treturn +$parseInteger($strSlice(argument, 2), 8);\n\t}\n\tif (hasNonWS(argument) || isInvalidHexLiteral(argument)) {\n\t\treturn NaN;\n\t}\n\tvar trimmed = $trim(argument);\n\tif (trimmed !== argument) {\n\t\treturn StringToNumber(trimmed);\n\t}\n\treturn +argument;\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\nvar isInteger = require('math-intrinsics/isInteger');\nvar callBound = require('call-bound');\n\nvar $slice = callBound('String.prototype.slice');\n\n// https://262.ecma-international.org/12.0/#substring\nmodule.exports = function substring(S, inclusiveStart, exclusiveEnd) {\n\tif (typeof S !== 'string' || !isInteger(inclusiveStart) || (arguments.length > 2 && !isInteger(exclusiveEnd))) {\n\t\tthrow new $TypeError('`S` must be a String, and `inclusiveStart` and `exclusiveEnd` must be integers');\n\t}\n\treturn $slice(S, inclusiveStart, arguments.length > 2 ? exclusiveEnd : S.length);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $String = GetIntrinsic('%String%');\nvar $TypeError = require('es-errors/type');\n\n// https://262.ecma-international.org/6.0/#sec-tostring\n\nmodule.exports = function ToString(argument) {\n\tif (typeof argument === 'symbol') {\n\t\tthrow new $TypeError('Cannot convert a Symbol value to a string');\n\t}\n\treturn $String(argument);\n};\n","'use strict';\n\nmodule.exports = function every(array, predicate) {\n\tfor (var i = 0; i < array.length; i += 1) {\n\t\tif (!predicate(array[i], i, array)) {\n\t\t\treturn false;\n\t\t}\n\t}\n\treturn true;\n};\n","'use strict';\n\nvar $strSlice = require('call-bound')('String.prototype.slice');\n\nmodule.exports = function isPrefixOf(prefix, string) {\n\tif (prefix === string) {\n\t\treturn true;\n\t}\n\tif (prefix.length > string.length) {\n\t\treturn false;\n\t}\n\treturn $strSlice(string, 0, prefix.length) === prefix;\n};\n","'use strict';\n\nmodule.exports = function isStringOrUndefined(item) {\n\treturn typeof item === 'string' || typeof item === 'undefined';\n};\n","'use strict';\n\nvar $TypeError = require('es-errors/type');\nvar inspect = require('object-inspect');\nvar isInteger = require('math-intrinsics/isInteger');\nvar isObject = require('es-object-atoms/isObject');\nvar regexTester = require('safe-regex-test');\n\nvar Get = require('./Get');\nvar IsArray = require('./IsArray');\nvar min = require('./min');\nvar StringIndexOf = require('./StringIndexOf');\nvar StringToNumber = require('./StringToNumber');\nvar substring = require('./substring');\nvar ToString = require('./ToString');\n\nvar every = require('../helpers/every');\nvar isPrefixOf = require('../helpers/isPrefixOf');\nvar isStringOrUndefined = require('../helpers/isStringOrUndefined');\n\nvar startsWithDollarDigit = regexTester(/^\\$[0-9]/);\nvar startsWithDollarTwoDigit = regexTester(/^\\$[0-9][0-9]/);\n\n// http://www.ecma-international.org/ecma-262/15.0/#sec-getsubstitution\n\n// eslint-disable-next-line max-statements, max-params, max-lines-per-function\nmodule.exports = function GetSubstitution(matched, str, position, captures, namedCaptures, replacementTemplate) {\n\tif (typeof matched !== 'string') {\n\t\tthrow new $TypeError('Assertion failed: `matched` must be a String');\n\t}\n\n\tif (typeof str !== 'string') {\n\t\tthrow new $TypeError('Assertion failed: `str` must be a String');\n\t}\n\n\tif (!isInteger(position) || position < 0) {\n\t\tthrow new $TypeError('Assertion failed: `position` must be a nonnegative integer, got ' + inspect(position));\n\t}\n\n\tif (!IsArray(captures) || !every(captures, isStringOrUndefined)) {\n\t\tthrow new $TypeError('Assertion failed: `captures` must be a possibly-empty List of Strings or `undefined`, got ' + inspect(captures));\n\t}\n\n\tif (typeof namedCaptures !== 'undefined' && !isObject(namedCaptures)) {\n\t\tthrow new $TypeError('Assertion failed: `namedCaptures` must be `undefined` or an Object');\n\t}\n\n\tif (typeof replacementTemplate !== 'string') {\n\t\tthrow new $TypeError('Assertion failed: `replacementTemplate` must be a String');\n\t}\n\n\tvar stringLength = str.length; // step 1\n\n\tif (position > stringLength) {\n\t\tthrow new $TypeError('Assertion failed: position > stringLength, got ' + inspect(position)); // step 2\n\t}\n\n\tvar templateRemainder = replacementTemplate; // step 3\n\n\tvar result = ''; // step 4\n\n\twhile (templateRemainder !== '') { // step 5\n\t\t// 5.a NOTE: The following steps isolate ref (a prefix of templateRemainder), determine refReplacement (its replacement), and then append that replacement to result.\n\n\t\tvar ref, refReplacement, capture;\n\t\tif (isPrefixOf('$$', templateRemainder)) { // step 5.b\n\t\t\tref = '$$'; // step 5.b.i\n\t\t\trefReplacement = '$'; // step 5.b.ii\n\t\t} else if (isPrefixOf('$`', templateRemainder)) { // step 5.c\n\t\t\tref = '$`'; // step 5.c.i\n\t\t\trefReplacement = substring(str, 0, position); // step 5.c.ii\n\t\t} else if (isPrefixOf('$&', templateRemainder)) { // step 5.d\n\t\t\tref = '$&'; // step 5.d.i\n\t\t\trefReplacement = matched; // step 5.d.ii\n\t\t} else if (isPrefixOf('$\\'', templateRemainder)) { // step 5.e\n\t\t\tref = '$\\''; // step 5.e.i\n\t\t\tvar matchLength = matched.length; // step 5.e.ii\n\t\t\tvar tailPos = position + matchLength; // step 5.e.iii\n\t\t\trefReplacement = substring(str, min(tailPos, stringLength)); // step 5.e.iv\n\t\t\t// 5.e.v NOTE: tailPos can exceed stringLength only if this abstract operation was invoked by a call to the intrinsic @@replace method of %RegExp.prototype% on an object whose \"exec\" property is not the intrinsic %RegExp.prototype.exec%.\n\t\t} else if (startsWithDollarDigit(templateRemainder)) { // step 5.f\n\t\t\tvar digitCount = startsWithDollarTwoDigit(templateRemainder) ? 2 : 1; // step 5.f.i\n\n\t\t\tvar digits = substring(templateRemainder, 1, 1 + digitCount); // step 5.f.ii\n\n\t\t\tvar index = StringToNumber(digits); // step 5.f.iii\n\n\t\t\tif (index < 0 || index > 99) {\n\t\t\t\tthrow new $TypeError('Assertion failed: `index` must be >= 0 and <= 99'); // step 5.f.iv\n\t\t\t}\n\n\t\t\tvar captureLen = captures.length; // step 5.f.v\n\n\t\t\tif (index > captureLen && digitCount === 2) { // step 5.f.vi\n\t\t\t\t// 1. NOTE: When a two-digit replacement pattern specifies an index exceeding the count of capturing groups, it is treated as a one-digit replacement pattern followed by a literal digit.\n\n\t\t\t\tdigitCount = 1; // step 5.f.vi.2\n\n\t\t\t\tdigits = substring(digits, 0, 1); // step 5.f.vi.3\n\n\t\t\t\tindex = StringToNumber(digits); // step 5.f.vi.4\n\t\t\t}\n\n\t\t\tref = substring(templateRemainder, 0, 1 + digitCount); // step 5.f.vii\n\n\t\t\tif (1 <= index && index <= captureLen) { // step 5.f.viii\n\t\t\t\tcapture = captures[index - 1]; // step 5.f.viii.1\n\n\t\t\t\tif (typeof capture === 'undefined') { // step 5.f.viii.2\n\t\t\t\t\trefReplacement = ''; // step 5.f.viii.2.a\n\t\t\t\t} else { // step 5.f.viii.3\n\t\t\t\t\trefReplacement = capture; // step 5.f.viii.3.a\n\t\t\t\t}\n\t\t\t} else { // step 5.f.ix\n\t\t\t\trefReplacement = ref; // step 5.f.ix.1\n\t\t\t}\n\t\t} else if (isPrefixOf('$<', templateRemainder)) { // step 5.g\n\t\t\tvar gtPos = StringIndexOf(templateRemainder, '>', 0); // step 5.g.i\n\t\t\tif (!(gtPos > -1) || typeof namedCaptures === 'undefined') { // step 5.g.ii\n\t\t\t\tref = '$<'; // step 5.g.ii.1\n\t\t\t\trefReplacement = ref; // step 5.g.ii.2\n\t\t\t} else { // step 5.g.iii\n\t\t\t\tref = substring(templateRemainder, 0, gtPos + 1); // step 5.g.iii.1\n\t\t\t\tvar groupName = substring(templateRemainder, 2, gtPos); // step 5.g.iii.2\n\t\t\t\tif (!isObject(namedCaptures)) {\n\t\t\t\t\tthrow new $TypeError('Assertion failed: Type(namedCaptures) is not Object'); // step 5.g.iii.3\n\t\t\t\t}\n\t\t\t\tcapture = Get(namedCaptures, groupName); // step 5.g.iii.4\n\t\t\t\tif (typeof capture === 'undefined') { // step 5.g.iii.5\n\t\t\t\t\trefReplacement = ''; // step 5.g.iii.5.a\n\t\t\t\t} else { // step 5.g.iii.6\n\t\t\t\t\trefReplacement = ToString(capture); // step 5.g.iii.6.a\n\t\t\t\t}\n\t\t\t}\n\t\t} else { // step 5.h\n\t\t\tref = substring(templateRemainder, 0, 1); // step 5.h.i\n\t\t\trefReplacement = ref; // step 5.h.ii\n\t\t}\n\n\t\tvar refLength = ref.length; // step 5.i\n\n\t\ttemplateRemainder = substring(templateRemainder, refLength); // step 5.j\n\n\t\tresult += refReplacement; // step 5.k\n\t}\n\n\treturn result; // step 6\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n\nvar Call = require('es-abstract/2025/Call');\nvar GetMethod = require('es-abstract/2025/GetMethod');\nvar GetSubstitution = require('es-abstract/2025/GetSubstitution');\nvar IsCallable = require('es-abstract/2025/IsCallable');\nvar RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');\nvar ToString = require('es-abstract/2025/ToString');\nvar StringIndexOf = require('es-abstract/2025/StringIndexOf');\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bind/callBound');\nvar hasSymbols = require('has-symbols')();\nvar isRegex = require('is-regex');\n\nvar max = GetIntrinsic('%Math.max%');\nvar $TypeError = require('es-errors/type');\n\nvar $push = callBound('Array.prototype.push');\nvar $slice = callBound('String.prototype.slice');\nvar $indexOf = callBound('String.prototype.indexOf');\nvar $replace = callBound('String.prototype.replace');\n\n// https://tc39.es/ecma262/#sec-string.prototype.replaceall\n\n// eslint-disable-next-line max-statements, max-lines-per-function\nmodule.exports = function replaceAll(searchValue, replaceValue) {\n\tvar O = RequireObjectCoercible(this);\n\n\tvar searchValueIsRegex = isRegex(searchValue);\n\tif (searchValueIsRegex && $indexOf($slice(searchValue, searchValue.source.length + 2), 'g') === -1) {\n\t\tthrow new $TypeError('use .replace for a non-global regex. NOTE: this may be allowed in the future.');\n\n\t}\n\tif (hasSymbols && Symbol.replace) {\n\t\tif (searchValue != null) {\n\t\t\tvar replacer = GetMethod(searchValue, Symbol.replace);\n\t\t\tif (typeof replacer !== 'undefined') {\n\t\t\t\treturn Call(replacer, searchValue, [O, replaceValue]);\n\t\t\t}\n\t\t}\n\t} else if (searchValueIsRegex) {\n\t\treturn $replace(O, searchValue, replaceValue);\n\t}\n\n\tvar string = ToString(O);\n\tvar searchString = ToString(searchValue);\n\tvar functionalReplace = IsCallable(replaceValue);\n\tif (!functionalReplace) {\n\t\treplaceValue = ToString(replaceValue); // eslint-disable-line no-param-reassign\n\t}\n\n\tvar searchLength = searchString.length;\n\tvar advanceBy = max(1, searchLength);\n\tvar matchPositions = [];\n\n\tvar position = StringIndexOf(string, searchString, 0);\n\twhile (position !== 'NOT-FOUND') {\n\t\t$push(matchPositions, position);\n\t\tposition = StringIndexOf(string, searchString, position + advanceBy);\n\t}\n\n\tvar endOfLastMatch = 0;\n\tvar result = '';\n\tfor (var i = 0; i < matchPositions.length; i += 1) {\n\t\tvar replacement;\n\t\tif (functionalReplace) {\n\t\t\treplacement = ToString(Call(replaceValue, undefined, [searchString, matchPositions[i], string]));\n\t\t} else {\n\t\t\tif (typeof replaceValue !== 'string') {\n\t\t\t\tthrow new $TypeError('Assertion failed: `replaceValue` should be a string at this point');\n\t\t\t}\n\t\t\tvar captures = [];\n\t\t\treplacement = GetSubstitution(searchString, string, matchPositions[i], captures, undefined, replaceValue);\n\t\t}\n\t\tvar stringSlice = $slice(string, endOfLastMatch, matchPositions[i]);\n\t\tresult += stringSlice + replacement;\n\t\tendOfLastMatch = matchPositions[i] + searchLength;\n\t}\n\n\tif (endOfLastMatch < string.length) {\n\t\tresult += $slice(string, endOfLastMatch);\n\t}\n\n\treturn result;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = function getPolyfill() {\n\treturn String.prototype.replaceAll || implementation;\n};\n","'use strict';\n\nvar define = require('define-properties');\nvar getPolyfill = require('./polyfill');\n\nmodule.exports = function shimReplaceAll() {\n\tvar polyfill = getPolyfill();\n\tdefine(\n\t\tString.prototype,\n\t\t{ replaceAll: polyfill },\n\t\t{ replaceAll: function () { return String.prototype.replaceAll !== polyfill; } }\n\t);\n\treturn polyfill;\n};\n","'use strict';\n\nvar callBind = require('call-bind');\nvar define = require('define-properties');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar shim = require('./shim');\n\nvar boundReplaceAll = callBind(implementation);\n\ndefine(boundReplaceAll, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = boundReplaceAll;\n","// Required for ES2017 compatibility.\nimport \"string.prototype.replaceall\";\n\nexport { type Config } from \"./Config\";\nexport { DynamicSnippetsGenerator } from \"./DynamicSnippetsGenerator\";\n"],"mappings":"qSAAA,IAAAA,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CACvB,YAAaF,GACb,eAAgBD,GAChB,KAAME,EACP,CAAC,EAEDL,GAAO,QAAUM,KChBjB,IAAAC,GAAO","names":["require_es_object_atoms","__commonJSMin","exports","module","require_es_errors","__commonJSMin","exports","module","require_eval","__commonJSMin","exports","module","require_range","__commonJSMin","exports","module","require_ref","__commonJSMin","exports","module","require_syntax","__commonJSMin","exports","module","require_type","__commonJSMin","exports","module","require_uri","__commonJSMin","exports","module","require_abs","__commonJSMin","exports","module","require_floor","__commonJSMin","exports","module","require_max","__commonJSMin","exports","module","require_min","__commonJSMin","exports","module","require_pow","__commonJSMin","exports","module","require_round","__commonJSMin","exports","module","require_isNaN","__commonJSMin","exports","module","a","require_sign","__commonJSMin","exports","module","$isNaN","number","require_gOPD","__commonJSMin","exports","module","require_gopd","__commonJSMin","exports","module","$gOPD","require_es_define_property","__commonJSMin","exports","module","$defineProperty","require_shams","__commonJSMin","exports","module","obj","sym","symObj","symVal","_","syms","descriptor","require_has_symbols","__commonJSMin","exports","module","origSymbol","hasSymbolSham","require_Reflect_getPrototypeOf","__commonJSMin","exports","module","require_Object_getPrototypeOf","__commonJSMin","exports","module","$Object","require_implementation","__commonJSMin","exports","module","ERROR_MESSAGE","toStr","max","funcType","concatty","a","b","arr","i","j","slicy","arrLike","offset","joiny","joiner","str","that","target","args","bound","binder","result","boundLength","boundArgs","Empty","require_function_bind","__commonJSMin","exports","module","implementation","require_functionCall","__commonJSMin","exports","module","require_functionApply","__commonJSMin","exports","module","require_reflectApply","__commonJSMin","exports","module","require_actualApply","__commonJSMin","exports","module","bind","$apply","$call","$reflectApply","require_call_bind_apply_helpers","__commonJSMin","exports","module","bind","$TypeError","$call","$actualApply","args","require_get","__commonJSMin","exports","module","callBind","gOPD","hasProtoAccessor","desc","$Object","$getPrototypeOf","value","require_get_proto","__commonJSMin","exports","module","reflectGetProto","originalGetProto","getDunderProto","O","require_hasown","__commonJSMin","exports","module","call","$hasOwn","bind","require_get_intrinsic","__commonJSMin","exports","module","undefined","$Object","$Error","$EvalError","$RangeError","$ReferenceError","$SyntaxError","$TypeError","$URIError","abs","floor","max","min","pow","round","sign","$Function","getEvalledConstructor","expressionSyntax","e","$gOPD","$defineProperty","throwTypeError","ThrowTypeError","calleeThrows","gOPDthrows","hasSymbols","getProto","$ObjectGPO","$ReflectGPO","$apply","$call","needsEval","TypedArray","INTRINSICS","errorProto","doEval","name","value","fn","gen","LEGACY_ALIASES","bind","hasOwn","$concat","$spliceApply","$replace","$strSlice","$exec","rePropName","reEscapeChar","stringToPath","string","first","last","result","match","number","quote","subString","getBaseIntrinsic","allowMissing","intrinsicName","alias","parts","intrinsicBaseName","intrinsic","intrinsicRealName","skipFurtherCaching","i","isOwn","part","desc","require_define_data_property","__commonJSMin","exports","module","$defineProperty","$SyntaxError","$TypeError","gopd","obj","property","value","nonEnumerable","nonWritable","nonConfigurable","loose","desc","require_has_property_descriptors","__commonJSMin","exports","module","$defineProperty","hasPropertyDescriptors","e","require_set_function_length","__commonJSMin","exports","module","GetIntrinsic","define","hasDescriptors","gOPD","$TypeError","$floor","fn","length","loose","functionLengthIsConfigurable","functionLengthIsWritable","desc","require_applyBind","__commonJSMin","exports","module","bind","$apply","actualApply","require_call_bind","__commonJSMin","exports","module","setFunctionLength","$defineProperty","callBindBasic","applyBind","originalFunction","func","adjustedLength","require_isArguments","__commonJSMin","exports","module","toStr","value","str","isArgs","require_implementation","__commonJSMin","exports","module","keysShim","has","toStr","isArgs","isEnumerable","hasDontEnumBug","hasProtoEnumBug","dontEnums","equalsConstructorPrototype","o","ctor","excludedKeys","hasAutomationEqualityBug","k","e","equalsConstructorPrototypeIfNotBuggy","object","isObject","isFunction","isArguments","isString","theKeys","skipProto","i","j","name","skipConstructor","require_object_keys","__commonJSMin","exports","module","slice","isArgs","origKeys","keysShim","o","originalKeys","keysWorksWithArguments","args","object","require_define_properties","__commonJSMin","exports","module","keys","hasSymbols","toStr","concat","defineDataProperty","isFunction","fn","supportsDescriptors","defineProperty","object","name","value","predicate","defineProperties","map","predicates","props","i","require_call_bound","__commonJSMin","exports","module","GetIntrinsic","callBindBasic","$indexOf","name","allowMissing","intrinsic","require_IsArray","__commonJSMin","exports","module","GetIntrinsic","$Array","toStr","argument","require_IsArray","__commonJSMin","exports","module","require_Call","__commonJSMin","exports","module","GetIntrinsic","callBound","$TypeError","IsArray","$apply","F","V","argumentsList","require_util_inspect","__commonJSMin","exports","module","require_object_inspect","__commonJSMin","exports","module","hasMap","mapSizeDescriptor","mapSize","mapForEach","hasSet","setSizeDescriptor","setSize","setForEach","hasWeakMap","weakMapHas","hasWeakSet","weakSetHas","hasWeakRef","weakRefDeref","booleanValueOf","objectToString","functionToString","$match","$slice","$replace","$toUpperCase","$toLowerCase","$test","$concat","$join","$arrSlice","$floor","bigIntValueOf","gOPS","symToString","hasShammedSymbols","toStringTag","isEnumerable","gPO","O","addNumericSeparator","num","str","sepRegex","int","intStr","dec","utilInspect","inspectCustom","inspectSymbol","isSymbol","quotes","quoteREs","inspect_","obj","options","depth","seen","opts","has","customInspect","numericSeparator","inspectString","bigIntStr","maxDepth","isArray","indent","getIndent","indexOf","inspect","value","from","noIndent","newOpts","isRegExp","name","nameOf","keys","arrObjKeys","symString","markBoxed","isElement","s","attrs","i","wrapQuotes","quote","xs","singleLineValues","indentedJoin","isError","parts","isMap","mapParts","key","collectionOf","isSet","setParts","isWeakMap","weakCollectionOf","isWeakSet","isWeakRef","isNumber","isBigInt","isBoolean","isString","isDate","ys","isPlainObject","protoTag","stringTag","toStr","constructorTag","tag","defaultStyle","style","quoteChar","canTrustToString","e","hasOwn","f","m","x","l","remaining","trailer","quoteRE","lowbyte","c","n","type","size","entries","joinedEntries","baseIndent","lineJoiner","isArr","syms","symMap","k","j","require_isPropertyKey","__commonJSMin","exports","module","argument","require_GetV","__commonJSMin","exports","module","$TypeError","inspect","isPropertyKey","V","P","require_is_callable","__commonJSMin","exports","module","fnToStr","reflectApply","badArrayLike","isCallableMarker","_","constructorRegex","isES6ClassFn","value","fnStr","e","tryFunctionObject","toStr","objectClass","fnClass","genClass","ddaClass","ddaClass2","ddaClass3","hasToStringTag","isIE68","isDDA","all","str","strClass","require_IsCallable","__commonJSMin","exports","module","require_GetMethod","__commonJSMin","exports","module","$TypeError","GetV","IsCallable","isPropertyKey","inspect","O","P","func","require_isFinite","__commonJSMin","exports","module","$isNaN","x","require_isInteger","__commonJSMin","exports","module","$abs","$floor","$isNaN","$isFinite","argument","absValue","require_isObject","__commonJSMin","exports","module","x","require_shams","__commonJSMin","exports","module","hasSymbols","require_is_regex","__commonJSMin","exports","module","callBound","hasToStringTag","hasOwn","gOPD","fn","$exec","isRegexMarker","throwRegexMarker","badStringifier","value","descriptor","hasLastIndexDataProperty","e","$toString","regexClass","require_safe_regex_test","__commonJSMin","exports","module","callBound","isRegex","$exec","$TypeError","regex","s","require_Get","__commonJSMin","exports","module","$TypeError","inspect","isPropertyKey","isObject","O","P","require_min","__commonJSMin","exports","module","require_StringIndexOf","__commonJSMin","exports","module","callBound","$TypeError","isInteger","$slice","string","searchValue","fromIndex","len","searchLen","i","candidate","require_RequireObjectCoercible","__commonJSMin","exports","module","$TypeError","value","require_ToString","__commonJSMin","exports","module","GetIntrinsic","$String","$TypeError","argument","require_implementation","__commonJSMin","exports","module","RequireObjectCoercible","ToString","callBound","$replace","mvsIsWS","leftWhitespace","rightWhitespace","S","require_polyfill","__commonJSMin","exports","module","implementation","zeroWidthSpace","mongolianVowelSeparator","require_shim","__commonJSMin","exports","module","supportsDescriptors","defineDataProperty","getPolyfill","polyfill","require_string_prototype","__commonJSMin","exports","module","callBind","define","RequireObjectCoercible","implementation","getPolyfill","shim","bound","boundMethod","receiver","require_StringToNumber","__commonJSMin","exports","module","GetIntrinsic","$RegExp","$TypeError","$parseInteger","callBound","regexTester","$strSlice","isBinary","isOctal","isInvalidHexLiteral","nonWS","nonWSregex","hasNonWS","$trim","StringToNumber","argument","trimmed","require_substring","__commonJSMin","exports","module","$TypeError","isInteger","callBound","$slice","S","inclusiveStart","exclusiveEnd","require_ToString","__commonJSMin","exports","module","GetIntrinsic","$String","$TypeError","argument","require_every","__commonJSMin","exports","module","array","predicate","i","require_isPrefixOf","__commonJSMin","exports","module","$strSlice","prefix","string","require_isStringOrUndefined","__commonJSMin","exports","module","item","require_GetSubstitution","__commonJSMin","exports","module","$TypeError","inspect","isInteger","isObject","regexTester","Get","IsArray","min","StringIndexOf","StringToNumber","substring","ToString","every","isPrefixOf","isStringOrUndefined","startsWithDollarDigit","startsWithDollarTwoDigit","matched","str","position","captures","namedCaptures","replacementTemplate","stringLength","templateRemainder","result","ref","refReplacement","capture","matchLength","tailPos","digitCount","digits","index","captureLen","gtPos","groupName","refLength","require_callBound","__commonJSMin","exports","module","GetIntrinsic","callBind","$indexOf","name","allowMissing","intrinsic","require_implementation","__commonJSMin","exports","module","Call","GetMethod","GetSubstitution","IsCallable","RequireObjectCoercible","ToString","StringIndexOf","GetIntrinsic","callBound","hasSymbols","isRegex","max","$TypeError","$push","$slice","$indexOf","$replace","searchValue","replaceValue","O","searchValueIsRegex","replacer","string","searchString","functionalReplace","searchLength","advanceBy","matchPositions","position","endOfLastMatch","result","i","replacement","captures","stringSlice","require_polyfill","__commonJSMin","exports","module","implementation","require_shim","__commonJSMin","exports","module","define","getPolyfill","polyfill","require_string_prototype","__commonJSMin","exports","module","callBind","define","implementation","getPolyfill","shim","boundReplaceAll","import_string_prototype"]}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fern-api/csharp-dynamic-snippets",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",
@@ -1,2 +0,0 @@
1
- "use strict";var h=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var g=(o,a,e)=>a in o?h(o,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[a]=e;var L=(o,a)=>{for(var e in a)h(o,e,{get:a[e],enumerable:!0})},N=(o,a,e,r)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of x(a))!v.call(o,i)&&i!==e&&h(o,i,{get:()=>a[i],enumerable:!(r=T(a,i))||r.enumerable});return o};var D=o=>N(h({},"__esModule",{value:!0}),o);var l=(o,a,e)=>g(o,typeof a!="symbol"?a+"":a,e);var R={};L(R,{DynamicTypeLiteralMapper:()=>f});module.exports=D(R);function c(o){throw new Error("Unexpected value: "+JSON.stringify(o))}var p={Critical:"CRITICAL",Warning:"WARNING"};var u=class{constructor(a){l(this,"ctx");this.ctx=a}get generation(){return this.ctx.generation}get csharp(){return this.generation.csharp}get settings(){return this.generation.settings}get constants(){return this.generation.constants}get namespaces(){return this.generation.namespaces}get names(){return this.generation.names}get types(){return this.generation.types}get extern(){return this.generation.extern}get model(){return this.generation.model}get registry(){return this.generation.registry}get System(){return this.extern.System}get NUnit(){return this.extern.NUnit}get OneOf(){return this.extern.OneOf}get Google(){return this.extern.Google}};var f=class extends u{constructor({context:e}){super(e);l(this,"context");this.context=e}convert(e){if(e.value===null)return this.context.isNullable(e.typeReference)?this.csharp.TypeLiteral.null():(this.context.errors.add({severity:p.Critical,message:"Expected non-null value, but got null"}),this.csharp.TypeLiteral.nop());if(e.value===void 0&&!e.fallbackToDefault)return this.csharp.TypeLiteral.nop();switch(e.typeReference.type){case"list":return this.convertList({list:e.typeReference.value,value:e.value,fallbackToDefault:e.fallbackToDefault});case"literal":return this.convertLiteral({literal:e.typeReference.value,value:e.value});case"map":return this.convertMap({map:e.typeReference,value:e.value,fallbackToDefault:e.fallbackToDefault});case"named":{let r=this.context.resolveNamedType({typeId:e.typeReference.value});return r==null?this.csharp.TypeLiteral.nop():this.convertNamed({named:r,value:e.value,as:e.as,fallbackToDefault:e.fallbackToDefault})}case"nullable":return this.convert({typeReference:e.typeReference.value,value:e.value,as:e.as});case"optional":return this.convert({typeReference:e.typeReference.value,value:e.value,as:e.as});case"primitive":return this.convertPrimitive({primitive:e.typeReference.value,value:e.value,as:e.as,fallbackToDefault:e.fallbackToDefault});case"set":return this.convertSet({set:e.typeReference.value,value:e.value,fallbackToDefault:e.fallbackToDefault});case"unknown":return this.convertUnknown({value:e.value,fallbackToDefault:e.fallbackToDefault});default:c(e.typeReference)}}convertList({list:e,value:r,fallbackToDefault:i}){return Array.isArray(r)?this.csharp.TypeLiteral.list({valueType:this.context.dynamicTypeMapper.convert({typeReference:e,unboxOptionals:!0}),values:r.map((t,n)=>{this.context.errors.scope({index:n});try{return this.convert({typeReference:e,value:t})}finally{this.context.errors.unscope()}})}):(this.context.errors.add({severity:p.Critical,message:`Expected array but got: ${typeof r}`}),this.csharp.TypeLiteral.nop())}convertLiteral({literal:e,value:r,fallbackToDefault:i}){switch(e.type){case"boolean":{let t=this.context.getValueAsBoolean({value:r});return t==null?this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.boolean(t)}case"string":{let t=this.context.getValueAsString({value:r});return t==null?i?this.csharp.Type.string.getDeterminsticDefault(i):this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.string(t)}default:c(e)}}convertSet({set:e,value:r,fallbackToDefault:i}){return Array.isArray(r)?this.csharp.TypeLiteral.set({valueType:this.context.dynamicTypeMapper.convert({typeReference:e,unboxOptionals:!0}),values:r.map((t,n)=>{this.context.errors.scope({index:n});try{return this.convert({typeReference:e,value:t})}finally{this.context.errors.unscope()}})}):(this.context.errors.add({severity:p.Critical,message:`Expected array but got: ${typeof r}`}),this.csharp.TypeLiteral.nop())}convertMap({map:e,value:r,fallbackToDefault:i}){return typeof r!="object"||r==null?(this.context.errors.add({severity:p.Critical,message:`Expected object but got: ${r==null?"null":typeof r}`}),this.csharp.TypeLiteral.nop()):this.csharp.TypeLiteral.dictionary({keyType:this.context.dynamicTypeMapper.convert({typeReference:e.key}),valueType:e.value.type==="unknown"?this.context.dynamicTypeMapper.convert({typeReference:e.value}).toOptionalIfNotAlready():this.context.dynamicTypeMapper.convert({typeReference:e.value}),entries:Object.entries(r).map(([t,n])=>{this.context.errors.scope(t);try{return{key:this.convert({typeReference:e.key,value:t,as:"key"}),value:this.convert({typeReference:e.value,value:n})}}finally{this.context.errors.unscope()}})})}convertNamed({named:e,value:r,as:i,fallbackToDefault:t}){switch(e.type){case"alias":return this.convert({typeReference:e.typeReference,value:r,as:i,fallbackToDefault:t});case"discriminatedUnion":return this.settings.shouldGeneratedDiscriminatedUnions?this.convertDiscriminatedUnion({discriminatedUnion:e,value:r,fallbackToDefault:t}):this.convertUnknown({value:r,fallbackToDefault:t});case"enum":return this.getEnumValue(e,r);case"object":return this.convertObject({object_:e,value:r,fallbackToDefault:t});case"undiscriminatedUnion":return this.convertUndiscriminatedUnion({undiscriminatedUnion:e,value:r,fallbackToDefault:t});default:c(e)}}convertDiscriminatedUnion({discriminatedUnion:e,value:r,fallbackToDefault:i}){let t=this.csharp.classReference({origin:e.declaration,namespace:this.context.getNamespace(e.declaration.fernFilepath)}),n=this.context.resolveDiscriminatedUnionTypeInstance({discriminatedUnion:e,value:r});if(n==null)return this.csharp.TypeLiteral.nop();let s=n.singleDiscriminatedUnionType,y=this.getBaseProperties({discriminatedUnionTypeInstance:n,singleDiscriminatedUnionType:s});switch(s.type){case"samePropertiesAsObject":{let m=this.context.resolveNamedType({typeId:s.typeId});return m==null?this.csharp.TypeLiteral.nop():this.instantiateUnionWithBaseProperties({classReference:t,baseProperties:y,arguments_:[this.convertNamed({named:m,value:n.value})]})}case"singleProperty":{if(this.context.getRecord(n.value)==null)return this.csharp.TypeLiteral.nop();try{let d=["Value","Type"].includes(s.discriminantValue.name.pascalCase.safeName)?`${s.discriminantValue.name.pascalCase.safeName}Inner`:s.discriminantValue.name.pascalCase.safeName;return this.context.errors.scope(s.discriminantValue.wireValue),this.instantiateUnionWithBaseProperties({classReference:t,baseProperties:y,arguments_:[this.csharp.instantiateClass({classReference:this.csharp.classReference({name:d,enclosingType:t}),arguments_:[this.convert({typeReference:s.typeReference,value:s.discriminantValue.wireValue})]})]})}finally{this.context.errors.unscope()}}case"noProperties":return this.instantiateUnionWithBaseProperties({classReference:t,baseProperties:y,arguments_:[this.csharp.instantiateClass({classReference:this.csharp.classReference({origin:n.discriminantValue,enclosingType:t}),arguments_:[]})]});default:c(s)}}getBaseProperties({discriminatedUnionTypeInstance:e,singleDiscriminatedUnionType:r}){var t,n;return this.context.associateByWireValue({parameters:(t=r.properties)!=null?t:[],values:(n=this.context.getRecord(e.value))!=null?n:{},ignoreMissingParameters:!0}).map(s=>{this.context.errors.scope(s.name.wireValue);try{return{name:this.context.getPropertyName(s.name.name),assignment:this.convert(s)}}finally{this.context.errors.unscope()}})}instantiateUnionWithBaseProperties({classReference:e,arguments_:r,baseProperties:i}){let t=this.csharp.instantiateClass({classReference:e,arguments_:r,multiline:!0});return i.length===0?this.csharp.TypeLiteral.reference(t):this.csharp.TypeLiteral.reference(this.csharp.codeblock(n=>{n.write(t," "),n.pushScope();for(let s of i)n.write(s.name," = ",s.assignment,",");n.popScope(!1)}))}getEnumValue(e,r){if(typeof r!="string")return this.context.errors.add({severity:p.Critical,message:`Expected enum value string, got: ${typeof r}`}),this.csharp.TypeLiteral.nop();let i=e.values.find(s=>s.wireValue===r);if(i==null)return this.context.errors.add({severity:p.Critical,message:`An enum value named "${r}" does not exist in this context`}),this.csharp.TypeLiteral.nop();let t=this.csharp.classReference({origin:e.declaration,namespace:this.context.getNamespace(e.declaration.fernFilepath)}),n=t.registerField(this.model.getPropertyNameFor(i),i);return this.csharp.TypeLiteral.reference(this.csharp.enumInstantiation({reference:t,value:n}))}convertObject({object_:e,value:r,fallbackToDefault:i}){var n;let t=this.context.associateByWireValue({parameters:e.properties,values:(n=this.context.getRecord(r))!=null?n:{}});return this.csharp.TypeLiteral.class_({reference:this.csharp.classReference({origin:e.declaration,namespace:this.context.getNamespace(e.declaration.fernFilepath)}),fields:t.map(s=>{this.context.errors.scope(s.name.wireValue);try{return{name:this.context.getClassName(s.name.name),value:this.convert(s)}}finally{this.context.errors.unscope()}})})}convertUndiscriminatedUnion({undiscriminatedUnion:e,value:r,fallbackToDefault:i}){let t=this.findMatchingUndiscriminatedUnionType({undiscriminatedUnion:e,value:r});return t==null?this.csharp.TypeLiteral.nop():t.typeLiteral}findMatchingUndiscriminatedUnionType({undiscriminatedUnion:e,value:r}){for(let i of e.types)try{let t=this.convert({typeReference:i,value:r});return{valueTypeReference:i,typeLiteral:t}}catch(t){continue}this.context.errors.add({severity:p.Critical,message:`None of the types in the undiscriminated union matched the given "${typeof r}" value`})}convertUnknown({value:e,fallbackToDefault:r}){return this.csharp.TypeLiteral.unknown(e)}convertPrimitive({primitive:e,value:r,as:i,fallbackToDefault:t}){switch(e){case"INTEGER":{let n=this.getValueAsNumber({value:r,as:i});return n==null?t?this.csharp.Type.integer.getDeterminsticDefault(t):this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.integer(n)}case"LONG":{let n=this.getValueAsNumber({value:r,as:i});return n==null?t?this.csharp.Type.long.getDeterminsticDefault(t):this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.long(n)}case"UINT":{let n=this.getValueAsNumber({value:r,as:i});return n==null?t?this.csharp.Type.uint.getDeterminsticDefault(t):this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.uint(n)}case"UINT_64":{let n=this.getValueAsNumber({value:r,as:i});return n==null?t?this.csharp.Type.ulong.getDeterminsticDefault(t):this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.ulong(n)}case"FLOAT":{let n=this.getValueAsNumber({value:r,as:i});return n==null?t?this.csharp.Type.float.getDeterminsticDefault(t):this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.float(n)}case"DOUBLE":{let n=this.getValueAsNumber({value:r,as:i});return n==null?t?this.csharp.Type.double.getDeterminsticDefault(t):this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.double(n)}case"BOOLEAN":{let n=this.getValueAsBoolean({value:r,as:i});return n==null?t?this.csharp.Type.boolean.getDeterminsticDefault(t):this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.boolean(n)}case"STRING":{let n=this.context.getValueAsString({value:r});return n==null?t?this.csharp.Type.string.getDeterminsticDefault(t):this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.string(n)}case"DATE":{let n=this.context.getValueAsString({value:r});return n==null?t?this.csharp.Type.dateOnly.getDeterminsticDefault(t):this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.date(n)}case"DATE_TIME":{let n=this.context.getValueAsString({value:r});return n==null?t?this.csharp.Type.dateTime.getDeterminsticDefault(t):this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.datetime(n)}case"UUID":{let n=this.context.getValueAsString({value:r});return n==null?t?this.csharp.Type.string.getDeterminsticDefault(t):this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.string(n)}case"BASE_64":{let n=this.context.getValueAsString({value:r});return n==null?t?this.csharp.Type.string.getDeterminsticDefault(t):this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.string(n)}case"BIG_INTEGER":{let n=this.context.getValueAsString({value:r});return n==null?t?this.csharp.Type.string.getDeterminsticDefault(t):this.csharp.TypeLiteral.nop():this.csharp.TypeLiteral.string(n)}default:c(e)}}getValueAsNumber({value:e,as:r}){let i=r==="key"&&typeof e=="string"?Number(e):e;return this.context.getValueAsNumber({value:i})}getValueAsBoolean({value:e,as:r}){let i=r==="key"?typeof e=="string"?e==="true":e==="false"?!1:e:e;return this.context.getValueAsBoolean({value:i})}};0&&(module.exports={DynamicTypeLiteralMapper});
2
- //# sourceMappingURL=DynamicTypeLiteralMapper.cjs.map