@fern-api/csharp-dynamic-snippets 2.60.2 → 2.62.0
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.cjs +14 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
"use strict";var Fn=Object.defineProperty;var ad=Object.getOwnPropertyDescriptor;var od=Object.getOwnPropertyNames;var ud=Object.prototype.hasOwnProperty;var cd=(e,t,r)=>t in e?Fn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ar=(e,t)=>()=>(e&&(t=e(e=0)),t);var z=(e,t)=>{for(var r in t)Fn(e,r,{get:t[r],enumerable:!0})},pd=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of od(t))!ud.call(e,o)&&o!==r&&Fn(e,o,{get:()=>t[o],enumerable:!(i=ad(t,o))||i.enumerable});return e};var ld=e=>pd(Fn({},"__esModule",{value:!0}),e);var y=(e,t,r)=>cd(e,typeof t!="symbol"?t+"":t,r);var n=ar(()=>{"use strict"});var f={};z(f,{_debugEnd:()=>Kc,_debugProcess:()=>Jc,_events:()=>lp,_eventsCount:()=>fp,_exiting:()=>Pc,_fatalExceptions:()=>Gc,_getActiveHandles:()=>Fc,_getActiveRequests:()=>kc,_kill:()=>jc,_linkedBinding:()=>Rc,_maxListeners:()=>pp,_preload_modules:()=>op,_rawDebug:()=>Ac,_startProfilerIdleNotifier:()=>Qc,_stopProfilerIdleNotifier:()=>Yc,_tickCallback:()=>Hc,abort:()=>tp,addListener:()=>mp,allowedNodeEnvironmentFlags:()=>Vc,arch:()=>lc,argv:()=>dc,argv0:()=>ap,assert:()=>zc,binding:()=>xc,browser:()=>Ic,chdir:()=>Tc,config:()=>Cc,cpuUsage:()=>Bn,cwd:()=>wc,debugPort:()=>sp,default:()=>Tp,dlopen:()=>_c,domain:()=>Oc,emit:()=>bp,emitWarning:()=>bc,env:()=>mc,execArgv:()=>hc,execPath:()=>np,exit:()=>Mc,features:()=>qc,hasUncaughtExceptionCaptureCallback:()=>$c,hrtime:()=>jn,kill:()=>Uc,listeners:()=>wp,memoryUsage:()=>Dc,moduleLoadList:()=>Nc,nextTick:()=>uc,off:()=>hp,on:()=>st,once:()=>dp,openStdin:()=>vc,pid:()=>rp,platform:()=>fc,ppid:()=>ip,prependListener:()=>xp,prependOnceListener:()=>Sp,reallyExit:()=>Lc,release:()=>Ec,removeAllListeners:()=>gp,removeListener:()=>yp,resourceUsage:()=>Bc,setSourceMapsEnabled:()=>up,setUncaughtExceptionCaptureCallback:()=>Wc,stderr:()=>Zc,stdin:()=>ep,stdout:()=>Xc,title:()=>pc,umask:()=>Sc,uptime:()=>cp,version:()=>yc,versions:()=>gc});function Co(e){throw new Error("Node.js process "+e+" is not supported by JSPM core outside of Node.js")}function fd(){!or||!qt||(or=!1,qt.length?nt=qt.concat(nt):Ln=-1,nt.length&&oc())}function oc(){if(!or){var e=setTimeout(fd,0);or=!0;for(var t=nt.length;t;){for(qt=nt,nt=[];++Ln<t;)qt&&qt[Ln].run();Ln=-1,t=nt.length}qt=null,or=!1,clearTimeout(e)}}function uc(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];nt.push(new cc(e,t)),nt.length===1&&!or&&setTimeout(oc,0)}function cc(e,t){this.fun=e,this.array=t}function Oe(){}function Rc(e){Co("_linkedBinding")}function _c(e){Co("dlopen")}function kc(){return[]}function Fc(){return[]}function zc(e,t){if(!e)throw new Error(t||"assertion error")}function $c(){return!1}function cp(){return gt.now()/1e3}function jn(e){var t=Math.floor((Date.now()-gt.now())*.001),r=gt.now()*.001,i=Math.floor(r)+t,o=Math.floor(r%1*1e9);return e&&(i=i-e[0],o=o-e[1],o<0&&(i--,o+=Po)),[i,o]}function st(){return Tp}function wp(e){return[]}var nt,or,qt,Ln,pc,lc,fc,mc,dc,hc,yc,gc,bc,xc,Sc,wc,Tc,Ec,Ic,Ac,Nc,Oc,Pc,Cc,Lc,jc,Bn,Bc,Dc,Uc,Mc,vc,Vc,qc,Gc,Wc,Hc,Jc,Kc,Qc,Yc,Xc,Zc,ep,tp,rp,ip,np,sp,ap,op,up,gt,Oo,Po,pp,lp,fp,mp,dp,hp,yp,gp,bp,xp,Sp,Tp,Ep=ar(()=>{"use strict";n();a();s();nt=[],or=!1,Ln=-1;cc.prototype.run=function(){this.fun.apply(null,this.array)};pc="browser",lc="x64",fc="browser",mc={PATH:"/usr/bin",LANG:typeof navigator<"u"?navigator.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},dc=["/usr/bin/node"],hc=[],yc="v16.8.0",gc={},bc=function(e,t){console.warn((t?t+": ":"")+e)},xc=function(e){Co("binding")},Sc=function(e){return 0},wc=function(){return"/"},Tc=function(e){},Ec={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};Ic=!0,Ac=Oe,Nc=[];Oc={},Pc=!1,Cc={};Lc=Oe,jc=Oe,Bn=function(){return{}},Bc=Bn,Dc=Bn,Uc=Oe,Mc=Oe,vc=Oe,Vc={};qc={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Gc=Oe,Wc=Oe;Hc=Oe,Jc=Oe,Kc=Oe,Qc=Oe,Yc=Oe,Xc=void 0,Zc=void 0,ep=void 0,tp=Oe,rp=2,ip=1,np="/bin/usr/node",sp=9229,ap="node",op=[],up=Oe,gt={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};gt.now===void 0&&(Oo=Date.now(),gt.timing&>.timing.navigationStart&&(Oo=gt.timing.navigationStart),gt.now=()=>Date.now()-Oo);Po=1e9;jn.bigint=function(e){var t=jn(e);return typeof BigInt>"u"?t[0]*Po+t[1]:BigInt(t[0]*Po)+BigInt(t[1])};pp=10,lp={},fp=0;mp=st,dp=st,hp=st,yp=st,gp=st,bp=Oe,xp=st,Sp=st;Tp={version:yc,versions:gc,arch:lc,platform:fc,browser:Ic,release:Ec,_rawDebug:Ac,moduleLoadList:Nc,binding:xc,_linkedBinding:Rc,_events:lp,_eventsCount:fp,_maxListeners:pp,on:st,addListener:mp,once:dp,off:hp,removeListener:yp,removeAllListeners:gp,emit:bp,prependListener:xp,prependOnceListener:Sp,listeners:wp,domain:Oc,_exiting:Pc,config:Cc,dlopen:_c,uptime:cp,_getActiveRequests:kc,_getActiveHandles:Fc,reallyExit:Lc,_kill:jc,cpuUsage:Bn,resourceUsage:Bc,memoryUsage:Dc,kill:Uc,exit:Mc,openStdin:vc,allowedNodeEnvironmentFlags:Vc,assert:zc,features:qc,_fatalExceptions:Gc,setUncaughtExceptionCaptureCallback:Wc,hasUncaughtExceptionCaptureCallback:$c,emitWarning:bc,nextTick:uc,_tickCallback:Hc,_debugProcess:Jc,_debugEnd:Kc,_startProfilerIdleNotifier:Qc,_stopProfilerIdleNotifier:Yc,stdout:Xc,stdin:ep,stderr:Zc,abort:tp,umask:Sc,chdir:Tc,cwd:wc,env:mc,title:pc,argv:dc,execArgv:hc,pid:rp,ppid:ip,execPath:np,debugPort:sp,hrtime:jn,argv0:ap,_preload_modules:op,setSourceMapsEnabled:up}});var s=ar(()=>{"use strict";Ep()});function md(){if(Ip)return Oi;Ip=!0,Oi.byteLength=x,Oi.toByteArray=I,Oi.fromByteArray=L;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,c=i.length;o<c;++o)e[o]=i[o],t[i.charCodeAt(o)]=o;t[45]=62,t[95]=63;function l(R){var j=R.length;if(j%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var M=R.indexOf("=");M===-1&&(M=j);var D=M===j?0:4-M%4;return[M,D]}function x(R){var j=l(R),M=j[0],D=j[1];return(M+D)*3/4-D}function w(R,j,M){return(j+M)*3/4-M}function I(R){var j,M=l(R),D=M[0],G=M[1],Q=new r(w(R,D,G)),oe=0,X=G>0?D-4:D,K;for(K=0;K<X;K+=4)j=t[R.charCodeAt(K)]<<18|t[R.charCodeAt(K+1)]<<12|t[R.charCodeAt(K+2)]<<6|t[R.charCodeAt(K+3)],Q[oe++]=j>>16&255,Q[oe++]=j>>8&255,Q[oe++]=j&255;return G===2&&(j=t[R.charCodeAt(K)]<<2|t[R.charCodeAt(K+1)]>>4,Q[oe++]=j&255),G===1&&(j=t[R.charCodeAt(K)]<<10|t[R.charCodeAt(K+1)]<<4|t[R.charCodeAt(K+2)]>>2,Q[oe++]=j>>8&255,Q[oe++]=j&255),Q}function A(R){return e[R>>18&63]+e[R>>12&63]+e[R>>6&63]+e[R&63]}function P(R,j,M){for(var D,G=[],Q=j;Q<M;Q+=3)D=(R[Q]<<16&16711680)+(R[Q+1]<<8&65280)+(R[Q+2]&255),G.push(A(D));return G.join("")}function L(R){for(var j,M=R.length,D=M%3,G=[],Q=16383,oe=0,X=M-D;oe<X;oe+=Q)G.push(P(R,oe,oe+Q>X?X:oe+Q));return D===1?(j=R[M-1],G.push(e[j>>2]+e[j<<4&63]+"==")):D===2&&(j=(R[M-2]<<8)+R[M-1],G.push(e[j>>10]+e[j>>4&63]+e[j<<2&63]+"=")),G.join("")}return Oi}function dd(){if(Ap)return Dn;Ap=!0;return Dn.read=function(e,t,r,i,o){var c,l,x=o*8-i-1,w=(1<<x)-1,I=w>>1,A=-7,P=r?o-1:0,L=r?-1:1,R=e[t+P];for(P+=L,c=R&(1<<-A)-1,R>>=-A,A+=x;A>0;c=c*256+e[t+P],P+=L,A-=8);for(l=c&(1<<-A)-1,c>>=-A,A+=i;A>0;l=l*256+e[t+P],P+=L,A-=8);if(c===0)c=1-I;else{if(c===w)return l?NaN:(R?-1:1)*(1/0);l=l+Math.pow(2,i),c=c-I}return(R?-1:1)*l*Math.pow(2,c-i)},Dn.write=function(e,t,r,i,o,c){var l,x,w,I=c*8-o-1,A=(1<<I)-1,P=A>>1,L=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,R=i?0:c-1,j=i?1:-1,M=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(x=isNaN(t)?1:0,l=A):(l=Math.floor(Math.log(t)/Math.LN2),t*(w=Math.pow(2,-l))<1&&(l--,w*=2),l+P>=1?t+=L/w:t+=L*Math.pow(2,1-P),t*w>=2&&(l++,w/=2),l+P>=A?(x=0,l=A):l+P>=1?(x=(t*w-1)*Math.pow(2,o),l=l+P):(x=t*Math.pow(2,P-1)*Math.pow(2,o),l=0));o>=8;e[r+R]=x&255,R+=j,x/=256,o-=8);for(l=l<<o|x,I+=o;I>0;e[r+R]=l&255,R+=j,l/=256,I-=8);e[r+R-j]|=M*128},Dn}function Rp(){if(Np)return Gt;Np=!0;let e=md(),t=dd(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Gt.Buffer=l,Gt.SlowBuffer=G,Gt.INSPECT_MAX_BYTES=50;let i=2147483647;Gt.kMaxLength=i,l.TYPED_ARRAY_SUPPORT=o(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function o(){try{let g=new Uint8Array(1),u={foo:function(){return 42}};return Object.setPrototypeOf(u,Uint8Array.prototype),Object.setPrototypeOf(g,u),g.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function c(g){if(g>i)throw new RangeError('The value "'+g+'" is invalid for option "size"');let u=new Uint8Array(g);return Object.setPrototypeOf(u,l.prototype),u}function l(g,u,h){if(typeof g=="number"){if(typeof u=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return A(g)}return x(g,u,h)}l.poolSize=8192;function x(g,u,h){if(typeof g=="string")return P(g,u);if(ArrayBuffer.isView(g))return R(g);if(g==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g);if(et(g,ArrayBuffer)||g&&et(g.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(et(g,SharedArrayBuffer)||g&&et(g.buffer,SharedArrayBuffer)))return j(g,u,h);if(typeof g=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let S=g.valueOf&&g.valueOf();if(S!=null&&S!==g)return l.from(S,u,h);let T=M(g);if(T)return T;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof g[Symbol.toPrimitive]=="function")return l.from(g[Symbol.toPrimitive]("string"),u,h);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g)}l.from=function(g,u,h){return x(g,u,h)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function w(g){if(typeof g!="number")throw new TypeError('"size" argument must be of type number');if(g<0)throw new RangeError('The value "'+g+'" is invalid for option "size"')}function I(g,u,h){return w(g),g<=0?c(g):u!==void 0?typeof h=="string"?c(g).fill(u,h):c(g).fill(u):c(g)}l.alloc=function(g,u,h){return I(g,u,h)};function A(g){return w(g),c(g<0?0:D(g)|0)}l.allocUnsafe=function(g){return A(g)},l.allocUnsafeSlow=function(g){return A(g)};function P(g,u){if((typeof u!="string"||u==="")&&(u="utf8"),!l.isEncoding(u))throw new TypeError("Unknown encoding: "+u);let h=Q(g,u)|0,S=c(h),T=S.write(g,u);return T!==h&&(S=S.slice(0,T)),S}function L(g){let u=g.length<0?0:D(g.length)|0,h=c(u);for(let S=0;S<u;S+=1)h[S]=g[S]&255;return h}function R(g){if(et(g,Uint8Array)){let u=new Uint8Array(g);return j(u.buffer,u.byteOffset,u.byteLength)}return L(g)}function j(g,u,h){if(u<0||g.byteLength<u)throw new RangeError('"offset" is outside of buffer bounds');if(g.byteLength<u+(h||0))throw new RangeError('"length" is outside of buffer bounds');let S;return u===void 0&&h===void 0?S=new Uint8Array(g):h===void 0?S=new Uint8Array(g,u):S=new Uint8Array(g,u,h),Object.setPrototypeOf(S,l.prototype),S}function M(g){if(l.isBuffer(g)){let u=D(g.length)|0,h=c(u);return h.length===0||g.copy(h,0,0,u),h}if(g.length!==void 0)return typeof g.length!="number"||Ro(g.length)?c(0):L(g);if(g.type==="Buffer"&&Array.isArray(g.data))return L(g.data)}function D(g){if(g>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return g|0}function G(g){return+g!=g&&(g=0),l.alloc(+g)}l.isBuffer=function(u){return u!=null&&u._isBuffer===!0&&u!==l.prototype},l.compare=function(u,h){if(et(u,Uint8Array)&&(u=l.from(u,u.offset,u.byteLength)),et(h,Uint8Array)&&(h=l.from(h,h.offset,h.byteLength)),!l.isBuffer(u)||!l.isBuffer(h))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(u===h)return 0;let S=u.length,T=h.length;for(let N=0,_=Math.min(S,T);N<_;++N)if(u[N]!==h[N]){S=u[N],T=h[N];break}return S<T?-1:T<S?1:0},l.isEncoding=function(u){switch(String(u).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(u,h){if(!Array.isArray(u))throw new TypeError('"list" argument must be an Array of Buffers');if(u.length===0)return l.alloc(0);let S;if(h===void 0)for(h=0,S=0;S<u.length;++S)h+=u[S].length;let T=l.allocUnsafe(h),N=0;for(S=0;S<u.length;++S){let _=u[S];if(et(_,Uint8Array))N+_.length>T.length?(l.isBuffer(_)||(_=l.from(_)),_.copy(T,N)):Uint8Array.prototype.set.call(T,_,N);else if(l.isBuffer(_))_.copy(T,N);else throw new TypeError('"list" argument must be an Array of Buffers');N+=_.length}return T};function Q(g,u){if(l.isBuffer(g))return g.length;if(ArrayBuffer.isView(g)||et(g,ArrayBuffer))return g.byteLength;if(typeof g!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof g);let h=g.length,S=arguments.length>2&&arguments[2]===!0;if(!S&&h===0)return 0;let T=!1;for(;;)switch(u){case"ascii":case"latin1":case"binary":return h;case"utf8":case"utf-8":return No(g).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h*2;case"hex":return h>>>1;case"base64":return ac(g).length;default:if(T)return S?-1:No(g).length;u=(""+u).toLowerCase(),T=!0}}l.byteLength=Q;function oe(g,u,h){let S=!1;if((u===void 0||u<0)&&(u=0),u>this.length||((h===void 0||h>this.length)&&(h=this.length),h<=0)||(h>>>=0,u>>>=0,h<=u))return"";for(g||(g="utf8");;)switch(g){case"hex":return Ym(this,u,h);case"utf8":case"utf-8":return Yu(this,u,h);case"ascii":return Km(this,u,h);case"latin1":case"binary":return Qm(this,u,h);case"base64":return Hm(this,u,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xm(this,u,h);default:if(S)throw new TypeError("Unknown encoding: "+g);g=(g+"").toLowerCase(),S=!0}}l.prototype._isBuffer=!0;function X(g,u,h){let S=g[u];g[u]=g[h],g[h]=S}l.prototype.swap16=function(){let u=this.length;if(u%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let h=0;h<u;h+=2)X(this,h,h+1);return this},l.prototype.swap32=function(){let u=this.length;if(u%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let h=0;h<u;h+=4)X(this,h,h+3),X(this,h+1,h+2);return this},l.prototype.swap64=function(){let u=this.length;if(u%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let h=0;h<u;h+=8)X(this,h,h+7),X(this,h+1,h+6),X(this,h+2,h+5),X(this,h+3,h+4);return this},l.prototype.toString=function(){let u=this.length;return u===0?"":arguments.length===0?Yu(this,0,u):oe.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(u){if(!l.isBuffer(u))throw new TypeError("Argument must be a Buffer");return this===u?!0:l.compare(this,u)===0},l.prototype.inspect=function(){let u="",h=Gt.INSPECT_MAX_BYTES;return u=this.toString("hex",0,h).replace(/(.{2})/g,"$1 ").trim(),this.length>h&&(u+=" ... "),"<Buffer "+u+">"},r&&(l.prototype[r]=l.prototype.inspect),l.prototype.compare=function(u,h,S,T,N){if(et(u,Uint8Array)&&(u=l.from(u,u.offset,u.byteLength)),!l.isBuffer(u))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof u);if(h===void 0&&(h=0),S===void 0&&(S=u?u.length:0),T===void 0&&(T=0),N===void 0&&(N=this.length),h<0||S>u.length||T<0||N>this.length)throw new RangeError("out of range index");if(T>=N&&h>=S)return 0;if(T>=N)return-1;if(h>=S)return 1;if(h>>>=0,S>>>=0,T>>>=0,N>>>=0,this===u)return 0;let _=N-T,Z=S-h,he=Math.min(_,Z),fe=this.slice(T,N),ye=u.slice(h,S);for(let le=0;le<he;++le)if(fe[le]!==ye[le]){_=fe[le],Z=ye[le];break}return _<Z?-1:Z<_?1:0};function K(g,u,h,S,T){if(g.length===0)return-1;if(typeof h=="string"?(S=h,h=0):h>2147483647?h=2147483647:h<-2147483648&&(h=-2147483648),h=+h,Ro(h)&&(h=T?0:g.length-1),h<0&&(h=g.length+h),h>=g.length){if(T)return-1;h=g.length-1}else if(h<0)if(T)h=0;else return-1;if(typeof u=="string"&&(u=l.from(u,S)),l.isBuffer(u))return u.length===0?-1:C(g,u,h,S,T);if(typeof u=="number")return u=u&255,typeof Uint8Array.prototype.indexOf=="function"?T?Uint8Array.prototype.indexOf.call(g,u,h):Uint8Array.prototype.lastIndexOf.call(g,u,h):C(g,[u],h,S,T);throw new TypeError("val must be string, number or Buffer")}function C(g,u,h,S,T){let N=1,_=g.length,Z=u.length;if(S!==void 0&&(S=String(S).toLowerCase(),S==="ucs2"||S==="ucs-2"||S==="utf16le"||S==="utf-16le")){if(g.length<2||u.length<2)return-1;N=2,_/=2,Z/=2,h/=2}function he(ye,le){return N===1?ye[le]:ye.readUInt16BE(le*N)}let fe;if(T){let ye=-1;for(fe=h;fe<_;fe++)if(he(g,fe)===he(u,ye===-1?0:fe-ye)){if(ye===-1&&(ye=fe),fe-ye+1===Z)return ye*N}else ye!==-1&&(fe-=fe-ye),ye=-1}else for(h+Z>_&&(h=_-Z),fe=h;fe>=0;fe--){let ye=!0;for(let le=0;le<Z;le++)if(he(g,fe+le)!==he(u,le)){ye=!1;break}if(ye)return fe}return-1}l.prototype.includes=function(u,h,S){return this.indexOf(u,h,S)!==-1},l.prototype.indexOf=function(u,h,S){return K(this,u,h,S,!0)},l.prototype.lastIndexOf=function(u,h,S){return K(this,u,h,S,!1)};function U(g,u,h,S){h=Number(h)||0;let T=g.length-h;S?(S=Number(S),S>T&&(S=T)):S=T;let N=u.length;S>N/2&&(S=N/2);let _;for(_=0;_<S;++_){let Z=parseInt(u.substr(_*2,2),16);if(Ro(Z))return _;g[h+_]=Z}return _}function re(g,u,h,S){return kn(No(u,g.length-h),g,h,S)}function He(g,u,h,S){return kn(rd(u),g,h,S)}function Ai(g,u,h,S){return kn(ac(u),g,h,S)}function Ni(g,u,h,S){return kn(id(u,g.length-h),g,h,S)}l.prototype.write=function(u,h,S,T){if(h===void 0)T="utf8",S=this.length,h=0;else if(S===void 0&&typeof h=="string")T=h,S=this.length,h=0;else if(isFinite(h))h=h>>>0,isFinite(S)?(S=S>>>0,T===void 0&&(T="utf8")):(T=S,S=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let N=this.length-h;if((S===void 0||S>N)&&(S=N),u.length>0&&(S<0||h<0)||h>this.length)throw new RangeError("Attempt to write outside buffer bounds");T||(T="utf8");let _=!1;for(;;)switch(T){case"hex":return U(this,u,h,S);case"utf8":case"utf-8":return re(this,u,h,S);case"ascii":case"latin1":case"binary":return He(this,u,h,S);case"base64":return Ai(this,u,h,S);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ni(this,u,h,S);default:if(_)throw new TypeError("Unknown encoding: "+T);T=(""+T).toLowerCase(),_=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Hm(g,u,h){return u===0&&h===g.length?e.fromByteArray(g):e.fromByteArray(g.slice(u,h))}function Yu(g,u,h){h=Math.min(g.length,h);let S=[],T=u;for(;T<h;){let N=g[T],_=null,Z=N>239?4:N>223?3:N>191?2:1;if(T+Z<=h){let he,fe,ye,le;switch(Z){case 1:N<128&&(_=N);break;case 2:he=g[T+1],(he&192)===128&&(le=(N&31)<<6|he&63,le>127&&(_=le));break;case 3:he=g[T+1],fe=g[T+2],(he&192)===128&&(fe&192)===128&&(le=(N&15)<<12|(he&63)<<6|fe&63,le>2047&&(le<55296||le>57343)&&(_=le));break;case 4:he=g[T+1],fe=g[T+2],ye=g[T+3],(he&192)===128&&(fe&192)===128&&(ye&192)===128&&(le=(N&15)<<18|(he&63)<<12|(fe&63)<<6|ye&63,le>65535&&le<1114112&&(_=le))}}_===null?(_=65533,Z=1):_>65535&&(_-=65536,S.push(_>>>10&1023|55296),_=56320|_&1023),S.push(_),T+=Z}return Jm(S)}let Xu=4096;function Jm(g){let u=g.length;if(u<=Xu)return String.fromCharCode.apply(String,g);let h="",S=0;for(;S<u;)h+=String.fromCharCode.apply(String,g.slice(S,S+=Xu));return h}function Km(g,u,h){let S="";h=Math.min(g.length,h);for(let T=u;T<h;++T)S+=String.fromCharCode(g[T]&127);return S}function Qm(g,u,h){let S="";h=Math.min(g.length,h);for(let T=u;T<h;++T)S+=String.fromCharCode(g[T]);return S}function Ym(g,u,h){let S=g.length;(!u||u<0)&&(u=0),(!h||h<0||h>S)&&(h=S);let T="";for(let N=u;N<h;++N)T+=nd[g[N]];return T}function Xm(g,u,h){let S=g.slice(u,h),T="";for(let N=0;N<S.length-1;N+=2)T+=String.fromCharCode(S[N]+S[N+1]*256);return T}l.prototype.slice=function(u,h){let S=this.length;u=~~u,h=h===void 0?S:~~h,u<0?(u+=S,u<0&&(u=0)):u>S&&(u=S),h<0?(h+=S,h<0&&(h=0)):h>S&&(h=S),h<u&&(h=u);let T=this.subarray(u,h);return Object.setPrototypeOf(T,l.prototype),T};function be(g,u,h){if(g%1!==0||g<0)throw new RangeError("offset is not uint");if(g+u>h)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=this[u],N=1,_=0;for(;++_<h&&(N*=256);)T+=this[u+_]*N;return T},l.prototype.readUintBE=l.prototype.readUIntBE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=this[u+--h],N=1;for(;h>0&&(N*=256);)T+=this[u+--h]*N;return T},l.prototype.readUint8=l.prototype.readUInt8=function(u,h){return u=u>>>0,h||be(u,1,this.length),this[u]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(u,h){return u=u>>>0,h||be(u,2,this.length),this[u]|this[u+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(u,h){return u=u>>>0,h||be(u,2,this.length),this[u]<<8|this[u+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(u,h){return u=u>>>0,h||be(u,4,this.length),(this[u]|this[u+1]<<8|this[u+2]<<16)+this[u+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(u,h){return u=u>>>0,h||be(u,4,this.length),this[u]*16777216+(this[u+1]<<16|this[u+2]<<8|this[u+3])},l.prototype.readBigUInt64LE=yt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Ri(u,this.length-8);let T=h+this[++u]*2**8+this[++u]*2**16+this[++u]*2**24,N=this[++u]+this[++u]*2**8+this[++u]*2**16+S*2**24;return BigInt(T)+(BigInt(N)<<BigInt(32))}),l.prototype.readBigUInt64BE=yt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Ri(u,this.length-8);let T=h*2**24+this[++u]*2**16+this[++u]*2**8+this[++u],N=this[++u]*2**24+this[++u]*2**16+this[++u]*2**8+S;return(BigInt(T)<<BigInt(32))+BigInt(N)}),l.prototype.readIntLE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=this[u],N=1,_=0;for(;++_<h&&(N*=256);)T+=this[u+_]*N;return N*=128,T>=N&&(T-=Math.pow(2,8*h)),T},l.prototype.readIntBE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=h,N=1,_=this[u+--T];for(;T>0&&(N*=256);)_+=this[u+--T]*N;return N*=128,_>=N&&(_-=Math.pow(2,8*h)),_},l.prototype.readInt8=function(u,h){return u=u>>>0,h||be(u,1,this.length),this[u]&128?(255-this[u]+1)*-1:this[u]},l.prototype.readInt16LE=function(u,h){u=u>>>0,h||be(u,2,this.length);let S=this[u]|this[u+1]<<8;return S&32768?S|4294901760:S},l.prototype.readInt16BE=function(u,h){u=u>>>0,h||be(u,2,this.length);let S=this[u+1]|this[u]<<8;return S&32768?S|4294901760:S},l.prototype.readInt32LE=function(u,h){return u=u>>>0,h||be(u,4,this.length),this[u]|this[u+1]<<8|this[u+2]<<16|this[u+3]<<24},l.prototype.readInt32BE=function(u,h){return u=u>>>0,h||be(u,4,this.length),this[u]<<24|this[u+1]<<16|this[u+2]<<8|this[u+3]},l.prototype.readBigInt64LE=yt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Ri(u,this.length-8);let T=this[u+4]+this[u+5]*2**8+this[u+6]*2**16+(S<<24);return(BigInt(T)<<BigInt(32))+BigInt(h+this[++u]*2**8+this[++u]*2**16+this[++u]*2**24)}),l.prototype.readBigInt64BE=yt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Ri(u,this.length-8);let T=(h<<24)+this[++u]*2**16+this[++u]*2**8+this[++u];return(BigInt(T)<<BigInt(32))+BigInt(this[++u]*2**24+this[++u]*2**16+this[++u]*2**8+S)}),l.prototype.readFloatLE=function(u,h){return u=u>>>0,h||be(u,4,this.length),t.read(this,u,!0,23,4)},l.prototype.readFloatBE=function(u,h){return u=u>>>0,h||be(u,4,this.length),t.read(this,u,!1,23,4)},l.prototype.readDoubleLE=function(u,h){return u=u>>>0,h||be(u,8,this.length),t.read(this,u,!0,52,8)},l.prototype.readDoubleBE=function(u,h){return u=u>>>0,h||be(u,8,this.length),t.read(this,u,!1,52,8)};function Fe(g,u,h,S,T,N){if(!l.isBuffer(g))throw new TypeError('"buffer" argument must be a Buffer instance');if(u>T||u<N)throw new RangeError('"value" argument is out of bounds');if(h+S>g.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(u,h,S,T){if(u=+u,h=h>>>0,S=S>>>0,!T){let Z=Math.pow(2,8*S)-1;Fe(this,u,h,S,Z,0)}let N=1,_=0;for(this[h]=u&255;++_<S&&(N*=256);)this[h+_]=u/N&255;return h+S},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(u,h,S,T){if(u=+u,h=h>>>0,S=S>>>0,!T){let Z=Math.pow(2,8*S)-1;Fe(this,u,h,S,Z,0)}let N=S-1,_=1;for(this[h+N]=u&255;--N>=0&&(_*=256);)this[h+N]=u/_&255;return h+S},l.prototype.writeUint8=l.prototype.writeUInt8=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,1,255,0),this[h]=u&255,h+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,65535,0),this[h]=u&255,this[h+1]=u>>>8,h+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,65535,0),this[h]=u>>>8,this[h+1]=u&255,h+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,4294967295,0),this[h+3]=u>>>24,this[h+2]=u>>>16,this[h+1]=u>>>8,this[h]=u&255,h+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,4294967295,0),this[h]=u>>>24,this[h+1]=u>>>16,this[h+2]=u>>>8,this[h+3]=u&255,h+4};function Zu(g,u,h,S,T){sc(u,S,T,g,h,7);let N=Number(u&BigInt(4294967295));g[h++]=N,N=N>>8,g[h++]=N,N=N>>8,g[h++]=N,N=N>>8,g[h++]=N;let _=Number(u>>BigInt(32)&BigInt(4294967295));return g[h++]=_,_=_>>8,g[h++]=_,_=_>>8,g[h++]=_,_=_>>8,g[h++]=_,h}function ec(g,u,h,S,T){sc(u,S,T,g,h,7);let N=Number(u&BigInt(4294967295));g[h+7]=N,N=N>>8,g[h+6]=N,N=N>>8,g[h+5]=N,N=N>>8,g[h+4]=N;let _=Number(u>>BigInt(32)&BigInt(4294967295));return g[h+3]=_,_=_>>8,g[h+2]=_,_=_>>8,g[h+1]=_,_=_>>8,g[h]=_,h+8}l.prototype.writeBigUInt64LE=yt(function(u,h=0){return Zu(this,u,h,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=yt(function(u,h=0){return ec(this,u,h,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(u,h,S,T){if(u=+u,h=h>>>0,!T){let he=Math.pow(2,8*S-1);Fe(this,u,h,S,he-1,-he)}let N=0,_=1,Z=0;for(this[h]=u&255;++N<S&&(_*=256);)u<0&&Z===0&&this[h+N-1]!==0&&(Z=1),this[h+N]=(u/_>>0)-Z&255;return h+S},l.prototype.writeIntBE=function(u,h,S,T){if(u=+u,h=h>>>0,!T){let he=Math.pow(2,8*S-1);Fe(this,u,h,S,he-1,-he)}let N=S-1,_=1,Z=0;for(this[h+N]=u&255;--N>=0&&(_*=256);)u<0&&Z===0&&this[h+N+1]!==0&&(Z=1),this[h+N]=(u/_>>0)-Z&255;return h+S},l.prototype.writeInt8=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,1,127,-128),u<0&&(u=255+u+1),this[h]=u&255,h+1},l.prototype.writeInt16LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,32767,-32768),this[h]=u&255,this[h+1]=u>>>8,h+2},l.prototype.writeInt16BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,32767,-32768),this[h]=u>>>8,this[h+1]=u&255,h+2},l.prototype.writeInt32LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,2147483647,-2147483648),this[h]=u&255,this[h+1]=u>>>8,this[h+2]=u>>>16,this[h+3]=u>>>24,h+4},l.prototype.writeInt32BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,2147483647,-2147483648),u<0&&(u=4294967295+u+1),this[h]=u>>>24,this[h+1]=u>>>16,this[h+2]=u>>>8,this[h+3]=u&255,h+4},l.prototype.writeBigInt64LE=yt(function(u,h=0){return Zu(this,u,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=yt(function(u,h=0){return ec(this,u,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function tc(g,u,h,S,T,N){if(h+S>g.length)throw new RangeError("Index out of range");if(h<0)throw new RangeError("Index out of range")}function rc(g,u,h,S,T){return u=+u,h=h>>>0,T||tc(g,u,h,4),t.write(g,u,h,S,23,4),h+4}l.prototype.writeFloatLE=function(u,h,S){return rc(this,u,h,!0,S)},l.prototype.writeFloatBE=function(u,h,S){return rc(this,u,h,!1,S)};function ic(g,u,h,S,T){return u=+u,h=h>>>0,T||tc(g,u,h,8),t.write(g,u,h,S,52,8),h+8}l.prototype.writeDoubleLE=function(u,h,S){return ic(this,u,h,!0,S)},l.prototype.writeDoubleBE=function(u,h,S){return ic(this,u,h,!1,S)},l.prototype.copy=function(u,h,S,T){if(!l.isBuffer(u))throw new TypeError("argument should be a Buffer");if(S||(S=0),!T&&T!==0&&(T=this.length),h>=u.length&&(h=u.length),h||(h=0),T>0&&T<S&&(T=S),T===S||u.length===0||this.length===0)return 0;if(h<0)throw new RangeError("targetStart out of bounds");if(S<0||S>=this.length)throw new RangeError("Index out of range");if(T<0)throw new RangeError("sourceEnd out of bounds");T>this.length&&(T=this.length),u.length-h<T-S&&(T=u.length-h+S);let N=T-S;return this===u&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(h,S,T):Uint8Array.prototype.set.call(u,this.subarray(S,T),h),N},l.prototype.fill=function(u,h,S,T){if(typeof u=="string"){if(typeof h=="string"?(T=h,h=0,S=this.length):typeof S=="string"&&(T=S,S=this.length),T!==void 0&&typeof T!="string")throw new TypeError("encoding must be a string");if(typeof T=="string"&&!l.isEncoding(T))throw new TypeError("Unknown encoding: "+T);if(u.length===1){let _=u.charCodeAt(0);(T==="utf8"&&_<128||T==="latin1")&&(u=_)}}else typeof u=="number"?u=u&255:typeof u=="boolean"&&(u=Number(u));if(h<0||this.length<h||this.length<S)throw new RangeError("Out of range index");if(S<=h)return this;h=h>>>0,S=S===void 0?this.length:S>>>0,u||(u=0);let N;if(typeof u=="number")for(N=h;N<S;++N)this[N]=u;else{let _=l.isBuffer(u)?u:l.from(u,T),Z=_.length;if(Z===0)throw new TypeError('The value "'+u+'" is invalid for argument "value"');for(N=0;N<S-h;++N)this[N+h]=_[N%Z]}return this};let nr={};function Ao(g,u,h){nr[g]=class extends h{constructor(){super(),Object.defineProperty(this,"message",{value:u.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${g}]`,this.stack,delete this.name}get code(){return g}set code(T){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:T,writable:!0})}toString(){return`${this.name} [${g}]: ${this.message}`}}}Ao("ERR_BUFFER_OUT_OF_BOUNDS",function(g){return g?`${g} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Ao("ERR_INVALID_ARG_TYPE",function(g,u){return`The "${g}" argument must be of type number. Received type ${typeof u}`},TypeError),Ao("ERR_OUT_OF_RANGE",function(g,u,h){let S=`The value of "${g}" is out of range.`,T=h;return Number.isInteger(h)&&Math.abs(h)>2**32?T=nc(String(h)):typeof h=="bigint"&&(T=String(h),(h>BigInt(2)**BigInt(32)||h<-(BigInt(2)**BigInt(32)))&&(T=nc(T)),T+="n"),S+=` It must be ${u}. Received ${T}`,S},RangeError);function nc(g){let u="",h=g.length,S=g[0]==="-"?1:0;for(;h>=S+4;h-=3)u=`_${g.slice(h-3,h)}${u}`;return`${g.slice(0,h)}${u}`}function Zm(g,u,h){sr(u,"offset"),(g[u]===void 0||g[u+h]===void 0)&&Ri(u,g.length-(h+1))}function sc(g,u,h,S,T,N){if(g>h||g<u){let _=typeof u=="bigint"?"n":"",Z;throw u===0||u===BigInt(0)?Z=`>= 0${_} and < 2${_} ** ${(N+1)*8}${_}`:Z=`>= -(2${_} ** ${(N+1)*8-1}${_}) and < 2 ** ${(N+1)*8-1}${_}`,new nr.ERR_OUT_OF_RANGE("value",Z,g)}Zm(S,T,N)}function sr(g,u){if(typeof g!="number")throw new nr.ERR_INVALID_ARG_TYPE(u,"number",g)}function Ri(g,u,h){throw Math.floor(g)!==g?(sr(g,h),new nr.ERR_OUT_OF_RANGE("offset","an integer",g)):u<0?new nr.ERR_BUFFER_OUT_OF_BOUNDS:new nr.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${u}`,g)}let ed=/[^+/0-9A-Za-z-_]/g;function td(g){if(g=g.split("=")[0],g=g.trim().replace(ed,""),g.length<2)return"";for(;g.length%4!==0;)g=g+"=";return g}function No(g,u){u=u||1/0;let h,S=g.length,T=null,N=[];for(let _=0;_<S;++_){if(h=g.charCodeAt(_),h>55295&&h<57344){if(!T){if(h>56319){(u-=3)>-1&&N.push(239,191,189);continue}else if(_+1===S){(u-=3)>-1&&N.push(239,191,189);continue}T=h;continue}if(h<56320){(u-=3)>-1&&N.push(239,191,189),T=h;continue}h=(T-55296<<10|h-56320)+65536}else T&&(u-=3)>-1&&N.push(239,191,189);if(T=null,h<128){if((u-=1)<0)break;N.push(h)}else if(h<2048){if((u-=2)<0)break;N.push(h>>6|192,h&63|128)}else if(h<65536){if((u-=3)<0)break;N.push(h>>12|224,h>>6&63|128,h&63|128)}else if(h<1114112){if((u-=4)<0)break;N.push(h>>18|240,h>>12&63|128,h>>6&63|128,h&63|128)}else throw new Error("Invalid code point")}return N}function rd(g){let u=[];for(let h=0;h<g.length;++h)u.push(g.charCodeAt(h)&255);return u}function id(g,u){let h,S,T,N=[];for(let _=0;_<g.length&&!((u-=2)<0);++_)h=g.charCodeAt(_),S=h>>8,T=h%256,N.push(T),N.push(S);return N}function ac(g){return e.toByteArray(td(g))}function kn(g,u,h,S){let T;for(T=0;T<S&&!(T+h>=u.length||T>=g.length);++T)u[T+h]=g[T];return T}function et(g,u){return g instanceof u||g!=null&&g.constructor!=null&&g.constructor.name!=null&&g.constructor.name===u.name}function Ro(g){return g!==g}let nd=(function(){let g="0123456789abcdef",u=new Array(256);for(let h=0;h<16;++h){let S=h*16;for(let T=0;T<16;++T)u[S+T]=g[h]+g[T]}return u})();function yt(g){return typeof BigInt>"u"?sd:g}function sd(){throw new Error("BigInt not supported")}return Gt}var Oi,Ip,Dn,Ap,Gt,Np,Op=ar(()=>{"use strict";n();a();s();Oi={},Ip=!1;Dn={},Ap=!1;Gt={},Np=!1});var Wt,m,ng,sg,Pp=ar(()=>{"use strict";n();a();s();Op();Wt=Rp();Wt.Buffer;Wt.SlowBuffer;Wt.INSPECT_MAX_BYTES;Wt.kMaxLength;m=Wt.Buffer,ng=Wt.INSPECT_MAX_BYTES,sg=Wt.kMaxLength});var a=ar(()=>{"use strict";Pp()});var Wy={};z(Wy,{DynamicSnippetsGenerator:()=>Io});module.exports=ld(Wy);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 hd=typeof global=="object"&&global&&global.Object===Object&&global,Cp=hd;var yd=typeof self=="object"&&self&&self.Object===Object&&self,gd=Cp||yd||Function("return this")(),_p=gd;var bd=_p.Symbol,at=bd;n();a();s();var kp=Object.prototype,xd=kp.hasOwnProperty,Sd=kp.toString,Pi=at?at.toStringTag:void 0;function wd(e){var t=xd.call(e,Pi),r=e[Pi];try{e[Pi]=void 0;var i=!0}catch{}var o=Sd.call(e);return i&&(t?e[Pi]=r:delete e[Pi]),o}var Fp=wd;n();a();s();var Td=Object.prototype,Ed=Td.toString;function Id(e){return Ed.call(e)}var Lp=Id;var Ad="[object Null]",Nd="[object Undefined]",jp=at?at.toStringTag:void 0;function Rd(e){return e==null?e===void 0?Nd:Ad:jp&&jp in Object(e)?Fp(e):Lp(e)}var Bp=Rd;n();a();s();function Od(e){return e!=null&&typeof e=="object"}var Dp=Od;var Pd="[object Symbol]";function Cd(e){return typeof e=="symbol"||Dp(e)&&Bp(e)==Pd}var Up=Cd;n();a();s();n();a();s();function _d(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 Mp=_d;n();a();s();var kd=Array.isArray,vp=kd;var Fd=1/0,Vp=at?at.prototype:void 0,zp=Vp?Vp.toString:void 0;function qp(e){if(typeof e=="string")return e;if(vp(e))return Mp(e,qp)+"";if(Up(e))return zp?zp.call(e):"";var t=e+"";return t=="0"&&1/e==-Fd?"-0":t}var Gp=qp;n();a();s();function Ld(e){return e==null?"":Gp(e)}var bt=Ld;n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();function jd(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 Wp=jd;function Bd(e,t,r){var i=e.length;return r=r===void 0?i:r,!t&&r>=i?e:Wp(e,t,r)}var $p=Bd;n();a();s();var Dd="\\ud800-\\udfff",Ud="\\u0300-\\u036f",Md="\\ufe20-\\ufe2f",vd="\\u20d0-\\u20ff",Vd=Ud+Md+vd,zd="\\ufe0e\\ufe0f",qd="\\u200d",Gd=RegExp("["+qd+Dd+Vd+zd+"]");function Wd(e){return Gd.test(e)}var Un=Wd;n();a();s();n();a();s();function $d(e){return e.split("")}var Hp=$d;n();a();s();var Jp="\\ud800-\\udfff",Hd="\\u0300-\\u036f",Jd="\\ufe20-\\ufe2f",Kd="\\u20d0-\\u20ff",Qd=Hd+Jd+Kd,Yd="\\ufe0e\\ufe0f",Xd="["+Jp+"]",_o="["+Qd+"]",ko="\\ud83c[\\udffb-\\udfff]",Zd="(?:"+_o+"|"+ko+")",Kp="[^"+Jp+"]",Qp="(?:\\ud83c[\\udde6-\\uddff]){2}",Yp="[\\ud800-\\udbff][\\udc00-\\udfff]",e0="\\u200d",Xp=Zd+"?",Zp="["+Yd+"]?",t0="(?:"+e0+"(?:"+[Kp,Qp,Yp].join("|")+")"+Zp+Xp+")*",r0=Zp+Xp+t0,i0="(?:"+[Kp+_o+"?",_o,Qp,Yp,Xd].join("|")+")",n0=RegExp(ko+"(?="+ko+")|"+i0+r0,"g");function s0(e){return e.match(n0)||[]}var el=s0;function a0(e){return Un(e)?el(e):Hp(e)}var tl=a0;function o0(e){return function(t){t=bt(t);var r=Un(t)?tl(t):void 0,i=r?r[0]:t.charAt(0),o=r?$p(r,1).join(""):t.slice(1);return i[e]()+o}}var rl=o0;var u0=rl("toUpperCase"),Le=u0;function c0(e){return Le(bt(e).toLowerCase())}var il=c0;n();a();s();n();a();s();function p0(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 nl=p0;n();a();s();n();a();s();n();a();s();function l0(e){return function(t){return e?.[t]}}var sl=l0;var f0={\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"},m0=sl(f0),al=m0;var d0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,h0="\\u0300-\\u036f",y0="\\ufe20-\\ufe2f",g0="\\u20d0-\\u20ff",b0=h0+y0+g0,x0="["+b0+"]",S0=RegExp(x0,"g");function w0(e){return e=bt(e),e&&e.replace(d0,al).replace(S0,"")}var ol=w0;n();a();s();n();a();s();var T0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function E0(e){return e.match(T0)||[]}var ul=E0;n();a();s();var I0=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function A0(e){return I0.test(e)}var cl=A0;n();a();s();var dl="\\ud800-\\udfff",N0="\\u0300-\\u036f",R0="\\ufe20-\\ufe2f",O0="\\u20d0-\\u20ff",P0=N0+R0+O0,hl="\\u2700-\\u27bf",yl="a-z\\xdf-\\xf6\\xf8-\\xff",C0="\\xac\\xb1\\xd7\\xf7",_0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",k0="\\u2000-\\u206f",F0=" \\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",gl="A-Z\\xc0-\\xd6\\xd8-\\xde",L0="\\ufe0e\\ufe0f",bl=C0+_0+k0+F0,xl="['\u2019]",pl="["+bl+"]",j0="["+P0+"]",Sl="\\d+",B0="["+hl+"]",wl="["+yl+"]",Tl="[^"+dl+bl+Sl+hl+yl+gl+"]",D0="\\ud83c[\\udffb-\\udfff]",U0="(?:"+j0+"|"+D0+")",M0="[^"+dl+"]",El="(?:\\ud83c[\\udde6-\\uddff]){2}",Il="[\\ud800-\\udbff][\\udc00-\\udfff]",ur="["+gl+"]",v0="\\u200d",ll="(?:"+wl+"|"+Tl+")",V0="(?:"+ur+"|"+Tl+")",fl="(?:"+xl+"(?:d|ll|m|re|s|t|ve))?",ml="(?:"+xl+"(?:D|LL|M|RE|S|T|VE))?",Al=U0+"?",Nl="["+L0+"]?",z0="(?:"+v0+"(?:"+[M0,El,Il].join("|")+")"+Nl+Al+")*",q0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",G0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",W0=Nl+Al+z0,$0="(?:"+[B0,El,Il].join("|")+")"+W0,H0=RegExp([ur+"?"+wl+"+"+fl+"(?="+[pl,ur,"$"].join("|")+")",V0+"+"+ml+"(?="+[pl,ur+ll,"$"].join("|")+")",ur+"?"+ll+"+"+fl,ur+"+"+ml,G0,q0,Sl,$0].join("|"),"g");function J0(e){return e.match(H0)||[]}var Rl=J0;function K0(e,t,r){return e=bt(e),t=r?void 0:t,t===void 0?cl(e)?Rl(e):ul(e):e.match(t)||[]}var Ci=K0;var Q0="['\u2019]",Y0=RegExp(Q0,"g");function X0(e){return function(t){return nl(Ci(ol(t).replace(Y0,"")),e,"")}}var Mn=X0;var Z0=Mn(function(e,t,r){return t=t.toLowerCase(),e+(r?il(t):t)}),cr=Z0;n();a();s();var eh=Mn(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}),vn=eh;n();a();s();function ue(e){throw new Error("Unexpected value: "+JSON.stringify(e))}n();a();s();function _i(e){return Object.keys(e)}n();a();s();n();a();s();n();a();s();var ki=f.env.FERN_STACK_TRACK?.toLowerCase()??"",je=ki!==""&&ki!=="0"&&ki!=="false",Fo=["single","multiline","box"].includes(ki)?ki:"single";je&&(Error.stackTraceLimit=50);var Ol=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),th=new Set(["stacktrace"]);function Lo(e){je&&Ol.add(e)}function Fi({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:i=[],stopOn:o=[],filterNode:c=!0,filterJs:l=!0,formatFilename:x=w=>w}={}){if(!je)return[];i=[...i,...Ol],r=[...r,...th],o=[...o,"runInteractiveTask"];let w=!1;return(new Error().stack??"").split(`
|
|
2
|
-
`).map(I=>{let A=I.match(/at\s+(.*)\s+\((.*):(\d+):(\d+)\)/);if(A&&A.length===5){let[,P,L,R,j]=A;if(!P||!L||!R||!j)return;if(w||o.some(M=>P?.includes(M))){w=!0;return}switch(P){case"Object.<anonymous>":P="";break;case"Object.object":case"Object.alias":case"Object.union":case"Object.enum":case"Object.undiscriminatedUnion":P=`${P.substring(P.indexOf(".")+1)}()=> { ... }`;break}return{fn:P,path:x(L),position:`${R}:${j}`}}}).filter(I=>I&&!i.some(A=>I.fn.includes(A))&&!(c&&I.path?.startsWith("node:"))&&!(l&&I.path?.endsWith(".js"))&&!r.some(A=>I.path.includes(A))).slice(t,t+e)}function
|
|
3
|
-
`:" > "}${I.fn} - ${I.path}:${I.position}`).join("")}`:""}var
|
|
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}},jo;function Pl({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:i=[],stopOn:o=[],filterNode:c=!0,filterJs:l=!0,multiline:x=!1,formatFilename:w=I=>I}={}){je&&(jo??(jo=new Vn({maxFrames:e,skip:t,filterPaths:r,filterFunctions:i,stopOn:o,filterNode:c,filterJs:l,multiline:x,formatFilename:w})))}function Cl(e){jo?.tag(e)}function ji(e){return jo?.frames(e)??[]}var ot=class{constructor(){Cl(this)}};n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var rh="__package__",e2=`${rh}.yml`;var _l="default-group",kl="spec-origin",Fl="async-api",Ll="openapi",jl="openapi-overrides",Bl="api-settings";var Dl="local";var qe={};z(qe,{API_ORIGIN_LOCATION_KEY:()=>kl,API_SETTINGS_KEY:()=>Bl,ASYNC_API_LOCATION_KEY:()=>Fl,CoerceConstsTo:()=>Zl,DEFAULT_GROUP_GENERATORS_CONFIG_KEY:()=>_l,DEFAULT_GROUP_NAME:()=>Dl,DefaultIntegerFormat:()=>ef,ExampleStyle:()=>tf,FormParameterEncoding:()=>rf,GenerationLanguage:()=>Ul,GithubCommitAndReleaseMode:()=>pf,GithubLicenseType:()=>ff,GithubSelfhostedMode:()=>lf,Language:()=>nf,MessageNamingSettingsSchema:()=>sf,ModelProvider:()=>zl,MultiServerStrategy:()=>af,OPENAPI_LOCATION_KEY:()=>Ll,OPENAPI_OVERRIDES_LOCATION_KEY:()=>jl,PathParameterOrder:()=>of,RemoveDiscriminantsFromSchemas:()=>uf,UnionSettingsSchema:()=>cf,ai:()=>Bo,automation:()=>ql,fernDefinition:()=>Uo,generators:()=>Mo,getPackageName:()=>Ml,group:()=>vo,isApiConfigurationV2Schema:()=>qf,isAsyncApiSpecSchema:()=>Gf,isConjureSchema:()=>Wf,isGraphQLSpecSchema:()=>$f,isNamespacedApiConfiguration:()=>Hf,isOpenApiSpecSchema:()=>Jf,isOpenRpcSpecSchema:()=>Kf,isProtoSpecSchema:()=>Qf,isRawProtobufAPIDefinitionSchema:()=>vl,license:()=>Vo,replay:()=>mf,resolveAutomationConfig:()=>Vl,reviewers:()=>df,serialization:()=>pu});n();a();s();n();a();s();var Ul={TYPESCRIPT:"typescript",JAVA:"java",PYTHON:"python",GO:"go",RUBY:"ruby",CSHARP:"csharp",SWIFT:"swift",PHP:"php",RUST:"rust"};function Ml({generatorInvocation:e}){return e.language==="go"?ih(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 ih(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 vl(e){return typeof e!="string"&&"proto"in e}n();a();s();var zn={generate:!0,upgrade:!0,preview:!0,verify:!0};function Vl({rootAutomation:e,groupAutomation:t,generatorAutomation:r}){return{generate:r?.generate??t?.generate??e?.generate??zn.generate,upgrade:r?.upgrade??t?.upgrade??e?.upgrade??zn.upgrade,preview:r?.preview??t?.preview??e?.preview??zn.preview,verify:r?.verify??t?.verify??e?.verify??zn.verify}}n();a();s();n();a();s();var Bo={};z(Bo,{ModelProvider:()=>zl});n();a();s();n();a();s();var zl={Openai:"openai",Anthropic:"anthropic",Bedrock:"bedrock"};var ql={};n();a();s();var Uo={};z(Uo,{AvailabilityStatusSchema:()=>Wl,auth:()=>Gl,availability:()=>Do,commons:()=>$l,encoding:()=>Hl,environments:()=>Jl,file:()=>Kl,service:()=>Ql,types:()=>Yl,validation:()=>Xl});n();a();s();n();a();s();var Gl={};n();a();s();var Do={};z(Do,{AvailabilityStatusSchema:()=>Wl});n();a();s();n();a();s();var Wl={InDevelopment:"in-development",PreRelease:"pre-release",Deprecated:"deprecated",GenerallyAvailable:"generally-available"};var $l={};n();a();s();var Hl={};n();a();s();var Jl={};n();a();s();var Kl={};n();a();s();var Ql={};n();a();s();var Yl={};n();a();s();var Xl={};n();a();s();var Mo={};z(Mo,{CoerceConstsTo:()=>Zl,DefaultIntegerFormat:()=>ef,ExampleStyle:()=>tf,FormParameterEncoding:()=>rf,Language:()=>nf,MessageNamingSettingsSchema:()=>sf,MultiServerStrategy:()=>af,PathParameterOrder:()=>of,RemoveDiscriminantsFromSchemas:()=>uf,UnionSettingsSchema:()=>cf});n();a();s();n();a();s();var Zl={Literals:"literals",Enums:"enums",EnumsCoerceableToLiterals:"enums-coerceable-to-literals"};n();a();s();var ef={Int32:"int32",Int64:"int64",Uint32:"uint32",Uint64:"uint64"};n();a();s();var tf={Minimal:"minimal",Comprehensive:"comprehensive"};n();a();s();var rf={Form:"form",Json:"json"};n();a();s();var nf={Java:"java",Python:"python",Go:"go",Ruby:"ruby",Csharp:"csharp",Typescript:"typescript",Php:"php",Rust:"rust",Swift:"swift"};n();a();s();var sf={V1:"v1",V2:"v2"};n();a();s();var af={EnvironmentPerServer:"environment-per-server",UrlsPerEnvironment:"urls-per-environment"};n();a();s();var of={UrlOrder:"url-order",SpecOrder:"spec-order"};n();a();s();var uf={Always:"always",Never:"never"};n();a();s();var cf={V1:"v1"};var vo={};z(vo,{GithubCommitAndReleaseMode:()=>pf,GithubSelfhostedMode:()=>lf});n();a();s();n();a();s();var pf={Commit:"commit",Release:"release"};n();a();s();var lf={PullRequest:"pull-request",Push:"push"};var Vo={};z(Vo,{GithubLicenseType:()=>ff});n();a();s();n();a();s();var ff={Mit:"MIT",Apache:"Apache-2.0"};var mf={};n();a();s();var df={};n();a();s();var pu={};z(pu,{AiServicesSchema:()=>Kn,ApiConfigurationSchema:()=>ea,ApiConfigurationSchemaInternal:()=>Rr,ApiConfigurationV2Schema:()=>Xs,ApiConfigurationV2SettingsSchema:()=>Cr,ApiConfigurationV2SpecsSchema:()=>_r,ApiDefinitionList:()=>Ds,ApiDefinitionPathSchema:()=>Et,ApiDefinitionSchema:()=>Bs,ApiDefinitionSettingsSchema:()=>Er,ApiDefinitionWithOverridesSchema:()=>Ir,AsyncApiSettingsSchema:()=>Pr,AsyncApiSpecSchema:()=>$s,AutomationSchema:()=>xt,BaseApiSettingsSchema:()=>Or,BaseGeneratorInvocationSchema:()=>kr,CoerceConstsTo:()=>Us,ConjureSchema:()=>Ws,CratesOutputLocationSchema:()=>sa,CustomGeneratorInvocationSchema:()=>Na,DefaultGeneratorInvocationSchema:()=>Ra,DefaultIntegerFormat:()=>Ms,ExampleStyle:()=>ta,FormParameterEncoding:()=>vs,GeneratorApiSettingsSchema:()=>na,GeneratorGroupSchema:()=>Pa,GeneratorImageObjectSchema:()=>ra,GeneratorInvocationSchema:()=>Oa,GeneratorOutputSchema:()=>ha,GeneratorPublishMetadataSchema:()=>vi,GeneratorSnippetsSchema:()=>ba,GeneratorsConfigurationSchema:()=>zf,GeneratorsOpenApiObjectSchema:()=>_a,GeneratorsOpenApiSchema:()=>ka,GithubCommitAndReleaseMode:()=>xa,GithubCommitAndReleaseSchema:()=>Sa,GithubConfigurationSchema:()=>Aa,GithubLicenseCustomSchema:()=>ya,GithubLicenseSchema:()=>ze,GithubLicenseType:()=>ga,GithubPullRequestSchema:()=>wa,GithubPushSchema:()=>Ta,GithubSelfhostedMode:()=>Ea,GithubSelfhostedSchema:()=>Ia,GraphQlSpecSchema:()=>Hs,Language:()=>Fa,LocalFileSystemOutputLocationSchema:()=>aa,MavenOutputLocationSchema:()=>ua,MavenOutputSignatureSchema:()=>oa,MessageNamingSettingsSchema:()=>xr,ModelName:()=>Hn,ModelProvider:()=>Jn,MultiServerStrategy:()=>Sr,NamespacedApiConfigurationSchema:()=>Zs,NpmOutputLocationSchema:()=>ca,NugetOutputLocationSchema:()=>pa,OpenApiExampleGenerationSchema:()=>Vs,OpenApiFilterSchema:()=>zs,OpenApiSettingsSchema:()=>It,OpenApiSpecSchema:()=>Js,OpenRpcSpecSchema:()=>Ks,OutputMetadataAuthor:()=>ia,OutputMetadataSchema:()=>At,OverridesSchema:()=>Ve,PathParameterOrder:()=>wr,PostmanOutputLocationSchema:()=>la,ProtobufApiDefinitionSchema:()=>Nr,ProtobufDefinitionSchema:()=>Ar,ProtobufSpecSchema:()=>Qs,PypiOutputLocationSchema:()=>ma,PypiOutputMetadataSchema:()=>fa,ReadmeCustomSectionSchema:()=>La,ReadmeEndpointObjectSchema:()=>ja,ReadmeEndpointSchema:()=>Vi,ReadmeSchema:()=>Ba,RemoveDiscriminantsFromSchemas:()=>Tr,ReplayConfigSchema:()=>Ca,RequestOrResponseExampleGenerationSchema:()=>Ui,ResolveAliases:()=>Gs,ResolveAliasesSchema:()=>qs,ReviewerSchema:()=>Mi,ReviewersSchema:()=>Nt,RubyGemsOutputLocationSchema:()=>da,SpecSchema:()=>Ys,UnionSettingsSchema:()=>js,WhitelabelConfigurationSchema:()=>Ua,WhitelabelGithubConfigurationSchema:()=>Da,ai:()=>Ho,automation:()=>Jo,fernDefinition:()=>nu,generators:()=>su,group:()=>au,license:()=>ou,replay:()=>uu,reviewers:()=>cu});n();a();s();n();a();s();var Ho={};z(Ho,{AiServicesSchema:()=>Kn,ModelName:()=>Hn,ModelProvider:()=>Jn});n();a();s();n();a();s();n();a();s();var p={};z(p,{JsonError:()=>pr,ParseError:()=>lr,any:()=>Of,bigint:()=>yf,boolean:()=>Pf,booleanLiteral:()=>Nf,date:()=>gf,discriminant:()=>Mf,enum_:()=>Gn,getObjectLikeUtils:()=>Je,getObjectUtils:()=>$t,getSchemaUtils:()=>ae,isProperty:()=>ct,lazy:()=>bf,lazyObject:()=>If,list:()=>$n,never:()=>Cf,number:()=>_f,object:()=>Wn,objectWithoutOptionalProperties:()=>Ef,optional:()=>zo,property:()=>Sf,record:()=>jf,set:()=>Bf,string:()=>kf,stringLiteral:()=>Rf,transform:()=>qo,undiscriminatedUnion:()=>Uf,union:()=>Vf,unknown:()=>Ff,withParsedProperties:()=>$o});n();a();s();n();a();s();n();a();s();n();a();s();var H={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 ie(e,t){return`Expected ${t}. Received ${nh(e)}.`}function nh(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 xe(e){return{...e,json:hf(e.json),parse:hf(e.parse)}}function hf(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(`
|
|
5
|
-
`)),{ok:!0,value:t}):i}}n();a();s();n();a();s();n();a();s();n();a();s();function qn(e){return e.path.length===0?e.message:`${e.path.join(" -> ")}: ${e.message}`}var pr=class e extends Error{constructor(r){super(r.map(qn).join("; "));y(this,"errors");this.errors=r,Object.setPrototypeOf(this,e.prototype)}};n();a();s();var lr=class e extends Error{constructor(r){super(r.map(qn).join("; "));y(this,"errors");this.errors=r,Object.setPrototypeOf(this,e.prototype)}};function ae(e){return{nullable:()=>sh(e),optional:()=>zo(e),optionalNullable:()=>ah(e),transform:t=>qo(e,t),parseOrThrow:(t,r)=>{let i=e.parse(t,r);if(i.ok)return i.value;throw new lr(i.errors)},jsonOrThrow:(t,r)=>{let i=e.json(t,r);if(i.ok)return i.value;throw new pr(i.errors)}}}function sh(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:()=>H.NULLABLE};return{...t,...ae(t)}}function zo(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:()=>H.OPTIONAL};return{...t,...ae(t)}}function ah(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:()=>H.OPTIONAL_NULLABLE};return{...t,...ae(t)}}function qo(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,...ae(r)}}function yf(){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:ie(t,"bigint | number")}]},json:(t,{breadcrumbsPrefix:r=[]}={})=>typeof t!="bigint"?{ok:!1,errors:[{path:r,message:ie(t,"bigint")}]}:{ok:!0,value:t},getType:()=>H.BIGINT};return{...xe(e),...ae(e)}}n();a();s();n();a();s();var oh=/^([+-]?\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 gf(){let e={parse:(t,{breadcrumbsPrefix:r=[]}={})=>typeof t!="string"?{ok:!1,errors:[{path:r,message:ie(t,"string")}]}:oh.test(t)?{ok:!0,value:new Date(t)}:{ok:!1,errors:[{path:r,message:ie(t,"ISO 8601 date string")}]},json:(t,{breadcrumbsPrefix:r=[]}={})=>t instanceof Date?{ok:!0,value:t.toISOString()}:{ok:!1,errors:[{path:r,message:ie(t,"Date object")}]},getType:()=>H.DATE};return{...xe(e),...ae(e)}}n();a();s();n();a();s();n();a();s();function Se(e,t){return()=>{let r={parse:t,json:t,getType:()=>e};return{...xe(r),...ae(r)}}}function Gn(e){let t=new Set(e);return Se(H.ENUM,(i,{allowUnrecognizedEnumValues:o,breadcrumbsPrefix:c=[]}={})=>typeof i!="string"?{ok:!1,errors:[{path:c,message:ie(i,"string")}]}:!t.has(i)&&!o?{ok:!1,errors:[{path:c,message:ie(i,"enum")}]}:{ok:!0,value:i})()}n();a();s();n();a();s();function bf(e){let t=Go(e);return{...t,...ae(t)}}function Go(e){return{parse:(t,r)=>fr(e).parse(t,r),json:(t,r)=>fr(e).json(t,r),getType:()=>fr(e).getType()}}function fr(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 Wo(e){return Object.entries(e)}n();a();s();function Bi(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 ut(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 Di(e){return Object.keys(e)}n();a();s();function xf(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 uh=Object.prototype.hasOwnProperty;function Je(e){return{withParsedProperties:t=>$o(e,t)}}function $o(e,t){let r={parse:(i,o)=>{let c=e.parse(i,o);if(!c.ok)return c;let l={};for(let x in t)if(uh.call(t,x)){let w=t[x];l[x]=typeof w=="function"?w(c.value):w}return{ok:!0,value:{...c.value,...l}}},json:(i,o)=>{if(!ut(i))return{ok:!1,errors:[{path:o?.breadcrumbsPrefix??[],message:ie(i,"object")}]};let c=new Set(Object.keys(t)),l=Bi(i,Object.keys(i).filter(x=>!c.has(x)));return e.json(l,o)},getType:()=>e.getType()};return{...r,...ae(r),...Je(r)}}n();a();s();function Sf(e,t){return{rawKey:e,valueSchema:t,isProperty:!0}}function ct(e){return e.isProperty}var ch=Object.prototype.hasOwnProperty;function Wn(e){let t;function r(){if(t==null){t={};for(let[L,R]of Wo(e)){let j=ct(R)?R.rawKey:L,M=ct(R)?R.valueSchema:R;t[j]={rawKey:j,parsedKey:L,valueSchema:M}}}return t}let i,o,c,l;function x(){if(i==null){i=[],o=[];for(let[L,R]of Wo(e)){let j=ct(R)?R.rawKey:L,M=ct(R)?R.valueSchema:R;ph(M)&&(i.push(j),o.push(L))}c=new Set(i),l=new Set(o)}return i}function w(){return o==null&&x(),o}function I(){return c==null&&x(),c}function A(){return l==null&&x(),l}let P={_getRawProperties:()=>Object.entries(e).map(([L,R])=>ct(R)?R.rawKey:L),_getParsedProperties:()=>Di(e),parse:(L,R)=>{let j=R?.breadcrumbsPrefix??[];return wf({value:L,requiredKeys:x(),requiredKeysSet:I(),getProperty:M=>{let D=r()[M];if(D!=null)return{transformedKey:D.parsedKey,transform:G=>{let Q=[...j,M];return D.valueSchema.parse(G,{...R,breadcrumbsPrefix:Q})}}},unrecognizedObjectKeys:R?.unrecognizedObjectKeys,skipValidation:R?.skipValidation,breadcrumbsPrefix:j,omitUndefined:R?.omitUndefined})},json:(L,R)=>{let j=R?.breadcrumbsPrefix??[];return wf({value:L,requiredKeys:w(),requiredKeysSet:A(),getProperty:M=>{let D=e[M];if(D!=null)return ct(D)?{transformedKey:D.rawKey,transform:G=>{let Q=[...j,M];return D.valueSchema.json(G,{...R,breadcrumbsPrefix:Q})}}:{transformedKey:M,transform:G=>{let Q=[...j,M];return D.json(G,{...R,breadcrumbsPrefix:Q})}}},unrecognizedObjectKeys:R?.unrecognizedObjectKeys,skipValidation:R?.skipValidation,breadcrumbsPrefix:j,omitUndefined:R?.omitUndefined})},getType:()=>H.OBJECT};return{...xe(P),...ae(P),...Je(P),...$t(P)}}function wf({value:e,requiredKeys:t,requiredKeysSet:r,getProperty:i,unrecognizedObjectKeys:o="fail",skipValidation:c=!1,breadcrumbsPrefix:l=[]}){if(!ut(e))return{ok:!1,errors:[{path:l,message:ie(e,"object")}]};let x=t.length,w=[],I={};for(let A in e){if(!ch.call(e,A))continue;let P=e[A],L=i(A);if(L!=null){x>0&&r.has(A)&&x--;let R=L.transform(P);R.ok?I[L.transformedKey]=R.value:(I[A]=P,w.push(...R.errors))}else switch(o){case"fail":w.push({path:[...l,A],message:`Unexpected key "${A}"`});break;case"strip":break;case"passthrough":I[A]=P;break}}if(x>0)for(let A of t)A in e||w.push({path:l,message:`Missing required key "${A}"`});return w.length===0||c?{ok:!0,value:I}:{ok:!1,errors:w}}function $t(e){return{extend:t=>{let r={_getParsedProperties:()=>[...e._getParsedProperties(),...t._getParsedProperties()],_getRawProperties:()=>[...e._getRawProperties(),...t._getRawProperties()],parse:(i,o)=>Tf({extensionKeys:t._getRawProperties(),value:i,transformBase:c=>e.parse(c,o),transformExtension:c=>t.parse(c,o),breadcrumbsPrefix:o?.breadcrumbsPrefix}),json:(i,o)=>Tf({extensionKeys:t._getParsedProperties(),value:i,transformBase:c=>e.json(c,o),transformExtension:c=>t.json(c,o),breadcrumbsPrefix:o?.breadcrumbsPrefix}),getType:()=>H.OBJECT};return{...r,...ae(r),...Je(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 l=e.parse(o,{...c,unrecognizedObjectKeys:"passthrough"});if(!l.ok)return l;let x={};if(typeof o=="object"&&o!=null)for(let[w,I]of Object.entries(o))t.has(w)||(x[w]=I);return{ok:!0,value:{...x,...l.value}}},json:(o,c)=>{let l=e.json(o,{...c,unrecognizedObjectKeys:"passthrough"});if(!l.ok)return l;let x={};if(typeof o=="object"&&o!=null)for(let[w,I]of Object.entries(o))r.has(w)||(x[w]=I);return{ok:!0,value:{...x,...l.value}}},getType:()=>H.OBJECT};return{...i,...ae(i),...Je(i),...$t(i)}}}}function Tf({extensionKeys:e,value:t,transformBase:r,transformExtension:i,breadcrumbsPrefix:o=[]}){if(!ut(t))return{ok:!1,errors:[{path:o,message:ie(t,"object")}]};let c=new Set(e),[l,x]=xf(Di(t),A=>c.has(A)),w=r(Bi(t,x)),I=i(Bi(t,l));return w.ok&&I.ok?{ok:!0,value:{...w.value,...I.value}}:{ok:!1,errors:[...w.ok?[]:w.errors,...I.ok?[]:I.errors]}}function ph(e){return!lh(e)}function lh(e){switch(e.getType()){case H.ANY:case H.UNKNOWN:case H.OPTIONAL:case H.OPTIONAL_NULLABLE:return!0;default:return!1}}n();a();s();function Ef(e){return Wn(e)}function If(e){let t={...Go(e),_getRawProperties:()=>fr(e)._getRawProperties(),_getParsedProperties:()=>fr(e)._getParsedProperties()};return{...t,...ae(t),...Je(t),...$t(t)}}n();a();s();n();a();s();function $n(e){let t={parse:(r,i)=>Af(r,(o,c)=>e.parse(o,{...i,breadcrumbsPrefix:[...i?.breadcrumbsPrefix??[],`[${c}]`]})),json:(r,i)=>Af(r,(o,c)=>e.json(o,{...i,breadcrumbsPrefix:[...i?.breadcrumbsPrefix??[],`[${c}]`]})),getType:()=>H.LIST};return{...xe(t),...ae(t)}}function Af(e,t){if(!Array.isArray(e))return{ok:!1,errors:[{message:ie(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 Nf(e){return Se(H.BOOLEAN_LITERAL,(r,{breadcrumbsPrefix:i=[]}={})=>r===e?{ok:!0,value:e}:{ok:!1,errors:[{path:i,message:ie(r,`${e.toString()}`)}]})()}n();a();s();function Rf(e){return Se(H.STRING_LITERAL,(r,{breadcrumbsPrefix:i=[]}={})=>r===e?{ok:!0,value:e}:{ok:!1,errors:[{path:i,message:ie(r,`"${e}"`)}]})()}n();a();s();n();a();s();var Of=Se(H.ANY,e=>({ok:!0,value:e}));n();a();s();var Pf=Se(H.BOOLEAN,(e,{breadcrumbsPrefix:t=[]}={})=>typeof e=="boolean"?{ok:!0,value:e}:{ok:!1,errors:[{path:t,message:ie(e,"boolean")}]});n();a();s();var Cf=Se(H.NEVER,(e,{breadcrumbsPrefix:t=[]}={})=>({ok:!1,errors:[{path:t,message:"Expected never"}]}));n();a();s();var _f=Se(H.NUMBER,(e,{breadcrumbsPrefix:t=[]}={})=>typeof e=="number"?{ok:!0,value:e}:{ok:!1,errors:[{path:t,message:ie(e,"number")}]});n();a();s();var kf=Se(H.STRING,(e,{breadcrumbsPrefix:t=[]}={})=>typeof e=="string"?{ok:!0,value:e}:{ok:!1,errors:[{path:t,message:ie(e,"string")}]});n();a();s();var Ff=Se(H.UNKNOWN,e=>({ok:!0,value:e}));n();a();s();n();a();s();var fh=Object.prototype.hasOwnProperty;function jf(e,t){let r={parse:(i,o)=>Lf({value:i,isKeyNumeric:e.getType()===H.NUMBER,transformKey:c=>e.parse(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${c} (key)`]}),transformValue:(c,l)=>t.parse(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${l}`]}),breadcrumbsPrefix:o?.breadcrumbsPrefix}),json:(i,o)=>Lf({value:i,isKeyNumeric:e.getType()===H.NUMBER,transformKey:c=>e.json(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${c} (key)`]}),transformValue:(c,l)=>t.json(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${l}`]}),breadcrumbsPrefix:o?.breadcrumbsPrefix}),getType:()=>H.RECORD};return{...xe(r),...ae(r)}}function Lf({value:e,isKeyNumeric:t,transformKey:r,transformValue:i,breadcrumbsPrefix:o=[]}){if(!ut(e))return{ok:!1,errors:[{path:o,message:ie(e,"object")}]};let c={},l=[];for(let x in e){if(!fh.call(e,x))continue;let w=e[x];if(w===void 0)continue;let I=x;if(t){let L=x.length>0?Number(x):NaN;Number.isNaN(L)||(I=L)}let A=r(I),P=i(w,I);A.ok&&P.ok?c[A.value]=P.value:(A.ok||l.push(...A.errors),P.ok||l.push(...P.errors))}return l.length===0?{ok:!0,value:c}:{ok:!1,errors:l}}n();a();s();n();a();s();function Bf(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:ie(i,"Set")}]},getType:()=>H.SET};return{...xe(r),...ae(r)}}n();a();s();n();a();s();function Uf(e){let t={parse:(r,i)=>Df((o,c)=>o.parse(r,c),e,i),json:(r,i)=>Df((o,c)=>o.json(r,c),e,i),getType:()=>H.UNDISCRIMINATED_UNION};return{...xe(t),...ae(t)}}function Df(e,t,r){let i=[];for(let[o,c]of t.entries()){let l=e(c,{...r,skipValidation:!1});if(l.ok)return l;for(let x of l.errors)i.push({path:x.path,message:`[Variant ${o}] ${x.message}`})}return{ok:!1,errors:i}}n();a();s();n();a();s();function Mf(e,t){return{parsedDiscriminant:e,rawDiscriminant:t}}n();a();s();var mh=Object.prototype.hasOwnProperty;function Vf(e,t){let r=typeof e=="string"?e:e.rawDiscriminant,i=typeof e=="string"?e:e.parsedDiscriminant,o=Gn(Di(t)),c={parse:(l,x)=>vf({value:l,discriminant:r,transformedDiscriminant:i,transformDiscriminantValue:w=>o.parse(w,{allowUnrecognizedEnumValues:x?.allowUnrecognizedUnionMembers,breadcrumbsPrefix:[...x?.breadcrumbsPrefix??[],r]}),getAdditionalPropertiesSchema:w=>t[w],allowUnrecognizedUnionMembers:x?.allowUnrecognizedUnionMembers,transformAdditionalProperties:(w,I)=>I.parse(w,x),breadcrumbsPrefix:x?.breadcrumbsPrefix}),json:(l,x)=>vf({value:l,discriminant:i,transformedDiscriminant:r,transformDiscriminantValue:w=>o.json(w,{allowUnrecognizedEnumValues:x?.allowUnrecognizedUnionMembers,breadcrumbsPrefix:[...x?.breadcrumbsPrefix??[],i]}),getAdditionalPropertiesSchema:w=>t[w],allowUnrecognizedUnionMembers:x?.allowUnrecognizedUnionMembers,transformAdditionalProperties:(w,I)=>I.json(w,x),breadcrumbsPrefix:x?.breadcrumbsPrefix}),getType:()=>H.UNION};return{...xe(c),...ae(c),...Je(c)}}function vf({value:e,discriminant:t,transformedDiscriminant:r,transformDiscriminantValue:i,getAdditionalPropertiesSchema:o,allowUnrecognizedUnionMembers:c=!1,transformAdditionalProperties:l,breadcrumbsPrefix:x=[]}){if(!ut(e))return{ok:!1,errors:[{path:x,message:ie(e,"object")}]};let w=e[t],I={};for(let R in e)mh.call(e,R)&&R!==t&&(I[R]=e[R]);if(w==null)return{ok:!1,errors:[{path:x,message:`Missing discriminant ("${t}")`}]};let A=i(w);if(!A.ok)return{ok:!1,errors:A.errors};let P=o(A.value);if(P==null)return c?{ok:!0,value:{[r]:A.value,...I}}:{ok:!1,errors:[{path:[...x,t],message:"Unexpected discriminant value"}]};let L=l(I,P);return L.ok?{ok:!0,value:{[r]:w,...L.value}}:L}n();a();s();var Hn=p.string();n();a();s();var Jn=p.enum_(["openai","anthropic","bedrock"]);var Kn=p.object({provider:Jn,model:Hn});var Jo={};z(Jo,{AutomationSchema:()=>xt});n();a();s();n();a();s();var xt=p.object({generate:p.boolean().optional(),upgrade:p.boolean().optional(),preview:p.boolean().optional(),verify:p.boolean().optional()});var nu={};z(nu,{AnyAuthItem:()=>Qn,AnyAuthSchemesSchema:()=>Yn,ApiAuthSchema:()=>dr,AuthSchemeDeclarationSchema:()=>wt,AuthSchemeReferenceSchema:()=>mr,AuthScope:()=>us,AuthVariable:()=>Ht,AvailabilitySchema:()=>ys,AvailabilityStatusSchema:()=>yr,AvailabilityUnionSchema:()=>gs,BaseTypeReferenceSchema:()=>Cs,BasicAuthSchemeSchema:()=>es,BearerAuthSchemeSchema:()=>as,EncodingSchema:()=>Ss,EndpointSecuritySchema:()=>Zn,EndpointSecuritySchemaDetails:()=>Xn,EnvironmentSchema:()=>Es,HeaderAuthSchemeSchema:()=>os,HttpHeaderSchema:()=>br,InferredAuthenticatedRequestHeader:()=>ts,InferredBearerAuthSchema:()=>ns,InferredGetTokenEndpointSchema:()=>is,InferredGetTokenEndpointSchemaObject:()=>rs,ListValidationSchema:()=>As,MapValidationSchema:()=>Ns,MultipleBaseUrlsEnvironmentSchema:()=>ws,NumberValidationSchema:()=>Rs,OAuthAccessTokenRequestPropertiesSchema:()=>cs,OAuthAccessTokenResponsePropertiesSchema:()=>ps,OAuthGetTokenEndpointSchema:()=>ls,OAuthRefreshTokenEndpointSchema:()=>ds,OAuthRefreshTokenRequestPropertiesSchema:()=>fs,OAuthRefreshTokenResponsePropertiesSchema:()=>ms,OAuthSchemeSchema:()=>hs,ProtobufTypeSchema:()=>xs,ServerVariableSchema:()=>gr,SingleBaseUrlEnvironmentSchema:()=>Ts,StringValidationSchema:()=>Os,TokenBearerAuthSchema:()=>ss,TypeReferenceDeclarationWithEnvOverride:()=>Fs,TypeReferenceDeclarationWithEnvOverrideSchema:()=>ks,TypeReferenceDeclarationWithName:()=>_s,ValidationSchema:()=>Ps,WithAudiences:()=>Tt,WithAvailability:()=>bs,WithDocsSchema:()=>me,WithEnvironmentVariable:()=>hr,WithEnvironmentsSchema:()=>Is,WithHeadersSchema:()=>Ls,WithName:()=>St,auth:()=>Ko,availability:()=>Qo,commons:()=>Yo,encoding:()=>Xo,environments:()=>Zo,file:()=>eu,service:()=>tu,types:()=>ru,validation:()=>iu});n();a();s();n();a();s();var Ko={};z(Ko,{AnyAuthItem:()=>Qn,AnyAuthSchemesSchema:()=>Yn,ApiAuthSchema:()=>dr,AuthSchemeDeclarationSchema:()=>wt,AuthSchemeReferenceSchema:()=>mr,AuthScope:()=>us,AuthVariable:()=>Ht,BasicAuthSchemeSchema:()=>es,BearerAuthSchemeSchema:()=>as,EndpointSecuritySchema:()=>Zn,EndpointSecuritySchemaDetails:()=>Xn,HeaderAuthSchemeSchema:()=>os,InferredAuthenticatedRequestHeader:()=>ts,InferredBearerAuthSchema:()=>ns,InferredGetTokenEndpointSchema:()=>is,InferredGetTokenEndpointSchemaObject:()=>rs,OAuthAccessTokenRequestPropertiesSchema:()=>cs,OAuthAccessTokenResponsePropertiesSchema:()=>ps,OAuthGetTokenEndpointSchema:()=>ls,OAuthRefreshTokenEndpointSchema:()=>ds,OAuthRefreshTokenRequestPropertiesSchema:()=>fs,OAuthRefreshTokenResponsePropertiesSchema:()=>ms,OAuthSchemeSchema:()=>hs,TokenBearerAuthSchema:()=>ss,WithEnvironmentVariable:()=>hr});n();a();s();n();a();s();n();a();s();n();a();s();var me=p.object({docs:p.string().optional()});var mr=p.object({scheme:p.string()}).extend(me);var Qn=p.undiscriminatedUnion([p.string(),mr]);n();a();s();var Yn=p.object({any:p.list(Qn)}).extend(me);n();a();s();n();a();s();n();a();s();var Xn=p.object({});var Zn=p.object({"endpoint-security":Xn}).extend(me);var dr=p.undiscriminatedUnion([p.string(),mr,Yn,Zn]);n();a();s();n();a();s();n();a();s();n();a();s();var St=p.object({name:p.string().optional()});n();a();s();var hr=p.object({env:p.string().optional()});var Ht=p.object({omit:p.boolean().optional()}).extend(hr).extend(St);var es=p.object({scheme:p.stringLiteral("basic"),username:Ht.optional(),password:Ht.optional()}).extend(me);n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var ts=p.object({"response-property":p.string(),"header-name":p.string(),"value-prefix":p.string().optional()});var rs=p.object({endpoint:p.string(),"expiry-response-property":p.string().optional(),"authenticated-request-headers":p.list(ts).optional()});var is=p.undiscriminatedUnion([p.string(),rs]);var ns=p.object({scheme:p.stringLiteral("bearer"),"get-token":is}).extend(me);n();a();s();var ss=p.object({scheme:p.stringLiteral("bearer"),token:Ht.optional()}).extend(me);var as=p.undiscriminatedUnion([ss,ns]);n();a();s();var os=p.object({header:p.string(),type:p.string().optional(),prefix:p.string().optional()}).extend(hr).extend(St).extend(me);n();a();s();n();a();s();var us=p.string();n();a();s();n();a();s();var cs=p.object({"client-id":p.string().optional(),"client-secret":p.string().optional(),scopes:p.string().optional()});n();a();s();var ps=p.object({"access-token":p.string().optional(),"expires-in":p.string().optional(),"refresh-token":p.string().optional()});var ls=p.object({endpoint:p.string(),"request-properties":cs.optional(),"response-properties":ps.optional()});n();a();s();n();a();s();var fs=p.object({"refresh-token":p.string()});n();a();s();var ms=p.object({"access-token":p.string().optional(),"expires-in":p.string().optional(),"refresh-token":p.string().optional()});var ds=p.object({endpoint:p.string(),"request-properties":fs.optional(),"response-properties":ms.optional()});var hs=p.object({scheme:p.stringLiteral("oauth"),type:p.stringLiteral("client-credentials"),scopes:p.list(us).optional(),"client-id-env":p.string().optional(),"client-secret-env":p.string().optional(),"token-prefix":p.string().optional(),"token-header":p.string().optional(),"get-token":ls,"refresh-token":ds.optional()}).extend(me);var wt=p.undiscriminatedUnion([hs,os,es,as]);var Qo={};z(Qo,{AvailabilitySchema:()=>ys,AvailabilityStatusSchema:()=>yr,AvailabilityUnionSchema:()=>gs});n();a();s();n();a();s();n();a();s();var yr=p.enum_(["in-development","pre-release","deprecated","generally-available"]);var ys=p.object({status:yr,message:p.string().optional()});n();a();s();var gs=p.undiscriminatedUnion([yr,ys]);var Yo={};z(Yo,{WithAudiences:()=>Tt,WithAvailability:()=>bs,WithDocsSchema:()=>me,WithName:()=>St});n();a();s();n();a();s();var Tt=p.object({audiences:p.list(p.string()).optional()});n();a();s();var bs=p.object({availability:gs.optional()});var Xo={};z(Xo,{EncodingSchema:()=>Ss,ProtobufTypeSchema:()=>xs});n();a();s();n();a();s();n();a();s();var xs=p.object({type:p.string()});var Ss=p.object({proto:xs.optional()});var Zo={};z(Zo,{EnvironmentSchema:()=>Es,MultipleBaseUrlsEnvironmentSchema:()=>ws,ServerVariableSchema:()=>gr,SingleBaseUrlEnvironmentSchema:()=>Ts,WithEnvironmentsSchema:()=>Is});n();a();s();n();a();s();n();a();s();n();a();s();var gr=p.object({id:p.string(),default:p.string().optional(),values:p.list(p.string()).optional()});var ws=p.object({urls:p.record(p.string(),p.string()),"url-templates":p.record(p.string(),p.string()).optional(),"default-urls":p.record(p.string(),p.string()).optional(),variables:p.record(p.string(),p.list(gr)).optional()}).extend(Tt).extend(me);n();a();s();var Ts=p.object({url:p.string(),"default-url":p.string().optional(),"url-template":p.string().optional(),variables:p.list(gr).optional()}).extend(Tt).extend(me);var Es=p.undiscriminatedUnion([p.string(),Ts,ws]);n();a();s();var Is=p.object({"default-url":p.string().optional(),"default-environment":p.string().optional(),environments:p.record(p.string(),Es).optional()});var eu={};z(eu,{WithHeadersSchema:()=>Ls});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 As=p.object({minItems:p.number().optional(),maxItems:p.number().optional()});n();a();s();var Ns=p.object({minProperties:p.number().optional(),maxProperties:p.number().optional()});n();a();s();var Rs=p.object({min:p.number().optional(),max:p.number().optional(),exclusiveMin:p.boolean().optional(),exclusiveMax:p.boolean().optional(),multipleOf:p.number().optional()});n();a();s();var Os=p.object({minLength:p.number().optional(),maxLength:p.number().optional(),pattern:p.string().optional(),format:p.string().optional()});var Ps=p.undiscriminatedUnion([Os,Rs,As,Ns]);var Cs=p.object({default:p.unknown().optional(),encoding:Ss.optional(),validation:Ps.optional()}).extend(me).extend(bs);var _s=p.object({type:p.string()}).extend(Cs).extend(St).extend(Tt);var ks=p.object({env:p.string().optional()}).extend(_s);var Fs=p.undiscriminatedUnion([p.string(),ks]);var br=Fs;var Ls=p.object({headers:p.record(p.string(),br).optional()});var tu={};z(tu,{HttpHeaderSchema:()=>br,TypeReferenceDeclarationWithEnvOverride:()=>Fs,TypeReferenceDeclarationWithEnvOverrideSchema:()=>ks});n();a();s();var ru={};z(ru,{BaseTypeReferenceSchema:()=>Cs,TypeReferenceDeclarationWithName:()=>_s});n();a();s();var iu={};z(iu,{ListValidationSchema:()=>As,MapValidationSchema:()=>Ns,NumberValidationSchema:()=>Rs,StringValidationSchema:()=>Os,ValidationSchema:()=>Ps});n();a();s();var su={};z(su,{ApiConfigurationSchema:()=>ea,ApiConfigurationSchemaInternal:()=>Rr,ApiConfigurationV2Schema:()=>Xs,ApiConfigurationV2SettingsSchema:()=>Cr,ApiConfigurationV2SpecsSchema:()=>_r,ApiDefinitionList:()=>Ds,ApiDefinitionPathSchema:()=>Et,ApiDefinitionSchema:()=>Bs,ApiDefinitionSettingsSchema:()=>Er,ApiDefinitionWithOverridesSchema:()=>Ir,AsyncApiSettingsSchema:()=>Pr,AsyncApiSpecSchema:()=>$s,BaseApiSettingsSchema:()=>Or,CoerceConstsTo:()=>Us,ConjureSchema:()=>Ws,DefaultIntegerFormat:()=>Ms,ExampleStyle:()=>ta,FormParameterEncoding:()=>vs,GeneratorImageObjectSchema:()=>ra,GeneratorsConfigurationSchema:()=>zf,GeneratorsOpenApiObjectSchema:()=>_a,GeneratorsOpenApiSchema:()=>ka,GraphQlSpecSchema:()=>Hs,Language:()=>Fa,MessageNamingSettingsSchema:()=>xr,MultiServerStrategy:()=>Sr,NamespacedApiConfigurationSchema:()=>Zs,OpenApiExampleGenerationSchema:()=>Vs,OpenApiFilterSchema:()=>zs,OpenApiSettingsSchema:()=>It,OpenApiSpecSchema:()=>Js,OpenRpcSpecSchema:()=>Ks,OutputMetadataAuthor:()=>ia,OutputMetadataSchema:()=>At,OverridesSchema:()=>Ve,PathParameterOrder:()=>wr,ProtobufApiDefinitionSchema:()=>Nr,ProtobufDefinitionSchema:()=>Ar,ProtobufSpecSchema:()=>Qs,ReadmeCustomSectionSchema:()=>La,ReadmeEndpointObjectSchema:()=>ja,ReadmeEndpointSchema:()=>Vi,ReadmeSchema:()=>Ba,RemoveDiscriminantsFromSchemas:()=>Tr,RequestOrResponseExampleGenerationSchema:()=>Ui,ResolveAliases:()=>Gs,ResolveAliasesSchema:()=>qs,SpecSchema:()=>Ys,UnionSettingsSchema:()=>js,WhitelabelConfigurationSchema:()=>Ua,WhitelabelGithubConfigurationSchema:()=>Da});n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var Et=p.string();n();a();s();n();a();s();n();a();s();var xr=p.enum_(["v1","v2"]);n();a();s();var Sr=p.enum_(["environment-per-server","urls-per-environment"]);n();a();s();var wr=p.enum_(["url-order","spec-order"]);n();a();s();var Tr=p.enum_(["always","never"]);n();a();s();var js=p.enum_(["v1"]);var Er=p.object({"use-title":p.boolean().optional(),unions:js.optional(),"message-naming":xr.optional(),"respect-nullable-schemas":p.boolean().optional(),"only-include-referenced-schemas":p.boolean().optional(),"inline-path-parameters":p.boolean().optional(),"idiomatic-request-names":p.boolean().optional(),"wrap-references-to-nullable-in-optional":p.boolean().optional(),"coerce-optional-schemas-to-nullable":p.boolean().optional(),"group-environments-by-host":p.boolean().optional(),"multi-server-strategy":Sr.optional(),"remove-discriminants-from-schemas":Tr.optional(),"path-parameter-order":wr.optional()});n();a();s();var Ve=p.undiscriminatedUnion([p.string(),p.list(p.string())]);var Ir=p.object({path:Et,origin:p.string().optional(),overrides:Ve.optional(),audiences:p.list(p.string()).optional(),settings:Er.optional()});n();a();s();n();a();s();var Ar=p.object({target:p.string().optional(),root:p.string(),overrides:Ve.optional(),"local-generation":p.boolean().optional(),"from-openapi":p.boolean().optional(),dependencies:p.list(p.string()).optional()});var Nr=p.object({proto:Ar});var Bs=p.undiscriminatedUnion([Et,Ir,Nr]);var Ds=p.list(Bs);var Rr=p.undiscriminatedUnion([Et,Ir,Ds,Nr]);n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var Us=p.enum_(["literals","enums","enums-coerceable-to-literals"]);var Or=p.object({"respect-nullable-schemas":p.boolean().optional(),"title-as-schema-name":p.boolean().optional(),"optional-additional-properties":p.boolean().optional(),"coerce-enums-to-literals":p.boolean().optional(),"idiomatic-request-names":p.boolean().optional(),"wrap-references-to-nullable-in-optional":p.boolean().optional(),"coerce-optional-schemas-to-nullable":p.boolean().optional(),"group-environments-by-host":p.boolean().optional(),"multi-server-strategy":Sr.optional(),"remove-discriminants-from-schemas":Tr.optional(),"path-parameter-order":wr.optional(),"resolve-schema-collisions":p.boolean().optional(),"infer-forward-compatible":p.boolean().optional(),"infer-default-environment":p.boolean().optional(),"coerce-consts-to":Us.optional()});var Pr=p.object({"message-naming":xr.optional()}).extend(Or);n();a();s();n();a();s();var Ms=p.enum_(["int32","int64","uint32","uint64"]);n();a();s();var vs=p.enum_(["form","json"]);n();a();s();n();a();s();var Ui=p.object({"max-depth":p.number().optional()});var Vs=p.object({request:Ui.optional(),response:Ui.optional()});n();a();s();var zs=p.object({endpoints:p.list(p.string()).optional()});n();a();s();n();a();s();var qs=p.object({except:p.list(p.string()).optional()});var Gs=p.undiscriminatedUnion([p.boolean(),qs]);var It=p.object({"only-include-referenced-schemas":p.boolean().optional(),"inline-path-parameters":p.boolean().optional(),"prefer-undiscriminated-unions-with-literals":p.boolean().optional(),"object-query-parameters":p.boolean().optional(),"respect-readonly-schemas":p.boolean().optional(),"respect-forward-compatible-enums":p.boolean().optional(),"use-bytes-for-binary-response":p.boolean().optional(),"default-form-parameter-encoding":vs.optional(),filter:zs.optional(),"example-generation":Vs.optional(),"additional-properties-defaults-to":p.boolean().optional(),"type-dates-as-strings":p.boolean().optional(),"preserve-single-schema-oneof":p.boolean().optional(),"inline-all-of-schemas":p.boolean().optional(),"resolve-aliases":Gs.optional(),"group-multi-api-environments":p.boolean().optional(),"default-integer-format":Ms.optional()}).extend(Or);var Cr=p.object({}).extend(It).extend(Pr);n();a();s();n();a();s();var Ws=p.object({conjure:p.string()});n();a();s();n();a();s();var $s=p.object({asyncapi:p.string(),origin:p.string().optional(),overrides:Ve.optional(),namespace:p.string().optional(),settings:Pr.optional()});n();a();s();var Hs=p.object({graphql:p.string(),origin:p.string().optional(),overrides:p.string().optional(),name:p.string().optional()});n();a();s();var Js=p.object({openapi:p.string(),origin:p.string().optional(),overrides:Ve.optional(),overlays:p.string().optional(),namespace:p.string().optional(),settings:It.optional()});n();a();s();var Ks=p.object({openrpc:p.string(),overrides:Ve.optional(),namespace:p.string().optional()});n();a();s();var Qs=p.object({proto:Ar});var Ys=p.undiscriminatedUnion([Js,$s,Qs,Ks,Hs]);var _r=p.undiscriminatedUnion([p.list(Ys),Ws]);var Xs=p.object({auth:dr.optional(),"auth-schemes":p.record(p.string(),wt).optional(),specs:_r,settings:Cr.optional()}).extend(Ls).extend(Is);n();a();s();var Zs=p.object({namespaces:p.record(p.string(),Rr)});var ea=p.undiscriminatedUnion([Rr,Zs,Xs]);n();a();s();var ta=p.enum_(["minimal","comprehensive"]);n();a();s();var ra=p.object({name:p.string(),registry:p.string()});n();a();s();n();a();s();n();a();s();n();a();s();var ia=p.object({name:p.string(),email:p.string()});var At=p.object({description:p.string().optional(),authors:p.list(ia).optional()});n();a();s();n();a();s();var Mi=p.object({name:p.string()});var Nt=p.object({teams:p.list(Mi).optional(),users:p.list(Mi).optional()});n();a();s();n();a();s();n();a();s();n();a();s();var na=p.object({auth:dr.optional(),"auth-schemes":p.record(p.string(),wt).optional(),headers:p.record(p.string(),br).optional(),settings:Cr.optional(),specs:_r.optional()});n();a();s();n();a();s();var sa=p.object({url:p.string().optional(),"package-name":p.string(),token:p.string().optional()});n();a();s();var aa=p.object({path:p.string()});n();a();s();n();a();s();var oa=p.object({keyId:p.string(),password:p.string(),secretKey:p.string()});var ua=p.object({url:p.string().optional(),coordinate:p.string(),username:p.string().optional(),password:p.string().optional(),signature:oa.optional()});n();a();s();var ca=p.object({url:p.string().optional(),"package-name":p.string(),token:p.string().optional()});n();a();s();var pa=p.object({url:p.string().optional(),"package-name":p.string(),"api-key":p.string().optional()});n();a();s();var la=p.object({"api-key":p.string(),"workspace-id":p.string(),"collection-id":p.string().optional()});n();a();s();n();a();s();var fa=p.object({keywords:p.list(p.string()).optional(),"documentation-link":p.string().optional(),"homepage-link":p.string().optional()}).extend(At);var ma=p.object({url:p.string().optional(),"package-name":p.string(),token:p.string().optional(),username:p.string().optional(),password:p.string().optional(),metadata:fa.optional()});n();a();s();var da=p.object({url:p.string().optional(),"package-name":p.string(),"api-key":p.string().optional()});var ha=p.union("location",{npm:ca,maven:ua,pypi:ma,postman:la,"local-file-system":aa,nuget:pa,rubygems:da,crates:sa}).transform({transform:e=>e,untransform:e=>e});n();a();s();n();a();s();n();a();s();var ya=p.object({custom:p.string()});n();a();s();var ga=p.enum_(["MIT","Apache-2.0"]);var ze=p.undiscriminatedUnion([ga,ya]);var vi=p.object({"package-description":p.string().optional(),email:p.string().optional(),"reference-url":p.string().optional(),author:p.string().optional(),license:ze.optional()});n();a();s();var ba=p.object({path:p.string()});n();a();s();n();a();s();n();a();s();var xa=p.enum_(["commit","release"]);var Sa=p.object({repository:p.string(),license:ze.optional(),mode:xa.optional()});n();a();s();var wa=p.object({repository:p.string(),branch:p.string().optional(),license:ze.optional(),mode:p.stringLiteral("pull-request"),reviewers:Nt.optional()});n();a();s();var Ta=p.object({repository:p.string(),license:ze.optional(),mode:p.stringLiteral("push"),branch:p.string().optional()});n();a();s();n();a();s();var Ea=p.enum_(["pull-request","push"]);var Ia=p.object({uri:p.string(),token:p.string(),mode:Ea.optional(),branch:p.string().optional(),license:ze.optional()});var Aa=p.undiscriminatedUnion([Ia,Sa,wa,Ta]);var kr=p.object({version:p.string(),output:ha.optional(),github:Aa.optional(),config:p.unknown().optional(),metadata:vi.optional(),keywords:p.list(p.string()).optional(),snippets:ba.optional(),"ir-version":p.string().optional(),"smart-casing":p.boolean().optional(),api:na.optional(),"disable-examples":p.boolean().optional(),"publish-metadata":vi.optional(),autorelease:p.boolean().optional(),automation:xt.optional()});var Na=p.object({image:ra}).extend(kr);n();a();s();var Ra=p.object({name:p.string()}).extend(kr);var Oa=p.undiscriminatedUnion([Ra,Na]);var Pa=p.object({audiences:p.list(p.string()).optional(),generators:p.list(Oa),metadata:At.optional(),reviewers:Nt.optional(),automation:xt.optional()});n();a();s();var Ca=p.object({enabled:p.boolean()});n();a();s();n();a();s();var _a=p.object({path:p.string(),origin:p.string().optional(),overrides:p.string().optional(),"disable-examples":p.boolean().optional(),settings:It});var ka=p.undiscriminatedUnion([_a,p.string()]);n();a();s();n();a();s();n();a();s();var Fa=p.enum_(["java","python","go","ruby","csharp","typescript","php","rust","swift"]);var La=p.object({title:p.string(),language:Fa,content:p.string()});n();a();s();n();a();s();var ja=p.object({method:p.string(),path:p.string(),stream:p.boolean().optional()});var Vi=p.undiscriminatedUnion([p.string(),ja]);var Ba=p.object({bannerLink:p.string().optional(),introduction:p.string().optional(),apiReferenceLink:p.string().optional(),apiName:p.string().optional(),disabledSections:p.list(p.string()).optional(),defaultEndpoint:Vi.optional(),features:p.record(p.string(),p.list(Vi)).optional(),customSections:p.list(La).optional(),exampleStyle:ta.optional()});n();a();s();n();a();s();var Da=p.object({username:p.string(),email:p.string(),token:p.string()});var Ua=p.object({github:Da.optional()});var zf=p.object({"auth-schemes":p.record(p.string(),wt).optional(),api:ea.optional(),whitelabel:Ua.optional(),metadata:At.optional(),readme:Ba.optional(),"default-group":p.string().optional(),aliases:p.record(p.string(),p.list(p.string())).optional(),groups:p.record(p.string(),Pa).optional(),reviewers:Nt.optional(),replay:Ca.optional(),ai:Kn.optional(),autorelease:p.boolean().optional(),automation:xt.optional(),openapi:ka.optional(),"openapi-overrides":p.string().optional(),"spec-origin":p.string().optional(),"async-api":p.string().optional(),"api-settings":Er.optional()});var au={};z(au,{BaseGeneratorInvocationSchema:()=>kr,CratesOutputLocationSchema:()=>sa,CustomGeneratorInvocationSchema:()=>Na,DefaultGeneratorInvocationSchema:()=>Ra,GeneratorApiSettingsSchema:()=>na,GeneratorGroupSchema:()=>Pa,GeneratorInvocationSchema:()=>Oa,GeneratorOutputSchema:()=>ha,GeneratorPublishMetadataSchema:()=>vi,GeneratorSnippetsSchema:()=>ba,GithubCommitAndReleaseMode:()=>xa,GithubCommitAndReleaseSchema:()=>Sa,GithubConfigurationSchema:()=>Aa,GithubPullRequestSchema:()=>wa,GithubPushSchema:()=>Ta,GithubSelfhostedMode:()=>Ea,GithubSelfhostedSchema:()=>Ia,LocalFileSystemOutputLocationSchema:()=>aa,MavenOutputLocationSchema:()=>ua,MavenOutputSignatureSchema:()=>oa,NpmOutputLocationSchema:()=>ca,NugetOutputLocationSchema:()=>pa,PostmanOutputLocationSchema:()=>la,PypiOutputLocationSchema:()=>ma,PypiOutputMetadataSchema:()=>fa,RubyGemsOutputLocationSchema:()=>da});n();a();s();var ou={};z(ou,{GithubLicenseCustomSchema:()=>ya,GithubLicenseSchema:()=>ze,GithubLicenseType:()=>ga});n();a();s();var uu={};z(uu,{ReplayConfigSchema:()=>Ca});n();a();s();var cu={};z(cu,{ReviewerSchema:()=>Mi,ReviewersSchema:()=>Nt});n();a();s();n();a();s();n();a();s();function qf(e){return e?.specs!=null}n();a();s();function Gf(e){return e?.asyncapi!=null}n();a();s();function Wf(e){return e?.conjure!=null}n();a();s();function $f(e){return e?.graphql!=null}n();a();s();function Hf(e){return e?.namespaces!=null}n();a();s();function Jf(e){return e?.openapi!=null}n();a();s();function Kf(e){return e?.openrpc!=null}n();a();s();function Qf(e){return e?.proto!=null}var Yf={[qe.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,Le(e)])),[qe.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"]),[qe.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"]),[qe.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"]),[qe.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"]),[qe.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"]),[qe.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"]),[qe.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"]),[qe.GenerationLanguage.SWIFT]:new Set([])};var dh=["go","ruby"];function Ma(e,t,r){let{generationLanguage:i,keywords:o,smartCasing:c}=r,l=Eh(e),x=D=>({unsafeName:D,safeName:hh({name:D,keywords:yh({generationLanguage:i,keywords:o})})}),w=t.preserveUnderscores===!0,I=w?(D,G)=>lu(D,G):(D,G)=>G(D),A=I(l,cr),P=w?lu(l,D=>Le(cr(D))):Le(A),L=I(l,vn),{leading:R,trailing:j}=w?Zf(l):{leading:"",trailing:""},M=Ci(A);if(c){!xh(M)&&(i==null||dh.includes(i))&&(A=R+M.map((G,Q)=>{if(Q>0){let oe=va(G);if(oe!=null)return oe;if(Va(G))return G.toUpperCase()}return G}).join("")+j,P=Le(R+M.map((G,Q)=>{let oe=va(G);return oe??(Va(G)?G.toUpperCase():Q===0?Le(G):G)}).join("")+j));let D=G=>G.split(" ").map(Q=>Q.split(/(\d+)/).map(vn).join("")).join("_");L=w?lu(l,D):D(l)}return{originalName:e,camelCase:x(t.casingOverrides?.camel??A),snakeCase:x(t.casingOverrides?.snake??L),screamingSnakeCase:x(t.casingOverrides?.["screaming-snake"]??L.toUpperCase()),pascalCase:x(t.casingOverrides?.pascal??P)}}function Xf({generationLanguage:e,keywords:t,smartCasing:r}){let i={generationLanguage:e,keywords:t,smartCasing:r};return{generateName:(o,c)=>{if(typeof o=="string")return Ma(o,c??{},i);if("wireValue"in o){let l=o.name;return typeof l=="string"?Ma(l,c??{},i):l}return o},generateNameAndWireValue:(o,c)=>{if(typeof o=="string")return{wireValue:o,name:Ma(o,c??{},i)};let{name:l,wireValue:x}=o,w=typeof l=="string"?Ma(l,c??{},i):l;return{wireValue:x,name:w}}}}function hh({name:e,keywords:t}){return t==null?e:t.has(e)?e+"_":bh(e)?"_"+e:e}function yh({generationLanguage:e,keywords:t}){if(t!=null)return new Set(t);if(e!=null)return Yf[e]}var gh=/^[0-9]/;function bh(e){return gh.test(e)}function xh(e){return e.some((t,r)=>{if(r===0)return!1;let i=e[r-1];if(i==null)return!1;let o=va(i)!=null||Va(i),c=va(t)!=null||Va(t);return o&&c})}function va(e){return wh.get(e.toUpperCase())}function Va(e){return Sh.has(e.toUpperCase())}var Sh=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"]),wh=new Map([["ACLS","ACLs"],["APIS","APIs"],["CPUS","CPUs"],["GUIDS","GUIDs"],["IDS","IDs"],["UIDS","UIDs"],["UUIDS","UUIDs"],["URIS","URIs"],["URLS","URLs"]]),Th=[[/\[\]/g,"Array"]];function Eh(e){return Th.reduce((t,[r,i])=>t.replace(r,i),e)}function Zf(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 lu(e,t){let{leading:r,trailing:i,core:o}=Zf(e);return r===""&&i===""?t(e):`${r}${t(o)}${i}`}n();a();s();function zi(e){return typeof e=="string"?e:e.wireValue}var qi=class e{constructor(t){y(this,"casingsGenerator");this.casingsGenerator=Xf(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}};n();a();s();var Ke=class extends ot{constructor(r){super();y(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 Nh=4;Pl({skip:0,maxFrames:15,filterFunctions:["Abstract"]});var Gi=class{constructor(){y(this,"lineBuffer",[]);y(this,"indentLevel",0);y(this,"hasWrittenAnything",!1);y(this,"lastCharacterIsSemicolon",!1);y(this,"lastCharacterIsNewline",!1);y(this,"nodeStackFrames",[])}get buffer(){return je&&this.nodeStackFrames.length>0&&this.writeInternal(`
|
|
1
|
+
"use strict";var Ln=Object.defineProperty;var od=Object.getOwnPropertyDescriptor;var ud=Object.getOwnPropertyNames;var cd=Object.prototype.hasOwnProperty;var pd=(e,t,r)=>t in e?Ln(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ar=(e,t)=>()=>(e&&(t=e(e=0)),t);var z=(e,t)=>{for(var r in t)Ln(e,r,{get:t[r],enumerable:!0})},ld=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ud(t))!cd.call(e,o)&&o!==r&&Ln(e,o,{get:()=>t[o],enumerable:!(i=od(t,o))||i.enumerable});return e};var fd=e=>ld(Ln({},"__esModule",{value:!0}),e);var y=(e,t,r)=>pd(e,typeof t!="symbol"?t+"":t,r);var n=ar(()=>{"use strict"});var f={};z(f,{_debugEnd:()=>Qc,_debugProcess:()=>Kc,_events:()=>fp,_eventsCount:()=>mp,_exiting:()=>Cc,_fatalExceptions:()=>Wc,_getActiveHandles:()=>Lc,_getActiveRequests:()=>Fc,_kill:()=>Bc,_linkedBinding:()=>Oc,_maxListeners:()=>lp,_preload_modules:()=>up,_rawDebug:()=>Nc,_startProfilerIdleNotifier:()=>Yc,_stopProfilerIdleNotifier:()=>Xc,_tickCallback:()=>Jc,abort:()=>rp,addListener:()=>dp,allowedNodeEnvironmentFlags:()=>zc,arch:()=>fc,argv:()=>hc,argv0:()=>op,assert:()=>qc,binding:()=>Sc,browser:()=>Ac,chdir:()=>Ec,config:()=>_c,cpuUsage:()=>Dn,cwd:()=>Tc,debugPort:()=>ap,default:()=>Ep,dlopen:()=>kc,domain:()=>Pc,emit:()=>xp,emitWarning:()=>xc,env:()=>dc,execArgv:()=>yc,execPath:()=>sp,exit:()=>vc,features:()=>Gc,hasUncaughtExceptionCaptureCallback:()=>Hc,hrtime:()=>Bn,kill:()=>Mc,listeners:()=>Tp,memoryUsage:()=>Uc,moduleLoadList:()=>Rc,nextTick:()=>cc,off:()=>yp,on:()=>st,once:()=>hp,openStdin:()=>Vc,pid:()=>ip,platform:()=>mc,ppid:()=>np,prependListener:()=>Sp,prependOnceListener:()=>wp,reallyExit:()=>jc,release:()=>Ic,removeAllListeners:()=>bp,removeListener:()=>gp,resourceUsage:()=>Dc,setSourceMapsEnabled:()=>cp,setUncaughtExceptionCaptureCallback:()=>$c,stderr:()=>ep,stdin:()=>tp,stdout:()=>Zc,title:()=>lc,umask:()=>wc,uptime:()=>pp,version:()=>gc,versions:()=>bc});function _o(e){throw new Error("Node.js process "+e+" is not supported by JSPM core outside of Node.js")}function md(){!or||!qt||(or=!1,qt.length?nt=qt.concat(nt):jn=-1,nt.length&&uc())}function uc(){if(!or){var e=setTimeout(md,0);or=!0;for(var t=nt.length;t;){for(qt=nt,nt=[];++jn<t;)qt&&qt[jn].run();jn=-1,t=nt.length}qt=null,or=!1,clearTimeout(e)}}function cc(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];nt.push(new pc(e,t)),nt.length===1&&!or&&setTimeout(uc,0)}function pc(e,t){this.fun=e,this.array=t}function Oe(){}function Oc(e){_o("_linkedBinding")}function kc(e){_o("dlopen")}function Fc(){return[]}function Lc(){return[]}function qc(e,t){if(!e)throw new Error(t||"assertion error")}function Hc(){return!1}function pp(){return bt.now()/1e3}function Bn(e){var t=Math.floor((Date.now()-bt.now())*.001),r=bt.now()*.001,i=Math.floor(r)+t,o=Math.floor(r%1*1e9);return e&&(i=i-e[0],o=o-e[1],o<0&&(i--,o+=Co)),[i,o]}function st(){return Ep}function Tp(e){return[]}var nt,or,qt,jn,lc,fc,mc,dc,hc,yc,gc,bc,xc,Sc,wc,Tc,Ec,Ic,Ac,Nc,Rc,Pc,Cc,_c,jc,Bc,Dn,Dc,Uc,Mc,vc,Vc,zc,Gc,Wc,$c,Jc,Kc,Qc,Yc,Xc,Zc,ep,tp,rp,ip,np,sp,ap,op,up,cp,bt,Po,Co,lp,fp,mp,dp,hp,yp,gp,bp,xp,Sp,wp,Ep,Ip=ar(()=>{"use strict";n();a();s();nt=[],or=!1,jn=-1;pc.prototype.run=function(){this.fun.apply(null,this.array)};lc="browser",fc="x64",mc="browser",dc={PATH:"/usr/bin",LANG:typeof navigator<"u"?navigator.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},hc=["/usr/bin/node"],yc=[],gc="v16.8.0",bc={},xc=function(e,t){console.warn((t?t+": ":"")+e)},Sc=function(e){_o("binding")},wc=function(e){return 0},Tc=function(){return"/"},Ec=function(e){},Ic={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};Ac=!0,Nc=Oe,Rc=[];Pc={},Cc=!1,_c={};jc=Oe,Bc=Oe,Dn=function(){return{}},Dc=Dn,Uc=Dn,Mc=Oe,vc=Oe,Vc=Oe,zc={};Gc={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Wc=Oe,$c=Oe;Jc=Oe,Kc=Oe,Qc=Oe,Yc=Oe,Xc=Oe,Zc=void 0,ep=void 0,tp=void 0,rp=Oe,ip=2,np=1,sp="/bin/usr/node",ap=9229,op="node",up=[],cp=Oe,bt={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};bt.now===void 0&&(Po=Date.now(),bt.timing&&bt.timing.navigationStart&&(Po=bt.timing.navigationStart),bt.now=()=>Date.now()-Po);Co=1e9;Bn.bigint=function(e){var t=Bn(e);return typeof BigInt>"u"?t[0]*Co+t[1]:BigInt(t[0]*Co)+BigInt(t[1])};lp=10,fp={},mp=0;dp=st,hp=st,yp=st,gp=st,bp=st,xp=Oe,Sp=st,wp=st;Ep={version:gc,versions:bc,arch:fc,platform:mc,browser:Ac,release:Ic,_rawDebug:Nc,moduleLoadList:Rc,binding:Sc,_linkedBinding:Oc,_events:fp,_eventsCount:mp,_maxListeners:lp,on:st,addListener:dp,once:hp,off:yp,removeListener:gp,removeAllListeners:bp,emit:xp,prependListener:Sp,prependOnceListener:wp,listeners:Tp,domain:Pc,_exiting:Cc,config:_c,dlopen:kc,uptime:pp,_getActiveRequests:Fc,_getActiveHandles:Lc,reallyExit:jc,_kill:Bc,cpuUsage:Dn,resourceUsage:Dc,memoryUsage:Uc,kill:Mc,exit:vc,openStdin:Vc,allowedNodeEnvironmentFlags:zc,assert:qc,features:Gc,_fatalExceptions:Wc,setUncaughtExceptionCaptureCallback:$c,hasUncaughtExceptionCaptureCallback:Hc,emitWarning:xc,nextTick:cc,_tickCallback:Jc,_debugProcess:Kc,_debugEnd:Qc,_startProfilerIdleNotifier:Yc,_stopProfilerIdleNotifier:Xc,stdout:Zc,stdin:tp,stderr:ep,abort:rp,umask:wc,chdir:Ec,cwd:Tc,env:dc,title:lc,argv:hc,execArgv:yc,pid:ip,ppid:np,execPath:sp,debugPort:ap,hrtime:Bn,argv0:op,_preload_modules:up,setSourceMapsEnabled:cp}});var s=ar(()=>{"use strict";Ip()});function dd(){if(Ap)return Pi;Ap=!0,Pi.byteLength=x,Pi.toByteArray=I,Pi.fromByteArray=L;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,c=i.length;o<c;++o)e[o]=i[o],t[i.charCodeAt(o)]=o;t[45]=62,t[95]=63;function l(R){var j=R.length;if(j%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var M=R.indexOf("=");M===-1&&(M=j);var D=M===j?0:4-M%4;return[M,D]}function x(R){var j=l(R),M=j[0],D=j[1];return(M+D)*3/4-D}function w(R,j,M){return(j+M)*3/4-M}function I(R){var j,M=l(R),D=M[0],G=M[1],Q=new r(w(R,D,G)),oe=0,X=G>0?D-4:D,K;for(K=0;K<X;K+=4)j=t[R.charCodeAt(K)]<<18|t[R.charCodeAt(K+1)]<<12|t[R.charCodeAt(K+2)]<<6|t[R.charCodeAt(K+3)],Q[oe++]=j>>16&255,Q[oe++]=j>>8&255,Q[oe++]=j&255;return G===2&&(j=t[R.charCodeAt(K)]<<2|t[R.charCodeAt(K+1)]>>4,Q[oe++]=j&255),G===1&&(j=t[R.charCodeAt(K)]<<10|t[R.charCodeAt(K+1)]<<4|t[R.charCodeAt(K+2)]>>2,Q[oe++]=j>>8&255,Q[oe++]=j&255),Q}function A(R){return e[R>>18&63]+e[R>>12&63]+e[R>>6&63]+e[R&63]}function P(R,j,M){for(var D,G=[],Q=j;Q<M;Q+=3)D=(R[Q]<<16&16711680)+(R[Q+1]<<8&65280)+(R[Q+2]&255),G.push(A(D));return G.join("")}function L(R){for(var j,M=R.length,D=M%3,G=[],Q=16383,oe=0,X=M-D;oe<X;oe+=Q)G.push(P(R,oe,oe+Q>X?X:oe+Q));return D===1?(j=R[M-1],G.push(e[j>>2]+e[j<<4&63]+"==")):D===2&&(j=(R[M-2]<<8)+R[M-1],G.push(e[j>>10]+e[j>>4&63]+e[j<<2&63]+"=")),G.join("")}return Pi}function hd(){if(Np)return Un;Np=!0;return Un.read=function(e,t,r,i,o){var c,l,x=o*8-i-1,w=(1<<x)-1,I=w>>1,A=-7,P=r?o-1:0,L=r?-1:1,R=e[t+P];for(P+=L,c=R&(1<<-A)-1,R>>=-A,A+=x;A>0;c=c*256+e[t+P],P+=L,A-=8);for(l=c&(1<<-A)-1,c>>=-A,A+=i;A>0;l=l*256+e[t+P],P+=L,A-=8);if(c===0)c=1-I;else{if(c===w)return l?NaN:(R?-1:1)*(1/0);l=l+Math.pow(2,i),c=c-I}return(R?-1:1)*l*Math.pow(2,c-i)},Un.write=function(e,t,r,i,o,c){var l,x,w,I=c*8-o-1,A=(1<<I)-1,P=A>>1,L=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,R=i?0:c-1,j=i?1:-1,M=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(x=isNaN(t)?1:0,l=A):(l=Math.floor(Math.log(t)/Math.LN2),t*(w=Math.pow(2,-l))<1&&(l--,w*=2),l+P>=1?t+=L/w:t+=L*Math.pow(2,1-P),t*w>=2&&(l++,w/=2),l+P>=A?(x=0,l=A):l+P>=1?(x=(t*w-1)*Math.pow(2,o),l=l+P):(x=t*Math.pow(2,P-1)*Math.pow(2,o),l=0));o>=8;e[r+R]=x&255,R+=j,x/=256,o-=8);for(l=l<<o|x,I+=o;I>0;e[r+R]=l&255,R+=j,l/=256,I-=8);e[r+R-j]|=M*128},Un}function Op(){if(Rp)return Gt;Rp=!0;let e=dd(),t=hd(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Gt.Buffer=l,Gt.SlowBuffer=G,Gt.INSPECT_MAX_BYTES=50;let i=2147483647;Gt.kMaxLength=i,l.TYPED_ARRAY_SUPPORT=o(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function o(){try{let g=new Uint8Array(1),u={foo:function(){return 42}};return Object.setPrototypeOf(u,Uint8Array.prototype),Object.setPrototypeOf(g,u),g.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function c(g){if(g>i)throw new RangeError('The value "'+g+'" is invalid for option "size"');let u=new Uint8Array(g);return Object.setPrototypeOf(u,l.prototype),u}function l(g,u,h){if(typeof g=="number"){if(typeof u=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return A(g)}return x(g,u,h)}l.poolSize=8192;function x(g,u,h){if(typeof g=="string")return P(g,u);if(ArrayBuffer.isView(g))return R(g);if(g==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g);if(et(g,ArrayBuffer)||g&&et(g.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(et(g,SharedArrayBuffer)||g&&et(g.buffer,SharedArrayBuffer)))return j(g,u,h);if(typeof g=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let S=g.valueOf&&g.valueOf();if(S!=null&&S!==g)return l.from(S,u,h);let T=M(g);if(T)return T;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof g[Symbol.toPrimitive]=="function")return l.from(g[Symbol.toPrimitive]("string"),u,h);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g)}l.from=function(g,u,h){return x(g,u,h)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function w(g){if(typeof g!="number")throw new TypeError('"size" argument must be of type number');if(g<0)throw new RangeError('The value "'+g+'" is invalid for option "size"')}function I(g,u,h){return w(g),g<=0?c(g):u!==void 0?typeof h=="string"?c(g).fill(u,h):c(g).fill(u):c(g)}l.alloc=function(g,u,h){return I(g,u,h)};function A(g){return w(g),c(g<0?0:D(g)|0)}l.allocUnsafe=function(g){return A(g)},l.allocUnsafeSlow=function(g){return A(g)};function P(g,u){if((typeof u!="string"||u==="")&&(u="utf8"),!l.isEncoding(u))throw new TypeError("Unknown encoding: "+u);let h=Q(g,u)|0,S=c(h),T=S.write(g,u);return T!==h&&(S=S.slice(0,T)),S}function L(g){let u=g.length<0?0:D(g.length)|0,h=c(u);for(let S=0;S<u;S+=1)h[S]=g[S]&255;return h}function R(g){if(et(g,Uint8Array)){let u=new Uint8Array(g);return j(u.buffer,u.byteOffset,u.byteLength)}return L(g)}function j(g,u,h){if(u<0||g.byteLength<u)throw new RangeError('"offset" is outside of buffer bounds');if(g.byteLength<u+(h||0))throw new RangeError('"length" is outside of buffer bounds');let S;return u===void 0&&h===void 0?S=new Uint8Array(g):h===void 0?S=new Uint8Array(g,u):S=new Uint8Array(g,u,h),Object.setPrototypeOf(S,l.prototype),S}function M(g){if(l.isBuffer(g)){let u=D(g.length)|0,h=c(u);return h.length===0||g.copy(h,0,0,u),h}if(g.length!==void 0)return typeof g.length!="number"||Oo(g.length)?c(0):L(g);if(g.type==="Buffer"&&Array.isArray(g.data))return L(g.data)}function D(g){if(g>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return g|0}function G(g){return+g!=g&&(g=0),l.alloc(+g)}l.isBuffer=function(u){return u!=null&&u._isBuffer===!0&&u!==l.prototype},l.compare=function(u,h){if(et(u,Uint8Array)&&(u=l.from(u,u.offset,u.byteLength)),et(h,Uint8Array)&&(h=l.from(h,h.offset,h.byteLength)),!l.isBuffer(u)||!l.isBuffer(h))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(u===h)return 0;let S=u.length,T=h.length;for(let N=0,_=Math.min(S,T);N<_;++N)if(u[N]!==h[N]){S=u[N],T=h[N];break}return S<T?-1:T<S?1:0},l.isEncoding=function(u){switch(String(u).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(u,h){if(!Array.isArray(u))throw new TypeError('"list" argument must be an Array of Buffers');if(u.length===0)return l.alloc(0);let S;if(h===void 0)for(h=0,S=0;S<u.length;++S)h+=u[S].length;let T=l.allocUnsafe(h),N=0;for(S=0;S<u.length;++S){let _=u[S];if(et(_,Uint8Array))N+_.length>T.length?(l.isBuffer(_)||(_=l.from(_)),_.copy(T,N)):Uint8Array.prototype.set.call(T,_,N);else if(l.isBuffer(_))_.copy(T,N);else throw new TypeError('"list" argument must be an Array of Buffers');N+=_.length}return T};function Q(g,u){if(l.isBuffer(g))return g.length;if(ArrayBuffer.isView(g)||et(g,ArrayBuffer))return g.byteLength;if(typeof g!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof g);let h=g.length,S=arguments.length>2&&arguments[2]===!0;if(!S&&h===0)return 0;let T=!1;for(;;)switch(u){case"ascii":case"latin1":case"binary":return h;case"utf8":case"utf-8":return Ro(g).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h*2;case"hex":return h>>>1;case"base64":return oc(g).length;default:if(T)return S?-1:Ro(g).length;u=(""+u).toLowerCase(),T=!0}}l.byteLength=Q;function oe(g,u,h){let S=!1;if((u===void 0||u<0)&&(u=0),u>this.length||((h===void 0||h>this.length)&&(h=this.length),h<=0)||(h>>>=0,u>>>=0,h<=u))return"";for(g||(g="utf8");;)switch(g){case"hex":return Xm(this,u,h);case"utf8":case"utf-8":return Xu(this,u,h);case"ascii":return Qm(this,u,h);case"latin1":case"binary":return Ym(this,u,h);case"base64":return Jm(this,u,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zm(this,u,h);default:if(S)throw new TypeError("Unknown encoding: "+g);g=(g+"").toLowerCase(),S=!0}}l.prototype._isBuffer=!0;function X(g,u,h){let S=g[u];g[u]=g[h],g[h]=S}l.prototype.swap16=function(){let u=this.length;if(u%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let h=0;h<u;h+=2)X(this,h,h+1);return this},l.prototype.swap32=function(){let u=this.length;if(u%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let h=0;h<u;h+=4)X(this,h,h+3),X(this,h+1,h+2);return this},l.prototype.swap64=function(){let u=this.length;if(u%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let h=0;h<u;h+=8)X(this,h,h+7),X(this,h+1,h+6),X(this,h+2,h+5),X(this,h+3,h+4);return this},l.prototype.toString=function(){let u=this.length;return u===0?"":arguments.length===0?Xu(this,0,u):oe.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(u){if(!l.isBuffer(u))throw new TypeError("Argument must be a Buffer");return this===u?!0:l.compare(this,u)===0},l.prototype.inspect=function(){let u="",h=Gt.INSPECT_MAX_BYTES;return u=this.toString("hex",0,h).replace(/(.{2})/g,"$1 ").trim(),this.length>h&&(u+=" ... "),"<Buffer "+u+">"},r&&(l.prototype[r]=l.prototype.inspect),l.prototype.compare=function(u,h,S,T,N){if(et(u,Uint8Array)&&(u=l.from(u,u.offset,u.byteLength)),!l.isBuffer(u))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof u);if(h===void 0&&(h=0),S===void 0&&(S=u?u.length:0),T===void 0&&(T=0),N===void 0&&(N=this.length),h<0||S>u.length||T<0||N>this.length)throw new RangeError("out of range index");if(T>=N&&h>=S)return 0;if(T>=N)return-1;if(h>=S)return 1;if(h>>>=0,S>>>=0,T>>>=0,N>>>=0,this===u)return 0;let _=N-T,Z=S-h,he=Math.min(_,Z),fe=this.slice(T,N),ye=u.slice(h,S);for(let le=0;le<he;++le)if(fe[le]!==ye[le]){_=fe[le],Z=ye[le];break}return _<Z?-1:Z<_?1:0};function K(g,u,h,S,T){if(g.length===0)return-1;if(typeof h=="string"?(S=h,h=0):h>2147483647?h=2147483647:h<-2147483648&&(h=-2147483648),h=+h,Oo(h)&&(h=T?0:g.length-1),h<0&&(h=g.length+h),h>=g.length){if(T)return-1;h=g.length-1}else if(h<0)if(T)h=0;else return-1;if(typeof u=="string"&&(u=l.from(u,S)),l.isBuffer(u))return u.length===0?-1:C(g,u,h,S,T);if(typeof u=="number")return u=u&255,typeof Uint8Array.prototype.indexOf=="function"?T?Uint8Array.prototype.indexOf.call(g,u,h):Uint8Array.prototype.lastIndexOf.call(g,u,h):C(g,[u],h,S,T);throw new TypeError("val must be string, number or Buffer")}function C(g,u,h,S,T){let N=1,_=g.length,Z=u.length;if(S!==void 0&&(S=String(S).toLowerCase(),S==="ucs2"||S==="ucs-2"||S==="utf16le"||S==="utf-16le")){if(g.length<2||u.length<2)return-1;N=2,_/=2,Z/=2,h/=2}function he(ye,le){return N===1?ye[le]:ye.readUInt16BE(le*N)}let fe;if(T){let ye=-1;for(fe=h;fe<_;fe++)if(he(g,fe)===he(u,ye===-1?0:fe-ye)){if(ye===-1&&(ye=fe),fe-ye+1===Z)return ye*N}else ye!==-1&&(fe-=fe-ye),ye=-1}else for(h+Z>_&&(h=_-Z),fe=h;fe>=0;fe--){let ye=!0;for(let le=0;le<Z;le++)if(he(g,fe+le)!==he(u,le)){ye=!1;break}if(ye)return fe}return-1}l.prototype.includes=function(u,h,S){return this.indexOf(u,h,S)!==-1},l.prototype.indexOf=function(u,h,S){return K(this,u,h,S,!0)},l.prototype.lastIndexOf=function(u,h,S){return K(this,u,h,S,!1)};function U(g,u,h,S){h=Number(h)||0;let T=g.length-h;S?(S=Number(S),S>T&&(S=T)):S=T;let N=u.length;S>N/2&&(S=N/2);let _;for(_=0;_<S;++_){let Z=parseInt(u.substr(_*2,2),16);if(Oo(Z))return _;g[h+_]=Z}return _}function re(g,u,h,S){return Fn(Ro(u,g.length-h),g,h,S)}function He(g,u,h,S){return Fn(id(u),g,h,S)}function Ni(g,u,h,S){return Fn(oc(u),g,h,S)}function Ri(g,u,h,S){return Fn(nd(u,g.length-h),g,h,S)}l.prototype.write=function(u,h,S,T){if(h===void 0)T="utf8",S=this.length,h=0;else if(S===void 0&&typeof h=="string")T=h,S=this.length,h=0;else if(isFinite(h))h=h>>>0,isFinite(S)?(S=S>>>0,T===void 0&&(T="utf8")):(T=S,S=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let N=this.length-h;if((S===void 0||S>N)&&(S=N),u.length>0&&(S<0||h<0)||h>this.length)throw new RangeError("Attempt to write outside buffer bounds");T||(T="utf8");let _=!1;for(;;)switch(T){case"hex":return U(this,u,h,S);case"utf8":case"utf-8":return re(this,u,h,S);case"ascii":case"latin1":case"binary":return He(this,u,h,S);case"base64":return Ni(this,u,h,S);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ri(this,u,h,S);default:if(_)throw new TypeError("Unknown encoding: "+T);T=(""+T).toLowerCase(),_=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Jm(g,u,h){return u===0&&h===g.length?e.fromByteArray(g):e.fromByteArray(g.slice(u,h))}function Xu(g,u,h){h=Math.min(g.length,h);let S=[],T=u;for(;T<h;){let N=g[T],_=null,Z=N>239?4:N>223?3:N>191?2:1;if(T+Z<=h){let he,fe,ye,le;switch(Z){case 1:N<128&&(_=N);break;case 2:he=g[T+1],(he&192)===128&&(le=(N&31)<<6|he&63,le>127&&(_=le));break;case 3:he=g[T+1],fe=g[T+2],(he&192)===128&&(fe&192)===128&&(le=(N&15)<<12|(he&63)<<6|fe&63,le>2047&&(le<55296||le>57343)&&(_=le));break;case 4:he=g[T+1],fe=g[T+2],ye=g[T+3],(he&192)===128&&(fe&192)===128&&(ye&192)===128&&(le=(N&15)<<18|(he&63)<<12|(fe&63)<<6|ye&63,le>65535&&le<1114112&&(_=le))}}_===null?(_=65533,Z=1):_>65535&&(_-=65536,S.push(_>>>10&1023|55296),_=56320|_&1023),S.push(_),T+=Z}return Km(S)}let Zu=4096;function Km(g){let u=g.length;if(u<=Zu)return String.fromCharCode.apply(String,g);let h="",S=0;for(;S<u;)h+=String.fromCharCode.apply(String,g.slice(S,S+=Zu));return h}function Qm(g,u,h){let S="";h=Math.min(g.length,h);for(let T=u;T<h;++T)S+=String.fromCharCode(g[T]&127);return S}function Ym(g,u,h){let S="";h=Math.min(g.length,h);for(let T=u;T<h;++T)S+=String.fromCharCode(g[T]);return S}function Xm(g,u,h){let S=g.length;(!u||u<0)&&(u=0),(!h||h<0||h>S)&&(h=S);let T="";for(let N=u;N<h;++N)T+=sd[g[N]];return T}function Zm(g,u,h){let S=g.slice(u,h),T="";for(let N=0;N<S.length-1;N+=2)T+=String.fromCharCode(S[N]+S[N+1]*256);return T}l.prototype.slice=function(u,h){let S=this.length;u=~~u,h=h===void 0?S:~~h,u<0?(u+=S,u<0&&(u=0)):u>S&&(u=S),h<0?(h+=S,h<0&&(h=0)):h>S&&(h=S),h<u&&(h=u);let T=this.subarray(u,h);return Object.setPrototypeOf(T,l.prototype),T};function be(g,u,h){if(g%1!==0||g<0)throw new RangeError("offset is not uint");if(g+u>h)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=this[u],N=1,_=0;for(;++_<h&&(N*=256);)T+=this[u+_]*N;return T},l.prototype.readUintBE=l.prototype.readUIntBE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=this[u+--h],N=1;for(;h>0&&(N*=256);)T+=this[u+--h]*N;return T},l.prototype.readUint8=l.prototype.readUInt8=function(u,h){return u=u>>>0,h||be(u,1,this.length),this[u]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(u,h){return u=u>>>0,h||be(u,2,this.length),this[u]|this[u+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(u,h){return u=u>>>0,h||be(u,2,this.length),this[u]<<8|this[u+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(u,h){return u=u>>>0,h||be(u,4,this.length),(this[u]|this[u+1]<<8|this[u+2]<<16)+this[u+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(u,h){return u=u>>>0,h||be(u,4,this.length),this[u]*16777216+(this[u+1]<<16|this[u+2]<<8|this[u+3])},l.prototype.readBigUInt64LE=gt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Oi(u,this.length-8);let T=h+this[++u]*2**8+this[++u]*2**16+this[++u]*2**24,N=this[++u]+this[++u]*2**8+this[++u]*2**16+S*2**24;return BigInt(T)+(BigInt(N)<<BigInt(32))}),l.prototype.readBigUInt64BE=gt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Oi(u,this.length-8);let T=h*2**24+this[++u]*2**16+this[++u]*2**8+this[++u],N=this[++u]*2**24+this[++u]*2**16+this[++u]*2**8+S;return(BigInt(T)<<BigInt(32))+BigInt(N)}),l.prototype.readIntLE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=this[u],N=1,_=0;for(;++_<h&&(N*=256);)T+=this[u+_]*N;return N*=128,T>=N&&(T-=Math.pow(2,8*h)),T},l.prototype.readIntBE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=h,N=1,_=this[u+--T];for(;T>0&&(N*=256);)_+=this[u+--T]*N;return N*=128,_>=N&&(_-=Math.pow(2,8*h)),_},l.prototype.readInt8=function(u,h){return u=u>>>0,h||be(u,1,this.length),this[u]&128?(255-this[u]+1)*-1:this[u]},l.prototype.readInt16LE=function(u,h){u=u>>>0,h||be(u,2,this.length);let S=this[u]|this[u+1]<<8;return S&32768?S|4294901760:S},l.prototype.readInt16BE=function(u,h){u=u>>>0,h||be(u,2,this.length);let S=this[u+1]|this[u]<<8;return S&32768?S|4294901760:S},l.prototype.readInt32LE=function(u,h){return u=u>>>0,h||be(u,4,this.length),this[u]|this[u+1]<<8|this[u+2]<<16|this[u+3]<<24},l.prototype.readInt32BE=function(u,h){return u=u>>>0,h||be(u,4,this.length),this[u]<<24|this[u+1]<<16|this[u+2]<<8|this[u+3]},l.prototype.readBigInt64LE=gt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Oi(u,this.length-8);let T=this[u+4]+this[u+5]*2**8+this[u+6]*2**16+(S<<24);return(BigInt(T)<<BigInt(32))+BigInt(h+this[++u]*2**8+this[++u]*2**16+this[++u]*2**24)}),l.prototype.readBigInt64BE=gt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Oi(u,this.length-8);let T=(h<<24)+this[++u]*2**16+this[++u]*2**8+this[++u];return(BigInt(T)<<BigInt(32))+BigInt(this[++u]*2**24+this[++u]*2**16+this[++u]*2**8+S)}),l.prototype.readFloatLE=function(u,h){return u=u>>>0,h||be(u,4,this.length),t.read(this,u,!0,23,4)},l.prototype.readFloatBE=function(u,h){return u=u>>>0,h||be(u,4,this.length),t.read(this,u,!1,23,4)},l.prototype.readDoubleLE=function(u,h){return u=u>>>0,h||be(u,8,this.length),t.read(this,u,!0,52,8)},l.prototype.readDoubleBE=function(u,h){return u=u>>>0,h||be(u,8,this.length),t.read(this,u,!1,52,8)};function Fe(g,u,h,S,T,N){if(!l.isBuffer(g))throw new TypeError('"buffer" argument must be a Buffer instance');if(u>T||u<N)throw new RangeError('"value" argument is out of bounds');if(h+S>g.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(u,h,S,T){if(u=+u,h=h>>>0,S=S>>>0,!T){let Z=Math.pow(2,8*S)-1;Fe(this,u,h,S,Z,0)}let N=1,_=0;for(this[h]=u&255;++_<S&&(N*=256);)this[h+_]=u/N&255;return h+S},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(u,h,S,T){if(u=+u,h=h>>>0,S=S>>>0,!T){let Z=Math.pow(2,8*S)-1;Fe(this,u,h,S,Z,0)}let N=S-1,_=1;for(this[h+N]=u&255;--N>=0&&(_*=256);)this[h+N]=u/_&255;return h+S},l.prototype.writeUint8=l.prototype.writeUInt8=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,1,255,0),this[h]=u&255,h+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,65535,0),this[h]=u&255,this[h+1]=u>>>8,h+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,65535,0),this[h]=u>>>8,this[h+1]=u&255,h+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,4294967295,0),this[h+3]=u>>>24,this[h+2]=u>>>16,this[h+1]=u>>>8,this[h]=u&255,h+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,4294967295,0),this[h]=u>>>24,this[h+1]=u>>>16,this[h+2]=u>>>8,this[h+3]=u&255,h+4};function ec(g,u,h,S,T){ac(u,S,T,g,h,7);let N=Number(u&BigInt(4294967295));g[h++]=N,N=N>>8,g[h++]=N,N=N>>8,g[h++]=N,N=N>>8,g[h++]=N;let _=Number(u>>BigInt(32)&BigInt(4294967295));return g[h++]=_,_=_>>8,g[h++]=_,_=_>>8,g[h++]=_,_=_>>8,g[h++]=_,h}function tc(g,u,h,S,T){ac(u,S,T,g,h,7);let N=Number(u&BigInt(4294967295));g[h+7]=N,N=N>>8,g[h+6]=N,N=N>>8,g[h+5]=N,N=N>>8,g[h+4]=N;let _=Number(u>>BigInt(32)&BigInt(4294967295));return g[h+3]=_,_=_>>8,g[h+2]=_,_=_>>8,g[h+1]=_,_=_>>8,g[h]=_,h+8}l.prototype.writeBigUInt64LE=gt(function(u,h=0){return ec(this,u,h,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=gt(function(u,h=0){return tc(this,u,h,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(u,h,S,T){if(u=+u,h=h>>>0,!T){let he=Math.pow(2,8*S-1);Fe(this,u,h,S,he-1,-he)}let N=0,_=1,Z=0;for(this[h]=u&255;++N<S&&(_*=256);)u<0&&Z===0&&this[h+N-1]!==0&&(Z=1),this[h+N]=(u/_>>0)-Z&255;return h+S},l.prototype.writeIntBE=function(u,h,S,T){if(u=+u,h=h>>>0,!T){let he=Math.pow(2,8*S-1);Fe(this,u,h,S,he-1,-he)}let N=S-1,_=1,Z=0;for(this[h+N]=u&255;--N>=0&&(_*=256);)u<0&&Z===0&&this[h+N+1]!==0&&(Z=1),this[h+N]=(u/_>>0)-Z&255;return h+S},l.prototype.writeInt8=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,1,127,-128),u<0&&(u=255+u+1),this[h]=u&255,h+1},l.prototype.writeInt16LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,32767,-32768),this[h]=u&255,this[h+1]=u>>>8,h+2},l.prototype.writeInt16BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,32767,-32768),this[h]=u>>>8,this[h+1]=u&255,h+2},l.prototype.writeInt32LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,2147483647,-2147483648),this[h]=u&255,this[h+1]=u>>>8,this[h+2]=u>>>16,this[h+3]=u>>>24,h+4},l.prototype.writeInt32BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,2147483647,-2147483648),u<0&&(u=4294967295+u+1),this[h]=u>>>24,this[h+1]=u>>>16,this[h+2]=u>>>8,this[h+3]=u&255,h+4},l.prototype.writeBigInt64LE=gt(function(u,h=0){return ec(this,u,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=gt(function(u,h=0){return tc(this,u,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function rc(g,u,h,S,T,N){if(h+S>g.length)throw new RangeError("Index out of range");if(h<0)throw new RangeError("Index out of range")}function ic(g,u,h,S,T){return u=+u,h=h>>>0,T||rc(g,u,h,4),t.write(g,u,h,S,23,4),h+4}l.prototype.writeFloatLE=function(u,h,S){return ic(this,u,h,!0,S)},l.prototype.writeFloatBE=function(u,h,S){return ic(this,u,h,!1,S)};function nc(g,u,h,S,T){return u=+u,h=h>>>0,T||rc(g,u,h,8),t.write(g,u,h,S,52,8),h+8}l.prototype.writeDoubleLE=function(u,h,S){return nc(this,u,h,!0,S)},l.prototype.writeDoubleBE=function(u,h,S){return nc(this,u,h,!1,S)},l.prototype.copy=function(u,h,S,T){if(!l.isBuffer(u))throw new TypeError("argument should be a Buffer");if(S||(S=0),!T&&T!==0&&(T=this.length),h>=u.length&&(h=u.length),h||(h=0),T>0&&T<S&&(T=S),T===S||u.length===0||this.length===0)return 0;if(h<0)throw new RangeError("targetStart out of bounds");if(S<0||S>=this.length)throw new RangeError("Index out of range");if(T<0)throw new RangeError("sourceEnd out of bounds");T>this.length&&(T=this.length),u.length-h<T-S&&(T=u.length-h+S);let N=T-S;return this===u&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(h,S,T):Uint8Array.prototype.set.call(u,this.subarray(S,T),h),N},l.prototype.fill=function(u,h,S,T){if(typeof u=="string"){if(typeof h=="string"?(T=h,h=0,S=this.length):typeof S=="string"&&(T=S,S=this.length),T!==void 0&&typeof T!="string")throw new TypeError("encoding must be a string");if(typeof T=="string"&&!l.isEncoding(T))throw new TypeError("Unknown encoding: "+T);if(u.length===1){let _=u.charCodeAt(0);(T==="utf8"&&_<128||T==="latin1")&&(u=_)}}else typeof u=="number"?u=u&255:typeof u=="boolean"&&(u=Number(u));if(h<0||this.length<h||this.length<S)throw new RangeError("Out of range index");if(S<=h)return this;h=h>>>0,S=S===void 0?this.length:S>>>0,u||(u=0);let N;if(typeof u=="number")for(N=h;N<S;++N)this[N]=u;else{let _=l.isBuffer(u)?u:l.from(u,T),Z=_.length;if(Z===0)throw new TypeError('The value "'+u+'" is invalid for argument "value"');for(N=0;N<S-h;++N)this[N+h]=_[N%Z]}return this};let nr={};function No(g,u,h){nr[g]=class extends h{constructor(){super(),Object.defineProperty(this,"message",{value:u.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${g}]`,this.stack,delete this.name}get code(){return g}set code(T){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:T,writable:!0})}toString(){return`${this.name} [${g}]: ${this.message}`}}}No("ERR_BUFFER_OUT_OF_BOUNDS",function(g){return g?`${g} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),No("ERR_INVALID_ARG_TYPE",function(g,u){return`The "${g}" argument must be of type number. Received type ${typeof u}`},TypeError),No("ERR_OUT_OF_RANGE",function(g,u,h){let S=`The value of "${g}" is out of range.`,T=h;return Number.isInteger(h)&&Math.abs(h)>2**32?T=sc(String(h)):typeof h=="bigint"&&(T=String(h),(h>BigInt(2)**BigInt(32)||h<-(BigInt(2)**BigInt(32)))&&(T=sc(T)),T+="n"),S+=` It must be ${u}. Received ${T}`,S},RangeError);function sc(g){let u="",h=g.length,S=g[0]==="-"?1:0;for(;h>=S+4;h-=3)u=`_${g.slice(h-3,h)}${u}`;return`${g.slice(0,h)}${u}`}function ed(g,u,h){sr(u,"offset"),(g[u]===void 0||g[u+h]===void 0)&&Oi(u,g.length-(h+1))}function ac(g,u,h,S,T,N){if(g>h||g<u){let _=typeof u=="bigint"?"n":"",Z;throw u===0||u===BigInt(0)?Z=`>= 0${_} and < 2${_} ** ${(N+1)*8}${_}`:Z=`>= -(2${_} ** ${(N+1)*8-1}${_}) and < 2 ** ${(N+1)*8-1}${_}`,new nr.ERR_OUT_OF_RANGE("value",Z,g)}ed(S,T,N)}function sr(g,u){if(typeof g!="number")throw new nr.ERR_INVALID_ARG_TYPE(u,"number",g)}function Oi(g,u,h){throw Math.floor(g)!==g?(sr(g,h),new nr.ERR_OUT_OF_RANGE("offset","an integer",g)):u<0?new nr.ERR_BUFFER_OUT_OF_BOUNDS:new nr.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${u}`,g)}let td=/[^+/0-9A-Za-z-_]/g;function rd(g){if(g=g.split("=")[0],g=g.trim().replace(td,""),g.length<2)return"";for(;g.length%4!==0;)g=g+"=";return g}function Ro(g,u){u=u||1/0;let h,S=g.length,T=null,N=[];for(let _=0;_<S;++_){if(h=g.charCodeAt(_),h>55295&&h<57344){if(!T){if(h>56319){(u-=3)>-1&&N.push(239,191,189);continue}else if(_+1===S){(u-=3)>-1&&N.push(239,191,189);continue}T=h;continue}if(h<56320){(u-=3)>-1&&N.push(239,191,189),T=h;continue}h=(T-55296<<10|h-56320)+65536}else T&&(u-=3)>-1&&N.push(239,191,189);if(T=null,h<128){if((u-=1)<0)break;N.push(h)}else if(h<2048){if((u-=2)<0)break;N.push(h>>6|192,h&63|128)}else if(h<65536){if((u-=3)<0)break;N.push(h>>12|224,h>>6&63|128,h&63|128)}else if(h<1114112){if((u-=4)<0)break;N.push(h>>18|240,h>>12&63|128,h>>6&63|128,h&63|128)}else throw new Error("Invalid code point")}return N}function id(g){let u=[];for(let h=0;h<g.length;++h)u.push(g.charCodeAt(h)&255);return u}function nd(g,u){let h,S,T,N=[];for(let _=0;_<g.length&&!((u-=2)<0);++_)h=g.charCodeAt(_),S=h>>8,T=h%256,N.push(T),N.push(S);return N}function oc(g){return e.toByteArray(rd(g))}function Fn(g,u,h,S){let T;for(T=0;T<S&&!(T+h>=u.length||T>=g.length);++T)u[T+h]=g[T];return T}function et(g,u){return g instanceof u||g!=null&&g.constructor!=null&&g.constructor.name!=null&&g.constructor.name===u.name}function Oo(g){return g!==g}let sd=(function(){let g="0123456789abcdef",u=new Array(256);for(let h=0;h<16;++h){let S=h*16;for(let T=0;T<16;++T)u[S+T]=g[h]+g[T]}return u})();function gt(g){return typeof BigInt>"u"?ad:g}function ad(){throw new Error("BigInt not supported")}return Gt}var Pi,Ap,Un,Np,Gt,Rp,Pp=ar(()=>{"use strict";n();a();s();Pi={},Ap=!1;Un={},Np=!1;Gt={},Rp=!1});var Wt,m,ag,og,Cp=ar(()=>{"use strict";n();a();s();Pp();Wt=Op();Wt.Buffer;Wt.SlowBuffer;Wt.INSPECT_MAX_BYTES;Wt.kMaxLength;m=Wt.Buffer,ag=Wt.INSPECT_MAX_BYTES,og=Wt.kMaxLength});var a=ar(()=>{"use strict";Cp()});var Hy={};z(Hy,{DynamicSnippetsGenerator:()=>Ao});module.exports=fd(Hy);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 yd=typeof global=="object"&&global&&global.Object===Object&&global,_p=yd;var gd=typeof self=="object"&&self&&self.Object===Object&&self,bd=_p||gd||Function("return this")(),kp=bd;var xd=kp.Symbol,at=xd;n();a();s();var Fp=Object.prototype,Sd=Fp.hasOwnProperty,wd=Fp.toString,Ci=at?at.toStringTag:void 0;function Td(e){var t=Sd.call(e,Ci),r=e[Ci];try{e[Ci]=void 0;var i=!0}catch{}var o=wd.call(e);return i&&(t?e[Ci]=r:delete e[Ci]),o}var Lp=Td;n();a();s();var Ed=Object.prototype,Id=Ed.toString;function Ad(e){return Id.call(e)}var jp=Ad;var Nd="[object Null]",Rd="[object Undefined]",Bp=at?at.toStringTag:void 0;function Od(e){return e==null?e===void 0?Rd:Nd:Bp&&Bp in Object(e)?Lp(e):jp(e)}var Dp=Od;n();a();s();function Pd(e){return e!=null&&typeof e=="object"}var Up=Pd;var Cd="[object Symbol]";function _d(e){return typeof e=="symbol"||Up(e)&&Dp(e)==Cd}var Mp=_d;n();a();s();n();a();s();function kd(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 vp=kd;n();a();s();var Fd=Array.isArray,Vp=Fd;var Ld=1/0,zp=at?at.prototype:void 0,qp=zp?zp.toString:void 0;function Gp(e){if(typeof e=="string")return e;if(Vp(e))return vp(e,Gp)+"";if(Mp(e))return qp?qp.call(e):"";var t=e+"";return t=="0"&&1/e==-Ld?"-0":t}var Wp=Gp;n();a();s();function jd(e){return e==null?"":Wp(e)}var xt=jd;n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();function Bd(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 $p=Bd;function Dd(e,t,r){var i=e.length;return r=r===void 0?i:r,!t&&r>=i?e:$p(e,t,r)}var Hp=Dd;n();a();s();var Ud="\\ud800-\\udfff",Md="\\u0300-\\u036f",vd="\\ufe20-\\ufe2f",Vd="\\u20d0-\\u20ff",zd=Md+vd+Vd,qd="\\ufe0e\\ufe0f",Gd="\\u200d",Wd=RegExp("["+Gd+Ud+zd+qd+"]");function $d(e){return Wd.test(e)}var Mn=$d;n();a();s();n();a();s();function Hd(e){return e.split("")}var Jp=Hd;n();a();s();var Kp="\\ud800-\\udfff",Jd="\\u0300-\\u036f",Kd="\\ufe20-\\ufe2f",Qd="\\u20d0-\\u20ff",Yd=Jd+Kd+Qd,Xd="\\ufe0e\\ufe0f",Zd="["+Kp+"]",ko="["+Yd+"]",Fo="\\ud83c[\\udffb-\\udfff]",e0="(?:"+ko+"|"+Fo+")",Qp="[^"+Kp+"]",Yp="(?:\\ud83c[\\udde6-\\uddff]){2}",Xp="[\\ud800-\\udbff][\\udc00-\\udfff]",t0="\\u200d",Zp=e0+"?",el="["+Xd+"]?",r0="(?:"+t0+"(?:"+[Qp,Yp,Xp].join("|")+")"+el+Zp+")*",i0=el+Zp+r0,n0="(?:"+[Qp+ko+"?",ko,Yp,Xp,Zd].join("|")+")",s0=RegExp(Fo+"(?="+Fo+")|"+n0+i0,"g");function a0(e){return e.match(s0)||[]}var tl=a0;function o0(e){return Mn(e)?tl(e):Jp(e)}var rl=o0;function u0(e){return function(t){t=xt(t);var r=Mn(t)?rl(t):void 0,i=r?r[0]:t.charAt(0),o=r?Hp(r,1).join(""):t.slice(1);return i[e]()+o}}var il=u0;var c0=il("toUpperCase"),Le=c0;function p0(e){return Le(xt(e).toLowerCase())}var nl=p0;n();a();s();n();a();s();function l0(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 sl=l0;n();a();s();n();a();s();n();a();s();function f0(e){return function(t){return e?.[t]}}var al=f0;var m0={\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"},d0=al(m0),ol=d0;var h0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,y0="\\u0300-\\u036f",g0="\\ufe20-\\ufe2f",b0="\\u20d0-\\u20ff",x0=y0+g0+b0,S0="["+x0+"]",w0=RegExp(S0,"g");function T0(e){return e=xt(e),e&&e.replace(h0,ol).replace(w0,"")}var ul=T0;n();a();s();n();a();s();var E0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function I0(e){return e.match(E0)||[]}var cl=I0;n();a();s();var A0=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function N0(e){return A0.test(e)}var pl=N0;n();a();s();var hl="\\ud800-\\udfff",R0="\\u0300-\\u036f",O0="\\ufe20-\\ufe2f",P0="\\u20d0-\\u20ff",C0=R0+O0+P0,yl="\\u2700-\\u27bf",gl="a-z\\xdf-\\xf6\\xf8-\\xff",_0="\\xac\\xb1\\xd7\\xf7",k0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",F0="\\u2000-\\u206f",L0=" \\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",bl="A-Z\\xc0-\\xd6\\xd8-\\xde",j0="\\ufe0e\\ufe0f",xl=_0+k0+F0+L0,Sl="['\u2019]",ll="["+xl+"]",B0="["+C0+"]",wl="\\d+",D0="["+yl+"]",Tl="["+gl+"]",El="[^"+hl+xl+wl+yl+gl+bl+"]",U0="\\ud83c[\\udffb-\\udfff]",M0="(?:"+B0+"|"+U0+")",v0="[^"+hl+"]",Il="(?:\\ud83c[\\udde6-\\uddff]){2}",Al="[\\ud800-\\udbff][\\udc00-\\udfff]",ur="["+bl+"]",V0="\\u200d",fl="(?:"+Tl+"|"+El+")",z0="(?:"+ur+"|"+El+")",ml="(?:"+Sl+"(?:d|ll|m|re|s|t|ve))?",dl="(?:"+Sl+"(?:D|LL|M|RE|S|T|VE))?",Nl=M0+"?",Rl="["+j0+"]?",q0="(?:"+V0+"(?:"+[v0,Il,Al].join("|")+")"+Rl+Nl+")*",G0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",W0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",$0=Rl+Nl+q0,H0="(?:"+[D0,Il,Al].join("|")+")"+$0,J0=RegExp([ur+"?"+Tl+"+"+ml+"(?="+[ll,ur,"$"].join("|")+")",z0+"+"+dl+"(?="+[ll,ur+fl,"$"].join("|")+")",ur+"?"+fl+"+"+ml,ur+"+"+dl,W0,G0,wl,H0].join("|"),"g");function K0(e){return e.match(J0)||[]}var Ol=K0;function Q0(e,t,r){return e=xt(e),t=r?void 0:t,t===void 0?pl(e)?Ol(e):cl(e):e.match(t)||[]}var _i=Q0;var Y0="['\u2019]",X0=RegExp(Y0,"g");function Z0(e){return function(t){return sl(_i(ul(t).replace(X0,"")),e,"")}}var vn=Z0;var eh=vn(function(e,t,r){return t=t.toLowerCase(),e+(r?nl(t):t)}),cr=eh;n();a();s();var th=vn(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}),Vn=th;n();a();s();function ue(e){throw new Error("Unexpected value: "+JSON.stringify(e))}n();a();s();function ki(e){return Object.keys(e)}n();a();s();n();a();s();n();a();s();var Fi=f.env.FERN_STACK_TRACK?.toLowerCase()??"",je=Fi!==""&&Fi!=="0"&&Fi!=="false",Lo=["single","multiline","box"].includes(Fi)?Fi:"single";je&&(Error.stackTraceLimit=50);var Pl=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),rh=new Set(["stacktrace"]);function jo(e){je&&Pl.add(e)}function Li({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:i=[],stopOn:o=[],filterNode:c=!0,filterJs:l=!0,formatFilename:x=w=>w}={}){if(!je)return[];i=[...i,...Pl],r=[...r,...rh],o=[...o,"runInteractiveTask"];let w=!1;return(new Error().stack??"").split(`
|
|
2
|
+
`).map(I=>{let A=I.match(/at\s+(.*)\s+\((.*):(\d+):(\d+)\)/);if(A&&A.length===5){let[,P,L,R,j]=A;if(!P||!L||!R||!j)return;if(w||o.some(M=>P?.includes(M))){w=!0;return}switch(P){case"Object.<anonymous>":P="";break;case"Object.object":case"Object.alias":case"Object.union":case"Object.enum":case"Object.undiscriminatedUnion":P=`${P.substring(P.indexOf(".")+1)}()=> { ... }`;break}return{fn:P,path:x(L),position:`${R}:${j}`}}}).filter(I=>I&&!i.some(A=>I.fn.includes(A))&&!(c&&I.path?.startsWith("node:"))&&!(l&&I.path?.endsWith(".js"))&&!r.some(A=>I.path.includes(A))).slice(t,t+e)}function ji({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:i=[],stopOn:o=["runInteractiveTask"],filterNode:c=!0,filterJs:l=!0,multiline:x=!1,formatFilename:w=I=>I}={}){return je?`${Li({maxFrames:e,skip:t,filterPaths:r,filterFunctions:i,stopOn:o,filterNode:c,filterJs:l,formatFilename:w}).map(I=>`${x?`
|
|
3
|
+
`:" > "}${I.fn} - ${I.path}:${I.position}`).join("")}`:""}var zn=class{constructor({maxFrames:t=50,skip:r=0,filterPaths:i=[],filterFunctions:o=[],stopOn:c=[],filterNode:l=!0,filterJs:x=!0,multiline:w=!1,formatFilename:I=A=>A}={}){y(this,"maxFrames");y(this,"skip");y(this,"filterPaths");y(this,"filterFunctions");y(this,"stopOn");y(this,"filterNode");y(this,"filterJs");y(this,"multiline");y(this,"formatFilename");y(this,"tracking",new WeakMap);this.maxFrames=t,this.skip=r,this.filterPaths=i,this.filterFunctions=o,this.stopOn=c,this.filterNode=l,this.filterJs=x,this.multiline=w,this.formatFilename=I}tag(t){let r=this.tracking.get(t)||new Set;Li({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(!je)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}},Bo;function Cl({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:i=[],stopOn:o=[],filterNode:c=!0,filterJs:l=!0,multiline:x=!1,formatFilename:w=I=>I}={}){je&&(Bo??(Bo=new zn({maxFrames:e,skip:t,filterPaths:r,filterFunctions:i,stopOn:o,filterNode:c,filterJs:l,multiline:x,formatFilename:w})))}function _l(e){Bo?.tag(e)}function Bi(e){return Bo?.frames(e)??[]}var ot=class{constructor(){_l(this)}};n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var ih="__package__",r2=`${ih}.yml`;var kl="default-group",Fl="spec-origin",Ll="async-api",jl="openapi",Bl="openapi-overrides",Dl="api-settings";var Ul="local";var qe={};z(qe,{API_ORIGIN_LOCATION_KEY:()=>Fl,API_SETTINGS_KEY:()=>Dl,ASYNC_API_LOCATION_KEY:()=>Ll,CoerceConstsTo:()=>ef,DEFAULT_GROUP_GENERATORS_CONFIG_KEY:()=>kl,DEFAULT_GROUP_NAME:()=>Ul,DefaultIntegerFormat:()=>tf,ExampleStyle:()=>rf,FormParameterEncoding:()=>nf,GenerationLanguage:()=>Ml,GithubCommitAndReleaseMode:()=>lf,GithubLicenseType:()=>mf,GithubSelfhostedMode:()=>ff,Language:()=>sf,MessageNamingSettingsSchema:()=>af,ModelProvider:()=>ql,MultiServerStrategy:()=>of,OPENAPI_LOCATION_KEY:()=>jl,OPENAPI_OVERRIDES_LOCATION_KEY:()=>Bl,PathParameterOrder:()=>uf,RemoveDiscriminantsFromSchemas:()=>cf,UnionSettingsSchema:()=>pf,ai:()=>Do,automation:()=>Gl,fernDefinition:()=>Mo,generators:()=>vo,getPackageName:()=>vl,group:()=>Vo,isApiConfigurationV2Schema:()=>Gf,isAsyncApiSpecSchema:()=>Wf,isConjureSchema:()=>$f,isGraphQLSpecSchema:()=>Hf,isNamespacedApiConfiguration:()=>Jf,isOpenApiSpecSchema:()=>Kf,isOpenRpcSpecSchema:()=>Qf,isProtoSpecSchema:()=>Yf,isRawProtobufAPIDefinitionSchema:()=>Vl,license:()=>zo,replay:()=>df,resolveAutomationConfig:()=>zl,reviewers:()=>hf,serialization:()=>lu});n();a();s();n();a();s();var Ml={TYPESCRIPT:"typescript",JAVA:"java",PYTHON:"python",GO:"go",RUBY:"ruby",CSHARP:"csharp",SWIFT:"swift",PHP:"php",RUST:"rust"};function vl({generatorInvocation:e}){return e.language==="go"?nh(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 nh(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 Vl(e){return typeof e!="string"&&"proto"in e}n();a();s();var qn={generate:!0,upgrade:!0,preview:!0,verify:!0};function zl({rootAutomation:e,groupAutomation:t,generatorAutomation:r}){return{generate:r?.generate??t?.generate??e?.generate??qn.generate,upgrade:r?.upgrade??t?.upgrade??e?.upgrade??qn.upgrade,preview:r?.preview??t?.preview??e?.preview??qn.preview,verify:r?.verify??t?.verify??e?.verify??qn.verify}}n();a();s();n();a();s();var Do={};z(Do,{ModelProvider:()=>ql});n();a();s();n();a();s();var ql={Openai:"openai",Anthropic:"anthropic",Bedrock:"bedrock"};var Gl={};n();a();s();var Mo={};z(Mo,{AvailabilityStatusSchema:()=>$l,auth:()=>Wl,availability:()=>Uo,commons:()=>Hl,encoding:()=>Jl,environments:()=>Kl,file:()=>Ql,service:()=>Yl,types:()=>Xl,validation:()=>Zl});n();a();s();n();a();s();var Wl={};n();a();s();var Uo={};z(Uo,{AvailabilityStatusSchema:()=>$l});n();a();s();n();a();s();var $l={InDevelopment:"in-development",PreRelease:"pre-release",Deprecated:"deprecated",GenerallyAvailable:"generally-available"};var Hl={};n();a();s();var Jl={};n();a();s();var Kl={};n();a();s();var Ql={};n();a();s();var Yl={};n();a();s();var Xl={};n();a();s();var Zl={};n();a();s();var vo={};z(vo,{CoerceConstsTo:()=>ef,DefaultIntegerFormat:()=>tf,ExampleStyle:()=>rf,FormParameterEncoding:()=>nf,Language:()=>sf,MessageNamingSettingsSchema:()=>af,MultiServerStrategy:()=>of,PathParameterOrder:()=>uf,RemoveDiscriminantsFromSchemas:()=>cf,UnionSettingsSchema:()=>pf});n();a();s();n();a();s();var ef={Literals:"literals",Enums:"enums",EnumsCoerceableToLiterals:"enums-coerceable-to-literals"};n();a();s();var tf={Int32:"int32",Int64:"int64",Uint32:"uint32",Uint64:"uint64"};n();a();s();var rf={Minimal:"minimal",Comprehensive:"comprehensive"};n();a();s();var nf={Form:"form",Json:"json"};n();a();s();var sf={Java:"java",Python:"python",Go:"go",Ruby:"ruby",Csharp:"csharp",Typescript:"typescript",Php:"php",Rust:"rust",Swift:"swift"};n();a();s();var af={V1:"v1",V2:"v2"};n();a();s();var of={EnvironmentPerServer:"environment-per-server",UrlsPerEnvironment:"urls-per-environment"};n();a();s();var uf={UrlOrder:"url-order",SpecOrder:"spec-order"};n();a();s();var cf={Always:"always",Never:"never"};n();a();s();var pf={V1:"v1"};var Vo={};z(Vo,{GithubCommitAndReleaseMode:()=>lf,GithubSelfhostedMode:()=>ff});n();a();s();n();a();s();var lf={Commit:"commit",Release:"release"};n();a();s();var ff={PullRequest:"pull-request",Push:"push"};var zo={};z(zo,{GithubLicenseType:()=>mf});n();a();s();n();a();s();var mf={Mit:"MIT",Apache:"Apache-2.0"};var df={};n();a();s();var hf={};n();a();s();var lu={};z(lu,{AiServicesSchema:()=>Qn,ApiConfigurationSchema:()=>ta,ApiConfigurationSchemaInternal:()=>Rr,ApiConfigurationV2Schema:()=>Zs,ApiConfigurationV2SettingsSchema:()=>Cr,ApiConfigurationV2SpecsSchema:()=>_r,ApiDefinitionList:()=>Us,ApiDefinitionPathSchema:()=>It,ApiDefinitionSchema:()=>Ds,ApiDefinitionSettingsSchema:()=>Er,ApiDefinitionWithOverridesSchema:()=>Ir,AsyncApiSettingsSchema:()=>Pr,AsyncApiSpecSchema:()=>Hs,AutomationSchema:()=>St,BaseApiSettingsSchema:()=>Or,BaseGeneratorInvocationSchema:()=>kr,CoerceConstsTo:()=>Ms,ConjureSchema:()=>$s,CratesOutputLocationSchema:()=>aa,CustomGeneratorInvocationSchema:()=>Ra,DefaultGeneratorInvocationSchema:()=>Oa,DefaultIntegerFormat:()=>vs,ExampleStyle:()=>ra,FormParameterEncoding:()=>Vs,GeneratorApiSettingsSchema:()=>sa,GeneratorGroupSchema:()=>Ca,GeneratorImageObjectSchema:()=>ia,GeneratorInvocationSchema:()=>Pa,GeneratorOutputSchema:()=>ya,GeneratorPublishMetadataSchema:()=>Vi,GeneratorSnippetsSchema:()=>xa,GeneratorsConfigurationSchema:()=>qf,GeneratorsOpenApiObjectSchema:()=>ka,GeneratorsOpenApiSchema:()=>Fa,GithubCommitAndReleaseMode:()=>Sa,GithubCommitAndReleaseSchema:()=>wa,GithubConfigurationSchema:()=>Na,GithubLicenseCustomSchema:()=>ga,GithubLicenseSchema:()=>ze,GithubLicenseType:()=>ba,GithubPullRequestSchema:()=>Ta,GithubPushSchema:()=>Ea,GithubSelfhostedMode:()=>Ia,GithubSelfhostedSchema:()=>Aa,GraphQlSpecSchema:()=>Js,Language:()=>La,LocalFileSystemOutputLocationSchema:()=>oa,MavenOutputLocationSchema:()=>ca,MavenOutputSignatureSchema:()=>ua,MessageNamingSettingsSchema:()=>xr,ModelName:()=>Jn,ModelProvider:()=>Kn,MultiServerStrategy:()=>Sr,NamespacedApiConfigurationSchema:()=>ea,NpmOutputLocationSchema:()=>pa,NugetOutputLocationSchema:()=>la,OpenApiExampleGenerationSchema:()=>zs,OpenApiFilterSchema:()=>qs,OpenApiSettingsSchema:()=>At,OpenApiSpecSchema:()=>Ks,OpenRpcSpecSchema:()=>Qs,OutputMetadataAuthor:()=>na,OutputMetadataSchema:()=>Nt,OverridesSchema:()=>Ve,PathParameterOrder:()=>wr,PostmanOutputLocationSchema:()=>fa,ProtobufApiDefinitionSchema:()=>Nr,ProtobufDefinitionSchema:()=>Ar,ProtobufSpecSchema:()=>Ys,PypiOutputLocationSchema:()=>da,PypiOutputMetadataSchema:()=>ma,ReadmeCustomSectionSchema:()=>ja,ReadmeEndpointObjectSchema:()=>Ba,ReadmeEndpointSchema:()=>zi,ReadmeSchema:()=>Da,RemoveDiscriminantsFromSchemas:()=>Tr,ReplayConfigSchema:()=>_a,RequestOrResponseExampleGenerationSchema:()=>Mi,ResolveAliases:()=>Ws,ResolveAliasesSchema:()=>Gs,ReviewerSchema:()=>vi,ReviewersSchema:()=>Rt,RubyGemsOutputLocationSchema:()=>ha,SpecSchema:()=>Xs,UnionSettingsSchema:()=>Bs,WhitelabelConfigurationSchema:()=>Ma,WhitelabelGithubConfigurationSchema:()=>Ua,ai:()=>Jo,automation:()=>Ko,fernDefinition:()=>su,generators:()=>au,group:()=>ou,license:()=>uu,replay:()=>cu,reviewers:()=>pu});n();a();s();n();a();s();var Jo={};z(Jo,{AiServicesSchema:()=>Qn,ModelName:()=>Jn,ModelProvider:()=>Kn});n();a();s();n();a();s();n();a();s();var p={};z(p,{JsonError:()=>pr,ParseError:()=>lr,any:()=>Pf,bigint:()=>gf,boolean:()=>Cf,booleanLiteral:()=>Rf,date:()=>bf,discriminant:()=>vf,enum_:()=>Wn,getObjectLikeUtils:()=>Je,getObjectUtils:()=>$t,getSchemaUtils:()=>ae,isProperty:()=>ct,lazy:()=>xf,lazyObject:()=>Af,list:()=>Hn,never:()=>_f,number:()=>kf,object:()=>$n,objectWithoutOptionalProperties:()=>If,optional:()=>qo,property:()=>wf,record:()=>Bf,set:()=>Df,string:()=>Ff,stringLiteral:()=>Of,transform:()=>Go,undiscriminatedUnion:()=>Mf,union:()=>zf,unknown:()=>Lf,withParsedProperties:()=>Ho});n();a();s();n();a();s();n();a();s();n();a();s();var H={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 ie(e,t){return`Expected ${t}. Received ${sh(e)}.`}function sh(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 xe(e){return{...e,json:yf(e.json),parse:yf(e.parse)}}function yf(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(`
|
|
5
|
+
`)),{ok:!0,value:t}):i}}n();a();s();n();a();s();n();a();s();n();a();s();function Gn(e){return e.path.length===0?e.message:`${e.path.join(" -> ")}: ${e.message}`}var pr=class e extends Error{constructor(r){super(r.map(Gn).join("; "));y(this,"errors");this.errors=r,Object.setPrototypeOf(this,e.prototype)}};n();a();s();var lr=class e extends Error{constructor(r){super(r.map(Gn).join("; "));y(this,"errors");this.errors=r,Object.setPrototypeOf(this,e.prototype)}};function ae(e){return{nullable:()=>ah(e),optional:()=>qo(e),optionalNullable:()=>oh(e),transform:t=>Go(e,t),parseOrThrow:(t,r)=>{let i=e.parse(t,r);if(i.ok)return i.value;throw new lr(i.errors)},jsonOrThrow:(t,r)=>{let i=e.json(t,r);if(i.ok)return i.value;throw new pr(i.errors)}}}function ah(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:()=>H.NULLABLE};return{...t,...ae(t)}}function qo(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:()=>H.OPTIONAL};return{...t,...ae(t)}}function oh(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:()=>H.OPTIONAL_NULLABLE};return{...t,...ae(t)}}function Go(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,...ae(r)}}function gf(){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:ie(t,"bigint | number")}]},json:(t,{breadcrumbsPrefix:r=[]}={})=>typeof t!="bigint"?{ok:!1,errors:[{path:r,message:ie(t,"bigint")}]}:{ok:!0,value:t},getType:()=>H.BIGINT};return{...xe(e),...ae(e)}}n();a();s();n();a();s();var uh=/^([+-]?\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 bf(){let e={parse:(t,{breadcrumbsPrefix:r=[]}={})=>typeof t!="string"?{ok:!1,errors:[{path:r,message:ie(t,"string")}]}:uh.test(t)?{ok:!0,value:new Date(t)}:{ok:!1,errors:[{path:r,message:ie(t,"ISO 8601 date string")}]},json:(t,{breadcrumbsPrefix:r=[]}={})=>t instanceof Date?{ok:!0,value:t.toISOString()}:{ok:!1,errors:[{path:r,message:ie(t,"Date object")}]},getType:()=>H.DATE};return{...xe(e),...ae(e)}}n();a();s();n();a();s();n();a();s();function Se(e,t){return()=>{let r={parse:t,json:t,getType:()=>e};return{...xe(r),...ae(r)}}}function Wn(e){let t=new Set(e);return Se(H.ENUM,(i,{allowUnrecognizedEnumValues:o,breadcrumbsPrefix:c=[]}={})=>typeof i!="string"?{ok:!1,errors:[{path:c,message:ie(i,"string")}]}:!t.has(i)&&!o?{ok:!1,errors:[{path:c,message:ie(i,"enum")}]}:{ok:!0,value:i})()}n();a();s();n();a();s();function xf(e){let t=Wo(e);return{...t,...ae(t)}}function Wo(e){return{parse:(t,r)=>fr(e).parse(t,r),json:(t,r)=>fr(e).json(t,r),getType:()=>fr(e).getType()}}function fr(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 $o(e){return Object.entries(e)}n();a();s();function Di(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 ut(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 Ui(e){return Object.keys(e)}n();a();s();function Sf(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 ch=Object.prototype.hasOwnProperty;function Je(e){return{withParsedProperties:t=>Ho(e,t)}}function Ho(e,t){let r={parse:(i,o)=>{let c=e.parse(i,o);if(!c.ok)return c;let l={};for(let x in t)if(ch.call(t,x)){let w=t[x];l[x]=typeof w=="function"?w(c.value):w}return{ok:!0,value:{...c.value,...l}}},json:(i,o)=>{if(!ut(i))return{ok:!1,errors:[{path:o?.breadcrumbsPrefix??[],message:ie(i,"object")}]};let c=new Set(Object.keys(t)),l=Di(i,Object.keys(i).filter(x=>!c.has(x)));return e.json(l,o)},getType:()=>e.getType()};return{...r,...ae(r),...Je(r)}}n();a();s();function wf(e,t){return{rawKey:e,valueSchema:t,isProperty:!0}}function ct(e){return e.isProperty}var ph=Object.prototype.hasOwnProperty;function $n(e){let t;function r(){if(t==null){t={};for(let[L,R]of $o(e)){let j=ct(R)?R.rawKey:L,M=ct(R)?R.valueSchema:R;t[j]={rawKey:j,parsedKey:L,valueSchema:M}}}return t}let i,o,c,l;function x(){if(i==null){i=[],o=[];for(let[L,R]of $o(e)){let j=ct(R)?R.rawKey:L,M=ct(R)?R.valueSchema:R;lh(M)&&(i.push(j),o.push(L))}c=new Set(i),l=new Set(o)}return i}function w(){return o==null&&x(),o}function I(){return c==null&&x(),c}function A(){return l==null&&x(),l}let P={_getRawProperties:()=>Object.entries(e).map(([L,R])=>ct(R)?R.rawKey:L),_getParsedProperties:()=>Ui(e),parse:(L,R)=>{let j=R?.breadcrumbsPrefix??[];return Tf({value:L,requiredKeys:x(),requiredKeysSet:I(),getProperty:M=>{let D=r()[M];if(D!=null)return{transformedKey:D.parsedKey,transform:G=>{let Q=[...j,M];return D.valueSchema.parse(G,{...R,breadcrumbsPrefix:Q})}}},unrecognizedObjectKeys:R?.unrecognizedObjectKeys,skipValidation:R?.skipValidation,breadcrumbsPrefix:j,omitUndefined:R?.omitUndefined})},json:(L,R)=>{let j=R?.breadcrumbsPrefix??[];return Tf({value:L,requiredKeys:w(),requiredKeysSet:A(),getProperty:M=>{let D=e[M];if(D!=null)return ct(D)?{transformedKey:D.rawKey,transform:G=>{let Q=[...j,M];return D.valueSchema.json(G,{...R,breadcrumbsPrefix:Q})}}:{transformedKey:M,transform:G=>{let Q=[...j,M];return D.json(G,{...R,breadcrumbsPrefix:Q})}}},unrecognizedObjectKeys:R?.unrecognizedObjectKeys,skipValidation:R?.skipValidation,breadcrumbsPrefix:j,omitUndefined:R?.omitUndefined})},getType:()=>H.OBJECT};return{...xe(P),...ae(P),...Je(P),...$t(P)}}function Tf({value:e,requiredKeys:t,requiredKeysSet:r,getProperty:i,unrecognizedObjectKeys:o="fail",skipValidation:c=!1,breadcrumbsPrefix:l=[]}){if(!ut(e))return{ok:!1,errors:[{path:l,message:ie(e,"object")}]};let x=t.length,w=[],I={};for(let A in e){if(!ph.call(e,A))continue;let P=e[A],L=i(A);if(L!=null){x>0&&r.has(A)&&x--;let R=L.transform(P);R.ok?I[L.transformedKey]=R.value:(I[A]=P,w.push(...R.errors))}else switch(o){case"fail":w.push({path:[...l,A],message:`Unexpected key "${A}"`});break;case"strip":break;case"passthrough":I[A]=P;break}}if(x>0)for(let A of t)A in e||w.push({path:l,message:`Missing required key "${A}"`});return w.length===0||c?{ok:!0,value:I}:{ok:!1,errors:w}}function $t(e){return{extend:t=>{let r={_getParsedProperties:()=>[...e._getParsedProperties(),...t._getParsedProperties()],_getRawProperties:()=>[...e._getRawProperties(),...t._getRawProperties()],parse:(i,o)=>Ef({extensionKeys:t._getRawProperties(),value:i,transformBase:c=>e.parse(c,o),transformExtension:c=>t.parse(c,o),breadcrumbsPrefix:o?.breadcrumbsPrefix}),json:(i,o)=>Ef({extensionKeys:t._getParsedProperties(),value:i,transformBase:c=>e.json(c,o),transformExtension:c=>t.json(c,o),breadcrumbsPrefix:o?.breadcrumbsPrefix}),getType:()=>H.OBJECT};return{...r,...ae(r),...Je(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 l=e.parse(o,{...c,unrecognizedObjectKeys:"passthrough"});if(!l.ok)return l;let x={};if(typeof o=="object"&&o!=null)for(let[w,I]of Object.entries(o))t.has(w)||(x[w]=I);return{ok:!0,value:{...x,...l.value}}},json:(o,c)=>{let l=e.json(o,{...c,unrecognizedObjectKeys:"passthrough"});if(!l.ok)return l;let x={};if(typeof o=="object"&&o!=null)for(let[w,I]of Object.entries(o))r.has(w)||(x[w]=I);return{ok:!0,value:{...x,...l.value}}},getType:()=>H.OBJECT};return{...i,...ae(i),...Je(i),...$t(i)}}}}function Ef({extensionKeys:e,value:t,transformBase:r,transformExtension:i,breadcrumbsPrefix:o=[]}){if(!ut(t))return{ok:!1,errors:[{path:o,message:ie(t,"object")}]};let c=new Set(e),[l,x]=Sf(Ui(t),A=>c.has(A)),w=r(Di(t,x)),I=i(Di(t,l));return w.ok&&I.ok?{ok:!0,value:{...w.value,...I.value}}:{ok:!1,errors:[...w.ok?[]:w.errors,...I.ok?[]:I.errors]}}function lh(e){return!fh(e)}function fh(e){switch(e.getType()){case H.ANY:case H.UNKNOWN:case H.OPTIONAL:case H.OPTIONAL_NULLABLE:return!0;default:return!1}}n();a();s();function If(e){return $n(e)}function Af(e){let t={...Wo(e),_getRawProperties:()=>fr(e)._getRawProperties(),_getParsedProperties:()=>fr(e)._getParsedProperties()};return{...t,...ae(t),...Je(t),...$t(t)}}n();a();s();n();a();s();function Hn(e){let t={parse:(r,i)=>Nf(r,(o,c)=>e.parse(o,{...i,breadcrumbsPrefix:[...i?.breadcrumbsPrefix??[],`[${c}]`]})),json:(r,i)=>Nf(r,(o,c)=>e.json(o,{...i,breadcrumbsPrefix:[...i?.breadcrumbsPrefix??[],`[${c}]`]})),getType:()=>H.LIST};return{...xe(t),...ae(t)}}function Nf(e,t){if(!Array.isArray(e))return{ok:!1,errors:[{message:ie(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 Rf(e){return Se(H.BOOLEAN_LITERAL,(r,{breadcrumbsPrefix:i=[]}={})=>r===e?{ok:!0,value:e}:{ok:!1,errors:[{path:i,message:ie(r,`${e.toString()}`)}]})()}n();a();s();function Of(e){return Se(H.STRING_LITERAL,(r,{breadcrumbsPrefix:i=[]}={})=>r===e?{ok:!0,value:e}:{ok:!1,errors:[{path:i,message:ie(r,`"${e}"`)}]})()}n();a();s();n();a();s();var Pf=Se(H.ANY,e=>({ok:!0,value:e}));n();a();s();var Cf=Se(H.BOOLEAN,(e,{breadcrumbsPrefix:t=[]}={})=>typeof e=="boolean"?{ok:!0,value:e}:{ok:!1,errors:[{path:t,message:ie(e,"boolean")}]});n();a();s();var _f=Se(H.NEVER,(e,{breadcrumbsPrefix:t=[]}={})=>({ok:!1,errors:[{path:t,message:"Expected never"}]}));n();a();s();var kf=Se(H.NUMBER,(e,{breadcrumbsPrefix:t=[]}={})=>typeof e=="number"?{ok:!0,value:e}:{ok:!1,errors:[{path:t,message:ie(e,"number")}]});n();a();s();var Ff=Se(H.STRING,(e,{breadcrumbsPrefix:t=[]}={})=>typeof e=="string"?{ok:!0,value:e}:{ok:!1,errors:[{path:t,message:ie(e,"string")}]});n();a();s();var Lf=Se(H.UNKNOWN,e=>({ok:!0,value:e}));n();a();s();n();a();s();var mh=Object.prototype.hasOwnProperty;function Bf(e,t){let r={parse:(i,o)=>jf({value:i,isKeyNumeric:e.getType()===H.NUMBER,transformKey:c=>e.parse(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${c} (key)`]}),transformValue:(c,l)=>t.parse(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${l}`]}),breadcrumbsPrefix:o?.breadcrumbsPrefix}),json:(i,o)=>jf({value:i,isKeyNumeric:e.getType()===H.NUMBER,transformKey:c=>e.json(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${c} (key)`]}),transformValue:(c,l)=>t.json(c,{...o,breadcrumbsPrefix:[...o?.breadcrumbsPrefix??[],`${l}`]}),breadcrumbsPrefix:o?.breadcrumbsPrefix}),getType:()=>H.RECORD};return{...xe(r),...ae(r)}}function jf({value:e,isKeyNumeric:t,transformKey:r,transformValue:i,breadcrumbsPrefix:o=[]}){if(!ut(e))return{ok:!1,errors:[{path:o,message:ie(e,"object")}]};let c={},l=[];for(let x in e){if(!mh.call(e,x))continue;let w=e[x];if(w===void 0)continue;let I=x;if(t){let L=x.length>0?Number(x):NaN;Number.isNaN(L)||(I=L)}let A=r(I),P=i(w,I);A.ok&&P.ok?c[A.value]=P.value:(A.ok||l.push(...A.errors),P.ok||l.push(...P.errors))}return l.length===0?{ok:!0,value:c}:{ok:!1,errors:l}}n();a();s();n();a();s();function Df(e){let t=Hn(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:ie(i,"Set")}]},getType:()=>H.SET};return{...xe(r),...ae(r)}}n();a();s();n();a();s();function Mf(e){let t={parse:(r,i)=>Uf((o,c)=>o.parse(r,c),e,i),json:(r,i)=>Uf((o,c)=>o.json(r,c),e,i),getType:()=>H.UNDISCRIMINATED_UNION};return{...xe(t),...ae(t)}}function Uf(e,t,r){let i=[];for(let[o,c]of t.entries()){let l=e(c,{...r,skipValidation:!1});if(l.ok)return l;for(let x of l.errors)i.push({path:x.path,message:`[Variant ${o}] ${x.message}`})}return{ok:!1,errors:i}}n();a();s();n();a();s();function vf(e,t){return{parsedDiscriminant:e,rawDiscriminant:t}}n();a();s();var dh=Object.prototype.hasOwnProperty;function zf(e,t){let r=typeof e=="string"?e:e.rawDiscriminant,i=typeof e=="string"?e:e.parsedDiscriminant,o=Wn(Ui(t)),c={parse:(l,x)=>Vf({value:l,discriminant:r,transformedDiscriminant:i,transformDiscriminantValue:w=>o.parse(w,{allowUnrecognizedEnumValues:x?.allowUnrecognizedUnionMembers,breadcrumbsPrefix:[...x?.breadcrumbsPrefix??[],r]}),getAdditionalPropertiesSchema:w=>t[w],allowUnrecognizedUnionMembers:x?.allowUnrecognizedUnionMembers,transformAdditionalProperties:(w,I)=>I.parse(w,x),breadcrumbsPrefix:x?.breadcrumbsPrefix}),json:(l,x)=>Vf({value:l,discriminant:i,transformedDiscriminant:r,transformDiscriminantValue:w=>o.json(w,{allowUnrecognizedEnumValues:x?.allowUnrecognizedUnionMembers,breadcrumbsPrefix:[...x?.breadcrumbsPrefix??[],i]}),getAdditionalPropertiesSchema:w=>t[w],allowUnrecognizedUnionMembers:x?.allowUnrecognizedUnionMembers,transformAdditionalProperties:(w,I)=>I.json(w,x),breadcrumbsPrefix:x?.breadcrumbsPrefix}),getType:()=>H.UNION};return{...xe(c),...ae(c),...Je(c)}}function Vf({value:e,discriminant:t,transformedDiscriminant:r,transformDiscriminantValue:i,getAdditionalPropertiesSchema:o,allowUnrecognizedUnionMembers:c=!1,transformAdditionalProperties:l,breadcrumbsPrefix:x=[]}){if(!ut(e))return{ok:!1,errors:[{path:x,message:ie(e,"object")}]};let w=e[t],I={};for(let R in e)dh.call(e,R)&&R!==t&&(I[R]=e[R]);if(w==null)return{ok:!1,errors:[{path:x,message:`Missing discriminant ("${t}")`}]};let A=i(w);if(!A.ok)return{ok:!1,errors:A.errors};let P=o(A.value);if(P==null)return c?{ok:!0,value:{[r]:A.value,...I}}:{ok:!1,errors:[{path:[...x,t],message:"Unexpected discriminant value"}]};let L=l(I,P);return L.ok?{ok:!0,value:{[r]:w,...L.value}}:L}n();a();s();var Jn=p.string();n();a();s();var Kn=p.enum_(["openai","anthropic","bedrock"]);var Qn=p.object({provider:Kn,model:Jn});var Ko={};z(Ko,{AutomationSchema:()=>St});n();a();s();n();a();s();var St=p.object({generate:p.boolean().optional(),upgrade:p.boolean().optional(),preview:p.boolean().optional(),verify:p.boolean().optional()});var su={};z(su,{AnyAuthItem:()=>Yn,AnyAuthSchemesSchema:()=>Xn,ApiAuthSchema:()=>dr,AuthSchemeDeclarationSchema:()=>Tt,AuthSchemeReferenceSchema:()=>mr,AuthScope:()=>cs,AuthVariable:()=>Ht,AvailabilitySchema:()=>gs,AvailabilityStatusSchema:()=>yr,AvailabilityUnionSchema:()=>bs,BaseTypeReferenceSchema:()=>_s,BasicAuthSchemeSchema:()=>ts,BearerAuthSchemeSchema:()=>os,EncodingSchema:()=>ws,EndpointSecuritySchema:()=>es,EndpointSecuritySchemaDetails:()=>Zn,EnvironmentSchema:()=>Is,HeaderAuthSchemeSchema:()=>us,HttpHeaderSchema:()=>br,InferredAuthenticatedRequestHeader:()=>rs,InferredBearerAuthSchema:()=>ss,InferredGetTokenEndpointSchema:()=>ns,InferredGetTokenEndpointSchemaObject:()=>is,ListValidationSchema:()=>Ns,MapValidationSchema:()=>Rs,MultipleBaseUrlsEnvironmentSchema:()=>Ts,NumberValidationSchema:()=>Os,OAuthAccessTokenRequestPropertiesSchema:()=>ps,OAuthAccessTokenResponsePropertiesSchema:()=>ls,OAuthGetTokenEndpointSchema:()=>fs,OAuthRefreshTokenEndpointSchema:()=>hs,OAuthRefreshTokenRequestPropertiesSchema:()=>ms,OAuthRefreshTokenResponsePropertiesSchema:()=>ds,OAuthSchemeSchema:()=>ys,ProtobufTypeSchema:()=>Ss,ServerVariableSchema:()=>gr,SingleBaseUrlEnvironmentSchema:()=>Es,StringValidationSchema:()=>Ps,TokenBearerAuthSchema:()=>as,TypeReferenceDeclarationWithEnvOverride:()=>Ls,TypeReferenceDeclarationWithEnvOverrideSchema:()=>Fs,TypeReferenceDeclarationWithName:()=>ks,ValidationSchema:()=>Cs,WithAudiences:()=>Et,WithAvailability:()=>xs,WithDocsSchema:()=>me,WithEnvironmentVariable:()=>hr,WithEnvironmentsSchema:()=>As,WithHeadersSchema:()=>js,WithName:()=>wt,auth:()=>Qo,availability:()=>Yo,commons:()=>Xo,encoding:()=>Zo,environments:()=>eu,file:()=>tu,service:()=>ru,types:()=>iu,validation:()=>nu});n();a();s();n();a();s();var Qo={};z(Qo,{AnyAuthItem:()=>Yn,AnyAuthSchemesSchema:()=>Xn,ApiAuthSchema:()=>dr,AuthSchemeDeclarationSchema:()=>Tt,AuthSchemeReferenceSchema:()=>mr,AuthScope:()=>cs,AuthVariable:()=>Ht,BasicAuthSchemeSchema:()=>ts,BearerAuthSchemeSchema:()=>os,EndpointSecuritySchema:()=>es,EndpointSecuritySchemaDetails:()=>Zn,HeaderAuthSchemeSchema:()=>us,InferredAuthenticatedRequestHeader:()=>rs,InferredBearerAuthSchema:()=>ss,InferredGetTokenEndpointSchema:()=>ns,InferredGetTokenEndpointSchemaObject:()=>is,OAuthAccessTokenRequestPropertiesSchema:()=>ps,OAuthAccessTokenResponsePropertiesSchema:()=>ls,OAuthGetTokenEndpointSchema:()=>fs,OAuthRefreshTokenEndpointSchema:()=>hs,OAuthRefreshTokenRequestPropertiesSchema:()=>ms,OAuthRefreshTokenResponsePropertiesSchema:()=>ds,OAuthSchemeSchema:()=>ys,TokenBearerAuthSchema:()=>as,WithEnvironmentVariable:()=>hr});n();a();s();n();a();s();n();a();s();n();a();s();var me=p.object({docs:p.string().optional()});var mr=p.object({scheme:p.string()}).extend(me);var Yn=p.undiscriminatedUnion([p.string(),mr]);n();a();s();var Xn=p.object({any:p.list(Yn)}).extend(me);n();a();s();n();a();s();n();a();s();var Zn=p.object({});var es=p.object({"endpoint-security":Zn}).extend(me);var dr=p.undiscriminatedUnion([p.string(),mr,Xn,es]);n();a();s();n();a();s();n();a();s();n();a();s();var wt=p.object({name:p.string().optional()});n();a();s();var hr=p.object({env:p.string().optional()});var Ht=p.object({omit:p.boolean().optional()}).extend(hr).extend(wt);var ts=p.object({scheme:p.stringLiteral("basic"),username:Ht.optional(),password:Ht.optional()}).extend(me);n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var rs=p.object({"response-property":p.string(),"header-name":p.string(),"value-prefix":p.string().optional()});var is=p.object({endpoint:p.string(),"expiry-response-property":p.string().optional(),"authenticated-request-headers":p.list(rs).optional()});var ns=p.undiscriminatedUnion([p.string(),is]);var ss=p.object({scheme:p.stringLiteral("bearer"),"get-token":ns}).extend(me);n();a();s();var as=p.object({scheme:p.stringLiteral("bearer"),token:Ht.optional()}).extend(me);var os=p.undiscriminatedUnion([as,ss]);n();a();s();var us=p.object({header:p.string(),type:p.string().optional(),prefix:p.string().optional()}).extend(hr).extend(wt).extend(me);n();a();s();n();a();s();var cs=p.string();n();a();s();n();a();s();var ps=p.object({"client-id":p.string().optional(),"client-secret":p.string().optional(),scopes:p.string().optional()});n();a();s();var ls=p.object({"access-token":p.string().optional(),"expires-in":p.string().optional(),"refresh-token":p.string().optional()});var fs=p.object({endpoint:p.string(),"request-properties":ps.optional(),"response-properties":ls.optional()});n();a();s();n();a();s();var ms=p.object({"refresh-token":p.string()});n();a();s();var ds=p.object({"access-token":p.string().optional(),"expires-in":p.string().optional(),"refresh-token":p.string().optional()});var hs=p.object({endpoint:p.string(),"request-properties":ms.optional(),"response-properties":ds.optional()});var ys=p.object({scheme:p.stringLiteral("oauth"),type:p.stringLiteral("client-credentials"),scopes:p.list(cs).optional(),"client-id-env":p.string().optional(),"client-secret-env":p.string().optional(),"token-prefix":p.string().optional(),"token-header":p.string().optional(),"get-token":fs,"refresh-token":hs.optional()}).extend(me);var Tt=p.undiscriminatedUnion([ys,us,ts,os]);var Yo={};z(Yo,{AvailabilitySchema:()=>gs,AvailabilityStatusSchema:()=>yr,AvailabilityUnionSchema:()=>bs});n();a();s();n();a();s();n();a();s();var yr=p.enum_(["in-development","pre-release","deprecated","generally-available"]);var gs=p.object({status:yr,message:p.string().optional()});n();a();s();var bs=p.undiscriminatedUnion([yr,gs]);var Xo={};z(Xo,{WithAudiences:()=>Et,WithAvailability:()=>xs,WithDocsSchema:()=>me,WithName:()=>wt});n();a();s();n();a();s();var Et=p.object({audiences:p.list(p.string()).optional()});n();a();s();var xs=p.object({availability:bs.optional()});var Zo={};z(Zo,{EncodingSchema:()=>ws,ProtobufTypeSchema:()=>Ss});n();a();s();n();a();s();n();a();s();var Ss=p.object({type:p.string()});var ws=p.object({proto:Ss.optional()});var eu={};z(eu,{EnvironmentSchema:()=>Is,MultipleBaseUrlsEnvironmentSchema:()=>Ts,ServerVariableSchema:()=>gr,SingleBaseUrlEnvironmentSchema:()=>Es,WithEnvironmentsSchema:()=>As});n();a();s();n();a();s();n();a();s();n();a();s();var gr=p.object({id:p.string(),default:p.string().optional(),values:p.list(p.string()).optional()});var Ts=p.object({urls:p.record(p.string(),p.string()),"url-templates":p.record(p.string(),p.string()).optional(),"default-urls":p.record(p.string(),p.string()).optional(),variables:p.record(p.string(),p.list(gr)).optional()}).extend(Et).extend(me);n();a();s();var Es=p.object({url:p.string(),"default-url":p.string().optional(),"url-template":p.string().optional(),variables:p.list(gr).optional()}).extend(Et).extend(me);var Is=p.undiscriminatedUnion([p.string(),Es,Ts]);n();a();s();var As=p.object({"default-url":p.string().optional(),"default-environment":p.string().optional(),environments:p.record(p.string(),Is).optional()});var tu={};z(tu,{WithHeadersSchema:()=>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 Ns=p.object({minItems:p.number().optional(),maxItems:p.number().optional()});n();a();s();var Rs=p.object({minProperties:p.number().optional(),maxProperties:p.number().optional()});n();a();s();var Os=p.object({min:p.number().optional(),max:p.number().optional(),exclusiveMin:p.boolean().optional(),exclusiveMax:p.boolean().optional(),multipleOf:p.number().optional()});n();a();s();var Ps=p.object({minLength:p.number().optional(),maxLength:p.number().optional(),pattern:p.string().optional(),format:p.string().optional()});var Cs=p.undiscriminatedUnion([Ps,Os,Ns,Rs]);var _s=p.object({default:p.unknown().optional(),encoding:ws.optional(),validation:Cs.optional()}).extend(me).extend(xs);var ks=p.object({type:p.string()}).extend(_s).extend(wt).extend(Et);var Fs=p.object({env:p.string().optional()}).extend(ks);var Ls=p.undiscriminatedUnion([p.string(),Fs]);var br=Ls;var js=p.object({headers:p.record(p.string(),br).optional()});var ru={};z(ru,{HttpHeaderSchema:()=>br,TypeReferenceDeclarationWithEnvOverride:()=>Ls,TypeReferenceDeclarationWithEnvOverrideSchema:()=>Fs});n();a();s();var iu={};z(iu,{BaseTypeReferenceSchema:()=>_s,TypeReferenceDeclarationWithName:()=>ks});n();a();s();var nu={};z(nu,{ListValidationSchema:()=>Ns,MapValidationSchema:()=>Rs,NumberValidationSchema:()=>Os,StringValidationSchema:()=>Ps,ValidationSchema:()=>Cs});n();a();s();var au={};z(au,{ApiConfigurationSchema:()=>ta,ApiConfigurationSchemaInternal:()=>Rr,ApiConfigurationV2Schema:()=>Zs,ApiConfigurationV2SettingsSchema:()=>Cr,ApiConfigurationV2SpecsSchema:()=>_r,ApiDefinitionList:()=>Us,ApiDefinitionPathSchema:()=>It,ApiDefinitionSchema:()=>Ds,ApiDefinitionSettingsSchema:()=>Er,ApiDefinitionWithOverridesSchema:()=>Ir,AsyncApiSettingsSchema:()=>Pr,AsyncApiSpecSchema:()=>Hs,BaseApiSettingsSchema:()=>Or,CoerceConstsTo:()=>Ms,ConjureSchema:()=>$s,DefaultIntegerFormat:()=>vs,ExampleStyle:()=>ra,FormParameterEncoding:()=>Vs,GeneratorImageObjectSchema:()=>ia,GeneratorsConfigurationSchema:()=>qf,GeneratorsOpenApiObjectSchema:()=>ka,GeneratorsOpenApiSchema:()=>Fa,GraphQlSpecSchema:()=>Js,Language:()=>La,MessageNamingSettingsSchema:()=>xr,MultiServerStrategy:()=>Sr,NamespacedApiConfigurationSchema:()=>ea,OpenApiExampleGenerationSchema:()=>zs,OpenApiFilterSchema:()=>qs,OpenApiSettingsSchema:()=>At,OpenApiSpecSchema:()=>Ks,OpenRpcSpecSchema:()=>Qs,OutputMetadataAuthor:()=>na,OutputMetadataSchema:()=>Nt,OverridesSchema:()=>Ve,PathParameterOrder:()=>wr,ProtobufApiDefinitionSchema:()=>Nr,ProtobufDefinitionSchema:()=>Ar,ProtobufSpecSchema:()=>Ys,ReadmeCustomSectionSchema:()=>ja,ReadmeEndpointObjectSchema:()=>Ba,ReadmeEndpointSchema:()=>zi,ReadmeSchema:()=>Da,RemoveDiscriminantsFromSchemas:()=>Tr,RequestOrResponseExampleGenerationSchema:()=>Mi,ResolveAliases:()=>Ws,ResolveAliasesSchema:()=>Gs,SpecSchema:()=>Xs,UnionSettingsSchema:()=>Bs,WhitelabelConfigurationSchema:()=>Ma,WhitelabelGithubConfigurationSchema:()=>Ua});n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var It=p.string();n();a();s();n();a();s();n();a();s();var xr=p.enum_(["v1","v2"]);n();a();s();var Sr=p.enum_(["environment-per-server","urls-per-environment"]);n();a();s();var wr=p.enum_(["url-order","spec-order"]);n();a();s();var Tr=p.enum_(["always","never"]);n();a();s();var Bs=p.enum_(["v1"]);var Er=p.object({"use-title":p.boolean().optional(),unions:Bs.optional(),"message-naming":xr.optional(),"respect-nullable-schemas":p.boolean().optional(),"only-include-referenced-schemas":p.boolean().optional(),"inline-path-parameters":p.boolean().optional(),"idiomatic-request-names":p.boolean().optional(),"wrap-references-to-nullable-in-optional":p.boolean().optional(),"coerce-optional-schemas-to-nullable":p.boolean().optional(),"group-environments-by-host":p.boolean().optional(),"multi-server-strategy":Sr.optional(),"remove-discriminants-from-schemas":Tr.optional(),"path-parameter-order":wr.optional()});n();a();s();var Ve=p.undiscriminatedUnion([p.string(),p.list(p.string())]);var Ir=p.object({path:It,origin:p.string().optional(),overrides:Ve.optional(),audiences:p.list(p.string()).optional(),settings:Er.optional()});n();a();s();n();a();s();var Ar=p.object({target:p.string().optional(),root:p.string(),overrides:Ve.optional(),"local-generation":p.boolean().optional(),"from-openapi":p.boolean().optional(),dependencies:p.list(p.string()).optional()});var Nr=p.object({proto:Ar});var Ds=p.undiscriminatedUnion([It,Ir,Nr]);var Us=p.list(Ds);var Rr=p.undiscriminatedUnion([It,Ir,Us,Nr]);n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var Ms=p.enum_(["literals","enums","enums-coerceable-to-literals"]);var Or=p.object({"respect-nullable-schemas":p.boolean().optional(),"title-as-schema-name":p.boolean().optional(),"optional-additional-properties":p.boolean().optional(),"coerce-enums-to-literals":p.boolean().optional(),"idiomatic-request-names":p.boolean().optional(),"wrap-references-to-nullable-in-optional":p.boolean().optional(),"coerce-optional-schemas-to-nullable":p.boolean().optional(),"group-environments-by-host":p.boolean().optional(),"multi-server-strategy":Sr.optional(),"remove-discriminants-from-schemas":Tr.optional(),"path-parameter-order":wr.optional(),"resolve-schema-collisions":p.boolean().optional(),"infer-forward-compatible":p.boolean().optional(),"infer-default-environment":p.boolean().optional(),"coerce-consts-to":Ms.optional()});var Pr=p.object({"message-naming":xr.optional()}).extend(Or);n();a();s();n();a();s();var vs=p.enum_(["int32","int64","uint32","uint64"]);n();a();s();var Vs=p.enum_(["form","json"]);n();a();s();n();a();s();var Mi=p.object({"max-depth":p.number().optional()});var zs=p.object({request:Mi.optional(),response:Mi.optional()});n();a();s();var qs=p.object({endpoints:p.list(p.string()).optional()});n();a();s();n();a();s();var Gs=p.object({except:p.list(p.string()).optional()});var Ws=p.undiscriminatedUnion([p.boolean(),Gs]);var At=p.object({"only-include-referenced-schemas":p.boolean().optional(),"inline-path-parameters":p.boolean().optional(),"prefer-undiscriminated-unions-with-literals":p.boolean().optional(),"object-query-parameters":p.boolean().optional(),"respect-readonly-schemas":p.boolean().optional(),"respect-forward-compatible-enums":p.boolean().optional(),"use-bytes-for-binary-response":p.boolean().optional(),"default-form-parameter-encoding":Vs.optional(),filter:qs.optional(),"example-generation":zs.optional(),"additional-properties-defaults-to":p.boolean().optional(),"type-dates-as-strings":p.boolean().optional(),"preserve-single-schema-oneof":p.boolean().optional(),"inline-all-of-schemas":p.boolean().optional(),"resolve-aliases":Ws.optional(),"group-multi-api-environments":p.boolean().optional(),"default-integer-format":vs.optional()}).extend(Or);var Cr=p.object({}).extend(At).extend(Pr);n();a();s();n();a();s();var $s=p.object({conjure:p.string()});n();a();s();n();a();s();var Hs=p.object({asyncapi:p.string(),origin:p.string().optional(),overrides:Ve.optional(),namespace:p.string().optional(),settings:Pr.optional()});n();a();s();var Js=p.object({graphql:p.string(),origin:p.string().optional(),overrides:p.string().optional(),name:p.string().optional()});n();a();s();var Ks=p.object({openapi:p.string(),origin:p.string().optional(),overrides:Ve.optional(),overlays:p.string().optional(),namespace:p.string().optional(),settings:At.optional()});n();a();s();var Qs=p.object({openrpc:p.string(),overrides:Ve.optional(),namespace:p.string().optional()});n();a();s();var Ys=p.object({proto:Ar});var Xs=p.undiscriminatedUnion([Ks,Hs,Ys,Qs,Js]);var _r=p.undiscriminatedUnion([p.list(Xs),$s]);var Zs=p.object({auth:dr.optional(),"auth-schemes":p.record(p.string(),Tt).optional(),specs:_r,settings:Cr.optional()}).extend(js).extend(As);n();a();s();var ea=p.object({namespaces:p.record(p.string(),Rr)});var ta=p.undiscriminatedUnion([Rr,ea,Zs]);n();a();s();var ra=p.enum_(["minimal","comprehensive"]);n();a();s();var ia=p.object({name:p.string(),registry:p.string()});n();a();s();n();a();s();n();a();s();n();a();s();var na=p.object({name:p.string(),email:p.string()});var Nt=p.object({description:p.string().optional(),authors:p.list(na).optional()});n();a();s();n();a();s();var vi=p.object({name:p.string()});var Rt=p.object({teams:p.list(vi).optional(),users:p.list(vi).optional()});n();a();s();n();a();s();n();a();s();n();a();s();var sa=p.object({auth:dr.optional(),"auth-schemes":p.record(p.string(),Tt).optional(),headers:p.record(p.string(),br).optional(),settings:Cr.optional(),specs:_r.optional()});n();a();s();n();a();s();var aa=p.object({url:p.string().optional(),"package-name":p.string(),token:p.string().optional()});n();a();s();var oa=p.object({path:p.string()});n();a();s();n();a();s();var ua=p.object({keyId:p.string(),password:p.string(),secretKey:p.string()});var ca=p.object({url:p.string().optional(),coordinate:p.string(),username:p.string().optional(),password:p.string().optional(),signature:ua.optional()});n();a();s();var pa=p.object({url:p.string().optional(),"package-name":p.string(),token:p.string().optional()});n();a();s();var la=p.object({url:p.string().optional(),"package-name":p.string(),"api-key":p.string().optional()});n();a();s();var fa=p.object({"api-key":p.string(),"workspace-id":p.string(),"collection-id":p.string().optional()});n();a();s();n();a();s();var ma=p.object({keywords:p.list(p.string()).optional(),"documentation-link":p.string().optional(),"homepage-link":p.string().optional()}).extend(Nt);var da=p.object({url:p.string().optional(),"package-name":p.string(),token:p.string().optional(),username:p.string().optional(),password:p.string().optional(),metadata:ma.optional()});n();a();s();var ha=p.object({url:p.string().optional(),"package-name":p.string(),"api-key":p.string().optional()});var ya=p.union("location",{npm:pa,maven:ca,pypi:da,postman:fa,"local-file-system":oa,nuget:la,rubygems:ha,crates:aa}).transform({transform:e=>e,untransform:e=>e});n();a();s();n();a();s();n();a();s();var ga=p.object({custom:p.string()});n();a();s();var ba=p.enum_(["MIT","Apache-2.0"]);var ze=p.undiscriminatedUnion([ba,ga]);var Vi=p.object({"package-description":p.string().optional(),email:p.string().optional(),"reference-url":p.string().optional(),author:p.string().optional(),license:ze.optional()});n();a();s();var xa=p.object({path:p.string()});n();a();s();n();a();s();n();a();s();var Sa=p.enum_(["commit","release"]);var wa=p.object({repository:p.string(),license:ze.optional(),mode:Sa.optional()});n();a();s();var Ta=p.object({repository:p.string(),branch:p.string().optional(),license:ze.optional(),mode:p.stringLiteral("pull-request"),reviewers:Rt.optional()});n();a();s();var Ea=p.object({repository:p.string(),license:ze.optional(),mode:p.stringLiteral("push"),branch:p.string().optional()});n();a();s();n();a();s();var Ia=p.enum_(["pull-request","push"]);var Aa=p.object({uri:p.string(),token:p.string(),mode:Ia.optional(),branch:p.string().optional(),license:ze.optional()});var Na=p.undiscriminatedUnion([Aa,wa,Ta,Ea]);var kr=p.object({version:p.string(),output:ya.optional(),github:Na.optional(),config:p.unknown().optional(),metadata:Vi.optional(),keywords:p.list(p.string()).optional(),snippets:xa.optional(),"ir-version":p.string().optional(),"smart-casing":p.boolean().optional(),api:sa.optional(),"disable-examples":p.boolean().optional(),"publish-metadata":Vi.optional(),autorelease:p.boolean().optional(),automation:St.optional()});var Ra=p.object({image:ia}).extend(kr);n();a();s();var Oa=p.object({name:p.string()}).extend(kr);var Pa=p.undiscriminatedUnion([Oa,Ra]);var Ca=p.object({audiences:p.list(p.string()).optional(),generators:p.list(Pa),metadata:Nt.optional(),reviewers:Rt.optional(),automation:St.optional()});n();a();s();var _a=p.object({enabled:p.boolean()});n();a();s();n();a();s();var ka=p.object({path:p.string(),origin:p.string().optional(),overrides:p.string().optional(),"disable-examples":p.boolean().optional(),settings:At});var Fa=p.undiscriminatedUnion([ka,p.string()]);n();a();s();n();a();s();n();a();s();var La=p.enum_(["java","python","go","ruby","csharp","typescript","php","rust","swift"]);var ja=p.object({title:p.string(),language:La,content:p.string()});n();a();s();n();a();s();var Ba=p.object({method:p.string(),path:p.string(),stream:p.boolean().optional()});var zi=p.undiscriminatedUnion([p.string(),Ba]);var Da=p.object({bannerLink:p.string().optional(),introduction:p.string().optional(),apiReferenceLink:p.string().optional(),apiName:p.string().optional(),disabledSections:p.list(p.string()).optional(),defaultEndpoint:zi.optional(),features:p.record(p.string(),p.list(zi)).optional(),customSections:p.list(ja).optional(),exampleStyle:ra.optional()});n();a();s();n();a();s();var Ua=p.object({username:p.string(),email:p.string(),token:p.string()});var Ma=p.object({github:Ua.optional()});var qf=p.object({"auth-schemes":p.record(p.string(),Tt).optional(),api:ta.optional(),whitelabel:Ma.optional(),metadata:Nt.optional(),readme:Da.optional(),"default-group":p.string().optional(),aliases:p.record(p.string(),p.list(p.string())).optional(),groups:p.record(p.string(),Ca).optional(),reviewers:Rt.optional(),replay:_a.optional(),ai:Qn.optional(),autorelease:p.boolean().optional(),automation:St.optional(),openapi:Fa.optional(),"openapi-overrides":p.string().optional(),"spec-origin":p.string().optional(),"async-api":p.string().optional(),"api-settings":Er.optional()});var ou={};z(ou,{BaseGeneratorInvocationSchema:()=>kr,CratesOutputLocationSchema:()=>aa,CustomGeneratorInvocationSchema:()=>Ra,DefaultGeneratorInvocationSchema:()=>Oa,GeneratorApiSettingsSchema:()=>sa,GeneratorGroupSchema:()=>Ca,GeneratorInvocationSchema:()=>Pa,GeneratorOutputSchema:()=>ya,GeneratorPublishMetadataSchema:()=>Vi,GeneratorSnippetsSchema:()=>xa,GithubCommitAndReleaseMode:()=>Sa,GithubCommitAndReleaseSchema:()=>wa,GithubConfigurationSchema:()=>Na,GithubPullRequestSchema:()=>Ta,GithubPushSchema:()=>Ea,GithubSelfhostedMode:()=>Ia,GithubSelfhostedSchema:()=>Aa,LocalFileSystemOutputLocationSchema:()=>oa,MavenOutputLocationSchema:()=>ca,MavenOutputSignatureSchema:()=>ua,NpmOutputLocationSchema:()=>pa,NugetOutputLocationSchema:()=>la,PostmanOutputLocationSchema:()=>fa,PypiOutputLocationSchema:()=>da,PypiOutputMetadataSchema:()=>ma,RubyGemsOutputLocationSchema:()=>ha});n();a();s();var uu={};z(uu,{GithubLicenseCustomSchema:()=>ga,GithubLicenseSchema:()=>ze,GithubLicenseType:()=>ba});n();a();s();var cu={};z(cu,{ReplayConfigSchema:()=>_a});n();a();s();var pu={};z(pu,{ReviewerSchema:()=>vi,ReviewersSchema:()=>Rt});n();a();s();n();a();s();n();a();s();function Gf(e){return e?.specs!=null}n();a();s();function Wf(e){return e?.asyncapi!=null}n();a();s();function $f(e){return e?.conjure!=null}n();a();s();function Hf(e){return e?.graphql!=null}n();a();s();function Jf(e){return e?.namespaces!=null}n();a();s();function Kf(e){return e?.openapi!=null}n();a();s();function Qf(e){return e?.openrpc!=null}n();a();s();function Yf(e){return e?.proto!=null}var Xf={[qe.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,Le(e)])),[qe.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"]),[qe.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"]),[qe.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"]),[qe.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"]),[qe.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"]),[qe.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"]),[qe.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"]),[qe.GenerationLanguage.SWIFT]:new Set([])};var hh=["go","ruby"];function va(e,t,r){let{generationLanguage:i,keywords:o,smartCasing:c}=r,l=Ih(e),x=D=>({unsafeName:D,safeName:yh({name:D,keywords:gh({generationLanguage:i,keywords:o})})}),w=t.preserveUnderscores===!0,I=w?(D,G)=>fu(D,G):(D,G)=>G(D),A=I(l,cr),P=w?fu(l,D=>Le(cr(D))):Le(A),L=I(l,Vn),{leading:R,trailing:j}=w?em(l):{leading:"",trailing:""},M=_i(A);if(c){!Sh(M)&&(i==null||hh.includes(i))&&(A=R+M.map((G,Q)=>{if(Q>0){let oe=Va(G);if(oe!=null)return oe;if(za(G))return G.toUpperCase()}return G}).join("")+j,P=Le(R+M.map((G,Q)=>{let oe=Va(G);return oe??(za(G)?G.toUpperCase():Q===0?Le(G):G)}).join("")+j));let D=G=>G.split(" ").map(Q=>Q.split(/(\d+)/).map(Vn).join("")).join("_");L=w?fu(l,D):D(l)}return{originalName:e,camelCase:x(t.casingOverrides?.camel??A),snakeCase:x(t.casingOverrides?.snake??L),screamingSnakeCase:x(t.casingOverrides?.["screaming-snake"]??L.toUpperCase()),pascalCase:x(t.casingOverrides?.pascal??P)}}function Zf({generationLanguage:e,keywords:t,smartCasing:r}){let i={generationLanguage:e,keywords:t,smartCasing:r};return{generateName:(o,c)=>{if(typeof o=="string")return va(o,c??{},i);if("wireValue"in o){let l=o.name;return typeof l=="string"?va(l,c??{},i):l}return o},generateNameAndWireValue:(o,c)=>{if(typeof o=="string")return{wireValue:o,name:va(o,c??{},i)};let{name:l,wireValue:x}=o,w=typeof l=="string"?va(l,c??{},i):l;return{wireValue:x,name:w}}}}function yh({name:e,keywords:t}){return t==null?e:t.has(e)?e+"_":xh(e)?"_"+e:e}function gh({generationLanguage:e,keywords:t}){if(t!=null)return new Set(t);if(e!=null)return Xf[e]}var bh=/^[0-9]/;function xh(e){return bh.test(e)}function Sh(e){return e.some((t,r)=>{if(r===0)return!1;let i=e[r-1];if(i==null)return!1;let o=Va(i)!=null||za(i),c=Va(t)!=null||za(t);return o&&c})}function Va(e){return Th.get(e.toUpperCase())}function za(e){return wh.has(e.toUpperCase())}var wh=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"]),Th=new Map([["ACLS","ACLs"],["APIS","APIs"],["CPUS","CPUs"],["GUIDS","GUIDs"],["IDS","IDs"],["UIDS","UIDs"],["UUIDS","UUIDs"],["URIS","URIs"],["URLS","URLs"]]),Eh=[[/\[\]/g,"Array"]];function Ih(e){return Eh.reduce((t,[r,i])=>t.replace(r,i),e)}function em(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 fu(e,t){let{leading:r,trailing:i,core:o}=em(e);return r===""&&i===""?t(e):`${r}${t(o)}${i}`}n();a();s();function qi(e){return typeof e=="string"?e:e.wireValue}var Gi=class e{constructor(t){y(this,"casingsGenerator");this.casingsGenerator=Zf(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}};n();a();s();var Ke=class extends ot{constructor(r){super();y(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 Rh=4;Cl({skip:0,maxFrames:15,filterFunctions:["Abstract"]});var Wi=class{constructor(){y(this,"lineBuffer",[]);y(this,"indentLevel",0);y(this,"hasWrittenAnything",!1);y(this,"lastCharacterIsSemicolon",!1);y(this,"lastCharacterIsNewline",!1);y(this,"nodeStackFrames",[])}get buffer(){return je&&this.nodeStackFrames.length>0&&this.writeInternal(`
|
|
6
6
|
`),this.lineBuffer.join(`
|
|
7
7
|
`)+(this.lastCharacterIsNewline?`
|
|
8
8
|
`:"")}write(...t){for(let r of t)if(r!=null)if(typeof r=="string"){let i=r.length>0&&r.endsWith(`
|
|
9
9
|
`),o=i?r.substring(0,r.length-1):r,c=this.getIndentString(),l=o.replaceAll(`
|
|
10
10
|
`,`
|
|
11
11
|
${c}`);this.isAtStartOfLine()&&(l=c+l),i&&(l+=`
|
|
12
|
-
`),this.writeInternal(l)}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){je&&this.nodeStackFrames.push(...
|
|
12
|
+
`),this.writeInternal(l)}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){je&&this.nodeStackFrames.push(...Bi(t)),t.write(this),je&&Lo!=="single"&&this.writeInternal(`
|
|
13
13
|
`)}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(`
|
|
14
14
|
`)}writeSemicolonIfLastCharacterIsNot(){this.lastCharacterIsSemicolon||this.writeInternal(";")}writeNewLineIfLastLineNot(){this.lastCharacterIsNewline||this.writeInternal(`
|
|
15
15
|
`)}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 l=t[c];l!=null&&i(l)}}}toString(){return this.buffer}writeInternal(t){if(t.length===0)return;let r=!this.lastCharacterIsNewline;this.hasWrittenAnything=!0,this.lastCharacterIsNewline=t.endsWith(`
|
|
16
16
|
`),this.lastCharacterIsSemicolon=t.endsWith(";");let i=t.split(`
|
|
17
|
-
`),o=je&&!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(Fi({maxFrames:15,skip:3}))),...this.formatStack(this.filterStack(this.nodeStackFrames),"node")];switch(this.nodeStackFrames.length=0,Fo){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 Nh}};n();a();s();function za(e){return e?.name!=null&&e?.assignment!=null}function fu(e){return e.length>0&&e[0]!=null&&za(e[0])}n();a();s();var Wi=class extends ot{constructor({condition:r,true_:i,false_:o}){super();y(this,"condition");y(this,"true_");y(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 $i=class{constructor(){y(this,"reporter");y(this,"snippet");y(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 Hi=class{constructor(t){y(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 $i;for(let c of i){let l=this.context.clone(),x=this.createSnippetGenerator(l);try{let w=await x.generateSnippet({endpoint:c,request:t,options:r});if(l.errors.empty())return{snippet:w,errors:void 0};o.update({context:l,snippet:w})}catch(w){o.err==null&&(o.err=w)}}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 l=this.context.clone(),x=this.createSnippetGenerator(l);try{return await x.generateSnippetAst({endpoint:c,request:t,options:r})}catch(w){o=w}}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 $i;for(let c of i){let l=this.context.clone(),x=this.createSnippetGenerator(l);try{let w=x.generateSnippetSync({endpoint:c,request:t,options:r});if(l.errors.empty())return{snippet:w,errors:void 0};o.update({context:l,snippet:w})}catch(w){o.err==null&&(o.err=w)}}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 Ji=class{constructor(){y(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 ee={Critical:"CRITICAL",Warning:"WARNING"},Ki=class e{constructor(){y(this,"errors");y(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 Qi=class{constructor({ir:t,config:r,options:i={}}){y(this,"config");y(this,"options");y(this,"errors");y(this,"_ir");y(this,"httpEndpointReferenceParser");this._ir=t,this.config=r,this.options=i,this.errors=new Ki,this.httpEndpointReferenceParser=new Ji}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 l=t.find(w=>w.name.wireValue===o);if(l==null)throw this.newParameterNotRecognizedError(o);let x=this.isListTypeReference(l.typeReference)&&!Array.isArray(c)?[c]:c;i.push({name:l.name,typeReference:l.typeReference,value:x})}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:ee.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,l]of Object.entries(r))if(l!==void 0){this.errors.scope(c);try{let x=t.find(w=>w.name.wireValue===c);if(x==null){if(i)continue;this.errors.add({severity:ee.Critical,message:this.newParameterNotRecognizedError(c).message});continue}o.push({name:x.name,typeReference:x.typeReference,value:l})}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 l=i[c.name.wireValue];l==null?c.typeReference.type==="nullable"&&o.push({name:c.name,typeReference:c.typeReference,value:null}):o.push({name:c.name,typeReference:c.typeReference,value:l})}return o}getSingleFileValue({property:t,record:r}){let i=r[t.wireValue];if(i!=null){if(typeof i!="string"){this.errors.add({severity:ee.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:ee.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:ee.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:ee.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:ee.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:ee.Critical,message:this.newParameterNotRecognizedError(o).message});return}if(typeof c!="string"){this.errors.add({severity:ee.Critical,message:`Expected discriminant value to be a string but got: ${typeof c}`});return}let l=t.types[c];if(l==null){this.errors.add({severity:ee.Critical,message:`No type found for discriminant value "${c}"`});return}let{[o]:x,...w}=i;return{singleDiscriminatedUnionType:l,discriminantValue:l.discriminantValue,value:w}}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:ue(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:ue(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:ee.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:ee.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:ee.Critical,message:"Multiple environments are not supported; use the baseUrl option instead"}),!1;let o=new Set(_i(i.urls));for(let c of _i(t))o.has(c)&&o.delete(c);return o.size>0?(this.errors.add({severity:ee.Critical,message:`The provided environments are invalid; got: [${Object.keys(t).join(", ")}], expected: [${_i(i.urls).join(", ")}]`}),!1):!0}}}getValueAsNumber({value:t}){if(typeof t!="number"){this.errors.add({severity:ee.Critical,message:this.newTypeMismatchError({expected:"number",value:t}).message});return}return t}getValueAsBoolean({value:t}){if(typeof t!="boolean"){this.errors.add({severity:ee.Critical,message:this.newTypeMismatchError({expected:"boolean",value:t}).message});return}return t}getValueAsString({value:t}){if(typeof t!="string"){this.errors.add({severity:ee.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:ue(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:ue(r)}})}fileUploadHasFileProperties({fileUpload:t}){return t.properties.some(r=>{switch(r.type){case"file":case"fileArray":return!0;case"bodyProperty":return!1;default:ue(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 Jt;(function(e){e.Concise="concise",e.Full="full"})(Jt||(Jt={}));n();a();s();var tt={PathParameters:"pathParameters",QueryParameters:"queryParameters",Headers:"headers",RequestBody:"requestBody"};n();a();s();n();a();s();n();a();s();var Qe=class extends Gi{constructor({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,skipImports:l=!1,skipGlobalQualifier:x=!1}){super();y(this,"references",{});y(this,"namespace");y(this,"namespaceAliases",{});y(this,"allNamespaceSegments");y(this,"allTypeClassReferences");y(this,"generation");y(this,"skipImports");y(this,"skipGlobalQualifier");y(this,"inQuoteBlock",!1);this.namespace=r,this.allNamespaceSegments=i,this.allTypeClassReferences=o,this.generation=c,this.skipImports=l,this.skipGlobalQualifier=x}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
|
+
`),o=je&&!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(Li({maxFrames:15,skip:3}))),...this.formatStack(this.filterStack(this.nodeStackFrames),"node")];switch(this.nodeStackFrames.length=0,Lo){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 Rh}};n();a();s();function qa(e){return e?.name!=null&&e?.assignment!=null}function mu(e){return e.length>0&&e[0]!=null&&qa(e[0])}n();a();s();var $i=class extends ot{constructor({condition:r,true_:i,false_:o}){super();y(this,"condition");y(this,"true_");y(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 Hi=class{constructor(){y(this,"reporter");y(this,"snippet");y(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 Ji=class{constructor(t){y(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 Hi;for(let c of i){let l=this.context.clone(),x=this.createSnippetGenerator(l);try{let w=await x.generateSnippet({endpoint:c,request:t,options:r});if(l.errors.empty())return{snippet:w,errors:void 0};o.update({context:l,snippet:w})}catch(w){o.err==null&&(o.err=w)}}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 l=this.context.clone(),x=this.createSnippetGenerator(l);try{return await x.generateSnippetAst({endpoint:c,request:t,options:r})}catch(w){o=w}}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 Hi;for(let c of i){let l=this.context.clone(),x=this.createSnippetGenerator(l);try{let w=x.generateSnippetSync({endpoint:c,request:t,options:r});if(l.errors.empty())return{snippet:w,errors:void 0};o.update({context:l,snippet:w})}catch(w){o.err==null&&(o.err=w)}}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 Ki=class{constructor(){y(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 ee={Critical:"CRITICAL",Warning:"WARNING"},Qi=class e{constructor(){y(this,"errors");y(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 Yi=class{constructor({ir:t,config:r,options:i={}}){y(this,"config");y(this,"options");y(this,"errors");y(this,"_ir");y(this,"httpEndpointReferenceParser");this._ir=t,this.config=r,this.options=i,this.errors=new Qi,this.httpEndpointReferenceParser=new Ki}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 l=t.find(w=>w.name.wireValue===o);if(l==null)throw this.newParameterNotRecognizedError(o);let x=this.isListTypeReference(l.typeReference)&&!Array.isArray(c)?[c]:c;i.push({name:l.name,typeReference:l.typeReference,value:x})}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:ee.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,l]of Object.entries(r))if(l!==void 0){this.errors.scope(c);try{let x=t.find(w=>w.name.wireValue===c);if(x==null){if(i)continue;this.errors.add({severity:ee.Critical,message:this.newParameterNotRecognizedError(c).message});continue}o.push({name:x.name,typeReference:x.typeReference,value:l})}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 l=i[c.name.wireValue];l==null?c.typeReference.type==="nullable"&&o.push({name:c.name,typeReference:c.typeReference,value:null}):o.push({name:c.name,typeReference:c.typeReference,value:l})}return o}getSingleFileValue({property:t,record:r}){let i=r[t.wireValue];if(i!=null){if(typeof i!="string"){this.errors.add({severity:ee.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:ee.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:ee.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:ee.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:ee.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:ee.Critical,message:this.newParameterNotRecognizedError(o).message});return}if(typeof c!="string"){this.errors.add({severity:ee.Critical,message:`Expected discriminant value to be a string but got: ${typeof c}`});return}let l=t.types[c];if(l==null){this.errors.add({severity:ee.Critical,message:`No type found for discriminant value "${c}"`});return}let{[o]:x,...w}=i;return{singleDiscriminatedUnionType:l,discriminantValue:l.discriminantValue,value:w}}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:ue(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:ue(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:ee.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:ee.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:ee.Critical,message:"Multiple environments are not supported; use the baseUrl option instead"}),!1;let o=new Set(ki(i.urls));for(let c of ki(t))o.has(c)&&o.delete(c);return o.size>0?(this.errors.add({severity:ee.Critical,message:`The provided environments are invalid; got: [${Object.keys(t).join(", ")}], expected: [${ki(i.urls).join(", ")}]`}),!1):!0}}}getValueAsNumber({value:t}){if(typeof t!="number"){this.errors.add({severity:ee.Critical,message:this.newTypeMismatchError({expected:"number",value:t}).message});return}return t}getValueAsBoolean({value:t}){if(typeof t!="boolean"){this.errors.add({severity:ee.Critical,message:this.newTypeMismatchError({expected:"boolean",value:t}).message});return}return t}getValueAsString({value:t}){if(typeof t!="string"){this.errors.add({severity:ee.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:ue(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:ue(r)}})}fileUploadHasFileProperties({fileUpload:t}){return t.properties.some(r=>{switch(r.type){case"file":case"fileArray":return!0;case"bodyProperty":return!1;default:ue(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 Jt;(function(e){e.Concise="concise",e.Full="full"})(Jt||(Jt={}));n();a();s();var tt={PathParameters:"pathParameters",QueryParameters:"queryParameters",Headers:"headers",RequestBody:"requestBody"};n();a();s();n();a();s();n();a();s();var Qe=class extends Wi{constructor({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,skipImports:l=!1,skipGlobalQualifier:x=!1}){super();y(this,"references",{});y(this,"namespace");y(this,"namespaceAliases",{});y(this,"allNamespaceSegments");y(this,"allTypeClassReferences");y(this,"generation");y(this,"skipImports");y(this,"skipGlobalQualifier");y(this,"inQuoteBlock",!1);this.namespace=r,this.allNamespaceSegments=i,this.allTypeClassReferences=o,this.generation=c,this.skipImports=l,this.skipGlobalQualifier=x}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}
|
|
18
18
|
${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,l=c.split(".")[0];return`using ${!this.skipGlobalQualifier&&(l==="System"||o.some(w=>w?.global)||this.generation.registry.hasTypeNamespaceConflict(l))?"global::":""}${c};`}).join(`
|
|
19
19
|
`);r.length>0&&(r=`${r}
|
|
20
20
|
`);for(let[i,o]of Object.entries(this.namespaceAliases)){let c=o.split(".")[0],l=!this.skipGlobalQualifier&&c==="System";r=`${r}using ${i} = ${l?"global::":""}${o};
|
|
21
|
-
`}return r}isCurrentNamespace(r){return r===this.namespace}};var
|
|
21
|
+
`}return r}isCurrentNamespace(r){return r===this.namespace}};var Ii={};z(Ii,{Access:()=>ge,And:()=>fi,Annotation:()=>yt,AnnotationGroup:()=>mi,AnonymousFunction:()=>di,AstNode:()=>W,Block:()=>Ut,Class:()=>it,ClassInstantiation:()=>Qr,ClassReference:()=>_e,CodeBlock:()=>Dt,Dictionary:()=>Yr,Enum:()=>wi,EnumInstantiation:()=>Xr,Field:()=>bi,InstantiatedPrimitive:()=>Ne,Interface:()=>Ti,List:()=>Zr,Literal:()=>J,MemberNode:()=>Ot,Method:()=>zt,MethodInvocation:()=>ei,MethodType:()=>Xe,Node:()=>Be,OptionalWrapper:()=>Kr,Or:()=>hi,Parameter:()=>Ye,ReadOnlyMemory:()=>ti,Set:()=>ri,String_:()=>ii,Switch:()=>yi,Ternary:()=>gi,TestClass:()=>Ei,Writer:()=>Qe,XmlDocBlock:()=>Vt,XmlDocWriter:()=>li,convertReadOnlyPrimitiveTypes:()=>Nm});n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();jo("AstNode");var W=class extends ot{constructor(r){super();y(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:l,skipImports:x=!1,skipGlobalQualifier:w=!1}){let I=new Qe({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,skipImports:x,skipGlobalQualifier:w});this.write(I);let A=I.toString(x);return l!=null?l.formatSync(A):A}toStringAsync({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,formatter:l,skipImports:x=!1,skipGlobalQualifier:w=!1}){let I=new Qe({namespace:r,allNamespaceSegments:i,allTypeClassReferences:o,generation:c,skipImports:x,skipGlobalQualifier:w});this.write(I);let A=I.toString(x);return l!=null?l.format(A):Promise.resolve(A)}toFormattedSnippet({allNamespaceSegments:r,allTypeClassReferences:i,generation:o,formatter:c,skipImports:l=!1}){let x=new Qe({namespace:"",allNamespaceSegments:r,allTypeClassReferences:i,generation:o,skipImports:l});return this.write(x),{imports:x.importsToString(),body:c.formatSync(x.buffer)}}async toFormattedSnippetAsync({allNamespaceSegments:r,allTypeClassReferences:i,generation:o,formatter:c,skipImports:l=!1}){let x=new Qe({namespace:"",allNamespaceSegments:r,allTypeClassReferences:i,generation:o,skipImports:l});return this.write(x),{imports:x.importsToString(),body:await c.format(x.buffer)}}get debugInfo(){return je?`Debug Info:
|
|
22
22
|
at:
|
|
23
|
-
${
|
|
23
|
+
${ji({multiline:!0}).replaceAll(`
|
|
24
24
|
`,`
|
|
25
25
|
`)}
|
|
26
26
|
creation stack:
|
|
27
|
-
${
|
|
28
|
-
`)}`:""}},Be=class extends W{constructor(r,i){super(i);y(this,"origin");this.origin=this.model.origin(r)}},Rt=class extends Be{constructor(r,i,o){super(i,o);y(this,"enclosingType");this.enclosingType=r.enclosingType}};var J=class extends W{get typeName(){return this.constructor.name}};(function(e){class t extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(this.value.toString())}}e.Boolean=t;class r extends e{constructor(C,U,re){super(re);y(this,"fields");y(this,"reference");this.reference=C,this.fields=U}write(C){let U=this.fields.filter(re=>!(re.value instanceof e.Nop));C.writeNode(this.reference.new({arguments_:U.map(re=>({name:re.name,assignment:re.value})),multiline:!0}))}}e.Class_=r;class i extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(this.System.DateOnly,`.Parse("${this.value}")`)}}e.Date=i;class o extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(this.System.DateTime,`.Parse("${this.value}", null, `,this.System.Globalization.DateTimeStyles,".AdjustToUniversal)")}}e.DateTime=o;class c extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(`${this.value}m`)}}e.Decimal=c;class l extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(this.value.toString())}}e.Double=l;class x extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(`${this.value}f`)}}e.Float=x;class w extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(this.value.toString())}}e.Integer=w;class I extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(`${this.value}L`)}}e.Long=I;class A extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(`${this.value}u`)}}e.Uint=A;class P extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(`${this.value}ul`)}}e.Ulong=P;class L extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.writeNode(this.value)}}e.Reference=L;class R extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.writeNode(this.csharp.string_({string:this.value}))}}e.String=R;class j extends e{write(K){K.write("null")}}e.Null=j;class M extends e{write(K){}}e.Nop=M;class D extends e{constructor(C,U,re){super(re);y(this,"valueType");y(this,"values");this.valueType=C,this.values=U}write(C){if(C.write(this.System.Collections.Generic.List(this.valueType).new()),this.values.length!==0){C.pushScope();for(let U of this.values.filter(re=>!(re instanceof e.Nop)))U.write(C),C.writeLine(",");C.popScope()}}}e.List=D;class G extends e{constructor(C,U,re){super(re);y(this,"valueType");y(this,"values");this.valueType=C,this.values=U}write(C){if(C.write(this.System.Collections.Generic.HashSet(this.valueType).new()),this.values.length!==0){C.pushScope();for(let U of this.values.filter(re=>!(re instanceof e.Nop)))U.write(C),C.writeLine(",");C.popScope()}}}e.Set=G;class Q extends e{constructor(C,U,re,He){super(He);y(this,"entries");y(this,"keyType");y(this,"valueType");this.keyType=C,this.valueType=U,this.entries=re}write(C){C.write(this.System.Collections.Generic.Dictionary(this.keyType,this.valueType).new());let U=this.entries.filter(re=>!v.Literal.nop(re.key)&&!v.Literal.nop(re.value));if(U.length!==0){C.pushScope();for(let re of U)C.write("["),C.writeNode(re.key),C.write("] = "),C.writeNode(re.value),C.writeLine(",");C.popScope()}}}e.Dictionary=Q;class oe extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){this.writeUnknown({writer:C,value:this.value})}writeUnknown({writer:C,value:U}){switch(typeof U){case"boolean":C.write(U.toString());return;case"string":C.writeNode(this.csharp.string_({string:U}));return;case"number":C.write(U.toString());return;case"object":if(U==null){C.write("null");return}if(Array.isArray(U)){this.writeUnknownArray({writer:C,value:U});return}this.writeUnknownMap({writer:C,value:U});return;default:throw new Error(`Internal error; unsupported unknown type: ${typeof U}`)}}writeUnknownArray({writer:C,value:U}){if(C.write(this.System.Collections.Generic.List(this.Primitive.object).new()),U.length!==0){C.writeLine(),C.pushScope();for(let re of U)C.writeNode(new oe(re,this.generation)),C.writeLine(",");C.popScope()}}writeUnknownMap({writer:C,value:U}){let re=Object.entries(U);if(C.write(this.System.Collections.Generic.Dictionary(this.Primitive.string,this.Primitive.object).new()),re.length!==0){C.writeLine(),C.pushScope();for(let[He,Ai]of re)C.write(`["${He}"] = `),C.writeNode(new oe(Ai,this.generation)),C.writeLine(",");C.popScope()}}}e.Unknown=oe})(J||(J={}));n();a();s();n();a();s();function de(e){throw new Error(e??"Assertion failed")}n();a();s();n();a();s();var F={};z(F,{ApiDefinitionSource:()=>mn,ApiVersionScheme:()=>Ha,AsymmetricAlgorithm:()=>mt,AsymmetricKeySource:()=>gn,AuthScheme:()=>Ot,AuthSchemesRequirement:()=>Yi,AvailabilityStatus:()=>Fr,ContainerType:()=>lt,Environments:()=>Xi,ErrorDeclarationDiscriminantValue:()=>Zi,ErrorDiscriminationStrategy:()=>dn,ExampleCodeSample:()=>en,ExampleContainer:()=>ft,ExampleEndpointSuccessResponse:()=>jr,ExamplePrimitive:()=>Ie,ExampleQueryParameterShape:()=>Br,ExampleRequestBody:()=>tn,ExampleResponse:()=>rn,ExampleSingleUnionTypeProperties:()=>Vr,ExampleStyle:()=>Ja,ExampleTypeReferenceShape:()=>Xt,ExampleTypeShape:()=>Lt,ExampleWebSocketMessageBody:()=>wn,FileProperty:()=>nn,FileUploadBodyPropertyEncoding:()=>sn,FileUploadRequestProperty:()=>an,HmacAlgorithm:()=>Gr,HttpEndpointSource:()=>Dr,HttpMethod:()=>_t,HttpRequestBody:()=>Qt,HttpResponseBody:()=>pt,JsonResponse:()=>on,Literal:()=>yn,NamedTypeDefault:()=>Ka,NonStreamHttpResponseBody:()=>Yt,OAuthConfiguration:()=>qa,ObjectPropertyAccess:()=>Qa,Pagination:()=>kt,PathParameterLocation:()=>un,PrimitiveTypeV1:()=>Ce,PrimitiveTypeV2:()=>Ae,ProtobufMethodType:()=>Mr,ProtobufType:()=>hn,PublishTarget:()=>Ft,PublishingConfig:()=>vr,RequestPropertyValue:()=>cn,ResolvedTypeReference:()=>Zt,SdkRequestBodyType:()=>pn,SdkRequestShape:()=>ln,ShapeType:()=>zr,SingleUnionTypeProperties:()=>qr,Source:()=>Ya,StreamingResponse:()=>Ur,SupportedSdkLanguage:()=>De,Transport:()=>fn,Type:()=>jt,TypeReference:()=>er,UnionDiscriminatorContext:()=>Xa,V2AuthValues:()=>Kt,V2EndpointLocationHttpMethod:()=>Ct,V2HttpEndpointResponseBody:()=>Lr,WebSocketMessageBody:()=>Tn,WebSocketMessageOrigin:()=>to,WebhookHttpMethod:()=>Za,WebhookPayload:()=>bn,WebhookPayloadBodySort:()=>_u,WebhookPayloadComponent:()=>Wr,WebhookSignatureEncoding:()=>eo,WebhookSignatureVerification:()=>xn,WebhookTimestampFormat:()=>Sn,WellKnownProtobufType:()=>ne,audience:()=>em,auth:()=>mu,commons:()=>du,constants:()=>tm,dynamic:()=>B,environment:()=>Tu,errors:()=>Eu,examples:()=>Iu,generatorExec:()=>ce,http:()=>Nu,ir:()=>Ru,proto:()=>Ou,publish:()=>Pu,types:()=>Cu,variables:()=>Im,webhooks:()=>ku,websocket:()=>Fu});n();a();s();n();a();s();var em={};n();a();s();var mu={};z(mu,{AuthScheme:()=>Ot,AuthSchemesRequirement:()=>Yi,OAuthConfiguration:()=>qa});n();a();s();n();a();s();var Ot={bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return Ot._visit(this,t)}}),basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return Ot._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return Ot._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return Ot._visit(this,t)}}),inferred:e=>Object.assign(Object.assign({},e),{type:"inferred",_visit:function(t){return Ot._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 Rh={All:"ALL",Any:"ANY",EndpointSecurity:"ENDPOINT_SECURITY"},Yi=Object.assign(Object.assign({},Rh),{_visit:(e,t)=>{switch(e){case Yi.All:return t.all();case Yi.Any:return t.any();case Yi.EndpointSecurity:return t.endpointSecurity();default:return t._other()}}});n();a();s();var qa={clientCredentials:e=>Object.assign(Object.assign({},e),{type:"clientCredentials",_visit:function(t){return qa._visit(this,t)}}),_visit:(e,t)=>e.type==="clientCredentials"?t.clientCredentials(e):t._other(e)};var du={};z(du,{AvailabilityStatus:()=>Fr});n();a();s();n();a();s();var Oh={InDevelopment:"IN_DEVELOPMENT",PreRelease:"PRE_RELEASE",GeneralAvailability:"GENERAL_AVAILABILITY",Deprecated:"DEPRECATED"},Fr=Object.assign(Object.assign({},Oh),{_visit:(e,t)=>{switch(e){case Fr.InDevelopment:return t.inDevelopment();case Fr.PreRelease:return t.preRelease();case Fr.GeneralAvailability:return t.generalAvailability();case Fr.Deprecated:return t.deprecated();default:return t._other()}}});var tm={};n();a();s();var B={};z(B,{Auth:()=>rm,AuthValues:()=>im,Environments:()=>lm,ErrorSeverity:()=>Ga,FileUploadRequestBodyProperty:()=>am,GeneratorOutputConfig:()=>fm,HttpMethod:()=>Pt,InlinedRequestBody:()=>om,LiteralType:()=>dm,NamedType:()=>hm,ObjectPropertyAccess:()=>Wa,PrimitiveTypeV1:()=>Pe,PublishInfo:()=>mm,ReferencedRequestBodyType:()=>um,Request:()=>cm,Response:()=>pm,SingleDiscriminatedUnionType:()=>ym,TypeReference:()=>gm,auth:()=>hu,commons:()=>nm,declaration:()=>sm,endpoints:()=>yu,environment:()=>gu,http:()=>bu,ir:()=>xu,snippets:()=>Su,types:()=>wu,variables:()=>bm});n();a();s();n();a();s();var hu={};z(hu,{Auth:()=>rm,AuthValues:()=>im});n();a();s();n();a();s();var rm={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return B.Auth._visit(this,t)}}),bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return B.Auth._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return B.Auth._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return B.Auth._visit(this,t)}}),inferred:e=>Object.assign(Object.assign({},e),{type:"inferred",_visit:function(t){return B.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 im={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return B.AuthValues._visit(this,t)}}),bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return B.AuthValues._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return B.AuthValues._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return B.AuthValues._visit(this,t)}}),inferred:e=>Object.assign(Object.assign({},e),{type:"inferred",_visit:function(t){return B.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 nm={};n();a();s();var sm={};n();a();s();var yu={};z(yu,{FileUploadRequestBodyProperty:()=>am,InlinedRequestBody:()=>om,ReferencedRequestBodyType:()=>um,Request:()=>cm,Response:()=>pm});n();a();s();n();a();s();var am={file:e=>Object.assign(Object.assign({},e),{type:"file",_visit:function(t){return B.FileUploadRequestBodyProperty._visit(this,t)}}),fileArray:e=>Object.assign(Object.assign({},e),{type:"fileArray",_visit:function(t){return B.FileUploadRequestBodyProperty._visit(this,t)}}),bodyProperty:e=>Object.assign(Object.assign({},e),{type:"bodyProperty",_visit:function(t){return B.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 om={properties:e=>({value:e,type:"properties",_visit:function(t){return B.InlinedRequestBody._visit(this,t)}}),referenced:e=>Object.assign(Object.assign({},e),{type:"referenced",_visit:function(t){return B.InlinedRequestBody._visit(this,t)}}),fileUpload:e=>Object.assign(Object.assign({},e),{type:"fileUpload",_visit:function(t){return B.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 um={bytes:()=>({type:"bytes",_visit:function(e){return B.ReferencedRequestBodyType._visit(this,e)}}),typeReference:e=>({value:e,type:"typeReference",_visit:function(t){return B.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 cm={body:e=>Object.assign(Object.assign({},e),{type:"body",_visit:function(t){return B.Request._visit(this,t)}}),inlined:e=>Object.assign(Object.assign({},e),{type:"inlined",_visit:function(t){return B.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 pm={json:()=>({type:"json",_visit:function(e){return B.Response._visit(this,e)}}),streaming:()=>({type:"streaming",_visit:function(e){return B.Response._visit(this,e)}}),streamParameter:()=>({type:"streamParameter",_visit:function(e){return B.Response._visit(this,e)}}),fileDownload:()=>({type:"fileDownload",_visit:function(e){return B.Response._visit(this,e)}}),text:()=>({type:"text",_visit:function(e){return B.Response._visit(this,e)}}),bytes:()=>({type:"bytes",_visit:function(e){return B.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 gu={};z(gu,{Environments:()=>lm});n();a();s();n();a();s();var lm={singleBaseUrl:e=>Object.assign(Object.assign({},e),{type:"singleBaseUrl",_visit:function(t){return B.Environments._visit(this,t)}}),multipleBaseUrls:e=>Object.assign(Object.assign({},e),{type:"multipleBaseUrls",_visit:function(t){return B.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 bu={};z(bu,{HttpMethod:()=>Pt});n();a();s();n();a();s();var Ph={Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Head:"HEAD"},Pt=Object.assign(Object.assign({},Ph),{_visit:(e,t)=>{switch(e){case Pt.Get:return t.get();case Pt.Post:return t.post();case Pt.Put:return t.put();case Pt.Patch:return t.patch();case Pt.Delete:return t.delete();case Pt.Head:return t.head();default:return t._other()}}});var xu={};z(xu,{GeneratorOutputConfig:()=>fm,PublishInfo:()=>mm});n();a();s();n();a();s();var fm={publish:e=>({value:e,type:"publish",_visit:function(t){return B.GeneratorOutputConfig._visit(this,t)}}),local:()=>({type:"local",_visit:function(e){return B.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 mm={go:e=>Object.assign(Object.assign({},e),{type:"go",_visit:function(t){return B.PublishInfo._visit(this,t)}}),swift:e=>Object.assign(Object.assign({},e),{type:"swift",_visit:function(t){return B.PublishInfo._visit(this,t)}}),maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return B.PublishInfo._visit(this,t)}}),npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return B.PublishInfo._visit(this,t)}}),nuget:e=>Object.assign(Object.assign({},e),{type:"nuget",_visit:function(t){return B.PublishInfo._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return B.PublishInfo._visit(this,t)}}),rubygems:e=>Object.assign(Object.assign({},e),{type:"rubygems",_visit:function(t){return B.PublishInfo._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return B.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 Su={};z(Su,{ErrorSeverity:()=>Ga});n();a();s();n();a();s();var Ch={Critical:"CRITICAL",Warning:"WARNING"},Ga=Object.assign(Object.assign({},Ch),{_visit:(e,t)=>{switch(e){case Ga.Critical:return t.critical();case Ga.Warning:return t.warning();default:return t._other()}}});var wu={};z(wu,{LiteralType:()=>dm,NamedType:()=>hm,ObjectPropertyAccess:()=>Wa,PrimitiveTypeV1:()=>Pe,SingleDiscriminatedUnionType:()=>ym,TypeReference:()=>gm});n();a();s();n();a();s();var dm={boolean:e=>({value:e,type:"boolean",_visit:function(t){return B.LiteralType._visit(this,t)}}),string:e=>({value:e,type:"string",_visit:function(t){return B.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 hm={alias:e=>Object.assign(Object.assign({},e),{type:"alias",_visit:function(t){return B.NamedType._visit(this,t)}}),enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return B.NamedType._visit(this,t)}}),object:e=>Object.assign(Object.assign({},e),{type:"object",_visit:function(t){return B.NamedType._visit(this,t)}}),discriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"discriminatedUnion",_visit:function(t){return B.NamedType._visit(this,t)}}),undiscriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"undiscriminatedUnion",_visit:function(t){return B.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 _h={ReadOnly:"READ_ONLY",WriteOnly:"WRITE_ONLY"},Wa=Object.assign(Object.assign({},_h),{_visit:(e,t)=>{switch(e){case Wa.ReadOnly:return t.readOnly();case Wa.WriteOnly:return t.writeOnly();default:return t._other()}}});n();a();s();var kh={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"},Pe=Object.assign(Object.assign({},kh),{_visit:(e,t)=>{switch(e){case Pe.Integer:return t.integer();case Pe.Long:return t.long();case Pe.Uint:return t.uint();case Pe.Uint64:return t.uint64();case Pe.Float:return t.float();case Pe.Double:return t.double();case Pe.Boolean:return t.boolean();case Pe.String:return t.string();case Pe.Date:return t.date();case Pe.DateTime:return t.dateTime();case Pe.DateTimeRfc2822:return t.dateTimeRfc2822();case Pe.Uuid:return t.uuid();case Pe.Base64:return t.base64();case Pe.BigInteger:return t.bigInteger();default:return t._other()}}});n();a();s();var ym={samePropertiesAsObject:e=>Object.assign(Object.assign({},e),{type:"samePropertiesAsObject",_visit:function(t){return B.SingleDiscriminatedUnionType._visit(this,t)}}),singleProperty:e=>Object.assign(Object.assign({},e),{type:"singleProperty",_visit:function(t){return B.SingleDiscriminatedUnionType._visit(this,t)}}),noProperties:e=>Object.assign(Object.assign({},e),{type:"noProperties",_visit:function(t){return B.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 gm={list:e=>({value:e,type:"list",_visit:function(t){return B.TypeReference._visit(this,t)}}),literal:e=>({value:e,type:"literal",_visit:function(t){return B.TypeReference._visit(this,t)}}),map:e=>Object.assign(Object.assign({},e),{type:"map",_visit:function(t){return B.TypeReference._visit(this,t)}}),named:e=>({value:e,type:"named",_visit:function(t){return B.TypeReference._visit(this,t)}}),nullable:e=>({value:e,type:"nullable",_visit:function(t){return B.TypeReference._visit(this,t)}}),optional:e=>({value:e,type:"optional",_visit:function(t){return B.TypeReference._visit(this,t)}}),primitive:e=>({value:e,type:"primitive",_visit:function(t){return B.TypeReference._visit(this,t)}}),set:e=>({value:e,type:"set",_visit:function(t){return B.TypeReference._visit(this,t)}}),unknown:()=>({type:"unknown",_visit:function(e){return B.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 bm={};n();a();s();var Tu={};z(Tu,{Environments:()=>Xi});n();a();s();n();a();s();var Xi={singleBaseUrl:e=>Object.assign(Object.assign({},e),{type:"singleBaseUrl",_visit:function(t){return Xi._visit(this,t)}}),multipleBaseUrls:e=>Object.assign(Object.assign({},e),{type:"multipleBaseUrls",_visit:function(t){return Xi._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 Eu={};z(Eu,{ErrorDeclarationDiscriminantValue:()=>Zi});n();a();s();n();a();s();var Zi={property:e=>({value:e,type:"property",_visit:function(t){return Zi._visit(this,t)}}),statusCode:()=>({type:"statusCode",_visit:function(e){return Zi._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 Iu={};z(Iu,{V2AuthValues:()=>Kt,V2EndpointLocationHttpMethod:()=>Ct,V2HttpEndpointResponseBody:()=>Lr});n();a();s();n();a();s();var Kt={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return Kt._visit(this,t)}}),bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return Kt._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return Kt._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return Kt._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 Fh={Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Head:"HEAD"},Ct=Object.assign(Object.assign({},Fh),{_visit:(e,t)=>{switch(e){case Ct.Get:return t.get();case Ct.Post:return t.post();case Ct.Put:return t.put();case Ct.Patch:return t.patch();case Ct.Delete:return t.delete();case Ct.Head:return t.head();default:return t._other()}}});n();a();s();var Lr={error:e=>({value:e,type:"error",_visit:function(t){return Lr._visit(this,t)}}),json:e=>({value:e,type:"json",_visit:function(t){return Lr._visit(this,t)}}),stream:e=>({value:e,type:"stream",_visit:function(t){return Lr._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 ce={};z(ce,{GeneratorEnvironment:()=>xm,GeneratorPublishTarget:()=>Sm,GithubPublishInfo:()=>wm,LicenseConfig:()=>Tm,LicenseId:()=>$a,OutputMode:()=>Em,config:()=>Au});n();a();s();n();a();s();var Au={};z(Au,{GeneratorEnvironment:()=>xm,GeneratorPublishTarget:()=>Sm,GithubPublishInfo:()=>wm,LicenseConfig:()=>Tm,LicenseId:()=>$a,OutputMode:()=>Em});n();a();s();n();a();s();var xm={local:()=>({type:"local",_visit:function(e){return ce.GeneratorEnvironment._visit(this,e)}}),remote:e=>Object.assign(Object.assign({},e),{type:"remote",_visit:function(t){return ce.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 Sm={maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return ce.GeneratorPublishTarget._visit(this,t)}}),npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return ce.GeneratorPublishTarget._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return ce.GeneratorPublishTarget._visit(this,t)}}),postman:e=>Object.assign(Object.assign({},e),{type:"postman",_visit:function(t){return ce.GeneratorPublishTarget._visit(this,t)}}),rubygems:e=>Object.assign(Object.assign({},e),{type:"rubygems",_visit:function(t){return ce.GeneratorPublishTarget._visit(this,t)}}),nuget:e=>Object.assign(Object.assign({},e),{type:"nuget",_visit:function(t){return ce.GeneratorPublishTarget._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return ce.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 wm={npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return ce.GithubPublishInfo._visit(this,t)}}),maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return ce.GithubPublishInfo._visit(this,t)}}),postman:e=>Object.assign(Object.assign({},e),{type:"postman",_visit:function(t){return ce.GithubPublishInfo._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return ce.GithubPublishInfo._visit(this,t)}}),rubygems:e=>Object.assign(Object.assign({},e),{type:"rubygems",_visit:function(t){return ce.GithubPublishInfo._visit(this,t)}}),nuget:e=>Object.assign(Object.assign({},e),{type:"nuget",_visit:function(t){return ce.GithubPublishInfo._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return ce.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 Tm={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return ce.LicenseConfig._visit(this,t)}}),custom:e=>Object.assign(Object.assign({},e),{type:"custom",_visit:function(t){return ce.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 Lh={Mit:"MIT",Apache2:"Apache-2.0"},$a=Object.assign(Object.assign({},Lh),{_visit:(e,t)=>{switch(e){case $a.Mit:return t.mit();case $a.Apache2:return t.apache2();default:return t._other()}}});n();a();s();var Em={publish:e=>Object.assign(Object.assign({},e),{type:"publish",_visit:function(t){return ce.OutputMode._visit(this,t)}}),downloadFiles:()=>({type:"downloadFiles",_visit:function(e){return ce.OutputMode._visit(this,e)}}),github:e=>Object.assign(Object.assign({},e),{type:"github",_visit:function(t){return ce.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 Nu={};z(Nu,{ExampleCodeSample:()=>en,ExampleEndpointSuccessResponse:()=>jr,ExampleQueryParameterShape:()=>Br,ExampleRequestBody:()=>tn,ExampleResponse:()=>rn,FileProperty:()=>nn,FileUploadBodyPropertyEncoding:()=>sn,FileUploadRequestProperty:()=>an,HttpEndpointSource:()=>Dr,HttpMethod:()=>_t,HttpRequestBody:()=>Qt,HttpResponseBody:()=>pt,JsonResponse:()=>on,NonStreamHttpResponseBody:()=>Yt,Pagination:()=>kt,PathParameterLocation:()=>un,RequestPropertyValue:()=>cn,SdkRequestBodyType:()=>pn,SdkRequestShape:()=>ln,StreamingResponse:()=>Ur,SupportedSdkLanguage:()=>De,Transport:()=>fn});n();a();s();n();a();s();var en={language:e=>Object.assign(Object.assign({},e),{type:"language",_visit:function(t){return en._visit(this,t)}}),sdk:e=>Object.assign(Object.assign({},e),{type:"sdk",_visit:function(t){return en._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 jr={body:e=>({value:e,type:"body",_visit:function(t){return jr._visit(this,t)}}),stream:e=>({value:e,type:"stream",_visit:function(t){return jr._visit(this,t)}}),sse:e=>({value:e,type:"sse",_visit:function(t){return jr._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 Br={single:()=>({type:"single",_visit:function(e){return Br._visit(this,e)}}),exploded:()=>({type:"exploded",_visit:function(e){return Br._visit(this,e)}}),commaSeparated:()=>({type:"commaSeparated",_visit:function(e){return Br._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 tn={inlinedRequestBody:e=>Object.assign(Object.assign({},e),{type:"inlinedRequestBody",_visit:function(t){return tn._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return tn._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 rn={ok:e=>({value:e,type:"ok",_visit:function(t){return rn._visit(this,t)}}),error:e=>Object.assign(Object.assign({},e),{type:"error",_visit:function(t){return rn._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 nn={file:e=>Object.assign(Object.assign({},e),{type:"file",_visit:function(t){return nn._visit(this,t)}}),fileArray:e=>Object.assign(Object.assign({},e),{type:"fileArray",_visit:function(t){return nn._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 jh={Exploded:"exploded",Json:"json",Form:"form"},sn=Object.assign(Object.assign({},jh),{_visit:(e,t)=>{switch(e){case sn.Exploded:return t.exploded();case sn.Json:return t.json();case sn.Form:return t.form();default:return t._other()}}});n();a();s();var an={file:e=>({value:e,type:"file",_visit:function(t){return an._visit(this,t)}}),bodyProperty:e=>Object.assign(Object.assign({},e),{type:"bodyProperty",_visit:function(t){return an._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 Dr={proto:e=>Object.assign(Object.assign({},e),{type:"proto",_visit:function(t){return Dr._visit(this,t)}}),openapi:()=>({type:"openapi",_visit:function(e){return Dr._visit(this,e)}}),openrpc:()=>({type:"openrpc",_visit:function(e){return Dr._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 Bh={Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Head:"HEAD"},_t=Object.assign(Object.assign({},Bh),{_visit:(e,t)=>{switch(e){case _t.Get:return t.get();case _t.Post:return t.post();case _t.Put:return t.put();case _t.Patch:return t.patch();case _t.Delete:return t.delete();case _t.Head:return t.head();default:return t._other()}}});n();a();s();var Qt={inlinedRequestBody:e=>Object.assign(Object.assign({},e),{type:"inlinedRequestBody",_visit:function(t){return Qt._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return Qt._visit(this,t)}}),fileUpload:e=>Object.assign(Object.assign({},e),{type:"fileUpload",_visit:function(t){return Qt._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return Qt._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 pt={json:e=>({value:e,type:"json",_visit:function(t){return pt._visit(this,t)}}),fileDownload:e=>Object.assign(Object.assign({},e),{type:"fileDownload",_visit:function(t){return pt._visit(this,t)}}),text:e=>Object.assign(Object.assign({},e),{type:"text",_visit:function(t){return pt._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return pt._visit(this,t)}}),streaming:e=>({value:e,type:"streaming",_visit:function(t){return pt._visit(this,t)}}),streamParameter:e=>Object.assign(Object.assign({},e),{type:"streamParameter",_visit:function(t){return pt._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 on={response:e=>Object.assign(Object.assign({},e),{type:"response",_visit:function(t){return on._visit(this,t)}}),nestedPropertyAsResponse:e=>Object.assign(Object.assign({},e),{type:"nestedPropertyAsResponse",_visit:function(t){return on._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 Yt={json:e=>({value:e,type:"json",_visit:function(t){return Yt._visit(this,t)}}),fileDownload:e=>Object.assign(Object.assign({},e),{type:"fileDownload",_visit:function(t){return Yt._visit(this,t)}}),text:e=>Object.assign(Object.assign({},e),{type:"text",_visit:function(t){return Yt._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return Yt._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 kt={cursor:e=>Object.assign(Object.assign({},e),{type:"cursor",_visit:function(t){return kt._visit(this,t)}}),offset:e=>Object.assign(Object.assign({},e),{type:"offset",_visit:function(t){return kt._visit(this,t)}}),custom:e=>Object.assign(Object.assign({},e),{type:"custom",_visit:function(t){return kt._visit(this,t)}}),uri:e=>Object.assign(Object.assign({},e),{type:"uri",_visit:function(t){return kt._visit(this,t)}}),path:e=>Object.assign(Object.assign({},e),{type:"path",_visit:function(t){return kt._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 Dh={Root:"ROOT",Service:"SERVICE",Endpoint:"ENDPOINT"},un=Object.assign(Object.assign({},Dh),{_visit:(e,t)=>{switch(e){case un.Root:return t.root();case un.Service:return t.service();case un.Endpoint:return t.endpoint();default:return t._other()}}});n();a();s();var cn={query:e=>Object.assign(Object.assign({},e),{type:"query",_visit:function(t){return cn._visit(this,t)}}),body:e=>Object.assign(Object.assign({},e),{type:"body",_visit:function(t){return cn._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 pn={typeReference:e=>Object.assign(Object.assign({},e),{type:"typeReference",_visit:function(t){return pn._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return pn._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 ln={justRequestBody:e=>({value:e,type:"justRequestBody",_visit:function(t){return ln._visit(this,t)}}),wrapper:e=>Object.assign(Object.assign({},e),{type:"wrapper",_visit:function(t){return ln._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 Ur={json:e=>Object.assign(Object.assign({},e),{type:"json",_visit:function(t){return Ur._visit(this,t)}}),text:e=>Object.assign(Object.assign({},e),{type:"text",_visit:function(t){return Ur._visit(this,t)}}),sse:e=>Object.assign(Object.assign({},e),{type:"sse",_visit:function(t){return Ur._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 Uh={Curl:"curl",Python:"python",Javascript:"javascript",Typescript:"typescript",Go:"go",Ruby:"ruby",Csharp:"csharp",Java:"java",Php:"php",Rust:"rust",Swift:"swift"},De=Object.assign(Object.assign({},Uh),{_visit:(e,t)=>{switch(e){case De.Curl:return t.curl();case De.Python:return t.python();case De.Javascript:return t.javascript();case De.Typescript:return t.typescript();case De.Go:return t.go();case De.Ruby:return t.ruby();case De.Csharp:return t.csharp();case De.Java:return t.java();case De.Php:return t.php();case De.Rust:return t.rust();case De.Swift:return t.swift();default:return t._other()}}});n();a();s();var fn={http:()=>({type:"http",_visit:function(e){return fn._visit(this,e)}}),grpc:e=>Object.assign(Object.assign({},e),{type:"grpc",_visit:function(t){return fn._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 Ru={};z(Ru,{ApiDefinitionSource:()=>mn,ApiVersionScheme:()=>Ha,ErrorDiscriminationStrategy:()=>dn,ExampleStyle:()=>Ja});n();a();s();n();a();s();var mn={proto:e=>Object.assign(Object.assign({},e),{type:"proto",_visit:function(t){return mn._visit(this,t)}}),openapi:()=>({type:"openapi",_visit:function(e){return mn._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 Ha={header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return Ha._visit(this,t)}}),_visit:(e,t)=>e.type==="header"?t.header(e):t._other(e)};n();a();s();var dn={statusCode:()=>({type:"statusCode",_visit:function(e){return dn._visit(this,e)}}),property:e=>Object.assign(Object.assign({},e),{type:"property",_visit:function(t){return dn._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 Mh={Minimal:"minimal",Comprehensive:"comprehensive"},Ja=Object.assign(Object.assign({},Mh),{_visit:(e,t)=>{switch(e){case Ja.Minimal:return t.minimal();case Ja.Comprehensive:return t.comprehensive();default:return t._other()}}});var Ou={};z(Ou,{ProtobufMethodType:()=>Mr,ProtobufType:()=>hn,WellKnownProtobufType:()=>ne});n();a();s();n();a();s();var vh={Unary:"UNARY",ClientStream:"CLIENT_STREAM",ServerStream:"SERVER_STREAM",BidirectionalStream:"BIDIRECTIONAL_STREAM"},Mr=Object.assign(Object.assign({},vh),{_visit:(e,t)=>{switch(e){case Mr.Unary:return t.unary();case Mr.ClientStream:return t.clientStream();case Mr.ServerStream:return t.serverStream();case Mr.BidirectionalStream:return t.bidirectionalStream();default:return t._other()}}});n();a();s();var hn={wellKnown:e=>({value:e,type:"wellKnown",_visit:function(t){return hn._visit(this,t)}}),userDefined:e=>Object.assign(Object.assign({},e),{type:"userDefined",_visit:function(t){return hn._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 ne={any:()=>({type:"any",_visit:function(e){return ne._visit(this,e)}}),api:()=>({type:"api",_visit:function(e){return ne._visit(this,e)}}),boolValue:()=>({type:"boolValue",_visit:function(e){return ne._visit(this,e)}}),bytesValue:()=>({type:"bytesValue",_visit:function(e){return ne._visit(this,e)}}),doubleValue:()=>({type:"doubleValue",_visit:function(e){return ne._visit(this,e)}}),duration:()=>({type:"duration",_visit:function(e){return ne._visit(this,e)}}),empty:()=>({type:"empty",_visit:function(e){return ne._visit(this,e)}}),enum:()=>({type:"enum",_visit:function(e){return ne._visit(this,e)}}),enumValue:()=>({type:"enumValue",_visit:function(e){return ne._visit(this,e)}}),field:()=>({type:"field",_visit:function(e){return ne._visit(this,e)}}),fieldCardinality:()=>({type:"fieldCardinality",_visit:function(e){return ne._visit(this,e)}}),fieldKind:()=>({type:"fieldKind",_visit:function(e){return ne._visit(this,e)}}),fieldMask:()=>({type:"fieldMask",_visit:function(e){return ne._visit(this,e)}}),floatValue:()=>({type:"floatValue",_visit:function(e){return ne._visit(this,e)}}),int32Value:()=>({type:"int32Value",_visit:function(e){return ne._visit(this,e)}}),int64Value:()=>({type:"int64Value",_visit:function(e){return ne._visit(this,e)}}),listValue:()=>({type:"listValue",_visit:function(e){return ne._visit(this,e)}}),method:()=>({type:"method",_visit:function(e){return ne._visit(this,e)}}),mixin:()=>({type:"mixin",_visit:function(e){return ne._visit(this,e)}}),nullValue:()=>({type:"nullValue",_visit:function(e){return ne._visit(this,e)}}),option:()=>({type:"option",_visit:function(e){return ne._visit(this,e)}}),sourceContext:()=>({type:"sourceContext",_visit:function(e){return ne._visit(this,e)}}),stringValue:()=>({type:"stringValue",_visit:function(e){return ne._visit(this,e)}}),struct:()=>({type:"struct",_visit:function(e){return ne._visit(this,e)}}),syntax:()=>({type:"syntax",_visit:function(e){return ne._visit(this,e)}}),timestamp:()=>({type:"timestamp",_visit:function(e){return ne._visit(this,e)}}),type:()=>({type:"type",_visit:function(e){return ne._visit(this,e)}}),uint32Value:()=>({type:"uint32Value",_visit:function(e){return ne._visit(this,e)}}),uint64Value:()=>({type:"uint64Value",_visit:function(e){return ne._visit(this,e)}}),value:()=>({type:"value",_visit:function(e){return ne._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 Pu={};z(Pu,{PublishTarget:()=>Ft,PublishingConfig:()=>vr});n();a();s();n();a();s();var vr={github:e=>Object.assign(Object.assign({},e),{type:"github",_visit:function(t){return vr._visit(this,t)}}),direct:e=>Object.assign(Object.assign({},e),{type:"direct",_visit:function(t){return vr._visit(this,t)}}),filesystem:e=>Object.assign(Object.assign({},e),{type:"filesystem",_visit:function(t){return vr._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 Ft={postman:e=>Object.assign(Object.assign({},e),{type:"postman",_visit:function(t){return Ft._visit(this,t)}}),npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return Ft._visit(this,t)}}),maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return Ft._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return Ft._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return Ft._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 Cu={};z(Cu,{ContainerType:()=>lt,ExampleContainer:()=>ft,ExamplePrimitive:()=>Ie,ExampleSingleUnionTypeProperties:()=>Vr,ExampleTypeReferenceShape:()=>Xt,ExampleTypeShape:()=>Lt,Literal:()=>yn,NamedTypeDefault:()=>Ka,ObjectPropertyAccess:()=>Qa,PrimitiveTypeV1:()=>Ce,PrimitiveTypeV2:()=>Ae,ResolvedTypeReference:()=>Zt,ShapeType:()=>zr,SingleUnionTypeProperties:()=>qr,Source:()=>Ya,Type:()=>jt,TypeReference:()=>er,UnionDiscriminatorContext:()=>Xa});n();a();s();n();a();s();var lt={list:e=>({list:e,type:"list",_visit:function(t){return lt._visit(this,t)}}),map:e=>Object.assign(Object.assign({},e),{type:"map",_visit:function(t){return lt._visit(this,t)}}),nullable:e=>({nullable:e,type:"nullable",_visit:function(t){return lt._visit(this,t)}}),optional:e=>({optional:e,type:"optional",_visit:function(t){return lt._visit(this,t)}}),set:e=>({set:e,type:"set",_visit:function(t){return lt._visit(this,t)}}),literal:e=>({literal:e,type:"literal",_visit:function(t){return lt._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 ft={list:e=>Object.assign(Object.assign({},e),{type:"list",_visit:function(t){return ft._visit(this,t)}}),set:e=>Object.assign(Object.assign({},e),{type:"set",_visit:function(t){return ft._visit(this,t)}}),optional:e=>Object.assign(Object.assign({},e),{type:"optional",_visit:function(t){return ft._visit(this,t)}}),nullable:e=>Object.assign(Object.assign({},e),{type:"nullable",_visit:function(t){return ft._visit(this,t)}}),map:e=>Object.assign(Object.assign({},e),{type:"map",_visit:function(t){return ft._visit(this,t)}}),literal:e=>Object.assign(Object.assign({},e),{type:"literal",_visit:function(t){return ft._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 Ie={integer:e=>({integer:e,type:"integer",_visit:function(t){return Ie._visit(this,t)}}),long:e=>({long:e,type:"long",_visit:function(t){return Ie._visit(this,t)}}),uint:e=>({uint:e,type:"uint",_visit:function(t){return Ie._visit(this,t)}}),uint64:e=>({uint64:e,type:"uint64",_visit:function(t){return Ie._visit(this,t)}}),float:e=>({float:e,type:"float",_visit:function(t){return Ie._visit(this,t)}}),double:e=>({double:e,type:"double",_visit:function(t){return Ie._visit(this,t)}}),boolean:e=>({boolean:e,type:"boolean",_visit:function(t){return Ie._visit(this,t)}}),string:e=>({string:e,type:"string",_visit:function(t){return Ie._visit(this,t)}}),date:e=>({date:e,type:"date",_visit:function(t){return Ie._visit(this,t)}}),datetime:e=>Object.assign(Object.assign({},e),{type:"datetime",_visit:function(t){return Ie._visit(this,t)}}),datetimeRfc2822:e=>Object.assign(Object.assign({},e),{type:"datetimeRfc2822",_visit:function(t){return Ie._visit(this,t)}}),uuid:e=>({uuid:e,type:"uuid",_visit:function(t){return Ie._visit(this,t)}}),base64:e=>({base64:e,type:"base64",_visit:function(t){return Ie._visit(this,t)}}),bigInteger:e=>({bigInteger:e,type:"bigInteger",_visit:function(t){return Ie._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 Vr={samePropertiesAsObject:e=>Object.assign(Object.assign({},e),{type:"samePropertiesAsObject",_visit:function(t){return Vr._visit(this,t)}}),singleProperty:e=>Object.assign(Object.assign({},e),{type:"singleProperty",_visit:function(t){return Vr._visit(this,t)}}),noProperties:()=>({type:"noProperties",_visit:function(e){return Vr._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 Xt={primitive:e=>({primitive:e,type:"primitive",_visit:function(t){return Xt._visit(this,t)}}),container:e=>({container:e,type:"container",_visit:function(t){return Xt._visit(this,t)}}),unknown:e=>({unknown:e,type:"unknown",_visit:function(t){return Xt._visit(this,t)}}),named:e=>Object.assign(Object.assign({},e),{type:"named",_visit:function(t){return Xt._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 Lt={alias:e=>Object.assign(Object.assign({},e),{type:"alias",_visit:function(t){return Lt._visit(this,t)}}),enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return Lt._visit(this,t)}}),object:e=>Object.assign(Object.assign({},e),{type:"object",_visit:function(t){return Lt._visit(this,t)}}),union:e=>Object.assign(Object.assign({},e),{type:"union",_visit:function(t){return Lt._visit(this,t)}}),undiscriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"undiscriminatedUnion",_visit:function(t){return Lt._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 yn={string:e=>({string:e,type:"string",_visit:function(t){return yn._visit(this,t)}}),boolean:e=>({boolean:e,type:"boolean",_visit:function(t){return yn._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 Ka={enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return Ka._visit(this,t)}}),_visit:(e,t)=>e.type==="enum"?t.enum(e):t._other(e)};n();a();s();var Vh={ReadOnly:"READ_ONLY",WriteOnly:"WRITE_ONLY"},Qa=Object.assign(Object.assign({},Vh),{_visit:(e,t)=>{switch(e){case Qa.ReadOnly:return t.readOnly();case Qa.WriteOnly:return t.writeOnly();default:return t._other()}}});n();a();s();var zh={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"},Ce=Object.assign(Object.assign({},zh),{_visit:(e,t)=>{switch(e){case Ce.Integer:return t.integer();case Ce.Long:return t.long();case Ce.Uint:return t.uint();case Ce.Uint64:return t.uint64();case Ce.Float:return t.float();case Ce.Double:return t.double();case Ce.Boolean:return t.boolean();case Ce.String:return t.string();case Ce.Date:return t.date();case Ce.DateTime:return t.dateTime();case Ce.DateTimeRfc2822:return t.dateTimeRfc2822();case Ce.Uuid:return t.uuid();case Ce.Base64:return t.base64();case Ce.BigInteger:return t.bigInteger();default:return t._other()}}});n();a();s();var Ae={integer:e=>Object.assign(Object.assign({},e),{type:"integer",_visit:function(t){return Ae._visit(this,t)}}),long:e=>Object.assign(Object.assign({},e),{type:"long",_visit:function(t){return Ae._visit(this,t)}}),uint:e=>Object.assign(Object.assign({},e),{type:"uint",_visit:function(t){return Ae._visit(this,t)}}),uint64:e=>Object.assign(Object.assign({},e),{type:"uint64",_visit:function(t){return Ae._visit(this,t)}}),float:e=>Object.assign(Object.assign({},e),{type:"float",_visit:function(t){return Ae._visit(this,t)}}),double:e=>Object.assign(Object.assign({},e),{type:"double",_visit:function(t){return Ae._visit(this,t)}}),boolean:e=>Object.assign(Object.assign({},e),{type:"boolean",_visit:function(t){return Ae._visit(this,t)}}),string:e=>Object.assign(Object.assign({},e),{type:"string",_visit:function(t){return Ae._visit(this,t)}}),date:e=>Object.assign(Object.assign({},e),{type:"date",_visit:function(t){return Ae._visit(this,t)}}),dateTime:e=>Object.assign(Object.assign({},e),{type:"dateTime",_visit:function(t){return Ae._visit(this,t)}}),dateTimeRfc2822:e=>Object.assign(Object.assign({},e),{type:"dateTimeRfc2822",_visit:function(t){return Ae._visit(this,t)}}),uuid:e=>Object.assign(Object.assign({},e),{type:"uuid",_visit:function(t){return Ae._visit(this,t)}}),base64:e=>Object.assign(Object.assign({},e),{type:"base64",_visit:function(t){return Ae._visit(this,t)}}),bigInteger:e=>Object.assign(Object.assign({},e),{type:"bigInteger",_visit:function(t){return Ae._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 Zt={container:e=>({container:e,type:"container",_visit:function(t){return Zt._visit(this,t)}}),named:e=>Object.assign(Object.assign({},e),{type:"named",_visit:function(t){return Zt._visit(this,t)}}),primitive:e=>({primitive:e,type:"primitive",_visit:function(t){return Zt._visit(this,t)}}),unknown:()=>({type:"unknown",_visit:function(e){return Zt._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 qh={Enum:"ENUM",Object:"OBJECT",Union:"UNION",UndiscriminatedUnion:"UNDISCRIMINATED_UNION"},zr=Object.assign(Object.assign({},qh),{_visit:(e,t)=>{switch(e){case zr.Enum:return t.enum();case zr.Object:return t.object();case zr.Union:return t.union();case zr.UndiscriminatedUnion:return t.undiscriminatedUnion();default:return t._other()}}});n();a();s();var qr={samePropertiesAsObject:e=>Object.assign(Object.assign({},e),{propertiesType:"samePropertiesAsObject",_visit:function(t){return qr._visit(this,t)}}),singleProperty:e=>Object.assign(Object.assign({},e),{propertiesType:"singleProperty",_visit:function(t){return qr._visit(this,t)}}),noProperties:()=>({propertiesType:"noProperties",_visit:function(e){return qr._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 Ya={proto:e=>({value:e,type:"proto",_visit:function(t){return Ya._visit(this,t)}}),_visit:(e,t)=>e.type==="proto"?t.proto(e.value):t._other(e)};n();a();s();var jt={alias:e=>Object.assign(Object.assign({},e),{type:"alias",_visit:function(t){return jt._visit(this,t)}}),enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return jt._visit(this,t)}}),object:e=>Object.assign(Object.assign({},e),{type:"object",_visit:function(t){return jt._visit(this,t)}}),union:e=>Object.assign(Object.assign({},e),{type:"union",_visit:function(t){return jt._visit(this,t)}}),undiscriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"undiscriminatedUnion",_visit:function(t){return jt._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 er={container:e=>({container:e,type:"container",_visit:function(t){return er._visit(this,t)}}),named:e=>Object.assign(Object.assign({},e),{type:"named",_visit:function(t){return er._visit(this,t)}}),primitive:e=>({primitive:e,type:"primitive",_visit:function(t){return er._visit(this,t)}}),unknown:()=>({type:"unknown",_visit:function(e){return er._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 Gh={Data:"data",Protocol:"protocol"},Xa=Object.assign(Object.assign({},Gh),{_visit:(e,t)=>{switch(e){case Xa.Data:return t.data();case Xa.Protocol:return t.protocol();default:return t._other()}}});var Im={};n();a();s();var ku={};z(ku,{AsymmetricAlgorithm:()=>mt,AsymmetricKeySource:()=>gn,HmacAlgorithm:()=>Gr,WebhookHttpMethod:()=>Za,WebhookPayload:()=>bn,WebhookPayloadBodySort:()=>_u,WebhookPayloadComponent:()=>Wr,WebhookSignatureEncoding:()=>eo,WebhookSignatureVerification:()=>xn,WebhookTimestampFormat:()=>Sn});n();a();s();n();a();s();var Wh={RsaSha256:"RSA_SHA256",RsaSha384:"RSA_SHA384",RsaSha512:"RSA_SHA512",EcdsaSha256:"ECDSA_SHA256",EcdsaSha384:"ECDSA_SHA384",EcdsaSha512:"ECDSA_SHA512",Ed25519:"ED25519"},mt=Object.assign(Object.assign({},Wh),{_visit:(e,t)=>{switch(e){case mt.RsaSha256:return t.rsaSha256();case mt.RsaSha384:return t.rsaSha384();case mt.RsaSha512:return t.rsaSha512();case mt.EcdsaSha256:return t.ecdsaSha256();case mt.EcdsaSha384:return t.ecdsaSha384();case mt.EcdsaSha512:return t.ecdsaSha512();case mt.Ed25519:return t.ed25519();default:return t._other()}}});n();a();s();var gn={jwks:e=>Object.assign(Object.assign({},e),{type:"jwks",_visit:function(t){return gn._visit(this,t)}}),static:e=>Object.assign(Object.assign({},e),{type:"static",_visit:function(t){return gn._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 $h={Sha256:"SHA256",Sha1:"SHA1",Sha384:"SHA384",Sha512:"SHA512"},Gr=Object.assign(Object.assign({},$h),{_visit:(e,t)=>{switch(e){case Gr.Sha256:return t.sha256();case Gr.Sha1:return t.sha1();case Gr.Sha384:return t.sha384();case Gr.Sha512:return t.sha512();default:return t._other()}}});n();a();s();var Hh={Get:"GET",Post:"POST"},Za=Object.assign(Object.assign({},Hh),{_visit:(e,t)=>{switch(e){case Za.Get:return t.get();case Za.Post:return t.post();default:return t._other()}}});n();a();s();var bn={inlinedPayload:e=>Object.assign(Object.assign({},e),{type:"inlinedPayload",_visit:function(t){return bn._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return bn._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 Jh={Alphabetical:"ALPHABETICAL"},_u=Object.assign(Object.assign({},Jh),{_visit:(e,t)=>e===_u.Alphabetical?t.alphabetical():t._other()});n();a();s();var Kh={Body:"BODY",Timestamp:"TIMESTAMP",NotificationUrl:"NOTIFICATION_URL",MessageId:"MESSAGE_ID"},Wr=Object.assign(Object.assign({},Kh),{_visit:(e,t)=>{switch(e){case Wr.Body:return t.body();case Wr.Timestamp:return t.timestamp();case Wr.NotificationUrl:return t.notificationUrl();case Wr.MessageId:return t.messageId();default:return t._other()}}});n();a();s();var Qh={Base64:"BASE64",Hex:"HEX"},eo=Object.assign(Object.assign({},Qh),{_visit:(e,t)=>{switch(e){case eo.Base64:return t.base64();case eo.Hex:return t.hex();default:return t._other()}}});n();a();s();var xn={hmac:e=>Object.assign(Object.assign({},e),{type:"hmac",_visit:function(t){return xn._visit(this,t)}}),asymmetric:e=>Object.assign(Object.assign({},e),{type:"asymmetric",_visit:function(t){return xn._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 Yh={UnixSeconds:"UNIX_SECONDS",UnixMillis:"UNIX_MILLIS",Iso8601:"ISO8601"},Sn=Object.assign(Object.assign({},Yh),{_visit:(e,t)=>{switch(e){case Sn.UnixSeconds:return t.unixSeconds();case Sn.UnixMillis:return t.unixMillis();case Sn.Iso8601:return t.iso8601();default:return t._other()}}});var Fu={};z(Fu,{ExampleWebSocketMessageBody:()=>wn,WebSocketMessageBody:()=>Tn,WebSocketMessageOrigin:()=>to});n();a();s();n();a();s();var wn={inlinedBody:e=>Object.assign(Object.assign({},e),{type:"inlinedBody",_visit:function(t){return wn._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return wn._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 Tn={inlinedBody:e=>Object.assign(Object.assign({},e),{type:"inlinedBody",_visit:function(t){return Tn._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return Tn._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 Xh={Client:"client",Server:"server"},to=Object.assign(Object.assign({},Xh),{_visit:(e,t)=>{switch(e){case to.Client:return t.client();case to.Server:return t.server();default:return t._other()}}});var no={};z(no,{camelCase:()=>io,hash:()=>Ge,normalizeDates:()=>Zh,uniqueId:()=>Lu,upperFirst:()=>ro});n();a();s();function ro(e){return`${e.charAt(0).toUpperCase()}${e.slice(1)}`}function io(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 Ge(e){let t=0;for(let r of e)t=(t<<5)-t+r.charCodeAt(0);return t}function Lu(e){function t(i){let o=Math.sin(i++)*1e4;return o-Math.floor(o)}let r=Ge(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 Zh(e,t){return v.isIsoDateTimeString(t)?new Date(t).toISOString():v.isIsoDateString(t)?new Date(t).toISOString().slice(0,10):t}var Hr=class extends W{constructor(){super(...arguments);y(this,"defaultValue",this.csharp.Literal.null());y(this,"isOptional",!1);y(this,"isReferenceType",!1);y(this,"fullyQualifiedName",this.constructor.name)}get isAsyncEnumerable(){return!1}get isCollection(){return!1}getCollectionItemType(){}asOptional(){return new We(this,this.generation)}asNullable(){return new rr(this,this.generation)}asNonOptional(){return this}write(r){r.write(this.fullyQualifiedName)}writeEmptyCollectionInitializer(r){}getDeterminsticDefault(r){return this.csharp.Literal.nop()}},ke=class extends Hr{get multipartMethodName(){return"AddStringPart"}get multipartMethodNameForCollection(){return"AddStringParts"}},Bt=class extends Hr{constructor(){super(...arguments);y(this,"isReferenceType",!0)}},tr=class extends Bt{get isCollection(){return!0}get multipartMethodName(){return"AddJsonPart"}get multipartMethodNameForCollection(){return"AddJsonParts"}},En=class extends Bt{get multipartMethodName(){return"AddJsonPart"}get multipartMethodNameForCollection(){return"AddJsonParts"}},We=class extends Bt{constructor(r,i){super(i);y(this,"isOptional",!0);y(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("?")}},rr=class extends Bt{constructor(r,i){super(i);y(this,"isOptional",!0);y(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("?")}},Jr=class extends Bt{constructor(r,i){super(i);y(this,"isOptional",!0);y(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(">")}},te;(function(e){class t extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","int");y(this,"defaultValue",this.csharp.Literal.integer(0))}getDeterminsticDefault(R){return this.csharp.Literal.integer(Ge(R)&2147483647)}}e.Integer=t;class r extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","long");y(this,"defaultValue",this.csharp.Literal.long(0))}getDeterminsticDefault(R){return this.csharp.Literal.long(Ge(R)&0x7ffffffffffff)}}e.Long=r;class i extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","uint");y(this,"defaultValue",this.csharp.Literal.uint(0))}getDeterminsticDefault(R){return this.csharp.Literal.uint(Ge(R)&2147483647)}}e.Uint=i;class o extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","ulong");y(this,"defaultValue",this.csharp.Literal.ulong(0))}getDeterminsticDefault(R){return this.csharp.Literal.ulong(Ge(R)&0x7ffffffffffff)}}e.ULong=o;class c extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","string");y(this,"defaultValue",this.csharp.Literal.string(""));y(this,"isReferenceType",!0)}getDeterminsticDefault(R){return this.csharp.Literal.string(`<${R}>`)}}e.String=c;class l extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","bool");y(this,"defaultValue",this.csharp.Literal.boolean(!1))}getDeterminsticDefault(R){return this.csharp.Literal.boolean(Ge(R)%2===0)}}e.Boolean=l;class x extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","float");y(this,"defaultValue",this.csharp.Literal.float(0))}getDeterminsticDefault(R){return this.csharp.Literal.float((Ge(R)&2147483647)/100)}}e.Float=x;class w extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","double");y(this,"defaultValue",this.csharp.Literal.double(0))}getDeterminsticDefault(R){return this.csharp.Literal.double((Ge(R)&0x7ffffffffffff)/100)}}e.Double=w;class I extends En{constructor(){super(...arguments);y(this,"fullyQualifiedName","object")}}e.Object=I;class A extends ke{constructor(R,j){super(j);y(this,"fullyQualifiedName");this.fullyQualifiedName=R}}e.ArbitraryType=A})(te||(te={}));var Ue;(function(e){class t extends Bt{get multipartMethodName(){return de("byte[] can not be added to multipart form"),""}get multipartMethodNameForCollection(){return de("byte[] can not be added to multipart form"),""}write(x){x.write("byte[]")}}e.Binary=t;class r extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","DateOnly")}getDeterminsticDefault(w){let I=new Date(Ge(w)&0x7ffffffffffff);return this.csharp.Literal.date(I.toISOString())}}e.DateOnly=r;class i extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","DateTime")}getDeterminsticDefault(w){let I=new Date(Ge(w)&0x7ffffffffffff);return this.csharp.Literal.datetime(I.toISOString())}}e.DateTime=i;class o extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","string");y(this,"defaultValue",this.csharp.Literal.string(""));y(this,"isReferenceType",!0)}getDeterminsticDefault(w){return this.csharp.Literal.string(Lu(w))}}e.Uuid=o;class c extends ke{constructor(w,I){super(I);y(this,"value");this.value=w}write(w){this.Types.StringEnum(this.value).write(w)}}e.StringEnum=c})(Ue||(Ue={}));var we;(function(e){class t extends En{constructor(A,P){super(P);y(this,"isReferenceType",!0);y(this,"value");this.value=A}getCollectionItemType(){return this.value}write(A){if($r({writer:A,value:this.value})){this.writeReadOnlyMemoryType({writer:A,value:this.value});return}this.value.write(A),A.write("[]")}writeReadOnlyMemoryType({writer:A,value:P}){A.writeNode(this.System.ReadOnlyMemory(P))}}e.Array=t;class r extends tr{constructor(A,P){super(P);y(this,"value");this.value=A}get multipartMethodName(){return this.value.multipartMethodNameForCollection}get multipartMethodNameForCollection(){return this.value.multipartMethodNameForCollection}getCollectionItemType(){return this.value}write(A){if($r({writer:A,value:this.value})){this.writeReadOnlyMemoryType({writer:A,value:this.value});return}A.writeNode(this.System.Collections.Generic.List(this.value))}writeEmptyCollectionInitializer(A){$r({writer:A,value:this.value})||A.writeStatement(" = ",this.System.Collections.Generic.List(this.value).new())}writeReadOnlyMemoryType({writer:A,value:P}){A.writeNode(this.System.ReadOnlyMemory(P))}}e.ListType=r;class i extends tr{constructor(A,P){super(P);y(this,"value");this.value=A}get multipartMethodName(){return this.value.multipartMethodNameForCollection}get multipartMethodNameForCollection(){return this.value.multipartMethodNameForCollection}getCollectionItemType(){return this.value}write(A){if($r({writer:A,value:this.value})){this.writeReadOnlyMemoryType({writer:A,value:this.value});return}A.writeNode(this.System.Collections.Generic.IEnumerable(this.value))}writeEmptyCollectionInitializer(A){$r({writer:A,value:this.value})||A.writeStatement(" = ",this.System.Collections.Generic.List(this.value).new())}writeReadOnlyMemoryType({writer:A,value:P}){A.writeNode(this.System.ReadOnlyMemory(P))}}e.List=i;class o extends tr{constructor(A,P){super(P);y(this,"value");this.value=A}getCollectionItemType(){return this.value}write(A){A.writeNode(this.System.Collections.Generic.HashSet(this.value))}writeEmptyCollectionInitializer(A){A.writeStatement(" = ",this.System.Collections.Generic.HashSet(this.value).new())}}e.Set=o;class c extends tr{constructor(A,P,L,R){super(L);y(this,"keyType");y(this,"options");y(this,"valueType");this.keyType=A,this.valueType=P,this.options=R}getCollectionItemType(){return this.Collection.keyValuePair(this.keyType,this.valueType)}write(A){if(this.options?.dontSimplify!==!0&&A.generation.settings.simplifyObjectDictionaries&&this.keyType instanceof te.String&&this.valueType instanceof We&&this.valueType.value instanceof te.Object){A.write("object");return}A.write(this.System.Collections.Generic.Dictionary(this.keyType,this.valueType))}writeEmptyCollectionInitializer(A){A.writeStatement(" = ",this.System.Collections.Generic.Dictionary(this.keyType,this.valueType).new())}}e.Map=c;class l extends tr{constructor(A,P,L,R){super(L);y(this,"keyType");y(this,"options");y(this,"valueType");this.keyType=A,this.valueType=P,this.options=R}getCollectionItemType(){return this.Collection.keyValuePair(this.keyType,this.valueType)}write(A){if(this.options?.dontSimplify!==!0&&A.generation.settings.simplifyObjectDictionaries&&this.keyType instanceof te.String&&this.valueType instanceof We&&this.valueType.value instanceof te.Object){A.write("object");return}A.writeNode(this.System.Collections.Generic.IDictionary(this.keyType,this.valueType))}}e.IDictionary=l;class x extends En{constructor(A,P,L){super(L);y(this,"isReferenceType",!1);y(this,"keyType");y(this,"valueType");this.keyType=A,this.valueType=P}write(A){A.writeNode(this.System.Collections.Generic.KeyValuePair(this.keyType,this.valueType))}}e.KeyValuePair=x})(we||(we={}));function Am(e){return e.map(t=>{switch(t){case"int":return F.PrimitiveTypeV1.Integer;case"long":return F.PrimitiveTypeV1.Long;case"uint":return F.PrimitiveTypeV1.Uint;case"ulong":return F.PrimitiveTypeV1.Uint64;case"string":return F.PrimitiveTypeV1.String;case"bool":case"boolean":return F.PrimitiveTypeV1.Boolean;case"float":return F.PrimitiveTypeV1.Float;case"double":return F.PrimitiveTypeV1.Double;default:throw new Error(`Internal error; unknown ReadOnlyMemory type: ${t}`)}})}function $r({writer:e,value:t}){return t instanceof We?$r({writer:e,value:t.value}):t instanceof te.Integer?e.isReadOnlyMemoryType("int"):t instanceof te.Long?e.isReadOnlyMemoryType("long"):t instanceof te.Uint?e.isReadOnlyMemoryType("uint"):t instanceof te.ULong?e.isReadOnlyMemoryType("ulong"):t instanceof te.String?e.isReadOnlyMemoryType("string"):t instanceof te.Boolean?e.isReadOnlyMemoryType("bool"):t instanceof te.Float?e.isReadOnlyMemoryType("float"):t instanceof te.Double?e.isReadOnlyMemoryType("double"):!1}var _e=class extends Be{constructor({name:r,namespace:i,namespaceAlias:o,enclosingType:c,generics:l,fullyQualified:x,global:w,fullyQualifiedName:I,origin:A,isCollection:P,multipartMethodName:L,multipartMethodNameForCollection:R,isReferenceType:j},M,D){super(A,D);y(this,"scope");y(this,"name");y(this,"namespace");y(this,"namespaceAlias");y(this,"enclosingType");y(this,"generics");y(this,"fullyQualified");y(this,"global");y(this,"fullyQualifiedName");y(this,"isCollection");y(this,"namespaceSegments");y(this,"isReferenceType");y(this,"multipartMethodName");y(this,"multipartMethodNameForCollection");this.scope=M,this.name=r,this.namespace=c?.namespace??i??"",this.namespaceAlias=o,this.enclosingType=c,this.generics=l??[],this.fullyQualified=x??!1,this.global=w??!1,this.namespaceSegments=this.namespace.split("."),this.isCollection=P??!1,c!=null?this.fullyQualifiedName=c.fullyQualifiedName?`${c.fullyQualifiedName}+${r}`:r:this.fullyQualifiedName=I||r,this.multipartMethodName=L===void 0?"AddJsonPart":L,this.multipartMethodNameForCollection=R===void 0?"AddJsonParts":R,this.isReferenceType=j}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(I=>I!==this.namespace&&this.registry.isRegisteredTypeName(`${I}.${this.name}`)),l=!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),x=this.csharpQualifiedName;if(i&&x.endsWith("Attribute")){let I=x.lastIndexOf(".");if(I>=0){let A=x.substring(0,I+1),P=x.substring(I+1);P.endsWith("Attribute")&&(x=A+P.slice(0,-9))}else x=x.slice(0,-9)}let w=`${l?"global::":""}${x}`;if(!this.namespace){r.write(o);return}if(this.namespaceAlias!=null){let I=r.addNamespaceAlias(this.namespaceAlias,this.resolveNamespace());r.write(`${I}.${o}`)}else if(r.skipImports)r.write(o);else if(this.fullyQualified)r.write(w);else if(this.qualifiedTypeNameRequired(r,i)||r.skipImports){let I=this.getTypeQualification({classReferenceNamespace:this.resolveNamespace(),namespaceToBeWrittenTo:r.namespace,isAttribute:i}),A=I.split(".");l||this.registry.isAmbiguousTypeName(A[0])||this.registry.isAmbiguousNamespaceName(A[0])||this.registry.hasTypeNamespaceConflict(A[0])?r.write(w):r.write(`${I}${o}`)}else c&&this.resolveNamespace()!==r.namespace||this.registry.hasTypeNamespaceConflict(this.name)?r.write(w):(r.addReference(this),r.write(o));this.generics!=null&&this.generics.length>0&&(r.write("<"),this.generics.forEach((I,A)=>{r.writeNode(I),A<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 x=this.namespaceSegments,w=i.split("."),I=0,A=Math.min(x.length,w.length);for(;I<A&&x[I]===w[I];)I++;return I>0&&I<x.length?`${x.slice(I).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 l=r.namespace;for(let x of c)if(x===l||l.startsWith(`${x}.`))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||de(`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 We(this,this.generation)}asNullable(){return new rr(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 V=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),Y={FernFilepath:e=>V(e)&&"allParts"in e&&"packagePath"in e&&Array.isArray(e.allParts)&&Array.isArray(e.packagePath),Name:e=>V(e)&&"originalName"in e&&"camelCase"in e&&"pascalCase"in e&&"snakeCase"in e&&"screamingSnakeCase"in e&&typeof e.originalName=="string",NameAndWireValue:e=>V(e)&&"wireValue"in e&&"name"in e&&typeof e.wireValue=="string",SafeAndUnsafeString:e=>V(e)&&"unsafeName"in e&&"safeName"in e&&typeof e.unsafeName=="string"&&typeof e.safeName=="string",WithDocs:e=>V(e),BasicAuth:e=>V(e)&&"username"in e&&"password"in e,BasicAuthValues:e=>V(e)&&"username"in e&&"password"in e&&typeof e.username=="string"&&typeof e.password=="string",BearerAuth:e=>V(e)&&"token"in e,BearerAuthValues:e=>V(e)&&"token"in e&&typeof e.token=="string",HeaderAuth:e=>V(e)&&"header"in e,HeaderAuthValues:e=>V(e),InferredAuth:e=>V(e),InferredAuthValues:e=>V(e),OAuth:e=>V(e)&&"clientId"in e&&"clientSecret"in e,OAuthValues:e=>V(e)&&"clientId"in e&&"clientSecret"in e&&typeof e.clientId=="string"&&typeof e.clientSecret=="string",EnvironmentBaseUrlWithId:e=>V(e)&&"id"in e&&"name"in e,EnvironmentsConfig:e=>V(e)&&"environments"in e,MultipleBaseUrlsEnvironment:e=>V(e)&&"id"in e&&"name"in e&&"urls"in e&&V(e.urls),MultipleBaseUrlsEnvironments:e=>V(e)&&"baseUrls"in e&&"environments"in e&&Array.isArray(e.baseUrls)&&Array.isArray(e.environments),SingleBaseUrlEnvironment:e=>V(e)&&"id"in e&&"name"in e&&"url"in e,SingleBaseUrlEnvironments:e=>V(e)&&"environments"in e&&Array.isArray(e.environments),AliasType:e=>V(e)&&"declaration"in e&&"typeReference"in e,DiscriminatedUnionType:e=>V(e)&&"declaration"in e&&"discriminant"in e&&"types"in e&&V(e.types),EnumType:e=>V(e)&&"declaration"in e&&"values"in e&&Array.isArray(e.values),MapType:e=>V(e)&&"key"in e&&"value"in e,NamedParameter:e=>V(e)&&"name"in e&&"typeReference"in e,ObjectType:e=>V(e)&&"declaration"in e&&"properties"in e&&Array.isArray(e.properties),SingleDiscriminatedUnionTypeNoProperties:e=>V(e)&&"discriminantValue"in e,SingleDiscriminatedUnionTypeObject:e=>V(e)&&"typeId"in e&&"discriminantValue"in e&&"properties"in e&&Array.isArray(e.properties),SingleDiscriminatedUnionTypeSingleProperty:e=>V(e)&&"typeReference"in e&&"discriminantValue"in e,UndiscriminatedUnionType:e=>V(e)&&"declaration"in e&&"types"in e&&Array.isArray(e.types),BodyRequest:e=>V(e),Endpoint:e=>V(e)&&"declaration"in e&&"location"in e&&"request"in e&&"response"in e,EndpointExample:e=>V(e)&&"id"in e&&typeof e.id=="string",EndpointLocation:e=>V(e)&&"method"in e&&"path"in e&&typeof e.path=="string",FileUploadRequestBody:e=>V(e)&&"properties"in e&&Array.isArray(e.properties),InlinedRequest:e=>V(e)&&"declaration"in e,InlinedRequestMetadata:e=>V(e)&&"includePathParameters"in e&&"onlyPathParameters"in e&&typeof e.includePathParameters=="boolean"&&typeof e.onlyPathParameters=="boolean",ReferencedRequestBody:e=>V(e)&&"bodyKey"in e&&"bodyType"in e,DynamicIntermediateRepresentation:e=>V(e)&&"version"in e&&"types"in e&&"endpoints"in e&&V(e.types)&&V(e.endpoints),GeneratorConfig:e=>V(e)&&"apiName"in e&&"organization"in e&&"outputConfig"in e&&typeof e.apiName=="string"&&typeof e.organization=="string",GoPublishInfo:e=>V(e)&&"version"in e&&"repoUrl"in e&&typeof e.version=="string"&&typeof e.repoUrl=="string",MavenPublishInfo:e=>V(e)&&"version"in e&&"coordinate"in e&&typeof e.version=="string"&&typeof e.coordinate=="string",NpmPublishInfo:e=>V(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",NugetPublishInfo:e=>V(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",PypiPublishInfo:e=>V(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",RubyGemsPublishInfo:e=>V(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",VariableDeclaration:e=>V(e)&&"id"in e&&"name"in e&&"typeReference"in e&&typeof e.id=="string",EndpointSnippetRequest:e=>V(e)&&"endpoint"in e,EndpointSnippetResponse:e=>V(e)&&"snippet"in e&&typeof e.snippet=="string",Error_:e=>V(e)&&"severity"in e&&"message"in e&&typeof e.message=="string",Auth:{Basic:e=>Y.BasicAuth(e)&&"type"in e&&e.type==="basic",Bearer:e=>Y.BearerAuth(e)&&"type"in e&&e.type==="bearer",Header:e=>Y.HeaderAuth(e)&&"type"in e&&e.type==="header",Inferred:e=>Y.InferredAuth(e)&&"type"in e&&e.type==="inferred",Oauth:e=>Y.OAuth(e)&&"type"in e&&e.type==="oauth"},AuthValues:{Basic:e=>Y.BasicAuthValues(e)&&"type"in e&&e.type==="basic",Bearer:e=>Y.BearerAuthValues(e)&&"type"in e&&e.type==="bearer",Header:e=>Y.HeaderAuthValues(e)&&"type"in e&&e.type==="header",Inferred:e=>Y.InferredAuthValues(e)&&"type"in e&&e.type==="inferred",Oauth:e=>Y.OAuthValues(e)&&"type"in e&&e.type==="oauth"},Environments:{MultipleBaseUrls:e=>Y.MultipleBaseUrlsEnvironments(e)&&"type"in e&&e.type==="multipleBaseUrls",SingleBaseUrl:e=>Y.SingleBaseUrlEnvironments(e)&&"type"in e&&e.type==="singleBaseUrl"},FileUploadRequestBodyProperty:{BodyProperty:e=>Y.NamedParameter(e)&&"type"in e&&e.type==="bodyProperty",FileArray:e=>Y.NameAndWireValue(e)&&"type"in e&&e.type==="fileArray",File_:e=>Y.NameAndWireValue(e)&&"type"in e&&e.type==="file"},InlinedRequestBody:{FileUpload:e=>Y.FileUploadRequestBody(e)&&"type"in e&&e.type==="fileUpload",Referenced:e=>Y.ReferencedRequestBody(e)&&"type"in e&&e.type==="referenced"},AnyNamedType:e=>Y.NamedType.Alias(e)||Y.NamedType.DiscriminatedUnion(e)||Y.NamedType.Enum(e)||Y.NamedType.Object_(e)||Y.NamedType.UndiscriminatedUnion(e),NamedType:{Alias:e=>Y.AliasType(e)&&"type"in e&&e.type==="alias",DiscriminatedUnion:e=>Y.DiscriminatedUnionType(e)&&"type"in e&&e.type==="discriminatedUnion",Enum:e=>Y.EnumType(e)&&"type"in e&&e.type==="enum",Object_:e=>Y.ObjectType(e)&&"type"in e&&e.type==="object",UndiscriminatedUnion:e=>Y.UndiscriminatedUnionType(e)&&"type"in e&&e.type==="undiscriminatedUnion"},PublishInfo:{Go:e=>Y.GoPublishInfo(e)&&"type"in e&&e.type==="go",Maven:e=>Y.MavenPublishInfo(e)&&"type"in e&&e.type==="maven",Npm:e=>Y.NpmPublishInfo(e)&&"type"in e&&e.type==="npm",Nuget:e=>Y.NugetPublishInfo(e)&&"type"in e&&e.type==="nuget",Pypi:e=>Y.PypiPublishInfo(e)&&"type"in e&&e.type==="pypi",Rubygems:e=>Y.RubyGemsPublishInfo(e)&&"type"in e&&e.type==="rubygems"},Request:{Body:e=>Y.BodyRequest(e)&&"type"in e&&e.type==="body",Inlined:e=>Y.InlinedRequest(e)&&"type"in e&&e.type==="inlined"},SingleDiscriminatedUnionType:{NoProperties:e=>Y.SingleDiscriminatedUnionTypeNoProperties(e)&&"type"in e&&e.type==="noProperties",SamePropertiesAsObject:e=>Y.SingleDiscriminatedUnionTypeObject(e)&&"type"in e&&e.type==="samePropertiesAsObject",SingleProperty:e=>Y.SingleDiscriminatedUnionTypeSingleProperty(e)&&"type"in e&&e.type==="singleProperty"},TypeReference:{Map:e=>Y.MapType(e)&&"type"in e&&e.type==="map"}};n();a();s();var QQ=F.ApiDefinitionSource,YQ=F.ApiVersionScheme,XQ=F.AuthScheme,ZQ=F.generatorExec,b=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),E={SafeAndUnsafeString:e=>b(e)&&"safeName"in e&&"unsafeName"in e&&typeof e.safeName=="string"&&typeof e.unsafeName=="string",Name:e=>typeof e=="string"||b(e)&&"originalName"in e&&"pascalCase"in e&&"camelCase"in e&&"snakeCase"in e&&"screamingSnakeCase"in e&&typeof e.originalName=="string"&&E.SafeAndUnsafeString(e.pascalCase)&&E.SafeAndUnsafeString(e.camelCase)&&E.SafeAndUnsafeString(e.snakeCase)&&E.SafeAndUnsafeString(e.screamingSnakeCase),NameAndWireValue:e=>typeof e=="string"||b(e)&&"wireValue"in e&&"name"in e&&typeof e.wireValue=="string"&&E.Name(e.name),TypeDeclaration:e=>b(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=>b(e)&&"extends"in e&&"properties"in e&&"extraProperties"in e&&Array.isArray(e.extends)&&Array.isArray(e.properties)&&typeof e.extraProperties=="boolean",EnumTypeDeclaration:e=>b(e)&&"values"in e&&Array.isArray(e.values),UnionTypeDeclaration:e=>b(e)&&"discriminant"in e&&"extends"in e&&"types"in e&&"baseProperties"in e&&E.NameAndWireValue(e.discriminant)&&Array.isArray(e.extends)&&Array.isArray(e.types)&&Array.isArray(e.baseProperties),AliasTypeDeclaration:e=>b(e)&&"aliasOf"in e&&"resolvedType"in e,ObjectProperty:e=>b(e)&&"name"in e&&"valueType"in e&&"availability"in e&&E.NameAndWireValue(e.name)&&"docs"in e,HttpEndpoint:e=>b(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=>b(e)&&"name"in e&&"basePath"in e&&"endpoints"in e&&"headers"in e&&"pathParameters"in e&&E.HttpPath(e.basePath)&&Array.isArray(e.endpoints)&&Array.isArray(e.headers)&&Array.isArray(e.pathParameters),HttpHeader:e=>b(e)&&"name"in e&&"valueType"in e&&"availability"in e&&E.NameAndWireValue(e.name)&&"docs"in e,HttpResponse:e=>b(e),HttpPath:e=>b(e)&&"head"in e&&"parts"in e&&typeof e.head=="string"&&Array.isArray(e.parts),HttpPathPart:e=>b(e)&&"pathParameter"in e&&"tail"in e&&typeof e.pathParameter=="string"&&typeof e.tail=="string",PathParameter:e=>b(e)&&"name"in e&&"valueType"in e&&"location"in e&&E.Name(e.name)&&typeof e.location=="string"&&"docs"in e,QueryParameter:e=>b(e)&&"name"in e&&"valueType"in e&&"allowMultiple"in e&&"availability"in e&&E.NameAndWireValue(e.name)&&typeof e.allowMultiple=="boolean"&&"docs"in e,InlinedRequestBody:e=>b(e)&&"name"in e&&"extends"in e&&"properties"in e&&"extraProperties"in e&&E.Name(e.name)&&Array.isArray(e.extends)&&Array.isArray(e.properties)&&typeof e.extraProperties=="boolean"&&"docs"in e,InlinedRequestBodyProperty:e=>b(e)&&"name"in e&&"valueType"in e&&"availability"in e&&E.NameAndWireValue(e.name)&&"docs"in e,SdkRequest:e=>b(e)&&"requestParameterName"in e&&E.Name(e.requestParameterName)&&"shape"in e,WebSocketChannel:e=>b(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&&E.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=>b(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=>b(e)&&"shape"in e&&"jsonExample"in e&&"docs"in e,ExampleObjectType:e=>b(e)&&"properties"in e&&Array.isArray(e.properties),ExampleObjectProperty:e=>b(e)&&"name"in e&&"value"in e&&E.NameAndWireValue(e.name)&&E.ExampleTypeReference(e.value),ExampleEndpointCall:e=>b(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=>b(e)&&"name"in e&&"value"in e&&E.NameAndWireValue(e.name)&&E.ExampleTypeReference(e.value),ExamplePathParameter:e=>b(e)&&"name"in e&&E.Name(e.name)&&"value"in e,ExampleQueryParameter:e=>b(e)&&"name"in e&&"value"in e&&E.NameAndWireValue(e.name)&&E.ExampleTypeReference(e.value),ExampleTypeReference:e=>b(e)&&"shape"in e&&"jsonExample"in e,ExampleNamedType:e=>b(e)&&"typeName"in e&&"shape"in e,WithDocs:e=>b(e)&&"docs"in e,WithDocsAndAvailability:e=>b(e)&&"docs"in e&&"availability"in e,Declaration:e=>b(e)&&"docs"in e&&"availability"in e,Availability:e=>b(e)&&"status"in e&&typeof e.status=="string",FernFilepath:e=>b(e)&&"allParts"in e&&"packagePath"in e&&Array.isArray(e.allParts)&&Array.isArray(e.packagePath),ErrorDeclaration:e=>b(e)&&"name"in e&&"discriminantValue"in e&&"statusCode"in e&&"examples"in e&&E.NameAndWireValue(e.discriminantValue)&&typeof e.statusCode=="number"&&Array.isArray(e.examples)&&"docs"in e,BearerAuthScheme:e=>b(e)&&"token"in e&&E.Name(e.token)&&"docs"in e&&"availability"in e,BasicAuthScheme:e=>b(e)&&"username"in e&&"password"in e&&"docs"in e&&E.Name(e.username)&&E.Name(e.password)&&"availability"in e,HeaderAuthScheme:e=>b(e)&&"name"in e&&"valueType"in e&&"docs"in e&&E.NameAndWireValue(e.name)&&"availability"in e,OAuthScheme:e=>b(e)&&"configuration"in e&&"docs"in e&&"availability"in e,Webhook:e=>b(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=>b(e)&&"name"in e&&"extends"in e&&"properties"in e&&E.Name(e.name)&&Array.isArray(e.extends)&&Array.isArray(e.properties),VariableDeclaration:e=>b(e)&&"id"in e&&"name"in e&&"type"in e&&typeof e.id=="string"&&E.Name(e.name)&&"docs"in e,ApiAuth:e=>b(e)&&"requirement"in e&&"schemes"in e&&typeof e.requirement=="string"&&Array.isArray(e.schemes)&&"docs"in e,ReadmeConfig:e=>b(e),ReadmeCustomSection:e=>b(e)&&"title"in e&&"language"in e&&"content"in e&&typeof e.title=="string"&&typeof e.language=="string"&&typeof e.content=="string",SourceConfig:e=>b(e)&&"sources"in e&&Array.isArray(e.sources),ServiceTypeReferenceInfo:e=>b(e)&&"typesReferencedOnlyByService"in e&&"sharedTypes"in e&&b(e.typesReferencedOnlyByService)&&Array.isArray(e.sharedTypes),UserAgent:e=>b(e)&&"header"in e&&"value"in e&&typeof e.header=="string"&&typeof e.value=="string",StringType:e=>b(e),IntegerType:e=>b(e),LongType:e=>b(e),DoubleType:e=>b(e),FloatType:e=>b(e),BooleanType:e=>b(e),DateTimeType:e=>b(e),DateType:e=>b(e),UuidType:e=>b(e),Base64Type:e=>b(e),BigIntegerType:e=>b(e),UintType:e=>b(e),Uint64Type:e=>b(e),MapType:e=>b(e)&&"keyType"in e&&"valueType"in e,StringValidationRules:e=>b(e),IntegerValidationRules:e=>b(e),DoubleValidationRules:e=>b(e),JsonResponseBody:e=>b(e)&&"responseBodyType"in e&&"docs"in e,JsonResponseBodyWithProperty:e=>b(e)&&"responseBodyType"in e&&"docs"in e,TextResponse:e=>b(e)&&"docs"in e,BytesResponse:e=>b(e)&&"docs"in e,JsonStreamChunk:e=>b(e)&&"payload"in e&&"docs"in e,SseStreamChunk:e=>b(e)&&"payload"in e&&"docs"in e,TextStreamChunk:e=>b(e)&&"docs"in e,StreamParameterResponse:e=>b(e)&&"nonStreamResponse"in e&&"streamResponse"in e,CursorPagination:e=>b(e)&&"page"in e&&"next"in e&&"results"in e&&E.RequestProperty(e.page)&&E.ResponseProperty(e.next)&&E.ResponseProperty(e.results),OffsetPagination:e=>b(e)&&"page"in e&&"results"in e&&E.RequestProperty(e.page)&&E.ResponseProperty(e.results),CustomPagination:e=>b(e)&&"results"in e&&E.ResponseProperty(e.results),RequestProperty:e=>b(e)&&"property"in e,ResponseProperty:e=>b(e)&&"property"in e,OAuthAccessTokenRequestProperties:e=>b(e)&&"clientId"in e&&"clientSecret"in e&&E.RequestProperty(e.clientId)&&E.RequestProperty(e.clientSecret),OAuthClientCredentials:e=>b(e)&&"tokenEndpoint"in e&&E.OAuthTokenEndpoint(e.tokenEndpoint),BaseAuthScheme:e=>b(e)&&"key"in e&&typeof e.key=="string"&&"docs"in e,InferredAuthScheme:e=>b(e)&&"tokenEndpoint"in e&&"docs"in e&&E.InferredAuthSchemeTokenEndpoint(e.tokenEndpoint)&&"availability"in e,PropertyPathItem:e=>b(e)&&"name"in e&&E.Name(e.name)&&"type"in e,WithJsonExample:e=>b(e)&&"jsonExample"in e,WithContentType:e=>b(e)&&"contentType"in e,WithV2Examples:e=>b(e)&&"v2Examples"in e,EscapedString:e=>b(e)&&"original"in e&&typeof e.original=="string",EnumValue:e=>b(e)&&"name"in e&&"availability"in e&&E.NameAndWireValue(e.name)&&"docs"in e,SingleUnionType:e=>b(e)&&"discriminantValue"in e&&"shape"in e&&E.NameAndWireValue(e.discriminantValue)&&"docs"in e,SingleUnionTypeProperty:e=>b(e)&&"name"in e&&E.NameAndWireValue(e.name)&&"type"in e,UndiscriminatedUnionTypeDeclaration:e=>b(e)&&"members"in e&&Array.isArray(e.members),UndiscriminatedUnionMember:e=>b(e)&&"type"in e&&"docs"in e,DeclaredTypeName:e=>b(e)&&"typeId"in e&&"fernFilepath"in e&&"name"in e&&typeof e.typeId=="string"&&E.FernFilepath(e.fernFilepath)&&E.Name(e.name),DeclaredServiceName:e=>b(e)&&"fernFilepath"in e&&E.FernFilepath(e.fernFilepath),DeclaredErrorName:e=>b(e)&&"errorId"in e&&"fernFilepath"in e&&"name"in e&&typeof e.errorId=="string"&&E.FernFilepath(e.fernFilepath)&&E.Name(e.name),FileUploadRequest:e=>b(e)&&"name"in e&&"properties"in e&&E.Name(e.name)&&Array.isArray(e.properties)&&"docs"in e,FileDownloadResponse:e=>b(e)&&"docs"in e,SdkRequestWrapper:e=>b(e)&&"wrapperName"in e&&"bodyKey"in e&&E.Name(e.wrapperName)&&E.Name(e.bodyKey),BytesRequest:e=>b(e)&&"isOptional"in e&&typeof e.isOptional=="boolean"&&"docs"in e,NamedType:e=>b(e)&&"typeId"in e&&"fernFilepath"in e&&"name"in e&&typeof e.typeId=="string"&&E.FernFilepath(e.fernFilepath)&&E.Name(e.name),ResolvedNamedType:e=>b(e)&&"name"in e&&"shape"in e,FileUploadBodyProperty:e=>b(e)&&"name"in e&&"valueType"in e&&"availability"in e&&E.NameAndWireValue(e.name)&&"docs"in e,IntermediateRepresentation:e=>b(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&&E.Name(e.apiName)&&b(e.types)&&Array.isArray(e.headers)&&Array.isArray(e.idempotencyHeaders)&&b(e.services)&&b(e.webhookGroups)&&b(e.errors)&&b(e.subpackages)&&E.Package(e.rootPackage)&&E.Constants(e.constants)&&Array.isArray(e.pathParameters)&&E.SdkConfig(e.sdkConfig)&&Array.isArray(e.variables)&&E.ServiceTypeReferenceInfo(e.serviceTypeReferenceInfo),Package:e=>b(e)&&"fernFilepath"in e&&"types"in e&&"errors"in e&&"subpackages"in e&&"hasEndpointsInTree"in e&&E.FernFilepath(e.fernFilepath)&&Array.isArray(e.types)&&Array.isArray(e.errors)&&Array.isArray(e.subpackages)&&typeof e.hasEndpointsInTree=="boolean"&&"docs"in e,Subpackage:e=>b(e)&&"name"in e&&"fernFilepath"in e&&"types"in e&&"errors"in e&&"subpackages"in e&&"hasEndpointsInTree"in e&&E.Name(e.name)&&E.FernFilepath(e.fernFilepath)&&Array.isArray(e.types)&&Array.isArray(e.errors)&&Array.isArray(e.subpackages)&&typeof e.hasEndpointsInTree=="boolean"&&"docs"in e,Constants:e=>b(e)&&"errorInstanceIdKey"in e&&E.NameAndWireValue(e.errorInstanceIdKey),SdkConfig:e=>b(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=>b(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=>b(e)&&"example"in e&&E.ExampleEndpointCall(e.example),UserSpecifiedEndpointExample:e=>b(e),ExampleAliasType:e=>b(e)&&"value"in e&&E.ExampleTypeReference(e.value),ExampleEnumType:e=>b(e)&&"value"in e&&E.NameAndWireValue(e.value),ExampleUnionType:e=>b(e)&&"discriminant"in e&&E.NameAndWireValue(e.discriminant)&&"singleUnionType"in e,ExampleSingleUnionType:e=>b(e)&&"shape"in e,ExampleUndiscriminatedUnionType:e=>b(e)&&"singleUnionType"in e,ExampleObjectTypeWithTypeId:e=>b(e)&&"typeId"in e&&"object"in e&&typeof e.typeId=="string"&&E.ExampleObjectType(e.object),ExampleListContainer:e=>b(e)&&"list"in e&&Array.isArray(e.list),ExampleSetContainer:e=>b(e)&&"set"in e&&Array.isArray(e.set),ExampleMapContainer:e=>b(e)&&"map"in e&&Array.isArray(e.map),ExampleOptionalContainer:e=>b(e)&&"optional"in e,ExampleNullableContainer:e=>b(e)&&"nullable"in e,ExampleLiteralContainer:e=>b(e)&&"literal"in e,ExampleKeyValuePair:e=>b(e)&&"key"in e&&"value"in e&&E.ExampleTypeReference(e.key)&&E.ExampleTypeReference(e.value),ExampleError:e=>b(e)&&"name"in e&&"body"in e,ExampleEndpointErrorResponse:e=>b(e)&&"error"in e,ExampleDatetime:e=>b(e)&&"datetime"in e&&typeof e.datetime=="string",ExampleInlinedRequestBody:e=>b(e)&&"properties"in e&&Array.isArray(e.properties),ExampleInlinedRequestBodyProperty:e=>b(e)&&"name"in e&&"value"in e&&E.NameAndWireValue(e.name)&&E.ExampleTypeReference(e.value),ExampleWebhookCall:e=>b(e)&&"payload"in e,ExampleWebSocketMessage:e=>b(e)&&"type"in e&&typeof e.type=="string"&&"body"in e,ExampleWebSocketSession:e=>b(e)&&"messages"in e&&Array.isArray(e.messages),ExampleServerSideEvent:e=>b(e)&&"event"in e&&typeof e.event=="string"&&"data"in e,ExampleCodeSampleLanguage:e=>b(e)&&"language"in e&&"code"in e&&typeof e.language=="string"&&typeof e.code=="string",ExampleCodeSampleSdk:e=>b(e)&&"sdk"in e&&"code"in e&&typeof e.sdk=="string"&&typeof e.code=="string",V2HttpEndpointExample:e=>b(e)&&"id"in e&&typeof e.id=="string",V2HttpEndpointExamples:e=>b(e)&&"examples"in e&&Array.isArray(e.examples),V2HttpEndpointRequest:e=>b(e),V2HttpEndpointResponse:e=>b(e),V2HttpEndpointCodeSample:e=>b(e)&&"language"in e&&"code"in e&&typeof e.language=="string"&&typeof e.code=="string",V2SchemaExamples:e=>b(e),V2WebSocketMessageExample:e=>b(e)&&"type"in e&&typeof e.type=="string",V2WebSocketSessionExample:e=>b(e)&&"messages"in e&&Array.isArray(e.messages),V2WebSocketSessionExamples:e=>b(e)&&"examples"in e&&Array.isArray(e.examples),V2WebhookExample:e=>b(e)&&"payload"in e,V2WebhookExamples:e=>b(e)&&"examples"in e&&Array.isArray(e.examples),BasicAuthValues:e=>b(e)&&"username"in e&&"password"in e&&typeof e.username=="string"&&typeof e.password=="string",BearerAuthValues:e=>b(e)&&"token"in e&&typeof e.token=="string",HeaderAuthValues:e=>b(e)&&"header"in e&&typeof e.header=="string",OAuthValues:e=>b(e)&&"accessToken"in e&&typeof e.accessToken=="string",InferredAuthSchemeTokenEndpoint:e=>b(e)&&"endpoint"in e&&"authenticatedRequestHeaders"in e&&E.EndpointReference(e.endpoint)&&Array.isArray(e.authenticatedRequestHeaders),InferredAuthenticatedRequestHeader:e=>b(e)&&"header"in e,OAuthAccessTokenResponseProperties:e=>b(e)&&"accessToken"in e&&E.ResponseProperty(e.accessToken),OAuthRefreshEndpoint:e=>b(e)&&"endpointReference"in e&&E.EndpointReference(e.endpointReference),OAuthRefreshTokenRequestProperties:e=>b(e)&&"refreshToken"in e&&E.RequestProperty(e.refreshToken),OAuthTokenEndpoint:e=>b(e)&&"endpointReference"in e&&"requestProperties"in e&&"responseProperties"in e&&E.EndpointReference(e.endpointReference)&&E.OAuthAccessTokenRequestProperties(e.requestProperties)&&E.OAuthAccessTokenResponseProperties(e.responseProperties),Encoding:e=>b(e),JsonEncoding:e=>b(e),ProtoEncoding:e=>b(e),FilePropertyArray:e=>b(e)&&"key"in e&&E.NameAndWireValue(e.key),FilePropertySingle:e=>b(e)&&"key"in e&&E.NameAndWireValue(e.key),Filesystem:e=>b(e)&&"name"in e&&typeof e.name=="string",InlinedWebSocketMessageBody:e=>b(e)&&"properties"in e&&Array.isArray(e.properties),InlinedWebSocketMessageBodyProperty:e=>b(e)&&"name"in e&&E.NameAndWireValue(e.name)&&"valueType"in e,InlinedWebhookPayloadProperty:e=>b(e)&&"name"in e&&E.NameAndWireValue(e.name)&&"valueType"in e,WebSocketMessageBodyReference:e=>b(e)&&"bodyType"in e,WebhookPayloadReference:e=>b(e)&&"payloadType"in e,HttpRequestBodyReference:e=>b(e)&&"requestBodyType"in e,ResponseError:e=>b(e)&&"error"in e,V2EndpointLocation:e=>b(e)&&"method"in e&&"path"in e&&typeof e.method=="string"&&typeof e.path=="string",V2WebSocketEndpointLocation:e=>b(e)&&"path"in e&&typeof e.path=="string",V2HttpRequestBodies:e=>b(e),V2HttpResponses:e=>b(e),EndpointReference:e=>b(e)&&"endpointId"in e&&"serviceId"in e&&typeof e.endpointId=="string"&&typeof e.serviceId=="string",EnumTypeReference:e=>b(e)&&"enumTypeId"in e&&typeof e.enumTypeId=="string",CsharpProtobufFileOptions:e=>b(e)&&"namespace"in e&&typeof e.namespace=="string",GrpcTransport:e=>b(e)&&"service"in e&&E.ProtobufService(e.service),ProtoSource:e=>b(e)&&"file"in e&&E.ProtobufFile(e.file),ProtoSourceInfo:e=>b(e),ProtobufFile:e=>b(e)&&"filepath"in e&&typeof e.filepath=="string",ProtobufFileOptions:e=>b(e),ProtobufService:e=>b(e)&&"name"in e&&"file"in e&&typeof e.name=="string"&&E.ProtobufFile(e.file),UserDefinedProtobufType:e=>b(e)&&"typeName"in e&&"file"in e&&typeof e.typeName=="string"&&E.ProtobufFile(e.file),AuthScheme:{Bearer:e=>E.BearerAuthScheme(e)&&"type"in e&&e.type==="bearer",Basic:e=>E.BasicAuthScheme(e)&&"type"in e&&e.type==="basic",Header:e=>E.HeaderAuthScheme(e)&&"type"in e&&e.type==="header",Oauth:e=>E.OAuthScheme(e)&&"type"in e&&e.type==="oauth",Inferred:e=>E.InferredAuthScheme(e)&&"type"in e&&e.type==="inferred"},OAuthConfiguration:{ClientCredentials:e=>E.OAuthClientCredentials(e)&&"type"in e&&e.type==="clientCredentials"},Environments:{SingleBaseUrl:e=>b(e)&&"type"in e&&e.type==="singleBaseUrl",MultipleBaseUrls:e=>b(e)&&"type"in e&&e.type==="multipleBaseUrls"},ErrorDeclarationDiscriminantValue:{Property:e=>E.NameAndWireValue(e)&&"type"in e&&e.type==="property",StatusCode:e=>b(e)&&"type"in e&&e.type==="statusCode"},V2AuthValues:{Basic:e=>E.BasicAuthValues(e)&&"type"in e&&e.type==="basic",Bearer:e=>E.BearerAuthValues(e)&&"type"in e&&e.type==="bearer",Header:e=>E.HeaderAuthValues(e)&&"type"in e&&e.type==="header",Oauth:e=>E.OAuthValues(e)&&"type"in e&&e.type==="oauth"},V2HttpEndpointResponseBody:{Error_:e=>b(e)&&"type"in e&&e.type==="error",Json:e=>b(e)&&"type"in e&&e.type==="json",Stream:e=>b(e)&&"type"in e&&e.type==="stream"},ExampleCodeSample:{Language:e=>E.ExampleCodeSampleLanguage(e)&&"type"in e&&e.type==="language",Sdk:e=>E.ExampleCodeSampleSdk(e)&&"type"in e&&e.type==="sdk"},ExampleEndpointSuccessResponse:{Body:e=>b(e)&&"type"in e&&e.type==="body",Stream:e=>b(e)&&"type"in e&&e.type==="stream",Sse:e=>b(e)&&"type"in e&&e.type==="sse"},ExampleQueryParameterShape:{Single:e=>b(e)&&"type"in e&&e.type==="single",Exploded:e=>b(e)&&"type"in e&&e.type==="exploded",CommaSeparated:e=>b(e)&&"type"in e&&e.type==="commaSeparated"},ExampleRequestBody:{InlinedRequestBody:e=>E.ExampleInlinedRequestBody(e)&&"type"in e&&e.type==="inlinedRequestBody",Reference:e=>E.ExampleTypeReference(e)&&"type"in e&&e.type==="reference"},ExampleResponse:{Ok:e=>b(e)&&"type"in e&&e.type==="ok",Error_:e=>E.ExampleEndpointErrorResponse(e)&&"type"in e&&e.type==="error"},FileProperty:{File_:e=>E.FilePropertySingle(e)&&"type"in e&&e.type==="file",FileArray:e=>E.FilePropertyArray(e)&&"type"in e&&e.type==="fileArray"},FileUploadRequestProperty:{File_:e=>b(e)&&"type"in e&&e.type==="file",BodyProperty:e=>E.FileUploadBodyProperty(e)&&"type"in e&&e.type==="bodyProperty"},HttpEndpointSource:{Proto:e=>E.ProtoSourceInfo(e)&&"type"in e&&e.type==="proto",Openapi:e=>b(e)&&"type"in e&&e.type==="openapi",Openrpc:e=>b(e)&&"type"in e&&e.type==="openrpc"},HttpRequestBody:{InlinedRequestBody:e=>E.InlinedRequestBody(e)&&"type"in e&&e.type==="inlinedRequestBody",Reference:e=>E.HttpRequestBodyReference(e)&&"type"in e&&e.type==="reference",FileUpload:e=>E.FileUploadRequest(e)&&"type"in e&&e.type==="fileUpload",Bytes:e=>E.BytesRequest(e)&&"type"in e&&e.type==="bytes"},HttpResponseBody:{Json:e=>b(e)&&"type"in e&&e.type==="json",FileDownload:e=>E.FileDownloadResponse(e)&&"type"in e&&e.type==="fileDownload",Text:e=>E.TextResponse(e)&&"type"in e&&e.type==="text",Bytes:e=>E.BytesResponse(e)&&"type"in e&&e.type==="bytes",Streaming:e=>b(e)&&"type"in e&&e.type==="streaming",StreamParameter:e=>E.StreamParameterResponse(e)&&"type"in e&&e.type==="streamParameter"},JsonResponse:{Response:e=>E.JsonResponseBody(e)&&"type"in e&&e.type==="response",NestedPropertyAsResponse:e=>E.JsonResponseBodyWithProperty(e)&&"type"in e&&e.type==="nestedPropertyAsResponse"},NonStreamHttpResponseBody:{Json:e=>b(e)&&"type"in e&&e.type==="json",FileDownload:e=>E.FileDownloadResponse(e)&&"type"in e&&e.type==="fileDownload",Text:e=>E.TextResponse(e)&&"type"in e&&e.type==="text",Bytes:e=>E.BytesResponse(e)&&"type"in e&&e.type==="bytes"},Pagination:{Cursor:e=>E.CursorPagination(e)&&"type"in e&&e.type==="cursor",Offset:e=>E.OffsetPagination(e)&&"type"in e&&e.type==="offset",Custom:e=>E.CustomPagination(e)&&"type"in e&&e.type==="custom"},RequestPropertyValue:{Query:e=>E.QueryParameter(e)&&"type"in e&&e.type==="query",Body:e=>E.ObjectProperty(e)&&"type"in e&&e.type==="body"},SdkRequestBodyType:{TypeReference:e=>E.HttpRequestBodyReference(e)&&"type"in e&&e.type==="typeReference",Bytes:e=>E.BytesRequest(e)&&"type"in e&&e.type==="bytes"},SdkRequestShape:{JustRequestBody:e=>b(e)&&"type"in e&&e.type==="justRequestBody",Wrapper:e=>E.SdkRequestWrapper(e)&&"type"in e&&e.type==="wrapper"},StreamingResponse:{Json:e=>E.JsonStreamChunk(e)&&"type"in e&&e.type==="json",Text:e=>E.TextStreamChunk(e)&&"type"in e&&e.type==="text",Sse:e=>E.SseStreamChunk(e)&&"type"in e&&e.type==="sse"},Transport:{Http:e=>b(e)&&"type"in e&&e.type==="http",Grpc:e=>E.GrpcTransport(e)&&"type"in e&&e.type==="grpc"},ApiDefinitionSource:{Proto:e=>E.ProtoSource(e)&&"type"in e&&e.type==="proto",Openapi:e=>b(e)&&"type"in e&&e.type==="openapi"},ApiVersionScheme:{Header:e=>b(e)&&"type"in e&&e.type==="header"},ErrorDiscriminationStrategy:{StatusCode:e=>b(e)&&"type"in e&&e.type==="statusCode",Property:e=>b(e)&&"type"in e&&e.type==="property"},ProtobufType:{WellKnown:e=>b(e)&&"type"in e&&e.type==="wellKnown",UserDefined:e=>E.UserDefinedProtobufType(e)&&"type"in e&&e.type==="userDefined"},WellKnownProtobufType:{Any:e=>b(e)&&"type"in e&&e.type==="any",Api:e=>b(e)&&"type"in e&&e.type==="api",BoolValue:e=>b(e)&&"type"in e&&e.type==="boolValue",BytesValue:e=>b(e)&&"type"in e&&e.type==="bytesValue",DoubleValue:e=>b(e)&&"type"in e&&e.type==="doubleValue",Duration:e=>b(e)&&"type"in e&&e.type==="duration",Empty:e=>b(e)&&"type"in e&&e.type==="empty",Enum:e=>b(e)&&"type"in e&&e.type==="enum",EnumValue:e=>b(e)&&"type"in e&&e.type==="enumValue",Field:e=>b(e)&&"type"in e&&e.type==="field",FieldCardinality:e=>b(e)&&"type"in e&&e.type==="fieldCardinality",FieldKind:e=>b(e)&&"type"in e&&e.type==="fieldKind",FieldMask:e=>b(e)&&"type"in e&&e.type==="fieldMask",FloatValue:e=>b(e)&&"type"in e&&e.type==="floatValue",Int32Value:e=>b(e)&&"type"in e&&e.type==="int32Value",Int64Value:e=>b(e)&&"type"in e&&e.type==="int64Value",ListValue:e=>b(e)&&"type"in e&&e.type==="listValue",Method:e=>b(e)&&"type"in e&&e.type==="method",Mixin:e=>b(e)&&"type"in e&&e.type==="mixin",NullValue:e=>b(e)&&"type"in e&&e.type==="nullValue",Option:e=>b(e)&&"type"in e&&e.type==="option",SourceContext:e=>b(e)&&"type"in e&&e.type==="sourceContext",StringValue:e=>b(e)&&"type"in e&&e.type==="stringValue",Struct:e=>b(e)&&"type"in e&&e.type==="struct",Syntax:e=>b(e)&&"type"in e&&e.type==="syntax",Timestamp:e=>b(e)&&"type"in e&&e.type==="timestamp",Type:e=>b(e)&&"type"in e&&e.type==="type",Uint32Value:e=>b(e)&&"type"in e&&e.type==="uint32Value",Uint64Value:e=>b(e)&&"type"in e&&e.type==="uint64Value",Value:e=>b(e)&&"type"in e&&e.type==="value"},PublishTarget:{Postman:e=>b(e)&&"type"in e&&e.type==="postman",Npm:e=>b(e)&&"type"in e&&e.type==="npm",Maven:e=>b(e)&&"type"in e&&e.type==="maven",Pypi:e=>b(e)&&"type"in e&&e.type==="pypi"},PublishingConfig:{Github:e=>b(e)&&"type"in e&&e.type==="github",Direct:e=>b(e)&&"type"in e&&e.type==="direct",Filesystem:e=>E.Filesystem(e)&&"type"in e&&e.type==="filesystem"},ContainerType:{List:e=>b(e)&&"type"in e&&e.type==="list",Map:e=>E.MapType(e)&&"type"in e&&e.type==="map",Nullable:e=>b(e)&&"type"in e&&e.type==="nullable",Optional:e=>b(e)&&"type"in e&&e.type==="optional",Set:e=>b(e)&&"type"in e&&e.type==="set",Literal:e=>b(e)&&"type"in e&&e.type==="literal"},ExampleContainer:{List:e=>E.ExampleListContainer(e)&&"type"in e&&e.type==="list",Set:e=>E.ExampleSetContainer(e)&&"type"in e&&e.type==="set",Optional:e=>E.ExampleOptionalContainer(e)&&"type"in e&&e.type==="optional",Nullable:e=>E.ExampleNullableContainer(e)&&"type"in e&&e.type==="nullable",Map:e=>E.ExampleMapContainer(e)&&"type"in e&&e.type==="map",Literal:e=>E.ExampleLiteralContainer(e)&&"type"in e&&e.type==="literal"},ExamplePrimitive:{Integer:e=>b(e)&&"type"in e&&e.type==="integer",Long:e=>b(e)&&"type"in e&&e.type==="long",Uint:e=>b(e)&&"type"in e&&e.type==="uint",Uint64:e=>b(e)&&"type"in e&&e.type==="uint64",Float:e=>b(e)&&"type"in e&&e.type==="float",Double:e=>b(e)&&"type"in e&&e.type==="double",Boolean:e=>b(e)&&"type"in e&&e.type==="boolean",String:e=>b(e)&&"type"in e&&e.type==="string",Date_:e=>b(e)&&"type"in e&&e.type==="date",Datetime:e=>E.ExampleDatetime(e)&&"type"in e&&e.type==="datetime",Uuid:e=>b(e)&&"type"in e&&e.type==="uuid",Base64:e=>b(e)&&"type"in e&&e.type==="base64",BigInteger:e=>b(e)&&"type"in e&&e.type==="bigInteger"},ExampleSingleUnionTypeProperties:{SamePropertiesAsObject:e=>E.ExampleObjectTypeWithTypeId(e)&&"type"in e&&e.type==="samePropertiesAsObject",SingleProperty:e=>E.ExampleTypeReference(e)&&"type"in e&&e.type==="singleProperty",NoProperties:e=>b(e)&&"type"in e&&e.type==="noProperties"},ExampleTypeReferenceShape:{Primitive:e=>b(e)&&"type"in e&&e.type==="primitive",Container:e=>b(e)&&"type"in e&&e.type==="container",Unknown:e=>b(e)&&"type"in e&&e.type==="unknown",Named:e=>E.ExampleNamedType(e)&&"type"in e&&e.type==="named"},ExampleTypeShape:{Alias:e=>E.ExampleAliasType(e)&&"type"in e&&e.type==="alias",Enum:e=>E.ExampleEnumType(e)&&"type"in e&&e.type==="enum",Object_:e=>E.ExampleObjectType(e)&&"type"in e&&e.type==="object",Union:e=>E.ExampleUnionType(e)&&"type"in e&&e.type==="union",UndiscriminatedUnion:e=>E.ExampleUndiscriminatedUnionType(e)&&"type"in e&&e.type==="undiscriminatedUnion"},Literal:{String:e=>b(e)&&"type"in e&&e.type==="string",Boolean:e=>b(e)&&"type"in e&&e.type==="boolean"},NamedTypeDefault:{Enum:e=>E.EnumValue(e)&&"type"in e&&e.type==="enum"},PrimitiveTypeV2:{Integer:e=>E.IntegerType(e)&&"type"in e&&e.type==="integer",Long:e=>E.LongType(e)&&"type"in e&&e.type==="long",Uint:e=>E.UintType(e)&&"type"in e&&e.type==="uint",Uint64:e=>E.Uint64Type(e)&&"type"in e&&e.type==="uint64",Float:e=>E.FloatType(e)&&"type"in e&&e.type==="float",Double:e=>E.DoubleType(e)&&"type"in e&&e.type==="double",Boolean:e=>E.BooleanType(e)&&"type"in e&&e.type==="boolean",String:e=>E.StringType(e)&&"type"in e&&e.type==="string",Date_:e=>E.DateType(e)&&"type"in e&&e.type==="date",DateTime:e=>E.DateTimeType(e)&&"type"in e&&e.type==="dateTime",Uuid:e=>E.UuidType(e)&&"type"in e&&e.type==="uuid",Base64:e=>E.Base64Type(e)&&"type"in e&&e.type==="base64",BigInteger:e=>E.BigIntegerType(e)&&"type"in e&&e.type==="bigInteger"},ResolvedTypeReference:{Container:e=>b(e)&&"type"in e&&e.type==="container",Named:e=>E.ResolvedNamedType(e)&&"type"in e&&e.type==="named",Primitive:e=>b(e)&&"type"in e&&e.type==="primitive",Unknown:e=>b(e)&&"type"in e&&e.type==="unknown"},Source:{Proto:e=>b(e)&&"type"in e&&e.type==="proto"},Type:{Alias:e=>E.AliasTypeDeclaration(e)&&"type"in e&&e.type==="alias",Enum:e=>E.EnumTypeDeclaration(e)&&"type"in e&&e.type==="enum",Object_:e=>E.ObjectTypeDeclaration(e)&&"type"in e&&e.type==="object",Union:e=>E.UnionTypeDeclaration(e)&&"type"in e&&e.type==="union",UndiscriminatedUnion:e=>E.UndiscriminatedUnionTypeDeclaration(e)&&"type"in e&&e.type==="undiscriminatedUnion"},TypeReference:{Container:e=>b(e)&&"type"in e&&e.type==="container",Named:e=>E.NamedType(e)&&"type"in e&&e.type==="named",Primitive:e=>b(e)&&"type"in e&&e.type==="primitive",Unknown:e=>b(e)&&"type"in e&&e.type==="unknown"},WebhookPayload:{InlinedPayload:e=>E.InlinedWebhookPayload(e)&&"type"in e&&e.type==="inlinedPayload",Reference:e=>E.WebhookPayloadReference(e)&&"type"in e&&e.type==="reference"},ExampleWebSocketMessageBody:{InlinedBody:e=>E.ExampleInlinedRequestBody(e)&&"type"in e&&e.type==="inlinedBody",Reference:e=>E.ExampleTypeReference(e)&&"type"in e&&e.type==="reference"},WebSocketMessageBody:{InlinedBody:e=>E.InlinedWebSocketMessageBody(e)&&"type"in e&&e.type==="inlinedBody",Reference:e=>E.WebSocketMessageBodyReference(e)&&"type"in e&&e.type==="reference"}};var ey=/^[+-]?\d{4}-(0?[1-9]|1[0-2])-(0?[1-9]|[12]\d|3[01])$/,ty=/^([+-]?\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)?)?)$/,v={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=>v.object(e)&&"jsonPath"in e&&"name"in e&&"node"in e,Explicit:e=>v.Provenance(e)&&e.explicit===!0,NonNullable:e=>e!=null,isIsoDateString:e=>v.string(e)&&ey.test(e),isIsoDateTimeString:e=>v.string(e)&&ty.test(e),Type:e=>e instanceof Hr,ClassReference:e=>e instanceof _e,Optional:e=>e instanceof We,OptionalWrapper:e=>e instanceof Jr,AsyncEnumerable:e=>e!=null&&e.asNonOptional().fullyQualifiedName.startsWith("System.Collections.Generic.IAsyncEnumerable"),Record:{empty:e=>e==null||Object.keys(e||{}).length===0,nonEmpty:e=>v.object(e)&&Object.keys(e).length>0,withKey:(e,t)=>v.object(e)&&t in e,missingKey:(e,t)=>v.object(e)&&!(t in e)},Ast:{Node:e=>e instanceof W,NamedNode:e=>v.Ast.Node(e)&&"name"in e&&typeof e.name=="string"},OneOf:{OneOf:e=>v.ClassReference(e)&&e.fullyQualifiedName==="OneOf.OneOf",OneOfBase:e=>v.ClassReference(e)&&e.fullyQualifiedName==="OneOf.OneOfBase"},Primitive:{string:e=>e instanceof te.String,boolean:e=>e instanceof te.Boolean,int:e=>e instanceof te.Integer,long:e=>e instanceof te.Long,uint:e=>e instanceof te.Uint,ulong:e=>e instanceof te.ULong,float:e=>e instanceof te.Float,double:e=>e instanceof te.Double,object:e=>e instanceof te.Object},Value:{dateTime:e=>e instanceof Ue.DateTime,uuid:e=>e instanceof Ue.Uuid,byte:e=>e instanceof Ue.Binary,stringEnum:e=>e instanceof Ue.StringEnum},Collection:{array:e=>e instanceof we.Array,listType:e=>e instanceof we.ListType,list:e=>e instanceof we.List,set:e=>e instanceof we.Set,map:e=>e instanceof we.Map,idictionary:e=>e instanceof we.IDictionary,keyValuePair:e=>e instanceof we.KeyValuePair},Literal:{string:e=>e instanceof J.String,boolean:e=>e instanceof J.Boolean,decimal:e=>e instanceof J.Decimal,double:e=>e instanceof J.Double,date:e=>e instanceof J.Date,dateTime:e=>e instanceof J.DateTime,float:e=>e instanceof J.Float,int:e=>e instanceof J.Integer,long:e=>e instanceof J.Long,uint:e=>e instanceof J.Uint,ulong:e=>e instanceof J.Ulong,class:e=>e instanceof J.Class_,list:e=>e instanceof J.List,set:e=>e instanceof J.Set,dictionary:e=>e instanceof J.Dictionary,nop:e=>e instanceof J.Nop,null:e=>e instanceof J.Null,unknown:e=>e instanceof J.Unknown},IR:E,DynamicIR:Y};n();a();s();var Dt=class extends W{constructor(r,i){super(i);y(this,"arg");this.arg=r}write(r){return new Ke(this.arg).write(r)}};var Ut=class extends W{constructor(r,i){super(i);y(this,"statements",[])}write(r){for(let i of this.statements){if(v.string(i)){r.writeStatement(i);continue}if(i instanceof Dt){i.write(r);continue}r.writeStatement(...i)}}append(r){this.statements.push(r)}assign(r,i){return v.Ast.NamedNode(i)?this.statements.push([`${r.name} = ${i.name}`]):this.statements.push([r.name," = ",i]),this}if(r,i){}};n();a();s();var Kr=class extends W{constructor({classReference:r,arguments_:i,forceUseConstructor:o,properties:c,multiline:l},x){super(x);y(this,"classReference");y(this,"arguments_");y(this,"forceUseConstructor");y(this,"properties");y(this,"multiline");this.classReference=r,this.arguments_=i,this.forceUseConstructor=o??!1,this.properties=c??[],this.multiline=l??!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=fu(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)=>{za(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 Qr=class extends W{constructor({keyType:r,valueType:i,values:o},c){super(c);y(this,"keyType");y(this,"valueType");y(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 Yr=class extends W{constructor({reference:r,value:i},o){super(o);y(this,"reference");y(this,"value");this.reference=r,this.value=i}write(r){r.writeNode(this.reference),r.write(`.${this.value}`)}};n();a();s();var Ne=class extends W{constructor(r,i){super(i);y(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),l=this.csharp.Literal.integer(i.getUTCDate());r.write(this.System.DateOnly.new({arguments_:[o,c,l]}));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"),l=r.getUTCHours().toString().padStart(2,"0"),x=r.getUTCMinutes().toString().padStart(2,"0"),w=r.getUTCSeconds().toString().padStart(2,"0"),I=r.getUTCMilliseconds().toString().padStart(3,"0");return`new DateTime(${i}, ${o}, ${c}, ${l}, ${x}, ${w}, ${I})`}};n();a();s();var Xr=class extends W{constructor({itemType:r,entries:i},o){super(o);y(this,"itemType");y(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 Zr=class extends W{constructor({method:r,arguments_:i,on:o,async:c,configureAwait:l,generics:x,multiline:w,isAsyncEnumerable:I},A){super(A);y(this,"arguments");y(this,"method");y(this,"on");y(this,"async");y(this,"isAsyncEnumerable");y(this,"configureAwait");y(this,"generics");y(this,"multiline");this.method=r,this.arguments=i,this.on=o,this.async=c??!1,this.configureAwait=l??!1,this.generics=x??[],this.multiline=w??!1,this.isAsyncEnumerable=I??!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 ei=class extends W{constructor({itemType:r,entries:i},o){super(o);y(this,"itemType");y(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 ti=class extends W{constructor({itemType:r,entries:i},o){super(o);y(this,"itemType");y(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 ry={"\\":"\\\\",'"':'\\"',"\n":"\\n","\r":"\\r"," ":"\\t","\0":"\\0","\f":"\\f","\b":"\\b","\v":"\\v","\x07":"\\a"},iy=/[\\\"\n\r\t\0\f\u0007\u0008\v\u0001-\u0006\u000E-\u001F\u007F-\u009F]/g;function Nm(e){return e.replace(iy,t=>{let r=ry[t];return r!==void 0?r:`\\u${t.charCodeAt(0).toString(16).padStart(4,"0")}`})}var ri=class extends W{constructor(r,i){super(i);y(this,"string");this.string=r.string}write(r){r.write(`"${Nm(this.string)}"`)}};n();a();s();n();a();s();n();a();s();var se;(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"})(se||(se={}));function Rm(e){return e.type===se.Tag||e.type===se.Script||e.type===se.Style}var ny=se.Root,sy=se.Text,ay=se.Directive,oy=se.Comment,uy=se.Script,cy=se.Style,py=se.Tag,ly=se.CDATA,fy=se.Doctype;n();a();s();var so=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 Cm(this,t)}},In=class extends so{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}},ii=class extends In{constructor(){super(...arguments),this.type=se.Text}get nodeType(){return 3}},An=class extends In{constructor(){super(...arguments),this.type=se.Comment}get nodeType(){return 8}},Nn=class extends In{constructor(t,r){super(r),this.name=t,this.type=se.Directive}get nodeType(){return 1}},Rn=class extends so{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}},On=class extends Rn{constructor(){super(...arguments),this.type=se.CDATA}get nodeType(){return 4}},ni=class extends Rn{constructor(){super(...arguments),this.type=se.Root}get nodeType(){return 9}},Pn=class extends Rn{constructor(t,r,i=[],o=t==="script"?se.Script:t==="style"?se.Style:se.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 rt(e){return Rm(e)}function Bu(e){return e.type===se.CDATA}function ir(e){return e.type===se.Text}function Du(e){return e.type===se.Comment}function my(e){return e.type===se.Directive}function Pm(e){return e.type===se.Root}function Cm(e,t=!1){let r;if(ir(e))r=new ii(e.data);else if(Du(e))r=new An(e.data);else if(rt(e)){let i=t?ju(e.children):[],o=new Pn(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(Bu(e)){let i=t?ju(e.children):[],o=new On(i);i.forEach(c=>c.parent=o),r=o}else if(Pm(e)){let i=t?ju(e.children):[],o=new ni(i);i.forEach(c=>c.parent=o),e["x-mode"]&&(o["x-mode"]=e["x-mode"]),r=o}else if(my(e)){let i=new Nn(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 ju(e){let t=e.map(r=>Cm(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 _m={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},si=class{constructor(t,r,i){this.dom=[],this.root=new ni(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof r=="function"&&(i=r,r=_m),typeof t=="object"&&(r=t,t=void 0),this.callback=t??null,this.options=r??_m,this.elementCB=i??null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new ni(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?se.Tag:void 0,o=new Pn(t,r,void 0,i);this.addNode(o),this.tagStack.push(o)}ontext(t){let{lastNode:r}=this;if(r&&r.type===se.Text)r.data+=t,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{let i=new ii(t);this.addNode(i),this.lastNode=i}}oncomment(t){if(this.lastNode&&this.lastNode.type===se.Comment){this.lastNode.data+=t;return}let r=new An(t);this.addNode(r),this.lastNode=r}oncommentend(){this.lastNode=null}oncdatastart(){let t=new ii(""),r=new On([t]);this.addNode(r),t.parent=r,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,r){let i=new Nn(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 ao=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 oo=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));n();a();s();var Uu,dy=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]]),ai=(Uu=String.fromCodePoint)!==null&&Uu!==void 0?Uu: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 Mu(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=dy.get(e))!==null&&t!==void 0?t:e}var Ee;(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"})(Ee||(Ee={}));var hy=32,Mt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Mt||(Mt={}));function vu(e){return e>=Ee.ZERO&&e<=Ee.NINE}function yy(e){return e>=Ee.UPPER_A&&e<=Ee.UPPER_F||e>=Ee.LOWER_A&&e<=Ee.LOWER_F}function gy(e){return e>=Ee.UPPER_A&&e<=Ee.UPPER_Z||e>=Ee.LOWER_A&&e<=Ee.LOWER_Z||vu(e)}function by(e){return e===Ee.EQUALS||gy(e)}var Te;(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"})(Te||(Te={}));var Me;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Me||(Me={}));var oi=class{constructor(t,r,i){this.decodeTree=t,this.emitCodePoint=r,this.errors=i,this.state=Te.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Me.Strict}startEntity(t){this.decodeMode=t,this.state=Te.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case Te.EntityStart:return t.charCodeAt(r)===Ee.NUM?(this.state=Te.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=Te.NamedEntity,this.stateNamedEntity(t,r));case Te.NumericStart:return this.stateNumericStart(t,r);case Te.NumericDecimal:return this.stateNumericDecimal(t,r);case Te.NumericHex:return this.stateNumericHex(t,r);case Te.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|hy)===Ee.LOWER_X?(this.state=Te.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=Te.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(vu(o)||yy(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(vu(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===Ee.SEMI)this.consumed+=1;else if(this.decodeMode===Me.Strict)return 0;return this.emitCodePoint(Mu(this.result),this.consumed),this.errors&&(t!==Ee.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){let{decodeTree:i}=this,o=i[this.treeIndex],c=(o&Mt.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){let l=t.charCodeAt(r);if(this.treeIndex=xy(i,o,this.treeIndex+Math.max(1,c),l),this.treeIndex<0)return this.result===0||this.decodeMode===Me.Attribute&&(c===0||by(l))?0:this.emitNotTerminatedNamedEntity();if(o=i[this.treeIndex],c=(o&Mt.VALUE_LENGTH)>>14,c!==0){if(l===Ee.SEMI)return this.emitNamedEntityData(this.treeIndex,c,this.consumed+this.excess);this.decodeMode!==Me.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]&Mt.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]&~Mt.VALUE_LENGTH:o[t+1],i),r===3&&this.emitCodePoint(o[t+2],i),i}end(){var t;switch(this.state){case Te.NamedEntity:return this.result!==0&&(this.decodeMode!==Me.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Te.NumericDecimal:return this.emitNumericEntity(0,2);case Te.NumericHex:return this.emitNumericEntity(0,3);case Te.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Te.EntityStart:return 0}}};function km(e){let t="",r=new oi(e,i=>t+=ai(i));return function(o,c){let l=0,x=0;for(;(x=o.indexOf("&",x))>=0;){t+=o.slice(l,x),r.startEntity(c);let I=r.write(o,x+1);if(I<0){l=x+r.end();break}l=x+I,x=I===0?l+1:l}let w=t+o.slice(l);return t="",w}}function xy(e,t,r,i){let o=(t&Mt.BRANCH_LENGTH)>>7,c=t&Mt.JUMP_TABLE;if(o===0)return c!==0&&i===c?r:-1;if(c){let w=i-c;return w<0||w>=o?-1:e[r+w]-1}let l=r,x=l+o-1;for(;l<=x;){let w=l+x>>>1,I=e[w];if(I<i)l=w+1;else if(I>i)x=w-1;else return e[w+o]}return-1}var fZ=km(ao),mZ=km(oo);var q;(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"})(q||(q={}));var k;(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"})(k||(k={}));function dt(e){return e===q.Space||e===q.NewLine||e===q.Tab||e===q.FormFeed||e===q.CarriageReturn}function uo(e){return e===q.Slash||e===q.Gt||dt(e)}function Sy(e){return e>=q.LowerA&&e<=q.LowerZ||e>=q.UpperA&&e<=q.UpperZ}var $e;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})($e||($e={}));var Re={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])},ui=class{constructor({xmlMode:t=!1,decodeEntities:r=!0},i){this.cbs=i,this.state=k.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=k.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 oi(t?oo:ao,(o,c)=>this.emitCodePoint(o,c))}reset(){this.state=k.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=k.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===q.Lt||!this.decodeEntities&&this.fastForwardTo(q.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=k.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===q.Amp&&this.startEntity()}stateSpecialStartSequence(t){let r=this.sequenceIndex===this.currentSequence.length;if(!(r?uo(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=k.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===q.Gt||dt(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===Re.TitleEnd?this.decodeEntities&&t===q.Amp&&this.startEntity():this.fastForwardTo(q.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===q.Lt)}stateCDATASequence(t){t===Re.Cdata[this.sequenceIndex]?++this.sequenceIndex===Re.Cdata.length&&(this.state=k.InCommentLike,this.currentSequence=Re.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=k.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===Re.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=k.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?!uo(t):Sy(t)}startSpecial(t,r){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=r,this.state=k.SpecialStartSequence}stateBeforeTagName(t){if(t===q.ExclamationMark)this.state=k.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===q.Questionmark)this.state=k.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){let r=t|32;this.sectionStart=this.index,this.xmlMode?this.state=k.InTagName:r===Re.ScriptEnd[2]?this.state=k.BeforeSpecialS:r===Re.TitleEnd[2]?this.state=k.BeforeSpecialT:this.state=k.InTagName}else t===q.Slash?this.state=k.BeforeClosingTagName:(this.state=k.Text,this.stateText(t))}stateInTagName(t){uo(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=k.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){dt(t)||(t===q.Gt?this.state=k.Text:(this.state=this.isTagStartChar(t)?k.InClosingTagName:k.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===q.Gt||dt(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=k.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===q.Gt||this.fastForwardTo(q.Gt))&&(this.state=k.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===q.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=k.InSpecialTag,this.sequenceIndex=0):this.state=k.Text,this.sectionStart=this.index+1):t===q.Slash?this.state=k.InSelfClosingTag:dt(t)||(this.state=k.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===q.Gt?(this.cbs.onselfclosingtag(this.index),this.state=k.Text,this.sectionStart=this.index+1,this.isSpecial=!1):dt(t)||(this.state=k.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===q.Eq||uo(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=k.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===q.Eq?this.state=k.BeforeAttributeValue:t===q.Slash||t===q.Gt?(this.cbs.onattribend($e.NoValue,this.sectionStart),this.sectionStart=-1,this.state=k.BeforeAttributeName,this.stateBeforeAttributeName(t)):dt(t)||(this.cbs.onattribend($e.NoValue,this.sectionStart),this.state=k.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===q.DoubleQuote?(this.state=k.InAttributeValueDq,this.sectionStart=this.index+1):t===q.SingleQuote?(this.state=k.InAttributeValueSq,this.sectionStart=this.index+1):dt(t)||(this.sectionStart=this.index,this.state=k.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===q.DoubleQuote?$e.Double:$e.Single,this.index+1),this.state=k.BeforeAttributeName):this.decodeEntities&&t===q.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,q.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,q.SingleQuote)}stateInAttributeValueNoQuotes(t){dt(t)||t===q.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend($e.Unquoted,this.index),this.state=k.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===q.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===q.OpeningSquareBracket?(this.state=k.CDATASequence,this.sequenceIndex=0):this.state=t===q.Dash?k.BeforeComment:k.InDeclaration}stateInDeclaration(t){(t===q.Gt||this.fastForwardTo(q.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=k.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===q.Gt||this.fastForwardTo(q.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=k.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===q.Dash?(this.state=k.InCommentLike,this.currentSequence=Re.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=k.InDeclaration}stateInSpecialComment(t){(t===q.Gt||this.fastForwardTo(q.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=k.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){let r=t|32;r===Re.ScriptEnd[3]?this.startSpecial(Re.ScriptEnd,4):r===Re.StyleEnd[3]?this.startSpecial(Re.StyleEnd,4):(this.state=k.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){let r=t|32;r===Re.TitleEnd[3]?this.startSpecial(Re.TitleEnd,4):r===Re.TextareaEnd[3]?this.startSpecial(Re.TextareaEnd,4):(this.state=k.InTagName,this.stateInTagName(t))}startEntity(){this.baseState=this.state,this.state=k.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Me.Strict:this.baseState===k.Text||this.baseState===k.InSpecialTag?Me.Legacy:Me.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===k.Text||this.state===k.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===k.InAttributeValueDq||this.state===k.InAttributeValueSq||this.state===k.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 k.Text:{this.stateText(t);break}case k.SpecialStartSequence:{this.stateSpecialStartSequence(t);break}case k.InSpecialTag:{this.stateInSpecialTag(t);break}case k.CDATASequence:{this.stateCDATASequence(t);break}case k.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(t);break}case k.InAttributeName:{this.stateInAttributeName(t);break}case k.InCommentLike:{this.stateInCommentLike(t);break}case k.InSpecialComment:{this.stateInSpecialComment(t);break}case k.BeforeAttributeName:{this.stateBeforeAttributeName(t);break}case k.InTagName:{this.stateInTagName(t);break}case k.InClosingTagName:{this.stateInClosingTagName(t);break}case k.BeforeTagName:{this.stateBeforeTagName(t);break}case k.AfterAttributeName:{this.stateAfterAttributeName(t);break}case k.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(t);break}case k.BeforeAttributeValue:{this.stateBeforeAttributeValue(t);break}case k.BeforeClosingTagName:{this.stateBeforeClosingTagName(t);break}case k.AfterClosingTagName:{this.stateAfterClosingTagName(t);break}case k.BeforeSpecialS:{this.stateBeforeSpecialS(t);break}case k.BeforeSpecialT:{this.stateBeforeSpecialT(t);break}case k.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(t);break}case k.InSelfClosingTag:{this.stateInSelfClosingTag(t);break}case k.InDeclaration:{this.stateInDeclaration(t);break}case k.BeforeDeclaration:{this.stateBeforeDeclaration(t);break}case k.BeforeComment:{this.stateBeforeComment(t);break}case k.InProcessingInstruction:{this.stateInProcessingInstruction(t);break}case k.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===k.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===k.InCommentLike?this.currentSequence===Re.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===k.InTagName||this.state===k.BeforeAttributeName||this.state===k.BeforeAttributeValue||this.state===k.AfterAttributeName||this.state===k.InAttributeName||this.state===k.InAttributeValueSq||this.state===k.InAttributeValueDq||this.state===k.InAttributeValueNq||this.state===k.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,r){this.baseState!==k.Text&&this.baseState!==k.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 ci=new Set(["input","option","optgroup","select","button","datalist","textarea"]),pe=new Set(["p"]),Fm=new Set(["thead","tbody"]),Lm=new Set(["dd","dt"]),jm=new Set(["rt","rp"]),wy=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",pe],["h1",pe],["h2",pe],["h3",pe],["h4",pe],["h5",pe],["h6",pe],["select",ci],["input",ci],["output",ci],["button",ci],["datalist",ci],["textarea",ci],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Lm],["dt",Lm],["address",pe],["article",pe],["aside",pe],["blockquote",pe],["details",pe],["div",pe],["dl",pe],["fieldset",pe],["figcaption",pe],["figure",pe],["footer",pe],["form",pe],["header",pe],["hr",pe],["main",pe],["nav",pe],["ol",pe],["pre",pe],["section",pe],["table",pe],["ul",pe],["rt",jm],["rp",jm],["tbody",Fm],["tfoot",Fm]]),Ty=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Bm=new Set(["math","svg"]),Dm=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),Ey=/\s|\//,Cn=class{constructor(t,r={}){var i,o,c,l,x,w;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((l=r.Tokenizer)!==null&&l!==void 0?l:ui)(this.options,this),this.foreignContext=[!this.htmlMode],(w=(x=this.cbs).onparserinit)===null||w===void 0||w.call(x,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,ai(t)),this.startIndex=r}isVoidElement(t){return this.htmlMode&&Ty.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 l=this.htmlMode&&wy.get(t);if(l)for(;this.stack.length>0&&l.has(this.stack[0]);){let x=this.stack.shift();(i=(r=this.cbs).onclosetag)===null||i===void 0||i.call(r,x,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&(Bm.has(t)?this.foreignContext.unshift(!0):Dm.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,l,x,w,I,A;this.endIndex=r;let P=this.getSlice(t,r);if(this.lowerCaseTagNames&&(P=P.toLowerCase()),this.htmlMode&&(Bm.has(P)||Dm.has(P))&&this.foreignContext.shift(),this.isVoidElement(P))this.htmlMode&&P==="br"&&((l=(c=this.cbs).onopentagname)===null||l===void 0||l.call(c,"br"),(w=(x=this.cbs).onopentag)===null||w===void 0||w.call(x,"br",{},!0),(A=(I=this.cbs).onclosetag)===null||A===void 0||A.call(I,"br",!1));else{let L=this.stack.indexOf(P);if(L!==-1)for(let R=0;R<=L;R++){let j=this.stack.shift();(o=(i=this.cbs).onclosetag)===null||o===void 0||o.call(i,j,R!==L)}else this.htmlMode&&P==="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+=ai(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===$e.Double?'"':t===$e.Single?"'":t===$e.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(Ey),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,l,x;this.endIndex=r,(c=(o=this.cbs).oncomment)===null||c===void 0||c.call(o,this.getSlice(t,r-i)),(x=(l=this.cbs).oncommentend)===null||x===void 0||x.call(l),this.startIndex=r+1}oncdata(t,r,i){var o,c,l,x,w,I,A,P,L,R;this.endIndex=r;let j=this.getSlice(t,r-i);!this.htmlMode||this.options.recognizeCDATA?((c=(o=this.cbs).oncdatastart)===null||c===void 0||c.call(o),(x=(l=this.cbs).ontext)===null||x===void 0||x.call(l,j),(I=(w=this.cbs).oncdataend)===null||I===void 0||I.call(w)):((P=(A=this.cbs).oncomment)===null||P===void 0||P.call(A,`[CDATA[${j}]]`),(R=(L=this.cbs).oncommentend)===null||R===void 0||R.call(L)),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 co(e){for(let t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}var Iy=new Map(co([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(co([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(co([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(co([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]]));n();a();s();var Ay=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),Ny=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 Vu(e,t){return function(i){let o,c=0,l="";for(;o=e.exec(i);)c!==o.index&&(l+=i.substring(c,o.index)),l+=t.get(o[0].charCodeAt(0)),c=o.index+1;return l+i.substring(c)}}var Um=Vu(/[&<>'"]/g,Ay),zu=Vu(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),qu=Vu(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var Mm;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(Mm||(Mm={}));var vm;(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"})(vm||(vm={}));n();a();s();var Oy=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])),Py=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 Gm;(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"})(Gm||(Gm={}));n();a();s();function Wm(e,t){let r=new si(void 0,t);return new Cn(r,t).end(e),r.root}var vt=class vt{constructor(t){y(this,"writer");y(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(`
|
|
29
|
-
`).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,(w,I)=>vt.SAFE_XML_DOC_TAGS.has(I.toLowerCase())?`\uE000${c.push(w)-1}\uE000`:w).replaceAll("<","<").replaceAll(">",">").replace(/\uE000(\d+)\uE000/g,(w,I)=>c[parseInt(I,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 vt.CONVERTIBLE_HTML_TAGS.has(c)||vt.SAFE_XML_DOC_TAGS.has(c)?i:i.replaceAll("<","<").replaceAll(">",">")}),t=t.replace(/<(?=[a-zA-Z])(?![^>]*>)/g,"<");let r=Wm(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 ir(t)?t.data:rt(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&&rt(t.parent)?t.parent.name.toLowerCase():void 0)==="pre"?`<code>${i}</code>`:`<c>${i}</c>`;case"pre":{let o=t.children.filter(c=>!ir(c)||c.data.trim()!=="");return o.length===1&&o[0]!=null&&rt(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(vt.SAFE_XML_DOC_TAGS.has(r)){let o=Object.entries(t.attribs).map(([c,l])=>` ${c}="${l}"`).join("");return t.children.length===0?`<${t.name}${o}/>`:`<${t.name}${o}>${i}</${t.name}>`}return i}}}decodeHtmlEntities(t){let r={"+":"+","−":"-","×":"\xD7","÷":"\xF7"," ":" ","…":"\u2026","·":"\xB7","©":"\xA9","®":"\xAE","™":"\u2122","°":"\xB0","±":"\xB1","¼":"\xBC","½":"\xBD","¾":"\xBE","–":"\u2013","—":"\u2014","‘":"\u2018","’":"\u2019","“":"\u201C","”":"\u201D","•":"\u2022","€":"\u20AC","£":"\xA3","¥":"\xA5","¢":"\xA2","§":"\xA7","¶":"\xB6","†":"\u2020","‡":"\u2021","‰":"\u2030","‹":"\u2039","›":"\u203A","♠":"\u2660","♣":"\u2663","♥":"\u2665","♦":"\u2666","←":"\u2190","↑":"\u2191","→":"\u2192","↓":"\u2193","↔":"\u2194","↵":"\u21B5","⇐":"\u21D0","⇑":"\u21D1","⇒":"\u21D2","⇓":"\u21D3","⇔":"\u21D4","∀":"\u2200","∂":"\u2202","∃":"\u2203","∅":"\u2205","∇":"\u2207","∈":"\u2208","∉":"\u2209","∋":"\u220B","∏":"\u220F","∑":"\u2211","∗":"\u2217","√":"\u221A","∝":"\u221D","∞":"\u221E","∠":"\u2220","∧":"\u2227","∨":"\u2228","∩":"\u2229","∪":"\u222A","∫":"\u222B","∴":"\u2234","∼":"\u223C","≅":"\u2245","≈":"\u2248","≠":"\u2260","≡":"\u2261","≤":"\u2264","≥":"\u2265","⊂":"\u2282","⊃":"\u2283","⊄":"\u2284","⊆":"\u2286","⊇":"\u2287","⊕":"\u2295","⊗":"\u2297","⊥":"\u22A5","⋅":"\u22C5","Α":"\u0391","Β":"\u0392","Γ":"\u0393","Δ":"\u0394","Ε":"\u0395","Ζ":"\u0396","Η":"\u0397","Θ":"\u0398","Ι":"\u0399","Κ":"\u039A","Λ":"\u039B","Μ":"\u039C","Ν":"\u039D","Ξ":"\u039E","Ο":"\u039F","Π":"\u03A0","Ρ":"\u03A1","Σ":"\u03A3","Τ":"\u03A4","Υ":"\u03A5","Φ":"\u03A6","Χ":"\u03A7","Ψ":"\u03A8","Ω":"\u03A9","α":"\u03B1","β":"\u03B2","γ":"\u03B3","δ":"\u03B4","ε":"\u03B5","ζ":"\u03B6","η":"\u03B7","θ":"\u03B8","ι":"\u03B9","κ":"\u03BA","λ":"\u03BB","μ":"\u03BC","ν":"\u03BD","ξ":"\u03BE","ο":"\u03BF","π":"\u03C0","ρ":"\u03C1","ς":"\u03C2","σ":"\u03C3","τ":"\u03C4","υ":"\u03C5","φ":"\u03C6","χ":"\u03C7","ψ":"\u03C8","ω":"\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}};y(vt,"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"])),y(vt,"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 pi=vt;n();a();s();var ge={Public:"public",Private:"private",Protected:"protected",Internal:"internal"};n();a();s();var li=class extends W{constructor(r,i){super(i);y(this,"conditions");this.conditions=r.conditions}write(r){this.conditions.forEach((i,o)=>{o>0&&r.write(" && "),r.writeNode(i)})}};n();a();s();var ht=class extends W{constructor(r,i){super(i);y(this,"reference");y(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 fi=class extends W{constructor(r,i){super(i);y(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 mi=class{constructor(t){y(this,"isAsync");y(this,"parameters");y(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 di=class extends W{constructor(r,i){super(i);y(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 Ye=class extends W{constructor({name:r,type:i,docs:o,initializer:c,ref:l,out:x},w){super(w);y(this,"name");y(this,"docs");y(this,"initializer");y(this,"type");y(this,"ref");y(this,"out");this.name=r,this.type=i,this.docs=o,this.initializer=c,this.ref=l??!1,this.out=x??!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 hi=class extends W{constructor({condition:r,cases:i},o){super(o);y(this,"condition");y(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 yi=class extends W{constructor(r,i){super(i);y(this,"args");this.args=r}write(r){return new Wi(this.args).write(r)}};n();a();s();var Vt=class extends W{constructor(r,i){super(i);y(this,"arg");this.arg=r}write(r){if(this.arg==null)return;let i=r instanceof Qe?new pi(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 gi=class extends Rt{constructor({name:r,type:i,access:o,const_:c,new_:l,get:x,init:w,set:I,annotations:A,initializer:P,summary:L,doc:R,jsonPropertyName:j,readonly:M,static_:D,useRequired:G,skipDefaultInitializer:Q,interfaceReference:oe,accessors:X,override:K,useExpressionBody:C,isEvent:U,origin:re,enclosingType:He},Ai){super({enclosingType:He},re,Ai);y(this,"name");y(this,"access");y(this,"type");y(this,"const_");y(this,"static_");y(this,"get");y(this,"init");y(this,"set");y(this,"new_");y(this,"annotations");y(this,"initializer");y(this,"doc");y(this,"jsonPropertyName");y(this,"readonly");y(this,"useRequired");y(this,"skipDefaultInitializer");y(this,"interfaceReference");y(this,"accessors");y(this,"override");y(this,"useExpressionBody");y(this,"isEvent_");if(!He)throw new Error("Enclosing type is required");r=r||(re?this.model.getPropertyNameFor(re):de("Field name or origin is required")),this.name=(He instanceof _e?He:He.reference).registerField(r,re,this),this.type=i,this.const_=c??!1,this.new_=l??!1,this.access=o,this.get=x??!!X?.get,this.set=I??!!X?.set,this.init=w??!!X?.init,this.annotations=(A??[]).map(Ni=>Ni instanceof _e?this.csharp.annotation({reference:Ni}):Ni),this.initializer=P,this.doc=this.csharp.xmlDocBlockOf(R??{summary:L}),this.jsonPropertyName=j,this.readonly=M,this.static_=D??!1,this.useRequired=G??!1,this.skipDefaultInitializer=Q??!1,this.interfaceReference=oe,this.accessors=X,this.override=K??!1,this.useExpressionBody=C,this.isEvent_=U??!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 l of this.annotations)l.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===ge.Public||this.access===ge.Protected)&&(this.init===!0||this.init===ge.Public||this.init===ge.Protected)?(r.writeLine(),r.writeNoIndent(`#if NET5_0_OR_GREATER
|
|
27
|
+
${Bi(this).map(r=>` ${r.fn} - ${r.path}:${r.position}`).join(`
|
|
28
|
+
`)}`:""}},Be=class extends W{constructor(r,i){super(i);y(this,"origin");this.origin=this.model.origin(r)}},Ot=class extends Be{constructor(r,i,o){super(i,o);y(this,"enclosingType");this.enclosingType=r.enclosingType}};var J=class extends W{get typeName(){return this.constructor.name}};(function(e){class t extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(this.value.toString())}}e.Boolean=t;class r extends e{constructor(C,U,re){super(re);y(this,"fields");y(this,"reference");this.reference=C,this.fields=U}write(C){let U=this.fields.filter(re=>!(re.value instanceof e.Nop));C.writeNode(this.reference.new({arguments_:U.map(re=>({name:re.name,assignment:re.value})),multiline:!0}))}}e.Class_=r;class i extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(this.System.DateOnly,`.Parse("${this.value}")`)}}e.Date=i;class o extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(this.System.DateTime,`.Parse("${this.value}", null, `,this.System.Globalization.DateTimeStyles,".AdjustToUniversal)")}}e.DateTime=o;class c extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(`${this.value}m`)}}e.Decimal=c;class l extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(this.value.toString())}}e.Double=l;class x extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(`${this.value}f`)}}e.Float=x;class w extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(this.value.toString())}}e.Integer=w;class I extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(`${this.value}L`)}}e.Long=I;class A extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(`${this.value}u`)}}e.Uint=A;class P extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.write(`${this.value}ul`)}}e.Ulong=P;class L extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.writeNode(this.value)}}e.Reference=L;class R extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){C.writeNode(this.csharp.string_({string:this.value}))}}e.String=R;class j extends e{write(K){K.write("null")}}e.Null=j;class M extends e{write(K){}}e.Nop=M;class D extends e{constructor(C,U,re){super(re);y(this,"valueType");y(this,"values");this.valueType=C,this.values=U}write(C){if(C.write(this.System.Collections.Generic.List(this.valueType).new()),this.values.length!==0){C.pushScope();for(let U of this.values.filter(re=>!(re instanceof e.Nop)))U.write(C),C.writeLine(",");C.popScope()}}}e.List=D;class G extends e{constructor(C,U,re){super(re);y(this,"valueType");y(this,"values");this.valueType=C,this.values=U}write(C){if(C.write(this.System.Collections.Generic.HashSet(this.valueType).new()),this.values.length!==0){C.pushScope();for(let U of this.values.filter(re=>!(re instanceof e.Nop)))U.write(C),C.writeLine(",");C.popScope()}}}e.Set=G;class Q extends e{constructor(C,U,re,He){super(He);y(this,"entries");y(this,"keyType");y(this,"valueType");this.keyType=C,this.valueType=U,this.entries=re}write(C){C.write(this.System.Collections.Generic.Dictionary(this.keyType,this.valueType).new());let U=this.entries.filter(re=>!v.Literal.nop(re.key)&&!v.Literal.nop(re.value));if(U.length!==0){C.pushScope();for(let re of U)C.write("["),C.writeNode(re.key),C.write("] = "),C.writeNode(re.value),C.writeLine(",");C.popScope()}}}e.Dictionary=Q;class oe extends e{constructor(C,U){super(U);y(this,"value");this.value=C}write(C){this.writeUnknown({writer:C,value:this.value})}writeUnknown({writer:C,value:U}){switch(typeof U){case"boolean":C.write(U.toString());return;case"string":C.writeNode(this.csharp.string_({string:U}));return;case"number":C.write(U.toString());return;case"object":if(U==null){C.write("null");return}if(Array.isArray(U)){this.writeUnknownArray({writer:C,value:U});return}this.writeUnknownMap({writer:C,value:U});return;default:throw new Error(`Internal error; unsupported unknown type: ${typeof U}`)}}writeUnknownArray({writer:C,value:U}){if(C.write(this.System.Collections.Generic.List(this.Primitive.object).new()),U.length!==0){C.writeLine(),C.pushScope();for(let re of U)C.writeNode(new oe(re,this.generation)),C.writeLine(",");C.popScope()}}writeUnknownMap({writer:C,value:U}){let re=Object.entries(U);if(C.write(this.System.Collections.Generic.Dictionary(this.Primitive.string,this.Primitive.object).new()),re.length!==0){C.writeLine(),C.pushScope();for(let[He,Ni]of re)C.write(`["${He}"] = `),C.writeNode(new oe(Ni,this.generation)),C.writeLine(",");C.popScope()}}}e.Unknown=oe})(J||(J={}));n();a();s();n();a();s();function de(e){throw new Error(e??"Assertion failed")}n();a();s();n();a();s();var F={};z(F,{ApiDefinitionSource:()=>dn,ApiVersionScheme:()=>Ja,AsymmetricAlgorithm:()=>dt,AsymmetricKeySource:()=>bn,AuthScheme:()=>Pt,AuthSchemesRequirement:()=>Xi,AvailabilityStatus:()=>Fr,ContainerType:()=>ft,Environments:()=>Zi,ErrorDeclarationDiscriminantValue:()=>en,ErrorDiscriminationStrategy:()=>hn,ExampleCodeSample:()=>tn,ExampleContainer:()=>mt,ExampleEndpointSuccessResponse:()=>jr,ExamplePrimitive:()=>Ie,ExampleQueryParameterShape:()=>Br,ExampleRequestBody:()=>rn,ExampleResponse:()=>nn,ExampleSingleUnionTypeProperties:()=>zr,ExampleStyle:()=>Ka,ExampleTypeReferenceShape:()=>Xt,ExampleTypeShape:()=>Lt,ExampleWebSocketMessageBody:()=>Tn,FileProperty:()=>sn,FileUploadBodyPropertyEncoding:()=>an,FileUploadRequestProperty:()=>on,HmacAlgorithm:()=>Wr,HttpEndpointSource:()=>Dr,HttpMethod:()=>kt,HttpRequestBody:()=>Qt,HttpResponseBody:()=>pt,InvocationSource:()=>Mr,JsonResponse:()=>un,Literal:()=>gn,NamedTypeDefault:()=>Qa,NonStreamHttpResponseBody:()=>Yt,OAuthConfiguration:()=>Ga,ObjectPropertyAccess:()=>Ya,Pagination:()=>Ft,PathParameterLocation:()=>cn,PrimitiveTypeV1:()=>Ce,PrimitiveTypeV2:()=>Ae,ProtobufMethodType:()=>vr,ProtobufType:()=>yn,PublishTarget:()=>lt,PublishingConfig:()=>Vr,RequestPropertyValue:()=>pn,ResolvedTypeReference:()=>Zt,SdkRequestBodyType:()=>ln,SdkRequestShape:()=>fn,ShapeType:()=>qr,SingleUnionTypeProperties:()=>Gr,Source:()=>Xa,StreamingResponse:()=>Ur,SupportedSdkLanguage:()=>De,Transport:()=>mn,Type:()=>jt,TypeReference:()=>er,UnionDiscriminatorContext:()=>Za,V2AuthValues:()=>Kt,V2EndpointLocationHttpMethod:()=>_t,V2HttpEndpointResponseBody:()=>Lr,WebSocketMessageBody:()=>En,WebSocketMessageOrigin:()=>ro,WebhookHttpMethod:()=>eo,WebhookPayload:()=>xn,WebhookPayloadBodySort:()=>ku,WebhookPayloadComponent:()=>$r,WebhookSignatureEncoding:()=>to,WebhookSignatureVerification:()=>Sn,WebhookTimestampFormat:()=>wn,WellKnownProtobufType:()=>ne,audience:()=>tm,auth:()=>du,commons:()=>hu,constants:()=>rm,dynamic:()=>B,environment:()=>Eu,errors:()=>Iu,examples:()=>Au,generatorExec:()=>ce,http:()=>Ru,ir:()=>Ou,proto:()=>Pu,publish:()=>Cu,types:()=>_u,variables:()=>Am,webhooks:()=>Fu,websocket:()=>Lu});n();a();s();n();a();s();var tm={};n();a();s();var du={};z(du,{AuthScheme:()=>Pt,AuthSchemesRequirement:()=>Xi,OAuthConfiguration:()=>Ga});n();a();s();n();a();s();var Pt={bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return Pt._visit(this,t)}}),basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return Pt._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return Pt._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return Pt._visit(this,t)}}),inferred:e=>Object.assign(Object.assign({},e),{type:"inferred",_visit:function(t){return Pt._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 Oh={All:"ALL",Any:"ANY",EndpointSecurity:"ENDPOINT_SECURITY"},Xi=Object.assign(Object.assign({},Oh),{_visit:(e,t)=>{switch(e){case Xi.All:return t.all();case Xi.Any:return t.any();case Xi.EndpointSecurity:return t.endpointSecurity();default:return t._other()}}});n();a();s();var Ga={clientCredentials:e=>Object.assign(Object.assign({},e),{type:"clientCredentials",_visit:function(t){return Ga._visit(this,t)}}),_visit:(e,t)=>e.type==="clientCredentials"?t.clientCredentials(e):t._other(e)};var hu={};z(hu,{AvailabilityStatus:()=>Fr});n();a();s();n();a();s();var Ph={InDevelopment:"IN_DEVELOPMENT",PreRelease:"PRE_RELEASE",GeneralAvailability:"GENERAL_AVAILABILITY",Deprecated:"DEPRECATED"},Fr=Object.assign(Object.assign({},Ph),{_visit:(e,t)=>{switch(e){case Fr.InDevelopment:return t.inDevelopment();case Fr.PreRelease:return t.preRelease();case Fr.GeneralAvailability:return t.generalAvailability();case Fr.Deprecated:return t.deprecated();default:return t._other()}}});var rm={};n();a();s();var B={};z(B,{Auth:()=>im,AuthValues:()=>nm,Environments:()=>fm,ErrorSeverity:()=>Wa,FileUploadRequestBodyProperty:()=>om,GeneratorOutputConfig:()=>mm,HttpMethod:()=>Ct,InlinedRequestBody:()=>um,LiteralType:()=>hm,NamedType:()=>ym,ObjectPropertyAccess:()=>$a,PrimitiveTypeV1:()=>Pe,PublishInfo:()=>dm,ReferencedRequestBodyType:()=>cm,Request:()=>pm,Response:()=>lm,SingleDiscriminatedUnionType:()=>gm,TypeReference:()=>bm,auth:()=>yu,commons:()=>sm,declaration:()=>am,endpoints:()=>gu,environment:()=>bu,http:()=>xu,ir:()=>Su,snippets:()=>wu,types:()=>Tu,variables:()=>xm});n();a();s();n();a();s();var yu={};z(yu,{Auth:()=>im,AuthValues:()=>nm});n();a();s();n();a();s();var im={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return B.Auth._visit(this,t)}}),bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return B.Auth._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return B.Auth._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return B.Auth._visit(this,t)}}),inferred:e=>Object.assign(Object.assign({},e),{type:"inferred",_visit:function(t){return B.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 nm={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return B.AuthValues._visit(this,t)}}),bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return B.AuthValues._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return B.AuthValues._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return B.AuthValues._visit(this,t)}}),inferred:e=>Object.assign(Object.assign({},e),{type:"inferred",_visit:function(t){return B.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 sm={};n();a();s();var am={};n();a();s();var gu={};z(gu,{FileUploadRequestBodyProperty:()=>om,InlinedRequestBody:()=>um,ReferencedRequestBodyType:()=>cm,Request:()=>pm,Response:()=>lm});n();a();s();n();a();s();var om={file:e=>Object.assign(Object.assign({},e),{type:"file",_visit:function(t){return B.FileUploadRequestBodyProperty._visit(this,t)}}),fileArray:e=>Object.assign(Object.assign({},e),{type:"fileArray",_visit:function(t){return B.FileUploadRequestBodyProperty._visit(this,t)}}),bodyProperty:e=>Object.assign(Object.assign({},e),{type:"bodyProperty",_visit:function(t){return B.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 um={properties:e=>({value:e,type:"properties",_visit:function(t){return B.InlinedRequestBody._visit(this,t)}}),referenced:e=>Object.assign(Object.assign({},e),{type:"referenced",_visit:function(t){return B.InlinedRequestBody._visit(this,t)}}),fileUpload:e=>Object.assign(Object.assign({},e),{type:"fileUpload",_visit:function(t){return B.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 cm={bytes:()=>({type:"bytes",_visit:function(e){return B.ReferencedRequestBodyType._visit(this,e)}}),typeReference:e=>({value:e,type:"typeReference",_visit:function(t){return B.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 pm={body:e=>Object.assign(Object.assign({},e),{type:"body",_visit:function(t){return B.Request._visit(this,t)}}),inlined:e=>Object.assign(Object.assign({},e),{type:"inlined",_visit:function(t){return B.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 lm={json:()=>({type:"json",_visit:function(e){return B.Response._visit(this,e)}}),streaming:()=>({type:"streaming",_visit:function(e){return B.Response._visit(this,e)}}),streamParameter:()=>({type:"streamParameter",_visit:function(e){return B.Response._visit(this,e)}}),fileDownload:()=>({type:"fileDownload",_visit:function(e){return B.Response._visit(this,e)}}),text:()=>({type:"text",_visit:function(e){return B.Response._visit(this,e)}}),bytes:()=>({type:"bytes",_visit:function(e){return B.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 bu={};z(bu,{Environments:()=>fm});n();a();s();n();a();s();var fm={singleBaseUrl:e=>Object.assign(Object.assign({},e),{type:"singleBaseUrl",_visit:function(t){return B.Environments._visit(this,t)}}),multipleBaseUrls:e=>Object.assign(Object.assign({},e),{type:"multipleBaseUrls",_visit:function(t){return B.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 xu={};z(xu,{HttpMethod:()=>Ct});n();a();s();n();a();s();var Ch={Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Head:"HEAD"},Ct=Object.assign(Object.assign({},Ch),{_visit:(e,t)=>{switch(e){case Ct.Get:return t.get();case Ct.Post:return t.post();case Ct.Put:return t.put();case Ct.Patch:return t.patch();case Ct.Delete:return t.delete();case Ct.Head:return t.head();default:return t._other()}}});var Su={};z(Su,{GeneratorOutputConfig:()=>mm,PublishInfo:()=>dm});n();a();s();n();a();s();var mm={publish:e=>({value:e,type:"publish",_visit:function(t){return B.GeneratorOutputConfig._visit(this,t)}}),local:()=>({type:"local",_visit:function(e){return B.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 dm={go:e=>Object.assign(Object.assign({},e),{type:"go",_visit:function(t){return B.PublishInfo._visit(this,t)}}),swift:e=>Object.assign(Object.assign({},e),{type:"swift",_visit:function(t){return B.PublishInfo._visit(this,t)}}),maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return B.PublishInfo._visit(this,t)}}),npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return B.PublishInfo._visit(this,t)}}),nuget:e=>Object.assign(Object.assign({},e),{type:"nuget",_visit:function(t){return B.PublishInfo._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return B.PublishInfo._visit(this,t)}}),rubygems:e=>Object.assign(Object.assign({},e),{type:"rubygems",_visit:function(t){return B.PublishInfo._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return B.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 wu={};z(wu,{ErrorSeverity:()=>Wa});n();a();s();n();a();s();var _h={Critical:"CRITICAL",Warning:"WARNING"},Wa=Object.assign(Object.assign({},_h),{_visit:(e,t)=>{switch(e){case Wa.Critical:return t.critical();case Wa.Warning:return t.warning();default:return t._other()}}});var Tu={};z(Tu,{LiteralType:()=>hm,NamedType:()=>ym,ObjectPropertyAccess:()=>$a,PrimitiveTypeV1:()=>Pe,SingleDiscriminatedUnionType:()=>gm,TypeReference:()=>bm});n();a();s();n();a();s();var hm={boolean:e=>({value:e,type:"boolean",_visit:function(t){return B.LiteralType._visit(this,t)}}),string:e=>({value:e,type:"string",_visit:function(t){return B.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 ym={alias:e=>Object.assign(Object.assign({},e),{type:"alias",_visit:function(t){return B.NamedType._visit(this,t)}}),enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return B.NamedType._visit(this,t)}}),object:e=>Object.assign(Object.assign({},e),{type:"object",_visit:function(t){return B.NamedType._visit(this,t)}}),discriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"discriminatedUnion",_visit:function(t){return B.NamedType._visit(this,t)}}),undiscriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"undiscriminatedUnion",_visit:function(t){return B.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 kh={ReadOnly:"READ_ONLY",WriteOnly:"WRITE_ONLY"},$a=Object.assign(Object.assign({},kh),{_visit:(e,t)=>{switch(e){case $a.ReadOnly:return t.readOnly();case $a.WriteOnly:return t.writeOnly();default:return t._other()}}});n();a();s();var Fh={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"},Pe=Object.assign(Object.assign({},Fh),{_visit:(e,t)=>{switch(e){case Pe.Integer:return t.integer();case Pe.Long:return t.long();case Pe.Uint:return t.uint();case Pe.Uint64:return t.uint64();case Pe.Float:return t.float();case Pe.Double:return t.double();case Pe.Boolean:return t.boolean();case Pe.String:return t.string();case Pe.Date:return t.date();case Pe.DateTime:return t.dateTime();case Pe.DateTimeRfc2822:return t.dateTimeRfc2822();case Pe.Uuid:return t.uuid();case Pe.Base64:return t.base64();case Pe.BigInteger:return t.bigInteger();default:return t._other()}}});n();a();s();var gm={samePropertiesAsObject:e=>Object.assign(Object.assign({},e),{type:"samePropertiesAsObject",_visit:function(t){return B.SingleDiscriminatedUnionType._visit(this,t)}}),singleProperty:e=>Object.assign(Object.assign({},e),{type:"singleProperty",_visit:function(t){return B.SingleDiscriminatedUnionType._visit(this,t)}}),noProperties:e=>Object.assign(Object.assign({},e),{type:"noProperties",_visit:function(t){return B.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 bm={list:e=>({value:e,type:"list",_visit:function(t){return B.TypeReference._visit(this,t)}}),literal:e=>({value:e,type:"literal",_visit:function(t){return B.TypeReference._visit(this,t)}}),map:e=>Object.assign(Object.assign({},e),{type:"map",_visit:function(t){return B.TypeReference._visit(this,t)}}),named:e=>({value:e,type:"named",_visit:function(t){return B.TypeReference._visit(this,t)}}),nullable:e=>({value:e,type:"nullable",_visit:function(t){return B.TypeReference._visit(this,t)}}),optional:e=>({value:e,type:"optional",_visit:function(t){return B.TypeReference._visit(this,t)}}),primitive:e=>({value:e,type:"primitive",_visit:function(t){return B.TypeReference._visit(this,t)}}),set:e=>({value:e,type:"set",_visit:function(t){return B.TypeReference._visit(this,t)}}),unknown:()=>({type:"unknown",_visit:function(e){return B.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 xm={};n();a();s();var Eu={};z(Eu,{Environments:()=>Zi});n();a();s();n();a();s();var Zi={singleBaseUrl:e=>Object.assign(Object.assign({},e),{type:"singleBaseUrl",_visit:function(t){return Zi._visit(this,t)}}),multipleBaseUrls:e=>Object.assign(Object.assign({},e),{type:"multipleBaseUrls",_visit:function(t){return Zi._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 Iu={};z(Iu,{ErrorDeclarationDiscriminantValue:()=>en});n();a();s();n();a();s();var en={property:e=>({value:e,type:"property",_visit:function(t){return en._visit(this,t)}}),statusCode:()=>({type:"statusCode",_visit:function(e){return en._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 Au={};z(Au,{V2AuthValues:()=>Kt,V2EndpointLocationHttpMethod:()=>_t,V2HttpEndpointResponseBody:()=>Lr});n();a();s();n();a();s();var Kt={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return Kt._visit(this,t)}}),bearer:e=>Object.assign(Object.assign({},e),{type:"bearer",_visit:function(t){return Kt._visit(this,t)}}),header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return Kt._visit(this,t)}}),oauth:e=>Object.assign(Object.assign({},e),{type:"oauth",_visit:function(t){return Kt._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 Lh={Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Head:"HEAD"},_t=Object.assign(Object.assign({},Lh),{_visit:(e,t)=>{switch(e){case _t.Get:return t.get();case _t.Post:return t.post();case _t.Put:return t.put();case _t.Patch:return t.patch();case _t.Delete:return t.delete();case _t.Head:return t.head();default:return t._other()}}});n();a();s();var Lr={error:e=>({value:e,type:"error",_visit:function(t){return Lr._visit(this,t)}}),json:e=>({value:e,type:"json",_visit:function(t){return Lr._visit(this,t)}}),stream:e=>({value:e,type:"stream",_visit:function(t){return Lr._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 ce={};z(ce,{GeneratorEnvironment:()=>Sm,GeneratorPublishTarget:()=>wm,GithubPublishInfo:()=>Tm,LicenseConfig:()=>Em,LicenseId:()=>Ha,OutputMode:()=>Im,config:()=>Nu});n();a();s();n();a();s();var Nu={};z(Nu,{GeneratorEnvironment:()=>Sm,GeneratorPublishTarget:()=>wm,GithubPublishInfo:()=>Tm,LicenseConfig:()=>Em,LicenseId:()=>Ha,OutputMode:()=>Im});n();a();s();n();a();s();var Sm={local:()=>({type:"local",_visit:function(e){return ce.GeneratorEnvironment._visit(this,e)}}),remote:e=>Object.assign(Object.assign({},e),{type:"remote",_visit:function(t){return ce.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 wm={maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return ce.GeneratorPublishTarget._visit(this,t)}}),npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return ce.GeneratorPublishTarget._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return ce.GeneratorPublishTarget._visit(this,t)}}),postman:e=>Object.assign(Object.assign({},e),{type:"postman",_visit:function(t){return ce.GeneratorPublishTarget._visit(this,t)}}),rubygems:e=>Object.assign(Object.assign({},e),{type:"rubygems",_visit:function(t){return ce.GeneratorPublishTarget._visit(this,t)}}),nuget:e=>Object.assign(Object.assign({},e),{type:"nuget",_visit:function(t){return ce.GeneratorPublishTarget._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return ce.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 Tm={npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return ce.GithubPublishInfo._visit(this,t)}}),maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return ce.GithubPublishInfo._visit(this,t)}}),postman:e=>Object.assign(Object.assign({},e),{type:"postman",_visit:function(t){return ce.GithubPublishInfo._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return ce.GithubPublishInfo._visit(this,t)}}),rubygems:e=>Object.assign(Object.assign({},e),{type:"rubygems",_visit:function(t){return ce.GithubPublishInfo._visit(this,t)}}),nuget:e=>Object.assign(Object.assign({},e),{type:"nuget",_visit:function(t){return ce.GithubPublishInfo._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return ce.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 Em={basic:e=>Object.assign(Object.assign({},e),{type:"basic",_visit:function(t){return ce.LicenseConfig._visit(this,t)}}),custom:e=>Object.assign(Object.assign({},e),{type:"custom",_visit:function(t){return ce.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 jh={Mit:"MIT",Apache2:"Apache-2.0"},Ha=Object.assign(Object.assign({},jh),{_visit:(e,t)=>{switch(e){case Ha.Mit:return t.mit();case Ha.Apache2:return t.apache2();default:return t._other()}}});n();a();s();var Im={publish:e=>Object.assign(Object.assign({},e),{type:"publish",_visit:function(t){return ce.OutputMode._visit(this,t)}}),downloadFiles:()=>({type:"downloadFiles",_visit:function(e){return ce.OutputMode._visit(this,e)}}),github:e=>Object.assign(Object.assign({},e),{type:"github",_visit:function(t){return ce.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 Ru={};z(Ru,{ExampleCodeSample:()=>tn,ExampleEndpointSuccessResponse:()=>jr,ExampleQueryParameterShape:()=>Br,ExampleRequestBody:()=>rn,ExampleResponse:()=>nn,FileProperty:()=>sn,FileUploadBodyPropertyEncoding:()=>an,FileUploadRequestProperty:()=>on,HttpEndpointSource:()=>Dr,HttpMethod:()=>kt,HttpRequestBody:()=>Qt,HttpResponseBody:()=>pt,JsonResponse:()=>un,NonStreamHttpResponseBody:()=>Yt,Pagination:()=>Ft,PathParameterLocation:()=>cn,RequestPropertyValue:()=>pn,SdkRequestBodyType:()=>ln,SdkRequestShape:()=>fn,StreamingResponse:()=>Ur,SupportedSdkLanguage:()=>De,Transport:()=>mn});n();a();s();n();a();s();var tn={language:e=>Object.assign(Object.assign({},e),{type:"language",_visit:function(t){return tn._visit(this,t)}}),sdk:e=>Object.assign(Object.assign({},e),{type:"sdk",_visit:function(t){return tn._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 jr={body:e=>({value:e,type:"body",_visit:function(t){return jr._visit(this,t)}}),stream:e=>({value:e,type:"stream",_visit:function(t){return jr._visit(this,t)}}),sse:e=>({value:e,type:"sse",_visit:function(t){return jr._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 Br={single:()=>({type:"single",_visit:function(e){return Br._visit(this,e)}}),exploded:()=>({type:"exploded",_visit:function(e){return Br._visit(this,e)}}),commaSeparated:()=>({type:"commaSeparated",_visit:function(e){return Br._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 rn={inlinedRequestBody:e=>Object.assign(Object.assign({},e),{type:"inlinedRequestBody",_visit:function(t){return rn._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return rn._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 nn={ok:e=>({value:e,type:"ok",_visit:function(t){return nn._visit(this,t)}}),error:e=>Object.assign(Object.assign({},e),{type:"error",_visit:function(t){return nn._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 sn={file:e=>Object.assign(Object.assign({},e),{type:"file",_visit:function(t){return sn._visit(this,t)}}),fileArray:e=>Object.assign(Object.assign({},e),{type:"fileArray",_visit:function(t){return sn._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 Bh={Exploded:"exploded",Json:"json",Form:"form"},an=Object.assign(Object.assign({},Bh),{_visit:(e,t)=>{switch(e){case an.Exploded:return t.exploded();case an.Json:return t.json();case an.Form:return t.form();default:return t._other()}}});n();a();s();var on={file:e=>({value:e,type:"file",_visit:function(t){return on._visit(this,t)}}),bodyProperty:e=>Object.assign(Object.assign({},e),{type:"bodyProperty",_visit:function(t){return on._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 Dr={proto:e=>Object.assign(Object.assign({},e),{type:"proto",_visit:function(t){return Dr._visit(this,t)}}),openapi:()=>({type:"openapi",_visit:function(e){return Dr._visit(this,e)}}),openrpc:()=>({type:"openrpc",_visit:function(e){return Dr._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 Dh={Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Head:"HEAD"},kt=Object.assign(Object.assign({},Dh),{_visit:(e,t)=>{switch(e){case kt.Get:return t.get();case kt.Post:return t.post();case kt.Put:return t.put();case kt.Patch:return t.patch();case kt.Delete:return t.delete();case kt.Head:return t.head();default:return t._other()}}});n();a();s();var Qt={inlinedRequestBody:e=>Object.assign(Object.assign({},e),{type:"inlinedRequestBody",_visit:function(t){return Qt._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return Qt._visit(this,t)}}),fileUpload:e=>Object.assign(Object.assign({},e),{type:"fileUpload",_visit:function(t){return Qt._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return Qt._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 pt={json:e=>({value:e,type:"json",_visit:function(t){return pt._visit(this,t)}}),fileDownload:e=>Object.assign(Object.assign({},e),{type:"fileDownload",_visit:function(t){return pt._visit(this,t)}}),text:e=>Object.assign(Object.assign({},e),{type:"text",_visit:function(t){return pt._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return pt._visit(this,t)}}),streaming:e=>({value:e,type:"streaming",_visit:function(t){return pt._visit(this,t)}}),streamParameter:e=>Object.assign(Object.assign({},e),{type:"streamParameter",_visit:function(t){return pt._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 un={response:e=>Object.assign(Object.assign({},e),{type:"response",_visit:function(t){return un._visit(this,t)}}),nestedPropertyAsResponse:e=>Object.assign(Object.assign({},e),{type:"nestedPropertyAsResponse",_visit:function(t){return un._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 Yt={json:e=>({value:e,type:"json",_visit:function(t){return Yt._visit(this,t)}}),fileDownload:e=>Object.assign(Object.assign({},e),{type:"fileDownload",_visit:function(t){return Yt._visit(this,t)}}),text:e=>Object.assign(Object.assign({},e),{type:"text",_visit:function(t){return Yt._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return Yt._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 Ft={cursor:e=>Object.assign(Object.assign({},e),{type:"cursor",_visit:function(t){return Ft._visit(this,t)}}),offset:e=>Object.assign(Object.assign({},e),{type:"offset",_visit:function(t){return Ft._visit(this,t)}}),custom:e=>Object.assign(Object.assign({},e),{type:"custom",_visit:function(t){return Ft._visit(this,t)}}),uri:e=>Object.assign(Object.assign({},e),{type:"uri",_visit:function(t){return Ft._visit(this,t)}}),path:e=>Object.assign(Object.assign({},e),{type:"path",_visit:function(t){return Ft._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 Uh={Root:"ROOT",Service:"SERVICE",Endpoint:"ENDPOINT"},cn=Object.assign(Object.assign({},Uh),{_visit:(e,t)=>{switch(e){case cn.Root:return t.root();case cn.Service:return t.service();case cn.Endpoint:return t.endpoint();default:return t._other()}}});n();a();s();var pn={query:e=>Object.assign(Object.assign({},e),{type:"query",_visit:function(t){return pn._visit(this,t)}}),body:e=>Object.assign(Object.assign({},e),{type:"body",_visit:function(t){return pn._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 ln={typeReference:e=>Object.assign(Object.assign({},e),{type:"typeReference",_visit:function(t){return ln._visit(this,t)}}),bytes:e=>Object.assign(Object.assign({},e),{type:"bytes",_visit:function(t){return ln._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 fn={justRequestBody:e=>({value:e,type:"justRequestBody",_visit:function(t){return fn._visit(this,t)}}),wrapper:e=>Object.assign(Object.assign({},e),{type:"wrapper",_visit:function(t){return fn._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 Ur={json:e=>Object.assign(Object.assign({},e),{type:"json",_visit:function(t){return Ur._visit(this,t)}}),text:e=>Object.assign(Object.assign({},e),{type:"text",_visit:function(t){return Ur._visit(this,t)}}),sse:e=>Object.assign(Object.assign({},e),{type:"sse",_visit:function(t){return Ur._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 Mh={Curl:"curl",Python:"python",Javascript:"javascript",Typescript:"typescript",Go:"go",Ruby:"ruby",Csharp:"csharp",Java:"java",Php:"php",Rust:"rust",Swift:"swift"},De=Object.assign(Object.assign({},Mh),{_visit:(e,t)=>{switch(e){case De.Curl:return t.curl();case De.Python:return t.python();case De.Javascript:return t.javascript();case De.Typescript:return t.typescript();case De.Go:return t.go();case De.Ruby:return t.ruby();case De.Csharp:return t.csharp();case De.Java:return t.java();case De.Php:return t.php();case De.Rust:return t.rust();case De.Swift:return t.swift();default:return t._other()}}});n();a();s();var mn={http:()=>({type:"http",_visit:function(e){return mn._visit(this,e)}}),grpc:e=>Object.assign(Object.assign({},e),{type:"grpc",_visit:function(t){return mn._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 Ou={};z(Ou,{ApiDefinitionSource:()=>dn,ApiVersionScheme:()=>Ja,ErrorDiscriminationStrategy:()=>hn,ExampleStyle:()=>Ka,InvocationSource:()=>Mr});n();a();s();n();a();s();var dn={proto:e=>Object.assign(Object.assign({},e),{type:"proto",_visit:function(t){return dn._visit(this,t)}}),openapi:()=>({type:"openapi",_visit:function(e){return dn._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 Ja={header:e=>Object.assign(Object.assign({},e),{type:"header",_visit:function(t){return Ja._visit(this,t)}}),_visit:(e,t)=>e.type==="header"?t.header(e):t._other(e)};n();a();s();var hn={statusCode:()=>({type:"statusCode",_visit:function(e){return hn._visit(this,e)}}),property:e=>Object.assign(Object.assign({},e),{type:"property",_visit:function(t){return hn._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 vh={Minimal:"minimal",Comprehensive:"comprehensive"},Ka=Object.assign(Object.assign({},vh),{_visit:(e,t)=>{switch(e){case Ka.Minimal:return t.minimal();case Ka.Comprehensive:return t.comprehensive();default:return t._other()}}});n();a();s();var Vh={Autopilot:"autopilot",Autorelease:"autorelease",Ci:"ci",Manual:"manual"},Mr=Object.assign(Object.assign({},Vh),{_visit:(e,t)=>{switch(e){case Mr.Autopilot:return t.autopilot();case Mr.Autorelease:return t.autorelease();case Mr.Ci:return t.ci();case Mr.Manual:return t.manual();default:return t._other()}}});var Pu={};z(Pu,{ProtobufMethodType:()=>vr,ProtobufType:()=>yn,WellKnownProtobufType:()=>ne});n();a();s();n();a();s();var zh={Unary:"UNARY",ClientStream:"CLIENT_STREAM",ServerStream:"SERVER_STREAM",BidirectionalStream:"BIDIRECTIONAL_STREAM"},vr=Object.assign(Object.assign({},zh),{_visit:(e,t)=>{switch(e){case vr.Unary:return t.unary();case vr.ClientStream:return t.clientStream();case vr.ServerStream:return t.serverStream();case vr.BidirectionalStream:return t.bidirectionalStream();default:return t._other()}}});n();a();s();var yn={wellKnown:e=>({value:e,type:"wellKnown",_visit:function(t){return yn._visit(this,t)}}),userDefined:e=>Object.assign(Object.assign({},e),{type:"userDefined",_visit:function(t){return yn._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 ne={any:()=>({type:"any",_visit:function(e){return ne._visit(this,e)}}),api:()=>({type:"api",_visit:function(e){return ne._visit(this,e)}}),boolValue:()=>({type:"boolValue",_visit:function(e){return ne._visit(this,e)}}),bytesValue:()=>({type:"bytesValue",_visit:function(e){return ne._visit(this,e)}}),doubleValue:()=>({type:"doubleValue",_visit:function(e){return ne._visit(this,e)}}),duration:()=>({type:"duration",_visit:function(e){return ne._visit(this,e)}}),empty:()=>({type:"empty",_visit:function(e){return ne._visit(this,e)}}),enum:()=>({type:"enum",_visit:function(e){return ne._visit(this,e)}}),enumValue:()=>({type:"enumValue",_visit:function(e){return ne._visit(this,e)}}),field:()=>({type:"field",_visit:function(e){return ne._visit(this,e)}}),fieldCardinality:()=>({type:"fieldCardinality",_visit:function(e){return ne._visit(this,e)}}),fieldKind:()=>({type:"fieldKind",_visit:function(e){return ne._visit(this,e)}}),fieldMask:()=>({type:"fieldMask",_visit:function(e){return ne._visit(this,e)}}),floatValue:()=>({type:"floatValue",_visit:function(e){return ne._visit(this,e)}}),int32Value:()=>({type:"int32Value",_visit:function(e){return ne._visit(this,e)}}),int64Value:()=>({type:"int64Value",_visit:function(e){return ne._visit(this,e)}}),listValue:()=>({type:"listValue",_visit:function(e){return ne._visit(this,e)}}),method:()=>({type:"method",_visit:function(e){return ne._visit(this,e)}}),mixin:()=>({type:"mixin",_visit:function(e){return ne._visit(this,e)}}),nullValue:()=>({type:"nullValue",_visit:function(e){return ne._visit(this,e)}}),option:()=>({type:"option",_visit:function(e){return ne._visit(this,e)}}),sourceContext:()=>({type:"sourceContext",_visit:function(e){return ne._visit(this,e)}}),stringValue:()=>({type:"stringValue",_visit:function(e){return ne._visit(this,e)}}),struct:()=>({type:"struct",_visit:function(e){return ne._visit(this,e)}}),syntax:()=>({type:"syntax",_visit:function(e){return ne._visit(this,e)}}),timestamp:()=>({type:"timestamp",_visit:function(e){return ne._visit(this,e)}}),type:()=>({type:"type",_visit:function(e){return ne._visit(this,e)}}),uint32Value:()=>({type:"uint32Value",_visit:function(e){return ne._visit(this,e)}}),uint64Value:()=>({type:"uint64Value",_visit:function(e){return ne._visit(this,e)}}),value:()=>({type:"value",_visit:function(e){return ne._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 Cu={};z(Cu,{PublishTarget:()=>lt,PublishingConfig:()=>Vr});n();a();s();n();a();s();var Vr={github:e=>Object.assign(Object.assign({},e),{type:"github",_visit:function(t){return Vr._visit(this,t)}}),direct:e=>Object.assign(Object.assign({},e),{type:"direct",_visit:function(t){return Vr._visit(this,t)}}),filesystem:e=>Object.assign(Object.assign({},e),{type:"filesystem",_visit:function(t){return Vr._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 lt={postman:e=>Object.assign(Object.assign({},e),{type:"postman",_visit:function(t){return lt._visit(this,t)}}),npm:e=>Object.assign(Object.assign({},e),{type:"npm",_visit:function(t){return lt._visit(this,t)}}),maven:e=>Object.assign(Object.assign({},e),{type:"maven",_visit:function(t){return lt._visit(this,t)}}),pypi:e=>Object.assign(Object.assign({},e),{type:"pypi",_visit:function(t){return lt._visit(this,t)}}),crates:e=>Object.assign(Object.assign({},e),{type:"crates",_visit:function(t){return lt._visit(this,t)}}),go:e=>Object.assign(Object.assign({},e),{type:"go",_visit:function(t){return lt._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);case"go":return t.go(e);default:return t._other(e)}}};var _u={};z(_u,{ContainerType:()=>ft,ExampleContainer:()=>mt,ExamplePrimitive:()=>Ie,ExampleSingleUnionTypeProperties:()=>zr,ExampleTypeReferenceShape:()=>Xt,ExampleTypeShape:()=>Lt,Literal:()=>gn,NamedTypeDefault:()=>Qa,ObjectPropertyAccess:()=>Ya,PrimitiveTypeV1:()=>Ce,PrimitiveTypeV2:()=>Ae,ResolvedTypeReference:()=>Zt,ShapeType:()=>qr,SingleUnionTypeProperties:()=>Gr,Source:()=>Xa,Type:()=>jt,TypeReference:()=>er,UnionDiscriminatorContext:()=>Za});n();a();s();n();a();s();var ft={list:e=>({list:e,type:"list",_visit:function(t){return ft._visit(this,t)}}),map:e=>Object.assign(Object.assign({},e),{type:"map",_visit:function(t){return ft._visit(this,t)}}),nullable:e=>({nullable:e,type:"nullable",_visit:function(t){return ft._visit(this,t)}}),optional:e=>({optional:e,type:"optional",_visit:function(t){return ft._visit(this,t)}}),set:e=>({set:e,type:"set",_visit:function(t){return ft._visit(this,t)}}),literal:e=>({literal:e,type:"literal",_visit:function(t){return ft._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 mt={list:e=>Object.assign(Object.assign({},e),{type:"list",_visit:function(t){return mt._visit(this,t)}}),set:e=>Object.assign(Object.assign({},e),{type:"set",_visit:function(t){return mt._visit(this,t)}}),optional:e=>Object.assign(Object.assign({},e),{type:"optional",_visit:function(t){return mt._visit(this,t)}}),nullable:e=>Object.assign(Object.assign({},e),{type:"nullable",_visit:function(t){return mt._visit(this,t)}}),map:e=>Object.assign(Object.assign({},e),{type:"map",_visit:function(t){return mt._visit(this,t)}}),literal:e=>Object.assign(Object.assign({},e),{type:"literal",_visit:function(t){return mt._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 Ie={integer:e=>({integer:e,type:"integer",_visit:function(t){return Ie._visit(this,t)}}),long:e=>({long:e,type:"long",_visit:function(t){return Ie._visit(this,t)}}),uint:e=>({uint:e,type:"uint",_visit:function(t){return Ie._visit(this,t)}}),uint64:e=>({uint64:e,type:"uint64",_visit:function(t){return Ie._visit(this,t)}}),float:e=>({float:e,type:"float",_visit:function(t){return Ie._visit(this,t)}}),double:e=>({double:e,type:"double",_visit:function(t){return Ie._visit(this,t)}}),boolean:e=>({boolean:e,type:"boolean",_visit:function(t){return Ie._visit(this,t)}}),string:e=>({string:e,type:"string",_visit:function(t){return Ie._visit(this,t)}}),date:e=>({date:e,type:"date",_visit:function(t){return Ie._visit(this,t)}}),datetime:e=>Object.assign(Object.assign({},e),{type:"datetime",_visit:function(t){return Ie._visit(this,t)}}),datetimeRfc2822:e=>Object.assign(Object.assign({},e),{type:"datetimeRfc2822",_visit:function(t){return Ie._visit(this,t)}}),uuid:e=>({uuid:e,type:"uuid",_visit:function(t){return Ie._visit(this,t)}}),base64:e=>({base64:e,type:"base64",_visit:function(t){return Ie._visit(this,t)}}),bigInteger:e=>({bigInteger:e,type:"bigInteger",_visit:function(t){return Ie._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 zr={samePropertiesAsObject:e=>Object.assign(Object.assign({},e),{type:"samePropertiesAsObject",_visit:function(t){return zr._visit(this,t)}}),singleProperty:e=>Object.assign(Object.assign({},e),{type:"singleProperty",_visit:function(t){return zr._visit(this,t)}}),noProperties:()=>({type:"noProperties",_visit:function(e){return zr._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 Xt={primitive:e=>({primitive:e,type:"primitive",_visit:function(t){return Xt._visit(this,t)}}),container:e=>({container:e,type:"container",_visit:function(t){return Xt._visit(this,t)}}),unknown:e=>({unknown:e,type:"unknown",_visit:function(t){return Xt._visit(this,t)}}),named:e=>Object.assign(Object.assign({},e),{type:"named",_visit:function(t){return Xt._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 Lt={alias:e=>Object.assign(Object.assign({},e),{type:"alias",_visit:function(t){return Lt._visit(this,t)}}),enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return Lt._visit(this,t)}}),object:e=>Object.assign(Object.assign({},e),{type:"object",_visit:function(t){return Lt._visit(this,t)}}),union:e=>Object.assign(Object.assign({},e),{type:"union",_visit:function(t){return Lt._visit(this,t)}}),undiscriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"undiscriminatedUnion",_visit:function(t){return Lt._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 gn={string:e=>({string:e,type:"string",_visit:function(t){return gn._visit(this,t)}}),boolean:e=>({boolean:e,type:"boolean",_visit:function(t){return gn._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 Qa={enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return Qa._visit(this,t)}}),_visit:(e,t)=>e.type==="enum"?t.enum(e):t._other(e)};n();a();s();var qh={ReadOnly:"READ_ONLY",WriteOnly:"WRITE_ONLY"},Ya=Object.assign(Object.assign({},qh),{_visit:(e,t)=>{switch(e){case Ya.ReadOnly:return t.readOnly();case Ya.WriteOnly:return t.writeOnly();default:return t._other()}}});n();a();s();var Gh={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"},Ce=Object.assign(Object.assign({},Gh),{_visit:(e,t)=>{switch(e){case Ce.Integer:return t.integer();case Ce.Long:return t.long();case Ce.Uint:return t.uint();case Ce.Uint64:return t.uint64();case Ce.Float:return t.float();case Ce.Double:return t.double();case Ce.Boolean:return t.boolean();case Ce.String:return t.string();case Ce.Date:return t.date();case Ce.DateTime:return t.dateTime();case Ce.DateTimeRfc2822:return t.dateTimeRfc2822();case Ce.Uuid:return t.uuid();case Ce.Base64:return t.base64();case Ce.BigInteger:return t.bigInteger();default:return t._other()}}});n();a();s();var Ae={integer:e=>Object.assign(Object.assign({},e),{type:"integer",_visit:function(t){return Ae._visit(this,t)}}),long:e=>Object.assign(Object.assign({},e),{type:"long",_visit:function(t){return Ae._visit(this,t)}}),uint:e=>Object.assign(Object.assign({},e),{type:"uint",_visit:function(t){return Ae._visit(this,t)}}),uint64:e=>Object.assign(Object.assign({},e),{type:"uint64",_visit:function(t){return Ae._visit(this,t)}}),float:e=>Object.assign(Object.assign({},e),{type:"float",_visit:function(t){return Ae._visit(this,t)}}),double:e=>Object.assign(Object.assign({},e),{type:"double",_visit:function(t){return Ae._visit(this,t)}}),boolean:e=>Object.assign(Object.assign({},e),{type:"boolean",_visit:function(t){return Ae._visit(this,t)}}),string:e=>Object.assign(Object.assign({},e),{type:"string",_visit:function(t){return Ae._visit(this,t)}}),date:e=>Object.assign(Object.assign({},e),{type:"date",_visit:function(t){return Ae._visit(this,t)}}),dateTime:e=>Object.assign(Object.assign({},e),{type:"dateTime",_visit:function(t){return Ae._visit(this,t)}}),dateTimeRfc2822:e=>Object.assign(Object.assign({},e),{type:"dateTimeRfc2822",_visit:function(t){return Ae._visit(this,t)}}),uuid:e=>Object.assign(Object.assign({},e),{type:"uuid",_visit:function(t){return Ae._visit(this,t)}}),base64:e=>Object.assign(Object.assign({},e),{type:"base64",_visit:function(t){return Ae._visit(this,t)}}),bigInteger:e=>Object.assign(Object.assign({},e),{type:"bigInteger",_visit:function(t){return Ae._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 Zt={container:e=>({container:e,type:"container",_visit:function(t){return Zt._visit(this,t)}}),named:e=>Object.assign(Object.assign({},e),{type:"named",_visit:function(t){return Zt._visit(this,t)}}),primitive:e=>({primitive:e,type:"primitive",_visit:function(t){return Zt._visit(this,t)}}),unknown:()=>({type:"unknown",_visit:function(e){return Zt._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 Wh={Enum:"ENUM",Object:"OBJECT",Union:"UNION",UndiscriminatedUnion:"UNDISCRIMINATED_UNION"},qr=Object.assign(Object.assign({},Wh),{_visit:(e,t)=>{switch(e){case qr.Enum:return t.enum();case qr.Object:return t.object();case qr.Union:return t.union();case qr.UndiscriminatedUnion:return t.undiscriminatedUnion();default:return t._other()}}});n();a();s();var Gr={samePropertiesAsObject:e=>Object.assign(Object.assign({},e),{propertiesType:"samePropertiesAsObject",_visit:function(t){return Gr._visit(this,t)}}),singleProperty:e=>Object.assign(Object.assign({},e),{propertiesType:"singleProperty",_visit:function(t){return Gr._visit(this,t)}}),noProperties:()=>({propertiesType:"noProperties",_visit:function(e){return Gr._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 Xa={proto:e=>({value:e,type:"proto",_visit:function(t){return Xa._visit(this,t)}}),_visit:(e,t)=>e.type==="proto"?t.proto(e.value):t._other(e)};n();a();s();var jt={alias:e=>Object.assign(Object.assign({},e),{type:"alias",_visit:function(t){return jt._visit(this,t)}}),enum:e=>Object.assign(Object.assign({},e),{type:"enum",_visit:function(t){return jt._visit(this,t)}}),object:e=>Object.assign(Object.assign({},e),{type:"object",_visit:function(t){return jt._visit(this,t)}}),union:e=>Object.assign(Object.assign({},e),{type:"union",_visit:function(t){return jt._visit(this,t)}}),undiscriminatedUnion:e=>Object.assign(Object.assign({},e),{type:"undiscriminatedUnion",_visit:function(t){return jt._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 er={container:e=>({container:e,type:"container",_visit:function(t){return er._visit(this,t)}}),named:e=>Object.assign(Object.assign({},e),{type:"named",_visit:function(t){return er._visit(this,t)}}),primitive:e=>({primitive:e,type:"primitive",_visit:function(t){return er._visit(this,t)}}),unknown:()=>({type:"unknown",_visit:function(e){return er._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 $h={Data:"data",Protocol:"protocol"},Za=Object.assign(Object.assign({},$h),{_visit:(e,t)=>{switch(e){case Za.Data:return t.data();case Za.Protocol:return t.protocol();default:return t._other()}}});var Am={};n();a();s();var Fu={};z(Fu,{AsymmetricAlgorithm:()=>dt,AsymmetricKeySource:()=>bn,HmacAlgorithm:()=>Wr,WebhookHttpMethod:()=>eo,WebhookPayload:()=>xn,WebhookPayloadBodySort:()=>ku,WebhookPayloadComponent:()=>$r,WebhookSignatureEncoding:()=>to,WebhookSignatureVerification:()=>Sn,WebhookTimestampFormat:()=>wn});n();a();s();n();a();s();var Hh={RsaSha256:"RSA_SHA256",RsaSha384:"RSA_SHA384",RsaSha512:"RSA_SHA512",EcdsaSha256:"ECDSA_SHA256",EcdsaSha384:"ECDSA_SHA384",EcdsaSha512:"ECDSA_SHA512",Ed25519:"ED25519"},dt=Object.assign(Object.assign({},Hh),{_visit:(e,t)=>{switch(e){case dt.RsaSha256:return t.rsaSha256();case dt.RsaSha384:return t.rsaSha384();case dt.RsaSha512:return t.rsaSha512();case dt.EcdsaSha256:return t.ecdsaSha256();case dt.EcdsaSha384:return t.ecdsaSha384();case dt.EcdsaSha512:return t.ecdsaSha512();case dt.Ed25519:return t.ed25519();default:return t._other()}}});n();a();s();var bn={jwks:e=>Object.assign(Object.assign({},e),{type:"jwks",_visit:function(t){return bn._visit(this,t)}}),static:e=>Object.assign(Object.assign({},e),{type:"static",_visit:function(t){return bn._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 Jh={Sha256:"SHA256",Sha1:"SHA1",Sha384:"SHA384",Sha512:"SHA512"},Wr=Object.assign(Object.assign({},Jh),{_visit:(e,t)=>{switch(e){case Wr.Sha256:return t.sha256();case Wr.Sha1:return t.sha1();case Wr.Sha384:return t.sha384();case Wr.Sha512:return t.sha512();default:return t._other()}}});n();a();s();var Kh={Get:"GET",Post:"POST"},eo=Object.assign(Object.assign({},Kh),{_visit:(e,t)=>{switch(e){case eo.Get:return t.get();case eo.Post:return t.post();default:return t._other()}}});n();a();s();var xn={inlinedPayload:e=>Object.assign(Object.assign({},e),{type:"inlinedPayload",_visit:function(t){return xn._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return xn._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 Qh={Alphabetical:"ALPHABETICAL"},ku=Object.assign(Object.assign({},Qh),{_visit:(e,t)=>e===ku.Alphabetical?t.alphabetical():t._other()});n();a();s();var Yh={Body:"BODY",Timestamp:"TIMESTAMP",NotificationUrl:"NOTIFICATION_URL",MessageId:"MESSAGE_ID"},$r=Object.assign(Object.assign({},Yh),{_visit:(e,t)=>{switch(e){case $r.Body:return t.body();case $r.Timestamp:return t.timestamp();case $r.NotificationUrl:return t.notificationUrl();case $r.MessageId:return t.messageId();default:return t._other()}}});n();a();s();var Xh={Base64:"BASE64",Hex:"HEX"},to=Object.assign(Object.assign({},Xh),{_visit:(e,t)=>{switch(e){case to.Base64:return t.base64();case to.Hex:return t.hex();default:return t._other()}}});n();a();s();var Sn={hmac:e=>Object.assign(Object.assign({},e),{type:"hmac",_visit:function(t){return Sn._visit(this,t)}}),asymmetric:e=>Object.assign(Object.assign({},e),{type:"asymmetric",_visit:function(t){return Sn._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 Zh={UnixSeconds:"UNIX_SECONDS",UnixMillis:"UNIX_MILLIS",Iso8601:"ISO8601"},wn=Object.assign(Object.assign({},Zh),{_visit:(e,t)=>{switch(e){case wn.UnixSeconds:return t.unixSeconds();case wn.UnixMillis:return t.unixMillis();case wn.Iso8601:return t.iso8601();default:return t._other()}}});var Lu={};z(Lu,{ExampleWebSocketMessageBody:()=>Tn,WebSocketMessageBody:()=>En,WebSocketMessageOrigin:()=>ro});n();a();s();n();a();s();var Tn={inlinedBody:e=>Object.assign(Object.assign({},e),{type:"inlinedBody",_visit:function(t){return Tn._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return Tn._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 En={inlinedBody:e=>Object.assign(Object.assign({},e),{type:"inlinedBody",_visit:function(t){return En._visit(this,t)}}),reference:e=>Object.assign(Object.assign({},e),{type:"reference",_visit:function(t){return En._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 ey={Client:"client",Server:"server"},ro=Object.assign(Object.assign({},ey),{_visit:(e,t)=>{switch(e){case ro.Client:return t.client();case ro.Server:return t.server();default:return t._other()}}});var so={};z(so,{camelCase:()=>no,hash:()=>Ge,normalizeDates:()=>ty,uniqueId:()=>ju,upperFirst:()=>io});n();a();s();function io(e){return`${e.charAt(0).toUpperCase()}${e.slice(1)}`}function no(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 Ge(e){let t=0;for(let r of e)t=(t<<5)-t+r.charCodeAt(0);return t}function ju(e){function t(i){let o=Math.sin(i++)*1e4;return o-Math.floor(o)}let r=Ge(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 ty(e,t){return v.isIsoDateTimeString(t)?new Date(t).toISOString():v.isIsoDateString(t)?new Date(t).toISOString().slice(0,10):t}var Jr=class extends W{constructor(){super(...arguments);y(this,"defaultValue",this.csharp.Literal.null());y(this,"isOptional",!1);y(this,"isReferenceType",!1);y(this,"fullyQualifiedName",this.constructor.name)}get isAsyncEnumerable(){return!1}get isCollection(){return!1}getCollectionItemType(){}asOptional(){return new We(this,this.generation)}asNullable(){return new rr(this,this.generation)}asNonOptional(){return this}write(r){r.write(this.fullyQualifiedName)}writeEmptyCollectionInitializer(r){}getDeterminsticDefault(r){return this.csharp.Literal.nop()}},ke=class extends Jr{get multipartMethodName(){return"AddStringPart"}get multipartMethodNameForCollection(){return"AddStringParts"}},Bt=class extends Jr{constructor(){super(...arguments);y(this,"isReferenceType",!0)}},tr=class extends Bt{get isCollection(){return!0}get multipartMethodName(){return"AddJsonPart"}get multipartMethodNameForCollection(){return"AddJsonParts"}},In=class extends Bt{get multipartMethodName(){return"AddJsonPart"}get multipartMethodNameForCollection(){return"AddJsonParts"}},We=class extends Bt{constructor(r,i){super(i);y(this,"isOptional",!0);y(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("?")}},rr=class extends Bt{constructor(r,i){super(i);y(this,"isOptional",!0);y(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("?")}},Kr=class extends Bt{constructor(r,i){super(i);y(this,"isOptional",!0);y(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(">")}},te;(function(e){class t extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","int");y(this,"defaultValue",this.csharp.Literal.integer(0))}getDeterminsticDefault(R){return this.csharp.Literal.integer(Ge(R)&2147483647)}}e.Integer=t;class r extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","long");y(this,"defaultValue",this.csharp.Literal.long(0))}getDeterminsticDefault(R){return this.csharp.Literal.long(Ge(R)&0x7ffffffffffff)}}e.Long=r;class i extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","uint");y(this,"defaultValue",this.csharp.Literal.uint(0))}getDeterminsticDefault(R){return this.csharp.Literal.uint(Ge(R)&2147483647)}}e.Uint=i;class o extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","ulong");y(this,"defaultValue",this.csharp.Literal.ulong(0))}getDeterminsticDefault(R){return this.csharp.Literal.ulong(Ge(R)&0x7ffffffffffff)}}e.ULong=o;class c extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","string");y(this,"defaultValue",this.csharp.Literal.string(""));y(this,"isReferenceType",!0)}getDeterminsticDefault(R){return this.csharp.Literal.string(`<${R}>`)}}e.String=c;class l extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","bool");y(this,"defaultValue",this.csharp.Literal.boolean(!1))}getDeterminsticDefault(R){return this.csharp.Literal.boolean(Ge(R)%2===0)}}e.Boolean=l;class x extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","float");y(this,"defaultValue",this.csharp.Literal.float(0))}getDeterminsticDefault(R){return this.csharp.Literal.float((Ge(R)&2147483647)/100)}}e.Float=x;class w extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","double");y(this,"defaultValue",this.csharp.Literal.double(0))}getDeterminsticDefault(R){return this.csharp.Literal.double((Ge(R)&0x7ffffffffffff)/100)}}e.Double=w;class I extends In{constructor(){super(...arguments);y(this,"fullyQualifiedName","object")}}e.Object=I;class A extends ke{constructor(R,j){super(j);y(this,"fullyQualifiedName");this.fullyQualifiedName=R}}e.ArbitraryType=A})(te||(te={}));var Ue;(function(e){class t extends Bt{get multipartMethodName(){return de("byte[] can not be added to multipart form"),""}get multipartMethodNameForCollection(){return de("byte[] can not be added to multipart form"),""}write(x){x.write("byte[]")}}e.Binary=t;class r extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","DateOnly")}getDeterminsticDefault(w){let I=new Date(Ge(w)&0x7ffffffffffff);return this.csharp.Literal.date(I.toISOString())}}e.DateOnly=r;class i extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","DateTime")}getDeterminsticDefault(w){let I=new Date(Ge(w)&0x7ffffffffffff);return this.csharp.Literal.datetime(I.toISOString())}}e.DateTime=i;class o extends ke{constructor(){super(...arguments);y(this,"fullyQualifiedName","string");y(this,"defaultValue",this.csharp.Literal.string(""));y(this,"isReferenceType",!0)}getDeterminsticDefault(w){return this.csharp.Literal.string(ju(w))}}e.Uuid=o;class c extends ke{constructor(w,I){super(I);y(this,"value");this.value=w}write(w){this.Types.StringEnum(this.value).write(w)}}e.StringEnum=c})(Ue||(Ue={}));var we;(function(e){class t extends In{constructor(A,P){super(P);y(this,"isReferenceType",!0);y(this,"value");this.value=A}getCollectionItemType(){return this.value}write(A){if(Hr({writer:A,value:this.value})){this.writeReadOnlyMemoryType({writer:A,value:this.value});return}this.value.write(A),A.write("[]")}writeReadOnlyMemoryType({writer:A,value:P}){A.writeNode(this.System.ReadOnlyMemory(P))}}e.Array=t;class r extends tr{constructor(A,P){super(P);y(this,"value");this.value=A}get multipartMethodName(){return this.value.multipartMethodNameForCollection}get multipartMethodNameForCollection(){return this.value.multipartMethodNameForCollection}getCollectionItemType(){return this.value}write(A){if(Hr({writer:A,value:this.value})){this.writeReadOnlyMemoryType({writer:A,value:this.value});return}A.writeNode(this.System.Collections.Generic.List(this.value))}writeEmptyCollectionInitializer(A){Hr({writer:A,value:this.value})||A.writeStatement(" = ",this.System.Collections.Generic.List(this.value).new())}writeReadOnlyMemoryType({writer:A,value:P}){A.writeNode(this.System.ReadOnlyMemory(P))}}e.ListType=r;class i extends tr{constructor(A,P){super(P);y(this,"value");this.value=A}get multipartMethodName(){return this.value.multipartMethodNameForCollection}get multipartMethodNameForCollection(){return this.value.multipartMethodNameForCollection}getCollectionItemType(){return this.value}write(A){if(Hr({writer:A,value:this.value})){this.writeReadOnlyMemoryType({writer:A,value:this.value});return}A.writeNode(this.System.Collections.Generic.IEnumerable(this.value))}writeEmptyCollectionInitializer(A){Hr({writer:A,value:this.value})||A.writeStatement(" = ",this.System.Collections.Generic.List(this.value).new())}writeReadOnlyMemoryType({writer:A,value:P}){A.writeNode(this.System.ReadOnlyMemory(P))}}e.List=i;class o extends tr{constructor(A,P){super(P);y(this,"value");this.value=A}getCollectionItemType(){return this.value}write(A){A.writeNode(this.System.Collections.Generic.HashSet(this.value))}writeEmptyCollectionInitializer(A){A.writeStatement(" = ",this.System.Collections.Generic.HashSet(this.value).new())}}e.Set=o;class c extends tr{constructor(A,P,L,R){super(L);y(this,"keyType");y(this,"options");y(this,"valueType");this.keyType=A,this.valueType=P,this.options=R}getCollectionItemType(){return this.Collection.keyValuePair(this.keyType,this.valueType)}write(A){if(this.options?.dontSimplify!==!0&&A.generation.settings.simplifyObjectDictionaries&&this.keyType instanceof te.String&&this.valueType instanceof We&&this.valueType.value instanceof te.Object){A.write("object");return}A.write(this.System.Collections.Generic.Dictionary(this.keyType,this.valueType))}writeEmptyCollectionInitializer(A){A.writeStatement(" = ",this.System.Collections.Generic.Dictionary(this.keyType,this.valueType).new())}}e.Map=c;class l extends tr{constructor(A,P,L,R){super(L);y(this,"keyType");y(this,"options");y(this,"valueType");this.keyType=A,this.valueType=P,this.options=R}getCollectionItemType(){return this.Collection.keyValuePair(this.keyType,this.valueType)}write(A){if(this.options?.dontSimplify!==!0&&A.generation.settings.simplifyObjectDictionaries&&this.keyType instanceof te.String&&this.valueType instanceof We&&this.valueType.value instanceof te.Object){A.write("object");return}A.writeNode(this.System.Collections.Generic.IDictionary(this.keyType,this.valueType))}}e.IDictionary=l;class x extends In{constructor(A,P,L){super(L);y(this,"isReferenceType",!1);y(this,"keyType");y(this,"valueType");this.keyType=A,this.valueType=P}write(A){A.writeNode(this.System.Collections.Generic.KeyValuePair(this.keyType,this.valueType))}}e.KeyValuePair=x})(we||(we={}));function Nm(e){return e.map(t=>{switch(t){case"int":return F.PrimitiveTypeV1.Integer;case"long":return F.PrimitiveTypeV1.Long;case"uint":return F.PrimitiveTypeV1.Uint;case"ulong":return F.PrimitiveTypeV1.Uint64;case"string":return F.PrimitiveTypeV1.String;case"bool":case"boolean":return F.PrimitiveTypeV1.Boolean;case"float":return F.PrimitiveTypeV1.Float;case"double":return F.PrimitiveTypeV1.Double;default:throw new Error(`Internal error; unknown ReadOnlyMemory type: ${t}`)}})}function Hr({writer:e,value:t}){return t instanceof We?Hr({writer:e,value:t.value}):t instanceof te.Integer?e.isReadOnlyMemoryType("int"):t instanceof te.Long?e.isReadOnlyMemoryType("long"):t instanceof te.Uint?e.isReadOnlyMemoryType("uint"):t instanceof te.ULong?e.isReadOnlyMemoryType("ulong"):t instanceof te.String?e.isReadOnlyMemoryType("string"):t instanceof te.Boolean?e.isReadOnlyMemoryType("bool"):t instanceof te.Float?e.isReadOnlyMemoryType("float"):t instanceof te.Double?e.isReadOnlyMemoryType("double"):!1}var _e=class extends Be{constructor({name:r,namespace:i,namespaceAlias:o,enclosingType:c,generics:l,fullyQualified:x,global:w,fullyQualifiedName:I,origin:A,isCollection:P,multipartMethodName:L,multipartMethodNameForCollection:R,isReferenceType:j},M,D){super(A,D);y(this,"scope");y(this,"name");y(this,"namespace");y(this,"namespaceAlias");y(this,"enclosingType");y(this,"generics");y(this,"fullyQualified");y(this,"global");y(this,"fullyQualifiedName");y(this,"isCollection");y(this,"namespaceSegments");y(this,"isReferenceType");y(this,"multipartMethodName");y(this,"multipartMethodNameForCollection");this.scope=M,this.name=r,this.namespace=c?.namespace??i??"",this.namespaceAlias=o,this.enclosingType=c,this.generics=l??[],this.fullyQualified=x??!1,this.global=w??!1,this.namespaceSegments=this.namespace.split("."),this.isCollection=P??!1,c!=null?this.fullyQualifiedName=c.fullyQualifiedName?`${c.fullyQualifiedName}+${r}`:r:this.fullyQualifiedName=I||r,this.multipartMethodName=L===void 0?"AddJsonPart":L,this.multipartMethodNameForCollection=R===void 0?"AddJsonParts":R,this.isReferenceType=j}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(I=>I!==this.namespace&&this.registry.isRegisteredTypeName(`${I}.${this.name}`)),l=!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),x=this.csharpQualifiedName;if(i&&x.endsWith("Attribute")){let I=x.lastIndexOf(".");if(I>=0){let A=x.substring(0,I+1),P=x.substring(I+1);P.endsWith("Attribute")&&(x=A+P.slice(0,-9))}else x=x.slice(0,-9)}let w=`${l?"global::":""}${x}`;if(!this.namespace){r.write(o);return}if(this.namespaceAlias!=null){let I=r.addNamespaceAlias(this.namespaceAlias,this.resolveNamespace());r.write(`${I}.${o}`)}else if(r.skipImports)r.write(o);else if(this.fullyQualified)r.write(w);else if(this.qualifiedTypeNameRequired(r,i)||r.skipImports){let I=this.getTypeQualification({classReferenceNamespace:this.resolveNamespace(),namespaceToBeWrittenTo:r.namespace,isAttribute:i}),A=I.split(".");l||this.registry.isAmbiguousTypeName(A[0])||this.registry.isAmbiguousNamespaceName(A[0])||this.registry.hasTypeNamespaceConflict(A[0])?r.write(w):r.write(`${I}${o}`)}else c&&this.resolveNamespace()!==r.namespace||this.registry.hasTypeNamespaceConflict(this.name)?r.write(w):(r.addReference(this),r.write(o));this.generics!=null&&this.generics.length>0&&(r.write("<"),this.generics.forEach((I,A)=>{r.writeNode(I),A<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 x=this.namespaceSegments,w=i.split("."),I=0,A=Math.min(x.length,w.length);for(;I<A&&x[I]===w[I];)I++;return I>0&&I<x.length?`${x.slice(I).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 l=r.namespace;for(let x of c)if(x===l||l.startsWith(`${x}.`))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||de(`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 We(this,this.generation)}asNullable(){return new rr(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 V=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),Y={FernFilepath:e=>V(e)&&"allParts"in e&&"packagePath"in e&&Array.isArray(e.allParts)&&Array.isArray(e.packagePath),Name:e=>V(e)&&"originalName"in e&&"camelCase"in e&&"pascalCase"in e&&"snakeCase"in e&&"screamingSnakeCase"in e&&typeof e.originalName=="string",NameAndWireValue:e=>V(e)&&"wireValue"in e&&"name"in e&&typeof e.wireValue=="string",SafeAndUnsafeString:e=>V(e)&&"unsafeName"in e&&"safeName"in e&&typeof e.unsafeName=="string"&&typeof e.safeName=="string",WithDocs:e=>V(e),BasicAuth:e=>V(e)&&"username"in e&&"password"in e,BasicAuthValues:e=>V(e)&&"username"in e&&"password"in e&&typeof e.username=="string"&&typeof e.password=="string",BearerAuth:e=>V(e)&&"token"in e,BearerAuthValues:e=>V(e)&&"token"in e&&typeof e.token=="string",HeaderAuth:e=>V(e)&&"header"in e,HeaderAuthValues:e=>V(e),InferredAuth:e=>V(e),InferredAuthValues:e=>V(e),OAuth:e=>V(e)&&"clientId"in e&&"clientSecret"in e,OAuthValues:e=>V(e)&&"clientId"in e&&"clientSecret"in e&&typeof e.clientId=="string"&&typeof e.clientSecret=="string",EnvironmentBaseUrlWithId:e=>V(e)&&"id"in e&&"name"in e,EnvironmentsConfig:e=>V(e)&&"environments"in e,MultipleBaseUrlsEnvironment:e=>V(e)&&"id"in e&&"name"in e&&"urls"in e&&V(e.urls),MultipleBaseUrlsEnvironments:e=>V(e)&&"baseUrls"in e&&"environments"in e&&Array.isArray(e.baseUrls)&&Array.isArray(e.environments),SingleBaseUrlEnvironment:e=>V(e)&&"id"in e&&"name"in e&&"url"in e,SingleBaseUrlEnvironments:e=>V(e)&&"environments"in e&&Array.isArray(e.environments),AliasType:e=>V(e)&&"declaration"in e&&"typeReference"in e,DiscriminatedUnionType:e=>V(e)&&"declaration"in e&&"discriminant"in e&&"types"in e&&V(e.types),EnumType:e=>V(e)&&"declaration"in e&&"values"in e&&Array.isArray(e.values),MapType:e=>V(e)&&"key"in e&&"value"in e,NamedParameter:e=>V(e)&&"name"in e&&"typeReference"in e,ObjectType:e=>V(e)&&"declaration"in e&&"properties"in e&&Array.isArray(e.properties),SingleDiscriminatedUnionTypeNoProperties:e=>V(e)&&"discriminantValue"in e,SingleDiscriminatedUnionTypeObject:e=>V(e)&&"typeId"in e&&"discriminantValue"in e&&"properties"in e&&Array.isArray(e.properties),SingleDiscriminatedUnionTypeSingleProperty:e=>V(e)&&"typeReference"in e&&"discriminantValue"in e,UndiscriminatedUnionType:e=>V(e)&&"declaration"in e&&"types"in e&&Array.isArray(e.types),BodyRequest:e=>V(e),Endpoint:e=>V(e)&&"declaration"in e&&"location"in e&&"request"in e&&"response"in e,EndpointExample:e=>V(e)&&"id"in e&&typeof e.id=="string",EndpointLocation:e=>V(e)&&"method"in e&&"path"in e&&typeof e.path=="string",FileUploadRequestBody:e=>V(e)&&"properties"in e&&Array.isArray(e.properties),InlinedRequest:e=>V(e)&&"declaration"in e,InlinedRequestMetadata:e=>V(e)&&"includePathParameters"in e&&"onlyPathParameters"in e&&typeof e.includePathParameters=="boolean"&&typeof e.onlyPathParameters=="boolean",ReferencedRequestBody:e=>V(e)&&"bodyKey"in e&&"bodyType"in e,DynamicIntermediateRepresentation:e=>V(e)&&"version"in e&&"types"in e&&"endpoints"in e&&V(e.types)&&V(e.endpoints),GeneratorConfig:e=>V(e)&&"apiName"in e&&"organization"in e&&"outputConfig"in e&&typeof e.apiName=="string"&&typeof e.organization=="string",GoPublishInfo:e=>V(e)&&"version"in e&&"repoUrl"in e&&typeof e.version=="string"&&typeof e.repoUrl=="string",MavenPublishInfo:e=>V(e)&&"version"in e&&"coordinate"in e&&typeof e.version=="string"&&typeof e.coordinate=="string",NpmPublishInfo:e=>V(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",NugetPublishInfo:e=>V(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",PypiPublishInfo:e=>V(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",RubyGemsPublishInfo:e=>V(e)&&"version"in e&&"packageName"in e&&typeof e.version=="string"&&typeof e.packageName=="string",VariableDeclaration:e=>V(e)&&"id"in e&&"name"in e&&"typeReference"in e&&typeof e.id=="string",EndpointSnippetRequest:e=>V(e)&&"endpoint"in e,EndpointSnippetResponse:e=>V(e)&&"snippet"in e&&typeof e.snippet=="string",Error_:e=>V(e)&&"severity"in e&&"message"in e&&typeof e.message=="string",Auth:{Basic:e=>Y.BasicAuth(e)&&"type"in e&&e.type==="basic",Bearer:e=>Y.BearerAuth(e)&&"type"in e&&e.type==="bearer",Header:e=>Y.HeaderAuth(e)&&"type"in e&&e.type==="header",Inferred:e=>Y.InferredAuth(e)&&"type"in e&&e.type==="inferred",Oauth:e=>Y.OAuth(e)&&"type"in e&&e.type==="oauth"},AuthValues:{Basic:e=>Y.BasicAuthValues(e)&&"type"in e&&e.type==="basic",Bearer:e=>Y.BearerAuthValues(e)&&"type"in e&&e.type==="bearer",Header:e=>Y.HeaderAuthValues(e)&&"type"in e&&e.type==="header",Inferred:e=>Y.InferredAuthValues(e)&&"type"in e&&e.type==="inferred",Oauth:e=>Y.OAuthValues(e)&&"type"in e&&e.type==="oauth"},Environments:{MultipleBaseUrls:e=>Y.MultipleBaseUrlsEnvironments(e)&&"type"in e&&e.type==="multipleBaseUrls",SingleBaseUrl:e=>Y.SingleBaseUrlEnvironments(e)&&"type"in e&&e.type==="singleBaseUrl"},FileUploadRequestBodyProperty:{BodyProperty:e=>Y.NamedParameter(e)&&"type"in e&&e.type==="bodyProperty",FileArray:e=>Y.NameAndWireValue(e)&&"type"in e&&e.type==="fileArray",File_:e=>Y.NameAndWireValue(e)&&"type"in e&&e.type==="file"},InlinedRequestBody:{FileUpload:e=>Y.FileUploadRequestBody(e)&&"type"in e&&e.type==="fileUpload",Referenced:e=>Y.ReferencedRequestBody(e)&&"type"in e&&e.type==="referenced"},AnyNamedType:e=>Y.NamedType.Alias(e)||Y.NamedType.DiscriminatedUnion(e)||Y.NamedType.Enum(e)||Y.NamedType.Object_(e)||Y.NamedType.UndiscriminatedUnion(e),NamedType:{Alias:e=>Y.AliasType(e)&&"type"in e&&e.type==="alias",DiscriminatedUnion:e=>Y.DiscriminatedUnionType(e)&&"type"in e&&e.type==="discriminatedUnion",Enum:e=>Y.EnumType(e)&&"type"in e&&e.type==="enum",Object_:e=>Y.ObjectType(e)&&"type"in e&&e.type==="object",UndiscriminatedUnion:e=>Y.UndiscriminatedUnionType(e)&&"type"in e&&e.type==="undiscriminatedUnion"},PublishInfo:{Go:e=>Y.GoPublishInfo(e)&&"type"in e&&e.type==="go",Maven:e=>Y.MavenPublishInfo(e)&&"type"in e&&e.type==="maven",Npm:e=>Y.NpmPublishInfo(e)&&"type"in e&&e.type==="npm",Nuget:e=>Y.NugetPublishInfo(e)&&"type"in e&&e.type==="nuget",Pypi:e=>Y.PypiPublishInfo(e)&&"type"in e&&e.type==="pypi",Rubygems:e=>Y.RubyGemsPublishInfo(e)&&"type"in e&&e.type==="rubygems"},Request:{Body:e=>Y.BodyRequest(e)&&"type"in e&&e.type==="body",Inlined:e=>Y.InlinedRequest(e)&&"type"in e&&e.type==="inlined"},SingleDiscriminatedUnionType:{NoProperties:e=>Y.SingleDiscriminatedUnionTypeNoProperties(e)&&"type"in e&&e.type==="noProperties",SamePropertiesAsObject:e=>Y.SingleDiscriminatedUnionTypeObject(e)&&"type"in e&&e.type==="samePropertiesAsObject",SingleProperty:e=>Y.SingleDiscriminatedUnionTypeSingleProperty(e)&&"type"in e&&e.type==="singleProperty"},TypeReference:{Map:e=>Y.MapType(e)&&"type"in e&&e.type==="map"}};n();a();s();var rY=F.ApiDefinitionSource,iY=F.ApiVersionScheme,nY=F.AuthScheme,sY=F.generatorExec,b=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),E={SafeAndUnsafeString:e=>b(e)&&"safeName"in e&&"unsafeName"in e&&typeof e.safeName=="string"&&typeof e.unsafeName=="string",Name:e=>typeof e=="string"||b(e)&&"originalName"in e&&"pascalCase"in e&&"camelCase"in e&&"snakeCase"in e&&"screamingSnakeCase"in e&&typeof e.originalName=="string"&&E.SafeAndUnsafeString(e.pascalCase)&&E.SafeAndUnsafeString(e.camelCase)&&E.SafeAndUnsafeString(e.snakeCase)&&E.SafeAndUnsafeString(e.screamingSnakeCase),NameAndWireValue:e=>typeof e=="string"||b(e)&&"wireValue"in e&&"name"in e&&typeof e.wireValue=="string"&&E.Name(e.name),TypeDeclaration:e=>b(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=>b(e)&&"extends"in e&&"properties"in e&&"extraProperties"in e&&Array.isArray(e.extends)&&Array.isArray(e.properties)&&typeof e.extraProperties=="boolean",EnumTypeDeclaration:e=>b(e)&&"values"in e&&Array.isArray(e.values),UnionTypeDeclaration:e=>b(e)&&"discriminant"in e&&"extends"in e&&"types"in e&&"baseProperties"in e&&E.NameAndWireValue(e.discriminant)&&Array.isArray(e.extends)&&Array.isArray(e.types)&&Array.isArray(e.baseProperties),AliasTypeDeclaration:e=>b(e)&&"aliasOf"in e&&"resolvedType"in e,ObjectProperty:e=>b(e)&&"name"in e&&"valueType"in e&&"availability"in e&&E.NameAndWireValue(e.name)&&"docs"in e,HttpEndpoint:e=>b(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=>b(e)&&"name"in e&&"basePath"in e&&"endpoints"in e&&"headers"in e&&"pathParameters"in e&&E.HttpPath(e.basePath)&&Array.isArray(e.endpoints)&&Array.isArray(e.headers)&&Array.isArray(e.pathParameters),HttpHeader:e=>b(e)&&"name"in e&&"valueType"in e&&"availability"in e&&E.NameAndWireValue(e.name)&&"docs"in e,HttpResponse:e=>b(e),HttpPath:e=>b(e)&&"head"in e&&"parts"in e&&typeof e.head=="string"&&Array.isArray(e.parts),HttpPathPart:e=>b(e)&&"pathParameter"in e&&"tail"in e&&typeof e.pathParameter=="string"&&typeof e.tail=="string",PathParameter:e=>b(e)&&"name"in e&&"valueType"in e&&"location"in e&&E.Name(e.name)&&typeof e.location=="string"&&"docs"in e,QueryParameter:e=>b(e)&&"name"in e&&"valueType"in e&&"allowMultiple"in e&&"availability"in e&&E.NameAndWireValue(e.name)&&typeof e.allowMultiple=="boolean"&&"docs"in e,InlinedRequestBody:e=>b(e)&&"name"in e&&"extends"in e&&"properties"in e&&"extraProperties"in e&&E.Name(e.name)&&Array.isArray(e.extends)&&Array.isArray(e.properties)&&typeof e.extraProperties=="boolean"&&"docs"in e,InlinedRequestBodyProperty:e=>b(e)&&"name"in e&&"valueType"in e&&"availability"in e&&E.NameAndWireValue(e.name)&&"docs"in e,SdkRequest:e=>b(e)&&"requestParameterName"in e&&E.Name(e.requestParameterName)&&"shape"in e,WebSocketChannel:e=>b(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&&E.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=>b(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=>b(e)&&"shape"in e&&"jsonExample"in e&&"docs"in e,ExampleObjectType:e=>b(e)&&"properties"in e&&Array.isArray(e.properties),ExampleObjectProperty:e=>b(e)&&"name"in e&&"value"in e&&E.NameAndWireValue(e.name)&&E.ExampleTypeReference(e.value),ExampleEndpointCall:e=>b(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=>b(e)&&"name"in e&&"value"in e&&E.NameAndWireValue(e.name)&&E.ExampleTypeReference(e.value),ExamplePathParameter:e=>b(e)&&"name"in e&&E.Name(e.name)&&"value"in e,ExampleQueryParameter:e=>b(e)&&"name"in e&&"value"in e&&E.NameAndWireValue(e.name)&&E.ExampleTypeReference(e.value),ExampleTypeReference:e=>b(e)&&"shape"in e&&"jsonExample"in e,ExampleNamedType:e=>b(e)&&"typeName"in e&&"shape"in e,WithDocs:e=>b(e)&&"docs"in e,WithDocsAndAvailability:e=>b(e)&&"docs"in e&&"availability"in e,Declaration:e=>b(e)&&"docs"in e&&"availability"in e,Availability:e=>b(e)&&"status"in e&&typeof e.status=="string",FernFilepath:e=>b(e)&&"allParts"in e&&"packagePath"in e&&Array.isArray(e.allParts)&&Array.isArray(e.packagePath),ErrorDeclaration:e=>b(e)&&"name"in e&&"discriminantValue"in e&&"statusCode"in e&&"examples"in e&&E.NameAndWireValue(e.discriminantValue)&&typeof e.statusCode=="number"&&Array.isArray(e.examples)&&"docs"in e,BearerAuthScheme:e=>b(e)&&"token"in e&&E.Name(e.token)&&"docs"in e&&"availability"in e,BasicAuthScheme:e=>b(e)&&"username"in e&&"password"in e&&"docs"in e&&E.Name(e.username)&&E.Name(e.password)&&"availability"in e,HeaderAuthScheme:e=>b(e)&&"name"in e&&"valueType"in e&&"docs"in e&&E.NameAndWireValue(e.name)&&"availability"in e,OAuthScheme:e=>b(e)&&"configuration"in e&&"docs"in e&&"availability"in e,Webhook:e=>b(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=>b(e)&&"name"in e&&"extends"in e&&"properties"in e&&E.Name(e.name)&&Array.isArray(e.extends)&&Array.isArray(e.properties),VariableDeclaration:e=>b(e)&&"id"in e&&"name"in e&&"type"in e&&typeof e.id=="string"&&E.Name(e.name)&&"docs"in e,ApiAuth:e=>b(e)&&"requirement"in e&&"schemes"in e&&typeof e.requirement=="string"&&Array.isArray(e.schemes)&&"docs"in e,ReadmeConfig:e=>b(e),ReadmeCustomSection:e=>b(e)&&"title"in e&&"language"in e&&"content"in e&&typeof e.title=="string"&&typeof e.language=="string"&&typeof e.content=="string",SourceConfig:e=>b(e)&&"sources"in e&&Array.isArray(e.sources),ServiceTypeReferenceInfo:e=>b(e)&&"typesReferencedOnlyByService"in e&&"sharedTypes"in e&&b(e.typesReferencedOnlyByService)&&Array.isArray(e.sharedTypes),UserAgent:e=>b(e)&&"header"in e&&"value"in e&&typeof e.header=="string"&&typeof e.value=="string",StringType:e=>b(e),IntegerType:e=>b(e),LongType:e=>b(e),DoubleType:e=>b(e),FloatType:e=>b(e),BooleanType:e=>b(e),DateTimeType:e=>b(e),DateType:e=>b(e),UuidType:e=>b(e),Base64Type:e=>b(e),BigIntegerType:e=>b(e),UintType:e=>b(e),Uint64Type:e=>b(e),MapType:e=>b(e)&&"keyType"in e&&"valueType"in e,StringValidationRules:e=>b(e),IntegerValidationRules:e=>b(e),DoubleValidationRules:e=>b(e),JsonResponseBody:e=>b(e)&&"responseBodyType"in e&&"docs"in e,JsonResponseBodyWithProperty:e=>b(e)&&"responseBodyType"in e&&"docs"in e,TextResponse:e=>b(e)&&"docs"in e,BytesResponse:e=>b(e)&&"docs"in e,JsonStreamChunk:e=>b(e)&&"payload"in e&&"docs"in e,SseStreamChunk:e=>b(e)&&"payload"in e&&"docs"in e,TextStreamChunk:e=>b(e)&&"docs"in e,StreamParameterResponse:e=>b(e)&&"nonStreamResponse"in e&&"streamResponse"in e,CursorPagination:e=>b(e)&&"page"in e&&"next"in e&&"results"in e&&E.RequestProperty(e.page)&&E.ResponseProperty(e.next)&&E.ResponseProperty(e.results),OffsetPagination:e=>b(e)&&"page"in e&&"results"in e&&E.RequestProperty(e.page)&&E.ResponseProperty(e.results),CustomPagination:e=>b(e)&&"results"in e&&E.ResponseProperty(e.results),RequestProperty:e=>b(e)&&"property"in e,ResponseProperty:e=>b(e)&&"property"in e,OAuthAccessTokenRequestProperties:e=>b(e)&&"clientId"in e&&"clientSecret"in e&&E.RequestProperty(e.clientId)&&E.RequestProperty(e.clientSecret),OAuthClientCredentials:e=>b(e)&&"tokenEndpoint"in e&&E.OAuthTokenEndpoint(e.tokenEndpoint),BaseAuthScheme:e=>b(e)&&"key"in e&&typeof e.key=="string"&&"docs"in e,InferredAuthScheme:e=>b(e)&&"tokenEndpoint"in e&&"docs"in e&&E.InferredAuthSchemeTokenEndpoint(e.tokenEndpoint)&&"availability"in e,PropertyPathItem:e=>b(e)&&"name"in e&&E.Name(e.name)&&"type"in e,WithJsonExample:e=>b(e)&&"jsonExample"in e,WithContentType:e=>b(e)&&"contentType"in e,WithV2Examples:e=>b(e)&&"v2Examples"in e,EscapedString:e=>b(e)&&"original"in e&&typeof e.original=="string",EnumValue:e=>b(e)&&"name"in e&&"availability"in e&&E.NameAndWireValue(e.name)&&"docs"in e,SingleUnionType:e=>b(e)&&"discriminantValue"in e&&"shape"in e&&E.NameAndWireValue(e.discriminantValue)&&"docs"in e,SingleUnionTypeProperty:e=>b(e)&&"name"in e&&E.NameAndWireValue(e.name)&&"type"in e,UndiscriminatedUnionTypeDeclaration:e=>b(e)&&"members"in e&&Array.isArray(e.members),UndiscriminatedUnionMember:e=>b(e)&&"type"in e&&"docs"in e,DeclaredTypeName:e=>b(e)&&"typeId"in e&&"fernFilepath"in e&&"name"in e&&typeof e.typeId=="string"&&E.FernFilepath(e.fernFilepath)&&E.Name(e.name),DeclaredServiceName:e=>b(e)&&"fernFilepath"in e&&E.FernFilepath(e.fernFilepath),DeclaredErrorName:e=>b(e)&&"errorId"in e&&"fernFilepath"in e&&"name"in e&&typeof e.errorId=="string"&&E.FernFilepath(e.fernFilepath)&&E.Name(e.name),FileUploadRequest:e=>b(e)&&"name"in e&&"properties"in e&&E.Name(e.name)&&Array.isArray(e.properties)&&"docs"in e,FileDownloadResponse:e=>b(e)&&"docs"in e,SdkRequestWrapper:e=>b(e)&&"wrapperName"in e&&"bodyKey"in e&&E.Name(e.wrapperName)&&E.Name(e.bodyKey),BytesRequest:e=>b(e)&&"isOptional"in e&&typeof e.isOptional=="boolean"&&"docs"in e,NamedType:e=>b(e)&&"typeId"in e&&"fernFilepath"in e&&"name"in e&&typeof e.typeId=="string"&&E.FernFilepath(e.fernFilepath)&&E.Name(e.name),ResolvedNamedType:e=>b(e)&&"name"in e&&"shape"in e,FileUploadBodyProperty:e=>b(e)&&"name"in e&&"valueType"in e&&"availability"in e&&E.NameAndWireValue(e.name)&&"docs"in e,IntermediateRepresentation:e=>b(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&&E.Name(e.apiName)&&b(e.types)&&Array.isArray(e.headers)&&Array.isArray(e.idempotencyHeaders)&&b(e.services)&&b(e.webhookGroups)&&b(e.errors)&&b(e.subpackages)&&E.Package(e.rootPackage)&&E.Constants(e.constants)&&Array.isArray(e.pathParameters)&&E.SdkConfig(e.sdkConfig)&&Array.isArray(e.variables)&&E.ServiceTypeReferenceInfo(e.serviceTypeReferenceInfo),Package:e=>b(e)&&"fernFilepath"in e&&"types"in e&&"errors"in e&&"subpackages"in e&&"hasEndpointsInTree"in e&&E.FernFilepath(e.fernFilepath)&&Array.isArray(e.types)&&Array.isArray(e.errors)&&Array.isArray(e.subpackages)&&typeof e.hasEndpointsInTree=="boolean"&&"docs"in e,Subpackage:e=>b(e)&&"name"in e&&"fernFilepath"in e&&"types"in e&&"errors"in e&&"subpackages"in e&&"hasEndpointsInTree"in e&&E.Name(e.name)&&E.FernFilepath(e.fernFilepath)&&Array.isArray(e.types)&&Array.isArray(e.errors)&&Array.isArray(e.subpackages)&&typeof e.hasEndpointsInTree=="boolean"&&"docs"in e,Constants:e=>b(e)&&"errorInstanceIdKey"in e&&E.NameAndWireValue(e.errorInstanceIdKey),SdkConfig:e=>b(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=>b(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=>b(e)&&"example"in e&&E.ExampleEndpointCall(e.example),UserSpecifiedEndpointExample:e=>b(e),ExampleAliasType:e=>b(e)&&"value"in e&&E.ExampleTypeReference(e.value),ExampleEnumType:e=>b(e)&&"value"in e&&E.NameAndWireValue(e.value),ExampleUnionType:e=>b(e)&&"discriminant"in e&&E.NameAndWireValue(e.discriminant)&&"singleUnionType"in e,ExampleSingleUnionType:e=>b(e)&&"shape"in e,ExampleUndiscriminatedUnionType:e=>b(e)&&"singleUnionType"in e,ExampleObjectTypeWithTypeId:e=>b(e)&&"typeId"in e&&"object"in e&&typeof e.typeId=="string"&&E.ExampleObjectType(e.object),ExampleListContainer:e=>b(e)&&"list"in e&&Array.isArray(e.list),ExampleSetContainer:e=>b(e)&&"set"in e&&Array.isArray(e.set),ExampleMapContainer:e=>b(e)&&"map"in e&&Array.isArray(e.map),ExampleOptionalContainer:e=>b(e)&&"optional"in e,ExampleNullableContainer:e=>b(e)&&"nullable"in e,ExampleLiteralContainer:e=>b(e)&&"literal"in e,ExampleKeyValuePair:e=>b(e)&&"key"in e&&"value"in e&&E.ExampleTypeReference(e.key)&&E.ExampleTypeReference(e.value),ExampleError:e=>b(e)&&"name"in e&&"body"in e,ExampleEndpointErrorResponse:e=>b(e)&&"error"in e,ExampleDatetime:e=>b(e)&&"datetime"in e&&typeof e.datetime=="string",ExampleInlinedRequestBody:e=>b(e)&&"properties"in e&&Array.isArray(e.properties),ExampleInlinedRequestBodyProperty:e=>b(e)&&"name"in e&&"value"in e&&E.NameAndWireValue(e.name)&&E.ExampleTypeReference(e.value),ExampleWebhookCall:e=>b(e)&&"payload"in e,ExampleWebSocketMessage:e=>b(e)&&"type"in e&&typeof e.type=="string"&&"body"in e,ExampleWebSocketSession:e=>b(e)&&"messages"in e&&Array.isArray(e.messages),ExampleServerSideEvent:e=>b(e)&&"event"in e&&typeof e.event=="string"&&"data"in e,ExampleCodeSampleLanguage:e=>b(e)&&"language"in e&&"code"in e&&typeof e.language=="string"&&typeof e.code=="string",ExampleCodeSampleSdk:e=>b(e)&&"sdk"in e&&"code"in e&&typeof e.sdk=="string"&&typeof e.code=="string",V2HttpEndpointExample:e=>b(e)&&"id"in e&&typeof e.id=="string",V2HttpEndpointExamples:e=>b(e)&&"examples"in e&&Array.isArray(e.examples),V2HttpEndpointRequest:e=>b(e),V2HttpEndpointResponse:e=>b(e),V2HttpEndpointCodeSample:e=>b(e)&&"language"in e&&"code"in e&&typeof e.language=="string"&&typeof e.code=="string",V2SchemaExamples:e=>b(e),V2WebSocketMessageExample:e=>b(e)&&"type"in e&&typeof e.type=="string",V2WebSocketSessionExample:e=>b(e)&&"messages"in e&&Array.isArray(e.messages),V2WebSocketSessionExamples:e=>b(e)&&"examples"in e&&Array.isArray(e.examples),V2WebhookExample:e=>b(e)&&"payload"in e,V2WebhookExamples:e=>b(e)&&"examples"in e&&Array.isArray(e.examples),BasicAuthValues:e=>b(e)&&"username"in e&&"password"in e&&typeof e.username=="string"&&typeof e.password=="string",BearerAuthValues:e=>b(e)&&"token"in e&&typeof e.token=="string",HeaderAuthValues:e=>b(e)&&"header"in e&&typeof e.header=="string",OAuthValues:e=>b(e)&&"accessToken"in e&&typeof e.accessToken=="string",InferredAuthSchemeTokenEndpoint:e=>b(e)&&"endpoint"in e&&"authenticatedRequestHeaders"in e&&E.EndpointReference(e.endpoint)&&Array.isArray(e.authenticatedRequestHeaders),InferredAuthenticatedRequestHeader:e=>b(e)&&"header"in e,OAuthAccessTokenResponseProperties:e=>b(e)&&"accessToken"in e&&E.ResponseProperty(e.accessToken),OAuthRefreshEndpoint:e=>b(e)&&"endpointReference"in e&&E.EndpointReference(e.endpointReference),OAuthRefreshTokenRequestProperties:e=>b(e)&&"refreshToken"in e&&E.RequestProperty(e.refreshToken),OAuthTokenEndpoint:e=>b(e)&&"endpointReference"in e&&"requestProperties"in e&&"responseProperties"in e&&E.EndpointReference(e.endpointReference)&&E.OAuthAccessTokenRequestProperties(e.requestProperties)&&E.OAuthAccessTokenResponseProperties(e.responseProperties),Encoding:e=>b(e),JsonEncoding:e=>b(e),ProtoEncoding:e=>b(e),FilePropertyArray:e=>b(e)&&"key"in e&&E.NameAndWireValue(e.key),FilePropertySingle:e=>b(e)&&"key"in e&&E.NameAndWireValue(e.key),Filesystem:e=>b(e)&&"name"in e&&typeof e.name=="string",InlinedWebSocketMessageBody:e=>b(e)&&"properties"in e&&Array.isArray(e.properties),InlinedWebSocketMessageBodyProperty:e=>b(e)&&"name"in e&&E.NameAndWireValue(e.name)&&"valueType"in e,InlinedWebhookPayloadProperty:e=>b(e)&&"name"in e&&E.NameAndWireValue(e.name)&&"valueType"in e,WebSocketMessageBodyReference:e=>b(e)&&"bodyType"in e,WebhookPayloadReference:e=>b(e)&&"payloadType"in e,HttpRequestBodyReference:e=>b(e)&&"requestBodyType"in e,ResponseError:e=>b(e)&&"error"in e,V2EndpointLocation:e=>b(e)&&"method"in e&&"path"in e&&typeof e.method=="string"&&typeof e.path=="string",V2WebSocketEndpointLocation:e=>b(e)&&"path"in e&&typeof e.path=="string",V2HttpRequestBodies:e=>b(e),V2HttpResponses:e=>b(e),EndpointReference:e=>b(e)&&"endpointId"in e&&"serviceId"in e&&typeof e.endpointId=="string"&&typeof e.serviceId=="string",EnumTypeReference:e=>b(e)&&"enumTypeId"in e&&typeof e.enumTypeId=="string",CsharpProtobufFileOptions:e=>b(e)&&"namespace"in e&&typeof e.namespace=="string",GrpcTransport:e=>b(e)&&"service"in e&&E.ProtobufService(e.service),ProtoSource:e=>b(e)&&"file"in e&&E.ProtobufFile(e.file),ProtoSourceInfo:e=>b(e),ProtobufFile:e=>b(e)&&"filepath"in e&&typeof e.filepath=="string",ProtobufFileOptions:e=>b(e),ProtobufService:e=>b(e)&&"name"in e&&"file"in e&&typeof e.name=="string"&&E.ProtobufFile(e.file),UserDefinedProtobufType:e=>b(e)&&"typeName"in e&&"file"in e&&typeof e.typeName=="string"&&E.ProtobufFile(e.file),AuthScheme:{Bearer:e=>E.BearerAuthScheme(e)&&"type"in e&&e.type==="bearer",Basic:e=>E.BasicAuthScheme(e)&&"type"in e&&e.type==="basic",Header:e=>E.HeaderAuthScheme(e)&&"type"in e&&e.type==="header",Oauth:e=>E.OAuthScheme(e)&&"type"in e&&e.type==="oauth",Inferred:e=>E.InferredAuthScheme(e)&&"type"in e&&e.type==="inferred"},OAuthConfiguration:{ClientCredentials:e=>E.OAuthClientCredentials(e)&&"type"in e&&e.type==="clientCredentials"},Environments:{SingleBaseUrl:e=>b(e)&&"type"in e&&e.type==="singleBaseUrl",MultipleBaseUrls:e=>b(e)&&"type"in e&&e.type==="multipleBaseUrls"},ErrorDeclarationDiscriminantValue:{Property:e=>E.NameAndWireValue(e)&&"type"in e&&e.type==="property",StatusCode:e=>b(e)&&"type"in e&&e.type==="statusCode"},V2AuthValues:{Basic:e=>E.BasicAuthValues(e)&&"type"in e&&e.type==="basic",Bearer:e=>E.BearerAuthValues(e)&&"type"in e&&e.type==="bearer",Header:e=>E.HeaderAuthValues(e)&&"type"in e&&e.type==="header",Oauth:e=>E.OAuthValues(e)&&"type"in e&&e.type==="oauth"},V2HttpEndpointResponseBody:{Error_:e=>b(e)&&"type"in e&&e.type==="error",Json:e=>b(e)&&"type"in e&&e.type==="json",Stream:e=>b(e)&&"type"in e&&e.type==="stream"},ExampleCodeSample:{Language:e=>E.ExampleCodeSampleLanguage(e)&&"type"in e&&e.type==="language",Sdk:e=>E.ExampleCodeSampleSdk(e)&&"type"in e&&e.type==="sdk"},ExampleEndpointSuccessResponse:{Body:e=>b(e)&&"type"in e&&e.type==="body",Stream:e=>b(e)&&"type"in e&&e.type==="stream",Sse:e=>b(e)&&"type"in e&&e.type==="sse"},ExampleQueryParameterShape:{Single:e=>b(e)&&"type"in e&&e.type==="single",Exploded:e=>b(e)&&"type"in e&&e.type==="exploded",CommaSeparated:e=>b(e)&&"type"in e&&e.type==="commaSeparated"},ExampleRequestBody:{InlinedRequestBody:e=>E.ExampleInlinedRequestBody(e)&&"type"in e&&e.type==="inlinedRequestBody",Reference:e=>E.ExampleTypeReference(e)&&"type"in e&&e.type==="reference"},ExampleResponse:{Ok:e=>b(e)&&"type"in e&&e.type==="ok",Error_:e=>E.ExampleEndpointErrorResponse(e)&&"type"in e&&e.type==="error"},FileProperty:{File_:e=>E.FilePropertySingle(e)&&"type"in e&&e.type==="file",FileArray:e=>E.FilePropertyArray(e)&&"type"in e&&e.type==="fileArray"},FileUploadRequestProperty:{File_:e=>b(e)&&"type"in e&&e.type==="file",BodyProperty:e=>E.FileUploadBodyProperty(e)&&"type"in e&&e.type==="bodyProperty"},HttpEndpointSource:{Proto:e=>E.ProtoSourceInfo(e)&&"type"in e&&e.type==="proto",Openapi:e=>b(e)&&"type"in e&&e.type==="openapi",Openrpc:e=>b(e)&&"type"in e&&e.type==="openrpc"},HttpRequestBody:{InlinedRequestBody:e=>E.InlinedRequestBody(e)&&"type"in e&&e.type==="inlinedRequestBody",Reference:e=>E.HttpRequestBodyReference(e)&&"type"in e&&e.type==="reference",FileUpload:e=>E.FileUploadRequest(e)&&"type"in e&&e.type==="fileUpload",Bytes:e=>E.BytesRequest(e)&&"type"in e&&e.type==="bytes"},HttpResponseBody:{Json:e=>b(e)&&"type"in e&&e.type==="json",FileDownload:e=>E.FileDownloadResponse(e)&&"type"in e&&e.type==="fileDownload",Text:e=>E.TextResponse(e)&&"type"in e&&e.type==="text",Bytes:e=>E.BytesResponse(e)&&"type"in e&&e.type==="bytes",Streaming:e=>b(e)&&"type"in e&&e.type==="streaming",StreamParameter:e=>E.StreamParameterResponse(e)&&"type"in e&&e.type==="streamParameter"},JsonResponse:{Response:e=>E.JsonResponseBody(e)&&"type"in e&&e.type==="response",NestedPropertyAsResponse:e=>E.JsonResponseBodyWithProperty(e)&&"type"in e&&e.type==="nestedPropertyAsResponse"},NonStreamHttpResponseBody:{Json:e=>b(e)&&"type"in e&&e.type==="json",FileDownload:e=>E.FileDownloadResponse(e)&&"type"in e&&e.type==="fileDownload",Text:e=>E.TextResponse(e)&&"type"in e&&e.type==="text",Bytes:e=>E.BytesResponse(e)&&"type"in e&&e.type==="bytes"},Pagination:{Cursor:e=>E.CursorPagination(e)&&"type"in e&&e.type==="cursor",Offset:e=>E.OffsetPagination(e)&&"type"in e&&e.type==="offset",Custom:e=>E.CustomPagination(e)&&"type"in e&&e.type==="custom"},RequestPropertyValue:{Query:e=>E.QueryParameter(e)&&"type"in e&&e.type==="query",Body:e=>E.ObjectProperty(e)&&"type"in e&&e.type==="body"},SdkRequestBodyType:{TypeReference:e=>E.HttpRequestBodyReference(e)&&"type"in e&&e.type==="typeReference",Bytes:e=>E.BytesRequest(e)&&"type"in e&&e.type==="bytes"},SdkRequestShape:{JustRequestBody:e=>b(e)&&"type"in e&&e.type==="justRequestBody",Wrapper:e=>E.SdkRequestWrapper(e)&&"type"in e&&e.type==="wrapper"},StreamingResponse:{Json:e=>E.JsonStreamChunk(e)&&"type"in e&&e.type==="json",Text:e=>E.TextStreamChunk(e)&&"type"in e&&e.type==="text",Sse:e=>E.SseStreamChunk(e)&&"type"in e&&e.type==="sse"},Transport:{Http:e=>b(e)&&"type"in e&&e.type==="http",Grpc:e=>E.GrpcTransport(e)&&"type"in e&&e.type==="grpc"},ApiDefinitionSource:{Proto:e=>E.ProtoSource(e)&&"type"in e&&e.type==="proto",Openapi:e=>b(e)&&"type"in e&&e.type==="openapi"},ApiVersionScheme:{Header:e=>b(e)&&"type"in e&&e.type==="header"},ErrorDiscriminationStrategy:{StatusCode:e=>b(e)&&"type"in e&&e.type==="statusCode",Property:e=>b(e)&&"type"in e&&e.type==="property"},ProtobufType:{WellKnown:e=>b(e)&&"type"in e&&e.type==="wellKnown",UserDefined:e=>E.UserDefinedProtobufType(e)&&"type"in e&&e.type==="userDefined"},WellKnownProtobufType:{Any:e=>b(e)&&"type"in e&&e.type==="any",Api:e=>b(e)&&"type"in e&&e.type==="api",BoolValue:e=>b(e)&&"type"in e&&e.type==="boolValue",BytesValue:e=>b(e)&&"type"in e&&e.type==="bytesValue",DoubleValue:e=>b(e)&&"type"in e&&e.type==="doubleValue",Duration:e=>b(e)&&"type"in e&&e.type==="duration",Empty:e=>b(e)&&"type"in e&&e.type==="empty",Enum:e=>b(e)&&"type"in e&&e.type==="enum",EnumValue:e=>b(e)&&"type"in e&&e.type==="enumValue",Field:e=>b(e)&&"type"in e&&e.type==="field",FieldCardinality:e=>b(e)&&"type"in e&&e.type==="fieldCardinality",FieldKind:e=>b(e)&&"type"in e&&e.type==="fieldKind",FieldMask:e=>b(e)&&"type"in e&&e.type==="fieldMask",FloatValue:e=>b(e)&&"type"in e&&e.type==="floatValue",Int32Value:e=>b(e)&&"type"in e&&e.type==="int32Value",Int64Value:e=>b(e)&&"type"in e&&e.type==="int64Value",ListValue:e=>b(e)&&"type"in e&&e.type==="listValue",Method:e=>b(e)&&"type"in e&&e.type==="method",Mixin:e=>b(e)&&"type"in e&&e.type==="mixin",NullValue:e=>b(e)&&"type"in e&&e.type==="nullValue",Option:e=>b(e)&&"type"in e&&e.type==="option",SourceContext:e=>b(e)&&"type"in e&&e.type==="sourceContext",StringValue:e=>b(e)&&"type"in e&&e.type==="stringValue",Struct:e=>b(e)&&"type"in e&&e.type==="struct",Syntax:e=>b(e)&&"type"in e&&e.type==="syntax",Timestamp:e=>b(e)&&"type"in e&&e.type==="timestamp",Type:e=>b(e)&&"type"in e&&e.type==="type",Uint32Value:e=>b(e)&&"type"in e&&e.type==="uint32Value",Uint64Value:e=>b(e)&&"type"in e&&e.type==="uint64Value",Value:e=>b(e)&&"type"in e&&e.type==="value"},PublishTarget:{Postman:e=>b(e)&&"type"in e&&e.type==="postman",Npm:e=>b(e)&&"type"in e&&e.type==="npm",Maven:e=>b(e)&&"type"in e&&e.type==="maven",Pypi:e=>b(e)&&"type"in e&&e.type==="pypi"},PublishingConfig:{Github:e=>b(e)&&"type"in e&&e.type==="github",Direct:e=>b(e)&&"type"in e&&e.type==="direct",Filesystem:e=>E.Filesystem(e)&&"type"in e&&e.type==="filesystem"},ContainerType:{List:e=>b(e)&&"type"in e&&e.type==="list",Map:e=>E.MapType(e)&&"type"in e&&e.type==="map",Nullable:e=>b(e)&&"type"in e&&e.type==="nullable",Optional:e=>b(e)&&"type"in e&&e.type==="optional",Set:e=>b(e)&&"type"in e&&e.type==="set",Literal:e=>b(e)&&"type"in e&&e.type==="literal"},ExampleContainer:{List:e=>E.ExampleListContainer(e)&&"type"in e&&e.type==="list",Set:e=>E.ExampleSetContainer(e)&&"type"in e&&e.type==="set",Optional:e=>E.ExampleOptionalContainer(e)&&"type"in e&&e.type==="optional",Nullable:e=>E.ExampleNullableContainer(e)&&"type"in e&&e.type==="nullable",Map:e=>E.ExampleMapContainer(e)&&"type"in e&&e.type==="map",Literal:e=>E.ExampleLiteralContainer(e)&&"type"in e&&e.type==="literal"},ExamplePrimitive:{Integer:e=>b(e)&&"type"in e&&e.type==="integer",Long:e=>b(e)&&"type"in e&&e.type==="long",Uint:e=>b(e)&&"type"in e&&e.type==="uint",Uint64:e=>b(e)&&"type"in e&&e.type==="uint64",Float:e=>b(e)&&"type"in e&&e.type==="float",Double:e=>b(e)&&"type"in e&&e.type==="double",Boolean:e=>b(e)&&"type"in e&&e.type==="boolean",String:e=>b(e)&&"type"in e&&e.type==="string",Date_:e=>b(e)&&"type"in e&&e.type==="date",Datetime:e=>E.ExampleDatetime(e)&&"type"in e&&e.type==="datetime",Uuid:e=>b(e)&&"type"in e&&e.type==="uuid",Base64:e=>b(e)&&"type"in e&&e.type==="base64",BigInteger:e=>b(e)&&"type"in e&&e.type==="bigInteger"},ExampleSingleUnionTypeProperties:{SamePropertiesAsObject:e=>E.ExampleObjectTypeWithTypeId(e)&&"type"in e&&e.type==="samePropertiesAsObject",SingleProperty:e=>E.ExampleTypeReference(e)&&"type"in e&&e.type==="singleProperty",NoProperties:e=>b(e)&&"type"in e&&e.type==="noProperties"},ExampleTypeReferenceShape:{Primitive:e=>b(e)&&"type"in e&&e.type==="primitive",Container:e=>b(e)&&"type"in e&&e.type==="container",Unknown:e=>b(e)&&"type"in e&&e.type==="unknown",Named:e=>E.ExampleNamedType(e)&&"type"in e&&e.type==="named"},ExampleTypeShape:{Alias:e=>E.ExampleAliasType(e)&&"type"in e&&e.type==="alias",Enum:e=>E.ExampleEnumType(e)&&"type"in e&&e.type==="enum",Object_:e=>E.ExampleObjectType(e)&&"type"in e&&e.type==="object",Union:e=>E.ExampleUnionType(e)&&"type"in e&&e.type==="union",UndiscriminatedUnion:e=>E.ExampleUndiscriminatedUnionType(e)&&"type"in e&&e.type==="undiscriminatedUnion"},Literal:{String:e=>b(e)&&"type"in e&&e.type==="string",Boolean:e=>b(e)&&"type"in e&&e.type==="boolean"},NamedTypeDefault:{Enum:e=>E.EnumValue(e)&&"type"in e&&e.type==="enum"},PrimitiveTypeV2:{Integer:e=>E.IntegerType(e)&&"type"in e&&e.type==="integer",Long:e=>E.LongType(e)&&"type"in e&&e.type==="long",Uint:e=>E.UintType(e)&&"type"in e&&e.type==="uint",Uint64:e=>E.Uint64Type(e)&&"type"in e&&e.type==="uint64",Float:e=>E.FloatType(e)&&"type"in e&&e.type==="float",Double:e=>E.DoubleType(e)&&"type"in e&&e.type==="double",Boolean:e=>E.BooleanType(e)&&"type"in e&&e.type==="boolean",String:e=>E.StringType(e)&&"type"in e&&e.type==="string",Date_:e=>E.DateType(e)&&"type"in e&&e.type==="date",DateTime:e=>E.DateTimeType(e)&&"type"in e&&e.type==="dateTime",Uuid:e=>E.UuidType(e)&&"type"in e&&e.type==="uuid",Base64:e=>E.Base64Type(e)&&"type"in e&&e.type==="base64",BigInteger:e=>E.BigIntegerType(e)&&"type"in e&&e.type==="bigInteger"},ResolvedTypeReference:{Container:e=>b(e)&&"type"in e&&e.type==="container",Named:e=>E.ResolvedNamedType(e)&&"type"in e&&e.type==="named",Primitive:e=>b(e)&&"type"in e&&e.type==="primitive",Unknown:e=>b(e)&&"type"in e&&e.type==="unknown"},Source:{Proto:e=>b(e)&&"type"in e&&e.type==="proto"},Type:{Alias:e=>E.AliasTypeDeclaration(e)&&"type"in e&&e.type==="alias",Enum:e=>E.EnumTypeDeclaration(e)&&"type"in e&&e.type==="enum",Object_:e=>E.ObjectTypeDeclaration(e)&&"type"in e&&e.type==="object",Union:e=>E.UnionTypeDeclaration(e)&&"type"in e&&e.type==="union",UndiscriminatedUnion:e=>E.UndiscriminatedUnionTypeDeclaration(e)&&"type"in e&&e.type==="undiscriminatedUnion"},TypeReference:{Container:e=>b(e)&&"type"in e&&e.type==="container",Named:e=>E.NamedType(e)&&"type"in e&&e.type==="named",Primitive:e=>b(e)&&"type"in e&&e.type==="primitive",Unknown:e=>b(e)&&"type"in e&&e.type==="unknown"},WebhookPayload:{InlinedPayload:e=>E.InlinedWebhookPayload(e)&&"type"in e&&e.type==="inlinedPayload",Reference:e=>E.WebhookPayloadReference(e)&&"type"in e&&e.type==="reference"},ExampleWebSocketMessageBody:{InlinedBody:e=>E.ExampleInlinedRequestBody(e)&&"type"in e&&e.type==="inlinedBody",Reference:e=>E.ExampleTypeReference(e)&&"type"in e&&e.type==="reference"},WebSocketMessageBody:{InlinedBody:e=>E.InlinedWebSocketMessageBody(e)&&"type"in e&&e.type==="inlinedBody",Reference:e=>E.WebSocketMessageBodyReference(e)&&"type"in e&&e.type==="reference"}};var ry=/^[+-]?\d{4}-(0?[1-9]|1[0-2])-(0?[1-9]|[12]\d|3[01])$/,iy=/^([+-]?\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)?)?)$/,v={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=>v.object(e)&&"jsonPath"in e&&"name"in e&&"node"in e,Explicit:e=>v.Provenance(e)&&e.explicit===!0,NonNullable:e=>e!=null,isIsoDateString:e=>v.string(e)&&ry.test(e),isIsoDateTimeString:e=>v.string(e)&&iy.test(e),Type:e=>e instanceof Jr,ClassReference:e=>e instanceof _e,Optional:e=>e instanceof We,OptionalWrapper:e=>e instanceof Kr,AsyncEnumerable:e=>e!=null&&e.asNonOptional().fullyQualifiedName.startsWith("System.Collections.Generic.IAsyncEnumerable"),Record:{empty:e=>e==null||Object.keys(e||{}).length===0,nonEmpty:e=>v.object(e)&&Object.keys(e).length>0,withKey:(e,t)=>v.object(e)&&t in e,missingKey:(e,t)=>v.object(e)&&!(t in e)},Ast:{Node:e=>e instanceof W,NamedNode:e=>v.Ast.Node(e)&&"name"in e&&typeof e.name=="string"},OneOf:{OneOf:e=>v.ClassReference(e)&&e.fullyQualifiedName==="OneOf.OneOf",OneOfBase:e=>v.ClassReference(e)&&e.fullyQualifiedName==="OneOf.OneOfBase"},Primitive:{string:e=>e instanceof te.String,boolean:e=>e instanceof te.Boolean,int:e=>e instanceof te.Integer,long:e=>e instanceof te.Long,uint:e=>e instanceof te.Uint,ulong:e=>e instanceof te.ULong,float:e=>e instanceof te.Float,double:e=>e instanceof te.Double,object:e=>e instanceof te.Object},Value:{dateTime:e=>e instanceof Ue.DateTime,uuid:e=>e instanceof Ue.Uuid,byte:e=>e instanceof Ue.Binary,stringEnum:e=>e instanceof Ue.StringEnum},Collection:{array:e=>e instanceof we.Array,listType:e=>e instanceof we.ListType,list:e=>e instanceof we.List,set:e=>e instanceof we.Set,map:e=>e instanceof we.Map,idictionary:e=>e instanceof we.IDictionary,keyValuePair:e=>e instanceof we.KeyValuePair},Literal:{string:e=>e instanceof J.String,boolean:e=>e instanceof J.Boolean,decimal:e=>e instanceof J.Decimal,double:e=>e instanceof J.Double,date:e=>e instanceof J.Date,dateTime:e=>e instanceof J.DateTime,float:e=>e instanceof J.Float,int:e=>e instanceof J.Integer,long:e=>e instanceof J.Long,uint:e=>e instanceof J.Uint,ulong:e=>e instanceof J.Ulong,class:e=>e instanceof J.Class_,list:e=>e instanceof J.List,set:e=>e instanceof J.Set,dictionary:e=>e instanceof J.Dictionary,nop:e=>e instanceof J.Nop,null:e=>e instanceof J.Null,unknown:e=>e instanceof J.Unknown},IR:E,DynamicIR:Y};n();a();s();var Dt=class extends W{constructor(r,i){super(i);y(this,"arg");this.arg=r}write(r){return new Ke(this.arg).write(r)}};var Ut=class extends W{constructor(r,i){super(i);y(this,"statements",[])}write(r){for(let i of this.statements){if(v.string(i)){r.writeStatement(i);continue}if(i instanceof Dt){i.write(r);continue}r.writeStatement(...i)}}append(r){this.statements.push(r)}assign(r,i){return v.Ast.NamedNode(i)?this.statements.push([`${r.name} = ${i.name}`]):this.statements.push([r.name," = ",i]),this}if(r,i){}};n();a();s();var Qr=class extends W{constructor({classReference:r,arguments_:i,forceUseConstructor:o,properties:c,multiline:l},x){super(x);y(this,"classReference");y(this,"arguments_");y(this,"forceUseConstructor");y(this,"properties");y(this,"multiline");this.classReference=r,this.arguments_=i,this.forceUseConstructor=o??!1,this.properties=c??[],this.multiline=l??!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=mu(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)=>{qa(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 Yr=class extends W{constructor({keyType:r,valueType:i,values:o},c){super(c);y(this,"keyType");y(this,"valueType");y(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 Xr=class extends W{constructor({reference:r,value:i},o){super(o);y(this,"reference");y(this,"value");this.reference=r,this.value=i}write(r){r.writeNode(this.reference),r.write(`.${this.value}`)}};n();a();s();var Ne=class extends W{constructor(r,i){super(i);y(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),l=this.csharp.Literal.integer(i.getUTCDate());r.write(this.System.DateOnly.new({arguments_:[o,c,l]}));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"),l=r.getUTCHours().toString().padStart(2,"0"),x=r.getUTCMinutes().toString().padStart(2,"0"),w=r.getUTCSeconds().toString().padStart(2,"0"),I=r.getUTCMilliseconds().toString().padStart(3,"0");return`new DateTime(${i}, ${o}, ${c}, ${l}, ${x}, ${w}, ${I})`}};n();a();s();var Zr=class extends W{constructor({itemType:r,entries:i},o){super(o);y(this,"itemType");y(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 ei=class extends W{constructor({method:r,arguments_:i,on:o,async:c,configureAwait:l,generics:x,multiline:w,isAsyncEnumerable:I},A){super(A);y(this,"arguments");y(this,"method");y(this,"on");y(this,"async");y(this,"isAsyncEnumerable");y(this,"configureAwait");y(this,"generics");y(this,"multiline");this.method=r,this.arguments=i,this.on=o,this.async=c??!1,this.configureAwait=l??!1,this.generics=x??[],this.multiline=w??!1,this.isAsyncEnumerable=I??!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 ti=class extends W{constructor({itemType:r,entries:i},o){super(o);y(this,"itemType");y(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 ri=class extends W{constructor({itemType:r,entries:i},o){super(o);y(this,"itemType");y(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 ny={"\\":"\\\\",'"':'\\"',"\n":"\\n","\r":"\\r"," ":"\\t","\0":"\\0","\f":"\\f","\b":"\\b","\v":"\\v","\x07":"\\a"},sy=/[\\\"\n\r\t\0\f\u0007\u0008\v\u0001-\u0006\u000E-\u001F\u007F-\u009F]/g;function Rm(e){return e.replace(sy,t=>{let r=ny[t];return r!==void 0?r:`\\u${t.charCodeAt(0).toString(16).padStart(4,"0")}`})}var ii=class extends W{constructor(r,i){super(i);y(this,"string");this.string=r.string}write(r){r.write(`"${Rm(this.string)}"`)}};n();a();s();n();a();s();n();a();s();var se;(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"})(se||(se={}));function Om(e){return e.type===se.Tag||e.type===se.Script||e.type===se.Style}var ay=se.Root,oy=se.Text,uy=se.Directive,cy=se.Comment,py=se.Script,ly=se.Style,fy=se.Tag,my=se.CDATA,dy=se.Doctype;n();a();s();var ao=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 _m(this,t)}},An=class extends ao{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}},ni=class extends An{constructor(){super(...arguments),this.type=se.Text}get nodeType(){return 3}},Nn=class extends An{constructor(){super(...arguments),this.type=se.Comment}get nodeType(){return 8}},Rn=class extends An{constructor(t,r){super(r),this.name=t,this.type=se.Directive}get nodeType(){return 1}},On=class extends ao{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}},Pn=class extends On{constructor(){super(...arguments),this.type=se.CDATA}get nodeType(){return 4}},si=class extends On{constructor(){super(...arguments),this.type=se.Root}get nodeType(){return 9}},Cn=class extends On{constructor(t,r,i=[],o=t==="script"?se.Script:t==="style"?se.Style:se.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 rt(e){return Om(e)}function Du(e){return e.type===se.CDATA}function ir(e){return e.type===se.Text}function Uu(e){return e.type===se.Comment}function hy(e){return e.type===se.Directive}function Cm(e){return e.type===se.Root}function _m(e,t=!1){let r;if(ir(e))r=new ni(e.data);else if(Uu(e))r=new Nn(e.data);else if(rt(e)){let i=t?Bu(e.children):[],o=new Cn(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(Du(e)){let i=t?Bu(e.children):[],o=new Pn(i);i.forEach(c=>c.parent=o),r=o}else if(Cm(e)){let i=t?Bu(e.children):[],o=new si(i);i.forEach(c=>c.parent=o),e["x-mode"]&&(o["x-mode"]=e["x-mode"]),r=o}else if(hy(e)){let i=new Rn(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 Bu(e){let t=e.map(r=>_m(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 km={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},ai=class{constructor(t,r,i){this.dom=[],this.root=new si(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof r=="function"&&(i=r,r=km),typeof t=="object"&&(r=t,t=void 0),this.callback=t??null,this.options=r??km,this.elementCB=i??null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new si(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?se.Tag:void 0,o=new Cn(t,r,void 0,i);this.addNode(o),this.tagStack.push(o)}ontext(t){let{lastNode:r}=this;if(r&&r.type===se.Text)r.data+=t,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{let i=new ni(t);this.addNode(i),this.lastNode=i}}oncomment(t){if(this.lastNode&&this.lastNode.type===se.Comment){this.lastNode.data+=t;return}let r=new Nn(t);this.addNode(r),this.lastNode=r}oncommentend(){this.lastNode=null}oncdatastart(){let t=new ni(""),r=new Pn([t]);this.addNode(r),t.parent=r,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,r){let i=new Rn(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 oo=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 uo=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));n();a();s();var Mu,yy=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]]),oi=(Mu=String.fromCodePoint)!==null&&Mu!==void 0?Mu: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 vu(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=yy.get(e))!==null&&t!==void 0?t:e}var Ee;(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"})(Ee||(Ee={}));var gy=32,Mt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Mt||(Mt={}));function Vu(e){return e>=Ee.ZERO&&e<=Ee.NINE}function by(e){return e>=Ee.UPPER_A&&e<=Ee.UPPER_F||e>=Ee.LOWER_A&&e<=Ee.LOWER_F}function xy(e){return e>=Ee.UPPER_A&&e<=Ee.UPPER_Z||e>=Ee.LOWER_A&&e<=Ee.LOWER_Z||Vu(e)}function Sy(e){return e===Ee.EQUALS||xy(e)}var Te;(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"})(Te||(Te={}));var Me;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Me||(Me={}));var ui=class{constructor(t,r,i){this.decodeTree=t,this.emitCodePoint=r,this.errors=i,this.state=Te.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Me.Strict}startEntity(t){this.decodeMode=t,this.state=Te.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case Te.EntityStart:return t.charCodeAt(r)===Ee.NUM?(this.state=Te.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=Te.NamedEntity,this.stateNamedEntity(t,r));case Te.NumericStart:return this.stateNumericStart(t,r);case Te.NumericDecimal:return this.stateNumericDecimal(t,r);case Te.NumericHex:return this.stateNumericHex(t,r);case Te.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|gy)===Ee.LOWER_X?(this.state=Te.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=Te.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(Vu(o)||by(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(Vu(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===Ee.SEMI)this.consumed+=1;else if(this.decodeMode===Me.Strict)return 0;return this.emitCodePoint(vu(this.result),this.consumed),this.errors&&(t!==Ee.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){let{decodeTree:i}=this,o=i[this.treeIndex],c=(o&Mt.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){let l=t.charCodeAt(r);if(this.treeIndex=wy(i,o,this.treeIndex+Math.max(1,c),l),this.treeIndex<0)return this.result===0||this.decodeMode===Me.Attribute&&(c===0||Sy(l))?0:this.emitNotTerminatedNamedEntity();if(o=i[this.treeIndex],c=(o&Mt.VALUE_LENGTH)>>14,c!==0){if(l===Ee.SEMI)return this.emitNamedEntityData(this.treeIndex,c,this.consumed+this.excess);this.decodeMode!==Me.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]&Mt.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]&~Mt.VALUE_LENGTH:o[t+1],i),r===3&&this.emitCodePoint(o[t+2],i),i}end(){var t;switch(this.state){case Te.NamedEntity:return this.result!==0&&(this.decodeMode!==Me.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Te.NumericDecimal:return this.emitNumericEntity(0,2);case Te.NumericHex:return this.emitNumericEntity(0,3);case Te.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Te.EntityStart:return 0}}};function Fm(e){let t="",r=new ui(e,i=>t+=oi(i));return function(o,c){let l=0,x=0;for(;(x=o.indexOf("&",x))>=0;){t+=o.slice(l,x),r.startEntity(c);let I=r.write(o,x+1);if(I<0){l=x+r.end();break}l=x+I,x=I===0?l+1:l}let w=t+o.slice(l);return t="",w}}function wy(e,t,r,i){let o=(t&Mt.BRANCH_LENGTH)>>7,c=t&Mt.JUMP_TABLE;if(o===0)return c!==0&&i===c?r:-1;if(c){let w=i-c;return w<0||w>=o?-1:e[r+w]-1}let l=r,x=l+o-1;for(;l<=x;){let w=l+x>>>1,I=e[w];if(I<i)l=w+1;else if(I>i)x=w-1;else return e[w+o]}return-1}var bZ=Fm(oo),xZ=Fm(uo);var q;(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"})(q||(q={}));var k;(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"})(k||(k={}));function ht(e){return e===q.Space||e===q.NewLine||e===q.Tab||e===q.FormFeed||e===q.CarriageReturn}function co(e){return e===q.Slash||e===q.Gt||ht(e)}function Ty(e){return e>=q.LowerA&&e<=q.LowerZ||e>=q.UpperA&&e<=q.UpperZ}var $e;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})($e||($e={}));var Re={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])},ci=class{constructor({xmlMode:t=!1,decodeEntities:r=!0},i){this.cbs=i,this.state=k.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=k.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 ui(t?uo:oo,(o,c)=>this.emitCodePoint(o,c))}reset(){this.state=k.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=k.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===q.Lt||!this.decodeEntities&&this.fastForwardTo(q.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=k.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===q.Amp&&this.startEntity()}stateSpecialStartSequence(t){let r=this.sequenceIndex===this.currentSequence.length;if(!(r?co(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=k.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===q.Gt||ht(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===Re.TitleEnd?this.decodeEntities&&t===q.Amp&&this.startEntity():this.fastForwardTo(q.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===q.Lt)}stateCDATASequence(t){t===Re.Cdata[this.sequenceIndex]?++this.sequenceIndex===Re.Cdata.length&&(this.state=k.InCommentLike,this.currentSequence=Re.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=k.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===Re.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=k.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?!co(t):Ty(t)}startSpecial(t,r){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=r,this.state=k.SpecialStartSequence}stateBeforeTagName(t){if(t===q.ExclamationMark)this.state=k.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===q.Questionmark)this.state=k.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){let r=t|32;this.sectionStart=this.index,this.xmlMode?this.state=k.InTagName:r===Re.ScriptEnd[2]?this.state=k.BeforeSpecialS:r===Re.TitleEnd[2]?this.state=k.BeforeSpecialT:this.state=k.InTagName}else t===q.Slash?this.state=k.BeforeClosingTagName:(this.state=k.Text,this.stateText(t))}stateInTagName(t){co(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=k.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){ht(t)||(t===q.Gt?this.state=k.Text:(this.state=this.isTagStartChar(t)?k.InClosingTagName:k.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===q.Gt||ht(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=k.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===q.Gt||this.fastForwardTo(q.Gt))&&(this.state=k.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===q.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=k.InSpecialTag,this.sequenceIndex=0):this.state=k.Text,this.sectionStart=this.index+1):t===q.Slash?this.state=k.InSelfClosingTag:ht(t)||(this.state=k.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===q.Gt?(this.cbs.onselfclosingtag(this.index),this.state=k.Text,this.sectionStart=this.index+1,this.isSpecial=!1):ht(t)||(this.state=k.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===q.Eq||co(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=k.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===q.Eq?this.state=k.BeforeAttributeValue:t===q.Slash||t===q.Gt?(this.cbs.onattribend($e.NoValue,this.sectionStart),this.sectionStart=-1,this.state=k.BeforeAttributeName,this.stateBeforeAttributeName(t)):ht(t)||(this.cbs.onattribend($e.NoValue,this.sectionStart),this.state=k.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===q.DoubleQuote?(this.state=k.InAttributeValueDq,this.sectionStart=this.index+1):t===q.SingleQuote?(this.state=k.InAttributeValueSq,this.sectionStart=this.index+1):ht(t)||(this.sectionStart=this.index,this.state=k.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===q.DoubleQuote?$e.Double:$e.Single,this.index+1),this.state=k.BeforeAttributeName):this.decodeEntities&&t===q.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,q.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,q.SingleQuote)}stateInAttributeValueNoQuotes(t){ht(t)||t===q.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend($e.Unquoted,this.index),this.state=k.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===q.Amp&&this.startEntity()}stateBeforeDeclaration(t){t===q.OpeningSquareBracket?(this.state=k.CDATASequence,this.sequenceIndex=0):this.state=t===q.Dash?k.BeforeComment:k.InDeclaration}stateInDeclaration(t){(t===q.Gt||this.fastForwardTo(q.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=k.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===q.Gt||this.fastForwardTo(q.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=k.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===q.Dash?(this.state=k.InCommentLike,this.currentSequence=Re.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=k.InDeclaration}stateInSpecialComment(t){(t===q.Gt||this.fastForwardTo(q.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=k.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){let r=t|32;r===Re.ScriptEnd[3]?this.startSpecial(Re.ScriptEnd,4):r===Re.StyleEnd[3]?this.startSpecial(Re.StyleEnd,4):(this.state=k.InTagName,this.stateInTagName(t))}stateBeforeSpecialT(t){let r=t|32;r===Re.TitleEnd[3]?this.startSpecial(Re.TitleEnd,4):r===Re.TextareaEnd[3]?this.startSpecial(Re.TextareaEnd,4):(this.state=k.InTagName,this.stateInTagName(t))}startEntity(){this.baseState=this.state,this.state=k.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Me.Strict:this.baseState===k.Text||this.baseState===k.InSpecialTag?Me.Legacy:Me.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===k.Text||this.state===k.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===k.InAttributeValueDq||this.state===k.InAttributeValueSq||this.state===k.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 k.Text:{this.stateText(t);break}case k.SpecialStartSequence:{this.stateSpecialStartSequence(t);break}case k.InSpecialTag:{this.stateInSpecialTag(t);break}case k.CDATASequence:{this.stateCDATASequence(t);break}case k.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(t);break}case k.InAttributeName:{this.stateInAttributeName(t);break}case k.InCommentLike:{this.stateInCommentLike(t);break}case k.InSpecialComment:{this.stateInSpecialComment(t);break}case k.BeforeAttributeName:{this.stateBeforeAttributeName(t);break}case k.InTagName:{this.stateInTagName(t);break}case k.InClosingTagName:{this.stateInClosingTagName(t);break}case k.BeforeTagName:{this.stateBeforeTagName(t);break}case k.AfterAttributeName:{this.stateAfterAttributeName(t);break}case k.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(t);break}case k.BeforeAttributeValue:{this.stateBeforeAttributeValue(t);break}case k.BeforeClosingTagName:{this.stateBeforeClosingTagName(t);break}case k.AfterClosingTagName:{this.stateAfterClosingTagName(t);break}case k.BeforeSpecialS:{this.stateBeforeSpecialS(t);break}case k.BeforeSpecialT:{this.stateBeforeSpecialT(t);break}case k.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(t);break}case k.InSelfClosingTag:{this.stateInSelfClosingTag(t);break}case k.InDeclaration:{this.stateInDeclaration(t);break}case k.BeforeDeclaration:{this.stateBeforeDeclaration(t);break}case k.BeforeComment:{this.stateBeforeComment(t);break}case k.InProcessingInstruction:{this.stateInProcessingInstruction(t);break}case k.InEntity:{this.stateInEntity();break}}this.index++}this.cleanup()}finish(){this.state===k.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===k.InCommentLike?this.currentSequence===Re.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===k.InTagName||this.state===k.BeforeAttributeName||this.state===k.BeforeAttributeValue||this.state===k.AfterAttributeName||this.state===k.InAttributeName||this.state===k.InAttributeValueSq||this.state===k.InAttributeValueDq||this.state===k.InAttributeValueNq||this.state===k.InClosingTagName||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,r){this.baseState!==k.Text&&this.baseState!==k.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 pi=new Set(["input","option","optgroup","select","button","datalist","textarea"]),pe=new Set(["p"]),Lm=new Set(["thead","tbody"]),jm=new Set(["dd","dt"]),Bm=new Set(["rt","rp"]),Ey=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",pe],["h1",pe],["h2",pe],["h3",pe],["h4",pe],["h5",pe],["h6",pe],["select",pi],["input",pi],["output",pi],["button",pi],["datalist",pi],["textarea",pi],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",jm],["dt",jm],["address",pe],["article",pe],["aside",pe],["blockquote",pe],["details",pe],["div",pe],["dl",pe],["fieldset",pe],["figcaption",pe],["figure",pe],["footer",pe],["form",pe],["header",pe],["hr",pe],["main",pe],["nav",pe],["ol",pe],["pre",pe],["section",pe],["table",pe],["ul",pe],["rt",Bm],["rp",Bm],["tbody",Lm],["tfoot",Lm]]),Iy=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Dm=new Set(["math","svg"]),Um=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),Ay=/\s|\//,_n=class{constructor(t,r={}){var i,o,c,l,x,w;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((l=r.Tokenizer)!==null&&l!==void 0?l:ci)(this.options,this),this.foreignContext=[!this.htmlMode],(w=(x=this.cbs).onparserinit)===null||w===void 0||w.call(x,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,oi(t)),this.startIndex=r}isVoidElement(t){return this.htmlMode&&Iy.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 l=this.htmlMode&&Ey.get(t);if(l)for(;this.stack.length>0&&l.has(this.stack[0]);){let x=this.stack.shift();(i=(r=this.cbs).onclosetag)===null||i===void 0||i.call(r,x,!0)}this.isVoidElement(t)||(this.stack.unshift(t),this.htmlMode&&(Dm.has(t)?this.foreignContext.unshift(!0):Um.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,l,x,w,I,A;this.endIndex=r;let P=this.getSlice(t,r);if(this.lowerCaseTagNames&&(P=P.toLowerCase()),this.htmlMode&&(Dm.has(P)||Um.has(P))&&this.foreignContext.shift(),this.isVoidElement(P))this.htmlMode&&P==="br"&&((l=(c=this.cbs).onopentagname)===null||l===void 0||l.call(c,"br"),(w=(x=this.cbs).onopentag)===null||w===void 0||w.call(x,"br",{},!0),(A=(I=this.cbs).onclosetag)===null||A===void 0||A.call(I,"br",!1));else{let L=this.stack.indexOf(P);if(L!==-1)for(let R=0;R<=L;R++){let j=this.stack.shift();(o=(i=this.cbs).onclosetag)===null||o===void 0||o.call(i,j,R!==L)}else this.htmlMode&&P==="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+=oi(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===$e.Double?'"':t===$e.Single?"'":t===$e.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(Ay),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,l,x;this.endIndex=r,(c=(o=this.cbs).oncomment)===null||c===void 0||c.call(o,this.getSlice(t,r-i)),(x=(l=this.cbs).oncommentend)===null||x===void 0||x.call(l),this.startIndex=r+1}oncdata(t,r,i){var o,c,l,x,w,I,A,P,L,R;this.endIndex=r;let j=this.getSlice(t,r-i);!this.htmlMode||this.options.recognizeCDATA?((c=(o=this.cbs).oncdatastart)===null||c===void 0||c.call(o),(x=(l=this.cbs).ontext)===null||x===void 0||x.call(l,j),(I=(w=this.cbs).oncdataend)===null||I===void 0||I.call(w)):((P=(A=this.cbs).oncomment)===null||P===void 0||P.call(A,`[CDATA[${j}]]`),(R=(L=this.cbs).oncommentend)===null||R===void 0||R.call(L)),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 po(e){for(let t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}var Ny=new Map(po([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(po([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(po([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(po([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]]));n();a();s();var Ry=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),Oy=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 zu(e,t){return function(i){let o,c=0,l="";for(;o=e.exec(i);)c!==o.index&&(l+=i.substring(c,o.index)),l+=t.get(o[0].charCodeAt(0)),c=o.index+1;return l+i.substring(c)}}var Mm=zu(/[&<>'"]/g,Ry),qu=zu(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Gu=zu(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var vm;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(vm||(vm={}));var Vm;(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"})(Vm||(Vm={}));n();a();s();var Cy=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])),_y=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 Wm;(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"})(Wm||(Wm={}));n();a();s();function $m(e,t){let r=new ai(void 0,t);return new _n(r,t).end(e),r.root}var vt=class vt{constructor(t){y(this,"writer");y(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(`
|
|
29
|
+
`).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,(w,I)=>vt.SAFE_XML_DOC_TAGS.has(I.toLowerCase())?`\uE000${c.push(w)-1}\uE000`:w).replaceAll("<","<").replaceAll(">",">").replace(/\uE000(\d+)\uE000/g,(w,I)=>c[parseInt(I,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 vt.CONVERTIBLE_HTML_TAGS.has(c)||vt.SAFE_XML_DOC_TAGS.has(c)?i:i.replaceAll("<","<").replaceAll(">",">")}),t=t.replace(/<(?=[a-zA-Z])(?![^>]*>)/g,"<");let r=$m(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 ir(t)?t.data:rt(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&&rt(t.parent)?t.parent.name.toLowerCase():void 0)==="pre"?`<code>${i}</code>`:`<c>${i}</c>`;case"pre":{let o=t.children.filter(c=>!ir(c)||c.data.trim()!=="");return o.length===1&&o[0]!=null&&rt(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(vt.SAFE_XML_DOC_TAGS.has(r)){let o=Object.entries(t.attribs).map(([c,l])=>` ${c}="${l}"`).join("");return t.children.length===0?`<${t.name}${o}/>`:`<${t.name}${o}>${i}</${t.name}>`}return i}}}decodeHtmlEntities(t){let r={"+":"+","−":"-","×":"\xD7","÷":"\xF7"," ":" ","…":"\u2026","·":"\xB7","©":"\xA9","®":"\xAE","™":"\u2122","°":"\xB0","±":"\xB1","¼":"\xBC","½":"\xBD","¾":"\xBE","–":"\u2013","—":"\u2014","‘":"\u2018","’":"\u2019","“":"\u201C","”":"\u201D","•":"\u2022","€":"\u20AC","£":"\xA3","¥":"\xA5","¢":"\xA2","§":"\xA7","¶":"\xB6","†":"\u2020","‡":"\u2021","‰":"\u2030","‹":"\u2039","›":"\u203A","♠":"\u2660","♣":"\u2663","♥":"\u2665","♦":"\u2666","←":"\u2190","↑":"\u2191","→":"\u2192","↓":"\u2193","↔":"\u2194","↵":"\u21B5","⇐":"\u21D0","⇑":"\u21D1","⇒":"\u21D2","⇓":"\u21D3","⇔":"\u21D4","∀":"\u2200","∂":"\u2202","∃":"\u2203","∅":"\u2205","∇":"\u2207","∈":"\u2208","∉":"\u2209","∋":"\u220B","∏":"\u220F","∑":"\u2211","∗":"\u2217","√":"\u221A","∝":"\u221D","∞":"\u221E","∠":"\u2220","∧":"\u2227","∨":"\u2228","∩":"\u2229","∪":"\u222A","∫":"\u222B","∴":"\u2234","∼":"\u223C","≅":"\u2245","≈":"\u2248","≠":"\u2260","≡":"\u2261","≤":"\u2264","≥":"\u2265","⊂":"\u2282","⊃":"\u2283","⊄":"\u2284","⊆":"\u2286","⊇":"\u2287","⊕":"\u2295","⊗":"\u2297","⊥":"\u22A5","⋅":"\u22C5","Α":"\u0391","Β":"\u0392","Γ":"\u0393","Δ":"\u0394","Ε":"\u0395","Ζ":"\u0396","Η":"\u0397","Θ":"\u0398","Ι":"\u0399","Κ":"\u039A","Λ":"\u039B","Μ":"\u039C","Ν":"\u039D","Ξ":"\u039E","Ο":"\u039F","Π":"\u03A0","Ρ":"\u03A1","Σ":"\u03A3","Τ":"\u03A4","Υ":"\u03A5","Φ":"\u03A6","Χ":"\u03A7","Ψ":"\u03A8","Ω":"\u03A9","α":"\u03B1","β":"\u03B2","γ":"\u03B3","δ":"\u03B4","ε":"\u03B5","ζ":"\u03B6","η":"\u03B7","θ":"\u03B8","ι":"\u03B9","κ":"\u03BA","λ":"\u03BB","μ":"\u03BC","ν":"\u03BD","ξ":"\u03BE","ο":"\u03BF","π":"\u03C0","ρ":"\u03C1","ς":"\u03C2","σ":"\u03C3","τ":"\u03C4","υ":"\u03C5","φ":"\u03C6","χ":"\u03C7","ψ":"\u03C8","ω":"\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}};y(vt,"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"])),y(vt,"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 li=vt;n();a();s();var ge={Public:"public",Private:"private",Protected:"protected",Internal:"internal"};n();a();s();var fi=class extends W{constructor(r,i){super(i);y(this,"conditions");this.conditions=r.conditions}write(r){this.conditions.forEach((i,o)=>{o>0&&r.write(" && "),r.writeNode(i)})}};n();a();s();var yt=class extends W{constructor(r,i){super(i);y(this,"reference");y(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 mi=class extends W{constructor(r,i){super(i);y(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 di=class{constructor(t){y(this,"isAsync");y(this,"parameters");y(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 hi=class extends W{constructor(r,i){super(i);y(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 Ye=class extends W{constructor({name:r,type:i,docs:o,initializer:c,ref:l,out:x},w){super(w);y(this,"name");y(this,"docs");y(this,"initializer");y(this,"type");y(this,"ref");y(this,"out");this.name=r,this.type=i,this.docs=o,this.initializer=c,this.ref=l??!1,this.out=x??!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 yi=class extends W{constructor({condition:r,cases:i},o){super(o);y(this,"condition");y(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 gi=class extends W{constructor(r,i){super(i);y(this,"args");this.args=r}write(r){return new $i(this.args).write(r)}};n();a();s();var Vt=class extends W{constructor(r,i){super(i);y(this,"arg");this.arg=r}write(r){if(this.arg==null)return;let i=r instanceof Qe?new li(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 bi=class extends Ot{constructor({name:r,type:i,access:o,const_:c,new_:l,get:x,init:w,set:I,annotations:A,initializer:P,summary:L,doc:R,jsonPropertyName:j,readonly:M,static_:D,useRequired:G,skipDefaultInitializer:Q,interfaceReference:oe,accessors:X,override:K,useExpressionBody:C,isEvent:U,origin:re,enclosingType:He},Ni){super({enclosingType:He},re,Ni);y(this,"name");y(this,"access");y(this,"type");y(this,"const_");y(this,"static_");y(this,"get");y(this,"init");y(this,"set");y(this,"new_");y(this,"annotations");y(this,"initializer");y(this,"doc");y(this,"jsonPropertyName");y(this,"readonly");y(this,"useRequired");y(this,"skipDefaultInitializer");y(this,"interfaceReference");y(this,"accessors");y(this,"override");y(this,"useExpressionBody");y(this,"isEvent_");if(!He)throw new Error("Enclosing type is required");r=r||(re?this.model.getPropertyNameFor(re):de("Field name or origin is required")),this.name=(He instanceof _e?He:He.reference).registerField(r,re,this),this.type=i,this.const_=c??!1,this.new_=l??!1,this.access=o,this.get=x??!!X?.get,this.set=I??!!X?.set,this.init=w??!!X?.init,this.annotations=(A??[]).map(Ri=>Ri instanceof _e?this.csharp.annotation({reference:Ri}):Ri),this.initializer=P,this.doc=this.csharp.xmlDocBlockOf(R??{summary:L}),this.jsonPropertyName=j,this.readonly=M,this.static_=D??!1,this.useRequired=G??!1,this.skipDefaultInitializer=Q??!1,this.interfaceReference=oe,this.accessors=X,this.override=K??!1,this.useExpressionBody=C,this.isEvent_=U??!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 l of this.annotations)l.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===ge.Public||this.access===ge.Protected)&&(this.init===!0||this.init===ge.Public||this.init===ge.Protected)?(r.writeLine(),r.writeNoIndent(`#if NET5_0_OR_GREATER
|
|
30
30
|
`),this.hasSameAccess(this.init)||r.write(`${this.init} `),r.writeTextStatement("init"),r.writeNoIndent(`#else
|
|
31
31
|
`),r.writeTextStatement("set"),r.writeNoIndent(`#endif
|
|
32
|
-
`)):(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?v.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 Xe;(function(e){e[e.INSTANCE=0]="INSTANCE",e[e.STATIC=1]="STATIC"})(Xe||(Xe={}));var zt=class e extends Rt{constructor({name:r,isAsync:i,override:o,access:c,return_:l,body:x,noBody:w,bodyType:I,summary:A,doc:P,type:L,classReference:R,parameters:j,typeParameters:M,annotations:D,codeExample:G,interfaceReference:Q,origin:oe,enclosingType:X},K){super({enclosingType:X},oe,K);y(this,"name");y(this,"isAsync");y(this,"access");y(this,"return");y(this,"noBody");y(this,"body");y(this,"bodyType");y(this,"summary");y(this,"doc");y(this,"type");y(this,"reference");y(this,"override");y(this,"parameters");y(this,"typeParameters");y(this,"annotations");y(this,"interfaceReference");this.name=r,this.isAsync=i??!1,this.override=o??!1,this.access=c,this.return=l,this.noBody=w??!1,this.body=x,this.bodyType=I??e.BodyType.Statement,this.summary=A,this.doc=this.csharp.xmlDocBlockOf(P??{summary:A,codeExample:G}),this.type=L??Xe.INSTANCE,this.reference=R,this.parameters=j??[],this.typeParameters=M??[],this.annotations=(D??[]).map(C=>C instanceof _e?this.csharp.annotation({reference:C}):C),this.interfaceReference=Q}get isAsyncEnumerable(){return v.AsyncEnumerable(this.return)}addParameter(r){return r instanceof Ye||(r=new Ye(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===Xe.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:ue(this.bodyType)}}getParameters(){return this.parameters}};(function(e){e.BodyType={Statement:"statement",Expression:"expression"}})(zt||(zt={}));var bi=class extends Be{constructor({name:r,namespace:i,access:o,partial:c,interfaceReferences:l,enclosingType:x,origin:w},I){super(w,I);y(this,"access");y(this,"partial");y(this,"reference");y(this,"interfaceReferences");y(this,"fields",[]);y(this,"methods",[]);r=r||(w?this.model.getClassNameFor(w):de("Class/Interface name or origin is required")),this.reference=x?this.csharp.classReference({name:r,enclosingType:x}):this.csharp.classReference({name:r,namespace:i||de("Class/Interface: Namespace or enclosingType is required ")}),this.access=o,this.partial=c??!1,this.interfaceReferences=l??[]}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(v.Provenance(this.origin)?this.origin.node:this.origin,r):de(`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 gi(r,this.generation);return this.fields.push(i),i}addMethod(r){r.enclosingType=this.reference;let i=new zt(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 We(this,this.generation)}asNullable(){return new rr(this,this.generation)}asNonOptional(){return this}get defaultValue(){return this.csharp.Literal.null()}get fullyQualifiedName(){return this.reference.fullyQualifiedName}};var ve=class ve extends bi{constructor({name:r,namespace:i,access:o,static_:c,abstract_:l,sealed:x,partial:w,readonly:I,parentClassReference:A,interfaceReferences:P,enclosingType:L,type:R,summary:j,doc:M,annotations:D,primaryConstructor:G,skipNamespaceDeclaration:Q,origin:oe},X){super({name:r,namespace:i,access:o,partial:w,interfaceReferences:P,enclosingType:L,origin:oe},X);y(this,"static_");y(this,"abstract_");y(this,"sealed");y(this,"readonly");y(this,"parentClassReference");y(this,"type");y(this,"summary");y(this,"doc");y(this,"annotations",[]);y(this,"primaryConstructor");y(this,"namespaceReferences",[]);y(this,"skipNamespaceDeclaration");y(this,"constructors",[]);y(this,"operators",[]);y(this,"nestedClasses",[]);y(this,"nestedInterfaces",[]);y(this,"rawBodyBlocks",[]);this.skipNamespaceDeclaration=Q??!1,this.static_=c??!1,this.abstract_=l??!1,this.sealed=x??!1,this.readonly=I??!1,this.type=R??ve.ClassType.Class,this.summary=j,this.doc=this.csharp.xmlDocBlockOf(M??{summary:j}),this.parentClassReference=A,this.annotations=(D??[]).map(K=>K instanceof _e?this.csharp.annotation({reference:K}):K),this.primaryConstructor=G}addConstructor(r){let i=new ve.Constructor(r,this.generation);return this.constructors.push(i),i}addNestedClass(r){if(r instanceof ve||(r.enclosingType=this.reference,r=new ve(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 ve?this.addNestedClass(i):this.addNestedClass(i)})}addAnnotation(r){return r instanceof ht||(r=new ht(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&&!this.skipNamespaceDeclaration&&(r.writeLine(`namespace ${this.namespace};`),r.newLine()),r.writeNode(this.doc),this.annotations.forEach(i=>{i.write(r)}),this.skipNamespaceDeclaration||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(xi).sort($u).filter(this.fieldConstFilter())})}writeFieldFields(r){this.writeFields({writer:r,fields:this.getFields().sort(xi).sort($u).filter(this.fieldFieldFilter())})}writeProperties(r){this.writeFields({writer:r,fields:this.getFields().sort(xi).sort($u).filter(this.fieldPropertyFilter())})}writeMethods(r){this.methods.sort(xi).sort(Fy).sort(ky).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(xi).forEach((i,o)=>{i.write(r),r.writeNewLineIfLastLineNot(),o<this.fields.length-1&&r.newLine()})}writeNestedInterfaces(r){this.nestedInterfaces.sort(xi).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===ve.ClassType.Class||this.type===ve.ClassType.Record}writeOperator({writer:r,operator:i}){if(r.write("public static "),i.type===ve.CastOperator.Type.Explicit||i.type===ve.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,l)=>{c.write(r),l<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)}};y(ve,"ClassType",{Class:"class",Record:"record",Struct:"struct",RecordStruct:"record struct"}),y(ve,"Access",ge);var it=ve;(function(e){class t{constructor({doc:o,body:c,parameters:l,access:x,baseConstructorCall:w,annotations:I},A){y(this,"generation");y(this,"doc");y(this,"body");y(this,"parameters");y(this,"access");y(this,"baseConstructorCall");y(this,"annotations");this.generation=A,this.parameters=l??[],this.access=x??ge.Public,this.doc=o,this.annotations=I??[],this.body=new Ut({},this.generation),c!=null&&this.body.append(c),this.baseConstructorCall=w}addParameter(o){let c=new Ye(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={}))})(it||(it={}));function $m(e){switch(e){case void 0:return 0;case ge.Private:return 1;case ge.Protected:return 2;case ge.Internal:return 3;case ge.Public:return 4}}function xi(e,t){return $m(e.access)-$m(t.access)}function $u(e,t){return e.isStatic===t.isStatic?0:e.isStatic?-1:1}function ky(e,t){return e.type===Xe.STATIC&&t.type!==Xe.STATIC?-1:e.type!==Xe.STATIC&&t.type===Xe.STATIC?1:0}function Fy(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();var Si=class extends Be{constructor({name:r,namespace:i,access:o,annotations:c,origin:l},x){super(l,x);y(this,"access");y(this,"reference");y(this,"annotations");y(this,"fields",[]);y(this,"generateSerializer",!1);y(this,"serializerClassReference");this.reference=this.csharp.classReference({name:r,namespace:i,origin:l}),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(zi(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(zi(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 wi=class extends bi{constructor({name:t,namespace:r,access:i,partial:o,interfaceReferences:c,enclosingType:l,origin:x},w){super({name:t,namespace:r,access:i,partial:o,interfaceReferences:c,enclosingType:l,origin:x},w)}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 Ti=class extends Be{constructor({name:r,namespace:i,parentClassReference:o,origin:c},l){super(c,l);y(this,"reference");y(this,"parentClassReference");y(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 it({access:ge.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:ge.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 Hu={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 Ly=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 jy=new Set(["from","where","select","orderby","groupby","into","let","join","on","equals"]),By=new Set(["async","await"]),Dy=new Set(["yield"]),Uy=new Set(["var","dynamic"]),My=new Set(["using","alias"]);var vy=new Set(["required","scoped","unmanaged","managed"]),Vy=new Set(["when","and","or","not"]),zy=new Set(["Equals","GetHashCode","ToString","GetType","MemberwiseClone","Finalize"]),qy=new Set([...Ly,...jy,...By,...Dy,...Uy,...My,...vy,...Vy]),lo=class{constructor(t,r,i){y(this,"registry");y(this,"name");y(this,"jsonPath");this.registry=t,this.name=r,this.jsonPath=i}};var fo=class{constructor(t){y(this,"scope");y(this,"byName",new Map);y(this,"byPath",new Map);y(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)&&de(`set: ${t.name} in ${this.scope.fullyQualifiedName} already exists`),t.jsonPath&&this.byPath.has(t.jsonPath)&&de(`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)&&de(`redirect: ${t} in ${this.scope.fullyQualifiedName} already has a redirect`),this.redirections.set(t,r)}},Ju=class extends lo{constructor(r,i,o,c){super(r,i);y(this,"namespace");y(this,"fullyQualifiedName");y(this,"fields");y(this,"methods");this.namespace=o,this.fullyQualifiedName=c,this.fields=new fo(this),this.methods=new fo(this)}isKeyword(r){return qy.has(r)}isBuiltinMemberName(r){return zy.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 w=this.fields.getByJsonPath(c);if(w)return w.name}let l=this.fields.getByName(r);if(l&&c===l.jsonPath)return r;switch(this.nameBlocked(r)){case"field":i&&v.Provenance(i)&&i.explicit||de(`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 mo(this.registry,r,this,c,o)),this.registry.setFieldNameShortcut(c,r),r}let x=this.getAlternativeName(r);return this.fields.set(new mo(this.registry,x,this,c,o)),this.fields.redirect(r,x),this.registry.setFieldNameShortcut(c,x),x}getFieldName(r,i){let o=this.getFieldByJsonPath(this.registry.model.jsonPath(r))?.name;if(o)return o;if(v.Provenance(r)){let x=this.getRedirectedFieldName(i);if(x)return x;let w=this.getFieldByName(i);return w?this.registry.model.provenance(w.jsonPath)?.explicit?i:`${i}_`:i}let c=this.getFieldByName(i);if(c)return this.registry.model.provenance(c.jsonPath)?.explicit?i:c.name;let l=this.getRedirectedFieldName(i);if(l)return l;this.isMethod(i)}},Ku=class extends lo{constructor(r,i,o,c){super(r,i,c);y(this,"scope");this.scope=o}},mo=class extends Ku{constructor(r,i,o,c,l){super(r,i,o,c);y(this,"field");this.field=l}};var Ii=class e{constructor(t){y(this,"generation");y(this,"classReferenceByJsonPath",new Map);y(this,"typeRegistry",new Map);y(this,"namespaceRegistry",new Map);y(this,"typeNames",new Map);y(this,"namespaceNames",new Map);y(this,"implicitNamespaces",new Set);y(this,"shortcuts",new Map);y(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(Hu))t.split(".").forEach(i=>this.knownBuiltInIdentifiers.add(i)),r.forEach(i=>this.knownBuiltInIdentifiers.add(i));for(let[t,r]of Object.entries(Hu)){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&&de(`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:l,origin:x}=t;if(x){let w=this.model.jsonPath(x)??de(`JsonPath not found for origin: ${JSON.stringify(x).substring(0,100)}`);this.classReferenceByJsonPath.set(w,t)}if(r&&r!==l&&!this.typeRegistry.has(r)&&this.typeRegistry.set(r,t),!this.typeRegistry.has(l)){this.typeRegistry.set(l,t);for(let w of this.allNamespacesOf(o))this.registerNamespace(w,w);c||this.trackTypeName(i,o);for(let w of[this.generation.namespaces.root,...this.implicitNamespaces])if(o.startsWith(w)){let I=o.split(".")[w.split(".").length];I&&this.trackTypeName(I,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:l}=t,x=this.model.jsonPath(l),w=(x?this.classReferenceByJsonPath.get(x):void 0)??this.typeRegistry.get(r),I=this.model.jsonPath(w?.origin),A=I&&x?I===x?"match":"mismatch":"no origin";if(w&&A!=="mismatch")return new _e({name:w.name,namespace:w.namespace,enclosingType:w.enclosingType,fullyQualifiedName:w.fullyQualifiedName,namespaceAlias:t.namespaceAlias,fullyQualified:t.fullyQualified,generics:t.generics,global:t.global,origin:w.origin??l,isCollection:w.isCollection,isReferenceType:w.isReferenceType,multipartMethodName:w.multipartMethodName,multipartMethodNameForCollection:w.multipartMethodNameForCollection},w.scope,this.generation);let P=!1,L=this.resolveNamespace(o);L!==o&&(o=L,P=!0);let R;e:for(;;){R=e.fullyQualifiedNameOf({name:i,namespace:o,enclosingType:c});let j="",M=o.split(".");for(let D=0;D<M.length;D++)if(j=j?`${j}.${M[D]}`:`${M[D]}`,this.typeRegistry.has(j)){M[D]=`${M[D]}_`,o=M.join("."),P=!0;continue e}if(P&&this.registerNamespace(t.namespace,o),A==="mismatch"&&w?.name===i){i=`${i}_`,P=!0;continue e}if(this.namespaceRegistry.has(R)){i=`${i}_`,P=!0;continue e}if(this.typeRegistry.has(R)){i=`${i}_`,P=!0;continue e}if(c){let D=R.replaceAll("+",".");if(this.typeRegistry.has(D)){i=`${i}_`,P=!0;continue e}if(this.namespaceRegistry.has(D)){i=`${i}_`,P=!0;continue e}}else{let D=R.split(".");for(let G=1;G<D.length;G++){let Q=D.slice(0,G).join(".")+"+"+D.slice(G).join("+");if(this.typeRegistry.has(Q)){i=`${i}_`,P=!0;continue e}}}break}return this.trackType(new _e({name:i,namespace:o,enclosingType:c,namespaceAlias:t.namespaceAlias,fullyQualified:t.fullyQualified,generics:t.generics,global:t.global,fullyQualifiedName:R,origin:l,isCollection:t.isCollection,isReferenceType:t.isReferenceType,multipartMethodName:t.multipartMethodName,multipartMethodNameForCollection:t.multipartMethodNameForCollection},new Ju(this,i,o,R),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 l=this.namespaceRegistry.get(c);if(l!==void 0){let x=i.slice(o).join("."),w=`${l}.${x}`;return this.registerNamespace(t,w),w}}}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="",l=o.split(".");for(let x=0;x<l.length;x++)if(c=c?`${c}.${l[x]}`:`${l[x]}`,this.typeRegistry.has(c)){l[x]=`${l[x]}_`,o=l.join("."),i=!0;continue e}break}return i&&this.registerNamespace(t,o),o}};var ho=class{constructor(t){y(this,"generation");y(this,"frozen",!1);y(this,"extraClassReferences",new Map);y(this,"InstantiatedPrimitive",{string:t=>new Ne({type:"string",value:t},this.generation),boolean:t=>new Ne({type:"boolean",value:t},this.generation),integer:t=>new Ne({type:"integer",value:t},this.generation),long:t=>new Ne({type:"long",value:t},this.generation),uint:t=>new Ne({type:"uint",value:t},this.generation),ulong:t=>new Ne({type:"ulong",value:t},this.generation),float:t=>new Ne({type:"float",value:t},this.generation),double:t=>new Ne({type:"double",value:t},this.generation),date:t=>new Ne({type:"date",value:t},this.generation),dateTime:(t,r=!0)=>new Ne({type:"dateTime",value:t,parse:r},this.generation),uuid:t=>new Ne({type:"uuid",value:t},this.generation),null:()=>new Ne({type:"null"},this.generation)});y(this,"Literal",{class_:({reference:t,fields:r})=>new J.Class_(t,r,this.generation),dictionary:({keyType:t,valueType:r,entries:i})=>new J.Dictionary(t,r,i,this.generation),list:({valueType:t,values:r})=>new J.List(t,r,this.generation),set:({valueType:t,values:r})=>new J.Set(t,r,this.generation),boolean:t=>new J.Boolean(t,this.generation),float:t=>new J.Float(t,this.generation),date:t=>new J.Date(t,this.generation),datetime:t=>new J.DateTime(t,this.generation),decimal:t=>new J.Decimal(t,this.generation),double:t=>new J.Double(t,this.generation),integer:t=>new J.Integer(t,this.generation),long:t=>new J.Long(t,this.generation),uint:t=>new J.Uint(t,this.generation),ulong:t=>new J.Ulong(t,this.generation),reference:t=>new J.Reference(t,this.generation),string:t=>new J.String(t,this.generation),null:()=>new J.Null(this.generation),nop:()=>new J.Nop(this.generation),unknown:t=>new J.Unknown(t,this.generation)});y(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&&t.namespace!==t.enclosingType.namespace)throw new Error("ClassReference: Both enclosingType and namespace cannot be provided");t.namespace=t.enclosingType.namespace}let r=Ii.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
|
-
${Li()}`)}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 it(r,this.generation)}testClass(t){return new Ti(t,this.generation)}annotation(t){return new ht(t,this.generation)}annotationGroup(t){return new fi(t,this.generation)}instantiateClass(t){return new Kr(t,this.generation)}invokeMethod(t){return new Zr(t,this.generation)}codeblock(t){return new Dt(t,this.generation)}code(){return new Ut({},this.generation)}anonymousFunction(t){return new mi(t)}parameter(t){return new Ye(t,this.generation)}interface_(t){return new wi(t,this.generation)}enum_(t){return new Si(t,this.generation)}dictionary(t){return new Qr(t,this.generation)}list(t){return new Xr(t,this.generation)}readOnlyMemory(t){return new ei(t,this.generation)}set(t){return new ti(t,this.generation)}switch_(t){return new hi(t,this.generation)}ternary(t){return new yi(t,this.generation)}and(t){return new li(t,this.generation)}or(t){return new di(t,this.generation)}enumInstantiation(t){return new Yr(t,this.generation)}string_(t){return new ri(t,this.generation)}xmlDocBlock(t){return new Vt(t,this.generation)}xmlDocBlockOf(t){return t instanceof Vt?t:new Vt(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 $(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 yo=class{constructor(t){y(this,"generation");y(this,"System",$({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:()=>$({Serialization:()=>$({EnumMember:()=>this.csharp.classReference({name:"EnumMemberAttribute",namespace:"System.Runtime.Serialization"})})}),Collections:()=>$({Generic:()=>$({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:()=>$({Enumerable:()=>this.csharp.classReference({name:"Enumerable",namespace:"System.Linq"})})}),Globalization:()=>$({DateTimeStyles:()=>this.csharp.classReference({name:"DateTimeStyles",namespace:"System.Globalization"})}),Linq:()=>$({Enumerable:()=>this.csharp.classReference({name:"Enumerable",namespace:"System.Linq"})}),Net:()=>$({Http:()=>$({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:()=>$({SseEvent:()=>this.csharp.classReference({name:"SseEvent",namespace:"System.Net.ServerSentEvents"}),SseParser:()=>this.csharp.classReference({name:"SseParser",namespace:"System.Net.ServerSentEvents"})}),WebSockets:()=>$({ClientWebSocketOptions:()=>this.csharp.classReference({name:"ClientWebSocketOptions",namespace:"System.Net.WebSockets"})})}),IO:()=>$({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:()=>$({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:()=>$({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:()=>$({JsonNode:()=>this.csharp.classReference({name:"JsonNode",namespace:"System.Text.Json.Nodes"}),JsonObject:()=>this.csharp.classReference({name:"JsonObject",namespace:"System.Text.Json.Nodes"})}),Serialization:()=>$({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:()=>$({CancellationToken:()=>this.csharp.classReference({name:"CancellationToken",namespace:"System.Threading"}),Tasks:()=>$({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:()=>$({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"})}));y(this,"NUnit",$({Framework:()=>$({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"})})}));y(this,"OneOf",$({OneOf:t=>this.csharp.classReference({name:"OneOf",namespace:"OneOf",generics:t}),OneOfBase:t=>this.csharp.classReference({name:"OneOfBase",namespace:"OneOf",generics:t})}));y(this,"Google",$({Protobuf:()=>$({ByteString:()=>this.csharp.classReference({name:"ByteString",namespace:"Google.Protobuf"}),WellKnownTypes:()=>$({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"})})})}));y(this,"WireMock",$({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"})}));y(this,"Grpc",$({Core:()=>$({RpcException:()=>this.csharp.classReference({name:"RpcException",namespace:"Grpc.Core"})})}));this.generation=t}get csharp(){return this.generation.csharp}};n();a();s();var Qu=new Set(["name","camelCase","snakeCase","screamingSnakeCase","pascalCase"]);function Gy(e,t){return Qu.has(t)?e??"":e?`${e}.${t}`:t}var go=class{constructor(t,r){y(this,"generation");y(this,"indexByObject",new Map);y(this,"indexByPath",new Map);y(this,"explicitByObject",new Map);y(this,"explicitByPath",new Map);y(this,"root");y(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=Gy(i?.jsonPath,r);if(this.indexByPath.has(o)){i||de(`Parent provenance not found for node: ${JSON.stringify(t).substring(0,100)}`),this.indexByObject.set(t,i);let l=Qu.has(r);for(let[x,w]of Object.entries(t))typeof w=="object"&&w!==null&&(l&&Qu.has(x)?this.indexByObject.set(w,i):this.createIndex(w,x,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[l,x]of Object.entries(t))typeof x=="object"&&x!==null&&this.createIndex(x,l,c);return c}staticExplicit(t){return this.explicit(this.ir,t)}explicit(t,r){let i=this.provenance(t)??de(`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 v.string(t)?this.explicitByPath.get(t)??this.indexByPath.get(t):v.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=v.IR.ExampleEnumType(r)?r.value:r,o=t.values.find(c=>this.nameEquals(c.name,i));return o?this.getPropertyNameFor(o):de(`Unexpected - can't find enum value ${JSON.stringify(i)} in enum`)}getPropertyNameFor(t){let r=this.registry.getFieldNameByOrigin(t);if(r)return r;if(v.Provenance(t))return t.name;if("name"in t){if(v.IR.NameAndWireValue(t.name))return this.generation.case.pascalSafe(t.name);if(v.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(v.Provenance(t))return t.name;if("name"in t){if(v.IR.TypeDeclaration(t))return this.generation.case.pascalSafe(t.name.name);if(v.IR.NameAndWireValue(t.name))return this.generation.case.pascalSafe(t.name);if(v.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=v.string(t)?t:v.IR.NamedType(t)||v.IR.DeclaredTypeName(t)?t.typeId:v.IR.ExampleNamedType(t)?t.typeName.typeId:t.name.typeId,i=this.irNode(this.ir.types[r]);if(v.IR.TypeDeclaration(i))return{typeId:r,typeDeclaration:i};de(`dereferenceType: typeId ${r} not resolved.`)}};function bo(...e){return e.filter(Boolean).join("/")}var _n=class{constructor(t,r,i,o,c={makeRelativeFilePath:l=>l,makeAbsoluteFilePath:l=>l,getNamespaceForTypeId:l=>"",getDirectoryForTypeId:l=>"",getCoreAsIsFiles:()=>[],getCoreTestAsIsFiles:()=>[],getPublicCoreAsIsFiles:()=>[],getAsyncCoreAsIsFiles:()=>[],getChildNamespaceSegments:l=>[]}){y(this,"intermediateRepresentation");y(this,"apiName");y(this,"customConfig");y(this,"generatorConfig");y(this,"support");y(this,"ir");y(this,"dir");y(this,"csharp",new ho(this));y(this,"registry",new Ii(this));y(this,"model");y(this,"case");y(this,"extern",new yo(this));y(this,"settings",$({namespace:()=>this.customConfig.namespace??ro(io(`${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,enableInlineTypes:()=>this.customConfig["enable-inline-types"]??!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"]??"",usePageIndexSemantics:()=>this.customConfig["offset-semantics"]==="page-index",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"?ge.Internal:ge.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??"."}}}));y(this,"constants",{folders:$({mockServerTests:()=>this.support.makeRelativeFilePath("Unit/MockServer"),types:()=>"Types",exceptions:()=>"Exceptions",src:()=>"src",protobuf:()=>"proto",serializationTests:()=>this.support.makeRelativeFilePath("Unit/Serialization"),project:()=>this.support.makeRelativeFilePath(bo(this.constants.folders.sourceFiles,this.support.makeRelativeFilePath(this.names.files.project))),sourceFiles:()=>this.support.makeRelativeFilePath(this.constants.folders.src),coreFiles:()=>this.support.makeRelativeFilePath(bo(this.constants.folders.project,this.support.makeRelativeFilePath(this.constants.defaults.core))),publicCoreFiles:()=>this.support.makeRelativeFilePath(bo(this.constants.folders.project,this.support.makeRelativeFilePath(this.constants.defaults.core),this.support.makeRelativeFilePath(this.constants.defaults.publicCore))),testFiles:()=>this.support.makeRelativeFilePath(bo(this.constants.folders.sourceFiles,this.support.makeRelativeFilePath(this.names.files.testProject)))}),formatting:$({indent:()=>" "}),defaults:$({core:()=>"Core",publicCore:()=>"Public",version:()=>"0.0.0"})});y(this,"namespaces",$({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"])}));y(this,"names",{classes:$({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:$({client:()=>ro(io(`${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:$({project:()=>this.namespaces.root,testProject:()=>`${this.namespaces.root}.Test`}),methods:$({mockOauth:()=>"MockOAuthEndpoint",mockInferredAuth:()=>"MockInferredAuthEndpoint",getAccessTokenAsync:()=>"GetAccessTokenAsync",getAuthHeadersAsync:()=>"GetAuthHeadersAsync"}),variables:$({client:()=>"client",response:()=>"response",httpRequest:()=>"httpRequest",sendRequest:()=>"sendRequest",responseBody:()=>"responseBody",query:()=>"_query",headers:()=>"_headers"}),parameters:$({cancellationToken:()=>"cancellationToken",requestOptions:()=>"options",idempotentOptions:()=>"options"})});y(this,"Types",$({Arbitrary:t=>new te.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:l})=>this.csharp.classReference({origin:this.model.staticExplicit("OffsetPager"),namespace:this.namespaces.core,generics:[t,r,i,o,c,l]}),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})}));y(this,"Primitive",$({string:()=>new te.String(this),boolean:()=>new te.Boolean(this),integer:()=>new te.Integer(this),long:()=>new te.Long(this),uint:()=>new te.Uint(this),ulong:()=>new te.ULong(this),float:()=>new te.Float(this),double:()=>new te.Double(this),object:()=>new te.Object(this)}));y(this,"Value",$({binary:()=>new Ue.Binary(this),dateOnly:()=>new Ue.DateOnly(this),dateTime:()=>new Ue.DateTime(this),uuid:()=>new Ue.Uuid(this),stringEnum:t=>new Ue.StringEnum(t,this)}));y(this,"Collection",$({array:t=>new we.Array(t,this),listType:t=>new we.ListType(t,this),list:t=>new we.List(t,this),set:t=>new we.Set(t,this),map:(t,r,i)=>new we.Map(t,r,this,i),idictionary:(t,r,i)=>new we.IDictionary(t,r,this,i),keyValuePair:(t,r)=>new we.KeyValuePair(t,r,this)}));y(this,"format",$({private:t=>`_${no.camelCase(t)}`}));y(this,"initializers",$({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 l=v.IR.IntermediateRepresentation(t)?t.casingsConfig:void 0;this.case=new qi({generationLanguage:"csharp",keywords:l?.keywords,smartCasing:l?.smartCasing??!0}),this.model=new go(t,this),this.ir=v.IR.IntermediateRepresentation(t)?t:{},this.dir=v.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 Ze=class{constructor(t){y(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 xo=class extends Ze{constructor({context:r}){super(r.generation);y(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:ee.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:ue(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,l)=>{this.context.errors.scope({index:l});try{return this.convert({typeReference:r,value:c})}finally{this.context.errors.unscope()}})}):(this.context.errors.add({severity:ee.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:ue(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,l)=>{this.context.errors.scope({index:l});try{return this.convert({typeReference:r,value:c})}finally{this.context.errors.unscope()}})}):(this.context.errors.add({severity:ee.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:ee.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,l])=>{this.context.errors.scope(c);try{return{key:this.convert({typeReference:r.key,value:c,as:"key"}),value:this.convert({typeReference:r.value,value:l})}}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:ue(r)}}convertDiscriminatedUnion({discriminatedUnion:r,value:i,fallbackToDefault:o}){let c=this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),l=this.context.resolveDiscriminatedUnionTypeInstance({discriminatedUnion:r,value:i});if(l==null)return this.csharp.Literal.nop();let x=l.singleDiscriminatedUnionType,w=this.getBaseProperties({discriminatedUnionTypeInstance:l,singleDiscriminatedUnionType:x});switch(x.type){case"samePropertiesAsObject":{let I=this.context.resolveNamedType({typeId:x.typeId});return I==null?this.csharp.Literal.nop():this.instantiateUnionWithBaseProperties({classReference:c,baseProperties:w,arguments_:[this.convertNamed({named:I,value:l.value})]})}case"singleProperty":{if(this.context.getRecord(l.value)==null)return this.csharp.Literal.nop();try{let A=["Value","Type"].includes(x.discriminantValue.name.pascalCase.safeName)?`${x.discriminantValue.name.pascalCase.safeName}Inner`:x.discriminantValue.name.pascalCase.safeName;return this.context.errors.scope(x.discriminantValue.wireValue),this.instantiateUnionWithBaseProperties({classReference:c,baseProperties:w,arguments_:[this.csharp.instantiateClass({classReference:this.csharp.classReference({name:A,enclosingType:c}),arguments_:[this.convert({typeReference:x.typeReference,value:x.discriminantValue.wireValue})]})]})}finally{this.context.errors.unscope()}}case"noProperties":return this.instantiateUnionWithBaseProperties({classReference:c,baseProperties:w,arguments_:[this.csharp.instantiateClass({classReference:this.csharp.classReference({origin:l.discriminantValue,enclosingType:c}),arguments_:[]})]});default:ue(x)}}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(l=>{l.write(c," "),l.pushScope();for(let x of o)l.write(x.name," = ",x.assignment,",");l.popScope(!1)}))}getEnumValue(r,i){if(typeof i!="string")return this.context.errors.add({severity:ee.Critical,message:`Expected enum value string, got: ${typeof i}`}),this.csharp.Literal.nop();let o=r.values.find(x=>x.wireValue===i);if(o==null)return this.context.errors.add({severity:ee.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)}),l=c.registerField(this.model.getPropertyNameFor(o),o);return this.csharp.Literal.reference(this.csharp.enumInstantiation({reference:c,value:l}))}convertObject({object_:r,value:i,fallbackToDefault:o}){let c=this.context.getRecord(i)??{},x=this.context.associateByWireValue({parameters:r.properties,values:c}).map(I=>{this.context.errors.scope(I.name.wireValue);try{return{name:this.context.getClassName(I.name.name),value:this.convert(I)}}finally{this.context.errors.unscope()}}),w=new Set(Object.keys(c));for(let I of r.properties){let A=this.context.getClassName(I.name.name);if(w.has(I.name.wireValue)){if(this.isRequiredProperty(I.typeReference)){let P=x.find(L=>L.name===A);if(P!=null&&v.Literal.nop(P.value)){let L=this.getDefaultLiteralForType(I.typeReference);L!=null&&(P.value=L)}}continue}if(this.isRequiredProperty(I.typeReference)){let P=this.getDefaultLiteralForType(I.typeReference);P!=null&&x.push({name:A,value:P})}}return this.csharp.Literal.class_({reference:this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),fields:x})}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 l=[];for(let x of r.properties)if(this.isRequiredProperty(x.typeReference)){let w=this.getDefaultLiteralForType(x.typeReference,c);w!=null&&l.push({name:this.context.getClassName(x.name.name),value:w})}return c.delete(i),this.csharp.Literal.class_({reference:this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),fields:l})}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:ue(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 l=this.convert({typeReference:o,value:i});if(v.Literal.nop(l)||this.context.errors.size()>c){this.context.errors.truncate(c);continue}return{valueTypeReference:o,typeLiteral:l}}catch{this.context.errors.truncate(c);continue}}this.context.errors.add({severity:ee.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 l=this.getValueAsNumber({value:i,as:o});return l==null?c?this.Primitive.integer.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.integer(l)}case"LONG":{let l=this.getValueAsNumber({value:i,as:o});return l==null?c?this.Primitive.long.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.long(l)}case"UINT":{let l=this.getValueAsNumber({value:i,as:o});return l==null?c?this.Primitive.uint.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.uint(l)}case"UINT_64":{let l=this.getValueAsNumber({value:i,as:o});return l==null?c?this.Primitive.ulong.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.ulong(l)}case"FLOAT":{let l=this.getValueAsNumber({value:i,as:o});return l==null?c?this.Primitive.float.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.float(l)}case"DOUBLE":{let l=this.getValueAsNumber({value:i,as:o});return l==null?c?this.Primitive.double.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.double(l)}case"BOOLEAN":{let l=this.getValueAsBoolean({value:i,as:o});return l==null?c?this.Primitive.boolean.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.boolean(l)}case"STRING":{let l=this.context.getValueAsString({value:i});return l==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(l)}case"DATE":{let l=this.context.getValueAsString({value:i});return l==null?c?this.Value.dateOnly.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.date(l)}case"DATE_TIME":case"DATE_TIME_RFC_2822":{let l=this.context.getValueAsString({value:i});return l==null?c?this.Value.dateTime.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.datetime(l)}case"UUID":{let l=this.context.getValueAsString({value:i});return l==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(l)}case"BASE_64":{let l=this.context.getValueAsString({value:i});return l==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(l)}case"BIG_INTEGER":{let l=this.context.getValueAsString({value:i});return l==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(l)}default:ue(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 So=class extends Ze{constructor({context:r}){super(r.generation);y(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,typeId:r.typeReference.value})}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:ue(r.typeReference)}}convertToClassReference(r,i){return this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)})}convertNamed({named:r,typeId:i}){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.convertToClassReference(r,i);case"discriminatedUnion":return this.settings.shouldGeneratedDiscriminatedUnions?this.convertToClassReference(r,i):this.Primitive.object;case"undiscriminatedUnion":return this.settings.shouldGenerateUndiscriminatedUnions?this.convertToClassReference(r,i):this.OneOf.OneOf(r.types.map(o=>this.convert({typeReference:o})));default:ue(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:ue(r)}}};n();a();s();var wo=class extends Ze{constructor({context:r}){super(r.generation);y(this,"context");this.context=r}getFilePropertyInfo({body:r,value:i}){let o={fileFields:[],bodyPropertyFields:[]},c=this.context.getRecord(i)??{};for(let l of r.properties)switch(l.type){case"file":v.Record.missingKey(c,l.wireValue)&&(c[l.wireValue]="[bytes]"),o.fileFields.push({name:this.context.getPropertyName(l.name),value:this.getSingleFileProperty({property:l,record:c})});break;case"fileArray":v.Record.missingKey(c,l.wireValue)&&(c[l.wireValue]=["[bytes]"]),o.fileFields.push({name:this.context.getPropertyName(l.name),value:this.getArrayFileProperty({property:l,record:c})});break;case"bodyProperty":if(v.Record.missingKey(c,l.name.wireValue))switch(l.typeReference.type){case"optional":break;case"primitive":{switch(l.typeReference.value.toLowerCase()){case"integer":{c[l.name.wireValue]=123;break}case"string":{c[l.name.wireValue]="[string]";break}case"boolean":{c[l.name.wireValue]=!0;break}case"double":{c[l.name.wireValue]=123.456;break}case"float":{c[l.name.wireValue]=123.456;break}case"long":{c[l.name.wireValue]=123456789;break}case"uint":{c[l.name.wireValue]=123;break}case"uint64":{c[l.name.wireValue]=12345;break}case"date":{c[l.name.wireValue]=new Date(2021,1,1);break}case"datetime":{c[l.name.wireValue]=new Date(2021,1,1,12,0,0);break}case"uuid":{c[l.name.wireValue]="123e4567-e89b-12d3-a456-426614174000";break}case"base64":{c[l.name.wireValue]="SGVsbG8gd29ybGQh";break}case"biginteger":{c[l.name.wireValue]="12345678901234567890";break}}break}default:break}o.bodyPropertyFields.push({name:this.context.getPropertyName(l.name.name),value:this.getBodyProperty({property:l,record:c})});break;default:ue(l)}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 To=class e extends Qi{constructor({ir:r,config:i,options:o,generation:c}){super({ir:r,config:i,options:o});y(this,"ir");y(this,"dynamicTypeMapper");y(this,"dynamicLiteralMapper");y(this,"filePropertyMapper");y(this,"generation");this.ir=r,this.generation=c??new _n(r,i.workspaceName,i.customConfig!=null?i.customConfig:{},i),this.dynamicTypeMapper=new So({context:this}),this.dynamicLiteralMapper=new xo({context:this}),this.filePropertyMapper=new wo({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,i)});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 l of c)switch(l.request.type){case"inlined":this.csharp.classReference({origin:l.request.declaration.name,namespace:this.getNamespace(l.request.declaration.fernFilepath)});break;case"body":break}}this.generation.Types.ClientOptions,this.generation.Types.RootClientForSnippets,this.csharp.freezeClassReferences()}};n();a();s();var Eo=class extends Ze{constructor({context:r}){super(r.generation);y(this,"context");this.context=r}async generateSnippet({endpoint:r,request:i,options:o}){return this.buildCodeBlock({endpoint:r,snippet:i,options:o}).toString({namespace:"Examples",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:"Examples",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&&v.DynamicIR.EndpointExample(i)&&!r.examples.find(x=>x.id===i.id))throw new Error("Endpoint does not have an example that matches the snippet");let c=this.csharp.codeblock(x=>{x.writeNodeStatement(this.constructClient({endpoint:r,snippet:i})),x.newLine(),x.writeNodeStatement(this.callMethod({endpoint:r,snippet:i}))}),l=this.getStyle(o);switch(l){case Jt.Concise:return c;case Jt.Full:return this.buildFullCodeBlock({body:c,options:o});default:ue(l)}}buildFullCodeBlock({body:r,options:i}){let o=this.getConfig(i),c=o.fullStyleMethodName??o.fullStyleClassName??"Example",l=this.csharp.class_({name:"Examples",namespace:"Examples",partial:!0,skipNamespaceDeclaration:!0,access:Ei.Access.Public});return l.addNamespaceReference(this.Types.RootClientForSnippets.namespace),l.addMethod({name:c,access:Ei.Access.Public,isAsync:!0,parameters:[],body:r}),l}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(l=>{l.write("await foreach (var item in "),l.writeNode(c),l.writeLine(")"),l.pushScope(),l.writeLine("/* consume each item */"),l.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:ee.Warning,message:`Auth with ${r.auth.type} configuration is required for this endpoint`}));let c=[],l=this.getConstructorBaseUrlArgs({baseUrl:i.baseURL,environment:i.environment});l.length>0&&c.push(...l),this.context.errors.scope(tt.Headers);let x=[];if(this.context.ir.headers!=null&&i.headers!=null&&x.push(...this.getConstructorHeaderArgs({headers:this.context.ir.headers,values:i.headers})),this.context.errors.unscope(),this.settings.unifiedClientOptions){let w=[...o.map(I=>({name:Le(I.name),assignment:I.assignment})),...x.map(I=>({name:Le(I.name),assignment:I.assignment})),...c.map(I=>({name:I.name,assignment:I.assignment}))];return w.length===0?[]:[{name:"clientOptions",assignment:this.csharp.instantiateClass({classReference:this.Types.ClientOptions,arguments_:w,multiline:!0})}]}return c.length===0?[...o,...x]:[...o,...x,{name:"clientOptions",assignment:this.csharp.instantiateClass({classReference:this.Types.ClientOptions,arguments_:c.map(w=>({name:w.name,assignment:w.assignment})),multiline:!0})}]}getConstructorBaseUrlArgs({baseUrl:r,environment:i}){let o=this.getBaseUrlArg({baseUrl:r,environment:i});return v.Literal.nop(o)?[]:[{name:this.getBaseUrlOptionName(),assignment:o}]}getBaseUrlArg({baseUrl:r,environment:i}){if(r!=null&&i!=null)return this.context.errors.add({severity:ee.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:ee.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:ee.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:Le(cr(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:ue(r)}}addError(r){this.context.errors.add({severity:ee.Critical,message:r})}addWarning(r){this.context.errors.add({severity:ee.Warning,message:r})}getConstructorBasicAuthArg({auth:r,values:i}){let o=r,c=!!o.usernameOmit,l=!!o.passwordOmit,x=[];return c||x.push({name:this.context.getParameterName(r.username),assignment:this.csharp.Literal.string(i.username)}),l||x.push({name:this.context.getParameterName(r.password),assignment:this.csharp.Literal.string(i.password)}),x}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 l=c.name.wireValue,x=i.values?.[l];o.push({name:this.context.getParameterName(c.name.name),assignment:this.context.dynamicLiteralMapper.convert({typeReference:c.typeReference,value:x,fallbackToDefault:l})})}else this.context.errors.add({severity:ee.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 l=i[c.name.wireValue],x=this.getConstructorHeaderArg({header:c,value:l});x!=null&&o.push({name:this.context.getParameterName(c.name.name),assignment:x})}return o}getConstructorHeaderArg({header:r,value:i}){let o=this.context.dynamicLiteralMapper.convert({typeReference:r.typeReference,value:i,fallbackToDefault:r.name.wireValue});if(!v.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:ue(r.request)}}getMethodArgsForInlinedRequest({request:r,snippet:i}){let o=[];this.context.errors.scope(tt.PathParameters);let c=[],l=[...this.context.ir.pathParameters??[],...r.pathParameters??[]];l.length>0&&c.push(...this.getPathParameters({namedParameters:l,snippet:i})),this.context.errors.unscope(),this.context.errors.scope(tt.RequestBody);let x=this.getFilePropertyInfo({request:r,snippet:i});return this.context.errors.unscope(),this.context.includePathParametersInWrappedRequest({request:r,inlinePathParameters:this.settings.shouldInlinePathParameters})||o.push(...c.map(w=>w.value)),o.push(this.getInlinedRequestArg({request:r,snippet:i,pathParameterFields:this.context.includePathParametersInWrappedRequest({request:r,inlinePathParameters:this.settings.shouldInlinePathParameters})?c:[],filePropertyInfo:x})),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(tt.QueryParameters);let x=this.context.associateQueryParametersByWireValue({parameters:r.queryParameters??[],values:i.queryParameters??{}}).map(P=>({name:this.context.getPropertyName(P.name.name),value:this.context.dynamicLiteralMapper.convert(P)}));this.context.errors.unscope(),this.context.errors.scope(tt.Headers);let I=this.context.associateByWireValue({parameters:r.headers??[],values:i.headers??{}}).map(P=>({name:this.context.getPropertyName(P.name.name),value:this.context.dynamicLiteralMapper.convert({...P,fallbackToDefault:P.name.wireValue})}));this.context.errors.unscope(),this.context.errors.scope(tt.RequestBody);let A=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,...x,...I,...A]})}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:ue(r)}}getInlinedRequestBodyPropertyConstructorFields({parameters:r,value:i}){let o=[],c=this.context.associateByWireValue({parameters:r,values:this.context.getRecord(i)??{}});for(let l of c)o.push({name:this.context.getPropertyName(l.name.name),value:this.context.dynamicLiteralMapper.convert({...l,fallbackToDefault:l.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:ue(r)}}getMethodArgsForBodyRequest({request:r,snippet:i}){let o=[];this.context.errors.scope(tt.PathParameters);let c=[...this.context.ir.pathParameters??[],...r.pathParameters??[]];return c.length>0&&o.push(...this.getPathParameters({namedParameters:c,snippet:i}).map(l=>l.value)),this.context.errors.unscope(),this.context.errors.scope(tt.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:ue(r)}}getBytesBodyRequestArg({value:r}){let i=this.context.getValueAsString({value:r});return i==null&&(this.context.errors.add({severity:ee.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 l of c)o.push({name:this.context.getPropertyName(l.name.name),value:this.context.dynamicLiteralMapper.convert({...l,fallbackToDefault:l.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??Jt.Full}getConfig(r){return r.config??this.context.options.config??{}}};var Io=class extends Hi{constructor({ir:t,config:r,options:i={}}){super(new To({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 Eo({context:t})}};0&&(module.exports={DynamicSnippetsGenerator});
|
|
32
|
+
`)):(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?v.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 Xe;(function(e){e[e.INSTANCE=0]="INSTANCE",e[e.STATIC=1]="STATIC"})(Xe||(Xe={}));var zt=class e extends Ot{constructor({name:r,isAsync:i,override:o,access:c,return_:l,body:x,noBody:w,bodyType:I,summary:A,doc:P,type:L,classReference:R,parameters:j,typeParameters:M,annotations:D,codeExample:G,interfaceReference:Q,origin:oe,enclosingType:X},K){super({enclosingType:X},oe,K);y(this,"name");y(this,"isAsync");y(this,"access");y(this,"return");y(this,"noBody");y(this,"body");y(this,"bodyType");y(this,"summary");y(this,"doc");y(this,"type");y(this,"reference");y(this,"override");y(this,"parameters");y(this,"typeParameters");y(this,"annotations");y(this,"interfaceReference");this.name=r,this.isAsync=i??!1,this.override=o??!1,this.access=c,this.return=l,this.noBody=w??!1,this.body=x,this.bodyType=I??e.BodyType.Statement,this.summary=A,this.doc=this.csharp.xmlDocBlockOf(P??{summary:A,codeExample:G}),this.type=L??Xe.INSTANCE,this.reference=R,this.parameters=j??[],this.typeParameters=M??[],this.annotations=(D??[]).map(C=>C instanceof _e?this.csharp.annotation({reference:C}):C),this.interfaceReference=Q}get isAsyncEnumerable(){return v.AsyncEnumerable(this.return)}addParameter(r){return r instanceof Ye||(r=new Ye(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===Xe.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:ue(this.bodyType)}}getParameters(){return this.parameters}};(function(e){e.BodyType={Statement:"statement",Expression:"expression"}})(zt||(zt={}));var xi=class extends Be{constructor({name:r,namespace:i,access:o,partial:c,interfaceReferences:l,enclosingType:x,origin:w},I){super(w,I);y(this,"access");y(this,"partial");y(this,"reference");y(this,"interfaceReferences");y(this,"fields",[]);y(this,"methods",[]);r=r||(w?this.model.getClassNameFor(w):de("Class/Interface name or origin is required")),this.reference=x?this.csharp.classReference({name:r,enclosingType:x}):this.csharp.classReference({name:r,namespace:i||de("Class/Interface: Namespace or enclosingType is required ")}),this.access=o,this.partial=c??!1,this.interfaceReferences=l??[]}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(v.Provenance(this.origin)?this.origin.node:this.origin,r):de(`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 bi(r,this.generation);return this.fields.push(i),i}addMethod(r){r.enclosingType=this.reference;let i=new zt(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 We(this,this.generation)}asNullable(){return new rr(this,this.generation)}asNonOptional(){return this}get defaultValue(){return this.csharp.Literal.null()}get fullyQualifiedName(){return this.reference.fullyQualifiedName}};var ve=class ve extends xi{constructor({name:r,namespace:i,access:o,static_:c,abstract_:l,sealed:x,partial:w,readonly:I,parentClassReference:A,interfaceReferences:P,enclosingType:L,type:R,summary:j,doc:M,annotations:D,primaryConstructor:G,skipNamespaceDeclaration:Q,origin:oe},X){super({name:r,namespace:i,access:o,partial:w,interfaceReferences:P,enclosingType:L,origin:oe},X);y(this,"static_");y(this,"abstract_");y(this,"sealed");y(this,"readonly");y(this,"parentClassReference");y(this,"type");y(this,"summary");y(this,"doc");y(this,"annotations",[]);y(this,"primaryConstructor");y(this,"namespaceReferences",[]);y(this,"skipNamespaceDeclaration");y(this,"constructors",[]);y(this,"operators",[]);y(this,"nestedClasses",[]);y(this,"nestedInterfaces",[]);y(this,"rawBodyBlocks",[]);this.skipNamespaceDeclaration=Q??!1,this.static_=c??!1,this.abstract_=l??!1,this.sealed=x??!1,this.readonly=I??!1,this.type=R??ve.ClassType.Class,this.summary=j,this.doc=this.csharp.xmlDocBlockOf(M??{summary:j}),this.parentClassReference=A,this.annotations=(D??[]).map(K=>K instanceof _e?this.csharp.annotation({reference:K}):K),this.primaryConstructor=G}addConstructor(r){let i=new ve.Constructor(r,this.generation);return this.constructors.push(i),i}addNestedClass(r){if(r instanceof ve||(r.enclosingType=this.reference,r=new ve(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 ve?this.addNestedClass(i):this.addNestedClass(i)})}addAnnotation(r){return r instanceof yt||(r=new yt(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&&!this.skipNamespaceDeclaration&&(r.writeLine(`namespace ${this.namespace};`),r.newLine()),r.writeNode(this.doc),this.annotations.forEach(i=>{i.write(r)}),this.skipNamespaceDeclaration||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(Si).sort(Hu).filter(this.fieldConstFilter())})}writeFieldFields(r){this.writeFields({writer:r,fields:this.getFields().sort(Si).sort(Hu).filter(this.fieldFieldFilter())})}writeProperties(r){this.writeFields({writer:r,fields:this.getFields().sort(Si).sort(Hu).filter(this.fieldPropertyFilter())})}writeMethods(r){this.methods.sort(Si).sort(jy).sort(Ly).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(Si).forEach((i,o)=>{i.write(r),r.writeNewLineIfLastLineNot(),o<this.fields.length-1&&r.newLine()})}writeNestedInterfaces(r){this.nestedInterfaces.sort(Si).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===ve.ClassType.Class||this.type===ve.ClassType.Record}writeOperator({writer:r,operator:i}){if(r.write("public static "),i.type===ve.CastOperator.Type.Explicit||i.type===ve.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,l)=>{c.write(r),l<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)}};y(ve,"ClassType",{Class:"class",Record:"record",Struct:"struct",RecordStruct:"record struct"}),y(ve,"Access",ge);var it=ve;(function(e){class t{constructor({doc:o,body:c,parameters:l,access:x,baseConstructorCall:w,annotations:I},A){y(this,"generation");y(this,"doc");y(this,"body");y(this,"parameters");y(this,"access");y(this,"baseConstructorCall");y(this,"annotations");this.generation=A,this.parameters=l??[],this.access=x??ge.Public,this.doc=o,this.annotations=I??[],this.body=new Ut({},this.generation),c!=null&&this.body.append(c),this.baseConstructorCall=w}addParameter(o){let c=new Ye(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={}))})(it||(it={}));function Hm(e){switch(e){case void 0:return 0;case ge.Private:return 1;case ge.Protected:return 2;case ge.Internal:return 3;case ge.Public:return 4}}function Si(e,t){return Hm(e.access)-Hm(t.access)}function Hu(e,t){return e.isStatic===t.isStatic?0:e.isStatic?-1:1}function Ly(e,t){return e.type===Xe.STATIC&&t.type!==Xe.STATIC?-1:e.type!==Xe.STATIC&&t.type===Xe.STATIC?1:0}function jy(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();var wi=class extends Be{constructor({name:r,namespace:i,access:o,annotations:c,origin:l},x){super(l,x);y(this,"access");y(this,"reference");y(this,"annotations");y(this,"fields",[]);y(this,"generateSerializer",!1);y(this,"serializerClassReference");this.reference=this.csharp.classReference({name:r,namespace:i,origin:l}),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 Ti=class extends xi{constructor({name:t,namespace:r,access:i,partial:o,interfaceReferences:c,enclosingType:l,origin:x},w){super({name:t,namespace:r,access:i,partial:o,interfaceReferences:c,enclosingType:l,origin:x},w)}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 Ei=class extends Be{constructor({name:r,namespace:i,parentClassReference:o,origin:c},l){super(c,l);y(this,"reference");y(this,"parentClassReference");y(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 it({access:ge.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:ge.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 Ju={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 By=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 Dy=new Set(["from","where","select","orderby","groupby","into","let","join","on","equals"]),Uy=new Set(["async","await"]),My=new Set(["yield"]),vy=new Set(["var","dynamic"]),Vy=new Set(["using","alias"]);var zy=new Set(["required","scoped","unmanaged","managed"]),qy=new Set(["when","and","or","not"]),Gy=new Set(["Equals","GetHashCode","ToString","GetType","MemberwiseClone","Finalize"]),Wy=new Set([...By,...Dy,...Uy,...My,...vy,...Vy,...zy,...qy]),fo=class{constructor(t,r,i){y(this,"registry");y(this,"name");y(this,"jsonPath");this.registry=t,this.name=r,this.jsonPath=i}};var mo=class{constructor(t){y(this,"scope");y(this,"byName",new Map);y(this,"byPath",new Map);y(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)&&de(`set: ${t.name} in ${this.scope.fullyQualifiedName} already exists`),t.jsonPath&&this.byPath.has(t.jsonPath)&&de(`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)&&de(`redirect: ${t} in ${this.scope.fullyQualifiedName} already has a redirect`),this.redirections.set(t,r)}},Ku=class extends fo{constructor(r,i,o,c){super(r,i);y(this,"namespace");y(this,"fullyQualifiedName");y(this,"fields");y(this,"methods");this.namespace=o,this.fullyQualifiedName=c,this.fields=new mo(this),this.methods=new mo(this)}isKeyword(r){return Wy.has(r)}isBuiltinMemberName(r){return Gy.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 w=this.fields.getByJsonPath(c);if(w)return w.name}let l=this.fields.getByName(r);if(l&&c===l.jsonPath)return r;switch(this.nameBlocked(r)){case"field":i&&v.Provenance(i)&&i.explicit||de(`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 ho(this.registry,r,this,c,o)),this.registry.setFieldNameShortcut(c,r),r}let x=this.getAlternativeName(r);return this.fields.set(new ho(this.registry,x,this,c,o)),this.fields.redirect(r,x),this.registry.setFieldNameShortcut(c,x),x}getFieldName(r,i){let o=this.getFieldByJsonPath(this.registry.model.jsonPath(r))?.name;if(o)return o;if(v.Provenance(r)){let x=this.getRedirectedFieldName(i);if(x)return x;let w=this.getFieldByName(i);return w?this.registry.model.provenance(w.jsonPath)?.explicit?i:`${i}_`:i}let c=this.getFieldByName(i);if(c)return this.registry.model.provenance(c.jsonPath)?.explicit?i:c.name;let l=this.getRedirectedFieldName(i);if(l)return l;this.isMethod(i)}},Qu=class extends fo{constructor(r,i,o,c){super(r,i,c);y(this,"scope");this.scope=o}},ho=class extends Qu{constructor(r,i,o,c,l){super(r,i,o,c);y(this,"field");this.field=l}};var Ai=class e{constructor(t){y(this,"generation");y(this,"classReferenceByJsonPath",new Map);y(this,"typeRegistry",new Map);y(this,"namespaceRegistry",new Map);y(this,"typeNames",new Map);y(this,"namespaceNames",new Map);y(this,"implicitNamespaces",new Set);y(this,"shortcuts",new Map);y(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(Ju))t.split(".").forEach(i=>this.knownBuiltInIdentifiers.add(i)),r.forEach(i=>this.knownBuiltInIdentifiers.add(i));for(let[t,r]of Object.entries(Ju)){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&&de(`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:l,origin:x}=t;if(x){let w=this.model.jsonPath(x)??de(`JsonPath not found for origin: ${JSON.stringify(x).substring(0,100)}`);this.classReferenceByJsonPath.set(w,t)}if(r&&r!==l&&!this.typeRegistry.has(r)&&this.typeRegistry.set(r,t),!this.typeRegistry.has(l)){this.typeRegistry.set(l,t);for(let w of this.allNamespacesOf(o))this.registerNamespace(w,w);c||this.trackTypeName(i,o);for(let w of[this.generation.namespaces.root,...this.implicitNamespaces])if(o.startsWith(w)){let I=o.split(".")[w.split(".").length];I&&this.trackTypeName(I,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:l}=t,x=this.model.jsonPath(l),w=(x?this.classReferenceByJsonPath.get(x):void 0)??this.typeRegistry.get(r),I=this.model.jsonPath(w?.origin),A=I&&x?I===x?"match":"mismatch":"no origin";if(w&&A!=="mismatch")return new _e({name:w.name,namespace:w.namespace,enclosingType:w.enclosingType,fullyQualifiedName:w.fullyQualifiedName,namespaceAlias:t.namespaceAlias,fullyQualified:t.fullyQualified,generics:t.generics,global:t.global,origin:w.origin??l,isCollection:w.isCollection,isReferenceType:w.isReferenceType,multipartMethodName:w.multipartMethodName,multipartMethodNameForCollection:w.multipartMethodNameForCollection},w.scope,this.generation);let P=!1,L=this.resolveNamespace(o);L!==o&&(o=L,P=!0);let R;e:for(;;){R=e.fullyQualifiedNameOf({name:i,namespace:o,enclosingType:c});let j="",M=o.split(".");for(let D=0;D<M.length;D++)if(j=j?`${j}.${M[D]}`:`${M[D]}`,this.typeRegistry.has(j)){M[D]=`${M[D]}_`,o=M.join("."),P=!0;continue e}if(P&&this.registerNamespace(t.namespace,o),A==="mismatch"&&w?.name===i){i=`${i}_`,P=!0;continue e}if(this.namespaceRegistry.has(R)){i=`${i}_`,P=!0;continue e}if(this.typeRegistry.has(R)){i=`${i}_`,P=!0;continue e}if(c){let D=R.replaceAll("+",".");if(this.typeRegistry.has(D)){i=`${i}_`,P=!0;continue e}if(this.namespaceRegistry.has(D)){i=`${i}_`,P=!0;continue e}}else{let D=R.split(".");for(let G=1;G<D.length;G++){let Q=D.slice(0,G).join(".")+"+"+D.slice(G).join("+");if(this.typeRegistry.has(Q)){i=`${i}_`,P=!0;continue e}}}break}return this.trackType(new _e({name:i,namespace:o,enclosingType:c,namespaceAlias:t.namespaceAlias,fullyQualified:t.fullyQualified,generics:t.generics,global:t.global,fullyQualifiedName:R,origin:l,isCollection:t.isCollection,isReferenceType:t.isReferenceType,multipartMethodName:t.multipartMethodName,multipartMethodNameForCollection:t.multipartMethodNameForCollection},new Ku(this,i,o,R),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 l=this.namespaceRegistry.get(c);if(l!==void 0){let x=i.slice(o).join("."),w=`${l}.${x}`;return this.registerNamespace(t,w),w}}}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="",l=o.split(".");for(let x=0;x<l.length;x++)if(c=c?`${c}.${l[x]}`:`${l[x]}`,this.typeRegistry.has(c)){l[x]=`${l[x]}_`,o=l.join("."),i=!0;continue e}break}return i&&this.registerNamespace(t,o),o}};var yo=class{constructor(t){y(this,"generation");y(this,"frozen",!1);y(this,"extraClassReferences",new Map);y(this,"InstantiatedPrimitive",{string:t=>new Ne({type:"string",value:t},this.generation),boolean:t=>new Ne({type:"boolean",value:t},this.generation),integer:t=>new Ne({type:"integer",value:t},this.generation),long:t=>new Ne({type:"long",value:t},this.generation),uint:t=>new Ne({type:"uint",value:t},this.generation),ulong:t=>new Ne({type:"ulong",value:t},this.generation),float:t=>new Ne({type:"float",value:t},this.generation),double:t=>new Ne({type:"double",value:t},this.generation),date:t=>new Ne({type:"date",value:t},this.generation),dateTime:(t,r=!0)=>new Ne({type:"dateTime",value:t,parse:r},this.generation),uuid:t=>new Ne({type:"uuid",value:t},this.generation),null:()=>new Ne({type:"null"},this.generation)});y(this,"Literal",{class_:({reference:t,fields:r})=>new J.Class_(t,r,this.generation),dictionary:({keyType:t,valueType:r,entries:i})=>new J.Dictionary(t,r,i,this.generation),list:({valueType:t,values:r})=>new J.List(t,r,this.generation),set:({valueType:t,values:r})=>new J.Set(t,r,this.generation),boolean:t=>new J.Boolean(t,this.generation),float:t=>new J.Float(t,this.generation),date:t=>new J.Date(t,this.generation),datetime:t=>new J.DateTime(t,this.generation),decimal:t=>new J.Decimal(t,this.generation),double:t=>new J.Double(t,this.generation),integer:t=>new J.Integer(t,this.generation),long:t=>new J.Long(t,this.generation),uint:t=>new J.Uint(t,this.generation),ulong:t=>new J.Ulong(t,this.generation),reference:t=>new J.Reference(t,this.generation),string:t=>new J.String(t,this.generation),null:()=>new J.Null(this.generation),nop:()=>new J.Nop(this.generation),unknown:t=>new J.Unknown(t,this.generation)});y(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&&t.namespace!==t.enclosingType.namespace)throw new Error("ClassReference: Both enclosingType and namespace cannot be provided");t.namespace=t.enclosingType.namespace}let r=Ai.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
|
+
${ji()}`)}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 it(r,this.generation)}testClass(t){return new Ei(t,this.generation)}annotation(t){return new yt(t,this.generation)}annotationGroup(t){return new mi(t,this.generation)}instantiateClass(t){return new Qr(t,this.generation)}invokeMethod(t){return new ei(t,this.generation)}codeblock(t){return new Dt(t,this.generation)}code(){return new Ut({},this.generation)}anonymousFunction(t){return new di(t)}parameter(t){return new Ye(t,this.generation)}interface_(t){return new Ti(t,this.generation)}enum_(t){return new wi(t,this.generation)}dictionary(t){return new Yr(t,this.generation)}list(t){return new Zr(t,this.generation)}readOnlyMemory(t){return new ti(t,this.generation)}set(t){return new ri(t,this.generation)}switch_(t){return new yi(t,this.generation)}ternary(t){return new gi(t,this.generation)}and(t){return new fi(t,this.generation)}or(t){return new hi(t,this.generation)}enumInstantiation(t){return new Xr(t,this.generation)}string_(t){return new ii(t,this.generation)}xmlDocBlock(t){return new Vt(t,this.generation)}xmlDocBlockOf(t){return t instanceof Vt?t:new Vt(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 $(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 go=class{constructor(t){y(this,"generation");y(this,"System",$({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:()=>$({Serialization:()=>$({EnumMember:()=>this.csharp.classReference({name:"EnumMemberAttribute",namespace:"System.Runtime.Serialization"})})}),Collections:()=>$({Generic:()=>$({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:()=>$({Enumerable:()=>this.csharp.classReference({name:"Enumerable",namespace:"System.Linq"})})}),Globalization:()=>$({DateTimeStyles:()=>this.csharp.classReference({name:"DateTimeStyles",namespace:"System.Globalization"})}),Linq:()=>$({Enumerable:()=>this.csharp.classReference({name:"Enumerable",namespace:"System.Linq"})}),Net:()=>$({Http:()=>$({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:()=>$({SseEvent:()=>this.csharp.classReference({name:"SseEvent",namespace:"System.Net.ServerSentEvents"}),SseParser:()=>this.csharp.classReference({name:"SseParser",namespace:"System.Net.ServerSentEvents"})}),WebSockets:()=>$({ClientWebSocketOptions:()=>this.csharp.classReference({name:"ClientWebSocketOptions",namespace:"System.Net.WebSockets"})})}),IO:()=>$({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:()=>$({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:()=>$({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:()=>$({JsonNode:()=>this.csharp.classReference({name:"JsonNode",namespace:"System.Text.Json.Nodes"}),JsonObject:()=>this.csharp.classReference({name:"JsonObject",namespace:"System.Text.Json.Nodes"})}),Serialization:()=>$({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:()=>$({CancellationToken:()=>this.csharp.classReference({name:"CancellationToken",namespace:"System.Threading"}),Tasks:()=>$({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:()=>$({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"})}));y(this,"NUnit",$({Framework:()=>$({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"})})}));y(this,"OneOf",$({OneOf:t=>this.csharp.classReference({name:"OneOf",namespace:"OneOf",generics:t}),OneOfBase:t=>this.csharp.classReference({name:"OneOfBase",namespace:"OneOf",generics:t})}));y(this,"Google",$({Protobuf:()=>$({ByteString:()=>this.csharp.classReference({name:"ByteString",namespace:"Google.Protobuf"}),WellKnownTypes:()=>$({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"})})})}));y(this,"WireMock",$({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"})}));y(this,"Grpc",$({Core:()=>$({RpcException:()=>this.csharp.classReference({name:"RpcException",namespace:"Grpc.Core"})})}));this.generation=t}get csharp(){return this.generation.csharp}};n();a();s();var Yu=new Set(["name","camelCase","snakeCase","screamingSnakeCase","pascalCase"]);function $y(e,t){return Yu.has(t)?e??"":e?`${e}.${t}`:t}var bo=class{constructor(t,r){y(this,"generation");y(this,"indexByObject",new Map);y(this,"indexByPath",new Map);y(this,"explicitByObject",new Map);y(this,"explicitByPath",new Map);y(this,"root");y(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=$y(i?.jsonPath,r);if(this.indexByPath.has(o)){i||de(`Parent provenance not found for node: ${JSON.stringify(t).substring(0,100)}`),this.indexByObject.set(t,i);let l=Yu.has(r);for(let[x,w]of Object.entries(t))typeof w=="object"&&w!==null&&(l&&Yu.has(x)?this.indexByObject.set(w,i):this.createIndex(w,x,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[l,x]of Object.entries(t))typeof x=="object"&&x!==null&&this.createIndex(x,l,c);return c}staticExplicit(t){return this.explicit(this.ir,t)}explicit(t,r){let i=this.provenance(t)??de(`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 v.string(t)?this.explicitByPath.get(t)??this.indexByPath.get(t):v.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=v.IR.ExampleEnumType(r)?r.value:r,o=t.values.find(c=>this.nameEquals(c.name,i));return o?this.getPropertyNameFor(o):de(`Unexpected - can't find enum value ${JSON.stringify(i)} in enum`)}getPropertyNameFor(t){let r=this.registry.getFieldNameByOrigin(t);if(r)return r;if(v.Provenance(t))return t.name;if("name"in t){if(v.IR.NameAndWireValue(t.name))return this.generation.case.pascalSafe(t.name);if(v.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(v.Provenance(t))return t.name;if("name"in t){if(v.IR.TypeDeclaration(t))return this.generation.case.pascalSafe(t.name.name);if(v.IR.NameAndWireValue(t.name))return this.generation.case.pascalSafe(t.name);if(v.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=v.string(t)?t:v.IR.NamedType(t)||v.IR.DeclaredTypeName(t)?t.typeId:v.IR.ExampleNamedType(t)?t.typeName.typeId:t.name.typeId,i=this.irNode(this.ir.types[r]);if(v.IR.TypeDeclaration(i))return{typeId:r,typeDeclaration:i};de(`dereferenceType: typeId ${r} not resolved.`)}};function xo(...e){return e.filter(Boolean).join("/")}var kn=class{constructor(t,r,i,o,c={makeRelativeFilePath:l=>l,makeAbsoluteFilePath:l=>l,getNamespaceForTypeId:l=>"",getDirectoryForTypeId:l=>"",getCoreAsIsFiles:()=>[],getCoreTestAsIsFiles:()=>[],getPublicCoreAsIsFiles:()=>[],getAsyncCoreAsIsFiles:()=>[],getChildNamespaceSegments:l=>[]}){y(this,"intermediateRepresentation");y(this,"apiName");y(this,"customConfig");y(this,"generatorConfig");y(this,"support");y(this,"ir");y(this,"dir");y(this,"csharp",new yo(this));y(this,"registry",new Ai(this));y(this,"model");y(this,"case");y(this,"extern",new go(this));y(this,"settings",$({namespace:()=>this.customConfig.namespace??io(no(`${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,enableInlineTypes:()=>this.customConfig["enable-inline-types"]??!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"]??"",usePageIndexSemantics:()=>this.customConfig["offset-semantics"]==="page-index",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"?ge.Internal:ge.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??"."}}}));y(this,"constants",{folders:$({mockServerTests:()=>this.support.makeRelativeFilePath("Unit/MockServer"),types:()=>"Types",exceptions:()=>"Exceptions",src:()=>"src",protobuf:()=>"proto",serializationTests:()=>this.support.makeRelativeFilePath("Unit/Serialization"),project:()=>this.support.makeRelativeFilePath(xo(this.constants.folders.sourceFiles,this.support.makeRelativeFilePath(this.names.files.project))),sourceFiles:()=>this.support.makeRelativeFilePath(this.constants.folders.src),coreFiles:()=>this.support.makeRelativeFilePath(xo(this.constants.folders.project,this.support.makeRelativeFilePath(this.constants.defaults.core))),publicCoreFiles:()=>this.support.makeRelativeFilePath(xo(this.constants.folders.project,this.support.makeRelativeFilePath(this.constants.defaults.core),this.support.makeRelativeFilePath(this.constants.defaults.publicCore))),testFiles:()=>this.support.makeRelativeFilePath(xo(this.constants.folders.sourceFiles,this.support.makeRelativeFilePath(this.names.files.testProject)))}),formatting:$({indent:()=>" "}),defaults:$({core:()=>"Core",publicCore:()=>"Public",version:()=>"0.0.0"})});y(this,"namespaces",$({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"])}));y(this,"names",{classes:$({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:$({client:()=>io(no(`${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:$({project:()=>this.namespaces.root,testProject:()=>`${this.namespaces.root}.Test`}),methods:$({mockOauth:()=>"MockOAuthEndpoint",mockInferredAuth:()=>"MockInferredAuthEndpoint",getAccessTokenAsync:()=>"GetAccessTokenAsync",getAuthHeadersAsync:()=>"GetAuthHeadersAsync"}),variables:$({client:()=>"client",response:()=>"response",httpRequest:()=>"httpRequest",sendRequest:()=>"sendRequest",responseBody:()=>"responseBody",query:()=>"_query",headers:()=>"_headers"}),parameters:$({cancellationToken:()=>"cancellationToken",requestOptions:()=>"options",idempotentOptions:()=>"options"})});y(this,"Types",$({Arbitrary:t=>new te.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:l})=>this.csharp.classReference({origin:this.model.staticExplicit("OffsetPager"),namespace:this.namespaces.core,generics:[t,r,i,o,c,l]}),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})}));y(this,"Primitive",$({string:()=>new te.String(this),boolean:()=>new te.Boolean(this),integer:()=>new te.Integer(this),long:()=>new te.Long(this),uint:()=>new te.Uint(this),ulong:()=>new te.ULong(this),float:()=>new te.Float(this),double:()=>new te.Double(this),object:()=>new te.Object(this)}));y(this,"Value",$({binary:()=>new Ue.Binary(this),dateOnly:()=>new Ue.DateOnly(this),dateTime:()=>new Ue.DateTime(this),uuid:()=>new Ue.Uuid(this),stringEnum:t=>new Ue.StringEnum(t,this)}));y(this,"Collection",$({array:t=>new we.Array(t,this),listType:t=>new we.ListType(t,this),list:t=>new we.List(t,this),set:t=>new we.Set(t,this),map:(t,r,i)=>new we.Map(t,r,this,i),idictionary:(t,r,i)=>new we.IDictionary(t,r,this,i),keyValuePair:(t,r)=>new we.KeyValuePair(t,r,this)}));y(this,"format",$({private:t=>`_${so.camelCase(t)}`}));y(this,"initializers",$({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 l=v.IR.IntermediateRepresentation(t)?t.casingsConfig:void 0;this.case=new Gi({generationLanguage:"csharp",keywords:l?.keywords,smartCasing:l?.smartCasing??!0}),this.model=new bo(t,this),this.ir=v.IR.IntermediateRepresentation(t)?t:{},this.dir=v.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 Ze=class{constructor(t){y(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 So=class extends Ze{constructor({context:r}){super(r.generation);y(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:ee.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:ue(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,l)=>{this.context.errors.scope({index:l});try{return this.convert({typeReference:r,value:c})}finally{this.context.errors.unscope()}})}):(this.context.errors.add({severity:ee.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:ue(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,l)=>{this.context.errors.scope({index:l});try{return this.convert({typeReference:r,value:c})}finally{this.context.errors.unscope()}})}):(this.context.errors.add({severity:ee.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:ee.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,l])=>{this.context.errors.scope(c);try{return{key:this.convert({typeReference:r.key,value:c,as:"key"}),value:this.convert({typeReference:r.value,value:l})}}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:ue(r)}}convertDiscriminatedUnion({discriminatedUnion:r,value:i,fallbackToDefault:o}){let c=this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),l=this.context.resolveDiscriminatedUnionTypeInstance({discriminatedUnion:r,value:i});if(l==null)return this.csharp.Literal.nop();let x=l.singleDiscriminatedUnionType,w=this.getBaseProperties({discriminatedUnionTypeInstance:l,singleDiscriminatedUnionType:x});switch(x.type){case"samePropertiesAsObject":{let I=this.context.resolveNamedType({typeId:x.typeId});return I==null?this.csharp.Literal.nop():this.instantiateUnionWithBaseProperties({classReference:c,baseProperties:w,arguments_:[this.convertNamed({named:I,value:l.value})]})}case"singleProperty":{if(this.context.getRecord(l.value)==null)return this.csharp.Literal.nop();try{let A=["Value","Type"].includes(x.discriminantValue.name.pascalCase.safeName)?`${x.discriminantValue.name.pascalCase.safeName}Inner`:x.discriminantValue.name.pascalCase.safeName;return this.context.errors.scope(x.discriminantValue.wireValue),this.instantiateUnionWithBaseProperties({classReference:c,baseProperties:w,arguments_:[this.csharp.instantiateClass({classReference:this.csharp.classReference({name:A,enclosingType:c}),arguments_:[this.convert({typeReference:x.typeReference,value:x.discriminantValue.wireValue})]})]})}finally{this.context.errors.unscope()}}case"noProperties":return this.instantiateUnionWithBaseProperties({classReference:c,baseProperties:w,arguments_:[this.csharp.instantiateClass({classReference:this.csharp.classReference({origin:l.discriminantValue,enclosingType:c}),arguments_:[]})]});default:ue(x)}}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(l=>{l.write(c," "),l.pushScope();for(let x of o)l.write(x.name," = ",x.assignment,",");l.popScope(!1)}))}getEnumValue(r,i){if(typeof i!="string")return this.context.errors.add({severity:ee.Critical,message:`Expected enum value string, got: ${typeof i}`}),this.csharp.Literal.nop();let o=r.values.find(x=>x.wireValue===i);if(o==null)return this.context.errors.add({severity:ee.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)}),l=c.registerField(this.model.getPropertyNameFor(o),o);return this.csharp.Literal.reference(this.csharp.enumInstantiation({reference:c,value:l}))}convertObject({object_:r,value:i,fallbackToDefault:o}){let c=this.context.getRecord(i)??{},x=this.context.associateByWireValue({parameters:r.properties,values:c}).map(I=>{this.context.errors.scope(I.name.wireValue);try{return{name:this.context.getClassName(I.name.name),value:this.convert(I)}}finally{this.context.errors.unscope()}}),w=new Set(Object.keys(c));for(let I of r.properties){let A=this.context.getClassName(I.name.name);if(w.has(I.name.wireValue)){if(this.isRequiredProperty(I.typeReference)){let P=x.find(L=>L.name===A);if(P!=null&&v.Literal.nop(P.value)){let L=this.getDefaultLiteralForType(I.typeReference);L!=null&&(P.value=L)}}continue}if(this.isRequiredProperty(I.typeReference)){let P=this.getDefaultLiteralForType(I.typeReference);P!=null&&x.push({name:A,value:P})}}return this.csharp.Literal.class_({reference:this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),fields:x})}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 l=[];for(let x of r.properties)if(this.isRequiredProperty(x.typeReference)){let w=this.getDefaultLiteralForType(x.typeReference,c);w!=null&&l.push({name:this.context.getClassName(x.name.name),value:w})}return c.delete(i),this.csharp.Literal.class_({reference:this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)}),fields:l})}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:ue(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 l=this.convert({typeReference:o,value:i});if(v.Literal.nop(l)||this.context.errors.size()>c){this.context.errors.truncate(c);continue}return{valueTypeReference:o,typeLiteral:l}}catch{this.context.errors.truncate(c);continue}}this.context.errors.add({severity:ee.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 l=this.getValueAsNumber({value:i,as:o});return l==null?c?this.Primitive.integer.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.integer(l)}case"LONG":{let l=this.getValueAsNumber({value:i,as:o});return l==null?c?this.Primitive.long.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.long(l)}case"UINT":{let l=this.getValueAsNumber({value:i,as:o});return l==null?c?this.Primitive.uint.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.uint(l)}case"UINT_64":{let l=this.getValueAsNumber({value:i,as:o});return l==null?c?this.Primitive.ulong.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.ulong(l)}case"FLOAT":{let l=this.getValueAsNumber({value:i,as:o});return l==null?c?this.Primitive.float.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.float(l)}case"DOUBLE":{let l=this.getValueAsNumber({value:i,as:o});return l==null?c?this.Primitive.double.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.double(l)}case"BOOLEAN":{let l=this.getValueAsBoolean({value:i,as:o});return l==null?c?this.Primitive.boolean.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.boolean(l)}case"STRING":{let l=this.context.getValueAsString({value:i});return l==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(l)}case"DATE":{let l=this.context.getValueAsString({value:i});return l==null?c?this.Value.dateOnly.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.date(l)}case"DATE_TIME":case"DATE_TIME_RFC_2822":{let l=this.context.getValueAsString({value:i});return l==null?c?this.Value.dateTime.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.datetime(l)}case"UUID":{let l=this.context.getValueAsString({value:i});return l==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(l)}case"BASE_64":{let l=this.context.getValueAsString({value:i});return l==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(l)}case"BIG_INTEGER":{let l=this.context.getValueAsString({value:i});return l==null?c?this.Primitive.string.getDeterminsticDefault(c):this.csharp.Literal.nop():this.csharp.Literal.string(l)}default:ue(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 wo=class extends Ze{constructor({context:r}){super(r.generation);y(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,typeId:r.typeReference.value})}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:ue(r.typeReference)}}convertToClassReference(r,i){return this.csharp.classReference({origin:r.declaration,namespace:this.context.getNamespace(r.declaration.fernFilepath)})}convertNamed({named:r,typeId:i}){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.convertToClassReference(r,i);case"discriminatedUnion":return this.settings.shouldGeneratedDiscriminatedUnions?this.convertToClassReference(r,i):this.Primitive.object;case"undiscriminatedUnion":return this.settings.shouldGenerateUndiscriminatedUnions?this.convertToClassReference(r,i):this.OneOf.OneOf(r.types.map(o=>this.convert({typeReference:o})));default:ue(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:ue(r)}}};n();a();s();var To=class extends Ze{constructor({context:r}){super(r.generation);y(this,"context");this.context=r}getFilePropertyInfo({body:r,value:i}){let o={fileFields:[],bodyPropertyFields:[]},c=this.context.getRecord(i)??{};for(let l of r.properties)switch(l.type){case"file":v.Record.missingKey(c,l.wireValue)&&(c[l.wireValue]="[bytes]"),o.fileFields.push({name:this.context.getPropertyName(l.name),value:this.getSingleFileProperty({property:l,record:c})});break;case"fileArray":v.Record.missingKey(c,l.wireValue)&&(c[l.wireValue]=["[bytes]"]),o.fileFields.push({name:this.context.getPropertyName(l.name),value:this.getArrayFileProperty({property:l,record:c})});break;case"bodyProperty":if(v.Record.missingKey(c,l.name.wireValue))switch(l.typeReference.type){case"optional":break;case"primitive":{switch(l.typeReference.value.toLowerCase()){case"integer":{c[l.name.wireValue]=123;break}case"string":{c[l.name.wireValue]="[string]";break}case"boolean":{c[l.name.wireValue]=!0;break}case"double":{c[l.name.wireValue]=123.456;break}case"float":{c[l.name.wireValue]=123.456;break}case"long":{c[l.name.wireValue]=123456789;break}case"uint":{c[l.name.wireValue]=123;break}case"uint64":{c[l.name.wireValue]=12345;break}case"date":{c[l.name.wireValue]=new Date(2021,1,1);break}case"datetime":{c[l.name.wireValue]=new Date(2021,1,1,12,0,0);break}case"uuid":{c[l.name.wireValue]="123e4567-e89b-12d3-a456-426614174000";break}case"base64":{c[l.name.wireValue]="SGVsbG8gd29ybGQh";break}case"biginteger":{c[l.name.wireValue]="12345678901234567890";break}}break}default:break}o.bodyPropertyFields.push({name:this.context.getPropertyName(l.name.name),value:this.getBodyProperty({property:l,record:c})});break;default:ue(l)}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 Eo=class e extends Yi{constructor({ir:r,config:i,options:o,generation:c}){super({ir:r,config:i,options:o});y(this,"ir");y(this,"dynamicTypeMapper");y(this,"dynamicLiteralMapper");y(this,"filePropertyMapper");y(this,"generation");this.ir=r,this.generation=c??new kn(r,i.workspaceName,i.customConfig!=null?i.customConfig:{},i),this.dynamicTypeMapper=new wo({context:this}),this.dynamicLiteralMapper=new So({context:this}),this.filePropertyMapper=new To({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,i)});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 l of c)switch(l.request.type){case"inlined":this.csharp.classReference({origin:l.request.declaration.name,namespace:this.getNamespace(l.request.declaration.fernFilepath)});break;case"body":break}}this.generation.Types.ClientOptions,this.generation.Types.RootClientForSnippets,this.csharp.freezeClassReferences()}};n();a();s();var Io=class extends Ze{constructor({context:r}){super(r.generation);y(this,"context");this.context=r}async generateSnippet({endpoint:r,request:i,options:o}){return this.buildCodeBlock({endpoint:r,snippet:i,options:o}).toString({namespace:"Examples",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:"Examples",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&&v.DynamicIR.EndpointExample(i)&&!r.examples.find(x=>x.id===i.id))throw new Error("Endpoint does not have an example that matches the snippet");let c=this.csharp.codeblock(x=>{x.writeNodeStatement(this.constructClient({endpoint:r,snippet:i})),x.newLine(),x.writeNodeStatement(this.callMethod({endpoint:r,snippet:i}))}),l=this.getStyle(o);switch(l){case Jt.Concise:return c;case Jt.Full:return this.buildFullCodeBlock({body:c,options:o});default:ue(l)}}buildFullCodeBlock({body:r,options:i}){let o=this.getConfig(i),c=o.fullStyleMethodName??o.fullStyleClassName??"Example",l=this.csharp.class_({name:"Examples",namespace:"Examples",partial:!0,skipNamespaceDeclaration:!0,access:Ii.Access.Public});return l.addNamespaceReference(this.Types.RootClientForSnippets.namespace),l.addMethod({name:c,access:Ii.Access.Public,isAsync:!0,parameters:[],body:r}),l}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(l=>{l.write("await foreach (var item in "),l.writeNode(c),l.writeLine(")"),l.pushScope(),l.writeLine("/* consume each item */"),l.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:ee.Warning,message:`Auth with ${r.auth.type} configuration is required for this endpoint`}));let c=[],l=this.getConstructorBaseUrlArgs({baseUrl:i.baseURL,environment:i.environment});l.length>0&&c.push(...l),this.context.errors.scope(tt.Headers);let x=[];if(this.context.ir.headers!=null&&i.headers!=null&&x.push(...this.getConstructorHeaderArgs({headers:this.context.ir.headers,values:i.headers})),this.context.errors.unscope(),this.settings.unifiedClientOptions){let w=[...o.map(I=>({name:Le(I.name),assignment:I.assignment})),...x.map(I=>({name:Le(I.name),assignment:I.assignment})),...c.map(I=>({name:I.name,assignment:I.assignment}))];return w.length===0?[]:[{name:"clientOptions",assignment:this.csharp.instantiateClass({classReference:this.Types.ClientOptions,arguments_:w,multiline:!0})}]}return c.length===0?[...o,...x]:[...o,...x,{name:"clientOptions",assignment:this.csharp.instantiateClass({classReference:this.Types.ClientOptions,arguments_:c.map(w=>({name:w.name,assignment:w.assignment})),multiline:!0})}]}getConstructorBaseUrlArgs({baseUrl:r,environment:i}){let o=this.getBaseUrlArg({baseUrl:r,environment:i});return v.Literal.nop(o)?[]:[{name:this.getBaseUrlOptionName(),assignment:o}]}getBaseUrlArg({baseUrl:r,environment:i}){if(r!=null&&i!=null)return this.context.errors.add({severity:ee.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:ee.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:ee.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:Le(cr(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:ue(r)}}addError(r){this.context.errors.add({severity:ee.Critical,message:r})}addWarning(r){this.context.errors.add({severity:ee.Warning,message:r})}getConstructorBasicAuthArg({auth:r,values:i}){let o=r,c=!!o.usernameOmit,l=!!o.passwordOmit,x=[];return c||x.push({name:this.context.getParameterName(r.username),assignment:this.csharp.Literal.string(i.username)}),l||x.push({name:this.context.getParameterName(r.password),assignment:this.csharp.Literal.string(i.password)}),x}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 l=c.name.wireValue,x=i.values?.[l];o.push({name:this.context.getParameterName(c.name.name),assignment:this.context.dynamicLiteralMapper.convert({typeReference:c.typeReference,value:x,fallbackToDefault:l})})}else this.context.errors.add({severity:ee.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 l=i[c.name.wireValue],x=this.getConstructorHeaderArg({header:c,value:l});x!=null&&o.push({name:this.context.getParameterName(c.name.name),assignment:x})}return o}getConstructorHeaderArg({header:r,value:i}){let o=this.context.dynamicLiteralMapper.convert({typeReference:r.typeReference,value:i,fallbackToDefault:r.name.wireValue});if(!v.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:ue(r.request)}}getMethodArgsForInlinedRequest({request:r,snippet:i}){let o=[];this.context.errors.scope(tt.PathParameters);let c=[],l=[...this.context.ir.pathParameters??[],...r.pathParameters??[]];l.length>0&&c.push(...this.getPathParameters({namedParameters:l,snippet:i})),this.context.errors.unscope(),this.context.errors.scope(tt.RequestBody);let x=this.getFilePropertyInfo({request:r,snippet:i});return this.context.errors.unscope(),this.context.includePathParametersInWrappedRequest({request:r,inlinePathParameters:this.settings.shouldInlinePathParameters})||o.push(...c.map(w=>w.value)),o.push(this.getInlinedRequestArg({request:r,snippet:i,pathParameterFields:this.context.includePathParametersInWrappedRequest({request:r,inlinePathParameters:this.settings.shouldInlinePathParameters})?c:[],filePropertyInfo:x})),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(tt.QueryParameters);let x=this.context.associateQueryParametersByWireValue({parameters:r.queryParameters??[],values:i.queryParameters??{}}).map(P=>({name:this.context.getPropertyName(P.name.name),value:this.context.dynamicLiteralMapper.convert(P)}));this.context.errors.unscope(),this.context.errors.scope(tt.Headers);let I=this.context.associateByWireValue({parameters:r.headers??[],values:i.headers??{}}).map(P=>({name:this.context.getPropertyName(P.name.name),value:this.context.dynamicLiteralMapper.convert({...P,fallbackToDefault:P.name.wireValue})}));this.context.errors.unscope(),this.context.errors.scope(tt.RequestBody);let A=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,...x,...I,...A]})}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:ue(r)}}getInlinedRequestBodyPropertyConstructorFields({parameters:r,value:i}){let o=[],c=this.context.associateByWireValue({parameters:r,values:this.context.getRecord(i)??{}});for(let l of c)o.push({name:this.context.getPropertyName(l.name.name),value:this.context.dynamicLiteralMapper.convert({...l,fallbackToDefault:l.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:ue(r)}}getMethodArgsForBodyRequest({request:r,snippet:i}){let o=[];this.context.errors.scope(tt.PathParameters);let c=[...this.context.ir.pathParameters??[],...r.pathParameters??[]];return c.length>0&&o.push(...this.getPathParameters({namedParameters:c,snippet:i}).map(l=>l.value)),this.context.errors.unscope(),this.context.errors.scope(tt.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:ue(r)}}getBytesBodyRequestArg({value:r}){let i=this.context.getValueAsString({value:r});return i==null&&(this.context.errors.add({severity:ee.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 l of c)o.push({name:this.context.getPropertyName(l.name.name),value:this.context.dynamicLiteralMapper.convert({...l,fallbackToDefault:l.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??Jt.Full}getConfig(r){return r.config??this.context.options.config??{}}};var Ao=class extends Ji{constructor({ir:t,config:r,options:i={}}){super(new Eo({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 Io({context:t})}};0&&(module.exports={DynamicSnippetsGenerator});
|
|
34
34
|
/*! Bundled license information:
|
|
35
35
|
|
|
36
36
|
@jspm/core/nodelibs/browser/chunk-DtuTasat.js:
|