@fern-api/go-dynamic-snippets 0.0.8 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/esm/index.js CHANGED
@@ -1,4 +1 @@
1
- import{a as Go}from"./chunk-4PKXKUYU.js";import"./chunk-KJOW5AZT.js";import"./chunk-COBOWL3P.js";import"./chunk-ZYGZ4VN4.js";import"./chunk-UVYC4FWB.js";import"./chunk-IQODEXPX.js";import"./chunk-ZQRLKIRW.js";import"./chunk-BC35GX6S.js";import"./chunk-VAYOWHUI.js";import"./chunk-5XUC5IOB.js";import{c as Co,f as a,h as Uo}from"./chunk-6JCPJA27.js";var Fe=a((tf,Ie)=>{"use strict";var Lo="Function.prototype.bind called on incompatible ",ko=Object.prototype.toString,zo=Math.max,Ho="[object Function]",Ee=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},Ko=function(r,t){for(var n=[],o=t||0,i=0;o<r.length;o+=1,i+=1)n[i]=r[o];return n},Jo=function(e,r){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=r);return t};Ie.exports=function(r){var t=this;if(typeof t!="function"||ko.apply(t)!==Ho)throw new TypeError(Lo+t);for(var n=Ko(arguments,1),o,i=function(){if(this instanceof o){var y=t.apply(this,Ee(n,arguments));return Object(y)===y?y:this}return t.apply(r,Ee(n,arguments))},f=zo(0,t.length-n.length),l=[],u=0;u<f;u++)l[u]="$"+u;if(o=Function("binder","return function ("+Jo(l,",")+"){ 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 tr=a((nf,Te)=>{"use strict";var jo=Fe();Te.exports=Function.prototype.bind||jo});var De=a((of,Re)=>{"use strict";Re.exports=Error});var Ne=a((af,Be)=>{"use strict";Be.exports=EvalError});var Me=a((uf,_e)=>{"use strict";_e.exports=RangeError});var Ce=a((ff,We)=>{"use strict";We.exports=ReferenceError});var Ir=a((lf,Ue)=>{"use strict";Ue.exports=SyntaxError});var d=a((sf,Ge)=>{"use strict";Ge.exports=TypeError});var ke=a((pf,Le)=>{"use strict";Le.exports=URIError});var Fr=a((cf,ze)=>{"use strict";ze.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(t 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 i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[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 Tr=a((yf,Ke)=>{"use strict";var He=typeof Symbol!="undefined"&&Symbol,Yo=Fr();Ke.exports=function(){return typeof He!="function"||typeof Symbol!="function"||typeof He("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Yo()}});var je=a((vf,Je)=>{"use strict";var Rr={__proto__:null,foo:{}},Xo=Object;Je.exports=function(){return{__proto__:Rr}.foo===Rr.foo&&!(Rr instanceof Xo)}});var Xe=a((gf,Ye)=>{"use strict";var Qo=Function.prototype.call,Vo=Object.prototype.hasOwnProperty,Zo=tr();Ye.exports=Zo.call(Qo,Vo)});var O=a((hf,et)=>{"use strict";var p,ri=De(),ei=Ne(),ti=Me(),ni=Ce(),C=Ir(),W=d(),oi=ke(),rt=Function,Dr=function(e){try{return rt('"use strict"; return ('+e+").constructor;")()}catch(r){}},D=Object.getOwnPropertyDescriptor;if(D)try{D({},"")}catch(e){D=null}var Br=function(){throw new W},ii=D?function(){try{return arguments.callee,Br}catch(e){try{return D(arguments,"callee").get}catch(r){return Br}}}():Br,_=Tr()(),ai=je()(),h=Object.getPrototypeOf||(ai?function(e){return e.__proto__}:null),M={},ui=typeof Uint8Array=="undefined"||!h?p:h(Uint8Array),B={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?p:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?p:ArrayBuffer,"%ArrayIteratorPrototype%":_&&h?h([][Symbol.iterator]()):p,"%AsyncFromSyncIteratorPrototype%":p,"%AsyncFunction%":M,"%AsyncGenerator%":M,"%AsyncGeneratorFunction%":M,"%AsyncIteratorPrototype%":M,"%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%":ri,"%eval%":eval,"%EvalError%":ei,"%Float32Array%":typeof Float32Array=="undefined"?p:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?p:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?p:FinalizationRegistry,"%Function%":rt,"%GeneratorFunction%":M,"%Int8Array%":typeof Int8Array=="undefined"?p:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?p:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?p:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":_&&h?h(h([][Symbol.iterator]())):p,"%JSON%":typeof JSON=="object"?JSON:p,"%Map%":typeof Map=="undefined"?p:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!_||!h?p:h(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?p:Promise,"%Proxy%":typeof Proxy=="undefined"?p:Proxy,"%RangeError%":ti,"%ReferenceError%":ni,"%Reflect%":typeof Reflect=="undefined"?p:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?p:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!_||!h?p:h(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?p:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_&&h?h(""[Symbol.iterator]()):p,"%Symbol%":_?Symbol:p,"%SyntaxError%":C,"%ThrowTypeError%":ii,"%TypedArray%":ui,"%TypeError%":W,"%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%":oi,"%WeakMap%":typeof WeakMap=="undefined"?p:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?p:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?p:WeakSet};if(h)try{null.error}catch(e){Qe=h(h(e)),B["%Error.prototype%"]=Qe}var Qe,fi=function e(r){var t;if(r==="%AsyncFunction%")t=Dr("async function () {}");else if(r==="%GeneratorFunction%")t=Dr("function* () {}");else if(r==="%AsyncGeneratorFunction%")t=Dr("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 B[r]=t,t},Ve={__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"]},H=tr(),nr=Xe(),li=H.call(Function.call,Array.prototype.concat),si=H.call(Function.apply,Array.prototype.splice),Ze=H.call(Function.call,String.prototype.replace),or=H.call(Function.call,String.prototype.slice),pi=H.call(Function.call,RegExp.prototype.exec),ci=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,yi=/\\(\\)?/g,vi=function(r){var t=or(r,0,1),n=or(r,-1);if(t==="%"&&n!=="%")throw new C("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new C("invalid intrinsic syntax, expected opening `%`");var o=[];return Ze(r,ci,function(i,f,l,u){o[o.length]=l?Ze(u,yi,"$1"):f||i}),o},gi=function(r,t){var n=r,o;if(nr(Ve,n)&&(o=Ve[n],n="%"+o[0]+"%"),nr(B,n)){var i=B[n];if(i===M&&(i=fi(n)),typeof i=="undefined"&&!t)throw new W("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new C("intrinsic "+r+" does not exist!")};et.exports=function(r,t){if(typeof r!="string"||r.length===0)throw new W("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new W('"allowMissing" argument must be a boolean');if(pi(/^%?[^%]*%?$/,r)===null)throw new C("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=vi(r),o=n.length>0?n[0]:"",i=gi("%"+o+"%",t),f=i.name,l=i.value,u=!1,v=i.alias;v&&(o=v[0],si(n,li([0,1],v)));for(var y=1,c=!0;y<n.length;y+=1){var s=n[y],m=or(s,0,1),A=or(s,-1);if((m==='"'||m==="'"||m==="`"||A==='"'||A==="'"||A==="`")&&m!==A)throw new C("property names with quotes must have matching quotes");if((s==="constructor"||!c)&&(u=!0),o+="."+s,f="%"+o+"%",nr(B,f))l=B[f];else if(l!=null){if(!(s in l)){if(!t)throw new W("base intrinsic for "+r+" exists, but the property is not available.");return}if(D&&y+1>=n.length){var g=D(l,s);c=!!g,c&&"get"in g&&!("originalValue"in g.get)?l=g.get:l=l[s]}else c=nr(l,s),l=l[s];c&&!u&&(B[f]=l)}}return l}});var ar=a((df,tt)=>{"use strict";var hi=O(),ir=hi("%Object.defineProperty%",!0)||!1;if(ir)try{ir({},"a",{value:1})}catch(e){ir=!1}tt.exports=ir});var Nr=a((Sf,nt)=>{"use strict";var di=O(),ur=di("%Object.getOwnPropertyDescriptor%",!0);if(ur)try{ur([],"length")}catch(e){ur=null}nt.exports=ur});var _r=a((mf,at)=>{"use strict";var ot=ar(),Si=Ir(),U=d(),it=Nr();at.exports=function(r,t,n){if(!r||typeof r!="object"&&typeof r!="function")throw new U("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new U("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new U("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new U("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new U("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new U("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,l=arguments.length>6?arguments[6]:!1,u=!!it&&it(r,t);if(ot)ot(r,t,{configurable:f===null&&u?u.configurable:!f,enumerable:o===null&&u?u.enumerable:!o,value:n,writable:i===null&&u?u.writable:!i});else if(l||!o&&!i&&!f)r[t]=n;else throw new Si("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Wr=a((bf,ft)=>{"use strict";var Mr=ar(),ut=function(){return!!Mr};ut.hasArrayLengthDefineBug=function(){if(!Mr)return null;try{return Mr([],"length",{value:1}).length!==1}catch(r){return!0}};ft.exports=ut});var yt=a((Af,ct)=>{"use strict";var mi=O(),lt=_r(),bi=Wr()(),st=Nr(),pt=d(),Ai=mi("%Math.floor%");ct.exports=function(r,t){if(typeof r!="function")throw new pt("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Ai(t)!==t)throw new pt("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in r&&st){var f=st(r,"length");f&&!f.configurable&&(o=!1),f&&!f.writable&&(i=!1)}return(o||i||!n)&&(bi?lt(r,"length",t,!0,!0):lt(r,"length",t)),r}});var sr=a((wf,fr)=>{"use strict";var Cr=tr(),lr=O(),wi=yt(),Oi=d(),ht=lr("%Function.prototype.apply%"),dt=lr("%Function.prototype.call%"),St=lr("%Reflect.apply%",!0)||Cr.call(dt,ht),vt=ar(),qi=lr("%Math.max%");fr.exports=function(r){if(typeof r!="function")throw new Oi("a function is required");var t=St(Cr,dt,arguments);return wi(t,1+qi(0,r.length-(arguments.length-1)),!0)};var gt=function(){return St(Cr,ht,arguments)};vt?vt(fr.exports,"apply",{value:gt}):fr.exports.apply=gt});var Ur=a((Of,bt)=>{"use strict";var mt=Object.prototype.toString;bt.exports=function(r){var t=mt.call(r),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&mt.call(r.callee)==="[object Function]"),n}});var It=a((qf,Et)=>{"use strict";var Pt;Object.keys||(K=Object.prototype.hasOwnProperty,Gr=Object.prototype.toString,At=Ur(),Lr=Object.prototype.propertyIsEnumerable,wt=!Lr.call({toString:null},"toString"),Ot=Lr.call(function(){},"prototype"),J=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],pr=function(e){var r=e.constructor;return r&&r.prototype===e},qt={$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},$t=function(){if(typeof window=="undefined")return!1;for(var e in window)try{if(!qt["$"+e]&&K.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{pr(window[e])}catch(r){return!0}}catch(r){return!0}return!1}(),xt=function(e){if(typeof window=="undefined"||!$t)return pr(e);try{return pr(e)}catch(r){return!1}},Pt=function(r){var t=r!==null&&typeof r=="object",n=Gr.call(r)==="[object Function]",o=At(r),i=t&&Gr.call(r)==="[object String]",f=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var l=Ot&&n;if(i&&r.length>0&&!K.call(r,0))for(var u=0;u<r.length;++u)f.push(String(u));if(o&&r.length>0)for(var v=0;v<r.length;++v)f.push(String(v));else for(var y in r)!(l&&y==="prototype")&&K.call(r,y)&&f.push(String(y));if(wt)for(var c=xt(r),s=0;s<J.length;++s)!(c&&J[s]==="constructor")&&K.call(r,J[s])&&f.push(J[s]);return f});var K,Gr,At,Lr,wt,Ot,J,pr,qt,$t,xt;Et.exports=Pt});var Dt=a(($f,Rt)=>{"use strict";var $i=Array.prototype.slice,xi=Ur(),Ft=Object.keys,cr=Ft?function(r){return Ft(r)}:It(),Tt=Object.keys;cr.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 xi(n)?Tt($i.call(n)):Tt(n)})}else Object.keys=cr;return Object.keys||cr};Rt.exports=cr});var j=a((xf,Mt)=>{"use strict";var Pi=Dt(),Ei=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Ii=Object.prototype.toString,Fi=Array.prototype.concat,Bt=_r(),Ti=function(e){return typeof e=="function"&&Ii.call(e)==="[object Function]"},Nt=Wr()(),Ri=function(e,r,t,n){if(r in e){if(n===!0){if(e[r]===t)return}else if(!Ti(n)||!n())return}Nt?Bt(e,r,t,!0):Bt(e,r,t)},_t=function(e,r){var t=arguments.length>2?arguments[2]:{},n=Pi(r);Ei&&(n=Fi.call(n,Object.getOwnPropertySymbols(r)));for(var o=0;o<n.length;o+=1)Ri(e,n[o],r[n[o]],t[n[o]])};_t.supportsDescriptors=!!Nt;Mt.exports=_t});var q=a((Pf,Ut)=>{"use strict";var Wt=O(),Ct=sr(),Di=Ct(Wt("String.prototype.indexOf"));Ut.exports=function(r,t){var n=Wt(r,!!t);return typeof n=="function"&&Di(r,".prototype.")>-1?Ct(n):n}});var kt=a((Ef,Lt)=>{"use strict";var Bi=O(),Gt=Bi("%Array%"),Ni=!Gt.isArray&&q()("Object.prototype.toString");Lt.exports=Gt.isArray||function(r){return Ni(r)==="[object Array]"}});var kr=a((If,zt)=>{"use strict";zt.exports=kt()});var Kt=a((Ff,Ht)=>{"use strict";var _i=O(),Mi=q(),Wi=d(),Ci=kr(),Ui=_i("%Reflect.apply%",!0)||Mi("Function.prototype.apply");Ht.exports=function(r,t){var n=arguments.length>2?arguments[2]:[];if(!Ci(n))throw new Wi("Assertion failed: optional `argumentsList`, if provided, must be a List");return Ui(r,t,n)}});var jt=a((Tf,Jt)=>{"use strict";Jt.exports=Co("util").inspect});var V=a((Rf,vn)=>{"use strict";var Zr=typeof Map=="function"&&Map.prototype,zr=Object.getOwnPropertyDescriptor&&Zr?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,vr=Zr&&zr&&typeof zr.get=="function"?zr.get:null,Yt=Zr&&Map.prototype.forEach,re=typeof Set=="function"&&Set.prototype,Hr=Object.getOwnPropertyDescriptor&&re?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,gr=re&&Hr&&typeof Hr.get=="function"?Hr.get:null,Xt=re&&Set.prototype.forEach,Gi=typeof WeakMap=="function"&&WeakMap.prototype,X=Gi?WeakMap.prototype.has:null,Li=typeof WeakSet=="function"&&WeakSet.prototype,Q=Li?WeakSet.prototype.has:null,ki=typeof WeakRef=="function"&&WeakRef.prototype,Qt=ki?WeakRef.prototype.deref:null,zi=Boolean.prototype.valueOf,Hi=Object.prototype.toString,Ki=Function.prototype.toString,Ji=String.prototype.match,ee=String.prototype.slice,F=String.prototype.replace,ji=String.prototype.toUpperCase,Vt=String.prototype.toLowerCase,fn=RegExp.prototype.test,Zt=Array.prototype.concat,$=Array.prototype.join,Yi=Array.prototype.slice,rn=Math.floor,jr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Kr=Object.getOwnPropertySymbols,Yr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,G=typeof Symbol=="function"&&typeof Symbol.iterator=="object",S=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===G||!0)?Symbol.toStringTag:null,ln=Object.prototype.propertyIsEnumerable,en=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function tn(e,r){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||fn.call(/e/,r))return r;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-rn(-e):rn(e);if(n!==e){var o=String(n),i=ee.call(r,o.length+1);return F.call(o,t,"$&_")+"."+F.call(F.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return F.call(r,t,"$&_")}var Xr=jt(),nn=Xr.custom,on=pn(nn)?nn:null;vn.exports=function e(r,t,n,o){var i=t||{};if(I(i,"quoteStyle")&&i.quoteStyle!=="single"&&i.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(I(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 f=I(i,"customInspect")?i.customInspect:!0;if(typeof f!="boolean"&&f!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(I(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(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=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 yn(r,i);if(typeof r=="number"){if(r===0)return 1/0/r>0?"0":"-0";var u=String(r);return l?tn(r,u):u}if(typeof r=="bigint"){var v=String(r)+"n";return l?tn(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 Qr(r)?"[Array]":"[Object]";var c=ya(i,n);if(typeof o=="undefined")o=[];else if(cn(o,r)>=0)return"[Circular]";function s(N,er,Wo){if(er&&(o=Yi.call(o),o.push(er)),Wo){var Pe={depth:i.depth};return I(i,"quoteStyle")&&(Pe.quoteStyle=i.quoteStyle),e(N,Pe,n+1,o)}return e(N,i,n+1,o)}if(typeof r=="function"&&!an(r)){var m=oa(r),A=yr(r,s);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(A.length>0?" { "+$.call(A,", ")+" }":"")}if(pn(r)){var g=G?F.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):Yr.call(r);return typeof r=="object"&&!G?Y(g):g}if(sa(r)){for(var b="<"+Vt.call(String(r.nodeName)),w=r.attributes||[],x=0;x<w.length;x++)b+=" "+w[x].name+"="+sn(Xi(w[x].value),"double",i);return b+=">",r.childNodes&&r.childNodes.length&&(b+="..."),b+="</"+Vt.call(String(r.nodeName))+">",b}if(Qr(r)){if(r.length===0)return"[]";var R=yr(r,s);return c&&!ca(R)?"["+Vr(R,c)+"]":"[ "+$.call(R,", ")+" ]"}if(Vi(r)){var z=yr(r,s);return!("cause"in Error.prototype)&&"cause"in r&&!ln.call(r,"cause")?"{ ["+String(r)+"] "+$.call(Zt.call("[cause]: "+s(r.cause),z),", ")+" }":z.length===0?"["+String(r)+"]":"{ ["+String(r)+"] "+$.call(z,", ")+" }"}if(typeof r=="object"&&f){if(on&&typeof r[on]=="function"&&Xr)return Xr(r,{depth:y-n});if(f!=="symbol"&&typeof r.inspect=="function")return r.inspect()}if(ia(r)){var rr=[];return Yt&&Yt.call(r,function(N,er){rr.push(s(er,r,!0)+" => "+s(N,r))}),un("Map",vr.call(r),rr,c)}if(fa(r)){var qe=[];return Xt&&Xt.call(r,function(N){qe.push(s(N,r))}),un("Set",gr.call(r),qe,c)}if(aa(r))return Jr("WeakMap");if(la(r))return Jr("WeakSet");if(ua(r))return Jr("WeakRef");if(ra(r))return Y(s(Number(r)));if(ta(r))return Y(s(jr.call(r)));if(ea(r))return Y(zi.call(r));if(Zi(r))return Y(s(String(r)));if(typeof window!="undefined"&&r===window)return"{ [object Window] }";if(r===global)return"{ [object globalThis] }";if(!Qi(r)&&!an(r)){var xr=yr(r,s),$e=en?en(r)===Object.prototype:r instanceof Object||r.constructor===Object,Pr=r instanceof Object?"":"null prototype",xe=!$e&&S&&Object(r)===r&&S in r?ee.call(T(r),8,-1):Pr?"Object":"",Mo=$e||typeof r.constructor!="function"?"":r.constructor.name?r.constructor.name+" ":"",Er=Mo+(xe||Pr?"["+$.call(Zt.call([],xe||[],Pr||[]),": ")+"] ":"");return xr.length===0?Er+"{}":c?Er+"{"+Vr(xr,c)+"}":Er+"{ "+$.call(xr,", ")+" }"}return String(r)};function sn(e,r,t){var n=(t.quoteStyle||r)==="double"?'"':"'";return n+e+n}function Xi(e){return F.call(String(e),/"/g,"&quot;")}function Qr(e){return T(e)==="[object Array]"&&(!S||!(typeof e=="object"&&S in e))}function Qi(e){return T(e)==="[object Date]"&&(!S||!(typeof e=="object"&&S in e))}function an(e){return T(e)==="[object RegExp]"&&(!S||!(typeof e=="object"&&S in e))}function Vi(e){return T(e)==="[object Error]"&&(!S||!(typeof e=="object"&&S in e))}function Zi(e){return T(e)==="[object String]"&&(!S||!(typeof e=="object"&&S in e))}function ra(e){return T(e)==="[object Number]"&&(!S||!(typeof e=="object"&&S in e))}function ea(e){return T(e)==="[object Boolean]"&&(!S||!(typeof e=="object"&&S in e))}function pn(e){if(G)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Yr)return!1;try{return Yr.call(e),!0}catch(r){}return!1}function ta(e){if(!e||typeof e!="object"||!jr)return!1;try{return jr.call(e),!0}catch(r){}return!1}var na=Object.prototype.hasOwnProperty||function(e){return e in this};function I(e,r){return na.call(e,r)}function T(e){return Hi.call(e)}function oa(e){if(e.name)return e.name;var r=Ji.call(Ki.call(e),/^function\s*([\w$]+)/);return r?r[1]:null}function cn(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 ia(e){if(!vr||!e||typeof e!="object")return!1;try{vr.call(e);try{gr.call(e)}catch(r){return!0}return e instanceof Map}catch(r){}return!1}function aa(e){if(!X||!e||typeof e!="object")return!1;try{X.call(e,X);try{Q.call(e,Q)}catch(r){return!0}return e instanceof WeakMap}catch(r){}return!1}function ua(e){if(!Qt||!e||typeof e!="object")return!1;try{return Qt.call(e),!0}catch(r){}return!1}function fa(e){if(!gr||!e||typeof e!="object")return!1;try{gr.call(e);try{vr.call(e)}catch(r){return!0}return e instanceof Set}catch(r){}return!1}function la(e){if(!Q||!e||typeof e!="object")return!1;try{Q.call(e,Q);try{X.call(e,X)}catch(r){return!0}return e instanceof WeakSet}catch(r){}return!1}function sa(e){return!e||typeof e!="object"?!1:typeof HTMLElement!="undefined"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function yn(e,r){if(e.length>r.maxStringLength){var t=e.length-r.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return yn(ee.call(e,0,r.maxStringLength),r)+n}var o=F.call(F.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,pa);return sn(o,"single",r)}function pa(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":"")+ji.call(r.toString(16))}function Y(e){return"Object("+e+")"}function Jr(e){return e+" { ? }"}function un(e,r,t,n){var o=n?Vr(t,n):$.call(t,", ");return e+" ("+r+") {"+o+"}"}function ca(e){for(var r=0;r<e.length;r++)if(cn(e[r],`
2
- `)>=0)return!1;return!0}function ya(e,r){var t;if(e.indent===" ")t=" ";else if(typeof e.indent=="number"&&e.indent>0)t=$.call(Array(e.indent+1)," ");else return null;return{base:t,prev:$.call(Array(r+1),t)}}function Vr(e,r){if(e.length===0)return"";var t=`
3
- `+r.prev+r.base;return t+$.call(e,","+t)+`
4
- `+r.prev}function yr(e,r){var t=Qr(e),n=[];if(t){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=I(e,o)?r(e[o],e):""}var i=typeof Kr=="function"?Kr(e):[],f;if(G){f={};for(var l=0;l<i.length;l++)f["$"+i[l]]=i[l]}for(var u in e)I(e,u)&&(t&&String(Number(u))===u&&u<e.length||G&&f["$"+u]instanceof Symbol||(fn.call(/[^\w$]/,u)?n.push(r(u,e)+": "+r(e[u],e)):n.push(u+": "+r(e[u],e))));if(typeof Kr=="function")for(var v=0;v<i.length;v++)ln.call(e,i[v])&&n.push("["+r(i[v])+"]: "+r(e[i[v]],e));return n}});var hr=a((Df,gn)=>{"use strict";gn.exports=function(r){return typeof r=="string"||typeof r=="symbol"}});var dn=a((Bf,hn)=>{"use strict";var va=d(),ga=V(),ha=hr();hn.exports=function(r,t){if(!ha(t))throw new va("Assertion failed: IsPropertyKey(P) is not true, got "+ga(t));return r[t]}});var An=a((Nf,bn)=>{"use strict";var mn=Function.prototype.toString,L=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ne,dr;if(typeof L=="function"&&typeof Object.defineProperty=="function")try{ne=Object.defineProperty({},"length",{get:function(){throw dr}}),dr={},L(function(){throw 42},null,ne)}catch(e){e!==dr&&(L=null)}else L=null;var da=/^\s*class\b/,oe=function(r){try{var t=mn.call(r);return da.test(t)}catch(n){return!1}},te=function(r){try{return oe(r)?!1:(mn.call(r),!0)}catch(t){return!1}},Sr=Object.prototype.toString,Sa="[object Object]",ma="[object Function]",ba="[object GeneratorFunction]",Aa="[object HTMLAllCollection]",wa="[object HTML document.all class]",Oa="[object HTMLCollection]",qa=typeof Symbol=="function"&&!!Symbol.toStringTag,$a=!(0 in[,]),ie=function(){return!1};typeof document=="object"&&(Sn=document.all,Sr.call(Sn)===Sr.call(document.all)&&(ie=function(r){if(($a||!r)&&(typeof r=="undefined"||typeof r=="object"))try{var t=Sr.call(r);return(t===Aa||t===wa||t===Oa||t===Sa)&&r("")==null}catch(n){}return!1}));var Sn;bn.exports=L?function(r){if(ie(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;try{L(r,null,ne)}catch(t){if(t!==dr)return!1}return!oe(r)&&te(r)}:function(r){if(ie(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;if(qa)return te(r);if(oe(r))return!1;var t=Sr.call(r);return t!==ma&&t!==ba&&!/^\[object HTML/.test(t)?!1:te(r)}});var ae=a((_f,wn)=>{"use strict";wn.exports=An()});var xn=a((Mf,$n)=>{"use strict";var On=d(),xa=dn(),Pa=ae(),Ea=hr(),qn=V();$n.exports=function(r,t){if(!Ea(t))throw new On("Assertion failed: IsPropertyKey(P) is not true");var n=xa(r,t);if(n!=null){if(!Pa(n))throw new On(qn(t)+" is not a function: "+qn(n));return n}}});var En=a((Wf,Pn)=>{"use strict";var Ia=Fr();Pn.exports=function(){return Ia()&&!!Symbol.toStringTag}});var se=a((Cf,Rn)=>{"use strict";var ue=q(),In=En()(),Fn,Tn,fe,le;In&&(Fn=ue("Object.prototype.hasOwnProperty"),Tn=ue("RegExp.prototype.exec"),fe={},mr=function(){throw fe},le={toString:mr,valueOf:mr},typeof Symbol.toPrimitive=="symbol"&&(le[Symbol.toPrimitive]=mr));var mr,Fa=ue("Object.prototype.toString"),Ta=Object.getOwnPropertyDescriptor,Ra="[object RegExp]";Rn.exports=In?function(r){if(!r||typeof r!="object")return!1;var t=Ta(r,"lastIndex"),n=t&&Fn(t,"value");if(!n)return!1;try{Tn(r,le)}catch(o){return o===fe}}:function(r){return!r||typeof r!="object"&&typeof r!="function"?!1:Fa(r)===Ra}});var pe=a((Uf,Dn)=>{"use strict";var Da=q(),Ba=se(),Na=Da("RegExp.prototype.exec"),_a=d();Dn.exports=function(r){if(!Ba(r))throw new _a("`regex` must be a RegExp");return function(n){return Na(r,n)!==null}}});var Nn=a((Gf,Bn)=>{"use strict";Bn.exports=function(r,t){for(var n=0;n<r.length;n+=1)if(!t(r[n],n,r))return!1;return!0}});var Mn=a((Lf,_n)=>{"use strict";_n.exports=function(r){if(r===null)return"Null";if(typeof r=="undefined")return"Undefined";if(typeof r=="function"||typeof r=="object")return"Object";if(typeof r=="number")return"Number";if(typeof r=="boolean")return"Boolean";if(typeof r=="string")return"String"}});var ce=a((kf,Wn)=>{"use strict";var Ma=Mn();Wn.exports=function(r){return typeof r=="symbol"?"Symbol":typeof r=="bigint"?"BigInt":Ma(r)}});var Gn=a((zf,Un)=>{"use strict";var Cn=d(),Wa=V(),Ca=hr(),Ua=ce();Un.exports=function(r,t){if(Ua(r)!=="Object")throw new Cn("Assertion failed: Type(O) is not Object");if(!Ca(t))throw new Cn("Assertion failed: IsPropertyKey(P) is not true, got "+Wa(t));return r[t]}});var kn=a((Hf,Ln)=>{"use strict";var Ga=O();Ln.exports=Ga("%Math.min%")});var ye=a((Kf,zn)=>{"use strict";zn.exports=Number.isNaN||function(r){return r!==r}});var Kn=a((Jf,Hn)=>{"use strict";var La=ye();Hn.exports=function(e){return(typeof e=="number"||typeof e=="bigint")&&!La(e)&&e!==1/0&&e!==-1/0}});var br=a((jf,jn)=>{"use strict";var Jn=O(),ka=Jn("%Math.abs%"),za=Jn("%Math.floor%"),Ha=ye(),Ka=Kn();jn.exports=function(r){if(typeof r!="number"||Ha(r)||!Ka(r))return!1;var t=ka(r);return za(t)===t}});var ge=a((Yf,Yn)=>{"use strict";var Ja=q(),ve=d(),ja=br(),Ya=Ja("String.prototype.slice");Yn.exports=function(r,t,n){if(typeof r!="string")throw new ve("Assertion failed: `string` must be a String");if(typeof t!="string")throw new ve("Assertion failed: `searchValue` must be a String");if(!ja(n)||n<0)throw new ve("Assertion failed: `fromIndex` must be a non-negative integer");var o=r.length;if(t===""&&n<=o)return n;for(var i=t.length,f=n;f<=o-i;f+=1){var l=Ya(r,f,f+i);if(l===t)return f}return-1}});var Ar=a((Xf,Xn)=>{"use strict";var Xa=d();Xn.exports=function(r){if(r==null)throw new Xa(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r}});var wr=a((Qf,Qn)=>{"use strict";var Qa=O(),Va=Qa("%String%"),Za=d();Qn.exports=function(r){if(typeof r=="symbol")throw new Za("Cannot convert a Symbol value to a string");return Va(r)}});var he=a((Vf,ro)=>{"use strict";var ru=Ar(),eu=wr(),tu=q(),Vn=tu("String.prototype.replace"),Zn=/^\s$/.test("\u180E"),nu=Zn?/^[\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]+/,ou=Zn?/[\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]+$/;ro.exports=function(){var r=eu(ru(this));return Vn(Vn(r,nu,""),ou,"")}});var de=a((Zf,to)=>{"use strict";var iu=he(),eo="\u200B",k="\u180E";to.exports=function(){return String.prototype.trim&&eo.trim()===eo&&k.trim()===k&&("_"+k).trim()==="_"+k&&(k+"_").trim()===k+"_"?String.prototype.trim:iu}});var oo=a((rl,no)=>{"use strict";var au=j(),uu=de();no.exports=function(){var r=uu();return au(String.prototype,{trim:r},{trim:function(){return String.prototype.trim!==r}}),r}});var fo=a((el,uo)=>{"use strict";var fu=sr(),lu=j(),su=Ar(),pu=he(),io=de(),cu=oo(),yu=fu(io()),ao=function(r){return su(r),yu(r)};lu(ao,{getPolyfill:io,implementation:pu,shim:cu});uo.exports=ao});var co=a((tl,po)=>{"use strict";var me=O(),Se=me("%Number%"),vu=me("%RegExp%"),gu=d(),lo=me("%parseInt%"),hu=q(),Or=pe(),so=hu("String.prototype.slice"),du=Or(/^0b[01]+$/i),Su=Or(/^0o[0-7]+$/i),mu=Or(/^[-+]0x[0-9a-f]+$/i),bu=["\x85","\u200B","\uFFFE"].join(""),Au=new vu("["+bu+"]","g"),wu=Or(Au),Ou=fo();po.exports=function e(r){if(typeof r!="string")throw new gu("Assertion failed: `argument` is not a String");if(du(r))return Se(lo(so(r,2),2));if(Su(r))return Se(lo(so(r,2),8));if(wu(r)||mu(r))return NaN;var t=Ou(r);return t!==r?e(t):Se(r)}});var go=a((nl,vo)=>{"use strict";var qu=d(),yo=br(),$u=q(),xu=$u("String.prototype.slice");vo.exports=function(r,t,n){if(typeof r!="string"||!yo(t)||arguments.length>2&&!yo(n))throw new qu("`S` must be a String, and `inclusiveStart` and `exclusiveEnd` must be integers");return xu(r,t,arguments.length>2?n:r.length)}});var So=a((ol,ho)=>{"use strict";ho.exports=function(r){return typeof r=="string"||typeof r=="undefined"}});var bo=a((il,mo)=>{"use strict";var Pu=q()("String.prototype.slice");mo.exports=function(r,t){return r===t?!0:r.length>t.length?!1:Pu(t,0,r.length)===r}});var $o=a((al,qo)=>{"use strict";var P=d(),Oo=pe(),Eu=Nn(),be=V(),Iu=Gn(),Fu=kr(),Tu=kn(),Ru=ge(),Ao=co(),E=go(),Du=wr(),wo=ce(),Bu=br(),Nu=So(),Z=bo(),_u=Oo(/^\$[0-9]/),Mu=Oo(/^\$[0-9][0-9]/);qo.exports=function(r,t,n,o,i,f){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(!Bu(n)||n<0)throw new P("Assertion failed: `position` must be a nonnegative integer, got "+be(n));if(!Fu(o)||!Eu(o,Nu))throw new P("Assertion failed: `captures` must be a possibly-empty List of Strings or `undefined`, got "+be(o));if(typeof i!="undefined"&&wo(i)!=="Object")throw new P("Assertion failed: `namedCaptures` must be `undefined` or an Object");if(typeof f!="string")throw new P("Assertion failed: `replacementTemplate` must be a String");var l=t.length;if(n>l)throw new P("Assertion failed: position > stringLength, got "+be(n));for(var u=f,v="";u!=="";){var y,c,s;if(Z("$$",u))y="$$",c="$";else if(Z("$`",u))y="$`",c=E(t,0,n);else if(Z("$&",u))y="$&",c=r;else if(Z("$'",u)){y="$'";var m=r.length,A=n+m;c=E(t,Tu(A,l))}else if(_u(u)){var g=Mu(u)?2:1,b=E(u,1,1+g),w=Ao(b);if(w<0||w>99)throw new P("Assertion failed: `index` must be >= 0 and <= 99");var x=o.length;w>x&&g===2&&(g=1,b=E(b,0,1),w=Ao(b)),y=E(u,0,1+g),1<=w&&w<=x?(s=o[w-1],typeof s=="undefined"?c="":c=s):c=y}else if(Z("$<",u)){var R=Ru(u,">",0);if(R===-1||typeof i=="undefined")y="$<",c=y;else{y=E(u,0,R+1);var z=E(u,2,R);if(wo(i)!=="Object")throw new P("Assertion failed: Type(namedCaptures) is not Object");s=Iu(i,z),typeof s=="undefined"?c="":c=Du(s)}}else y=E(u,0,1),c=y;var rr=y.length;u=E(u,rr),v+=c}return v}});var we=a((ul,Io)=>{"use strict";var xo=Kt(),Wu=xn(),Cu=$o(),Uu=ae(),Gu=Ar(),qr=wr(),Po=ge(),Lu=O(),$r=q(),ku=Tr()(),zu=se(),Hu=Lu("%Math.max%"),Eo=d(),Ku=$r("Array.prototype.push"),Ae=$r("String.prototype.slice"),Ju=$r("String.prototype.indexOf"),ju=$r("String.prototype.replace");Io.exports=function(r,t){var n=Gu(this),o=zu(r);if(o&&Ju(Ae(r,r.source.length+2),"g")===-1)throw new Eo("use .replace for a non-global regex. NOTE: this may be allowed in the future.");if(ku&&Symbol.replace){if(r!=null){var i=Wu(r,Symbol.replace);if(typeof i!="undefined")return xo(i,r,[n,t])}}else if(o)return ju(n,r,t);var f=qr(n),l=qr(r),u=Uu(t);u||(t=qr(t));for(var v=l.length,y=Hu(1,v),c=[],s=Po(f,l,0);s!==-1;)Ku(c,s),s=Po(f,l,s+y);for(var m=0,A="",g=0;g<c.length;g+=1){var b;if(u)b=qr(xo(t,void 0,[l,c[g],f]));else{if(typeof t!="string")throw new Eo("Assertion failed: `replaceValue` should be a string at this point");var w=[];b=Cu(l,f,c[g],w,void 0,t)}var x=Ae(f,m,c[g]);A+=x+b,m=c[g]+v}return m<f.length&&(A+=Ae(f,m)),A}});var Oe=a((fl,Fo)=>{"use strict";var Yu=we();Fo.exports=function(){return String.prototype.replaceAll||Yu}});var Ro=a((ll,To)=>{"use strict";var Xu=j(),Qu=Oe();To.exports=function(){var r=Qu();return Xu(String.prototype,{replaceAll:r},{replaceAll:function(){return String.prototype.replaceAll!==r}}),r}});var _o=a((sl,No)=>{"use strict";var Vu=sr(),Zu=j(),Do=we(),rf=Oe(),ef=Ro(),Bo=Vu(Do);Zu(Bo,{getPolyfill:rf,implementation:Do,shim:ef});No.exports=Bo});var pl=Uo(_o(),1);export{Go as DynamicSnippetsGenerator};
1
+ import{a as Nn}from"./chunk-4PKXKUYU.js";import"./chunk-KJOW5AZT.js";import"./chunk-COBOWL3P.js";import"./chunk-ZYGZ4VN4.js";import"./chunk-UVYC4FWB.js";import"./chunk-IQODEXPX.js";import"./chunk-ZQRLKIRW.js";import"./chunk-BC35GX6S.js";import"./chunk-VAYOWHUI.js";import"./chunk-5XUC5IOB.js";import{c as M,f as i,h as Gn}from"./chunk-6JCPJA27.js";var Yr=i(($a,zr)=>{"use strict";var Un="Function.prototype.bind called on incompatible ",_n=Object.prototype.toString,Cn=Math.max,Mn="[object Function]",Jr=function(r,e){for(var t=[],o=0;o<r.length;o+=1)t[o]=r[o];for(var a=0;a<e.length;a+=1)t[a+r.length]=e[a];return t},Wn=function(r,e){for(var t=[],o=e||0,a=0;o<r.length;o+=1,a+=1)t[a]=r[o];return t},kn=function(n,r){for(var e="",t=0;t<n.length;t+=1)e+=n[t],t+1<n.length&&(e+=r);return e};zr.exports=function(r){var e=this;if(typeof e!="function"||_n.apply(e)!==Mn)throw new TypeError(Un+e);for(var t=Wn(arguments,1),o,a=function(){if(this instanceof o){var l=e.apply(this,Jr(t,arguments));return Object(l)===l?l:this}return e.apply(r,Jr(t,arguments))},u=Cn(0,e.length-t.length),f=[],s=0;s<u;s++)f[s]="$"+s;if(o=Function("binder","return function ("+kn(f,",")+"){ return binder.apply(this,arguments); }")(a),e.prototype){var g=function(){};g.prototype=e.prototype,o.prototype=new g,g.prototype=null}return o}});var W=i((Oa,Xr)=>{"use strict";var Ln=Yr();Xr.exports=Function.prototype.bind||Ln});var Zr=i((Ia,Qr)=>{"use strict";Qr.exports=Error});var re=i((Ea,Vr)=>{"use strict";Vr.exports=EvalError});var te=i((Fa,ee)=>{"use strict";ee.exports=RangeError});var oe=i((ja,ne)=>{"use strict";ne.exports=ReferenceError});var fr=i((Ta,ie)=>{"use strict";ie.exports=SyntaxError});var b=i((Ra,ae)=>{"use strict";ae.exports=TypeError});var se=i((Ba,ue)=>{"use strict";ue.exports=URIError});var lr=i((Da,pe)=>{"use strict";pe.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},e=Symbol("test"),t=Object(e);if(typeof e=="string"||Object.prototype.toString.call(e)!=="[object Symbol]"||Object.prototype.toString.call(t)!=="[object Symbol]")return!1;var o=42;r[e]=o;for(e 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 a=Object.getOwnPropertySymbols(r);if(a.length!==1||a[0]!==e||!Object.prototype.propertyIsEnumerable.call(r,e))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(r,e);if(u.value!==o||u.enumerable!==!0)return!1}return!0}});var yr=i((Ga,le)=>{"use strict";var fe=typeof Symbol!="undefined"&&Symbol,Kn=lr();le.exports=function(){return typeof fe!="function"||typeof Symbol!="function"||typeof fe("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Kn()}});var ce=i((Na,ye)=>{"use strict";var cr={__proto__:null,foo:{}},Hn=Object;ye.exports=function(){return{__proto__:cr}.foo===cr.foo&&!(cr instanceof Hn)}});var ge=i((Ua,ve)=>{"use strict";var Jn=Function.prototype.call,zn=Object.prototype.hasOwnProperty,Yn=W();ve.exports=Yn.call(Jn,zn)});var h=i((_a,Se)=>{"use strict";var p,Xn=Zr(),Qn=re(),Zn=te(),Vn=oe(),j=fr(),F=b(),ro=se(),me=Function,vr=function(n){try{return me('"use strict"; return ('+n+").constructor;")()}catch(r){}},$=Object.getOwnPropertyDescriptor;if($)try{$({},"")}catch(n){$=null}var gr=function(){throw new F},eo=$?function(){try{return arguments.callee,gr}catch(n){try{return $(arguments,"callee").get}catch(r){return gr}}}():gr,I=yr()(),to=ce()(),v=Object.getPrototypeOf||(to?function(n){return n.__proto__}:null),E={},no=typeof Uint8Array=="undefined"||!v?p:v(Uint8Array),O={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?p:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?p:ArrayBuffer,"%ArrayIteratorPrototype%":I&&v?v([][Symbol.iterator]()):p,"%AsyncFromSyncIteratorPrototype%":p,"%AsyncFunction%":E,"%AsyncGenerator%":E,"%AsyncGeneratorFunction%":E,"%AsyncIteratorPrototype%":E,"%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%":Xn,"%eval%":eval,"%EvalError%":Qn,"%Float32Array%":typeof Float32Array=="undefined"?p:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?p:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?p:FinalizationRegistry,"%Function%":me,"%GeneratorFunction%":E,"%Int8Array%":typeof Int8Array=="undefined"?p:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?p:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?p:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":I&&v?v(v([][Symbol.iterator]())):p,"%JSON%":typeof JSON=="object"?JSON:p,"%Map%":typeof Map=="undefined"?p:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!I||!v?p:v(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?p:Promise,"%Proxy%":typeof Proxy=="undefined"?p:Proxy,"%RangeError%":Zn,"%ReferenceError%":Vn,"%Reflect%":typeof Reflect=="undefined"?p:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?p:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!I||!v?p:v(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?p:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":I&&v?v(""[Symbol.iterator]()):p,"%Symbol%":I?Symbol:p,"%SyntaxError%":j,"%ThrowTypeError%":eo,"%TypedArray%":no,"%TypeError%":F,"%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%":ro,"%WeakMap%":typeof WeakMap=="undefined"?p:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?p:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?p:WeakSet};if(v)try{null.error}catch(n){be=v(v(n)),O["%Error.prototype%"]=be}var be,oo=function n(r){var e;if(r==="%AsyncFunction%")e=vr("async function () {}");else if(r==="%GeneratorFunction%")e=vr("function* () {}");else if(r==="%AsyncGeneratorFunction%")e=vr("async function* () {}");else if(r==="%AsyncGenerator%"){var t=n("%AsyncGeneratorFunction%");t&&(e=t.prototype)}else if(r==="%AsyncIteratorPrototype%"){var o=n("%AsyncGenerator%");o&&v&&(e=v(o.prototype))}return O[r]=e,e},de={__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"]},D=W(),k=ge(),io=D.call(Function.call,Array.prototype.concat),ao=D.call(Function.apply,Array.prototype.splice),he=D.call(Function.call,String.prototype.replace),L=D.call(Function.call,String.prototype.slice),uo=D.call(Function.call,RegExp.prototype.exec),so=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,po=/\\(\\)?/g,fo=function(r){var e=L(r,0,1),t=L(r,-1);if(e==="%"&&t!=="%")throw new j("invalid intrinsic syntax, expected closing `%`");if(t==="%"&&e!=="%")throw new j("invalid intrinsic syntax, expected opening `%`");var o=[];return he(r,so,function(a,u,f,s){o[o.length]=f?he(s,po,"$1"):u||a}),o},lo=function(r,e){var t=r,o;if(k(de,t)&&(o=de[t],t="%"+o[0]+"%"),k(O,t)){var a=O[t];if(a===E&&(a=oo(t)),typeof a=="undefined"&&!e)throw new F("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:o,name:t,value:a}}throw new j("intrinsic "+r+" does not exist!")};Se.exports=function(r,e){if(typeof r!="string"||r.length===0)throw new F("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof e!="boolean")throw new F('"allowMissing" argument must be a boolean');if(uo(/^%?[^%]*%?$/,r)===null)throw new j("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=fo(r),o=t.length>0?t[0]:"",a=lo("%"+o+"%",e),u=a.name,f=a.value,s=!1,g=a.alias;g&&(o=g[0],ao(t,io([0,1],g)));for(var l=1,y=!0;l<t.length;l+=1){var c=t[l],m=L(c,0,1),A=L(c,-1);if((m==='"'||m==="'"||m==="`"||A==='"'||A==="'"||A==="`")&&m!==A)throw new j("property names with quotes must have matching quotes");if((c==="constructor"||!y)&&(s=!0),o+="."+c,u="%"+o+"%",k(O,u))f=O[u];else if(f!=null){if(!(c in f)){if(!e)throw new F("base intrinsic for "+r+" exists, but the property is not available.");return}if($&&l+1>=t.length){var d=$(f,c);y=!!d,y&&"get"in d&&!("originalValue"in d.get)?f=d.get:f=f[c]}else y=k(f,c),f=f[c];y&&!s&&(O[u]=f)}}return f}});var H=i((Ca,Ae)=>{"use strict";var yo=h(),K=yo("%Object.defineProperty%",!0)||!1;if(K)try{K({},"a",{value:1})}catch(n){K=!1}Ae.exports=K});var br=i((Ma,we)=>{"use strict";var co=h(),J=co("%Object.getOwnPropertyDescriptor%",!0);if(J)try{J([],"length")}catch(n){J=null}we.exports=J});var dr=i((Wa,Pe)=>{"use strict";var qe=H(),vo=fr(),T=b(),xe=br();Pe.exports=function(r,e,t){if(!r||typeof r!="object"&&typeof r!="function")throw new T("`obj` must be an object or a function`");if(typeof e!="string"&&typeof e!="symbol")throw new T("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new T("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new T("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new T("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new T("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,s=!!xe&&xe(r,e);if(qe)qe(r,e,{configurable:u===null&&s?s.configurable:!u,enumerable:o===null&&s?s.enumerable:!o,value:t,writable:a===null&&s?s.writable:!a});else if(f||!o&&!a&&!u)r[e]=t;else throw new vo("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var mr=i((ka,Oe)=>{"use strict";var hr=H(),$e=function(){return!!hr};$e.hasArrayLengthDefineBug=function(){if(!hr)return null;try{return hr([],"length",{value:1}).length!==1}catch(r){return!0}};Oe.exports=$e});var Te=i((La,je)=>{"use strict";var go=h(),Ie=dr(),bo=mr()(),Ee=br(),Fe=b(),ho=go("%Math.floor%");je.exports=function(r,e){if(typeof r!="function")throw new Fe("`fn` is not a function");if(typeof e!="number"||e<0||e>4294967295||ho(e)!==e)throw new Fe("`length` must be a positive 32-bit integer");var t=arguments.length>2&&!!arguments[2],o=!0,a=!0;if("length"in r&&Ee){var u=Ee(r,"length");u&&!u.configurable&&(o=!1),u&&!u.writable&&(a=!1)}return(o||a||!t)&&(bo?Ie(r,"length",e,!0,!0):Ie(r,"length",e)),r}});var X=i((Ka,z)=>{"use strict";var Sr=W(),Y=h(),mo=Te(),So=b(),De=Y("%Function.prototype.apply%"),Ge=Y("%Function.prototype.call%"),Ne=Y("%Reflect.apply%",!0)||Sr.call(Ge,De),Re=H(),Ao=Y("%Math.max%");z.exports=function(r){if(typeof r!="function")throw new So("a function is required");var e=Ne(Sr,Ge,arguments);return mo(e,1+Ao(0,r.length-(arguments.length-1)),!0)};var Be=function(){return Ne(Sr,De,arguments)};Re?Re(z.exports,"apply",{value:Be}):z.exports.apply=Be});var Ar=i((Ha,_e)=>{"use strict";var Ue=Object.prototype.toString;_e.exports=function(r){var e=Ue.call(r),t=e==="[object Arguments]";return t||(t=e!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&Ue.call(r.callee)==="[object Function]"),t}});var ze=i((Ja,Je)=>{"use strict";var He;Object.keys||(G=Object.prototype.hasOwnProperty,wr=Object.prototype.toString,Ce=Ar(),qr=Object.prototype.propertyIsEnumerable,Me=!qr.call({toString:null},"toString"),We=qr.call(function(){},"prototype"),N=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Q=function(n){var r=n.constructor;return r&&r.prototype===n},ke={$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},Le=function(){if(typeof window=="undefined")return!1;for(var n in window)try{if(!ke["$"+n]&&G.call(window,n)&&window[n]!==null&&typeof window[n]=="object")try{Q(window[n])}catch(r){return!0}}catch(r){return!0}return!1}(),Ke=function(n){if(typeof window=="undefined"||!Le)return Q(n);try{return Q(n)}catch(r){return!1}},He=function(r){var e=r!==null&&typeof r=="object",t=wr.call(r)==="[object Function]",o=Ce(r),a=e&&wr.call(r)==="[object String]",u=[];if(!e&&!t&&!o)throw new TypeError("Object.keys called on a non-object");var f=We&&t;if(a&&r.length>0&&!G.call(r,0))for(var s=0;s<r.length;++s)u.push(String(s));if(o&&r.length>0)for(var g=0;g<r.length;++g)u.push(String(g));else for(var l in r)!(f&&l==="prototype")&&G.call(r,l)&&u.push(String(l));if(Me)for(var y=Ke(r),c=0;c<N.length;++c)!(y&&N[c]==="constructor")&&G.call(r,N[c])&&u.push(N[c]);return u});var G,wr,Ce,qr,Me,We,N,Q,ke,Le,Ke;Je.exports=He});var Ze=i((za,Qe)=>{"use strict";var wo=Array.prototype.slice,qo=Ar(),Ye=Object.keys,Z=Ye?function(r){return Ye(r)}:ze(),Xe=Object.keys;Z.shim=function(){if(Object.keys){var r=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);r||(Object.keys=function(t){return qo(t)?Xe(wo.call(t)):Xe(t)})}else Object.keys=Z;return Object.keys||Z};Qe.exports=Z});var U=i((Ya,tt)=>{"use strict";var xo=Ze(),Po=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",$o=Object.prototype.toString,Oo=Array.prototype.concat,Ve=dr(),Io=function(n){return typeof n=="function"&&$o.call(n)==="[object Function]"},rt=mr()(),Eo=function(n,r,e,t){if(r in n){if(t===!0){if(n[r]===e)return}else if(!Io(t)||!t())return}rt?Ve(n,r,e,!0):Ve(n,r,e)},et=function(n,r){var e=arguments.length>2?arguments[2]:{},t=xo(r);Po&&(t=Oo.call(t,Object.getOwnPropertySymbols(r)));for(var o=0;o<t.length;o+=1)Eo(n,t[o],r[t[o]],e[t[o]])};et.supportsDescriptors=!!rt;tt.exports=et});var S=i((Xa,it)=>{"use strict";var nt=h(),ot=X(),Fo=ot(nt("String.prototype.indexOf"));it.exports=function(r,e){var t=nt(r,!!e);return typeof t=="function"&&Fo(r,".prototype.")>-1?ot(t):t}});var st=i((Qa,ut)=>{"use strict";var jo=h(),at=jo("%Array%"),To=!at.isArray&&S()("Object.prototype.toString");ut.exports=at.isArray||function(r){return To(r)==="[object Array]"}});var xr=i((Za,pt)=>{"use strict";pt.exports=st()});var lt=i((Va,ft)=>{"use strict";var Ro=h(),Bo=S(),Do=b(),Go=xr(),No=Ro("%Reflect.apply%",!0)||Bo("Function.prototype.apply");ft.exports=function(r,e){var t=arguments.length>2?arguments[2]:[];if(!Go(t))throw new Do("Assertion failed: optional `argumentsList`, if provided, must be a List");return No(r,e,t)}});var V=i((ru,yt)=>{"use strict";yt.exports=function(r){return typeof r=="string"||typeof r=="symbol"}});var vt=i((eu,ct)=>{"use strict";var Uo=b(),_o=M("object-inspect"),Co=V();ct.exports=function(r,e){if(!Co(e))throw new Uo("Assertion failed: IsPropertyKey(P) is not true, got "+_o(e));return r[e]}});var ht=i((tu,dt)=>{"use strict";var bt=Function.prototype.toString,R=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,$r,rr;if(typeof R=="function"&&typeof Object.defineProperty=="function")try{$r=Object.defineProperty({},"length",{get:function(){throw rr}}),rr={},R(function(){throw 42},null,$r)}catch(n){n!==rr&&(R=null)}else R=null;var Mo=/^\s*class\b/,Or=function(r){try{var e=bt.call(r);return Mo.test(e)}catch(t){return!1}},Pr=function(r){try{return Or(r)?!1:(bt.call(r),!0)}catch(e){return!1}},er=Object.prototype.toString,Wo="[object Object]",ko="[object Function]",Lo="[object GeneratorFunction]",Ko="[object HTMLAllCollection]",Ho="[object HTML document.all class]",Jo="[object HTMLCollection]",zo=typeof Symbol=="function"&&!!Symbol.toStringTag,Yo=!(0 in[,]),Ir=function(){return!1};typeof document=="object"&&(gt=document.all,er.call(gt)===er.call(document.all)&&(Ir=function(r){if((Yo||!r)&&(typeof r=="undefined"||typeof r=="object"))try{var e=er.call(r);return(e===Ko||e===Ho||e===Jo||e===Wo)&&r("")==null}catch(t){}return!1}));var gt;dt.exports=R?function(r){if(Ir(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;try{R(r,null,$r)}catch(e){if(e!==rr)return!1}return!Or(r)&&Pr(r)}:function(r){if(Ir(r))return!0;if(!r||typeof r!="function"&&typeof r!="object")return!1;if(zo)return Pr(r);if(Or(r))return!1;var e=er.call(r);return e!==ko&&e!==Lo&&!/^\[object HTML/.test(e)?!1:Pr(r)}});var Er=i((nu,mt)=>{"use strict";mt.exports=ht()});var qt=i((ou,wt)=>{"use strict";var St=b(),Xo=vt(),Qo=Er(),Zo=V(),At=M("object-inspect");wt.exports=function(r,e){if(!Zo(e))throw new St("Assertion failed: IsPropertyKey(P) is not true");var t=Xo(r,e);if(t!=null){if(!Qo(t))throw new St(At(e)+" is not a function: "+At(t));return t}}});var Pt=i((iu,xt)=>{"use strict";var Vo=lr();xt.exports=function(){return Vo()&&!!Symbol.toStringTag}});var Rr=i((au,Et)=>{"use strict";var Fr=S(),$t=Pt()(),Ot,It,jr,Tr;$t&&(Ot=Fr("Object.prototype.hasOwnProperty"),It=Fr("RegExp.prototype.exec"),jr={},tr=function(){throw jr},Tr={toString:tr,valueOf:tr},typeof Symbol.toPrimitive=="symbol"&&(Tr[Symbol.toPrimitive]=tr));var tr,ri=Fr("Object.prototype.toString"),ei=Object.getOwnPropertyDescriptor,ti="[object RegExp]";Et.exports=$t?function(r){if(!r||typeof r!="object")return!1;var e=ei(r,"lastIndex"),t=e&&Ot(e,"value");if(!t)return!1;try{It(r,Tr)}catch(o){return o===jr}}:function(r){return!r||typeof r!="object"&&typeof r!="function"?!1:ri(r)===ti}});var Br=i((uu,Ft)=>{"use strict";var ni=S(),oi=Rr(),ii=ni("RegExp.prototype.exec"),ai=b();Ft.exports=function(r){if(!oi(r))throw new ai("`regex` must be a RegExp");return function(t){return ii(r,t)!==null}}});var Tt=i((su,jt)=>{"use strict";jt.exports=function(r,e){for(var t=0;t<r.length;t+=1)if(!e(r[t],t,r))return!1;return!0}});var Bt=i((pu,Rt)=>{"use strict";Rt.exports=function(r){if(r===null)return"Null";if(typeof r=="undefined")return"Undefined";if(typeof r=="function"||typeof r=="object")return"Object";if(typeof r=="number")return"Number";if(typeof r=="boolean")return"Boolean";if(typeof r=="string")return"String"}});var Dr=i((fu,Dt)=>{"use strict";var ui=Bt();Dt.exports=function(r){return typeof r=="symbol"?"Symbol":typeof r=="bigint"?"BigInt":ui(r)}});var Ut=i((lu,Nt)=>{"use strict";var Gt=b(),si=M("object-inspect"),pi=V(),fi=Dr();Nt.exports=function(r,e){if(fi(r)!=="Object")throw new Gt("Assertion failed: Type(O) is not Object");if(!pi(e))throw new Gt("Assertion failed: IsPropertyKey(P) is not true, got "+si(e));return r[e]}});var Ct=i((yu,_t)=>{"use strict";var li=h();_t.exports=li("%Math.min%")});var Gr=i((cu,Mt)=>{"use strict";Mt.exports=Number.isNaN||function(r){return r!==r}});var kt=i((vu,Wt)=>{"use strict";var yi=Gr();Wt.exports=function(n){return(typeof n=="number"||typeof n=="bigint")&&!yi(n)&&n!==1/0&&n!==-1/0}});var nr=i((gu,Kt)=>{"use strict";var Lt=h(),ci=Lt("%Math.abs%"),vi=Lt("%Math.floor%"),gi=Gr(),bi=kt();Kt.exports=function(r){if(typeof r!="number"||gi(r)||!bi(r))return!1;var e=ci(r);return vi(e)===e}});var Ur=i((bu,Ht)=>{"use strict";var di=S(),Nr=b(),hi=nr(),mi=di("String.prototype.slice");Ht.exports=function(r,e,t){if(typeof r!="string")throw new Nr("Assertion failed: `string` must be a String");if(typeof e!="string")throw new Nr("Assertion failed: `searchValue` must be a String");if(!hi(t)||t<0)throw new Nr("Assertion failed: `fromIndex` must be a non-negative integer");var o=r.length;if(e===""&&t<=o)return t;for(var a=e.length,u=t;u<=o-a;u+=1){var f=mi(r,u,u+a);if(f===e)return u}return-1}});var or=i((du,Jt)=>{"use strict";var Si=b();Jt.exports=function(r){if(r==null)throw new Si(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r}});var ir=i((hu,zt)=>{"use strict";var Ai=h(),wi=Ai("%String%"),qi=b();zt.exports=function(r){if(typeof r=="symbol")throw new qi("Cannot convert a Symbol value to a string");return wi(r)}});var _r=i((mu,Qt)=>{"use strict";var xi=or(),Pi=ir(),$i=S(),Yt=$i("String.prototype.replace"),Xt=/^\s$/.test("\u180E"),Oi=Xt?/^[\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]+/,Ii=Xt?/[\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]+$/;Qt.exports=function(){var r=Pi(xi(this));return Yt(Yt(r,Oi,""),Ii,"")}});var Cr=i((Su,Vt)=>{"use strict";var Ei=_r(),Zt="\u200B",B="\u180E";Vt.exports=function(){return String.prototype.trim&&Zt.trim()===Zt&&B.trim()===B&&("_"+B).trim()==="_"+B&&(B+"_").trim()===B+"_"?String.prototype.trim:Ei}});var en=i((Au,rn)=>{"use strict";var Fi=U(),ji=Cr();rn.exports=function(){var r=ji();return Fi(String.prototype,{trim:r},{trim:function(){return String.prototype.trim!==r}}),r}});var an=i((wu,on)=>{"use strict";var Ti=X(),Ri=U(),Bi=or(),Di=_r(),tn=Cr(),Gi=en(),Ni=Ti(tn()),nn=function(r){return Bi(r),Ni(r)};Ri(nn,{getPolyfill:tn,implementation:Di,shim:Gi});on.exports=nn});var fn=i((qu,pn)=>{"use strict";var Wr=h(),Mr=Wr("%Number%"),Ui=Wr("%RegExp%"),_i=b(),un=Wr("%parseInt%"),Ci=S(),ar=Br(),sn=Ci("String.prototype.slice"),Mi=ar(/^0b[01]+$/i),Wi=ar(/^0o[0-7]+$/i),ki=ar(/^[-+]0x[0-9a-f]+$/i),Li=["\x85","\u200B","\uFFFE"].join(""),Ki=new Ui("["+Li+"]","g"),Hi=ar(Ki),Ji=an();pn.exports=function n(r){if(typeof r!="string")throw new _i("Assertion failed: `argument` is not a String");if(Mi(r))return Mr(un(sn(r,2),2));if(Wi(r))return Mr(un(sn(r,2),8));if(Hi(r)||ki(r))return NaN;var e=Ji(r);return e!==r?n(e):Mr(r)}});var cn=i((xu,yn)=>{"use strict";var zi=b(),ln=nr(),Yi=S(),Xi=Yi("String.prototype.slice");yn.exports=function(r,e,t){if(typeof r!="string"||!ln(e)||arguments.length>2&&!ln(t))throw new zi("`S` must be a String, and `inclusiveStart` and `exclusiveEnd` must be integers");return Xi(r,e,arguments.length>2?t:r.length)}});var gn=i((Pu,vn)=>{"use strict";vn.exports=function(r){return typeof r=="string"||typeof r=="undefined"}});var dn=i(($u,bn)=>{"use strict";var Qi=S()("String.prototype.slice");bn.exports=function(r,e){return r===e?!0:r.length>e.length?!1:Qi(e,0,r.length)===r}});var wn=i((Ou,An)=>{"use strict";var q=b(),Sn=Br(),Zi=Tt(),kr=M("object-inspect"),Vi=Ut(),ra=xr(),ea=Ct(),ta=Ur(),hn=fn(),x=cn(),na=ir(),mn=Dr(),oa=nr(),ia=gn(),_=dn(),aa=Sn(/^\$[0-9]/),ua=Sn(/^\$[0-9][0-9]/);An.exports=function(r,e,t,o,a,u){if(typeof r!="string")throw new q("Assertion failed: `matched` must be a String");if(typeof e!="string")throw new q("Assertion failed: `str` must be a String");if(!oa(t)||t<0)throw new q("Assertion failed: `position` must be a nonnegative integer, got "+kr(t));if(!ra(o)||!Zi(o,ia))throw new q("Assertion failed: `captures` must be a possibly-empty List of Strings or `undefined`, got "+kr(o));if(typeof a!="undefined"&&mn(a)!=="Object")throw new q("Assertion failed: `namedCaptures` must be `undefined` or an Object");if(typeof u!="string")throw new q("Assertion failed: `replacementTemplate` must be a String");var f=e.length;if(t>f)throw new q("Assertion failed: position > stringLength, got "+kr(t));for(var s=u,g="";s!=="";){var l,y,c;if(_("$$",s))l="$$",y="$";else if(_("$`",s))l="$`",y=x(e,0,t);else if(_("$&",s))l="$&",y=r;else if(_("$'",s)){l="$'";var m=r.length,A=t+m;y=x(e,ea(A,f))}else if(aa(s)){var d=ua(s)?2:1,P=x(s,1,1+d),w=hn(P);if(w<0||w>99)throw new q("Assertion failed: `index` must be >= 0 and <= 99");var C=o.length;w>C&&d===2&&(d=1,P=x(P,0,1),w=hn(P)),l=x(s,0,1+d),1<=w&&w<=C?(c=o[w-1],typeof c=="undefined"?y="":y=c):y=l}else if(_("$<",s)){var pr=ta(s,">",0);if(pr===-1||typeof a=="undefined")l="$<",y=l;else{l=x(s,0,pr+1);var Bn=x(s,2,pr);if(mn(a)!=="Object")throw new q("Assertion failed: Type(namedCaptures) is not Object");c=Vi(a,Bn),typeof c=="undefined"?y="":y=na(c)}}else l=x(s,0,1),y=l;var Dn=l.length;s=x(s,Dn),g+=y}return g}});var Kr=i((Iu,$n)=>{"use strict";var qn=lt(),sa=qt(),pa=wn(),fa=Er(),la=or(),ur=ir(),xn=Ur(),ya=h(),sr=S(),ca=yr()(),va=Rr(),ga=ya("%Math.max%"),Pn=b(),ba=sr("Array.prototype.push"),Lr=sr("String.prototype.slice"),da=sr("String.prototype.indexOf"),ha=sr("String.prototype.replace");$n.exports=function(r,e){var t=la(this),o=va(r);if(o&&da(Lr(r,r.source.length+2),"g")===-1)throw new Pn("use .replace for a non-global regex. NOTE: this may be allowed in the future.");if(ca&&Symbol.replace){if(r!=null){var a=sa(r,Symbol.replace);if(typeof a!="undefined")return qn(a,r,[t,e])}}else if(o)return ha(t,r,e);var u=ur(t),f=ur(r),s=fa(e);s||(e=ur(e));for(var g=f.length,l=ga(1,g),y=[],c=xn(u,f,0);c!==-1;)ba(y,c),c=xn(u,f,c+l);for(var m=0,A="",d=0;d<y.length;d+=1){var P;if(s)P=ur(qn(e,void 0,[f,y[d],u]));else{if(typeof e!="string")throw new Pn("Assertion failed: `replaceValue` should be a string at this point");var w=[];P=pa(f,u,y[d],w,void 0,e)}var C=Lr(u,m,y[d]);A+=C+P,m=y[d]+g}return m<u.length&&(A+=Lr(u,m)),A}});var Hr=i((Eu,On)=>{"use strict";var ma=Kr();On.exports=function(){return String.prototype.replaceAll||ma}});var En=i((Fu,In)=>{"use strict";var Sa=U(),Aa=Hr();In.exports=function(){var r=Aa();return Sa(String.prototype,{replaceAll:r},{replaceAll:function(){return String.prototype.replaceAll!==r}}),r}});var Rn=i((ju,Tn)=>{"use strict";var wa=X(),qa=U(),Fn=Kr(),xa=Hr(),Pa=En(),jn=wa(Fn);qa(jn,{getPolyfill:xa,implementation:Fn,shim:Pa});Tn.exports=jn});var Tu=Gn(Rn(),1);export{Nn as DynamicSnippetsGenerator};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fern-api/go-dynamic-snippets",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",
@@ -23,5 +23,8 @@
23
23
  "files": [
24
24
  "cjs",
25
25
  "esm"
26
- ]
27
- }
26
+ ],
27
+ "dependencies": {
28
+ "object-inspect": "1.13.1"
29
+ }
30
+ }