@fern-api/csharp-dynamic-snippets 2.59.4 → 2.59.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.
package/dist/index.js CHANGED
@@ -1,36 +1,36 @@
1
- import{b as F,c as m,d as n,e as p,f as s,g as a}from"./chunk-ZB4XIDVL.js";n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var bl=typeof global=="object"&&global&&global.Object===Object&&global,su=bl;var xl=typeof self=="object"&&self&&self.Object===Object&&self,Sl=su||xl||Function("return this")(),au=Sl;var Tl=au.Symbol,ve=Tl;n();a();s();var ou=Object.prototype,Al=ou.hasOwnProperty,Il=ou.toString,Yr=ve?ve.toStringTag:void 0;function El(e){var t=Al.call(e,Yr),r=e[Yr];try{e[Yr]=void 0;var i=!0}catch{}var o=Il.call(e);return i&&(t?e[Yr]=r:delete e[Yr]),o}var uu=El;n();a();s();var wl=Object.prototype,Nl=wl.toString;function Rl(e){return Nl.call(e)}var cu=Rl;var Ol="[object Null]",Pl="[object Undefined]",pu=ve?ve.toStringTag:void 0;function Cl(e){return e==null?e===void 0?Pl:Ol:pu&&pu in Object(e)?uu(e):cu(e)}var lu=Cl;n();a();s();function _l(e){return e!=null&&typeof e=="object"}var fu=_l;var kl="[object Symbol]";function Fl(e){return typeof e=="symbol"||fu(e)&&lu(e)==kl}var mu=Fl;n();a();s();n();a();s();function Ll(e,t){for(var r=-1,i=e==null?0:e.length,o=Array(i);++r<i;)o[r]=t(e[r],r,e);return o}var du=Ll;n();a();s();var jl=Array.isArray,hu=jl;var Dl=1/0,yu=ve?ve.prototype:void 0,gu=yu?yu.toString:void 0;function bu(e){if(typeof e=="string")return e;if(hu(e))return du(e,bu)+"";if(mu(e))return gu?gu.call(e):"";var t=e+"";return t=="0"&&1/e==-Dl?"-0":t}var xu=bu;n();a();s();function Ul(e){return e==null?"":xu(e)}var Ye=Ul;n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();function Bl(e,t,r){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var c=Array(o);++i<o;)c[i]=e[i+t];return c}var Su=Bl;function Ml(e,t,r){var i=e.length;return r=r===void 0?i:r,!t&&r>=i?e:Su(e,t,r)}var Tu=Ml;n();a();s();var Vl="\\ud800-\\udfff",vl="\\u0300-\\u036f",zl="\\ufe20-\\ufe2f",ql="\\u20d0-\\u20ff",Gl=vl+zl+ql,Wl="\\ufe0e\\ufe0f",$l="\\u200d",Hl=RegExp("["+$l+Vl+Gl+Wl+"]");function Jl(e){return Hl.test(e)}var Zi=Jl;n();a();s();n();a();s();function Kl(e){return e.split("")}var Au=Kl;n();a();s();var Iu="\\ud800-\\udfff",Ql="\\u0300-\\u036f",Yl="\\ufe20-\\ufe2f",Xl="\\u20d0-\\u20ff",Zl=Ql+Yl+Xl,ef="\\ufe0e\\ufe0f",tf="["+Iu+"]",Ba="["+Zl+"]",Ma="\\ud83c[\\udffb-\\udfff]",rf="(?:"+Ba+"|"+Ma+")",Eu="[^"+Iu+"]",wu="(?:\\ud83c[\\udde6-\\uddff]){2}",Nu="[\\ud800-\\udbff][\\udc00-\\udfff]",nf="\\u200d",Ru=rf+"?",Ou="["+ef+"]?",sf="(?:"+nf+"(?:"+[Eu,wu,Nu].join("|")+")"+Ou+Ru+")*",af=Ou+Ru+sf,of="(?:"+[Eu+Ba+"?",Ba,wu,Nu,tf].join("|")+")",uf=RegExp(Ma+"(?="+Ma+")|"+of+af,"g");function cf(e){return e.match(uf)||[]}var Pu=cf;function pf(e){return Zi(e)?Pu(e):Au(e)}var Cu=pf;function lf(e){return function(t){t=Ye(t);var r=Zi(t)?Cu(t):void 0,i=r?r[0]:t.charAt(0),o=r?Tu(r,1).join(""):t.slice(1);return i[e]()+o}}var _u=lf;var ff=_u("toUpperCase"),xe=ff;function mf(e){return xe(Ye(e).toLowerCase())}var ku=mf;n();a();s();n();a();s();function df(e,t,r,i){var o=-1,c=e==null?0:e.length;for(i&&c&&(r=e[++o]);++o<c;)r=t(r,e[o],o,e);return r}var Fu=df;n();a();s();n();a();s();n();a();s();function hf(e){return function(t){return e?.[t]}}var Lu=hf;var yf={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},gf=Lu(yf),ju=gf;var bf=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xf="\\u0300-\\u036f",Sf="\\ufe20-\\ufe2f",Tf="\\u20d0-\\u20ff",Af=xf+Sf+Tf,If="["+Af+"]",Ef=RegExp(If,"g");function wf(e){return e=Ye(e),e&&e.replace(bf,ju).replace(Ef,"")}var Du=wf;n();a();s();n();a();s();var Nf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Rf(e){return e.match(Nf)||[]}var Uu=Rf;n();a();s();var Of=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Pf(e){return Of.test(e)}var Bu=Pf;n();a();s();var qu="\\ud800-\\udfff",Cf="\\u0300-\\u036f",_f="\\ufe20-\\ufe2f",kf="\\u20d0-\\u20ff",Ff=Cf+_f+kf,Gu="\\u2700-\\u27bf",Wu="a-z\\xdf-\\xf6\\xf8-\\xff",Lf="\\xac\\xb1\\xd7\\xf7",jf="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Df="\\u2000-\\u206f",Uf=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",$u="A-Z\\xc0-\\xd6\\xd8-\\xde",Bf="\\ufe0e\\ufe0f",Hu=Lf+jf+Df+Uf,Ju="['\u2019]",Mu="["+Hu+"]",Mf="["+Ff+"]",Ku="\\d+",Vf="["+Gu+"]",Qu="["+Wu+"]",Yu="[^"+qu+Hu+Ku+Gu+Wu+$u+"]",vf="\\ud83c[\\udffb-\\udfff]",zf="(?:"+Mf+"|"+vf+")",qf="[^"+qu+"]",Xu="(?:\\ud83c[\\udde6-\\uddff]){2}",Zu="[\\ud800-\\udbff][\\udc00-\\udfff]",Ft="["+$u+"]",Gf="\\u200d",Vu="(?:"+Qu+"|"+Yu+")",Wf="(?:"+Ft+"|"+Yu+")",vu="(?:"+Ju+"(?:d|ll|m|re|s|t|ve))?",zu="(?:"+Ju+"(?:D|LL|M|RE|S|T|VE))?",ec=zf+"?",tc="["+Bf+"]?",$f="(?:"+Gf+"(?:"+[qf,Xu,Zu].join("|")+")"+tc+ec+")*",Hf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Jf="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Kf=tc+ec+$f,Qf="(?:"+[Vf,Xu,Zu].join("|")+")"+Kf,Yf=RegExp([Ft+"?"+Qu+"+"+vu+"(?="+[Mu,Ft,"$"].join("|")+")",Wf+"+"+zu+"(?="+[Mu,Ft+Vu,"$"].join("|")+")",Ft+"?"+Vu+"+"+vu,Ft+"+"+zu,Jf,Hf,Ku,Qf].join("|"),"g");function Xf(e){return e.match(Yf)||[]}var rc=Xf;function Zf(e,t,r){return e=Ye(e),t=r?void 0:t,t===void 0?Bu(e)?rc(e):Uu(e):e.match(t)||[]}var Xr=Zf;var em="['\u2019]",tm=RegExp(em,"g");function rm(e){return function(t){return Fu(Xr(Du(t).replace(tm,"")),e,"")}}var en=rm;var im=en(function(e,t,r){return t=t.toLowerCase(),e+(r?ku(t):t)}),Lt=im;n();a();s();var nm=en(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}),tn=nm;n();a();s();function Q(e){throw new Error("Unexpected value: "+JSON.stringify(e))}n();a();s();function Zr(e){return Object.keys(e)}n();a();s();n();a();s();n();a();s();var ei=p.env.FERN_STACK_TRACK?.toLowerCase()??"",Se=ei!==""&&ei!=="0"&&ei!=="false",Va=["single","multiline","box"].includes(ei)?ei:"single";Se&&(Error.stackTraceLimit=50);var ic=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),sm=new Set(["stacktrace"]);function va(e){Se&&ic.add(e)}function ti({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:i=[],stopOn:o=[],filterNode:c=!0,filterJs:d=!0,formatFilename:y=g=>g}={}){if(!Se)return[];i=[...i,...ic],r=[...r,...sm],o=[...o,"runInteractiveTask"];let g=!1;return(new Error().stack??"").split(`
1
+ import{b as k,c as m,d as n,e as p,f as s,g as a}from"./chunk-ZB4XIDVL.js";n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var El=typeof global=="object"&&global&&global.Object===Object&&global,cu=El;var wl=typeof self=="object"&&self&&self.Object===Object&&self,Nl=cu||wl||Function("return this")(),pu=Nl;var Rl=pu.Symbol,ze=Rl;n();a();s();var lu=Object.prototype,Ol=lu.hasOwnProperty,Pl=lu.toString,Yr=ze?ze.toStringTag:void 0;function Cl(e){var t=Ol.call(e,Yr),r=e[Yr];try{e[Yr]=void 0;var i=!0}catch{}var o=Pl.call(e);return i&&(t?e[Yr]=r:delete e[Yr]),o}var fu=Cl;n();a();s();var _l=Object.prototype,kl=_l.toString;function Fl(e){return kl.call(e)}var mu=Fl;var Ll="[object Null]",jl="[object Undefined]",du=ze?ze.toStringTag:void 0;function Dl(e){return e==null?e===void 0?jl:Ll:du&&du in Object(e)?fu(e):mu(e)}var hu=Dl;n();a();s();function Ul(e){return e!=null&&typeof e=="object"}var yu=Ul;var Bl="[object Symbol]";function Ml(e){return typeof e=="symbol"||yu(e)&&hu(e)==Bl}var gu=Ml;n();a();s();n();a();s();function Vl(e,t){for(var r=-1,i=e==null?0:e.length,o=Array(i);++r<i;)o[r]=t(e[r],r,e);return o}var bu=Vl;n();a();s();var vl=Array.isArray,xu=vl;var zl=1/0,Su=ze?ze.prototype:void 0,Tu=Su?Su.toString:void 0;function Au(e){if(typeof e=="string")return e;if(xu(e))return bu(e,Au)+"";if(gu(e))return Tu?Tu.call(e):"";var t=e+"";return t=="0"&&1/e==-zl?"-0":t}var Iu=Au;n();a();s();function ql(e){return e==null?"":Iu(e)}var Xe=ql;n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();function Gl(e,t,r){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var c=Array(o);++i<o;)c[i]=e[i+t];return c}var Eu=Gl;function Wl(e,t,r){var i=e.length;return r=r===void 0?i:r,!t&&r>=i?e:Eu(e,t,r)}var wu=Wl;n();a();s();var $l="\\ud800-\\udfff",Hl="\\u0300-\\u036f",Jl="\\ufe20-\\ufe2f",Kl="\\u20d0-\\u20ff",Ql=Hl+Jl+Kl,Yl="\\ufe0e\\ufe0f",Xl="\\u200d",Zl=RegExp("["+Xl+$l+Ql+Yl+"]");function ef(e){return Zl.test(e)}var Zi=ef;n();a();s();n();a();s();function tf(e){return e.split("")}var Nu=tf;n();a();s();var Ru="\\ud800-\\udfff",rf="\\u0300-\\u036f",nf="\\ufe20-\\ufe2f",sf="\\u20d0-\\u20ff",af=rf+nf+sf,of="\\ufe0e\\ufe0f",uf="["+Ru+"]",va="["+af+"]",za="\\ud83c[\\udffb-\\udfff]",cf="(?:"+va+"|"+za+")",Ou="[^"+Ru+"]",Pu="(?:\\ud83c[\\udde6-\\uddff]){2}",Cu="[\\ud800-\\udbff][\\udc00-\\udfff]",pf="\\u200d",_u=cf+"?",ku="["+of+"]?",lf="(?:"+pf+"(?:"+[Ou,Pu,Cu].join("|")+")"+ku+_u+")*",ff=ku+_u+lf,mf="(?:"+[Ou+va+"?",va,Pu,Cu,uf].join("|")+")",df=RegExp(za+"(?="+za+")|"+mf+ff,"g");function hf(e){return e.match(df)||[]}var Fu=hf;function yf(e){return Zi(e)?Fu(e):Nu(e)}var Lu=yf;function gf(e){return function(t){t=Xe(t);var r=Zi(t)?Lu(t):void 0,i=r?r[0]:t.charAt(0),o=r?wu(r,1).join(""):t.slice(1);return i[e]()+o}}var ju=gf;var bf=ju("toUpperCase"),xe=bf;function xf(e){return xe(Xe(e).toLowerCase())}var Du=xf;n();a();s();n();a();s();function Sf(e,t,r,i){var o=-1,c=e==null?0:e.length;for(i&&c&&(r=e[++o]);++o<c;)r=t(r,e[o],o,e);return r}var Uu=Sf;n();a();s();n();a();s();n();a();s();function Tf(e){return function(t){return e?.[t]}}var Bu=Tf;var Af={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},If=Bu(Af),Mu=If;var Ef=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,wf="\\u0300-\\u036f",Nf="\\ufe20-\\ufe2f",Rf="\\u20d0-\\u20ff",Of=wf+Nf+Rf,Pf="["+Of+"]",Cf=RegExp(Pf,"g");function _f(e){return e=Xe(e),e&&e.replace(Ef,Mu).replace(Cf,"")}var Vu=_f;n();a();s();n();a();s();var kf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Ff(e){return e.match(kf)||[]}var vu=Ff;n();a();s();var Lf=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function jf(e){return Lf.test(e)}var zu=jf;n();a();s();var Hu="\\ud800-\\udfff",Df="\\u0300-\\u036f",Uf="\\ufe20-\\ufe2f",Bf="\\u20d0-\\u20ff",Mf=Df+Uf+Bf,Ju="\\u2700-\\u27bf",Ku="a-z\\xdf-\\xf6\\xf8-\\xff",Vf="\\xac\\xb1\\xd7\\xf7",vf="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",zf="\\u2000-\\u206f",qf=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Qu="A-Z\\xc0-\\xd6\\xd8-\\xde",Gf="\\ufe0e\\ufe0f",Yu=Vf+vf+zf+qf,Xu="['\u2019]",qu="["+Yu+"]",Wf="["+Mf+"]",Zu="\\d+",$f="["+Ju+"]",ec="["+Ku+"]",tc="[^"+Hu+Yu+Zu+Ju+Ku+Qu+"]",Hf="\\ud83c[\\udffb-\\udfff]",Jf="(?:"+Wf+"|"+Hf+")",Kf="[^"+Hu+"]",rc="(?:\\ud83c[\\udde6-\\uddff]){2}",ic="[\\ud800-\\udbff][\\udc00-\\udfff]",jt="["+Qu+"]",Qf="\\u200d",Gu="(?:"+ec+"|"+tc+")",Yf="(?:"+jt+"|"+tc+")",Wu="(?:"+Xu+"(?:d|ll|m|re|s|t|ve))?",$u="(?:"+Xu+"(?:D|LL|M|RE|S|T|VE))?",nc=Jf+"?",sc="["+Gf+"]?",Xf="(?:"+Qf+"(?:"+[Kf,rc,ic].join("|")+")"+sc+nc+")*",Zf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",em="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",tm=sc+nc+Xf,rm="(?:"+[$f,rc,ic].join("|")+")"+tm,im=RegExp([jt+"?"+ec+"+"+Wu+"(?="+[qu,jt,"$"].join("|")+")",Yf+"+"+$u+"(?="+[qu,jt+Gu,"$"].join("|")+")",jt+"?"+Gu+"+"+Wu,jt+"+"+$u,em,Zf,Zu,rm].join("|"),"g");function nm(e){return e.match(im)||[]}var ac=nm;function sm(e,t,r){return e=Xe(e),t=r?void 0:t,t===void 0?zu(e)?ac(e):vu(e):e.match(t)||[]}var Xr=sm;var am="['\u2019]",om=RegExp(am,"g");function um(e){return function(t){return Uu(Xr(Vu(t).replace(om,"")),e,"")}}var en=um;var cm=en(function(e,t,r){return t=t.toLowerCase(),e+(r?Du(t):t)}),Dt=cm;n();a();s();var pm=en(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}),tn=pm;n();a();s();function Q(e){throw new Error("Unexpected value: "+JSON.stringify(e))}n();a();s();function Zr(e){return Object.keys(e)}n();a();s();n();a();s();n();a();s();var ei=p.env.FERN_STACK_TRACK?.toLowerCase()??"",Se=ei!==""&&ei!=="0"&&ei!=="false",qa=["single","multiline","box"].includes(ei)?ei:"single";Se&&(Error.stackTraceLimit=50);var oc=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),lm=new Set(["stacktrace"]);function Ga(e){Se&&oc.add(e)}function ti({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:i=[],stopOn:o=[],filterNode:c=!0,filterJs:d=!0,formatFilename:y=g=>g}={}){if(!Se)return[];i=[...i,...oc],r=[...r,...lm],o=[...o,"runInteractiveTask"];let g=!1;return(new Error().stack??"").split(`
2
2
  `).map(x=>{let S=x.match(/at\s+(.*)\s+\((.*):(\d+):(\d+)\)/);if(S&&S.length===5){let[,A,O,w,V]=S;if(!A||!O||!w||!V)return;if(g||o.some(G=>A?.includes(G))){g=!0;return}switch(A){case"Object.<anonymous>":A="";break;case"Object.object":case"Object.alias":case"Object.union":case"Object.enum":case"Object.undiscriminatedUnion":A=`${A.substring(A.indexOf(".")+1)}()=> { ... }`;break}return{fn:A,path:y(O),position:`${w}:${V}`}}}).filter(x=>x&&!i.some(S=>x.fn.includes(S))&&!(c&&x.path?.startsWith("node:"))&&!(d&&x.path?.endsWith(".js"))&&!r.some(S=>x.path.includes(S))).slice(t,t+e)}function ri({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:i=[],stopOn:o=["runInteractiveTask"],filterNode:c=!0,filterJs:d=!0,multiline:y=!1,formatFilename:g=x=>x}={}){return Se?`${ti({maxFrames:e,skip:t,filterPaths:r,filterFunctions:i,stopOn:o,filterNode:c,filterJs:d,formatFilename:g}).map(x=>`${y?`
3
3
  `:" > "}${x.fn} - ${x.path}:${x.position}`).join("")}`:""}var rn=class{constructor({maxFrames:t=50,skip:r=0,filterPaths:i=[],filterFunctions:o=[],stopOn:c=[],filterNode:d=!0,filterJs:y=!0,multiline:g=!1,formatFilename:x=S=>S}={}){m(this,"maxFrames");m(this,"skip");m(this,"filterPaths");m(this,"filterFunctions");m(this,"stopOn");m(this,"filterNode");m(this,"filterJs");m(this,"multiline");m(this,"formatFilename");m(this,"tracking",new WeakMap);this.maxFrames=t,this.skip=r,this.filterPaths=i,this.filterFunctions=o,this.stopOn=c,this.filterNode=d,this.filterJs=y,this.multiline=g,this.formatFilename=x}tag(t){let r=this.tracking.get(t)||new Set;ti({maxFrames:this.maxFrames,skip:this.skip,filterPaths:this.filterPaths,filterFunctions:this.filterFunctions,stopOn:this.stopOn,filterNode:this.filterNode,filterJs:this.filterJs,formatFilename:this.formatFilename}).forEach(i=>r.add(i)),this.tracking.set(t,r)}trace(t){if(!Se)return"";let r=this.tracking.get(t);return r?[...r].map(i=>`${this.multiline?`
4
- `:""}${i.fn} - ${i.path}:${i.position}`).join(""):""}frames(t){let r=this.tracking.get(t);return r?[...r]:[]}free(t){this.tracking.delete(t)}clear(){this.tracking=new WeakMap}},za;function nc({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:i=[],stopOn:o=[],filterNode:c=!0,filterJs:d=!0,multiline:y=!1,formatFilename:g=x=>x}={}){Se&&(za??(za=new rn({maxFrames:e,skip:t,filterPaths:r,filterFunctions:i,stopOn:o,filterNode:c,filterJs:d,multiline:y,formatFilename:g})))}function sc(e){za?.tag(e)}function ii(e){return za?.frames(e)??[]}var ze=class{constructor(){sc(this)}};n();a();s();n();a();s();n();a();s();var ke=class extends ze{constructor(r){super();m(this,"value");this.value=r}write(r){typeof this.value=="string"?r.write(this.value):typeof this.value=="function"?this.value(r):this.value.write(r)}};var am=4;nc({skip:0,maxFrames:15,filterFunctions:["Abstract"]});var ni=class{constructor(){m(this,"lineBuffer",[]);m(this,"indentLevel",0);m(this,"hasWrittenAnything",!1);m(this,"lastCharacterIsSemicolon",!1);m(this,"lastCharacterIsNewline",!1);m(this,"nodeStackFrames",[])}get buffer(){return Se&&this.nodeStackFrames.length>0&&this.writeInternal(`
4
+ `:""}${i.fn} - ${i.path}:${i.position}`).join(""):""}frames(t){let r=this.tracking.get(t);return r?[...r]:[]}free(t){this.tracking.delete(t)}clear(){this.tracking=new WeakMap}},Wa;function uc({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:i=[],stopOn:o=[],filterNode:c=!0,filterJs:d=!0,multiline:y=!1,formatFilename:g=x=>x}={}){Se&&(Wa??(Wa=new rn({maxFrames:e,skip:t,filterPaths:r,filterFunctions:i,stopOn:o,filterNode:c,filterJs:d,multiline:y,formatFilename:g})))}function cc(e){Wa?.tag(e)}function ii(e){return Wa?.frames(e)??[]}var qe=class{constructor(){cc(this)}};n();a();s();n();a();s();n();a();s();var ke=class extends qe{constructor(r){super();m(this,"value");this.value=r}write(r){typeof this.value=="string"?r.write(this.value):typeof this.value=="function"?this.value(r):this.value.write(r)}};var fm=4;uc({skip:0,maxFrames:15,filterFunctions:["Abstract"]});var ni=class{constructor(){m(this,"lineBuffer",[]);m(this,"indentLevel",0);m(this,"hasWrittenAnything",!1);m(this,"lastCharacterIsSemicolon",!1);m(this,"lastCharacterIsNewline",!1);m(this,"nodeStackFrames",[])}get buffer(){return Se&&this.nodeStackFrames.length>0&&this.writeInternal(`
5
5
  `),this.lineBuffer.join(`
6
6
  `)+(this.lastCharacterIsNewline?`
7
7
  `:"")}write(...t){for(let r of t)if(r!=null)if(typeof r=="string"){let i=r.length>0&&r.endsWith(`
8
8
  `),o=i?r.substring(0,r.length-1):r,c=this.getIndentString(),d=o.replaceAll(`
9
9
  `,`
10
10
  ${c}`);this.isAtStartOfLine()&&(d=c+d),i&&(d+=`
11
- `),this.writeInternal(d)}else this.writeNode(r)}writeStatement(...t){this.write(...t),this.write(";"),this.writeNewLineIfLastLineNot()}writeNoIndent(t){let r=this.indentLevel;this.indentLevel=0,this.write(t),this.indentLevel=r}writeNode(t){Se&&this.nodeStackFrames.push(...ii(t)),t.write(this),Se&&Va!=="single"&&this.writeInternal(`
11
+ `),this.writeInternal(d)}else this.writeNode(r)}writeStatement(...t){this.write(...t),this.write(";"),this.writeNewLineIfLastLineNot()}writeNoIndent(t){let r=this.indentLevel;this.indentLevel=0,this.write(t),this.indentLevel=r}writeNode(t){Se&&this.nodeStackFrames.push(...ii(t)),t.write(this),Se&&qa!=="single"&&this.writeInternal(`
12
12
  `)}writeNodeOrString(t){if(typeof t=="string"){this.write(t);return}this.writeNode(t)}writeNodeStatement(t){this.writeNode(t),this.write(";"),this.writeNewLineIfLastLineNot()}writeTextStatement(t){new ke(t).write(this),t.endsWith(";")||this.write(";"),this.writeNewLineIfLastLineNot()}controlFlow(t,r){new ke(t).write(this),this.write(" (",r,")"),this.pushScope()}controlFlowWithoutStatement(t){new ke(t).write(this),this.pushScope()}endControlFlow(){this.popScope()}contiguousControlFlow(t,r){this.dedent(),this.write("} "),new ke(t).write(this),this.write(" (",r,")"),this.pushScope()}alternativeControlFlow(t){this.dedent(),this.write("} "),new ke(t).write(this),this.pushScope()}pushScope(){this.writeLine("{"),this.indent()}popScope(t=!0){this.dedent(),this.writeNewLineIfLastLineNot(),t?this.writeLine("}"):this.write("}")}writeLine(...t){this.write(...t.length===0?[""]:t),this.writeNewLineIfLastLineNot()}newLine(){this.writeInternal(`
13
13
  `)}writeSemicolonIfLastCharacterIsNot(){this.lastCharacterIsSemicolon||this.writeInternal(";")}writeNewLineIfLastLineNot(){this.lastCharacterIsNewline||this.writeInternal(`
14
14
  `)}indent(){this.indentLevel++}dedent(){this.indentLevel--}delimit({nodes:t,delimiter:r,writeFunction:i}){if(t.length>0){let o=t[0];o!=null&&i(o);for(let c=1;c<t.length;c++){this.write(r);let d=t[c];d!=null&&i(d)}}}toString(){return this.buffer}writeInternal(t){if(t.length===0)return;let r=!this.lastCharacterIsNewline;this.hasWrittenAnything=!0,this.lastCharacterIsNewline=t.endsWith(`
15
15
  `),this.lastCharacterIsSemicolon=t.endsWith(";");let i=t.split(`
16
- `),o=Se&&!this.shouldSkipTracking(i)&&this.lastCharacterIsNewline;r&&(this.lastLine=`${this.lastLine}${i.shift()||""}`),this.lastCharacterIsNewline&&i.pop(),this.lineBuffer.push(...i),o&&this.appendTrackingComment()}set lastLine(t){this.lineBuffer.length>0?this.lineBuffer[this.lineBuffer.length-1]=t:this.lineBuffer.push(t)}get lastLine(){return this.lineBuffer[this.lineBuffer.length-1]||""}shouldSkipTracking(t){return!1}formatStack(t,r=""){return t.map(i=>`${r?`(${r}) `:""} ${i.fn} - ${i.path} : ${i.position}`)}filterStack(t){return t.filter(r=>!r.fn.startsWith(`${this.constructor.name}.`))}appendTrackingComment(){let t=[...this.formatStack(this.filterStack(ti({maxFrames:15,skip:3}))),...this.formatStack(this.filterStack(this.nodeStackFrames),"node")];switch(this.nodeStackFrames.length=0,Va){case"single":return this.singleLineTrackingComment(t);case"multiline":return this.multiLineTrackingComment(t);case"box":return this.boxTrackingComment(t)}}singleLineTrackingComment(t){this.lastLine=`${this.lastLine} // ${t.join(" ")}`}multiLineTrackingComment(t){this.lineBuffer.push(...t.map(r=>` // ${r}`))}boxTrackingComment(t){this.lineBuffer.push("/*",...t.map(r=>` ${r}`),"*/")}isAtStartOfLine(){return this.lastCharacterIsNewline||!this.hasWrittenAnything}getIndentString(){return" ".repeat(this.indentLevel*this.getTabSize())}getTabSize(){return am}};n();a();s();function nn(e){return e?.name!=null&&e?.assignment!=null}function qa(e){return e.length>0&&e[0]!=null&&nn(e[0])}n();a();s();var si=class extends ze{constructor({condition:r,true_:i,false_:o}){super();m(this,"condition");m(this,"true_");m(this,"false_");this.condition=r,this.true_=i,this.false_=o}write(r){r.writeNode(this.condition),r.write(" ? "),r.writeNode(this.true_),r.write(" : "),r.writeNode(this.false_)}};n();a();s();n();a();s();n();a();s();var ai=class{constructor(){m(this,"reporter");m(this,"snippet");m(this,"err");this.snippet=void 0,this.reporter=void 0,this.err=void 0}update({context:t,snippet:r}){this.shouldUpdate({snippet:r,reporter:t.errors})&&(this.reporter=t.errors.clone(),this.snippet=r)}getResponseOrThrow({endpoint:t}){if(this.snippet!=null&&this.reporter!=null)return{snippet:this.snippet,errors:this.reporter.toDynamicSnippetErrors()};throw this.err??new Error(`Failed to generate snippet for endpoint "${t.method} ${t.path}"`)}shouldUpdate({snippet:t,reporter:r}){return this.reporter==null||this.reporter.size()>0&&r.size()===0?!0:t.length>(this.snippet?.length??0)}};var oi=class{constructor(t){m(this,"context");this.context=t}async generate(t,r={}){let i=this.resolveEndpoints({request:t,options:r});if(i.length===0)throw new Error(`No endpoints found that match "${t.endpoint.method} ${t.endpoint.path}"`);let o=new ai;for(let c of i){let d=this.context.clone(),y=this.createSnippetGenerator(d);try{let g=await y.generateSnippet({endpoint:c,request:t,options:r});if(d.errors.empty())return{snippet:g,errors:void 0};o.update({context:d,snippet:g})}catch(g){o.err==null&&(o.err=g)}}return o.getResponseOrThrow({endpoint:t.endpoint})}async generateSnippetAst(t,r={}){let i=this.resolveEndpoints({request:t,options:r});if(i.length===0)throw new Error(`No endpoints found that match "${t.endpoint.method} ${t.endpoint.path}"`);let o;for(let c of i){let d=this.context.clone(),y=this.createSnippetGenerator(d);try{return await y.generateSnippetAst({endpoint:c,request:t,options:r})}catch(g){o=g}}throw o??new Error(`Failed to generate snippet AST for endpoint: ${t.endpoint.method} ${t.endpoint.path}`)}generateSync(t,r={}){let i=this.resolveEndpoints({request:t,options:r});if(i.length===0)throw new Error(`No endpoints found that match "${t.endpoint.method} ${t.endpoint.path}"`);let o=new ai;for(let c of i){let d=this.context.clone(),y=this.createSnippetGenerator(d);try{let g=y.generateSnippetSync({endpoint:c,request:t,options:r});if(d.errors.empty())return{snippet:g,errors:void 0};o.update({context:d,snippet:g})}catch(g){o.err==null&&(o.err=g)}}return o.getResponseOrThrow({endpoint:t.endpoint})}resolveEndpoints({request:t,options:r}){if(r.endpointId!=null){let i=this.context.resolveEndpointById(r.endpointId);if(i==null)throw new Error(`No endpoint found with ID "${r.endpointId}"`);return[i]}return this.context.resolveEndpointLocationOrThrow(t.endpoint)}};n();a();s();n();a();s();n();a();s();var ui=class{constructor(){m(this,"REFERENCE_REGEX",/^(?:(\w+)::)?(GET|POST|PUT|DELETE|PATCH|HEAD)\s(\/\S*)$/)}validate(t){return this.REFERENCE_REGEX.test(t)?{type:"valid"}:{type:"invalid"}}tryParse(t){if(this.validate(t).type==="invalid")return;let i=t.match(this.REFERENCE_REGEX);if(!(i==null||i[2]==null||i[3]==null))return{namespace:i[1],method:i[2],path:i[3]}}};n();a();s();var v={Critical:"CRITICAL",Warning:"WARNING"},ci=class e{constructor(){m(this,"errors");m(this,"path");this.errors=[],this.path=[]}add(t){this.errors.push({...t,path:[...this.path]})}scope(t){this.path.push(t)}unscope(){this.path.pop()}getBySeverity(t){return this.errors.filter(r=>r.severity===t)}empty(){return this.errors.length===0}size(){return this.errors.length}truncate(t){this.errors.length=t}clone(){let t=new e;return t.errors=[...this.errors],t.path=[...this.path],t}reset(){this.errors=[],this.path=[]}toDynamicSnippetErrors(){return this.errors.map(t=>({severity:t.severity,path:t.path!=null?this.pathToStringArray(t.path):void 0,message:t.message}))}pathToStringArray(t){let r=[];for(let i of t){if(typeof i=="string"){r.push(i);continue}r[r.length-1]+=`[${i.index}]`}return r}};var pi=class{constructor({ir:t,config:r,options:i={}}){m(this,"config");m(this,"options");m(this,"errors");m(this,"_ir");m(this,"httpEndpointReferenceParser");this._ir=t,this.config=r,this.options=i,this.errors=new ci,this.httpEndpointReferenceParser=new ui}associateQueryParametersByWireValue({parameters:t,values:r}){let i=[];for(let[o,c]of Object.entries(r))if(c!==void 0){this.errors.scope(o);try{let d=t.find(g=>g.name.wireValue===o);if(d==null)throw this.newParameterNotRecognizedError(o);let y=this.isListTypeReference(d.typeReference)&&!Array.isArray(c)?[c]:c;i.push({name:d.name,typeReference:d.typeReference,value:y})}finally{this.errors.unscope()}}return i}associateByWireValueOrDefault({parameters:t,values:r}){let i=[];for(let o of t){this.errors.scope(o.name.wireValue);try{let c=r[o.name.wireValue];if(c==null)if(o.typeReference.type==="primitive"&&o.typeReference.value==="STRING")c=`<${o.name.wireValue}>`;else{this.errors.add({severity:v.Critical,message:this.newParameterNotRecognizedError(o.name.wireValue).message});continue}i.push({name:o.name,typeReference:o.typeReference,value:c})}finally{this.errors.unscope()}}return i}associateByWireValue({parameters:t,values:r,ignoreMissingParameters:i}){let o=[];for(let[c,d]of Object.entries(r))if(d!==void 0){this.errors.scope(c);try{let y=t.find(g=>g.name.wireValue===c);if(y==null){if(i)continue;this.errors.add({severity:v.Critical,message:this.newParameterNotRecognizedError(c).message});continue}o.push({name:y.name,typeReference:y.typeReference,value:d})}finally{this.errors.unscope()}}return o}getExampleObjectProperties({parameters:t,snippetObject:r}){let i=typeof r=="object"&&r!==null&&!Array.isArray(r)?r:{},o=[];for(let c of t){let d=i[c.name.wireValue];d==null?c.typeReference.type==="nullable"&&o.push({name:c.name,typeReference:c.typeReference,value:null}):o.push({name:c.name,typeReference:c.typeReference,value:d})}return o}getSingleFileValue({property:t,record:r}){let i=r[t.wireValue];if(i!=null){if(typeof i!="string"){this.errors.add({severity:v.Critical,message:`Expected file value to be a string, got ${typeof i}`});return}return i}}getFileArrayValues({property:t,record:r}){let i=r[t.wireValue];if(i==null)return;if(!Array.isArray(i)){this.errors.add({severity:v.Critical,message:`Expected file array value to be an array of strings, got ${typeof i}`});return}let o=[];for(let c of i){if(typeof c!="string"){this.errors.add({severity:v.Critical,message:`Expected file array value to be an array of strings, got ${typeof c}`});return}o.push(c)}return o}getRecord(t){if(typeof t!="object"||Array.isArray(t)){this.errors.add({severity:v.Critical,message:`Expected object with key, value pairs but got: ${Array.isArray(t)?"array":typeof t}`});return}return t??{}}resolveNamedType({typeId:t}){let r=this._ir.types[t];if(r==null){this.errors.add({severity:v.Critical,message:`Type identified by "${t}" could not be found`});return}return r}resolveDiscriminatedUnionTypeInstance({discriminatedUnion:t,value:r}){let i=this.getRecord(r);if(i==null)return;let o=t.discriminant.wireValue,c=i[o];if(c==null){this.errors.add({severity:v.Critical,message:this.newParameterNotRecognizedError(o).message});return}if(typeof c!="string"){this.errors.add({severity:v.Critical,message:`Expected discriminant value to be a string but got: ${typeof c}`});return}let d=t.types[c];if(d==null){this.errors.add({severity:v.Critical,message:`No type found for discriminant value "${c}"`});return}let{[o]:y,...g}=i;return{singleDiscriminatedUnionType:d,discriminantValue:d.discriminantValue,value:g}}resolveEndpointOrThrow(t){let r=this.httpEndpointReferenceParser.tryParse(t);if(r==null)throw new Error(`Failed to parse endpoint reference "${t}"`);return this.resolveEndpointLocationOrThrow(r)}resolveEndpointLocation(t){let r=[];for(let i of Object.values(this._ir.endpoints))this.parsedEndpointMatches({endpoint:i,parsedEndpoint:t})&&r.push(i);return r}resolveEndpointLocationOrThrow(t){let r=this.resolveEndpointLocation(t);if(r.length===0)throw new Error(`Failed to find endpoint identified by "${t.method} ${t.path}"`);return r}resolveEndpointById(t){return this._ir.endpoints[t]}resolveEndpointByIdOrThrow(t){let r=this.resolveEndpointById(t);if(r==null)throw new Error(`Failed to find endpoint with ID "${t}"`);return r}needsRequestParameter({request:t,inlinePathParameters:r,inlineFileProperties:i}){return this.includePathParametersInWrappedRequest({request:t,inlinePathParameters:r})||t.queryParameters!=null&&t.queryParameters.length>0||t.headers!=null&&t.headers.length>0?!0:t.body!=null?this.includeRequestBodyInWrappedRequest({body:t.body,inlineFileProperties:i}):!t.metadata?.onlyPathParameters}includePathParametersInWrappedRequest({request:t,inlinePathParameters:r}){return r&&(t.metadata?.includePathParameters??!1)}isFileUploadRequestBody(t){switch(t.type){case"fileUpload":return!0;case"properties":case"referenced":return!1;default:Q(t)}}resolveEnvironmentName(t){if(this._ir.environments==null)return;let r=this._ir.environments.environments;switch(r.type){case"singleBaseUrl":{let i=r.environments.find(o=>o.id===t);return i?.name}case"multipleBaseUrls":{let i=r.environments.find(o=>o.id===t);return i?.name}default:Q(r)}}isSingleEnvironmentID(t){return typeof t=="string"}isMultiEnvironmentValues(t){return typeof t=="object"}validateMultiEnvironmentUrlValues(t){if(this._ir.environments==null)return this.errors.add({severity:v.Critical,message:"Multiple environments are not supported for single base URL environments; use the baseUrl option instead"}),!1;let r=this._ir.environments.environments;switch(r.type){case"singleBaseUrl":return this.errors.add({severity:v.Critical,message:"Multiple environments are not supported for single base URL environments; use the baseUrl option instead"}),!1;case"multipleBaseUrls":{let i=r.environments[0];if(i==null)return this.errors.add({severity:v.Critical,message:"Multiple environments are not supported; use the baseUrl option instead"}),!1;let o=new Set(Zr(i.urls));for(let c of Zr(t))o.has(c)&&o.delete(c);return o.size>0?(this.errors.add({severity:v.Critical,message:`The provided environments are invalid; got: [${Object.keys(t).join(", ")}], expected: [${Zr(i.urls).join(", ")}]`}),!1):!0}}}getValueAsNumber({value:t}){if(typeof t!="number"){this.errors.add({severity:v.Critical,message:this.newTypeMismatchError({expected:"number",value:t}).message});return}return t}getValueAsBoolean({value:t}){if(typeof t!="boolean"){this.errors.add({severity:v.Critical,message:this.newTypeMismatchError({expected:"boolean",value:t}).message});return}return t}getValueAsString({value:t}){if(typeof t!="string"){this.errors.add({severity:v.Critical,message:this.newTypeMismatchError({expected:"string",value:t}).message});return}return t}isOptional(t){switch(t.type){case"nullable":return this.isOptional(t.value);case"optional":return!0;case"named":{let r=this.resolveNamedType({typeId:t.value});return r==null?!1:r.type==="alias"?this.isNullable(r.typeReference):!1}}return!1}isNullable(t){switch(t.type){case"nullable":return!0;case"optional":return this.isNullable(t.value);case"named":{let r=this.resolveNamedType({typeId:t.value});return r==null?!1:r.type==="alias"?this.isNullable(r.typeReference):!1}}return!1}newAuthMismatchError({auth:t,values:r}){return new Error(`Expected auth type ${t.type}, got ${r.type}`)}newParameterNotRecognizedError(t){return new Error(`"${t}" is not a recognized parameter for this endpoint`)}newTypeMismatchError({expected:t,value:r}){return new Error(`Expected ${t}, got ${typeof r}`)}includeRequestBodyInWrappedRequest({body:t,inlineFileProperties:r}){switch(t.type){case"properties":case"referenced":return!0;case"fileUpload":return this.includeFileUploadBodyInWrappedRequest({fileUpload:t,inlineFileProperties:r});default:Q(t)}}includeFileUploadBodyInWrappedRequest({fileUpload:t,inlineFileProperties:r}){return this.fileUploadHasBodyProperties({fileUpload:t})||r&&this.fileUploadHasFileProperties({fileUpload:t})}fileUploadHasBodyProperties({fileUpload:t}){return t.properties.some(r=>{switch(r.type){case"file":case"fileArray":return!1;case"bodyProperty":return!0;default:Q(r)}})}fileUploadHasFileProperties({fileUpload:t}){return t.properties.some(r=>{switch(r.type){case"file":case"fileArray":return!0;case"bodyProperty":return!1;default:Q(r)}})}isListTypeReference(t){return t.type==="optional"?this.isListTypeReference(t.value):t.type==="list"||t.type==="set"}parsedEndpointMatches({endpoint:t,parsedEndpoint:r}){return t.location.method===r.method&&t.location.path===r.path}};n();a();s();var Tt;(function(e){e.Concise="concise",e.Full="full"})(Tt||(Tt={}));n();a();s();var Be={PathParameters:"pathParameters",QueryParameters:"queryParameters",Headers:"headers",RequestBody:"requestBody"};n();a();s();n();a();s();n();a();s();var Fe=class extends ni{constructor({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,skipImports:d=!1,skipGlobalQualifier:y=!1}){super();m(this,"references",{});m(this,"namespace");m(this,"namespaceAliases",{});m(this,"allNamespaceSegments");m(this,"allTypeClassReferences");m(this,"generation");m(this,"skipImports");m(this,"skipGlobalQualifier");m(this,"inQuoteBlock",!1);this.namespace=r,this.allNamespaceSegments=i,this.allTypeClassReferences=o,this.generation=c,this.skipImports=d,this.skipGlobalQualifier=y}addReference(r){if(r.namespace==null)return;let i=this.references[r.namespace];i!=null?i.push(r):this.references[r.namespace]=[r]}addNamespace(r){this.references[r]==null&&(this.references[r]=[])}addNamespaceAlias(r,i){let o=new Set(Object.values(this.namespaceAliases));for(;o.has(r);)r=`_${r}`;return this.namespaceAliases[r]=i,r}getReferencedNamespaces(){return Object.keys(this.references)}getAllTypeClassReferences(){return this.allTypeClassReferences}getAllNamespaceSegments(){return this.allNamespaceSegments}toString(r=!1){if(!r){let i=this.stringifyImports();if(i.length>0)return`${i}
16
+ `),o=Se&&!this.shouldSkipTracking(i)&&this.lastCharacterIsNewline;r&&(this.lastLine=`${this.lastLine}${i.shift()||""}`),this.lastCharacterIsNewline&&i.pop(),this.lineBuffer.push(...i),o&&this.appendTrackingComment()}set lastLine(t){this.lineBuffer.length>0?this.lineBuffer[this.lineBuffer.length-1]=t:this.lineBuffer.push(t)}get lastLine(){return this.lineBuffer[this.lineBuffer.length-1]||""}shouldSkipTracking(t){return!1}formatStack(t,r=""){return t.map(i=>`${r?`(${r}) `:""} ${i.fn} - ${i.path} : ${i.position}`)}filterStack(t){return t.filter(r=>!r.fn.startsWith(`${this.constructor.name}.`))}appendTrackingComment(){let t=[...this.formatStack(this.filterStack(ti({maxFrames:15,skip:3}))),...this.formatStack(this.filterStack(this.nodeStackFrames),"node")];switch(this.nodeStackFrames.length=0,qa){case"single":return this.singleLineTrackingComment(t);case"multiline":return this.multiLineTrackingComment(t);case"box":return this.boxTrackingComment(t)}}singleLineTrackingComment(t){this.lastLine=`${this.lastLine} // ${t.join(" ")}`}multiLineTrackingComment(t){this.lineBuffer.push(...t.map(r=>` // ${r}`))}boxTrackingComment(t){this.lineBuffer.push("/*",...t.map(r=>` ${r}`),"*/")}isAtStartOfLine(){return this.lastCharacterIsNewline||!this.hasWrittenAnything}getIndentString(){return" ".repeat(this.indentLevel*this.getTabSize())}getTabSize(){return fm}};n();a();s();function nn(e){return e?.name!=null&&e?.assignment!=null}function $a(e){return e.length>0&&e[0]!=null&&nn(e[0])}n();a();s();var si=class extends qe{constructor({condition:r,true_:i,false_:o}){super();m(this,"condition");m(this,"true_");m(this,"false_");this.condition=r,this.true_=i,this.false_=o}write(r){r.writeNode(this.condition),r.write(" ? "),r.writeNode(this.true_),r.write(" : "),r.writeNode(this.false_)}};n();a();s();n();a();s();n();a();s();var ai=class{constructor(){m(this,"reporter");m(this,"snippet");m(this,"err");this.snippet=void 0,this.reporter=void 0,this.err=void 0}update({context:t,snippet:r}){this.shouldUpdate({snippet:r,reporter:t.errors})&&(this.reporter=t.errors.clone(),this.snippet=r)}getResponseOrThrow({endpoint:t}){if(this.snippet!=null&&this.reporter!=null)return{snippet:this.snippet,errors:this.reporter.toDynamicSnippetErrors()};throw this.err??new Error(`Failed to generate snippet for endpoint "${t.method} ${t.path}"`)}shouldUpdate({snippet:t,reporter:r}){return this.reporter==null||this.reporter.size()>0&&r.size()===0?!0:t.length>(this.snippet?.length??0)}};var oi=class{constructor(t){m(this,"context");this.context=t}async generate(t,r={}){let i=this.resolveEndpoints({request:t,options:r});if(i.length===0)throw new Error(`No endpoints found that match "${t.endpoint.method} ${t.endpoint.path}"`);let o=new ai;for(let c of i){let d=this.context.clone(),y=this.createSnippetGenerator(d);try{let g=await y.generateSnippet({endpoint:c,request:t,options:r});if(d.errors.empty())return{snippet:g,errors:void 0};o.update({context:d,snippet:g})}catch(g){o.err==null&&(o.err=g)}}return o.getResponseOrThrow({endpoint:t.endpoint})}async generateSnippetAst(t,r={}){let i=this.resolveEndpoints({request:t,options:r});if(i.length===0)throw new Error(`No endpoints found that match "${t.endpoint.method} ${t.endpoint.path}"`);let o;for(let c of i){let d=this.context.clone(),y=this.createSnippetGenerator(d);try{return await y.generateSnippetAst({endpoint:c,request:t,options:r})}catch(g){o=g}}throw o??new Error(`Failed to generate snippet AST for endpoint: ${t.endpoint.method} ${t.endpoint.path}`)}generateSync(t,r={}){let i=this.resolveEndpoints({request:t,options:r});if(i.length===0)throw new Error(`No endpoints found that match "${t.endpoint.method} ${t.endpoint.path}"`);let o=new ai;for(let c of i){let d=this.context.clone(),y=this.createSnippetGenerator(d);try{let g=y.generateSnippetSync({endpoint:c,request:t,options:r});if(d.errors.empty())return{snippet:g,errors:void 0};o.update({context:d,snippet:g})}catch(g){o.err==null&&(o.err=g)}}return o.getResponseOrThrow({endpoint:t.endpoint})}resolveEndpoints({request:t,options:r}){if(r.endpointId!=null){let i=this.context.resolveEndpointById(r.endpointId);if(i==null)throw new Error(`No endpoint found with ID "${r.endpointId}"`);return[i]}return this.context.resolveEndpointLocationOrThrow(t.endpoint)}};n();a();s();n();a();s();n();a();s();var ui=class{constructor(){m(this,"REFERENCE_REGEX",/^(?:(\w+)::)?(GET|POST|PUT|DELETE|PATCH|HEAD)\s(\/\S*)$/)}validate(t){return this.REFERENCE_REGEX.test(t)?{type:"valid"}:{type:"invalid"}}tryParse(t){if(this.validate(t).type==="invalid")return;let i=t.match(this.REFERENCE_REGEX);if(!(i==null||i[2]==null||i[3]==null))return{namespace:i[1],method:i[2],path:i[3]}}};n();a();s();var v={Critical:"CRITICAL",Warning:"WARNING"},ci=class e{constructor(){m(this,"errors");m(this,"path");this.errors=[],this.path=[]}add(t){this.errors.push({...t,path:[...this.path]})}scope(t){this.path.push(t)}unscope(){this.path.pop()}getBySeverity(t){return this.errors.filter(r=>r.severity===t)}empty(){return this.errors.length===0}size(){return this.errors.length}truncate(t){this.errors.length=t}clone(){let t=new e;return t.errors=[...this.errors],t.path=[...this.path],t}reset(){this.errors=[],this.path=[]}toDynamicSnippetErrors(){return this.errors.map(t=>({severity:t.severity,path:t.path!=null?this.pathToStringArray(t.path):void 0,message:t.message}))}pathToStringArray(t){let r=[];for(let i of t){if(typeof i=="string"){r.push(i);continue}r[r.length-1]+=`[${i.index}]`}return r}};var pi=class{constructor({ir:t,config:r,options:i={}}){m(this,"config");m(this,"options");m(this,"errors");m(this,"_ir");m(this,"httpEndpointReferenceParser");this._ir=t,this.config=r,this.options=i,this.errors=new ci,this.httpEndpointReferenceParser=new ui}associateQueryParametersByWireValue({parameters:t,values:r}){let i=[];for(let[o,c]of Object.entries(r))if(c!==void 0){this.errors.scope(o);try{let d=t.find(g=>g.name.wireValue===o);if(d==null)throw this.newParameterNotRecognizedError(o);let y=this.isListTypeReference(d.typeReference)&&!Array.isArray(c)?[c]:c;i.push({name:d.name,typeReference:d.typeReference,value:y})}finally{this.errors.unscope()}}return i}associateByWireValueOrDefault({parameters:t,values:r}){let i=[];for(let o of t){this.errors.scope(o.name.wireValue);try{let c=r[o.name.wireValue];if(c==null)if(o.typeReference.type==="primitive"&&o.typeReference.value==="STRING")c=`<${o.name.wireValue}>`;else{this.errors.add({severity:v.Critical,message:this.newParameterNotRecognizedError(o.name.wireValue).message});continue}i.push({name:o.name,typeReference:o.typeReference,value:c})}finally{this.errors.unscope()}}return i}associateByWireValue({parameters:t,values:r,ignoreMissingParameters:i}){let o=[];for(let[c,d]of Object.entries(r))if(d!==void 0){this.errors.scope(c);try{let y=t.find(g=>g.name.wireValue===c);if(y==null){if(i)continue;this.errors.add({severity:v.Critical,message:this.newParameterNotRecognizedError(c).message});continue}o.push({name:y.name,typeReference:y.typeReference,value:d})}finally{this.errors.unscope()}}return o}getExampleObjectProperties({parameters:t,snippetObject:r}){let i=typeof r=="object"&&r!==null&&!Array.isArray(r)?r:{},o=[];for(let c of t){let d=i[c.name.wireValue];d==null?c.typeReference.type==="nullable"&&o.push({name:c.name,typeReference:c.typeReference,value:null}):o.push({name:c.name,typeReference:c.typeReference,value:d})}return o}getSingleFileValue({property:t,record:r}){let i=r[t.wireValue];if(i!=null){if(typeof i!="string"){this.errors.add({severity:v.Critical,message:`Expected file value to be a string, got ${typeof i}`});return}return i}}getFileArrayValues({property:t,record:r}){let i=r[t.wireValue];if(i==null)return;if(!Array.isArray(i)){this.errors.add({severity:v.Critical,message:`Expected file array value to be an array of strings, got ${typeof i}`});return}let o=[];for(let c of i){if(typeof c!="string"){this.errors.add({severity:v.Critical,message:`Expected file array value to be an array of strings, got ${typeof c}`});return}o.push(c)}return o}getRecord(t){if(typeof t!="object"||Array.isArray(t)){this.errors.add({severity:v.Critical,message:`Expected object with key, value pairs but got: ${Array.isArray(t)?"array":typeof t}`});return}return t??{}}resolveNamedType({typeId:t}){let r=this._ir.types[t];if(r==null){this.errors.add({severity:v.Critical,message:`Type identified by "${t}" could not be found`});return}return r}resolveDiscriminatedUnionTypeInstance({discriminatedUnion:t,value:r}){let i=this.getRecord(r);if(i==null)return;let o=t.discriminant.wireValue,c=i[o];if(c==null){this.errors.add({severity:v.Critical,message:this.newParameterNotRecognizedError(o).message});return}if(typeof c!="string"){this.errors.add({severity:v.Critical,message:`Expected discriminant value to be a string but got: ${typeof c}`});return}let d=t.types[c];if(d==null){this.errors.add({severity:v.Critical,message:`No type found for discriminant value "${c}"`});return}let{[o]:y,...g}=i;return{singleDiscriminatedUnionType:d,discriminantValue:d.discriminantValue,value:g}}resolveEndpointOrThrow(t){let r=this.httpEndpointReferenceParser.tryParse(t);if(r==null)throw new Error(`Failed to parse endpoint reference "${t}"`);return this.resolveEndpointLocationOrThrow(r)}resolveEndpointLocation(t){let r=[];for(let i of Object.values(this._ir.endpoints))this.parsedEndpointMatches({endpoint:i,parsedEndpoint:t})&&r.push(i);return r}resolveEndpointLocationOrThrow(t){let r=this.resolveEndpointLocation(t);if(r.length===0)throw new Error(`Failed to find endpoint identified by "${t.method} ${t.path}"`);return r}resolveEndpointById(t){return this._ir.endpoints[t]}resolveEndpointByIdOrThrow(t){let r=this.resolveEndpointById(t);if(r==null)throw new Error(`Failed to find endpoint with ID "${t}"`);return r}needsRequestParameter({request:t,inlinePathParameters:r,inlineFileProperties:i}){return this.includePathParametersInWrappedRequest({request:t,inlinePathParameters:r})||t.queryParameters!=null&&t.queryParameters.length>0||t.headers!=null&&t.headers.length>0?!0:t.body!=null?this.includeRequestBodyInWrappedRequest({body:t.body,inlineFileProperties:i}):!t.metadata?.onlyPathParameters}includePathParametersInWrappedRequest({request:t,inlinePathParameters:r}){return r&&(t.metadata?.includePathParameters??!1)}isFileUploadRequestBody(t){switch(t.type){case"fileUpload":return!0;case"properties":case"referenced":return!1;default:Q(t)}}resolveEnvironmentName(t){if(this._ir.environments==null)return;let r=this._ir.environments.environments;switch(r.type){case"singleBaseUrl":{let i=r.environments.find(o=>o.id===t);return i?.name}case"multipleBaseUrls":{let i=r.environments.find(o=>o.id===t);return i?.name}default:Q(r)}}isSingleEnvironmentID(t){return typeof t=="string"}isMultiEnvironmentValues(t){return typeof t=="object"}validateMultiEnvironmentUrlValues(t){if(this._ir.environments==null)return this.errors.add({severity:v.Critical,message:"Multiple environments are not supported for single base URL environments; use the baseUrl option instead"}),!1;let r=this._ir.environments.environments;switch(r.type){case"singleBaseUrl":return this.errors.add({severity:v.Critical,message:"Multiple environments are not supported for single base URL environments; use the baseUrl option instead"}),!1;case"multipleBaseUrls":{let i=r.environments[0];if(i==null)return this.errors.add({severity:v.Critical,message:"Multiple environments are not supported; use the baseUrl option instead"}),!1;let o=new Set(Zr(i.urls));for(let c of Zr(t))o.has(c)&&o.delete(c);return o.size>0?(this.errors.add({severity:v.Critical,message:`The provided environments are invalid; got: [${Object.keys(t).join(", ")}], expected: [${Zr(i.urls).join(", ")}]`}),!1):!0}}}getValueAsNumber({value:t}){if(typeof t!="number"){this.errors.add({severity:v.Critical,message:this.newTypeMismatchError({expected:"number",value:t}).message});return}return t}getValueAsBoolean({value:t}){if(typeof t!="boolean"){this.errors.add({severity:v.Critical,message:this.newTypeMismatchError({expected:"boolean",value:t}).message});return}return t}getValueAsString({value:t}){if(typeof t!="string"){this.errors.add({severity:v.Critical,message:this.newTypeMismatchError({expected:"string",value:t}).message});return}return t}isOptional(t){switch(t.type){case"nullable":return this.isOptional(t.value);case"optional":return!0;case"named":{let r=this.resolveNamedType({typeId:t.value});return r==null?!1:r.type==="alias"?this.isNullable(r.typeReference):!1}}return!1}isNullable(t){switch(t.type){case"nullable":return!0;case"optional":return this.isNullable(t.value);case"named":{let r=this.resolveNamedType({typeId:t.value});return r==null?!1:r.type==="alias"?this.isNullable(r.typeReference):!1}}return!1}newAuthMismatchError({auth:t,values:r}){return new Error(`Expected auth type ${t.type}, got ${r.type}`)}newParameterNotRecognizedError(t){return new Error(`"${t}" is not a recognized parameter for this endpoint`)}newTypeMismatchError({expected:t,value:r}){return new Error(`Expected ${t}, got ${typeof r}`)}includeRequestBodyInWrappedRequest({body:t,inlineFileProperties:r}){switch(t.type){case"properties":case"referenced":return!0;case"fileUpload":return this.includeFileUploadBodyInWrappedRequest({fileUpload:t,inlineFileProperties:r});default:Q(t)}}includeFileUploadBodyInWrappedRequest({fileUpload:t,inlineFileProperties:r}){return this.fileUploadHasBodyProperties({fileUpload:t})||r&&this.fileUploadHasFileProperties({fileUpload:t})}fileUploadHasBodyProperties({fileUpload:t}){return t.properties.some(r=>{switch(r.type){case"file":case"fileArray":return!1;case"bodyProperty":return!0;default:Q(r)}})}fileUploadHasFileProperties({fileUpload:t}){return t.properties.some(r=>{switch(r.type){case"file":case"fileArray":return!0;case"bodyProperty":return!1;default:Q(r)}})}isListTypeReference(t){return t.type==="optional"?this.isListTypeReference(t.value):t.type==="list"||t.type==="set"}parsedEndpointMatches({endpoint:t,parsedEndpoint:r}){return t.location.method===r.method&&t.location.path===r.path}};n();a();s();var It;(function(e){e.Concise="concise",e.Full="full"})(It||(It={}));n();a();s();var Be={PathParameters:"pathParameters",QueryParameters:"queryParameters",Headers:"headers",RequestBody:"requestBody"};n();a();s();n();a();s();n();a();s();var Fe=class extends ni{constructor({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,skipImports:d=!1,skipGlobalQualifier:y=!1}){super();m(this,"references",{});m(this,"namespace");m(this,"namespaceAliases",{});m(this,"allNamespaceSegments");m(this,"allTypeClassReferences");m(this,"generation");m(this,"skipImports");m(this,"skipGlobalQualifier");m(this,"inQuoteBlock",!1);this.namespace=r,this.allNamespaceSegments=i,this.allTypeClassReferences=o,this.generation=c,this.skipImports=d,this.skipGlobalQualifier=y}addReference(r){if(r.namespace==null)return;let i=this.references[r.namespace];i!=null?i.push(r):this.references[r.namespace]=[r]}addNamespace(r){this.references[r]==null&&(this.references[r]=[])}addNamespaceAlias(r,i){let o=new Set(Object.values(this.namespaceAliases));for(;o.has(r);)r=`_${r}`;return this.namespaceAliases[r]=i,r}getReferencedNamespaces(){return Object.keys(this.references)}getAllTypeClassReferences(){return this.allTypeClassReferences}getAllNamespaceSegments(){return this.allNamespaceSegments}toString(r=!1){if(!r){let i=this.stringifyImports();if(i.length>0)return`${i}
17
17
  ${this.buffer}`}return this.buffer}importsToString(){let r=this.stringifyImports();return r.length>0?r:void 0}isReadOnlyMemoryType(r){return this.generation.settings.readOnlyMemoryTypes.includes(r)}shouldSkipTracking(r){return r.forEach(i=>this.inQuoteBlock=i.includes('"""')?!this.inQuoteBlock:this.inQuoteBlock),this.inQuoteBlock}stringifyImports(){let r=Object.entries(this.references).filter(([i])=>i&&!this.isCurrentNamespace(i)&&!this.generation.registry.isNamespaceImplicit(i)).map(([i,o])=>{let c=o.length>0?o[0].resolveNamespace():i,d=c.split(".")[0];return`using ${!this.skipGlobalQualifier&&(d==="System"||o.some(g=>g?.global)||this.generation.registry.hasTypeNamespaceConflict(d))?"global::":""}${c};`}).join(`
18
18
  `);r.length>0&&(r=`${r}
19
19
  `);for(let[i,o]of Object.entries(this.namespaceAliases)){let c=o.split(".")[0],d=!this.skipGlobalQualifier&&c==="System";r=`${r}using ${i} = ${d?"global::":""}${o};
20
- `}return r}isCurrentNamespace(r){return r===this.namespace}};var Hr={};F(Hr,{Access:()=>ne,And:()=>mr,Annotation:()=>Je,AnnotationGroup:()=>dr,AnonymousFunction:()=>hr,AstNode:()=>L,Block:()=>ct,Class:()=>Ve,ClassInstantiation:()=>Yt,ClassReference:()=>ge,CodeBlock:()=>ut,Dictionary:()=>Xt,Enum:()=>Gr,EnumInstantiation:()=>Zt,Field:()=>xr,InstantiatedPrimitive:()=>fe,Interface:()=>Wr,List:()=>er,Literal:()=>B,MemberNode:()=>Xe,Method:()=>mt,MethodInvocation:()=>tr,MethodType:()=>je,Node:()=>Te,OptionalWrapper:()=>Qt,Or:()=>yr,Parameter:()=>Le,ReadOnlyMemory:()=>rr,Set:()=>ir,String_:()=>nr,Switch:()=>gr,Ternary:()=>br,TestClass:()=>$r,Writer:()=>Fe,XmlDocBlock:()=>ft,XmlDocWriter:()=>fr,convertReadOnlyPrimitiveTypes:()=>_c});n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();va("AstNode");var L=class extends ze{constructor(r){super();m(this,"generation");this.generation=r}get csharp(){return this.generation.csharp}get registry(){return this.generation.registry}get settings(){return this.generation.settings}get namespaces(){return this.generation.namespaces}get names(){return this.generation.names}get model(){return this.generation.model}get format(){return this.generation.format}get Types(){return this.generation.Types}get System(){return this.generation.extern.System}get NUnit(){return this.generation.extern.NUnit}get OneOf(){return this.generation.extern.OneOf}get Google(){return this.generation.extern.Google}get WireMock(){return this.generation.extern.WireMock}get Primitive(){return this.generation.Primitive}get Value(){return this.generation.Value}get Collection(){return this.generation.Collection}toString({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,formatter:d,skipImports:y=!1,skipGlobalQualifier:g=!1}){let x=new Fe({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,skipImports:y,skipGlobalQualifier:g});this.write(x);let S=x.toString(y);return d!=null?d.formatSync(S):S}toStringAsync({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,formatter:d,skipImports:y=!1,skipGlobalQualifier:g=!1}){let x=new Fe({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,skipImports:y,skipGlobalQualifier:g});this.write(x);let S=x.toString(y);return d!=null?d.format(S):Promise.resolve(S)}toFormattedSnippet({allNamespaceSegments:r,allTypeClassReferences:i,generation:o,formatter:c,skipImports:d=!1}){let y=new Fe({namespace:"",allNamespaceSegments:r,allTypeClassReferences:i,generation:o,skipImports:d});return this.write(y),{imports:y.importsToString(),body:c.formatSync(y.buffer)}}async toFormattedSnippetAsync({allNamespaceSegments:r,allTypeClassReferences:i,generation:o,formatter:c,skipImports:d=!1}){let y=new Fe({namespace:"",allNamespaceSegments:r,allTypeClassReferences:i,generation:o,skipImports:d});return this.write(y),{imports:y.importsToString(),body:await c.format(y.buffer)}}get debugInfo(){return Se?`Debug Info:
20
+ `}return r}isCurrentNamespace(r){return r===this.namespace}};var Kr={};k(Kr,{Access:()=>ne,And:()=>hr,Annotation:()=>Ke,AnnotationGroup:()=>yr,AnonymousFunction:()=>gr,AstNode:()=>L,Block:()=>pt,Class:()=>Ve,ClassInstantiation:()=>Zt,ClassReference:()=>ge,CodeBlock:()=>ct,Dictionary:()=>er,Enum:()=>$r,EnumInstantiation:()=>tr,Field:()=>Tr,InstantiatedPrimitive:()=>fe,Interface:()=>Hr,List:()=>rr,Literal:()=>B,MemberNode:()=>Ze,Method:()=>dt,MethodInvocation:()=>ir,MethodType:()=>je,Node:()=>Te,OptionalWrapper:()=>Xt,Or:()=>br,Parameter:()=>Le,ReadOnlyMemory:()=>nr,Set:()=>sr,String_:()=>ar,Switch:()=>xr,Ternary:()=>Sr,TestClass:()=>Jr,Writer:()=>Fe,XmlDocBlock:()=>mt,XmlDocWriter:()=>dr,convertReadOnlyPrimitiveTypes:()=>jc});n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();Ga("AstNode");var L=class extends qe{constructor(r){super();m(this,"generation");this.generation=r}get csharp(){return this.generation.csharp}get registry(){return this.generation.registry}get settings(){return this.generation.settings}get namespaces(){return this.generation.namespaces}get names(){return this.generation.names}get model(){return this.generation.model}get format(){return this.generation.format}get Types(){return this.generation.Types}get System(){return this.generation.extern.System}get NUnit(){return this.generation.extern.NUnit}get OneOf(){return this.generation.extern.OneOf}get Google(){return this.generation.extern.Google}get WireMock(){return this.generation.extern.WireMock}get Primitive(){return this.generation.Primitive}get Value(){return this.generation.Value}get Collection(){return this.generation.Collection}toString({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,formatter:d,skipImports:y=!1,skipGlobalQualifier:g=!1}){let x=new Fe({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,skipImports:y,skipGlobalQualifier:g});this.write(x);let S=x.toString(y);return d!=null?d.formatSync(S):S}toStringAsync({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,formatter:d,skipImports:y=!1,skipGlobalQualifier:g=!1}){let x=new Fe({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,skipImports:y,skipGlobalQualifier:g});this.write(x);let S=x.toString(y);return d!=null?d.format(S):Promise.resolve(S)}toFormattedSnippet({allNamespaceSegments:r,allTypeClassReferences:i,generation:o,formatter:c,skipImports:d=!1}){let y=new Fe({namespace:"",allNamespaceSegments:r,allTypeClassReferences:i,generation:o,skipImports:d});return this.write(y),{imports:y.importsToString(),body:c.formatSync(y.buffer)}}async toFormattedSnippetAsync({allNamespaceSegments:r,allTypeClassReferences:i,generation:o,formatter:c,skipImports:d=!1}){let y=new Fe({namespace:"",allNamespaceSegments:r,allTypeClassReferences:i,generation:o,skipImports:d});return this.write(y),{imports:y.importsToString(),body:await c.format(y.buffer)}}get debugInfo(){return Se?`Debug Info:
21
21
  at:
22
22
  ${ri({multiline:!0}).replaceAll(`
23
23
  `,`
24
24
  `)}
25
25
  creation stack:
26
26
  ${ii(this).map(r=>` ${r.fn} - ${r.path}:${r.position}`).join(`
27
- `)}`:""}},Te=class extends L{constructor(r,i){super(i);m(this,"origin");this.origin=this.model.origin(r)}},Xe=class extends Te{constructor(r,i,o){super(i,o);m(this,"enclosingType");this.enclosingType=r.enclosingType}};var B=class extends L{get typeName(){return this.constructor.name}};(function(e){class t extends e{constructor(I,P){super(P);m(this,"value");this.value=I}write(I){I.write(this.value.toString())}}e.Boolean=t;class r extends e{constructor(I,P,W){super(W);m(this,"fields");m(this,"reference");this.reference=I,this.fields=P}write(I){let P=this.fields.filter(W=>!(W.value instanceof e.Nop));I.writeNode(this.reference.new({arguments_:P.map(W=>({name:W.name,assignment:W.value})),multiline:!0}))}}e.Class_=r;class i extends e{constructor(I,P){super(P);m(this,"value");this.value=I}write(I){I.write(this.System.DateOnly,`.Parse("${this.value}")`)}}e.Date=i;class o extends e{constructor(I,P){super(P);m(this,"value");this.value=I}write(I){I.write(this.System.DateTime,`.Parse("${this.value}", null, `,this.System.Globalization.DateTimeStyles,".AdjustToUniversal)")}}e.DateTime=o;class c extends e{constructor(I,P){super(P);m(this,"value");this.value=I}write(I){I.write(`${this.value}m`)}}e.Decimal=c;class d extends e{constructor(I,P){super(P);m(this,"value");this.value=I}write(I){I.write(this.value.toString())}}e.Double=d;class y extends e{constructor(I,P){super(P);m(this,"value");this.value=I}write(I){I.write(`${this.value}f`)}}e.Float=y;class g extends e{constructor(I,P){super(P);m(this,"value");this.value=I}write(I){I.write(this.value.toString())}}e.Integer=g;class x extends e{constructor(I,P){super(P);m(this,"value");this.value=I}write(I){I.write(`${this.value}L`)}}e.Long=x;class S extends e{constructor(I,P){super(P);m(this,"value");this.value=I}write(I){I.write(`${this.value}u`)}}e.Uint=S;class A extends e{constructor(I,P){super(P);m(this,"value");this.value=I}write(I){I.write(`${this.value}ul`)}}e.Ulong=A;class O extends e{constructor(I,P){super(P);m(this,"value");this.value=I}write(I){I.writeNode(this.value)}}e.Reference=O;class w extends e{constructor(I,P){super(P);m(this,"value");this.value=I}write(I){I.writeNode(this.csharp.string_({string:this.value}))}}e.String=w;class V extends e{write(te){te.write("null")}}e.Null=V;class G extends e{write(te){}}e.Nop=G;class U extends e{constructor(I,P,W){super(W);m(this,"valueType");m(this,"values");this.valueType=I,this.values=P}write(I){if(I.write(this.System.Collections.Generic.List(this.valueType).new()),this.values.length!==0){I.pushScope();for(let P of this.values.filter(W=>!(W instanceof e.Nop)))P.write(I),I.writeLine(",");I.popScope()}}}e.List=U;class z extends e{constructor(I,P,W){super(W);m(this,"valueType");m(this,"values");this.valueType=I,this.values=P}write(I){if(I.write(this.System.Collections.Generic.HashSet(this.valueType).new()),this.values.length!==0){I.pushScope();for(let P of this.values.filter(W=>!(W instanceof e.Nop)))P.write(I),I.writeLine(",");I.popScope()}}}e.Set=z;class ie extends e{constructor(I,P,W,Kr){super(Kr);m(this,"entries");m(this,"keyType");m(this,"valueType");this.keyType=I,this.valueType=P,this.entries=W}write(I){I.write(this.System.Collections.Generic.Dictionary(this.keyType,this.valueType).new());let P=this.entries.filter(W=>!C.Literal.nop(W.key)&&!C.Literal.nop(W.value));if(P.length!==0){I.pushScope();for(let W of P)I.write("["),I.writeNode(W.key),I.write("] = "),I.writeNode(W.value),I.writeLine(",");I.popScope()}}}e.Dictionary=ie;class de extends e{constructor(I,P){super(P);m(this,"value");this.value=I}write(I){this.writeUnknown({writer:I,value:this.value})}writeUnknown({writer:I,value:P}){switch(typeof P){case"boolean":I.write(P.toString());return;case"string":I.writeNode(this.csharp.string_({string:P}));return;case"number":I.write(P.toString());return;case"object":if(P==null){I.write("null");return}if(Array.isArray(P)){this.writeUnknownArray({writer:I,value:P});return}this.writeUnknownMap({writer:I,value:P});return;default:throw new Error(`Internal error; unsupported unknown type: ${typeof P}`)}}writeUnknownArray({writer:I,value:P}){if(I.write(this.System.Collections.Generic.List(this.Primitive.object).new()),P.length!==0){I.writeLine(),I.pushScope();for(let W of P)I.writeNode(new de(W,this.generation)),I.writeLine(",");I.popScope()}}writeUnknownMap({writer:I,value:P}){let W=Object.entries(P);if(I.write(this.System.Collections.Generic.Dictionary(this.Primitive.string,this.Primitive.object).new()),W.length!==0){I.writeLine(),I.pushScope();for(let[Kr,Qr]of W)I.write(`["${Kr}"] = `),I.writeNode(new de(Qr,this.generation)),I.writeLine(",");I.popScope()}}}e.Unknown=de})(B||(B={}));n();a();s();n();a();s();function re(e){throw new Error(e??"Assertion failed")}n();a();s();n();a();s();var N={};F(N,{ApiDefinitionSource:()=>Ni,ApiVersionScheme:()=>cn,AsymmetricAlgorithm:()=>$e,AsymmetricKeySource:()=>Ci,AuthScheme:()=>Ze,AuthSchemesRequirement:()=>li,AvailabilityStatus:()=>jt,ContainerType:()=>Ge,Environments:()=>fi,ErrorDeclarationDiscriminantValue:()=>mi,ErrorDiscriminationStrategy:()=>Ri,ExampleCodeSample:()=>di,ExampleContainer:()=>We,ExampleEndpointSuccessResponse:()=>Ut,ExamplePrimitive:()=>pe,ExampleQueryParameterShape:()=>Bt,ExampleRequestBody:()=>hi,ExampleResponse:()=>yi,ExampleSingleUnionTypeProperties:()=>qt,ExampleStyle:()=>pn,ExampleTypeReferenceShape:()=>wt,ExampleTypeShape:()=>st,ExampleWebSocketMessageBody:()=>Li,FileProperty:()=>gi,FileUploadBodyPropertyEncoding:()=>bi,FileUploadRequestProperty:()=>xi,HmacAlgorithm:()=>$t,HttpEndpointSource:()=>Mt,HttpMethod:()=>rt,HttpRequestBody:()=>It,HttpResponseBody:()=>qe,JsonResponse:()=>Si,Literal:()=>Pi,NamedTypeDefault:()=>ln,NonStreamHttpResponseBody:()=>Et,OAuthConfiguration:()=>sn,ObjectPropertyAccess:()=>fn,Pagination:()=>it,PathParameterLocation:()=>Ti,PrimitiveTypeV1:()=>ye,PrimitiveTypeV2:()=>le,ProtobufMethodType:()=>vt,ProtobufType:()=>Oi,PublishTarget:()=>nt,PublishingConfig:()=>zt,RequestPropertyValue:()=>Ai,ResolvedTypeReference:()=>Nt,SdkRequestBodyType:()=>Ii,SdkRequestShape:()=>Ei,ShapeType:()=>Gt,SingleUnionTypeProperties:()=>Wt,Source:()=>mn,StreamingResponse:()=>Vt,SupportedSdkLanguage:()=>Ae,Transport:()=>wi,Type:()=>at,TypeReference:()=>Rt,UnionDiscriminatorContext:()=>dn,V2AuthValues:()=>At,V2EndpointLocationHttpMethod:()=>tt,V2HttpEndpointResponseBody:()=>Dt,WebSocketMessageBody:()=>ji,WebSocketMessageOrigin:()=>gn,WebhookHttpMethod:()=>hn,WebhookPayload:()=>_i,WebhookPayloadBodySort:()=>uo,WebhookPayloadComponent:()=>Ht,WebhookSignatureEncoding:()=>yn,WebhookSignatureVerification:()=>ki,WebhookTimestampFormat:()=>Fi,WellKnownProtobufType:()=>$,audience:()=>ac,auth:()=>Ga,commons:()=>Wa,constants:()=>oc,dynamic:()=>R,environment:()=>Za,errors:()=>eo,examples:()=>to,generatorExec:()=>Y,http:()=>io,ir:()=>no,proto:()=>so,publish:()=>ao,types:()=>oo,variables:()=>Cc,webhooks:()=>co,websocket:()=>po});n();a();s();n();a();s();var ac={};n();a();s();var Ga={};F(Ga,{AuthScheme:()=>Ze,AuthSchemesRequirement:()=>li,OAuthConfiguration:()=>sn});n();a();s();n();a();s();var Ze={bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return Ze._visit(this,t)}}),basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return Ze._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return Ze._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return Ze._visit(this,t)}}),inferred:e=>Object.assign(Object.assign({},e),{type:"inferred",_visit:function(t){return Ze._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"bearer":return t.bearer(e);case"basic":return t.basic(e);case"header":return t.header(e);case"oauth":return t.oauth(e);case"inferred":return t.inferred(e);default:return t._other(e)}}};n();a();s();var om={All:"ALL",Any:"ANY",EndpointSecurity:"ENDPOINT_SECURITY"},li=Object.assign(Object.assign({},om),{_visit:(e,t)=>{switch(e){case li.All:return t.all();case li.Any:return t.any();case li.EndpointSecurity:return t.endpointSecurity();default:return t._other()}}});n();a();s();var sn={clientCredentials:e=>Object.assign(Object.assign({},e),{type:"clientCredentials",_visit:function(t){return sn._visit(this,t)}}),_visit:(e,t)=>e.type==="clientCredentials"?t.clientCredentials(e):t._other(e)};var Wa={};F(Wa,{AvailabilityStatus:()=>jt});n();a();s();n();a();s();var um={InDevelopment:"IN_DEVELOPMENT",PreRelease:"PRE_RELEASE",GeneralAvailability:"GENERAL_AVAILABILITY",Deprecated:"DEPRECATED"},jt=Object.assign(Object.assign({},um),{_visit:(e,t)=>{switch(e){case jt.InDevelopment:return t.inDevelopment();case jt.PreRelease:return t.preRelease();case jt.GeneralAvailability:return t.generalAvailability();case jt.Deprecated:return t.deprecated();default:return t._other()}}});var oc={};n();a();s();var R={};F(R,{Auth:()=>uc,AuthValues:()=>cc,Environments:()=>gc,ErrorSeverity:()=>an,FileUploadRequestBodyProperty:()=>fc,GeneratorOutputConfig:()=>bc,HttpMethod:()=>et,InlinedRequestBody:()=>mc,LiteralType:()=>Sc,NamedType:()=>Tc,ObjectPropertyAccess:()=>on,PrimitiveTypeV1:()=>he,PublishInfo:()=>xc,ReferencedRequestBodyType:()=>dc,Request:()=>hc,Response:()=>yc,SingleDiscriminatedUnionType:()=>Ac,TypeReference:()=>Ic,auth:()=>$a,commons:()=>pc,declaration:()=>lc,endpoints:()=>Ha,environment:()=>Ja,http:()=>Ka,ir:()=>Qa,snippets:()=>Ya,types:()=>Xa,variables:()=>Ec});n();a();s();n();a();s();var $a={};F($a,{Auth:()=>uc,AuthValues:()=>cc});n();a();s();n();a();s();var uc={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return R.Auth._visit(this,t)}}),bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return R.Auth._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return R.Auth._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return R.Auth._visit(this,t)}}),inferred:e=>Object.assign(Object.assign({},e),{type:"inferred",_visit:function(t){return R.Auth._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"basic":return t.basic(e);case"bearer":return t.bearer(e);case"header":return t.header(e);case"oauth":return t.oauth(e);case"inferred":return t.inferred(e);default:return t._other(e)}}};n();a();s();var cc={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return R.AuthValues._visit(this,t)}}),bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return R.AuthValues._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return R.AuthValues._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return R.AuthValues._visit(this,t)}}),inferred:e=>Object.assign(Object.assign({},e),{type:"inferred",_visit:function(t){return R.AuthValues._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"basic":return t.basic(e);case"bearer":return t.bearer(e);case"header":return t.header(e);case"oauth":return t.oauth(e);case"inferred":return t.inferred(e);default:return t._other(e)}}};var pc={};n();a();s();var lc={};n();a();s();var Ha={};F(Ha,{FileUploadRequestBodyProperty:()=>fc,InlinedRequestBody:()=>mc,ReferencedRequestBodyType:()=>dc,Request:()=>hc,Response:()=>yc});n();a();s();n();a();s();var fc={file:e=>Object.assign(Object.assign({},e),{type:"file",_visit:function(t){return R.FileUploadRequestBodyProperty._visit(this,t)}}),fileArray:e=>Object.assign(Object.assign({},e),{type:"fileArray",_visit:function(t){return R.FileUploadRequestBodyProperty._visit(this,t)}}),bodyProperty:e=>Object.assign(Object.assign({},e),{type:"bodyProperty",_visit:function(t){return R.FileUploadRequestBodyProperty._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"file":return t.file(e);case"fileArray":return t.fileArray(e);case"bodyProperty":return t.bodyProperty(e);default:return t._other(e)}}};n();a();s();var mc={properties:e=>({value:e,type:"properties",_visit:function(t){return R.InlinedRequestBody._visit(this,t)}}),referenced:e=>Object.assign(Object.assign({},e),{type:"referenced",_visit:function(t){return R.InlinedRequestBody._visit(this,t)}}),fileUpload:e=>Object.assign(Object.assign({},e),{type:"fileUpload",_visit:function(t){return R.InlinedRequestBody._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"properties":return t.properties(e.value);case"referenced":return t.referenced(e);case"fileUpload":return t.fileUpload(e);default:return t._other(e)}}};n();a();s();var dc={bytes:()=>({type:"bytes",_visit:function(e){return R.ReferencedRequestBodyType._visit(this,e)}}),typeReference:e=>({value:e,type:"typeReference",_visit:function(t){return R.ReferencedRequestBodyType._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"bytes":return t.bytes();case"typeReference":return t.typeReference(e.value);default:return t._other(e)}}};n();a();s();var hc={body:e=>Object.assign(Object.assign({},e),{type:"body",_visit:function(t){return R.Request._visit(this,t)}}),inlined:e=>Object.assign(Object.assign({},e),{type:"inlined",_visit:function(t){return R.Request._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"body":return t.body(e);case"inlined":return t.inlined(e);default:return t._other(e)}}};n();a();s();var yc={json:()=>({type:"json",_visit:function(e){return R.Response._visit(this,e)}}),streaming:()=>({type:"streaming",_visit:function(e){return R.Response._visit(this,e)}}),streamParameter:()=>({type:"streamParameter",_visit:function(e){return R.Response._visit(this,e)}}),fileDownload:()=>({type:"fileDownload",_visit:function(e){return R.Response._visit(this,e)}}),text:()=>({type:"text",_visit:function(e){return R.Response._visit(this,e)}}),bytes:()=>({type:"bytes",_visit:function(e){return R.Response._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"json":return t.json();case"streaming":return t.streaming();case"streamParameter":return t.streamParameter();case"fileDownload":return t.fileDownload();case"text":return t.text();case"bytes":return t.bytes();default:return t._other(e)}}};var Ja={};F(Ja,{Environments:()=>gc});n();a();s();n();a();s();var gc={singleBaseUrl:e=>Object.assign(Object.assign({},e),{type:"singleBaseUrl",_visit:function(t){return R.Environments._visit(this,t)}}),multipleBaseUrls:e=>Object.assign(Object.assign({},e),{type:"multipleBaseUrls",_visit:function(t){return R.Environments._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"singleBaseUrl":return t.singleBaseUrl(e);case"multipleBaseUrls":return t.multipleBaseUrls(e);default:return t._other(e)}}};var Ka={};F(Ka,{HttpMethod:()=>et});n();a();s();n();a();s();var cm={Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Head:"HEAD"},et=Object.assign(Object.assign({},cm),{_visit:(e,t)=>{switch(e){case et.Get:return t.get();case et.Post:return t.post();case et.Put:return t.put();case et.Patch:return t.patch();case et.Delete:return t.delete();case et.Head:return t.head();default:return t._other()}}});var Qa={};F(Qa,{GeneratorOutputConfig:()=>bc,PublishInfo:()=>xc});n();a();s();n();a();s();var bc={publish:e=>({value:e,type:"publish",_visit:function(t){return R.GeneratorOutputConfig._visit(this,t)}}),local:()=>({type:"local",_visit:function(e){return R.GeneratorOutputConfig._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"publish":return t.publish(e.value);case"local":return t.local();default:return t._other(e)}}};n();a();s();var xc={go:e=>Object.assign(Object.assign({},e),{type:"go",_visit:function(t){return R.PublishInfo._visit(this,t)}}),swift:e=>Object.assign(Object.assign({},e),{type:"swift",_visit:function(t){return R.PublishInfo._visit(this,t)}}),maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return R.PublishInfo._visit(this,t)}}),npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return R.PublishInfo._visit(this,t)}}),nuget:e=>Object.assign(Object.assign({},e),{type:"nuget",_visit:function(t){return R.PublishInfo._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return R.PublishInfo._visit(this,t)}}),rubygems:e=>Object.assign(Object.assign({},e),{type:"rubygems",_visit:function(t){return R.PublishInfo._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return R.PublishInfo._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"go":return t.go(e);case"swift":return t.swift(e);case"maven":return t.maven(e);case"npm":return t.npm(e);case"nuget":return t.nuget(e);case"pypi":return t.pypi(e);case"rubygems":return t.rubygems(e);case"crates":return t.crates(e);default:return t._other(e)}}};var Ya={};F(Ya,{ErrorSeverity:()=>an});n();a();s();n();a();s();var pm={Critical:"CRITICAL",Warning:"WARNING"},an=Object.assign(Object.assign({},pm),{_visit:(e,t)=>{switch(e){case an.Critical:return t.critical();case an.Warning:return t.warning();default:return t._other()}}});var Xa={};F(Xa,{LiteralType:()=>Sc,NamedType:()=>Tc,ObjectPropertyAccess:()=>on,PrimitiveTypeV1:()=>he,SingleDiscriminatedUnionType:()=>Ac,TypeReference:()=>Ic});n();a();s();n();a();s();var Sc={boolean:e=>({value:e,type:"boolean",_visit:function(t){return R.LiteralType._visit(this,t)}}),string:e=>({value:e,type:"string",_visit:function(t){return R.LiteralType._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"boolean":return t.boolean(e.value);case"string":return t.string(e.value);default:return t._other(e)}}};n();a();s();var Tc={alias:e=>Object.assign(Object.assign({},e),{type:"alias",_visit:function(t){return R.NamedType._visit(this,t)}}),enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return R.NamedType._visit(this,t)}}),object:e=>Object.assign(Object.assign({},e),{type:"object",_visit:function(t){return R.NamedType._visit(this,t)}}),discriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"discriminatedUnion",_visit:function(t){return R.NamedType._visit(this,t)}}),undiscriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"undiscriminatedUnion",_visit:function(t){return R.NamedType._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"alias":return t.alias(e);case"enum":return t.enum(e);case"object":return t.object(e);case"discriminatedUnion":return t.discriminatedUnion(e);case"undiscriminatedUnion":return t.undiscriminatedUnion(e);default:return t._other(e)}}};n();a();s();var lm={ReadOnly:"READ_ONLY",WriteOnly:"WRITE_ONLY"},on=Object.assign(Object.assign({},lm),{_visit:(e,t)=>{switch(e){case on.ReadOnly:return t.readOnly();case on.WriteOnly:return t.writeOnly();default:return t._other()}}});n();a();s();var fm={Integer:"INTEGER",Long:"LONG",Uint:"UINT",Uint64:"UINT_64",Float:"FLOAT",Double:"DOUBLE",Boolean:"BOOLEAN",String:"STRING",Date:"DATE",DateTime:"DATE_TIME",DateTimeRfc2822:"DATE_TIME_RFC_2822",Uuid:"UUID",Base64:"BASE_64",BigInteger:"BIG_INTEGER"},he=Object.assign(Object.assign({},fm),{_visit:(e,t)=>{switch(e){case he.Integer:return t.integer();case he.Long:return t.long();case he.Uint:return t.uint();case he.Uint64:return t.uint64();case he.Float:return t.float();case he.Double:return t.double();case he.Boolean:return t.boolean();case he.String:return t.string();case he.Date:return t.date();case he.DateTime:return t.dateTime();case he.DateTimeRfc2822:return t.dateTimeRfc2822();case he.Uuid:return t.uuid();case he.Base64:return t.base64();case he.BigInteger:return t.bigInteger();default:return t._other()}}});n();a();s();var Ac={samePropertiesAsObject:e=>Object.assign(Object.assign({},e),{type:"samePropertiesAsObject",_visit:function(t){return R.SingleDiscriminatedUnionType._visit(this,t)}}),singleProperty:e=>Object.assign(Object.assign({},e),{type:"singleProperty",_visit:function(t){return R.SingleDiscriminatedUnionType._visit(this,t)}}),noProperties:e=>Object.assign(Object.assign({},e),{type:"noProperties",_visit:function(t){return R.SingleDiscriminatedUnionType._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"samePropertiesAsObject":return t.samePropertiesAsObject(e);case"singleProperty":return t.singleProperty(e);case"noProperties":return t.noProperties(e);default:return t._other(e)}}};n();a();s();var Ic={list:e=>({value:e,type:"list",_visit:function(t){return R.TypeReference._visit(this,t)}}),literal:e=>({value:e,type:"literal",_visit:function(t){return R.TypeReference._visit(this,t)}}),map:e=>Object.assign(Object.assign({},e),{type:"map",_visit:function(t){return R.TypeReference._visit(this,t)}}),named:e=>({value:e,type:"named",_visit:function(t){return R.TypeReference._visit(this,t)}}),nullable:e=>({value:e,type:"nullable",_visit:function(t){return R.TypeReference._visit(this,t)}}),optional:e=>({value:e,type:"optional",_visit:function(t){return R.TypeReference._visit(this,t)}}),primitive:e=>({value:e,type:"primitive",_visit:function(t){return R.TypeReference._visit(this,t)}}),set:e=>({value:e,type:"set",_visit:function(t){return R.TypeReference._visit(this,t)}}),unknown:()=>({type:"unknown",_visit:function(e){return R.TypeReference._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"list":return t.list(e.value);case"literal":return t.literal(e.value);case"map":return t.map(e);case"named":return t.named(e.value);case"nullable":return t.nullable(e.value);case"optional":return t.optional(e.value);case"primitive":return t.primitive(e.value);case"set":return t.set(e.value);case"unknown":return t.unknown();default:return t._other(e)}}};var Ec={};n();a();s();var Za={};F(Za,{Environments:()=>fi});n();a();s();n();a();s();var fi={singleBaseUrl:e=>Object.assign(Object.assign({},e),{type:"singleBaseUrl",_visit:function(t){return fi._visit(this,t)}}),multipleBaseUrls:e=>Object.assign(Object.assign({},e),{type:"multipleBaseUrls",_visit:function(t){return fi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"singleBaseUrl":return t.singleBaseUrl(e);case"multipleBaseUrls":return t.multipleBaseUrls(e);default:return t._other(e)}}};var eo={};F(eo,{ErrorDeclarationDiscriminantValue:()=>mi});n();a();s();n();a();s();var mi={property:e=>({value:e,type:"property",_visit:function(t){return mi._visit(this,t)}}),statusCode:()=>({type:"statusCode",_visit:function(e){return mi._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"property":return t.property(e.value);case"statusCode":return t.statusCode();default:return t._other(e)}}};var to={};F(to,{V2AuthValues:()=>At,V2EndpointLocationHttpMethod:()=>tt,V2HttpEndpointResponseBody:()=>Dt});n();a();s();n();a();s();var At={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return At._visit(this,t)}}),bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return At._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return At._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return At._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"basic":return t.basic(e);case"bearer":return t.bearer(e);case"header":return t.header(e);case"oauth":return t.oauth(e);default:return t._other(e)}}};n();a();s();var mm={Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Head:"HEAD"},tt=Object.assign(Object.assign({},mm),{_visit:(e,t)=>{switch(e){case tt.Get:return t.get();case tt.Post:return t.post();case tt.Put:return t.put();case tt.Patch:return t.patch();case tt.Delete:return t.delete();case tt.Head:return t.head();default:return t._other()}}});n();a();s();var Dt={error:e=>({value:e,type:"error",_visit:function(t){return Dt._visit(this,t)}}),json:e=>({value:e,type:"json",_visit:function(t){return Dt._visit(this,t)}}),stream:e=>({value:e,type:"stream",_visit:function(t){return Dt._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"error":return t.error(e.value);case"json":return t.json(e.value);case"stream":return t.stream(e.value);default:return t._other(e)}}};var Y={};F(Y,{GeneratorEnvironment:()=>wc,GeneratorPublishTarget:()=>Nc,GithubPublishInfo:()=>Rc,LicenseConfig:()=>Oc,LicenseId:()=>un,OutputMode:()=>Pc,config:()=>ro});n();a();s();n();a();s();var ro={};F(ro,{GeneratorEnvironment:()=>wc,GeneratorPublishTarget:()=>Nc,GithubPublishInfo:()=>Rc,LicenseConfig:()=>Oc,LicenseId:()=>un,OutputMode:()=>Pc});n();a();s();n();a();s();var wc={local:()=>({type:"local",_visit:function(e){return Y.GeneratorEnvironment._visit(this,e)}}),remote:e=>Object.assign(Object.assign({},e),{type:"remote",_visit:function(t){return Y.GeneratorEnvironment._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"local":return t.local();case"remote":return t.remote(e);default:return t._other(e)}}};n();a();s();var Nc={maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return Y.GeneratorPublishTarget._visit(this,t)}}),npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return Y.GeneratorPublishTarget._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return Y.GeneratorPublishTarget._visit(this,t)}}),postman:e=>Object.assign(Object.assign({},e),{type:"postman",_visit:function(t){return Y.GeneratorPublishTarget._visit(this,t)}}),rubygems:e=>Object.assign(Object.assign({},e),{type:"rubygems",_visit:function(t){return Y.GeneratorPublishTarget._visit(this,t)}}),nuget:e=>Object.assign(Object.assign({},e),{type:"nuget",_visit:function(t){return Y.GeneratorPublishTarget._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return Y.GeneratorPublishTarget._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"maven":return t.maven(e);case"npm":return t.npm(e);case"pypi":return t.pypi(e);case"postman":return t.postman(e);case"rubygems":return t.rubygems(e);case"nuget":return t.nuget(e);case"crates":return t.crates(e);default:return t._other(e)}}};n();a();s();var Rc={npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return Y.GithubPublishInfo._visit(this,t)}}),maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return Y.GithubPublishInfo._visit(this,t)}}),postman:e=>Object.assign(Object.assign({},e),{type:"postman",_visit:function(t){return Y.GithubPublishInfo._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return Y.GithubPublishInfo._visit(this,t)}}),rubygems:e=>Object.assign(Object.assign({},e),{type:"rubygems",_visit:function(t){return Y.GithubPublishInfo._visit(this,t)}}),nuget:e=>Object.assign(Object.assign({},e),{type:"nuget",_visit:function(t){return Y.GithubPublishInfo._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return Y.GithubPublishInfo._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"npm":return t.npm(e);case"maven":return t.maven(e);case"postman":return t.postman(e);case"pypi":return t.pypi(e);case"rubygems":return t.rubygems(e);case"nuget":return t.nuget(e);case"crates":return t.crates(e);default:return t._other(e)}}};n();a();s();var Oc={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return Y.LicenseConfig._visit(this,t)}}),custom:e=>Object.assign(Object.assign({},e),{type:"custom",_visit:function(t){return Y.LicenseConfig._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"basic":return t.basic(e);case"custom":return t.custom(e);default:return t._other(e)}}};n();a();s();var dm={Mit:"MIT",Apache2:"Apache-2.0"},un=Object.assign(Object.assign({},dm),{_visit:(e,t)=>{switch(e){case un.Mit:return t.mit();case un.Apache2:return t.apache2();default:return t._other()}}});n();a();s();var Pc={publish:e=>Object.assign(Object.assign({},e),{type:"publish",_visit:function(t){return Y.OutputMode._visit(this,t)}}),downloadFiles:()=>({type:"downloadFiles",_visit:function(e){return Y.OutputMode._visit(this,e)}}),github:e=>Object.assign(Object.assign({},e),{type:"github",_visit:function(t){return Y.OutputMode._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"publish":return t.publish(e);case"downloadFiles":return t.downloadFiles();case"github":return t.github(e);default:return t._other(e)}}};var io={};F(io,{ExampleCodeSample:()=>di,ExampleEndpointSuccessResponse:()=>Ut,ExampleQueryParameterShape:()=>Bt,ExampleRequestBody:()=>hi,ExampleResponse:()=>yi,FileProperty:()=>gi,FileUploadBodyPropertyEncoding:()=>bi,FileUploadRequestProperty:()=>xi,HttpEndpointSource:()=>Mt,HttpMethod:()=>rt,HttpRequestBody:()=>It,HttpResponseBody:()=>qe,JsonResponse:()=>Si,NonStreamHttpResponseBody:()=>Et,Pagination:()=>it,PathParameterLocation:()=>Ti,RequestPropertyValue:()=>Ai,SdkRequestBodyType:()=>Ii,SdkRequestShape:()=>Ei,StreamingResponse:()=>Vt,SupportedSdkLanguage:()=>Ae,Transport:()=>wi});n();a();s();n();a();s();var di={language:e=>Object.assign(Object.assign({},e),{type:"language",_visit:function(t){return di._visit(this,t)}}),sdk:e=>Object.assign(Object.assign({},e),{type:"sdk",_visit:function(t){return di._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"language":return t.language(e);case"sdk":return t.sdk(e);default:return t._other(e)}}};n();a();s();var Ut={body:e=>({value:e,type:"body",_visit:function(t){return Ut._visit(this,t)}}),stream:e=>({value:e,type:"stream",_visit:function(t){return Ut._visit(this,t)}}),sse:e=>({value:e,type:"sse",_visit:function(t){return Ut._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"body":return t.body(e.value);case"stream":return t.stream(e.value);case"sse":return t.sse(e.value);default:return t._other(e)}}};n();a();s();var Bt={single:()=>({type:"single",_visit:function(e){return Bt._visit(this,e)}}),exploded:()=>({type:"exploded",_visit:function(e){return Bt._visit(this,e)}}),commaSeparated:()=>({type:"commaSeparated",_visit:function(e){return Bt._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"single":return t.single();case"exploded":return t.exploded();case"commaSeparated":return t.commaSeparated();default:return t._other(e)}}};n();a();s();var hi={inlinedRequestBody:e=>Object.assign(Object.assign({},e),{type:"inlinedRequestBody",_visit:function(t){return hi._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return hi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"inlinedRequestBody":return t.inlinedRequestBody(e);case"reference":return t.reference(e);default:return t._other(e)}}};n();a();s();var yi={ok:e=>({value:e,type:"ok",_visit:function(t){return yi._visit(this,t)}}),error:e=>Object.assign(Object.assign({},e),{type:"error",_visit:function(t){return yi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"ok":return t.ok(e.value);case"error":return t.error(e);default:return t._other(e)}}};n();a();s();var gi={file:e=>Object.assign(Object.assign({},e),{type:"file",_visit:function(t){return gi._visit(this,t)}}),fileArray:e=>Object.assign(Object.assign({},e),{type:"fileArray",_visit:function(t){return gi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"file":return t.file(e);case"fileArray":return t.fileArray(e);default:return t._other(e)}}};n();a();s();var hm={Exploded:"exploded",Json:"json",Form:"form"},bi=Object.assign(Object.assign({},hm),{_visit:(e,t)=>{switch(e){case bi.Exploded:return t.exploded();case bi.Json:return t.json();case bi.Form:return t.form();default:return t._other()}}});n();a();s();var xi={file:e=>({value:e,type:"file",_visit:function(t){return xi._visit(this,t)}}),bodyProperty:e=>Object.assign(Object.assign({},e),{type:"bodyProperty",_visit:function(t){return xi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"file":return t.file(e.value);case"bodyProperty":return t.bodyProperty(e);default:return t._other(e)}}};n();a();s();var Mt={proto:e=>Object.assign(Object.assign({},e),{type:"proto",_visit:function(t){return Mt._visit(this,t)}}),openapi:()=>({type:"openapi",_visit:function(e){return Mt._visit(this,e)}}),openrpc:()=>({type:"openrpc",_visit:function(e){return Mt._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"proto":return t.proto(e);case"openapi":return t.openapi();case"openrpc":return t.openrpc();default:return t._other(e)}}};n();a();s();var ym={Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Head:"HEAD"},rt=Object.assign(Object.assign({},ym),{_visit:(e,t)=>{switch(e){case rt.Get:return t.get();case rt.Post:return t.post();case rt.Put:return t.put();case rt.Patch:return t.patch();case rt.Delete:return t.delete();case rt.Head:return t.head();default:return t._other()}}});n();a();s();var It={inlinedRequestBody:e=>Object.assign(Object.assign({},e),{type:"inlinedRequestBody",_visit:function(t){return It._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return It._visit(this,t)}}),fileUpload:e=>Object.assign(Object.assign({},e),{type:"fileUpload",_visit:function(t){return It._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return It._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"inlinedRequestBody":return t.inlinedRequestBody(e);case"reference":return t.reference(e);case"fileUpload":return t.fileUpload(e);case"bytes":return t.bytes(e);default:return t._other(e)}}};n();a();s();var qe={json:e=>({value:e,type:"json",_visit:function(t){return qe._visit(this,t)}}),fileDownload:e=>Object.assign(Object.assign({},e),{type:"fileDownload",_visit:function(t){return qe._visit(this,t)}}),text:e=>Object.assign(Object.assign({},e),{type:"text",_visit:function(t){return qe._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return qe._visit(this,t)}}),streaming:e=>({value:e,type:"streaming",_visit:function(t){return qe._visit(this,t)}}),streamParameter:e=>Object.assign(Object.assign({},e),{type:"streamParameter",_visit:function(t){return qe._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"json":return t.json(e.value);case"fileDownload":return t.fileDownload(e);case"text":return t.text(e);case"bytes":return t.bytes(e);case"streaming":return t.streaming(e.value);case"streamParameter":return t.streamParameter(e);default:return t._other(e)}}};n();a();s();var Si={response:e=>Object.assign(Object.assign({},e),{type:"response",_visit:function(t){return Si._visit(this,t)}}),nestedPropertyAsResponse:e=>Object.assign(Object.assign({},e),{type:"nestedPropertyAsResponse",_visit:function(t){return Si._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"response":return t.response(e);case"nestedPropertyAsResponse":return t.nestedPropertyAsResponse(e);default:return t._other(e)}}};n();a();s();var Et={json:e=>({value:e,type:"json",_visit:function(t){return Et._visit(this,t)}}),fileDownload:e=>Object.assign(Object.assign({},e),{type:"fileDownload",_visit:function(t){return Et._visit(this,t)}}),text:e=>Object.assign(Object.assign({},e),{type:"text",_visit:function(t){return Et._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return Et._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"json":return t.json(e.value);case"fileDownload":return t.fileDownload(e);case"text":return t.text(e);case"bytes":return t.bytes(e);default:return t._other(e)}}};n();a();s();var it={cursor:e=>Object.assign(Object.assign({},e),{type:"cursor",_visit:function(t){return it._visit(this,t)}}),offset:e=>Object.assign(Object.assign({},e),{type:"offset",_visit:function(t){return it._visit(this,t)}}),custom:e=>Object.assign(Object.assign({},e),{type:"custom",_visit:function(t){return it._visit(this,t)}}),uri:e=>Object.assign(Object.assign({},e),{type:"uri",_visit:function(t){return it._visit(this,t)}}),path:e=>Object.assign(Object.assign({},e),{type:"path",_visit:function(t){return it._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"cursor":return t.cursor(e);case"offset":return t.offset(e);case"custom":return t.custom(e);case"uri":return t.uri(e);case"path":return t.path(e);default:return t._other(e)}}};n();a();s();var gm={Root:"ROOT",Service:"SERVICE",Endpoint:"ENDPOINT"},Ti=Object.assign(Object.assign({},gm),{_visit:(e,t)=>{switch(e){case Ti.Root:return t.root();case Ti.Service:return t.service();case Ti.Endpoint:return t.endpoint();default:return t._other()}}});n();a();s();var Ai={query:e=>Object.assign(Object.assign({},e),{type:"query",_visit:function(t){return Ai._visit(this,t)}}),body:e=>Object.assign(Object.assign({},e),{type:"body",_visit:function(t){return Ai._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"query":return t.query(e);case"body":return t.body(e);default:return t._other(e)}}};n();a();s();var Ii={typeReference:e=>Object.assign(Object.assign({},e),{type:"typeReference",_visit:function(t){return Ii._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return Ii._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"typeReference":return t.typeReference(e);case"bytes":return t.bytes(e);default:return t._other(e)}}};n();a();s();var Ei={justRequestBody:e=>({value:e,type:"justRequestBody",_visit:function(t){return Ei._visit(this,t)}}),wrapper:e=>Object.assign(Object.assign({},e),{type:"wrapper",_visit:function(t){return Ei._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"justRequestBody":return t.justRequestBody(e.value);case"wrapper":return t.wrapper(e);default:return t._other(e)}}};n();a();s();var Vt={json:e=>Object.assign(Object.assign({},e),{type:"json",_visit:function(t){return Vt._visit(this,t)}}),text:e=>Object.assign(Object.assign({},e),{type:"text",_visit:function(t){return Vt._visit(this,t)}}),sse:e=>Object.assign(Object.assign({},e),{type:"sse",_visit:function(t){return Vt._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"json":return t.json(e);case"text":return t.text(e);case"sse":return t.sse(e);default:return t._other(e)}}};n();a();s();var bm={Curl:"curl",Python:"python",Javascript:"javascript",Typescript:"typescript",Go:"go",Ruby:"ruby",Csharp:"csharp",Java:"java",Php:"php",Rust:"rust",Swift:"swift"},Ae=Object.assign(Object.assign({},bm),{_visit:(e,t)=>{switch(e){case Ae.Curl:return t.curl();case Ae.Python:return t.python();case Ae.Javascript:return t.javascript();case Ae.Typescript:return t.typescript();case Ae.Go:return t.go();case Ae.Ruby:return t.ruby();case Ae.Csharp:return t.csharp();case Ae.Java:return t.java();case Ae.Php:return t.php();case Ae.Rust:return t.rust();case Ae.Swift:return t.swift();default:return t._other()}}});n();a();s();var wi={http:()=>({type:"http",_visit:function(e){return wi._visit(this,e)}}),grpc:e=>Object.assign(Object.assign({},e),{type:"grpc",_visit:function(t){return wi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"http":return t.http();case"grpc":return t.grpc(e);default:return t._other(e)}}};var no={};F(no,{ApiDefinitionSource:()=>Ni,ApiVersionScheme:()=>cn,ErrorDiscriminationStrategy:()=>Ri,ExampleStyle:()=>pn});n();a();s();n();a();s();var Ni={proto:e=>Object.assign(Object.assign({},e),{type:"proto",_visit:function(t){return Ni._visit(this,t)}}),openapi:()=>({type:"openapi",_visit:function(e){return Ni._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"proto":return t.proto(e);case"openapi":return t.openapi();default:return t._other(e)}}};n();a();s();var cn={header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return cn._visit(this,t)}}),_visit:(e,t)=>e.type==="header"?t.header(e):t._other(e)};n();a();s();var Ri={statusCode:()=>({type:"statusCode",_visit:function(e){return Ri._visit(this,e)}}),property:e=>Object.assign(Object.assign({},e),{type:"property",_visit:function(t){return Ri._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"statusCode":return t.statusCode();case"property":return t.property(e);default:return t._other(e)}}};n();a();s();var xm={Minimal:"minimal",Comprehensive:"comprehensive"},pn=Object.assign(Object.assign({},xm),{_visit:(e,t)=>{switch(e){case pn.Minimal:return t.minimal();case pn.Comprehensive:return t.comprehensive();default:return t._other()}}});var so={};F(so,{ProtobufMethodType:()=>vt,ProtobufType:()=>Oi,WellKnownProtobufType:()=>$});n();a();s();n();a();s();var Sm={Unary:"UNARY",ClientStream:"CLIENT_STREAM",ServerStream:"SERVER_STREAM",BidirectionalStream:"BIDIRECTIONAL_STREAM"},vt=Object.assign(Object.assign({},Sm),{_visit:(e,t)=>{switch(e){case vt.Unary:return t.unary();case vt.ClientStream:return t.clientStream();case vt.ServerStream:return t.serverStream();case vt.BidirectionalStream:return t.bidirectionalStream();default:return t._other()}}});n();a();s();var Oi={wellKnown:e=>({value:e,type:"wellKnown",_visit:function(t){return Oi._visit(this,t)}}),userDefined:e=>Object.assign(Object.assign({},e),{type:"userDefined",_visit:function(t){return Oi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"wellKnown":return t.wellKnown(e.value);case"userDefined":return t.userDefined(e);default:return t._other(e)}}};n();a();s();var $={any:()=>({type:"any",_visit:function(e){return $._visit(this,e)}}),api:()=>({type:"api",_visit:function(e){return $._visit(this,e)}}),boolValue:()=>({type:"boolValue",_visit:function(e){return $._visit(this,e)}}),bytesValue:()=>({type:"bytesValue",_visit:function(e){return $._visit(this,e)}}),doubleValue:()=>({type:"doubleValue",_visit:function(e){return $._visit(this,e)}}),duration:()=>({type:"duration",_visit:function(e){return $._visit(this,e)}}),empty:()=>({type:"empty",_visit:function(e){return $._visit(this,e)}}),enum:()=>({type:"enum",_visit:function(e){return $._visit(this,e)}}),enumValue:()=>({type:"enumValue",_visit:function(e){return $._visit(this,e)}}),field:()=>({type:"field",_visit:function(e){return $._visit(this,e)}}),fieldCardinality:()=>({type:"fieldCardinality",_visit:function(e){return $._visit(this,e)}}),fieldKind:()=>({type:"fieldKind",_visit:function(e){return $._visit(this,e)}}),fieldMask:()=>({type:"fieldMask",_visit:function(e){return $._visit(this,e)}}),floatValue:()=>({type:"floatValue",_visit:function(e){return $._visit(this,e)}}),int32Value:()=>({type:"int32Value",_visit:function(e){return $._visit(this,e)}}),int64Value:()=>({type:"int64Value",_visit:function(e){return $._visit(this,e)}}),listValue:()=>({type:"listValue",_visit:function(e){return $._visit(this,e)}}),method:()=>({type:"method",_visit:function(e){return $._visit(this,e)}}),mixin:()=>({type:"mixin",_visit:function(e){return $._visit(this,e)}}),nullValue:()=>({type:"nullValue",_visit:function(e){return $._visit(this,e)}}),option:()=>({type:"option",_visit:function(e){return $._visit(this,e)}}),sourceContext:()=>({type:"sourceContext",_visit:function(e){return $._visit(this,e)}}),stringValue:()=>({type:"stringValue",_visit:function(e){return $._visit(this,e)}}),struct:()=>({type:"struct",_visit:function(e){return $._visit(this,e)}}),syntax:()=>({type:"syntax",_visit:function(e){return $._visit(this,e)}}),timestamp:()=>({type:"timestamp",_visit:function(e){return $._visit(this,e)}}),type:()=>({type:"type",_visit:function(e){return $._visit(this,e)}}),uint32Value:()=>({type:"uint32Value",_visit:function(e){return $._visit(this,e)}}),uint64Value:()=>({type:"uint64Value",_visit:function(e){return $._visit(this,e)}}),value:()=>({type:"value",_visit:function(e){return $._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"any":return t.any();case"api":return t.api();case"boolValue":return t.boolValue();case"bytesValue":return t.bytesValue();case"doubleValue":return t.doubleValue();case"duration":return t.duration();case"empty":return t.empty();case"enum":return t.enum();case"enumValue":return t.enumValue();case"field":return t.field();case"fieldCardinality":return t.fieldCardinality();case"fieldKind":return t.fieldKind();case"fieldMask":return t.fieldMask();case"floatValue":return t.floatValue();case"int32Value":return t.int32Value();case"int64Value":return t.int64Value();case"listValue":return t.listValue();case"method":return t.method();case"mixin":return t.mixin();case"nullValue":return t.nullValue();case"option":return t.option();case"sourceContext":return t.sourceContext();case"stringValue":return t.stringValue();case"struct":return t.struct();case"syntax":return t.syntax();case"timestamp":return t.timestamp();case"type":return t.type();case"uint32Value":return t.uint32Value();case"uint64Value":return t.uint64Value();case"value":return t.value();default:return t._other(e)}}};var ao={};F(ao,{PublishTarget:()=>nt,PublishingConfig:()=>zt});n();a();s();n();a();s();var zt={github:e=>Object.assign(Object.assign({},e),{type:"github",_visit:function(t){return zt._visit(this,t)}}),direct:e=>Object.assign(Object.assign({},e),{type:"direct",_visit:function(t){return zt._visit(this,t)}}),filesystem:e=>Object.assign(Object.assign({},e),{type:"filesystem",_visit:function(t){return zt._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"github":return t.github(e);case"direct":return t.direct(e);case"filesystem":return t.filesystem(e);default:return t._other(e)}}};n();a();s();var nt={postman:e=>Object.assign(Object.assign({},e),{type:"postman",_visit:function(t){return nt._visit(this,t)}}),npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return nt._visit(this,t)}}),maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return nt._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return nt._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return nt._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"postman":return t.postman(e);case"npm":return t.npm(e);case"maven":return t.maven(e);case"pypi":return t.pypi(e);case"crates":return t.crates(e);default:return t._other(e)}}};var oo={};F(oo,{ContainerType:()=>Ge,ExampleContainer:()=>We,ExamplePrimitive:()=>pe,ExampleSingleUnionTypeProperties:()=>qt,ExampleTypeReferenceShape:()=>wt,ExampleTypeShape:()=>st,Literal:()=>Pi,NamedTypeDefault:()=>ln,ObjectPropertyAccess:()=>fn,PrimitiveTypeV1:()=>ye,PrimitiveTypeV2:()=>le,ResolvedTypeReference:()=>Nt,ShapeType:()=>Gt,SingleUnionTypeProperties:()=>Wt,Source:()=>mn,Type:()=>at,TypeReference:()=>Rt,UnionDiscriminatorContext:()=>dn});n();a();s();n();a();s();var Ge={list:e=>({list:e,type:"list",_visit:function(t){return Ge._visit(this,t)}}),map:e=>Object.assign(Object.assign({},e),{type:"map",_visit:function(t){return Ge._visit(this,t)}}),nullable:e=>({nullable:e,type:"nullable",_visit:function(t){return Ge._visit(this,t)}}),optional:e=>({optional:e,type:"optional",_visit:function(t){return Ge._visit(this,t)}}),set:e=>({set:e,type:"set",_visit:function(t){return Ge._visit(this,t)}}),literal:e=>({literal:e,type:"literal",_visit:function(t){return Ge._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"list":return t.list(e.list);case"map":return t.map(e);case"nullable":return t.nullable(e.nullable);case"optional":return t.optional(e.optional);case"set":return t.set(e.set);case"literal":return t.literal(e.literal);default:return t._other(e)}}};n();a();s();var We={list:e=>Object.assign(Object.assign({},e),{type:"list",_visit:function(t){return We._visit(this,t)}}),set:e=>Object.assign(Object.assign({},e),{type:"set",_visit:function(t){return We._visit(this,t)}}),optional:e=>Object.assign(Object.assign({},e),{type:"optional",_visit:function(t){return We._visit(this,t)}}),nullable:e=>Object.assign(Object.assign({},e),{type:"nullable",_visit:function(t){return We._visit(this,t)}}),map:e=>Object.assign(Object.assign({},e),{type:"map",_visit:function(t){return We._visit(this,t)}}),literal:e=>Object.assign(Object.assign({},e),{type:"literal",_visit:function(t){return We._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"list":return t.list(e);case"set":return t.set(e);case"optional":return t.optional(e);case"nullable":return t.nullable(e);case"map":return t.map(e);case"literal":return t.literal(e);default:return t._other(e)}}};n();a();s();var pe={integer:e=>({integer:e,type:"integer",_visit:function(t){return pe._visit(this,t)}}),long:e=>({long:e,type:"long",_visit:function(t){return pe._visit(this,t)}}),uint:e=>({uint:e,type:"uint",_visit:function(t){return pe._visit(this,t)}}),uint64:e=>({uint64:e,type:"uint64",_visit:function(t){return pe._visit(this,t)}}),float:e=>({float:e,type:"float",_visit:function(t){return pe._visit(this,t)}}),double:e=>({double:e,type:"double",_visit:function(t){return pe._visit(this,t)}}),boolean:e=>({boolean:e,type:"boolean",_visit:function(t){return pe._visit(this,t)}}),string:e=>({string:e,type:"string",_visit:function(t){return pe._visit(this,t)}}),date:e=>({date:e,type:"date",_visit:function(t){return pe._visit(this,t)}}),datetime:e=>Object.assign(Object.assign({},e),{type:"datetime",_visit:function(t){return pe._visit(this,t)}}),datetimeRfc2822:e=>Object.assign(Object.assign({},e),{type:"datetimeRfc2822",_visit:function(t){return pe._visit(this,t)}}),uuid:e=>({uuid:e,type:"uuid",_visit:function(t){return pe._visit(this,t)}}),base64:e=>({base64:e,type:"base64",_visit:function(t){return pe._visit(this,t)}}),bigInteger:e=>({bigInteger:e,type:"bigInteger",_visit:function(t){return pe._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"integer":return t.integer(e.integer);case"long":return t.long(e.long);case"uint":return t.uint(e.uint);case"uint64":return t.uint64(e.uint64);case"float":return t.float(e.float);case"double":return t.double(e.double);case"boolean":return t.boolean(e.boolean);case"string":return t.string(e.string);case"date":return t.date(e.date);case"datetime":return t.datetime(e);case"datetimeRfc2822":return t.datetimeRfc2822(e);case"uuid":return t.uuid(e.uuid);case"base64":return t.base64(e.base64);case"bigInteger":return t.bigInteger(e.bigInteger);default:return t._other(e)}}};n();a();s();var qt={samePropertiesAsObject:e=>Object.assign(Object.assign({},e),{type:"samePropertiesAsObject",_visit:function(t){return qt._visit(this,t)}}),singleProperty:e=>Object.assign(Object.assign({},e),{type:"singleProperty",_visit:function(t){return qt._visit(this,t)}}),noProperties:()=>({type:"noProperties",_visit:function(e){return qt._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"samePropertiesAsObject":return t.samePropertiesAsObject(e);case"singleProperty":return t.singleProperty(e);case"noProperties":return t.noProperties();default:return t._other(e)}}};n();a();s();var wt={primitive:e=>({primitive:e,type:"primitive",_visit:function(t){return wt._visit(this,t)}}),container:e=>({container:e,type:"container",_visit:function(t){return wt._visit(this,t)}}),unknown:e=>({unknown:e,type:"unknown",_visit:function(t){return wt._visit(this,t)}}),named:e=>Object.assign(Object.assign({},e),{type:"named",_visit:function(t){return wt._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"primitive":return t.primitive(e.primitive);case"container":return t.container(e.container);case"unknown":return t.unknown(e.unknown);case"named":return t.named(e);default:return t._other(e)}}};n();a();s();var st={alias:e=>Object.assign(Object.assign({},e),{type:"alias",_visit:function(t){return st._visit(this,t)}}),enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return st._visit(this,t)}}),object:e=>Object.assign(Object.assign({},e),{type:"object",_visit:function(t){return st._visit(this,t)}}),union:e=>Object.assign(Object.assign({},e),{type:"union",_visit:function(t){return st._visit(this,t)}}),undiscriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"undiscriminatedUnion",_visit:function(t){return st._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"alias":return t.alias(e);case"enum":return t.enum(e);case"object":return t.object(e);case"union":return t.union(e);case"undiscriminatedUnion":return t.undiscriminatedUnion(e);default:return t._other(e)}}};n();a();s();var Pi={string:e=>({string:e,type:"string",_visit:function(t){return Pi._visit(this,t)}}),boolean:e=>({boolean:e,type:"boolean",_visit:function(t){return Pi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"string":return t.string(e.string);case"boolean":return t.boolean(e.boolean);default:return t._other(e)}}};n();a();s();var ln={enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return ln._visit(this,t)}}),_visit:(e,t)=>e.type==="enum"?t.enum(e):t._other(e)};n();a();s();var Tm={ReadOnly:"READ_ONLY",WriteOnly:"WRITE_ONLY"},fn=Object.assign(Object.assign({},Tm),{_visit:(e,t)=>{switch(e){case fn.ReadOnly:return t.readOnly();case fn.WriteOnly:return t.writeOnly();default:return t._other()}}});n();a();s();var Am={Integer:"INTEGER",Long:"LONG",Uint:"UINT",Uint64:"UINT_64",Float:"FLOAT",Double:"DOUBLE",Boolean:"BOOLEAN",String:"STRING",Date:"DATE",DateTime:"DATE_TIME",DateTimeRfc2822:"DATE_TIME_RFC_2822",Uuid:"UUID",Base64:"BASE_64",BigInteger:"BIG_INTEGER"},ye=Object.assign(Object.assign({},Am),{_visit:(e,t)=>{switch(e){case ye.Integer:return t.integer();case ye.Long:return t.long();case ye.Uint:return t.uint();case ye.Uint64:return t.uint64();case ye.Float:return t.float();case ye.Double:return t.double();case ye.Boolean:return t.boolean();case ye.String:return t.string();case ye.Date:return t.date();case ye.DateTime:return t.dateTime();case ye.DateTimeRfc2822:return t.dateTimeRfc2822();case ye.Uuid:return t.uuid();case ye.Base64:return t.base64();case ye.BigInteger:return t.bigInteger();default:return t._other()}}});n();a();s();var le={integer:e=>Object.assign(Object.assign({},e),{type:"integer",_visit:function(t){return le._visit(this,t)}}),long:e=>Object.assign(Object.assign({},e),{type:"long",_visit:function(t){return le._visit(this,t)}}),uint:e=>Object.assign(Object.assign({},e),{type:"uint",_visit:function(t){return le._visit(this,t)}}),uint64:e=>Object.assign(Object.assign({},e),{type:"uint64",_visit:function(t){return le._visit(this,t)}}),float:e=>Object.assign(Object.assign({},e),{type:"float",_visit:function(t){return le._visit(this,t)}}),double:e=>Object.assign(Object.assign({},e),{type:"double",_visit:function(t){return le._visit(this,t)}}),boolean:e=>Object.assign(Object.assign({},e),{type:"boolean",_visit:function(t){return le._visit(this,t)}}),string:e=>Object.assign(Object.assign({},e),{type:"string",_visit:function(t){return le._visit(this,t)}}),date:e=>Object.assign(Object.assign({},e),{type:"date",_visit:function(t){return le._visit(this,t)}}),dateTime:e=>Object.assign(Object.assign({},e),{type:"dateTime",_visit:function(t){return le._visit(this,t)}}),dateTimeRfc2822:e=>Object.assign(Object.assign({},e),{type:"dateTimeRfc2822",_visit:function(t){return le._visit(this,t)}}),uuid:e=>Object.assign(Object.assign({},e),{type:"uuid",_visit:function(t){return le._visit(this,t)}}),base64:e=>Object.assign(Object.assign({},e),{type:"base64",_visit:function(t){return le._visit(this,t)}}),bigInteger:e=>Object.assign(Object.assign({},e),{type:"bigInteger",_visit:function(t){return le._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"integer":return t.integer(e);case"long":return t.long(e);case"uint":return t.uint(e);case"uint64":return t.uint64(e);case"float":return t.float(e);case"double":return t.double(e);case"boolean":return t.boolean(e);case"string":return t.string(e);case"date":return t.date(e);case"dateTime":return t.dateTime(e);case"dateTimeRfc2822":return t.dateTimeRfc2822(e);case"uuid":return t.uuid(e);case"base64":return t.base64(e);case"bigInteger":return t.bigInteger(e);default:return t._other(e)}}};n();a();s();var Nt={container:e=>({container:e,type:"container",_visit:function(t){return Nt._visit(this,t)}}),named:e=>Object.assign(Object.assign({},e),{type:"named",_visit:function(t){return Nt._visit(this,t)}}),primitive:e=>({primitive:e,type:"primitive",_visit:function(t){return Nt._visit(this,t)}}),unknown:()=>({type:"unknown",_visit:function(e){return Nt._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"container":return t.container(e.container);case"named":return t.named(e);case"primitive":return t.primitive(e.primitive);case"unknown":return t.unknown();default:return t._other(e)}}};n();a();s();var Im={Enum:"ENUM",Object:"OBJECT",Union:"UNION",UndiscriminatedUnion:"UNDISCRIMINATED_UNION"},Gt=Object.assign(Object.assign({},Im),{_visit:(e,t)=>{switch(e){case Gt.Enum:return t.enum();case Gt.Object:return t.object();case Gt.Union:return t.union();case Gt.UndiscriminatedUnion:return t.undiscriminatedUnion();default:return t._other()}}});n();a();s();var Wt={samePropertiesAsObject:e=>Object.assign(Object.assign({},e),{propertiesType:"samePropertiesAsObject",_visit:function(t){return Wt._visit(this,t)}}),singleProperty:e=>Object.assign(Object.assign({},e),{propertiesType:"singleProperty",_visit:function(t){return Wt._visit(this,t)}}),noProperties:()=>({propertiesType:"noProperties",_visit:function(e){return Wt._visit(this,e)}}),_visit:(e,t)=>{switch(e.propertiesType){case"samePropertiesAsObject":return t.samePropertiesAsObject(e);case"singleProperty":return t.singleProperty(e);case"noProperties":return t.noProperties();default:return t._other(e)}}};n();a();s();var mn={proto:e=>({value:e,type:"proto",_visit:function(t){return mn._visit(this,t)}}),_visit:(e,t)=>e.type==="proto"?t.proto(e.value):t._other(e)};n();a();s();var at={alias:e=>Object.assign(Object.assign({},e),{type:"alias",_visit:function(t){return at._visit(this,t)}}),enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return at._visit(this,t)}}),object:e=>Object.assign(Object.assign({},e),{type:"object",_visit:function(t){return at._visit(this,t)}}),union:e=>Object.assign(Object.assign({},e),{type:"union",_visit:function(t){return at._visit(this,t)}}),undiscriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"undiscriminatedUnion",_visit:function(t){return at._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"alias":return t.alias(e);case"enum":return t.enum(e);case"object":return t.object(e);case"union":return t.union(e);case"undiscriminatedUnion":return t.undiscriminatedUnion(e);default:return t._other(e)}}};n();a();s();var Rt={container:e=>({container:e,type:"container",_visit:function(t){return Rt._visit(this,t)}}),named:e=>Object.assign(Object.assign({},e),{type:"named",_visit:function(t){return Rt._visit(this,t)}}),primitive:e=>({primitive:e,type:"primitive",_visit:function(t){return Rt._visit(this,t)}}),unknown:()=>({type:"unknown",_visit:function(e){return Rt._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"container":return t.container(e.container);case"named":return t.named(e);case"primitive":return t.primitive(e.primitive);case"unknown":return t.unknown();default:return t._other(e)}}};n();a();s();var Em={Data:"data",Protocol:"protocol"},dn=Object.assign(Object.assign({},Em),{_visit:(e,t)=>{switch(e){case dn.Data:return t.data();case dn.Protocol:return t.protocol();default:return t._other()}}});var Cc={};n();a();s();var co={};F(co,{AsymmetricAlgorithm:()=>$e,AsymmetricKeySource:()=>Ci,HmacAlgorithm:()=>$t,WebhookHttpMethod:()=>hn,WebhookPayload:()=>_i,WebhookPayloadBodySort:()=>uo,WebhookPayloadComponent:()=>Ht,WebhookSignatureEncoding:()=>yn,WebhookSignatureVerification:()=>ki,WebhookTimestampFormat:()=>Fi});n();a();s();n();a();s();var wm={RsaSha256:"RSA_SHA256",RsaSha384:"RSA_SHA384",RsaSha512:"RSA_SHA512",EcdsaSha256:"ECDSA_SHA256",EcdsaSha384:"ECDSA_SHA384",EcdsaSha512:"ECDSA_SHA512",Ed25519:"ED25519"},$e=Object.assign(Object.assign({},wm),{_visit:(e,t)=>{switch(e){case $e.RsaSha256:return t.rsaSha256();case $e.RsaSha384:return t.rsaSha384();case $e.RsaSha512:return t.rsaSha512();case $e.EcdsaSha256:return t.ecdsaSha256();case $e.EcdsaSha384:return t.ecdsaSha384();case $e.EcdsaSha512:return t.ecdsaSha512();case $e.Ed25519:return t.ed25519();default:return t._other()}}});n();a();s();var Ci={jwks:e=>Object.assign(Object.assign({},e),{type:"jwks",_visit:function(t){return Ci._visit(this,t)}}),static:e=>Object.assign(Object.assign({},e),{type:"static",_visit:function(t){return Ci._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"jwks":return t.jwks(e);case"static":return t.static(e);default:return t._other(e)}}};n();a();s();var Nm={Sha256:"SHA256",Sha1:"SHA1",Sha384:"SHA384",Sha512:"SHA512"},$t=Object.assign(Object.assign({},Nm),{_visit:(e,t)=>{switch(e){case $t.Sha256:return t.sha256();case $t.Sha1:return t.sha1();case $t.Sha384:return t.sha384();case $t.Sha512:return t.sha512();default:return t._other()}}});n();a();s();var Rm={Get:"GET",Post:"POST"},hn=Object.assign(Object.assign({},Rm),{_visit:(e,t)=>{switch(e){case hn.Get:return t.get();case hn.Post:return t.post();default:return t._other()}}});n();a();s();var _i={inlinedPayload:e=>Object.assign(Object.assign({},e),{type:"inlinedPayload",_visit:function(t){return _i._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return _i._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"inlinedPayload":return t.inlinedPayload(e);case"reference":return t.reference(e);default:return t._other(e)}}};n();a();s();var Om={Alphabetical:"ALPHABETICAL"},uo=Object.assign(Object.assign({},Om),{_visit:(e,t)=>e===uo.Alphabetical?t.alphabetical():t._other()});n();a();s();var Pm={Body:"BODY",Timestamp:"TIMESTAMP",NotificationUrl:"NOTIFICATION_URL",MessageId:"MESSAGE_ID"},Ht=Object.assign(Object.assign({},Pm),{_visit:(e,t)=>{switch(e){case Ht.Body:return t.body();case Ht.Timestamp:return t.timestamp();case Ht.NotificationUrl:return t.notificationUrl();case Ht.MessageId:return t.messageId();default:return t._other()}}});n();a();s();var Cm={Base64:"BASE64",Hex:"HEX"},yn=Object.assign(Object.assign({},Cm),{_visit:(e,t)=>{switch(e){case yn.Base64:return t.base64();case yn.Hex:return t.hex();default:return t._other()}}});n();a();s();var ki={hmac:e=>Object.assign(Object.assign({},e),{type:"hmac",_visit:function(t){return ki._visit(this,t)}}),asymmetric:e=>Object.assign(Object.assign({},e),{type:"asymmetric",_visit:function(t){return ki._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"hmac":return t.hmac(e);case"asymmetric":return t.asymmetric(e);default:return t._other(e)}}};n();a();s();var _m={UnixSeconds:"UNIX_SECONDS",UnixMillis:"UNIX_MILLIS",Iso8601:"ISO8601"},Fi=Object.assign(Object.assign({},_m),{_visit:(e,t)=>{switch(e){case Fi.UnixSeconds:return t.unixSeconds();case Fi.UnixMillis:return t.unixMillis();case Fi.Iso8601:return t.iso8601();default:return t._other()}}});var po={};F(po,{ExampleWebSocketMessageBody:()=>Li,WebSocketMessageBody:()=>ji,WebSocketMessageOrigin:()=>gn});n();a();s();n();a();s();var Li={inlinedBody:e=>Object.assign(Object.assign({},e),{type:"inlinedBody",_visit:function(t){return Li._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return Li._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"inlinedBody":return t.inlinedBody(e);case"reference":return t.reference(e);default:return t._other(e)}}};n();a();s();var ji={inlinedBody:e=>Object.assign(Object.assign({},e),{type:"inlinedBody",_visit:function(t){return ji._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return ji._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"inlinedBody":return t.inlinedBody(e);case"reference":return t.reference(e);default:return t._other(e)}}};n();a();s();var km={Client:"client",Server:"server"},gn=Object.assign(Object.assign({},km),{_visit:(e,t)=>{switch(e){case gn.Client:return t.client();case gn.Server:return t.server();default:return t._other()}}});var Sn={};F(Sn,{camelCase:()=>xn,hash:()=>Ne,normalizeDates:()=>Fm,uniqueId:()=>lo,upperFirst:()=>bn});n();a();s();function bn(e){return`${e.charAt(0).toUpperCase()}${e.slice(1)}`}function xn(e){e=e.trim();let t=e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1 $2").split(/[\s_-]+/).filter(r=>r.length>0);return t.length===0?"":t.map((r,i)=>(r=r.toLowerCase(),i===0?r:`${r.charAt(0).toUpperCase()}${r.slice(1)}`)).join("")}function Ne(e){let t=0;for(let r of e)t=(t<<5)-t+r.charCodeAt(0);return t}function lo(e){function t(i){let o=Math.sin(i++)*1e4;return o-Math.floor(o)}let r=Ne(e);return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(i){let o=t(r++)*16|0;return(i==="x"?o:o&3|8).toString(16)})}function Fm(e,t){return C.isIsoDateTimeString(t)?new Date(t).toISOString():C.isIsoDateString(t)?new Date(t).toISOString().slice(0,10):t}var Kt=class extends L{constructor(){super(...arguments);m(this,"defaultValue",this.csharp.Literal.null());m(this,"isOptional",!1);m(this,"isReferenceType",!1);m(this,"fullyQualifiedName",this.constructor.name)}get isAsyncEnumerable(){return!1}get isCollection(){return!1}getCollectionItemType(){}asOptional(){return new Re(this,this.generation)}asNullable(){return new Pt(this,this.generation)}asNonOptional(){return this}write(r){r.write(this.fullyQualifiedName)}writeEmptyCollectionInitializer(r){}getDeterminsticDefault(r){return this.csharp.Literal.nop()}},be=class extends Kt{get multipartMethodName(){return"AddStringPart"}get multipartMethodNameForCollection(){return"AddStringParts"}},ot=class extends Kt{constructor(){super(...arguments);m(this,"isReferenceType",!0)}},Ot=class extends ot{get isCollection(){return!0}get multipartMethodName(){return"AddJsonPart"}get multipartMethodNameForCollection(){return"AddJsonParts"}},Di=class extends ot{get multipartMethodName(){return"AddJsonPart"}get multipartMethodNameForCollection(){return"AddJsonParts"}},Re=class extends ot{constructor(r,i){super(i);m(this,"isOptional",!0);m(this,"value");this.value=r}get isCollection(){return!1}get multipartMethodName(){return this.value.multipartMethodName}get multipartMethodNameForCollection(){return this.value.multipartMethodNameForCollection}asOptional(){return this}asNullable(){return this}asNonOptional(){return this.value}write(r){this.value.write(r),this.value.isOptional||r.write("?")}},Pt=class extends ot{constructor(r,i){super(i);m(this,"isOptional",!0);m(this,"value");this.value=r}get isCollection(){return!1}get multipartMethodName(){return this.value.multipartMethodName}get multipartMethodNameForCollection(){return this.value.multipartMethodNameForCollection}asOptional(){return this}asNullable(){return this}asNonOptional(){return this.value}write(r){this.value.write(r),this.value.isOptional||r.write("?")}},Qt=class extends ot{constructor(r,i){super(i);m(this,"isOptional",!0);m(this,"value");this.value=r}get isCollection(){return!1}get multipartMethodName(){return this.value.multipartMethodName}get multipartMethodNameForCollection(){return this.value.multipartMethodNameForCollection}asOptional(){return this}asNullable(){return this}asNonOptional(){return this.value}write(r){let i=this.generation.Types.Optional;r.addReference(i),r.write("Optional<"),this.value.write(r),r.write(">")}},q;(function(e){class t extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","int");m(this,"defaultValue",this.csharp.Literal.integer(0))}getDeterminsticDefault(w){return this.csharp.Literal.integer(Ne(w)&2147483647)}}e.Integer=t;class r extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","long");m(this,"defaultValue",this.csharp.Literal.long(0))}getDeterminsticDefault(w){return this.csharp.Literal.long(Ne(w)&0x7ffffffffffff)}}e.Long=r;class i extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","uint");m(this,"defaultValue",this.csharp.Literal.uint(0))}getDeterminsticDefault(w){return this.csharp.Literal.uint(Ne(w)&2147483647)}}e.Uint=i;class o extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","ulong");m(this,"defaultValue",this.csharp.Literal.ulong(0))}getDeterminsticDefault(w){return this.csharp.Literal.ulong(Ne(w)&0x7ffffffffffff)}}e.ULong=o;class c extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","string");m(this,"defaultValue",this.csharp.Literal.string(""));m(this,"isReferenceType",!0)}getDeterminsticDefault(w){return this.csharp.Literal.string(`<${w}>`)}}e.String=c;class d extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","bool");m(this,"defaultValue",this.csharp.Literal.boolean(!1))}getDeterminsticDefault(w){return this.csharp.Literal.boolean(Ne(w)%2===0)}}e.Boolean=d;class y extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","float");m(this,"defaultValue",this.csharp.Literal.float(0))}getDeterminsticDefault(w){return this.csharp.Literal.float((Ne(w)&2147483647)/100)}}e.Float=y;class g extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","double");m(this,"defaultValue",this.csharp.Literal.double(0))}getDeterminsticDefault(w){return this.csharp.Literal.double((Ne(w)&0x7ffffffffffff)/100)}}e.Double=g;class x extends Di{constructor(){super(...arguments);m(this,"fullyQualifiedName","object")}}e.Object=x;class S extends be{constructor(w,V){super(V);m(this,"fullyQualifiedName");this.fullyQualifiedName=w}}e.ArbitraryType=S})(q||(q={}));var Ie;(function(e){class t extends ot{get multipartMethodName(){return re("byte[] can not be added to multipart form"),""}get multipartMethodNameForCollection(){return re("byte[] can not be added to multipart form"),""}write(y){y.write("byte[]")}}e.Binary=t;class r extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","DateOnly")}getDeterminsticDefault(g){let x=new Date(Ne(g)&0x7ffffffffffff);return this.csharp.Literal.date(x.toISOString())}}e.DateOnly=r;class i extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","DateTime")}getDeterminsticDefault(g){let x=new Date(Ne(g)&0x7ffffffffffff);return this.csharp.Literal.datetime(x.toISOString())}}e.DateTime=i;class o extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","string");m(this,"defaultValue",this.csharp.Literal.string(""));m(this,"isReferenceType",!0)}getDeterminsticDefault(g){return this.csharp.Literal.string(lo(g))}}e.Uuid=o;class c extends be{constructor(g,x){super(x);m(this,"value");this.value=g}write(g){this.Types.StringEnum(this.value).write(g)}}e.StringEnum=c})(Ie||(Ie={}));var se;(function(e){class t extends Di{constructor(S,A){super(A);m(this,"isReferenceType",!0);m(this,"value");this.value=S}getCollectionItemType(){return this.value}write(S){if(Jt({writer:S,value:this.value})){this.writeReadOnlyMemoryType({writer:S,value:this.value});return}this.value.write(S),S.write("[]")}writeReadOnlyMemoryType({writer:S,value:A}){S.writeNode(this.System.ReadOnlyMemory(A))}}e.Array=t;class r extends Ot{constructor(S,A){super(A);m(this,"value");this.value=S}get multipartMethodName(){return this.value.multipartMethodNameForCollection}get multipartMethodNameForCollection(){return this.value.multipartMethodNameForCollection}getCollectionItemType(){return this.value}write(S){if(Jt({writer:S,value:this.value})){this.writeReadOnlyMemoryType({writer:S,value:this.value});return}S.writeNode(this.System.Collections.Generic.List(this.value))}writeEmptyCollectionInitializer(S){Jt({writer:S,value:this.value})||S.writeStatement(" = ",this.System.Collections.Generic.List(this.value).new())}writeReadOnlyMemoryType({writer:S,value:A}){S.writeNode(this.System.ReadOnlyMemory(A))}}e.ListType=r;class i extends Ot{constructor(S,A){super(A);m(this,"value");this.value=S}get multipartMethodName(){return this.value.multipartMethodNameForCollection}get multipartMethodNameForCollection(){return this.value.multipartMethodNameForCollection}getCollectionItemType(){return this.value}write(S){if(Jt({writer:S,value:this.value})){this.writeReadOnlyMemoryType({writer:S,value:this.value});return}S.writeNode(this.System.Collections.Generic.IEnumerable(this.value))}writeEmptyCollectionInitializer(S){Jt({writer:S,value:this.value})||S.writeStatement(" = ",this.System.Collections.Generic.List(this.value).new())}writeReadOnlyMemoryType({writer:S,value:A}){S.writeNode(this.System.ReadOnlyMemory(A))}}e.List=i;class o extends Ot{constructor(S,A){super(A);m(this,"value");this.value=S}getCollectionItemType(){return this.value}write(S){S.writeNode(this.System.Collections.Generic.HashSet(this.value))}writeEmptyCollectionInitializer(S){S.writeStatement(" = ",this.System.Collections.Generic.HashSet(this.value).new())}}e.Set=o;class c extends Ot{constructor(S,A,O,w){super(O);m(this,"keyType");m(this,"options");m(this,"valueType");this.keyType=S,this.valueType=A,this.options=w}getCollectionItemType(){return this.Collection.keyValuePair(this.keyType,this.valueType)}write(S){if(this.options?.dontSimplify!==!0&&S.generation.settings.simplifyObjectDictionaries&&this.keyType instanceof q.String&&this.valueType instanceof Re&&this.valueType.value instanceof q.Object){S.write("object");return}S.write(this.System.Collections.Generic.Dictionary(this.keyType,this.valueType))}writeEmptyCollectionInitializer(S){S.writeStatement(" = ",this.System.Collections.Generic.Dictionary(this.keyType,this.valueType).new())}}e.Map=c;class d extends Ot{constructor(S,A,O,w){super(O);m(this,"keyType");m(this,"options");m(this,"valueType");this.keyType=S,this.valueType=A,this.options=w}getCollectionItemType(){return this.Collection.keyValuePair(this.keyType,this.valueType)}write(S){if(this.options?.dontSimplify!==!0&&S.generation.settings.simplifyObjectDictionaries&&this.keyType instanceof q.String&&this.valueType instanceof Re&&this.valueType.value instanceof q.Object){S.write("object");return}S.writeNode(this.System.Collections.Generic.IDictionary(this.keyType,this.valueType))}}e.IDictionary=d;class y extends Di{constructor(S,A,O){super(O);m(this,"isReferenceType",!1);m(this,"keyType");m(this,"valueType");this.keyType=S,this.valueType=A}write(S){S.writeNode(this.System.Collections.Generic.KeyValuePair(this.keyType,this.valueType))}}e.KeyValuePair=y})(se||(se={}));function _c(e){return e.map(t=>{switch(t){case"int":return N.PrimitiveTypeV1.Integer;case"long":return N.PrimitiveTypeV1.Long;case"uint":return N.PrimitiveTypeV1.Uint;case"ulong":return N.PrimitiveTypeV1.Uint64;case"string":return N.PrimitiveTypeV1.String;case"bool":case"boolean":return N.PrimitiveTypeV1.Boolean;case"float":return N.PrimitiveTypeV1.Float;case"double":return N.PrimitiveTypeV1.Double;default:throw new Error(`Internal error; unknown ReadOnlyMemory type: ${t}`)}})}function Jt({writer:e,value:t}){return t instanceof Re?Jt({writer:e,value:t.value}):t instanceof q.Integer?e.isReadOnlyMemoryType("int"):t instanceof q.Long?e.isReadOnlyMemoryType("long"):t instanceof q.Uint?e.isReadOnlyMemoryType("uint"):t instanceof q.ULong?e.isReadOnlyMemoryType("ulong"):t instanceof q.String?e.isReadOnlyMemoryType("string"):t instanceof q.Boolean?e.isReadOnlyMemoryType("bool"):t instanceof q.Float?e.isReadOnlyMemoryType("float"):t instanceof q.Double?e.isReadOnlyMemoryType("double"):!1}var ge=class extends Te{constructor({name:r,namespace:i,namespaceAlias:o,enclosingType:c,generics:d,fullyQualified:y,global:g,fullyQualifiedName:x,origin:S,isCollection:A,multipartMethodName:O,multipartMethodNameForCollection:w,isReferenceType:V},G,U){super(S,U);m(this,"scope");m(this,"name");m(this,"namespace");m(this,"namespaceAlias");m(this,"enclosingType");m(this,"generics");m(this,"fullyQualified");m(this,"global");m(this,"fullyQualifiedName");m(this,"isCollection");m(this,"namespaceSegments");m(this,"isReferenceType");m(this,"multipartMethodName");m(this,"multipartMethodNameForCollection");this.scope=G,this.name=r,this.namespace=c?.namespace??i??"",this.namespaceAlias=o,this.enclosingType=c,this.generics=d??[],this.fullyQualified=y??!1,this.global=g??!1,this.namespaceSegments=this.namespace.split("."),this.isCollection=A??!1,c!=null?this.fullyQualifiedName=c.fullyQualifiedName?`${c.fullyQualifiedName}+${r}`:r:this.fullyQualifiedName=x||r,this.multipartMethodName=O===void 0?"AddJsonPart":O,this.multipartMethodNameForCollection=w===void 0?"AddJsonParts":w,this.isReferenceType=V}write(r){this.writeInternal(r,!1)}writeAsAttribute(r){this.writeInternal(r,!0)}get csharpQualifiedName(){return this.fullyQualifiedName.replaceAll("+",".")}get scopedName(){return this.enclosingType?`${this.enclosingType.name}.${this.name}`:this.name}getScopedName(r){let i=r&&this.name.endsWith("Attribute")?this.name.slice(0,-9):this.name;return this.enclosingType?`${this.enclosingType.name}.${i}`:i}writeInternal(r,i){let o=this.getScopedName(i),c=this.registry.isAmbiguousTypeName(this.name)||this.registry.isAmbiguousTypeName(this.enclosingType?.name)||r.getReferencedNamespaces().some(x=>x!==this.namespace&&this.registry.isRegisteredTypeName(`${x}.${this.name}`)),d=!r.skipGlobalQualifier&&(this.global||this.namespaceSegments[0]==="System"||this.registry.isAmbiguousTypeName(this.namespaceSegments[0])||this.registry.isAmbiguousNamespaceName(this.namespaceSegments[0])||this.registry.hasTypeNamespaceConflict(this.namespaceSegments[0])||r.generation.settings.useFullyQualifiedNamespaces),y=this.csharpQualifiedName;if(i&&y.endsWith("Attribute")){let x=y.lastIndexOf(".");if(x>=0){let S=y.substring(0,x+1),A=y.substring(x+1);A.endsWith("Attribute")&&(y=S+A.slice(0,-9))}else y=y.slice(0,-9)}let g=`${d?"global::":""}${y}`;if(!this.namespace){r.write(o);return}if(this.namespaceAlias!=null){let x=r.addNamespaceAlias(this.namespaceAlias,this.resolveNamespace());r.write(`${x}.${o}`)}else if(r.skipImports)r.write(o);else if(this.fullyQualified)r.write(g);else if(this.qualifiedTypeNameRequired(r,i)||r.skipImports){let x=this.getTypeQualification({classReferenceNamespace:this.resolveNamespace(),namespaceToBeWrittenTo:r.namespace,isAttribute:i}),S=x.split(".");d||this.registry.isAmbiguousTypeName(S[0])||this.registry.isAmbiguousNamespaceName(S[0])||this.registry.hasTypeNamespaceConflict(S[0])?r.write(g):r.write(`${x}${o}`)}else c&&this.resolveNamespace()!==r.namespace||this.registry.hasTypeNamespaceConflict(this.name)?r.write(g):(r.addReference(this),r.write(o));this.generics!=null&&this.generics.length>0&&(r.write("<"),this.generics.forEach((x,S)=>{r.writeNode(x),S<this.generics.length-1&&r.write(", ")}),r.write(">"))}hasNamespaceConflict(r,i){let o=i.lastIndexOf(".");return(o===-1?i:i.substring(o+1))===r?!0:i.split(".").includes(r)}getTypeQualification({classReferenceNamespace:r,namespaceToBeWrittenTo:i,isAttribute:o}){if(r===i)return"";if(r.startsWith(`${i}.`))return`${r.substring(i.length+1)}.`;let c=o&&!this.name.endsWith("Attribute")?`${this.name}Attribute`:this.name;if(this.hasNamespaceConflict(c,i))return i.indexOf(".")===-1&&i===c?`global::${r}.`:`${r}.`;let y=this.namespaceSegments,g=i.split("."),x=0,S=Math.min(y.length,g.length);for(;x<S&&y[x]===g[x];)x++;return x>0&&x<y.length?`${y.slice(x).join(".")}.`:`${r}.`}qualifiedTypeNameRequired(r,i){let o=r.namespace;if(this.namespace===o)return!1;let c=i&&!this.name.endsWith("Attribute")?`${this.name}Attribute`:this.name;return this.hasNamespaceConflict(c,o)?!0:i&&!this.potentialConflictWithGeneratedType(r,i)?!1:this.namespace.startsWith(`${o}.`)?this.potentialConflictWithGeneratedType(r,i):this.potentialConflictWithGeneratedType(r,i)}potentialConflictWithGeneratedType(r,i=!1){let o=r.getAllTypeClassReferences().get(this.name);if(o==null)return!1;let c=new Set(o);if(c.delete(this.namespace),c.size===0)return i?!1:this.hasProjectNamespaceConflict(r);let d=r.namespace;for(let y of c)if(y===d||d.startsWith(`${y}.`))return!0;return i?!1:this.hasProjectNamespaceConflict(r)}hasProjectNamespaceConflict(r){return r.getAllNamespaceSegments().has(this.name)}resolveNamespace(){return this.registry.resolveNamespace(this.namespace)}asFullyQualified(){return this.csharp.classReferenceInternal({...this,fullyQualified:!0})}new(r){return r=r??{arguments_:[]},this.csharp.instantiateClass({...r,classReference:this})}explicit(r){return this.origin||re(`Cannot create explicitly named member '${r}' on '${this.name}' because the class is not bound to an origin.`),this.model.explicit(this.origin,r)}registerField(r,i,o){return this.scope.registerField(r,i,o)}getFieldName(r,i){return this.scope.getFieldName(r,i)}registerMethod(r,i){return r}get isOptional(){return!1}asOptional(){return new Re(this,this.generation)}asNullable(){return new Pt(this,this.generation)}asNonOptional(){return this}get defaultValue(){return this.csharp.Literal.null()}get isAsyncEnumerable(){return this.name==="IAsyncEnumerable"&&this.namespace==="System.Collections.Generic"}};n();a();s();var _=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),M={FernFilepath:e=>_(e)&&"allParts"in e&&"packagePath"in e&&Array.isArray(e.allParts)&&Array.isArray(e.packagePath),Name:e=>_(e)&&"originalName"in e&&"camelCase"in e&&"pascalCase"in e&&"snakeCase"in e&&"screamingSnakeCase"in e&&typeof e.originalName=="string",NameAndWireValue:e=>_(e)&&"wireValue"in e&&"name"in e&&typeof e.wireValue=="string",SafeAndUnsafeString:e=>_(e)&&"unsafeName"in e&&"safeName"in e&&typeof e.unsafeName=="string"&&typeof e.safeName=="string",WithDocs:e=>_(e),BasicAuth:e=>_(e)&&"username"in e&&"password"in e,BasicAuthValues:e=>_(e)&&"username"in e&&"password"in e&&typeof e.username=="string"&&typeof e.password=="string",BearerAuth:e=>_(e)&&"token"in e,BearerAuthValues:e=>_(e)&&"token"in e&&typeof e.token=="string",HeaderAuth:e=>_(e)&&"header"in e,HeaderAuthValues:e=>_(e),InferredAuth:e=>_(e),InferredAuthValues:e=>_(e),OAuth:e=>_(e)&&"clientId"in e&&"clientSecret"in e,OAuthValues:e=>_(e)&&"clientId"in e&&"clientSecret"in e&&typeof e.clientId=="string"&&typeof e.clientSecret=="string",EnvironmentBaseUrlWithId:e=>_(e)&&"id"in e&&"name"in e,EnvironmentsConfig:e=>_(e)&&"environments"in e,MultipleBaseUrlsEnvironment:e=>_(e)&&"id"in e&&"name"in e&&"urls"in e&&_(e.urls),MultipleBaseUrlsEnvironments:e=>_(e)&&"baseUrls"in e&&"environments"in e&&Array.isArray(e.baseUrls)&&Array.isArray(e.environments),SingleBaseUrlEnvironment:e=>_(e)&&"id"in e&&"name"in e&&"url"in e,SingleBaseUrlEnvironments:e=>_(e)&&"environments"in e&&Array.isArray(e.environments),AliasType:e=>_(e)&&"declaration"in e&&"typeReference"in e,DiscriminatedUnionType:e=>_(e)&&"declaration"in e&&"discriminant"in e&&"types"in e&&_(e.types),EnumType:e=>_(e)&&"declaration"in e&&"values"in e&&Array.isArray(e.values),MapType:e=>_(e)&&"key"in e&&"value"in e,NamedParameter:e=>_(e)&&"name"in e&&"typeReference"in e,ObjectType:e=>_(e)&&"declaration"in e&&"properties"in e&&Array.isArray(e.properties),SingleDiscriminatedUnionTypeNoProperties:e=>_(e)&&"discriminantValue"in e,SingleDiscriminatedUnionTypeObject:e=>_(e)&&"typeId"in e&&"discriminantValue"in e&&"properties"in e&&Array.isArray(e.properties),SingleDiscriminatedUnionTypeSingleProperty:e=>_(e)&&"typeReference"in e&&"discriminantValue"in e,UndiscriminatedUnionType:e=>_(e)&&"declaration"in e&&"types"in e&&Array.isArray(e.types),BodyRequest:e=>_(e),Endpoint:e=>_(e)&&"declaration"in e&&"location"in e&&"request"in e&&"response"in e,EndpointExample:e=>_(e)&&"id"in e&&typeof e.id=="string",EndpointLocation:e=>_(e)&&"method"in e&&"path"in e&&typeof e.path=="string",FileUploadRequestBody:e=>_(e)&&"properties"in e&&Array.isArray(e.properties),InlinedRequest:e=>_(e)&&"declaration"in e,InlinedRequestMetadata:e=>_(e)&&"includePathParameters"in e&&"onlyPathParameters"in e&&typeof e.includePathParameters=="boolean"&&typeof e.onlyPathParameters=="boolean",ReferencedRequestBody:e=>_(e)&&"bodyKey"in e&&"bodyType"in e,DynamicIntermediateRepresentation:e=>_(e)&&"version"in e&&"types"in e&&"endpoints"in e&&_(e.types)&&_(e.endpoints),GeneratorConfig:e=>_(e)&&"apiName"in e&&"organization"in e&&"outputConfig"in e&&typeof e.apiName=="string"&&typeof e.organization=="string",GoPublishInfo:e=>_(e)&&"version"in e&&"repoUrl"in e&&typeof e.version=="string"&&typeof e.repoUrl=="string",MavenPublishInfo:e=>_(e)&&"version"in e&&"coordinate"in e&&typeof e.version=="string"&&typeof e.coordinate=="string",NpmPublishInfo:e=>_(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",NugetPublishInfo:e=>_(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",PypiPublishInfo:e=>_(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",RubyGemsPublishInfo:e=>_(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",VariableDeclaration:e=>_(e)&&"id"in e&&"name"in e&&"typeReference"in e&&typeof e.id=="string",EndpointSnippetRequest:e=>_(e)&&"endpoint"in e,EndpointSnippetResponse:e=>_(e)&&"snippet"in e&&typeof e.snippet=="string",Error_:e=>_(e)&&"severity"in e&&"message"in e&&typeof e.message=="string",Auth:{Basic:e=>M.BasicAuth(e)&&"type"in e&&e.type==="basic",Bearer:e=>M.BearerAuth(e)&&"type"in e&&e.type==="bearer",Header:e=>M.HeaderAuth(e)&&"type"in e&&e.type==="header",Inferred:e=>M.InferredAuth(e)&&"type"in e&&e.type==="inferred",Oauth:e=>M.OAuth(e)&&"type"in e&&e.type==="oauth"},AuthValues:{Basic:e=>M.BasicAuthValues(e)&&"type"in e&&e.type==="basic",Bearer:e=>M.BearerAuthValues(e)&&"type"in e&&e.type==="bearer",Header:e=>M.HeaderAuthValues(e)&&"type"in e&&e.type==="header",Inferred:e=>M.InferredAuthValues(e)&&"type"in e&&e.type==="inferred",Oauth:e=>M.OAuthValues(e)&&"type"in e&&e.type==="oauth"},Environments:{MultipleBaseUrls:e=>M.MultipleBaseUrlsEnvironments(e)&&"type"in e&&e.type==="multipleBaseUrls",SingleBaseUrl:e=>M.SingleBaseUrlEnvironments(e)&&"type"in e&&e.type==="singleBaseUrl"},FileUploadRequestBodyProperty:{BodyProperty:e=>M.NamedParameter(e)&&"type"in e&&e.type==="bodyProperty",FileArray:e=>M.NameAndWireValue(e)&&"type"in e&&e.type==="fileArray",File_:e=>M.NameAndWireValue(e)&&"type"in e&&e.type==="file"},InlinedRequestBody:{FileUpload:e=>M.FileUploadRequestBody(e)&&"type"in e&&e.type==="fileUpload",Referenced:e=>M.ReferencedRequestBody(e)&&"type"in e&&e.type==="referenced"},AnyNamedType:e=>M.NamedType.Alias(e)||M.NamedType.DiscriminatedUnion(e)||M.NamedType.Enum(e)||M.NamedType.Object_(e)||M.NamedType.UndiscriminatedUnion(e),NamedType:{Alias:e=>M.AliasType(e)&&"type"in e&&e.type==="alias",DiscriminatedUnion:e=>M.DiscriminatedUnionType(e)&&"type"in e&&e.type==="discriminatedUnion",Enum:e=>M.EnumType(e)&&"type"in e&&e.type==="enum",Object_:e=>M.ObjectType(e)&&"type"in e&&e.type==="object",UndiscriminatedUnion:e=>M.UndiscriminatedUnionType(e)&&"type"in e&&e.type==="undiscriminatedUnion"},PublishInfo:{Go:e=>M.GoPublishInfo(e)&&"type"in e&&e.type==="go",Maven:e=>M.MavenPublishInfo(e)&&"type"in e&&e.type==="maven",Npm:e=>M.NpmPublishInfo(e)&&"type"in e&&e.type==="npm",Nuget:e=>M.NugetPublishInfo(e)&&"type"in e&&e.type==="nuget",Pypi:e=>M.PypiPublishInfo(e)&&"type"in e&&e.type==="pypi",Rubygems:e=>M.RubyGemsPublishInfo(e)&&"type"in e&&e.type==="rubygems"},Request:{Body:e=>M.BodyRequest(e)&&"type"in e&&e.type==="body",Inlined:e=>M.InlinedRequest(e)&&"type"in e&&e.type==="inlined"},SingleDiscriminatedUnionType:{NoProperties:e=>M.SingleDiscriminatedUnionTypeNoProperties(e)&&"type"in e&&e.type==="noProperties",SamePropertiesAsObject:e=>M.SingleDiscriminatedUnionTypeObject(e)&&"type"in e&&e.type==="samePropertiesAsObject",SingleProperty:e=>M.SingleDiscriminatedUnionTypeSingleProperty(e)&&"type"in e&&e.type==="singleProperty"},TypeReference:{Map:e=>M.MapType(e)&&"type"in e&&e.type==="map"}};n();a();s();var bw=N.ApiDefinitionSource,xw=N.ApiVersionScheme,Sw=N.AuthScheme,Tw=N.generatorExec,h=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),b={SafeAndUnsafeString:e=>h(e)&&"safeName"in e&&"unsafeName"in e&&typeof e.safeName=="string"&&typeof e.unsafeName=="string",Name:e=>typeof e=="string"||h(e)&&"originalName"in e&&"pascalCase"in e&&"camelCase"in e&&"snakeCase"in e&&"screamingSnakeCase"in e&&typeof e.originalName=="string"&&b.SafeAndUnsafeString(e.pascalCase)&&b.SafeAndUnsafeString(e.camelCase)&&b.SafeAndUnsafeString(e.snakeCase)&&b.SafeAndUnsafeString(e.screamingSnakeCase),NameAndWireValue:e=>typeof e=="string"||h(e)&&"wireValue"in e&&"name"in e&&typeof e.wireValue=="string"&&b.Name(e.name),TypeDeclaration:e=>h(e)&&"name"in e&&"shape"in e&&"autogeneratedExamples"in e&&"userProvidedExamples"in e&&"referencedTypes"in e&&"inline"in e&&"availability"in e&&Array.isArray(e.autogeneratedExamples)&&Array.isArray(e.userProvidedExamples)&&"docs"in e,ObjectTypeDeclaration:e=>h(e)&&"extends"in e&&"properties"in e&&"extraProperties"in e&&Array.isArray(e.extends)&&Array.isArray(e.properties)&&typeof e.extraProperties=="boolean",EnumTypeDeclaration:e=>h(e)&&"values"in e&&Array.isArray(e.values),UnionTypeDeclaration:e=>h(e)&&"discriminant"in e&&"extends"in e&&"types"in e&&"baseProperties"in e&&b.NameAndWireValue(e.discriminant)&&Array.isArray(e.extends)&&Array.isArray(e.types)&&Array.isArray(e.baseProperties),AliasTypeDeclaration:e=>h(e)&&"aliasOf"in e&&"resolvedType"in e,ObjectProperty:e=>h(e)&&"name"in e&&"valueType"in e&&"availability"in e&&b.NameAndWireValue(e.name)&&"docs"in e,HttpEndpoint:e=>h(e)&&"id"in e&&"name"in e&&"method"in e&&"headers"in e&&"path"in e&&"fullPath"in e&&"pathParameters"in e&&"allPathParameters"in e&&"queryParameters"in e&&"errors"in e&&"auth"in e&&"idempotent"in e&&"userSpecifiedExamples"in e&&"autogeneratedExamples"in e&&"availability"in e&&typeof e.id=="string"&&typeof e.method=="string"&&Array.isArray(e.headers)&&Array.isArray(e.pathParameters)&&Array.isArray(e.allPathParameters)&&Array.isArray(e.queryParameters)&&typeof e.auth=="boolean"&&typeof e.idempotent=="boolean"&&Array.isArray(e.userSpecifiedExamples)&&Array.isArray(e.autogeneratedExamples)&&"docs"in e,HttpService:e=>h(e)&&"name"in e&&"basePath"in e&&"endpoints"in e&&"headers"in e&&"pathParameters"in e&&b.HttpPath(e.basePath)&&Array.isArray(e.endpoints)&&Array.isArray(e.headers)&&Array.isArray(e.pathParameters),HttpHeader:e=>h(e)&&"name"in e&&"valueType"in e&&"availability"in e&&b.NameAndWireValue(e.name)&&"docs"in e,HttpResponse:e=>h(e),HttpPath:e=>h(e)&&"head"in e&&"parts"in e&&typeof e.head=="string"&&Array.isArray(e.parts),HttpPathPart:e=>h(e)&&"pathParameter"in e&&"tail"in e&&typeof e.pathParameter=="string"&&typeof e.tail=="string",PathParameter:e=>h(e)&&"name"in e&&"valueType"in e&&"location"in e&&b.Name(e.name)&&typeof e.location=="string"&&"docs"in e,QueryParameter:e=>h(e)&&"name"in e&&"valueType"in e&&"allowMultiple"in e&&"availability"in e&&b.NameAndWireValue(e.name)&&typeof e.allowMultiple=="boolean"&&"docs"in e,InlinedRequestBody:e=>h(e)&&"name"in e&&"extends"in e&&"properties"in e&&"extraProperties"in e&&b.Name(e.name)&&Array.isArray(e.extends)&&Array.isArray(e.properties)&&typeof e.extraProperties=="boolean"&&"docs"in e,InlinedRequestBodyProperty:e=>h(e)&&"name"in e&&"valueType"in e&&"availability"in e&&b.NameAndWireValue(e.name)&&"docs"in e,SdkRequest:e=>h(e)&&"requestParameterName"in e&&b.Name(e.requestParameterName)&&"shape"in e,WebSocketChannel:e=>h(e)&&"name"in e&&"path"in e&&"auth"in e&&"headers"in e&&"queryParameters"in e&&"pathParameters"in e&&"messages"in e&&"examples"in e&&"availability"in e&&b.HttpPath(e.path)&&typeof e.auth=="boolean"&&Array.isArray(e.headers)&&Array.isArray(e.queryParameters)&&Array.isArray(e.pathParameters)&&Array.isArray(e.messages)&&Array.isArray(e.examples)&&"docs"in e,WebSocketMessage:e=>h(e)&&"type"in e&&"origin"in e&&"body"in e&&"availability"in e&&typeof e.type=="string"&&typeof e.origin=="string"&&"docs"in e,ExampleType:e=>h(e)&&"shape"in e&&"jsonExample"in e&&"docs"in e,ExampleObjectType:e=>h(e)&&"properties"in e&&Array.isArray(e.properties),ExampleObjectProperty:e=>h(e)&&"name"in e&&"value"in e&&b.NameAndWireValue(e.name)&&b.ExampleTypeReference(e.value),ExampleEndpointCall:e=>h(e)&&"url"in e&&"rootPathParameters"in e&&"servicePathParameters"in e&&"endpointPathParameters"in e&&"serviceHeaders"in e&&"endpointHeaders"in e&&"queryParameters"in e&&"response"in e&&typeof e.url=="string"&&Array.isArray(e.rootPathParameters)&&Array.isArray(e.servicePathParameters)&&Array.isArray(e.endpointPathParameters)&&Array.isArray(e.serviceHeaders)&&Array.isArray(e.endpointHeaders)&&Array.isArray(e.queryParameters)&&"docs"in e,ExampleHeader:e=>h(e)&&"name"in e&&"value"in e&&b.NameAndWireValue(e.name)&&b.ExampleTypeReference(e.value),ExamplePathParameter:e=>h(e)&&"name"in e&&b.Name(e.name)&&"value"in e,ExampleQueryParameter:e=>h(e)&&"name"in e&&"value"in e&&b.NameAndWireValue(e.name)&&b.ExampleTypeReference(e.value),ExampleTypeReference:e=>h(e)&&"shape"in e&&"jsonExample"in e,ExampleNamedType:e=>h(e)&&"typeName"in e&&"shape"in e,WithDocs:e=>h(e)&&"docs"in e,WithDocsAndAvailability:e=>h(e)&&"docs"in e&&"availability"in e,Declaration:e=>h(e)&&"docs"in e&&"availability"in e,Availability:e=>h(e)&&"status"in e&&typeof e.status=="string",FernFilepath:e=>h(e)&&"allParts"in e&&"packagePath"in e&&Array.isArray(e.allParts)&&Array.isArray(e.packagePath),ErrorDeclaration:e=>h(e)&&"name"in e&&"discriminantValue"in e&&"statusCode"in e&&"examples"in e&&b.NameAndWireValue(e.discriminantValue)&&typeof e.statusCode=="number"&&Array.isArray(e.examples)&&"docs"in e,BearerAuthScheme:e=>h(e)&&"token"in e&&b.Name(e.token)&&"docs"in e&&"availability"in e,BasicAuthScheme:e=>h(e)&&"username"in e&&"password"in e&&"docs"in e&&b.Name(e.username)&&b.Name(e.password)&&"availability"in e,HeaderAuthScheme:e=>h(e)&&"name"in e&&"valueType"in e&&"docs"in e&&b.NameAndWireValue(e.name)&&"availability"in e,OAuthScheme:e=>h(e)&&"configuration"in e&&"docs"in e&&"availability"in e,Webhook:e=>h(e)&&"id"in e&&"name"in e&&"method"in e&&"headers"in e&&"payload"in e&&"availability"in e&&typeof e.id=="string"&&typeof e.method=="string"&&Array.isArray(e.headers)&&"docs"in e,InlinedWebhookPayload:e=>h(e)&&"name"in e&&"extends"in e&&"properties"in e&&b.Name(e.name)&&Array.isArray(e.extends)&&Array.isArray(e.properties),VariableDeclaration:e=>h(e)&&"id"in e&&"name"in e&&"type"in e&&typeof e.id=="string"&&b.Name(e.name)&&"docs"in e,ApiAuth:e=>h(e)&&"requirement"in e&&"schemes"in e&&typeof e.requirement=="string"&&Array.isArray(e.schemes)&&"docs"in e,ReadmeConfig:e=>h(e),ReadmeCustomSection:e=>h(e)&&"title"in e&&"language"in e&&"content"in e&&typeof e.title=="string"&&typeof e.language=="string"&&typeof e.content=="string",SourceConfig:e=>h(e)&&"sources"in e&&Array.isArray(e.sources),ServiceTypeReferenceInfo:e=>h(e)&&"typesReferencedOnlyByService"in e&&"sharedTypes"in e&&h(e.typesReferencedOnlyByService)&&Array.isArray(e.sharedTypes),UserAgent:e=>h(e)&&"header"in e&&"value"in e&&typeof e.header=="string"&&typeof e.value=="string",StringType:e=>h(e),IntegerType:e=>h(e),LongType:e=>h(e),DoubleType:e=>h(e),FloatType:e=>h(e),BooleanType:e=>h(e),DateTimeType:e=>h(e),DateType:e=>h(e),UuidType:e=>h(e),Base64Type:e=>h(e),BigIntegerType:e=>h(e),UintType:e=>h(e),Uint64Type:e=>h(e),MapType:e=>h(e)&&"keyType"in e&&"valueType"in e,StringValidationRules:e=>h(e),IntegerValidationRules:e=>h(e),DoubleValidationRules:e=>h(e),JsonResponseBody:e=>h(e)&&"responseBodyType"in e&&"docs"in e,JsonResponseBodyWithProperty:e=>h(e)&&"responseBodyType"in e&&"docs"in e,TextResponse:e=>h(e)&&"docs"in e,BytesResponse:e=>h(e)&&"docs"in e,JsonStreamChunk:e=>h(e)&&"payload"in e&&"docs"in e,SseStreamChunk:e=>h(e)&&"payload"in e&&"docs"in e,TextStreamChunk:e=>h(e)&&"docs"in e,StreamParameterResponse:e=>h(e)&&"nonStreamResponse"in e&&"streamResponse"in e,CursorPagination:e=>h(e)&&"page"in e&&"next"in e&&"results"in e&&b.RequestProperty(e.page)&&b.ResponseProperty(e.next)&&b.ResponseProperty(e.results),OffsetPagination:e=>h(e)&&"page"in e&&"results"in e&&b.RequestProperty(e.page)&&b.ResponseProperty(e.results),CustomPagination:e=>h(e)&&"results"in e&&b.ResponseProperty(e.results),RequestProperty:e=>h(e)&&"property"in e,ResponseProperty:e=>h(e)&&"property"in e,OAuthAccessTokenRequestProperties:e=>h(e)&&"clientId"in e&&"clientSecret"in e&&b.RequestProperty(e.clientId)&&b.RequestProperty(e.clientSecret),OAuthClientCredentials:e=>h(e)&&"tokenEndpoint"in e&&b.OAuthTokenEndpoint(e.tokenEndpoint),BaseAuthScheme:e=>h(e)&&"key"in e&&typeof e.key=="string"&&"docs"in e,InferredAuthScheme:e=>h(e)&&"tokenEndpoint"in e&&"docs"in e&&b.InferredAuthSchemeTokenEndpoint(e.tokenEndpoint)&&"availability"in e,PropertyPathItem:e=>h(e)&&"name"in e&&b.Name(e.name)&&"type"in e,WithJsonExample:e=>h(e)&&"jsonExample"in e,WithContentType:e=>h(e)&&"contentType"in e,WithV2Examples:e=>h(e)&&"v2Examples"in e,EscapedString:e=>h(e)&&"original"in e&&typeof e.original=="string",EnumValue:e=>h(e)&&"name"in e&&"availability"in e&&b.NameAndWireValue(e.name)&&"docs"in e,SingleUnionType:e=>h(e)&&"discriminantValue"in e&&"shape"in e&&b.NameAndWireValue(e.discriminantValue)&&"docs"in e,SingleUnionTypeProperty:e=>h(e)&&"name"in e&&b.NameAndWireValue(e.name)&&"type"in e,UndiscriminatedUnionTypeDeclaration:e=>h(e)&&"members"in e&&Array.isArray(e.members),UndiscriminatedUnionMember:e=>h(e)&&"type"in e&&"docs"in e,DeclaredTypeName:e=>h(e)&&"typeId"in e&&"fernFilepath"in e&&"name"in e&&typeof e.typeId=="string"&&b.FernFilepath(e.fernFilepath)&&b.Name(e.name),DeclaredServiceName:e=>h(e)&&"fernFilepath"in e&&b.FernFilepath(e.fernFilepath),DeclaredErrorName:e=>h(e)&&"errorId"in e&&"fernFilepath"in e&&"name"in e&&typeof e.errorId=="string"&&b.FernFilepath(e.fernFilepath)&&b.Name(e.name),FileUploadRequest:e=>h(e)&&"name"in e&&"properties"in e&&b.Name(e.name)&&Array.isArray(e.properties)&&"docs"in e,FileDownloadResponse:e=>h(e)&&"docs"in e,SdkRequestWrapper:e=>h(e)&&"wrapperName"in e&&"bodyKey"in e&&b.Name(e.wrapperName)&&b.Name(e.bodyKey),BytesRequest:e=>h(e)&&"isOptional"in e&&typeof e.isOptional=="boolean"&&"docs"in e,NamedType:e=>h(e)&&"typeId"in e&&"fernFilepath"in e&&"name"in e&&typeof e.typeId=="string"&&b.FernFilepath(e.fernFilepath)&&b.Name(e.name),ResolvedNamedType:e=>h(e)&&"name"in e&&"shape"in e,FileUploadBodyProperty:e=>h(e)&&"name"in e&&"valueType"in e&&"availability"in e&&b.NameAndWireValue(e.name)&&"docs"in e,IntermediateRepresentation:e=>h(e)&&"apiName"in e&&"auth"in e&&"types"in e&&"headers"in e&&"idempotencyHeaders"in e&&"services"in e&&"webhookGroups"in e&&"errors"in e&&"subpackages"in e&&"rootPackage"in e&&"constants"in e&&"pathParameters"in e&&"errorDiscriminationStrategy"in e&&"sdkConfig"in e&&"variables"in e&&"serviceTypeReferenceInfo"in e&&b.Name(e.apiName)&&h(e.types)&&Array.isArray(e.headers)&&Array.isArray(e.idempotencyHeaders)&&h(e.services)&&h(e.webhookGroups)&&h(e.errors)&&h(e.subpackages)&&b.Package(e.rootPackage)&&b.Constants(e.constants)&&Array.isArray(e.pathParameters)&&b.SdkConfig(e.sdkConfig)&&Array.isArray(e.variables)&&b.ServiceTypeReferenceInfo(e.serviceTypeReferenceInfo),Package:e=>h(e)&&"fernFilepath"in e&&"types"in e&&"errors"in e&&"subpackages"in e&&"hasEndpointsInTree"in e&&b.FernFilepath(e.fernFilepath)&&Array.isArray(e.types)&&Array.isArray(e.errors)&&Array.isArray(e.subpackages)&&typeof e.hasEndpointsInTree=="boolean"&&"docs"in e,Subpackage:e=>h(e)&&"name"in e&&"fernFilepath"in e&&"types"in e&&"errors"in e&&"subpackages"in e&&"hasEndpointsInTree"in e&&b.Name(e.name)&&b.FernFilepath(e.fernFilepath)&&Array.isArray(e.types)&&Array.isArray(e.errors)&&Array.isArray(e.subpackages)&&typeof e.hasEndpointsInTree=="boolean"&&"docs"in e,Constants:e=>h(e)&&"errorInstanceIdKey"in e&&b.NameAndWireValue(e.errorInstanceIdKey),SdkConfig:e=>h(e)&&"isAuthMandatory"in e&&"hasStreamingEndpoints"in e&&"hasPaginatedEndpoints"in e&&"hasFileDownloadEndpoints"in e&&typeof e.isAuthMandatory=="boolean"&&typeof e.hasStreamingEndpoints=="boolean"&&typeof e.hasPaginatedEndpoints=="boolean"&&typeof e.hasFileDownloadEndpoints=="boolean"&&"platformHeaders"in e,GeneratorConfig:e=>h(e)&&"dryRun"in e&&"irFilepath"in e&&"output"in e&&"workspaceName"in e&&"organization"in e&&"customConfig"in e&&"environment"in e&&"whitelabel"in e&&"writeUnitTests"in e&&"generateOauthClients"in e&&typeof e.dryRun=="boolean"&&typeof e.irFilepath=="string"&&typeof e.workspaceName=="string"&&typeof e.organization=="string"&&typeof e.whitelabel=="boolean"&&typeof e.writeUnitTests=="boolean"&&typeof e.generateOauthClients=="boolean",AutogeneratedEndpointExample:e=>h(e)&&"example"in e&&b.ExampleEndpointCall(e.example),UserSpecifiedEndpointExample:e=>h(e),ExampleAliasType:e=>h(e)&&"value"in e&&b.ExampleTypeReference(e.value),ExampleEnumType:e=>h(e)&&"value"in e&&b.NameAndWireValue(e.value),ExampleUnionType:e=>h(e)&&"discriminant"in e&&b.NameAndWireValue(e.discriminant)&&"singleUnionType"in e,ExampleSingleUnionType:e=>h(e)&&"shape"in e,ExampleUndiscriminatedUnionType:e=>h(e)&&"singleUnionType"in e,ExampleObjectTypeWithTypeId:e=>h(e)&&"typeId"in e&&"object"in e&&typeof e.typeId=="string"&&b.ExampleObjectType(e.object),ExampleListContainer:e=>h(e)&&"list"in e&&Array.isArray(e.list),ExampleSetContainer:e=>h(e)&&"set"in e&&Array.isArray(e.set),ExampleMapContainer:e=>h(e)&&"map"in e&&Array.isArray(e.map),ExampleOptionalContainer:e=>h(e)&&"optional"in e,ExampleNullableContainer:e=>h(e)&&"nullable"in e,ExampleLiteralContainer:e=>h(e)&&"literal"in e,ExampleKeyValuePair:e=>h(e)&&"key"in e&&"value"in e&&b.ExampleTypeReference(e.key)&&b.ExampleTypeReference(e.value),ExampleError:e=>h(e)&&"name"in e&&"body"in e,ExampleEndpointErrorResponse:e=>h(e)&&"error"in e,ExampleDatetime:e=>h(e)&&"datetime"in e&&typeof e.datetime=="string",ExampleInlinedRequestBody:e=>h(e)&&"properties"in e&&Array.isArray(e.properties),ExampleInlinedRequestBodyProperty:e=>h(e)&&"name"in e&&"value"in e&&b.NameAndWireValue(e.name)&&b.ExampleTypeReference(e.value),ExampleWebhookCall:e=>h(e)&&"payload"in e,ExampleWebSocketMessage:e=>h(e)&&"type"in e&&typeof e.type=="string"&&"body"in e,ExampleWebSocketSession:e=>h(e)&&"messages"in e&&Array.isArray(e.messages),ExampleServerSideEvent:e=>h(e)&&"event"in e&&typeof e.event=="string"&&"data"in e,ExampleCodeSampleLanguage:e=>h(e)&&"language"in e&&"code"in e&&typeof e.language=="string"&&typeof e.code=="string",ExampleCodeSampleSdk:e=>h(e)&&"sdk"in e&&"code"in e&&typeof e.sdk=="string"&&typeof e.code=="string",V2HttpEndpointExample:e=>h(e)&&"id"in e&&typeof e.id=="string",V2HttpEndpointExamples:e=>h(e)&&"examples"in e&&Array.isArray(e.examples),V2HttpEndpointRequest:e=>h(e),V2HttpEndpointResponse:e=>h(e),V2HttpEndpointCodeSample:e=>h(e)&&"language"in e&&"code"in e&&typeof e.language=="string"&&typeof e.code=="string",V2SchemaExamples:e=>h(e),V2WebSocketMessageExample:e=>h(e)&&"type"in e&&typeof e.type=="string",V2WebSocketSessionExample:e=>h(e)&&"messages"in e&&Array.isArray(e.messages),V2WebSocketSessionExamples:e=>h(e)&&"examples"in e&&Array.isArray(e.examples),V2WebhookExample:e=>h(e)&&"payload"in e,V2WebhookExamples:e=>h(e)&&"examples"in e&&Array.isArray(e.examples),BasicAuthValues:e=>h(e)&&"username"in e&&"password"in e&&typeof e.username=="string"&&typeof e.password=="string",BearerAuthValues:e=>h(e)&&"token"in e&&typeof e.token=="string",HeaderAuthValues:e=>h(e)&&"header"in e&&typeof e.header=="string",OAuthValues:e=>h(e)&&"accessToken"in e&&typeof e.accessToken=="string",InferredAuthSchemeTokenEndpoint:e=>h(e)&&"endpoint"in e&&"authenticatedRequestHeaders"in e&&b.EndpointReference(e.endpoint)&&Array.isArray(e.authenticatedRequestHeaders),InferredAuthenticatedRequestHeader:e=>h(e)&&"header"in e,OAuthAccessTokenResponseProperties:e=>h(e)&&"accessToken"in e&&b.ResponseProperty(e.accessToken),OAuthRefreshEndpoint:e=>h(e)&&"endpointReference"in e&&b.EndpointReference(e.endpointReference),OAuthRefreshTokenRequestProperties:e=>h(e)&&"refreshToken"in e&&b.RequestProperty(e.refreshToken),OAuthTokenEndpoint:e=>h(e)&&"endpointReference"in e&&"requestProperties"in e&&"responseProperties"in e&&b.EndpointReference(e.endpointReference)&&b.OAuthAccessTokenRequestProperties(e.requestProperties)&&b.OAuthAccessTokenResponseProperties(e.responseProperties),Encoding:e=>h(e),JsonEncoding:e=>h(e),ProtoEncoding:e=>h(e),FilePropertyArray:e=>h(e)&&"key"in e&&b.NameAndWireValue(e.key),FilePropertySingle:e=>h(e)&&"key"in e&&b.NameAndWireValue(e.key),Filesystem:e=>h(e)&&"name"in e&&typeof e.name=="string",InlinedWebSocketMessageBody:e=>h(e)&&"properties"in e&&Array.isArray(e.properties),InlinedWebSocketMessageBodyProperty:e=>h(e)&&"name"in e&&b.NameAndWireValue(e.name)&&"valueType"in e,InlinedWebhookPayloadProperty:e=>h(e)&&"name"in e&&b.NameAndWireValue(e.name)&&"valueType"in e,WebSocketMessageBodyReference:e=>h(e)&&"bodyType"in e,WebhookPayloadReference:e=>h(e)&&"payloadType"in e,HttpRequestBodyReference:e=>h(e)&&"requestBodyType"in e,ResponseError:e=>h(e)&&"error"in e,V2EndpointLocation:e=>h(e)&&"method"in e&&"path"in e&&typeof e.method=="string"&&typeof e.path=="string",V2WebSocketEndpointLocation:e=>h(e)&&"path"in e&&typeof e.path=="string",V2HttpRequestBodies:e=>h(e),V2HttpResponses:e=>h(e),EndpointReference:e=>h(e)&&"endpointId"in e&&"serviceId"in e&&typeof e.endpointId=="string"&&typeof e.serviceId=="string",EnumTypeReference:e=>h(e)&&"enumTypeId"in e&&typeof e.enumTypeId=="string",CsharpProtobufFileOptions:e=>h(e)&&"namespace"in e&&typeof e.namespace=="string",GrpcTransport:e=>h(e)&&"service"in e&&b.ProtobufService(e.service),ProtoSource:e=>h(e)&&"file"in e&&b.ProtobufFile(e.file),ProtoSourceInfo:e=>h(e),ProtobufFile:e=>h(e)&&"filepath"in e&&typeof e.filepath=="string",ProtobufFileOptions:e=>h(e),ProtobufService:e=>h(e)&&"name"in e&&"file"in e&&typeof e.name=="string"&&b.ProtobufFile(e.file),UserDefinedProtobufType:e=>h(e)&&"typeName"in e&&"file"in e&&typeof e.typeName=="string"&&b.ProtobufFile(e.file),AuthScheme:{Bearer:e=>b.BearerAuthScheme(e)&&"type"in e&&e.type==="bearer",Basic:e=>b.BasicAuthScheme(e)&&"type"in e&&e.type==="basic",Header:e=>b.HeaderAuthScheme(e)&&"type"in e&&e.type==="header",Oauth:e=>b.OAuthScheme(e)&&"type"in e&&e.type==="oauth",Inferred:e=>b.InferredAuthScheme(e)&&"type"in e&&e.type==="inferred"},OAuthConfiguration:{ClientCredentials:e=>b.OAuthClientCredentials(e)&&"type"in e&&e.type==="clientCredentials"},Environments:{SingleBaseUrl:e=>h(e)&&"type"in e&&e.type==="singleBaseUrl",MultipleBaseUrls:e=>h(e)&&"type"in e&&e.type==="multipleBaseUrls"},ErrorDeclarationDiscriminantValue:{Property:e=>b.NameAndWireValue(e)&&"type"in e&&e.type==="property",StatusCode:e=>h(e)&&"type"in e&&e.type==="statusCode"},V2AuthValues:{Basic:e=>b.BasicAuthValues(e)&&"type"in e&&e.type==="basic",Bearer:e=>b.BearerAuthValues(e)&&"type"in e&&e.type==="bearer",Header:e=>b.HeaderAuthValues(e)&&"type"in e&&e.type==="header",Oauth:e=>b.OAuthValues(e)&&"type"in e&&e.type==="oauth"},V2HttpEndpointResponseBody:{Error_:e=>h(e)&&"type"in e&&e.type==="error",Json:e=>h(e)&&"type"in e&&e.type==="json",Stream:e=>h(e)&&"type"in e&&e.type==="stream"},ExampleCodeSample:{Language:e=>b.ExampleCodeSampleLanguage(e)&&"type"in e&&e.type==="language",Sdk:e=>b.ExampleCodeSampleSdk(e)&&"type"in e&&e.type==="sdk"},ExampleEndpointSuccessResponse:{Body:e=>h(e)&&"type"in e&&e.type==="body",Stream:e=>h(e)&&"type"in e&&e.type==="stream",Sse:e=>h(e)&&"type"in e&&e.type==="sse"},ExampleQueryParameterShape:{Single:e=>h(e)&&"type"in e&&e.type==="single",Exploded:e=>h(e)&&"type"in e&&e.type==="exploded",CommaSeparated:e=>h(e)&&"type"in e&&e.type==="commaSeparated"},ExampleRequestBody:{InlinedRequestBody:e=>b.ExampleInlinedRequestBody(e)&&"type"in e&&e.type==="inlinedRequestBody",Reference:e=>b.ExampleTypeReference(e)&&"type"in e&&e.type==="reference"},ExampleResponse:{Ok:e=>h(e)&&"type"in e&&e.type==="ok",Error_:e=>b.ExampleEndpointErrorResponse(e)&&"type"in e&&e.type==="error"},FileProperty:{File_:e=>b.FilePropertySingle(e)&&"type"in e&&e.type==="file",FileArray:e=>b.FilePropertyArray(e)&&"type"in e&&e.type==="fileArray"},FileUploadRequestProperty:{File_:e=>h(e)&&"type"in e&&e.type==="file",BodyProperty:e=>b.FileUploadBodyProperty(e)&&"type"in e&&e.type==="bodyProperty"},HttpEndpointSource:{Proto:e=>b.ProtoSourceInfo(e)&&"type"in e&&e.type==="proto",Openapi:e=>h(e)&&"type"in e&&e.type==="openapi",Openrpc:e=>h(e)&&"type"in e&&e.type==="openrpc"},HttpRequestBody:{InlinedRequestBody:e=>b.InlinedRequestBody(e)&&"type"in e&&e.type==="inlinedRequestBody",Reference:e=>b.HttpRequestBodyReference(e)&&"type"in e&&e.type==="reference",FileUpload:e=>b.FileUploadRequest(e)&&"type"in e&&e.type==="fileUpload",Bytes:e=>b.BytesRequest(e)&&"type"in e&&e.type==="bytes"},HttpResponseBody:{Json:e=>h(e)&&"type"in e&&e.type==="json",FileDownload:e=>b.FileDownloadResponse(e)&&"type"in e&&e.type==="fileDownload",Text:e=>b.TextResponse(e)&&"type"in e&&e.type==="text",Bytes:e=>b.BytesResponse(e)&&"type"in e&&e.type==="bytes",Streaming:e=>h(e)&&"type"in e&&e.type==="streaming",StreamParameter:e=>b.StreamParameterResponse(e)&&"type"in e&&e.type==="streamParameter"},JsonResponse:{Response:e=>b.JsonResponseBody(e)&&"type"in e&&e.type==="response",NestedPropertyAsResponse:e=>b.JsonResponseBodyWithProperty(e)&&"type"in e&&e.type==="nestedPropertyAsResponse"},NonStreamHttpResponseBody:{Json:e=>h(e)&&"type"in e&&e.type==="json",FileDownload:e=>b.FileDownloadResponse(e)&&"type"in e&&e.type==="fileDownload",Text:e=>b.TextResponse(e)&&"type"in e&&e.type==="text",Bytes:e=>b.BytesResponse(e)&&"type"in e&&e.type==="bytes"},Pagination:{Cursor:e=>b.CursorPagination(e)&&"type"in e&&e.type==="cursor",Offset:e=>b.OffsetPagination(e)&&"type"in e&&e.type==="offset",Custom:e=>b.CustomPagination(e)&&"type"in e&&e.type==="custom"},RequestPropertyValue:{Query:e=>b.QueryParameter(e)&&"type"in e&&e.type==="query",Body:e=>b.ObjectProperty(e)&&"type"in e&&e.type==="body"},SdkRequestBodyType:{TypeReference:e=>b.HttpRequestBodyReference(e)&&"type"in e&&e.type==="typeReference",Bytes:e=>b.BytesRequest(e)&&"type"in e&&e.type==="bytes"},SdkRequestShape:{JustRequestBody:e=>h(e)&&"type"in e&&e.type==="justRequestBody",Wrapper:e=>b.SdkRequestWrapper(e)&&"type"in e&&e.type==="wrapper"},StreamingResponse:{Json:e=>b.JsonStreamChunk(e)&&"type"in e&&e.type==="json",Text:e=>b.TextStreamChunk(e)&&"type"in e&&e.type==="text",Sse:e=>b.SseStreamChunk(e)&&"type"in e&&e.type==="sse"},Transport:{Http:e=>h(e)&&"type"in e&&e.type==="http",Grpc:e=>b.GrpcTransport(e)&&"type"in e&&e.type==="grpc"},ApiDefinitionSource:{Proto:e=>b.ProtoSource(e)&&"type"in e&&e.type==="proto",Openapi:e=>h(e)&&"type"in e&&e.type==="openapi"},ApiVersionScheme:{Header:e=>h(e)&&"type"in e&&e.type==="header"},ErrorDiscriminationStrategy:{StatusCode:e=>h(e)&&"type"in e&&e.type==="statusCode",Property:e=>h(e)&&"type"in e&&e.type==="property"},ProtobufType:{WellKnown:e=>h(e)&&"type"in e&&e.type==="wellKnown",UserDefined:e=>b.UserDefinedProtobufType(e)&&"type"in e&&e.type==="userDefined"},WellKnownProtobufType:{Any:e=>h(e)&&"type"in e&&e.type==="any",Api:e=>h(e)&&"type"in e&&e.type==="api",BoolValue:e=>h(e)&&"type"in e&&e.type==="boolValue",BytesValue:e=>h(e)&&"type"in e&&e.type==="bytesValue",DoubleValue:e=>h(e)&&"type"in e&&e.type==="doubleValue",Duration:e=>h(e)&&"type"in e&&e.type==="duration",Empty:e=>h(e)&&"type"in e&&e.type==="empty",Enum:e=>h(e)&&"type"in e&&e.type==="enum",EnumValue:e=>h(e)&&"type"in e&&e.type==="enumValue",Field:e=>h(e)&&"type"in e&&e.type==="field",FieldCardinality:e=>h(e)&&"type"in e&&e.type==="fieldCardinality",FieldKind:e=>h(e)&&"type"in e&&e.type==="fieldKind",FieldMask:e=>h(e)&&"type"in e&&e.type==="fieldMask",FloatValue:e=>h(e)&&"type"in e&&e.type==="floatValue",Int32Value:e=>h(e)&&"type"in e&&e.type==="int32Value",Int64Value:e=>h(e)&&"type"in e&&e.type==="int64Value",ListValue:e=>h(e)&&"type"in e&&e.type==="listValue",Method:e=>h(e)&&"type"in e&&e.type==="method",Mixin:e=>h(e)&&"type"in e&&e.type==="mixin",NullValue:e=>h(e)&&"type"in e&&e.type==="nullValue",Option:e=>h(e)&&"type"in e&&e.type==="option",SourceContext:e=>h(e)&&"type"in e&&e.type==="sourceContext",StringValue:e=>h(e)&&"type"in e&&e.type==="stringValue",Struct:e=>h(e)&&"type"in e&&e.type==="struct",Syntax:e=>h(e)&&"type"in e&&e.type==="syntax",Timestamp:e=>h(e)&&"type"in e&&e.type==="timestamp",Type:e=>h(e)&&"type"in e&&e.type==="type",Uint32Value:e=>h(e)&&"type"in e&&e.type==="uint32Value",Uint64Value:e=>h(e)&&"type"in e&&e.type==="uint64Value",Value:e=>h(e)&&"type"in e&&e.type==="value"},PublishTarget:{Postman:e=>h(e)&&"type"in e&&e.type==="postman",Npm:e=>h(e)&&"type"in e&&e.type==="npm",Maven:e=>h(e)&&"type"in e&&e.type==="maven",Pypi:e=>h(e)&&"type"in e&&e.type==="pypi"},PublishingConfig:{Github:e=>h(e)&&"type"in e&&e.type==="github",Direct:e=>h(e)&&"type"in e&&e.type==="direct",Filesystem:e=>b.Filesystem(e)&&"type"in e&&e.type==="filesystem"},ContainerType:{List:e=>h(e)&&"type"in e&&e.type==="list",Map:e=>b.MapType(e)&&"type"in e&&e.type==="map",Nullable:e=>h(e)&&"type"in e&&e.type==="nullable",Optional:e=>h(e)&&"type"in e&&e.type==="optional",Set:e=>h(e)&&"type"in e&&e.type==="set",Literal:e=>h(e)&&"type"in e&&e.type==="literal"},ExampleContainer:{List:e=>b.ExampleListContainer(e)&&"type"in e&&e.type==="list",Set:e=>b.ExampleSetContainer(e)&&"type"in e&&e.type==="set",Optional:e=>b.ExampleOptionalContainer(e)&&"type"in e&&e.type==="optional",Nullable:e=>b.ExampleNullableContainer(e)&&"type"in e&&e.type==="nullable",Map:e=>b.ExampleMapContainer(e)&&"type"in e&&e.type==="map",Literal:e=>b.ExampleLiteralContainer(e)&&"type"in e&&e.type==="literal"},ExamplePrimitive:{Integer:e=>h(e)&&"type"in e&&e.type==="integer",Long:e=>h(e)&&"type"in e&&e.type==="long",Uint:e=>h(e)&&"type"in e&&e.type==="uint",Uint64:e=>h(e)&&"type"in e&&e.type==="uint64",Float:e=>h(e)&&"type"in e&&e.type==="float",Double:e=>h(e)&&"type"in e&&e.type==="double",Boolean:e=>h(e)&&"type"in e&&e.type==="boolean",String:e=>h(e)&&"type"in e&&e.type==="string",Date_:e=>h(e)&&"type"in e&&e.type==="date",Datetime:e=>b.ExampleDatetime(e)&&"type"in e&&e.type==="datetime",Uuid:e=>h(e)&&"type"in e&&e.type==="uuid",Base64:e=>h(e)&&"type"in e&&e.type==="base64",BigInteger:e=>h(e)&&"type"in e&&e.type==="bigInteger"},ExampleSingleUnionTypeProperties:{SamePropertiesAsObject:e=>b.ExampleObjectTypeWithTypeId(e)&&"type"in e&&e.type==="samePropertiesAsObject",SingleProperty:e=>b.ExampleTypeReference(e)&&"type"in e&&e.type==="singleProperty",NoProperties:e=>h(e)&&"type"in e&&e.type==="noProperties"},ExampleTypeReferenceShape:{Primitive:e=>h(e)&&"type"in e&&e.type==="primitive",Container:e=>h(e)&&"type"in e&&e.type==="container",Unknown:e=>h(e)&&"type"in e&&e.type==="unknown",Named:e=>b.ExampleNamedType(e)&&"type"in e&&e.type==="named"},ExampleTypeShape:{Alias:e=>b.ExampleAliasType(e)&&"type"in e&&e.type==="alias",Enum:e=>b.ExampleEnumType(e)&&"type"in e&&e.type==="enum",Object_:e=>b.ExampleObjectType(e)&&"type"in e&&e.type==="object",Union:e=>b.ExampleUnionType(e)&&"type"in e&&e.type==="union",UndiscriminatedUnion:e=>b.ExampleUndiscriminatedUnionType(e)&&"type"in e&&e.type==="undiscriminatedUnion"},Literal:{String:e=>h(e)&&"type"in e&&e.type==="string",Boolean:e=>h(e)&&"type"in e&&e.type==="boolean"},NamedTypeDefault:{Enum:e=>b.EnumValue(e)&&"type"in e&&e.type==="enum"},PrimitiveTypeV2:{Integer:e=>b.IntegerType(e)&&"type"in e&&e.type==="integer",Long:e=>b.LongType(e)&&"type"in e&&e.type==="long",Uint:e=>b.UintType(e)&&"type"in e&&e.type==="uint",Uint64:e=>b.Uint64Type(e)&&"type"in e&&e.type==="uint64",Float:e=>b.FloatType(e)&&"type"in e&&e.type==="float",Double:e=>b.DoubleType(e)&&"type"in e&&e.type==="double",Boolean:e=>b.BooleanType(e)&&"type"in e&&e.type==="boolean",String:e=>b.StringType(e)&&"type"in e&&e.type==="string",Date_:e=>b.DateType(e)&&"type"in e&&e.type==="date",DateTime:e=>b.DateTimeType(e)&&"type"in e&&e.type==="dateTime",Uuid:e=>b.UuidType(e)&&"type"in e&&e.type==="uuid",Base64:e=>b.Base64Type(e)&&"type"in e&&e.type==="base64",BigInteger:e=>b.BigIntegerType(e)&&"type"in e&&e.type==="bigInteger"},ResolvedTypeReference:{Container:e=>h(e)&&"type"in e&&e.type==="container",Named:e=>b.ResolvedNamedType(e)&&"type"in e&&e.type==="named",Primitive:e=>h(e)&&"type"in e&&e.type==="primitive",Unknown:e=>h(e)&&"type"in e&&e.type==="unknown"},Source:{Proto:e=>h(e)&&"type"in e&&e.type==="proto"},Type:{Alias:e=>b.AliasTypeDeclaration(e)&&"type"in e&&e.type==="alias",Enum:e=>b.EnumTypeDeclaration(e)&&"type"in e&&e.type==="enum",Object_:e=>b.ObjectTypeDeclaration(e)&&"type"in e&&e.type==="object",Union:e=>b.UnionTypeDeclaration(e)&&"type"in e&&e.type==="union",UndiscriminatedUnion:e=>b.UndiscriminatedUnionTypeDeclaration(e)&&"type"in e&&e.type==="undiscriminatedUnion"},TypeReference:{Container:e=>h(e)&&"type"in e&&e.type==="container",Named:e=>b.NamedType(e)&&"type"in e&&e.type==="named",Primitive:e=>h(e)&&"type"in e&&e.type==="primitive",Unknown:e=>h(e)&&"type"in e&&e.type==="unknown"},WebhookPayload:{InlinedPayload:e=>b.InlinedWebhookPayload(e)&&"type"in e&&e.type==="inlinedPayload",Reference:e=>b.WebhookPayloadReference(e)&&"type"in e&&e.type==="reference"},ExampleWebSocketMessageBody:{InlinedBody:e=>b.ExampleInlinedRequestBody(e)&&"type"in e&&e.type==="inlinedBody",Reference:e=>b.ExampleTypeReference(e)&&"type"in e&&e.type==="reference"},WebSocketMessageBody:{InlinedBody:e=>b.InlinedWebSocketMessageBody(e)&&"type"in e&&e.type==="inlinedBody",Reference:e=>b.WebSocketMessageBodyReference(e)&&"type"in e&&e.type==="reference"}};var Lm=/^[+-]?\d{4}-(0?[1-9]|1[0-2])-(0?[1-9]|[12]\d|3[01])$/,jm=/^([+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))[T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([.,]\d+(?!:))?)?(\16[0-5]\d([.,]\d+)?)?([zZ]|([+-])([01]\d|2[0-3]):?([0-5]\d)?)?)$/,C={string:e=>typeof e=="string",boolean:e=>typeof e=="boolean",number:e=>typeof e=="number",date:e=>e instanceof Date,object:e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,array:e=>Array.isArray(e),Provenance:e=>C.object(e)&&"jsonPath"in e&&"name"in e&&"node"in e,Explicit:e=>C.Provenance(e)&&e.explicit===!0,NonNullable:e=>e!=null,isIsoDateString:e=>C.string(e)&&Lm.test(e),isIsoDateTimeString:e=>C.string(e)&&jm.test(e),Type:e=>e instanceof Kt,ClassReference:e=>e instanceof ge,Optional:e=>e instanceof Re,OptionalWrapper:e=>e instanceof Qt,AsyncEnumerable:e=>e!=null&&e.asNonOptional().fullyQualifiedName.startsWith("System.Collections.Generic.IAsyncEnumerable"),Record:{empty:e=>e==null||Object.keys(e||{}).length===0,nonEmpty:e=>C.object(e)&&Object.keys(e).length>0,withKey:(e,t)=>C.object(e)&&t in e,missingKey:(e,t)=>C.object(e)&&!(t in e)},Ast:{Node:e=>e instanceof L,NamedNode:e=>C.Ast.Node(e)&&"name"in e&&typeof e.name=="string"},OneOf:{OneOf:e=>C.ClassReference(e)&&e.fullyQualifiedName==="OneOf.OneOf",OneOfBase:e=>C.ClassReference(e)&&e.fullyQualifiedName==="OneOf.OneOfBase"},Primitive:{string:e=>e instanceof q.String,boolean:e=>e instanceof q.Boolean,int:e=>e instanceof q.Integer,long:e=>e instanceof q.Long,uint:e=>e instanceof q.Uint,ulong:e=>e instanceof q.ULong,float:e=>e instanceof q.Float,double:e=>e instanceof q.Double,object:e=>e instanceof q.Object},Value:{dateTime:e=>e instanceof Ie.DateTime,uuid:e=>e instanceof Ie.Uuid,byte:e=>e instanceof Ie.Binary,stringEnum:e=>e instanceof Ie.StringEnum},Collection:{array:e=>e instanceof se.Array,listType:e=>e instanceof se.ListType,list:e=>e instanceof se.List,set:e=>e instanceof se.Set,map:e=>e instanceof se.Map,idictionary:e=>e instanceof se.IDictionary,keyValuePair:e=>e instanceof se.KeyValuePair},Literal:{string:e=>e instanceof B.String,boolean:e=>e instanceof B.Boolean,decimal:e=>e instanceof B.Decimal,double:e=>e instanceof B.Double,date:e=>e instanceof B.Date,dateTime:e=>e instanceof B.DateTime,float:e=>e instanceof B.Float,int:e=>e instanceof B.Integer,long:e=>e instanceof B.Long,uint:e=>e instanceof B.Uint,ulong:e=>e instanceof B.Ulong,class:e=>e instanceof B.Class_,list:e=>e instanceof B.List,set:e=>e instanceof B.Set,dictionary:e=>e instanceof B.Dictionary,nop:e=>e instanceof B.Nop,null:e=>e instanceof B.Null,unknown:e=>e instanceof B.Unknown},IR:b,DynamicIR:M};n();a();s();var ut=class extends L{constructor(r,i){super(i);m(this,"arg");this.arg=r}write(r){return new ke(this.arg).write(r)}};var ct=class extends L{constructor(r,i){super(i);m(this,"statements",[])}write(r){for(let i of this.statements){if(C.string(i)){r.writeStatement(i);continue}if(i instanceof ut){i.write(r);continue}r.writeStatement(...i)}}append(r){this.statements.push(r)}assign(r,i){return C.Ast.NamedNode(i)?this.statements.push([`${r.name} = ${i.name}`]):this.statements.push([r.name," = ",i]),this}if(r,i){}};n();a();s();var Yt=class extends L{constructor({classReference:r,arguments_:i,forceUseConstructor:o,properties:c,multiline:d},y){super(y);m(this,"classReference");m(this,"arguments_");m(this,"forceUseConstructor");m(this,"properties");m(this,"multiline");this.classReference=r,this.arguments_=i,this.forceUseConstructor=o??!1,this.properties=c??[],this.multiline=d??!1}write(r){this.classReference.namespaceAlias!=null?r.write(`new ${this.classReference.namespaceAlias}.${this.classReference.name}`):(r.write("new "),r.writeNode(this.classReference));let i=qa(this.arguments_);if(i&&!this.forceUseConstructor?r.write(" {"):r.write("("),this.arguments_.length===0){this.writeEnd({writer:r,hasNamedArguments:i});return}this.multiline&&r.newLine(),r.indent(),this.arguments_.forEach((o,c)=>{nn(o)?(r.write(`${o.name}`),this.forceUseConstructor?r.write(": "):r.write(" = "),r.write(o.assignment)):o.write(r),c<this.arguments_.length-1&&(r.write(","),this.multiline||r.write(" ")),this.multiline&&r.newLine()}),r.dedent(),this.writeEnd({writer:r,hasNamedArguments:i})}writeEnd({writer:r,hasNamedArguments:i}){i&&!this.forceUseConstructor?r.write("}"):r.write(")"),this.properties.length>0&&(r.write("{"),this.multiline?(r.newLine(),r.indent()):r.write(" "),this.properties.forEach((o,c)=>{r.write(o.name," = ",o.value),c<this.properties.length-1&&(r.write(","),this.multiline?r.newLine():r.write(" "))}),this.multiline&&(r.dedent(),r.newLine()),r.write("}"))}};n();a();s();var Xt=class extends L{constructor({keyType:r,valueType:i,values:o},c){super(c);m(this,"keyType");m(this,"valueType");m(this,"values");this.keyType=r,this.valueType=i,this.values=o}write(r){if(this.values==null){r.write(this.System.Collections.Generic.Dictionary(this.keyType,this.valueType).new());return}if(this.values.type==="argument"){r.write(this.System.Collections.Generic.Dictionary(this.keyType,this.valueType).new({arguments_:[this.values.argument]}));return}r.write(this.System.Collections.Generic.Dictionary(this.keyType,this.valueType).new()),r.pushScope();for(let{key:i,value:o}of this.values.entries)r.writeLine("{ ",i,", ",o," },");r.popScope()}};n();a();s();var Zt=class extends L{constructor({reference:r,value:i},o){super(o);m(this,"reference");m(this,"value");this.reference=r,this.value=i}write(r){r.writeNode(this.reference),r.write(`.${this.value}`)}};n();a();s();var fe=class extends L{constructor(r,i){super(i);m(this,"internalType");this.internalType=r}write(r){switch(this.internalType.type){case"integer":r.write(this.internalType.value.toString());break;case"long":r.write(`${this.internalType.value.toString()}`);break;case"uint":r.write(`${this.internalType.value.toString()}`);break;case"ulong":r.write(`${this.internalType.value.toString()}`);break;case"string":r.writeNode(this.csharp.string_({string:this.internalType.value}));break;case"boolean":r.write(this.internalType.value.toString());break;case"float":r.write(`${this.internalType.value.toString()}f`);break;case"double":r.write(`${this.internalType.value.toString()}`);break;case"date":{let i=new Date(this.internalType.value),o=this.csharp.Literal.integer(i.getUTCFullYear()),c=this.csharp.Literal.integer(i.getUTCMonth()+1),d=this.csharp.Literal.integer(i.getUTCDate());r.write(this.System.DateOnly.new({arguments_:[o,c,d]}));break}case"dateTime":{this.internalType.parse?(r.write(`DateTime.Parse("${this.internalType.value.toISOString()}", null, `),r.writeNode(this.System.Globalization.DateTimeStyles),r.write(".AdjustToUniversal)")):r.write(this.constructDatetimeWithoutParse(this.internalType.value));break}case"uuid":r.write(`"${this.internalType.value.toString()}"`);break;case"null":r.write("null");break}}constructDatetimeWithoutParse(r){let i=r.getUTCFullYear(),o=(r.getUTCMonth()+1).toString().padStart(2,"0"),c=r.getUTCDate().toString().padStart(2,"0"),d=r.getUTCHours().toString().padStart(2,"0"),y=r.getUTCMinutes().toString().padStart(2,"0"),g=r.getUTCSeconds().toString().padStart(2,"0"),x=r.getUTCMilliseconds().toString().padStart(3,"0");return`new DateTime(${i}, ${o}, ${c}, ${d}, ${y}, ${g}, ${x})`}};n();a();s();var er=class extends L{constructor({itemType:r,entries:i},o){super(o);m(this,"itemType");m(this,"entries");this.itemType=r,this.entries=i}write(r){this.itemType!=null?(r.write(this.System.Collections.Generic.List(this.itemType).new()),r.pushScope()):r.write("["),this.entries.forEach((i,o)=>{r.writeNode(i),o<this.entries.length-1&&r.write(", ")}),this.itemType!=null?r.popScope():r.write("]")}};n();a();s();var tr=class extends L{constructor({method:r,arguments_:i,on:o,async:c,configureAwait:d,generics:y,multiline:g,isAsyncEnumerable:x},S){super(S);m(this,"arguments");m(this,"method");m(this,"on");m(this,"async");m(this,"isAsyncEnumerable");m(this,"configureAwait");m(this,"generics");m(this,"multiline");this.method=r,this.arguments=i,this.on=o,this.async=c??!1,this.configureAwait=d??!1,this.generics=y??[],this.multiline=g??!1,this.isAsyncEnumerable=x??!1}write(r){if(this.async&&!this.isAsyncEnumerable&&r.write("await "),this.on&&(this.on.write(r),r.write(".")),r.write(this.method),this.generics!=null&&this.generics.length>0&&(r.write("<"),this.generics.forEach((i,o)=>{r.writeNode(i),o<this.generics.length-1&&r.write(", ")}),r.write(">")),r.write("("),this.arguments.length===0){r.write(")"),this.writeEnd(r);return}this.multiline&&(r.newLine(),r.indent()),this.arguments.forEach((i,o)=>{i.write(r),o<this.arguments.length-1&&(r.write(","),this.multiline||r.write(" ")),this.multiline&&r.writeNewLineIfLastLineNot()}),this.multiline&&r.dedent(),r.write(")"),this.writeEnd(r)}writeEnd(r){this.async&&this.configureAwait===!1&&r.write(".ConfigureAwait(false)")}};n();a();s();var rr=class extends L{constructor({itemType:r,entries:i},o){super(o);m(this,"itemType");m(this,"entries");this.itemType=r,this.entries=i}write(r){r.write("new"),this.entries.length===0&&(r.write(" "),r.writeNode(this.itemType)),r.write("[] {"),this.entries.forEach((i,o)=>{r.writeNode(i),o<this.entries.length-1&&r.write(", ")}),r.write("}")}};n();a();s();var ir=class extends L{constructor({itemType:r,entries:i},o){super(o);m(this,"itemType");m(this,"entries");this.itemType=r,this.entries=i}write(r){r.write(this.System.Collections.Generic.HashSet(this.itemType).new()),r.pushScope(),this.entries.forEach((i,o)=>{r.writeNode(i),o<this.entries.length-1&&r.write(", ")}),r.popScope(!1)}};n();a();s();n();a();s();var Dm={"\\":"\\\\",'"':'\\"',"\n":"\\n","\r":"\\r"," ":"\\t","\0":"\\0","\f":"\\f","\b":"\\b","\v":"\\v","\x07":"\\a"},Um=/[\\\"\n\r\t\0\f\u0007\u0008\v\u0001-\u0006\u000E-\u001F\u007F-\u009F]/g;function kc(e){return e.replace(Um,t=>{let r=Dm[t];return r!==void 0?r:`\\u${t.charCodeAt(0).toString(16).padStart(4,"0")}`})}var nr=class extends L{constructor(r,i){super(i);m(this,"string");this.string=r.string}write(r){r.write(`"${kc(this.string)}"`)}};n();a();s();n();a();s();n();a();s();var H;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(H||(H={}));function Fc(e){return e.type===H.Tag||e.type===H.Script||e.type===H.Style}var Bm=H.Root,Mm=H.Text,Vm=H.Directive,vm=H.Comment,zm=H.Script,qm=H.Style,Gm=H.Tag,Wm=H.CDATA,$m=H.Doctype;n();a();s();var Tn=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return Dc(this,t)}},Ui=class extends Tn{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}},sr=class extends Ui{constructor(){super(...arguments),this.type=H.Text}get nodeType(){return 3}},Bi=class extends Ui{constructor(){super(...arguments),this.type=H.Comment}get nodeType(){return 8}},Mi=class extends Ui{constructor(t,r){super(r),this.name=t,this.type=H.Directive}get nodeType(){return 1}},Vi=class extends Tn{constructor(t){super(),this.children=t}get firstChild(){var t;return(t=this.children[0])!==null&&t!==void 0?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}},vi=class extends Vi{constructor(){super(...arguments),this.type=H.CDATA}get nodeType(){return 4}},ar=class extends Vi{constructor(){super(...arguments),this.type=H.Root}get nodeType(){return 9}},zi=class extends Vi{constructor(t,r,i=[],o=t==="script"?H.Script:t==="style"?H.Style:H.Tag){super(i),this.name=t,this.attribs=r,this.type=o}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var r,i;return{name:t,value:this.attribs[t],namespace:(r=this["x-attribsNamespace"])===null||r===void 0?void 0:r[t],prefix:(i=this["x-attribsPrefix"])===null||i===void 0?void 0:i[t]}})}};function Me(e){return Fc(e)}function mo(e){return e.type===H.CDATA}function Ct(e){return e.type===H.Text}function ho(e){return e.type===H.Comment}function Hm(e){return e.type===H.Directive}function jc(e){return e.type===H.Root}function Dc(e,t=!1){let r;if(Ct(e))r=new sr(e.data);else if(ho(e))r=new Bi(e.data);else if(Me(e)){let i=t?fo(e.children):[],o=new zi(e.name,{...e.attribs},i);i.forEach(c=>c.parent=o),e.namespace!=null&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]={...e["x-attribsPrefix"]}),r=o}else if(mo(e)){let i=t?fo(e.children):[],o=new vi(i);i.forEach(c=>c.parent=o),r=o}else if(jc(e)){let i=t?fo(e.children):[],o=new ar(i);i.forEach(c=>c.parent=o),e["x-mode"]&&(o["x-mode"]=e["x-mode"]),r=o}else if(Hm(e)){let i=new Mi(e.name,e.data);e["x-name"]!=null&&(i["x-name"]=e["x-name"],i["x-publicId"]=e["x-publicId"],i["x-systemId"]=e["x-systemId"]),r=i}else throw new Error(`Not implemented yet: ${e.type}`);return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function fo(e){let t=e.map(r=>Dc(r,!0));for(let r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}var Uc={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},or=class{constructor(t,r,i){this.dom=[],this.root=new ar(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof r=="function"&&(i=r,r=Uc),typeof t=="object"&&(r=t,t=void 0),this.callback=t??null,this.options=r??Uc,this.elementCB=i??null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new ar(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(t){this.handleCallback(t)}onclosetag(){this.lastNode=null;let t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)}onopentag(t,r){let i=this.options.xmlMode?H.Tag:void 0,o=new zi(t,r,void 0,i);this.addNode(o),this.tagStack.push(o)}ontext(t){let{lastNode:r}=this;if(r&&r.type===H.Text)r.data+=t,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{let i=new sr(t);this.addNode(i),this.lastNode=i}}oncomment(t){if(this.lastNode&&this.lastNode.type===H.Comment){this.lastNode.data+=t;return}let r=new Bi(t);this.addNode(r),this.lastNode=r}oncommentend(){this.lastNode=null}oncdatastart(){let t=new sr(""),r=new vi([t]);this.addNode(r),t.parent=r,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,r){let i=new Mi(t,r);this.addNode(i)}handleCallback(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t}addNode(t){let r=this.tagStack[this.tagStack.length-1],i=r.children[r.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),r.children.push(t),i&&(t.prev=i,i.next=t),t.parent=r,this.lastNode=null}};n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var An=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(e=>e.charCodeAt(0)));n();a();s();var In=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));n();a();s();var yo,Jm=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ur=(yo=String.fromCodePoint)!==null&&yo!==void 0?yo:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function go(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Jm.get(e))!==null&&t!==void 0?t:e}var oe;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(oe||(oe={}));var Km=32,pt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(pt||(pt={}));function bo(e){return e>=oe.ZERO&&e<=oe.NINE}function Qm(e){return e>=oe.UPPER_A&&e<=oe.UPPER_F||e>=oe.LOWER_A&&e<=oe.LOWER_F}function Ym(e){return e>=oe.UPPER_A&&e<=oe.UPPER_Z||e>=oe.LOWER_A&&e<=oe.LOWER_Z||bo(e)}function Xm(e){return e===oe.EQUALS||Ym(e)}var ae;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(ae||(ae={}));var Ee;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ee||(Ee={}));var cr=class{constructor(t,r,i){this.decodeTree=t,this.emitCodePoint=r,this.errors=i,this.state=ae.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ee.Strict}startEntity(t){this.decodeMode=t,this.state=ae.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case ae.EntityStart:return t.charCodeAt(r)===oe.NUM?(this.state=ae.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=ae.NamedEntity,this.stateNamedEntity(t,r));case ae.NumericStart:return this.stateNumericStart(t,r);case ae.NumericDecimal:return this.stateNumericDecimal(t,r);case ae.NumericHex:return this.stateNumericHex(t,r);case ae.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|Km)===oe.LOWER_X?(this.state=ae.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=ae.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,i,o){if(r!==i){let c=i-r;this.result=this.result*Math.pow(o,c)+parseInt(t.substr(r,c),o),this.consumed+=c}}stateNumericHex(t,r){let i=r;for(;r<t.length;){let o=t.charCodeAt(r);if(bo(o)||Qm(o))r+=1;else return this.addToNumericResult(t,i,r,16),this.emitNumericEntity(o,3)}return this.addToNumericResult(t,i,r,16),-1}stateNumericDecimal(t,r){let i=r;for(;r<t.length;){let o=t.charCodeAt(r);if(bo(o))r+=1;else return this.addToNumericResult(t,i,r,10),this.emitNumericEntity(o,2)}return this.addToNumericResult(t,i,r,10),-1}emitNumericEntity(t,r){var i;if(this.consumed<=r)return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===oe.SEMI)this.consumed+=1;else if(this.decodeMode===Ee.Strict)return 0;return this.emitCodePoint(go(this.result),this.consumed),this.errors&&(t!==oe.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){let{decodeTree:i}=this,o=i[this.treeIndex],c=(o&pt.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){let d=t.charCodeAt(r);if(this.treeIndex=Zm(i,o,this.treeIndex+Math.max(1,c),d),this.treeIndex<0)return this.result===0||this.decodeMode===Ee.Attribute&&(c===0||Xm(d))?0:this.emitNotTerminatedNamedEntity();if(o=i[this.treeIndex],c=(o&pt.VALUE_LENGTH)>>14,c!==0){if(d===oe.SEMI)return this.emitNamedEntityData(this.treeIndex,c,this.consumed+this.excess);this.decodeMode!==Ee.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;let{result:r,decodeTree:i}=this,o=(i[r]&pt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,o,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,i){let{decodeTree:o}=this;return this.emitCodePoint(r===1?o[t]&~pt.VALUE_LENGTH:o[t+1],i),r===3&&this.emitCodePoint(o[t+2],i),i}end(){var t;switch(this.state){case ae.NamedEntity:return this.result!==0&&(this.decodeMode!==Ee.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ae.NumericDecimal:return this.emitNumericEntity(0,2);case ae.NumericHex:return this.emitNumericEntity(0,3);case ae.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ae.EntityStart:return 0}}};function Bc(e){let t="",r=new cr(e,i=>t+=ur(i));return function(o,c){let d=0,y=0;for(;(y=o.indexOf("&",y))>=0;){t+=o.slice(d,y),r.startEntity(c);let x=r.write(o,y+1);if(x<0){d=y+r.end();break}d=y+x,y=x===0?d+1:d}let g=t+o.slice(d);return t="",g}}function Zm(e,t,r,i){let o=(t&pt.BRANCH_LENGTH)>>7,c=t&pt.JUMP_TABLE;if(o===0)return c!==0&&i===c?r:-1;if(c){let g=i-c;return g<0||g>=o?-1:e[r+g]-1}let d=r,y=d+o-1;for(;d<=y;){let g=d+y>>>1,x=e[g];if(x<i)d=g+1;else if(x>i)y=g-1;else return e[g+o]}return-1}var L8=Bc(An),j8=Bc(In);var k;(function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"})(k||(k={}));var E;(function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.BeforeSpecialT=23]="BeforeSpecialT",e[e.SpecialStartSequence=24]="SpecialStartSequence",e[e.InSpecialTag=25]="InSpecialTag",e[e.InEntity=26]="InEntity"})(E||(E={}));function He(e){return e===k.Space||e===k.NewLine||e===k.Tab||e===k.FormFeed||e===k.CarriageReturn}function En(e){return e===k.Slash||e===k.Gt||He(e)}function ed(e){return e>=k.LowerA&&e<=k.LowerZ||e>=k.UpperA&&e<=k.UpperZ}var Oe;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(Oe||(Oe={}));var me={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])},pr=class{constructor({xmlMode:t=!1,decodeEntities:r=!0},i){this.cbs=i,this.state=E.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=E.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=t,this.decodeEntities=r,this.entityDecoder=new cr(t?In:An,(o,c)=>this.emitCodePoint(o,c))}reset(){this.state=E.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=E.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(t){t===k.Lt||!this.decodeEntities&&this.fastForwardTo(k.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=E.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===k.Amp&&this.startEntity()}stateSpecialStartSequence(t){let r=this.sequenceIndex===this.currentSequence.length;if(!(r?En(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=E.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===k.Gt||He(t)){let r=this.index-this.currentSequence.length;if(this.sectionStart<r){let i=this.index;this.index=r,this.cbs.ontext(this.sectionStart,r),this.index=i}this.isSpecial=!1,this.sectionStart=r+2,this.stateInClosingTagName(t);return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===me.TitleEnd?this.decodeEntities&&t===k.Amp&&this.startEntity():this.fastForwardTo(k.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===k.Lt)}stateCDATASequence(t){t===me.Cdata[this.sequenceIndex]?++this.sequenceIndex===me.Cdata.length&&(this.state=E.InCommentLike,this.currentSequence=me.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=E.InDeclaration,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===t)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===me.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=E.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(t){return this.xmlMode?!En(t):ed(t)}startSpecial(t,r){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=r,this.state=E.SpecialStartSequence}stateBeforeTagName(t){if(t===k.ExclamationMark)this.state=E.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===k.Questionmark)this.state=E.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){let r=t|32;this.sectionStart=this.index,this.xmlMode?this.state=E.InTagName:r===me.ScriptEnd[2]?this.state=E.BeforeSpecialS:r===me.TitleEnd[2]?this.state=E.BeforeSpecialT:this.state=E.InTagName}else t===k.Slash?this.state=E.BeforeClosingTagName:(this.state=E.Text,this.stateText(t))}stateInTagName(t){En(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){He(t)||(t===k.Gt?this.state=E.Text:(this.state=this.isTagStartChar(t)?E.InClosingTagName:E.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===k.Gt||He(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=E.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===k.Gt||this.fastForwardTo(k.Gt))&&(this.state=E.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===k.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=E.InSpecialTag,this.sequenceIndex=0):this.state=E.Text,this.sectionStart=this.index+1):t===k.Slash?this.state=E.InSelfClosingTag:He(t)||(this.state=E.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===k.Gt?(this.cbs.onselfclosingtag(this.index),this.state=E.Text,this.sectionStart=this.index+1,this.isSpecial=!1):He(t)||(this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===k.Eq||En(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=E.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===k.Eq?this.state=E.BeforeAttributeValue:t===k.Slash||t===k.Gt?(this.cbs.onattribend(Oe.NoValue,this.sectionStart),this.sectionStart=-1,this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(t)):He(t)||(this.cbs.onattribend(Oe.NoValue,this.sectionStart),this.state=E.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===k.DoubleQuote?(this.state=E.InAttributeValueDq,this.sectionStart=this.index+1):t===k.SingleQuote?(this.state=E.InAttributeValueSq,this.sectionStart=this.index+1):He(t)||(this.sectionStart=this.index,this.state=E.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,r){t===r||!this.decodeEntities&&this.fastForwardTo(r)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r===k.DoubleQuote?Oe.Double:Oe.Single,this.index+1),this.state=E.BeforeAttributeName):this.decodeEntities&&t===k.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,k.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,k.SingleQuote)}stateInAttributeValueNoQuotes(t){He(t)||t===k.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Oe.Unquoted,this.index),this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===k.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===k.OpeningSquareBracket?(this.state=E.CDATASequence,this.sequenceIndex=0):this.state=t===k.Dash?E.BeforeComment:E.InDeclaration}stateInDeclaration(t){(t===k.Gt||this.fastForwardTo(k.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=E.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===k.Gt||this.fastForwardTo(k.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=E.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===k.Dash?(this.state=E.InCommentLike,this.currentSequence=me.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=E.InDeclaration}stateInSpecialComment(t){(t===k.Gt||this.fastForwardTo(k.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=E.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){let r=t|32;r===me.ScriptEnd[3]?this.startSpecial(me.ScriptEnd,4):r===me.StyleEnd[3]?this.startSpecial(me.StyleEnd,4):(this.state=E.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){let r=t|32;r===me.TitleEnd[3]?this.startSpecial(me.TitleEnd,4):r===me.TextareaEnd[3]?this.startSpecial(me.TextareaEnd,4):(this.state=E.InTagName,this.stateInTagName(t))}startEntity(){this.baseState=this.state,this.state=E.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Ee.Strict:this.baseState===E.Text||this.baseState===E.InSpecialTag?Ee.Legacy:Ee.Attribute)}stateInEntity(){let t=this.entityDecoder.write(this.buffer,this.index-this.offset);t>=0?(this.state=this.baseState,t===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===E.Text||this.state===E.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===E.InAttributeValueDq||this.state===E.InAttributeValueSq||this.state===E.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let t=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case E.Text:{this.stateText(t);break}case E.SpecialStartSequence:{this.stateSpecialStartSequence(t);break}case E.InSpecialTag:{this.stateInSpecialTag(t);break}case E.CDATASequence:{this.stateCDATASequence(t);break}case E.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(t);break}case E.InAttributeName:{this.stateInAttributeName(t);break}case E.InCommentLike:{this.stateInCommentLike(t);break}case E.InSpecialComment:{this.stateInSpecialComment(t);break}case E.BeforeAttributeName:{this.stateBeforeAttributeName(t);break}case E.InTagName:{this.stateInTagName(t);break}case E.InClosingTagName:{this.stateInClosingTagName(t);break}case E.BeforeTagName:{this.stateBeforeTagName(t);break}case E.AfterAttributeName:{this.stateAfterAttributeName(t);break}case E.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(t);break}case E.BeforeAttributeValue:{this.stateBeforeAttributeValue(t);break}case E.BeforeClosingTagName:{this.stateBeforeClosingTagName(t);break}case E.AfterClosingTagName:{this.stateAfterClosingTagName(t);break}case E.BeforeSpecialS:{this.stateBeforeSpecialS(t);break}case E.BeforeSpecialT:{this.stateBeforeSpecialT(t);break}case E.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(t);break}case E.InSelfClosingTag:{this.stateInSelfClosingTag(t);break}case E.InDeclaration:{this.stateInDeclaration(t);break}case E.BeforeDeclaration:{this.stateBeforeDeclaration(t);break}case E.BeforeComment:{this.stateBeforeComment(t);break}case E.InProcessingInstruction:{this.stateInProcessingInstruction(t);break}case E.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===E.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let t=this.buffer.length+this.offset;this.sectionStart>=t||(this.state===E.InCommentLike?this.currentSequence===me.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===E.InTagName||this.state===E.BeforeAttributeName||this.state===E.BeforeAttributeValue||this.state===E.AfterAttributeName||this.state===E.InAttributeName||this.state===E.InAttributeValueSq||this.state===E.InAttributeValueDq||this.state===E.InAttributeValueNq||this.state===E.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,r){this.baseState!==E.Text&&this.baseState!==E.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+r,this.index=this.sectionStart-1,this.cbs.onattribentity(t)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+r,this.index=this.sectionStart-1,this.cbs.ontextentity(t,this.sectionStart))}};var lr=new Set(["input","option","optgroup","select","button","datalist","textarea"]),Z=new Set(["p"]),Mc=new Set(["thead","tbody"]),Vc=new Set(["dd","dt"]),vc=new Set(["rt","rp"]),td=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",Z],["h1",Z],["h2",Z],["h3",Z],["h4",Z],["h5",Z],["h6",Z],["select",lr],["input",lr],["output",lr],["button",lr],["datalist",lr],["textarea",lr],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Vc],["dt",Vc],["address",Z],["article",Z],["aside",Z],["blockquote",Z],["details",Z],["div",Z],["dl",Z],["fieldset",Z],["figcaption",Z],["figure",Z],["footer",Z],["form",Z],["header",Z],["hr",Z],["main",Z],["nav",Z],["ol",Z],["pre",Z],["section",Z],["table",Z],["ul",Z],["rt",vc],["rp",vc],["tbody",Mc],["tfoot",Mc]]),rd=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),zc=new Set(["math","svg"]),qc=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),id=/\s|\//,qi=class{constructor(t,r={}){var i,o,c,d,y,g;this.options=r,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(i=r.lowerCaseTags)!==null&&i!==void 0?i:this.htmlMode,this.lowerCaseAttributeNames=(o=r.lowerCaseAttributeNames)!==null&&o!==void 0?o:this.htmlMode,this.recognizeSelfClosing=(c=r.recognizeSelfClosing)!==null&&c!==void 0?c:!this.htmlMode,this.tokenizer=new((d=r.Tokenizer)!==null&&d!==void 0?d:pr)(this.options,this),this.foreignContext=[!this.htmlMode],(g=(y=this.cbs).onparserinit)===null||g===void 0||g.call(y,this)}ontext(t,r){var i,o;let c=this.getSlice(t,r);this.endIndex=r-1,(o=(i=this.cbs).ontext)===null||o===void 0||o.call(i,c),this.startIndex=r}ontextentity(t,r){var i,o;this.endIndex=r-1,(o=(i=this.cbs).ontext)===null||o===void 0||o.call(i,ur(t)),this.startIndex=r}isVoidElement(t){return this.htmlMode&&rd.has(t)}onopentagname(t,r){this.endIndex=r;let i=this.getSlice(t,r);this.lowerCaseTagNames&&(i=i.toLowerCase()),this.emitOpenTag(i)}emitOpenTag(t){var r,i,o,c;this.openTagStart=this.startIndex,this.tagname=t;let d=this.htmlMode&&td.get(t);if(d)for(;this.stack.length>0&&d.has(this.stack[0]);){let y=this.stack.shift();(i=(r=this.cbs).onclosetag)===null||i===void 0||i.call(r,y,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&(zc.has(t)?this.foreignContext.unshift(!0):qc.has(t)&&this.foreignContext.unshift(!1))),(c=(o=this.cbs).onopentagname)===null||c===void 0||c.call(o,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var r,i;this.startIndex=this.openTagStart,this.attribs&&((i=(r=this.cbs).onopentag)===null||i===void 0||i.call(r,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,r){var i,o,c,d,y,g,x,S;this.endIndex=r;let A=this.getSlice(t,r);if(this.lowerCaseTagNames&&(A=A.toLowerCase()),this.htmlMode&&(zc.has(A)||qc.has(A))&&this.foreignContext.shift(),this.isVoidElement(A))this.htmlMode&&A==="br"&&((d=(c=this.cbs).onopentagname)===null||d===void 0||d.call(c,"br"),(g=(y=this.cbs).onopentag)===null||g===void 0||g.call(y,"br",{},!0),(S=(x=this.cbs).onclosetag)===null||S===void 0||S.call(x,"br",!1));else{let O=this.stack.indexOf(A);if(O!==-1)for(let w=0;w<=O;w++){let V=this.stack.shift();(o=(i=this.cbs).onclosetag)===null||o===void 0||o.call(i,V,w!==O)}else this.htmlMode&&A==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=r+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var r,i;let o=this.tagname;this.endOpenTag(t),this.stack[0]===o&&((i=(r=this.cbs).onclosetag)===null||i===void 0||i.call(r,o,!t),this.stack.shift())}onattribname(t,r){this.startIndex=t;let i=this.getSlice(t,r);this.attribname=this.lowerCaseAttributeNames?i.toLowerCase():i}onattribdata(t,r){this.attribvalue+=this.getSlice(t,r)}onattribentity(t){this.attribvalue+=ur(t)}onattribend(t,r){var i,o;this.endIndex=r,(o=(i=this.cbs).onattribute)===null||o===void 0||o.call(i,this.attribname,this.attribvalue,t===Oe.Double?'"':t===Oe.Single?"'":t===Oe.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){let r=t.search(id),i=r<0?t:t.substr(0,r);return this.lowerCaseTagNames&&(i=i.toLowerCase()),i}ondeclaration(t,r){this.endIndex=r;let i=this.getSlice(t,r);if(this.cbs.onprocessinginstruction){let o=this.getInstructionName(i);this.cbs.onprocessinginstruction(`!${o}`,`!${i}`)}this.startIndex=r+1}onprocessinginstruction(t,r){this.endIndex=r;let i=this.getSlice(t,r);if(this.cbs.onprocessinginstruction){let o=this.getInstructionName(i);this.cbs.onprocessinginstruction(`?${o}`,`?${i}`)}this.startIndex=r+1}oncomment(t,r,i){var o,c,d,y;this.endIndex=r,(c=(o=this.cbs).oncomment)===null||c===void 0||c.call(o,this.getSlice(t,r-i)),(y=(d=this.cbs).oncommentend)===null||y===void 0||y.call(d),this.startIndex=r+1}oncdata(t,r,i){var o,c,d,y,g,x,S,A,O,w;this.endIndex=r;let V=this.getSlice(t,r-i);!this.htmlMode||this.options.recognizeCDATA?((c=(o=this.cbs).oncdatastart)===null||c===void 0||c.call(o),(y=(d=this.cbs).ontext)===null||y===void 0||y.call(d,V),(x=(g=this.cbs).oncdataend)===null||x===void 0||x.call(g)):((A=(S=this.cbs).oncomment)===null||A===void 0||A.call(S,`[CDATA[${V}]]`),(w=(O=this.cbs).oncommentend)===null||w===void 0||w.call(O)),this.startIndex=r+1}onend(){var t,r;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let i=0;i<this.stack.length;i++)this.cbs.onclosetag(this.stack[i],!0)}(r=(t=this.cbs).onend)===null||r===void 0||r.call(t)}reset(){var t,r,i,o;(r=(t=this.cbs).onreset)===null||r===void 0||r.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(o=(i=this.cbs).onparserinit)===null||o===void 0||o.call(i,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,r){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let i=this.buffers[0].slice(t-this.bufferOffset,r-this.bufferOffset);for(;r-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),i+=this.buffers[0].slice(0,r-this.bufferOffset);return i}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var r,i;if(this.ended){(i=(r=this.cbs).onerror)===null||i===void 0||i.call(r,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var r,i;if(this.ended){(i=(r=this.cbs).onerror)===null||i===void 0||i.call(r,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(t){this.write(t)}done(t){this.end(t)}};n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();function wn(e){for(let t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}var nd=new Map(wn([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(wn([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(wn([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(wn([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));n();a();s();var sd=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),ad=String.prototype.codePointAt!=null?(e,t)=>e.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function xo(e,t){return function(i){let o,c=0,d="";for(;o=e.exec(i);)c!==o.index&&(d+=i.substring(c,o.index)),d+=t.get(o[0].charCodeAt(0)),c=o.index+1;return d+i.substring(c)}}var Gc=xo(/[&<>'"]/g,sd),So=xo(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),To=xo(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var Wc;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(Wc||(Wc={}));var $c;(function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"})($c||($c={}));n();a();s();var ud=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),cd=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e]));n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var Qc;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})(Qc||(Qc={}));n();a();s();function Yc(e,t){let r=new or(void 0,t);return new qi(r,t).end(e),r.root}var lt=class lt{constructor(t){m(this,"writer");m(this,"wrotePrefixOnCurrentLine",!1);this.writer=t}write(t){if(typeof t=="string"){this.writer.write(t);return}t.write(this.writer)}writeWithEscaping(t){if(typeof t=="string"){this.writer.write(this.escapeXmlDocContent(t));return}t.write(this.writer)}writeLine(t=""){this.writePrefix(),this.writer.writeLine(t),this.wrotePrefixOnCurrentLine=!1}writeLineWithEscaping(t){this.writePrefix(),this.writer.write(this.escapeXmlDocContent(t)),this.wrotePrefixOnCurrentLine=!1}writeNewLineIfLastLineNot(){this.writer.writeNewLineIfLastLineNot(),this.wrotePrefixOnCurrentLine=!1}writeNodeOrString(t){this.writer.write(t)}writePrefix(){return this.wrotePrefixOnCurrentLine?this:(this.writer.write("/// "),this.wrotePrefixOnCurrentLine=!0,this)}writeOpenXmlNode(t){this.write(`<${t}>`)}writeCloseXmlNode(t){this.write(`</${t}>`)}writeNode(t){this.writer.writeNode(t)}writeXmlNode(t,r){this.writePrefix(),this.writeOpenXmlNode(t),this.writeLine(r),this.writePrefix(),this.writeCloseXmlNode(t)}writeXmlNodeMultiline(t,r){this.writePrefix(),this.writeOpenXmlNode(t),this.writeLine(),this.writeMultiline(r),this.writeLine(),this.writePrefix(),this.writeCloseXmlNode(t)}writeXmlNodeWithEscaping(t,r){this.writeOpenXmlNode(t),this.writeLineWithEscaping(r),this.writeCloseXmlNode(t)}writeMultilineNodeWithEscaping(t,r){this.writeOpenXmlNode(t),this.writeLine(),this.writeMultilineWithEscaping(r),this.writeLine(),this.writeCloseXmlNode(t)}writeMultiline(t){t.trim().split(`
28
- `).forEach(r=>{this.writeLine(r)})}writeMultilineWithEscaping(t){t=this.escapeXmlDocContent(t),this.writeMultiline(t)}escapeXmlDocContent(t){let r=this.decodeHtmlEntities(t),i=this.convertHtmlToXmlDoc(r),o=/<\/?([a-zA-Z][a-zA-Z0-9]*)\b[^>]*\/?>/g,c=[];return i.replace(o,(g,x)=>lt.SAFE_XML_DOC_TAGS.has(x.toLowerCase())?`\uE000${c.push(g)-1}\uE000`:g).replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/\uE000(\d+)\uE000/g,(g,x)=>c[parseInt(x,10)]??"")}convertHtmlToXmlDoc(t){if(!/<[a-zA-Z]/.test(t))return t;t=t.replace(/<\/?([a-zA-Z][a-zA-Z0-9]*)\b[^>]*\/?>/g,(i,o)=>{let c=o.toLowerCase();return lt.CONVERTIBLE_HTML_TAGS.has(c)||lt.SAFE_XML_DOC_TAGS.has(c)?i:i.replaceAll("<","&lt;").replaceAll(">","&gt;")}),t=t.replace(/<(?=[a-zA-Z])(?![^>]*>)/g,"&lt;");let r=Yc(t,{decodeEntities:!1,recognizeSelfClosing:!0,lowerCaseAttributeNames:!0});return this.renderNodes(r.children)}renderNodes(t){return t.map(r=>this.renderNode(r)).join("")}renderNode(t){return Ct(t)?t.data:Me(t)?this.renderElement(t):""}renderElement(t){let r=t.name.toLowerCase(),i=this.renderNodes(t.children);switch(r){case"code":case"tt":return(t.parent!=null&&Me(t.parent)?t.parent.name.toLowerCase():void 0)==="pre"?`<code>${i}</code>`:`<c>${i}</c>`;case"pre":{let o=t.children.filter(c=>!Ct(c)||c.data.trim()!=="");return o.length===1&&o[0]!=null&&Me(o[0])&&o[0].name.toLowerCase()==="code"?i:`<code>${i}</code>`}case"p":return`<para>${i}</para>`;case"ul":return`<list type="bullet">${i}</list>`;case"ol":return`<list type="number">${i}</list>`;case"li":return`<item><description>${i}</description></item>`;case"a":{let o=t.attribs.href;return o?`<see href="${o}">${i}</see>`:i}case"br":return"<br/>";case"b":case"strong":return`<b>${i}</b>`;case"i":case"em":return`<i>${i}</i>`;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return`<para>${i}</para>`;case"div":case"span":case"table":case"tr":case"td":case"th":case"thead":case"tbody":return i;default:{if(lt.SAFE_XML_DOC_TAGS.has(r)){let o=Object.entries(t.attribs).map(([c,d])=>` ${c}="${d}"`).join("");return t.children.length===0?`<${t.name}${o}/>`:`<${t.name}${o}>${i}</${t.name}>`}return i}}}decodeHtmlEntities(t){let r={"&plus;":"+","&minus;":"-","&times;":"\xD7","&divide;":"\xF7","&nbsp;":" ","&hellip;":"\u2026","&middot;":"\xB7","&copy;":"\xA9","&reg;":"\xAE","&trade;":"\u2122","&deg;":"\xB0","&plusmn;":"\xB1","&frac14;":"\xBC","&frac12;":"\xBD","&frac34;":"\xBE","&ndash;":"\u2013","&mdash;":"\u2014","&lsquo;":"\u2018","&rsquo;":"\u2019","&ldquo;":"\u201C","&rdquo;":"\u201D","&bull;":"\u2022","&euro;":"\u20AC","&pound;":"\xA3","&yen;":"\xA5","&cent;":"\xA2","&sect;":"\xA7","&para;":"\xB6","&dagger;":"\u2020","&Dagger;":"\u2021","&permil;":"\u2030","&lsaquo;":"\u2039","&rsaquo;":"\u203A","&spades;":"\u2660","&clubs;":"\u2663","&hearts;":"\u2665","&diams;":"\u2666","&larr;":"\u2190","&uarr;":"\u2191","&rarr;":"\u2192","&darr;":"\u2193","&harr;":"\u2194","&crarr;":"\u21B5","&lArr;":"\u21D0","&uArr;":"\u21D1","&rArr;":"\u21D2","&dArr;":"\u21D3","&hArr;":"\u21D4","&forall;":"\u2200","&part;":"\u2202","&exist;":"\u2203","&empty;":"\u2205","&nabla;":"\u2207","&isin;":"\u2208","&notin;":"\u2209","&ni;":"\u220B","&prod;":"\u220F","&sum;":"\u2211","&lowast;":"\u2217","&radic;":"\u221A","&prop;":"\u221D","&infin;":"\u221E","&ang;":"\u2220","&and;":"\u2227","&or;":"\u2228","&cap;":"\u2229","&cup;":"\u222A","&int;":"\u222B","&there4;":"\u2234","&sim;":"\u223C","&cong;":"\u2245","&asymp;":"\u2248","&ne;":"\u2260","&equiv;":"\u2261","&le;":"\u2264","&ge;":"\u2265","&sub;":"\u2282","&sup;":"\u2283","&nsub;":"\u2284","&sube;":"\u2286","&supe;":"\u2287","&oplus;":"\u2295","&otimes;":"\u2297","&perp;":"\u22A5","&sdot;":"\u22C5","&Alpha;":"\u0391","&Beta;":"\u0392","&Gamma;":"\u0393","&Delta;":"\u0394","&Epsilon;":"\u0395","&Zeta;":"\u0396","&Eta;":"\u0397","&Theta;":"\u0398","&Iota;":"\u0399","&Kappa;":"\u039A","&Lambda;":"\u039B","&Mu;":"\u039C","&Nu;":"\u039D","&Xi;":"\u039E","&Omicron;":"\u039F","&Pi;":"\u03A0","&Rho;":"\u03A1","&Sigma;":"\u03A3","&Tau;":"\u03A4","&Upsilon;":"\u03A5","&Phi;":"\u03A6","&Chi;":"\u03A7","&Psi;":"\u03A8","&Omega;":"\u03A9","&alpha;":"\u03B1","&beta;":"\u03B2","&gamma;":"\u03B3","&delta;":"\u03B4","&epsilon;":"\u03B5","&zeta;":"\u03B6","&eta;":"\u03B7","&theta;":"\u03B8","&iota;":"\u03B9","&kappa;":"\u03BA","&lambda;":"\u03BB","&mu;":"\u03BC","&nu;":"\u03BD","&xi;":"\u03BE","&omicron;":"\u03BF","&pi;":"\u03C0","&rho;":"\u03C1","&sigmaf;":"\u03C2","&sigma;":"\u03C3","&tau;":"\u03C4","&upsilon;":"\u03C5","&phi;":"\u03C6","&chi;":"\u03C7","&psi;":"\u03C8","&omega;":"\u03C9"},i=t;for(let[o,c]of Object.entries(r))i=i.replaceAll(o,c);return i=i.replace(/&#(\d+);/g,(o,c)=>String.fromCharCode(parseInt(c,10))),i=i.replace(/&#x([0-9A-Fa-f]+);/g,(o,c)=>String.fromCharCode(parseInt(c,16))),i}};m(lt,"SAFE_XML_DOC_TAGS",new Set(["c","code","description","example","exception","include","inheritdoc","item","list","listheader","para","param","paramref","permission","remarks","returns","see","seealso","summary","term","typeparam","typeparamref","value","a","b","br","i","u","p"])),m(lt,"CONVERTIBLE_HTML_TAGS",new Set(["code","pre","p","ul","ol","li","a","br","b","strong","i","em","tt","h1","h2","h3","h4","h5","h6","div","span","table","tr","td","th","thead","tbody"]));var fr=lt;n();a();s();var ne={Public:"public",Private:"private",Protected:"protected",Internal:"internal"};n();a();s();var mr=class extends L{constructor(r,i){super(i);m(this,"conditions");this.conditions=r.conditions}write(r){this.conditions.forEach((i,o)=>{o>0&&r.write(" && "),r.writeNode(i)})}};n();a();s();var Je=class extends L{constructor(r,i){super(i);m(this,"reference");m(this,"argument");this.reference=r.reference,this.argument=r.argument}write(r){r.addReference(this.reference),r.write("["),this.reference.writeAsAttribute(r),this.argument!=null&&(r.write("("),typeof this.argument=="string"?r.write(this.argument):this.argument.write(r),r.write(")")),r.write("]")}};n();a();s();var dr=class extends L{constructor(r,i){super(i);m(this,"items");this.items=r.items}write(r){if(this.items.length!==0){for(let i of this.items){let o=this.getReference(i);r.addReference(o)}r.write("[");for(let i=0;i<this.items.length;i++){i>0&&r.write(", ");let o=this.items[i];o!=null&&this.getReference(o).writeAsAttribute(r)}r.write("]")}}getReference(r){return"reference"in r&&r.reference?r.reference:r}};n();a();s();var hr=class{constructor(t){m(this,"isAsync");m(this,"parameters");m(this,"body");this.isAsync=t.isAsync??!1,this.parameters=t.parameters,this.body=t.body}write(t){this.isAsync&&t.write("async "),t.write("("),this.parameters.forEach((r,i)=>{r.write(t),i<this.parameters.length-1&&t.write(", ")}),t.writeLine(") =>"),t.pushScope(),this.body?.write(t),t.popScope()}};n();a();s();var yr=class extends L{constructor(r,i){super(i);m(this,"conditions");this.conditions=r.conditions}write(r){this.conditions.forEach((i,o)=>{o>0&&r.write(" || "),r.writeNode(i)})}};n();a();s();n();a();s();var Le=class extends L{constructor({name:r,type:i,docs:o,initializer:c,ref:d,out:y},g){super(g);m(this,"name");m(this,"docs");m(this,"initializer");m(this,"type");m(this,"ref");m(this,"out");this.name=r,this.type=i,this.docs=o,this.initializer=c,this.ref=d??!1,this.out=y??!1}write(r){this.ref&&r.write("ref "),this.out&&r.write("out "),r.writeNode(this.type),r.write(` ${this.name}`),this.initializer!=null&&r.write(` = ${this.initializer}`)}};n();a();s();var gr=class extends L{constructor({condition:r,cases:i},o){super(o);m(this,"condition");m(this,"cases");this.condition=r,this.cases=i}write(r){r.writeNode(this.condition),r.write(" switch"),r.pushScope();for(let{label:i,value:o}of this.cases)r.writeNode(i),r.write(" => "),r.writeNode(o),r.writeLine(",");r.popScope()}};n();a();s();var br=class extends L{constructor(r,i){super(i);m(this,"args");this.args=r}write(r){return new si(this.args).write(r)}};n();a();s();var ft=class extends L{constructor(r,i){super(i);m(this,"arg");this.arg=r}write(r){if(this.arg==null)return;let i=r instanceof Fe?new fr(r):r;if(typeof this.arg=="function"){i.writePrefix(),this.arg(i),i.writeNewLineIfLastLineNot();return}if(typeof this.arg=="string"){i.writeMultilineWithEscaping(this.arg),i.writeNewLineIfLastLineNot();return}this.arg.summary&&(i.writePrefix(),i.writeOpenXmlNode("summary"),i.writeLine(),this.writeXmlDocNodeWithEscaping(i,this.arg.summary),i.writeNewLineIfLastLineNot(),i.writePrefix(),i.writeCloseXmlNode("summary"),i.writeNewLineIfLastLineNot()),this.arg.codeExample&&(i.writePrefix(),i.writeOpenXmlNode("example"),i.writeOpenXmlNode("code"),i.writeLine(),this.writeXmlDocNodeWithEscaping(i,this.arg.codeExample),i.writeNewLineIfLastLineNot(),i.writePrefix(),i.writeCloseXmlNode("code"),i.writeCloseXmlNode("example"),i.writeNewLineIfLastLineNot()),this.arg.exceptions&&this.arg.exceptions.forEach((o,c)=>{i.writePrefix(),i.write('<exception cref="'),i.writeNodeOrString(c),i.write('">'),this.writeXmlDocNode(i,o),i.write("</exception>"),i.writeNewLineIfLastLineNot()}),this.arg.inheritdoc&&(i.writePrefix(),i.write("<inheritdoc"),this.arg.inheritdoc!==!0&&(this.arg.inheritdoc.cref&&i.write(` cref="${this.arg.inheritdoc.cref}"`),this.arg.inheritdoc.path&&i.write(` path="${this.arg.inheritdoc.path}"`)),i.write(" />"),i.writeNewLineIfLastLineNot()),this.arg.remarks&&(i.writePrefix(),i.writeOpenXmlNode("remarks"),i.writeLine(),this.writeXmlDocNodeWithEscaping(i,this.arg.remarks),i.writeNewLineIfLastLineNot(),i.writePrefix(),i.writeCloseXmlNode("remarks"),i.writeNewLineIfLastLineNot())}writeXmlDocNode(r,i){if(i!=null){if(typeof i=="function"){r.writePrefix(),i(r);return}typeof i=="string"&&(r.writePrefix(),r.writeMultiline(i))}}writeXmlDocNodeWithEscaping(r,i){if(i!=null){if(typeof i=="function"){r.writePrefix(),i(r);return}typeof i=="string"&&(r.writePrefix(),r.writeMultilineWithEscaping(i))}}};n();a();s();n();a();s();n();a();s();var xr=class extends Xe{constructor({name:r,type:i,access:o,const_:c,new_:d,get:y,init:g,set:x,annotations:S,initializer:A,summary:O,doc:w,jsonPropertyName:V,readonly:G,static_:U,useRequired:z,skipDefaultInitializer:ie,interfaceReference:de,accessors:X,override:te,isEvent:I,origin:P,enclosingType:W},Kr){super({enclosingType:W},P,Kr);m(this,"name");m(this,"access");m(this,"type");m(this,"const_");m(this,"static_");m(this,"get");m(this,"init");m(this,"set");m(this,"new_");m(this,"annotations");m(this,"initializer");m(this,"doc");m(this,"jsonPropertyName");m(this,"readonly");m(this,"useRequired");m(this,"skipDefaultInitializer");m(this,"interfaceReference");m(this,"accessors");m(this,"override");m(this,"isEvent_");if(!W)throw new Error("Enclosing type is required");r=r||(P?this.model.getPropertyNameFor(P):re("Field name or origin is required")),this.name=(W instanceof ge?W:W.reference).registerField(r,P,this),this.type=i,this.const_=c??!1,this.new_=d??!1,this.access=o,this.get=y??!!X?.get,this.set=x??!!X?.set,this.init=g??!!X?.init,this.annotations=(S??[]).map(Qr=>Qr instanceof ge?this.csharp.annotation({reference:Qr}):Qr),this.initializer=A,this.doc=this.csharp.xmlDocBlockOf(w??{summary:O}),this.jsonPropertyName=V,this.readonly=G,this.static_=U??!1,this.useRequired=z??!1,this.skipDefaultInitializer=ie??!1,this.interfaceReference=de,this.accessors=X,this.override=te??!1,this.isEvent_=I??!1,this.jsonPropertyName!=null&&(this.annotations=[this.csharp.annotation({reference:this.System.Text.Json.Serialization.JsonPropertyName,argument:`"${this.jsonPropertyName}"`}),...this.annotations])}get needsInitialization(){return!this.type.isOptional&&this.initializer==null}get isConst(){return this.const_}get isField(){return this.const_?!1:!(this.get||this.init||this.set)}get isProperty(){return this.const_?!1:!!(this.get||this.init||this.set)}get isStatic(){return this.static_}get isRequired(){return this.useRequired}get isOptional(){return this.type.isOptional}get isEvent(){return this.isEvent_}write(r){r.writeNode(this.doc);for(let d of this.annotations)d.write(r);r.writeNewLineIfLastLineNot(),this.override&&r.write("override "),this.access&&r.write(`${this.access} `),this.const_&&r.write("const "),this.new_&&r.write("new ");let i=this.type.isOptional,o=this.type.asNonOptional().isCollection;if(this.useRequired&&!i&&!o&&this.initializer==null&&r.write("required "),this.static_&&r.write("static "),this.readonly&&r.write("readonly "),this.isEvent_&&r.write("event "),r.writeNode(this.type),r.write(" "),this.interfaceReference&&r.write(`${this.interfaceReference.name}.`),r.write(this.name),this.isEvent_&&this.accessors?.add&&this.accessors?.remove){r.writeLine(""),r.writeLine("{"),r.indent(),r.write("add => "),this.accessors.add(r),r.writeLine(";"),r.write("remove => "),this.accessors.remove(r),r.writeLine(";"),r.dedent(),r.writeLine("}");return}let c=this.get&&!this.init&&!this.set&&this.initializer!=null;(this.get||this.init||this.set)&&!c&&(r.write(" { "),this.get&&(this.hasSameAccess(this.get)||r.write(`${this.get} `),this.accessors?.get?(r.write("get"),r.write(" => "),this.accessors.get(r),r.writeTextStatement("")):r.write("get; ")),this.init&&((this.access===ne.Public||this.access===ne.Protected)&&(this.init===!0||this.init===ne.Public||this.init===ne.Protected)?(r.writeLine(),r.writeNoIndent(`#if NET5_0_OR_GREATER
27
+ `)}`:""}},Te=class extends L{constructor(r,i){super(i);m(this,"origin");this.origin=this.model.origin(r)}},Ze=class extends Te{constructor(r,i,o){super(i,o);m(this,"enclosingType");this.enclosingType=r.enclosingType}};var B=class extends L{get typeName(){return this.constructor.name}};(function(e){class t extends e{constructor(I,C){super(C);m(this,"value");this.value=I}write(I){I.write(this.value.toString())}}e.Boolean=t;class r extends e{constructor(I,C,J){super(J);m(this,"fields");m(this,"reference");this.reference=I,this.fields=C}write(I){let C=this.fields.filter(J=>!(J.value instanceof e.Nop));I.writeNode(this.reference.new({arguments_:C.map(J=>({name:J.name,assignment:J.value})),multiline:!0}))}}e.Class_=r;class i extends e{constructor(I,C){super(C);m(this,"value");this.value=I}write(I){I.write(this.System.DateOnly,`.Parse("${this.value}")`)}}e.Date=i;class o extends e{constructor(I,C){super(C);m(this,"value");this.value=I}write(I){I.write(this.System.DateTime,`.Parse("${this.value}", null, `,this.System.Globalization.DateTimeStyles,".AdjustToUniversal)")}}e.DateTime=o;class c extends e{constructor(I,C){super(C);m(this,"value");this.value=I}write(I){I.write(`${this.value}m`)}}e.Decimal=c;class d extends e{constructor(I,C){super(C);m(this,"value");this.value=I}write(I){I.write(this.value.toString())}}e.Double=d;class y extends e{constructor(I,C){super(C);m(this,"value");this.value=I}write(I){I.write(`${this.value}f`)}}e.Float=y;class g extends e{constructor(I,C){super(C);m(this,"value");this.value=I}write(I){I.write(this.value.toString())}}e.Integer=g;class x extends e{constructor(I,C){super(C);m(this,"value");this.value=I}write(I){I.write(`${this.value}L`)}}e.Long=x;class S extends e{constructor(I,C){super(C);m(this,"value");this.value=I}write(I){I.write(`${this.value}u`)}}e.Uint=S;class A extends e{constructor(I,C){super(C);m(this,"value");this.value=I}write(I){I.write(`${this.value}ul`)}}e.Ulong=A;class O extends e{constructor(I,C){super(C);m(this,"value");this.value=I}write(I){I.writeNode(this.value)}}e.Reference=O;class w extends e{constructor(I,C){super(C);m(this,"value");this.value=I}write(I){I.writeNode(this.csharp.string_({string:this.value}))}}e.String=w;class V extends e{write(te){te.write("null")}}e.Null=V;class G extends e{write(te){}}e.Nop=G;class U extends e{constructor(I,C,J){super(J);m(this,"valueType");m(this,"values");this.valueType=I,this.values=C}write(I){if(I.write(this.System.Collections.Generic.List(this.valueType).new()),this.values.length!==0){I.pushScope();for(let C of this.values.filter(J=>!(J instanceof e.Nop)))C.write(I),I.writeLine(",");I.popScope()}}}e.List=U;class z extends e{constructor(I,C,J){super(J);m(this,"valueType");m(this,"values");this.valueType=I,this.values=C}write(I){if(I.write(this.System.Collections.Generic.HashSet(this.valueType).new()),this.values.length!==0){I.pushScope();for(let C of this.values.filter(J=>!(J instanceof e.Nop)))C.write(I),I.writeLine(",");I.popScope()}}}e.Set=z;class ie extends e{constructor(I,C,J,ve){super(ve);m(this,"entries");m(this,"keyType");m(this,"valueType");this.keyType=I,this.valueType=C,this.entries=J}write(I){I.write(this.System.Collections.Generic.Dictionary(this.keyType,this.valueType).new());let C=this.entries.filter(J=>!P.Literal.nop(J.key)&&!P.Literal.nop(J.value));if(C.length!==0){I.pushScope();for(let J of C)I.write("["),I.writeNode(J.key),I.write("] = "),I.writeNode(J.value),I.writeLine(",");I.popScope()}}}e.Dictionary=ie;class de extends e{constructor(I,C){super(C);m(this,"value");this.value=I}write(I){this.writeUnknown({writer:I,value:this.value})}writeUnknown({writer:I,value:C}){switch(typeof C){case"boolean":I.write(C.toString());return;case"string":I.writeNode(this.csharp.string_({string:C}));return;case"number":I.write(C.toString());return;case"object":if(C==null){I.write("null");return}if(Array.isArray(C)){this.writeUnknownArray({writer:I,value:C});return}this.writeUnknownMap({writer:I,value:C});return;default:throw new Error(`Internal error; unsupported unknown type: ${typeof C}`)}}writeUnknownArray({writer:I,value:C}){if(I.write(this.System.Collections.Generic.List(this.Primitive.object).new()),C.length!==0){I.writeLine(),I.pushScope();for(let J of C)I.writeNode(new de(J,this.generation)),I.writeLine(",");I.popScope()}}writeUnknownMap({writer:I,value:C}){let J=Object.entries(C);if(I.write(this.System.Collections.Generic.Dictionary(this.Primitive.string,this.Primitive.object).new()),J.length!==0){I.writeLine(),I.pushScope();for(let[ve,Ma]of J)I.write(`["${ve}"] = `),I.writeNode(new de(Ma,this.generation)),I.writeLine(",");I.popScope()}}}e.Unknown=de})(B||(B={}));n();a();s();n();a();s();function re(e){throw new Error(e??"Assertion failed")}n();a();s();n();a();s();var N={};k(N,{ApiDefinitionSource:()=>Ni,ApiVersionScheme:()=>cn,AsymmetricAlgorithm:()=>He,AsymmetricKeySource:()=>Ci,AuthScheme:()=>et,AuthSchemesRequirement:()=>li,AvailabilityStatus:()=>Ut,ContainerType:()=>We,Environments:()=>fi,ErrorDeclarationDiscriminantValue:()=>mi,ErrorDiscriminationStrategy:()=>Ri,ExampleCodeSample:()=>di,ExampleContainer:()=>$e,ExampleEndpointSuccessResponse:()=>Mt,ExamplePrimitive:()=>pe,ExampleQueryParameterShape:()=>Vt,ExampleRequestBody:()=>hi,ExampleResponse:()=>yi,ExampleSingleUnionTypeProperties:()=>Wt,ExampleStyle:()=>pn,ExampleTypeReferenceShape:()=>Rt,ExampleTypeShape:()=>at,ExampleWebSocketMessageBody:()=>Li,FileProperty:()=>gi,FileUploadBodyPropertyEncoding:()=>bi,FileUploadRequestProperty:()=>xi,HmacAlgorithm:()=>Jt,HttpEndpointSource:()=>vt,HttpMethod:()=>it,HttpRequestBody:()=>wt,HttpResponseBody:()=>Ge,JsonResponse:()=>Si,Literal:()=>Pi,NamedTypeDefault:()=>ln,NonStreamHttpResponseBody:()=>Nt,OAuthConfiguration:()=>sn,ObjectPropertyAccess:()=>fn,Pagination:()=>nt,PathParameterLocation:()=>Ti,PrimitiveTypeV1:()=>ye,PrimitiveTypeV2:()=>le,ProtobufMethodType:()=>qt,ProtobufType:()=>Oi,PublishTarget:()=>st,PublishingConfig:()=>Gt,RequestPropertyValue:()=>Ai,ResolvedTypeReference:()=>Ot,SdkRequestBodyType:()=>Ii,SdkRequestShape:()=>Ei,ShapeType:()=>$t,SingleUnionTypeProperties:()=>Ht,Source:()=>mn,StreamingResponse:()=>zt,SupportedSdkLanguage:()=>Ae,Transport:()=>wi,Type:()=>ot,TypeReference:()=>Pt,UnionDiscriminatorContext:()=>dn,V2AuthValues:()=>Et,V2EndpointLocationHttpMethod:()=>rt,V2HttpEndpointResponseBody:()=>Bt,WebSocketMessageBody:()=>ji,WebSocketMessageOrigin:()=>gn,WebhookHttpMethod:()=>hn,WebhookPayload:()=>_i,WebhookPayloadBodySort:()=>lo,WebhookPayloadComponent:()=>Kt,WebhookSignatureEncoding:()=>yn,WebhookSignatureVerification:()=>ki,WebhookTimestampFormat:()=>Fi,WellKnownProtobufType:()=>W,audience:()=>pc,auth:()=>Ha,commons:()=>Ja,constants:()=>lc,dynamic:()=>R,environment:()=>ro,errors:()=>io,examples:()=>no,generatorExec:()=>Y,http:()=>ao,ir:()=>oo,proto:()=>uo,publish:()=>co,types:()=>po,variables:()=>Lc,webhooks:()=>fo,websocket:()=>mo});n();a();s();n();a();s();var pc={};n();a();s();var Ha={};k(Ha,{AuthScheme:()=>et,AuthSchemesRequirement:()=>li,OAuthConfiguration:()=>sn});n();a();s();n();a();s();var et={bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return et._visit(this,t)}}),basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return et._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return et._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return et._visit(this,t)}}),inferred:e=>Object.assign(Object.assign({},e),{type:"inferred",_visit:function(t){return et._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"bearer":return t.bearer(e);case"basic":return t.basic(e);case"header":return t.header(e);case"oauth":return t.oauth(e);case"inferred":return t.inferred(e);default:return t._other(e)}}};n();a();s();var mm={All:"ALL",Any:"ANY",EndpointSecurity:"ENDPOINT_SECURITY"},li=Object.assign(Object.assign({},mm),{_visit:(e,t)=>{switch(e){case li.All:return t.all();case li.Any:return t.any();case li.EndpointSecurity:return t.endpointSecurity();default:return t._other()}}});n();a();s();var sn={clientCredentials:e=>Object.assign(Object.assign({},e),{type:"clientCredentials",_visit:function(t){return sn._visit(this,t)}}),_visit:(e,t)=>e.type==="clientCredentials"?t.clientCredentials(e):t._other(e)};var Ja={};k(Ja,{AvailabilityStatus:()=>Ut});n();a();s();n();a();s();var dm={InDevelopment:"IN_DEVELOPMENT",PreRelease:"PRE_RELEASE",GeneralAvailability:"GENERAL_AVAILABILITY",Deprecated:"DEPRECATED"},Ut=Object.assign(Object.assign({},dm),{_visit:(e,t)=>{switch(e){case Ut.InDevelopment:return t.inDevelopment();case Ut.PreRelease:return t.preRelease();case Ut.GeneralAvailability:return t.generalAvailability();case Ut.Deprecated:return t.deprecated();default:return t._other()}}});var lc={};n();a();s();var R={};k(R,{Auth:()=>fc,AuthValues:()=>mc,Environments:()=>Tc,ErrorSeverity:()=>an,FileUploadRequestBodyProperty:()=>yc,GeneratorOutputConfig:()=>Ac,HttpMethod:()=>tt,InlinedRequestBody:()=>gc,LiteralType:()=>Ec,NamedType:()=>wc,ObjectPropertyAccess:()=>on,PrimitiveTypeV1:()=>he,PublishInfo:()=>Ic,ReferencedRequestBodyType:()=>bc,Request:()=>xc,Response:()=>Sc,SingleDiscriminatedUnionType:()=>Nc,TypeReference:()=>Rc,auth:()=>Ka,commons:()=>dc,declaration:()=>hc,endpoints:()=>Qa,environment:()=>Ya,http:()=>Xa,ir:()=>Za,snippets:()=>eo,types:()=>to,variables:()=>Oc});n();a();s();n();a();s();var Ka={};k(Ka,{Auth:()=>fc,AuthValues:()=>mc});n();a();s();n();a();s();var fc={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return R.Auth._visit(this,t)}}),bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return R.Auth._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return R.Auth._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return R.Auth._visit(this,t)}}),inferred:e=>Object.assign(Object.assign({},e),{type:"inferred",_visit:function(t){return R.Auth._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"basic":return t.basic(e);case"bearer":return t.bearer(e);case"header":return t.header(e);case"oauth":return t.oauth(e);case"inferred":return t.inferred(e);default:return t._other(e)}}};n();a();s();var mc={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return R.AuthValues._visit(this,t)}}),bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return R.AuthValues._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return R.AuthValues._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return R.AuthValues._visit(this,t)}}),inferred:e=>Object.assign(Object.assign({},e),{type:"inferred",_visit:function(t){return R.AuthValues._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"basic":return t.basic(e);case"bearer":return t.bearer(e);case"header":return t.header(e);case"oauth":return t.oauth(e);case"inferred":return t.inferred(e);default:return t._other(e)}}};var dc={};n();a();s();var hc={};n();a();s();var Qa={};k(Qa,{FileUploadRequestBodyProperty:()=>yc,InlinedRequestBody:()=>gc,ReferencedRequestBodyType:()=>bc,Request:()=>xc,Response:()=>Sc});n();a();s();n();a();s();var yc={file:e=>Object.assign(Object.assign({},e),{type:"file",_visit:function(t){return R.FileUploadRequestBodyProperty._visit(this,t)}}),fileArray:e=>Object.assign(Object.assign({},e),{type:"fileArray",_visit:function(t){return R.FileUploadRequestBodyProperty._visit(this,t)}}),bodyProperty:e=>Object.assign(Object.assign({},e),{type:"bodyProperty",_visit:function(t){return R.FileUploadRequestBodyProperty._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"file":return t.file(e);case"fileArray":return t.fileArray(e);case"bodyProperty":return t.bodyProperty(e);default:return t._other(e)}}};n();a();s();var gc={properties:e=>({value:e,type:"properties",_visit:function(t){return R.InlinedRequestBody._visit(this,t)}}),referenced:e=>Object.assign(Object.assign({},e),{type:"referenced",_visit:function(t){return R.InlinedRequestBody._visit(this,t)}}),fileUpload:e=>Object.assign(Object.assign({},e),{type:"fileUpload",_visit:function(t){return R.InlinedRequestBody._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"properties":return t.properties(e.value);case"referenced":return t.referenced(e);case"fileUpload":return t.fileUpload(e);default:return t._other(e)}}};n();a();s();var bc={bytes:()=>({type:"bytes",_visit:function(e){return R.ReferencedRequestBodyType._visit(this,e)}}),typeReference:e=>({value:e,type:"typeReference",_visit:function(t){return R.ReferencedRequestBodyType._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"bytes":return t.bytes();case"typeReference":return t.typeReference(e.value);default:return t._other(e)}}};n();a();s();var xc={body:e=>Object.assign(Object.assign({},e),{type:"body",_visit:function(t){return R.Request._visit(this,t)}}),inlined:e=>Object.assign(Object.assign({},e),{type:"inlined",_visit:function(t){return R.Request._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"body":return t.body(e);case"inlined":return t.inlined(e);default:return t._other(e)}}};n();a();s();var Sc={json:()=>({type:"json",_visit:function(e){return R.Response._visit(this,e)}}),streaming:()=>({type:"streaming",_visit:function(e){return R.Response._visit(this,e)}}),streamParameter:()=>({type:"streamParameter",_visit:function(e){return R.Response._visit(this,e)}}),fileDownload:()=>({type:"fileDownload",_visit:function(e){return R.Response._visit(this,e)}}),text:()=>({type:"text",_visit:function(e){return R.Response._visit(this,e)}}),bytes:()=>({type:"bytes",_visit:function(e){return R.Response._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"json":return t.json();case"streaming":return t.streaming();case"streamParameter":return t.streamParameter();case"fileDownload":return t.fileDownload();case"text":return t.text();case"bytes":return t.bytes();default:return t._other(e)}}};var Ya={};k(Ya,{Environments:()=>Tc});n();a();s();n();a();s();var Tc={singleBaseUrl:e=>Object.assign(Object.assign({},e),{type:"singleBaseUrl",_visit:function(t){return R.Environments._visit(this,t)}}),multipleBaseUrls:e=>Object.assign(Object.assign({},e),{type:"multipleBaseUrls",_visit:function(t){return R.Environments._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"singleBaseUrl":return t.singleBaseUrl(e);case"multipleBaseUrls":return t.multipleBaseUrls(e);default:return t._other(e)}}};var Xa={};k(Xa,{HttpMethod:()=>tt});n();a();s();n();a();s();var hm={Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Head:"HEAD"},tt=Object.assign(Object.assign({},hm),{_visit:(e,t)=>{switch(e){case tt.Get:return t.get();case tt.Post:return t.post();case tt.Put:return t.put();case tt.Patch:return t.patch();case tt.Delete:return t.delete();case tt.Head:return t.head();default:return t._other()}}});var Za={};k(Za,{GeneratorOutputConfig:()=>Ac,PublishInfo:()=>Ic});n();a();s();n();a();s();var Ac={publish:e=>({value:e,type:"publish",_visit:function(t){return R.GeneratorOutputConfig._visit(this,t)}}),local:()=>({type:"local",_visit:function(e){return R.GeneratorOutputConfig._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"publish":return t.publish(e.value);case"local":return t.local();default:return t._other(e)}}};n();a();s();var Ic={go:e=>Object.assign(Object.assign({},e),{type:"go",_visit:function(t){return R.PublishInfo._visit(this,t)}}),swift:e=>Object.assign(Object.assign({},e),{type:"swift",_visit:function(t){return R.PublishInfo._visit(this,t)}}),maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return R.PublishInfo._visit(this,t)}}),npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return R.PublishInfo._visit(this,t)}}),nuget:e=>Object.assign(Object.assign({},e),{type:"nuget",_visit:function(t){return R.PublishInfo._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return R.PublishInfo._visit(this,t)}}),rubygems:e=>Object.assign(Object.assign({},e),{type:"rubygems",_visit:function(t){return R.PublishInfo._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return R.PublishInfo._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"go":return t.go(e);case"swift":return t.swift(e);case"maven":return t.maven(e);case"npm":return t.npm(e);case"nuget":return t.nuget(e);case"pypi":return t.pypi(e);case"rubygems":return t.rubygems(e);case"crates":return t.crates(e);default:return t._other(e)}}};var eo={};k(eo,{ErrorSeverity:()=>an});n();a();s();n();a();s();var ym={Critical:"CRITICAL",Warning:"WARNING"},an=Object.assign(Object.assign({},ym),{_visit:(e,t)=>{switch(e){case an.Critical:return t.critical();case an.Warning:return t.warning();default:return t._other()}}});var to={};k(to,{LiteralType:()=>Ec,NamedType:()=>wc,ObjectPropertyAccess:()=>on,PrimitiveTypeV1:()=>he,SingleDiscriminatedUnionType:()=>Nc,TypeReference:()=>Rc});n();a();s();n();a();s();var Ec={boolean:e=>({value:e,type:"boolean",_visit:function(t){return R.LiteralType._visit(this,t)}}),string:e=>({value:e,type:"string",_visit:function(t){return R.LiteralType._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"boolean":return t.boolean(e.value);case"string":return t.string(e.value);default:return t._other(e)}}};n();a();s();var wc={alias:e=>Object.assign(Object.assign({},e),{type:"alias",_visit:function(t){return R.NamedType._visit(this,t)}}),enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return R.NamedType._visit(this,t)}}),object:e=>Object.assign(Object.assign({},e),{type:"object",_visit:function(t){return R.NamedType._visit(this,t)}}),discriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"discriminatedUnion",_visit:function(t){return R.NamedType._visit(this,t)}}),undiscriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"undiscriminatedUnion",_visit:function(t){return R.NamedType._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"alias":return t.alias(e);case"enum":return t.enum(e);case"object":return t.object(e);case"discriminatedUnion":return t.discriminatedUnion(e);case"undiscriminatedUnion":return t.undiscriminatedUnion(e);default:return t._other(e)}}};n();a();s();var gm={ReadOnly:"READ_ONLY",WriteOnly:"WRITE_ONLY"},on=Object.assign(Object.assign({},gm),{_visit:(e,t)=>{switch(e){case on.ReadOnly:return t.readOnly();case on.WriteOnly:return t.writeOnly();default:return t._other()}}});n();a();s();var bm={Integer:"INTEGER",Long:"LONG",Uint:"UINT",Uint64:"UINT_64",Float:"FLOAT",Double:"DOUBLE",Boolean:"BOOLEAN",String:"STRING",Date:"DATE",DateTime:"DATE_TIME",DateTimeRfc2822:"DATE_TIME_RFC_2822",Uuid:"UUID",Base64:"BASE_64",BigInteger:"BIG_INTEGER"},he=Object.assign(Object.assign({},bm),{_visit:(e,t)=>{switch(e){case he.Integer:return t.integer();case he.Long:return t.long();case he.Uint:return t.uint();case he.Uint64:return t.uint64();case he.Float:return t.float();case he.Double:return t.double();case he.Boolean:return t.boolean();case he.String:return t.string();case he.Date:return t.date();case he.DateTime:return t.dateTime();case he.DateTimeRfc2822:return t.dateTimeRfc2822();case he.Uuid:return t.uuid();case he.Base64:return t.base64();case he.BigInteger:return t.bigInteger();default:return t._other()}}});n();a();s();var Nc={samePropertiesAsObject:e=>Object.assign(Object.assign({},e),{type:"samePropertiesAsObject",_visit:function(t){return R.SingleDiscriminatedUnionType._visit(this,t)}}),singleProperty:e=>Object.assign(Object.assign({},e),{type:"singleProperty",_visit:function(t){return R.SingleDiscriminatedUnionType._visit(this,t)}}),noProperties:e=>Object.assign(Object.assign({},e),{type:"noProperties",_visit:function(t){return R.SingleDiscriminatedUnionType._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"samePropertiesAsObject":return t.samePropertiesAsObject(e);case"singleProperty":return t.singleProperty(e);case"noProperties":return t.noProperties(e);default:return t._other(e)}}};n();a();s();var Rc={list:e=>({value:e,type:"list",_visit:function(t){return R.TypeReference._visit(this,t)}}),literal:e=>({value:e,type:"literal",_visit:function(t){return R.TypeReference._visit(this,t)}}),map:e=>Object.assign(Object.assign({},e),{type:"map",_visit:function(t){return R.TypeReference._visit(this,t)}}),named:e=>({value:e,type:"named",_visit:function(t){return R.TypeReference._visit(this,t)}}),nullable:e=>({value:e,type:"nullable",_visit:function(t){return R.TypeReference._visit(this,t)}}),optional:e=>({value:e,type:"optional",_visit:function(t){return R.TypeReference._visit(this,t)}}),primitive:e=>({value:e,type:"primitive",_visit:function(t){return R.TypeReference._visit(this,t)}}),set:e=>({value:e,type:"set",_visit:function(t){return R.TypeReference._visit(this,t)}}),unknown:()=>({type:"unknown",_visit:function(e){return R.TypeReference._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"list":return t.list(e.value);case"literal":return t.literal(e.value);case"map":return t.map(e);case"named":return t.named(e.value);case"nullable":return t.nullable(e.value);case"optional":return t.optional(e.value);case"primitive":return t.primitive(e.value);case"set":return t.set(e.value);case"unknown":return t.unknown();default:return t._other(e)}}};var Oc={};n();a();s();var ro={};k(ro,{Environments:()=>fi});n();a();s();n();a();s();var fi={singleBaseUrl:e=>Object.assign(Object.assign({},e),{type:"singleBaseUrl",_visit:function(t){return fi._visit(this,t)}}),multipleBaseUrls:e=>Object.assign(Object.assign({},e),{type:"multipleBaseUrls",_visit:function(t){return fi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"singleBaseUrl":return t.singleBaseUrl(e);case"multipleBaseUrls":return t.multipleBaseUrls(e);default:return t._other(e)}}};var io={};k(io,{ErrorDeclarationDiscriminantValue:()=>mi});n();a();s();n();a();s();var mi={property:e=>({value:e,type:"property",_visit:function(t){return mi._visit(this,t)}}),statusCode:()=>({type:"statusCode",_visit:function(e){return mi._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"property":return t.property(e.value);case"statusCode":return t.statusCode();default:return t._other(e)}}};var no={};k(no,{V2AuthValues:()=>Et,V2EndpointLocationHttpMethod:()=>rt,V2HttpEndpointResponseBody:()=>Bt});n();a();s();n();a();s();var Et={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return Et._visit(this,t)}}),bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return Et._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return Et._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return Et._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"basic":return t.basic(e);case"bearer":return t.bearer(e);case"header":return t.header(e);case"oauth":return t.oauth(e);default:return t._other(e)}}};n();a();s();var xm={Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Head:"HEAD"},rt=Object.assign(Object.assign({},xm),{_visit:(e,t)=>{switch(e){case rt.Get:return t.get();case rt.Post:return t.post();case rt.Put:return t.put();case rt.Patch:return t.patch();case rt.Delete:return t.delete();case rt.Head:return t.head();default:return t._other()}}});n();a();s();var Bt={error:e=>({value:e,type:"error",_visit:function(t){return Bt._visit(this,t)}}),json:e=>({value:e,type:"json",_visit:function(t){return Bt._visit(this,t)}}),stream:e=>({value:e,type:"stream",_visit:function(t){return Bt._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"error":return t.error(e.value);case"json":return t.json(e.value);case"stream":return t.stream(e.value);default:return t._other(e)}}};var Y={};k(Y,{GeneratorEnvironment:()=>Pc,GeneratorPublishTarget:()=>Cc,GithubPublishInfo:()=>_c,LicenseConfig:()=>kc,LicenseId:()=>un,OutputMode:()=>Fc,config:()=>so});n();a();s();n();a();s();var so={};k(so,{GeneratorEnvironment:()=>Pc,GeneratorPublishTarget:()=>Cc,GithubPublishInfo:()=>_c,LicenseConfig:()=>kc,LicenseId:()=>un,OutputMode:()=>Fc});n();a();s();n();a();s();var Pc={local:()=>({type:"local",_visit:function(e){return Y.GeneratorEnvironment._visit(this,e)}}),remote:e=>Object.assign(Object.assign({},e),{type:"remote",_visit:function(t){return Y.GeneratorEnvironment._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"local":return t.local();case"remote":return t.remote(e);default:return t._other(e)}}};n();a();s();var Cc={maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return Y.GeneratorPublishTarget._visit(this,t)}}),npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return Y.GeneratorPublishTarget._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return Y.GeneratorPublishTarget._visit(this,t)}}),postman:e=>Object.assign(Object.assign({},e),{type:"postman",_visit:function(t){return Y.GeneratorPublishTarget._visit(this,t)}}),rubygems:e=>Object.assign(Object.assign({},e),{type:"rubygems",_visit:function(t){return Y.GeneratorPublishTarget._visit(this,t)}}),nuget:e=>Object.assign(Object.assign({},e),{type:"nuget",_visit:function(t){return Y.GeneratorPublishTarget._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return Y.GeneratorPublishTarget._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"maven":return t.maven(e);case"npm":return t.npm(e);case"pypi":return t.pypi(e);case"postman":return t.postman(e);case"rubygems":return t.rubygems(e);case"nuget":return t.nuget(e);case"crates":return t.crates(e);default:return t._other(e)}}};n();a();s();var _c={npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return Y.GithubPublishInfo._visit(this,t)}}),maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return Y.GithubPublishInfo._visit(this,t)}}),postman:e=>Object.assign(Object.assign({},e),{type:"postman",_visit:function(t){return Y.GithubPublishInfo._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return Y.GithubPublishInfo._visit(this,t)}}),rubygems:e=>Object.assign(Object.assign({},e),{type:"rubygems",_visit:function(t){return Y.GithubPublishInfo._visit(this,t)}}),nuget:e=>Object.assign(Object.assign({},e),{type:"nuget",_visit:function(t){return Y.GithubPublishInfo._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return Y.GithubPublishInfo._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"npm":return t.npm(e);case"maven":return t.maven(e);case"postman":return t.postman(e);case"pypi":return t.pypi(e);case"rubygems":return t.rubygems(e);case"nuget":return t.nuget(e);case"crates":return t.crates(e);default:return t._other(e)}}};n();a();s();var kc={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return Y.LicenseConfig._visit(this,t)}}),custom:e=>Object.assign(Object.assign({},e),{type:"custom",_visit:function(t){return Y.LicenseConfig._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"basic":return t.basic(e);case"custom":return t.custom(e);default:return t._other(e)}}};n();a();s();var Sm={Mit:"MIT",Apache2:"Apache-2.0"},un=Object.assign(Object.assign({},Sm),{_visit:(e,t)=>{switch(e){case un.Mit:return t.mit();case un.Apache2:return t.apache2();default:return t._other()}}});n();a();s();var Fc={publish:e=>Object.assign(Object.assign({},e),{type:"publish",_visit:function(t){return Y.OutputMode._visit(this,t)}}),downloadFiles:()=>({type:"downloadFiles",_visit:function(e){return Y.OutputMode._visit(this,e)}}),github:e=>Object.assign(Object.assign({},e),{type:"github",_visit:function(t){return Y.OutputMode._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"publish":return t.publish(e);case"downloadFiles":return t.downloadFiles();case"github":return t.github(e);default:return t._other(e)}}};var ao={};k(ao,{ExampleCodeSample:()=>di,ExampleEndpointSuccessResponse:()=>Mt,ExampleQueryParameterShape:()=>Vt,ExampleRequestBody:()=>hi,ExampleResponse:()=>yi,FileProperty:()=>gi,FileUploadBodyPropertyEncoding:()=>bi,FileUploadRequestProperty:()=>xi,HttpEndpointSource:()=>vt,HttpMethod:()=>it,HttpRequestBody:()=>wt,HttpResponseBody:()=>Ge,JsonResponse:()=>Si,NonStreamHttpResponseBody:()=>Nt,Pagination:()=>nt,PathParameterLocation:()=>Ti,RequestPropertyValue:()=>Ai,SdkRequestBodyType:()=>Ii,SdkRequestShape:()=>Ei,StreamingResponse:()=>zt,SupportedSdkLanguage:()=>Ae,Transport:()=>wi});n();a();s();n();a();s();var di={language:e=>Object.assign(Object.assign({},e),{type:"language",_visit:function(t){return di._visit(this,t)}}),sdk:e=>Object.assign(Object.assign({},e),{type:"sdk",_visit:function(t){return di._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"language":return t.language(e);case"sdk":return t.sdk(e);default:return t._other(e)}}};n();a();s();var Mt={body:e=>({value:e,type:"body",_visit:function(t){return Mt._visit(this,t)}}),stream:e=>({value:e,type:"stream",_visit:function(t){return Mt._visit(this,t)}}),sse:e=>({value:e,type:"sse",_visit:function(t){return Mt._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"body":return t.body(e.value);case"stream":return t.stream(e.value);case"sse":return t.sse(e.value);default:return t._other(e)}}};n();a();s();var Vt={single:()=>({type:"single",_visit:function(e){return Vt._visit(this,e)}}),exploded:()=>({type:"exploded",_visit:function(e){return Vt._visit(this,e)}}),commaSeparated:()=>({type:"commaSeparated",_visit:function(e){return Vt._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"single":return t.single();case"exploded":return t.exploded();case"commaSeparated":return t.commaSeparated();default:return t._other(e)}}};n();a();s();var hi={inlinedRequestBody:e=>Object.assign(Object.assign({},e),{type:"inlinedRequestBody",_visit:function(t){return hi._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return hi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"inlinedRequestBody":return t.inlinedRequestBody(e);case"reference":return t.reference(e);default:return t._other(e)}}};n();a();s();var yi={ok:e=>({value:e,type:"ok",_visit:function(t){return yi._visit(this,t)}}),error:e=>Object.assign(Object.assign({},e),{type:"error",_visit:function(t){return yi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"ok":return t.ok(e.value);case"error":return t.error(e);default:return t._other(e)}}};n();a();s();var gi={file:e=>Object.assign(Object.assign({},e),{type:"file",_visit:function(t){return gi._visit(this,t)}}),fileArray:e=>Object.assign(Object.assign({},e),{type:"fileArray",_visit:function(t){return gi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"file":return t.file(e);case"fileArray":return t.fileArray(e);default:return t._other(e)}}};n();a();s();var Tm={Exploded:"exploded",Json:"json",Form:"form"},bi=Object.assign(Object.assign({},Tm),{_visit:(e,t)=>{switch(e){case bi.Exploded:return t.exploded();case bi.Json:return t.json();case bi.Form:return t.form();default:return t._other()}}});n();a();s();var xi={file:e=>({value:e,type:"file",_visit:function(t){return xi._visit(this,t)}}),bodyProperty:e=>Object.assign(Object.assign({},e),{type:"bodyProperty",_visit:function(t){return xi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"file":return t.file(e.value);case"bodyProperty":return t.bodyProperty(e);default:return t._other(e)}}};n();a();s();var vt={proto:e=>Object.assign(Object.assign({},e),{type:"proto",_visit:function(t){return vt._visit(this,t)}}),openapi:()=>({type:"openapi",_visit:function(e){return vt._visit(this,e)}}),openrpc:()=>({type:"openrpc",_visit:function(e){return vt._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"proto":return t.proto(e);case"openapi":return t.openapi();case"openrpc":return t.openrpc();default:return t._other(e)}}};n();a();s();var Am={Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Head:"HEAD"},it=Object.assign(Object.assign({},Am),{_visit:(e,t)=>{switch(e){case it.Get:return t.get();case it.Post:return t.post();case it.Put:return t.put();case it.Patch:return t.patch();case it.Delete:return t.delete();case it.Head:return t.head();default:return t._other()}}});n();a();s();var wt={inlinedRequestBody:e=>Object.assign(Object.assign({},e),{type:"inlinedRequestBody",_visit:function(t){return wt._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return wt._visit(this,t)}}),fileUpload:e=>Object.assign(Object.assign({},e),{type:"fileUpload",_visit:function(t){return wt._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return wt._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"inlinedRequestBody":return t.inlinedRequestBody(e);case"reference":return t.reference(e);case"fileUpload":return t.fileUpload(e);case"bytes":return t.bytes(e);default:return t._other(e)}}};n();a();s();var Ge={json:e=>({value:e,type:"json",_visit:function(t){return Ge._visit(this,t)}}),fileDownload:e=>Object.assign(Object.assign({},e),{type:"fileDownload",_visit:function(t){return Ge._visit(this,t)}}),text:e=>Object.assign(Object.assign({},e),{type:"text",_visit:function(t){return Ge._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return Ge._visit(this,t)}}),streaming:e=>({value:e,type:"streaming",_visit:function(t){return Ge._visit(this,t)}}),streamParameter:e=>Object.assign(Object.assign({},e),{type:"streamParameter",_visit:function(t){return Ge._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"json":return t.json(e.value);case"fileDownload":return t.fileDownload(e);case"text":return t.text(e);case"bytes":return t.bytes(e);case"streaming":return t.streaming(e.value);case"streamParameter":return t.streamParameter(e);default:return t._other(e)}}};n();a();s();var Si={response:e=>Object.assign(Object.assign({},e),{type:"response",_visit:function(t){return Si._visit(this,t)}}),nestedPropertyAsResponse:e=>Object.assign(Object.assign({},e),{type:"nestedPropertyAsResponse",_visit:function(t){return Si._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"response":return t.response(e);case"nestedPropertyAsResponse":return t.nestedPropertyAsResponse(e);default:return t._other(e)}}};n();a();s();var Nt={json:e=>({value:e,type:"json",_visit:function(t){return Nt._visit(this,t)}}),fileDownload:e=>Object.assign(Object.assign({},e),{type:"fileDownload",_visit:function(t){return Nt._visit(this,t)}}),text:e=>Object.assign(Object.assign({},e),{type:"text",_visit:function(t){return Nt._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return Nt._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"json":return t.json(e.value);case"fileDownload":return t.fileDownload(e);case"text":return t.text(e);case"bytes":return t.bytes(e);default:return t._other(e)}}};n();a();s();var nt={cursor:e=>Object.assign(Object.assign({},e),{type:"cursor",_visit:function(t){return nt._visit(this,t)}}),offset:e=>Object.assign(Object.assign({},e),{type:"offset",_visit:function(t){return nt._visit(this,t)}}),custom:e=>Object.assign(Object.assign({},e),{type:"custom",_visit:function(t){return nt._visit(this,t)}}),uri:e=>Object.assign(Object.assign({},e),{type:"uri",_visit:function(t){return nt._visit(this,t)}}),path:e=>Object.assign(Object.assign({},e),{type:"path",_visit:function(t){return nt._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"cursor":return t.cursor(e);case"offset":return t.offset(e);case"custom":return t.custom(e);case"uri":return t.uri(e);case"path":return t.path(e);default:return t._other(e)}}};n();a();s();var Im={Root:"ROOT",Service:"SERVICE",Endpoint:"ENDPOINT"},Ti=Object.assign(Object.assign({},Im),{_visit:(e,t)=>{switch(e){case Ti.Root:return t.root();case Ti.Service:return t.service();case Ti.Endpoint:return t.endpoint();default:return t._other()}}});n();a();s();var Ai={query:e=>Object.assign(Object.assign({},e),{type:"query",_visit:function(t){return Ai._visit(this,t)}}),body:e=>Object.assign(Object.assign({},e),{type:"body",_visit:function(t){return Ai._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"query":return t.query(e);case"body":return t.body(e);default:return t._other(e)}}};n();a();s();var Ii={typeReference:e=>Object.assign(Object.assign({},e),{type:"typeReference",_visit:function(t){return Ii._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return Ii._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"typeReference":return t.typeReference(e);case"bytes":return t.bytes(e);default:return t._other(e)}}};n();a();s();var Ei={justRequestBody:e=>({value:e,type:"justRequestBody",_visit:function(t){return Ei._visit(this,t)}}),wrapper:e=>Object.assign(Object.assign({},e),{type:"wrapper",_visit:function(t){return Ei._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"justRequestBody":return t.justRequestBody(e.value);case"wrapper":return t.wrapper(e);default:return t._other(e)}}};n();a();s();var zt={json:e=>Object.assign(Object.assign({},e),{type:"json",_visit:function(t){return zt._visit(this,t)}}),text:e=>Object.assign(Object.assign({},e),{type:"text",_visit:function(t){return zt._visit(this,t)}}),sse:e=>Object.assign(Object.assign({},e),{type:"sse",_visit:function(t){return zt._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"json":return t.json(e);case"text":return t.text(e);case"sse":return t.sse(e);default:return t._other(e)}}};n();a();s();var Em={Curl:"curl",Python:"python",Javascript:"javascript",Typescript:"typescript",Go:"go",Ruby:"ruby",Csharp:"csharp",Java:"java",Php:"php",Rust:"rust",Swift:"swift"},Ae=Object.assign(Object.assign({},Em),{_visit:(e,t)=>{switch(e){case Ae.Curl:return t.curl();case Ae.Python:return t.python();case Ae.Javascript:return t.javascript();case Ae.Typescript:return t.typescript();case Ae.Go:return t.go();case Ae.Ruby:return t.ruby();case Ae.Csharp:return t.csharp();case Ae.Java:return t.java();case Ae.Php:return t.php();case Ae.Rust:return t.rust();case Ae.Swift:return t.swift();default:return t._other()}}});n();a();s();var wi={http:()=>({type:"http",_visit:function(e){return wi._visit(this,e)}}),grpc:e=>Object.assign(Object.assign({},e),{type:"grpc",_visit:function(t){return wi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"http":return t.http();case"grpc":return t.grpc(e);default:return t._other(e)}}};var oo={};k(oo,{ApiDefinitionSource:()=>Ni,ApiVersionScheme:()=>cn,ErrorDiscriminationStrategy:()=>Ri,ExampleStyle:()=>pn});n();a();s();n();a();s();var Ni={proto:e=>Object.assign(Object.assign({},e),{type:"proto",_visit:function(t){return Ni._visit(this,t)}}),openapi:()=>({type:"openapi",_visit:function(e){return Ni._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"proto":return t.proto(e);case"openapi":return t.openapi();default:return t._other(e)}}};n();a();s();var cn={header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return cn._visit(this,t)}}),_visit:(e,t)=>e.type==="header"?t.header(e):t._other(e)};n();a();s();var Ri={statusCode:()=>({type:"statusCode",_visit:function(e){return Ri._visit(this,e)}}),property:e=>Object.assign(Object.assign({},e),{type:"property",_visit:function(t){return Ri._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"statusCode":return t.statusCode();case"property":return t.property(e);default:return t._other(e)}}};n();a();s();var wm={Minimal:"minimal",Comprehensive:"comprehensive"},pn=Object.assign(Object.assign({},wm),{_visit:(e,t)=>{switch(e){case pn.Minimal:return t.minimal();case pn.Comprehensive:return t.comprehensive();default:return t._other()}}});var uo={};k(uo,{ProtobufMethodType:()=>qt,ProtobufType:()=>Oi,WellKnownProtobufType:()=>W});n();a();s();n();a();s();var Nm={Unary:"UNARY",ClientStream:"CLIENT_STREAM",ServerStream:"SERVER_STREAM",BidirectionalStream:"BIDIRECTIONAL_STREAM"},qt=Object.assign(Object.assign({},Nm),{_visit:(e,t)=>{switch(e){case qt.Unary:return t.unary();case qt.ClientStream:return t.clientStream();case qt.ServerStream:return t.serverStream();case qt.BidirectionalStream:return t.bidirectionalStream();default:return t._other()}}});n();a();s();var Oi={wellKnown:e=>({value:e,type:"wellKnown",_visit:function(t){return Oi._visit(this,t)}}),userDefined:e=>Object.assign(Object.assign({},e),{type:"userDefined",_visit:function(t){return Oi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"wellKnown":return t.wellKnown(e.value);case"userDefined":return t.userDefined(e);default:return t._other(e)}}};n();a();s();var W={any:()=>({type:"any",_visit:function(e){return W._visit(this,e)}}),api:()=>({type:"api",_visit:function(e){return W._visit(this,e)}}),boolValue:()=>({type:"boolValue",_visit:function(e){return W._visit(this,e)}}),bytesValue:()=>({type:"bytesValue",_visit:function(e){return W._visit(this,e)}}),doubleValue:()=>({type:"doubleValue",_visit:function(e){return W._visit(this,e)}}),duration:()=>({type:"duration",_visit:function(e){return W._visit(this,e)}}),empty:()=>({type:"empty",_visit:function(e){return W._visit(this,e)}}),enum:()=>({type:"enum",_visit:function(e){return W._visit(this,e)}}),enumValue:()=>({type:"enumValue",_visit:function(e){return W._visit(this,e)}}),field:()=>({type:"field",_visit:function(e){return W._visit(this,e)}}),fieldCardinality:()=>({type:"fieldCardinality",_visit:function(e){return W._visit(this,e)}}),fieldKind:()=>({type:"fieldKind",_visit:function(e){return W._visit(this,e)}}),fieldMask:()=>({type:"fieldMask",_visit:function(e){return W._visit(this,e)}}),floatValue:()=>({type:"floatValue",_visit:function(e){return W._visit(this,e)}}),int32Value:()=>({type:"int32Value",_visit:function(e){return W._visit(this,e)}}),int64Value:()=>({type:"int64Value",_visit:function(e){return W._visit(this,e)}}),listValue:()=>({type:"listValue",_visit:function(e){return W._visit(this,e)}}),method:()=>({type:"method",_visit:function(e){return W._visit(this,e)}}),mixin:()=>({type:"mixin",_visit:function(e){return W._visit(this,e)}}),nullValue:()=>({type:"nullValue",_visit:function(e){return W._visit(this,e)}}),option:()=>({type:"option",_visit:function(e){return W._visit(this,e)}}),sourceContext:()=>({type:"sourceContext",_visit:function(e){return W._visit(this,e)}}),stringValue:()=>({type:"stringValue",_visit:function(e){return W._visit(this,e)}}),struct:()=>({type:"struct",_visit:function(e){return W._visit(this,e)}}),syntax:()=>({type:"syntax",_visit:function(e){return W._visit(this,e)}}),timestamp:()=>({type:"timestamp",_visit:function(e){return W._visit(this,e)}}),type:()=>({type:"type",_visit:function(e){return W._visit(this,e)}}),uint32Value:()=>({type:"uint32Value",_visit:function(e){return W._visit(this,e)}}),uint64Value:()=>({type:"uint64Value",_visit:function(e){return W._visit(this,e)}}),value:()=>({type:"value",_visit:function(e){return W._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"any":return t.any();case"api":return t.api();case"boolValue":return t.boolValue();case"bytesValue":return t.bytesValue();case"doubleValue":return t.doubleValue();case"duration":return t.duration();case"empty":return t.empty();case"enum":return t.enum();case"enumValue":return t.enumValue();case"field":return t.field();case"fieldCardinality":return t.fieldCardinality();case"fieldKind":return t.fieldKind();case"fieldMask":return t.fieldMask();case"floatValue":return t.floatValue();case"int32Value":return t.int32Value();case"int64Value":return t.int64Value();case"listValue":return t.listValue();case"method":return t.method();case"mixin":return t.mixin();case"nullValue":return t.nullValue();case"option":return t.option();case"sourceContext":return t.sourceContext();case"stringValue":return t.stringValue();case"struct":return t.struct();case"syntax":return t.syntax();case"timestamp":return t.timestamp();case"type":return t.type();case"uint32Value":return t.uint32Value();case"uint64Value":return t.uint64Value();case"value":return t.value();default:return t._other(e)}}};var co={};k(co,{PublishTarget:()=>st,PublishingConfig:()=>Gt});n();a();s();n();a();s();var Gt={github:e=>Object.assign(Object.assign({},e),{type:"github",_visit:function(t){return Gt._visit(this,t)}}),direct:e=>Object.assign(Object.assign({},e),{type:"direct",_visit:function(t){return Gt._visit(this,t)}}),filesystem:e=>Object.assign(Object.assign({},e),{type:"filesystem",_visit:function(t){return Gt._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"github":return t.github(e);case"direct":return t.direct(e);case"filesystem":return t.filesystem(e);default:return t._other(e)}}};n();a();s();var st={postman:e=>Object.assign(Object.assign({},e),{type:"postman",_visit:function(t){return st._visit(this,t)}}),npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return st._visit(this,t)}}),maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return st._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return st._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return st._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"postman":return t.postman(e);case"npm":return t.npm(e);case"maven":return t.maven(e);case"pypi":return t.pypi(e);case"crates":return t.crates(e);default:return t._other(e)}}};var po={};k(po,{ContainerType:()=>We,ExampleContainer:()=>$e,ExamplePrimitive:()=>pe,ExampleSingleUnionTypeProperties:()=>Wt,ExampleTypeReferenceShape:()=>Rt,ExampleTypeShape:()=>at,Literal:()=>Pi,NamedTypeDefault:()=>ln,ObjectPropertyAccess:()=>fn,PrimitiveTypeV1:()=>ye,PrimitiveTypeV2:()=>le,ResolvedTypeReference:()=>Ot,ShapeType:()=>$t,SingleUnionTypeProperties:()=>Ht,Source:()=>mn,Type:()=>ot,TypeReference:()=>Pt,UnionDiscriminatorContext:()=>dn});n();a();s();n();a();s();var We={list:e=>({list:e,type:"list",_visit:function(t){return We._visit(this,t)}}),map:e=>Object.assign(Object.assign({},e),{type:"map",_visit:function(t){return We._visit(this,t)}}),nullable:e=>({nullable:e,type:"nullable",_visit:function(t){return We._visit(this,t)}}),optional:e=>({optional:e,type:"optional",_visit:function(t){return We._visit(this,t)}}),set:e=>({set:e,type:"set",_visit:function(t){return We._visit(this,t)}}),literal:e=>({literal:e,type:"literal",_visit:function(t){return We._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"list":return t.list(e.list);case"map":return t.map(e);case"nullable":return t.nullable(e.nullable);case"optional":return t.optional(e.optional);case"set":return t.set(e.set);case"literal":return t.literal(e.literal);default:return t._other(e)}}};n();a();s();var $e={list:e=>Object.assign(Object.assign({},e),{type:"list",_visit:function(t){return $e._visit(this,t)}}),set:e=>Object.assign(Object.assign({},e),{type:"set",_visit:function(t){return $e._visit(this,t)}}),optional:e=>Object.assign(Object.assign({},e),{type:"optional",_visit:function(t){return $e._visit(this,t)}}),nullable:e=>Object.assign(Object.assign({},e),{type:"nullable",_visit:function(t){return $e._visit(this,t)}}),map:e=>Object.assign(Object.assign({},e),{type:"map",_visit:function(t){return $e._visit(this,t)}}),literal:e=>Object.assign(Object.assign({},e),{type:"literal",_visit:function(t){return $e._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"list":return t.list(e);case"set":return t.set(e);case"optional":return t.optional(e);case"nullable":return t.nullable(e);case"map":return t.map(e);case"literal":return t.literal(e);default:return t._other(e)}}};n();a();s();var pe={integer:e=>({integer:e,type:"integer",_visit:function(t){return pe._visit(this,t)}}),long:e=>({long:e,type:"long",_visit:function(t){return pe._visit(this,t)}}),uint:e=>({uint:e,type:"uint",_visit:function(t){return pe._visit(this,t)}}),uint64:e=>({uint64:e,type:"uint64",_visit:function(t){return pe._visit(this,t)}}),float:e=>({float:e,type:"float",_visit:function(t){return pe._visit(this,t)}}),double:e=>({double:e,type:"double",_visit:function(t){return pe._visit(this,t)}}),boolean:e=>({boolean:e,type:"boolean",_visit:function(t){return pe._visit(this,t)}}),string:e=>({string:e,type:"string",_visit:function(t){return pe._visit(this,t)}}),date:e=>({date:e,type:"date",_visit:function(t){return pe._visit(this,t)}}),datetime:e=>Object.assign(Object.assign({},e),{type:"datetime",_visit:function(t){return pe._visit(this,t)}}),datetimeRfc2822:e=>Object.assign(Object.assign({},e),{type:"datetimeRfc2822",_visit:function(t){return pe._visit(this,t)}}),uuid:e=>({uuid:e,type:"uuid",_visit:function(t){return pe._visit(this,t)}}),base64:e=>({base64:e,type:"base64",_visit:function(t){return pe._visit(this,t)}}),bigInteger:e=>({bigInteger:e,type:"bigInteger",_visit:function(t){return pe._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"integer":return t.integer(e.integer);case"long":return t.long(e.long);case"uint":return t.uint(e.uint);case"uint64":return t.uint64(e.uint64);case"float":return t.float(e.float);case"double":return t.double(e.double);case"boolean":return t.boolean(e.boolean);case"string":return t.string(e.string);case"date":return t.date(e.date);case"datetime":return t.datetime(e);case"datetimeRfc2822":return t.datetimeRfc2822(e);case"uuid":return t.uuid(e.uuid);case"base64":return t.base64(e.base64);case"bigInteger":return t.bigInteger(e.bigInteger);default:return t._other(e)}}};n();a();s();var Wt={samePropertiesAsObject:e=>Object.assign(Object.assign({},e),{type:"samePropertiesAsObject",_visit:function(t){return Wt._visit(this,t)}}),singleProperty:e=>Object.assign(Object.assign({},e),{type:"singleProperty",_visit:function(t){return Wt._visit(this,t)}}),noProperties:()=>({type:"noProperties",_visit:function(e){return Wt._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"samePropertiesAsObject":return t.samePropertiesAsObject(e);case"singleProperty":return t.singleProperty(e);case"noProperties":return t.noProperties();default:return t._other(e)}}};n();a();s();var Rt={primitive:e=>({primitive:e,type:"primitive",_visit:function(t){return Rt._visit(this,t)}}),container:e=>({container:e,type:"container",_visit:function(t){return Rt._visit(this,t)}}),unknown:e=>({unknown:e,type:"unknown",_visit:function(t){return Rt._visit(this,t)}}),named:e=>Object.assign(Object.assign({},e),{type:"named",_visit:function(t){return Rt._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"primitive":return t.primitive(e.primitive);case"container":return t.container(e.container);case"unknown":return t.unknown(e.unknown);case"named":return t.named(e);default:return t._other(e)}}};n();a();s();var at={alias:e=>Object.assign(Object.assign({},e),{type:"alias",_visit:function(t){return at._visit(this,t)}}),enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return at._visit(this,t)}}),object:e=>Object.assign(Object.assign({},e),{type:"object",_visit:function(t){return at._visit(this,t)}}),union:e=>Object.assign(Object.assign({},e),{type:"union",_visit:function(t){return at._visit(this,t)}}),undiscriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"undiscriminatedUnion",_visit:function(t){return at._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"alias":return t.alias(e);case"enum":return t.enum(e);case"object":return t.object(e);case"union":return t.union(e);case"undiscriminatedUnion":return t.undiscriminatedUnion(e);default:return t._other(e)}}};n();a();s();var Pi={string:e=>({string:e,type:"string",_visit:function(t){return Pi._visit(this,t)}}),boolean:e=>({boolean:e,type:"boolean",_visit:function(t){return Pi._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"string":return t.string(e.string);case"boolean":return t.boolean(e.boolean);default:return t._other(e)}}};n();a();s();var ln={enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return ln._visit(this,t)}}),_visit:(e,t)=>e.type==="enum"?t.enum(e):t._other(e)};n();a();s();var Rm={ReadOnly:"READ_ONLY",WriteOnly:"WRITE_ONLY"},fn=Object.assign(Object.assign({},Rm),{_visit:(e,t)=>{switch(e){case fn.ReadOnly:return t.readOnly();case fn.WriteOnly:return t.writeOnly();default:return t._other()}}});n();a();s();var Om={Integer:"INTEGER",Long:"LONG",Uint:"UINT",Uint64:"UINT_64",Float:"FLOAT",Double:"DOUBLE",Boolean:"BOOLEAN",String:"STRING",Date:"DATE",DateTime:"DATE_TIME",DateTimeRfc2822:"DATE_TIME_RFC_2822",Uuid:"UUID",Base64:"BASE_64",BigInteger:"BIG_INTEGER"},ye=Object.assign(Object.assign({},Om),{_visit:(e,t)=>{switch(e){case ye.Integer:return t.integer();case ye.Long:return t.long();case ye.Uint:return t.uint();case ye.Uint64:return t.uint64();case ye.Float:return t.float();case ye.Double:return t.double();case ye.Boolean:return t.boolean();case ye.String:return t.string();case ye.Date:return t.date();case ye.DateTime:return t.dateTime();case ye.DateTimeRfc2822:return t.dateTimeRfc2822();case ye.Uuid:return t.uuid();case ye.Base64:return t.base64();case ye.BigInteger:return t.bigInteger();default:return t._other()}}});n();a();s();var le={integer:e=>Object.assign(Object.assign({},e),{type:"integer",_visit:function(t){return le._visit(this,t)}}),long:e=>Object.assign(Object.assign({},e),{type:"long",_visit:function(t){return le._visit(this,t)}}),uint:e=>Object.assign(Object.assign({},e),{type:"uint",_visit:function(t){return le._visit(this,t)}}),uint64:e=>Object.assign(Object.assign({},e),{type:"uint64",_visit:function(t){return le._visit(this,t)}}),float:e=>Object.assign(Object.assign({},e),{type:"float",_visit:function(t){return le._visit(this,t)}}),double:e=>Object.assign(Object.assign({},e),{type:"double",_visit:function(t){return le._visit(this,t)}}),boolean:e=>Object.assign(Object.assign({},e),{type:"boolean",_visit:function(t){return le._visit(this,t)}}),string:e=>Object.assign(Object.assign({},e),{type:"string",_visit:function(t){return le._visit(this,t)}}),date:e=>Object.assign(Object.assign({},e),{type:"date",_visit:function(t){return le._visit(this,t)}}),dateTime:e=>Object.assign(Object.assign({},e),{type:"dateTime",_visit:function(t){return le._visit(this,t)}}),dateTimeRfc2822:e=>Object.assign(Object.assign({},e),{type:"dateTimeRfc2822",_visit:function(t){return le._visit(this,t)}}),uuid:e=>Object.assign(Object.assign({},e),{type:"uuid",_visit:function(t){return le._visit(this,t)}}),base64:e=>Object.assign(Object.assign({},e),{type:"base64",_visit:function(t){return le._visit(this,t)}}),bigInteger:e=>Object.assign(Object.assign({},e),{type:"bigInteger",_visit:function(t){return le._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"integer":return t.integer(e);case"long":return t.long(e);case"uint":return t.uint(e);case"uint64":return t.uint64(e);case"float":return t.float(e);case"double":return t.double(e);case"boolean":return t.boolean(e);case"string":return t.string(e);case"date":return t.date(e);case"dateTime":return t.dateTime(e);case"dateTimeRfc2822":return t.dateTimeRfc2822(e);case"uuid":return t.uuid(e);case"base64":return t.base64(e);case"bigInteger":return t.bigInteger(e);default:return t._other(e)}}};n();a();s();var Ot={container:e=>({container:e,type:"container",_visit:function(t){return Ot._visit(this,t)}}),named:e=>Object.assign(Object.assign({},e),{type:"named",_visit:function(t){return Ot._visit(this,t)}}),primitive:e=>({primitive:e,type:"primitive",_visit:function(t){return Ot._visit(this,t)}}),unknown:()=>({type:"unknown",_visit:function(e){return Ot._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"container":return t.container(e.container);case"named":return t.named(e);case"primitive":return t.primitive(e.primitive);case"unknown":return t.unknown();default:return t._other(e)}}};n();a();s();var Pm={Enum:"ENUM",Object:"OBJECT",Union:"UNION",UndiscriminatedUnion:"UNDISCRIMINATED_UNION"},$t=Object.assign(Object.assign({},Pm),{_visit:(e,t)=>{switch(e){case $t.Enum:return t.enum();case $t.Object:return t.object();case $t.Union:return t.union();case $t.UndiscriminatedUnion:return t.undiscriminatedUnion();default:return t._other()}}});n();a();s();var Ht={samePropertiesAsObject:e=>Object.assign(Object.assign({},e),{propertiesType:"samePropertiesAsObject",_visit:function(t){return Ht._visit(this,t)}}),singleProperty:e=>Object.assign(Object.assign({},e),{propertiesType:"singleProperty",_visit:function(t){return Ht._visit(this,t)}}),noProperties:()=>({propertiesType:"noProperties",_visit:function(e){return Ht._visit(this,e)}}),_visit:(e,t)=>{switch(e.propertiesType){case"samePropertiesAsObject":return t.samePropertiesAsObject(e);case"singleProperty":return t.singleProperty(e);case"noProperties":return t.noProperties();default:return t._other(e)}}};n();a();s();var mn={proto:e=>({value:e,type:"proto",_visit:function(t){return mn._visit(this,t)}}),_visit:(e,t)=>e.type==="proto"?t.proto(e.value):t._other(e)};n();a();s();var ot={alias:e=>Object.assign(Object.assign({},e),{type:"alias",_visit:function(t){return ot._visit(this,t)}}),enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return ot._visit(this,t)}}),object:e=>Object.assign(Object.assign({},e),{type:"object",_visit:function(t){return ot._visit(this,t)}}),union:e=>Object.assign(Object.assign({},e),{type:"union",_visit:function(t){return ot._visit(this,t)}}),undiscriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"undiscriminatedUnion",_visit:function(t){return ot._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"alias":return t.alias(e);case"enum":return t.enum(e);case"object":return t.object(e);case"union":return t.union(e);case"undiscriminatedUnion":return t.undiscriminatedUnion(e);default:return t._other(e)}}};n();a();s();var Pt={container:e=>({container:e,type:"container",_visit:function(t){return Pt._visit(this,t)}}),named:e=>Object.assign(Object.assign({},e),{type:"named",_visit:function(t){return Pt._visit(this,t)}}),primitive:e=>({primitive:e,type:"primitive",_visit:function(t){return Pt._visit(this,t)}}),unknown:()=>({type:"unknown",_visit:function(e){return Pt._visit(this,e)}}),_visit:(e,t)=>{switch(e.type){case"container":return t.container(e.container);case"named":return t.named(e);case"primitive":return t.primitive(e.primitive);case"unknown":return t.unknown();default:return t._other(e)}}};n();a();s();var Cm={Data:"data",Protocol:"protocol"},dn=Object.assign(Object.assign({},Cm),{_visit:(e,t)=>{switch(e){case dn.Data:return t.data();case dn.Protocol:return t.protocol();default:return t._other()}}});var Lc={};n();a();s();var fo={};k(fo,{AsymmetricAlgorithm:()=>He,AsymmetricKeySource:()=>Ci,HmacAlgorithm:()=>Jt,WebhookHttpMethod:()=>hn,WebhookPayload:()=>_i,WebhookPayloadBodySort:()=>lo,WebhookPayloadComponent:()=>Kt,WebhookSignatureEncoding:()=>yn,WebhookSignatureVerification:()=>ki,WebhookTimestampFormat:()=>Fi});n();a();s();n();a();s();var _m={RsaSha256:"RSA_SHA256",RsaSha384:"RSA_SHA384",RsaSha512:"RSA_SHA512",EcdsaSha256:"ECDSA_SHA256",EcdsaSha384:"ECDSA_SHA384",EcdsaSha512:"ECDSA_SHA512",Ed25519:"ED25519"},He=Object.assign(Object.assign({},_m),{_visit:(e,t)=>{switch(e){case He.RsaSha256:return t.rsaSha256();case He.RsaSha384:return t.rsaSha384();case He.RsaSha512:return t.rsaSha512();case He.EcdsaSha256:return t.ecdsaSha256();case He.EcdsaSha384:return t.ecdsaSha384();case He.EcdsaSha512:return t.ecdsaSha512();case He.Ed25519:return t.ed25519();default:return t._other()}}});n();a();s();var Ci={jwks:e=>Object.assign(Object.assign({},e),{type:"jwks",_visit:function(t){return Ci._visit(this,t)}}),static:e=>Object.assign(Object.assign({},e),{type:"static",_visit:function(t){return Ci._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"jwks":return t.jwks(e);case"static":return t.static(e);default:return t._other(e)}}};n();a();s();var km={Sha256:"SHA256",Sha1:"SHA1",Sha384:"SHA384",Sha512:"SHA512"},Jt=Object.assign(Object.assign({},km),{_visit:(e,t)=>{switch(e){case Jt.Sha256:return t.sha256();case Jt.Sha1:return t.sha1();case Jt.Sha384:return t.sha384();case Jt.Sha512:return t.sha512();default:return t._other()}}});n();a();s();var Fm={Get:"GET",Post:"POST"},hn=Object.assign(Object.assign({},Fm),{_visit:(e,t)=>{switch(e){case hn.Get:return t.get();case hn.Post:return t.post();default:return t._other()}}});n();a();s();var _i={inlinedPayload:e=>Object.assign(Object.assign({},e),{type:"inlinedPayload",_visit:function(t){return _i._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return _i._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"inlinedPayload":return t.inlinedPayload(e);case"reference":return t.reference(e);default:return t._other(e)}}};n();a();s();var Lm={Alphabetical:"ALPHABETICAL"},lo=Object.assign(Object.assign({},Lm),{_visit:(e,t)=>e===lo.Alphabetical?t.alphabetical():t._other()});n();a();s();var jm={Body:"BODY",Timestamp:"TIMESTAMP",NotificationUrl:"NOTIFICATION_URL",MessageId:"MESSAGE_ID"},Kt=Object.assign(Object.assign({},jm),{_visit:(e,t)=>{switch(e){case Kt.Body:return t.body();case Kt.Timestamp:return t.timestamp();case Kt.NotificationUrl:return t.notificationUrl();case Kt.MessageId:return t.messageId();default:return t._other()}}});n();a();s();var Dm={Base64:"BASE64",Hex:"HEX"},yn=Object.assign(Object.assign({},Dm),{_visit:(e,t)=>{switch(e){case yn.Base64:return t.base64();case yn.Hex:return t.hex();default:return t._other()}}});n();a();s();var ki={hmac:e=>Object.assign(Object.assign({},e),{type:"hmac",_visit:function(t){return ki._visit(this,t)}}),asymmetric:e=>Object.assign(Object.assign({},e),{type:"asymmetric",_visit:function(t){return ki._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"hmac":return t.hmac(e);case"asymmetric":return t.asymmetric(e);default:return t._other(e)}}};n();a();s();var Um={UnixSeconds:"UNIX_SECONDS",UnixMillis:"UNIX_MILLIS",Iso8601:"ISO8601"},Fi=Object.assign(Object.assign({},Um),{_visit:(e,t)=>{switch(e){case Fi.UnixSeconds:return t.unixSeconds();case Fi.UnixMillis:return t.unixMillis();case Fi.Iso8601:return t.iso8601();default:return t._other()}}});var mo={};k(mo,{ExampleWebSocketMessageBody:()=>Li,WebSocketMessageBody:()=>ji,WebSocketMessageOrigin:()=>gn});n();a();s();n();a();s();var Li={inlinedBody:e=>Object.assign(Object.assign({},e),{type:"inlinedBody",_visit:function(t){return Li._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return Li._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"inlinedBody":return t.inlinedBody(e);case"reference":return t.reference(e);default:return t._other(e)}}};n();a();s();var ji={inlinedBody:e=>Object.assign(Object.assign({},e),{type:"inlinedBody",_visit:function(t){return ji._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return ji._visit(this,t)}}),_visit:(e,t)=>{switch(e.type){case"inlinedBody":return t.inlinedBody(e);case"reference":return t.reference(e);default:return t._other(e)}}};n();a();s();var Bm={Client:"client",Server:"server"},gn=Object.assign(Object.assign({},Bm),{_visit:(e,t)=>{switch(e){case gn.Client:return t.client();case gn.Server:return t.server();default:return t._other()}}});var Sn={};k(Sn,{camelCase:()=>xn,hash:()=>Ne,normalizeDates:()=>Mm,uniqueId:()=>ho,upperFirst:()=>bn});n();a();s();function bn(e){return`${e.charAt(0).toUpperCase()}${e.slice(1)}`}function xn(e){e=e.trim();let t=e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1 $2").split(/[\s_-]+/).filter(r=>r.length>0);return t.length===0?"":t.map((r,i)=>(r=r.toLowerCase(),i===0?r:`${r.charAt(0).toUpperCase()}${r.slice(1)}`)).join("")}function Ne(e){let t=0;for(let r of e)t=(t<<5)-t+r.charCodeAt(0);return t}function ho(e){function t(i){let o=Math.sin(i++)*1e4;return o-Math.floor(o)}let r=Ne(e);return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(i){let o=t(r++)*16|0;return(i==="x"?o:o&3|8).toString(16)})}function Mm(e,t){return P.isIsoDateTimeString(t)?new Date(t).toISOString():P.isIsoDateString(t)?new Date(t).toISOString().slice(0,10):t}var Yt=class extends L{constructor(){super(...arguments);m(this,"defaultValue",this.csharp.Literal.null());m(this,"isOptional",!1);m(this,"isReferenceType",!1);m(this,"fullyQualifiedName",this.constructor.name)}get isAsyncEnumerable(){return!1}get isCollection(){return!1}getCollectionItemType(){}asOptional(){return new Re(this,this.generation)}asNullable(){return new _t(this,this.generation)}asNonOptional(){return this}write(r){r.write(this.fullyQualifiedName)}writeEmptyCollectionInitializer(r){}getDeterminsticDefault(r){return this.csharp.Literal.nop()}},be=class extends Yt{get multipartMethodName(){return"AddStringPart"}get multipartMethodNameForCollection(){return"AddStringParts"}},ut=class extends Yt{constructor(){super(...arguments);m(this,"isReferenceType",!0)}},Ct=class extends ut{get isCollection(){return!0}get multipartMethodName(){return"AddJsonPart"}get multipartMethodNameForCollection(){return"AddJsonParts"}},Di=class extends ut{get multipartMethodName(){return"AddJsonPart"}get multipartMethodNameForCollection(){return"AddJsonParts"}},Re=class extends ut{constructor(r,i){super(i);m(this,"isOptional",!0);m(this,"value");this.value=r}get isCollection(){return!1}get multipartMethodName(){return this.value.multipartMethodName}get multipartMethodNameForCollection(){return this.value.multipartMethodNameForCollection}asOptional(){return this}asNullable(){return this}asNonOptional(){return this.value}write(r){this.value.write(r),this.value.isOptional||r.write("?")}},_t=class extends ut{constructor(r,i){super(i);m(this,"isOptional",!0);m(this,"value");this.value=r}get isCollection(){return!1}get multipartMethodName(){return this.value.multipartMethodName}get multipartMethodNameForCollection(){return this.value.multipartMethodNameForCollection}asOptional(){return this}asNullable(){return this}asNonOptional(){return this.value}write(r){this.value.write(r),this.value.isOptional||r.write("?")}},Xt=class extends ut{constructor(r,i){super(i);m(this,"isOptional",!0);m(this,"value");this.value=r}get isCollection(){return!1}get multipartMethodName(){return this.value.multipartMethodName}get multipartMethodNameForCollection(){return this.value.multipartMethodNameForCollection}asOptional(){return this}asNullable(){return this}asNonOptional(){return this.value}write(r){let i=this.generation.Types.Optional;r.addReference(i),r.write("Optional<"),this.value.write(r),r.write(">")}},q;(function(e){class t extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","int");m(this,"defaultValue",this.csharp.Literal.integer(0))}getDeterminsticDefault(w){return this.csharp.Literal.integer(Ne(w)&2147483647)}}e.Integer=t;class r extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","long");m(this,"defaultValue",this.csharp.Literal.long(0))}getDeterminsticDefault(w){return this.csharp.Literal.long(Ne(w)&0x7ffffffffffff)}}e.Long=r;class i extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","uint");m(this,"defaultValue",this.csharp.Literal.uint(0))}getDeterminsticDefault(w){return this.csharp.Literal.uint(Ne(w)&2147483647)}}e.Uint=i;class o extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","ulong");m(this,"defaultValue",this.csharp.Literal.ulong(0))}getDeterminsticDefault(w){return this.csharp.Literal.ulong(Ne(w)&0x7ffffffffffff)}}e.ULong=o;class c extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","string");m(this,"defaultValue",this.csharp.Literal.string(""));m(this,"isReferenceType",!0)}getDeterminsticDefault(w){return this.csharp.Literal.string(`<${w}>`)}}e.String=c;class d extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","bool");m(this,"defaultValue",this.csharp.Literal.boolean(!1))}getDeterminsticDefault(w){return this.csharp.Literal.boolean(Ne(w)%2===0)}}e.Boolean=d;class y extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","float");m(this,"defaultValue",this.csharp.Literal.float(0))}getDeterminsticDefault(w){return this.csharp.Literal.float((Ne(w)&2147483647)/100)}}e.Float=y;class g extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","double");m(this,"defaultValue",this.csharp.Literal.double(0))}getDeterminsticDefault(w){return this.csharp.Literal.double((Ne(w)&0x7ffffffffffff)/100)}}e.Double=g;class x extends Di{constructor(){super(...arguments);m(this,"fullyQualifiedName","object")}}e.Object=x;class S extends be{constructor(w,V){super(V);m(this,"fullyQualifiedName");this.fullyQualifiedName=w}}e.ArbitraryType=S})(q||(q={}));var Ie;(function(e){class t extends ut{get multipartMethodName(){return re("byte[] can not be added to multipart form"),""}get multipartMethodNameForCollection(){return re("byte[] can not be added to multipart form"),""}write(y){y.write("byte[]")}}e.Binary=t;class r extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","DateOnly")}getDeterminsticDefault(g){let x=new Date(Ne(g)&0x7ffffffffffff);return this.csharp.Literal.date(x.toISOString())}}e.DateOnly=r;class i extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","DateTime")}getDeterminsticDefault(g){let x=new Date(Ne(g)&0x7ffffffffffff);return this.csharp.Literal.datetime(x.toISOString())}}e.DateTime=i;class o extends be{constructor(){super(...arguments);m(this,"fullyQualifiedName","string");m(this,"defaultValue",this.csharp.Literal.string(""));m(this,"isReferenceType",!0)}getDeterminsticDefault(g){return this.csharp.Literal.string(ho(g))}}e.Uuid=o;class c extends be{constructor(g,x){super(x);m(this,"value");this.value=g}write(g){this.Types.StringEnum(this.value).write(g)}}e.StringEnum=c})(Ie||(Ie={}));var se;(function(e){class t extends Di{constructor(S,A){super(A);m(this,"isReferenceType",!0);m(this,"value");this.value=S}getCollectionItemType(){return this.value}write(S){if(Qt({writer:S,value:this.value})){this.writeReadOnlyMemoryType({writer:S,value:this.value});return}this.value.write(S),S.write("[]")}writeReadOnlyMemoryType({writer:S,value:A}){S.writeNode(this.System.ReadOnlyMemory(A))}}e.Array=t;class r extends Ct{constructor(S,A){super(A);m(this,"value");this.value=S}get multipartMethodName(){return this.value.multipartMethodNameForCollection}get multipartMethodNameForCollection(){return this.value.multipartMethodNameForCollection}getCollectionItemType(){return this.value}write(S){if(Qt({writer:S,value:this.value})){this.writeReadOnlyMemoryType({writer:S,value:this.value});return}S.writeNode(this.System.Collections.Generic.List(this.value))}writeEmptyCollectionInitializer(S){Qt({writer:S,value:this.value})||S.writeStatement(" = ",this.System.Collections.Generic.List(this.value).new())}writeReadOnlyMemoryType({writer:S,value:A}){S.writeNode(this.System.ReadOnlyMemory(A))}}e.ListType=r;class i extends Ct{constructor(S,A){super(A);m(this,"value");this.value=S}get multipartMethodName(){return this.value.multipartMethodNameForCollection}get multipartMethodNameForCollection(){return this.value.multipartMethodNameForCollection}getCollectionItemType(){return this.value}write(S){if(Qt({writer:S,value:this.value})){this.writeReadOnlyMemoryType({writer:S,value:this.value});return}S.writeNode(this.System.Collections.Generic.IEnumerable(this.value))}writeEmptyCollectionInitializer(S){Qt({writer:S,value:this.value})||S.writeStatement(" = ",this.System.Collections.Generic.List(this.value).new())}writeReadOnlyMemoryType({writer:S,value:A}){S.writeNode(this.System.ReadOnlyMemory(A))}}e.List=i;class o extends Ct{constructor(S,A){super(A);m(this,"value");this.value=S}getCollectionItemType(){return this.value}write(S){S.writeNode(this.System.Collections.Generic.HashSet(this.value))}writeEmptyCollectionInitializer(S){S.writeStatement(" = ",this.System.Collections.Generic.HashSet(this.value).new())}}e.Set=o;class c extends Ct{constructor(S,A,O,w){super(O);m(this,"keyType");m(this,"options");m(this,"valueType");this.keyType=S,this.valueType=A,this.options=w}getCollectionItemType(){return this.Collection.keyValuePair(this.keyType,this.valueType)}write(S){if(this.options?.dontSimplify!==!0&&S.generation.settings.simplifyObjectDictionaries&&this.keyType instanceof q.String&&this.valueType instanceof Re&&this.valueType.value instanceof q.Object){S.write("object");return}S.write(this.System.Collections.Generic.Dictionary(this.keyType,this.valueType))}writeEmptyCollectionInitializer(S){S.writeStatement(" = ",this.System.Collections.Generic.Dictionary(this.keyType,this.valueType).new())}}e.Map=c;class d extends Ct{constructor(S,A,O,w){super(O);m(this,"keyType");m(this,"options");m(this,"valueType");this.keyType=S,this.valueType=A,this.options=w}getCollectionItemType(){return this.Collection.keyValuePair(this.keyType,this.valueType)}write(S){if(this.options?.dontSimplify!==!0&&S.generation.settings.simplifyObjectDictionaries&&this.keyType instanceof q.String&&this.valueType instanceof Re&&this.valueType.value instanceof q.Object){S.write("object");return}S.writeNode(this.System.Collections.Generic.IDictionary(this.keyType,this.valueType))}}e.IDictionary=d;class y extends Di{constructor(S,A,O){super(O);m(this,"isReferenceType",!1);m(this,"keyType");m(this,"valueType");this.keyType=S,this.valueType=A}write(S){S.writeNode(this.System.Collections.Generic.KeyValuePair(this.keyType,this.valueType))}}e.KeyValuePair=y})(se||(se={}));function jc(e){return e.map(t=>{switch(t){case"int":return N.PrimitiveTypeV1.Integer;case"long":return N.PrimitiveTypeV1.Long;case"uint":return N.PrimitiveTypeV1.Uint;case"ulong":return N.PrimitiveTypeV1.Uint64;case"string":return N.PrimitiveTypeV1.String;case"bool":case"boolean":return N.PrimitiveTypeV1.Boolean;case"float":return N.PrimitiveTypeV1.Float;case"double":return N.PrimitiveTypeV1.Double;default:throw new Error(`Internal error; unknown ReadOnlyMemory type: ${t}`)}})}function Qt({writer:e,value:t}){return t instanceof Re?Qt({writer:e,value:t.value}):t instanceof q.Integer?e.isReadOnlyMemoryType("int"):t instanceof q.Long?e.isReadOnlyMemoryType("long"):t instanceof q.Uint?e.isReadOnlyMemoryType("uint"):t instanceof q.ULong?e.isReadOnlyMemoryType("ulong"):t instanceof q.String?e.isReadOnlyMemoryType("string"):t instanceof q.Boolean?e.isReadOnlyMemoryType("bool"):t instanceof q.Float?e.isReadOnlyMemoryType("float"):t instanceof q.Double?e.isReadOnlyMemoryType("double"):!1}var ge=class extends Te{constructor({name:r,namespace:i,namespaceAlias:o,enclosingType:c,generics:d,fullyQualified:y,global:g,fullyQualifiedName:x,origin:S,isCollection:A,multipartMethodName:O,multipartMethodNameForCollection:w,isReferenceType:V},G,U){super(S,U);m(this,"scope");m(this,"name");m(this,"namespace");m(this,"namespaceAlias");m(this,"enclosingType");m(this,"generics");m(this,"fullyQualified");m(this,"global");m(this,"fullyQualifiedName");m(this,"isCollection");m(this,"namespaceSegments");m(this,"isReferenceType");m(this,"multipartMethodName");m(this,"multipartMethodNameForCollection");this.scope=G,this.name=r,this.namespace=c?.namespace??i??"",this.namespaceAlias=o,this.enclosingType=c,this.generics=d??[],this.fullyQualified=y??!1,this.global=g??!1,this.namespaceSegments=this.namespace.split("."),this.isCollection=A??!1,c!=null?this.fullyQualifiedName=c.fullyQualifiedName?`${c.fullyQualifiedName}+${r}`:r:this.fullyQualifiedName=x||r,this.multipartMethodName=O===void 0?"AddJsonPart":O,this.multipartMethodNameForCollection=w===void 0?"AddJsonParts":w,this.isReferenceType=V}write(r){this.writeInternal(r,!1)}writeAsAttribute(r){this.writeInternal(r,!0)}get csharpQualifiedName(){return this.fullyQualifiedName.replaceAll("+",".")}get scopedName(){return this.enclosingType?`${this.enclosingType.name}.${this.name}`:this.name}getScopedName(r){let i=r&&this.name.endsWith("Attribute")?this.name.slice(0,-9):this.name;return this.enclosingType?`${this.enclosingType.name}.${i}`:i}writeInternal(r,i){let o=this.getScopedName(i),c=this.registry.isAmbiguousTypeName(this.name)||this.registry.isAmbiguousTypeName(this.enclosingType?.name)||r.getReferencedNamespaces().some(x=>x!==this.namespace&&this.registry.isRegisteredTypeName(`${x}.${this.name}`)),d=!r.skipGlobalQualifier&&(this.global||this.namespaceSegments[0]==="System"||this.registry.isAmbiguousTypeName(this.namespaceSegments[0])||this.registry.isAmbiguousNamespaceName(this.namespaceSegments[0])||this.registry.hasTypeNamespaceConflict(this.namespaceSegments[0])||r.generation.settings.useFullyQualifiedNamespaces),y=this.csharpQualifiedName;if(i&&y.endsWith("Attribute")){let x=y.lastIndexOf(".");if(x>=0){let S=y.substring(0,x+1),A=y.substring(x+1);A.endsWith("Attribute")&&(y=S+A.slice(0,-9))}else y=y.slice(0,-9)}let g=`${d?"global::":""}${y}`;if(!this.namespace){r.write(o);return}if(this.namespaceAlias!=null){let x=r.addNamespaceAlias(this.namespaceAlias,this.resolveNamespace());r.write(`${x}.${o}`)}else if(r.skipImports)r.write(o);else if(this.fullyQualified)r.write(g);else if(this.qualifiedTypeNameRequired(r,i)||r.skipImports){let x=this.getTypeQualification({classReferenceNamespace:this.resolveNamespace(),namespaceToBeWrittenTo:r.namespace,isAttribute:i}),S=x.split(".");d||this.registry.isAmbiguousTypeName(S[0])||this.registry.isAmbiguousNamespaceName(S[0])||this.registry.hasTypeNamespaceConflict(S[0])?r.write(g):r.write(`${x}${o}`)}else c&&this.resolveNamespace()!==r.namespace||this.registry.hasTypeNamespaceConflict(this.name)?r.write(g):(r.addReference(this),r.write(o));this.generics!=null&&this.generics.length>0&&(r.write("<"),this.generics.forEach((x,S)=>{r.writeNode(x),S<this.generics.length-1&&r.write(", ")}),r.write(">"))}hasNamespaceConflict(r,i){let o=i.lastIndexOf(".");return(o===-1?i:i.substring(o+1))===r?!0:i.split(".").includes(r)}getTypeQualification({classReferenceNamespace:r,namespaceToBeWrittenTo:i,isAttribute:o}){if(r===i)return"";if(r.startsWith(`${i}.`))return`${r.substring(i.length+1)}.`;let c=o&&!this.name.endsWith("Attribute")?`${this.name}Attribute`:this.name;if(this.hasNamespaceConflict(c,i))return i.indexOf(".")===-1&&i===c?`global::${r}.`:`${r}.`;let y=this.namespaceSegments,g=i.split("."),x=0,S=Math.min(y.length,g.length);for(;x<S&&y[x]===g[x];)x++;return x>0&&x<y.length?`${y.slice(x).join(".")}.`:`${r}.`}qualifiedTypeNameRequired(r,i){let o=r.namespace;if(this.namespace===o)return!1;let c=i&&!this.name.endsWith("Attribute")?`${this.name}Attribute`:this.name;return this.hasNamespaceConflict(c,o)?!0:i&&!this.potentialConflictWithGeneratedType(r,i)?!1:this.namespace.startsWith(`${o}.`)?this.potentialConflictWithGeneratedType(r,i):this.potentialConflictWithGeneratedType(r,i)}potentialConflictWithGeneratedType(r,i=!1){let o=r.getAllTypeClassReferences().get(this.name);if(o==null)return!1;let c=new Set(o);if(c.delete(this.namespace),c.size===0)return i?!1:this.hasProjectNamespaceConflict(r);let d=r.namespace;for(let y of c)if(y===d||d.startsWith(`${y}.`))return!0;return i?!1:this.hasProjectNamespaceConflict(r)}hasProjectNamespaceConflict(r){return r.getAllNamespaceSegments().has(this.name)}resolveNamespace(){return this.registry.resolveNamespace(this.namespace)}asFullyQualified(){return this.csharp.classReferenceInternal({...this,fullyQualified:!0})}new(r){return r=r??{arguments_:[]},this.csharp.instantiateClass({...r,classReference:this})}explicit(r){return this.origin||re(`Cannot create explicitly named member '${r}' on '${this.name}' because the class is not bound to an origin.`),this.model.explicit(this.origin,r)}registerField(r,i,o){return this.scope.registerField(r,i,o)}getFieldName(r,i){return this.scope.getFieldName(r,i)}registerMethod(r,i){return r}get isOptional(){return!1}asOptional(){return new Re(this,this.generation)}asNullable(){return new _t(this,this.generation)}asNonOptional(){return this}get defaultValue(){return this.csharp.Literal.null()}get isAsyncEnumerable(){return this.name==="IAsyncEnumerable"&&this.namespace==="System.Collections.Generic"}};n();a();s();var _=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),M={FernFilepath:e=>_(e)&&"allParts"in e&&"packagePath"in e&&Array.isArray(e.allParts)&&Array.isArray(e.packagePath),Name:e=>_(e)&&"originalName"in e&&"camelCase"in e&&"pascalCase"in e&&"snakeCase"in e&&"screamingSnakeCase"in e&&typeof e.originalName=="string",NameAndWireValue:e=>_(e)&&"wireValue"in e&&"name"in e&&typeof e.wireValue=="string",SafeAndUnsafeString:e=>_(e)&&"unsafeName"in e&&"safeName"in e&&typeof e.unsafeName=="string"&&typeof e.safeName=="string",WithDocs:e=>_(e),BasicAuth:e=>_(e)&&"username"in e&&"password"in e,BasicAuthValues:e=>_(e)&&"username"in e&&"password"in e&&typeof e.username=="string"&&typeof e.password=="string",BearerAuth:e=>_(e)&&"token"in e,BearerAuthValues:e=>_(e)&&"token"in e&&typeof e.token=="string",HeaderAuth:e=>_(e)&&"header"in e,HeaderAuthValues:e=>_(e),InferredAuth:e=>_(e),InferredAuthValues:e=>_(e),OAuth:e=>_(e)&&"clientId"in e&&"clientSecret"in e,OAuthValues:e=>_(e)&&"clientId"in e&&"clientSecret"in e&&typeof e.clientId=="string"&&typeof e.clientSecret=="string",EnvironmentBaseUrlWithId:e=>_(e)&&"id"in e&&"name"in e,EnvironmentsConfig:e=>_(e)&&"environments"in e,MultipleBaseUrlsEnvironment:e=>_(e)&&"id"in e&&"name"in e&&"urls"in e&&_(e.urls),MultipleBaseUrlsEnvironments:e=>_(e)&&"baseUrls"in e&&"environments"in e&&Array.isArray(e.baseUrls)&&Array.isArray(e.environments),SingleBaseUrlEnvironment:e=>_(e)&&"id"in e&&"name"in e&&"url"in e,SingleBaseUrlEnvironments:e=>_(e)&&"environments"in e&&Array.isArray(e.environments),AliasType:e=>_(e)&&"declaration"in e&&"typeReference"in e,DiscriminatedUnionType:e=>_(e)&&"declaration"in e&&"discriminant"in e&&"types"in e&&_(e.types),EnumType:e=>_(e)&&"declaration"in e&&"values"in e&&Array.isArray(e.values),MapType:e=>_(e)&&"key"in e&&"value"in e,NamedParameter:e=>_(e)&&"name"in e&&"typeReference"in e,ObjectType:e=>_(e)&&"declaration"in e&&"properties"in e&&Array.isArray(e.properties),SingleDiscriminatedUnionTypeNoProperties:e=>_(e)&&"discriminantValue"in e,SingleDiscriminatedUnionTypeObject:e=>_(e)&&"typeId"in e&&"discriminantValue"in e&&"properties"in e&&Array.isArray(e.properties),SingleDiscriminatedUnionTypeSingleProperty:e=>_(e)&&"typeReference"in e&&"discriminantValue"in e,UndiscriminatedUnionType:e=>_(e)&&"declaration"in e&&"types"in e&&Array.isArray(e.types),BodyRequest:e=>_(e),Endpoint:e=>_(e)&&"declaration"in e&&"location"in e&&"request"in e&&"response"in e,EndpointExample:e=>_(e)&&"id"in e&&typeof e.id=="string",EndpointLocation:e=>_(e)&&"method"in e&&"path"in e&&typeof e.path=="string",FileUploadRequestBody:e=>_(e)&&"properties"in e&&Array.isArray(e.properties),InlinedRequest:e=>_(e)&&"declaration"in e,InlinedRequestMetadata:e=>_(e)&&"includePathParameters"in e&&"onlyPathParameters"in e&&typeof e.includePathParameters=="boolean"&&typeof e.onlyPathParameters=="boolean",ReferencedRequestBody:e=>_(e)&&"bodyKey"in e&&"bodyType"in e,DynamicIntermediateRepresentation:e=>_(e)&&"version"in e&&"types"in e&&"endpoints"in e&&_(e.types)&&_(e.endpoints),GeneratorConfig:e=>_(e)&&"apiName"in e&&"organization"in e&&"outputConfig"in e&&typeof e.apiName=="string"&&typeof e.organization=="string",GoPublishInfo:e=>_(e)&&"version"in e&&"repoUrl"in e&&typeof e.version=="string"&&typeof e.repoUrl=="string",MavenPublishInfo:e=>_(e)&&"version"in e&&"coordinate"in e&&typeof e.version=="string"&&typeof e.coordinate=="string",NpmPublishInfo:e=>_(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",NugetPublishInfo:e=>_(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",PypiPublishInfo:e=>_(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",RubyGemsPublishInfo:e=>_(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",VariableDeclaration:e=>_(e)&&"id"in e&&"name"in e&&"typeReference"in e&&typeof e.id=="string",EndpointSnippetRequest:e=>_(e)&&"endpoint"in e,EndpointSnippetResponse:e=>_(e)&&"snippet"in e&&typeof e.snippet=="string",Error_:e=>_(e)&&"severity"in e&&"message"in e&&typeof e.message=="string",Auth:{Basic:e=>M.BasicAuth(e)&&"type"in e&&e.type==="basic",Bearer:e=>M.BearerAuth(e)&&"type"in e&&e.type==="bearer",Header:e=>M.HeaderAuth(e)&&"type"in e&&e.type==="header",Inferred:e=>M.InferredAuth(e)&&"type"in e&&e.type==="inferred",Oauth:e=>M.OAuth(e)&&"type"in e&&e.type==="oauth"},AuthValues:{Basic:e=>M.BasicAuthValues(e)&&"type"in e&&e.type==="basic",Bearer:e=>M.BearerAuthValues(e)&&"type"in e&&e.type==="bearer",Header:e=>M.HeaderAuthValues(e)&&"type"in e&&e.type==="header",Inferred:e=>M.InferredAuthValues(e)&&"type"in e&&e.type==="inferred",Oauth:e=>M.OAuthValues(e)&&"type"in e&&e.type==="oauth"},Environments:{MultipleBaseUrls:e=>M.MultipleBaseUrlsEnvironments(e)&&"type"in e&&e.type==="multipleBaseUrls",SingleBaseUrl:e=>M.SingleBaseUrlEnvironments(e)&&"type"in e&&e.type==="singleBaseUrl"},FileUploadRequestBodyProperty:{BodyProperty:e=>M.NamedParameter(e)&&"type"in e&&e.type==="bodyProperty",FileArray:e=>M.NameAndWireValue(e)&&"type"in e&&e.type==="fileArray",File_:e=>M.NameAndWireValue(e)&&"type"in e&&e.type==="file"},InlinedRequestBody:{FileUpload:e=>M.FileUploadRequestBody(e)&&"type"in e&&e.type==="fileUpload",Referenced:e=>M.ReferencedRequestBody(e)&&"type"in e&&e.type==="referenced"},AnyNamedType:e=>M.NamedType.Alias(e)||M.NamedType.DiscriminatedUnion(e)||M.NamedType.Enum(e)||M.NamedType.Object_(e)||M.NamedType.UndiscriminatedUnion(e),NamedType:{Alias:e=>M.AliasType(e)&&"type"in e&&e.type==="alias",DiscriminatedUnion:e=>M.DiscriminatedUnionType(e)&&"type"in e&&e.type==="discriminatedUnion",Enum:e=>M.EnumType(e)&&"type"in e&&e.type==="enum",Object_:e=>M.ObjectType(e)&&"type"in e&&e.type==="object",UndiscriminatedUnion:e=>M.UndiscriminatedUnionType(e)&&"type"in e&&e.type==="undiscriminatedUnion"},PublishInfo:{Go:e=>M.GoPublishInfo(e)&&"type"in e&&e.type==="go",Maven:e=>M.MavenPublishInfo(e)&&"type"in e&&e.type==="maven",Npm:e=>M.NpmPublishInfo(e)&&"type"in e&&e.type==="npm",Nuget:e=>M.NugetPublishInfo(e)&&"type"in e&&e.type==="nuget",Pypi:e=>M.PypiPublishInfo(e)&&"type"in e&&e.type==="pypi",Rubygems:e=>M.RubyGemsPublishInfo(e)&&"type"in e&&e.type==="rubygems"},Request:{Body:e=>M.BodyRequest(e)&&"type"in e&&e.type==="body",Inlined:e=>M.InlinedRequest(e)&&"type"in e&&e.type==="inlined"},SingleDiscriminatedUnionType:{NoProperties:e=>M.SingleDiscriminatedUnionTypeNoProperties(e)&&"type"in e&&e.type==="noProperties",SamePropertiesAsObject:e=>M.SingleDiscriminatedUnionTypeObject(e)&&"type"in e&&e.type==="samePropertiesAsObject",SingleProperty:e=>M.SingleDiscriminatedUnionTypeSingleProperty(e)&&"type"in e&&e.type==="singleProperty"},TypeReference:{Map:e=>M.MapType(e)&&"type"in e&&e.type==="map"}};n();a();s();var Ew=N.ApiDefinitionSource,ww=N.ApiVersionScheme,Nw=N.AuthScheme,Rw=N.generatorExec,h=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),b={SafeAndUnsafeString:e=>h(e)&&"safeName"in e&&"unsafeName"in e&&typeof e.safeName=="string"&&typeof e.unsafeName=="string",Name:e=>typeof e=="string"||h(e)&&"originalName"in e&&"pascalCase"in e&&"camelCase"in e&&"snakeCase"in e&&"screamingSnakeCase"in e&&typeof e.originalName=="string"&&b.SafeAndUnsafeString(e.pascalCase)&&b.SafeAndUnsafeString(e.camelCase)&&b.SafeAndUnsafeString(e.snakeCase)&&b.SafeAndUnsafeString(e.screamingSnakeCase),NameAndWireValue:e=>typeof e=="string"||h(e)&&"wireValue"in e&&"name"in e&&typeof e.wireValue=="string"&&b.Name(e.name),TypeDeclaration:e=>h(e)&&"name"in e&&"shape"in e&&"autogeneratedExamples"in e&&"userProvidedExamples"in e&&"referencedTypes"in e&&"inline"in e&&"availability"in e&&Array.isArray(e.autogeneratedExamples)&&Array.isArray(e.userProvidedExamples)&&"docs"in e,ObjectTypeDeclaration:e=>h(e)&&"extends"in e&&"properties"in e&&"extraProperties"in e&&Array.isArray(e.extends)&&Array.isArray(e.properties)&&typeof e.extraProperties=="boolean",EnumTypeDeclaration:e=>h(e)&&"values"in e&&Array.isArray(e.values),UnionTypeDeclaration:e=>h(e)&&"discriminant"in e&&"extends"in e&&"types"in e&&"baseProperties"in e&&b.NameAndWireValue(e.discriminant)&&Array.isArray(e.extends)&&Array.isArray(e.types)&&Array.isArray(e.baseProperties),AliasTypeDeclaration:e=>h(e)&&"aliasOf"in e&&"resolvedType"in e,ObjectProperty:e=>h(e)&&"name"in e&&"valueType"in e&&"availability"in e&&b.NameAndWireValue(e.name)&&"docs"in e,HttpEndpoint:e=>h(e)&&"id"in e&&"name"in e&&"method"in e&&"headers"in e&&"path"in e&&"fullPath"in e&&"pathParameters"in e&&"allPathParameters"in e&&"queryParameters"in e&&"errors"in e&&"auth"in e&&"idempotent"in e&&"userSpecifiedExamples"in e&&"autogeneratedExamples"in e&&"availability"in e&&typeof e.id=="string"&&typeof e.method=="string"&&Array.isArray(e.headers)&&Array.isArray(e.pathParameters)&&Array.isArray(e.allPathParameters)&&Array.isArray(e.queryParameters)&&typeof e.auth=="boolean"&&typeof e.idempotent=="boolean"&&Array.isArray(e.userSpecifiedExamples)&&Array.isArray(e.autogeneratedExamples)&&"docs"in e,HttpService:e=>h(e)&&"name"in e&&"basePath"in e&&"endpoints"in e&&"headers"in e&&"pathParameters"in e&&b.HttpPath(e.basePath)&&Array.isArray(e.endpoints)&&Array.isArray(e.headers)&&Array.isArray(e.pathParameters),HttpHeader:e=>h(e)&&"name"in e&&"valueType"in e&&"availability"in e&&b.NameAndWireValue(e.name)&&"docs"in e,HttpResponse:e=>h(e),HttpPath:e=>h(e)&&"head"in e&&"parts"in e&&typeof e.head=="string"&&Array.isArray(e.parts),HttpPathPart:e=>h(e)&&"pathParameter"in e&&"tail"in e&&typeof e.pathParameter=="string"&&typeof e.tail=="string",PathParameter:e=>h(e)&&"name"in e&&"valueType"in e&&"location"in e&&b.Name(e.name)&&typeof e.location=="string"&&"docs"in e,QueryParameter:e=>h(e)&&"name"in e&&"valueType"in e&&"allowMultiple"in e&&"availability"in e&&b.NameAndWireValue(e.name)&&typeof e.allowMultiple=="boolean"&&"docs"in e,InlinedRequestBody:e=>h(e)&&"name"in e&&"extends"in e&&"properties"in e&&"extraProperties"in e&&b.Name(e.name)&&Array.isArray(e.extends)&&Array.isArray(e.properties)&&typeof e.extraProperties=="boolean"&&"docs"in e,InlinedRequestBodyProperty:e=>h(e)&&"name"in e&&"valueType"in e&&"availability"in e&&b.NameAndWireValue(e.name)&&"docs"in e,SdkRequest:e=>h(e)&&"requestParameterName"in e&&b.Name(e.requestParameterName)&&"shape"in e,WebSocketChannel:e=>h(e)&&"name"in e&&"path"in e&&"auth"in e&&"headers"in e&&"queryParameters"in e&&"pathParameters"in e&&"messages"in e&&"examples"in e&&"availability"in e&&b.HttpPath(e.path)&&typeof e.auth=="boolean"&&Array.isArray(e.headers)&&Array.isArray(e.queryParameters)&&Array.isArray(e.pathParameters)&&Array.isArray(e.messages)&&Array.isArray(e.examples)&&"docs"in e,WebSocketMessage:e=>h(e)&&"type"in e&&"origin"in e&&"body"in e&&"availability"in e&&typeof e.type=="string"&&typeof e.origin=="string"&&"docs"in e,ExampleType:e=>h(e)&&"shape"in e&&"jsonExample"in e&&"docs"in e,ExampleObjectType:e=>h(e)&&"properties"in e&&Array.isArray(e.properties),ExampleObjectProperty:e=>h(e)&&"name"in e&&"value"in e&&b.NameAndWireValue(e.name)&&b.ExampleTypeReference(e.value),ExampleEndpointCall:e=>h(e)&&"url"in e&&"rootPathParameters"in e&&"servicePathParameters"in e&&"endpointPathParameters"in e&&"serviceHeaders"in e&&"endpointHeaders"in e&&"queryParameters"in e&&"response"in e&&typeof e.url=="string"&&Array.isArray(e.rootPathParameters)&&Array.isArray(e.servicePathParameters)&&Array.isArray(e.endpointPathParameters)&&Array.isArray(e.serviceHeaders)&&Array.isArray(e.endpointHeaders)&&Array.isArray(e.queryParameters)&&"docs"in e,ExampleHeader:e=>h(e)&&"name"in e&&"value"in e&&b.NameAndWireValue(e.name)&&b.ExampleTypeReference(e.value),ExamplePathParameter:e=>h(e)&&"name"in e&&b.Name(e.name)&&"value"in e,ExampleQueryParameter:e=>h(e)&&"name"in e&&"value"in e&&b.NameAndWireValue(e.name)&&b.ExampleTypeReference(e.value),ExampleTypeReference:e=>h(e)&&"shape"in e&&"jsonExample"in e,ExampleNamedType:e=>h(e)&&"typeName"in e&&"shape"in e,WithDocs:e=>h(e)&&"docs"in e,WithDocsAndAvailability:e=>h(e)&&"docs"in e&&"availability"in e,Declaration:e=>h(e)&&"docs"in e&&"availability"in e,Availability:e=>h(e)&&"status"in e&&typeof e.status=="string",FernFilepath:e=>h(e)&&"allParts"in e&&"packagePath"in e&&Array.isArray(e.allParts)&&Array.isArray(e.packagePath),ErrorDeclaration:e=>h(e)&&"name"in e&&"discriminantValue"in e&&"statusCode"in e&&"examples"in e&&b.NameAndWireValue(e.discriminantValue)&&typeof e.statusCode=="number"&&Array.isArray(e.examples)&&"docs"in e,BearerAuthScheme:e=>h(e)&&"token"in e&&b.Name(e.token)&&"docs"in e&&"availability"in e,BasicAuthScheme:e=>h(e)&&"username"in e&&"password"in e&&"docs"in e&&b.Name(e.username)&&b.Name(e.password)&&"availability"in e,HeaderAuthScheme:e=>h(e)&&"name"in e&&"valueType"in e&&"docs"in e&&b.NameAndWireValue(e.name)&&"availability"in e,OAuthScheme:e=>h(e)&&"configuration"in e&&"docs"in e&&"availability"in e,Webhook:e=>h(e)&&"id"in e&&"name"in e&&"method"in e&&"headers"in e&&"payload"in e&&"availability"in e&&typeof e.id=="string"&&typeof e.method=="string"&&Array.isArray(e.headers)&&"docs"in e,InlinedWebhookPayload:e=>h(e)&&"name"in e&&"extends"in e&&"properties"in e&&b.Name(e.name)&&Array.isArray(e.extends)&&Array.isArray(e.properties),VariableDeclaration:e=>h(e)&&"id"in e&&"name"in e&&"type"in e&&typeof e.id=="string"&&b.Name(e.name)&&"docs"in e,ApiAuth:e=>h(e)&&"requirement"in e&&"schemes"in e&&typeof e.requirement=="string"&&Array.isArray(e.schemes)&&"docs"in e,ReadmeConfig:e=>h(e),ReadmeCustomSection:e=>h(e)&&"title"in e&&"language"in e&&"content"in e&&typeof e.title=="string"&&typeof e.language=="string"&&typeof e.content=="string",SourceConfig:e=>h(e)&&"sources"in e&&Array.isArray(e.sources),ServiceTypeReferenceInfo:e=>h(e)&&"typesReferencedOnlyByService"in e&&"sharedTypes"in e&&h(e.typesReferencedOnlyByService)&&Array.isArray(e.sharedTypes),UserAgent:e=>h(e)&&"header"in e&&"value"in e&&typeof e.header=="string"&&typeof e.value=="string",StringType:e=>h(e),IntegerType:e=>h(e),LongType:e=>h(e),DoubleType:e=>h(e),FloatType:e=>h(e),BooleanType:e=>h(e),DateTimeType:e=>h(e),DateType:e=>h(e),UuidType:e=>h(e),Base64Type:e=>h(e),BigIntegerType:e=>h(e),UintType:e=>h(e),Uint64Type:e=>h(e),MapType:e=>h(e)&&"keyType"in e&&"valueType"in e,StringValidationRules:e=>h(e),IntegerValidationRules:e=>h(e),DoubleValidationRules:e=>h(e),JsonResponseBody:e=>h(e)&&"responseBodyType"in e&&"docs"in e,JsonResponseBodyWithProperty:e=>h(e)&&"responseBodyType"in e&&"docs"in e,TextResponse:e=>h(e)&&"docs"in e,BytesResponse:e=>h(e)&&"docs"in e,JsonStreamChunk:e=>h(e)&&"payload"in e&&"docs"in e,SseStreamChunk:e=>h(e)&&"payload"in e&&"docs"in e,TextStreamChunk:e=>h(e)&&"docs"in e,StreamParameterResponse:e=>h(e)&&"nonStreamResponse"in e&&"streamResponse"in e,CursorPagination:e=>h(e)&&"page"in e&&"next"in e&&"results"in e&&b.RequestProperty(e.page)&&b.ResponseProperty(e.next)&&b.ResponseProperty(e.results),OffsetPagination:e=>h(e)&&"page"in e&&"results"in e&&b.RequestProperty(e.page)&&b.ResponseProperty(e.results),CustomPagination:e=>h(e)&&"results"in e&&b.ResponseProperty(e.results),RequestProperty:e=>h(e)&&"property"in e,ResponseProperty:e=>h(e)&&"property"in e,OAuthAccessTokenRequestProperties:e=>h(e)&&"clientId"in e&&"clientSecret"in e&&b.RequestProperty(e.clientId)&&b.RequestProperty(e.clientSecret),OAuthClientCredentials:e=>h(e)&&"tokenEndpoint"in e&&b.OAuthTokenEndpoint(e.tokenEndpoint),BaseAuthScheme:e=>h(e)&&"key"in e&&typeof e.key=="string"&&"docs"in e,InferredAuthScheme:e=>h(e)&&"tokenEndpoint"in e&&"docs"in e&&b.InferredAuthSchemeTokenEndpoint(e.tokenEndpoint)&&"availability"in e,PropertyPathItem:e=>h(e)&&"name"in e&&b.Name(e.name)&&"type"in e,WithJsonExample:e=>h(e)&&"jsonExample"in e,WithContentType:e=>h(e)&&"contentType"in e,WithV2Examples:e=>h(e)&&"v2Examples"in e,EscapedString:e=>h(e)&&"original"in e&&typeof e.original=="string",EnumValue:e=>h(e)&&"name"in e&&"availability"in e&&b.NameAndWireValue(e.name)&&"docs"in e,SingleUnionType:e=>h(e)&&"discriminantValue"in e&&"shape"in e&&b.NameAndWireValue(e.discriminantValue)&&"docs"in e,SingleUnionTypeProperty:e=>h(e)&&"name"in e&&b.NameAndWireValue(e.name)&&"type"in e,UndiscriminatedUnionTypeDeclaration:e=>h(e)&&"members"in e&&Array.isArray(e.members),UndiscriminatedUnionMember:e=>h(e)&&"type"in e&&"docs"in e,DeclaredTypeName:e=>h(e)&&"typeId"in e&&"fernFilepath"in e&&"name"in e&&typeof e.typeId=="string"&&b.FernFilepath(e.fernFilepath)&&b.Name(e.name),DeclaredServiceName:e=>h(e)&&"fernFilepath"in e&&b.FernFilepath(e.fernFilepath),DeclaredErrorName:e=>h(e)&&"errorId"in e&&"fernFilepath"in e&&"name"in e&&typeof e.errorId=="string"&&b.FernFilepath(e.fernFilepath)&&b.Name(e.name),FileUploadRequest:e=>h(e)&&"name"in e&&"properties"in e&&b.Name(e.name)&&Array.isArray(e.properties)&&"docs"in e,FileDownloadResponse:e=>h(e)&&"docs"in e,SdkRequestWrapper:e=>h(e)&&"wrapperName"in e&&"bodyKey"in e&&b.Name(e.wrapperName)&&b.Name(e.bodyKey),BytesRequest:e=>h(e)&&"isOptional"in e&&typeof e.isOptional=="boolean"&&"docs"in e,NamedType:e=>h(e)&&"typeId"in e&&"fernFilepath"in e&&"name"in e&&typeof e.typeId=="string"&&b.FernFilepath(e.fernFilepath)&&b.Name(e.name),ResolvedNamedType:e=>h(e)&&"name"in e&&"shape"in e,FileUploadBodyProperty:e=>h(e)&&"name"in e&&"valueType"in e&&"availability"in e&&b.NameAndWireValue(e.name)&&"docs"in e,IntermediateRepresentation:e=>h(e)&&"apiName"in e&&"auth"in e&&"types"in e&&"headers"in e&&"idempotencyHeaders"in e&&"services"in e&&"webhookGroups"in e&&"errors"in e&&"subpackages"in e&&"rootPackage"in e&&"constants"in e&&"pathParameters"in e&&"errorDiscriminationStrategy"in e&&"sdkConfig"in e&&"variables"in e&&"serviceTypeReferenceInfo"in e&&b.Name(e.apiName)&&h(e.types)&&Array.isArray(e.headers)&&Array.isArray(e.idempotencyHeaders)&&h(e.services)&&h(e.webhookGroups)&&h(e.errors)&&h(e.subpackages)&&b.Package(e.rootPackage)&&b.Constants(e.constants)&&Array.isArray(e.pathParameters)&&b.SdkConfig(e.sdkConfig)&&Array.isArray(e.variables)&&b.ServiceTypeReferenceInfo(e.serviceTypeReferenceInfo),Package:e=>h(e)&&"fernFilepath"in e&&"types"in e&&"errors"in e&&"subpackages"in e&&"hasEndpointsInTree"in e&&b.FernFilepath(e.fernFilepath)&&Array.isArray(e.types)&&Array.isArray(e.errors)&&Array.isArray(e.subpackages)&&typeof e.hasEndpointsInTree=="boolean"&&"docs"in e,Subpackage:e=>h(e)&&"name"in e&&"fernFilepath"in e&&"types"in e&&"errors"in e&&"subpackages"in e&&"hasEndpointsInTree"in e&&b.Name(e.name)&&b.FernFilepath(e.fernFilepath)&&Array.isArray(e.types)&&Array.isArray(e.errors)&&Array.isArray(e.subpackages)&&typeof e.hasEndpointsInTree=="boolean"&&"docs"in e,Constants:e=>h(e)&&"errorInstanceIdKey"in e&&b.NameAndWireValue(e.errorInstanceIdKey),SdkConfig:e=>h(e)&&"isAuthMandatory"in e&&"hasStreamingEndpoints"in e&&"hasPaginatedEndpoints"in e&&"hasFileDownloadEndpoints"in e&&typeof e.isAuthMandatory=="boolean"&&typeof e.hasStreamingEndpoints=="boolean"&&typeof e.hasPaginatedEndpoints=="boolean"&&typeof e.hasFileDownloadEndpoints=="boolean"&&"platformHeaders"in e,GeneratorConfig:e=>h(e)&&"dryRun"in e&&"irFilepath"in e&&"output"in e&&"workspaceName"in e&&"organization"in e&&"customConfig"in e&&"environment"in e&&"whitelabel"in e&&"writeUnitTests"in e&&"generateOauthClients"in e&&typeof e.dryRun=="boolean"&&typeof e.irFilepath=="string"&&typeof e.workspaceName=="string"&&typeof e.organization=="string"&&typeof e.whitelabel=="boolean"&&typeof e.writeUnitTests=="boolean"&&typeof e.generateOauthClients=="boolean",AutogeneratedEndpointExample:e=>h(e)&&"example"in e&&b.ExampleEndpointCall(e.example),UserSpecifiedEndpointExample:e=>h(e),ExampleAliasType:e=>h(e)&&"value"in e&&b.ExampleTypeReference(e.value),ExampleEnumType:e=>h(e)&&"value"in e&&b.NameAndWireValue(e.value),ExampleUnionType:e=>h(e)&&"discriminant"in e&&b.NameAndWireValue(e.discriminant)&&"singleUnionType"in e,ExampleSingleUnionType:e=>h(e)&&"shape"in e,ExampleUndiscriminatedUnionType:e=>h(e)&&"singleUnionType"in e,ExampleObjectTypeWithTypeId:e=>h(e)&&"typeId"in e&&"object"in e&&typeof e.typeId=="string"&&b.ExampleObjectType(e.object),ExampleListContainer:e=>h(e)&&"list"in e&&Array.isArray(e.list),ExampleSetContainer:e=>h(e)&&"set"in e&&Array.isArray(e.set),ExampleMapContainer:e=>h(e)&&"map"in e&&Array.isArray(e.map),ExampleOptionalContainer:e=>h(e)&&"optional"in e,ExampleNullableContainer:e=>h(e)&&"nullable"in e,ExampleLiteralContainer:e=>h(e)&&"literal"in e,ExampleKeyValuePair:e=>h(e)&&"key"in e&&"value"in e&&b.ExampleTypeReference(e.key)&&b.ExampleTypeReference(e.value),ExampleError:e=>h(e)&&"name"in e&&"body"in e,ExampleEndpointErrorResponse:e=>h(e)&&"error"in e,ExampleDatetime:e=>h(e)&&"datetime"in e&&typeof e.datetime=="string",ExampleInlinedRequestBody:e=>h(e)&&"properties"in e&&Array.isArray(e.properties),ExampleInlinedRequestBodyProperty:e=>h(e)&&"name"in e&&"value"in e&&b.NameAndWireValue(e.name)&&b.ExampleTypeReference(e.value),ExampleWebhookCall:e=>h(e)&&"payload"in e,ExampleWebSocketMessage:e=>h(e)&&"type"in e&&typeof e.type=="string"&&"body"in e,ExampleWebSocketSession:e=>h(e)&&"messages"in e&&Array.isArray(e.messages),ExampleServerSideEvent:e=>h(e)&&"event"in e&&typeof e.event=="string"&&"data"in e,ExampleCodeSampleLanguage:e=>h(e)&&"language"in e&&"code"in e&&typeof e.language=="string"&&typeof e.code=="string",ExampleCodeSampleSdk:e=>h(e)&&"sdk"in e&&"code"in e&&typeof e.sdk=="string"&&typeof e.code=="string",V2HttpEndpointExample:e=>h(e)&&"id"in e&&typeof e.id=="string",V2HttpEndpointExamples:e=>h(e)&&"examples"in e&&Array.isArray(e.examples),V2HttpEndpointRequest:e=>h(e),V2HttpEndpointResponse:e=>h(e),V2HttpEndpointCodeSample:e=>h(e)&&"language"in e&&"code"in e&&typeof e.language=="string"&&typeof e.code=="string",V2SchemaExamples:e=>h(e),V2WebSocketMessageExample:e=>h(e)&&"type"in e&&typeof e.type=="string",V2WebSocketSessionExample:e=>h(e)&&"messages"in e&&Array.isArray(e.messages),V2WebSocketSessionExamples:e=>h(e)&&"examples"in e&&Array.isArray(e.examples),V2WebhookExample:e=>h(e)&&"payload"in e,V2WebhookExamples:e=>h(e)&&"examples"in e&&Array.isArray(e.examples),BasicAuthValues:e=>h(e)&&"username"in e&&"password"in e&&typeof e.username=="string"&&typeof e.password=="string",BearerAuthValues:e=>h(e)&&"token"in e&&typeof e.token=="string",HeaderAuthValues:e=>h(e)&&"header"in e&&typeof e.header=="string",OAuthValues:e=>h(e)&&"accessToken"in e&&typeof e.accessToken=="string",InferredAuthSchemeTokenEndpoint:e=>h(e)&&"endpoint"in e&&"authenticatedRequestHeaders"in e&&b.EndpointReference(e.endpoint)&&Array.isArray(e.authenticatedRequestHeaders),InferredAuthenticatedRequestHeader:e=>h(e)&&"header"in e,OAuthAccessTokenResponseProperties:e=>h(e)&&"accessToken"in e&&b.ResponseProperty(e.accessToken),OAuthRefreshEndpoint:e=>h(e)&&"endpointReference"in e&&b.EndpointReference(e.endpointReference),OAuthRefreshTokenRequestProperties:e=>h(e)&&"refreshToken"in e&&b.RequestProperty(e.refreshToken),OAuthTokenEndpoint:e=>h(e)&&"endpointReference"in e&&"requestProperties"in e&&"responseProperties"in e&&b.EndpointReference(e.endpointReference)&&b.OAuthAccessTokenRequestProperties(e.requestProperties)&&b.OAuthAccessTokenResponseProperties(e.responseProperties),Encoding:e=>h(e),JsonEncoding:e=>h(e),ProtoEncoding:e=>h(e),FilePropertyArray:e=>h(e)&&"key"in e&&b.NameAndWireValue(e.key),FilePropertySingle:e=>h(e)&&"key"in e&&b.NameAndWireValue(e.key),Filesystem:e=>h(e)&&"name"in e&&typeof e.name=="string",InlinedWebSocketMessageBody:e=>h(e)&&"properties"in e&&Array.isArray(e.properties),InlinedWebSocketMessageBodyProperty:e=>h(e)&&"name"in e&&b.NameAndWireValue(e.name)&&"valueType"in e,InlinedWebhookPayloadProperty:e=>h(e)&&"name"in e&&b.NameAndWireValue(e.name)&&"valueType"in e,WebSocketMessageBodyReference:e=>h(e)&&"bodyType"in e,WebhookPayloadReference:e=>h(e)&&"payloadType"in e,HttpRequestBodyReference:e=>h(e)&&"requestBodyType"in e,ResponseError:e=>h(e)&&"error"in e,V2EndpointLocation:e=>h(e)&&"method"in e&&"path"in e&&typeof e.method=="string"&&typeof e.path=="string",V2WebSocketEndpointLocation:e=>h(e)&&"path"in e&&typeof e.path=="string",V2HttpRequestBodies:e=>h(e),V2HttpResponses:e=>h(e),EndpointReference:e=>h(e)&&"endpointId"in e&&"serviceId"in e&&typeof e.endpointId=="string"&&typeof e.serviceId=="string",EnumTypeReference:e=>h(e)&&"enumTypeId"in e&&typeof e.enumTypeId=="string",CsharpProtobufFileOptions:e=>h(e)&&"namespace"in e&&typeof e.namespace=="string",GrpcTransport:e=>h(e)&&"service"in e&&b.ProtobufService(e.service),ProtoSource:e=>h(e)&&"file"in e&&b.ProtobufFile(e.file),ProtoSourceInfo:e=>h(e),ProtobufFile:e=>h(e)&&"filepath"in e&&typeof e.filepath=="string",ProtobufFileOptions:e=>h(e),ProtobufService:e=>h(e)&&"name"in e&&"file"in e&&typeof e.name=="string"&&b.ProtobufFile(e.file),UserDefinedProtobufType:e=>h(e)&&"typeName"in e&&"file"in e&&typeof e.typeName=="string"&&b.ProtobufFile(e.file),AuthScheme:{Bearer:e=>b.BearerAuthScheme(e)&&"type"in e&&e.type==="bearer",Basic:e=>b.BasicAuthScheme(e)&&"type"in e&&e.type==="basic",Header:e=>b.HeaderAuthScheme(e)&&"type"in e&&e.type==="header",Oauth:e=>b.OAuthScheme(e)&&"type"in e&&e.type==="oauth",Inferred:e=>b.InferredAuthScheme(e)&&"type"in e&&e.type==="inferred"},OAuthConfiguration:{ClientCredentials:e=>b.OAuthClientCredentials(e)&&"type"in e&&e.type==="clientCredentials"},Environments:{SingleBaseUrl:e=>h(e)&&"type"in e&&e.type==="singleBaseUrl",MultipleBaseUrls:e=>h(e)&&"type"in e&&e.type==="multipleBaseUrls"},ErrorDeclarationDiscriminantValue:{Property:e=>b.NameAndWireValue(e)&&"type"in e&&e.type==="property",StatusCode:e=>h(e)&&"type"in e&&e.type==="statusCode"},V2AuthValues:{Basic:e=>b.BasicAuthValues(e)&&"type"in e&&e.type==="basic",Bearer:e=>b.BearerAuthValues(e)&&"type"in e&&e.type==="bearer",Header:e=>b.HeaderAuthValues(e)&&"type"in e&&e.type==="header",Oauth:e=>b.OAuthValues(e)&&"type"in e&&e.type==="oauth"},V2HttpEndpointResponseBody:{Error_:e=>h(e)&&"type"in e&&e.type==="error",Json:e=>h(e)&&"type"in e&&e.type==="json",Stream:e=>h(e)&&"type"in e&&e.type==="stream"},ExampleCodeSample:{Language:e=>b.ExampleCodeSampleLanguage(e)&&"type"in e&&e.type==="language",Sdk:e=>b.ExampleCodeSampleSdk(e)&&"type"in e&&e.type==="sdk"},ExampleEndpointSuccessResponse:{Body:e=>h(e)&&"type"in e&&e.type==="body",Stream:e=>h(e)&&"type"in e&&e.type==="stream",Sse:e=>h(e)&&"type"in e&&e.type==="sse"},ExampleQueryParameterShape:{Single:e=>h(e)&&"type"in e&&e.type==="single",Exploded:e=>h(e)&&"type"in e&&e.type==="exploded",CommaSeparated:e=>h(e)&&"type"in e&&e.type==="commaSeparated"},ExampleRequestBody:{InlinedRequestBody:e=>b.ExampleInlinedRequestBody(e)&&"type"in e&&e.type==="inlinedRequestBody",Reference:e=>b.ExampleTypeReference(e)&&"type"in e&&e.type==="reference"},ExampleResponse:{Ok:e=>h(e)&&"type"in e&&e.type==="ok",Error_:e=>b.ExampleEndpointErrorResponse(e)&&"type"in e&&e.type==="error"},FileProperty:{File_:e=>b.FilePropertySingle(e)&&"type"in e&&e.type==="file",FileArray:e=>b.FilePropertyArray(e)&&"type"in e&&e.type==="fileArray"},FileUploadRequestProperty:{File_:e=>h(e)&&"type"in e&&e.type==="file",BodyProperty:e=>b.FileUploadBodyProperty(e)&&"type"in e&&e.type==="bodyProperty"},HttpEndpointSource:{Proto:e=>b.ProtoSourceInfo(e)&&"type"in e&&e.type==="proto",Openapi:e=>h(e)&&"type"in e&&e.type==="openapi",Openrpc:e=>h(e)&&"type"in e&&e.type==="openrpc"},HttpRequestBody:{InlinedRequestBody:e=>b.InlinedRequestBody(e)&&"type"in e&&e.type==="inlinedRequestBody",Reference:e=>b.HttpRequestBodyReference(e)&&"type"in e&&e.type==="reference",FileUpload:e=>b.FileUploadRequest(e)&&"type"in e&&e.type==="fileUpload",Bytes:e=>b.BytesRequest(e)&&"type"in e&&e.type==="bytes"},HttpResponseBody:{Json:e=>h(e)&&"type"in e&&e.type==="json",FileDownload:e=>b.FileDownloadResponse(e)&&"type"in e&&e.type==="fileDownload",Text:e=>b.TextResponse(e)&&"type"in e&&e.type==="text",Bytes:e=>b.BytesResponse(e)&&"type"in e&&e.type==="bytes",Streaming:e=>h(e)&&"type"in e&&e.type==="streaming",StreamParameter:e=>b.StreamParameterResponse(e)&&"type"in e&&e.type==="streamParameter"},JsonResponse:{Response:e=>b.JsonResponseBody(e)&&"type"in e&&e.type==="response",NestedPropertyAsResponse:e=>b.JsonResponseBodyWithProperty(e)&&"type"in e&&e.type==="nestedPropertyAsResponse"},NonStreamHttpResponseBody:{Json:e=>h(e)&&"type"in e&&e.type==="json",FileDownload:e=>b.FileDownloadResponse(e)&&"type"in e&&e.type==="fileDownload",Text:e=>b.TextResponse(e)&&"type"in e&&e.type==="text",Bytes:e=>b.BytesResponse(e)&&"type"in e&&e.type==="bytes"},Pagination:{Cursor:e=>b.CursorPagination(e)&&"type"in e&&e.type==="cursor",Offset:e=>b.OffsetPagination(e)&&"type"in e&&e.type==="offset",Custom:e=>b.CustomPagination(e)&&"type"in e&&e.type==="custom"},RequestPropertyValue:{Query:e=>b.QueryParameter(e)&&"type"in e&&e.type==="query",Body:e=>b.ObjectProperty(e)&&"type"in e&&e.type==="body"},SdkRequestBodyType:{TypeReference:e=>b.HttpRequestBodyReference(e)&&"type"in e&&e.type==="typeReference",Bytes:e=>b.BytesRequest(e)&&"type"in e&&e.type==="bytes"},SdkRequestShape:{JustRequestBody:e=>h(e)&&"type"in e&&e.type==="justRequestBody",Wrapper:e=>b.SdkRequestWrapper(e)&&"type"in e&&e.type==="wrapper"},StreamingResponse:{Json:e=>b.JsonStreamChunk(e)&&"type"in e&&e.type==="json",Text:e=>b.TextStreamChunk(e)&&"type"in e&&e.type==="text",Sse:e=>b.SseStreamChunk(e)&&"type"in e&&e.type==="sse"},Transport:{Http:e=>h(e)&&"type"in e&&e.type==="http",Grpc:e=>b.GrpcTransport(e)&&"type"in e&&e.type==="grpc"},ApiDefinitionSource:{Proto:e=>b.ProtoSource(e)&&"type"in e&&e.type==="proto",Openapi:e=>h(e)&&"type"in e&&e.type==="openapi"},ApiVersionScheme:{Header:e=>h(e)&&"type"in e&&e.type==="header"},ErrorDiscriminationStrategy:{StatusCode:e=>h(e)&&"type"in e&&e.type==="statusCode",Property:e=>h(e)&&"type"in e&&e.type==="property"},ProtobufType:{WellKnown:e=>h(e)&&"type"in e&&e.type==="wellKnown",UserDefined:e=>b.UserDefinedProtobufType(e)&&"type"in e&&e.type==="userDefined"},WellKnownProtobufType:{Any:e=>h(e)&&"type"in e&&e.type==="any",Api:e=>h(e)&&"type"in e&&e.type==="api",BoolValue:e=>h(e)&&"type"in e&&e.type==="boolValue",BytesValue:e=>h(e)&&"type"in e&&e.type==="bytesValue",DoubleValue:e=>h(e)&&"type"in e&&e.type==="doubleValue",Duration:e=>h(e)&&"type"in e&&e.type==="duration",Empty:e=>h(e)&&"type"in e&&e.type==="empty",Enum:e=>h(e)&&"type"in e&&e.type==="enum",EnumValue:e=>h(e)&&"type"in e&&e.type==="enumValue",Field:e=>h(e)&&"type"in e&&e.type==="field",FieldCardinality:e=>h(e)&&"type"in e&&e.type==="fieldCardinality",FieldKind:e=>h(e)&&"type"in e&&e.type==="fieldKind",FieldMask:e=>h(e)&&"type"in e&&e.type==="fieldMask",FloatValue:e=>h(e)&&"type"in e&&e.type==="floatValue",Int32Value:e=>h(e)&&"type"in e&&e.type==="int32Value",Int64Value:e=>h(e)&&"type"in e&&e.type==="int64Value",ListValue:e=>h(e)&&"type"in e&&e.type==="listValue",Method:e=>h(e)&&"type"in e&&e.type==="method",Mixin:e=>h(e)&&"type"in e&&e.type==="mixin",NullValue:e=>h(e)&&"type"in e&&e.type==="nullValue",Option:e=>h(e)&&"type"in e&&e.type==="option",SourceContext:e=>h(e)&&"type"in e&&e.type==="sourceContext",StringValue:e=>h(e)&&"type"in e&&e.type==="stringValue",Struct:e=>h(e)&&"type"in e&&e.type==="struct",Syntax:e=>h(e)&&"type"in e&&e.type==="syntax",Timestamp:e=>h(e)&&"type"in e&&e.type==="timestamp",Type:e=>h(e)&&"type"in e&&e.type==="type",Uint32Value:e=>h(e)&&"type"in e&&e.type==="uint32Value",Uint64Value:e=>h(e)&&"type"in e&&e.type==="uint64Value",Value:e=>h(e)&&"type"in e&&e.type==="value"},PublishTarget:{Postman:e=>h(e)&&"type"in e&&e.type==="postman",Npm:e=>h(e)&&"type"in e&&e.type==="npm",Maven:e=>h(e)&&"type"in e&&e.type==="maven",Pypi:e=>h(e)&&"type"in e&&e.type==="pypi"},PublishingConfig:{Github:e=>h(e)&&"type"in e&&e.type==="github",Direct:e=>h(e)&&"type"in e&&e.type==="direct",Filesystem:e=>b.Filesystem(e)&&"type"in e&&e.type==="filesystem"},ContainerType:{List:e=>h(e)&&"type"in e&&e.type==="list",Map:e=>b.MapType(e)&&"type"in e&&e.type==="map",Nullable:e=>h(e)&&"type"in e&&e.type==="nullable",Optional:e=>h(e)&&"type"in e&&e.type==="optional",Set:e=>h(e)&&"type"in e&&e.type==="set",Literal:e=>h(e)&&"type"in e&&e.type==="literal"},ExampleContainer:{List:e=>b.ExampleListContainer(e)&&"type"in e&&e.type==="list",Set:e=>b.ExampleSetContainer(e)&&"type"in e&&e.type==="set",Optional:e=>b.ExampleOptionalContainer(e)&&"type"in e&&e.type==="optional",Nullable:e=>b.ExampleNullableContainer(e)&&"type"in e&&e.type==="nullable",Map:e=>b.ExampleMapContainer(e)&&"type"in e&&e.type==="map",Literal:e=>b.ExampleLiteralContainer(e)&&"type"in e&&e.type==="literal"},ExamplePrimitive:{Integer:e=>h(e)&&"type"in e&&e.type==="integer",Long:e=>h(e)&&"type"in e&&e.type==="long",Uint:e=>h(e)&&"type"in e&&e.type==="uint",Uint64:e=>h(e)&&"type"in e&&e.type==="uint64",Float:e=>h(e)&&"type"in e&&e.type==="float",Double:e=>h(e)&&"type"in e&&e.type==="double",Boolean:e=>h(e)&&"type"in e&&e.type==="boolean",String:e=>h(e)&&"type"in e&&e.type==="string",Date_:e=>h(e)&&"type"in e&&e.type==="date",Datetime:e=>b.ExampleDatetime(e)&&"type"in e&&e.type==="datetime",Uuid:e=>h(e)&&"type"in e&&e.type==="uuid",Base64:e=>h(e)&&"type"in e&&e.type==="base64",BigInteger:e=>h(e)&&"type"in e&&e.type==="bigInteger"},ExampleSingleUnionTypeProperties:{SamePropertiesAsObject:e=>b.ExampleObjectTypeWithTypeId(e)&&"type"in e&&e.type==="samePropertiesAsObject",SingleProperty:e=>b.ExampleTypeReference(e)&&"type"in e&&e.type==="singleProperty",NoProperties:e=>h(e)&&"type"in e&&e.type==="noProperties"},ExampleTypeReferenceShape:{Primitive:e=>h(e)&&"type"in e&&e.type==="primitive",Container:e=>h(e)&&"type"in e&&e.type==="container",Unknown:e=>h(e)&&"type"in e&&e.type==="unknown",Named:e=>b.ExampleNamedType(e)&&"type"in e&&e.type==="named"},ExampleTypeShape:{Alias:e=>b.ExampleAliasType(e)&&"type"in e&&e.type==="alias",Enum:e=>b.ExampleEnumType(e)&&"type"in e&&e.type==="enum",Object_:e=>b.ExampleObjectType(e)&&"type"in e&&e.type==="object",Union:e=>b.ExampleUnionType(e)&&"type"in e&&e.type==="union",UndiscriminatedUnion:e=>b.ExampleUndiscriminatedUnionType(e)&&"type"in e&&e.type==="undiscriminatedUnion"},Literal:{String:e=>h(e)&&"type"in e&&e.type==="string",Boolean:e=>h(e)&&"type"in e&&e.type==="boolean"},NamedTypeDefault:{Enum:e=>b.EnumValue(e)&&"type"in e&&e.type==="enum"},PrimitiveTypeV2:{Integer:e=>b.IntegerType(e)&&"type"in e&&e.type==="integer",Long:e=>b.LongType(e)&&"type"in e&&e.type==="long",Uint:e=>b.UintType(e)&&"type"in e&&e.type==="uint",Uint64:e=>b.Uint64Type(e)&&"type"in e&&e.type==="uint64",Float:e=>b.FloatType(e)&&"type"in e&&e.type==="float",Double:e=>b.DoubleType(e)&&"type"in e&&e.type==="double",Boolean:e=>b.BooleanType(e)&&"type"in e&&e.type==="boolean",String:e=>b.StringType(e)&&"type"in e&&e.type==="string",Date_:e=>b.DateType(e)&&"type"in e&&e.type==="date",DateTime:e=>b.DateTimeType(e)&&"type"in e&&e.type==="dateTime",Uuid:e=>b.UuidType(e)&&"type"in e&&e.type==="uuid",Base64:e=>b.Base64Type(e)&&"type"in e&&e.type==="base64",BigInteger:e=>b.BigIntegerType(e)&&"type"in e&&e.type==="bigInteger"},ResolvedTypeReference:{Container:e=>h(e)&&"type"in e&&e.type==="container",Named:e=>b.ResolvedNamedType(e)&&"type"in e&&e.type==="named",Primitive:e=>h(e)&&"type"in e&&e.type==="primitive",Unknown:e=>h(e)&&"type"in e&&e.type==="unknown"},Source:{Proto:e=>h(e)&&"type"in e&&e.type==="proto"},Type:{Alias:e=>b.AliasTypeDeclaration(e)&&"type"in e&&e.type==="alias",Enum:e=>b.EnumTypeDeclaration(e)&&"type"in e&&e.type==="enum",Object_:e=>b.ObjectTypeDeclaration(e)&&"type"in e&&e.type==="object",Union:e=>b.UnionTypeDeclaration(e)&&"type"in e&&e.type==="union",UndiscriminatedUnion:e=>b.UndiscriminatedUnionTypeDeclaration(e)&&"type"in e&&e.type==="undiscriminatedUnion"},TypeReference:{Container:e=>h(e)&&"type"in e&&e.type==="container",Named:e=>b.NamedType(e)&&"type"in e&&e.type==="named",Primitive:e=>h(e)&&"type"in e&&e.type==="primitive",Unknown:e=>h(e)&&"type"in e&&e.type==="unknown"},WebhookPayload:{InlinedPayload:e=>b.InlinedWebhookPayload(e)&&"type"in e&&e.type==="inlinedPayload",Reference:e=>b.WebhookPayloadReference(e)&&"type"in e&&e.type==="reference"},ExampleWebSocketMessageBody:{InlinedBody:e=>b.ExampleInlinedRequestBody(e)&&"type"in e&&e.type==="inlinedBody",Reference:e=>b.ExampleTypeReference(e)&&"type"in e&&e.type==="reference"},WebSocketMessageBody:{InlinedBody:e=>b.InlinedWebSocketMessageBody(e)&&"type"in e&&e.type==="inlinedBody",Reference:e=>b.WebSocketMessageBodyReference(e)&&"type"in e&&e.type==="reference"}};var Vm=/^[+-]?\d{4}-(0?[1-9]|1[0-2])-(0?[1-9]|[12]\d|3[01])$/,vm=/^([+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))[T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([.,]\d+(?!:))?)?(\16[0-5]\d([.,]\d+)?)?([zZ]|([+-])([01]\d|2[0-3]):?([0-5]\d)?)?)$/,P={string:e=>typeof e=="string",boolean:e=>typeof e=="boolean",number:e=>typeof e=="number",date:e=>e instanceof Date,object:e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,array:e=>Array.isArray(e),Provenance:e=>P.object(e)&&"jsonPath"in e&&"name"in e&&"node"in e,Explicit:e=>P.Provenance(e)&&e.explicit===!0,NonNullable:e=>e!=null,isIsoDateString:e=>P.string(e)&&Vm.test(e),isIsoDateTimeString:e=>P.string(e)&&vm.test(e),Type:e=>e instanceof Yt,ClassReference:e=>e instanceof ge,Optional:e=>e instanceof Re,OptionalWrapper:e=>e instanceof Xt,AsyncEnumerable:e=>e!=null&&e.asNonOptional().fullyQualifiedName.startsWith("System.Collections.Generic.IAsyncEnumerable"),Record:{empty:e=>e==null||Object.keys(e||{}).length===0,nonEmpty:e=>P.object(e)&&Object.keys(e).length>0,withKey:(e,t)=>P.object(e)&&t in e,missingKey:(e,t)=>P.object(e)&&!(t in e)},Ast:{Node:e=>e instanceof L,NamedNode:e=>P.Ast.Node(e)&&"name"in e&&typeof e.name=="string"},OneOf:{OneOf:e=>P.ClassReference(e)&&e.fullyQualifiedName==="OneOf.OneOf",OneOfBase:e=>P.ClassReference(e)&&e.fullyQualifiedName==="OneOf.OneOfBase"},Primitive:{string:e=>e instanceof q.String,boolean:e=>e instanceof q.Boolean,int:e=>e instanceof q.Integer,long:e=>e instanceof q.Long,uint:e=>e instanceof q.Uint,ulong:e=>e instanceof q.ULong,float:e=>e instanceof q.Float,double:e=>e instanceof q.Double,object:e=>e instanceof q.Object},Value:{dateTime:e=>e instanceof Ie.DateTime,uuid:e=>e instanceof Ie.Uuid,byte:e=>e instanceof Ie.Binary,stringEnum:e=>e instanceof Ie.StringEnum},Collection:{array:e=>e instanceof se.Array,listType:e=>e instanceof se.ListType,list:e=>e instanceof se.List,set:e=>e instanceof se.Set,map:e=>e instanceof se.Map,idictionary:e=>e instanceof se.IDictionary,keyValuePair:e=>e instanceof se.KeyValuePair},Literal:{string:e=>e instanceof B.String,boolean:e=>e instanceof B.Boolean,decimal:e=>e instanceof B.Decimal,double:e=>e instanceof B.Double,date:e=>e instanceof B.Date,dateTime:e=>e instanceof B.DateTime,float:e=>e instanceof B.Float,int:e=>e instanceof B.Integer,long:e=>e instanceof B.Long,uint:e=>e instanceof B.Uint,ulong:e=>e instanceof B.Ulong,class:e=>e instanceof B.Class_,list:e=>e instanceof B.List,set:e=>e instanceof B.Set,dictionary:e=>e instanceof B.Dictionary,nop:e=>e instanceof B.Nop,null:e=>e instanceof B.Null,unknown:e=>e instanceof B.Unknown},IR:b,DynamicIR:M};n();a();s();var ct=class extends L{constructor(r,i){super(i);m(this,"arg");this.arg=r}write(r){return new ke(this.arg).write(r)}};var pt=class extends L{constructor(r,i){super(i);m(this,"statements",[])}write(r){for(let i of this.statements){if(P.string(i)){r.writeStatement(i);continue}if(i instanceof ct){i.write(r);continue}r.writeStatement(...i)}}append(r){this.statements.push(r)}assign(r,i){return P.Ast.NamedNode(i)?this.statements.push([`${r.name} = ${i.name}`]):this.statements.push([r.name," = ",i]),this}if(r,i){}};n();a();s();var Zt=class extends L{constructor({classReference:r,arguments_:i,forceUseConstructor:o,properties:c,multiline:d},y){super(y);m(this,"classReference");m(this,"arguments_");m(this,"forceUseConstructor");m(this,"properties");m(this,"multiline");this.classReference=r,this.arguments_=i,this.forceUseConstructor=o??!1,this.properties=c??[],this.multiline=d??!1}write(r){this.classReference.namespaceAlias!=null?r.write(`new ${this.classReference.namespaceAlias}.${this.classReference.name}`):(r.write("new "),r.writeNode(this.classReference));let i=$a(this.arguments_);if(i&&!this.forceUseConstructor?r.write(" {"):r.write("("),this.arguments_.length===0){this.writeEnd({writer:r,hasNamedArguments:i});return}this.multiline&&r.newLine(),r.indent(),this.arguments_.forEach((o,c)=>{nn(o)?(r.write(`${o.name}`),this.forceUseConstructor?r.write(": "):r.write(" = "),r.write(o.assignment)):o.write(r),c<this.arguments_.length-1&&(r.write(","),this.multiline||r.write(" ")),this.multiline&&r.newLine()}),r.dedent(),this.writeEnd({writer:r,hasNamedArguments:i})}writeEnd({writer:r,hasNamedArguments:i}){i&&!this.forceUseConstructor?r.write("}"):r.write(")"),this.properties.length>0&&(r.write("{"),this.multiline?(r.newLine(),r.indent()):r.write(" "),this.properties.forEach((o,c)=>{r.write(o.name," = ",o.value),c<this.properties.length-1&&(r.write(","),this.multiline?r.newLine():r.write(" "))}),this.multiline&&(r.dedent(),r.newLine()),r.write("}"))}};n();a();s();var er=class extends L{constructor({keyType:r,valueType:i,values:o},c){super(c);m(this,"keyType");m(this,"valueType");m(this,"values");this.keyType=r,this.valueType=i,this.values=o}write(r){if(this.values==null){r.write(this.System.Collections.Generic.Dictionary(this.keyType,this.valueType).new());return}if(this.values.type==="argument"){r.write(this.System.Collections.Generic.Dictionary(this.keyType,this.valueType).new({arguments_:[this.values.argument]}));return}r.write(this.System.Collections.Generic.Dictionary(this.keyType,this.valueType).new()),r.pushScope();for(let{key:i,value:o}of this.values.entries)r.writeLine("{ ",i,", ",o," },");r.popScope()}};n();a();s();var tr=class extends L{constructor({reference:r,value:i},o){super(o);m(this,"reference");m(this,"value");this.reference=r,this.value=i}write(r){r.writeNode(this.reference),r.write(`.${this.value}`)}};n();a();s();var fe=class extends L{constructor(r,i){super(i);m(this,"internalType");this.internalType=r}write(r){switch(this.internalType.type){case"integer":r.write(this.internalType.value.toString());break;case"long":r.write(`${this.internalType.value.toString()}`);break;case"uint":r.write(`${this.internalType.value.toString()}`);break;case"ulong":r.write(`${this.internalType.value.toString()}`);break;case"string":r.writeNode(this.csharp.string_({string:this.internalType.value}));break;case"boolean":r.write(this.internalType.value.toString());break;case"float":r.write(`${this.internalType.value.toString()}f`);break;case"double":r.write(`${this.internalType.value.toString()}`);break;case"date":{let i=new Date(this.internalType.value),o=this.csharp.Literal.integer(i.getUTCFullYear()),c=this.csharp.Literal.integer(i.getUTCMonth()+1),d=this.csharp.Literal.integer(i.getUTCDate());r.write(this.System.DateOnly.new({arguments_:[o,c,d]}));break}case"dateTime":{this.internalType.parse?(r.write(`DateTime.Parse("${this.internalType.value.toISOString()}", null, `),r.writeNode(this.System.Globalization.DateTimeStyles),r.write(".AdjustToUniversal)")):r.write(this.constructDatetimeWithoutParse(this.internalType.value));break}case"uuid":r.write(`"${this.internalType.value.toString()}"`);break;case"null":r.write("null");break}}constructDatetimeWithoutParse(r){let i=r.getUTCFullYear(),o=(r.getUTCMonth()+1).toString().padStart(2,"0"),c=r.getUTCDate().toString().padStart(2,"0"),d=r.getUTCHours().toString().padStart(2,"0"),y=r.getUTCMinutes().toString().padStart(2,"0"),g=r.getUTCSeconds().toString().padStart(2,"0"),x=r.getUTCMilliseconds().toString().padStart(3,"0");return`new DateTime(${i}, ${o}, ${c}, ${d}, ${y}, ${g}, ${x})`}};n();a();s();var rr=class extends L{constructor({itemType:r,entries:i},o){super(o);m(this,"itemType");m(this,"entries");this.itemType=r,this.entries=i}write(r){this.itemType!=null?(r.write(this.System.Collections.Generic.List(this.itemType).new()),r.pushScope()):r.write("["),this.entries.forEach((i,o)=>{r.writeNode(i),o<this.entries.length-1&&r.write(", ")}),this.itemType!=null?r.popScope():r.write("]")}};n();a();s();var ir=class extends L{constructor({method:r,arguments_:i,on:o,async:c,configureAwait:d,generics:y,multiline:g,isAsyncEnumerable:x},S){super(S);m(this,"arguments");m(this,"method");m(this,"on");m(this,"async");m(this,"isAsyncEnumerable");m(this,"configureAwait");m(this,"generics");m(this,"multiline");this.method=r,this.arguments=i,this.on=o,this.async=c??!1,this.configureAwait=d??!1,this.generics=y??[],this.multiline=g??!1,this.isAsyncEnumerable=x??!1}write(r){if(this.async&&!this.isAsyncEnumerable&&r.write("await "),this.on&&(this.on.write(r),r.write(".")),r.write(this.method),this.generics!=null&&this.generics.length>0&&(r.write("<"),this.generics.forEach((i,o)=>{r.writeNode(i),o<this.generics.length-1&&r.write(", ")}),r.write(">")),r.write("("),this.arguments.length===0){r.write(")"),this.writeEnd(r);return}this.multiline&&(r.newLine(),r.indent()),this.arguments.forEach((i,o)=>{i.write(r),o<this.arguments.length-1&&(r.write(","),this.multiline||r.write(" ")),this.multiline&&r.writeNewLineIfLastLineNot()}),this.multiline&&r.dedent(),r.write(")"),this.writeEnd(r)}writeEnd(r){this.async&&this.configureAwait===!1&&r.write(".ConfigureAwait(false)")}};n();a();s();var nr=class extends L{constructor({itemType:r,entries:i},o){super(o);m(this,"itemType");m(this,"entries");this.itemType=r,this.entries=i}write(r){r.write("new"),this.entries.length===0&&(r.write(" "),r.writeNode(this.itemType)),r.write("[] {"),this.entries.forEach((i,o)=>{r.writeNode(i),o<this.entries.length-1&&r.write(", ")}),r.write("}")}};n();a();s();var sr=class extends L{constructor({itemType:r,entries:i},o){super(o);m(this,"itemType");m(this,"entries");this.itemType=r,this.entries=i}write(r){r.write(this.System.Collections.Generic.HashSet(this.itemType).new()),r.pushScope(),this.entries.forEach((i,o)=>{r.writeNode(i),o<this.entries.length-1&&r.write(", ")}),r.popScope(!1)}};n();a();s();n();a();s();var zm={"\\":"\\\\",'"':'\\"',"\n":"\\n","\r":"\\r"," ":"\\t","\0":"\\0","\f":"\\f","\b":"\\b","\v":"\\v","\x07":"\\a"},qm=/[\\\"\n\r\t\0\f\u0007\u0008\v\u0001-\u0006\u000E-\u001F\u007F-\u009F]/g;function Dc(e){return e.replace(qm,t=>{let r=zm[t];return r!==void 0?r:`\\u${t.charCodeAt(0).toString(16).padStart(4,"0")}`})}var ar=class extends L{constructor(r,i){super(i);m(this,"string");this.string=r.string}write(r){r.write(`"${Dc(this.string)}"`)}};n();a();s();n();a();s();n();a();s();var $;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})($||($={}));function Uc(e){return e.type===$.Tag||e.type===$.Script||e.type===$.Style}var Gm=$.Root,Wm=$.Text,$m=$.Directive,Hm=$.Comment,Jm=$.Script,Km=$.Style,Qm=$.Tag,Ym=$.CDATA,Xm=$.Doctype;n();a();s();var Tn=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return Vc(this,t)}},Ui=class extends Tn{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}},or=class extends Ui{constructor(){super(...arguments),this.type=$.Text}get nodeType(){return 3}},Bi=class extends Ui{constructor(){super(...arguments),this.type=$.Comment}get nodeType(){return 8}},Mi=class extends Ui{constructor(t,r){super(r),this.name=t,this.type=$.Directive}get nodeType(){return 1}},Vi=class extends Tn{constructor(t){super(),this.children=t}get firstChild(){var t;return(t=this.children[0])!==null&&t!==void 0?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}},vi=class extends Vi{constructor(){super(...arguments),this.type=$.CDATA}get nodeType(){return 4}},ur=class extends Vi{constructor(){super(...arguments),this.type=$.Root}get nodeType(){return 9}},zi=class extends Vi{constructor(t,r,i=[],o=t==="script"?$.Script:t==="style"?$.Style:$.Tag){super(i),this.name=t,this.attribs=r,this.type=o}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var r,i;return{name:t,value:this.attribs[t],namespace:(r=this["x-attribsNamespace"])===null||r===void 0?void 0:r[t],prefix:(i=this["x-attribsPrefix"])===null||i===void 0?void 0:i[t]}})}};function Me(e){return Uc(e)}function go(e){return e.type===$.CDATA}function kt(e){return e.type===$.Text}function bo(e){return e.type===$.Comment}function Zm(e){return e.type===$.Directive}function Mc(e){return e.type===$.Root}function Vc(e,t=!1){let r;if(kt(e))r=new or(e.data);else if(bo(e))r=new Bi(e.data);else if(Me(e)){let i=t?yo(e.children):[],o=new zi(e.name,{...e.attribs},i);i.forEach(c=>c.parent=o),e.namespace!=null&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]={...e["x-attribsPrefix"]}),r=o}else if(go(e)){let i=t?yo(e.children):[],o=new vi(i);i.forEach(c=>c.parent=o),r=o}else if(Mc(e)){let i=t?yo(e.children):[],o=new ur(i);i.forEach(c=>c.parent=o),e["x-mode"]&&(o["x-mode"]=e["x-mode"]),r=o}else if(Zm(e)){let i=new Mi(e.name,e.data);e["x-name"]!=null&&(i["x-name"]=e["x-name"],i["x-publicId"]=e["x-publicId"],i["x-systemId"]=e["x-systemId"]),r=i}else throw new Error(`Not implemented yet: ${e.type}`);return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function yo(e){let t=e.map(r=>Vc(r,!0));for(let r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}var vc={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},cr=class{constructor(t,r,i){this.dom=[],this.root=new ur(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof r=="function"&&(i=r,r=vc),typeof t=="object"&&(r=t,t=void 0),this.callback=t??null,this.options=r??vc,this.elementCB=i??null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new ur(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(t){this.handleCallback(t)}onclosetag(){this.lastNode=null;let t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)}onopentag(t,r){let i=this.options.xmlMode?$.Tag:void 0,o=new zi(t,r,void 0,i);this.addNode(o),this.tagStack.push(o)}ontext(t){let{lastNode:r}=this;if(r&&r.type===$.Text)r.data+=t,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{let i=new or(t);this.addNode(i),this.lastNode=i}}oncomment(t){if(this.lastNode&&this.lastNode.type===$.Comment){this.lastNode.data+=t;return}let r=new Bi(t);this.addNode(r),this.lastNode=r}oncommentend(){this.lastNode=null}oncdatastart(){let t=new or(""),r=new vi([t]);this.addNode(r),t.parent=r,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,r){let i=new Mi(t,r);this.addNode(i)}handleCallback(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t}addNode(t){let r=this.tagStack[this.tagStack.length-1],i=r.children[r.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),r.children.push(t),i&&(t.prev=i,i.next=t),t.parent=r,this.lastNode=null}};n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var An=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(e=>e.charCodeAt(0)));n();a();s();var In=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));n();a();s();var xo,ed=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),pr=(xo=String.fromCodePoint)!==null&&xo!==void 0?xo:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function So(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=ed.get(e))!==null&&t!==void 0?t:e}var oe;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(oe||(oe={}));var td=32,lt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(lt||(lt={}));function To(e){return e>=oe.ZERO&&e<=oe.NINE}function rd(e){return e>=oe.UPPER_A&&e<=oe.UPPER_F||e>=oe.LOWER_A&&e<=oe.LOWER_F}function id(e){return e>=oe.UPPER_A&&e<=oe.UPPER_Z||e>=oe.LOWER_A&&e<=oe.LOWER_Z||To(e)}function nd(e){return e===oe.EQUALS||id(e)}var ae;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(ae||(ae={}));var Ee;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ee||(Ee={}));var lr=class{constructor(t,r,i){this.decodeTree=t,this.emitCodePoint=r,this.errors=i,this.state=ae.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ee.Strict}startEntity(t){this.decodeMode=t,this.state=ae.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case ae.EntityStart:return t.charCodeAt(r)===oe.NUM?(this.state=ae.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=ae.NamedEntity,this.stateNamedEntity(t,r));case ae.NumericStart:return this.stateNumericStart(t,r);case ae.NumericDecimal:return this.stateNumericDecimal(t,r);case ae.NumericHex:return this.stateNumericHex(t,r);case ae.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|td)===oe.LOWER_X?(this.state=ae.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=ae.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,i,o){if(r!==i){let c=i-r;this.result=this.result*Math.pow(o,c)+parseInt(t.substr(r,c),o),this.consumed+=c}}stateNumericHex(t,r){let i=r;for(;r<t.length;){let o=t.charCodeAt(r);if(To(o)||rd(o))r+=1;else return this.addToNumericResult(t,i,r,16),this.emitNumericEntity(o,3)}return this.addToNumericResult(t,i,r,16),-1}stateNumericDecimal(t,r){let i=r;for(;r<t.length;){let o=t.charCodeAt(r);if(To(o))r+=1;else return this.addToNumericResult(t,i,r,10),this.emitNumericEntity(o,2)}return this.addToNumericResult(t,i,r,10),-1}emitNumericEntity(t,r){var i;if(this.consumed<=r)return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===oe.SEMI)this.consumed+=1;else if(this.decodeMode===Ee.Strict)return 0;return this.emitCodePoint(So(this.result),this.consumed),this.errors&&(t!==oe.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){let{decodeTree:i}=this,o=i[this.treeIndex],c=(o&lt.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){let d=t.charCodeAt(r);if(this.treeIndex=sd(i,o,this.treeIndex+Math.max(1,c),d),this.treeIndex<0)return this.result===0||this.decodeMode===Ee.Attribute&&(c===0||nd(d))?0:this.emitNotTerminatedNamedEntity();if(o=i[this.treeIndex],c=(o&lt.VALUE_LENGTH)>>14,c!==0){if(d===oe.SEMI)return this.emitNamedEntityData(this.treeIndex,c,this.consumed+this.excess);this.decodeMode!==Ee.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;let{result:r,decodeTree:i}=this,o=(i[r]&lt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,o,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,i){let{decodeTree:o}=this;return this.emitCodePoint(r===1?o[t]&~lt.VALUE_LENGTH:o[t+1],i),r===3&&this.emitCodePoint(o[t+2],i),i}end(){var t;switch(this.state){case ae.NamedEntity:return this.result!==0&&(this.decodeMode!==Ee.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ae.NumericDecimal:return this.emitNumericEntity(0,2);case ae.NumericHex:return this.emitNumericEntity(0,3);case ae.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ae.EntityStart:return 0}}};function zc(e){let t="",r=new lr(e,i=>t+=pr(i));return function(o,c){let d=0,y=0;for(;(y=o.indexOf("&",y))>=0;){t+=o.slice(d,y),r.startEntity(c);let x=r.write(o,y+1);if(x<0){d=y+r.end();break}d=y+x,y=x===0?d+1:d}let g=t+o.slice(d);return t="",g}}function sd(e,t,r,i){let o=(t&lt.BRANCH_LENGTH)>>7,c=t&lt.JUMP_TABLE;if(o===0)return c!==0&&i===c?r:-1;if(c){let g=i-c;return g<0||g>=o?-1:e[r+g]-1}let d=r,y=d+o-1;for(;d<=y;){let g=d+y>>>1,x=e[g];if(x<i)d=g+1;else if(x>i)y=g-1;else return e[g+o]}return-1}var V8=zc(An),v8=zc(In);var F;(function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"})(F||(F={}));var E;(function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.BeforeSpecialT=23]="BeforeSpecialT",e[e.SpecialStartSequence=24]="SpecialStartSequence",e[e.InSpecialTag=25]="InSpecialTag",e[e.InEntity=26]="InEntity"})(E||(E={}));function Je(e){return e===F.Space||e===F.NewLine||e===F.Tab||e===F.FormFeed||e===F.CarriageReturn}function En(e){return e===F.Slash||e===F.Gt||Je(e)}function ad(e){return e>=F.LowerA&&e<=F.LowerZ||e>=F.UpperA&&e<=F.UpperZ}var Oe;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(Oe||(Oe={}));var me={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])},fr=class{constructor({xmlMode:t=!1,decodeEntities:r=!0},i){this.cbs=i,this.state=E.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=E.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=t,this.decodeEntities=r,this.entityDecoder=new lr(t?In:An,(o,c)=>this.emitCodePoint(o,c))}reset(){this.state=E.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=E.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(t){t===F.Lt||!this.decodeEntities&&this.fastForwardTo(F.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=E.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===F.Amp&&this.startEntity()}stateSpecialStartSequence(t){let r=this.sequenceIndex===this.currentSequence.length;if(!(r?En(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=E.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===F.Gt||Je(t)){let r=this.index-this.currentSequence.length;if(this.sectionStart<r){let i=this.index;this.index=r,this.cbs.ontext(this.sectionStart,r),this.index=i}this.isSpecial=!1,this.sectionStart=r+2,this.stateInClosingTagName(t);return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===me.TitleEnd?this.decodeEntities&&t===F.Amp&&this.startEntity():this.fastForwardTo(F.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===F.Lt)}stateCDATASequence(t){t===me.Cdata[this.sequenceIndex]?++this.sequenceIndex===me.Cdata.length&&(this.state=E.InCommentLike,this.currentSequence=me.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=E.InDeclaration,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===t)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===me.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=E.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(t){return this.xmlMode?!En(t):ad(t)}startSpecial(t,r){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=r,this.state=E.SpecialStartSequence}stateBeforeTagName(t){if(t===F.ExclamationMark)this.state=E.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===F.Questionmark)this.state=E.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){let r=t|32;this.sectionStart=this.index,this.xmlMode?this.state=E.InTagName:r===me.ScriptEnd[2]?this.state=E.BeforeSpecialS:r===me.TitleEnd[2]?this.state=E.BeforeSpecialT:this.state=E.InTagName}else t===F.Slash?this.state=E.BeforeClosingTagName:(this.state=E.Text,this.stateText(t))}stateInTagName(t){En(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){Je(t)||(t===F.Gt?this.state=E.Text:(this.state=this.isTagStartChar(t)?E.InClosingTagName:E.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===F.Gt||Je(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=E.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===F.Gt||this.fastForwardTo(F.Gt))&&(this.state=E.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===F.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=E.InSpecialTag,this.sequenceIndex=0):this.state=E.Text,this.sectionStart=this.index+1):t===F.Slash?this.state=E.InSelfClosingTag:Je(t)||(this.state=E.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===F.Gt?(this.cbs.onselfclosingtag(this.index),this.state=E.Text,this.sectionStart=this.index+1,this.isSpecial=!1):Je(t)||(this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===F.Eq||En(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=E.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===F.Eq?this.state=E.BeforeAttributeValue:t===F.Slash||t===F.Gt?(this.cbs.onattribend(Oe.NoValue,this.sectionStart),this.sectionStart=-1,this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(t)):Je(t)||(this.cbs.onattribend(Oe.NoValue,this.sectionStart),this.state=E.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===F.DoubleQuote?(this.state=E.InAttributeValueDq,this.sectionStart=this.index+1):t===F.SingleQuote?(this.state=E.InAttributeValueSq,this.sectionStart=this.index+1):Je(t)||(this.sectionStart=this.index,this.state=E.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,r){t===r||!this.decodeEntities&&this.fastForwardTo(r)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r===F.DoubleQuote?Oe.Double:Oe.Single,this.index+1),this.state=E.BeforeAttributeName):this.decodeEntities&&t===F.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,F.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,F.SingleQuote)}stateInAttributeValueNoQuotes(t){Je(t)||t===F.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Oe.Unquoted,this.index),this.state=E.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===F.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===F.OpeningSquareBracket?(this.state=E.CDATASequence,this.sequenceIndex=0):this.state=t===F.Dash?E.BeforeComment:E.InDeclaration}stateInDeclaration(t){(t===F.Gt||this.fastForwardTo(F.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=E.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===F.Gt||this.fastForwardTo(F.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=E.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===F.Dash?(this.state=E.InCommentLike,this.currentSequence=me.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=E.InDeclaration}stateInSpecialComment(t){(t===F.Gt||this.fastForwardTo(F.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=E.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){let r=t|32;r===me.ScriptEnd[3]?this.startSpecial(me.ScriptEnd,4):r===me.StyleEnd[3]?this.startSpecial(me.StyleEnd,4):(this.state=E.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){let r=t|32;r===me.TitleEnd[3]?this.startSpecial(me.TitleEnd,4):r===me.TextareaEnd[3]?this.startSpecial(me.TextareaEnd,4):(this.state=E.InTagName,this.stateInTagName(t))}startEntity(){this.baseState=this.state,this.state=E.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Ee.Strict:this.baseState===E.Text||this.baseState===E.InSpecialTag?Ee.Legacy:Ee.Attribute)}stateInEntity(){let t=this.entityDecoder.write(this.buffer,this.index-this.offset);t>=0?(this.state=this.baseState,t===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===E.Text||this.state===E.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===E.InAttributeValueDq||this.state===E.InAttributeValueSq||this.state===E.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let t=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case E.Text:{this.stateText(t);break}case E.SpecialStartSequence:{this.stateSpecialStartSequence(t);break}case E.InSpecialTag:{this.stateInSpecialTag(t);break}case E.CDATASequence:{this.stateCDATASequence(t);break}case E.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(t);break}case E.InAttributeName:{this.stateInAttributeName(t);break}case E.InCommentLike:{this.stateInCommentLike(t);break}case E.InSpecialComment:{this.stateInSpecialComment(t);break}case E.BeforeAttributeName:{this.stateBeforeAttributeName(t);break}case E.InTagName:{this.stateInTagName(t);break}case E.InClosingTagName:{this.stateInClosingTagName(t);break}case E.BeforeTagName:{this.stateBeforeTagName(t);break}case E.AfterAttributeName:{this.stateAfterAttributeName(t);break}case E.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(t);break}case E.BeforeAttributeValue:{this.stateBeforeAttributeValue(t);break}case E.BeforeClosingTagName:{this.stateBeforeClosingTagName(t);break}case E.AfterClosingTagName:{this.stateAfterClosingTagName(t);break}case E.BeforeSpecialS:{this.stateBeforeSpecialS(t);break}case E.BeforeSpecialT:{this.stateBeforeSpecialT(t);break}case E.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(t);break}case E.InSelfClosingTag:{this.stateInSelfClosingTag(t);break}case E.InDeclaration:{this.stateInDeclaration(t);break}case E.BeforeDeclaration:{this.stateBeforeDeclaration(t);break}case E.BeforeComment:{this.stateBeforeComment(t);break}case E.InProcessingInstruction:{this.stateInProcessingInstruction(t);break}case E.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===E.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let t=this.buffer.length+this.offset;this.sectionStart>=t||(this.state===E.InCommentLike?this.currentSequence===me.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===E.InTagName||this.state===E.BeforeAttributeName||this.state===E.BeforeAttributeValue||this.state===E.AfterAttributeName||this.state===E.InAttributeName||this.state===E.InAttributeValueSq||this.state===E.InAttributeValueDq||this.state===E.InAttributeValueNq||this.state===E.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,r){this.baseState!==E.Text&&this.baseState!==E.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+r,this.index=this.sectionStart-1,this.cbs.onattribentity(t)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+r,this.index=this.sectionStart-1,this.cbs.ontextentity(t,this.sectionStart))}};var mr=new Set(["input","option","optgroup","select","button","datalist","textarea"]),Z=new Set(["p"]),qc=new Set(["thead","tbody"]),Gc=new Set(["dd","dt"]),Wc=new Set(["rt","rp"]),od=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",Z],["h1",Z],["h2",Z],["h3",Z],["h4",Z],["h5",Z],["h6",Z],["select",mr],["input",mr],["output",mr],["button",mr],["datalist",mr],["textarea",mr],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Gc],["dt",Gc],["address",Z],["article",Z],["aside",Z],["blockquote",Z],["details",Z],["div",Z],["dl",Z],["fieldset",Z],["figcaption",Z],["figure",Z],["footer",Z],["form",Z],["header",Z],["hr",Z],["main",Z],["nav",Z],["ol",Z],["pre",Z],["section",Z],["table",Z],["ul",Z],["rt",Wc],["rp",Wc],["tbody",qc],["tfoot",qc]]),ud=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),$c=new Set(["math","svg"]),Hc=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),cd=/\s|\//,qi=class{constructor(t,r={}){var i,o,c,d,y,g;this.options=r,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=(i=r.lowerCaseTags)!==null&&i!==void 0?i:this.htmlMode,this.lowerCaseAttributeNames=(o=r.lowerCaseAttributeNames)!==null&&o!==void 0?o:this.htmlMode,this.recognizeSelfClosing=(c=r.recognizeSelfClosing)!==null&&c!==void 0?c:!this.htmlMode,this.tokenizer=new((d=r.Tokenizer)!==null&&d!==void 0?d:fr)(this.options,this),this.foreignContext=[!this.htmlMode],(g=(y=this.cbs).onparserinit)===null||g===void 0||g.call(y,this)}ontext(t,r){var i,o;let c=this.getSlice(t,r);this.endIndex=r-1,(o=(i=this.cbs).ontext)===null||o===void 0||o.call(i,c),this.startIndex=r}ontextentity(t,r){var i,o;this.endIndex=r-1,(o=(i=this.cbs).ontext)===null||o===void 0||o.call(i,pr(t)),this.startIndex=r}isVoidElement(t){return this.htmlMode&&ud.has(t)}onopentagname(t,r){this.endIndex=r;let i=this.getSlice(t,r);this.lowerCaseTagNames&&(i=i.toLowerCase()),this.emitOpenTag(i)}emitOpenTag(t){var r,i,o,c;this.openTagStart=this.startIndex,this.tagname=t;let d=this.htmlMode&&od.get(t);if(d)for(;this.stack.length>0&&d.has(this.stack[0]);){let y=this.stack.shift();(i=(r=this.cbs).onclosetag)===null||i===void 0||i.call(r,y,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&($c.has(t)?this.foreignContext.unshift(!0):Hc.has(t)&&this.foreignContext.unshift(!1))),(c=(o=this.cbs).onopentagname)===null||c===void 0||c.call(o,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var r,i;this.startIndex=this.openTagStart,this.attribs&&((i=(r=this.cbs).onopentag)===null||i===void 0||i.call(r,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,r){var i,o,c,d,y,g,x,S;this.endIndex=r;let A=this.getSlice(t,r);if(this.lowerCaseTagNames&&(A=A.toLowerCase()),this.htmlMode&&($c.has(A)||Hc.has(A))&&this.foreignContext.shift(),this.isVoidElement(A))this.htmlMode&&A==="br"&&((d=(c=this.cbs).onopentagname)===null||d===void 0||d.call(c,"br"),(g=(y=this.cbs).onopentag)===null||g===void 0||g.call(y,"br",{},!0),(S=(x=this.cbs).onclosetag)===null||S===void 0||S.call(x,"br",!1));else{let O=this.stack.indexOf(A);if(O!==-1)for(let w=0;w<=O;w++){let V=this.stack.shift();(o=(i=this.cbs).onclosetag)===null||o===void 0||o.call(i,V,w!==O)}else this.htmlMode&&A==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=r+1}onselfclosingtag(t){this.endIndex=t,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var r,i;let o=this.tagname;this.endOpenTag(t),this.stack[0]===o&&((i=(r=this.cbs).onclosetag)===null||i===void 0||i.call(r,o,!t),this.stack.shift())}onattribname(t,r){this.startIndex=t;let i=this.getSlice(t,r);this.attribname=this.lowerCaseAttributeNames?i.toLowerCase():i}onattribdata(t,r){this.attribvalue+=this.getSlice(t,r)}onattribentity(t){this.attribvalue+=pr(t)}onattribend(t,r){var i,o;this.endIndex=r,(o=(i=this.cbs).onattribute)===null||o===void 0||o.call(i,this.attribname,this.attribvalue,t===Oe.Double?'"':t===Oe.Single?"'":t===Oe.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){let r=t.search(cd),i=r<0?t:t.substr(0,r);return this.lowerCaseTagNames&&(i=i.toLowerCase()),i}ondeclaration(t,r){this.endIndex=r;let i=this.getSlice(t,r);if(this.cbs.onprocessinginstruction){let o=this.getInstructionName(i);this.cbs.onprocessinginstruction(`!${o}`,`!${i}`)}this.startIndex=r+1}onprocessinginstruction(t,r){this.endIndex=r;let i=this.getSlice(t,r);if(this.cbs.onprocessinginstruction){let o=this.getInstructionName(i);this.cbs.onprocessinginstruction(`?${o}`,`?${i}`)}this.startIndex=r+1}oncomment(t,r,i){var o,c,d,y;this.endIndex=r,(c=(o=this.cbs).oncomment)===null||c===void 0||c.call(o,this.getSlice(t,r-i)),(y=(d=this.cbs).oncommentend)===null||y===void 0||y.call(d),this.startIndex=r+1}oncdata(t,r,i){var o,c,d,y,g,x,S,A,O,w;this.endIndex=r;let V=this.getSlice(t,r-i);!this.htmlMode||this.options.recognizeCDATA?((c=(o=this.cbs).oncdatastart)===null||c===void 0||c.call(o),(y=(d=this.cbs).ontext)===null||y===void 0||y.call(d,V),(x=(g=this.cbs).oncdataend)===null||x===void 0||x.call(g)):((A=(S=this.cbs).oncomment)===null||A===void 0||A.call(S,`[CDATA[${V}]]`),(w=(O=this.cbs).oncommentend)===null||w===void 0||w.call(O)),this.startIndex=r+1}onend(){var t,r;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let i=0;i<this.stack.length;i++)this.cbs.onclosetag(this.stack[i],!0)}(r=(t=this.cbs).onend)===null||r===void 0||r.call(t)}reset(){var t,r,i,o;(r=(t=this.cbs).onreset)===null||r===void 0||r.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(o=(i=this.cbs).onparserinit)===null||o===void 0||o.call(i,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,r){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let i=this.buffers[0].slice(t-this.bufferOffset,r-this.bufferOffset);for(;r-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),i+=this.buffers[0].slice(0,r-this.bufferOffset);return i}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var r,i;if(this.ended){(i=(r=this.cbs).onerror)===null||i===void 0||i.call(r,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var r,i;if(this.ended){(i=(r=this.cbs).onerror)===null||i===void 0||i.call(r,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(t){this.write(t)}done(t){this.end(t)}};n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();function wn(e){for(let t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}var pd=new Map(wn([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(wn([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(wn([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(wn([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]));n();a();s();var ld=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]),fd=String.prototype.codePointAt!=null?(e,t)=>e.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function Ao(e,t){return function(i){let o,c=0,d="";for(;o=e.exec(i);)c!==o.index&&(d+=i.substring(c,o.index)),d+=t.get(o[0].charCodeAt(0)),c=o.index+1;return d+i.substring(c)}}var Jc=Ao(/[&<>'"]/g,ld),Io=Ao(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),Eo=Ao(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]));var Kc;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(Kc||(Kc={}));var Qc;(function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"})(Qc||(Qc={}));n();a();s();var dd=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),hd=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e]));n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var ep;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})(ep||(ep={}));n();a();s();function tp(e,t){let r=new cr(void 0,t);return new qi(r,t).end(e),r.root}var ft=class ft{constructor(t){m(this,"writer");m(this,"wrotePrefixOnCurrentLine",!1);this.writer=t}write(t){if(typeof t=="string"){this.writer.write(t);return}t.write(this.writer)}writeWithEscaping(t){if(typeof t=="string"){this.writer.write(this.escapeXmlDocContent(t));return}t.write(this.writer)}writeLine(t=""){this.writePrefix(),this.writer.writeLine(t),this.wrotePrefixOnCurrentLine=!1}writeLineWithEscaping(t){this.writePrefix(),this.writer.write(this.escapeXmlDocContent(t)),this.wrotePrefixOnCurrentLine=!1}writeNewLineIfLastLineNot(){this.writer.writeNewLineIfLastLineNot(),this.wrotePrefixOnCurrentLine=!1}writeNodeOrString(t){this.writer.write(t)}writePrefix(){return this.wrotePrefixOnCurrentLine?this:(this.writer.write("/// "),this.wrotePrefixOnCurrentLine=!0,this)}writeOpenXmlNode(t){this.write(`<${t}>`)}writeCloseXmlNode(t){this.write(`</${t}>`)}writeNode(t){this.writer.writeNode(t)}writeXmlNode(t,r){this.writePrefix(),this.writeOpenXmlNode(t),this.writeLine(r),this.writePrefix(),this.writeCloseXmlNode(t)}writeXmlNodeMultiline(t,r){this.writePrefix(),this.writeOpenXmlNode(t),this.writeLine(),this.writeMultiline(r),this.writeLine(),this.writePrefix(),this.writeCloseXmlNode(t)}writeXmlNodeWithEscaping(t,r){this.writeOpenXmlNode(t),this.writeLineWithEscaping(r),this.writeCloseXmlNode(t)}writeMultilineNodeWithEscaping(t,r){this.writeOpenXmlNode(t),this.writeLine(),this.writeMultilineWithEscaping(r),this.writeLine(),this.writeCloseXmlNode(t)}writeMultiline(t){t.trim().split(`
28
+ `).forEach(r=>{this.writeLine(r)})}writeMultilineWithEscaping(t){t=this.escapeXmlDocContent(t),this.writeMultiline(t)}escapeXmlDocContent(t){let r=this.decodeHtmlEntities(t),i=this.convertHtmlToXmlDoc(r),o=/<\/?([a-zA-Z][a-zA-Z0-9]*)\b[^>]*\/?>/g,c=[];return i.replace(o,(g,x)=>ft.SAFE_XML_DOC_TAGS.has(x.toLowerCase())?`\uE000${c.push(g)-1}\uE000`:g).replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/\uE000(\d+)\uE000/g,(g,x)=>c[parseInt(x,10)]??"")}convertHtmlToXmlDoc(t){if(!/<[a-zA-Z]/.test(t))return t;t=t.replace(/<\/?([a-zA-Z][a-zA-Z0-9]*)\b[^>]*\/?>/g,(i,o)=>{let c=o.toLowerCase();return ft.CONVERTIBLE_HTML_TAGS.has(c)||ft.SAFE_XML_DOC_TAGS.has(c)?i:i.replaceAll("<","&lt;").replaceAll(">","&gt;")}),t=t.replace(/<(?=[a-zA-Z])(?![^>]*>)/g,"&lt;");let r=tp(t,{decodeEntities:!1,recognizeSelfClosing:!0,lowerCaseAttributeNames:!0});return this.renderNodes(r.children)}renderNodes(t){return t.map(r=>this.renderNode(r)).join("")}renderNode(t){return kt(t)?t.data:Me(t)?this.renderElement(t):""}renderElement(t){let r=t.name.toLowerCase(),i=this.renderNodes(t.children);switch(r){case"code":case"tt":return(t.parent!=null&&Me(t.parent)?t.parent.name.toLowerCase():void 0)==="pre"?`<code>${i}</code>`:`<c>${i}</c>`;case"pre":{let o=t.children.filter(c=>!kt(c)||c.data.trim()!=="");return o.length===1&&o[0]!=null&&Me(o[0])&&o[0].name.toLowerCase()==="code"?i:`<code>${i}</code>`}case"p":return`<para>${i}</para>`;case"ul":return`<list type="bullet">${i}</list>`;case"ol":return`<list type="number">${i}</list>`;case"li":return`<item><description>${i}</description></item>`;case"a":{let o=t.attribs.href;return o?`<see href="${o}">${i}</see>`:i}case"br":return"<br/>";case"b":case"strong":return`<b>${i}</b>`;case"i":case"em":return`<i>${i}</i>`;case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return`<para>${i}</para>`;case"div":case"span":case"table":case"tr":case"td":case"th":case"thead":case"tbody":return i;default:{if(ft.SAFE_XML_DOC_TAGS.has(r)){let o=Object.entries(t.attribs).map(([c,d])=>` ${c}="${d}"`).join("");return t.children.length===0?`<${t.name}${o}/>`:`<${t.name}${o}>${i}</${t.name}>`}return i}}}decodeHtmlEntities(t){let r={"&plus;":"+","&minus;":"-","&times;":"\xD7","&divide;":"\xF7","&nbsp;":" ","&hellip;":"\u2026","&middot;":"\xB7","&copy;":"\xA9","&reg;":"\xAE","&trade;":"\u2122","&deg;":"\xB0","&plusmn;":"\xB1","&frac14;":"\xBC","&frac12;":"\xBD","&frac34;":"\xBE","&ndash;":"\u2013","&mdash;":"\u2014","&lsquo;":"\u2018","&rsquo;":"\u2019","&ldquo;":"\u201C","&rdquo;":"\u201D","&bull;":"\u2022","&euro;":"\u20AC","&pound;":"\xA3","&yen;":"\xA5","&cent;":"\xA2","&sect;":"\xA7","&para;":"\xB6","&dagger;":"\u2020","&Dagger;":"\u2021","&permil;":"\u2030","&lsaquo;":"\u2039","&rsaquo;":"\u203A","&spades;":"\u2660","&clubs;":"\u2663","&hearts;":"\u2665","&diams;":"\u2666","&larr;":"\u2190","&uarr;":"\u2191","&rarr;":"\u2192","&darr;":"\u2193","&harr;":"\u2194","&crarr;":"\u21B5","&lArr;":"\u21D0","&uArr;":"\u21D1","&rArr;":"\u21D2","&dArr;":"\u21D3","&hArr;":"\u21D4","&forall;":"\u2200","&part;":"\u2202","&exist;":"\u2203","&empty;":"\u2205","&nabla;":"\u2207","&isin;":"\u2208","&notin;":"\u2209","&ni;":"\u220B","&prod;":"\u220F","&sum;":"\u2211","&lowast;":"\u2217","&radic;":"\u221A","&prop;":"\u221D","&infin;":"\u221E","&ang;":"\u2220","&and;":"\u2227","&or;":"\u2228","&cap;":"\u2229","&cup;":"\u222A","&int;":"\u222B","&there4;":"\u2234","&sim;":"\u223C","&cong;":"\u2245","&asymp;":"\u2248","&ne;":"\u2260","&equiv;":"\u2261","&le;":"\u2264","&ge;":"\u2265","&sub;":"\u2282","&sup;":"\u2283","&nsub;":"\u2284","&sube;":"\u2286","&supe;":"\u2287","&oplus;":"\u2295","&otimes;":"\u2297","&perp;":"\u22A5","&sdot;":"\u22C5","&Alpha;":"\u0391","&Beta;":"\u0392","&Gamma;":"\u0393","&Delta;":"\u0394","&Epsilon;":"\u0395","&Zeta;":"\u0396","&Eta;":"\u0397","&Theta;":"\u0398","&Iota;":"\u0399","&Kappa;":"\u039A","&Lambda;":"\u039B","&Mu;":"\u039C","&Nu;":"\u039D","&Xi;":"\u039E","&Omicron;":"\u039F","&Pi;":"\u03A0","&Rho;":"\u03A1","&Sigma;":"\u03A3","&Tau;":"\u03A4","&Upsilon;":"\u03A5","&Phi;":"\u03A6","&Chi;":"\u03A7","&Psi;":"\u03A8","&Omega;":"\u03A9","&alpha;":"\u03B1","&beta;":"\u03B2","&gamma;":"\u03B3","&delta;":"\u03B4","&epsilon;":"\u03B5","&zeta;":"\u03B6","&eta;":"\u03B7","&theta;":"\u03B8","&iota;":"\u03B9","&kappa;":"\u03BA","&lambda;":"\u03BB","&mu;":"\u03BC","&nu;":"\u03BD","&xi;":"\u03BE","&omicron;":"\u03BF","&pi;":"\u03C0","&rho;":"\u03C1","&sigmaf;":"\u03C2","&sigma;":"\u03C3","&tau;":"\u03C4","&upsilon;":"\u03C5","&phi;":"\u03C6","&chi;":"\u03C7","&psi;":"\u03C8","&omega;":"\u03C9"},i=t;for(let[o,c]of Object.entries(r))i=i.replaceAll(o,c);return i=i.replace(/&#(\d+);/g,(o,c)=>String.fromCharCode(parseInt(c,10))),i=i.replace(/&#x([0-9A-Fa-f]+);/g,(o,c)=>String.fromCharCode(parseInt(c,16))),i}};m(ft,"SAFE_XML_DOC_TAGS",new Set(["c","code","description","example","exception","include","inheritdoc","item","list","listheader","para","param","paramref","permission","remarks","returns","see","seealso","summary","term","typeparam","typeparamref","value","a","b","br","i","u","p"])),m(ft,"CONVERTIBLE_HTML_TAGS",new Set(["code","pre","p","ul","ol","li","a","br","b","strong","i","em","tt","h1","h2","h3","h4","h5","h6","div","span","table","tr","td","th","thead","tbody"]));var dr=ft;n();a();s();var ne={Public:"public",Private:"private",Protected:"protected",Internal:"internal"};n();a();s();var hr=class extends L{constructor(r,i){super(i);m(this,"conditions");this.conditions=r.conditions}write(r){this.conditions.forEach((i,o)=>{o>0&&r.write(" && "),r.writeNode(i)})}};n();a();s();var Ke=class extends L{constructor(r,i){super(i);m(this,"reference");m(this,"argument");this.reference=r.reference,this.argument=r.argument}write(r){r.addReference(this.reference),r.write("["),this.reference.writeAsAttribute(r),this.argument!=null&&(r.write("("),typeof this.argument=="string"?r.write(this.argument):this.argument.write(r),r.write(")")),r.write("]")}};n();a();s();var yr=class extends L{constructor(r,i){super(i);m(this,"items");this.items=r.items}write(r){if(this.items.length!==0){for(let i of this.items){let o=this.getReference(i);r.addReference(o)}r.write("[");for(let i=0;i<this.items.length;i++){i>0&&r.write(", ");let o=this.items[i];o!=null&&this.getReference(o).writeAsAttribute(r)}r.write("]")}}getReference(r){return"reference"in r&&r.reference?r.reference:r}};n();a();s();var gr=class{constructor(t){m(this,"isAsync");m(this,"parameters");m(this,"body");this.isAsync=t.isAsync??!1,this.parameters=t.parameters,this.body=t.body}write(t){this.isAsync&&t.write("async "),t.write("("),this.parameters.forEach((r,i)=>{r.write(t),i<this.parameters.length-1&&t.write(", ")}),t.writeLine(") =>"),t.pushScope(),this.body?.write(t),t.popScope()}};n();a();s();var br=class extends L{constructor(r,i){super(i);m(this,"conditions");this.conditions=r.conditions}write(r){this.conditions.forEach((i,o)=>{o>0&&r.write(" || "),r.writeNode(i)})}};n();a();s();n();a();s();var Le=class extends L{constructor({name:r,type:i,docs:o,initializer:c,ref:d,out:y},g){super(g);m(this,"name");m(this,"docs");m(this,"initializer");m(this,"type");m(this,"ref");m(this,"out");this.name=r,this.type=i,this.docs=o,this.initializer=c,this.ref=d??!1,this.out=y??!1}write(r){this.ref&&r.write("ref "),this.out&&r.write("out "),r.writeNode(this.type),r.write(` ${this.name}`),this.initializer!=null&&r.write(` = ${this.initializer}`)}};n();a();s();var xr=class extends L{constructor({condition:r,cases:i},o){super(o);m(this,"condition");m(this,"cases");this.condition=r,this.cases=i}write(r){r.writeNode(this.condition),r.write(" switch"),r.pushScope();for(let{label:i,value:o}of this.cases)r.writeNode(i),r.write(" => "),r.writeNode(o),r.writeLine(",");r.popScope()}};n();a();s();var Sr=class extends L{constructor(r,i){super(i);m(this,"args");this.args=r}write(r){return new si(this.args).write(r)}};n();a();s();var mt=class extends L{constructor(r,i){super(i);m(this,"arg");this.arg=r}write(r){if(this.arg==null)return;let i=r instanceof Fe?new dr(r):r;if(typeof this.arg=="function"){i.writePrefix(),this.arg(i),i.writeNewLineIfLastLineNot();return}if(typeof this.arg=="string"){i.writeMultilineWithEscaping(this.arg),i.writeNewLineIfLastLineNot();return}this.arg.summary&&(i.writePrefix(),i.writeOpenXmlNode("summary"),i.writeLine(),this.writeXmlDocNodeWithEscaping(i,this.arg.summary),i.writeNewLineIfLastLineNot(),i.writePrefix(),i.writeCloseXmlNode("summary"),i.writeNewLineIfLastLineNot()),this.arg.codeExample&&(i.writePrefix(),i.writeOpenXmlNode("example"),i.writeOpenXmlNode("code"),i.writeLine(),this.writeXmlDocNodeWithEscaping(i,this.arg.codeExample),i.writeNewLineIfLastLineNot(),i.writePrefix(),i.writeCloseXmlNode("code"),i.writeCloseXmlNode("example"),i.writeNewLineIfLastLineNot()),this.arg.exceptions&&this.arg.exceptions.forEach((o,c)=>{i.writePrefix(),i.write('<exception cref="'),i.writeNodeOrString(c),i.write('">'),this.writeXmlDocNode(i,o),i.write("</exception>"),i.writeNewLineIfLastLineNot()}),this.arg.inheritdoc&&(i.writePrefix(),i.write("<inheritdoc"),this.arg.inheritdoc!==!0&&(this.arg.inheritdoc.cref&&i.write(` cref="${this.arg.inheritdoc.cref}"`),this.arg.inheritdoc.path&&i.write(` path="${this.arg.inheritdoc.path}"`)),i.write(" />"),i.writeNewLineIfLastLineNot()),this.arg.remarks&&(i.writePrefix(),i.writeOpenXmlNode("remarks"),i.writeLine(),this.writeXmlDocNodeWithEscaping(i,this.arg.remarks),i.writeNewLineIfLastLineNot(),i.writePrefix(),i.writeCloseXmlNode("remarks"),i.writeNewLineIfLastLineNot())}writeXmlDocNode(r,i){if(i!=null){if(typeof i=="function"){r.writePrefix(),i(r);return}typeof i=="string"&&(r.writePrefix(),r.writeMultiline(i))}}writeXmlDocNodeWithEscaping(r,i){if(i!=null){if(typeof i=="function"){r.writePrefix(),i(r);return}typeof i=="string"&&(r.writePrefix(),r.writeMultilineWithEscaping(i))}}};n();a();s();n();a();s();n();a();s();var Tr=class extends Ze{constructor({name:r,type:i,access:o,const_:c,new_:d,get:y,init:g,set:x,annotations:S,initializer:A,summary:O,doc:w,jsonPropertyName:V,readonly:G,static_:U,useRequired:z,skipDefaultInitializer:ie,interfaceReference:de,accessors:X,override:te,useExpressionBody:I,isEvent:C,origin:J,enclosingType:ve},Ma){super({enclosingType:ve},J,Ma);m(this,"name");m(this,"access");m(this,"type");m(this,"const_");m(this,"static_");m(this,"get");m(this,"init");m(this,"set");m(this,"new_");m(this,"annotations");m(this,"initializer");m(this,"doc");m(this,"jsonPropertyName");m(this,"readonly");m(this,"useRequired");m(this,"skipDefaultInitializer");m(this,"interfaceReference");m(this,"accessors");m(this,"override");m(this,"useExpressionBody");m(this,"isEvent_");if(!ve)throw new Error("Enclosing type is required");r=r||(J?this.model.getPropertyNameFor(J):re("Field name or origin is required")),this.name=(ve instanceof ge?ve:ve.reference).registerField(r,J,this),this.type=i,this.const_=c??!1,this.new_=d??!1,this.access=o,this.get=y??!!X?.get,this.set=x??!!X?.set,this.init=g??!!X?.init,this.annotations=(S??[]).map(Va=>Va instanceof ge?this.csharp.annotation({reference:Va}):Va),this.initializer=A,this.doc=this.csharp.xmlDocBlockOf(w??{summary:O}),this.jsonPropertyName=V,this.readonly=G,this.static_=U??!1,this.useRequired=z??!1,this.skipDefaultInitializer=ie??!1,this.interfaceReference=de,this.accessors=X,this.override=te??!1,this.useExpressionBody=I,this.isEvent_=C??!1,this.jsonPropertyName!=null&&(this.annotations=[this.csharp.annotation({reference:this.System.Text.Json.Serialization.JsonPropertyName,argument:`"${this.jsonPropertyName}"`}),...this.annotations])}get needsInitialization(){return!this.type.isOptional&&this.initializer==null}get isConst(){return this.const_}get isField(){return this.const_?!1:!(this.get||this.init||this.set)}get isProperty(){return this.const_?!1:!!(this.get||this.init||this.set)}get isStatic(){return this.static_}get isRequired(){return this.useRequired}get isOptional(){return this.type.isOptional}get isEvent(){return this.isEvent_}write(r){r.writeNode(this.doc);for(let d of this.annotations)d.write(r);r.writeNewLineIfLastLineNot(),this.override&&r.write("override "),this.access&&r.write(`${this.access} `),this.const_&&r.write("const "),this.new_&&r.write("new ");let i=this.type.isOptional,o=this.type.asNonOptional().isCollection;if(this.useRequired&&!i&&!o&&this.initializer==null&&r.write("required "),this.static_&&r.write("static "),this.readonly&&r.write("readonly "),this.isEvent_&&r.write("event "),r.writeNode(this.type),r.write(" "),this.interfaceReference&&r.write(`${this.interfaceReference.name}.`),r.write(this.name),this.isEvent_&&this.accessors?.add&&this.accessors?.remove){r.writeLine(""),r.writeLine("{"),r.indent(),r.write("add => "),this.accessors.add(r),r.writeLine(";"),r.write("remove => "),this.accessors.remove(r),r.writeLine(";"),r.dedent(),r.writeLine("}");return}let c=this.useExpressionBody!==void 0?this.useExpressionBody:this.get&&!this.init&&!this.set&&this.initializer!=null;(this.get||this.init||this.set)&&!c&&(r.write(" { "),this.get&&(this.hasSameAccess(this.get)||r.write(`${this.get} `),this.accessors?.get?(r.write("get"),r.write(" => "),this.accessors.get(r),r.writeTextStatement("")):r.write("get; ")),this.init&&((this.access===ne.Public||this.access===ne.Protected)&&(this.init===!0||this.init===ne.Public||this.init===ne.Protected)?(r.writeLine(),r.writeNoIndent(`#if NET5_0_OR_GREATER
29
29
  `),this.hasSameAccess(this.init)||r.write(`${this.init} `),r.writeTextStatement("init"),r.writeNoIndent(`#else
30
30
  `),r.writeTextStatement("set"),r.writeNoIndent(`#endif
31
- `)):(this.hasSameAccess(this.init)||r.write(`${this.init} `),this.accessors?.init?(r.write("init"),r.write(" => "),this.accessors.init(r),r.writeTextStatement("")):r.write("init; "))),this.set&&(this.hasSameAccess(this.set)||r.write(`${this.set} `),this.accessors?.set?(r.write("set"),r.write(" => "),this.accessors.set(r),r.writeTextStatement("")):r.write("set; ")),r.write("}")),this.initializer!=null?(c?r.write(" => "):r.write(" = "),this.initializer.write(r),r.writeLine(";")):!this.skipDefaultInitializer&&!i&&o?C.Type(this.type)&&this.type.writeEmptyCollectionInitializer(r):!this.get&&!this.init&&r.writeLine(";")}hasSameAccess(r){return r===!0||r===this.access}};n();a();s();var je;(function(e){e[e.INSTANCE=0]="INSTANCE",e[e.STATIC=1]="STATIC"})(je||(je={}));var mt=class e extends Xe{constructor({name:r,isAsync:i,override:o,access:c,return_:d,body:y,noBody:g,bodyType:x,summary:S,doc:A,type:O,classReference:w,parameters:V,typeParameters:G,annotations:U,codeExample:z,interfaceReference:ie,origin:de,enclosingType:X},te){super({enclosingType:X},de,te);m(this,"name");m(this,"isAsync");m(this,"access");m(this,"return");m(this,"noBody");m(this,"body");m(this,"bodyType");m(this,"summary");m(this,"doc");m(this,"type");m(this,"reference");m(this,"override");m(this,"parameters");m(this,"typeParameters");m(this,"annotations");m(this,"interfaceReference");this.name=r,this.isAsync=i??!1,this.override=o??!1,this.access=c,this.return=d,this.noBody=g??!1,this.body=y,this.bodyType=x??e.BodyType.Statement,this.summary=S,this.doc=this.csharp.xmlDocBlockOf(A??{summary:S,codeExample:z}),this.type=O??je.INSTANCE,this.reference=w,this.parameters=V??[],this.typeParameters=G??[],this.annotations=(U??[]).map(I=>I instanceof ge?this.csharp.annotation({reference:I}):I),this.interfaceReference=ie}get isAsyncEnumerable(){return C.AsyncEnumerable(this.return)}addParameter(r){return r instanceof Le||(r=new Le(r,this.generation)),this.parameters.push(r),r}write(r){if(r.writeNode(this.doc),this.annotations.forEach(i=>{i.write(r)}),r.writeNewLineIfLastLineNot(),this.access&&r.write(`${this.access} `),this.type===je.STATIC&&r.write("static "),this.isAsync&&r.write("async "),this.override&&r.write("override "),this.return==null?this.isAsync?(r.writeNode(this.System.Threading.Tasks.Task()),r.write(" ")):r.write("void "):(this.isAsync&&!this.isAsyncEnumerable?r.writeNode(this.System.Threading.Tasks.Task(this.return)):this.return.write(r),r.write(" ")),this.interfaceReference&&r.write(`${this.interfaceReference.name}.`),r.write(this.name),this.typeParameters.length>0&&(r.write("<"),this.typeParameters.forEach((i,o)=>{i.write(r),o<this.typeParameters.length-1&&r.write(", ")}),r.write(">")),r.write("("),this.parameters.forEach((i,o)=>{i.write(r),o<this.parameters.length-1&&r.write(", ")}),r.write(")"),this.noBody)r.writeLine(";");else switch(this.bodyType){case e.BodyType.Statement:r.write(" "),r.pushScope(),this.body?.write(r),r.popScope();break;case e.BodyType.Expression:r.write(" => "),this.body?.write(r),r.writeSemicolonIfLastCharacterIsNot();break;default:Q(this.bodyType)}}getParameters(){return this.parameters}};(function(e){e.BodyType={Statement:"statement",Expression:"expression"}})(mt||(mt={}));var Sr=class extends Te{constructor({name:r,namespace:i,access:o,partial:c,interfaceReferences:d,enclosingType:y,origin:g},x){super(g,x);m(this,"access");m(this,"partial");m(this,"reference");m(this,"interfaceReferences");m(this,"fields",[]);m(this,"methods",[]);r=r||(g?this.model.getClassNameFor(g):re("Class/Interface name or origin is required")),this.reference=y?this.csharp.classReference({name:r,enclosingType:y}):this.csharp.classReference({name:r,namespace:i||re("Class/Interface: Namespace or enclosingType is required ")}),this.access=o,this.partial=c??!1,this.interfaceReferences=d??[]}get name(){return this.reference.name}get namespace(){return this.reference.namespace}get enclosingType(){return this.reference.enclosingType}get isNested(){return this.enclosingType!=null}explicit(r){return this.origin?this.model.explicit(C.Provenance(this.origin)?this.origin.node:this.origin,r):re(`Cannot create explicit named member '${r}' on '${this.name}' because the class is not bound to an origin.`)}getField(r){return this.fields.find(i=>this.model.provenance(i.origin)?.jsonPath===r.jsonPath)}addField(r){r.enclosingType=this.reference;let i=new xr(r,this.generation);return this.fields.push(i),i}addMethod(r){r.enclosingType=this.reference;let i=new mt(r,this.generation);return this.methods.push(i),i}get multipartMethodName(){return"AddJsonPart"}get multipartMethodNameForCollection(){return"AddJsonParts"}get isOptional(){return!1}get isCollection(){return!1}get isReferenceType(){}asOptional(){return new Re(this,this.generation)}asNullable(){return new Pt(this,this.generation)}asNonOptional(){return this}get defaultValue(){return this.csharp.Literal.null()}get fullyQualifiedName(){return this.reference.fullyQualifiedName}};var we=class we extends Sr{constructor({name:r,namespace:i,access:o,static_:c,abstract_:d,sealed:y,partial:g,readonly:x,parentClassReference:S,interfaceReferences:A,enclosingType:O,type:w,summary:V,doc:G,annotations:U,primaryConstructor:z,origin:ie},de){super({name:r,namespace:i,access:o,partial:g,interfaceReferences:A,enclosingType:O,origin:ie},de);m(this,"static_");m(this,"abstract_");m(this,"sealed");m(this,"readonly");m(this,"parentClassReference");m(this,"type");m(this,"summary");m(this,"doc");m(this,"annotations",[]);m(this,"primaryConstructor");m(this,"namespaceReferences",[]);m(this,"constructors",[]);m(this,"operators",[]);m(this,"nestedClasses",[]);m(this,"nestedInterfaces",[]);m(this,"rawBodyBlocks",[]);this.static_=c??!1,this.abstract_=d??!1,this.sealed=y??!1,this.readonly=x??!1,this.type=w??we.ClassType.Class,this.summary=V,this.doc=this.csharp.xmlDocBlockOf(G??{summary:V}),this.parentClassReference=S,this.annotations=(U??[]).map(X=>X instanceof ge?this.csharp.annotation({reference:X}):X),this.primaryConstructor=z}addConstructor(r){let i=new we.Constructor(r,this.generation);return this.constructors.push(i),i}addNestedClass(r){if(r instanceof we||(r.enclosingType=this.reference,r=new we(r,this.generation)),!r.isNested)throw new Error(`Set the enclosingType of the class ${this.name} to add the nested class ${r.name}.`);return this.nestedClasses.push(r),r}addNestedClasses(r){r.forEach(i=>{i instanceof we?this.addNestedClass(i):this.addNestedClass(i)})}addAnnotation(r){return r instanceof Je||(r=new Je(r,this.generation)),this.annotations.push(r),r}addOperator(r){this.operators.push(r)}addOperators(r){r.forEach(i=>this.addOperator(i))}addRawBodyContent(r){this.rawBodyBlocks.push(r)}write(r){if(this.namespaceReferences.forEach(i=>{r.addNamespace(i)}),this.isNested||(r.writeLine(`namespace ${this.namespace};`),r.newLine()),r.writeNode(this.doc),this.annotations.forEach(i=>{i.write(r)}),r.writeNewLineIfLastLineNot(),r.write(`${this.access}`),this.static_&&r.write(" static"),this.abstract_&&r.write(" abstract"),this.sealed&&r.write(" sealed"),this.readonly&&r.write(" readonly"),this.partial&&r.write(" partial"),r.write(` ${this.type}`),r.write(` ${this.name}`),this.primaryConstructor!=null&&this.primaryConstructor.parameters.length>0){let i=this.primaryConstructor;r.write("("),i.parameters.forEach((o,c)=>{c>0&&r.write(","),o.write(r)}),r.write(")")}if(this.parentClassReference!=null||this.interfaceReferences.length>0){if(r.write(" : "),this.parentClassReference!=null&&(this.parentClassReference.write(r),this.interfaceReferences.length>0&&r.write(", ")),this.primaryConstructor!=null&&this.primaryConstructor.superClassArguments.length>0){let i=this.primaryConstructor;r.write("("),this.primaryConstructor.superClassArguments.forEach((o,c)=>{o.write(r),c<i.superClassArguments.length-1&&r.write(", ")}),r.write(")")}this.interfaceReferences.forEach((i,o)=>{i.write(r),o<this.interfaceReferences.length-1&&r.write(", ")})}if(!this.hasBody()){r.write(";");return}r.writeNewLineIfLastLineNot(),r.pushScope(),this.writeConsts(r),this.writeFieldFields(r),this.writeConstructors(r),this.writeProperties(r),this.writeMethods(r),this.writeOperators(r),this.writeRawBodyBlocks(r),this.writeNestedClasses(r),this.writeNestedInterfaces(r),r.popScope()}hasBody(){return this.fields.length>0||this.constructors.length>0||this.nestedClasses.length>0||this.nestedInterfaces.length>0||this.methods.length>0||this.operators.length>0||this.rawBodyBlocks.length>0}writeConstructors(r){this.constructors.forEach(i=>{r.writeNode(this.csharp.xmlDocBlockOf(i.doc)),i.annotations.forEach(o=>{o.write(r),r.writeNewLineIfLastLineNot()}),r.write(`${i.access} ${this.name} (`),i.parameters.forEach((o,c)=>{o.write(r),c<i.parameters.length-1&&r.write(", ")}),r.write(")"),i.baseConstructorCall!=null&&(r.write(" : "),i.baseConstructorCall.write(r)),r.pushScope(),i.body.write(r),r.popScope(),r.newLine()})}writeFields({writer:r,fields:i}){i.forEach((o,c)=>{o.write(r),r.writeNewLineIfLastLineNot(),c<this.fields.length-1&&r.newLine()})}writeConsts(r){this.writeFields({writer:r,fields:this.getFields().sort(Tr).sort(Eo).filter(this.fieldConstFilter())})}writeFieldFields(r){this.writeFields({writer:r,fields:this.getFields().sort(Tr).sort(Eo).filter(this.fieldFieldFilter())})}writeProperties(r){this.writeFields({writer:r,fields:this.getFields().sort(Tr).sort(Eo).filter(this.fieldPropertyFilter())})}writeMethods(r){this.methods.sort(Tr).sort(md).sort(fd).forEach(i=>{i.write(r),r.writeNewLineIfLastLineNot(),r.newLine()})}writeOperators(r){this.operators.forEach(i=>{this.writeOperator({writer:r,operator:i}),r.newLine()})}writeRawBodyBlocks(r){this.rawBodyBlocks.forEach(i=>{i.write(r),r.writeNewLineIfLastLineNot()})}writeNestedClasses(r){this.nestedClasses.sort(Tr).forEach((i,o)=>{i.write(r),r.writeNewLineIfLastLineNot(),o<this.fields.length-1&&r.newLine()})}writeNestedInterfaces(r){this.nestedInterfaces.sort(Tr).forEach((i,o)=>{i.write(r),r.writeNewLineIfLastLineNot(),o<this.fields.length-1&&r.newLine()})}fieldConstFilter(){return r=>r.isConst}fieldFieldFilter(){return r=>r.isField}fieldPropertyFilter(){return r=>r.isProperty}getFields(){return this.fields}get isReferenceType(){return this.type===we.ClassType.Class||this.type===we.ClassType.Record}writeOperator({writer:r,operator:i}){if(r.write("public static "),i.type===we.CastOperator.Type.Explicit||i.type===we.CastOperator.Type.Implicit){r.write(`${i.type} `),r.write("operator ");let o=i.to??this.reference;r.writeNode(o),r.write("("),i.parameter.write(r)}else{let o=i;o.return.write(r),r.write(" operator "),r.write(`${i.type}(`),o.parameters.forEach((c,d)=>{c.write(r),d<o.parameters.length-1&&r.write(", ")})}i.useExpressionBody?(r.write(") => "),r.writeNodeStatement(i.body)):(r.write(") {"),r.writeNode(i.body),r.writeLine("}"))}addNamespaceReference(r){this.namespaceReferences.push(r)}};m(we,"ClassType",{Class:"class",Record:"record",Struct:"struct",RecordStruct:"record struct"}),m(we,"Access",ne);var Ve=we;(function(e){class t{constructor({doc:o,body:c,parameters:d,access:y,baseConstructorCall:g,annotations:x},S){m(this,"generation");m(this,"doc");m(this,"body");m(this,"parameters");m(this,"access");m(this,"baseConstructorCall");m(this,"annotations");this.generation=S,this.parameters=d??[],this.access=y??ne.Public,this.doc=o,this.annotations=x??[],this.body=new ct({},this.generation),c!=null&&this.body.append(c),this.baseConstructorCall=g}addParameter(o){let c=new Le(o,this.generation);return this.parameters.push(c),c}}e.Constructor=t;let r;(function(i){i.Type={Implicit:"implicit",Explicit:"explicit"}})(r=e.CastOperator||(e.CastOperator={}))})(Ve||(Ve={}));function Xc(e){switch(e){case void 0:return 0;case ne.Private:return 1;case ne.Protected:return 2;case ne.Internal:return 3;case ne.Public:return 4}}function Tr(e,t){return Xc(e.access)-Xc(t.access)}function Eo(e,t){return e.isStatic===t.isStatic?0:e.isStatic?-1:1}function fd(e,t){return e.type===je.STATIC&&t.type!==je.STATIC?-1:e.type!==je.STATIC&&t.type===je.STATIC?1:0}function md(e,t){return e.name==="FromProto"||e.name==="ToProto"?t.name==="Equals"||t.name==="ToString"?-1:1:t.name==="FromProto"||t.name==="ToProto"?e.name==="Equals"||e.name==="ToString"?1:-1:e.name==="ToString"?1:t.name==="ToString"?-1:e.name==="Equals"?t.name==="ToString"?-1:1:t.name==="Equals"?e.name==="ToString"?1:-1:0}n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var dd="__package__",ZC=`${dd}.yml`;var Zc="default-group",ep="spec-origin",tp="async-api",rp="openapi",ip="openapi-overrides",np="api-settings";var sp="local";var _e={};F(_e,{API_ORIGIN_LOCATION_KEY:()=>ep,API_SETTINGS_KEY:()=>np,ASYNC_API_LOCATION_KEY:()=>tp,CoerceConstsTo:()=>xp,DEFAULT_GROUP_GENERATORS_CONFIG_KEY:()=>Zc,DEFAULT_GROUP_NAME:()=>sp,DefaultIntegerFormat:()=>Sp,ExampleStyle:()=>Tp,FormParameterEncoding:()=>Ap,GenerationLanguage:()=>ap,GithubCommitAndReleaseMode:()=>Op,GithubLicenseType:()=>Cp,GithubSelfhostedMode:()=>Pp,Language:()=>Ip,MessageNamingSettingsSchema:()=>Ep,ModelProvider:()=>cp,OPENAPI_LOCATION_KEY:()=>rp,OPENAPI_OVERRIDES_LOCATION_KEY:()=>ip,PathParameterOrder:()=>wp,RemoveDiscriminantsFromSchemas:()=>Np,UnionSettingsSchema:()=>Rp,ai:()=>wo,fernDefinition:()=>Ro,generators:()=>Oo,getPackageName:()=>op,group:()=>Po,isApiConfigurationV2Schema:()=>ol,isAsyncApiSpecSchema:()=>ul,isConjureSchema:()=>cl,isGraphQLSpecSchema:()=>pl,isNamespacedApiConfiguration:()=>ll,isOpenApiSpecSchema:()=>fl,isOpenRpcSpecSchema:()=>ml,isProtoSpecSchema:()=>dl,isRawProtobufAPIDefinitionSchema:()=>up,license:()=>Co,replay:()=>_p,reviewers:()=>kp,serialization:()=>Xo});n();a();s();n();a();s();var ap={TYPESCRIPT:"typescript",JAVA:"java",PYTHON:"python",GO:"go",RUBY:"ruby",CSHARP:"csharp",SWIFT:"swift",PHP:"php",RUST:"rust"};function op({generatorInvocation:e}){return e.language==="go"?hd(e):e.outputMode._visit({downloadFiles:()=>{},github:t=>t.publishInfo?._visit({maven:r=>r.coordinate,npm:r=>r.packageName,pypi:r=>r.packageName,postman:()=>{},rubygems:r=>r.packageName,nuget:r=>r.packageName,crates:r=>r.packageName,_other:()=>{}}),githubV2:t=>t.publishInfo?._visit({maven:r=>r.coordinate,npm:r=>r.packageName,pypi:r=>r.packageName,postman:()=>{},rubygems:r=>r.packageName,nuget:r=>r.packageName,crates:r=>r.packageName,_other:()=>{}}),publish:()=>{},publishV2:()=>{},_other:()=>{}})}function hd(e){return e.outputMode._visit({downloadFiles:()=>{},github:t=>`github.com/${t.owner}/${t.repo}`,githubV2:t=>`github.com/${t.owner}/${t.repo}`,publish:()=>{},publishV2:()=>{},_other:()=>{}})}n();a();s();function up(e){return typeof e!="string"&&"proto"in e}n();a();s();n();a();s();var wo={};F(wo,{ModelProvider:()=>cp});n();a();s();n();a();s();var cp={Openai:"openai",Anthropic:"anthropic",Bedrock:"bedrock"};var Ro={};F(Ro,{AvailabilityStatusSchema:()=>lp,auth:()=>pp,availability:()=>No,commons:()=>fp,encoding:()=>mp,environments:()=>dp,file:()=>hp,service:()=>yp,types:()=>gp,validation:()=>bp});n();a();s();n();a();s();var pp={};n();a();s();var No={};F(No,{AvailabilityStatusSchema:()=>lp});n();a();s();n();a();s();var lp={InDevelopment:"in-development",PreRelease:"pre-release",Deprecated:"deprecated",GenerallyAvailable:"generally-available"};var fp={};n();a();s();var mp={};n();a();s();var dp={};n();a();s();var hp={};n();a();s();var yp={};n();a();s();var gp={};n();a();s();var bp={};n();a();s();var Oo={};F(Oo,{CoerceConstsTo:()=>xp,DefaultIntegerFormat:()=>Sp,ExampleStyle:()=>Tp,FormParameterEncoding:()=>Ap,Language:()=>Ip,MessageNamingSettingsSchema:()=>Ep,PathParameterOrder:()=>wp,RemoveDiscriminantsFromSchemas:()=>Np,UnionSettingsSchema:()=>Rp});n();a();s();n();a();s();var xp={Literals:"literals",Enums:"enums",EnumsCoerceableToLiterals:"enums-coerceable-to-literals"};n();a();s();var Sp={Int32:"int32",Int64:"int64",Uint32:"uint32",Uint64:"uint64"};n();a();s();var Tp={Minimal:"minimal",Comprehensive:"comprehensive"};n();a();s();var Ap={Form:"form",Json:"json"};n();a();s();var Ip={Java:"java",Python:"python",Go:"go",Ruby:"ruby",Csharp:"csharp",Typescript:"typescript",Php:"php",Rust:"rust",Swift:"swift"};n();a();s();var Ep={V1:"v1",V2:"v2"};n();a();s();var wp={UrlOrder:"url-order",SpecOrder:"spec-order"};n();a();s();var Np={Always:"always",Never:"never"};n();a();s();var Rp={V1:"v1"};var Po={};F(Po,{GithubCommitAndReleaseMode:()=>Op,GithubSelfhostedMode:()=>Pp});n();a();s();n();a();s();var Op={Commit:"commit",Release:"release"};n();a();s();var Pp={PullRequest:"pull-request",Push:"push"};var Co={};F(Co,{GithubLicenseType:()=>Cp});n();a();s();n();a();s();var Cp={Mit:"MIT",Apache:"Apache-2.0"};var _p={};n();a();s();var kp={};n();a();s();var Xo={};F(Xo,{AiServicesSchema:()=>Fn,ApiConfigurationSchema:()=>Bs,ApiConfigurationSchemaInternal:()=>Br,ApiConfigurationV2Schema:()=>Ds,ApiConfigurationV2SettingsSchema:()=>vr,ApiConfigurationV2SpecsSchema:()=>zr,ApiDefinitionList:()=>Ts,ApiDefinitionPathSchema:()=>gt,ApiDefinitionSchema:()=>Ss,ApiDefinitionSettingsSchema:()=>Lr,ApiDefinitionWithOverridesSchema:()=>jr,AsyncApiSettingsSchema:()=>Vr,AsyncApiSpecSchema:()=>Cs,BaseApiSettingsSchema:()=>Mr,BaseGeneratorInvocationSchema:()=>qr,CoerceConstsTo:()=>As,ConjureSchema:()=>Ps,CratesOutputLocationSchema:()=>qs,CustomGeneratorInvocationSchema:()=>pa,DefaultGeneratorInvocationSchema:()=>la,DefaultIntegerFormat:()=>Is,ExampleStyle:()=>Ms,FormParameterEncoding:()=>Es,GeneratorApiSettingsSchema:()=>zs,GeneratorGroupSchema:()=>ma,GeneratorImageObjectSchema:()=>Vs,GeneratorInvocationSchema:()=>fa,GeneratorOutputSchema:()=>Zs,GeneratorPublishMetadataSchema:()=>Ji,GeneratorSnippetsSchema:()=>ra,GeneratorsConfigurationSchema:()=>al,GeneratorsOpenApiObjectSchema:()=>ha,GeneratorsOpenApiSchema:()=>ya,GithubCommitAndReleaseMode:()=>ia,GithubCommitAndReleaseSchema:()=>na,GithubConfigurationSchema:()=>ca,GithubLicenseCustomSchema:()=>ea,GithubLicenseSchema:()=>Ce,GithubLicenseType:()=>ta,GithubPullRequestSchema:()=>sa,GithubPushSchema:()=>aa,GithubSelfhostedMode:()=>oa,GithubSelfhostedSchema:()=>ua,GraphQlSpecSchema:()=>_s,Language:()=>ga,LocalFileSystemOutputLocationSchema:()=>Gs,MavenOutputLocationSchema:()=>$s,MavenOutputSignatureSchema:()=>Ws,MessageNamingSettingsSchema:()=>_r,ModelName:()=>_n,ModelProvider:()=>kn,NamespacedApiConfigurationSchema:()=>Us,NpmOutputLocationSchema:()=>Hs,NugetOutputLocationSchema:()=>Js,OpenApiExampleGenerationSchema:()=>ws,OpenApiFilterSchema:()=>Ns,OpenApiSettingsSchema:()=>bt,OpenApiSpecSchema:()=>ks,OpenRpcSpecSchema:()=>Fs,OutputMetadataAuthor:()=>vs,OutputMetadataSchema:()=>xt,OverridesSchema:()=>Pe,PathParameterOrder:()=>kr,PostmanOutputLocationSchema:()=>Ks,ProtobufApiDefinitionSchema:()=>Ur,ProtobufDefinitionSchema:()=>Dr,ProtobufSpecSchema:()=>Ls,PypiOutputLocationSchema:()=>Ys,PypiOutputMetadataSchema:()=>Qs,ReadmeCustomSectionSchema:()=>ba,ReadmeEndpointObjectSchema:()=>xa,ReadmeEndpointSchema:()=>Ki,ReadmeSchema:()=>Sa,RemoveDiscriminantsFromSchemas:()=>Fr,ReplayConfigSchema:()=>da,RequestOrResponseExampleGenerationSchema:()=>$i,ResolveAliases:()=>Os,ResolveAliasesSchema:()=>Rs,ReviewerSchema:()=>Hi,ReviewersSchema:()=>St,RubyGemsOutputLocationSchema:()=>Xs,SpecSchema:()=>js,UnionSettingsSchema:()=>xs,WhitelabelConfigurationSchema:()=>Aa,WhitelabelGithubConfigurationSchema:()=>Ta,ai:()=>Do,fernDefinition:()=>$o,generators:()=>Ho,group:()=>Jo,license:()=>Ko,replay:()=>Qo,reviewers:()=>Yo});n();a();s();n();a();s();var Do={};F(Do,{AiServicesSchema:()=>Fn,ModelName:()=>_n,ModelProvider:()=>kn});n();a();s();n();a();s();n();a();s();var u={};F(u,{JsonError:()=>Ar,ParseError:()=>Ir,any:()=>$p,bigint:()=>Lp,boolean:()=>Hp,booleanLiteral:()=>Gp,date:()=>jp,discriminant:()=>il,enum_:()=>On,getObjectLikeUtils:()=>De,getObjectUtils:()=>_t,getSchemaUtils:()=>K,isProperty:()=>Qe,lazy:()=>Dp,lazyObject:()=>zp,list:()=>Cn,never:()=>Jp,number:()=>Kp,object:()=>Pn,objectWithoutOptionalProperties:()=>vp,optional:()=>_o,property:()=>Bp,record:()=>Zp,set:()=>el,string:()=>Qp,stringLiteral:()=>Wp,transform:()=>ko,undiscriminatedUnion:()=>rl,union:()=>sl,unknown:()=>Yp,withParsedProperties:()=>jo});n();a();s();n();a();s();n();a();s();n();a();s();var D={BIGINT:"bigint",DATE:"date",ENUM:"enum",LIST:"list",STRING_LITERAL:"stringLiteral",BOOLEAN_LITERAL:"booleanLiteral",OBJECT:"object",ANY:"any",BOOLEAN:"boolean",NUMBER:"number",STRING:"string",UNKNOWN:"unknown",NEVER:"never",RECORD:"record",SET:"set",UNION:"union",UNDISCRIMINATED_UNION:"undiscriminatedUnion",NULLABLE:"nullable",OPTIONAL:"optional",OPTIONAL_NULLABLE:"optionalNullable"};n();a();s();function J(e,t){return`Expected ${t}. Received ${yd(e)}.`}function yd(e){if(Array.isArray(e))return"list";if(e===null)return"null";if(e instanceof BigInt)return"BigInt";switch(typeof e){case"string":return`"${e}"`;case"bigint":case"number":case"boolean":case"undefined":return`${e}`}return typeof e}n();a();s();function ue(e){return{...e,json:Fp(e.json),parse:Fp(e.parse)}}function Fp(e){return(t,r)=>{let i=e(t,r),{skipValidation:o=!1}=r??{};return!i.ok&&o?(console.warn(["Failed to validate.",...i.errors.map(c=>" - "+(c.path.length>0?`${c.path.join(".")}: ${c.message}`:c.message))].join(`
32
- `)),{ok:!0,value:t}):i}}n();a();s();n();a();s();n();a();s();n();a();s();function Rn(e){return e.path.length===0?e.message:`${e.path.join(" -> ")}: ${e.message}`}var Ar=class e extends Error{constructor(r){super(r.map(Rn).join("; "));m(this,"errors");this.errors=r,Object.setPrototypeOf(this,e.prototype)}};n();a();s();var Ir=class e extends Error{constructor(r){super(r.map(Rn).join("; "));m(this,"errors");this.errors=r,Object.setPrototypeOf(this,e.prototype)}};function K(e){return{nullable:()=>gd(e),optional:()=>_o(e),optionalNullable:()=>bd(e),transform:t=>ko(e,t),parseOrThrow:(t,r)=>{let i=e.parse(t,r);if(i.ok)return i.value;throw new Ir(i.errors)},jsonOrThrow:(t,r)=>{let i=e.json(t,r);if(i.ok)return i.value;throw new Ar(i.errors)}}}function gd(e){let t={parse:(r,i)=>r==null?{ok:!0,value:null}:e.parse(r,i),json:(r,i)=>r==null?{ok:!0,value:null}:e.json(r,i),getType:()=>D.NULLABLE};return{...t,...K(t)}}function _o(e){let t={parse:(r,i)=>r==null?{ok:!0,value:void 0}:e.parse(r,i),json:(r,i)=>i?.omitUndefined&&r===void 0?{ok:!0,value:void 0}:r==null?{ok:!0,value:null}:e.json(r,i),getType:()=>D.OPTIONAL};return{...t,...K(t)}}function bd(e){let t={parse:(r,i)=>r===void 0?{ok:!0,value:void 0}:r===null?{ok:!0,value:null}:e.parse(r,i),json:(r,i)=>r===void 0?{ok:!0,value:void 0}:r===null?{ok:!0,value:null}:e.json(r,i),getType:()=>D.OPTIONAL_NULLABLE};return{...t,...K(t)}}function ko(e,t){let r={parse:(i,o)=>{let c=e.parse(i,o);return c.ok?{ok:!0,value:t.transform(c.value)}:c},json:(i,o)=>{let c=t.untransform(i);return e.json(c,o)},getType:()=>e.getType()};return{...r,...K(r)}}function Lp(){let e={parse:(t,{breadcrumbsPrefix:r=[]}={})=>typeof t=="bigint"?{ok:!0,value:t}:typeof t=="number"?{ok:!0,value:BigInt(t)}:{ok:!1,errors:[{path:r,message:J(t,"bigint | number")}]},json:(t,{breadcrumbsPrefix:r=[]}={})=>typeof t!="bigint"?{ok:!1,errors:[{path:r,message:J(t,"bigint")}]}:{ok:!0,value:t},getType:()=>D.BIGINT};return{...ue(e),...K(e)}}n();a();s();n();a();s();var xd=/^([+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([.,]\d+(?!:))?)?(\17[0-5]\d([.,]\d+)?)?([zZ]|([+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;function jp(){let e={parse:(t,{breadcrumbsPrefix:r=[]}={})=>typeof t!="string"?{ok:!1,errors:[{path:r,message:J(t,"string")}]}:xd.test(t)?{ok:!0,value:new Date(t)}:{ok:!1,errors:[{path:r,message:J(t,"ISO 8601 date string")}]},json:(t,{breadcrumbsPrefix:r=[]}={})=>t instanceof Date?{ok:!0,value:t.toISOString()}:{ok:!1,errors:[{path:r,message:J(t,"Date object")}]},getType:()=>D.DATE};return{...ue(e),...K(e)}}n();a();s();n();a();s();n();a();s();function ce(e,t){return()=>{let r={parse:t,json:t,getType:()=>e};return{...ue(r),...K(r)}}}function On(e){let t=new Set(e);return ce(D.ENUM,(i,{allowUnrecognizedEnumValues:o,breadcrumbsPrefix:c=[]}={})=>typeof i!="string"?{ok:!1,errors:[{path:c,message:J(i,"string")}]}:!t.has(i)&&!o?{ok:!1,errors:[{path:c,message:J(i,"enum")}]}:{ok:!0,value:i})()}n();a();s();n();a();s();function Dp(e){let t=Fo(e);return{...t,...K(t)}}function Fo(e){return{parse:(t,r)=>Er(e).parse(t,r),json:(t,r)=>Er(e).json(t,r),getType:()=>Er(e).getType()}}function Er(e){let t=e;return t.__zurg_memoized==null&&(t.__zurg_memoized=e()),t.__zurg_memoized}n();a();s();n();a();s();n();a();s();n();a();s();function Lo(e){return Object.entries(e)}n();a();s();function Gi(e,t){let r=new Set(t);return Object.entries(e).reduce((i,[o,c])=>(r.has(o)&&(i[o]=c),i),{})}n();a();s();function Ke(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return t===null?!0:Object.getPrototypeOf(t)===null}n();a();s();function Wi(e){return Object.keys(e)}n();a();s();function Up(e,t){let r=[],i=[];for(let o of e)t(o)?r.push(o):i.push(o);return[r,i]}n();a();s();n();a();s();var Sd=Object.prototype.hasOwnProperty;function De(e){return{withParsedProperties:t=>jo(e,t)}}function jo(e,t){let r={parse:(i,o)=>{let c=e.parse(i,o);if(!c.ok)return c;let d={};for(let y in t)if(Sd.call(t,y)){let g=t[y];d[y]=typeof g=="function"?g(c.value):g}return{ok:!0,value:{...c.value,...d}}},json:(i,o)=>{if(!Ke(i))return{ok:!1,errors:[{path:o?.breadcrumbsPrefix??[],message:J(i,"object")}]};let c=new Set(Object.keys(t)),d=Gi(i,Object.keys(i).filter(y=>!c.has(y)));return e.json(d,o)},getType:()=>e.getType()};return{...r,...K(r),...De(r)}}n();a();s();function Bp(e,t){return{rawKey:e,valueSchema:t,isProperty:!0}}function Qe(e){return e.isProperty}var Td=Object.prototype.hasOwnProperty;function Pn(e){let t;function r(){if(t==null){t={};for(let[O,w]of Lo(e)){let V=Qe(w)?w.rawKey:O,G=Qe(w)?w.valueSchema:w;t[V]={rawKey:V,parsedKey:O,valueSchema:G}}}return t}let i,o,c,d;function y(){if(i==null){i=[],o=[];for(let[O,w]of Lo(e)){let V=Qe(w)?w.rawKey:O,G=Qe(w)?w.valueSchema:w;Ad(G)&&(i.push(V),o.push(O))}c=new Set(i),d=new Set(o)}return i}function g(){return o==null&&y(),o}function x(){return c==null&&y(),c}function S(){return d==null&&y(),d}let A={_getRawProperties:()=>Object.entries(e).map(([O,w])=>Qe(w)?w.rawKey:O),_getParsedProperties:()=>Wi(e),parse:(O,w)=>{let V=w?.breadcrumbsPrefix??[];return Mp({value:O,requiredKeys:y(),requiredKeysSet:x(),getProperty:G=>{let U=r()[G];if(U!=null)return{transformedKey:U.parsedKey,transform:z=>{let ie=[...V,G];return U.valueSchema.parse(z,{...w,breadcrumbsPrefix:ie})}}},unrecognizedObjectKeys:w?.unrecognizedObjectKeys,skipValidation:w?.skipValidation,breadcrumbsPrefix:V,omitUndefined:w?.omitUndefined})},json:(O,w)=>{let V=w?.breadcrumbsPrefix??[];return Mp({value:O,requiredKeys:g(),requiredKeysSet:S(),getProperty:G=>{let U=e[G];if(U!=null)return Qe(U)?{transformedKey:U.rawKey,transform:z=>{let ie=[...V,G];return U.valueSchema.json(z,{...w,breadcrumbsPrefix:ie})}}:{transformedKey:G,transform:z=>{let ie=[...V,G];return U.json(z,{...w,breadcrumbsPrefix:ie})}}},unrecognizedObjectKeys:w?.unrecognizedObjectKeys,skipValidation:w?.skipValidation,breadcrumbsPrefix:V,omitUndefined:w?.omitUndefined})},getType:()=>D.OBJECT};return{...ue(A),...K(A),...De(A),..._t(A)}}function Mp({value:e,requiredKeys:t,requiredKeysSet:r,getProperty:i,unrecognizedObjectKeys:o="fail",skipValidation:c=!1,breadcrumbsPrefix:d=[]}){if(!Ke(e))return{ok:!1,errors:[{path:d,message:J(e,"object")}]};let y=t.length,g=[],x={};for(let S in e){if(!Td.call(e,S))continue;let A=e[S],O=i(S);if(O!=null){y>0&&r.has(S)&&y--;let w=O.transform(A);w.ok?x[O.transformedKey]=w.value:(x[S]=A,g.push(...w.errors))}else switch(o){case"fail":g.push({path:[...d,S],message:`Unexpected key "${S}"`});break;case"strip":break;case"passthrough":x[S]=A;break}}if(y>0)for(let S of t)S in e||g.push({path:d,message:`Missing required key "${S}"`});return g.length===0||c?{ok:!0,value:x}:{ok:!1,errors:g}}function _t(e){return{extend:t=>{let r={_getParsedProperties:()=>[...e._getParsedProperties(),...t._getParsedProperties()],_getRawProperties:()=>[...e._getRawProperties(),...t._getRawProperties()],parse:(i,o)=>Vp({extensionKeys:t._getRawProperties(),value:i,transformBase:c=>e.parse(c,o),transformExtension:c=>t.parse(c,o),breadcrumbsPrefix:o?.breadcrumbsPrefix}),json:(i,o)=>Vp({extensionKeys:t._getParsedProperties(),value:i,transformBase:c=>e.json(c,o),transformExtension:c=>t.json(c,o),breadcrumbsPrefix:o?.breadcrumbsPrefix}),getType:()=>D.OBJECT};return{...r,...K(r),...De(r),..._t(r)}},passthrough:()=>{let t=new Set(e._getRawProperties()),r=new Set(e._getParsedProperties()),i={_getParsedProperties:()=>e._getParsedProperties(),_getRawProperties:()=>e._getRawProperties(),parse:(o,c)=>{let d=e.parse(o,{...c,unrecognizedObjectKeys:"passthrough"});if(!d.ok)return d;let y={};if(typeof o=="object"&&o!=null)for(let[g,x]of Object.entries(o))t.has(g)||(y[g]=x);return{ok:!0,value:{...y,...d.value}}},json:(o,c)=>{let d=e.json(o,{...c,unrecognizedObjectKeys:"passthrough"});if(!d.ok)return d;let y={};if(typeof o=="object"&&o!=null)for(let[g,x]of Object.entries(o))r.has(g)||(y[g]=x);return{ok:!0,value:{...y,...d.value}}},getType:()=>D.OBJECT};return{...i,...K(i),...De(i),..._t(i)}}}}function Vp({extensionKeys:e,value:t,transformBase:r,transformExtension:i,breadcrumbsPrefix:o=[]}){if(!Ke(t))return{ok:!1,errors:[{path:o,message:J(t,"object")}]};let c=new Set(e),[d,y]=Up(Wi(t),S=>c.has(S)),g=r(Gi(t,y)),x=i(Gi(t,d));return g.ok&&x.ok?{ok:!0,value:{...g.value,...x.value}}:{ok:!1,errors:[...g.ok?[]:g.errors,...x.ok?[]:x.errors]}}function Ad(e){return!Id(e)}function Id(e){switch(e.getType()){case D.ANY:case D.UNKNOWN:case D.OPTIONAL:case D.OPTIONAL_NULLABLE:return!0;default:return!1}}n();a();s();function vp(e){return Pn(e)}function zp(e){let t={...Fo(e),_getRawProperties:()=>Er(e)._getRawProperties(),_getParsedProperties:()=>Er(e)._getParsedProperties()};return{...t,...K(t),...De(t),..._t(t)}}n();a();s();n();a();s();function Cn(e){let t={parse:(r,i)=>qp(r,(o,c)=>e.parse(o,{...i,breadcrumbsPrefix:[...i?.breadcrumbsPrefix??[],`[${c}]`]})),json:(r,i)=>qp(r,(o,c)=>e.json(o,{...i,breadcrumbsPrefix:[...i?.breadcrumbsPrefix??[],`[${c}]`]})),getType:()=>D.LIST};return{...ue(t),...K(t)}}function qp(e,t){if(!Array.isArray(e))return{ok:!1,errors:[{message:J(e,"list"),path:[]}]};let r=[],i=[];for(let o=0;o<e.length;o++){let c=t(e[o],o);c.ok?r.push(c.value):i.push(...c.errors)}return i.length===0?{ok:!0,value:r}:{ok:!1,errors:i}}n();a();s();n();a();s();function Gp(e){return ce(D.BOOLEAN_LITERAL,(r,{breadcrumbsPrefix:i=[]}={})=>r===e?{ok:!0,value:e}:{ok:!1,errors:[{path:i,message:J(r,`${e.toString()}`)}]})()}n();a();s();function Wp(e){return ce(D.STRING_LITERAL,(r,{breadcrumbsPrefix:i=[]}={})=>r===e?{ok:!0,value:e}:{ok:!1,errors:[{path:i,message:J(r,`"${e}"`)}]})()}n();a();s();n();a();s();var $p=ce(D.ANY,e=>({ok:!0,value:e}));n();a();s();var Hp=ce(D.BOOLEAN,(e,{breadcrumbsPrefix:t=[]}={})=>typeof e=="boolean"?{ok:!0,value:e}:{ok:!1,errors:[{path:t,message:J(e,"boolean")}]});n();a();s();var Jp=ce(D.NEVER,(e,{breadcrumbsPrefix:t=[]}={})=>({ok:!1,errors:[{path:t,message:"Expected never"}]}));n();a();s();var Kp=ce(D.NUMBER,(e,{breadcrumbsPrefix:t=[]}={})=>typeof e=="number"?{ok:!0,value:e}:{ok:!1,errors:[{path:t,message:J(e,"number")}]});n();a();s();var Qp=ce(D.STRING,(e,{breadcrumbsPrefix:t=[]}={})=>typeof e=="string"?{ok:!0,value:e}:{ok:!1,errors:[{path:t,message:J(e,"string")}]});n();a();s();var Yp=ce(D.UNKNOWN,e=>({ok:!0,value:e}));n();a();s();n();a();s();var Ed=Object.prototype.hasOwnProperty;function Zp(e,t){let r={parse:(i,o)=>Xp({value:i,isKeyNumeric:e.getType()===D.NUMBER,transformKey:c=>e.parse(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${c} (key)`]}),transformValue:(c,d)=>t.parse(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${d}`]}),breadcrumbsPrefix:o?.breadcrumbsPrefix}),json:(i,o)=>Xp({value:i,isKeyNumeric:e.getType()===D.NUMBER,transformKey:c=>e.json(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${c} (key)`]}),transformValue:(c,d)=>t.json(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${d}`]}),breadcrumbsPrefix:o?.breadcrumbsPrefix}),getType:()=>D.RECORD};return{...ue(r),...K(r)}}function Xp({value:e,isKeyNumeric:t,transformKey:r,transformValue:i,breadcrumbsPrefix:o=[]}){if(!Ke(e))return{ok:!1,errors:[{path:o,message:J(e,"object")}]};let c={},d=[];for(let y in e){if(!Ed.call(e,y))continue;let g=e[y];if(g===void 0)continue;let x=y;if(t){let O=y.length>0?Number(y):NaN;Number.isNaN(O)||(x=O)}let S=r(x),A=i(g,x);S.ok&&A.ok?c[S.value]=A.value:(S.ok||d.push(...S.errors),A.ok||d.push(...A.errors))}return d.length===0?{ok:!0,value:c}:{ok:!1,errors:d}}n();a();s();n();a();s();function el(e){let t=Cn(e),r={parse:(i,o)=>{let c=t.parse(i,o);return c.ok?{ok:!0,value:new Set(c.value)}:c},json:(i,o)=>i instanceof Set?t.json([...i],o):{ok:!1,errors:[{path:o?.breadcrumbsPrefix??[],message:J(i,"Set")}]},getType:()=>D.SET};return{...ue(r),...K(r)}}n();a();s();n();a();s();function rl(e){let t={parse:(r,i)=>tl((o,c)=>o.parse(r,c),e,i),json:(r,i)=>tl((o,c)=>o.json(r,c),e,i),getType:()=>D.UNDISCRIMINATED_UNION};return{...ue(t),...K(t)}}function tl(e,t,r){let i=[];for(let[o,c]of t.entries()){let d=e(c,{...r,skipValidation:!1});if(d.ok)return d;for(let y of d.errors)i.push({path:y.path,message:`[Variant ${o}] ${y.message}`})}return{ok:!1,errors:i}}n();a();s();n();a();s();function il(e,t){return{parsedDiscriminant:e,rawDiscriminant:t}}n();a();s();var wd=Object.prototype.hasOwnProperty;function sl(e,t){let r=typeof e=="string"?e:e.rawDiscriminant,i=typeof e=="string"?e:e.parsedDiscriminant,o=On(Wi(t)),c={parse:(d,y)=>nl({value:d,discriminant:r,transformedDiscriminant:i,transformDiscriminantValue:g=>o.parse(g,{allowUnrecognizedEnumValues:y?.allowUnrecognizedUnionMembers,breadcrumbsPrefix:[...y?.breadcrumbsPrefix??[],r]}),getAdditionalPropertiesSchema:g=>t[g],allowUnrecognizedUnionMembers:y?.allowUnrecognizedUnionMembers,transformAdditionalProperties:(g,x)=>x.parse(g,y),breadcrumbsPrefix:y?.breadcrumbsPrefix}),json:(d,y)=>nl({value:d,discriminant:i,transformedDiscriminant:r,transformDiscriminantValue:g=>o.json(g,{allowUnrecognizedEnumValues:y?.allowUnrecognizedUnionMembers,breadcrumbsPrefix:[...y?.breadcrumbsPrefix??[],i]}),getAdditionalPropertiesSchema:g=>t[g],allowUnrecognizedUnionMembers:y?.allowUnrecognizedUnionMembers,transformAdditionalProperties:(g,x)=>x.json(g,y),breadcrumbsPrefix:y?.breadcrumbsPrefix}),getType:()=>D.UNION};return{...ue(c),...K(c),...De(c)}}function nl({value:e,discriminant:t,transformedDiscriminant:r,transformDiscriminantValue:i,getAdditionalPropertiesSchema:o,allowUnrecognizedUnionMembers:c=!1,transformAdditionalProperties:d,breadcrumbsPrefix:y=[]}){if(!Ke(e))return{ok:!1,errors:[{path:y,message:J(e,"object")}]};let g=e[t],x={};for(let w in e)wd.call(e,w)&&w!==t&&(x[w]=e[w]);if(g==null)return{ok:!1,errors:[{path:y,message:`Missing discriminant ("${t}")`}]};let S=i(g);if(!S.ok)return{ok:!1,errors:S.errors};let A=o(S.value);if(A==null)return c?{ok:!0,value:{[r]:S.value,...x}}:{ok:!1,errors:[{path:[...y,t],message:"Unexpected discriminant value"}]};let O=d(x,A);return O.ok?{ok:!0,value:{[r]:g,...O.value}}:O}n();a();s();var _n=u.string();n();a();s();var kn=u.enum_(["openai","anthropic","bedrock"]);var Fn=u.object({provider:kn,model:_n});var $o={};F($o,{AnyAuthItem:()=>Ln,AnyAuthSchemesSchema:()=>jn,ApiAuthSchema:()=>Nr,AuthSchemeDeclarationSchema:()=>ht,AuthSchemeReferenceSchema:()=>wr,AuthScope:()=>$n,AuthVariable:()=>kt,AvailabilitySchema:()=>es,AvailabilityStatusSchema:()=>Or,AvailabilityUnionSchema:()=>ts,BaseTypeReferenceSchema:()=>ds,BasicAuthSchemeSchema:()=>Bn,BearerAuthSchemeSchema:()=>Gn,EncodingSchema:()=>ns,EndpointSecuritySchema:()=>Un,EndpointSecuritySchemaDetails:()=>Dn,EnvironmentSchema:()=>os,HeaderAuthSchemeSchema:()=>Wn,HttpHeaderSchema:()=>Cr,InferredAuthenticatedRequestHeader:()=>Mn,InferredBearerAuthSchema:()=>zn,InferredGetTokenEndpointSchema:()=>vn,InferredGetTokenEndpointSchemaObject:()=>Vn,ListValidationSchema:()=>cs,MapValidationSchema:()=>ps,MultipleBaseUrlsEnvironmentSchema:()=>ss,NumberValidationSchema:()=>ls,OAuthAccessTokenRequestPropertiesSchema:()=>Hn,OAuthAccessTokenResponsePropertiesSchema:()=>Jn,OAuthGetTokenEndpointSchema:()=>Kn,OAuthRefreshTokenEndpointSchema:()=>Xn,OAuthRefreshTokenRequestPropertiesSchema:()=>Qn,OAuthRefreshTokenResponsePropertiesSchema:()=>Yn,OAuthSchemeSchema:()=>Zn,ProtobufTypeSchema:()=>is,ServerVariableSchema:()=>Pr,SingleBaseUrlEnvironmentSchema:()=>as,StringValidationSchema:()=>fs,TokenBearerAuthSchema:()=>qn,TypeReferenceDeclarationWithEnvOverride:()=>gs,TypeReferenceDeclarationWithEnvOverrideSchema:()=>ys,TypeReferenceDeclarationWithName:()=>hs,ValidationSchema:()=>ms,WithAudiences:()=>yt,WithAvailability:()=>rs,WithDocsSchema:()=>ee,WithEnvironmentVariable:()=>Rr,WithEnvironmentsSchema:()=>us,WithHeadersSchema:()=>bs,WithName:()=>dt,auth:()=>Uo,availability:()=>Bo,commons:()=>Mo,encoding:()=>Vo,environments:()=>vo,file:()=>zo,service:()=>qo,types:()=>Go,validation:()=>Wo});n();a();s();n();a();s();var Uo={};F(Uo,{AnyAuthItem:()=>Ln,AnyAuthSchemesSchema:()=>jn,ApiAuthSchema:()=>Nr,AuthSchemeDeclarationSchema:()=>ht,AuthSchemeReferenceSchema:()=>wr,AuthScope:()=>$n,AuthVariable:()=>kt,BasicAuthSchemeSchema:()=>Bn,BearerAuthSchemeSchema:()=>Gn,EndpointSecuritySchema:()=>Un,EndpointSecuritySchemaDetails:()=>Dn,HeaderAuthSchemeSchema:()=>Wn,InferredAuthenticatedRequestHeader:()=>Mn,InferredBearerAuthSchema:()=>zn,InferredGetTokenEndpointSchema:()=>vn,InferredGetTokenEndpointSchemaObject:()=>Vn,OAuthAccessTokenRequestPropertiesSchema:()=>Hn,OAuthAccessTokenResponsePropertiesSchema:()=>Jn,OAuthGetTokenEndpointSchema:()=>Kn,OAuthRefreshTokenEndpointSchema:()=>Xn,OAuthRefreshTokenRequestPropertiesSchema:()=>Qn,OAuthRefreshTokenResponsePropertiesSchema:()=>Yn,OAuthSchemeSchema:()=>Zn,TokenBearerAuthSchema:()=>qn,WithEnvironmentVariable:()=>Rr});n();a();s();n();a();s();n();a();s();n();a();s();var ee=u.object({docs:u.string().optional()});var wr=u.object({scheme:u.string()}).extend(ee);var Ln=u.undiscriminatedUnion([u.string(),wr]);n();a();s();var jn=u.object({any:u.list(Ln)}).extend(ee);n();a();s();n();a();s();n();a();s();var Dn=u.object({});var Un=u.object({"endpoint-security":Dn}).extend(ee);var Nr=u.undiscriminatedUnion([u.string(),wr,jn,Un]);n();a();s();n();a();s();n();a();s();n();a();s();var dt=u.object({name:u.string().optional()});n();a();s();var Rr=u.object({env:u.string().optional()});var kt=u.object({omit:u.boolean().optional()}).extend(Rr).extend(dt);var Bn=u.object({scheme:u.stringLiteral("basic"),username:kt.optional(),password:kt.optional()}).extend(ee);n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var Mn=u.object({"response-property":u.string(),"header-name":u.string(),"value-prefix":u.string().optional()});var Vn=u.object({endpoint:u.string(),"expiry-response-property":u.string().optional(),"authenticated-request-headers":u.list(Mn).optional()});var vn=u.undiscriminatedUnion([u.string(),Vn]);var zn=u.object({scheme:u.stringLiteral("bearer"),"get-token":vn}).extend(ee);n();a();s();var qn=u.object({scheme:u.stringLiteral("bearer"),token:kt.optional()}).extend(ee);var Gn=u.undiscriminatedUnion([qn,zn]);n();a();s();var Wn=u.object({header:u.string(),type:u.string().optional(),prefix:u.string().optional()}).extend(Rr).extend(dt).extend(ee);n();a();s();n();a();s();var $n=u.string();n();a();s();n();a();s();var Hn=u.object({"client-id":u.string().optional(),"client-secret":u.string().optional(),scopes:u.string().optional()});n();a();s();var Jn=u.object({"access-token":u.string().optional(),"expires-in":u.string().optional(),"refresh-token":u.string().optional()});var Kn=u.object({endpoint:u.string(),"request-properties":Hn.optional(),"response-properties":Jn.optional()});n();a();s();n();a();s();var Qn=u.object({"refresh-token":u.string()});n();a();s();var Yn=u.object({"access-token":u.string().optional(),"expires-in":u.string().optional(),"refresh-token":u.string().optional()});var Xn=u.object({endpoint:u.string(),"request-properties":Qn.optional(),"response-properties":Yn.optional()});var Zn=u.object({scheme:u.stringLiteral("oauth"),type:u.stringLiteral("client-credentials"),scopes:u.list($n).optional(),"client-id-env":u.string().optional(),"client-secret-env":u.string().optional(),"token-prefix":u.string().optional(),"token-header":u.string().optional(),"get-token":Kn,"refresh-token":Xn.optional()}).extend(ee);var ht=u.undiscriminatedUnion([Zn,Wn,Bn,Gn]);var Bo={};F(Bo,{AvailabilitySchema:()=>es,AvailabilityStatusSchema:()=>Or,AvailabilityUnionSchema:()=>ts});n();a();s();n();a();s();n();a();s();var Or=u.enum_(["in-development","pre-release","deprecated","generally-available"]);var es=u.object({status:Or,message:u.string().optional()});n();a();s();var ts=u.undiscriminatedUnion([Or,es]);var Mo={};F(Mo,{WithAudiences:()=>yt,WithAvailability:()=>rs,WithDocsSchema:()=>ee,WithName:()=>dt});n();a();s();n();a();s();var yt=u.object({audiences:u.list(u.string()).optional()});n();a();s();var rs=u.object({availability:ts.optional()});var Vo={};F(Vo,{EncodingSchema:()=>ns,ProtobufTypeSchema:()=>is});n();a();s();n();a();s();n();a();s();var is=u.object({type:u.string()});var ns=u.object({proto:is.optional()});var vo={};F(vo,{EnvironmentSchema:()=>os,MultipleBaseUrlsEnvironmentSchema:()=>ss,ServerVariableSchema:()=>Pr,SingleBaseUrlEnvironmentSchema:()=>as,WithEnvironmentsSchema:()=>us});n();a();s();n();a();s();n();a();s();n();a();s();var Pr=u.object({id:u.string(),default:u.string().optional(),values:u.list(u.string()).optional()});var ss=u.object({urls:u.record(u.string(),u.string()),"url-templates":u.record(u.string(),u.string()).optional(),"default-urls":u.record(u.string(),u.string()).optional(),variables:u.record(u.string(),u.list(Pr)).optional()}).extend(yt).extend(ee);n();a();s();var as=u.object({url:u.string(),"default-url":u.string().optional(),"url-template":u.string().optional(),variables:u.list(Pr).optional()}).extend(yt).extend(ee);var os=u.undiscriminatedUnion([u.string(),as,ss]);n();a();s();var us=u.object({"default-url":u.string().optional(),"default-environment":u.string().optional(),environments:u.record(u.string(),os).optional()});var zo={};F(zo,{WithHeadersSchema:()=>bs});n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var cs=u.object({minItems:u.number().optional(),maxItems:u.number().optional()});n();a();s();var ps=u.object({minProperties:u.number().optional(),maxProperties:u.number().optional()});n();a();s();var ls=u.object({min:u.number().optional(),max:u.number().optional(),exclusiveMin:u.boolean().optional(),exclusiveMax:u.boolean().optional(),multipleOf:u.number().optional()});n();a();s();var fs=u.object({minLength:u.number().optional(),maxLength:u.number().optional(),pattern:u.string().optional(),format:u.string().optional()});var ms=u.undiscriminatedUnion([fs,ls,cs,ps]);var ds=u.object({default:u.unknown().optional(),encoding:ns.optional(),validation:ms.optional()}).extend(ee).extend(rs);var hs=u.object({type:u.string()}).extend(ds).extend(dt).extend(yt);var ys=u.object({env:u.string().optional()}).extend(hs);var gs=u.undiscriminatedUnion([u.string(),ys]);var Cr=gs;var bs=u.object({headers:u.record(u.string(),Cr).optional()});var qo={};F(qo,{HttpHeaderSchema:()=>Cr,TypeReferenceDeclarationWithEnvOverride:()=>gs,TypeReferenceDeclarationWithEnvOverrideSchema:()=>ys});n();a();s();var Go={};F(Go,{BaseTypeReferenceSchema:()=>ds,TypeReferenceDeclarationWithName:()=>hs});n();a();s();var Wo={};F(Wo,{ListValidationSchema:()=>cs,MapValidationSchema:()=>ps,NumberValidationSchema:()=>ls,StringValidationSchema:()=>fs,ValidationSchema:()=>ms});n();a();s();var Ho={};F(Ho,{ApiConfigurationSchema:()=>Bs,ApiConfigurationSchemaInternal:()=>Br,ApiConfigurationV2Schema:()=>Ds,ApiConfigurationV2SettingsSchema:()=>vr,ApiConfigurationV2SpecsSchema:()=>zr,ApiDefinitionList:()=>Ts,ApiDefinitionPathSchema:()=>gt,ApiDefinitionSchema:()=>Ss,ApiDefinitionSettingsSchema:()=>Lr,ApiDefinitionWithOverridesSchema:()=>jr,AsyncApiSettingsSchema:()=>Vr,AsyncApiSpecSchema:()=>Cs,BaseApiSettingsSchema:()=>Mr,CoerceConstsTo:()=>As,ConjureSchema:()=>Ps,DefaultIntegerFormat:()=>Is,ExampleStyle:()=>Ms,FormParameterEncoding:()=>Es,GeneratorImageObjectSchema:()=>Vs,GeneratorsConfigurationSchema:()=>al,GeneratorsOpenApiObjectSchema:()=>ha,GeneratorsOpenApiSchema:()=>ya,GraphQlSpecSchema:()=>_s,Language:()=>ga,MessageNamingSettingsSchema:()=>_r,NamespacedApiConfigurationSchema:()=>Us,OpenApiExampleGenerationSchema:()=>ws,OpenApiFilterSchema:()=>Ns,OpenApiSettingsSchema:()=>bt,OpenApiSpecSchema:()=>ks,OpenRpcSpecSchema:()=>Fs,OutputMetadataAuthor:()=>vs,OutputMetadataSchema:()=>xt,OverridesSchema:()=>Pe,PathParameterOrder:()=>kr,ProtobufApiDefinitionSchema:()=>Ur,ProtobufDefinitionSchema:()=>Dr,ProtobufSpecSchema:()=>Ls,ReadmeCustomSectionSchema:()=>ba,ReadmeEndpointObjectSchema:()=>xa,ReadmeEndpointSchema:()=>Ki,ReadmeSchema:()=>Sa,RemoveDiscriminantsFromSchemas:()=>Fr,RequestOrResponseExampleGenerationSchema:()=>$i,ResolveAliases:()=>Os,ResolveAliasesSchema:()=>Rs,SpecSchema:()=>js,UnionSettingsSchema:()=>xs,WhitelabelConfigurationSchema:()=>Aa,WhitelabelGithubConfigurationSchema:()=>Ta});n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var gt=u.string();n();a();s();n();a();s();n();a();s();var _r=u.enum_(["v1","v2"]);n();a();s();var kr=u.enum_(["url-order","spec-order"]);n();a();s();var Fr=u.enum_(["always","never"]);n();a();s();var xs=u.enum_(["v1"]);var Lr=u.object({"use-title":u.boolean().optional(),unions:xs.optional(),"message-naming":_r.optional(),"respect-nullable-schemas":u.boolean().optional(),"only-include-referenced-schemas":u.boolean().optional(),"inline-path-parameters":u.boolean().optional(),"idiomatic-request-names":u.boolean().optional(),"wrap-references-to-nullable-in-optional":u.boolean().optional(),"coerce-optional-schemas-to-nullable":u.boolean().optional(),"group-environments-by-host":u.boolean().optional(),"remove-discriminants-from-schemas":Fr.optional(),"path-parameter-order":kr.optional()});n();a();s();var Pe=u.undiscriminatedUnion([u.string(),u.list(u.string())]);var jr=u.object({path:gt,origin:u.string().optional(),overrides:Pe.optional(),audiences:u.list(u.string()).optional(),settings:Lr.optional()});n();a();s();n();a();s();var Dr=u.object({target:u.string().optional(),root:u.string(),overrides:Pe.optional(),"local-generation":u.boolean().optional(),"from-openapi":u.boolean().optional(),dependencies:u.list(u.string()).optional()});var Ur=u.object({proto:Dr});var Ss=u.undiscriminatedUnion([gt,jr,Ur]);var Ts=u.list(Ss);var Br=u.undiscriminatedUnion([gt,jr,Ts,Ur]);n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var As=u.enum_(["literals","enums","enums-coerceable-to-literals"]);var Mr=u.object({"respect-nullable-schemas":u.boolean().optional(),"title-as-schema-name":u.boolean().optional(),"optional-additional-properties":u.boolean().optional(),"coerce-enums-to-literals":u.boolean().optional(),"idiomatic-request-names":u.boolean().optional(),"wrap-references-to-nullable-in-optional":u.boolean().optional(),"coerce-optional-schemas-to-nullable":u.boolean().optional(),"group-environments-by-host":u.boolean().optional(),"remove-discriminants-from-schemas":Fr.optional(),"path-parameter-order":kr.optional(),"resolve-schema-collisions":u.boolean().optional(),"infer-forward-compatible":u.boolean().optional(),"infer-default-environment":u.boolean().optional(),"coerce-consts-to":As.optional()});var Vr=u.object({"message-naming":_r.optional()}).extend(Mr);n();a();s();n();a();s();var Is=u.enum_(["int32","int64","uint32","uint64"]);n();a();s();var Es=u.enum_(["form","json"]);n();a();s();n();a();s();var $i=u.object({"max-depth":u.number().optional()});var ws=u.object({request:$i.optional(),response:$i.optional()});n();a();s();var Ns=u.object({endpoints:u.list(u.string()).optional()});n();a();s();n();a();s();var Rs=u.object({except:u.list(u.string()).optional()});var Os=u.undiscriminatedUnion([u.boolean(),Rs]);var bt=u.object({"only-include-referenced-schemas":u.boolean().optional(),"inline-path-parameters":u.boolean().optional(),"prefer-undiscriminated-unions-with-literals":u.boolean().optional(),"object-query-parameters":u.boolean().optional(),"respect-readonly-schemas":u.boolean().optional(),"respect-forward-compatible-enums":u.boolean().optional(),"use-bytes-for-binary-response":u.boolean().optional(),"default-form-parameter-encoding":Es.optional(),filter:Ns.optional(),"example-generation":ws.optional(),"additional-properties-defaults-to":u.boolean().optional(),"type-dates-as-strings":u.boolean().optional(),"preserve-single-schema-oneof":u.boolean().optional(),"inline-all-of-schemas":u.boolean().optional(),"resolve-aliases":Os.optional(),"group-multi-api-environments":u.boolean().optional(),"default-integer-format":Is.optional()}).extend(Mr);var vr=u.object({}).extend(bt).extend(Vr);n();a();s();n();a();s();var Ps=u.object({conjure:u.string()});n();a();s();n();a();s();var Cs=u.object({asyncapi:u.string(),origin:u.string().optional(),overrides:Pe.optional(),namespace:u.string().optional(),settings:Vr.optional()});n();a();s();var _s=u.object({graphql:u.string(),origin:u.string().optional(),overrides:u.string().optional(),name:u.string().optional()});n();a();s();var ks=u.object({openapi:u.string(),origin:u.string().optional(),overrides:Pe.optional(),overlays:u.string().optional(),namespace:u.string().optional(),settings:bt.optional()});n();a();s();var Fs=u.object({openrpc:u.string(),overrides:Pe.optional(),namespace:u.string().optional()});n();a();s();var Ls=u.object({proto:Dr});var js=u.undiscriminatedUnion([ks,Cs,Ls,Fs,_s]);var zr=u.undiscriminatedUnion([u.list(js),Ps]);var Ds=u.object({auth:Nr.optional(),"auth-schemes":u.record(u.string(),ht).optional(),specs:zr,settings:vr.optional()}).extend(bs).extend(us);n();a();s();var Us=u.object({namespaces:u.record(u.string(),Br)});var Bs=u.undiscriminatedUnion([Br,Us,Ds]);n();a();s();var Ms=u.enum_(["minimal","comprehensive"]);n();a();s();var Vs=u.object({name:u.string(),registry:u.string()});n();a();s();n();a();s();n();a();s();n();a();s();var vs=u.object({name:u.string(),email:u.string()});var xt=u.object({description:u.string().optional(),authors:u.list(vs).optional()});n();a();s();n();a();s();var Hi=u.object({name:u.string()});var St=u.object({teams:u.list(Hi).optional(),users:u.list(Hi).optional()});n();a();s();n();a();s();n();a();s();n();a();s();var zs=u.object({auth:Nr.optional(),"auth-schemes":u.record(u.string(),ht).optional(),headers:u.record(u.string(),Cr).optional(),settings:vr.optional(),specs:zr.optional()});n();a();s();n();a();s();var qs=u.object({url:u.string().optional(),"package-name":u.string(),token:u.string().optional()});n();a();s();var Gs=u.object({path:u.string()});n();a();s();n();a();s();var Ws=u.object({keyId:u.string(),password:u.string(),secretKey:u.string()});var $s=u.object({url:u.string().optional(),coordinate:u.string(),username:u.string().optional(),password:u.string().optional(),signature:Ws.optional()});n();a();s();var Hs=u.object({url:u.string().optional(),"package-name":u.string(),token:u.string().optional()});n();a();s();var Js=u.object({url:u.string().optional(),"package-name":u.string(),"api-key":u.string().optional()});n();a();s();var Ks=u.object({"api-key":u.string(),"workspace-id":u.string(),"collection-id":u.string().optional()});n();a();s();n();a();s();var Qs=u.object({keywords:u.list(u.string()).optional(),"documentation-link":u.string().optional(),"homepage-link":u.string().optional()}).extend(xt);var Ys=u.object({url:u.string().optional(),"package-name":u.string(),token:u.string().optional(),username:u.string().optional(),password:u.string().optional(),metadata:Qs.optional()});n();a();s();var Xs=u.object({url:u.string().optional(),"package-name":u.string(),"api-key":u.string().optional()});var Zs=u.union("location",{npm:Hs,maven:$s,pypi:Ys,postman:Ks,"local-file-system":Gs,nuget:Js,rubygems:Xs,crates:qs}).transform({transform:e=>e,untransform:e=>e});n();a();s();n();a();s();n();a();s();var ea=u.object({custom:u.string()});n();a();s();var ta=u.enum_(["MIT","Apache-2.0"]);var Ce=u.undiscriminatedUnion([ta,ea]);var Ji=u.object({"package-description":u.string().optional(),email:u.string().optional(),"reference-url":u.string().optional(),author:u.string().optional(),license:Ce.optional()});n();a();s();var ra=u.object({path:u.string()});n();a();s();n();a();s();n();a();s();var ia=u.enum_(["commit","release"]);var na=u.object({repository:u.string(),license:Ce.optional(),mode:ia.optional()});n();a();s();var sa=u.object({repository:u.string(),branch:u.string().optional(),license:Ce.optional(),mode:u.stringLiteral("pull-request"),reviewers:St.optional()});n();a();s();var aa=u.object({repository:u.string(),license:Ce.optional(),mode:u.stringLiteral("push"),branch:u.string().optional()});n();a();s();n();a();s();var oa=u.enum_(["pull-request","push"]);var ua=u.object({uri:u.string(),token:u.string(),mode:oa.optional(),branch:u.string().optional(),license:Ce.optional()});var ca=u.undiscriminatedUnion([ua,na,sa,aa]);var qr=u.object({version:u.string(),output:Zs.optional(),github:ca.optional(),config:u.unknown().optional(),metadata:Ji.optional(),keywords:u.list(u.string()).optional(),snippets:ra.optional(),"ir-version":u.string().optional(),"smart-casing":u.boolean().optional(),api:zs.optional(),"disable-examples":u.boolean().optional(),"publish-metadata":Ji.optional(),autorelease:u.boolean().optional()});var pa=u.object({image:Vs}).extend(qr);n();a();s();var la=u.object({name:u.string()}).extend(qr);var fa=u.undiscriminatedUnion([la,pa]);var ma=u.object({audiences:u.list(u.string()).optional(),generators:u.list(fa),metadata:xt.optional(),reviewers:St.optional()});n();a();s();var da=u.object({enabled:u.boolean()});n();a();s();n();a();s();var ha=u.object({path:u.string(),origin:u.string().optional(),overrides:u.string().optional(),"disable-examples":u.boolean().optional(),settings:bt});var ya=u.undiscriminatedUnion([ha,u.string()]);n();a();s();n();a();s();n();a();s();var ga=u.enum_(["java","python","go","ruby","csharp","typescript","php","rust","swift"]);var ba=u.object({title:u.string(),language:ga,content:u.string()});n();a();s();n();a();s();var xa=u.object({method:u.string(),path:u.string(),stream:u.boolean().optional()});var Ki=u.undiscriminatedUnion([u.string(),xa]);var Sa=u.object({bannerLink:u.string().optional(),introduction:u.string().optional(),apiReferenceLink:u.string().optional(),apiName:u.string().optional(),disabledSections:u.list(u.string()).optional(),defaultEndpoint:Ki.optional(),features:u.record(u.string(),u.list(Ki)).optional(),customSections:u.list(ba).optional(),exampleStyle:Ms.optional()});n();a();s();n();a();s();var Ta=u.object({username:u.string(),email:u.string(),token:u.string()});var Aa=u.object({github:Ta.optional()});var al=u.object({"auth-schemes":u.record(u.string(),ht).optional(),api:Bs.optional(),whitelabel:Aa.optional(),metadata:xt.optional(),readme:Sa.optional(),"default-group":u.string().optional(),aliases:u.record(u.string(),u.list(u.string())).optional(),groups:u.record(u.string(),ma).optional(),reviewers:St.optional(),replay:da.optional(),ai:Fn.optional(),autorelease:u.boolean().optional(),openapi:ya.optional(),"openapi-overrides":u.string().optional(),"spec-origin":u.string().optional(),"async-api":u.string().optional(),"api-settings":Lr.optional()});var Jo={};F(Jo,{BaseGeneratorInvocationSchema:()=>qr,CratesOutputLocationSchema:()=>qs,CustomGeneratorInvocationSchema:()=>pa,DefaultGeneratorInvocationSchema:()=>la,GeneratorApiSettingsSchema:()=>zs,GeneratorGroupSchema:()=>ma,GeneratorInvocationSchema:()=>fa,GeneratorOutputSchema:()=>Zs,GeneratorPublishMetadataSchema:()=>Ji,GeneratorSnippetsSchema:()=>ra,GithubCommitAndReleaseMode:()=>ia,GithubCommitAndReleaseSchema:()=>na,GithubConfigurationSchema:()=>ca,GithubPullRequestSchema:()=>sa,GithubPushSchema:()=>aa,GithubSelfhostedMode:()=>oa,GithubSelfhostedSchema:()=>ua,LocalFileSystemOutputLocationSchema:()=>Gs,MavenOutputLocationSchema:()=>$s,MavenOutputSignatureSchema:()=>Ws,NpmOutputLocationSchema:()=>Hs,NugetOutputLocationSchema:()=>Js,PostmanOutputLocationSchema:()=>Ks,PypiOutputLocationSchema:()=>Ys,PypiOutputMetadataSchema:()=>Qs,RubyGemsOutputLocationSchema:()=>Xs});n();a();s();var Ko={};F(Ko,{GithubLicenseCustomSchema:()=>ea,GithubLicenseSchema:()=>Ce,GithubLicenseType:()=>ta});n();a();s();var Qo={};F(Qo,{ReplayConfigSchema:()=>da});n();a();s();var Yo={};F(Yo,{ReviewerSchema:()=>Hi,ReviewersSchema:()=>St});n();a();s();n();a();s();n();a();s();function ol(e){return e?.specs!=null}n();a();s();function ul(e){return e?.asyncapi!=null}n();a();s();function cl(e){return e?.conjure!=null}n();a();s();function pl(e){return e?.graphql!=null}n();a();s();function ll(e){return e?.namespaces!=null}n();a();s();function fl(e){return e?.openapi!=null}n();a();s();function ml(e){return e?.openrpc!=null}n();a();s();function dl(e){return e?.proto!=null}var hl={[_e.GenerationLanguage.PHP]:new Set(["abstract","and","as","break","callable","case","catch","class","clone","const","continue","declare","default","do","echo","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","final","finally","fn","for","foreach","function","global","goto","list","if","implements","include","include_once","instanceof","insteadof","interface","match","namespace","new","or","parent","Parent","print","private","protected","public","readonly","require","require_once","return","static","switch","throw","trait","try","use","var","while","xor","yield"].flatMap(e=>[e,xe(e)])),[_e.GenerationLanguage.TYPESCRIPT]:new Set(["any","as","boolean","break","case","catch","class","const","constructor","continue","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","instanceof","interface","let","module","new","null","number","of","package","private","protected","public","require","return","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","var","void","while","with","yield","Date","Error","File","Object","Record"]),[_e.GenerationLanguage.JAVA]:new Set(["abstract","assert","boolean","break","byte","case","catch","char","class","const","continue","default","do","double","else","enum","extends","false","final","finally","float","for","goto","if","implements","import","instanceof","int","interface","long","native","new","null","package","private","protected","public","return","short","static","strictfp","super","switch","synchronized","this","throw","throws","transient","true","try","void","volatile","while"]),[_e.GenerationLanguage.PYTHON]:new Set(["False","None","True","and","as","assert","async","","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal","not","or","pass","raise","return","try","while","with","yield","float","int","complex","bool","uuid","list","set","map","long","self","all","kwargs"]),[_e.GenerationLanguage.GO]:new Set(["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","internal","map","package","range","return","select","struct","switch","type","var","vendor","any","bool","byte","complex64","complex128","error","float32","float64","int","int8","int16","int32","int64","make","new","rune","string","uint","uint8","uint16","uint32","uint64","uintptr"]),[_e.GenerationLanguage.RUBY]:new Set(["__ENCODING__","__LINE__","__FILE__","alias","and","begin","break","case","class","def","defined","do","else","elsif","end","ensure","false","for","if","in","module","next","nil","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","Object","JSON","Date","DateTime","object_id","hash","eql?","equal?","method","send","respond_to?","respond_to_missing?","instance_of?","kind_of?","is_a?","extend","singleton_class","instance_variables","instance_variable_get","instance_variable_set","instance_variable_defined?","remove_instance_variable","public_methods","private_methods","protected_methods","singleton_methods"]),[_e.GenerationLanguage.CSHARP]:new Set(["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","virtual","void","volatile","while","add","and","alias","ascending","args","async","","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","managed","nameof","nint","not","notnull","nuint","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value","var","when","where","with","yield"]),[_e.GenerationLanguage.RUST]:new Set(["as","async","await","break","const","continue","crate","dyn","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","Self","static","struct","super","trait","true","type","union","unsafe","use","where","while","abstract","become","box","do","final","macro","override","priv","try","typeof","unsized","virtual","yield","bool","char","f32","f64","i8","i16","i32","i64","i128","isize","str","u8","u16","u32","u64","u128","usize","String","Vec","Option","Result","Box","Rc","Arc","Cell","RefCell","HashMap","HashSet","BTreeMap","BTreeSet"]),[_e.GenerationLanguage.SWIFT]:new Set([])};var Nd=["go","ruby"];function Ia(e,t,r){let{generationLanguage:i,keywords:o,smartCasing:c}=r,d=jd(e),y=U=>({unsafeName:U,safeName:Rd({name:U,keywords:Od({generationLanguage:i,keywords:o})})}),g=t.preserveUnderscores===!0,x=g?(U,z)=>Zo(U,z):(U,z)=>z(U),S=x(d,Lt),A=g?Zo(d,U=>xe(Lt(U))):xe(S),O=x(d,tn),{leading:w,trailing:V}=g?gl(d):{leading:"",trailing:""},G=Xr(S);if(c){!_d(G)&&(i==null||Nd.includes(i))&&(S=w+G.map((z,ie)=>{if(ie>0){let de=Ea(z);if(de!=null)return de;if(wa(z))return z.toUpperCase()}return z}).join("")+V,A=xe(w+G.map((z,ie)=>{let de=Ea(z);return de??(wa(z)?z.toUpperCase():ie===0?xe(z):z)}).join("")+V));let U=z=>z.split(" ").map(ie=>ie.split(/(\d+)/).map(tn).join("")).join("_");O=g?Zo(d,U):U(d)}return{originalName:e,camelCase:y(t.casingOverrides?.camel??S),snakeCase:y(t.casingOverrides?.snake??O),screamingSnakeCase:y(t.casingOverrides?.["screaming-snake"]??O.toUpperCase()),pascalCase:y(t.casingOverrides?.pascal??A)}}function yl({generationLanguage:e,keywords:t,smartCasing:r}){let i={generationLanguage:e,keywords:t,smartCasing:r};return{generateName:(o,c)=>{if(typeof o=="string")return Ia(o,c??{},i);if("wireValue"in o){let d=o.name;return typeof d=="string"?Ia(d,c??{},i):d}return o},generateNameAndWireValue:(o,c)=>{if(typeof o=="string")return{wireValue:o,name:Ia(o,c??{},i)};let{name:d,wireValue:y}=o,g=typeof d=="string"?Ia(d,c??{},i):d;return{wireValue:y,name:g}}}}function Rd({name:e,keywords:t}){return t==null?e:t.has(e)?e+"_":Cd(e)?"_"+e:e}function Od({generationLanguage:e,keywords:t}){if(t!=null)return new Set(t);if(e!=null)return hl[e]}var Pd=/^[0-9]/;function Cd(e){return Pd.test(e)}function _d(e){return e.some((t,r)=>{if(r===0)return!1;let i=e[r-1];if(i==null)return!1;let o=Ea(i)!=null||wa(i),c=Ea(t)!=null||wa(t);return o&&c})}function Ea(e){return Fd.get(e.toUpperCase())}function wa(e){return kd.has(e.toUpperCase())}var kd=new Set(["ACL","API","ASCII","CPU","CSS","DNS","EOF","GUID","HTML","HTTP","HTTPS","ID","IP","JSON","LHS","QPS","RAM","RHS","RPC","SAML","SCIM","SLA","SMTP","SQL","SSH","SSO","TCP","TLS","TTL","UDP","UI","UID","UUID","URI","URL","UTF8","VM","XML","XMPP","XSRF","XSS"]),Fd=new Map([["ACLS","ACLs"],["APIS","APIs"],["CPUS","CPUs"],["GUIDS","GUIDs"],["IDS","IDs"],["UIDS","UIDs"],["UUIDS","UUIDs"],["URIS","URIs"],["URLS","URLs"]]),Ld=[[/\[\]/g,"Array"]];function jd(e){return Ld.reduce((t,[r,i])=>t.replace(r,i),e)}function gl(e){let t=e.match(/^(_+)/),r=e.match(/(_+)$/),i=t?.[1]??"",o=r?.[1]??"";if(i.length+o.length>=e.length)return{leading:e,trailing:"",core:""};let c=e.slice(i.length,e.length-o.length||void 0);return{leading:i,trailing:o,core:c}}function Zo(e,t){let{leading:r,trailing:i,core:o}=gl(e);return r===""&&i===""?t(e):`${r}${t(o)}${i}`}n();a();s();function Qi(e){return typeof e=="string"?e:e.wireValue}var Yi=class e{constructor(t){m(this,"casingsGenerator");this.casingsGenerator=yl(t)}static fromLanguage(t,r){return new e({generationLanguage:t,keywords:void 0,smartCasing:r})}resolve(t){return this.casingsGenerator.generateName(t)}resolveNameOrString(t){return this.casingsGenerator.generateName(t)}resolveNameAndWireValue(t){return this.casingsGenerator.generateNameAndWireValue(t)}camel(t){return this.resolve(t).camelCase}camelSafe(t){return this.camel(t).safeName}camelUnsafe(t){return this.camel(t).unsafeName}pascal(t){return this.resolve(t).pascalCase}pascalSafe(t){return this.pascal(t).safeName}pascalUnsafe(t){return this.pascal(t).unsafeName}snake(t){return this.resolve(t).snakeCase}snakeSafe(t){return this.snake(t).safeName}snakeUnsafe(t){return this.snake(t).unsafeName}screamingSnake(t){return this.resolve(t).screamingSnakeCase}screamingSnakeSafe(t){return this.screamingSnake(t).safeName}screamingSnakeUnsafe(t){return this.screamingSnake(t).unsafeName}};var Gr=class extends Te{constructor({name:r,namespace:i,access:o,annotations:c,origin:d},y){super(d,y);m(this,"access");m(this,"reference");m(this,"annotations");m(this,"fields",[]);m(this,"generateSerializer",!1);m(this,"serializerClassReference");this.reference=this.csharp.classReference({name:r,namespace:i,origin:d}),this.access=o,this.annotations=c??[]}get name(){return this.reference.name}get namespace(){return this.reference.namespace}getNamespace(){return this.namespace}addAnnotation(r){this.annotations.push(r)}addMember(r){this.fields.push({name:r.name,wireValue:r.value,value:this.csharp.annotation({reference:this.System.Runtime.Serialization.EnumMember,argument:this.csharp.codeblock(i=>{i.write("Value = "),i.writeNode(this.csharp.string_({string:r.value}))})})})}enableSerializerGeneration(){return this.generateSerializer=!0,this.serializerClassReference=this.csharp.classReference({name:`${this.name}Serializer`,namespace:this.namespace}),this.serializerClassReference}write(r){r.writeLine(`namespace ${this.namespace};`),r.newLine();for(let i of this.annotations)i.write(r);r.writeNewLineIfLastLineNot(),r.write(`${this.access} `),r.write("enum "),r.writeLine(`${this.name}`),r.pushScope(),this.fields.forEach((i,o)=>{i.value.write(r),r.write(i.name),o<this.fields.length-1&&(r.writeLine(","),r.newLine())}),r.writeNewLineIfLastLineNot(),r.popScope(),this.generateSerializer&&this.writeSerializerClass(r)}writeSerializerClass(r){r.newLine(),r.writeLine(`internal class ${this.name}Serializer : global::System.Text.Json.Serialization.JsonConverter<${this.name}>`),r.pushScope(),r.writeLine(`private static readonly global::System.Collections.Generic.Dictionary<string, ${this.name}> _stringToEnum = new()`),r.pushScope();for(let i of this.fields)r.writeLine(`{ ${JSON.stringify(Qi(i))}, ${this.name}.${i.name} },`);r.popScope(!1),r.writeLine(";"),r.newLine(),r.writeLine(`private static readonly global::System.Collections.Generic.Dictionary<${this.name}, string> _enumToString = new()`),r.pushScope();for(let i of this.fields)r.writeLine(`{ ${this.name}.${i.name}, ${JSON.stringify(Qi(i))} },`);r.popScope(!1),r.writeLine(";"),r.newLine(),r.writeLine(`public override ${this.name} Read(ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options)`),r.pushScope(),r.writeLine('var stringValue = reader.GetString() ?? throw new global::System.Exception("The JSON value could not be read as a string.");'),r.writeLine("return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default;"),r.popScope(),r.newLine(),r.writeLine(`public override void Write(global::System.Text.Json.Utf8JsonWriter writer, ${this.name} value, global::System.Text.Json.JsonSerializerOptions options)`),r.pushScope(),r.writeLine("writer.WriteStringValue(_enumToString.TryGetValue(value, out var stringValue) ? stringValue : null);"),r.popScope(),r.newLine(),r.writeLine(`public override ${this.name} ReadAsPropertyName(ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options)`),r.pushScope(),r.writeLine('var stringValue = reader.GetString() ?? throw new global::System.Exception("The JSON property name could not be read as a string.");'),r.writeLine("return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default;"),r.popScope(),r.newLine(),r.writeLine(`public override void WriteAsPropertyName(global::System.Text.Json.Utf8JsonWriter writer, ${this.name} value, global::System.Text.Json.JsonSerializerOptions options)`),r.pushScope(),r.writeLine("writer.WritePropertyName(_enumToString.TryGetValue(value, out var stringValue) ? stringValue : value.ToString());"),r.popScope(),r.popScope()}};n();a();s();var Wr=class extends Sr{constructor({name:t,namespace:r,access:i,partial:o,interfaceReferences:c,enclosingType:d,origin:y},g){super({name:t,namespace:r,access:i,partial:o,interfaceReferences:c,enclosingType:d,origin:y},g)}write(t){this.isNested||(t.writeLine(`namespace ${this.namespace};`),t.newLine()),t.write(`${this.access} `),this.partial&&t.write("partial "),t.write("interface "),t.writeLine(`${this.name}`),this.interfaceReferences.length>0&&(t.write(" : "),this.interfaceReferences.forEach((r,i)=>{r.write(t),i<this.interfaceReferences.length-1&&t.write(", ")})),t.pushScope();for(let r of this.fields)r.write(t),t.writeLine("");t.dedent(),t.indent();for(let r of this.methods)r.write(t),t.writeLine("");t.popScope()}};n();a();s();var $r=class extends Te{constructor({name:r,namespace:i,parentClassReference:o,origin:c},d){super(c,d);m(this,"reference");m(this,"parentClassReference");m(this,"testMethods",[]);this.reference=this.csharp.classReference({name:r,namespace:i,origin:c}),this.parentClassReference=o}get name(){return this.reference.name}get namespace(){return this.reference.namespace}write(r){r.writeNode(this.getClass())}getClass(){let r=[this.NUnit.Framework.TestFixture,this.csharp.annotation({reference:this.NUnit.Framework.Parallelizable,argument:"ParallelScope.Self"})],i=new Ve({access:ne.Public,name:this.name,namespace:this.namespace,annotations:r,parentClassReference:this.parentClassReference,origin:this.origin},this.generation);for(let o of this.testMethods)i.addMethod({access:ne.Public,isAsync:o.isAsync,name:o.name,parameters:[],body:o.body,annotations:[this.NUnit.Framework.Test]});return i}addTestMethod(r){this.testMethods.push(r)}};n();a();s();n();a();s();n();a();s();n();a();s();var eu={System:["AccessViolationException","Action","Activator","AggregateException","AppContext","AppDomain","AppDomainSetup","AppDomainUnloadedException","ApplicationException","ApplicationId","ArgIterator","ArgumentException","ArgumentNullException","ArgumentOutOfRangeException","ArithmeticException","Array","ArrayTypeMismatchException","AssemblyLoadEventArgs","AssemblyLoadEventHandler","AsyncCallback","Attribute","AttributeTargets","AttributeUsageAttribute","BadImageFormatException","Base64FormattingOptions","BitConverter","Boolean","Buffer","Byte","CannotUnloadAppDomainException","Char","CharEnumerator","CLSCompliantAttribute","Console","ConsoleCancelEventArgs","ConsoleCancelEventHandler","ConsoleColor","ConsoleKey","ConsoleKeyInfo","ConsoleModifiers","ConsoleSpecialKey","ContextBoundObject","ContextMarshalException","ContextStaticAttribute","Convert","CultureAwareComparer","DataMisalignedException","DateOnly","DateTime","DateTimeKind","DateTimeOffset","DayOfWeek","DBNull","Decimal","Delegate","DivideByZeroException","DllNotFoundException","Double","DuplicateWaitObjectException","EntryPointNotFoundException","Enum","Environment","EnvironmentVariableTarget","EventArgs","EventHandler","Exception","ExecutionEngineException","FieldAccessException","FlagsAttribute","FormatException","FormattableString","GC","GCCollectionMode","GCGenerationInfo","GCKind","GCMemoryInfo","GCNotificationStatus","Guid","Half","HashCode","IAsyncDisposable","IAsyncResult","ICloneable","IComparable","IConvertible","ICustomFormatter","IDisposable","IFormatProvider","IFormattable","Index","IndexOutOfRangeException","InsufficientExecutionStackException","InsufficientMemoryException","Int128","Int16","Int32","Int64","IntPtr","InvalidCastException","InvalidOperationException","InvalidProgramException","InvalidTimeZoneException","ISpanFormattable","IUtf8SpanFormattable","LoaderOptimization","LoaderOptimizationAttribute","LocalDataStoreSlot","MarshalByRefObject","Math","MathF","MemberAccessException","MemoryExtensions","MethodAccessException","MidpointRounding","MissingFieldException","MissingMemberException","MissingMethodException","ModuleHandle","MTAThreadAttribute","MulticastDelegate","MulticastNotSupportedException","NonSerializedAttribute","NotFiniteNumberException","NotImplementedException","NotSupportedException","Nullable","NullReferenceException","Object","ObjectDisposedException","ObsoleteAttribute","OperatingSystem","OperationCanceledException","OrdinalComparer","OutOfMemoryException","OverflowException","ParamArrayAttribute","PlatformID","PlatformNotSupportedException","Random","Range","RankException","ResolveEventArgs","ResolveEventHandler","RuntimeArgumentHandle","RuntimeFieldHandle","RuntimeMethodHandle","RuntimeTypeHandle","SByte","SerializableAttribute","Single","StackOverflowException","STAThreadAttribute","String","StringComparer","StringComparison","StringNormalizationExtensions","StringSplitOptions","SystemException","ThreadStaticAttribute","TimeOnly","TimeoutException","TimeProvider","TimeSpan","TimeZone","TimeZoneInfo","TimeZoneNotFoundException","Tuple","TupleExtensions","Type","TypeAccessException","TypeCode","TypedReference","TypeInitializationException","TypeLoadException","TypeUnloadedException","UInt128","UInt16","UInt32","UInt64","UIntPtr","UnauthorizedAccessException","UnhandledExceptionEventArgs","UnhandledExceptionEventHandler","UnitySerializationHolder","ValueTuple","ValueType","Version","Void","WeakReference","Buffers","Collections","ComponentModel","Diagnostics","Globalization","IO","Linq","Net","Numerics","Reflection","Resources","Runtime","Security","Text","Threading"],"System.Collections.Generic":["ByteEqualityComparer","CollectionExtensions","IEnumerable","KeyNotFoundException","KeyValuePair","NonRandomizedStringEqualityComparer","ReferenceEqualityComparer"],"System.IO":["BinaryReader","BinaryWriter","BufferedStream","Directory","DirectoryInfo","DirectoryNotFoundException","EndOfStreamException","EnumerationOptions","File","FileAccess","FileAttributes","FileInfo","FileLoadException","FileMode","FileNotFoundException","FileOptions","FileShare","FileStream","FileStreamOptions","FileSystemInfo","HandleInheritability","InvalidDataException","IOException","MatchCasing","MatchType","MemoryStream","Path","PathTooLongException","RandomAccess","SearchOption","SeekOrigin","Stream","StreamReader","StreamWriter","StringReader","StringWriter","TextReader","TextWriter","UnixFileMode","UnmanagedMemoryAccessor","UnmanagedMemoryStream","System.IO.Enumeration"],"System.Linq":["Enumerable"],"System.Net.Http":["HttpClient","HttpMethod"],"System.Threading":["AbandonedMutexException","ApartmentState","AsyncFlowControl","AutoResetEvent","CancellationToken","CancellationTokenRegistration","CancellationTokenSource","CompressedStack","ContextCallback","EventResetMode","EventWaitHandle","ExecutionContext","Interlocked","IOCompletionCallback","IThreadPoolWorkItem","ITimer","LazyInitializer","LazyThreadSafetyMode","Lock","LockRecursionException","LockRecursionPolicy","ManualResetEvent","ManualResetEventSlim","Monitor","Mutex","NativeOverlapped","Overlapped","ParameterizedThreadStart","PeriodicTimer","PreAllocatedOverlapped","ReaderWriterLockSlim","RegisteredWaitHandle","Semaphore","SemaphoreFullException","SemaphoreSlim","SendOrPostCallback","SpinLock","SpinWait","SynchronizationContext","SynchronizationLockException","Thread","ThreadAbortException","ThreadExceptionEventArgs","ThreadExceptionEventHandler","ThreadInterruptedException","ThreadPool","ThreadPoolBoundHandle","ThreadPriority","ThreadStart","ThreadStartException","ThreadState","ThreadStateException","Timeout","Timer","TimerCallback","Volatile","WaitCallback","WaitHandle","WaitHandleCannotBeOpenedException","WaitHandleExtensions","WaitOrTimerCallback","Tasks"],"System.Threading.Tasks":["ConcurrentExclusiveSchedulerPair","ConfigureAwaitOptions","Task","TaskAsyncEnumerableExtensions","TaskCanceledException","TaskCompletionSource","TaskContinuationOptions","TaskCreationOptions","TaskExtensions","TaskFactory","TaskScheduler","TaskSchedulerException","TaskStatus","TaskToAsyncResult","UnobservedTaskExceptionEventArgs","ValueTask","Sources"]};var Bd=new Set(["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","virtual","void","volatile","while"]);var Md=new Set(["from","where","select","orderby","groupby","into","let","join","on","equals"]),Vd=new Set(["async","await"]),vd=new Set(["yield"]),zd=new Set(["var","dynamic"]),qd=new Set(["using","alias"]);var Gd=new Set(["required","scoped","unmanaged","managed"]),Wd=new Set(["when","and","or","not"]),$d=new Set(["Equals","GetHashCode","ToString","GetType","MemberwiseClone","Finalize"]),Hd=new Set([...Bd,...Md,...Vd,...vd,...zd,...qd,...Gd,...Wd]),Na=class{constructor(t,r,i){m(this,"registry");m(this,"name");m(this,"jsonPath");this.registry=t,this.name=r,this.jsonPath=i}};var Ra=class{constructor(t){m(this,"scope");m(this,"byName",new Map);m(this,"byPath",new Map);m(this,"redirections",new Map);this.scope=t}[Symbol.iterator](){return this.byName.values()}has(t){return this.byName.has(t)}getByJsonPath(t){return this.byPath.get(t)}getByName(t){return this.byName.get(t)}getRedirectedName(t){return this.redirections.get(t)}set(t){this.byName.has(t.name)&&re(`set: ${t.name} in ${this.scope.fullyQualifiedName} already exists`),t.jsonPath&&this.byPath.has(t.jsonPath)&&re(`set: ${t.name} in ${this.scope.fullyQualifiedName} already exists by jsonPath`),this.byName.set(t.name,t),t.jsonPath&&this.byPath.set(t.jsonPath,t)}redirect(t,r){this.redirections.has(t)&&re(`redirect: ${t} in ${this.scope.fullyQualifiedName} already has a redirect`),this.redirections.set(t,r)}},tu=class extends Na{constructor(r,i,o,c){super(r,i);m(this,"namespace");m(this,"fullyQualifiedName");m(this,"fields");m(this,"methods");this.namespace=o,this.fullyQualifiedName=c,this.fields=new Ra(this),this.methods=new Ra(this)}isKeyword(r){return Hd.has(r)}isBuiltinMemberName(r){return $d.has(r)}isTypeName(r){return this.name===r}isField(r){return this.fields.has(r)}isMethod(r){return this.methods.has(r)}isMember(r){return this.isField(r)||this.isMethod(r)}nameBlocked(r){if(this.isKeyword(r))return"keyword";if(this.isBuiltinMemberName(r))return"builtin";if(this.isTypeName(r))return"typeName";if(this.isField(r))return"field";if(this.isMethod(r))return"method"}getAlternativeName(r){let i=`${r}_`,o=2;for(;this.nameBlocked(i);)i=`${r}_${o}`,o++;return i}getFieldByJsonPath(r){return r!==void 0?this.fields.getByJsonPath(r):void 0}getFieldByName(r){return this.fields.getByName(r)}getRedirectedFieldName(r){return this.fields.getRedirectedName(r)}registerField(r,i,o){let c=this.registry.model.jsonPath(i);if(c){let g=this.fields.getByJsonPath(c);if(g)return g.name}let d=this.fields.getByName(r);if(d&&c===d.jsonPath)return r;switch(this.nameBlocked(r)){case"field":i&&C.Provenance(i)&&i.explicit||re(`Field ${r} already exists - attempting to add a duplicate field with the same name that is not an explicitly named property`);break;case"keyword":case"builtin":case"typeName":case"method":break;default:return this.fields.set(new Oa(this.registry,r,this,c,o)),this.registry.setFieldNameShortcut(c,r),r}let y=this.getAlternativeName(r);return this.fields.set(new Oa(this.registry,y,this,c,o)),this.fields.redirect(r,y),this.registry.setFieldNameShortcut(c,y),y}getFieldName(r,i){let o=this.getFieldByJsonPath(this.registry.model.jsonPath(r))?.name;if(o)return o;if(C.Provenance(r)){let y=this.getRedirectedFieldName(i);if(y)return y;let g=this.getFieldByName(i);return g?this.registry.model.provenance(g.jsonPath)?.explicit?i:`${i}_`:i}let c=this.getFieldByName(i);if(c)return this.registry.model.provenance(c.jsonPath)?.explicit?i:c.name;let d=this.getRedirectedFieldName(i);if(d)return d;this.isMethod(i)}},ru=class extends Na{constructor(r,i,o,c){super(r,i,c);m(this,"scope");this.scope=o}},Oa=class extends ru{constructor(r,i,o,c,d){super(r,i,o,c);m(this,"field");this.field=d}};var Jr=class e{constructor(t){m(this,"generation");m(this,"classReferenceByJsonPath",new Map);m(this,"typeRegistry",new Map);m(this,"namespaceRegistry",new Map);m(this,"typeNames",new Map);m(this,"namespaceNames",new Map);m(this,"implicitNamespaces",new Set);m(this,"shortcuts",new Map);m(this,"knownBuiltInIdentifiers",new Set(["Text","Json","Xml","Security","Collections","Data","Diagnostics","Globalization","Math","Reflection","Runtime","Security","Serialization","Threading","Xml"]));this.generation=t,this.initializeBuiltIns()}get csharp(){return this.generation.csharp}get model(){return this.generation.model}initializeBuiltIns(){for(let[t,r]of Object.entries(eu))t.split(".").forEach(i=>this.knownBuiltInIdentifiers.add(i)),r.forEach(i=>this.knownBuiltInIdentifiers.add(i));for(let[t,r]of Object.entries(eu)){for(let o of r)this.typeNames.set(o,new Set([t]));let i=t.split(".")[0];i&&this.typeNames.set(i,new Set([t]))}this.typeNames.set("System",new Set(["System"])),this.typeNames.set("NUnit",new Set(["NUnit"])),this.typeNames.set("OneOf",new Set(["OneOf"])),this.knownBuiltInIdentifiers.add("NUnit"),this.knownBuiltInIdentifiers.add("OneOf")}setFieldNameShortcut(t,r){if(t){let i=this.shortcuts.get(t);i&&i!==r&&re(`BAD_BAD_BAD setFieldNameShortcut: ${t} already has a name: ${i} - while setting to ${r} - if this is happening, then you could be getting back the wrong name later!`),this.shortcuts.set(t,r)}}getFieldNameByOrigin(t){return this.shortcuts.get(this.model.jsonPath(t)??">ignore<")}isKnownBuiltInIdentifier(t){return!t||typeof t!="string"?!1:this.knownBuiltInIdentifiers.has(t)}isKnownNamespace(t){return!t||typeof t!="string"?!1:this.namespaceRegistry.has(t)}isRegisteredTypeName(t){return this.typeRegistry.has(t)}isAmbiguousTypeName(t){return t?(this.typeNames.get(t)?.size??0)>1:!1}isAmbiguousNamespaceName(t){return t?(this.namespaceNames.get(t)?.size??0)>1:!1}hasTypeNamespaceConflict(t){return!t||this.knownBuiltInIdentifiers.has(t)?!1:this.typeNames.has(t)&&(this.namespaceNames.get(t)?.has("")??!1)}static fullyQualifiedNameOf(t){return t.enclosingType?`${t.enclosingType.fullyQualifiedName??`${t.namespace}.${t.enclosingType.name}`}+${t.name}`:`${t.namespace}.${t.name}`}registerNamespace(t,r){this.namespaceRegistry.has(t)&&this.namespaceRegistry.get(t)!==r||this.namespaceRegistry.set(t,r)}trackType(t,r){let{name:i,namespace:o,enclosingType:c,fullyQualifiedName:d,origin:y}=t;if(y){let g=this.model.jsonPath(y)??re(`JsonPath not found for origin: ${JSON.stringify(y).substring(0,100)}`);this.classReferenceByJsonPath.set(g,t)}if(r&&r!==d&&!this.typeRegistry.has(r)&&this.typeRegistry.set(r,t),!this.typeRegistry.has(d)){this.typeRegistry.set(d,t);for(let g of this.allNamespacesOf(o))this.registerNamespace(g,g);c||this.trackTypeName(i,o);for(let g of[this.generation.namespaces.root,...this.implicitNamespaces])if(o.startsWith(g)){let x=o.split(".")[g.split(".").length];x&&this.trackTypeName(x,o)}}return t}addImplicitNamespace(t){this.implicitNamespaces.add(t)}isNamespaceImplicit(t){return this.implicitNamespaces.has(t)}get implicitlyImportedNamespaces(){return[...this.implicitNamespaces]}trackTypeName(t,r){this.typeNames.has(t)?this.typeNames.get(t)?.add(r):this.typeNames.set(t,new Set([r]));let i=r.split("."),o="";for(let c of i)this.namespaceNames.has(c)?this.namespaceNames.get(c)?.add(o):this.namespaceNames.set(c,new Set([o])),o=o?`${o}.${c}`:c}allNamespacesOf(t){if(!t||typeof t!="string")return new Set;let r="",i=new Set;for(let o of t.split("."))o.trim()&&(r=r?`${r}.${o}`:`${o}`,i.add(r));return i}registerClassReference(t,r){let{name:i,namespace:o,enclosingType:c,origin:d}=t,y=this.model.jsonPath(d),g=(y?this.classReferenceByJsonPath.get(y):void 0)??this.typeRegistry.get(r),x=this.model.jsonPath(g?.origin),S=x&&y?x===y?"match":"mismatch":"no origin";if(g&&S!=="mismatch")return new ge({name:g.name,namespace:g.namespace,enclosingType:g.enclosingType,fullyQualifiedName:g.fullyQualifiedName,namespaceAlias:t.namespaceAlias,fullyQualified:t.fullyQualified,generics:t.generics,global:t.global,origin:g.origin??d,isCollection:g.isCollection,isReferenceType:g.isReferenceType,multipartMethodName:g.multipartMethodName,multipartMethodNameForCollection:g.multipartMethodNameForCollection},g.scope,this.generation);let A=!1,O=this.resolveNamespace(o);O!==o&&(o=O,A=!0);let w;e:for(;;){w=e.fullyQualifiedNameOf({name:i,namespace:o,enclosingType:c});let V="",G=o.split(".");for(let U=0;U<G.length;U++)if(V=V?`${V}.${G[U]}`:`${G[U]}`,this.typeRegistry.has(V)){G[U]=`${G[U]}_`,o=G.join("."),A=!0;continue e}if(A&&this.registerNamespace(t.namespace,o),S==="mismatch"&&g?.name===i){i=`${i}_`,A=!0;continue e}if(this.namespaceRegistry.has(w)){i=`${i}_`,A=!0;continue e}if(this.typeRegistry.has(w)){i=`${i}_`,A=!0;continue e}if(c){let U=w.replaceAll("+",".");if(this.typeRegistry.has(U)){i=`${i}_`,A=!0;continue e}if(this.namespaceRegistry.has(U)){i=`${i}_`,A=!0;continue e}}else{let U=w.split(".");for(let z=1;z<U.length;z++){let ie=U.slice(0,z).join(".")+"+"+U.slice(z).join("+");if(this.typeRegistry.has(ie)){i=`${i}_`,A=!0;continue e}}}break}return this.trackType(new ge({name:i,namespace:o,enclosingType:c,namespaceAlias:t.namespaceAlias,fullyQualified:t.fullyQualified,generics:t.generics,global:t.global,fullyQualifiedName:w,origin:d,isCollection:t.isCollection,isReferenceType:t.isReferenceType,multipartMethodName:t.multipartMethodName,multipartMethodNameForCollection:t.multipartMethodNameForCollection},new tu(this,i,o,w),this.generation),r)}resolveNamespace(t){let r=this.namespaceRegistry.get(t);if(r!==void 0)return r;let i=t.split(".");for(let o=i.length-1;o>=0;o--){let c=i.slice(0,o).join(".");if(this.namespaceRegistry.has(c)){let d=this.namespaceRegistry.get(c);if(d!==void 0){let y=i.slice(o).join("."),g=`${d}.${y}`;return this.registerNamespace(t,g),g}}}return t}canonicalizeNamespace(t){let r=this.namespaceRegistry.get(t);if(r!==void 0)return r;let i=!1,o=t;e:for(;;){let c="",d=o.split(".");for(let y=0;y<d.length;y++)if(c=c?`${c}.${d[y]}`:`${d[y]}`,this.typeRegistry.has(c)){d[y]=`${d[y]}_`,o=d.join("."),i=!0;continue e}break}return i&&this.registerNamespace(t,o),o}};var Pa=class{constructor(t){m(this,"generation");m(this,"frozen",!1);m(this,"extraClassReferences",new Map);m(this,"InstantiatedPrimitive",{string:t=>new fe({type:"string",value:t},this.generation),boolean:t=>new fe({type:"boolean",value:t},this.generation),integer:t=>new fe({type:"integer",value:t},this.generation),long:t=>new fe({type:"long",value:t},this.generation),uint:t=>new fe({type:"uint",value:t},this.generation),ulong:t=>new fe({type:"ulong",value:t},this.generation),float:t=>new fe({type:"float",value:t},this.generation),double:t=>new fe({type:"double",value:t},this.generation),date:t=>new fe({type:"date",value:t},this.generation),dateTime:(t,r=!0)=>new fe({type:"dateTime",value:t,parse:r},this.generation),uuid:t=>new fe({type:"uuid",value:t},this.generation),null:()=>new fe({type:"null"},this.generation)});m(this,"Literal",{class_:({reference:t,fields:r})=>new B.Class_(t,r,this.generation),dictionary:({keyType:t,valueType:r,entries:i})=>new B.Dictionary(t,r,i,this.generation),list:({valueType:t,values:r})=>new B.List(t,r,this.generation),set:({valueType:t,values:r})=>new B.Set(t,r,this.generation),boolean:t=>new B.Boolean(t,this.generation),float:t=>new B.Float(t,this.generation),date:t=>new B.Date(t,this.generation),datetime:t=>new B.DateTime(t,this.generation),decimal:t=>new B.Decimal(t,this.generation),double:t=>new B.Double(t,this.generation),integer:t=>new B.Integer(t,this.generation),long:t=>new B.Long(t,this.generation),uint:t=>new B.Uint(t,this.generation),ulong:t=>new B.Ulong(t,this.generation),reference:t=>new B.Reference(t,this.generation),string:t=>new B.String(t,this.generation),null:()=>new B.Null(this.generation),nop:()=>new B.Nop(this.generation),unknown:t=>new B.Unknown(t,this.generation)});m(this,"VALID_READ_ONLY_MEMORY_TYPES",new Set(["int","long","uint","ulong","string","bool","float","double"]));this.generation=t}get model(){return this.generation.model}classReference(t){return this.classReferenceInternal(t)}classReferenceInternal(t){if(!t.name&&"origin"in t&&t.origin&&(t.name=this.model.getClassNameFor(t.origin)),t.enclosingType){if(t.namespace)throw new Error("ClassReference: Both enclosingType and namespace cannot be provided");t.namespace=t.enclosingType.namespace}let r=Jr.fullyQualifiedNameOf(t);if(this.frozen&&!this.generation.registry.isRegisteredTypeName(r)){let i=this.extraClassReferences.get(r);i||(i=new Set,this.extraClassReferences.set(r,i)),i.add(`${r} -
33
- ${ri()}`)}return this.generation.registry.registerClassReference(t,r)}freezeClassReferences(){this.frozen=!0}getPropertyName(t,r){let i=this.model.getPropertyNameFor(r),o=this.model.origin(r);if(o){let c=t.getFieldName(o,i);if(c)return c}return i}class_(t){let r=t;return"reference"in t&&(r={...t.reference,...t}),new Ve(r,this.generation)}testClass(t){return new $r(t,this.generation)}annotation(t){return new Je(t,this.generation)}annotationGroup(t){return new dr(t,this.generation)}instantiateClass(t){return new Yt(t,this.generation)}invokeMethod(t){return new tr(t,this.generation)}codeblock(t){return new ut(t,this.generation)}code(){return new ct({},this.generation)}anonymousFunction(t){return new hr(t)}parameter(t){return new Le(t,this.generation)}interface_(t){return new Wr(t,this.generation)}enum_(t){return new Gr(t,this.generation)}dictionary(t){return new Xt(t,this.generation)}list(t){return new er(t,this.generation)}readOnlyMemory(t){return new rr(t,this.generation)}set(t){return new ir(t,this.generation)}switch_(t){return new gr(t,this.generation)}ternary(t){return new br(t,this.generation)}and(t){return new mr(t,this.generation)}or(t){return new yr(t,this.generation)}enumInstantiation(t){return new Zt(t,this.generation)}string_(t){return new nr(t,this.generation)}xmlDocBlock(t){return new ft(t,this.generation)}xmlDocBlockOf(t){return t instanceof ft?t:new ft(t,this.generation)}validateReadOnlyMemoryTypes(){for(let t of this.generation.settings.readOnlyMemoryTypes)if(!this.VALID_READ_ONLY_MEMORY_TYPES.has(t))throw new Error(`Type "${t}" is not a valid 'read-only-memory-types' custom config option; expected one of ${JSON.stringify(this.VALID_READ_ONLY_MEMORY_TYPES)}.`)}};n();a();s();function j(e){let t={},r={};for(let[i,o]of Object.entries(e))o.length===0?Object.defineProperty(r,i,{get(){return i in t||(t[i]=o()),t[i]},enumerable:!0,configurable:!0}):r[i]=o;return r}n();a();s();var Ca=class{constructor(t){m(this,"generation");m(this,"System",j({Action:t=>this.csharp.classReference({name:"Action",namespace:"System",generics:t||void 0,multipartMethodName:null,multipartMethodNameForCollection:null,isReferenceType:!0}),Func:(t,r)=>this.csharp.classReference({name:"Func",namespace:"System",generics:t?r?[...t,r]:t:r?[r]:void 0,multipartMethodName:null,multipartMethodNameForCollection:null,isReferenceType:!0}),DateOnly:()=>this.csharp.classReference({name:"DateOnly",namespace:"System"}),DateTime:()=>this.csharp.classReference({name:"DateTime",namespace:"System"}),Enum:()=>this.csharp.classReference({name:"Enum",namespace:"System"}),Exception:()=>this.csharp.classReference({name:"Exception",namespace:"System"}),ReadOnlyMemory:t=>this.csharp.classReference({name:"ReadOnlyMemory",namespace:"System",generics:[t]}),Serializable:()=>this.csharp.classReference({name:"SerializableAttribute",namespace:"System"}),String:()=>this.csharp.classReference({name:"String",namespace:"System"}),Type:()=>this.csharp.classReference({name:"Type",namespace:"System",isReferenceType:!0,multipartMethodName:null,multipartMethodNameForCollection:null,fullyQualified:!0}),TimeSpan:()=>this.csharp.classReference({name:"TimeSpan",namespace:"System"}),Uri:()=>this.csharp.classReference({name:"Uri",namespace:"System"}),UriBuilder:()=>this.csharp.classReference({name:"UriBuilder",namespace:"System"}),Runtime:()=>j({Serialization:()=>j({EnumMember:()=>this.csharp.classReference({name:"EnumMemberAttribute",namespace:"System.Runtime.Serialization"})})}),Collections:()=>j({Generic:()=>j({IAsyncEnumerable:t=>this.csharp.classReference({name:"IAsyncEnumerable",namespace:"System.Collections.Generic",generics:t?[t]:void 0}),IEnumerable:t=>this.csharp.classReference({name:"IEnumerable",namespace:"System.Collections.Generic",generics:t?[t]:void 0}),KeyValuePair:(t,r)=>this.csharp.classReference({name:"KeyValuePair",namespace:"System.Collections.Generic",generics:t&&r?[t,r]:void 0}),List:t=>this.csharp.classReference({name:"List",namespace:"System.Collections.Generic",generics:t?[t]:void 0,isCollection:!0}),HashSet:t=>this.csharp.classReference({name:"HashSet",namespace:"System.Collections.Generic",generics:t?[t]:void 0,isCollection:!0}),Dictionary:(t,r)=>this.csharp.classReference({name:"Dictionary",namespace:"System.Collections.Generic",generics:t&&r?[t,r]:void 0,isCollection:!0}),IDictionary:(t,r)=>this.csharp.classReference({name:"IDictionary",namespace:"System.Collections.Generic",generics:[t,r]})}),Linq:()=>j({Enumerable:()=>this.csharp.classReference({name:"Enumerable",namespace:"System.Linq"})})}),Globalization:()=>j({DateTimeStyles:()=>this.csharp.classReference({name:"DateTimeStyles",namespace:"System.Globalization"})}),Linq:()=>j({Enumerable:()=>this.csharp.classReference({name:"Enumerable",namespace:"System.Linq"})}),Net:()=>j({Http:()=>j({HttpClient:()=>this.csharp.classReference({name:"HttpClient",namespace:"System.Net.Http"}),HttpMethod:()=>this.csharp.classReference({name:"HttpMethod",namespace:"System.Net.Http"}),HttpResponseHeaders:()=>this.csharp.classReference({name:"HttpResponseHeaders",namespace:"System.Net.Http.Headers"})}),ServerSentEvents:()=>j({SseEvent:()=>this.csharp.classReference({name:"SseEvent",namespace:"System.Net.ServerSentEvents"}),SseParser:()=>this.csharp.classReference({name:"SseParser",namespace:"System.Net.ServerSentEvents"})}),WebSockets:()=>j({ClientWebSocketOptions:()=>this.csharp.classReference({name:"ClientWebSocketOptions",namespace:"System.Net.WebSockets"})})}),IO:()=>j({MemoryStream:()=>this.csharp.classReference({name:"MemoryStream",namespace:"System.IO"}),Stream:()=>this.csharp.classReference({name:"Stream",namespace:"System.IO"}),StreamReader:()=>this.csharp.classReference({name:"StreamReader",namespace:"System.IO"})}),Text:()=>j({Encoding:()=>this.csharp.classReference({name:"Encoding",namespace:"System.Text"}),Encoding_UTF8:()=>this.csharp.classReference({name:"UTF8",enclosingType:this.csharp.classReference({name:"Encoding",namespace:"System.Text"})}),Json:()=>j({JsonElement:()=>this.csharp.classReference({name:"JsonElement",namespace:"System.Text.Json"}),JsonDocument:()=>this.csharp.classReference({name:"JsonDocument",namespace:"System.Text.Json"}),JsonException:()=>this.csharp.classReference({name:"JsonException",namespace:"System.Text.Json"}),Utf8JsonReader:()=>this.csharp.classReference({name:"Utf8JsonReader",namespace:"System.Text.Json"}),JsonSerializerOptions:()=>this.csharp.classReference({name:"JsonSerializerOptions",namespace:"System.Text.Json"}),JsonSerializer:()=>this.csharp.classReference({name:"JsonSerializer",namespace:"System.Text.Json"}),Utf8JsonWriter:()=>this.csharp.classReference({name:"Utf8JsonWriter",namespace:"System.Text.Json"}),Nodes:()=>j({JsonNode:()=>this.csharp.classReference({name:"JsonNode",namespace:"System.Text.Json.Nodes"}),JsonObject:()=>this.csharp.classReference({name:"JsonObject",namespace:"System.Text.Json.Nodes"})}),Serialization:()=>j({IJsonOnDeserialized:()=>this.csharp.classReference({name:"IJsonOnDeserialized",namespace:"System.Text.Json.Serialization"}),IJsonOnSerializing:()=>this.csharp.classReference({name:"IJsonOnSerializing",namespace:"System.Text.Json.Serialization"}),JsonOnDeserializedAttribute:()=>this.csharp.classReference({name:"JsonOnDeserializedAttribute",namespace:"System.Text.Json.Serialization"}),JsonExtensionData:()=>this.csharp.classReference({name:"JsonExtensionDataAttribute",namespace:"System.Text.Json.Serialization"}),JsonConverter:t=>this.csharp.classReference({name:"JsonConverter",namespace:"System.Text.Json.Serialization",generics:t?[t]:void 0}),JsonIgnore:()=>this.csharp.classReference({name:"JsonIgnoreAttribute",namespace:"System.Text.Json.Serialization"}),JsonPropertyName:()=>this.csharp.classReference({name:"JsonPropertyNameAttribute",namespace:"System.Text.Json.Serialization"})})})}),Threading:()=>j({CancellationToken:()=>this.csharp.classReference({name:"CancellationToken",namespace:"System.Threading"}),Tasks:()=>j({Task:t=>this.csharp.classReference({name:"Task",namespace:"System.Threading.Tasks",generics:t?[t]:void 0}),ValueTask:t=>this.csharp.classReference({name:"ValueTask",namespace:"System.Threading.Tasks",generics:t?[t]:void 0})})}),ComponentModel:()=>j({INotifyPropertyChanged:()=>this.csharp.classReference({name:"INotifyPropertyChanged",namespace:"System.ComponentModel"}),PropertyChangedEventHandler:()=>this.csharp.classReference({name:"PropertyChangedEventHandler",namespace:"System.ComponentModel"})}),IAsyncDisposable:()=>this.csharp.classReference({name:"IAsyncDisposable",namespace:"System"}),IDisposable:()=>this.csharp.classReference({name:"IDisposable",namespace:"System"})}));m(this,"NUnit",j({Framework:()=>j({TestFixture:()=>this.csharp.classReference({name:"TestFixture",namespace:"NUnit.Framework"}),Test:()=>this.csharp.classReference({name:"Test",namespace:"NUnit.Framework"}),OneTimeTearDown:()=>this.csharp.classReference({name:"OneTimeTearDown",namespace:"NUnit.Framework"}),OneTimeSetUp:()=>this.csharp.classReference({name:"OneTimeSetUp",namespace:"NUnit.Framework"}),SetUpFixture:()=>this.csharp.classReference({name:"SetUpFixture",namespace:"NUnit.Framework"}),Parallelizable:()=>this.csharp.classReference({name:"Parallelizable",namespace:"NUnit.Framework"})})}));m(this,"OneOf",j({OneOf:t=>this.csharp.classReference({name:"OneOf",namespace:"OneOf",generics:t}),OneOfBase:t=>this.csharp.classReference({name:"OneOfBase",namespace:"OneOf",generics:t})}));m(this,"Google",j({Protobuf:()=>j({ByteString:()=>this.csharp.classReference({name:"ByteString",namespace:"Google.Protobuf"}),WellKnownTypes:()=>j({Struct:()=>this.csharp.classReference({name:"Struct",namespace:"Google.Protobuf.WellKnownTypes",namespaceAlias:"WellKnownProto"}),Value:()=>this.csharp.classReference({name:"Value",namespace:"Google.Protobuf.WellKnownTypes",namespaceAlias:"WellKnownProto"}),ListValue:()=>this.csharp.classReference({name:"ListValue",namespace:"Google.Protobuf.WellKnownTypes",namespaceAlias:"WellKnownProto"}),Timestamp:()=>this.csharp.classReference({name:"Timestamp",namespace:"Google.Protobuf.WellKnownTypes",namespaceAlias:"WellKnownProto"})})})}));m(this,"WireMock",j({Server:()=>this.csharp.classReference({name:"WireMockServer",namespace:"WireMock.Server"}),WireMockServerSettings:()=>this.csharp.classReference({name:"WireMockServerSettings",namespace:"WireMock.Settings"}),WireMockConsoleLogger:()=>this.csharp.classReference({name:"WireMockConsoleLogger",namespace:"WireMock.Logging"})}));m(this,"Grpc",j({Core:()=>j({RpcException:()=>this.csharp.classReference({name:"RpcException",namespace:"Grpc.Core"})})}));this.generation=t}get csharp(){return this.generation.csharp}};n();a();s();var iu=new Set(["name","camelCase","snakeCase","screamingSnakeCase","pascalCase"]);function Jd(e,t){return iu.has(t)?e??"":e?`${e}.${t}`:t}var _a=class{constructor(t,r){m(this,"generation");m(this,"indexByObject",new Map);m(this,"indexByPath",new Map);m(this,"explicitByObject",new Map);m(this,"explicitByPath",new Map);m(this,"root");m(this,"ir");this.generation=r,this.root=this.createIndex(t),this.ir=t}get csharp(){return this.generation.csharp}get registry(){return this.generation.registry}createIndex(t,r="",i){let o=Jd(i?.jsonPath,r);if(this.indexByPath.has(o)){i||re(`Parent provenance not found for node: ${JSON.stringify(t).substring(0,100)}`),this.indexByObject.set(t,i);let d=iu.has(r);for(let[y,g]of Object.entries(t))typeof g=="object"&&g!==null&&(d&&iu.has(y)?this.indexByObject.set(g,i):this.createIndex(g,y,i));return i}let c={jsonPath:o,name:r,node:t,parent:i};this.indexByObject.set(t,c),this.indexByPath.set(o,c);for(let[d,y]of Object.entries(t))typeof y=="object"&&y!==null&&this.createIndex(y,d,c);return c}staticExplicit(t){return this.explicit(this.ir,t)}explicit(t,r){let i=this.provenance(t)??re(`Provenance not found for node: ${JSON.stringify(t).substring(0,100)}`),o={...i,jsonPath:`${i.jsonPath}+${r}`,name:r,node:i.node,parent:i,explicit:!0},c=this.explicitByObject.get(i.node);return c?c.add(o):this.explicitByObject.set(i.node,new Set([o])),this.explicitByPath.set(o.jsonPath,o),o}provenance(t){if(t!==void 0)return C.string(t)?this.explicitByPath.get(t)??this.indexByPath.get(t):C.Provenance(t)?this.explicitByPath.get(t.jsonPath)??this.indexByPath.get(t.jsonPath):this.indexByObject.get(t)}origin(t){let r=this.provenance(t);return r?.explicit?r:r?.node}irNode(t){return this.provenance(t)?.node}jsonPath(t){return this.provenance(t)?.jsonPath}getEnumValueName(t,r){let i=C.IR.ExampleEnumType(r)?r.value:r,o=t.values.find(c=>this.nameEquals(c.name,i));return o?this.getPropertyNameFor(o):re(`Unexpected - can't find enum value ${JSON.stringify(i)} in enum`)}getPropertyNameFor(t){let r=this.registry.getFieldNameByOrigin(t);if(r)return r;if(C.Provenance(t))return t.name;if("name"in t){if(C.IR.NameAndWireValue(t.name))return this.generation.case.pascalSafe(t.name);if(C.IR.Name(t.name))return this.generation.case.pascalSafe(t.name);if(typeof t.name=="string")return this.generation.case.pascalSafe(t.name)}if("pascalCase"in t)return this.generation.case.pascalSafe(t);throw new Error(`Unknown property type: ${this.jsonPath(t)}`)}getClassNameFor(t){if(C.Provenance(t))return t.name;if("name"in t){if(C.IR.TypeDeclaration(t))return this.generation.case.pascalSafe(t.name.name);if(C.IR.NameAndWireValue(t.name))return this.generation.case.pascalSafe(t.name);if(C.IR.Name(t.name))return this.generation.case.pascalSafe(t.name);if(typeof t.name=="string")return this.generation.case.pascalSafe(t.name)}if("pascalCase"in t)return this.generation.case.pascalSafe(t);throw new Error(`Unknown property type: ${JSON.stringify(t)}`)}nameEquals(t,r){return this.generation.case.camelSafe(t)===this.generation.case.camelSafe(r)}dereferenceType(t){let r=C.string(t)?t:C.IR.NamedType(t)||C.IR.DeclaredTypeName(t)?t.typeId:C.IR.ExampleNamedType(t)?t.typeName.typeId:t.name.typeId,i=this.irNode(this.ir.types[r]);if(C.IR.TypeDeclaration(i))return{typeId:r,typeDeclaration:i};re(`dereferenceType: typeId ${r} not resolved.`)}};function ka(...e){return e.filter(Boolean).join("/")}var Xi=class{constructor(t,r,i,o,c={makeRelativeFilePath:d=>d,makeAbsoluteFilePath:d=>d,getNamespaceForTypeId:d=>"",getDirectoryForTypeId:d=>"",getCoreAsIsFiles:()=>[],getCoreTestAsIsFiles:()=>[],getPublicCoreAsIsFiles:()=>[],getAsyncCoreAsIsFiles:()=>[],getChildNamespaceSegments:d=>[]}){m(this,"intermediateRepresentation");m(this,"apiName");m(this,"customConfig");m(this,"generatorConfig");m(this,"support");m(this,"ir");m(this,"dir");m(this,"csharp",new Pa(this));m(this,"registry",new Jr(this));m(this,"model");m(this,"case");m(this,"extern",new Ca(this));m(this,"settings",j({namespace:()=>this.customConfig.namespace??bn(xn(`${this.generatorConfig.organization}_${this.apiName}`)),readOnlyMemoryTypes:()=>this.customConfig["read-only-memory-types"]??[],simplifyObjectDictionaries:()=>this.customConfig["simplify-object-dictionaries"]??!1,useFullyQualifiedNamespaces:()=>this.customConfig["experimental-fully-qualified-namespaces"]??!1,useDotnetFormat:()=>this.customConfig["experimental-dotnet-format"]??!1,enableWebsockets:()=>this.customConfig["experimental-enable-websockets"]??!1,enableReadonlyConstants:()=>this.customConfig["experimental-readonly-constants"]??!1,generateLiterals:()=>this.customConfig["generate-literals"]??this.customConfig["experimental-readonly-constants"]??!1,enableExplicitNullableOptional:()=>this.customConfig["experimental-explicit-nullable-optional"]??!1,useDefaultRequestParameterValues:()=>this.customConfig["use-default-request-parameter-values"]??!1,redactResponseBodyOnError:()=>this.customConfig["redact-response-body-on-error"]??!1,temporaryWebsocketEnvironments:()=>this.customConfig["temporary-websocket-environments"]??{},baseApiExceptionClassName:()=>this.customConfig["base-api-exception-class-name"]??"",baseExceptionClassName:()=>this.customConfig["base-exception-class-name"]??"",shouldGeneratedDiscriminatedUnions:()=>this.customConfig["use-discriminated-unions"]??!0,shouldGenerateUndiscriminatedUnions:()=>this.customConfig["use-undiscriminated-unions"]??!1,exportedClientClassName:()=>this.customConfig["exported-client-class-name"]??"",clientClassName:()=>this.customConfig["client-class-name"]??"",rootNamespaceForCoreClasses:()=>this.customConfig["root-namespace-for-core-classes"]??!0,packageId:()=>this.customConfig["package-id"]??"",isForwardCompatibleEnumsEnabled:()=>this.customConfig["enable-forward-compatible-enums"]??this.customConfig["experimental-enable-forward-compatible-enums"]??!0,websocketEnvironments:()=>this.customConfig["temporary-websocket-environments"]??{},customPagerName:()=>this.customConfig["custom-pager-name"]??"",environmentClassName:()=>this.customConfig["environment-class-name"]??"",generateErrorTypes:()=>this.customConfig["generate-error-types"]??!0,shouldInlinePathParameters:()=>this.customConfig["inline-path-parameters"]??!0,includeExceptionHandler:()=>this.customConfig["include-exception-handler"]??!1,exceptionInterceptorClassName:()=>this.customConfig["exception-interceptor-class-name"]??"",shouldGenerateMockServerTests:()=>this.customConfig["generate-mock-server-tests"]??this.customConfig["enable-wire-tests"]??!0,rootClientAccess:()=>this.customConfig["root-client-class-access"]=="internal"?ne.Internal:ne.Public,extraDependencies:()=>this.customConfig["extra-dependencies"]??{},omitFernHeaders:()=>this.customConfig["omit-fern-headers"]??!1,unifiedClientOptions:()=>this.customConfig["unified-client-options"]??!1,pascalCaseEnvironments:()=>this.customConfig["pascal-case-environments"]??!0,slnFormat:()=>this.customConfig["sln-format"]??"slnx",explicitNamespaces:()=>this.customConfig["explicit-namespaces"]===!0,maxRetries:()=>this.customConfig.maxRetries,outputPath:()=>{let t=this.customConfig["output-path"];return t==null?{library:"src",test:"src",solution:".",other:"."}:typeof t=="string"?{library:t,test:t,solution:".",other:"."}:{library:t.library??"src",test:t.test??"src",solution:t.solution??".",other:t.other??"."}}}));m(this,"constants",{folders:j({mockServerTests:()=>this.support.makeRelativeFilePath("Unit/MockServer"),types:()=>"Types",exceptions:()=>"Exceptions",src:()=>"src",protobuf:()=>"proto",serializationTests:()=>this.support.makeRelativeFilePath("Unit/Serialization"),project:()=>this.support.makeRelativeFilePath(ka(this.constants.folders.sourceFiles,this.support.makeRelativeFilePath(this.names.files.project))),sourceFiles:()=>this.support.makeRelativeFilePath(this.constants.folders.src),coreFiles:()=>this.support.makeRelativeFilePath(ka(this.constants.folders.project,this.support.makeRelativeFilePath(this.constants.defaults.core))),publicCoreFiles:()=>this.support.makeRelativeFilePath(ka(this.constants.folders.project,this.support.makeRelativeFilePath(this.constants.defaults.core),this.support.makeRelativeFilePath(this.constants.defaults.publicCore))),testFiles:()=>this.support.makeRelativeFilePath(ka(this.constants.folders.sourceFiles,this.support.makeRelativeFilePath(this.names.files.testProject)))}),formatting:j({indent:()=>" "}),defaults:j({core:()=>"Core",publicCore:()=>"Public",version:()=>"0.0.0"})});m(this,"namespaces",j({root:()=>this.settings.namespace,core:()=>`${this.namespaces.root}.Core`,qualifiedRoot:()=>this.qualifyNamespace(this.namespaces.root),qualifiedCore:()=>this.qualifyNamespace(this.namespaces.core),test:()=>this.registry.canonicalizeNamespace(`${this.namespaces.root}.Test`),testUtils:()=>`${this.namespaces.test}.Utils`,mockServerTest:()=>`${this.namespaces.test}.Unit.MockServer`,publicCore:()=>this.namespaces.root,webSocketsCore:()=>`${this.namespaces.core}.WebSockets`,publicCoreTest:()=>`${this.namespaces.root}.Test.PublicCore`,asIsTestUtils:()=>`${this.namespaces.root}.Test.Utils`,publicCoreClasses:()=>this.settings.rootNamespaceForCoreClasses?this.namespaces.root:this.namespaces.core,implicit:()=>new Set(["System","System.Collections.Generic","System.IO","System.Linq","System.Threading","System.Threading.Tasks","System.Net.Http"])}));m(this,"names",{classes:j({baseApiException:()=>this.settings.baseApiExceptionClassName||`${this.names.project.clientPrefix}ApiException`,baseException:()=>this.settings.baseExceptionClassName||`${this.names.project.clientPrefix}Exception`,rootClient:()=>this.settings.clientClassName||`${this.names.project.clientPrefix}Client`,rootClientForSnippets:()=>this.settings.exportedClientClassName||this.names.classes.rootClient,customPager:()=>this.settings.customPagerName||`${this.names.project.packageId.replace(/[^a-zA-Z0-9]/g,"")}Pager`,environment:()=>this.settings.environmentClassName||`${this.names.project.clientPrefix}Environment`,exceptionInterceptor:()=>this.settings.exceptionInterceptorClassName||`${this.names.project.packageId.replace(/[^a-zA-Z0-9]/g,"")}ExceptionInterceptor`}),project:j({client:()=>bn(xn(`${this.generatorConfig.organization}_${this.generatorConfig.workspaceName}`)),clientPrefix:()=>this.settings.exportedClientClassName||this.settings.clientClassName||this.names.project.client,packageId:()=>this.settings.packageId||this.namespaces.root}),files:j({project:()=>this.namespaces.root,testProject:()=>`${this.namespaces.root}.Test`}),methods:j({mockOauth:()=>"MockOAuthEndpoint",mockInferredAuth:()=>"MockInferredAuthEndpoint",getAccessTokenAsync:()=>"GetAccessTokenAsync",getAuthHeadersAsync:()=>"GetAuthHeadersAsync"}),variables:j({client:()=>"client",response:()=>"response",httpRequest:()=>"httpRequest",sendRequest:()=>"sendRequest",responseBody:()=>"responseBody",query:()=>"_query",headers:()=>"_headers"}),parameters:j({cancellationToken:()=>"cancellationToken",requestOptions:()=>"options",idempotentOptions:()=>"options"})});m(this,"Types",j({Arbitrary:t=>new q.ArbitraryType(t,this),HttpMethodExtensions:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("HttpMethodExtensions")}),FormRequest:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("FormRequest")}),Optional:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("Optional")}),ClientOptions:()=>this.csharp.classReference({origin:this.model.staticExplicit("ClientOptions"),namespace:this.namespaces.publicCoreClasses}),RawClient:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("RawClient")}),RequestOptions:()=>this.csharp.classReference({namespace:this.namespaces.publicCoreClasses,origin:this.model.staticExplicit("RequestOptions")}),RequestOptionsInterface:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("IRequestOptions")}),JsonRequest:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("JsonRequest")}),Version:()=>this.csharp.classReference({namespace:this.namespaces.publicCore,origin:this.model.staticExplicit("Version")}),ValueConvert:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("ValueConvert")}),FileParameter:()=>this.csharp.classReference({namespace:this.namespaces.publicCore,origin:this.model.staticExplicit("FileParameter"),multipartMethodName:"AddFileParameterPart",multipartMethodNameForCollection:"AddFileParameterParts",isReferenceType:!0}),Headers:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("Headers")}),HeaderValue:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("HeaderValue")}),RootClient:()=>this.csharp.classReference({origin:this.model.staticExplicit(this.names.classes.rootClient),namespace:this.namespaces.root}),RootClientForSnippets:()=>this.csharp.classReference({origin:this.model.staticExplicit(this.names.classes.rootClientForSnippets),namespace:this.namespaces.root}),BaseApiException:()=>this.csharp.classReference({origin:this.model.staticExplicit(this.names.classes.baseApiException),namespace:this.namespaces.publicCoreClasses}),BaseException:()=>this.csharp.classReference({origin:this.model.staticExplicit(this.names.classes.baseException),namespace:this.namespaces.publicCoreClasses}),ExceptionInterceptor:()=>this.csharp.classReference({origin:this.model.staticExplicit("IExceptionInterceptor"),namespace:this.namespaces.core}),ExceptionHandler:()=>this.csharp.classReference({origin:this.model.staticExplicit("ExceptionHandler"),namespace:this.namespaces.core}),CustomExceptionInterceptor:()=>this.csharp.classReference({origin:this.model.staticExplicit(this.names.classes.exceptionInterceptor),namespace:this.namespaces.core}),ProtoAnyMapper:()=>this.csharp.classReference({origin:this.model.staticExplicit("ProtoAnyMapper"),namespace:this.namespaces.core}),Constants:()=>this.csharp.classReference({origin:this.model.staticExplicit("Constants"),namespace:this.namespaces.core}),DateTimeSerializer:()=>this.csharp.classReference({origin:this.model.staticExplicit("DateTimeSerializer"),namespace:this.namespaces.core}),JsonUtils:()=>this.csharp.classReference({origin:this.model.staticExplicit("JsonUtils"),namespace:this.namespaces.core}),JsonAssert:()=>this.csharp.classReference({origin:this.model.staticExplicit("JsonAssert"),namespace:this.namespaces.testUtils}),CustomPagerFactory:()=>this.csharp.classReference({origin:this.model.staticExplicit(`${this.names.classes.customPager}Factory`),namespace:this.namespaces.core}),CustomPagerContext:()=>this.csharp.classReference({origin:this.model.staticExplicit(`${this.names.classes.customPager}Context`),namespace:this.namespaces.core}),Environments:()=>this.csharp.classReference({origin:this.model.staticExplicit(this.names.classes.environment),namespace:this.namespaces.publicCoreClasses}),TestClient:()=>this.csharp.classReference({origin:this.model.staticExplicit("TestClient"),namespace:this.namespaces.test}),BaseMockServerTest:()=>this.csharp.classReference({origin:this.model.staticExplicit("BaseMockServerTest"),namespace:this.namespaces.mockServerTest}),IdempotentRequestOptions:()=>this.csharp.classReference({origin:this.model.staticExplicit("IdempotentRequestOptions"),namespace:this.namespaces.publicCoreClasses}),IdempotentRequestOptionsInterface:()=>this.csharp.classReference({origin:this.model.staticExplicit("IIdempotentRequestOptions"),namespace:this.namespaces.core}),IStringEnum:()=>this.csharp.classReference({origin:this.model.staticExplicit("IStringEnum"),namespace:this.namespaces.core}),WebSocketClient:()=>this.csharp.classReference({origin:this.model.staticExplicit("WebSocketClient"),namespace:this.namespaces.webSocketsCore}),QueryBuilder:()=>this.csharp.classReference({origin:this.model.staticExplicit("Query"),namespace:this.namespaces.webSocketsCore}),QueryStringBuilder:()=>this.csharp.classReference({origin:this.model.staticExplicit("QueryStringBuilder"),namespace:this.namespaces.core}),QueryStringBuilderBuilder:()=>this.csharp.classReference({origin:this.model.staticExplicit("QueryStringBuilder.Builder"),namespace:this.namespaces.core}),OAuthTokenProvider:()=>this.csharp.classReference({origin:this.model.staticExplicit("OAuthTokenProvider"),namespace:this.namespaces.core}),InferredAuthTokenProvider:()=>this.csharp.classReference({origin:this.model.staticExplicit("InferredAuthTokenProvider"),namespace:this.namespaces.core}),ProtoConverter:()=>this.csharp.classReference({origin:this.model.staticExplicit("ProtoConverter"),namespace:this.namespaces.core}),RawGrpcClient:()=>this.csharp.classReference({origin:this.model.staticExplicit("RawGrpcClient"),namespace:this.namespaces.core}),Extensions:()=>this.csharp.classReference({origin:this.model.staticExplicit("Extensions"),namespace:this.namespaces.core}),GrpcRequestOptions:()=>this.csharp.classReference({origin:this.model.staticExplicit("GrpcRequestOptions"),namespace:this.namespaces.root}),GrpcChannelOptions:()=>this.csharp.classReference({origin:this.model.staticExplicit("GrpcChannelOptions"),namespace:"Grpc.Net.Client"}),StringEnum:t=>this.csharp.classReference({origin:this.model.staticExplicit("StringEnum"),namespace:this.namespaces.core,generics:t?[t]:void 0}),WebSocketEvent:t=>this.csharp.classReference({origin:this.model.staticExplicit("Event"),namespace:this.namespaces.webSocketsCore,generics:[t]}),ConnectionStatus:()=>this.csharp.classReference({origin:this.model.staticExplicit("ConnectionStatus"),namespace:this.namespaces.webSocketsCore}),WebSocketConnected:()=>this.csharp.classReference({origin:this.model.staticExplicit("Connected"),namespace:this.namespaces.webSocketsCore}),WebSocketClosed:()=>this.csharp.classReference({origin:this.model.staticExplicit("Closed"),namespace:this.namespaces.webSocketsCore}),ReconnectionInfo:()=>this.csharp.classReference({origin:this.model.staticExplicit("ReconnectionInfo"),namespace:this.namespaces.webSocketsCore}),CustomPagerClass:t=>this.csharp.classReference({origin:this.model.staticExplicit(this.names.classes.customPager),namespace:this.namespaces.core,generics:[t]}),Pager:t=>this.csharp.classReference({origin:this.model.staticExplicit("Pager"),namespace:this.namespaces.core,generics:[t]}),OffsetPager:({requestType:t,requestOptionsType:r,responseType:i,offsetType:o,stepType:c,itemType:d})=>this.csharp.classReference({origin:this.model.staticExplicit("OffsetPager"),namespace:this.namespaces.core,generics:[t,r,i,o,c,d]}),CursorPager:({requestType:t,requestOptionsType:r,responseType:i,cursorType:o,itemType:c})=>this.csharp.classReference({origin:this.model.staticExplicit("CursorPager"),namespace:this.namespaces.core,generics:[t,r,i,o,c]}),CollectionItemSerializer:(t,r)=>this.csharp.classReference({origin:this.model.staticExplicit("CollectionItemSerializer"),namespace:this.namespaces.core,generics:[t,r]}),OneOfSerializer:t=>this.csharp.classReference({origin:this.model.staticExplicit("OneOfSerializer"),namespace:this.namespaces.core,generics:[t]}),AdditionalProperties:t=>this.csharp.classReference({origin:this.model.staticExplicit("AdditionalProperties"),namespace:this.namespaces.publicCore,generics:t?[t]:void 0}),ReadOnlyAdditionalProperties:t=>this.csharp.classReference({origin:this.model.staticExplicit("ReadOnlyAdditionalProperties"),namespace:this.namespaces.publicCore,generics:t?[t]:void 0})}));m(this,"Primitive",j({string:()=>new q.String(this),boolean:()=>new q.Boolean(this),integer:()=>new q.Integer(this),long:()=>new q.Long(this),uint:()=>new q.Uint(this),ulong:()=>new q.ULong(this),float:()=>new q.Float(this),double:()=>new q.Double(this),object:()=>new q.Object(this)}));m(this,"Value",j({binary:()=>new Ie.Binary(this),dateOnly:()=>new Ie.DateOnly(this),dateTime:()=>new Ie.DateTime(this),uuid:()=>new Ie.Uuid(this),stringEnum:t=>new Ie.StringEnum(t,this)}));m(this,"Collection",j({array:t=>new se.Array(t,this),listType:t=>new se.ListType(t,this),list:t=>new se.List(t,this),set:t=>new se.Set(t,this),map:(t,r,i)=>new se.Map(t,r,this,i),idictionary:(t,r,i)=>new se.IDictionary(t,r,this,i),keyValuePair:(t,r)=>new se.KeyValuePair(t,r,this)}));m(this,"format",j({private:t=>`_${Sn.camelCase(t)}`}));m(this,"initializers",j({implicitNamespaces:()=>{for(let t of this.namespaces.implicit)this.registry.addImplicitNamespace(t);return!0}}));this.intermediateRepresentation=t,this.apiName=r,this.customConfig=i,this.generatorConfig=o,this.support=c;let d=C.IR.IntermediateRepresentation(t)?t.casingsConfig:void 0;this.case=new Yi({generationLanguage:"csharp",keywords:d?.keywords,smartCasing:d?.smartCasing??!0}),this.model=new _a(t,this),this.ir=C.IR.IntermediateRepresentation(t)?t:{},this.dir=C.DynamicIR.DynamicIntermediateRepresentation(t)?t:{}}initialize(){return this.initializers.implicitNamespaces}get System(){return this.extern.System}get NUnit(){return this.extern.NUnit}get OneOf(){return this.extern.OneOf}get Google(){return this.extern.Google}get Grpc(){return this.extern.Grpc}get WireMock(){return this.extern.WireMock}qualifyNamespace(t){let r=t.split(".")[0];return r&&this.registry.hasTypeNamespaceConflict(r)?`global::${t}`:t}};n();a();s();var Ue=class{constructor(t){m(this,"generation");this.generation=t}get csharp(){return this.generation.csharp}get case(){return this.generation.case}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 model(){return this.generation.model}get format(){return this.generation.format}get registry(){return this.generation.registry}get Types(){return this.generation.Types}get System(){return this.generation.extern.System}get NUnit(){return this.generation.extern.NUnit}get OneOf(){return this.generation.extern.OneOf}get Google(){return this.generation.extern.Google}get Grpc(){return this.generation.extern.Grpc}get WireMock(){return this.generation.extern.WireMock}get Primitive(){return this.generation.Primitive}get Value(){return this.generation.Value}get Collection(){return this.generation.Collection}};n();a();s();var Fa=class extends Ue{constructor({context:r}){super(r.generation);m(this,"context");this.context=r}convert(r){if(r.value===null)return this.context.isNullable(r.typeReference)?this.csharp.Literal.null():(this.context.errors.add({severity:v.Critical,message:"Expected non-null value, but got null"}),this.csharp.Literal.nop());if(r.value===void 0&&!r.fallbackToDefault)return this.csharp.Literal.nop();switch(r.typeReference.type){case"list":return this.convertList({list:r.typeReference.value,value:r.value,fallbackToDefault:r.fallbackToDefault});case"literal":return this.convertLiteral({literal:r.typeReference.value,value:r.value});case"map":return this.convertMap({map:r.typeReference,value:r.value,fallbackToDefault:r.fallbackToDefault});case"named":{let i=this.context.resolveNamedType({typeId:r.typeReference.value});return i==null?this.csharp.Literal.nop():this.convertNamed({named:i,value:r.value,as:r.as,fallbackToDefault:r.fallbackToDefault})}case"nullable":return this.convert({typeReference:r.typeReference.value,value:r.value,as:r.as});case"optional":return this.convert({typeReference:r.typeReference.value,value:r.value,as:r.as});case"primitive":return this.convertPrimitive({primitive:r.typeReference.value,value:r.value,as:r.as,fallbackToDefault:r.fallbackToDefault});case"set":return this.convertSet({set:r.typeReference.value,value:r.value,fallbackToDefault:r.fallbackToDefault});case"unknown":return this.convertUnknown({value:r.value,fallbackToDefault:r.fallbackToDefault});default:Q(r.typeReference)}}convertList({list:r,value:i,fallbackToDefault:o}){return Array.isArray(i)?this.csharp.Literal.list({valueType:this.context.dynamicTypeMapper.convert({typeReference:r,unboxOptionals:!0}),values:i.map((c,d)=>{this.context.errors.scope({index:d});try{return this.convert({typeReference:r,value:c})}finally{this.context.errors.unscope()}})}):(this.context.errors.add({severity:v.Critical,message:`Expected array but got: ${typeof i}`}),this.csharp.Literal.nop())}convertLiteral({literal:r,value:i,fallbackToDefault:o}){switch(r.type){case"boolean":{let c=this.context.getValueAsBoolean({value:i});return c==null?this.csharp.Literal.nop():this.csharp.Literal.boolean(c)}case"string":{let c=this.context.getValueAsString({value:i});return c==null?o?this.Primitive.string.getDeterminsticDefault(o):this.csharp.Literal.nop():this.csharp.Literal.string(c)}default:Q(r)}}convertSet({set:r,value:i,fallbackToDefault:o}){return Array.isArray(i)?this.csharp.Literal.set({valueType:this.context.dynamicTypeMapper.convert({typeReference:r,unboxOptionals:!0}),values:i.map((c,d)=>{this.context.errors.scope({index:d});try{return this.convert({typeReference:r,value:c})}finally{this.context.errors.unscope()}})}):(this.context.errors.add({severity:v.Critical,message:`Expected array but got: ${typeof i}`}),this.csharp.Literal.nop())}convertMap({map:r,value:i,fallbackToDefault:o}){return typeof i!="object"||i==null?(this.context.errors.add({severity:v.Critical,message:`Expected object but got: ${i==null?"null":typeof i}`}),this.csharp.Literal.nop()):this.csharp.Literal.dictionary({keyType:this.context.dynamicTypeMapper.convert({typeReference:r.key}),valueType:r.value.type==="unknown"?this.context.dynamicTypeMapper.convert({typeReference:r.value}).asOptional():this.context.dynamicTypeMapper.convert({typeReference:r.value}),entries:Object.entries(i).map(([c,d])=>{this.context.errors.scope(c);try{return{key:this.convert({typeReference:r.key,value:c,as:"key"}),value:this.convert({typeReference:r.value,value:d})}}finally{this.context.errors.unscope()}})})}convertNamed({named:r,value:i,as:o,fallbackToDefault:c}){switch(r.type){case"alias":return this.convert({typeReference:r.typeReference,value:i,as:o,fallbackToDefault:c});case"discriminatedUnion":return this.settings.shouldGeneratedDiscriminatedUnions?this.convertDiscriminatedUnion({discriminatedUnion:r,value:i,fallbackToDefault:c}):this.convertUnknown({value:i,fallbackToDefault:c});case"enum":return this.getEnumValue(r,i);case"object":return this.convertObject({object_:r,value:i,fallbackToDefault:c});case"undiscriminatedUnion":return this.convertUndiscriminatedUnion({undiscriminatedUnion:r,value:i,fallbackToDefault:c});default:Q(r)}}convertDiscriminatedUnion({discriminatedUnion:r,value:i,fallbackToDefault:o}){let c=this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),d=this.context.resolveDiscriminatedUnionTypeInstance({discriminatedUnion:r,value:i});if(d==null)return this.csharp.Literal.nop();let y=d.singleDiscriminatedUnionType,g=this.getBaseProperties({discriminatedUnionTypeInstance:d,singleDiscriminatedUnionType:y});switch(y.type){case"samePropertiesAsObject":{let x=this.context.resolveNamedType({typeId:y.typeId});return x==null?this.csharp.Literal.nop():this.instantiateUnionWithBaseProperties({classReference:c,baseProperties:g,arguments_:[this.convertNamed({named:x,value:d.value})]})}case"singleProperty":{if(this.context.getRecord(d.value)==null)return this.csharp.Literal.nop();try{let S=["Value","Type"].includes(y.discriminantValue.name.pascalCase.safeName)?`${y.discriminantValue.name.pascalCase.safeName}Inner`:y.discriminantValue.name.pascalCase.safeName;return this.context.errors.scope(y.discriminantValue.wireValue),this.instantiateUnionWithBaseProperties({classReference:c,baseProperties:g,arguments_:[this.csharp.instantiateClass({classReference:this.csharp.classReference({name:S,enclosingType:c}),arguments_:[this.convert({typeReference:y.typeReference,value:y.discriminantValue.wireValue})]})]})}finally{this.context.errors.unscope()}}case"noProperties":return this.instantiateUnionWithBaseProperties({classReference:c,baseProperties:g,arguments_:[this.csharp.instantiateClass({classReference:this.csharp.classReference({origin:d.discriminantValue,enclosingType:c}),arguments_:[]})]});default:Q(y)}}getBaseProperties({discriminatedUnionTypeInstance:r,singleDiscriminatedUnionType:i}){return this.context.associateByWireValue({parameters:i.properties??[],values:this.context.getRecord(r.value)??{},ignoreMissingParameters:!0}).map(c=>{this.context.errors.scope(c.name.wireValue);try{return{name:this.context.getPropertyName(c.name.name),assignment:this.convert(c)}}finally{this.context.errors.unscope()}})}instantiateUnionWithBaseProperties({classReference:r,arguments_:i,baseProperties:o}){let c=this.csharp.instantiateClass({classReference:r,arguments_:i,multiline:!0});return o.length===0?this.csharp.Literal.reference(c):this.csharp.Literal.reference(this.csharp.codeblock(d=>{d.write(c," "),d.pushScope();for(let y of o)d.write(y.name," = ",y.assignment,",");d.popScope(!1)}))}getEnumValue(r,i){if(typeof i!="string")return this.context.errors.add({severity:v.Critical,message:`Expected enum value string, got: ${typeof i}`}),this.csharp.Literal.nop();let o=r.values.find(y=>y.wireValue===i);if(o==null)return this.context.errors.add({severity:v.Critical,message:`An enum value named "${i}" does not exist in this context`}),this.csharp.Literal.nop();let c=this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),d=c.registerField(this.model.getPropertyNameFor(o),o);return this.csharp.Literal.reference(this.csharp.enumInstantiation({reference:c,value:d}))}convertObject({object_:r,value:i,fallbackToDefault:o}){let c=this.context.getRecord(i)??{},y=this.context.associateByWireValue({parameters:r.properties,values:c}).map(x=>{this.context.errors.scope(x.name.wireValue);try{return{name:this.context.getClassName(x.name.name),value:this.convert(x)}}finally{this.context.errors.unscope()}}),g=new Set(Object.keys(c));for(let x of r.properties){let S=this.context.getClassName(x.name.name);if(g.has(x.name.wireValue)){if(this.isRequiredProperty(x.typeReference)){let A=y.find(O=>O.name===S);if(A!=null&&C.Literal.nop(A.value)){let O=this.getDefaultLiteralForType(x.typeReference);O!=null&&(A.value=O)}}continue}if(this.isRequiredProperty(x.typeReference)){let A=this.getDefaultLiteralForType(x.typeReference);A!=null&&y.push({name:S,value:A})}}return this.csharp.Literal.class_({reference:this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),fields:y})}isRequiredProperty(r){return!(this.context.isOptional(r)||this.context.isNullable(r)||r.type==="list"||r.type==="set"||r.type==="map")}getDefaultLiteralForType(r,i){switch(r.type){case"primitive":return this.getDefaultLiteralForPrimitive(r.value);case"literal":return this.convertLiteral({literal:r.value,value:r.value.value});case"named":{let o=this.context.resolveNamedType({typeId:r.value});if(o==null)return;if(o.type==="alias")return this.getDefaultLiteralForType(o.typeReference,i);if(o.type==="enum"&&o.values.length>0){let c=o.values[0];if(c!=null)return this.getEnumValue(o,c.wireValue)}return o.type==="undiscriminatedUnion"?this.getDefaultLiteralForUndiscriminatedUnion(o,i):o.type==="object"?this.getDefaultLiteralForObject(o,r.value,i):void 0}default:return}}getDefaultLiteralForObject(r,i,o){let c=o??new Set;if(c.has(i))return;c.add(i);let d=[];for(let y of r.properties)if(this.isRequiredProperty(y.typeReference)){let g=this.getDefaultLiteralForType(y.typeReference,c);g!=null&&d.push({name:this.context.getClassName(y.name.name),value:g})}return c.delete(i),this.csharp.Literal.class_({reference:this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),fields:d})}getDefaultLiteralForUndiscriminatedUnion(r,i){for(let o of r.types){let c=this.getDefaultLiteralForType(o,i);if(c!=null)return c}}getDefaultLiteralForPrimitive(r){switch(r){case"INTEGER":return this.csharp.Literal.integer(0);case"LONG":return this.csharp.Literal.long(0);case"UINT":return this.csharp.Literal.uint(0);case"UINT_64":return this.csharp.Literal.ulong(0);case"FLOAT":return this.csharp.Literal.float(0);case"DOUBLE":return this.csharp.Literal.double(0);case"BOOLEAN":return this.csharp.Literal.boolean(!1);case"STRING":case"UUID":case"BASE_64":case"BIG_INTEGER":return this.csharp.Literal.string("");case"DATE":return this.csharp.Literal.date("0001-01-01");case"DATE_TIME":case"DATE_TIME_RFC_2822":return this.csharp.Literal.datetime("0001-01-01T00:00:00.000Z");default:Q(r)}}convertUndiscriminatedUnion({undiscriminatedUnion:r,value:i,fallbackToDefault:o}){let c=this.findMatchingUndiscriminatedUnionType({undiscriminatedUnion:r,value:i});return c==null?this.csharp.Literal.nop():c.typeLiteral}findMatchingUndiscriminatedUnionType({undiscriminatedUnion:r,value:i}){for(let o of r.types){let c=this.context.errors.size();try{let d=this.convert({typeReference:o,value:i});if(C.Literal.nop(d)||this.context.errors.size()>c){this.context.errors.truncate(c);continue}return{valueTypeReference:o,typeLiteral:d}}catch{this.context.errors.truncate(c);continue}}this.context.errors.add({severity:v.Critical,message:`None of the types in the undiscriminated union matched the given "${typeof i}" value`})}convertUnknown({value:r,fallbackToDefault:i}){return this.csharp.Literal.unknown(r)}convertPrimitive({primitive:r,value:i,as:o,fallbackToDefault:c}){switch(r){case"INTEGER":{let d=this.getValueAsNumber({value:i,as:o});return d==null?c?this.Primitive.integer.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.integer(d)}case"LONG":{let d=this.getValueAsNumber({value:i,as:o});return d==null?c?this.Primitive.long.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.long(d)}case"UINT":{let d=this.getValueAsNumber({value:i,as:o});return d==null?c?this.Primitive.uint.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.uint(d)}case"UINT_64":{let d=this.getValueAsNumber({value:i,as:o});return d==null?c?this.Primitive.ulong.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.ulong(d)}case"FLOAT":{let d=this.getValueAsNumber({value:i,as:o});return d==null?c?this.Primitive.float.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.float(d)}case"DOUBLE":{let d=this.getValueAsNumber({value:i,as:o});return d==null?c?this.Primitive.double.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.double(d)}case"BOOLEAN":{let d=this.getValueAsBoolean({value:i,as:o});return d==null?c?this.Primitive.boolean.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.boolean(d)}case"STRING":{let d=this.context.getValueAsString({value:i});return d==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(d)}case"DATE":{let d=this.context.getValueAsString({value:i});return d==null?c?this.Value.dateOnly.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.date(d)}case"DATE_TIME":case"DATE_TIME_RFC_2822":{let d=this.context.getValueAsString({value:i});return d==null?c?this.Value.dateTime.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.datetime(d)}case"UUID":{let d=this.context.getValueAsString({value:i});return d==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(d)}case"BASE_64":{let d=this.context.getValueAsString({value:i});return d==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(d)}case"BIG_INTEGER":{let d=this.context.getValueAsString({value:i});return d==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(d)}default:Q(r)}}getValueAsNumber({value:r,as:i}){let o=i==="key"&&typeof r=="string"?Number(r):r;return this.context.getValueAsNumber({value:o})}getValueAsBoolean({value:r,as:i}){let o=i==="key"?typeof r=="string"?r==="true":r==="false"?!1:r:r;return this.context.getValueAsBoolean({value:o})}};n();a();s();var La=class extends Ue{constructor({context:r}){super(r.generation);m(this,"context");this.context=r}convert(r){switch(r.typeReference.type){case"list":return this.Collection.list(this.convert({typeReference:r.typeReference.value,unboxOptionals:!0}));case"literal":return this.convertLiteral({literal:r.typeReference.value});case"map":return this.Collection.map(this.convert({typeReference:r.typeReference.key}),this.convert({typeReference:r.typeReference.value}));case"named":{let i=this.context.resolveNamedType({typeId:r.typeReference.value});return i==null?this.convertUnknown():this.convertNamed({named:i})}case"optional":case"nullable":{let i=this.convert({typeReference:r.typeReference.value});return r.unboxOptionals?i.asNonOptional():i.asOptional()}case"primitive":return this.convertPrimitive({primitive:r.typeReference.value});case"set":return this.Collection.set(this.convert({typeReference:r.typeReference.value,unboxOptionals:!0}));case"unknown":return this.convertUnknown();default:Q(r.typeReference)}}convertToClassReference(r){return this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)})}convertNamed({named:r}){switch(r.type){case"alias":return this.convert({typeReference:r.typeReference});case"enum":case"object":return this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)});case"discriminatedUnion":return this.settings.shouldGeneratedDiscriminatedUnions?this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}):this.Primitive.object;case"undiscriminatedUnion":return this.settings.shouldGenerateUndiscriminatedUnions?this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}):this.OneOf.OneOf(r.types.map(i=>this.convert({typeReference:i})));default:Q(r)}}convertLiteral({literal:r}){switch(r.type){case"boolean":return this.Primitive.boolean;case"string":return this.Primitive.string}}convertUnknown(){return this.Primitive.object}convertPrimitive({primitive:r}){switch(r){case"INTEGER":return this.Primitive.integer;case"UINT":return this.Primitive.uint;case"LONG":return this.Primitive.long;case"UINT_64":return this.Primitive.ulong;case"FLOAT":return this.Primitive.float;case"DOUBLE":return this.Primitive.double;case"BOOLEAN":return this.Primitive.boolean;case"STRING":return this.Primitive.string;case"DATE":return this.Value.dateOnly;case"DATE_TIME":case"DATE_TIME_RFC_2822":return this.Value.dateTime;case"UUID":return this.Primitive.string;case"BASE_64":return this.Primitive.string;case"BIG_INTEGER":return this.Primitive.string;default:Q(r)}}};n();a();s();var ja=class extends Ue{constructor({context:r}){super(r.generation);m(this,"context");this.context=r}getFilePropertyInfo({body:r,value:i}){let o={fileFields:[],bodyPropertyFields:[]},c=this.context.getRecord(i)??{};for(let d of r.properties)switch(d.type){case"file":C.Record.missingKey(c,d.wireValue)&&(c[d.wireValue]="[bytes]"),o.fileFields.push({name:this.context.getPropertyName(d.name),value:this.getSingleFileProperty({property:d,record:c})});break;case"fileArray":C.Record.missingKey(c,d.wireValue)&&(c[d.wireValue]=["[bytes]"]),o.fileFields.push({name:this.context.getPropertyName(d.name),value:this.getArrayFileProperty({property:d,record:c})});break;case"bodyProperty":if(C.Record.missingKey(c,d.name.wireValue))switch(d.typeReference.type){case"optional":break;case"primitive":{switch(d.typeReference.value.toLowerCase()){case"integer":{c[d.name.wireValue]=123;break}case"string":{c[d.name.wireValue]="[string]";break}case"boolean":{c[d.name.wireValue]=!0;break}case"double":{c[d.name.wireValue]=123.456;break}case"float":{c[d.name.wireValue]=123.456;break}case"long":{c[d.name.wireValue]=123456789;break}case"uint":{c[d.name.wireValue]=123;break}case"uint64":{c[d.name.wireValue]=12345;break}case"date":{c[d.name.wireValue]=new Date(2021,1,1);break}case"datetime":{c[d.name.wireValue]=new Date(2021,1,1,12,0,0);break}case"uuid":{c[d.name.wireValue]="123e4567-e89b-12d3-a456-426614174000";break}case"base64":{c[d.name.wireValue]="SGVsbG8gd29ybGQh";break}case"biginteger":{c[d.name.wireValue]="12345678901234567890";break}}break}default:break}o.bodyPropertyFields.push({name:this.context.getPropertyName(d.name.name),value:this.getBodyProperty({property:d,record:c})});break;default:Q(d)}return o}getSingleFileProperty({property:r,record:i}){let o=this.context.getSingleFileValue({property:r,record:i});return o==null?this.csharp.Literal.nop():this.context.getFileParameterForString(o)}getArrayFileProperty({property:r,record:i}){let o=this.context.getFileArrayValues({property:r,record:i});return o==null?this.csharp.Literal.nop():this.csharp.Literal.list({valueType:this.Types.FileParameter,values:o.map(c=>this.context.getFileParameterForString(c))})}getBodyProperty({property:r,record:i}){let o=i[r.name.wireValue];return o==null?this.csharp.Literal.nop():this.context.dynamicLiteralMapper.convert({typeReference:r.typeReference,value:o})}};var Da=class e extends pi{constructor({ir:r,config:i,options:o,generation:c}){super({ir:r,config:i,options:o});m(this,"ir");m(this,"dynamicTypeMapper");m(this,"dynamicLiteralMapper");m(this,"filePropertyMapper");m(this,"generation");this.ir=r,this.generation=c??new Xi(r,i.workspaceName,i.customConfig!=null?i.customConfig:{},i),this.dynamicTypeMapper=new La({context:this}),this.dynamicLiteralMapper=new Fa({context:this}),this.filePropertyMapper=new ja({context:this})}get namespaces(){return this.generation.namespaces}get registry(){return this.generation.registry}get settings(){return this.generation.settings}get constants(){return this.generation.constants}get names(){return this.generation.names}get model(){return this.generation.model}get format(){return this.generation.format}get csharp(){return this.generation.csharp}get Types(){return this.generation.Types}get System(){return this.generation.extern.System}get NUnit(){return this.generation.extern.NUnit}get OneOf(){return this.generation.extern.OneOf}get Google(){return this.generation.extern.Google}get WireMock(){return this.generation.extern.WireMock}get Primitive(){return this.generation.Primitive}get Value(){return this.generation.Value}get Collection(){return this.generation.Collection}clone(){return new e({ir:this.ir,config:this.config,options:this.options,generation:this.generation})}getFileParameterForString(r){return this.csharp.Literal.reference(this.csharp.instantiateClass({classReference:this.Types.FileParameter,arguments_:[],properties:[{name:"Stream",value:this.getMemoryStreamForString(r)}],multiline:!0}))}getMemoryStreamForString(r){return this.System.IO.MemoryStream.new({arguments_:[this.csharp.invokeMethod({on:this.System.Text.Encoding_UTF8,method:"GetBytes",arguments_:[this.csharp.Literal.string(r)]})]})}getClassName(r){return r.pascalCase.safeName}getParameterName(r){return r.camelCase.safeName}getPropertyName(r){return r.pascalCase.safeName}getMethodName(r){return`${r.pascalCase.safeName}Async`}getNamespace(r,i){let o=this.getNamespaceSegments(r);return o=i!=null?[...o,i]:o,[this.namespaces.root,...o].join(".")}getEnvironmentTypeReferenceFromID(r){let i=this.resolveEnvironmentName(r);if(i!=null)return this.getEnvironmentClassReferenceForEnumName(i)}getEnvironmentClassReferenceForEnumName(r){return this.csharp.classReference({name:`${this.generation.Types.Environments.name}.${this.getClassName(r)}`,namespace:this.namespaces.root})}getNamespaceSegments(r){return(this.settings.explicitNamespaces?r.allParts:r.packagePath).map(o=>o.pascalCase.safeName)}precalculate(r){this.generation.initialize(),this.System.Collections.Generic.KeyValuePair(),this.System.Collections.Generic.IEnumerable(),this.System.Collections.Generic.IAsyncEnumerable(),this.System.Collections.Generic.HashSet(),this.System.Collections.Generic.List(),this.System.Collections.Generic.Dictionary(),this.System.Threading.Tasks.Task(),Object.entries(this.ir.types).sort((i,o)=>i[0].length-o[0].length).forEach(([i,o])=>{this.dynamicTypeMapper.convertToClassReference(o)});for(let[i,o]of r.entries())if(this.csharp.classReference({origin:this.model.staticExplicit(`Example${i}`),namespace:"Usage"}),o.endpoint){let c=this.resolveEndpointLocation(o.endpoint);for(let d of c)switch(d.request.type){case"inlined":this.csharp.classReference({origin:d.request.declaration.name,namespace:this.getNamespace(d.request.declaration.fernFilepath)});break;case"body":break}}this.generation.Types.ClientOptions,this.generation.Types.RootClientForSnippets,this.csharp.freezeClassReferences()}};n();a();s();var Ua=class extends Ue{constructor({context:r}){super(r.generation);m(this,"context");this.context=r}async generateSnippet({endpoint:r,request:i,options:o}){return this.buildCodeBlock({endpoint:r,snippet:i,options:o}).toString({namespace:"Usage",generation:this.generation,allNamespaceSegments:new Set,allTypeClassReferences:new Map,skipGlobalQualifier:!0})}generateSnippetSync({endpoint:r,request:i,options:o}){return this.buildCodeBlock({endpoint:r,snippet:i,options:o}).toString({namespace:"Usage",generation:this.generation,allNamespaceSegments:new Set,allTypeClassReferences:new Map,skipGlobalQualifier:!0})}async generateSnippetAst({endpoint:r,request:i,options:o}){throw new Error("Unsupported")}buildCodeBlock({endpoint:r,snippet:i,options:o}){if(r.examples&&C.DynamicIR.EndpointExample(i)&&!r.examples.find(y=>y.id===i.id))throw new Error("Endpoint does not have an example that matches the snippet");let c=this.csharp.codeblock(y=>{y.writeNodeStatement(this.constructClient({endpoint:r,snippet:i})),y.newLine(),y.writeNodeStatement(this.callMethod({endpoint:r,snippet:i}))}),d=this.getStyle(o);switch(d){case Tt.Concise:return c;case Tt.Full:return this.buildFullCodeBlock({body:c,options:o});default:Q(d)}}buildFullCodeBlock({body:r,options:i}){let o=this.getConfig(i),c=this.csharp.class_({name:o.fullStyleClassName??"Example",namespace:"Usage",access:Hr.Access.Public});return c.addNamespaceReference(this.Types.RootClientForSnippets.namespace),c.addMethod({name:"Do",access:Hr.Access.Public,isAsync:!0,parameters:[],body:r}),c}constructClient({endpoint:r,snippet:i}){return this.csharp.codeblock(o=>{o.write("var client = "),o.writeNode(this.getRootClientConstructorInvocation(this.getConstructorArgs({endpoint:r,snippet:i})))})}callMethod({endpoint:r,snippet:i}){let o=r.response?.type==="streaming"||r.response?.type==="streamParameter",c=this.csharp.invokeMethod({on:this.csharp.codeblock("client"),method:this.getMethod({endpoint:r}),arguments_:this.getMethodArgs({endpoint:r,snippet:i}),async:!0,configureAwait:!0,multiline:!0,isAsyncEnumerable:o});return o?this.csharp.codeblock(d=>{d.write("await foreach (var item in "),d.writeNode(c),d.writeLine(")"),d.pushScope(),d.writeLine("/* consume each item */"),d.popScope()}):c}getConstructorArgs({endpoint:r,snippet:i}){let o=[];r.auth!=null&&(i.auth!=null?o.push(...this.getConstructorAuthArgs({auth:r.auth,values:i.auth})):this.context.errors.add({severity:v.Warning,message:`Auth with ${r.auth.type} configuration is required for this endpoint`}));let c=[],d=this.getConstructorBaseUrlArgs({baseUrl:i.baseURL,environment:i.environment});d.length>0&&c.push(...d),this.context.errors.scope(Be.Headers);let y=[];if(this.context.ir.headers!=null&&i.headers!=null&&y.push(...this.getConstructorHeaderArgs({headers:this.context.ir.headers,values:i.headers})),this.context.errors.unscope(),this.settings.unifiedClientOptions){let g=[...o.map(x=>({name:xe(x.name),assignment:x.assignment})),...y.map(x=>({name:xe(x.name),assignment:x.assignment})),...c.map(x=>({name:x.name,assignment:x.assignment}))];return g.length===0?[]:[{name:"clientOptions",assignment:this.csharp.instantiateClass({classReference:this.Types.ClientOptions,arguments_:g,multiline:!0})}]}return c.length===0?[...o,...y]:[...o,...y,{name:"clientOptions",assignment:this.csharp.instantiateClass({classReference:this.Types.ClientOptions,arguments_:c.map(g=>({name:g.name,assignment:g.assignment})),multiline:!0})}]}getConstructorBaseUrlArgs({baseUrl:r,environment:i}){let o=this.getBaseUrlArg({baseUrl:r,environment:i});return C.Literal.nop(o)?[]:[{name:this.getBaseUrlOptionName(),assignment:o}]}getBaseUrlArg({baseUrl:r,environment:i}){if(r!=null&&i!=null)return this.context.errors.add({severity:v.Critical,message:"Cannot specify both baseUrl and environment options"}),this.csharp.Literal.nop();if(r!=null)return this.context.ir.environments?.environments.type==="multipleBaseUrls"?(this.context.errors.add({severity:v.Critical,message:"The C# SDK doesn't support a baseUrl when multiple URL environments are configured"}),this.csharp.Literal.nop()):this.csharp.Literal.string(r);if(i!=null){if(this.context.isSingleEnvironmentID(i)){let o=this.context.getEnvironmentTypeReferenceFromID(i);return o==null?(this.context.errors.add({severity:v.Warning,message:`Environment ${JSON.stringify(i)} was not found`}),this.csharp.Literal.nop()):this.csharp.Literal.reference(o)}if(this.context.isMultiEnvironmentValues(i))return this.context.validateMultiEnvironmentUrlValues(i)?this.csharp.Literal.reference(this.csharp.instantiateClass({classReference:this.Types.Environments,arguments_:Object.entries(i).map(([o,c])=>({name:xe(Lt(o)),assignment:this.context.dynamicLiteralMapper.convert({typeReference:{type:"primitive",value:"STRING"},value:c})})),multiline:!0})):this.csharp.Literal.nop()}return this.csharp.Literal.nop()}getConstructorAuthArgs({auth:r,values:i}){if(i.type!==r.type)return this.addError(this.context.newAuthMismatchError({auth:r,values:i}).message),[];switch(r.type){case"basic":return i.type==="basic"?this.getConstructorBasicAuthArg({auth:r,values:i}):[];case"bearer":return i.type==="bearer"?this.getConstructorBearerAuthArgs({auth:r,values:i}):[];case"header":return i.type==="header"?this.getConstructorHeaderAuthArgs({auth:r,values:i}):[];case"oauth":return i.type==="oauth"?this.getConstructorOAuthArgs({auth:r,values:i}):[];case"inferred":return i.type==="inferred"?this.getConstructorInferredAuthArgs({auth:r,values:i}):[];default:Q(r)}}addError(r){this.context.errors.add({severity:v.Critical,message:r})}addWarning(r){this.context.errors.add({severity:v.Warning,message:r})}getConstructorBasicAuthArg({auth:r,values:i}){let o=r,c=!!o.usernameOmit,d=!!o.passwordOmit,y=[];return c||y.push({name:this.context.getParameterName(r.username),assignment:this.csharp.Literal.string(i.username)}),d||y.push({name:this.context.getParameterName(r.password),assignment:this.csharp.Literal.string(i.password)}),y}getConstructorBearerAuthArgs({auth:r,values:i}){return[{name:this.context.getParameterName(r.token),assignment:this.csharp.Literal.string(i.token)}]}getConstructorHeaderAuthArgs({auth:r,values:i}){return[{name:this.context.getParameterName(r.header.name.name),assignment:this.context.dynamicLiteralMapper.convert({typeReference:r.header.typeReference,value:i.value,fallbackToDefault:r.header.name.wireValue})}]}getConstructorOAuthArgs({auth:r,values:i}){return[{name:this.context.getParameterName(r.clientId),assignment:this.csharp.Literal.string(i.clientId)},{name:this.context.getParameterName(r.clientSecret),assignment:this.csharp.Literal.string(i.clientSecret)}]}getConstructorInferredAuthArgs({auth:r,values:i}){let o=[];if(r.parameters!=null)for(let c of r.parameters){let d=c.name.wireValue,y=i.values?.[d];o.push({name:this.context.getParameterName(c.name.name),assignment:this.context.dynamicLiteralMapper.convert({typeReference:c.typeReference,value:y,fallbackToDefault:d})})}else this.context.errors.add({severity:v.Critical,message:"Inferred auth parameters are not defined in the IR. Please ensure you're using IR version 62.3.0 or later."});return o}getConstructorHeaderArgs({headers:r,values:i}){let o=[];for(let c of r){let d=i[c.name.wireValue],y=this.getConstructorHeaderArg({header:c,value:d});y!=null&&o.push({name:this.context.getParameterName(c.name.name),assignment:y})}return o}getConstructorHeaderArg({header:r,value:i}){let o=this.context.dynamicLiteralMapper.convert({typeReference:r.typeReference,value:i,fallbackToDefault:r.name.wireValue});if(!C.Literal.nop(o))return o}getMethodArgs({endpoint:r,snippet:i}){switch(r.request.type){case"inlined":return this.getMethodArgsForInlinedRequest({request:r.request,snippet:i});case"body":return this.getMethodArgsForBodyRequest({request:r.request,snippet:i});default:Q(r.request)}}getMethodArgsForInlinedRequest({request:r,snippet:i}){let o=[];this.context.errors.scope(Be.PathParameters);let c=[],d=[...this.context.ir.pathParameters??[],...r.pathParameters??[]];d.length>0&&c.push(...this.getPathParameters({namedParameters:d,snippet:i})),this.context.errors.unscope(),this.context.errors.scope(Be.RequestBody);let y=this.getFilePropertyInfo({request:r,snippet:i});return this.context.errors.unscope(),this.context.includePathParametersInWrappedRequest({request:r,inlinePathParameters:this.settings.shouldInlinePathParameters})||o.push(...c.map(g=>g.value)),o.push(this.getInlinedRequestArg({request:r,snippet:i,pathParameterFields:this.context.includePathParametersInWrappedRequest({request:r,inlinePathParameters:this.settings.shouldInlinePathParameters})?c:[],filePropertyInfo:y})),o}getFilePropertyInfo({request:r,snippet:i}){return r.body==null||!this.context.isFileUploadRequestBody(r.body)?{fileFields:[],bodyPropertyFields:[]}:this.context.filePropertyMapper.getFilePropertyInfo({body:r.body,value:i.requestBody})}getInlinedRequestArg({request:r,snippet:i,pathParameterFields:o,filePropertyInfo:c}){this.context.errors.scope(Be.QueryParameters);let y=this.context.associateQueryParametersByWireValue({parameters:r.queryParameters??[],values:i.queryParameters??{}}).map(A=>({name:this.context.getPropertyName(A.name.name),value:this.context.dynamicLiteralMapper.convert(A)}));this.context.errors.unscope(),this.context.errors.scope(Be.Headers);let x=this.context.associateByWireValue({parameters:r.headers??[],values:i.headers??{}}).map(A=>({name:this.context.getPropertyName(A.name.name),value:this.context.dynamicLiteralMapper.convert({...A,fallbackToDefault:A.name.wireValue})}));this.context.errors.unscope(),this.context.errors.scope(Be.RequestBody);let S=r.body!=null?this.getInlinedRequestBodyConstructorFields({body:r.body,value:i.requestBody,filePropertyInfo:c}):[];return this.context.errors.unscope(),this.csharp.Literal.class_({reference:this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),fields:[...o,...y,...x,...S]})}getInlinedRequestBodyConstructorFields({body:r,value:i,filePropertyInfo:o}){switch(r.type){case"properties":return this.getInlinedRequestBodyPropertyConstructorFields({parameters:r.value,value:i});case"referenced":return[this.getReferencedRequestBodyPropertyConstructorField({body:r,value:i})];case"fileUpload":return this.getFileUploadRequestBodyConstructorFields({filePropertyInfo:o});default:Q(r)}}getInlinedRequestBodyPropertyConstructorFields({parameters:r,value:i}){let o=[],c=this.context.associateByWireValue({parameters:r,values:this.context.getRecord(i)??{}});for(let d of c)o.push({name:this.context.getPropertyName(d.name.name),value:this.context.dynamicLiteralMapper.convert({...d,fallbackToDefault:d.name.wireValue})});return o}getFileUploadRequestBodyConstructorFields({filePropertyInfo:r}){return[...r.fileFields,...r.bodyPropertyFields]}getReferencedRequestBodyPropertyConstructorField({body:r,value:i}){return{name:this.context.getPropertyName(r.bodyKey),value:this.getReferencedRequestBodyPropertyLiteral({body:r.bodyType,value:i})}}getReferencedRequestBodyPropertyLiteral({body:r,value:i}){switch(r.type){case"bytes":return this.getBytesBodyRequestArg({value:i});case"typeReference":return this.context.dynamicLiteralMapper.convert({typeReference:r.value,value:i,fallbackToDefault:JSON.stringify(r.value)});default:Q(r)}}getMethodArgsForBodyRequest({request:r,snippet:i}){let o=[];this.context.errors.scope(Be.PathParameters);let c=[...this.context.ir.pathParameters??[],...r.pathParameters??[]];return c.length>0&&o.push(...this.getPathParameters({namedParameters:c,snippet:i}).map(d=>d.value)),this.context.errors.unscope(),this.context.errors.scope(Be.RequestBody),r.body!=null&&o.push(this.getBodyRequestArg({body:r.body,value:i.requestBody})),this.context.errors.unscope(),o}getBodyRequestArg({body:r,value:i}){switch(r.type){case"bytes":return this.getBytesBodyRequestArg({value:i});case"typeReference":return r.value.type==="optional"&&i==null?this.csharp.Literal.null():this.context.dynamicLiteralMapper.convert({typeReference:r.value,value:i,fallbackToDefault:JSON.stringify(r.value)});default:Q(r)}}getBytesBodyRequestArg({value:r}){let i=this.context.getValueAsString({value:r});return i==null&&(this.context.errors.add({severity:v.Critical,message:"The bytes request body must be provided in string format"}),i="[bytes]"),this.csharp.Literal.reference(this.context.getMemoryStreamForString(i))}getRootClientConstructorInvocation(r){return this.csharp.instantiateClass({classReference:this.Types.RootClientForSnippets,arguments_:r,forceUseConstructor:!0,multiline:!0})}getPathParameters({namedParameters:r,snippet:i}){let o=[],c=this.context.associateByWireValueOrDefault({parameters:r,values:i.pathParameters??{}});for(let d of c)o.push({name:this.context.getPropertyName(d.name.name),value:this.context.dynamicLiteralMapper.convert({...d,fallbackToDefault:d.name.wireValue})});return o}getMethod({endpoint:r}){return r.declaration.fernFilepath.allParts.length>0?`${r.declaration.fernFilepath.allParts.map(i=>this.context.getClassName(i)).join(".")}.${this.context.getMethodName(r.declaration.name)}`:this.context.getMethodName(r.declaration.name)}getBaseUrlOptionName(){return this.context.ir.environments?.environments.type==="multipleBaseUrls"?"Environment":"BaseUrl"}getStyle(r){return r.style??this.context.options.style??Tt.Full}getConfig(r){return r.config??this.context.options.config??{}}};var nu=class extends oi{constructor({ir:t,config:r,options:i={}}){super(new Da({ir:t,config:r,options:i}))}precalculate(t){this.context.precalculate(t)}async generate(t,r={}){return super.generate(t,r)}generateSync(t,r={}){return super.generateSync(t,r)}async generateSnippetAst(t){return super.generateSnippetAst(t)}createSnippetGenerator(t){return new Ua({context:t})}};export{nu as DynamicSnippetsGenerator};
31
+ `)):(this.hasSameAccess(this.init)||r.write(`${this.init} `),this.accessors?.init?(r.write("init"),r.write(" => "),this.accessors.init(r),r.writeTextStatement("")):r.write("init; "))),this.set&&(this.hasSameAccess(this.set)||r.write(`${this.set} `),this.accessors?.set?(r.write("set"),r.write(" => "),this.accessors.set(r),r.writeTextStatement("")):r.write("set; ")),r.write("}")),this.initializer!=null?(c?r.write(" => "):r.write(" = "),this.initializer.write(r),r.writeLine(";")):!this.skipDefaultInitializer&&!i&&o?P.Type(this.type)&&this.type.writeEmptyCollectionInitializer(r):!this.get&&!this.init&&r.writeLine(";")}hasSameAccess(r){return r===!0||r===this.access}};n();a();s();var je;(function(e){e[e.INSTANCE=0]="INSTANCE",e[e.STATIC=1]="STATIC"})(je||(je={}));var dt=class e extends Ze{constructor({name:r,isAsync:i,override:o,access:c,return_:d,body:y,noBody:g,bodyType:x,summary:S,doc:A,type:O,classReference:w,parameters:V,typeParameters:G,annotations:U,codeExample:z,interfaceReference:ie,origin:de,enclosingType:X},te){super({enclosingType:X},de,te);m(this,"name");m(this,"isAsync");m(this,"access");m(this,"return");m(this,"noBody");m(this,"body");m(this,"bodyType");m(this,"summary");m(this,"doc");m(this,"type");m(this,"reference");m(this,"override");m(this,"parameters");m(this,"typeParameters");m(this,"annotations");m(this,"interfaceReference");this.name=r,this.isAsync=i??!1,this.override=o??!1,this.access=c,this.return=d,this.noBody=g??!1,this.body=y,this.bodyType=x??e.BodyType.Statement,this.summary=S,this.doc=this.csharp.xmlDocBlockOf(A??{summary:S,codeExample:z}),this.type=O??je.INSTANCE,this.reference=w,this.parameters=V??[],this.typeParameters=G??[],this.annotations=(U??[]).map(I=>I instanceof ge?this.csharp.annotation({reference:I}):I),this.interfaceReference=ie}get isAsyncEnumerable(){return P.AsyncEnumerable(this.return)}addParameter(r){return r instanceof Le||(r=new Le(r,this.generation)),this.parameters.push(r),r}write(r){if(r.writeNode(this.doc),this.annotations.forEach(i=>{i.write(r)}),r.writeNewLineIfLastLineNot(),this.access&&r.write(`${this.access} `),this.type===je.STATIC&&r.write("static "),this.isAsync&&r.write("async "),this.override&&r.write("override "),this.return==null?this.isAsync?(r.writeNode(this.System.Threading.Tasks.Task()),r.write(" ")):r.write("void "):(this.isAsync&&!this.isAsyncEnumerable?r.writeNode(this.System.Threading.Tasks.Task(this.return)):this.return.write(r),r.write(" ")),this.interfaceReference&&r.write(`${this.interfaceReference.name}.`),r.write(this.name),this.typeParameters.length>0&&(r.write("<"),this.typeParameters.forEach((i,o)=>{i.write(r),o<this.typeParameters.length-1&&r.write(", ")}),r.write(">")),r.write("("),this.parameters.forEach((i,o)=>{i.write(r),o<this.parameters.length-1&&r.write(", ")}),r.write(")"),this.noBody)r.writeLine(";");else switch(this.bodyType){case e.BodyType.Statement:r.write(" "),r.pushScope(),this.body?.write(r),r.popScope();break;case e.BodyType.Expression:r.write(" => "),this.body?.write(r),r.writeSemicolonIfLastCharacterIsNot();break;default:Q(this.bodyType)}}getParameters(){return this.parameters}};(function(e){e.BodyType={Statement:"statement",Expression:"expression"}})(dt||(dt={}));var Ar=class extends Te{constructor({name:r,namespace:i,access:o,partial:c,interfaceReferences:d,enclosingType:y,origin:g},x){super(g,x);m(this,"access");m(this,"partial");m(this,"reference");m(this,"interfaceReferences");m(this,"fields",[]);m(this,"methods",[]);r=r||(g?this.model.getClassNameFor(g):re("Class/Interface name or origin is required")),this.reference=y?this.csharp.classReference({name:r,enclosingType:y}):this.csharp.classReference({name:r,namespace:i||re("Class/Interface: Namespace or enclosingType is required ")}),this.access=o,this.partial=c??!1,this.interfaceReferences=d??[]}get name(){return this.reference.name}get namespace(){return this.reference.namespace}get enclosingType(){return this.reference.enclosingType}get isNested(){return this.enclosingType!=null}explicit(r){return this.origin?this.model.explicit(P.Provenance(this.origin)?this.origin.node:this.origin,r):re(`Cannot create explicit named member '${r}' on '${this.name}' because the class is not bound to an origin.`)}getField(r){return this.fields.find(i=>this.model.provenance(i.origin)?.jsonPath===r.jsonPath)}addField(r){r.enclosingType=this.reference;let i=new Tr(r,this.generation);return this.fields.push(i),i}addMethod(r){r.enclosingType=this.reference;let i=new dt(r,this.generation);return this.methods.push(i),i}get multipartMethodName(){return"AddJsonPart"}get multipartMethodNameForCollection(){return"AddJsonParts"}get isOptional(){return!1}get isCollection(){return!1}get isReferenceType(){}asOptional(){return new Re(this,this.generation)}asNullable(){return new _t(this,this.generation)}asNonOptional(){return this}get defaultValue(){return this.csharp.Literal.null()}get fullyQualifiedName(){return this.reference.fullyQualifiedName}};var we=class we extends Ar{constructor({name:r,namespace:i,access:o,static_:c,abstract_:d,sealed:y,partial:g,readonly:x,parentClassReference:S,interfaceReferences:A,enclosingType:O,type:w,summary:V,doc:G,annotations:U,primaryConstructor:z,origin:ie},de){super({name:r,namespace:i,access:o,partial:g,interfaceReferences:A,enclosingType:O,origin:ie},de);m(this,"static_");m(this,"abstract_");m(this,"sealed");m(this,"readonly");m(this,"parentClassReference");m(this,"type");m(this,"summary");m(this,"doc");m(this,"annotations",[]);m(this,"primaryConstructor");m(this,"namespaceReferences",[]);m(this,"constructors",[]);m(this,"operators",[]);m(this,"nestedClasses",[]);m(this,"nestedInterfaces",[]);m(this,"rawBodyBlocks",[]);this.static_=c??!1,this.abstract_=d??!1,this.sealed=y??!1,this.readonly=x??!1,this.type=w??we.ClassType.Class,this.summary=V,this.doc=this.csharp.xmlDocBlockOf(G??{summary:V}),this.parentClassReference=S,this.annotations=(U??[]).map(X=>X instanceof ge?this.csharp.annotation({reference:X}):X),this.primaryConstructor=z}addConstructor(r){let i=new we.Constructor(r,this.generation);return this.constructors.push(i),i}addNestedClass(r){if(r instanceof we||(r.enclosingType=this.reference,r=new we(r,this.generation)),!r.isNested)throw new Error(`Set the enclosingType of the class ${this.name} to add the nested class ${r.name}.`);return this.nestedClasses.push(r),r}addNestedClasses(r){r.forEach(i=>{i instanceof we?this.addNestedClass(i):this.addNestedClass(i)})}addAnnotation(r){return r instanceof Ke||(r=new Ke(r,this.generation)),this.annotations.push(r),r}addOperator(r){this.operators.push(r)}addOperators(r){r.forEach(i=>this.addOperator(i))}addRawBodyContent(r){this.rawBodyBlocks.push(r)}write(r){if(this.namespaceReferences.forEach(i=>{r.addNamespace(i)}),this.isNested||(r.writeLine(`namespace ${this.namespace};`),r.newLine()),r.writeNode(this.doc),this.annotations.forEach(i=>{i.write(r)}),r.writeNewLineIfLastLineNot(),r.write(`${this.access}`),this.static_&&r.write(" static"),this.abstract_&&r.write(" abstract"),this.sealed&&r.write(" sealed"),this.readonly&&r.write(" readonly"),this.partial&&r.write(" partial"),r.write(` ${this.type}`),r.write(` ${this.name}`),this.primaryConstructor!=null&&this.primaryConstructor.parameters.length>0){let i=this.primaryConstructor;r.write("("),i.parameters.forEach((o,c)=>{c>0&&r.write(","),o.write(r)}),r.write(")")}if(this.parentClassReference!=null||this.interfaceReferences.length>0){if(r.write(" : "),this.parentClassReference!=null&&(this.parentClassReference.write(r),this.interfaceReferences.length>0&&r.write(", ")),this.primaryConstructor!=null&&this.primaryConstructor.superClassArguments.length>0){let i=this.primaryConstructor;r.write("("),this.primaryConstructor.superClassArguments.forEach((o,c)=>{o.write(r),c<i.superClassArguments.length-1&&r.write(", ")}),r.write(")")}this.interfaceReferences.forEach((i,o)=>{i.write(r),o<this.interfaceReferences.length-1&&r.write(", ")})}if(!this.hasBody()){r.write(";");return}r.writeNewLineIfLastLineNot(),r.pushScope(),this.writeConsts(r),this.writeFieldFields(r),this.writeConstructors(r),this.writeProperties(r),this.writeMethods(r),this.writeOperators(r),this.writeRawBodyBlocks(r),this.writeNestedClasses(r),this.writeNestedInterfaces(r),r.popScope()}hasBody(){return this.fields.length>0||this.constructors.length>0||this.nestedClasses.length>0||this.nestedInterfaces.length>0||this.methods.length>0||this.operators.length>0||this.rawBodyBlocks.length>0}writeConstructors(r){this.constructors.forEach(i=>{r.writeNode(this.csharp.xmlDocBlockOf(i.doc)),i.annotations.forEach(o=>{o.write(r),r.writeNewLineIfLastLineNot()}),r.write(`${i.access} ${this.name} (`),i.parameters.forEach((o,c)=>{o.write(r),c<i.parameters.length-1&&r.write(", ")}),r.write(")"),i.baseConstructorCall!=null&&(r.write(" : "),i.baseConstructorCall.write(r)),r.pushScope(),i.body.write(r),r.popScope(),r.newLine()})}writeFields({writer:r,fields:i}){i.forEach((o,c)=>{o.write(r),r.writeNewLineIfLastLineNot(),c<this.fields.length-1&&r.newLine()})}writeConsts(r){this.writeFields({writer:r,fields:this.getFields().sort(Ir).sort(Ro).filter(this.fieldConstFilter())})}writeFieldFields(r){this.writeFields({writer:r,fields:this.getFields().sort(Ir).sort(Ro).filter(this.fieldFieldFilter())})}writeProperties(r){this.writeFields({writer:r,fields:this.getFields().sort(Ir).sort(Ro).filter(this.fieldPropertyFilter())})}writeMethods(r){this.methods.sort(Ir).sort(xd).sort(bd).forEach(i=>{i.write(r),r.writeNewLineIfLastLineNot(),r.newLine()})}writeOperators(r){this.operators.forEach(i=>{this.writeOperator({writer:r,operator:i}),r.newLine()})}writeRawBodyBlocks(r){this.rawBodyBlocks.forEach(i=>{i.write(r),r.writeNewLineIfLastLineNot()})}writeNestedClasses(r){this.nestedClasses.sort(Ir).forEach((i,o)=>{i.write(r),r.writeNewLineIfLastLineNot(),o<this.fields.length-1&&r.newLine()})}writeNestedInterfaces(r){this.nestedInterfaces.sort(Ir).forEach((i,o)=>{i.write(r),r.writeNewLineIfLastLineNot(),o<this.fields.length-1&&r.newLine()})}fieldConstFilter(){return r=>r.isConst}fieldFieldFilter(){return r=>r.isField}fieldPropertyFilter(){return r=>r.isProperty}getFields(){return this.fields}get isReferenceType(){return this.type===we.ClassType.Class||this.type===we.ClassType.Record}writeOperator({writer:r,operator:i}){if(r.write("public static "),i.type===we.CastOperator.Type.Explicit||i.type===we.CastOperator.Type.Implicit){r.write(`${i.type} `),r.write("operator ");let o=i.to??this.reference;r.writeNode(o),r.write("("),i.parameter.write(r)}else{let o=i;o.return.write(r),r.write(" operator "),r.write(`${i.type}(`),o.parameters.forEach((c,d)=>{c.write(r),d<o.parameters.length-1&&r.write(", ")})}i.useExpressionBody?(r.write(") => "),r.writeNodeStatement(i.body)):(r.write(") {"),r.writeNode(i.body),r.writeLine("}"))}addNamespaceReference(r){this.namespaceReferences.push(r)}};m(we,"ClassType",{Class:"class",Record:"record",Struct:"struct",RecordStruct:"record struct"}),m(we,"Access",ne);var Ve=we;(function(e){class t{constructor({doc:o,body:c,parameters:d,access:y,baseConstructorCall:g,annotations:x},S){m(this,"generation");m(this,"doc");m(this,"body");m(this,"parameters");m(this,"access");m(this,"baseConstructorCall");m(this,"annotations");this.generation=S,this.parameters=d??[],this.access=y??ne.Public,this.doc=o,this.annotations=x??[],this.body=new pt({},this.generation),c!=null&&this.body.append(c),this.baseConstructorCall=g}addParameter(o){let c=new Le(o,this.generation);return this.parameters.push(c),c}}e.Constructor=t;let r;(function(i){i.Type={Implicit:"implicit",Explicit:"explicit"}})(r=e.CastOperator||(e.CastOperator={}))})(Ve||(Ve={}));function rp(e){switch(e){case void 0:return 0;case ne.Private:return 1;case ne.Protected:return 2;case ne.Internal:return 3;case ne.Public:return 4}}function Ir(e,t){return rp(e.access)-rp(t.access)}function Ro(e,t){return e.isStatic===t.isStatic?0:e.isStatic?-1:1}function bd(e,t){return e.type===je.STATIC&&t.type!==je.STATIC?-1:e.type!==je.STATIC&&t.type===je.STATIC?1:0}function xd(e,t){return e.name==="FromProto"||e.name==="ToProto"?t.name==="Equals"||t.name==="ToString"?-1:1:t.name==="FromProto"||t.name==="ToProto"?e.name==="Equals"||e.name==="ToString"?1:-1:e.name==="ToString"?1:t.name==="ToString"?-1:e.name==="Equals"?t.name==="ToString"?-1:1:t.name==="Equals"?e.name==="ToString"?1:-1:0}n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var Sd="__package__",s5=`${Sd}.yml`;var ip="default-group",np="spec-origin",sp="async-api",ap="openapi",op="openapi-overrides",up="api-settings";var cp="local";var _e={};k(_e,{API_ORIGIN_LOCATION_KEY:()=>np,API_SETTINGS_KEY:()=>up,ASYNC_API_LOCATION_KEY:()=>sp,CoerceConstsTo:()=>wp,DEFAULT_GROUP_GENERATORS_CONFIG_KEY:()=>ip,DEFAULT_GROUP_NAME:()=>cp,DefaultIntegerFormat:()=>Np,ExampleStyle:()=>Rp,FormParameterEncoding:()=>Op,GenerationLanguage:()=>pp,GithubCommitAndReleaseMode:()=>Lp,GithubLicenseType:()=>Dp,GithubSelfhostedMode:()=>jp,Language:()=>Pp,MessageNamingSettingsSchema:()=>Cp,ModelProvider:()=>dp,OPENAPI_LOCATION_KEY:()=>ap,OPENAPI_OVERRIDES_LOCATION_KEY:()=>op,PathParameterOrder:()=>_p,RemoveDiscriminantsFromSchemas:()=>kp,UnionSettingsSchema:()=>Fp,ai:()=>Oo,automation:()=>hp,fernDefinition:()=>Co,generators:()=>_o,getPackageName:()=>lp,group:()=>ko,isApiConfigurationV2Schema:()=>ml,isAsyncApiSpecSchema:()=>dl,isConjureSchema:()=>hl,isGraphQLSpecSchema:()=>yl,isNamespacedApiConfiguration:()=>gl,isOpenApiSpecSchema:()=>bl,isOpenRpcSpecSchema:()=>xl,isProtoSpecSchema:()=>Sl,isRawProtobufAPIDefinitionSchema:()=>fp,license:()=>Fo,replay:()=>Up,resolveAutomationConfig:()=>mp,reviewers:()=>Bp,serialization:()=>ru});n();a();s();n();a();s();var pp={TYPESCRIPT:"typescript",JAVA:"java",PYTHON:"python",GO:"go",RUBY:"ruby",CSHARP:"csharp",SWIFT:"swift",PHP:"php",RUST:"rust"};function lp({generatorInvocation:e}){return e.language==="go"?Td(e):e.outputMode._visit({downloadFiles:()=>{},github:t=>t.publishInfo?._visit({maven:r=>r.coordinate,npm:r=>r.packageName,pypi:r=>r.packageName,postman:()=>{},rubygems:r=>r.packageName,nuget:r=>r.packageName,crates:r=>r.packageName,_other:()=>{}}),githubV2:t=>t.publishInfo?._visit({maven:r=>r.coordinate,npm:r=>r.packageName,pypi:r=>r.packageName,postman:()=>{},rubygems:r=>r.packageName,nuget:r=>r.packageName,crates:r=>r.packageName,_other:()=>{}}),publish:()=>{},publishV2:()=>{},_other:()=>{}})}function Td(e){return e.outputMode._visit({downloadFiles:()=>{},github:t=>`github.com/${t.owner}/${t.repo}`,githubV2:t=>`github.com/${t.owner}/${t.repo}`,publish:()=>{},publishV2:()=>{},_other:()=>{}})}n();a();s();function fp(e){return typeof e!="string"&&"proto"in e}n();a();s();var Rn={generate:!0,upgrade:!0,preview:!0,verify:!0};function mp({rootAutomation:e,groupAutomation:t,generatorAutomation:r}){return{generate:r?.generate??t?.generate??e?.generate??Rn.generate,upgrade:r?.upgrade??t?.upgrade??e?.upgrade??Rn.upgrade,preview:r?.preview??t?.preview??e?.preview??Rn.preview,verify:r?.verify??t?.verify??e?.verify??Rn.verify}}n();a();s();n();a();s();var Oo={};k(Oo,{ModelProvider:()=>dp});n();a();s();n();a();s();var dp={Openai:"openai",Anthropic:"anthropic",Bedrock:"bedrock"};var hp={};n();a();s();var Co={};k(Co,{AvailabilityStatusSchema:()=>gp,auth:()=>yp,availability:()=>Po,commons:()=>bp,encoding:()=>xp,environments:()=>Sp,file:()=>Tp,service:()=>Ap,types:()=>Ip,validation:()=>Ep});n();a();s();n();a();s();var yp={};n();a();s();var Po={};k(Po,{AvailabilityStatusSchema:()=>gp});n();a();s();n();a();s();var gp={InDevelopment:"in-development",PreRelease:"pre-release",Deprecated:"deprecated",GenerallyAvailable:"generally-available"};var bp={};n();a();s();var xp={};n();a();s();var Sp={};n();a();s();var Tp={};n();a();s();var Ap={};n();a();s();var Ip={};n();a();s();var Ep={};n();a();s();var _o={};k(_o,{CoerceConstsTo:()=>wp,DefaultIntegerFormat:()=>Np,ExampleStyle:()=>Rp,FormParameterEncoding:()=>Op,Language:()=>Pp,MessageNamingSettingsSchema:()=>Cp,PathParameterOrder:()=>_p,RemoveDiscriminantsFromSchemas:()=>kp,UnionSettingsSchema:()=>Fp});n();a();s();n();a();s();var wp={Literals:"literals",Enums:"enums",EnumsCoerceableToLiterals:"enums-coerceable-to-literals"};n();a();s();var Np={Int32:"int32",Int64:"int64",Uint32:"uint32",Uint64:"uint64"};n();a();s();var Rp={Minimal:"minimal",Comprehensive:"comprehensive"};n();a();s();var Op={Form:"form",Json:"json"};n();a();s();var Pp={Java:"java",Python:"python",Go:"go",Ruby:"ruby",Csharp:"csharp",Typescript:"typescript",Php:"php",Rust:"rust",Swift:"swift"};n();a();s();var Cp={V1:"v1",V2:"v2"};n();a();s();var _p={UrlOrder:"url-order",SpecOrder:"spec-order"};n();a();s();var kp={Always:"always",Never:"never"};n();a();s();var Fp={V1:"v1"};var ko={};k(ko,{GithubCommitAndReleaseMode:()=>Lp,GithubSelfhostedMode:()=>jp});n();a();s();n();a();s();var Lp={Commit:"commit",Release:"release"};n();a();s();var jp={PullRequest:"pull-request",Push:"push"};var Fo={};k(Fo,{GithubLicenseType:()=>Dp});n();a();s();n();a();s();var Dp={Mit:"MIT",Apache:"Apache-2.0"};var Up={};n();a();s();var Bp={};n();a();s();var ru={};k(ru,{AiServicesSchema:()=>Ln,ApiConfigurationSchema:()=>Ms,ApiConfigurationSchemaInternal:()=>Vr,ApiConfigurationV2Schema:()=>Us,ApiConfigurationV2SettingsSchema:()=>qr,ApiConfigurationV2SpecsSchema:()=>Gr,ApiDefinitionList:()=>As,ApiDefinitionPathSchema:()=>xt,ApiDefinitionSchema:()=>Ts,ApiDefinitionSettingsSchema:()=>Dr,ApiDefinitionWithOverridesSchema:()=>Ur,AsyncApiSettingsSchema:()=>zr,AsyncApiSpecSchema:()=>_s,AutomationSchema:()=>ht,BaseApiSettingsSchema:()=>vr,BaseGeneratorInvocationSchema:()=>Wr,CoerceConstsTo:()=>Is,ConjureSchema:()=>Cs,CratesOutputLocationSchema:()=>Gs,CustomGeneratorInvocationSchema:()=>la,DefaultGeneratorInvocationSchema:()=>fa,DefaultIntegerFormat:()=>Es,ExampleStyle:()=>Vs,FormParameterEncoding:()=>ws,GeneratorApiSettingsSchema:()=>qs,GeneratorGroupSchema:()=>da,GeneratorImageObjectSchema:()=>vs,GeneratorInvocationSchema:()=>ma,GeneratorOutputSchema:()=>ea,GeneratorPublishMetadataSchema:()=>Ji,GeneratorSnippetsSchema:()=>ia,GeneratorsConfigurationSchema:()=>fl,GeneratorsOpenApiObjectSchema:()=>ya,GeneratorsOpenApiSchema:()=>ga,GithubCommitAndReleaseMode:()=>na,GithubCommitAndReleaseSchema:()=>sa,GithubConfigurationSchema:()=>pa,GithubLicenseCustomSchema:()=>ta,GithubLicenseSchema:()=>Ce,GithubLicenseType:()=>ra,GithubPullRequestSchema:()=>aa,GithubPushSchema:()=>oa,GithubSelfhostedMode:()=>ua,GithubSelfhostedSchema:()=>ca,GraphQlSpecSchema:()=>ks,Language:()=>ba,LocalFileSystemOutputLocationSchema:()=>Ws,MavenOutputLocationSchema:()=>Hs,MavenOutputSignatureSchema:()=>$s,MessageNamingSettingsSchema:()=>Fr,ModelName:()=>kn,ModelProvider:()=>Fn,NamespacedApiConfigurationSchema:()=>Bs,NpmOutputLocationSchema:()=>Js,NugetOutputLocationSchema:()=>Ks,OpenApiExampleGenerationSchema:()=>Ns,OpenApiFilterSchema:()=>Rs,OpenApiSettingsSchema:()=>St,OpenApiSpecSchema:()=>Fs,OpenRpcSpecSchema:()=>Ls,OutputMetadataAuthor:()=>zs,OutputMetadataSchema:()=>Tt,OverridesSchema:()=>Pe,PathParameterOrder:()=>Lr,PostmanOutputLocationSchema:()=>Qs,ProtobufApiDefinitionSchema:()=>Mr,ProtobufDefinitionSchema:()=>Br,ProtobufSpecSchema:()=>js,PypiOutputLocationSchema:()=>Xs,PypiOutputMetadataSchema:()=>Ys,ReadmeCustomSectionSchema:()=>xa,ReadmeEndpointObjectSchema:()=>Sa,ReadmeEndpointSchema:()=>Ki,ReadmeSchema:()=>Ta,RemoveDiscriminantsFromSchemas:()=>jr,ReplayConfigSchema:()=>ha,RequestOrResponseExampleGenerationSchema:()=>$i,ResolveAliases:()=>Ps,ResolveAliasesSchema:()=>Os,ReviewerSchema:()=>Hi,ReviewersSchema:()=>At,RubyGemsOutputLocationSchema:()=>Zs,SpecSchema:()=>Ds,UnionSettingsSchema:()=>Ss,WhitelabelConfigurationSchema:()=>Ia,WhitelabelGithubConfigurationSchema:()=>Aa,ai:()=>Mo,automation:()=>Vo,fernDefinition:()=>Qo,generators:()=>Yo,group:()=>Xo,license:()=>Zo,replay:()=>eu,reviewers:()=>tu});n();a();s();n();a();s();var Mo={};k(Mo,{AiServicesSchema:()=>Ln,ModelName:()=>kn,ModelProvider:()=>Fn});n();a();s();n();a();s();n();a();s();var u={};k(u,{JsonError:()=>Er,ParseError:()=>wr,any:()=>Xp,bigint:()=>Vp,boolean:()=>Zp,booleanLiteral:()=>Qp,date:()=>vp,discriminant:()=>cl,enum_:()=>Pn,getObjectLikeUtils:()=>De,getObjectUtils:()=>Ft,getSchemaUtils:()=>K,isProperty:()=>Ye,lazy:()=>zp,lazyObject:()=>Jp,list:()=>_n,never:()=>el,number:()=>tl,object:()=>Cn,objectWithoutOptionalProperties:()=>Hp,optional:()=>Lo,property:()=>Gp,record:()=>sl,set:()=>al,string:()=>rl,stringLiteral:()=>Yp,transform:()=>jo,undiscriminatedUnion:()=>ul,union:()=>ll,unknown:()=>il,withParsedProperties:()=>Bo});n();a();s();n();a();s();n();a();s();n();a();s();var D={BIGINT:"bigint",DATE:"date",ENUM:"enum",LIST:"list",STRING_LITERAL:"stringLiteral",BOOLEAN_LITERAL:"booleanLiteral",OBJECT:"object",ANY:"any",BOOLEAN:"boolean",NUMBER:"number",STRING:"string",UNKNOWN:"unknown",NEVER:"never",RECORD:"record",SET:"set",UNION:"union",UNDISCRIMINATED_UNION:"undiscriminatedUnion",NULLABLE:"nullable",OPTIONAL:"optional",OPTIONAL_NULLABLE:"optionalNullable"};n();a();s();function H(e,t){return`Expected ${t}. Received ${Ad(e)}.`}function Ad(e){if(Array.isArray(e))return"list";if(e===null)return"null";if(e instanceof BigInt)return"BigInt";switch(typeof e){case"string":return`"${e}"`;case"bigint":case"number":case"boolean":case"undefined":return`${e}`}return typeof e}n();a();s();function ue(e){return{...e,json:Mp(e.json),parse:Mp(e.parse)}}function Mp(e){return(t,r)=>{let i=e(t,r),{skipValidation:o=!1}=r??{};return!i.ok&&o?(console.warn(["Failed to validate.",...i.errors.map(c=>" - "+(c.path.length>0?`${c.path.join(".")}: ${c.message}`:c.message))].join(`
32
+ `)),{ok:!0,value:t}):i}}n();a();s();n();a();s();n();a();s();n();a();s();function On(e){return e.path.length===0?e.message:`${e.path.join(" -> ")}: ${e.message}`}var Er=class e extends Error{constructor(r){super(r.map(On).join("; "));m(this,"errors");this.errors=r,Object.setPrototypeOf(this,e.prototype)}};n();a();s();var wr=class e extends Error{constructor(r){super(r.map(On).join("; "));m(this,"errors");this.errors=r,Object.setPrototypeOf(this,e.prototype)}};function K(e){return{nullable:()=>Id(e),optional:()=>Lo(e),optionalNullable:()=>Ed(e),transform:t=>jo(e,t),parseOrThrow:(t,r)=>{let i=e.parse(t,r);if(i.ok)return i.value;throw new wr(i.errors)},jsonOrThrow:(t,r)=>{let i=e.json(t,r);if(i.ok)return i.value;throw new Er(i.errors)}}}function Id(e){let t={parse:(r,i)=>r==null?{ok:!0,value:null}:e.parse(r,i),json:(r,i)=>r==null?{ok:!0,value:null}:e.json(r,i),getType:()=>D.NULLABLE};return{...t,...K(t)}}function Lo(e){let t={parse:(r,i)=>r==null?{ok:!0,value:void 0}:e.parse(r,i),json:(r,i)=>i?.omitUndefined&&r===void 0?{ok:!0,value:void 0}:r==null?{ok:!0,value:null}:e.json(r,i),getType:()=>D.OPTIONAL};return{...t,...K(t)}}function Ed(e){let t={parse:(r,i)=>r===void 0?{ok:!0,value:void 0}:r===null?{ok:!0,value:null}:e.parse(r,i),json:(r,i)=>r===void 0?{ok:!0,value:void 0}:r===null?{ok:!0,value:null}:e.json(r,i),getType:()=>D.OPTIONAL_NULLABLE};return{...t,...K(t)}}function jo(e,t){let r={parse:(i,o)=>{let c=e.parse(i,o);return c.ok?{ok:!0,value:t.transform(c.value)}:c},json:(i,o)=>{let c=t.untransform(i);return e.json(c,o)},getType:()=>e.getType()};return{...r,...K(r)}}function Vp(){let e={parse:(t,{breadcrumbsPrefix:r=[]}={})=>typeof t=="bigint"?{ok:!0,value:t}:typeof t=="number"?{ok:!0,value:BigInt(t)}:{ok:!1,errors:[{path:r,message:H(t,"bigint | number")}]},json:(t,{breadcrumbsPrefix:r=[]}={})=>typeof t!="bigint"?{ok:!1,errors:[{path:r,message:H(t,"bigint")}]}:{ok:!0,value:t},getType:()=>D.BIGINT};return{...ue(e),...K(e)}}n();a();s();n();a();s();var wd=/^([+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([.,]\d+(?!:))?)?(\17[0-5]\d([.,]\d+)?)?([zZ]|([+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;function vp(){let e={parse:(t,{breadcrumbsPrefix:r=[]}={})=>typeof t!="string"?{ok:!1,errors:[{path:r,message:H(t,"string")}]}:wd.test(t)?{ok:!0,value:new Date(t)}:{ok:!1,errors:[{path:r,message:H(t,"ISO 8601 date string")}]},json:(t,{breadcrumbsPrefix:r=[]}={})=>t instanceof Date?{ok:!0,value:t.toISOString()}:{ok:!1,errors:[{path:r,message:H(t,"Date object")}]},getType:()=>D.DATE};return{...ue(e),...K(e)}}n();a();s();n();a();s();n();a();s();function ce(e,t){return()=>{let r={parse:t,json:t,getType:()=>e};return{...ue(r),...K(r)}}}function Pn(e){let t=new Set(e);return ce(D.ENUM,(i,{allowUnrecognizedEnumValues:o,breadcrumbsPrefix:c=[]}={})=>typeof i!="string"?{ok:!1,errors:[{path:c,message:H(i,"string")}]}:!t.has(i)&&!o?{ok:!1,errors:[{path:c,message:H(i,"enum")}]}:{ok:!0,value:i})()}n();a();s();n();a();s();function zp(e){let t=Do(e);return{...t,...K(t)}}function Do(e){return{parse:(t,r)=>Nr(e).parse(t,r),json:(t,r)=>Nr(e).json(t,r),getType:()=>Nr(e).getType()}}function Nr(e){let t=e;return t.__zurg_memoized==null&&(t.__zurg_memoized=e()),t.__zurg_memoized}n();a();s();n();a();s();n();a();s();n();a();s();function Uo(e){return Object.entries(e)}n();a();s();function Gi(e,t){let r=new Set(t);return Object.entries(e).reduce((i,[o,c])=>(r.has(o)&&(i[o]=c),i),{})}n();a();s();function Qe(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return t===null?!0:Object.getPrototypeOf(t)===null}n();a();s();function Wi(e){return Object.keys(e)}n();a();s();function qp(e,t){let r=[],i=[];for(let o of e)t(o)?r.push(o):i.push(o);return[r,i]}n();a();s();n();a();s();var Nd=Object.prototype.hasOwnProperty;function De(e){return{withParsedProperties:t=>Bo(e,t)}}function Bo(e,t){let r={parse:(i,o)=>{let c=e.parse(i,o);if(!c.ok)return c;let d={};for(let y in t)if(Nd.call(t,y)){let g=t[y];d[y]=typeof g=="function"?g(c.value):g}return{ok:!0,value:{...c.value,...d}}},json:(i,o)=>{if(!Qe(i))return{ok:!1,errors:[{path:o?.breadcrumbsPrefix??[],message:H(i,"object")}]};let c=new Set(Object.keys(t)),d=Gi(i,Object.keys(i).filter(y=>!c.has(y)));return e.json(d,o)},getType:()=>e.getType()};return{...r,...K(r),...De(r)}}n();a();s();function Gp(e,t){return{rawKey:e,valueSchema:t,isProperty:!0}}function Ye(e){return e.isProperty}var Rd=Object.prototype.hasOwnProperty;function Cn(e){let t;function r(){if(t==null){t={};for(let[O,w]of Uo(e)){let V=Ye(w)?w.rawKey:O,G=Ye(w)?w.valueSchema:w;t[V]={rawKey:V,parsedKey:O,valueSchema:G}}}return t}let i,o,c,d;function y(){if(i==null){i=[],o=[];for(let[O,w]of Uo(e)){let V=Ye(w)?w.rawKey:O,G=Ye(w)?w.valueSchema:w;Od(G)&&(i.push(V),o.push(O))}c=new Set(i),d=new Set(o)}return i}function g(){return o==null&&y(),o}function x(){return c==null&&y(),c}function S(){return d==null&&y(),d}let A={_getRawProperties:()=>Object.entries(e).map(([O,w])=>Ye(w)?w.rawKey:O),_getParsedProperties:()=>Wi(e),parse:(O,w)=>{let V=w?.breadcrumbsPrefix??[];return Wp({value:O,requiredKeys:y(),requiredKeysSet:x(),getProperty:G=>{let U=r()[G];if(U!=null)return{transformedKey:U.parsedKey,transform:z=>{let ie=[...V,G];return U.valueSchema.parse(z,{...w,breadcrumbsPrefix:ie})}}},unrecognizedObjectKeys:w?.unrecognizedObjectKeys,skipValidation:w?.skipValidation,breadcrumbsPrefix:V,omitUndefined:w?.omitUndefined})},json:(O,w)=>{let V=w?.breadcrumbsPrefix??[];return Wp({value:O,requiredKeys:g(),requiredKeysSet:S(),getProperty:G=>{let U=e[G];if(U!=null)return Ye(U)?{transformedKey:U.rawKey,transform:z=>{let ie=[...V,G];return U.valueSchema.json(z,{...w,breadcrumbsPrefix:ie})}}:{transformedKey:G,transform:z=>{let ie=[...V,G];return U.json(z,{...w,breadcrumbsPrefix:ie})}}},unrecognizedObjectKeys:w?.unrecognizedObjectKeys,skipValidation:w?.skipValidation,breadcrumbsPrefix:V,omitUndefined:w?.omitUndefined})},getType:()=>D.OBJECT};return{...ue(A),...K(A),...De(A),...Ft(A)}}function Wp({value:e,requiredKeys:t,requiredKeysSet:r,getProperty:i,unrecognizedObjectKeys:o="fail",skipValidation:c=!1,breadcrumbsPrefix:d=[]}){if(!Qe(e))return{ok:!1,errors:[{path:d,message:H(e,"object")}]};let y=t.length,g=[],x={};for(let S in e){if(!Rd.call(e,S))continue;let A=e[S],O=i(S);if(O!=null){y>0&&r.has(S)&&y--;let w=O.transform(A);w.ok?x[O.transformedKey]=w.value:(x[S]=A,g.push(...w.errors))}else switch(o){case"fail":g.push({path:[...d,S],message:`Unexpected key "${S}"`});break;case"strip":break;case"passthrough":x[S]=A;break}}if(y>0)for(let S of t)S in e||g.push({path:d,message:`Missing required key "${S}"`});return g.length===0||c?{ok:!0,value:x}:{ok:!1,errors:g}}function Ft(e){return{extend:t=>{let r={_getParsedProperties:()=>[...e._getParsedProperties(),...t._getParsedProperties()],_getRawProperties:()=>[...e._getRawProperties(),...t._getRawProperties()],parse:(i,o)=>$p({extensionKeys:t._getRawProperties(),value:i,transformBase:c=>e.parse(c,o),transformExtension:c=>t.parse(c,o),breadcrumbsPrefix:o?.breadcrumbsPrefix}),json:(i,o)=>$p({extensionKeys:t._getParsedProperties(),value:i,transformBase:c=>e.json(c,o),transformExtension:c=>t.json(c,o),breadcrumbsPrefix:o?.breadcrumbsPrefix}),getType:()=>D.OBJECT};return{...r,...K(r),...De(r),...Ft(r)}},passthrough:()=>{let t=new Set(e._getRawProperties()),r=new Set(e._getParsedProperties()),i={_getParsedProperties:()=>e._getParsedProperties(),_getRawProperties:()=>e._getRawProperties(),parse:(o,c)=>{let d=e.parse(o,{...c,unrecognizedObjectKeys:"passthrough"});if(!d.ok)return d;let y={};if(typeof o=="object"&&o!=null)for(let[g,x]of Object.entries(o))t.has(g)||(y[g]=x);return{ok:!0,value:{...y,...d.value}}},json:(o,c)=>{let d=e.json(o,{...c,unrecognizedObjectKeys:"passthrough"});if(!d.ok)return d;let y={};if(typeof o=="object"&&o!=null)for(let[g,x]of Object.entries(o))r.has(g)||(y[g]=x);return{ok:!0,value:{...y,...d.value}}},getType:()=>D.OBJECT};return{...i,...K(i),...De(i),...Ft(i)}}}}function $p({extensionKeys:e,value:t,transformBase:r,transformExtension:i,breadcrumbsPrefix:o=[]}){if(!Qe(t))return{ok:!1,errors:[{path:o,message:H(t,"object")}]};let c=new Set(e),[d,y]=qp(Wi(t),S=>c.has(S)),g=r(Gi(t,y)),x=i(Gi(t,d));return g.ok&&x.ok?{ok:!0,value:{...g.value,...x.value}}:{ok:!1,errors:[...g.ok?[]:g.errors,...x.ok?[]:x.errors]}}function Od(e){return!Pd(e)}function Pd(e){switch(e.getType()){case D.ANY:case D.UNKNOWN:case D.OPTIONAL:case D.OPTIONAL_NULLABLE:return!0;default:return!1}}n();a();s();function Hp(e){return Cn(e)}function Jp(e){let t={...Do(e),_getRawProperties:()=>Nr(e)._getRawProperties(),_getParsedProperties:()=>Nr(e)._getParsedProperties()};return{...t,...K(t),...De(t),...Ft(t)}}n();a();s();n();a();s();function _n(e){let t={parse:(r,i)=>Kp(r,(o,c)=>e.parse(o,{...i,breadcrumbsPrefix:[...i?.breadcrumbsPrefix??[],`[${c}]`]})),json:(r,i)=>Kp(r,(o,c)=>e.json(o,{...i,breadcrumbsPrefix:[...i?.breadcrumbsPrefix??[],`[${c}]`]})),getType:()=>D.LIST};return{...ue(t),...K(t)}}function Kp(e,t){if(!Array.isArray(e))return{ok:!1,errors:[{message:H(e,"list"),path:[]}]};let r=[],i=[];for(let o=0;o<e.length;o++){let c=t(e[o],o);c.ok?r.push(c.value):i.push(...c.errors)}return i.length===0?{ok:!0,value:r}:{ok:!1,errors:i}}n();a();s();n();a();s();function Qp(e){return ce(D.BOOLEAN_LITERAL,(r,{breadcrumbsPrefix:i=[]}={})=>r===e?{ok:!0,value:e}:{ok:!1,errors:[{path:i,message:H(r,`${e.toString()}`)}]})()}n();a();s();function Yp(e){return ce(D.STRING_LITERAL,(r,{breadcrumbsPrefix:i=[]}={})=>r===e?{ok:!0,value:e}:{ok:!1,errors:[{path:i,message:H(r,`"${e}"`)}]})()}n();a();s();n();a();s();var Xp=ce(D.ANY,e=>({ok:!0,value:e}));n();a();s();var Zp=ce(D.BOOLEAN,(e,{breadcrumbsPrefix:t=[]}={})=>typeof e=="boolean"?{ok:!0,value:e}:{ok:!1,errors:[{path:t,message:H(e,"boolean")}]});n();a();s();var el=ce(D.NEVER,(e,{breadcrumbsPrefix:t=[]}={})=>({ok:!1,errors:[{path:t,message:"Expected never"}]}));n();a();s();var tl=ce(D.NUMBER,(e,{breadcrumbsPrefix:t=[]}={})=>typeof e=="number"?{ok:!0,value:e}:{ok:!1,errors:[{path:t,message:H(e,"number")}]});n();a();s();var rl=ce(D.STRING,(e,{breadcrumbsPrefix:t=[]}={})=>typeof e=="string"?{ok:!0,value:e}:{ok:!1,errors:[{path:t,message:H(e,"string")}]});n();a();s();var il=ce(D.UNKNOWN,e=>({ok:!0,value:e}));n();a();s();n();a();s();var Cd=Object.prototype.hasOwnProperty;function sl(e,t){let r={parse:(i,o)=>nl({value:i,isKeyNumeric:e.getType()===D.NUMBER,transformKey:c=>e.parse(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${c} (key)`]}),transformValue:(c,d)=>t.parse(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${d}`]}),breadcrumbsPrefix:o?.breadcrumbsPrefix}),json:(i,o)=>nl({value:i,isKeyNumeric:e.getType()===D.NUMBER,transformKey:c=>e.json(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${c} (key)`]}),transformValue:(c,d)=>t.json(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${d}`]}),breadcrumbsPrefix:o?.breadcrumbsPrefix}),getType:()=>D.RECORD};return{...ue(r),...K(r)}}function nl({value:e,isKeyNumeric:t,transformKey:r,transformValue:i,breadcrumbsPrefix:o=[]}){if(!Qe(e))return{ok:!1,errors:[{path:o,message:H(e,"object")}]};let c={},d=[];for(let y in e){if(!Cd.call(e,y))continue;let g=e[y];if(g===void 0)continue;let x=y;if(t){let O=y.length>0?Number(y):NaN;Number.isNaN(O)||(x=O)}let S=r(x),A=i(g,x);S.ok&&A.ok?c[S.value]=A.value:(S.ok||d.push(...S.errors),A.ok||d.push(...A.errors))}return d.length===0?{ok:!0,value:c}:{ok:!1,errors:d}}n();a();s();n();a();s();function al(e){let t=_n(e),r={parse:(i,o)=>{let c=t.parse(i,o);return c.ok?{ok:!0,value:new Set(c.value)}:c},json:(i,o)=>i instanceof Set?t.json([...i],o):{ok:!1,errors:[{path:o?.breadcrumbsPrefix??[],message:H(i,"Set")}]},getType:()=>D.SET};return{...ue(r),...K(r)}}n();a();s();n();a();s();function ul(e){let t={parse:(r,i)=>ol((o,c)=>o.parse(r,c),e,i),json:(r,i)=>ol((o,c)=>o.json(r,c),e,i),getType:()=>D.UNDISCRIMINATED_UNION};return{...ue(t),...K(t)}}function ol(e,t,r){let i=[];for(let[o,c]of t.entries()){let d=e(c,{...r,skipValidation:!1});if(d.ok)return d;for(let y of d.errors)i.push({path:y.path,message:`[Variant ${o}] ${y.message}`})}return{ok:!1,errors:i}}n();a();s();n();a();s();function cl(e,t){return{parsedDiscriminant:e,rawDiscriminant:t}}n();a();s();var _d=Object.prototype.hasOwnProperty;function ll(e,t){let r=typeof e=="string"?e:e.rawDiscriminant,i=typeof e=="string"?e:e.parsedDiscriminant,o=Pn(Wi(t)),c={parse:(d,y)=>pl({value:d,discriminant:r,transformedDiscriminant:i,transformDiscriminantValue:g=>o.parse(g,{allowUnrecognizedEnumValues:y?.allowUnrecognizedUnionMembers,breadcrumbsPrefix:[...y?.breadcrumbsPrefix??[],r]}),getAdditionalPropertiesSchema:g=>t[g],allowUnrecognizedUnionMembers:y?.allowUnrecognizedUnionMembers,transformAdditionalProperties:(g,x)=>x.parse(g,y),breadcrumbsPrefix:y?.breadcrumbsPrefix}),json:(d,y)=>pl({value:d,discriminant:i,transformedDiscriminant:r,transformDiscriminantValue:g=>o.json(g,{allowUnrecognizedEnumValues:y?.allowUnrecognizedUnionMembers,breadcrumbsPrefix:[...y?.breadcrumbsPrefix??[],i]}),getAdditionalPropertiesSchema:g=>t[g],allowUnrecognizedUnionMembers:y?.allowUnrecognizedUnionMembers,transformAdditionalProperties:(g,x)=>x.json(g,y),breadcrumbsPrefix:y?.breadcrumbsPrefix}),getType:()=>D.UNION};return{...ue(c),...K(c),...De(c)}}function pl({value:e,discriminant:t,transformedDiscriminant:r,transformDiscriminantValue:i,getAdditionalPropertiesSchema:o,allowUnrecognizedUnionMembers:c=!1,transformAdditionalProperties:d,breadcrumbsPrefix:y=[]}){if(!Qe(e))return{ok:!1,errors:[{path:y,message:H(e,"object")}]};let g=e[t],x={};for(let w in e)_d.call(e,w)&&w!==t&&(x[w]=e[w]);if(g==null)return{ok:!1,errors:[{path:y,message:`Missing discriminant ("${t}")`}]};let S=i(g);if(!S.ok)return{ok:!1,errors:S.errors};let A=o(S.value);if(A==null)return c?{ok:!0,value:{[r]:S.value,...x}}:{ok:!1,errors:[{path:[...y,t],message:"Unexpected discriminant value"}]};let O=d(x,A);return O.ok?{ok:!0,value:{[r]:g,...O.value}}:O}n();a();s();var kn=u.string();n();a();s();var Fn=u.enum_(["openai","anthropic","bedrock"]);var Ln=u.object({provider:Fn,model:kn});var Vo={};k(Vo,{AutomationSchema:()=>ht});n();a();s();n();a();s();var ht=u.object({generate:u.boolean().optional(),upgrade:u.boolean().optional(),preview:u.boolean().optional(),verify:u.boolean().optional()});var Qo={};k(Qo,{AnyAuthItem:()=>jn,AnyAuthSchemesSchema:()=>Dn,ApiAuthSchema:()=>Or,AuthSchemeDeclarationSchema:()=>gt,AuthSchemeReferenceSchema:()=>Rr,AuthScope:()=>Hn,AuthVariable:()=>Lt,AvailabilitySchema:()=>ts,AvailabilityStatusSchema:()=>Cr,AvailabilityUnionSchema:()=>rs,BaseTypeReferenceSchema:()=>hs,BasicAuthSchemeSchema:()=>Mn,BearerAuthSchemeSchema:()=>Wn,EncodingSchema:()=>ss,EndpointSecuritySchema:()=>Bn,EndpointSecuritySchemaDetails:()=>Un,EnvironmentSchema:()=>us,HeaderAuthSchemeSchema:()=>$n,HttpHeaderSchema:()=>kr,InferredAuthenticatedRequestHeader:()=>Vn,InferredBearerAuthSchema:()=>qn,InferredGetTokenEndpointSchema:()=>zn,InferredGetTokenEndpointSchemaObject:()=>vn,ListValidationSchema:()=>ps,MapValidationSchema:()=>ls,MultipleBaseUrlsEnvironmentSchema:()=>as,NumberValidationSchema:()=>fs,OAuthAccessTokenRequestPropertiesSchema:()=>Jn,OAuthAccessTokenResponsePropertiesSchema:()=>Kn,OAuthGetTokenEndpointSchema:()=>Qn,OAuthRefreshTokenEndpointSchema:()=>Zn,OAuthRefreshTokenRequestPropertiesSchema:()=>Yn,OAuthRefreshTokenResponsePropertiesSchema:()=>Xn,OAuthSchemeSchema:()=>es,ProtobufTypeSchema:()=>ns,ServerVariableSchema:()=>_r,SingleBaseUrlEnvironmentSchema:()=>os,StringValidationSchema:()=>ms,TokenBearerAuthSchema:()=>Gn,TypeReferenceDeclarationWithEnvOverride:()=>bs,TypeReferenceDeclarationWithEnvOverrideSchema:()=>gs,TypeReferenceDeclarationWithName:()=>ys,ValidationSchema:()=>ds,WithAudiences:()=>bt,WithAvailability:()=>is,WithDocsSchema:()=>ee,WithEnvironmentVariable:()=>Pr,WithEnvironmentsSchema:()=>cs,WithHeadersSchema:()=>xs,WithName:()=>yt,auth:()=>vo,availability:()=>zo,commons:()=>qo,encoding:()=>Go,environments:()=>Wo,file:()=>$o,service:()=>Ho,types:()=>Jo,validation:()=>Ko});n();a();s();n();a();s();var vo={};k(vo,{AnyAuthItem:()=>jn,AnyAuthSchemesSchema:()=>Dn,ApiAuthSchema:()=>Or,AuthSchemeDeclarationSchema:()=>gt,AuthSchemeReferenceSchema:()=>Rr,AuthScope:()=>Hn,AuthVariable:()=>Lt,BasicAuthSchemeSchema:()=>Mn,BearerAuthSchemeSchema:()=>Wn,EndpointSecuritySchema:()=>Bn,EndpointSecuritySchemaDetails:()=>Un,HeaderAuthSchemeSchema:()=>$n,InferredAuthenticatedRequestHeader:()=>Vn,InferredBearerAuthSchema:()=>qn,InferredGetTokenEndpointSchema:()=>zn,InferredGetTokenEndpointSchemaObject:()=>vn,OAuthAccessTokenRequestPropertiesSchema:()=>Jn,OAuthAccessTokenResponsePropertiesSchema:()=>Kn,OAuthGetTokenEndpointSchema:()=>Qn,OAuthRefreshTokenEndpointSchema:()=>Zn,OAuthRefreshTokenRequestPropertiesSchema:()=>Yn,OAuthRefreshTokenResponsePropertiesSchema:()=>Xn,OAuthSchemeSchema:()=>es,TokenBearerAuthSchema:()=>Gn,WithEnvironmentVariable:()=>Pr});n();a();s();n();a();s();n();a();s();n();a();s();var ee=u.object({docs:u.string().optional()});var Rr=u.object({scheme:u.string()}).extend(ee);var jn=u.undiscriminatedUnion([u.string(),Rr]);n();a();s();var Dn=u.object({any:u.list(jn)}).extend(ee);n();a();s();n();a();s();n();a();s();var Un=u.object({});var Bn=u.object({"endpoint-security":Un}).extend(ee);var Or=u.undiscriminatedUnion([u.string(),Rr,Dn,Bn]);n();a();s();n();a();s();n();a();s();n();a();s();var yt=u.object({name:u.string().optional()});n();a();s();var Pr=u.object({env:u.string().optional()});var Lt=u.object({omit:u.boolean().optional()}).extend(Pr).extend(yt);var Mn=u.object({scheme:u.stringLiteral("basic"),username:Lt.optional(),password:Lt.optional()}).extend(ee);n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var Vn=u.object({"response-property":u.string(),"header-name":u.string(),"value-prefix":u.string().optional()});var vn=u.object({endpoint:u.string(),"expiry-response-property":u.string().optional(),"authenticated-request-headers":u.list(Vn).optional()});var zn=u.undiscriminatedUnion([u.string(),vn]);var qn=u.object({scheme:u.stringLiteral("bearer"),"get-token":zn}).extend(ee);n();a();s();var Gn=u.object({scheme:u.stringLiteral("bearer"),token:Lt.optional()}).extend(ee);var Wn=u.undiscriminatedUnion([Gn,qn]);n();a();s();var $n=u.object({header:u.string(),type:u.string().optional(),prefix:u.string().optional()}).extend(Pr).extend(yt).extend(ee);n();a();s();n();a();s();var Hn=u.string();n();a();s();n();a();s();var Jn=u.object({"client-id":u.string().optional(),"client-secret":u.string().optional(),scopes:u.string().optional()});n();a();s();var Kn=u.object({"access-token":u.string().optional(),"expires-in":u.string().optional(),"refresh-token":u.string().optional()});var Qn=u.object({endpoint:u.string(),"request-properties":Jn.optional(),"response-properties":Kn.optional()});n();a();s();n();a();s();var Yn=u.object({"refresh-token":u.string()});n();a();s();var Xn=u.object({"access-token":u.string().optional(),"expires-in":u.string().optional(),"refresh-token":u.string().optional()});var Zn=u.object({endpoint:u.string(),"request-properties":Yn.optional(),"response-properties":Xn.optional()});var es=u.object({scheme:u.stringLiteral("oauth"),type:u.stringLiteral("client-credentials"),scopes:u.list(Hn).optional(),"client-id-env":u.string().optional(),"client-secret-env":u.string().optional(),"token-prefix":u.string().optional(),"token-header":u.string().optional(),"get-token":Qn,"refresh-token":Zn.optional()}).extend(ee);var gt=u.undiscriminatedUnion([es,$n,Mn,Wn]);var zo={};k(zo,{AvailabilitySchema:()=>ts,AvailabilityStatusSchema:()=>Cr,AvailabilityUnionSchema:()=>rs});n();a();s();n();a();s();n();a();s();var Cr=u.enum_(["in-development","pre-release","deprecated","generally-available"]);var ts=u.object({status:Cr,message:u.string().optional()});n();a();s();var rs=u.undiscriminatedUnion([Cr,ts]);var qo={};k(qo,{WithAudiences:()=>bt,WithAvailability:()=>is,WithDocsSchema:()=>ee,WithName:()=>yt});n();a();s();n();a();s();var bt=u.object({audiences:u.list(u.string()).optional()});n();a();s();var is=u.object({availability:rs.optional()});var Go={};k(Go,{EncodingSchema:()=>ss,ProtobufTypeSchema:()=>ns});n();a();s();n();a();s();n();a();s();var ns=u.object({type:u.string()});var ss=u.object({proto:ns.optional()});var Wo={};k(Wo,{EnvironmentSchema:()=>us,MultipleBaseUrlsEnvironmentSchema:()=>as,ServerVariableSchema:()=>_r,SingleBaseUrlEnvironmentSchema:()=>os,WithEnvironmentsSchema:()=>cs});n();a();s();n();a();s();n();a();s();n();a();s();var _r=u.object({id:u.string(),default:u.string().optional(),values:u.list(u.string()).optional()});var as=u.object({urls:u.record(u.string(),u.string()),"url-templates":u.record(u.string(),u.string()).optional(),"default-urls":u.record(u.string(),u.string()).optional(),variables:u.record(u.string(),u.list(_r)).optional()}).extend(bt).extend(ee);n();a();s();var os=u.object({url:u.string(),"default-url":u.string().optional(),"url-template":u.string().optional(),variables:u.list(_r).optional()}).extend(bt).extend(ee);var us=u.undiscriminatedUnion([u.string(),os,as]);n();a();s();var cs=u.object({"default-url":u.string().optional(),"default-environment":u.string().optional(),environments:u.record(u.string(),us).optional()});var $o={};k($o,{WithHeadersSchema:()=>xs});n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var ps=u.object({minItems:u.number().optional(),maxItems:u.number().optional()});n();a();s();var ls=u.object({minProperties:u.number().optional(),maxProperties:u.number().optional()});n();a();s();var fs=u.object({min:u.number().optional(),max:u.number().optional(),exclusiveMin:u.boolean().optional(),exclusiveMax:u.boolean().optional(),multipleOf:u.number().optional()});n();a();s();var ms=u.object({minLength:u.number().optional(),maxLength:u.number().optional(),pattern:u.string().optional(),format:u.string().optional()});var ds=u.undiscriminatedUnion([ms,fs,ps,ls]);var hs=u.object({default:u.unknown().optional(),encoding:ss.optional(),validation:ds.optional()}).extend(ee).extend(is);var ys=u.object({type:u.string()}).extend(hs).extend(yt).extend(bt);var gs=u.object({env:u.string().optional()}).extend(ys);var bs=u.undiscriminatedUnion([u.string(),gs]);var kr=bs;var xs=u.object({headers:u.record(u.string(),kr).optional()});var Ho={};k(Ho,{HttpHeaderSchema:()=>kr,TypeReferenceDeclarationWithEnvOverride:()=>bs,TypeReferenceDeclarationWithEnvOverrideSchema:()=>gs});n();a();s();var Jo={};k(Jo,{BaseTypeReferenceSchema:()=>hs,TypeReferenceDeclarationWithName:()=>ys});n();a();s();var Ko={};k(Ko,{ListValidationSchema:()=>ps,MapValidationSchema:()=>ls,NumberValidationSchema:()=>fs,StringValidationSchema:()=>ms,ValidationSchema:()=>ds});n();a();s();var Yo={};k(Yo,{ApiConfigurationSchema:()=>Ms,ApiConfigurationSchemaInternal:()=>Vr,ApiConfigurationV2Schema:()=>Us,ApiConfigurationV2SettingsSchema:()=>qr,ApiConfigurationV2SpecsSchema:()=>Gr,ApiDefinitionList:()=>As,ApiDefinitionPathSchema:()=>xt,ApiDefinitionSchema:()=>Ts,ApiDefinitionSettingsSchema:()=>Dr,ApiDefinitionWithOverridesSchema:()=>Ur,AsyncApiSettingsSchema:()=>zr,AsyncApiSpecSchema:()=>_s,BaseApiSettingsSchema:()=>vr,CoerceConstsTo:()=>Is,ConjureSchema:()=>Cs,DefaultIntegerFormat:()=>Es,ExampleStyle:()=>Vs,FormParameterEncoding:()=>ws,GeneratorImageObjectSchema:()=>vs,GeneratorsConfigurationSchema:()=>fl,GeneratorsOpenApiObjectSchema:()=>ya,GeneratorsOpenApiSchema:()=>ga,GraphQlSpecSchema:()=>ks,Language:()=>ba,MessageNamingSettingsSchema:()=>Fr,NamespacedApiConfigurationSchema:()=>Bs,OpenApiExampleGenerationSchema:()=>Ns,OpenApiFilterSchema:()=>Rs,OpenApiSettingsSchema:()=>St,OpenApiSpecSchema:()=>Fs,OpenRpcSpecSchema:()=>Ls,OutputMetadataAuthor:()=>zs,OutputMetadataSchema:()=>Tt,OverridesSchema:()=>Pe,PathParameterOrder:()=>Lr,ProtobufApiDefinitionSchema:()=>Mr,ProtobufDefinitionSchema:()=>Br,ProtobufSpecSchema:()=>js,ReadmeCustomSectionSchema:()=>xa,ReadmeEndpointObjectSchema:()=>Sa,ReadmeEndpointSchema:()=>Ki,ReadmeSchema:()=>Ta,RemoveDiscriminantsFromSchemas:()=>jr,RequestOrResponseExampleGenerationSchema:()=>$i,ResolveAliases:()=>Ps,ResolveAliasesSchema:()=>Os,SpecSchema:()=>Ds,UnionSettingsSchema:()=>Ss,WhitelabelConfigurationSchema:()=>Ia,WhitelabelGithubConfigurationSchema:()=>Aa});n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var xt=u.string();n();a();s();n();a();s();n();a();s();var Fr=u.enum_(["v1","v2"]);n();a();s();var Lr=u.enum_(["url-order","spec-order"]);n();a();s();var jr=u.enum_(["always","never"]);n();a();s();var Ss=u.enum_(["v1"]);var Dr=u.object({"use-title":u.boolean().optional(),unions:Ss.optional(),"message-naming":Fr.optional(),"respect-nullable-schemas":u.boolean().optional(),"only-include-referenced-schemas":u.boolean().optional(),"inline-path-parameters":u.boolean().optional(),"idiomatic-request-names":u.boolean().optional(),"wrap-references-to-nullable-in-optional":u.boolean().optional(),"coerce-optional-schemas-to-nullable":u.boolean().optional(),"group-environments-by-host":u.boolean().optional(),"remove-discriminants-from-schemas":jr.optional(),"path-parameter-order":Lr.optional()});n();a();s();var Pe=u.undiscriminatedUnion([u.string(),u.list(u.string())]);var Ur=u.object({path:xt,origin:u.string().optional(),overrides:Pe.optional(),audiences:u.list(u.string()).optional(),settings:Dr.optional()});n();a();s();n();a();s();var Br=u.object({target:u.string().optional(),root:u.string(),overrides:Pe.optional(),"local-generation":u.boolean().optional(),"from-openapi":u.boolean().optional(),dependencies:u.list(u.string()).optional()});var Mr=u.object({proto:Br});var Ts=u.undiscriminatedUnion([xt,Ur,Mr]);var As=u.list(Ts);var Vr=u.undiscriminatedUnion([xt,Ur,As,Mr]);n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var Is=u.enum_(["literals","enums","enums-coerceable-to-literals"]);var vr=u.object({"respect-nullable-schemas":u.boolean().optional(),"title-as-schema-name":u.boolean().optional(),"optional-additional-properties":u.boolean().optional(),"coerce-enums-to-literals":u.boolean().optional(),"idiomatic-request-names":u.boolean().optional(),"wrap-references-to-nullable-in-optional":u.boolean().optional(),"coerce-optional-schemas-to-nullable":u.boolean().optional(),"group-environments-by-host":u.boolean().optional(),"remove-discriminants-from-schemas":jr.optional(),"path-parameter-order":Lr.optional(),"resolve-schema-collisions":u.boolean().optional(),"infer-forward-compatible":u.boolean().optional(),"infer-default-environment":u.boolean().optional(),"coerce-consts-to":Is.optional()});var zr=u.object({"message-naming":Fr.optional()}).extend(vr);n();a();s();n();a();s();var Es=u.enum_(["int32","int64","uint32","uint64"]);n();a();s();var ws=u.enum_(["form","json"]);n();a();s();n();a();s();var $i=u.object({"max-depth":u.number().optional()});var Ns=u.object({request:$i.optional(),response:$i.optional()});n();a();s();var Rs=u.object({endpoints:u.list(u.string()).optional()});n();a();s();n();a();s();var Os=u.object({except:u.list(u.string()).optional()});var Ps=u.undiscriminatedUnion([u.boolean(),Os]);var St=u.object({"only-include-referenced-schemas":u.boolean().optional(),"inline-path-parameters":u.boolean().optional(),"prefer-undiscriminated-unions-with-literals":u.boolean().optional(),"object-query-parameters":u.boolean().optional(),"respect-readonly-schemas":u.boolean().optional(),"respect-forward-compatible-enums":u.boolean().optional(),"use-bytes-for-binary-response":u.boolean().optional(),"default-form-parameter-encoding":ws.optional(),filter:Rs.optional(),"example-generation":Ns.optional(),"additional-properties-defaults-to":u.boolean().optional(),"type-dates-as-strings":u.boolean().optional(),"preserve-single-schema-oneof":u.boolean().optional(),"inline-all-of-schemas":u.boolean().optional(),"resolve-aliases":Ps.optional(),"group-multi-api-environments":u.boolean().optional(),"default-integer-format":Es.optional()}).extend(vr);var qr=u.object({}).extend(St).extend(zr);n();a();s();n();a();s();var Cs=u.object({conjure:u.string()});n();a();s();n();a();s();var _s=u.object({asyncapi:u.string(),origin:u.string().optional(),overrides:Pe.optional(),namespace:u.string().optional(),settings:zr.optional()});n();a();s();var ks=u.object({graphql:u.string(),origin:u.string().optional(),overrides:u.string().optional(),name:u.string().optional()});n();a();s();var Fs=u.object({openapi:u.string(),origin:u.string().optional(),overrides:Pe.optional(),overlays:u.string().optional(),namespace:u.string().optional(),settings:St.optional()});n();a();s();var Ls=u.object({openrpc:u.string(),overrides:Pe.optional(),namespace:u.string().optional()});n();a();s();var js=u.object({proto:Br});var Ds=u.undiscriminatedUnion([Fs,_s,js,Ls,ks]);var Gr=u.undiscriminatedUnion([u.list(Ds),Cs]);var Us=u.object({auth:Or.optional(),"auth-schemes":u.record(u.string(),gt).optional(),specs:Gr,settings:qr.optional()}).extend(xs).extend(cs);n();a();s();var Bs=u.object({namespaces:u.record(u.string(),Vr)});var Ms=u.undiscriminatedUnion([Vr,Bs,Us]);n();a();s();var Vs=u.enum_(["minimal","comprehensive"]);n();a();s();var vs=u.object({name:u.string(),registry:u.string()});n();a();s();n();a();s();n();a();s();n();a();s();var zs=u.object({name:u.string(),email:u.string()});var Tt=u.object({description:u.string().optional(),authors:u.list(zs).optional()});n();a();s();n();a();s();var Hi=u.object({name:u.string()});var At=u.object({teams:u.list(Hi).optional(),users:u.list(Hi).optional()});n();a();s();n();a();s();n();a();s();n();a();s();var qs=u.object({auth:Or.optional(),"auth-schemes":u.record(u.string(),gt).optional(),headers:u.record(u.string(),kr).optional(),settings:qr.optional(),specs:Gr.optional()});n();a();s();n();a();s();var Gs=u.object({url:u.string().optional(),"package-name":u.string(),token:u.string().optional()});n();a();s();var Ws=u.object({path:u.string()});n();a();s();n();a();s();var $s=u.object({keyId:u.string(),password:u.string(),secretKey:u.string()});var Hs=u.object({url:u.string().optional(),coordinate:u.string(),username:u.string().optional(),password:u.string().optional(),signature:$s.optional()});n();a();s();var Js=u.object({url:u.string().optional(),"package-name":u.string(),token:u.string().optional()});n();a();s();var Ks=u.object({url:u.string().optional(),"package-name":u.string(),"api-key":u.string().optional()});n();a();s();var Qs=u.object({"api-key":u.string(),"workspace-id":u.string(),"collection-id":u.string().optional()});n();a();s();n();a();s();var Ys=u.object({keywords:u.list(u.string()).optional(),"documentation-link":u.string().optional(),"homepage-link":u.string().optional()}).extend(Tt);var Xs=u.object({url:u.string().optional(),"package-name":u.string(),token:u.string().optional(),username:u.string().optional(),password:u.string().optional(),metadata:Ys.optional()});n();a();s();var Zs=u.object({url:u.string().optional(),"package-name":u.string(),"api-key":u.string().optional()});var ea=u.union("location",{npm:Js,maven:Hs,pypi:Xs,postman:Qs,"local-file-system":Ws,nuget:Ks,rubygems:Zs,crates:Gs}).transform({transform:e=>e,untransform:e=>e});n();a();s();n();a();s();n();a();s();var ta=u.object({custom:u.string()});n();a();s();var ra=u.enum_(["MIT","Apache-2.0"]);var Ce=u.undiscriminatedUnion([ra,ta]);var Ji=u.object({"package-description":u.string().optional(),email:u.string().optional(),"reference-url":u.string().optional(),author:u.string().optional(),license:Ce.optional()});n();a();s();var ia=u.object({path:u.string()});n();a();s();n();a();s();n();a();s();var na=u.enum_(["commit","release"]);var sa=u.object({repository:u.string(),license:Ce.optional(),mode:na.optional()});n();a();s();var aa=u.object({repository:u.string(),branch:u.string().optional(),license:Ce.optional(),mode:u.stringLiteral("pull-request"),reviewers:At.optional()});n();a();s();var oa=u.object({repository:u.string(),license:Ce.optional(),mode:u.stringLiteral("push"),branch:u.string().optional()});n();a();s();n();a();s();var ua=u.enum_(["pull-request","push"]);var ca=u.object({uri:u.string(),token:u.string(),mode:ua.optional(),branch:u.string().optional(),license:Ce.optional()});var pa=u.undiscriminatedUnion([ca,sa,aa,oa]);var Wr=u.object({version:u.string(),output:ea.optional(),github:pa.optional(),config:u.unknown().optional(),metadata:Ji.optional(),keywords:u.list(u.string()).optional(),snippets:ia.optional(),"ir-version":u.string().optional(),"smart-casing":u.boolean().optional(),api:qs.optional(),"disable-examples":u.boolean().optional(),"publish-metadata":Ji.optional(),autorelease:u.boolean().optional(),automation:ht.optional()});var la=u.object({image:vs}).extend(Wr);n();a();s();var fa=u.object({name:u.string()}).extend(Wr);var ma=u.undiscriminatedUnion([fa,la]);var da=u.object({audiences:u.list(u.string()).optional(),generators:u.list(ma),metadata:Tt.optional(),reviewers:At.optional(),automation:ht.optional()});n();a();s();var ha=u.object({enabled:u.boolean()});n();a();s();n();a();s();var ya=u.object({path:u.string(),origin:u.string().optional(),overrides:u.string().optional(),"disable-examples":u.boolean().optional(),settings:St});var ga=u.undiscriminatedUnion([ya,u.string()]);n();a();s();n();a();s();n();a();s();var ba=u.enum_(["java","python","go","ruby","csharp","typescript","php","rust","swift"]);var xa=u.object({title:u.string(),language:ba,content:u.string()});n();a();s();n();a();s();var Sa=u.object({method:u.string(),path:u.string(),stream:u.boolean().optional()});var Ki=u.undiscriminatedUnion([u.string(),Sa]);var Ta=u.object({bannerLink:u.string().optional(),introduction:u.string().optional(),apiReferenceLink:u.string().optional(),apiName:u.string().optional(),disabledSections:u.list(u.string()).optional(),defaultEndpoint:Ki.optional(),features:u.record(u.string(),u.list(Ki)).optional(),customSections:u.list(xa).optional(),exampleStyle:Vs.optional()});n();a();s();n();a();s();var Aa=u.object({username:u.string(),email:u.string(),token:u.string()});var Ia=u.object({github:Aa.optional()});var fl=u.object({"auth-schemes":u.record(u.string(),gt).optional(),api:Ms.optional(),whitelabel:Ia.optional(),metadata:Tt.optional(),readme:Ta.optional(),"default-group":u.string().optional(),aliases:u.record(u.string(),u.list(u.string())).optional(),groups:u.record(u.string(),da).optional(),reviewers:At.optional(),replay:ha.optional(),ai:Ln.optional(),autorelease:u.boolean().optional(),automation:ht.optional(),openapi:ga.optional(),"openapi-overrides":u.string().optional(),"spec-origin":u.string().optional(),"async-api":u.string().optional(),"api-settings":Dr.optional()});var Xo={};k(Xo,{BaseGeneratorInvocationSchema:()=>Wr,CratesOutputLocationSchema:()=>Gs,CustomGeneratorInvocationSchema:()=>la,DefaultGeneratorInvocationSchema:()=>fa,GeneratorApiSettingsSchema:()=>qs,GeneratorGroupSchema:()=>da,GeneratorInvocationSchema:()=>ma,GeneratorOutputSchema:()=>ea,GeneratorPublishMetadataSchema:()=>Ji,GeneratorSnippetsSchema:()=>ia,GithubCommitAndReleaseMode:()=>na,GithubCommitAndReleaseSchema:()=>sa,GithubConfigurationSchema:()=>pa,GithubPullRequestSchema:()=>aa,GithubPushSchema:()=>oa,GithubSelfhostedMode:()=>ua,GithubSelfhostedSchema:()=>ca,LocalFileSystemOutputLocationSchema:()=>Ws,MavenOutputLocationSchema:()=>Hs,MavenOutputSignatureSchema:()=>$s,NpmOutputLocationSchema:()=>Js,NugetOutputLocationSchema:()=>Ks,PostmanOutputLocationSchema:()=>Qs,PypiOutputLocationSchema:()=>Xs,PypiOutputMetadataSchema:()=>Ys,RubyGemsOutputLocationSchema:()=>Zs});n();a();s();var Zo={};k(Zo,{GithubLicenseCustomSchema:()=>ta,GithubLicenseSchema:()=>Ce,GithubLicenseType:()=>ra});n();a();s();var eu={};k(eu,{ReplayConfigSchema:()=>ha});n();a();s();var tu={};k(tu,{ReviewerSchema:()=>Hi,ReviewersSchema:()=>At});n();a();s();n();a();s();n();a();s();function ml(e){return e?.specs!=null}n();a();s();function dl(e){return e?.asyncapi!=null}n();a();s();function hl(e){return e?.conjure!=null}n();a();s();function yl(e){return e?.graphql!=null}n();a();s();function gl(e){return e?.namespaces!=null}n();a();s();function bl(e){return e?.openapi!=null}n();a();s();function xl(e){return e?.openrpc!=null}n();a();s();function Sl(e){return e?.proto!=null}var Tl={[_e.GenerationLanguage.PHP]:new Set(["abstract","and","as","break","callable","case","catch","class","clone","const","continue","declare","default","do","echo","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","final","finally","fn","for","foreach","function","global","goto","list","if","implements","include","include_once","instanceof","insteadof","interface","match","namespace","new","or","parent","Parent","print","private","protected","public","readonly","require","require_once","return","static","switch","throw","trait","try","use","var","while","xor","yield"].flatMap(e=>[e,xe(e)])),[_e.GenerationLanguage.TYPESCRIPT]:new Set(["any","as","boolean","break","case","catch","class","const","constructor","continue","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","instanceof","interface","let","module","new","null","number","of","package","private","protected","public","require","return","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","var","void","while","with","yield","Date","Error","File","Object","Record"]),[_e.GenerationLanguage.JAVA]:new Set(["abstract","assert","boolean","break","byte","case","catch","char","class","const","continue","default","do","double","else","enum","extends","false","final","finally","float","for","goto","if","implements","import","instanceof","int","interface","long","native","new","null","package","private","protected","public","return","short","static","strictfp","super","switch","synchronized","this","throw","throws","transient","true","try","void","volatile","while"]),[_e.GenerationLanguage.PYTHON]:new Set(["False","None","True","and","as","assert","async","","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal","not","or","pass","raise","return","try","while","with","yield","float","int","complex","bool","uuid","list","set","map","long","self","all","kwargs"]),[_e.GenerationLanguage.GO]:new Set(["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","internal","map","package","range","return","select","struct","switch","type","var","vendor","any","bool","byte","complex64","complex128","error","float32","float64","int","int8","int16","int32","int64","make","new","rune","string","uint","uint8","uint16","uint32","uint64","uintptr"]),[_e.GenerationLanguage.RUBY]:new Set(["__ENCODING__","__LINE__","__FILE__","alias","and","begin","break","case","class","def","defined","do","else","elsif","end","ensure","false","for","if","in","module","next","nil","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","Object","JSON","Date","DateTime","object_id","hash","eql?","equal?","method","send","respond_to?","respond_to_missing?","instance_of?","kind_of?","is_a?","extend","singleton_class","instance_variables","instance_variable_get","instance_variable_set","instance_variable_defined?","remove_instance_variable","public_methods","private_methods","protected_methods","singleton_methods"]),[_e.GenerationLanguage.CSHARP]:new Set(["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","virtual","void","volatile","while","add","and","alias","ascending","args","async","","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","managed","nameof","nint","not","notnull","nuint","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value","var","when","where","with","yield"]),[_e.GenerationLanguage.RUST]:new Set(["as","async","await","break","const","continue","crate","dyn","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","Self","static","struct","super","trait","true","type","union","unsafe","use","where","while","abstract","become","box","do","final","macro","override","priv","try","typeof","unsized","virtual","yield","bool","char","f32","f64","i8","i16","i32","i64","i128","isize","str","u8","u16","u32","u64","u128","usize","String","Vec","Option","Result","Box","Rc","Arc","Cell","RefCell","HashMap","HashSet","BTreeMap","BTreeSet"]),[_e.GenerationLanguage.SWIFT]:new Set([])};var kd=["go","ruby"];function Ea(e,t,r){let{generationLanguage:i,keywords:o,smartCasing:c}=r,d=vd(e),y=U=>({unsafeName:U,safeName:Fd({name:U,keywords:Ld({generationLanguage:i,keywords:o})})}),g=t.preserveUnderscores===!0,x=g?(U,z)=>iu(U,z):(U,z)=>z(U),S=x(d,Dt),A=g?iu(d,U=>xe(Dt(U))):xe(S),O=x(d,tn),{leading:w,trailing:V}=g?Il(d):{leading:"",trailing:""},G=Xr(S);if(c){!Ud(G)&&(i==null||kd.includes(i))&&(S=w+G.map((z,ie)=>{if(ie>0){let de=wa(z);if(de!=null)return de;if(Na(z))return z.toUpperCase()}return z}).join("")+V,A=xe(w+G.map((z,ie)=>{let de=wa(z);return de??(Na(z)?z.toUpperCase():ie===0?xe(z):z)}).join("")+V));let U=z=>z.split(" ").map(ie=>ie.split(/(\d+)/).map(tn).join("")).join("_");O=g?iu(d,U):U(d)}return{originalName:e,camelCase:y(t.casingOverrides?.camel??S),snakeCase:y(t.casingOverrides?.snake??O),screamingSnakeCase:y(t.casingOverrides?.["screaming-snake"]??O.toUpperCase()),pascalCase:y(t.casingOverrides?.pascal??A)}}function Al({generationLanguage:e,keywords:t,smartCasing:r}){let i={generationLanguage:e,keywords:t,smartCasing:r};return{generateName:(o,c)=>{if(typeof o=="string")return Ea(o,c??{},i);if("wireValue"in o){let d=o.name;return typeof d=="string"?Ea(d,c??{},i):d}return o},generateNameAndWireValue:(o,c)=>{if(typeof o=="string")return{wireValue:o,name:Ea(o,c??{},i)};let{name:d,wireValue:y}=o,g=typeof d=="string"?Ea(d,c??{},i):d;return{wireValue:y,name:g}}}}function Fd({name:e,keywords:t}){return t==null?e:t.has(e)?e+"_":Dd(e)?"_"+e:e}function Ld({generationLanguage:e,keywords:t}){if(t!=null)return new Set(t);if(e!=null)return Tl[e]}var jd=/^[0-9]/;function Dd(e){return jd.test(e)}function Ud(e){return e.some((t,r)=>{if(r===0)return!1;let i=e[r-1];if(i==null)return!1;let o=wa(i)!=null||Na(i),c=wa(t)!=null||Na(t);return o&&c})}function wa(e){return Md.get(e.toUpperCase())}function Na(e){return Bd.has(e.toUpperCase())}var Bd=new Set(["ACL","API","ASCII","CPU","CSS","DNS","EOF","GUID","HTML","HTTP","HTTPS","ID","IP","JSON","LHS","QPS","RAM","RHS","RPC","SAML","SCIM","SLA","SMTP","SQL","SSH","SSO","TCP","TLS","TTL","UDP","UI","UID","UUID","URI","URL","UTF8","VM","XML","XMPP","XSRF","XSS"]),Md=new Map([["ACLS","ACLs"],["APIS","APIs"],["CPUS","CPUs"],["GUIDS","GUIDs"],["IDS","IDs"],["UIDS","UIDs"],["UUIDS","UUIDs"],["URIS","URIs"],["URLS","URLs"]]),Vd=[[/\[\]/g,"Array"]];function vd(e){return Vd.reduce((t,[r,i])=>t.replace(r,i),e)}function Il(e){let t=e.match(/^(_+)/),r=e.match(/(_+)$/),i=t?.[1]??"",o=r?.[1]??"";if(i.length+o.length>=e.length)return{leading:e,trailing:"",core:""};let c=e.slice(i.length,e.length-o.length||void 0);return{leading:i,trailing:o,core:c}}function iu(e,t){let{leading:r,trailing:i,core:o}=Il(e);return r===""&&i===""?t(e):`${r}${t(o)}${i}`}n();a();s();function Qi(e){return typeof e=="string"?e:e.wireValue}var Yi=class e{constructor(t){m(this,"casingsGenerator");this.casingsGenerator=Al(t)}static fromLanguage(t,r){return new e({generationLanguage:t,keywords:void 0,smartCasing:r})}resolve(t){return this.casingsGenerator.generateName(t)}resolveNameOrString(t){return this.casingsGenerator.generateName(t)}resolveNameAndWireValue(t){return this.casingsGenerator.generateNameAndWireValue(t)}camel(t){return this.resolve(t).camelCase}camelSafe(t){return this.camel(t).safeName}camelUnsafe(t){return this.camel(t).unsafeName}pascal(t){return this.resolve(t).pascalCase}pascalSafe(t){return this.pascal(t).safeName}pascalUnsafe(t){return this.pascal(t).unsafeName}snake(t){return this.resolve(t).snakeCase}snakeSafe(t){return this.snake(t).safeName}snakeUnsafe(t){return this.snake(t).unsafeName}screamingSnake(t){return this.resolve(t).screamingSnakeCase}screamingSnakeSafe(t){return this.screamingSnake(t).safeName}screamingSnakeUnsafe(t){return this.screamingSnake(t).unsafeName}};var $r=class extends Te{constructor({name:r,namespace:i,access:o,annotations:c,origin:d},y){super(d,y);m(this,"access");m(this,"reference");m(this,"annotations");m(this,"fields",[]);m(this,"generateSerializer",!1);m(this,"serializerClassReference");this.reference=this.csharp.classReference({name:r,namespace:i,origin:d}),this.access=o,this.annotations=c??[]}get name(){return this.reference.name}get namespace(){return this.reference.namespace}getNamespace(){return this.namespace}addAnnotation(r){this.annotations.push(r)}addMember(r){this.fields.push({name:r.name,wireValue:r.value,value:this.csharp.annotation({reference:this.System.Runtime.Serialization.EnumMember,argument:this.csharp.codeblock(i=>{i.write("Value = "),i.writeNode(this.csharp.string_({string:r.value}))})})})}enableSerializerGeneration(){return this.generateSerializer=!0,this.serializerClassReference=this.csharp.classReference({name:`${this.name}Serializer`,namespace:this.namespace}),this.serializerClassReference}write(r){r.writeLine(`namespace ${this.namespace};`),r.newLine();for(let i of this.annotations)i.write(r);r.writeNewLineIfLastLineNot(),r.write(`${this.access} `),r.write("enum "),r.writeLine(`${this.name}`),r.pushScope(),this.fields.forEach((i,o)=>{i.value.write(r),r.write(i.name),o<this.fields.length-1&&(r.writeLine(","),r.newLine())}),r.writeNewLineIfLastLineNot(),r.popScope(),this.generateSerializer&&this.writeSerializerClass(r)}writeSerializerClass(r){r.newLine(),r.writeLine(`internal class ${this.name}Serializer : global::System.Text.Json.Serialization.JsonConverter<${this.name}>`),r.pushScope(),r.writeLine(`private static readonly global::System.Collections.Generic.Dictionary<string, ${this.name}> _stringToEnum = new()`),r.pushScope();for(let i of this.fields)r.writeLine(`{ ${JSON.stringify(Qi(i))}, ${this.name}.${i.name} },`);r.popScope(!1),r.writeLine(";"),r.newLine(),r.writeLine(`private static readonly global::System.Collections.Generic.Dictionary<${this.name}, string> _enumToString = new()`),r.pushScope();for(let i of this.fields)r.writeLine(`{ ${this.name}.${i.name}, ${JSON.stringify(Qi(i))} },`);r.popScope(!1),r.writeLine(";"),r.newLine(),r.writeLine(`public override ${this.name} Read(ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options)`),r.pushScope(),r.writeLine('var stringValue = reader.GetString() ?? throw new global::System.Exception("The JSON value could not be read as a string.");'),r.writeLine("return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default;"),r.popScope(),r.newLine(),r.writeLine(`public override void Write(global::System.Text.Json.Utf8JsonWriter writer, ${this.name} value, global::System.Text.Json.JsonSerializerOptions options)`),r.pushScope(),r.writeLine("writer.WriteStringValue(_enumToString.TryGetValue(value, out var stringValue) ? stringValue : null);"),r.popScope(),r.newLine(),r.writeLine(`public override ${this.name} ReadAsPropertyName(ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options)`),r.pushScope(),r.writeLine('var stringValue = reader.GetString() ?? throw new global::System.Exception("The JSON property name could not be read as a string.");'),r.writeLine("return _stringToEnum.TryGetValue(stringValue, out var enumValue) ? enumValue : default;"),r.popScope(),r.newLine(),r.writeLine(`public override void WriteAsPropertyName(global::System.Text.Json.Utf8JsonWriter writer, ${this.name} value, global::System.Text.Json.JsonSerializerOptions options)`),r.pushScope(),r.writeLine("writer.WritePropertyName(_enumToString.TryGetValue(value, out var stringValue) ? stringValue : value.ToString());"),r.popScope(),r.popScope()}};n();a();s();var Hr=class extends Ar{constructor({name:t,namespace:r,access:i,partial:o,interfaceReferences:c,enclosingType:d,origin:y},g){super({name:t,namespace:r,access:i,partial:o,interfaceReferences:c,enclosingType:d,origin:y},g)}write(t){this.isNested||(t.writeLine(`namespace ${this.namespace};`),t.newLine()),t.write(`${this.access} `),this.partial&&t.write("partial "),t.write("interface "),t.writeLine(`${this.name}`),this.interfaceReferences.length>0&&(t.write(" : "),this.interfaceReferences.forEach((r,i)=>{r.write(t),i<this.interfaceReferences.length-1&&t.write(", ")})),t.pushScope();for(let r of this.fields)r.write(t),t.writeLine("");t.dedent(),t.indent();for(let r of this.methods)r.write(t),t.writeLine("");t.popScope()}};n();a();s();var Jr=class extends Te{constructor({name:r,namespace:i,parentClassReference:o,origin:c},d){super(c,d);m(this,"reference");m(this,"parentClassReference");m(this,"testMethods",[]);this.reference=this.csharp.classReference({name:r,namespace:i,origin:c}),this.parentClassReference=o}get name(){return this.reference.name}get namespace(){return this.reference.namespace}write(r){r.writeNode(this.getClass())}getClass(){let r=[this.NUnit.Framework.TestFixture,this.csharp.annotation({reference:this.NUnit.Framework.Parallelizable,argument:"ParallelScope.Self"})],i=new Ve({access:ne.Public,name:this.name,namespace:this.namespace,annotations:r,parentClassReference:this.parentClassReference,origin:this.origin},this.generation);for(let o of this.testMethods)i.addMethod({access:ne.Public,isAsync:o.isAsync,name:o.name,parameters:[],body:o.body,annotations:[this.NUnit.Framework.Test]});return i}addTestMethod(r){this.testMethods.push(r)}};n();a();s();n();a();s();n();a();s();n();a();s();var nu={System:["AccessViolationException","Action","Activator","AggregateException","AppContext","AppDomain","AppDomainSetup","AppDomainUnloadedException","ApplicationException","ApplicationId","ArgIterator","ArgumentException","ArgumentNullException","ArgumentOutOfRangeException","ArithmeticException","Array","ArrayTypeMismatchException","AssemblyLoadEventArgs","AssemblyLoadEventHandler","AsyncCallback","Attribute","AttributeTargets","AttributeUsageAttribute","BadImageFormatException","Base64FormattingOptions","BitConverter","Boolean","Buffer","Byte","CannotUnloadAppDomainException","Char","CharEnumerator","CLSCompliantAttribute","Console","ConsoleCancelEventArgs","ConsoleCancelEventHandler","ConsoleColor","ConsoleKey","ConsoleKeyInfo","ConsoleModifiers","ConsoleSpecialKey","ContextBoundObject","ContextMarshalException","ContextStaticAttribute","Convert","CultureAwareComparer","DataMisalignedException","DateOnly","DateTime","DateTimeKind","DateTimeOffset","DayOfWeek","DBNull","Decimal","Delegate","DivideByZeroException","DllNotFoundException","Double","DuplicateWaitObjectException","EntryPointNotFoundException","Enum","Environment","EnvironmentVariableTarget","EventArgs","EventHandler","Exception","ExecutionEngineException","FieldAccessException","FlagsAttribute","FormatException","FormattableString","GC","GCCollectionMode","GCGenerationInfo","GCKind","GCMemoryInfo","GCNotificationStatus","Guid","Half","HashCode","IAsyncDisposable","IAsyncResult","ICloneable","IComparable","IConvertible","ICustomFormatter","IDisposable","IFormatProvider","IFormattable","Index","IndexOutOfRangeException","InsufficientExecutionStackException","InsufficientMemoryException","Int128","Int16","Int32","Int64","IntPtr","InvalidCastException","InvalidOperationException","InvalidProgramException","InvalidTimeZoneException","ISpanFormattable","IUtf8SpanFormattable","LoaderOptimization","LoaderOptimizationAttribute","LocalDataStoreSlot","MarshalByRefObject","Math","MathF","MemberAccessException","MemoryExtensions","MethodAccessException","MidpointRounding","MissingFieldException","MissingMemberException","MissingMethodException","ModuleHandle","MTAThreadAttribute","MulticastDelegate","MulticastNotSupportedException","NonSerializedAttribute","NotFiniteNumberException","NotImplementedException","NotSupportedException","Nullable","NullReferenceException","Object","ObjectDisposedException","ObsoleteAttribute","OperatingSystem","OperationCanceledException","OrdinalComparer","OutOfMemoryException","OverflowException","ParamArrayAttribute","PlatformID","PlatformNotSupportedException","Random","Range","RankException","ResolveEventArgs","ResolveEventHandler","RuntimeArgumentHandle","RuntimeFieldHandle","RuntimeMethodHandle","RuntimeTypeHandle","SByte","SerializableAttribute","Single","StackOverflowException","STAThreadAttribute","String","StringComparer","StringComparison","StringNormalizationExtensions","StringSplitOptions","SystemException","ThreadStaticAttribute","TimeOnly","TimeoutException","TimeProvider","TimeSpan","TimeZone","TimeZoneInfo","TimeZoneNotFoundException","Tuple","TupleExtensions","Type","TypeAccessException","TypeCode","TypedReference","TypeInitializationException","TypeLoadException","TypeUnloadedException","UInt128","UInt16","UInt32","UInt64","UIntPtr","UnauthorizedAccessException","UnhandledExceptionEventArgs","UnhandledExceptionEventHandler","UnitySerializationHolder","ValueTuple","ValueType","Version","Void","WeakReference","Buffers","Collections","ComponentModel","Diagnostics","Globalization","IO","Linq","Net","Numerics","Reflection","Resources","Runtime","Security","Text","Threading"],"System.Collections.Generic":["ByteEqualityComparer","CollectionExtensions","IEnumerable","KeyNotFoundException","KeyValuePair","NonRandomizedStringEqualityComparer","ReferenceEqualityComparer"],"System.IO":["BinaryReader","BinaryWriter","BufferedStream","Directory","DirectoryInfo","DirectoryNotFoundException","EndOfStreamException","EnumerationOptions","File","FileAccess","FileAttributes","FileInfo","FileLoadException","FileMode","FileNotFoundException","FileOptions","FileShare","FileStream","FileStreamOptions","FileSystemInfo","HandleInheritability","InvalidDataException","IOException","MatchCasing","MatchType","MemoryStream","Path","PathTooLongException","RandomAccess","SearchOption","SeekOrigin","Stream","StreamReader","StreamWriter","StringReader","StringWriter","TextReader","TextWriter","UnixFileMode","UnmanagedMemoryAccessor","UnmanagedMemoryStream","System.IO.Enumeration"],"System.Linq":["Enumerable"],"System.Net.Http":["HttpClient","HttpMethod"],"System.Threading":["AbandonedMutexException","ApartmentState","AsyncFlowControl","AutoResetEvent","CancellationToken","CancellationTokenRegistration","CancellationTokenSource","CompressedStack","ContextCallback","EventResetMode","EventWaitHandle","ExecutionContext","Interlocked","IOCompletionCallback","IThreadPoolWorkItem","ITimer","LazyInitializer","LazyThreadSafetyMode","Lock","LockRecursionException","LockRecursionPolicy","ManualResetEvent","ManualResetEventSlim","Monitor","Mutex","NativeOverlapped","Overlapped","ParameterizedThreadStart","PeriodicTimer","PreAllocatedOverlapped","ReaderWriterLockSlim","RegisteredWaitHandle","Semaphore","SemaphoreFullException","SemaphoreSlim","SendOrPostCallback","SpinLock","SpinWait","SynchronizationContext","SynchronizationLockException","Thread","ThreadAbortException","ThreadExceptionEventArgs","ThreadExceptionEventHandler","ThreadInterruptedException","ThreadPool","ThreadPoolBoundHandle","ThreadPriority","ThreadStart","ThreadStartException","ThreadState","ThreadStateException","Timeout","Timer","TimerCallback","Volatile","WaitCallback","WaitHandle","WaitHandleCannotBeOpenedException","WaitHandleExtensions","WaitOrTimerCallback","Tasks"],"System.Threading.Tasks":["ConcurrentExclusiveSchedulerPair","ConfigureAwaitOptions","Task","TaskAsyncEnumerableExtensions","TaskCanceledException","TaskCompletionSource","TaskContinuationOptions","TaskCreationOptions","TaskExtensions","TaskFactory","TaskScheduler","TaskSchedulerException","TaskStatus","TaskToAsyncResult","UnobservedTaskExceptionEventArgs","ValueTask","Sources"]};var Gd=new Set(["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","virtual","void","volatile","while"]);var Wd=new Set(["from","where","select","orderby","groupby","into","let","join","on","equals"]),$d=new Set(["async","await"]),Hd=new Set(["yield"]),Jd=new Set(["var","dynamic"]),Kd=new Set(["using","alias"]);var Qd=new Set(["required","scoped","unmanaged","managed"]),Yd=new Set(["when","and","or","not"]),Xd=new Set(["Equals","GetHashCode","ToString","GetType","MemberwiseClone","Finalize"]),Zd=new Set([...Gd,...Wd,...$d,...Hd,...Jd,...Kd,...Qd,...Yd]),Ra=class{constructor(t,r,i){m(this,"registry");m(this,"name");m(this,"jsonPath");this.registry=t,this.name=r,this.jsonPath=i}};var Oa=class{constructor(t){m(this,"scope");m(this,"byName",new Map);m(this,"byPath",new Map);m(this,"redirections",new Map);this.scope=t}[Symbol.iterator](){return this.byName.values()}has(t){return this.byName.has(t)}getByJsonPath(t){return this.byPath.get(t)}getByName(t){return this.byName.get(t)}getRedirectedName(t){return this.redirections.get(t)}set(t){this.byName.has(t.name)&&re(`set: ${t.name} in ${this.scope.fullyQualifiedName} already exists`),t.jsonPath&&this.byPath.has(t.jsonPath)&&re(`set: ${t.name} in ${this.scope.fullyQualifiedName} already exists by jsonPath`),this.byName.set(t.name,t),t.jsonPath&&this.byPath.set(t.jsonPath,t)}redirect(t,r){this.redirections.has(t)&&re(`redirect: ${t} in ${this.scope.fullyQualifiedName} already has a redirect`),this.redirections.set(t,r)}},su=class extends Ra{constructor(r,i,o,c){super(r,i);m(this,"namespace");m(this,"fullyQualifiedName");m(this,"fields");m(this,"methods");this.namespace=o,this.fullyQualifiedName=c,this.fields=new Oa(this),this.methods=new Oa(this)}isKeyword(r){return Zd.has(r)}isBuiltinMemberName(r){return Xd.has(r)}isTypeName(r){return this.name===r}isField(r){return this.fields.has(r)}isMethod(r){return this.methods.has(r)}isMember(r){return this.isField(r)||this.isMethod(r)}nameBlocked(r){if(this.isKeyword(r))return"keyword";if(this.isBuiltinMemberName(r))return"builtin";if(this.isTypeName(r))return"typeName";if(this.isField(r))return"field";if(this.isMethod(r))return"method"}getAlternativeName(r){let i=`${r}_`,o=2;for(;this.nameBlocked(i);)i=`${r}_${o}`,o++;return i}getFieldByJsonPath(r){return r!==void 0?this.fields.getByJsonPath(r):void 0}getFieldByName(r){return this.fields.getByName(r)}getRedirectedFieldName(r){return this.fields.getRedirectedName(r)}registerField(r,i,o){let c=this.registry.model.jsonPath(i);if(c){let g=this.fields.getByJsonPath(c);if(g)return g.name}let d=this.fields.getByName(r);if(d&&c===d.jsonPath)return r;switch(this.nameBlocked(r)){case"field":i&&P.Provenance(i)&&i.explicit||re(`Field ${r} already exists - attempting to add a duplicate field with the same name that is not an explicitly named property`);break;case"keyword":case"builtin":case"typeName":case"method":break;default:return this.fields.set(new Pa(this.registry,r,this,c,o)),this.registry.setFieldNameShortcut(c,r),r}let y=this.getAlternativeName(r);return this.fields.set(new Pa(this.registry,y,this,c,o)),this.fields.redirect(r,y),this.registry.setFieldNameShortcut(c,y),y}getFieldName(r,i){let o=this.getFieldByJsonPath(this.registry.model.jsonPath(r))?.name;if(o)return o;if(P.Provenance(r)){let y=this.getRedirectedFieldName(i);if(y)return y;let g=this.getFieldByName(i);return g?this.registry.model.provenance(g.jsonPath)?.explicit?i:`${i}_`:i}let c=this.getFieldByName(i);if(c)return this.registry.model.provenance(c.jsonPath)?.explicit?i:c.name;let d=this.getRedirectedFieldName(i);if(d)return d;this.isMethod(i)}},au=class extends Ra{constructor(r,i,o,c){super(r,i,c);m(this,"scope");this.scope=o}},Pa=class extends au{constructor(r,i,o,c,d){super(r,i,o,c);m(this,"field");this.field=d}};var Qr=class e{constructor(t){m(this,"generation");m(this,"classReferenceByJsonPath",new Map);m(this,"typeRegistry",new Map);m(this,"namespaceRegistry",new Map);m(this,"typeNames",new Map);m(this,"namespaceNames",new Map);m(this,"implicitNamespaces",new Set);m(this,"shortcuts",new Map);m(this,"knownBuiltInIdentifiers",new Set(["Text","Json","Xml","Security","Collections","Data","Diagnostics","Globalization","Math","Reflection","Runtime","Security","Serialization","Threading","Xml"]));this.generation=t,this.initializeBuiltIns()}get csharp(){return this.generation.csharp}get model(){return this.generation.model}initializeBuiltIns(){for(let[t,r]of Object.entries(nu))t.split(".").forEach(i=>this.knownBuiltInIdentifiers.add(i)),r.forEach(i=>this.knownBuiltInIdentifiers.add(i));for(let[t,r]of Object.entries(nu)){for(let o of r)this.typeNames.set(o,new Set([t]));let i=t.split(".")[0];i&&this.typeNames.set(i,new Set([t]))}this.typeNames.set("System",new Set(["System"])),this.typeNames.set("NUnit",new Set(["NUnit"])),this.typeNames.set("OneOf",new Set(["OneOf"])),this.knownBuiltInIdentifiers.add("NUnit"),this.knownBuiltInIdentifiers.add("OneOf")}setFieldNameShortcut(t,r){if(t){let i=this.shortcuts.get(t);i&&i!==r&&re(`BAD_BAD_BAD setFieldNameShortcut: ${t} already has a name: ${i} - while setting to ${r} - if this is happening, then you could be getting back the wrong name later!`),this.shortcuts.set(t,r)}}getFieldNameByOrigin(t){return this.shortcuts.get(this.model.jsonPath(t)??">ignore<")}isKnownBuiltInIdentifier(t){return!t||typeof t!="string"?!1:this.knownBuiltInIdentifiers.has(t)}isKnownNamespace(t){return!t||typeof t!="string"?!1:this.namespaceRegistry.has(t)}isRegisteredTypeName(t){return this.typeRegistry.has(t)}isAmbiguousTypeName(t){return t?(this.typeNames.get(t)?.size??0)>1:!1}isAmbiguousNamespaceName(t){return t?(this.namespaceNames.get(t)?.size??0)>1:!1}hasTypeNamespaceConflict(t){return!t||this.knownBuiltInIdentifiers.has(t)?!1:this.typeNames.has(t)&&(this.namespaceNames.get(t)?.has("")??!1)}static fullyQualifiedNameOf(t){return t.enclosingType?`${t.enclosingType.fullyQualifiedName??`${t.namespace}.${t.enclosingType.name}`}+${t.name}`:`${t.namespace}.${t.name}`}registerNamespace(t,r){this.namespaceRegistry.has(t)&&this.namespaceRegistry.get(t)!==r||this.namespaceRegistry.set(t,r)}trackType(t,r){let{name:i,namespace:o,enclosingType:c,fullyQualifiedName:d,origin:y}=t;if(y){let g=this.model.jsonPath(y)??re(`JsonPath not found for origin: ${JSON.stringify(y).substring(0,100)}`);this.classReferenceByJsonPath.set(g,t)}if(r&&r!==d&&!this.typeRegistry.has(r)&&this.typeRegistry.set(r,t),!this.typeRegistry.has(d)){this.typeRegistry.set(d,t);for(let g of this.allNamespacesOf(o))this.registerNamespace(g,g);c||this.trackTypeName(i,o);for(let g of[this.generation.namespaces.root,...this.implicitNamespaces])if(o.startsWith(g)){let x=o.split(".")[g.split(".").length];x&&this.trackTypeName(x,o)}}return t}addImplicitNamespace(t){this.implicitNamespaces.add(t)}isNamespaceImplicit(t){return this.implicitNamespaces.has(t)}get implicitlyImportedNamespaces(){return[...this.implicitNamespaces]}trackTypeName(t,r){this.typeNames.has(t)?this.typeNames.get(t)?.add(r):this.typeNames.set(t,new Set([r]));let i=r.split("."),o="";for(let c of i)this.namespaceNames.has(c)?this.namespaceNames.get(c)?.add(o):this.namespaceNames.set(c,new Set([o])),o=o?`${o}.${c}`:c}allNamespacesOf(t){if(!t||typeof t!="string")return new Set;let r="",i=new Set;for(let o of t.split("."))o.trim()&&(r=r?`${r}.${o}`:`${o}`,i.add(r));return i}registerClassReference(t,r){let{name:i,namespace:o,enclosingType:c,origin:d}=t,y=this.model.jsonPath(d),g=(y?this.classReferenceByJsonPath.get(y):void 0)??this.typeRegistry.get(r),x=this.model.jsonPath(g?.origin),S=x&&y?x===y?"match":"mismatch":"no origin";if(g&&S!=="mismatch")return new ge({name:g.name,namespace:g.namespace,enclosingType:g.enclosingType,fullyQualifiedName:g.fullyQualifiedName,namespaceAlias:t.namespaceAlias,fullyQualified:t.fullyQualified,generics:t.generics,global:t.global,origin:g.origin??d,isCollection:g.isCollection,isReferenceType:g.isReferenceType,multipartMethodName:g.multipartMethodName,multipartMethodNameForCollection:g.multipartMethodNameForCollection},g.scope,this.generation);let A=!1,O=this.resolveNamespace(o);O!==o&&(o=O,A=!0);let w;e:for(;;){w=e.fullyQualifiedNameOf({name:i,namespace:o,enclosingType:c});let V="",G=o.split(".");for(let U=0;U<G.length;U++)if(V=V?`${V}.${G[U]}`:`${G[U]}`,this.typeRegistry.has(V)){G[U]=`${G[U]}_`,o=G.join("."),A=!0;continue e}if(A&&this.registerNamespace(t.namespace,o),S==="mismatch"&&g?.name===i){i=`${i}_`,A=!0;continue e}if(this.namespaceRegistry.has(w)){i=`${i}_`,A=!0;continue e}if(this.typeRegistry.has(w)){i=`${i}_`,A=!0;continue e}if(c){let U=w.replaceAll("+",".");if(this.typeRegistry.has(U)){i=`${i}_`,A=!0;continue e}if(this.namespaceRegistry.has(U)){i=`${i}_`,A=!0;continue e}}else{let U=w.split(".");for(let z=1;z<U.length;z++){let ie=U.slice(0,z).join(".")+"+"+U.slice(z).join("+");if(this.typeRegistry.has(ie)){i=`${i}_`,A=!0;continue e}}}break}return this.trackType(new ge({name:i,namespace:o,enclosingType:c,namespaceAlias:t.namespaceAlias,fullyQualified:t.fullyQualified,generics:t.generics,global:t.global,fullyQualifiedName:w,origin:d,isCollection:t.isCollection,isReferenceType:t.isReferenceType,multipartMethodName:t.multipartMethodName,multipartMethodNameForCollection:t.multipartMethodNameForCollection},new su(this,i,o,w),this.generation),r)}resolveNamespace(t){let r=this.namespaceRegistry.get(t);if(r!==void 0)return r;let i=t.split(".");for(let o=i.length-1;o>=0;o--){let c=i.slice(0,o).join(".");if(this.namespaceRegistry.has(c)){let d=this.namespaceRegistry.get(c);if(d!==void 0){let y=i.slice(o).join("."),g=`${d}.${y}`;return this.registerNamespace(t,g),g}}}return t}canonicalizeNamespace(t){let r=this.namespaceRegistry.get(t);if(r!==void 0)return r;let i=!1,o=t;e:for(;;){let c="",d=o.split(".");for(let y=0;y<d.length;y++)if(c=c?`${c}.${d[y]}`:`${d[y]}`,this.typeRegistry.has(c)){d[y]=`${d[y]}_`,o=d.join("."),i=!0;continue e}break}return i&&this.registerNamespace(t,o),o}};var Ca=class{constructor(t){m(this,"generation");m(this,"frozen",!1);m(this,"extraClassReferences",new Map);m(this,"InstantiatedPrimitive",{string:t=>new fe({type:"string",value:t},this.generation),boolean:t=>new fe({type:"boolean",value:t},this.generation),integer:t=>new fe({type:"integer",value:t},this.generation),long:t=>new fe({type:"long",value:t},this.generation),uint:t=>new fe({type:"uint",value:t},this.generation),ulong:t=>new fe({type:"ulong",value:t},this.generation),float:t=>new fe({type:"float",value:t},this.generation),double:t=>new fe({type:"double",value:t},this.generation),date:t=>new fe({type:"date",value:t},this.generation),dateTime:(t,r=!0)=>new fe({type:"dateTime",value:t,parse:r},this.generation),uuid:t=>new fe({type:"uuid",value:t},this.generation),null:()=>new fe({type:"null"},this.generation)});m(this,"Literal",{class_:({reference:t,fields:r})=>new B.Class_(t,r,this.generation),dictionary:({keyType:t,valueType:r,entries:i})=>new B.Dictionary(t,r,i,this.generation),list:({valueType:t,values:r})=>new B.List(t,r,this.generation),set:({valueType:t,values:r})=>new B.Set(t,r,this.generation),boolean:t=>new B.Boolean(t,this.generation),float:t=>new B.Float(t,this.generation),date:t=>new B.Date(t,this.generation),datetime:t=>new B.DateTime(t,this.generation),decimal:t=>new B.Decimal(t,this.generation),double:t=>new B.Double(t,this.generation),integer:t=>new B.Integer(t,this.generation),long:t=>new B.Long(t,this.generation),uint:t=>new B.Uint(t,this.generation),ulong:t=>new B.Ulong(t,this.generation),reference:t=>new B.Reference(t,this.generation),string:t=>new B.String(t,this.generation),null:()=>new B.Null(this.generation),nop:()=>new B.Nop(this.generation),unknown:t=>new B.Unknown(t,this.generation)});m(this,"VALID_READ_ONLY_MEMORY_TYPES",new Set(["int","long","uint","ulong","string","bool","float","double"]));this.generation=t}get model(){return this.generation.model}classReference(t){return this.classReferenceInternal(t)}classReferenceInternal(t){if(!t.name&&"origin"in t&&t.origin&&(t.name=this.model.getClassNameFor(t.origin)),t.enclosingType){if(t.namespace)throw new Error("ClassReference: Both enclosingType and namespace cannot be provided");t.namespace=t.enclosingType.namespace}let r=Qr.fullyQualifiedNameOf(t);if(this.frozen&&!this.generation.registry.isRegisteredTypeName(r)){let i=this.extraClassReferences.get(r);i||(i=new Set,this.extraClassReferences.set(r,i)),i.add(`${r} -
33
+ ${ri()}`)}return this.generation.registry.registerClassReference(t,r)}freezeClassReferences(){this.frozen=!0}getPropertyName(t,r){let i=this.model.getPropertyNameFor(r),o=this.model.origin(r);if(o){let c=t.getFieldName(o,i);if(c)return c}return i}class_(t){let r=t;return"reference"in t&&(r={...t.reference,...t}),new Ve(r,this.generation)}testClass(t){return new Jr(t,this.generation)}annotation(t){return new Ke(t,this.generation)}annotationGroup(t){return new yr(t,this.generation)}instantiateClass(t){return new Zt(t,this.generation)}invokeMethod(t){return new ir(t,this.generation)}codeblock(t){return new ct(t,this.generation)}code(){return new pt({},this.generation)}anonymousFunction(t){return new gr(t)}parameter(t){return new Le(t,this.generation)}interface_(t){return new Hr(t,this.generation)}enum_(t){return new $r(t,this.generation)}dictionary(t){return new er(t,this.generation)}list(t){return new rr(t,this.generation)}readOnlyMemory(t){return new nr(t,this.generation)}set(t){return new sr(t,this.generation)}switch_(t){return new xr(t,this.generation)}ternary(t){return new Sr(t,this.generation)}and(t){return new hr(t,this.generation)}or(t){return new br(t,this.generation)}enumInstantiation(t){return new tr(t,this.generation)}string_(t){return new ar(t,this.generation)}xmlDocBlock(t){return new mt(t,this.generation)}xmlDocBlockOf(t){return t instanceof mt?t:new mt(t,this.generation)}validateReadOnlyMemoryTypes(){for(let t of this.generation.settings.readOnlyMemoryTypes)if(!this.VALID_READ_ONLY_MEMORY_TYPES.has(t))throw new Error(`Type "${t}" is not a valid 'read-only-memory-types' custom config option; expected one of ${JSON.stringify(this.VALID_READ_ONLY_MEMORY_TYPES)}.`)}};n();a();s();function j(e){let t={},r={};for(let[i,o]of Object.entries(e))o.length===0?Object.defineProperty(r,i,{get(){return i in t||(t[i]=o()),t[i]},enumerable:!0,configurable:!0}):r[i]=o;return r}n();a();s();var _a=class{constructor(t){m(this,"generation");m(this,"System",j({Action:t=>this.csharp.classReference({name:"Action",namespace:"System",generics:t||void 0,multipartMethodName:null,multipartMethodNameForCollection:null,isReferenceType:!0}),Func:(t,r)=>this.csharp.classReference({name:"Func",namespace:"System",generics:t?r?[...t,r]:t:r?[r]:void 0,multipartMethodName:null,multipartMethodNameForCollection:null,isReferenceType:!0}),DateOnly:()=>this.csharp.classReference({name:"DateOnly",namespace:"System"}),DateTime:()=>this.csharp.classReference({name:"DateTime",namespace:"System"}),Enum:()=>this.csharp.classReference({name:"Enum",namespace:"System"}),Exception:()=>this.csharp.classReference({name:"Exception",namespace:"System"}),ReadOnlyMemory:t=>this.csharp.classReference({name:"ReadOnlyMemory",namespace:"System",generics:[t]}),Serializable:()=>this.csharp.classReference({name:"SerializableAttribute",namespace:"System"}),String:()=>this.csharp.classReference({name:"String",namespace:"System"}),Type:()=>this.csharp.classReference({name:"Type",namespace:"System",isReferenceType:!0,multipartMethodName:null,multipartMethodNameForCollection:null,fullyQualified:!0}),TimeSpan:()=>this.csharp.classReference({name:"TimeSpan",namespace:"System"}),Uri:()=>this.csharp.classReference({name:"Uri",namespace:"System"}),UriBuilder:()=>this.csharp.classReference({name:"UriBuilder",namespace:"System"}),Runtime:()=>j({Serialization:()=>j({EnumMember:()=>this.csharp.classReference({name:"EnumMemberAttribute",namespace:"System.Runtime.Serialization"})})}),Collections:()=>j({Generic:()=>j({IAsyncEnumerable:t=>this.csharp.classReference({name:"IAsyncEnumerable",namespace:"System.Collections.Generic",generics:t?[t]:void 0}),IEnumerable:t=>this.csharp.classReference({name:"IEnumerable",namespace:"System.Collections.Generic",generics:t?[t]:void 0}),KeyValuePair:(t,r)=>this.csharp.classReference({name:"KeyValuePair",namespace:"System.Collections.Generic",generics:t&&r?[t,r]:void 0}),List:t=>this.csharp.classReference({name:"List",namespace:"System.Collections.Generic",generics:t?[t]:void 0,isCollection:!0}),HashSet:t=>this.csharp.classReference({name:"HashSet",namespace:"System.Collections.Generic",generics:t?[t]:void 0,isCollection:!0}),Dictionary:(t,r)=>this.csharp.classReference({name:"Dictionary",namespace:"System.Collections.Generic",generics:t&&r?[t,r]:void 0,isCollection:!0}),IDictionary:(t,r)=>this.csharp.classReference({name:"IDictionary",namespace:"System.Collections.Generic",generics:[t,r]})}),Linq:()=>j({Enumerable:()=>this.csharp.classReference({name:"Enumerable",namespace:"System.Linq"})})}),Globalization:()=>j({DateTimeStyles:()=>this.csharp.classReference({name:"DateTimeStyles",namespace:"System.Globalization"})}),Linq:()=>j({Enumerable:()=>this.csharp.classReference({name:"Enumerable",namespace:"System.Linq"})}),Net:()=>j({Http:()=>j({HttpClient:()=>this.csharp.classReference({name:"HttpClient",namespace:"System.Net.Http"}),HttpMethod:()=>this.csharp.classReference({name:"HttpMethod",namespace:"System.Net.Http"}),HttpResponseHeaders:()=>this.csharp.classReference({name:"HttpResponseHeaders",namespace:"System.Net.Http.Headers"})}),ServerSentEvents:()=>j({SseEvent:()=>this.csharp.classReference({name:"SseEvent",namespace:"System.Net.ServerSentEvents"}),SseParser:()=>this.csharp.classReference({name:"SseParser",namespace:"System.Net.ServerSentEvents"})}),WebSockets:()=>j({ClientWebSocketOptions:()=>this.csharp.classReference({name:"ClientWebSocketOptions",namespace:"System.Net.WebSockets"})})}),IO:()=>j({MemoryStream:()=>this.csharp.classReference({name:"MemoryStream",namespace:"System.IO"}),Stream:()=>this.csharp.classReference({name:"Stream",namespace:"System.IO"}),StreamReader:()=>this.csharp.classReference({name:"StreamReader",namespace:"System.IO"})}),Text:()=>j({Encoding:()=>this.csharp.classReference({name:"Encoding",namespace:"System.Text"}),Encoding_UTF8:()=>this.csharp.classReference({name:"UTF8",enclosingType:this.csharp.classReference({name:"Encoding",namespace:"System.Text"})}),Json:()=>j({JsonElement:()=>this.csharp.classReference({name:"JsonElement",namespace:"System.Text.Json"}),JsonDocument:()=>this.csharp.classReference({name:"JsonDocument",namespace:"System.Text.Json"}),JsonException:()=>this.csharp.classReference({name:"JsonException",namespace:"System.Text.Json"}),Utf8JsonReader:()=>this.csharp.classReference({name:"Utf8JsonReader",namespace:"System.Text.Json"}),JsonSerializerOptions:()=>this.csharp.classReference({name:"JsonSerializerOptions",namespace:"System.Text.Json"}),JsonSerializer:()=>this.csharp.classReference({name:"JsonSerializer",namespace:"System.Text.Json"}),Utf8JsonWriter:()=>this.csharp.classReference({name:"Utf8JsonWriter",namespace:"System.Text.Json"}),Nodes:()=>j({JsonNode:()=>this.csharp.classReference({name:"JsonNode",namespace:"System.Text.Json.Nodes"}),JsonObject:()=>this.csharp.classReference({name:"JsonObject",namespace:"System.Text.Json.Nodes"})}),Serialization:()=>j({IJsonOnDeserialized:()=>this.csharp.classReference({name:"IJsonOnDeserialized",namespace:"System.Text.Json.Serialization"}),IJsonOnSerializing:()=>this.csharp.classReference({name:"IJsonOnSerializing",namespace:"System.Text.Json.Serialization"}),JsonOnDeserializedAttribute:()=>this.csharp.classReference({name:"JsonOnDeserializedAttribute",namespace:"System.Text.Json.Serialization"}),JsonExtensionData:()=>this.csharp.classReference({name:"JsonExtensionDataAttribute",namespace:"System.Text.Json.Serialization"}),JsonConverter:t=>this.csharp.classReference({name:"JsonConverter",namespace:"System.Text.Json.Serialization",generics:t?[t]:void 0}),JsonIgnore:()=>this.csharp.classReference({name:"JsonIgnoreAttribute",namespace:"System.Text.Json.Serialization"}),JsonPropertyName:()=>this.csharp.classReference({name:"JsonPropertyNameAttribute",namespace:"System.Text.Json.Serialization"})})})}),Threading:()=>j({CancellationToken:()=>this.csharp.classReference({name:"CancellationToken",namespace:"System.Threading"}),Tasks:()=>j({Task:t=>this.csharp.classReference({name:"Task",namespace:"System.Threading.Tasks",generics:t?[t]:void 0}),ValueTask:t=>this.csharp.classReference({name:"ValueTask",namespace:"System.Threading.Tasks",generics:t?[t]:void 0})})}),ComponentModel:()=>j({INotifyPropertyChanged:()=>this.csharp.classReference({name:"INotifyPropertyChanged",namespace:"System.ComponentModel"}),PropertyChangedEventHandler:()=>this.csharp.classReference({name:"PropertyChangedEventHandler",namespace:"System.ComponentModel"})}),IAsyncDisposable:()=>this.csharp.classReference({name:"IAsyncDisposable",namespace:"System"}),IDisposable:()=>this.csharp.classReference({name:"IDisposable",namespace:"System"})}));m(this,"NUnit",j({Framework:()=>j({TestFixture:()=>this.csharp.classReference({name:"TestFixture",namespace:"NUnit.Framework"}),Test:()=>this.csharp.classReference({name:"Test",namespace:"NUnit.Framework"}),OneTimeTearDown:()=>this.csharp.classReference({name:"OneTimeTearDown",namespace:"NUnit.Framework"}),OneTimeSetUp:()=>this.csharp.classReference({name:"OneTimeSetUp",namespace:"NUnit.Framework"}),SetUpFixture:()=>this.csharp.classReference({name:"SetUpFixture",namespace:"NUnit.Framework"}),Parallelizable:()=>this.csharp.classReference({name:"Parallelizable",namespace:"NUnit.Framework"})})}));m(this,"OneOf",j({OneOf:t=>this.csharp.classReference({name:"OneOf",namespace:"OneOf",generics:t}),OneOfBase:t=>this.csharp.classReference({name:"OneOfBase",namespace:"OneOf",generics:t})}));m(this,"Google",j({Protobuf:()=>j({ByteString:()=>this.csharp.classReference({name:"ByteString",namespace:"Google.Protobuf"}),WellKnownTypes:()=>j({Struct:()=>this.csharp.classReference({name:"Struct",namespace:"Google.Protobuf.WellKnownTypes",namespaceAlias:"WellKnownProto"}),Value:()=>this.csharp.classReference({name:"Value",namespace:"Google.Protobuf.WellKnownTypes",namespaceAlias:"WellKnownProto"}),ListValue:()=>this.csharp.classReference({name:"ListValue",namespace:"Google.Protobuf.WellKnownTypes",namespaceAlias:"WellKnownProto"}),Timestamp:()=>this.csharp.classReference({name:"Timestamp",namespace:"Google.Protobuf.WellKnownTypes",namespaceAlias:"WellKnownProto"})})})}));m(this,"WireMock",j({Server:()=>this.csharp.classReference({name:"WireMockServer",namespace:"WireMock.Server"}),WireMockServerSettings:()=>this.csharp.classReference({name:"WireMockServerSettings",namespace:"WireMock.Settings"}),WireMockConsoleLogger:()=>this.csharp.classReference({name:"WireMockConsoleLogger",namespace:"WireMock.Logging"})}));m(this,"Grpc",j({Core:()=>j({RpcException:()=>this.csharp.classReference({name:"RpcException",namespace:"Grpc.Core"})})}));this.generation=t}get csharp(){return this.generation.csharp}};n();a();s();var ou=new Set(["name","camelCase","snakeCase","screamingSnakeCase","pascalCase"]);function e0(e,t){return ou.has(t)?e??"":e?`${e}.${t}`:t}var ka=class{constructor(t,r){m(this,"generation");m(this,"indexByObject",new Map);m(this,"indexByPath",new Map);m(this,"explicitByObject",new Map);m(this,"explicitByPath",new Map);m(this,"root");m(this,"ir");this.generation=r,this.root=this.createIndex(t),this.ir=t}get csharp(){return this.generation.csharp}get registry(){return this.generation.registry}createIndex(t,r="",i){let o=e0(i?.jsonPath,r);if(this.indexByPath.has(o)){i||re(`Parent provenance not found for node: ${JSON.stringify(t).substring(0,100)}`),this.indexByObject.set(t,i);let d=ou.has(r);for(let[y,g]of Object.entries(t))typeof g=="object"&&g!==null&&(d&&ou.has(y)?this.indexByObject.set(g,i):this.createIndex(g,y,i));return i}let c={jsonPath:o,name:r,node:t,parent:i};this.indexByObject.set(t,c),this.indexByPath.set(o,c);for(let[d,y]of Object.entries(t))typeof y=="object"&&y!==null&&this.createIndex(y,d,c);return c}staticExplicit(t){return this.explicit(this.ir,t)}explicit(t,r){let i=this.provenance(t)??re(`Provenance not found for node: ${JSON.stringify(t).substring(0,100)}`),o={...i,jsonPath:`${i.jsonPath}+${r}`,name:r,node:i.node,parent:i,explicit:!0},c=this.explicitByObject.get(i.node);return c?c.add(o):this.explicitByObject.set(i.node,new Set([o])),this.explicitByPath.set(o.jsonPath,o),o}provenance(t){if(t!==void 0)return P.string(t)?this.explicitByPath.get(t)??this.indexByPath.get(t):P.Provenance(t)?this.explicitByPath.get(t.jsonPath)??this.indexByPath.get(t.jsonPath):this.indexByObject.get(t)}origin(t){let r=this.provenance(t);return r?.explicit?r:r?.node}irNode(t){return this.provenance(t)?.node}jsonPath(t){return this.provenance(t)?.jsonPath}getEnumValueName(t,r){let i=P.IR.ExampleEnumType(r)?r.value:r,o=t.values.find(c=>this.nameEquals(c.name,i));return o?this.getPropertyNameFor(o):re(`Unexpected - can't find enum value ${JSON.stringify(i)} in enum`)}getPropertyNameFor(t){let r=this.registry.getFieldNameByOrigin(t);if(r)return r;if(P.Provenance(t))return t.name;if("name"in t){if(P.IR.NameAndWireValue(t.name))return this.generation.case.pascalSafe(t.name);if(P.IR.Name(t.name))return this.generation.case.pascalSafe(t.name);if(typeof t.name=="string")return this.generation.case.pascalSafe(t.name)}if("pascalCase"in t)return this.generation.case.pascalSafe(t);throw new Error(`Unknown property type: ${this.jsonPath(t)}`)}getClassNameFor(t){if(P.Provenance(t))return t.name;if("name"in t){if(P.IR.TypeDeclaration(t))return this.generation.case.pascalSafe(t.name.name);if(P.IR.NameAndWireValue(t.name))return this.generation.case.pascalSafe(t.name);if(P.IR.Name(t.name))return this.generation.case.pascalSafe(t.name);if(typeof t.name=="string")return this.generation.case.pascalSafe(t.name)}if("pascalCase"in t)return this.generation.case.pascalSafe(t);throw new Error(`Unknown property type: ${JSON.stringify(t)}`)}nameEquals(t,r){return this.generation.case.camelSafe(t)===this.generation.case.camelSafe(r)}dereferenceType(t){let r=P.string(t)?t:P.IR.NamedType(t)||P.IR.DeclaredTypeName(t)?t.typeId:P.IR.ExampleNamedType(t)?t.typeName.typeId:t.name.typeId,i=this.irNode(this.ir.types[r]);if(P.IR.TypeDeclaration(i))return{typeId:r,typeDeclaration:i};re(`dereferenceType: typeId ${r} not resolved.`)}};function Fa(...e){return e.filter(Boolean).join("/")}var Xi=class{constructor(t,r,i,o,c={makeRelativeFilePath:d=>d,makeAbsoluteFilePath:d=>d,getNamespaceForTypeId:d=>"",getDirectoryForTypeId:d=>"",getCoreAsIsFiles:()=>[],getCoreTestAsIsFiles:()=>[],getPublicCoreAsIsFiles:()=>[],getAsyncCoreAsIsFiles:()=>[],getChildNamespaceSegments:d=>[]}){m(this,"intermediateRepresentation");m(this,"apiName");m(this,"customConfig");m(this,"generatorConfig");m(this,"support");m(this,"ir");m(this,"dir");m(this,"csharp",new Ca(this));m(this,"registry",new Qr(this));m(this,"model");m(this,"case");m(this,"extern",new _a(this));m(this,"settings",j({namespace:()=>this.customConfig.namespace??bn(xn(`${this.generatorConfig.organization}_${this.apiName}`)),readOnlyMemoryTypes:()=>this.customConfig["read-only-memory-types"]??[],simplifyObjectDictionaries:()=>this.customConfig["simplify-object-dictionaries"]??!1,useFullyQualifiedNamespaces:()=>this.customConfig["experimental-fully-qualified-namespaces"]??!1,useDotnetFormat:()=>this.customConfig["experimental-dotnet-format"]??!1,enableWebsockets:()=>this.customConfig["experimental-enable-websockets"]??!1,enableReadonlyConstants:()=>this.customConfig["experimental-readonly-constants"]??!1,generateLiterals:()=>this.customConfig["generate-literals"]??this.customConfig["experimental-readonly-constants"]??!1,enableExplicitNullableOptional:()=>this.customConfig["experimental-explicit-nullable-optional"]??!1,useDefaultRequestParameterValues:()=>this.customConfig["use-default-request-parameter-values"]??!1,redactResponseBodyOnError:()=>this.customConfig["redact-response-body-on-error"]??!1,temporaryWebsocketEnvironments:()=>this.customConfig["temporary-websocket-environments"]??{},baseApiExceptionClassName:()=>this.customConfig["base-api-exception-class-name"]??"",baseExceptionClassName:()=>this.customConfig["base-exception-class-name"]??"",shouldGeneratedDiscriminatedUnions:()=>this.customConfig["use-discriminated-unions"]??!0,shouldGenerateUndiscriminatedUnions:()=>this.customConfig["use-undiscriminated-unions"]??!1,exportedClientClassName:()=>this.customConfig["exported-client-class-name"]??"",clientClassName:()=>this.customConfig["client-class-name"]??"",rootNamespaceForCoreClasses:()=>this.customConfig["root-namespace-for-core-classes"]??!0,packageId:()=>this.customConfig["package-id"]??"",isForwardCompatibleEnumsEnabled:()=>this.customConfig["enable-forward-compatible-enums"]??this.customConfig["experimental-enable-forward-compatible-enums"]??!0,websocketEnvironments:()=>this.customConfig["temporary-websocket-environments"]??{},customPagerName:()=>this.customConfig["custom-pager-name"]??"",environmentClassName:()=>this.customConfig["environment-class-name"]??"",generateErrorTypes:()=>this.customConfig["generate-error-types"]??!0,shouldInlinePathParameters:()=>this.customConfig["inline-path-parameters"]??!0,includeExceptionHandler:()=>this.customConfig["include-exception-handler"]??!1,exceptionInterceptorClassName:()=>this.customConfig["exception-interceptor-class-name"]??"",shouldGenerateMockServerTests:()=>this.customConfig["generate-mock-server-tests"]??this.customConfig["enable-wire-tests"]??!0,rootClientAccess:()=>this.customConfig["root-client-class-access"]=="internal"?ne.Internal:ne.Public,extraDependencies:()=>this.customConfig["extra-dependencies"]??{},omitFernHeaders:()=>this.customConfig["omit-fern-headers"]??!1,unifiedClientOptions:()=>this.customConfig["unified-client-options"]??!1,pascalCaseEnvironments:()=>this.customConfig["pascal-case-environments"]??!0,slnFormat:()=>this.customConfig["sln-format"]??"slnx",explicitNamespaces:()=>this.customConfig["explicit-namespaces"]===!0,maxRetries:()=>this.customConfig.maxRetries,outputPath:()=>{let t=this.customConfig["output-path"];return t==null?{library:"src",test:"src",solution:".",other:"."}:typeof t=="string"?{library:t,test:t,solution:".",other:"."}:{library:t.library??"src",test:t.test??"src",solution:t.solution??".",other:t.other??"."}}}));m(this,"constants",{folders:j({mockServerTests:()=>this.support.makeRelativeFilePath("Unit/MockServer"),types:()=>"Types",exceptions:()=>"Exceptions",src:()=>"src",protobuf:()=>"proto",serializationTests:()=>this.support.makeRelativeFilePath("Unit/Serialization"),project:()=>this.support.makeRelativeFilePath(Fa(this.constants.folders.sourceFiles,this.support.makeRelativeFilePath(this.names.files.project))),sourceFiles:()=>this.support.makeRelativeFilePath(this.constants.folders.src),coreFiles:()=>this.support.makeRelativeFilePath(Fa(this.constants.folders.project,this.support.makeRelativeFilePath(this.constants.defaults.core))),publicCoreFiles:()=>this.support.makeRelativeFilePath(Fa(this.constants.folders.project,this.support.makeRelativeFilePath(this.constants.defaults.core),this.support.makeRelativeFilePath(this.constants.defaults.publicCore))),testFiles:()=>this.support.makeRelativeFilePath(Fa(this.constants.folders.sourceFiles,this.support.makeRelativeFilePath(this.names.files.testProject)))}),formatting:j({indent:()=>" "}),defaults:j({core:()=>"Core",publicCore:()=>"Public",version:()=>"0.0.0"})});m(this,"namespaces",j({root:()=>this.settings.namespace,core:()=>`${this.namespaces.root}.Core`,qualifiedRoot:()=>this.qualifyNamespace(this.namespaces.root),qualifiedCore:()=>this.qualifyNamespace(this.namespaces.core),test:()=>this.registry.canonicalizeNamespace(`${this.namespaces.root}.Test`),testUtils:()=>`${this.namespaces.test}.Utils`,mockServerTest:()=>`${this.namespaces.test}.Unit.MockServer`,publicCore:()=>this.namespaces.root,webSocketsCore:()=>`${this.namespaces.core}.WebSockets`,publicCoreTest:()=>`${this.namespaces.root}.Test.PublicCore`,asIsTestUtils:()=>`${this.namespaces.root}.Test.Utils`,publicCoreClasses:()=>this.settings.rootNamespaceForCoreClasses?this.namespaces.root:this.namespaces.core,implicit:()=>new Set(["System","System.Collections.Generic","System.IO","System.Linq","System.Threading","System.Threading.Tasks","System.Net.Http"])}));m(this,"names",{classes:j({baseApiException:()=>this.settings.baseApiExceptionClassName||`${this.names.project.clientPrefix}ApiException`,baseException:()=>this.settings.baseExceptionClassName||`${this.names.project.clientPrefix}Exception`,rootClient:()=>this.settings.clientClassName||`${this.names.project.clientPrefix}Client`,rootClientForSnippets:()=>this.settings.exportedClientClassName||this.names.classes.rootClient,customPager:()=>this.settings.customPagerName||`${this.names.project.packageId.replace(/[^a-zA-Z0-9]/g,"")}Pager`,environment:()=>this.settings.environmentClassName||`${this.names.project.clientPrefix}Environment`,exceptionInterceptor:()=>this.settings.exceptionInterceptorClassName||`${this.names.project.packageId.replace(/[^a-zA-Z0-9]/g,"")}ExceptionInterceptor`}),project:j({client:()=>bn(xn(`${this.generatorConfig.organization}_${this.generatorConfig.workspaceName}`)),clientPrefix:()=>this.settings.exportedClientClassName||this.settings.clientClassName||this.names.project.client,packageId:()=>this.settings.packageId||this.namespaces.root}),files:j({project:()=>this.namespaces.root,testProject:()=>`${this.namespaces.root}.Test`}),methods:j({mockOauth:()=>"MockOAuthEndpoint",mockInferredAuth:()=>"MockInferredAuthEndpoint",getAccessTokenAsync:()=>"GetAccessTokenAsync",getAuthHeadersAsync:()=>"GetAuthHeadersAsync"}),variables:j({client:()=>"client",response:()=>"response",httpRequest:()=>"httpRequest",sendRequest:()=>"sendRequest",responseBody:()=>"responseBody",query:()=>"_query",headers:()=>"_headers"}),parameters:j({cancellationToken:()=>"cancellationToken",requestOptions:()=>"options",idempotentOptions:()=>"options"})});m(this,"Types",j({Arbitrary:t=>new q.ArbitraryType(t,this),HttpMethodExtensions:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("HttpMethodExtensions")}),FormRequest:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("FormRequest")}),Optional:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("Optional")}),ClientOptions:()=>this.csharp.classReference({origin:this.model.staticExplicit("ClientOptions"),namespace:this.namespaces.publicCoreClasses}),RawClient:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("RawClient")}),RequestOptions:()=>this.csharp.classReference({namespace:this.namespaces.publicCoreClasses,origin:this.model.staticExplicit("RequestOptions")}),RequestOptionsInterface:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("IRequestOptions")}),JsonRequest:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("JsonRequest")}),Version:()=>this.csharp.classReference({namespace:this.namespaces.publicCore,origin:this.model.staticExplicit("Version")}),ValueConvert:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("ValueConvert")}),FileParameter:()=>this.csharp.classReference({namespace:this.namespaces.publicCore,origin:this.model.staticExplicit("FileParameter"),multipartMethodName:"AddFileParameterPart",multipartMethodNameForCollection:"AddFileParameterParts",isReferenceType:!0}),Headers:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("Headers")}),HeaderValue:()=>this.csharp.classReference({namespace:this.namespaces.core,origin:this.model.staticExplicit("HeaderValue")}),RootClient:()=>this.csharp.classReference({origin:this.model.staticExplicit(this.names.classes.rootClient),namespace:this.namespaces.root}),RootClientForSnippets:()=>this.csharp.classReference({origin:this.model.staticExplicit(this.names.classes.rootClientForSnippets),namespace:this.namespaces.root}),BaseApiException:()=>this.csharp.classReference({origin:this.model.staticExplicit(this.names.classes.baseApiException),namespace:this.namespaces.publicCoreClasses}),BaseException:()=>this.csharp.classReference({origin:this.model.staticExplicit(this.names.classes.baseException),namespace:this.namespaces.publicCoreClasses}),ExceptionInterceptor:()=>this.csharp.classReference({origin:this.model.staticExplicit("IExceptionInterceptor"),namespace:this.namespaces.core}),ExceptionHandler:()=>this.csharp.classReference({origin:this.model.staticExplicit("ExceptionHandler"),namespace:this.namespaces.core}),CustomExceptionInterceptor:()=>this.csharp.classReference({origin:this.model.staticExplicit(this.names.classes.exceptionInterceptor),namespace:this.namespaces.core}),ProtoAnyMapper:()=>this.csharp.classReference({origin:this.model.staticExplicit("ProtoAnyMapper"),namespace:this.namespaces.core}),Constants:()=>this.csharp.classReference({origin:this.model.staticExplicit("Constants"),namespace:this.namespaces.core}),DateTimeSerializer:()=>this.csharp.classReference({origin:this.model.staticExplicit("DateTimeSerializer"),namespace:this.namespaces.core}),JsonUtils:()=>this.csharp.classReference({origin:this.model.staticExplicit("JsonUtils"),namespace:this.namespaces.core}),JsonAssert:()=>this.csharp.classReference({origin:this.model.staticExplicit("JsonAssert"),namespace:this.namespaces.testUtils}),CustomPagerFactory:()=>this.csharp.classReference({origin:this.model.staticExplicit(`${this.names.classes.customPager}Factory`),namespace:this.namespaces.core}),CustomPagerContext:()=>this.csharp.classReference({origin:this.model.staticExplicit(`${this.names.classes.customPager}Context`),namespace:this.namespaces.core}),Environments:()=>this.csharp.classReference({origin:this.model.staticExplicit(this.names.classes.environment),namespace:this.namespaces.publicCoreClasses}),TestClient:()=>this.csharp.classReference({origin:this.model.staticExplicit("TestClient"),namespace:this.namespaces.test}),BaseMockServerTest:()=>this.csharp.classReference({origin:this.model.staticExplicit("BaseMockServerTest"),namespace:this.namespaces.mockServerTest}),IdempotentRequestOptions:()=>this.csharp.classReference({origin:this.model.staticExplicit("IdempotentRequestOptions"),namespace:this.namespaces.publicCoreClasses}),IdempotentRequestOptionsInterface:()=>this.csharp.classReference({origin:this.model.staticExplicit("IIdempotentRequestOptions"),namespace:this.namespaces.core}),IStringEnum:()=>this.csharp.classReference({origin:this.model.staticExplicit("IStringEnum"),namespace:this.namespaces.core}),WebSocketClient:()=>this.csharp.classReference({origin:this.model.staticExplicit("WebSocketClient"),namespace:this.namespaces.webSocketsCore}),QueryBuilder:()=>this.csharp.classReference({origin:this.model.staticExplicit("Query"),namespace:this.namespaces.webSocketsCore}),QueryStringBuilder:()=>this.csharp.classReference({origin:this.model.staticExplicit("QueryStringBuilder"),namespace:this.namespaces.core}),QueryStringBuilderBuilder:()=>this.csharp.classReference({origin:this.model.staticExplicit("QueryStringBuilder.Builder"),namespace:this.namespaces.core}),OAuthTokenProvider:()=>this.csharp.classReference({origin:this.model.staticExplicit("OAuthTokenProvider"),namespace:this.namespaces.core}),InferredAuthTokenProvider:()=>this.csharp.classReference({origin:this.model.staticExplicit("InferredAuthTokenProvider"),namespace:this.namespaces.core}),ProtoConverter:()=>this.csharp.classReference({origin:this.model.staticExplicit("ProtoConverter"),namespace:this.namespaces.core}),RawGrpcClient:()=>this.csharp.classReference({origin:this.model.staticExplicit("RawGrpcClient"),namespace:this.namespaces.core}),Extensions:()=>this.csharp.classReference({origin:this.model.staticExplicit("Extensions"),namespace:this.namespaces.core}),GrpcRequestOptions:()=>this.csharp.classReference({origin:this.model.staticExplicit("GrpcRequestOptions"),namespace:this.namespaces.root}),GrpcChannelOptions:()=>this.csharp.classReference({origin:this.model.staticExplicit("GrpcChannelOptions"),namespace:"Grpc.Net.Client"}),StringEnum:t=>this.csharp.classReference({origin:this.model.staticExplicit("StringEnum"),namespace:this.namespaces.core,generics:t?[t]:void 0}),WebSocketEvent:t=>this.csharp.classReference({origin:this.model.staticExplicit("Event"),namespace:this.namespaces.webSocketsCore,generics:[t]}),ConnectionStatus:()=>this.csharp.classReference({origin:this.model.staticExplicit("ConnectionStatus"),namespace:this.namespaces.webSocketsCore}),WebSocketConnected:()=>this.csharp.classReference({origin:this.model.staticExplicit("Connected"),namespace:this.namespaces.webSocketsCore}),WebSocketClosed:()=>this.csharp.classReference({origin:this.model.staticExplicit("Closed"),namespace:this.namespaces.webSocketsCore}),ReconnectionInfo:()=>this.csharp.classReference({origin:this.model.staticExplicit("ReconnectionInfo"),namespace:this.namespaces.webSocketsCore}),CustomPagerClass:t=>this.csharp.classReference({origin:this.model.staticExplicit(this.names.classes.customPager),namespace:this.namespaces.core,generics:[t]}),Pager:t=>this.csharp.classReference({origin:this.model.staticExplicit("Pager"),namespace:this.namespaces.core,generics:[t]}),OffsetPager:({requestType:t,requestOptionsType:r,responseType:i,offsetType:o,stepType:c,itemType:d})=>this.csharp.classReference({origin:this.model.staticExplicit("OffsetPager"),namespace:this.namespaces.core,generics:[t,r,i,o,c,d]}),CursorPager:({requestType:t,requestOptionsType:r,responseType:i,cursorType:o,itemType:c})=>this.csharp.classReference({origin:this.model.staticExplicit("CursorPager"),namespace:this.namespaces.core,generics:[t,r,i,o,c]}),CollectionItemSerializer:(t,r)=>this.csharp.classReference({origin:this.model.staticExplicit("CollectionItemSerializer"),namespace:this.namespaces.core,generics:[t,r]}),OneOfSerializer:t=>this.csharp.classReference({origin:this.model.staticExplicit("OneOfSerializer"),namespace:this.namespaces.core,generics:[t]}),AdditionalProperties:t=>this.csharp.classReference({origin:this.model.staticExplicit("AdditionalProperties"),namespace:this.namespaces.publicCore,generics:t?[t]:void 0}),ReadOnlyAdditionalProperties:t=>this.csharp.classReference({origin:this.model.staticExplicit("ReadOnlyAdditionalProperties"),namespace:this.namespaces.publicCore,generics:t?[t]:void 0})}));m(this,"Primitive",j({string:()=>new q.String(this),boolean:()=>new q.Boolean(this),integer:()=>new q.Integer(this),long:()=>new q.Long(this),uint:()=>new q.Uint(this),ulong:()=>new q.ULong(this),float:()=>new q.Float(this),double:()=>new q.Double(this),object:()=>new q.Object(this)}));m(this,"Value",j({binary:()=>new Ie.Binary(this),dateOnly:()=>new Ie.DateOnly(this),dateTime:()=>new Ie.DateTime(this),uuid:()=>new Ie.Uuid(this),stringEnum:t=>new Ie.StringEnum(t,this)}));m(this,"Collection",j({array:t=>new se.Array(t,this),listType:t=>new se.ListType(t,this),list:t=>new se.List(t,this),set:t=>new se.Set(t,this),map:(t,r,i)=>new se.Map(t,r,this,i),idictionary:(t,r,i)=>new se.IDictionary(t,r,this,i),keyValuePair:(t,r)=>new se.KeyValuePair(t,r,this)}));m(this,"format",j({private:t=>`_${Sn.camelCase(t)}`}));m(this,"initializers",j({implicitNamespaces:()=>{for(let t of this.namespaces.implicit)this.registry.addImplicitNamespace(t);return!0}}));this.intermediateRepresentation=t,this.apiName=r,this.customConfig=i,this.generatorConfig=o,this.support=c;let d=P.IR.IntermediateRepresentation(t)?t.casingsConfig:void 0;this.case=new Yi({generationLanguage:"csharp",keywords:d?.keywords,smartCasing:d?.smartCasing??!0}),this.model=new ka(t,this),this.ir=P.IR.IntermediateRepresentation(t)?t:{},this.dir=P.DynamicIR.DynamicIntermediateRepresentation(t)?t:{}}initialize(){return this.initializers.implicitNamespaces}get System(){return this.extern.System}get NUnit(){return this.extern.NUnit}get OneOf(){return this.extern.OneOf}get Google(){return this.extern.Google}get Grpc(){return this.extern.Grpc}get WireMock(){return this.extern.WireMock}qualifyNamespace(t){let r=t.split(".")[0];return r&&this.registry.hasTypeNamespaceConflict(r)?`global::${t}`:t}};n();a();s();var Ue=class{constructor(t){m(this,"generation");this.generation=t}get csharp(){return this.generation.csharp}get case(){return this.generation.case}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 model(){return this.generation.model}get format(){return this.generation.format}get registry(){return this.generation.registry}get Types(){return this.generation.Types}get System(){return this.generation.extern.System}get NUnit(){return this.generation.extern.NUnit}get OneOf(){return this.generation.extern.OneOf}get Google(){return this.generation.extern.Google}get Grpc(){return this.generation.extern.Grpc}get WireMock(){return this.generation.extern.WireMock}get Primitive(){return this.generation.Primitive}get Value(){return this.generation.Value}get Collection(){return this.generation.Collection}};n();a();s();var La=class extends Ue{constructor({context:r}){super(r.generation);m(this,"context");this.context=r}convert(r){if(r.value===null)return this.context.isNullable(r.typeReference)?this.csharp.Literal.null():(this.context.errors.add({severity:v.Critical,message:"Expected non-null value, but got null"}),this.csharp.Literal.nop());if(r.value===void 0&&!r.fallbackToDefault)return this.csharp.Literal.nop();switch(r.typeReference.type){case"list":return this.convertList({list:r.typeReference.value,value:r.value,fallbackToDefault:r.fallbackToDefault});case"literal":return this.convertLiteral({literal:r.typeReference.value,value:r.value});case"map":return this.convertMap({map:r.typeReference,value:r.value,fallbackToDefault:r.fallbackToDefault});case"named":{let i=this.context.resolveNamedType({typeId:r.typeReference.value});return i==null?this.csharp.Literal.nop():this.convertNamed({named:i,value:r.value,as:r.as,fallbackToDefault:r.fallbackToDefault})}case"nullable":return this.convert({typeReference:r.typeReference.value,value:r.value,as:r.as});case"optional":return this.convert({typeReference:r.typeReference.value,value:r.value,as:r.as});case"primitive":return this.convertPrimitive({primitive:r.typeReference.value,value:r.value,as:r.as,fallbackToDefault:r.fallbackToDefault});case"set":return this.convertSet({set:r.typeReference.value,value:r.value,fallbackToDefault:r.fallbackToDefault});case"unknown":return this.convertUnknown({value:r.value,fallbackToDefault:r.fallbackToDefault});default:Q(r.typeReference)}}convertList({list:r,value:i,fallbackToDefault:o}){return Array.isArray(i)?this.csharp.Literal.list({valueType:this.context.dynamicTypeMapper.convert({typeReference:r,unboxOptionals:!0}),values:i.map((c,d)=>{this.context.errors.scope({index:d});try{return this.convert({typeReference:r,value:c})}finally{this.context.errors.unscope()}})}):(this.context.errors.add({severity:v.Critical,message:`Expected array but got: ${typeof i}`}),this.csharp.Literal.nop())}convertLiteral({literal:r,value:i,fallbackToDefault:o}){if(this.settings.generateLiterals)return this.csharp.Literal.nop();switch(r.type){case"boolean":{let c=this.context.getValueAsBoolean({value:i});return c==null?this.csharp.Literal.nop():this.csharp.Literal.boolean(c)}case"string":{let c=this.context.getValueAsString({value:i});return c==null?o?this.Primitive.string.getDeterminsticDefault(o):this.csharp.Literal.nop():this.csharp.Literal.string(c)}default:Q(r)}}convertSet({set:r,value:i,fallbackToDefault:o}){return Array.isArray(i)?this.csharp.Literal.set({valueType:this.context.dynamicTypeMapper.convert({typeReference:r,unboxOptionals:!0}),values:i.map((c,d)=>{this.context.errors.scope({index:d});try{return this.convert({typeReference:r,value:c})}finally{this.context.errors.unscope()}})}):(this.context.errors.add({severity:v.Critical,message:`Expected array but got: ${typeof i}`}),this.csharp.Literal.nop())}convertMap({map:r,value:i,fallbackToDefault:o}){return typeof i!="object"||i==null?(this.context.errors.add({severity:v.Critical,message:`Expected object but got: ${i==null?"null":typeof i}`}),this.csharp.Literal.nop()):this.csharp.Literal.dictionary({keyType:this.context.dynamicTypeMapper.convert({typeReference:r.key}),valueType:r.value.type==="unknown"?this.context.dynamicTypeMapper.convert({typeReference:r.value}).asOptional():this.context.dynamicTypeMapper.convert({typeReference:r.value}),entries:Object.entries(i).map(([c,d])=>{this.context.errors.scope(c);try{return{key:this.convert({typeReference:r.key,value:c,as:"key"}),value:this.convert({typeReference:r.value,value:d})}}finally{this.context.errors.unscope()}})})}convertNamed({named:r,value:i,as:o,fallbackToDefault:c}){switch(r.type){case"alias":return this.settings.generateLiterals&&r.typeReference.type==="literal"?this.csharp.Literal.reference(this.csharp.instantiateClass({classReference:this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),arguments_:[]})):this.convert({typeReference:r.typeReference,value:i,as:o,fallbackToDefault:c});case"discriminatedUnion":return this.settings.shouldGeneratedDiscriminatedUnions?this.convertDiscriminatedUnion({discriminatedUnion:r,value:i,fallbackToDefault:c}):this.convertUnknown({value:i,fallbackToDefault:c});case"enum":return this.getEnumValue(r,i);case"object":return this.convertObject({object_:r,value:i,fallbackToDefault:c});case"undiscriminatedUnion":return this.convertUndiscriminatedUnion({undiscriminatedUnion:r,value:i,fallbackToDefault:c});default:Q(r)}}convertDiscriminatedUnion({discriminatedUnion:r,value:i,fallbackToDefault:o}){let c=this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),d=this.context.resolveDiscriminatedUnionTypeInstance({discriminatedUnion:r,value:i});if(d==null)return this.csharp.Literal.nop();let y=d.singleDiscriminatedUnionType,g=this.getBaseProperties({discriminatedUnionTypeInstance:d,singleDiscriminatedUnionType:y});switch(y.type){case"samePropertiesAsObject":{let x=this.context.resolveNamedType({typeId:y.typeId});return x==null?this.csharp.Literal.nop():this.instantiateUnionWithBaseProperties({classReference:c,baseProperties:g,arguments_:[this.convertNamed({named:x,value:d.value})]})}case"singleProperty":{if(this.context.getRecord(d.value)==null)return this.csharp.Literal.nop();try{let S=["Value","Type"].includes(y.discriminantValue.name.pascalCase.safeName)?`${y.discriminantValue.name.pascalCase.safeName}Inner`:y.discriminantValue.name.pascalCase.safeName;return this.context.errors.scope(y.discriminantValue.wireValue),this.instantiateUnionWithBaseProperties({classReference:c,baseProperties:g,arguments_:[this.csharp.instantiateClass({classReference:this.csharp.classReference({name:S,enclosingType:c}),arguments_:[this.convert({typeReference:y.typeReference,value:y.discriminantValue.wireValue})]})]})}finally{this.context.errors.unscope()}}case"noProperties":return this.instantiateUnionWithBaseProperties({classReference:c,baseProperties:g,arguments_:[this.csharp.instantiateClass({classReference:this.csharp.classReference({origin:d.discriminantValue,enclosingType:c}),arguments_:[]})]});default:Q(y)}}getBaseProperties({discriminatedUnionTypeInstance:r,singleDiscriminatedUnionType:i}){return this.context.associateByWireValue({parameters:i.properties??[],values:this.context.getRecord(r.value)??{},ignoreMissingParameters:!0}).map(c=>{this.context.errors.scope(c.name.wireValue);try{return{name:this.context.getPropertyName(c.name.name),assignment:this.convert(c)}}finally{this.context.errors.unscope()}})}instantiateUnionWithBaseProperties({classReference:r,arguments_:i,baseProperties:o}){let c=this.csharp.instantiateClass({classReference:r,arguments_:i,multiline:!0});return o.length===0?this.csharp.Literal.reference(c):this.csharp.Literal.reference(this.csharp.codeblock(d=>{d.write(c," "),d.pushScope();for(let y of o)d.write(y.name," = ",y.assignment,",");d.popScope(!1)}))}getEnumValue(r,i){if(typeof i!="string")return this.context.errors.add({severity:v.Critical,message:`Expected enum value string, got: ${typeof i}`}),this.csharp.Literal.nop();let o=r.values.find(y=>y.wireValue===i);if(o==null)return this.context.errors.add({severity:v.Critical,message:`An enum value named "${i}" does not exist in this context`}),this.csharp.Literal.nop();let c=this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),d=c.registerField(this.model.getPropertyNameFor(o),o);return this.csharp.Literal.reference(this.csharp.enumInstantiation({reference:c,value:d}))}convertObject({object_:r,value:i,fallbackToDefault:o}){let c=this.context.getRecord(i)??{},y=this.context.associateByWireValue({parameters:r.properties,values:c}).map(x=>{this.context.errors.scope(x.name.wireValue);try{return{name:this.context.getClassName(x.name.name),value:this.convert(x)}}finally{this.context.errors.unscope()}}),g=new Set(Object.keys(c));for(let x of r.properties){let S=this.context.getClassName(x.name.name);if(g.has(x.name.wireValue)){if(this.isRequiredProperty(x.typeReference)){let A=y.find(O=>O.name===S);if(A!=null&&P.Literal.nop(A.value)){let O=this.getDefaultLiteralForType(x.typeReference);O!=null&&(A.value=O)}}continue}if(this.isRequiredProperty(x.typeReference)){let A=this.getDefaultLiteralForType(x.typeReference);A!=null&&y.push({name:S,value:A})}}return this.csharp.Literal.class_({reference:this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),fields:y})}isRequiredProperty(r){return!(this.context.isOptional(r)||this.context.isNullable(r)||r.type==="list"||r.type==="set"||r.type==="map")}getDefaultLiteralForType(r,i){switch(r.type){case"primitive":return this.getDefaultLiteralForPrimitive(r.value);case"literal":return this.convertLiteral({literal:r.value,value:r.value.value});case"named":{let o=this.context.resolveNamedType({typeId:r.value});if(o==null)return;if(o.type==="alias")return this.getDefaultLiteralForType(o.typeReference,i);if(o.type==="enum"&&o.values.length>0){let c=o.values[0];if(c!=null)return this.getEnumValue(o,c.wireValue)}return o.type==="undiscriminatedUnion"?this.getDefaultLiteralForUndiscriminatedUnion(o,i):o.type==="object"?this.getDefaultLiteralForObject(o,r.value,i):void 0}default:return}}getDefaultLiteralForObject(r,i,o){let c=o??new Set;if(c.has(i))return;c.add(i);let d=[];for(let y of r.properties)if(this.isRequiredProperty(y.typeReference)){let g=this.getDefaultLiteralForType(y.typeReference,c);g!=null&&d.push({name:this.context.getClassName(y.name.name),value:g})}return c.delete(i),this.csharp.Literal.class_({reference:this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),fields:d})}getDefaultLiteralForUndiscriminatedUnion(r,i){for(let o of r.types){let c=this.getDefaultLiteralForType(o,i);if(c!=null)return c}}getDefaultLiteralForPrimitive(r){switch(r){case"INTEGER":return this.csharp.Literal.integer(0);case"LONG":return this.csharp.Literal.long(0);case"UINT":return this.csharp.Literal.uint(0);case"UINT_64":return this.csharp.Literal.ulong(0);case"FLOAT":return this.csharp.Literal.float(0);case"DOUBLE":return this.csharp.Literal.double(0);case"BOOLEAN":return this.csharp.Literal.boolean(!1);case"STRING":case"UUID":case"BASE_64":case"BIG_INTEGER":return this.csharp.Literal.string("");case"DATE":return this.csharp.Literal.date("0001-01-01");case"DATE_TIME":case"DATE_TIME_RFC_2822":return this.csharp.Literal.datetime("0001-01-01T00:00:00.000Z");default:Q(r)}}convertUndiscriminatedUnion({undiscriminatedUnion:r,value:i,fallbackToDefault:o}){let c=this.findMatchingUndiscriminatedUnionType({undiscriminatedUnion:r,value:i});return c==null?this.csharp.Literal.nop():c.typeLiteral}findMatchingUndiscriminatedUnionType({undiscriminatedUnion:r,value:i}){for(let o of r.types){let c=this.context.errors.size();try{let d=this.convert({typeReference:o,value:i});if(P.Literal.nop(d)||this.context.errors.size()>c){this.context.errors.truncate(c);continue}return{valueTypeReference:o,typeLiteral:d}}catch{this.context.errors.truncate(c);continue}}this.context.errors.add({severity:v.Critical,message:`None of the types in the undiscriminated union matched the given "${typeof i}" value`})}convertUnknown({value:r,fallbackToDefault:i}){return this.csharp.Literal.unknown(r)}convertPrimitive({primitive:r,value:i,as:o,fallbackToDefault:c}){switch(r){case"INTEGER":{let d=this.getValueAsNumber({value:i,as:o});return d==null?c?this.Primitive.integer.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.integer(d)}case"LONG":{let d=this.getValueAsNumber({value:i,as:o});return d==null?c?this.Primitive.long.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.long(d)}case"UINT":{let d=this.getValueAsNumber({value:i,as:o});return d==null?c?this.Primitive.uint.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.uint(d)}case"UINT_64":{let d=this.getValueAsNumber({value:i,as:o});return d==null?c?this.Primitive.ulong.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.ulong(d)}case"FLOAT":{let d=this.getValueAsNumber({value:i,as:o});return d==null?c?this.Primitive.float.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.float(d)}case"DOUBLE":{let d=this.getValueAsNumber({value:i,as:o});return d==null?c?this.Primitive.double.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.double(d)}case"BOOLEAN":{let d=this.getValueAsBoolean({value:i,as:o});return d==null?c?this.Primitive.boolean.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.boolean(d)}case"STRING":{let d=this.context.getValueAsString({value:i});return d==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(d)}case"DATE":{let d=this.context.getValueAsString({value:i});return d==null?c?this.Value.dateOnly.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.date(d)}case"DATE_TIME":case"DATE_TIME_RFC_2822":{let d=this.context.getValueAsString({value:i});return d==null?c?this.Value.dateTime.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.datetime(d)}case"UUID":{let d=this.context.getValueAsString({value:i});return d==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(d)}case"BASE_64":{let d=this.context.getValueAsString({value:i});return d==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(d)}case"BIG_INTEGER":{let d=this.context.getValueAsString({value:i});return d==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(d)}default:Q(r)}}getValueAsNumber({value:r,as:i}){let o=i==="key"&&typeof r=="string"?Number(r):r;return this.context.getValueAsNumber({value:o})}getValueAsBoolean({value:r,as:i}){let o=i==="key"?typeof r=="string"?r==="true":r==="false"?!1:r:r;return this.context.getValueAsBoolean({value:o})}};n();a();s();var ja=class extends Ue{constructor({context:r}){super(r.generation);m(this,"context");this.context=r}convert(r){switch(r.typeReference.type){case"list":return this.Collection.list(this.convert({typeReference:r.typeReference.value,unboxOptionals:!0}));case"literal":return this.convertLiteral({literal:r.typeReference.value});case"map":return this.Collection.map(this.convert({typeReference:r.typeReference.key}),this.convert({typeReference:r.typeReference.value}));case"named":{let i=this.context.resolveNamedType({typeId:r.typeReference.value});return i==null?this.convertUnknown():this.convertNamed({named:i})}case"optional":case"nullable":{let i=this.convert({typeReference:r.typeReference.value});return r.unboxOptionals?i.asNonOptional():i.asOptional()}case"primitive":return this.convertPrimitive({primitive:r.typeReference.value});case"set":return this.Collection.set(this.convert({typeReference:r.typeReference.value,unboxOptionals:!0}));case"unknown":return this.convertUnknown();default:Q(r.typeReference)}}convertToClassReference(r){return this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)})}convertNamed({named:r}){switch(r.type){case"alias":return this.settings.generateLiterals&&r.typeReference.type==="literal"?this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}):this.convert({typeReference:r.typeReference});case"enum":case"object":return this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)});case"discriminatedUnion":return this.settings.shouldGeneratedDiscriminatedUnions?this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}):this.Primitive.object;case"undiscriminatedUnion":return this.settings.shouldGenerateUndiscriminatedUnions?this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}):this.OneOf.OneOf(r.types.map(i=>this.convert({typeReference:i})));default:Q(r)}}convertLiteral({literal:r}){switch(r.type){case"boolean":return this.Primitive.boolean;case"string":return this.Primitive.string}}convertUnknown(){return this.Primitive.object}convertPrimitive({primitive:r}){switch(r){case"INTEGER":return this.Primitive.integer;case"UINT":return this.Primitive.uint;case"LONG":return this.Primitive.long;case"UINT_64":return this.Primitive.ulong;case"FLOAT":return this.Primitive.float;case"DOUBLE":return this.Primitive.double;case"BOOLEAN":return this.Primitive.boolean;case"STRING":return this.Primitive.string;case"DATE":return this.Value.dateOnly;case"DATE_TIME":case"DATE_TIME_RFC_2822":return this.Value.dateTime;case"UUID":return this.Primitive.string;case"BASE_64":return this.Primitive.string;case"BIG_INTEGER":return this.Primitive.string;default:Q(r)}}};n();a();s();var Da=class extends Ue{constructor({context:r}){super(r.generation);m(this,"context");this.context=r}getFilePropertyInfo({body:r,value:i}){let o={fileFields:[],bodyPropertyFields:[]},c=this.context.getRecord(i)??{};for(let d of r.properties)switch(d.type){case"file":P.Record.missingKey(c,d.wireValue)&&(c[d.wireValue]="[bytes]"),o.fileFields.push({name:this.context.getPropertyName(d.name),value:this.getSingleFileProperty({property:d,record:c})});break;case"fileArray":P.Record.missingKey(c,d.wireValue)&&(c[d.wireValue]=["[bytes]"]),o.fileFields.push({name:this.context.getPropertyName(d.name),value:this.getArrayFileProperty({property:d,record:c})});break;case"bodyProperty":if(P.Record.missingKey(c,d.name.wireValue))switch(d.typeReference.type){case"optional":break;case"primitive":{switch(d.typeReference.value.toLowerCase()){case"integer":{c[d.name.wireValue]=123;break}case"string":{c[d.name.wireValue]="[string]";break}case"boolean":{c[d.name.wireValue]=!0;break}case"double":{c[d.name.wireValue]=123.456;break}case"float":{c[d.name.wireValue]=123.456;break}case"long":{c[d.name.wireValue]=123456789;break}case"uint":{c[d.name.wireValue]=123;break}case"uint64":{c[d.name.wireValue]=12345;break}case"date":{c[d.name.wireValue]=new Date(2021,1,1);break}case"datetime":{c[d.name.wireValue]=new Date(2021,1,1,12,0,0);break}case"uuid":{c[d.name.wireValue]="123e4567-e89b-12d3-a456-426614174000";break}case"base64":{c[d.name.wireValue]="SGVsbG8gd29ybGQh";break}case"biginteger":{c[d.name.wireValue]="12345678901234567890";break}}break}default:break}o.bodyPropertyFields.push({name:this.context.getPropertyName(d.name.name),value:this.getBodyProperty({property:d,record:c})});break;default:Q(d)}return o}getSingleFileProperty({property:r,record:i}){let o=this.context.getSingleFileValue({property:r,record:i});return o==null?this.csharp.Literal.nop():this.context.getFileParameterForString(o)}getArrayFileProperty({property:r,record:i}){let o=this.context.getFileArrayValues({property:r,record:i});return o==null?this.csharp.Literal.nop():this.csharp.Literal.list({valueType:this.Types.FileParameter,values:o.map(c=>this.context.getFileParameterForString(c))})}getBodyProperty({property:r,record:i}){let o=i[r.name.wireValue];return o==null?this.csharp.Literal.nop():this.context.dynamicLiteralMapper.convert({typeReference:r.typeReference,value:o})}};var Ua=class e extends pi{constructor({ir:r,config:i,options:o,generation:c}){super({ir:r,config:i,options:o});m(this,"ir");m(this,"dynamicTypeMapper");m(this,"dynamicLiteralMapper");m(this,"filePropertyMapper");m(this,"generation");this.ir=r,this.generation=c??new Xi(r,i.workspaceName,i.customConfig!=null?i.customConfig:{},i),this.dynamicTypeMapper=new ja({context:this}),this.dynamicLiteralMapper=new La({context:this}),this.filePropertyMapper=new Da({context:this})}get namespaces(){return this.generation.namespaces}get registry(){return this.generation.registry}get settings(){return this.generation.settings}get constants(){return this.generation.constants}get names(){return this.generation.names}get model(){return this.generation.model}get format(){return this.generation.format}get csharp(){return this.generation.csharp}get Types(){return this.generation.Types}get System(){return this.generation.extern.System}get NUnit(){return this.generation.extern.NUnit}get OneOf(){return this.generation.extern.OneOf}get Google(){return this.generation.extern.Google}get WireMock(){return this.generation.extern.WireMock}get Primitive(){return this.generation.Primitive}get Value(){return this.generation.Value}get Collection(){return this.generation.Collection}clone(){return new e({ir:this.ir,config:this.config,options:this.options,generation:this.generation})}getFileParameterForString(r){return this.csharp.Literal.reference(this.csharp.instantiateClass({classReference:this.Types.FileParameter,arguments_:[],properties:[{name:"Stream",value:this.getMemoryStreamForString(r)}],multiline:!0}))}getMemoryStreamForString(r){return this.System.IO.MemoryStream.new({arguments_:[this.csharp.invokeMethod({on:this.System.Text.Encoding_UTF8,method:"GetBytes",arguments_:[this.csharp.Literal.string(r)]})]})}getClassName(r){return r.pascalCase.safeName}getParameterName(r){return r.camelCase.safeName}getPropertyName(r){return r.pascalCase.safeName}getMethodName(r){return`${r.pascalCase.safeName}Async`}getNamespace(r,i){let o=this.getNamespaceSegments(r);return o=i!=null?[...o,i]:o,[this.namespaces.root,...o].join(".")}getEnvironmentTypeReferenceFromID(r){let i=this.resolveEnvironmentName(r);if(i!=null)return this.getEnvironmentClassReferenceForEnumName(i)}getEnvironmentClassReferenceForEnumName(r){return this.csharp.classReference({name:`${this.generation.Types.Environments.name}.${this.getClassName(r)}`,namespace:this.namespaces.root})}getNamespaceSegments(r){return(this.settings.explicitNamespaces?r.allParts:r.packagePath).map(o=>o.pascalCase.safeName)}precalculate(r){this.generation.initialize(),this.System.Collections.Generic.KeyValuePair(),this.System.Collections.Generic.IEnumerable(),this.System.Collections.Generic.IAsyncEnumerable(),this.System.Collections.Generic.HashSet(),this.System.Collections.Generic.List(),this.System.Collections.Generic.Dictionary(),this.System.Threading.Tasks.Task(),Object.entries(this.ir.types).sort((i,o)=>i[0].length-o[0].length).forEach(([i,o])=>{this.dynamicTypeMapper.convertToClassReference(o)});for(let[i,o]of r.entries())if(this.csharp.classReference({origin:this.model.staticExplicit(`Example${i}`),namespace:"Usage"}),o.endpoint){let c=this.resolveEndpointLocation(o.endpoint);for(let d of c)switch(d.request.type){case"inlined":this.csharp.classReference({origin:d.request.declaration.name,namespace:this.getNamespace(d.request.declaration.fernFilepath)});break;case"body":break}}this.generation.Types.ClientOptions,this.generation.Types.RootClientForSnippets,this.csharp.freezeClassReferences()}};n();a();s();var Ba=class extends Ue{constructor({context:r}){super(r.generation);m(this,"context");this.context=r}async generateSnippet({endpoint:r,request:i,options:o}){return this.buildCodeBlock({endpoint:r,snippet:i,options:o}).toString({namespace:"Usage",generation:this.generation,allNamespaceSegments:new Set,allTypeClassReferences:new Map,skipGlobalQualifier:!0})}generateSnippetSync({endpoint:r,request:i,options:o}){return this.buildCodeBlock({endpoint:r,snippet:i,options:o}).toString({namespace:"Usage",generation:this.generation,allNamespaceSegments:new Set,allTypeClassReferences:new Map,skipGlobalQualifier:!0})}async generateSnippetAst({endpoint:r,request:i,options:o}){throw new Error("Unsupported")}buildCodeBlock({endpoint:r,snippet:i,options:o}){if(r.examples&&P.DynamicIR.EndpointExample(i)&&!r.examples.find(y=>y.id===i.id))throw new Error("Endpoint does not have an example that matches the snippet");let c=this.csharp.codeblock(y=>{y.writeNodeStatement(this.constructClient({endpoint:r,snippet:i})),y.newLine(),y.writeNodeStatement(this.callMethod({endpoint:r,snippet:i}))}),d=this.getStyle(o);switch(d){case It.Concise:return c;case It.Full:return this.buildFullCodeBlock({body:c,options:o});default:Q(d)}}buildFullCodeBlock({body:r,options:i}){let o=this.getConfig(i),c=this.csharp.class_({name:o.fullStyleClassName??"Example",namespace:"Usage",access:Kr.Access.Public});return c.addNamespaceReference(this.Types.RootClientForSnippets.namespace),c.addMethod({name:"Do",access:Kr.Access.Public,isAsync:!0,parameters:[],body:r}),c}constructClient({endpoint:r,snippet:i}){return this.csharp.codeblock(o=>{o.write("var client = "),o.writeNode(this.getRootClientConstructorInvocation(this.getConstructorArgs({endpoint:r,snippet:i})))})}callMethod({endpoint:r,snippet:i}){let o=r.response?.type==="streaming"||r.response?.type==="streamParameter",c=this.csharp.invokeMethod({on:this.csharp.codeblock("client"),method:this.getMethod({endpoint:r}),arguments_:this.getMethodArgs({endpoint:r,snippet:i}),async:!0,configureAwait:!0,multiline:!0,isAsyncEnumerable:o});return o?this.csharp.codeblock(d=>{d.write("await foreach (var item in "),d.writeNode(c),d.writeLine(")"),d.pushScope(),d.writeLine("/* consume each item */"),d.popScope()}):c}getConstructorArgs({endpoint:r,snippet:i}){let o=[];r.auth!=null&&(i.auth!=null?o.push(...this.getConstructorAuthArgs({auth:r.auth,values:i.auth})):this.context.errors.add({severity:v.Warning,message:`Auth with ${r.auth.type} configuration is required for this endpoint`}));let c=[],d=this.getConstructorBaseUrlArgs({baseUrl:i.baseURL,environment:i.environment});d.length>0&&c.push(...d),this.context.errors.scope(Be.Headers);let y=[];if(this.context.ir.headers!=null&&i.headers!=null&&y.push(...this.getConstructorHeaderArgs({headers:this.context.ir.headers,values:i.headers})),this.context.errors.unscope(),this.settings.unifiedClientOptions){let g=[...o.map(x=>({name:xe(x.name),assignment:x.assignment})),...y.map(x=>({name:xe(x.name),assignment:x.assignment})),...c.map(x=>({name:x.name,assignment:x.assignment}))];return g.length===0?[]:[{name:"clientOptions",assignment:this.csharp.instantiateClass({classReference:this.Types.ClientOptions,arguments_:g,multiline:!0})}]}return c.length===0?[...o,...y]:[...o,...y,{name:"clientOptions",assignment:this.csharp.instantiateClass({classReference:this.Types.ClientOptions,arguments_:c.map(g=>({name:g.name,assignment:g.assignment})),multiline:!0})}]}getConstructorBaseUrlArgs({baseUrl:r,environment:i}){let o=this.getBaseUrlArg({baseUrl:r,environment:i});return P.Literal.nop(o)?[]:[{name:this.getBaseUrlOptionName(),assignment:o}]}getBaseUrlArg({baseUrl:r,environment:i}){if(r!=null&&i!=null)return this.context.errors.add({severity:v.Critical,message:"Cannot specify both baseUrl and environment options"}),this.csharp.Literal.nop();if(r!=null)return this.context.ir.environments?.environments.type==="multipleBaseUrls"?(this.context.errors.add({severity:v.Critical,message:"The C# SDK doesn't support a baseUrl when multiple URL environments are configured"}),this.csharp.Literal.nop()):this.csharp.Literal.string(r);if(i!=null){if(this.context.isSingleEnvironmentID(i)){let o=this.context.getEnvironmentTypeReferenceFromID(i);return o==null?(this.context.errors.add({severity:v.Warning,message:`Environment ${JSON.stringify(i)} was not found`}),this.csharp.Literal.nop()):this.csharp.Literal.reference(o)}if(this.context.isMultiEnvironmentValues(i))return this.context.validateMultiEnvironmentUrlValues(i)?this.csharp.Literal.reference(this.csharp.instantiateClass({classReference:this.Types.Environments,arguments_:Object.entries(i).map(([o,c])=>({name:xe(Dt(o)),assignment:this.context.dynamicLiteralMapper.convert({typeReference:{type:"primitive",value:"STRING"},value:c})})),multiline:!0})):this.csharp.Literal.nop()}return this.csharp.Literal.nop()}getConstructorAuthArgs({auth:r,values:i}){if(i.type!==r.type)return this.addError(this.context.newAuthMismatchError({auth:r,values:i}).message),[];switch(r.type){case"basic":return i.type==="basic"?this.getConstructorBasicAuthArg({auth:r,values:i}):[];case"bearer":return i.type==="bearer"?this.getConstructorBearerAuthArgs({auth:r,values:i}):[];case"header":return i.type==="header"?this.getConstructorHeaderAuthArgs({auth:r,values:i}):[];case"oauth":return i.type==="oauth"?this.getConstructorOAuthArgs({auth:r,values:i}):[];case"inferred":return i.type==="inferred"?this.getConstructorInferredAuthArgs({auth:r,values:i}):[];default:Q(r)}}addError(r){this.context.errors.add({severity:v.Critical,message:r})}addWarning(r){this.context.errors.add({severity:v.Warning,message:r})}getConstructorBasicAuthArg({auth:r,values:i}){let o=r,c=!!o.usernameOmit,d=!!o.passwordOmit,y=[];return c||y.push({name:this.context.getParameterName(r.username),assignment:this.csharp.Literal.string(i.username)}),d||y.push({name:this.context.getParameterName(r.password),assignment:this.csharp.Literal.string(i.password)}),y}getConstructorBearerAuthArgs({auth:r,values:i}){return[{name:this.context.getParameterName(r.token),assignment:this.csharp.Literal.string(i.token)}]}getConstructorHeaderAuthArgs({auth:r,values:i}){return[{name:this.context.getParameterName(r.header.name.name),assignment:this.context.dynamicLiteralMapper.convert({typeReference:r.header.typeReference,value:i.value,fallbackToDefault:r.header.name.wireValue})}]}getConstructorOAuthArgs({auth:r,values:i}){return[{name:this.context.getParameterName(r.clientId),assignment:this.csharp.Literal.string(i.clientId)},{name:this.context.getParameterName(r.clientSecret),assignment:this.csharp.Literal.string(i.clientSecret)}]}getConstructorInferredAuthArgs({auth:r,values:i}){let o=[];if(r.parameters!=null)for(let c of r.parameters){let d=c.name.wireValue,y=i.values?.[d];o.push({name:this.context.getParameterName(c.name.name),assignment:this.context.dynamicLiteralMapper.convert({typeReference:c.typeReference,value:y,fallbackToDefault:d})})}else this.context.errors.add({severity:v.Critical,message:"Inferred auth parameters are not defined in the IR. Please ensure you're using IR version 62.3.0 or later."});return o}getConstructorHeaderArgs({headers:r,values:i}){let o=[];for(let c of r){let d=i[c.name.wireValue],y=this.getConstructorHeaderArg({header:c,value:d});y!=null&&o.push({name:this.context.getParameterName(c.name.name),assignment:y})}return o}getConstructorHeaderArg({header:r,value:i}){let o=this.context.dynamicLiteralMapper.convert({typeReference:r.typeReference,value:i,fallbackToDefault:r.name.wireValue});if(!P.Literal.nop(o))return o}getMethodArgs({endpoint:r,snippet:i}){switch(r.request.type){case"inlined":return this.getMethodArgsForInlinedRequest({request:r.request,snippet:i});case"body":return this.getMethodArgsForBodyRequest({request:r.request,snippet:i});default:Q(r.request)}}getMethodArgsForInlinedRequest({request:r,snippet:i}){let o=[];this.context.errors.scope(Be.PathParameters);let c=[],d=[...this.context.ir.pathParameters??[],...r.pathParameters??[]];d.length>0&&c.push(...this.getPathParameters({namedParameters:d,snippet:i})),this.context.errors.unscope(),this.context.errors.scope(Be.RequestBody);let y=this.getFilePropertyInfo({request:r,snippet:i});return this.context.errors.unscope(),this.context.includePathParametersInWrappedRequest({request:r,inlinePathParameters:this.settings.shouldInlinePathParameters})||o.push(...c.map(g=>g.value)),o.push(this.getInlinedRequestArg({request:r,snippet:i,pathParameterFields:this.context.includePathParametersInWrappedRequest({request:r,inlinePathParameters:this.settings.shouldInlinePathParameters})?c:[],filePropertyInfo:y})),o}getFilePropertyInfo({request:r,snippet:i}){return r.body==null||!this.context.isFileUploadRequestBody(r.body)?{fileFields:[],bodyPropertyFields:[]}:this.context.filePropertyMapper.getFilePropertyInfo({body:r.body,value:i.requestBody})}getInlinedRequestArg({request:r,snippet:i,pathParameterFields:o,filePropertyInfo:c}){this.context.errors.scope(Be.QueryParameters);let y=this.context.associateQueryParametersByWireValue({parameters:r.queryParameters??[],values:i.queryParameters??{}}).map(A=>({name:this.context.getPropertyName(A.name.name),value:this.context.dynamicLiteralMapper.convert(A)}));this.context.errors.unscope(),this.context.errors.scope(Be.Headers);let x=this.context.associateByWireValue({parameters:r.headers??[],values:i.headers??{}}).map(A=>({name:this.context.getPropertyName(A.name.name),value:this.context.dynamicLiteralMapper.convert({...A,fallbackToDefault:A.name.wireValue})}));this.context.errors.unscope(),this.context.errors.scope(Be.RequestBody);let S=r.body!=null?this.getInlinedRequestBodyConstructorFields({body:r.body,value:i.requestBody,filePropertyInfo:c}):[];return this.context.errors.unscope(),this.csharp.Literal.class_({reference:this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),fields:[...o,...y,...x,...S]})}getInlinedRequestBodyConstructorFields({body:r,value:i,filePropertyInfo:o}){switch(r.type){case"properties":return this.getInlinedRequestBodyPropertyConstructorFields({parameters:r.value,value:i});case"referenced":return[this.getReferencedRequestBodyPropertyConstructorField({body:r,value:i})];case"fileUpload":return this.getFileUploadRequestBodyConstructorFields({filePropertyInfo:o});default:Q(r)}}getInlinedRequestBodyPropertyConstructorFields({parameters:r,value:i}){let o=[],c=this.context.associateByWireValue({parameters:r,values:this.context.getRecord(i)??{}});for(let d of c)o.push({name:this.context.getPropertyName(d.name.name),value:this.context.dynamicLiteralMapper.convert({...d,fallbackToDefault:d.name.wireValue})});return o}getFileUploadRequestBodyConstructorFields({filePropertyInfo:r}){return[...r.fileFields,...r.bodyPropertyFields]}getReferencedRequestBodyPropertyConstructorField({body:r,value:i}){return{name:this.context.getPropertyName(r.bodyKey),value:this.getReferencedRequestBodyPropertyLiteral({body:r.bodyType,value:i})}}getReferencedRequestBodyPropertyLiteral({body:r,value:i}){switch(r.type){case"bytes":return this.getBytesBodyRequestArg({value:i});case"typeReference":return this.context.dynamicLiteralMapper.convert({typeReference:r.value,value:i,fallbackToDefault:JSON.stringify(r.value)});default:Q(r)}}getMethodArgsForBodyRequest({request:r,snippet:i}){let o=[];this.context.errors.scope(Be.PathParameters);let c=[...this.context.ir.pathParameters??[],...r.pathParameters??[]];return c.length>0&&o.push(...this.getPathParameters({namedParameters:c,snippet:i}).map(d=>d.value)),this.context.errors.unscope(),this.context.errors.scope(Be.RequestBody),r.body!=null&&o.push(this.getBodyRequestArg({body:r.body,value:i.requestBody})),this.context.errors.unscope(),o}getBodyRequestArg({body:r,value:i}){switch(r.type){case"bytes":return this.getBytesBodyRequestArg({value:i});case"typeReference":return r.value.type==="optional"&&i==null?this.csharp.Literal.null():this.context.dynamicLiteralMapper.convert({typeReference:r.value,value:i,fallbackToDefault:JSON.stringify(r.value)});default:Q(r)}}getBytesBodyRequestArg({value:r}){let i=this.context.getValueAsString({value:r});return i==null&&(this.context.errors.add({severity:v.Critical,message:"The bytes request body must be provided in string format"}),i="[bytes]"),this.csharp.Literal.reference(this.context.getMemoryStreamForString(i))}getRootClientConstructorInvocation(r){return this.csharp.instantiateClass({classReference:this.Types.RootClientForSnippets,arguments_:r,forceUseConstructor:!0,multiline:!0})}getPathParameters({namedParameters:r,snippet:i}){let o=[],c=this.context.associateByWireValueOrDefault({parameters:r,values:i.pathParameters??{}});for(let d of c)o.push({name:this.context.getPropertyName(d.name.name),value:this.context.dynamicLiteralMapper.convert({...d,fallbackToDefault:d.name.wireValue})});return o}getMethod({endpoint:r}){return r.declaration.fernFilepath.allParts.length>0?`${r.declaration.fernFilepath.allParts.map(i=>this.context.getClassName(i)).join(".")}.${this.context.getMethodName(r.declaration.name)}`:this.context.getMethodName(r.declaration.name)}getBaseUrlOptionName(){return this.context.ir.environments?.environments.type==="multipleBaseUrls"?"Environment":"BaseUrl"}getStyle(r){return r.style??this.context.options.style??It.Full}getConfig(r){return r.config??this.context.options.config??{}}};var uu=class extends oi{constructor({ir:t,config:r,options:i={}}){super(new Ua({ir:t,config:r,options:i}))}precalculate(t){this.context.precalculate(t)}async generate(t,r={}){return super.generate(t,r)}generateSync(t,r={}){return super.generateSync(t,r)}async generateSnippetAst(t){return super.generateSnippetAst(t)}createSnippetGenerator(t){return new Ba({context:t})}};export{uu as DynamicSnippetsGenerator};
34
34
  /*! Bundled license information:
35
35
 
36
36
  lodash-es/lodash.js: