@nuxt/devtools 1.1.5 → 1.3.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/README.md +1 -1
- package/dist/chunks/module-main.mjs +5 -37
- package/dist/chunks/vscode.mjs +1 -0
- package/dist/client/200.html +23 -23
- package/dist/client/404.html +23 -23
- package/dist/client/_nuxt/{iwQAEmKI.js → B0KOo1ba.js} +1 -1
- package/dist/client/_nuxt/B0ueYKyn.js +9 -0
- package/dist/client/_nuxt/{_kNmeBjy.js → B3uyMCCv.js} +1 -1
- package/dist/client/_nuxt/B6pd2ymi.js +1 -0
- package/dist/client/_nuxt/{CA_eAFlo.js → B90Ttd7o.js} +1 -1
- package/dist/client/_nuxt/B9CZjm2z.js +2 -0
- package/dist/client/_nuxt/{BBcfeHW0.js → BCaU9car.js} +1 -1
- package/dist/client/_nuxt/{D6dOrpSz.js → BFJB92M1.js} +1 -1
- package/dist/client/_nuxt/BGq4KZyx.js +1 -0
- package/dist/client/_nuxt/{iazTOtp7.js → BJ65-qNi.js} +1 -1
- package/dist/client/_nuxt/{Ds9RG5LO.js → BJbhmoX6.js} +2 -2
- package/dist/client/_nuxt/{chB0bF2e.js → BKiZzkRj.js} +1 -1
- package/dist/client/_nuxt/{CkNuW12v.js → BLnLeUd3.js} +1 -1
- package/dist/client/_nuxt/BMbUeBqv.js +74 -0
- package/dist/client/_nuxt/{BawzGT5O.js → BNQxZ_tm.js} +1 -1
- package/dist/client/_nuxt/BPX3fYES.js +1 -0
- package/dist/client/_nuxt/{CaQmwCtB.js → BXJ3NTXl.js} +1 -1
- package/dist/client/_nuxt/BZfs-ost.js +1 -0
- package/dist/client/_nuxt/{BM5AytHF.js → BaKCaZGk.js} +1 -1
- package/dist/client/_nuxt/{BullEKkw.js → BaRB0bpe.js} +1 -1
- package/dist/client/_nuxt/{CvL8cdRT.js → BdrRW8OO.js} +1 -1
- package/dist/client/_nuxt/BiWblMbN.js +505 -0
- package/dist/client/_nuxt/{BitKOBNg.js → BjA0kRNM.js} +1 -1
- package/dist/client/_nuxt/{CXOMhAuo.js → Bki9ESx2.js} +1 -1
- package/dist/client/_nuxt/{BpcRrzbR.js → Bm0NU4n7.js} +1 -1
- package/dist/client/_nuxt/BvDxtYhR.js +1 -0
- package/dist/client/_nuxt/BvWK-VK_.js +1 -0
- package/dist/client/_nuxt/{Dj8kH5KD.js → Bvxqhl9x.js} +1 -1
- package/dist/client/_nuxt/{CIi1W1Xn.js → BwUXge7D.js} +1 -1
- package/dist/client/_nuxt/{CCEzajrZ.js → C378twlw.js} +1 -1
- package/dist/client/_nuxt/{BRZ59h9H.js → C6qnkm2z.js} +1 -1
- package/dist/client/_nuxt/{BMulB6_N.js → CFIIwO5G.js} +2 -2
- package/dist/client/_nuxt/CHuuZgn4.js +699 -0
- package/dist/client/_nuxt/{CFP4gcPi.js → CMxQOWd6.js} +1 -1
- package/dist/client/_nuxt/{DggdVF2v.js → CQ1WWl9n.js} +1 -1
- package/dist/client/_nuxt/{DnNA5yXt.js → CQ4DIexe.js} +1 -1
- package/dist/client/_nuxt/CWDIGLyg.js +1 -0
- package/dist/client/_nuxt/{pzsDcbJd.js → CZ3WyNik.js} +1 -1
- package/dist/client/_nuxt/CZS3fKwr.js +20 -0
- package/dist/client/_nuxt/CgrD3_g7.js +1 -0
- package/dist/client/_nuxt/{A4ZOcguv.js → CiSNQgOw.js} +1 -1
- package/dist/client/_nuxt/{sSwgCvN9.js → ClXd2J8B.js} +1 -1
- package/dist/client/_nuxt/{BMzBLMig.js → Co1NnsNe.js} +1 -1
- package/dist/client/_nuxt/{D4UCAj7O.js → Coatggmz.js} +1 -1
- package/dist/client/_nuxt/{Do1J5gVB.js → CqLfaAGq.js} +1 -1
- package/dist/client/_nuxt/Cuq04cZp.js +1031 -0
- package/dist/client/_nuxt/CwVYEx0b.js +1 -0
- package/dist/client/_nuxt/Cw_HWDDb.js +1 -0
- package/dist/client/_nuxt/DDnrbwm6.js +2002 -0
- package/dist/client/_nuxt/{DfFJQbG4.js → DFF-wSSt.js} +2 -2
- package/dist/client/_nuxt/{e0xDN1rm.js → DGsSg8Yx.js} +1 -1
- package/dist/client/_nuxt/DHFOa8tC.js +200 -0
- package/dist/client/_nuxt/{Bozs3mpp.js → DI84-lg6.js} +1 -1
- package/dist/client/_nuxt/DJ6PyLfz.js +1 -0
- package/dist/client/_nuxt/DKAZQnAj.js +1 -0
- package/dist/client/_nuxt/{D-bKw4-c.js → DLnTPeai.js} +1 -1
- package/dist/client/_nuxt/{Dwt0a_c3.js → DOshYgbb.js} +1 -1
- package/dist/client/_nuxt/DYSjJb82.js +99 -0
- package/dist/client/_nuxt/{A1WiD9SJ.js → DaCkt_J7.js} +1 -1
- package/dist/client/_nuxt/{95Xol9hk.js → DlPmnnjb.js} +1 -1
- package/dist/client/_nuxt/Dnoo7cyQ.js +1 -0
- package/dist/client/_nuxt/{iJ8Lbex6.js → DtL8m2Aq.js} +3 -3
- package/dist/client/_nuxt/{Cp4lmCDv.js → DxuiyCFU.js} +1 -1
- package/dist/client/_nuxt/{jtaEtbvO.js → DyeV3m0g.js} +1 -1
- package/dist/client/_nuxt/{CeWabOXN.js → HBanA1tG.js} +1 -1
- package/dist/client/_nuxt/{C35r-I8u.js → IlsTwlBb.js} +1 -1
- package/dist/client/_nuxt/NSectionBlock.DF4F_onM.css +1 -0
- package/dist/client/_nuxt/PO8p82Rr.js +48 -0
- package/dist/client/_nuxt/Q9LIRUci.js +25 -0
- package/dist/client/_nuxt/{CjV45cFY.js → SP_cIGIP.js} +1 -1
- package/dist/client/_nuxt/{Cd6DbZRp.js → Tw6nDHWX.js} +1 -1
- package/dist/client/_nuxt/{C3dxgrHo.js → V55AckNm.js} +1 -1
- package/dist/client/_nuxt/V_y36BGi.js +1 -0
- package/dist/client/_nuxt/{Bo1S1yFp.js → YHaOe1r2.js} +1 -1
- package/dist/client/_nuxt/_ECCzcZq.js +666 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/d37e84e4-7cd9-41ae-8568-7d4b1d04caa2.json +1 -0
- package/dist/client/_nuxt/entry.CyP5HdOH.css +1 -0
- package/dist/client/_nuxt/error-404.ClUqCsUG.css +1 -0
- package/dist/client/_nuxt/error-500.Xj6Xfe4d.css +1 -0
- package/dist/client/_nuxt/iAfmkGIi.js +1 -0
- package/dist/client/_nuxt/index.BeOv1PgR.css +1 -0
- package/dist/client/_nuxt/{BaZ-MlpT.js → jWDo8Ezs.js} +1 -1
- package/dist/client/_nuxt/jeEj0LFC.js +1 -0
- package/dist/client/_nuxt/{DLpnW8-5.js → lLn-RhM6.js} +1 -1
- package/dist/client/_nuxt/{CUmEcBOj.js → tWSQ6YIe.js} +1 -1
- package/dist/client/index.html +23 -23
- package/dist/module.json +5 -1
- package/dist/runtime/function-metrics-helpers.mjs +2 -2
- package/dist/runtime/plugins/view/FrameBox.vue +3 -1
- package/dist/runtime/plugins/view/Main.vue +11 -1
- package/dist/runtime/plugins/view/client.mjs +4 -2
- package/dist/runtime/use-nuxt-devtools.mjs +1 -1
- package/package.json +40 -40
- package/dist/client/_nuxt/4OiyuHIo.js +0 -1
- package/dist/client/_nuxt/BKuBdopT.js +0 -1
- package/dist/client/_nuxt/BUsflWtV.js +0 -9
- package/dist/client/_nuxt/Bb1mULLQ.js +0 -48
- package/dist/client/_nuxt/CM17keFt.js +0 -2
- package/dist/client/_nuxt/C_8Nqh_D.js +0 -105
- package/dist/client/_nuxt/Ccvom-7a.js +0 -1
- package/dist/client/_nuxt/DEvcMGc8.js +0 -2
- package/dist/client/_nuxt/DODPx1Rc.js +0 -1
- package/dist/client/_nuxt/DZURVFrY.js +0 -1
- package/dist/client/_nuxt/DmETP5K3.js +0 -982
- package/dist/client/_nuxt/Dz2CDcxz.js +0 -1
- package/dist/client/_nuxt/NSectionBlock.BrczCkLG.css +0 -1
- package/dist/client/_nuxt/R098q0FN.js +0 -1
- package/dist/client/_nuxt/builds/meta/7ee08684-5a32-4a3b-805a-feeb40a35ac6.json +0 -1
- package/dist/client/_nuxt/entry.OFjnihVh.css +0 -1
- package/dist/client/_nuxt/error-404.CbfoPaOP.css +0 -1
- package/dist/client/_nuxt/error-500.CgCLIzMa.css +0 -1
- package/dist/client/_nuxt/o1TLfE1U.js +0 -1
- package/dist/client/_nuxt/pinia.De6kl7Vm.css +0 -1
- package/dist/client/_nuxt/q7q-hnWy.js +0 -1
|
@@ -0,0 +1,1031 @@
|
|
|
1
|
+
import{_ as UC}from"./BLnLeUd3.js";import{c as Fe,g as xT,d as JC,u as zC,r as dd,a as Qg,b as WC,w as Xg,e as GC,f as Jn,o as Pr,h as iu,i as ru,j as ga,k as Fa,l as qC,m as su,F as Yg,n as $g,t as hd,p as ou,T as HC,_ as VC}from"./PO8p82Rr.js";import{_ as KC}from"./BNQxZ_tm.js";import{_ as ZC}from"./DyeV3m0g.js";import{_ as QC}from"./BJ65-qNi.js";import{_ as XC}from"./Bm0NU4n7.js";import"./tWSQ6YIe.js";var pd={},md={},He={};(function(e){var t=Fe&&Fe.__awaiter||function(he,ye,Z,D){return new(Z||(Z=Promise))(function(V,oe){function me(ze){try{Oe(D.next(ze))}catch(nt){oe(nt)}}function Le(ze){try{Oe(D.throw(ze))}catch(nt){oe(nt)}}function Oe(ze){ze.done?V(ze.value):new Z(function(nt){nt(ze.value)}).then(me,Le)}Oe((D=D.apply(he,ye||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.hashCodeInit=17;function n(he){let ye=0;for(let Z=0;Z<he.length;Z++){const D=he.charCodeAt(Z);ye=(ye<<5)-ye+D,ye=ye&ye}return ye}e.hashString=n;function i(he,ye){return he*31+(ye|0)|0}e.addHashCode=i;function r(he,ye){return he!==void 0?he:ye}e.withDefault=r;function u(he,ye){if(he!==void 0)return ye(he)}e.definedMap=u;function l(he,ye,Z){return r(u(he,Z),ye)}e.definedMapWithDefault=l;function d(he,ye){return he==null?!1:Object.prototype.hasOwnProperty.call(he,ye)}e.hasOwnProperty=d;function y(he,ye){for(const Z of he)if(ye(Z))return Z}e.iterableFind=y;function T(he,ye){for(const Z of he)if(!ye(Z))return!1;return!0}e.iterableEvery=T;function S(he,ye){for(const Z of he)if(ye(Z))return!0;return!1}e.iterableSome=S;function O(he){for(const ye of he)return ye}e.iterableFirst=O;function I(he){let ye;for(const Z of he)(ye===void 0||Z>ye)&&(ye=Z);return ye}e.iterableMax=I;function k(he,ye){let Z,D;for(const V of he){const oe=ye(V);(Z===void 0||oe<Z)&&(Z=oe,D=V)}return D}e.iterableMinBy=k;function P(he,ye,Z){let D=ye;for(const V of he)D=Z(D,V);return D}e.iterableReduce=P;function*m(he){let ye=0;for(const Z of he)yield[ye,Z],ye+=1}e.iterableEnumerate=m;function*C(he,ye){let Z=0;for(const D of he)Z>=ye?yield D:Z+=1}e.iterableSkip=C;function J(he,ye){const Z=he.length;if(!(ye>Z))return he[Z-ye]}e.arrayGetFromEnd=J;function x(he){return J(he,1)}e.arrayLast=x;function G(he){const ye=he.length;if(ye===0)throw new Error("Cannot pop empty array");return he.slice(0,ye-1)}e.arrayPop=G;function K(he,ye){const Z=[];for(const D of ye)Z.length>0&&Z.push(he),Z.push(D);return Z}e.arrayIntercalate=K;function U(he,ye){return t(this,void 0,void 0,function*(){const Z=[];let D=0;for(const V of he)Z.push(yield ye(V,D)),D+=1;return Z})}e.arrayMapSync=U;function R(he,ye){return he<ye?-1:he>ye?1:0}function A(he,ye){return he.sort((Z,D)=>R(ye(Z),ye(D)))}e.arraySortByInto=A;function b(he){return Array.isArray(he)?he:Array.from(he)}e.toReadonlyArray=b;function _(he,ye){const Z=new Map;for(const[D,V]of he)Z.set(D,ye(V,D));return Z}e.mapMap=_;function L(he){for(const ye of he.values())return ye}e.mapFirst=L;function g(he,ye){for(const Z of he.values())if(Z===ye)return!0;return!1}e.mapContains=g;function p(he,ye){for(const[Z,D]of he)if(ye(D,Z))return!0;return!1}e.mapSome=p;function a(he,ye){for(const[Z,D]of ye)he.set(Z,D);return he}e.mapMergeInto=a;function o(he,ye){const Z=new Map(he);return a(Z,ye),Z}e.mapMerge=o;function f(he,ye,Z){for(const[D,V]of Z){const oe=he.get(D),me=oe===void 0?V:ye(oe,V,D);he.set(D,me)}return he}e.mapMergeWithInto=f;function h(he,ye,Z){const D=new Map(he);return f(D,ye,Z),D}e.mapMergeWith=h;function w(he,ye){const Z=new Map;for(const[D,V]of he)ye(V,D)&&Z.set(D,V);return Z}e.mapFilter=w;function N(he,ye){const Z=new Map;for(const[D,V]of he){const oe=ye(V,D);oe!==void 0&&Z.set(D,oe)}return Z}e.mapFilterMap=N;function F(he,ye){return A(Array.from(he),([Z,D])=>ye(D,Z))}e.mapSortToArray=F;function B(he,ye){return new Map(F(he,ye))}e.mapSortBy=B;function W(he){return B(he,(ye,Z)=>Z)}e.mapSortByKey=W;function Q(he,ye){const Z=new Map;for(const[D,V]of he){const[oe,me]=ye(V,D);Z.set(oe,me)}return Z}e.mapMapEntries=Q;function z(he,ye,Z){return he.set(ye,Z(he.get(ye))),he}e.mapUpdateInto=z;function E(he){const ye=new Map;for(const Z of Object.getOwnPropertyNames(he))ye.set(Z,he[Z]);return ye}e.mapFromObject=E;function j(he){const ye={};for(const[Z,D]of he)ye[Z]=D;return ye}e.mapToObject=j;function X(he,ye){const Z=new Map;for(const D of he)Z.set(D,ye(D));return Z}e.mapFromIterable=X;function te(he,ye){for(const[Z,D]of he)if(ye(D,Z))return D}e.mapFind=te;function $(he){const ye=new Map;for(const Z of he)for(const[D,V]of Z){let oe=ye.get(D);oe===void 0&&(oe=[],ye.set(D,oe)),oe.push(V)}return ye}e.mapTranspose=$;function ne(he,ye){return t(this,void 0,void 0,function*(){const Z=new Map;for(const[D,V]of he)Z.set(D,yield ye(V,D));return Z})}e.mapMapSync=ne;function ce(he,ye){for(const Z of ye)if(!he.has(Z))return!1;return!0}e.setIsSuperset=ce;function Te(he,ye){for(const Z of ye)for(const D of Z)he.add(D);return he}e.setUnionManyInto=Te;function Ne(he,...ye){return Te(he,ye)}e.setUnionInto=Ne;function le(he,ye){const Z=new Set;for(const D of he)ye.has(D)&&Z.add(D);return Z}e.setIntersect=le;function fe(he,ye){const Z=new Set(he);for(const D of ye)Z.delete(D);return Z}e.setSubtract=fe;function _e(...he){const ye=new Set;return Ne(ye,...he),ye}e.setUnion=_e;function Y(he,ye){const Z=new Set;for(const D of he)Z.add(ye(D));return Z}e.setMap=Y;function M(he,ye){const Z=new Set;for(const D of he)ye(D)&&Z.add(D);return Z}e.setFilter=M;function q(he,ye){const Z=new Set;for(const D of he){const V=ye(D);V!==void 0&&Z.add(V)}return Z}e.setFilterMap=q;function ie(he,ye){return new Set(A(Array.from(he),ye))}e.setSortBy=ie;function ue(he,ye){const Z=new Map;for(const D of he){const V=ye(D);let oe=Z.get(V);oe===void 0&&(oe=new Set,Z.set(V,oe)),oe.add(D)}return Z}e.setGroupBy=ue;function ve(he){return he instanceof Set?he:new Set(he)}e.toReadonlySet=ve;class be{constructor(){this._map=new Map}set(ye,Z){let D=je(ye)|0;for(;;){const V=this._map.get(D);if(V===void 0){this._map.set(D,[ye,Z]);return}if(Me(ye,V[0])){V[1]=Z;return}D=D+1|0}}get(ye){let Z=je(ye)|0;for(;;){const D=this._map.get(Z);if(D===void 0)return;if(Me(ye,D[0]))return D[1];Z=Z+1|0}}has(ye){return this.get(ye)!==void 0}*values(){for(const[,[,ye]]of this._map)yield ye}}e.EqualityMap=be;function Me(he,ye){if(he===ye)return!0;if(he===void 0||ye===void 0||he===null||ye===null)return!1;if(typeof he.equals=="function"&&typeof ye.equals=="function")return he.equals(ye);if(he instanceof Set&&ye instanceof Set){if(he.size!==ye.size)return!1;for(const Z of he)if(!ye.has(Z))return!1;return!0}if(he instanceof Map&&ye instanceof Map){if(he.size!==ye.size)return!1;for(const[Z,D]of he){const V=ye.get(Z);if(!Me(D,V))return!1}return!0}if(Array.isArray(he)&&Array.isArray(ye)){const Z=he.length;if(Z!==ye.length)return!1;for(let D=0;D<Z;D++)if(!Me(he[D],ye[D]))return!1;return!0}return!1}e.areEqual=Me;function je(he){if(typeof he=="number")return he|0;if(typeof he=="string")return n(he);let ye=e.hashCodeInit;if(he===void 0)return ye;if(he===!0)return ye+1|0;if(he===!1)return ye+2|0;if(he===null)return ye+3|0;if(typeof he.hashCode=="function")return he.hashCode();if(he instanceof Set){for(const Z of he)ye+=je(Z);return ye}if(he instanceof Map){let Z=e.hashCodeInit;for(const[D,V]of he)Z+=je(D),ye+=je(V);return i(Z,ye)}if(Array.isArray(he)){for(const Z of he)ye=i(ye,je(Z));return ye}throw new Error(`Cannot hash ${he}`)}e.hashCodeOf=je})(He);var yd={},op={},gd={},Ie={},UT={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(typeof self<"u"?self:typeof window<"u"?window:typeof Fe<"u"?Fe:Fe,function(){var n="3.7.7",i=n,r=typeof Buffer=="function",u=typeof TextDecoder=="function"?new TextDecoder:void 0,l=typeof TextEncoder=="function"?new TextEncoder:void 0,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",y=Array.prototype.slice.call(d),T=function(j){var X={};return j.forEach(function(te,$){return X[te]=$}),X}(y),S=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,O=String.fromCharCode.bind(String),I=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):function(j){return new Uint8Array(Array.prototype.slice.call(j,0))},k=function(j){return j.replace(/=/g,"").replace(/[+\/]/g,function(X){return X=="+"?"-":"_"})},P=function(j){return j.replace(/[^A-Za-z0-9\+\/]/g,"")},m=function(j){for(var X,te,$,ne,ce="",Te=j.length%3,Ne=0;Ne<j.length;){if((te=j.charCodeAt(Ne++))>255||($=j.charCodeAt(Ne++))>255||(ne=j.charCodeAt(Ne++))>255)throw new TypeError("invalid character found");X=te<<16|$<<8|ne,ce+=y[X>>18&63]+y[X>>12&63]+y[X>>6&63]+y[X&63]}return Te?ce.slice(0,Te-3)+"===".substring(Te):ce},C=typeof btoa=="function"?function(j){return btoa(j)}:r?function(j){return Buffer.from(j,"binary").toString("base64")}:m,J=r?function(j){return Buffer.from(j).toString("base64")}:function(j){for(var X=4096,te=[],$=0,ne=j.length;$<ne;$+=X)te.push(O.apply(null,j.subarray($,$+X)));return C(te.join(""))},x=function(j,X){return X===void 0&&(X=!1),X?k(J(j)):J(j)},G=function(j){if(j.length<2){var X=j.charCodeAt(0);return X<128?j:X<2048?O(192|X>>>6)+O(128|X&63):O(224|X>>>12&15)+O(128|X>>>6&63)+O(128|X&63)}else{var X=65536+(j.charCodeAt(0)-55296)*1024+(j.charCodeAt(1)-56320);return O(240|X>>>18&7)+O(128|X>>>12&63)+O(128|X>>>6&63)+O(128|X&63)}},K=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,U=function(j){return j.replace(K,G)},R=r?function(j){return Buffer.from(j,"utf8").toString("base64")}:l?function(j){return J(l.encode(j))}:function(j){return C(U(j))},A=function(j,X){return X===void 0&&(X=!1),X?k(R(j)):R(j)},b=function(j){return A(j,!0)},_=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,L=function(j){switch(j.length){case 4:var X=(7&j.charCodeAt(0))<<18|(63&j.charCodeAt(1))<<12|(63&j.charCodeAt(2))<<6|63&j.charCodeAt(3),te=X-65536;return O((te>>>10)+55296)+O((te&1023)+56320);case 3:return O((15&j.charCodeAt(0))<<12|(63&j.charCodeAt(1))<<6|63&j.charCodeAt(2));default:return O((31&j.charCodeAt(0))<<6|63&j.charCodeAt(1))}},g=function(j){return j.replace(_,L)},p=function(j){if(j=j.replace(/\s+/g,""),!S.test(j))throw new TypeError("malformed base64.");j+="==".slice(2-(j.length&3));for(var X,te="",$,ne,ce=0;ce<j.length;)X=T[j.charAt(ce++)]<<18|T[j.charAt(ce++)]<<12|($=T[j.charAt(ce++)])<<6|(ne=T[j.charAt(ce++)]),te+=$===64?O(X>>16&255):ne===64?O(X>>16&255,X>>8&255):O(X>>16&255,X>>8&255,X&255);return te},a=typeof atob=="function"?function(j){return atob(P(j))}:r?function(j){return Buffer.from(j,"base64").toString("binary")}:p,o=r?function(j){return I(Buffer.from(j,"base64"))}:function(j){return I(a(j).split("").map(function(X){return X.charCodeAt(0)}))},f=function(j){return o(w(j))},h=r?function(j){return Buffer.from(j,"base64").toString("utf8")}:u?function(j){return u.decode(o(j))}:function(j){return g(a(j))},w=function(j){return P(j.replace(/[-_]/g,function(X){return X=="-"?"+":"/"}))},N=function(j){return h(w(j))},F=function(j){if(typeof j!="string")return!1;var X=j.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(X)||!/[^\s0-9a-zA-Z\-_]/.test(X)},B=function(j){return{value:j,enumerable:!1,writable:!0,configurable:!0}},W=function(){var j=function(X,te){return Object.defineProperty(String.prototype,X,B(te))};j("fromBase64",function(){return N(this)}),j("toBase64",function(X){return A(this,X)}),j("toBase64URI",function(){return A(this,!0)}),j("toBase64URL",function(){return A(this,!0)}),j("toUint8Array",function(){return f(this)})},Q=function(){var j=function(X,te){return Object.defineProperty(Uint8Array.prototype,X,B(te))};j("toBase64",function(X){return x(this,X)}),j("toBase64URI",function(){return x(this,!0)}),j("toBase64URL",function(){return x(this,!0)})},z=function(){W(),Q()},E={version:n,VERSION:i,atob:a,atobPolyfill:p,btoa:C,btoaPolyfill:m,fromBase64:N,toBase64:A,encode:A,encodeURI:b,encodeURL:b,utob:U,btou:g,decode:N,isValid:F,fromUint8Array:x,toUint8Array:f,extendString:W,extendUint8Array:Q,extendBuiltins:z};return E.Base64={},Object.keys(E).forEach(function(j){return E.Base64[j]=E[j]}),E})})(UT);var YC=UT.exports,br={};(function(e){var t=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function n(u,l){return Object.prototype.hasOwnProperty.call(u,l)}e.assign=function(u){for(var l=Array.prototype.slice.call(arguments,1);l.length;){var d=l.shift();if(d){if(typeof d!="object")throw new TypeError(d+"must be non-object");for(var y in d)n(d,y)&&(u[y]=d[y])}}return u},e.shrinkBuf=function(u,l){return u.length===l?u:u.subarray?u.subarray(0,l):(u.length=l,u)};var i={arraySet:function(u,l,d,y,T){if(l.subarray&&u.subarray){u.set(l.subarray(d,d+y),T);return}for(var S=0;S<y;S++)u[T+S]=l[d+S]},flattenChunks:function(u){var l,d,y,T,S,O;for(y=0,l=0,d=u.length;l<d;l++)y+=u[l].length;for(O=new Uint8Array(y),T=0,l=0,d=u.length;l<d;l++)S=u[l],O.set(S,T),T+=S.length;return O}},r={arraySet:function(u,l,d,y,T){for(var S=0;S<y;S++)u[T+S]=l[d+S]},flattenChunks:function(u){return[].concat.apply([],u)}};e.setTyped=function(u){u?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,i)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,r))},e.setTyped(t)})(br);var Za={},Wi={},xo={},$C=br,eA=4,eb=0,tb=1,tA=2;function Uo(e){for(var t=e.length;--t>=0;)e[t]=0}var nA=0,JT=1,iA=2,rA=3,sA=258,ap=29,Qa=256,xa=Qa+1+ap,ko=30,lp=19,zT=2*xa+1,Ts=15,bd=16,oA=7,up=256,WT=16,GT=17,qT=18,Lh=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Su=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],aA=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],HT=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],lA=512,or=new Array((xa+2)*2);Uo(or);var Pa=new Array(ko*2);Uo(Pa);var Ua=new Array(lA);Uo(Ua);var Ja=new Array(sA-rA+1);Uo(Ja);var cp=new Array(ap);Uo(cp);var Ru=new Array(ko);Uo(Ru);function Td(e,t,n,i,r){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=e&&e.length}var VT,KT,ZT;function Sd(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function QT(e){return e<256?Ua[e]:Ua[256+(e>>>7)]}function za(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function Fn(e,t,n){e.bi_valid>bd-n?(e.bi_buf|=t<<e.bi_valid&65535,za(e,e.bi_buf),e.bi_buf=t>>bd-e.bi_valid,e.bi_valid+=n-bd):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function ji(e,t,n){Fn(e,n[t*2],n[t*2+1])}function XT(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function uA(e){e.bi_valid===16?(za(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function cA(e,t){var n=t.dyn_tree,i=t.max_code,r=t.stat_desc.static_tree,u=t.stat_desc.has_stree,l=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,y=t.stat_desc.max_length,T,S,O,I,k,P,m=0;for(I=0;I<=Ts;I++)e.bl_count[I]=0;for(n[e.heap[e.heap_max]*2+1]=0,T=e.heap_max+1;T<zT;T++)S=e.heap[T],I=n[n[S*2+1]*2+1]+1,I>y&&(I=y,m++),n[S*2+1]=I,!(S>i)&&(e.bl_count[I]++,k=0,S>=d&&(k=l[S-d]),P=n[S*2],e.opt_len+=P*(I+k),u&&(e.static_len+=P*(r[S*2+1]+k)));if(m!==0){do{for(I=y-1;e.bl_count[I]===0;)I--;e.bl_count[I]--,e.bl_count[I+1]+=2,e.bl_count[y]--,m-=2}while(m>0);for(I=y;I!==0;I--)for(S=e.bl_count[I];S!==0;)O=e.heap[--T],!(O>i)&&(n[O*2+1]!==I&&(e.opt_len+=(I-n[O*2+1])*n[O*2],n[O*2+1]=I),S--)}}function YT(e,t,n){var i=new Array(Ts+1),r=0,u,l;for(u=1;u<=Ts;u++)i[u]=r=r+n[u-1]<<1;for(l=0;l<=t;l++){var d=e[l*2+1];d!==0&&(e[l*2]=XT(i[d]++,d))}}function fA(){var e,t,n,i,r,u=new Array(Ts+1);for(n=0,i=0;i<ap-1;i++)for(cp[i]=n,e=0;e<1<<Lh[i];e++)Ja[n++]=i;for(Ja[n-1]=i,r=0,i=0;i<16;i++)for(Ru[i]=r,e=0;e<1<<Su[i];e++)Ua[r++]=i;for(r>>=7;i<ko;i++)for(Ru[i]=r<<7,e=0;e<1<<Su[i]-7;e++)Ua[256+r++]=i;for(t=0;t<=Ts;t++)u[t]=0;for(e=0;e<=143;)or[e*2+1]=8,e++,u[8]++;for(;e<=255;)or[e*2+1]=9,e++,u[9]++;for(;e<=279;)or[e*2+1]=7,e++,u[7]++;for(;e<=287;)or[e*2+1]=8,e++,u[8]++;for(YT(or,xa+1,u),e=0;e<ko;e++)Pa[e*2+1]=5,Pa[e*2]=XT(e,5);VT=new Td(or,Lh,Qa+1,xa,Ts),KT=new Td(Pa,Su,0,ko,Ts),ZT=new Td(new Array(0),aA,0,lp,oA)}function $T(e){var t;for(t=0;t<xa;t++)e.dyn_ltree[t*2]=0;for(t=0;t<ko;t++)e.dyn_dtree[t*2]=0;for(t=0;t<lp;t++)e.bl_tree[t*2]=0;e.dyn_ltree[up*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function eS(e){e.bi_valid>8?za(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function dA(e,t,n,i){eS(e),i&&(za(e,n),za(e,~n)),$C.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function nb(e,t,n,i){var r=t*2,u=n*2;return e[r]<e[u]||e[r]===e[u]&&i[t]<=i[n]}function vd(e,t,n){for(var i=e.heap[n],r=n<<1;r<=e.heap_len&&(r<e.heap_len&&nb(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!nb(t,i,e.heap[r],e.depth));)e.heap[n]=e.heap[r],n=r,r<<=1;e.heap[n]=i}function ib(e,t,n){var i,r,u=0,l,d;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+u*2]<<8|e.pending_buf[e.d_buf+u*2+1],r=e.pending_buf[e.l_buf+u],u++,i===0?ji(e,r,t):(l=Ja[r],ji(e,l+Qa+1,t),d=Lh[l],d!==0&&(r-=cp[l],Fn(e,r,d)),i--,l=QT(i),ji(e,l,n),d=Su[l],d!==0&&(i-=Ru[l],Fn(e,i,d)));while(u<e.last_lit);ji(e,up,t)}function Nh(e,t){var n=t.dyn_tree,i=t.stat_desc.static_tree,r=t.stat_desc.has_stree,u=t.stat_desc.elems,l,d,y=-1,T;for(e.heap_len=0,e.heap_max=zT,l=0;l<u;l++)n[l*2]!==0?(e.heap[++e.heap_len]=y=l,e.depth[l]=0):n[l*2+1]=0;for(;e.heap_len<2;)T=e.heap[++e.heap_len]=y<2?++y:0,n[T*2]=1,e.depth[T]=0,e.opt_len--,r&&(e.static_len-=i[T*2+1]);for(t.max_code=y,l=e.heap_len>>1;l>=1;l--)vd(e,n,l);T=u;do l=e.heap[1],e.heap[1]=e.heap[e.heap_len--],vd(e,n,1),d=e.heap[1],e.heap[--e.heap_max]=l,e.heap[--e.heap_max]=d,n[T*2]=n[l*2]+n[d*2],e.depth[T]=(e.depth[l]>=e.depth[d]?e.depth[l]:e.depth[d])+1,n[l*2+1]=n[d*2+1]=T,e.heap[1]=T++,vd(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],cA(e,t),YT(n,y,e.bl_count)}function rb(e,t,n){var i,r=-1,u,l=t[0*2+1],d=0,y=7,T=4;for(l===0&&(y=138,T=3),t[(n+1)*2+1]=65535,i=0;i<=n;i++)u=l,l=t[(i+1)*2+1],!(++d<y&&u===l)&&(d<T?e.bl_tree[u*2]+=d:u!==0?(u!==r&&e.bl_tree[u*2]++,e.bl_tree[WT*2]++):d<=10?e.bl_tree[GT*2]++:e.bl_tree[qT*2]++,d=0,r=u,l===0?(y=138,T=3):u===l?(y=6,T=3):(y=7,T=4))}function sb(e,t,n){var i,r=-1,u,l=t[0*2+1],d=0,y=7,T=4;for(l===0&&(y=138,T=3),i=0;i<=n;i++)if(u=l,l=t[(i+1)*2+1],!(++d<y&&u===l)){if(d<T)do ji(e,u,e.bl_tree);while(--d!==0);else u!==0?(u!==r&&(ji(e,u,e.bl_tree),d--),ji(e,WT,e.bl_tree),Fn(e,d-3,2)):d<=10?(ji(e,GT,e.bl_tree),Fn(e,d-3,3)):(ji(e,qT,e.bl_tree),Fn(e,d-11,7));d=0,r=u,l===0?(y=138,T=3):u===l?(y=6,T=3):(y=7,T=4)}}function hA(e){var t;for(rb(e,e.dyn_ltree,e.l_desc.max_code),rb(e,e.dyn_dtree,e.d_desc.max_code),Nh(e,e.bl_desc),t=lp-1;t>=3&&e.bl_tree[HT[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function pA(e,t,n,i){var r;for(Fn(e,t-257,5),Fn(e,n-1,5),Fn(e,i-4,4),r=0;r<i;r++)Fn(e,e.bl_tree[HT[r]*2+1],3);sb(e,e.dyn_ltree,t-1),sb(e,e.dyn_dtree,n-1)}function mA(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return eb;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return tb;for(n=32;n<Qa;n++)if(e.dyn_ltree[n*2]!==0)return tb;return eb}var ob=!1;function yA(e){ob||(fA(),ob=!0),e.l_desc=new Sd(e.dyn_ltree,VT),e.d_desc=new Sd(e.dyn_dtree,KT),e.bl_desc=new Sd(e.bl_tree,ZT),e.bi_buf=0,e.bi_valid=0,$T(e)}function tS(e,t,n,i){Fn(e,(nA<<1)+(i?1:0),3),dA(e,t,n,!0)}function gA(e){Fn(e,JT<<1,3),ji(e,up,or),uA(e)}function bA(e,t,n,i){var r,u,l=0;e.level>0?(e.strm.data_type===tA&&(e.strm.data_type=mA(e)),Nh(e,e.l_desc),Nh(e,e.d_desc),l=hA(e),r=e.opt_len+3+7>>>3,u=e.static_len+3+7>>>3,u<=r&&(r=u)):r=u=n+5,n+4<=r&&t!==-1?tS(e,t,n,i):e.strategy===eA||u===r?(Fn(e,(JT<<1)+(i?1:0),3),ib(e,or,Pa)):(Fn(e,(iA<<1)+(i?1:0),3),pA(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),ib(e,e.dyn_ltree,e.dyn_dtree)),$T(e),i&&eS(e)}function TA(e,t,n){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=n&255,e.last_lit++,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(Ja[n]+Qa+1)*2]++,e.dyn_dtree[QT(t)*2]++),e.last_lit===e.lit_bufsize-1}xo._tr_init=yA;xo._tr_stored_block=tS;xo._tr_flush_block=bA;xo._tr_tally=TA;xo._tr_align=gA;function SA(e,t,n,i){for(var r=e&65535|0,u=e>>>16&65535|0,l=0;n!==0;){l=n>2e3?2e3:n,n-=l;do r=r+t[i++]|0,u=u+r|0;while(--l);r%=65521,u%=65521}return r|u<<16|0}var nS=SA;function vA(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var wA=vA();function _A(e,t,n,i){var r=wA,u=i+n;e^=-1;for(var l=i;l<u;l++)e=e>>>8^r[(e^t[l])&255];return e^-1}var iS=_A,fp={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Tn=br,ni=xo,rS=nS,Br=iS,LA=fp,xs=0,NA=1,kA=3,Gr=4,ab=5,Bi=0,lb=1,ii=-2,OA=-3,wd=-5,EA=-1,CA=1,au=2,AA=3,FA=4,PA=0,IA=2,Yu=8,MA=9,jA=15,BA=8,RA=29,DA=256,kh=DA+1+RA,xA=30,UA=19,JA=2*kh+1,zA=15,mt=3,Jr=258,gi=Jr+mt+1,WA=32,$u=42,Oh=69,vu=73,wu=91,_u=103,Ss=113,ka=666,$t=1,Xa=2,Cs=3,Jo=4,GA=3;function zr(e,t){return e.msg=LA[t],t}function ub(e){return(e<<1)-(e>4?9:0)}function Ur(e){for(var t=e.length;--t>=0;)e[t]=0}function Rr(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(Tn.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function an(e,t){ni._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Rr(e.strm)}function bt(e,t){e.pending_buf[e.pending++]=t}function ba(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function qA(e,t,n,i){var r=e.avail_in;return r>i&&(r=i),r===0?0:(e.avail_in-=r,Tn.arraySet(t,e.input,e.next_in,r,n),e.state.wrap===1?e.adler=rS(e.adler,t,r,n):e.state.wrap===2&&(e.adler=Br(e.adler,t,r,n)),e.next_in+=r,e.total_in+=r,r)}function sS(e,t){var n=e.max_chain_length,i=e.strstart,r,u,l=e.prev_length,d=e.nice_match,y=e.strstart>e.w_size-gi?e.strstart-(e.w_size-gi):0,T=e.window,S=e.w_mask,O=e.prev,I=e.strstart+Jr,k=T[i+l-1],P=T[i+l];e.prev_length>=e.good_match&&(n>>=2),d>e.lookahead&&(d=e.lookahead);do if(r=t,!(T[r+l]!==P||T[r+l-1]!==k||T[r]!==T[i]||T[++r]!==T[i+1])){i+=2,r++;do;while(T[++i]===T[++r]&&T[++i]===T[++r]&&T[++i]===T[++r]&&T[++i]===T[++r]&&T[++i]===T[++r]&&T[++i]===T[++r]&&T[++i]===T[++r]&&T[++i]===T[++r]&&i<I);if(u=Jr-(I-i),i=I-Jr,u>l){if(e.match_start=t,l=u,u>=d)break;k=T[i+l-1],P=T[i+l]}}while((t=O[t&S])>y&&--n!==0);return l<=e.lookahead?l:e.lookahead}function As(e){var t=e.w_size,n,i,r,u,l;do{if(u=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-gi)){Tn.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,n=i;do r=e.head[--n],e.head[n]=r>=t?r-t:0;while(--i);i=t,n=i;do r=e.prev[--n],e.prev[n]=r>=t?r-t:0;while(--i);u+=t}if(e.strm.avail_in===0)break;if(i=qA(e.strm,e.window,e.strstart+e.lookahead,u),e.lookahead+=i,e.lookahead+e.insert>=mt)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+mt-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<mt)););}while(e.lookahead<gi&&e.strm.avail_in!==0)}function HA(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(As(e),e.lookahead===0&&t===xs)return $t;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,an(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-gi&&(an(e,!1),e.strm.avail_out===0))return $t}return e.insert=0,t===Gr?(an(e,!0),e.strm.avail_out===0?Cs:Jo):(e.strstart>e.block_start&&(an(e,!1),e.strm.avail_out===0),$t)}function _d(e,t){for(var n,i;;){if(e.lookahead<gi){if(As(e),e.lookahead<gi&&t===xs)return $t;if(e.lookahead===0)break}if(n=0,e.lookahead>=mt&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+mt-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-gi&&(e.match_length=sS(e,n)),e.match_length>=mt)if(i=ni._tr_tally(e,e.strstart-e.match_start,e.match_length-mt),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=mt){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+mt-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else i=ni._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(an(e,!1),e.strm.avail_out===0))return $t}return e.insert=e.strstart<mt-1?e.strstart:mt-1,t===Gr?(an(e,!0),e.strm.avail_out===0?Cs:Jo):e.last_lit&&(an(e,!1),e.strm.avail_out===0)?$t:Xa}function fo(e,t){for(var n,i,r;;){if(e.lookahead<gi){if(As(e),e.lookahead<gi&&t===xs)return $t;if(e.lookahead===0)break}if(n=0,e.lookahead>=mt&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+mt-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=mt-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-gi&&(e.match_length=sS(e,n),e.match_length<=5&&(e.strategy===CA||e.match_length===mt&&e.strstart-e.match_start>4096)&&(e.match_length=mt-1)),e.prev_length>=mt&&e.match_length<=e.prev_length){r=e.strstart+e.lookahead-mt,i=ni._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-mt),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=r&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+mt-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=mt-1,e.strstart++,i&&(an(e,!1),e.strm.avail_out===0))return $t}else if(e.match_available){if(i=ni._tr_tally(e,0,e.window[e.strstart-1]),i&&an(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return $t}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=ni._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<mt-1?e.strstart:mt-1,t===Gr?(an(e,!0),e.strm.avail_out===0?Cs:Jo):e.last_lit&&(an(e,!1),e.strm.avail_out===0)?$t:Xa}function VA(e,t){for(var n,i,r,u,l=e.window;;){if(e.lookahead<=Jr){if(As(e),e.lookahead<=Jr&&t===xs)return $t;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=mt&&e.strstart>0&&(r=e.strstart-1,i=l[r],i===l[++r]&&i===l[++r]&&i===l[++r])){u=e.strstart+Jr;do;while(i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&r<u);e.match_length=Jr-(u-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=mt?(n=ni._tr_tally(e,1,e.match_length-mt),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=ni._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(an(e,!1),e.strm.avail_out===0))return $t}return e.insert=0,t===Gr?(an(e,!0),e.strm.avail_out===0?Cs:Jo):e.last_lit&&(an(e,!1),e.strm.avail_out===0)?$t:Xa}function KA(e,t){for(var n;;){if(e.lookahead===0&&(As(e),e.lookahead===0)){if(t===xs)return $t;break}if(e.match_length=0,n=ni._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(an(e,!1),e.strm.avail_out===0))return $t}return e.insert=0,t===Gr?(an(e,!0),e.strm.avail_out===0?Cs:Jo):e.last_lit&&(an(e,!1),e.strm.avail_out===0)?$t:Xa}function Ni(e,t,n,i,r){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=r}var So;So=[new Ni(0,0,0,0,HA),new Ni(4,4,8,4,_d),new Ni(4,5,16,8,_d),new Ni(4,6,32,32,_d),new Ni(4,4,16,16,fo),new Ni(8,16,32,32,fo),new Ni(8,16,128,128,fo),new Ni(8,32,128,256,fo),new Ni(32,128,258,1024,fo),new Ni(32,258,258,4096,fo)];function ZA(e){e.window_size=2*e.w_size,Ur(e.head),e.max_lazy_match=So[e.level].max_lazy,e.good_match=So[e.level].good_length,e.nice_match=So[e.level].nice_length,e.max_chain_length=So[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=mt-1,e.match_available=0,e.ins_h=0}function QA(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Yu,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Tn.Buf16(JA*2),this.dyn_dtree=new Tn.Buf16((2*xA+1)*2),this.bl_tree=new Tn.Buf16((2*UA+1)*2),Ur(this.dyn_ltree),Ur(this.dyn_dtree),Ur(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Tn.Buf16(zA+1),this.heap=new Tn.Buf16(2*kh+1),Ur(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Tn.Buf16(2*kh+1),Ur(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function oS(e){var t;return!e||!e.state?zr(e,ii):(e.total_in=e.total_out=0,e.data_type=IA,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?$u:Ss,e.adler=t.wrap===2?0:1,t.last_flush=xs,ni._tr_init(t),Bi)}function aS(e){var t=oS(e);return t===Bi&&ZA(e.state),t}function XA(e,t){return!e||!e.state||e.state.wrap!==2?ii:(e.state.gzhead=t,Bi)}function lS(e,t,n,i,r,u){if(!e)return ii;var l=1;if(t===EA&&(t=6),i<0?(l=0,i=-i):i>15&&(l=2,i-=16),r<1||r>MA||n!==Yu||i<8||i>15||t<0||t>9||u<0||u>FA)return zr(e,ii);i===8&&(i=9);var d=new QA;return e.state=d,d.strm=e,d.wrap=l,d.gzhead=null,d.w_bits=i,d.w_size=1<<d.w_bits,d.w_mask=d.w_size-1,d.hash_bits=r+7,d.hash_size=1<<d.hash_bits,d.hash_mask=d.hash_size-1,d.hash_shift=~~((d.hash_bits+mt-1)/mt),d.window=new Tn.Buf8(d.w_size*2),d.head=new Tn.Buf16(d.hash_size),d.prev=new Tn.Buf16(d.w_size),d.lit_bufsize=1<<r+6,d.pending_buf_size=d.lit_bufsize*4,d.pending_buf=new Tn.Buf8(d.pending_buf_size),d.d_buf=1*d.lit_bufsize,d.l_buf=3*d.lit_bufsize,d.level=t,d.strategy=u,d.method=n,aS(e)}function YA(e,t){return lS(e,t,Yu,jA,BA,PA)}function $A(e,t){var n,i,r,u;if(!e||!e.state||t>ab||t<0)return e?zr(e,ii):ii;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===ka&&t!==Gr)return zr(e,e.avail_out===0?wd:ii);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===$u)if(i.wrap===2)e.adler=0,bt(i,31),bt(i,139),bt(i,8),i.gzhead?(bt(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),bt(i,i.gzhead.time&255),bt(i,i.gzhead.time>>8&255),bt(i,i.gzhead.time>>16&255),bt(i,i.gzhead.time>>24&255),bt(i,i.level===9?2:i.strategy>=au||i.level<2?4:0),bt(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(bt(i,i.gzhead.extra.length&255),bt(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Br(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Oh):(bt(i,0),bt(i,0),bt(i,0),bt(i,0),bt(i,0),bt(i,i.level===9?2:i.strategy>=au||i.level<2?4:0),bt(i,GA),i.status=Ss);else{var l=Yu+(i.w_bits-8<<4)<<8,d=-1;i.strategy>=au||i.level<2?d=0:i.level<6?d=1:i.level===6?d=2:d=3,l|=d<<6,i.strstart!==0&&(l|=WA),l+=31-l%31,i.status=Ss,ba(i,l),i.strstart!==0&&(ba(i,e.adler>>>16),ba(i,e.adler&65535)),e.adler=1}if(i.status===Oh)if(i.gzhead.extra){for(r=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Br(e.adler,i.pending_buf,i.pending-r,r)),Rr(e),r=i.pending,i.pending===i.pending_buf_size));)bt(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>r&&(e.adler=Br(e.adler,i.pending_buf,i.pending-r,r)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=vu)}else i.status=vu;if(i.status===vu)if(i.gzhead.name){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Br(e.adler,i.pending_buf,i.pending-r,r)),Rr(e),r=i.pending,i.pending===i.pending_buf_size)){u=1;break}i.gzindex<i.gzhead.name.length?u=i.gzhead.name.charCodeAt(i.gzindex++)&255:u=0,bt(i,u)}while(u!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Br(e.adler,i.pending_buf,i.pending-r,r)),u===0&&(i.gzindex=0,i.status=wu)}else i.status=wu;if(i.status===wu)if(i.gzhead.comment){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Br(e.adler,i.pending_buf,i.pending-r,r)),Rr(e),r=i.pending,i.pending===i.pending_buf_size)){u=1;break}i.gzindex<i.gzhead.comment.length?u=i.gzhead.comment.charCodeAt(i.gzindex++)&255:u=0,bt(i,u)}while(u!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Br(e.adler,i.pending_buf,i.pending-r,r)),u===0&&(i.status=_u)}else i.status=_u;if(i.status===_u&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&Rr(e),i.pending+2<=i.pending_buf_size&&(bt(i,e.adler&255),bt(i,e.adler>>8&255),e.adler=0,i.status=Ss)):i.status=Ss),i.pending!==0){if(Rr(e),e.avail_out===0)return i.last_flush=-1,Bi}else if(e.avail_in===0&&ub(t)<=ub(n)&&t!==Gr)return zr(e,wd);if(i.status===ka&&e.avail_in!==0)return zr(e,wd);if(e.avail_in!==0||i.lookahead!==0||t!==xs&&i.status!==ka){var y=i.strategy===au?KA(i,t):i.strategy===AA?VA(i,t):So[i.level].func(i,t);if((y===Cs||y===Jo)&&(i.status=ka),y===$t||y===Cs)return e.avail_out===0&&(i.last_flush=-1),Bi;if(y===Xa&&(t===NA?ni._tr_align(i):t!==ab&&(ni._tr_stored_block(i,0,0,!1),t===kA&&(Ur(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),Rr(e),e.avail_out===0))return i.last_flush=-1,Bi}return t!==Gr?Bi:i.wrap<=0?lb:(i.wrap===2?(bt(i,e.adler&255),bt(i,e.adler>>8&255),bt(i,e.adler>>16&255),bt(i,e.adler>>24&255),bt(i,e.total_in&255),bt(i,e.total_in>>8&255),bt(i,e.total_in>>16&255),bt(i,e.total_in>>24&255)):(ba(i,e.adler>>>16),ba(i,e.adler&65535)),Rr(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Bi:lb)}function eF(e){var t;return!e||!e.state?ii:(t=e.state.status,t!==$u&&t!==Oh&&t!==vu&&t!==wu&&t!==_u&&t!==Ss&&t!==ka?zr(e,ii):(e.state=null,t===Ss?zr(e,OA):Bi))}function tF(e,t){var n=t.length,i,r,u,l,d,y,T,S;if(!e||!e.state||(i=e.state,l=i.wrap,l===2||l===1&&i.status!==$u||i.lookahead))return ii;for(l===1&&(e.adler=rS(e.adler,t,n,0)),i.wrap=0,n>=i.w_size&&(l===0&&(Ur(i.head),i.strstart=0,i.block_start=0,i.insert=0),S=new Tn.Buf8(i.w_size),Tn.arraySet(S,t,n-i.w_size,i.w_size,0),t=S,n=i.w_size),d=e.avail_in,y=e.next_in,T=e.input,e.avail_in=n,e.next_in=0,e.input=t,As(i);i.lookahead>=mt;){r=i.strstart,u=i.lookahead-(mt-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[r+mt-1])&i.hash_mask,i.prev[r&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=r,r++;while(--u);i.strstart=r,i.lookahead=mt-1,As(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=mt-1,i.match_available=0,e.next_in=y,e.input=T,e.avail_in=d,i.wrap=l,Bi}Wi.deflateInit=YA;Wi.deflateInit2=lS;Wi.deflateReset=aS;Wi.deflateResetKeep=oS;Wi.deflateSetHeader=XA;Wi.deflate=$A;Wi.deflateEnd=eF;Wi.deflateSetDictionary=tF;Wi.deflateInfo="pako deflate (from Nodeca project)";var Us={},ec=br,uS=!0,cS=!0;try{String.fromCharCode.apply(null,[0])}catch{uS=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{cS=!1}var Wa=new ec.Buf8(256);for(var Ir=0;Ir<256;Ir++)Wa[Ir]=Ir>=252?6:Ir>=248?5:Ir>=240?4:Ir>=224?3:Ir>=192?2:1;Wa[254]=Wa[254]=1;Us.string2buf=function(e){var t,n,i,r,u,l=e.length,d=0;for(r=0;r<l;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<l&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),d+=n<128?1:n<2048?2:n<65536?3:4;for(t=new ec.Buf8(d),u=0,r=0;u<d;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<l&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),n<128?t[u++]=n:n<2048?(t[u++]=192|n>>>6,t[u++]=128|n&63):n<65536?(t[u++]=224|n>>>12,t[u++]=128|n>>>6&63,t[u++]=128|n&63):(t[u++]=240|n>>>18,t[u++]=128|n>>>12&63,t[u++]=128|n>>>6&63,t[u++]=128|n&63);return t};function fS(e,t){if(t<65534&&(e.subarray&&cS||!e.subarray&&uS))return String.fromCharCode.apply(null,ec.shrinkBuf(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}Us.buf2binstring=function(e){return fS(e,e.length)};Us.binstring2buf=function(e){for(var t=new ec.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t};Us.buf2string=function(e,t){var n,i,r,u,l=t||e.length,d=new Array(l*2);for(i=0,n=0;n<l;){if(r=e[n++],r<128){d[i++]=r;continue}if(u=Wa[r],u>4){d[i++]=65533,n+=u-1;continue}for(r&=u===2?31:u===3?15:7;u>1&&n<l;)r=r<<6|e[n++]&63,u--;if(u>1){d[i++]=65533;continue}r<65536?d[i++]=r:(r-=65536,d[i++]=55296|r>>10&1023,d[i++]=56320|r&1023)}return fS(d,i)};Us.utf8border=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+Wa[e[n]]>t?n:t};function nF(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var dS=nF,Ia=Wi,Ma=br,Eh=Us,Ch=fp,iF=dS,hS=Object.prototype.toString,rF=0,Ld=4,Oo=0,cb=1,fb=2,sF=-1,oF=0,aF=8;function Fs(e){if(!(this instanceof Fs))return new Fs(e);this.options=Ma.assign({level:sF,method:aF,chunkSize:16384,windowBits:15,memLevel:8,strategy:oF,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new iF,this.strm.avail_out=0;var n=Ia.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==Oo)throw new Error(Ch[n]);if(t.header&&Ia.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=Eh.string2buf(t.dictionary):hS.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,n=Ia.deflateSetDictionary(this.strm,i),n!==Oo)throw new Error(Ch[n]);this._dict_set=!0}}Fs.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r,u;if(this.ended)return!1;u=t===~~t?t:t===!0?Ld:rF,typeof e=="string"?n.input=Eh.string2buf(e):hS.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new Ma.Buf8(i),n.next_out=0,n.avail_out=i),r=Ia.deflate(n,u),r!==cb&&r!==Oo)return this.onEnd(r),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(u===Ld||u===fb))&&(this.options.to==="string"?this.onData(Eh.buf2binstring(Ma.shrinkBuf(n.output,n.next_out))):this.onData(Ma.shrinkBuf(n.output,n.next_out)))}while((n.avail_in>0||n.avail_out===0)&&r!==cb);return u===Ld?(r=Ia.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===Oo):(u===fb&&(this.onEnd(Oo),n.avail_out=0),!0)};Fs.prototype.onData=function(e){this.chunks.push(e)};Fs.prototype.onEnd=function(e){e===Oo&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ma.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function dp(e,t){var n=new Fs(t);if(n.push(e,!0),n.err)throw n.msg||Ch[n.err];return n.result}function lF(e,t){return t=t||{},t.raw=!0,dp(e,t)}function uF(e,t){return t=t||{},t.gzip=!0,dp(e,t)}Za.Deflate=Fs;Za.deflate=dp;Za.deflateRaw=lF;Za.gzip=uF;var Ya={},Ti={},lu=30,cF=12,fF=function(t,n){var i,r,u,l,d,y,T,S,O,I,k,P,m,C,J,x,G,K,U,R,A,b,_,L,g;i=t.state,r=t.next_in,L=t.input,u=r+(t.avail_in-5),l=t.next_out,g=t.output,d=l-(n-t.avail_out),y=l+(t.avail_out-257),T=i.dmax,S=i.wsize,O=i.whave,I=i.wnext,k=i.window,P=i.hold,m=i.bits,C=i.lencode,J=i.distcode,x=(1<<i.lenbits)-1,G=(1<<i.distbits)-1;e:do{m<15&&(P+=L[r++]<<m,m+=8,P+=L[r++]<<m,m+=8),K=C[P&x];t:for(;;){if(U=K>>>24,P>>>=U,m-=U,U=K>>>16&255,U===0)g[l++]=K&65535;else if(U&16){R=K&65535,U&=15,U&&(m<U&&(P+=L[r++]<<m,m+=8),R+=P&(1<<U)-1,P>>>=U,m-=U),m<15&&(P+=L[r++]<<m,m+=8,P+=L[r++]<<m,m+=8),K=J[P&G];n:for(;;){if(U=K>>>24,P>>>=U,m-=U,U=K>>>16&255,U&16){if(A=K&65535,U&=15,m<U&&(P+=L[r++]<<m,m+=8,m<U&&(P+=L[r++]<<m,m+=8)),A+=P&(1<<U)-1,A>T){t.msg="invalid distance too far back",i.mode=lu;break e}if(P>>>=U,m-=U,U=l-d,A>U){if(U=A-U,U>O&&i.sane){t.msg="invalid distance too far back",i.mode=lu;break e}if(b=0,_=k,I===0){if(b+=S-U,U<R){R-=U;do g[l++]=k[b++];while(--U);b=l-A,_=g}}else if(I<U){if(b+=S+I-U,U-=I,U<R){R-=U;do g[l++]=k[b++];while(--U);if(b=0,I<R){U=I,R-=U;do g[l++]=k[b++];while(--U);b=l-A,_=g}}}else if(b+=I-U,U<R){R-=U;do g[l++]=k[b++];while(--U);b=l-A,_=g}for(;R>2;)g[l++]=_[b++],g[l++]=_[b++],g[l++]=_[b++],R-=3;R&&(g[l++]=_[b++],R>1&&(g[l++]=_[b++]))}else{b=l-A;do g[l++]=g[b++],g[l++]=g[b++],g[l++]=g[b++],R-=3;while(R>2);R&&(g[l++]=g[b++],R>1&&(g[l++]=g[b++]))}}else if(U&64){t.msg="invalid distance code",i.mode=lu;break e}else{K=J[(K&65535)+(P&(1<<U)-1)];continue n}break}}else if(U&64)if(U&32){i.mode=cF;break e}else{t.msg="invalid literal/length code",i.mode=lu;break e}else{K=C[(K&65535)+(P&(1<<U)-1)];continue t}break}}while(r<u&&l<y);R=m>>3,r-=R,m-=R<<3,P&=(1<<m)-1,t.next_in=r,t.next_out=l,t.avail_in=r<u?5+(u-r):5-(r-u),t.avail_out=l<y?257+(y-l):257-(l-y),i.hold=P,i.bits=m},db=br,ho=15,hb=852,pb=592,mb=0,Nd=1,yb=2,dF=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],hF=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],pF=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],mF=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],yF=function(t,n,i,r,u,l,d,y){var T=y.bits,S=0,O=0,I=0,k=0,P=0,m=0,C=0,J=0,x=0,G=0,K,U,R,A,b,_=null,L=0,g,p=new db.Buf16(ho+1),a=new db.Buf16(ho+1),o=null,f=0,h,w,N;for(S=0;S<=ho;S++)p[S]=0;for(O=0;O<r;O++)p[n[i+O]]++;for(P=T,k=ho;k>=1&&p[k]===0;k--);if(P>k&&(P=k),k===0)return u[l++]=1<<24|64<<16|0,u[l++]=1<<24|64<<16|0,y.bits=1,0;for(I=1;I<k&&p[I]===0;I++);for(P<I&&(P=I),J=1,S=1;S<=ho;S++)if(J<<=1,J-=p[S],J<0)return-1;if(J>0&&(t===mb||k!==1))return-1;for(a[1]=0,S=1;S<ho;S++)a[S+1]=a[S]+p[S];for(O=0;O<r;O++)n[i+O]!==0&&(d[a[n[i+O]]++]=O);if(t===mb?(_=o=d,g=19):t===Nd?(_=dF,L-=257,o=hF,f-=257,g=256):(_=pF,o=mF,g=-1),G=0,O=0,S=I,b=l,m=P,C=0,R=-1,x=1<<P,A=x-1,t===Nd&&x>hb||t===yb&&x>pb)return 1;for(;;){h=S-C,d[O]<g?(w=0,N=d[O]):d[O]>g?(w=o[f+d[O]],N=_[L+d[O]]):(w=96,N=0),K=1<<S-C,U=1<<m,I=U;do U-=K,u[b+(G>>C)+U]=h<<24|w<<16|N|0;while(U!==0);for(K=1<<S-1;G&K;)K>>=1;if(K!==0?(G&=K-1,G+=K):G=0,O++,--p[S]===0){if(S===k)break;S=n[i+d[O]]}if(S>P&&(G&A)!==R){for(C===0&&(C=P),b+=I,m=S-C,J=1<<m;m+C<k&&(J-=p[m+C],!(J<=0));)m++,J<<=1;if(x+=1<<m,t===Nd&&x>hb||t===yb&&x>pb)return 1;R=G&A,u[R]=P<<24|m<<16|b-l|0}}return G!==0&&(u[b+G]=S-C<<24|64<<16|0),y.bits=P,0},Gn=br,Ah=nS,ki=iS,gF=fF,ja=yF,bF=0,pS=1,mS=2,gb=4,TF=5,uu=6,Ps=0,SF=1,vF=2,si=-2,yS=-3,gS=-4,wF=-5,bb=8,bS=1,Tb=2,Sb=3,vb=4,wb=5,_b=6,Lb=7,Nb=8,kb=9,Ob=10,Du=11,nr=12,kd=13,Eb=14,Od=15,Cb=16,Ab=17,Fb=18,Pb=19,cu=20,fu=21,Ib=22,Mb=23,jb=24,Bb=25,Rb=26,Ed=27,Db=28,xb=29,It=30,TS=31,_F=32,LF=852,NF=592,kF=15,OF=kF;function Ub(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function EF(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Gn.Buf16(320),this.work=new Gn.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function SS(e){var t;return!e||!e.state?si:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=bS,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Gn.Buf32(LF),t.distcode=t.distdyn=new Gn.Buf32(NF),t.sane=1,t.back=-1,Ps)}function vS(e){var t;return!e||!e.state?si:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,SS(e))}function wS(e,t){var n,i;return!e||!e.state||(i=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?si:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,vS(e))}function _S(e,t){var n,i;return e?(i=new EF,e.state=i,i.window=null,n=wS(e,t),n!==Ps&&(e.state=null),n):si}function CF(e){return _S(e,OF)}var Jb=!0,Cd,Ad;function AF(e){if(Jb){var t;for(Cd=new Gn.Buf32(512),Ad=new Gn.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(ja(pS,e.lens,0,288,Cd,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;ja(mS,e.lens,0,32,Ad,0,e.work,{bits:5}),Jb=!1}e.lencode=Cd,e.lenbits=9,e.distcode=Ad,e.distbits=5}function LS(e,t,n,i){var r,u=e.state;return u.window===null&&(u.wsize=1<<u.wbits,u.wnext=0,u.whave=0,u.window=new Gn.Buf8(u.wsize)),i>=u.wsize?(Gn.arraySet(u.window,t,n-u.wsize,u.wsize,0),u.wnext=0,u.whave=u.wsize):(r=u.wsize-u.wnext,r>i&&(r=i),Gn.arraySet(u.window,t,n-i,r,u.wnext),i-=r,i?(Gn.arraySet(u.window,t,n-i,i,0),u.wnext=i,u.whave=u.wsize):(u.wnext+=r,u.wnext===u.wsize&&(u.wnext=0),u.whave<u.wsize&&(u.whave+=r))),0}function FF(e,t){var n,i,r,u,l,d,y,T,S,O,I,k,P,m,C=0,J,x,G,K,U,R,A,b,_=new Gn.Buf8(4),L,g,p=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return si;n=e.state,n.mode===nr&&(n.mode=kd),l=e.next_out,r=e.output,y=e.avail_out,u=e.next_in,i=e.input,d=e.avail_in,T=n.hold,S=n.bits,O=d,I=y,b=Ps;e:for(;;)switch(n.mode){case bS:if(n.wrap===0){n.mode=kd;break}for(;S<16;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}if(n.wrap&2&&T===35615){n.check=0,_[0]=T&255,_[1]=T>>>8&255,n.check=ki(n.check,_,2,0),T=0,S=0,n.mode=Tb;break}if(n.flags=0,n.head&&(n.head.done=!1),!(n.wrap&1)||(((T&255)<<8)+(T>>8))%31){e.msg="incorrect header check",n.mode=It;break}if((T&15)!==bb){e.msg="unknown compression method",n.mode=It;break}if(T>>>=4,S-=4,A=(T&15)+8,n.wbits===0)n.wbits=A;else if(A>n.wbits){e.msg="invalid window size",n.mode=It;break}n.dmax=1<<A,e.adler=n.check=1,n.mode=T&512?Ob:nr,T=0,S=0;break;case Tb:for(;S<16;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}if(n.flags=T,(n.flags&255)!==bb){e.msg="unknown compression method",n.mode=It;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=It;break}n.head&&(n.head.text=T>>8&1),n.flags&512&&(_[0]=T&255,_[1]=T>>>8&255,n.check=ki(n.check,_,2,0)),T=0,S=0,n.mode=Sb;case Sb:for(;S<32;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}n.head&&(n.head.time=T),n.flags&512&&(_[0]=T&255,_[1]=T>>>8&255,_[2]=T>>>16&255,_[3]=T>>>24&255,n.check=ki(n.check,_,4,0)),T=0,S=0,n.mode=vb;case vb:for(;S<16;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}n.head&&(n.head.xflags=T&255,n.head.os=T>>8),n.flags&512&&(_[0]=T&255,_[1]=T>>>8&255,n.check=ki(n.check,_,2,0)),T=0,S=0,n.mode=wb;case wb:if(n.flags&1024){for(;S<16;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}n.length=T,n.head&&(n.head.extra_len=T),n.flags&512&&(_[0]=T&255,_[1]=T>>>8&255,n.check=ki(n.check,_,2,0)),T=0,S=0}else n.head&&(n.head.extra=null);n.mode=_b;case _b:if(n.flags&1024&&(k=n.length,k>d&&(k=d),k&&(n.head&&(A=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Gn.arraySet(n.head.extra,i,u,k,A)),n.flags&512&&(n.check=ki(n.check,i,k,u)),d-=k,u+=k,n.length-=k),n.length))break e;n.length=0,n.mode=Lb;case Lb:if(n.flags&2048){if(d===0)break e;k=0;do A=i[u+k++],n.head&&A&&n.length<65536&&(n.head.name+=String.fromCharCode(A));while(A&&k<d);if(n.flags&512&&(n.check=ki(n.check,i,k,u)),d-=k,u+=k,A)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=Nb;case Nb:if(n.flags&4096){if(d===0)break e;k=0;do A=i[u+k++],n.head&&A&&n.length<65536&&(n.head.comment+=String.fromCharCode(A));while(A&&k<d);if(n.flags&512&&(n.check=ki(n.check,i,k,u)),d-=k,u+=k,A)break e}else n.head&&(n.head.comment=null);n.mode=kb;case kb:if(n.flags&512){for(;S<16;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}if(T!==(n.check&65535)){e.msg="header crc mismatch",n.mode=It;break}T=0,S=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=nr;break;case Ob:for(;S<32;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}e.adler=n.check=Ub(T),T=0,S=0,n.mode=Du;case Du:if(n.havedict===0)return e.next_out=l,e.avail_out=y,e.next_in=u,e.avail_in=d,n.hold=T,n.bits=S,vF;e.adler=n.check=1,n.mode=nr;case nr:if(t===TF||t===uu)break e;case kd:if(n.last){T>>>=S&7,S-=S&7,n.mode=Ed;break}for(;S<3;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}switch(n.last=T&1,T>>>=1,S-=1,T&3){case 0:n.mode=Eb;break;case 1:if(AF(n),n.mode=cu,t===uu){T>>>=2,S-=2;break e}break;case 2:n.mode=Ab;break;case 3:e.msg="invalid block type",n.mode=It}T>>>=2,S-=2;break;case Eb:for(T>>>=S&7,S-=S&7;S<32;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}if((T&65535)!==(T>>>16^65535)){e.msg="invalid stored block lengths",n.mode=It;break}if(n.length=T&65535,T=0,S=0,n.mode=Od,t===uu)break e;case Od:n.mode=Cb;case Cb:if(k=n.length,k){if(k>d&&(k=d),k>y&&(k=y),k===0)break e;Gn.arraySet(r,i,u,k,l),d-=k,u+=k,y-=k,l+=k,n.length-=k;break}n.mode=nr;break;case Ab:for(;S<14;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}if(n.nlen=(T&31)+257,T>>>=5,S-=5,n.ndist=(T&31)+1,T>>>=5,S-=5,n.ncode=(T&15)+4,T>>>=4,S-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=It;break}n.have=0,n.mode=Fb;case Fb:for(;n.have<n.ncode;){for(;S<3;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}n.lens[p[n.have++]]=T&7,T>>>=3,S-=3}for(;n.have<19;)n.lens[p[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,L={bits:n.lenbits},b=ja(bF,n.lens,0,19,n.lencode,0,n.work,L),n.lenbits=L.bits,b){e.msg="invalid code lengths set",n.mode=It;break}n.have=0,n.mode=Pb;case Pb:for(;n.have<n.nlen+n.ndist;){for(;C=n.lencode[T&(1<<n.lenbits)-1],J=C>>>24,x=C>>>16&255,G=C&65535,!(J<=S);){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}if(G<16)T>>>=J,S-=J,n.lens[n.have++]=G;else{if(G===16){for(g=J+2;S<g;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}if(T>>>=J,S-=J,n.have===0){e.msg="invalid bit length repeat",n.mode=It;break}A=n.lens[n.have-1],k=3+(T&3),T>>>=2,S-=2}else if(G===17){for(g=J+3;S<g;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}T>>>=J,S-=J,A=0,k=3+(T&7),T>>>=3,S-=3}else{for(g=J+7;S<g;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}T>>>=J,S-=J,A=0,k=11+(T&127),T>>>=7,S-=7}if(n.have+k>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=It;break}for(;k--;)n.lens[n.have++]=A}}if(n.mode===It)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=It;break}if(n.lenbits=9,L={bits:n.lenbits},b=ja(pS,n.lens,0,n.nlen,n.lencode,0,n.work,L),n.lenbits=L.bits,b){e.msg="invalid literal/lengths set",n.mode=It;break}if(n.distbits=6,n.distcode=n.distdyn,L={bits:n.distbits},b=ja(mS,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L),n.distbits=L.bits,b){e.msg="invalid distances set",n.mode=It;break}if(n.mode=cu,t===uu)break e;case cu:n.mode=fu;case fu:if(d>=6&&y>=258){e.next_out=l,e.avail_out=y,e.next_in=u,e.avail_in=d,n.hold=T,n.bits=S,gF(e,I),l=e.next_out,r=e.output,y=e.avail_out,u=e.next_in,i=e.input,d=e.avail_in,T=n.hold,S=n.bits,n.mode===nr&&(n.back=-1);break}for(n.back=0;C=n.lencode[T&(1<<n.lenbits)-1],J=C>>>24,x=C>>>16&255,G=C&65535,!(J<=S);){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}if(x&&!(x&240)){for(K=J,U=x,R=G;C=n.lencode[R+((T&(1<<K+U)-1)>>K)],J=C>>>24,x=C>>>16&255,G=C&65535,!(K+J<=S);){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}T>>>=K,S-=K,n.back+=K}if(T>>>=J,S-=J,n.back+=J,n.length=G,x===0){n.mode=Rb;break}if(x&32){n.back=-1,n.mode=nr;break}if(x&64){e.msg="invalid literal/length code",n.mode=It;break}n.extra=x&15,n.mode=Ib;case Ib:if(n.extra){for(g=n.extra;S<g;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}n.length+=T&(1<<n.extra)-1,T>>>=n.extra,S-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=Mb;case Mb:for(;C=n.distcode[T&(1<<n.distbits)-1],J=C>>>24,x=C>>>16&255,G=C&65535,!(J<=S);){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}if(!(x&240)){for(K=J,U=x,R=G;C=n.distcode[R+((T&(1<<K+U)-1)>>K)],J=C>>>24,x=C>>>16&255,G=C&65535,!(K+J<=S);){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}T>>>=K,S-=K,n.back+=K}if(T>>>=J,S-=J,n.back+=J,x&64){e.msg="invalid distance code",n.mode=It;break}n.offset=G,n.extra=x&15,n.mode=jb;case jb:if(n.extra){for(g=n.extra;S<g;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}n.offset+=T&(1<<n.extra)-1,T>>>=n.extra,S-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=It;break}n.mode=Bb;case Bb:if(y===0)break e;if(k=I-y,n.offset>k){if(k=n.offset-k,k>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=It;break}k>n.wnext?(k-=n.wnext,P=n.wsize-k):P=n.wnext-k,k>n.length&&(k=n.length),m=n.window}else m=r,P=l-n.offset,k=n.length;k>y&&(k=y),y-=k,n.length-=k;do r[l++]=m[P++];while(--k);n.length===0&&(n.mode=fu);break;case Rb:if(y===0)break e;r[l++]=n.length,y--,n.mode=fu;break;case Ed:if(n.wrap){for(;S<32;){if(d===0)break e;d--,T|=i[u++]<<S,S+=8}if(I-=y,e.total_out+=I,n.total+=I,I&&(e.adler=n.check=n.flags?ki(n.check,r,I,l-I):Ah(n.check,r,I,l-I)),I=y,(n.flags?T:Ub(T))!==n.check){e.msg="incorrect data check",n.mode=It;break}T=0,S=0}n.mode=Db;case Db:if(n.wrap&&n.flags){for(;S<32;){if(d===0)break e;d--,T+=i[u++]<<S,S+=8}if(T!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=It;break}T=0,S=0}n.mode=xb;case xb:b=SF;break e;case It:b=yS;break e;case TS:return gS;case _F:default:return si}return e.next_out=l,e.avail_out=y,e.next_in=u,e.avail_in=d,n.hold=T,n.bits=S,(n.wsize||I!==e.avail_out&&n.mode<It&&(n.mode<Ed||t!==gb))&&LS(e,e.output,e.next_out,I-e.avail_out),O-=e.avail_in,I-=e.avail_out,e.total_in+=O,e.total_out+=I,n.total+=I,n.wrap&&I&&(e.adler=n.check=n.flags?ki(n.check,r,I,e.next_out-I):Ah(n.check,r,I,e.next_out-I)),e.data_type=n.bits+(n.last?64:0)+(n.mode===nr?128:0)+(n.mode===cu||n.mode===Od?256:0),(O===0&&I===0||t===gb)&&b===Ps&&(b=wF),b}function PF(e){if(!e||!e.state)return si;var t=e.state;return t.window&&(t.window=null),e.state=null,Ps}function IF(e,t){var n;return!e||!e.state||(n=e.state,!(n.wrap&2))?si:(n.head=t,t.done=!1,Ps)}function MF(e,t){var n=t.length,i,r,u;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==Du)?si:i.mode===Du&&(r=1,r=Ah(r,t,n,0),r!==i.check)?yS:(u=LS(e,t,n,n),u?(i.mode=TS,gS):(i.havedict=1,Ps))}Ti.inflateReset=vS;Ti.inflateReset2=wS;Ti.inflateResetKeep=SS;Ti.inflateInit=CF;Ti.inflateInit2=_S;Ti.inflate=FF;Ti.inflateEnd=PF;Ti.inflateGetHeader=IF;Ti.inflateSetDictionary=MF;Ti.inflateInfo="pako inflate (from Nodeca project)";var NS={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};function jF(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var BF=jF,Eo=Ti,Ba=br,Lu=Us,Ht=NS,Fh=fp,RF=dS,DF=BF,kS=Object.prototype.toString;function Is(e){if(!(this instanceof Is))return new Is(e);this.options=Ba.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new RF,this.strm.avail_out=0;var n=Eo.inflateInit2(this.strm,t.windowBits);if(n!==Ht.Z_OK)throw new Error(Fh[n]);if(this.header=new DF,Eo.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Lu.string2buf(t.dictionary):kS.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=Eo.inflateSetDictionary(this.strm,t.dictionary),n!==Ht.Z_OK)))throw new Error(Fh[n])}Is.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r=this.options.dictionary,u,l,d,y,T,S=!1;if(this.ended)return!1;l=t===~~t?t:t===!0?Ht.Z_FINISH:Ht.Z_NO_FLUSH,typeof e=="string"?n.input=Lu.binstring2buf(e):kS.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new Ba.Buf8(i),n.next_out=0,n.avail_out=i),u=Eo.inflate(n,Ht.Z_NO_FLUSH),u===Ht.Z_NEED_DICT&&r&&(u=Eo.inflateSetDictionary(this.strm,r)),u===Ht.Z_BUF_ERROR&&S===!0&&(u=Ht.Z_OK,S=!1),u!==Ht.Z_STREAM_END&&u!==Ht.Z_OK)return this.onEnd(u),this.ended=!0,!1;n.next_out&&(n.avail_out===0||u===Ht.Z_STREAM_END||n.avail_in===0&&(l===Ht.Z_FINISH||l===Ht.Z_SYNC_FLUSH))&&(this.options.to==="string"?(d=Lu.utf8border(n.output,n.next_out),y=n.next_out-d,T=Lu.buf2string(n.output,d),n.next_out=y,n.avail_out=i-y,y&&Ba.arraySet(n.output,n.output,d,y,0),this.onData(T)):this.onData(Ba.shrinkBuf(n.output,n.next_out))),n.avail_in===0&&n.avail_out===0&&(S=!0)}while((n.avail_in>0||n.avail_out===0)&&u!==Ht.Z_STREAM_END);return u===Ht.Z_STREAM_END&&(l=Ht.Z_FINISH),l===Ht.Z_FINISH?(u=Eo.inflateEnd(this.strm),this.onEnd(u),this.ended=!0,u===Ht.Z_OK):(l===Ht.Z_SYNC_FLUSH&&(this.onEnd(Ht.Z_OK),n.avail_out=0),!0)};Is.prototype.onData=function(e){this.chunks.push(e)};Is.prototype.onEnd=function(e){e===Ht.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ba.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function hp(e,t){var n=new Is(t);if(n.push(e,!0),n.err)throw n.msg||Fh[n.err];return n.result}function xF(e,t){return t=t||{},t.raw=!0,hp(e,t)}Ya.Inflate=Is;Ya.inflate=hp;Ya.inflateRaw=xF;Ya.ungzip=hp;var UF=br.assign,JF=Za,zF=Ya,WF=NS,OS={};UF(OS,JF,zF,WF);var GF=OS,Kt={};Object.defineProperty(Kt,"__esModule",{value:!0});Kt.messageAssert=Kt.messageError=Kt.QuickTypeError=void 0;const qF={InternalError:"Internal error: ${message}",MiscJSONParseError:"Syntax error in ${description} JSON ${address}: ${message}",MiscReadError:"Cannot read from file or URL ${fileOrURL}: ${message}",MiscUnicodeHighSurrogateWithoutLowSurrogate:"Malformed unicode: High surrogate not followed by low surrogate",MiscInvalidMinMaxConstraint:"Invalid min-max constraint: ${min}-${max}",InferenceJSONReferenceNotRooted:"JSON reference doesn't start with '#/': ${reference}",InferenceJSONReferenceToUnion:"JSON reference points to a union type: ${reference}",InferenceJSONReferenceWrongProperty:"JSON reference points to a non-existant property: ${reference}",InferenceJSONReferenceInvalidArrayIndex:"JSON reference uses invalid array index: ${reference}",SchemaArrayIsInvalidSchema:"An array is not a valid JSON Schema at ${ref}",SchemaNullIsInvalidSchema:"null is not a valid JSON Schema at ${ref}",SchemaRefMustBeString:"$ref must be a string, but is an ${actual} at ${ref}",SchemaAdditionalTypesForbidRequired:"Can't have non-specified required properties but forbidden additionalTypes at ${ref}",SchemaNoTypeSpecified:"JSON Schema must specify at least one type at ${ref}",SchemaInvalidType:"Invalid type ${type} in JSON Schema at ${ref}",SchemaFalseNotSupported:'Schema "false" is not supported at ${ref}',SchemaInvalidJSONSchemaType:"Value of type ${type} is not valid JSON Schema at ${ref}",SchemaRequiredMustBeStringOrStringArray:"`required` must be string or array of strings, but is ${actual} at ${ref}",SchemaRequiredElementMustBeString:"`required` must contain only strings, but it has ${element}, at ${ref}",SchemaTypeMustBeStringOrStringArray:"`type` must be string or array of strings, but is ${actual}",SchemaTypeElementMustBeString:"`type` must contain only strings, but it has ${element}",SchemaArrayItemsMustBeStringOrArray:"Array items must be an array or an object, but is ${actual}",SchemaIDMustHaveAddress:"$id ${id} doesn't have an address at ${ref}",SchemaWrongAccessorEntryArrayLength:"Accessor entry array must have the same number of entries as the ${operation} at ${ref}",SchemaSetOperationCasesIsNotArray:"${operation} cases must be an array, but is ${cases}, at ${ref}",SchemaMoreThanOneUnionMemberName:"More than one name given for union member: ${names}",SchemaCannotGetTypesFromBoolean:"Schema value to get top-level types from must be an object, but is boolean, at ${ref}",SchemaCannotIndexArrayWithNonNumber:"Trying to index array in schema with key that is not a number, but is ${actual} at ${ref}",SchemaIndexNotInArray:"Index ${index} out of range of schema array at ${ref}",SchemaKeyNotInObject:"Key ${key} not in schema object at ${ref}",SchemaFetchError:"Could not fetch schema ${address}, referred to from ${base}",SchemaFetchErrorTopLevel:"Could not fetch top-level schema ${address}",SchemaFetchErrorAdditional:"Could not fetch additional schema ${address}",GraphQLNoQueriesDefined:"GraphQL file doesn't have any queries defined.",DriverUnknownSourceLanguage:"Unknown source language ${lang}",DriverUnknownOutputLanguage:"Unknown output language ${lang}",DriverMoreThanOneInputGiven:"More than one input given for top-level ${topLevel}",DriverCannotInferNameForSchema:"Cannot infer name for schema ${uri}",DriverNoGraphQLQueryGiven:"Please specify at least one GraphQL query as input",DriverNoGraphQLSchemaInDir:"No GraphQL schema in ${dir}",DriverMoreThanOneGraphQLSchemaInDir:"More than one GraphQL schema in ${dir}",DriverSourceLangMustBeGraphQL:"If a GraphQL schema is specified, the source language must be GraphQL",DriverGraphQLSchemaNeeded:"Please specify a GraphQL schema with --graphql-schema or --graphql-introspect",DriverInputFileDoesNotExist:"Input file ${filename} does not exist",DriverCannotMixJSONWithOtherSamples:"Cannot mix JSON samples with JSON Schems, GraphQL, or TypeScript in input subdirectory ${dir}",DriverCannotMixNonJSONInputs:"Cannot mix JSON Schema, GraphQL, and TypeScript in an input subdirectory ${dir}",DriverUnknownDebugOption:"Unknown debug option ${option}",DriverNoLanguageOrExtension:"Please specify a language (--lang) or an output file extension",DriverCLIOptionParsingFailed:"Option parsing failed: ${message}",IRNoForwardDeclarableTypeInCycle:"Cannot resolve cycle because it doesn't contain types that can be forward declared",IRTypeAttributesNotPropagated:"Type attributes for ${count} types were not carried over to the new graph: ${indexes}",IRNoEmptyUnions:"Trying to make an empty union - do you have an impossible type in your schema?",RendererUnknownOptionValue:"Unknown value ${value} for option ${name}",TypeScriptCompilerError:"TypeScript error: ${message}"};class ES extends Error{constructor(t,n,i,r){super(i),this.errorMessage=t,this.messageName=n,this.properties=r}}Kt.QuickTypeError=ES;function CS(e,t){const n=qF[e];let i=n;const r=t;for(const u of Object.getOwnPropertyNames(r)){let l=r[u];typeof l=="object"&&typeof l.toString=="function"?l=l.toString():typeof l.message=="string"?l=l.message:typeof l!="string"&&(l=JSON.stringify(l)),i=i.replace("${"+u+"}",l)}throw new ES(n,e,i,r)}Kt.messageError=CS;function HF(e,t,n){if(!e)return CS(t,n)}Kt.messageAssert=HF;const pp=Symbol.for("yaml.alias"),Ph=Symbol.for("yaml.document"),qr=Symbol.for("yaml.map"),AS=Symbol.for("yaml.pair"),dr=Symbol.for("yaml.scalar"),zo=Symbol.for("yaml.seq"),oi=Symbol.for("yaml.node.type"),$r=e=>!!e&&typeof e=="object"&&e[oi]===pp,Js=e=>!!e&&typeof e=="object"&&e[oi]===Ph,zs=e=>!!e&&typeof e=="object"&&e[oi]===qr,Ft=e=>!!e&&typeof e=="object"&&e[oi]===AS,Ot=e=>!!e&&typeof e=="object"&&e[oi]===dr,Ws=e=>!!e&&typeof e=="object"&&e[oi]===zo;function Mt(e){if(e&&typeof e=="object")switch(e[oi]){case qr:case zo:return!0}return!1}function zt(e){if(e&&typeof e=="object")switch(e[oi]){case pp:case qr:case dr:case zo:return!0}return!1}const VF=e=>(Ot(e)||Mt(e))&&!!e.anchor,Cn=Symbol("break visit"),FS=Symbol("skip children"),Di=Symbol("remove node");function hr(e,t){const n=PS(t);Js(e)?vo(null,e.contents,n,Object.freeze([e]))===Di&&(e.contents=null):vo(null,e,n,Object.freeze([]))}hr.BREAK=Cn;hr.SKIP=FS;hr.REMOVE=Di;function vo(e,t,n,i){const r=IS(e,t,n,i);if(zt(r)||Ft(r))return MS(e,i,r),vo(e,r,n,i);if(typeof r!="symbol"){if(Mt(t)){i=Object.freeze(i.concat(t));for(let u=0;u<t.items.length;++u){const l=vo(u,t.items[u],n,i);if(typeof l=="number")u=l-1;else{if(l===Cn)return Cn;l===Di&&(t.items.splice(u,1),u-=1)}}}else if(Ft(t)){i=Object.freeze(i.concat(t));const u=vo("key",t.key,n,i);if(u===Cn)return Cn;u===Di&&(t.key=null);const l=vo("value",t.value,n,i);if(l===Cn)return Cn;l===Di&&(t.value=null)}}return r}async function $a(e,t){const n=PS(t);Js(e)?await wo(null,e.contents,n,Object.freeze([e]))===Di&&(e.contents=null):await wo(null,e,n,Object.freeze([]))}$a.BREAK=Cn;$a.SKIP=FS;$a.REMOVE=Di;async function wo(e,t,n,i){const r=await IS(e,t,n,i);if(zt(r)||Ft(r))return MS(e,i,r),wo(e,r,n,i);if(typeof r!="symbol"){if(Mt(t)){i=Object.freeze(i.concat(t));for(let u=0;u<t.items.length;++u){const l=await wo(u,t.items[u],n,i);if(typeof l=="number")u=l-1;else{if(l===Cn)return Cn;l===Di&&(t.items.splice(u,1),u-=1)}}}else if(Ft(t)){i=Object.freeze(i.concat(t));const u=await wo("key",t.key,n,i);if(u===Cn)return Cn;u===Di&&(t.key=null);const l=await wo("value",t.value,n,i);if(l===Cn)return Cn;l===Di&&(t.value=null)}}return r}function PS(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function IS(e,t,n,i){if(typeof n=="function")return n(e,t,i);if(zs(t))return n.Map?.(e,t,i);if(Ws(t))return n.Seq?.(e,t,i);if(Ft(t))return n.Pair?.(e,t,i);if(Ot(t))return n.Scalar?.(e,t,i);if($r(t))return n.Alias?.(e,t,i)}function MS(e,t,n){const i=t[t.length-1];if(Mt(i))i.items[e]=n;else if(Ft(i))e==="key"?i.key=n:i.value=n;else if(Js(i))i.contents=n;else{const r=$r(i)?"alias":"scalar";throw new Error(`Cannot replace node with ${r} parent`)}}const KF={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},ZF=e=>e.replace(/[!,[\]{}]/g,t=>KF[t]);class bn{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},bn.defaultYaml,t),this.tags=Object.assign({},bn.defaultTags,n)}clone(){const t=new bn(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new bn(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:bn.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},bn.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:bn.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},bn.defaultTags),this.atNextDocument=!1);const i=t.trim().split(/[ \t]+/),r=i.shift();switch(r){case"%TAG":{if(i.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),i.length<2))return!1;const[u,l]=i;return this.tags[u]=l,!0}case"%YAML":{if(this.yaml.explicit=!0,i.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[u]=i;if(u==="1.1"||u==="1.2")return this.yaml.version=u,!0;{const l=/^\d+\.\d+$/.test(u);return n(6,`Unsupported YAML version ${u}`,l),!1}}default:return n(0,`Unknown directive ${r}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const l=t.slice(2,-1);return l==="!"||l==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),l)}const[,i,r]=t.match(/^(.*!)([^!]*)$/s);r||n(`The ${t} tag has no suffix`);const u=this.tags[i];if(u)try{return u+decodeURIComponent(r)}catch(l){return n(String(l)),null}return i==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,i]of Object.entries(this.tags))if(t.startsWith(i))return n+ZF(t.substring(i.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags);let r;if(t&&i.length>0&&zt(t.contents)){const u={};hr(t.contents,(l,d)=>{zt(d)&&d.tag&&(u[d.tag]=!0)}),r=Object.keys(u)}else r=[];for(const[u,l]of i)u==="!!"&&l==="tag:yaml.org,2002:"||(!t||r.some(d=>d.startsWith(l)))&&n.push(`%TAG ${u} ${l}`);return n.join(`
|
|
2
|
+
`)}}bn.defaultYaml={explicit:!1,version:"1.2"};bn.defaultTags={"!!":"tag:yaml.org,2002:"};function jS(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}function BS(e){const t=new Set;return hr(e,{Value(n,i){i.anchor&&t.add(i.anchor)}}),t}function RS(e,t){for(let n=1;;++n){const i=`${e}${n}`;if(!t.has(i))return i}}function QF(e,t){const n=[],i=new Map;let r=null;return{onAnchor:u=>{n.push(u),r||(r=BS(e));const l=RS(t,r);return r.add(l),l},setAnchors:()=>{for(const u of n){const l=i.get(u);if(typeof l=="object"&&l.anchor&&(Ot(l.node)||Mt(l.node)))l.node.anchor=l.anchor;else{const d=new Error("Failed to resolve repeated object (this should not happen)");throw d.source=u,d}}},sourceObjects:i}}function _o(e,t,n,i){if(i&&typeof i=="object")if(Array.isArray(i))for(let r=0,u=i.length;r<u;++r){const l=i[r],d=_o(e,i,String(r),l);d===void 0?delete i[r]:d!==l&&(i[r]=d)}else if(i instanceof Map)for(const r of Array.from(i.keys())){const u=i.get(r),l=_o(e,i,r,u);l===void 0?i.delete(r):l!==u&&i.set(r,l)}else if(i instanceof Set)for(const r of Array.from(i)){const u=_o(e,i,r,r);u===void 0?i.delete(r):u!==r&&(i.delete(r),i.add(u))}else for(const[r,u]of Object.entries(i)){const l=_o(e,i,r,u);l===void 0?delete i[r]:l!==u&&(i[r]=l)}return e.call(t,n,i)}function ri(e,t,n){if(Array.isArray(e))return e.map((i,r)=>ri(i,String(r),n));if(e&&typeof e.toJSON=="function"){if(!n||!VF(e))return e.toJSON(t,n);const i={aliasCount:0,count:1,res:void 0};n.anchors.set(e,i),n.onCreate=u=>{i.res=u,delete n.onCreate};const r=e.toJSON(t,n);return n.onCreate&&n.onCreate(r),r}return typeof e=="bigint"&&!n?.keep?Number(e):e}class mp{constructor(t){Object.defineProperty(this,oi,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:i,onAnchor:r,reviver:u}={}){if(!Js(t))throw new TypeError("A document argument is required");const l={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},d=ri(this,"",l);if(typeof r=="function")for(const{count:y,res:T}of l.anchors.values())r(T,y);return typeof u=="function"?_o(u,{"":d},"",d):d}}class el extends mp{constructor(t){super(pp),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return hr(t,{Node:(i,r)=>{if(r===this)return hr.BREAK;r.anchor===this.source&&(n=r)}}),n}toJSON(t,n){if(!n)return{source:this.source};const{anchors:i,doc:r,maxAliasCount:u}=n,l=this.resolve(r);if(!l){const y=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(y)}let d=i.get(l);if(d||(ri(l,null,n),d=i.get(l)),!d||d.res===void 0){const y="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(y)}if(u>=0&&(d.count+=1,d.aliasCount===0&&(d.aliasCount=Nu(r,l,i)),d.count*d.aliasCount>u)){const y="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(y)}return d.res}toString(t,n,i){const r=`*${this.source}`;if(t){if(jS(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const u=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(u)}if(t.implicitKey)return`${r} `}return r}}function Nu(e,t,n){if($r(t)){const i=t.resolve(e),r=n&&i&&n.get(i);return r?r.count*r.aliasCount:0}else if(Mt(t)){let i=0;for(const r of t.items){const u=Nu(e,r,n);u>i&&(i=u)}return i}else if(Ft(t)){const i=Nu(e,t.key,n),r=Nu(e,t.value,n);return Math.max(i,r)}return 1}const DS=e=>!e||typeof e!="function"&&typeof e!="object";class tt extends mp{constructor(t){super(dr),this.value=t}toJSON(t,n){return n?.keep?this.value:ri(this.value,t,n)}toString(){return String(this.value)}}tt.BLOCK_FOLDED="BLOCK_FOLDED";tt.BLOCK_LITERAL="BLOCK_LITERAL";tt.PLAIN="PLAIN";tt.QUOTE_DOUBLE="QUOTE_DOUBLE";tt.QUOTE_SINGLE="QUOTE_SINGLE";const XF="tag:yaml.org,2002:";function YF(e,t,n){if(t){const i=n.filter(u=>u.tag===t),r=i.find(u=>!u.format)??i[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find(i=>i.identify?.(e)&&!i.format)}function Ga(e,t,n){if(Js(e)&&(e=e.contents),zt(e))return e;if(Ft(e)){const O=n.schema[qr].createNode?.(n.schema,null,n);return O.items.push(e),O}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:i,onAnchor:r,onTagObj:u,schema:l,sourceObjects:d}=n;let y;if(i&&e&&typeof e=="object"){if(y=d.get(e),y)return y.anchor||(y.anchor=r(e)),new el(y.anchor);y={anchor:null,node:null},d.set(e,y)}t?.startsWith("!!")&&(t=XF+t.slice(2));let T=YF(e,t,l.tags);if(!T){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const O=new tt(e);return y&&(y.node=O),O}T=e instanceof Map?l[qr]:Symbol.iterator in Object(e)?l[zo]:l[qr]}u&&(u(T),delete n.onTagObj);const S=T?.createNode?T.createNode(n.schema,e,n):typeof T?.nodeClass?.from=="function"?T.nodeClass.from(n.schema,e,n):new tt(e);return t?S.tag=t:T.default||(S.tag=T.tag),y&&(y.node=S),S}function xu(e,t,n){let i=n;for(let r=t.length-1;r>=0;--r){const u=t[r];if(typeof u=="number"&&Number.isInteger(u)&&u>=0){const l=[];l[u]=i,i=l}else i=new Map([[u,i]])}return Ga(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const Oa=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class yp extends mp{constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(i=>zt(i)||Ft(i)?i.clone(t):i),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(Oa(t))this.add(n);else{const[i,...r]=t,u=this.get(i,!0);if(Mt(u))u.addIn(r,n);else if(u===void 0&&this.schema)this.set(i,xu(this.schema,r,n));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${r}`)}}deleteIn(t){const[n,...i]=t;if(i.length===0)return this.delete(n);const r=this.get(n,!0);if(Mt(r))return r.deleteIn(i);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}getIn(t,n){const[i,...r]=t,u=this.get(i,!0);return r.length===0?!n&&Ot(u)?u.value:u:Mt(u)?u.getIn(r,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!Ft(n))return!1;const i=n.value;return i==null||t&&Ot(i)&&i.value==null&&!i.commentBefore&&!i.comment&&!i.tag})}hasIn(t){const[n,...i]=t;if(i.length===0)return this.has(n);const r=this.get(n,!0);return Mt(r)?r.hasIn(i):!1}setIn(t,n){const[i,...r]=t;if(r.length===0)this.set(i,n);else{const u=this.get(i,!0);if(Mt(u))u.setIn(r,n);else if(u===void 0&&this.schema)this.set(i,xu(this.schema,r,n));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${r}`)}}}yp.maxFlowStringSingleLineLength=60;const $F=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function lr(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const vs=(e,t,n)=>e.endsWith(`
|
|
3
|
+
`)?lr(n,t):n.includes(`
|
|
4
|
+
`)?`
|
|
5
|
+
`+lr(n,t):(e.endsWith(" ")?"":" ")+n,xS="flow",Ih="block",ku="quoted";function tc(e,t,n="flow",{indentAtStart:i,lineWidth:r=80,minContentWidth:u=20,onFold:l,onOverflow:d}={}){if(!r||r<0)return e;const y=Math.max(1+u,1+r-t.length);if(e.length<=y)return e;const T=[],S={};let O=r-t.length;typeof i=="number"&&(i>r-Math.max(2,u)?T.push(0):O=r-i);let I,k,P=!1,m=-1,C=-1,J=-1;n===Ih&&(m=zb(e,m,t.length),m!==-1&&(O=m+y));for(let G;G=e[m+=1];){if(n===ku&&G==="\\"){switch(C=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}J=m}if(G===`
|
|
6
|
+
`)n===Ih&&(m=zb(e,m,t.length)),O=m+t.length+y,I=void 0;else{if(G===" "&&k&&k!==" "&&k!==`
|
|
7
|
+
`&&k!==" "){const K=e[m+1];K&&K!==" "&&K!==`
|
|
8
|
+
`&&K!==" "&&(I=m)}if(m>=O)if(I)T.push(I),O=I+y,I=void 0;else if(n===ku){for(;k===" "||k===" ";)k=G,G=e[m+=1],P=!0;const K=m>J+1?m-2:C-1;if(S[K])return e;T.push(K),S[K]=!0,O=K+y,I=void 0}else P=!0}k=G}if(P&&d&&d(),T.length===0)return e;l&&l();let x=e.slice(0,T[0]);for(let G=0;G<T.length;++G){const K=T[G],U=T[G+1]||e.length;K===0?x=`
|
|
9
|
+
${t}${e.slice(0,U)}`:(n===ku&&S[K]&&(x+=`${e[K]}\\`),x+=`
|
|
10
|
+
${t}${e.slice(K+1,U)}`)}return x}function zb(e,t,n){let i=t,r=t+1,u=e[r];for(;u===" "||u===" ";)if(t<r+n)u=e[++t];else{do u=e[++t];while(u&&u!==`
|
|
11
|
+
`);i=t,r=t+1,u=e[r]}return i}const nc=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),ic=e=>/^(%|---|\.\.\.)/m.test(e);function eP(e,t,n){if(!t||t<0)return!1;const i=t-n,r=e.length;if(r<=i)return!1;for(let u=0,l=0;u<r;++u)if(e[u]===`
|
|
12
|
+
`){if(u-l>i)return!0;if(l=u+1,r-l<=i)return!1}return!0}function Ra(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:i}=t,r=t.options.doubleQuotedMinMultiLineLength,u=t.indent||(ic(e)?" ":"");let l="",d=0;for(let y=0,T=n[y];T;T=n[++y])if(T===" "&&n[y+1]==="\\"&&n[y+2]==="n"&&(l+=n.slice(d,y)+"\\ ",y+=1,d=y,T="\\"),T==="\\")switch(n[y+1]){case"u":{l+=n.slice(d,y);const S=n.substr(y+2,4);switch(S){case"0000":l+="\\0";break;case"0007":l+="\\a";break;case"000b":l+="\\v";break;case"001b":l+="\\e";break;case"0085":l+="\\N";break;case"00a0":l+="\\_";break;case"2028":l+="\\L";break;case"2029":l+="\\P";break;default:S.substr(0,2)==="00"?l+="\\x"+S.substr(2):l+=n.substr(y,6)}y+=5,d=y+1}break;case"n":if(i||n[y+2]==='"'||n.length<r)y+=1;else{for(l+=n.slice(d,y)+`
|
|
13
|
+
|
|
14
|
+
`;n[y+2]==="\\"&&n[y+3]==="n"&&n[y+4]!=='"';)l+=`
|
|
15
|
+
`,y+=2;l+=u,n[y+2]===" "&&(l+="\\"),y+=1,d=y+1}break;default:y+=1}return l=d?l+n.slice(d):n,i?l:tc(l,u,ku,nc(t,!1))}function Mh(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
|
|
16
|
+
`)||/[ \t]\n|\n[ \t]/.test(e))return Ra(e,t);const n=t.indent||(ic(e)?" ":""),i="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
17
|
+
${n}`)+"'";return t.implicitKey?i:tc(i,n,xS,nc(t,!1))}function Lo(e,t){const{singleQuote:n}=t.options;let i;if(n===!1)i=Ra;else{const r=e.includes('"'),u=e.includes("'");r&&!u?i=Mh:u&&!r?i=Ra:i=n?Mh:Ra}return i(e,t)}let jh;try{jh=new RegExp(`(^|(?<!
|
|
18
|
+
))
|
|
19
|
+
+(?!
|
|
20
|
+
|$)`,"g")}catch{jh=/\n+(?!\n|$)/g}function Ou({comment:e,type:t,value:n},i,r,u){const{blockQuote:l,commentString:d,lineWidth:y}=i.options;if(!l||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return Lo(n,i);const T=i.indent||(i.forceBlockIndent||ic(n)?" ":""),S=l==="literal"?!0:l==="folded"||t===tt.BLOCK_FOLDED?!1:t===tt.BLOCK_LITERAL?!0:!eP(n,y,T.length);if(!n)return S?`|
|
|
21
|
+
`:`>
|
|
22
|
+
`;let O,I;for(I=n.length;I>0;--I){const R=n[I-1];if(R!==`
|
|
23
|
+
`&&R!==" "&&R!==" ")break}let k=n.substring(I);const P=k.indexOf(`
|
|
24
|
+
`);P===-1?O="-":n===k||P!==k.length-1?(O="+",u&&u()):O="",k&&(n=n.slice(0,-k.length),k[k.length-1]===`
|
|
25
|
+
`&&(k=k.slice(0,-1)),k=k.replace(jh,`$&${T}`));let m=!1,C,J=-1;for(C=0;C<n.length;++C){const R=n[C];if(R===" ")m=!0;else if(R===`
|
|
26
|
+
`)J=C;else break}let x=n.substring(0,J<C?J+1:C);x&&(n=n.substring(x.length),x=x.replace(/\n+/g,`$&${T}`));let K=(S?"|":">")+(m?T?"2":"1":"")+O;if(e&&(K+=" "+d(e.replace(/ ?[\r\n]+/g," ")),r&&r()),S)return n=n.replace(/\n+/g,`$&${T}`),`${K}
|
|
27
|
+
${T}${x}${n}${k}`;n=n.replace(/\n+/g,`
|
|
28
|
+
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${T}`);const U=tc(`${x}${n}${k}`,T,Ih,nc(i,!0));return`${K}
|
|
29
|
+
${T}${U}`}function tP(e,t,n,i){const{type:r,value:u}=e,{actualString:l,implicitKey:d,indent:y,indentStep:T,inFlow:S}=t;if(d&&u.includes(`
|
|
30
|
+
`)||S&&/[[\]{},]/.test(u))return Lo(u,t);if(!u||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(u))return d||S||!u.includes(`
|
|
31
|
+
`)?Lo(u,t):Ou(e,t,n,i);if(!d&&!S&&r!==tt.PLAIN&&u.includes(`
|
|
32
|
+
`))return Ou(e,t,n,i);if(ic(u)){if(y==="")return t.forceBlockIndent=!0,Ou(e,t,n,i);if(d&&y===T)return Lo(u,t)}const O=u.replace(/\n+/g,`$&
|
|
33
|
+
${y}`);if(l){const I=m=>m.default&&m.tag!=="tag:yaml.org,2002:str"&&m.test?.test(O),{compat:k,tags:P}=t.doc.schema;if(P.some(I)||k?.some(I))return Lo(u,t)}return d?O:tc(O,y,xS,nc(t,!1))}function tl(e,t,n,i){const{implicitKey:r,inFlow:u}=t,l=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:d}=e;d!==tt.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(l.value)&&(d=tt.QUOTE_DOUBLE);const y=S=>{switch(S){case tt.BLOCK_FOLDED:case tt.BLOCK_LITERAL:return r||u?Lo(l.value,t):Ou(l,t,n,i);case tt.QUOTE_DOUBLE:return Ra(l.value,t);case tt.QUOTE_SINGLE:return Mh(l.value,t);case tt.PLAIN:return tP(l,t,n,i);default:return null}};let T=y(d);if(T===null){const{defaultKeyType:S,defaultStringType:O}=t.options,I=r&&S||O;if(T=y(I),T===null)throw new Error(`Unsupported default string type ${I}`)}return T}function US(e,t){const n=Object.assign({blockQuote:!0,commentString:$F,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let i;switch(n.collectionStyle){case"block":i=!1;break;case"flow":i=!0;break;default:i=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:i,options:n}}function nP(e,t){if(t.tag){const r=e.filter(u=>u.tag===t.tag);if(r.length>0)return r.find(u=>u.format===t.format)??r[0]}let n,i;if(Ot(t)){i=t.value;const r=e.filter(u=>u.identify?.(i));n=r.find(u=>u.format===t.format)??r.find(u=>!u.format)}else i=t,n=e.find(r=>r.nodeClass&&i instanceof r.nodeClass);if(!n){const r=i?.constructor?.name??typeof i;throw new Error(`Tag not resolved for ${r} value`)}return n}function iP(e,t,{anchors:n,doc:i}){if(!i.directives)return"";const r=[],u=(Ot(e)||Mt(e))&&e.anchor;u&&jS(u)&&(n.add(u),r.push(`&${u}`));const l=e.tag?e.tag:t.default?null:t.tag;return l&&r.push(i.directives.tagString(l)),r.join(" ")}function Mo(e,t,n,i){if(Ft(e))return e.toString(t,n,i);if($r(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let r;const u=zt(e)?e:t.doc.createNode(e,{onTagObj:y=>r=y});r||(r=nP(t.doc.schema.tags,u));const l=iP(u,r,t);l.length>0&&(t.indentAtStart=(t.indentAtStart??0)+l.length+1);const d=typeof r.stringify=="function"?r.stringify(u,t,n,i):Ot(u)?tl(u,t,n,i):u.toString(t,n,i);return l?Ot(u)||d[0]==="{"||d[0]==="["?`${l} ${d}`:`${l}
|
|
34
|
+
${t.indent}${d}`:d}function rP({key:e,value:t},n,i,r){const{allNullValues:u,doc:l,indent:d,indentStep:y,options:{commentString:T,indentSeq:S,simpleKeys:O}}=n;let I=zt(e)&&e.comment||null;if(O){if(I)throw new Error("With simple keys, key nodes cannot have comments");if(Mt(e)){const A="With simple keys, collection cannot be used as a key value";throw new Error(A)}}let k=!O&&(!e||I&&t==null&&!n.inFlow||Mt(e)||(Ot(e)?e.type===tt.BLOCK_FOLDED||e.type===tt.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!k&&(O||!u),indent:d+y});let P=!1,m=!1,C=Mo(e,n,()=>P=!0,()=>m=!0);if(!k&&!n.inFlow&&C.length>1024){if(O)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");k=!0}if(n.inFlow){if(u||t==null)return P&&i&&i(),C===""?"?":k?`? ${C}`:C}else if(u&&!O||t==null&&k)return C=`? ${C}`,I&&!P?C+=vs(C,n.indent,T(I)):m&&r&&r(),C;P&&(I=null),k?(I&&(C+=vs(C,n.indent,T(I))),C=`? ${C}
|
|
35
|
+
${d}:`):(C=`${C}:`,I&&(C+=vs(C,n.indent,T(I))));let J,x,G;zt(t)?(J=!!t.spaceBefore,x=t.commentBefore,G=t.comment):(J=!1,x=null,G=null,t&&typeof t=="object"&&(t=l.createNode(t))),n.implicitKey=!1,!k&&!I&&Ot(t)&&(n.indentAtStart=C.length+1),m=!1,!S&&y.length>=2&&!n.inFlow&&!k&&Ws(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let K=!1;const U=Mo(t,n,()=>K=!0,()=>m=!0);let R=" ";if(I||J||x){if(R=J?`
|
|
36
|
+
`:"",x){const A=T(x);R+=`
|
|
37
|
+
${lr(A,n.indent)}`}U===""&&!n.inFlow?R===`
|
|
38
|
+
`&&(R=`
|
|
39
|
+
|
|
40
|
+
`):R+=`
|
|
41
|
+
${n.indent}`}else if(!k&&Mt(t)){const A=U[0],b=U.indexOf(`
|
|
42
|
+
`),_=b!==-1,L=n.inFlow??t.flow??t.items.length===0;if(_||!L){let g=!1;if(_&&(A==="&"||A==="!")){let p=U.indexOf(" ");A==="&"&&p!==-1&&p<b&&U[p+1]==="!"&&(p=U.indexOf(" ",p+1)),(p===-1||b<p)&&(g=!0)}g||(R=`
|
|
43
|
+
${n.indent}`)}}else(U===""||U[0]===`
|
|
44
|
+
`)&&(R="");return C+=R+U,n.inFlow?K&&i&&i():G&&!K?C+=vs(C,n.indent,T(G)):m&&r&&r(),C}function JS(e,t){(e==="debug"||e==="warn")&&(typeof process<"u"&&process.emitWarning?process.emitWarning(t):console.warn(t))}const Wb="<<";function zS(e,t,{key:n,value:i}){if(e?.doc.schema.merge&&sP(n))if(i=$r(i)?i.resolve(e.doc):i,Ws(i))for(const r of i.items)Fd(e,t,r);else if(Array.isArray(i))for(const r of i)Fd(e,t,r);else Fd(e,t,i);else{const r=ri(n,"",e);if(t instanceof Map)t.set(r,ri(i,r,e));else if(t instanceof Set)t.add(r);else{const u=oP(n,r,e),l=ri(i,u,e);u in t?Object.defineProperty(t,u,{value:l,writable:!0,enumerable:!0,configurable:!0}):t[u]=l}}return t}const sP=e=>e===Wb||Ot(e)&&e.value===Wb&&(!e.type||e.type===tt.PLAIN);function Fd(e,t,n){const i=e&&$r(n)?n.resolve(e.doc):n;if(!zs(i))throw new Error("Merge sources must be maps or map aliases");const r=i.toJSON(null,e,Map);for(const[u,l]of r)t instanceof Map?t.has(u)||t.set(u,l):t instanceof Set?t.add(u):Object.prototype.hasOwnProperty.call(t,u)||Object.defineProperty(t,u,{value:l,writable:!0,enumerable:!0,configurable:!0});return t}function oP(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(zt(e)&&n?.doc){const i=US(n.doc,{});i.anchors=new Set;for(const u of n.anchors.keys())i.anchors.add(u.anchor);i.inFlow=!0,i.inStringifyKey=!0;const r=e.toString(i);if(!n.mapKeyWarned){let u=JSON.stringify(r);u.length>40&&(u=u.substring(0,36)+'..."'),JS(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${u}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}function gp(e,t,n){const i=Ga(e,void 0,n),r=Ga(t,void 0,n);return new ln(i,r)}class ln{constructor(t,n=null){Object.defineProperty(this,oi,{value:AS}),this.key=t,this.value=n}clone(t){let{key:n,value:i}=this;return zt(n)&&(n=n.clone(t)),zt(i)&&(i=i.clone(t)),new ln(n,i)}toJSON(t,n){const i=n?.mapAsMap?new Map:{};return zS(n,i,this)}toString(t,n,i){return t?.doc?rP(this,t,n,i):JSON.stringify(this)}}function WS(e,t,n){return(t.inFlow??e.flow?lP:aP)(e,t,n)}function aP({comment:e,items:t},n,{blockItemPrefix:i,flowChars:r,itemIndent:u,onChompKeep:l,onComment:d}){const{indent:y,options:{commentString:T}}=n,S=Object.assign({},n,{indent:u,type:null});let O=!1;const I=[];for(let P=0;P<t.length;++P){const m=t[P];let C=null;if(zt(m))!O&&m.spaceBefore&&I.push(""),Uu(n,I,m.commentBefore,O),m.comment&&(C=m.comment);else if(Ft(m)){const x=zt(m.key)?m.key:null;x&&(!O&&x.spaceBefore&&I.push(""),Uu(n,I,x.commentBefore,O))}O=!1;let J=Mo(m,S,()=>C=null,()=>O=!0);C&&(J+=vs(J,u,T(C))),O&&C&&(O=!1),I.push(i+J)}let k;if(I.length===0)k=r.start+r.end;else{k=I[0];for(let P=1;P<I.length;++P){const m=I[P];k+=m?`
|
|
45
|
+
${y}${m}`:`
|
|
46
|
+
`}}return e?(k+=`
|
|
47
|
+
`+lr(T(e),y),d&&d()):O&&l&&l(),k}function lP({items:e},t,{flowChars:n,itemIndent:i}){const{indent:r,indentStep:u,flowCollectionPadding:l,options:{commentString:d}}=t;i+=u;const y=Object.assign({},t,{indent:i,inFlow:!0,type:null});let T=!1,S=0;const O=[];for(let P=0;P<e.length;++P){const m=e[P];let C=null;if(zt(m))m.spaceBefore&&O.push(""),Uu(t,O,m.commentBefore,!1),m.comment&&(C=m.comment);else if(Ft(m)){const x=zt(m.key)?m.key:null;x&&(x.spaceBefore&&O.push(""),Uu(t,O,x.commentBefore,!1),x.comment&&(T=!0));const G=zt(m.value)?m.value:null;G?(G.comment&&(C=G.comment),G.commentBefore&&(T=!0)):m.value==null&&x?.comment&&(C=x.comment)}C&&(T=!0);let J=Mo(m,y,()=>C=null);P<e.length-1&&(J+=","),C&&(J+=vs(J,i,d(C))),!T&&(O.length>S||J.includes(`
|
|
48
|
+
`))&&(T=!0),O.push(J),S=O.length}const{start:I,end:k}=n;if(O.length===0)return I+k;if(!T){const P=O.reduce((m,C)=>m+C.length+2,2);T=t.options.lineWidth>0&&P>t.options.lineWidth}if(T){let P=I;for(const m of O)P+=m?`
|
|
49
|
+
${u}${r}${m}`:`
|
|
50
|
+
`;return`${P}
|
|
51
|
+
${r}${k}`}else return`${I}${l}${O.join(" ")}${l}${k}`}function Uu({indent:e,options:{commentString:t}},n,i,r){if(i&&r&&(i=i.replace(/^\n+/,"")),i){const u=lr(t(i),e);n.push(u.trimStart())}}function ws(e,t){const n=Ot(t)?t.value:t;for(const i of e)if(Ft(i)&&(i.key===t||i.key===n||Ot(i.key)&&i.key.value===n))return i}class An extends yp{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(qr,t),this.items=[]}static from(t,n,i){const{keepUndefined:r,replacer:u}=i,l=new this(t),d=(y,T)=>{if(typeof u=="function")T=u.call(n,y,T);else if(Array.isArray(u)&&!u.includes(y))return;(T!==void 0||r)&&l.items.push(gp(y,T,i))};if(n instanceof Map)for(const[y,T]of n)d(y,T);else if(n&&typeof n=="object")for(const y of Object.keys(n))d(y,n[y]);return typeof t.sortMapEntries=="function"&&l.items.sort(t.sortMapEntries),l}add(t,n){let i;Ft(t)?i=t:!t||typeof t!="object"||!("key"in t)?i=new ln(t,t?.value):i=new ln(t.key,t.value);const r=ws(this.items,i.key),u=this.schema?.sortMapEntries;if(r){if(!n)throw new Error(`Key ${i.key} already set`);Ot(r.value)&&DS(i.value)?r.value.value=i.value:r.value=i.value}else if(u){const l=this.items.findIndex(d=>u(i,d)<0);l===-1?this.items.push(i):this.items.splice(l,0,i)}else this.items.push(i)}delete(t){const n=ws(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const r=ws(this.items,t)?.value;return(!n&&Ot(r)?r.value:r)??void 0}has(t){return!!ws(this.items,t)}set(t,n){this.add(new ln(t,n),!0)}toJSON(t,n,i){const r=i?new i:n?.mapAsMap?new Map:{};n?.onCreate&&n.onCreate(r);for(const u of this.items)zS(n,r,u);return r}toString(t,n,i){if(!t)return JSON.stringify(this);for(const r of this.items)if(!Ft(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),WS(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:i,onComment:n})}}const Wo={collection:"map",default:!0,nodeClass:An,tag:"tag:yaml.org,2002:map",resolve(e,t){return zs(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>An.from(e,t,n)};class pr extends yp{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(zo,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=du(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const i=du(t);if(typeof i!="number")return;const r=this.items[i];return!n&&Ot(r)?r.value:r}has(t){const n=du(t);return typeof n=="number"&&n<this.items.length}set(t,n){const i=du(t);if(typeof i!="number")throw new Error(`Expected a valid index, not ${t}.`);const r=this.items[i];Ot(r)&&DS(n)?r.value=n:this.items[i]=n}toJSON(t,n){const i=[];n?.onCreate&&n.onCreate(i);let r=0;for(const u of this.items)i.push(ri(u,String(r++),n));return i}toString(t,n,i){return t?WS(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:i,onComment:n}):JSON.stringify(this)}static from(t,n,i){const{replacer:r}=i,u=new this(t);if(n&&Symbol.iterator in Object(n)){let l=0;for(let d of n){if(typeof r=="function"){const y=n instanceof Set?d:String(l++);d=r.call(n,y,d)}u.items.push(Ga(d,void 0,i))}}return u}}function du(e){let t=Ot(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}const Go={collection:"seq",default:!0,nodeClass:pr,tag:"tag:yaml.org,2002:seq",resolve(e,t){return Ws(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>pr.from(e,t,n)},rc={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,i){return t=Object.assign({actualString:!0},t),tl(e,t,n,i)}},sc={identify:e=>e==null,createNode:()=>new tt(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new tt(null),stringify:({source:e},t)=>typeof e=="string"&&sc.test.test(e)?e:t.options.nullStr},bp={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new tt(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&bp.test.test(e)){const i=e[0]==="t"||e[0]==="T";if(t===i)return e}return t?n.options.trueStr:n.options.falseStr}};function Si({format:e,minFractionDigits:t,tag:n,value:i}){if(typeof i=="bigint")return String(i);const r=typeof i=="number"?i:Number(i);if(!isFinite(r))return isNaN(r)?".nan":r<0?"-.inf":".inf";let u=JSON.stringify(i);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(u)){let l=u.indexOf(".");l<0&&(l=u.length,u+=".");let d=t-(u.length-l-1);for(;d-- >0;)u+="0"}return u}const GS={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Si},qS={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Si(e)}},HS={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new tt(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:Si},oc=e=>typeof e=="bigint"||Number.isInteger(e),Tp=(e,t,n,{intAsBigInt:i})=>i?BigInt(e):parseInt(e.substring(t),n);function VS(e,t,n){const{value:i}=e;return oc(i)&&i>=0?n+i.toString(t):Si(e)}const KS={identify:e=>oc(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Tp(e,2,8,n),stringify:e=>VS(e,8,"0o")},ZS={identify:oc,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Tp(e,0,10,n),stringify:Si},QS={identify:e=>oc(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Tp(e,2,16,n),stringify:e=>VS(e,16,"0x")},uP=[Wo,Go,rc,sc,bp,KS,ZS,QS,GS,qS,HS];function Gb(e){return typeof e=="bigint"||Number.isInteger(e)}const hu=({value:e})=>JSON.stringify(e),cP=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:hu},{identify:e=>e==null,createNode:()=>new tt(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:hu},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:hu},{identify:Gb,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>Gb(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:hu}],fP={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},dP=[Wo,Go].concat(cP,fP),Sp={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof Buffer=="function")return Buffer.from(e,"base64");if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),i=new Uint8Array(n.length);for(let r=0;r<n.length;++r)i[r]=n.charCodeAt(r);return i}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},i,r,u){const l=n;let d;if(typeof Buffer=="function")d=l instanceof Buffer?l.toString("base64"):Buffer.from(l.buffer).toString("base64");else if(typeof btoa=="function"){let y="";for(let T=0;T<l.length;++T)y+=String.fromCharCode(l[T]);d=btoa(y)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t||(t=tt.BLOCK_LITERAL),t!==tt.QUOTE_DOUBLE){const y=Math.max(i.options.lineWidth-i.indent.length,i.options.minContentWidth),T=Math.ceil(d.length/y),S=new Array(T);for(let O=0,I=0;O<T;++O,I+=y)S[O]=d.substr(I,y);d=S.join(t===tt.BLOCK_LITERAL?`
|
|
52
|
+
`:" ")}return tl({comment:e,type:t,value:d},i,r,u)}};function XS(e,t){if(Ws(e))for(let n=0;n<e.items.length;++n){let i=e.items[n];if(!Ft(i)){if(zs(i)){i.items.length>1&&t("Each pair must have its own sequence indicator");const r=i.items[0]||new ln(new tt(null));if(i.commentBefore&&(r.key.commentBefore=r.key.commentBefore?`${i.commentBefore}
|
|
53
|
+
${r.key.commentBefore}`:i.commentBefore),i.comment){const u=r.value??r.key;u.comment=u.comment?`${i.comment}
|
|
54
|
+
${u.comment}`:i.comment}i=r}e.items[n]=Ft(i)?i:new ln(i)}}else t("Expected a sequence for this tag");return e}function YS(e,t,n){const{replacer:i}=n,r=new pr(e);r.tag="tag:yaml.org,2002:pairs";let u=0;if(t&&Symbol.iterator in Object(t))for(let l of t){typeof i=="function"&&(l=i.call(t,String(u++),l));let d,y;if(Array.isArray(l))if(l.length===2)d=l[0],y=l[1];else throw new TypeError(`Expected [key, value] tuple: ${l}`);else if(l&&l instanceof Object){const T=Object.keys(l);if(T.length===1)d=T[0],y=l[d];else throw new TypeError(`Expected tuple with one key, not ${T.length} keys`)}else d=l;r.items.push(gp(d,y,n))}return r}const vp={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:XS,createNode:YS};class Co extends pr{constructor(){super(),this.add=An.prototype.add.bind(this),this.delete=An.prototype.delete.bind(this),this.get=An.prototype.get.bind(this),this.has=An.prototype.has.bind(this),this.set=An.prototype.set.bind(this),this.tag=Co.tag}toJSON(t,n){if(!n)return super.toJSON(t);const i=new Map;n?.onCreate&&n.onCreate(i);for(const r of this.items){let u,l;if(Ft(r)?(u=ri(r.key,"",n),l=ri(r.value,u,n)):u=ri(r,"",n),i.has(u))throw new Error("Ordered maps must not include duplicate keys");i.set(u,l)}return i}static from(t,n,i){const r=YS(t,n,i),u=new this;return u.items=r.items,u}}Co.tag="tag:yaml.org,2002:omap";const wp={collection:"seq",identify:e=>e instanceof Map,nodeClass:Co,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=XS(e,t),i=[];for(const{key:r}of n.items)Ot(r)&&(i.includes(r.value)?t(`Ordered maps must not include duplicate keys: ${r.value}`):i.push(r.value));return Object.assign(new Co,n)},createNode:(e,t,n)=>Co.from(e,t,n)};function $S({value:e,source:t},n){return t&&(e?ev:tv).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const ev={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new tt(!0),stringify:$S},tv={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new tt(!1),stringify:$S},hP={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Si},pP={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Si(e)}},mP={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new tt(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const i=e.substring(n+1).replace(/_/g,"");i[i.length-1]==="0"&&(t.minFractionDigits=i.length)}return t},stringify:Si},nl=e=>typeof e=="bigint"||Number.isInteger(e);function ac(e,t,n,{intAsBigInt:i}){const r=e[0];if((r==="-"||r==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),i){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const l=BigInt(e);return r==="-"?BigInt(-1)*l:l}const u=parseInt(e,n);return r==="-"?-1*u:u}function _p(e,t,n){const{value:i}=e;if(nl(i)){const r=i.toString(t);return i<0?"-"+n+r.substr(1):n+r}return Si(e)}const yP={identify:nl,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>ac(e,2,2,n),stringify:e=>_p(e,2,"0b")},gP={identify:nl,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>ac(e,1,8,n),stringify:e=>_p(e,8,"0")},bP={identify:nl,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>ac(e,0,10,n),stringify:Si},TP={identify:nl,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>ac(e,2,16,n),stringify:e=>_p(e,16,"0x")};class Ao extends An{constructor(t){super(t),this.tag=Ao.tag}add(t){let n;Ft(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new ln(t.key,null):n=new ln(t,null),ws(this.items,n.key)||this.items.push(n)}get(t,n){const i=ws(this.items,t);return!n&&Ft(i)?Ot(i.key)?i.key.value:i.key:i}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const i=ws(this.items,t);i&&!n?this.items.splice(this.items.indexOf(i),1):!i&&n&&this.items.push(new ln(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,i){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,i);throw new Error("Set items must all have null values")}static from(t,n,i){const{replacer:r}=i,u=new this(t);if(n&&Symbol.iterator in Object(n))for(let l of n)typeof r=="function"&&(l=r.call(n,l,l)),u.items.push(gp(l,null,i));return u}}Ao.tag="tag:yaml.org,2002:set";const Lp={collection:"map",identify:e=>e instanceof Set,nodeClass:Ao,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>Ao.from(e,t,n),resolve(e,t){if(zs(e)){if(e.hasAllNullValues(!0))return Object.assign(new Ao,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Np(e,t){const n=e[0],i=n==="-"||n==="+"?e.substring(1):e,r=l=>t?BigInt(l):Number(l),u=i.replace(/_/g,"").split(":").reduce((l,d)=>l*r(60)+r(d),r(0));return n==="-"?r(-1)*u:u}function nv(e){let{value:t}=e,n=l=>l;if(typeof t=="bigint")n=l=>BigInt(l);else if(isNaN(t)||!isFinite(t))return Si(e);let i="";t<0&&(i="-",t*=n(-1));const r=n(60),u=[t%r];return t<60?u.unshift(0):(t=(t-u[0])/r,u.unshift(t%r),t>=60&&(t=(t-u[0])/r,u.unshift(t))),i+u.map(l=>String(l).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const iv={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>Np(e,n),stringify:nv},rv={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Np(e,!1),stringify:nv},lc={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(lc.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,i,r,u,l,d]=t.map(Number),y=t[7]?Number((t[7]+"00").substr(1,3)):0;let T=Date.UTC(n,i-1,r,u||0,l||0,d||0,y);const S=t[8];if(S&&S!=="Z"){let O=Np(S,!1);Math.abs(O)<30&&(O*=60),T-=6e4*O}return new Date(T)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},qb=[Wo,Go,rc,sc,ev,tv,yP,gP,bP,TP,hP,pP,mP,Sp,wp,vp,Lp,iv,rv,lc],Hb=new Map([["core",uP],["failsafe",[Wo,Go,rc]],["json",dP],["yaml11",qb],["yaml-1.1",qb]]),Vb={binary:Sp,bool:bp,float:HS,floatExp:qS,floatNaN:GS,floatTime:rv,int:ZS,intHex:QS,intOct:KS,intTime:iv,map:Wo,null:sc,omap:wp,pairs:vp,seq:Go,set:Lp,timestamp:lc},SP={"tag:yaml.org,2002:binary":Sp,"tag:yaml.org,2002:omap":wp,"tag:yaml.org,2002:pairs":vp,"tag:yaml.org,2002:set":Lp,"tag:yaml.org,2002:timestamp":lc};function Pd(e,t){let n=Hb.get(t);if(!n)if(Array.isArray(e))n=[];else{const i=Array.from(Hb.keys()).filter(r=>r!=="yaml11").map(r=>JSON.stringify(r)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${i} or define customTags array`)}if(Array.isArray(e))for(const i of e)n=n.concat(i);else typeof e=="function"&&(n=e(n.slice()));return n.map(i=>{if(typeof i!="string")return i;const r=Vb[i];if(r)return r;const u=Object.keys(Vb).map(l=>JSON.stringify(l)).join(", ");throw new Error(`Unknown custom tag "${i}"; use one of ${u}`)})}const vP=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class il{constructor({compat:t,customTags:n,merge:i,resolveKnownTags:r,schema:u,sortMapEntries:l,toStringDefaults:d}){this.compat=Array.isArray(t)?Pd(t,"compat"):t?Pd(null,t):null,this.merge=!!i,this.name=typeof u=="string"&&u||"core",this.knownTags=r?SP:{},this.tags=Pd(n,this.name),this.toStringOptions=d??null,Object.defineProperty(this,qr,{value:Wo}),Object.defineProperty(this,dr,{value:rc}),Object.defineProperty(this,zo,{value:Go}),this.sortMapEntries=typeof l=="function"?l:l===!0?vP:null}clone(){const t=Object.create(il.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function wP(e,t){const n=[];let i=t.directives===!0;if(t.directives!==!1&&e.directives){const y=e.directives.toString(e);y?(n.push(y),i=!0):e.directives.docStart&&(i=!0)}i&&n.push("---");const r=US(e,t),{commentString:u}=r.options;if(e.commentBefore){n.length!==1&&n.unshift("");const y=u(e.commentBefore);n.unshift(lr(y,""))}let l=!1,d=null;if(e.contents){if(zt(e.contents)){if(e.contents.spaceBefore&&i&&n.push(""),e.contents.commentBefore){const S=u(e.contents.commentBefore);n.push(lr(S,""))}r.forceBlockIndent=!!e.comment,d=e.contents.comment}const y=d?void 0:()=>l=!0;let T=Mo(e.contents,r,()=>d=null,y);d&&(T+=vs(T,"",u(d))),(T[0]==="|"||T[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${T}`:n.push(T)}else n.push(Mo(e.contents,r));if(e.directives?.docEnd)if(e.comment){const y=u(e.comment);y.includes(`
|
|
55
|
+
`)?(n.push("..."),n.push(lr(y,""))):n.push(`... ${y}`)}else n.push("...");else{let y=e.comment;y&&l&&(y=y.replace(/^\n+/,"")),y&&((!l||d)&&n[n.length-1]!==""&&n.push(""),n.push(lr(u(y),"")))}return n.join(`
|
|
56
|
+
`)+`
|
|
57
|
+
`}class Gs{constructor(t,n,i){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,oi,{value:Ph});let r=null;typeof n=="function"||Array.isArray(n)?r=n:i===void 0&&n&&(i=n,n=void 0);const u=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},i);this.options=u;let{version:l}=u;i?._directives?(this.directives=i._directives.atDocument(),this.directives.yaml.explicit&&(l=this.directives.yaml.version)):this.directives=new bn({version:l}),this.setSchema(l,i),this.contents=t===void 0?null:this.createNode(t,r,i)}clone(){const t=Object.create(Gs.prototype,{[oi]:{value:Ph}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=zt(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){po(this.contents)&&this.contents.add(t)}addIn(t,n){po(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const i=BS(this);t.anchor=!n||i.has(n)?RS(n||"a",i):n}return new el(t.anchor)}createNode(t,n,i){let r;if(typeof n=="function")t=n.call({"":t},"",t),r=n;else if(Array.isArray(n)){const C=x=>typeof x=="number"||x instanceof String||x instanceof Number,J=n.filter(C).map(String);J.length>0&&(n=n.concat(J)),r=n}else i===void 0&&n&&(i=n,n=void 0);const{aliasDuplicateObjects:u,anchorPrefix:l,flow:d,keepUndefined:y,onTagObj:T,tag:S}=i??{},{onAnchor:O,setAnchors:I,sourceObjects:k}=QF(this,l||"a"),P={aliasDuplicateObjects:u??!0,keepUndefined:y??!1,onAnchor:O,onTagObj:T,replacer:r,schema:this.schema,sourceObjects:k},m=Ga(t,S,P);return d&&Mt(m)&&(m.flow=!0),I(),m}createPair(t,n,i={}){const r=this.createNode(t,null,i),u=this.createNode(n,null,i);return new ln(r,u)}delete(t){return po(this.contents)?this.contents.delete(t):!1}deleteIn(t){return Oa(t)?this.contents==null?!1:(this.contents=null,!0):po(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return Mt(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return Oa(t)?!n&&Ot(this.contents)?this.contents.value:this.contents:Mt(this.contents)?this.contents.getIn(t,n):void 0}has(t){return Mt(this.contents)?this.contents.has(t):!1}hasIn(t){return Oa(t)?this.contents!==void 0:Mt(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=xu(this.schema,[t],n):po(this.contents)&&this.contents.set(t,n)}setIn(t,n){Oa(t)?this.contents=n:this.contents==null?this.contents=xu(this.schema,Array.from(t),n):po(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let i;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new bn({version:"1.1"}),i={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new bn({version:t}),i={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,i=null;break;default:{const r=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${r}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(i)this.schema=new il(Object.assign(i,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:t,jsonArg:n,mapAsMap:i,maxAliasCount:r,onAnchor:u,reviver:l}={}){const d={anchors:new Map,doc:this,keep:!t,mapAsMap:i===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},y=ri(this.contents,n??"",d);if(typeof u=="function")for(const{count:T,res:S}of d.anchors.values())u(S,T);return typeof l=="function"?_o(l,{"":y},"",y):y}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return wP(this,t)}}function po(e){if(Mt(e))return!0;throw new Error("Expected a YAML collection as document contents")}class uc extends Error{constructor(t,n,i,r){super(),this.name=t,this.code=i,this.message=r,this.pos=n}}class Wr extends uc{constructor(t,n,i){super("YAMLParseError",t,n,i)}}class kp extends uc{constructor(t,n,i){super("YAMLWarning",t,n,i)}}const Ju=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(d=>t.linePos(d));const{line:i,col:r}=n.linePos[0];n.message+=` at line ${i}, column ${r}`;let u=r-1,l=e.substring(t.lineStarts[i-1],t.lineStarts[i]).replace(/[\n\r]+$/,"");if(u>=60&&l.length>80){const d=Math.min(u-39,l.length-79);l="…"+l.substring(d),u-=d-1}if(l.length>80&&(l=l.substring(0,79)+"…"),i>1&&/^ *$/.test(l.substring(0,u))){let d=e.substring(t.lineStarts[i-2],t.lineStarts[i-1]);d.length>80&&(d=d.substring(0,79)+`…
|
|
58
|
+
`),l=d+l}if(/[^ ]/.test(l)){let d=1;const y=n.linePos[1];y&&y.line===i&&y.col>r&&(d=Math.max(1,Math.min(y.col-r,80-u)));const T=" ".repeat(u)+"^".repeat(d);n.message+=`:
|
|
59
|
+
|
|
60
|
+
${l}
|
|
61
|
+
${T}
|
|
62
|
+
`}};function jo(e,{flow:t,indicator:n,next:i,offset:r,onError:u,startOnNewline:l}){let d=!1,y=l,T=l,S="",O="",I=!1,k=!1,P=!1,m=null,C=null,J=null,x=null,G=null;for(const R of e)switch(P&&(R.type!=="space"&&R.type!=="newline"&&R.type!=="comma"&&u(R.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),P=!1),R.type){case"space":!t&&y&&n!=="doc-start"&&R.source[0]===" "&&u(R,"TAB_AS_INDENT","Tabs are not allowed as indentation"),T=!0;break;case"comment":{T||u(R,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const A=R.source.substring(1)||" ";S?S+=O+A:S=A,O="",y=!1;break}case"newline":y?S?S+=R.source:d=!0:O+=R.source,y=!0,I=!0,(m||C)&&(k=!0),T=!0;break;case"anchor":m&&u(R,"MULTIPLE_ANCHORS","A node can have at most one anchor"),R.source.endsWith(":")&&u(R.offset+R.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=R,G===null&&(G=R.offset),y=!1,T=!1,P=!0;break;case"tag":{C&&u(R,"MULTIPLE_TAGS","A node can have at most one tag"),C=R,G===null&&(G=R.offset),y=!1,T=!1,P=!0;break}case n:(m||C)&&u(R,"BAD_PROP_ORDER",`Anchors and tags must be after the ${R.source} indicator`),x&&u(R,"UNEXPECTED_TOKEN",`Unexpected ${R.source} in ${t??"collection"}`),x=R,y=!1,T=!1;break;case"comma":if(t){J&&u(R,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),J=R,y=!1,T=!1;break}default:u(R,"UNEXPECTED_TOKEN",`Unexpected ${R.type} token`),y=!1,T=!1}const K=e[e.length-1],U=K?K.offset+K.source.length:r;return P&&i&&i.type!=="space"&&i.type!=="newline"&&i.type!=="comma"&&(i.type!=="scalar"||i.source!=="")&&u(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:J,found:x,spaceBefore:d,comment:S,hasNewline:I,hasNewlineAfterProp:k,anchor:m,tag:C,end:U,start:G??U}}function qa(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
|
|
63
|
+
`))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(qa(t.key)||qa(t.value))return!0}return!1;default:return!0}}function Bh(e,t,n){if(t?.type==="flow-collection"){const i=t.end[0];i.indent===e&&(i.source==="]"||i.source==="}")&&qa(t)&&n(i,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function sv(e,t,n){const{uniqueKeys:i}=e.options;if(i===!1)return!1;const r=typeof i=="function"?i:(u,l)=>u===l||Ot(u)&&Ot(l)&&u.value===l.value&&!(u.value==="<<"&&e.schema.merge);return t.some(u=>r(u.key,n))}const Kb="All mapping items must start at the same column";function _P({composeNode:e,composeEmptyNode:t},n,i,r,u){const l=u?.nodeClass??An,d=new l(n.schema);n.atRoot&&(n.atRoot=!1);let y=i.offset,T=null;for(const S of i.items){const{start:O,key:I,sep:k,value:P}=S,m=jo(O,{indicator:"explicit-key-ind",next:I??k?.[0],offset:y,onError:r,startOnNewline:!0}),C=!m.found;if(C){if(I&&(I.type==="block-seq"?r(y,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in I&&I.indent!==i.indent&&r(y,"BAD_INDENT",Kb)),!m.anchor&&!m.tag&&!k){T=m.end,m.comment&&(d.comment?d.comment+=`
|
|
64
|
+
`+m.comment:d.comment=m.comment);continue}(m.hasNewlineAfterProp||qa(I))&&r(I??O[O.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else m.found?.indent!==i.indent&&r(y,"BAD_INDENT",Kb);const J=m.end,x=I?e(n,I,m,r):t(n,J,O,null,m,r);n.schema.compat&&Bh(i.indent,I,r),sv(n,d.items,x)&&r(J,"DUPLICATE_KEY","Map keys must be unique");const G=jo(k??[],{indicator:"map-value-ind",next:P,offset:x.range[2],onError:r,startOnNewline:!I||I.type==="block-scalar"});if(y=G.end,G.found){C&&(P?.type==="block-map"&&!G.hasNewline&&r(y,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&m.start<G.found.offset-1024&&r(x.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const K=P?e(n,P,G,r):t(n,y,k,null,G,r);n.schema.compat&&Bh(i.indent,P,r),y=K.range[2];const U=new ln(x,K);n.options.keepSourceTokens&&(U.srcToken=S),d.items.push(U)}else{C&&r(x.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),G.comment&&(x.comment?x.comment+=`
|
|
65
|
+
`+G.comment:x.comment=G.comment);const K=new ln(x);n.options.keepSourceTokens&&(K.srcToken=S),d.items.push(K)}}return T&&T<y&&r(T,"IMPOSSIBLE","Map comment with trailing content"),d.range=[i.offset,y,T??y],d}function LP({composeNode:e,composeEmptyNode:t},n,i,r,u){const l=u?.nodeClass??pr,d=new l(n.schema);n.atRoot&&(n.atRoot=!1);let y=i.offset,T=null;for(const{start:S,value:O}of i.items){const I=jo(S,{indicator:"seq-item-ind",next:O,offset:y,onError:r,startOnNewline:!0});if(!I.found)if(I.anchor||I.tag||O)O&&O.type==="block-seq"?r(I.end,"BAD_INDENT","All sequence items must start at the same column"):r(y,"MISSING_CHAR","Sequence item without - indicator");else{T=I.end,I.comment&&(d.comment=I.comment);continue}const k=O?e(n,O,I,r):t(n,I.end,S,null,I,r);n.schema.compat&&Bh(i.indent,O,r),y=k.range[2],d.items.push(k)}return d.range=[i.offset,y,T??y],d}function rl(e,t,n,i){let r="";if(e){let u=!1,l="";for(const d of e){const{source:y,type:T}=d;switch(T){case"space":u=!0;break;case"comment":{n&&!u&&i(d,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const S=y.substring(1)||" ";r?r+=l+S:r=S,l="";break}case"newline":r&&(l+=y),u=!0;break;default:i(d,"UNEXPECTED_TOKEN",`Unexpected ${T} at node end`)}t+=y.length}}return{comment:r,offset:t}}const Id="Block collections are not allowed within flow collections",Md=e=>e&&(e.type==="block-map"||e.type==="block-seq");function NP({composeNode:e,composeEmptyNode:t},n,i,r,u){const l=i.start.source==="{",d=l?"flow map":"flow sequence",y=u?.nodeClass??(l?An:pr),T=new y(n.schema);T.flow=!0;const S=n.atRoot;S&&(n.atRoot=!1);let O=i.offset+i.start.source.length;for(let C=0;C<i.items.length;++C){const J=i.items[C],{start:x,key:G,sep:K,value:U}=J,R=jo(x,{flow:d,indicator:"explicit-key-ind",next:G??K?.[0],offset:O,onError:r,startOnNewline:!1});if(!R.found){if(!R.anchor&&!R.tag&&!K&&!U){C===0&&R.comma?r(R.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${d}`):C<i.items.length-1&&r(R.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${d}`),R.comment&&(T.comment?T.comment+=`
|
|
66
|
+
`+R.comment:T.comment=R.comment),O=R.end;continue}!l&&n.options.strict&&qa(G)&&r(G,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(C===0)R.comma&&r(R.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${d}`);else if(R.comma||r(R.start,"MISSING_CHAR",`Missing , between ${d} items`),R.comment){let A="";e:for(const b of x)switch(b.type){case"comma":case"space":break;case"comment":A=b.source.substring(1);break e;default:break e}if(A){let b=T.items[T.items.length-1];Ft(b)&&(b=b.value??b.key),b.comment?b.comment+=`
|
|
67
|
+
`+A:b.comment=A,R.comment=R.comment.substring(A.length+1)}}if(!l&&!K&&!R.found){const A=U?e(n,U,R,r):t(n,R.end,K,null,R,r);T.items.push(A),O=A.range[2],Md(U)&&r(A.range,"BLOCK_IN_FLOW",Id)}else{const A=R.end,b=G?e(n,G,R,r):t(n,A,x,null,R,r);Md(G)&&r(b.range,"BLOCK_IN_FLOW",Id);const _=jo(K??[],{flow:d,indicator:"map-value-ind",next:U,offset:b.range[2],onError:r,startOnNewline:!1});if(_.found){if(!l&&!R.found&&n.options.strict){if(K)for(const p of K){if(p===_.found)break;if(p.type==="newline"){r(p,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}R.start<_.found.offset-1024&&r(_.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else U&&("source"in U&&U.source&&U.source[0]===":"?r(U,"MISSING_CHAR",`Missing space after : in ${d}`):r(_.start,"MISSING_CHAR",`Missing , or : between ${d} items`));const L=U?e(n,U,_,r):_.found?t(n,_.end,K,null,_,r):null;L?Md(U)&&r(L.range,"BLOCK_IN_FLOW",Id):_.comment&&(b.comment?b.comment+=`
|
|
68
|
+
`+_.comment:b.comment=_.comment);const g=new ln(b,L);if(n.options.keepSourceTokens&&(g.srcToken=J),l){const p=T;sv(n,p.items,b)&&r(A,"DUPLICATE_KEY","Map keys must be unique"),p.items.push(g)}else{const p=new An(n.schema);p.flow=!0,p.items.push(g),T.items.push(p)}O=L?L.range[2]:_.end}}const I=l?"}":"]",[k,...P]=i.end;let m=O;if(k&&k.source===I)m=k.offset+k.source.length;else{const C=d[0].toUpperCase()+d.substring(1),J=S?`${C} must end with a ${I}`:`${C} in block collection must be sufficiently indented and end with a ${I}`;r(O,S?"MISSING_CHAR":"BAD_INDENT",J),k&&k.source.length!==1&&P.unshift(k)}if(P.length>0){const C=rl(P,m,n.options.strict,r);C.comment&&(T.comment?T.comment+=`
|
|
69
|
+
`+C.comment:T.comment=C.comment),T.range=[i.offset,m,C.offset]}else T.range=[i.offset,m,m];return T}function jd(e,t,n,i,r,u){const l=n.type==="block-map"?_P(e,t,n,i,u):n.type==="block-seq"?LP(e,t,n,i,u):NP(e,t,n,i,u),d=l.constructor;return r==="!"||r===d.tagName?(l.tag=d.tagName,l):(r&&(l.tag=r),l)}function kP(e,t,n,i,r){const u=i?t.directives.tagName(i.source,O=>r(i,"TAG_RESOLVE_FAILED",O)):null,l=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!i||!u||u==="!"||u===An.tagName&&l==="map"||u===pr.tagName&&l==="seq"||!l)return jd(e,t,n,r,u);let d=t.schema.tags.find(O=>O.tag===u&&O.collection===l);if(!d){const O=t.schema.knownTags[u];if(O&&O.collection===l)t.schema.tags.push(Object.assign({},O,{default:!1})),d=O;else return O?.collection?r(i,"BAD_COLLECTION_TYPE",`${O.tag} used for ${l} collection, but expects ${O.collection}`,!0):r(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${u}`,!0),jd(e,t,n,r,u)}const y=jd(e,t,n,r,u,d),T=d.resolve?.(y,O=>r(i,"TAG_RESOLVE_FAILED",O),t.options)??y,S=zt(T)?T:new tt(T);return S.range=y.range,S.tag=u,d?.format&&(S.format=d.format),S}function ov(e,t,n){const i=e.offset,r=OP(e,t,n);if(!r)return{value:"",type:null,comment:"",range:[i,i,i]};const u=r.mode===">"?tt.BLOCK_FOLDED:tt.BLOCK_LITERAL,l=e.source?EP(e.source):[];let d=l.length;for(let m=l.length-1;m>=0;--m){const C=l[m][1];if(C===""||C==="\r")d=m;else break}if(d===0){const m=r.chomp==="+"&&l.length>0?`
|
|
70
|
+
`.repeat(Math.max(1,l.length-1)):"";let C=i+r.length;return e.source&&(C+=e.source.length),{value:m,type:u,comment:r.comment,range:[i,C,C]}}let y=e.indent+r.indent,T=e.offset+r.length,S=0;for(let m=0;m<d;++m){const[C,J]=l[m];if(J===""||J==="\r")r.indent===0&&C.length>y&&(y=C.length);else{C.length<y&&n(T+C.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),r.indent===0&&(y=C.length),S=m;break}T+=C.length+J.length+1}for(let m=l.length-1;m>=d;--m)l[m][0].length>y&&(d=m+1);let O="",I="",k=!1;for(let m=0;m<S;++m)O+=l[m][0].slice(y)+`
|
|
71
|
+
`;for(let m=S;m<d;++m){let[C,J]=l[m];T+=C.length+J.length+1;const x=J[J.length-1]==="\r";if(x&&(J=J.slice(0,-1)),J&&C.length<y){const K=`Block scalar lines must not be less indented than their ${r.indent?"explicit indentation indicator":"first line"}`;n(T-J.length-(x?2:1),"BAD_INDENT",K),C=""}u===tt.BLOCK_LITERAL?(O+=I+C.slice(y)+J,I=`
|
|
72
|
+
`):C.length>y||J[0]===" "?(I===" "?I=`
|
|
73
|
+
`:!k&&I===`
|
|
74
|
+
`&&(I=`
|
|
75
|
+
|
|
76
|
+
`),O+=I+C.slice(y)+J,I=`
|
|
77
|
+
`,k=!0):J===""?I===`
|
|
78
|
+
`?O+=`
|
|
79
|
+
`:I=`
|
|
80
|
+
`:(O+=I+J,I=" ",k=!1)}switch(r.chomp){case"-":break;case"+":for(let m=d;m<l.length;++m)O+=`
|
|
81
|
+
`+l[m][0].slice(y);O[O.length-1]!==`
|
|
82
|
+
`&&(O+=`
|
|
83
|
+
`);break;default:O+=`
|
|
84
|
+
`}const P=i+r.length+e.source.length;return{value:O,type:u,comment:r.comment,range:[i,P,P]}}function OP({offset:e,props:t},n,i){if(t[0].type!=="block-scalar-header")return i(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:r}=t[0],u=r[0];let l=0,d="",y=-1;for(let I=1;I<r.length;++I){const k=r[I];if(!d&&(k==="-"||k==="+"))d=k;else{const P=Number(k);!l&&P?l=P:y===-1&&(y=e+I)}}y!==-1&&i(y,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${r}`);let T=!1,S="",O=r.length;for(let I=1;I<t.length;++I){const k=t[I];switch(k.type){case"space":T=!0;case"newline":O+=k.source.length;break;case"comment":n&&!T&&i(k,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),O+=k.source.length,S=k.source.substring(1);break;case"error":i(k,"UNEXPECTED_TOKEN",k.message),O+=k.source.length;break;default:{const P=`Unexpected token in block scalar header: ${k.type}`;i(k,"UNEXPECTED_TOKEN",P);const m=k.source;m&&typeof m=="string"&&(O+=m.length)}}}return{mode:u,indent:l,chomp:d,comment:S,length:O}}function EP(e){const t=e.split(/\n( *)/),n=t[0],i=n.match(/^( *)/),u=[i?.[1]?[i[1],n.slice(i[1].length)]:["",n]];for(let l=1;l<t.length;l+=2)u.push([t[l],t[l+1]]);return u}function av(e,t,n){const{offset:i,type:r,source:u,end:l}=e;let d,y;const T=(I,k,P)=>n(i+I,k,P);switch(r){case"scalar":d=tt.PLAIN,y=CP(u,T);break;case"single-quoted-scalar":d=tt.QUOTE_SINGLE,y=AP(u,T);break;case"double-quoted-scalar":d=tt.QUOTE_DOUBLE,y=FP(u,T);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${r}`),{value:"",type:null,comment:"",range:[i,i+u.length,i+u.length]}}const S=i+u.length,O=rl(l,S,t,n);return{value:y,type:d,comment:O.comment,range:[i,S,O.offset]}}function CP(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),lv(e)}function AP(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),lv(e.slice(1,-1)).replace(/''/g,"'")}function lv(e){let t,n;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r?
|
|
85
|
+
`,"sy"),n=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
|
|
86
|
+
`,"sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let i=t.exec(e);if(!i)return e;let r=i[1],u=" ",l=t.lastIndex;for(n.lastIndex=l;i=n.exec(e);)i[1]===""?u===`
|
|
87
|
+
`?r+=u:u=`
|
|
88
|
+
`:(r+=u+i[1],u=" "),l=n.lastIndex;const d=/[ \t]*(.*)/sy;return d.lastIndex=l,i=d.exec(e),r+u+(i?.[1]??"")}function FP(e,t){let n="";for(let i=1;i<e.length-1;++i){const r=e[i];if(!(r==="\r"&&e[i+1]===`
|
|
89
|
+
`))if(r===`
|
|
90
|
+
`){const{fold:u,offset:l}=PP(e,i);n+=u,i=l}else if(r==="\\"){let u=e[++i];const l=IP[u];if(l)n+=l;else if(u===`
|
|
91
|
+
`)for(u=e[i+1];u===" "||u===" ";)u=e[++i+1];else if(u==="\r"&&e[i+1]===`
|
|
92
|
+
`)for(u=e[++i+1];u===" "||u===" ";)u=e[++i+1];else if(u==="x"||u==="u"||u==="U"){const d={x:2,u:4,U:8}[u];n+=MP(e,i+1,d,t),i+=d}else{const d=e.substr(i-1,2);t(i-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${d}`),n+=d}}else if(r===" "||r===" "){const u=i;let l=e[i+1];for(;l===" "||l===" ";)l=e[++i+1];l!==`
|
|
93
|
+
`&&!(l==="\r"&&e[i+2]===`
|
|
94
|
+
`)&&(n+=i>u?e.slice(u,i+1):r)}else n+=r}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}function PP(e,t){let n="",i=e[t+1];for(;(i===" "||i===" "||i===`
|
|
95
|
+
`||i==="\r")&&!(i==="\r"&&e[t+2]!==`
|
|
96
|
+
`);)i===`
|
|
97
|
+
`&&(n+=`
|
|
98
|
+
`),t+=1,i=e[t+1];return n||(n=" "),{fold:n,offset:t}}const IP={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
|
|
99
|
+
`,r:"\r",t:" ",v:"\v",N:"
",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function MP(e,t,n,i){const r=e.substr(t,n),l=r.length===n&&/^[0-9a-fA-F]+$/.test(r)?parseInt(r,16):NaN;if(isNaN(l)){const d=e.substr(t-2,n+2);return i(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${d}`),d}return String.fromCodePoint(l)}function uv(e,t,n,i){const{value:r,type:u,comment:l,range:d}=t.type==="block-scalar"?ov(t,e.options.strict,i):av(t,e.options.strict,i),y=n?e.directives.tagName(n.source,O=>i(n,"TAG_RESOLVE_FAILED",O)):null,T=n&&y?jP(e.schema,r,y,n,i):t.type==="scalar"?BP(e,r,t,i):e.schema[dr];let S;try{const O=T.resolve(r,I=>i(n??t,"TAG_RESOLVE_FAILED",I),e.options);S=Ot(O)?O:new tt(O)}catch(O){const I=O instanceof Error?O.message:String(O);i(n??t,"TAG_RESOLVE_FAILED",I),S=new tt(r)}return S.range=d,S.source=r,u&&(S.type=u),y&&(S.tag=y),T.format&&(S.format=T.format),l&&(S.comment=l),S}function jP(e,t,n,i,r){if(n==="!")return e[dr];const u=[];for(const d of e.tags)if(!d.collection&&d.tag===n)if(d.default&&d.test)u.push(d);else return d;for(const d of u)if(d.test?.test(t))return d;const l=e.knownTags[n];return l&&!l.collection?(e.tags.push(Object.assign({},l,{default:!1,test:void 0})),l):(r(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[dr])}function BP({directives:e,schema:t},n,i,r){const u=t.tags.find(l=>l.default&&l.test?.test(n))||t[dr];if(t.compat){const l=t.compat.find(d=>d.default&&d.test?.test(n))??t[dr];if(u.tag!==l.tag){const d=e.tagString(u.tag),y=e.tagString(l.tag),T=`Value may be parsed as either ${d} or ${y}`;r(i,"TAG_RESOLVE_FAILED",T,!0)}}return u}function RP(e,t,n){if(t){n===null&&(n=t.length);for(let i=n-1;i>=0;--i){let r=t[i];switch(r.type){case"space":case"comment":case"newline":e-=r.source.length;continue}for(r=t[++i];r?.type==="space";)e+=r.source.length,r=t[++i];break}}return e}const DP={composeNode:cv,composeEmptyNode:Op};function cv(e,t,n,i){const{spaceBefore:r,comment:u,anchor:l,tag:d}=n;let y,T=!0;switch(t.type){case"alias":y=xP(e,t,i),(l||d)&&i(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":y=uv(e,t,d,i),l&&(y.anchor=l.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":y=kP(DP,e,t,d,i),l&&(y.anchor=l.source.substring(1));break;default:{const S=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;i(t,"UNEXPECTED_TOKEN",S),y=Op(e,t.offset,void 0,null,n,i),T=!1}}return l&&y.anchor===""&&i(l,"BAD_ALIAS","Anchor cannot be an empty string"),r&&(y.spaceBefore=!0),u&&(t.type==="scalar"&&t.source===""?y.comment=u:y.commentBefore=u),e.options.keepSourceTokens&&T&&(y.srcToken=t),y}function Op(e,t,n,i,{spaceBefore:r,comment:u,anchor:l,tag:d,end:y},T){const S={type:"scalar",offset:RP(t,n,i),indent:-1,source:""},O=uv(e,S,d,T);return l&&(O.anchor=l.source.substring(1),O.anchor===""&&T(l,"BAD_ALIAS","Anchor cannot be an empty string")),r&&(O.spaceBefore=!0),u&&(O.comment=u,O.range[2]=y),O}function xP({options:e},{offset:t,source:n,end:i},r){const u=new el(n.substring(1));u.source===""&&r(t,"BAD_ALIAS","Alias cannot be an empty string"),u.source.endsWith(":")&&r(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const l=t+n.length,d=rl(i,l,e.strict,r);return u.range=[t,l,d.offset],d.comment&&(u.comment=d.comment),u}function UP(e,t,{offset:n,start:i,value:r,end:u},l){const d=Object.assign({_directives:t},e),y=new Gs(void 0,d),T={atRoot:!0,directives:y.directives,options:y.options,schema:y.schema},S=jo(i,{indicator:"doc-start",next:r??u?.[0],offset:n,onError:l,startOnNewline:!0});S.found&&(y.directives.docStart=!0,r&&(r.type==="block-map"||r.type==="block-seq")&&!S.hasNewline&&l(S.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),y.contents=r?cv(T,r,S,l):Op(T,S.end,i,null,S,l);const O=y.contents.range[2],I=rl(u,O,!1,l);return I.comment&&(y.comment=I.comment),y.range=[n,O,I.offset],y}function Ta(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}function Zb(e){let t="",n=!1,i=!1;for(let r=0;r<e.length;++r){const u=e[r];switch(u[0]){case"#":t+=(t===""?"":i?`
|
|
100
|
+
|
|
101
|
+
`:`
|
|
102
|
+
`)+(u.substring(1)||" "),n=!0,i=!1;break;case"%":e[r+1]?.[0]!=="#"&&(r+=1),n=!1;break;default:n||(i=!0),n=!1}}return{comment:t,afterEmptyLine:i}}class cc{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,i,r,u)=>{const l=Ta(n);u?this.warnings.push(new kp(l,i,r)):this.errors.push(new Wr(l,i,r))},this.directives=new bn({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:i,afterEmptyLine:r}=Zb(this.prelude);if(i){const u=t.contents;if(n)t.comment=t.comment?`${t.comment}
|
|
103
|
+
${i}`:i;else if(r||t.directives.docStart||!u)t.commentBefore=i;else if(Mt(u)&&!u.flow&&u.items.length>0){let l=u.items[0];Ft(l)&&(l=l.key);const d=l.commentBefore;l.commentBefore=d?`${i}
|
|
104
|
+
${d}`:i}else{const l=u.commentBefore;u.commentBefore=l?`${i}
|
|
105
|
+
${l}`:i}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Zb(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,i=-1){for(const r of t)yield*this.next(r);yield*this.end(n,i)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,i,r)=>{const u=Ta(t);u[0]+=n,this.onError(u,"BAD_DIRECTIVE",i,r)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=UP(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,i=new Wr(Ta(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(i):this.doc.errors.push(i);break}case"doc-end":{if(!this.doc){const i="Unexpected doc-end without preceding document";this.errors.push(new Wr(Ta(t),"UNEXPECTED_TOKEN",i));break}this.doc.directives.docEnd=!0;const n=rl(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const i=this.doc.comment;this.doc.comment=i?`${i}
|
|
106
|
+
${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new Wr(Ta(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const i=Object.assign({_directives:this.directives},this.options),r=new Gs(void 0,i);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),r.range=[0,n,n],this.decorate(r,!1),yield r}}}function JP(e,t=!0,n){if(e){const i=(r,u,l)=>{const d=typeof r=="number"?r:Array.isArray(r)?r[0]:r.offset;if(n)n(d,u,l);else throw new Wr([d,d+1],u,l)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return av(e,t,i);case"block-scalar":return ov(e,t,i)}}return null}function zP(e,t){const{implicitKey:n=!1,indent:i,inFlow:r=!1,offset:u=-1,type:l="PLAIN"}=t,d=tl({type:l,value:e},{implicitKey:n,indent:i>0?" ".repeat(i):"",inFlow:r,options:{blockQuote:!0,lineWidth:-1}}),y=t.end??[{type:"newline",offset:-1,indent:i,source:`
|
|
107
|
+
`}];switch(d[0]){case"|":case">":{const T=d.indexOf(`
|
|
108
|
+
`),S=d.substring(0,T),O=d.substring(T+1)+`
|
|
109
|
+
`,I=[{type:"block-scalar-header",offset:u,indent:i,source:S}];return fv(I,y)||I.push({type:"newline",offset:-1,indent:i,source:`
|
|
110
|
+
`}),{type:"block-scalar",offset:u,indent:i,props:I,source:O}}case'"':return{type:"double-quoted-scalar",offset:u,indent:i,source:d,end:y};case"'":return{type:"single-quoted-scalar",offset:u,indent:i,source:d,end:y};default:return{type:"scalar",offset:u,indent:i,source:d,end:y}}}function WP(e,t,n={}){let{afterKey:i=!1,implicitKey:r=!1,inFlow:u=!1,type:l}=n,d="indent"in e?e.indent:null;if(i&&typeof d=="number"&&(d+=2),!l)switch(e.type){case"single-quoted-scalar":l="QUOTE_SINGLE";break;case"double-quoted-scalar":l="QUOTE_DOUBLE";break;case"block-scalar":{const T=e.props[0];if(T.type!=="block-scalar-header")throw new Error("Invalid block scalar header");l=T.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:l="PLAIN"}const y=tl({type:l,value:t},{implicitKey:r||d===null,indent:d!==null&&d>0?" ".repeat(d):"",inFlow:u,options:{blockQuote:!0,lineWidth:-1}});switch(y[0]){case"|":case">":GP(e,y);break;case'"':Bd(e,y,"double-quoted-scalar");break;case"'":Bd(e,y,"single-quoted-scalar");break;default:Bd(e,y,"scalar")}}function GP(e,t){const n=t.indexOf(`
|
|
111
|
+
`),i=t.substring(0,n),r=t.substring(n+1)+`
|
|
112
|
+
`;if(e.type==="block-scalar"){const u=e.props[0];if(u.type!=="block-scalar-header")throw new Error("Invalid block scalar header");u.source=i,e.source=r}else{const{offset:u}=e,l="indent"in e?e.indent:-1,d=[{type:"block-scalar-header",offset:u,indent:l,source:i}];fv(d,"end"in e?e.end:void 0)||d.push({type:"newline",offset:-1,indent:l,source:`
|
|
113
|
+
`});for(const y of Object.keys(e))y!=="type"&&y!=="offset"&&delete e[y];Object.assign(e,{type:"block-scalar",indent:l,props:d,source:r})}}function fv(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function Bd(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const i=e.props.slice(1);let r=t.length;e.props[0].type==="block-scalar-header"&&(r-=e.props[0].source.length);for(const u of i)u.offset+=r;delete e.props,Object.assign(e,{type:n,source:t,end:i});break}case"block-map":case"block-seq":{const r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:`
|
|
114
|
+
`};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{const i="indent"in e?e.indent:-1,r="end"in e&&Array.isArray(e.end)?e.end.filter(u=>u.type==="space"||u.type==="comment"||u.type==="newline"):[];for(const u of Object.keys(e))u!=="type"&&u!=="offset"&&delete e[u];Object.assign(e,{type:n,indent:i,source:t,end:r})}}}const qP=e=>"type"in e?zu(e):Eu(e);function zu(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=zu(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=Eu(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=Eu(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=Eu(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function Eu({start:e,key:t,sep:n,value:i}){let r="";for(const u of e)r+=u.source;if(t&&(r+=zu(t)),n)for(const u of n)r+=u.source;return i&&(r+=zu(i)),r}const Rh=Symbol("break visit"),HP=Symbol("skip children"),dv=Symbol("remove item");function Ms(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),hv(Object.freeze([]),e,t)}Ms.BREAK=Rh;Ms.SKIP=HP;Ms.REMOVE=dv;Ms.itemAtPath=(e,t)=>{let n=e;for(const[i,r]of t){const u=n?.[i];if(u&&"items"in u)n=u.items[r];else return}return n};Ms.parentCollection=(e,t)=>{const n=Ms.itemAtPath(e,t.slice(0,-1)),i=t[t.length-1][0],r=n?.[i];if(r&&"items"in r)return r;throw new Error("Parent collection not found")};function hv(e,t,n){let i=n(t,e);if(typeof i=="symbol")return i;for(const r of["key","value"]){const u=t[r];if(u&&"items"in u){for(let l=0;l<u.items.length;++l){const d=hv(Object.freeze(e.concat([[r,l]])),u.items[l],n);if(typeof d=="number")l=d-1;else{if(d===Rh)return Rh;d===dv&&(u.items.splice(l,1),l-=1)}}typeof i=="function"&&r==="key"&&(i=i(t,e))}}return typeof i=="function"?i(t,e):i}const fc="\uFEFF",dc="",hc="",Ha="",VP=e=>!!e&&"items"in e,KP=e=>!!e&&(e.type==="scalar"||e.type==="single-quoted-scalar"||e.type==="double-quoted-scalar"||e.type==="block-scalar");function ZP(e){switch(e){case fc:return"<BOM>";case dc:return"<DOC>";case hc:return"<FLOW_END>";case Ha:return"<SCALAR>";default:return JSON.stringify(e)}}function pv(e){switch(e){case fc:return"byte-order-mark";case dc:return"doc-mode";case hc:return"flow-error-end";case Ha:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
|
|
115
|
+
`:case`\r
|
|
116
|
+
`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}const mv=Object.freeze(Object.defineProperty({__proto__:null,BOM:fc,DOCUMENT:dc,FLOW_END:hc,SCALAR:Ha,createScalarToken:zP,isCollection:VP,isScalar:KP,prettyToken:ZP,resolveAsScalar:JP,setScalarValue:WP,stringify:qP,tokenType:pv,visit:Ms},Symbol.toStringTag,{value:"Module"}));function $n(e){switch(e){case void 0:case" ":case`
|
|
117
|
+
`:case"\r":case" ":return!0;default:return!1}}const Qb="0123456789ABCDEFabcdef".split(""),QP="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),Rd=",[]{}".split(""),XP=` ,[]{}
|
|
118
|
+
\r `.split(""),Dd=e=>!e||XP.includes(e);class Ep{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,n=!1){t&&(this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null),this.atEnd=!n;let i=this.next??"stream";for(;i&&(n||this.hasChars(1));)i=yield*this.parseNext(i)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n===" ";)n=this.buffer[++t];return!n||n==="#"||n===`
|
|
119
|
+
`?!0:n==="\r"?this.buffer[t+1]===`
|
|
120
|
+
`:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let i=0;for(;n===" ";)n=this.buffer[++i+t];if(n==="\r"){const r=this.buffer[i+t+1];if(r===`
|
|
121
|
+
`||!r&&!this.atEnd)return t+i+1}return n===`
|
|
122
|
+
`||i>=this.indentNext||!n&&!this.atEnd?t+i:-1}if(n==="-"||n==="."){const i=this.buffer.substr(t,3);if((i==="---"||i==="...")&&$n(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(`
|
|
123
|
+
`,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===fc&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let n=t.length;const i=t.indexOf("#");if(i!==-1){const u=t[i-1];(u===" "||u===" ")&&(n=i-1)}for(;;){const u=t[n-1];if(u===" "||u===" ")n-=1;else break}const r=(yield*this.pushCount(n))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){const n=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-n),yield*this.pushNewline(),"stream"}return yield dc,yield*this.parseLineStart()}*parseLineStart(){const t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const n=this.peek(3);if(n==="---"&&$n(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if(n==="..."&&$n(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!$n(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&$n(n)){const i=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=i,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(Dd),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,i=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=i=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const r=this.getLine();if(r===null)return this.setNext("flow");if((i!==-1&&i<this.indentNext&&r[0]!=="#"||i===0&&(r.startsWith("---")||r.startsWith("..."))&&$n(r[3]))&&!(i===this.indentNext-1&&this.flowLevel===1&&(r[0]==="]"||r[0]==="}")))return this.flowLevel=0,yield hc,yield*this.parseLineStart();let u=0;for(;r[u]===",";)u+=yield*this.pushCount(1),u+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(u+=yield*this.pushIndicators(),r[u]){case void 0:return"flow";case"#":return yield*this.pushCount(r.length-u),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(Dd),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const l=this.charAt(1);if(this.flowKey||$n(l)||l===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const t=this.charAt(0);let n=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;n!==-1&&this.buffer[n+1]==="'";)n=this.buffer.indexOf("'",n+2);else for(;n!==-1;){let u=0;for(;this.buffer[n-1-u]==="\\";)u+=1;if(u%2===0)break;n=this.buffer.indexOf('"',n+1)}const i=this.buffer.substring(0,n);let r=i.indexOf(`
|
|
124
|
+
`,this.pos);if(r!==-1){for(;r!==-1;){const u=this.continueScalar(r+1);if(u===-1)break;r=i.indexOf(`
|
|
125
|
+
`,u)}r!==-1&&(n=r-(i[r-1]==="\r"?2:1))}if(n===-1){if(!this.atEnd)return this.setNext("quoted-scalar");n=this.buffer.length}return yield*this.pushToIndex(n+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){const n=this.buffer[++t];if(n==="+")this.blockScalarKeep=!0;else if(n>"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>$n(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,i;e:for(let r=this.pos;i=this.buffer[r];++r)switch(i){case" ":n+=1;break;case`
|
|
126
|
+
`:t=r,n=0;break;case"\r":{const u=this.buffer[r+1];if(!u&&!this.atEnd)return this.setNext("block-scalar");if(u===`
|
|
127
|
+
`)break}default:break e}if(!i&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext+=this.blockScalarIndent;do{const r=this.continueScalar(t+1);if(r===-1)break;t=this.buffer.indexOf(`
|
|
128
|
+
`,r)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)do{let r=t-1,u=this.buffer[r];u==="\r"&&(u=this.buffer[--r]);const l=r;for(;u===" "||u===" ";)u=this.buffer[--r];if(u===`
|
|
129
|
+
`&&r>=this.pos&&r+1+n>l)t=r;else break}while(!0);return yield Ha,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,i=this.pos-1,r;for(;r=this.buffer[++i];)if(r===":"){const u=this.buffer[i+1];if($n(u)||t&&u===",")break;n=i}else if($n(r)){let u=this.buffer[i+1];if(r==="\r"&&(u===`
|
|
130
|
+
`?(i+=1,r=`
|
|
131
|
+
`,u=this.buffer[i+1]):n=i),u==="#"||t&&Rd.includes(u))break;if(r===`
|
|
132
|
+
`){const l=this.continueScalar(i+1);if(l===-1)break;i=Math.max(i,l-2)}}else{if(t&&Rd.includes(r))break;n=i}return!r&&!this.atEnd?this.setNext("plain-scalar"):(yield Ha,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const i=this.buffer.slice(this.pos,t);return i?(yield i,this.pos+=i.length,i.length):(n&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(Dd))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if($n(n)||t&&Rd.includes(n))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!$n(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if(QP.includes(n))n=this.buffer[++t];else if(n==="%"&&Qb.includes(this.buffer[t+1])&&Qb.includes(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===`
|
|
133
|
+
`?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
|
|
134
|
+
`?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,i;do i=this.buffer[++n];while(i===" "||t&&i===" ");const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(t){let n=this.pos,i=this.buffer[n];for(;!t(i);)i=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class Cp{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,i=this.lineStarts.length;for(;n<i;){const u=n+i>>1;this.lineStarts[u]<t?n=u+1:i=u}if(this.lineStarts[n]===t)return{line:n+1,col:1};if(n===0)return{line:0,col:t};const r=this.lineStarts[n-1];return{line:n,col:t-r+1}}}}function pi(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function Xb(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function yv(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function pu(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function mo(e){if(e.length===0)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function Yb(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!pi(t.start,"explicit-key-ind")&&!pi(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,yv(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class pc{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new Ep,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const i of this.lexer.lex(t,n))yield*this.next(i);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=pv(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const i=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:i,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&(!t||t.type!=="doc-end")){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(!n)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield n;else{const i=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in i?i.indent:0:n.type==="flow-collection"&&i.type==="document"&&(n.indent=0),n.type==="flow-collection"&&Yb(n),i.type){case"document":i.value=n;break;case"block-scalar":i.props.push(n);break;case"block-map":{const r=i.items[i.items.length-1];if(r.value){i.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(r.sep)r.value=n;else{Object.assign(r,{key:n,sep:[]}),this.onKeyLine=!pi(r.start,"explicit-key-ind");return}break}case"block-seq":{const r=i.items[i.items.length-1];r.value?i.items.push({start:[],value:n}):r.value=n;break}case"flow-collection":{const r=i.items[i.items.length-1];!r||r.value?i.items.push({start:[],key:n,sep:[]}):r.sep?r.value=n:Object.assign(r,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((i.type==="document"||i.type==="block-map"||i.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const r=n.items[n.items.length-1];r&&!r.sep&&!r.value&&r.start.length>0&&Xb(r.start)===-1&&(n.indent===0||r.start.every(u=>u.type!=="comment"||u.indent<n.indent))&&(i.type==="document"?i.end=r.start:i.items.push({start:r.start}),n.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{Xb(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}const n=this.startBlockValue(t);n?this.stack.push(n):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(t){if(this.type==="map-value-ind"){const n=pu(this.peek(2)),i=mo(n);let r;t.end?(r=t.end,r.push(this.sourceToken),delete t.end):r=[this.sourceToken];const u={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:i,key:t,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=u}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let n=this.source.indexOf(`
|
|
135
|
+
`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
|
|
136
|
+
`,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const i="end"in n.value?n.value.end:void 0;(Array.isArray(i)?i[i.length-1]:void 0)?.type==="comment"?i?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const r=t.items[t.items.length-2]?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,n.start),r.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const i=!this.onKeyLine&&this.indent===t.indent&&n.sep&&this.type!=="seq-item-ind";let r=[];if(i&&n.sep&&!n.value){const u=[];for(let l=0;l<n.sep.length;++l){const d=n.sep[l];switch(d.type){case"newline":u.push(l);break;case"space":break;case"comment":d.indent>t.indent&&(u.length=0);break;default:u.length=0}}u.length>=2&&(r=n.sep.splice(u[1]))}switch(this.type){case"anchor":case"tag":i||n.value?(r.push(this.sourceToken),t.items.push({start:r}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!pi(n.start,"explicit-key-ind")?n.start.push(this.sourceToken):i||n.value?(r.push(this.sourceToken),t.items.push({start:r})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}),this.onKeyLine=!0;return;case"map-value-ind":if(pi(n.start,"explicit-key-ind"))if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(pi(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(yv(n.key)&&!pi(n.sep,"newline")){const u=mo(n.start),l=n.key,d=n.sep;d.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:u,key:l,sep:d}]})}else r.length>0?n.sep=n.sep.concat(r,this.sourceToken):n.sep.push(this.sourceToken);else if(pi(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const u=mo(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:u,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||i?t.items.push({start:r,key:null,sep:[this.sourceToken]}):pi(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const u=this.flowScalar(this.type);i||n.value?(t.items.push({start:r,key:u,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(u):(Object.assign(n,{key:u,sep:[]}),this.onKeyLine=!0);return}default:{const u=this.startBlockValue(t);if(u){i&&u.type!=="block-seq"&&pi(n.start,"explicit-key-ind")&&t.items.push({start:r}),this.stack.push(u);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const i="end"in n.value?n.value.end:void 0;(Array.isArray(i)?i[i.length-1]:void 0)?.type==="comment"?i?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const r=t.items[t.items.length-2]?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,n.start),r.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||pi(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const i=this.startBlockValue(t);if(i){this.stack.push(i);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let i;do yield*this.pop(),i=this.peek(1);while(i&&i.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const r=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:r,sep:[]}):n.sep?this.stack.push(r):Object.assign(n,{key:r,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const i=this.startBlockValue(t);i?this.stack.push(i):(yield*this.pop(),yield*this.step())}else{const i=this.peek(2);if(i.type==="block-map"&&(this.type==="map-value-ind"&&i.indent===t.indent||this.type==="newline"&&!i.items[i.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&i.type!=="flow-collection"){const r=pu(i),u=mo(r);Yb(t);const l=t.end.splice(1,t.end.length);l.push(this.sourceToken);const d={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:u,key:t,sep:l}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=d}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(`
|
|
137
|
+
`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
|
|
138
|
+
`,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=pu(t),i=mo(n);return i.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i}]}}case"map-value-ind":{this.onKeyLine=!0;const n=pu(t),i=mo(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(i=>i.type==="newline"||i.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function gv(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new Cp||null,prettyErrors:t}}function bv(e,t={}){const{lineCounter:n,prettyErrors:i}=gv(t),r=new pc(n?.addNewLine),u=new cc(t),l=Array.from(u.compose(r.parse(e)));if(i&&n)for(const d of l)d.errors.forEach(Ju(e,n)),d.warnings.forEach(Ju(e,n));return l.length>0?l:Object.assign([],{empty:!0},u.streamInfo())}function Ap(e,t={}){const{lineCounter:n,prettyErrors:i}=gv(t),r=new pc(n?.addNewLine),u=new cc(t);let l=null;for(const d of u.compose(r.parse(e),!0,e.length))if(!l)l=d;else if(l.options.logLevel!=="silent"){l.errors.push(new Wr(d.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return i&&n&&(l.errors.forEach(Ju(e,n)),l.warnings.forEach(Ju(e,n))),l}function Tv(e,t,n){let i;typeof t=="function"?i=t:n===void 0&&t&&typeof t=="object"&&(n=t);const r=Ap(e,n);if(!r)return null;if(r.warnings.forEach(u=>JS(r.options.logLevel,u)),r.errors.length>0){if(r.options.logLevel!=="silent")throw r.errors[0];r.errors=[]}return r.toJS(Object.assign({reviver:i},n))}function Sv(e,t,n){let i=null;if(typeof t=="function"||Array.isArray(t)?i=t:n===void 0&&t&&(n=t),typeof n=="string"&&(n=n.length),typeof n=="number"){const r=Math.round(n);n=r<1?void 0:r>8?{indent:8}:{indent:r}}if(e===void 0){const{keepUndefined:r}=n??t??{};if(!r)return}return new Gs(e,i,n).toString(n)}const YP=Object.freeze(Object.defineProperty({__proto__:null,Alias:el,CST:mv,Composer:cc,Document:Gs,Lexer:Ep,LineCounter:Cp,Pair:ln,Parser:pc,Scalar:tt,Schema:il,YAMLError:uc,YAMLMap:An,YAMLParseError:Wr,YAMLSeq:pr,YAMLWarning:kp,isAlias:$r,isCollection:Mt,isDocument:Js,isMap:zs,isNode:zt,isPair:Ft,isScalar:Ot,isSeq:Ws,parse:Tv,parseAllDocuments:bv,parseDocument:Ap,stringify:Sv,visit:hr,visitAsync:$a},Symbol.toStringTag,{value:"Module"})),$P=Object.freeze(Object.defineProperty({__proto__:null,Alias:el,CST:mv,Composer:cc,Document:Gs,Lexer:Ep,LineCounter:Cp,Pair:ln,Parser:pc,Scalar:tt,Schema:il,YAMLError:uc,YAMLMap:An,YAMLParseError:Wr,YAMLSeq:pr,YAMLWarning:kp,default:YP,isAlias:$r,isCollection:Mt,isDocument:Js,isMap:zs,isNode:zt,isPair:Ft,isScalar:Ot,isSeq:Ws,parse:Tv,parseAllDocuments:bv,parseDocument:Ap,stringify:Sv,visit:hr,visitAsync:$a},Symbol.toStringTag,{value:"Module"})),eI=xT($P);var tI=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),nI=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),vv=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&tI(t,e,n);return nI(t,e),t};Object.defineProperty(Ie,"__esModule",{value:!0});Ie.numberEnumValues=Ie.indentationString=Ie.parseJSON=Ie.inflateBase64=Ie.errorMessage=Ie.repeatedCall=Ie.repeated=Ie.mustNotHappen=Ie.panic=Ie.assert=Ie.assertNever=Ie.nonNull=Ie.defined=Ie.checkArray=Ie.checkStringMap=Ie.checkString=Ie.isStringMap=void 0;const iI=YC,rI=vv(GF),mc=Kt,sI=vv(eI);function wv(e,t){if(typeof e!="object"||Array.isArray(e)||e===null)return!1;if(t!==void 0)for(const n of Object.getOwnPropertyNames(e)){const i=e[n];if(!t(i))return!1}return!0}Ie.isStringMap=wv;function oI(e){return typeof e=="string"}Ie.checkString=oI;function aI(e,t){return wv(e,t)?e:js(`Value must be an object, but is ${e}`)}Ie.checkStringMap=aI;function lI(e,t){if(!Array.isArray(e))return js(`Value must be an array, but is ${e}`);if(t!==void 0){for(const n of e)if(!t(n))return js(`Array item does not satisfy constraint: ${n}`)}return e}Ie.checkArray=lI;function uI(e){return e!==void 0?e:js("Defined value expected, but got undefined")}Ie.defined=uI;function cI(e){return e!==null?e:js("Non-null value expected, but got null")}Ie.nonNull=cI;function fI(e){return(0,mc.messageError)("InternalError",{message:`Unexpected object ${e}`})}Ie.assertNever=fI;function dI(e,t="Assertion failed"){if(!e)return(0,mc.messageError)("InternalError",{message:t})}Ie.assert=dI;function js(e){return(0,mc.messageError)("InternalError",{message:e})}Ie.panic=js;function hI(){return js("This must not happen")}Ie.mustNotHappen=hI;function pI(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}Ie.repeated=pI;function mI(e,t){const n=[];for(let i=0;i<e;i++)n.push(t());return n}Ie.repeatedCall=mI;function yI(e){return e instanceof Error?e.message:e.toString()}Ie.errorMessage=yI;function gI(e){const t=iI.Base64.atob(e);return rI.inflate(t,{to:"string"})}Ie.inflateBase64=gI;function bI(e,t,n="<unknown>"){try{return e.charCodeAt(0)===65279&&(e=e.slice(1)),sI.parse(e)}catch(i){let r;return i instanceof SyntaxError?r=i.message:r=`Unknown exception ${i}`,(0,mc.messageError)("MiscJSONParseError",{description:t,address:n,message:r})}}Ie.parseJSON=bI;function TI(e){return" ".repeat(e)}Ie.indentationString=TI;function SI(e){const t=[];for(const n of Object.keys(e)){const i=e[n];typeof i=="number"&&t.push(i)}return t}Ie.numberEnumValues=SI;var mr={};function vI(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var _v={exports:{}};(function(e,t){(function(n,i){typeof vI=="function"?e.exports=i():n.pluralize=i()})(Fe,function(){var n=[],i=[],r={},u={},l={};function d(m){return typeof m=="string"?new RegExp("^"+m+"$","i"):m}function y(m,C){return m===C?C:m===m.toLowerCase()?C.toLowerCase():m===m.toUpperCase()?C.toUpperCase():m[0]===m[0].toUpperCase()?C.charAt(0).toUpperCase()+C.substr(1).toLowerCase():C.toLowerCase()}function T(m,C){return m.replace(/\$(\d{1,2})/g,function(J,x){return C[x]||""})}function S(m,C){return m.replace(C[0],function(J,x){var G=T(C[1],arguments);return y(J===""?m[x-1]:J,G)})}function O(m,C,J){if(!m.length||r.hasOwnProperty(m))return C;for(var x=J.length;x--;){var G=J[x];if(G[0].test(C))return S(C,G)}return C}function I(m,C,J){return function(x){var G=x.toLowerCase();return C.hasOwnProperty(G)?y(x,G):m.hasOwnProperty(G)?y(x,m[G]):O(G,x,J)}}function k(m,C,J,x){return function(G){var K=G.toLowerCase();return C.hasOwnProperty(K)?!0:m.hasOwnProperty(K)?!1:O(K,K,J)===K}}function P(m,C,J){var x=C===1?P.singular(m):P.plural(m);return(J?C+" ":"")+x}return P.plural=I(l,u,n),P.isPlural=k(l,u,n),P.singular=I(u,l,i),P.isSingular=k(u,l,i),P.addPluralRule=function(m,C){n.push([d(m),C])},P.addSingularRule=function(m,C){i.push([d(m),C])},P.addUncountableRule=function(m){if(typeof m=="string"){r[m.toLowerCase()]=!0;return}P.addPluralRule(m,"$0"),P.addSingularRule(m,"$0")},P.addIrregularRule=function(m,C){C=C.toLowerCase(),m=m.toLowerCase(),l[m]=C,u[C]=m},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(m){return P.addIrregularRule(m[0],m[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(m){return P.addPluralRule(m[0],m[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(m){return P.addSingularRule(m[0],m[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(P.addUncountableRule),P})})(_v);var Lv=_v.exports,yt={};Object.defineProperty(yt,"__esModule",{value:!0});yt.increaseTypeAttributesDistance=yt.makeTypeAttributesInferred=yt.combineTypeAttributes=yt.emptyTypeAttributes=yt.TypeAttributeKind=void 0;const Bo=He,Wu=Ie;class Fp{constructor(t){this.name=t}appliesToTypeKind(t){return t!=="any"}combine(t){return(0,Wu.panic)(`Cannot combine type attribute ${this.name}`)}intersect(t){return this.combine(t)}makeInferred(t){return(0,Wu.panic)(`Cannot make type attribute ${this.name} inferred`)}increaseDistance(t){return t}addToSchema(t,n,i){}children(t){return new Set}stringify(t){}get inIdentity(){return!1}requiresUniqueIdentity(t){return!1}reconstitute(t,n){return n}makeAttributes(t){const n=[[this,t]];return new Map(n)}tryGetInAttributes(t){return t.get(this)}setInAttributes(t,n){return new Map(t).set(this,n)}modifyInAttributes(t,n){const i=n(this.tryGetInAttributes(t));if(i===void 0){const r=new Map(t);return r.delete(this),r}return this.setInAttributes(t,i)}setDefaultInAttributes(t,n){return this.tryGetInAttributes(t)!==void 0?t:this.modifyInAttributes(t,n)}removeInAttributes(t){return(0,Bo.mapFilter)(t,(n,i)=>i!==this)}equals(t){return t instanceof Fp?this.name===t.name:!1}hashCode(){return(0,Bo.hashString)(this.name)}}yt.TypeAttributeKind=Fp;yt.emptyTypeAttributes=new Map;function wI(e,t,n){const i=e==="union";let r;if(Array.isArray(t))r=t;else{if(n===void 0)return(0,Wu.panic)("Must have on array or two attributes");r=[t,n]}const u=(0,Bo.mapTranspose)(r);function l(d,y){return(0,Wu.assert)(d.length>0,"Cannot combine zero type attributes"),d.length===1?d[0]:i?y.combine(d):y.intersect(d)}return(0,Bo.mapFilterMap)(u,l)}yt.combineTypeAttributes=wI;function _I(e){return(0,Bo.mapFilterMap)(e,(t,n)=>n.makeInferred(t))}yt.makeTypeAttributesInferred=_I;function LI(e){return(0,Bo.mapFilterMap)(e,(t,n)=>n.increaseDistance(t))}yt.increaseTypeAttributesDistance=LI;var xd={},Ud={},dt={};Object.defineProperty(dt,"__esModule",{value:!0});dt.EnumOption=dt.StringOption=dt.BooleanOption=dt.getOptionValues=dt.Option=void 0;const NI=Ie,kI=Kt,OI=He;class yc{constructor(t){t.renderer=!0,this.definition=t,(0,NI.assert)(t.kind!==void 0,"Renderer option kind must be defined")}getValue(t){const n=t[this.definition.name];return n===void 0?this.definition.defaultValue:n}get cliDefinitions(){return{actual:[this.definition],display:[this.definition]}}}dt.Option=yc;function EI(e,t){const n={};for(const i of Object.getOwnPropertyNames(e))n[i]=e[i].getValue(t);return n}dt.getOptionValues=EI;class CI extends yc{constructor(t,n,i,r="primary"){super({name:t,kind:r,type:Boolean,description:n,defaultValue:i})}get cliDefinitions(){const t=Object.assign({},this.definition,{name:`no-${this.definition.name}`,defaultValue:!this.definition.defaultValue});return{display:[Object.assign({},this.definition,{name:`[no-]${this.definition.name}`,description:`${this.definition.description} (${this.definition.defaultValue?"on":"off"} by default)`})],actual:[this.definition,t]}}getValue(t){let n=t[this.definition.name];n===void 0&&(n=this.definition.defaultValue);let i=t[`no-${this.definition.name}`];return i===void 0&&(i=!this.definition.defaultValue),n==="true"?n=!0:n==="false"&&(n=!1),this.definition.defaultValue?n&&!i:n||!i}}dt.BooleanOption=CI;class AI extends yc{constructor(t,n,i,r,u="primary"){const l={name:t,kind:u,type:String,description:n,typeLabel:i,defaultValue:r};super(l)}}dt.StringOption=AI;class FI extends yc{constructor(t,n,i,r=void 0,u="primary"){r===void 0&&(r=i[0][0]);const l={name:t,kind:u,type:String,description:n,typeLabel:i.map(([d,y])=>d).join("|"),legalValues:i.map(([d,y])=>d),defaultValue:r};super(l),this._values={};for(const[d,y]of i)this._values[d]=y}getValue(t){let n=t[this.definition.name];return n===void 0&&(n=this.definition.defaultValue),(0,OI.hasOwnProperty)(this._values,n)?this._values[n]:(0,kI.messageError)("RendererUnknownOptionValue",{value:n,name:this.definition.name})}}dt.EnumOption=FI;var $b;function Tr(){return $b||($b=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.acronymStyle=e.acronymOption=e.AcronymStyleOptions=e.acronyms=void 0;const t=dt,n=St();e.acronyms=["aaa","aabb","aac","aal","aalc","aarp","abac","abcl","abi","abm","abr","ac","acd","ack","acl","acm","acme","acp","acpi","acr","adb","adc","adccp","ado","adsl","adt","ae","aes","af","afp","agp","ai","aix","alac","algol","alsa","alu","amd","amoled","amqp","amr","ann","ansi","aop","apci","api","apic","apipa","apl","apr","arin","aros","arp","arpa","arpanet","ascii","aset","asg","asic","asimo","aslr","asm","asmp","asp","asr","assp","ast","ata","atag","atapi","atm","av","avc","avi","awfl","awk","awt","bal","bam","bbp","bbs","bcd","bcnf","beep","ber","bfd","bfs","bft","bgp","bi","binac","bios","bjt","bmp","bnc","boinc","bom","bootp","bpdu","bpel","bpl","bpm","brm","brms","brr","brs","bsa","bsb","bsd","bss","bt","bw","byod","ca","cad","cae","cai","caid","captcha","caq","cd","cde","cdfs","cdma","cdn","cdp","cdsa","cert","ces","cf","cfd","cfg","cg","cga","cgi","cgt","chs","cidr","cifs","cim","cio","cir","cisc","cjk","cjkv","cli","clr","cm","cmdb","cmmi","cmo","cmos","cms","cn","cnc","cng","cnr","cobol","com","corba","cots","cpa","cpan","cpri","cps","cpu","cr","cran","crc","crlf","crm","crs","crt","crud","cs","cse","csi","csm","csp","csrf","css","csv","ct","ctan","ctcp","ctfe","cti","ctl","ctm","cts","ctss","cua","cvs","dac","dal","dao","dap","darpa","dat","db","dba","dbcs","dbms","dcc","dcca","dccp","dcl","dcmi","dcom","dcs","dd","dde","ddi","ddl","ddr","dec","des","dfa","dfd","dfs","dgd","dhcp","dhtml","dif","dimm","din","dip","dism","divx","dkim","dl","dll","dlna","dlp","dma","dmca","dmi","dml","dmr","dmz","dn","dnd","dns","doa","docsis","dom","dos","dp","dpc","dpi","dpmi","dpms","dr","dram","dri","drm","dsa","dsdl","dsdm","dsl","dslam","dsn","dsp","dsssl","dtd","dte","dtp","dtr","dvd","dvi","dvr","dw","eai","eap","eas","ebcdic","ebml","ecc","ecma","ecn","ecos","ecrs","eda","edi","edo","edsac","edvac","eeprom","eff","efi","efm","efs","ega","egp","eide","eigrp","eisa","elf","emacs","ems","eniac","eod","eof","eol","eom","eos","eprom","erd","erm","erp","esb","escon","esd","esr","etl","etw","euc","eula","ewmh","ext","fap","faq","fasm","fbdimm","fcb","fcs","fdc","fdd","fddi","fdm","fdma","fds","fec","femb","fet","fhs","ficon","fifo","fips","fl","flac","flops","fmc","fmo","foldoc","fosdem","fosi","foss","fp","fpga","fps","fpu","fqdn","fru","fs","fsb","fsf","fsm","ftp","ftta","fttc","ftth","fttp","fud","fvek","fws","fxp","fyi","gb","gcc","gcj","gcr","gdb","gdi","geran","gfdl","gif","gigo","gimps","gis","gml","gnu","goms","gpasm","gpfs","gpg","gpgpu","gpib","gpl","gprs","gpt","gpu","gsm","gui","guid","gwt","gyr","hal","hasp","hba","hci","hcl","hd","hdd","hdl","hdmi","hf","hfs","hhd","hid","hig","hird","hlasm","hls","hma","hp","hpc","hpfs","hsdpa","hsm","ht","htc","htm","html","http","https","htx","hurd","hvd","iana","ibm","ic","icann","ich","icmp","icp","ics","ict","id","ide","idf","idl","ids","iec","ieee","ietf","ifl","igmp","igrp","ihv","iiop","iis","ike","il","im","imap","ime","infosec","ip","ipam","ipc","ipl","ipmi","ipo","ipp","ips","iptv","ipx","ir","irc","iri","irp","irq","isa","isam","isatap","isc","isdn","iso","isp","ispf","isr","isv","itil","itl","itu","ivcr","ivrs","jaxb","jaxp","jbod","jce","jcl","jcp","jdbc","jdk","jds","jee","jes","jfc","jfet","jfs","jini","jit","jme","jms","jmx","jndi","jni","jnz","jpeg","jre","js","jse","json","jsp","jtag","jvm","kb","kde","km","krl","kvm","lacp","lan","lb","lba","lcd","lcos","lcr","ldap","le","led","lf","lfs","lga","lgpl","lib","lif","lifo","lilo","lisp","lkml","lm","loc","lpc","lpi","lpt","lru","lsb","lsi","lte","ltl","ltr","lun","lv","lvd","lvm","lzw","mac","manet","mapi","mb","mbcs","mbd","mbr","mca","mcad","mcas","mcdba","mcdst","mcitp","mcm","mcp","mcpc","mcpd","mcsa","mcsd","mcse","mct","mcts","mda","mdf","mdi","mf","mfc","mfm","mgcp","mib","micr","midi","mimd","mime","mimo","minix","mips","mis","misd","mit","mmc","mmds","mmf","mmi","mmio","mmorpg","mmu","mmx","mng","mom","mos","mosfet","motd","mous","mov","mpaa","mpeg","mpl","mpls","mpu","ms","msa","msb","msdn","msi","msn","mt","mta","mtbf","mtu","mua","mvc","mvp","mvs","mwc","mx","mxf","nack","nak","nas","nasm","ncp","ncq","ncsa","ndis","ndps","nds","nep","nfa","nfc","nfs","ngl","ngscb","ni","nic","nim","nio","nist","nlp","nls","nmi","nntp","noc","nop","nos","np","npl","nptl","npu","ns","nsa","nsi","nspr","nss","nt","ntfs","ntlm","ntp","numa","nurbs","nvr","nvram","oat","obsai","odbc","oem","oes","ofdm","oftc","oid","olap","ole","oled","olpc","oltp","omf","omg","omr","oo","ooe","oom","oop","ootb","opml","orb","orm","os","oscon","osdn","osi","ospf","oss","ostg","oui","pap","parc","pata","pbs","pc","pcb","pci","pcl","pcm","pcmcia","pcre","pd","pda","pdf","pdh","pdp","pe","perl","pfa","pg","pga","pgo","pgp","php","pid","pim","pio","pkcs","pki","plc","pld","plt","pmm","png","pnrp","poid","pojo","posix","ppc","ppi","ppp","pptp","pr","ps","psa","psm","psu","psvi","pv","pvg","pvr","pxe","pxi","qa","qdr","qfp","qotd","qsop","qtam","racf","rad","raid","raii","rait","ram","rarp","ras","rc","rcs","rd","rdbms","rdc","rdf","rdm","rdos","rdp","rds","refal","rest","rf","rfc","rfi","rfid","rgb","rgba","rhel","rhl","ria","riaa","rip","rir","risc","rje","rle","rll","rmi","rms","rom","romb","rpc","rpg","rpm","rras","rsa","rsi","rss","rtai","rtc","rte","rtems","rtl","rtos","rtp","rts","rtsp","rtti","rwd","san","sas","sata","sax","sbod","sbu","scada","scid","scm","scp","scpc","scpi","scsa","scsi","sctp","sd","sddl","sdh","sdi","sdio","sdk","sdl","sdn","sdp","sdr","sdram","sdsl","se","sec","sei","seo","sftp","sgi","sgml","sgr","sha","shdsl","sigcat","siggraph","simd","simm","sip","sisd","siso","sles","sli","slm","sloc","sma","smb","smbios","sme","smf","smil","smp","smps","sms","smt","smtp","sna","snmp","sntp","soa","soe","soho","soi","sopa","sp","spa","sparc","spf","spi","spm","spmd","sql","sram","ssa","ssd","ssdp","sse","ssh","ssi","ssid","ssl","ssp","ssse","sssp","sstp","sus","suse","svc","svd","svg","svga","swf","swt","tao","tapi","tasm","tb","tcp","tcu","tdma","tft","tftp","ti","tla","tld","tls","tlv","tnc","tpf","tpm","troff","tron","trsdos","tso","tsp","tsr","tta","ttf","ttl","tts","tty","tucows","twain","uaag","uac","uart","uat","ucs","uddi","udma","udp","uefi","uhf","ui","ul","ula","uma","umb","uml","umpc","umts","unc","univac","ups","uri","url","usb","usr","utc","utf","utp","utran","uucp","uuid","uun","uvc","uwp","ux","vax","vb","vba","vbs","vcpi","vdm","vdsl","vesa","vfat","vfs","vg","vga","vhf","vlan","vlb","vlf","vliw","vlsi","vlsm","vm","vmm","vnc","vod","vpn","vpu","vr","vram","vrml","vsam","vsat","vt","vtam","vtl","wafs","wai","wais","wan","wap","wasm","wbem","wcag","wcf","wdm","wep","wfi","wins","wlan","wma","wmi","wmv","wns","wol","wor","wora","wpa","wpad","wpan","wpf","wsdl","wsfl","wusb","wwan","wwdc","wwid","wwn","www","wysiwyg","wzc","xag","xaml","xcbl","xdm","xdmcp","xhtml","xilp","xml","xmms","xmpp","xms","xns","xp","xpcom","xpi","xpidl","xps","xsd","xsl","xslt","xss","xtf","xul","xvga","yaaf","yacc","yaml","zcav","zcs","zif","zifs","zisc","zma","zoi","zope","zpl"];var i;(function(l){l.Pascal="pascal",l.Camel="camel",l.Original="original",l.Lower="lowerCase"})(i=e.AcronymStyleOptions||(e.AcronymStyleOptions={}));const r=function(l){return new t.EnumOption("acronym-style","Acronym naming style",[[i.Original,i.Original],[i.Pascal,i.Pascal],[i.Camel,i.Camel],[i.Lower,i.Lower]],l,"secondary")};e.acronymOption=r;function u(l){return{[i.Pascal]:n.allUpperWordStyle,[i.Camel]:n.firstUpperWordStyle,[i.Original]:n.originalWord,[i.Lower]:n.allLowerWordStyle}[l]}e.acronymStyle=u}(Ud)),Ud}var Nv={exports:{}},qo={};qo.byteLength=MI;qo.toByteArray=BI;qo.fromByteArray=xI;var Ri=[],ei=[],PI=typeof Uint8Array<"u"?Uint8Array:Array,Jd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var yo=0,II=Jd.length;yo<II;++yo)Ri[yo]=Jd[yo],ei[Jd.charCodeAt(yo)]=yo;ei[45]=62;ei[95]=63;function kv(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=t);var i=n===t?0:4-n%4;return[n,i]}function MI(e){var t=kv(e),n=t[0],i=t[1];return(n+i)*3/4-i}function jI(e,t,n){return(t+n)*3/4-n}function BI(e){var t,n=kv(e),i=n[0],r=n[1],u=new PI(jI(e,i,r)),l=0,d=r>0?i-4:i,y;for(y=0;y<d;y+=4)t=ei[e.charCodeAt(y)]<<18|ei[e.charCodeAt(y+1)]<<12|ei[e.charCodeAt(y+2)]<<6|ei[e.charCodeAt(y+3)],u[l++]=t>>16&255,u[l++]=t>>8&255,u[l++]=t&255;return r===2&&(t=ei[e.charCodeAt(y)]<<2|ei[e.charCodeAt(y+1)]>>4,u[l++]=t&255),r===1&&(t=ei[e.charCodeAt(y)]<<10|ei[e.charCodeAt(y+1)]<<4|ei[e.charCodeAt(y+2)]>>2,u[l++]=t>>8&255,u[l++]=t&255),u}function RI(e){return Ri[e>>18&63]+Ri[e>>12&63]+Ri[e>>6&63]+Ri[e&63]}function DI(e,t,n){for(var i,r=[],u=t;u<n;u+=3)i=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(e[u+2]&255),r.push(RI(i));return r.join("")}function xI(e){for(var t,n=e.length,i=n%3,r=[],u=16383,l=0,d=n-i;l<d;l+=u)r.push(DI(e,l,l+u>d?d:l+u));return i===1?(t=e[n-1],r.push(Ri[t>>2]+Ri[t<<4&63]+"==")):i===2&&(t=(e[n-2]<<8)+e[n-1],r.push(Ri[t>>10]+Ri[t>>4&63]+Ri[t<<2&63]+"=")),r.join("")}var Pp=0,Ov=-3;function Va(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function UI(e,t){this.source=e,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=t,this.destLen=0,this.ltree=new Va,this.dtree=new Va}var Ev=new Va,Cv=new Va,Ip=new Uint8Array(30),Mp=new Uint16Array(30),Av=new Uint8Array(30),Fv=new Uint16Array(30),JI=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),e0=new Va,Oi=new Uint8Array(320);function Pv(e,t,n,i){var r,u;for(r=0;r<n;++r)e[r]=0;for(r=0;r<30-n;++r)e[r+n]=r/n|0;for(u=i,r=0;r<30;++r)t[r]=u,u+=1<<e[r]}function zI(e,t){var n;for(n=0;n<7;++n)e.table[n]=0;for(e.table[7]=24,e.table[8]=152,e.table[9]=112,n=0;n<24;++n)e.trans[n]=256+n;for(n=0;n<144;++n)e.trans[24+n]=n;for(n=0;n<8;++n)e.trans[168+n]=280+n;for(n=0;n<112;++n)e.trans[176+n]=144+n;for(n=0;n<5;++n)t.table[n]=0;for(t.table[5]=32,n=0;n<32;++n)t.trans[n]=n}var t0=new Uint16Array(16);function zd(e,t,n,i){var r,u;for(r=0;r<16;++r)e.table[r]=0;for(r=0;r<i;++r)e.table[t[n+r]]++;for(e.table[0]=0,u=0,r=0;r<16;++r)t0[r]=u,u+=e.table[r];for(r=0;r<i;++r)t[n+r]&&(e.trans[t0[t[n+r]]++]=r)}function WI(e){e.bitcount--||(e.tag=e.source[e.sourceIndex++],e.bitcount=7);var t=e.tag&1;return e.tag>>>=1,t}function Fi(e,t,n){if(!t)return n;for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var i=e.tag&65535>>>16-t;return e.tag>>>=t,e.bitcount-=t,i+n}function Dh(e,t){for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var n=0,i=0,r=0,u=e.tag;do i=2*i+(u&1),u>>>=1,++r,n+=t.table[r],i-=t.table[r];while(i>=0);return e.tag=u,e.bitcount-=r,t.trans[n+i]}function GI(e,t,n){var i,r,u,l,d,y;for(i=Fi(e,5,257),r=Fi(e,5,1),u=Fi(e,4,4),l=0;l<19;++l)Oi[l]=0;for(l=0;l<u;++l){var T=Fi(e,3,0);Oi[JI[l]]=T}for(zd(e0,Oi,0,19),d=0;d<i+r;){var S=Dh(e,e0);switch(S){case 16:var O=Oi[d-1];for(y=Fi(e,2,3);y;--y)Oi[d++]=O;break;case 17:for(y=Fi(e,3,3);y;--y)Oi[d++]=0;break;case 18:for(y=Fi(e,7,11);y;--y)Oi[d++]=0;break;default:Oi[d++]=S;break}}zd(t,Oi,0,i),zd(n,Oi,i,r)}function n0(e,t,n){for(;;){var i=Dh(e,t);if(i===256)return Pp;if(i<256)e.dest[e.destLen++]=i;else{var r,u,l,d;for(i-=257,r=Fi(e,Ip[i],Mp[i]),u=Dh(e,n),l=e.destLen-Fi(e,Av[u],Fv[u]),d=l;d<l+r;++d)e.dest[e.destLen++]=e.dest[d]}}}function qI(e){for(var t,n,i;e.bitcount>8;)e.sourceIndex--,e.bitcount-=8;if(t=e.source[e.sourceIndex+1],t=256*t+e.source[e.sourceIndex],n=e.source[e.sourceIndex+3],n=256*n+e.source[e.sourceIndex+2],t!==(~n&65535))return Ov;for(e.sourceIndex+=4,i=t;i;--i)e.dest[e.destLen++]=e.source[e.sourceIndex++];return e.bitcount=0,Pp}function HI(e,t){var n=new UI(e,t),i,r,u;do{switch(i=WI(n),r=Fi(n,2,0),r){case 0:u=qI(n);break;case 1:u=n0(n,Ev,Cv);break;case 2:GI(n,n.ltree,n.dtree),u=n0(n,n.ltree,n.dtree);break;default:u=Ov}if(u!==Pp)throw new Error("Data error")}while(!i);return n.destLen<n.dest.length?typeof n.dest.slice=="function"?n.dest.slice(0,n.destLen):n.dest.subarray(0,n.destLen):n.dest}zI(Ev,Cv);Pv(Ip,Mp,4,3);Pv(Av,Fv,2,1);Ip[28]=0;Mp[28]=258;var VI=HI;const KI=new Uint8Array(new Uint32Array([305419896]).buffer)[0]===18,i0=(e,t,n)=>{let i=e[t];e[t]=e[n],e[n]=i},ZI=e=>{const t=e.length;for(let n=0;n<t;n+=4)i0(e,n,n+3),i0(e,n+1,n+2)},QI=e=>{KI&&ZI(e)};var XI={swap32LE:QI};const r0=VI,{swap32LE:YI}=XI,jp=11,Ns=5,$I=jp-Ns,e2=65536>>jp,t2=1<<$I,n2=t2-1,Cu=2,i2=1<<Ns,Wd=i2-1,Iv=65536>>Ns,r2=1024>>Ns,s2=Iv+r2,o2=s2,a2=32,l2=o2+a2,u2=1<<Cu;class c2{constructor(t){const n=typeof t.readUInt32BE=="function"&&typeof t.slice=="function";if(n||t instanceof Uint8Array){let i;if(n)this.highStart=t.readUInt32LE(0),this.errorValue=t.readUInt32LE(4),i=t.readUInt32LE(8),t=t.slice(12);else{const r=new DataView(t.buffer);this.highStart=r.getUint32(0,!0),this.errorValue=r.getUint32(4,!0),i=r.getUint32(8,!0),t=t.subarray(12)}t=r0(t,new Uint8Array(i)),t=r0(t,new Uint8Array(i)),YI(t),this.data=new Uint32Array(t.buffer)}else({data:this.data,highStart:this.highStart,errorValue:this.errorValue}=t)}get(t){let n;return t<0||t>1114111?this.errorValue:t<55296||t>56319&&t<=65535?(n=(this.data[t>>Ns]<<Cu)+(t&Wd),this.data[n]):t<=65535?(n=(this.data[Iv+(t-55296>>Ns)]<<Cu)+(t&Wd),this.data[n]):t<this.highStart?(n=this.data[l2-e2+(t>>jp)],n=this.data[n+(t>>Ns&n2)],n=(n<<Cu)+(t&Wd),this.data[n]):this.data[this.data.length-u2]}}var f2=c2;(function(e){var t=qo,n=f2;function i(z){return z&&z.__esModule?z.default:z}function r(z){Object.defineProperty(z,"__esModule",{value:!0,configurable:!0})}function u(z,E,j,X){Object.defineProperty(z,E,{get:j,set:X,enumerable:!0,configurable:!0})}r(e.exports),u(e.exports,"getCategory",()=>b),u(e.exports,"getCombiningClass",()=>_),u(e.exports,"getScript",()=>L),u(e.exports,"getEastAsianWidth",()=>g),u(e.exports,"getNumericValue",()=>p),u(e.exports,"isAlphabetic",()=>a),u(e.exports,"isDigit",()=>o),u(e.exports,"isPunctuation",()=>f),u(e.exports,"isLowerCase",()=>h),u(e.exports,"isUpperCase",()=>w),u(e.exports,"isTitleCase",()=>N),u(e.exports,"isWhiteSpace",()=>F),u(e.exports,"isBaseForm",()=>B),u(e.exports,"isMark",()=>W),u(e.exports,"default",()=>Q);var l={};l=JSON.parse('{"categories":["Cc","Zs","Po","Sc","Ps","Pe","Sm","Pd","Nd","Lu","Sk","Pc","Ll","So","Lo","Pi","Cf","No","Pf","Lt","Lm","Mn","Me","Mc","Nl","Zl","Zp","Cs","Co"],"combiningClasses":["Not_Reordered","Above","Above_Right","Below","Attached_Above_Right","Attached_Below","Overlay","Iota_Subscript","Double_Below","Double_Above","Below_Right","Above_Left","CCC10","CCC11","CCC12","CCC13","CCC14","CCC15","CCC16","CCC17","CCC18","CCC19","CCC20","CCC21","CCC22","CCC23","CCC24","CCC25","CCC30","CCC31","CCC32","CCC27","CCC28","CCC29","CCC33","CCC34","CCC35","CCC36","Nukta","Virama","CCC84","CCC91","CCC103","CCC107","CCC118","CCC122","CCC129","CCC130","CCC132","Attached_Above","Below_Left","Left","Kana_Voicing","CCC26","Right"],"scripts":["Common","Latin","Bopomofo","Inherited","Greek","Coptic","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Nko","Samaritan","Mandaic","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul","Ethiopic","Cherokee","Canadian_Aboriginal","Ogham","Runic","Tagalog","Hanunoo","Buhid","Tagbanwa","Khmer","Mongolian","Limbu","Tai_Le","New_Tai_Lue","Buginese","Tai_Tham","Balinese","Sundanese","Batak","Lepcha","Ol_Chiki","Braille","Glagolitic","Tifinagh","Han","Hiragana","Katakana","Yi","Lisu","Vai","Bamum","Syloti_Nagri","Phags_Pa","Saurashtra","Kayah_Li","Rejang","Javanese","Cham","Tai_Viet","Meetei_Mayek","null","Linear_B","Lycian","Carian","Old_Italic","Gothic","Old_Permic","Ugaritic","Old_Persian","Deseret","Shavian","Osmanya","Osage","Elbasan","Caucasian_Albanian","Linear_A","Cypriot","Imperial_Aramaic","Palmyrene","Nabataean","Hatran","Phoenician","Lydian","Meroitic_Hieroglyphs","Meroitic_Cursive","Kharoshthi","Old_South_Arabian","Old_North_Arabian","Manichaean","Avestan","Inscriptional_Parthian","Inscriptional_Pahlavi","Psalter_Pahlavi","Old_Turkic","Old_Hungarian","Hanifi_Rohingya","Old_Sogdian","Sogdian","Elymaic","Brahmi","Kaithi","Sora_Sompeng","Chakma","Mahajani","Sharada","Khojki","Multani","Khudawadi","Grantha","Newa","Tirhuta","Siddham","Modi","Takri","Ahom","Dogra","Warang_Citi","Nandinagari","Zanabazar_Square","Soyombo","Pau_Cin_Hau","Bhaiksuki","Marchen","Masaram_Gondi","Gunjala_Gondi","Makasar","Cuneiform","Egyptian_Hieroglyphs","Anatolian_Hieroglyphs","Mro","Bassa_Vah","Pahawh_Hmong","Medefaidrin","Miao","Tangut","Nushu","Duployan","SignWriting","Nyiakeng_Puachue_Hmong","Wancho","Mende_Kikakui","Adlam"],"eaw":["N","Na","A","W","H","F"]}');const d=new(i(n))(i(t).toByteArray("AAARAAAAAADwfAEAZXl5ONRt+/5bPVFZimRfKoTQJNm37CGE7Iw0j3UsTWKsoyI7kwyyTiEUzSD7NiEzhWYijH0wMVkHE4Mx49fzfo+3nuP4/fdZjvv+XNd5n/d9nef1WZvmKhTxiZndzDQBSEYQqxqKwnsKvGQucFh+6t6cJ792ePQBZv5S9yXSwkyjf/P4T7mTNnIAv1dOVhMlR9lflbUL9JeJguqsjvG9NTj/wLb566VAURnLo2vvRi89S3gW/33ihh2eXpDn40BIW7REl/7coRKIhAFlAiOtbLDTt6mMb4GzMF1gNnvX/sBxtbsAIjfztCNcQjcNDtLThRvuXu5M5g/CBjaLBE4lJm4qy/oZD97+IJryApcXfgWYlkvWbhfXgujOJKVu8B+ozqTLbxyJ5kNiR75CxDqfBM9eOlDMmGeoZ0iQbbS5VUplIwI+ZNXEKQVJxlwqjhOY7w3XwPesbLK5JZE+Tt4X8q8km0dzInsPPzbscrjBMVjF5mOHSeRdJVgKUjLTHiHqXSPkep8N/zFk8167KLp75f6RndkvzdfB6Uz3MmqvRArzdCbs1/iRZjYPLLF3U8Qs+H+Rb8iK51a6NIV2V9+07uJsTGFWpPz8J++7iRu2B6eAKlK/kujrLthwaD/7a6J5w90TusnH1JMAc+gNrql4aspOUG/RrsxUKmPzhHgP4Bleru+6Vfc/MBjgXVx7who94nPn7MPFrnwQP7g0k0Dq0h2GSKO6fTZ8nLodN1SiOUj/5EL/Xo1DBvRm0wmrh3x6phcJ20/9CuMr5h8WPqXMSasLo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ehWR6GmGnkdpYNQYeIG408yAX7uCZmYUic9juOfb+Re28+OVOB+scYK4DaPcBe+5wmji9gymtkMpKo4UKqCz7yxzuN8VIlx9yNozpRJpNaWHtaZVEqP45n2JemTlYBSmNIK1FuSYAUQ1yBLnKxevrjayd+h2i8PjdB3YY6b0nr3JuOXGpPMyh4V2dslpR3DFEvgpsBLqhqLDOWP4yEvIL6f21PpA7/8B")),y=Math.log2||(z=>Math.log(z)/Math.LN2),T=z=>y(z)+1|0,S=T(i(l).categories.length-1),O=T(i(l).combiningClasses.length-1),I=T(i(l).scripts.length-1),k=T(i(l).eaw.length-1),P=10,m=O+I+k+P,C=I+k+P,J=k+P,x=P,G=(1<<S)-1,K=(1<<O)-1,U=(1<<I)-1,R=(1<<k)-1,A=(1<<P)-1;function b(z){const E=d.get(z);return i(l).categories[E>>m&G]}function _(z){const E=d.get(z);return i(l).combiningClasses[E>>C&K]}function L(z){const E=d.get(z);return i(l).scripts[E>>J&U]}function g(z){const E=d.get(z);return i(l).eaw[E>>x&R]}function p(z){let E=d.get(z),j=E&A;if(j===0)return null;if(j<=50)return j-1;if(j<480){const X=(j>>4)-12,te=(j&15)+1;return X/te}else if(j<768){E=(j>>5)-14;let X=(j&31)+2;for(;X>0;)E*=10,X--;return E}else{E=(j>>2)-191;let X=(j&3)+1;for(;X>0;)E*=60,X--;return E}}function a(z){const E=b(z);return E==="Lu"||E==="Ll"||E==="Lt"||E==="Lm"||E==="Lo"||E==="Nl"}function o(z){return b(z)==="Nd"}function f(z){const E=b(z);return E==="Pc"||E==="Pd"||E==="Pe"||E==="Pf"||E==="Pi"||E==="Po"||E==="Ps"}function h(z){return b(z)==="Ll"}function w(z){return b(z)==="Lu"}function N(z){return b(z)==="Lt"}function F(z){const E=b(z);return E==="Zs"||E==="Zl"||E==="Zp"}function B(z){const E=b(z);return E==="Nd"||E==="No"||E==="Nl"||E==="Lu"||E==="Ll"||E==="Lt"||E==="Lm"||E==="Lo"||E==="Me"||E==="Mc"}function W(z){const E=b(z);return E==="Mn"||E==="Me"||E==="Mc"}var Q={getCategory:b,getCombiningClass:_,getScript:L,getEastAsianWidth:g,getNumericValue:p,isAlphabetic:a,isDigit:o,isPunctuation:f,isLowerCase:h,isUpperCase:w,isTitleCase:N,isWhiteSpace:F,isBaseForm:B,isMark:W}})(Nv);var Ho=Nv.exports,s0;function St(){return s0||(s0=1,function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(M,q,ie,ue){ue===void 0&&(ue=ie);var ve=Object.getOwnPropertyDescriptor(q,ie);(!ve||("get"in ve?!q.__esModule:ve.writable||ve.configurable))&&(ve={enumerable:!0,get:function(){return q[ie]}}),Object.defineProperty(M,ue,ve)}:function(M,q,ie,ue){ue===void 0&&(ue=ie),M[ue]=q[ie]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(M,q){Object.defineProperty(M,"default",{enumerable:!0,value:q})}:function(M,q){M.default=q}),i=Fe&&Fe.__importStar||function(M){if(M&&M.__esModule)return M;var q={};if(M!=null)for(var ie in M)ie!=="default"&&Object.prototype.hasOwnProperty.call(M,ie)&&t(q,M,ie);return n(q,M),q};Object.defineProperty(e,"__esModule",{value:!0}),e.makeNameStyle=e.addPrefixIfNecessary=e.combineWords=e.allLowerWordStyle=e.originalWord=e.allUpperWordStyle=e.firstUpperWordStyle=e.splitIntoWords=e.fastIsUpperCase=e.startWithLetter=e.snakeCase=e.camelCase=e.pascalCase=e.decapitalize=e.capitalize=e.trimEnd=e.isWordCharacter=e.isLetterOrUnderscoreOrDigit=e.isLetterOrUnderscore=e.isLetterOrDigit=e.isNumeric=e.isDigit=e.isLetter=e.isAscii=e.isPrintable=e.stringEscape=e.utf16StringEscape=e.escapeNonPrintableMapper=e.standardUnicodeHexEscape=e.intToHex=e.repeatString=e.legalizeCharacters=e.utf16LegalizeCharacters=e.utf32ConcatMap=e.utf16ConcatMap=void 0;const r=Ie,u=Tr(),l=Kt,d=i(Ho);function y(M){const q=[],ie=[];for(let ue=0;ue<128;ue++){let ve=0;const be=M(ue);be===String.fromCharCode(ue)&&(ve=1),q.push(be),ie.push(ve)}return{charStringMap:q,charNoEscapeMap:ie}}function T(M){const q=[];for(let ie=0;ie<128;ie++)q.push(M(ie));return function(ie){return ie<128?q[ie]:M(ie)}}function S(M){const{charStringMap:q,charNoEscapeMap:ie}=y(M);return function(ve){let be=null,Me=0,je=0;for(;je<ve.length;){const he=ve.charCodeAt(je);if(ie[he]!==1){be===null&&(be=[]),be.push(ve.substring(Me,je));const ye=q[he];ye===void 0?be.push(M(ve.charCodeAt(je))):be.push(ye),Me=je+1}je++}return be===null?ve:(be.push(ve.substring(Me,je)),be.join(""))}}e.utf16ConcatMap=S;function O(M){return M>=55296&&M<=56319}function I(M){return M>=56320&&M<=57343}function k(M){const{charStringMap:q,charNoEscapeMap:ie}=y(M);return function(ve){let be=null,Me=0,je=0;for(;je<ve.length;){let he=ve.charCodeAt(je);if(ie[he]!==1){if(be===null&&(be=[]),be.push(ve.substring(Me,je)),O(he)){const Z=he;je++;const D=ve.charCodeAt(je);(0,l.messageAssert)(I(D),"MiscUnicodeHighSurrogateWithoutLowSurrogate",{});const V=Z-55296;he=65536+(D-56320)+(V<<10)}const ye=q[he];ye===void 0?be.push(M(he)):be.push(ye),Me=je+1}je++}return be===null?ve:(be.push(ve.substring(Me,je)),be.join(""))}}e.utf32ConcatMap=k;function P(M){return S(q=>M(q)?String.fromCharCode(q):"")}e.utf16LegalizeCharacters=P;function m(M){return k(q=>q<=65535&&M(q)?String.fromCharCode(q):"")}e.legalizeCharacters=m;function C(M,q){if((0,r.assert)(q>=0,"Cannot repeat a string a negative number of times"),q===0)return"";let ie="";do q%2!==0&&(ie+=M),q=Math.floor(q/2),q>0&&(M+=M);while(q>0);return ie}e.repeatString=C;function J(M,q){let ie=M.toString(16);return ie.length>=q?ie:C("0",q-ie.length)+ie}e.intToHex=J;function x(M){return M<=65535?"\\u"+J(M,4):"\\U"+J(M,8)}e.standardUnicodeHexEscape=x;function G(M,q){function ie(ue){switch(ue){case 92:return"\\\\";case 34:return'\\"';case 10:return"\\n";case 9:return"\\t";default:return M(ue)?String.fromCharCode(ue):q(ue)}}return ie}e.escapeNonPrintableMapper=G,e.utf16StringEscape=S(G(K,x)),e.stringEscape=k(G(K,x));function K(M){if(M>65535)return!1;const q=d.getCategory(M);return["Mc","No","Sk","Me","Nd","Po","Lt","Pc","Sm","Zs","Lu","Pd","So","Pe","Pf","Ps","Sc","Ll","Lm","Pi","Nl","Mn","Lo"].indexOf(q)>=0}e.isPrintable=K;function U(M){return M<128}e.isAscii=U;function R(M){const q=d.getCategory(M);return["Lu","Ll","Lt","Lo"].indexOf(q)>=0}e.isLetter=R;function A(M){const q=d.getCategory(M);return["Nd"].indexOf(q)>=0}e.isDigit=A;function b(M){const q=d.getCategory(M);return["No","Nd","Nl"].indexOf(q)>=0}e.isNumeric=b;function _(M){return R(M)||A(M)}e.isLetterOrDigit=_;function L(M){return R(M)||M===95}e.isLetterOrUnderscore=L;function g(M){return L(M)||A(M)}e.isLetterOrUnderscoreOrDigit=g;function p(M){return R(M)||A(M)}e.isWordCharacter=p;function a(M){const q=M.length;let ie=q;for(let ue=q-1;ue>=0&&d.isWhiteSpace(M.charCodeAt(ue));ue--)ie=ue;return ie===q?M:M.slice(0,ie)}e.trimEnd=a;function o(M,q){return q===""?q:M(q[0])+q.slice(1)}function f(M){return o(q=>q.toUpperCase(),M)}e.capitalize=f;function h(M){return o(q=>q.toLowerCase(),M)}e.decapitalize=h;const w=/[-_. ]+/;function N(M){return M.split(w).map(f).join("")}e.pascalCase=N;function F(M){return h(N(M))}e.camelCase=F;function B(M){return $(M).map(({word:ie})=>ie.toLowerCase()).join("_")}e.snakeCase=B;function W(M,q,ie){const ue=q?f:h;return ie===""?ue("empty"):M(ie.charCodeAt(0))?ue(ie):ue("the"+ie)}e.startWithLetter=W;const Q=new Set(u.acronyms),z=T(p),E=T(M=>!p(M)),j=T(M=>d.isLowerCase(M));e.fastIsUpperCase=T(M=>d.isUpperCase(M));const X=T(M=>!d.isLowerCase(M)&&!d.isUpperCase(M)),te=T(A);function $(M){const q=[];let ie;const ue=M.length;let ve=0,be;function Me(){return ve>=ue}function je(){return(0,r.defined)(M.codePointAt(ve))}function he(nt){for(;!Me();){const ut=je();if(!nt(ut))break;j(ut)&&(be=ve),ve++}}function ye(){he(E)}function Z(){he(j)}function D(){he(e.fastIsUpperCase)}function V(){he(X)}function oe(){he(te)}function me(){(0,r.assert)(ie===void 0,"Interval started before last one was committed"),ie=ve}function Le(){if(ie===void 0)return(0,r.panic)("Tried to commit interval without starting one");(0,r.assert)(ve>ie,"Interval must be non-empty"),!Me()&&I(je())&&(ve+=1);const nt=be===void 0||be<ie;q.push([ie,ve,nt]),ie=void 0}function Oe(){return ie===void 0?(0,r.panic)("Tried to get interval length without starting one"):ve-ie}for(;ye(),!Me();)me(),j(je())?(Z(),oe(),Le()):(0,e.fastIsUpperCase)(je())?(D(),Me()?Le():Oe()===1?(Z(),oe(),Le()):A(je())?(oe(),Le()):(z(je())&&(ve-=1),Le())):(V(),Le());const ze=[];for(const[nt,ut,gt]of q){const ct=M.slice(nt,ut),Mn=be!==void 0&>||Q.has(ct.toLowerCase());ze.push({word:ct,isAcronym:Mn})}return ze}e.splitIntoWords=$;function ne(M){return(0,r.assert)(M.length>0,"Cannot style an empty string"),M[0].toUpperCase()+M.slice(1).toLowerCase()}e.firstUpperWordStyle=ne;function ce(M){return M.toUpperCase()}e.allUpperWordStyle=ce;function Te(M){return M}e.originalWord=Te;function Ne(M){return M.toLowerCase()}e.allLowerWordStyle=Ne;function le(M,q){(0,r.assert)(q.length>0,"Tried to style an empty word");const ie=M(q);return(0,r.assert)(ie.length>0,"Word style must not make word empty"),ie}function fe(M,q,ie,ue,ve,be,Me,je){const he=[];for(const me of M){const Le=q(me.word);Le.length!==0&&he.push({word:Le,isAcronym:me.isAcronym})}if(he.length===0){const me=q("empty");(0,r.assert)(me.length>0,'Word "empty" is invalid in target language'),he.push({word:me,isAcronym:!1})}const ye=[],Z=he[0],D=Z.isAcronym?ve:ie,V=le(D,Z.word);let oe;if(je((0,r.defined)(V.codePointAt(0))))ye.push(V),oe=he.slice(1);else{const me=q("the");(0,r.assert)(me.length>0,'Word "the" is invalid in the target language');const Le=le(ie,me);(0,r.assert)(je((0,r.defined)(Le.codePointAt(0))),'The first character of styling "the" is not a start character'),ye.push(Le),oe=he}for(const me of oe){const Le=me.isAcronym?be:ue;ye.push(le(Le,me.word))}return ye.join(Me)}e.combineWords=fe;function _e(M,q){return q.startsWith(M)?q:M+q}e.addPrefixIfNecessary=_e;function Y(M,q,ie){let ue,ve,be,Me,je;switch(M==="pascal"||M==="camel"||M==="pascal-upper-acronyms"||M==="camel-upper-acronyms"?(ue="",M==="pascal-upper-acronyms"||M==="camel-upper-acronyms"?(be=ne,je=ce):be=je=ne):ue="_",M){case"pascal":case"pascal-upper-acronyms":ve=Me=ne;break;case"camel":case"camel-upper-acronyms":ve=Me=Ne;break;case"underscore":ve=be=Me=je=Ne;break;case"upper-underscore":ve=be=Me=je=ce;break;default:return(0,r.assertNever)(M)}return he=>{const ye=$(he),Z=fe(ye,q,ve,be,Me,je,ue,L);return ie!==void 0?_e(ie,Z):Z}}e.makeNameStyle=Y}(xd)),xd}var gc={};Object.defineProperty(gc,"__esModule",{value:!0});gc.Chance=void 0;class d2{constructor(t){t===void 0&&(t=Math.floor(Math.random()*Math.pow(10,13))),this.N=624,this.M=397,this.MATRIX_A=2567483615,this.UPPER_MASK=2147483648,this.LOWER_MASK=2147483647,this.mt=new Array(this.N),this.mti=this.N+1,this.init_genrand(t)}init_genrand(t){for(this.mt[0]=t>>>0,this.mti=1;this.mti<this.N;this.mti++)t=this.mt[this.mti-1]^this.mt[this.mti-1]>>>30,this.mt[this.mti]=(((t&4294901760)>>>16)*1812433253<<16)+(t&65535)*1812433253+this.mti,this.mt[this.mti]>>>=0}genrand_int32(){let t,n=new Array(0,this.MATRIX_A);if(this.mti>=this.N){let i;for(this.mti===this.N+1&&this.init_genrand(5489),i=0;i<this.N-this.M;i++)t=this.mt[i]&this.UPPER_MASK|this.mt[i+1]&this.LOWER_MASK,this.mt[i]=this.mt[i+this.M]^t>>>1^n[t&1];for(;i<this.N-1;i++)t=this.mt[i]&this.UPPER_MASK|this.mt[i+1]&this.LOWER_MASK,this.mt[i]=this.mt[i+(this.M-this.N)]^t>>>1^n[t&1];t=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^t>>>1^n[t&1],this.mti=0}return t=this.mt[this.mti++],t^=t>>>11,t^=t<<7&2636928640,t^=t<<15&4022730752,t^=t>>>18,t>>>0}random(){return this.genrand_int32()*(1/4294967296)}}class h2{constructor(t){this.seed=t,this.mt=new d2(this.seed)}random(){return this.mt.random()}integer(t){return Math.floor(this.random()*(t.max-t.min+1)+t.min)}natural(t){return this.integer({min:0,max:t.max})}pick(t){if(t.length===0)throw new RangeError("Chance: Cannot pick() from an empty array");return t[this.natural({max:t.length-1})]}animal(){const t=["desert","forest","ocean","zoo","farm","pet","grassland"];return this.pick(p2[this.pick(t)])}city(){return this.pick(m2)}}gc.Chance=h2;const p2={ocean:["Acantharea","Anemone","Angelfish King","Ahi Tuna","Albacore","American Oyster","Anchovy","Armored Snail","Arctic Char","Atlantic Bluefin Tuna","Atlantic Cod","Atlantic Goliath Grouper","Atlantic Trumpetfish","Atlantic Wolffish","Baleen Whale","Banded Butterflyfish","Banded Coral Shrimp","Banded Sea Krait","Barnacle","Barndoor Skate","Barracuda","Basking Shark","Bass","Beluga Whale","Bluebanded Goby","Bluehead Wrasse","Bluefish","Bluestreak Cleaner-Wrasse","Blue Marlin","Blue Shark","Blue Spiny Lobster","Blue Tang","Blue Whale","Broadclub Cuttlefish","Bull Shark","Chambered Nautilus","Chilean Basket Star","Chilean Jack Mackerel","Chinook Salmon","Christmas Tree Worm","Clam","Clown Anemonefish","Clown Triggerfish","Cod","Coelacanth","Cockscomb Cup Coral","Common Fangtooth","Conch","Cookiecutter Shark","Copepod","Coral","Corydoras","Cownose Ray","Crab","Crown-of-Thorns Starfish","Cushion Star","Cuttlefish","California Sea Otters","Dolphin","Dolphinfish","Dory","Devil Fish","Dugong","Dumbo Octopus","Dungeness Crab","Eccentric Sand Dollar","Edible Sea Cucumber","Eel","Elephant Seal","Elkhorn Coral","Emperor Shrimp","Estuarine Crocodile","Fathead Sculpin","Fiddler Crab","Fin Whale","Flameback","Flamingo Tongue Snail","Flashlight Fish","Flatback Turtle","Flatfish","Flying Fish","Flounder","Fluke","French Angelfish","Frilled Shark","Fugu (also called Pufferfish)","Gar","Geoduck","Giant Barrel Sponge","Giant Caribbean Sea Anemone","Giant Clam","Giant Isopod","Giant Kingfish","Giant Oarfish","Giant Pacific Octopus","Giant Pyrosome","Giant Sea Star","Giant Squid","Glowing Sucker Octopus","Giant Tube Worm","Goblin Shark","Goosefish","Great White Shark","Greenland Shark","Grey Atlantic Seal","Grouper","Grunion","Guineafowl Puffer","Haddock","Hake","Halibut","Hammerhead Shark","Hapuka","Harbor Porpoise","Harbor Seal","Hatchetfish","Hawaiian Monk Seal","Hawksbill Turtle","Hector's Dolphin","Hermit Crab","Herring","Hoki","Horn Shark","Horseshoe Crab","Humpback Anglerfish","Humpback Whale","Icefish","Imperator Angelfish","Irukandji Jellyfish","Isopod","Ivory Bush Coral","Japanese Spider Crab","Jellyfish","John Dory","Juan Fernandez Fur Seal","Killer Whale","Kiwa Hirsuta","Krill","Lagoon Triggerfish","Lamprey","Leafy Seadragon","Leopard Seal","Limpet","Ling","Lionfish","Lions Mane Jellyfish","Lobe Coral","Lobster","Loggerhead Turtle","Longnose Sawshark","Longsnout Seahorse","Lophelia Coral","Marrus Orthocanna","Manatee","Manta Ray","Marlin","Megamouth Shark","Mexican Lookdown","Mimic Octopus","Moon Jelly","Mollusk","Monkfish","Moray Eel","Mullet","Mussel","Megaladon","Napoleon Wrasse","Nassau Grouper","Narwhal","Nautilus","Needlefish","Northern Seahorse","North Atlantic Right Whale","Northern Red Snapper","Norway Lobster","Nudibranch","Nurse Shark","Oarfish","Ocean Sunfish","Oceanic Whitetip Shark","Octopus","Olive Sea Snake","Orange Roughy","Ostracod","Otter","Oyster","Pacific Angelshark","Pacific Blackdragon","Pacific Halibut","Pacific Sardine","Pacific Sea Nettle Jellyfish","Pacific White Sided Dolphin","Pantropical Spotted Dolphin","Patagonian Toothfish","Peacock Mantis Shrimp","Pelagic Thresher Shark","Penguin","Peruvian Anchoveta","Pilchard","Pink Salmon","Pinniped","Plankton","Porpoise","Polar Bear","Portuguese Man o' War","Pycnogonid Sea Spider","Quahog","Queen Angelfish","Queen Conch","Queen Parrotfish","Queensland Grouper","Ragfish","Ratfish","Rattail Fish","Ray","Red Drum","Red King Crab","Ringed Seal","Risso's Dolphin","Ross Seals","Sablefish","Salmon","Sand Dollar","Sandbar Shark","Sawfish","Sarcastic Fringehead","Scalloped Hammerhead Shark","Seahorse","Sea Cucumber","Sea Lion","Sea Urchin","Seal","Shark","Shortfin Mako Shark","Shovelnose Guitarfish","Shrimp","Silverside Fish","Skipjack Tuna","Slender Snipe Eel","Smalltooth Sawfish","Smelts","Sockeye Salmon","Southern Stingray","Sponge","Spotted Porcupinefish","Spotted Dolphin","Spotted Eagle Ray","Spotted Moray","Squid","Squidworm","Starfish","Stickleback","Stonefish","Stoplight Loosejaw","Sturgeon","Swordfish","Tan Bristlemouth","Tasseled Wobbegong","Terrible Claw Lobster","Threespot Damselfish","Tiger Prawn","Tiger Shark","Tilefish","Toadfish","Tropical Two-Wing Flyfish","Tuna","Umbrella Squid","Velvet Crab","Venus Flytrap Sea Anemone","Vigtorniella Worm","Viperfish","Vampire Squid","Vaquita","Wahoo","Walrus","West Indian Manatee","Whale","Whale Shark","Whiptail Gulper","White-Beaked Dolphin","White-Ring Garden Eel","White Shrimp","Wobbegong","Wrasse","Wreckfish","Xiphosura","Yellowtail Damselfish","Yelloweye Rockfish","Yellow Cup Black Coral","Yellow Tube Sponge","Yellowfin Tuna","Zebrashark","Zooplankton"],desert:["Aardwolf","Addax","African Wild Ass","Ant","Antelope","Armadillo","Baboon","Badger","Bat","Bearded Dragon","Beetle","Bird","Black-footed Cat","Boa","Brown Bear","Bustard","Butterfly","Camel","Caracal","Caracara","Caterpillar","Centipede","Cheetah","Chipmunk","Chuckwalla","Climbing Mouse","Coati","Cobra","Cotton Rat","Cougar","Courser","Crane Fly","Crow","Dassie Rat","Dove","Dunnart","Eagle","Echidna","Elephant","Emu","Falcon","Fly","Fox","Frogmouth","Gecko","Geoffroy's Cat","Gerbil","Grasshopper","Guanaco","Gundi","Hamster","Hawk","Hedgehog","Hyena","Hyrax","Jackal","Kangaroo","Kangaroo Rat","Kestrel","Kowari","Kultarr","Leopard","Lion","Macaw","Meerkat","Mouse","Oryx","Ostrich","Owl","Pronghorn","Python","Rabbit","Raccoon","Rattlesnake","Rhinoceros","Sand Cat","Spectacled Bear","Spiny Mouse","Starling","Stick Bug","Tarantula","Tit","Toad","Tortoise","Tyrant Flycatcher","Viper","Vulture","Waxwing","Xerus","Zebra"],grassland:["Aardvark","Aardwolf","Accentor","African Buffalo","African Wild Dog","Alpaca","Anaconda","Ant","Anteater","Antelope","Armadillo","Baboon","Badger","Bandicoot","Barbet","Bat","Bee","Bee-eater","Beetle","Bird","Bison","Black-footed Cat","Black-footed Ferret","Bluebird","Boa","Bowerbird","Brown Bear","Bush Dog","Bushshrike","Bustard","Butterfly","Buzzard","Caracal","Caracara","Cardinal","Caterpillar","Cheetah","Chipmunk","Civet","Climbing Mouse","Clouded Leopard","Coati","Cobra","Cockatoo","Cockroach","Common Genet","Cotton Rat","Cougar","Courser","Coyote","Crane","Crane Fly","Cricket","Crow","Culpeo","Death Adder","Deer","Deer Mouse","Dingo","Dinosaur","Dove","Drongo","Duck","Duiker","Dunnart","Eagle","Echidna","Elephant","Elk","Emu","Falcon","Finch","Flea","Fly","Flying Frog","Fox","Frog","Frogmouth","Garter Snake","Gazelle","Gecko","Geoffroy's Cat","Gerbil","Giant Tortoise","Giraffe","Grasshopper","Grison","Groundhog","Grouse","Guanaco","Guinea Pig","Hamster","Harrier","Hartebeest","Hawk","Hedgehog","Helmetshrike","Hippopotamus","Hornbill","Hyena","Hyrax","Impala","Jackal","Jaguar","Jaguarundi","Kangaroo","Kangaroo Rat","Kestrel","Kultarr","Ladybug","Leopard","Lion","Macaw","Meerkat","Mouse","Newt","Oryx","Ostrich","Owl","Pangolin","Pheasant","Prairie Dog","Pronghorn","Przewalski's Horse","Python","Quoll","Rabbit","Raven","Rhinoceros","Shelduck","Sloth Bear","Spectacled Bear","Squirrel","Starling","Stick Bug","Tamandua","Tasmanian Devil","Thornbill","Thrush","Toad","Tortoise"],forest:["Agouti","Anaconda","Anoa","Ant","Anteater","Antelope","Armadillo","Asian Black Bear","Aye-aye","Babirusa","Baboon","Badger","Bandicoot","Banteng","Barbet","Basilisk","Bat","Bearded Dragon","Bee","Bee-eater","Beetle","Bettong","Binturong","Bird-of-paradise","Bongo","Bowerbird","Bulbul","Bush Dog","Bushbaby","Bushshrike","Butterfly","Buzzard","Caecilian","Cardinal","Cassowary","Caterpillar","Centipede","Chameleon","Chimpanzee","Cicada","Civet","Clouded Leopard","Coati","Cobra","Cockatoo","Cockroach","Colugo","Cotinga","Cotton Rat","Cougar","Crane Fly","Cricket","Crocodile","Crow","Cuckoo","Cuscus","Death Adder","Deer","Dhole","Dingo","Dinosaur","Drongo","Duck","Duiker","Eagle","Echidna","Elephant","Finch","Flat-headed Cat","Flea","Flowerpecker","Fly","Flying Frog","Fossa","Frog","Frogmouth","Gaur","Gecko","Gorilla","Grison","Hawaiian Honeycreeper","Hawk","Hedgehog","Helmetshrike","Hornbill","Hyrax","Iguana","Jackal","Jaguar","Jaguarundi","Kestrel","Ladybug","Lemur","Leopard","Lion","Macaw","Mandrill","Margay","Monkey","Mouse","Mouse Deer","Newt","Okapi","Old World Flycatcher","Orangutan","Owl","Pangolin","Peafowl","Pheasant","Possum","Python","Quokka","Rabbit","Raccoon","Red Panda","Red River Hog","Rhinoceros","Sloth Bear","Spectacled Bear","Squirrel","Starling","Stick Bug","Sun Bear","Tamandua","Tamarin","Tapir","Tarantula","Thrush","Tiger","Tit","Toad","Tortoise","Toucan","Trogon","Trumpeter","Turaco","Turtle","Tyrant Flycatcher","Viper","Vulture","Wallaby","Warbler","Wasp","Waxwing","Weaver","Weaver-finch","Whistler","White-eye","Whydah","Woodswallow","Worm","Wren","Xenops","Yellowjacket","Accentor","African Buffalo","American Black Bear","Anole","Bird","Bison","Boa","Brown Bear","Chipmunk","Common Genet","Copperhead","Coyote","Deer Mouse","Dormouse","Elk","Emu","Fisher","Fox","Garter Snake","Giant Panda","Giant Tortoise","Groundhog","Grouse","Guanaco","Himalayan Tahr","Kangaroo","Koala","Numbat","Quoll","Raccoon dog","Tasmanian Devil","Thornbill","Turkey","Vole","Weasel","Wildcat","Wolf","Wombat","Woodchuck","Woodpecker"],farm:["Alpaca","Buffalo","Banteng","Cow","Cat","Chicken","Carp","Camel","Donkey","Dog","Duck","Emu","Goat","Gayal","Guinea","Goose","Horse","Honey","Llama","Pig","Pigeon","Rhea","Rabbit","Sheep","Silkworm","Turkey","Yak","Zebu"],pet:["Bearded Dragon","Birds","Burro","Cats","Chameleons","Chickens","Chinchillas","Chinese Water Dragon","Cows","Dogs","Donkey","Ducks","Ferrets","Fish","Geckos","Geese","Gerbils","Goats","Guinea Fowl","Guinea Pigs","Hamsters","Hedgehogs","Horses","Iguanas","Llamas","Lizards","Mice","Mule","Peafowl","Pigs and Hogs","Pigeons","Ponies","Pot Bellied Pig","Rabbits","Rats","Sheep","Skinks","Snakes","Stick Insects","Sugar Gliders","Tarantula","Turkeys","Turtles"],zoo:["Aardvark","African Wild Dog","Aldabra Tortoise","American Alligator","American Bison","Amur Tiger","Anaconda","Andean Condor","Asian Elephant","Baby Doll Sheep","Bald Eagle","Barred Owl","Blue Iguana","Boer Goat","California Sea Lion","Caribbean Flamingo","Chinchilla","Collared Lemur","Coquerel's Sifaka","Cuban Amazon Parrot","Ebony Langur","Fennec Fox","Fossa","Gelada","Giant Anteater","Giraffe","Gorilla","Grizzly Bear","Henkel's Leaf-tailed Gecko","Indian Gharial","Indian Rhinoceros","King Cobra","King Vulture","Komodo Dragon","Linne's Two-toed Sloth","Lion","Little Penguin","Madagascar Tree Boa","Magellanic Penguin","Malayan Tapir","Malayan Tiger","Matschies Tree Kangaroo","Mini Donkey","Monarch Butterfly","Nile crocodile","North American Porcupine","Nubian Ibex","Okapi","Poison Dart Frog","Polar Bear","Pygmy Marmoset","Radiated Tortoise","Red Panda","Red Ruffed Lemur","Ring-tailed Lemur","Ring-tailed Mongoose","Rock Hyrax","Small Clawed Asian Otter","Snow Leopard","Snowy Owl","Southern White-faced Owl","Southern White Rhinocerous","Squirrel Monkey","Tufted Puffin","White Cheeked Gibbon","White-throated Bee Eater","Zebra"]},m2=["Alert","Nord","Eureka","Ny-Ålesund","Longyearbyen","Qaanaaq","Grise Fiord","Dikson","Upernavik","Tiksi","Belushya Guba","Barrow","Honningsvåg","Hammerfest","Deadhorse","Nuorgam","Vadsø","Alta","Utsjoki","Kirkenes","Tromsø","Tuktoyaktuk","Norilsk","Murmansk","Harstad","Narvik","Inuvik","Kiruna","Verkhoyansk","Bodø","Gällivare","Kemijärvi","Rovaniemi","Ísafjörður","Kuusamo","Tornio","Boden","Haparanda","Kemi","Akureyri","Luleå","Pudasjärvi","Piteå","Oulu","Fairbanks","Skellefteå","Anadyr","Arkhangelsk","Nome","Nuuk (Godthåb)","Reykjavík","Umeå","Iqaluit","Stjørdal","Trondheim","Örnsköldsvik","Östersund","Vaasa","Kuopio","Yellowknife","Sundsvall","Jyväskylä","Yakutsk","Tórshavn","Petrozavodsk","Tampere","Anchorage","Lillehammer","Lahti","Qaqortoq","Whitehorse","Turku","Bergen","Vantaa","Lerwick","Espoo","Helsinki","Oslo","Saint Petersburg","Uppsala","Fritz Creek","Magadan","Tallinn","Stockholm","Sarpsborg","Örebro","Vologda","Norrköping","Linköping","Tartu","Juneau","Arendal","Kristiansand","Perm","Valga","Gothenburg","Visby","Yaroslavl","Inverness","Aberdeen","Sitka","Riga","Izhevsk","Yekaterinburg","Fort McMurray","Dundee","Nizhny Novgorod","Stirling","Bratsk","Aarhus","Krasnoyarsk","Edinburgh","Glasgow","Kazan","Moscow","Copenhagen","Malmö","Esbjerg","Odense","Grande Prairie","Chelyabinsk","Novosibirsk","Derry","Omsk","Newcastle upon Tyne","Sunderland","Petropavl","Flensburg","Ufa","Kaliningrad","Vilnius","Belfast","Middlesbrough","Gdynia","Gdańsk","Kiel","Douglas","Rostock","Lancaster","York","Prince George","Minsk","Bradford","Leeds","Hamburg","Edmonton","Tolyatti","Manchester","Liverpool","Sheffield","Dublin","Groningen","Samara","Bremen","Petropavlovsk-Kamchatsky","Nottingham","Derby","Leicester","Norwich","Peterborough","Berlin","Birmingham","Gomel","Coventry","Poznań","Haarlem","Amsterdam","Hannover","Irkutsk","Warsaw","Enschede","Cambridge","Leiden","Saskatoon","Utrecht","The Hague","Münster","Rotterdam","Cork","Adak","Gloucester","Oxford","Voronezh","Swansea","Saratov","Dortmund","London","Cardiff","Greenwich","Bristol","Bath","Leipzig","Düsseldorf","Antwerp","Astana","Winchester","Calgary","Ghent","Dresden","Erfurt","Calais","Cologne","Southampton","Maastricht","Brussels","Brighton and Hove","Portsmouth","Exeter","Kamloops","Lille","Regina","Kiev","Charleroi","Plymouth","Frankfurt am Main","Prague","Kraków","Kharkiv","Winnipeg","Kelowna","Lviv","Luxembourg","Le Havre","Nuremberg","Rouen","Vancouver","Paris","Stuttgart","Bellingham","Volgograd","Strasbourg","Dnipro","Victoria","Saguenay","Brest","Thunder Bay","Linz","Vienna","Bratislava","Munich","Donetsk","Ulaanbaatar","Orléans","Salzburg","Seattle","St. John's","Basel","Budapest","Qiqihar","Zürich","Innsbruck","Rostov-on-Don","Nantes","Vaduz","Atyrau","Graz","Chişinău","Bern","Tiraspol","Quebec City","Bismarck","Duluth","Saint-Pierre","Cluj-Napoca","Moscow","Helena","Sault Ste. Marie","Lausanne","Sudbury","Odessa","North Bay","Charlottetown","Geneva","Moncton","Ljubljana","Fredericton","Zagreb","Lyon","Harbin","New Glasgow","Portland","Montreal","Milan","Venice","Ottawa","Wakkanai","Saint John","Novi Sad","Turin","Krasnodar","Minneapolis","Simferopol","Halifax","Bordeaux","Belgrade","Šabac","Drobeta Turnu Severin","Bologna","Bucharest","Ravenna","Genoa","Pierre","Craiova","Augusta","Montpelier","Bath","San Marino","Changchun","Sarajevo","Yarmouth","Ürümqi","Florence","Asahikawa","Monaco","Nice","Toronto","Boise","Toulouse","Sochi","Cannes","Gijón","Sioux Falls","Split","Oviedo","Nemuro","San Sebastián","Marseille","Almaty","Bilbao","Concord","Rochester","Vladivostok","Sapporo","Milwaukee","Sukhumi","Kushiro","London","Follonica","Obihiro","Buffalo","Santiago de Compostela","Bishkek","Vitoria-Gasteiz","Sofia","Pristina","Andorra la Vella","Nukus","Podgorica","Boston","Detroit","Windsor","Vigo","Tskhinvali","Avezzano","Skopje","Colchester","Rome","Vatican City","Chicago","Providence","Shenyang","Chongjin","Hartford","Hakodate","Tbilisi","Valladolid","Zaragoza","Des Moines","Braga","Cleveland","Barcelona","Tirana","Tashkent","Porto","Cheyenne","Bari","Fort Wayne","Istanbul","Trabzon","Namangan","Naples","Aomori","Lincoln","Eureka","Salt Lake City","Jersey City","New York City","Thessaloniki","Lleida","Pittsburgh","Baku","Madrid","Trenton","Bursa","Yerevan","Boulder","Columbus","Ankara","Philadelphia","Beijing","Stepanakert","Forked River","Eskisehir","Indianapolis","Denver","Akita","Morioka","Palma","Reno","Flores Island","Valencia","Baltimore","Cagliari","Dover","Wonsan","Tianjin","Cincinnati","Kansas City","Pyongyang","Ibiza","Dalian","Washington","Lisbon","St. Louis","Horta","Sacramento","Dushanbe","Angra do Heroísmo","Halkida","İzmir","Charleston","Alicante","Sendai","Louisville","Yamagata","Messina","Palermo","Tabriz","Shijiazhuang","Trapani","Athena","Kaesong","Ashgabat","Niigata","Taiyuan","Konya","Ponta Delgada","Oakland","San Francisco","Fukushima","Wichita","Seoul","San Jose","Catania","Incheon","Sevilla","Mugla","Springfield","Gaziantep","Adana","Virginia Beach","Almería","Tunis","Mersin","Algiers","Málaga","Toyama","Jinan","Nagano","Xining","Handan","Kanazawa","Utsunomiya","Maebashi","Mito","Mosul","Mashhad","Arbil","Las Vegas","Nashville","Gibraltar","Tulsa","Fukui","Qingdao","Lanzhou","Knoxville","Valletta","Birkirkara","Los Alamos","Daegu","Raleigh","Tangier","Tehran","Tokyo","Santa Fe","Kōfu","Chiba","Latakia","Kawasaki","Tottori","Oklahoma City","Matsue","Kirkuk","Yokohama","Gifu","Tiaret","Heraklion","Melilla","Charlotte","Nagoya","Busan","Nicosia","Memphis","Albuquerque","Ōtsu","Kyoto","Shizuoka","Zhengzhou","Little Rock","Sfax","Tsu","Osaka","Kōbe","Nara","Okayama","Kabul","Santa Barbara","Hiroshima","Takamatsu","Xi'an","Wakayama","Wilmington","Yamaguchi","Arak","Srinagar","Tokushima","Los Angeles","Rabat","Peshawar","Columbia","Riverside","Beirut","Matsuyama","Atlanta","Islamabad","Birmingham","Rawalpindi","Fukuoka","Kōchi","Casablanca","Damascus","Phoenix","Lubbock","Baghdad","Saga","Ōita","Tripoli","Charleston","Dallas","Nagasaki","Kumamoto","San Diego","Mexicali","Funchal","El Centro","Isfahan","Karbala","Tijuana","Shreveport","Jackson","Hamilton","Tucson","Benghazi","Tel Aviv","Nanjing","Najaf","Amman","Miyazaki","Ramallah","Ensenada","El Paso","Jerusalem","Ciudad Juárez","Amritsar","Marrakech","Kandahar","Kagoshima","Lahore","Gaza","Faisalabad","Port Said","Alexandria","Shanghai","Shimla","Ludhiana","Chandigarh","Mobile","Chengdu","Wuhan","Basra","Agadir","Jacksonville","Austin","Hangzhou","Multan","Cairo","New Orleans","Suez","Houston","Lhasa","Chongqing","Eilat","San Antonio","Kuwait City","Shigatse","Hermosillo","Chihuahua","New Delhi","Santa Cruz de Tenerife","Orlando","Las Palmas de Gran Canaria","Tampa","Corpus Christi","Maspalomas","Kathmandu","Dibrugarh","Thimphu","Gangtok","Agra","El Aaiún","Sabha","Jaipur","Lucknow","Siliguri","Tezpur","Kanpur","Dammam","Naha","Manama","Guwahati","Brownsville","Miami","Luxor","Monterrey","Patna","Shillong","Torreón","Kulpahar","Doha","Dubai","Hyderabad","Nassau","Kunming","Taipei","Karachi","Culiacán","Riyadh","Key West","Medina","Abu Dhabi","Al Ain","Taichung","Durango","Agartala","Dhaka","Muscat","Havana","Guangzhou","Ahmedabad","Dongguan","Tainan","Cabo San Lucas","Nanning","Kaohsiung","Kolkata (Calcutta)","Shenzhen","Chittagong","Hong Kong","Tampico","San Luis Potosí","Aguascalientes","Jeddah","Cockburn Town","Mecca","Honolulu","Chhattisgarh","Cancún","Surat","Nagpur","León","Hanoi","Mérida","Hai Phong","Zapopan","Puerto Vallarta","Guadalajara","Querétaro","Haikou","Santiago de Cuba","Chiang Rai","Naypyidaw","Hilo","George Town","Veracruz","Puebla","Mumbai","Chiang Mai","Port-au-Prince","Pune","Santo Domingo","San Juan","Road Town","Charlotte Amalie","The Valley","Nouakchott","Kingston","Vientiane","Visakhapatnam","Belize City","Udon Thani","Hyderabad","Basseterre","Belmopan","St. John's","Salalah","Acapulco","Yangon","Timbuktu","Huế","Khon Kaen","Da Nang","Basse-Terre","Omdurman","Khartoum","Sana'a","Asmara","Roseau","Saipan","Son My","Nakhon Ratchasima","Praia","Tapachula","Quetzaltenango","Thiès","Dakar","Quezon City","Guatemala City","Fort-de-France","Manila","Makati","Ayutthaya","Tegucigalpa","Castries","Bangkok","San Salvador","Niamey","Dededo","Hagåtña","Banjul","Serekunda","Siem Reap","Brikama","Kingstown","Bridgetown","Chennai (Madras)","Bangalore","Pattaya","Koulikoro","Bamako","Chinandega","Oranjestad","Ouagadougou","Managua","Willemstad","N'Djamena","St. George's","Kano","Bissau","Port Blair","Djibouti","Phnom Penh","Bobo-Dioulasso","Barranquilla","Ho Chi Minh City","Iloilo City","Port of Spain","Maracaibo","Liberia","Caracas","Chaguanas","Cartagena","San Fernando","Cebu City","Maracay","Valencia","Alajuela","Limón","Jaffna","Hargeisa","Puntarenas","Kochi","San José","Tagbilaran","Conakry","Tamale","Surat Thani","Abuja","Addis Ababa","Panama City","Mérida","Moundou","Trivandrum","Freetown","Ciudad Bolívar","Cúcuta","Phuket","San Cristóbal","Nzérékoré","Batticaloa","Melekeok","Weno","Ibadan","Koror","Kandy","Majuro","Davao City","Hat Yai","Colombo","Palikir","Sri Jayawardenapura-Kotte","Zamboanga City","Yamoussoukro","Georgetown","Kumasi","Porto-Novo","Lagos","Enugu","Cotonou","Benin City","Monrovia","Medellín","Lomé","Kota Bharu","Alor Setar","Kota Kinabalu","Paramaribo","Puerto Ayacucho","Accra","Banda Aceh","George Town","Abidjan","Cayenne","Sekondi-Takoradi","Bandar Seri Begawan","Juba","Port Harcourt","Ipoh","Bogotá","Miri","Bangui","Malé","Douala","Yaoundé","Malabo","Medan","Santiago de Cali","Kuala Lumpur","Boa Vista","Malacca Town","Mogadishu","Kuching","Johor Bahru","South Tarawa","Singapore","Pekanbaru","Libreville","São Tomé","Kampala","Entebbe","Mbandaka","Macapá","Pontianak","Quito","Kismayo","Yaren District","Padang","Balikpapan","Nairobi","Belém","Kigali","Guayaquil","Mwanza","São Luís","Jayapura","Palembang","Manaus","Bujumbura","Sobral","Ambon","Fortaleza","Iquitos","Fernando de Noronha","Mombasa","Brazzaville","Kinshasa","Victoria","Teresina","Makassar","Imperatriz","Natal","Zanzibar City","Dodoma","Jakarta","Bogor","Dar es Salaam","Bandung","Semarang","João Pessoa","Juazeiro do Norte","Campina Grande","Surabaya","Yogyakarta","Malang","Recife","Trujillo","Caruaru","Funafuti","Dili","Denpasar","Porto Velho","Luanda","Garanhuns","Nukulaelae","Petrolina","Honiara","Port Moresby","Maceió","Rio Branco","Aracaju","Palmas","Lubumbashi","Moroni","Sinop","Lima","Darwin","Huambo","Mamoudzou","Ndola","Salvador","Ayacucho","Mata-Utu","Cusco","Apia","Lilongwe","Pago Pago","Ilhéus","Lusaka","Cuiabá","Blantyre","Brasília","Jamestown","Arequipa","Labasa","Rabi Island","La Paz","Goiânia","Cairns","Papeete","Port Vila","Santa Cruz de la Sierra","Livingstone","Harare","Suva","Arica","Governador Valadares","Uberlândia","Antananarivo","Mutare","Sucre","Alofi","Townsville","Gweru","Belo Horizonte","Port Louis","Bulawayo","Iquique","Port Hedland","Vitória","Campo Grande","São José do Rio Preto","Saint-Denis","Nukuʻalofa","Francistown","Ribeirão Preto","Avarua","Juiz de Fora","Poços de Caldas","Araraquara","Nouméa","Bauru","Calama","Windhoek","Assis","Campinas","Rio de Janeiro","São José dos Campos","Rockhampton","São Paulo","Antofagasta","Polokwane","Gaborone","Salta","Adamstown","Asunción","Curitiba","Nelspruit","Ciudad del Este","Pretoria","Mafikeng","Maputo","Johannesburg","Mbabane","Lobamba","Manzini","San Miguel de Tucumán","Hanga Roa","Copiapó","Brisbane","Corrientes","Florianópolis","Gold Coast","Kimberley","Kingston","Bloemfontein","Maseru","Pietermaritzburg","Durban","La Serena","Córdoba","Santa Fe","Pelotas","Perth","San Juan","Mandurah","Bhisho","Mendoza","Newcastle","Rosario","Viña del Mar","Valparaíso","Santiago","Chuí","Sydney","Cape Town","Port Elizabeth","Wollongong","Buenos Aires","Montevideo","Adelaide","Canberra","Concepción","Auckland","Edinburgh of the Seven Seas","Hamilton","Melbourne","Mar del Plata","Geelong","Bahía Blanca","Temuco","Neuquén","Hastings","Valdivia","San Carlos de Bariloche","Nelson","Wellington","Puerto Montt","Launceston, Tasmania","Hobart","Trelew","Christchurch","Waitangi","Puerto Aisén","Coihaique","Comodoro Rivadavia","Dunedin","Invercargill","Río Gallegos","Stanley","Punta Arenas","Grytviken","Ushuaia","Puerto Williams","Puerto Toro","Villa Las Estrellas","Esperanza","Rothera","Concordia"];(function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(R,A,b,_){_===void 0&&(_=b);var L=Object.getOwnPropertyDescriptor(A,b);(!L||("get"in L?!A.__esModule:L.writable||L.configurable))&&(L={enumerable:!0,get:function(){return A[b]}}),Object.defineProperty(R,_,L)}:function(R,A,b,_){_===void 0&&(_=b),R[_]=A[b]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(R,A){Object.defineProperty(R,"default",{enumerable:!0,value:A})}:function(R,A){R.default=A}),i=Fe&&Fe.__importStar||function(R){if(R&&R.__esModule)return R;var A={};if(R!=null)for(var b in R)b!=="default"&&Object.prototype.hasOwnProperty.call(R,b)&&t(A,R,b);return n(A,R),A};Object.defineProperty(e,"__esModule",{value:!0}),e.makeNamesTypeAttributes=e.singularizeTypeNames=e.modifyTypeNames=e.namesTypeAttributeKind=e.TooManyTypeNames=e.RegularTypeNames=e.TypeNames=e.tooManyNamesThreshold=e.initTypeNames=void 0;const r=i(Lv),u=He,l=Ie,d=yt,y=St(),T=gc;let S,O;function I(){S=new T.Chance(31415),O=new Set}e.initTypeNames=I,I();function k(){for(;;){const R=`${S.city()} ${S.animal()}`;if(!O.has(R))return O.add(R),R}}function P(R){let A=(0,u.iterableFirst)(R);if(A===void 0)return(0,l.panic)("Named type has no names");if(R.size===1)return A;const b=(0,u.setMap)(R,f=>(0,y.splitIntoWords)(f).map(h=>h.word.toLowerCase()).join("_")),_=(0,l.defined)((0,u.iterableFirst)(b));if(b.size===1)return _;let L=_.length,g=_.length;for(const f of(0,u.iterableSkip)(b,1)){L=Math.min(L,f.length);for(let h=0;h<L;h++)if(_[h]!==f[h]){L=h;break}g=Math.min(g,f.length);for(let h=0;h<g;h++)if(_[_.length-h-1]!==f[f.length-h-1]){g=h;break}}const p=L>2?_.slice(0,L):"",a=g>2?_.slice(_.length-g):"",o=p+a;return o.length>2?o:_}e.tooManyNamesThreshold=1e3;class m{static makeWithDistance(A,b,_){return A.size>=e.tooManyNamesThreshold?new J(_):((b===void 0||b.size>e.tooManyNamesThreshold)&&(b=void 0),new C(A,b,_))}static make(A,b,_){return m.makeWithDistance(A,b,_?1:0)}constructor(A){this.distance=A}get areInferred(){return this.distance>0}}e.TypeNames=m;class C extends m{constructor(A,b,_){super(_),this.names=A,this._alternativeNames=b}add(A,b=0){let _=new Set(this.names),L=this.distance,g=(0,u.definedMap)(this._alternativeNames,p=>new Set(p));for(let p=b;p<A.length;p++){const a=A[p];if(a instanceof C&&a._alternativeNames!==void 0&&(g===void 0&&(g=new Set),(0,u.setUnionInto)(g,a._alternativeNames)),!(a.distance>L)){if(!(a instanceof C))return(0,l.assert)(a instanceof J,"Unknown TypeNames instance"),a.add(A,p+1);a.distance<L?(_=new Set(a.names),L=a.distance,g=(0,u.definedMap)(a._alternativeNames,o=>new Set(o))):((0,l.assert)(a.distance===L,"This should be the only case left"),(0,u.setUnionInto)(_,a.names))}}return m.makeWithDistance(_,g,L)}clearInferred(){const A=this.areInferred?new Set:this.names;return m.makeWithDistance(A,new Set,this.distance)}get combinedName(){return P(this.names)}get proposedNames(){const A=new Set([this.combinedName]);return this._alternativeNames===void 0||(0,u.setUnionInto)(A,this._alternativeNames),A}makeInferred(){return m.makeWithDistance(this.names,this._alternativeNames,this.distance+1)}singularize(){return m.makeWithDistance((0,u.setMap)(this.names,r.singular),(0,u.definedMap)(this._alternativeNames,A=>(0,u.setMap)(A,r.singular)),this.distance+1)}toString(){const b=`${this.areInferred?`distance ${this.distance}`:"given"} ${Array.from(this.names).join(",")}`;return this._alternativeNames===void 0?b:`${b} (${Array.from(this._alternativeNames).join(",")})`}}e.RegularTypeNames=C;class J extends m{constructor(A,b){super(A),b===void 0&&(b=k()),this.names=new Set([b])}get combinedName(){return(0,l.defined)((0,u.iterableFirst)(this.names))}get proposedNames(){return this.names}add(A,b=0){if(!this.areInferred)return this;for(let _=b;_<A.length;_++){const L=A[_];if(L.distance<this.distance)return L.add(A,_+1)}return this}clearInferred(){return this.areInferred?m.makeWithDistance(new Set,new Set,this.distance):this}makeInferred(){return new J(this.distance+1,(0,u.iterableFirst)(this.names))}singularize(){return this}toString(){return`too many ${this.combinedName}`}}e.TooManyTypeNames=J;class x extends d.TypeAttributeKind{constructor(){super("names")}combine(A){return(0,l.assert)(A.length>0,"Can't combine zero type names"),A[0].add(A,1)}makeInferred(A){return A.makeInferred()}increaseDistance(A){return A.makeInferred()}stringify(A){return A.toString()}}e.namesTypeAttributeKind=new x;function G(R,A){return e.namesTypeAttributeKind.modifyInAttributes(R,A)}e.modifyTypeNames=G;function K(R){return G(R,A=>{if(A!==void 0)return A.singularize()})}e.singularizeTypeNames=K;function U(R,A){let b;return typeof R=="string"?b=m.make(new Set([R]),new Set,(0,l.defined)(A)):b=R,e.namesTypeAttributeKind.makeAttributes(b)}e.makeNamesTypeAttributes=U})(mr);var _t={},rt={},ir={},Gd={},o0;function Vo(){return o0||(o0=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.TypeBuilder=e.getNoStringTypeMapping=e.stringTypeMappingGet=e.provenanceTypeAttributeKind=void 0;const t=He,n=lt(),i=vi(),r=yt,u=Ie,l=Sr();class d extends r.TypeAttributeKind{constructor(){super("provenance")}appliesToTypeKind(k){return!0}combine(k){return(0,t.setUnionManyInto)(new Set,k)}makeInferred(k){return k}stringify(k){return Array.from(k).sort().map(P=>P.toString()).join(",")}}e.provenanceTypeAttributeKind=new d;function y(I,k){const P=I.get(k);return P===void 0?"string":P}e.stringTypeMappingGet=y;let T;function S(){return T===void 0&&(T=new Map(Array.from(n.transformedStringTypeKinds).map(I=>[I,I]))),T}e.getNoStringTypeMapping=S;class O{constructor(k,P,m,C,J,x){this._stringTypeMapping=P,this.canonicalOrder=m,this._allPropertiesOptional=C,this._addProvenanceAttributes=J,this.topLevels=new Map,this.types=[],this.typeAttributes=[],this._addedForwardingIntersection=!1,this._typeForIdentity=new t.EqualityMap,(0,u.assert)(!J||!x,"We can't both inherit as well as add provenance"),this.typeGraph=new i.TypeGraph(this,k,J||x)}addTopLevel(k,P){(0,u.assert)(!this.topLevels.has(k),"Trying to add top-level with existing name"),(0,u.assert)(this.types[(0,i.typeRefIndex)(P)]!==void 0,"Trying to add a top-level type that doesn't exist (yet?)"),this.topLevels.set(k,P)}reserveTypeRef(){const k=this.types.length;this.types.push(void 0);const P=(0,i.makeTypeRef)(this.typeGraph,k),m=this._addProvenanceAttributes?e.provenanceTypeAttributeKind.makeAttributes(new Set([k])):r.emptyTypeAttributes;return this.typeAttributes.push(m),P}assertTypeRefGraph(k){k!==void 0&&(0,i.assertTypeRefGraph)(k,this.typeGraph)}assertTypeRefSetGraph(k){k!==void 0&&k.forEach(P=>this.assertTypeRefGraph(P))}filterTypeAttributes(k,P){const m=(0,t.mapFilter)(P,(C,J)=>J.appliesToTypeKind(k.kind));return P.size!==m.size&&this.setLostTypeAttributes(),m}commitType(k,P){this.assertTypeRefGraph(k);const m=(0,i.typeRefIndex)(k);(0,u.assert)(this.types[m]===void 0,"A type index was committed twice"),this.types[m]=P,this.typeAttributes[m]=this.filterTypeAttributes(P,this.typeAttributes[m])}addType(k,P,m){k!==void 0&&(this.assertTypeRefGraph(k),(0,u.assert)(this.types[(0,i.typeRefIndex)(k)]===void 0));const C=k!==void 0?k:this.reserveTypeRef();if(m!==void 0){const x=(0,i.typeRefIndex)(C);this.typeAttributes[x]=(0,r.combineTypeAttributes)("union",this.typeAttributes[x],m)}const J=P(C);return this.commitType(C,J),C}typeAtIndex(k){const P=this.types[k];return P===void 0?(0,u.panic)("Trying to deref an undefined type in a type builder"):P}atIndex(k){const P=this.typeAtIndex(k),m=this.typeAttributes[k];return[P,m]}addAttributes(k,P){this.assertTypeRefGraph(k);const m=(0,i.typeRefIndex)(k),C=this.typeAttributes[m];(0,u.assert)((0,t.iterableEvery)(P,([G,K])=>{if(!G.inIdentity)return!0;const U=C.get(G);return U===void 0?!1:(0,t.areEqual)(U,K)}),"Can't add different identity type attributes to an existing type");const J=this.types[m];J!==void 0&&(P=this.filterTypeAttributes(J,P));const x=(0,t.mapFilter)(P,(G,K)=>!K.inIdentity);this.typeAttributes[m]=(0,r.combineTypeAttributes)("union",C,x)}finish(){return this.typeGraph.freeze(this.topLevels,this.types.map(u.defined),this.typeAttributes),this.typeGraph}addForwardingIntersection(k,P){return this.assertTypeRefGraph(P),this._addedForwardingIntersection=!0,this.addType(k,m=>new n.IntersectionType(m,this.typeGraph,new Set([P])),void 0)}forwardIfNecessary(k,P){if(P!==void 0)return k===void 0?P:this.addForwardingIntersection(k,P)}get didAddForwardingIntersection(){return this._addedForwardingIntersection}registerTypeForIdentity(k,P){k!==void 0&&this._typeForIdentity.set(k,P)}makeIdentity(k){return k()}getOrAddType(k,P,m,C){const J=this.makeIdentity(k);let x;if(J===void 0?x=void 0:x=this._typeForIdentity.get(J),x!==void 0){const K=this.forwardIfNecessary(C,x);return m!==void 0&&this.addAttributes(K,(0,t.mapFilter)(m,(U,R)=>!R.inIdentity)),K}const G=this.addType(C,P,m);return this.registerTypeForIdentity(J,G),G}registerType(k){this.registerTypeForIdentity(k.identity,k.typeRef)}getPrimitiveType(k,P,m){const C=(0,t.withDefault)(P,r.emptyTypeAttributes);let J=k==="string"?void 0:l.StringTypes.unrestricted;return(0,n.isPrimitiveStringTypeKind)(k)&&k!=="string"&&(k=y(this._stringTypeMapping,k)),k==="string"?this.getStringType(C,J,m):this.getOrAddType(()=>(0,n.primitiveTypeIdentity)(k,C),x=>new n.PrimitiveType(x,this.typeGraph,k),C,m)}getStringType(k,P,m){const C=(0,t.mapFind)(k,(J,x)=>x===l.stringTypesTypeAttributeKind);return(0,u.assert)(P===void 0!=(C===void 0),"Must instantiate string type with one enum case attribute"),C===void 0&&(k=(0,r.combineTypeAttributes)("union",k,l.stringTypesTypeAttributeKind.makeAttributes((0,u.defined)(P)))),this.getOrAddType(()=>(0,n.primitiveTypeIdentity)("string",k),J=>new n.PrimitiveType(J,this.typeGraph,"string"),k,m)}getEnumType(k,P,m){return this.getOrAddType(()=>(0,n.enumTypeIdentity)(k,P),C=>new n.EnumType(C,this.typeGraph,P),k,m)}makeClassProperty(k,P){return new n.ClassProperty(k,this.typeGraph,P)}getUniqueObjectType(k,P,m,C){return this.assertTypeRefGraph(m),P=(0,t.definedMap)(P,J=>this.modifyPropertiesIfNecessary(J)),this.addType(C,J=>new n.ObjectType(J,this.typeGraph,"object",!0,P,m),k)}getUniqueMapType(k){return this.addType(k,P=>new n.MapType(P,this.typeGraph,void 0),void 0)}getMapType(k,P,m){return this.assertTypeRefGraph(P),this.getOrAddType(()=>(0,n.mapTypeIdentify)(k,P),C=>new n.MapType(C,this.typeGraph,P),k,m)}setObjectProperties(k,P,m){this.assertTypeRefGraph(m);const C=(0,i.derefTypeRef)(k,this.typeGraph);if(!(C instanceof n.ObjectType))return(0,u.panic)("Tried to set properties of non-object type");C.setProperties(this.modifyPropertiesIfNecessary(P),m),this.registerType(C)}getUniqueArrayType(k){return this.addType(k,P=>new n.ArrayType(P,this.typeGraph,void 0),void 0)}getArrayType(k,P,m){return this.assertTypeRefGraph(P),this.getOrAddType(()=>(0,n.arrayTypeIdentity)(k,P),C=>new n.ArrayType(C,this.typeGraph,P),k,m)}setArrayItems(k,P){this.assertTypeRefGraph(P);const m=(0,i.derefTypeRef)(k,this.typeGraph);if(!(m instanceof n.ArrayType))return(0,u.panic)("Tried to set items of non-array type");m.setItems(P),this.registerType(m)}modifyPropertiesIfNecessary(k){return k.forEach(P=>this.assertTypeRefGraph(P.typeRef)),this.canonicalOrder&&(k=(0,t.mapSortByKey)(k)),this._allPropertiesOptional&&(k=(0,t.mapMap)(k,P=>this.makeClassProperty(P.typeRef,!0))),k}getClassType(k,P,m){return P=this.modifyPropertiesIfNecessary(P),this.getOrAddType(()=>(0,n.classTypeIdentity)(k,P),C=>new n.ClassType(C,this.typeGraph,!1,P),k,m)}getUniqueClassType(k,P,m,C){return m=(0,t.definedMap)(m,J=>this.modifyPropertiesIfNecessary(J)),this.addType(C,J=>new n.ClassType(J,this.typeGraph,P,m),k)}getUnionType(k,P,m){return this.assertTypeRefSetGraph(P),this.getOrAddType(()=>(0,n.unionTypeIdentity)(k,P),C=>new n.UnionType(C,this.typeGraph,P),k,m)}getUniqueUnionType(k,P,m){return this.assertTypeRefSetGraph(P),this.addType(m,C=>new n.UnionType(C,this.typeGraph,P),k)}getIntersectionType(k,P,m){return this.assertTypeRefSetGraph(P),this.getOrAddType(()=>(0,n.intersectionTypeIdentity)(k,P),C=>new n.IntersectionType(C,this.typeGraph,P),k,m)}getUniqueIntersectionType(k,P,m){return this.assertTypeRefSetGraph(P),this.addType(m,C=>new n.IntersectionType(C,this.typeGraph,P),k)}setSetOperationMembers(k,P){this.assertTypeRefSetGraph(P);const m=(0,i.derefTypeRef)(k,this.typeGraph);if(!(m instanceof n.UnionType||m instanceof n.IntersectionType))return(0,u.panic)("Tried to set members of non-set-operation type");m.setMembers(P),this.registerType(m)}setLostTypeAttributes(){}}e.TypeBuilder=O}(Gd)),Gd}var a0;function Sr(){if(a0)return ir;a0=1,Object.defineProperty(ir,"__esModule",{value:!0}),ir.inferTransformedStringTypeKindForString=ir.stringTypesTypeAttributeKind=ir.StringTypes=void 0;const e=He,t=yt,n=Ie,i=Vo();let r=class Dr{static fromCase(C,J){return new Dr(new Map([[C,J]]),new Set)}static fromCases(C){for(const J of C);return new Dr(new Map(C.map(J=>[J,1])),new Set)}constructor(C,J){this.cases=C,this.transformations=J,C===void 0&&(0,n.assert)(J.size===0,"We can't have an unrestricted string that also allows transformations")}get isRestricted(){return this.cases!==void 0}union(C,J){if(this.cases===void 0)return this;const x=new Map(this.cases),G=new Set(this.transformations);for(let K=J;K<C.length;K++){const U=C[K];if(U.cases===void 0)return U;(0,e.mapMergeWithInto)(x,(R,A)=>R+A,U.cases),(0,e.setUnionInto)(G,U.transformations)}return new Dr(x,G)}intersect(C,J){let x=this.cases,G=this.transformations;for(let K=J;K<C.length;K++){const U=C[K];if(x===void 0)x=(0,e.definedMap)(U.cases,R=>new Map(R));else if(U.cases!==void 0){const R=x,A=U.cases,b=(0,e.setIntersect)(R.keys(),new Set(A.keys())),_=b.size>0?b.entries():new Set(R.keys()).entries();x=(0,e.mapMap)(_,L=>{var g;const p=(0,n.defined)(R.get(L)),a=(g=A.get(L))!==null&&g!==void 0?g:Math.min();return Math.min(p,a)})}G=(0,e.setIntersect)(G,U.transformations)}return new Dr(x,G)}applyStringTypeMapping(C){if(!this.isRestricted)return this;const J=new Set;for(const x of this.transformations){const G=(0,i.stringTypeMappingGet)(C,x);if(G==="string")return Dr.unrestricted;J.add(G)}return new Dr(this.cases,new Set(J))}equals(C){return C instanceof Dr?(0,e.areEqual)(this.cases,C.cases)&&(0,e.areEqual)(this.transformations,C.transformations):!1}hashCode(){let C=(0,e.hashCodeOf)(this.cases);return C=(0,e.addHashCode)(C,(0,e.hashCodeOf)(this.transformations)),C}toString(){const C=[],J=this.cases;if(J===void 0)C.push("unrestricted");else{const x=(0,e.iterableFirst)(J.keys());x===void 0?C.push("enum with no cases"):C.push(`${J.size.toString()} enums: ${x} (${J.get(x)}), ...`)}return C.concat(Array.from(this.transformations)).join(",")}};ir.StringTypes=r,r.unrestricted=new r(void 0,new Set);class u extends t.TypeAttributeKind{constructor(){super("stringTypes")}get inIdentity(){return!0}requiresUniqueIdentity(C){return C.cases!==void 0&&C.cases.size>0}combine(C){return(0,n.assert)(C.length>0),C[0].union(C,1)}intersect(C){return(0,n.assert)(C.length>0),C[0].intersect(C,1)}makeInferred(C){}stringify(C){return C.toString()}}ir.stringTypesTypeAttributeKind=new u;const l=/^(0|-?[1-9]\d*)$/,d=1<<31,y=-(d+1);function T(m){if(m.match(l)===null)return!1;const C=parseInt(m,10);return C>=d&&C<=y}const S=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function O(m){return m.match(S)!==null}const I=/^(https?|ftp):\/\/[^{}]+$/;function k(m){return m.match(I)!==null}function P(m,C){if(!(m.length===0||"0123456789-abcdefth".indexOf(m[0])<0)){if(C.isDate(m))return"date";if(C.isTime(m))return"time";if(C.isDateTime(m))return"date-time";if(T(m))return"integer-string";if(m==="false"||m==="true")return"bool-string";if(O(m))return"uuid";if(k(m))return"uri"}}return ir.inferTransformedStringTypeKindForString=P,ir}var l0;function ot(){if(l0)return rt;l0=1,Object.defineProperty(rt,"__esModule",{value:!0}),rt.matchCompoundType=rt.matchType=rt.matchTypeExhaustive=rt.stringTypesForType=rt.directlyReachableSingleNamedType=rt.directlyReachableTypes=rt.separateNamedTypes=rt.isNamedType=rt.getNullAsOptional=rt.nonNullTypeCases=rt.nullableFromUnion=rt.removeNullFromType=rt.removeNullFromUnion=rt.isAnyOrNull=rt.combineTypeAttributesOfTypes=rt.makeGroupsToFlatten=rt.setOperationMembersRecursively=rt.assertIsClass=rt.assertIsObject=void 0;const e=He,t=Ie,n=yt,i=lt(),r=Sr();function u(b){return b instanceof i.ObjectType?b:(0,t.panic)("Supposed object type is not an object type")}rt.assertIsObject=u;function l(b){return b instanceof i.ClassType?b:(0,t.panic)("Supposed class type is not a class type")}rt.assertIsClass=l;function d(b,_){const L=Array.isArray(b)?b:[b],g=L[0].kind,p=g!=="intersection",a=new Set,o=new Set;let f=n.emptyTypeAttributes;function h(w){if(w.kind===g){const N=w;if(a.has(N))return;a.add(N),_!==void 0&&(f=(0,n.combineTypeAttributes)(_,f,w.getAttributes()));for(const F of N.members)h(F)}else p||w.kind!=="any"?o.add(w):_!==void 0&&(f=(0,n.combineTypeAttributes)(_,f,w.getAttributes()))}for(const w of L)h(w);return[o,f]}rt.setOperationMembersRecursively=d;function y(b,_){const L=new e.EqualityMap;for(const g of b){const p=new Set(d(g,void 0)[0]);if(_!==void 0&&!_(p))continue;let a=L.get(p);a===void 0&&(a=new Set,p.size===1&&a.add((0,t.defined)((0,e.iterableFirst)(p)))),a.add(g),L.set(p,a)}return Array.from(L.values()).map(g=>Array.from(g))}rt.makeGroupsToFlatten=y;function T(b,_){return(0,n.combineTypeAttributes)(b,Array.from(_).map(L=>L.getAttributes()))}rt.combineTypeAttributesOfTypes=T;function S(b){return b.kind==="any"||b.kind==="null"}rt.isAnyOrNull=S;function O(b,_=!1){function L(p){return _===!1?p:_===!0?(0,e.setSortBy)(p,a=>a.kind):(0,e.setSortBy)(p,_)}const g=b.findMember("null");return g===void 0?[null,L(b.members)]:[g,L((0,e.setFilter)(b.members,p=>p.kind!=="null"))]}rt.removeNullFromUnion=O;function I(b){return b.kind==="null"?[b,new Set]:b instanceof i.UnionType?O(b):[null,new Set([b])]}rt.removeNullFromType=I;function k(b){const[_,L]=O(b);return _===null||L.size!==1?null:(0,t.defined)((0,e.iterableFirst)(L))}rt.nullableFromUnion=k;function P(b){return I(b)[1]}rt.nonNullTypeCases=P;function m(b){const[_,L]=I(b.type);return b.isOptional?[!0,L]:[_!==null,L]}rt.getNullAsOptional=m;function C(b){return["class","union","enum","object"].indexOf(b.kind)>=0}rt.isNamedType=C;function J(b){const _=(0,e.setFilter)(b,p=>p.kind==="object"||p.kind==="class"),L=(0,e.setFilter)(b,p=>p instanceof i.EnumType),g=(0,e.setFilter)(b,p=>p instanceof i.UnionType);return{objects:_,enums:L,unions:g}}rt.separateNamedTypes=J;function x(b,_){const L=_(b);return L!==null?L:(0,e.setUnion)(...Array.from(b.getNonAttributeChildren()).map(g=>x(g,_)))}rt.directlyReachableTypes=x;function G(b){const _=x(b,L=>!(L instanceof i.UnionType)&&C(L)||L instanceof i.UnionType&&k(L)===null?new Set([L]):null);return(0,t.assert)(_.size<=1,"Cannot have more than one defined type per top-level"),(0,e.iterableFirst)(_)}rt.directlyReachableSingleNamedType=G;function K(b){(0,t.assert)(b.kind==="string","Only strings can have string types");const _=r.stringTypesTypeAttributeKind.tryGetInAttributes(b.getAttributes());return _===void 0?(0,t.panic)("All strings must have a string type attribute"):_}rt.stringTypesForType=K;function U(b,_,L,g,p,a,o,f,h,w,N,F,B,W,Q){if(b.isPrimitive()){if((0,i.isPrimitiveStringTypeKind)(b.kind))return b.kind==="string"?f(b):Q(b);const z=b.kind,E={none:_,any:L,null:g,bool:p,integer:a,double:o}[z];return E!==void 0?E(b):(0,t.assertNever)(E)}else{if(b instanceof i.ArrayType)return h(b);if(b instanceof i.ClassType)return w(b);if(b instanceof i.MapType)return N(b);if(b instanceof i.ObjectType)return F(b);if(b instanceof i.EnumType)return B(b);if(b instanceof i.UnionType)return W(b)}return(0,t.panic)(`Unknown type ${b.kind}`)}rt.matchTypeExhaustive=U;function R(b,_,L,g,p,a,o,f,h,w,N,F,B){function W(Q){return(0,t.panic)(`Unsupported type ${Q.kind} in non-exhaustive match`)}return U(b,W,_,L,g,p,a,o,f,h,w,W,N,F,B||W)}rt.matchType=R;function A(b,_,L,g,p,a){function o(f){}return U(b,o,o,o,o,o,o,o,_,L,g,p,o,a,o)}return rt.matchCompoundType=A,rt}var hi={},u0;function y2(){if(u0)return hi;u0=1,Object.defineProperty(hi,"__esModule",{value:!0}),hi.GraphRewriteBuilder=hi.GraphRemapBuilder=hi.BaseGraphRewriteBuilder=hi.TypeReconstituter=void 0;const e=He,t=ot(),n=vi(),i=yt,r=Ie,u=Vo();class l{constructor(O,I,k,P,m){this._typeBuilder=O,this._makeClassUnique=I,this._typeAttributes=k,this._forwardingRef=P,this._register=m,this._wasUsed=!1,this._typeRef=void 0}builderForNewType(){return(0,r.assert)(!this._wasUsed,"TypeReconstituter used more than once"),this._wasUsed=!0,this._typeBuilder}builderForSetting(){return(0,r.assert)(this._wasUsed&&this._typeRef!==void 0,"Can't set type members before constructing a type"),this._typeBuilder}getResult(){return this._typeRef===void 0?(0,r.panic)("Type was not reconstituted"):this._typeRef}register(O){(0,r.assert)(this._typeRef===void 0,"Cannot register a type twice"),this._typeRef=O,this._register(O)}registerAndAddAttributes(O){this._typeBuilder.addAttributes(O,this._typeAttributes),this.register(O)}lookup(O){if((0,r.assert)(!this._wasUsed,"Cannot lookup constituents after building type"),(0,n.isTypeRef)(O))return this._typeBuilder.lookupTypeRefs([O],void 0,!1);{const I=Array.from(O).map(k=>this._typeBuilder.lookupTypeRefs([k],void 0,!1));return I.some(k=>k===void 0)?void 0:I}}lookupMap(O){const I=this.lookup(O.values());if(I===void 0)return;(0,r.assert)(I.length===O.size,"Didn't get back the correct number of types");const k=new Map;let P=0;for(const m of O.keys())k.set(m,I[P]),P+=1;return k}reconstitute(O){return(0,r.assert)(this._wasUsed,"Cannot reconstitute constituents before building type"),(0,n.isTypeRef)(O)?this._typeBuilder.reconstituteTypeRef(O):Array.from(O).map(I=>this._typeBuilder.reconstituteTypeRef(I))}reconstituteMap(O){return(0,e.mapMap)(O,I=>this._typeBuilder.reconstituteTypeRef(I))}getPrimitiveType(O){this.register(this.builderForNewType().getPrimitiveType(O,this._typeAttributes,this._forwardingRef))}getEnumType(O){this.register(this.builderForNewType().getEnumType(this._typeAttributes,O,this._forwardingRef))}getUniqueMapType(){this.registerAndAddAttributes(this.builderForNewType().getUniqueMapType(this._forwardingRef))}getMapType(O){this.register(this.builderForNewType().getMapType(this._typeAttributes,O,this._forwardingRef))}getUniqueArrayType(){this.registerAndAddAttributes(this.builderForNewType().getUniqueArrayType(this._forwardingRef))}getArrayType(O){this.register(this.builderForNewType().getArrayType(this._typeAttributes,O,this._forwardingRef))}setArrayItems(O){this.builderForSetting().setArrayItems(this.getResult(),O)}makeClassProperty(O,I){return this._typeBuilder.makeClassProperty(O,I)}getObjectType(O,I){this.register(this.builderForNewType().getUniqueObjectType(this._typeAttributes,O,I,this._forwardingRef))}getUniqueObjectType(O,I){this.register(this.builderForNewType().getUniqueObjectType(this._typeAttributes,O,I,this._forwardingRef))}getClassType(O){if(this._makeClassUnique){this.getUniqueClassType(!1,O);return}this.register(this.builderForNewType().getClassType(this._typeAttributes,O,this._forwardingRef))}getUniqueClassType(O,I){this.register(this.builderForNewType().getUniqueClassType(this._typeAttributes,O,I,this._forwardingRef))}setObjectProperties(O,I){this.builderForSetting().setObjectProperties(this.getResult(),O,I)}getUnionType(O){this.register(this.builderForNewType().getUnionType(this._typeAttributes,O,this._forwardingRef))}getUniqueUnionType(){this.register(this.builderForNewType().getUniqueUnionType(this._typeAttributes,void 0,this._forwardingRef))}getIntersectionType(O){this.register(this.builderForNewType().getIntersectionType(this._typeAttributes,O,this._forwardingRef))}getUniqueIntersectionType(O){this.register(this.builderForNewType().getUniqueIntersectionType(this._typeAttributes,O,this._forwardingRef))}setSetOperationMembers(O){this.builderForSetting().setSetOperationMembers(this.getResult(),O)}}hi.TypeReconstituter=l;class d extends u.TypeBuilder{constructor(O,I,k,P,m){super(O.serial+1,I,k,!1,!1,P),this.originalGraph=O,this.debugPrint=m,this.reconstitutedTypes=new Map,this._lostTypeAttributes=!1,this._printIndent=0}withForwardingRef(O,I){if(O!==void 0)return I(O);const k=this.reserveTypeRef(),P=I(k);return(0,r.assert)(P===k,"Type creator didn't return its forwarding ref"),P}reconstituteType(O,I,k){return this.reconstituteTypeRef(O.typeRef,I,k)}reconstituteTypeRef(O,I,k){const P=this.lookupTypeRefs([O],k);return P!==void 0?(I!==void 0&&this.addAttributes(P,I),P):this.forceReconstituteTypeRef(O,I,k)}reconstituteTypeAttributes(O){return(0,e.mapMap)(O,(I,k)=>k.reconstitute(this,I))}assertTypeRefsToReconstitute(O,I){(0,r.assert)(O.length>0,"Must have at least one type to reconstitute");for(const k of O)(0,n.assertTypeRefGraph)(k,this.originalGraph);I!==void 0&&(0,n.assertTypeRefGraph)(I,this.typeGraph)}changeDebugPrintIndent(O){this._printIndent+=O}get debugPrintIndentation(){return(0,r.indentationString)(this._printIndent)}finish(){for(const[O,I]of this.originalGraph.topLevels)this.addTopLevel(O,this.reconstituteType(I));return super.finish()}setLostTypeAttributes(){this._lostTypeAttributes=!0}get lostTypeAttributes(){return this._lostTypeAttributes}}hi.BaseGraphRewriteBuilder=d;class y extends d{constructor(O,I,k,P,m,C){super(O,I,k,P,C),this._map=m,this._attributeSources=new Map;for(const[J,x]of m){let G=this._attributeSources.get(x);G===void 0&&(G=[x],this._attributeSources.set(x,G)),G.push(J)}}makeIdentity(O){}getMapTarget(O){const I=this._map.get((0,n.derefTypeRef)(O,this.originalGraph));return I===void 0?O:((0,r.assert)(this._map.get(I)===void 0,"We have a type that's remapped to a remapped type"),I.typeRef)}addForwardingIntersection(O,I){return(0,r.panic)("We can't add forwarding intersections when we're removing forwarding intersections")}lookupTypeRefs(O,I){(0,r.assert)(I===void 0,"We can't have a forwarding ref when we remap"),this.assertTypeRefsToReconstitute(O,I);const k=this.reconstitutedTypes.get((0,n.typeRefIndex)(this.getMapTarget(O[0])));if(k!==void 0){for(let P=1;P<O.length;P++){const m=this.reconstitutedTypes.get((0,n.typeRefIndex)(this.getMapTarget(O[P])));if(k!==m)return}return k}}forceReconstituteTypeRef(O,I,k){O=this.getMapTarget(O);const P=(0,n.typeRefIndex)(O);return(0,r.assert)(this.reconstitutedTypes.get(P)===void 0,"Type has already been reconstituted"),(0,r.assert)(k===void 0,"We can't have a forwarding ref when we remap"),this.withForwardingRef(void 0,m=>{this.reconstitutedTypes.set(P,m),this.debugPrint&&(console.log(`${this.debugPrintIndentation}reconstituting ${P} as ${(0,n.typeRefIndex)(m)}`),this.changeDebugPrintIndent(1));const[C,J]=(0,n.typeAndAttributesForTypeRef)(O,this.originalGraph),x=this._attributeSources.get(C);I===void 0&&(I=i.emptyTypeAttributes),x===void 0?I=(0,i.combineTypeAttributes)("union",I,this.reconstituteTypeAttributes(J)):I=(0,i.combineTypeAttributes)("union",I,this.reconstituteTypeAttributes((0,t.combineTypeAttributesOfTypes)("union",x)));const G=I,K=new l(this,this.canonicalOrder,G,m,U=>{(0,r.assert)(U===m,"Reconstituted type as a different ref"),this.debugPrint&&(this.changeDebugPrintIndent(-1),console.log(`${this.debugPrintIndentation}reconstituted ${P} as ${(0,n.typeRefIndex)(U)}`))});return C.reconstitute(K,this.canonicalOrder),K.getResult()})}}hi.GraphRemapBuilder=y;class T extends d{constructor(O,I,k,P,m,C,J){super(O,I,k,P,C),this._replacer=J,this._reconstitutedUnions=new e.EqualityMap,this._setsToReplaceByMember=new Map;for(const x of m){const G=new Set(x);for(const K of G){const U=K.index;(0,r.assert)(!this._setsToReplaceByMember.has(U),"A type is member of more than one set to be replaced"),this._setsToReplaceByMember.set(U,G)}}}registerUnion(O,I){const k=new Set(O);(0,r.assert)(!this._reconstitutedUnions.has(k),"Cannot register reconstituted set twice"),this._reconstitutedUnions.set(k,I)}replaceSet(O,I){return this.withForwardingRef(I,k=>{this.debugPrint&&(console.log(`${this.debugPrintIndentation}replacing set ${Array.from(O).map(m=>m.index.toString()).join(",")} as ${(0,n.typeRefIndex)(k)}`),this.changeDebugPrintIndent(1));for(const m of O){const C=m.typeRef,J=(0,n.typeRefIndex)(C);this.reconstitutedTypes.set(J,k),this._setsToReplaceByMember.delete(J)}const P=this._replacer(O,this,k);return(0,r.assert)(P===k,"The forwarding ref got lost when replacing"),this.debugPrint&&(this.changeDebugPrintIndent(-1),console.log(`${this.debugPrintIndentation}replaced set ${Array.from(O).map(m=>m.index.toString()).join(",")} as ${(0,n.typeRefIndex)(k)}`)),P})}forceReconstituteTypeRef(O,I,k){const[P,m]=(0,n.typeAndAttributesForTypeRef)(O,this.originalGraph),C=(0,n.typeRefIndex)(O);this.debugPrint&&(console.log(`${this.debugPrintIndentation}reconstituting ${C}`),this.changeDebugPrintIndent(1)),I===void 0?I=this.reconstituteTypeAttributes(m):I=(0,i.combineTypeAttributes)("union",I,this.reconstituteTypeAttributes(m));const J=new l(this,this.canonicalOrder,I,k,x=>{this.debugPrint&&(this.changeDebugPrintIndent(-1),console.log(`${this.debugPrintIndentation}reconstituted ${C} as ${(0,n.typeRefIndex)(x)}`)),k!==void 0&&(0,r.assert)(x===k,"We didn't pass the forwarding ref");const G=this.reconstitutedTypes.get(C);G===void 0?this.reconstitutedTypes.set(C,x):(0,r.assert)(x===G,"We reconstituted a type twice differently")});return P.reconstitute(J,this.canonicalOrder),J.getResult()}lookupTypeRefs(O,I,k=!0){this.assertTypeRefsToReconstitute(O,I);let P=this.reconstitutedTypes.get((0,n.typeRefIndex)(O[0]));if(P!==void 0&&P!==I){let C=!0;for(let J=1;J<O.length;J++)if(this.reconstitutedTypes.get((0,n.typeRefIndex)(O[J]))!==P){C=!1;break}if(C)return this.forwardIfNecessary(I,P)}if(P=this._reconstitutedUnions.get(new Set(O)),P!==void 0&&P!==I)return this.forwardIfNecessary(I,P);const m=this._setsToReplaceByMember.get((0,n.typeRefIndex)(O[0]));if(m!==void 0){for(let C=1;C<O.length;C++)if(this._setsToReplaceByMember.get((0,n.typeRefIndex)(O[C]))!==m)return;if(k)return this.replaceSet(m,I)}}}return hi.GraphRewriteBuilder=T,hi}var sl={};Object.defineProperty(sl,"__esModule",{value:!0});sl.Graph=void 0;const g2=He,rn=Ie;function Mv(e){if(e.length===0)return 0;let t=-1,n=0;for(const i of e){(0,rn.assert)(i.length>0,"Empty component not allowed");for(const r of i)(0,rn.assert)(r>=0,"Negative vertex index is invalid"),t=Math.max(t,r),n+=1}return(0,rn.assert)(t+1===n,"Vertex indexes and count don't match up"),n}function b2(e){let t=0;const n=[],i=e.length,r=(0,rn.repeated)(i,-1),u=(0,rn.repeated)(i,-1),l=(0,rn.repeated)(i,!1),d=[];function y(T){r[T]=t,u[T]=t,t+=1,n.push(T),l[T]=!0;for(const S of e[T])r[S]<0?(y(S),u[T]=Math.min(u[T],u[S])):l[S]&&(u[T]=Math.min(u[T],r[S]));if(u[T]===r[T]){const S=[];let O;do O=(0,rn.defined)(n.pop()),l[O]=!1,S.push(O);while(O!==T);d.push(S)}}for(let T=0;T<i;T++)r[T]<0&&y(T);return(0,rn.assert)(Mv(d)===i,"We didn't put all the nodes into SCCs"),d}function T2(e,t){const n=t.length,i=e.length;(0,rn.assert)(i===Mv(t),"Components don't match up with graph");const r=(0,rn.repeated)(i,-1);for(let u=0;u<n;u++)for(const l of t[u])(0,rn.assert)(r[l]<0,"We have a node that's in two components"),r[l]=u;return r}function S2(e,t){const n=t.length,i=T2(e,t),r=(0,rn.repeated)(n,!1),u=[];for(let l=0;l<n;l++){const d=[];for(const y of t[l])for(const T of e[y]){const S=i[T];S===l||r[S]||(d.push(S),r[S]=!0)}for(const y of d)(0,rn.assert)(r[y]),r[y]=!1;u.push(d)}return u}function v2(e){const t=e.length,n=(0,rn.repeatedCall)(t,()=>[]);for(let i=0;i<t;i++)for(const r of e[i])n[r].push(i);return n}function w2(e){const t=e.length,n=(0,rn.repeated)(t,0);for(const i of e)for(const r of i)n[r]+=1;return n}function _2(e){const t=e.length,n=w2(e),i=[];for(let r=0;r<t;r++)n[r]===0&&i.push(r);return i}class Bp{constructor(t,n,i){this._nodes=Array.from(t),this._indexByNode=new Map(this._nodes.map((u,l)=>[u,l]));let r;Array.isArray(i)?r=i:r=this._nodes.map(u=>Array.from(i(u)).map(l=>(0,rn.defined)(this._indexByNode.get(l)))),n&&(r=v2(r)),this._successors=r}get size(){return this._nodes.length}get nodes(){return this._nodes}findRoots(){const t=_2(this._successors);return new Set(t.map(n=>this._nodes[n]))}dfsTraversal(t,n,i){const r=(0,rn.repeated)(this.size,!1),u=l=>{if(!r[l]){r[l]=!0,n&&i(this._nodes[l]);for(const d of this._successors[l])u(d);n||i(this._nodes[l])}};u((0,rn.defined)(this._indexByNode.get(t)))}stronglyConnectedComponents(){const t=b2(this._successors),n=S2(this._successors,t);return new Bp(t.map(i=>(0,g2.setMap)(i,r=>this._nodes[r])),!1,n)}makeDot(t,n){const i=[];i.push("digraph G {"),i.push(" ordering = out;"),i.push("");for(let r=0;r<this.size;r++){const u=this._nodes[r];t(u)&&i.push(` node${r} [label="${n(u)}"];`)}for(let r=0;r<this.size;r++)if(t(this._nodes[r]))for(const u of this._successors[r])t(this._nodes[u])&&i.push(` node${r} -> node${u};`);return i.push("}"),i.push(""),i.join(`
|
|
139
|
+
`)}}sl.Graph=Bp;var c0;function vi(){if(c0)return _t;c0=1,Object.defineProperty(_t,"__esModule",{value:!0}),_t.removeIndirectionIntersections=_t.optionalToNullable=_t.noneToAny=_t.TypeGraph=_t.TypeAttributeStoreView=_t.TypeAttributeStore=_t.typeAndAttributesForTypeRef=_t.attributesForTypeRef=_t.derefTypeRef=_t.assertTypeRefGraph=_t.typeRefIndex=_t.makeTypeRef=_t.isTypeRef=void 0;const e=He,t=lt(),n=ot(),i=Ie,r=Vo(),u=y2(),l=mr,d=sl,y=yt,T=Kt,S=26,O=(1<<S)-1,k=(1<<31-S)-1;function P(p){return typeof p=="number"}_t.isTypeRef=P;function m(p,a){return(0,i.assert)(a<=O,"Too many types in graph"),(p.serial&k)<<S|a}_t.makeTypeRef=m;function C(p){return p&O}_t.typeRefIndex=C;function J(p,a){(0,i.assert)((p>>S&k)===(a.serial&k),"Mixing the wrong type reference and graph")}_t.assertTypeRefGraph=J;function x(p){return p instanceof b?p:p.originalGraph}function G(p,a){const o=x(a);return J(p,o),o.typeAtIndex(C(p))}_t.derefTypeRef=G;function K(p,a){const o=x(a);return J(p,o),o.atIndex(C(p))[1]}_t.attributesForTypeRef=K;function U(p,a){const o=x(a);return J(p,o),o.atIndex(C(p))}_t.typeAndAttributesForTypeRef=U;class R{constructor(a,o){this._typeGraph=a,this._values=o,this._topLevelValues=new Map}getTypeIndex(a){const o=a.typeRef;return J(o,this._typeGraph),C(o)}attributesForType(a){const o=this.getTypeIndex(a),f=this._values[o];return f!==void 0?f:y.emptyTypeAttributes}attributesForTopLevel(a){const o=this._topLevelValues.get(a);return o!==void 0?o:y.emptyTypeAttributes}setInMap(a,o,f){return new Map(a).set(o,f)}set(a,o,f){const h=this.getTypeIndex(o);for(;h>=this._values.length;)this._values.push(void 0);this._values[h]=this.setInMap(this.attributesForType(o),a,f)}setForTopLevel(a,o,f){this._topLevelValues.set(o,this.setInMap(this.attributesForTopLevel(o),a,f))}tryGetInMap(a,o){return a.get(o)}tryGet(a,o){return this.tryGetInMap(this.attributesForType(o),a)}tryGetForTopLevel(a,o){return this.tryGetInMap(this.attributesForTopLevel(o),a)}}_t.TypeAttributeStore=R;class A{constructor(a,o){this._attributeStore=a,this._definition=o}set(a,o){this._attributeStore.set(this._definition,a,o)}setForTopLevel(a,o){this._attributeStore.setForTopLevel(this._definition,a,o)}tryGet(a){return this._attributeStore.tryGet(this._definition,a)}get(a){return(0,i.defined)(this.tryGet(a))}tryGetForTopLevel(a){return this._attributeStore.tryGetForTopLevel(this._definition,a)}getForTopLevel(a){return(0,i.defined)(this.tryGetForTopLevel(a))}}_t.TypeAttributeStoreView=A;let b=class{constructor(a,o,f){this.serial=o,this._haveProvenanceAttributes=f,this._attributeStore=void 0,this._topLevels=new Map,this._parents=void 0,this._printOnRewrite=!1,this._typeBuilder=a}get isFrozen(){return this._typeBuilder===void 0}get attributeStore(){return(0,i.defined)(this._attributeStore)}freeze(a,o,f){(0,i.assert)(!this.isFrozen,"Tried to freeze TypeGraph a second time");for(const h of o)J(h.typeRef,this);this._attributeStore=new R(this,f),this._types=o,this._typeBuilder=void 0,this._topLevels=(0,e.mapMap)(a,h=>G(h,this))}get topLevels(){return(0,i.assert)(this.isFrozen,"Cannot get top-levels from a non-frozen graph"),this._topLevels}typeAtIndex(a){return this._typeBuilder!==void 0?this._typeBuilder.typeAtIndex(a):(0,i.defined)(this._types)[a]}atIndex(a){if(this._typeBuilder!==void 0)return this._typeBuilder.atIndex(a);const o=this.typeAtIndex(a);return[o,(0,i.defined)(this._attributeStore).attributesForType(o)]}filterTypes(a){const o=new Set;let f=[];function h(w){if(o.has(w))return;o.add(w),(a===void 0||a(w))&&f.push(w);for(const F of w.getChildren())h(F)}for(const[,w]of this.topLevels)h(w);return new Set(f)}allNamedTypes(){return this.filterTypes(n.isNamedType)}allNamedTypesSeparated(){const a=this.allNamedTypes();return(0,n.separateNamedTypes)(a)}allProvenance(){(0,i.assert)(this._haveProvenanceAttributes);const a=new A(this.attributeStore,r.provenanceTypeAttributeKind),o=Array.from(this.allTypesUnordered()).map(h=>{const w=a.tryGet(h);return w!==void 0?w:new Set}),f=new Set;return(0,e.setUnionManyInto)(f,o),f}setPrintOnRewrite(){this._printOnRewrite=!0}checkLostTypeAttributes(a,o){if(!this._haveProvenanceAttributes||a.lostTypeAttributes)return;const f=this.allProvenance(),h=o.allProvenance();if(f.size!==h.size){const w=(0,e.setSubtract)(f,h),N=Array.from(w);return(0,T.messageError)("IRTypeAttributesNotPropagated",{count:w.size,indexes:N})}}printRewrite(a){this._printOnRewrite&&console.log(`
|
|
140
|
+
# ${a}`)}rewrite(a,o,f,h,w,N,F=!1){if(this.printRewrite(a),!F&&h.length===0)return this;const B=new u.GraphRewriteBuilder(this,o,f,this._haveProvenanceAttributes,h,w,N),W=B.finish();return this.checkLostTypeAttributes(B,W),this._printOnRewrite&&(W.setPrintOnRewrite(),W.printGraph()),B.didAddForwardingIntersection?g(W,o,w):W}remap(a,o,f,h,w,N=!1){if(this.printRewrite(a),!N&&h.size===0)return this;const F=new u.GraphRemapBuilder(this,o,f,this._haveProvenanceAttributes,h,w),B=F.finish();return this.checkLostTypeAttributes(F,B),this._printOnRewrite&&(B.setPrintOnRewrite(),B.printGraph()),(0,i.assert)(!F.didAddForwardingIntersection),B}garbageCollect(a,o){return this.remap("GC",(0,r.getNoStringTypeMapping)(),a,new Map,o,!0)}rewriteFixedPoint(a,o){let f=this;for(;;){const h=this.rewrite("fixed-point",(0,r.getNoStringTypeMapping)(),a,[],o,i.mustNotHappen,!0);if(f.allTypesUnordered().size===h.allTypesUnordered().size)return f;f=h}}allTypesUnordered(){return(0,i.assert)(this.isFrozen,"Tried to get all graph types before it was frozen"),new Set((0,i.defined)(this._types))}makeGraph(a,o){return new d.Graph((0,i.defined)(this._types),a,o)}getParentsOfType(a){if(J(a.typeRef,this),this._parents===void 0){const o=(0,i.defined)(this._types).map(f=>new Set);for(const f of this.allTypesUnordered())for(const h of f.getChildren()){const w=h.index;o[w]=o[w].add(f)}this._parents=o}return this._parents[a.index]}printGraph(){const a=(0,i.defined)(this._types);for(let o=0;o<a.length;o++){const f=a[o],h=[];h.push(`${f.debugPrintKind}${f.hasNames?` ${f.getCombinedName()}`:""}`);const w=f.getChildren();w.size>0&&h.push(`children ${Array.from(w).map(N=>N.index).join(",")}`);for(const[N,F]of f.getAttributes()){const B=N.stringify(F);B!==void 0&&h.push(B)}console.log(`${o}: ${h.join(" | ")}`)}}};_t.TypeGraph=b;function _(p,a,o){const f=(0,e.setFilter)(p.allTypesUnordered(),h=>h.kind==="none");return f.size===0?p:((0,i.assert)(f.size===1,"Cannot have more than one none type"),p.rewrite("none to any",a,!1,[Array.from(f)],o,(h,w,N)=>{const F=(0,n.combineTypeAttributesOfTypes)("union",h);return w.getPrimitiveType("any",F,N)}))}_t.noneToAny=_;function L(p,a,o){function f(N,F,B){const W=(0,e.mapMap)(N.getProperties(),(Q,z)=>{const E=Q.type;let j;if(!Q.isOptional||E.isNullable)j=F.reconstituteType(E);else{const X=F.getPrimitiveType("null");let te;E instanceof t.UnionType?te=(0,e.setMap)(E.members,ne=>F.reconstituteType(ne)).add(X):te=new Set([F.reconstituteType(E),X]);const $=l.namesTypeAttributeKind.setDefaultInAttributes(E.getAttributes(),()=>l.TypeNames.make(new Set([z]),new Set,!0));j=F.getUnionType($,te)}return F.makeClassProperty(j,Q.isOptional)});return N.isFixed?F.getUniqueClassType(N.getAttributes(),!0,W,B):F.getClassType(N.getAttributes(),W,B)}const h=(0,e.setFilter)(p.allTypesUnordered(),N=>N instanceof t.ClassType&&(0,e.mapSome)(N.getProperties(),F=>F.isOptional)),w=Array.from(h).map(N=>[N]);return h.size===0?p:p.rewrite("optional to nullable",a,!1,w,o,(N,F,B)=>{(0,i.assert)(N.size===1);const W=(0,i.defined)((0,e.iterableFirst)(N));return f(W,F,B)})}_t.optionalToNullable=L;function g(p,a,o){const f=[];for(const h of p.allTypesUnordered()){if(!(h instanceof t.IntersectionType))continue;const w=new Set([h]);let N=h;for(;N.members.size===1;){const F=(0,i.defined)((0,e.iterableFirst)(N.members));if(!(F instanceof t.IntersectionType)){f.push([h,F]);break}if(w.has(F))return(0,i.panic)("There's a cycle of intersection types");w.add(F),N=F}}return p.remap("remove indirection intersections",a,!1,new Map(f),o)}return _t.removeIndirectionIntersections=g,_t}var bc={},jv={exports:{}},Ea={exports:{}};/*! https://mths.be/punycode v1.4.0 by @mathias */Ea.exports;var f0;function L2(){return f0||(f0=1,function(e,t){(function(n){var i=t&&!t.nodeType&&t,r=e&&!e.nodeType&&e,u=typeof Fe=="object"&&Fe;(u.global===u||u.window===u||u.self===u)&&(n=u);var l,d=2147483647,y=36,T=1,S=26,O=38,I=700,k=72,P=128,m="-",C=/^xn--/,J=/[^\x20-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,G={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},K=y-T,U=Math.floor,R=String.fromCharCode,A;function b(B){throw new RangeError(G[B])}function _(B,W){for(var Q=B.length,z=[];Q--;)z[Q]=W(B[Q]);return z}function L(B,W){var Q=B.split("@"),z="";Q.length>1&&(z=Q[0]+"@",B=Q[1]),B=B.replace(x,".");var E=B.split("."),j=_(E,W).join(".");return z+j}function g(B){for(var W=[],Q=0,z=B.length,E,j;Q<z;)E=B.charCodeAt(Q++),E>=55296&&E<=56319&&Q<z?(j=B.charCodeAt(Q++),(j&64512)==56320?W.push(((E&1023)<<10)+(j&1023)+65536):(W.push(E),Q--)):W.push(E);return W}function p(B){return _(B,function(W){var Q="";return W>65535&&(W-=65536,Q+=R(W>>>10&1023|55296),W=56320|W&1023),Q+=R(W),Q}).join("")}function a(B){return B-48<10?B-22:B-65<26?B-65:B-97<26?B-97:y}function o(B,W){return B+22+75*(B<26)-((W!=0)<<5)}function f(B,W,Q){var z=0;for(B=Q?U(B/I):B>>1,B+=U(B/W);B>K*S>>1;z+=y)B=U(B/K);return U(z+(K+1)*B/(B+O))}function h(B){var W=[],Q=B.length,z,E=0,j=P,X=k,te,$,ne,ce,Te,Ne,le,fe,_e;for(te=B.lastIndexOf(m),te<0&&(te=0),$=0;$<te;++$)B.charCodeAt($)>=128&&b("not-basic"),W.push(B.charCodeAt($));for(ne=te>0?te+1:0;ne<Q;){for(ce=E,Te=1,Ne=y;ne>=Q&&b("invalid-input"),le=a(B.charCodeAt(ne++)),(le>=y||le>U((d-E)/Te))&&b("overflow"),E+=le*Te,fe=Ne<=X?T:Ne>=X+S?S:Ne-X,!(le<fe);Ne+=y)_e=y-fe,Te>U(d/_e)&&b("overflow"),Te*=_e;z=W.length+1,X=f(E-ce,z,ce==0),U(E/z)>d-j&&b("overflow"),j+=U(E/z),E%=z,W.splice(E++,0,j)}return p(W)}function w(B){var W,Q,z,E,j,X,te,$,ne,ce,Te,Ne=[],le,fe,_e,Y;for(B=g(B),le=B.length,W=P,Q=0,j=k,X=0;X<le;++X)Te=B[X],Te<128&&Ne.push(R(Te));for(z=E=Ne.length,E&&Ne.push(m);z<le;){for(te=d,X=0;X<le;++X)Te=B[X],Te>=W&&Te<te&&(te=Te);for(fe=z+1,te-W>U((d-Q)/fe)&&b("overflow"),Q+=(te-W)*fe,W=te,X=0;X<le;++X)if(Te=B[X],Te<W&&++Q>d&&b("overflow"),Te==W){for($=Q,ne=y;ce=ne<=j?T:ne>=j+S?S:ne-j,!($<ce);ne+=y)Y=$-ce,_e=y-ce,Ne.push(R(o(ce+Y%_e,0))),$=U(Y/_e);Ne.push(R(o($,0))),j=f(Q,fe,z==E),Q=0,++z}++Q,++W}return Ne.join("")}function N(B){return L(B,function(W){return C.test(W)?h(W.slice(4).toLowerCase()):W})}function F(B){return L(B,function(W){return J.test(W)?"xn--"+w(W):W})}if(l={version:"1.3.2",ucs2:{decode:g,encode:p},decode:h,encode:w,toASCII:F,toUnicode:N},i&&r)if(e.exports==i)r.exports=l;else for(A in l)l.hasOwnProperty(A)&&(i[A]=l[A]);else n.punycode=l})(Fe)}(Ea,Ea.exports)),Ea.exports}var qd={exports:{}};/*!
|
|
141
|
+
* URI.js - Mutating URLs
|
|
142
|
+
* IPv6 Support
|
|
143
|
+
*
|
|
144
|
+
* Version: 1.19.11
|
|
145
|
+
*
|
|
146
|
+
* Author: Rodney Rehm
|
|
147
|
+
* Web: http://medialize.github.io/URI.js/
|
|
148
|
+
*
|
|
149
|
+
* Licensed under
|
|
150
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
|
151
|
+
*
|
|
152
|
+
*/var d0;function N2(){return d0||(d0=1,function(e){(function(t,n){e.exports?e.exports=n():t.IPv6=n(t)})(Fe,function(t){var n=t&&t.IPv6;function i(u){var l=u.toLowerCase(),d=l.split(":"),y=d.length,T=8;d[0]===""&&d[1]===""&&d[2]===""?(d.shift(),d.shift()):d[0]===""&&d[1]===""?d.shift():d[y-1]===""&&d[y-2]===""&&d.pop(),y=d.length,d[y-1].indexOf(".")!==-1&&(T=7);var S;for(S=0;S<y&&d[S]!=="";S++);if(S<T)for(d.splice(S,1,"0000");d.length<T;)d.splice(S,0,"0000");for(var O,I=0;I<T;I++){O=d[I].split("");for(var k=0;k<3&&(O[0]==="0"&&O.length>1);k++)O.splice(0,1);d[I]=O.join("")}var P=-1,m=0,C=0,J=-1,x=!1;for(I=0;I<T;I++)x?d[I]==="0"?C+=1:(x=!1,C>m&&(P=J,m=C)):d[I]==="0"&&(x=!0,J=I,C=1);C>m&&(P=J,m=C),m>1&&d.splice(P,m,""),y=d.length;var G="";for(d[0]===""&&(G=":"),I=0;I<y&&(G+=d[I],I!==y-1);I++)G+=":";return d[y-1]===""&&(G+=":"),G}function r(){return t.IPv6===this&&(t.IPv6=n),this}return{best:i,noConflict:r}})}(qd)),qd.exports}var Hd={exports:{}};/*!
|
|
153
|
+
* URI.js - Mutating URLs
|
|
154
|
+
* Second Level Domain (SLD) Support
|
|
155
|
+
*
|
|
156
|
+
* Version: 1.19.11
|
|
157
|
+
*
|
|
158
|
+
* Author: Rodney Rehm
|
|
159
|
+
* Web: http://medialize.github.io/URI.js/
|
|
160
|
+
*
|
|
161
|
+
* Licensed under
|
|
162
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
|
163
|
+
*
|
|
164
|
+
*/var h0;function k2(){return h0||(h0=1,function(e){(function(t,n){e.exports?e.exports=n():t.SecondLevelDomains=n(t)})(Fe,function(t){var n=t&&t.SecondLevelDomains,i={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(r){var u=r.lastIndexOf(".");if(u<=0||u>=r.length-1)return!1;var l=r.lastIndexOf(".",u-1);if(l<=0||l>=u-1)return!1;var d=i.list[r.slice(u+1)];return d?d.indexOf(" "+r.slice(l+1,u)+" ")>=0:!1},is:function(r){var u=r.lastIndexOf(".");if(u<=0||u>=r.length-1)return!1;var l=r.lastIndexOf(".",u-1);if(l>=0)return!1;var d=i.list[r.slice(u+1)];return d?d.indexOf(" "+r.slice(0,u)+" ")>=0:!1},get:function(r){var u=r.lastIndexOf(".");if(u<=0||u>=r.length-1)return null;var l=r.lastIndexOf(".",u-1);if(l<=0||l>=u-1)return null;var d=i.list[r.slice(u+1)];return!d||d.indexOf(" "+r.slice(l+1,u)+" ")<0?null:r.slice(l+1)},noConflict:function(){return t.SecondLevelDomains===this&&(t.SecondLevelDomains=n),this}};return i})}(Hd)),Hd.exports}/*!
|
|
165
|
+
* URI.js - Mutating URLs
|
|
166
|
+
*
|
|
167
|
+
* Version: 1.19.11
|
|
168
|
+
*
|
|
169
|
+
* Author: Rodney Rehm
|
|
170
|
+
* Web: http://medialize.github.io/URI.js/
|
|
171
|
+
*
|
|
172
|
+
* Licensed under
|
|
173
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
|
174
|
+
*
|
|
175
|
+
*/(function(e){(function(t,n){e.exports?e.exports=n(L2(),N2(),k2()):t.URI=n(t.punycode,t.IPv6,t.SecondLevelDomains,t)})(Fe,function(t,n,i,r){var u=r&&r.URI;function l(a,o){var f=arguments.length>=1,h=arguments.length>=2;if(!(this instanceof l))return f?h?new l(a,o):new l(a):new l;if(a===void 0){if(f)throw new TypeError("undefined is not a valid argument for URI");typeof location<"u"?a=location.href+"":a=""}if(a===null&&f)throw new TypeError("null is not a valid argument for URI");return this.href(a),o!==void 0?this.absoluteTo(o):this}function d(a){return/^[0-9]+$/.test(a)}l.version="1.19.11";var y=l.prototype,T=Object.prototype.hasOwnProperty;function S(a){return a.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function O(a){return a===void 0?"Undefined":String(Object.prototype.toString.call(a)).slice(8,-1)}function I(a){return O(a)==="Array"}function k(a,o){var f={},h,w;if(O(o)==="RegExp")f=null;else if(I(o))for(h=0,w=o.length;h<w;h++)f[o[h]]=!0;else f[o]=!0;for(h=0,w=a.length;h<w;h++){var N=f&&f[a[h]]!==void 0||!f&&o.test(a[h]);N&&(a.splice(h,1),w--,h--)}return a}function P(a,o){var f,h;if(I(o)){for(f=0,h=o.length;f<h;f++)if(!P(a,o[f]))return!1;return!0}var w=O(o);for(f=0,h=a.length;f<h;f++)if(w==="RegExp"){if(typeof a[f]=="string"&&a[f].match(o))return!0}else if(a[f]===o)return!0;return!1}function m(a,o){if(!I(a)||!I(o)||a.length!==o.length)return!1;a.sort(),o.sort();for(var f=0,h=a.length;f<h;f++)if(a[f]!==o[f])return!1;return!0}function C(a){var o=/^\/+|\/+$/g;return a.replace(o,"")}l._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:l.preventInvalidHostname,duplicateQueryParameters:l.duplicateQueryParameters,escapeQuerySpace:l.escapeQuerySpace}},l.preventInvalidHostname=!1,l.duplicateQueryParameters=!1,l.escapeQuerySpace=!0,l.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,l.idn_expression=/[^a-z0-9\._-]/i,l.punycode_expression=/(xn--)/i,l.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,l.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,l.find_uri_expression=/\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/ig,l.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},l.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,l.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,l.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},l.hostProtocols=["http","https"],l.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,l.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},l.getDomAttribute=function(a){if(!(!a||!a.nodeName)){var o=a.nodeName.toLowerCase();if(!(o==="input"&&a.type!=="image"))return l.domAttributes[o]}};function J(a){return escape(a)}function x(a){return encodeURIComponent(a).replace(/[!'()*]/g,J).replace(/\*/g,"%2A")}l.encode=x,l.decode=decodeURIComponent,l.iso8859=function(){l.encode=escape,l.decode=unescape},l.unicode=function(){l.encode=x,l.decode=decodeURIComponent},l.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/ig,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/ig,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/ig,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},l.encodeQuery=function(a,o){var f=l.encode(a+"");return o===void 0&&(o=l.escapeQuerySpace),o?f.replace(/%20/g,"+"):f},l.decodeQuery=function(a,o){a+="",o===void 0&&(o=l.escapeQuerySpace);try{return l.decode(o?a.replace(/\+/g,"%20"):a)}catch{return a}};var G={encode:"encode",decode:"decode"},K,U=function(a,o){return function(f){try{return l[o](f+"").replace(l.characters[a][o].expression,function(h){return l.characters[a][o].map[h]})}catch{return f}}};for(K in G)l[K+"PathSegment"]=U("pathname",G[K]),l[K+"UrnPathSegment"]=U("urnpath",G[K]);var R=function(a,o,f){return function(h){var w;f?w=function(W){return l[o](l[f](W))}:w=l[o];for(var N=(h+"").split(a),F=0,B=N.length;F<B;F++)N[F]=w(N[F]);return N.join(a)}};l.decodePath=R("/","decodePathSegment"),l.decodeUrnPath=R(":","decodeUrnPathSegment"),l.recodePath=R("/","encodePathSegment","decode"),l.recodeUrnPath=R(":","encodeUrnPathSegment","decode"),l.encodeReserved=U("reserved","encode"),l.parse=function(a,o){var f;return o||(o={preventInvalidHostname:l.preventInvalidHostname}),a=a.replace(l.leading_whitespace_expression,""),a=a.replace(l.ascii_tab_whitespace,""),f=a.indexOf("#"),f>-1&&(o.fragment=a.substring(f+1)||null,a=a.substring(0,f)),f=a.indexOf("?"),f>-1&&(o.query=a.substring(f+1)||null,a=a.substring(0,f)),a=a.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://"),a=a.replace(/^[/\\]{2,}/i,"//"),a.substring(0,2)==="//"?(o.protocol=null,a=a.substring(2),a=l.parseAuthority(a,o)):(f=a.indexOf(":"),f>-1&&(o.protocol=a.substring(0,f)||null,o.protocol&&!o.protocol.match(l.protocol_expression)?o.protocol=void 0:a.substring(f+1,f+3).replace(/\\/g,"/")==="//"?(a=a.substring(f+3),a=l.parseAuthority(a,o)):(a=a.substring(f+1),o.urn=!0))),o.path=a,o},l.parseHost=function(a,o){a||(a=""),a=a.replace(/\\/g,"/");var f=a.indexOf("/"),h,w;if(f===-1&&(f=a.length),a.charAt(0)==="[")h=a.indexOf("]"),o.hostname=a.substring(1,h)||null,o.port=a.substring(h+2,f)||null,o.port==="/"&&(o.port=null);else{var N=a.indexOf(":"),F=a.indexOf("/"),B=a.indexOf(":",N+1);B!==-1&&(F===-1||B<F)?(o.hostname=a.substring(0,f)||null,o.port=null):(w=a.substring(0,f).split(":"),o.hostname=w[0]||null,o.port=w[1]||null)}return o.hostname&&a.substring(f).charAt(0)!=="/"&&(f++,a="/"+a),o.preventInvalidHostname&&l.ensureValidHostname(o.hostname,o.protocol),o.port&&l.ensureValidPort(o.port),a.substring(f)||"/"},l.parseAuthority=function(a,o){return a=l.parseUserinfo(a,o),l.parseHost(a,o)},l.parseUserinfo=function(a,o){var f=a,h=a.indexOf("\\");h!==-1&&(a=a.replace(/\\/g,"/"));var w=a.indexOf("/"),N=a.lastIndexOf("@",w>-1?w:a.length-1),F;return N>-1&&(w===-1||N<w)?(F=a.substring(0,N).split(":"),o.username=F[0]?l.decode(F[0]):null,F.shift(),o.password=F[0]?l.decode(F.join(":")):null,a=f.substring(N+1)):(o.username=null,o.password=null),a},l.parseQuery=function(a,o){if(!a)return{};if(a=a.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,""),!a)return{};for(var f={},h=a.split("&"),w=h.length,N,F,B,W=0;W<w;W++)N=h[W].split("="),F=l.decodeQuery(N.shift(),o),B=N.length?l.decodeQuery(N.join("="),o):null,F!=="__proto__"&&(T.call(f,F)?((typeof f[F]=="string"||f[F]===null)&&(f[F]=[f[F]]),f[F].push(B)):f[F]=B);return f},l.build=function(a){var o="",f=!1;return a.protocol&&(o+=a.protocol+":"),!a.urn&&(o||a.hostname)&&(o+="//",f=!0),o+=l.buildAuthority(a)||"",typeof a.path=="string"&&(a.path.charAt(0)!=="/"&&f&&(o+="/"),o+=a.path),typeof a.query=="string"&&a.query&&(o+="?"+a.query),typeof a.fragment=="string"&&a.fragment&&(o+="#"+a.fragment),o},l.buildHost=function(a){var o="";if(a.hostname)l.ip6_expression.test(a.hostname)?o+="["+a.hostname+"]":o+=a.hostname;else return"";return a.port&&(o+=":"+a.port),o},l.buildAuthority=function(a){return l.buildUserinfo(a)+l.buildHost(a)},l.buildUserinfo=function(a){var o="";return a.username&&(o+=l.encode(a.username)),a.password&&(o+=":"+l.encode(a.password)),o&&(o+="@"),o},l.buildQuery=function(a,o,f){var h="",w,N,F,B;for(N in a)if(N!=="__proto__"&&T.call(a,N))if(I(a[N]))for(w={},F=0,B=a[N].length;F<B;F++)a[N][F]!==void 0&&w[a[N][F]+""]===void 0&&(h+="&"+l.buildQueryParameter(N,a[N][F],f),o!==!0&&(w[a[N][F]+""]=!0));else a[N]!==void 0&&(h+="&"+l.buildQueryParameter(N,a[N],f));return h.substring(1)},l.buildQueryParameter=function(a,o,f){return l.encodeQuery(a,f)+(o!==null?"="+l.encodeQuery(o,f):"")},l.addQuery=function(a,o,f){if(typeof o=="object")for(var h in o)T.call(o,h)&&l.addQuery(a,h,o[h]);else if(typeof o=="string"){if(a[o]===void 0){a[o]=f;return}else typeof a[o]=="string"&&(a[o]=[a[o]]);I(f)||(f=[f]),a[o]=(a[o]||[]).concat(f)}else throw new TypeError("URI.addQuery() accepts an object, string as the name parameter")},l.setQuery=function(a,o,f){if(typeof o=="object")for(var h in o)T.call(o,h)&&l.setQuery(a,h,o[h]);else if(typeof o=="string")a[o]=f===void 0?null:f;else throw new TypeError("URI.setQuery() accepts an object, string as the name parameter")},l.removeQuery=function(a,o,f){var h,w,N;if(I(o))for(h=0,w=o.length;h<w;h++)a[o[h]]=void 0;else if(O(o)==="RegExp")for(N in a)o.test(N)&&(a[N]=void 0);else if(typeof o=="object")for(N in o)T.call(o,N)&&l.removeQuery(a,N,o[N]);else if(typeof o=="string")f!==void 0?O(f)==="RegExp"?!I(a[o])&&f.test(a[o])?a[o]=void 0:a[o]=k(a[o],f):a[o]===String(f)&&(!I(f)||f.length===1)?a[o]=void 0:I(a[o])&&(a[o]=k(a[o],f)):a[o]=void 0;else throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter")},l.hasQuery=function(a,o,f,h){switch(O(o)){case"String":break;case"RegExp":for(var w in a)if(T.call(a,w)&&o.test(w)&&(f===void 0||l.hasQuery(a,w,f)))return!0;return!1;case"Object":for(var N in o)if(T.call(o,N)&&!l.hasQuery(a,N,o[N]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(O(f)){case"Undefined":return o in a;case"Boolean":var F=!!(I(a[o])?a[o].length:a[o]);return f===F;case"Function":return!!f(a[o],o,a);case"Array":if(!I(a[o]))return!1;var B=h?P:m;return B(a[o],f);case"RegExp":return I(a[o])?h?P(a[o],f):!1:!!(a[o]&&a[o].match(f));case"Number":f=String(f);case"String":return I(a[o])?h?P(a[o],f):!1:a[o]===f;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},l.joinPaths=function(){for(var a=[],o=[],f=0,h=0;h<arguments.length;h++){var w=new l(arguments[h]);a.push(w);for(var N=w.segment(),F=0;F<N.length;F++)typeof N[F]=="string"&&o.push(N[F]),N[F]&&f++}if(!o.length||!f)return new l("");var B=new l("").segment(o);return(a[0].path()===""||a[0].path().slice(0,1)==="/")&&B.path("/"+B.path()),B.normalize()},l.commonPath=function(a,o){var f=Math.min(a.length,o.length),h;for(h=0;h<f;h++)if(a.charAt(h)!==o.charAt(h)){h--;break}return h<1?a.charAt(0)===o.charAt(0)&&a.charAt(0)==="/"?"/":"":((a.charAt(h)!=="/"||o.charAt(h)!=="/")&&(h=a.substring(0,h).lastIndexOf("/")),a.substring(0,h+1))},l.withinString=function(a,o,f){f||(f={});var h=f.start||l.findUri.start,w=f.end||l.findUri.end,N=f.trim||l.findUri.trim,F=f.parens||l.findUri.parens,B=/[a-z0-9-]=["']?$/i;for(h.lastIndex=0;;){var W=h.exec(a);if(!W)break;var Q=W.index;if(f.ignoreHtml){var z=a.slice(Math.max(Q-3,0),Q);if(z&&B.test(z))continue}for(var E=Q+a.slice(Q).search(w),j=a.slice(Q,E),X=-1;;){var te=F.exec(j);if(!te)break;var $=te.index+te[0].length;X=Math.max(X,$)}if(X>-1?j=j.slice(0,X)+j.slice(X).replace(N,""):j=j.replace(N,""),!(j.length<=W[0].length)&&!(f.ignore&&f.ignore.test(j))){E=Q+j.length;var ne=o(j,Q,E,a);if(ne===void 0){h.lastIndex=E;continue}ne=String(ne),a=a.slice(0,Q)+ne+a.slice(E),h.lastIndex=Q+ne.length}}return h.lastIndex=0,a},l.ensureValidHostname=function(a,o){var f=!!a,h=!!o,w=!1;if(h&&(w=P(l.hostProtocols,o)),w&&!f)throw new TypeError("Hostname cannot be empty, if protocol is "+o);if(a&&a.match(l.invalid_hostname_characters)){if(!t)throw new TypeError('Hostname "'+a+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(t.toASCII(a).match(l.invalid_hostname_characters))throw new TypeError('Hostname "'+a+'" contains characters other than [A-Z0-9.-:_]')}},l.ensureValidPort=function(a){if(a){var o=Number(a);if(!(d(o)&&o>0&&o<65536))throw new TypeError('Port "'+a+'" is not a valid port')}},l.noConflict=function(a){if(a){var o={URI:this.noConflict()};return r.URITemplate&&typeof r.URITemplate.noConflict=="function"&&(o.URITemplate=r.URITemplate.noConflict()),r.IPv6&&typeof r.IPv6.noConflict=="function"&&(o.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&typeof r.SecondLevelDomains.noConflict=="function"&&(o.SecondLevelDomains=r.SecondLevelDomains.noConflict()),o}else r.URI===this&&(r.URI=u);return this},y.build=function(a){return a===!0?this._deferred_build=!0:(a===void 0||this._deferred_build)&&(this._string=l.build(this._parts),this._deferred_build=!1),this},y.clone=function(){return new l(this)},y.valueOf=y.toString=function(){return this.build(!1)._string};function A(a){return function(o,f){return o===void 0?this._parts[a]||"":(this._parts[a]=o||null,this.build(!f),this)}}function b(a,o){return function(f,h){return f===void 0?this._parts[a]||"":(f!==null&&(f=f+"",f.charAt(0)===o&&(f=f.substring(1))),this._parts[a]=f,this.build(!h),this)}}y.protocol=A("protocol"),y.username=A("username"),y.password=A("password"),y.hostname=A("hostname"),y.port=A("port"),y.query=b("query","?"),y.fragment=b("fragment","#"),y.search=function(a,o){var f=this.query(a,o);return typeof f=="string"&&f.length?"?"+f:f},y.hash=function(a,o){var f=this.fragment(a,o);return typeof f=="string"&&f.length?"#"+f:f},y.pathname=function(a,o){if(a===void 0||a===!0){var f=this._parts.path||(this._parts.hostname?"/":"");return a?(this._parts.urn?l.decodeUrnPath:l.decodePath)(f):f}else return this._parts.urn?this._parts.path=a?l.recodeUrnPath(a):"":this._parts.path=a?l.recodePath(a):"/",this.build(!o),this},y.path=y.pathname,y.href=function(a,o){var f;if(a===void 0)return this.toString();this._string="",this._parts=l._parts();var h=a instanceof l,w=typeof a=="object"&&(a.hostname||a.path||a.pathname);if(a.nodeName){var N=l.getDomAttribute(a);a=a[N]||"",w=!1}if(!h&&w&&a.pathname!==void 0&&(a=a.toString()),typeof a=="string"||a instanceof String)this._parts=l.parse(String(a),this._parts);else if(h||w){var F=h?a._parts:a;for(f in F)f!=="query"&&T.call(this._parts,f)&&(this._parts[f]=F[f]);F.query&&this.query(F.query,!1)}else throw new TypeError("invalid input");return this.build(!o),this},y.is=function(a){var o=!1,f=!1,h=!1,w=!1,N=!1,F=!1,B=!1,W=!this._parts.urn;switch(this._parts.hostname&&(W=!1,f=l.ip4_expression.test(this._parts.hostname),h=l.ip6_expression.test(this._parts.hostname),o=f||h,w=!o,N=w&&i&&i.has(this._parts.hostname),F=w&&l.idn_expression.test(this._parts.hostname),B=w&&l.punycode_expression.test(this._parts.hostname)),a.toLowerCase()){case"relative":return W;case"absolute":return!W;case"domain":case"name":return w;case"sld":return N;case"ip":return o;case"ip4":case"ipv4":case"inet4":return f;case"ip6":case"ipv6":case"inet6":return h;case"idn":return F;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return B}return null};var _=y.protocol,L=y.port,g=y.hostname;y.protocol=function(a,o){if(a&&(a=a.replace(/:(\/\/)?$/,""),!a.match(l.protocol_expression)))throw new TypeError('Protocol "'+a+`" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]`);return _.call(this,a,o)},y.scheme=y.protocol,y.port=function(a,o){return this._parts.urn?a===void 0?"":this:(a!==void 0&&(a===0&&(a=null),a&&(a+="",a.charAt(0)===":"&&(a=a.substring(1)),l.ensureValidPort(a))),L.call(this,a,o))},y.hostname=function(a,o){if(this._parts.urn)return a===void 0?"":this;if(a!==void 0){var f={preventInvalidHostname:this._parts.preventInvalidHostname},h=l.parseHost(a,f);if(h!=="/")throw new TypeError('Hostname "'+a+'" contains characters other than [A-Z0-9.-]');a=f.hostname,this._parts.preventInvalidHostname&&l.ensureValidHostname(a,this._parts.protocol)}return g.call(this,a,o)},y.origin=function(a,o){if(this._parts.urn)return a===void 0?"":this;if(a===void 0){var f=this.protocol(),h=this.authority();return h?(f?f+"://":"")+this.authority():""}else{var w=l(a);return this.protocol(w.protocol()).authority(w.authority()).build(!o),this}},y.host=function(a,o){if(this._parts.urn)return a===void 0?"":this;if(a===void 0)return this._parts.hostname?l.buildHost(this._parts):"";var f=l.parseHost(a,this._parts);if(f!=="/")throw new TypeError('Hostname "'+a+'" contains characters other than [A-Z0-9.-]');return this.build(!o),this},y.authority=function(a,o){if(this._parts.urn)return a===void 0?"":this;if(a===void 0)return this._parts.hostname?l.buildAuthority(this._parts):"";var f=l.parseAuthority(a,this._parts);if(f!=="/")throw new TypeError('Hostname "'+a+'" contains characters other than [A-Z0-9.-]');return this.build(!o),this},y.userinfo=function(a,o){if(this._parts.urn)return a===void 0?"":this;if(a===void 0){var f=l.buildUserinfo(this._parts);return f&&f.substring(0,f.length-1)}else return a[a.length-1]!=="@"&&(a+="@"),l.parseUserinfo(a,this._parts),this.build(!o),this},y.resource=function(a,o){var f;return a===void 0?this.path()+this.search()+this.hash():(f=l.parse(a),this._parts.path=f.path,this._parts.query=f.query,this._parts.fragment=f.fragment,this.build(!o),this)},y.subdomain=function(a,o){if(this._parts.urn)return a===void 0?"":this;if(a===void 0){if(!this._parts.hostname||this.is("IP"))return"";var f=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,f)||""}else{var h=this._parts.hostname.length-this.domain().length,w=this._parts.hostname.substring(0,h),N=new RegExp("^"+S(w));if(a&&a.charAt(a.length-1)!=="."&&(a+="."),a.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");return a&&l.ensureValidHostname(a,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(N,a),this.build(!o),this}},y.domain=function(a,o){if(this._parts.urn)return a===void 0?"":this;if(typeof a=="boolean"&&(o=a,a=void 0),a===void 0){if(!this._parts.hostname||this.is("IP"))return"";var f=this._parts.hostname.match(/\./g);if(f&&f.length<2)return this._parts.hostname;var h=this._parts.hostname.length-this.tld(o).length-1;return h=this._parts.hostname.lastIndexOf(".",h-1)+1,this._parts.hostname.substring(h)||""}else{if(!a)throw new TypeError("cannot set domain empty");if(a.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");if(l.ensureValidHostname(a,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=a;else{var w=new RegExp(S(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(w,a)}return this.build(!o),this}},y.tld=function(a,o){if(this._parts.urn)return a===void 0?"":this;if(typeof a=="boolean"&&(o=a,a=void 0),a===void 0){if(!this._parts.hostname||this.is("IP"))return"";var f=this._parts.hostname.lastIndexOf("."),h=this._parts.hostname.substring(f+1);return o!==!0&&i&&i.list[h.toLowerCase()]&&i.get(this._parts.hostname)||h}else{var w;if(a)if(a.match(/[^a-zA-Z0-9-]/))if(i&&i.is(a))w=new RegExp(S(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(w,a);else throw new TypeError('TLD "'+a+'" contains characters other than [A-Z0-9]');else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");w=new RegExp(S(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(w,a)}else throw new TypeError("cannot set TLD empty");return this.build(!o),this}},y.directory=function(a,o){if(this._parts.urn)return a===void 0?"":this;if(a===void 0||a===!0){if(!this._parts.path&&!this._parts.hostname)return"";if(this._parts.path==="/")return"/";var f=this._parts.path.length-this.filename().length-1,h=this._parts.path.substring(0,f)||(this._parts.hostname?"/":"");return a?l.decodePath(h):h}else{var w=this._parts.path.length-this.filename().length,N=this._parts.path.substring(0,w),F=new RegExp("^"+S(N));return this.is("relative")||(a||(a="/"),a.charAt(0)!=="/"&&(a="/"+a)),a&&a.charAt(a.length-1)!=="/"&&(a+="/"),a=l.recodePath(a),this._parts.path=this._parts.path.replace(F,a),this.build(!o),this}},y.filename=function(a,o){if(this._parts.urn)return a===void 0?"":this;if(typeof a!="string"){if(!this._parts.path||this._parts.path==="/")return"";var f=this._parts.path.lastIndexOf("/"),h=this._parts.path.substring(f+1);return a?l.decodePathSegment(h):h}else{var w=!1;a.charAt(0)==="/"&&(a=a.substring(1)),a.match(/\.?\//)&&(w=!0);var N=new RegExp(S(this.filename())+"$");return a=l.recodePath(a),this._parts.path=this._parts.path.replace(N,a),w?this.normalizePath(o):this.build(!o),this}},y.suffix=function(a,o){if(this._parts.urn)return a===void 0?"":this;if(a===void 0||a===!0){if(!this._parts.path||this._parts.path==="/")return"";var f=this.filename(),h=f.lastIndexOf("."),w,N;return h===-1?"":(w=f.substring(h+1),N=/^[a-z0-9%]+$/i.test(w)?w:"",a?l.decodePathSegment(N):N)}else{a.charAt(0)==="."&&(a=a.substring(1));var F=this.suffix(),B;if(F)a?B=new RegExp(S(F)+"$"):B=new RegExp(S("."+F)+"$");else{if(!a)return this;this._parts.path+="."+l.recodePath(a)}return B&&(a=l.recodePath(a),this._parts.path=this._parts.path.replace(B,a)),this.build(!o),this}},y.segment=function(a,o,f){var h=this._parts.urn?":":"/",w=this.path(),N=w.substring(0,1)==="/",F=w.split(h);if(a!==void 0&&typeof a!="number"&&(f=o,o=a,a=void 0),a!==void 0&&typeof a!="number")throw new Error('Bad segment "'+a+'", must be 0-based integer');if(N&&F.shift(),a<0&&(a=Math.max(F.length+a,0)),o===void 0)return a===void 0?F:F[a];if(a===null||F[a]===void 0)if(I(o)){F=[];for(var B=0,W=o.length;B<W;B++)!o[B].length&&(!F.length||!F[F.length-1].length)||(F.length&&!F[F.length-1].length&&F.pop(),F.push(C(o[B])))}else(o||typeof o=="string")&&(o=C(o),F[F.length-1]===""?F[F.length-1]=o:F.push(o));else o?F[a]=C(o):F.splice(a,1);return N&&F.unshift(""),this.path(F.join(h),f)},y.segmentCoded=function(a,o,f){var h,w,N;if(typeof a!="number"&&(f=o,o=a,a=void 0),o===void 0){if(h=this.segment(a,o,f),!I(h))h=h!==void 0?l.decode(h):void 0;else for(w=0,N=h.length;w<N;w++)h[w]=l.decode(h[w]);return h}if(!I(o))o=typeof o=="string"||o instanceof String?l.encode(o):o;else for(w=0,N=o.length;w<N;w++)o[w]=l.encode(o[w]);return this.segment(a,o,f)};var p=y.query;return y.query=function(a,o){if(a===!0)return l.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if(typeof a=="function"){var f=l.parseQuery(this._parts.query,this._parts.escapeQuerySpace),h=a.call(this,f);return this._parts.query=l.buildQuery(h||f,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!o),this}else return a!==void 0&&typeof a!="string"?(this._parts.query=l.buildQuery(a,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!o),this):p.call(this,a,o)},y.setQuery=function(a,o,f){var h=l.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if(typeof a=="string"||a instanceof String)h[a]=o!==void 0?o:null;else if(typeof a=="object")for(var w in a)T.call(a,w)&&(h[w]=a[w]);else throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");return this._parts.query=l.buildQuery(h,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),typeof a!="string"&&(f=o),this.build(!f),this},y.addQuery=function(a,o,f){var h=l.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return l.addQuery(h,a,o===void 0?null:o),this._parts.query=l.buildQuery(h,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),typeof a!="string"&&(f=o),this.build(!f),this},y.removeQuery=function(a,o,f){var h=l.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return l.removeQuery(h,a,o),this._parts.query=l.buildQuery(h,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),typeof a!="string"&&(f=o),this.build(!f),this},y.hasQuery=function(a,o,f){var h=l.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return l.hasQuery(h,a,o,f)},y.setSearch=y.setQuery,y.addSearch=y.addQuery,y.removeSearch=y.removeQuery,y.hasSearch=y.hasQuery,y.normalize=function(){return this._parts.urn?this.normalizeProtocol(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build():this.normalizeProtocol(!1).normalizeHostname(!1).normalizePort(!1).normalizePath(!1).normalizeQuery(!1).normalizeFragment(!1).build()},y.normalizeProtocol=function(a){return typeof this._parts.protocol=="string"&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!a)),this},y.normalizeHostname=function(a){return this._parts.hostname&&(this.is("IDN")&&t?this._parts.hostname=t.toASCII(this._parts.hostname):this.is("IPv6")&&n&&(this._parts.hostname=n.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!a)),this},y.normalizePort=function(a){return typeof this._parts.protocol=="string"&&this._parts.port===l.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!a)),this},y.normalizePath=function(a){var o=this._parts.path;if(!o)return this;if(this._parts.urn)return this._parts.path=l.recodeUrnPath(this._parts.path),this.build(!a),this;if(this._parts.path==="/")return this;o=l.recodePath(o);var f,h="",w,N;for(o.charAt(0)!=="/"&&(f=!0,o="/"+o),(o.slice(-3)==="/.."||o.slice(-2)==="/.")&&(o+="/"),o=o.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),f&&(h=o.substring(1).match(/^(\.\.\/)+/)||"",h&&(h=h[0]));w=o.search(/\/\.\.(\/|$)/),w!==-1;){if(w===0){o=o.substring(3);continue}N=o.substring(0,w).lastIndexOf("/"),N===-1&&(N=w),o=o.substring(0,N)+o.substring(w+3)}return f&&this.is("relative")&&(o=h+o.substring(1)),this._parts.path=o,this.build(!a),this},y.normalizePathname=y.normalizePath,y.normalizeQuery=function(a){return typeof this._parts.query=="string"&&(this._parts.query.length?this.query(l.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!a)),this},y.normalizeFragment=function(a){return this._parts.fragment||(this._parts.fragment=null,this.build(!a)),this},y.normalizeSearch=y.normalizeQuery,y.normalizeHash=y.normalizeFragment,y.iso8859=function(){var a=l.encode,o=l.decode;l.encode=escape,l.decode=decodeURIComponent;try{this.normalize()}finally{l.encode=a,l.decode=o}return this},y.unicode=function(){var a=l.encode,o=l.decode;l.encode=x,l.decode=unescape;try{this.normalize()}finally{l.encode=a,l.decode=o}return this},y.readable=function(){var a=this.clone();a.username("").password("").normalize();var o="";if(a._parts.protocol&&(o+=a._parts.protocol+"://"),a._parts.hostname&&(a.is("punycode")&&t?(o+=t.toUnicode(a._parts.hostname),a._parts.port&&(o+=":"+a._parts.port)):o+=a.host()),a._parts.hostname&&a._parts.path&&a._parts.path.charAt(0)!=="/"&&(o+="/"),o+=a.path(!0),a._parts.query){for(var f="",h=0,w=a._parts.query.split("&"),N=w.length;h<N;h++){var F=(w[h]||"").split("=");f+="&"+l.decodeQuery(F[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),F[1]!==void 0&&(f+="="+l.decodeQuery(F[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}o+="?"+f.substring(1)}return o+=l.decodeQuery(a.hash(),!0),o},y.absoluteTo=function(a){var o=this.clone(),f=["protocol","username","password","hostname","port"],h,w,N;if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(a instanceof l||(a=new l(a)),o._parts.protocol||(o._parts.protocol=a._parts.protocol,this._parts.hostname))return o;for(w=0;N=f[w];w++)o._parts[N]=a._parts[N];return o._parts.path?(o._parts.path.substring(-2)===".."&&(o._parts.path+="/"),o.path().charAt(0)!=="/"&&(h=a.directory(),h=h||(a.path().indexOf("/")===0?"/":""),o._parts.path=(h?h+"/":"")+o._parts.path,o.normalizePath())):(o._parts.path=a._parts.path,o._parts.query||(o._parts.query=a._parts.query)),o.build(),o},y.relativeTo=function(a){var o=this.clone().normalize(),f,h,w,N,F;if(o._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(a=new l(a).normalize(),f=o._parts,h=a._parts,N=o.path(),F=a.path(),N.charAt(0)!=="/")throw new Error("URI is already relative");if(F.charAt(0)!=="/")throw new Error("Cannot calculate a URI relative to another relative URI");if(f.protocol===h.protocol&&(f.protocol=null),f.username!==h.username||f.password!==h.password||f.protocol!==null||f.username!==null||f.password!==null)return o.build();if(f.hostname===h.hostname&&f.port===h.port)f.hostname=null,f.port=null;else return o.build();if(N===F)return f.path="",o.build();if(w=l.commonPath(N,F),!w)return o.build();var B=h.path.substring(w.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return f.path=B+f.path.substring(w.length)||"./",o.build()},y.equals=function(a){var o=this.clone(),f=new l(a),h={},w={},N={},F,B,W;if(o.normalize(),f.normalize(),o.toString()===f.toString())return!0;if(F=o.query(),B=f.query(),o.query(""),f.query(""),o.toString()!==f.toString()||F.length!==B.length)return!1;h=l.parseQuery(F,this._parts.escapeQuerySpace),w=l.parseQuery(B,this._parts.escapeQuerySpace);for(W in h)if(T.call(h,W)){if(I(h[W])){if(!m(h[W],w[W]))return!1}else if(h[W]!==w[W])return!1;N[W]=!0}for(W in w)if(T.call(w,W)&&!N[W])return!1;return!0},y.preventInvalidHostname=function(a){return this._parts.preventInvalidHostname=!!a,this},y.duplicateQueryParameters=function(a){return this._parts.duplicateQueryParameters=!!a,this},y.escapeQuerySpace=function(a){return this._parts.escapeQuerySpace=!!a,this},l})})(jv);var Bv=jv.exports;(function(e){var t=Fe&&Fe.__importDefault||function(k){return k&&k.__esModule?k:{default:k}};Object.defineProperty(e,"__esModule",{value:!0}),e.uriSchemaAttributesProducer=e.uriInferenceAttributesProducer=e.uriTypeAttributeKind=void 0;const n=t(Bv),i=yt,r=He,u=Ie,l="qt-uri-protocols",d="qt-uri-extensions";class y extends i.TypeAttributeKind{constructor(){super("uriAttributes")}get inIdentity(){return!0}combine(P){const m=P.map(J=>J[0]),C=P.map(J=>J[1]);return[(0,r.setUnionManyInto)(new Set,m),(0,r.setUnionManyInto)(new Set,C)]}makeInferred(P){}addToSchema(P,m,C){if(m.kind!=="string"&&m.kind!=="uri")return;const[J,x]=C;J.size>0&&(P[l]=Array.from(J).sort()),x.size>0&&(P[d]=Array.from(x).sort())}}e.uriTypeAttributeKind=new y;const T=/^.+(\.[^./\\]+)$/;function S(k){const P=k.match(T);if(P!==null)return P[1]}function O(k){try{const P=(0,n.default)(k),m=S(P.path()),C=m===void 0?[]:[m.toLowerCase()];return e.uriTypeAttributeKind.makeAttributes([new Set([P.protocol().toLowerCase()]),new Set(C)])}catch{return i.emptyTypeAttributes}}e.uriInferenceAttributesProducer=O;function I(k,P,m){if(typeof k!="object"||!m.has("string"))return;let C;const J=k[l];J!==void 0?C=new Set((0,u.checkArray)(J,u.checkString)):C=new Set;let x;const G=k[d];if(G!==void 0?x=new Set((0,u.checkArray)(G,u.checkString)):x=new Set,!(C.size===0&&x.size===0))return{forString:e.uriTypeAttributeKind.makeAttributes([C,x])}}e.uriSchemaAttributesProducer=I})(bc);var p0;function lt(){return p0||(p0=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.UnionType=e.IntersectionType=e.SetOperationType=e.intersectionTypeIdentity=e.unionTypeIdentity=e.setOperationTypeIdentity=e.setOperationCasesEqual=e.EnumType=e.enumTypeIdentity=e.MapType=e.ClassType=e.ObjectType=e.mapTypeIdentify=e.classTypeIdentity=e.ClassProperty=e.GenericClassProperty=e.ArrayType=e.arrayTypeIdentity=e.PrimitiveType=e.primitiveTypeIdentity=e.Type=e.TypeIdentity=e.isPrimitiveTypeKind=e.isNumberTypeKind=e.targetTypeKindForTransformedStringTypeKind=e.isPrimitiveStringTypeKind=e.transformedStringTypeKinds=e.transformedStringTypeTargetTypeKindsMap=void 0;const t=He,n=Ie,i=mr,r=Kt,u=vi(),d={date:{jsonSchema:"date",primitive:void 0},time:{jsonSchema:"time",primitive:void 0},"date-time":{jsonSchema:"date-time",primitive:void 0},uuid:{jsonSchema:"uuid",primitive:void 0},uri:{jsonSchema:"uri",primitive:void 0,attributesProducer:bc.uriInferenceAttributesProducer},"integer-string":{jsonSchema:"integer",primitive:"integer"},"bool-string":{jsonSchema:"boolean",primitive:"bool"}};e.transformedStringTypeTargetTypeKindsMap=(0,t.mapFromObject)(d),e.transformedStringTypeKinds=new Set(Object.getOwnPropertyNames(d));function y(Q){return Q==="string"||(0,t.hasOwnProperty)(d,Q)}e.isPrimitiveStringTypeKind=y;function T(Q){const z=e.transformedStringTypeTargetTypeKindsMap.get(Q);if(z!==void 0)return z.primitive}e.targetTypeKindForTransformedStringTypeKind=T;function S(Q){return Q==="integer"||Q==="double"}e.isNumberTypeKind=S;function O(Q){return y(Q)||S(Q)?!0:Q==="none"||Q==="any"||Q==="null"||Q==="bool"}e.isPrimitiveTypeKind=O;function I(Q,z){return Q.index===z.index||Q.kind==="none"||z.kind==="none"}class k{constructor(z,E){this._kind=z,this._components=E;let j=t.hashCodeInit;j=(0,t.addHashCode)(j,(0,t.hashCodeOf)(this._kind));for(const X of E)j=(0,t.addHashCode)(j,(0,t.hashCodeOf)(X));this._hashCode=j}equals(z){if(!(z instanceof k)||this._kind!==z._kind)return!1;const E=this._components.length;(0,n.assert)(E===z._components.length,"Components of a type kind's identity must have the same length");for(let j=0;j<E;j++)if(!(0,t.areEqual)(this._components[j],z._components[j]))return!1;return!0}hashCode(){return this._hashCode}}e.TypeIdentity=k;class P{constructor(z,E){this.typeRef=z,this.graph=E}get index(){return(0,u.typeRefIndex)(this.typeRef)}getChildren(){let z=this.getNonAttributeChildren();for(const[E,j]of this.getAttributes())E.children!==void 0&&(0,t.setUnionInto)(z,E.children(j));return z}getAttributes(){return(0,u.attributesForTypeRef)(this.typeRef,this.graph)}get hasNames(){return i.namesTypeAttributeKind.tryGetInAttributes(this.getAttributes())!==void 0}getNames(){return(0,n.defined)(i.namesTypeAttributeKind.tryGetInAttributes(this.getAttributes()))}getCombinedName(){return this.getNames().combinedName}get debugPrintKind(){return this.kind}equals(z){return z instanceof P?this.typeRef===z.typeRef:!1}hashCode(){return(0,t.hashCodeOf)(this.typeRef)}structurallyCompatible(z,E=!1){function j(ce,Te){return ce===Te?!0:E?ce==="integer"?Te==="double":ce==="double"?Te==="integer":!1:!1}if(I(this,z))return!0;if(!j(this.kind,z.kind))return!1;const X=[[this,z]],te=[];let $;const ne=(ce,Te)=>I(ce,Te)?!0:j(ce.kind,Te.kind)?(X.push([ce,Te]),!0):($=!0,!1);for(;X.length>0;){let[ce,Te]=(0,n.defined)(X.pop());if(ce.index>Te.index&&([ce,Te]=[Te,ce]),!ce.isPrimitive()){let Ne=ce.index,le=Te.index,fe=!1;for(const[_e,Y]of te)if(_e===Ne&&Y===le){fe=!0;break}if(fe)continue;te.push([Ne,le])}if($=!1,!ce.structuralEqualityStep(Te,E,ne)||$)return!1}return!0}getParentTypes(){return this.graph.getParentsOfType(this)}getAncestorsNotInSet(z){const E=[this],j=new Set,X=new Set;for(;;){const te=E.pop();if(te===void 0)break;const $=te.getParentTypes();console.log(`${$.size} parents`);for(const ne of $)j.has(ne)||(j.add(ne),z.has(ne.typeRef)?(console.log(`adding ${ne.kind}`),E.push(ne)):(console.log(`found ${ne.kind}`),X.add(ne)))}return X}}e.Type=P;function m(Q){return(0,t.mapSome)(Q,(z,E)=>E.requiresUniqueIdentity(z))}function C(Q){return(0,t.mapFilter)(Q,(z,E)=>E.inIdentity)}function J(Q,z){if(!m(z))return new k(Q,[C(z)])}e.primitiveTypeIdentity=J;class x extends P{constructor(z,E,j){super(z,E),this.kind=j}get isNullable(){return this.kind==="null"||this.kind==="any"||this.kind==="none"}isPrimitive(){return!0}getNonAttributeChildren(){return new Set}get identity(){return J(this.kind,this.getAttributes())}reconstitute(z){z.getPrimitiveType(this.kind)}structuralEqualityStep(z,E,j){return!0}}e.PrimitiveType=x;function G(Q,z){if(!m(Q))return new k("array",[C(Q),z])}e.arrayTypeIdentity=G;class K extends P{constructor(z,E,j){super(z,E),this._itemsRef=j,this.kind="array"}setItems(z){if(this._itemsRef!==void 0)return(0,n.panic)("Can only set array items once");this._itemsRef=z}getItemsRef(){return this._itemsRef===void 0?(0,n.panic)("Array items accessed before they were set"):this._itemsRef}get items(){return(0,u.derefTypeRef)(this.getItemsRef(),this.graph)}getNonAttributeChildren(){return new Set([this.items])}get isNullable(){return!1}isPrimitive(){return!1}get identity(){return G(this.getAttributes(),this.getItemsRef())}reconstitute(z){const E=this.getItemsRef(),j=z.lookup(E);j===void 0?(z.getUniqueArrayType(),z.setArrayItems(z.reconstitute(this.getItemsRef()))):z.getArrayType(j)}structuralEqualityStep(z,E,j){return j(this.items,z.items)}}e.ArrayType=K;class U{constructor(z,E){this.typeData=z,this.isOptional=E}equals(z){return z instanceof U?(0,t.areEqual)(this.typeData,z.typeData)&&this.isOptional===z.isOptional:!1}hashCode(){return(0,t.hashCodeOf)(this.typeData)+(this.isOptional?17:23)}}e.GenericClassProperty=U;class R extends U{constructor(z,E,j){super(z,j),this.graph=E}get typeRef(){return this.typeData}get type(){return(0,u.derefTypeRef)(this.typeRef,this.graph)}}e.ClassProperty=R;function A(Q,z,E,j){if(!m(z))return new k(Q,[C(z),E,j])}function b(Q,z){return A("class",Q,z,void 0)}e.classTypeIdentity=b;function _(Q,z){return A("map",Q,new Map,z)}e.mapTypeIdentify=_;class L extends P{constructor(z,E,j,X,te,$){super(z,E),this.kind=j,this.isFixed=X,this._properties=te,this._additionalPropertiesRef=$,j==="map"?(te!==void 0&&(0,n.assert)(te.size===0),(0,n.assert)(!X)):j==="class"?(0,n.assert)($===void 0):(0,n.assert)(X)}setProperties(z,E){(0,n.assert)(this._properties===void 0,"Tried to set object properties twice"),this instanceof p&&(0,n.assert)(z.size===0,"Cannot set properties on map type"),this instanceof g&&(0,n.assert)(E===void 0,"Cannot set additional properties of class type"),this._properties=z,this._additionalPropertiesRef=E}getProperties(){return(0,n.defined)(this._properties)}getSortedProperties(){return(0,t.mapSortByKey)(this.getProperties())}getAdditionalPropertiesRef(){return(0,n.assert)(this._properties!==void 0,"Properties are not set yet"),this._additionalPropertiesRef}getAdditionalProperties(){const z=this.getAdditionalPropertiesRef();if(z!==void 0)return(0,u.derefTypeRef)(z,this.graph)}getNonAttributeChildren(){const z=(0,t.mapSortToArray)(this.getProperties(),(j,X)=>X).map(([j,X])=>X.type),E=this.getAdditionalProperties();return E!==void 0&&z.push(E),new Set(z)}get isNullable(){return!1}isPrimitive(){return!1}get identity(){if(!this.isFixed)return A(this.kind,this.getAttributes(),this.getProperties(),this.getAdditionalPropertiesRef())}reconstitute(z,E){const j=this.getSortedProperties(),X=E?j:this.getProperties(),te=z.lookupMap((0,t.mapMap)(j,ne=>ne.typeRef)),$=(0,t.definedMap)(this._additionalPropertiesRef,ne=>z.lookup(ne));if(te!==void 0&&($!==void 0||this._additionalPropertiesRef===void 0)){const ne=(0,t.mapMap)(X,(ce,Te)=>z.makeClassProperty((0,n.defined)(te.get(Te)),ce.isOptional));switch(this.kind){case"object":(0,n.assert)(this.isFixed),z.getObjectType(ne,$);break;case"map":z.getMapType((0,n.defined)($));break;case"class":this.isFixed?z.getUniqueClassType(!0,ne):z.getClassType(ne);break;default:return(0,n.panic)(`Invalid object type kind ${this.kind}`)}}else{switch(this.kind){case"object":(0,n.assert)(this.isFixed),z.getUniqueObjectType(void 0,void 0);break;case"map":z.getUniqueMapType();break;case"class":z.getUniqueClassType(this.isFixed,void 0);break;default:return(0,n.panic)(`Invalid object type kind ${this.kind}`)}const ne=(0,t.mapMap)(j,Ne=>z.reconstitute(Ne.typeRef)),ce=(0,t.mapMap)(X,(Ne,le)=>z.makeClassProperty((0,n.defined)(ne.get(le)),Ne.isOptional)),Te=(0,t.definedMap)(this._additionalPropertiesRef,Ne=>z.reconstitute(Ne));z.setObjectProperties(ce,Te)}}structuralEqualityStep(z,E,j){const X=this.getProperties(),te=z.getProperties();if(X.size!==te.size)return!1;let $=!1;for(const[Te,Ne]of X){const le=te.get(Te);if(le===void 0||Ne.isOptional!==le.isOptional||!j(Ne.type,le.type))return $=!0,!1}if($)return!1;const ne=this.getAdditionalProperties(),ce=z.getAdditionalProperties();return ne===void 0!=(ce===void 0)?!1:ne===void 0||ce===void 0?!0:j(ne,ce)}}e.ObjectType=L;class g extends L{constructor(z,E,j,X){super(z,E,"class",j,X,void 0)}}e.ClassType=g;class p extends L{constructor(z,E,j){super(z,E,"map",!1,(0,t.definedMap)(j,()=>new Map),j)}get values(){return(0,n.defined)(this.getAdditionalProperties())}}e.MapType=p;function a(Q,z){if(!m(Q))return new k("enum",[C(Q),z])}e.enumTypeIdentity=a;class o extends P{constructor(z,E,j){super(z,E),this.cases=j,this.kind="enum"}get isNullable(){return!1}isPrimitive(){return!1}get identity(){return a(this.getAttributes(),this.cases)}getNonAttributeChildren(){return new Set}reconstitute(z){z.getEnumType(this.cases)}structuralEqualityStep(z,E,j){return(0,t.areEqual)(this.cases,z.cases)}}e.EnumType=o;function f(Q,z,E,j){const X=(0,t.toReadonlySet)(Q),te=(0,t.toReadonlySet)(z);return X.size!==te.size?!1:(0,t.iterableEvery)(X,$=>{const ne=(0,t.iterableFind)(te,ce=>ce.kind===$.kind);return!!(ne!==void 0&&j($,ne)||E&&($.kind==="integer"&&(0,t.iterableSome)(te,ce=>ce.kind==="double")||$.kind==="double"&&(0,t.iterableSome)(te,ce=>ce.kind==="integer")))})}e.setOperationCasesEqual=f;function h(Q,z,E){if(!m(z))return new k(Q,[C(z),E])}e.setOperationTypeIdentity=h;function w(Q,z){return h("union",Q,z)}e.unionTypeIdentity=w;function N(Q,z){return h("intersection",Q,z)}e.intersectionTypeIdentity=N;class F extends P{constructor(z,E,j,X){super(z,E),this.kind=j,this._memberRefs=X}setMembers(z){if(this._memberRefs!==void 0)return(0,n.panic)("Can only set map members once");this._memberRefs=z}getMemberRefs(){return this._memberRefs===void 0?(0,n.panic)("Map members accessed before they were set"):this._memberRefs}get members(){return(0,t.setMap)(this.getMemberRefs(),z=>(0,u.derefTypeRef)(z,this.graph))}get sortedMembers(){return this.getNonAttributeChildren()}getNonAttributeChildren(){return(0,t.setSortBy)(this.members,z=>z.kind)}isPrimitive(){return!1}get identity(){return h(this.kind,this.getAttributes(),this.getMemberRefs())}reconstituteSetOperation(z,E,j){const X=(0,t.mapMap)(this.sortedMembers.entries(),ne=>ne.typeRef),te=E?this.sortedMembers:this.members,$=z.lookupMap(X);if($===void 0){j(void 0);const ne=z.reconstituteMap(X);z.setSetOperationMembers((0,t.setMap)(te,ce=>(0,n.defined)(ne.get(ce))))}else j((0,t.setMap)(te,ne=>(0,n.defined)($.get(ne))))}structuralEqualityStep(z,E,j){return f(this.members,z.members,E,j)}}e.SetOperationType=F;class B extends F{constructor(z,E,j){super(z,E,"intersection",j)}get isNullable(){return(0,n.panic)("isNullable not implemented for IntersectionType")}reconstitute(z,E){this.reconstituteSetOperation(z,E,j=>{j===void 0?z.getUniqueIntersectionType():z.getIntersectionType(j)})}}e.IntersectionType=B;class W extends F{constructor(z,E,j){super(z,E,"union",j),j!==void 0&&(0,r.messageAssert)(j.size>0,"IRNoEmptyUnions",{})}setMembers(z){(0,r.messageAssert)(z.size>0,"IRNoEmptyUnions",{}),super.setMembers(z)}get stringTypeMembers(){return(0,t.setFilter)(this.members,z=>y(z.kind)||z.kind==="enum")}findMember(z){return(0,t.iterableFind)(this.members,E=>E.kind===z)}get isNullable(){return this.findMember("null")!==void 0}get isCanonical(){const z=this.members;if(z.size<=1)return!1;const E=(0,t.setMap)(z,X=>X.kind);if(E.size<z.size||E.has("union")||E.has("intersection")||E.has("none")||E.has("any")||E.has("string")&&E.has("enum"))return!1;let j=0;return E.has("class")&&(j+=1),E.has("map")&&(j+=1),E.has("object")&&(j+=1),!(j>1)}reconstitute(z,E){this.reconstituteSetOperation(z,E,j=>{j===void 0?z.getUniqueUnionType():z.getUnionType(j)})}}e.UnionType=W}(gd)),gd}var et={},qe={};Object.defineProperty(qe,"__esModule",{value:!0});qe.assignNames=qe.keywordNamespace=qe.DependencyName=qe.AssociatedName=qe.SimpleName=qe.FixedName=qe.Name=qe.funPrefixNamer=qe.Namer=qe.Namespace=void 0;const Ut=He,bi=Ie;class Rv{constructor(t,n,i,r){this._children=new Set,this._members=new Set,this.forbiddenNamespaces=new Set(i),this.additionalForbidden=new Set(r),n!==void 0&&n.addChild(this)}addChild(t){this._children.add(t)}get children(){return this._children}get members(){return this._members}get forbiddenNameds(){return(0,Ut.setUnion)(this.additionalForbidden,...Array.from(this.forbiddenNamespaces).map(t=>t.members))}add(t){return this._members.add(t),t}}qe.Namespace=Rv;class Dv{constructor(t,n,i){this.name=t,this.nameStyle=n,this._prefixes=new Set(i)}assignNames(t,n,i){const r=new Set(n),u=Array.from(i);(0,bi.assert)(u.length>0,"Number of names can't be less than 1");const l=new Map;let d=[];for(const S of u){const O=S.proposeUnstyledNames(t),I=S.namingFunction,k=(0,Ut.iterableFind)(O,P=>!r.has(I.nameStyle(P))&&u.every(m=>m===S||!m.proposeUnstyledNames(t).has(P)));if(k!==void 0){const P=I.nameStyle(k),m=S.nameAssignments(r,P);if(m!==null){(0,Ut.mapMergeInto)(l,m),(0,Ut.setUnionInto)(r,m.values());continue}}d.push(S)}let y=this._prefixes.values(),T=1;for(const S of d){const O=(0,bi.defined)((0,Ut.iterableFirst)(S.proposeUnstyledNames(t)));for(;;){let I;const{done:k,value:P}=y.next();k?(I=`${O}_${T.toString()}`,T++):I=`${P}_${O}`;const m=S.namingFunction.nameStyle(I),C=S.nameAssignments(r,m);if(C!==null){(0,Ut.mapMergeInto)(l,C),(0,Ut.setUnionInto)(r,C.values());break}}}return l}}qe.Namer=Dv;const O2=["Purple","Fluffy","Tentacled","Sticky","Indigo","Indecent","Hilarious","Ambitious","Cunning","Magenta","Frisky","Mischievous","Braggadocious"];function E2(e,t){return new Dv(e,t,O2)}qe.funPrefixNamer=E2;class ol{constructor(t,n){this._namingFunction=t,this.order=n,this._associates=new Set}addAssociate(t){this._associates.add(t)}isFixed(){return this instanceof Rp}get namingFunction(){return(0,bi.defined)(this._namingFunction)}firstProposedName(t){return(0,bi.defined)((0,Ut.iterableFirst)(this.proposeUnstyledNames(t)))}nameAssignments(t,n){if(t.has(n))return null;const i=new Map([[this,n]]);for(const r of this._associates){const u=r.getName(n);if(t.has(u))return null;i.set(r,u)}return i}}qe.Name=ol;class Rp extends ol{constructor(t){super(void 0,0),this._fixedName=t}get dependencies(){return[]}addAssociate(t){return(0,bi.panic)("Cannot add associates to fixed names")}get fixedName(){return this._fixedName}proposeUnstyledNames(t){return(0,bi.panic)("Only fixedName should be called on FixedName.")}}qe.FixedName=Rp;class C2 extends ol{constructor(t,n,i){super(n,i),this._unstyledNames=new Set(t)}get dependencies(){return[]}proposeUnstyledNames(t){return this._unstyledNames}}qe.SimpleName=C2;class A2 extends ol{constructor(t,n,i){super(void 0,n),this._sponsor=t,this.getName=i}get dependencies(){return[this._sponsor]}proposeUnstyledNames(t){return(0,bi.panic)("AssociatedName must be assigned via its sponsor")}}qe.AssociatedName=A2;class F2 extends ol{constructor(t,n,i){super(t,n),this._proposeUnstyledName=i;const r=[];i(u=>(r.push(u),"0xDEADBEEF")),this._dependencies=new Set(r)}get dependencies(){return Array.from(this._dependencies)}proposeUnstyledNames(t){return new Set([this._proposeUnstyledName(n=>((0,bi.assert)(this._dependencies.has(n),"DependencyName proposer is not pure"),(0,bi.defined)(t.get(n))))])}}qe.DependencyName=F2;function P2(e,t){const n=new Rv(e,void 0,[],[]);for(const i of t)n.add(new Rp(i));return n}qe.keywordNamespace=P2;function xv(e){return(0,Ut.setUnion)(e,...Array.from((0,Ut.setMap)(e,t=>xv(t.children))))}class I2{constructor(t){this._names=new Map,this._namedsForName=new Map,this.isReadyToBeNamed=n=>this._names.has(n)?!1:n.dependencies.every(i=>this._names.has(i)),this.isConflicting=(n,i)=>{const r=this._namedsForName.get(i);if(r===void 0)return!1;for(const u of r)if(n.members.has(u)||n.forbiddenNameds.has(u))return!0;return!1},this.assign=(n,i,r)=>{(0,bi.assert)(!this.names.has(n),`Name "${r}" assigned twice`),(0,bi.assert)(!this.isConflicting(i,r),`Assigned name "${r}" conflicts`),this._names.set(n,r);let u=this._namedsForName.get(r);u===void 0&&(u=new Set,this._namedsForName.set(r,u)),u.add(n)},this.namespaces=xv(t)}get names(){return this._names}areForbiddensFullyNamed(t){return(0,Ut.iterableEvery)(t.forbiddenNameds,n=>this._names.has(n))}}function M2(e){const t=new I2(e);for(const n of t.namespaces)for(const i of n.members)i.isFixed()&&t.assign(i,n,i.fixedName);for(;;){const n=(0,Ut.setFilter)(t.namespaces,l=>t.areForbiddensFullyNamed(l)),i=(0,Ut.iterableFind)(n,l=>(0,Ut.iterableSome)(l.members,t.isReadyToBeNamed));if(i===void 0)return t.names;const r=(0,Ut.setUnion)(i.members,i.forbiddenNameds);let u=(0,Ut.setFilterMap)(r,l=>t.names.get(l));for(;;){const l=(0,Ut.setFilter)(i.members,t.isReadyToBeNamed),d=(0,Ut.iterableMinBy)(l,O=>O.order);if(d===void 0)break;const y=d.order,T=(0,Ut.setFilter)(l,O=>O.order===y),S=(0,Ut.setGroupBy)(T,O=>O.namingFunction);for(const[O,I]of S){const k=(0,Ut.setGroupBy)(I,P=>P.namingFunction.nameStyle(P.firstProposedName(t.names)));for(const[,P]of k){const m=O.assignNames(t.names,u,P);for(const[C,J]of m)t.assign(C,i,J);(0,Ut.setUnionInto)(u,m.values())}}}}}qe.assignNames=M2;Object.defineProperty(et,"__esModule",{value:!0});et.parenIfNeeded=et.multiWord=et.singleWord=et.serializeRenderResult=et.modifySource=et.maybeAnnotated=et.annotated=et.sourcelikeToSource=et.newline=void 0;const bo=He,j2=qe,Wn=Ie,m0=St();function Uv(){return{kind:"newline",indentationChange:0}}et.newline=Uv;function Tc(e){if(e instanceof Array)return{kind:"sequence",sequence:e.map(Tc)};if(typeof e=="string"){const t=e.split(`
|
|
176
|
+
`);return t.length===1?{kind:"text",text:e}:{kind:"sequence",sequence:(0,bo.arrayIntercalate)(Uv(),t.map(n=>({kind:"text",text:n})))}}return e instanceof j2.Name?{kind:"name",named:e}:e}et.sourcelikeToSource=Tc;function Jv(e,t){return{kind:"annotated",annotation:e,source:Tc(t)}}et.annotated=Jv;function B2(e,t,n){return e?Jv(t,n):n}et.maybeAnnotated=B2;function R2(e,t){return{kind:"modified",modifier:e,source:Tc(t)}}et.modifySource=R2;function xh(e,t){switch(e.kind){case"text":return e.text.length;case"newline":return(0,Wn.panic)("Newline must not occur within a line.");case"sequence":return e.sequence.map(n=>xh(n,t)).reduce((n,i)=>n+i,0);case"table":return(0,Wn.panic)("Table must not occur within a line.");case"annotated":return xh(e.source,t);case"name":return(0,Wn.defined)(t.get(e.named)).length;case"modified":return Dp(e,t,"").lines.join(`
|
|
177
|
+
`).length;default:return(0,Wn.assertNever)(e)}}function Dp(e,t,n){let i=0,r=0;const u=[];let l=[];const d=[];function y(){r!==0&&(l.push((0,m0.repeatString)(n,r)),r=0)}function T(){const k=l.join("");return l=[k],k}function S(){return{line:u.length,column:T().length}}function O(){u.push(T()),l=[]}function I(k){switch(k.kind){case"text":y(),l.push(k.text);break;case"newline":O(),i+=k.indentationChange,r=i;break;case"sequence":for(const R of k.sequence)I(R);break;case"table":const P=k.table,m=P.length;if(m===0)break;const C=P.map(R=>R.map(A=>xh(A,t))),J=(0,Wn.defined)((0,bo.iterableMax)(P.map(R=>R.length)));if(J===0)break;const x=[];for(let R=0;R<J;R++)x.push((0,Wn.defined)((0,bo.iterableMax)(C.map(A=>(0,bo.withDefault)(A[R],0)))));for(let R=0;R<m;R++){y();const A=(0,Wn.defined)(P[R]),b=(0,Wn.defined)(C[R]);for(let _=0;_<J;_++){const L=x[_],g=(0,bo.withDefault)(A[_],{kind:"text",text:""}),p=(0,bo.withDefault)(b[_],0);I(g),_<J-1&&p<L&&l.push((0,m0.repeatString)(" ",L-p))}R<m-1&&(O(),r=i)}break;case"annotated":const G=S();I(k.source);const K=S();d.push({annotation:k.annotation,span:{start:G,end:K}});break;case"name":(0,Wn.assert)(t.has(k.named),"No name for Named"),y(),l.push((0,Wn.defined)(t.get(k.named)));break;case"modified":y();const U=Dp(k.source,t,n).lines;(0,Wn.assert)(U.length===1,"Cannot modify more than one line."),l.push(k.modifier(U[0]));break;default:return(0,Wn.assertNever)(k)}}return I(e),O(),{lines:u,annotations:d}}et.serializeRenderResult=Dp;function zv(...e){return{source:e,needsParens:!1}}et.singleWord=zv;function D2(e,...t){if((0,Wn.assert)(t.length>0,"Zero words is not multiple"),t.length===1)return zv(t[0]);const n=[];for(let i=0;i<t.length;i++)i>0&&n.push(e),n.push(t[i]);return{source:n,needsParens:!0}}et.multiWord=D2;function x2({source:e,needsParens:t}){return t?["(",e,")"]:e}et.parenIfNeeded=x2;var Et={},Sc={},jt={};Object.defineProperty(jt,"__esModule",{value:!0});jt.nullTypeIssueAnnotation=jt.anyTypeIssueAnnotation=jt.IssueAnnotationData=jt.AnnotationData=void 0;class Wv{}jt.AnnotationData=Wv;class xp extends Wv{constructor(t){super(),this.message=t}}jt.IssueAnnotationData=xp;jt.anyTypeIssueAnnotation=new xp("quicktype cannot infer this type because there is no data about it in the input.");jt.nullTypeIssueAnnotation=new xp("The only value for this in the input is null, which means you probably need a more complete input sample.");Object.defineProperty(Sc,"__esModule",{value:!0});Sc.Renderer=void 0;const U2=He,J2=qe,Ca=et,z2=jt,Au=Ie;function W2(e){return Array.isArray(e)?{position:e[0],count:e[1]}:{position:e,count:1}}function G2(e){const t=e.length;let n=0;for(let i=0;i<t;i++){const r=e.charAt(i);if(r===" ")n+=1;else if(r===" ")n=(n/4+1)*4;else return{indent:n,text:e.substring(i)}}return{indent:0,text:null}}class Vd{constructor(){this._currentEmitTarget=this._emitted=[],this._numBlankLinesNeeded=0,this._preventBlankLine=!0}get isEmpty(){return this._emitted.length===0}get isNested(){return this._emitted!==this._currentEmitTarget}get source(){return this._emitted}pushItem(t){this._currentEmitTarget.push(t),this._preventBlankLine=!1}emitNewline(){const t=(0,Ca.newline)();this.pushItem(t),this._lastNewline=t}emitItem(t){if(!this.isEmpty)for(let n=0;n<this._numBlankLinesNeeded;n++)this.emitNewline();this._numBlankLinesNeeded=0,this.pushItem(t)}containsItem(t){return this._currentEmitTarget.find(i=>t===i)!==void 0}ensureBlankLine(t){this._preventBlankLine||(this._numBlankLinesNeeded=Math.max(this._numBlankLinesNeeded,t))}preventBlankLine(){this._numBlankLinesNeeded=0,this._preventBlankLine=!0}changeIndent(t){if(this._lastNewline===void 0)return(0,Au.panic)("Cannot change indent for the first line");this._lastNewline.indentationChange+=t}}class q2{constructor(t,n){this.targetLanguage=t,this.emitTable=i=>{if(i.length===0)return;const r=i.map(u=>u.map(l=>(0,Ca.sourcelikeToSource)(l)));this._emitContext.emitItem({kind:"table",table:r}),this._emitContext.emitNewline()},this.typeGraph=n.typeGraph,this.leadingComments=n.leadingComments,this._finishedFiles=new Map,this._finishedEmitContexts=new Map,this._emitContext=new Vd}ensureBlankLine(t=1){this._emitContext.ensureBlankLine(t)}preventBlankLine(){this._emitContext.preventBlankLine()}emitItem(t){this._emitContext.emitItem(t)}emitItemOnce(t){return this._emitContext.containsItem(t)?!1:(this.emitItem(t),!0)}emitLineOnce(...t){let n=!0;t.length===1?n=this.emitItemOnce(t[0]):t.length>1&&(n=this.emitItemOnce(t)),n&&this._emitContext.emitNewline()}emitLine(...t){t.length===1?this._emitContext.emitItem(t[0]):t.length>1&&this._emitContext.emitItem(t),this._emitContext.emitNewline()}emitMultiline(t){const n=t.split(`
|
|
178
|
+
`),i=n.length;if(i===0)return;this.emitLine(n[0]);let r=0;for(let u=1;u<i;u++){const l=n[u],{indent:d,text:y}=G2(l);if((0,Au.assert)(d%4===0,"Indentation is not a multiple of 4."),y!==null){const T=d/4;this.changeIndent(T-r),r=T,this.emitLine(y)}else this._emitContext.emitNewline()}r!==0&&this.changeIndent(-r)}gatherSource(t){const n=this._emitContext;this._emitContext=new Vd,t(),(0,Au.assert)(!this._emitContext.isNested,"emit context not restored correctly");const i=this._emitContext.source;return this._emitContext=n,i}emitGatheredSource(t){for(const n of t)this._emitContext.emitItem(n)}emitAnnotated(t,n){const i=this.gatherSource(n),r=(0,Ca.sourcelikeToSource)(i);this._emitContext.emitItem((0,Ca.annotated)(t,r))}emitIssue(t,n){this.emitAnnotated(new z2.IssueAnnotationData(t),n)}changeIndent(t){this._emitContext.changeIndent(t)}iterableForEach(t,n){const i=Array.from(t);let r=!0;for(const[u,l]of(0,U2.iterableEnumerate)(i)){const d=i.length===1?"only":r?"first":u===i.length-1?"last":"middle";n(l,d),r=!1}}forEach(t,n,i,r){let u=!1;return this.iterableForEach(t,([l,d],y)=>{y==="only"||y==="first"?this.ensureBlankLine(i):this.ensureBlankLine(n),r(d,l,y),u=!0}),u}forEachWithBlankLines(t,n,i){const{position:r,count:u}=W2(n),l=["interposing","leading-and-interposing"].indexOf(r)>=0,d=["leading","leading-and-interposing"].indexOf(r)>=0;return this.forEach(t,l?u:0,d?u:0,i)}indent(t){this.changeIndent(1),t(),this.changeIndent(-1)}assignNames(){return(0,J2.assignNames)(this.setUpNaming())}initializeEmitContextForFilename(t){if(this._finishedEmitContexts.has(t.toLowerCase())){const n=this._finishedEmitContexts.get(t.toLowerCase());n!==void 0&&(this._emitContext=n)}}finishFile(t){this._finishedFiles.has(t)&&console.log(`[WARNING] Tried to emit file ${t} more than once. If performing multi-file output this warning can be safely ignored.`);const n=(0,Ca.sourcelikeToSource)(this._emitContext.source);this._finishedFiles.set(t,n),this._finishedEmitContexts.set(t.toLowerCase(),this._emitContext),this._emitContext=new Vd}render(t){return this._names=this.assignNames(),this.emitSource(t),this._emitContext.isEmpty||this.finishFile(t),{sources:this._finishedFiles,names:this._names}}get names(){return this._names===void 0?(0,Au.panic)("Names accessed before they were assigned"):this._names}}Sc.Renderer=q2;var Hr={};Object.defineProperty(Hr,"__esModule",{value:!0});Hr.declarationsForGraph=Hr.cycleBreakerTypesForGraph=Hr.DeclarationIR=void 0;const ds=He,Gu=Ie,H2=sl,V2=Kt;class Gv{constructor(t,n){this.forwardedTypes=n,this.declarations=Array.from(t)}}Hr.DeclarationIR=Gv;function K2(e,t,n){const i=t.indexOf(e);if(i<0)return;if(n===void 0)return t[i];const u=t.slice(0,i+1).reverse().find(n);return u===void 0?(0,Gu.panic)("Found a cycle that cannot be broken"):u}function Z2(e,t,n){const i=new Set,r=new Set,u=Array.from(e.topLevels.values());function l(d,y){if(!i.has(d)){if(t(d))for(const T of d.getChildren())u.push(T);else{const T=K2(d,y,n);if(T!==void 0){r.add(T);return}for(const S of d.getChildren())y.unshift(d),l(S,y),y.shift()}i.add(d)}}for(;;){const d=u.pop();if(d===void 0)break;const y=[];l(d,y),(0,Gu.assert)(y.length===0)}return r}Hr.cycleBreakerTypesForGraph=Z2;function Q2(e,t,n,i){const r=t===void 0,u=[],l=new Set,d=new Set;function y(S,O){const I=S.stronglyConnectedComponents();function k(C){if(d.has(C))return;d.add(C);const J=(0,ds.setFilter)(C,i);if(J.size===1){u.push({kind:"define",type:(0,Gu.defined)((0,ds.iterableFirst)(J))});return}if(J.size===0&&C.size===1)return;if(J.size===0){u.push({kind:"define",type:(0,Gu.defined)((0,ds.iterableFirst)(C))});return}if(t===void 0){for(const U of J)u.push({kind:"define",type:U});return}const x=(0,ds.setFilter)(C,t);if(x.size===0)return(0,V2.messageError)("IRNoForwardDeclarableTypeInCycle",{});for(const U of x)u.push({kind:"forward",type:U});(0,ds.setUnionInto)(l,x);const G=(0,ds.setSubtract)(C,x),K=new H2.Graph(G,!0,U=>(0,ds.setIntersect)(n(U),G));y(K);for(const U of x)u.push({kind:"define",type:U})}const m=I.findRoots();for(const C of m)I.dfsTraversal(C,r,k)}const T=e.makeGraph(!1,n);return y(T),new Gv(u,l)}Hr.declarationsForGraph=Q2;var Kd={},Zd={},Ko={},X2=Fe&&Fe.__awaiter||function(e,t,n,i){function r(u){return u instanceof n?u:new n(function(l){l(u)})}return new(n||(n=Promise))(function(u,l){function d(S){try{T(i.next(S))}catch(O){l(O)}}function y(S){try{T(i.throw(S))}catch(O){l(O)}}function T(S){S.done?u(S.value):r(S.value).then(d,y)}T((i=i.apply(e,t||[])).next())})};Object.defineProperty(Ko,"__esModule",{value:!0});Ko.JSONSchemaStore=void 0;const Y2=Ie;class $2{constructor(){this._schemas=new Map}add(t,n){(0,Y2.assert)(!this._schemas.has(t),"Cannot set a schema for an address twice"),this._schemas.set(t,n)}get(t,n){return X2(this,void 0,void 0,function*(){let i=this._schemas.get(t);if(i!==void 0)return i;n&&console.log(`trying to fetch ${t}`);try{i=yield this.fetch(t)}catch{}if(i===void 0){n&&console.log(`couldn't fetch ${t}`);return}return n&&console.log(`successully fetched ${t}`),this.add(t,i),i})}}Ko.JSONSchemaStore=$2;var Zo={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.accessorNamesAttributeProducer=e.makeAccessorNames=e.unionMemberName=e.makeUnionMemberNamesAttribute=e.unionMemberNamesTypeAttributeKind=e.makeUnionIdentifierAttribute=e.unionIdentifierTypeAttributeKind=e.getAccessorName=e.enumCaseNames=e.objectPropertyNames=e.lookupKey=e.accessorNamesTypeAttributeKind=void 0;const t=He,n=yt,i=Ie,r=Kt;class u extends n.TypeAttributeKind{constructor(){super("accessorNames")}makeInferred(R){}}e.accessorNamesTypeAttributeKind=new u;function l(U,R){if(typeof U=="string")return[U,!1];const A=U.get(R);if(A!==void 0)return[A,!0];const b=U.get("*");if(b!==void 0)return[b,!1]}function d(U,R,A){const b=U.get(R);if(b!==void 0)return l(b,A)}e.lookupKey=d;function y(U,R){const A=e.accessorNamesTypeAttributeKind.tryGetInAttributes(U.getAttributes()),b=U.getProperties();return A===void 0?(0,t.mapMap)(b,_=>{}):(0,t.mapMap)(b,(_,L)=>d(A,L,R))}e.objectPropertyNames=y;function T(U,R){const A=e.accessorNamesTypeAttributeKind.tryGetInAttributes(U.getAttributes());return A===void 0?(0,t.mapMap)(U.cases.entries(),b=>{}):(0,t.mapMap)(U.cases.entries(),b=>d(A,b,R))}e.enumCaseNames=T;function S(U,R){const A=U.get(R);return A===void 0?[void 0,!1]:A}e.getAccessorName=S;class O extends n.TypeAttributeKind{constructor(){super("unionIdentifier")}combine(R){return(0,t.setUnionManyInto)(new Set,R)}makeInferred(R){return new Set}}e.unionIdentifierTypeAttributeKind=new O;let I=0;function k(){const U=e.unionIdentifierTypeAttributeKind.makeAttributes(new Set([I]));return I+=1,U}e.makeUnionIdentifierAttribute=k;class P extends n.TypeAttributeKind{constructor(){super("unionMemberNames")}combine(R){const A=new Map;for(const b of R)(0,t.mapMergeInto)(A,b);return A}}e.unionMemberNamesTypeAttributeKind=new P;function m(U,R){const A=(0,i.defined)(e.unionIdentifierTypeAttributeKind.tryGetInAttributes(U)),b=(0,t.mapFromIterable)(A,_=>R);return e.unionMemberNamesTypeAttributeKind.makeAttributes(b)}e.makeUnionMemberNamesAttribute=m;function C(U,R,A){const b=e.unionIdentifierTypeAttributeKind.tryGetInAttributes(U.getAttributes());if(b===void 0)return[void 0,!1];const _=e.unionMemberNamesTypeAttributeKind.tryGetInAttributes(R.getAttributes());if(_===void 0)return[void 0,!1];const L=new Set,g=new Set;for(const f of b){const h=_.get(f);if(h===void 0)continue;const w=l(h,A);if(w===void 0)continue;const[N,F]=w;F?g.add(N):L.add(N)}let p,a,o=(0,t.iterableFirst)(g);if(o!==void 0)p=g.size,a=!0;else{if(o=(0,t.iterableFirst)(L),o===void 0)return[void 0,!1];p=L.size,a=!1}return(0,r.messageAssert)(p===1,"SchemaMoreThanOneUnionMemberName",{names:Array.from(L)}),[o,a]}e.unionMemberName=C;function J(U){return typeof U=="string"?!0:(0,i.isStringMap)(U,R=>typeof R=="string")}function x(U){return typeof U=="string"?U:(0,t.mapFromObject)(U)}function G(U){const R=(0,i.checkStringMap)(U,J);return(0,t.mapMap)((0,t.mapFromObject)(R),x)}e.makeAccessorNames=G;function K(U,R,A,b){if(typeof U!="object")return;const _=U["qt-accessors"];if(_!==void 0){if(b===void 0)return{forType:e.accessorNamesTypeAttributeKind.makeAttributes(G(_))};{const L=k(),g=(0,i.checkArray)(_,J);(0,r.messageAssert)(b.length===g.length,"SchemaWrongAccessorEntryArrayLength",{operation:"oneOf",ref:R.push("oneOf")});const p=g.map(a=>m(L,x(a)));return{forUnion:L,forCases:p}}}}e.accessorNamesAttributeProducer=K})(Zo);var vc={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.enumValuesAttributeProducer=e.enumCaseValues=e.enumValuesTypeAttributeKind=void 0;const t=He,n=Zo,i=yt;class r extends i.TypeAttributeKind{constructor(){super("enumValues")}makeInferred(y){}}e.enumValuesTypeAttributeKind=new r;function u(d,y){const T=e.enumValuesTypeAttributeKind.tryGetInAttributes(d.getAttributes());return T===void 0?(0,t.mapMap)(d.cases.entries(),S=>{}):(0,t.mapMap)(d.cases.entries(),S=>(0,n.lookupKey)(T,S,y))}e.enumCaseValues=u;function l(d,y,T){if(typeof d!="object")return;const S=d["qt-enum-values"];if(S!==void 0)return{forType:e.enumValuesTypeAttributeKind.makeAttributes((0,n.makeAccessorNames)(S))}}e.enumValuesAttributeProducer=l})(vc);var ks={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.patternForType=e.patternAttributeProducer=e.patternTypeAttributeKind=e.PatternTypeAttributeKind=e.minMaxLengthForType=e.minMaxValueForType=e.minMaxLengthAttributeProducer=e.minMaxAttributeProducer=e.minMaxLengthTypeAttributeKind=e.minMaxTypeAttributeKind=e.MinMaxConstraintTypeAttributeKind=void 0;const t=yt,n=Ie,i=Kt;function r(P){const[m,C]=P;if(typeof m=="number"&&typeof C=="number"&&m>C)return(0,i.messageError)("MiscInvalidMinMaxConstraint",{min:m,max:C});if(!(m===void 0&&C===void 0))return P}class u extends t.TypeAttributeKind{constructor(m,C,J,x){super(m),this._typeKinds=C,this._minSchemaProperty=J,this._maxSchemaProperty=x}get inIdentity(){return!0}combine(m){(0,n.assert)(m.length>0);let[C,J]=m[0];for(let x=1;x<m.length;x++){const[G,K]=m[x];typeof C=="number"&&typeof G=="number"?C=Math.min(C,G):C=void 0,typeof J=="number"&&typeof K=="number"?J=Math.max(J,K):J=void 0}return r([C,J])}intersect(m){(0,n.assert)(m.length>0);let[C,J]=m[0];for(let x=1;x<m.length;x++){const[G,K]=m[x];typeof C=="number"&&typeof G=="number"?C=Math.max(C,G):C===void 0&&(C=G),typeof J=="number"&&typeof K=="number"?J=Math.min(J,K):J===void 0&&(J=K)}return r([C,J])}makeInferred(m){}addToSchema(m,C,J){if(this._typeKinds.has(C.kind))return;const[x,G]=J;x!==void 0&&(m[this._minSchemaProperty]=x),G!==void 0&&(m[this._maxSchemaProperty]=G)}stringify([m,C]){return`${m}-${C}`}}e.MinMaxConstraintTypeAttributeKind=u,e.minMaxTypeAttributeKind=new u("minMax",new Set(["integer","double"]),"minimum","maximum"),e.minMaxLengthTypeAttributeKind=new u("minMaxLength",new Set(["string"]),"minLength","maxLength");function l(P,m,C){if(typeof P!="object")return;let J,x;if(typeof P[m]=="number"&&(J=P[m]),typeof P[C]=="number"&&(x=P[C]),!(J===void 0&&x===void 0))return[J,x]}function d(P,m,C){if(!C.has("number")&&!C.has("integer"))return;const J=l(P,"minimum","maximum");if(J!==void 0)return{forNumber:e.minMaxTypeAttributeKind.makeAttributes(J)}}e.minMaxAttributeProducer=d;function y(P,m,C){if(!C.has("string"))return;const J=l(P,"minLength","maxLength");if(J!==void 0)return{forString:e.minMaxLengthTypeAttributeKind.makeAttributes(J)}}e.minMaxLengthAttributeProducer=y;function T(P){return e.minMaxTypeAttributeKind.tryGetInAttributes(P.getAttributes())}e.minMaxValueForType=T;function S(P){return e.minMaxLengthTypeAttributeKind.tryGetInAttributes(P.getAttributes())}e.minMaxLengthForType=S;class O extends t.TypeAttributeKind{constructor(){super("pattern")}get inIdentity(){return!0}combine(m){return(0,n.assert)(m.length>0),m.map(C=>`(${C})`).join("|")}intersect(m){}makeInferred(m){}addToSchema(m,C,J){C.kind==="string"&&(m.pattern=J)}}e.PatternTypeAttributeKind=O,e.patternTypeAttributeKind=new O;function I(P,m,C){if(typeof P!="object"||!C.has("string"))return;const J=P.pattern;if(typeof J=="string")return{forString:e.patternTypeAttributeKind.makeAttributes(J)}}e.patternAttributeProducer=I;function k(P){return e.patternTypeAttributeKind.tryGetInAttributes(P.getAttributes())}e.patternForType=k})(ks);var y0;function Uh(){return y0||(y0=1,function(e){var t=Fe&&Fe.__awaiter||function(te,$,ne,ce){function Te(Ne){return Ne instanceof ne?Ne:new ne(function(le){le(Ne)})}return new(ne||(ne=Promise))(function(Ne,le){function fe(M){try{Y(ce.next(M))}catch(q){le(q)}}function _e(M){try{Y(ce.throw(M))}catch(q){le(q)}}function Y(M){M.done?Ne(M.value):Te(M.value).then(fe,_e)}Y((ce=ce.apply(te,$||[])).next())})},n=Fe&&Fe.__importDefault||function(te){return te&&te.__esModule?te:{default:te}};Object.defineProperty(e,"__esModule",{value:!0}),e.JSONSchemaInput=e.schemaTypeDict=e.Ref=e.PathElementKind=void 0;const i=n(Bv),r=He,u=lt(),l=Ie,d=mr,y=mr,T=yt,S=Ko,O=Kt,I=Sr(),k=wc(),P=Zo,m=vc,C=ks,J=ks,x=ks,G=bc;var K;(function(te){te[te.Root=0]="Root",te[te.KeyOrIndex=1]="KeyOrIndex",te[te.Type=2]="Type",te[te.Object=3]="Object"})(K=e.PathElementKind||(e.PathElementKind={}));function U(te){if(te.kind===K.KeyOrIndex)return te.key}function R(te,$){if(te.kind!==$.kind)return!1;switch(te.kind){case K.Type:return te.index===$.index;case K.KeyOrIndex:return te.key===$.key;default:return!0}}function A(te,$){const ne=typeof te=="function"?te():te instanceof p?te:te.canonicalRef;return Object.assign({ref:ne},$===void 0?{}:$)}function b(te,$){return Array.isArray(te)?(0,O.messageError)("SchemaArrayIsInvalidSchema",A($)):te===null?(0,O.messageError)("SchemaNullIsInvalidSchema",A($)):typeof te!="object"?(0,O.messageError)("SchemaInvalidJSONSchemaType",A($,{type:typeof te})):te}function _(te,$){return typeof te=="boolean"?te:b(te,$)}const L=new RegExp("^[0-9]+$");function g(te){return typeof te=="string"&&(te=new i.default(te)),new i.default(i.default.decode(te.clone().normalize().toString()))}class p{static root($){const ne=(0,r.definedMap)($,ce=>new i.default(ce));return new p(ne,[])}static parsePath($){const ne=[];if($.startsWith("/")&&(ne.push({kind:K.Root}),$=$.slice(1)),$!==""){const ce=$.split("/");for(let Te=0;Te<ce.length;Te++)ne.push({kind:K.KeyOrIndex,key:ce[Te]})}return ne}static parseURI($,ne=!1){ne||($=$.clone());let ce=$.fragment();$.fragment(""),($.host()!==""||$.filename()!=="")&&ce===""&&(ce="/");const Te=p.parsePath(ce);return new p($,Te)}static parse($){return p.parseURI(new i.default($),!0)}constructor($,ne){this.path=ne,$!==void 0?((0,l.assert)($.fragment()==="",`Ref URI with fragment is not allowed: ${$.toString()}`),this.addressURI=g($)):this.addressURI=void 0}get hasAddress(){return this.addressURI!==void 0}get address(){return(0,l.defined)(this.addressURI).toString()}get isRoot(){return this.path.length===1&&this.path[0].kind===K.Root}pushElement($){const ne=Array.from(this.path);return ne.push($),new p(this.addressURI,ne)}push(...$){let ne=this;for(const ce of $)ne=ne.pushElement({kind:K.KeyOrIndex,key:ce});return ne}pushObject(){return this.pushElement({kind:K.Object})}pushType($){return this.pushElement({kind:K.Type,index:$})}resolveAgainst($){let ne=this.addressURI;return $!==void 0&&$.addressURI!==void 0&&(ne=ne===void 0?$.addressURI:ne.absoluteTo($.addressURI)),new p(ne,this.path)}get name(){const $=Array.from(this.path);for(;;){const ne=$.pop();if(ne===void 0||ne.kind===K.Root){let ce=this.addressURI!==void 0?this.addressURI.filename():"";const Te=this.addressURI!==void 0?this.addressURI.suffix():"";return ce.length>Te.length+1&&(ce=ce.slice(0,ce.length-Te.length-1)),ce===""?"Something":ce}switch(ne.kind){case K.KeyOrIndex:if(L.test(ne.key))return ne.key;break;case K.Type:case K.Object:return(0,l.panic)("We shouldn't try to get the name of Type or Object refs");default:return(0,l.assertNever)(ne)}}}get definitionName(){const $=(0,r.arrayGetFromEnd)(this.path,2);if($!==void 0&&U($)==="definitions")return U((0,l.defined)((0,r.arrayLast)(this.path)))}toString(){function $(ce){switch(ce.kind){case K.Root:return"";case K.Type:return`type/${ce.index.toString()}`;case K.Object:return"object";case K.KeyOrIndex:return ce.key;default:return(0,l.assertNever)(ce)}}return(this.addressURI===void 0?"":this.addressURI.toString())+"#"+this.path.map($).join("/")}lookup($,ne,ce){const Te=()=>new p(this.addressURI,ne),Ne=ne[0];if(Ne===void 0)return _($,Te);const le=ne.slice(1);switch(Ne.kind){case K.Root:return this.lookup(ce,le,ce);case K.KeyOrIndex:const fe=Ne.key;if(Array.isArray($)){if(!/^\d+$/.test(fe))return(0,O.messageError)("SchemaCannotIndexArrayWithNonNumber",A(Te,{actual:fe}));const _e=parseInt(Ne.key,10);return _e>=$.length?(0,O.messageError)("SchemaIndexNotInArray",A(Te,{index:_e})):this.lookup($[_e],le,ce)}else return(0,r.hasOwnProperty)($,fe)?this.lookup(b($,Te)[Ne.key],le,ce):(0,O.messageError)("SchemaKeyNotInObject",A(Te,{key:fe}));case K.Type:return(0,l.panic)('Cannot look up path that indexes "type"');case K.Object:return(0,l.panic)('Cannot look up path that indexes "object"');default:return(0,l.assertNever)(Ne)}}lookupRef($){return this.lookup($,this.path,$)}equals($){if(!($ instanceof p))return!1;if(this.addressURI!==void 0&&$.addressURI!==void 0){if(!this.addressURI.equals($.addressURI))return!1}else if(this.addressURI===void 0!=($.addressURI===void 0))return!1;const ne=this.path.length;if(ne!==$.path.length)return!1;for(let ce=0;ce<ne;ce++)if(!R(this.path[ce],$.path[ce]))return!1;return!0}hashCode(){let $=(0,r.hashCodeOf)((0,r.definedMap)(this.addressURI,ne=>ne.toString()));for(const ne of this.path)switch($=(0,r.addHashCode)($,ne.kind),ne.kind){case K.Type:$=(0,r.addHashCode)($,ne.index);break;case K.KeyOrIndex:$=(0,r.addHashCode)($,(0,r.hashString)(ne.key));break}return $}}e.Ref=p;class a{constructor($,ne,ce=!1){this.haveID=ce,this.canonicalRef=$,this.virtualRef=ne!==void 0?ne:$}updateWithID($){if(typeof $!="string")return this;const ne=p.parse($),ce=this.haveID?ne.resolveAgainst(this.virtualRef):ne;return this.haveID||(0,O.messageAssert)(ce.hasAddress,"SchemaIDMustHaveAddress",A(this,{id:$})),new a(this.canonicalRef,ce,!0)}push(...$){return new a(this.canonicalRef.push(...$),this.virtualRef.push(...$),this.haveID)}pushObject(){return new a(this.canonicalRef.pushObject(),this.virtualRef.pushObject(),this.haveID)}pushType($){return new a(this.canonicalRef.pushType($),this.virtualRef.pushType($),this.haveID)}toString(){return`${this.virtualRef.toString()} (${this.canonicalRef.toString()})`}}class o{constructor($){this._ctx=$,this._map=new r.EqualityMap,this._schemaAddressesAdded=new Set}addIDs($,ne){if($===null)return;if(Array.isArray($)){for(let Ne=0;Ne<$.length;Ne++)this.addIDs($[Ne],ne.push(Ne.toString()));return}if(typeof $!="object")return;const ce=ne,Te=$.$id;typeof Te=="string"&&(ne=ne.updateWithID(Te)),ne.haveID&&(this._ctx.debugPrintSchemaResolving&&console.log(`adding mapping ${ne.toString()}`),this._map.set(ne.virtualRef,ce));for(const Ne of Object.getOwnPropertyNames($))this.addIDs($[Ne],ne.push(Ne))}addSchema($,ne){return this._schemaAddressesAdded.has(ne)?!1:(this.addIDs($,new a(p.root(ne),p.root(void 0))),this._schemaAddressesAdded.add(ne),!0)}canonize($,ne){const ce=ne.resolveAgainst($.virtualRef),Te=this._map.get(ce);if(Te!==void 0)return Te;const Ne=ce.addressURI===void 0?new p($.canonicalRef.addressURI,ce.path):ce;return new a(Ne,new p(void 0,ce.path))}}function f(te,$){let ne;if(typeof te=="string")ne=new Set([te]);else if(Array.isArray(te)){const Ne=[];for(const le of te){if(typeof le!="string")return(0,O.messageError)("SchemaTypeElementMustBeString",A($,{element:le}));Ne.push(le)}ne=new Set(Ne)}else return(0,O.messageError)("SchemaTypeMustBeStringOrStringArray",A($,{actual:te}));(0,O.messageAssert)(ne.size>0,"SchemaNoTypeSpecified",A($));const ce=["null","boolean","object","array","number","string","integer"],Te=(0,r.iterableFind)(ne,Ne=>ce.indexOf(Ne)<0);return Te!==void 0?(0,O.messageError)("SchemaInvalidType",A($,{type:Te})):ne}function h(te,$){if(!Array.isArray(te))return(0,O.messageError)("SchemaRequiredMustBeStringOrStringArray",A($,{actual:te}));for(const ne of te)if(typeof ne!="string")return(0,O.messageError)("SchemaRequiredElementMustBeString",A($,{element:ne}));return te}e.schemaTypeDict={null:!0,boolean:!0,string:!0,integer:!0,number:!0,array:!0,object:!0};const w=Object.getOwnPropertyNames(e.schemaTypeDict);function N(te){const $=(0,r.iterableFind)(u.transformedStringTypeTargetTypeKindsMap,([ne,{jsonSchema:ce}])=>ce===te);if($!==void 0)return $[0]}function F(te,$){return te===void 0?(0,O.messageError)("SchemaFetchErrorTopLevel",{address:$}):(0,O.messageError)("SchemaFetchError",{address:$,base:te.canonicalRef})}class B{constructor($,ne,ce){this._ctx=$,this._store=ne,this._canonizer=ce}tryResolveVirtualRef($,ne,ce){return t(this,void 0,void 0,function*(){let Te=!1;for(;;){const Ne=this._canonizer.canonize($,ce),le=Ne.canonicalRef;(0,l.assert)(le.hasAddress,"Canonical ref can't be resolved without an address");const fe=le.address;let _e=le.addressURI===void 0?void 0:yield this._store.get(fe,this._ctx.debugPrintSchemaResolving);if(_e===void 0)return[void 0,Ne];if(this._canonizer.addSchema(_e,fe))(0,l.assert)(!Te,"We can't add a schema twice"),Te=!0;else{let Y=this._canonizer.canonize(ne,ce);return $!==void 0&&(Y=new a(new p(Ne.canonicalRef.addressURI,Y.canonicalRef.path),Y.virtualRef,Y.haveID)),[Y.canonicalRef.lookupRef(_e),Y]}}})}resolveVirtualRef($,ne){return t(this,void 0,void 0,function*(){this._ctx.debugPrintSchemaResolving&&console.log(`resolving ${ne.toString()} relative to ${$.toString()}`);let ce=yield this.tryResolveVirtualRef($,$,ne),Te=ce[0];if(Te!==void 0)return this._ctx.debugPrintSchemaResolving&&console.log(`resolved to ${ce[1].toString()}`),[Te,ce[1]];const Ne=new a($.canonicalRef,new p($.canonicalRef.addressURI,$.virtualRef.path),$.haveID);return ce=yield this.tryResolveVirtualRef(Ne,$,ne),Te=ce[0],Te!==void 0?(this._ctx.debugPrintSchemaResolving&&console.log(`resolved to ${ce[1].toString()}`),[Te,ce[1]]):F($,ne.address)})}resolveTopLevelRef($){return t(this,void 0,void 0,function*(){return yield this.resolveVirtualRef(new a(new p($.addressURI,[])),new p(void 0,$.path))})}}function W(te,$,ne,ce){return t(this,void 0,void 0,function*(){let Te=new r.EqualityMap;function Ne(Y,M){const q=Te.get(Y.canonicalRef);q!==void 0&&(0,l.assert)(q===M,"Trying to set path again to different type"),Te.set(Y.canonicalRef,M)}function le(Y,M,q,ie,ue,ve=be=>be.toLowerCase()){return t(this,void 0,void 0,function*(){const be=new Set(ie),Me=(0,r.mapSortBy)((0,r.mapFromObject)(q),(Z,D)=>ve(D)),je=yield(0,r.mapMapSync)(Me,(Z,D)=>t(this,void 0,void 0,function*(){const V=Y.push("properties",D),oe=yield _e(_(Z,V.canonicalRef),V,(0,y.makeNamesTypeAttributes)(D,!0)),me=!be.has(D);return $.makeClassProperty(oe,me)}));let he;if(ue===void 0||ue===!0)he=$.getPrimitiveType("any");else if(ue===!1)he=void 0;else{const Z=Y.push("additionalProperties");he=yield _e(_(ue,Z.canonicalRef),Z,(0,y.singularizeTypeNames)(M))}const ye=(0,r.setSubtract)(be,je.keys());if(ye.size>0){const Z=he;if(Z===void 0)return(0,O.messageError)("SchemaAdditionalTypesForbidRequired",A(Y));const D=(0,r.mapFromIterable)(ye,V=>$.makeClassProperty(Z,!1));(0,r.mapMergeInto)(je,D)}return $.getUniqueObjectType(M,je,he)})}function fe(Y,M,q){return t(this,void 0,void 0,function*(){const ie=Array.isArray(Y.enum)?Y.enum:void 0,ue=Y.const!==void 0,ve=(0,r.definedMap)(Y.type,We=>f(We,M));function be(We){var Xe;if(ve!==void 0&&!ve.has(We))return!1;if(ie!==void 0){let Ze;switch(We){case"null":Ze=Qe=>Qe===null;break;case"integer":Ze=Qe=>typeof Qe=="number"&&Qe===Math.floor(Qe);break;default:Ze=Qe=>typeof Qe===We;break}return ie.find(Ze)!==void 0}return ue?We===((Xe=Y.type)!==null&&Xe!==void 0?Xe:typeof Y.const):!0}const Me=(0,r.setFilter)(w,be);let je;function he(We,Xe){let Ze;if(We===void 0&&je!==void 0)Ze=je;else{Ze=[];for(const Qe of ce){const Bt=Qe(Y,M.canonicalRef,Me,We);Bt!==void 0&&Ze.push(Bt)}We===void 0&&(je=Ze)}for(const Qe of Ze)Xe(Qe)}function ye(We){let Xe=T.emptyTypeAttributes;return he(void 0,Ze=>{const Qe=We(Ze);Qe!==void 0&&(Xe=(0,T.combineTypeAttributes)("union",Xe,Qe))}),Xe}function Z(We){return Y.oneOf===void 0&&(We=(0,T.combineTypeAttributes)("union",We,ye(({forType:Xe,forUnion:Ze,forCases:Qe})=>((0,l.assert)(Ze===void 0&&Qe===void 0,"We can't have attributes for unions and cases if we don't have a union"),Xe)))),(0,y.modifyTypeNames)(We,Xe=>{const Ze=(0,l.defined)(Xe);if(!Ze.areInferred)return Ze;let Qe=Y.title;return typeof Qe!="string"&&(Qe=M.canonicalRef.definitionName),typeof Qe=="string"?d.TypeNames.make(new Set([Qe]),new Set,Y.$ref!==void 0):Ze.makeInferred()})}q=Z(q);const D=(0,T.makeTypeAttributesInferred)(q);function V(We){const Xe=N(Y.format);return Xe===void 0?$.getStringType(We,I.StringTypes.unrestricted):$.getPrimitiveType(Xe,We)}function oe(){return t(this,void 0,void 0,function*(){const We=(0,y.singularizeTypeNames)(q),Xe=Y.items;let Ze;if(Array.isArray(Xe)){const Qe=M.push("items"),Bt=yield(0,r.arrayMapSync)(Xe,(cn,en)=>t(this,void 0,void 0,function*(){const ae=Qe.push(en.toString());return yield _e(_(cn,ae.canonicalRef),ae,We)}));Ze=$.getUnionType(T.emptyTypeAttributes,new Set(Bt))}else if(typeof Xe=="object"){const Qe=M.push("items");Ze=yield _e(_(Xe,Qe.canonicalRef),Qe,We)}else{if(Xe!==void 0&&Xe!==!0)return(0,O.messageError)("SchemaArrayItemsMustBeStringOrArray",A(M,{actual:Xe}));Ze=$.getPrimitiveType("any")}return $.addAttributes(Ze,We),$.getArrayType(T.emptyTypeAttributes,Ze)})}function me(){return t(this,void 0,void 0,function*(){let We;Y.required===void 0||typeof Y.required=="boolean"?We=[]:We=Array.from(h(Y.required,M));let Xe;Y.properties===void 0?Xe={}:Xe=b(Y.properties,M.canonicalRef);for(const en of Object.getOwnPropertyNames(Xe))Xe[en].required===!0&&We.indexOf(en)<0&&We.push(en);let Ze=Y.additionalProperties;Ze===void 0&&typeof Y.patternProperties=="object"&&(0,r.hasOwnProperty)(Y.patternProperties,".*")&&(Ze=Y.patternProperties[".*"]);const Qe=(0,T.combineTypeAttributes)("union",D,ye(({forObject:en})=>en)),Bt=Y.quicktypePropertyOrder?Y.quicktypePropertyOrder:[];return yield le(M,Qe,Xe,We,Ze,en=>{const ae=Bt.indexOf(en);return ae!==-1?ae:en.toLowerCase()})})}function Le(We,Xe){return t(this,void 0,void 0,function*(){const Ze=M.push(Xe);return Array.isArray(We)?yield(0,r.arrayMapSync)(We,(Qe,Bt)=>t(this,void 0,void 0,function*(){const cn=Ze.push(Bt.toString());return yield _e(_(Qe,cn.canonicalRef),cn,(0,T.makeTypeAttributesInferred)(q))})):(0,O.messageError)("SchemaSetOperationCasesIsNotArray",A(Ze,{operation:Xe,cases:We}))})}const Oe=$.getUniqueIntersectionType(q,void 0);Ne(M,Oe);function ze(We,Xe){return t(this,void 0,void 0,function*(){const Ze=yield Le(We,Xe);let Qe=(0,T.makeTypeAttributesInferred)(q);Xe==="oneOf"&&he(We,({forType:cn,forUnion:en,forCases:ae})=>{if(cn!==void 0&&$.addAttributes(Oe,cn),en!==void 0&&(Qe=(0,T.combineTypeAttributes)("union",Qe,en)),ae!==void 0){(0,l.assert)(ae.length===Ze.length,"Number of case attributes doesn't match number of cases");for(let de=0;de<Ze.length;de++)$.addAttributes(Ze[de],ae[de])}});const Bt=$.getUniqueUnionType(Qe,void 0);return $.setSetOperationMembers(Bt,new Set(Ze)),Bt})}const nt=ie===void 0&&!ue&&(ve===void 0||ve.has("object")),ut=ie===void 0&&!ue&&(ve===void 0||ve.has("array")),gt=Me.has("string")&&ie!==void 0&&ie.find(We=>typeof We=="string")!==void 0,ct=ve!==void 0||Y.properties!==void 0||Y.additionalProperties!==void 0||Y.items!==void 0||Y.required!==void 0||ie!==void 0||ue,Mn=[];if(ct){const We=[],Xe=ye(({forNumber:Qe})=>Qe);for(const[Qe,Bt]of[["null","null"],["number","double"],["integer","integer"],["boolean","bool"]]){if(!Me.has(Qe))continue;const cn=(0,u.isNumberTypeKind)(Bt)?Xe:void 0;We.push($.getPrimitiveType(Bt,cn))}const Ze=(0,T.combineTypeAttributes)("union",D,ye(({forString:Qe})=>Qe));if(gt||ue){const Qe=ue?[Y.const]:ie.filter(Bt=>typeof Bt=="string");We.push($.getStringType(Ze,I.StringTypes.fromCases(Qe)))}else Me.has("string")&&We.push(V(Ze));ut&&We.push(yield oe()),nt&&We.push(yield me()),Mn.push($.getUniqueUnionType(D,new Set(We)))}if(Y.$ref!==void 0){if(typeof Y.$ref!="string")return(0,O.messageError)("SchemaRefMustBeString",A(M,{actual:typeof Y.$ref}));const We=p.parse(Y.$ref),[Xe,Ze]=yield te.resolveVirtualRef(M,We),Qe=(0,y.modifyTypeNames)(q,Bt=>(0,l.defined)(Bt).areInferred?d.TypeNames.make(new Set([Ze.canonicalRef.name]),new Set,!0):Bt);Mn.push(yield _e(Xe,Ze,Qe))}return Y.allOf!==void 0&&Mn.push(...yield Le(Y.allOf,"allOf")),Y.oneOf!==void 0&&Mn.push(yield ze(Y.oneOf,"oneOf")),Y.anyOf!==void 0&&Mn.push(yield ze(Y.anyOf,"anyOf")),$.setSetOperationMembers(Oe,new Set(Mn)),Oe})}function _e(Y,M,q){return t(this,void 0,void 0,function*(){const ie=Te.get(M.canonicalRef);if(ie!==void 0)return ie;let ue;return typeof Y=="boolean"?((0,O.messageAssert)(Y===!0,"SchemaFalseNotSupported",A(M)),ue=$.getPrimitiveType("any")):(M=M.updateWithID(Y.$id),ue=yield fe(Y,M,q)),Ne(M,ue),ue})}for(const[Y,M]of ne){const[q,ie]=yield te.resolveTopLevelRef(M),ue=yield _e(q,ie,(0,y.makeNamesTypeAttributes)(Y,!1));$.addTopLevel(Y,ue)}})}function Q(te){const $=te.toLowerCase(),ne=[".json",".schema"];for(const ce of ne)if($.endsWith(ce)){const Te=te.slice(0,te.length-ce.length);if(Te.length>0)return Te}return te}function z(te){const $=te.fragment();if($!==""){const ce=$.split("/"),Te=ce.length;if(ce[Te-1]!=="")return Q(ce[Te-1]);if(Te>1&&ce[Te-2]!=="")return Q(ce[Te-2])}const ne=te.filename();return ne!==""?Q(ne):(0,O.messageError)("DriverCannotInferNameForSchema",{uri:te.toString()})}function E(te,$,ne){return t(this,void 0,void 0,function*(){const ce=$.fragment();let Te=ce.endsWith("/");Te&&($=$.clone().fragment(ce.slice(0,-1)));const Ne=p.parseURI($);Ne.isRoot&&(Te=!1);const le=(yield te.resolveTopLevelRef(Ne))[0];if(Te)return typeof le!="object"?(0,O.messageError)("SchemaCannotGetTypesFromBoolean",{ref:Ne.toString()}):(0,r.mapMap)((0,r.mapFromObject)(le),(fe,_e)=>Ne.push(_e));{let fe;if(typeof le=="object"&&typeof le.title=="string")fe=le.title;else{const _e=z($);fe=_e!==void 0?_e:ne}return[fe,Ne]}})}class j extends S.JSONSchemaStore{constructor($,ne){super(),this._inputs=$,this._delegate=ne}fetch($){return t(this,void 0,void 0,function*(){const ne=this._inputs.get($);return ne!==void 0?_((0,l.parseJSON)(ne,"JSON Schema",$),()=>p.root($)):this._delegate===void 0?(0,l.panic)(`Schema URI ${$} requested, but no store given`):yield this._delegate.fetch($)})}}class X{constructor($,ne=[],ce=[]){this._schemaStore=$,this._additionalSchemaAddresses=ce,this.kind="schema",this.needSchemaProcessing=!0,this._schemaInputs=new Map,this._schemaSources=[],this._topLevels=new Map,this._needIR=!1,this._attributeProducers=[k.descriptionAttributeProducer,P.accessorNamesAttributeProducer,m.enumValuesAttributeProducer,G.uriSchemaAttributesProducer,C.minMaxAttributeProducer,J.minMaxLengthAttributeProducer,x.patternAttributeProducer].concat(ne)}get needIR(){return this._needIR}addTopLevel($,ne){this._topLevels.set($,ne)}addTypes($,ne){return t(this,void 0,void 0,function*(){if(this._schemaSources.length===0)return;let ce=this._schemaStore;if(this._schemaInputs.size===0){if(ce===void 0)return(0,l.panic)("Must have a schema store to process JSON Schema")}else ce=this._schemaStore=new j(this._schemaInputs,ce);const Te=ce,Ne=new o($);for(const fe of this._additionalSchemaAddresses){const _e=yield Te.get(fe,$.debugPrintSchemaResolving);if(_e===void 0)return(0,O.messageError)("SchemaFetchErrorAdditional",{address:fe});Ne.addSchema(_e,fe)}const le=new B($,(0,l.defined)(this._schemaStore),Ne);for(const[fe,_e]of this._schemaSources){const Y=_e.name,M=yield E(le,fe,Y);if(Array.isArray(M)){let q;this._schemaSources.length===1&&Y!==void 0?q=Y:q=M[0],this.addTopLevel(q,M[1])}else for(const[q,ie]of M)this.addTopLevel(q,ie)}yield W(le,ne,this._topLevels,this._attributeProducers)})}addTypesSync(){return(0,l.panic)("addTypesSync not supported in JSONSchemaInput")}addSource($){return t(this,void 0,void 0,function*(){return this.addSourceSync($)})}addSourceSync($){const{name:ne,uris:ce,schema:Te,isConverted:Ne}=$;Ne!==!0&&(this._needIR=!0);let le;if(ce===void 0?le=[new i.default(ne)]:le=ce.map(fe=>{const _e=g(fe);return _e.clone().hash("").toString()===""&&_e.path(ne),_e}),Te===void 0)(0,l.assert)(ce!==void 0,"URIs must be given if schema source is not specified");else for(let fe=0;fe<le.length;fe++){const _e=le[fe],Y=_e.clone().hash(""),M=Y.path();let q=0;do q>0&&Y.path(`${M}-${q}`),q++;while(this._schemaInputs.has(Y.toString()));this._schemaInputs.set(Y.toString(),Te),le[fe]=Y.hash(_e.hash())}for(const fe of le)this._schemaSources.push([fe,$])}singleStringSchemaSource(){if(!this._schemaSources.every(([ne,{schema:ce}])=>typeof ce=="string"))return;const $=new Set(this._schemaSources.map(([ne,{schema:ce}])=>ce));if($.size===1)return(0,l.defined)((0,r.iterableFirst)($))}}e.JSONSchemaInput=X}(Zd)),Zd}var g0;function wc(){return g0||(g0=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.descriptionAttributeProducer=e.propertyDescriptionsTypeAttributeKind=e.descriptionTypeAttributeKind=e.addDescriptionToSchema=void 0;const t=He,n=yt,i=Uh();function r(T,S){S!==void 0&&(T.description=Array.from(S).join(`
|
|
179
|
+
`))}e.addDescriptionToSchema=r;class u extends n.TypeAttributeKind{constructor(){super("description")}combine(S){return(0,t.setUnionManyInto)(new Set,S)}makeInferred(S){}addToSchema(S,O,I){r(S,I)}stringify(S){let O=(0,t.iterableFirst)(S);if(O!==void 0)return O.length>8&&(O=`${O.slice(0,5)}...`),S.size>1&&(O=`${O}, ...`),O}}e.descriptionTypeAttributeKind=new u;class l extends n.TypeAttributeKind{constructor(){super("propertyDescriptions")}combine(S){const O=new Map;for(const I of S)(0,t.mapMergeWithInto)(O,(k,P)=>(0,t.setUnion)(k,P),I);return O}makeInferred(S){}stringify(S){if(S.size!==0)return`prop descs: ${S.size}`}}e.propertyDescriptionsTypeAttributeKind=new l;function d(T){return T.kind===i.PathElementKind.KeyOrIndex&&T.key==="properties"}function y(T,S,O){if(typeof T!="object")return;let I=n.emptyTypeAttributes,k=n.emptyTypeAttributes;const P=S.path.length;if(O.has("object")||(0,t.setSubtract)(O,["null"]).size>1||T.enum!==void 0||P<2||!d(S.path[P-2])){const m=T.description;typeof m=="string"&&(I=e.descriptionTypeAttributeKind.makeAttributes(new Set([m])))}if(O.has("object")&&typeof T.properties=="object"){const m=(0,t.mapFilterMap)((0,t.mapFromObject)(T.properties),C=>{if(typeof C=="object"){const J=C.description;if(typeof J=="string")return new Set([J])}});m.size>0&&(k=e.propertyDescriptionsTypeAttributeKind.makeAttributes(m))}return{forType:I,forObject:k}}e.descriptionAttributeProducer=y}(Kd)),Kd}var Qo={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.followTargetType=e.transformationForType=e.transformationTypeAttributeKind=e.Transformation=e.MinMaxValueTransformer=e.MinMaxLengthCheckTransformer=e.StringifyTransformer=e.ParseStringTransformer=e.StringProducerTransformer=e.UnionInstantiationTransformer=e.StringMatchTransformer=e.UnionMemberMatchTransformer=e.DecodingChoiceTransformer=e.ChoiceTransformer=e.ArrayEncodingTransformer=e.ArrayDecodingTransformer=e.EncodingTransformer=e.DecodingTransformer=e.MatchTransformer=e.ProducerTransformer=e.Transformer=void 0;const t=He,n=lt(),i=yt,r=Ie,u=vi();function l(a){const o=p(a);return a===o?a.kind:`${a.kind} (${o.kind})`}function d(a){return(0,t.definedMapWithDefault)(a,0,o=>o.getNumberOfNodes())}class y{constructor(o,f,h){this.kind=o,this.graph=f,this.sourceTypeRef=h}get sourceType(){return(0,u.derefTypeRef)(this.sourceTypeRef,this.graph)}getChildren(){return new Set([this.sourceType])}getNumberOfNodes(){return 1}equals(o){return o instanceof y?this.sourceTypeRef===o.sourceTypeRef:!1}hashCode(){return(0,t.hashCodeOf)(this.sourceTypeRef)}debugDescription(){return`${l(this.sourceType)} -> ${this.kind}`}debugPrintContinuations(o){}debugPrint(o){console.log((0,r.indentationString)(o)+this.debugDescription()),this.debugPrintContinuations(o+1)}}e.Transformer=y;class T extends y{constructor(o,f,h,w){super(o,f,h),this.consumer=w}getChildren(){const o=super.getChildren();return this.consumer===void 0?o:(0,t.setUnionInto)(o,this.consumer.getChildren())}getNumberOfNodes(){return super.getNumberOfNodes()+d(this.consumer)}equals(o){return!super.equals(o)||!(o instanceof T)?!1:(0,t.areEqual)(this.consumer,o.consumer)}hashCode(){const o=super.hashCode();return(0,t.addHashCode)(o,(0,t.hashCodeOf)(this.consumer))}debugPrintContinuations(o){this.consumer!==void 0&&this.consumer.debugPrint(o)}}e.ProducerTransformer=T;class S extends y{constructor(o,f,h,w){super(o,f,h),this.transformer=w}getChildren(){return(0,t.setUnionInto)(super.getChildren(),this.transformer.getChildren())}getNumberOfNodes(){return super.getNumberOfNodes()+this.transformer.getNumberOfNodes()}equals(o){return!super.equals(o)||!(o instanceof S)?!1:this.transformer.equals(o.transformer)}hashCode(){const o=super.hashCode();return(0,t.addHashCode)(o,this.transformer.hashCode())}debugPrintContinuations(o){this.transformer.debugPrint(o)}}e.MatchTransformer=S;class O extends T{constructor(o,f,h){super("decode",o,f,h)}get canFail(){return!1}reverse(o,f){return f!==void 0?(0,r.panic)("Reversing a decoding transformer cannot have a continuation"):this.consumer===void 0?new I(this.graph,o):this.consumer.reverse(o,new I(this.graph,this.consumer.sourceTypeRef))}reconstitute(o){return new O(o.typeGraph,o.reconstituteTypeRef(this.sourceTypeRef),(0,t.definedMap)(this.consumer,f=>f.reconstitute(o)))}equals(o){return super.equals(o)?o instanceof O:!1}}e.DecodingTransformer=O;class I extends y{constructor(o,f){super("encode",o,f)}get canFail(){return!1}reverse(o,f){return(0,r.panic)("Can't reverse encoding transformer")}reconstitute(o){return new I(o.typeGraph,o.reconstituteTypeRef(this.sourceTypeRef))}equals(o){return!(!super.equals(o)||!(o instanceof I))}}e.EncodingTransformer=I;class k extends T{constructor(o,f,h,w,N){super("decode-array",o,f,h),this._itemTargetTypeRef=w,this.itemTransformer=N}getChildren(){const o=super.getChildren();return o.add(this.itemTargetType),(0,t.setUnionInto)(o,this.itemTransformer.getChildren())}getNumberOfNodes(){return super.getNumberOfNodes()+this.itemTransformer.getNumberOfNodes()}get canFail(){return!1}get itemTargetType(){return(0,u.derefTypeRef)(this._itemTargetTypeRef,this.graph)}reverse(o,f){if(f!==void 0)return(0,r.panic)("Reversing a decoding transformer cannot have a continuation");const h=this.itemTransformer.reverse(this._itemTargetTypeRef,void 0);return this.consumer===void 0?new P(this.graph,o,this.itemTransformer.sourceTypeRef,h):this.consumer.reverse(o,new P(this.graph,this.consumer.sourceTypeRef,this.itemTransformer.sourceTypeRef,h))}reconstitute(o){return new k(o.typeGraph,o.reconstituteTypeRef(this.sourceTypeRef),(0,t.definedMap)(this.consumer,f=>f.reconstitute(o)),o.reconstituteTypeRef(this._itemTargetTypeRef),this.itemTransformer.reconstitute(o))}hashCode(){let o=super.hashCode();return o=(0,t.addHashCode)(o,(0,t.hashCodeOf)(this._itemTargetTypeRef)),o=(0,t.addHashCode)(o,this.itemTransformer.hashCode()),o}equals(o){return!super.equals(o)||!(o instanceof k)||!(0,t.areEqual)(this._itemTargetTypeRef,o._itemTargetTypeRef)?!1:this.itemTransformer.equals(o.itemTransformer)}debugPrintContinuations(o){this.itemTransformer.debugPrint(o),super.debugPrintContinuations(o)}}e.ArrayDecodingTransformer=k;class P extends y{constructor(o,f,h,w){super("encode-array",o,f),this._itemTargetTypeRef=h,this.itemTransformer=w}getChildren(){const o=super.getChildren();return o.add(this.itemTargetType),(0,t.setUnionInto)(o,this.itemTransformer.getChildren())}getNumberOfNodes(){return super.getNumberOfNodes()+this.itemTransformer.getNumberOfNodes()}get canFail(){return!1}get itemTargetType(){return(0,u.derefTypeRef)(this._itemTargetTypeRef,this.graph)}reverse(o,f){return(0,r.panic)("Can't reverse array encoding transformer")}reconstitute(o){return new P(o.typeGraph,o.reconstituteTypeRef(this.sourceTypeRef),o.reconstituteTypeRef(this._itemTargetTypeRef),this.itemTransformer.reconstitute(o))}hashCode(){let o=super.hashCode();return o=(0,t.addHashCode)(o,(0,t.hashCodeOf)(this._itemTargetTypeRef)),(0,t.addHashCode)(o,this.itemTransformer.hashCode())}equals(o){return!super.equals(o)||!(o instanceof P)||!(0,t.areEqual)(this._itemTargetTypeRef,o._itemTargetTypeRef)?!1:this.itemTransformer.equals(o.itemTransformer)}debugPrintContinuations(o){this.itemTransformer.debugPrint(o),super.debugPrintContinuations(o)}}e.ArrayEncodingTransformer=P;class m extends y{constructor(o,f,h){super("choice",o,f),this.transformers=h,(0,r.assert)(h.length>0,"Choice must have at least one transformer")}getChildren(){let o=super.getChildren();for(const f of this.transformers)(0,t.setUnionInto)(o,f.getChildren());return o}getNumberOfNodes(){let o=0;for(const f of this.transformers)o+=f.getNumberOfNodes();return super.getNumberOfNodes()+o}get canFail(){return this.transformers.some(o=>o.canFail)}reverse(o,f){const h=this.transformers.map(w=>w.reverse(o,f));if(h.every(w=>w instanceof J)){const w=h,N=w[0];if(w.every(F=>N.memberType.equals(F.memberType))){const F=w.map(B=>B.transformer);return new J(this.graph,o,new m(this.graph,F[0].sourceTypeRef,F),N.memberTypeRef)}}return new m(this.graph,o,h)}reconstitute(o){return new m(o.typeGraph,o.reconstituteTypeRef(this.sourceTypeRef),this.transformers.map(f=>f.reconstitute(o)))}equals(o){return!super.equals(o)||!(o instanceof m)?!1:(0,t.areEqual)(this.transformers,o.transformers)}hashCode(){const o=super.hashCode();return(0,t.addHashCode)(o,(0,t.hashCodeOf)(this.transformers))}debugPrintContinuations(o){for(const f of this.transformers)f.debugPrint(o)}}e.ChoiceTransformer=m;class C extends y{constructor(o,f,h,w,N,F,B,W,Q){super("decoding-choice",o,f),this.nullTransformer=h,this.integerTransformer=w,this.doubleTransformer=N,this.boolTransformer=F,this.stringTransformer=B,this.arrayTransformer=W,this.objectTransformer=Q}get transformers(){const o=[];function f(h){h!==void 0&&o.push(h)}return f(this.nullTransformer),f(this.integerTransformer),f(this.doubleTransformer),f(this.boolTransformer),f(this.stringTransformer),f(this.arrayTransformer),f(this.objectTransformer),o}getChildren(){let o=super.getChildren();for(const f of this.transformers)(0,t.setUnionInto)(o,f.getChildren());return o}getNumberOfNodes(){let o=super.getNumberOfNodes();for(const f of this.transformers)o+=d(f);return o}get canFail(){return!1}reverse(o,f){(0,r.assert)(f===void 0,"Reversing a decoding transformer can't have a target transformer");let h=new Map,w=new Map;function N(z){if(z instanceof J){const E=z.memberType;let j=w.get(E);j===void 0&&(j=[],w.set(E,j)),j.push(z)}else{const E=z.sourceType.kind;let j=h.get(E);j===void 0&&(j=[],h.set(E,j)),j.push(z)}}function F(z){const E=z.reverse(o,void 0);let j=[];E instanceof m?j=E.transformers:j=[E];for(const X of j)N(X)}function B(z){(0,r.assert)(z.length>0,"Must have at least one transformer");const E=z.filter(X=>X instanceof J?!X.transformer.canFail:!X.canFail);return E.length===0?z:[(0,t.arraySortByInto)(E.map(X=>[X.getNumberOfNodes(),X]),([X,te])=>X)[0][1]]}this.transformers.forEach(F);const W=Array.from(h.values()).concat(Array.from(w.values())),Q=[].concat(...W.map(B));return Q.length===1?Q[0]:new m(this.graph,o,Q)}reconstitute(o){function f(h){if(h!==void 0)return h.reconstitute(o)}return new C(o.typeGraph,o.reconstituteTypeRef(this.sourceTypeRef),f(this.nullTransformer),f(this.integerTransformer),f(this.doubleTransformer),f(this.boolTransformer),f(this.stringTransformer),f(this.arrayTransformer),f(this.objectTransformer))}equals(o){return!(!super.equals(o)||!(o instanceof C)||!(0,t.areEqual)(this.nullTransformer,o.nullTransformer)||!(0,t.areEqual)(this.integerTransformer,o.integerTransformer)||!(0,t.areEqual)(this.doubleTransformer,o.doubleTransformer)||!(0,t.areEqual)(this.boolTransformer,o.boolTransformer)||!(0,t.areEqual)(this.stringTransformer,o.stringTransformer)||!(0,t.areEqual)(this.arrayTransformer,o.arrayTransformer)||!(0,t.areEqual)(this.objectTransformer,o.objectTransformer))}hashCode(){let o=super.hashCode();return o=(0,t.addHashCode)(o,(0,t.hashCodeOf)(this.nullTransformer)),o=(0,t.addHashCode)(o,(0,t.hashCodeOf)(this.integerTransformer)),o=(0,t.addHashCode)(o,(0,t.hashCodeOf)(this.doubleTransformer)),o=(0,t.addHashCode)(o,(0,t.hashCodeOf)(this.boolTransformer)),o=(0,t.addHashCode)(o,(0,t.hashCodeOf)(this.stringTransformer)),o=(0,t.addHashCode)(o,(0,t.hashCodeOf)(this.arrayTransformer)),o=(0,t.addHashCode)(o,(0,t.hashCodeOf)(this.objectTransformer)),o}debugPrintContinuations(o){for(const f of this.transformers)f.debugPrint(o)}}e.DecodingChoiceTransformer=C;class J extends S{constructor(o,f,h,w){super("union-member-match",o,f,h),this.memberTypeRef=w}get sourceType(){const o=(0,u.derefTypeRef)(this.sourceTypeRef,this.graph);return o instanceof n.UnionType?o:(0,r.panic)("The source of a union member match transformer must be a union type")}get canFail(){return!0}get memberType(){return(0,u.derefTypeRef)(this.memberTypeRef,this.graph)}getChildren(){return super.getChildren().add(this.memberType)}reverse(o,f){return(0,r.panic)("Can't reverse union member match transformer")}reconstitute(o){return new J(o.typeGraph,o.reconstituteTypeRef(this.sourceTypeRef),this.transformer.reconstitute(o),o.reconstituteTypeRef(this.memberTypeRef))}equals(o){return!super.equals(o)||!(o instanceof J)?!1:this.memberTypeRef===o.memberTypeRef}hashCode(){const o=super.hashCode();return(0,t.addHashCode)(o,(0,t.hashCodeOf)(this.memberTypeRef))}debugDescription(){return`${super.debugDescription()} - member: ${l(this.memberType)}`}}e.UnionMemberMatchTransformer=J;class x extends S{constructor(o,f,h,w){super("string-match",o,f,h),this.stringCase=w}get sourceType(){const o=(0,u.derefTypeRef)(this.sourceTypeRef,this.graph);return!(o instanceof n.EnumType)&&!(o instanceof n.PrimitiveType&&o.kind==="string")?(0,r.panic)("The source of a string match transformer must be an enum or string type"):o}get canFail(){return!0}reverse(o,f){return this.transformer.reverse(o,new K(this.graph,this.transformer.sourceTypeRef,f,this.stringCase))}reconstitute(o){return new x(o.typeGraph,o.reconstituteTypeRef(this.sourceTypeRef),this.transformer.reconstitute(o),this.stringCase)}equals(o){return!super.equals(o)||!(o instanceof x)?!1:this.stringCase!==o.stringCase}hashCode(){const o=super.hashCode();return(0,t.addHashCode)(o,(0,t.hashString)(this.stringCase))}debugDescription(){return`${super.debugDescription()} - case: ${this.stringCase}`}}e.StringMatchTransformer=x;class G extends y{constructor(o,f){super("union-instantiation",o,f)}get canFail(){return!1}reverse(o,f){return f===void 0?(0,r.panic)("Union instantiation transformer reverse must have a continuation"):new J(this.graph,o,f,this.sourceTypeRef)}reconstitute(o){return new G(o.typeGraph,o.reconstituteTypeRef(this.sourceTypeRef))}equals(o){return super.equals(o)?o instanceof G:!1}}e.UnionInstantiationTransformer=G;class K extends T{constructor(o,f,h,w){super("string-producer",o,f,h),this.result=w}get canFail(){return!1}reverse(o,f){return f===void 0?(0,r.panic)("Reversing a string producer transformer must have a continuation"):this.consumer===void 0?new x(this.graph,o,f,this.result):this.consumer.reverse(o,new x(this.graph,this.consumer.sourceTypeRef,f,this.result))}reconstitute(o){return new K(o.typeGraph,o.reconstituteTypeRef(this.sourceTypeRef),(0,t.definedMap)(this.consumer,f=>f.reconstitute(o)),this.result)}equals(o){return!super.equals(o)||!(o instanceof K)?!1:this.result===o.result}hashCode(){const o=super.hashCode();return(0,t.addHashCode)(o,(0,t.hashCodeOf)(this.consumer))}debugDescription(){return`${super.debugDescription()} - result: ${this.result}`}}e.StringProducerTransformer=K;class U extends T{constructor(o,f,h){super("parse-string",o,f,h)}get canFail(){return!0}reverse(o,f){return this.consumer===void 0?new R(this.graph,o,f):this.consumer.reverse(o,new R(this.graph,this.consumer.sourceTypeRef,f))}reconstitute(o){return new U(o.typeGraph,o.reconstituteTypeRef(this.sourceTypeRef),(0,t.definedMap)(this.consumer,f=>f.reconstitute(o)))}equals(o){return super.equals(o)?o instanceof U:!1}}e.ParseStringTransformer=U;class R extends T{constructor(o,f,h){super("stringify",o,f,h)}get canFail(){return!1}reverse(o,f){return this.consumer===void 0?new U(this.graph,o,f):this.consumer.reverse(o,new U(this.graph,this.consumer.sourceTypeRef,f))}reconstitute(o){return new R(o.typeGraph,o.reconstituteTypeRef(this.sourceTypeRef),(0,t.definedMap)(this.consumer,f=>f.reconstitute(o)))}equals(o){return super.equals(o)?o instanceof R:!1}}e.StringifyTransformer=R;class A extends T{constructor(o,f,h,w,N){super("min-max-length-check",o,f,h),this.minLength=w,this.maxLength=N}get canFail(){return!0}reverse(o,f){return this.consumer===void 0?new A(this.graph,o,f,this.minLength,this.maxLength):this.consumer.reverse(o,new A(this.graph,this.consumer.sourceTypeRef,f,this.minLength,this.maxLength))}reconstitute(o){return new A(o.typeGraph,o.reconstituteTypeRef(this.sourceTypeRef),(0,t.definedMap)(this.consumer,f=>f.reconstitute(o)),this.minLength,this.maxLength)}equals(o){return super.equals(o)?o instanceof A&&this.minLength===o.minLength&&this.maxLength===o.maxLength:!1}}e.MinMaxLengthCheckTransformer=A;class b extends T{constructor(o,f,h,w,N){super("min-max-value-check",o,f,h),this.minimum=w,this.maximum=N}get canFail(){return!0}reverse(o,f){return this.consumer===void 0?new b(this.graph,o,f,this.minimum,this.maximum):this.consumer.reverse(o,new b(this.graph,this.consumer.sourceTypeRef,f,this.minimum,this.maximum))}reconstitute(o){return new b(o.typeGraph,o.reconstituteTypeRef(this.sourceTypeRef),(0,t.definedMap)(this.consumer,f=>f.reconstitute(o)),this.minimum,this.maximum)}equals(o){return super.equals(o)?o instanceof b&&this.minimum===o.minimum&&this.maximum===o.maximum:!1}}e.MinMaxValueTransformer=b;class _{constructor(o,f,h){this._graph=o,this._targetTypeRef=f,this.transformer=h}get sourceType(){return this.transformer.sourceType}get targetType(){return(0,u.derefTypeRef)(this._targetTypeRef,this._graph)}get reverse(){return new _(this._graph,this.transformer.sourceTypeRef,this.transformer.reverse(this._targetTypeRef,void 0))}getChildren(){return this.transformer.getChildren().add(this.targetType)}reconstitute(o){return new _(o.typeGraph,o.reconstituteTypeRef(this._targetTypeRef),this.transformer.reconstitute(o))}equals(o){return o instanceof _?this._targetTypeRef===o._targetTypeRef&&this.transformer.equals(o.transformer):!1}hashCode(){let o=(0,t.hashCodeOf)(this._targetTypeRef);return o=(0,t.addHashCode)(o,this.transformer.hashCode()),o}debugPrint(){this.transformer.debugPrint(0),console.log(`-> ${l(this.targetType)}`)}}e.Transformation=_;class L extends i.TypeAttributeKind{constructor(){super("transformation")}appliesToTypeKind(o){return!0}get inIdentity(){return!0}children(o){return o.getChildren()}reconstitute(o,f){return f.reconstitute(o)}stringify(o){return"transformation"}}e.transformationTypeAttributeKind=new L;function g(a){return e.transformationTypeAttributeKind.tryGetInAttributes(a.getAttributes())}e.transformationForType=g;function p(a){for(;;){const o=g(a);if(o===void 0)return a;a=o.targetType}}e.followTargetType=p})(Qo);var _c={};Object.defineProperty(_c,"__esModule",{value:!0});_c.isStringComment=void 0;const eM=e=>typeof e=="string";_c.isStringComment=eM;var qv={exports:{}},qu=qv.exports=function(e,t,n){typeof e=="object"&&(n=e,e=n.start,t=n.stop),typeof t=="object"&&(n=t,e=e||n.start,t=void 0),t||(t=e,e=0),n||(n={});var i=n.mode||"soft",r=i==="hard"?/\b/:/(\S+\s+)/;return function(u){var l=u.toString().split(r).reduce(function(d,y){if(i==="hard")for(var T=0;T<y.length;T+=t-e)d.push(y.slice(T,T+t-e));else d.push(y);return d},[]);return l.reduce(function(d,y){if(y==="")return d;var T=y.replace(/\t/g," "),S=d.length-1;if(d[S].length+T.length>t)d[S]=d[S].replace(/\s+$/,""),T.split(/\n/).forEach(function(I){d.push(new Array(e+1).join(" ")+I.replace(/^\s+/,""))});else if(T.match(/\n/)){var O=T.split(/\n/);d[S]+=O.shift(),O.forEach(function(I){d.push(new Array(e+1).join(" ")+I.replace(/^\s+/,""))})}else d[S]+=T;return d},[new Array(e+1).join(" ")]).join(`
|
|
180
|
+
`)}};qu.soft=qu;qu.hard=function(e,t){return qu(e,t,{mode:"hard"})};var tM=qv.exports;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ConvenienceRenderer=e.inferredNameOrder=e.topLevelNameOrder=void 0;const t=He,n=lt(),i=ot(),r=qe,u=Sc,l=Ie,d=St(),y=et,T=Hr,S=vi(),O=yt,I=wc(),k=Zo,P=Qo,m=_c,C=tM(90);e.topLevelNameOrder=1;const J=10;e.inferredNameOrder=30;const x=20,G=10,K=20,U=10,R=40;function A(a){if(a===void 0)return;const o=Array.from(a).join(`
|
|
181
|
+
|
|
182
|
+
`).trim();if(o!=="")return C(o).split(`
|
|
183
|
+
`).map(f=>f.trim())}const b=new O.TypeAttributeKind("assignedName"),_=new O.TypeAttributeKind("assignedPropertyNames"),L=new O.TypeAttributeKind("assignedMemberNames"),g=new O.TypeAttributeKind("assignedCaseNames");class p extends u.Renderer{constructor(o,f){super(o,f),this._alphabetizeProperties=!1}get topLevels(){return this.typeGraph.topLevels}forbiddenNamesForGlobalNamespace(){return[]}forbiddenForObjectProperties(o,f){return{names:[],includeGlobalForbidden:!1}}forbiddenForUnionMembers(o,f){return{names:[],includeGlobalForbidden:!1}}forbiddenForEnumCases(o,f){return{names:[],includeGlobalForbidden:!1}}makeTopLevelDependencyNames(o,f){return[]}makeNamedTypeDependencyNames(o,f){return[]}makeNameForTransformation(o,f){}namedTypeToNameForTopLevel(o){if((0,i.isNamedType)(o))return o}get unionMembersInGlobalNamespace(){return!1}get enumCasesInGlobalNamespace(){return!1}get needsTypeDeclarationBeforeUse(){return!1}canBeForwardDeclared(o){return(0,l.panic)("If needsTypeDeclarationBeforeUse returns true, canBeForwardDeclared must be implemented")}unionNeedsName(o){return(0,i.nullableFromUnion)(o)===null}get globalNamespace(){return(0,l.defined)(this._globalNamespace)}get nameStoreView(){return(0,l.defined)(this._nameStoreView)}descriptionForType(o){let f=this.typeGraph.attributeStore.tryGet(I.descriptionTypeAttributeKind,o);return A(f)}descriptionForClassProperty(o,f){const h=this.typeGraph.attributeStore.tryGet(I.propertyDescriptionsTypeAttributeKind,o);if(h!==void 0)return A(h.get(f))}setUpNaming(){this._nameStoreView=new S.TypeAttributeStoreView(this.typeGraph.attributeStore,b),this._propertyNamesStoreView=new S.TypeAttributeStoreView(this.typeGraph.attributeStore,_),this._memberNamesStoreView=new S.TypeAttributeStoreView(this.typeGraph.attributeStore,L),this._caseNamesStoreView=new S.TypeAttributeStoreView(this.typeGraph.attributeStore,g),this._namesForTransformations=new Map,this._namedTypeNamer=this.makeNamedTypeNamer(),this._unionMemberNamer=this.makeUnionMemberNamer(),this._enumCaseNamer=this.makeEnumCaseNamer(),this._globalForbiddenNamespace=(0,r.keywordNamespace)("forbidden",this.forbiddenNamesForGlobalNamespace()),this._otherForbiddenNamespaces=new Map,this._globalNamespace=new r.Namespace("global",void 0,[this._globalForbiddenNamespace],[]);const{objects:o,enums:f,unions:h}=this.typeGraph.allNamedTypesSeparated(),w=(0,t.setFilter)(h,N=>this.unionNeedsName(N));for(const[N,F]of this.topLevels)this.nameStoreView.setForTopLevel(N,this.addNameForTopLevel(F,N));for(const N of o){const F=this.addNameForNamedType(N);this.addPropertyNames(N,F)}for(const N of f){const F=this.addNameForNamedType(N);this.addEnumCaseNames(N,F)}for(const N of w){const F=this.addNameForNamedType(N);this.addUnionMemberNames(N,F)}for(const N of this.typeGraph.allTypesUnordered())this.addNameForTransformation(N);return(0,t.setUnion)([this._globalForbiddenNamespace,this._globalNamespace],this._otherForbiddenNamespaces.values())}addDependenciesForNamedType(o,f){const h=this.makeNamedTypeDependencyNames(o,f);for(const w of h)this.globalNamespace.add(w)}makeNameForTopLevel(o,f,h){return new r.SimpleName([f],(0,l.defined)(this._namedTypeNamer),e.topLevelNameOrder)}addNameForTopLevel(o,f){const h=this.namedTypeToNameForTopLevel(o),w=this.makeNameForTopLevel(o,f,h);this.globalNamespace.add(w);const N=this.makeTopLevelDependencyNames(o,w);for(const F of N)this.globalNamespace.add(F);return h!==void 0&&(this.addDependenciesForNamedType(h,w),this.nameStoreView.set(h,w)),w}makeNameForType(o,f,h,w){const N=o.getNames(),F=N.areInferred?w:h;return new r.SimpleName(N.proposedNames,f,F)}makeNameForNamedType(o){return this.makeNameForType(o,(0,l.defined)(this._namedTypeNamer),J,e.inferredNameOrder)}addNameForNamedType(o){const f=this.nameStoreView.tryGet(o);if(f!==void 0)return f;const h=this.globalNamespace.add(this.makeNameForNamedType(o));return this.addDependenciesForNamedType(o,h),this.nameStoreView.set(o,h),h}get typesWithNamedTransformations(){return(0,l.defined)(this._namesForTransformations)}nameForTransformation(o){if((0,P.transformationForType)(o)===void 0)return;const h=(0,l.defined)(this._namesForTransformations).get(o);return h===void 0?(0,l.panic)("No name for transformation"):h}addNameForTransformation(o){const f=(0,P.transformationForType)(o);if(f===void 0)return;(0,l.assert)((0,l.defined)(this._namesForTransformations).get(o)===void 0,"Tried to give two names to the same transformation");const h=this.makeNameForTransformation(f,this.nameStoreView.tryGet(f.targetType));h!==void 0&&(this.globalNamespace.add(h),(0,l.defined)(this._namesForTransformations).set(o,h))}processForbiddenWordsInfo(o,f){const h=[],w=[];for(const B of o.names)typeof B=="string"?w.push(B):h.push(B);let N=(0,l.defined)(this._otherForbiddenNamespaces).get(f);w.length>0&&N===void 0&&(N=(0,r.keywordNamespace)(f,w),this._otherForbiddenNamespaces=(0,l.defined)(this._otherForbiddenNamespaces).set(f,N));let F=new Set;return o.includeGlobalForbidden&&(F=F.add((0,l.defined)(this._globalForbiddenNamespace))),N!==void 0&&(F=F.add(N)),{forbiddenNames:new Set(h),forbiddenNamespaces:F}}makeNameForProperty(o,f,h,w,N){const F=this.namerForObjectProperty(o,h);if(F===null)return;const B=`${o.getCombinedName()}_${w}`,W=N===void 0?x:G,Q=N===void 0?[w,B]:[N];return new r.SimpleName(Q,F,W)}makePropertyDependencyNames(o,f,h,w,N){return[]}addPropertyNames(o,f){const{forbiddenNames:h,forbiddenNamespaces:w}=this.processForbiddenWordsInfo(this.forbiddenForObjectProperties(o,f),"forbidden-for-properties");let N;const F=(0,k.objectPropertyNames)(o,this.targetLanguage.name),B=(0,t.mapFilterMap)(o.getSortedProperties(),(W,Q)=>{const[z,E]=(0,k.getAccessorName)(F,Q);let j;if(E?j=new r.FixedName((0,l.defined)(z)):j=this.makeNameForProperty(o,f,W,Q,z),j!==void 0){N===void 0&&(N=new r.Namespace(o.getCombinedName(),this.globalNamespace,w,h)),N.add(j);for(const X of this.makePropertyDependencyNames(o,f,W,Q,j))N.add(X);return j}});(0,l.defined)(this._propertyNamesStoreView).set(o,B)}makeNameForUnionMember(o,f,h){const[w,N]=(0,k.unionMemberName)(o,h,this.targetLanguage.name);return N?new r.FixedName((0,l.defined)(w)):new r.DependencyName((0,l.nonNull)(this._unionMemberNamer),R,F=>w!==void 0?w:this.proposeUnionMemberName(o,f,h,F))}addUnionMemberNames(o,f){if(this._unionMemberNamer===null)return;const{forbiddenNames:w,forbiddenNamespaces:N}=this.processForbiddenWordsInfo(this.forbiddenForUnionMembers(o,f),"forbidden-for-union-members");let F;this.unionMembersInGlobalNamespace?F=this.globalNamespace:F=new r.Namespace(o.getCombinedName(),this.globalNamespace,N,w);let B=new Map;for(const W of o.members){const Q=this.makeNameForUnionMember(o,f,(0,P.followTargetType)(W));B.set(W,F.add(Q))}(0,l.defined)(this._memberNamesStoreView).set(o,B)}makeNameForEnumCase(o,f,h,w){const N=`${o.getCombinedName()}_${h}`,F=w===void 0?K:U,B=w===void 0?[h,N]:[w];return new r.SimpleName(B,(0,l.nonNull)(this._enumCaseNamer),F)}addEnumCaseNames(o,f){if(this._enumCaseNamer===null)return;const{forbiddenNames:h,forbiddenNamespaces:w}=this.processForbiddenWordsInfo(this.forbiddenForEnumCases(o,f),"forbidden-for-enum-cases");let N;this.enumCasesInGlobalNamespace?N=this.globalNamespace:N=new r.Namespace(o.getCombinedName(),this.globalNamespace,w,h);let F=new Map;const B=(0,k.enumCaseNames)(o,this.targetLanguage.name);for(const W of o.cases){const[Q,z]=(0,k.getAccessorName)(B,W);let E;z?E=new r.FixedName((0,l.defined)(Q)):E=this.makeNameForEnumCase(o,f,W,Q),F.set(W,N.add(E))}(0,l.defined)(this._caseNamesStoreView).set(o,F)}childrenOfType(o){const f=this.names;if(o instanceof n.ClassType){const h=(0,l.defined)(this._propertyNamesStoreView).get(o),w=(0,t.mapFilterMap)(o.getProperties(),(F,B)=>{if(h.get(B)!==void 0)return F.type}),N=(0,t.mapSortBy)(w,(F,B)=>(0,l.defined)(f.get((0,l.defined)(h.get(B)))));return new Set(N.values())}return o.getChildren()}get namedUnions(){return(0,l.defined)(this._namedUnions)}get haveNamedUnions(){return this.namedUnions.size>0}get haveNamedTypes(){return(0,l.defined)(this._namedTypes).length>0}get haveUnions(){return(0,l.defined)(this._haveUnions)}get haveMaps(){return(0,l.defined)(this._haveMaps)}get haveOptionalProperties(){return(0,l.defined)(this._haveOptionalProperties)}get enums(){return(0,l.defined)(this._namedEnums)}get haveEnums(){return this.enums.size>0}proposedUnionMemberNameForTypeKind(o){return null}proposeUnionMemberName(o,f,h,w){const N=this.proposedUnionMemberNameForTypeKind(h.kind);if(N!==null)return N;const F=B=>(0,i.matchTypeExhaustive)(B,W=>(0,l.panic)("none type should have been replaced"),W=>"anything",W=>"null",W=>"bool",W=>"integer",W=>"double",W=>"string",W=>F(W.items)+"_array",W=>w(this.nameForNamedType(W)),W=>F(W.values)+"_map",W=>((0,l.assert)(this.targetLanguage.supportsFullObjectType,"Object type should have been replaced in `replaceObjectType`"),w(this.nameForNamedType(W))),W=>"enum",W=>"union",W=>W.kind.replace("-","_"));return F(h)}nameForNamedType(o){return this.nameStoreView.get(o)}isForwardDeclaredType(o){return(0,l.defined)(this._declarationIR).forwardedTypes.has(o)}isImplicitCycleBreaker(o){return(0,l.panic)("A renderer that invokes isCycleBreakerType must implement isImplicitCycleBreaker")}canBreakCycles(o){return!0}isCycleBreakerType(o){return this._cycleBreakerTypes===void 0&&(this._cycleBreakerTypes=(0,T.cycleBreakerTypesForGraph)(this.typeGraph,f=>this.isImplicitCycleBreaker(f),f=>this.canBreakCycles(f))),this._cycleBreakerTypes.has(o)}forEachTopLevel(o,f,h){let w;return h!==void 0?w=(0,t.mapFilter)(this.topLevels,h):w=this.topLevels,this.forEachWithBlankLines(w,o,(N,F,B)=>f(N,this.nameStoreView.getForTopLevel(F),B))}forEachDeclaration(o,f){this.forEachWithBlankLines((0,t.iterableEnumerate)((0,l.defined)(this._declarationIR).declarations),o,(h,w,N)=>f(h,N))}setAlphabetizeProperties(o){this._alphabetizeProperties=o}getAlphabetizeProperties(){return this._alphabetizeProperties}propertyCount(o){return(0,l.defined)(this._propertyNamesStoreView).get(o).size}sortClassProperties(o,f){return this._alphabetizeProperties?(0,t.mapSortBy)(o,(h,w)=>{const N=(0,l.defined)(f.get(w));return(0,l.defined)(this.names.get(N))}):o}forEachClassProperty(o,f,h){const w=(0,l.defined)(this._propertyNamesStoreView).get(o),N=this.sortClassProperties(o.getProperties(),w);this.forEachWithBlankLines(N,f,(F,B,W)=>{const Q=(0,l.defined)(w.get(B));h(Q,B,F,W)})}nameForUnionMember(o,f){return(0,l.defined)((0,l.defined)(this._memberNamesStoreView).get(o).get(f))}nameForEnumCase(o,f){const h=(0,l.defined)(this._caseNamesStoreView).get(o);return(0,l.defined)(h.get(f))}forEachUnionMember(o,f,h,w,N){const F=f===null?o.members:f;w===null&&(w=Q=>(0,l.defined)(this.names.get(Q)));const B=(0,t.mapFilter)((0,l.defined)(this._memberNamesStoreView).get(o),(Q,z)=>F.has(z)),W=(0,t.mapSortBy)(B,w);this.forEachWithBlankLines(W,h,N)}forEachEnumCase(o,f,h){const w=(0,l.defined)(this._caseNamesStoreView).get(o),N=(0,t.mapSortBy)(w,F=>(0,l.defined)(this.names.get(F)));this.forEachWithBlankLines(N,f,h)}forEachTransformation(o,f){this.forEachWithBlankLines((0,l.defined)(this._namesForTransformations),o,f)}forEachSpecificNamedType(o,f,h){this.forEachWithBlankLines(f,o,(w,N,F)=>h(w,this.nameForNamedType(w),F))}forEachObject(o,f){this.forEachSpecificNamedType(o,(0,l.defined)(this._namedObjects).entries(),f)}forEachEnum(o,f){this.forEachSpecificNamedType(o,this.enums.entries(),f)}forEachUnion(o,f){this.forEachSpecificNamedType(o,this.namedUnions.entries(),f)}forEachUniqueUnion(o,f,h){const w=new Map;for(const N of this.namedUnions){const F=f(N);w.has(F)||w.set(F,N)}this.forEachWithBlankLines(w,o,h)}forEachNamedType(o,f,h,w){this.forEachWithBlankLines((0,l.defined)(this._namedTypes).entries(),o,(N,F,B)=>{const W=this.nameForNamedType(N);if(N instanceof n.ObjectType)f(N,W,B);else if(N instanceof n.EnumType)h(N,W,B);else if(N instanceof n.UnionType)w(N,W,B);else return(0,l.panic)("Named type that's neither a class nor union")})}sourcelikeToString(o){return(0,y.serializeRenderResult)((0,y.sourcelikeToSource)(o),this.names,"").lines.join(`
|
|
184
|
+
`)}get commentLineStart(){return"// "}emitComments(o){o.forEach(f=>{(0,m.isStringComment)(f)?this.emitCommentLines([f]):"lines"in f?this.emitCommentLines(f.lines):"descriptionBlock"in f?this.emitDescriptionBlock(f.descriptionBlock):this.emitCommentLines(f.customLines,f),this.ensureBlankLine()})}emitCommentLines(o,{lineStart:f=this.commentLineStart,firstLineStart:h=f,lineEnd:w,beforeComment:N,afterComment:F}={}){N!==void 0&&this.emitLine(N);let B=!0;for(const W of o){let Q=B?h:f;B=!1,this.sourcelikeToString(W)===""&&(Q=(0,d.trimEnd)(Q)),w?this.emitLine(Q,W,w):this.emitLine(Q,W)}F!==void 0&&this.emitLine(F)}emitDescription(o){o!==void 0&&this.emitDescriptionBlock(o)}emitDescriptionBlock(o){this.emitCommentLines(o)}emitPropertyTable(o,f){let h=[];const w=()=>{h.length!==0&&(this.emitTable(h),h=[])};this.forEachClassProperty(o,"none",(N,F,B)=>{const W=this.descriptionForClassProperty(o,F);W!==void 0&&(w(),this.emitDescription(W)),h.push(f(N,F,B))}),w()}processGraph(){this._declarationIR=(0,T.declarationsForGraph)(this.typeGraph,this.needsTypeDeclarationBeforeUse?F=>this.canBeForwardDeclared(F):void 0,F=>this.childrenOfType(F),F=>F instanceof n.UnionType?this.unionNeedsName(F):(0,i.isNamedType)(F));const o=this.typeGraph.allTypesUnordered();this._haveUnions=(0,t.iterableSome)(o,F=>F instanceof n.UnionType),this._haveMaps=(0,t.iterableSome)(o,F=>F instanceof n.MapType);const f=(0,t.setFilter)(o,F=>F instanceof n.ClassType);this._haveOptionalProperties=(0,t.iterableSome)(f,F=>(0,t.mapSome)(F.getProperties(),B=>B.isOptional)),this._namedTypes=this._declarationIR.declarations.filter(F=>F.kind==="define").map(F=>F.type);const{objects:h,enums:w,unions:N}=(0,i.separateNamedTypes)(this._namedTypes);this._namedObjects=new Set(h),this._namedEnums=new Set(w),this._namedUnions=new Set(N)}emitSource(o){this.processGraph(),this.emitSourceStructure(o)}forEachType(o){const f=new Set,h=new Set,w=Array.from(this.typeGraph.topLevels.values());function N(F){if(!f.has(F)){for(const B of F.getChildren())w.push(B);f.add(F),h.add(o(F))}}for(;;){const F=w.pop();if(F===void 0)break;N(F)}return h}}e.ConvenienceRenderer=p})(Et);var Lt={},al={};Object.defineProperty(al,"__esModule",{value:!0});al.DefaultDateTimeRecognizer=void 0;const nM=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,iM=[0,31,29,31,30,31,30,31,31,30,31,30,31],rM=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i,sM=/t|\s/i;class oM{isDate(t){const n=t.match(nM);if(n===null)return!1;const i=+n[2],r=+n[3];return i>=1&&i<=12&&r>=1&&r<=iM[i]}isTime(t){const n=t.match(rM);if(n===null)return!1;const i=+n[1],r=+n[2],u=+n[3];return i<=23&&r<=59&&u<=59}isDateTime(t){const n=t.split(sM);return n.length===2&&this.isDate(n[0])&&this.isTime(n[1])}}al.DefaultDateTimeRecognizer=oM;Object.defineProperty(Lt,"__esModule",{value:!0});Lt.TargetLanguage=void 0;const aM=He,lM=et,b0=Ie,uM=al;class cM{constructor(t,n,i){this.displayName=t,this.names=n,this.extension=i}get optionDefinitions(){return this.getOptions().map(t=>t.definition)}get cliOptionDefinitions(){let t=[],n=[];for(const{cliDefinitions:i}of this.getOptions())t=t.concat(i.actual),n=n.concat(i.display);return{actual:t,display:n}}get name(){return(0,b0.defined)(this.names[0])}renderGraphAndSerialize(t,n,i,r,u,l){l===void 0&&(l=this.defaultIndentation);const d={typeGraph:t,leadingComments:r},y=this.makeRenderer(d,u);y.setAlphabetizeProperties!==void 0&&y.setAlphabetizeProperties(i);const T=y.render(n);return(0,aM.mapMap)(T.sources,S=>(0,lM.serializeRenderResult)(S,T.names,(0,b0.defined)(l)))}get defaultIndentation(){return" "}get stringTypeMapping(){return new Map}get supportsOptionalClassProperties(){return!1}get supportsUnionsWithBothNumberTypes(){return!1}get supportsFullObjectType(){return!1}needsTransformerForType(t){return!1}get dateTimeRecognizer(){return new uM.DefaultDateTimeRecognizer}}Lt.TargetLanguage=cM;(function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(z,E,j,X){X===void 0&&(X=j);var te=Object.getOwnPropertyDescriptor(E,j);(!te||("get"in te?!E.__esModule:te.writable||te.configurable))&&(te={enumerable:!0,get:function(){return E[j]}}),Object.defineProperty(z,X,te)}:function(z,E,j,X){X===void 0&&(X=j),z[X]=E[j]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(z,E){Object.defineProperty(z,"default",{enumerable:!0,value:E})}:function(z,E){z.default=E}),i=Fe&&Fe.__importStar||function(z){if(z&&z.__esModule)return z;var E={};if(z!=null)for(var j in z)j!=="default"&&Object.prototype.hasOwnProperty.call(z,j)&&t(E,z,j);return n(E,z),E};Object.defineProperty(e,"__esModule",{value:!0}),e.SystemTextJsonCSharpRenderer=e.systemTextJsonCSharpOptions=e.NewtonsoftCSharpRenderer=e.newtonsoftCSharpOptions=e.CSharpRenderer=e.CSharpTargetLanguage=e.cSharpOptions=e.AccessModifier=e.Framework=void 0;const r=He,u=lt(),l=ot(),d=et,y=St(),T=Ie,S=qe,O=Et,I=Lt,k=dt,P=jt,m=Qo,C=ks,J=i(Ho);var x;(function(z){z[z.Newtonsoft=0]="Newtonsoft",z[z.SystemTextJson=1]="SystemTextJson"})(x=e.Framework||(e.Framework={}));var G;(function(z){z[z.None=0]="None",z[z.Public=1]="Public",z[z.Internal=2]="Internal"})(G=e.AccessModifier||(e.AccessModifier={}));function K(z){return z}function U(z){if(z instanceof u.UnionType){const E=(0,l.nullableFromUnion)(z);return E===null?"automatic":U(E)==="manual"?"nullable":"none"}if(z instanceof u.ArrayType){const E=U(z.items);return E==="manual"||E==="nullable"?"automatic":"none"}return z instanceof u.EnumType?"automatic":z.kind==="double"?(0,C.minMaxValueForType)(z)!==void 0?"manual":"none":z.kind==="integer-string"||z.kind==="bool-string"||z.kind==="string"&&(0,C.minMaxLengthForType)(z)!==void 0?"manual":"none"}function R(z){const E=z.targetType;return E instanceof u.EnumType?!0:E instanceof u.UnionType?(0,l.nullableFromUnion)(E)===null:!1}function A(z){switch(z.kind){case"date-time":return"DateTimeOffset";case"uuid":return"Guid";case"uri":return"Uri";default:return(0,T.panic)(`Transformed string type ${z.kind} not supported`)}}e.cSharpOptions={framework:new k.EnumOption("framework","Serialization framework",[["NewtonSoft",x.Newtonsoft],["SystemTextJson",x.SystemTextJson]],"NewtonSoft"),useList:new k.EnumOption("array-type","Use T[] or List<T>",[["array",!1],["list",!0]]),dense:new k.EnumOption("density","Property density",[["normal",!1],["dense",!0]],"normal","secondary"),namespace:new k.StringOption("namespace","Generated namespace","NAME","QuickType"),version:new k.EnumOption("csharp-version","C# version",[["5",5],["6",6]],"6","secondary"),virtual:new k.BooleanOption("virtual","Generate virtual properties",!1),typeForAny:new k.EnumOption("any-type",'Type to use for "any"',[["object","object"],["dynamic","dynamic"]],"object","secondary"),useDecimal:new k.EnumOption("number-type","Type to use for numbers",[["double",!1],["decimal",!0]],"double","secondary"),features:new k.EnumOption("features","Output features",[["complete",{namespaces:!0,helpers:!0,attributes:!0}],["attributes-only",{namespaces:!0,helpers:!1,attributes:!0}],["just-types-and-namespace",{namespaces:!0,helpers:!1,attributes:!1}],["just-types",{namespaces:!0,helpers:!1,attributes:!1}]]),baseclass:new k.EnumOption("base-class","Base class",[["EntityData","EntityData"],["Object",void 0]],"Object","secondary"),checkRequired:new k.BooleanOption("check-required","Fail if required properties are missing",!1),keepPropertyName:new k.BooleanOption("keep-property-name","Keep original field name generate",!1)};class b extends I.TargetLanguage{constructor(){super("C#",["cs","csharp"],"cs")}getOptions(){return[e.cSharpOptions.framework,e.cSharpOptions.namespace,e.cSharpOptions.version,e.cSharpOptions.dense,e.cSharpOptions.useList,e.cSharpOptions.useDecimal,e.cSharpOptions.typeForAny,e.cSharpOptions.virtual,e.cSharpOptions.features,e.cSharpOptions.baseclass,e.cSharpOptions.checkRequired,e.cSharpOptions.keepPropertyName]}get stringTypeMapping(){const E=new Map;return E.set("date","date-time"),E.set("time","date-time"),E.set("date-time","date-time"),E.set("uuid","uuid"),E.set("uri","uri"),E.set("integer-string","integer-string"),E.set("bool-string","bool-string"),E}get supportsUnionsWithBothNumberTypes(){return!0}get supportsOptionalClassProperties(){return!0}needsTransformerForType(E){const j=U(E);return j!=="none"&&j!=="nullable"}makeRenderer(E,j){const X=(0,k.getOptionValues)(e.cSharpOptions,j);switch(X.framework){case x.Newtonsoft:return new W(this,E,(0,k.getOptionValues)(e.newtonsoftCSharpOptions,j));case x.SystemTextJson:return new Q(this,E,(0,k.getOptionValues)(e.systemTextJsonCSharpOptions,j));default:return(0,T.assertNever)(X.framework)}}}e.CSharpTargetLanguage=b;const _=(0,S.funPrefixNamer)("namer",w),L=(0,S.funPrefixNamer)("namerKeep",N),g="J",p="R",a="N";function o(z){return J.isAlphabetic(z)?!0:z===95}function f(z){const E=J.getCategory(z);return["Nd","Pc","Mn","Mc"].indexOf(E)>=0?!0:o(z)}const h=(0,y.utf16LegalizeCharacters)(f);function w(z){const E=(0,y.splitIntoWords)(z);return(0,y.combineWords)(E,h,y.firstUpperWordStyle,y.firstUpperWordStyle,y.firstUpperWordStyle,y.firstUpperWordStyle,"",o)}function N(z){const E=["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"],j=[{word:z,isAcronym:!1}],X=(0,y.combineWords)(j,h,te=>te,te=>te,te=>te,te=>te,"",o);return E.includes(X)?"@"+X:X}function F(z){return z instanceof u.UnionType?(0,l.nullableFromUnion)(z)===null:["integer","double","bool","enum","date-time","uuid"].indexOf(z.kind)>=0}class B extends O.ConvenienceRenderer{constructor(E,j,X){super(E,j),this._csOptions=X}forbiddenNamesForGlobalNamespace(){return["QuickType","Type","System","Console","Exception","DateTimeOffset","Guid","Uri"]}forbiddenForObjectProperties(E,j){return{names:[j,"ToString","GetHashCode","Finalize","Equals","GetType","MemberwiseClone","ReferenceEquals"],includeGlobalForbidden:!1}}forbiddenForUnionMembers(E,j){return{names:[j],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return _}namerForObjectProperty(){return this._csOptions.keepPropertyName?L:_}makeUnionMemberNamer(){return _}makeEnumCaseNamer(){return _}unionNeedsName(E){return(0,l.nullableFromUnion)(E)===null}namedTypeToNameForTopLevel(E){return(0,l.directlyReachableSingleNamedType)(E)}emitBlock(E,j=!1){this.emitLine("{"),this.indent(E),this.emitLine("}",j?";":"")}get doubleType(){return this._csOptions.useDecimal?"decimal":"double"}csType(E,j=m.followTargetType,X=!1){const te=j(E);return(0,l.matchType)(te,$=>(0,d.maybeAnnotated)(X,P.anyTypeIssueAnnotation,this._csOptions.typeForAny),$=>(0,d.maybeAnnotated)(X,P.nullTypeIssueAnnotation,this._csOptions.typeForAny),$=>"bool",$=>"long",$=>this.doubleType,$=>"string",$=>{const ne=this.csType($.items,j,X);return this._csOptions.useList?["List<",ne,">"]:[ne,"[]"]},$=>this.nameForNamedType($),$=>["Dictionary<string, ",this.csType($.values,j,X),">"],$=>this.nameForNamedType($),$=>{const ne=(0,l.nullableFromUnion)($);return ne!==null?this.nullableCSType(ne,K):this.nameForNamedType($)},$=>A($))}nullableCSType(E,j=m.followTargetType,X=!1){E=(0,m.followTargetType)(E);const te=this.csType(E,j,X);return F(E)?[te,"?"]:te}baseclassForType(E){}emitType(E,j,X,te,$,ne){switch(j){case G.Public:X=["public ",X];break;case G.Internal:X=["internal ",X];break}this.emitDescription(E),$===void 0?this.emitLine(X," ",te):this.emitLine(X," ",te," : ",$),this.emitBlock(ne)}attributesForProperty(E,j,X,te){}propertyDefinition(E,j,X,te){const $=E.type,ne=E.isOptional?this.nullableCSType($,m.followTargetType,!0):this.csType($,m.followTargetType,!0),ce=["public "];return this._csOptions.virtual&&ce.push("virtual "),[...ce,ne," ",j," { get; set; }"]}emitDescriptionBlock(E){const j="/// <summary>";this._csOptions.dense?this.emitLine(j,E.join("; "),"</summary>"):this.emitCommentLines(E,{lineStart:"/// ",beforeComment:j,afterComment:"/// </summary>"})}blankLinesBetweenAttributes(){return!1}emitClassDefinition(E,j){this.emitType(this.descriptionForType(E),G.Public,"partial class",j,this.baseclassForType(E),()=>{if(E.getProperties().size===0)return;const X=this.blankLinesBetweenAttributes()?"interposing":"none";let te=[],$=!0,ne;this.forEachClassProperty(E,X,(ce,Te,Ne)=>{const le=this.attributesForProperty(Ne,ce,E,Te),fe=this.descriptionForClassProperty(E,Te),_e=this.propertyDefinition(Ne,ce,E,Te);if(le===void 0)(!$&&fe!==void 0||ne!==void 0)&&this.ensureBlankLine(),this.emitDescription(fe),this.emitLine(_e);else if(this._csOptions.dense&&le.length>0){const Y=fe===void 0?"":` // ${fe.join("; ")}`;te.push([le," ",_e,Y])}else{this.emitDescription(fe);for(const Y of le)this.emitLine(Y);this.emitLine(_e)}$=!1,ne=fe}),te.length>0&&this.emitTable(te)})}emitUnionDefinition(E,j){const X=(0,l.removeNullFromUnion)(E,!0)[1];this.emitType(this.descriptionForType(E),G.Public,"partial struct",j,this.baseclassForType(E),()=>{this.forEachUnionMember(E,X,"none",null,($,ne)=>{const ce=this.nullableCSType(ne);this.emitLine("public ",ce," ",$,";")}),this.ensureBlankLine();const te=Array.from(X).map($=>[this.nameForUnionMember(E,$)," == null"]);this.ensureBlankLine(),this.forEachUnionMember(E,X,"none",null,($,ne)=>{const ce=this.csType(ne);this.emitExpressionMember(["public static implicit operator ",j,"(",ce," ",$,")"],["new ",j," { ",$," = ",$," }"])}),E.findMember("null")!==void 0&&this.emitExpressionMember("public bool IsNull",(0,r.arrayIntercalate)(" && ",te),!0)})}emitEnumDefinition(E,j){const X=[];this.forEachEnumCase(E,"none",te=>{X.length>0&&X.push(", "),X.push(te)}),this.emitDescription(this.descriptionForType(E)),this.emitLine("public enum ",j," { ",X," };")}emitExpressionMember(E,j,X=!1){this._csOptions.version===5?(this.emitLine(E),this.emitBlock(()=>{const te=["return ",j,";"];X?(this.emitLine("get"),this.emitBlock(()=>this.emitLine(te))):this.emitLine(te)})):this.emitLine(E," => ",j,";")}emitTypeSwitch(E,j,X,te,$){(0,T.assert)(!te||X,"Can only have return with block");for(const ne of E)this.emitLine("if (",j(ne),")"),X?this.emitBlock(()=>{$(ne),te&&this.emitLine("return;")}):this.indent(()=>$(ne))}emitUsing(E){this.emitLine("using ",E,";")}emitUsings(){for(const E of["System","System.Collections.Generic"])this.emitUsing(E)}emitRequiredHelpers(){}emitTypesAndSupport(){this.forEachObject("leading-and-interposing",(E,j)=>this.emitClassDefinition(E,j)),this.forEachEnum("leading-and-interposing",(E,j)=>this.emitEnumDefinition(E,j)),this.forEachUnion("leading-and-interposing",(E,j)=>this.emitUnionDefinition(E,j)),this.emitRequiredHelpers()}emitDefaultLeadingComments(){}emitDefaultFollowingComments(){}needNamespace(){return!0}emitSourceStructure(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this.emitDefaultLeadingComments(),this.ensureBlankLine(),this.needNamespace()?(this.emitLine("namespace ",this._csOptions.namespace),this.emitBlock(()=>{this.emitUsings(),this.emitTypesAndSupport()})):(this.emitUsings(),this.emitTypesAndSupport()),this.emitDefaultFollowingComments()}}e.CSharpRenderer=B,e.newtonsoftCSharpOptions=Object.assign({},e.cSharpOptions,{});class W extends B{constructor(E,j,X){super(E,j,X),this._options=X,this._enumExtensionsNames=new Map,this._needHelpers=X.features.helpers,this._needAttributes=X.features.attributes,this._needNamespaces=X.features.namespaces}forbiddenNamesForGlobalNamespace(){const E=["Converter","JsonConverter","JsonSerializer","JsonWriter","JsonToken","Serialize","Newtonsoft","MetadataPropertyHandling","DateParseHandling","FromJson","Required"];return this._options.dense&&E.push("J","R","N"),this._options.baseclass!==void 0&&E.push(this._options.baseclass),super.forbiddenNamesForGlobalNamespace().concat(E)}forbiddenForObjectProperties(E,j){const X=super.forbiddenForObjectProperties(E,j);return X.names=X.names.concat(["ToJson","FromJson","Required"]),X}makeNameForTransformation(E,j){if(j===void 0){let X=E.transformer;return X instanceof m.DecodingTransformer&&X.consumer!==void 0&&(X=X.consumer),new S.SimpleName([`${X.kind}_converter`],_,O.inferredNameOrder+30)}return new S.DependencyName(_,j.order+30,X=>`${X(j)}_converter`)}makeNamedTypeDependencyNames(E,j){if(!(E instanceof u.EnumType))return[];const X=new S.DependencyName(_,j.order+30,te=>`${te(j)}_extensions`);return this._enumExtensionsNames.set(j,X),[X]}emitUsings(){if(!(!this._needAttributes&&!this._needHelpers)){super.emitUsings(),this.ensureBlankLine();for(const E of["System.Globalization","Newtonsoft.Json","Newtonsoft.Json.Converters"])this.emitUsing(E);this._options.dense&&(this.emitUsing([g," = Newtonsoft.Json.JsonPropertyAttribute"]),this.emitUsing([p," = Newtonsoft.Json.Required"]),this.emitUsing([a," = Newtonsoft.Json.NullValueHandling"])),this._options.baseclass==="EntityData"&&this.emitUsing("Microsoft.Azure.Mobile.Server")}}baseclassForType(E){return this._options.baseclass}emitDefaultLeadingComments(){this._needHelpers&&(this.emitLine("// <auto-generated />"),this.emitLine("//"),this.emitLine("// To parse this JSON data, add NuGet 'Newtonsoft.Json' then do",this.topLevels.size===1?"":" one of these",":"),this.emitLine("//"),this.emitLine("// using ",this._options.namespace,";"),this.emitLine("//"),this.forEachTopLevel("none",(E,j)=>{let X;E instanceof u.EnumType?X=["JsonConvert.DeserializeObject<",j,">(jsonString)"]:X=[j,".FromJson(jsonString)"],this.emitLine("// var ",(0,d.modifySource)(y.camelCase,j)," = ",X,";")}))}converterForType(E){let j=(0,m.transformationForType)(E);if(j===void 0&&E instanceof u.UnionType){const X=(0,l.nullableFromUnion)(E);X!==null&&(E=X,j=(0,m.transformationForType)(E))}if(j!==void 0&&!R(j))return(0,T.defined)(this.nameForTransformation(E))}attributesForProperty(E,j,X,te){if(!this._needAttributes)return;const $=[],ne=this._options.dense?g:"JsonProperty",ce=(0,y.utf16StringEscape)(te),Te=(0,m.followTargetType)(E.type).isNullable,Ne=E.isOptional,le=this._options.dense?"R":"Required",fe=this._options.dense?"N":"NullValueHandling",_e=Ne&&!Te?[", NullValueHandling = ",fe,".Ignore"]:[];let Y;!this._options.checkRequired||Ne&&Te?Y=[_e]:Ne&&!Te?Y=[", Required = ",le,".DisallowNull",_e]:!Ne&&Te?Y=[", Required = ",le,".AllowNull"]:Y=[", Required = ",le,".Always",_e],$.push(["[",ne,'("',ce,'"',Y,")]"]);const M=this.converterForType(E.type);return M!==void 0&&$.push(["[JsonConverter(typeof(",M,"))]"]),$}blankLinesBetweenAttributes(){return this._needAttributes&&!this._options.dense}topLevelResultType(E){return E.kind==="any"||E.kind==="none"?"object":this.csType(E)}emitFromJsonForTopLevel(E,j){if(E instanceof u.EnumType)return;let X,te;const $=this.namedTypeToNameForTopLevel(E);$!==void 0?(X="partial ",te=$ instanceof u.ClassType?"class":"struct"):(X="",te="class");const ne=this.topLevelResultType(E);this.emitType(void 0,G.Public,[X,te],j,this.baseclassForType(E),()=>{this.emitExpressionMember(["public static ",ne," FromJson(string json)"],["JsonConvert.DeserializeObject<",ne,">(json, ",this._options.namespace,".Converter.Settings)"])})}emitDecoderSwitch(E){this.emitLine("switch (reader.TokenType)"),this.emitBlock(E)}emitTokenCase(E){this.emitLine("case JsonToken.",E,":")}emitThrow(E){this.emitLine("throw new Exception(",E,");")}deserializeTypeCode(E){return["serializer.Deserialize<",E,">(reader)"]}serializeValueCode(E){return["serializer.Serialize(writer, ",E,")"]}emitSerializeClass(){this.emitType(void 0,G.Public,"static class","Serialize",void 0,()=>{const E=new Set;this.forEachTopLevel("none",j=>{E.has(j)||(E.add(j),this.emitExpressionMember(["public static string ToJson(this ",this.topLevelResultType(j)," self)"],["JsonConvert.SerializeObject(self, ",this._options.namespace,".Converter.Settings)"]))})})}emitCanConvert(E){this.emitExpressionMember("public override bool CanConvert(Type t)",E)}emitReadJson(E){this.emitLine("public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer)"),this.emitBlock(E)}emitWriteJson(E,j){this.emitLine("public override void WriteJson(JsonWriter writer, object ",E,", JsonSerializer serializer)"),this.emitBlock(j)}converterObject(E){return[E,".Singleton"]}emitConverterClass(){const E=["Converter"];this.emitType(void 0,G.Internal,"static class",E,void 0,()=>{this.emitLine("public static readonly JsonSerializerSettings Settings = new JsonSerializerSettings"),this.emitBlock(()=>{this.emitLine("MetadataPropertyHandling = MetadataPropertyHandling.Ignore,"),this.emitLine("DateParseHandling = DateParseHandling.None,"),this.emitLine("Converters ="),this.emitLine("{"),this.indent(()=>{for(const[j,X]of this.typesWithNamedTransformations)R((0,T.defined)((0,m.transformationForType)(j)))&&this.emitLine(this.converterObject(X),",");this.emitLine("new IsoDateTimeConverter { DateTimeStyles = DateTimeStyles.AssumeUniversal }")}),this.emitLine("},")},!0)})}emitDecoderTransformerCase(E,j,X,te,$){if(X!==void 0){for(const ne of E)this.emitTokenCase(ne);this.indent(()=>{this.emitDecodeTransformer(X,te,$,j)||this.emitLine("break;")})}}emitConsume(E,j,X,te){return j===void 0?(te(E),!0):this.emitTransformer(E,j,X,te)}emitDecodeTransformer(E,j,X,te="value"){if(E instanceof m.DecodingTransformer){const $=E.sourceType,ne=this.converterForType(j);if(ne!==void 0){const ce=this.csType(j);this.emitLine("var converter = ",this.converterObject(ne),";"),this.emitLine("var ",te," = (",ce,")converter.ReadJson(reader, typeof(",ce,"), null, serializer);")}else if($.kind!=="null"){let ce=j.kind==="double"?j:$;this.emitLine("var ",te," = ",this.deserializeTypeCode(this.csType(ce)),";")}return this.emitConsume(te,E.consumer,j,X)}else if(E instanceof m.ArrayDecodingTransformer){if(!(j instanceof u.ArrayType))return(0,T.panic)("Array decoding must produce an array type");this.emitLine("reader.Read();"),this.emitLine("var ",te," = new List<",this.csType(j.items),">();"),this.emitLine("while (reader.TokenType != JsonToken.EndArray)"),this.emitBlock(()=>{this.emitDecodeTransformer(E.itemTransformer,E.itemTargetType,ne=>this.emitLine(te,".Add(",ne,");"),"arrayItem"),this.emitLine("reader.Read();")});let $=te;return this._options.useList||($=[$,".ToArray()"]),X($),!0}else return E instanceof m.DecodingChoiceTransformer?(this.emitDecoderSwitch(()=>{const $=E.nullTransformer;$!==void 0&&(this.emitTokenCase("Null"),this.indent(()=>{this.emitDecodeTransformer($,j,X,"null")||this.emitLine("break")})),this.emitDecoderTransformerCase(["Integer"],"integerValue",E.integerTransformer,j,X),this.emitDecoderTransformerCase(E.integerTransformer===void 0?["Integer","Float"]:["Float"],"doubleValue",E.doubleTransformer,j,X),this.emitDecoderTransformerCase(["Boolean"],"boolValue",E.boolTransformer,j,X),this.emitDecoderTransformerCase(["String","Date"],"stringValue",E.stringTransformer,j,X),this.emitDecoderTransformerCase(["StartObject"],"objectValue",E.objectTransformer,j,X),this.emitDecoderTransformerCase(["StartArray"],"arrayValue",E.arrayTransformer,j,X)}),!1):(0,T.panic)("Unknown transformer")}stringCaseValue(E,j){return E.kind==="string"?['"',(0,y.utf16StringEscape)(j),'"']:E instanceof u.EnumType?[this.nameForNamedType(E),".",this.nameForEnumCase(E,j)]:(0,T.panic)(`Type ${E.kind} does not have string cases`)}emitTransformer(E,j,X,te){function $(ne){return ne===void 0?X:(0,m.followTargetType)(ne.sourceType)}if(j instanceof m.ChoiceTransformer){const ne=j.transformers;if(ne.length>1&&ne.every(ce=>ce instanceof m.StringMatchTransformer))return this.emitLine("switch (",E,")"),this.emitBlock(()=>{for(const ce of ne){const Te=ce,Ne=this.stringCaseValue((0,m.followTargetType)(Te.sourceType),Te.stringCase);this.emitLine("case ",Ne,":"),this.indent(()=>{this.emitTransformer(E,Te.transformer,X,te)||this.emitLine("break;")})}}),!1;for(const ce of ne)this.emitTransformer(E,ce,X,te)}else if(j instanceof m.UnionMemberMatchTransformer){const ne=j.memberType,ce=(0,l.nullableFromUnion)(j.sourceType);let Te,Ne;if(ce!==null)ne.kind==="null"?(Te=[E," == null"],Ne="null"):(Te=[E," != null"],Ne=E);else if(ne.kind==="null")Te=[E,".IsNull"],Ne="null";else{const le=this.nameForUnionMember(j.sourceType,ne);Ne=[E,".",le],Te=[Ne," != null"]}ne.kind!=="null"&&F(ne)&&(Ne=[Ne,".Value"]),this.emitLine("if (",Te,")"),this.emitBlock(()=>this.emitTransformer(Ne,j.transformer,X,te))}else if(j instanceof m.StringMatchTransformer){const ne=this.stringCaseValue((0,m.followTargetType)(j.sourceType),j.stringCase);this.emitLine("if (",E," == ",ne,")"),this.emitBlock(()=>this.emitTransformer(E,j.transformer,X,te))}else if(j instanceof m.EncodingTransformer){const ne=this.converterForType(j.sourceType);return ne!==void 0?(this.emitLine("var converter = ",this.converterObject(ne),";"),this.emitLine("converter.WriteJson(writer, ",E,", serializer);")):this.emitLine(this.serializeValueCode(E),";"),te([]),!0}else if(j instanceof m.ArrayEncodingTransformer){this.emitLine("writer.WriteStartArray();");const ne="arrayItem";return this.emitLine("foreach (var ",ne," in ",E,")"),this.emitBlock(()=>{this.emitTransformer(ne,j.itemTransformer,j.itemTargetType,()=>{})}),this.emitLine("writer.WriteEndArray();"),te([]),!0}else if(j instanceof m.ParseStringTransformer){const ne=j.consumer===void 0?X:j.consumer.sourceType;switch(ne.kind){case"date-time":this.emitLine("DateTimeOffset dt;"),this.emitLine("if (DateTimeOffset.TryParse(",E,", out dt))"),this.emitBlock(()=>this.emitConsume("dt",j.consumer,X,te));break;case"uuid":this.emitLine("Guid guid;"),this.emitLine("if (Guid.TryParse(",E,", out guid))"),this.emitBlock(()=>this.emitConsume("guid",j.consumer,X,te));break;case"uri":this.emitLine("try"),this.emitBlock(()=>{this.emitLine("var uri = new Uri(",E,");"),this.emitConsume("uri",j.consumer,X,te)}),this.emitLine("catch (UriFormatException) {}");break;case"integer":this.emitLine("long l;"),this.emitLine("if (Int64.TryParse(",E,", out l))"),this.emitBlock(()=>this.emitConsume("l",j.consumer,X,te));break;case"bool":this.emitLine("bool b;"),this.emitLine("if (Boolean.TryParse(",E,", out b))"),this.emitBlock(()=>this.emitConsume("b",j.consumer,X,te));break;default:return(0,T.panic)(`Parsing string to ${ne.kind} not supported`)}}else if(j instanceof m.StringifyTransformer)switch(j.sourceType.kind){case"date-time":return this.emitConsume([E,'.ToString("o", System.Globalization.CultureInfo.InvariantCulture)'],j.consumer,X,te);case"uuid":return this.emitConsume([E,'.ToString("D", System.Globalization.CultureInfo.InvariantCulture)'],j.consumer,X,te);case"integer":case"uri":return this.emitConsume([E,".ToString()"],j.consumer,X,te);case"bool":return this.emitLine("var boolString = ",E,' ? "true" : "false";'),this.emitConsume("boolString",j.consumer,X,te);default:return(0,T.panic)(`Stringifying ${j.sourceType.kind} not supported`)}else if(j instanceof m.StringProducerTransformer){const ne=this.stringCaseValue($(j.consumer),j.result);return this.emitConsume(ne,j.consumer,X,te)}else if(j instanceof m.MinMaxLengthCheckTransformer){const ne=j.minLength,ce=j.maxLength,Te=[];return ne!==void 0&&Te.push([E,".Length >= ",ne.toString()]),ce!==void 0&&Te.push([E,".Length <= ",ce.toString()]),this.emitLine("if (",(0,r.arrayIntercalate)([" && "],Te),")"),this.emitBlock(()=>this.emitConsume(E,j.consumer,X,te)),!1}else if(j instanceof m.MinMaxValueTransformer){const ne=j.minimum,ce=j.maximum,Te=[];return ne!==void 0&&Te.push([E," >= ",ne.toString()]),ce!==void 0&&Te.push([E," <= ",ce.toString()]),this.emitLine("if (",(0,r.arrayIntercalate)([" && "],Te),")"),this.emitBlock(()=>this.emitConsume(E,j.consumer,X,te)),!1}else if(j instanceof m.UnionInstantiationTransformer){if(!(X instanceof u.UnionType))return(0,T.panic)("Union instantiation transformer must produce a union type");if((0,l.nullableFromUnion)(X)!==null)te(E);else{const ce=this.nameForNamedType(X);let Te;j.sourceType.kind==="null"?Te=" ":Te=[" ",this.nameForUnionMember(X,j.sourceType)," = ",E," "],te(["new ",ce," {",Te,"}"])}return!0}else return(0,T.panic)("Unknown transformer");return!1}emitTransformation(E,j){const X=(0,T.defined)((0,m.transformationForType)(j)),te=X.reverse,$=X.targetType,ne=X.transformer;this.emitType(void 0,G.Internal,"class",E,"JsonConverter",()=>{const ce=this.csType($);let Te=["t == typeof(",ce,")"];const Ne=F($);Ne&&(Te=[Te," || t == typeof(",ce,"?)"]),this.emitCanConvert(Te),this.ensureBlankLine(),this.emitReadJson(()=>{Ne&&!($ instanceof u.UnionType)&&this.emitLine("if (reader.TokenType == JsonToken.Null) return null;"),this.emitDecodeTransformer(ne,$,fe=>this.emitLine("return ",fe,";"))||this.emitThrow(['"Cannot unmarshal type ',ce,'"'])}),this.ensureBlankLine(),this.emitWriteJson("untypedValue",()=>{Ne&&!($ instanceof u.UnionType)&&(this.emitLine("if (untypedValue == null)"),this.emitBlock(()=>{this.emitLine("serializer.Serialize(writer, null);"),this.emitLine("return;")})),this.emitLine("var value = (",ce,")untypedValue;"),this.emitTransformer("value",te.transformer,te.targetType,()=>this.emitLine("return;"))||this.emitThrow(['"Cannot marshal type ',ce,'"'])}),this.ensureBlankLine(),this.emitLine("public static readonly ",E," Singleton = new ",E,"();")})}emitRequiredHelpers(){this._needHelpers&&(this.forEachTopLevel("leading-and-interposing",(E,j)=>this.emitFromJsonForTopLevel(E,j)),this.ensureBlankLine(),this.emitSerializeClass()),(this._needHelpers||this._needAttributes&&(this.haveNamedUnions||this.haveEnums))&&(this.ensureBlankLine(),this.emitConverterClass(),this.forEachTransformation("leading-and-interposing",(E,j)=>this.emitTransformation(E,j)))}needNamespace(){return this._needNamespaces}}e.NewtonsoftCSharpRenderer=W,e.systemTextJsonCSharpOptions=Object.assign({},e.cSharpOptions,{});class Q extends B{constructor(E,j,X){super(E,j,X),this._options=X,this._enumExtensionsNames=new Map,this._needHelpers=X.features.helpers,this._needAttributes=X.features.attributes,this._needNamespaces=X.features.namespaces}forbiddenNamesForGlobalNamespace(){const E=["Converter","JsonConverter","JsonSerializer","JsonWriter","JsonToken","Serialize","JsonSerializerOptions","FromJson","Required"];return this._options.dense&&E.push("J","R","N"),this._options.baseclass!==void 0&&E.push(this._options.baseclass),super.forbiddenNamesForGlobalNamespace().concat(E)}forbiddenForObjectProperties(E,j){const X=super.forbiddenForObjectProperties(E,j);return X.names=X.names.concat(["ToJson","FromJson","Required"]),X}makeNameForTransformation(E,j){if(j===void 0){let X=E.transformer;return X instanceof m.DecodingTransformer&&X.consumer!==void 0&&(X=X.consumer),new S.SimpleName([`${X.kind}_converter`],_,O.inferredNameOrder+30)}return new S.DependencyName(_,j.order+30,X=>`${X(j)}_converter`)}makeNamedTypeDependencyNames(E,j){if(!(E instanceof u.EnumType))return[];const X=new S.DependencyName(_,j.order+30,te=>`${te(j)}_extensions`);return this._enumExtensionsNames.set(j,X),[X]}emitUsings(){if(!(!this._needAttributes&&!this._needHelpers)){super.emitUsings(),this.ensureBlankLine();for(const E of["System.Text.Json","System.Text.Json.Serialization","System.Globalization"])this.emitUsing(E);this._options.dense&&(this.emitUsing([g," = System.Text.Json.Serialization.JsonPropertyNameAttribute"]),this.emitUsing([a," = System.Text.Json.Serialization.JsonIgnoreCondition"])),this._options.baseclass==="EntityData"&&this.emitUsing("Microsoft.Azure.Mobile.Server")}}baseclassForType(E){return this._options.baseclass}emitDefaultFollowingComments(){this._needHelpers&&(this.emitLine("#pragma warning restore CS8618"),this.emitLine("#pragma warning restore CS8601"),this.emitLine("#pragma warning restore CS8603"))}emitDefaultLeadingComments(){this._needHelpers&&(this.emitLine("// <auto-generated />"),this.emitLine("//"),this.emitLine("// To parse this JSON data, add NuGet 'System.Text.Json' then do",this.topLevels.size===1?"":" one of these",":"),this.emitLine("//"),this.emitLine("// using ",this._options.namespace,";"),this.emitLine("//"),this.forEachTopLevel("none",(E,j)=>{let X;E instanceof u.EnumType?X=["JsonSerializer.Deserialize<",j,">(jsonString)"]:X=[j,".FromJson(jsonString)"],this.emitLine("// var ",(0,d.modifySource)(y.camelCase,j)," = ",X,";")}),this.emitLine("#nullable enable"),this.emitLine("#pragma warning disable CS8618"),this.emitLine("#pragma warning disable CS8601"),this.emitLine("#pragma warning disable CS8603"))}converterForType(E){let j=(0,m.transformationForType)(E);if(j===void 0&&E instanceof u.UnionType){const X=(0,l.nullableFromUnion)(E);X!==null&&(E=X,j=(0,m.transformationForType)(E))}if(j!==void 0&&!R(j))return(0,T.defined)(this.nameForTransformation(E))}attributesForProperty(E,j,X,te){if(!this._needAttributes)return;const $=[],ne=this._options.dense?g:"JsonPropertyName",ce=(0,y.utf16StringEscape)(te),Te=(0,m.followTargetType)(E.type).isNullable;E.isOptional&&!Te&&$.push(["[","JsonIgnore","(Condition = JsonIgnoreCondition.WhenWritingNull)]"]),$.push(["[",ne,'("',ce,'")]']);const le=this.converterForType(E.type);return le!==void 0&&$.push(["[JsonConverter(typeof(",le,"))]"]),$}blankLinesBetweenAttributes(){return this._needAttributes&&!this._options.dense}topLevelResultType(E){return E.kind==="any"||E.kind==="none"?"object":this.csType(E)}emitFromJsonForTopLevel(E,j){if(E instanceof u.EnumType)return;let X,te;const $=this.namedTypeToNameForTopLevel(E);$!==void 0?(X="partial ",te=$ instanceof u.ClassType?"class":"struct"):(X="",te="class");const ne=this.topLevelResultType(E);this.emitType(void 0,G.Public,[X,te],j,this.baseclassForType(E),()=>{this.emitExpressionMember(["public static ",ne," FromJson(string json)"],["JsonSerializer.Deserialize<",ne,">(json, ",this._options.namespace,".Converter.Settings)"])})}emitDecoderSwitch(E){this.emitLine("switch (reader.TokenType)"),this.emitBlock(E)}emitTokenCase(E){this.emitLine("case JsonTokenType.",E,":")}emitThrow(E){this.emitLine("throw new Exception(",E,");")}deserializeTypeCode(E){switch(E){case"bool":return["reader.GetBoolean()"];case"long":return["reader.GetInt64()"];case"decimal":return["reader.GetDecimal()"];case"double":return["reader.GetDouble()"];case"string":return["reader.GetString()"];default:return["JsonSerializer.Deserialize<",E,">(ref reader, options)"]}}serializeValueCode(E){return E!=="null"?["JsonSerializer.Serialize(writer, ",E,", options)"]:["writer.WriteNullValue()"]}emitSerializeClass(){this.emitType(void 0,G.Public,"static class","Serialize",void 0,()=>{const E=new Set;this.forEachTopLevel("none",j=>{E.has(j)||(E.add(j),this.emitExpressionMember(["public static string ToJson(this ",this.topLevelResultType(j)," self)"],["JsonSerializer.Serialize(self, ",this._options.namespace,".Converter.Settings)"]))})})}emitCanConvert(E){this.emitExpressionMember("public override bool CanConvert(Type t)",E)}emitReadJson(E,j){this.emitLine("public override ",j," Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)"),this.emitBlock(E)}emitWriteJson(E,j,X){this.emitLine("public override void Write(Utf8JsonWriter writer, ",X," ",E,", JsonSerializerOptions options)"),this.emitBlock(j)}converterObject(E){return[E,".Singleton"]}emitConverterClass(){const E=["Converter"];this.emitType(void 0,G.Internal,"static class",E,void 0,()=>{this.emitLine("public static readonly JsonSerializerOptions Settings = new(JsonSerializerDefaults.General)"),this.emitBlock(()=>{this.emitLine("Converters ="),this.emitLine("{"),this.indent(()=>{for(const[j,X]of this.typesWithNamedTransformations)R((0,T.defined)((0,m.transformationForType)(j)))&&this.emitLine(this.converterObject(X),",");this.emitLine("new DateOnlyConverter(),"),this.emitLine("new TimeOnlyConverter(),"),this.emitLine("IsoDateTimeOffsetConverter.Singleton")}),this.emitLine("},")},!0)})}emitDecoderTransformerCase(E,j,X,te,$){if(X!==void 0){for(const ne of E)this.emitTokenCase(ne);this.indent(()=>{this.emitDecodeTransformer(X,te,$,j)||this.emitLine("break;")})}}emitConsume(E,j,X,te){return j===void 0?(te(E),!0):this.emitTransformer(E,j,X,te)}emitDecodeTransformer(E,j,X,te="value"){if(E instanceof m.DecodingTransformer){const $=E.sourceType,ne=this.converterForType(j);if(ne!==void 0){const ce=this.csType(j);this.emitLine("var converter = ",this.converterObject(ne),";"),this.emitLine("var ",te," = (",ce,")converter.ReadJson(reader, typeof(",ce,"), null, serializer);")}else if($.kind!=="null"){let ce=j.kind==="double"?j:$;this.emitLine("var ",te," = ",this.deserializeTypeCode(this.csType(ce)),";")}return this.emitConsume(te,E.consumer,j,X)}else if(E instanceof m.ArrayDecodingTransformer){if(!(j instanceof u.ArrayType))return(0,T.panic)("Array decoding must produce an array type");this.emitLine("reader.Read();"),this.emitLine("var ",te," = new List<",this.csType(j.items),">();"),this.emitLine("while (reader.TokenType != JsonToken.EndArray)"),this.emitBlock(()=>{this.emitDecodeTransformer(E.itemTransformer,E.itemTargetType,ne=>this.emitLine(te,".Add(",ne,");"),"arrayItem"),this.emitLine("reader.Read();")});let $=te;return this._options.useList||($=[$,".ToArray()"]),X($),!0}else return E instanceof m.DecodingChoiceTransformer?(this.emitDecoderSwitch(()=>{const $=E.nullTransformer;$!==void 0&&(this.emitTokenCase("Null"),this.indent(()=>{this.emitDecodeTransformer($,j,X,"null")||this.emitLine("break")})),this.emitDecoderTransformerCase(["Number"],"integerValue",E.integerTransformer,j,X),this.emitDecoderTransformerCase(["Number"],"doubleValue",E.doubleTransformer,j,X),this.emitDecoderTransformerCase(["True","False"],"boolValue",E.boolTransformer,j,X),this.emitDecoderTransformerCase(["String"],"stringValue",E.stringTransformer,j,X),this.emitDecoderTransformerCase(["StartObject"],"objectValue",E.objectTransformer,j,X),this.emitDecoderTransformerCase(["StartArray"],"arrayValue",E.arrayTransformer,j,X)}),!1):(0,T.panic)("Unknown transformer")}stringCaseValue(E,j){return E.kind==="string"?['"',(0,y.utf16StringEscape)(j),'"']:E instanceof u.EnumType?[this.nameForNamedType(E),".",this.nameForEnumCase(E,j)]:(0,T.panic)(`Type ${E.kind} does not have string cases`)}emitTransformer(E,j,X,te){function $(ne){return ne===void 0?X:(0,m.followTargetType)(ne.sourceType)}if(j instanceof m.ChoiceTransformer){const ne=j.transformers;if(ne.length>1&&ne.every(ce=>ce instanceof m.StringMatchTransformer))return this.emitLine("switch (",E,")"),this.emitBlock(()=>{for(const ce of ne){const Te=ce,Ne=this.stringCaseValue((0,m.followTargetType)(Te.sourceType),Te.stringCase);this.emitLine("case ",Ne,":"),this.indent(()=>{this.emitTransformer(E,Te.transformer,X,te)||this.emitLine("break;")})}}),!1;for(const ce of ne)this.emitTransformer(E,ce,X,te)}else if(j instanceof m.UnionMemberMatchTransformer){const ne=j.memberType,ce=(0,l.nullableFromUnion)(j.sourceType);let Te,Ne;if(ce!==null)ne.kind==="null"?(Te=[E," == null"],Ne="null"):(Te=[E," != null"],Ne=E);else if(ne.kind==="null")Te=[E,".IsNull"],Ne="null";else{const le=this.nameForUnionMember(j.sourceType,ne);Ne=[E,".",le],Te=[Ne," != null"]}ne.kind!=="null"&&F(ne)&&(Ne=[Ne,".Value"]),this.emitLine("if (",Te,")"),this.emitBlock(()=>this.emitTransformer(Ne,j.transformer,X,te))}else if(j instanceof m.StringMatchTransformer){const ne=this.stringCaseValue((0,m.followTargetType)(j.sourceType),j.stringCase);this.emitLine("if (",E," == ",ne,")"),this.emitBlock(()=>this.emitTransformer(E,j.transformer,X,te))}else if(j instanceof m.EncodingTransformer){const ne=this.converterForType(j.sourceType);return ne!==void 0?(this.emitLine("var converter = ",this.converterObject(ne),";"),this.emitLine("converter.WriteJson(writer, ",E,", serializer);")):this.emitLine(this.serializeValueCode(E),";"),te([]),!0}else if(j instanceof m.ArrayEncodingTransformer){this.emitLine("writer.WriteStartArray();");const ne="arrayItem";return this.emitLine("foreach (var ",ne," in ",E,")"),this.emitBlock(()=>{this.emitTransformer(ne,j.itemTransformer,j.itemTargetType,()=>{})}),this.emitLine("writer.WriteEndArray();"),te([]),!0}else if(j instanceof m.ParseStringTransformer){const ne=j.consumer===void 0?X:j.consumer.sourceType;switch(ne.kind){case"date-time":this.emitLine("DateTimeOffset dt;"),this.emitLine("if (DateTimeOffset.TryParse(",E,", out dt))"),this.emitBlock(()=>this.emitConsume("dt",j.consumer,X,te));break;case"uuid":this.emitLine("Guid guid;"),this.emitLine("if (Guid.TryParse(",E,", out guid))"),this.emitBlock(()=>this.emitConsume("guid",j.consumer,X,te));break;case"uri":this.emitLine("try"),this.emitBlock(()=>{this.emitLine('var uri = new Uri("about:blank");'),this.emitLine("if (!string.IsNullOrEmpty(stringValue))"),this.emitBlock(()=>{this.emitLine("uri = new Uri(",E,");")}),this.emitConsume("uri",j.consumer,X,te)}),this.emitLine("catch (UriFormatException) {}");break;case"integer":this.emitLine("long l;"),this.emitLine("if (Int64.TryParse(",E,", out l))"),this.emitBlock(()=>this.emitConsume("l",j.consumer,X,te));break;case"bool":this.emitLine("bool b;"),this.emitLine("if (Boolean.TryParse(",E,", out b))"),this.emitBlock(()=>this.emitConsume("b",j.consumer,X,te));break;default:return(0,T.panic)(`Parsing string to ${ne.kind} not supported`)}}else if(j instanceof m.StringifyTransformer)switch(j.sourceType.kind){case"date-time":return this.emitConsume([E,'.ToString("o", System.Globalization.CultureInfo.InvariantCulture)'],j.consumer,X,te);case"uuid":return this.emitConsume([E,'.ToString("D", System.Globalization.CultureInfo.InvariantCulture)'],j.consumer,X,te);case"integer":case"uri":return this.emitConsume([E,".ToString()"],j.consumer,X,te);case"bool":return this.emitLine("var boolString = ",E,' ? "true" : "false";'),this.emitConsume("boolString",j.consumer,X,te);default:return(0,T.panic)(`Stringifying ${j.sourceType.kind} not supported`)}else if(j instanceof m.StringProducerTransformer){const ne=this.stringCaseValue($(j.consumer),j.result);return this.emitConsume(ne,j.consumer,X,te)}else if(j instanceof m.MinMaxLengthCheckTransformer){const ne=j.minLength,ce=j.maxLength,Te=[];return ne!==void 0&&Te.push([E,".Length >= ",ne.toString()]),ce!==void 0&&Te.push([E,".Length <= ",ce.toString()]),this.emitLine("if (",(0,r.arrayIntercalate)([" && "],Te),")"),this.emitBlock(()=>this.emitConsume(E,j.consumer,X,te)),!1}else if(j instanceof m.MinMaxValueTransformer){const ne=j.minimum,ce=j.maximum,Te=[];return ne!==void 0&&Te.push([E," >= ",ne.toString()]),ce!==void 0&&Te.push([E," <= ",ce.toString()]),this.emitLine("if (",(0,r.arrayIntercalate)([" && "],Te),")"),this.emitBlock(()=>this.emitConsume(E,j.consumer,X,te)),!1}else if(j instanceof m.UnionInstantiationTransformer){if(!(X instanceof u.UnionType))return(0,T.panic)("Union instantiation transformer must produce a union type");if((0,l.nullableFromUnion)(X)!==null)te(E);else{const ce=this.nameForNamedType(X);let Te;j.sourceType.kind==="null"?Te=" ":Te=[" ",this.nameForUnionMember(X,j.sourceType)," = ",E," "],te(["new ",ce," {",Te,"}"])}return!0}else return(0,T.panic)("Unknown transformer");return!1}emitTransformation(E,j){const X=(0,T.defined)((0,m.transformationForType)(j)),te=X.reverse,$=X.targetType,ne=X.transformer,ce=this.csType($);this.emitType(void 0,G.Internal,"class",E,["JsonConverter<",ce,">"],()=>{let Te=["t == typeof(",ce,")"];this.emitCanConvert(Te),this.ensureBlankLine(),this.emitReadJson(()=>{this.emitDecodeTransformer(ne,$,le=>this.emitLine("return ",le,";"))||this.emitThrow(['"Cannot unmarshal type ',ce,'"'])},ce),this.ensureBlankLine(),this.emitWriteJson("value",()=>{this.emitTransformer("value",te.transformer,te.targetType,()=>this.emitLine("return;"))||this.emitThrow(['"Cannot marshal type ',ce,'"'])},ce),this.ensureBlankLine(),this.emitLine("public static readonly ",E," Singleton = new ",E,"();")})}emitRequiredHelpers(){this._needHelpers&&(this.forEachTopLevel("leading-and-interposing",(E,j)=>this.emitFromJsonForTopLevel(E,j)),this.ensureBlankLine(),this.emitSerializeClass()),(this._needHelpers||this._needAttributes&&(this.haveNamedUnions||this.haveEnums))&&(this.ensureBlankLine(),this.emitConverterClass(),this.forEachTransformation("leading-and-interposing",(E,j)=>this.emitTransformation(E,j)),this.emitMultiline(`
|
|
185
|
+
public class DateOnlyConverter : JsonConverter<DateOnly>
|
|
186
|
+
{
|
|
187
|
+
private readonly string serializationFormat;
|
|
188
|
+
public DateOnlyConverter() : this(null) { }
|
|
189
|
+
|
|
190
|
+
public DateOnlyConverter(string? serializationFormat)
|
|
191
|
+
{
|
|
192
|
+
this.serializationFormat = serializationFormat ?? "yyyy-MM-dd";
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
public override DateOnly Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
|
|
196
|
+
{
|
|
197
|
+
var value = reader.GetString();
|
|
198
|
+
return DateOnly.Parse(value!);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
public override void Write(Utf8JsonWriter writer, DateOnly value, JsonSerializerOptions options)
|
|
202
|
+
=> writer.WriteStringValue(value.ToString(serializationFormat));
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
public class TimeOnlyConverter : JsonConverter<TimeOnly>
|
|
206
|
+
{
|
|
207
|
+
private readonly string serializationFormat;
|
|
208
|
+
|
|
209
|
+
public TimeOnlyConverter() : this(null) { }
|
|
210
|
+
|
|
211
|
+
public TimeOnlyConverter(string? serializationFormat)
|
|
212
|
+
{
|
|
213
|
+
this.serializationFormat = serializationFormat ?? "HH:mm:ss.fff";
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
public override TimeOnly Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
|
|
217
|
+
{
|
|
218
|
+
var value = reader.GetString();
|
|
219
|
+
return TimeOnly.Parse(value!);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
public override void Write(Utf8JsonWriter writer, TimeOnly value, JsonSerializerOptions options)
|
|
223
|
+
=> writer.WriteStringValue(value.ToString(serializationFormat));
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
internal class IsoDateTimeOffsetConverter : JsonConverter<DateTimeOffset>
|
|
227
|
+
{
|
|
228
|
+
public override bool CanConvert(Type t) => t == typeof(DateTimeOffset);
|
|
229
|
+
|
|
230
|
+
private const string DefaultDateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK";
|
|
231
|
+
|
|
232
|
+
private DateTimeStyles _dateTimeStyles = DateTimeStyles.RoundtripKind;
|
|
233
|
+
private string? _dateTimeFormat;
|
|
234
|
+
private CultureInfo? _culture;
|
|
235
|
+
|
|
236
|
+
public DateTimeStyles DateTimeStyles
|
|
237
|
+
{
|
|
238
|
+
get => _dateTimeStyles;
|
|
239
|
+
set => _dateTimeStyles = value;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
public string? DateTimeFormat
|
|
243
|
+
{
|
|
244
|
+
get => _dateTimeFormat ?? string.Empty;
|
|
245
|
+
set => _dateTimeFormat = (string.IsNullOrEmpty(value)) ? null : value;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
public CultureInfo Culture
|
|
249
|
+
{
|
|
250
|
+
get => _culture ?? CultureInfo.CurrentCulture;
|
|
251
|
+
set => _culture = value;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
public override void Write(Utf8JsonWriter writer, DateTimeOffset value, JsonSerializerOptions options)
|
|
255
|
+
{
|
|
256
|
+
string text;
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
if ((_dateTimeStyles & DateTimeStyles.AdjustToUniversal) == DateTimeStyles.AdjustToUniversal
|
|
260
|
+
|| (_dateTimeStyles & DateTimeStyles.AssumeUniversal) == DateTimeStyles.AssumeUniversal)
|
|
261
|
+
{
|
|
262
|
+
value = value.ToUniversalTime();
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
text = value.ToString(_dateTimeFormat ?? DefaultDateTimeFormat, Culture);
|
|
266
|
+
|
|
267
|
+
writer.WriteStringValue(text);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
public override DateTimeOffset Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
|
|
271
|
+
{
|
|
272
|
+
string? dateText = reader.GetString();
|
|
273
|
+
|
|
274
|
+
if (string.IsNullOrEmpty(dateText) == false)
|
|
275
|
+
{
|
|
276
|
+
if (!string.IsNullOrEmpty(_dateTimeFormat))
|
|
277
|
+
{
|
|
278
|
+
return DateTimeOffset.ParseExact(dateText, _dateTimeFormat, Culture, _dateTimeStyles);
|
|
279
|
+
}
|
|
280
|
+
else
|
|
281
|
+
{
|
|
282
|
+
return DateTimeOffset.Parse(dateText, Culture, _dateTimeStyles);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
else
|
|
286
|
+
{
|
|
287
|
+
return default(DateTimeOffset);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
public static readonly IsoDateTimeOffsetConverter Singleton = new IsoDateTimeOffsetConverter();
|
|
293
|
+
}`))}needNamespace(){return this._needNamespaces}}e.SystemTextJsonCSharpRenderer=Q})(op);var Up={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.GoRenderer=e.GoTargetLanguage=e.goOptions=void 0;const t=lt(),n=ot(),i=qe,r=St(),u=Ie,l=dt,d=et,y=jt,T=Lt,S=Et;e.goOptions={justTypes:new l.BooleanOption("just-types","Plain types only",!1),justTypesAndPackage:new l.BooleanOption("just-types-and-package","Plain types with package only",!1),packageName:new l.StringOption("package","Generated package name","NAME","main"),multiFileOutput:new l.BooleanOption("multi-file-output","Renders each top-level object in its own Go file",!1),fieldTags:new l.StringOption("field-tags","list of tags which should be generated for fields","TAGS","json"),omitEmpty:new l.BooleanOption("omit-empty",'If set, all non-required objects will be tagged with ",omitempty"',!1)};class O extends T.TargetLanguage{constructor(){super("Go",["go","golang"],"go")}getOptions(){return[e.goOptions.justTypes,e.goOptions.justTypesAndPackage,e.goOptions.packageName,e.goOptions.multiFileOutput,e.goOptions.fieldTags,e.goOptions.omitEmpty]}get supportsUnionsWithBothNumberTypes(){return!0}get stringTypeMapping(){const U=new Map;return U.set("date-time","date-time"),U}get supportsOptionalClassProperties(){return!0}makeRenderer(U,R){return new G(this,U,(0,l.getOptionValues)(e.goOptions,R))}get defaultIndentation(){return" "}}e.GoTargetLanguage=O;const I=(0,i.funPrefixNamer)("namer",P),k=(0,r.legalizeCharacters)(r.isLetterOrUnderscoreOrDigit);function P(K){const U=(0,r.splitIntoWords)(K);return(0,r.combineWords)(U,k,r.firstUpperWordStyle,r.firstUpperWordStyle,r.allUpperWordStyle,r.allUpperWordStyle,"",r.isLetterOrUnderscore)}const m=["integer","double","bool","string"],C=["array","class","map","enum"];function J(K){const U=K.kind;return m.indexOf(U)>=0||U==="class"||U==="enum"||U==="date-time"}function x(K,U){if(!K.isOptional)return!1;if(U)return!0;const R=K.type;return["union","null","any"].indexOf(R.kind)<0}class G extends S.ConvenienceRenderer{constructor(U,R,A){super(U,R),this._options=A,this._topLevelUnmarshalNames=new Map}makeNamedTypeNamer(){return I}namerForObjectProperty(){return I}makeUnionMemberNamer(){return I}makeEnumCaseNamer(){return I}get enumCasesInGlobalNamespace(){return!0}makeTopLevelDependencyNames(U,R){const A=new i.DependencyName(I,R.order,b=>`unmarshal_${b(R)}`);return this._topLevelUnmarshalNames.set(R,A),[A]}startFile(U){this._options.multiFileOutput!==!1&&((0,u.assert)(this._currentFilename===void 0,"Previous file wasn't finished: "+this._currentFilename),this._currentFilename=`${this.sourcelikeToString(U)}.go`,this.initializeEmitContextForFilename(this._currentFilename))}endFile(){this._options.multiFileOutput!==!1&&(this.finishFile((0,u.defined)(this._currentFilename)),this._currentFilename=void 0)}emitBlock(U,R){this.emitLine(U," {"),this.indent(R),this.emitLine("}")}emitFunc(U,R){this.emitBlock(["func ",U],R)}emitStruct(U,R){this.emitBlock(["type ",U," struct"],()=>this.emitTable(R))}nullableGoType(U,R){const A=this.goType(U,R);return J(U)?["*",A]:A}propertyGoType(U){const R=U.type;return R instanceof t.UnionType&&(0,n.nullableFromUnion)(R)===null?["*",this.goType(R,!0)]:U.isOptional?this.nullableGoType(R,!0):this.goType(R,!0)}goType(U,R=!1){return(0,n.matchType)(U,A=>(0,d.maybeAnnotated)(R,y.anyTypeIssueAnnotation,"interface{}"),A=>(0,d.maybeAnnotated)(R,y.nullTypeIssueAnnotation,"interface{}"),A=>"bool",A=>"int64",A=>"float64",A=>"string",A=>["[]",this.goType(A.items,R)],A=>this.nameForNamedType(A),A=>{let b;const _=A.values;return _ instanceof t.UnionType&&(0,n.nullableFromUnion)(_)===null?b=["*",this.nameForNamedType(_)]:b=this.goType(_,R),["map[string]",b]},A=>this.nameForNamedType(A),A=>{const b=(0,n.nullableFromUnion)(A);return b!==null?this.nullableGoType(b,R):this.nameForNamedType(A)},A=>A.kind==="date-time"?"time.Time":"string")}emitTopLevel(U,R){if(this.startFile(R),this._options.multiFileOutput&&this._options.justTypes===!1&&this._options.justTypesAndPackage===!1&&this.leadingComments===void 0){this.emitLineOnce("// This file was generated from JSON Schema using quicktype, do not modify it directly."),this.emitLineOnce("// To parse and unparse this JSON data, add this code to your project and do:"),this.emitLineOnce("//");const b=(0,d.modifySource)(r.camelCase,R);this.emitLineOnce("// ",b,", err := ",(0,u.defined)(this._topLevelUnmarshalNames.get(R)),"(bytes)"),this.emitLineOnce("// bytes, err = ",b,".Marshal()")}this.emitPackageDefinitons(!0);const A=(0,u.defined)(this._topLevelUnmarshalNames.get(R));this.namedTypeToNameForTopLevel(U)===void 0&&this.emitLine("type ",R," ",this.goType(U)),!(this._options.justTypes||this._options.justTypesAndPackage)&&(this.ensureBlankLine(),this.emitFunc([A,"(data []byte) (",R,", error)"],()=>{this.emitLine("var r ",R),this.emitLine("err := json.Unmarshal(data, &r)"),this.emitLine("return r, err")}),this.ensureBlankLine(),this.emitFunc(["(r *",R,") Marshal() ([]byte, error)"],()=>{this.emitLine("return json.Marshal(r)")}),this.endFile())}emitClass(U,R){this.startFile(R);let A=[];const b=new Set;this.forEachClassProperty(U,"none",(_,L,g)=>{const p=this.descriptionForClassProperty(U,L),a=p!==void 0&&p.length>0?p.map(w=>"// "+w):[],o=this.propertyGoType(g),f=x(g,this._options.omitEmpty)?",omitempty":[];a.forEach(w=>A.push([w]));const h=this._options.fieldTags.split(",").map(w=>w+':"'+(0,r.stringEscape)(L)+f+'"').join(" ");A.push([[_," "],[o," "],["`",h,"`"]]),b.add(o.toString())}),this.emitPackageDefinitons(!1,b.has("time.Time")||b.has("*,time.Time")||b.has("[],time.Time")?new Set(["time"]):void 0),this.emitDescription(this.descriptionForType(U)),this.emitStruct(R,A),this.endFile()}emitEnum(U,R){this.startFile(R),this.emitPackageDefinitons(!1),this.emitDescription(this.descriptionForType(U)),this.emitLine("type ",R," string"),this.ensureBlankLine(),this.emitLine("const (");let A=[];this.forEachEnumCase(U,"none",(b,_)=>{A.push([[b," "],[R,' = "',(0,r.stringEscape)(_),'"']])}),this.indent(()=>this.emitTable(A)),this.emitLine(")"),this.endFile()}emitUnion(U,R){this.startFile(R),this.emitPackageDefinitons(!1);const[A,b]=(0,n.removeNullFromUnion)(U),_=A!==null?"true":"false",L=(o,f,h)=>{const w=U.findMember(o);return w===void 0?f:h(w,this.nameForUnionMember(U,w),this.goType(w))},g=o=>{L(o,void 0,(f,h,w)=>{this.emitLine("x.",h," = nil")})},p=(o,f)=>{const h=[];for(const w of m)h.push(L(w,"nil",(N,F,B)=>o(F)),", ");for(const w of C)h.push(L(w,"false, nil",(N,F,B)=>f(N.kind==="class",F)),", ");return h.push(_),h};let a=[];this.forEachUnionMember(U,b,"none",null,(o,f)=>{const h=this.nullableGoType(f,!0);a.push([[o," "],h])}),this.emitDescription(this.descriptionForType(U)),this.emitStruct(R,a),!(this._options.justTypes||this._options.justTypesAndPackage)&&(this.ensureBlankLine(),this.emitFunc(["(x *",R,") UnmarshalJSON(data []byte) error"],()=>{for(const f of C)g(f);L("class",void 0,(f,h,w)=>{this.emitLine("var c ",w)});const o=p(f=>["&x.",f],(f,h)=>f?"true, &c":["true, &x.",h]);this.emitLine("object, err := unmarshalUnion(data, ",o,")"),this.emitBlock("if err != nil",()=>{this.emitLine("return err")}),this.emitBlock("if object",()=>{L("class",void 0,(f,h,w)=>{this.emitLine("x.",h," = &c")})}),this.emitLine("return nil")}),this.ensureBlankLine(),this.emitFunc(["(x *",R,") MarshalJSON() ([]byte, error)"],()=>{const o=p(f=>["x.",f],(f,h)=>["x.",h," != nil, x.",h]);this.emitLine("return marshalUnion(",o,")")}),this.endFile())}emitSingleFileHeaderComments(){this.emitLineOnce("// This file was generated from JSON Schema using quicktype, do not modify it directly."),this.emitLineOnce("// To parse and unparse this JSON data, add this code to your project and do:"),this.forEachTopLevel("none",(U,R)=>{this.emitLine("//");const A=(0,d.modifySource)(r.camelCase,R);this.emitLine("// ",A,", err := ",(0,u.defined)(this._topLevelUnmarshalNames.get(R)),"(bytes)"),this.emitLine("// bytes, err = ",A,".Marshal()")})}emitPackageDefinitons(U,R=new Set){if(!this._options.justTypes||this._options.justTypesAndPackage){this.ensureBlankLine();const A="package "+this._options.packageName;this.emitLineOnce(A),this.ensureBlankLine()}!this._options.justTypes&&!this._options.justTypesAndPackage&&(this.haveNamedUnions&&this._options.multiFileOutput===!1&&(R.add("bytes"),R.add("errors")),U&&R.add("encoding/json")),this.emitImports(R)}emitImports(U){const R=Array.from(U).sort((A,b)=>A.localeCompare(b));R.length!==0&&(R.forEach(A=>{this.emitLineOnce(`import "${A}"`)}),this.ensureBlankLine())}emitHelperFunctions(){if(this.haveNamedUnions){this.startFile("JSONSchemaSupport");const U=new Set;this._options.multiFileOutput&&(U.add("bytes"),U.add("errors")),this.emitPackageDefinitons(!0,U),this.ensureBlankLine(),this.emitMultiline(`func unmarshalUnion(data []byte, pi **int64, pf **float64, pb **bool, ps **string, haveArray bool, pa interface{}, haveObject bool, pc interface{}, haveMap bool, pm interface{}, haveEnum bool, pe interface{}, nullable bool) (bool, error) {
|
|
294
|
+
if pi != nil {
|
|
295
|
+
*pi = nil
|
|
296
|
+
}
|
|
297
|
+
if pf != nil {
|
|
298
|
+
*pf = nil
|
|
299
|
+
}
|
|
300
|
+
if pb != nil {
|
|
301
|
+
*pb = nil
|
|
302
|
+
}
|
|
303
|
+
if ps != nil {
|
|
304
|
+
*ps = nil
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
dec := json.NewDecoder(bytes.NewReader(data))
|
|
308
|
+
dec.UseNumber()
|
|
309
|
+
tok, err := dec.Token()
|
|
310
|
+
if err != nil {
|
|
311
|
+
return false, err
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
switch v := tok.(type) {
|
|
315
|
+
case json.Number:
|
|
316
|
+
if pi != nil {
|
|
317
|
+
i, err := v.Int64()
|
|
318
|
+
if err == nil {
|
|
319
|
+
*pi = &i
|
|
320
|
+
return false, nil
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
if pf != nil {
|
|
324
|
+
f, err := v.Float64()
|
|
325
|
+
if err == nil {
|
|
326
|
+
*pf = &f
|
|
327
|
+
return false, nil
|
|
328
|
+
}
|
|
329
|
+
return false, errors.New("Unparsable number")
|
|
330
|
+
}
|
|
331
|
+
return false, errors.New("Union does not contain number")
|
|
332
|
+
case float64:
|
|
333
|
+
return false, errors.New("Decoder should not return float64")
|
|
334
|
+
case bool:
|
|
335
|
+
if pb != nil {
|
|
336
|
+
*pb = &v
|
|
337
|
+
return false, nil
|
|
338
|
+
}
|
|
339
|
+
return false, errors.New("Union does not contain bool")
|
|
340
|
+
case string:
|
|
341
|
+
if haveEnum {
|
|
342
|
+
return false, json.Unmarshal(data, pe)
|
|
343
|
+
}
|
|
344
|
+
if ps != nil {
|
|
345
|
+
*ps = &v
|
|
346
|
+
return false, nil
|
|
347
|
+
}
|
|
348
|
+
return false, errors.New("Union does not contain string")
|
|
349
|
+
case nil:
|
|
350
|
+
if nullable {
|
|
351
|
+
return false, nil
|
|
352
|
+
}
|
|
353
|
+
return false, errors.New("Union does not contain null")
|
|
354
|
+
case json.Delim:
|
|
355
|
+
if v == '{' {
|
|
356
|
+
if haveObject {
|
|
357
|
+
return true, json.Unmarshal(data, pc)
|
|
358
|
+
}
|
|
359
|
+
if haveMap {
|
|
360
|
+
return false, json.Unmarshal(data, pm)
|
|
361
|
+
}
|
|
362
|
+
return false, errors.New("Union does not contain object")
|
|
363
|
+
}
|
|
364
|
+
if v == '[' {
|
|
365
|
+
if haveArray {
|
|
366
|
+
return false, json.Unmarshal(data, pa)
|
|
367
|
+
}
|
|
368
|
+
return false, errors.New("Union does not contain array")
|
|
369
|
+
}
|
|
370
|
+
return false, errors.New("Cannot handle delimiter")
|
|
371
|
+
}
|
|
372
|
+
return false, errors.New("Cannot unmarshal union")
|
|
373
|
+
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
func marshalUnion(pi *int64, pf *float64, pb *bool, ps *string, haveArray bool, pa interface{}, haveObject bool, pc interface{}, haveMap bool, pm interface{}, haveEnum bool, pe interface{}, nullable bool) ([]byte, error) {
|
|
377
|
+
if pi != nil {
|
|
378
|
+
return json.Marshal(*pi)
|
|
379
|
+
}
|
|
380
|
+
if pf != nil {
|
|
381
|
+
return json.Marshal(*pf)
|
|
382
|
+
}
|
|
383
|
+
if pb != nil {
|
|
384
|
+
return json.Marshal(*pb)
|
|
385
|
+
}
|
|
386
|
+
if ps != nil {
|
|
387
|
+
return json.Marshal(*ps)
|
|
388
|
+
}
|
|
389
|
+
if haveArray {
|
|
390
|
+
return json.Marshal(pa)
|
|
391
|
+
}
|
|
392
|
+
if haveObject {
|
|
393
|
+
return json.Marshal(pc)
|
|
394
|
+
}
|
|
395
|
+
if haveMap {
|
|
396
|
+
return json.Marshal(pm)
|
|
397
|
+
}
|
|
398
|
+
if haveEnum {
|
|
399
|
+
return json.Marshal(pe)
|
|
400
|
+
}
|
|
401
|
+
if nullable {
|
|
402
|
+
return json.Marshal(nil)
|
|
403
|
+
}
|
|
404
|
+
return nil, errors.New("Union must not be null")
|
|
405
|
+
}`),this.endFile()}}emitSourceStructure(){this._options.multiFileOutput===!1&&this._options.justTypes===!1&&this._options.justTypesAndPackage===!1&&this.leadingComments===void 0&&(this.emitSingleFileHeaderComments(),this.emitPackageDefinitons(!1,this.collectAllImports())),this.forEachTopLevel("leading-and-interposing",(U,R)=>this.emitTopLevel(U,R),U=>!(this._options.justTypes||this._options.justTypesAndPackage)||this.namedTypeToNameForTopLevel(U)===void 0),this.forEachObject("leading-and-interposing",(U,R)=>this.emitClass(U,R)),this.forEachEnum("leading-and-interposing",(U,R)=>this.emitEnum(U,R)),this.forEachUnion("leading-and-interposing",(U,R)=>this.emitUnion(U,R)),!(this._options.justTypes||this._options.justTypesAndPackage)&&this.emitHelperFunctions()}collectAllImports(){let U=new Set;return this.forEachObject("leading-and-interposing",(R,A)=>{const b=this.collectClassImports(R);U=new Set([...U,...b])}),this.forEachUnion("leading-and-interposing",(R,A)=>{const b=this.collectUnionImports(R);U=new Set([...U,...b])}),U}collectClassImports(U){const R=new Set,A=new Map;A.set("time.Time","time"),A.set("*,time.Time","time"),A.set("[],time.Time","time"),this.forEachClassProperty(U,"none",(_,L,g)=>{const p=this.propertyGoType(g);R.add(p.toString())});const b=new Set;return R.forEach(_=>{const L=A.get(_);L&&b.add(L)}),b}collectUnionImports(U){const R=new Set,A=new Map;A.set("time.Time","time"),A.set("*,time.Time","time"),this.forEachUnionMember(U,null,"none",null,(_,L)=>{const g=this.nullableGoType(L,!0);R.add(g.toString())});const b=new Set;return R.forEach(_=>{const L=A.get(_);L&&b.add(L)}),b}}e.GoRenderer=G})(Up);var Jp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CJSONRenderer=e.IncludeKind=e.GlobalNames=e.CJSONTargetLanguage=e.cJSONOptions=void 0;const t=Lt,n=lt(),i=ot(),r=qe,u=St(),l=Ie,d=Et,y=dt,T=Ie,S=Zo,O=vc,I=["pascal-case","pascal"],k=["underscore-case","underscore"],P=["camel-case","camel"],m=["upper-underscore-case","upper-underscore"],C=["pascal-case-upper-acronyms","pascal-upper-acronyms"],J=["camel-case-upper-acronyms","camel-upper-acronyms"];e.cJSONOptions={typeSourceStyle:new y.EnumOption("source-style","Source code generation type, whether to generate single or multiple source files",[["single-source",!0],["multi-source",!1]],"single-source","secondary"),typeIntegerSize:new y.EnumOption("integer-size","Integer code generation type (int64_t by default)",[["int8_t","int8_t"],["int16_t","int16_t"],["int32_t","int32_t"],["int64_t","int64_t"]],"int64_t","secondary"),hashtableSize:new y.StringOption("hashtable-size","Hashtable size, used when maps are created (64 by default)","SIZE","64"),addTypedefAlias:new y.EnumOption("typedef-alias","Add typedef alias to unions, structs, and enums (no typedef by default)",[["no-typedef",!1],["add-typedef",!0]],"no-typedef","secondary"),printStyle:new y.EnumOption("print-style","Which cJSON print should be used (formatted by default)",[["print-formatted",!1],["print-unformatted",!0]],"print-formatted","secondary"),typeNamingStyle:new y.EnumOption("type-style","Naming style for types",[I,k,P,m,C,J]),memberNamingStyle:new y.EnumOption("member-style","Naming style for members",[k,I,P,m,C,J]),enumeratorNamingStyle:new y.EnumOption("enumerator-style","Naming style for enumerators",[m,k,I,P,C,J])};class x extends t.TargetLanguage{constructor(_="C (cJSON)",L=["cjson","cJSON"],g="h"){super(_,L,g)}getOptions(){return[e.cJSONOptions.typeSourceStyle,e.cJSONOptions.typeIntegerSize,e.cJSONOptions.addTypedefAlias,e.cJSONOptions.printStyle,e.cJSONOptions.hashtableSize,e.cJSONOptions.typeNamingStyle,e.cJSONOptions.memberNamingStyle,e.cJSONOptions.enumeratorNamingStyle]}get supportsUnionsWithBothNumberTypes(){return!0}get supportsOptionalClassProperties(){return!0}makeRenderer(_,L){return new A(this,_,(0,y.getOptionValues)(e.cJSONOptions,L))}}e.CJSONTargetLanguage=x;const G=(0,u.legalizeCharacters)(b=>(0,u.isAscii)(b)&&(0,u.isLetterOrUnderscoreOrDigit)(b)),K=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","bool","break","case","catch","char","char16_t","char32_t","class","compl","concept","const","constexpr","const_cast","continue","co_await","co_return","co_yield","decltype","default","delete","do","double","dynamic_cast","else","enum","explicit","export","extern","false","float","for","friend","goto","if","import","inline","int","long","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","private","protected","public","register","reinterpret_cast","requires","restrict","return","short","signed","sizeof","static","static_assert","static_cast","struct","switch","synchronized","template","this","thread_local","throw","true","try","typedef","typeid","typename","typeof","union","unsigned","using","virtual","void","volatile","wchar_t","while","xor","xor_eq","override","final","transaction_safe","transaction_safe_dynamic","NULL","Array","ArrayReference","Bool","DoubleArray","False","FloatArray","IntArray","Object","Null","Number","Raw","String","StringArray","StringReference","True"];var U;(function(b){b[b.ClassMemberConstraints=0]="ClassMemberConstraints",b[b.ClassMemberConstraintException=1]="ClassMemberConstraintException",b[b.ValueTooLowException=2]="ValueTooLowException",b[b.ValueTooHighException=3]="ValueTooHighException",b[b.ValueTooShortException=4]="ValueTooShortException",b[b.ValueTooLongException=5]="ValueTooLongException",b[b.InvalidPatternException=6]="InvalidPatternException",b[b.CheckConstraint=7]="CheckConstraint"})(U=e.GlobalNames||(e.GlobalNames={}));var R;(function(b){b[b.ForwardDeclare=0]="ForwardDeclare",b[b.Include=1]="Include"})(R=e.IncludeKind||(e.IncludeKind={}));class A extends d.ConvenienceRenderer{constructor(_,L,g){super(_,L),this._options=g,this.typeIntegerSize=g.typeIntegerSize,this.hashtableSize=g.hashtableSize,this.typeNamingStyle=g.typeNamingStyle,this.namedTypeNameStyle=(0,u.makeNameStyle)(this.typeNamingStyle,G),this.enumeratorNamingStyle=g.enumeratorNamingStyle,this.memberNameStyle=(0,u.makeNameStyle)(g.memberNamingStyle,G),this.forbiddenGlobalNames=[];for(const p of(0,l.numberEnumValues)(U)){const a=this.namedTypeNameStyle(U[p]);this.forbiddenGlobalNames.push(a)}}forbiddenNamesForGlobalNamespace(){return[...K,...this.forbiddenGlobalNames]}forbiddenForEnumCases(_,L){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(_,L){return{names:[],includeGlobalForbidden:!0}}forbiddenForObjectProperties(_,L){return{names:[],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return(0,r.funPrefixNamer)("types",this.namedTypeNameStyle)}namerForObjectProperty(){return(0,r.funPrefixNamer)("members",this.memberNameStyle)}makeUnionMemberNamer(){return(0,r.funPrefixNamer)("members",this.memberNameStyle)}makeEnumCaseNamer(){return(0,r.funPrefixNamer)("enumerators",(0,u.makeNameStyle)(this.enumeratorNamingStyle,G))}proposeUnionMemberName(_,L,g,p){let a=super.proposeUnionMemberName(_,L,g,p);return a==="bool"?a="boolean":a==="double"&&(a="number"),a}emitTypdefAlias(_,L){this._options.addTypedefAlias&&(this.emitLine("typedef ",this.quicktypeTypeToCJSON(_,!1).cType," ",L,";"),this.ensureBlankLine())}emitSourceStructure(_){this._options.typeSourceStyle?this.emitSingleSourceStructure(_):this.emitMultiSourceStructure()}emitSingleSourceStructure(_){this.startFile(_),this.forEachDeclaration("leading-and-interposing",L=>{if(L.kind==="forward")this.emitLine("struct ",this.nameForNamedType(L.type),";");else if(L.kind==="define"){const g=L.type;g instanceof n.ClassType?this.emitClassTypedef(g):g instanceof n.EnumType?this.emitEnumTypedef(g):g instanceof n.UnionType?this.emitUnionTypedef(g):(0,l.panic)("Cannot declare type")}else(0,l.assertNever)(L.kind)}),this.forEachTopLevel("leading",(L,g)=>this.emitTopLevelTypedef(L,g),L=>this.namedTypeToNameForTopLevel(L)===void 0),this.forEachEnum("leading-and-interposing",(L,g)=>this.emitEnumPrototypes(L)),this.forEachUnion("leading-and-interposing",L=>this.emitUnionPrototypes(L)),this.forEachObject("leading-and-interposing",(L,g)=>this.emitClassPrototypes(L)),this.forEachTopLevel("leading",(L,g)=>this.emitTopLevelPrototypes(L,g),L=>this.namedTypeToNameForTopLevel(L)===void 0),this.forEachEnum("leading-and-interposing",(L,g)=>this.emitEnumFunctions(L)),this.forEachUnion("leading-and-interposing",L=>this.emitUnionFunctions(L)),this.forEachObject("leading-and-interposing",(L,g)=>this.emitClassFunctions(L)),this.forEachTopLevel("leading",(L,g)=>this.emitTopLevelFunctions(L,g),L=>this.namedTypeToNameForTopLevel(L)===void 0),this.finishFile()}emitMultiSourceStructure(){let _;this.forEachNamedType("leading-and-interposing",(L,g)=>{this.emitClass(L,_)},(L,g)=>{this.emitEnum(L,_)},(L,g)=>{this.emitUnion(L,_)}),this.forEachTopLevel("leading",(L,g)=>this.emitTopLevel(L,g,_),L=>this.namedTypeToNameForTopLevel(L)===void 0)}emitEnum(_,L){const g=this.nameForNamedType(_),p=this.sourcelikeToString(g).concat(".h");L.push(p),this.startFile(p),this.emitIncludes(_,this.sourcelikeToString(p)),this.emitEnumTypedef(_),this.emitEnumPrototypes(_),this.emitEnumFunctions(_),this.finishFile()}emitEnumTypedef(_){const L=this.nameForNamedType(_),g=(0,O.enumCaseValues)(_,this.targetLanguage.name);this.emitDescription(this.descriptionForType(_)),this.emitBlock(["enum ",L],()=>{const p=(0,u.allUpperWordStyle)(this.sourcelikeToString(L));this.forEachEnumCase(_,"none",(a,o)=>{if(g!==void 0){const[f]=(0,S.getAccessorName)(g,o);f!==void 0?this.emitLine(p,"_",a," = ",f.toString(),","):this.emitLine(p,"_",a,",")}else this.emitLine(p,"_",a,",")})},"",!0),this.ensureBlankLine(),this.emitTypdefAlias(_,L)}emitEnumPrototypes(_){const L=this.nameForNamedType(_);this.emitLine("enum ",L," cJSON_Get",L,"Value(",this.withConst("cJSON")," * j);"),this.emitLine("cJSON * cJSON_Create",L,"(",this.withConst(["enum ",L])," x);"),this.ensureBlankLine()}emitEnumFunctions(_){const L=this.nameForNamedType(_);this.emitBlock(["enum ",L," cJSON_Get",L,"Value(",this.withConst("cJSON")," * j)"],()=>{this.emitLine("enum ",L," x = 0;"),this.emitBlock(["if (NULL != j)"],()=>{let g=!0;const p=(0,u.allUpperWordStyle)(this.sourcelikeToString(L));this.forEachEnumCase(_,"none",(a,o)=>{this.emitLine(g?"":"else ",'if (!strcmp(cJSON_GetStringValue(j), "',o,'")) x = ',p,"_",a,";"),g=!1})}),this.emitLine("return x;")}),this.ensureBlankLine(),this.emitBlock(["cJSON * cJSON_Create",L,"(",this.withConst(["enum ",L])," x)"],()=>{this.emitLine("cJSON * j = NULL;"),this.emitBlock(["switch (x)"],()=>{const g=(0,u.allUpperWordStyle)(this.sourcelikeToString(L));this.forEachEnumCase(_,"none",(p,a)=>{this.emitLine("case ",g,"_",p,': j = cJSON_CreateString("',a,'"); break;')})}),this.emitLine("return j;")}),this.ensureBlankLine()}emitUnion(_,L){const g=this.nameForNamedType(_),p=this.sourcelikeToString(g).concat(".h");L.push(p),this.startFile(p),this.emitIncludes(_,this.sourcelikeToString(p)),this.emitUnionTypedef(_),this.emitUnionPrototypes(_),this.emitUnionFunctions(_),this.finishFile()}emitUnionTypedef(_){const[L,g]=(0,i.removeNullFromUnion)(_),p=this.nameForNamedType(_);this.emitDescription(this.descriptionForType(_)),this.emitBlock(["struct ",p],()=>{this.emitLine("int type;"),this.emitBlock(["union"],()=>{for(const a of g){const o=this.quicktypeTypeToCJSON(a,!1);this.emitLine(o.cType,o.optionalQualifier!==""?" ":"",o.optionalQualifier," ",this.nameForUnionMember(_,a),";")}},"value",!0)},"",!0),this.ensureBlankLine(),this.emitTypdefAlias(_,p)}emitUnionPrototypes(_){const L=this.nameForNamedType(_);this.emitLine("struct ",L," * cJSON_Get",L,"Value(const cJSON * j);"),this.emitLine("cJSON * cJSON_Create",L,"(",this.withConst(["struct ",L])," * x);"),this.emitLine("void cJSON_Delete",L,"(struct ",L," * x);"),this.ensureBlankLine()}emitUnionFunctions(_){const[L,g]=(0,i.removeNullFromUnion)(_),p=this.nameForNamedType(_);this.emitBlock(["struct ",p," * cJSON_Get",p,"Value(const cJSON * j)"],()=>{let a=!0;this.emitLine("struct ",p," * x = cJSON_malloc(sizeof(struct ",p,"));"),this.emitBlock(["if (NULL != x)"],()=>{this.emitLine("memset(x, 0, sizeof(struct ",p,"));"),L!==null&&(this.emitBlock(["if (cJSON_IsNull(j))"],()=>{this.emitLine("x->type = cJSON_NULL;")}),a=!1);for(const o of g){const f=this.quicktypeTypeToCJSON(o,!1);this.emitBlock([a===!0?"if (":"else if (",f.isType,"(j))"],()=>{this.emitLine("x->type = ",f.cjsonType,";"),f.cjsonType==="cJSON_Array"&&f.items!==void 0?(this.emitLine(f.cType," * x","1"," = list_create(false, NULL);"),this.emitBlock(["if (NULL != x","1",")"],()=>{this.emitLine("cJSON * e","1"," = NULL;"),this.emitBlock(["cJSON_ArrayForEach(e","1",", j","",")"],()=>{const N=(F,B,W)=>{F.items.cjsonType==="cJSON_Array"||F.items.cjsonType==="cJSON_Map"||(F.items.cjsonType==="cJSON_Invalid"||F.items.cjsonType==="cJSON_NULL"?this.emitLine("list_add_tail(x",W.toString(),", (",F.items.cType," *)0xDEADBEEF, sizeof(",F.items.cType," *));"):F.items.cjsonType==="cJSON_String"?this.emitLine("list_add_tail(x",W.toString(),", strdup(",F.items.getValue,"(e",W.toString(),")), sizeof(",F.items.cType," *));"):F.items.cjsonType==="cJSON_Object"||F.items.cjsonType==="cJSON_Union"?this.emitLine("list_add_tail(x",W.toString(),", ",F.items.getValue,"(e",W.toString(),"), sizeof(",F.items.cType," *));"):(this.emitLine(F.items.cType," * tmp",B>0?B.toString():""," = cJSON_malloc(sizeof(",F.items.cType,"));"),this.emitBlock(["if (NULL != tmp",B>0?B.toString():"",")"],()=>{this.emitLine("* tmp",B>0?B.toString():""," = ",F.items.getValue,"(e",W.toString(),");"),this.emitLine("list_add_tail(x",W.toString(),", tmp",B>0?B.toString():"",", sizeof(",F.items.cType," *));")})))};f.items.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e","1","))"],()=>{N(f,0,1)}),this.emitBlock(["else"],()=>{this.emitLine("list_add_tail(x","1",", (void *)0xDEADBEEF, sizeof(void *));")})):N(f,0,1)}),this.emitLine("x->value.",this.nameForUnionMember(_,o)," = x","1",";")})):f.cjsonType==="cJSON_Map"&&f.items!==void 0?(this.emitLine(f.cType," * x","1"," = hashtable_create(",this.hashtableSize,", false);"),this.emitBlock(["if (NULL != x","1",")"],()=>{this.emitLine("cJSON * e","1"," = NULL;"),this.emitBlock(["cJSON_ArrayForEach(e","1",", j","",")"],()=>{const N=(F,B,W)=>{F.items.cjsonType==="cJSON_Array"||F.items.cjsonType==="cJSON_Map"||(F.items.cjsonType==="cJSON_Invalid"||F.items.cjsonType==="cJSON_NULL"?this.emitLine("hashtable_add(x",W.toString(),", e",W.toString(),"->string, (",F.items.cType," *)0xDEADBEEF, sizeof(",F.items.cType," *));"):F.items.cjsonType==="cJSON_String"?this.emitLine("hashtable_add(x",W.toString(),", e",W.toString(),"->string, strdup(",F.items.getValue,"(e",W.toString(),")), sizeof(",F.items.cType," *));"):F.items.cjsonType==="cJSON_Object"||F.items.cjsonType==="cJSON_Union"?this.emitLine("hashtable_add(x",W.toString(),", e",W.toString(),"->string, ",F.items.getValue,"(e",W.toString(),"), sizeof(",F.items.cType," *));"):(this.emitLine(F.items.cType," * tmp",B>0?B.toString():""," = cJSON_malloc(sizeof(",F.items.cType,"));"),this.emitBlock(["if (NULL != tmp",B>0?B.toString():"",")"],()=>{this.emitLine("* tmp",B>0?B.toString():""," = ",F.items.getValue,"(e",W.toString(),");"),this.emitLine("hashtable_add(x",W.toString(),", e",W.toString(),"->string, tmp",B>0?B.toString():"",", sizeof(",F.items.cType," *));")})))};f.items.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e","1","))"],()=>{N(f,0,1)}),this.emitBlock(["else"],()=>{this.emitLine("hashtable_add(x","1",", e","1","->string, (void *)0xDEADBEEF, sizeof(void *));")})):N(f,0,1)}),this.emitLine("x->value.",this.nameForUnionMember(_,o)," = x","1",";")})):f.cjsonType==="cJSON_Invalid"||f.cjsonType==="cJSON_NULL"?this.emitLine("x->value.",this.nameForUnionMember(_,o)," = (",f.cType," *)0xDEADBEEF;"):f.cjsonType==="cJSON_String"?this.emitLine("x->value.",this.nameForUnionMember(_,o)," = strdup(",f.getValue,"(j));"):this.emitLine("x->value.",this.nameForUnionMember(_,o)," = ",f.getValue,"(j);")}),a=!1}}),this.emitLine("return x;")}),this.ensureBlankLine(),this.emitBlock(["cJSON * cJSON_Create",p,"(",this.withConst(["struct ",p])," * x)"],()=>{this.emitLine("cJSON * j = NULL;"),this.emitBlock(["if (NULL != x)"],()=>{let a=!0;L!==null&&(this.emitBlock(["if (cJSON_NULL == x->type)"],()=>{this.emitLine("j = cJSON_CreateNull();")}),a=!1);for(const o of g){const f=this.quicktypeTypeToCJSON(o,!1);this.emitBlock([a===!0?"if (":"else if (",f.cjsonType," == x->type)"],()=>{f.cjsonType==="cJSON_Array"&&f.items!==void 0?(this.emitLine("cJSON * j","1"," = ",f.createObject,"();"),this.emitBlock(["if (NULL != j","1",")"],()=>{this.emitLine(f.items.cType," * x","1"," = list_get_head(x","","->value.",this.nameForUnionMember(_,o),");"),this.emitBlock(["while (NULL != x","1",")"],()=>{const w=(N,F)=>{N.items.cjsonType==="cJSON_Array"||N.items.cjsonType==="cJSON_Map"||N.items.cjsonType==="cJSON_Invalid"||(N.items.cjsonType==="cJSON_NULL"?this.emitLine("cJSON_AddItemToArray(j",F.toString(),", ",N.items.createObject,"());"):N.items.cjsonType==="cJSON_String"||N.items.cjsonType==="cJSON_Object"||N.items.cjsonType==="cJSON_Union"?this.emitLine("cJSON_AddItemToArray(j",F.toString(),", ",N.items.createObject,"(x",F.toString(),"));"):this.emitLine("cJSON_AddItemToArray(j",F.toString(),", ",N.items.createObject,"(*x",F.toString(),"));"))};f.items.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x","1",")"],()=>{w(f,1)}),this.emitBlock(["else"],()=>{this.emitLine("cJSON_AddItemToArray(j","1",", cJSON_CreateNull());")})):w(f,1),this.emitLine("x","1"," = list_get_next(x","","->value.",this.nameForUnionMember(_,o),");")}),this.emitLine("j = j","1",";")})):f.cjsonType==="cJSON_Map"&&f.items!==void 0?(this.emitLine("cJSON * j","1"," = ",f.createObject,"();"),this.emitBlock(["if (NULL != j","1",")"],()=>{this.emitLine("char **keys","1"," = NULL;"),this.emitLine("size_t count","1"," = hashtable_get_keys(x","","->value.",this.nameForUnionMember(_,o),", &keys","1",");"),this.emitBlock(["if (NULL != keys","1",")"],()=>{this.emitBlock(["for (size_t index","1"," = 0; index","1"," < count","1","; index","1","++)"],()=>{this.emitLine(f.items.cType," *x","1"," = hashtable_lookup(x","","->value.",this.nameForUnionMember(_,o),", keys","1","[index","1","]);");const w=(N,F)=>{N.items.cjsonType==="cJSON_Array"||N.items.cjsonType==="cJSON_Map"||N.items.cjsonType==="cJSON_Invalid"||(N.items.cjsonType==="cJSON_NULL"?this.emitLine(N.addToObject,"(j",F.toString(),", keys",F.toString(),"[index",F.toString(),"], ",N.items.createObject,"());"):N.items.cjsonType==="cJSON_String"||N.items.cjsonType==="cJSON_Object"||N.items.cjsonType==="cJSON_Union"?this.emitLine(N.addToObject,"(j",F.toString(),", keys",F.toString(),"[index",F.toString(),"], ",N.items.createObject,"(x",F.toString(),"));"):this.emitLine(N.addToObject,"(j",F.toString(),", keys",F.toString(),"[index",F.toString(),"], ",N.items.createObject,"(*x",F.toString(),"));"))};f.items.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x","1",")"],()=>{w(f,1)}),this.emitBlock(["else"],()=>{this.emitLine(f.addToObject,"(j","1",", keys","1","[index","1","], cJSON_CreateNull());")})):w(f,1)}),this.emitLine("cJSON_free(keys","1",");")}),this.emitLine("j = j","1",";")})):f.cjsonType==="cJSON_Invalid"||(f.cjsonType==="cJSON_NULL"?this.emitLine("j = ",f.createObject,"();"):this.emitLine("j = ",f.createObject,"(x->value.",this.nameForUnionMember(_,o),");"))}),a=!1}}),this.emitLine("return j;")}),this.ensureBlankLine(),this.emitBlock(["void cJSON_Delete",p,"(struct ",p," * x)"],()=>{this.emitBlock(["if (NULL != x)"],()=>{let a=!0;for(const o of g){const f=this.quicktypeTypeToCJSON(o,!1);this.emitBlock([a===!0?"if (":"else if (",f.cjsonType," == x->type)"],()=>{f.cjsonType==="cJSON_Array"&&f.items!==void 0?this.emitBlock(["if (NULL != x","","->value.",this.nameForUnionMember(_,o),")"],()=>{this.emitLine(f.items.cType," * x","1"," = list_get_head(x","","->value.",this.nameForUnionMember(_,o),");"),this.emitBlock(["while (NULL != x","1",")"],()=>{f.items.cjsonType==="cJSON_Array"||f.items.cjsonType==="cJSON_Map"||f.items.cjsonType==="cJSON_Invalid"||f.items.cjsonType==="cJSON_NULL"||(f.items.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x","1",")"],()=>{this.emitLine(f.items.deleteType,"(x","1",");")}):this.emitLine(f.items.deleteType,"(x","1",");")),this.emitLine("x","1"," = list_get_next(x","","->value.",this.nameForUnionMember(_,o),");")}),this.emitLine(f.deleteType,"(x","","->value.",this.nameForUnionMember(_,o),");")}):f.cjsonType==="cJSON_Map"&&f.items!==void 0?this.emitBlock(["if (NULL != x","","->value.",this.nameForUnionMember(_,o),")"],()=>{this.emitLine("char **keys","1"," = NULL;"),this.emitLine("size_t count","1"," = hashtable_get_keys(x","","->value.",this.nameForUnionMember(_,o),", &keys","1",");"),this.emitBlock(["if (NULL != keys","1",")"],()=>{this.emitBlock(["for (size_t index","1"," = 0; index","1"," < count","1","; index","1","++)"],()=>{this.emitLine(f.items.cType," *x","1"," = hashtable_lookup(x","","->value.",this.nameForUnionMember(_,o),", keys","1","[index","1","]);"),this.emitBlock(["if (NULL != x","1",")"],()=>{f.items.cjsonType==="cJSON_Array"||f.items.cjsonType==="cJSON_Map"||f.items.cjsonType==="cJSON_Invalid"||f.items.cjsonType==="cJSON_NULL"||(f.items.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x","1",")"],()=>{this.emitLine(f.items.deleteType,"(x","1",");")}):this.emitLine(f.items.deleteType,"(x","1",");"))})}),this.emitLine("cJSON_free(keys","1",");")}),this.emitLine(f.deleteType,"(x","","->value.",this.nameForUnionMember(_,o),");")}):f.cjsonType==="cJSON_Invalid"||f.cjsonType==="cJSON_NULL"||(f.cjsonType==="cJSON_String"||f.cjsonType==="cJSON_Object"||f.cjsonType==="cJSON_Union")&&this.emitLine(f.deleteType,"(x->value.",this.nameForUnionMember(_,o),");")}),a=!1}this.emitLine("cJSON_free(x);")})}),this.ensureBlankLine()}emitClass(_,L){const g=this.nameForNamedType(_),p=this.sourcelikeToString(g).concat(".h");L.push(p),this.startFile(p),this.emitIncludes(_,this.sourcelikeToString(p)),this.emitClassTypedef(_),this.emitClassPrototypes(_),this.emitClassFunctions(_),this.finishFile()}emitClassTypedef(_){const L=this.nameForNamedType(_);this.emitDescription(this.descriptionForType(_)),this.emitBlock(["struct ",L],()=>{this.forEachClassProperty(_,"none",(g,p,a)=>{this.emitDescription(this.descriptionForClassProperty(_,p));const o=this.quicktypeTypeToCJSON(a.type,a.isOptional);this.emitLine(o.cType,o.optionalQualifier!==""?" ":"",o.optionalQualifier," ",g,";")})},"",!0),this.ensureBlankLine(),this.emitTypdefAlias(_,L)}emitClassPrototypes(_){const L=this.nameForNamedType(_);this.emitLine("struct ",L," * cJSON_Parse",L,"(",this.withConst("char")," * s);"),this.emitLine("struct ",L," * cJSON_Get",L,"Value(",this.withConst("cJSON")," * j);"),this.emitLine("cJSON * cJSON_Create",L,"(",this.withConst(["struct ",L])," * x);"),this.emitLine("char * cJSON_Print",L,"(",this.withConst(["struct ",L])," * x);"),this.emitLine("void cJSON_Delete",L,"(struct ",L," * x);"),this.ensureBlankLine()}emitClassFunctions(_){const L=this.nameForNamedType(_);this.emitBlock(["struct ",L," * cJSON_Parse",L,"(",this.withConst("char")," * s)"],()=>{this.emitLine("struct ",L," * x = NULL;"),this.emitBlock(["if (NULL != s)"],()=>{this.emitLine("cJSON * j = cJSON_Parse(s);"),this.emitBlock(["if (NULL != j)"],()=>{this.emitLine("x = cJSON_Get",L,"Value(j);"),this.emitLine("cJSON_Delete(j);")})}),this.emitLine("return x;")}),this.ensureBlankLine(),this.emitBlock(["struct ",L," * cJSON_Get",L,"Value(",this.withConst("cJSON")," * j)"],()=>{this.emitLine("struct ",L," * x = NULL;"),this.emitBlock(["if (NULL != j)"],()=>{this.emitBlock(["if (NULL != (x = cJSON_malloc(sizeof(struct ",L,"))))"],()=>{this.emitLine("memset(x, 0, sizeof(struct ",L,"));");const g=(p,a)=>{if(p instanceof n.ArrayType){const o=a+1,f=this.quicktypeTypeToCJSON(p.items,!1);this.emitLine("list_t * x",o.toString()," = list_create(false, NULL);"),this.emitBlock(["if (NULL != x",o.toString(),")"],()=>{this.emitLine("cJSON * e",o.toString()," = NULL;"),this.emitBlock(["cJSON_ArrayForEach(e",o.toString(),", e",a.toString(),")"],()=>{if(f.cjsonType==="cJSON_Array"){const h=o+1;g(p.items,o),this.emitLine("list_add_tail(x",o.toString(),", x",h.toString(),", sizeof(",f.items.cType," *));")}else f.cjsonType==="cJSON_Map"||(f.cjsonType==="cJSON_Invalid"||f.cjsonType==="cJSON_NULL"?this.emitLine("list_add_tail(x",o.toString(),", (",f.cType," *)0xDEADBEEF, sizeof(",f.cType," *));"):f.cjsonType==="cJSON_String"?this.emitLine("list_add_tail(x",o.toString(),", strdup(",f.getValue,"(e",o.toString(),")), sizeof(",f.cType," *));"):f.cjsonType==="cJSON_Object"||f.cjsonType==="cJSON_Union"?this.emitLine("list_add_tail(x",o.toString(),", ",f.getValue,"(e",o.toString(),"), sizeof(",f.cType," *));"):(this.emitLine(f.cType," * tmp",a>0?a.toString():""," = cJSON_malloc(sizeof(",f.cType,"));"),this.emitBlock(["if (NULL != tmp",a>0?a.toString():"",")"],()=>{this.emitLine("* tmp",a>0?a.toString():""," = ",f.getValue,"(e",o.toString(),");"),this.emitLine("list_add_tail(x",o.toString(),", tmp",a>0?a.toString():"",", sizeof(",f.cType," *));")})))})})}else p instanceof n.ClassType&&this.forEachClassProperty(p,"none",(o,f,h)=>{const w=this.quicktypeTypeToCJSON(h.type,h.isOptional);this.emitBlock(w.isNullable?["if ((cJSON_HasObjectItem(j",a>0?a.toString():"",', "',f,'")) && (!cJSON_IsNull(cJSON_GetObjectItemCaseSensitive(j',a>0?a.toString():"",', "',f,'"))))']:["if (cJSON_HasObjectItem(j",a>0?a.toString():"",', "',f,'"))'],()=>{if(w.cjsonType==="cJSON_Array"&&w.items!==void 0){const N=a+1;this.emitLine(w.cType," * x",N.toString()," = list_create(false, NULL);"),this.emitBlock(["if (NULL != x",N.toString(),")"],()=>{this.emitLine("cJSON * e",N.toString()," = NULL;"),this.emitLine("cJSON * j",N.toString()," = cJSON_GetObjectItemCaseSensitive(j",a>0?a.toString():"",', "',f,'");'),this.emitBlock(["cJSON_ArrayForEach(e",N.toString(),", j",N.toString(),")"],()=>{const F=(B,W,Q,z)=>{if(W.items.cjsonType==="cJSON_Array")if(B instanceof n.ArrayType){const E=z+1;g(B.items,z),this.emitLine("list_add_tail(x",z.toString(),", x",E.toString(),", sizeof(",W.items.cType," *));")}else(0,l.panic)("Invalid type");else W.items.cjsonType==="cJSON_Map"||(W.items.cjsonType==="cJSON_Invalid"||W.items.cjsonType==="cJSON_NULL"?this.emitLine("list_add_tail(x",z.toString(),", (",W.items.cType," *)0xDEADBEEF, sizeof(",W.items.cType," *));"):W.items.cjsonType==="cJSON_String"?this.emitLine("list_add_tail(x",z.toString(),", strdup(",W.items.getValue,"(e",z.toString(),")), sizeof(",W.items.cType," *));"):W.items.cjsonType==="cJSON_Object"||W.items.cjsonType==="cJSON_Union"?this.emitLine("list_add_tail(x",z.toString(),", ",W.items.getValue,"(e",z.toString(),"), sizeof(",W.items.cType," *));"):(this.emitLine(W.items.cType," * tmp",Q>0?Q.toString():""," = cJSON_malloc(sizeof(",W.items.cType,"));"),this.emitBlock(["if (NULL != tmp",Q>0?Q.toString():"",")"],()=>{this.emitLine("* tmp",Q>0?Q.toString():""," = ",W.items.getValue,"(e",z.toString(),");"),this.emitLine("list_add_tail(x",z.toString(),", tmp",Q>0?Q.toString():"",", sizeof(",W.items.cType," *));")})))};w.items.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e",N.toString(),"))"],()=>{F(h.type,w,a,N)}),this.emitBlock(["else"],()=>{this.emitLine("list_add_tail(x",N.toString(),", (void *)0xDEADBEEF, sizeof(void *));")})):F(h.type,w,a,N)}),this.emitLine("x",a>0?a.toString():"","->",o," = x",N.toString(),";")})}else if(w.cjsonType==="cJSON_Map"&&w.items!==void 0){const N=a+1;this.emitLine(w.cType," * x",N.toString()," = hashtable_create(",this.hashtableSize,", false);"),this.emitBlock(["if (NULL != x",N.toString(),")"],()=>{this.emitLine("cJSON * e",N.toString()," = NULL;"),this.emitLine("cJSON * j",N.toString()," = cJSON_GetObjectItemCaseSensitive(j",a>0?a.toString():"",', "',f,'");'),this.emitBlock(["cJSON_ArrayForEach(e",N.toString(),", j",N.toString(),")"],()=>{const F=(B,W,Q,z)=>{if(W.items.cjsonType==="cJSON_Array")if(B instanceof n.MapType){const E=z+1;g(B.values,z),this.emitLine("hashtable_add(x",z.toString(),", e",z.toString(),"->string, x",E.toString(),", sizeof(",W.items.cType," *));")}else(0,l.panic)("Invalid type");else W.items.cjsonType==="cJSON_Map"||(W.items.cjsonType==="cJSON_Invalid"||W.items.cjsonType==="cJSON_NULL"?this.emitLine("hashtable_add(x",z.toString(),", e",z.toString(),"->string, (",W.items.cType," *)0xDEADBEEF, sizeof(",W.items.cType," *));"):W.items.cjsonType==="cJSON_String"?this.emitLine("hashtable_add(x",z.toString(),", e",z.toString(),"->string, strdup(",W.items.getValue,"(e",z.toString(),")), sizeof(",W.items.cType," *));"):W.items.cjsonType==="cJSON_Object"||W.items.cjsonType==="cJSON_Union"?this.emitLine("hashtable_add(x",z.toString(),", e",z.toString(),"->string, ",W.items.getValue,"(e",z.toString(),"), sizeof(",W.items.cType," *));"):(this.emitLine(W.items.cType," * tmp",Q>0?Q.toString():""," = cJSON_malloc(sizeof(",W.items.cType,"));"),this.emitBlock(["if (NULL != tmp",Q>0?Q.toString():"",")"],()=>{this.emitLine("* tmp",Q>0?Q.toString():""," = ",W.items.getValue,"(e",z.toString(),");"),this.emitLine("hashtable_add(x",z.toString(),", e",z.toString(),"->string, tmp",Q>0?Q.toString():"",", sizeof(",W.items.cType," *));")})))};w.items.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e",N.toString(),"))"],()=>{F(h.type,w,a,N)}),this.emitBlock(["else"],()=>{this.emitLine("hashtable_add(x",N.toString(),", e",N.toString(),"->string, (void *)0xDEADBEEF, sizeof(void *));")})):F(h.type,w,a,N)}),this.emitLine("x",a>0?a.toString():"","->",o," = x",N.toString(),";")})}else w.cjsonType==="cJSON_Invalid"||w.cjsonType==="cJSON_NULL"?this.emitLine("x",a>0?a.toString():"","->",o," = (",w.cType," *)0xDEADBEEF;"):w.cjsonType==="cJSON_String"?this.emitLine("x",a>0?a.toString():"","->",o," = strdup(",w.getValue,"(cJSON_GetObjectItemCaseSensitive(j",a>0?a.toString():"",', "',f,'")));'):w.cjsonType==="cJSON_Object"||w.cjsonType==="cJSON_Union"?this.emitLine("x",a>0?a.toString():"","->",o," = ",w.getValue,"(cJSON_GetObjectItemCaseSensitive(j",a>0?a.toString():"",', "',f,'"));'):h.isOptional||w.isNullable?this.emitBlock(["if (NULL != (x",a>0?a.toString():"","->",o," = cJSON_malloc(sizeof(",w.cType,"))))"],()=>{this.emitLine("*x",a>0?a.toString():"","->",o," = ",w.getValue,"(cJSON_GetObjectItemCaseSensitive(j",a>0?a.toString():"",', "',f,'"));')}):this.emitLine("x",a>0?a.toString():"","->",o," = ",w.getValue,"(cJSON_GetObjectItemCaseSensitive(j",a>0?a.toString():"",', "',f,'"));')}),!h.isOptional&&!w.isNullable&&(w.cjsonType==="cJSON_Array"?this.emitBlock(["else"],()=>{this.emitLine("x",a>0?a.toString():"","->",o," = list_create(false, NULL);")}):w.cjsonType==="cJSON_Map"?this.emitBlock(["else"],()=>{this.emitLine("x",a>0?a.toString():"","->",o," = hashtable_create(",this.hashtableSize,", false);")}):w.cjsonType==="cJSON_Invalid"||w.cjsonType==="cJSON_NULL"?this.emitBlock(["else"],()=>{this.emitLine("x",a>0?a.toString():"","->",o," = (",w.cType," *)0xDEADBEEF;")}):w.cjsonType==="cJSON_String"&&this.emitBlock(["else"],()=>{this.emitBlock(["if (NULL != (x",a>0?a.toString():"","->",o," = cJSON_malloc(sizeof(",w.cType,"))))"],()=>{this.emitLine("x",a>0?a.toString():"","->",o,"[0] = '\\0';")})}))})};g(_,0)})}),this.emitLine("return x;")}),this.ensureBlankLine(),this.emitBlock(["cJSON * cJSON_Create",L,"(",this.withConst(["struct ",L])," * x)"],()=>{this.emitLine("cJSON * j = NULL;"),this.emitBlock(["if (NULL != x)"],()=>{this.emitBlock(["if (NULL != (j = cJSON_CreateObject()))"],()=>{const g=(p,a)=>{if(p instanceof n.ArrayType){const o=a+1,f=this.quicktypeTypeToCJSON(p.items,!1);this.emitLine("cJSON * j",o.toString()," = cJSON_CreateArray();"),this.emitBlock(["if (NULL != j",o.toString(),")"],()=>{this.emitLine(f.cType," * x",o.toString()," = list_get_head(x",a.toString(),");"),this.emitBlock(["while (NULL != x",o.toString(),")"],()=>{if(f.cjsonType==="cJSON_Array"){const h=o+1;g(p.items,o),this.emitLine("cJSON_AddItemToArray(j",o.toString(),", j",h.toString(),");")}else f.cjsonType==="cJSON_Map"||f.cjsonType==="cJSON_Invalid"||(f.cjsonType==="cJSON_NULL"?this.emitLine("cJSON_AddItemToArray(j",o.toString(),", ",f.createObject,"());"):f.cjsonType==="cJSON_String"||f.cjsonType==="cJSON_Object"||f.cjsonType==="cJSON_Union"?this.emitLine("cJSON_AddItemToArray(j",o.toString(),", ",f.createObject,"(x",o.toString(),"));"):this.emitLine("cJSON_AddItemToArray(j",o.toString(),", ",f.createObject,"(*x",o.toString(),"));"));this.emitLine("x",o.toString()," = list_get_next(x",a.toString(),");")})})}else p instanceof n.ClassType&&this.forEachClassProperty(p,"none",(o,f,h)=>{const w=this.quicktypeTypeToCJSON(h.type,h.isOptional);if(w.cjsonType==="cJSON_Array"&&w.items!==void 0){const N=a+1;this.emitBlock(["if (NULL != x",a>0?a.toString():"","->",o,")"],()=>{this.emitLine("cJSON * j",N.toString()," = cJSON_AddArrayToObject(j",a>0?a.toString():"",', "',f,'");'),this.emitBlock(["if (NULL != j",N.toString(),")"],()=>{this.emitLine(w.items.cType," * x",N.toString()," = list_get_head(x",a>0?a.toString():"","->",o,");"),this.emitBlock(["while (NULL != x",N.toString(),")"],()=>{const F=(B,W,Q)=>{if(W.items.cjsonType==="cJSON_Array")if(B instanceof n.ArrayType){const z=Q+1;g(B.items,Q),this.emitLine("cJSON_AddItemToArray(j",Q.toString(),", j",z.toString(),");")}else(0,l.panic)("Invalid type");else W.items.cjsonType==="cJSON_Map"||W.items.cjsonType==="cJSON_Invalid"||(W.items.cjsonType==="cJSON_NULL"?this.emitLine("cJSON_AddItemToArray(j",Q.toString(),", ",W.items.createObject,"());"):W.items.cjsonType==="cJSON_String"||W.items.cjsonType==="cJSON_Object"||W.items.cjsonType==="cJSON_Union"?this.emitLine("cJSON_AddItemToArray(j",Q.toString(),", ",W.items.createObject,"(x",Q.toString(),"));"):this.emitLine("cJSON_AddItemToArray(j",Q.toString(),", ",W.items.createObject,"(*x",Q.toString(),"));"))};w.items.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x",N.toString(),")"],()=>{F(h.type,w,N)}),this.emitBlock(["else"],()=>{this.emitLine("cJSON_AddItemToArray(j",N.toString(),", cJSON_CreateNull());")})):F(h.type,w,N),this.emitLine("x",N.toString()," = list_get_next(x",a>0?a.toString():"","->",o,");")})})})}else if(w.cjsonType==="cJSON_Map"&&w.items!==void 0){const N=a+1;this.emitBlock(["if (NULL != x",a>0?a.toString():"","->",o,")"],()=>{this.emitLine("cJSON * j",N.toString()," = ",w.createObject,"();"),this.emitBlock(["if (NULL != j",N.toString(),")"],()=>{this.emitLine("char **keys",N.toString()," = NULL;"),this.emitLine("size_t count",N.toString()," = hashtable_get_keys(x",a>0?a.toString():"","->",o,", &keys",N.toString(),");"),this.emitBlock(["if (NULL != keys",N.toString(),")"],()=>{this.emitBlock(["for (size_t index",N.toString()," = 0; index",N.toString()," < count",N.toString(),"; index",N.toString(),"++)"],()=>{this.emitLine(w.items.cType," *x",N.toString()," = hashtable_lookup(x",a>0?a.toString():"","->",o,", keys",N.toString(),"[index",N.toString(),"]);");const F=(B,W,Q)=>{if(W.items.cjsonType==="cJSON_Array")if(B instanceof n.MapType){const z=Q+1;g(B.values,Q),this.emitLine(W.addToObject,"(j",Q.toString(),", keys",Q.toString(),"[index",Q.toString(),"], j",z.toString(),");")}else(0,l.panic)("Invalid type");else W.items.cjsonType==="cJSON_Map"||W.items.cjsonType==="cJSON_Invalid"||(W.items.cjsonType==="cJSON_NULL"?this.emitLine(W.addToObject,"(j",Q.toString(),", keys",Q.toString(),"[index",Q.toString(),"], ",W.items.createObject,"());"):W.items.cjsonType==="cJSON_String"||W.items.cjsonType==="cJSON_Object"||W.items.cjsonType==="cJSON_Union"?this.emitLine(W.addToObject,"(j",Q.toString(),", keys",Q.toString(),"[index",Q.toString(),"], ",W.items.createObject,"(x",Q.toString(),"));"):this.emitLine(W.addToObject,"(j",Q.toString(),", keys",Q.toString(),"[index",Q.toString(),"], ",W.items.createObject,"(*x",Q.toString(),"));"))};w.items.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x",N.toString(),")"],()=>{F(h.type,w,N)}),this.emitBlock(["else"],()=>{this.emitLine(w.addToObject,"(j",N.toString(),", keys",N.toString(),"[index",N.toString(),"], cJSON_CreateNull());")})):F(h.type,w,N)}),this.emitLine("cJSON_free(keys",N.toString(),");")}),this.emitLine(w.addToObject,"(j",a>0?a.toString():"",', "',f,'", j',N.toString(),");")})})}else w.cjsonType==="cJSON_Invalid"||(w.cjsonType==="cJSON_NULL"?h.isOptional?this.emitBlock(["if (NULL != x",a>0?a.toString():"","->",o,")"],()=>{this.emitLine(w.addToObject,"(j",a>0?a.toString():"",', "',f,'");')}):this.emitLine(w.addToObject,"(j",a>0?a.toString():"",', "',f,'");'):w.cjsonType==="cJSON_String"?(this.emitBlock(["if (NULL != x",a>0?a.toString():"","->",o,")"],()=>{this.emitLine(w.addToObject,"(j",a>0?a.toString():"",', "',f,'", x',a>0?a.toString():"","->",o,");")}),!h.isOptional&&!w.isNullable&&this.emitBlock(["else"],()=>{this.emitLine(w.addToObject,"(j",a>0?a.toString():"",', "',f,'", "");')})):w.cjsonType==="cJSON_Object"||w.cjsonType==="cJSON_Union"?h.isOptional||w.isNullable?this.emitBlock(["if (NULL != x",a>0?a.toString():"","->",o,")"],()=>{this.emitLine(w.addToObject,"(j",a>0?a.toString():"",', "',f,'", ',w.createObject,"(x",a>0?a.toString():"","->",o,"));")}):this.emitLine(w.addToObject,"(j",a>0?a.toString():"",', "',f,'", ',w.createObject,"(x",a>0?a.toString():"","->",o,"));"):w.cjsonType==="cJSON_Enum"?h.isOptional||w.isNullable?this.emitBlock(["if (NULL != x",a>0?a.toString():"","->",o,")"],()=>{this.emitLine(w.addToObject,"(j",a>0?a.toString():"",', "',f,'", ',w.createObject,"(*x",a>0?a.toString():"","->",o,"));")}):this.emitLine(w.addToObject,"(j",a>0?a.toString():"",', "',f,'", ',w.createObject,"(x",a>0?a.toString():"","->",o,"));"):h.isOptional||w.isNullable?this.emitBlock(["if (NULL != x",a>0?a.toString():"","->",o,")"],()=>{this.emitLine(w.addToObject,"(j",a>0?a.toString():"",', "',f,'", *x',a>0?a.toString():"","->",o,");")}):this.emitLine(w.addToObject,"(j",a>0?a.toString():"",', "',f,'", x',a>0?a.toString():"","->",o,");"));w.isNullable&&this.emitBlock(["else"],()=>{this.emitLine("cJSON_AddNullToObject(j",a>0?a.toString():"",', "',f,'");')})})};g(_,0)})}),this.emitLine("return j;")}),this.ensureBlankLine(),this.emitBlock(["char * cJSON_Print",L,"(",this.withConst(["struct ",L])," * x)"],()=>{this.emitLine("char * s = NULL;"),this.emitBlock(["if (NULL != x)"],()=>{this.emitLine("cJSON * j = cJSON_Create",L,"(x);"),this.emitBlock(["if (NULL != j)"],()=>{this.emitLine(this._options.printStyle?"s = cJSON_PrintUnformatted(j);":"s = cJSON_Print(j);"),this.emitLine("cJSON_Delete(j);")})}),this.emitLine("return s;")}),this.ensureBlankLine(),this.emitBlock(["void cJSON_Delete",L,"(struct ",L," * x)"],()=>{this.emitBlock(["if (NULL != x)"],()=>{const g=(p,a)=>{if(p instanceof n.ArrayType){const o=a+1,f=this.quicktypeTypeToCJSON(p.items,!1);this.emitLine(f.cType," * x",o.toString()," = list_get_head(x",a.toString(),");"),this.emitBlock(["while (NULL != x",o.toString(),")"],()=>{f.cjsonType==="cJSON_Array"?(g(p.items,o),this.emitLine(f.deleteType,"(x",o.toString(),");")):f.cjsonType==="cJSON_Map"||f.cjsonType==="cJSON_Invalid"||f.cjsonType==="cJSON_NULL"||this.emitLine(f.deleteType,"(x",o.toString(),");"),this.emitLine("x",o.toString()," = list_get_next(x",a.toString(),");")})}else p instanceof n.ClassType&&this.forEachClassProperty(p,"none",(o,f,h)=>{const w=this.quicktypeTypeToCJSON(h.type,h.isOptional);if(w.cjsonType==="cJSON_Array"&&w.items!==void 0){const N=a+1;this.emitBlock(["if (NULL != x",a>0?a.toString():"","->",o,")"],()=>{this.emitLine(w.items.cType," * x",N.toString()," = list_get_head(x",a>0?a.toString():"","->",o,");"),this.emitBlock(["while (NULL != x",N.toString(),")"],()=>{w.items.cjsonType==="cJSON_Array"?h.type instanceof n.ArrayType?(g(h.type.items,N),this.emitLine(w.items.deleteType,"(x",N.toString(),");")):(0,l.panic)("Invalid type"):w.items.cjsonType==="cJSON_Map"||w.items.cjsonType==="cJSON_Invalid"||w.items.cjsonType==="cJSON_NULL"||(w.items.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x",N.toString(),")"],()=>{this.emitLine(w.items.deleteType,"(x",N.toString(),");")}):this.emitLine(w.items.deleteType,"(x",N.toString(),");")),this.emitLine("x",N.toString()," = list_get_next(x",a>0?a.toString():"","->",o,");")}),this.emitLine(w.deleteType,"(x",a>0?a.toString():"","->",o,");")})}else if(w.cjsonType==="cJSON_Map"&&w.items!==void 0){const N=a+1;this.emitBlock(["if (NULL != x",a>0?a.toString():"","->",o,")"],()=>{this.emitLine("char **keys",N.toString()," = NULL;"),this.emitLine("size_t count",N.toString()," = hashtable_get_keys(x",a>0?a.toString():"","->",o,", &keys",N.toString(),");"),this.emitBlock(["if (NULL != keys",N.toString(),")"],()=>{this.emitBlock(["for (size_t index",N.toString()," = 0; index",N.toString()," < count",N.toString(),"; index",N.toString(),"++)"],()=>{this.emitLine(w.items.cType," *x",N.toString()," = hashtable_lookup(x",a>0?a.toString():"","->",o,", keys",N.toString(),"[index",N.toString(),"]);"),this.emitBlock(["if (NULL != x",N.toString(),")"],()=>{w.items.cjsonType==="cJSON_Array"?h.type instanceof n.MapType?(g(h.type.values,N),this.emitLine(w.items.deleteType,"(x",N.toString(),");")):(0,l.panic)("Invalid type"):w.items.cjsonType==="cJSON_Map"||w.items.cjsonType==="cJSON_Invalid"||w.items.cjsonType==="cJSON_NULL"||(w.items.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x",N.toString(),")"],()=>{this.emitLine(w.items.deleteType,"(x",N.toString(),");")}):this.emitLine(w.items.deleteType,"(x",N.toString(),");"))})}),this.emitLine("cJSON_free(keys",N.toString(),");")}),this.emitLine(w.deleteType,"(x",a>0?a.toString():"","->",o,");")})}else w.cjsonType==="cJSON_Invalid"||w.cjsonType==="cJSON_NULL"||(w.cjsonType==="cJSON_String"||w.cjsonType==="cJSON_Object"||w.cjsonType==="cJSON_Union"?this.emitBlock(["if (NULL != x",a>0?a.toString():"","->",o,")"],()=>{this.emitLine(w.deleteType,"(x",a>0?a.toString():"","->",o,");")}):(h.isOptional||w.isNullable)&&this.emitBlock(["if (NULL != x",a>0?a.toString():"","->",o,")"],()=>{this.emitLine(w.deleteType,"(x",a>0?a.toString():"","->",o,");")}))})};g(_,0),this.emitLine("cJSON_free(x);")})}),this.ensureBlankLine()}emitTopLevel(_,L,g){const p=this.sourcelikeToString(L).concat(".h");this.startFile(p),g.forEach(a=>{this.emitIncludeLine(a)}),this.ensureBlankLine(),this.emitTopLevelTypedef(_,L),this.emitTopLevelPrototypes(_,L),this.emitTopLevelFunctions(_,L),this.finishFile()}emitTopLevelTypedef(_,L){this.emitBlock(["struct ",L],()=>{const g=this.quicktypeTypeToCJSON(_,!1);this.emitLine(g.cType,g.optionalQualifier!==""?" ":"",g.optionalQualifier," value;")},"",!0),this.ensureBlankLine(),this.emitTypdefAlias(_,L)}emitTopLevelPrototypes(_,L){this.emitLine("struct ",L," * cJSON_Parse",L,"(",this.withConst("char")," * s);"),this.emitLine("struct ",L," * cJSON_Get",L,"Value(",this.withConst("cJSON")," * j);"),this.emitLine("cJSON * cJSON_Create",L,"(",this.withConst(["struct ",L])," * x);"),this.emitLine("char * cJSON_Print",L,"(",this.withConst(["struct ",L])," * x);"),this.emitLine("void cJSON_Delete",L,"(struct ",L," * x);"),this.ensureBlankLine()}emitTopLevelFunctions(_,L){this.emitBlock(["struct ",L," * cJSON_Parse",L,"(",this.withConst("char")," * s)"],()=>{this.emitLine("struct ",L," * x = NULL;"),this.emitBlock(["if (NULL != s)"],()=>{this.emitLine("cJSON * j = cJSON_Parse(s);"),this.emitBlock(["if (NULL != j)"],()=>{this.emitLine("x = cJSON_Get",L,"Value(j);"),this.emitLine("cJSON_Delete(j);")})}),this.emitLine("return x;")}),this.ensureBlankLine(),this.emitBlock(["struct ",L," * cJSON_Get",L,"Value(",this.withConst("cJSON")," * j)"],()=>{this.emitLine("struct ",L," * x = NULL;"),this.emitBlock(["if (NULL != j)"],()=>{this.emitBlock(["if (NULL != (x = cJSON_malloc(sizeof(struct ",L,"))))"],()=>{this.emitLine("memset(x, 0, sizeof(struct ",L,"));");const g=this.quicktypeTypeToCJSON(_,!1);g.cjsonType==="cJSON_Array"&&g.items!==void 0?(this.emitLine("x->value = list_create(false, NULL);"),this.emitBlock(["if (NULL != x->value)"],()=>{this.emitLine("cJSON * e = NULL;"),this.emitBlock(["cJSON_ArrayForEach(e, j)"],()=>{const p=a=>{a.items.cjsonType==="cJSON_Array"||a.items.cjsonType==="cJSON_Map"||(a.items.cjsonType==="cJSON_Invalid"||a.items.cjsonType==="cJSON_NULL"?this.emitLine("list_add_tail(x->value, (",a.items.cType," *)0xDEADBEAF, sizeof(",a.items.cType," *));"):a.items.cjsonType==="cJSON_String"?this.emitLine("list_add_tail(x->value, strdup(",a.items.getValue,"(e)), sizeof(",a.items.cType," *));"):this.emitLine("list_add_tail(x->value, ",a.items.getValue,"(e), sizeof(",a.items.cType," *));"))};g.items.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e))"],()=>{p(g)}),this.emitBlock(["else"],()=>{this.emitLine("list_add_tail(x->value, (void *)0xDEADBEEF, sizeof(void *));")})):p(g)})})):g.cjsonType==="cJSON_Map"&&g.items!==void 0?(this.emitLine("x->value = hashtable_create(",this.hashtableSize,", false);"),this.emitBlock(["if (NULL != x->value)"],()=>{this.emitLine("cJSON * e = NULL;"),this.emitBlock(["cJSON_ArrayForEach(e, j)"],()=>{const p=a=>{a.items.cjsonType==="cJSON_Array"||a.items.cjsonType==="cJSON_Map"||(a.items.cjsonType==="cJSON_Invalid"||a.items.cjsonType==="cJSON_NULL"?this.emitLine("hashtable_add(x->value, e->string, (",a.items.cType," *)0xDEADBEEF, sizeof(",a.items.cType," *));"):a.items.cjsonType==="cJSON_String"?this.emitLine("hashtable_add(x->value, e->string, strdup(",a.items.getValue,"(e)), sizeof(",a.items.cType," *));"):this.emitLine("hashtable_add(x->value, e->string, ",a.items.getValue,"(e), sizeof(",a.items.cType," *));"))};g.items.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e))"],()=>{p(g)}),this.emitBlock(["else"],()=>{this.emitLine("hashtable_add(x->value, e->string, (void *)0xDEADBEEF, sizeof(void *));")})):p(g)})})):g.cjsonType==="cJSON_Invalid"||(g.cjsonType==="cJSON_NULL"?this.emitLine("x->value = (",g.cType," *)0xDEADBEEF;"):g.cjsonType==="cJSON_String"?this.emitLine("x->value = strdup(",g.getValue,"(j));"):this.emitLine("x->value = ",g.getValue,"(j);"))})}),this.emitLine("return x;")}),this.ensureBlankLine(),this.emitBlock(["cJSON * cJSON_Create",L,"(",this.withConst(["struct ",L])," * x)"],()=>{this.emitLine("cJSON * j = NULL;"),this.emitBlock(["if (NULL != x)"],()=>{const g=this.quicktypeTypeToCJSON(_,!1);g.cjsonType==="cJSON_Array"&&g.items!==void 0?this.emitBlock(["if (NULL != x->value)"],()=>{this.emitLine("j = ",g.createObject,"();"),this.emitBlock(["if (NULL != j)"],()=>{this.emitLine(g.items.cType," * x1 = list_get_head(x->value);"),this.emitBlock(["while (NULL != x1)"],()=>{const p=a=>{a.items.cjsonType==="cJSON_Array"||a.items.cjsonType==="cJSON_Map"||a.items.cjsonType==="cJSON_Invalid"||(a.items.cjsonType==="cJSON_NULL"?this.emitLine("cJSON_AddItemToArray(j, ",a.items.createObject,"());"):a.items.cjsonType==="cJSON_String"||a.items.cjsonType==="cJSON_Object"||a.items.cjsonType==="cJSON_Union"?this.emitLine("cJSON_AddItemToArray(j, ",a.items.createObject,"(x1));"):this.emitLine("cJSON_AddItemToArray(j, ",a.items.createObject,"(*x1));"))};g.items.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x1)"],()=>{p(g)}),this.emitBlock(["else"],()=>{this.emitLine("cJSON_AddItemToArray(j, cJSON_CreateNull());")})):p(g),this.emitLine("x1 = list_get_next(x->value);")})})}):g.cjsonType==="cJSON_Map"&&g.items!==void 0?this.emitBlock(["if (NULL != x->value)"],()=>{this.emitLine("j = ",g.createObject,"();"),this.emitBlock(["if (NULL != j)"],()=>{this.emitLine("char **keys = NULL;"),this.emitLine("size_t count = hashtable_get_keys(x->value, &keys);"),this.emitBlock(["if (NULL != keys)"],()=>{this.emitBlock(["for (size_t index = 0; index < count; index++)"],()=>{this.emitLine(g.items.cType," *x2 = hashtable_lookup(x->value, keys[index]);");const p=a=>{a.items.cjsonType==="cJSON_Array"||a.items.cjsonType==="cJSON_Map"||a.items.cjsonType==="cJSON_Invalid"||(a.items.cjsonType==="cJSON_NULL"?this.emitLine(a.addToObject,"(j, keys[index], ",a.items.createObject,"());"):a.items.cjsonType==="cJSON_String"||a.items.cjsonType==="cJSON_Object"||a.items.cjsonType==="cJSON_Union"?this.emitLine(a.addToObject,"(j, keys[index], ",a.items.createObject,"(x2));"):this.emitLine(a.addToObject,"(j, keys[index], ",a.items.createObject,"(*x2));"))};g.items.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x2)"],()=>{p(g)}),this.emitBlock(["else"],()=>{this.emitLine(g.addToObject,"(j, keys[index], cJSON_CreateNull());")})):p(g)}),this.emitLine("cJSON_free(keys);")})})}):g.cjsonType==="cJSON_Invalid"||(g.cjsonType==="cJSON_NULL"?this.emitLine("j = ",g.createObject,"();"):this.emitLine("j = ",g.createObject,"(x->value);"))}),this.emitLine("return j;")}),this.ensureBlankLine(),this.emitBlock(["char * cJSON_Print",L,"(",this.withConst(["struct ",L])," * x)"],()=>{this.emitLine("char * s = NULL;"),this.emitBlock(["if (NULL != x)"],()=>{this.emitLine("cJSON * j = cJSON_Create",L,"(x);"),this.emitBlock(["if (NULL != j)"],()=>{this.emitLine("s = cJSON_Print(j);"),this.emitLine("cJSON_Delete(j);")})}),this.emitLine("return s;")}),this.ensureBlankLine(),this.emitBlock(["void cJSON_Delete",L,"(struct ",L," * x)"],()=>{this.emitBlock(["if (NULL != x)"],()=>{const g=this.quicktypeTypeToCJSON(_,!1);g.cjsonType==="cJSON_Array"&&g.items!==void 0?this.emitBlock(["if (NULL != x->value)"],()=>{this.emitLine(g.items.cType," * x1 = list_get_head(x->value);"),this.emitBlock(["while (NULL != x1)"],()=>{g.items.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x1)"],()=>{this.emitLine(g.items.deleteType,"(x1);")}):this.emitLine(g.items.deleteType,"(x1);"),this.emitLine("x1 = list_get_next(x->value);")}),this.emitLine(g.deleteType,"(x->value);")}):g.cjsonType==="cJSON_Map"&&g.items!==void 0?this.emitBlock(["if (NULL != x->value)"],()=>{this.emitLine("char **keys = NULL;"),this.emitLine("size_t count = hashtable_get_keys(x->value, &keys);"),this.emitBlock(["if (NULL != keys)"],()=>{this.emitBlock(["for (size_t index = 0; index < count; index++)"],()=>{this.emitLine(g.items.cType," *x2 = hashtable_lookup(x->value, keys[index]);"),this.emitBlock(["if (NULL != x2)"],()=>{g.items.isNullable?this.emitBlock(["if ((",g.items.cType," *)0xDEADBEEF != x2)"],()=>{this.emitLine(g.items.deleteType,"(x2);")}):this.emitLine(g.items.deleteType,"(x2);")})}),this.emitLine("cJSON_free(keys);")}),this.emitLine(g.deleteType,"(x->value);")}):g.cjsonType==="cJSON_Invalid"||g.cjsonType==="cJSON_NULL"||(g.cjsonType==="cJSON_String"||g.cjsonType==="cJSON_Object"||g.cjsonType==="cJSON_Union")&&this.emitLine(g.deleteType,"(x->value);"),this.emitLine("cJSON_free(x);")})}),this.ensureBlankLine()}quicktypeTypeToCJSON(_,L,g=!1){return(0,i.matchType)(_,p=>({cType:"void",optionalQualifier:"*",cjsonType:"cJSON_Invalid",isType:"cJSON_IsInvalid",getValue:"",addToObject:"",createObject:"",deleteType:"",items:void 0,isNullable:g}),p=>({cType:"void",optionalQualifier:"*",cjsonType:"cJSON_NULL",isType:"cJSON_IsNull",getValue:"",addToObject:"cJSON_AddNullToObject",createObject:"cJSON_CreateNull",deleteType:"cJSON_free",items:void 0,isNullable:g}),p=>({cType:"bool",optionalQualifier:L===!0?"*":"",cjsonType:"cJSON_Bool",isType:"cJSON_IsBool",getValue:"cJSON_IsTrue",addToObject:"cJSON_AddBoolToObject",createObject:"cJSON_CreateBool",deleteType:"cJSON_free",items:void 0,isNullable:g}),p=>({cType:this.typeIntegerSize,optionalQualifier:L===!0?"*":"",cjsonType:"cJSON_Number",isType:"cJSON_IsNumber",getValue:"cJSON_GetNumberValue",addToObject:"cJSON_AddNumberToObject",createObject:"cJSON_CreateNumber",deleteType:"cJSON_free",items:void 0,isNullable:g}),p=>({cType:"double",optionalQualifier:L===!0?"*":"",cjsonType:"cJSON_Number",isType:"cJSON_IsNumber",getValue:"cJSON_GetNumberValue",addToObject:"cJSON_AddNumberToObject",createObject:"cJSON_CreateNumber",deleteType:"cJSON_free",items:void 0,isNullable:g}),p=>({cType:"char",optionalQualifier:"*",cjsonType:"cJSON_String",isType:"cJSON_IsString",getValue:"cJSON_GetStringValue",addToObject:"cJSON_AddStringToObject",createObject:"cJSON_CreateString",deleteType:"cJSON_free",items:void 0,isNullable:g}),p=>({cType:"list_t",optionalQualifier:"*",cjsonType:"cJSON_Array",isType:"cJSON_IsArray",getValue:"cJSON_GetArrayItem",addToObject:"cJSON_AddItemToObject",createObject:"cJSON_CreateArray",deleteType:"list_release",items:this.quicktypeTypeToCJSON(p.items,!1),isNullable:g}),p=>({cType:["struct ",this.nameForNamedType(p)],optionalQualifier:"*",cjsonType:"cJSON_Object",isType:"cJSON_IsObject",getValue:["cJSON_Get",this.nameForNamedType(p),"Value"],addToObject:"cJSON_AddItemToObject",createObject:["cJSON_Create",this.nameForNamedType(p)],deleteType:["cJSON_Delete",this.nameForNamedType(p)],items:void 0,isNullable:g}),p=>({cType:"hashtable_t",optionalQualifier:"*",cjsonType:"cJSON_Map",isType:"cJSON_IsObject",getValue:"",addToObject:"cJSON_AddItemToObject",createObject:"cJSON_CreateObject",deleteType:"hashtable_release",items:this.quicktypeTypeToCJSON(p.values,!1),isNullable:g}),p=>({cType:["enum ",this.nameForNamedType(p)],optionalQualifier:L===!0?"*":"",cjsonType:"cJSON_Enum",isType:"cJSON_IsString",getValue:["cJSON_Get",this.nameForNamedType(p),"Value"],addToObject:"cJSON_AddItemToObject",createObject:["cJSON_Create",this.nameForNamedType(p)],deleteType:"cJSON_free",items:void 0,isNullable:g}),p=>{const a=(0,i.nullableFromUnion)(p);return a!==null?this.quicktypeTypeToCJSON(a,!0,!0):{cType:["struct ",this.nameForNamedType(p)],optionalQualifier:"*",cjsonType:"cJSON_Union",isType:"",getValue:["cJSON_Get",this.nameForNamedType(p),"Value"],addToObject:"cJSON_AddItemToObject",createObject:["cJSON_Create",this.nameForNamedType(p)],deleteType:["cJSON_Delete",this.nameForNamedType(p)],items:void 0,isNullable:g}})}startFile(_){(0,T.assert)(this.currentFilename===void 0,"Previous file wasn't finished"),_!==void 0&&(this.currentFilename=this.sourcelikeToString(_)),this.currentFilename!==void 0&&(this.emitDescriptionBlock([this.currentFilename,"This file has been autogenerated using quicktype https://github.com/quicktype/quicktype - DO NOT EDIT","This file depends of https://github.com/DaveGamble/cJSON, https://github.com/joelguittet/c-list and https://github.com/joelguittet/c-hashtable","To parse json data from json string use the following: struct <type> * data = cJSON_Parse<type>(<string>);","To get json data from cJSON object use the following: struct <type> * data = cJSON_Get<type>Value(<cjson>);","To get cJSON object from json data use the following: cJSON * cjson = cJSON_Create<type>(<data>);","To print json string from json data use the following: char * string = cJSON_Print<type>(<data>);","To delete json data use the following: cJSON_Delete<type>(<data>);"]),this.ensureBlankLine(),this.emitLine("#ifndef __",(0,u.allUpperWordStyle)(this.currentFilename.replace(new RegExp(/[^a-zA-Z0-9]+/,"g"),"_")),"__"),this.emitLine("#define __",(0,u.allUpperWordStyle)(this.currentFilename.replace(new RegExp(/[^a-zA-Z0-9]+/,"g"),"_")),"__"),this.ensureBlankLine(),this.emitLine("#ifdef __cplusplus"),this.emitLine('extern "C" {'),this.emitLine("#endif"),this.ensureBlankLine(),this.emitIncludeLine("stdint.h",!0),this.emitIncludeLine("stdbool.h",!0),this.emitIncludeLine("stdlib.h",!0),this.emitIncludeLine("string.h",!0),this.emitIncludeLine("cJSON.h",!0),this.emitIncludeLine("hashtable.h",!0),this.emitIncludeLine("list.h",!0),this.ensureBlankLine(),this.emitLine("#ifndef cJSON_Bool"),this.emitLine("#define cJSON_Bool (cJSON_True | cJSON_False)"),this.emitLine("#endif"),this.emitLine("#ifndef cJSON_Map"),this.emitLine("#define cJSON_Map (1 << 16)"),this.emitLine("#endif"),this.emitLine("#ifndef cJSON_Enum"),this.emitLine("#define cJSON_Enum (1 << 17)"),this.emitLine("#endif"),this.ensureBlankLine())}finishFile(){this.currentFilename!==void 0&&(this.emitLine("#ifdef __cplusplus"),this.emitLine("}"),this.emitLine("#endif"),this.ensureBlankLine(),this.emitLine("#endif /* __",(0,u.allUpperWordStyle)(this.currentFilename.replace(new RegExp(/[^a-zA-Z0-9]+/,"g"),"_")),"__ */"),this.ensureBlankLine(),super.finishFile((0,l.defined)(this.currentFilename)),this.currentFilename=void 0)}get needsTypeDeclarationBeforeUse(){return!0}canBeForwardDeclared(_){return _.kind==="class"}withConst(_){return["const ",_]}emitIncludeLine(_,L=!1){this.emitLine("#include ",L?"<":'"',_,L?">":'"')}emitDescriptionBlock(_){this.emitCommentLines(_,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(_,L,g="",p=!1,a=!0){this.emitLine(_," {"),this.preventBlankLine(),a?this.indent(L):L(),this.preventBlankLine(),p?g!==""?this.emitLine("} ",g,";"):this.emitLine("};"):g!==""?this.emitLine("} ",g):this.emitLine("}")}emitIncludes(_,L){const g=new Map;_ instanceof n.UnionType?this.updateIncludes(!1,g,_):_ instanceof n.ClassType&&this.forEachClassProperty(_,"none",(p,a,o)=>{this.updateIncludes(!0,g,o.type)}),g.size!==0&&g.forEach((p,a)=>{a=a.concat(".h"),a!==L&&this.emitIncludeLine(a)}),this.ensureBlankLine()}updateIncludes(_,L,g){const p=this.generatedTypes(_,g);for(const a of p){const o=this.sourcelikeToString(a.name),f={kind:void 0,typeKind:void 0};if(a.type instanceof n.ClassType)f.typeKind="class",f.kind=a.level===0?R.Include:R.ForwardDeclare,a.forceInclude&&(f.kind=R.Include);else if(a.type instanceof n.EnumType)f.typeKind="enum",f.kind=R.ForwardDeclare;else if(a.type instanceof n.UnionType){f.typeKind="union";const[h]=(0,i.removeNullFromUnion)(a.type,!0);h!==void 0||a.forceInclude?f.kind=R.Include:f.kind=R.ForwardDeclare}if(L.has(o)){const h=L.get(o);h!==void 0&&h.kind===R.ForwardDeclare&&L.set(o,f)}else L.set(o,f)}}generatedTypes(_,L){const g=[],p=(a,o,f,h)=>{if(h instanceof n.ArrayType)p(a,o,f+1,h.items);else if(h instanceof n.ClassType)g.push({name:this.nameForNamedType(h),type:h,level:f,variant:o,forceInclude:a});else if(h instanceof n.MapType)p(a,o,f+1,h.values);else if(h instanceof n.EnumType)g.push({name:this.nameForNamedType(h),type:h,level:f,variant:o,forceInclude:!1});else if(h instanceof n.UnionType){this.unionNeedsName(h)&&_&&(a=!0,g.push({name:this.nameForNamedType(h),type:h,level:f,variant:!0,forceInclude:a}));const[w,N]=(0,i.removeNullFromUnion)(h);o=w!==null;for(const F of N)p(a,o,f+1,F)}};return p(!1,!1,0,L),g}}e.CJSONRenderer=A})(Jp);var zp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CPlusPlusRenderer=e.MemberNames=e.GlobalNames=e.IncludeKind=e.CPlusPlusTargetLanguage=e.cPlusPlusOptions=void 0;const t=He,n=Lt,i=lt(),r=ot(),u=qe,l=et,d=jt,y=St(),T=Ie,S=Et,O=dt,I=Ie,k=Zo,P=vc,m=ks,C=["pascal-case","pascal"],J=["underscore-case","underscore"],x=["camel-case","camel"],G=["upper-underscore-case","upper-underscore"],K=["pascal-case-upper-acronyms","pascal-upper-acronyms"],U=["camel-case-upper-acronyms","camel-upper-acronyms"];e.cPlusPlusOptions={typeSourceStyle:new O.EnumOption("source-style","Source code generation type, whether to generate single or multiple source files",[["single-source",!0],["multi-source",!1]],"single-source","secondary"),includeLocation:new O.EnumOption("include-location","Whether json.hpp is to be located globally or locally",[["local-include",!0],["global-include",!1]],"local-include","secondary"),codeFormat:new O.EnumOption("code-format","Generate classes with getters/setters, instead of structs",[["with-struct",!1],["with-getter-setter",!0]],"with-getter-setter"),wstring:new O.EnumOption("wstring","Store strings using Utf-16 std::wstring, rather than Utf-8 std::string",[["use-string",!1],["use-wstring",!0]],"use-string"),westConst:new O.EnumOption("const-style","Put const to the left/west (const T) or right/east (T const)",[["west-const",!0],["east-const",!1]],"west-const"),justTypes:new O.BooleanOption("just-types","Plain types only",!1),namespace:new O.StringOption("namespace","Name of the generated namespace(s)","NAME","quicktype"),enumType:new O.StringOption("enum-type","Type of enum class","NAME","int","secondary"),typeNamingStyle:new O.EnumOption("type-style","Naming style for types",[C,J,x,G,K,U]),memberNamingStyle:new O.EnumOption("member-style","Naming style for members",[J,C,x,G,K,U]),enumeratorNamingStyle:new O.EnumOption("enumerator-style","Naming style for enumerators",[G,J,C,x,K,U]),boost:new O.BooleanOption("boost","Require a dependency on boost. Without boost, C++17 is required",!0),hideNullOptional:new O.BooleanOption("hide-null-optional","Hide null value for optional field",!1)};class R extends n.TargetLanguage{constructor(B="C++",W=["c++","cpp","cplusplus"],Q="cpp"){super(B,W,Q)}getOptions(){return[e.cPlusPlusOptions.justTypes,e.cPlusPlusOptions.namespace,e.cPlusPlusOptions.codeFormat,e.cPlusPlusOptions.wstring,e.cPlusPlusOptions.westConst,e.cPlusPlusOptions.typeSourceStyle,e.cPlusPlusOptions.includeLocation,e.cPlusPlusOptions.typeNamingStyle,e.cPlusPlusOptions.memberNamingStyle,e.cPlusPlusOptions.enumeratorNamingStyle,e.cPlusPlusOptions.enumType,e.cPlusPlusOptions.boost,e.cPlusPlusOptions.hideNullOptional]}get supportsUnionsWithBothNumberTypes(){return!0}get supportsOptionalClassProperties(){return!0}makeRenderer(B,W){return new N(this,B,(0,O.getOptionValues)(e.cPlusPlusOptions,W))}}e.CPlusPlusTargetLanguage=R;function A(F){const B=(0,m.minMaxValueForType)(F),W=(0,m.minMaxLengthForType)(F),Q=(0,m.patternForType)(F);if(!(B===void 0&&W===void 0&&Q===void 0))return{minMax:B,minMaxLength:W,pattern:Q}}const b=(0,y.legalizeCharacters)(F=>(0,y.isAscii)(F)&&(0,y.isLetterOrUnderscoreOrDigit)(F)),_=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","bool","break","case","catch","char","char16_t","char32_t","class","compl","concept","const","constexpr","const_cast","continue","co_await","co_return","co_yield","decltype","default","delete","do","double","dynamic_cast","else","enum","explicit","export","extern","false","float","for","friend","goto","if","import","inline","int","long","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","private","protected","public","register","reinterpret_cast","requires","return","short","signed","sizeof","static","static_assert","static_cast","struct","switch","synchronized","template","this","thread_local","throw","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","while","xor","xor_eq","override","final","transaction_safe","transaction_safe_dynamic","NULL"],L="std::shared_ptr",g="std::make_shared";var p;(function(F){F[F.ForwardDeclare=0]="ForwardDeclare",F[F.Include=1]="Include"})(p=e.IncludeKind||(e.IncludeKind={}));var a;(function(F){F[F.ClassMemberConstraints=0]="ClassMemberConstraints",F[F.ClassMemberConstraintException=1]="ClassMemberConstraintException",F[F.ValueTooLowException=2]="ValueTooLowException",F[F.ValueTooHighException=3]="ValueTooHighException",F[F.ValueTooShortException=4]="ValueTooShortException",F[F.ValueTooLongException=5]="ValueTooLongException",F[F.InvalidPatternException=6]="InvalidPatternException",F[F.CheckConstraint=7]="CheckConstraint"})(a=e.GlobalNames||(e.GlobalNames={}));var o;(function(F){F[F.MinIntValue=0]="MinIntValue",F[F.GetMinIntValue=1]="GetMinIntValue",F[F.SetMinIntValue=2]="SetMinIntValue",F[F.MaxIntValue=3]="MaxIntValue",F[F.GetMaxIntValue=4]="GetMaxIntValue",F[F.SetMaxIntValue=5]="SetMaxIntValue",F[F.MinDoubleValue=6]="MinDoubleValue",F[F.GetMinDoubleValue=7]="GetMinDoubleValue",F[F.SetMinDoubleValue=8]="SetMinDoubleValue",F[F.MaxDoubleValue=9]="MaxDoubleValue",F[F.GetMaxDoubleValue=10]="GetMaxDoubleValue",F[F.SetMaxDoubleValue=11]="SetMaxDoubleValue",F[F.MinLength=12]="MinLength",F[F.GetMinLength=13]="GetMinLength",F[F.SetMinLength=14]="SetMinLength",F[F.MaxLength=15]="MaxLength",F[F.GetMaxLength=16]="GetMaxLength",F[F.SetMaxLength=17]="SetMaxLength",F[F.Pattern=18]="Pattern",F[F.GetPattern=19]="GetPattern",F[F.SetPattern=20]="SetPattern"})(o=e.MemberNames||(e.MemberNames={}));function f(F,B){return B.length===0?[]:[F,B]}class h{constructor(B,W){this.start=B,this.end=W}wrap(B,W){return[f(B,this.start),W,this.end]}}class w{constructor(B,W,Q,z,E,j,X,te){this._stringType=B,this._constStringType=W,this._smatch=Q,this._regex=z,this._stringLiteralPrefix=E,this._toString=j,this._encodingClass=X,this._encodingFunction=te}getType(){return this._stringType}getConstType(){return this._constStringType}getSMatch(){return this._smatch}getRegex(){return this._regex}createStringLiteral(B){return[this._stringLiteralPrefix,'"',B,'"']}wrapToString(B){return this._toString.wrap([],B)}}class N extends S.ConvenienceRenderer{constructor(B,W,Q){super(B,W),this._options=Q,this._gettersAndSettersForPropertyName=new Map,this.NarrowString=new class extends w{constructor(){super("std::string","const std::string & ","std::smatch","std::regex","",new h(["std::to_string("],[")"]),"","")}wrapEncodingChange(z,E,j,X){return X}emitHelperFunctions(){}},this.WideString=new class extends w{constructor(z){super("std::wstring","const std::wstring & ","std::wsmatch","std::wregex","L",new h(["std::to_wstring("],[")"]),"Utf16_Utf8","convert"),this.superThis=z}wrapEncodingChange(z,E,j,X){return this.superThis.sourcelikeToString(E)===this.superThis.sourcelikeToString(j)?X:[f(z,[this._encodingClass]),"<",E,", ",j,">::",this._encodingFunction,"(",X,")"]}emitHelperFunctions(){this.superThis.emitLine("template<typename T>"),this.superThis.emitLine("struct tag {};"),this.superThis.ensureBlankLine(),this.superThis.emitLine("template<typename fromType, typename toType>"),this.superThis.emitBlock(["class Utf16_Utf8"],!0,()=>{this.superThis.emitLine("private:"),this.superThis.emitLine("template<typename TF, typename TT>"),this.superThis.emitBlock(["static toType convert(tag<std::shared_ptr<TF> >, tag<std::shared_ptr<TT> >, fromType ptr)"],!1,()=>{this.superThis.emitLine("if (ptr == nullptr) return std::unique_ptr<TT>(); else return std::unique_ptr<TT>(new TT(Utf16_Utf8<TF,TT>::convert(*ptr)));")}),this.superThis.ensureBlankLine(),this.superThis.emitLine("template<typename TF, typename TT>"),this.superThis.emitBlock(["static toType convert(tag<std::vector<TF> >, tag<std::vector<TT> >, fromType v)"],!1,()=>{this.superThis.emitLine("auto it = v.begin();"),this.superThis.emitLine("auto newVector = std::vector<TT>();"),this.superThis.emitBlock(["while (it != v.end())"],!1,()=>{this.superThis.emitLine("newVector.push_back(Utf16_Utf8<TF,TT>::convert(*it));"),this.superThis.emitLine("it++;")}),this.superThis.emitLine("return newVector;")}),this.superThis.ensureBlankLine(),this.superThis.emitLine("template<typename KF, typename VF, typename KT, typename VT>"),this.superThis.emitBlock(["static toType convert(tag<std::map<KF,VF> >, tag<std::map<KT,VT> >, fromType m)"],!1,()=>{this.superThis.emitLine("auto it = m.begin();"),this.superThis.emitLine("auto newMap = std::map<KT, VT>();"),this.superThis.emitBlock(["while (it != m.end())"],!1,()=>{this.superThis.emitLine("newMap.insert(std::pair<KT, VT>(Utf16_Utf8<KF, KT>::convert(it->first), Utf16_Utf8<VF, VT>::convert(it->second)));"),this.superThis.emitLine("it++;")}),this.superThis.emitLine("return newMap;")}),this.superThis.ensureBlankLine(),this.superThis.emitLine("template<typename TF, typename TT>"),this.superThis.emitBlock(["static fromType convert(tag<TF>, tag<TT>, fromType from)"],!1,()=>{this.superThis.emitLine("return from;")}),this.superThis.ensureBlankLine(),this.superThis.emitBlock(["static std::wstring convert(tag<std::string>, tag<std::wstring>, std::string str)"],!1,()=>{this.superThis.emitLine("return std::wstring_convert<std::codecvt_utf8_utf16<wchar_t, 0x10ffff, std::little_endian>, wchar_t>{}.from_bytes(str.data());")}),this.superThis.ensureBlankLine(),this.superThis.emitBlock(["static std::string convert(tag<std::wstring>, tag<std::string>, std::wstring str)"],!1,()=>{this.superThis.emitLine("return std::wstring_convert<std::codecvt_utf8_utf16<wchar_t, 0x10ffff, std::little_endian>, wchar_t>{}.to_bytes(str.data());")}),this.superThis.ensureBlankLine(),this.superThis.emitLine("public:"),this.superThis.emitBlock(["static toType convert(fromType in)"],!1,()=>{this.superThis.emitLine("return convert(tag<fromType>(), tag<toType>(), in);")})}),this.superThis.ensureBlankLine(),this.superThis.emitLine("template<typename T>"),this.superThis.emitBlock(["std::wstring wdump(const T& j)"],!1,()=>{this.superThis.emitLine("std::ostringstream s;"),this.superThis.emitLine("s << j;"),this.superThis.emitLine("return ",this.superThis.ourQualifier(!1),"Utf16_Utf8<std::string, std::wstring>::convert(s.str()); ")}),this.superThis.ensureBlankLine()}}(this),this._enumType=Q.enumType,this._namespaceNames=Q.namespace.split("::"),this.typeNamingStyle=Q.typeNamingStyle,this._namedTypeNameStyle=(0,y.makeNameStyle)(this.typeNamingStyle,b),this.enumeratorNamingStyle=Q.enumeratorNamingStyle,this._memberNameStyle=(0,y.makeNameStyle)(Q.memberNamingStyle,b),this._memberNamingFunction=(0,u.funPrefixNamer)("members",this._memberNameStyle),this._gettersAndSettersForPropertyName=new Map,this._allTypeNames=new Set,this._generatedFiles=new Set,this._generatedGlobalNames=new Map,this._generatedMemberNames=new Map,this._forbiddenGlobalNames=[],Q.wstring?this._stringType=this.WideString:this._stringType=this.NarrowString,Q.boost?(this._optionalType="boost::optional",this._optionalFactory="boost::optional",this._nulloptType="boost::none",this._variantType="boost::variant",this._variantIndexMethodName="which"):(this._optionalType="std::optional",this._optionalFactory="std::make_optional",this._nulloptType="std::nullopt",this._variantType="std::variant",this._variantIndexMethodName="index"),this.setupGlobalNames()}isUnion(B){return B.kind==="union"}isOptionalAsValuePossible(B){if(this.isForwardDeclaredType(B))return!1;if(this.isUnion(B)){const[,W]=(0,r.removeNullFromUnion)(B);if(W.size===1){const Q=(0,T.defined)((0,t.iterableFirst)(W));return!this.isCycleBreakerType(Q)}}return!this.isCycleBreakerType(B)}isImplicitCycleBreaker(B){const W=B.kind;return W==="array"||W==="map"}optionalTypeStack(){return this._optionalType}optionalFactoryStack(){return this._optionalFactory}optionalTypeHeap(){return L}optionalFactoryHeap(){return g}optionalType(B){return this.isOptionalAsValuePossible(B)?this.optionalTypeStack():this.optionalTypeHeap()}optionalTypeLabel(B){return this.isOptionalAsValuePossible(B)?"stack":"heap"}getConstraintMembers(){return[{name:o.MinIntValue,getter:o.GetMinIntValue,setter:o.SetMinIntValue,cppType:"int64_t"},{name:o.MaxIntValue,getter:o.GetMaxIntValue,setter:o.SetMaxIntValue,cppType:"int64_t"},{name:o.MinDoubleValue,getter:o.GetMinDoubleValue,setter:o.SetMinDoubleValue,cppType:"double"},{name:o.MaxDoubleValue,getter:o.GetMaxDoubleValue,setter:o.SetMaxDoubleValue,cppType:"double"},{name:o.MinLength,getter:o.GetMinLength,setter:o.SetMinLength,cppType:"size_t"},{name:o.MaxLength,getter:o.GetMaxLength,setter:o.SetMaxLength,cppType:"size_t"},{name:o.Pattern,getter:o.GetPattern,setter:o.SetPattern,cppType:this._stringType.getType(),cppConstType:this._stringType.getConstType()}]}lookupGlobalName(B){return(0,T.defined)(this._generatedGlobalNames.get(B))}lookupMemberName(B){return(0,T.defined)(this._generatedMemberNames.get(B))}addGlobalName(B){const W=this._namedTypeNameStyle(a[B]);this._generatedGlobalNames.set(B,W),this._forbiddenGlobalNames.push(W)}addMemberName(B){this._generatedMemberNames.set(B,this._memberNameStyle(o[B]))}setupGlobalNames(){for(const B of(0,T.numberEnumValues)(a))this.addGlobalName(B);for(const B of(0,T.numberEnumValues)(o))this.addMemberName(B)}forbiddenNamesForGlobalNamespace(){return[..._,...this._forbiddenGlobalNames]}forbiddenForObjectProperties(B,W){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(B,W){return{names:[],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return(0,u.funPrefixNamer)("types",this._namedTypeNameStyle)}namerForObjectProperty(){return this._memberNamingFunction}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return(0,u.funPrefixNamer)("enumerators",(0,y.makeNameStyle)(this.enumeratorNamingStyle,b))}makeNamesForPropertyGetterAndSetter(B,W,Q,z,E){const j=new u.DependencyName(this._memberNamingFunction,E.order,$=>`get_${$(E)}`),X=new u.DependencyName(this._memberNamingFunction,E.order,$=>`getMutable_${$(E)}`),te=new u.DependencyName(this._memberNamingFunction,E.order,$=>`set_${$(E)}`);return[j,X,te]}makePropertyDependencyNames(B,W,Q,z,E){const j=this.makeNamesForPropertyGetterAndSetter(B,W,Q,z,E);return this._gettersAndSettersForPropertyName.set(E,j),j}withConst(B){return this._options.westConst?["const ",B]:[B," const"]}emitInclude(B,W){this.emitLine("#include ",B?"<":'"',W,B?">":'"')}startFile(B,W=!0){(0,I.assert)(this._currentFilename===void 0,"Previous file wasn't finished"),B!==void 0&&(this._currentFilename=this.sourcelikeToString(B)),this.leadingComments!==void 0?this.emitComments(this.leadingComments):this._options.justTypes||(this.emitCommentLines([" To parse this JSON data, first install",""]),this._options.boost&&this.emitCommentLines([" Boost http://www.boost.org"]),this.emitCommentLines([" json.hpp https://github.com/nlohmann/json",""," Then include this file, and then do",""]),this._options.typeSourceStyle?this.forEachTopLevel("none",(Q,z)=>{this.emitLine("// ",z," data = nlohmann::json::parse(jsonString);")}):this.emitLine("// ",B," data = nlohmann::json::parse(jsonString);"),this._options.wstring&&(this.emitLine("//"),this.emitLine("// You can get std::wstring data back out using"),this.emitLine("//"),this.forEachTopLevel("none",(Q,z)=>{this.emitLine("// std::wcout << ","wdump((nlohmann::json) ",z,");")}))),this.ensureBlankLine(),this.emitLine("#pragma once"),this.ensureBlankLine(),this.haveOptionalProperties&&(this._options.boost?this.emitInclude(!0,"boost/optional.hpp"):this.emitInclude(!0,"optional")),this.haveNamedUnions&&(this._options.boost?this.emitInclude(!0,"boost/variant.hpp"):this.emitInclude(!0,"variant")),this._options.justTypes||(this._options.includeLocation?this.emitInclude(!1,"json.hpp"):this.emitInclude(!0,"nlohmann/json.hpp"),W&&!this._options.typeSourceStyle&&this.emitInclude(!1,"helper.hpp")),this.ensureBlankLine()}finishFile(){super.finishFile((0,T.defined)(this._currentFilename)),this._currentFilename=void 0}get needsTypeDeclarationBeforeUse(){return!0}canBeForwardDeclared(B){return B.kind==="class"}emitDescriptionBlock(B){this.emitCommentLines(B,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(B,W,Q,z=!0){this.emitLine(B," {"),this.preventBlankLine(),z?this.indent(Q):Q(),this.preventBlankLine(),W?this.emitLine("};"):this.emitLine("}")}emitNamespaces(B,W){const Q=(0,t.toReadonlyArray)(B),z=Q[0];z===void 0?W():this.emitBlock(["namespace ",z],!1,()=>this.emitNamespaces(Q.slice(1),W),Q.length===1)}cppTypeInOptional(B,W,Q,z){if(B.size===1)return this.cppType((0,T.defined)((0,t.iterableFirst)(B)),W,Q,z,!1);const E=[];for(const j of B)E.length!==0&&E.push(", "),E.push(this.cppType(j,{needsForwardIndirection:!0,needsOptionalIndirection:!1,inJsonNamespace:W.inJsonNamespace},Q,!1,!1));return[this._variantType,"<",E,">"]}variantType(B,W){const[Q,z]=(0,r.removeNullFromUnion)(B,!0);(0,I.assert)(z.size>=2,"Variant not needed for less than two types.");const E=Q!==null,j=this.cppTypeInOptional(z,{needsForwardIndirection:!E,needsOptionalIndirection:!E,inJsonNamespace:W},!0,!1);return E?[this.optionalType(B),"<",j,">"]:j}ourQualifier(B){return B?[(0,t.arrayIntercalate)("::",this._namespaceNames),"::"]:[]}jsonQualifier(B){return B?[]:"nlohmann::"}variantIndirection(B,W,Q){return W?[this.optionalType(B),"<",Q,">"]:Q}cppType(B,W,Q,z,E){const j=W.inJsonNamespace;if(E&&B instanceof i.UnionType){for(const te of B.getChildren())if(te.isNullable){E=!1;break}}const X=(0,r.matchType)(B,te=>(E=!1,(0,l.maybeAnnotated)(Q,d.anyTypeIssueAnnotation,[this.jsonQualifier(j),"json"])),te=>(E=!1,(0,l.maybeAnnotated)(Q,d.nullTypeIssueAnnotation,[this.jsonQualifier(j),"json"])),te=>"bool",te=>"int64_t",te=>"double",te=>z?"std::string":this._stringType.getType(),te=>["std::vector<",this.cppType(te.items,{needsForwardIndirection:!1,needsOptionalIndirection:!0,inJsonNamespace:j},Q,z,!1),">"],te=>this.variantIndirection(te,W.needsForwardIndirection&&this.isForwardDeclaredType(te)&&!E,[this.ourQualifier(j),this.nameForNamedType(te)]),te=>{let $=this._stringType.getType();return z&&($="std::string"),["std::map<",$,", ",this.cppType(te.values,{needsForwardIndirection:!1,needsOptionalIndirection:!0,inJsonNamespace:j},Q,z,!1),">"]},te=>[this.ourQualifier(j),this.nameForNamedType(te)],te=>{const $=(0,r.nullableFromUnion)(te);return $!==null?(E=!0,this.cppType($,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:j},Q,z,!1)):[this.ourQualifier(j),this.nameForNamedType(te)]});return E?[this.optionalType(B),"<",X,">"]:X}generatedTypes(B,W){const Q=[],z=(E,j,X,te)=>{if(te instanceof i.ArrayType)z(!0,j,X+1,te.items);else if(te instanceof i.ClassType)Q.push({name:this.nameForNamedType(te),type:te,level:X,variant:j,forceInclude:E});else if(te instanceof i.MapType)z(!0,j,X+1,te.values);else if(te instanceof i.EnumType)Q.push({name:this.nameForNamedType(te),type:te,level:X,variant:j,forceInclude:!1});else if(te instanceof i.UnionType){this.unionNeedsName(te)&&B&&(E=!0,Q.push({name:this.nameForNamedType(te),type:te,level:X,variant:!0,forceInclude:E}));const[$,ne]=(0,r.removeNullFromUnion)(te);j=$!==null;for(const ce of ne)z(E,j,X+1,ce)}};return z(!1,!1,0,W),Q}constraintMember(B){return this._memberNameStyle(`${B}Constraint`)}emitMember(B,W){this.emitLine(B," ",W,";")}emitClassMembers(B,W){this._options.codeFormat&&(this.emitLine("private:"),this.forEachClassProperty(B,"none",(Q,z,E)=>{if(this.emitMember(this.cppType(E.type,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,E.isOptional),Q),W?.has(z)){const j=this.lookupGlobalName(a.ClassMemberConstraints);this.emitMember(j,this.constraintMember(z))}}),this.ensureBlankLine(),this.emitLine("public:")),this.forEachClassProperty(B,"none",(Q,z,E)=>{if(this.emitDescription(this.descriptionForClassProperty(B,z)),!this._options.codeFormat)this.emitMember(this.cppType(E.type,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,E.isOptional),Q);else{const[j,X,te]=(0,T.defined)(this._gettersAndSettersForPropertyName.get(Q)),$=this.cppType(E.type,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,E.isOptional),ne=this.lookupGlobalName(a.CheckConstraint);E.type instanceof i.UnionType&&E.type.findMember("null")!==void 0||E.isOptional&&E.type.kind!=="null"&&E.type.kind!=="any"?(this.emitLine($," ",j,"() const { return ",Q,"; }"),W?.has(z)?this.emitLine("void ",te,"(",$," value) { if (value) ",ne,"(",this._stringType.createStringLiteral([Q]),", ",this.constraintMember(z),", *value); this->",Q," = value; }"):this.emitLine("void ",te,"(",$," value) { this->",Q," = value; }")):(this.emitLine(this.withConst($)," & ",j,"() const { return ",Q,"; }"),this.emitLine($," & ",X,"() { return ",Q,"; }"),W?.has(z)?this.emitLine("void ",te,"(",this.withConst($)," & value) { ",ne,"(",this._stringType.createStringLiteral([Q]),", ",this.constraintMember(z),", value); this->",Q," = value; }"):this.emitLine("void ",te,"(",this.withConst($)," & value) { this->",Q," = value; }")),this.ensureBlankLine()}})}generateClassConstraints(B){const W=new Map;return this.forEachClassProperty(B,"none",(Q,z,E)=>{const j=A(E.type);if(j===void 0)return;const{minMax:X,minMaxLength:te,pattern:$}=j,ne=this.cppType(E.type,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,E.isOptional);W.set(z,[this.constraintMember(z),"(",X?.[0]&&ne==="int64_t"?String(X[0]):this._nulloptType,", ",X?.[1]&&ne==="int64_t"?String(X[1]):this._nulloptType,", ",X?.[0]&&ne==="double"?String(X[0]):this._nulloptType,", ",X?.[1]&&ne==="double"?String(X[1]):this._nulloptType,", ",te?.[0]?String(te[0]):this._nulloptType,", ",te?.[1]?String(te[1]):this._nulloptType,", ",$===void 0?this._nulloptType:[this._stringType.getType(),"(",this._stringType.createStringLiteral([(0,y.stringEscape)($)]),")"],")"])}),W.size===0?void 0:W}emitClass(B,W){this.emitDescription(this.descriptionForType(B)),this.emitBlock([this._options.codeFormat?"class ":"struct ",W],!0,()=>{const Q=this.generateClassConstraints(B);if(this._options.codeFormat){if(this.emitLine("public:"),Q===void 0)this.emitLine(W,"() = default;");else{this.emitLine(W,"() :");let z=0;Q.forEach((E,j)=>{z++,this.indent(()=>{z===Q.size?this.emitLine(E):this.emitLine(E,",")})}),this.emitLine("{}")}this.emitLine("virtual ~",W,"() = default;"),this.ensureBlankLine()}this.emitClassMembers(B,Q)})}emitTopLevelHeaders(B,W){if(B instanceof i.MapType&&this._stringType!==this.NarrowString){const Q=this.ourQualifier(!0);this.emitBlock(["struct adl_serializer<",Q,W,">"],!0,()=>{this.emitLine("template <>"),this.emitLine("static void from_json(",this.withConst("json")," & j, ",Q,W," & x);"),this.emitLine("static void to_json(json & j, ",this.withConst([Q,W])," & x);")})}}emitClassHeaders(B){const W=this.ourQualifier(!1);this.emitLine("void from_json(",this.withConst("json")," & j, ",W,B," & x);"),this.emitLine("void to_json(json & j, ",this.withConst([W,B])," & x);")}emitTopLevelFunction(B,W){if(B instanceof i.MapType&&this._stringType!==this.NarrowString){const Q=this.ourQualifier(!0);let z,E;this.emitBlock(["inline void adl_serializer<",Q,W,">::from_json(",this.withConst("json")," & j, ",Q,W,"& x)"],!1,()=>{z=this.cppType(B,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1),E=this.cppType(B,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1),this.emitLine(["x = ",this._stringType.wrapEncodingChange([Q],z,E,["j.get<",z,">()"]),";"])}),this.emitBlock(["inline void adl_serializer<",Q,W,">::to_json(json & j, ",this.withConst([Q,W])," & x)"],!1,()=>{z=this.cppType(B,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1),E=this.cppType(B,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1),this.emitLine(["j = ",this._stringType.wrapEncodingChange([Q],z,E,"x"),";"])})}}emitClassFunctions(B,W){const Q=this.ourQualifier(!1);let z,E;this.emitBlock(["inline void from_json(",this.withConst("json")," & j, ",Q,W,"& x)"],!1,()=>{this.forEachClassProperty(B,"none",(j,X,te)=>{const[,,$]=(0,T.defined)(this._gettersAndSettersForPropertyName.get(j)),ne=te.type;let ce;if(this._options.codeFormat?ce=new h(["x.",$,"("],[")"]):ce=new h(["x.",j," = "],[]),ne.kind==="null"||ne.kind==="any"){this.emitLine(ce.wrap([],[Q,"get_untyped(j, ",this._stringType.wrapEncodingChange([Q],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,y.stringEscape)(X)])]),")"]),";");return}if(te.isOptional||ne instanceof i.UnionType){const[Te,Ne]=function(){if(ne instanceof i.UnionType){const[le,fe]=(0,r.removeNullFromUnion)(ne,!0);return[le!==null||te.isOptional,fe]}else{const le=new Set;return le.add(ne),[!0,le]}}();if(Te){z=this.cppTypeInOptional(Ne,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!1},!1,!0),E=this.cppTypeInOptional(Ne,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!1},!1,!1),this.emitLine(ce.wrap([],[this._stringType.wrapEncodingChange([Q],[this.optionalType(ne),"<",z,">"],[this.optionalType(ne),"<",E,">"],[Q,`get_${this.optionalTypeLabel(ne)}_optional<`,z,">(j, ",this._stringType.wrapEncodingChange([Q],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,y.stringEscape)(X)])]),")"])]),";");return}}z=this.cppType(ne,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!1,!0,te.isOptional),E=this.cppType(ne,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!1,!1,te.isOptional),this.emitLine(ce.wrap([],this._stringType.wrapEncodingChange([Q],z,E,["j.at(",this._stringType.wrapEncodingChange([Q],this._stringType.getType(),this.NarrowString.getType(),this._stringType.createStringLiteral([(0,y.stringEscape)(X)])),").get<",z,">()"])),";")})}),this.ensureBlankLine(),this.emitBlock(["inline void to_json(json & j, ",this.withConst([Q,W])," & x)"],!1,()=>{this.emitLine("j = json::object();"),this.forEachClassProperty(B,"none",(j,X,te)=>{const $=te.type;z=this.cppType($,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!1,!1,te.isOptional),E=this.cppType($,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!1,!0,te.isOptional);const[ne,,]=(0,T.defined)(this._gettersAndSettersForPropertyName.get(j));let ce;this._options.codeFormat?ce=[ne,"()"]:ce=[j];const Te=["j[",this._stringType.wrapEncodingChange([Q],this._stringType.getType(),this.NarrowString.getType(),this._stringType.createStringLiteral([(0,y.stringEscape)(X)])),"] = ",this._stringType.wrapEncodingChange([Q],z,E,["x.",ce]),";"];te.isOptional&&this._options.hideNullOptional?this.emitBlock(["if (",this._stringType.wrapEncodingChange([Q],z,E,["x.",ce]),")"],!1,()=>{this.emitLine(Te)}):this.emitLine(Te)})})}emitEnum(B,W){const Q=[],z=(0,P.enumCaseValues)(B,this.targetLanguage.name);this.forEachEnumCase(B,"none",(E,j)=>{if(Q.length>0&&Q.push(", "),Q.push(E),z!==void 0){const[X]=(0,k.getAccessorName)(z,j);X!==void 0&&Q.push(" = ",X.toString())}}),this.emitDescription(this.descriptionForType(B)),this.emitLine("enum class ",W," : ",this._enumType," { ",Q," };")}emitUnionTypedefs(B,W){this.emitLine("using ",W," = ",this.variantType(B,!1),";")}emitUnionHeaders(B){const W=(0,r.removeNullFromUnion)(B,!0)[1],Q=this.cppTypeInOptional(W,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!0},!1,!1);this.emitLine("template <>"),this.emitBlock(["struct adl_serializer<",Q,">"],!0,()=>{this.emitLine("static void from_json(",this.withConst("json")," & j, ",Q," & x);"),this.emitLine("static void to_json(json & j, ",this.withConst(Q)," & x);")})}emitUnionFunctions(B){const W=this.ourQualifier(!0),Q=[["bool","is_boolean"],["integer","is_number_integer"],["double","is_number"],["string","is_string"],["class","is_object"],["map","is_object"],["array","is_array"],["enum","is_string"]],z=(0,r.removeNullFromUnion)(B,!0)[1],E=this.cppTypeInOptional(z,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!0},!1,!1);this.emitBlock(["inline void adl_serializer<",E,">::from_json(",this.withConst("json")," & j, ",E," & x)"],!1,()=>{let j=!0;for(const[X,te]of Q){const $=(0,t.iterableFind)(z,ne=>ne.kind===X);$!==void 0&&(this.emitLine(j?"if":"else if"," (j.",te,"())"),this.indent(()=>{const ne=this.cppType($,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1),ce=this.cppType($,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1);this.emitLine("x = ",this._stringType.wrapEncodingChange([W],ne,ce,["j.get<",ne,">()"]),";")}),j=!1)}this.emitLine('else throw std::runtime_error("Could not deserialise!");')}),this.ensureBlankLine(),this.emitBlock(["inline void adl_serializer<",E,">::to_json(json & j, ",this.withConst(E)," & x)"],!1,()=>{this.emitBlock(["switch (x.",this._variantIndexMethodName,"())"],!1,()=>{let j=0;for(const X of z)this.emitLine("case ",j.toString(),":"),this.indent(()=>{const te=this.cppType(X,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1),$=this.cppType(X,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1);this.emitLine("j = ",this._stringType.wrapEncodingChange([W],te,$,[this._options.boost?"boost::get<":"std::get<",te,">(x)"]),";"),this.emitLine("break;")}),j++;this.emitLine('default: throw std::runtime_error("Input JSON does not conform to schema!");')})})}emitEnumHeaders(B){const W=this.ourQualifier(!1);this.emitLine("void from_json(",this.withConst("json")," & j, ",W,B," & x);"),this.emitLine("void to_json(json & j, ",this.withConst([W,B])," & x);")}isLargeEnum(B){return B.cases.size>15}emitEnumFunctions(B,W){const Q=this.ourQualifier(!1);this.emitBlock(["inline void from_json(",this.withConst("json")," & j, ",Q,W," & x)"],!1,()=>{if(this.isLargeEnum(B))this.emitBlock(["static std::unordered_map<",this._stringType.getType(),", ",Q,W,"> enumValues"],!0,()=>{this.forEachEnumCase(B,"none",(z,E)=>{this.emitLine("{",this._stringType.wrapEncodingChange([Q],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,y.stringEscape)(E)])]),", ",Q,W,"::",z,"},")})}),this.emitLine(`auto iter = enumValues.find(j.get<${this._stringType.getType()}>());`),this.emitBlock("if (iter != enumValues.end())",!1,()=>{this.emitLine("x = iter->second;")});else{let z=!0;this.forEachEnumCase(B,"none",(E,j)=>{const X=z?"":"else ";this.emitLine(X,"if (j == ",this._stringType.wrapEncodingChange([Q],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,y.stringEscape)(j)])]),") x = ",Q,W,"::",E,";"),z=!1}),this.emitLine('else { throw std::runtime_error("Input JSON does not conform to schema!"); }')}}),this.ensureBlankLine(),this.emitBlock(["inline void to_json(json & j, ",this.withConst([Q,W])," & x)"],!1,()=>{this.emitBlock("switch (x)",!1,()=>{this.forEachEnumCase(B,"none",(z,E)=>{this.emitLine("case ",Q,W,"::",z,": j = ",this._stringType.wrapEncodingChange([Q],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,y.stringEscape)(E)])]),"; break;")}),this.emitLine(`default: throw std::runtime_error("Unexpected value in enumeration \\"${W}\\": " + std::to_string(static_cast<int>(x)));`)})})}emitTopLevelTypedef(B,W){this.emitLine("using ",W," = ",this.cppType(B,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,!1),";")}emitAllUnionFunctions(){this.forEachUniqueUnion("leading-and-interposing",B=>this.sourcelikeToString(this.cppTypeInOptional((0,r.removeNullFromUnion)(B,!0)[1],{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!0},!1,!1)),B=>this.emitUnionFunctions(B))}emitAllUnionHeaders(){this.forEachUniqueUnion("interposing",B=>this.sourcelikeToString(this.cppTypeInOptional((0,r.removeNullFromUnion)(B,!0)[1],{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!0},!1,!1)),B=>this.emitUnionHeaders(B))}emitOptionalHelpers(){this.emitLine("#ifndef NLOHMANN_OPT_HELPER"),this.emitLine("#define NLOHMANN_OPT_HELPER"),this.emitNamespaces(["nlohmann"],()=>{const B=(W,Q)=>{this.emitLine("template <typename T>"),this.emitBlock(["struct adl_serializer<",W,"<T>>"],!0,()=>{this.emitBlock(["static void to_json(json & j, ",this.withConst([W,"<T>"])," & opt)"],!1,()=>{this.emitLine("if (!opt) j = nullptr; else j = *opt;")}),this.ensureBlankLine(),this.emitBlock(["static ",W,"<T> from_json(",this.withConst("json")," & j)"],!1,()=>{this.emitLine(`if (j.is_null()) return ${Q}<T>(); else return ${Q}<T>(j.get<T>());`)})})};B(this.optionalTypeHeap(),this.optionalFactoryHeap()),B(this.optionalTypeStack(),this.optionalFactoryStack())}),this.emitLine("#endif")}emitDeclaration(B){if(B.kind==="forward")this._options.codeFormat?this.emitLine("class ",this.nameForNamedType(B.type),";"):this.emitLine("struct ",this.nameForNamedType(B.type),";");else if(B.kind==="define"){const W=B.type,Q=this.nameForNamedType(W);W instanceof i.ClassType?this.emitClass(W,Q):W instanceof i.EnumType?this.emitEnum(W,Q):W instanceof i.UnionType?this.emitUnionTypedefs(W,Q):(0,T.panic)(`Cannot declare type ${W.kind}`)}else(0,T.assertNever)(B.kind)}emitGetterSetter(B,W,Q,z){this.emitLine("void ",Q,"(",B," ",z,") { this->",z," = ",z,"; }"),this.emitLine("auto ",W,"() const { return ",z,"; }")}emitNumericCheckConstraints(B,W,Q,z,E){this.emitBlock(["inline void ",B,"(",this._stringType.getConstType()," name, ",this.withConst(W)," & c, ",E," value)"],!1,()=>{this.emitBlock(["if (c.",Q,"() != ",this._nulloptType," && value < *c.",Q,"())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(a.ValueTooLowException)," (",this._stringType.createStringLiteral(["Value too low for "])," + name + ",this._stringType.createStringLiteral([" ("])," + ",this._stringType.wrapToString(["value"])," + ",this._stringType.createStringLiteral(["<"])," + ",this._stringType.wrapToString(["*c.",Q,"()"])," + ",this._stringType.createStringLiteral([")"]),");")}),this.ensureBlankLine(),this.emitBlock(["if (c.",z,"() != ",this._nulloptType," && value > *c.",z,"())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(a.ValueTooHighException)," (",this._stringType.createStringLiteral(["Value too high for "])," + name + ",this._stringType.createStringLiteral([" ("])," + ",this._stringType.wrapToString(["value"])," + ",this._stringType.createStringLiteral([">"])," + ",this._stringType.wrapToString(["*c.",z,"()"])," + ",this._stringType.createStringLiteral([")"]),");")}),this.ensureBlankLine()}),this.ensureBlankLine()}emitConstraintClasses(){const B=this.ourQualifier(!1),W=this.lookupMemberName(o.GetMinIntValue),Q=this.lookupMemberName(o.GetMaxIntValue),z=this.lookupMemberName(o.GetMinDoubleValue),E=this.lookupMemberName(o.GetMaxDoubleValue),j=this.lookupMemberName(o.GetMinLength),X=this.lookupMemberName(o.GetMaxLength),te=this.lookupMemberName(o.GetPattern),$=this.lookupGlobalName(a.ClassMemberConstraints);this.emitBlock(["class ",$],!0,()=>{this.emitLine("private:");const Ne=this.getConstraintMembers();for(const fe of Ne)this.emitMember([this._optionalType,"<",fe.cppType,">"],this.lookupMemberName(fe.name));this.ensureBlankLine(),this.emitLine("public:"),this.emitLine($,"("),this.indent(()=>{this.iterableForEach(Ne,({name:fe,cppType:_e},Y)=>{const M=Y==="first"||Y==="middle"?",":[];this.emitLine(this._optionalType,"<",_e,"> ",this.lookupMemberName(fe),M)})});const le=Ne.map(({name:fe})=>{const _e=this.lookupMemberName(fe);return[_e,"(",_e,")"]});this.emitLine(") : ",(0,t.arrayIntercalate)([", "],le)," {}"),this.emitLine($,"() = default;"),this.emitLine("virtual ~",$,"() = default;");for(const fe of Ne)this.ensureBlankLine(),this.emitGetterSetter((0,t.withDefault)(fe.cppConstType,fe.cppType),this.lookupMemberName(fe.getter),this.lookupMemberName(fe.setter),this.lookupMemberName(fe.name))}),this.ensureBlankLine();const ne=this.lookupGlobalName(a.ClassMemberConstraintException);this.emitBlock(["class ",ne," : public std::runtime_error"],!0,()=>{this.emitLine("public:"),this.emitLine(ne,"(",this._stringType.getConstType()," msg) : std::runtime_error(",this._stringType.wrapEncodingChange([B],this._stringType.getType(),this.NarrowString.getType(),["msg"]),") {}")}),this.ensureBlankLine();const ce=[a.ValueTooLowException,a.ValueTooHighException,a.ValueTooShortException,a.ValueTooLongException,a.InvalidPatternException];for(const Ne of ce){const le=this.lookupGlobalName(Ne);this.emitBlock(["class ",le," : public ",ne],!0,()=>{this.emitLine("public:"),this.emitLine(le,"(",this._stringType.getConstType()," msg) : ",ne,"(msg) {}")}),this.ensureBlankLine()}const Te=this.lookupGlobalName(a.CheckConstraint);this.emitNumericCheckConstraints(Te,$,W,Q,"int64_t"),this.emitNumericCheckConstraints(Te,$,z,E,"double"),this.emitBlock(["inline void ",Te,"(",this._stringType.getConstType()," name, ",this.withConst($)," & c, ",this._stringType.getConstType()," value)"],!1,()=>{this.emitBlock(["if (c.",j,"() != ",this._nulloptType," && value.length() < *c.",j,"())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(a.ValueTooShortException)," (",this._stringType.createStringLiteral(["Value too short for "])," + name + ",this._stringType.createStringLiteral([" ("])," + ",this._stringType.wrapToString(["value.length()"])," + ",this._stringType.createStringLiteral(["<"])," + ",this._stringType.wrapToString(["*c.",j,"()"])," + ",this._stringType.createStringLiteral([")"]),");")}),this.ensureBlankLine(),this.emitBlock(["if (c.",X,"() != ",this._nulloptType," && value.length() > *c.",X,"())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(a.ValueTooLongException)," (",this._stringType.createStringLiteral(["Value too long for "])," + name + ",this._stringType.createStringLiteral([" ("])," + ",this._stringType.wrapToString(["value.length()"])," + ",this._stringType.createStringLiteral([">"])," + ",this._stringType.wrapToString(["*c.",X,"()"])," + ",this._stringType.createStringLiteral([")"]),");")}),this.ensureBlankLine(),this.emitBlock(["if (c.",te,"() != ",this._nulloptType,")"],!1,()=>{this.emitLine(this._stringType.getSMatch()," result;"),this.emitLine("std::regex_search(value, result, ",this._stringType.getRegex(),"( *c.",te,"() ));"),this.emitBlock(["if (result.empty())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(a.InvalidPatternException)," (",this._stringType.createStringLiteral(["Value doesn't match pattern for "])," + name + ",this._stringType.createStringLiteral([" ("])," + value +",this._stringType.createStringLiteral([" != "])," + *c.",te,"() + ",this._stringType.createStringLiteral([")"]),");")})}),this.ensureBlankLine()})}emitHelperFunctions(){this._stringType.emitHelperFunctions(),this._options.codeFormat&&(0,t.iterableSome)(this.typeGraph.allTypesUnordered(),Q=>A(Q)!==void 0)&&(this.emitConstraintClasses(),this.ensureBlankLine()),this.ensureBlankLine();let B="NLOHMANN_UNTYPED_",W="NLOHMANN_OPTIONAL_";if(this._namespaceNames.forEach(Q=>{B+=Q,B+="_",W+=Q,W+="_"}),B+="HELPER",W+="HELPER",this.emitLine(`#ifndef ${B}`),this.emitLine(`#define ${B}`),this.emitBlock(["inline json get_untyped(",this.withConst("json")," & j, ",this.withConst("char")," * property)"],!1,()=>{this.emitBlock(["if (j.find(property) != j.end())"],!1,()=>{this.emitLine("return j.at(property).get<json>();")}),this.emitLine("return json();")}),this.ensureBlankLine(),this.emitBlock(["inline json get_untyped(",this.withConst("json")," & j, std::string property)"],!1,()=>{this.emitLine("return get_untyped(j, property.data());")}),this.emitLine("#endif"),this.ensureBlankLine(),this.haveUnions||this.haveOptionalProperties){this.ensureBlankLine(),this.emitLine(`#ifndef ${W}`),this.emitLine(`#define ${W}`);const Q=(z,E)=>{this.emitLine("template <typename T>"),this.emitBlock(["inline ",z,`<T> get_${E}_optional(`,this.withConst("json")," & j, ",this.withConst("char")," * property)"],!1,()=>{this.emitLine(["auto it = j.find(property);"]),this.emitBlock(["if (it != j.end() && !it->is_null())"],!1,()=>{this.emitLine("return j.at(property).get<",z,"<T>>();")}),this.emitLine("return ",z,"<T>();")}),this.ensureBlankLine(),this.emitLine("template <typename T>"),this.emitBlock(["inline ",z,`<T> get_${E}_optional(`,this.withConst("json")," & j, std::string property)"],!1,()=>{this.emitLine(`return get_${E}_optional<T>(j, property.data());`)})};Q(this.optionalTypeHeap(),"heap"),Q(this.optionalTypeStack(),"stack"),this.emitLine("#endif"),this.ensureBlankLine()}}emitExtraIncludes(){this.ensureBlankLine(),this._options.codeFormat&&(this._options.boost?this.emitInclude(!0,"boost/optional.hpp"):this.emitInclude(!0,"optional"),this.emitInclude(!0,"stdexcept"),this.emitInclude(!0,"regex")),this._options.wstring&&(this.emitInclude(!0,"codecvt"),this.emitInclude(!0,"locale")),Array.from(this.enums).some(B=>this.isLargeEnum(B))&&this.emitInclude(!0,"unordered_map"),this.ensureBlankLine()}emitHelper(){this.startFile("helper.hpp",!1),this.emitExtraIncludes(),this.emitInclude(!0,"sstream"),this.ensureBlankLine(),this.emitNamespaces(this._namespaceNames,()=>{this.emitLine("using nlohmann::json;"),this.ensureBlankLine(),this.emitHelperFunctions()}),(this.haveUnions||this.haveOptionalProperties)&&(this.ensureBlankLine(),this.emitOptionalHelpers()),this.finishFile()}emitTypes(){this._options.justTypes||(this.emitLine("using nlohmann::json;"),this.ensureBlankLine(),this.emitHelperFunctions()),this.forEachDeclaration("interposing",B=>this.emitDeclaration(B)),!this._options.justTypes&&this.forEachTopLevel("leading",(B,W)=>this.emitTopLevelTypedef(B,W),B=>this.namedTypeToNameForTopLevel(B)===void 0)}gatherUserNamespaceForwardDecls(){return this.gatherSource(()=>{this.forEachObject("leading-and-interposing",(B,W)=>this.emitClassHeaders(W)),this.forEachEnum("leading-and-interposing",(B,W)=>this.emitEnumHeaders(W))})}gatherNlohmannNamespaceForwardDecls(){return this.gatherSource(()=>{this.forEachTopLevel("leading-and-interposing",(B,W)=>this.emitTopLevelHeaders(B,W)),this.ensureBlankLine(),this.emitAllUnionHeaders()})}emitUserNamespaceImpls(){this.forEachObject("leading-and-interposing",(B,W)=>this.emitClassFunctions(B,W)),this.forEachEnum("leading-and-interposing",(B,W)=>this.emitEnumFunctions(B,W))}emitNlohmannNamespaceImpls(){this.forEachTopLevel("leading-and-interposing",(B,W)=>this.emitTopLevelFunction(B,W),B=>this.namedTypeToNameForTopLevel(B)===void 0),this.ensureBlankLine(),this.emitAllUnionFunctions()}emitGenerators(){if(this._options.justTypes){let B=!1;const W=this.gatherSource(()=>this.emitNamespaces(this._namespaceNames,()=>{B=this.forEachTopLevel("none",(Q,z)=>this.emitTopLevelTypedef(Q,z),Q=>this.namedTypeToNameForTopLevel(Q)===void 0)}));B&&(this.emitGatheredSource(W),this.ensureBlankLine())}else{const B=this.gatherUserNamespaceForwardDecls(),W=this.gatherNlohmannNamespaceForwardDecls();B.length===0&&W.length>0?this.emitNamespaces(["nlohmann"],()=>{this.emitGatheredSource(W),this.emitNlohmannNamespaceImpls()}):B.length>0&&W.length===0?this.emitNamespaces(this._namespaceNames,()=>{this.emitGatheredSource(B),this.emitUserNamespaceImpls()}):B.length>0&&W.length>0&&(this.emitNamespaces(this._namespaceNames,()=>{this.emitGatheredSource(B)}),this.emitNamespaces(["nlohmann"],()=>{this.emitGatheredSource(W)}),this.emitNamespaces(this._namespaceNames,()=>{this.emitUserNamespaceImpls()}),this.emitNamespaces(["nlohmann"],()=>{this.emitNlohmannNamespaceImpls()}))}}emitSingleSourceStructure(B){this.startFile(B),this._generatedFiles.add(B),this.emitExtraIncludes(),this._options.justTypes?this.emitTypes():(!this._options.justTypes&&this.haveNamedTypes&&(this.haveUnions||this.haveOptionalProperties)&&(this.emitOptionalHelpers(),this.ensureBlankLine()),this.emitNamespaces(this._namespaceNames,()=>this.emitTypes())),this.ensureBlankLine(),this.emitGenerators(),this.finishFile()}updateIncludes(B,W,Q,z){const E=this.generatedTypes(B,Q);for(const j of E){const X=this.sourcelikeToString(j.name),te={kind:void 0,typeKind:void 0};if(j.type instanceof i.ClassType)te.typeKind="class",te.kind=j.level===0?p.Include:p.ForwardDeclare,j.forceInclude&&(te.kind=p.Include);else if(j.type instanceof i.EnumType)te.typeKind="enum",te.kind=p.ForwardDeclare;else if(j.type instanceof i.UnionType){te.typeKind="union";const[$]=(0,r.removeNullFromUnion)(j.type,!0);$!==void 0||j.forceInclude?te.kind=p.Include:te.kind=p.ForwardDeclare}if(W.has(X)){const $=W.get(X);$!==void 0&&$.kind===p.ForwardDeclare&&W.set(X,te)}else W.set(X,te)}}emitIncludes(B,W){const Q=new Map;if(B instanceof i.UnionType?this.updateIncludes(!1,Q,B,W):B instanceof i.ClassType&&this.forEachClassProperty(B,"none",(z,E,j)=>{this.updateIncludes(!0,Q,j.type,W)}),Q.size!==0){let z=0,E=0;Q.forEach((j,X)=>{X!==W&&(j.kind!==p.ForwardDeclare?(this.emitInclude(!1,[X,".hpp"]),E++):z++)}),E>0&&this.ensureBlankLine(),z>0&&this.emitNamespaces(this._namespaceNames,()=>{Q.forEach((j,X)=>{X!==W&&j.kind===p.ForwardDeclare&&(j.typeKind==="class"||j.typeKind==="union"?this._options.codeFormat?this.emitLine("class ",X,";"):this.emitLine("struct ",X,";"):j.typeKind==="enum"?this.emitLine("enum class ",X," : ",this._enumType,";"):(0,T.panic)(`Invalid type "${j.typeKind}" to forward declare`))})}),this.ensureBlankLine()}}emitDefinition(B,W){const Q=`${this.sourcelikeToString(W)}.hpp`;this.startFile(Q,!0),this._generatedFiles.add(Q),this.emitIncludes(B,this.sourcelikeToString(W)),this.emitNamespaces(this._namespaceNames,()=>{this.emitDescription(this.descriptionForType(B)),this.ensureBlankLine(),this.emitLine("using nlohmann::json;"),this.ensureBlankLine(),B instanceof i.ClassType?this.emitClass(B,W):B instanceof i.EnumType?this.emitEnum(B,W):B instanceof i.UnionType&&this.emitUnionTypedefs(B,W)}),this.finishFile()}emitMultiSourceStructure(B){!this._options.justTypes&&this.haveNamedTypes&&(this.emitHelper(),this.startFile("Generators.hpp",!0),this._allTypeNames.forEach(W=>{this.emitInclude(!1,[W,".hpp"])}),this.ensureBlankLine(),this.emitGenerators(),this.finishFile()),this.forEachNamedType("leading-and-interposing",(W,Q)=>{this.emitDefinition(W,Q)},(W,Q)=>{this.emitDefinition(W,Q)},(W,Q)=>{this.emitDefinition(W,Q)}),this._generatedFiles.has(B)||(this.haveNamedTypes||this.emitHelper(),this.startFile(B),this._generatedFiles.forEach(W=>{this.emitInclude(!1,W)}),this.emitNamespaces(this._namespaceNames,()=>{this.forEachTopLevel("leading",(W,Q)=>this.emitTopLevelTypedef(W,Q),W=>this.namedTypeToNameForTopLevel(W)===void 0)}),this.finishFile())}emitSourceStructure(B){this._generatedFiles.clear(),this._allTypeNames.clear(),this.forEachDeclaration("none",W=>{const Q=(0,r.directlyReachableTypes)(W.type,z=>(0,r.isNamedType)(z)&&(z instanceof i.ClassType||z instanceof i.EnumType||z instanceof i.UnionType)?new Set([this.sourcelikeToString(this.cppType(z,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!1},!0,!1,!1))]):null);this._allTypeNames=(0,t.setUnion)(Q,this._allTypeNames)}),this._options.typeSourceStyle?this.emitSingleSourceStructure(B):this.emitMultiSourceStructure(B)}isConversionRequired(B){const W=this.cppType(B,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1),Q=this.cppType(B,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1);return W!==Q}}e.CPlusPlusRenderer=N})(zp);var Wp={};(function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(a,o,f,h){h===void 0&&(h=f);var w=Object.getOwnPropertyDescriptor(o,f);(!w||("get"in w?!o.__esModule:w.writable||w.configurable))&&(w={enumerable:!0,get:function(){return o[f]}}),Object.defineProperty(a,h,w)}:function(a,o,f,h){h===void 0&&(h=f),a[h]=o[f]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(a,o){Object.defineProperty(a,"default",{enumerable:!0,value:o})}:function(a,o){a.default=o}),i=Fe&&Fe.__importStar||function(a){if(a&&a.__esModule)return a;var o={};if(a!=null)for(var f in a)f!=="default"&&Object.prototype.hasOwnProperty.call(a,f)&&t(o,a,f);return n(o,a),o};Object.defineProperty(e,"__esModule",{value:!0}),e.ObjectiveCRenderer=e.ObjectiveCTargetLanguage=e.objcOptions=void 0;const r=He,u=Lt,l=lt(),d=ot(),y=qe,T=et,S=St(),O=Et,I=dt,k=Ie,P=i(Ho),m="QT";e.objcOptions={features:new I.EnumOption("features","Interface and implementation",[["all",{interface:!0,implementation:!0}],["interface",{interface:!0,implementation:!1}],["implementation",{interface:!1,implementation:!0}]]),justTypes:new I.BooleanOption("just-types","Plain types only",!1),marshallingFunctions:new I.BooleanOption("functions","C-style functions",!1),classPrefix:new I.StringOption("class-prefix","Class prefix","PREFIX",m),extraComments:new I.BooleanOption("extra-comments","Extra comments",!1)};class C extends u.TargetLanguage{constructor(){super("Objective-C",["objc","objective-c","objectivec"],"m")}getOptions(){return[e.objcOptions.justTypes,e.objcOptions.classPrefix,e.objcOptions.features,e.objcOptions.extraComments,e.objcOptions.marshallingFunctions]}makeRenderer(o,f){return new p(this,o,(0,I.getOptionValues)(e.objcOptions,f))}}e.ObjectiveCTargetLanguage=C;function J(a,o){const f=(0,S.splitIntoWords)(o),h=(0,S.combineWords)(f,b,S.firstUpperWordStyle,S.firstUpperWordStyle,S.allUpperWordStyle,S.allUpperWordStyle,"",R);return(0,S.addPrefixIfNecessary)(a,h)}function x(a,o=!1){a==="id"&&(a="identifier");let f=(0,S.splitIntoWords)(a);return o&&(f.length===0?f=[{word:"flag",isAcronym:!1}]:!f[0].isAcronym&&U.indexOf(f[0].word)<0&&(f=[{word:"is",isAcronym:!1},...f])),f.length>0&&K.indexOf(f[0].word)>=0&&(f=[{word:"the",isAcronym:!1},...f]),(0,S.combineWords)(f,b,S.allLowerWordStyle,S.firstUpperWordStyle,S.allLowerWordStyle,S.allUpperWordStyle,"",R)}const G=["asm","atomic","auto","bool","break","case","char","const","continue","default","do","double","else","enum","extern","false","float","for","goto","if","inline","int","long","nil","nonatomic","register","restrict","retain","return","short","signed","sizeof","static","struct","switch","typedef","typeof","true","union","unsigned","void","volatile","while"],K=["id","hash","description","init","copy","mutableCopy","superclass","debugDescription","new"],U=["is","are","were","was","will","all","some","many","has","have","had","does","do","requires","require","needs","need"];function R(a){return P.isAlphabetic(a)||a===95}function A(a){const o=P.getCategory(a);return["Nd","Pc","Mn","Mc"].indexOf(o)>=0||R(a)}const b=(0,S.utf16LegalizeCharacters)(A),_="values",L=["new",_];function g(a){const o=a.lastIndexOf("."),f=o!==-1?a.split(".").pop():"m";return a=o!==-1?a.slice(0,o):a,[a,f===void 0?"m":f]}class p extends O.ConvenienceRenderer{constructor(o,f,h){if(super(o,f),this._options=h,h.classPrefix===m){const w=(0,k.defined)((0,r.iterableFirst)(this.topLevels.keys()));this._classPrefix=this.inferClassPrefix(w)}else this._classPrefix=h.classPrefix}inferClassPrefix(o){const f=o.length;let h=0;for(;h<f&&(0,S.fastIsUpperCase)(o.charCodeAt(h));)h+=1;return h<2?m:o.slice(0,h-1)}forbiddenNamesForGlobalNamespace(){return G}forbiddenForObjectProperties(o,f){return{names:K,includeGlobalForbidden:!0}}forbiddenForEnumCases(o,f){return{names:L,includeGlobalForbidden:!0}}makeNamedTypeNamer(){return(0,y.funPrefixNamer)("types",o=>J(this._classPrefix,o))}namerForObjectProperty(o,f){return new y.Namer("properties",h=>x(h,f.type.kind==="bool"),["_","the","one","some","another"])}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return new y.Namer("enum-cases",x,[])}namedTypeToNameForTopLevel(o){return o}emitDescriptionBlock(o){this.emitCommentLines(o,{lineStart:"/// "})}emitBlock(o,f){this.emitLine(o," {"),this.indent(f),this.emitLine("}")}emitMethod(o,f){this.emitLine(o),this.emitLine("{"),this.indent(f),this.emitLine("}")}emitExtraComments(...o){if(this._options.extraComments)for(const f of o)this.emitLine("// ",f)}startFile(o,f){(0,k.assert)(this._currentFilename===void 0,"Previous file wasn't finished"),this._currentFilename=`${this.sourcelikeToString(o)}.${f}`}finishFile(){super.finishFile((0,k.defined)(this._currentFilename)),this._currentFilename=void 0}memoryAttribute(o,f){return(0,d.matchType)(o,h=>"copy",h=>"copy",h=>f?"strong":"assign",h=>f?"strong":"assign",h=>f?"strong":"assign",h=>"copy",h=>"copy",h=>"strong",h=>"copy",h=>"assign",h=>{const w=(0,d.nullableFromUnion)(h);return w!==null?this.memoryAttribute(w,!0):"copy"})}objcType(o,f=!1){return(0,d.matchType)(o,h=>["id",""],h=>["id",""],h=>f?["NSNumber"," *"]:["BOOL",""],h=>f?["NSNumber"," *"]:["NSInteger",""],h=>f?["NSNumber"," *"]:["double",""],h=>["NSString"," *"],h=>{const w=h.items,N=this.objcType(w,!0);return(0,d.isAnyOrNull)(w)?["NSArray"," *"]:[["NSArray<",N,">"]," *"]},h=>[this.nameForNamedType(h)," *"],h=>[["NSDictionary<NSString *, ",this.objcType(h.values,!0),">"]," *"],h=>[this.nameForNamedType(h)," *"],h=>{const w=(0,d.nullableFromUnion)(h);return w!==null?this.objcType(w,!0):["id",""]})}jsonType(o){return(0,d.matchType)(o,f=>["id",""],f=>["id",""],f=>["NSNumber"," *"],f=>["NSNumber"," *"],f=>["NSNumber"," *"],f=>["NSString"," *"],f=>["NSArray"," *"],f=>["NSDictionary<NSString *, id>"," *"],f=>[["NSDictionary<NSString *, ",this.jsonType(f.values),">"]," *"],f=>["NSString"," *"],f=>{const h=(0,d.nullableFromUnion)(f);return h!==null?this.jsonType(h):["id",""]})}fromDynamicExpression(o,...f){return(0,d.matchType)(o,h=>f,h=>f,h=>f,h=>f,h=>f,h=>f,h=>["map(",f,", λ(id x, ",this.fromDynamicExpression(h.items,"x"),"))"],h=>["[",this.nameForNamedType(h)," fromJSONDictionary:",f,"]"],h=>["map(",f,", λ(id x, ",this.fromDynamicExpression(h.values,"x"),"))"],h=>["[",this.nameForNamedType(h)," withValue:",f,"]"],h=>{const w=(0,d.nullableFromUnion)(h);return w!==null?this.fromDynamicExpression(w,f):f})}toDynamicExpression(o,f){return(0,d.matchType)(o,h=>["NSNullify(",f,")"],h=>["NSNullify(",f,")"],h=>[f," ? @YES : @NO"],h=>f,h=>f,h=>f,h=>this.implicitlyConvertsFromJSON(h)?f:["map(",f,", λ(id x, ",this.toDynamicExpression(h.items,"x"),"))"],h=>["[",f," JSONDictionary]"],h=>this.implicitlyConvertsFromJSON(h)?f:["map(",f,", λ(id x, ",this.toDynamicExpression(h.values,"x"),"))"],h=>["[",f," value]"],h=>{const w=(0,d.nullableFromUnion)(h);return w!==null?this.implicitlyConvertsFromJSON(w)?["NSNullify(",f,")"]:["NSNullify(",this.toDynamicExpression(w,f),")"]:f})}implicitlyConvertsFromJSON(o){if(o instanceof l.ClassType)return!1;if(o instanceof l.EnumType)return!1;if(o instanceof l.ArrayType)return this.implicitlyConvertsFromJSON(o.items);if(o instanceof l.MapType)return this.implicitlyConvertsFromJSON(o.values);if(o.isPrimitive())return!0;if(o instanceof l.UnionType){const f=(0,d.nullableFromUnion)(o);return f!==null?this.implicitlyConvertsFromJSON(f):!0}else return!1}implicitlyConvertsToJSON(o){return this.implicitlyConvertsFromJSON(o)&&o.kind!=="bool"}emitPropertyAssignment(o,f,h){const w=["_",o];(0,d.matchType)(h,N=>this.emitLine(w," = ",this.fromDynamicExpression(N,w),";"),N=>this.emitLine(w," = ",this.fromDynamicExpression(N,w),";"),N=>this.emitLine(w," = ",this.fromDynamicExpression(N,w),";"),N=>this.emitLine(w," = ",this.fromDynamicExpression(N,w),";"),N=>this.emitLine(w," = ",this.fromDynamicExpression(N,w),";"),N=>this.emitLine(w," = ",this.fromDynamicExpression(N,w),";"),N=>this.emitLine(w," = ",this.fromDynamicExpression(N,w),";"),N=>this.emitLine(w," = ",this.fromDynamicExpression(N,["(id)",w]),";"),N=>{const F=N.values;this.emitLine(w," = map(",w,", ",["λ(id x, ",this.fromDynamicExpression(F,"x"),")"],");")},N=>this.emitLine(w," = ",this.fromDynamicExpression(N,["(id)",w]),";"),N=>{const F=(0,d.nullableFromUnion)(N);F!==null?this.emitPropertyAssignment(o,f,F):this.emitLine(w," = ",this.fromDynamicExpression(N,w),";")})}emitPrivateClassInterface(o,f){this.emitLine("@interface ",f," (JSONConversion)"),this.emitLine("+ (instancetype)fromJSONDictionary:(NSDictionary *)dict;"),this.emitLine("- (NSDictionary *)JSONDictionary;"),this.emitLine("@end")}pointerAwareTypeName(o){const f=o instanceof l.Type?this.objcType(o):o;return f[1]!==""?f:[f," "]}emitNonClassTopLevelTypedef(o,f){let h=this.objcType(o)[0];this.emitLine("typedef ",h," ",f,";")}topLevelFromDataPrototype(o){return[o," *_Nullable ",o,"FromData(NSData *data, NSError **error)"]}topLevelFromJSONPrototype(o){return[o," *_Nullable ",o,"FromJSON(NSString *json, NSStringEncoding encoding, NSError **error)"]}topLevelToDataPrototype(o,f=!1){const h=this.variableNameForTopLevel(o);return["NSData",f?(0,S.repeatString)(" ",this.sourcelikeToString(o).length-6):""," *_Nullable ",o,"ToData(",o," *",h,", NSError **error)"]}topLevelToJSONPrototype(o,f=!1){const h=this.variableNameForTopLevel(o);return["NSString",f?(0,S.repeatString)(" ",this.sourcelikeToString(o).length-8):""," *_Nullable ",o,"ToJSON(",o," *",h,", NSStringEncoding encoding, NSError **error)"]}emitTopLevelFunctionDeclarations(o,f){this.emitLine(this.topLevelFromDataPrototype(f),";"),this.emitLine(this.topLevelFromJSONPrototype(f),";"),this.emitLine(this.topLevelToDataPrototype(f,!0),";"),this.emitLine(this.topLevelToJSONPrototype(f,!0),";")}emitTryCatchAsError(o,f){this.emitLine("@try {"),this.indent(o),this.emitLine("} @catch (NSException *exception) {"),this.indent(()=>{this.emitLine('*error = [NSError errorWithDomain:@"JSONSerialization" code:-1 userInfo:@{ @"exception": exception }];'),f()}),this.emitLine("}")}emitTopLevelFunctions(o,f){const h=this.variableNameForTopLevel(f);this.ensureBlankLine(),this.emitMethod(this.topLevelFromDataPrototype(f),()=>{this.emitTryCatchAsError(()=>{this.emitLine("id json = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:error];"),this.emitLine("return *error ? nil : ",this.fromDynamicExpression(o,"json"),";")},()=>this.emitLine("return nil;"))}),this.ensureBlankLine(),this.emitMethod(this.topLevelFromJSONPrototype(f),()=>{this.emitLine("return ",f,"FromData([json dataUsingEncoding:encoding], error);")}),this.ensureBlankLine(),this.emitMethod(this.topLevelToDataPrototype(f),()=>{this.emitTryCatchAsError(()=>{this.emitLine("id json = ",this.toDynamicExpression(o,h),";"),this.emitLine("NSData *data = [NSJSONSerialization dataWithJSONObject:json options:kNilOptions error:error];"),this.emitLine("return *error ? nil : data;")},()=>this.emitLine("return nil;"))}),this.ensureBlankLine(),this.emitMethod(this.topLevelToJSONPrototype(f),()=>{this.emitLine("NSData *data = ",f,"ToData(",h,", error);"),this.emitLine("return data ? [[NSString alloc] initWithData:data encoding:encoding] : nil;")})}emitClassInterface(o,f){const h=(0,r.mapContains)(this.topLevels,o);this.emitDescription(this.descriptionForType(o)),this.emitLine("@interface ",f," : NSObject"),this.emitPropertyTable(o,(w,N,F)=>{let B=["nonatomic"];return F.type.isNullable&&B.push("nullable"),B.push(this.memoryAttribute(F.type,F.type.isNullable)),[["@property ",["(",B.join(", "),")"]," "],[this.pointerAwareTypeName(F.type),w,";"]]}),!this._options.justTypes&&h&&(o.getProperties().size>0&&this.ensureBlankLine(),this.emitLine("+ (_Nullable instancetype)fromJSON:(NSString *)json encoding:(NSStringEncoding)encoding error:(NSError *_Nullable *)error;"),this.emitLine("+ (_Nullable instancetype)fromData:(NSData *)data error:(NSError *_Nullable *)error;"),this.emitLine("- (NSString *_Nullable)toJSON:(NSStringEncoding)encoding error:(NSError *_Nullable *)error;"),this.emitLine("- (NSData *_Nullable)toData:(NSError *_Nullable *)error;")),this.emitLine("@end")}hasIrregularProperties(o){let f=!1;return this.forEachClassProperty(o,"none",(h,w)=>{f=f||(0,S.stringEscape)(w)!==this.sourcelikeToString(h)}),f}hasUnsafeProperties(o){let f=!1;return this.forEachClassProperty(o,"none",(h,w,N)=>{f=f||!this.implicitlyConvertsToJSON(N.type)}),f}emitClassImplementation(o,f){const h=(0,r.mapContains)(this.topLevels,o),w=this.hasIrregularProperties(o),N=this.hasUnsafeProperties(o);this.emitLine("@implementation ",f),this._options.justTypes||(this.emitMethod("+ (NSDictionary<NSString *, NSString *> *)properties",()=>{this.emitLine("static NSDictionary<NSString *, NSString *> *properties;"),this.emitLine("return properties = properties ? properties : @{"),this.indent(()=>{this.forEachClassProperty(o,"none",(F,B)=>this.emitLine(`@"${(0,S.stringEscape)(B)}": @"`,F,'",'))}),this.emitLine("};")}),this.ensureBlankLine(),h&&(this.emitMethod("+ (_Nullable instancetype)fromData:(NSData *)data error:(NSError *_Nullable *)error",()=>{this.emitLine("return ",f,"FromData(data, error);")}),this.ensureBlankLine(),this.emitMethod("+ (_Nullable instancetype)fromJSON:(NSString *)json encoding:(NSStringEncoding)encoding error:(NSError *_Nullable *)error",()=>{this.emitLine("return ",f,"FromJSON(json, encoding, error);")}),this.ensureBlankLine()),this.emitMethod("+ (instancetype)fromJSONDictionary:(NSDictionary *)dict",()=>{this.emitLine("return dict ? [[",f," alloc] initWithJSONDictionary:dict] : nil;")}),this.ensureBlankLine(),this.emitMethod("- (instancetype)initWithJSONDictionary:(NSDictionary *)dict",()=>{this.emitBlock("if (self = [super init])",()=>{this.emitLine("[self setValuesForKeysWithDictionary:dict];"),this.forEachClassProperty(o,"none",(F,B,W)=>{this.implicitlyConvertsFromJSON(W.type)||this.emitPropertyAssignment(F,B,W.type)})}),this.emitLine("return self;")}),this.ensureBlankLine(),this.emitMethod("- (void)setValue:(nullable id)value forKey:(NSString *)key",()=>{this.emitLine("id resolved = ",f,".properties[key];"),this.emitLine("if (resolved) [super setValue:value forKey:resolved];")}),this.ensureBlankLine(),this.emitMethod("- (void)setNilValueForKey:(NSString *)key",()=>{this.emitLine("id resolved = ",f,".properties[key];"),this.emitLine("if (resolved) [super setValue:@(0) forKey:resolved];")}),this.ensureBlankLine(),this.emitMethod("- (NSDictionary *)JSONDictionary",()=>{if(!w&&!N){this.emitLine("return [self dictionaryWithValuesForKeys:",f,".properties.allValues];");return}this.emitLine("id dict = [[self dictionaryWithValuesForKeys:",f,".properties.allValues] mutableCopy];"),this.ensureBlankLine(),w&&(this.emitExtraComments("Rewrite property names that differ in JSON"),this.emitBlock(["for (id jsonName in ",f,".properties)"],()=>{this.emitLine("id propertyName = ",f,".properties[jsonName];"),this.emitBlock("if (![jsonName isEqualToString:propertyName])",()=>{this.emitLine("dict[jsonName] = dict[propertyName];"),this.emitLine("[dict removeObjectForKey:propertyName];")})})),N&&(this.ensureBlankLine(),this.emitExtraComments("Map values that need translation"),this.emitLine("[dict addEntriesFromDictionary:@{"),this.indent(()=>{this.forEachClassProperty(o,"none",(F,B,W)=>{if(!this.implicitlyConvertsToJSON(W.type)){const Q=(0,S.stringEscape)(B),z=["_",F];this.emitLine('@"',Q,'": ',this.toDynamicExpression(W.type,z),",")}})}),this.emitLine("}];")),this.ensureBlankLine(),this.emitLine("return dict;")}),h&&(this.ensureBlankLine(),this.emitMethod("- (NSData *_Nullable)toData:(NSError *_Nullable *)error",()=>{this.emitLine("return ",f,"ToData(self, error);")}),this.ensureBlankLine(),this.emitMethod("- (NSString *_Nullable)toJSON:(NSStringEncoding)encoding error:(NSError *_Nullable *)error",()=>{this.emitLine("return ",f,"ToJSON(self, encoding, error);")}))),this.emitLine("@end")}emitMark(o){this.ensureBlankLine(),this.emitLine(`#pragma mark - ${o}`),this.ensureBlankLine()}variableNameForTopLevel(o){return(0,T.modifySource)(h=>(h=h.slice(this._classPrefix.length),(0,S.camelCase)(h)),o)}emitPseudoEnumInterface(o,f){this.emitDescription(this.descriptionForType(o)),this.emitLine("@interface ",f," : NSObject"),this.emitLine("@property (nonatomic, readonly, copy) NSString *value;"),this.emitLine("+ (instancetype _Nullable)withValue:(NSString *)value;"),this.forEachEnumCase(o,"none",(h,w)=>{this.emitLine("+ (",f," *)",h,";")}),this.emitLine("@end")}emitPseudoEnumImplementation(o,f){this.emitLine("@implementation ",f);const h=[f,".",_];this.emitMethod(["+ (NSDictionary<NSString *, ",f," *> *)",_],()=>{this.emitLine("static NSDictionary<NSString *, ",f," *> *",_,";"),this.emitLine("return ",_," = ",_," ? ",_," : @{"),this.indent(()=>{this.forEachEnumCase(o,"none",(w,N)=>{const F=['@"',(0,S.stringEscape)(N),'"'];this.emitLine(F,": [[",f," alloc] initWithValue:",F,"],")})}),this.emitLine("};")}),this.ensureBlankLine(),this.forEachEnumCase(o,"none",(w,N)=>{this.emitLine("+ (",f," *)",w," { return ",h,'[@"',(0,S.stringEscape)(N),'"]; }')}),this.ensureBlankLine(),this.emitMethod("+ (instancetype _Nullable)withValue:(NSString *)value",()=>this.emitLine("return ",h,"[value];")),this.ensureBlankLine(),this.emitMethod("- (instancetype)initWithValue:(NSString *)value",()=>{this.emitLine("if (self = [super init]) _value = value;"),this.emitLine("return self;")}),this.ensureBlankLine(),this.emitLine("- (NSUInteger)hash { return _value.hash; }"),this.emitLine("@end")}emitSourceStructure(o){if(!(o!=="stdout")){const N=(0,k.defined)((0,r.mapFirst)(this.topLevels));o=this.sourcelikeToString(this.nameForNamedType(N))+".m"}const[h,w]=g(o);if(this._options.features.interface){this.startFile(h,"h"),this.leadingComments!==void 0?this.emitComments(this.leadingComments):this._options.justTypes||(this.emitCommentLines(["To parse this JSON:",""]),this.emitLine("// NSError *error;"),this.forEachTopLevel("none",(F,B)=>{const W=F instanceof l.ClassType?["[",B," fromJSON:json encoding:NSUTF8Encoding error:&error];"]:[B,"FromJSON(json, NSUTF8Encoding, &error);"];this.emitLine("// ",B," *",this.variableNameForTopLevel(B)," = ",W)})),this.ensureBlankLine(),this.emitLine("#import <Foundation/Foundation.h>"),this.ensureBlankLine(),this.forEachNamedType("none",(F,B)=>this.emitLine("@class ",B,";"),(F,B)=>this.emitLine("@class ",B,";"),()=>null),this.ensureBlankLine(),this.ensureBlankLine(),this.emitLine("NS_ASSUME_NONNULL_BEGIN"),this.ensureBlankLine(),this.haveEnums&&(this.emitMark("Boxed enums"),this.forEachEnum("leading-and-interposing",(F,B)=>this.emitPseudoEnumInterface(F,B))),this.forEachTopLevel("leading-and-interposing",(F,B)=>this.emitNonClassTopLevelTypedef(F,B),F=>!(F instanceof l.ClassType));const N=(0,r.iterableSome)(this.topLevels,([F,B])=>!(B instanceof l.ClassType));!this._options.justTypes&&(N||this._options.marshallingFunctions)&&(this.ensureBlankLine(),this.emitMark("Top-level marshaling functions"),this.forEachTopLevel("leading-and-interposing",(F,B)=>this.emitTopLevelFunctionDeclarations(F,B),F=>this._options.marshallingFunctions||!(F instanceof l.ClassType))),this.emitMark("Object interfaces"),this.forEachNamedType("leading-and-interposing",(F,B)=>this.emitClassInterface(F,B),()=>null,()=>null),this.ensureBlankLine(),this.emitLine("NS_ASSUME_NONNULL_END"),this.finishFile()}this._options.features.implementation&&(this.startFile(h,w),this.emitLine(`#import "${h}.h"`),this.ensureBlankLine(),this._options.justTypes||(this.ensureBlankLine(),this.emitExtraComments("Shorthand for simple blocks"),this.emitLine("#define λ(decl, expr) (^(decl) { return (expr); })"),this.ensureBlankLine(),this.emitExtraComments("nil → NSNull conversion for JSON dictionaries"),this.emitBlock("static id NSNullify(id _Nullable x)",()=>this.emitLine("return (x == nil || x == NSNull.null) ? NSNull.null : x;")),this.ensureBlankLine(),this.emitLine("NS_ASSUME_NONNULL_BEGIN"),this.ensureBlankLine(),this._options.extraComments&&this.emitMark("Private model interfaces"),this.forEachNamedType("leading-and-interposing",(N,F)=>this.emitPrivateClassInterface(N,F),()=>null,()=>null),this.haveEnums&&(this._options.extraComments&&(this.ensureBlankLine(),this.emitExtraComments("These enum-like reference types are needed so that enum","values can be contained by NSArray and NSDictionary."),this.ensureBlankLine()),this.forEachEnum("leading-and-interposing",(N,F)=>this.emitPseudoEnumImplementation(N,F))),this.ensureBlankLine(),this.emitMapFunction(),this.ensureBlankLine(),this.emitMark("JSON serialization"),this.forEachTopLevel("leading-and-interposing",(N,F)=>this.emitTopLevelFunctions(N,F))),this.forEachNamedType("leading-and-interposing",(N,F)=>this.emitClassImplementation(N,F),()=>null,()=>null),this._options.justTypes||(this.ensureBlankLine(),this.emitLine("NS_ASSUME_NONNULL_END")),this.finishFile())}get needsMap(){function o(f){return f instanceof l.MapType||f instanceof l.ArrayType||f instanceof l.ClassType&&(0,r.mapSome)(f.getProperties(),h=>o(h.type))}return(0,r.iterableSome)(this.typeGraph.allTypesUnordered(),o)}emitMapFunction(){this.needsMap&&this.emitMultiline(`static id map(id collection, id (^f)(id value)) {
|
|
406
|
+
id result = nil;
|
|
407
|
+
if ([collection isKindOfClass:NSArray.class]) {
|
|
408
|
+
result = [NSMutableArray arrayWithCapacity:[collection count]];
|
|
409
|
+
for (id x in collection) [result addObject:f(x)];
|
|
410
|
+
} else if ([collection isKindOfClass:NSDictionary.class]) {
|
|
411
|
+
result = [NSMutableDictionary dictionaryWithCapacity:[collection count]];
|
|
412
|
+
for (id key in collection) [result setObject:f([collection objectForKey:key]) forKey:key];
|
|
413
|
+
}
|
|
414
|
+
return result;
|
|
415
|
+
}`)}}e.ObjectiveCRenderer=p})(Wp);var Gp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.JacksonRenderer=e.JavaRenderer=e.javaNameStyle=e.stringEscape=e.JavaTargetLanguage=e.javaOptions=void 0;const t=jt,n=Et,i=qe,r=dt,u=et,l=Tr(),d=St(),y=Ie,T=Lt,S=lt(),O=ot();e.javaOptions={useList:new r.EnumOption("array-type","Use T[] or List<T>",[["array",!1],["list",!0]],"array"),justTypes:new r.BooleanOption("just-types","Plain types only",!1),dateTimeProvider:new r.EnumOption("datetime-provider","Date time provider type",[["java8","java8"],["legacy","legacy"]],"java8"),acronymStyle:(0,l.acronymOption)(l.AcronymStyleOptions.Pascal),packageName:new r.StringOption("package","Generated package name","NAME","io.quicktype"),lombok:new r.BooleanOption("lombok","Use lombok",!1,"primary"),lombokCopyAnnotations:new r.BooleanOption("lombok-copy-annotations","Copy accessor annotations",!0,"secondary")};class I extends T.TargetLanguage{constructor(){super("Java",["java"],"java")}getOptions(){return[e.javaOptions.useList,e.javaOptions.justTypes,e.javaOptions.dateTimeProvider,e.javaOptions.acronymStyle,e.javaOptions.packageName,e.javaOptions.lombok,e.javaOptions.lombokCopyAnnotations]}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(b,_){const L=(0,r.getOptionValues)(e.javaOptions,_);return L.justTypes?new U(this,b,L):new R(this,b,L)}get stringTypeMapping(){const b=new Map;return b.set("date","date"),b.set("time","time"),b.set("date-time","date-time"),b.set("uuid","uuid"),b}}e.JavaTargetLanguage=I;const k=["_","Object","Class","System","Long","Double","Boolean","String","List","Map","UUID","Exception","IOException","Override","abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","null","false","true"];e.stringEscape=(0,d.utf16ConcatMap)((0,d.escapeNonPrintableMapper)(d.isAscii,d.standardUnicodeHexEscape));function P(A){return A===95?!0:(0,d.isAscii)(A)&&(0,d.isLetter)(A)}function m(A){return P(A)||(0,d.isAscii)(A)&&(0,d.isDigit)(A)}const C=(0,d.utf16LegalizeCharacters)(m);function J(A,b,_,L=d.allUpperWordStyle){const g=(0,d.splitIntoWords)(_);return(0,d.combineWords)(g,C,b?d.allUpperWordStyle:A?d.firstUpperWordStyle:d.allLowerWordStyle,b?d.allUpperWordStyle:d.firstUpperWordStyle,b||A?d.allUpperWordStyle:d.allLowerWordStyle,L,b?"_":"",P)}e.javaNameStyle=J;class x{constructor(b,_){this._renderer=b,this._className=_,this.shouldEmitDateTimeConverter=!0,this.shouldEmitTimeConverter=!0,this.shouldEmitDateConverter=!0}}class G extends x{constructor(){super(...arguments),this.keywords=["LocalDate","OffsetDateTime","OffsetTime","ZoneOffset","ZonedDateTime","DateTimeFormatter","DateTimeFormatterBuilder","ChronoField"],this.dateTimeImports=["java.time.OffsetDateTime"],this.dateImports=["java.time.LocalDate"],this.timeImports=["java.time.OffsetTime"],this.converterImports=["java.time.LocalDate","java.time.OffsetDateTime","java.time.OffsetTime","java.time.ZoneOffset","java.time.ZonedDateTime","java.time.format.DateTimeFormatter","java.time.format.DateTimeFormatterBuilder","java.time.temporal.ChronoField"],this.dateTimeType="OffsetDateTime",this.dateType="LocalDate",this.timeType="OffsetTime",this.dateTimeJacksonAnnotations=[],this.dateJacksonAnnotations=[],this.timeJacksonAnnotations=[]}emitDateTimeConverters(){this._renderer.ensureBlankLine(),this._renderer.emitLine("private static final DateTimeFormatter DATE_TIME_FORMATTER = new DateTimeFormatterBuilder()"),this._renderer.indent(()=>this._renderer.indent(()=>{this._renderer.emitLine(".appendOptional(DateTimeFormatter.ISO_DATE_TIME)"),this._renderer.emitLine(".appendOptional(DateTimeFormatter.ISO_OFFSET_DATE_TIME)"),this._renderer.emitLine(".appendOptional(DateTimeFormatter.ISO_INSTANT)"),this._renderer.emitLine('.appendOptional(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SX"))'),this._renderer.emitLine('.appendOptional(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ssX"))'),this._renderer.emitLine('.appendOptional(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"))'),this._renderer.emitLine(".toFormatter()"),this._renderer.emitLine(".withZone(ZoneOffset.UTC);")})),this._renderer.ensureBlankLine(),this._renderer.emitBlock("public static OffsetDateTime parseDateTimeString(String str)",()=>{this._renderer.emitLine("return ZonedDateTime.from(Converter.DATE_TIME_FORMATTER.parse(str)).toOffsetDateTime();")}),this._renderer.ensureBlankLine(),this._renderer.emitLine("private static final DateTimeFormatter TIME_FORMATTER = new DateTimeFormatterBuilder()"),this._renderer.indent(()=>this._renderer.indent(()=>{this._renderer.emitLine(".appendOptional(DateTimeFormatter.ISO_TIME)"),this._renderer.emitLine(".appendOptional(DateTimeFormatter.ISO_OFFSET_TIME)"),this._renderer.emitLine(".parseDefaulting(ChronoField.YEAR, 2020)"),this._renderer.emitLine(".parseDefaulting(ChronoField.MONTH_OF_YEAR, 1)"),this._renderer.emitLine(".parseDefaulting(ChronoField.DAY_OF_MONTH, 1)"),this._renderer.emitLine(".toFormatter()"),this._renderer.emitLine(".withZone(ZoneOffset.UTC);")})),this._renderer.ensureBlankLine(),this._renderer.emitBlock("public static OffsetTime parseTimeString(String str)",()=>{this._renderer.emitLine("return ZonedDateTime.from(Converter.TIME_FORMATTER.parse(str)).toOffsetDateTime().toOffsetTime();")})}convertStringToDateTime(b){return[this._className,".parseDateTimeString(",b,")"]}convertStringToTime(b){return[this._className,".parseTimeString(",b,")"]}convertStringToDate(b){return["LocalDate.parse(",b,")"]}convertDateTimeToString(b){return[b,".format(java.time.format.DateTimeFormatter.ISO_OFFSET_DATE_TIME)"]}convertTimeToString(b){return[b,".format(java.time.format.DateTimeFormatter.ISO_OFFSET_TIME)"]}convertDateToString(b){return[b,".format(java.time.format.DateTimeFormatter.ISO_DATE)"]}}class K extends x{constructor(){super(...arguments),this.keywords=["SimpleDateFormat","Date"],this.dateTimeImports=["java.util.Date"],this.dateImports=["java.util.Date"],this.timeImports=["java.util.Date"],this.converterImports=["java.util.Date","java.text.SimpleDateFormat"],this.dateTimeType="Date",this.dateType="Date",this.timeType="Date",this.dateTimeJacksonAnnotations=[`@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ssX", timezone = "UTC")`],this.dateJacksonAnnotations=['@JsonFormat(pattern = "yyyy-MM-dd")'],this.timeJacksonAnnotations=['@JsonFormat(pattern = "HH:mm:ssX", timezone = "UTC")'],this.shouldEmitTimeConverter=!1,this.shouldEmitDateConverter=!1}emitDateTimeConverters(){this._renderer.ensureBlankLine(),this._renderer.emitLine("private static final String[] DATE_TIME_FORMATS = {"),this._renderer.indent(()=>this._renderer.indent(()=>{this._renderer.emitLine(`"yyyy-MM-dd'T'HH:mm:ss.SX",`),this._renderer.emitLine(`"yyyy-MM-dd'T'HH:mm:ss.S",`),this._renderer.emitLine(`"yyyy-MM-dd'T'HH:mm:ssX",`),this._renderer.emitLine(`"yyyy-MM-dd'T'HH:mm:ss",`),this._renderer.emitLine('"yyyy-MM-dd HH:mm:ss.SX",'),this._renderer.emitLine('"yyyy-MM-dd HH:mm:ss.S",'),this._renderer.emitLine('"yyyy-MM-dd HH:mm:ssX",'),this._renderer.emitLine('"yyyy-MM-dd HH:mm:ss",'),this._renderer.emitLine('"HH:mm:ss.SZ",'),this._renderer.emitLine('"HH:mm:ss.S",'),this._renderer.emitLine('"HH:mm:ssZ",'),this._renderer.emitLine('"HH:mm:ss",'),this._renderer.emitLine('"yyyy-MM-dd",')})),this._renderer.emitLine("};"),this._renderer.ensureBlankLine(),this._renderer.emitBlock("public static Date parseAllDateTimeString(String str)",()=>{this._renderer.emitBlock("for (String format : DATE_TIME_FORMATS)",()=>{this._renderer.emitIgnoredTryCatchBlock(()=>{this._renderer.emitLine("return new SimpleDateFormat(format).parse(str);")})}),this._renderer.emitLine("return null;")}),this._renderer.ensureBlankLine(),this._renderer.emitBlock("public static String serializeDateTime(Date datetime)",()=>{this._renderer.emitLine(`return new SimpleDateFormat("yyyy-MM-dd'T'hh:mm:ssZ").format(datetime);`)}),this._renderer.ensureBlankLine(),this._renderer.emitBlock("public static String serializeDate(Date datetime)",()=>{this._renderer.emitLine('return new SimpleDateFormat("yyyy-MM-dd").format(datetime);')}),this._renderer.ensureBlankLine(),this._renderer.emitBlock("public static String serializeTime(Date datetime)",()=>{this._renderer.emitLine('return new SimpleDateFormat("hh:mm:ssZ").format(datetime);')})}convertStringToDateTime(b){return[this._className,".parseAllDateTimeString(",b,")"]}convertStringToTime(b){return[this._className,".parseAllDateTimeString(",b,")"]}convertStringToDate(b){return[this._className,".parseAllDateTimeString(",b,")"]}convertDateTimeToString(b){return[this._className,".serializeDateTime(",b,")"]}convertTimeToString(b){return[this._className,".serializeTime(",b,")"]}convertDateToString(b){return[this._className,".serializeDate(",b,")"]}}class U extends n.ConvenienceRenderer{constructor(b,_,L){switch(super(b,_),this._options=L,this._gettersAndSettersForPropertyName=new Map,this._haveEmittedLeadingComments=!1,this._converterClassname="Converter",this._converterKeywords=[],L.dateTimeProvider){default:case"java8":this._dateTimeProvider=new G(this,this._converterClassname);break;case"legacy":this._dateTimeProvider=new K(this,this._converterClassname);break}}forbiddenNamesForGlobalNamespace(){return[...k,...this._converterKeywords,this._converterClassname,...this._dateTimeProvider.keywords]}forbiddenForObjectProperties(b,_){return{names:[],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return this.getNameStyling("typeNamingFunction")}namerForObjectProperty(){return this.getNameStyling("propertyNamingFunction")}makeUnionMemberNamer(){return this.getNameStyling("propertyNamingFunction")}makeEnumCaseNamer(){return this.getNameStyling("enumCaseNamingFunction")}unionNeedsName(b){return(0,O.nullableFromUnion)(b)===null}namedTypeToNameForTopLevel(b){return(0,O.directlyReachableSingleNamedType)(b)}makeNamesForPropertyGetterAndSetter(b,_,L,g,p){const a=new i.DependencyName(this.getNameStyling("propertyNamingFunction"),p.order,f=>`get_${f(p)}`),o=new i.DependencyName(this.getNameStyling("propertyNamingFunction"),p.order,f=>`set_${f(p)}`);return[a,o]}makePropertyDependencyNames(b,_,L,g,p){const a=this.makeNamesForPropertyGetterAndSetter(b,_,L,g,p);return this._gettersAndSettersForPropertyName.set(p,a),a}getNameStyling(b){return{typeNamingFunction:(0,i.funPrefixNamer)("types",L=>J(!0,!1,L,(0,l.acronymStyle)(this._options.acronymStyle))),propertyNamingFunction:(0,i.funPrefixNamer)("properties",L=>J(!1,!1,L,(0,l.acronymStyle)(this._options.acronymStyle))),enumCaseNamingFunction:(0,i.funPrefixNamer)("enum-cases",L=>J(!0,!0,L,(0,l.acronymStyle)(this._options.acronymStyle)))}[b]}fieldOrMethodName(b,_){return this.topLevels.size===1?b:[_,(0,d.capitalize)(b)]}methodName(b,_,L){return this.topLevels.size===1?[b,_]:[b,L,_]}decoderName(b){return this.fieldOrMethodName("fromJsonString",b)}encoderName(b){return this.fieldOrMethodName("toJsonString",b)}readerGetterName(b){return this.methodName("get","ObjectReader",b)}writerGetterName(b){return this.methodName("get","ObjectWriter",b)}startFile(b){(0,y.assert)(this._currentFilename===void 0,"Previous file wasn't finished"),this._currentFilename=`${this.sourcelikeToString(b)}.java`,this.ensureBlankLine(),!this._haveEmittedLeadingComments&&this.leadingComments!==void 0&&(this.emitComments(this.leadingComments),this.ensureBlankLine(),this._haveEmittedLeadingComments=!0)}finishFile(){super.finishFile((0,y.defined)(this._currentFilename)),this._currentFilename=void 0}emitPackageAndImports(b){this.emitLine("package ",this._options.packageName,";"),this.ensureBlankLine();for(const _ of b)this.emitLine("import ",_,";")}emitFileHeader(b,_){this.startFile(b),this.emitPackageAndImports(_),this.ensureBlankLine()}emitDescriptionBlock(b){this.emitCommentLines(b,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(b,_){this.emitLine(b," {"),this.indent(_),this.emitLine("}")}emitTryCatch(b,_,L="Exception"){this.emitLine("try {"),this.indent(b),this.emitLine("} catch (",L," ex) {"),this.indent(_),this.emitLine("}")}emitIgnoredTryCatchBlock(b){this.emitTryCatch(b,()=>this.emitLine("// Ignored"))}javaType(b,_,L=!1){return(0,O.matchType)(_,g=>(0,u.maybeAnnotated)(L,t.anyTypeIssueAnnotation,"Object"),g=>(0,u.maybeAnnotated)(L,t.nullTypeIssueAnnotation,"Object"),g=>b?"Boolean":"boolean",g=>b?"Long":"long",g=>b?"Double":"double",g=>"String",g=>this._options.useList?["List<",this.javaType(!0,g.items,L),">"]:[this.javaType(!1,g.items,L),"[]"],g=>this.nameForNamedType(g),g=>["Map<String, ",this.javaType(!0,g.values,L),">"],g=>this.nameForNamedType(g),g=>{const p=(0,O.nullableFromUnion)(g);return p!==null?this.javaType(!0,p,L):this.nameForNamedType(g)},g=>g.kind==="time"?this._dateTimeProvider.timeType:g.kind==="date"?this._dateTimeProvider.dateType:g.kind==="date-time"?this._dateTimeProvider.dateTimeType:g.kind==="uuid"?"UUID":"String")}javaImport(b){return(0,O.matchType)(b,_=>[],_=>[],_=>[],_=>[],_=>[],_=>[],_=>this._options.useList?[...this.javaImport(_.items),"java.util.List"]:[...this.javaImport(_.items)],_=>[],_=>[...this.javaImport(_.values),"java.util.Map"],_=>[],_=>{const L=[];return _.members.forEach(g=>this.javaImport(g).forEach(p=>L.push(p))),L},_=>_.kind==="time"?this._dateTimeProvider.timeImports:_.kind==="date"?this._dateTimeProvider.dateImports:_.kind==="date-time"?this._dateTimeProvider.dateTimeImports:_.kind==="uuid"?["java.util.UUID"]:[])}javaTypeWithoutGenerics(b,_){if(_ instanceof S.ArrayType)return this._options.useList?["List"]:[this.javaTypeWithoutGenerics(!1,_.items),"[]"];if(_ instanceof S.MapType)return"Map";if(_ instanceof S.UnionType){const L=(0,O.nullableFromUnion)(_);return L!==null?this.javaTypeWithoutGenerics(!0,L):this.nameForNamedType(_)}else return this.javaType(b,_)}emitClassAttributes(b,_){this._options.lombok&&this.emitLine("@lombok.Data")}annotationsForAccessor(b,_,L,g,p,a){return[]}importsForType(b){return b instanceof S.ClassType?[]:b instanceof S.UnionType?["java.io.IOException"]:b instanceof S.EnumType?["java.io.IOException"]:(0,y.assertNever)(b)}importsForClass(b){const _=[];return this.forEachClassProperty(b,"none",(L,g,p)=>{this.javaImport(p.type).forEach(a=>_.push(a))}),_.sort(),[...new Set(_)]}importsForUnionMembers(b){const _=[],[,L]=(0,O.removeNullFromUnion)(b);return this.forEachUnionMember(b,L,"none",null,(g,p)=>{this.javaImport(p).forEach(a=>_.push(a))}),_.sort(),[...new Set(_)]}emitClassDefinition(b,_){let L=[...this.importsForType(b),...this.importsForClass(b)];this.emitFileHeader(_,L),this.emitDescription(this.descriptionForType(b)),this.emitClassAttributes(b,_),this.emitBlock(["public class ",_],()=>{this.forEachClassProperty(b,"none",(g,p,a)=>{if(this._options.lombok&&this._options.lombokCopyAnnotations){const o=this.annotationsForAccessor(b,_,g,p,a,!1),f=this.annotationsForAccessor(b,_,g,p,a,!0);o.length!==0&&this.emitLine("@lombok.Getter(onMethod_ = {"+o.join(", ")+"})"),f.length!==0&&this.emitLine("@lombok.Setter(onMethod_ = {"+f.join(", ")+"})")}this.emitLine("private ",this.javaType(!1,a.type,!0)," ",g,";")}),this._options.lombok||this.forEachClassProperty(b,"leading-and-interposing",(g,p,a)=>{this.emitDescription(this.descriptionForClassProperty(b,p));const[o,f]=(0,y.defined)(this._gettersAndSettersForPropertyName.get(g)),h=this.javaType(!1,a.type);this.annotationsForAccessor(b,_,g,p,a,!1).forEach(w=>this.emitLine(w)),this.emitLine("public ",h," ",o,"() { return ",g,"; }"),this.annotationsForAccessor(b,_,g,p,a,!0).forEach(w=>this.emitLine(w)),this.emitLine("public void ",f,"(",h," value) { this.",g," = value; }")})}),this.finishFile()}unionField(b,_,L=!1){const g=this.javaType(!0,_,L),p=[this.nameForUnionMember(b,_),"Value"];return{fieldType:g,fieldName:p}}emitUnionAttributes(b,_){}emitUnionSerializer(b,_){}emitUnionDefinition(b,_){const L=[...this.importsForType(b),...this.importsForUnionMembers(b)];this.emitFileHeader(_,L),this.emitDescription(this.descriptionForType(b));const[,g]=(0,O.removeNullFromUnion)(b);this.emitUnionAttributes(b,_),this.emitBlock(["public class ",_],()=>{for(const p of g){const{fieldType:a,fieldName:o}=this.unionField(b,p,!0);this.emitLine("public ",a," ",o,";")}this.emitUnionSerializer(b,_)}),this.finishFile()}emitEnumSerializationAttributes(b){}emitEnumDeserializationAttributes(b){}emitEnumDefinition(b,_){this.emitFileHeader(_,this.importsForType(b)),this.emitDescription(this.descriptionForType(b));const L=[];this.forEachEnumCase(b,"none",g=>{L.length>0&&L.push(", "),L.push(g)}),L.push(";"),this.emitBlock(["public enum ",_],()=>{this.emitLine(L),this.ensureBlankLine(),this.emitEnumSerializationAttributes(b),this.emitBlock("public String toValue()",()=>{this.emitLine("switch (this) {"),this.indent(()=>{this.forEachEnumCase(b,"none",(g,p)=>{this.emitLine("case ",g,': return "',(0,e.stringEscape)(p),'";')})}),this.emitLine("}"),this.emitLine("return null;")}),this.ensureBlankLine(),this.emitEnumDeserializationAttributes(b),this.emitBlock(["public static ",_," forValue(String value) throws IOException"],()=>{this.forEachEnumCase(b,"none",(g,p)=>{this.emitLine('if (value.equals("',(0,e.stringEscape)(p),'")) return ',g,";")}),this.emitLine('throw new IOException("Cannot deserialize ',_,'");')})}),this.finishFile()}emitSourceStructure(){this.forEachNamedType("leading-and-interposing",(b,_)=>this.emitClassDefinition(b,_),(b,_)=>this.emitEnumDefinition(b,_),(b,_)=>this.emitUnionDefinition(b,_))}}e.JavaRenderer=U;class R extends U{constructor(b,_,L){super(b,_,L),this._converterKeywords=["JsonProperty","JsonDeserialize","JsonDeserializer","JsonSerialize","JsonSerializer","JsonParser","JsonProcessingException","DeserializationContext","SerializerProvider"]}emitClassAttributes(b,_){b.getProperties().size===0&&this.emitLine("@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)"),super.emitClassAttributes(b,_)}annotationsForAccessor(b,_,L,g,p,a){const o=super.annotationsForAccessor(b,_,L,g,p,a),f=['@JsonProperty("'+(0,e.stringEscape)(g)+'")'];switch(p.type.kind){case"date-time":this._dateTimeProvider.dateTimeJacksonAnnotations.forEach(h=>f.push(h));break;case"date":this._dateTimeProvider.dateJacksonAnnotations.forEach(h=>f.push(h));break;case"time":this._dateTimeProvider.timeJacksonAnnotations.forEach(h=>f.push(h));break}return[...o,...f]}importsForType(b){if(b instanceof S.ClassType){const _=super.importsForType(b);return _.push("com.fasterxml.jackson.annotation.*"),_}if(b instanceof S.UnionType){const _=super.importsForType(b);return _.push("java.io.IOException","com.fasterxml.jackson.core.*","com.fasterxml.jackson.databind.*","com.fasterxml.jackson.databind.annotation.*"),this._options.useList&&_.push("com.fasterxml.jackson.core.type.*"),_}if(b instanceof S.EnumType){const _=super.importsForType(b);return _.push("com.fasterxml.jackson.annotation.*"),_}return(0,y.assertNever)(b)}emitUnionAttributes(b,_){this.emitLine("@JsonDeserialize(using = ",_,".Deserializer.class)"),this.emitLine("@JsonSerialize(using = ",_,".Serializer.class)")}emitUnionSerializer(b,_){const L=["uuid","time","date","date-time"],g=z=>{this.emitLine("case ",z,":")},p=()=>{this.indent(()=>{g("VALUE_NULL"),this.indent(()=>this.emitLine("break;"))})},a=(z,E,j)=>{switch(E){case"date":this.emitLine("value.",z," = ",this._dateTimeProvider.convertStringToDate(j),";");break;case"time":this.emitLine("value.",z," = ",this._dateTimeProvider.convertStringToTime(j),";");break;case"date-time":this.emitLine("value.",z," = ",this._dateTimeProvider.convertStringToDateTime(j),";");break;case"uuid":this.emitLine("value.",z," = UUID.fromString(",j,");");break;default:return(0,y.panic)("Requested type isnt an object!")}},o=(z,E="")=>{const{fieldName:j}=this.unionField(b,z),X=this.javaTypeWithoutGenerics(!0,z);if(this._options.useList&&z instanceof S.ArrayType)this.emitLine("value.",j," = jsonParser.readValueAs(new TypeReference<",X,">() {});");else if(L.some(te=>z.kind===te))a(j,z.kind,E);else if(z.kind==="string")this.emitLine("value.",j," = ",E,";");else if(z.kind==="enum"){const{fieldType:te}=this.unionField(b,z,!0);this.emitLine("value.",j," = ",te,".forValue(",E,");")}else this.emitLine("value.",j," = jsonParser.readValueAs(",X,".class);")},f=(z,E)=>{const j=b.findMember(E);j!==void 0&&this.indent(()=>{for(const X of z)g(X);this.indent(()=>{o(j),this.emitLine("break;")})})},h=()=>{const z=b.findMember("enum"),E=b.findMember("string");L.every(j=>b.findMember(j)===void 0)&&E===void 0&&z===void 0||this.indent(()=>{g("VALUE_STRING"),this.indent(()=>{const j="string";this.emitLine("String "+j+" = jsonParser.readValueAs(String.class);"),L.forEach(X=>{const te=b.findMember(X);te!==void 0&&this.emitIgnoredTryCatchBlock(()=>{o(te,j)})}),z!==void 0&&this.emitIgnoredTryCatchBlock(()=>{o(z,j)}),E!==void 0&&o(E,j),this.emitLine("break;")})})},w=()=>{const z=b.findMember("integer"),E=b.findMember("double");E===void 0&&z===void 0||this.indent(()=>{g("VALUE_NUMBER_INT"),z!==void 0&&this.indent(()=>{o(z),this.emitLine("break;")}),E!==void 0&&(g("VALUE_NUMBER_FLOAT"),this.indent(()=>{o(E),this.emitLine("break;")}))})},N=["time","date","date-time"],F=(z,E)=>{switch(z.kind){case"date":return this._dateTimeProvider.convertDateToString(E);case"time":return this._dateTimeProvider.convertTimeToString(E);case"date-time":return this._dateTimeProvider.convertDateTimeToString(E);default:return(0,y.panic)("Requested type doesn't have custom serializer code!")}},B=z=>{let{fieldName:E}=this.unionField(b,z,!0);this.emitBlock(["if (obj.",E," != null)"],()=>{N.some(j=>z.kind===j)?this.emitLine("jsonGenerator.writeObject(",F(z,["obj.",E]),");"):this.emitLine("jsonGenerator.writeObject(obj.",E,");"),this.emitLine("return;")})},[W,Q]=(0,O.removeNullFromUnion)(b);this.ensureBlankLine(),this.emitBlock(["static class Deserializer extends JsonDeserializer<",_,">"],()=>{this.emitLine("@Override"),this.emitBlock(["public ",_," deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException"],()=>{this.emitLine(_," value = new ",_,"();"),this.emitLine("switch (jsonParser.currentToken()) {"),W!==null&&p(),w(),f(["VALUE_TRUE","VALUE_FALSE"],"bool"),h(),f(["START_ARRAY"],"array"),f(["START_OBJECT"],"class"),f(["START_OBJECT"],"map"),this.indent(()=>this.emitLine('default: throw new IOException("Cannot deserialize ',_,'");')),this.emitLine("}"),this.emitLine("return value;")})}),this.ensureBlankLine(),this.emitBlock(["static class Serializer extends JsonSerializer<",_,">"],()=>{this.emitLine("@Override"),this.emitBlock(["public void serialize(",_," obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException"],()=>{for(const z of Q)B(z);W!==null?this.emitLine("jsonGenerator.writeNull();"):this.emitLine('throw new IOException("',_,' must not be null");')})})}emitEnumSerializationAttributes(b){this.emitLine("@JsonValue")}emitEnumDeserializationAttributes(b){this.emitLine("@JsonCreator")}emitOffsetDateTimeConverterModule(){this.emitLine("SimpleModule module = new SimpleModule();"),this._dateTimeProvider.shouldEmitDateTimeConverter&&(this.emitLine("module.addDeserializer(",this._dateTimeProvider.dateTimeType,".class, new JsonDeserializer<",this._dateTimeProvider.dateTimeType,">() {"),this.indent(()=>{this.emitLine("@Override"),this.emitBlock(["public ",this._dateTimeProvider.dateTimeType," deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) ","throws IOException, JsonProcessingException"],()=>{this.emitLine("String value = jsonParser.getText();"),this.emitLine("return ",this._dateTimeProvider.convertStringToDateTime("value"),";")})}),this.emitLine("});")),this._dateTimeProvider.shouldEmitTimeConverter||(this.emitLine("module.addDeserializer(",this._dateTimeProvider.timeType,".class, new JsonDeserializer<",this._dateTimeProvider.timeType,">() {"),this.indent(()=>{this.emitLine("@Override"),this.emitBlock(["public ",this._dateTimeProvider.timeType," deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) ","throws IOException, JsonProcessingException"],()=>{this.emitLine("String value = jsonParser.getText();"),this.emitLine("return ",this._dateTimeProvider.convertStringToTime("value"),";")})}),this.emitLine("});")),this._dateTimeProvider.shouldEmitDateConverter||(this.emitLine("module.addDeserializer(",this._dateTimeProvider.dateType,".class, new JsonDeserializer<",this._dateTimeProvider.dateType,">() {"),this.indent(()=>{this.emitLine("@Override"),this.emitBlock(["public ",this._dateTimeProvider.dateType," deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) ","throws IOException, JsonProcessingException"],()=>{this.emitLine("String value = jsonParser.getText();"),this.emitLine("return ",this._dateTimeProvider.convertStringToDate("value"),";")})}),this.emitLine("});")),this.emitLine("mapper.registerModule(module);")}emitConverterClass(){this.startFile(this._converterClassname),this.emitCommentLines(["To use this code, add the following Maven dependency to your project:","",this._options.lombok?" org.projectlombok : lombok : 1.18.2":""," com.fasterxml.jackson.core : jackson-databind : 2.9.0",this._options.dateTimeProvider==="java8"?" com.fasterxml.jackson.datatype : jackson-datatype-jsr310 : 2.9.0":"","","Import this package:",""]),this.emitLine("// import ",this._options.packageName,".Converter;"),this.emitMultiline(`//
|
|
416
|
+
// Then you can deserialize a JSON string with
|
|
417
|
+
//`),this.forEachTopLevel("none",(_,L)=>{this.emitLine("// ",this.javaType(!1,_)," data = Converter.",this.decoderName(L),"(jsonString);")}),this.ensureBlankLine();const b=["java.io.IOException","com.fasterxml.jackson.databind.*","com.fasterxml.jackson.databind.module.SimpleModule","com.fasterxml.jackson.core.JsonParser","com.fasterxml.jackson.core.JsonProcessingException","java.util.*"].concat(this._dateTimeProvider.converterImports);this.emitPackageAndImports(b),this.ensureBlankLine(),this.emitBlock(["public class Converter"],()=>{this.emitLine("// Date-time helpers"),this._dateTimeProvider.emitDateTimeConverters(),this.emitLine("// Serialize/deserialize helpers"),this.forEachTopLevel("leading-and-interposing",(_,L)=>{const g=this.javaType(!1,_);this.emitBlock(["public static ",g," ",this.decoderName(L),"(String json) throws IOException"],()=>{this.emitLine("return ",this.readerGetterName(L),"().readValue(json);")}),this.ensureBlankLine(),this.emitBlock(["public static String ",this.encoderName(L),"(",g," obj) throws JsonProcessingException"],()=>{this.emitLine("return ",this.writerGetterName(L),"().writeValueAsString(obj);")})}),this.forEachTopLevel("leading-and-interposing",(_,L)=>{const g=this.fieldOrMethodName("reader",L),p=this.fieldOrMethodName("writer",L);this.emitLine("private static ObjectReader ",g,";"),this.emitLine("private static ObjectWriter ",p,";"),this.ensureBlankLine(),this.emitBlock(["private static void ",this.methodName("instantiate","Mapper",L),"()"],()=>{const a=this.javaTypeWithoutGenerics(!1,_);this.emitLine("ObjectMapper mapper = new ObjectMapper();"),this.emitLine("mapper.findAndRegisterModules();"),this.emitLine("mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);"),this.emitLine("mapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);"),this.emitOffsetDateTimeConverterModule(),this.emitLine(g," = mapper.readerFor(",a,".class);"),this.emitLine(p," = mapper.writerFor(",a,".class);")}),this.ensureBlankLine(),this.emitBlock(["private static ObjectReader ",this.readerGetterName(L),"()"],()=>{this.emitLine("if (",g," == null) ",this.methodName("instantiate","Mapper",L),"();"),this.emitLine("return ",g,";")}),this.ensureBlankLine(),this.emitBlock(["private static ObjectWriter ",this.writerGetterName(L),"()"],()=>{this.emitLine("if (",p," == null) ",this.methodName("instantiate","Mapper",L),"();"),this.emitLine("return ",p,";")})})}),this.finishFile()}emitSourceStructure(){this.emitConverterClass(),super.emitSourceStructure()}}e.JacksonRenderer=R})(Gp);var qs={},qp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.convertersOption=e.ConvertersOptions=void 0;const t=dt;var n;(function(r){r.TopLevel="top-level",r.AllObjects="all-objects"})(n=e.ConvertersOptions||(e.ConvertersOptions={}));function i(){return new t.EnumOption("converters","Which converters to generate (top-level by default)",[[n.TopLevel,n.TopLevel],[n.AllObjects,n.AllObjects]],n.TopLevel,"secondary")}e.convertersOption=i})(qp);var Xr={};Object.defineProperty(Xr,"__esModule",{value:!0});Xr.isES3IdentifierPart=Xr.isES3IdentifierStart=void 0;function Hv(e,t){if(e<t[0])return!1;let n=0,i=t.length,r;for(;n+1<i;){if(r=n+(i-n)/2,r-=r%2,t[r]<=e&&e<=t[r+1])return!0;e<t[r]?i=r:n=r+2}return!1}function fM(e){return e>=65&&e<=90||e>=97&&e<=122||e===36||e===95||e>127&&Hv(e,hM)}Xr.isES3IdentifierStart=fM;function dM(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===36||e===95||e>127&&Hv(e,pM)}Xr.isES3IdentifierPart=dM;const hM=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],pM=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500];(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.JavaScriptRenderer=e.legalizeName=e.JavaScriptTargetLanguage=e.javaScriptOptions=void 0;const t=He,n=ot(),i=Tr(),r=qp,u=St(),l=Ie,d=et,y=qe,T=Et,S=Lt,O=dt,I=Xr;e.javaScriptOptions={acronymStyle:(0,i.acronymOption)(i.AcronymStyleOptions.Pascal),runtimeTypecheck:new O.BooleanOption("runtime-typecheck","Verify JSON.parse results at runtime",!0),runtimeTypecheckIgnoreUnknownProperties:new O.BooleanOption("runtime-typecheck-ignore-unknown-properties","Ignore unknown properties when verifying at runtime",!1,"secondary"),converters:(0,r.convertersOption)(),rawType:new O.EnumOption("raw-type","Type of raw input (json by default)",[["json","json"],["any","any"]],"json","secondary")};class k extends S.TargetLanguage{constructor(J="JavaScript",x=["javascript","js","jsx"],G="js"){super(J,x,G)}getOptions(){return[e.javaScriptOptions.runtimeTypecheck,e.javaScriptOptions.runtimeTypecheckIgnoreUnknownProperties,e.javaScriptOptions.acronymStyle,e.javaScriptOptions.converters,e.javaScriptOptions.rawType]}get stringTypeMapping(){const J=new Map,x="date-time";return J.set("date",x),J.set("date-time",x),J}get supportsOptionalClassProperties(){return!0}get supportsFullObjectType(){return!0}makeRenderer(J,x){return new m(this,J,(0,O.getOptionValues)(e.javaScriptOptions,x))}}e.JavaScriptTargetLanguage=k,e.legalizeName=(0,u.utf16LegalizeCharacters)(I.isES3IdentifierPart);const P=(0,y.funPrefixNamer)("properties",C=>C);class m extends T.ConvenienceRenderer{constructor(J,x,G){super(J,x),this._jsOptions=G}nameStyle(J,x){const G=(0,i.acronymStyle)(this._jsOptions.acronymStyle),K=(0,u.splitIntoWords)(J);return(0,u.combineWords)(K,e.legalizeName,x?u.firstUpperWordStyle:u.allLowerWordStyle,u.firstUpperWordStyle,x?U=>(0,u.capitalize)(G(U)):u.allLowerWordStyle,G,"",I.isES3IdentifierStart)}makeNamedTypeNamer(){return(0,y.funPrefixNamer)("types",J=>this.nameStyle(J,!0))}namerForObjectProperty(){return P}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return(0,y.funPrefixNamer)("enum-cases",J=>this.nameStyle(J,!0))}namedTypeToNameForTopLevel(J){return(0,n.directlyReachableSingleNamedType)(J)}makeNameForProperty(J,x,G,K,U){return super.makeNameForProperty(J,x,G,K,void 0)}emitDescriptionBlock(J){this.emitCommentLines(J,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}typeMapTypeFor(J){return["class","object","enum"].indexOf(J.kind)>=0?['r("',this.nameForNamedType(J),'")']:(0,n.matchType)(J,x=>'"any"',x=>"null",x=>"true",x=>"0",x=>"3.14",x=>'""',x=>["a(",this.typeMapTypeFor(x.items),")"],x=>(0,l.panic)("We handled this above"),x=>["m(",this.typeMapTypeFor(x.values),")"],x=>(0,l.panic)("We handled this above"),x=>{const G=Array.from(x.getChildren()).map(K=>this.typeMapTypeFor(K));return["u(",...(0,t.arrayIntercalate)(", ",G),")"]},x=>x.kind==="date-time"?"Date":'""')}typeMapTypeForProperty(J){const x=this.typeMapTypeFor(J.type);return J.isOptional?["u(undefined, ",x,")"]:x}emitBlock(J,x,G){this.emitLine(J,"{"),this.indent(G),this.emitLine("}",x)}emitTypeMap(){const{any:J}=this.typeAnnotations;this.emitBlock(`const typeMap${J} = `,";",()=>{this.forEachObject("none",(x,G)=>{const K=x.getAdditionalProperties(),U=K!==void 0?this.typeMapTypeFor(K):"false";this.emitLine('"',G,'": o(['),this.indent(()=>{this.forEachClassProperty(x,"none",(R,A,b)=>{this.emitLine('{ json: "',(0,u.utf16StringEscape)(A),'", js: "',(0,d.modifySource)(u.utf16StringEscape,R),'", typ: ',this.typeMapTypeForProperty(b)," },")})}),this.emitLine("], ",U,"),")}),this.forEachEnum("none",(x,G)=>{this.emitLine('"',G,'": ['),this.indent(()=>{this.forEachEnumCase(x,"none",(K,U)=>{this.emitLine(`"${(0,u.utf16StringEscape)(U)}",`)})}),this.emitLine("],")})})}deserializerFunctionName(J){return["to",J]}deserializerFunctionLine(J,x){return["function ",this.deserializerFunctionName(x),"(json)"]}serializerFunctionName(J){return[(0,d.modifySource)(u.camelCase,J),"ToJson"]}serializerFunctionLine(J,x){return["function ",this.serializerFunctionName(x),"(value)"]}get moduleLine(){}get castFunctionLines(){return["function cast(val, typ)","function uncast(val, typ)"]}get typeAnnotations(){return{any:"",anyArray:"",anyMap:"",string:"",stringArray:"",boolean:"",never:""}}emitConvertModuleBody(){const J=(x,G)=>{const K=this.typeMapTypeFor(x);this.emitBlock([this.deserializerFunctionLine(x,G)," "],"",()=>{const U=this._jsOptions.rawType==="json"?"JSON.parse(json)":"json";this._jsOptions.runtimeTypecheck?this.emitLine("return cast(",U,", ",K,");"):this.emitLine("return ",U,";")}),this.ensureBlankLine(),this.emitBlock([this.serializerFunctionLine(x,G)," "],"",()=>{this._jsOptions.rawType==="json"?this._jsOptions.runtimeTypecheck?this.emitLine("return JSON.stringify(uncast(value, ",K,"), null, 2);"):this.emitLine("return JSON.stringify(value);"):this._jsOptions.runtimeTypecheck?this.emitLine("return uncast(value, ",K,");"):this.emitLine("return value;")})};switch(this._jsOptions.converters){case r.ConvertersOptions.AllObjects:this.forEachObject("interposing",J);break;default:this.forEachTopLevel("interposing",J);break}}emitConvertModuleHelpers(){if(this._jsOptions.runtimeTypecheck){const{any:J,anyArray:x,anyMap:G,string:K,stringArray:U,never:R}=this.typeAnnotations;this.ensureBlankLine(),this.emitMultiline(`function invalidValue(typ${J}, val${J}, key${J}, parent${J} = '')${R} {
|
|
418
|
+
const prettyTyp = prettyTypeName(typ);
|
|
419
|
+
const parentText = parent ? \` on \${parent}\` : '';
|
|
420
|
+
const keyText = key ? \` for key "\${key}"\` : '';
|
|
421
|
+
throw Error(\`Invalid value\${keyText}\${parentText}. Expected \${prettyTyp} but got \${JSON.stringify(val)}\`);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
function prettyTypeName(typ${J})${K} {
|
|
425
|
+
if (Array.isArray(typ)) {
|
|
426
|
+
if (typ.length === 2 && typ[0] === undefined) {
|
|
427
|
+
return \`an optional \${prettyTypeName(typ[1])}\`;
|
|
428
|
+
} else {
|
|
429
|
+
return \`one of [\${typ.map(a => { return prettyTypeName(a); }).join(", ")}]\`;
|
|
430
|
+
}
|
|
431
|
+
} else if (typeof typ === "object" && typ.literal !== undefined) {
|
|
432
|
+
return typ.literal;
|
|
433
|
+
} else {
|
|
434
|
+
return typeof typ;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
function jsonToJSProps(typ${J})${J} {
|
|
439
|
+
if (typ.jsonToJS === undefined) {
|
|
440
|
+
const map${J} = {};
|
|
441
|
+
typ.props.forEach((p${J}) => map[p.json] = { key: p.js, typ: p.typ });
|
|
442
|
+
typ.jsonToJS = map;
|
|
443
|
+
}
|
|
444
|
+
return typ.jsonToJS;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
function jsToJSONProps(typ${J})${J} {
|
|
448
|
+
if (typ.jsToJSON === undefined) {
|
|
449
|
+
const map${J} = {};
|
|
450
|
+
typ.props.forEach((p${J}) => map[p.js] = { key: p.json, typ: p.typ });
|
|
451
|
+
typ.jsToJSON = map;
|
|
452
|
+
}
|
|
453
|
+
return typ.jsToJSON;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
function transform(val${J}, typ${J}, getProps${J}, key${J} = '', parent${J} = '')${J} {
|
|
457
|
+
function transformPrimitive(typ${K}, val${J})${J} {
|
|
458
|
+
if (typeof typ === typeof val) return val;
|
|
459
|
+
return invalidValue(typ, val, key, parent);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
function transformUnion(typs${x}, val${J})${J} {
|
|
463
|
+
// val must validate against one typ in typs
|
|
464
|
+
const l = typs.length;
|
|
465
|
+
for (let i = 0; i < l; i++) {
|
|
466
|
+
const typ = typs[i];
|
|
467
|
+
try {
|
|
468
|
+
return transform(val, typ, getProps);
|
|
469
|
+
} catch (_) {}
|
|
470
|
+
}
|
|
471
|
+
return invalidValue(typs, val, key, parent);
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
function transformEnum(cases${U}, val${J})${J} {
|
|
475
|
+
if (cases.indexOf(val) !== -1) return val;
|
|
476
|
+
return invalidValue(cases.map(a => { return l(a); }), val, key, parent);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
function transformArray(typ${J}, val${J})${J} {
|
|
480
|
+
// val must be an array with no invalid elements
|
|
481
|
+
if (!Array.isArray(val)) return invalidValue(l("array"), val, key, parent);
|
|
482
|
+
return val.map(el => transform(el, typ, getProps));
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
function transformDate(val${J})${J} {
|
|
486
|
+
if (val === null) {
|
|
487
|
+
return null;
|
|
488
|
+
}
|
|
489
|
+
const d = new Date(val);
|
|
490
|
+
if (isNaN(d.valueOf())) {
|
|
491
|
+
return invalidValue(l("Date"), val, key, parent);
|
|
492
|
+
}
|
|
493
|
+
return d;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
function transformObject(props${G}, additional${J}, val${J})${J} {
|
|
497
|
+
if (val === null || typeof val !== "object" || Array.isArray(val)) {
|
|
498
|
+
return invalidValue(l(ref || "object"), val, key, parent);
|
|
499
|
+
}
|
|
500
|
+
const result${J} = {};
|
|
501
|
+
Object.getOwnPropertyNames(props).forEach(key => {
|
|
502
|
+
const prop = props[key];
|
|
503
|
+
const v = Object.prototype.hasOwnProperty.call(val, key) ? val[key] : undefined;
|
|
504
|
+
result[prop.key] = transform(v, prop.typ, getProps, key, ref);
|
|
505
|
+
});
|
|
506
|
+
Object.getOwnPropertyNames(val).forEach(key => {
|
|
507
|
+
if (!Object.prototype.hasOwnProperty.call(props, key)) {
|
|
508
|
+
result[key] = ${this._jsOptions.runtimeTypecheckIgnoreUnknownProperties?"val[key]":"transform(val[key], additional, getProps, key, ref)"};
|
|
509
|
+
}
|
|
510
|
+
});
|
|
511
|
+
return result;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
if (typ === "any") return val;
|
|
515
|
+
if (typ === null) {
|
|
516
|
+
if (val === null) return val;
|
|
517
|
+
return invalidValue(typ, val, key, parent);
|
|
518
|
+
}
|
|
519
|
+
if (typ === false) return invalidValue(typ, val, key, parent);
|
|
520
|
+
let ref${J} = undefined;
|
|
521
|
+
while (typeof typ === "object" && typ.ref !== undefined) {
|
|
522
|
+
ref = typ.ref;
|
|
523
|
+
typ = typeMap[typ.ref];
|
|
524
|
+
}
|
|
525
|
+
if (Array.isArray(typ)) return transformEnum(typ, val);
|
|
526
|
+
if (typeof typ === "object") {
|
|
527
|
+
return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val)
|
|
528
|
+
: typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val)
|
|
529
|
+
: typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val)
|
|
530
|
+
: invalidValue(typ, val, key, parent);
|
|
531
|
+
}
|
|
532
|
+
// Numbers can be parsed by Date but shouldn't be.
|
|
533
|
+
if (typ === Date && typeof val !== "number") return transformDate(val);
|
|
534
|
+
return transformPrimitive(typ, val);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
${this.castFunctionLines[0]} {
|
|
538
|
+
return transform(val, typ, jsonToJSProps);
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
${this.castFunctionLines[1]} {
|
|
542
|
+
return transform(val, typ, jsToJSONProps);
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
function l(typ${J}) {
|
|
546
|
+
return { literal: typ };
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
function a(typ${J}) {
|
|
550
|
+
return { arrayItems: typ };
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
function u(...typs${x}) {
|
|
554
|
+
return { unionMembers: typs };
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
function o(props${x}, additional${J}) {
|
|
558
|
+
return { props, additional };
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
function m(additional${J}) {
|
|
562
|
+
return { props: [], additional };
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
function r(name${K}) {
|
|
566
|
+
return { ref: name };
|
|
567
|
+
}
|
|
568
|
+
`),this.emitTypeMap()}}emitConvertModule(){this.ensureBlankLine(),this.emitMultiline(`// Converts JSON ${this._jsOptions.rawType==="json"?"strings":"types"} to/from your types`),this._jsOptions.runtimeTypecheck&&this.emitMultiline(`// and asserts the results${this._jsOptions.rawType==="json"?" of JSON.parse":""} at runtime`);const J=this.moduleLine;J===void 0?this.emitConvertModuleBody():this.emitBlock([J," "],"",()=>this.emitConvertModuleBody())}emitTypes(){}emitUsageImportComment(){this.emitLine('// const Convert = require("./file");')}emitUsageComments(){this.emitMultiline(`// To parse this data:
|
|
569
|
+
//`),this.emitUsageImportComment(),this.emitLine("//"),this.forEachTopLevel("none",(J,x)=>{const G=(0,d.modifySource)(u.camelCase,x);this.emitLine("// const ",G," = Convert.to",x,"(json);")}),this._jsOptions.runtimeTypecheck&&(this.emitLine("//"),this.emitLine("// These functions will throw an error if the JSON doesn't"),this.emitLine("// match the expected interface, even if the JSON is valid."))}emitModuleExports(){this.ensureBlankLine(),this.emitBlock("module.exports = ",";",()=>{this.forEachTopLevel("none",(J,x)=>{const G=this.serializerFunctionName(x),K=this.deserializerFunctionName(x);this.emitLine('"',G,'": ',G,","),this.emitLine('"',K,'": ',K,",")})})}emitSourceStructure(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this.emitUsageComments(),this.emitTypes(),this.emitConvertModule(),this.emitConvertModuleHelpers(),this.emitModuleExports()}}e.JavaScriptRenderer=m})(qs);var Qd={},T0;function Vv(){return T0||(T0=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.JavaScriptPropTypesRenderer=e.JavaScriptPropTypesTargetLanguage=e.javaScriptPropTypesOptions=void 0;const t=Lt,n=dt,i=Et,r=qe,u=Tr(),l=$c(),d=St(),y=Xr,T=qs,S=qp,O=ot(),I=He,k=lt();e.javaScriptPropTypesOptions={acronymStyle:(0,u.acronymOption)(u.AcronymStyleOptions.Pascal),converters:(0,S.convertersOption)(),moduleSystem:new n.EnumOption("module-system","Which module system to use",[["common-js",!1],["es6",!0]],"es6")};class P extends t.TargetLanguage{getOptions(){return[e.javaScriptPropTypesOptions.acronymStyle,e.javaScriptPropTypesOptions.converters]}constructor(x="JavaScript PropTypes",G=["javascript-prop-types"],K="js"){super(x,G,K)}makeRenderer(x,G){return new C(this,x,(0,n.getOptionValues)(e.javaScriptPropTypesOptions,G))}}e.JavaScriptPropTypesTargetLanguage=P;const m=(0,r.funPrefixNamer)("properties",J=>J);class C extends i.ConvenienceRenderer{constructor(x,G,K){super(x,G),this._jsOptions=K}nameStyle(x,G){const K=(0,u.acronymStyle)(this._jsOptions.acronymStyle),U=(0,l.splitIntoWords)(x);return(0,l.combineWords)(U,T.legalizeName,G?l.firstUpperWordStyle:d.allLowerWordStyle,l.firstUpperWordStyle,G?R=>(0,l.capitalize)(K(R)):d.allLowerWordStyle,K,"",y.isES3IdentifierStart)}makeNamedTypeNamer(){return(0,r.funPrefixNamer)("types",x=>this.nameStyle(x,!0))}namerForObjectProperty(){return m}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return(0,r.funPrefixNamer)("enum-cases",x=>this.nameStyle(x,!1))}namedTypeToNameForTopLevel(x){return(0,O.directlyReachableSingleNamedType)(x)}makeNameForProperty(x,G,K,U,R){return super.makeNameForProperty(x,G,K,U,void 0)}typeMapTypeFor(x,G=!0){if(["class","object","enum"].indexOf(x.kind)>=0)return["_",this.nameForNamedType(x)];const K=(0,l.matchType)(x,U=>"PropTypes.any",U=>"PropTypes.any",U=>"PropTypes.bool",U=>"PropTypes.number",U=>"PropTypes.number",U=>"PropTypes.string",U=>["PropTypes.arrayOf(",this.typeMapTypeFor(U.items,!1),")"],U=>(0,l.panic)("Should already be handled."),U=>"PropTypes.object",U=>(0,l.panic)("Should already be handled."),U=>{const R=Array.from(U.getChildren()).map(A=>this.typeMapTypeFor(A,!1));return["PropTypes.oneOfType([",...(0,I.arrayIntercalate)(", ",R),"])"]},U=>"PropTypes.string");return G?[K]:K}typeMapTypeForProperty(x){return this.typeMapTypeFor(x.type)}importStatement(x,G){return this._jsOptions.moduleSystem?["import ",x," from ",G,";"]:["const ",x," = require(",G,");"]}emitUsageComments(){this.emitCommentLines(["Example usage:","",this.importStatement("{ MyShape }","./myShape.js"),"","class MyComponent extends React.Component {"," //","}","","MyComponent.propTypes = {"," input: MyShape","};"],{lineStart:"// "})}emitBlock(x,G,K){this.emitLine(x,"{"),this.indent(K),this.emitLine("}",G)}emitImports(){this.ensureBlankLine(),this.emitLine(this.importStatement("PropTypes",'"prop-types"'))}emitExport(x,G){this._jsOptions.moduleSystem?this.emitLine("export const ",x," = ",G,";"):this.emitLine("module.exports = exports = { ",x,": ",G," };")}emitTypes(){this.ensureBlankLine(),this.forEachObject("none",(U,R)=>{this.emitLine("let _",R,";")}),this.forEachEnum("none",(U,R)=>{const A=[];this.forEachEnumCase(U,"none",(b,_,L)=>{A.push("'"),A.push(b),A.push("'"),A.push(", ")}),A.pop(),this.emitLine(["const _",R," = PropTypes.oneOfType([",...A,"]);"])});const x=[],G=[],K=[];this.forEachObject("none",(U,R)=>{G.push(R),K.push(this.gatherSource(()=>this.emitObject(R,U)))}),G.forEach((U,R)=>{let A=0;const _=K[R].filter(L=>L);for(let L=0;L<_.length;L++){const g=_[L];for(let p=0;p<x.length;p++){const a=x[p];G[a]===g&&(A=Math.max(A,a+1))}}x.splice(A,0,R)}),x.forEach(U=>this.emitGatheredSource(K[U])),this.forEachTopLevel("none",(U,R)=>{U instanceof k.PrimitiveType?(this.ensureBlankLine(),this.emitExport(R,this.typeMapTypeFor(U))):U.kind==="array"?(this.ensureBlankLine(),this.emitExport(R,["PropTypes.arrayOf(",this.typeMapTypeFor(U.items),")"])):(this.ensureBlankLine(),this.emitExport(R,["_",R]))})}emitObject(x,G){this.ensureBlankLine(),this.emitLine("_",x," = PropTypes.shape({"),this.indent(()=>{this.forEachClassProperty(G,"none",(K,U,R)=>{this.emitLine(`"${(0,d.utf16StringEscape)(U)}"`,": ",this.typeMapTypeForProperty(R),",")})}),this.emitLine("});")}emitSourceStructure(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this.emitUsageComments(),this.emitImports(),this.emitTypes()}}e.JavaScriptPropTypesRenderer=C}(Qd)),Qd}var Hp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.FlowRenderer=e.FlowTargetLanguage=e.TypeScriptRenderer=e.TypeScriptFlowBaseRenderer=e.TypeScriptTargetLanguage=e.TypeScriptFlowBaseTargetLanguage=e.tsFlowOptions=void 0;const t=lt(),n=ot(),i=St(),r=et,u=qe,l=dt,d=qs,y=Ie,T=Xr;e.tsFlowOptions=Object.assign({},d.javaScriptOptions,{justTypes:new l.BooleanOption("just-types","Interfaces only",!1),nicePropertyNames:new l.BooleanOption("nice-property-names","Transform property names to be JavaScripty",!1),declareUnions:new l.BooleanOption("explicit-unions","Explicitly name unions",!1),preferUnions:new l.BooleanOption("prefer-unions","Use union type instead of enum",!1),preferTypes:new l.BooleanOption("prefer-types","Use types instead of interfaces",!1),preferConstValues:new l.BooleanOption("prefer-const-values","Use string instead of enum for string enums with single value",!1),readonly:new l.BooleanOption("readonly","Use readonly type members",!1)});const S={any:": any",anyArray:": any[]",anyMap:": { [k: string]: any }",string:": string",stringArray:": string[]",boolean:": boolean"};class O extends d.JavaScriptTargetLanguage{getOptions(){return[e.tsFlowOptions.justTypes,e.tsFlowOptions.nicePropertyNames,e.tsFlowOptions.declareUnions,e.tsFlowOptions.runtimeTypecheck,e.tsFlowOptions.runtimeTypecheckIgnoreUnknownProperties,e.tsFlowOptions.acronymStyle,e.tsFlowOptions.converters,e.tsFlowOptions.rawType,e.tsFlowOptions.preferUnions,e.tsFlowOptions.preferTypes,e.tsFlowOptions.preferConstValues,e.tsFlowOptions.readonly]}get supportsOptionalClassProperties(){return!0}}e.TypeScriptFlowBaseTargetLanguage=O;class I extends O{constructor(){super("TypeScript",["typescript","ts","tsx"],"ts")}makeRenderer(G,K){return new m(this,G,(0,l.getOptionValues)(e.tsFlowOptions,K))}}e.TypeScriptTargetLanguage=I;function k(x){const G=(0,i.utf16StringEscape)(x),K=`"${G}"`;return x.length===0?K:(0,T.isES3IdentifierStart)(x.codePointAt(0))?G!==x||(0,d.legalizeName)(x)!==x?K:x:K}class P extends d.JavaScriptRenderer{constructor(G,K,U){super(G,K,U),this._tsFlowOptions=U}namerForObjectProperty(){return this._tsFlowOptions.nicePropertyNames?(0,u.funPrefixNamer)("properties",G=>this.nameStyle(G,!1)):super.namerForObjectProperty()}sourceFor(G){if(this._tsFlowOptions.preferConstValues&&G.kind==="enum"&&G instanceof t.EnumType&&G.cases.size===1){const K=G.cases.values().next().value;return(0,r.singleWord)(`"${(0,i.utf16StringEscape)(K)}"`)}return["class","object","enum"].indexOf(G.kind)>=0?(0,r.singleWord)(this.nameForNamedType(G)):(0,n.matchType)(G,K=>(0,r.singleWord)("any"),K=>(0,r.singleWord)("null"),K=>(0,r.singleWord)("boolean"),K=>(0,r.singleWord)("number"),K=>(0,r.singleWord)("number"),K=>(0,r.singleWord)("string"),K=>{const U=this.sourceFor(K.items);return K.items instanceof t.UnionType&&!this._tsFlowOptions.declareUnions||K.items instanceof t.ArrayType?(0,r.singleWord)(["Array<",U.source,">"]):(0,r.singleWord)([(0,r.parenIfNeeded)(U),"[]"])},K=>(0,y.panic)("We handled this above"),K=>(0,r.singleWord)(["{ [key: string]: ",this.sourceFor(K.values).source," }"]),K=>(0,y.panic)("We handled this above"),K=>{if(!this._tsFlowOptions.declareUnions||(0,n.nullableFromUnion)(K)!==null){const U=Array.from(K.getChildren()).map(R=>(0,r.parenIfNeeded)(this.sourceFor(R)));return(0,r.multiWord)(" | ",...U)}else return(0,r.singleWord)(this.nameForNamedType(K))},K=>K.kind==="date-time"?(0,r.singleWord)("Date"):(0,r.singleWord)("string"))}emitClassBlockBody(G){this.emitPropertyTable(G,(U,R,A)=>{const b=A.type;let _=U;return _=(0,r.modifySource)(k,U),this._tsFlowOptions.readonly&&(_=(0,r.modifySource)(L=>"readonly "+L,_)),[[_,A.isOptional?"?":"",": "],[this.sourceFor(b).source,";"]]});const K=G.getAdditionalProperties();K&&this.emitTable([["[property: string]",": ",this.sourceFor(K).source,";"]])}emitClass(G,K){this.emitDescription(this.descriptionForType(G)),this.emitClassBlock(G,K)}emitUnion(G,K){if(!this._tsFlowOptions.declareUnions)return;this.emitDescription(this.descriptionForType(G));const U=(0,r.multiWord)(" | ",...Array.from(G.getChildren()).map(R=>(0,r.parenIfNeeded)(this.sourceFor(R))));this.emitLine("export type ",K," = ",U.source,";")}emitTypes(){this.forEachTopLevel("none",(G,K)=>{G.isPrimitive()&&(this.ensureBlankLine(),this.emitDescription(this.descriptionForType(G)),this.emitLine("type ",K," = ",this.sourceFor(G).source,";"))}),this.forEachNamedType("leading-and-interposing",(G,K)=>this.emitClass(G,K),(G,K)=>this.emitEnum(G,K),(G,K)=>this.emitUnion(G,K))}emitUsageComments(){this._tsFlowOptions.justTypes||super.emitUsageComments()}deserializerFunctionLine(G,K){const U=this._tsFlowOptions.rawType==="json"?"string":"any";return["function to",K,"(json: ",U,"): ",this.sourceFor(G).source]}serializerFunctionLine(G,K){const U=(0,r.modifySource)(i.camelCase,K),R=this._tsFlowOptions.rawType==="json"?"string":"any";return["function ",U,"ToJson(value: ",this.sourceFor(G).source,"): ",R]}get moduleLine(){}get castFunctionLines(){return["function cast<T>(val: any, typ: any): T","function uncast<T>(val: T, typ: any): any"]}get typeAnnotations(){throw new Error("not implemented")}emitConvertModule(){this._tsFlowOptions.justTypes||super.emitConvertModule()}emitConvertModuleHelpers(){this._tsFlowOptions.justTypes||super.emitConvertModuleHelpers()}emitModuleExports(){this._tsFlowOptions.justTypes||super.emitModuleExports()}}e.TypeScriptFlowBaseRenderer=P;class m extends P{forbiddenNamesForGlobalNamespace(){return["Array","Date"]}deserializerFunctionLine(G,K){const U=this._tsFlowOptions.rawType==="json"?"string":"any";return["public static to",K,"(json: ",U,"): ",this.sourceFor(G).source]}serializerFunctionLine(G,K){const U=(0,r.modifySource)(i.camelCase,K),R=this._tsFlowOptions.rawType==="json"?"string":"any";return["public static ",U,"ToJson(value: ",this.sourceFor(G).source,"): ",R]}get moduleLine(){return"export class Convert"}get typeAnnotations(){return Object.assign({never:": never"},S)}emitModuleExports(){}emitUsageImportComment(){const G=[];this.forEachTopLevel("none",(K,U)=>{G.push(", ",U)},n.isNamedType),this.emitLine("// import { Convert",G,' } from "./file";')}emitEnum(G,K){if(this.emitDescription(this.descriptionForType(G)),!(this._tsFlowOptions.preferConstValues&&G.cases.size===1))if(this._tsFlowOptions.preferUnions){let U="";G.cases.forEach(R=>{if(U===""){U+=`"${(0,i.utf16StringEscape)(R)}"`;return}U+=` | "${(0,i.utf16StringEscape)(R)}"`}),this.emitLine("export type ",K," = ",U,";")}else this.emitBlock(["export enum ",K," "],"",()=>{this.forEachEnumCase(G,"none",(U,R)=>{this.emitLine(U,` = "${(0,i.utf16StringEscape)(R)}",`)})})}emitClassBlock(G,K){this.emitBlock(this._tsFlowOptions.preferTypes?["export type ",K," = "]:["export interface ",K," "],"",()=>{this.emitClassBlockBody(G)})}emitSourceStructure(){super.emitSourceStructure()}}e.TypeScriptRenderer=m;class C extends O{constructor(){super("Flow",["flow"],"js")}makeRenderer(G,K){return new J(this,G,(0,l.getOptionValues)(e.tsFlowOptions,K))}}e.FlowTargetLanguage=C;class J extends P{forbiddenNamesForGlobalNamespace(){return["Class","Date","Object","String","Array","JSON","Error"]}get typeAnnotations(){return Object.assign({never:""},S)}emitEnum(G,K){this.emitDescription(this.descriptionForType(G));const U=[];this.forEachEnumCase(G,"none",(R,A)=>{const b=U.length===0?" ":"| ";U.push([b,'"',(0,i.utf16StringEscape)(A),'"'])}),(0,y.defined)(U[U.length-1]).push(";"),this.emitLine("export type ",K," ="),this.indent(()=>{for(const R of U)this.emitLine(R)})}emitClassBlock(G,K){this.emitBlock(["export type ",K," = "],";",()=>{this.emitClassBlockBody(G)})}emitSourceStructure(){this.emitLine("// @flow"),this.ensureBlankLine(),super.emitSourceStructure()}}e.FlowRenderer=J})(Hp);var Vp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SwiftRenderer=e.SwiftTargetLanguage=e.swiftOptions=void 0;const t=He,n=Ie,i=Lt,r=lt(),u=ot(),l=qe,d=dt,y=et,T=jt,S=Et,O=St(),I=Ie,k=al,P=Tr(),m=4;e.swiftOptions={justTypes:new d.BooleanOption("just-types","Plain types only",!1),convenienceInitializers:new d.BooleanOption("initializers","Generate initializers and mutators",!0),explicitCodingKeys:new d.BooleanOption("coding-keys","Explicit CodingKey values in Codable types",!0),codingKeysProtocol:new d.StringOption("coding-keys-protocol","CodingKeys implements protocols","protocol1, protocol2...","","secondary"),alamofire:new d.BooleanOption("alamofire","Alamofire extensions",!1),namedTypePrefix:new d.StringOption("type-prefix","Prefix for type names","PREFIX","","secondary"),useClasses:new d.EnumOption("struct-or-class","Structs or classes",[["struct",!1],["class",!0]]),mutableProperties:new d.BooleanOption("mutable-properties","Use var instead of let for object properties",!1),acronymStyle:(0,P.acronymOption)(P.AcronymStyleOptions.Pascal),dense:new d.EnumOption("density","Code density",[["dense",!0],["normal",!1]],"dense","secondary"),linux:new d.BooleanOption("support-linux","Support Linux",!1,"secondary"),objcSupport:new d.BooleanOption("objective-c-support","Objects inherit from NSObject and @objcMembers is added to classes",!1),optionalEnums:new d.BooleanOption("optional-enums","If no matching case is found enum value is set to null",!1),swift5Support:new d.BooleanOption("swift-5-support","Renders output in a Swift 5 compatible mode",!1),sendable:new d.BooleanOption("sendable","Mark generated models as Sendable",!1),multiFileOutput:new d.BooleanOption("multi-file-output","Renders each top-level object in its own Swift file",!1),accessLevel:new d.EnumOption("access-level","Access level",[["internal","internal"],["public","public"]],"internal","secondary"),protocol:new d.EnumOption("protocol","Make types implement protocol",[["none",{equatable:!1,hashable:!1}],["equatable",{equatable:!0,hashable:!1}],["hashable",{equatable:!1,hashable:!0}]],"none","secondary")};const C=/^\d+-\d+-\d+T\d+:\d+:\d+([zZ]|[+-]\d+(:\d+)?)$/;class J extends k.DefaultDateTimeRecognizer{isDateTime(p){return p.match(C)!==null}}class x extends i.TargetLanguage{constructor(){super("Swift",["swift","swift4"],"swift")}getOptions(){return[e.swiftOptions.justTypes,e.swiftOptions.useClasses,e.swiftOptions.dense,e.swiftOptions.convenienceInitializers,e.swiftOptions.explicitCodingKeys,e.swiftOptions.codingKeysProtocol,e.swiftOptions.accessLevel,e.swiftOptions.alamofire,e.swiftOptions.linux,e.swiftOptions.namedTypePrefix,e.swiftOptions.protocol,e.swiftOptions.acronymStyle,e.swiftOptions.objcSupport,e.swiftOptions.optionalEnums,e.swiftOptions.sendable,e.swiftOptions.swift5Support,e.swiftOptions.multiFileOutput,e.swiftOptions.mutableProperties]}get stringTypeMapping(){const p=new Map;return p.set("date-time","date-time"),p}get supportsOptionalClassProperties(){return!0}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(p,a){return new L(this,p,(0,d.getOptionValues)(e.swiftOptions,a))}get dateTimeRecognizer(){return new J}}e.SwiftTargetLanguage=x;const G=["await","associatedtype","class","deinit","enum","extension","fileprivate","func","import","init","inout","internal","let","open","operator","private","protocol","public","static","struct","subscript","typealias","var","break","case","continue","default","defer","do","else","fallthrough","for","guard","if","in","repeat","return","switch","where","while","as","Any","catch","false","is","nil","rethrows","super","self","Self","throw","throws","true","try","_","associativity","convenience","dynamic","didSet","final","get","infix","indirect","lazy","left","mutating","nonmutating","optional","override","postfix","precedence","prefix","Protocol","required","right","set","Type","unowned","weak","willSet","String","Int","Double","Bool","Data","Date","URL","CommandLine","FileHandle","JSONSerialization","checkNull","removeNSNull","nilToNSNull","convertArray","convertOptional","convertDict","convertDouble","jsonString","jsonData"];function K(g){return(0,O.isLetterOrUnderscore)(g)||(0,O.isNumeric)(g)}function U(g){return K(g)&&!(0,O.isDigit)(g)}const R=(0,O.legalizeCharacters)(K);function A(g,p,a,o=O.allUpperWordStyle){const f=(0,O.splitIntoWords)(a),h=(0,O.combineWords)(f,R,p?O.firstUpperWordStyle:O.allLowerWordStyle,O.firstUpperWordStyle,p?O.allUpperWordStyle:O.allLowerWordStyle,o,"",U);return(0,O.addPrefixIfNecessary)(g,h)}function b(g){return"\\u{"+(0,O.intToHex)(g,0)+"}"}const _=(0,O.utf32ConcatMap)((0,O.escapeNonPrintableMapper)(O.isPrintable,b));class L extends S.ConvenienceRenderer{constructor(p,a,o){super(p,a),this._options=o,this._needAny=!1,this._needNull=!1,this.emitSupportFunctions4=()=>{this.startFile("JSONSchemaSupport"),this.emitLineOnce("import Foundation"),this.forEachTopLevel("leading",(f,h)=>this.renderTopLevelAlias(f,h),f=>this.namedTypeToNameForTopLevel(f)===void 0),this._options.convenienceInitializers&&(this.ensureBlankLine(),this.forEachTopLevel("leading-and-interposing",(f,h)=>this.emitTopLevelMapAndArrayConvenienceInitializerExtensions(f,h))),(!this._options.justTypes&&this._options.convenienceInitializers||this._options.alamofire)&&(this.ensureBlankLine(),this.emitMark("Helper functions for creating encoders and decoders",!0),this.ensureBlankLine(),this.emitNewEncoderDecoder()),this._options.alamofire&&(this.ensureBlankLine(),this.emitMark("Alamofire response handlers",!0),this.ensureBlankLine(),this.emitAlamofireExtension()),(this._needAny||this._needNull)&&(this.ensureBlankLine(),this.emitMark("Encode/decode helpers",!0),this.ensureBlankLine(),this._options.objcSupport?this.emitLine(this.objcMembersDeclaration,this.accessLevel,"class JSONNull: NSObject, Codable {"):this.emitLine(this.accessLevel,"class JSONNull: Codable, Hashable {"),this.ensureBlankLine(),this.emitMultiline(` public static func == (lhs: JSONNull, rhs: JSONNull) -> Bool {
|
|
570
|
+
return true
|
|
571
|
+
}`),this._options.objcSupport===!1&&(this.ensureBlankLine(),this.emitMultiline(` public var hashValue: Int {
|
|
572
|
+
return 0
|
|
573
|
+
}`),this._options.swift5Support&&(this.ensureBlankLine(),this.emitMultiline(` public func hash(into hasher: inout Hasher) {
|
|
574
|
+
// No-op
|
|
575
|
+
}`))),this.ensureBlankLine(),this._options.objcSupport?this.emitItem(" override "):this.emitItem(" "),this.emitMultiline(`public init() {}
|
|
576
|
+
|
|
577
|
+
public required init(from decoder: Decoder) throws {
|
|
578
|
+
let container = try decoder.singleValueContainer()
|
|
579
|
+
if !container.decodeNil() {
|
|
580
|
+
throw DecodingError.typeMismatch(JSONNull.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for JSONNull"))
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
public func encode(to encoder: Encoder) throws {
|
|
585
|
+
var container = encoder.singleValueContainer()
|
|
586
|
+
try container.encodeNil()
|
|
587
|
+
}
|
|
588
|
+
}`)),this._needAny&&(this.ensureBlankLine(),this.emitMultiline(`class JSONCodingKey: CodingKey {
|
|
589
|
+
let key: String
|
|
590
|
+
|
|
591
|
+
required init?(intValue: Int) {
|
|
592
|
+
return nil
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
required init?(stringValue: String) {
|
|
596
|
+
key = stringValue
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
var intValue: Int? {
|
|
600
|
+
return nil
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
var stringValue: String {
|
|
604
|
+
return key
|
|
605
|
+
}
|
|
606
|
+
}`),this.ensureBlankLine(),this._options.objcSupport?this.emitLine(this.objcMembersDeclaration,this.accessLevel,"class JSONAny: NSObject, Codable {"):this.emitLine(this.accessLevel,"class JSONAny: Codable {"),this.ensureBlankLine(),this.emitMultiline(` ${this.accessLevel}let value: Any
|
|
607
|
+
|
|
608
|
+
static func decodingError(forCodingPath codingPath: [CodingKey]) -> DecodingError {
|
|
609
|
+
let context = DecodingError.Context(codingPath: codingPath, debugDescription: "Cannot decode JSONAny")
|
|
610
|
+
return DecodingError.typeMismatch(JSONAny.self, context)
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
static func encodingError(forValue value: Any, codingPath: [CodingKey]) -> EncodingError {
|
|
614
|
+
let context = EncodingError.Context(codingPath: codingPath, debugDescription: "Cannot encode JSONAny")
|
|
615
|
+
return EncodingError.invalidValue(value, context)
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
static func decode(from container: SingleValueDecodingContainer) throws -> Any {
|
|
619
|
+
if let value = try? container.decode(Bool.self) {
|
|
620
|
+
return value
|
|
621
|
+
}
|
|
622
|
+
if let value = try? container.decode(Int64.self) {
|
|
623
|
+
return value
|
|
624
|
+
}
|
|
625
|
+
if let value = try? container.decode(Double.self) {
|
|
626
|
+
return value
|
|
627
|
+
}
|
|
628
|
+
if let value = try? container.decode(String.self) {
|
|
629
|
+
return value
|
|
630
|
+
}
|
|
631
|
+
if container.decodeNil() {
|
|
632
|
+
return JSONNull()
|
|
633
|
+
}
|
|
634
|
+
throw decodingError(forCodingPath: container.codingPath)
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
static func decode(from container: inout UnkeyedDecodingContainer) throws -> Any {
|
|
638
|
+
if let value = try? container.decode(Bool.self) {
|
|
639
|
+
return value
|
|
640
|
+
}
|
|
641
|
+
if let value = try? container.decode(Int64.self) {
|
|
642
|
+
return value
|
|
643
|
+
}
|
|
644
|
+
if let value = try? container.decode(Double.self) {
|
|
645
|
+
return value
|
|
646
|
+
}
|
|
647
|
+
if let value = try? container.decode(String.self) {
|
|
648
|
+
return value
|
|
649
|
+
}
|
|
650
|
+
if let value = try? container.decodeNil() {
|
|
651
|
+
if value {
|
|
652
|
+
return JSONNull()
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
if var container = try? container.nestedUnkeyedContainer() {
|
|
656
|
+
return try decodeArray(from: &container)
|
|
657
|
+
}
|
|
658
|
+
if var container = try? container.nestedContainer(keyedBy: JSONCodingKey.self) {
|
|
659
|
+
return try decodeDictionary(from: &container)
|
|
660
|
+
}
|
|
661
|
+
throw decodingError(forCodingPath: container.codingPath)
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
static func decode(from container: inout KeyedDecodingContainer<JSONCodingKey>, forKey key: JSONCodingKey) throws -> Any {
|
|
665
|
+
if let value = try? container.decode(Bool.self, forKey: key) {
|
|
666
|
+
return value
|
|
667
|
+
}
|
|
668
|
+
if let value = try? container.decode(Int64.self, forKey: key) {
|
|
669
|
+
return value
|
|
670
|
+
}
|
|
671
|
+
if let value = try? container.decode(Double.self, forKey: key) {
|
|
672
|
+
return value
|
|
673
|
+
}
|
|
674
|
+
if let value = try? container.decode(String.self, forKey: key) {
|
|
675
|
+
return value
|
|
676
|
+
}
|
|
677
|
+
if let value = try? container.decodeNil(forKey: key) {
|
|
678
|
+
if value {
|
|
679
|
+
return JSONNull()
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
if var container = try? container.nestedUnkeyedContainer(forKey: key) {
|
|
683
|
+
return try decodeArray(from: &container)
|
|
684
|
+
}
|
|
685
|
+
if var container = try? container.nestedContainer(keyedBy: JSONCodingKey.self, forKey: key) {
|
|
686
|
+
return try decodeDictionary(from: &container)
|
|
687
|
+
}
|
|
688
|
+
throw decodingError(forCodingPath: container.codingPath)
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
static func decodeArray(from container: inout UnkeyedDecodingContainer) throws -> [Any] {
|
|
692
|
+
var arr: [Any] = []
|
|
693
|
+
while !container.isAtEnd {
|
|
694
|
+
let value = try decode(from: &container)
|
|
695
|
+
arr.append(value)
|
|
696
|
+
}
|
|
697
|
+
return arr
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
static func decodeDictionary(from container: inout KeyedDecodingContainer<JSONCodingKey>) throws -> [String: Any] {
|
|
701
|
+
var dict = [String: Any]()
|
|
702
|
+
for key in container.allKeys {
|
|
703
|
+
let value = try decode(from: &container, forKey: key)
|
|
704
|
+
dict[key.stringValue] = value
|
|
705
|
+
}
|
|
706
|
+
return dict
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
static func encode(to container: inout UnkeyedEncodingContainer, array: [Any]) throws {
|
|
710
|
+
for value in array {
|
|
711
|
+
if let value = value as? Bool {
|
|
712
|
+
try container.encode(value)
|
|
713
|
+
} else if let value = value as? Int64 {
|
|
714
|
+
try container.encode(value)
|
|
715
|
+
} else if let value = value as? Double {
|
|
716
|
+
try container.encode(value)
|
|
717
|
+
} else if let value = value as? String {
|
|
718
|
+
try container.encode(value)
|
|
719
|
+
} else if value is JSONNull {
|
|
720
|
+
try container.encodeNil()
|
|
721
|
+
} else if let value = value as? [Any] {
|
|
722
|
+
var container = container.nestedUnkeyedContainer()
|
|
723
|
+
try encode(to: &container, array: value)
|
|
724
|
+
} else if let value = value as? [String: Any] {
|
|
725
|
+
var container = container.nestedContainer(keyedBy: JSONCodingKey.self)
|
|
726
|
+
try encode(to: &container, dictionary: value)
|
|
727
|
+
} else {
|
|
728
|
+
throw encodingError(forValue: value, codingPath: container.codingPath)
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
static func encode(to container: inout KeyedEncodingContainer<JSONCodingKey>, dictionary: [String: Any]) throws {
|
|
734
|
+
for (key, value) in dictionary {
|
|
735
|
+
let key = JSONCodingKey(stringValue: key)!
|
|
736
|
+
if let value = value as? Bool {
|
|
737
|
+
try container.encode(value, forKey: key)
|
|
738
|
+
} else if let value = value as? Int64 {
|
|
739
|
+
try container.encode(value, forKey: key)
|
|
740
|
+
} else if let value = value as? Double {
|
|
741
|
+
try container.encode(value, forKey: key)
|
|
742
|
+
} else if let value = value as? String {
|
|
743
|
+
try container.encode(value, forKey: key)
|
|
744
|
+
} else if value is JSONNull {
|
|
745
|
+
try container.encodeNil(forKey: key)
|
|
746
|
+
} else if let value = value as? [Any] {
|
|
747
|
+
var container = container.nestedUnkeyedContainer(forKey: key)
|
|
748
|
+
try encode(to: &container, array: value)
|
|
749
|
+
} else if let value = value as? [String: Any] {
|
|
750
|
+
var container = container.nestedContainer(keyedBy: JSONCodingKey.self, forKey: key)
|
|
751
|
+
try encode(to: &container, dictionary: value)
|
|
752
|
+
} else {
|
|
753
|
+
throw encodingError(forValue: value, codingPath: container.codingPath)
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
static func encode(to container: inout SingleValueEncodingContainer, value: Any) throws {
|
|
759
|
+
if let value = value as? Bool {
|
|
760
|
+
try container.encode(value)
|
|
761
|
+
} else if let value = value as? Int64 {
|
|
762
|
+
try container.encode(value)
|
|
763
|
+
} else if let value = value as? Double {
|
|
764
|
+
try container.encode(value)
|
|
765
|
+
} else if let value = value as? String {
|
|
766
|
+
try container.encode(value)
|
|
767
|
+
} else if value is JSONNull {
|
|
768
|
+
try container.encodeNil()
|
|
769
|
+
} else {
|
|
770
|
+
throw encodingError(forValue: value, codingPath: container.codingPath)
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
public required init(from decoder: Decoder) throws {
|
|
775
|
+
if var arrayContainer = try? decoder.unkeyedContainer() {
|
|
776
|
+
self.value = try JSONAny.decodeArray(from: &arrayContainer)
|
|
777
|
+
} else if var container = try? decoder.container(keyedBy: JSONCodingKey.self) {
|
|
778
|
+
self.value = try JSONAny.decodeDictionary(from: &container)
|
|
779
|
+
} else {
|
|
780
|
+
let container = try decoder.singleValueContainer()
|
|
781
|
+
self.value = try JSONAny.decode(from: container)
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
public func encode(to encoder: Encoder) throws {
|
|
786
|
+
if let arr = self.value as? [Any] {
|
|
787
|
+
var container = encoder.unkeyedContainer()
|
|
788
|
+
try JSONAny.encode(to: &container, array: arr)
|
|
789
|
+
} else if let dict = self.value as? [String: Any] {
|
|
790
|
+
var container = encoder.container(keyedBy: JSONCodingKey.self)
|
|
791
|
+
try JSONAny.encode(to: &container, dictionary: dict)
|
|
792
|
+
} else {
|
|
793
|
+
var container = encoder.singleValueContainer()
|
|
794
|
+
try JSONAny.encode(to: &container, value: self.value)
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
}`)),this.endFile()}}forbiddenNamesForGlobalNamespace(){return this._options.alamofire?["DataRequest",...G]:G}forbiddenForObjectProperties(p,a){return{names:["fromURL","json"],includeGlobalForbidden:!0}}forbiddenForEnumCases(p,a){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(p,a){return{names:[],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return(0,l.funPrefixNamer)("upper",p=>A(this._options.namedTypePrefix,!0,p,(0,P.acronymStyle)(this._options.acronymStyle)))}namerForObjectProperty(){return this.lowerNamingFunction}makeUnionMemberNamer(){return this.lowerNamingFunction}makeEnumCaseNamer(){return this.lowerNamingFunction}isImplicitCycleBreaker(p){const a=p.kind;return a==="array"||a==="map"}emitDescriptionBlock(p){this.emitCommentLines(p,{lineStart:"/// "})}emitBlock(p,a){this.emitLine(p," {"),this.indent(a),this.emitLine("}")}emitBlockWithAccess(p,a){this.emitBlock([this.accessLevel,p],a)}justTypesCase(p,a){return this._options.justTypes?p:a}get lowerNamingFunction(){return(0,l.funPrefixNamer)("lower",p=>A("",!1,p,(0,P.acronymStyle)(this._options.acronymStyle)))}swiftPropertyType(p){return p.isOptional||this._options.optionalEnums&&p.type.kind==="enum"?[this.swiftType(p.type,!0,!0),"?"]:this.swiftType(p.type,!0)}swiftType(p,a=!1,o=!1){const f=o?"":"?";return(0,u.matchType)(p,h=>(this._needAny=!0,(0,y.maybeAnnotated)(a,T.anyTypeIssueAnnotation,this.justTypesCase(["Any",f],"JSONAny"))),h=>(this._needNull=!0,(0,y.maybeAnnotated)(a,T.nullTypeIssueAnnotation,this.justTypesCase("NSNull",["JSONNull",f]))),h=>"Bool",h=>"Int",h=>"Double",h=>"String",h=>["[",this.swiftType(h.items,a),"]"],h=>this.nameForNamedType(h),h=>["[String: ",this.swiftType(h.values,a),"]"],h=>this.nameForNamedType(h),h=>{const w=(0,u.nullableFromUnion)(h);return w!==null?[this.swiftType(w,a),f]:this.nameForNamedType(h)},h=>h.kind==="date-time"?"Date":(0,I.panic)(`Transformed string type ${h.kind} not supported`))}proposedUnionMemberNameForTypeKind(p){return p==="enum"?"enumeration":p==="union"?"one_of":null}renderSingleFileHeaderComments(){this.emitLineOnce("// This file was generated from JSON Schema using quicktype, do not modify it directly."),this.emitLineOnce("// To parse the JSON, add this file to your project and do:"),this.emitLineOnce("//"),this.forEachTopLevel("none",(p,a)=>{this._options.convenienceInitializers&&!(p instanceof r.EnumType)?this.emitLineOnce("// let ",(0,y.modifySource)(O.camelCase,a)," = try ",a,"(json)"):this.emitLineOnce("// let ",(0,y.modifySource)(O.camelCase,a)," = ","try? JSONDecoder().decode(",a,".self, from: jsonData)")})}renderHeader(p,a){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this._options.justTypes||(this._options.multiFileOutput&&(this.emitLineOnce("// This file was generated from JSON Schema using quicktype, do not modify it directly."),this.emitLineOnce("// To parse the JSON, add this file to your project and do:"),this.emitLineOnce("//"),this._options.convenienceInitializers&&!(p instanceof r.EnumType)?this.emitLine("// let ",(0,y.modifySource)(O.camelCase,a)," = try ",a,"(json)"):this.emitLine("// let ",(0,y.modifySource)(O.camelCase,a)," = ","try? newJSONDecoder().decode(",a,".self, from: jsonData)")),this._options.alamofire&&(this.emitLine("//"),this.emitLine("// To parse values from Alamofire responses:"),this.emitLine("//"),this.emitLine("// Alamofire.request(url).response",a," { response in"),this.emitLine("// if let ",(0,y.modifySource)(O.camelCase,a)," = response.result.value {"),this.emitLine("// ..."),this.emitLine("// }"),this.emitLine("// }")),(this._options.protocol.hashable||this._options.protocol.equatable)&&(this.emitLine("//"),this.emitLine("// Hashable or Equatable:"),this.emitLine("// The compiler will not be able to synthesize the implementation of Hashable or Equatable"),this.emitLine("// for types that require the use of JSONAny, nor will the implementation of Hashable be"),this.emitLine("// synthesized for types that have collections (such as arrays or dictionaries)."))),this.ensureBlankLine(),this.emitLineOnce("import Foundation"),!this._options.justTypes&&this._options.alamofire&&this.emitLineOnce("import Alamofire"),this._options.optionalEnums&&this.emitLineOnce("import OptionallyDecodable // https://github.com/idrougge/OptionallyDecodable"),this.ensureBlankLine()}renderTopLevelAlias(p,a){this.emitLine(this.accessLevel,"typealias ",a," = ",this.swiftType(p,!0))}getProtocolsArray(p){const a=[],o=p==="class";return o&&this._options.objcSupport&&a.push("NSObject"),this._options.justTypes||a.push("Codable"),this._options.protocol.hashable&&a.push("Hashable"),this._options.protocol.equatable&&a.push("Equatable"),this._options.sendable&&(!this._options.mutableProperties||!o)&&!this._options.objcSupport&&a.push("Sendable"),a}getProtocolString(p,a=void 0){let o=this.getProtocolsArray(p);return a&&o.unshift(a),o.length>0?": "+o.join(", "):""}getEnumPropertyGroups(p){let a=[],o=[];return this.forEachClassProperty(p,"none",(f,h)=>{const w=_(h),N=this.sourcelikeToString(f)===w;this._options.dense&&N?o.push({name:f}):(o.length>0&&(a.push(o),o=[]),a.push([{name:f,label:w}]))}),o.length>0&&a.push(o),a}get accessLevel(){return this._options.accessLevel==="internal"?"":this._options.accessLevel+" "}get objcMembersDeclaration(){return this._options.objcSupport?"@objcMembers ":""}startFile(p){this._options.multiFileOutput!==!1&&((0,n.assert)(this._currentFilename===void 0,"Previous file wasn't finished: "+this._currentFilename),this._currentFilename=`${this.sourcelikeToString(p)}.swift`,this.initializeEmitContextForFilename(this._currentFilename))}endFile(){this._options.multiFileOutput!==!1&&(this.finishFile((0,n.defined)(this._currentFilename)),this._currentFilename=void 0)}propertyLinesDefinition(p,a){const o=this._options.mutableProperties;return[this.accessLevel,o?"var ":"let ",p,": ",this.swiftPropertyType(a)]}renderClassDefinition(p,a){this.startFile(a),this.renderHeader(p,a),this.emitDescription(this.descriptionForType(p)),this.emitMark(this.sourcelikeToString(a),!0);const o=this._options.useClasses||this.isCycleBreakerType(p),f=o?"class":"struct";o&&this._options.objcSupport&&this.emitItem(this.objcMembersDeclaration),this.emitBlockWithAccess([f," ",a,this.getProtocolString(f)],()=>{if(this._options.dense){let h,w=[];const N=()=>{if(h===void 0)return;const F=this._options.mutableProperties;let B=[[this._options.optionalEnums&&h.type.kind==="enum"?"@OptionallyDecodable ":"",this.accessLevel,F||this._options.optionalEnums&&h.type.kind==="enum"?"var ":"let "]];w.forEach((W,Q)=>{Q>0&&B.push(", "),B.push(W)}),B.push(": "),B.push(this.swiftPropertyType(h)),this.emitLine(B),h=void 0,w=[]};this.forEachClassProperty(p,"none",(F,B,W)=>{const Q=this.descriptionForClassProperty(p,B);(!W.equals(h)||w.length>=m||Q!==void 0)&&N(),h===void 0&&(h=W),w.push(F),Q!==void 0&&(this.emitDescription(Q),N())}),N()}else this.forEachClassProperty(p,"none",(h,w,N)=>{const F=this.descriptionForClassProperty(p,w),B=this.propertyLinesDefinition(h,N);this.emitDescription(F),this.emitLine(B)});if(!this._options.justTypes){const h=this.getEnumPropertyGroups(p);if(!h.every(N=>N.every(F=>F.label===void 0))&&p.getProperties().size>0){this.ensureBlankLine();let N=this.accessLevel;N+="enum CodingKeys: String, CodingKey",this._options.codingKeysProtocol&&this._options.codingKeysProtocol.length>0&&(N+=", ",N+=this._options.codingKeysProtocol),this.emitBlock(N,()=>{for(const F of h){const{name:B,label:W}=F[0];if(this._options.explicitCodingKeys&&W!==void 0)this.emitLine("case ",B,' = "',W,'"');else{const Q=(0,t.arrayIntercalate)(", ",F.map(z=>z.name));this.emitLine("case ",Q)}}})}}if(o||this._options.accessLevel==="public"){this.ensureBlankLine();let h=this.initializableProperties(p),w=[];for(let N of h)w.length>0&&w.push(", "),w.push(N.name,": ",this.swiftPropertyType(N.parameter));this.propertyCount(p)===0&&this._options.objcSupport?this.emitBlockWithAccess(["override init()"],()=>""):this.emitBlockWithAccess(["init(",...w,")"],()=>{for(let N of h)this.emitLine("self.",N.name," = ",N.name)})}}),this._options.justTypes||this._options.convenienceInitializers&&(this.ensureBlankLine(),this.emitMark(this.sourcelikeToString(a)+" convenience initializers and mutators"),this.ensureBlankLine(),this.emitConvenienceInitializersExtension(p,a),this.ensureBlankLine()),this.endFile()}initializableProperties(p){const a=[];return this.forEachClassProperty(p,"none",(o,f,h,w)=>{const N={name:o,jsonName:f,parameter:h,position:w};a.push(N)}),a}emitNewEncoderDecoder(){this.emitBlock("func newJSONDecoder() -> JSONDecoder",()=>{this.emitLine("let decoder = JSONDecoder()"),this._options.linux?this.emitMultiline(`decoder.dateDecodingStrategy = .custom({ (decoder) -> Date in
|
|
798
|
+
let container = try decoder.singleValueContainer()
|
|
799
|
+
let dateStr = try container.decode(String.self)
|
|
800
|
+
|
|
801
|
+
let formatter = DateFormatter()
|
|
802
|
+
formatter.calendar = Calendar(identifier: .iso8601)
|
|
803
|
+
formatter.locale = Locale(identifier: "en_US_POSIX")
|
|
804
|
+
formatter.timeZone = TimeZone(secondsFromGMT: 0)
|
|
805
|
+
formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSXXXXX"
|
|
806
|
+
if let date = formatter.date(from: dateStr) {
|
|
807
|
+
return date
|
|
808
|
+
}
|
|
809
|
+
formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ssXXXXX"
|
|
810
|
+
if let date = formatter.date(from: dateStr) {
|
|
811
|
+
return date
|
|
812
|
+
}
|
|
813
|
+
throw DecodingError.typeMismatch(Date.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Could not decode date"))
|
|
814
|
+
})`):this.emitBlock("if #available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)",()=>{this.emitLine("decoder.dateDecodingStrategy = .iso8601")}),this.emitLine("return decoder")}),this.ensureBlankLine(),this.emitBlock("func newJSONEncoder() -> JSONEncoder",()=>{this.emitLine("let encoder = JSONEncoder()"),this._options.linux?this.emitMultiline(`let formatter = DateFormatter()
|
|
815
|
+
formatter.calendar = Calendar(identifier: .iso8601)
|
|
816
|
+
formatter.locale = Locale(identifier: "en_US_POSIX")
|
|
817
|
+
formatter.timeZone = TimeZone(secondsFromGMT: 0)
|
|
818
|
+
formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ssXXXXX"
|
|
819
|
+
encoder.dateEncodingStrategy = .formatted(formatter)`):this.emitBlock("if #available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)",()=>{this.emitLine("encoder.dateEncodingStrategy = .iso8601")}),this.emitLine("return encoder")})}emitConvenienceInitializersExtension(p,a){const o=this._options.useClasses||this.isCycleBreakerType(p),f=o?"convenience ":"";this.emitBlockWithAccess(["extension ",a],()=>{o?this.emitBlock("convenience init(data: Data) throws",()=>{this.propertyCount(p)>0?this.emitLine("let me = try newJSONDecoder().decode(",this.swiftType(p),".self, from: data)"):this.emitLine("let _ = try newJSONDecoder().decode(",this.swiftType(p),".self, from: data)");let h=[];this.forEachClassProperty(p,"none",w=>{h.length>0&&h.push(", "),h.push(w,": ","me.",w)}),this.emitLine("self.init(",...h,")")}):this.emitBlock("init(data: Data) throws",()=>{this.emitLine("self = try newJSONDecoder().decode(",this.swiftType(p),".self, from: data)")}),this.ensureBlankLine(),this.emitBlock([f,"init(_ json: String, using encoding: String.Encoding = .utf8) throws"],()=>{this.emitBlock("guard let data = json.data(using: encoding) else",()=>{this.emitLine('throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)')}),this.emitLine("try self.init(data: data)")}),this.ensureBlankLine(),this.emitBlock([f,"init(fromURL url: URL) throws"],()=>{this.emitLine("try self.init(data: try Data(contentsOf: url))")}),this.ensureBlankLine(),this.emitConvenienceMutator(p,a),this.ensureBlankLine(),this.emitBlock("func jsonData() throws -> Data",()=>{this.emitLine("return try newJSONEncoder().encode(self)")}),this.ensureBlankLine(),this.emitBlock("func jsonString(encoding: String.Encoding = .utf8) throws -> String?",()=>{this.emitLine("return String(data: try self.jsonData(), encoding: encoding)")})})}renderEnumDefinition(p,a){this.startFile(a),this.emitLineOnce("import Foundation"),this.ensureBlankLine(),this.emitDescription(this.descriptionForType(p));const o=this.getProtocolString("enum","String");this._options.justTypes?this.emitBlockWithAccess(["enum ",a,o],()=>{this.forEachEnumCase(p,"none",f=>{this.emitLine("case ",f)})}):this.emitBlockWithAccess(["enum ",a,o],()=>{this.forEachEnumCase(p,"none",(f,h)=>{this.emitLine("case ",f,' = "',_(h),'"')})}),this.endFile()}renderUnionDefinition(p,a){this.startFile(a),this.emitLineOnce("import Foundation"),this.ensureBlankLine();function o(F){const B=F.kind;return B==="class"?B:"_"+B}const f=F=>{this.emitBlock(["if let x = try? container.decode(",this.swiftType(F),".self)"],()=>{this.emitLine("self = .",this.nameForUnionMember(p,F),"(x)"),this.emitLine("return")})};this.emitDescription(this.descriptionForType(p));const h=this.isCycleBreakerType(p)?"indirect ":"",[w,N]=(0,u.removeNullFromUnion)(p,o);this.emitBlockWithAccess([h,"enum ",a,this.getProtocolString("enum")],()=>{this.forEachUnionMember(p,N,"none",null,(F,B)=>{this.emitLine("case ",F,"(",this.swiftType(B),")")}),w!==null&&this.emitLine("case ",this.nameForUnionMember(p,w)),this._options.justTypes||(this.ensureBlankLine(),this.emitBlockWithAccess("init(from decoder: Decoder) throws",()=>{this.emitLine("let container = try decoder.singleValueContainer()");const F=p.findMember("bool");F!==void 0&&f(F);const B=p.findMember("integer");B!==void 0&&f(B);for(const W of N)W.kind==="bool"||W.kind==="integer"||f(W);w!==null&&this.emitBlock("if container.decodeNil()",()=>{this.emitLine("self = .",this.nameForUnionMember(p,w)),this.emitLine("return")}),this.emitDecodingError(a)}),this.ensureBlankLine(),this.emitBlockWithAccess("func encode(to encoder: Encoder) throws",()=>{this.emitLine("var container = encoder.singleValueContainer()"),this.emitLine("switch self {"),this.forEachUnionMember(p,N,"none",null,(F,B)=>{this.emitLine("case .",F,"(let x):"),this.indent(()=>this.emitLine("try container.encode(x)"))}),w!==null&&(this.emitLine("case .",this.nameForUnionMember(p,w),":"),this.indent(()=>this.emitLine("try container.encodeNil()"))),this.emitLine("}")}))}),this.endFile()}emitTopLevelMapAndArrayConvenienceInitializerExtensions(p,a){let o;if(p instanceof r.ArrayType)o=["Array where Element == ",a,".Element"];else if(p instanceof r.MapType)o=["Dictionary where Key == String, Value == ",this.swiftType(p.values)];else return;this.emitBlockWithAccess(["extension ",o],()=>{this.emitBlock(["init(data: Data) throws"],()=>{this.emitLine("self = try newJSONDecoder().decode(",a,".self, from: data)")}),this.ensureBlankLine(),this.emitBlock("init(_ json: String, using encoding: String.Encoding = .utf8) throws",()=>{this.emitBlock("guard let data = json.data(using: encoding) else",()=>{this.emitLine('throw NSError(domain: "JSONDecoding", code: 0, userInfo: nil)')}),this.emitLine("try self.init(data: data)")}),this.ensureBlankLine(),this.emitBlock("init(fromURL url: URL) throws",()=>{this.emitLine("try self.init(data: try Data(contentsOf: url))")}),this.ensureBlankLine(),this.emitBlock("func jsonData() throws -> Data",()=>{this.emitLine("return try newJSONEncoder().encode(self)")}),this.ensureBlankLine(),this.emitBlock("func jsonString(encoding: String.Encoding = .utf8) throws -> String?",()=>{this.emitLine("return String(data: try self.jsonData(), encoding: encoding)")})})}emitDecodingError(p){this.emitLine("throw DecodingError.typeMismatch(",p,'.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for ',p,'"))')}emitConvenienceMutator(p,a){this.emitLine("func with("),this.indent(()=>{this.forEachClassProperty(p,"none",(o,f,h,w)=>{this.emitLine(o,": ",this.swiftPropertyType(h),"? = nil",w!=="only"&&w!=="last"?",":"")})}),this.emitBlock([") -> ",a],()=>{this.emitLine("return ",a,"("),this.indent(()=>{this.forEachClassProperty(p,"none",(o,f,h,w)=>{this.emitLine(o,": ",o," ?? self.",o,w!=="only"&&w!=="last"?",":"")})}),this.emitLine(")")})}emitMark(p,a=!1){this.emitLine("// MARK:",a?" - ":" ",p)}emitSourceStructure(){this._options.multiFileOutput===!1&&this.renderSingleFileHeaderComments(),this.forEachNamedType("leading-and-interposing",(p,a)=>this.renderClassDefinition(p,a),(p,a)=>this.renderEnumDefinition(p,a),(p,a)=>this.renderUnionDefinition(p,a)),this._options.justTypes||this.emitSupportFunctions4()}emitAlamofireExtension(){this.ensureBlankLine(),this.emitBlockWithAccess("extension DataRequest",()=>{this.emitMultiline(`fileprivate func decodableResponseSerializer<T: Decodable>() -> DataResponseSerializer<T> {
|
|
820
|
+
return DataResponseSerializer { _, response, data, error in
|
|
821
|
+
guard error == nil else { return .failure(error!) }
|
|
822
|
+
|
|
823
|
+
guard let data = data else {
|
|
824
|
+
return .failure(AFError.responseSerializationFailed(reason: .inputDataNil))
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
return Result { try newJSONDecoder().decode(T.self, from: data) }
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
@discardableResult
|
|
832
|
+
fileprivate func responseDecodable<T: Decodable>(queue: DispatchQueue? = nil, completionHandler: @escaping (DataResponse<T>) -> Void) -> Self {
|
|
833
|
+
return response(queue: queue, responseSerializer: decodableResponseSerializer(), completionHandler: completionHandler)
|
|
834
|
+
}`),this.ensureBlankLine(),this.forEachTopLevel("leading-and-interposing",(p,a)=>{this.emitLine("@discardableResult"),this.emitBlock(["func response",a,"(queue: DispatchQueue? = nil, completionHandler: @escaping (DataResponse<",a,">) -> Void) -> Self"],()=>{this.emitLine("return responseDecodable(queue: queue, completionHandler: completionHandler)")})})})}}e.SwiftRenderer=L})(Vp);var Kp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.KotlinXRenderer=e.KotlinJacksonRenderer=e.KotlinKlaxonRenderer=e.KotlinRenderer=e.KotlinTargetLanguage=e.kotlinOptions=e.Framework=void 0;const t=He,n=jt,i=Et,r=qe,u=dt,l=et,d=St(),y=Ie,T=Lt,S=lt(),O=ot(),I=Tr();var k;(function(g){g[g.None=0]="None",g[g.Jackson=1]="Jackson",g[g.Klaxon=2]="Klaxon",g[g.KotlinX=3]="KotlinX"})(k=e.Framework||(e.Framework={})),e.kotlinOptions={framework:new u.EnumOption("framework","Serialization framework",[["just-types",k.None],["jackson",k.Jackson],["klaxon",k.Klaxon],["kotlinx",k.KotlinX]],"klaxon"),acronymStyle:(0,I.acronymOption)(I.AcronymStyleOptions.Pascal),packageName:new u.StringOption("package","Package","PACKAGE","quicktype")};class P extends T.TargetLanguage{constructor(){super("Kotlin",["kotlin"],"kt")}getOptions(){return[e.kotlinOptions.framework,e.kotlinOptions.acronymStyle,e.kotlinOptions.packageName]}get supportsOptionalClassProperties(){return!0}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(p,a){const o=(0,u.getOptionValues)(e.kotlinOptions,a);switch(o.framework){case k.None:return new A(this,p,o);case k.Jackson:return new _(this,p,o);case k.Klaxon:return new b(this,p,o);case k.KotlinX:return new L(this,p,o);default:return(0,y.assertNever)(o.framework)}}}e.KotlinTargetLanguage=P;const m=["package","as","typealias","class","this","super","val","var","fun","for","null","true","false","is","in","throw","return","break","continue","object","if","try","else","while","do","when","interface","typeof","klaxon","toJson","Any","Boolean","Double","Float","Long","Int","Short","System","Byte","String","Array","List","Map","Enum","Class","JsonObject","JsonValue","Converter","Klaxon"];function C(g){return(0,d.isLetterOrUnderscore)(g)||(0,d.isNumeric)(g)}function J(g){return C(g)&&!(0,d.isDigit)(g)}const x=(0,d.legalizeCharacters)(C);function G(g,p,a=d.allUpperWordStyle){const o=(0,d.splitIntoWords)(p);return(0,d.combineWords)(o,x,g?d.firstUpperWordStyle:d.allLowerWordStyle,d.firstUpperWordStyle,g?d.allUpperWordStyle:d.allLowerWordStyle,a,"",J)}function K(g){return"\\u"+(0,d.intToHex)(g,4)}const U=(0,d.utf32ConcatMap)((0,d.escapeNonPrintableMapper)(d.isPrintable,K));function R(g){return U(g).replace(/\$/g,"\\$")}class A extends i.ConvenienceRenderer{constructor(p,a,o){super(p,a),this._kotlinOptions=o}forbiddenNamesForGlobalNamespace(){return m}forbiddenForObjectProperties(p,a){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(p,a){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(p,a){return{names:[],includeGlobalForbidden:!1}}topLevelNameStyle(p){return G(!0,p)}makeNamedTypeNamer(){return(0,r.funPrefixNamer)("upper",p=>G(!0,p,(0,I.acronymStyle)(this._kotlinOptions.acronymStyle)))}namerForObjectProperty(){return(0,r.funPrefixNamer)("lower",p=>G(!1,p,(0,I.acronymStyle)(this._kotlinOptions.acronymStyle)))}makeUnionMemberNamer(){return(0,r.funPrefixNamer)("upper",p=>G(!0,p)+"Value")}makeEnumCaseNamer(){return(0,r.funPrefixNamer)("upper",p=>G(!0,p,(0,I.acronymStyle)(this._kotlinOptions.acronymStyle)))}emitDescriptionBlock(p){this.emitCommentLines(p,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(p,a,o="curly"){const[f,h]=o==="curly"?["{","}"]:o==="paren"?["(",")"]:["{","})"];this.emitLine(p," ",f),this.indent(a),this.emitLine(h)}anySourceType(p){return["Any",p]}arrayType(p,a=!1,o=!1){return["List<",this.kotlinType(p.items,a),">"]}mapType(p,a=!1,o=!1){return["Map<String, ",this.kotlinType(p.values,a),">"]}kotlinType(p,a=!1,o=!1){const f=o?"":"?";return(0,O.matchType)(p,h=>(0,l.maybeAnnotated)(a,n.anyTypeIssueAnnotation,this.anySourceType(f)),h=>(0,l.maybeAnnotated)(a,n.nullTypeIssueAnnotation,this.anySourceType(f)),h=>"Boolean",h=>"Long",h=>"Double",h=>"String",h=>this.arrayType(h,a),h=>this.nameForNamedType(h),h=>this.mapType(h,a),h=>this.nameForNamedType(h),h=>{const w=(0,O.nullableFromUnion)(h);return w!==null?[this.kotlinType(w,a),f]:this.nameForNamedType(h)})}emitUsageHeader(){}emitHeader(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this.emitUsageHeader(),this.ensureBlankLine(),this.emitLine("package ",this._kotlinOptions.packageName),this.ensureBlankLine()}emitTopLevelPrimitive(p,a){const o=this.kotlinType(p);this.emitLine(["typealias ",a," = ",o,""])}emitTopLevelArray(p,a){const o=this.kotlinType(p.items);this.emitLine(["typealias ",a," = ArrayList<",o,">"])}emitTopLevelMap(p,a){const o=this.kotlinType(p.values);this.emitLine(["typealias ",a," = HashMap<String, ",o,">"])}emitEmptyClassDefinition(p,a){this.emitDescription(this.descriptionForType(p)),this.emitClassAnnotations(p,a),this.emitLine("class ",a,"()")}emitClassDefinition(p,a){if(p.getProperties().size===0){this.emitEmptyClassDefinition(p,a);return}const o=f=>f.isOptional?[this.kotlinType(f.type,!0,!0),"?"]:this.kotlinType(f.type,!0);this.emitDescription(this.descriptionForType(p)),this.emitClassAnnotations(p,a),this.emitLine("data class ",a," ("),this.indent(()=>{let f=p.getProperties().size,h=!0;this.forEachClassProperty(p,"none",(w,N,F)=>{const B=F.type.kind==="union"&&(0,O.nullableFromUnion)(F.type)!==null,W=F.isOptional||F.type.kind==="null"||B,Q=--f===0;let z=[];const E=this.descriptionForClassProperty(p,N);E!==void 0&&z.push(()=>this.emitDescription(E)),this.renameAttribute(w,N,!W,z),z.length>0&&!h&&this.ensureBlankLine();for(const j of z)j();this.emitLine("val ",w,": ",o(F),W?" = null":"",Q?"":","),z.length>0&&!Q&&this.ensureBlankLine(),h=!1})}),this.emitClassDefinitionMethods(p,a)}emitClassDefinitionMethods(p,a){this.emitLine(")")}emitClassAnnotations(p,a){}renameAttribute(p,a,o,f){}emitEnumDefinition(p,a){this.emitDescription(this.descriptionForType(p)),this.emitBlock(["enum class ",a],()=>{let o=p.cases.size;this.forEachEnumCase(p,"none",f=>{this.emitLine(f,--o===0?"":",")})})}emitUnionDefinition(p,a){function o(w){const N=w.kind;return N==="class"?N:"_"+N}this.emitDescription(this.descriptionForType(p));const[f,h]=(0,O.removeNullFromUnion)(p,o);this.emitClassAnnotations(p,a),this.emitBlock(["sealed class ",a],()=>{{let w=[];this.forEachUnionMember(p,h,"none",null,(N,F)=>{w.push([["class ",N,"(val value: ",this.kotlinType(F),")"],[" : ",a,"()"]])}),f!==null&&w.push([["class ",this.nameForUnionMember(p,f),"()"],[" : ",a,"()"]]),this.emitTable(w)}this.emitUnionDefinitionMethods(p,h,f,a)})}emitUnionDefinitionMethods(p,a,o,f){}emitSourceStructure(){this.emitHeader(),this.forEachTopLevel("leading",(p,a)=>{p instanceof S.ArrayType?this.emitTopLevelArray(p,a):p instanceof S.MapType?this.emitTopLevelMap(p,a):p.isPrimitive()&&this.emitTopLevelPrimitive(p,a)}),this.forEachNamedType("leading-and-interposing",(p,a)=>this.emitClassDefinition(p,a),(p,a)=>this.emitEnumDefinition(p,a),(p,a)=>this.emitUnionDefinition(p,a))}}e.KotlinRenderer=A;class b extends A{constructor(p,a,o){super(p,a,o)}unionMemberFromJsonValue(p,a){return(0,O.matchType)(p,o=>[a,".inside"],o=>"null",o=>[a,".boolean"],o=>["(",a,".int?.toLong() ?: ",a,".longValue)"],o=>[a,".double"],o=>[a,".string"],o=>[a,".array?.let { klaxon.parseFromJsonArray<",this.kotlinType(o.items),">(it) }"],o=>[a,".obj?.let { klaxon.parseFromJsonObject<",this.kotlinType(p),">(it) }"],o=>[a,".obj?.let { klaxon.parseFromJsonObject<",this.kotlinType(p),">(it) }"],o=>[a,".string?.let { ",this.kotlinType(o),".fromValue(it) }"],o=>(0,y.mustNotHappen)())}unionMemberJsonValueGuard(p,a){return(0,O.matchType)(p,o=>"is Any",o=>"null",o=>"is Boolean",o=>"is Int, is Long",o=>"is Double",o=>"is String",o=>"is JsonArray<*>",o=>"is JsonObject",o=>"is JsonObject",o=>"is String",o=>(0,y.mustNotHappen)())}emitUsageHeader(){this.emitLine("// To parse the JSON, install Klaxon and do:"),this.emitLine("//"),this.forEachTopLevel("none",(p,a)=>{this.emitLine("// val ",(0,l.modifySource)(d.camelCase,a)," = ",a,".fromJson(jsonString)")})}emitHeader(){super.emitHeader(),this.emitLine("import com.beust.klaxon.*");const p=(0,t.iterableSome)(this.typeGraph.allNamedTypes(),f=>f instanceof S.UnionType&&(0,O.nullableFromUnion)(f)===null),a=(0,t.iterableSome)(this.typeGraph.allNamedTypes(),f=>f instanceof S.ClassType&&f.getProperties().size===0);(p||this.haveEnums||a)&&this.emitGenericConverter();let o=[];a&&o.push([[".convert(JsonObject::class,"],[" { it.obj!! },"],[" { it.toJsonString() })"]]),this.forEachEnum("none",(f,h)=>{o.push([[".convert(",h,"::class,"],[" { ",h,".fromValue(it.string!!) },"],[' { "\\"${it.value}\\"" })']])}),this.forEachUnion("none",(f,h)=>{o.push([[".convert(",h,"::class,"],[" { ",h,".fromJson(it) },"],[" { it.toJson() }, true)"]])}),this.ensureBlankLine(),this.emitLine("private val klaxon = Klaxon()"),o.length>0&&this.indent(()=>this.emitTable(o))}emitTopLevelArray(p,a){const o=this.kotlinType(p.items);this.emitBlock(["class ",a,"(elements: Collection<",o,">) : ArrayList<",o,">(elements)"],()=>{this.emitLine("public fun toJson() = klaxon.toJsonString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("public fun fromJson(json: String) = ",a,"(klaxon.parseArray<",o,">(json)!!)")})})}emitTopLevelMap(p,a){const o=this.kotlinType(p.values);this.emitBlock(["class ",a,"(elements: Map<String, ",o,">) : HashMap<String, ",o,">(elements)"],()=>{this.emitLine("public fun toJson() = klaxon.toJsonString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitBlock(["public fun fromJson(json: String) = ",a],()=>{this.emitLine("klaxon.parseJsonObject(java.io.StringReader(json)) as Map<String, ",o,">")},"paren")})})}klaxonRenameAttribute(p,a,o=!1){const f=R(a),h=this.sourcelikeToString(p)!==f,w=[];return h&&w.push(['name = "',f,'"']),o&&w.push("ignored = true"),w.length===0?void 0:["@Json(",(0,t.arrayIntercalate)(", ",w),")"]}emitEmptyClassDefinition(p,a){this.emitDescription(this.descriptionForType(p)),this.emitLine("typealias ",a," = JsonObject")}emitClassDefinitionMethods(p,a){(0,t.iterableSome)(this.topLevels,([f,h])=>h===p)?this.emitBlock(")",()=>{this.emitLine("public fun toJson() = klaxon.toJsonString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("public fun fromJson(json: String) = klaxon.parse<",a,">(json)")})}):this.emitLine(")")}renameAttribute(p,a,o,f){const h=this.klaxonRenameAttribute(p,a);h!==void 0&&f.push(()=>this.emitLine(h))}emitEnumDefinition(p,a){this.emitDescription(this.descriptionForType(p)),this.emitBlock(["enum class ",a,"(val value: String)"],()=>{let o=p.cases.size;this.forEachEnumCase(p,"none",(f,h)=>{this.emitLine(f,`("${R(h)}")`,--o===0?";":",")}),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitBlock(["public fun fromValue(value: String): ",a," = when (value)"],()=>{let f=[];this.forEachEnumCase(p,"none",(h,w)=>{f.push([[`"${R(w)}"`],[" -> ",h]])}),f.push([["else"],[" -> throw IllegalArgumentException()"]]),this.emitTable(f)})})})}emitGenericConverter(){this.ensureBlankLine(),this.emitLine("private fun <T> Klaxon.convert(k: kotlin.reflect.KClass<*>, fromJson: (JsonValue) -> T, toJson: (T) -> String, isUnion: Boolean = false) ="),this.indent(()=>{this.emitLine("this.converter(object: Converter {"),this.indent(()=>{this.emitLine('@Suppress("UNCHECKED_CAST")'),this.emitTable([["override fun toJson(value: Any)"," = toJson(value as T)"],["override fun fromJson(jv: JsonValue)"," = fromJson(jv) as Any"],["override fun canConvert(cls: Class<*>)"," = cls == k.java || (isUnion && cls.superclass == k.java)"]])}),this.emitLine("})")})}emitUnionDefinitionMethods(p,a,o,f){this.ensureBlankLine(),this.emitLine("public fun toJson(): String = klaxon.toJsonString(when (this) {"),this.indent(()=>{let h=[];if(this.forEachUnionMember(p,a,"none",null,w=>{h.push([["is ",w],[" -> this.value"]])}),o!==null){const w=this.nameForUnionMember(p,o);h.push([["is ",w],[' -> "null"']])}this.emitTable(h)}),this.emitLine("})"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("public fun fromJson(jv: JsonValue): ",f," = when (jv.inside) {"),this.indent(()=>{let h=[];if(this.forEachUnionMember(p,a,"none",null,(w,N)=>{h.push([[this.unionMemberJsonValueGuard(N,"jv.inside")],[" -> ",w,"(",this.unionMemberFromJsonValue(N,"jv"),"!!)"]])}),o!==null){const w=this.nameForUnionMember(p,o);h.push([[this.unionMemberJsonValueGuard(o,"jv.inside")],[" -> ",w,"()"]])}h.push([["else"],[" -> throw IllegalArgumentException()"]]),this.emitTable(h)}),this.emitLine("}")})}}e.KotlinKlaxonRenderer=b;class _ extends A{constructor(p,a,o){super(p,a,o)}unionMemberJsonValueGuard(p,a){return(0,O.matchType)(p,o=>"is Any",o=>"null",o=>"is BooleanNode",o=>"is IntNode, is LongNode",o=>"is DoubleNode",o=>"is TextNode",o=>"is ArrayNode",o=>"is ObjectNode",o=>"is ObjectNode",o=>"is TextNode",o=>(0,y.mustNotHappen)())}emitUsageHeader(){this.emitLine("// To parse the JSON, install jackson-module-kotlin and do:"),this.emitLine("//"),this.forEachTopLevel("none",(p,a)=>{this.emitLine("// val ",(0,l.modifySource)(d.camelCase,a)," = ",a,".fromJson(jsonString)")})}emitHeader(){super.emitHeader(),this.emitMultiline(`import com.fasterxml.jackson.annotation.*
|
|
835
|
+
import com.fasterxml.jackson.core.*
|
|
836
|
+
import com.fasterxml.jackson.databind.*
|
|
837
|
+
import com.fasterxml.jackson.databind.deser.std.StdDeserializer
|
|
838
|
+
import com.fasterxml.jackson.databind.module.SimpleModule
|
|
839
|
+
import com.fasterxml.jackson.databind.node.*
|
|
840
|
+
import com.fasterxml.jackson.databind.ser.std.StdSerializer
|
|
841
|
+
import com.fasterxml.jackson.module.kotlin.*`);const p=(0,t.iterableSome)(this.typeGraph.allNamedTypes(),f=>f instanceof S.UnionType&&(0,O.nullableFromUnion)(f)===null),a=(0,t.iterableSome)(this.typeGraph.allNamedTypes(),f=>f instanceof S.ClassType&&f.getProperties().size===0);(p||this.haveEnums||a)&&this.emitGenericConverter();let o=[];this.forEachEnum("none",(f,h)=>{o.push([["convert(",h,"::class,"],[" { ",h,".fromValue(it.asText()) },"],[' { "\\"${it.value}\\"" })']])}),this.forEachUnion("none",(f,h)=>{o.push([["convert(",h,"::class,"],[" { ",h,".fromJson(it) },"],[" { it.toJson() }, true)"]])}),this.ensureBlankLine(),this.emitLine("val mapper = jacksonObjectMapper().apply {"),this.indent(()=>{this.emitLine("propertyNamingStrategy = PropertyNamingStrategy.LOWER_CAMEL_CASE"),this.emitLine("setSerializationInclusion(JsonInclude.Include.NON_NULL)")}),o.length>0&&this.indent(()=>this.emitTable(o)),this.emitLine("}")}emitTopLevelArray(p,a){const o=this.kotlinType(p.items);this.emitBlock(["class ",a,"(elements: Collection<",o,">) : ArrayList<",o,">(elements)"],()=>{this.emitLine("fun toJson() = mapper.writeValueAsString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("fun fromJson(json: String) = mapper.readValue<",a,">(json)")})})}emitTopLevelMap(p,a){const o=this.kotlinType(p.values);this.emitBlock(["class ",a,"(elements: Map<String, ",o,">) : HashMap<String, ",o,">(elements)"],()=>{this.emitLine("fun toJson() = mapper.writeValueAsString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("fun fromJson(json: String) = mapper.readValue<",a,">(json)")})})}jacksonRenameAttribute(p,a,o,f=!1){const h=R(a),w=this.sourcelikeToString(p)!==h,N=[],F=a.startsWith("is"),B=[];return(w||F)&&B.push('"'+h+'"'),o&&B.push("required=true"),B.length>0&&(N.push(["@get:JsonProperty(",(0,t.arrayIntercalate)(", ",B),")"]),N.push(["@field:JsonProperty(",(0,t.arrayIntercalate)(", ",B),")"])),f&&(N.push("@get:JsonIgnore"),N.push("@field:JsonIgnore")),N.length===0?void 0:N}emitEmptyClassDefinition(p,a){this.emitDescription(this.descriptionForType(p)),this.emitLine("typealias ",a," = JsonNode")}emitClassDefinitionMethods(p,a){(0,t.iterableSome)(this.topLevels,([f,h])=>h===p)?this.emitBlock(")",()=>{this.emitLine("fun toJson() = mapper.writeValueAsString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("fun fromJson(json: String) = mapper.readValue<",a,">(json)")})}):this.emitLine(")")}renameAttribute(p,a,o,f){const h=this.jacksonRenameAttribute(p,a,o);h!==void 0&&f.push(()=>this.emitLine(h))}emitEnumDefinition(p,a){this.emitDescription(this.descriptionForType(p)),this.emitBlock(["enum class ",a,"(val value: String)"],()=>{let o=p.cases.size;this.forEachEnumCase(p,"none",(f,h)=>{this.emitLine(f,`("${R(h)}")`,--o===0?";":",")}),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitBlock(["fun fromValue(value: String): ",a," = when (value)"],()=>{let f=[];this.forEachEnumCase(p,"none",(h,w)=>{f.push([[`"${R(w)}"`],[" -> ",h]])}),f.push([["else"],[" -> throw IllegalArgumentException()"]]),this.emitTable(f)})})})}emitGenericConverter(){this.ensureBlankLine(),this.emitMultiline(`
|
|
842
|
+
@Suppress("UNCHECKED_CAST")
|
|
843
|
+
private fun <T> ObjectMapper.convert(k: kotlin.reflect.KClass<*>, fromJson: (JsonNode) -> T, toJson: (T) -> String, isUnion: Boolean = false) = registerModule(SimpleModule().apply {
|
|
844
|
+
addSerializer(k.java as Class<T>, object : StdSerializer<T>(k.java as Class<T>) {
|
|
845
|
+
override fun serialize(value: T, gen: JsonGenerator, provider: SerializerProvider) = gen.writeRawValue(toJson(value))
|
|
846
|
+
})
|
|
847
|
+
addDeserializer(k.java as Class<T>, object : StdDeserializer<T>(k.java as Class<T>) {
|
|
848
|
+
override fun deserialize(p: JsonParser, ctxt: DeserializationContext) = fromJson(p.readValueAsTree())
|
|
849
|
+
})
|
|
850
|
+
})`)}emitUnionDefinitionMethods(p,a,o,f){this.ensureBlankLine(),this.emitLine("fun toJson(): String = mapper.writeValueAsString(when (this) {"),this.indent(()=>{let h=[];if(this.forEachUnionMember(p,a,"none",null,w=>{h.push([["is ",w],[" -> this.value"]])}),o!==null){const w=this.nameForUnionMember(p,o);h.push([["is ",w],[' -> "null"']])}this.emitTable(h)}),this.emitLine("})"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("fun fromJson(jn: JsonNode): ",f," = when (jn) {"),this.indent(()=>{let h=[];if(this.forEachUnionMember(p,a,"none",null,(w,N)=>{h.push([[this.unionMemberJsonValueGuard(N,"jn")],[" -> ",w,"(mapper.treeToValue(jn))"]])}),o!==null){const w=this.nameForUnionMember(p,o);h.push([[this.unionMemberJsonValueGuard(o,"jn")],[" -> ",w,"()"]])}h.push([["else"],[" -> throw IllegalArgumentException()"]]),this.emitTable(h)}),this.emitLine("}")})}}e.KotlinJacksonRenderer=_;class L extends A{constructor(p,a,o){super(p,a,o)}anySourceType(p){return["JsonElement",p]}arrayType(p,a=!1,o=!1){const f=this.kotlinType(p.items,a,!0),h=this.sourcelikeToString(f);return h==="JsonObject"||h==="JsonElement"?"JsonArray":super.arrayType(p,a,o)}mapType(p,a=!1,o=!1){const f=this.kotlinType(p.values,a,!0),h=this.sourcelikeToString(f);return h==="JsonObject"||h==="JsonElement"?"JsonObject":super.mapType(p,a,o)}emitTopLevelMap(p,a){this.kotlinType(p.values)==="JsonObject"?this.emitLine(["typealias ",a," = JsonObject"]):super.emitTopLevelMap(p,a)}emitTopLevelArray(p,a){const o=this.kotlinType(p.items);this.emitLine(["typealias ",a," = JsonArray<",o,">"])}emitUsageHeader(){this.emitLine("// To parse the JSON, install kotlin's serialization plugin and do:"),this.emitLine("//");const p=[];p.push(["// val ","json"," = Json { allowStructuredMapKeys = true }"]),this.forEachTopLevel("none",(a,o)=>{p.push(["// val ",(0,l.modifySource)(d.camelCase,o),` = json.parse(${this.sourcelikeToString(o)}.serializer(), jsonString)`])}),this.emitTable(p)}emitHeader(){super.emitHeader(),this.emitLine("import kotlinx.serialization.*"),this.emitLine("import kotlinx.serialization.json.*"),this.emitLine("import kotlinx.serialization.descriptors.*"),this.emitLine("import kotlinx.serialization.encoding.*")}emitClassAnnotations(p,a){this.emitLine("@Serializable")}renameAttribute(p,a,o,f){const h=this._rename(p,a);h!==void 0&&f.push(()=>this.emitLine(h))}_rename(p,a){const o=R(a);if(this.sourcelikeToString(p)!==o)return['@SerialName("',o,'")']}emitEnumDefinition(p,a){this.emitDescription(this.descriptionForType(p)),this.emitLine(["@Serializable"]),this.emitBlock(["enum class ",a,"(val value: String)"],()=>{let o=p.cases.size;this.forEachEnumCase(p,"none",(f,h)=>{const w=R(h);this.emitLine(`@SerialName("${w}") `,f,`("${w}")`,--o===0?";":",")})})}}e.KotlinXRenderer=L})(Kp);var Zp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scala3TargetLanguage=e.CirceRenderer=e.UpickleRenderer=e.Scala3Renderer=e.scala3Options=e.Framework=void 0;const t=jt,n=Et,i=qe,r=dt,u=et,l=St(),d=Ie,y=Lt,T=lt(),S=ot();var O;(function(L){L[L.None=0]="None",L[L.Upickle=1]="Upickle",L[L.Circe=2]="Circe"})(O=e.Framework||(e.Framework={})),e.scala3Options={framework:new r.EnumOption("framework","Serialization framework",[["just-types",O.None],["circe",O.Circe],["upickle",O.Upickle]],void 0),packageName:new r.StringOption("package","Package","PACKAGE","quicktype")};const I=[":","-","+","!","@","#","$","%","^","&","*","(",")",">","<","/",";","'",'"',"{","}",":","~","`","."],k=["abstract","case","catch","class","def","do","else","enum","extends","export","false","final","finally","for","forSome","if","implicit","import","lazy","match","new","null","object","override","package","private","protected","return","sealed","super","this","then","throw","trait","try","true","type","val","var","while","with","yield","Any","Boolean","Double","Float","Long","Int","Short","System","Byte","String","Array","List","Map","Enum"],P=L=>k.some(g=>L===g)||I.some(g=>L.includes(g))||!isNaN(+parseFloat(L))||!isNaN(parseInt(L.charAt(0))),m=(L,g)=>g?"Option["+L+"]":L;function C(L){return(0,l.isLetterOrUnderscore)(L)||(0,l.isNumeric)(L)}function J(L){return C(L)&&!(0,l.isDigit)(L)}const x=(0,l.legalizeCharacters)(C);function G(L,g){const p=(0,l.splitIntoWords)(g);return(0,l.combineWords)(p,x,L?l.firstUpperWordStyle:l.allLowerWordStyle,l.firstUpperWordStyle,L?l.allUpperWordStyle:l.allLowerWordStyle,l.allUpperWordStyle,"",J)}const K=(0,i.funPrefixNamer)("upper",L=>G(!0,L)),U=(0,i.funPrefixNamer)("lower",L=>G(!1,L));class R extends n.ConvenienceRenderer{constructor(g,p,a){super(g,p),this._scalaOptions=a}forbiddenNamesForGlobalNamespace(){return k}forbiddenForObjectProperties(g,p){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(g,p){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(g,p){return{names:[],includeGlobalForbidden:!1}}topLevelNameStyle(g){return G(!0,g)}makeNamedTypeNamer(){return K}namerForObjectProperty(){return U}makeUnionMemberNamer(){return(0,i.funPrefixNamer)("upper",g=>G(!0,g)+"Value")}makeEnumCaseNamer(){return(0,i.funPrefixNamer)("upper",g=>g.replace(" ",""))}emitDescriptionBlock(g){this.emitCommentLines(g,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(g,p,a="curly"){const[o,f]=a==="curly"?["{","}"]:a==="paren"?["(",")"]:a==="none"?["",""]:["{","})"];this.emitLine(g," ",o),this.indent(p),this.emitLine(f)}anySourceType(g){return[m("Any",g)]}arrayType(g,p=!1){return["Seq[",this.scalaType(g.items,p),"]"]}mapType(g,p=!1){return["Map[String, ",this.scalaType(g.values,p),"]"]}scalaType(g,p=!1,a=!1){return(0,S.matchType)(g,o=>(0,u.maybeAnnotated)(p,t.anyTypeIssueAnnotation,this.anySourceType(!a)),o=>(0,u.maybeAnnotated)(p,t.nullTypeIssueAnnotation,this.anySourceType(!a)),o=>"Boolean",o=>"Long",o=>"Double",o=>"String",o=>this.arrayType(o,p),o=>this.nameForNamedType(o),o=>this.mapType(o,p),o=>this.nameForNamedType(o),o=>{const f=(0,S.nullableFromUnion)(o);return f!==null?a?[this.scalaType(f,p)]:["Option[",this.scalaType(f,p),"]"]:this.nameForNamedType(o)})}emitUsageHeader(){}emitHeader(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this.emitUsageHeader(),this.ensureBlankLine(),this.emitLine("package ",this._scalaOptions.packageName),this.ensureBlankLine()}emitTopLevelArray(g,p){const a=this.scalaType(g.items);this.emitLine(["type ",p," = List[",a,"]"])}emitTopLevelMap(g,p){const a=this.scalaType(g.values);this.emitLine(["type ",p," = Map[String, ",a,"]"])}emitEmptyClassDefinition(g,p){this.emitDescription(this.descriptionForType(g)),this.emitLine("case class ",p,"()")}emitClassDefinition(g,p){if(g.getProperties().size===0){this.emitEmptyClassDefinition(g,p);return}const a=o=>o.isOptional?["Option[",this.scalaType(o.type,!0,!0),"]"]:this.scalaType(o.type,!0);this.emitDescription(this.descriptionForType(g)),this.emitLine("case class ",p," ("),this.indent(()=>{let o=g.getProperties().size,f=!0;this.forEachClassProperty(g,"none",(h,w,N)=>{const F=N.type.kind==="union"&&(0,S.nullableFromUnion)(N.type)!==null,B=N.isOptional||N.type.kind==="null"||F,W=--o===0,Q=[],z=this.descriptionForClassProperty(g,w);z!==void 0&&Q.push(()=>this.emitDescription(z)),Q.length>0&&!f&&this.ensureBlankLine();for(const X of Q)X();const j=w.endsWith("_")||P(w)?"`"+w+"`":w;this.emitLine("val ",j," : ",a(N),N.isOptional||B?" = None":"",W?"":","),Q.length>0&&!W&&this.ensureBlankLine(),f=!1})}),this.emitClassDefinitionMethods()}emitClassDefinitionMethods(){this.emitLine(")")}emitEnumDefinition(g,p){this.emitDescription(this.descriptionForType(g)),this.emitBlock(["enum ",p," : "],()=>{let a=g.cases.size;a>0&&this.emitItem(" case "),this.forEachEnumCase(g,"none",(o,f)=>{if(f!=""){const h=P(f)||f.includes(" ")||!isNaN(parseInt(f.charAt(0)));h&&this.emitItem("`"),this.emitItemOnce([o]),h&&this.emitItem("`"),--a>0&&this.emitItem([","])}else--a})},"none")}emitUnionDefinition(g,p){function a(w){const N=w.kind;return N==="class"?N:"_"+N}this.emitDescription(this.descriptionForType(g));const[o,f]=(0,S.removeNullFromUnion)(g,a),h=[];this.forEachUnionMember(g,f,"none",null,(w,N)=>{h.push(this.scalaType(N))}),o!==null&&h.push(this.nameForUnionMember(g,o)),this.emitItem(["type ",p," = "]),h.forEach((w,N)=>{this.emitItem(N===0?w:[" | ",w])}),this.ensureBlankLine()}emitSourceStructure(){this.emitHeader(),this.forEachTopLevel("leading",(g,p)=>{g instanceof T.ArrayType?this.emitTopLevelArray(g,p):g instanceof T.MapType&&this.emitTopLevelMap(g,p)}),this.forEachNamedType("leading-and-interposing",(g,p)=>this.emitClassDefinition(g,p),(g,p)=>this.emitEnumDefinition(g,p),(g,p)=>this.emitUnionDefinition(g,p))}}e.Scala3Renderer=R;class A extends R{emitClassDefinitionMethods(){this.emitLine(") derives ReadWriter ")}emitHeader(){super.emitHeader(),this.emitLine("import upickle.default.*"),this.ensureBlankLine()}}e.UpickleRenderer=A;class b extends R{constructor(){super(...arguments),this.seenUnionTypes=[]}circeEncoderForType(g,p=!1,a=!1,o=""){return(0,S.matchType)(g,f=>["Encoder.encodeJson(",o,")"],f=>["Encoder.encodeNone(",o,")"],f=>["Encoder.encodeBoolean(",o,")"],f=>["Encoder.encodeLong(",o,")"],f=>["Encoder.encodeDouble(",o,")"],f=>["Encoder.encodeString(",o,")"],f=>["Encoder.encodeSeq[",this.scalaType(f.items),"].apply(",o,")"],f=>["Encoder.AsObject[",this.scalaType(f),"].apply(",o,")"],f=>["Encoder.encodeMap[String,",this.scalaType(f.values),"].apply(",o,")"],f=>["Encoder.encodeString(",o,")"],f=>{const h=(0,S.nullableFromUnion)(f);return h!==null?a?["Encoder.AsObject[",this.nameForNamedType(h),"]"]:["Encoder.AsObject[Option[",this.nameForNamedType(h),"]]"]:["Encoder.AsObject[",this.nameForNamedType(f),"]"]})}emitEmptyClassDefinition(g,p){this.emitDescription(this.descriptionForType(g)),this.ensureBlankLine(),this.emitLine("case class ",p,"() derives Encoder.AsObject, Decoder")}anySourceType(g){return[m("Json",g)]}emitClassDefinitionMethods(){this.emitLine(") derives Encoder.AsObject, Decoder")}emitEnumDefinition(g,p){this.emitDescription(this.descriptionForType(g)),this.ensureBlankLine(),this.emitItem(["type ",p," = "]);let a=g.cases.size;this.forEachEnumCase(g,"none",(o,f)=>{this.emitItem(['"',f,'"']),--a>0&&this.emitItem([" | "])}),this.ensureBlankLine()}emitHeader(){super.emitHeader(),this.emitLine("import scala.util.Try"),this.emitLine("import io.circe.syntax._"),this.emitLine("import io.circe._"),this.emitLine("import cats.syntax.functor._"),this.ensureBlankLine(),this.emitLine("// For serialising string unions"),this.emitLine("given [A <: Singleton](using A <:< String): Decoder[A] = Decoder.decodeString.emapTry(x => Try(x.asInstanceOf[A])) "),this.emitLine("given [A <: Singleton](using ev: A <:< String): Encoder[A] = Encoder.encodeString.contramap(ev) "),this.ensureBlankLine(),this.emitLine("// If a union has a null in, then we'll need this too... "),this.emitLine("type NullValue = None.type")}emitTopLevelArray(g,p){super.emitTopLevelArray(g,p);const a=this.scalaType(g.items);this.emitLine(["given (using ev : ",a,"): Encoder[Map[String,",a,"]] = Encoder.encodeMap[String, ",a,"]"])}emitTopLevelMap(g,p){super.emitTopLevelMap(g,p);const a=this.scalaType(g.values);this.ensureBlankLine(),this.emitLine(["given (using ev : ",a,"): Encoder[Map[String, ",a,"]] = Encoder.encodeMap[String, ",a,"]"])}emitUnionDefinition(g,p){function a(N){const F=N.kind;return F==="class"?F:"_"+F}this.emitDescription(this.descriptionForType(g));const[o,f]=(0,S.removeNullFromUnion)(g,a),h=[];this.forEachUnionMember(g,f,"none",null,(N,F)=>{h.push(this.scalaType(F))}),o!==null&&h.push(this.nameForUnionMember(g,o)),this.emitItem(["type ",p," = "]),h.forEach((N,F)=>{this.emitItem(F===0?N:[" | ",N])});const w=h.map(N=>this.sourcelikeToString(N)).join(" | ");if(this.ensureBlankLine(),!this.seenUnionTypes.some(N=>N===w)){this.seenUnionTypes.push(w);const N=[];this.forEachUnionMember(g,f,"none",null,(F,B)=>{N.push([this.scalaType(B),B])}),o!==null&&N.push([this.nameForUnionMember(g,o),o]),this.emitLine(["given Decoder[",p,"] = {"]),this.indent(()=>{this.emitLine(["List[Decoder[",p,"]]("]),this.indent(()=>{N.forEach(F=>{this.emitLine(["Decoder[",F[0],"].widen,"])})}),this.emitLine(").reduceLeft(_ or _)")}),this.emitLine(["}"]),this.ensureBlankLine(),this.emitLine(["given Encoder[",p,"] = Encoder.instance {"]),this.indent(()=>{N.forEach((F,B)=>{const W=`enc${B.toString()}`;this.emitLine(["case ",W," : ",F[0]," => ",this.circeEncoderForType(F[1],!1,!1,W)])})}),this.emitLine("}")}}}e.CirceRenderer=b;class _ extends y.TargetLanguage{constructor(){super("Scala3",["scala3"],"scala")}getOptions(){return[e.scala3Options.framework,e.scala3Options.packageName]}get supportsOptionalClassProperties(){return!0}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(g,p){const a=(0,r.getOptionValues)(e.scala3Options,p);switch(a.framework){case O.None:return new R(this,g,a);case O.Upickle:return new A(this,g,a);case O.Circe:return new b(this,g,a);default:return(0,d.assertNever)(a.framework)}}}e.Scala3TargetLanguage=_})(Zp);var Qp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SmithyTargetLanguage=e.Smithy4sRenderer=e.SmithyOptions=e.Framework=void 0;const t=jt,n=Et,i=qe,r=dt,u=et,l=St(),d=Ie,y=Lt,T=lt(),S=ot();var O;(function(A){A[A.None=0]="None"})(O=e.Framework||(e.Framework={})),e.SmithyOptions={framework:new r.EnumOption("framework","Serialization framework",[["just-types",O.None]],void 0),packageName:new r.StringOption("package","Package","PACKAGE","quicktype")};const I=[":","-","+","!","@","#","%","^","&","*","(",")",">","<","/",";","'",'"',"{","}",":","~","`","."],k=["abstract","case","catch","do","else","export","false","final","finally","for","forSome","if","implicit","import","new","override","package","private","protected","return","sealed","super","this","then","throw","trait","try","true","val","var","while","with","yield","Any","Boolean","Double","Float","Long","Int","Short","System","Byte","String","Array","List","Map","Enum"],P=A=>k.some(b=>A===b)||I.some(b=>A.includes(b))||!isNaN(parseFloat(A))||!isNaN(parseInt(A.charAt(0)));function m(A){return(0,l.isLetterOrUnderscore)(A)||(0,l.isNumeric)(A)}function C(A){return m(A)&&!(0,l.isDigit)(A)}const J=(0,l.legalizeCharacters)(m);function x(A,b){const _=(0,l.splitIntoWords)(b);return(0,l.combineWords)(_,J,A?l.firstUpperWordStyle:l.allLowerWordStyle,l.firstUpperWordStyle,A?l.allUpperWordStyle:l.allLowerWordStyle,l.allUpperWordStyle,"",C)}const G=(0,i.funPrefixNamer)("upper",A=>x(!0,A)),K=(0,i.funPrefixNamer)("lower",A=>x(!1,A));class U extends n.ConvenienceRenderer{constructor(b,_,L){super(b,_),this._scalaOptions=L}forbiddenNamesForGlobalNamespace(){return k}forbiddenForObjectProperties(b,_){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(b,_){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(b,_){return{names:[],includeGlobalForbidden:!1}}topLevelNameStyle(b){return x(!0,b)}makeNamedTypeNamer(){return G}namerForObjectProperty(){return K}makeUnionMemberNamer(){return(0,i.funPrefixNamer)("upper",b=>x(!0,b)+"Value")}makeEnumCaseNamer(){return(0,i.funPrefixNamer)("upper",b=>b.replace(" ",""))}emitDescriptionBlock(b){this.emitCommentLines(b,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(b,_,L="curly"){const[g,p]=L==="curly"?["{","}"]:L==="paren"?["(",")"]:L==="none"?["",""]:["{","})"];this.emitLine(b," ",g),this.indent(_),this.emitLine(p)}anySourceType(b){return["Document"]}arrayType(b,_=!1){return b.getCombinedName().toString()+"List"}emitArrayType(b,_){this.emitLine(["list ",_," { member : ","}"])}mapType(b,_=!1){return b.getCombinedName().toString()+"Map"}scalaType(b,_=!1,L=!1){return(0,S.matchType)(b,g=>(0,u.maybeAnnotated)(_,t.anyTypeIssueAnnotation,this.anySourceType(!L)),g=>(0,u.maybeAnnotated)(_,t.nullTypeIssueAnnotation,this.anySourceType(!L)),g=>"Boolean",g=>"Long",g=>"Double",g=>"String",g=>this.arrayType(g,_),g=>this.nameForNamedType(g),g=>this.mapType(g,_),g=>this.nameForNamedType(g),g=>{const p=(0,S.nullableFromUnion)(g);return p!==null?[this.scalaType(p,_)]:this.nameForNamedType(g)})}emitUsageHeader(){}emitHeader(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this.emitUsageHeader(),this.ensureBlankLine(),this.emitLine('$version: "2"'),this.emitLine("namespace ",this._scalaOptions.packageName),this.ensureBlankLine(),this.emitLine("document NullValue"),this.ensureBlankLine()}emitTopLevelArray(b,_){const L=this.scalaType(b.items);this.emitLine(["list ",_," { member : ",L,"}"])}emitTopLevelMap(b,_){const L=this.scalaType(b.values);this.emitLine(["map ",_," { map[ key : String , value : ",L,"}"])}emitEmptyClassDefinition(b,_){this.emitDescription(this.descriptionForType(b)),this.emitLine("structure ",_,"{}")}emitClassDefinition(b,_){if(b.getProperties().size===0){this.emitEmptyClassDefinition(b,_);return}const L=p=>p.isOptional?[this.scalaType(p.type,!0,!0)]:[this.scalaType(p.type,!0)],g=[];this.emitDescription(this.descriptionForType(b)),this.emitLine("structure ",_," {"),this.indent(()=>{let p=b.getProperties().size,a=!0;this.forEachClassProperty(b,"none",(o,f,h)=>{const w=h.type.kind==="union"&&(0,S.nullableFromUnion)(h.type)!==null,N=h.isOptional||h.type.kind==="null"||w,F=--p===0,B=[];(h.type.kind==="array"||h.type.kind==="map")&&g.push(h);const Q=this.descriptionForClassProperty(b,f);Q!==void 0&&B.push(()=>this.emitDescription(Q)),B.length>0&&!a&&this.ensureBlankLine();for(const j of B)j();const E=f.endsWith("_")||P(f)?"`"+f+"`":f;this.emitLine(h.isOptional||N?"":"@required ",E," : ",L(h),F?"":","),B.length>0&&!F&&this.ensureBlankLine(),a=!1})}),this.emitClassDefinitionMethods(g)}emitClassDefinitionMethods(b){this.emitLine("}"),b.forEach(_=>{function L(g){}(0,S.matchCompoundType)(_.type,g=>{this.emitLine(["list ",this.scalaType(g,!0),"{ member: ",this.scalaType(g.items,!0),"}"])},L,g=>{this.emitLine(["map ",this.scalaType(g,!0),"{ key: String , value: ",this.scalaType(g.values,!0),"}"])},L,L)})}emitEnumDefinition(b,_){this.emitDescription(this.descriptionForType(b)),this.ensureBlankLine(),this.emitItem(["enum ",_," { "]);let L=b.cases.size;this.forEachEnumCase(b,"none",(g,p)=>{this.emitLine(),this.emitItem([g,' = "',p,'"']),--L>0&&this.emitItem([","])}),this.ensureBlankLine(),this.emitItem(["}"])}emitUnionDefinition(b,_){function L(f){const h=f.kind;return h==="class"?h:"_"+h}const g=[];this.emitDescription(this.descriptionForType(b));const[p,a]=(0,S.removeNullFromUnion)(b,L),o=[];this.forEachUnionMember(b,a,"none",null,(f,h)=>{(h.kind==="array"||h.kind==="map")&&g.push(h),o.push(this.scalaType(h))}),p!==null&&o.push(this.nameForUnionMember(b,p)),this.emitLine(["@untagged union ",_," { "]),this.indent(()=>{o.forEach((f,h)=>{this.emitLine([String.fromCharCode(h+65)," : ",f])})}),this.emitLine("}"),this.ensureBlankLine(),g.forEach(f=>{function h(w){}(0,S.matchCompoundType)(f,w=>{this.emitLine(["list ",this.scalaType(w,!0),"{ member: ",this.scalaType(w.items,!0),"}"])},h,w=>{this.emitLine(["map ",this.scalaType(w,!0),"{ key: String , value: ",this.scalaType(w.values,!0),"}"])},h,h)})}emitSourceStructure(){this.emitHeader(),this.forEachTopLevel("leading",(b,_)=>{b instanceof T.ArrayType?this.emitTopLevelArray(b,_):b instanceof T.MapType&&this.emitTopLevelMap(b,_)}),this.forEachNamedType("leading-and-interposing",(b,_)=>this.emitClassDefinition(b,_),(b,_)=>this.emitEnumDefinition(b,_),(b,_)=>this.emitUnionDefinition(b,_))}}e.Smithy4sRenderer=U;class R extends y.TargetLanguage{constructor(){super("Smithy",["Smithy"],"smithy")}getOptions(){return[e.SmithyOptions.framework,e.SmithyOptions.packageName]}get supportsOptionalClassProperties(){return!0}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(b,_){const L=(0,r.getOptionValues)(e.SmithyOptions,_);switch(L.framework){case O.None:return new U(this,b,L);default:return(0,d.assertNever)(L.framework)}}}e.SmithyTargetLanguage=R})(Qp);var Xp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ElmRenderer=e.ElmTargetLanguage=e.elmOptions=void 0;const t=He,n=Lt,i=dt,r=lt(),u=ot(),l=Et,d=qe,y=St(),T=Ie,S=et,O=jt;e.elmOptions={justTypes:new i.BooleanOption("just-types","Plain types only",!1),useList:new i.EnumOption("array-type","Use Array or List",[["array",!1],["list",!0]]),moduleName:new i.StringOption("module","Generated module name","NAME","QuickType")};class I extends n.TargetLanguage{constructor(){super("Elm",["elm"],"elm")}getOptions(){return[e.elmOptions.justTypes,e.elmOptions.moduleName,e.elmOptions.useList]}get supportsOptionalClassProperties(){return!0}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(U,R){return new G(this,U,(0,i.getOptionValues)(e.elmOptions,R))}}e.ElmTargetLanguage=I;const k=["if","then","else","case","of","let","in","infix","type","module","where","import","exposing","as","port","int","float","bool","string","Jenc","Jdec","Jpipe","always","identity","Array","List","Dict","Maybe","map","toList","makeArrayEncoder","makeDictEncoder","makeNullableEncoder","Int","True","False","String","Float"],P=(0,y.legalizeCharacters)(K=>(0,y.isAscii)(K)&&(0,y.isLetterOrUnderscoreOrDigit)(K));function m(K,U){const R=(0,y.splitIntoWords)(K);return(0,y.combineWords)(R,P,U?y.firstUpperWordStyle:y.allLowerWordStyle,y.firstUpperWordStyle,U?y.allUpperWordStyle:y.allLowerWordStyle,y.allUpperWordStyle,"",y.isLetterOrUnderscore)}const C=(0,d.funPrefixNamer)("upper",K=>m(K,!0)),J=(0,d.funPrefixNamer)("lower",K=>m(K,!1));function x(K){function U(A){return{reqOrOpt:"Jpipe.optional",fallback:A}}const R=K.type;return K.isOptional||R instanceof r.UnionType&&(0,u.nullableFromUnion)(R)!==null?U(" Nothing"):R.kind==="null"?U(" ()"):{reqOrOpt:"Jpipe.required",fallback:""}}class G extends l.ConvenienceRenderer{constructor(U,R,A){super(U,R),this._options=A,this._topLevelDependents=new Map,this._namedTypeDependents=new Map}forbiddenNamesForGlobalNamespace(){return k}makeTopLevelDependencyNames(U,R){const A=new d.DependencyName(J,R.order,_=>`${_(R)}_to_string`);let b;return this.namedTypeToNameForTopLevel(U)===void 0&&(b=new d.DependencyName(J,R.order,_=>_(R))),this._topLevelDependents.set(R,{encoder:A,decoder:b}),b!==void 0?[A,b]:[A]}makeNamedTypeNamer(){return C}makeNamedTypeDependencyNames(U,R){const A=new d.DependencyName(J,R.order,_=>`encode_${_(R)}`),b=new d.DependencyName(J,R.order,_=>_(R));return this._namedTypeDependents.set(R,{encoder:A,decoder:b}),[A,b]}namerForObjectProperty(){return J}forbiddenForObjectProperties(U,R){return{names:[],includeGlobalForbidden:!0}}makeUnionMemberNamer(){return C}get unionMembersInGlobalNamespace(){return!0}makeEnumCaseNamer(){return C}get enumCasesInGlobalNamespace(){return!0}proposeUnionMemberName(U,R,A,b){return`${super.proposeUnionMemberName(U,R,A,b)}_in_${b(R)}`}get commentLineStart(){return"-- "}emitDescriptionBlock(U){U.length===1?this.emitComments([{customLines:U,lineStart:"{-| ",lineEnd:" -}"}]):this.emitCommentLines(U,{firstLineStart:"{-| ",lineStart:"",afterComment:"-}"})}get arrayType(){return this._options.useList?"List":"Array"}elmType(U,R=!1){return(0,u.matchType)(U,A=>(0,S.singleWord)((0,S.annotated)(O.anyTypeIssueAnnotation,"Jdec.Value")),A=>(0,S.singleWord)((0,S.annotated)(O.nullTypeIssueAnnotation,"()")),A=>(0,S.singleWord)("Bool"),A=>(0,S.singleWord)("Int"),A=>(0,S.singleWord)("Float"),A=>(0,S.singleWord)("String"),A=>(0,S.multiWord)(" ",this.arrayType,(0,S.parenIfNeeded)(this.elmType(A.items))),A=>(0,S.singleWord)(this.nameForNamedType(A)),A=>(0,S.multiWord)(" ","Dict String",(0,S.parenIfNeeded)(this.elmType(A.values))),A=>(0,S.singleWord)(this.nameForNamedType(A)),A=>{const b=(0,u.nullableFromUnion)(A);if(b!==null){const _=this.elmType(b);return R?_:(0,S.multiWord)(" ","Maybe",(0,S.parenIfNeeded)(_))}return(0,S.singleWord)(this.nameForNamedType(A))})}elmProperty(U){return U.isOptional?(0,S.multiWord)(" ","Maybe",(0,S.parenIfNeeded)(this.elmType(U.type,!0))).source:this.elmType(U.type).source}decoderNameForNamedType(U){const R=this.nameForNamedType(U);return(0,T.defined)(this._namedTypeDependents.get(R)).decoder}decoderNameForType(U,R=!1){return(0,u.matchType)(U,A=>(0,S.singleWord)("Jdec.value"),A=>(0,S.multiWord)(" ","Jdec.null","()"),A=>(0,S.singleWord)("Jdec.bool"),A=>(0,S.singleWord)("Jdec.int"),A=>(0,S.singleWord)("Jdec.float"),A=>(0,S.singleWord)("Jdec.string"),A=>(0,S.multiWord)(" ",["Jdec.",(0,y.decapitalize)(this.arrayType)],(0,S.parenIfNeeded)(this.decoderNameForType(A.items))),A=>(0,S.singleWord)(this.decoderNameForNamedType(A)),A=>(0,S.multiWord)(" ","Jdec.dict",(0,S.parenIfNeeded)(this.decoderNameForType(A.values))),A=>(0,S.singleWord)(this.decoderNameForNamedType(A)),A=>{const b=(0,u.nullableFromUnion)(A);if(b!==null){const _=this.decoderNameForType(b);return R?_:(0,S.multiWord)(" ","Jdec.nullable",(0,S.parenIfNeeded)(_))}return(0,S.singleWord)(this.decoderNameForNamedType(A))})}decoderNameForProperty(U){return U.isOptional?(0,S.multiWord)(" ","Jdec.nullable",(0,S.parenIfNeeded)(this.decoderNameForType(U.type,!0))):this.decoderNameForType(U.type)}encoderNameForNamedType(U){const R=this.nameForNamedType(U);return(0,T.defined)(this._namedTypeDependents.get(R)).encoder}encoderNameForType(U,R=!1){return(0,u.matchType)(U,A=>(0,S.singleWord)("identity"),A=>(0,S.multiWord)(" ","always","Jenc.null"),A=>(0,S.singleWord)("Jenc.bool"),A=>(0,S.singleWord)("Jenc.int"),A=>(0,S.singleWord)("Jenc.float"),A=>(0,S.singleWord)("Jenc.string"),A=>(0,S.multiWord)(" ",["make",this.arrayType,"Encoder"],(0,S.parenIfNeeded)(this.encoderNameForType(A.items))),A=>(0,S.singleWord)(this.encoderNameForNamedType(A)),A=>(0,S.multiWord)(" ","makeDictEncoder",(0,S.parenIfNeeded)(this.encoderNameForType(A.values))),A=>(0,S.singleWord)(this.encoderNameForNamedType(A)),A=>{const b=(0,u.nullableFromUnion)(A);if(b!==null){const _=this.encoderNameForType(b);return R?_:(0,S.multiWord)(" ","makeNullableEncoder",(0,S.parenIfNeeded)(_))}return(0,S.singleWord)(this.encoderNameForNamedType(A))})}encoderNameForProperty(U){return U.isOptional?(0,S.multiWord)(" ","makeNullableEncoder",(0,S.parenIfNeeded)(this.encoderNameForType(U.type,!0))):this.encoderNameForType(U.type)}emitTopLevelDefinition(U,R){this.emitLine("type alias ",R," = ",this.elmType(U).source)}emitClassDefinition(U,R){let A=this.descriptionForType(U);this.forEachClassProperty(U,"none",(b,_)=>{const L=this.descriptionForClassProperty(U,_);L!==void 0&&(A===void 0?A=[]:A.push(""),A.push(`${this.sourcelikeToString(b)}:`),A.push(...L))}),this.emitDescription(A),this.emitLine("type alias ",R," ="),this.indent(()=>{let b=!0;this.forEachClassProperty(U,"none",(_,L,g)=>{this.emitLine(b?"{":","," ",_," : ",this.elmProperty(g)),b=!1}),b&&this.emitLine("{"),this.emitLine("}")})}emitEnumDefinition(U,R){this.emitDescription(this.descriptionForType(U)),this.emitLine("type ",R),this.indent(()=>{let A=!0;this.forEachEnumCase(U,"none",b=>{const _=A?"=":"|";this.emitLine(_," ",b),A=!1})})}emitUnionDefinition(U,R){this.emitDescription(this.descriptionForType(U)),this.emitLine("type ",R),this.indent(()=>{let A=!0;this.forEachUnionMember(U,null,"none",null,(b,_)=>{const L=A?"=":"|";_.kind==="null"?this.emitLine(L," ",b):this.emitLine(L," ",b," ",(0,S.parenIfNeeded)(this.elmType(_))),A=!1})})}emitTopLevelFunctions(U,R){const{encoder:A,decoder:b}=(0,T.defined)(this._topLevelDependents.get(R));this.namedTypeToNameForTopLevel(U)===void 0&&(this.emitLine((0,T.defined)(b)," : Jdec.Decoder ",R),this.emitLine((0,T.defined)(b)," = ",this.decoderNameForType(U).source),this.ensureBlankLine()),this.emitLine(A," : ",R," -> String"),this.emitLine(A," r = Jenc.encode 0 (",this.encoderNameForType(U).source," r)")}emitClassFunctions(U,R){const A=this.decoderNameForNamedType(U);this.emitLine(A," : Jdec.Decoder ",R),this.emitLine(A," ="),this.indent(()=>{this.emitLine("Jpipe.decode ",R),this.indent(()=>{this.forEachClassProperty(U,"none",(_,L,g)=>{const p=(0,S.parenIfNeeded)(this.decoderNameForProperty(g)),{reqOrOpt:a,fallback:o}=x(g);this.emitLine("|> ",a,' "',(0,y.stringEscape)(L),'" ',p,o)})})}),this.ensureBlankLine();const b=this.encoderNameForNamedType(U);this.emitLine(b," : ",R," -> Jenc.Value"),this.emitLine(b," x ="),this.indent(()=>{this.emitLine("Jenc.object"),this.indent(()=>{let _=!0;this.forEachClassProperty(U,"none",(L,g,p)=>{const a=_?"[":",",o=this.encoderNameForProperty(p).source;this.emitLine(a,' ("',(0,y.stringEscape)(g),'", ',o," x.",L,")"),_=!1}),_&&this.emitLine("["),this.emitLine("]")})})}emitEnumFunctions(U,R){const A=this.decoderNameForNamedType(U);this.emitLine(A," : Jdec.Decoder ",R),this.emitLine(A," ="),this.indent(()=>{this.emitLine("Jdec.string"),this.indent(()=>{this.emitLine("|> Jdec.andThen (\\str ->"),this.indent(()=>{this.emitLine("case str of"),this.indent(()=>{this.forEachEnumCase(U,"none",(_,L)=>{this.emitLine('"',(0,y.stringEscape)(L),'" -> Jdec.succeed ',_)}),this.emitLine('somethingElse -> Jdec.fail <| "Invalid ',R,': " ++ somethingElse')})}),this.emitLine(")")})}),this.ensureBlankLine();const b=this.encoderNameForNamedType(U);this.emitLine(b," : ",R," -> Jenc.Value"),this.emitLine(b," x = case x of"),this.indent(()=>{this.forEachEnumCase(U,"none",(_,L)=>{this.emitLine(_,' -> Jenc.string "',(0,y.stringEscape)(L),'"')})})}emitUnionFunctions(U,R){function A(L,g){return g.kind==="array"?" array":g.kind==="double"?" xdouble":g.isPrimitive()?" "+g.kind:g.kind}const b=this.decoderNameForNamedType(U);this.emitLine(b," : Jdec.Decoder ",R),this.emitLine(b," ="),this.indent(()=>{this.emitLine("Jdec.oneOf"),this.indent(()=>{let L=!0;this.forEachUnionMember(U,null,"none",A,(g,p)=>{const a=L?"[":",";if(p.kind==="null")this.emitLine(a," Jdec.null ",g);else{const o=(0,S.parenIfNeeded)(this.decoderNameForType(p));this.emitLine(a," Jdec.map ",g," ",o)}L=!1}),this.emitLine("]")})}),this.ensureBlankLine();const _=this.encoderNameForNamedType(U);this.emitLine(_," : ",R," -> Jenc.Value"),this.emitLine(_," x = case x of"),this.indent(()=>{this.forEachUnionMember(U,null,"none",A,(L,g)=>{if(g.kind==="null")this.emitLine(L," -> Jenc.null");else{const p=this.encoderNameForType(g).source;this.emitLine(L," y -> ",p," y")}})})}emitSourceStructure(){const U=[],R=[];this.forEachTopLevel("none",(A,b)=>{let{encoder:_,decoder:L}=(0,T.defined)(this._topLevelDependents.get(b));L===void 0&&(L=(0,T.defined)(this._namedTypeDependents.get(b)).decoder),R.push(L),U.push(b,_,L)}),this.forEachObject("none",(A,b)=>{(0,t.mapContains)(this.topLevels,A)||U.push(b)}),this.forEachEnum("none",(A,b)=>{(0,t.mapContains)(this.topLevels,A)||U.push([b,"(..)"])}),this.forEachUnion("none",(A,b)=>{(0,t.mapContains)(this.topLevels,A)||U.push([b,"(..)"])}),this.leadingComments!==void 0?this.emitComments(this.leadingComments):this._options.justTypes||(this.emitCommentLines(["To decode the JSON data, add this file to your project, run",""," elm-package install NoRedInk/elm-decode-pipeline","","add these imports",""," import Json.Decode exposing (decodeString)`);"]),this.emitLine("-- import ",this._options.moduleName," exposing (",(0,t.arrayIntercalate)(", ",R),")"),this.emitMultiline(`--
|
|
851
|
+
-- and you're off to the races with
|
|
852
|
+
--`),this.forEachTopLevel("none",(A,b)=>{let{decoder:_}=(0,T.defined)(this._topLevelDependents.get(b));_===void 0&&(_=(0,T.defined)(this._namedTypeDependents.get(b)).decoder),this.emitLine("-- decodeString ",_," myJsonString")})),this._options.justTypes||(this.ensureBlankLine(),this.emitLine("module ",this._options.moduleName," exposing"),this.indent(()=>{for(let A=0;A<U.length;A++)this.emitLine(A===0?"(":","," ",U[A]);this.emitLine(")")}),this.ensureBlankLine(),this.emitMultiline(`import Json.Decode as Jdec
|
|
853
|
+
import Json.Decode.Pipeline as Jpipe
|
|
854
|
+
import Json.Encode as Jenc
|
|
855
|
+
import Dict exposing (Dict, map, toList)`),this._options.useList?this.emitLine("import List exposing (map)"):this.emitLine("import Array exposing (Array, map)")),this.forEachTopLevel("leading-and-interposing",(A,b)=>this.emitTopLevelDefinition(A,b),A=>this.namedTypeToNameForTopLevel(A)===void 0),this.forEachNamedType("leading-and-interposing",(A,b)=>this.emitClassDefinition(A,b),(A,b)=>this.emitEnumDefinition(A,b),(A,b)=>this.emitUnionDefinition(A,b)),!this._options.justTypes&&(this.ensureBlankLine(),this.emitLine("-- decoders and encoders"),this.forEachTopLevel("leading-and-interposing",(A,b)=>this.emitTopLevelFunctions(A,b)),this.forEachNamedType("leading-and-interposing",(A,b)=>this.emitClassFunctions(A,b),(A,b)=>this.emitEnumFunctions(A,b),(A,b)=>this.emitUnionFunctions(A,b)),this.ensureBlankLine(),this.emitLine("--- encoder helpers"),this.ensureBlankLine(),this.emitLine("make",this.arrayType,"Encoder : (a -> Jenc.Value) -> ",this.arrayType," a -> Jenc.Value"),this.emitLine("make",this.arrayType,"Encoder f arr ="),this.indent(()=>{this.emitLine("Jenc.",(0,y.decapitalize)(this.arrayType)," (",this.arrayType,".map f arr)")}),this.ensureBlankLine(),this.emitMultiline(`makeDictEncoder : (a -> Jenc.Value) -> Dict String a -> Jenc.Value
|
|
856
|
+
makeDictEncoder f dict =
|
|
857
|
+
Jenc.object (toList (Dict.map (\\k -> f) dict))
|
|
858
|
+
|
|
859
|
+
makeNullableEncoder : (a -> Jenc.Value) -> Maybe a -> Jenc.Value
|
|
860
|
+
makeNullableEncoder f m =
|
|
861
|
+
case m of
|
|
862
|
+
Just x -> f x
|
|
863
|
+
Nothing -> Jenc.null`))}}e.ElmRenderer=G})(Xp);var Bs={};Object.defineProperty(Bs,"__esModule",{value:!0});Bs.JSONSchemaRenderer=Bs.JSONSchemaTargetLanguage=void 0;const S0=He,mM=Lt,yM=lt(),gM=ot(),bM=Et,TM=qe,gs=St(),Mr=Ie,SM=Vo(),vM=wc();class wM extends mM.TargetLanguage{constructor(){super("JSON Schema",["schema","json-schema"],"schema")}getOptions(){return[]}get stringTypeMapping(){return(0,SM.getNoStringTypeMapping)()}get supportsOptionalClassProperties(){return!0}get supportsFullObjectType(){return!0}makeRenderer(t,n){return new Kv(this,t)}}Bs.JSONSchemaTargetLanguage=wM;const _M=(0,TM.funPrefixNamer)("namer",NM),LM=(0,gs.legalizeCharacters)(e=>e>=32&&e<128&&e!==47);function NM(e){const t=(0,gs.splitIntoWords)(e);return(0,gs.combineWords)(t,LM,gs.firstUpperWordStyle,gs.firstUpperWordStyle,gs.allUpperWordStyle,gs.allUpperWordStyle,"",n=>!0)}class Kv extends bM.ConvenienceRenderer{makeNamedTypeNamer(){return _M}namerForObjectProperty(){return null}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return null}nameForType(t){return(0,Mr.defined)(this.names.get(this.nameForNamedType(t)))}makeOneOf(t){const n=(0,S0.iterableFirst)(t);return n===void 0?(0,Mr.panic)("Must have at least one type for oneOf"):t.size===1?this.schemaForType(n):{anyOf:Array.from(t).map(i=>this.schemaForType(i))}}makeRef(t){return{$ref:`#/definitions/${this.nameForType(t)}`}}addAttributesToSchema(t,n){const i=this.typeGraph.attributeStore.attributesForType(t);for(const[r,u]of i)r.addToSchema(n,t,u)}schemaForType(t){const n=(0,gM.matchTypeExhaustive)(t,i=>(0,Mr.panic)("none type should have been replaced"),i=>({}),i=>({type:"null"}),i=>({type:"boolean"}),i=>({type:"integer"}),i=>({type:"number"}),i=>({type:"string"}),i=>({type:"array",items:this.schemaForType(i.items)}),i=>this.makeRef(i),i=>this.definitionForObject(i,void 0),i=>this.makeRef(i),i=>this.makeRef(i),i=>this.unionNeedsName(i)?this.makeRef(i):this.definitionForUnion(i),i=>{const r=yM.transformedStringTypeTargetTypeKindsMap.get(i.kind);return r===void 0?(0,Mr.panic)(`Unknown transformed string type ${i.kind}`):{type:"string",format:r.jsonSchema}});return n.$ref===void 0&&this.addAttributesToSchema(t,n),n}definitionForObject(t,n){let i,r;if(t.getProperties().size===0)i=void 0,r=void 0;else{const y={},T=[];for(const[S,O]of t.getProperties()){const I=this.schemaForType(O.type);I.description===void 0&&(0,vM.addDescriptionToSchema)(I,this.descriptionForClassProperty(t,S)),y[S]=I,O.isOptional||T.push(S)}i=y,r=T.sort()}const u=t.getAdditionalProperties(),d={type:"object",additionalProperties:u!==void 0?this.schemaForType(u):!1,properties:i,required:r,title:n};return this.addAttributesToSchema(t,d),d}definitionForUnion(t,n){const i=this.makeOneOf(t.sortedMembers);return n!==void 0&&(i.title=n),this.addAttributesToSchema(t,i),i}definitionForEnum(t,n){const i={type:"string",enum:Array.from(t.cases),title:n};return this.addAttributesToSchema(t,i),i}emitSourceStructure(){const t=this.topLevels.size===1?this.schemaForType((0,Mr.defined)((0,S0.mapFirst)(this.topLevels))):{},n=Object.assign({$schema:"http://json-schema.org/draft-06/schema#"},t),i={};this.forEachObject("none",(r,u)=>{const l=(0,Mr.defined)(this.names.get(u));i[l]=this.definitionForObject(r,l)}),this.forEachUnion("none",(r,u)=>{if(!this.unionNeedsName(r))return;const l=(0,Mr.defined)(this.names.get(u));i[l]=this.definitionForUnion(r,l)}),this.forEachEnum("none",(r,u)=>{const l=(0,Mr.defined)(this.names.get(u));i[l]=this.definitionForEnum(r,l)}),n.definitions=i,this.emitMultiline(JSON.stringify(n,void 0," "))}}Bs.JSONSchemaRenderer=Kv;var Yp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.RustRenderer=e.RustTargetLanguage=e.rustOptions=e.Visibility=e.Density=void 0;const t=He,n=Lt,i=Et,r=St(),u=qe,l=lt(),d=ot(),y=et,T=jt,S=dt,O=Ie;var I;(function(a){a[a.Normal=0]="Normal",a[a.Dense=1]="Dense"})(I=e.Density||(e.Density={}));var k;(function(a){a[a.Private=0]="Private",a[a.Crate=1]="Crate",a[a.Public=2]="Public"})(k=e.Visibility||(e.Visibility={})),e.rustOptions={density:new S.EnumOption("density","Density",[["normal",I.Normal],["dense",I.Dense]]),visibility:new S.EnumOption("visibility","Field visibility",[["private",k.Private],["crate",k.Crate],["public",k.Public]]),deriveDebug:new S.BooleanOption("derive-debug","Derive Debug impl",!1),deriveClone:new S.BooleanOption("derive-clone","Derive Clone impl",!1),derivePartialEq:new S.BooleanOption("derive-partial-eq","Derive PartialEq impl",!1),skipSerializingNone:new S.BooleanOption("skip-serializing-none","Skip serializing empty Option fields",!1),edition2018:new S.BooleanOption("edition-2018","Edition 2018",!0),leadingComments:new S.BooleanOption("leading-comments","Leading Comments",!0)};const P={snake_case:{regex:/^[a-z][a-z0-9]*(_[a-z0-9]+)*$/,toParts:a=>a.split("_"),fromParts:a=>a.map(o=>o.toLowerCase()).join("_")},SCREAMING_SNAKE_CASE:{regex:/^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$/,toParts:a=>a.split("_"),fromParts:a=>a.map(o=>o.toUpperCase()).join("_")},camelCase:{regex:/^[a-z]+([A-Z0-9][a-z]*)*$/,toParts:a=>P.snake_case.toParts(a.replace(/(.)([A-Z])/g,"$1_$2")),fromParts:a=>a.map((o,f)=>f===0?o.toLowerCase():o.substring(0,1).toUpperCase()+o.substring(1).toLowerCase()).join("")},PascalCase:{regex:/^[A-Z][a-z]*([A-Z0-9][a-z]*)*$/,toParts:a=>P.snake_case.toParts(a.replace(/(.)([A-Z])/g,"$1_$2")),fromParts:a=>a.map(o=>o.substring(0,1).toUpperCase()+o.substring(1).toLowerCase()).join("")},"kebab-case":{regex:/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/,toParts:a=>a.split("-"),fromParts:a=>a.map(o=>o.toLowerCase()).join("-")},"SCREAMING-KEBAB-CASE":{regex:/^[A-Z][A-Z0-9]*(-[A-Z0-9]+)*$/,toParts:a=>a.split("-"),fromParts:a=>a.map(o=>o.toUpperCase()).join("-")},lowercase:{regex:/^[a-z][a-z0-9]*$/,toParts:a=>[a],fromParts:a=>a.map(o=>o.toLowerCase()).join("")},UPPERCASE:{regex:/^[A-Z][A-Z0-9]*$/,toParts:a=>[a],fromParts:a=>a.map(o=>o.toUpperCase()).join("")}};class m extends n.TargetLanguage{makeRenderer(o,f){return new _(this,o,(0,S.getOptionValues)(e.rustOptions,f))}constructor(){super("Rust",["rust","rs","rustlang"],"rs")}getOptions(){return[e.rustOptions.density,e.rustOptions.visibility,e.rustOptions.deriveDebug,e.rustOptions.deriveClone,e.rustOptions.derivePartialEq,e.rustOptions.edition2018,e.rustOptions.leadingComments,e.rustOptions.skipSerializingNone]}}e.RustTargetLanguage=m;const C=["Serialize","Deserialize","{{root}}","$crate","as","async","box","break","const","continue","crate","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","unsafe","use","where","while","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield","catch","default","dyn","'static","union","option"],J=a=>(0,r.isAscii)(a)?(0,r.isLetterOrUnderscoreOrDigit)(a):!1,x=a=>(0,r.isAscii)(a)?(0,r.isLetterOrUnderscore)(a):!1,G=(0,r.legalizeCharacters)(J);function K(a,o){const f=(0,r.splitIntoWords)(a),h=o?r.allLowerWordStyle:r.firstUpperWordStyle,w=(0,r.combineWords)(f,G,h,h,h,h,o?"_":"",x);return w==="_"?"_underscore":w}const U=(0,u.funPrefixNamer)("default",a=>K(a,!0)),R=(0,u.funPrefixNamer)("camel",a=>K(a,!1)),A=a=>a<=65535?"\\u{"+(0,r.intToHex)(a,4)+"}":"\\u{"+(0,r.intToHex)(a,6)+"}",b=(0,r.utf32ConcatMap)((0,r.escapeNonPrintableMapper)(r.isPrintable,A));class _ extends i.ConvenienceRenderer{constructor(o,f,h){super(o,f),this._options=h}makeNamedTypeNamer(){return R}namerForObjectProperty(){return U}makeUnionMemberNamer(){return R}makeEnumCaseNamer(){return R}forbiddenNamesForGlobalNamespace(){return C}forbiddenForObjectProperties(o,f){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(o,f){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(o,f){return{names:[],includeGlobalForbidden:!0}}get commentLineStart(){return"/// "}nullableRustType(o,f){return["Option<",this.breakCycle(o,f),">"]}isImplicitCycleBreaker(o){const f=o.kind;return f==="array"||f==="map"}rustType(o,f=!1){return(0,d.matchType)(o,h=>(0,y.maybeAnnotated)(f,T.anyTypeIssueAnnotation,"Option<serde_json::Value>"),h=>(0,y.maybeAnnotated)(f,T.nullTypeIssueAnnotation,"Option<serde_json::Value>"),h=>"bool",h=>"i64",h=>"f64",h=>"String",h=>["Vec<",this.rustType(h.items,f),">"],h=>this.nameForNamedType(h),h=>["HashMap<String, ",this.rustType(h.values,f),">"],h=>this.nameForNamedType(h),h=>{const w=(0,d.nullableFromUnion)(h);if(w!==null)return this.nullableRustType(w,f);const[N]=(0,d.removeNullFromUnion)(h),B=this.isCycleBreakerType(h)?["Box<",this.nameForNamedType(h),">"]:this.nameForNamedType(h);return N!==null?["Option<",B,">"]:B})}breakCycle(o,f){const h=this.rustType(o,f);return this.isCycleBreakerType(o)?["Box<",h,">"]:h}emitRenameAttribute(o,f,h,w){const N=b(f),F=P[h].fromParts(this.sourcelikeToString(o).split(" ")),B=p(F,w);N!==B&&this.emitLine('#[serde(rename = "',N,'")]')}emitSkipSerializeNone(o){o instanceof l.UnionType&&(0,d.nullableFromUnion)(o)!==null&&this.emitLine('#[serde(skip_serializing_if = "Option::is_none")]')}get visibility(){return this._options.visibility===k.Crate?"pub(crate) ":this._options.visibility===k.Public?"pub ":""}emitStructDefinition(o,f){this.emitDescription(this.descriptionForType(o)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]");const h={};this.forEachClassProperty(o,"none",(W,Q,z)=>{h[Q]=g(Q)});const w="snake_case",N=L(Object.values(h).flat(),w);N!==w&&this.emitLine(`#[serde(rename_all = "${N}")]`);const F=this._options.density===I.Dense?"none":"interposing",B=()=>this.forEachClassProperty(o,F,(W,Q,z)=>{this.emitDescription(this.descriptionForClassProperty(o,Q)),this.emitRenameAttribute(W,Q,w,N),this._options.skipSerializingNone&&this.emitSkipSerializeNone(z.type),this.emitLine(this.visibility,W,": ",this.breakCycle(z.type,!0),",")});this.emitBlock(["pub struct ",f],B)}emitBlock(o,f){this.emitLine(o," {"),this.indent(f),this.emitLine("}")}emitUnion(o,f){if((0,d.nullableFromUnion)(o)!==null)return;this.emitDescription(this.descriptionForType(o)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]"),this.emitLine("#[serde(untagged)]");const[,w]=(0,d.removeNullFromUnion)(o),N=this._options.density===I.Dense?"none":"interposing";this.emitBlock(["pub enum ",f],()=>this.forEachUnionMember(o,w,N,null,(F,B)=>{const W=this.breakCycle(B,!0);this.emitLine([F,"(",W,"),"])}))}emitEnumDefinition(o,f){this.emitDescription(this.descriptionForType(o)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]");const h={};this.forEachEnumCase(o,"none",(B,W)=>{h[W]=g(W)});const w="PascalCase",N=L(Object.values(h).flat(),w);N!==w&&this.emitLine(`#[serde(rename_all = "${N}")]`);const F=this._options.density===I.Dense?"none":"interposing";this.emitBlock(["pub enum ",f],()=>this.forEachEnumCase(o,F,(B,W)=>{this.emitRenameAttribute(B,W,w,N),this.emitLine([B,","])}))}emitTopLevelAlias(o,f){this.emitLine("pub type ",f," = ",this.rustType(o),";")}emitLeadingComments(){if(this.leadingComments!==void 0){this.emitComments(this.leadingComments);return}const o=(0,O.defined)((0,t.mapFirst)(this.topLevels)).getCombinedName();this.emitMultiline(`// Example code that deserializes and serializes the model.
|
|
864
|
+
// extern crate serde;
|
|
865
|
+
// #[macro_use]
|
|
866
|
+
// extern crate serde_derive;
|
|
867
|
+
// extern crate serde_json;
|
|
868
|
+
//
|
|
869
|
+
// use generated_module::${o};
|
|
870
|
+
//
|
|
871
|
+
// fn main() {
|
|
872
|
+
// let json = r#"{"answer": 42}"#;
|
|
873
|
+
// let model: ${o} = serde_json::from_str(&json).unwrap();
|
|
874
|
+
// }`)}emitSourceStructure(){this._options.leadingComments&&this.emitLeadingComments(),this.ensureBlankLine(),this._options.edition2018?this.emitLine("use serde::{Serialize, Deserialize};"):this.emitLine("extern crate serde_derive;"),this.haveMaps&&this.emitLine("use std::collections::HashMap;"),this.forEachTopLevel("leading",(o,f)=>this.emitTopLevelAlias(o,f),o=>this.namedTypeToNameForTopLevel(o)===void 0),this.forEachNamedType("leading-and-interposing",(o,f)=>this.emitStructDefinition(o,f),(o,f)=>this.emitEnumDefinition(o,f),(o,f)=>this.emitUnion(o,f))}}e.RustRenderer=_;function L(a,o){const f=Object.fromEntries(Object.keys(P).map(N=>[N,0]));a.forEach(N=>++f[N]);const h=Math.max(...Object.values(f)),w=Object.entries(f).filter(([N,F])=>F===h).map(([N,F])=>N);return w.includes(o)?o:w[0]}function g(a){return Object.entries(P).filter(([o,{regex:f}])=>f.test(a)).map(([o,f])=>o)}function p(a,o){if(P[o].regex.test(a))return a;const f=g(a)[0];return f===void 0?a:P[o].fromParts(P[f].toParts(a))}})(Yp);var Rs={};Object.defineProperty(Rs,"__esModule",{value:!0});Rs.CrystalRenderer=Rs.CrystalTargetLanguage=void 0;const kM=Lt,OM=Et,Pn=St(),Zv=qe,Sa=ot(),v0=et,w0=jt;class EM extends kM.TargetLanguage{makeRenderer(t){return new Xv(this,t)}constructor(){super("Crystal",["crystal","cr","crystallang"],"cr")}get defaultIndentation(){return" "}getOptions(){return[]}}Rs.CrystalTargetLanguage=EM;const CM=["Any","Array","Atomic","Bool","Channel","Char","Class","Enum","Enumerable","Event","Extern","Exception","File","Float","Float32","Float64","GC","GZip","Hash","HTML","HTTP","Int","Int128","Int16","Int32","Int64","Int8","Iterable","Link","Logger","Math","Mutex","Nil","Number","JSON","IO","Object","Pointer","Proc","Process","Range","Random","Regex","Reference","Set","Signal","Slice","Spec","StaticArray","String","Struct","Symbol","System","TCPServer","TCPSocket","Socket","Tempfile","Termios","Time","Tuple","ThreadLocal","UDPSocket","UInt128","UInt16","UInt32","UInt64","UInt8","Union","UNIXServer","UNIXSocket","UUID","URI","VaList","Value","Void","WeakRef","XML","YAML","Zip","Zlib","abstract","alias","as","as?","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","false","for","fun","if","in","include","instance_sizeof","is_a?","lib","macro","module","next","nil","nil?","of","out","pointerof","private","protected","require","rescue","return","select","self","sizeof","struct","super","then","true","type","typeof","uninitialized","union","unless","until","when","while","with","yield"];function AM(e){return(0,Pn.isAscii)(e)?(0,Pn.isLetterOrUnderscoreOrDigit)(e):!1}function FM(e){return(0,Pn.isAscii)(e)?(0,Pn.isLetterOrUnderscore)(e):!1}const PM=(0,Pn.legalizeCharacters)(AM);function Qv(e,t){const n=(0,Pn.splitIntoWords)(e),i=t?Pn.allLowerWordStyle:Pn.firstUpperWordStyle,r=(0,Pn.combineWords)(n,PM,i,i,i,i,t?"_":"",FM);return r==="_"?"_underscore":r}const IM=(0,Zv.funPrefixNamer)("default",e=>Qv(e,!0)),Xd=(0,Zv.funPrefixNamer)("camel",e=>Qv(e,!1));function MM(e){return e<=65535?"\\u{"+(0,Pn.intToHex)(e,4)+"}":"\\u{"+(0,Pn.intToHex)(e,6)+"}"}const jM=(0,Pn.utf32ConcatMap)((0,Pn.escapeNonPrintableMapper)(Pn.isPrintable,MM));class Xv extends OM.ConvenienceRenderer{constructor(t,n){super(t,n)}makeNamedTypeNamer(){return Xd}namerForObjectProperty(){return IM}makeUnionMemberNamer(){return Xd}makeEnumCaseNamer(){return Xd}forbiddenNamesForGlobalNamespace(){return CM}forbiddenForObjectProperties(t,n){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(t,n){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(t,n){return{names:[],includeGlobalForbidden:!0}}get commentLineStart(){return"# "}nullableCrystalType(t,n){return[this.crystalType(t,n),"?"]}isImplicitCycleBreaker(t){const n=t.kind;return n==="array"||n==="map"}crystalType(t,n=!1){return(0,Sa.matchType)(t,i=>(0,v0.maybeAnnotated)(n,w0.anyTypeIssueAnnotation,"JSON::Any?"),i=>(0,v0.maybeAnnotated)(n,w0.nullTypeIssueAnnotation,"Nil"),i=>"Bool",i=>"Int32",i=>"Float64",i=>"String",i=>["Array(",this.crystalType(i.items,n),")"],i=>this.nameForNamedType(i),i=>["Hash(String, ",this.crystalType(i.values,n),")"],i=>"String",i=>{const r=(0,Sa.nullableFromUnion)(i);if(r!==null)return this.nullableCrystalType(r,n);const[u]=(0,Sa.removeNullFromUnion)(i),l=this.nameForNamedType(i);return u!==null?[l,"?"]:l})}breakCycle(t,n){return this.crystalType(t,n)}emitRenameAttribute(t,n){const i=jM(n);this.sourcelikeToString(t)!==i&&this.emitLine('@[JSON::Field(key: "',i,'")]')}emitStructDefinition(t,n){this.emitDescription(this.descriptionForType(t));const i=()=>this.forEachClassProperty(t,"none",(r,u,l)=>{this.ensureBlankLine(),this.emitDescription(this.descriptionForClassProperty(t,u)),this.emitRenameAttribute(r,u),this.emitLine("property ",r," : ",this.crystalType(l.type,!0))});this.emitBlock(["class ",n],i)}emitBlock(t,n){this.emitLine(t),this.indent(()=>{this.emitLine("include JSON::Serializable")}),this.ensureBlankLine(),this.indent(n),this.emitLine("end")}emitEnum(t,n){this.emitLine(t),this.indent(n),this.emitLine("end")}emitUnion(t,n){if((0,Sa.nullableFromUnion)(t)!==null)return;this.emitDescription(this.descriptionForType(t));const[,r]=(0,Sa.removeNullFromUnion)(t);let u=[];this.forEachUnionMember(t,r,"none",null,(l,d)=>{const y=this.breakCycle(d,!0);u.push([y])}),this.emitLine(["alias ",n," = ",u.map(l=>l.map(d=>this.sourcelikeToString(d))).join(" | ")])}emitTopLevelAlias(t,n){this.emitLine("alias ",n," = ",this.crystalType(t))}emitLeadingComments(){if(this.leadingComments!==void 0){this.emitComments(this.leadingComments);return}}emitSourceStructure(){this.emitLeadingComments(),this.ensureBlankLine(),this.emitLine('require "json"'),this.forEachTopLevel("leading",(t,n)=>this.emitTopLevelAlias(t,n),t=>this.namedTypeToNameForTopLevel(t)===void 0),this.forEachObject("leading-and-interposing",(t,n)=>this.emitStructDefinition(t,n)),this.forEachUnion("leading-and-interposing",(t,n)=>this.emitUnion(t,n))}}Rs.CrystalRenderer=Xv;var $p={},Vr={};Object.defineProperty(Vr,"__esModule",{value:!0});Vr.reservedProperties=Vr.globals=Vr.keywords=void 0;Vr.keywords=["__ENCODING__","__FILE__","__LINE__","alias","and","begin","BEGIN","break","case","class","def","defined?","do","else","elsif","end","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"];const BM=["ArgumentError","Array","BasicObject","Class","ClosedQueueError","Comparable","Complex","ConditionVariable","Continuation","Data","Date","Dir","ENV","EOFError","Encoding","EncodingError","Enumerable","Enumerator","Errno","Exception","FalseClass","Fiber","FiberError","File","FileTest","Float","FloatDomainError","FrozenError","GC","Hash","IO","IOError","IndexError","Integer","Interrupt","KeyError","LoadError","LocalJumpError","Marshal","MatchData","Math","Method","Module","Mutex","NameError","NilClass","NoMemoryError","NoMethodError","NotImplementedError","Numeric","Object","ObjectSpace","Proc","Process","Queue","Random","Range","RangeError","Rational","Regexp","RegexpError","RubyVM","RuntimeError","ScriptError","SecurityError","Set","Signal","SignalException","SizedQueue","StandardError","StopIteration","String","Struct","Symbol","SyntaxError","SystemCallError","SystemExit","SystemStackError","Thread","ThreadError","ThreadGroup","Time","TracePoint","TrueClass","TypeError","UnboundMethod","UncaughtThrowError","Undefined","UnicodeNormalize","Warning","ZeroDivisionError"],RM=["__callee__","__dir__","__id__","__method__","__send__","!","!=","!~","<","<=","<=>","==","===","=~",">",">=","abort","ancestors","at_exit","autoload","autoload?","binding","block_given?","caller","caller_locations","catch","class","class_eval","class_exec","class_variable_defined?","class_variable_get","class_variable_set","class_variables","clone","const_defined?","const_get","const_missing","const_set","constants","define_singleton_method","deprecate_constant","display","dup","enum_for","eql?","equal?","eval","exec","exit","exit!","extend","fail","fork","format","freeze","frozen?","gets","global_variables","hash","include","include?","included_modules","inspect","instance_eval","instance_exec","instance_method","instance_methods","instance_of?","instance_variable_defined?","instance_variable_get","instance_variable_set","instance_variables","is_a?","iterator?","itself","kind_of?","lambda","load","local_variables","loop","method","method_defined?","methods","module_eval","module_exec","name","new","nil?","object_id","open","p","prepend","print","printf","private_class_method","private_constant","private_instance_methods","private_method_defined?","private_methods","proc","protected_instance_methods","protected_method_defined?","protected_methods","public_class_method","public_constant","public_instance_method","public_instance_methods","public_method","public_method_defined?","public_methods","public_send","putc","puts","raise","rand","readline","readlines","remove_class_variable","remove_instance_variable","require","require_relative","respond_to?","select","send","set_trace_func","singleton_class","singleton_class?","singleton_method","singleton_methods","sleep","spawn","sprintf","srand","syscall","system","taint","tainted?","tap","test","throw","to_enum","to_s","trace_var","trap","trust","untaint","untrace_var","untrust","untrusted?","warn"];Vr.globals=RM.concat(BM);Vr.reservedProperties=["__id__","__send__","break","call","case","class","clone","constrained_type","constrained?","constrained","constructor","default","define_singleton_method","display","dup","enum_for","enum","extend","freeze","gem","hash","inspect","instance_eval","instance_exec","instance_variable_defined?","instance_variable_get","instance_variable_set","instance_variables","itself","meta","method","methods","next","object_id","optional","options","pristine","private_methods","protected_methods","public_method","public_methods","public_send","remove_instance_variable","rule","safe","self","send","singleton_class","singleton_method","singleton_methods","taint","tap","to_ast","to_enum","to_json","to_s","trust","try","type","untaint","undef","untrust","while","with"];(function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(_,L,g,p){p===void 0&&(p=g);var a=Object.getOwnPropertyDescriptor(L,g);(!a||("get"in a?!L.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return L[g]}}),Object.defineProperty(_,p,a)}:function(_,L,g,p){p===void 0&&(p=g),_[p]=L[g]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(_,L){Object.defineProperty(_,"default",{enumerable:!0,value:L})}:function(_,L){_.default=L}),i=Fe&&Fe.__importStar||function(_){if(_&&_.__esModule)return _;var L={};if(_!=null)for(var g in _)g!=="default"&&Object.prototype.hasOwnProperty.call(_,g)&&t(L,_,g);return n(L,_),L};Object.defineProperty(e,"__esModule",{value:!0}),e.RubyRenderer=e.RubyTargetLanguage=e.rubyOptions=e.Strictness=void 0;const r=i(Ho),u=et,l=qe,d=Et,y=Lt,T=dt,S=i(Vr),O=Array.from(new Set([...S.keywords,...S.reservedProperties])),I=lt(),k=ot(),P=St();function m(_){return"\\u{"+(0,P.intToHex)(_,0)+"}"}const C=(0,P.utf32ConcatMap)((0,P.escapeNonPrintableMapper)(P.isPrintable,m));var J;(function(_){_.Strict="Strict::",_.Coercible="Coercible::",_.None="Types::"})(J=e.Strictness||(e.Strictness={})),e.rubyOptions={justTypes:new T.BooleanOption("just-types","Plain types only",!1),strictness:new T.EnumOption("strictness","Type strictness",[["strict",J.Strict],["coercible",J.Coercible],["none",J.None]]),namespace:new T.StringOption("namespace","Specify a wrapping Namespace","NAME","","secondary")};class x extends y.TargetLanguage{constructor(){super("Ruby",["ruby"],"rb")}getOptions(){return[e.rubyOptions.justTypes,e.rubyOptions.strictness,e.rubyOptions.namespace]}get supportsOptionalClassProperties(){return!0}get defaultIndentation(){return" "}makeRenderer(L,g){return new b(this,L,(0,T.getOptionValues)(e.rubyOptions,g))}}e.RubyTargetLanguage=x;const G=P.isLetterOrUnderscore;function K(_){const L=r.getCategory(_);return["Nd","Pc","Mn","Mc"].indexOf(L)>=0||G(_)}const U=(0,P.legalizeCharacters)(K);function R(_,L){/^[0-9]+$/.test(_)&&(_=_+"N");const g=(0,P.splitIntoWords)(_);return(0,P.combineWords)(g,U,L?P.firstUpperWordStyle:P.allLowerWordStyle,L?P.firstUpperWordStyle:P.allLowerWordStyle,P.allUpperWordStyle,P.allUpperWordStyle,"",G)}function A(_){const L=(0,P.splitIntoWords)(_);return(0,P.combineWords)(L,U,P.allLowerWordStyle,P.allLowerWordStyle,P.allLowerWordStyle,P.allLowerWordStyle,"_",G)}class b extends d.ConvenienceRenderer{constructor(L,g,p){super(L,g),this._options=p}get commentLineStart(){return"# "}get needsTypeDeclarationBeforeUse(){return!0}canBeForwardDeclared(L){return L.kind==="class"}forbiddenNamesForGlobalNamespace(){return S.globals.concat(["Types","JSON","Dry","Constructor","Self"])}forbiddenForObjectProperties(L,g){return{names:O,includeGlobalForbidden:!0}}makeNamedTypeNamer(){return new l.Namer("types",L=>R(L,!0),[])}namerForObjectProperty(){return new l.Namer("properties",A,[])}makeUnionMemberNamer(){return new l.Namer("properties",A,[])}makeEnumCaseNamer(){return new l.Namer("enum-cases",L=>R(L,!0),[])}dryType(L,g=!1){const p=g?".optional":"";return(0,k.matchType)(L,a=>["Types::Any",p],a=>["Types::Nil",p],a=>["Types::Bool",p],a=>["Types::Integer",p],a=>["Types::Double",p],a=>["Types::String",p],a=>["Types.Array(",this.dryType(a.items),")",p],a=>[this.nameForNamedType(a),p],a=>["Types::Hash.meta(of: ",this.dryType(a.values),")",p],a=>["Types::",this.nameForNamedType(a),p],a=>{const o=(0,k.nullableFromUnion)(a);return o!==null?[this.dryType(o),".optional"]:["Types.Instance(",this.nameForNamedType(a),")",p]})}exampleUse(L,g,p=6,a=!1){if(p--<=0)return g;const o=a?"&":"";return(0,k.matchType)(L,f=>g,f=>[g,".nil?"],f=>g,f=>[g,".even?"],f=>g,f=>g,f=>this.exampleUse(f.items,[g,o,".first"],p),f=>{let h;return this.forEachClassProperty(f,"none",(w,N,F)=>{["class","map","array"].indexOf(F.type.kind)>=0?h={name:w,prop:F}:h===void 0&&(h={name:w,prop:F})}),h!==void 0?this.exampleUse(h.prop.type,[g,o,".",h.name],p,h.prop.isOptional):g},f=>this.exampleUse(f.values,[g,o,'["…"]'],p),f=>{let h;return this.forEachEnumCase(f,"none",w=>{h===void 0&&(h=w)}),h!==void 0?[g," == ",this.nameForNamedType(f),"::",h]:g},f=>{const h=(0,k.nullableFromUnion)(f);return h!==null?["class","map","array"].indexOf(h.kind)>=0?this.exampleUse(h,g,p,!0):[g,".nil?"]:g})}jsonSample(L){function g(){return L instanceof I.ArrayType?"[…]":L instanceof I.MapType||L instanceof I.ClassType?"{…}":"…"}return`"${g()}"`}fromDynamic(L,g,p=!1,a=!1){const o=[this.dryType(L,p),"[",g,"]"],f=a?o:g,h=p?"&":"";return(0,k.matchType)(L,w=>f,w=>f,w=>f,w=>f,w=>f,w=>f,w=>[g,h,".map { |x| ",this.fromDynamic(w.items,"x",!1,!0)," }"],w=>{const N=[this.nameForNamedType(w),".from_dynamic!(",g,")"];return p?[g," ? ",N," : nil"]:N},w=>[["Types::Hash",p?".optional":"","[",g,"]"],h,".map { |k, v| [k, ",this.fromDynamic(w.values,"v",!1,!0),"] }",h,".to_h"],w=>{const N=["Types::",this.nameForNamedType(w),"[",g,"]"];return p?[g,".nil? ? nil : ",N]:N},w=>{const N=(0,k.nullableFromUnion)(w);if(N!==null)return this.fromDynamic(N,g,!0);const F=[this.nameForNamedType(w),".from_dynamic!(",g,")"];return p?[g," ? ",F," : nil"]:F})}toDynamic(L,g,p=!1){return this.marshalsImplicitlyToDynamic(L)?g:(0,k.matchType)(L,a=>g,a=>g,a=>g,a=>g,a=>g,a=>g,a=>[g,p?"&":"",".map { |x| ",this.toDynamic(a.items,"x")," }"],a=>[g,p?"&":"",".to_dynamic"],a=>[g,p?"&":"",".map { |k, v| [k, ",this.toDynamic(a.values,"v"),"] }.to_h"],a=>g,a=>{const o=(0,k.nullableFromUnion)(a);return o!==null?this.toDynamic(o,g,!0):this.marshalsImplicitlyToDynamic(a)?g:[g,p?"&":"",".to_dynamic"]})}marshalsImplicitlyToDynamic(L){return(0,k.matchType)(L,g=>!0,g=>!0,g=>!0,g=>!0,g=>!0,g=>!0,g=>this.marshalsImplicitlyToDynamic(g.items),g=>!1,g=>this.marshalsImplicitlyToDynamic(g.values),g=>!0,g=>{const p=(0,k.nullableFromUnion)(g);return p!==null?this.marshalsImplicitlyToDynamic(p):!1})}propertyTypeMarshalsImplicitlyFromDynamic(L){return(0,k.matchType)(L,g=>!0,g=>!0,g=>!0,g=>!0,g=>!0,g=>!0,g=>this.propertyTypeMarshalsImplicitlyFromDynamic(g.items),g=>!1,g=>!1,g=>!0,g=>{const p=(0,k.nullableFromUnion)(g);return p!==null?this.propertyTypeMarshalsImplicitlyFromDynamic(p):!1})}emitBlock(L,g){this.emitLine(L),this.indent(g),this.emitLine("end")}emitModule(L){const g=p=>{const[a,...o]=p.split("::");o.length>0?this.emitBlock(["module ",a],()=>{g(o.join("::"))}):this.emitBlock(["module ",p],L)};this._options.namespace!==void 0&&this._options.namespace!==""?g(this._options.namespace):L()}emitClass(L,g){this.emitDescription(this.descriptionForType(L)),this.emitBlock(["class ",g," < Dry::Struct"],()=>{let p=[],a=L.getProperties().size;this.forEachClassProperty(L,"none",(o,f,h)=>{const w=--a===0,N=this.descriptionForClassProperty(L,f),F=[["attribute :",o,","],[" ",this.dryType(h.type),h.isOptional?".optional":""]];N!==void 0?(p.length>0&&(this.emitTable(p),p=[]),this.ensureBlankLine(),this.emitDescriptionBlock(N),this.emitLine(F),w||this.ensureBlankLine()):p.push(F)}),p.length>0&&this.emitTable(p),!this._options.justTypes&&(this.ensureBlankLine(),this.emitBlock(["def self.from_dynamic!(d)"],()=>{this.emitLine("d = Types::Hash[d]"),this.emitLine("new("),this.indent(()=>{const o=[];this.forEachClassProperty(L,"none",(f,h,w)=>{const N=w.isOptional?`d["${C(h)}"]`:`d.fetch("${C(h)}")`;if(this.propertyTypeMarshalsImplicitlyFromDynamic(w.type))o.push([[f,": "],[N,","]]);else{const F=this.fromDynamic(w.type,N,w.isOptional);o.push([[f,": "],[F,","]])}}),this.emitTable(o)}),this.emitLine(")")}),this.ensureBlankLine(),this.emitBlock("def self.from_json!(json)",()=>{this.emitLine("from_dynamic!(JSON.parse(json))")}),this.ensureBlankLine(),this.emitBlock(["def to_dynamic"],()=>{this.emitLine("{"),this.indent(()=>{const o=[];this.forEachClassProperty(L,"none",(f,h,w)=>{const N=this.toDynamic(w.type,f,w.isOptional);o.push([[`"${C(h)}"`],[" => ",N,","]])}),this.emitTable(o)}),this.emitLine("}")}),this.ensureBlankLine(),this.emitBlock("def to_json(options = nil)",()=>{this.emitLine("JSON.generate(to_dynamic, options)")}))})}emitEnum(L,g){this.emitDescription(this.descriptionForType(L)),this.emitBlock(["module ",g],()=>{const p=[];this.forEachEnumCase(L,"none",(a,o)=>{p.push([[a],[` = "${C(o)}"`]])}),this.emitTable(p)})}emitUnion(L,g){this.emitDescription(this.descriptionForType(L)),this.emitBlock(["class ",g," < Dry::Struct"],()=>{const p=[];if(this.forEachUnionMember(L,L.getChildren(),"none",null,(f,h)=>{p.push([["attribute :",f,", "],[this.dryType(h,!0)]])}),this.emitTable(p),this._options.justTypes)return;this.ensureBlankLine();const[a,o]=(0,k.removeNullFromUnion)(L,!1);this.emitBlock("def self.from_dynamic!(d)",()=>{const f=Array.from(L.getChildren()).map(h=>this.nameForUnionMember(L,h));this.forEachUnionMember(L,L.getChildren(),"none",null,(h,w)=>{const N=f.filter(F=>F!==h).map(F=>[", ",F,": nil"]);this.propertyTypeMarshalsImplicitlyFromDynamic(w)?this.emitBlock(["if schema[:",h,"].right.valid? d"],()=>{this.emitLine("return new(",h,": d",N,")")}):(this.emitLine("begin"),this.indent(()=>{this.emitLine("value = ",this.fromDynamic(w,"d")),this.emitBlock(["if schema[:",h,"].right.valid? value"],()=>{this.emitLine("return new(",h,": value",N,")")})}),this.emitLine("rescue"),this.emitLine("end"))}),this.emitLine('raise "Invalid union"')}),this.ensureBlankLine(),this.emitBlock("def self.from_json!(json)",()=>{this.emitLine("from_dynamic!(JSON.parse(json))")}),this.ensureBlankLine(),this.emitBlock("def to_dynamic",()=>{let f=!0;this.forEachUnionMember(L,o,"none",null,(h,w)=>{this.emitLine(f?"if":"elsif"," ",h," != nil"),this.indent(()=>{this.emitLine(this.toDynamic(w,h))}),f=!1}),a!==null&&(this.emitLine("else"),this.indent(()=>{this.emitLine("nil")})),this.emitLine("end")}),this.ensureBlankLine(),this.emitBlock("def to_json(options = nil)",()=>{this.emitLine("JSON.generate(to_dynamic, options)")})})}emitTypesModule(){this.emitBlock(["module Types"],()=>{this.emitLine("include Dry.Types(default: :nominal)");const L=[];if(this._options.strictness!==J.None){let g={int:!1,nil:!1,bool:!1,hash:!1,string:!1,double:!1};this.forEachType(p=>{g={int:g.int||p.kind==="integer",nil:g.nil||p.kind==="null",bool:g.bool||p.kind==="bool",hash:g.hash||p.kind==="map"||p.kind==="class",string:g.string||p.kind==="string"||p.kind==="enum",double:g.double||p.kind==="double"}}),g.int&&L.push([["Integer"],[` = ${this._options.strictness}Integer`]]),this._options.strictness===J.Strict&&g.nil&&L.push([["Nil"],[` = ${this._options.strictness}Nil`]]),g.bool&&L.push([["Bool"],[` = ${this._options.strictness}Bool`]]),g.hash&&L.push([["Hash"],[` = ${this._options.strictness}Hash`]]),g.string&&L.push([["String"],[` = ${this._options.strictness}String`]]),g.double&&L.push([["Double"],[` = ${this._options.strictness}Float | ${this._options.strictness}Integer`]])}this.forEachEnum("none",(g,p)=>{const a=[];this.forEachEnumCase(g,"none",(o,f)=>{a.push([a.length===0?"":", ",`"${C(f)}"`])}),L.push([[p],[" = ",this._options.strictness,"String.enum(",...a,")"]])}),L.length>0&&(this.ensureBlankLine(),this.emitTable(L))})}emitSourceStructure(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this._options.justTypes||(this.emitLine("# This code may look unusually verbose for Ruby (and it is), but"),this.emitLine("# it performs some subtle and complex validation of JSON data."),this.emitLine("#"),this.emitLine("# To parse this JSON, add 'dry-struct' and 'dry-types' gems, then do:"),this.emitLine("#"),this.forEachTopLevel("none",(L,g)=>{const p=(0,u.modifySource)(P.snakeCase,g);this.emitLine("# ",p," = ",g,".from_json! ",this.jsonSample(L)),this.emitLine("# puts ",this.exampleUse(L,p)),this.emitLine("#")}),this.emitLine("# If from_json! succeeds, the value returned matches the schema.")),this.ensureBlankLine(),this.emitLine("require 'json'"),this.emitLine("require 'dry-types'"),this.emitLine("require 'dry-struct'"),this.ensureBlankLine(),this.emitModule(()=>{this.emitTypesModule(),this.forEachDeclaration("leading-and-interposing",L=>{L.kind==="forward"&&(this.emitCommentLines(["(forward declaration)"]),this.emitModule(()=>{this.emitLine("class ",this.nameForNamedType(L.type)," < Dry::Struct; end")}))}),this.forEachNamedType("leading-and-interposing",(L,g)=>this.emitClass(L,g),(L,g)=>this.emitEnum(L,g),(L,g)=>this.emitUnion(L,g)),this._options.justTypes||this.forEachTopLevel("leading-and-interposing",(L,g)=>{const p=(0,u.modifySource)(P.snakeCase,g),a=L.kind==="array",o=()=>{this.emitBlock(["class ",g],()=>{this.emitBlock(["def self.from_json!(json)"],()=>{a?(this.emitLine(p," = ",this.fromDynamic(L,"JSON.parse(json, quirks_mode: true)")),this.emitBlock([p,".define_singleton_method(:to_json) do"],()=>{this.emitLine("JSON.generate(",this.toDynamic(L,"self"),")")}),this.emitLine(p)):this.emitLine(this.fromDynamic(L,"JSON.parse(json, quirks_mode: true)"))})})};this.emitModule(()=>{o()})},L=>this.namedTypeToNameForTopLevel(L)===void 0)})}}e.RubyRenderer=b})($p);var em={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DartRenderer=e.DartTargetLanguage=e.dartOptions=void 0;const t=lt(),n=ot(),i=et,r=St(),u=qe,l=Et,d=Lt,y=dt,T=jt,S=Ie;e.dartOptions={nullSafety:new y.BooleanOption("null-safety","Null Safety",!0),justTypes:new y.BooleanOption("just-types","Types only",!1),codersInClass:new y.BooleanOption("coders-in-class","Put encoder & decoder in Class",!1),methodNamesWithMap:new y.BooleanOption("from-map","Use method names fromMap() & toMap()",!1,"secondary"),requiredProperties:new y.BooleanOption("required-props","Make all properties required",!1),finalProperties:new y.BooleanOption("final-props","Make all properties final",!1),generateCopyWith:new y.BooleanOption("copy-with","Generate CopyWith method",!1),useFreezed:new y.BooleanOption("use-freezed","Generate class definitions with @freezed compatibility",!1,"secondary"),useHive:new y.BooleanOption("use-hive","Generate annotations for Hive type adapters",!1,"secondary"),useJsonAnnotation:new y.BooleanOption("use-json-annotation","Generate annotations for json_serializable",!1,"secondary"),partName:new y.StringOption("part-name","Use this name in `part` directive","NAME","","secondary")};class O extends d.TargetLanguage{constructor(){super("Dart",["dart"],"dart")}getOptions(){return[e.dartOptions.nullSafety,e.dartOptions.justTypes,e.dartOptions.codersInClass,e.dartOptions.methodNamesWithMap,e.dartOptions.requiredProperties,e.dartOptions.finalProperties,e.dartOptions.generateCopyWith,e.dartOptions.useFreezed,e.dartOptions.useHive,e.dartOptions.useJsonAnnotation,e.dartOptions.partName]}get supportsUnionsWithBothNumberTypes(){return!0}get stringTypeMapping(){const A=new Map;return A.set("date","date"),A.set("date-time","date-time"),A}makeRenderer(A,b){const _=(0,y.getOptionValues)(e.dartOptions,b);return new U(this,A,_)}}e.DartTargetLanguage=O;const I=["abstract","do","import","super","as","dynamic","in","switch","assert","else","interface","sync*","async","enum","is","this","async*","export","library","throw","await","external","mixin","true","break","extends","new","try","case","factory","null","typedef","catch","false","operator","var","class","final","part","void","const","finally","rethrow","while","continue","for","return","with","covariant","get","set","yield","default","if","static","yield*","deferred","implements","int","double","bool","Map","List","String","File","fromJson","toJson","fromMap","toMap"],k=(0,u.funPrefixNamer)("types",R=>K(!0,!1,R)),P=(0,u.funPrefixNamer)("properties",R=>K(!1,!1,R)),m=(0,u.funPrefixNamer)("enum-cases",R=>K(!0,!0,R)),C=(0,r.utf16ConcatMap)((0,r.escapeNonPrintableMapper)(R=>(0,r.isPrintable)(R)&&R!==36,r.standardUnicodeHexEscape));function J(R){return R===95?!1:(0,r.isAscii)(R)&&(0,r.isLetter)(R)}function x(R){return J(R)||(0,r.isAscii)(R)&&(0,r.isDigit)(R)}const G=(0,r.utf16LegalizeCharacters)(x);function K(R,A,b){const _=(0,r.splitIntoWords)(b),L=A?r.allUpperWordStyle:R?r.firstUpperWordStyle:r.allLowerWordStyle,g=A?r.allUpperWordStyle:r.firstUpperWordStyle;return(0,r.combineWords)(_,G,L,g,L,g,A?"_":"",J)}class U extends l.ConvenienceRenderer{constructor(A,b,_){super(A,b),this._options=_,this._gettersAndSettersForPropertyName=new Map,this._needEnumValues=!1,this.classCounter=0,this.classPropertyCounter=0,this._topLevelDependents=new Map,this._enumValues=new Map}forbiddenNamesForGlobalNamespace(){return I}forbiddenForObjectProperties(A,b){return{names:[],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return k}namerForObjectProperty(){return P}makeUnionMemberNamer(){return P}makeEnumCaseNamer(){return m}unionNeedsName(A){return(0,n.nullableFromUnion)(A)===null}namedTypeToNameForTopLevel(A){return(0,n.directlyReachableSingleNamedType)(A)}get toJson(){return`to${this._options.methodNamesWithMap?"Map":"Json"}`}get fromJson(){return`from${this._options.methodNamesWithMap?"Map":"Json"}`}makeTopLevelDependencyNames(A,b){const _=new u.DependencyName(P,b.order,g=>`${g(b)}_${this.toJson}`),L=new u.DependencyName(P,b.order,g=>`${g(b)}_${this.fromJson}`);return this._topLevelDependents.set(b,{encoder:_,decoder:L}),[_,L]}makeNamesForPropertyGetterAndSetter(A,b,_,L,g){const p=new u.DependencyName(P,g.order,o=>`get_${o(g)}`),a=new u.DependencyName(P,g.order,o=>`set_${o(g)}`);return[p,a]}makePropertyDependencyNames(A,b,_,L,g){const p=this.makeNamesForPropertyGetterAndSetter(A,b,_,L,g);return this._gettersAndSettersForPropertyName.set(g,p),p}makeNamedTypeDependencyNames(A,b){if(!(A instanceof t.EnumType))return[];const _=new u.DependencyName(P,b.order,L=>`${L(b)}_values`);return this._enumValues.set(A,_),[_]}emitFileHeader(){if(this.leadingComments!==void 0&&this.emitComments(this.leadingComments),!this._options.justTypes&&(this._options.codersInClass||(this.emitLine("// To parse this JSON data, do"),this.emitLine("//"),this.forEachTopLevel("none",(A,b)=>{const{decoder:_}=(0,S.defined)(this._topLevelDependents.get(b));this.emitLine("// final ",(0,i.modifySource)(r.decapitalize,b)," = ",_,"(jsonString);")})),this.ensureBlankLine(),this._options.requiredProperties&&this.emitLine("import 'package:meta/meta.dart';"),this._options.useFreezed&&this.emitLine("import 'package:freezed_annotation/freezed_annotation.dart';"),this._options.useHive&&this.emitLine("import 'package:hive/hive.dart';"),this._options.useJsonAnnotation&&!this._options.useFreezed&&this.emitLine("import 'package:json_annotation/json_annotation.dart';"),this.emitLine("import 'dart:convert';"),this._options.useFreezed||this._options.useHive||this._options.useJsonAnnotation)){this.ensureBlankLine();const A=this._options.partName.length===0,b=(0,i.modifySource)(r.snakeCase,A?[...this.topLevels.keys()][0]:this._options.partName);this._options.useFreezed&&this.emitLine("part '",b,".freezed.dart';"),this._options.justTypes||this.emitLine("part '",b,".g.dart';")}}emitDescriptionBlock(A){this.emitCommentLines(A,{lineStart:"///",beforeComment:""})}emitBlock(A,b){this.emitLine(A," {"),this.indent(b),this.emitLine("}")}dartType(A,b=!1,_=!1){const L=_||this._options.nullSafety&&A.isNullable&&!this._options.requiredProperties,g=p=>L?[p,"?"]:p;return(0,n.matchType)(A,p=>(0,i.maybeAnnotated)(b,T.anyTypeIssueAnnotation,"dynamic"),p=>(0,i.maybeAnnotated)(b,T.nullTypeIssueAnnotation,"dynamic"),p=>g("bool"),p=>g("int"),p=>g("double"),p=>g("String"),p=>g(["List<",this.dartType(p.items,b),">"]),p=>g(this.nameForNamedType(p)),p=>g(["Map<String, ",this.dartType(p.values,b),">"]),p=>g(this.nameForNamedType(p)),p=>{const a=(0,n.nullableFromUnion)(p);return a===null?"dynamic":g(this.dartType(a,b))},p=>{switch(p.kind){case"date-time":case"date":return g("DateTime");default:return g("String")}})}mapList(A,b,_,L){return this._options.nullSafety&&A&&!this._options.requiredProperties?[_," == null ? [] : ","List<",b,">.from(",_,"!.map((x) => ",L,"))"]:["List<",b,">.from(",_,".map((x) => ",L,"))"]}mapMap(A,b,_,L){return this._options.nullSafety&&A&&!this._options.requiredProperties?["Map.from(",_,"!).map((k, v) => MapEntry<String, ",b,">(k, ",L,"))"]:["Map.from(",_,").map((k, v) => MapEntry<String, ",b,">(k, ",L,"))"]}mapClass(A,b,_){return this._options.nullSafety&&A&&!this._options.requiredProperties?[_," == null ? null : ",this.nameForNamedType(b),".",this.fromJson,"(",_,")"]:[this.nameForNamedType(b),".",this.fromJson,"(",_,")"]}fromDynamicExpression(A=!1,b,..._){return(0,n.matchType)(b,L=>_,L=>_,L=>_,L=>_,L=>[_,this._options.nullSafety?"?.toDouble()":".toDouble()"],L=>_,L=>this.mapList(A||L.isNullable,this.dartType(L.items),_,this.fromDynamicExpression(L.items.isNullable,L.items,"x")),L=>this.mapClass(A||L.isNullable,L,_),L=>this.mapMap(L.isNullable||A,this.dartType(L.values),_,this.fromDynamicExpression(L.values.isNullable,L.values,"v")),L=>[(0,S.defined)(this._enumValues.get(L)),".map[",_,this._options.nullSafety?"]!":"]"],L=>{const g=(0,n.nullableFromUnion)(L);return g===null?_:this.fromDynamicExpression(L.isNullable,g,_)},L=>{switch(L.kind){case"date-time":case"date":return(L.isNullable||A)&&!this._options.requiredProperties&&this._options.nullSafety?[_," == null ? null : ","DateTime.parse(",_,")"]:["DateTime.parse(",_,")"];default:return _}})}toDynamicExpression(A=!1,b,..._){return(0,n.matchType)(b,L=>_,L=>_,L=>_,L=>_,L=>_,L=>_,L=>this.mapList(L.isNullable||A,"dynamic",_,this.toDynamicExpression(L.items.isNullable,L.items,"x")),L=>this._options.nullSafety&&(L.isNullable||A)&&!this._options.requiredProperties?[_,"?.",this.toJson,"()"]:[_,".",this.toJson,"()"],L=>this.mapMap(L.isNullable||A,"dynamic",_,this.toDynamicExpression(L.values.isNullable,L.values,"v")),L=>[(0,S.defined)(this._enumValues.get(L)),".reverse[",_,"]"],L=>{const g=(0,n.nullableFromUnion)(L);return g===null?_:this.toDynamicExpression(L.isNullable,g,_)},L=>{switch(L.kind){case"date-time":return this._options.nullSafety&&!this._options.requiredProperties&&(L.isNullable||A)?[_,"?.toIso8601String()"]:[_,".toIso8601String()"];case"date":return this._options.nullSafety&&!this._options.requiredProperties&&(L.isNullable||A)?['"${',_,"!.year.toString().padLeft(4, '0')","}-${",_,"!.month.toString().padLeft(2, '0')}-${",_,`!.day.toString().padLeft(2, '0')}"`]:['"${',_,".year.toString().padLeft(4, '0')","}-${",_,".month.toString().padLeft(2, '0')}-${",_,`.day.toString().padLeft(2, '0')}"`];default:return _}})}_emitEmptyConstructor(A){this.emitLine(A,"();")}_emitConstructor(A,b){this.emitLine(b,"({"),this.indent(()=>{this.forEachClassProperty(A,"none",(_,L,g)=>{const p=this._options.requiredProperties||this._options.nullSafety&&(!g.type.isNullable||!g.isOptional);this.emitLine(p?"required ":"","this.",_,",")})}),this.emitLine("});"),this.ensureBlankLine()}_emitVariables(A){this.forEachClassProperty(A,"none",(b,_,L)=>{const g=this.descriptionForClassProperty(A,_);g!==void 0&&this.emitDescription(g),this._options.useHive&&(this.classPropertyCounter++,this.emitLine(`@HiveField(${this.classPropertyCounter})`)),this._options.useJsonAnnotation&&(this.classPropertyCounter++,this.emitLine(`@JsonKey(name: "${_}")`)),this.emitLine(this._options.finalProperties?"final ":"",this.dartType(L.type,!0)," ",b,";")})}_emitCopyConstructor(A,b){this.ensureBlankLine(),this.emitLine(b," copyWith({"),this.indent(()=>{this.forEachClassProperty(A,"none",(_,L,g)=>{this.emitLine(this.dartType(g.type,!0,!0)," ",_,",")})}),this.emitLine("}) => "),this.indent(()=>{this.emitLine(b,"("),this.indent(()=>{this.forEachClassProperty(A,"none",(_,L,g)=>{this.emitLine(_,": ",_," ?? ","this.",_,",")})}),this.emitLine(");")})}_emitStringJsonEncoderDecoder(A){this.ensureBlankLine(),this.emitLine("factory ",A,".from",this._options.methodNamesWithMap?"Json":"RawJson","(String str) => ",A,".",this.fromJson,"(json.decode(str));"),this.ensureBlankLine(),this.emitLine("String ",this._options.methodNamesWithMap?"toJson() => ":"toRawJson() => ","json.encode(",this.toJson,"());")}_emitMapEncoderDecoder(A,b){this.ensureBlankLine(),this.emitLine("factory ",b,".",this.fromJson,"(Map<String, dynamic> json) => ",b,"("),this.indent(()=>{this.forEachClassProperty(A,"none",(_,L,g)=>{this.emitLine(_,": ",this.fromDynamicExpression(g.type.isNullable,g.type,'json["',C(L),'"]'),",")})}),this.emitLine(");"),this.ensureBlankLine(),this.emitLine("Map<String, dynamic> ",this.toJson,"() => {"),this.indent(()=>{this.forEachClassProperty(A,"none",(_,L,g)=>{this.emitLine('"',C(L),'": ',this.toDynamicExpression(g.type.isNullable,g.type,_),",")})}),this.emitLine("};")}emitClassDefinition(A,b){this.emitDescription(this.descriptionForType(A)),this._options.useHive&&(this.classCounter++,this.emitLine(`@HiveType(typeId: ${this.classCounter})`),this.classPropertyCounter=0),this._options.useJsonAnnotation&&this.emitLine("@JsonSerializable()"),this.emitBlock(["class ",b],()=>{if(A.getProperties().size===0?this._emitEmptyConstructor(b):(this._emitVariables(A),this.ensureBlankLine(),this._emitConstructor(A,b)),this._options.generateCopyWith&&this._emitCopyConstructor(A,b),this._options.useJsonAnnotation)this.ensureBlankLine(),this.emitLine("factory ",b,".fromJson(Map<String, dynamic> json) => ","_$",b,"FromJson(json);"),this.ensureBlankLine(),this.emitLine("Map<String, dynamic> toJson() => ","_$",b,"ToJson(this);");else{if(this._options.justTypes)return;this._options.codersInClass&&this._emitStringJsonEncoderDecoder(b),this._emitMapEncoderDecoder(A,b)}})}emitFreezedClassDefinition(A,b){this.emitDescription(this.descriptionForType(A)),this.emitLine("@freezed"),this.emitBlock(["class ",b," with _$",b],()=>{A.getProperties().size===0?this.emitLine("const factory ",b,"() = _",b,";"):(this.emitLine("const factory ",b,"({"),this.indent(()=>{this.forEachClassProperty(A,"none",(_,L,g)=>{const p=this.descriptionForClassProperty(A,L);p!==void 0&&this.emitDescription(p);const a=this._options.requiredProperties||this._options.nullSafety&&(!g.type.isNullable||!g.isOptional);this._options.useJsonAnnotation&&(this.classPropertyCounter++,this.emitLine(`@JsonKey(name: "${L}")`)),this.emitLine(a?"required ":"",this.dartType(g.type,!0)," ",_,",")})}),this.emitLine("}) = _",b,";")),!this._options.justTypes&&(this.ensureBlankLine(),this.emitLine("factory ",b,".fromJson(Map<String, dynamic> json) => ","_$",b,"FromJson(json);"))})}emitEnumDefinition(A,b){this.emitDescription(this.descriptionForType(A)),this.emitLine("enum ",b," {"),this.indent(()=>{this.forEachEnumCase(A,"none",(_,L,g)=>{const p=g==="first"||g==="middle"?",":[];this._options.useJsonAnnotation&&this.emitLine('@JsonValue("',C(L),'")'),this.emitLine(_,p)})}),this.emitLine("}"),!this._options.justTypes&&(this.ensureBlankLine(),this.emitLine("final ",(0,S.defined)(this._enumValues.get(A))," = EnumValues({"),this.indent(()=>{this.forEachEnumCase(A,"none",(_,L,g)=>{const p=g==="first"||g==="middle"?",":[];this.emitLine('"',C(L),'": ',b,".",_,p)})}),this.emitLine("});"),this._needEnumValues=!0)}emitEnumValues(){this.ensureBlankLine(),this.emitMultiline(`class EnumValues<T> {
|
|
875
|
+
Map<String, T> map;
|
|
876
|
+
late Map<T, String> reverseMap;
|
|
877
|
+
|
|
878
|
+
EnumValues(this.map);
|
|
879
|
+
|
|
880
|
+
Map<T, String> get reverse {
|
|
881
|
+
reverseMap = map.map((k, v) => MapEntry(v, k));
|
|
882
|
+
return reverseMap;
|
|
883
|
+
}
|
|
884
|
+
}`)}_emitTopLvlEncoderDecoder(){this.forEachTopLevel("leading-and-interposing",(A,b)=>{const{encoder:_,decoder:L}=(0,S.defined)(this._topLevelDependents.get(b));this.emitLine(this.dartType(A)," ",L,"(String str) => ",this.fromDynamicExpression(A.isNullable,A,"json.decode(str)"),";"),this.ensureBlankLine(),this.emitLine("String ",_,"(",this.dartType(A)," data) => json.encode(",this.toDynamicExpression(A.isNullable,A,"data"),");")})}emitSourceStructure(){this.emitFileHeader(),!this._options.justTypes&&!this._options.codersInClass&&this._emitTopLvlEncoderDecoder(),this.forEachNamedType("leading-and-interposing",(A,b)=>this._options.useFreezed?this.emitFreezedClassDefinition(A,b):this.emitClassDefinition(A,b),(A,b)=>this.emitEnumDefinition(A,b),(A,b)=>{}),this._needEnumValues&&this.emitEnumValues()}}e.DartRenderer=U})(em);var tm={};(function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(w,N,F,B){B===void 0&&(B=F);var W=Object.getOwnPropertyDescriptor(N,F);(!W||("get"in W?!N.__esModule:W.writable||W.configurable))&&(W={enumerable:!0,get:function(){return N[F]}}),Object.defineProperty(w,B,W)}:function(w,N,F,B){B===void 0&&(B=F),w[B]=N[F]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(w,N){Object.defineProperty(w,"default",{enumerable:!0,value:N})}:function(w,N){w.default=N}),i=Fe&&Fe.__importStar||function(w){if(w&&w.__esModule)return w;var N={};if(w!=null)for(var F in w)F!=="default"&&Object.prototype.hasOwnProperty.call(w,F)&&t(N,w,F);return n(N,w),N};Object.defineProperty(e,"__esModule",{value:!0}),e.JSONPythonRenderer=e.PythonRenderer=e.PythonTargetLanguage=e.pythonOptions=void 0;const r=Lt,u=lt(),l=dt,d=Et,y=qe,T=St(),S=Ie,O=et,I=ot(),k=Qo,P=He,m=i(Ho),C=["Any","True","False","None","Enum","List","Dict","Optional","Union","Iterable","Type","TypeVar","T","EnumT"],J=["and","as","assert","async","await","bool","break","class","continue","datetime","def","del","dict","elif","else","except","finally","float","for","from","global","if","import","in","int","is","lambda","nonlocal","not","or","pass","print","raise","return","self","str","try","while","with","yield"];e.pythonOptions={features:new l.EnumOption("python-version","Python version",[["3.5",{typeHints:!1,dataClasses:!1}],["3.6",{typeHints:!0,dataClasses:!1}],["3.7",{typeHints:!0,dataClasses:!0}]],"3.6"),justTypes:new l.BooleanOption("just-types","Classes only",!1),nicePropertyNames:new l.BooleanOption("nice-property-names","Transform property names to be Pythonic",!0)};class x extends r.TargetLanguage{getOptions(){return[e.pythonOptions.features,e.pythonOptions.justTypes,e.pythonOptions.nicePropertyNames]}get stringTypeMapping(){const N=new Map,F="date-time";return N.set("date",F),N.set("time",F),N.set("date-time",F),N.set("uuid","uuid"),N.set("integer-string","integer-string"),N.set("bool-string","bool-string"),N}get supportsUnionsWithBothNumberTypes(){return!0}get supportsOptionalClassProperties(){return!1}needsTransformerForType(N){return N instanceof u.UnionType?(0,P.iterableSome)(N.members,F=>this.needsTransformerForType(F)):N.kind==="integer-string"||N.kind==="bool-string"}makeRenderer(N,F){const B=(0,l.getOptionValues)(e.pythonOptions,F);return B.justTypes?new g(this,N,B):new h(this,N,B)}}e.PythonTargetLanguage=x;function G(w){const N=m.getCategory(w);return["Lu","Ll","Lt","Lm","Lo","Nl"].indexOf(N)>=0}function K(w){if(G(w))return!0;const N=m.getCategory(w);return["Mn","Mc","Nd","Pc"].indexOf(N)>=0}function U(w){const N=String.fromCharCode(w).normalize("NFKC"),F=N.length;if(F===0||!G(N.charCodeAt(0)))return!1;for(let B=1;B<F;B++)if(!K(N.charCodeAt(B)))return!1;return!0}function R(w){const N=String.fromCharCode(w).normalize("NFKC"),F=N.length;for(let B=0;B<F;B++)if(!K(N.charCodeAt(B)))return!1;return!0}const A=(0,T.utf16LegalizeCharacters)(R);function b(w){const N=(0,T.splitIntoWords)(w);return(0,T.combineWords)(N,A,T.firstUpperWordStyle,T.firstUpperWordStyle,T.allUpperWordStyle,T.allUpperWordStyle,"",U)}function _(w,N){return N?w?T.allUpperWordStyle:T.allLowerWordStyle:T.originalWord}function L(w,N,F){const B=_(N,F),W=F?"_":"",Q=(0,T.splitIntoWords)(w);return(0,T.combineWords)(Q,A,B,B,B,B,W,U)}class g extends d.ConvenienceRenderer{constructor(N,F,B){super(N,F),this.pyOptions=B,this.imports=new Map,this.declaredTypes=new Set}forbiddenNamesForGlobalNamespace(){return C}forbiddenForObjectProperties(N,F){return{names:J,includeGlobalForbidden:!1}}makeNamedTypeNamer(){return(0,y.funPrefixNamer)("type",b)}namerForObjectProperty(){return(0,y.funPrefixNamer)("property",N=>L(N,!1,this.pyOptions.nicePropertyNames))}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return(0,y.funPrefixNamer)("enum-case",N=>L(N,!0,this.pyOptions.nicePropertyNames))}get commentLineStart(){return"# "}emitDescriptionBlock(N){if(N.length===1){const F=(0,O.modifySource)(B=>B.endsWith('"')?B.slice(0,-1)+'\\"':B,N[0]);this.emitComments([{customLines:[F],lineStart:'"""',lineEnd:'"""'}])}else this.emitCommentLines(N,{firstLineStart:'"""',lineStart:"",afterComment:'"""'})}get needsTypeDeclarationBeforeUse(){return!0}canBeForwardDeclared(N){const F=N.kind;return F==="class"||F==="enum"}emitBlock(N,F){this.emitLine(N),this.indent(F)}string(N){return['"',(0,T.stringEscape)(N),'"']}withImport(N,F){return(this.pyOptions.features.typeHints||N!=="typing")&&(0,P.mapUpdateInto)(this.imports,N,B=>B?(0,P.setUnionInto)(B,[F]):new Set([F])),F}withTyping(N){return this.withImport("typing",N)}namedType(N){const F=this.nameForNamedType(N);return this.declaredTypes.has(N)?F:["'",F,"'"]}pythonType(N,F=!1){const B=(0,k.followTargetType)(N);return(0,I.matchType)(B,W=>this.withTyping("Any"),W=>"None",W=>"bool",W=>"int",W=>"float",W=>"str",W=>[this.withTyping("List"),"[",this.pythonType(W.items),"]"],W=>this.namedType(W),W=>[this.withTyping("Dict"),"[str, ",this.pythonType(W.values),"]"],W=>this.namedType(W),W=>{const[Q,z]=(0,I.removeNullFromUnion)(W),E=Array.from(z).map(j=>this.pythonType(j));if(Q!==null){let j=[];return!this.getAlphabetizeProperties()&&this.pyOptions.features.dataClasses&&F&&j.push(" = None"),z.size>1?(this.withImport("typing","Union"),[this.withTyping("Optional"),"[Union[",(0,P.arrayIntercalate)(", ",E),"]]",...j]):[this.withTyping("Optional"),"[",(0,S.defined)((0,P.iterableFirst)(E)),"]",...j]}else return[this.withTyping("Union"),"[",(0,P.arrayIntercalate)(", ",E),"]"]},W=>W.kind==="date-time"?this.withImport("datetime","datetime"):W.kind==="uuid"?this.withImport("uuid","UUID"):(0,S.panic)(`Transformed type ${W.kind} not supported`))}declarationLine(N){return N instanceof u.ClassType?["class ",this.nameForNamedType(N),":"]:N instanceof u.EnumType?["class ",this.nameForNamedType(N),"(",this.withImport("enum","Enum"),"):"]:(0,S.panic)(`Can't declare type ${N.kind}`)}declareType(N,F){this.emitBlock(this.declarationLine(N),()=>{this.emitDescription(this.descriptionForType(N)),F()}),this.declaredTypes.add(N)}emitClassMembers(N){if(this.pyOptions.features.dataClasses)return;const F=[];this.forEachClassProperty(N,"none",(B,W,Q)=>{F.push([B,this.typeHint(": ",this.pythonType(Q.type))])}),this.emitBlock(["def __init__(self, ",(0,P.arrayIntercalate)(", ",F),")",this.typeHint(" -> None"),":"],()=>{F.length===0?this.emitLine("pass"):this.forEachClassProperty(N,"none",B=>{this.emitLine("self.",B," = ",B)})})}typeHint(...N){return this.pyOptions.features.typeHints?N:[]}typingDecl(N,F){return[N,this.typeHint(": ",this.withTyping(F))]}typingReturn(N){return this.typeHint(" -> ",this.withTyping(N))}sortClassProperties(N,F){return this.pyOptions.features.dataClasses?(0,P.mapSortBy)(N,B=>B.type instanceof u.UnionType&&(0,I.nullableFromUnion)(B.type)!=null||B.isOptional?1:0):super.sortClassProperties(N,F)}emitClass(N){this.pyOptions.features.dataClasses&&this.emitLine("@",this.withImport("dataclasses","dataclass")),this.declareType(N,()=>{this.pyOptions.features.typeHints&&(N.getProperties().size===0?this.emitLine("pass"):this.forEachClassProperty(N,"none",(F,B,W)=>{this.emitLine(F,this.typeHint(": ",this.pythonType(W.type,!0))),this.emitDescription(this.descriptionForClassProperty(N,B))}),this.ensureBlankLine()),this.emitClassMembers(N)})}emitEnum(N){this.declareType(N,()=>{this.forEachEnumCase(N,"none",(F,B)=>{this.emitLine([F," = ",this.string(B)])})})}emitImports(){this.imports.forEach((N,F)=>{this.emitLine("from ",F," import ",Array.from(N).join(", "))})}emitSupportCode(){}emitClosingCode(){}emitSourceStructure(N){const F=this.gatherSource(()=>{this.forEachNamedType(["interposing",2],Q=>this.emitClass(Q),Q=>this.emitEnum(Q),Q=>{})}),B=this.gatherSource(()=>this.emitClosingCode()),W=this.gatherSource(()=>this.emitSupportCode());this.leadingComments!==void 0&&this.emitComments(this.leadingComments),this.ensureBlankLine(),this.emitImports(),this.ensureBlankLine(2),this.emitGatheredSource(W),this.ensureBlankLine(2),this.emitGatheredSource(F),this.ensureBlankLine(2),this.emitGatheredSource(B)}}e.PythonRenderer=g;function p(w,N){return typeof N=="function"?w.value!==void 0?{value:N(f(w))}:w.lambda!==void 0?{lambda:(0,O.multiWord)(" ","lambda x:",N([(0,O.parenIfNeeded)(w.lambda),"(x)"])),value:void 0}:{lambda:(0,O.multiWord)(" ","lambda x:",N("x")),value:void 0}:N.value!==void 0?(0,S.panic)("Cannot compose into a value"):N.lambda===void 0?w:w.value===void 0?w.lambda===void 0?N:{lambda:(0,O.multiWord)("","lambda x: ",(0,O.parenIfNeeded)(N.lambda),"(",(0,O.parenIfNeeded)(w.lambda),"(x))"),value:void 0}:{lambda:N.lambda,value:f(w)}}const a={value:void 0};function o(w){return w.lambda!==void 0?w.value===void 0?w.lambda:(0,O.multiWord)("","lambda x: ",(0,O.parenIfNeeded)(w.lambda),"(",w.value,")"):w.value!==void 0?(0,O.multiWord)(" ","lambda x:",w.value):(0,O.multiWord)(" ","lambda x:","x")}function f(w){return w.value===void 0?(0,S.panic)("Cannot make value from lambda without value"):w.lambda!==void 0?[(0,O.parenIfNeeded)(w.lambda),"(",w.value,")"]:w.value}class h extends g{constructor(){super(...arguments),this._deserializerFunctions=new Set,this._converterNamer=(0,y.funPrefixNamer)("converter",N=>L(N,!1,this.pyOptions.nicePropertyNames)),this._topLevelConverterNames=new Map,this._haveTypeVar=!1,this._haveEnumTypeVar=!1,this._haveDateutil=!1}emitTypeVar(N,F){this.pyOptions.features.typeHints&&this.emitLine(N," = ",this.withTyping("TypeVar"),"(",this.string(N),F,")")}typeVar(){return this._haveTypeVar=!0,this.withTyping("TypeVar"),"T"}enumTypeVar(){return this._haveEnumTypeVar=!0,this.withTyping("TypeVar"),this.withImport("enum","Enum"),"EnumT"}cast(N,F){return this.pyOptions.features.typeHints?[this.withTyping("cast"),"(",N,", ",F,")"]:F}emitNoneConverter(){this.emitBlock(["def from_none(",this.typingDecl("x","Any"),")",this.typeHint(" -> ",this.withTyping("Any")),":"],()=>{this.emitLine("assert x is None"),this.emitLine("return x")})}emitBoolConverter(){this.emitBlock(["def from_bool(",this.typingDecl("x","Any"),")",this.typeHint(" -> bool"),":"],()=>{this.emitLine("assert isinstance(x, bool)"),this.emitLine("return x")})}emitIntConverter(){this.emitBlock(["def from_int(",this.typingDecl("x","Any"),")",this.typeHint(" -> int"),":"],()=>{this.emitLine("assert isinstance(x, int) and not isinstance(x, bool)"),this.emitLine("return x")})}emitFromFloatConverter(){this.emitBlock(["def from_float(",this.typingDecl("x","Any"),")",this.typeHint(" -> float"),":"],()=>{this.emitLine("assert isinstance(x, (float, int)) and not isinstance(x, bool)"),this.emitLine("return float(x)")})}emitToFloatConverter(){this.emitBlock(["def to_float(",this.typingDecl("x","Any"),")",this.typeHint(" -> float"),":"],()=>{this.emitLine("assert isinstance(x, (int, float))"),this.emitLine("return x")})}emitStrConverter(){this.emitBlock(["def from_str(",this.typingDecl("x","Any"),")",this.typeHint(" -> str"),":"],()=>{this.emitLine("assert isinstance(x, ","str",")"),this.emitLine("return x")})}emitToEnumConverter(){const N=this.enumTypeVar();this.emitBlock(["def to_enum(c",this.typeHint(": ",this.withTyping("Type"),"[",N,"]"),", ",this.typingDecl("x","Any"),")",this.typeHint(" -> ",N),":"],()=>{this.emitLine("assert isinstance(x, c)"),this.emitLine("return x.value")})}emitListConverter(){const N=this.typeVar();this.emitBlock(["def from_list(f",this.typeHint(": ",this.withTyping("Callable"),"[[",this.withTyping("Any"),"], ",N,"]"),", ",this.typingDecl("x","Any"),")",this.typeHint(" -> ",this.withTyping("List"),"[",N,"]"),":"],()=>{this.emitLine("assert isinstance(x, list)"),this.emitLine("return [f(y) for y in x]")})}emitToClassConverter(){const N=this.typeVar();this.emitBlock(["def to_class(c",this.typeHint(": ",this.withTyping("Type"),"[",N,"]"),", ",this.typingDecl("x","Any"),")",this.typeHint(" -> dict"),":"],()=>{this.emitLine("assert isinstance(x, c)"),this.emitLine("return ",this.cast(this.withTyping("Any"),"x"),".to_dict()")})}emitDictConverter(){const N=this.typeVar();this.emitBlock(["def from_dict(f",this.typeHint(": ",this.withTyping("Callable"),"[[",this.withTyping("Any"),"], ",N,"]"),", ",this.typingDecl("x","Any"),")",this.typeHint(" -> ",this.withTyping("Dict"),"[str, ",N,"]"),":"],()=>{this.emitLine("assert isinstance(x, dict)"),this.emitLine("return { k: f(v) for (k, v) in x.items() }")})}emitUnionConverter(){this.emitMultiline(`def from_union(fs, x):
|
|
885
|
+
for f in fs:
|
|
886
|
+
try:
|
|
887
|
+
return f(x)
|
|
888
|
+
except:
|
|
889
|
+
pass
|
|
890
|
+
assert False`)}emitFromDatetimeConverter(){this.emitBlock(["def from_datetime(",this.typingDecl("x","Any"),")",this.typeHint(" -> ",this.withImport("datetime","datetime")),":"],()=>{this._haveDateutil=!0,this.emitLine("return dateutil.parser.parse(x)")})}emitFromStringifiedBoolConverter(){this.emitBlock(["def from_stringified_bool(x",this.typeHint(": str"),")",this.typeHint(" -> bool"),":"],()=>{this.emitBlock('if x == "true":',()=>this.emitLine("return True")),this.emitBlock('if x == "false":',()=>this.emitLine("return False")),this.emitLine("assert False")})}emitIsTypeConverter(){const N=this.typeVar();this.emitBlock(["def is_type(t",this.typeHint(": ",this.withTyping("Type"),"[",N,"]"),", ",this.typingDecl("x","Any"),")",this.typeHint(" -> ",N),":"],()=>{this.emitLine("assert isinstance(x, t)"),this.emitLine("return x")})}emitConverter(N){switch(N){case"none":return this.emitNoneConverter();case"bool":return this.emitBoolConverter();case"int":return this.emitIntConverter();case"from-float":return this.emitFromFloatConverter();case"to-float":return this.emitToFloatConverter();case"str":return this.emitStrConverter();case"to-enum":return this.emitToEnumConverter();case"list":return this.emitListConverter();case"to-class":return this.emitToClassConverter();case"dict":return this.emitDictConverter();case"union":return this.emitUnionConverter();case"from-datetime":return this.emitFromDatetimeConverter();case"from-stringified-bool":return this.emitFromStringifiedBoolConverter();case"is-type":return this.emitIsTypeConverter();default:return(0,S.assertNever)(N)}}conv(N){this._deserializerFunctions.add(N);const F=N.replace(/-/g,"_");return N.startsWith("from-")||N.startsWith("to-")||N.startsWith("is-")?F:["from_",F]}convFn(N,F){return p(F,{lambda:(0,O.singleWord)(this.conv(N)),value:void 0})}typeObject(N){const F=(0,I.matchType)(N,B=>{},B=>"type(None)",B=>"bool",B=>"int",B=>"float",B=>"str",B=>"List",B=>this.nameForNamedType(B),B=>"dict",B=>this.nameForNamedType(B),B=>{},B=>{if(B.kind==="date-time")return this.withImport("datetime","datetime");if(B.kind==="uuid")return this.withImport("uuid","UUID")});return F===void 0?(0,S.panic)(`No type object for ${N.kind}`):F}transformer(N,F,B){const W=(z,E)=>z===void 0?E:this.transformer(E,z,B),Q=(z,E)=>p(E,j=>[this.conv("is-type"),"(",this.typeObject(z),", ",j,")"]);if(F instanceof k.DecodingChoiceTransformer||F instanceof k.ChoiceTransformer){const z=F.transformers.map(E=>o(this.transformer(a,E,B)).source);return p(N,E=>[this.conv("union"),"([",(0,P.arrayIntercalate)(", ",z),"], ",E,")"])}else if(F instanceof k.DecodingTransformer){const z=F.consumer,E=this.deserializer(N,F.sourceType);return W(z,E)}else{if(F instanceof k.EncodingTransformer)return this.serializer(N,F.sourceType);if(F instanceof k.UnionInstantiationTransformer)return N;if(F instanceof k.UnionMemberMatchTransformer){const z=F.transformer,E=Q(F.memberType,N);return W(z,E)}else if(F instanceof k.ParseStringTransformer){const z=F.consumer,E=z===void 0?B:z.sourceType;let j;switch(E.kind){case"integer":j=p(N,X=>["int(",X,")"]);break;case"bool":j=this.convFn("from-stringified-bool",N);break;case"enum":j=this.deserializer(N,E);break;case"date-time":j=this.convFn("from-datetime",N);break;case"uuid":j=p(N,X=>[this.withImport("uuid","UUID"),"(",X,")"]);break;default:return(0,S.panic)(`Parsing of ${E.kind} in a transformer is not supported`)}return W(z,j)}else if(F instanceof k.StringifyTransformer){const z=F.consumer;let E;switch(F.sourceType.kind){case"integer":E=p(N,j=>["str(",j,")"]);break;case"bool":E=p(N,j=>["str(",j,").lower()"]);break;case"enum":E=this.serializer(N,F.sourceType);break;case"date-time":E=p(N,j=>[j,".isoformat()"]);break;case"uuid":E=p(N,j=>["str(",j,")"]);break;default:return(0,S.panic)(`Parsing of ${F.sourceType.kind} in a transformer is not supported`)}return W(z,E)}else return(0,S.panic)(`Transformer ${F.kind} is not supported`)}}deserializer(N,F){const B=(0,k.transformationForType)(F);return B!==void 0?this.transformer(N,B.transformer,B.targetType):(0,I.matchType)(F,W=>N,W=>this.convFn("none",N),W=>this.convFn("bool",N),W=>this.convFn("int",N),W=>this.convFn("from-float",N),W=>this.convFn("str",N),W=>p(N,Q=>[this.conv("list"),"(",o(this.deserializer(a,W.items)).source,", ",Q,")"]),W=>p(N,{lambda:(0,O.singleWord)(this.nameForNamedType(W),".from_dict"),value:void 0}),W=>p(N,Q=>[this.conv("dict"),"(",o(this.deserializer(a,W.values)).source,", ",Q,")"]),W=>p(N,{lambda:(0,O.singleWord)(this.nameForNamedType(W)),value:void 0}),W=>{const Q=Array.from(W.members).map(z=>o(this.deserializer(a,z)).source);return p(N,z=>[this.conv("union"),"([",(0,P.arrayIntercalate)(", ",Q),"], ",z,")"])},W=>W.kind==="date-time"?this.convFn("from-datetime",N):W.kind==="uuid"?p(N,Q=>[this.withImport("uuid","UUID"),"(",Q,")"]):(0,S.panic)(`Transformed type ${W.kind} not supported`))}serializer(N,F){const B=(0,k.transformationForType)(F);if(B!==void 0){const W=B.reverse;return this.transformer(N,W.transformer,W.targetType)}return(0,I.matchType)(F,W=>N,W=>this.convFn("none",N),W=>this.convFn("bool",N),W=>this.convFn("int",N),W=>this.convFn("to-float",N),W=>this.convFn("str",N),W=>p(N,Q=>[this.conv("list"),"(",o(this.serializer(a,W.items)).source,", ",Q,")"]),W=>p(N,Q=>[this.conv("to-class"),"(",this.nameForNamedType(W),", ",Q,")"]),W=>p(N,Q=>[this.conv("dict"),"(",o(this.serializer(a,W.values)).source,", ",Q,")"]),W=>p(N,Q=>[this.conv("to-enum"),"(",this.nameForNamedType(W),", ",Q,")"]),W=>{const Q=Array.from(W.members).map(z=>o(this.serializer(a,z)).source);return p(N,z=>[this.conv("union"),"([",(0,P.arrayIntercalate)(", ",Q),"], ",z,")"])},W=>W.kind==="date-time"?p(N,Q=>[Q,".isoformat()"]):W.kind==="uuid"?p(N,Q=>["str(",Q,")"]):(0,S.panic)(`Transformed type ${W.kind} not supported`))}emitClassMembers(N){super.emitClassMembers(N),this.ensureBlankLine();const F=this.nameForNamedType(N);this.emitLine("@staticmethod"),this.emitBlock(["def from_dict(",this.typingDecl("obj","Any"),")",this.typeHint(" -> ",this.namedType(N)),":"],()=>{const B=[];this.emitLine("assert isinstance(obj, dict)"),this.forEachClassProperty(N,"none",(W,Q,z)=>{const E={value:["obj.get(",this.string(Q),")"]};this.emitLine(W," = ",f(this.deserializer(E,z.type))),B.push(W)}),this.emitLine("return ",F,"(",(0,P.arrayIntercalate)(", ",B),")")}),this.ensureBlankLine(),this.emitBlock(["def to_dict(self)",this.typeHint(" -> dict"),":"],()=>{this.emitLine("result",this.typeHint(": dict")," = {}"),this.forEachClassProperty(N,"none",(B,W,Q)=>{const z={value:["self.",B]};Q.isOptional?this.emitBlock(["if self.",B," is not None:"],()=>{this.emitLine("result[",this.string(W),"] = ",f(this.serializer(z,Q.type)))}):this.emitLine("result[",this.string(W),"] = ",f(this.serializer(z,Q.type)))}),this.emitLine("return result")})}emitImports(){super.emitImports(),this._haveDateutil&&this.emitLine("import dateutil.parser"),!(!this._haveTypeVar&&!this._haveEnumTypeVar)&&(this.ensureBlankLine(2),this._haveTypeVar&&this.emitTypeVar(this.typeVar(),[]),this._haveEnumTypeVar&&this.emitTypeVar(this.enumTypeVar(),[", bound=",this.withImport("enum","Enum")]))}emitSupportCode(){const N=Array.from(this._deserializerFunctions).map(F=>[F,F]);this.forEachWithBlankLines(N,["interposing",2],F=>{this.emitConverter(F)})}makeTopLevelDependencyNames(N,F){const B=new y.DependencyName(this._converterNamer,d.topLevelNameOrder,Q=>`${Q(F)}_from_dict`),W=new y.DependencyName(this._converterNamer,d.topLevelNameOrder,Q=>`${Q(F)}_to_dict`);return this._topLevelConverterNames.set(F,{fromDict:B,toDict:W}),[B,W]}emitDefaultLeadingComments(){this.ensureBlankLine(),this._haveDateutil&&this.emitCommentLines(["This code parses date/times, so please",""," pip install python-dateutil",""]),this.emitCommentLines(["To use this code, make sure you",""," import json","","and then, to convert JSON from a string, do",""]),this.forEachTopLevel("none",(N,F)=>{const{fromDict:B}=(0,S.defined)(this._topLevelConverterNames.get(F));this.emitLine(this.commentLineStart," result = ",B,"(json.loads(json_string))")})}emitClosingCode(){this.forEachTopLevel(["interposing",2],(N,F)=>{const{fromDict:B,toDict:W}=(0,S.defined)(this._topLevelConverterNames.get(F)),Q=this.pythonType(N);this.emitBlock(["def ",B,"(",this.typingDecl("s","Any"),")",this.typeHint(" -> ",Q),":"],()=>{this.emitLine("return ",f(this.deserializer({value:"s"},N)))}),this.ensureBlankLine(2),this.emitBlock(["def ",W,"(x",this.typeHint(": ",Q),")",this.typingReturn("Any"),":"],()=>{this.emitLine("return ",f(this.serializer({value:"x"},N)))})})}}e.JSONPythonRenderer=h})(tm);var Kr={};Object.defineProperty(Kr,"__esModule",{value:!0});Kr.PikeRenderer=Kr.PikeTargetLanguage=Kr.pikeOptions=void 0;const DM=Et,nm=qe,kn=et,xM=Lt,va=lt(),mu=ot(),Zr=St();Kr.pikeOptions={};const UM=["auto","nomask","final","static","extern","private","local","public","protected","inline","optional","variant","void","mixed","array","__attribute__","__deprecated__","mapping","multiset","object","function","__func__","program","string","float","int","enum","typedef","if","do","for","while","else","foreach","catch","gauge","class","break","case","const","constant","continue","default","import","inherit","lambda","predef","return","sscanf","switch","typeof","global"],im=(0,Zr.legalizeCharacters)(Zr.isLetterOrUnderscoreOrDigit),JM=(0,nm.funPrefixNamer)("enumNamer",(0,Zr.makeNameStyle)("upper-underscore",im)),_0=(0,nm.funPrefixNamer)("genericNamer",(0,Zr.makeNameStyle)("underscore",im)),zM=(0,nm.funPrefixNamer)("typeNamer",(0,Zr.makeNameStyle)("pascal",im));class WM extends xM.TargetLanguage{constructor(){super("Pike",["pike","pikelang"],"pmod")}getOptions(){return[]}makeRenderer(t){return new Yv(this,t)}}Kr.PikeTargetLanguage=WM;class Yv extends DM.ConvenienceRenderer{emitSourceStructure(){this.emitInformationComment(),this.ensureBlankLine(),this.forEachTopLevel("leading",(t,n)=>{this.emitTopLevelTypedef(t,n),this.ensureBlankLine(),this.emitTopLevelConverter(t,n),this.ensureBlankLine()},t=>this.namedTypeToNameForTopLevel(t)===void 0),this.ensureBlankLine(),this.forEachNamedType("leading-and-interposing",(t,n)=>this.emitClassDefinition(t,n),(t,n)=>this.emitEnum(t,n),(t,n)=>this.emitUnion(t,n))}get enumCasesInGlobalNamespace(){return!0}makeEnumCaseNamer(){return JM}makeNamedTypeNamer(){return zM}makeUnionMemberNamer(){return _0}namerForObjectProperty(){return _0}forbiddenNamesForGlobalNamespace(){return[...UM]}forbiddenForObjectProperties(t,n){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(t,n){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(t,n){return{names:[],includeGlobalForbidden:!0}}sourceFor(t){return["class","object","enum"].indexOf(t.kind)>=0?(0,kn.singleWord)(this.nameForNamedType(t)):(0,mu.matchType)(t,n=>(0,kn.singleWord)("mixed"),n=>(0,kn.singleWord)("mixed"),n=>(0,kn.singleWord)("bool"),n=>(0,kn.singleWord)("int"),n=>(0,kn.singleWord)("float"),n=>(0,kn.singleWord)("string"),n=>(0,kn.singleWord)(["array(",this.sourceFor(n.items).source,")"]),n=>(0,kn.singleWord)(this.nameForNamedType(n)),n=>{let i;const r=n.values;return i=this.sourceFor(r).source,(0,kn.singleWord)(["mapping(string:",i,")"])},n=>(0,kn.singleWord)("enum"),n=>{if((0,mu.nullableFromUnion)(n)!==null){const i=Array.from(n.getChildren()).map(r=>(0,kn.parenIfNeeded)(this.sourceFor(r)));return(0,kn.multiWord)("|",...i)}else return(0,kn.singleWord)(this.nameForNamedType(n))})}emitClassDefinition(t,n){this.emitDescription(this.descriptionForType(t)),this.emitBlock(["class ",n],()=>{this.emitClassMembers(t),this.ensureBlankLine(),this.emitEncodingFunction(t)}),this.ensureBlankLine(),this.emitDecodingFunction(n,t)}emitEnum(t,n){this.emitBlock([t.kind," ",n],()=>{let i=[];this.forEachEnumCase(t,"none",(r,u)=>{i.push([[r,' = "',(0,Zr.stringEscape)(u),'", '],['// json: "',u,'"']])}),this.emitTable(i)})}emitUnion(t,n){if((0,mu.nullableFromUnion)(t)!==null)return;this.emitDescription(this.descriptionForType(t));const[,r]=(0,mu.removeNullFromUnion)(t);let u=[];this.forEachUnionMember(t,r,"none",null,(l,d)=>{const y=this.sourceFor(d).source;u.push([y])}),this.emitLine(["typedef ",u.map(l=>l.map(d=>this.sourcelikeToString(d))).join("|")," ",n,";"]),this.ensureBlankLine(),this.emitBlock([n," ",n,"_from_JSON(mixed json)"],()=>{this.emitLine(["return json;"])})}emitBlock(t,n,i=" {",r="}"){this.emitLine(t,i),this.indent(n),this.emitLine(r)}emitMappingBlock(t,n){this.emitBlock(t,n,"([","]);")}emitClassMembers(t){let n=[];this.forEachClassProperty(t,"none",(i,r,u)=>{const l=this.sourceFor(u.type).source;n.push([[l," "],[i,"; "],['// json: "',r,'"']])}),this.emitTable(n)}emitInformationComment(){this.emitCommentLines(["This source has been automatically generated by quicktype.","( https://github.com/quicktype/quicktype )","","To use this code, simply import it into your project as a Pike module.","To JSON-encode your object, you can pass it to `Standards.JSON.encode`","or call `encode_json` on it.","","To decode a JSON string, first pass it to `Standards.JSON.decode`,","and then pass the result to `<YourClass>_from_JSON`.","It will return an instance of <YourClass>.","Bear in mind that these functions have unexpected behavior,","and will likely throw an error, if the JSON string does not","match the expected interface, even if the JSON itself is valid."],{lineStart:"// "})}emitTopLevelTypedef(t,n){this.emitLine("typedef ",this.sourceFor(t).source," ",n,";")}emitTopLevelConverter(t,n){this.emitBlock([n," ",n,"_from_JSON(mixed json)"],()=>{if(t instanceof va.PrimitiveType)this.emitLine(["return json;"]);else if(t instanceof va.ArrayType)t.items instanceof va.PrimitiveType?this.emitLine(["return json;"]):this.emitLine(["return map(json, ",this.sourceFor(t.items).source,"_from_JSON);"]);else if(t instanceof va.MapType){const i=this.sourceFor(t.values).source;this.emitLine(["mapping(string:",i,") retval = ([]);"]);let r;t.values instanceof va.PrimitiveType?r=["(",i,") v"]:r=[i,"_from_JSON(v)"],this.emitBlock(["foreach (json; string k; mixed v)"],()=>{this.emitLine(["retval[k] = ",r,";"])}),this.emitLine(["return retval;"])}})}emitEncodingFunction(t){this.emitBlock(["string encode_json()"],()=>{this.emitMappingBlock(["mapping(string:mixed) json = "],()=>{this.forEachClassProperty(t,"none",(n,i)=>{this.emitLine(['"',(0,Zr.stringEscape)(i),'" : ',n,","])})}),this.ensureBlankLine(),this.emitLine(["return Standards.JSON.encode(json);"])})}emitDecodingFunction(t,n){this.emitBlock([t," ",t,"_from_JSON(mixed json)"],()=>{this.emitLine([t," retval = ",t,"();"]),this.ensureBlankLine(),this.forEachClassProperty(n,"none",(i,r)=>{this.emitLine(["retval.",i,' = json["',(0,Zr.stringEscape)(r),'"];'])}),this.ensureBlankLine(),this.emitLine(["return retval;"])})}}Kr.PikeRenderer=Yv;var rm={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.HaskellRenderer=e.HaskellTargetLanguage=e.haskellOptions=void 0;const t=He,n=Lt,i=dt,r=ot(),u=Et,l=qe,d=St(),y=et;e.haskellOptions={justTypes:new i.BooleanOption("just-types","Plain types only",!1),useList:new i.EnumOption("array-type","Use Array or List",[["array",!1],["list",!0]]),moduleName:new i.StringOption("module","Generated module name","NAME","QuickType")};class T extends n.TargetLanguage{constructor(){super("Haskell",["haskell"],"haskell")}getOptions(){return[e.haskellOptions.justTypes,e.haskellOptions.moduleName,e.haskellOptions.useList]}get supportsOptionalClassProperties(){return!0}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(J,x){return new m(this,J,(0,i.getOptionValues)(e.haskellOptions,x))}}e.HaskellTargetLanguage=T;const S=["as","case","class","data","default","deriving","do","else","family","forall","foreign","hiding","if","import","in","infix","infixl","infixr","instance","let","of","mdo","module","newtype","proc","qualified","rec","then","type","where","id","Array","HashMap","Map","Maybe","Bool","Int","True","False","Enum","encode","decode","text","Text","Value","Object","Result","Series","Error"],O=(0,d.legalizeCharacters)(C=>(0,d.isAscii)(C)&&(0,d.isLetterOrUnderscoreOrDigit)(C));function I(C,J){const x=(0,d.splitIntoWords)(C);return(0,d.combineWords)(x,O,J?d.firstUpperWordStyle:d.allLowerWordStyle,d.firstUpperWordStyle,J?d.allUpperWordStyle:d.allLowerWordStyle,d.allUpperWordStyle,"",d.isLetterOrUnderscore)}const k=(0,l.funPrefixNamer)("upper",C=>I(C,!0)),P=(0,l.funPrefixNamer)("lower",C=>I(C,!1));class m extends u.ConvenienceRenderer{constructor(J,x,G){super(J,x),this._options=G}forbiddenNamesForGlobalNamespace(){return S}makeNamedTypeNamer(){return k}namerForObjectProperty(){return P}forbiddenForObjectProperties(J,x){return{names:[],includeGlobalForbidden:!0}}makeUnionMemberNamer(){return k}get unionMembersInGlobalNamespace(){return!0}makeEnumCaseNamer(){return k}get enumCasesInGlobalNamespace(){return!0}proposeUnionMemberName(J,x,G,K){return`${super.proposeUnionMemberName(J,x,G,K)}_in_${K(x)}`}get commentLineStart(){return"-- "}emitDescriptionBlock(J){J.length===1?this.emitComments([{customLines:J,lineStart:"{-| ",lineEnd:" -}"}]):this.emitCommentLines(J,{firstLineStart:"{-| ",lineStart:"",afterComment:"-}"})}haskellType(J,x=!1){return(0,r.matchType)(J,G=>(0,y.multiWord)(" ","Maybe","Text"),G=>(0,y.multiWord)(" ","Maybe","Text"),G=>(0,y.singleWord)("Bool"),G=>(0,y.singleWord)("Int"),G=>(0,y.singleWord)("Float"),G=>(0,y.singleWord)("Text"),G=>this._options.useList?(0,y.multiWord)("","[",(0,y.parenIfNeeded)(this.haskellType(G.items)),"]"):(0,y.multiWord)(" ","Vector",(0,y.parenIfNeeded)(this.haskellType(G.items))),G=>(0,y.singleWord)(this.nameForNamedType(G)),G=>(0,y.multiWord)(" ","HashMap Text",(0,y.parenIfNeeded)(this.haskellType(G.values))),G=>(0,y.singleWord)(this.nameForNamedType(G)),G=>{const K=(0,r.nullableFromUnion)(G);if(K!==null){const U=this.haskellType(K);return x?U:(0,y.multiWord)(" ","Maybe",(0,y.parenIfNeeded)(U))}return(0,y.singleWord)(this.nameForNamedType(G))})}haskellProperty(J){return J.isOptional?(0,y.multiWord)(" ","Maybe",(0,y.parenIfNeeded)(this.haskellType(J.type,!0))).source:this.haskellType(J.type).source}encoderNameForType(J){return(0,r.matchType)(J,x=>(0,y.singleWord)("String"),x=>(0,y.singleWord)("Null"),x=>(0,y.singleWord)("Bool"),x=>(0,y.singleWord)("Number"),x=>(0,y.singleWord)("Number"),x=>(0,y.singleWord)("String"),x=>(0,y.singleWord)("Array"),x=>(0,y.singleWord)("Object"),x=>(0,y.singleWord)("Object"),x=>(0,y.singleWord)("Object"),x=>(0,y.singleWord)("Object"))}emitTopLevelDefinition(J,x){this.emitLine("type ",x," = ",this.haskellType(J).source)}emitClassDefinition(J,x){let G=this.descriptionForType(J);this.forEachClassProperty(J,"none",(K,U)=>{const R=this.descriptionForClassProperty(J,U);R!==void 0&&(G===void 0?G=[]:G.push(""),G.push(`${this.sourcelikeToString(K)}:`),G.push(...R))}),this.emitDescription(G),this.emitLine("data ",x," = ",x),this.indent(()=>{let K=!0;this.forEachClassProperty(J,"none",(U,R,A)=>{this.emitLine(K?"{ ":", ",U,x," :: ",this.haskellProperty(A)),K=!1}),K&&this.emitLine("{"),this.emitLine("} deriving (Show)")})}emitEnumDefinition(J,x){this.emitDescription(this.descriptionForType(J)),this.emitLine("data ",x),this.indent(()=>{let G=!0;this.forEachEnumCase(J,"none",K=>{const U=G?"=":"|";this.emitLine(U," ",K,x),G=!1}),this.emitLine("deriving (Show)")})}emitUnionDefinition(J,x){this.emitDescription(this.descriptionForType(J)),this.emitLine("data ",x),this.indent(()=>{let G=!0;this.forEachUnionMember(J,null,"none",null,(K,U)=>{const R=G?"=":"|";U.kind==="null"?this.emitLine(R," ",K):this.emitLine(R," ",K," ",(0,y.parenIfNeeded)(this.haskellType(U))),G=!1}),this.emitLine("deriving (Show)")})}emitTopLevelFunctions(J){this.emitLine("decodeTopLevel :: ByteString -> Maybe ",J),this.emitLine("decodeTopLevel = decode")}classPropertyLength(J){let x=0;return this.forEachClassProperty(J,"none",()=>{x+=1}),x}emitClassEncoderInstance(J,x){let G=[];this.forEachClassProperty(J,"none",K=>{G.push(" "),G.push(K),G.push(x)}),this.emitLine("instance ToJSON ",x," where"),this.indent(()=>{G.length===0?this.emitLine("toJSON = \\_ -> emptyObject"):(this.emitLine("toJSON (",x,...G,") ="),this.indent(()=>{this.emitLine("object");let K=!0;this.forEachClassProperty(J,"none",(U,R)=>{this.emitLine(K?"[ ":", ",'"',(0,d.stringEscape)(R),'" .= ',U,x),K=!1}),K&&this.emitLine("["),this.emitLine("]")}))})}emitClassDecoderInstance(J,x){this.emitLine("instance FromJSON ",x," where"),this.indent(()=>{this.classPropertyLength(J)===0?this.emitLine("parseJSON emptyObject = return ",x):(this.emitLine("parseJSON (Object v) = ",x),this.indent(()=>{let G=!0;this.forEachClassProperty(J,"none",(K,U,R)=>{const A=R.isOptional?".:?":".:";this.emitLine(G?"<$> ":"<*> ","v ",A,' "',(0,d.stringEscape)(U),'"'),G=!1})}))})}emitClassFunctions(J,x){this.emitClassEncoderInstance(J,x),this.ensureBlankLine(),this.emitClassDecoderInstance(J,x)}emitEnumEncoderInstance(J,x){this.emitLine("instance ToJSON ",x," where"),this.indent(()=>{this.forEachEnumCase(J,"none",(G,K)=>{this.emitLine("toJSON ",G,x,' = "',(0,d.stringEscape)(K),'"')})})}emitEnumDecoderInstance(J,x){this.emitLine("instance FromJSON ",x," where"),this.indent(()=>{this.emitLine('parseJSON = withText "',x,'" parseText'),this.indent(()=>{this.emitLine("where"),this.indent(()=>{this.forEachEnumCase(J,"none",(G,K)=>{this.emitLine('parseText "',(0,d.stringEscape)(K),'" = return ',G,x)})})})})}emitEnumFunctions(J,x){this.emitEnumEncoderInstance(J,x),this.ensureBlankLine(),this.emitEnumDecoderInstance(J,x)}emitUnionEncoderInstance(J,x){this.emitLine("instance ToJSON ",x," where"),this.indent(()=>{this.forEachUnionMember(J,null,"none",null,(G,K)=>{K.kind==="null"?this.emitLine("toJSON ",G," = Null"):this.emitLine("toJSON (",G," x) = toJSON x")})})}emitUnionDecoderInstance(J,x){this.emitLine("instance FromJSON ",x," where"),this.indent(()=>{this.forEachUnionMember(J,null,"none",null,(G,K)=>{K.kind==="null"?this.emitLine("parseJSON Null = return ",G):this.emitLine("parseJSON xs@(",this.encoderNameForType(K).source," _) = (fmap ",G," . parseJSON) xs")})})}emitUnionFunctions(J,x){this.emitUnionEncoderInstance(J,x),this.ensureBlankLine(),this.emitUnionDecoderInstance(J,x)}emitLanguageExtensions(J){this.emitLine(`{-# LANGUAGE ${J} #-}`)}emitSourceStructure(){const J=[];this.forEachTopLevel("none",(x,G)=>{J.push([G," (..)"])}),this.forEachObject("none",(x,G)=>{(0,t.mapContains)(this.topLevels,x)||J.push([G," (..)"])}),this.forEachEnum("none",(x,G)=>{(0,t.mapContains)(this.topLevels,x)||J.push([G," (..)"])}),this.forEachUnion("none",(x,G)=>{(0,t.mapContains)(this.topLevels,x)||J.push([G," (..)"])}),this.emitLanguageExtensions("StrictData"),this.emitLanguageExtensions("OverloadedStrings"),this._options.justTypes||(this.ensureBlankLine(),this.emitLine("module ",this._options.moduleName),this.indent(()=>{for(let x=0;x<J.length;x++)this.emitLine(x===0?"(":","," ",J[x]);this.emitLine(", decodeTopLevel"),this.emitLine(") where")}),this.ensureBlankLine(),this.emitMultiline(`import Data.Aeson
|
|
891
|
+
import Data.Aeson.Types (emptyObject)
|
|
892
|
+
import Data.ByteString.Lazy (ByteString)
|
|
893
|
+
import Data.HashMap.Strict (HashMap)
|
|
894
|
+
import Data.Text (Text)`),this._options.useList||this.emitLine("import Data.Vector (Vector)")),this.forEachTopLevel("leading-and-interposing",(x,G)=>this.emitTopLevelDefinition(x,G),x=>this.namedTypeToNameForTopLevel(x)===void 0),this.forEachNamedType("leading-and-interposing",(x,G)=>this.emitClassDefinition(x,G),(x,G)=>this.emitEnumDefinition(x,G),(x,G)=>this.emitUnionDefinition(x,G)),this.forEachTopLevel("leading-and-interposing",(x,G)=>this.emitTopLevelFunctions(G)),this.forEachNamedType("leading-and-interposing",(x,G)=>this.emitClassFunctions(x,G),(x,G)=>this.emitEnumFunctions(x,G),(x,G)=>this.emitUnionFunctions(x,G)),!this._options.justTypes&&this.ensureBlankLine()}}e.HaskellRenderer=m})(rm);var $v={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.TypeScriptZodRenderer=e.TypeScriptZodTargetLanguage=e.typeScriptZodOptions=void 0;const t=He,n=Et,i=qe,r=dt,u=Lt,l=lt(),d=ot(),y=Tr(),T=St(),S=Ie,O=qs;e.typeScriptZodOptions={justSchema:new r.BooleanOption("just-schema","Schema only",!1)};class I extends u.TargetLanguage{getOptions(){return[]}constructor(m="TypeScript Zod",C=["typescript-zod"],J="ts"){super(m,C,J)}get stringTypeMapping(){const m=new Map;return m.set("date-time","date-time"),m}get supportsOptionalClassProperties(){return!0}makeRenderer(m,C){return new k(this,m,(0,r.getOptionValues)(e.typeScriptZodOptions,C))}}e.TypeScriptZodTargetLanguage=I;class k extends n.ConvenienceRenderer{constructor(m,C,J){super(m,C),this._options=J}forbiddenNamesForGlobalNamespace(){return["Class","Date","Object","String","Array","JSON","Error"]}nameStyle(m,C){const J=(0,y.acronymStyle)(y.AcronymStyleOptions.Camel),x=(0,T.splitIntoWords)(m);return(0,T.combineWords)(x,O.legalizeName,C?T.firstUpperWordStyle:T.allLowerWordStyle,T.firstUpperWordStyle,C?G=>(0,T.capitalize)(J(G)):T.allLowerWordStyle,J,"",T.isLetterOrUnderscore)}makeNamedTypeNamer(){return(0,i.funPrefixNamer)("types",m=>this.nameStyle(m,!0))}makeUnionMemberNamer(){return(0,i.funPrefixNamer)("properties",m=>this.nameStyle(m,!0))}namerForObjectProperty(){return(0,i.funPrefixNamer)("properties",m=>this.nameStyle(m,!0))}makeEnumCaseNamer(){return(0,i.funPrefixNamer)("enum-cases",m=>this.nameStyle(m,!1))}importStatement(m,C){return["import ",m," from ",C,";"]}emitImports(){this.ensureBlankLine(),this.emitLine(this.importStatement("* as z",'"zod"'))}typeMapTypeForProperty(m){const C=this.typeMapTypeFor(m.type);return m.isOptional?[C,".optional()"]:C}typeMapTypeFor(m,C=!0){if(["class","object","enum"].indexOf(m.kind)>=0)return[this.nameForNamedType(m),"Schema"];const J=(0,d.matchType)(m,x=>"z.any()",x=>"z.null()",x=>"z.boolean()",x=>"z.number()",x=>"z.number()",x=>"z.string()",x=>["z.array(",this.typeMapTypeFor(x.items,!1),")"],x=>(0,S.panic)("Should already be handled."),x=>["z.record(z.string(), ",this.typeMapTypeFor(x.values,!1),")"],x=>(0,S.panic)("Should already be handled."),x=>{const G=Array.from(x.getChildren()).map(K=>this.typeMapTypeFor(K,!1));return["z.union([",...(0,t.arrayIntercalate)(", ",G),"])"]},x=>x.kind==="date-time"?"z.coerce.date()":"z.string()");return C?[J]:J}emitObject(m,C){this.ensureBlankLine(),this.emitLine(`
|
|
895
|
+
export const `,m,"Schema = ","z.object({"),this.indent(()=>{this.forEachClassProperty(C,"none",(J,x,G)=>{this.emitLine(`"${(0,T.utf16StringEscape)(x)}"`,": ",this.typeMapTypeForProperty(G),",")})}),this.emitLine("});"),this._options.justSchema||this.emitLine("export type ",m," = z.infer<typeof ",m,"Schema>;")}emitEnum(m,C){this.ensureBlankLine(),this.emitDescription(this.descriptionForType(m)),this.emitLine(`
|
|
896
|
+
export const `,C,"Schema = ","z.enum(["),this.indent(()=>this.forEachEnumCase(m,"none",(J,x)=>{this.emitLine('"',(0,T.stringEscape)(x),'",')})),this.emitLine("]);"),this._options.justSchema||this.emitLine("export type ",C," = z.infer<typeof ",C,"Schema>;")}static extractUnderlyingTyperefs(m){let C=[];if(!m.isPrimitive()&&m.kind!="enum"){if(m instanceof l.SetOperationType&&m.members.forEach(J=>{C.push(...k.extractUnderlyingTyperefs(J))}),m instanceof l.ObjectType){const J=m.getAdditionalProperties();J&&C.push(...k.extractUnderlyingTyperefs(J))}if(m instanceof l.ArrayType){const J=m.items;J&&C.push(...k.extractUnderlyingTyperefs(J))}m instanceof l.ClassType&&C.push(m.typeRef)}return C}emitSchemas(){this.ensureBlankLine(),this.forEachEnum("leading-and-interposing",(b,_)=>{this.emitEnum(b,_)});const m=[],C=[],J=[],x=[],G=[];this.forEachObject("none",(b,_)=>{C.push(b),J.push(b.typeRef),x.push(_);const L=b.getChildren();let g=[];L.forEach(p=>{g=g.concat(k.extractUnderlyingTyperefs(p))}),G.push(g)});let K=[];C.forEach((b,_)=>{K.push(_)});let U=[];const R=999;let A=0;do K.forEach(b=>{const _=G[b];let L=!0;_.forEach(g=>{if(J.indexOf(g)>-1){let p=!1;for(let a=0;a<m.length;a++){const o=m[a];if(J[o]===g){p=!0;break}}L=L&&p}else console.error("A child type reference was not found amongst all Object definitions! TypeRef: "+g)}),L?m.push(b):U.push(b)}),K=U,U=[],A++,A>R&&(m.push(...U),console.warn("Exceeded maximum number of passes when determining output order, output may contain forward references"));while(K.length>0&&A<=R);m.forEach(b=>this.emitGatheredSource(this.gatherSource(()=>this.emitObject(x[b],C[b]))))}emitSourceStructure(){this.leadingComments!==void 0&&this.emitComments(this.leadingComments),this.emitImports(),this.emitSchemas()}}e.TypeScriptZodRenderer=k})($v);var ew={},Hu={exports:{}};/**
|
|
897
|
+
* @license
|
|
898
|
+
* Lodash <https://lodash.com/>
|
|
899
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
900
|
+
* Released under MIT license <https://lodash.com/license>
|
|
901
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
902
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
903
|
+
*/Hu.exports;(function(e,t){(function(){var n,i="4.17.21",r=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",d="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",T=500,S="__lodash_placeholder__",O=1,I=2,k=4,P=1,m=2,C=1,J=2,x=4,G=8,K=16,U=32,R=64,A=128,b=256,_=512,L=30,g="...",p=800,a=16,o=1,f=2,h=3,w=1/0,N=9007199254740991,F=17976931348623157e292,B=NaN,W=4294967295,Q=W-1,z=W>>>1,E=[["ary",A],["bind",C],["bindKey",J],["curry",G],["curryRight",K],["flip",_],["partial",U],["partialRight",R],["rearg",b]],j="[object Arguments]",X="[object Array]",te="[object AsyncFunction]",$="[object Boolean]",ne="[object Date]",ce="[object DOMException]",Te="[object Error]",Ne="[object Function]",le="[object GeneratorFunction]",fe="[object Map]",_e="[object Number]",Y="[object Null]",M="[object Object]",q="[object Promise]",ie="[object Proxy]",ue="[object RegExp]",ve="[object Set]",be="[object String]",Me="[object Symbol]",je="[object Undefined]",he="[object WeakMap]",ye="[object WeakSet]",Z="[object ArrayBuffer]",D="[object DataView]",V="[object Float32Array]",oe="[object Float64Array]",me="[object Int8Array]",Le="[object Int16Array]",Oe="[object Int32Array]",ze="[object Uint8Array]",nt="[object Uint8ClampedArray]",ut="[object Uint16Array]",gt="[object Uint32Array]",ct=/\b__p \+= '';/g,Mn=/\b(__p \+=) '' \+/g,We=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Xe=/&(?:amp|lt|gt|quot|#39);/g,Ze=/[&<>"']/g,Qe=RegExp(Xe.source),Bt=RegExp(Ze.source),cn=/<%-([\s\S]+?)%>/g,en=/<%([\s\S]+?)%>/g,ae=/<%=([\s\S]+?)%>/g,de=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Be=/^\w*$/,Re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ue=/[\\^$.*+?()[\]{}|]/g,tn=RegExp(Ue.source),fn=/^\s+/,fl=/\s/,qi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,dl=/\{\n\/\* \[wrapped with (.+)\] \*/,ef=/,? & /,hl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pl=/[()=,{}\[\]\/\s]/,ea=/\\(\\)?/g,ta=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Qs=/\w*$/,ns=/^[-+]0x[0-9a-f]+$/i,Hi=/^0b[01]+$/i,li=/^\[object .+?Constructor\]$/,C_=/^0o[0-7]+$/i,A_=/^(?:0|[1-9]\d*)$/,F_=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ml=/($^)/,P_=/['\n\r\u2028\u2029\\]/g,yl="\\ud800-\\udfff",I_="\\u0300-\\u036f",M_="\\ufe20-\\ufe2f",j_="\\u20d0-\\u20ff",Nm=I_+M_+j_,km="\\u2700-\\u27bf",Om="a-z\\xdf-\\xf6\\xf8-\\xff",B_="\\xac\\xb1\\xd7\\xf7",R_="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",D_="\\u2000-\\u206f",x_=" \\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",Em="A-Z\\xc0-\\xd6\\xd8-\\xde",Cm="\\ufe0e\\ufe0f",Am=B_+R_+D_+x_,tf="['’]",U_="["+yl+"]",Fm="["+Am+"]",gl="["+Nm+"]",Pm="\\d+",J_="["+km+"]",Im="["+Om+"]",Mm="[^"+yl+Am+Pm+km+Om+Em+"]",nf="\\ud83c[\\udffb-\\udfff]",z_="(?:"+gl+"|"+nf+")",jm="[^"+yl+"]",rf="(?:\\ud83c[\\udde6-\\uddff]){2}",sf="[\\ud800-\\udbff][\\udc00-\\udfff]",Xs="["+Em+"]",Bm="\\u200d",Rm="(?:"+Im+"|"+Mm+")",W_="(?:"+Xs+"|"+Mm+")",Dm="(?:"+tf+"(?:d|ll|m|re|s|t|ve))?",xm="(?:"+tf+"(?:D|LL|M|RE|S|T|VE))?",Um=z_+"?",Jm="["+Cm+"]?",G_="(?:"+Bm+"(?:"+[jm,rf,sf].join("|")+")"+Jm+Um+")*",q_="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",H_="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",zm=Jm+Um+G_,V_="(?:"+[J_,rf,sf].join("|")+")"+zm,K_="(?:"+[jm+gl+"?",gl,rf,sf,U_].join("|")+")",Z_=RegExp(tf,"g"),Q_=RegExp(gl,"g"),of=RegExp(nf+"(?="+nf+")|"+K_+zm,"g"),X_=RegExp([Xs+"?"+Im+"+"+Dm+"(?="+[Fm,Xs,"$"].join("|")+")",W_+"+"+xm+"(?="+[Fm,Xs+Rm,"$"].join("|")+")",Xs+"?"+Rm+"+"+Dm,Xs+"+"+xm,H_,q_,Pm,V_].join("|"),"g"),Y_=RegExp("["+Bm+yl+Nm+Cm+"]"),$_=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eL=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tL=-1,At={};At[V]=At[oe]=At[me]=At[Le]=At[Oe]=At[ze]=At[nt]=At[ut]=At[gt]=!0,At[j]=At[X]=At[Z]=At[$]=At[D]=At[ne]=At[Te]=At[Ne]=At[fe]=At[_e]=At[M]=At[ue]=At[ve]=At[be]=At[he]=!1;var Ct={};Ct[j]=Ct[X]=Ct[Z]=Ct[D]=Ct[$]=Ct[ne]=Ct[V]=Ct[oe]=Ct[me]=Ct[Le]=Ct[Oe]=Ct[fe]=Ct[_e]=Ct[M]=Ct[ue]=Ct[ve]=Ct[be]=Ct[Me]=Ct[ze]=Ct[nt]=Ct[ut]=Ct[gt]=!0,Ct[Te]=Ct[Ne]=Ct[he]=!1;var nL={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"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'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},oL=parseFloat,aL=parseInt,Wm=typeof Fe=="object"&&Fe&&Fe.Object===Object&&Fe,lL=typeof self=="object"&&self&&self.Object===Object&&self,sn=Wm||lL||Function("return this")(),af=t&&!t.nodeType&&t,is=af&&!0&&e&&!e.nodeType&&e,Gm=is&&is.exports===af,lf=Gm&&Wm.process,qn=function(){try{var Se=is&&is.require&&is.require("util").types;return Se||lf&&lf.binding&&lf.binding("util")}catch{}}(),qm=qn&&qn.isArrayBuffer,Hm=qn&&qn.isDate,Vm=qn&&qn.isMap,Km=qn&&qn.isRegExp,Zm=qn&&qn.isSet,Qm=qn&&qn.isTypedArray;function jn(Se,Ee,ke){switch(ke.length){case 0:return Se.call(Ee);case 1:return Se.call(Ee,ke[0]);case 2:return Se.call(Ee,ke[0],ke[1]);case 3:return Se.call(Ee,ke[0],ke[1],ke[2])}return Se.apply(Ee,ke)}function uL(Se,Ee,ke,xe){for(var Ye=-1,Tt=Se==null?0:Se.length;++Ye<Tt;){var Qt=Se[Ye];Ee(xe,Qt,ke(Qt),Se)}return xe}function Hn(Se,Ee){for(var ke=-1,xe=Se==null?0:Se.length;++ke<xe&&Ee(Se[ke],ke,Se)!==!1;);return Se}function cL(Se,Ee){for(var ke=Se==null?0:Se.length;ke--&&Ee(Se[ke],ke,Se)!==!1;);return Se}function Xm(Se,Ee){for(var ke=-1,xe=Se==null?0:Se.length;++ke<xe;)if(!Ee(Se[ke],ke,Se))return!1;return!0}function _r(Se,Ee){for(var ke=-1,xe=Se==null?0:Se.length,Ye=0,Tt=[];++ke<xe;){var Qt=Se[ke];Ee(Qt,ke,Se)&&(Tt[Ye++]=Qt)}return Tt}function bl(Se,Ee){var ke=Se==null?0:Se.length;return!!ke&&Ys(Se,Ee,0)>-1}function uf(Se,Ee,ke){for(var xe=-1,Ye=Se==null?0:Se.length;++xe<Ye;)if(ke(Ee,Se[xe]))return!0;return!1}function Pt(Se,Ee){for(var ke=-1,xe=Se==null?0:Se.length,Ye=Array(xe);++ke<xe;)Ye[ke]=Ee(Se[ke],ke,Se);return Ye}function Lr(Se,Ee){for(var ke=-1,xe=Ee.length,Ye=Se.length;++ke<xe;)Se[Ye+ke]=Ee[ke];return Se}function cf(Se,Ee,ke,xe){var Ye=-1,Tt=Se==null?0:Se.length;for(xe&&Tt&&(ke=Se[++Ye]);++Ye<Tt;)ke=Ee(ke,Se[Ye],Ye,Se);return ke}function fL(Se,Ee,ke,xe){var Ye=Se==null?0:Se.length;for(xe&&Ye&&(ke=Se[--Ye]);Ye--;)ke=Ee(ke,Se[Ye],Ye,Se);return ke}function ff(Se,Ee){for(var ke=-1,xe=Se==null?0:Se.length;++ke<xe;)if(Ee(Se[ke],ke,Se))return!0;return!1}var dL=df("length");function hL(Se){return Se.split("")}function pL(Se){return Se.match(hl)||[]}function Ym(Se,Ee,ke){var xe;return ke(Se,function(Ye,Tt,Qt){if(Ee(Ye,Tt,Qt))return xe=Tt,!1}),xe}function Tl(Se,Ee,ke,xe){for(var Ye=Se.length,Tt=ke+(xe?1:-1);xe?Tt--:++Tt<Ye;)if(Ee(Se[Tt],Tt,Se))return Tt;return-1}function Ys(Se,Ee,ke){return Ee===Ee?kL(Se,Ee,ke):Tl(Se,$m,ke)}function mL(Se,Ee,ke,xe){for(var Ye=ke-1,Tt=Se.length;++Ye<Tt;)if(xe(Se[Ye],Ee))return Ye;return-1}function $m(Se){return Se!==Se}function ey(Se,Ee){var ke=Se==null?0:Se.length;return ke?pf(Se,Ee)/ke:B}function df(Se){return function(Ee){return Ee==null?n:Ee[Se]}}function hf(Se){return function(Ee){return Se==null?n:Se[Ee]}}function ty(Se,Ee,ke,xe,Ye){return Ye(Se,function(Tt,Qt,kt){ke=xe?(xe=!1,Tt):Ee(ke,Tt,Qt,kt)}),ke}function yL(Se,Ee){var ke=Se.length;for(Se.sort(Ee);ke--;)Se[ke]=Se[ke].value;return Se}function pf(Se,Ee){for(var ke,xe=-1,Ye=Se.length;++xe<Ye;){var Tt=Ee(Se[xe]);Tt!==n&&(ke=ke===n?Tt:ke+Tt)}return ke}function mf(Se,Ee){for(var ke=-1,xe=Array(Se);++ke<Se;)xe[ke]=Ee(ke);return xe}function gL(Se,Ee){return Pt(Ee,function(ke){return[ke,Se[ke]]})}function ny(Se){return Se&&Se.slice(0,oy(Se)+1).replace(fn,"")}function Bn(Se){return function(Ee){return Se(Ee)}}function yf(Se,Ee){return Pt(Ee,function(ke){return Se[ke]})}function na(Se,Ee){return Se.has(Ee)}function iy(Se,Ee){for(var ke=-1,xe=Se.length;++ke<xe&&Ys(Ee,Se[ke],0)>-1;);return ke}function ry(Se,Ee){for(var ke=Se.length;ke--&&Ys(Ee,Se[ke],0)>-1;);return ke}function bL(Se,Ee){for(var ke=Se.length,xe=0;ke--;)Se[ke]===Ee&&++xe;return xe}var TL=hf(nL),SL=hf(iL);function vL(Se){return"\\"+sL[Se]}function wL(Se,Ee){return Se==null?n:Se[Ee]}function $s(Se){return Y_.test(Se)}function _L(Se){return $_.test(Se)}function LL(Se){for(var Ee,ke=[];!(Ee=Se.next()).done;)ke.push(Ee.value);return ke}function gf(Se){var Ee=-1,ke=Array(Se.size);return Se.forEach(function(xe,Ye){ke[++Ee]=[Ye,xe]}),ke}function sy(Se,Ee){return function(ke){return Se(Ee(ke))}}function Nr(Se,Ee){for(var ke=-1,xe=Se.length,Ye=0,Tt=[];++ke<xe;){var Qt=Se[ke];(Qt===Ee||Qt===S)&&(Se[ke]=S,Tt[Ye++]=ke)}return Tt}function Sl(Se){var Ee=-1,ke=Array(Se.size);return Se.forEach(function(xe){ke[++Ee]=xe}),ke}function NL(Se){var Ee=-1,ke=Array(Se.size);return Se.forEach(function(xe){ke[++Ee]=[xe,xe]}),ke}function kL(Se,Ee,ke){for(var xe=ke-1,Ye=Se.length;++xe<Ye;)if(Se[xe]===Ee)return xe;return-1}function OL(Se,Ee,ke){for(var xe=ke+1;xe--;)if(Se[xe]===Ee)return xe;return xe}function eo(Se){return $s(Se)?CL(Se):dL(Se)}function ui(Se){return $s(Se)?AL(Se):hL(Se)}function oy(Se){for(var Ee=Se.length;Ee--&&fl.test(Se.charAt(Ee)););return Ee}var EL=hf(rL);function CL(Se){for(var Ee=of.lastIndex=0;of.test(Se);)++Ee;return Ee}function AL(Se){return Se.match(of)||[]}function FL(Se){return Se.match(X_)||[]}var PL=function Se(Ee){Ee=Ee==null?sn:to.defaults(sn.Object(),Ee,to.pick(sn,eL));var ke=Ee.Array,xe=Ee.Date,Ye=Ee.Error,Tt=Ee.Function,Qt=Ee.Math,kt=Ee.Object,bf=Ee.RegExp,IL=Ee.String,Vn=Ee.TypeError,vl=ke.prototype,ML=Tt.prototype,no=kt.prototype,wl=Ee["__core-js_shared__"],_l=ML.toString,wt=no.hasOwnProperty,jL=0,ay=function(){var s=/[^.]+$/.exec(wl&&wl.keys&&wl.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),Ll=no.toString,BL=_l.call(kt),RL=sn._,DL=bf("^"+_l.call(wt).replace(Ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Nl=Gm?Ee.Buffer:n,kr=Ee.Symbol,kl=Ee.Uint8Array,ly=Nl?Nl.allocUnsafe:n,Ol=sy(kt.getPrototypeOf,kt),uy=kt.create,cy=no.propertyIsEnumerable,El=vl.splice,fy=kr?kr.isConcatSpreadable:n,ia=kr?kr.iterator:n,rs=kr?kr.toStringTag:n,Cl=function(){try{var s=us(kt,"defineProperty");return s({},"",{}),s}catch{}}(),xL=Ee.clearTimeout!==sn.clearTimeout&&Ee.clearTimeout,UL=xe&&xe.now!==sn.Date.now&&xe.now,JL=Ee.setTimeout!==sn.setTimeout&&Ee.setTimeout,Al=Qt.ceil,Fl=Qt.floor,Tf=kt.getOwnPropertySymbols,zL=Nl?Nl.isBuffer:n,dy=Ee.isFinite,WL=vl.join,GL=sy(kt.keys,kt),Xt=Qt.max,dn=Qt.min,qL=xe.now,HL=Ee.parseInt,hy=Qt.random,VL=vl.reverse,Sf=us(Ee,"DataView"),ra=us(Ee,"Map"),vf=us(Ee,"Promise"),io=us(Ee,"Set"),sa=us(Ee,"WeakMap"),oa=us(kt,"create"),Pl=sa&&new sa,ro={},KL=cs(Sf),ZL=cs(ra),QL=cs(vf),XL=cs(io),YL=cs(sa),Il=kr?kr.prototype:n,aa=Il?Il.valueOf:n,py=Il?Il.toString:n;function re(s){if(Dt(s)&&!$e(s)&&!(s instanceof ht)){if(s instanceof Kn)return s;if(wt.call(s,"__wrapped__"))return mg(s)}return new Kn(s)}var so=function(){function s(){}return function(c){if(!Rt(c))return{};if(uy)return uy(c);s.prototype=c;var v=new s;return s.prototype=n,v}}();function Ml(){}function Kn(s,c){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!c,this.__index__=0,this.__values__=n}re.templateSettings={escape:cn,evaluate:en,interpolate:ae,variable:"",imports:{_:re}},re.prototype=Ml.prototype,re.prototype.constructor=re,Kn.prototype=so(Ml.prototype),Kn.prototype.constructor=Kn;function ht(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=W,this.__views__=[]}function $L(){var s=new ht(this.__wrapped__);return s.__actions__=wn(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=wn(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=wn(this.__views__),s}function e1(){if(this.__filtered__){var s=new ht(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function t1(){var s=this.__wrapped__.value(),c=this.__dir__,v=$e(s),H=c<0,ee=v?s.length:0,se=hN(0,ee,this.__views__),pe=se.start,ge=se.end,we=ge-pe,Ce=H?ge:pe-1,Ae=this.__iteratees__,Pe=Ae.length,De=0,Je=dn(we,this.__takeCount__);if(!v||!H&&ee==we&&Je==we)return Dy(s,this.__actions__);var Ve=[];e:for(;we--&&De<Je;){Ce+=c;for(var st=-1,Ke=s[Ce];++st<Pe;){var ft=Ae[st],pt=ft.iteratee,xn=ft.type,gn=pt(Ke);if(xn==f)Ke=gn;else if(!gn){if(xn==o)continue e;break e}}Ve[De++]=Ke}return Ve}ht.prototype=so(Ml.prototype),ht.prototype.constructor=ht;function ss(s){var c=-1,v=s==null?0:s.length;for(this.clear();++c<v;){var H=s[c];this.set(H[0],H[1])}}function n1(){this.__data__=oa?oa(null):{},this.size=0}function i1(s){var c=this.has(s)&&delete this.__data__[s];return this.size-=c?1:0,c}function r1(s){var c=this.__data__;if(oa){var v=c[s];return v===y?n:v}return wt.call(c,s)?c[s]:n}function s1(s){var c=this.__data__;return oa?c[s]!==n:wt.call(c,s)}function o1(s,c){var v=this.__data__;return this.size+=this.has(s)?0:1,v[s]=oa&&c===n?y:c,this}ss.prototype.clear=n1,ss.prototype.delete=i1,ss.prototype.get=r1,ss.prototype.has=s1,ss.prototype.set=o1;function Vi(s){var c=-1,v=s==null?0:s.length;for(this.clear();++c<v;){var H=s[c];this.set(H[0],H[1])}}function a1(){this.__data__=[],this.size=0}function l1(s){var c=this.__data__,v=jl(c,s);if(v<0)return!1;var H=c.length-1;return v==H?c.pop():El.call(c,v,1),--this.size,!0}function u1(s){var c=this.__data__,v=jl(c,s);return v<0?n:c[v][1]}function c1(s){return jl(this.__data__,s)>-1}function f1(s,c){var v=this.__data__,H=jl(v,s);return H<0?(++this.size,v.push([s,c])):v[H][1]=c,this}Vi.prototype.clear=a1,Vi.prototype.delete=l1,Vi.prototype.get=u1,Vi.prototype.has=c1,Vi.prototype.set=f1;function Ki(s){var c=-1,v=s==null?0:s.length;for(this.clear();++c<v;){var H=s[c];this.set(H[0],H[1])}}function d1(){this.size=0,this.__data__={hash:new ss,map:new(ra||Vi),string:new ss}}function h1(s){var c=Vl(this,s).delete(s);return this.size-=c?1:0,c}function p1(s){return Vl(this,s).get(s)}function m1(s){return Vl(this,s).has(s)}function y1(s,c){var v=Vl(this,s),H=v.size;return v.set(s,c),this.size+=v.size==H?0:1,this}Ki.prototype.clear=d1,Ki.prototype.delete=h1,Ki.prototype.get=p1,Ki.prototype.has=m1,Ki.prototype.set=y1;function os(s){var c=-1,v=s==null?0:s.length;for(this.__data__=new Ki;++c<v;)this.add(s[c])}function g1(s){return this.__data__.set(s,y),this}function b1(s){return this.__data__.has(s)}os.prototype.add=os.prototype.push=g1,os.prototype.has=b1;function ci(s){var c=this.__data__=new Vi(s);this.size=c.size}function T1(){this.__data__=new Vi,this.size=0}function S1(s){var c=this.__data__,v=c.delete(s);return this.size=c.size,v}function v1(s){return this.__data__.get(s)}function w1(s){return this.__data__.has(s)}function _1(s,c){var v=this.__data__;if(v instanceof Vi){var H=v.__data__;if(!ra||H.length<r-1)return H.push([s,c]),this.size=++v.size,this;v=this.__data__=new Ki(H)}return v.set(s,c),this.size=v.size,this}ci.prototype.clear=T1,ci.prototype.delete=S1,ci.prototype.get=v1,ci.prototype.has=w1,ci.prototype.set=_1;function my(s,c){var v=$e(s),H=!v&&fs(s),ee=!v&&!H&&Fr(s),se=!v&&!H&&!ee&&uo(s),pe=v||H||ee||se,ge=pe?mf(s.length,IL):[],we=ge.length;for(var Ce in s)(c||wt.call(s,Ce))&&!(pe&&(Ce=="length"||ee&&(Ce=="offset"||Ce=="parent")||se&&(Ce=="buffer"||Ce=="byteLength"||Ce=="byteOffset")||Yi(Ce,we)))&&ge.push(Ce);return ge}function yy(s){var c=s.length;return c?s[Pf(0,c-1)]:n}function L1(s,c){return Kl(wn(s),as(c,0,s.length))}function N1(s){return Kl(wn(s))}function wf(s,c,v){(v!==n&&!fi(s[c],v)||v===n&&!(c in s))&&Zi(s,c,v)}function la(s,c,v){var H=s[c];(!(wt.call(s,c)&&fi(H,v))||v===n&&!(c in s))&&Zi(s,c,v)}function jl(s,c){for(var v=s.length;v--;)if(fi(s[v][0],c))return v;return-1}function k1(s,c,v,H){return Or(s,function(ee,se,pe){c(H,ee,v(ee),pe)}),H}function gy(s,c){return s&&_i(c,nn(c),s)}function O1(s,c){return s&&_i(c,Ln(c),s)}function Zi(s,c,v){c=="__proto__"&&Cl?Cl(s,c,{configurable:!0,enumerable:!0,value:v,writable:!0}):s[c]=v}function _f(s,c){for(var v=-1,H=c.length,ee=ke(H),se=s==null;++v<H;)ee[v]=se?n:id(s,c[v]);return ee}function as(s,c,v){return s===s&&(v!==n&&(s=s<=v?s:v),c!==n&&(s=s>=c?s:c)),s}function Zn(s,c,v,H,ee,se){var pe,ge=c&O,we=c&I,Ce=c&k;if(v&&(pe=ee?v(s,H,ee,se):v(s)),pe!==n)return pe;if(!Rt(s))return s;var Ae=$e(s);if(Ae){if(pe=mN(s),!ge)return wn(s,pe)}else{var Pe=hn(s),De=Pe==Ne||Pe==le;if(Fr(s))return Jy(s,ge);if(Pe==M||Pe==j||De&&!ee){if(pe=we||De?{}:og(s),!ge)return we?rN(s,O1(pe,s)):iN(s,gy(pe,s))}else{if(!Ct[Pe])return ee?s:{};pe=yN(s,Pe,ge)}}se||(se=new ci);var Je=se.get(s);if(Je)return Je;se.set(s,pe),jg(s)?s.forEach(function(Ke){pe.add(Zn(Ke,c,v,Ke,s,se))}):Ig(s)&&s.forEach(function(Ke,ft){pe.set(ft,Zn(Ke,c,v,ft,s,se))});var Ve=Ce?we?Wf:zf:we?Ln:nn,st=Ae?n:Ve(s);return Hn(st||s,function(Ke,ft){st&&(ft=Ke,Ke=s[ft]),la(pe,ft,Zn(Ke,c,v,ft,s,se))}),pe}function E1(s){var c=nn(s);return function(v){return by(v,s,c)}}function by(s,c,v){var H=v.length;if(s==null)return!H;for(s=kt(s);H--;){var ee=v[H],se=c[ee],pe=s[ee];if(pe===n&&!(ee in s)||!se(pe))return!1}return!0}function Ty(s,c,v){if(typeof s!="function")throw new Vn(l);return ma(function(){s.apply(n,v)},c)}function ua(s,c,v,H){var ee=-1,se=bl,pe=!0,ge=s.length,we=[],Ce=c.length;if(!ge)return we;v&&(c=Pt(c,Bn(v))),H?(se=uf,pe=!1):c.length>=r&&(se=na,pe=!1,c=new os(c));e:for(;++ee<ge;){var Ae=s[ee],Pe=v==null?Ae:v(Ae);if(Ae=H||Ae!==0?Ae:0,pe&&Pe===Pe){for(var De=Ce;De--;)if(c[De]===Pe)continue e;we.push(Ae)}else se(c,Pe,H)||we.push(Ae)}return we}var Or=Hy(wi),Sy=Hy(Nf,!0);function C1(s,c){var v=!0;return Or(s,function(H,ee,se){return v=!!c(H,ee,se),v}),v}function Bl(s,c,v){for(var H=-1,ee=s.length;++H<ee;){var se=s[H],pe=c(se);if(pe!=null&&(ge===n?pe===pe&&!Dn(pe):v(pe,ge)))var ge=pe,we=se}return we}function A1(s,c,v,H){var ee=s.length;for(v=it(v),v<0&&(v=-v>ee?0:ee+v),H=H===n||H>ee?ee:it(H),H<0&&(H+=ee),H=v>H?0:Rg(H);v<H;)s[v++]=c;return s}function vy(s,c){var v=[];return Or(s,function(H,ee,se){c(H,ee,se)&&v.push(H)}),v}function on(s,c,v,H,ee){var se=-1,pe=s.length;for(v||(v=bN),ee||(ee=[]);++se<pe;){var ge=s[se];c>0&&v(ge)?c>1?on(ge,c-1,v,H,ee):Lr(ee,ge):H||(ee[ee.length]=ge)}return ee}var Lf=Vy(),wy=Vy(!0);function wi(s,c){return s&&Lf(s,c,nn)}function Nf(s,c){return s&&wy(s,c,nn)}function Rl(s,c){return _r(c,function(v){return $i(s[v])})}function ls(s,c){c=Cr(c,s);for(var v=0,H=c.length;s!=null&&v<H;)s=s[Li(c[v++])];return v&&v==H?s:n}function _y(s,c,v){var H=c(s);return $e(s)?H:Lr(H,v(s))}function mn(s){return s==null?s===n?je:Y:rs&&rs in kt(s)?dN(s):NN(s)}function kf(s,c){return s>c}function F1(s,c){return s!=null&&wt.call(s,c)}function P1(s,c){return s!=null&&c in kt(s)}function I1(s,c,v){return s>=dn(c,v)&&s<Xt(c,v)}function Of(s,c,v){for(var H=v?uf:bl,ee=s[0].length,se=s.length,pe=se,ge=ke(se),we=1/0,Ce=[];pe--;){var Ae=s[pe];pe&&c&&(Ae=Pt(Ae,Bn(c))),we=dn(Ae.length,we),ge[pe]=!v&&(c||ee>=120&&Ae.length>=120)?new os(pe&&Ae):n}Ae=s[0];var Pe=-1,De=ge[0];e:for(;++Pe<ee&&Ce.length<we;){var Je=Ae[Pe],Ve=c?c(Je):Je;if(Je=v||Je!==0?Je:0,!(De?na(De,Ve):H(Ce,Ve,v))){for(pe=se;--pe;){var st=ge[pe];if(!(st?na(st,Ve):H(s[pe],Ve,v)))continue e}De&&De.push(Ve),Ce.push(Je)}}return Ce}function M1(s,c,v,H){return wi(s,function(ee,se,pe){c(H,v(ee),se,pe)}),H}function ca(s,c,v){c=Cr(c,s),s=cg(s,c);var H=s==null?s:s[Li(Xn(c))];return H==null?n:jn(H,s,v)}function Ly(s){return Dt(s)&&mn(s)==j}function j1(s){return Dt(s)&&mn(s)==Z}function B1(s){return Dt(s)&&mn(s)==ne}function fa(s,c,v,H,ee){return s===c?!0:s==null||c==null||!Dt(s)&&!Dt(c)?s!==s&&c!==c:R1(s,c,v,H,fa,ee)}function R1(s,c,v,H,ee,se){var pe=$e(s),ge=$e(c),we=pe?X:hn(s),Ce=ge?X:hn(c);we=we==j?M:we,Ce=Ce==j?M:Ce;var Ae=we==M,Pe=Ce==M,De=we==Ce;if(De&&Fr(s)){if(!Fr(c))return!1;pe=!0,Ae=!1}if(De&&!Ae)return se||(se=new ci),pe||uo(s)?ig(s,c,v,H,ee,se):cN(s,c,we,v,H,ee,se);if(!(v&P)){var Je=Ae&&wt.call(s,"__wrapped__"),Ve=Pe&&wt.call(c,"__wrapped__");if(Je||Ve){var st=Je?s.value():s,Ke=Ve?c.value():c;return se||(se=new ci),ee(st,Ke,v,H,se)}}return De?(se||(se=new ci),fN(s,c,v,H,ee,se)):!1}function D1(s){return Dt(s)&&hn(s)==fe}function Ef(s,c,v,H){var ee=v.length,se=ee,pe=!H;if(s==null)return!se;for(s=kt(s);ee--;){var ge=v[ee];if(pe&&ge[2]?ge[1]!==s[ge[0]]:!(ge[0]in s))return!1}for(;++ee<se;){ge=v[ee];var we=ge[0],Ce=s[we],Ae=ge[1];if(pe&&ge[2]){if(Ce===n&&!(we in s))return!1}else{var Pe=new ci;if(H)var De=H(Ce,Ae,we,s,c,Pe);if(!(De===n?fa(Ae,Ce,P|m,H,Pe):De))return!1}}return!0}function Ny(s){if(!Rt(s)||SN(s))return!1;var c=$i(s)?DL:li;return c.test(cs(s))}function x1(s){return Dt(s)&&mn(s)==ue}function U1(s){return Dt(s)&&hn(s)==ve}function J1(s){return Dt(s)&&eu(s.length)&&!!At[mn(s)]}function ky(s){return typeof s=="function"?s:s==null?Nn:typeof s=="object"?$e(s)?Cy(s[0],s[1]):Ey(s):Kg(s)}function Cf(s){if(!pa(s))return GL(s);var c=[];for(var v in kt(s))wt.call(s,v)&&v!="constructor"&&c.push(v);return c}function z1(s){if(!Rt(s))return LN(s);var c=pa(s),v=[];for(var H in s)H=="constructor"&&(c||!wt.call(s,H))||v.push(H);return v}function Af(s,c){return s<c}function Oy(s,c){var v=-1,H=_n(s)?ke(s.length):[];return Or(s,function(ee,se,pe){H[++v]=c(ee,se,pe)}),H}function Ey(s){var c=qf(s);return c.length==1&&c[0][2]?lg(c[0][0],c[0][1]):function(v){return v===s||Ef(v,s,c)}}function Cy(s,c){return Vf(s)&&ag(c)?lg(Li(s),c):function(v){var H=id(v,s);return H===n&&H===c?rd(v,s):fa(c,H,P|m)}}function Dl(s,c,v,H,ee){s!==c&&Lf(c,function(se,pe){if(ee||(ee=new ci),Rt(se))W1(s,c,pe,v,Dl,H,ee);else{var ge=H?H(Zf(s,pe),se,pe+"",s,c,ee):n;ge===n&&(ge=se),wf(s,pe,ge)}},Ln)}function W1(s,c,v,H,ee,se,pe){var ge=Zf(s,v),we=Zf(c,v),Ce=pe.get(we);if(Ce){wf(s,v,Ce);return}var Ae=se?se(ge,we,v+"",s,c,pe):n,Pe=Ae===n;if(Pe){var De=$e(we),Je=!De&&Fr(we),Ve=!De&&!Je&&uo(we);Ae=we,De||Je||Ve?$e(ge)?Ae=ge:Gt(ge)?Ae=wn(ge):Je?(Pe=!1,Ae=Jy(we,!0)):Ve?(Pe=!1,Ae=zy(we,!0)):Ae=[]:ya(we)||fs(we)?(Ae=ge,fs(ge)?Ae=Dg(ge):(!Rt(ge)||$i(ge))&&(Ae=og(we))):Pe=!1}Pe&&(pe.set(we,Ae),ee(Ae,we,H,se,pe),pe.delete(we)),wf(s,v,Ae)}function Ay(s,c){var v=s.length;if(v)return c+=c<0?v:0,Yi(c,v)?s[c]:n}function Fy(s,c,v){c.length?c=Pt(c,function(se){return $e(se)?function(pe){return ls(pe,se.length===1?se[0]:se)}:se}):c=[Nn];var H=-1;c=Pt(c,Bn(Ge()));var ee=Oy(s,function(se,pe,ge){var we=Pt(c,function(Ce){return Ce(se)});return{criteria:we,index:++H,value:se}});return yL(ee,function(se,pe){return nN(se,pe,v)})}function G1(s,c){return Py(s,c,function(v,H){return rd(s,H)})}function Py(s,c,v){for(var H=-1,ee=c.length,se={};++H<ee;){var pe=c[H],ge=ls(s,pe);v(ge,pe)&&da(se,Cr(pe,s),ge)}return se}function q1(s){return function(c){return ls(c,s)}}function Ff(s,c,v,H){var ee=H?mL:Ys,se=-1,pe=c.length,ge=s;for(s===c&&(c=wn(c)),v&&(ge=Pt(s,Bn(v)));++se<pe;)for(var we=0,Ce=c[se],Ae=v?v(Ce):Ce;(we=ee(ge,Ae,we,H))>-1;)ge!==s&&El.call(ge,we,1),El.call(s,we,1);return s}function Iy(s,c){for(var v=s?c.length:0,H=v-1;v--;){var ee=c[v];if(v==H||ee!==se){var se=ee;Yi(ee)?El.call(s,ee,1):jf(s,ee)}}return s}function Pf(s,c){return s+Fl(hy()*(c-s+1))}function H1(s,c,v,H){for(var ee=-1,se=Xt(Al((c-s)/(v||1)),0),pe=ke(se);se--;)pe[H?se:++ee]=s,s+=v;return pe}function If(s,c){var v="";if(!s||c<1||c>N)return v;do c%2&&(v+=s),c=Fl(c/2),c&&(s+=s);while(c);return v}function at(s,c){return Qf(ug(s,c,Nn),s+"")}function V1(s){return yy(co(s))}function K1(s,c){var v=co(s);return Kl(v,as(c,0,v.length))}function da(s,c,v,H){if(!Rt(s))return s;c=Cr(c,s);for(var ee=-1,se=c.length,pe=se-1,ge=s;ge!=null&&++ee<se;){var we=Li(c[ee]),Ce=v;if(we==="__proto__"||we==="constructor"||we==="prototype")return s;if(ee!=pe){var Ae=ge[we];Ce=H?H(Ae,we,ge):n,Ce===n&&(Ce=Rt(Ae)?Ae:Yi(c[ee+1])?[]:{})}la(ge,we,Ce),ge=ge[we]}return s}var My=Pl?function(s,c){return Pl.set(s,c),s}:Nn,Z1=Cl?function(s,c){return Cl(s,"toString",{configurable:!0,enumerable:!1,value:od(c),writable:!0})}:Nn;function Q1(s){return Kl(co(s))}function Qn(s,c,v){var H=-1,ee=s.length;c<0&&(c=-c>ee?0:ee+c),v=v>ee?ee:v,v<0&&(v+=ee),ee=c>v?0:v-c>>>0,c>>>=0;for(var se=ke(ee);++H<ee;)se[H]=s[H+c];return se}function X1(s,c){var v;return Or(s,function(H,ee,se){return v=c(H,ee,se),!v}),!!v}function xl(s,c,v){var H=0,ee=s==null?H:s.length;if(typeof c=="number"&&c===c&&ee<=z){for(;H<ee;){var se=H+ee>>>1,pe=s[se];pe!==null&&!Dn(pe)&&(v?pe<=c:pe<c)?H=se+1:ee=se}return ee}return Mf(s,c,Nn,v)}function Mf(s,c,v,H){var ee=0,se=s==null?0:s.length;if(se===0)return 0;c=v(c);for(var pe=c!==c,ge=c===null,we=Dn(c),Ce=c===n;ee<se;){var Ae=Fl((ee+se)/2),Pe=v(s[Ae]),De=Pe!==n,Je=Pe===null,Ve=Pe===Pe,st=Dn(Pe);if(pe)var Ke=H||Ve;else Ce?Ke=Ve&&(H||De):ge?Ke=Ve&&De&&(H||!Je):we?Ke=Ve&&De&&!Je&&(H||!st):Je||st?Ke=!1:Ke=H?Pe<=c:Pe<c;Ke?ee=Ae+1:se=Ae}return dn(se,Q)}function jy(s,c){for(var v=-1,H=s.length,ee=0,se=[];++v<H;){var pe=s[v],ge=c?c(pe):pe;if(!v||!fi(ge,we)){var we=ge;se[ee++]=pe===0?0:pe}}return se}function By(s){return typeof s=="number"?s:Dn(s)?B:+s}function Rn(s){if(typeof s=="string")return s;if($e(s))return Pt(s,Rn)+"";if(Dn(s))return py?py.call(s):"";var c=s+"";return c=="0"&&1/s==-w?"-0":c}function Er(s,c,v){var H=-1,ee=bl,se=s.length,pe=!0,ge=[],we=ge;if(v)pe=!1,ee=uf;else if(se>=r){var Ce=c?null:lN(s);if(Ce)return Sl(Ce);pe=!1,ee=na,we=new os}else we=c?[]:ge;e:for(;++H<se;){var Ae=s[H],Pe=c?c(Ae):Ae;if(Ae=v||Ae!==0?Ae:0,pe&&Pe===Pe){for(var De=we.length;De--;)if(we[De]===Pe)continue e;c&&we.push(Pe),ge.push(Ae)}else ee(we,Pe,v)||(we!==ge&&we.push(Pe),ge.push(Ae))}return ge}function jf(s,c){return c=Cr(c,s),s=cg(s,c),s==null||delete s[Li(Xn(c))]}function Ry(s,c,v,H){return da(s,c,v(ls(s,c)),H)}function Ul(s,c,v,H){for(var ee=s.length,se=H?ee:-1;(H?se--:++se<ee)&&c(s[se],se,s););return v?Qn(s,H?0:se,H?se+1:ee):Qn(s,H?se+1:0,H?ee:se)}function Dy(s,c){var v=s;return v instanceof ht&&(v=v.value()),cf(c,function(H,ee){return ee.func.apply(ee.thisArg,Lr([H],ee.args))},v)}function Bf(s,c,v){var H=s.length;if(H<2)return H?Er(s[0]):[];for(var ee=-1,se=ke(H);++ee<H;)for(var pe=s[ee],ge=-1;++ge<H;)ge!=ee&&(se[ee]=ua(se[ee]||pe,s[ge],c,v));return Er(on(se,1),c,v)}function xy(s,c,v){for(var H=-1,ee=s.length,se=c.length,pe={};++H<ee;){var ge=H<se?c[H]:n;v(pe,s[H],ge)}return pe}function Rf(s){return Gt(s)?s:[]}function Df(s){return typeof s=="function"?s:Nn}function Cr(s,c){return $e(s)?s:Vf(s,c)?[s]:pg(vt(s))}var Y1=at;function Ar(s,c,v){var H=s.length;return v=v===n?H:v,!c&&v>=H?s:Qn(s,c,v)}var Uy=xL||function(s){return sn.clearTimeout(s)};function Jy(s,c){if(c)return s.slice();var v=s.length,H=ly?ly(v):new s.constructor(v);return s.copy(H),H}function xf(s){var c=new s.constructor(s.byteLength);return new kl(c).set(new kl(s)),c}function $1(s,c){var v=c?xf(s.buffer):s.buffer;return new s.constructor(v,s.byteOffset,s.byteLength)}function eN(s){var c=new s.constructor(s.source,Qs.exec(s));return c.lastIndex=s.lastIndex,c}function tN(s){return aa?kt(aa.call(s)):{}}function zy(s,c){var v=c?xf(s.buffer):s.buffer;return new s.constructor(v,s.byteOffset,s.length)}function Wy(s,c){if(s!==c){var v=s!==n,H=s===null,ee=s===s,se=Dn(s),pe=c!==n,ge=c===null,we=c===c,Ce=Dn(c);if(!ge&&!Ce&&!se&&s>c||se&&pe&&we&&!ge&&!Ce||H&&pe&&we||!v&&we||!ee)return 1;if(!H&&!se&&!Ce&&s<c||Ce&&v&&ee&&!H&&!se||ge&&v&&ee||!pe&&ee||!we)return-1}return 0}function nN(s,c,v){for(var H=-1,ee=s.criteria,se=c.criteria,pe=ee.length,ge=v.length;++H<pe;){var we=Wy(ee[H],se[H]);if(we){if(H>=ge)return we;var Ce=v[H];return we*(Ce=="desc"?-1:1)}}return s.index-c.index}function Gy(s,c,v,H){for(var ee=-1,se=s.length,pe=v.length,ge=-1,we=c.length,Ce=Xt(se-pe,0),Ae=ke(we+Ce),Pe=!H;++ge<we;)Ae[ge]=c[ge];for(;++ee<pe;)(Pe||ee<se)&&(Ae[v[ee]]=s[ee]);for(;Ce--;)Ae[ge++]=s[ee++];return Ae}function qy(s,c,v,H){for(var ee=-1,se=s.length,pe=-1,ge=v.length,we=-1,Ce=c.length,Ae=Xt(se-ge,0),Pe=ke(Ae+Ce),De=!H;++ee<Ae;)Pe[ee]=s[ee];for(var Je=ee;++we<Ce;)Pe[Je+we]=c[we];for(;++pe<ge;)(De||ee<se)&&(Pe[Je+v[pe]]=s[ee++]);return Pe}function wn(s,c){var v=-1,H=s.length;for(c||(c=ke(H));++v<H;)c[v]=s[v];return c}function _i(s,c,v,H){var ee=!v;v||(v={});for(var se=-1,pe=c.length;++se<pe;){var ge=c[se],we=H?H(v[ge],s[ge],ge,v,s):n;we===n&&(we=s[ge]),ee?Zi(v,ge,we):la(v,ge,we)}return v}function iN(s,c){return _i(s,Hf(s),c)}function rN(s,c){return _i(s,rg(s),c)}function Jl(s,c){return function(v,H){var ee=$e(v)?uL:k1,se=c?c():{};return ee(v,s,Ge(H,2),se)}}function oo(s){return at(function(c,v){var H=-1,ee=v.length,se=ee>1?v[ee-1]:n,pe=ee>2?v[2]:n;for(se=s.length>3&&typeof se=="function"?(ee--,se):n,pe&&yn(v[0],v[1],pe)&&(se=ee<3?n:se,ee=1),c=kt(c);++H<ee;){var ge=v[H];ge&&s(c,ge,H,se)}return c})}function Hy(s,c){return function(v,H){if(v==null)return v;if(!_n(v))return s(v,H);for(var ee=v.length,se=c?ee:-1,pe=kt(v);(c?se--:++se<ee)&&H(pe[se],se,pe)!==!1;);return v}}function Vy(s){return function(c,v,H){for(var ee=-1,se=kt(c),pe=H(c),ge=pe.length;ge--;){var we=pe[s?ge:++ee];if(v(se[we],we,se)===!1)break}return c}}function sN(s,c,v){var H=c&C,ee=ha(s);function se(){var pe=this&&this!==sn&&this instanceof se?ee:s;return pe.apply(H?v:this,arguments)}return se}function Ky(s){return function(c){c=vt(c);var v=$s(c)?ui(c):n,H=v?v[0]:c.charAt(0),ee=v?Ar(v,1).join(""):c.slice(1);return H[s]()+ee}}function ao(s){return function(c){return cf(Hg(qg(c).replace(Z_,"")),s,"")}}function ha(s){return function(){var c=arguments;switch(c.length){case 0:return new s;case 1:return new s(c[0]);case 2:return new s(c[0],c[1]);case 3:return new s(c[0],c[1],c[2]);case 4:return new s(c[0],c[1],c[2],c[3]);case 5:return new s(c[0],c[1],c[2],c[3],c[4]);case 6:return new s(c[0],c[1],c[2],c[3],c[4],c[5]);case 7:return new s(c[0],c[1],c[2],c[3],c[4],c[5],c[6])}var v=so(s.prototype),H=s.apply(v,c);return Rt(H)?H:v}}function oN(s,c,v){var H=ha(s);function ee(){for(var se=arguments.length,pe=ke(se),ge=se,we=lo(ee);ge--;)pe[ge]=arguments[ge];var Ce=se<3&&pe[0]!==we&&pe[se-1]!==we?[]:Nr(pe,we);if(se-=Ce.length,se<v)return $y(s,c,zl,ee.placeholder,n,pe,Ce,n,n,v-se);var Ae=this&&this!==sn&&this instanceof ee?H:s;return jn(Ae,this,pe)}return ee}function Zy(s){return function(c,v,H){var ee=kt(c);if(!_n(c)){var se=Ge(v,3);c=nn(c),v=function(ge){return se(ee[ge],ge,ee)}}var pe=s(c,v,H);return pe>-1?ee[se?c[pe]:pe]:n}}function Qy(s){return Xi(function(c){var v=c.length,H=v,ee=Kn.prototype.thru;for(s&&c.reverse();H--;){var se=c[H];if(typeof se!="function")throw new Vn(l);if(ee&&!pe&&Hl(se)=="wrapper")var pe=new Kn([],!0)}for(H=pe?H:v;++H<v;){se=c[H];var ge=Hl(se),we=ge=="wrapper"?Gf(se):n;we&&Kf(we[0])&&we[1]==(A|G|U|b)&&!we[4].length&&we[9]==1?pe=pe[Hl(we[0])].apply(pe,we[3]):pe=se.length==1&&Kf(se)?pe[ge]():pe.thru(se)}return function(){var Ce=arguments,Ae=Ce[0];if(pe&&Ce.length==1&&$e(Ae))return pe.plant(Ae).value();for(var Pe=0,De=v?c[Pe].apply(this,Ce):Ae;++Pe<v;)De=c[Pe].call(this,De);return De}})}function zl(s,c,v,H,ee,se,pe,ge,we,Ce){var Ae=c&A,Pe=c&C,De=c&J,Je=c&(G|K),Ve=c&_,st=De?n:ha(s);function Ke(){for(var ft=arguments.length,pt=ke(ft),xn=ft;xn--;)pt[xn]=arguments[xn];if(Je)var gn=lo(Ke),Un=bL(pt,gn);if(H&&(pt=Gy(pt,H,ee,Je)),se&&(pt=qy(pt,se,pe,Je)),ft-=Un,Je&&ft<Ce){var qt=Nr(pt,gn);return $y(s,c,zl,Ke.placeholder,v,pt,qt,ge,we,Ce-ft)}var di=Pe?v:this,tr=De?di[s]:s;return ft=pt.length,ge?pt=kN(pt,ge):Ve&&ft>1&&pt.reverse(),Ae&&we<ft&&(pt.length=we),this&&this!==sn&&this instanceof Ke&&(tr=st||ha(tr)),tr.apply(di,pt)}return Ke}function Xy(s,c){return function(v,H){return M1(v,s,c(H),{})}}function Wl(s,c){return function(v,H){var ee;if(v===n&&H===n)return c;if(v!==n&&(ee=v),H!==n){if(ee===n)return H;typeof v=="string"||typeof H=="string"?(v=Rn(v),H=Rn(H)):(v=By(v),H=By(H)),ee=s(v,H)}return ee}}function Uf(s){return Xi(function(c){return c=Pt(c,Bn(Ge())),at(function(v){var H=this;return s(c,function(ee){return jn(ee,H,v)})})})}function Gl(s,c){c=c===n?" ":Rn(c);var v=c.length;if(v<2)return v?If(c,s):c;var H=If(c,Al(s/eo(c)));return $s(c)?Ar(ui(H),0,s).join(""):H.slice(0,s)}function aN(s,c,v,H){var ee=c&C,se=ha(s);function pe(){for(var ge=-1,we=arguments.length,Ce=-1,Ae=H.length,Pe=ke(Ae+we),De=this&&this!==sn&&this instanceof pe?se:s;++Ce<Ae;)Pe[Ce]=H[Ce];for(;we--;)Pe[Ce++]=arguments[++ge];return jn(De,ee?v:this,Pe)}return pe}function Yy(s){return function(c,v,H){return H&&typeof H!="number"&&yn(c,v,H)&&(v=H=n),c=er(c),v===n?(v=c,c=0):v=er(v),H=H===n?c<v?1:-1:er(H),H1(c,v,H,s)}}function ql(s){return function(c,v){return typeof c=="string"&&typeof v=="string"||(c=Yn(c),v=Yn(v)),s(c,v)}}function $y(s,c,v,H,ee,se,pe,ge,we,Ce){var Ae=c&G,Pe=Ae?pe:n,De=Ae?n:pe,Je=Ae?se:n,Ve=Ae?n:se;c|=Ae?U:R,c&=~(Ae?R:U),c&x||(c&=~(C|J));var st=[s,c,ee,Je,Pe,Ve,De,ge,we,Ce],Ke=v.apply(n,st);return Kf(s)&&fg(Ke,st),Ke.placeholder=H,dg(Ke,s,c)}function Jf(s){var c=Qt[s];return function(v,H){if(v=Yn(v),H=H==null?0:dn(it(H),292),H&&dy(v)){var ee=(vt(v)+"e").split("e"),se=c(ee[0]+"e"+(+ee[1]+H));return ee=(vt(se)+"e").split("e"),+(ee[0]+"e"+(+ee[1]-H))}return c(v)}}var lN=io&&1/Sl(new io([,-0]))[1]==w?function(s){return new io(s)}:ud;function eg(s){return function(c){var v=hn(c);return v==fe?gf(c):v==ve?NL(c):gL(c,s(c))}}function Qi(s,c,v,H,ee,se,pe,ge){var we=c&J;if(!we&&typeof s!="function")throw new Vn(l);var Ce=H?H.length:0;if(Ce||(c&=~(U|R),H=ee=n),pe=pe===n?pe:Xt(it(pe),0),ge=ge===n?ge:it(ge),Ce-=ee?ee.length:0,c&R){var Ae=H,Pe=ee;H=ee=n}var De=we?n:Gf(s),Je=[s,c,v,H,ee,Ae,Pe,se,pe,ge];if(De&&_N(Je,De),s=Je[0],c=Je[1],v=Je[2],H=Je[3],ee=Je[4],ge=Je[9]=Je[9]===n?we?0:s.length:Xt(Je[9]-Ce,0),!ge&&c&(G|K)&&(c&=~(G|K)),!c||c==C)var Ve=sN(s,c,v);else c==G||c==K?Ve=oN(s,c,ge):(c==U||c==(C|U))&&!ee.length?Ve=aN(s,c,v,H):Ve=zl.apply(n,Je);var st=De?My:fg;return dg(st(Ve,Je),s,c)}function tg(s,c,v,H){return s===n||fi(s,no[v])&&!wt.call(H,v)?c:s}function ng(s,c,v,H,ee,se){return Rt(s)&&Rt(c)&&(se.set(c,s),Dl(s,c,n,ng,se),se.delete(c)),s}function uN(s){return ya(s)?n:s}function ig(s,c,v,H,ee,se){var pe=v&P,ge=s.length,we=c.length;if(ge!=we&&!(pe&&we>ge))return!1;var Ce=se.get(s),Ae=se.get(c);if(Ce&&Ae)return Ce==c&&Ae==s;var Pe=-1,De=!0,Je=v&m?new os:n;for(se.set(s,c),se.set(c,s);++Pe<ge;){var Ve=s[Pe],st=c[Pe];if(H)var Ke=pe?H(st,Ve,Pe,c,s,se):H(Ve,st,Pe,s,c,se);if(Ke!==n){if(Ke)continue;De=!1;break}if(Je){if(!ff(c,function(ft,pt){if(!na(Je,pt)&&(Ve===ft||ee(Ve,ft,v,H,se)))return Je.push(pt)})){De=!1;break}}else if(!(Ve===st||ee(Ve,st,v,H,se))){De=!1;break}}return se.delete(s),se.delete(c),De}function cN(s,c,v,H,ee,se,pe){switch(v){case D:if(s.byteLength!=c.byteLength||s.byteOffset!=c.byteOffset)return!1;s=s.buffer,c=c.buffer;case Z:return!(s.byteLength!=c.byteLength||!se(new kl(s),new kl(c)));case $:case ne:case _e:return fi(+s,+c);case Te:return s.name==c.name&&s.message==c.message;case ue:case be:return s==c+"";case fe:var ge=gf;case ve:var we=H&P;if(ge||(ge=Sl),s.size!=c.size&&!we)return!1;var Ce=pe.get(s);if(Ce)return Ce==c;H|=m,pe.set(s,c);var Ae=ig(ge(s),ge(c),H,ee,se,pe);return pe.delete(s),Ae;case Me:if(aa)return aa.call(s)==aa.call(c)}return!1}function fN(s,c,v,H,ee,se){var pe=v&P,ge=zf(s),we=ge.length,Ce=zf(c),Ae=Ce.length;if(we!=Ae&&!pe)return!1;for(var Pe=we;Pe--;){var De=ge[Pe];if(!(pe?De in c:wt.call(c,De)))return!1}var Je=se.get(s),Ve=se.get(c);if(Je&&Ve)return Je==c&&Ve==s;var st=!0;se.set(s,c),se.set(c,s);for(var Ke=pe;++Pe<we;){De=ge[Pe];var ft=s[De],pt=c[De];if(H)var xn=pe?H(pt,ft,De,c,s,se):H(ft,pt,De,s,c,se);if(!(xn===n?ft===pt||ee(ft,pt,v,H,se):xn)){st=!1;break}Ke||(Ke=De=="constructor")}if(st&&!Ke){var gn=s.constructor,Un=c.constructor;gn!=Un&&"constructor"in s&&"constructor"in c&&!(typeof gn=="function"&&gn instanceof gn&&typeof Un=="function"&&Un instanceof Un)&&(st=!1)}return se.delete(s),se.delete(c),st}function Xi(s){return Qf(ug(s,n,bg),s+"")}function zf(s){return _y(s,nn,Hf)}function Wf(s){return _y(s,Ln,rg)}var Gf=Pl?function(s){return Pl.get(s)}:ud;function Hl(s){for(var c=s.name+"",v=ro[c],H=wt.call(ro,c)?v.length:0;H--;){var ee=v[H],se=ee.func;if(se==null||se==s)return ee.name}return c}function lo(s){var c=wt.call(re,"placeholder")?re:s;return c.placeholder}function Ge(){var s=re.iteratee||ad;return s=s===ad?ky:s,arguments.length?s(arguments[0],arguments[1]):s}function Vl(s,c){var v=s.__data__;return TN(c)?v[typeof c=="string"?"string":"hash"]:v.map}function qf(s){for(var c=nn(s),v=c.length;v--;){var H=c[v],ee=s[H];c[v]=[H,ee,ag(ee)]}return c}function us(s,c){var v=wL(s,c);return Ny(v)?v:n}function dN(s){var c=wt.call(s,rs),v=s[rs];try{s[rs]=n;var H=!0}catch{}var ee=Ll.call(s);return H&&(c?s[rs]=v:delete s[rs]),ee}var Hf=Tf?function(s){return s==null?[]:(s=kt(s),_r(Tf(s),function(c){return cy.call(s,c)}))}:cd,rg=Tf?function(s){for(var c=[];s;)Lr(c,Hf(s)),s=Ol(s);return c}:cd,hn=mn;(Sf&&hn(new Sf(new ArrayBuffer(1)))!=D||ra&&hn(new ra)!=fe||vf&&hn(vf.resolve())!=q||io&&hn(new io)!=ve||sa&&hn(new sa)!=he)&&(hn=function(s){var c=mn(s),v=c==M?s.constructor:n,H=v?cs(v):"";if(H)switch(H){case KL:return D;case ZL:return fe;case QL:return q;case XL:return ve;case YL:return he}return c});function hN(s,c,v){for(var H=-1,ee=v.length;++H<ee;){var se=v[H],pe=se.size;switch(se.type){case"drop":s+=pe;break;case"dropRight":c-=pe;break;case"take":c=dn(c,s+pe);break;case"takeRight":s=Xt(s,c-pe);break}}return{start:s,end:c}}function pN(s){var c=s.match(dl);return c?c[1].split(ef):[]}function sg(s,c,v){c=Cr(c,s);for(var H=-1,ee=c.length,se=!1;++H<ee;){var pe=Li(c[H]);if(!(se=s!=null&&v(s,pe)))break;s=s[pe]}return se||++H!=ee?se:(ee=s==null?0:s.length,!!ee&&eu(ee)&&Yi(pe,ee)&&($e(s)||fs(s)))}function mN(s){var c=s.length,v=new s.constructor(c);return c&&typeof s[0]=="string"&&wt.call(s,"index")&&(v.index=s.index,v.input=s.input),v}function og(s){return typeof s.constructor=="function"&&!pa(s)?so(Ol(s)):{}}function yN(s,c,v){var H=s.constructor;switch(c){case Z:return xf(s);case $:case ne:return new H(+s);case D:return $1(s,v);case V:case oe:case me:case Le:case Oe:case ze:case nt:case ut:case gt:return zy(s,v);case fe:return new H;case _e:case be:return new H(s);case ue:return eN(s);case ve:return new H;case Me:return tN(s)}}function gN(s,c){var v=c.length;if(!v)return s;var H=v-1;return c[H]=(v>1?"& ":"")+c[H],c=c.join(v>2?", ":" "),s.replace(qi,`{
|
|
904
|
+
/* [wrapped with `+c+`] */
|
|
905
|
+
`)}function bN(s){return $e(s)||fs(s)||!!(fy&&s&&s[fy])}function Yi(s,c){var v=typeof s;return c=c??N,!!c&&(v=="number"||v!="symbol"&&A_.test(s))&&s>-1&&s%1==0&&s<c}function yn(s,c,v){if(!Rt(v))return!1;var H=typeof c;return(H=="number"?_n(v)&&Yi(c,v.length):H=="string"&&c in v)?fi(v[c],s):!1}function Vf(s,c){if($e(s))return!1;var v=typeof s;return v=="number"||v=="symbol"||v=="boolean"||s==null||Dn(s)?!0:Be.test(s)||!de.test(s)||c!=null&&s in kt(c)}function TN(s){var c=typeof s;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?s!=="__proto__":s===null}function Kf(s){var c=Hl(s),v=re[c];if(typeof v!="function"||!(c in ht.prototype))return!1;if(s===v)return!0;var H=Gf(v);return!!H&&s===H[0]}function SN(s){return!!ay&&ay in s}var vN=wl?$i:fd;function pa(s){var c=s&&s.constructor,v=typeof c=="function"&&c.prototype||no;return s===v}function ag(s){return s===s&&!Rt(s)}function lg(s,c){return function(v){return v==null?!1:v[s]===c&&(c!==n||s in kt(v))}}function wN(s){var c=Yl(s,function(H){return v.size===T&&v.clear(),H}),v=c.cache;return c}function _N(s,c){var v=s[1],H=c[1],ee=v|H,se=ee<(C|J|A),pe=H==A&&v==G||H==A&&v==b&&s[7].length<=c[8]||H==(A|b)&&c[7].length<=c[8]&&v==G;if(!(se||pe))return s;H&C&&(s[2]=c[2],ee|=v&C?0:x);var ge=c[3];if(ge){var we=s[3];s[3]=we?Gy(we,ge,c[4]):ge,s[4]=we?Nr(s[3],S):c[4]}return ge=c[5],ge&&(we=s[5],s[5]=we?qy(we,ge,c[6]):ge,s[6]=we?Nr(s[5],S):c[6]),ge=c[7],ge&&(s[7]=ge),H&A&&(s[8]=s[8]==null?c[8]:dn(s[8],c[8])),s[9]==null&&(s[9]=c[9]),s[0]=c[0],s[1]=ee,s}function LN(s){var c=[];if(s!=null)for(var v in kt(s))c.push(v);return c}function NN(s){return Ll.call(s)}function ug(s,c,v){return c=Xt(c===n?s.length-1:c,0),function(){for(var H=arguments,ee=-1,se=Xt(H.length-c,0),pe=ke(se);++ee<se;)pe[ee]=H[c+ee];ee=-1;for(var ge=ke(c+1);++ee<c;)ge[ee]=H[ee];return ge[c]=v(pe),jn(s,this,ge)}}function cg(s,c){return c.length<2?s:ls(s,Qn(c,0,-1))}function kN(s,c){for(var v=s.length,H=dn(c.length,v),ee=wn(s);H--;){var se=c[H];s[H]=Yi(se,v)?ee[se]:n}return s}function Zf(s,c){if(!(c==="constructor"&&typeof s[c]=="function")&&c!="__proto__")return s[c]}var fg=hg(My),ma=JL||function(s,c){return sn.setTimeout(s,c)},Qf=hg(Z1);function dg(s,c,v){var H=c+"";return Qf(s,gN(H,ON(pN(H),v)))}function hg(s){var c=0,v=0;return function(){var H=qL(),ee=a-(H-v);if(v=H,ee>0){if(++c>=p)return arguments[0]}else c=0;return s.apply(n,arguments)}}function Kl(s,c){var v=-1,H=s.length,ee=H-1;for(c=c===n?H:c;++v<c;){var se=Pf(v,ee),pe=s[se];s[se]=s[v],s[v]=pe}return s.length=c,s}var pg=wN(function(s){var c=[];return s.charCodeAt(0)===46&&c.push(""),s.replace(Re,function(v,H,ee,se){c.push(ee?se.replace(ea,"$1"):H||v)}),c});function Li(s){if(typeof s=="string"||Dn(s))return s;var c=s+"";return c=="0"&&1/s==-w?"-0":c}function cs(s){if(s!=null){try{return _l.call(s)}catch{}try{return s+""}catch{}}return""}function ON(s,c){return Hn(E,function(v){var H="_."+v[0];c&v[1]&&!bl(s,H)&&s.push(H)}),s.sort()}function mg(s){if(s instanceof ht)return s.clone();var c=new Kn(s.__wrapped__,s.__chain__);return c.__actions__=wn(s.__actions__),c.__index__=s.__index__,c.__values__=s.__values__,c}function EN(s,c,v){(v?yn(s,c,v):c===n)?c=1:c=Xt(it(c),0);var H=s==null?0:s.length;if(!H||c<1)return[];for(var ee=0,se=0,pe=ke(Al(H/c));ee<H;)pe[se++]=Qn(s,ee,ee+=c);return pe}function CN(s){for(var c=-1,v=s==null?0:s.length,H=0,ee=[];++c<v;){var se=s[c];se&&(ee[H++]=se)}return ee}function AN(){var s=arguments.length;if(!s)return[];for(var c=ke(s-1),v=arguments[0],H=s;H--;)c[H-1]=arguments[H];return Lr($e(v)?wn(v):[v],on(c,1))}var FN=at(function(s,c){return Gt(s)?ua(s,on(c,1,Gt,!0)):[]}),PN=at(function(s,c){var v=Xn(c);return Gt(v)&&(v=n),Gt(s)?ua(s,on(c,1,Gt,!0),Ge(v,2)):[]}),IN=at(function(s,c){var v=Xn(c);return Gt(v)&&(v=n),Gt(s)?ua(s,on(c,1,Gt,!0),n,v):[]});function MN(s,c,v){var H=s==null?0:s.length;return H?(c=v||c===n?1:it(c),Qn(s,c<0?0:c,H)):[]}function jN(s,c,v){var H=s==null?0:s.length;return H?(c=v||c===n?1:it(c),c=H-c,Qn(s,0,c<0?0:c)):[]}function BN(s,c){return s&&s.length?Ul(s,Ge(c,3),!0,!0):[]}function RN(s,c){return s&&s.length?Ul(s,Ge(c,3),!0):[]}function DN(s,c,v,H){var ee=s==null?0:s.length;return ee?(v&&typeof v!="number"&&yn(s,c,v)&&(v=0,H=ee),A1(s,c,v,H)):[]}function yg(s,c,v){var H=s==null?0:s.length;if(!H)return-1;var ee=v==null?0:it(v);return ee<0&&(ee=Xt(H+ee,0)),Tl(s,Ge(c,3),ee)}function gg(s,c,v){var H=s==null?0:s.length;if(!H)return-1;var ee=H-1;return v!==n&&(ee=it(v),ee=v<0?Xt(H+ee,0):dn(ee,H-1)),Tl(s,Ge(c,3),ee,!0)}function bg(s){var c=s==null?0:s.length;return c?on(s,1):[]}function xN(s){var c=s==null?0:s.length;return c?on(s,w):[]}function UN(s,c){var v=s==null?0:s.length;return v?(c=c===n?1:it(c),on(s,c)):[]}function JN(s){for(var c=-1,v=s==null?0:s.length,H={};++c<v;){var ee=s[c];H[ee[0]]=ee[1]}return H}function Tg(s){return s&&s.length?s[0]:n}function zN(s,c,v){var H=s==null?0:s.length;if(!H)return-1;var ee=v==null?0:it(v);return ee<0&&(ee=Xt(H+ee,0)),Ys(s,c,ee)}function WN(s){var c=s==null?0:s.length;return c?Qn(s,0,-1):[]}var GN=at(function(s){var c=Pt(s,Rf);return c.length&&c[0]===s[0]?Of(c):[]}),qN=at(function(s){var c=Xn(s),v=Pt(s,Rf);return c===Xn(v)?c=n:v.pop(),v.length&&v[0]===s[0]?Of(v,Ge(c,2)):[]}),HN=at(function(s){var c=Xn(s),v=Pt(s,Rf);return c=typeof c=="function"?c:n,c&&v.pop(),v.length&&v[0]===s[0]?Of(v,n,c):[]});function VN(s,c){return s==null?"":WL.call(s,c)}function Xn(s){var c=s==null?0:s.length;return c?s[c-1]:n}function KN(s,c,v){var H=s==null?0:s.length;if(!H)return-1;var ee=H;return v!==n&&(ee=it(v),ee=ee<0?Xt(H+ee,0):dn(ee,H-1)),c===c?OL(s,c,ee):Tl(s,$m,ee,!0)}function ZN(s,c){return s&&s.length?Ay(s,it(c)):n}var QN=at(Sg);function Sg(s,c){return s&&s.length&&c&&c.length?Ff(s,c):s}function XN(s,c,v){return s&&s.length&&c&&c.length?Ff(s,c,Ge(v,2)):s}function YN(s,c,v){return s&&s.length&&c&&c.length?Ff(s,c,n,v):s}var $N=Xi(function(s,c){var v=s==null?0:s.length,H=_f(s,c);return Iy(s,Pt(c,function(ee){return Yi(ee,v)?+ee:ee}).sort(Wy)),H});function ek(s,c){var v=[];if(!(s&&s.length))return v;var H=-1,ee=[],se=s.length;for(c=Ge(c,3);++H<se;){var pe=s[H];c(pe,H,s)&&(v.push(pe),ee.push(H))}return Iy(s,ee),v}function Xf(s){return s==null?s:VL.call(s)}function tk(s,c,v){var H=s==null?0:s.length;return H?(v&&typeof v!="number"&&yn(s,c,v)?(c=0,v=H):(c=c==null?0:it(c),v=v===n?H:it(v)),Qn(s,c,v)):[]}function nk(s,c){return xl(s,c)}function ik(s,c,v){return Mf(s,c,Ge(v,2))}function rk(s,c){var v=s==null?0:s.length;if(v){var H=xl(s,c);if(H<v&&fi(s[H],c))return H}return-1}function sk(s,c){return xl(s,c,!0)}function ok(s,c,v){return Mf(s,c,Ge(v,2),!0)}function ak(s,c){var v=s==null?0:s.length;if(v){var H=xl(s,c,!0)-1;if(fi(s[H],c))return H}return-1}function lk(s){return s&&s.length?jy(s):[]}function uk(s,c){return s&&s.length?jy(s,Ge(c,2)):[]}function ck(s){var c=s==null?0:s.length;return c?Qn(s,1,c):[]}function fk(s,c,v){return s&&s.length?(c=v||c===n?1:it(c),Qn(s,0,c<0?0:c)):[]}function dk(s,c,v){var H=s==null?0:s.length;return H?(c=v||c===n?1:it(c),c=H-c,Qn(s,c<0?0:c,H)):[]}function hk(s,c){return s&&s.length?Ul(s,Ge(c,3),!1,!0):[]}function pk(s,c){return s&&s.length?Ul(s,Ge(c,3)):[]}var mk=at(function(s){return Er(on(s,1,Gt,!0))}),yk=at(function(s){var c=Xn(s);return Gt(c)&&(c=n),Er(on(s,1,Gt,!0),Ge(c,2))}),gk=at(function(s){var c=Xn(s);return c=typeof c=="function"?c:n,Er(on(s,1,Gt,!0),n,c)});function bk(s){return s&&s.length?Er(s):[]}function Tk(s,c){return s&&s.length?Er(s,Ge(c,2)):[]}function Sk(s,c){return c=typeof c=="function"?c:n,s&&s.length?Er(s,n,c):[]}function Yf(s){if(!(s&&s.length))return[];var c=0;return s=_r(s,function(v){if(Gt(v))return c=Xt(v.length,c),!0}),mf(c,function(v){return Pt(s,df(v))})}function vg(s,c){if(!(s&&s.length))return[];var v=Yf(s);return c==null?v:Pt(v,function(H){return jn(c,n,H)})}var vk=at(function(s,c){return Gt(s)?ua(s,c):[]}),wk=at(function(s){return Bf(_r(s,Gt))}),_k=at(function(s){var c=Xn(s);return Gt(c)&&(c=n),Bf(_r(s,Gt),Ge(c,2))}),Lk=at(function(s){var c=Xn(s);return c=typeof c=="function"?c:n,Bf(_r(s,Gt),n,c)}),Nk=at(Yf);function kk(s,c){return xy(s||[],c||[],la)}function Ok(s,c){return xy(s||[],c||[],da)}var Ek=at(function(s){var c=s.length,v=c>1?s[c-1]:n;return v=typeof v=="function"?(s.pop(),v):n,vg(s,v)});function wg(s){var c=re(s);return c.__chain__=!0,c}function Ck(s,c){return c(s),s}function Zl(s,c){return c(s)}var Ak=Xi(function(s){var c=s.length,v=c?s[0]:0,H=this.__wrapped__,ee=function(se){return _f(se,s)};return c>1||this.__actions__.length||!(H instanceof ht)||!Yi(v)?this.thru(ee):(H=H.slice(v,+v+(c?1:0)),H.__actions__.push({func:Zl,args:[ee],thisArg:n}),new Kn(H,this.__chain__).thru(function(se){return c&&!se.length&&se.push(n),se}))});function Fk(){return wg(this)}function Pk(){return new Kn(this.value(),this.__chain__)}function Ik(){this.__values__===n&&(this.__values__=Bg(this.value()));var s=this.__index__>=this.__values__.length,c=s?n:this.__values__[this.__index__++];return{done:s,value:c}}function Mk(){return this}function jk(s){for(var c,v=this;v instanceof Ml;){var H=mg(v);H.__index__=0,H.__values__=n,c?ee.__wrapped__=H:c=H;var ee=H;v=v.__wrapped__}return ee.__wrapped__=s,c}function Bk(){var s=this.__wrapped__;if(s instanceof ht){var c=s;return this.__actions__.length&&(c=new ht(this)),c=c.reverse(),c.__actions__.push({func:Zl,args:[Xf],thisArg:n}),new Kn(c,this.__chain__)}return this.thru(Xf)}function Rk(){return Dy(this.__wrapped__,this.__actions__)}var Dk=Jl(function(s,c,v){wt.call(s,v)?++s[v]:Zi(s,v,1)});function xk(s,c,v){var H=$e(s)?Xm:C1;return v&&yn(s,c,v)&&(c=n),H(s,Ge(c,3))}function Uk(s,c){var v=$e(s)?_r:vy;return v(s,Ge(c,3))}var Jk=Zy(yg),zk=Zy(gg);function Wk(s,c){return on(Ql(s,c),1)}function Gk(s,c){return on(Ql(s,c),w)}function qk(s,c,v){return v=v===n?1:it(v),on(Ql(s,c),v)}function _g(s,c){var v=$e(s)?Hn:Or;return v(s,Ge(c,3))}function Lg(s,c){var v=$e(s)?cL:Sy;return v(s,Ge(c,3))}var Hk=Jl(function(s,c,v){wt.call(s,v)?s[v].push(c):Zi(s,v,[c])});function Vk(s,c,v,H){s=_n(s)?s:co(s),v=v&&!H?it(v):0;var ee=s.length;return v<0&&(v=Xt(ee+v,0)),tu(s)?v<=ee&&s.indexOf(c,v)>-1:!!ee&&Ys(s,c,v)>-1}var Kk=at(function(s,c,v){var H=-1,ee=typeof c=="function",se=_n(s)?ke(s.length):[];return Or(s,function(pe){se[++H]=ee?jn(c,pe,v):ca(pe,c,v)}),se}),Zk=Jl(function(s,c,v){Zi(s,v,c)});function Ql(s,c){var v=$e(s)?Pt:Oy;return v(s,Ge(c,3))}function Qk(s,c,v,H){return s==null?[]:($e(c)||(c=c==null?[]:[c]),v=H?n:v,$e(v)||(v=v==null?[]:[v]),Fy(s,c,v))}var Xk=Jl(function(s,c,v){s[v?0:1].push(c)},function(){return[[],[]]});function Yk(s,c,v){var H=$e(s)?cf:ty,ee=arguments.length<3;return H(s,Ge(c,4),v,ee,Or)}function $k(s,c,v){var H=$e(s)?fL:ty,ee=arguments.length<3;return H(s,Ge(c,4),v,ee,Sy)}function eO(s,c){var v=$e(s)?_r:vy;return v(s,$l(Ge(c,3)))}function tO(s){var c=$e(s)?yy:V1;return c(s)}function nO(s,c,v){(v?yn(s,c,v):c===n)?c=1:c=it(c);var H=$e(s)?L1:K1;return H(s,c)}function iO(s){var c=$e(s)?N1:Q1;return c(s)}function rO(s){if(s==null)return 0;if(_n(s))return tu(s)?eo(s):s.length;var c=hn(s);return c==fe||c==ve?s.size:Cf(s).length}function sO(s,c,v){var H=$e(s)?ff:X1;return v&&yn(s,c,v)&&(c=n),H(s,Ge(c,3))}var oO=at(function(s,c){if(s==null)return[];var v=c.length;return v>1&&yn(s,c[0],c[1])?c=[]:v>2&&yn(c[0],c[1],c[2])&&(c=[c[0]]),Fy(s,on(c,1),[])}),Xl=UL||function(){return sn.Date.now()};function aO(s,c){if(typeof c!="function")throw new Vn(l);return s=it(s),function(){if(--s<1)return c.apply(this,arguments)}}function Ng(s,c,v){return c=v?n:c,c=s&&c==null?s.length:c,Qi(s,A,n,n,n,n,c)}function kg(s,c){var v;if(typeof c!="function")throw new Vn(l);return s=it(s),function(){return--s>0&&(v=c.apply(this,arguments)),s<=1&&(c=n),v}}var $f=at(function(s,c,v){var H=C;if(v.length){var ee=Nr(v,lo($f));H|=U}return Qi(s,H,c,v,ee)}),Og=at(function(s,c,v){var H=C|J;if(v.length){var ee=Nr(v,lo(Og));H|=U}return Qi(c,H,s,v,ee)});function Eg(s,c,v){c=v?n:c;var H=Qi(s,G,n,n,n,n,n,c);return H.placeholder=Eg.placeholder,H}function Cg(s,c,v){c=v?n:c;var H=Qi(s,K,n,n,n,n,n,c);return H.placeholder=Cg.placeholder,H}function Ag(s,c,v){var H,ee,se,pe,ge,we,Ce=0,Ae=!1,Pe=!1,De=!0;if(typeof s!="function")throw new Vn(l);c=Yn(c)||0,Rt(v)&&(Ae=!!v.leading,Pe="maxWait"in v,se=Pe?Xt(Yn(v.maxWait)||0,c):se,De="trailing"in v?!!v.trailing:De);function Je(qt){var di=H,tr=ee;return H=ee=n,Ce=qt,pe=s.apply(tr,di),pe}function Ve(qt){return Ce=qt,ge=ma(ft,c),Ae?Je(qt):pe}function st(qt){var di=qt-we,tr=qt-Ce,Zg=c-di;return Pe?dn(Zg,se-tr):Zg}function Ke(qt){var di=qt-we,tr=qt-Ce;return we===n||di>=c||di<0||Pe&&tr>=se}function ft(){var qt=Xl();if(Ke(qt))return pt(qt);ge=ma(ft,st(qt))}function pt(qt){return ge=n,De&&H?Je(qt):(H=ee=n,pe)}function xn(){ge!==n&&Uy(ge),Ce=0,H=we=ee=ge=n}function gn(){return ge===n?pe:pt(Xl())}function Un(){var qt=Xl(),di=Ke(qt);if(H=arguments,ee=this,we=qt,di){if(ge===n)return Ve(we);if(Pe)return Uy(ge),ge=ma(ft,c),Je(we)}return ge===n&&(ge=ma(ft,c)),pe}return Un.cancel=xn,Un.flush=gn,Un}var lO=at(function(s,c){return Ty(s,1,c)}),uO=at(function(s,c,v){return Ty(s,Yn(c)||0,v)});function cO(s){return Qi(s,_)}function Yl(s,c){if(typeof s!="function"||c!=null&&typeof c!="function")throw new Vn(l);var v=function(){var H=arguments,ee=c?c.apply(this,H):H[0],se=v.cache;if(se.has(ee))return se.get(ee);var pe=s.apply(this,H);return v.cache=se.set(ee,pe)||se,pe};return v.cache=new(Yl.Cache||Ki),v}Yl.Cache=Ki;function $l(s){if(typeof s!="function")throw new Vn(l);return function(){var c=arguments;switch(c.length){case 0:return!s.call(this);case 1:return!s.call(this,c[0]);case 2:return!s.call(this,c[0],c[1]);case 3:return!s.call(this,c[0],c[1],c[2])}return!s.apply(this,c)}}function fO(s){return kg(2,s)}var dO=Y1(function(s,c){c=c.length==1&&$e(c[0])?Pt(c[0],Bn(Ge())):Pt(on(c,1),Bn(Ge()));var v=c.length;return at(function(H){for(var ee=-1,se=dn(H.length,v);++ee<se;)H[ee]=c[ee].call(this,H[ee]);return jn(s,this,H)})}),ed=at(function(s,c){var v=Nr(c,lo(ed));return Qi(s,U,n,c,v)}),Fg=at(function(s,c){var v=Nr(c,lo(Fg));return Qi(s,R,n,c,v)}),hO=Xi(function(s,c){return Qi(s,b,n,n,n,c)});function pO(s,c){if(typeof s!="function")throw new Vn(l);return c=c===n?c:it(c),at(s,c)}function mO(s,c){if(typeof s!="function")throw new Vn(l);return c=c==null?0:Xt(it(c),0),at(function(v){var H=v[c],ee=Ar(v,0,c);return H&&Lr(ee,H),jn(s,this,ee)})}function yO(s,c,v){var H=!0,ee=!0;if(typeof s!="function")throw new Vn(l);return Rt(v)&&(H="leading"in v?!!v.leading:H,ee="trailing"in v?!!v.trailing:ee),Ag(s,c,{leading:H,maxWait:c,trailing:ee})}function gO(s){return Ng(s,1)}function bO(s,c){return ed(Df(c),s)}function TO(){if(!arguments.length)return[];var s=arguments[0];return $e(s)?s:[s]}function SO(s){return Zn(s,k)}function vO(s,c){return c=typeof c=="function"?c:n,Zn(s,k,c)}function wO(s){return Zn(s,O|k)}function _O(s,c){return c=typeof c=="function"?c:n,Zn(s,O|k,c)}function LO(s,c){return c==null||by(s,c,nn(c))}function fi(s,c){return s===c||s!==s&&c!==c}var NO=ql(kf),kO=ql(function(s,c){return s>=c}),fs=Ly(function(){return arguments}())?Ly:function(s){return Dt(s)&&wt.call(s,"callee")&&!cy.call(s,"callee")},$e=ke.isArray,OO=qm?Bn(qm):j1;function _n(s){return s!=null&&eu(s.length)&&!$i(s)}function Gt(s){return Dt(s)&&_n(s)}function EO(s){return s===!0||s===!1||Dt(s)&&mn(s)==$}var Fr=zL||fd,CO=Hm?Bn(Hm):B1;function AO(s){return Dt(s)&&s.nodeType===1&&!ya(s)}function FO(s){if(s==null)return!0;if(_n(s)&&($e(s)||typeof s=="string"||typeof s.splice=="function"||Fr(s)||uo(s)||fs(s)))return!s.length;var c=hn(s);if(c==fe||c==ve)return!s.size;if(pa(s))return!Cf(s).length;for(var v in s)if(wt.call(s,v))return!1;return!0}function PO(s,c){return fa(s,c)}function IO(s,c,v){v=typeof v=="function"?v:n;var H=v?v(s,c):n;return H===n?fa(s,c,n,v):!!H}function td(s){if(!Dt(s))return!1;var c=mn(s);return c==Te||c==ce||typeof s.message=="string"&&typeof s.name=="string"&&!ya(s)}function MO(s){return typeof s=="number"&&dy(s)}function $i(s){if(!Rt(s))return!1;var c=mn(s);return c==Ne||c==le||c==te||c==ie}function Pg(s){return typeof s=="number"&&s==it(s)}function eu(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=N}function Rt(s){var c=typeof s;return s!=null&&(c=="object"||c=="function")}function Dt(s){return s!=null&&typeof s=="object"}var Ig=Vm?Bn(Vm):D1;function jO(s,c){return s===c||Ef(s,c,qf(c))}function BO(s,c,v){return v=typeof v=="function"?v:n,Ef(s,c,qf(c),v)}function RO(s){return Mg(s)&&s!=+s}function DO(s){if(vN(s))throw new Ye(u);return Ny(s)}function xO(s){return s===null}function UO(s){return s==null}function Mg(s){return typeof s=="number"||Dt(s)&&mn(s)==_e}function ya(s){if(!Dt(s)||mn(s)!=M)return!1;var c=Ol(s);if(c===null)return!0;var v=wt.call(c,"constructor")&&c.constructor;return typeof v=="function"&&v instanceof v&&_l.call(v)==BL}var nd=Km?Bn(Km):x1;function JO(s){return Pg(s)&&s>=-N&&s<=N}var jg=Zm?Bn(Zm):U1;function tu(s){return typeof s=="string"||!$e(s)&&Dt(s)&&mn(s)==be}function Dn(s){return typeof s=="symbol"||Dt(s)&&mn(s)==Me}var uo=Qm?Bn(Qm):J1;function zO(s){return s===n}function WO(s){return Dt(s)&&hn(s)==he}function GO(s){return Dt(s)&&mn(s)==ye}var qO=ql(Af),HO=ql(function(s,c){return s<=c});function Bg(s){if(!s)return[];if(_n(s))return tu(s)?ui(s):wn(s);if(ia&&s[ia])return LL(s[ia]());var c=hn(s),v=c==fe?gf:c==ve?Sl:co;return v(s)}function er(s){if(!s)return s===0?s:0;if(s=Yn(s),s===w||s===-w){var c=s<0?-1:1;return c*F}return s===s?s:0}function it(s){var c=er(s),v=c%1;return c===c?v?c-v:c:0}function Rg(s){return s?as(it(s),0,W):0}function Yn(s){if(typeof s=="number")return s;if(Dn(s))return B;if(Rt(s)){var c=typeof s.valueOf=="function"?s.valueOf():s;s=Rt(c)?c+"":c}if(typeof s!="string")return s===0?s:+s;s=ny(s);var v=Hi.test(s);return v||C_.test(s)?aL(s.slice(2),v?2:8):ns.test(s)?B:+s}function Dg(s){return _i(s,Ln(s))}function VO(s){return s?as(it(s),-N,N):s===0?s:0}function vt(s){return s==null?"":Rn(s)}var KO=oo(function(s,c){if(pa(c)||_n(c)){_i(c,nn(c),s);return}for(var v in c)wt.call(c,v)&&la(s,v,c[v])}),xg=oo(function(s,c){_i(c,Ln(c),s)}),nu=oo(function(s,c,v,H){_i(c,Ln(c),s,H)}),ZO=oo(function(s,c,v,H){_i(c,nn(c),s,H)}),QO=Xi(_f);function XO(s,c){var v=so(s);return c==null?v:gy(v,c)}var YO=at(function(s,c){s=kt(s);var v=-1,H=c.length,ee=H>2?c[2]:n;for(ee&&yn(c[0],c[1],ee)&&(H=1);++v<H;)for(var se=c[v],pe=Ln(se),ge=-1,we=pe.length;++ge<we;){var Ce=pe[ge],Ae=s[Ce];(Ae===n||fi(Ae,no[Ce])&&!wt.call(s,Ce))&&(s[Ce]=se[Ce])}return s}),$O=at(function(s){return s.push(n,ng),jn(Ug,n,s)});function eE(s,c){return Ym(s,Ge(c,3),wi)}function tE(s,c){return Ym(s,Ge(c,3),Nf)}function nE(s,c){return s==null?s:Lf(s,Ge(c,3),Ln)}function iE(s,c){return s==null?s:wy(s,Ge(c,3),Ln)}function rE(s,c){return s&&wi(s,Ge(c,3))}function sE(s,c){return s&&Nf(s,Ge(c,3))}function oE(s){return s==null?[]:Rl(s,nn(s))}function aE(s){return s==null?[]:Rl(s,Ln(s))}function id(s,c,v){var H=s==null?n:ls(s,c);return H===n?v:H}function lE(s,c){return s!=null&&sg(s,c,F1)}function rd(s,c){return s!=null&&sg(s,c,P1)}var uE=Xy(function(s,c,v){c!=null&&typeof c.toString!="function"&&(c=Ll.call(c)),s[c]=v},od(Nn)),cE=Xy(function(s,c,v){c!=null&&typeof c.toString!="function"&&(c=Ll.call(c)),wt.call(s,c)?s[c].push(v):s[c]=[v]},Ge),fE=at(ca);function nn(s){return _n(s)?my(s):Cf(s)}function Ln(s){return _n(s)?my(s,!0):z1(s)}function dE(s,c){var v={};return c=Ge(c,3),wi(s,function(H,ee,se){Zi(v,c(H,ee,se),H)}),v}function hE(s,c){var v={};return c=Ge(c,3),wi(s,function(H,ee,se){Zi(v,ee,c(H,ee,se))}),v}var pE=oo(function(s,c,v){Dl(s,c,v)}),Ug=oo(function(s,c,v,H){Dl(s,c,v,H)}),mE=Xi(function(s,c){var v={};if(s==null)return v;var H=!1;c=Pt(c,function(se){return se=Cr(se,s),H||(H=se.length>1),se}),_i(s,Wf(s),v),H&&(v=Zn(v,O|I|k,uN));for(var ee=c.length;ee--;)jf(v,c[ee]);return v});function yE(s,c){return Jg(s,$l(Ge(c)))}var gE=Xi(function(s,c){return s==null?{}:G1(s,c)});function Jg(s,c){if(s==null)return{};var v=Pt(Wf(s),function(H){return[H]});return c=Ge(c),Py(s,v,function(H,ee){return c(H,ee[0])})}function bE(s,c,v){c=Cr(c,s);var H=-1,ee=c.length;for(ee||(ee=1,s=n);++H<ee;){var se=s==null?n:s[Li(c[H])];se===n&&(H=ee,se=v),s=$i(se)?se.call(s):se}return s}function TE(s,c,v){return s==null?s:da(s,c,v)}function SE(s,c,v,H){return H=typeof H=="function"?H:n,s==null?s:da(s,c,v,H)}var zg=eg(nn),Wg=eg(Ln);function vE(s,c,v){var H=$e(s),ee=H||Fr(s)||uo(s);if(c=Ge(c,4),v==null){var se=s&&s.constructor;ee?v=H?new se:[]:Rt(s)?v=$i(se)?so(Ol(s)):{}:v={}}return(ee?Hn:wi)(s,function(pe,ge,we){return c(v,pe,ge,we)}),v}function wE(s,c){return s==null?!0:jf(s,c)}function _E(s,c,v){return s==null?s:Ry(s,c,Df(v))}function LE(s,c,v,H){return H=typeof H=="function"?H:n,s==null?s:Ry(s,c,Df(v),H)}function co(s){return s==null?[]:yf(s,nn(s))}function NE(s){return s==null?[]:yf(s,Ln(s))}function kE(s,c,v){return v===n&&(v=c,c=n),v!==n&&(v=Yn(v),v=v===v?v:0),c!==n&&(c=Yn(c),c=c===c?c:0),as(Yn(s),c,v)}function OE(s,c,v){return c=er(c),v===n?(v=c,c=0):v=er(v),s=Yn(s),I1(s,c,v)}function EE(s,c,v){if(v&&typeof v!="boolean"&&yn(s,c,v)&&(c=v=n),v===n&&(typeof c=="boolean"?(v=c,c=n):typeof s=="boolean"&&(v=s,s=n)),s===n&&c===n?(s=0,c=1):(s=er(s),c===n?(c=s,s=0):c=er(c)),s>c){var H=s;s=c,c=H}if(v||s%1||c%1){var ee=hy();return dn(s+ee*(c-s+oL("1e-"+((ee+"").length-1))),c)}return Pf(s,c)}var CE=ao(function(s,c,v){return c=c.toLowerCase(),s+(v?Gg(c):c)});function Gg(s){return sd(vt(s).toLowerCase())}function qg(s){return s=vt(s),s&&s.replace(F_,TL).replace(Q_,"")}function AE(s,c,v){s=vt(s),c=Rn(c);var H=s.length;v=v===n?H:as(it(v),0,H);var ee=v;return v-=c.length,v>=0&&s.slice(v,ee)==c}function FE(s){return s=vt(s),s&&Bt.test(s)?s.replace(Ze,SL):s}function PE(s){return s=vt(s),s&&tn.test(s)?s.replace(Ue,"\\$&"):s}var IE=ao(function(s,c,v){return s+(v?"-":"")+c.toLowerCase()}),ME=ao(function(s,c,v){return s+(v?" ":"")+c.toLowerCase()}),jE=Ky("toLowerCase");function BE(s,c,v){s=vt(s),c=it(c);var H=c?eo(s):0;if(!c||H>=c)return s;var ee=(c-H)/2;return Gl(Fl(ee),v)+s+Gl(Al(ee),v)}function RE(s,c,v){s=vt(s),c=it(c);var H=c?eo(s):0;return c&&H<c?s+Gl(c-H,v):s}function DE(s,c,v){s=vt(s),c=it(c);var H=c?eo(s):0;return c&&H<c?Gl(c-H,v)+s:s}function xE(s,c,v){return v||c==null?c=0:c&&(c=+c),HL(vt(s).replace(fn,""),c||0)}function UE(s,c,v){return(v?yn(s,c,v):c===n)?c=1:c=it(c),If(vt(s),c)}function JE(){var s=arguments,c=vt(s[0]);return s.length<3?c:c.replace(s[1],s[2])}var zE=ao(function(s,c,v){return s+(v?"_":"")+c.toLowerCase()});function WE(s,c,v){return v&&typeof v!="number"&&yn(s,c,v)&&(c=v=n),v=v===n?W:v>>>0,v?(s=vt(s),s&&(typeof c=="string"||c!=null&&!nd(c))&&(c=Rn(c),!c&&$s(s))?Ar(ui(s),0,v):s.split(c,v)):[]}var GE=ao(function(s,c,v){return s+(v?" ":"")+sd(c)});function qE(s,c,v){return s=vt(s),v=v==null?0:as(it(v),0,s.length),c=Rn(c),s.slice(v,v+c.length)==c}function HE(s,c,v){var H=re.templateSettings;v&&yn(s,c,v)&&(c=n),s=vt(s),c=nu({},c,H,tg);var ee=nu({},c.imports,H.imports,tg),se=nn(ee),pe=yf(ee,se),ge,we,Ce=0,Ae=c.interpolate||ml,Pe="__p += '",De=bf((c.escape||ml).source+"|"+Ae.source+"|"+(Ae===ae?ta:ml).source+"|"+(c.evaluate||ml).source+"|$","g"),Je="//# sourceURL="+(wt.call(c,"sourceURL")?(c.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tL+"]")+`
|
|
906
|
+
`;s.replace(De,function(Ke,ft,pt,xn,gn,Un){return pt||(pt=xn),Pe+=s.slice(Ce,Un).replace(P_,vL),ft&&(ge=!0,Pe+=`' +
|
|
907
|
+
__e(`+ft+`) +
|
|
908
|
+
'`),gn&&(we=!0,Pe+=`';
|
|
909
|
+
`+gn+`;
|
|
910
|
+
__p += '`),pt&&(Pe+=`' +
|
|
911
|
+
((__t = (`+pt+`)) == null ? '' : __t) +
|
|
912
|
+
'`),Ce=Un+Ke.length,Ke}),Pe+=`';
|
|
913
|
+
`;var Ve=wt.call(c,"variable")&&c.variable;if(!Ve)Pe=`with (obj) {
|
|
914
|
+
`+Pe+`
|
|
915
|
+
}
|
|
916
|
+
`;else if(pl.test(Ve))throw new Ye(d);Pe=(we?Pe.replace(ct,""):Pe).replace(Mn,"$1").replace(We,"$1;"),Pe="function("+(Ve||"obj")+`) {
|
|
917
|
+
`+(Ve?"":`obj || (obj = {});
|
|
918
|
+
`)+"var __t, __p = ''"+(ge?", __e = _.escape":"")+(we?`, __j = Array.prototype.join;
|
|
919
|
+
function print() { __p += __j.call(arguments, '') }
|
|
920
|
+
`:`;
|
|
921
|
+
`)+Pe+`return __p
|
|
922
|
+
}`;var st=Vg(function(){return Tt(se,Je+"return "+Pe).apply(n,pe)});if(st.source=Pe,td(st))throw st;return st}function VE(s){return vt(s).toLowerCase()}function KE(s){return vt(s).toUpperCase()}function ZE(s,c,v){if(s=vt(s),s&&(v||c===n))return ny(s);if(!s||!(c=Rn(c)))return s;var H=ui(s),ee=ui(c),se=iy(H,ee),pe=ry(H,ee)+1;return Ar(H,se,pe).join("")}function QE(s,c,v){if(s=vt(s),s&&(v||c===n))return s.slice(0,oy(s)+1);if(!s||!(c=Rn(c)))return s;var H=ui(s),ee=ry(H,ui(c))+1;return Ar(H,0,ee).join("")}function XE(s,c,v){if(s=vt(s),s&&(v||c===n))return s.replace(fn,"");if(!s||!(c=Rn(c)))return s;var H=ui(s),ee=iy(H,ui(c));return Ar(H,ee).join("")}function YE(s,c){var v=L,H=g;if(Rt(c)){var ee="separator"in c?c.separator:ee;v="length"in c?it(c.length):v,H="omission"in c?Rn(c.omission):H}s=vt(s);var se=s.length;if($s(s)){var pe=ui(s);se=pe.length}if(v>=se)return s;var ge=v-eo(H);if(ge<1)return H;var we=pe?Ar(pe,0,ge).join(""):s.slice(0,ge);if(ee===n)return we+H;if(pe&&(ge+=we.length-ge),nd(ee)){if(s.slice(ge).search(ee)){var Ce,Ae=we;for(ee.global||(ee=bf(ee.source,vt(Qs.exec(ee))+"g")),ee.lastIndex=0;Ce=ee.exec(Ae);)var Pe=Ce.index;we=we.slice(0,Pe===n?ge:Pe)}}else if(s.indexOf(Rn(ee),ge)!=ge){var De=we.lastIndexOf(ee);De>-1&&(we=we.slice(0,De))}return we+H}function $E(s){return s=vt(s),s&&Qe.test(s)?s.replace(Xe,EL):s}var eC=ao(function(s,c,v){return s+(v?" ":"")+c.toUpperCase()}),sd=Ky("toUpperCase");function Hg(s,c,v){return s=vt(s),c=v?n:c,c===n?_L(s)?FL(s):pL(s):s.match(c)||[]}var Vg=at(function(s,c){try{return jn(s,n,c)}catch(v){return td(v)?v:new Ye(v)}}),tC=Xi(function(s,c){return Hn(c,function(v){v=Li(v),Zi(s,v,$f(s[v],s))}),s});function nC(s){var c=s==null?0:s.length,v=Ge();return s=c?Pt(s,function(H){if(typeof H[1]!="function")throw new Vn(l);return[v(H[0]),H[1]]}):[],at(function(H){for(var ee=-1;++ee<c;){var se=s[ee];if(jn(se[0],this,H))return jn(se[1],this,H)}})}function iC(s){return E1(Zn(s,O))}function od(s){return function(){return s}}function rC(s,c){return s==null||s!==s?c:s}var sC=Qy(),oC=Qy(!0);function Nn(s){return s}function ad(s){return ky(typeof s=="function"?s:Zn(s,O))}function aC(s){return Ey(Zn(s,O))}function lC(s,c){return Cy(s,Zn(c,O))}var uC=at(function(s,c){return function(v){return ca(v,s,c)}}),cC=at(function(s,c){return function(v){return ca(s,v,c)}});function ld(s,c,v){var H=nn(c),ee=Rl(c,H);v==null&&!(Rt(c)&&(ee.length||!H.length))&&(v=c,c=s,s=this,ee=Rl(c,nn(c)));var se=!(Rt(v)&&"chain"in v)||!!v.chain,pe=$i(s);return Hn(ee,function(ge){var we=c[ge];s[ge]=we,pe&&(s.prototype[ge]=function(){var Ce=this.__chain__;if(se||Ce){var Ae=s(this.__wrapped__),Pe=Ae.__actions__=wn(this.__actions__);return Pe.push({func:we,args:arguments,thisArg:s}),Ae.__chain__=Ce,Ae}return we.apply(s,Lr([this.value()],arguments))})}),s}function fC(){return sn._===this&&(sn._=RL),this}function ud(){}function dC(s){return s=it(s),at(function(c){return Ay(c,s)})}var hC=Uf(Pt),pC=Uf(Xm),mC=Uf(ff);function Kg(s){return Vf(s)?df(Li(s)):q1(s)}function yC(s){return function(c){return s==null?n:ls(s,c)}}var gC=Yy(),bC=Yy(!0);function cd(){return[]}function fd(){return!1}function TC(){return{}}function SC(){return""}function vC(){return!0}function wC(s,c){if(s=it(s),s<1||s>N)return[];var v=W,H=dn(s,W);c=Ge(c),s-=W;for(var ee=mf(H,c);++v<s;)c(v);return ee}function _C(s){return $e(s)?Pt(s,Li):Dn(s)?[s]:wn(pg(vt(s)))}function LC(s){var c=++jL;return vt(s)+c}var NC=Wl(function(s,c){return s+c},0),kC=Jf("ceil"),OC=Wl(function(s,c){return s/c},1),EC=Jf("floor");function CC(s){return s&&s.length?Bl(s,Nn,kf):n}function AC(s,c){return s&&s.length?Bl(s,Ge(c,2),kf):n}function FC(s){return ey(s,Nn)}function PC(s,c){return ey(s,Ge(c,2))}function IC(s){return s&&s.length?Bl(s,Nn,Af):n}function MC(s,c){return s&&s.length?Bl(s,Ge(c,2),Af):n}var jC=Wl(function(s,c){return s*c},1),BC=Jf("round"),RC=Wl(function(s,c){return s-c},0);function DC(s){return s&&s.length?pf(s,Nn):0}function xC(s,c){return s&&s.length?pf(s,Ge(c,2)):0}return re.after=aO,re.ary=Ng,re.assign=KO,re.assignIn=xg,re.assignInWith=nu,re.assignWith=ZO,re.at=QO,re.before=kg,re.bind=$f,re.bindAll=tC,re.bindKey=Og,re.castArray=TO,re.chain=wg,re.chunk=EN,re.compact=CN,re.concat=AN,re.cond=nC,re.conforms=iC,re.constant=od,re.countBy=Dk,re.create=XO,re.curry=Eg,re.curryRight=Cg,re.debounce=Ag,re.defaults=YO,re.defaultsDeep=$O,re.defer=lO,re.delay=uO,re.difference=FN,re.differenceBy=PN,re.differenceWith=IN,re.drop=MN,re.dropRight=jN,re.dropRightWhile=BN,re.dropWhile=RN,re.fill=DN,re.filter=Uk,re.flatMap=Wk,re.flatMapDeep=Gk,re.flatMapDepth=qk,re.flatten=bg,re.flattenDeep=xN,re.flattenDepth=UN,re.flip=cO,re.flow=sC,re.flowRight=oC,re.fromPairs=JN,re.functions=oE,re.functionsIn=aE,re.groupBy=Hk,re.initial=WN,re.intersection=GN,re.intersectionBy=qN,re.intersectionWith=HN,re.invert=uE,re.invertBy=cE,re.invokeMap=Kk,re.iteratee=ad,re.keyBy=Zk,re.keys=nn,re.keysIn=Ln,re.map=Ql,re.mapKeys=dE,re.mapValues=hE,re.matches=aC,re.matchesProperty=lC,re.memoize=Yl,re.merge=pE,re.mergeWith=Ug,re.method=uC,re.methodOf=cC,re.mixin=ld,re.negate=$l,re.nthArg=dC,re.omit=mE,re.omitBy=yE,re.once=fO,re.orderBy=Qk,re.over=hC,re.overArgs=dO,re.overEvery=pC,re.overSome=mC,re.partial=ed,re.partialRight=Fg,re.partition=Xk,re.pick=gE,re.pickBy=Jg,re.property=Kg,re.propertyOf=yC,re.pull=QN,re.pullAll=Sg,re.pullAllBy=XN,re.pullAllWith=YN,re.pullAt=$N,re.range=gC,re.rangeRight=bC,re.rearg=hO,re.reject=eO,re.remove=ek,re.rest=pO,re.reverse=Xf,re.sampleSize=nO,re.set=TE,re.setWith=SE,re.shuffle=iO,re.slice=tk,re.sortBy=oO,re.sortedUniq=lk,re.sortedUniqBy=uk,re.split=WE,re.spread=mO,re.tail=ck,re.take=fk,re.takeRight=dk,re.takeRightWhile=hk,re.takeWhile=pk,re.tap=Ck,re.throttle=yO,re.thru=Zl,re.toArray=Bg,re.toPairs=zg,re.toPairsIn=Wg,re.toPath=_C,re.toPlainObject=Dg,re.transform=vE,re.unary=gO,re.union=mk,re.unionBy=yk,re.unionWith=gk,re.uniq=bk,re.uniqBy=Tk,re.uniqWith=Sk,re.unset=wE,re.unzip=Yf,re.unzipWith=vg,re.update=_E,re.updateWith=LE,re.values=co,re.valuesIn=NE,re.without=vk,re.words=Hg,re.wrap=bO,re.xor=wk,re.xorBy=_k,re.xorWith=Lk,re.zip=Nk,re.zipObject=kk,re.zipObjectDeep=Ok,re.zipWith=Ek,re.entries=zg,re.entriesIn=Wg,re.extend=xg,re.extendWith=nu,ld(re,re),re.add=NC,re.attempt=Vg,re.camelCase=CE,re.capitalize=Gg,re.ceil=kC,re.clamp=kE,re.clone=SO,re.cloneDeep=wO,re.cloneDeepWith=_O,re.cloneWith=vO,re.conformsTo=LO,re.deburr=qg,re.defaultTo=rC,re.divide=OC,re.endsWith=AE,re.eq=fi,re.escape=FE,re.escapeRegExp=PE,re.every=xk,re.find=Jk,re.findIndex=yg,re.findKey=eE,re.findLast=zk,re.findLastIndex=gg,re.findLastKey=tE,re.floor=EC,re.forEach=_g,re.forEachRight=Lg,re.forIn=nE,re.forInRight=iE,re.forOwn=rE,re.forOwnRight=sE,re.get=id,re.gt=NO,re.gte=kO,re.has=lE,re.hasIn=rd,re.head=Tg,re.identity=Nn,re.includes=Vk,re.indexOf=zN,re.inRange=OE,re.invoke=fE,re.isArguments=fs,re.isArray=$e,re.isArrayBuffer=OO,re.isArrayLike=_n,re.isArrayLikeObject=Gt,re.isBoolean=EO,re.isBuffer=Fr,re.isDate=CO,re.isElement=AO,re.isEmpty=FO,re.isEqual=PO,re.isEqualWith=IO,re.isError=td,re.isFinite=MO,re.isFunction=$i,re.isInteger=Pg,re.isLength=eu,re.isMap=Ig,re.isMatch=jO,re.isMatchWith=BO,re.isNaN=RO,re.isNative=DO,re.isNil=UO,re.isNull=xO,re.isNumber=Mg,re.isObject=Rt,re.isObjectLike=Dt,re.isPlainObject=ya,re.isRegExp=nd,re.isSafeInteger=JO,re.isSet=jg,re.isString=tu,re.isSymbol=Dn,re.isTypedArray=uo,re.isUndefined=zO,re.isWeakMap=WO,re.isWeakSet=GO,re.join=VN,re.kebabCase=IE,re.last=Xn,re.lastIndexOf=KN,re.lowerCase=ME,re.lowerFirst=jE,re.lt=qO,re.lte=HO,re.max=CC,re.maxBy=AC,re.mean=FC,re.meanBy=PC,re.min=IC,re.minBy=MC,re.stubArray=cd,re.stubFalse=fd,re.stubObject=TC,re.stubString=SC,re.stubTrue=vC,re.multiply=jC,re.nth=ZN,re.noConflict=fC,re.noop=ud,re.now=Xl,re.pad=BE,re.padEnd=RE,re.padStart=DE,re.parseInt=xE,re.random=EE,re.reduce=Yk,re.reduceRight=$k,re.repeat=UE,re.replace=JE,re.result=bE,re.round=BC,re.runInContext=Se,re.sample=tO,re.size=rO,re.snakeCase=zE,re.some=sO,re.sortedIndex=nk,re.sortedIndexBy=ik,re.sortedIndexOf=rk,re.sortedLastIndex=sk,re.sortedLastIndexBy=ok,re.sortedLastIndexOf=ak,re.startCase=GE,re.startsWith=qE,re.subtract=RC,re.sum=DC,re.sumBy=xC,re.template=HE,re.times=wC,re.toFinite=er,re.toInteger=it,re.toLength=Rg,re.toLower=VE,re.toNumber=Yn,re.toSafeInteger=VO,re.toString=vt,re.toUpper=KE,re.trim=ZE,re.trimEnd=QE,re.trimStart=XE,re.truncate=YE,re.unescape=$E,re.uniqueId=LC,re.upperCase=eC,re.upperFirst=sd,re.each=_g,re.eachRight=Lg,re.first=Tg,ld(re,function(){var s={};return wi(re,function(c,v){wt.call(re.prototype,v)||(s[v]=c)}),s}(),{chain:!1}),re.VERSION=i,Hn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){re[s].placeholder=re}),Hn(["drop","take"],function(s,c){ht.prototype[s]=function(v){v=v===n?1:Xt(it(v),0);var H=this.__filtered__&&!c?new ht(this):this.clone();return H.__filtered__?H.__takeCount__=dn(v,H.__takeCount__):H.__views__.push({size:dn(v,W),type:s+(H.__dir__<0?"Right":"")}),H},ht.prototype[s+"Right"]=function(v){return this.reverse()[s](v).reverse()}}),Hn(["filter","map","takeWhile"],function(s,c){var v=c+1,H=v==o||v==h;ht.prototype[s]=function(ee){var se=this.clone();return se.__iteratees__.push({iteratee:Ge(ee,3),type:v}),se.__filtered__=se.__filtered__||H,se}}),Hn(["head","last"],function(s,c){var v="take"+(c?"Right":"");ht.prototype[s]=function(){return this[v](1).value()[0]}}),Hn(["initial","tail"],function(s,c){var v="drop"+(c?"":"Right");ht.prototype[s]=function(){return this.__filtered__?new ht(this):this[v](1)}}),ht.prototype.compact=function(){return this.filter(Nn)},ht.prototype.find=function(s){return this.filter(s).head()},ht.prototype.findLast=function(s){return this.reverse().find(s)},ht.prototype.invokeMap=at(function(s,c){return typeof s=="function"?new ht(this):this.map(function(v){return ca(v,s,c)})}),ht.prototype.reject=function(s){return this.filter($l(Ge(s)))},ht.prototype.slice=function(s,c){s=it(s);var v=this;return v.__filtered__&&(s>0||c<0)?new ht(v):(s<0?v=v.takeRight(-s):s&&(v=v.drop(s)),c!==n&&(c=it(c),v=c<0?v.dropRight(-c):v.take(c-s)),v)},ht.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},ht.prototype.toArray=function(){return this.take(W)},wi(ht.prototype,function(s,c){var v=/^(?:filter|find|map|reject)|While$/.test(c),H=/^(?:head|last)$/.test(c),ee=re[H?"take"+(c=="last"?"Right":""):c],se=H||/^find/.test(c);ee&&(re.prototype[c]=function(){var pe=this.__wrapped__,ge=H?[1]:arguments,we=pe instanceof ht,Ce=ge[0],Ae=we||$e(pe),Pe=function(ft){var pt=ee.apply(re,Lr([ft],ge));return H&&De?pt[0]:pt};Ae&&v&&typeof Ce=="function"&&Ce.length!=1&&(we=Ae=!1);var De=this.__chain__,Je=!!this.__actions__.length,Ve=se&&!De,st=we&&!Je;if(!se&&Ae){pe=st?pe:new ht(this);var Ke=s.apply(pe,ge);return Ke.__actions__.push({func:Zl,args:[Pe],thisArg:n}),new Kn(Ke,De)}return Ve&&st?s.apply(this,ge):(Ke=this.thru(Pe),Ve?H?Ke.value()[0]:Ke.value():Ke)})}),Hn(["pop","push","shift","sort","splice","unshift"],function(s){var c=vl[s],v=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",H=/^(?:pop|shift)$/.test(s);re.prototype[s]=function(){var ee=arguments;if(H&&!this.__chain__){var se=this.value();return c.apply($e(se)?se:[],ee)}return this[v](function(pe){return c.apply($e(pe)?pe:[],ee)})}}),wi(ht.prototype,function(s,c){var v=re[c];if(v){var H=v.name+"";wt.call(ro,H)||(ro[H]=[]),ro[H].push({name:c,func:v})}}),ro[zl(n,J).name]=[{name:"wrapper",func:n}],ht.prototype.clone=$L,ht.prototype.reverse=e1,ht.prototype.value=t1,re.prototype.at=Ak,re.prototype.chain=Fk,re.prototype.commit=Pk,re.prototype.next=Ik,re.prototype.plant=jk,re.prototype.reverse=Bk,re.prototype.toJSON=re.prototype.valueOf=re.prototype.value=Rk,re.prototype.first=re.prototype.head,ia&&(re.prototype[ia]=Mk),re},to=PL();is?((is.exports=to)._=to,af._=to):sn._=to}).call(Fe)})(Hu,Hu.exports);var GM=Hu.exports;(function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(U,R,A,b){b===void 0&&(b=A);var _=Object.getOwnPropertyDescriptor(R,A);(!_||("get"in _?!R.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return R[A]}}),Object.defineProperty(U,b,_)}:function(U,R,A,b){b===void 0&&(b=A),U[b]=R[A]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(U,R){Object.defineProperty(U,"default",{enumerable:!0,value:R})}:function(U,R){U.default=R}),i=Fe&&Fe.__importStar||function(U){if(U&&U.__esModule)return U;var R={};if(U!=null)for(var A in U)A!=="default"&&Object.prototype.hasOwnProperty.call(U,A)&&t(R,U,A);return n(R,U),R};Object.defineProperty(e,"__esModule",{value:!0}),e.PhpRenderer=e.phpNameStyle=e.stringEscape=e.PhpTargetLanguage=e.phpOptions=void 0;const r=jt,u=Et,l=qe,d=dt,y=et,T=Tr(),S=St(),O=Ie,I=Lt,k=ot(),P=i(GM);e.phpOptions={withGet:new d.BooleanOption("with-get","Create Getter",!0),fastGet:new d.BooleanOption("fast-get","getter without validation",!1),withSet:new d.BooleanOption("with-set","Create Setter",!1),withClosing:new d.BooleanOption("with-closing","PHP Closing Tag",!1),acronymStyle:(0,T.acronymOption)(T.AcronymStyleOptions.Pascal)};class m extends I.TargetLanguage{constructor(){super("PHP",["php"],"php")}getOptions(){return P.values(e.phpOptions)}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(R,A){const b=(0,d.getOptionValues)(e.phpOptions,A);return new K(this,R,b)}get stringTypeMapping(){const R=new Map;return R.set("date","date"),R.set("time","time"),R.set("uuid","uuid"),R.set("date-time","date-time"),R}}e.PhpTargetLanguage=m,e.stringEscape=(0,S.utf16ConcatMap)((0,S.escapeNonPrintableMapper)(S.isAscii,S.standardUnicodeHexEscape));function C(U){return U===95?!0:(0,S.isAscii)(U)&&(0,S.isLetter)(U)}function J(U){return C(U)||(0,S.isAscii)(U)&&(0,S.isDigit)(U)}const x=(0,S.utf16LegalizeCharacters)(J);function G(U,R,A,b=S.allUpperWordStyle){const _=(0,S.splitIntoWords)(A);return(0,S.combineWords)(_,x,R?S.allUpperWordStyle:U?S.firstUpperWordStyle:S.allLowerWordStyle,R?S.allUpperWordStyle:S.firstUpperWordStyle,R||U?S.allUpperWordStyle:S.allLowerWordStyle,b,R?"_":"",C)}e.phpNameStyle=G;class K extends u.ConvenienceRenderer{constructor(R,A,b){super(R,A),this._options=b,this._gettersAndSettersForPropertyName=new Map,this._haveEmittedLeadingComments=!1,this._converterClassname="Converter",this._converterKeywords=[]}forbiddenForObjectProperties(R,A){return{names:[],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return this.getNameStyling("typeNamingFunction")}namerForObjectProperty(){return this.getNameStyling("propertyNamingFunction")}makeUnionMemberNamer(){return this.getNameStyling("propertyNamingFunction")}makeEnumCaseNamer(){return this.getNameStyling("enumCaseNamingFunction")}unionNeedsName(R){return(0,k.nullableFromUnion)(R)===null}namedTypeToNameForTopLevel(R){return(0,k.directlyReachableSingleNamedType)(R)}makeNamesForPropertyGetterAndSetter(R,A,b,_,L){const g=new l.DependencyName(this.getNameStyling("propertyNamingFunction"),L.order,w=>`get_${w(L)}`),p=new l.DependencyName(this.getNameStyling("propertyNamingFunction"),L.order,w=>`set_${w(L)}`),a=new l.DependencyName(this.getNameStyling("propertyNamingFunction"),L.order,w=>`validate_${w(L)}`),o=new l.DependencyName(this.getNameStyling("propertyNamingFunction"),L.order,w=>`from_${w(L)}`),f=new l.DependencyName(this.getNameStyling("propertyNamingFunction"),L.order,w=>`to_${w(L)}`),h=new l.DependencyName(this.getNameStyling("propertyNamingFunction"),L.order,w=>`sample_${w(L)}`);return{getter:g,setter:p,validate:a,from:o,to:f,sample:h}}makePropertyDependencyNames(R,A,b,_,L){const g=this.makeNamesForPropertyGetterAndSetter(R,A,b,_,L);return this._gettersAndSettersForPropertyName.set(L,g),[g.getter,g.setter,g.validate,g.to,g.from,g.sample]}getNameStyling(R){return{typeNamingFunction:(0,l.funPrefixNamer)("types",b=>G(!0,!1,b,(0,T.acronymStyle)(this._options.acronymStyle))),propertyNamingFunction:(0,l.funPrefixNamer)("properties",b=>G(!1,!1,b,(0,T.acronymStyle)(this._options.acronymStyle))),enumCaseNamingFunction:(0,l.funPrefixNamer)("enum-cases",b=>G(!0,!0,b,(0,T.acronymStyle)(this._options.acronymStyle)))}[R]}startFile(R){this.ensureBlankLine(),!this._haveEmittedLeadingComments&&this.leadingComments!==void 0&&(this.emitComments(this.leadingComments),this.ensureBlankLine(),this._haveEmittedLeadingComments=!0)}finishFile(){}emitFileHeader(R,A){this.startFile(R),this.emitLine("// This is a autogenerated file:",R),this.ensureBlankLine()}emitDescriptionBlock(R){this.emitCommentLines(R,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(R,A){this.emitLine(R," {"),this.indent(A),this.emitLine("}")}phpType(R,A,b=!1,_="?",L=""){function g(p){return[b?_:"",p,b?L:""]}return(0,k.matchType)(A,p=>(0,y.maybeAnnotated)(b,r.anyTypeIssueAnnotation,"Object"),p=>(0,y.maybeAnnotated)(b,r.nullTypeIssueAnnotation,"Object"),p=>g("bool"),p=>g("int"),p=>g("float"),p=>g("string"),p=>g("array"),p=>g(this.nameForNamedType(p)),p=>g("stdClass"),p=>g(this.nameForNamedType(p)),p=>{const a=(0,k.nullableFromUnion)(p);return a!==null?this.phpType(!0,a,!0,_,L):this.nameForNamedType(p)},p=>{if(p.kind==="time")throw Error('transformedStringType.kind === "time"');if(p.kind==="date")throw Error('transformedStringType.kind === "date"');if(p.kind==="date-time")return"DateTime";if(p.kind==="uuid")throw Error('transformedStringType.kind === "uuid"');return"string"})}phpDocConvertType(R,A){return(0,k.matchType)(A,b=>"any",b=>"null",b=>"bool",b=>"int",b=>"float",b=>"string",b=>[this.phpDocConvertType(R,b.items),"[]"],b=>b.getCombinedName(),b=>"stdClass",b=>this.nameForNamedType(b),b=>{const _=(0,k.nullableFromUnion)(b);if(_!==null)return[this.phpDocConvertType(R,_),"|null"];throw Error("union are not supported")},b=>{if(b.kind==="date-time")return"DateTime";throw Error('transformedStringType.kind === "unknown"')})}phpConvertType(R,A){return(0,k.matchType)(A,b=>"any",b=>"null",b=>"bool",b=>"int",b=>"float",b=>"string",b=>"array",b=>"stdClass",b=>"stdClass",b=>"string",b=>{const _=(0,k.nullableFromUnion)(b);if(_!==null)return["?",this.phpConvertType(R,_)];throw Error("union are not supported")},b=>{if(b.kind==="date-time")return"string";throw Error('transformedStringType.kind === "unknown"')})}phpToObjConvert(R,A,b,_){return(0,k.matchType)(A,L=>this.emitLine(...b,..._,"; /*any*/"),L=>this.emitLine(...b,..._,"; /*null*/"),L=>this.emitLine(...b,..._,"; /*bool*/"),L=>this.emitLine(...b,..._,"; /*int*/"),L=>this.emitLine(...b,..._,"; /*float*/"),L=>this.emitLine(...b,..._,"; /*string*/"),L=>{this.emitLine(...b,"array_map(function ($value) {"),this.indent(()=>{this.phpToObjConvert(R,L.items,["return "],["$value"])}),this.emitLine("}, ",..._,");")},L=>this.emitLine(...b,..._,"->to(); ","/*class*/"),L=>{this.emitBlock(["function to($my): stdClass"],()=>{this.emitLine("$out = new stdClass();"),this.emitBlock(["foreach ($my as $k => $v)"],()=>{this.phpToObjConvert(R,L.values,["$my->$k = "],["$v"])}),this.emitLine("return $out;")}),this.emitLine("return to(",..._,");")},L=>this.emitLine(...b,this.nameForNamedType(L),"::to(",..._,"); ","/*enum*/"),L=>{const g=(0,k.nullableFromUnion)(L);if(g!==null){this.emitLine("if (!is_null(",..._,")) {"),this.indent(()=>this.phpToObjConvert(R,g,b,_)),this.emitLine("} else {"),this.indent(()=>this.emitLine(...b," null;")),this.emitLine("}");return}throw Error("union are not supported")},L=>{if(L.kind==="date-time"){this.emitLine(...b,..._,"->format(DateTimeInterface::ISO8601);");return}throw Error('transformedStringType.kind === "unknown"')})}transformDateTime(R,A,b){this.emitBlock(["if (!is_a(",b,", 'DateTime'))"],()=>this.emitLine("throw new Exception('Attribute Error:",R,"::",A,"');"))}phpFromObjConvert(R,A,b,_){return(0,k.matchType)(A,L=>this.emitLine(...b,..._,"; /*any*/"),L=>this.emitLine(...b,..._,"; /*null*/"),L=>this.emitLine(...b,..._,"; /*bool*/"),L=>this.emitLine(...b,..._,"; /*int*/"),L=>this.emitLine(...b,..._,"; /*float*/"),L=>this.emitLine(...b,..._,"; /*string*/"),L=>{this.emitLine(...b," array_map(function ($value) {"),this.indent(()=>{this.phpFromObjConvert(R,L.items,["return "],["$value"])}),this.emitLine("}, ",..._,");")},L=>this.emitLine(...b,this.nameForNamedType(L),"::from(",..._,"); ","/*class*/"),L=>{this.emitBlock(["function from($my): stdClass"],()=>{this.emitLine("$out = new stdClass();"),this.emitBlock(["foreach ($my as $k => $v)"],()=>{this.phpFromObjConvert(R,L.values,["$out->$k = "],["$v"])}),this.emitLine("return $out;")}),this.emitLine("return from(",..._,");")},L=>this.emitLine(...b,this.nameForNamedType(L),"::from(",..._,"); ","/*enum*/"),L=>{const g=(0,k.nullableFromUnion)(L);if(g!==null){this.emitLine("if (!is_null(",..._,")) {"),this.indent(()=>this.phpFromObjConvert(R,g,b,_)),this.emitLine("} else {"),this.indent(()=>this.emitLine("return null;")),this.emitLine("}");return}throw Error("union are not supported")},L=>{if(L.kind==="date-time"){this.emitLine("$tmp = ","DateTime::createFromFormat(DateTimeInterface::ISO8601, ",_,");"),this.transformDateTime(R,"",["$tmp"]),this.emitLine("return $tmp;");return}throw Error('transformedStringType.kind === "unknown"')})}phpSampleConvert(R,A,b,_,L,g){return(0,k.matchType)(A,p=>this.emitLine(...b,"'AnyType::",R,"::",_,"::"+L,"'",g,"/*",""+L,":",_,"*/"),p=>this.emitLine(...b,"null",g," /*",""+L,":",_,"*/"),p=>this.emitLine(...b,"true",g," /*",""+L,":",_,"*/"),p=>this.emitLine(...b,""+L,g," /*",""+L,":",_,"*/"),p=>this.emitLine(...b,""+(L+L/1e3),g," /*",""+L,":",_,"*/"),p=>this.emitLine(...b,"'",R,"::",_,"::"+L,"'",g," /*",""+L,":",_,"*/"),p=>{this.emitLine(...b," array("),this.indent(()=>{this.phpSampleConvert(R,p.items,[],[],L,"")}),this.emitLine("); /* ",""+L,":",_,"*/")},p=>this.emitLine(...b,this.nameForNamedType(p),"::sample()",g," /*",""+L,":",_,"*/"),p=>{this.emitBlock(["function sample(): stdClass"],()=>{this.emitLine("$out = new stdClass();"),this.phpSampleConvert(R,p.values,["$out->{'",R,"'} = "],_,L,";"),this.emitLine("return $out;")}),this.emitLine("return sample();")},p=>this.emitLine(...b,this.nameForNamedType(p),"::sample()",g," /*enum*/"),p=>{const a=(0,k.nullableFromUnion)(p);if(a!==null){this.phpSampleConvert(R,a,b,_,L,g);return}throw Error("union are not supported:"+p)},p=>{if(p.kind==="date-time"){const a=P.pad(""+(1+L%31),2,"0");this.emitLine(...b,"DateTime::createFromFormat(DateTimeInterface::ISO8601, '",`2020-12-${a}T12:${a}:${a}+00:00`,"')",g);return}throw Error('transformedStringType.kind === "unknown"')})}phpValidate(R,A,b,_){const L=(g,p=R)=>{this.emitBlock(["if (!",g,"(",_,"))"],()=>this.emitLine('throw new Exception("Attribute Error:',p,"::",b,'");'))};return(0,k.matchType)(A,g=>L("defined"),g=>L("is_null"),g=>L("is_bool"),g=>L("is_integer"),g=>L("is_float"),g=>L("is_string"),g=>{L("is_array"),this.emitLine("array_walk(",_,", function(",_,"_v) {"),this.indent(()=>{this.phpValidate(R,g.items,b,`${_}_v`)}),this.emitLine("});")},g=>{this.emitLine(_,"->validate();")},g=>{this.emitLine("foreach (",_," as $k => $v) {"),this.indent(()=>{this.phpValidate(R,g.values,b,"$v")}),this.emitLine("}")},g=>{this.emitLine(this.phpType(!1,g),"::to(",_,");")},g=>{const p=(0,k.nullableFromUnion)(g);if(p!==null){this.emitBlock(["if (!is_null(",_,"))"],()=>{this.phpValidate(R,p,b,_)});return}throw Error("not implemented")},g=>{if(g.kind==="date-time"){this.transformDateTime(R,b,[_]);return}throw Error(`transformedStringType.kind === ${g.kind}`)})}emitFromMethod(R,A,b,_,L){this.emitLine("/**"),L!==void 0&&(this.emitLine(" * ",L),this.emitLine(" *")),this.emitLine(" * @param ",this.phpConvertType(b,A.type)," $value"),this.emitLine(" * @throws Exception"),this.emitLine(" * @return ",this.phpType(!1,A.type)),this.emitLine(" */"),this.emitBlock(["public static function ",R.from,"(",this.phpConvertType(b,A.type)," $value): ",this.phpType(!1,A.type)],()=>{this.phpFromObjConvert(b,A.type,["return "],["$value"])})}emitToMethod(R,A,b,_,L){this.emitLine("/**"),L!==void 0&&(this.emitLine(" * ",L),this.emitLine(" *")),this.emitLine(" * @throws Exception"),this.emitLine(" * @return ",this.phpConvertType(b,A.type)),this.emitLine(" */"),this.emitBlock(["public function ",R.to,"(): ",this.phpConvertType(b,A.type)],()=>{this.emitBlock(["if (",b,"::",R.validate,"($this->",_,")) "],()=>{this.phpToObjConvert(b,A.type,["return "],["$this->",_])}),this.emitLine("throw new Exception('never get to this ",b,"::",_,"');")})}emitValidateMethod(R,A,b,_,L){this.emitLine("/**"),L!==void 0&&(this.emitLine(" * ",L),this.emitLine(" *")),this.emitLine(" * @param ",this.phpType(!1,A.type,!1,"","|null")),this.emitLine(" * @return bool"),this.emitLine(" * @throws Exception"),this.emitLine(" */"),this.emitBlock(["public static function ",R.validate,"(",this.phpType(!1,A.type)," $value): bool"],()=>{this.phpValidate(b,A.type,_,"$value"),this.emitLine("return true;")})}emitGetMethod(R,A,b,_,L){if(this._options.withGet){this.emitLine("/**"),L!==void 0&&(this.emitLine(" * ",L),this.emitLine(" *")),this._options.fastGet||this.emitLine(" * @throws Exception");const g=this.phpType(!1,A.type);this.emitLine(" * @return ",g),this.emitLine(" */"),this.emitBlock(["public function ",R.getter,"(): ",g],()=>{this._options.fastGet?this.emitLine("return $this->",_,";"):(this.emitBlock(["if (",b,"::",R.validate,"($this->",_,")) "],()=>{this.emitLine("return $this->",_,";")}),this.emitLine("throw new Exception('never get to ",R.getter," ",b,"::",_,"');"))})}}emitSetMethod(R,A,b,_,L){this._options.withSet&&(this.emitLine("/**"),L!==void 0&&(this.emitLine(" * ",L),this.emitLine(" *")),this.emitLine(" * @param ",this.phpType(!1,A.type,!1,"","|null")),this.emitLine(" * @throws Exception"),this.emitLine(" */"),this.emitBlock(["public function ",R.setter,"(",this.phpType(!1,A.type)," $value)"],()=>{this.emitBlock(["if (",b,"::",R.validate,"($value)) "],()=>{this.emitLine("$this->",_," = $value;")})}))}emitSampleMethod(R,A,b,_,L,g){if(this._options.withGet){this.emitLine("/**"),L!==void 0&&(this.emitLine(" * ",L),this.emitLine(" *"));const p=this.phpType(!1,A.type);this.emitLine(" * @return ",p),this.emitLine(" */"),this.emitBlock(["public static function ",R.sample,"(): ",p],()=>{this.phpSampleConvert(b,A.type,["return "],[_],g,";")})}}emitClassDefinition(R,A){this.emitFileHeader(A,[]),this.emitBlock(["class ",A],()=>{this.forEachClassProperty(R,"none",(p,a,o)=>{this.emitLine("private ",this.phpType(!1,o.type)," $",p,"; // json:",a," ",o.type.isNullable?"Optional":"Required")}),this.ensureBlankLine();const b=[],_=[];let L="";this.forEachClassProperty(R,"none",(p,a,o)=>{_.push([L,this.phpType(!1,o.type)," $",p]),L=", ",b.push([" * @param ",this.phpType(!1,o.type,!1,"","|null")," $",p,`
|
|
923
|
+
`])}),this.emitBlock([`/**
|
|
924
|
+
`,...b,` */
|
|
925
|
+
`,"public function __construct(",..._,")"],()=>{this.forEachClassProperty(R,"none",p=>{this.emitLine("$this->",p," = $",p,";")})});let g=31;this.forEachClassProperty(R,"leading-and-interposing",(p,a,o)=>{const f=this.descriptionForClassProperty(R,a),h=(0,O.defined)(this._gettersAndSettersForPropertyName.get(p));this.ensureBlankLine(),this.emitFromMethod(h,o,A,p,f),this.ensureBlankLine(),this.emitToMethod(h,o,A,p,f),this.ensureBlankLine(),this.emitValidateMethod(h,o,A,p,f),this.ensureBlankLine(),this.emitGetMethod(h,o,A,p,f),this.ensureBlankLine(),this.emitSetMethod(h,o,A,p,f),this.ensureBlankLine(),this.emitSampleMethod(h,o,A,p,f,g++)}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
926
|
+
`,` * @throws Exception
|
|
927
|
+
`,` * @return bool
|
|
928
|
+
`,` */
|
|
929
|
+
`,"public function validate(): bool"],()=>{let p=[],a="return ";this.forEachClassProperty(R,"none",(o,f,h)=>{const w=(0,O.defined)(this._gettersAndSettersForPropertyName.get(o));p.push([a,A,"::",w.validate,"($this->",o,")"]),a="|| "}),p.forEach((o,f)=>{this.emitLine(...o,p.length===f+1?";":"")})}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
930
|
+
`,` * @return stdClass
|
|
931
|
+
`,` * @throws Exception
|
|
932
|
+
`,` */
|
|
933
|
+
`,"public function to(): stdClass "],()=>{this.emitLine("$out = new stdClass();"),this.forEachClassProperty(R,"none",(p,a)=>{const o=(0,O.defined)(this._gettersAndSettersForPropertyName.get(p));this.emitLine("$out->{'",a,"'} = $this->",o.to,"();")}),this.emitLine("return $out;")}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
934
|
+
`,` * @param stdClass $obj
|
|
935
|
+
`," * @return ",A,`
|
|
936
|
+
`,` * @throws Exception
|
|
937
|
+
`,` */
|
|
938
|
+
`,"public static function from(stdClass $obj): ",A],()=>{this._options.fastGet&&this.forEachClassProperty(R,"none",a=>{const o=(0,O.defined)(this._gettersAndSettersForPropertyName.get(a));this.emitLine(A,"::",o.validate,"($this->",a,", true);")}),this.emitLine("return new ",A,"(");let p=" ";this.forEachClassProperty(R,"none",(a,o)=>{const f=(0,O.defined)(this._gettersAndSettersForPropertyName.get(a));this.emitLine(p,A,"::",f.from,"($obj->{'",o,"'})"),p=","}),this.emitLine(");")}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
939
|
+
`," * @return ",A,`
|
|
940
|
+
`,` */
|
|
941
|
+
`,"public static function sample(): ",A],()=>{this.emitLine("return new ",A,"(");let p=" ";this.forEachClassProperty(R,"none",a=>{const o=(0,O.defined)(this._gettersAndSettersForPropertyName.get(a));this.emitLine(p,A,"::",o.sample,"()"),p=","}),this.emitLine(");")})}),this.finishFile()}emitUnionAttributes(R,A){}emitUnionSerializer(R,A){}emitUnionDefinition(R,A){throw Error("emitUnionDefinition not implemented")}emitEnumSerializationAttributes(R){}emitEnumDeserializationAttributes(R){}emitEnumDefinition(R,A){this.emitFileHeader(A,[]),this.emitDescription(this.descriptionForType(R));const b="string";this.emitBlock(["class ",A],()=>{this.forEachEnumCase(R,"none",(_,L)=>{this.emitLine("public static ",A," $",_,";")}),this.emitBlock("public static function init()",()=>{this.forEachEnumCase(R,"none",(_,L)=>{this.emitLine(A,"::$",_," = new ",A,"('",L,"');")})}),this.emitLine("private ",b," $enum;"),this.emitBlock(["public function __construct(",b," $enum)"],()=>{this.emitLine("$this->enum = $enum;")}),this.ensureBlankLine(),this.emitEnumSerializationAttributes(R),this.emitBlock([`/**
|
|
942
|
+
`," * @param ",A,`
|
|
943
|
+
`," * @return ",b,`
|
|
944
|
+
`,` * @throws Exception
|
|
945
|
+
`,` */
|
|
946
|
+
`,"public static function to(",A," $obj): ",b],()=>{this.emitLine("switch ($obj->enum) {"),this.indent(()=>{this.forEachEnumCase(R,"none",(_,L)=>{this.emitLine("case ",A,"::$",_,"->enum: return '",(0,e.stringEscape)(L),"';")})}),this.emitLine("}"),this.emitLine("throw new Exception('the give value is not an enum-value.');")}),this.ensureBlankLine(),this.emitEnumDeserializationAttributes(R),this.emitBlock([`/**
|
|
947
|
+
`,` * @param mixed
|
|
948
|
+
`," * @return ",A,`
|
|
949
|
+
`,` * @throws Exception
|
|
950
|
+
`,` */
|
|
951
|
+
`,"public static function from($obj): ",A],()=>{this.emitLine("switch ($obj) {"),this.indent(()=>{this.forEachEnumCase(R,"none",(_,L)=>{this.emitLine("case '",(0,e.stringEscape)(L),"': return ",A,"::$",_,";")})}),this.emitLine("}"),this.emitLine('throw new Exception("Cannot deserialize ',A,'");')}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
952
|
+
`," * @return ",A,`
|
|
953
|
+
`,` */
|
|
954
|
+
`,"public static function sample(): ",A],()=>{const _=[];this.forEachEnumCase(R,"none",L=>{_.push([A,"::$",L])}),this.emitLine("return ",_[0],";")})}),this.emitLine(A,"::init();"),this.finishFile()}emitSourceStructure(R){this.emitLine("<?php"),this.forEachNamedType("leading-and-interposing",(A,b)=>this.emitClassDefinition(A,b),(A,b)=>this.emitEnumDefinition(A,b),(A,b)=>this.emitUnionDefinition(A,b)),this._options.withClosing&&this.emitLine("?>"),super.finishFile((0,O.defined)(R))}}e.PhpRenderer=K})(ew);var tw={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.TypeScriptEffectSchemaRenderer=e.TypeScriptEffectSchemaTargetLanguage=e.typeScriptEffectSchemaOptions=void 0;const t=He,n=lt(),i=ot(),r=qe,u=dt,l=Tr(),d=St(),y=Lt,T=qs,S=Ie,O=Et;e.typeScriptEffectSchemaOptions={justSchema:new u.BooleanOption("just-schema","Schema only",!1)};class I extends y.TargetLanguage{getOptions(){return[]}constructor(m="TypeScript Effect Schema",C=["typescript-effect-schema"],J="ts"){super(m,C,J)}makeRenderer(m,C){return new k(this,m,(0,u.getOptionValues)(e.typeScriptEffectSchemaOptions,C))}}e.TypeScriptEffectSchemaTargetLanguage=I;class k extends O.ConvenienceRenderer{constructor(m,C,J){super(m,C),this._options=J,this.emittedObjects=new Set}forbiddenNamesForGlobalNamespace(){return["Class","Date","Object","String","Array","JSON","Error"]}nameStyle(m,C){const J=(0,l.acronymStyle)(l.AcronymStyleOptions.Camel),x=(0,d.splitIntoWords)(m);return(0,d.combineWords)(x,T.legalizeName,C?d.firstUpperWordStyle:d.allLowerWordStyle,d.firstUpperWordStyle,C?G=>(0,d.capitalize)(J(G)):d.allLowerWordStyle,J,"",d.isLetterOrUnderscore)}makeNamedTypeNamer(){return(0,r.funPrefixNamer)("types",m=>this.nameStyle(m,!0))}makeUnionMemberNamer(){return(0,r.funPrefixNamer)("properties",m=>this.nameStyle(m,!0))}namerForObjectProperty(){return(0,r.funPrefixNamer)("properties",m=>this.nameStyle(m,!0))}makeEnumCaseNamer(){return(0,r.funPrefixNamer)("enum-cases",m=>this.nameStyle(m,!1))}importStatement(m,C){return["import ",m," from ",C,";"]}emitImports(){this.ensureBlankLine(),this.emitLine(this.importStatement("* as S",'"@effect/schema/Schema"'))}typeMapTypeForProperty(m){const C=this.typeMapTypeFor(m.type);return m.isOptional?["S.optional(",C,")"]:C}typeMapTypeFor(m,C=!0){if(m.kind==="class"||m.kind==="object"||m.kind==="enum"){const x=this.nameForNamedType(m);return this.emittedObjects.has(x)?[x]:["S.suspend(() => ",x,")"]}const J=(0,i.matchType)(m,x=>"S.Any",x=>"S.Null",x=>"S.Boolean",x=>"S.Number",x=>"S.Number",x=>"S.String",x=>["S.Array(",this.typeMapTypeFor(x.items,!1),")"],x=>(0,S.panic)("Should already be handled."),x=>["S.Record(S.String, ",this.typeMapTypeFor(x.values,!1),")"],x=>(0,S.panic)("Should already be handled."),x=>{const G=Array.from(x.getChildren()).map(K=>this.typeMapTypeFor(K,!1));return["S.Union(",...(0,t.arrayIntercalate)(", ",G),")"]},x=>"S.String");return C?[J]:J}emitObject(m,C){this.emittedObjects.add(m),this.ensureBlankLine(),this.emitLine(`
|
|
955
|
+
export class `,m," extends S.Class<",m,'>("',m,'")({'),this.indent(()=>{this.forEachClassProperty(C,"none",(J,x,G)=>{this.emitLine(`"${(0,d.utf16StringEscape)(x)}"`,": ",this.typeMapTypeForProperty(G),",")})}),this.emitLine("}) {}")}emitEnum(m,C){this.emittedObjects.add(C),this.ensureBlankLine(),this.emitDescription(this.descriptionForType(m)),this.emitLine(`
|
|
956
|
+
export const `,C," = ","S.Literal("),this.indent(()=>this.forEachEnumCase(m,"none",(J,x)=>{this.emitLine('"',(0,d.stringEscape)(x),'",')})),this.emitLine(");"),this._options.justSchema||this.emitLine("export type ",C," = S.Schema.Type<typeof ",C,">;")}walkObjectNames(m){const C=[],J=x=>{if(x.kind==="object"||x.kind==="class")C.push(this.nameForNamedType(x)),this.forEachClassProperty(x,"none",(G,K,U)=>{J(U.type)});else if(x instanceof n.ArrayType)J(x.items);else if(x instanceof n.MapType)J(x.values);else if(x instanceof n.EnumType)for(const G of x.getChildren())J(G)};return this.forEachClassProperty(m,"none",(x,G,K)=>{J(K.type)}),C}emitSchemas(){this.ensureBlankLine(),this.forEachEnum("leading-and-interposing",(x,G)=>{this.emitEnum(x,G)});const m=[],C=[],J=[];this.forEachObject("none",(x,G)=>{C.push(G),J.push(x)}),C.forEach((x,G)=>{let K=0;const U=J[G],R=this.walkObjectNames(U);for(let A=0;A<R.length;A++){const b=R[A];for(let _=0;_<m.length;_++){const L=m[_];C[L]===b&&(K=Math.max(K,L+1))}}m.splice(K,0,G)}),m.forEach(x=>this.emitGatheredSource(this.gatherSource(()=>this.emitObject(C[x],J[x]))))}emitSourceStructure(){this.leadingComments!==void 0&&this.emitComments(this.leadingComments),this.emitImports(),this.emitSchemas()}}e.TypeScriptEffectSchemaRenderer=k})(tw);var sm={};(function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(L,g,p,a){a===void 0&&(a=p);var o=Object.getOwnPropertyDescriptor(g,p);(!o||("get"in o?!g.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return g[p]}}),Object.defineProperty(L,a,o)}:function(L,g,p,a){a===void 0&&(a=p),L[a]=g[p]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(L,g){Object.defineProperty(L,"default",{enumerable:!0,value:g})}:function(L,g){L.default=g}),i=Fe&&Fe.__importStar||function(L){if(L&&L.__esModule)return L;var g={};if(L!=null)for(var p in L)p!=="default"&&Object.prototype.hasOwnProperty.call(L,p)&&t(g,L,p);return n(g,L),g};Object.defineProperty(e,"__esModule",{value:!0}),e.ElixirRenderer=e.ElixirTargetLanguage=e.elixirOptions=void 0;const r=i(Ho),u=qe,l=Et,d=Lt,y=dt,T=lt(),S=ot(),O=St(),I=["Access","Agent","Any","Application","ArgumentError","ArithmeticError","Atom","BadArityError","BadBooleanError","BadFunctionError","BadMapError","BadStructError","Base","Behaviour","Bitwise","Calendar","CaseClauseError","Code","Collectable","CondClauseError","Config","Date","DateTime","Dict","DynamicSupervisor","Enum","ErlangError","Exception","File","Float","Function","FunctionClauseError","GenEvent","GenServer","HashDict","HashSet","IO","Inspect","Integer","Kernel","KeyError","Keyword","List","Macro","Map","MapSet","MatchError","Module","Node","OptionParser","Path","Port","Process","Protocol","Range","Record","Regex","Registry","RuntimeError","Set","Stream","String","StringIO","Supervisor","SyntaxError","System","SystemLimitError","Task","Time","TokenMissingError","Tuple","URI","UndefinedFunctionError","UnicodeConversionError","Version","WithClauseError"],k=["def","defmodule","use","import","alias","true","false","nil","when","and","or","not","in","fn","do","end","catch","rescue","after","else"];function P(L){return`\\u{${(0,O.intToHex)(L,0)}}`}function m(L){return L.charAt(0).toUpperCase()+L.slice(1)}const C=(0,O.utf32ConcatMap)((0,O.escapeNonPrintableMapper)(O.isPrintable,P));function J(L){return L.replace(/"/g,'\\"')}function x(L){return L.replace(/\n/g,"\\n")}e.elixirOptions={justTypes:new y.BooleanOption("just-types","Plain types only",!1),namespace:new y.StringOption("namespace","Specify a module namespace","NAME","")};class G extends d.TargetLanguage{constructor(){super("Elixir",["elixir"],"ex")}getOptions(){return[e.elixirOptions.justTypes,e.elixirOptions.namespace]}get supportsOptionalClassProperties(){return!0}get defaultIndentation(){return" "}makeRenderer(g,p){return new _(this,g,(0,y.getOptionValues)(e.elixirOptions,p))}}e.ElixirTargetLanguage=G;const K=O.isLetterOrUnderscore;function U(L){const g=r.getCategory(L);return["Nd","Pc","Mn","Mc"].indexOf(g)>=0||K(L)}const R=(0,O.legalizeCharacters)(U);function A(L,g){/^[0-9]+$/.test(L)&&(L=`${L}N`);const p=(0,O.splitIntoWords)(L);return(0,O.combineWords)(p,R,g?O.firstUpperWordStyle:O.allLowerWordStyle,g?O.firstUpperWordStyle:O.allLowerWordStyle,O.allUpperWordStyle,O.allUpperWordStyle,"",K)}function b(L){const g=(0,O.splitIntoWords)(L);return(0,O.combineWords)(g,R,O.allLowerWordStyle,O.allLowerWordStyle,O.allLowerWordStyle,O.allLowerWordStyle,"_",K)}class _ extends l.ConvenienceRenderer{constructor(g,p,a){super(g,p),this._options=a}get commentLineStart(){return"# "}get needsTypeDeclarationBeforeUse(){return!0}canBeForwardDeclared(g){return g.kind==="class"}forbiddenNamesForGlobalNamespace(){return[...I,...k.map(g=>m(g))]}forbiddenForObjectProperties(g,p){return{names:k,includeGlobalForbidden:!0}}makeNamedTypeNamer(){return new u.Namer("types",g=>A(g,!0),[])}namerForObjectProperty(){return new u.Namer("properties",b,[])}makeUnionMemberNamer(){return new u.Namer("properties",b,[])}makeEnumCaseNamer(){return new u.Namer("enum-cases",g=>A(g,!0),[])}nameForNamedTypeWithNamespace(g){return this._options.namespace?[this._options.namespace,".",this.nameForNamedType(g)]:[this.nameForNamedType(g)]}nameWithNamespace(g){return this._options.namespace?[this._options.namespace,".",g]:[g]}elixirType(g,p=!1){const a=p?" | nil":"";return(0,S.matchType)(g,o=>["any()",a],o=>["nil"],o=>["boolean()",a],o=>["integer()",a],o=>["float()",a],o=>["String.t()",a],o=>["[",this.elixirType(o.items),"]",a],o=>[this.nameForNamedTypeWithNamespace(o),".t()",a],o=>["%{String.t() => ",this.elixirType(o.values),"}",a],o=>[this.nameForNamedTypeWithNamespace(o),".t()",a],o=>{const f=[...o.getChildren()].map(h=>this.elixirType(h));return[f.flatMap((h,w)=>w===f.length-1?h:[h," | "]),a]})}patternMatchClauseDecode(g,p,a=""){return(0,S.matchType)(g,o=>[],o=>["def decode_",p,a,"(value) when is_nil(value), do: value"],o=>["def decode_",p,a,"(value) when is_boolean(value), do: value"],o=>["def decode_",p,a,"(value) when is_integer(value), do: value"],o=>["def decode_",p,a,`(value) when is_float(value), do: value
|
|
957
|
+
`,"def decode_",p,a,"(value) when is_integer(value), do: value"],o=>["def decode_",p,a,"(value) when is_binary(value), do: value"],o=>["def decode_",p,a,"(value) when is_list(value), do: value"],o=>{const f=[];return this.forEachClassProperty(o,"none",(h,w,N)=>{N.isOptional||f.push(['"',w,'" => _,'])}),["def decode_",p,a,"(%{",f,"} = value), do: ",this.nameForNamedTypeWithNamespace(o),".from_map(value)"]},o=>["def decode_",p,a,"(value) when is_map(value), do: value"],o=>["def decode_",p,a,"(value) when is_binary(value)",", do: ",this.nameForNamedTypeWithNamespace(o),".decode(value)"],o=>[])}patternMatchClauseEncode(g,p,a=""){return(0,S.matchType)(g,o=>[],o=>["def encode_",p,a,"(value) when is_nil(value), do: value"],o=>["def encode_",p,a,"(value) when is_boolean(value), do: value"],o=>["def encode_",p,a,"(value) when is_integer(value), do: value"],o=>["def encode_",p,a,`(value) when is_float(value), do: value
|
|
958
|
+
`,"def encode_",p,a,"(value) when is_integer(value), do: value"],o=>["def encode_",p,a,"(value) when is_binary(value), do: value"],o=>["def encode_",p,a,"(value) when is_list(value), do: value"],o=>(this.forEachClassProperty(o,"none",(f,h,w)=>{w.isOptional}),["def encode_",p,a,"(%",this.nameForNamedTypeWithNamespace(o),"{} = value), do: ",this.nameForNamedTypeWithNamespace(o),".to_map(value)"]),o=>["def encode_",p,a,"(value) when is_map(value), do: value"],o=>["def encode_",p,a,"(value) when is_atom(value)",", do: ",this.nameForNamedTypeWithNamespace(o),".encode(value)"],o=>[])}sortAndFilterPatternMatchTypes(g){return g.filter(p=>!(p instanceof T.UnionType)).sort((p,a)=>p instanceof T.ClassType&&!(a instanceof T.ClassType)?-1:a instanceof T.ClassType&&!(p instanceof T.ClassType)?1:p.kind==="bool"&&a.kind!=="bool"?-1:a.kind==="bool"&&p.kind!=="bool"?1:p instanceof T.EnumType&&!(a instanceof T.EnumType)?-1:a instanceof T.EnumType&&!(p instanceof T.EnumType)?1:p.isPrimitive()&&!a.isPrimitive()?-1:a.isPrimitive()&&!p.isPrimitive()?1:0)}emitPatternMatches(g,p,a,o="",f=!1){this.ensureBlankLine();let h=this.sortAndFilterPatternMatchTypes(g);h.length<2||(h.find(w=>w.kind==="double")&&(h=h.filter(w=>w.kind!=="integer")),h.forEach(w=>{this.emitLine(this.patternMatchClauseDecode(w,p,o))}),f&&!h.find(w=>w.kind==="null")&&this.emitLine("def decode_",p,o,"(value) when is_nil(value), do: value"),this.emitLine("def decode_",p,o,'(_), do: {:error, "Unexpected type when decoding ',a,".",p,'"}'),this.ensureBlankLine(),h.forEach(w=>{this.emitLine(this.patternMatchClauseEncode(w,p,o))}),f&&!h.find(w=>w.kind==="null")&&this.emitLine("def encode_",p,o,"(value) when is_nil(value), do: value"),this.emitLine("def encode_",p,o,'(_), do: {:error, "Unexpected type when encoding ',a,".",p,'"}'),this.ensureBlankLine())}nameOfTransformFunction(g,p,a=!1,o=""){let f="decode";return a&&(f="encode"),(0,S.matchType)(g,h=>[],h=>[],h=>[],h=>[],h=>[],h=>[],h=>[],h=>[this.nameForNamedTypeWithNamespace(h),`.${a?"to":"from"}_map`],h=>[],h=>[this.nameForNamedTypeWithNamespace(h),`.${f}`],h=>[`${f}_`,p,o])}fromDynamic(g,p,a,o=!1){const f=['m["',p,'"]'];return(0,S.matchType)(g,h=>f,h=>f,h=>f,h=>f,h=>f,h=>f,h=>{const w=h.items;return w instanceof T.ArrayType||w.isPrimitive()||w instanceof T.MapType?f:o?["m",'["',p,'"] && Enum.map(m["',p,'"], &',this.nameOfTransformFunction(w,a,!1,"_element"),"/1)"]:['Enum.map(m["',p,'"], &',this.nameOfTransformFunction(w,a,!1,"_element"),"/1)"]},h=>[o?[f," && "]:"",this.nameForNamedTypeWithNamespace(h),".from_map(",f,")"],h=>[...h.values.getChildren()].filter(F=>!(F instanceof T.PrimitiveType)).length===0?[f]:h.values.kind==="union"?['m["',p,`"]
|
|
959
|
+
|> Map.new(fn {key, value} -> {key, `,this.nameOfTransformFunction(h.values,p,!1),"_value(value)} end)"]:h.values instanceof T.EnumType||h.values instanceof T.ClassType?['m["',p,`"]
|
|
960
|
+
|> Map.new(fn {key, value} -> {key, `,this.nameOfTransformFunction(h.values,p,!1),"(value)} end)"]:[f],h=>[o?[f," && "]:"",this.nameOfTransformFunction(h,a),"(",f,")"],h=>{const w=[...h.getChildren()],N=w.filter(B=>B.isPrimitive());if(w.length===N.length)return['m["',p,'"]'];const F=(0,S.nullableFromUnion)(h);return F!==null?F instanceof T.ClassType?this.fromDynamic(F,p,a,!0):[...F.getChildren()].length<2?this.fromDynamic(F,p,a,!0):['m["',p,'"] && decode_',a,'(m["',p,'"])']:["decode_",a,'(m["',p,'"])']})}toDynamic(g,p,a=!1){const o=["struct.",p];return(0,S.matchType)(g,f=>o,f=>o,f=>o,f=>o,f=>o,f=>o,f=>{const h=f.items;return h instanceof T.ArrayType||h.isPrimitive()||h instanceof T.MapType||h.kind==="array"?o:a?["struct.",p," && Enum.map(struct.",p,", &",this.nameOfTransformFunction(h,p,!0,"_element"),"/1)"]:["struct.",p," && Enum.map(struct.",p,", &",this.nameOfTransformFunction(h,p,!0,"_element"),"/1)"]},f=>[a?["struct.",p," && "]:"",this.nameForNamedTypeWithNamespace(f),".to_map(","struct.",p,")"],f=>[...f.values.getChildren()].filter(N=>!(N instanceof T.PrimitiveType)).length===0?[o]:f.values.kind==="union"?["struct.",p,`
|
|
961
|
+
|> Map.new(fn {key, value} -> {key, `,this.nameOfTransformFunction(f.values,p,!0),"_value(value)} end)"]:f.values instanceof T.EnumType||f.values instanceof T.ClassType?["struct.",p,`
|
|
962
|
+
|> Map.new(fn {key, value} -> {key, `,this.nameOfTransformFunction(f.values,p,!0),"(value)} end)"]:[o],f=>[a?["struct.",p," && "]:"",this.nameForNamedTypeWithNamespace(f),".encode(struct.",p,")"],f=>{const h=[...f.getChildren()],w=h.filter(F=>F.isPrimitive());if(h.length===w.length)return["struct.",p];const N=(0,S.nullableFromUnion)(f);return N!==null?N instanceof T.ClassType?this.toDynamic(N,p,!0):[...N.getChildren()].length<2?this.toDynamic(N,p,!0):["struct.",p," && encode_",p,"(struct.",p,")"]:["encode_",p,"(struct.",p,")"]})}emitBlock(g,p){this.emitLine(g),this.indent(p),this.emitLine("end")}emitDescriptionBlock(g){this.emitCommentLines(g,{firstLineStart:`@moduledoc """
|
|
963
|
+
`,lineStart:"",afterComment:'"""'})}emitModule(g,p){this.emitBlock(["defmodule ",this.nameWithNamespace(p)," do"],()=>{var a;const o=(a=this.descriptionForType(g))!==null&&a!==void 0?a:[],f=[];this.forEachClassProperty(g,"none",(Q,z,E)=>{const j=this.descriptionForClassProperty(g,z);j&&f.push(["- `:",Q,"` - ",j])}),(o.length||f.length)&&(this.emitDescription([...o,...f]),this.ensureBlankLine());const h=[];this.forEachClassProperty(g,"none",(Q,z,E)=>{E.isOptional||(h.length===0?h.push([":",Q]):h.push([", :",Q]))}),h.length&&this.emitLine(["@enforce_keys [",h,"]"]);const w=[];this.forEachClassProperty(g,"none",(Q,z,E)=>{w.length===0?w.push([":",Q]):w.push([", :",Q])}),this.emitLine(["defstruct [",w,"]"]),this.ensureBlankLine();const N=[[["@type "],["t :: %__MODULE__{"]]];let F=g.getProperties().size;if(this.forEachClassProperty(g,"none",(Q,z,E)=>{const j=--F===0,X=[[],[" ",Q,": ",this.elixirType(E.type),E.isOptional?" | nil":"",j?"":","]];N.push(X)}),N.push([[],["}"]]),this.emitTable(N),this._options.justTypes)return;this.forEachClassProperty(g,"none",(Q,z,E)=>{if(E.type.kind==="union"){const j=[...E.type.getChildren()],X=j.filter($=>$.isPrimitive());if(j.length===X.length)return;const te=j.filter($=>$.kind!=="null");if(te.length===1){let $="",ne=[];te[0]instanceof T.ArrayType?($="_element",ne=[...te[0].getChildren()]):te[0]instanceof T.MapType&&($="_value",ne=[...te[0].getChildren()]),ne.length===1&&ne[0]instanceof T.UnionType&&(ne=[...ne[0].getChildren()]),this.emitPatternMatches(ne,Q,this.nameForNamedTypeWithNamespace(g),$,E.isOptional)}else this.emitPatternMatches(j,Q,this.nameForNamedTypeWithNamespace(g),"",E.isOptional)}else if(E.type.kind==="array"){const j=E.type;if(j.items instanceof T.UnionType){const te=[...j.items.getChildren()];this.emitPatternMatches(te,Q,this.nameForNamedTypeWithNamespace(g),"_element")}}else if(E.type.kind==="map"){const j=E.type;if(j.values instanceof T.UnionType){const te=[...j.values.getChildren()];this.emitPatternMatches(te,Q,this.nameForNamedTypeWithNamespace(g),"_value")}}});let B=0;this.forEachClassProperty(g,"none",(Q,z,E)=>{B++});const W=!B;this.ensureBlankLine(),this.emitBlock([`def from_map(${W?"_":""}m) do`],()=>{this.emitLine("%",this.nameWithNamespace(p),"{"),this.indent(()=>{this.forEachClassProperty(g,"none",(Q,z,E)=>{z=J(z),z=x(z);const j=this.fromDynamic(E.type,z,Q,E.isOptional);this.emitLine(Q,": ",j,",")})}),this.emitLine("}")}),this.ensureBlankLine(),this.emitBlock("def from_json(json) do",()=>{this.emitMultiline(`json
|
|
964
|
+
|> Jason.decode!()
|
|
965
|
+
|> from_map()`)}),this.ensureBlankLine(),this.emitBlock([`def to_map(${W?"_":""}struct) do`],()=>{this.emitLine("%{"),this.indent(()=>{this.forEachClassProperty(g,"none",(Q,z,E)=>{const j=this.toDynamic(E.type,Q,E.isOptional);this.emitLine([[`"${C(z)}"`],[" => ",j,","]])})}),this.emitLine("}")}),this.ensureBlankLine(),this.emitBlock("def to_json(struct) do",()=>{this.emitMultiline(`struct
|
|
966
|
+
|> to_map()
|
|
967
|
+
|> Jason.encode!()`)})})}isValidAtom(g){function p(f){return/^[A-Za-z_]$/.test(f)}function a(f){return/^[A-Za-z0-9_]$/.test(f)}if(g.length===0)return!1;const o=g[0];if(!p(o))return!1;for(let f=1;f<g.length;f++){const h=g[f];if(!a(h)&&h!=="@"&&!(f===g.length-1&&(h==="!"||h==="?")))return!1}return!0}emitEnum(g,p){this.emitBlock(["defmodule ",this.nameWithNamespace(p)," do"],()=>{this.emitDescription(this.descriptionForType(g)),this.emitLine("@valid_enum_members ["),this.indent(()=>{this.forEachEnumCase(g,"none",(a,o)=>{this.isValidAtom(o)?this.emitLine(":",o,","):this.emitLine(":",`"${o}"`,",")})}),this.emitLine("]"),this.ensureBlankLine(),this.emitMultiline(`def valid_atom?(value), do: value in @valid_enum_members
|
|
968
|
+
|
|
969
|
+
def valid_atom_string?(value) do
|
|
970
|
+
try do
|
|
971
|
+
atom = String.to_existing_atom(value)
|
|
972
|
+
atom in @valid_enum_members
|
|
973
|
+
rescue
|
|
974
|
+
ArgumentError -> false
|
|
975
|
+
end
|
|
976
|
+
end
|
|
977
|
+
|
|
978
|
+
def encode(value) do
|
|
979
|
+
if valid_atom?(value) do
|
|
980
|
+
Atom.to_string(value)
|
|
981
|
+
else
|
|
982
|
+
{:error, "Unexpected value when encoding atom: #{inspect(value)}"}
|
|
983
|
+
end
|
|
984
|
+
end
|
|
985
|
+
|
|
986
|
+
def decode(value) do
|
|
987
|
+
if valid_atom_string?(value) do
|
|
988
|
+
String.to_existing_atom(value)
|
|
989
|
+
else
|
|
990
|
+
{:error, "Unexpected value when decoding atom: #{inspect(value)}"}
|
|
991
|
+
end
|
|
992
|
+
end
|
|
993
|
+
|
|
994
|
+
def from_json(json) do
|
|
995
|
+
json
|
|
996
|
+
|> Jason.decode!()
|
|
997
|
+
|> decode()
|
|
998
|
+
end
|
|
999
|
+
|
|
1000
|
+
def to_json(data) do
|
|
1001
|
+
data
|
|
1002
|
+
|> encode()
|
|
1003
|
+
|> Jason.encode!()
|
|
1004
|
+
end`)})}emitUnion(g,p){}emitSourceStructure(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this._options.justTypes||(this.emitMultiline(`# This file was autogenerated using quicktype https://github.com/quicktype/quicktype
|
|
1005
|
+
#
|
|
1006
|
+
# Add Jason to your mix.exs`),this.forEachTopLevel("none",(g,p)=>{this.emitLine("#"),this.emitLine("# Decode a JSON string: ",this.nameWithNamespace(p),".from_json(data)"),this.emitLine("# Encode into a JSON string: ",this.nameWithNamespace(p),".to_json(struct)")})),this.ensureBlankLine(),this.forEachNamedType("leading-and-interposing",(g,p)=>this.emitModule(g,p),(g,p)=>this.emitEnum(g,p),(g,p)=>this.emitUnion(g,p)),this._options.justTypes||this.forEachTopLevel("leading-and-interposing",(g,p)=>{const a=g.kind==="array";this.emitBlock(["defmodule ",this.nameWithNamespace(p)," do"],()=>{var o;const f=(o=this.descriptionForType(g))!==null&&o!==void 0?o:[];if(f.length&&(this.emitDescription([...f]),this.ensureBlankLine()),a){const h=g.items;let w=!1;h instanceof T.UnionType&&(this.emitPatternMatches([...h.getChildren()],"element",p),w=!0),this.emitBlock("def from_json(json) do",()=>{this.emitLine("json"),this.emitLine("|> Jason.decode!()"),this.emitLine("|> Enum.map(&",w?["decode_element/1)"]:[this.nameWithNamespace(p),"Element.from_map/1)"])}),this.ensureBlankLine(),this.emitBlock("def to_json(list) do",()=>{this.emitLine("Enum.map(list, &",w?["encode_element/1)"]:[this.nameWithNamespace(p),"Element.to_map/1)"]),this.emitLine("|> Jason.encode!()")})}else this.emitBlock("def from_json(json) do",()=>{this.emitLine("Jason.decode!(json)")}),this.ensureBlankLine(),this.emitBlock("def to_json(data) do",()=>{this.emitLine("Jason.encode!(data)")})})},g=>this.namedTypeToNameForTopLevel(g)===void 0)}}e.ElixirRenderer=_})(sm);var L0;function Lc(){return L0||(L0=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.languageNamed=e.all=void 0;const t=He,n=op,i=Up,r=Jp,u=zp,l=Wp,d=Gp,y=qs,T=Vv(),S=Hp,O=Vp,I=Kp,k=Zp,P=Qp,m=Xp,C=Bs,J=Yp,x=Rs,G=$p,K=em,U=tm,R=Kr,A=rm,b=$v,_=ew,L=tw,g=sm;e.all=[new n.CSharpTargetLanguage,new i.GoTargetLanguage,new J.RustTargetLanguage,new x.CrystalTargetLanguage,new r.CJSONTargetLanguage,new u.CPlusPlusTargetLanguage,new l.ObjectiveCTargetLanguage,new d.JavaTargetLanguage,new S.TypeScriptTargetLanguage,new y.JavaScriptTargetLanguage,new T.JavaScriptPropTypesTargetLanguage,new S.FlowTargetLanguage,new O.SwiftTargetLanguage,new k.Scala3TargetLanguage,new P.SmithyTargetLanguage,new I.KotlinTargetLanguage,new m.ElmTargetLanguage,new C.JSONSchemaTargetLanguage,new G.RubyTargetLanguage,new K.DartTargetLanguage,new U.PythonTargetLanguage("Python",["python","py"],"py"),new R.PikeTargetLanguage,new A.HaskellTargetLanguage,new b.TypeScriptZodTargetLanguage,new L.TypeScriptEffectSchemaTargetLanguage,new g.ElixirTargetLanguage,new _.PhpTargetLanguage];function p(a,o){o===void 0&&(o=e.all);const f=(0,t.iterableFind)(o,h=>h.names.indexOf(a)>=0||h.displayName===a);return f!==void 0?f:(0,t.iterableFind)(o,h=>h.extension===a)}e.languageNamed=p}(yd)),yd}var Nc={},xi={},Ui={};Object.defineProperty(Ui,"__esModule",{value:!0});Ui.UnionBuilder=Ui.TypeRefUnionAccumulator=Ui.UnionAccumulator=void 0;const _s=He,nw=lt(),qM=ot(),mi=yt,yi=Ie,hs=Sr();function HM(e,t){return e===void 0?t:(0,mi.combineTypeAttributes)("union",e,t)}function VM(e,t,n){e.set(t,HM(e.get(t),n))}function Ei(e,t,n){let i=e.get(t);i===void 0&&(i=[],e.set(t,i)),i.push(n)}function N0(e){return(0,_s.mapMap)(e,t=>(0,mi.combineTypeAttributes)("union",t))}function k0(e,t,n){const i=(0,yi.defined)(e.get(t));e.delete(t),VM(e,n,i)}class iw{constructor(t){this._conflateNumbers=t,this._nonStringTypeAttributes=new Map,this._stringTypeAttributes=new Map,this.arrayData=[],this.objectData=[],this._enumCases=new Set,this._lostTypeAttributes=!1}have(t){return this._nonStringTypeAttributes.has(t)||this._stringTypeAttributes.has(t)}addNone(t){this._lostTypeAttributes=!0}addAny(t){Ei(this._nonStringTypeAttributes,"any",t),this._lostTypeAttributes=!0}addPrimitive(t,n){(0,yi.assert)(t!=="any","any must be added with addAny"),Ei(this._nonStringTypeAttributes,t,n)}addFullStringType(t,n){let i;n===void 0?n=hs.stringTypesTypeAttributeKind.tryGetInAttributes(t):i=hs.stringTypesTypeAttributeKind.makeAttributes(n),n===void 0&&(n=hs.StringTypes.unrestricted,i=hs.stringTypesTypeAttributeKind.makeAttributes(n));const r=this._nonStringTypeAttributes.get("enum");n.isRestricted&&(0,yi.assert)(r===void 0,"We can't add both an enum as well as a restricted string type to a union builder"),Ei(this._stringTypeAttributes,"string",t),i!==void 0&&Ei(this._stringTypeAttributes,"string",i)}addStringType(t,n,i){if(t==="string"){this.addFullStringType(n,i);return}Ei(this._stringTypeAttributes,t,n),i!==void 0&&Ei(this._stringTypeAttributes,t,hs.stringTypesTypeAttributeKind.makeAttributes(i))}addArray(t,n){this.arrayData.push(t),Ei(this._nonStringTypeAttributes,"array",n)}addObject(t,n){this.objectData.push(t),Ei(this._nonStringTypeAttributes,"object",n)}addEnum(t,n){if(this._stringTypeAttributes.get("string")!==void 0){Ei(this._stringTypeAttributes,"string",n);return}Ei(this._nonStringTypeAttributes,"enum",n),(0,_s.setUnionInto)(this._enumCases,t)}addStringCases(t,n){this.addFullStringType(n,hs.StringTypes.fromCases(t))}addStringCase(t,n,i){this.addFullStringType(i,hs.StringTypes.fromCase(t,n))}get enumCases(){return this._enumCases}getMemberKinds(){(0,yi.assert)(!(this.have("enum")&&this.have("string")),"We can't have both strings and enums in the same union");let t=(0,_s.mapMerge)(N0(this._nonStringTypeAttributes),N0(this._stringTypeAttributes));if(t.size===0)return new Map([["none",mi.emptyTypeAttributes]]);if(this._nonStringTypeAttributes.has("any")){(0,yi.assert)(this._lostTypeAttributes,"This had to be set when we added 'any'");const n=(0,mi.combineTypeAttributes)("union",Array.from(t.values()));return new Map([["any",n]])}return this._conflateNumbers&&this.have("integer")&&this.have("double")&&k0(t,"integer","double"),this.have("map")&&k0(t,"map","class"),t}get lostTypeAttributes(){return this._lostTypeAttributes}}Ui.UnionAccumulator=iw;class KM{getAttributes(){return mi.emptyTypeAttributes}}function ZM(e){const t=new Map,n=new Map,i=new Set;let r=new Set;function u(S,O,I){if(S instanceof nw.UnionType){i.add(S),I&&(r=r.add(S)),I=I&&S.members.size===1,O.push(S);for(const k of S.members)u(k,O,I);O.pop()}else{(0,_s.mapUpdateInto)(t,S,k=>k===void 0?new Set(O):(0,_s.setUnionInto)(k,O));for(const k of O)(0,_s.mapUpdateInto)(n,k,P=>P===void 0?new Set([S]):P.add(S))}}const l=[new KM],d=Array.from(e);for(const S of d)u(S,l,d.length===1);const y=(0,_s.mapMap)(t,(S,O)=>{const I=Array.from(S).filter(P=>(0,yi.defined)(n.get(P)).size===1);(0,yi.assert)(I.every(P=>(0,yi.defined)(n.get(P)).has(O)),"We messed up bookkeeping");const k=I.map(P=>P.getAttributes());return(0,mi.combineTypeAttributes)("union",[O.getAttributes()].concat(k))}),T=Array.from(i).map(S=>{const O=n.get(S);if(O!==void 0&&O.size===1)return mi.emptyTypeAttributes;const I=S.getAttributes();return r.has(S)?I:(0,mi.makeTypeAttributesInferred)(I)});return[y,(0,mi.combineTypeAttributes)("union",T)]}class QM extends iw{addType(t,n){(0,qM.matchTypeExhaustive)(t,i=>this.addNone(n),i=>this.addAny(n),i=>this.addPrimitive("null",n),i=>this.addPrimitive("bool",n),i=>this.addPrimitive("integer",n),i=>this.addPrimitive("double",n),i=>this.addStringType("string",n),i=>this.addArray(i.items.typeRef,n),i=>this.addObject(i.typeRef,n),i=>this.addObject(i.typeRef,n),i=>this.addObject(i.typeRef,n),i=>this.addEnum(i.cases,n),i=>(0,yi.panic)("The unions should have been eliminated in attributesForTypesInUnion"),i=>this.addStringType(i.kind,n))}addTypes(t){const[n,i]=ZM(t);for(const[r,u]of n)this.addType(r,u);return i}}Ui.TypeRefUnionAccumulator=QM;class XM{constructor(t){this.typeBuilder=t}makeTypeOfKind(t,n,i,r){switch(n){case"string":return this.typeBuilder.getStringType(i,void 0,r);case"enum":return this.typeBuilder.getEnumType(i,t.enumCases,r);case"object":return this.makeObject(t.objectData,i,r);case"array":return this.makeArray(t.arrayData,i,r);default:return(0,nw.isPrimitiveTypeKind)(n)?this.typeBuilder.getPrimitiveType(n,i,r):n==="union"||n==="class"||n==="map"||n==="intersection"?(0,yi.panic)(`getMemberKinds() shouldn't return ${n}`):(0,yi.assertNever)(n)}}buildUnion(t,n,i,r){const u=t.getMemberKinds();if(t.lostTypeAttributes&&this.typeBuilder.setLostTypeAttributes(),u.size===1){const[[T,S]]=Array.from(u),O=(0,mi.combineTypeAttributes)("union",i,(0,mi.increaseTypeAttributesDistance)(S));return this.makeTypeOfKind(t,T,O,r)}const l=n?this.typeBuilder.getUniqueUnionType(i,void 0,r):void 0,d=[];for(const[T,S]of u)d.push(this.makeTypeOfKind(t,T,S,void 0));const y=new Set(d);return l!==void 0?(this.typeBuilder.setSetOperationMembers(l,y),l):this.typeBuilder.getUnionType(i,y,r)}}Ui.UnionBuilder=XM;Object.defineProperty(xi,"__esModule",{value:!0});xi.unifyTypes=xi.unionBuilderForUnification=xi.UnifyUnionBuilder=void 0;const Vu=He,YM=lt(),$M=ot(),rw=Ui,No=Ie,sw=yt,ow=vi();function ej(e,t,n){let i=!1,r=new Set;for(const S of e)(0,Vu.setUnionInto)(r,S.getProperties().keys());let u=Array.from(r).map(S=>[S,new Set,!1]),l;for(const S of e){let O=S.getAdditionalProperties();O!==void 0&&(l===void 0&&(l=new Set),O!==void 0&&l.add(O));for(let I=0;I<u.length;I++){let[k,P,m]=u[I];const C=S.getProperties().get(k);C===void 0?(m=!0,O!==void 0&&O.kind!=="any"&&P.add(O)):(C.isOptional&&(m=!0),P.add(C.type)),u[I][2]=m}}const d=l===void 0?void 0:n(l),y=u.map(([S,O,I])=>[S,t.makeClassProperty(n(O),I)]);return[new Map(y),d,i]}function tj(e){let t=!1,n=!1,i=!1;for(const r of e){r.getProperties().size>0&&(t=!0);const u=r.getAdditionalProperties();u!==void 0&&(n=!0,u.kind!=="any"&&(i=!0))}return{hasProperties:t,hasAdditionalProperties:n,hasNonAnyAdditionalProperties:i}}class aw extends rw.UnionBuilder{constructor(t,n,i,r){super(t),this._makeObjectTypes=n,this._makeClassesFixed=i,this._unifyTypes=r}makeObject(t,n,i){const r=this.typeBuilder.lookupTypeRefs(t,i);if(r!==void 0)return(0,No.assert)(i===void 0||r===i,"The forwarding ref must be consumed"),this.typeBuilder.addAttributes(r,n),r;if(t.length===1)return this.typeBuilder.reconstituteTypeRef(t[0],n,i);const u=t.map(T=>(0,$M.assertIsObject)((0,ow.derefTypeRef)(T,this.typeBuilder))),{hasProperties:l,hasAdditionalProperties:d,hasNonAnyAdditionalProperties:y}=tj(u);if(!this._makeObjectTypes&&(y||!l&&d)){const T=new Set;for(const O of u)(0,Vu.setUnionInto)(T,Array.from(O.getProperties().values()).map(I=>I.typeRef));const S=new Set(u.filter(O=>O.getAdditionalProperties()!==void 0).map(O=>(0,No.defined)(O.getAdditionalProperties()).typeRef));return(0,Vu.setUnionInto)(T,S),this.typeBuilder.getMapType(n,this._unifyTypes(Array.from(T)))}else{const[T,S,O]=ej(u,this.typeBuilder,I=>((0,No.assert)(I.size>0,"Property has no type"),this._unifyTypes(Array.from(I).map(k=>k.typeRef))));return O&&this.typeBuilder.setLostTypeAttributes(),this._makeObjectTypes?this.typeBuilder.getUniqueObjectType(n,T,S,i):((0,No.assert)(S===void 0,"We have additional properties but want to make a class"),this.typeBuilder.getUniqueClassType(n,this._makeClassesFixed,T,i))}}makeArray(t,n,i){return this.typeBuilder.getArrayType(n,this._unifyTypes(t),i)}}xi.UnifyUnionBuilder=aw;function lw(e,t,n,i){return new aw(e,t,n,r=>uw(new Set(r.map(u=>(0,ow.derefTypeRef)(u,e))),sw.emptyTypeAttributes,e,lw(e,t,n,i),i))}xi.unionBuilderForUnification=lw;function uw(e,t,n,i,r,u){if(t=n.reconstituteTypeAttributes(t),e.size===0)return(0,No.panic)("Cannot unify empty set of types");if(e.size===1){const S=(0,No.defined)((0,Vu.iterableFirst)(e));if(!(S instanceof YM.UnionType))return n.reconstituteTypeRef(S.typeRef,t,u)}const l=Array.from(e).map(S=>S.typeRef),d=n.lookupTypeRefs(l,u);if(d!==void 0)return n.addAttributes(d,t),d;const y=new rw.TypeRefUnionAccumulator(r),T=n.reconstituteTypeAttributes(y.addTypes(e));return t=(0,sw.combineTypeAttributes)("union",t,T),n.withForwardingRef(u,S=>(n.registerUnion(l,S),i.buildUnion(y,!1,t,S)))}xi.unifyTypes=uw;Object.defineProperty(Nc,"__esModule",{value:!0});Nc.combineClasses=void 0;const cw=lt(),Jh=ot(),zh=Ie,O0=xi,Yd=3/4;function nj(e,t){return(0,cw.setOperationCasesEqual)(e,t,!0,(n,i)=>n.structurallyCompatible(i,!0))}function ij(e,t,n){const i=e.getProperties(),r=t.getProperties();if(n){if(i.size!==r.size)return!1}else if(i.size<r.size*Yd||r.size<i.size*Yd)return!1;let u,l;i.size>r.size?(u=i,l=r):(u=r,l=i);let d;if(n)d=0;else{const S=Math.ceil(u.size*Yd);d=l.size-S}(0,zh.assert)(d>=0,"Max faults negative");const y=[];let T=0;for(const[S]of l)if(u.has(S))y.push(S);else if(T+=1,T>d)break;if(T>d)return!1;for(const S of y){let O=l.get(S),I=u.get(S);if(O===void 0||I===void 0)return(0,zh.panic)(`Both classes should have property ${S}`);const k=(0,Jh.nonNullTypeCases)(O.type),P=(0,Jh.nonNullTypeCases)(I.type);if(k.size>0&&P.size>0&&!nj(k,P))return!1}return!0}function rj(e,t,n){for(const i of t.prototypes)if(i.structurallyCompatible(e))return t.members.push(e),!0;for(const i of t.prototypes)if(ij(i,e,n))return t.prototypes.push(e),t.members.push(e),!0;return!1}function sj(e,t,n){const i=Array.from(e.allNamedTypesSeparated().objects).filter(u=>u instanceof cw.ClassType&&(n||!u.isFixed)),r=[];for(const u of i){let l;for(let y=0;y<r.length;y++)if(rj(u,r[y],t)){l=y;break}l===void 0&&(l=r.length,r.push({members:[u],prototypes:[u]}));const d=r[0];r[0]=r[l],r[l]=d}return r.map(u=>u.members).filter(u=>u.length>1)}function oj(e,t,n,i,r,u){const l=e.time(" find similarity cliques",()=>sj(t,r,!1));function d(y,T,S){(0,zh.assert)(y.size>0,"Clique can't be empty");const O=(0,Jh.combineTypeAttributesOfTypes)("union",y);return(0,O0.unifyTypes)(y,O,T,(0,O0.unionBuilderForUnification)(T,!1,!1,i),i,S)}return t.rewrite("combine classes",e.stringTypeMapping,n,l,u,d)}Nc.combineClasses=oj;var kc={},Sn={},Oc={};Object.defineProperty(Oc,"__esModule",{value:!0});Oc.encodedMarkovChain=void 0;Oc.encodedMarkovChain="H4sICBHke1oCA21hcmtvdi5qc29uAOy9yW4jMbQl+C9vHQtezqxfafSi0OhFAw/VwEPVqtD/3jyHMYiOQRFSyGmbRGaGbVmWndbV5R3O8L//43/+1//zf//Hf/vf//F//b//63/8z//4b2r4j//+X//1H//t//gf/+s//3P4wZff9xN/9tdgvQut/iaCV0MQNXjRg9N6sMEMNn9sbByMtoMOftD59iYj5Lsu/+f/twSjeGNbDUaJLv+Lg/j81of8zwxiVf6Xb3P5X5D8fuoh823BaIJrNhhNyv9yEFqb/+WAzK9LMTkYXf6nFQNRdOgh823BiHTQajDqEmyicyDm47j8y9nR5LdKDzlpJtMD5ttCUeXfe6uhqPJBrPNBLDkUc6WY4y76IeUblWEsJt/D5bsCMSZpNQ4TMl8oEZeGFIaUuxg7xDCENATbI+XbYlCanSPkfiQaxFt+GeZKOYdk/hs0I7BnwW+LwGB9sxGYhmgRhFEx8BxSX9RDLpVdz4HfFoEuNJsDfU59arB6yC/CHH7O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wvINtfId1I2/tfQOCbHsSqDo0lkJDPqXjISXtnQQMkmQL/FtN88t18liwD/Yx5v2IllQ/2JwYtYOMTHucfOffhMyZXSSCZCsc/Q8Pa51Go4bU2t0ZQHO1rttGvlChXF1qJRFPVZM58b1UM94+OolT+MStweg4KRk9NMEFWrp0TNj4IkXWUuc9HBFvGskhUJ+UoKE876EfW0k6YCv1IlmwSKbTmJWz+7IIQtP2d1rsKbbYQH7DZYzsTkdlniHEBE7Y9O3Sv3/Rp2FZCYzqczH3fnSDaEL3vpii23Jd19XwVsW3H/TL/mptAt/epCllIW3T41iPvHmR3XRJdkwGvnqgrB/KggkPyc/7DJ3RkylCft0/eggVQsqbj+0US/wkOUSd/fITuMTX2zYIl0lo2mOPNk99o8KMCwzSsTh8dtpFhoMmw9Jhe+MbAINTrr8uMeQ6/3uMjZkwkYkN2CxOxMbbMuVS/dI///787/9f7KP//vEHg3kIvAaYHAA=";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.test=Sn.generate=Sn.evaluate=Sn.evaluateFull=Sn.load=Sn.train=void 0;const Qr=Ie,aj=Oc;function fw(){const e=[];for(let t=0;t<128;t++)e.push(null);return{count:0,arr:e}}function om(e,t,n){if(n>=t.length)return e;let i=t.charCodeAt(n);i>=128&&(i=0);const r=e.arr[i];if(r!==null)return typeof r=="object"?om(r,t,n+1):r/e.count}function dw(e,t,n){let i=t.charCodeAt(n);if(i>=128&&(i=0),n>=t.length-1){if(typeof e!="object")return(0,Qr.panic)("Malformed trie");let u=e.arr[i];if(u===null)u=0;else if(typeof u=="object")return(0,Qr.panic)("Malformed trie");e.arr[i]=u+1,e.count+=1;return}let r=e.arr[i];return r===null&&(e.arr[i]=r=fw()),typeof r!="object"?(0,Qr.panic)("Malformed trie"):dw(r,t,n+1)}function lj(e,t){const n=fw();for(const i of e)for(let r=t;r<=i.length;r++)dw(n,i.slice(r-t,r),0);return{trie:n,depth:t}}Sn.train=lj;function hw(){return JSON.parse((0,Qr.inflateBase64)(aj.encodedMarkovChain))}Sn.load=hw;function pw(e,t){const{trie:n,depth:i}=e;if(t.length<i)return[1,[]];let r=1;const u=[];for(let l=i;l<=t.length;l++){let d=om(n,t.slice(l-i,l),0);if(typeof d=="object")return(0,Qr.panic)("Did we mess up the depth?");d===void 0&&(d=1e-4),u.push(d),r=r*d}return[Math.pow(r,1/(t.length-i+1)),u]}Sn.evaluateFull=pw;function mw(e,t){return pw(e,t)[0]}Sn.evaluate=mw;function E0(e,t){const n=t-e;return e+Math.floor(Math.random()*n)}function uj(e,t,n){(0,Qr.assert)(t.length===e.depth-1,"State and chain length don't match up");const i=om(e.trie,t,0);if(typeof i=="number")return(0,Qr.panic)("Wrong depth?");if(i===void 0)return String.fromCharCode(E0(32,127));const r=i.arr.map((y,T)=>y===null?T===0?0:n:y);let u=0;for(const y of r)u+=y;const l=E0(0,u);let d=0;for(let y=0;y<r.length;y++)if(d+=r[y],l<d)return String.fromCharCode(y);return(0,Qr.panic)("We screwed up bookkeeping, or randomInt")}Sn.generate=uj;function Yt(e,t){console.log(`"${t}": ${mw(e,t)}`)}function cj(){const e=hw();Yt(e,"url"),Yt(e,"json"),Yt(e,"my_property"),Yt(e,"ordinary"),Yt(e,"different"),Yt(e,"189512"),Yt(e,"2BTZIqw0ntH9MvilQ3ewNY"),Yt(e,"0uBTNdNGb2OY5lou41iYL52LcDq2"),Yt(e,"-KpqHmWuDOUnr1hmAhxp"),Yt(e,"granularity"),Yt(e,"coverage"),Yt(e,"postingFrequency"),Yt(e,"dataFrequency"),Yt(e,"units"),Yt(e,"datasetOwner"),Yt(e,"organization"),Yt(e,"timePeriod"),Yt(e,"contactInformation"),Yt(e,"🚾 🆒 🆓 🆕 🆖 🆗 🆙 🏧")}Sn.test=cj;Object.defineProperty(kc,"__esModule",{value:!0});kc.inferMaps=void 0;const Fu=He,Wh=lt(),fj=ot(),C0=Ie,A0=xi,F0=Sn,dj=20,hj=50;let $d;function pj(e){return $d===void 0&&($d=(0,F0.load)()),(0,F0.evaluate)($d,e)}function P0(e){const t=e.size;if(t<2)return;if((0,Fu.iterableEvery)(e.keys(),u=>/^[0-9]+$/.test(u)))return(0,Fu.setMap)(e.values(),u=>u.type);if(t<hj&&(0,Fu.iterableEvery)(e.values(),u=>(0,Wh.isPrimitiveStringTypeKind)(u.type.kind)||u.type.kind==="null"))return;if(t<dj){const d=Array.from(e.keys()).map(pj).reduce((I,k)=>I*k,1),y=Math.pow(d,1/t),T=5,S=Math.pow(22,T),O=Math.pow(t+2,T)/S+(.0025-Math.pow(3,T)/S);if(y>O)return}let n;const i=new Set;let r=!0;for(const[,u]of e){const l=(0,fj.removeNullFromType)(u.type)[1];if(l.size>0)if(n!==void 0){if(!(0,Wh.setOperationCasesEqual)(l,n,!0,(d,y)=>d.structurallyCompatible(y,!0))){r=!1;break}}else n=l;i.add(u.type)}if(r)return i}function mj(e,t,n,i){function r(l,d,y){const T=(0,C0.defined)((0,Fu.iterableFirst)(l)),S=T.getProperties(),O=P0(S);return O===void 0?(0,C0.panic)(`We shouldn't be replacing class ${T.getCombinedName()} with a map`):d.getMapType(T.getAttributes(),(0,A0.unifyTypes)(O,T.getAttributes(),d,(0,A0.unionBuilderForUnification)(d,!1,!1,n),n),y)}const u=Array.from(e.allNamedTypesSeparated().objects).filter(l=>l instanceof Wh.ClassType?!l.isFixed&&P0(l.getProperties())!==void 0:!1);return e.rewrite("infer maps",t,!1,u.map(l=>[l]),i,r)}kc.inferMaps=mj;var Ec={},yj=Fe&&Fe.__createBinding||(Object.create?function(e,t,n,i){i===void 0&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){i===void 0&&(i=n),e[i]=t[n]}),gj=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),bj=Fe&&Fe.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)n!=="default"&&Object.prototype.hasOwnProperty.call(e,n)&&yj(t,e,n);return gj(t,e),t};Object.defineProperty(Ec,"__esModule",{value:!0});Ec.gatherNames=void 0;const I0=bj(Lv),rr=He,M0=lt(),eh=ot(),wa=mr,Ai=Ie,j0=Qo;class Tj{constructor(){this._present=new Set,this._queue=[],this._front=0}get size(){return this._queue.length-this._front}get isEmpty(){return this.size<=0}push(t){this._present.has(t)||(this._queue.push(t),this._present.add(t))}unshift(){(0,Ai.assert)(!this.isEmpty,"Trying to unshift from an empty queue");const t=this._queue[this._front];return t===void 0?(0,Ai.panic)("Value should have been present in queue"):(this._queue[this._front]=void 0,this._front+=1,this._present.delete(t),this._front>this.size&&(this._queue=this._queue.slice(this._front),this._front=0),t)}}function Sj(e,t,n){function i(I,k){e.attributeStore.set(wa.namesTypeAttributeKind,I,k)}if(t)for(const I of e.allTypesUnordered())I.hasNames&&i(I,I.getNames().clearInferred());const r=new Tj,u=new Map;function l(I,k){if(I.hasNames){const J=I.getNames();J.areInferred||(k=J.names)}const P=u.get(I);if(P===null)return;let m;P===void 0?m=k:k===null?m=null:m=(0,rr.setUnion)(P,k),m!==null&&m.size>=wa.tooManyNamesThreshold&&(m=null),u.set(I,m);const C=(0,j0.transformationForType)(I);if(C!==void 0&&l(C.targetType,k),P!==void 0&&m!==null){if(P.size===m.size)return}else if(P===m)return;r.push(I)}for(const[I,k]of e.topLevels)l(k,new Set([I]));for(;!r.isEmpty;){const I=r.unshift(),k=(0,Ai.defined)(u.get(I));if(I instanceof M0.ObjectType){const P=I.getSortedProperties();for(const[C,J]of P)l(J.type,new Set([C]));const m=I.getAdditionalProperties();m!==void 0&&l(m,k===null?null:(0,rr.setMap)(k,I0.singular))}else(0,eh.matchCompoundType)(I,P=>{l(P.items,k===null?null:(0,rr.setMap)(k,I0.singular))},P=>(0,Ai.panic)("We handled this above"),P=>(0,Ai.panic)("We handled this above"),P=>(0,Ai.panic)("We handled this above"),P=>{const m=(0,rr.setSortBy)(P.members,C=>C.kind);for(const C of m)l(C,k)})}if(n)for(const I of e.allTypesUnordered()){const k=u.get(I);if(k===void 0)return;const P=I.index;console.log(`${P}: ${k===null?"*** too many ***":Array.from(k).join(" ")}`)}const d=new Map,y=new Map,T=new Map;function S(I,k){return k.length===0||(I===void 0&&(I=new Set),I=(0,rr.setUnion)(I,k),I.size<wa.tooManyNamesThreshold)?I:null}function O(I,k,P){const m=(0,Ai.defined)(u.get(k));let C=T.get(I);if(C===void 0&&(C=new Set),C.has(k))return;C.add(k),T.set(I,C);const J=(0,j0.transformationForType)(k);J!==void 0&&O(I,J.targetType,P);let x=y.get(k),G=d.get(k);if(m===null)x=null,G=null;else{if(I!==void 0&&x!==null){const K=u.get(I);if(K===null)x=null;else if(K!==void 0){const U=[];for(const R of m)U.push(...Array.from(K).map(A=>`${A}_${R}`)),U.push(...Array.from(K).map(A=>`${A}_${R}_${k.kind}`));x=S(x,U)}}if(P!==void 0&&G!==null){const K=[];for(const U of m)K.push(`${U}_${P}`);G=S(G,K)}}if(x!==void 0&&y.set(k,x),G!==void 0&&d.set(k,G),k instanceof M0.ObjectType){const K=k.getSortedProperties();for(const[,R]of K)O(k,R.type,void 0);const U=k.getAdditionalProperties();U!==void 0&&O(K.size===0?I:k,U,"value")}else(0,eh.matchCompoundType)(k,K=>{O(I,K.items,"element")},K=>(0,Ai.panic)("We handled this above"),K=>(0,Ai.panic)("We handled this above"),K=>(0,Ai.panic)("We handled this above"),K=>{const U=(0,rr.setSortBy)(K.members,_=>_.kind),b=K.hasNames&&!K.getNames().areInferred||(0,eh.nullableFromUnion)(K)===null?K:I;for(const _ of U)O(b,_,void 0)})}for(const[,I]of e.topLevels)O(void 0,I,void 0);for(const I of e.allTypesUnordered()){const k=u.get(I);if(k===void 0)continue;if(k===null){d.set(I,null);continue}let P=d.get(I);P!==null&&(P===void 0&&(P=new Set),P=(0,rr.setUnion)(P,(0,rr.setMap)(k,m=>`${m}_${I.kind}`)),d.set(I,P))}for(const I of e.allTypesUnordered()){const k=u.get(I);if(k===void 0)continue;let P;if(k===null)P=new wa.TooManyTypeNames(1);else{const m=y.get(I),C=d.get(I);let J;m===null&&C===null?J=void 0:(C!=null?J=C:J=new Set,m!=null&&(J=(0,rr.setUnion)(J,m))),P=wa.TypeNames.makeWithDistance(k,J,t?1:10)}i(I,I.hasNames?I.getNames().add([P]):P)}}Ec.gatherNames=Sj;var Cc={};Object.defineProperty(Cc,"__esModule",{value:!0});Cc.expandStrings=void 0;const Ci=He,th=ot(),jr=Ie,vj=yt,B0=Sr(),wj=10,_j=5,Lj=3/4;function Nj({numValues:e,cases:t}){return e>=wj&&t.size<Math.sqrt(e)}function kj(e,t,n){const i=n?e.size:Math.min(e.size,t.size);return(0,Ci.setIntersect)(e,t).size>=i*Lj}function R0(e){return e.length===1&&e[0]===""}function Oj(e,t,n){const i=e.stringTypeMapping,r=Array.from(t.allTypesUnordered()).filter(T=>T.kind==="string"&&(0,th.stringTypesForType)(T).isRestricted);function u(T){const O=(0,th.stringTypesForType)(T).applyStringTypeMapping(i);if(!O.isRestricted)return;const I=(0,jr.defined)(O.cases);if(I.size===0)return;const k=(0,Ci.iterableReduce)(I.values(),0,(P,m)=>P+m);if(n!=="all"){const P=Array.from(I.keys());if(R0(P)||!(0,Ci.iterableSome)(P,C=>/^(\-|\+)?[0-9]+(\.[0-9]+)?$/.test(C)===!1))return}return{cases:new Set(I.keys()),numValues:k}}const l=new Map,d=[];if(n!=="none"){let T=function(S,O){return d.findIndex(I=>kj(S,I,O))};for(const S of r){const O=u(S);O!==void 0&&l.set(S,O)}for(const S of Array.from(l.keys())){const O=(0,jr.defined)(l.get(S)),I=O.cases;if(n==="all")d.push(I);else{if(!Nj(O))continue;const k=T(I,!1);k>=0?d[k]=(0,Ci.setUnion)(d[k],I):d.push(I)}l.delete(S)}n==="all"&&(0,jr.assert)(l.size===0);for(const[,S]of l.entries()){if(S.numValues<_j)continue;const O=T(S.cases,!0);O>=0&&(d[O]=(0,Ci.setUnion)(d[O],S.cases))}}function y(T,S,O){(0,jr.assert)(T.size===1);const I=(0,jr.defined)((0,Ci.iterableFirst)(T)),k=(0,th.stringTypesForType)(I),P=(0,Ci.mapFilter)(I.getAttributes(),K=>K!==k),m=k.applyStringTypeMapping(i);if(!m.isRestricted)return S.getStringType(P,B0.StringTypes.unrestricted,O);const C=n==="all"?Ci.areEqual:Ci.setIsSuperset,J=[],x=(0,jr.defined)(m.cases);if(x.size>0){const K=new Set(x.keys()),U=d.find(R=>C(R,K));if(n!=="none"&&!R0(Array.from(K))&&U!==void 0)J.push(S.getEnumType(vj.emptyTypeAttributes,U));else return S.getStringType(P,B0.StringTypes.unrestricted,O)}const G=m.transformations;if(J.length===0&&G.size===1){const K=(0,jr.defined)((0,Ci.iterableFirst)(G));return S.getPrimitiveType(K,P,O)}return J.push(...Array.from(G).map(K=>S.getPrimitiveType(K))),(0,jr.assert)(J.length>0,"We got an empty string type"),S.getUnionType(P,new Set(J),O)}return t.rewrite("expand strings",i,!1,r.map(T=>[T]),e.debugPrintReconstitution,y)}Cc.expandStrings=Oj;var Ac={};Object.defineProperty(Ac,"__esModule",{value:!0});Ac.flattenUnions=void 0;const nh=He,Ej=vi(),D0=lt(),Cj=ot(),Aj=Ie,x0=xi,Fj=Kt,U0=yt;function Pj(e,t,n,i,r){let u=!1;function l(O,I,k){const P=new x0.UnifyUnionBuilder(I,i,!0,m=>((0,Aj.assert)(m.length>0,"Must have at least one type to build union"),m=m.map(C=>I.reconstituteType((0,Ej.derefTypeRef)(C,e))),m.length===1?m[0]:(u=!0,I.getUnionType(U0.emptyTypeAttributes,new Set(m)))));return(0,x0.unifyTypes)(O,U0.emptyTypeAttributes,I,P,n,k)}const d=(0,nh.setFilter)(e.allTypesUnordered(),O=>O instanceof D0.UnionType),y=(0,nh.setFilter)(d,O=>!O.isCanonical);let T=!1;const S=(0,Cj.makeGroupsToFlatten)(y,O=>((0,Fj.messageAssert)(O.size>0,"IRNoEmptyUnions",{}),(0,nh.iterableSome)(O,I=>I instanceof D0.IntersectionType)?(T=!0,!1):!0));return e=e.rewrite("flatten unions",t,!1,S,r,l),[e,!u&&!T]}Ac.flattenUnions=Pj;var Fc={};Object.defineProperty(Fc,"__esModule",{value:!0});Fc.resolveIntersections=void 0;const Vt=He,Ij=Ui,ti=lt(),Ku=ot(),xt=Ie,En=yt;function Mj(e){const t=(0,Ku.setOperationMembersRecursively)(e,void 0)[0];return t.size<=1?!0:(0,Vt.iterableEvery)(t,n=>!(n instanceof ti.UnionType)||n.isCanonical)}function jj(e){return(0,Vt.mapMapEntries)(e.entries(),t=>[t.kind,t.getAttributes()])}class Bj{constructor(){this._primitiveAttributes=new Map,this._arrayAttributes=En.emptyTypeAttributes,this._objectProperties=new Map,this._objectAttributes=En.emptyTypeAttributes,this._additionalPropertyTypes=new Set,this._lostTypeAttributes=!1}updatePrimitiveTypes(t){const n=(0,Vt.setFilter)(t,l=>(0,ti.isPrimitiveTypeKind)(l.kind)),i=jj(n);(0,Vt.mapMergeWithInto)(this._primitiveAttributes,(l,d)=>(0,En.combineTypeAttributes)("intersect",l,d),i);const r=(0,Vt.setMap)(n,l=>l.kind);if(this._primitiveTypes===void 0){this._primitiveTypes=new Set(r);return}const u=(0,Vt.iterableFind)(this._primitiveTypes,ti.isNumberTypeKind)!==void 0&&(0,Vt.iterableFind)(r,ti.isNumberTypeKind)!==void 0;this._primitiveTypes=(0,Vt.setIntersect)(this._primitiveTypes,r),u&&(0,Vt.iterableFind)(this._primitiveTypes,ti.isNumberTypeKind)===void 0&&(this._primitiveTypes=this._primitiveTypes.add("integer"))}updateArrayItemTypes(t){const n=(0,Vt.iterableFind)(t,i=>i instanceof ti.ArrayType);if(n===void 0){this._arrayItemTypes=!1;return}this._arrayAttributes=(0,En.combineTypeAttributes)("intersect",this._arrayAttributes,n.getAttributes()),this._arrayItemTypes===void 0?this._arrayItemTypes=new Set:this._arrayItemTypes!==!1&&this._arrayItemTypes.add(n.items)}updateObjectProperties(t){const n=(0,Vt.iterableFind)(t,u=>u instanceof ti.ObjectType);if(n===void 0){this._objectProperties=void 0,this._additionalPropertyTypes=void 0;return}this._objectAttributes=(0,En.combineTypeAttributes)("intersect",this._objectAttributes,n.getAttributes());const i=n.getAdditionalProperties();if(this._objectProperties===void 0){(0,xt.assert)(this._additionalPropertyTypes===void 0);return}const r=(0,Vt.setUnionInto)(new Set(this._objectProperties.keys()),n.getProperties().keys());for(const u of r){const l=(0,xt.defined)(this._objectProperties).get(u),d=n.getProperties().get(u);if(l!==void 0&&d!==void 0){const y=new ti.GenericClassProperty(l.typeData.add(d.type),l.isOptional&&d.isOptional);(0,xt.defined)(this._objectProperties).set(u,y)}else if(l!==void 0&&i!==void 0){const y=new ti.GenericClassProperty(l.typeData.add(i),l.isOptional);(0,xt.defined)(this._objectProperties).set(u,y)}else if(l!==void 0)(0,xt.defined)(this._objectProperties).delete(u);else if(d!==void 0&&this._additionalPropertyTypes!==void 0){const y=new Set(this._additionalPropertyTypes).add(d.type);(0,xt.defined)(this._objectProperties).set(u,new ti.GenericClassProperty(y,d.isOptional))}else if(d!==void 0)(0,xt.defined)(this._objectProperties).delete(u);else return(0,xt.mustNotHappen)()}this._additionalPropertyTypes!==void 0&&i!==void 0?this._additionalPropertyTypes.add(i):(this._additionalPropertyTypes!==void 0||i!==void 0)&&(this._additionalPropertyTypes=void 0,this._lostTypeAttributes=!0)}addUnionSet(t){this.updatePrimitiveTypes(t),this.updateArrayItemTypes(t),this.updateObjectProperties(t)}addType(t){let n=t.getAttributes();return(0,Ku.matchTypeExhaustive)(t,i=>(0,xt.panic)("There shouldn't be a none type"),i=>(0,xt.panic)("The any type should have been filtered out in setOperationMembersRecursively"),i=>this.addUnionSet([i]),i=>this.addUnionSet([i]),i=>this.addUnionSet([i]),i=>this.addUnionSet([i]),i=>this.addUnionSet([i]),i=>this.addUnionSet([i]),i=>(0,xt.panic)("We should never see class types in intersections"),i=>(0,xt.panic)("We should never see map types in intersections"),i=>this.addUnionSet([i]),i=>(0,xt.panic)("We should never see enum types in intersections"),i=>{n=(0,En.combineTypeAttributes)("intersect",[n].concat(Array.from(i.members).map(r=>r.getAttributes()))),this.addUnionSet(i.members)},i=>this.addUnionSet([i])),(0,En.makeTypeAttributesInferred)(n)}get arrayData(){return this._arrayItemTypes===void 0||this._arrayItemTypes===!1?(0,xt.panic)("This should not be called if the type can't be an array"):this._arrayItemTypes}get objectData(){if(this._objectProperties===void 0){(0,xt.assert)(this._additionalPropertyTypes===void 0);return}return[this._objectProperties,this._additionalPropertyTypes]}get enumCases(){return(0,xt.panic)("We don't support enums in intersections")}getMemberKinds(){const t=(0,Vt.mapMap)((0,xt.defined)(this._primitiveTypes).entries(),i=>(0,xt.defined)(this._primitiveAttributes.get(i))),n=this._primitiveAttributes.get("double");return n!==void 0&&!t.has("double")&&t.has("integer")&&(0,Vt.mapUpdateInto)(t,"integer",i=>(0,En.combineTypeAttributes)("intersect",(0,xt.defined)(i),n)),this._arrayItemTypes!==void 0&&this._arrayItemTypes!==!1?t.set("array",this._arrayAttributes):this._arrayAttributes.size>0&&(this._lostTypeAttributes=!0),this._objectProperties!==void 0?t.set("object",this._objectAttributes):this._objectAttributes.size>0&&(this._lostTypeAttributes=!0),t}get lostTypeAttributes(){return this._lostTypeAttributes}}class Rj extends Ij.UnionBuilder{constructor(){super(...arguments),this._createdNewIntersections=!1}makeIntersection(t,n){const i=(0,Vt.setMap)(t,u=>this.typeBuilder.reconstituteTypeRef(u.typeRef)),r=(0,xt.defined)((0,Vt.iterableFirst)(i));return i.size===1?(this.typeBuilder.addAttributes(r,n),r):(this._createdNewIntersections=!0,this.typeBuilder.getUniqueIntersectionType(n,i))}get createdNewIntersections(){return this._createdNewIntersections}makeObject(t,n,i){if(t===void 0)return(0,xt.panic)("Either properties or additional properties must be given to make an object type");const[r,u]=t,l=(0,Vt.mapMap)(r,y=>this.typeBuilder.makeClassProperty(this.makeIntersection(y.typeData,En.emptyTypeAttributes),y.isOptional)),d=u===void 0?void 0:this.makeIntersection(u,En.emptyTypeAttributes);return this.typeBuilder.getUniqueObjectType(n,l,d,i)}makeArray(t,n,i){const r=this.makeIntersection(t,En.emptyTypeAttributes);return this.typeBuilder.getArrayType(n,r,i)}}function Dj(e,t,n){let i=!1;function r(y,T,S){const O=(0,Vt.setFilter)(y,G=>G instanceof ti.IntersectionType),[I,k]=(0,Ku.setOperationMembersRecursively)(Array.from(O),"intersect");if(I.size===0)return T.getPrimitiveType("any",k,S);if(I.size===1)return T.reconstituteType((0,xt.defined)((0,Vt.iterableFirst)(I)),k,S);const P=new Bj,m=(0,En.makeTypeAttributesInferred)((0,En.combineTypeAttributes)("intersect",Array.from(I).map(G=>P.addType(G)))),C=(0,En.combineTypeAttributes)("intersect",k,m),J=new Rj(T),x=J.buildUnion(P,!0,C,S);return J.createdNewIntersections&&(i=!0),x}const u=(0,Vt.setFilter)(e.allTypesUnordered(),y=>y instanceof ti.IntersectionType),l=(0,Vt.setFilter)(u,Mj),d=(0,Ku.makeGroupsToFlatten)(l,void 0);return e=e.rewrite("resolve intersections",t,!1,d,n,r),[e,!i&&u.size===l.size]}Fc.resolveIntersections=Dj;var Pc={};Object.defineProperty(Pc,"__esModule",{value:!0});Pc.replaceObjectType=void 0;const go=He,J0=Ie,xj=yt;function Uj(e,t,n,i,r){function u(T,S,O){const I=(0,J0.defined)((0,go.iterableFirst)(T)),k=I.getAttributes(),P=I.getProperties(),m=I.getAdditionalProperties();function C(){return(0,go.mapMap)(P,U=>S.makeClassProperty(S.reconstituteTypeRef(U.typeRef),U.isOptional))}function J(){return S.getUniqueClassType(k,!0,C(),O)}function x(){return S.reconstituteType((0,J0.defined)(m))}if(m===void 0)return J();if(P.size===0)return S.getMapType(k,x(),O);if(m.kind==="any")return S.setLostTypeAttributes(),J();const G=(0,go.setMap)(P.values(),U=>U.type).add(m);let K=S.lookupTypeRefs(Array.from(G).map(U=>U.typeRef));if(K===void 0){const U=(0,go.setMap)(G,R=>S.reconstituteType(R));K=S.getUniqueUnionType(xj.emptyTypeAttributes,new Set(U))}return S.getMapType(k,K,O)}const l=(0,go.setFilter)(e.allTypesUnordered(),T=>T.kind==="object"),d=i?(0,go.setFilter)(l,T=>T.getProperties().size===0||T.getAdditionalProperties()===void 0):l,y=Array.from(d).map(T=>[T]);return e.rewrite("replace object type",t,!1,y,r,u)}Pc.replaceObjectType=Uj;var sr={},Ic={};(function(e){var t=Fe&&Fe.__awaiter||function(P,m,C,J){function x(G){return G instanceof C?G:new C(function(K){K(G)})}return new(C||(C=Promise))(function(G,K){function U(b){try{A(J.next(b))}catch(_){K(_)}}function R(b){try{A(J.throw(b))}catch(_){K(_)}}function A(b){b.done?G(b.value):x(b.value).then(U,R)}A((J=J.apply(P,m||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.CompressedJSONFromString=e.CompressedJSON=e.valueTag=e.makeValue=e.Tag=void 0;const n=He,i=Ie,r=lt(),u=Sr();var l;(function(P){P[P.Null=0]="Null",P[P.False=1]="False",P[P.True=2]="True",P[P.Integer=3]="Integer",P[P.Double=4]="Double",P[P.InternedString=5]="InternedString",P[P.UninternedString=6]="UninternedString",P[P.Object=7]="Object",P[P.Array=8]="Array",P[P.StringFormat=9]="StringFormat",P[P.TransformedString=10]="TransformedString"})(l=e.Tag||(e.Tag={}));const d=4,y=(1<<d)-1;function T(P,m){return P|m<<d}e.makeValue=T;function S(P,m){return(0,i.assert)(O(P)===m,"Trying to get index for value with invalid tag"),P>>d}function O(P){return P&y}e.valueTag=O;class I{constructor(m,C){this.dateTimeRecognizer=m,this.handleRefs=C,this._contextStack=[],this._strings=[],this._stringIndexes={},this._objects=[],this._arrays=[],this.getObjectForValue=J=>this._objects[S(J,l.Object)],this.getArrayForValue=J=>this._arrays[S(J,l.Array)],this.internArray=J=>{const x=this._arrays.length;return this._arrays.push(J),T(l.Array,x)}}parseSync(m){return(0,i.panic)("parseSync not implemented in CompressedJSON")}getStringForValue(m){const C=O(m);return(0,i.assert)(C===l.InternedString||C===l.TransformedString),this._strings[S(m,C)]}getStringFormatTypeKind(m){const C=this._strings[S(m,l.StringFormat)];return!(0,r.isPrimitiveStringTypeKind)(C)||C==="string"?(0,i.panic)("Not a transformed string type kind"):C}get context(){return(0,i.defined)(this._ctx)}internString(m){if(Object.prototype.hasOwnProperty.call(this._stringIndexes,m))return this._stringIndexes[m];const C=this._strings.length;return this._strings.push(m),this._stringIndexes[m]=C,C}makeString(m){const C=T(l.InternedString,this.internString(m));return(0,i.assert)(typeof C=="number",`Interned string value is not a number: ${C}`),C}internObject(m){const C=this._objects.length;return this._objects.push(m),T(l.Object,C)}get isExpectingRef(){return this._ctx!==void 0&&this._ctx.currentKey==="$ref"}commitValue(m){if((0,i.assert)(typeof m=="number",`CompressedJSON value is not a number: ${m}`),this._ctx===void 0)(0,i.assert)(this._rootValue===void 0,"Committing value but nowhere to commit to - root value still there."),this._rootValue=m;else if(this._ctx.currentObject!==void 0){if(this._ctx.currentKey===void 0)return(0,i.panic)("Must have key and can't have string when committing");this._ctx.currentObject.push(this.makeString(this._ctx.currentKey),m),this._ctx.currentKey=void 0}else if(this._ctx.currentArray!==void 0)this._ctx.currentArray.push(m);else return(0,i.panic)("Committing value but nowhere to commit to")}commitNull(){this.commitValue(T(l.Null,0))}commitBoolean(m){this.commitValue(T(m?l.True:l.False,0))}commitNumber(m){const C=m?l.Double:l.Integer;this.commitValue(T(C,0))}commitString(m){let C;if(this.handleRefs&&this.isExpectingRef)C=this.makeString(m);else{const J=(0,u.inferTransformedStringTypeKindForString)(m,this.dateTimeRecognizer);J!==void 0?(0,i.defined)(r.transformedStringTypeTargetTypeKindsMap.get(J)).attributesProducer!==void 0?C=T(l.TransformedString,this.internString(m)):C=T(l.StringFormat,this.internString(J)):m.length<=64?C=this.makeString(m):C=T(l.UninternedString,0)}this.commitValue(C)}finish(){const m=this._rootValue;return m===void 0?(0,i.panic)("Finished without root document"):((0,i.assert)(this._ctx===void 0&&this._contextStack.length===0,"Finished with contexts present"),this._rootValue=void 0,m)}pushContext(){this._ctx!==void 0&&this._contextStack.push(this._ctx),this._ctx={currentObject:void 0,currentArray:void 0,currentKey:void 0,currentNumberIsDouble:!1}}pushObjectContext(){this.pushContext(),(0,i.defined)(this._ctx).currentObject=[]}setPropertyKey(m){const C=this.context;C.currentKey=m}finishObject(){const m=this.context.currentObject;if(m===void 0)return(0,i.panic)("Object ended but not started");this.popContext(),this.commitValue(this.internObject(m))}pushArrayContext(){this.pushContext(),(0,i.defined)(this._ctx).currentArray=[]}finishArray(){const m=this.context.currentArray;if(m===void 0)return(0,i.panic)("Array ended but not started");this.popContext(),this.commitValue(this.internArray(m))}popContext(){(0,i.assert)(this._ctx!==void 0,"Popping context when there isn't one"),this._ctx=this._contextStack.pop()}equals(m){return this===m}hashCode(){let m=n.hashCodeInit;for(const C of this._strings)m=(0,n.addHashCode)(m,(0,n.hashString)(C));for(const C of Object.getOwnPropertyNames(this._stringIndexes).sort())m=(0,n.addHashCode)(m,(0,n.hashString)(C)),m=(0,n.addHashCode)(m,this._stringIndexes[C]);for(const C of this._objects)for(const J of C)m=(0,n.addHashCode)(m,J);for(const C of this._arrays)for(const J of C)m=(0,n.addHashCode)(m,J);return m}}e.CompressedJSON=I;class k extends I{parse(m){return t(this,void 0,void 0,function*(){return this.parseSync(m)})}parseSync(m){const C=JSON.parse(m);return this.process(C),this.finish()}process(m){if(m===null)this.commitNull();else if(typeof m=="boolean")this.commitBoolean(m);else if(typeof m=="string")this.commitString(m);else if(typeof m=="number"){const C=m!==Math.floor(m)||m<Number.MIN_SAFE_INTEGER||m>Number.MAX_SAFE_INTEGER;this.commitNumber(C)}else if(Array.isArray(m)){this.pushArrayContext();for(const C of m)this.process(C);this.finishArray()}else if(typeof m=="object"){this.pushObjectContext();for(const C of Object.getOwnPropertyNames(m))this.setPropertyKey(C),this.process(m[C]);this.finishObject()}else return(0,i.panic)("Invalid JSON object")}}e.CompressedJSONFromString=k})(Ic);var Mc={};Object.defineProperty(Mc,"__esModule",{value:!0});Mc.TypeInference=void 0;const On=Ic,ps=Ie,Gh=Ui,_a=lt(),zn=yt,ih=Sr(),Jj=vi(),La=Kt,zj=ot();function am(e,t){if(e.length!==0)if(Array.isArray(e[0]))for(const n of e)am(n,t);else t(e)}function Wj(e,t){am(e,n=>{for(const i of n)t(i)})}class Gj extends Gh.UnionBuilder{constructor(t,n,i){super(t),this._typeInference=n,this._fixed=i}makeObject(t,n,i){return this._typeInference.inferClassType(n,t,this._fixed,i)}makeArray(t,n,i){return this.typeBuilder.getArrayType(n,this._typeInference.inferType(zn.emptyTypeAttributes,t,this._fixed,i))}}class qj{constructor(t,n,i,r){this._cjson=t,this._typeBuilder=n,this._inferMaps=i,this._inferEnums=r}addValuesToAccumulator(t,n){Wj(t,i=>{const r=(0,On.valueTag)(i);switch(r){case On.Tag.Null:n.addPrimitive("null",zn.emptyTypeAttributes);break;case On.Tag.False:case On.Tag.True:n.addPrimitive("bool",zn.emptyTypeAttributes);break;case On.Tag.Integer:n.addPrimitive("integer",zn.emptyTypeAttributes);break;case On.Tag.Double:n.addPrimitive("double",zn.emptyTypeAttributes);break;case On.Tag.InternedString:if(this._inferEnums){const u=this._cjson.getStringForValue(i);n.addStringCase(u,1,zn.emptyTypeAttributes)}else n.addStringType("string",zn.emptyTypeAttributes);break;case On.Tag.UninternedString:n.addStringType("string",zn.emptyTypeAttributes);break;case On.Tag.Object:n.addObject(this._cjson.getObjectForValue(i),zn.emptyTypeAttributes);break;case On.Tag.Array:n.addArray(this._cjson.getArrayForValue(i),zn.emptyTypeAttributes);break;case On.Tag.StringFormat:{const u=this._cjson.getStringFormatTypeKind(i);n.addStringType("string",zn.emptyTypeAttributes,new ih.StringTypes(new Map,new Set([u])));break}case On.Tag.TransformedString:{const u=this._cjson.getStringForValue(i),l=(0,ih.inferTransformedStringTypeKindForString)(u,this._cjson.dateTimeRecognizer);if(l===void 0)return(0,ps.panic)("TransformedString does not have a kind");const d=(0,ps.defined)(_a.transformedStringTypeTargetTypeKindsMap.get(l)).attributesProducer;if(d===void 0)return(0,ps.panic)("TransformedString does not have attribute producer");n.addStringType("string",d(u),new ih.StringTypes(new Map,new Set([l])));break}default:return(0,ps.assertNever)(r)}})}inferType(t,n,i,r){const u=this.accumulatorForArray(n);return this.makeTypeFromAccumulator(u,t,i,r)}resolveRef(t,n){if(!t.startsWith("#/"))return(0,La.messageError)("InferenceJSONReferenceNotRooted",{reference:t});const i=t.split("/").slice(1),r=this._typeBuilder.typeGraph;let u=n;for(const l of i){let d=(0,Jj.derefTypeRef)(u,r);if(d instanceof _a.UnionType){const y=(0,zj.nullableFromUnion)(d);if(y===null)return(0,La.messageError)("InferenceJSONReferenceToUnion",{reference:t});d=y}if(d instanceof _a.ClassType){const y=d.getProperties().get(l);if(y===void 0)return(0,La.messageError)("InferenceJSONReferenceWrongProperty",{reference:t});u=y.typeRef}else if(d instanceof _a.MapType)u=d.values.typeRef;else if(d instanceof _a.ArrayType){if(l.match("^[0-9]+$")===null)return(0,La.messageError)("InferenceJSONReferenceInvalidArrayIndex",{reference:t});u=d.items.typeRef}else return(0,La.messageError)("InferenceJSONReferenceWrongProperty",{reference:t})}return u}inferTopLevelType(t,n,i){(0,ps.assert)(this._refIntersections===void 0,"Didn't reset ref intersections - nested invocations?"),this._cjson.handleRefs&&(this._refIntersections=[]);const r=this.inferType(t,n,i);if(this._cjson.handleRefs){for(const[u,l]of(0,ps.defined)(this._refIntersections)){const d=l.map(y=>this.resolveRef(y,r));this._typeBuilder.setSetOperationMembers(u,new Set(d))}this._refIntersections=void 0}return r}accumulatorForArray(t){const n=new Gh.UnionAccumulator(!0);return this.addValuesToAccumulator(t,n),n}makeTypeFromAccumulator(t,n,i,r){return new Gj(this._typeBuilder,this,i).buildUnion(t,!1,n,r)}inferClassType(t,n,i,r){const u=[],l={};if(am(n,y=>{for(let T=0;T<y.length;T+=2){const S=this._cjson.getStringForValue(y[T]),O=y[T+1];Object.prototype.hasOwnProperty.call(l,S)||(u.push(S),l[S]=[]),l[S].push(O)}}),this._cjson.handleRefs&&u.length===1&&u[0]==="$ref"){const y=l.$ref;if(y.every(T=>(0,On.valueTag)(T)===On.Tag.InternedString)){const T=y.map(O=>this._cjson.getStringForValue(O)),S=this._typeBuilder.getUniqueIntersectionType(t,void 0);return(0,ps.defined)(this._refIntersections).push([S,T]),S}}if(this._inferMaps&&u.length>500){const y=new Gh.UnionAccumulator(!0);for(const S of u)this.addValuesToAccumulator(l[S],y);const T=this.makeTypeFromAccumulator(y,zn.emptyTypeAttributes,i);return this._typeBuilder.getMapType(t,T,r)}const d=new Map;for(const y of u){const T=l[y],S=this.inferType(zn.emptyTypeAttributes,T,!1),O=T.length<n.length;d.set(y,this._typeBuilder.makeClassProperty(S,O))}return i?this._typeBuilder.getUniqueClassType(t,!0,d,r):this._typeBuilder.getClassType(t,d,r)}}Mc.TypeInference=qj;var z0;function yw(){if(z0)return sr;z0=1;var e=Fe&&Fe.__awaiter||function(k,P,m,C){function J(x){return x instanceof m?x:new m(function(G){G(x)})}return new(m||(m=Promise))(function(x,G){function K(A){try{R(C.next(A))}catch(b){G(b)}}function U(A){try{R(C.throw(A))}catch(b){G(b)}}function R(A){A.done?x(A.value):J(A.value).then(K,U)}R((C=C.apply(k,P||[])).next())})};Object.defineProperty(sr,"__esModule",{value:!0}),sr.InputData=sr.jsonInputForTargetLanguage=sr.JSONInput=void 0;const t=He,n=Ic,i=Ie,r=Kt,u=mr,l=wc(),d=Mc,y=Lc();function T(k,P,m){return(0,r.messageError)("MiscJSONParseError",{description:(0,t.withDefault)(P,"input"),address:k,message:(0,i.errorMessage)(m)})}class S{constructor(P){this._compressedJSON=P,this.kind="json",this.needIR=!0,this.needSchemaProcessing=!1,this._topLevels=new Map}addSample(P,m){let C=this._topLevels.get(P);C===void 0&&(C={samples:[],description:void 0},this._topLevels.set(P,C)),C.samples.push(m)}setDescription(P,m){let C=this._topLevels.get(P);if(C===void 0)return(0,i.panic)("Trying to set description for a top-level that doesn't exist");C.description=m}addSamples(P,m,C){for(const J of m)this.addSample(P,J),C!==void 0&&this.setDescription(P,C)}addSource(P){return e(this,void 0,void 0,function*(){const{name:m,samples:C,description:J}=P;try{const x=yield(0,t.arrayMapSync)(C,G=>e(this,void 0,void 0,function*(){return yield this._compressedJSON.parse(G)}));this.addSamples(m,x,J)}catch(x){return T(m,J,x)}})}addSourceSync(P){const{name:m,samples:C,description:J}=P;try{const x=C.map(G=>this._compressedJSON.parseSync(G));this.addSamples(m,x,J)}catch(x){return T(m,J,x)}}singleStringSchemaSource(){}addTypes(P,m,C,J,x){return e(this,void 0,void 0,function*(){return this.addTypesSync(P,m,C,J,x)})}addTypesSync(P,m,C,J,x){const G=new d.TypeInference(this._compressedJSON,m,C,J);for(const[K,{samples:U,description:R}]of this._topLevels){const A=G.inferTopLevelType((0,u.makeNamesTypeAttributes)(K,!1),U,x);if(m.addTopLevel(K,A),R!==void 0){const b=l.descriptionTypeAttributeKind.makeAttributes(new Set([R]));m.addAttributes(A,b)}}}}sr.JSONInput=S;function O(k,P,m=!1){typeof k=="string"&&(k=(0,i.defined)((0,y.languageNamed)(k,P)));const C=new n.CompressedJSONFromString(k.dateTimeRecognizer,m);return new S(C)}sr.jsonInputForTargetLanguage=O;class I{constructor(){this._inputs=new Set}addInput(P){this._inputs=this._inputs.add(P)}getOrAddInput(P,m){let C=(0,t.iterableFind)(this._inputs,J=>J.kind===P);return C===void 0&&(C=m(),this.addInput(C)),C}addSource(P,m,C){return e(this,void 0,void 0,function*(){yield this.getOrAddInput(P,C).addSource(m)})}addSourceSync(P,m,C){this.getOrAddInput(P,C).addSourceSync(m)}addTypes(P,m,C,J,x){return e(this,void 0,void 0,function*(){for(const G of this._inputs)yield G.addTypes(P,m,C,J,x)})}addTypesSync(P,m,C,J,x){for(const G of this._inputs)G.addTypesSync(P,m,C,J,x)}get needIR(){return(0,t.iterableSome)(this._inputs,P=>P.needIR)}get needSchemaProcessing(){return(0,t.iterableSome)(this._inputs,P=>P.needSchemaProcessing)}singleStringSchemaSource(){const P=(0,t.setFilterMap)(this._inputs,m=>m.singleStringSchemaSource());return P.size>1?(0,i.panic)("We have more than one input with a string schema source"):(0,t.iterableFirst)(P)}}return sr.InputData=I,sr}var jc={};Object.defineProperty(jc,"__esModule",{value:!0});jc.flattenStrings=void 0;const Hj=He,gw=ot(),Pu=Ie,Vj=yt;function bw(e){const t=e.stringTypeMembers;if(t.size<=1)return;const n=e.findMember("string");if(n!==void 0)return(0,Pu.assert)(!(0,gw.stringTypesForType)(n).isRestricted,"We must only flatten strings if we have no restriced strings"),t}function Kj(e,t,n){(0,Pu.assert)(e.size===1);const i=(0,Pu.defined)((0,Hj.iterableFirst)(e)),r=(0,Pu.defined)(bw(i)),u=(0,gw.combineTypeAttributesOfTypes)("union",r),l=[];for(const d of i.members)r.has(d)||l.push(t.reconstituteType(d));return l.length===0?t.getStringType((0,Vj.combineTypeAttributes)("union",u,i.getAttributes()),void 0,n):(l.push(t.getStringType(u,void 0)),t.getUnionType(i.getAttributes(),new Set(l),n))}function Zj(e,t,n){const i=e.allNamedTypesSeparated().unions,r=Array.from(i).filter(bw).map(u=>[u]);return e.rewrite("flatten strings",t,!1,r,n,Kj)}jc.flattenStrings=Zj;var Bc={};Object.defineProperty(Bc,"__esModule",{value:!0});Bc.makeTransformations=void 0;const Os=He,Qj=vi(),Mi=lt(),ar=Ie,Jt=Qo,ur=yt,Yr=Sr(),lm=ks;function Xo(e,t,n,i){const r=new Jt.Transformation(e,t,n);return i&&(console.log(`transformation for ${(0,Qj.typeRefIndex)(t)}:`),r.debugPrint(),console.log("reverse:"),r.reverse.debugPrint()),Jt.transformationTypeAttributeKind.makeAttributes(r)}function Tw(e,t,n,i){const u=Array.from(t.cases).sort().map(l=>new Jt.StringMatchTransformer(e,n,new Jt.StringProducerTransformer(e,n,i,l),l));return new Jt.ChoiceTransformer(e,n,u)}function Xj(e,t,n,i,r){const u=t.typeGraph;(0,ar.assert)(e.members.size>0,"We can't have empty unions");let l=ur.emptyTypeAttributes;function d(_){if((0,Mi.isPrimitiveStringTypeKind)(_.kind)){const L=(0,Mi.targetTypeKindForTransformedStringTypeKind)(_.kind);if(L!==void 0){const g=e.findMember(L);return l=(0,ur.combineTypeAttributes)("union",l,_.getAttributes()),g!==void 0?t.reconstituteType(g):t.getPrimitiveType(L)}}return t.reconstituteType(_)}const y=(0,Os.mapMapEntries)(e.members.entries(),_=>[_.kind,d(_)]),T=new Set(y.values()),S=T.size>1;S||t.setLostTypeAttributes();const O=S?t.getUnionType(e.getAttributes(),T):(0,ar.defined)((0,Os.iterableFirst)(T));function I(_){return(0,ar.defined)(y.get(_))}function k(_){if(S)return new Jt.UnionInstantiationTransformer(u,_)}function P(_){if(e.findMember(_)===void 0)return;const g=I(_);return new Jt.DecodingTransformer(u,g,k(g))}let m;function C(){return m===void 0&&(m=t.getStringType(ur.emptyTypeAttributes,Yr.StringTypes.unrestricted)),m}function J(_){const L=I(_.kind);if(_.kind==="string"){const g=(0,lm.minMaxLengthForType)(_);if(g===void 0)return k(L);const[p,a]=g;return new Jt.MinMaxLengthCheckTransformer(u,C(),k(L),p,a)}else return _ instanceof Mi.EnumType&&i.has(_)?Tw(u,_,C(),k(L)):new Jt.ParseStringTransformer(u,C(),k(L))}const x=(0,Os.arraySortByInto)(Array.from(e.stringTypeMembers),_=>_.kind);let G;if(x.length===0)G=void 0;else if(x.length===1){const _=x[0];G=new Jt.DecodingTransformer(u,C(),J(_))}else G=new Jt.DecodingTransformer(u,C(),new Jt.ChoiceTransformer(u,C(),x.map(_=>(0,ar.defined)(J(_)))));const K=P("class"),U=P("map");(0,ar.assert)(K===void 0||U===void 0,"Can't have both class and map in a transformed union");const R=K!==void 0?K:U,A=new Jt.DecodingChoiceTransformer(u,t.getPrimitiveType("any"),P("null"),P("integer"),P("double"),P("bool"),G,P("array"),R),b=Xo(u,O,A,r);return t.getPrimitiveType("any",(0,ur.combineTypeAttributes)("union",b,l),n)}function Yj(e,t,n,i){const r=t.getPrimitiveType("any"),u=t.getArrayType(ur.emptyTypeAttributes,r),l=t.reconstituteType(e.items),d=new Jt.ArrayDecodingTransformer(t.typeGraph,u,void 0,l,new Jt.DecodingTransformer(t.typeGraph,r,void 0)),y=t.getArrayType(t.reconstituteTypeAttributes(e.getAttributes()),l),T=Xo(t.typeGraph,y,d,i);return t.getArrayType(T,r,n)}function $j(e,t,n,i){const r=t.getStringType(ur.emptyTypeAttributes,Yr.StringTypes.unrestricted),u=new Jt.DecodingTransformer(t.typeGraph,r,Tw(t.typeGraph,e,r)),l=t.getEnumType(e.getAttributes(),e.cases),d=Xo(t.typeGraph,l,u,i);return t.getStringType(d,Yr.StringTypes.unrestricted,n)}function eB(e,t,n,i){const r=t.getStringType(ur.emptyTypeAttributes,Yr.StringTypes.unrestricted),[u,l]=(0,ar.defined)((0,lm.minMaxValueForType)(e)),d=new Jt.DecodingTransformer(t.typeGraph,r,new Jt.MinMaxValueTransformer(t.typeGraph,r,void 0,u,l)),y=t.reconstituteTypeAttributes(e.getAttributes()),T=Xo(t.typeGraph,t.getPrimitiveType("double",y,void 0),d,i);return t.getPrimitiveType("double",T,n)}function tB(e,t,n,i){const[r,u]=(0,ar.defined)((0,lm.minMaxLengthForType)(e)),l=t.reconstituteTypeAttributes(e.getAttributes()),d=t.getStringType(ur.emptyTypeAttributes,Yr.StringTypes.unrestricted),y=new Jt.DecodingTransformer(t.typeGraph,d,new Jt.MinMaxLengthCheckTransformer(t.typeGraph,d,void 0,r,u)),T=Xo(t.typeGraph,t.getStringType(l,void 0),y,i);return t.getStringType(T,Yr.StringTypes.unrestricted,n)}function nB(e,t,n,i,r){const u=n.reconstituteTypeAttributes(e.getAttributes()),l=(0,Os.withDefault)((0,Mi.targetTypeKindForTransformedStringTypeKind)(t),t),d=n.getStringType(ur.emptyTypeAttributes,Yr.StringTypes.unrestricted),y=new Jt.DecodingTransformer(n.typeGraph,d,new Jt.ParseStringTransformer(n.typeGraph,d,void 0)),T=Xo(n.typeGraph,n.getPrimitiveType(l,u),y,r);return n.getStringType(T,Yr.StringTypes.unrestricted,i)}function iB(e,t,n){const i=(0,Os.setFilter)(t.allTypesUnordered(),l=>{if(n.needsTransformerForType(l))return!0;if(!(l instanceof Mi.UnionType))return!1;const d=l.stringTypeMembers;return d.size<=1?!1:(0,Os.iterableSome)(d,y=>n.needsTransformerForType(y))});function r(l,d,y){const T=(0,ar.defined)((0,Os.iterableFirst)(l));return T instanceof Mi.UnionType?Xj(T,d,y,i,e.debugPrintTransformations):T instanceof Mi.ArrayType?Yj(T,d,y,e.debugPrintTransformations):T instanceof Mi.EnumType?$j(T,d,y,e.debugPrintTransformations):T.kind==="string"?tB(T,d,y,e.debugPrintTransformations):(0,Mi.isNumberTypeKind)(T.kind)?eB(T,d,y,e.debugPrintTransformations):(0,Mi.isPrimitiveStringTypeKind)(T.kind)?nB(T,T.kind,d,y,e.debugPrintTransformations):(0,ar.panic)(`Cannot make transformation for type ${T.kind}`)}const u=Array.from(i).map(l=>[l]);return t.rewrite("make-transformations",e.stringTypeMapping,!1,u,e.debugPrintReconstitution,r)}Bc.makeTransformations=iB;var W0;function rB(){return W0||(W0=1,function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(h,w,N,F){F===void 0&&(F=N);var B=Object.getOwnPropertyDescriptor(w,N);(!B||("get"in B?!w.__esModule:B.writable||B.configurable))&&(B={enumerable:!0,get:function(){return w[N]}}),Object.defineProperty(h,F,B)}:function(h,w,N,F){F===void 0&&(F=N),h[F]=w[N]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(h,w){Object.defineProperty(h,"default",{enumerable:!0,value:w})}:function(h,w){h.default=w}),i=Fe&&Fe.__importStar||function(h){if(h&&h.__esModule)return h;var w={};if(h!=null)for(var N in h)N!=="default"&&Object.prototype.hasOwnProperty.call(h,N)&&t(w,h,N);return n(w,h),w},r=Fe&&Fe.__awaiter||function(h,w,N,F){function B(W){return W instanceof N?W:new N(function(Q){Q(W)})}return new(N||(N=Promise))(function(W,Q){function z(X){try{j(F.next(X))}catch(te){Q(te)}}function E(X){try{j(F.throw(X))}catch(te){Q(te)}}function j(X){X.done?W(X.value):B(X.value).then(z,E)}j((F=F.apply(h,w||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.quicktype=e.combineRenderResults=e.quicktypeMultiFileSync=e.quicktypeMultiFile=e.defaultInferenceFlags=e.inferenceFlags=e.inferenceFlagNames=e.inferenceFlagsObject=e.getTargetLanguage=void 0;const u=He,l=i(Lc()),d=Ie,y=Nc,T=kc,S=Vo(),O=vi(),I=mr,k=Ec,P=Cc,m=Ac,C=Fc,J=Pc,x=Kt,G=yw(),K=jc,U=Bc;function R(h){if(typeof h=="object")return h;const w=l.languageNamed(h);return w!==void 0?w:(0,x.messageError)("DriverUnknownOutputLanguage",{lang:h})}e.getTargetLanguage=R,e.inferenceFlagsObject={inferMaps:{description:"Detect maps",negationDescription:"Don't infer maps, always use classes",explanation:"Infer maps when object keys look like map keys.",order:1},inferEnums:{description:"Detect enums",negationDescription:"Don't infer enums, always use strings",explanation:`If string values occur within a relatively small domain,
|
|
1007
|
+
infer them as enum values.`,order:2},inferUuids:{description:"Detect UUIDs",negationDescription:"Don't convert UUIDs to UUID objects",explanation:"Detect UUIDs like '123e4567-e89b-12d3-a456-426655440000' (partial support).",stringType:"uuid",order:3},inferDateTimes:{description:"Detect dates & times",negationDescription:"Don't infer dates or times",explanation:"Infer dates from strings (partial support).",stringType:"date-time",order:4},inferIntegerStrings:{description:"Detect integers in strings",negationDescription:"Don't convert stringified integers to integers",explanation:`Automatically convert stringified integers to integers.
|
|
1008
|
+
For example, "1" is converted to 1.`,stringType:"integer-string",order:5},inferBooleanStrings:{description:"Detect booleans in strings",negationDescription:"Don't convert stringified booleans to booleans",explanation:`Automatically convert stringified booleans to booleans.
|
|
1009
|
+
For example, "true" is converted to true.`,stringType:"bool-string",order:6},combineClasses:{description:"Merge similar classes",negationDescription:"Don't combine similar classes",explanation:`Combine classes with significantly overlapping properties,
|
|
1010
|
+
treating contingent properties as nullable.`,order:7},ignoreJsonRefs:{description:"Don't treat $ref as a reference in JSON",negationDescription:"Treat $ref as a reference in JSON",explanation:`Like in JSON Schema, allow objects like
|
|
1011
|
+
'{ $ref: "#/foo/bar" }' to refer
|
|
1012
|
+
to another part of the input.`,order:8}},e.inferenceFlagNames=Object.getOwnPropertyNames(e.inferenceFlagsObject),e.inferenceFlags=e.inferenceFlagsObject;const A={lang:"ts",inputData:new G.InputData,alphabetizeProperties:!1,allPropertiesOptional:!1,fixedTopLevels:!1,noRender:!1,leadingComments:void 0,rendererOptions:{},indentation:void 0,outputFilename:"stdout",debugPrintGraph:!1,checkProvenance:!1,debugPrintReconstitution:!1,debugPrintGatherNames:!1,debugPrintTransformations:!1,debugPrintTimes:!1,debugPrintSchemaResolving:!1};function b(){const h={};for(const w of e.inferenceFlagNames)h[w]=!0;return h}e.defaultInferenceFlags=b();class _{constructor(w){this._options=Object.assign({},A,e.defaultInferenceFlags);for(const N of Object.getOwnPropertyNames(w)){const F=w[N];F!==void 0&&(this._options[N]=F)}}get stringTypeMapping(){const w=R(this._options.lang),N=new Map(w.stringTypeMapping);for(const F of e.inferenceFlagNames){const B=e.inferenceFlags[F].stringType;!this._options[F]&&B!==void 0&&N.set(B,"string")}return N}get debugPrintReconstitution(){return this._options.debugPrintReconstitution===!0}get debugPrintTransformations(){return this._options.debugPrintTransformations}get debugPrintSchemaResolving(){return this._options.debugPrintSchemaResolving}timeSync(w,N){return r(this,void 0,void 0,function*(){const F=Date.now(),B=yield N(),W=Date.now();return this._options.debugPrintTimes&&console.log(`${w} took ${W-F}ms`),B})}time(w,N){const F=Date.now(),B=N(),W=Date.now();return this._options.debugPrintTimes&&console.log(`${w} took ${W-F}ms`),B}makeGraphInputs(){const w=R(this._options.lang),N=this.stringTypeMapping,F=!w.supportsUnionsWithBothNumberTypes,B=new S.TypeBuilder(0,N,this._options.alphabetizeProperties,this._options.allPropertiesOptional,this._options.checkProvenance,!1);return{targetLanguage:w,stringTypeMapping:N,conflateNumbers:F,typeBuilder:B}}makeGraph(w){return r(this,void 0,void 0,function*(){const N=this.makeGraphInputs();return yield this.timeSync("read input",()=>r(this,void 0,void 0,function*(){return yield w.addTypes(this,N.typeBuilder,this._options.inferMaps,this._options.inferEnums,this._options.fixedTopLevels)})),this.processGraph(w,N)})}makeGraphSync(w){const N=this.makeGraphInputs();return this.time("read input",()=>w.addTypesSync(this,N.typeBuilder,this._options.inferMaps,this._options.inferEnums,this._options.fixedTopLevels)),this.processGraph(w,N)}processGraph(w,N){const{targetLanguage:F,stringTypeMapping:B,conflateNumbers:W,typeBuilder:Q}=N;let z=Q.finish();this._options.debugPrintGraph&&(z.setPrintOnRewrite(),z.printGraph());const E=this.debugPrintReconstitution;(Q.didAddForwardingIntersection||!this._options.ignoreJsonRefs)&&this.time("remove indirection intersections",()=>z=(0,O.removeIndirectionIntersections)(z,B,E));let j=!1;if(w.needSchemaProcessing||!this._options.ignoreJsonRefs){let te=!1;do{const $=z;te||this.time("resolve intersections",()=>[z,te]=(0,C.resolveIntersections)(z,B,E)),j||this.time("flatten unions",()=>[z,j]=(0,m.flattenUnions)(z,B,W,!0,E)),z===$&&(0,d.assert)(te&&j,"Graph didn't change but we're not done")}while(!te||!j)}this.time("replace object type",()=>z=(0,J.replaceObjectType)(z,B,W,F.supportsFullObjectType,E));do this.time("flatten unions",()=>[z,j]=(0,m.flattenUnions)(z,B,W,!1,E));while(!j);if(this._options.combineClasses){const te=this.time("combine classes",()=>(0,y.combineClasses)(this,z,this._options.alphabetizeProperties,!0,!1,E));te===z?z=te:this.time("combine classes cleanup",()=>z=(0,y.combineClasses)(this,te,this._options.alphabetizeProperties,!1,!0,E))}if(this._options.inferMaps)for(;;){const te=this.time("infer maps",()=>(0,T.inferMaps)(z,B,!0,E));if(te===z)break;z=te}const X=w.needSchemaProcessing?"all":this._options.inferEnums?"infer":"none";return this.time("expand strings",()=>z=(0,P.expandStrings)(this,z,X)),this.time("flatten unions",()=>[z,j]=(0,m.flattenUnions)(z,B,W,!1,E)),(0,d.assert)(j,"We should only have to flatten unions once after expanding strings"),w.needSchemaProcessing&&this.time("flatten strings",()=>z=(0,K.flattenStrings)(z,B,E)),this.time("none to any",()=>z=(0,O.noneToAny)(z,B,E)),F.supportsOptionalClassProperties||this.time("optional to nullable",()=>z=(0,O.optionalToNullable)(z,B,E)),this.time("fixed point",()=>z=z.rewriteFixedPoint(!1,E)),this.time("make transformations",()=>z=(0,U.makeTransformations)(this,z,F)),this.time("flatten unions",()=>[z,j]=(0,m.flattenUnions)(z,B,W,!1,E)),(0,d.assert)(j,"We should only have to flatten unions once after making transformations"),this.time("GC",()=>z=z.garbageCollect(this._options.alphabetizeProperties,E)),this._options.debugPrintGraph&&console.log(`
|
|
1013
|
+
# gather names`),this.time("gather names",()=>(0,k.gatherNames)(z,!w.needSchemaProcessing,this._options.debugPrintGatherNames)),this._options.debugPrintGraph&&z.printGraph(),z}makeSimpleTextResult(w){return new Map([[this._options.outputFilename,{lines:w,annotations:[]}]])}preRun(){(0,I.initTypeNames)();const w=R(this._options.lang),N=this._options.inputData,B=N.needIR||w.names.indexOf("schema")<0?void 0:N.singleStringSchemaSource();if(B!==void 0){const W=JSON.stringify(JSON.parse(B),void 0,4).split(`
|
|
1014
|
+
`);W.push("");const Q={lines:W,annotations:[]};return new Map([[this._options.outputFilename,Q]])}return[N,w]}run(){return r(this,void 0,void 0,function*(){const w=this.preRun();if(!Array.isArray(w))return w;const[N,F]=w,B=yield this.makeGraph(N);return this.renderGraph(F,B)})}runSync(){const w=this.preRun();if(!Array.isArray(w))return w;const[N,F]=w,B=this.makeGraphSync(N);return this.renderGraph(F,B)}renderGraph(w,N){return this._options.noRender?this.makeSimpleTextResult(["Done.",""]):w.renderGraphAndSerialize(N,this._options.outputFilename,this._options.alphabetizeProperties,this._options.leadingComments,this._options.rendererOptions,this._options.indentation)}}function L(h){return r(this,void 0,void 0,function*(){return yield new _(h).run()})}e.quicktypeMultiFile=L;function g(h){return new _(h).runSync()}e.quicktypeMultiFileSync=g;function p(h,w){return{line:h.line+w,column:h.column}}function a(h,w){return{start:p(h.start,w),end:p(h.end,w)}}function o(h){if(h.size<=1){const F=(0,u.mapFirst)(h);return F===void 0?{lines:[],annotations:[]}:F}let w=[],N=[];for(const[F,B]of h){const W=w.length+2;w=w.concat([`// ${F}`,""],B.lines),N=N.concat(B.annotations.map(Q=>({annotation:Q.annotation,span:a(Q.span,W)})))}return{lines:w,annotations:N}}e.combineRenderResults=o;function f(h){return r(this,void 0,void 0,function*(){const w=yield L(h);return o(w)})}e.quicktype=f}(md)),md}var fr={},um={},Sw={exports:{}},rh={exports:{}},es={},Rc={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Rc.read=function(e,t,n,i,r){var u,l,d=r*8-i-1,y=(1<<d)-1,T=y>>1,S=-7,O=n?r-1:0,I=n?-1:1,k=e[t+O];for(O+=I,u=k&(1<<-S)-1,k>>=-S,S+=d;S>0;u=u*256+e[t+O],O+=I,S-=8);for(l=u&(1<<-S)-1,u>>=-S,S+=i;S>0;l=l*256+e[t+O],O+=I,S-=8);if(u===0)u=1-T;else{if(u===y)return l?NaN:(k?-1:1)*(1/0);l=l+Math.pow(2,i),u=u-T}return(k?-1:1)*l*Math.pow(2,u-i)};Rc.write=function(e,t,n,i,r,u){var l,d,y,T=u*8-r-1,S=(1<<T)-1,O=S>>1,I=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=i?0:u-1,P=i?1:-1,m=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(d=isNaN(t)?1:0,l=S):(l=Math.floor(Math.log(t)/Math.LN2),t*(y=Math.pow(2,-l))<1&&(l--,y*=2),l+O>=1?t+=I/y:t+=I*Math.pow(2,1-O),t*y>=2&&(l++,y/=2),l+O>=S?(d=0,l=S):l+O>=1?(d=(t*y-1)*Math.pow(2,r),l=l+O):(d=t*Math.pow(2,O-1)*Math.pow(2,r),l=0));r>=8;e[n+k]=d&255,k+=P,d/=256,r-=8);for(l=l<<r|d,T+=r;T>0;e[n+k]=l&255,k+=P,l/=256,T-=8);e[n+k-P]|=m*128};/*!
|
|
1015
|
+
* The buffer module from node.js, for the browser.
|
|
1016
|
+
*
|
|
1017
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
1018
|
+
* @license MIT
|
|
1019
|
+
*/(function(e){const t=qo,n=Rc,i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=d,e.SlowBuffer=x,e.INSPECT_MAX_BYTES=50;const r=2147483647;e.kMaxLength=r,d.TYPED_ARRAY_SUPPORT=u(),!d.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 u(){try{const Z=new Uint8Array(1),D={foo:function(){return 42}};return Object.setPrototypeOf(D,Uint8Array.prototype),Object.setPrototypeOf(Z,D),Z.foo()===42}catch{return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}});function l(Z){if(Z>r)throw new RangeError('The value "'+Z+'" is invalid for option "size"');const D=new Uint8Array(Z);return Object.setPrototypeOf(D,d.prototype),D}function d(Z,D,V){if(typeof Z=="number"){if(typeof D=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O(Z)}return y(Z,D,V)}d.poolSize=8192;function y(Z,D,V){if(typeof Z=="string")return I(Z,D);if(ArrayBuffer.isView(Z))return P(Z);if(Z==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Z);if(be(Z,ArrayBuffer)||Z&&be(Z.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(be(Z,SharedArrayBuffer)||Z&&be(Z.buffer,SharedArrayBuffer)))return m(Z,D,V);if(typeof Z=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const oe=Z.valueOf&&Z.valueOf();if(oe!=null&&oe!==Z)return d.from(oe,D,V);const me=C(Z);if(me)return me;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Z[Symbol.toPrimitive]=="function")return d.from(Z[Symbol.toPrimitive]("string"),D,V);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Z)}d.from=function(Z,D,V){return y(Z,D,V)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array);function T(Z){if(typeof Z!="number")throw new TypeError('"size" argument must be of type number');if(Z<0)throw new RangeError('The value "'+Z+'" is invalid for option "size"')}function S(Z,D,V){return T(Z),Z<=0?l(Z):D!==void 0?typeof V=="string"?l(Z).fill(D,V):l(Z).fill(D):l(Z)}d.alloc=function(Z,D,V){return S(Z,D,V)};function O(Z){return T(Z),l(Z<0?0:J(Z)|0)}d.allocUnsafe=function(Z){return O(Z)},d.allocUnsafeSlow=function(Z){return O(Z)};function I(Z,D){if((typeof D!="string"||D==="")&&(D="utf8"),!d.isEncoding(D))throw new TypeError("Unknown encoding: "+D);const V=G(Z,D)|0;let oe=l(V);const me=oe.write(Z,D);return me!==V&&(oe=oe.slice(0,me)),oe}function k(Z){const D=Z.length<0?0:J(Z.length)|0,V=l(D);for(let oe=0;oe<D;oe+=1)V[oe]=Z[oe]&255;return V}function P(Z){if(be(Z,Uint8Array)){const D=new Uint8Array(Z);return m(D.buffer,D.byteOffset,D.byteLength)}return k(Z)}function m(Z,D,V){if(D<0||Z.byteLength<D)throw new RangeError('"offset" is outside of buffer bounds');if(Z.byteLength<D+(V||0))throw new RangeError('"length" is outside of buffer bounds');let oe;return D===void 0&&V===void 0?oe=new Uint8Array(Z):V===void 0?oe=new Uint8Array(Z,D):oe=new Uint8Array(Z,D,V),Object.setPrototypeOf(oe,d.prototype),oe}function C(Z){if(d.isBuffer(Z)){const D=J(Z.length)|0,V=l(D);return V.length===0||Z.copy(V,0,0,D),V}if(Z.length!==void 0)return typeof Z.length!="number"||Me(Z.length)?l(0):k(Z);if(Z.type==="Buffer"&&Array.isArray(Z.data))return k(Z.data)}function J(Z){if(Z>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return Z|0}function x(Z){return+Z!=Z&&(Z=0),d.alloc(+Z)}d.isBuffer=function(D){return D!=null&&D._isBuffer===!0&&D!==d.prototype},d.compare=function(D,V){if(be(D,Uint8Array)&&(D=d.from(D,D.offset,D.byteLength)),be(V,Uint8Array)&&(V=d.from(V,V.offset,V.byteLength)),!d.isBuffer(D)||!d.isBuffer(V))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(D===V)return 0;let oe=D.length,me=V.length;for(let Le=0,Oe=Math.min(oe,me);Le<Oe;++Le)if(D[Le]!==V[Le]){oe=D[Le],me=V[Le];break}return oe<me?-1:me<oe?1:0},d.isEncoding=function(D){switch(String(D).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}},d.concat=function(D,V){if(!Array.isArray(D))throw new TypeError('"list" argument must be an Array of Buffers');if(D.length===0)return d.alloc(0);let oe;if(V===void 0)for(V=0,oe=0;oe<D.length;++oe)V+=D[oe].length;const me=d.allocUnsafe(V);let Le=0;for(oe=0;oe<D.length;++oe){let Oe=D[oe];if(be(Oe,Uint8Array))Le+Oe.length>me.length?(d.isBuffer(Oe)||(Oe=d.from(Oe)),Oe.copy(me,Le)):Uint8Array.prototype.set.call(me,Oe,Le);else if(d.isBuffer(Oe))Oe.copy(me,Le);else throw new TypeError('"list" argument must be an Array of Buffers');Le+=Oe.length}return me};function G(Z,D){if(d.isBuffer(Z))return Z.length;if(ArrayBuffer.isView(Z)||be(Z,ArrayBuffer))return Z.byteLength;if(typeof Z!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Z);const V=Z.length,oe=arguments.length>2&&arguments[2]===!0;if(!oe&&V===0)return 0;let me=!1;for(;;)switch(D){case"ascii":case"latin1":case"binary":return V;case"utf8":case"utf-8":return M(Z).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V*2;case"hex":return V>>>1;case"base64":return ue(Z).length;default:if(me)return oe?-1:M(Z).length;D=(""+D).toLowerCase(),me=!0}}d.byteLength=G;function K(Z,D,V){let oe=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((V===void 0||V>this.length)&&(V=this.length),V<=0)||(V>>>=0,D>>>=0,V<=D))return"";for(Z||(Z="utf8");;)switch(Z){case"hex":return F(this,D,V);case"utf8":case"utf-8":return o(this,D,V);case"ascii":return w(this,D,V);case"latin1":case"binary":return N(this,D,V);case"base64":return a(this,D,V);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,D,V);default:if(oe)throw new TypeError("Unknown encoding: "+Z);Z=(Z+"").toLowerCase(),oe=!0}}d.prototype._isBuffer=!0;function U(Z,D,V){const oe=Z[D];Z[D]=Z[V],Z[V]=oe}d.prototype.swap16=function(){const D=this.length;if(D%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let V=0;V<D;V+=2)U(this,V,V+1);return this},d.prototype.swap32=function(){const D=this.length;if(D%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let V=0;V<D;V+=4)U(this,V,V+3),U(this,V+1,V+2);return this},d.prototype.swap64=function(){const D=this.length;if(D%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let V=0;V<D;V+=8)U(this,V,V+7),U(this,V+1,V+6),U(this,V+2,V+5),U(this,V+3,V+4);return this},d.prototype.toString=function(){const D=this.length;return D===0?"":arguments.length===0?o(this,0,D):K.apply(this,arguments)},d.prototype.toLocaleString=d.prototype.toString,d.prototype.equals=function(D){if(!d.isBuffer(D))throw new TypeError("Argument must be a Buffer");return this===D?!0:d.compare(this,D)===0},d.prototype.inspect=function(){let D="";const V=e.INSPECT_MAX_BYTES;return D=this.toString("hex",0,V).replace(/(.{2})/g,"$1 ").trim(),this.length>V&&(D+=" ... "),"<Buffer "+D+">"},i&&(d.prototype[i]=d.prototype.inspect),d.prototype.compare=function(D,V,oe,me,Le){if(be(D,Uint8Array)&&(D=d.from(D,D.offset,D.byteLength)),!d.isBuffer(D))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof D);if(V===void 0&&(V=0),oe===void 0&&(oe=D?D.length:0),me===void 0&&(me=0),Le===void 0&&(Le=this.length),V<0||oe>D.length||me<0||Le>this.length)throw new RangeError("out of range index");if(me>=Le&&V>=oe)return 0;if(me>=Le)return-1;if(V>=oe)return 1;if(V>>>=0,oe>>>=0,me>>>=0,Le>>>=0,this===D)return 0;let Oe=Le-me,ze=oe-V;const nt=Math.min(Oe,ze),ut=this.slice(me,Le),gt=D.slice(V,oe);for(let ct=0;ct<nt;++ct)if(ut[ct]!==gt[ct]){Oe=ut[ct],ze=gt[ct];break}return Oe<ze?-1:ze<Oe?1:0};function R(Z,D,V,oe,me){if(Z.length===0)return-1;if(typeof V=="string"?(oe=V,V=0):V>2147483647?V=2147483647:V<-2147483648&&(V=-2147483648),V=+V,Me(V)&&(V=me?0:Z.length-1),V<0&&(V=Z.length+V),V>=Z.length){if(me)return-1;V=Z.length-1}else if(V<0)if(me)V=0;else return-1;if(typeof D=="string"&&(D=d.from(D,oe)),d.isBuffer(D))return D.length===0?-1:A(Z,D,V,oe,me);if(typeof D=="number")return D=D&255,typeof Uint8Array.prototype.indexOf=="function"?me?Uint8Array.prototype.indexOf.call(Z,D,V):Uint8Array.prototype.lastIndexOf.call(Z,D,V):A(Z,[D],V,oe,me);throw new TypeError("val must be string, number or Buffer")}function A(Z,D,V,oe,me){let Le=1,Oe=Z.length,ze=D.length;if(oe!==void 0&&(oe=String(oe).toLowerCase(),oe==="ucs2"||oe==="ucs-2"||oe==="utf16le"||oe==="utf-16le")){if(Z.length<2||D.length<2)return-1;Le=2,Oe/=2,ze/=2,V/=2}function nt(gt,ct){return Le===1?gt[ct]:gt.readUInt16BE(ct*Le)}let ut;if(me){let gt=-1;for(ut=V;ut<Oe;ut++)if(nt(Z,ut)===nt(D,gt===-1?0:ut-gt)){if(gt===-1&&(gt=ut),ut-gt+1===ze)return gt*Le}else gt!==-1&&(ut-=ut-gt),gt=-1}else for(V+ze>Oe&&(V=Oe-ze),ut=V;ut>=0;ut--){let gt=!0;for(let ct=0;ct<ze;ct++)if(nt(Z,ut+ct)!==nt(D,ct)){gt=!1;break}if(gt)return ut}return-1}d.prototype.includes=function(D,V,oe){return this.indexOf(D,V,oe)!==-1},d.prototype.indexOf=function(D,V,oe){return R(this,D,V,oe,!0)},d.prototype.lastIndexOf=function(D,V,oe){return R(this,D,V,oe,!1)};function b(Z,D,V,oe){V=Number(V)||0;const me=Z.length-V;oe?(oe=Number(oe),oe>me&&(oe=me)):oe=me;const Le=D.length;oe>Le/2&&(oe=Le/2);let Oe;for(Oe=0;Oe<oe;++Oe){const ze=parseInt(D.substr(Oe*2,2),16);if(Me(ze))return Oe;Z[V+Oe]=ze}return Oe}function _(Z,D,V,oe){return ve(M(D,Z.length-V),Z,V,oe)}function L(Z,D,V,oe){return ve(q(D),Z,V,oe)}function g(Z,D,V,oe){return ve(ue(D),Z,V,oe)}function p(Z,D,V,oe){return ve(ie(D,Z.length-V),Z,V,oe)}d.prototype.write=function(D,V,oe,me){if(V===void 0)me="utf8",oe=this.length,V=0;else if(oe===void 0&&typeof V=="string")me=V,oe=this.length,V=0;else if(isFinite(V))V=V>>>0,isFinite(oe)?(oe=oe>>>0,me===void 0&&(me="utf8")):(me=oe,oe=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Le=this.length-V;if((oe===void 0||oe>Le)&&(oe=Le),D.length>0&&(oe<0||V<0)||V>this.length)throw new RangeError("Attempt to write outside buffer bounds");me||(me="utf8");let Oe=!1;for(;;)switch(me){case"hex":return b(this,D,V,oe);case"utf8":case"utf-8":return _(this,D,V,oe);case"ascii":case"latin1":case"binary":return L(this,D,V,oe);case"base64":return g(this,D,V,oe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p(this,D,V,oe);default:if(Oe)throw new TypeError("Unknown encoding: "+me);me=(""+me).toLowerCase(),Oe=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function a(Z,D,V){return D===0&&V===Z.length?t.fromByteArray(Z):t.fromByteArray(Z.slice(D,V))}function o(Z,D,V){V=Math.min(Z.length,V);const oe=[];let me=D;for(;me<V;){const Le=Z[me];let Oe=null,ze=Le>239?4:Le>223?3:Le>191?2:1;if(me+ze<=V){let nt,ut,gt,ct;switch(ze){case 1:Le<128&&(Oe=Le);break;case 2:nt=Z[me+1],(nt&192)===128&&(ct=(Le&31)<<6|nt&63,ct>127&&(Oe=ct));break;case 3:nt=Z[me+1],ut=Z[me+2],(nt&192)===128&&(ut&192)===128&&(ct=(Le&15)<<12|(nt&63)<<6|ut&63,ct>2047&&(ct<55296||ct>57343)&&(Oe=ct));break;case 4:nt=Z[me+1],ut=Z[me+2],gt=Z[me+3],(nt&192)===128&&(ut&192)===128&&(gt&192)===128&&(ct=(Le&15)<<18|(nt&63)<<12|(ut&63)<<6|gt&63,ct>65535&&ct<1114112&&(Oe=ct))}}Oe===null?(Oe=65533,ze=1):Oe>65535&&(Oe-=65536,oe.push(Oe>>>10&1023|55296),Oe=56320|Oe&1023),oe.push(Oe),me+=ze}return h(oe)}const f=4096;function h(Z){const D=Z.length;if(D<=f)return String.fromCharCode.apply(String,Z);let V="",oe=0;for(;oe<D;)V+=String.fromCharCode.apply(String,Z.slice(oe,oe+=f));return V}function w(Z,D,V){let oe="";V=Math.min(Z.length,V);for(let me=D;me<V;++me)oe+=String.fromCharCode(Z[me]&127);return oe}function N(Z,D,V){let oe="";V=Math.min(Z.length,V);for(let me=D;me<V;++me)oe+=String.fromCharCode(Z[me]);return oe}function F(Z,D,V){const oe=Z.length;(!D||D<0)&&(D=0),(!V||V<0||V>oe)&&(V=oe);let me="";for(let Le=D;Le<V;++Le)me+=je[Z[Le]];return me}function B(Z,D,V){const oe=Z.slice(D,V);let me="";for(let Le=0;Le<oe.length-1;Le+=2)me+=String.fromCharCode(oe[Le]+oe[Le+1]*256);return me}d.prototype.slice=function(D,V){const oe=this.length;D=~~D,V=V===void 0?oe:~~V,D<0?(D+=oe,D<0&&(D=0)):D>oe&&(D=oe),V<0?(V+=oe,V<0&&(V=0)):V>oe&&(V=oe),V<D&&(V=D);const me=this.subarray(D,V);return Object.setPrototypeOf(me,d.prototype),me};function W(Z,D,V){if(Z%1!==0||Z<0)throw new RangeError("offset is not uint");if(Z+D>V)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(D,V,oe){D=D>>>0,V=V>>>0,oe||W(D,V,this.length);let me=this[D],Le=1,Oe=0;for(;++Oe<V&&(Le*=256);)me+=this[D+Oe]*Le;return me},d.prototype.readUintBE=d.prototype.readUIntBE=function(D,V,oe){D=D>>>0,V=V>>>0,oe||W(D,V,this.length);let me=this[D+--V],Le=1;for(;V>0&&(Le*=256);)me+=this[D+--V]*Le;return me},d.prototype.readUint8=d.prototype.readUInt8=function(D,V){return D=D>>>0,V||W(D,1,this.length),this[D]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(D,V){return D=D>>>0,V||W(D,2,this.length),this[D]|this[D+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(D,V){return D=D>>>0,V||W(D,2,this.length),this[D]<<8|this[D+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(D,V){return D=D>>>0,V||W(D,4,this.length),(this[D]|this[D+1]<<8|this[D+2]<<16)+this[D+3]*16777216},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(D,V){return D=D>>>0,V||W(D,4,this.length),this[D]*16777216+(this[D+1]<<16|this[D+2]<<8|this[D+3])},d.prototype.readBigUInt64LE=he(function(D){D=D>>>0,le(D,"offset");const V=this[D],oe=this[D+7];(V===void 0||oe===void 0)&&fe(D,this.length-8);const me=V+this[++D]*2**8+this[++D]*2**16+this[++D]*2**24,Le=this[++D]+this[++D]*2**8+this[++D]*2**16+oe*2**24;return BigInt(me)+(BigInt(Le)<<BigInt(32))}),d.prototype.readBigUInt64BE=he(function(D){D=D>>>0,le(D,"offset");const V=this[D],oe=this[D+7];(V===void 0||oe===void 0)&&fe(D,this.length-8);const me=V*2**24+this[++D]*2**16+this[++D]*2**8+this[++D],Le=this[++D]*2**24+this[++D]*2**16+this[++D]*2**8+oe;return(BigInt(me)<<BigInt(32))+BigInt(Le)}),d.prototype.readIntLE=function(D,V,oe){D=D>>>0,V=V>>>0,oe||W(D,V,this.length);let me=this[D],Le=1,Oe=0;for(;++Oe<V&&(Le*=256);)me+=this[D+Oe]*Le;return Le*=128,me>=Le&&(me-=Math.pow(2,8*V)),me},d.prototype.readIntBE=function(D,V,oe){D=D>>>0,V=V>>>0,oe||W(D,V,this.length);let me=V,Le=1,Oe=this[D+--me];for(;me>0&&(Le*=256);)Oe+=this[D+--me]*Le;return Le*=128,Oe>=Le&&(Oe-=Math.pow(2,8*V)),Oe},d.prototype.readInt8=function(D,V){return D=D>>>0,V||W(D,1,this.length),this[D]&128?(255-this[D]+1)*-1:this[D]},d.prototype.readInt16LE=function(D,V){D=D>>>0,V||W(D,2,this.length);const oe=this[D]|this[D+1]<<8;return oe&32768?oe|4294901760:oe},d.prototype.readInt16BE=function(D,V){D=D>>>0,V||W(D,2,this.length);const oe=this[D+1]|this[D]<<8;return oe&32768?oe|4294901760:oe},d.prototype.readInt32LE=function(D,V){return D=D>>>0,V||W(D,4,this.length),this[D]|this[D+1]<<8|this[D+2]<<16|this[D+3]<<24},d.prototype.readInt32BE=function(D,V){return D=D>>>0,V||W(D,4,this.length),this[D]<<24|this[D+1]<<16|this[D+2]<<8|this[D+3]},d.prototype.readBigInt64LE=he(function(D){D=D>>>0,le(D,"offset");const V=this[D],oe=this[D+7];(V===void 0||oe===void 0)&&fe(D,this.length-8);const me=this[D+4]+this[D+5]*2**8+this[D+6]*2**16+(oe<<24);return(BigInt(me)<<BigInt(32))+BigInt(V+this[++D]*2**8+this[++D]*2**16+this[++D]*2**24)}),d.prototype.readBigInt64BE=he(function(D){D=D>>>0,le(D,"offset");const V=this[D],oe=this[D+7];(V===void 0||oe===void 0)&&fe(D,this.length-8);const me=(V<<24)+this[++D]*2**16+this[++D]*2**8+this[++D];return(BigInt(me)<<BigInt(32))+BigInt(this[++D]*2**24+this[++D]*2**16+this[++D]*2**8+oe)}),d.prototype.readFloatLE=function(D,V){return D=D>>>0,V||W(D,4,this.length),n.read(this,D,!0,23,4)},d.prototype.readFloatBE=function(D,V){return D=D>>>0,V||W(D,4,this.length),n.read(this,D,!1,23,4)},d.prototype.readDoubleLE=function(D,V){return D=D>>>0,V||W(D,8,this.length),n.read(this,D,!0,52,8)},d.prototype.readDoubleBE=function(D,V){return D=D>>>0,V||W(D,8,this.length),n.read(this,D,!1,52,8)};function Q(Z,D,V,oe,me,Le){if(!d.isBuffer(Z))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>me||D<Le)throw new RangeError('"value" argument is out of bounds');if(V+oe>Z.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(D,V,oe,me){if(D=+D,V=V>>>0,oe=oe>>>0,!me){const ze=Math.pow(2,8*oe)-1;Q(this,D,V,oe,ze,0)}let Le=1,Oe=0;for(this[V]=D&255;++Oe<oe&&(Le*=256);)this[V+Oe]=D/Le&255;return V+oe},d.prototype.writeUintBE=d.prototype.writeUIntBE=function(D,V,oe,me){if(D=+D,V=V>>>0,oe=oe>>>0,!me){const ze=Math.pow(2,8*oe)-1;Q(this,D,V,oe,ze,0)}let Le=oe-1,Oe=1;for(this[V+Le]=D&255;--Le>=0&&(Oe*=256);)this[V+Le]=D/Oe&255;return V+oe},d.prototype.writeUint8=d.prototype.writeUInt8=function(D,V,oe){return D=+D,V=V>>>0,oe||Q(this,D,V,1,255,0),this[V]=D&255,V+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(D,V,oe){return D=+D,V=V>>>0,oe||Q(this,D,V,2,65535,0),this[V]=D&255,this[V+1]=D>>>8,V+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(D,V,oe){return D=+D,V=V>>>0,oe||Q(this,D,V,2,65535,0),this[V]=D>>>8,this[V+1]=D&255,V+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(D,V,oe){return D=+D,V=V>>>0,oe||Q(this,D,V,4,4294967295,0),this[V+3]=D>>>24,this[V+2]=D>>>16,this[V+1]=D>>>8,this[V]=D&255,V+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(D,V,oe){return D=+D,V=V>>>0,oe||Q(this,D,V,4,4294967295,0),this[V]=D>>>24,this[V+1]=D>>>16,this[V+2]=D>>>8,this[V+3]=D&255,V+4};function z(Z,D,V,oe,me){Ne(D,oe,me,Z,V,7);let Le=Number(D&BigInt(4294967295));Z[V++]=Le,Le=Le>>8,Z[V++]=Le,Le=Le>>8,Z[V++]=Le,Le=Le>>8,Z[V++]=Le;let Oe=Number(D>>BigInt(32)&BigInt(4294967295));return Z[V++]=Oe,Oe=Oe>>8,Z[V++]=Oe,Oe=Oe>>8,Z[V++]=Oe,Oe=Oe>>8,Z[V++]=Oe,V}function E(Z,D,V,oe,me){Ne(D,oe,me,Z,V,7);let Le=Number(D&BigInt(4294967295));Z[V+7]=Le,Le=Le>>8,Z[V+6]=Le,Le=Le>>8,Z[V+5]=Le,Le=Le>>8,Z[V+4]=Le;let Oe=Number(D>>BigInt(32)&BigInt(4294967295));return Z[V+3]=Oe,Oe=Oe>>8,Z[V+2]=Oe,Oe=Oe>>8,Z[V+1]=Oe,Oe=Oe>>8,Z[V]=Oe,V+8}d.prototype.writeBigUInt64LE=he(function(D,V=0){return z(this,D,V,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=he(function(D,V=0){return E(this,D,V,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(D,V,oe,me){if(D=+D,V=V>>>0,!me){const nt=Math.pow(2,8*oe-1);Q(this,D,V,oe,nt-1,-nt)}let Le=0,Oe=1,ze=0;for(this[V]=D&255;++Le<oe&&(Oe*=256);)D<0&&ze===0&&this[V+Le-1]!==0&&(ze=1),this[V+Le]=(D/Oe>>0)-ze&255;return V+oe},d.prototype.writeIntBE=function(D,V,oe,me){if(D=+D,V=V>>>0,!me){const nt=Math.pow(2,8*oe-1);Q(this,D,V,oe,nt-1,-nt)}let Le=oe-1,Oe=1,ze=0;for(this[V+Le]=D&255;--Le>=0&&(Oe*=256);)D<0&&ze===0&&this[V+Le+1]!==0&&(ze=1),this[V+Le]=(D/Oe>>0)-ze&255;return V+oe},d.prototype.writeInt8=function(D,V,oe){return D=+D,V=V>>>0,oe||Q(this,D,V,1,127,-128),D<0&&(D=255+D+1),this[V]=D&255,V+1},d.prototype.writeInt16LE=function(D,V,oe){return D=+D,V=V>>>0,oe||Q(this,D,V,2,32767,-32768),this[V]=D&255,this[V+1]=D>>>8,V+2},d.prototype.writeInt16BE=function(D,V,oe){return D=+D,V=V>>>0,oe||Q(this,D,V,2,32767,-32768),this[V]=D>>>8,this[V+1]=D&255,V+2},d.prototype.writeInt32LE=function(D,V,oe){return D=+D,V=V>>>0,oe||Q(this,D,V,4,2147483647,-2147483648),this[V]=D&255,this[V+1]=D>>>8,this[V+2]=D>>>16,this[V+3]=D>>>24,V+4},d.prototype.writeInt32BE=function(D,V,oe){return D=+D,V=V>>>0,oe||Q(this,D,V,4,2147483647,-2147483648),D<0&&(D=4294967295+D+1),this[V]=D>>>24,this[V+1]=D>>>16,this[V+2]=D>>>8,this[V+3]=D&255,V+4},d.prototype.writeBigInt64LE=he(function(D,V=0){return z(this,D,V,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=he(function(D,V=0){return E(this,D,V,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function j(Z,D,V,oe,me,Le){if(V+oe>Z.length)throw new RangeError("Index out of range");if(V<0)throw new RangeError("Index out of range")}function X(Z,D,V,oe,me){return D=+D,V=V>>>0,me||j(Z,D,V,4),n.write(Z,D,V,oe,23,4),V+4}d.prototype.writeFloatLE=function(D,V,oe){return X(this,D,V,!0,oe)},d.prototype.writeFloatBE=function(D,V,oe){return X(this,D,V,!1,oe)};function te(Z,D,V,oe,me){return D=+D,V=V>>>0,me||j(Z,D,V,8),n.write(Z,D,V,oe,52,8),V+8}d.prototype.writeDoubleLE=function(D,V,oe){return te(this,D,V,!0,oe)},d.prototype.writeDoubleBE=function(D,V,oe){return te(this,D,V,!1,oe)},d.prototype.copy=function(D,V,oe,me){if(!d.isBuffer(D))throw new TypeError("argument should be a Buffer");if(oe||(oe=0),!me&&me!==0&&(me=this.length),V>=D.length&&(V=D.length),V||(V=0),me>0&&me<oe&&(me=oe),me===oe||D.length===0||this.length===0)return 0;if(V<0)throw new RangeError("targetStart out of bounds");if(oe<0||oe>=this.length)throw new RangeError("Index out of range");if(me<0)throw new RangeError("sourceEnd out of bounds");me>this.length&&(me=this.length),D.length-V<me-oe&&(me=D.length-V+oe);const Le=me-oe;return this===D&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(V,oe,me):Uint8Array.prototype.set.call(D,this.subarray(oe,me),V),Le},d.prototype.fill=function(D,V,oe,me){if(typeof D=="string"){if(typeof V=="string"?(me=V,V=0,oe=this.length):typeof oe=="string"&&(me=oe,oe=this.length),me!==void 0&&typeof me!="string")throw new TypeError("encoding must be a string");if(typeof me=="string"&&!d.isEncoding(me))throw new TypeError("Unknown encoding: "+me);if(D.length===1){const Oe=D.charCodeAt(0);(me==="utf8"&&Oe<128||me==="latin1")&&(D=Oe)}}else typeof D=="number"?D=D&255:typeof D=="boolean"&&(D=Number(D));if(V<0||this.length<V||this.length<oe)throw new RangeError("Out of range index");if(oe<=V)return this;V=V>>>0,oe=oe===void 0?this.length:oe>>>0,D||(D=0);let Le;if(typeof D=="number")for(Le=V;Le<oe;++Le)this[Le]=D;else{const Oe=d.isBuffer(D)?D:d.from(D,me),ze=Oe.length;if(ze===0)throw new TypeError('The value "'+D+'" is invalid for argument "value"');for(Le=0;Le<oe-V;++Le)this[Le+V]=Oe[Le%ze]}return this};const $={};function ne(Z,D,V){$[Z]=class extends V{constructor(){super(),Object.defineProperty(this,"message",{value:D.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${Z}]`,this.stack,delete this.name}get code(){return Z}set code(me){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:me,writable:!0})}toString(){return`${this.name} [${Z}]: ${this.message}`}}}ne("ERR_BUFFER_OUT_OF_BOUNDS",function(Z){return Z?`${Z} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ne("ERR_INVALID_ARG_TYPE",function(Z,D){return`The "${Z}" argument must be of type number. Received type ${typeof D}`},TypeError),ne("ERR_OUT_OF_RANGE",function(Z,D,V){let oe=`The value of "${Z}" is out of range.`,me=V;return Number.isInteger(V)&&Math.abs(V)>2**32?me=ce(String(V)):typeof V=="bigint"&&(me=String(V),(V>BigInt(2)**BigInt(32)||V<-(BigInt(2)**BigInt(32)))&&(me=ce(me)),me+="n"),oe+=` It must be ${D}. Received ${me}`,oe},RangeError);function ce(Z){let D="",V=Z.length;const oe=Z[0]==="-"?1:0;for(;V>=oe+4;V-=3)D=`_${Z.slice(V-3,V)}${D}`;return`${Z.slice(0,V)}${D}`}function Te(Z,D,V){le(D,"offset"),(Z[D]===void 0||Z[D+V]===void 0)&&fe(D,Z.length-(V+1))}function Ne(Z,D,V,oe,me,Le){if(Z>V||Z<D){const Oe=typeof D=="bigint"?"n":"";let ze;throw Le>3?D===0||D===BigInt(0)?ze=`>= 0${Oe} and < 2${Oe} ** ${(Le+1)*8}${Oe}`:ze=`>= -(2${Oe} ** ${(Le+1)*8-1}${Oe}) and < 2 ** ${(Le+1)*8-1}${Oe}`:ze=`>= ${D}${Oe} and <= ${V}${Oe}`,new $.ERR_OUT_OF_RANGE("value",ze,Z)}Te(oe,me,Le)}function le(Z,D){if(typeof Z!="number")throw new $.ERR_INVALID_ARG_TYPE(D,"number",Z)}function fe(Z,D,V){throw Math.floor(Z)!==Z?(le(Z,V),new $.ERR_OUT_OF_RANGE(V||"offset","an integer",Z)):D<0?new $.ERR_BUFFER_OUT_OF_BOUNDS:new $.ERR_OUT_OF_RANGE(V||"offset",`>= ${V?1:0} and <= ${D}`,Z)}const _e=/[^+/0-9A-Za-z-_]/g;function Y(Z){if(Z=Z.split("=")[0],Z=Z.trim().replace(_e,""),Z.length<2)return"";for(;Z.length%4!==0;)Z=Z+"=";return Z}function M(Z,D){D=D||1/0;let V;const oe=Z.length;let me=null;const Le=[];for(let Oe=0;Oe<oe;++Oe){if(V=Z.charCodeAt(Oe),V>55295&&V<57344){if(!me){if(V>56319){(D-=3)>-1&&Le.push(239,191,189);continue}else if(Oe+1===oe){(D-=3)>-1&&Le.push(239,191,189);continue}me=V;continue}if(V<56320){(D-=3)>-1&&Le.push(239,191,189),me=V;continue}V=(me-55296<<10|V-56320)+65536}else me&&(D-=3)>-1&&Le.push(239,191,189);if(me=null,V<128){if((D-=1)<0)break;Le.push(V)}else if(V<2048){if((D-=2)<0)break;Le.push(V>>6|192,V&63|128)}else if(V<65536){if((D-=3)<0)break;Le.push(V>>12|224,V>>6&63|128,V&63|128)}else if(V<1114112){if((D-=4)<0)break;Le.push(V>>18|240,V>>12&63|128,V>>6&63|128,V&63|128)}else throw new Error("Invalid code point")}return Le}function q(Z){const D=[];for(let V=0;V<Z.length;++V)D.push(Z.charCodeAt(V)&255);return D}function ie(Z,D){let V,oe,me;const Le=[];for(let Oe=0;Oe<Z.length&&!((D-=2)<0);++Oe)V=Z.charCodeAt(Oe),oe=V>>8,me=V%256,Le.push(me),Le.push(oe);return Le}function ue(Z){return t.toByteArray(Y(Z))}function ve(Z,D,V,oe){let me;for(me=0;me<oe&&!(me+V>=D.length||me>=Z.length);++me)D[me+V]=Z[me];return me}function be(Z,D){return Z instanceof D||Z!=null&&Z.constructor!=null&&Z.constructor.name!=null&&Z.constructor.name===D.name}function Me(Z){return Z!==Z}const je=function(){const Z="0123456789abcdef",D=new Array(256);for(let V=0;V<16;++V){const oe=V*16;for(let me=0;me<16;++me)D[oe+me]=Z[V]+Z[me]}return D}();function he(Z){return typeof BigInt>"u"?ye:Z}function ye(){throw new Error("BigInt not supported")}})(es);var Wt={ArrayIsArray(e){return Array.isArray(e)},ArrayPrototypeIncludes(e,t){return e.includes(t)},ArrayPrototypeIndexOf(e,t){return e.indexOf(t)},ArrayPrototypeJoin(e,t){return e.join(t)},ArrayPrototypeMap(e,t){return e.map(t)},ArrayPrototypePop(e,t){return e.pop(t)},ArrayPrototypePush(e,t){return e.push(t)},ArrayPrototypeSlice(e,t,n){return e.slice(t,n)},Error,FunctionPrototypeCall(e,t,...n){return e.call(t,...n)},FunctionPrototypeSymbolHasInstance(e,t){return Function.prototype[Symbol.hasInstance].call(e,t)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(e,t){return Object.defineProperties(e,t)},ObjectDefineProperty(e,t,n){return Object.defineProperty(e,t,n)},ObjectGetOwnPropertyDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)},ObjectKeys(e){return Object.keys(e)},ObjectSetPrototypeOf(e,t){return Object.setPrototypeOf(e,t)},Promise,PromisePrototypeCatch(e,t){return e.catch(t)},PromisePrototypeThen(e,t,n){return e.then(t,n)},PromiseReject(e){return Promise.reject(e)},PromiseResolve(e){return Promise.resolve(e)},ReflectApply:Reflect.apply,RegExpPrototypeTest(e,t){return e.test(t)},SafeSet:Set,String,StringPrototypeSlice(e,t,n){return e.slice(t,n)},StringPrototypeToLowerCase(e){return e.toLowerCase()},StringPrototypeToUpperCase(e){return e.toUpperCase()},StringPrototypeTrim(e){return e.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(e,t,n){return e.set(t,n)},Boolean,Uint8Array},vw={exports:{}},Iu={exports:{}},sB=Iu.exports,G0;function Ka(){return G0||(G0=1,Object.defineProperty(sB,"__esModule",{value:!0}),Iu.exports=Object.freeze(Object.create(null,{__unenv__:{get:()=>!0}}))),Iu.exports}var cm={exports:{}},Fo=typeof Reflect=="object"?Reflect:null,q0=Fo&&typeof Fo.apply=="function"?Fo.apply:function(t,n,i){return Function.prototype.apply.call(t,n,i)},Mu;Fo&&typeof Fo.ownKeys=="function"?Mu=Fo.ownKeys:Object.getOwnPropertySymbols?Mu=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Mu=function(t){return Object.getOwnPropertyNames(t)};function oB(e){console&&console.warn&&console.warn(e)}var ww=Number.isNaN||function(t){return t!==t};function Nt(){Nt.init.call(this)}cm.exports=Nt;cm.exports.once=cB;Nt.EventEmitter=Nt;Nt.prototype._events=void 0;Nt.prototype._eventsCount=0;Nt.prototype._maxListeners=void 0;var H0=10;function Dc(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Nt,"defaultMaxListeners",{enumerable:!0,get:function(){return H0},set:function(e){if(typeof e!="number"||e<0||ww(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");H0=e}});Nt.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Nt.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||ww(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function _w(e){return e._maxListeners===void 0?Nt.defaultMaxListeners:e._maxListeners}Nt.prototype.getMaxListeners=function(){return _w(this)};Nt.prototype.emit=function(t){for(var n=[],i=1;i<arguments.length;i++)n.push(arguments[i]);var r=t==="error",u=this._events;if(u!==void 0)r=r&&u.error===void 0;else if(!r)return!1;if(r){var l;if(n.length>0&&(l=n[0]),l instanceof Error)throw l;var d=new Error("Unhandled error."+(l?" ("+l.message+")":""));throw d.context=l,d}var y=u[t];if(y===void 0)return!1;if(typeof y=="function")q0(y,this,n);else for(var T=y.length,S=Ew(y,T),i=0;i<T;++i)q0(S[i],this,n);return!0};function Lw(e,t,n,i){var r,u,l;if(Dc(n),u=e._events,u===void 0?(u=e._events=Object.create(null),e._eventsCount=0):(u.newListener!==void 0&&(e.emit("newListener",t,n.listener?n.listener:n),u=e._events),l=u[t]),l===void 0)l=u[t]=n,++e._eventsCount;else if(typeof l=="function"?l=u[t]=i?[n,l]:[l,n]:i?l.unshift(n):l.push(n),r=_w(e),r>0&&l.length>r&&!l.warned){l.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=e,d.type=t,d.count=l.length,oB(d)}return e}Nt.prototype.addListener=function(t,n){return Lw(this,t,n,!1)};Nt.prototype.on=Nt.prototype.addListener;Nt.prototype.prependListener=function(t,n){return Lw(this,t,n,!0)};function aB(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Nw(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=aB.bind(i);return r.listener=n,i.wrapFn=r,r}Nt.prototype.once=function(t,n){return Dc(n),this.on(t,Nw(this,t,n)),this};Nt.prototype.prependOnceListener=function(t,n){return Dc(n),this.prependListener(t,Nw(this,t,n)),this};Nt.prototype.removeListener=function(t,n){var i,r,u,l,d;if(Dc(n),r=this._events,r===void 0)return this;if(i=r[t],i===void 0)return this;if(i===n||i.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,i.listener||n));else if(typeof i!="function"){for(u=-1,l=i.length-1;l>=0;l--)if(i[l]===n||i[l].listener===n){d=i[l].listener,u=l;break}if(u<0)return this;u===0?i.shift():lB(i,u),i.length===1&&(r[t]=i[0]),r.removeListener!==void 0&&this.emit("removeListener",t,d||n)}return this};Nt.prototype.off=Nt.prototype.removeListener;Nt.prototype.removeAllListeners=function(t){var n,i,r;if(i=this._events,i===void 0)return this;if(i.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):i[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete i[t]),this;if(arguments.length===0){var u=Object.keys(i),l;for(r=0;r<u.length;++r)l=u[r],l!=="removeListener"&&this.removeAllListeners(l);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=i[t],typeof n=="function")this.removeListener(t,n);else if(n!==void 0)for(r=n.length-1;r>=0;r--)this.removeListener(t,n[r]);return this};function kw(e,t,n){var i=e._events;if(i===void 0)return[];var r=i[t];return r===void 0?[]:typeof r=="function"?n?[r.listener||r]:[r]:n?uB(r):Ew(r,r.length)}Nt.prototype.listeners=function(t){return kw(this,t,!0)};Nt.prototype.rawListeners=function(t){return kw(this,t,!1)};Nt.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Ow.call(e,t)};Nt.prototype.listenerCount=Ow;function Ow(e){var t=this._events;if(t!==void 0){var n=t[e];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}Nt.prototype.eventNames=function(){return this._eventsCount>0?Mu(this._events):[]};function Ew(e,t){for(var n=new Array(t),i=0;i<t;++i)n[i]=e[i];return n}function lB(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function uB(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function cB(e,t){return new Promise(function(n,i){function r(l){e.removeListener(t,u),i(l)}function u(){typeof e.removeListener=="function"&&e.removeListener("error",r),n([].slice.call(arguments))}Cw(e,t,u,{once:!0}),t!=="error"&&fB(e,r,{once:!0})})}function fB(e,t,n){typeof e.on=="function"&&Cw(e,"error",t,n)}function Cw(e,t,n,i){if(typeof e.on=="function")i.once?e.once(t,n):e.on(t,n);else if(typeof e.addEventListener=="function")e.addEventListener(t,function r(u){i.once&&e.removeEventListener(t,r),n(u)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var xc=cm.exports;(function(e){const t=es,{kResistStopPropagation:n,SymbolDispose:i}=Wt,r=globalThis.AbortSignal||Ka().AbortSignal,u=globalThis.AbortController||Ka().AbortController,l=Object.getPrototypeOf(async function(){}).constructor,d=globalThis.Blob||t.Blob,y=typeof d<"u"?function(k){return k instanceof d}:function(k){return!1},T=(I,k)=>{if(I!==void 0&&(I===null||typeof I!="object"||!("aborted"in I)))throw new ERR_INVALID_ARG_TYPE(k,"AbortSignal",I)},S=(I,k)=>{if(typeof I!="function")throw new ERR_INVALID_ARG_TYPE(k,"Function",I)};class O extends Error{constructor(k){if(!Array.isArray(k))throw new TypeError(`Expected input to be an Array, got ${typeof k}`);let P="";for(let m=0;m<k.length;m++)P+=` ${k[m].stack}
|
|
1020
|
+
`;super(P),this.name="AggregateError",this.errors=k}}e.exports={AggregateError:O,kEmptyObject:Object.freeze({}),once(I){let k=!1;return function(...P){k||(k=!0,I.apply(this,P))}},createDeferredPromise:function(){let I,k;return{promise:new Promise((m,C)=>{I=m,k=C}),resolve:I,reject:k}},promisify(I){return new Promise((k,P)=>{I((m,...C)=>m?P(m):k(...C))})},debuglog(){return function(){}},format(I,...k){return I.replace(/%([sdifj])/g,function(...[P,m]){const C=k.shift();return m==="f"?C.toFixed(6):m==="j"?JSON.stringify(C):m==="s"&&typeof C=="object"?`${C.constructor!==Object?C.constructor.name:""} {}`.trim():C.toString()})},inspect(I){switch(typeof I){case"string":if(I.includes("'"))if(I.includes('"')){if(!I.includes("`")&&!I.includes("${"))return`\`${I}\``}else return`"${I}"`;return`'${I}'`;case"number":return isNaN(I)?"NaN":Object.is(I,-0)?String(I):I;case"bigint":return`${String(I)}n`;case"boolean":case"undefined":return String(I);case"object":return"{}"}},types:{isAsyncFunction(I){return I instanceof l},isArrayBufferView(I){return ArrayBuffer.isView(I)}},isBlob:y,deprecate(I,k){return I},addAbortListener:xc.addAbortListener||function(k,P){if(k===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",k);T(k,"signal"),S(P,"listener");let m;return k.aborted?queueMicrotask(()=>P()):(k.addEventListener("abort",P,{__proto__:null,once:!0,[n]:!0}),m=()=>{k.removeEventListener("abort",P)}),{__proto__:null,[i](){var C;(C=m)===null||C===void 0||C()}}},AbortSignalAny:r.any||function(k){if(k.length===1)return k[0];const P=new u,m=()=>P.abort();return k.forEach(C=>{T(C,"signals"),C.addEventListener("abort",m,{once:!0})}),P.signal.addEventListener("abort",()=>{k.forEach(C=>C.removeEventListener("abort",m))},{once:!0}),P.signal}},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(vw);var vn=vw.exports,fm={};const{format:dB,inspect:Zu,AggregateError:hB}=vn,pB=globalThis.AggregateError||hB,mB=Symbol("kIsNodeError"),yB=["string","function","number","object","Function","Object","boolean","bigint","symbol"],gB=/^([A-Z][a-z0-9]*)+$/,bB="__node_internal_",Uc={};function Es(e,t){if(!e)throw new Uc.ERR_INTERNAL_ASSERTION(t)}function V0(e){let t="",n=e.length;const i=e[0]==="-"?1:0;for(;n>=i+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function TB(e,t,n){if(typeof t=="function")return Es(t.length<=n.length,`Code: ${e}; The provided arguments length (${n.length}) does not match the required ones (${t.length}).`),t(...n);const i=(t.match(/%[dfijoOs]/g)||[]).length;return Es(i===n.length,`Code: ${e}; The provided arguments length (${n.length}) does not match the required ones (${i}).`),n.length===0?t:dB(t,...n)}function un(e,t,n){n||(n=Error);class i extends n{constructor(...u){super(TB(e,t,u))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:n.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=e,i.prototype[mB]=!0,Uc[e]=i}function K0(e){const t=bB+e.name;return Object.defineProperty(e,"name",{value:t}),e}function SB(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const n=new pB([t,e],t.message);return n.code=t.code,n}return e||t}let vB=class extends Error{constructor(t="The operation was aborted",n=void 0){if(n!==void 0&&typeof n!="object")throw new Uc.ERR_INVALID_ARG_TYPE("options","Object",n);super(t,n),this.code="ABORT_ERR",this.name="AbortError"}};un("ERR_ASSERTION","%s",Error);un("ERR_INVALID_ARG_TYPE",(e,t,n)=>{Es(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let i="The ";e.endsWith(" argument")?i+=`${e} `:i+=`"${e}" ${e.includes(".")?"property":"argument"} `,i+="must be ";const r=[],u=[],l=[];for(const y of t)Es(typeof y=="string","All expected entries have to be of type string"),yB.includes(y)?r.push(y.toLowerCase()):gB.test(y)?u.push(y):(Es(y!=="object",'The value "object" should be written as "Object"'),l.push(y));if(u.length>0){const y=r.indexOf("object");y!==-1&&(r.splice(r,y,1),u.push("Object"))}if(r.length>0){switch(r.length){case 1:i+=`of type ${r[0]}`;break;case 2:i+=`one of type ${r[0]} or ${r[1]}`;break;default:{const y=r.pop();i+=`one of type ${r.join(", ")}, or ${y}`}}(u.length>0||l.length>0)&&(i+=" or ")}if(u.length>0){switch(u.length){case 1:i+=`an instance of ${u[0]}`;break;case 2:i+=`an instance of ${u[0]} or ${u[1]}`;break;default:{const y=u.pop();i+=`an instance of ${u.join(", ")}, or ${y}`}}l.length>0&&(i+=" or ")}switch(l.length){case 0:break;case 1:l[0].toLowerCase()!==l[0]&&(i+="an "),i+=`${l[0]}`;break;case 2:i+=`one of ${l[0]} or ${l[1]}`;break;default:{const y=l.pop();i+=`one of ${l.join(", ")}, or ${y}`}}if(n==null)i+=`. Received ${n}`;else if(typeof n=="function"&&n.name)i+=`. Received function ${n.name}`;else if(typeof n=="object"){var d;if((d=n.constructor)!==null&&d!==void 0&&d.name)i+=`. Received an instance of ${n.constructor.name}`;else{const y=Zu(n,{depth:-1});i+=`. Received ${y}`}}else{let y=Zu(n,{colors:!1});y.length>25&&(y=`${y.slice(0,25)}...`),i+=`. Received type ${typeof n} (${y})`}return i},TypeError);un("ERR_INVALID_ARG_VALUE",(e,t,n="is invalid")=>{let i=Zu(t);return i.length>128&&(i=i.slice(0,128)+"..."),`The ${e.includes(".")?"property":"argument"} '${e}' ${n}. Received ${i}`},TypeError);un("ERR_INVALID_RETURN_VALUE",(e,t,n)=>{var i;const r=n!=null&&(i=n.constructor)!==null&&i!==void 0&&i.name?`instance of ${n.constructor.name}`:`type ${typeof n}`;return`Expected ${e} to be returned from the "${t}" function but got ${r}.`},TypeError);un("ERR_MISSING_ARGS",(...e)=>{Es(e.length>0,"At least one arg needs to be specified");let t;const n=e.length;switch(e=(Array.isArray(e)?e:[e]).map(i=>`"${i}"`).join(" or "),n){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const i=e.pop();t+=`The ${e.join(", ")}, and ${i} arguments`}break}return`${t} must be specified`},TypeError);un("ERR_OUT_OF_RANGE",(e,t,n)=>{Es(t,'Missing "range" argument');let i;return Number.isInteger(n)&&Math.abs(n)>2**32?i=V0(String(n)):typeof n=="bigint"?(i=String(n),(n>2n**32n||n<-(2n**32n))&&(i=V0(i)),i+="n"):i=Zu(n),`The value of "${e}" is out of range. It must be ${t}. Received ${i}`},RangeError);un("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);un("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);un("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);un("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);un("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);un("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);un("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);un("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);un("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);un("ERR_STREAM_WRITE_AFTER_END","write after end",Error);un("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var In={AbortError:vB,aggregateTwoErrors:K0(SB),hideStackFrames:K0,codes:Uc};const{ArrayIsArray:dm,ArrayPrototypeIncludes:Aw,ArrayPrototypeJoin:Fw,ArrayPrototypeMap:wB,NumberIsInteger:hm,NumberIsNaN:_B,NumberMAX_SAFE_INTEGER:LB,NumberMIN_SAFE_INTEGER:NB,NumberParseInt:kB,ObjectPrototypeHasOwnProperty:OB,RegExpPrototypeExec:Pw,String:EB,StringPrototypeToUpperCase:CB,StringPrototypeTrim:AB}=Wt,{hideStackFrames:ai,codes:{ERR_SOCKET_BAD_PORT:FB,ERR_INVALID_ARG_TYPE:pn,ERR_INVALID_ARG_VALUE:Yo,ERR_OUT_OF_RANGE:Ds,ERR_UNKNOWN_SIGNAL:Z0}}=In,{normalizeEncoding:PB}=vn,{isAsyncFunction:IB,isArrayBufferView:MB}=vn.types,Q0={};function jB(e){return e===(e|0)}function BB(e){return e===e>>>0}const RB=/^[0-7]+$/,DB="must be a 32-bit unsigned integer or an octal string";function xB(e,t,n){if(typeof e>"u"&&(e=n),typeof e=="string"){if(Pw(RB,e)===null)throw new Yo(t,e,DB);e=kB(e,8)}return Iw(e,t),e}const UB=ai((e,t,n=NB,i=LB)=>{if(typeof e!="number")throw new pn(t,"number",e);if(!hm(e))throw new Ds(t,"an integer",e);if(e<n||e>i)throw new Ds(t,`>= ${n} && <= ${i}`,e)}),JB=ai((e,t,n=-2147483648,i=2147483647)=>{if(typeof e!="number")throw new pn(t,"number",e);if(!hm(e))throw new Ds(t,"an integer",e);if(e<n||e>i)throw new Ds(t,`>= ${n} && <= ${i}`,e)}),Iw=ai((e,t,n=!1)=>{if(typeof e!="number")throw new pn(t,"number",e);if(!hm(e))throw new Ds(t,"an integer",e);const i=n?1:0,r=4294967295;if(e<i||e>r)throw new Ds(t,`>= ${i} && <= ${r}`,e)});function pm(e,t){if(typeof e!="string")throw new pn(t,"string",e)}function zB(e,t,n=void 0,i){if(typeof e!="number")throw new pn(t,"number",e);if(n!=null&&e<n||i!=null&&e>i||(n!=null||i!=null)&&_B(e))throw new Ds(t,`${n!=null?`>= ${n}`:""}${n!=null&&i!=null?" && ":""}${i!=null?`<= ${i}`:""}`,e)}const WB=ai((e,t,n)=>{if(!Aw(n,e)){const r="must be one of: "+Fw(wB(n,u=>typeof u=="string"?`'${u}'`:EB(u)),", ");throw new Yo(t,e,r)}});function Mw(e,t){if(typeof e!="boolean")throw new pn(t,"boolean",e)}function sh(e,t,n){return e==null||!OB(e,t)?n:e[t]}const GB=ai((e,t,n=null)=>{const i=sh(n,"allowArray",!1),r=sh(n,"allowFunction",!1);if(!sh(n,"nullable",!1)&&e===null||!i&&dm(e)||typeof e!="object"&&(!r||typeof e!="function"))throw new pn(t,"Object",e)}),qB=ai((e,t)=>{if(e!=null&&typeof e!="object"&&typeof e!="function")throw new pn(t,"a dictionary",e)}),Jc=ai((e,t,n=0)=>{if(!dm(e))throw new pn(t,"Array",e);if(e.length<n){const i=`must be longer than ${n}`;throw new Yo(t,e,i)}});function HB(e,t){Jc(e,t);for(let n=0;n<e.length;n++)pm(e[n],`${t}[${n}]`)}function VB(e,t){Jc(e,t);for(let n=0;n<e.length;n++)Mw(e[n],`${t}[${n}]`)}function KB(e,t){Jc(e,t);for(let n=0;n<e.length;n++){const i=e[n],r=`${t}[${n}]`;if(i==null)throw new pn(r,"AbortSignal",i);jw(i,r)}}function ZB(e,t="signal"){if(pm(e,t),Q0[e]===void 0)throw Q0[CB(e)]!==void 0?new Z0(e+" (signals must use all capital letters)"):new Z0(e)}const QB=ai((e,t="buffer")=>{if(!MB(e))throw new pn(t,["Buffer","TypedArray","DataView"],e)});function XB(e,t){const n=PB(t),i=e.length;if(n==="hex"&&i%2!==0)throw new Yo("encoding",t,`is invalid for data of length ${i}`)}function YB(e,t="Port",n=!0){if(typeof e!="number"&&typeof e!="string"||typeof e=="string"&&AB(e).length===0||+e!==+e>>>0||e>65535||e===0&&!n)throw new FB(t,e,n);return e|0}const jw=ai((e,t)=>{if(e!==void 0&&(e===null||typeof e!="object"||!("aborted"in e)))throw new pn(t,"AbortSignal",e)}),$B=ai((e,t)=>{if(typeof e!="function")throw new pn(t,"Function",e)}),eR=ai((e,t)=>{if(typeof e!="function"||IB(e))throw new pn(t,"Function",e)}),tR=ai((e,t)=>{if(e!==void 0)throw new pn(t,"undefined",e)});function nR(e,t,n){if(!Aw(n,e))throw new pn(t,`('${Fw(n,"|")}')`,e)}const iR=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function X0(e,t){if(typeof e>"u"||!Pw(iR,e))throw new Yo(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}function rR(e){if(typeof e=="string")return X0(e,"hints"),e;if(dm(e)){const t=e.length;let n="";if(t===0)return n;for(let i=0;i<t;i++){const r=e[i];X0(r,"hints"),n+=r,i!==t-1&&(n+=", ")}return n}throw new Yo("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}var ll={isInt32:jB,isUint32:BB,parseFileMode:xB,validateArray:Jc,validateStringArray:HB,validateBooleanArray:VB,validateAbortSignalArray:KB,validateBoolean:Mw,validateBuffer:QB,validateDictionary:qB,validateEncoding:XB,validateFunction:$B,validateInt32:JB,validateInteger:UB,validateNumber:zB,validateObject:GB,validateOneOf:WB,validatePlainFunction:eR,validatePort:YB,validateSignalName:ZB,validateString:pm,validateUint32:Iw,validateUndefined:tR,validateUnion:nR,validateAbortSignal:jw,validateLinkHeaderValue:rR},mm={exports:{}},Bw={exports:{}},Zt=Bw.exports={},Pi,Ii;function qh(){throw new Error("setTimeout has not been defined")}function Hh(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Pi=setTimeout:Pi=qh}catch{Pi=qh}try{typeof clearTimeout=="function"?Ii=clearTimeout:Ii=Hh}catch{Ii=Hh}})();function Rw(e){if(Pi===setTimeout)return setTimeout(e,0);if((Pi===qh||!Pi)&&setTimeout)return Pi=setTimeout,setTimeout(e,0);try{return Pi(e,0)}catch{try{return Pi.call(null,e,0)}catch{return Pi.call(this,e,0)}}}function sR(e){if(Ii===clearTimeout)return clearTimeout(e);if((Ii===Hh||!Ii)&&clearTimeout)return Ii=clearTimeout,clearTimeout(e);try{return Ii(e)}catch{try{return Ii.call(null,e)}catch{return Ii.call(this,e)}}}var cr=[],Po=!1,Ls,ju=-1;function oR(){!Po||!Ls||(Po=!1,Ls.length?cr=Ls.concat(cr):ju=-1,cr.length&&Dw())}function Dw(){if(!Po){var e=Rw(oR);Po=!0;for(var t=cr.length;t;){for(Ls=cr,cr=[];++ju<t;)Ls&&Ls[ju].run();ju=-1,t=cr.length}Ls=null,Po=!1,sR(e)}}Zt.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];cr.push(new xw(e,t)),cr.length===1&&!Po&&Rw(Dw)};function xw(e,t){this.fun=e,this.array=t}xw.prototype.run=function(){this.fun.apply(null,this.array)};Zt.title="browser";Zt.browser=!0;Zt.env={};Zt.argv=[];Zt.version="";Zt.versions={};function vr(){}Zt.on=vr;Zt.addListener=vr;Zt.once=vr;Zt.off=vr;Zt.removeListener=vr;Zt.removeAllListeners=vr;Zt.emit=vr;Zt.prependListener=vr;Zt.prependOnceListener=vr;Zt.listeners=function(e){return[]};Zt.binding=function(e){throw new Error("process.binding is not supported")};Zt.cwd=function(){return"/"};Zt.chdir=function(e){throw new Error("process.chdir is not supported")};Zt.umask=function(){return 0};var Hs=Bw.exports;const{SymbolAsyncIterator:Y0,SymbolIterator:$0,SymbolFor:Vs}=Wt,Uw=Vs("nodejs.stream.destroyed"),Jw=Vs("nodejs.stream.errored"),Vh=Vs("nodejs.stream.readable"),Kh=Vs("nodejs.stream.writable"),zw=Vs("nodejs.stream.disturbed"),aR=Vs("nodejs.webstream.isClosedPromise"),lR=Vs("nodejs.webstream.controllerErrorFunction");function zc(e,t=!1){var n;return!!(e&&typeof e.pipe=="function"&&typeof e.on=="function"&&(!t||typeof e.pause=="function"&&typeof e.resume=="function")&&(!e._writableState||((n=e._readableState)===null||n===void 0?void 0:n.readable)!==!1)&&(!e._writableState||e._readableState))}function Wc(e){var t;return!!(e&&typeof e.write=="function"&&typeof e.on=="function"&&(!e._readableState||((t=e._writableState)===null||t===void 0?void 0:t.writable)!==!1))}function uR(e){return!!(e&&typeof e.pipe=="function"&&e._readableState&&typeof e.on=="function"&&typeof e.write=="function")}function Gi(e){return e&&(e._readableState||e._writableState||typeof e.write=="function"&&typeof e.on=="function"||typeof e.pipe=="function"&&typeof e.on=="function")}function Ww(e){return!!(e&&!Gi(e)&&typeof e.pipeThrough=="function"&&typeof e.getReader=="function"&&typeof e.cancel=="function")}function Gw(e){return!!(e&&!Gi(e)&&typeof e.getWriter=="function"&&typeof e.abort=="function")}function qw(e){return!!(e&&!Gi(e)&&typeof e.readable=="object"&&typeof e.writable=="object")}function cR(e){return Ww(e)||Gw(e)||qw(e)}function fR(e,t){return e==null?!1:t===!0?typeof e[Y0]=="function":t===!1?typeof e[$0]=="function":typeof e[Y0]=="function"||typeof e[$0]=="function"}function Gc(e){if(!Gi(e))return null;const t=e._writableState,n=e._readableState,i=t||n;return!!(e.destroyed||e[Uw]||i!=null&&i.destroyed)}function Hw(e){if(!Wc(e))return null;if(e.writableEnded===!0)return!0;const t=e._writableState;return t!=null&&t.errored?!1:typeof t?.ended!="boolean"?null:t.ended}function dR(e,t){if(!Wc(e))return null;if(e.writableFinished===!0)return!0;const n=e._writableState;return n!=null&&n.errored?!1:typeof n?.finished!="boolean"?null:!!(n.finished||t===!1&&n.ended===!0&&n.length===0)}function hR(e){if(!zc(e))return null;if(e.readableEnded===!0)return!0;const t=e._readableState;return!t||t.errored?!1:typeof t?.ended!="boolean"?null:t.ended}function Vw(e,t){if(!zc(e))return null;const n=e._readableState;return n!=null&&n.errored?!1:typeof n?.endEmitted!="boolean"?null:!!(n.endEmitted||t===!1&&n.ended===!0&&n.length===0)}function Kw(e){return e&&e[Vh]!=null?e[Vh]:typeof e?.readable!="boolean"?null:Gc(e)?!1:zc(e)&&e.readable&&!Vw(e)}function Zw(e){return e&&e[Kh]!=null?e[Kh]:typeof e?.writable!="boolean"?null:Gc(e)?!1:Wc(e)&&e.writable&&!Hw(e)}function pR(e,t){return Gi(e)?Gc(e)?!0:!(t?.readable!==!1&&Kw(e)||t?.writable!==!1&&Zw(e)):null}function mR(e){var t,n;return Gi(e)?e.writableErrored?e.writableErrored:(t=(n=e._writableState)===null||n===void 0?void 0:n.errored)!==null&&t!==void 0?t:null:null}function yR(e){var t,n;return Gi(e)?e.readableErrored?e.readableErrored:(t=(n=e._readableState)===null||n===void 0?void 0:n.errored)!==null&&t!==void 0?t:null:null}function gR(e){if(!Gi(e))return null;if(typeof e.closed=="boolean")return e.closed;const t=e._writableState,n=e._readableState;return typeof t?.closed=="boolean"||typeof n?.closed=="boolean"?t?.closed||n?.closed:typeof e._closed=="boolean"&&Qw(e)?e._closed:null}function Qw(e){return typeof e._closed=="boolean"&&typeof e._defaultKeepAlive=="boolean"&&typeof e._removedConnection=="boolean"&&typeof e._removedContLen=="boolean"}function Xw(e){return typeof e._sent100=="boolean"&&Qw(e)}function bR(e){var t;return typeof e._consuming=="boolean"&&typeof e._dumped=="boolean"&&((t=e.req)===null||t===void 0?void 0:t.upgradeOrConnect)===void 0}function TR(e){if(!Gi(e))return null;const t=e._writableState,n=e._readableState,i=t||n;return!i&&Xw(e)||!!(i&&i.autoDestroy&&i.emitClose&&i.closed===!1)}function SR(e){var t;return!!(e&&((t=e[zw])!==null&&t!==void 0?t:e.readableDidRead||e.readableAborted))}function vR(e){var t,n,i,r,u,l,d,y,T,S;return!!(e&&((t=(n=(i=(r=(u=(l=e[Jw])!==null&&l!==void 0?l:e.readableErrored)!==null&&u!==void 0?u:e.writableErrored)!==null&&r!==void 0?r:(d=e._readableState)===null||d===void 0?void 0:d.errorEmitted)!==null&&i!==void 0?i:(y=e._writableState)===null||y===void 0?void 0:y.errorEmitted)!==null&&n!==void 0?n:(T=e._readableState)===null||T===void 0?void 0:T.errored)!==null&&t!==void 0?t:!((S=e._writableState)===null||S===void 0)&&S.errored))}var wr={isDestroyed:Gc,kIsDestroyed:Uw,isDisturbed:SR,kIsDisturbed:zw,isErrored:vR,kIsErrored:Jw,isReadable:Kw,kIsReadable:Vh,kIsClosedPromise:aR,kControllerErrorFunction:lR,kIsWritable:Kh,isClosed:gR,isDuplexNodeStream:uR,isFinished:pR,isIterable:fR,isReadableNodeStream:zc,isReadableStream:Ww,isReadableEnded:hR,isReadableFinished:Vw,isReadableErrored:yR,isNodeStream:Gi,isWebStream:cR,isWritable:Zw,isWritableNodeStream:Wc,isWritableStream:Gw,isWritableEnded:Hw,isWritableFinished:dR,isWritableErrored:mR,isServerRequest:bR,isServerResponse:Xw,willEmitClose:TR,isTransformStream:qw};const xr=Hs,{AbortError:Yw,codes:wR}=In,{ERR_INVALID_ARG_TYPE:_R,ERR_STREAM_PREMATURE_CLOSE:eT}=wR,{kEmptyObject:Zh,once:Qh}=vn,{validateAbortSignal:LR,validateFunction:NR,validateObject:kR,validateBoolean:OR}=ll,{Promise:ER,PromisePrototypeThen:CR,SymbolDispose:$w}=Wt,{isClosed:AR,isReadable:tT,isReadableNodeStream:oh,isReadableStream:FR,isReadableFinished:nT,isReadableErrored:iT,isWritable:rT,isWritableNodeStream:sT,isWritableStream:PR,isWritableFinished:oT,isWritableErrored:aT,isNodeStream:IR,willEmitClose:MR,kIsClosedPromise:jR}=wr;let Io;function BR(e){return e.setHeader&&typeof e.abort=="function"}const Xh=()=>{};function e_(e,t,n){var i,r;if(arguments.length===2?(n=t,t=Zh):t==null?t=Zh:kR(t,"options"),NR(n,"callback"),LR(t.signal,"options.signal"),n=Qh(n),FR(e)||PR(e))return RR(e,t,n);if(!IR(e))throw new _R("stream",["ReadableStream","WritableStream","Stream"],e);const u=(i=t.readable)!==null&&i!==void 0?i:oh(e),l=(r=t.writable)!==null&&r!==void 0?r:sT(e),d=e._writableState,y=e._readableState,T=()=>{e.writable||I()};let S=MR(e)&&oh(e)===u&&sT(e)===l,O=oT(e,!1);const I=()=>{O=!0,e.destroyed&&(S=!1),!(S&&(!e.readable||u))&&(!u||k)&&n.call(e)};let k=nT(e,!1);const P=()=>{k=!0,e.destroyed&&(S=!1),!(S&&(!e.writable||l))&&(!l||O)&&n.call(e)},m=U=>{n.call(e,U)};let C=AR(e);const J=()=>{C=!0;const U=aT(e)||iT(e);if(U&&typeof U!="boolean")return n.call(e,U);if(u&&!k&&oh(e,!0)&&!nT(e,!1))return n.call(e,new eT);if(l&&!O&&!oT(e,!1))return n.call(e,new eT);n.call(e)},x=()=>{C=!0;const U=aT(e)||iT(e);if(U&&typeof U!="boolean")return n.call(e,U);n.call(e)},G=()=>{e.req.on("finish",I)};BR(e)?(e.on("complete",I),S||e.on("abort",J),e.req?G():e.on("request",G)):l&&!d&&(e.on("end",T),e.on("close",T)),!S&&typeof e.aborted=="boolean"&&e.on("aborted",J),e.on("end",P),e.on("finish",I),t.error!==!1&&e.on("error",m),e.on("close",J),C?xr.nextTick(J):d!=null&&d.errorEmitted||y!=null&&y.errorEmitted?S||xr.nextTick(x):(!u&&(!S||tT(e))&&(O||rT(e)===!1)||!l&&(!S||rT(e))&&(k||tT(e)===!1)||y&&e.req&&e.aborted)&&xr.nextTick(x);const K=()=>{n=Xh,e.removeListener("aborted",J),e.removeListener("complete",I),e.removeListener("abort",J),e.removeListener("request",G),e.req&&e.req.removeListener("finish",I),e.removeListener("end",T),e.removeListener("close",T),e.removeListener("finish",I),e.removeListener("end",P),e.removeListener("error",m),e.removeListener("close",J)};if(t.signal&&!C){const U=()=>{const R=n;K(),R.call(e,new Yw(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)xr.nextTick(U);else{Io=Io||vn.addAbortListener;const R=Io(t.signal,U),A=n;n=Qh((...b)=>{R[$w](),A.apply(e,b)})}}return K}function RR(e,t,n){let i=!1,r=Xh;if(t.signal)if(r=()=>{i=!0,n.call(e,new Yw(void 0,{cause:t.signal.reason}))},t.signal.aborted)xr.nextTick(r);else{Io=Io||vn.addAbortListener;const l=Io(t.signal,r),d=n;n=Qh((...y)=>{l[$w](),d.apply(e,y)})}const u=(...l)=>{i||xr.nextTick(()=>n.apply(e,l))};return CR(e[jR].promise,u,u),Xh}function DR(e,t){var n;let i=!1;return t===null&&(t=Zh),(n=t)!==null&&n!==void 0&&n.cleanup&&(OR(t.cleanup,"cleanup"),i=t.cleanup),new ER((r,u)=>{const l=e_(e,t,d=>{i&&l(),d?u(d):r()})})}mm.exports=e_;mm.exports.finished=DR;var ts=mm.exports;const Ji=Hs,{aggregateTwoErrors:xR,codes:{ERR_MULTIPLE_CALLBACK:UR},AbortError:JR}=In,{Symbol:t_}=Wt,{kIsDestroyed:zR,isDestroyed:WR,isFinished:GR,isServerRequest:qR}=wr,n_=t_("kDestroy"),Yh=t_("kConstruct");function i_(e,t,n){e&&(e.stack,t&&!t.errored&&(t.errored=e),n&&!n.errored&&(n.errored=e))}function HR(e,t){const n=this._readableState,i=this._writableState,r=i||n;return i!=null&&i.destroyed||n!=null&&n.destroyed?(typeof t=="function"&&t(),this):(i_(e,i,n),i&&(i.destroyed=!0),n&&(n.destroyed=!0),r.constructed?lT(this,e,t):this.once(n_,function(u){lT(this,xR(u,e),t)}),this)}function lT(e,t,n){let i=!1;function r(u){if(i)return;i=!0;const l=e._readableState,d=e._writableState;i_(u,d,l),d&&(d.closed=!0),l&&(l.closed=!0),typeof n=="function"&&n(u),u?Ji.nextTick(VR,e,u):Ji.nextTick(r_,e)}try{e._destroy(t||null,r)}catch(u){r(u)}}function VR(e,t){$h(e,t),r_(e)}function r_(e){const t=e._readableState,n=e._writableState;n&&(n.closeEmitted=!0),t&&(t.closeEmitted=!0),(n!=null&&n.emitClose||t!=null&&t.emitClose)&&e.emit("close")}function $h(e,t){const n=e._readableState,i=e._writableState;i!=null&&i.errorEmitted||n!=null&&n.errorEmitted||(i&&(i.errorEmitted=!0),n&&(n.errorEmitted=!0),e.emit("error",t))}function KR(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=e.readable===!1,e.endEmitted=e.readable===!1),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=t.writable===!1,t.ending=t.writable===!1,t.finished=t.writable===!1)}function ep(e,t,n){const i=e._readableState,r=e._writableState;if(r!=null&&r.destroyed||i!=null&&i.destroyed)return this;i!=null&&i.autoDestroy||r!=null&&r.autoDestroy?e.destroy(t):t&&(t.stack,r&&!r.errored&&(r.errored=t),i&&!i.errored&&(i.errored=t),n?Ji.nextTick($h,e,t):$h(e,t))}function ZR(e,t){if(typeof e._construct!="function")return;const n=e._readableState,i=e._writableState;n&&(n.constructed=!1),i&&(i.constructed=!1),e.once(Yh,t),!(e.listenerCount(Yh)>1)&&Ji.nextTick(QR,e)}function QR(e){let t=!1;function n(i){if(t){ep(e,i??new UR);return}t=!0;const r=e._readableState,u=e._writableState,l=u||r;r&&(r.constructed=!0),u&&(u.constructed=!0),l.destroyed?e.emit(n_,i):i?ep(e,i,!0):Ji.nextTick(XR,e)}try{e._construct(i=>{Ji.nextTick(n,i)})}catch(i){Ji.nextTick(n,i)}}function XR(e){e.emit(Yh)}function uT(e){return e?.setHeader&&typeof e.abort=="function"}function s_(e){e.emit("close")}function YR(e,t){e.emit("error",t),Ji.nextTick(s_,e)}function $R(e,t){!e||WR(e)||(!t&&!GR(e)&&(t=new JR),qR(e)?(e.socket=null,e.destroy(t)):uT(e)?e.abort():uT(e.req)?e.req.abort():typeof e.destroy=="function"?e.destroy(t):typeof e.close=="function"?e.close():t?Ji.nextTick(YR,e,t):Ji.nextTick(s_,e),e.destroyed||(e[zR]=!0))}var $o={construct:ZR,destroyer:$R,destroy:HR,undestroy:KR,errorOrDestroy:ep};const{ArrayIsArray:eD,ObjectSetPrototypeOf:o_}=Wt,{EventEmitter:qc}=xc;function Hc(e){qc.call(this,e)}o_(Hc.prototype,qc.prototype);o_(Hc,qc);Hc.prototype.pipe=function(e,t){const n=this;function i(S){e.writable&&e.write(S)===!1&&n.pause&&n.pause()}n.on("data",i);function r(){n.readable&&n.resume&&n.resume()}e.on("drain",r),!e._isStdio&&(!t||t.end!==!1)&&(n.on("end",l),n.on("close",d));let u=!1;function l(){u||(u=!0,e.end())}function d(){u||(u=!0,typeof e.destroy=="function"&&e.destroy())}function y(S){T(),qc.listenerCount(this,"error")===0&&this.emit("error",S)}tp(n,"error",y),tp(e,"error",y);function T(){n.removeListener("data",i),e.removeListener("drain",r),n.removeListener("end",l),n.removeListener("close",d),n.removeListener("error",y),e.removeListener("error",y),n.removeListener("end",T),n.removeListener("close",T),e.removeListener("close",T)}return n.on("end",T),n.on("close",T),e.on("close",T),e.emit("pipe",n),e};function tp(e,t,n){if(typeof e.prependListener=="function")return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):eD(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}var ym={Stream:Hc,prependListener:tp},a_={exports:{}};(function(e){const{SymbolDispose:t}=Wt,{AbortError:n,codes:i}=In,{isNodeStream:r,isWebStream:u,kControllerErrorFunction:l}=wr,d=ts,{ERR_INVALID_ARG_TYPE:y}=i;let T;const S=(O,I)=>{if(typeof O!="object"||!("aborted"in O))throw new y(I,"AbortSignal",O)};e.exports.addAbortSignal=function(I,k){if(S(I,"signal"),!r(k)&&!u(k))throw new y("stream",["ReadableStream","WritableStream","Stream"],k);return e.exports.addAbortSignalNoValidate(I,k)},e.exports.addAbortSignalNoValidate=function(O,I){if(typeof O!="object"||!("aborted"in O))return I;const k=r(I)?()=>{I.destroy(new n(void 0,{cause:O.reason}))}:()=>{I[l](new n(void 0,{cause:O.reason}))};if(O.aborted)k();else{T=T||vn.addAbortListener;const P=T(O,k);d(I,P[t])}return I}})(a_);var Vc=a_.exports;const{StringPrototypeSlice:cT,SymbolIterator:tD,TypedArrayPrototypeSet:yu,Uint8Array:nD}=Wt,{Buffer:ah}=es,{inspect:iD}=vn;var rD=class{constructor(){this.head=null,this.tail=null,this.length=0}push(t){const n={data:t,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length}unshift(t){const n={data:t,next:this.head};this.length===0&&(this.tail=n),this.head=n,++this.length}shift(){if(this.length===0)return;const t=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,t}clear(){this.head=this.tail=null,this.length=0}join(t){if(this.length===0)return"";let n=this.head,i=""+n.data;for(;(n=n.next)!==null;)i+=t+n.data;return i}concat(t){if(this.length===0)return ah.alloc(0);const n=ah.allocUnsafe(t>>>0);let i=this.head,r=0;for(;i;)yu(n,i.data,r),r+=i.data.length,i=i.next;return n}consume(t,n){const i=this.head.data;if(t<i.length){const r=i.slice(0,t);return this.head.data=i.slice(t),r}return t===i.length?this.shift():n?this._getString(t):this._getBuffer(t)}first(){return this.head.data}*[tD](){for(let t=this.head;t;t=t.next)yield t.data}_getString(t){let n="",i=this.head,r=0;do{const u=i.data;if(t>u.length)n+=u,t-=u.length;else{t===u.length?(n+=u,++r,i.next?this.head=i.next:this.head=this.tail=null):(n+=cT(u,0,t),this.head=i,i.data=cT(u,t));break}++r}while((i=i.next)!==null);return this.length-=r,n}_getBuffer(t){const n=ah.allocUnsafe(t),i=t;let r=this.head,u=0;do{const l=r.data;if(t>l.length)yu(n,l,i-t),t-=l.length;else{t===l.length?(yu(n,l,i-t),++u,r.next?this.head=r.next:this.head=this.tail=null):(yu(n,new nD(l.buffer,l.byteOffset,t),i-t),this.head=r,r.data=l.slice(t));break}++u}while((r=r.next)!==null);return this.length-=u,n}[Symbol.for("nodejs.util.inspect.custom")](t,n){return iD(this,{...n,depth:0,customInspect:!1})}};const{MathFloor:sD,NumberIsInteger:oD}=Wt,{validateInteger:aD}=ll,{ERR_INVALID_ARG_VALUE:lD}=In.codes;let l_=16*1024,u_=16;function uD(e,t,n){return e.highWaterMark!=null?e.highWaterMark:t?e[n]:null}function c_(e){return e?u_:l_}function cD(e,t){aD(t,"value",0),e?u_=t:l_=t}function fD(e,t,n,i){const r=uD(t,i,n);if(r!=null){if(!oD(r)||r<0){const u=i?`options.${n}`:"options.highWaterMark";throw new lD(u,r)}return sD(r)}return c_(e.objectMode)}var Kc={getHighWaterMark:fD,getDefaultHighWaterMark:c_,setDefaultHighWaterMark:cD},f_={},np={exports:{}},d_={};/*!
|
|
1021
|
+
* The buffer module from node.js, for the browser.
|
|
1022
|
+
*
|
|
1023
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
1024
|
+
* @license MIT
|
|
1025
|
+
*/(function(e){var t=qo,n=Rc,i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=d,e.SlowBuffer=x,e.INSPECT_MAX_BYTES=50;var r=2147483647;e.kMaxLength=r,d.TYPED_ARRAY_SUPPORT=u(),!d.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 u(){try{var Y=new Uint8Array(1),M={foo:function(){return 42}};return Object.setPrototypeOf(M,Uint8Array.prototype),Object.setPrototypeOf(Y,M),Y.foo()===42}catch{return!1}}Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}});function l(Y){if(Y>r)throw new RangeError('The value "'+Y+'" is invalid for option "size"');var M=new Uint8Array(Y);return Object.setPrototypeOf(M,d.prototype),M}function d(Y,M,q){if(typeof Y=="number"){if(typeof M=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O(Y)}return y(Y,M,q)}d.poolSize=8192;function y(Y,M,q){if(typeof Y=="string")return I(Y,M);if(ArrayBuffer.isView(Y))return P(Y);if(Y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Y);if(le(Y,ArrayBuffer)||Y&&le(Y.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(le(Y,SharedArrayBuffer)||Y&&le(Y.buffer,SharedArrayBuffer)))return m(Y,M,q);if(typeof Y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ie=Y.valueOf&&Y.valueOf();if(ie!=null&&ie!==Y)return d.from(ie,M,q);var ue=C(Y);if(ue)return ue;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Y[Symbol.toPrimitive]=="function")return d.from(Y[Symbol.toPrimitive]("string"),M,q);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Y)}d.from=function(Y,M,q){return y(Y,M,q)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array);function T(Y){if(typeof Y!="number")throw new TypeError('"size" argument must be of type number');if(Y<0)throw new RangeError('The value "'+Y+'" is invalid for option "size"')}function S(Y,M,q){return T(Y),Y<=0?l(Y):M!==void 0?typeof q=="string"?l(Y).fill(M,q):l(Y).fill(M):l(Y)}d.alloc=function(Y,M,q){return S(Y,M,q)};function O(Y){return T(Y),l(Y<0?0:J(Y)|0)}d.allocUnsafe=function(Y){return O(Y)},d.allocUnsafeSlow=function(Y){return O(Y)};function I(Y,M){if((typeof M!="string"||M==="")&&(M="utf8"),!d.isEncoding(M))throw new TypeError("Unknown encoding: "+M);var q=G(Y,M)|0,ie=l(q),ue=ie.write(Y,M);return ue!==q&&(ie=ie.slice(0,ue)),ie}function k(Y){for(var M=Y.length<0?0:J(Y.length)|0,q=l(M),ie=0;ie<M;ie+=1)q[ie]=Y[ie]&255;return q}function P(Y){if(le(Y,Uint8Array)){var M=new Uint8Array(Y);return m(M.buffer,M.byteOffset,M.byteLength)}return k(Y)}function m(Y,M,q){if(M<0||Y.byteLength<M)throw new RangeError('"offset" is outside of buffer bounds');if(Y.byteLength<M+(q||0))throw new RangeError('"length" is outside of buffer bounds');var ie;return M===void 0&&q===void 0?ie=new Uint8Array(Y):q===void 0?ie=new Uint8Array(Y,M):ie=new Uint8Array(Y,M,q),Object.setPrototypeOf(ie,d.prototype),ie}function C(Y){if(d.isBuffer(Y)){var M=J(Y.length)|0,q=l(M);return q.length===0||Y.copy(q,0,0,M),q}if(Y.length!==void 0)return typeof Y.length!="number"||fe(Y.length)?l(0):k(Y);if(Y.type==="Buffer"&&Array.isArray(Y.data))return k(Y.data)}function J(Y){if(Y>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return Y|0}function x(Y){return+Y!=Y&&(Y=0),d.alloc(+Y)}d.isBuffer=function(M){return M!=null&&M._isBuffer===!0&&M!==d.prototype},d.compare=function(M,q){if(le(M,Uint8Array)&&(M=d.from(M,M.offset,M.byteLength)),le(q,Uint8Array)&&(q=d.from(q,q.offset,q.byteLength)),!d.isBuffer(M)||!d.isBuffer(q))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(M===q)return 0;for(var ie=M.length,ue=q.length,ve=0,be=Math.min(ie,ue);ve<be;++ve)if(M[ve]!==q[ve]){ie=M[ve],ue=q[ve];break}return ie<ue?-1:ue<ie?1:0},d.isEncoding=function(M){switch(String(M).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}},d.concat=function(M,q){if(!Array.isArray(M))throw new TypeError('"list" argument must be an Array of Buffers');if(M.length===0)return d.alloc(0);var ie;if(q===void 0)for(q=0,ie=0;ie<M.length;++ie)q+=M[ie].length;var ue=d.allocUnsafe(q),ve=0;for(ie=0;ie<M.length;++ie){var be=M[ie];if(le(be,Uint8Array))ve+be.length>ue.length?d.from(be).copy(ue,ve):Uint8Array.prototype.set.call(ue,be,ve);else if(d.isBuffer(be))be.copy(ue,ve);else throw new TypeError('"list" argument must be an Array of Buffers');ve+=be.length}return ue};function G(Y,M){if(d.isBuffer(Y))return Y.length;if(ArrayBuffer.isView(Y)||le(Y,ArrayBuffer))return Y.byteLength;if(typeof Y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Y);var q=Y.length,ie=arguments.length>2&&arguments[2]===!0;if(!ie&&q===0)return 0;for(var ue=!1;;)switch(M){case"ascii":case"latin1":case"binary":return q;case"utf8":case"utf-8":return $(Y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q*2;case"hex":return q>>>1;case"base64":return Te(Y).length;default:if(ue)return ie?-1:$(Y).length;M=(""+M).toLowerCase(),ue=!0}}d.byteLength=G;function K(Y,M,q){var ie=!1;if((M===void 0||M<0)&&(M=0),M>this.length||((q===void 0||q>this.length)&&(q=this.length),q<=0)||(q>>>=0,M>>>=0,q<=M))return"";for(Y||(Y="utf8");;)switch(Y){case"hex":return F(this,M,q);case"utf8":case"utf-8":return o(this,M,q);case"ascii":return w(this,M,q);case"latin1":case"binary":return N(this,M,q);case"base64":return a(this,M,q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,M,q);default:if(ie)throw new TypeError("Unknown encoding: "+Y);Y=(Y+"").toLowerCase(),ie=!0}}d.prototype._isBuffer=!0;function U(Y,M,q){var ie=Y[M];Y[M]=Y[q],Y[q]=ie}d.prototype.swap16=function(){var M=this.length;if(M%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var q=0;q<M;q+=2)U(this,q,q+1);return this},d.prototype.swap32=function(){var M=this.length;if(M%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var q=0;q<M;q+=4)U(this,q,q+3),U(this,q+1,q+2);return this},d.prototype.swap64=function(){var M=this.length;if(M%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var q=0;q<M;q+=8)U(this,q,q+7),U(this,q+1,q+6),U(this,q+2,q+5),U(this,q+3,q+4);return this},d.prototype.toString=function(){var M=this.length;return M===0?"":arguments.length===0?o(this,0,M):K.apply(this,arguments)},d.prototype.toLocaleString=d.prototype.toString,d.prototype.equals=function(M){if(!d.isBuffer(M))throw new TypeError("Argument must be a Buffer");return this===M?!0:d.compare(this,M)===0},d.prototype.inspect=function(){var M="",q=e.INSPECT_MAX_BYTES;return M=this.toString("hex",0,q).replace(/(.{2})/g,"$1 ").trim(),this.length>q&&(M+=" ... "),"<Buffer "+M+">"},i&&(d.prototype[i]=d.prototype.inspect),d.prototype.compare=function(M,q,ie,ue,ve){if(le(M,Uint8Array)&&(M=d.from(M,M.offset,M.byteLength)),!d.isBuffer(M))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof M);if(q===void 0&&(q=0),ie===void 0&&(ie=M?M.length:0),ue===void 0&&(ue=0),ve===void 0&&(ve=this.length),q<0||ie>M.length||ue<0||ve>this.length)throw new RangeError("out of range index");if(ue>=ve&&q>=ie)return 0;if(ue>=ve)return-1;if(q>=ie)return 1;if(q>>>=0,ie>>>=0,ue>>>=0,ve>>>=0,this===M)return 0;for(var be=ve-ue,Me=ie-q,je=Math.min(be,Me),he=this.slice(ue,ve),ye=M.slice(q,ie),Z=0;Z<je;++Z)if(he[Z]!==ye[Z]){be=he[Z],Me=ye[Z];break}return be<Me?-1:Me<be?1:0};function R(Y,M,q,ie,ue){if(Y.length===0)return-1;if(typeof q=="string"?(ie=q,q=0):q>2147483647?q=2147483647:q<-2147483648&&(q=-2147483648),q=+q,fe(q)&&(q=ue?0:Y.length-1),q<0&&(q=Y.length+q),q>=Y.length){if(ue)return-1;q=Y.length-1}else if(q<0)if(ue)q=0;else return-1;if(typeof M=="string"&&(M=d.from(M,ie)),d.isBuffer(M))return M.length===0?-1:A(Y,M,q,ie,ue);if(typeof M=="number")return M=M&255,typeof Uint8Array.prototype.indexOf=="function"?ue?Uint8Array.prototype.indexOf.call(Y,M,q):Uint8Array.prototype.lastIndexOf.call(Y,M,q):A(Y,[M],q,ie,ue);throw new TypeError("val must be string, number or Buffer")}function A(Y,M,q,ie,ue){var ve=1,be=Y.length,Me=M.length;if(ie!==void 0&&(ie=String(ie).toLowerCase(),ie==="ucs2"||ie==="ucs-2"||ie==="utf16le"||ie==="utf-16le")){if(Y.length<2||M.length<2)return-1;ve=2,be/=2,Me/=2,q/=2}function je(V,oe){return ve===1?V[oe]:V.readUInt16BE(oe*ve)}var he;if(ue){var ye=-1;for(he=q;he<be;he++)if(je(Y,he)===je(M,ye===-1?0:he-ye)){if(ye===-1&&(ye=he),he-ye+1===Me)return ye*ve}else ye!==-1&&(he-=he-ye),ye=-1}else for(q+Me>be&&(q=be-Me),he=q;he>=0;he--){for(var Z=!0,D=0;D<Me;D++)if(je(Y,he+D)!==je(M,D)){Z=!1;break}if(Z)return he}return-1}d.prototype.includes=function(M,q,ie){return this.indexOf(M,q,ie)!==-1},d.prototype.indexOf=function(M,q,ie){return R(this,M,q,ie,!0)},d.prototype.lastIndexOf=function(M,q,ie){return R(this,M,q,ie,!1)};function b(Y,M,q,ie){q=Number(q)||0;var ue=Y.length-q;ie?(ie=Number(ie),ie>ue&&(ie=ue)):ie=ue;var ve=M.length;ie>ve/2&&(ie=ve/2);for(var be=0;be<ie;++be){var Me=parseInt(M.substr(be*2,2),16);if(fe(Me))return be;Y[q+be]=Me}return be}function _(Y,M,q,ie){return Ne($(M,Y.length-q),Y,q,ie)}function L(Y,M,q,ie){return Ne(ne(M),Y,q,ie)}function g(Y,M,q,ie){return Ne(Te(M),Y,q,ie)}function p(Y,M,q,ie){return Ne(ce(M,Y.length-q),Y,q,ie)}d.prototype.write=function(M,q,ie,ue){if(q===void 0)ue="utf8",ie=this.length,q=0;else if(ie===void 0&&typeof q=="string")ue=q,ie=this.length,q=0;else if(isFinite(q))q=q>>>0,isFinite(ie)?(ie=ie>>>0,ue===void 0&&(ue="utf8")):(ue=ie,ie=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ve=this.length-q;if((ie===void 0||ie>ve)&&(ie=ve),M.length>0&&(ie<0||q<0)||q>this.length)throw new RangeError("Attempt to write outside buffer bounds");ue||(ue="utf8");for(var be=!1;;)switch(ue){case"hex":return b(this,M,q,ie);case"utf8":case"utf-8":return _(this,M,q,ie);case"ascii":case"latin1":case"binary":return L(this,M,q,ie);case"base64":return g(this,M,q,ie);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p(this,M,q,ie);default:if(be)throw new TypeError("Unknown encoding: "+ue);ue=(""+ue).toLowerCase(),be=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function a(Y,M,q){return M===0&&q===Y.length?t.fromByteArray(Y):t.fromByteArray(Y.slice(M,q))}function o(Y,M,q){q=Math.min(Y.length,q);for(var ie=[],ue=M;ue<q;){var ve=Y[ue],be=null,Me=ve>239?4:ve>223?3:ve>191?2:1;if(ue+Me<=q){var je,he,ye,Z;switch(Me){case 1:ve<128&&(be=ve);break;case 2:je=Y[ue+1],(je&192)===128&&(Z=(ve&31)<<6|je&63,Z>127&&(be=Z));break;case 3:je=Y[ue+1],he=Y[ue+2],(je&192)===128&&(he&192)===128&&(Z=(ve&15)<<12|(je&63)<<6|he&63,Z>2047&&(Z<55296||Z>57343)&&(be=Z));break;case 4:je=Y[ue+1],he=Y[ue+2],ye=Y[ue+3],(je&192)===128&&(he&192)===128&&(ye&192)===128&&(Z=(ve&15)<<18|(je&63)<<12|(he&63)<<6|ye&63,Z>65535&&Z<1114112&&(be=Z))}}be===null?(be=65533,Me=1):be>65535&&(be-=65536,ie.push(be>>>10&1023|55296),be=56320|be&1023),ie.push(be),ue+=Me}return h(ie)}var f=4096;function h(Y){var M=Y.length;if(M<=f)return String.fromCharCode.apply(String,Y);for(var q="",ie=0;ie<M;)q+=String.fromCharCode.apply(String,Y.slice(ie,ie+=f));return q}function w(Y,M,q){var ie="";q=Math.min(Y.length,q);for(var ue=M;ue<q;++ue)ie+=String.fromCharCode(Y[ue]&127);return ie}function N(Y,M,q){var ie="";q=Math.min(Y.length,q);for(var ue=M;ue<q;++ue)ie+=String.fromCharCode(Y[ue]);return ie}function F(Y,M,q){var ie=Y.length;(!M||M<0)&&(M=0),(!q||q<0||q>ie)&&(q=ie);for(var ue="",ve=M;ve<q;++ve)ue+=_e[Y[ve]];return ue}function B(Y,M,q){for(var ie=Y.slice(M,q),ue="",ve=0;ve<ie.length-1;ve+=2)ue+=String.fromCharCode(ie[ve]+ie[ve+1]*256);return ue}d.prototype.slice=function(M,q){var ie=this.length;M=~~M,q=q===void 0?ie:~~q,M<0?(M+=ie,M<0&&(M=0)):M>ie&&(M=ie),q<0?(q+=ie,q<0&&(q=0)):q>ie&&(q=ie),q<M&&(q=M);var ue=this.subarray(M,q);return Object.setPrototypeOf(ue,d.prototype),ue};function W(Y,M,q){if(Y%1!==0||Y<0)throw new RangeError("offset is not uint");if(Y+M>q)throw new RangeError("Trying to access beyond buffer length")}d.prototype.readUintLE=d.prototype.readUIntLE=function(M,q,ie){M=M>>>0,q=q>>>0,ie||W(M,q,this.length);for(var ue=this[M],ve=1,be=0;++be<q&&(ve*=256);)ue+=this[M+be]*ve;return ue},d.prototype.readUintBE=d.prototype.readUIntBE=function(M,q,ie){M=M>>>0,q=q>>>0,ie||W(M,q,this.length);for(var ue=this[M+--q],ve=1;q>0&&(ve*=256);)ue+=this[M+--q]*ve;return ue},d.prototype.readUint8=d.prototype.readUInt8=function(M,q){return M=M>>>0,q||W(M,1,this.length),this[M]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(M,q){return M=M>>>0,q||W(M,2,this.length),this[M]|this[M+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(M,q){return M=M>>>0,q||W(M,2,this.length),this[M]<<8|this[M+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(M,q){return M=M>>>0,q||W(M,4,this.length),(this[M]|this[M+1]<<8|this[M+2]<<16)+this[M+3]*16777216},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(M,q){return M=M>>>0,q||W(M,4,this.length),this[M]*16777216+(this[M+1]<<16|this[M+2]<<8|this[M+3])},d.prototype.readIntLE=function(M,q,ie){M=M>>>0,q=q>>>0,ie||W(M,q,this.length);for(var ue=this[M],ve=1,be=0;++be<q&&(ve*=256);)ue+=this[M+be]*ve;return ve*=128,ue>=ve&&(ue-=Math.pow(2,8*q)),ue},d.prototype.readIntBE=function(M,q,ie){M=M>>>0,q=q>>>0,ie||W(M,q,this.length);for(var ue=q,ve=1,be=this[M+--ue];ue>0&&(ve*=256);)be+=this[M+--ue]*ve;return ve*=128,be>=ve&&(be-=Math.pow(2,8*q)),be},d.prototype.readInt8=function(M,q){return M=M>>>0,q||W(M,1,this.length),this[M]&128?(255-this[M]+1)*-1:this[M]},d.prototype.readInt16LE=function(M,q){M=M>>>0,q||W(M,2,this.length);var ie=this[M]|this[M+1]<<8;return ie&32768?ie|4294901760:ie},d.prototype.readInt16BE=function(M,q){M=M>>>0,q||W(M,2,this.length);var ie=this[M+1]|this[M]<<8;return ie&32768?ie|4294901760:ie},d.prototype.readInt32LE=function(M,q){return M=M>>>0,q||W(M,4,this.length),this[M]|this[M+1]<<8|this[M+2]<<16|this[M+3]<<24},d.prototype.readInt32BE=function(M,q){return M=M>>>0,q||W(M,4,this.length),this[M]<<24|this[M+1]<<16|this[M+2]<<8|this[M+3]},d.prototype.readFloatLE=function(M,q){return M=M>>>0,q||W(M,4,this.length),n.read(this,M,!0,23,4)},d.prototype.readFloatBE=function(M,q){return M=M>>>0,q||W(M,4,this.length),n.read(this,M,!1,23,4)},d.prototype.readDoubleLE=function(M,q){return M=M>>>0,q||W(M,8,this.length),n.read(this,M,!0,52,8)},d.prototype.readDoubleBE=function(M,q){return M=M>>>0,q||W(M,8,this.length),n.read(this,M,!1,52,8)};function Q(Y,M,q,ie,ue,ve){if(!d.isBuffer(Y))throw new TypeError('"buffer" argument must be a Buffer instance');if(M>ue||M<ve)throw new RangeError('"value" argument is out of bounds');if(q+ie>Y.length)throw new RangeError("Index out of range")}d.prototype.writeUintLE=d.prototype.writeUIntLE=function(M,q,ie,ue){if(M=+M,q=q>>>0,ie=ie>>>0,!ue){var ve=Math.pow(2,8*ie)-1;Q(this,M,q,ie,ve,0)}var be=1,Me=0;for(this[q]=M&255;++Me<ie&&(be*=256);)this[q+Me]=M/be&255;return q+ie},d.prototype.writeUintBE=d.prototype.writeUIntBE=function(M,q,ie,ue){if(M=+M,q=q>>>0,ie=ie>>>0,!ue){var ve=Math.pow(2,8*ie)-1;Q(this,M,q,ie,ve,0)}var be=ie-1,Me=1;for(this[q+be]=M&255;--be>=0&&(Me*=256);)this[q+be]=M/Me&255;return q+ie},d.prototype.writeUint8=d.prototype.writeUInt8=function(M,q,ie){return M=+M,q=q>>>0,ie||Q(this,M,q,1,255,0),this[q]=M&255,q+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(M,q,ie){return M=+M,q=q>>>0,ie||Q(this,M,q,2,65535,0),this[q]=M&255,this[q+1]=M>>>8,q+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(M,q,ie){return M=+M,q=q>>>0,ie||Q(this,M,q,2,65535,0),this[q]=M>>>8,this[q+1]=M&255,q+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(M,q,ie){return M=+M,q=q>>>0,ie||Q(this,M,q,4,4294967295,0),this[q+3]=M>>>24,this[q+2]=M>>>16,this[q+1]=M>>>8,this[q]=M&255,q+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(M,q,ie){return M=+M,q=q>>>0,ie||Q(this,M,q,4,4294967295,0),this[q]=M>>>24,this[q+1]=M>>>16,this[q+2]=M>>>8,this[q+3]=M&255,q+4},d.prototype.writeIntLE=function(M,q,ie,ue){if(M=+M,q=q>>>0,!ue){var ve=Math.pow(2,8*ie-1);Q(this,M,q,ie,ve-1,-ve)}var be=0,Me=1,je=0;for(this[q]=M&255;++be<ie&&(Me*=256);)M<0&&je===0&&this[q+be-1]!==0&&(je=1),this[q+be]=(M/Me>>0)-je&255;return q+ie},d.prototype.writeIntBE=function(M,q,ie,ue){if(M=+M,q=q>>>0,!ue){var ve=Math.pow(2,8*ie-1);Q(this,M,q,ie,ve-1,-ve)}var be=ie-1,Me=1,je=0;for(this[q+be]=M&255;--be>=0&&(Me*=256);)M<0&&je===0&&this[q+be+1]!==0&&(je=1),this[q+be]=(M/Me>>0)-je&255;return q+ie},d.prototype.writeInt8=function(M,q,ie){return M=+M,q=q>>>0,ie||Q(this,M,q,1,127,-128),M<0&&(M=255+M+1),this[q]=M&255,q+1},d.prototype.writeInt16LE=function(M,q,ie){return M=+M,q=q>>>0,ie||Q(this,M,q,2,32767,-32768),this[q]=M&255,this[q+1]=M>>>8,q+2},d.prototype.writeInt16BE=function(M,q,ie){return M=+M,q=q>>>0,ie||Q(this,M,q,2,32767,-32768),this[q]=M>>>8,this[q+1]=M&255,q+2},d.prototype.writeInt32LE=function(M,q,ie){return M=+M,q=q>>>0,ie||Q(this,M,q,4,2147483647,-2147483648),this[q]=M&255,this[q+1]=M>>>8,this[q+2]=M>>>16,this[q+3]=M>>>24,q+4},d.prototype.writeInt32BE=function(M,q,ie){return M=+M,q=q>>>0,ie||Q(this,M,q,4,2147483647,-2147483648),M<0&&(M=4294967295+M+1),this[q]=M>>>24,this[q+1]=M>>>16,this[q+2]=M>>>8,this[q+3]=M&255,q+4};function z(Y,M,q,ie,ue,ve){if(q+ie>Y.length)throw new RangeError("Index out of range");if(q<0)throw new RangeError("Index out of range")}function E(Y,M,q,ie,ue){return M=+M,q=q>>>0,ue||z(Y,M,q,4),n.write(Y,M,q,ie,23,4),q+4}d.prototype.writeFloatLE=function(M,q,ie){return E(this,M,q,!0,ie)},d.prototype.writeFloatBE=function(M,q,ie){return E(this,M,q,!1,ie)};function j(Y,M,q,ie,ue){return M=+M,q=q>>>0,ue||z(Y,M,q,8),n.write(Y,M,q,ie,52,8),q+8}d.prototype.writeDoubleLE=function(M,q,ie){return j(this,M,q,!0,ie)},d.prototype.writeDoubleBE=function(M,q,ie){return j(this,M,q,!1,ie)},d.prototype.copy=function(M,q,ie,ue){if(!d.isBuffer(M))throw new TypeError("argument should be a Buffer");if(ie||(ie=0),!ue&&ue!==0&&(ue=this.length),q>=M.length&&(q=M.length),q||(q=0),ue>0&&ue<ie&&(ue=ie),ue===ie||M.length===0||this.length===0)return 0;if(q<0)throw new RangeError("targetStart out of bounds");if(ie<0||ie>=this.length)throw new RangeError("Index out of range");if(ue<0)throw new RangeError("sourceEnd out of bounds");ue>this.length&&(ue=this.length),M.length-q<ue-ie&&(ue=M.length-q+ie);var ve=ue-ie;return this===M&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(q,ie,ue):Uint8Array.prototype.set.call(M,this.subarray(ie,ue),q),ve},d.prototype.fill=function(M,q,ie,ue){if(typeof M=="string"){if(typeof q=="string"?(ue=q,q=0,ie=this.length):typeof ie=="string"&&(ue=ie,ie=this.length),ue!==void 0&&typeof ue!="string")throw new TypeError("encoding must be a string");if(typeof ue=="string"&&!d.isEncoding(ue))throw new TypeError("Unknown encoding: "+ue);if(M.length===1){var ve=M.charCodeAt(0);(ue==="utf8"&&ve<128||ue==="latin1")&&(M=ve)}}else typeof M=="number"?M=M&255:typeof M=="boolean"&&(M=Number(M));if(q<0||this.length<q||this.length<ie)throw new RangeError("Out of range index");if(ie<=q)return this;q=q>>>0,ie=ie===void 0?this.length:ie>>>0,M||(M=0);var be;if(typeof M=="number")for(be=q;be<ie;++be)this[be]=M;else{var Me=d.isBuffer(M)?M:d.from(M,ue),je=Me.length;if(je===0)throw new TypeError('The value "'+M+'" is invalid for argument "value"');for(be=0;be<ie-q;++be)this[be+q]=Me[be%je]}return this};var X=/[^+/0-9A-Za-z-_]/g;function te(Y){if(Y=Y.split("=")[0],Y=Y.trim().replace(X,""),Y.length<2)return"";for(;Y.length%4!==0;)Y=Y+"=";return Y}function $(Y,M){M=M||1/0;for(var q,ie=Y.length,ue=null,ve=[],be=0;be<ie;++be){if(q=Y.charCodeAt(be),q>55295&&q<57344){if(!ue){if(q>56319){(M-=3)>-1&&ve.push(239,191,189);continue}else if(be+1===ie){(M-=3)>-1&&ve.push(239,191,189);continue}ue=q;continue}if(q<56320){(M-=3)>-1&&ve.push(239,191,189),ue=q;continue}q=(ue-55296<<10|q-56320)+65536}else ue&&(M-=3)>-1&&ve.push(239,191,189);if(ue=null,q<128){if((M-=1)<0)break;ve.push(q)}else if(q<2048){if((M-=2)<0)break;ve.push(q>>6|192,q&63|128)}else if(q<65536){if((M-=3)<0)break;ve.push(q>>12|224,q>>6&63|128,q&63|128)}else if(q<1114112){if((M-=4)<0)break;ve.push(q>>18|240,q>>12&63|128,q>>6&63|128,q&63|128)}else throw new Error("Invalid code point")}return ve}function ne(Y){for(var M=[],q=0;q<Y.length;++q)M.push(Y.charCodeAt(q)&255);return M}function ce(Y,M){for(var q,ie,ue,ve=[],be=0;be<Y.length&&!((M-=2)<0);++be)q=Y.charCodeAt(be),ie=q>>8,ue=q%256,ve.push(ue),ve.push(ie);return ve}function Te(Y){return t.toByteArray(te(Y))}function Ne(Y,M,q,ie){for(var ue=0;ue<ie&&!(ue+q>=M.length||ue>=Y.length);++ue)M[ue+q]=Y[ue];return ue}function le(Y,M){return Y instanceof M||Y!=null&&Y.constructor!=null&&Y.constructor.name!=null&&Y.constructor.name===M.name}function fe(Y){return Y!==Y}var _e=function(){for(var Y="0123456789abcdef",M=new Array(256),q=0;q<16;++q)for(var ie=q*16,ue=0;ue<16;++ue)M[ie+ue]=Y[q]+Y[ue];return M}()})(d_);/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */(function(e,t){var n=d_,i=n.Buffer;function r(l,d){for(var y in l)d[y]=l[y]}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(r(n,t),t.Buffer=u);function u(l,d,y){return i(l,d,y)}u.prototype=Object.create(i.prototype),r(i,u),u.from=function(l,d,y){if(typeof l=="number")throw new TypeError("Argument must not be a number");return i(l,d,y)},u.alloc=function(l,d,y){if(typeof l!="number")throw new TypeError("Argument must be a number");var T=i(l);return d!==void 0?typeof y=="string"?T.fill(d,y):T.fill(d):T.fill(0),T},u.allocUnsafe=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return i(l)},u.allocUnsafeSlow=function(l){if(typeof l!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(l)}})(np,np.exports);var dD=np.exports,gm=dD.Buffer,fT=gm.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function hD(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function pD(e){var t=hD(e);if(typeof t!="string"&&(gm.isEncoding===fT||!fT(e)))throw new Error("Unknown encoding: "+e);return t||e}f_.StringDecoder=ul;function ul(e){this.encoding=pD(e);var t;switch(this.encoding){case"utf16le":this.text=SD,this.end=vD,t=4;break;case"utf8":this.fillLast=gD,t=4;break;case"base64":this.text=wD,this.end=_D,t=3;break;default:this.write=LD,this.end=ND;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=gm.allocUnsafe(t)}ul.prototype.write=function(e){if(e.length===0)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""};ul.prototype.end=TD;ul.prototype.text=bD;ul.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function lh(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function mD(e,t,n){var i=t.length-1;if(i<n)return 0;var r=lh(t[i]);return r>=0?(r>0&&(e.lastNeed=r-1),r):--i<n||r===-2?0:(r=lh(t[i]),r>=0?(r>0&&(e.lastNeed=r-2),r):--i<n||r===-2?0:(r=lh(t[i]),r>=0?(r>0&&(r===2?r=0:e.lastNeed=r-3),r):0))}function yD(e,t,n){if((t[0]&192)!==128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(t[2]&192)!==128)return e.lastNeed=2,"�"}}function gD(e){var t=this.lastTotal-this.lastNeed,n=yD(this,e);if(n!==void 0)return n;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function bD(e,t){var n=mD(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)}function TD(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function SD(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function vD(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function wD(e,t){var n=(e.length-t)%3;return n===0?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function _D(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function LD(e){return e.toString(this.encoding)}function ND(e){return e&&e.length?this.write(e):""}const dT=Hs,{PromisePrototypeThen:kD,SymbolAsyncIterator:hT,SymbolIterator:pT}=Wt,{Buffer:OD}=es,{ERR_INVALID_ARG_TYPE:ED,ERR_STREAM_NULL_VALUES:CD}=In.codes;function AD(e,t,n){let i;if(typeof t=="string"||t instanceof OD)return new e({objectMode:!0,...n,read(){this.push(t),this.push(null)}});let r;if(t&&t[hT])r=!0,i=t[hT]();else if(t&&t[pT])r=!1,i=t[pT]();else throw new ED("iterable",["Iterable"],t);const u=new e({objectMode:!0,highWaterMark:1,...n});let l=!1;u._read=function(){l||(l=!0,y())},u._destroy=function(T,S){kD(d(T),()=>dT.nextTick(S,T),O=>dT.nextTick(S,O||T))};async function d(T){const S=T!=null,O=typeof i.throw=="function";if(S&&O){const{value:I,done:k}=await i.throw(T);if(await I,k)return}if(typeof i.return=="function"){const{value:I}=await i.return();await I}}async function y(){for(;;){try{const{value:T,done:S}=r?await i.next():i.next();if(S)u.push(null);else{const O=T&&typeof T.then=="function"?await T:T;if(O===null)throw l=!1,new CD;if(u.push(O))continue;l=!1}}catch(T){u.destroy(T)}break}}return u}var h_=AD,uh,mT;function Zc(){if(mT)return uh;mT=1;const e=Hs,{ArrayPrototypeIndexOf:t,NumberIsInteger:n,NumberIsNaN:i,NumberParseInt:r,ObjectDefineProperties:u,ObjectKeys:l,ObjectSetPrototypeOf:d,Promise:y,SafeSet:T,SymbolAsyncDispose:S,SymbolAsyncIterator:O,Symbol:I}=Wt;uh=be,be.ReadableState=ve;const{EventEmitter:k}=xc,{Stream:P,prependListener:m}=ym,{Buffer:C}=es,{addAbortSignal:J}=Vc,x=ts;let G=vn.debuglog("stream",ae=>{G=ae});const K=rD,U=$o,{getHighWaterMark:R,getDefaultHighWaterMark:A}=Kc,{aggregateTwoErrors:b,codes:{ERR_INVALID_ARG_TYPE:_,ERR_METHOD_NOT_IMPLEMENTED:L,ERR_OUT_OF_RANGE:g,ERR_STREAM_PUSH_AFTER_EOF:p,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:a},AbortError:o}=In,{validateObject:f}=ll,h=I("kPaused"),{StringDecoder:w}=f_,N=h_;d(be.prototype,P.prototype),d(be,P);const F=()=>{},{errorOrDestroy:B}=U,W=1,Q=2,z=4,E=8,j=16,X=32,te=64,$=128,ne=256,ce=512,Te=1024,Ne=2048,le=4096,fe=8192,_e=16384,Y=32768,M=65536,q=1<<17,ie=1<<18;function ue(ae){return{enumerable:!1,get(){return(this.state&ae)!==0},set(de){de?this.state|=ae:this.state&=~ae}}}u(ve.prototype,{objectMode:ue(W),ended:ue(Q),endEmitted:ue(z),reading:ue(E),constructed:ue(j),sync:ue(X),needReadable:ue(te),emittedReadable:ue($),readableListening:ue(ne),resumeScheduled:ue(ce),errorEmitted:ue(Te),emitClose:ue(Ne),autoDestroy:ue(le),destroyed:ue(fe),closed:ue(_e),closeEmitted:ue(Y),multiAwaitDrain:ue(M),readingMore:ue(q),dataEmitted:ue(ie)});function ve(ae,de,Be){typeof Be!="boolean"&&(Be=de instanceof yr()),this.state=Ne|le|j|X,ae&&ae.objectMode&&(this.state|=W),Be&&ae&&ae.readableObjectMode&&(this.state|=W),this.highWaterMark=ae?R(this,ae,"readableHighWaterMark",Be):A(!1),this.buffer=new K,this.length=0,this.pipes=[],this.flowing=null,this[h]=null,ae&&ae.emitClose===!1&&(this.state&=~Ne),ae&&ae.autoDestroy===!1&&(this.state&=~le),this.errored=null,this.defaultEncoding=ae&&ae.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,ae&&ae.encoding&&(this.decoder=new w(ae.encoding),this.encoding=ae.encoding)}function be(ae){if(!(this instanceof be))return new be(ae);const de=this instanceof yr();this._readableState=new ve(ae,this,de),ae&&(typeof ae.read=="function"&&(this._read=ae.read),typeof ae.destroy=="function"&&(this._destroy=ae.destroy),typeof ae.construct=="function"&&(this._construct=ae.construct),ae.signal&&!de&&J(ae.signal,this)),P.call(this,ae),U.construct(this,()=>{this._readableState.needReadable&&me(this,this._readableState)})}be.prototype.destroy=U.destroy,be.prototype._undestroy=U.undestroy,be.prototype._destroy=function(ae,de){de(ae)},be.prototype[k.captureRejectionSymbol]=function(ae){this.destroy(ae)},be.prototype[S]=function(){let ae;return this.destroyed||(ae=this.readableEnded?null:new o,this.destroy(ae)),new y((de,Be)=>x(this,Re=>Re&&Re!==ae?Be(Re):de(null)))},be.prototype.push=function(ae,de){return Me(this,ae,de,!1)},be.prototype.unshift=function(ae,de){return Me(this,ae,de,!0)};function Me(ae,de,Be,Re){G("readableAddChunk",de);const Ue=ae._readableState;let tn;if(Ue.state&W||(typeof de=="string"?(Be=Be||Ue.defaultEncoding,Ue.encoding!==Be&&(Re&&Ue.encoding?de=C.from(de,Be).toString(Ue.encoding):(de=C.from(de,Be),Be=""))):de instanceof C?Be="":P._isUint8Array(de)?(de=P._uint8ArrayToBuffer(de),Be=""):de!=null&&(tn=new _("chunk",["string","Buffer","Uint8Array"],de))),tn)B(ae,tn);else if(de===null)Ue.state&=~E,D(ae,Ue);else if(Ue.state&W||de&&de.length>0)if(Re)if(Ue.state&z)B(ae,new a);else{if(Ue.destroyed||Ue.errored)return!1;je(ae,Ue,de,!0)}else if(Ue.ended)B(ae,new p);else{if(Ue.destroyed||Ue.errored)return!1;Ue.state&=~E,Ue.decoder&&!Be?(de=Ue.decoder.write(de),Ue.objectMode||de.length!==0?je(ae,Ue,de,!1):me(ae,Ue)):je(ae,Ue,de,!1)}else Re||(Ue.state&=~E,me(ae,Ue));return!Ue.ended&&(Ue.length<Ue.highWaterMark||Ue.length===0)}function je(ae,de,Be,Re){de.flowing&&de.length===0&&!de.sync&&ae.listenerCount("data")>0?(de.state&M?de.awaitDrainWriters.clear():de.awaitDrainWriters=null,de.dataEmitted=!0,ae.emit("data",Be)):(de.length+=de.objectMode?1:Be.length,Re?de.buffer.unshift(Be):de.buffer.push(Be),de.state&te&&V(ae)),me(ae,de)}be.prototype.isPaused=function(){const ae=this._readableState;return ae[h]===!0||ae.flowing===!1},be.prototype.setEncoding=function(ae){const de=new w(ae);this._readableState.decoder=de,this._readableState.encoding=this._readableState.decoder.encoding;const Be=this._readableState.buffer;let Re="";for(const Ue of Be)Re+=de.write(Ue);return Be.clear(),Re!==""&&Be.push(Re),this._readableState.length=Re.length,this};const he=1073741824;function ye(ae){if(ae>he)throw new g("size","<= 1GiB",ae);return ae--,ae|=ae>>>1,ae|=ae>>>2,ae|=ae>>>4,ae|=ae>>>8,ae|=ae>>>16,ae++,ae}function Z(ae,de){return ae<=0||de.length===0&&de.ended?0:de.state&W?1:i(ae)?de.flowing&&de.length?de.buffer.first().length:de.length:ae<=de.length?ae:de.ended?de.length:0}be.prototype.read=function(ae){G("read",ae),ae===void 0?ae=NaN:n(ae)||(ae=r(ae,10));const de=this._readableState,Be=ae;if(ae>de.highWaterMark&&(de.highWaterMark=ye(ae)),ae!==0&&(de.state&=~$),ae===0&&de.needReadable&&((de.highWaterMark!==0?de.length>=de.highWaterMark:de.length>0)||de.ended))return G("read: emitReadable",de.length,de.ended),de.length===0&&de.ended?Ze(this):V(this),null;if(ae=Z(ae,de),ae===0&&de.ended)return de.length===0&&Ze(this),null;let Re=(de.state&te)!==0;if(G("need readable",Re),(de.length===0||de.length-ae<de.highWaterMark)&&(Re=!0,G("length less than watermark",Re)),de.ended||de.reading||de.destroyed||de.errored||!de.constructed)Re=!1,G("reading, ended or constructing",Re);else if(Re){G("do read"),de.state|=E|X,de.length===0&&(de.state|=te);try{this._read(de.highWaterMark)}catch(tn){B(this,tn)}de.state&=~X,de.reading||(ae=Z(Be,de))}let Ue;return ae>0?Ue=Xe(ae,de):Ue=null,Ue===null?(de.needReadable=de.length<=de.highWaterMark,ae=0):(de.length-=ae,de.multiAwaitDrain?de.awaitDrainWriters.clear():de.awaitDrainWriters=null),de.length===0&&(de.ended||(de.needReadable=!0),Be!==ae&&de.ended&&Ze(this)),Ue!==null&&!de.errorEmitted&&!de.closeEmitted&&(de.dataEmitted=!0,this.emit("data",Ue)),Ue};function D(ae,de){if(G("onEofChunk"),!de.ended){if(de.decoder){const Be=de.decoder.end();Be&&Be.length&&(de.buffer.push(Be),de.length+=de.objectMode?1:Be.length)}de.ended=!0,de.sync?V(ae):(de.needReadable=!1,de.emittedReadable=!0,oe(ae))}}function V(ae){const de=ae._readableState;G("emitReadable",de.needReadable,de.emittedReadable),de.needReadable=!1,de.emittedReadable||(G("emitReadable",de.flowing),de.emittedReadable=!0,e.nextTick(oe,ae))}function oe(ae){const de=ae._readableState;G("emitReadable_",de.destroyed,de.length,de.ended),!de.destroyed&&!de.errored&&(de.length||de.ended)&&(ae.emit("readable"),de.emittedReadable=!1),de.needReadable=!de.flowing&&!de.ended&&de.length<=de.highWaterMark,ct(ae)}function me(ae,de){!de.readingMore&&de.constructed&&(de.readingMore=!0,e.nextTick(Le,ae,de))}function Le(ae,de){for(;!de.reading&&!de.ended&&(de.length<de.highWaterMark||de.flowing&&de.length===0);){const Be=de.length;if(G("maybeReadMore read 0"),ae.read(0),Be===de.length)break}de.readingMore=!1}be.prototype._read=function(ae){throw new L("_read()")},be.prototype.pipe=function(ae,de){const Be=this,Re=this._readableState;Re.pipes.length===1&&(Re.multiAwaitDrain||(Re.multiAwaitDrain=!0,Re.awaitDrainWriters=new T(Re.awaitDrainWriters?[Re.awaitDrainWriters]:[]))),Re.pipes.push(ae),G("pipe count=%d opts=%j",Re.pipes.length,de);const tn=(!de||de.end!==!1)&&ae!==e.stdout&&ae!==e.stderr?fl:ns;Re.endEmitted?e.nextTick(tn):Be.once("end",tn),ae.on("unpipe",fn);function fn(Hi,li){G("onunpipe"),Hi===Be&&li&&li.hasUnpiped===!1&&(li.hasUnpiped=!0,ef())}function fl(){G("onend"),ae.end()}let qi,dl=!1;function ef(){G("cleanup"),ae.removeListener("close",ta),ae.removeListener("finish",Qs),qi&&ae.removeListener("drain",qi),ae.removeListener("error",ea),ae.removeListener("unpipe",fn),Be.removeListener("end",fl),Be.removeListener("end",ns),Be.removeListener("data",pl),dl=!0,qi&&Re.awaitDrainWriters&&(!ae._writableState||ae._writableState.needDrain)&&qi()}function hl(){dl||(Re.pipes.length===1&&Re.pipes[0]===ae?(G("false write response, pause",0),Re.awaitDrainWriters=ae,Re.multiAwaitDrain=!1):Re.pipes.length>1&&Re.pipes.includes(ae)&&(G("false write response, pause",Re.awaitDrainWriters.size),Re.awaitDrainWriters.add(ae)),Be.pause()),qi||(qi=Oe(Be,ae),ae.on("drain",qi))}Be.on("data",pl);function pl(Hi){G("ondata");const li=ae.write(Hi);G("dest.write",li),li===!1&&hl()}function ea(Hi){if(G("onerror",Hi),ns(),ae.removeListener("error",ea),ae.listenerCount("error")===0){const li=ae._writableState||ae._readableState;li&&!li.errorEmitted?B(ae,Hi):ae.emit("error",Hi)}}m(ae,"error",ea);function ta(){ae.removeListener("finish",Qs),ns()}ae.once("close",ta);function Qs(){G("onfinish"),ae.removeListener("close",ta),ns()}ae.once("finish",Qs);function ns(){G("unpipe"),Be.unpipe(ae)}return ae.emit("pipe",Be),ae.writableNeedDrain===!0?hl():Re.flowing||(G("pipe resume"),Be.resume()),ae};function Oe(ae,de){return function(){const Re=ae._readableState;Re.awaitDrainWriters===de?(G("pipeOnDrain",1),Re.awaitDrainWriters=null):Re.multiAwaitDrain&&(G("pipeOnDrain",Re.awaitDrainWriters.size),Re.awaitDrainWriters.delete(de)),(!Re.awaitDrainWriters||Re.awaitDrainWriters.size===0)&&ae.listenerCount("data")&&ae.resume()}}be.prototype.unpipe=function(ae){const de=this._readableState,Be={hasUnpiped:!1};if(de.pipes.length===0)return this;if(!ae){const Ue=de.pipes;de.pipes=[],this.pause();for(let tn=0;tn<Ue.length;tn++)Ue[tn].emit("unpipe",this,{hasUnpiped:!1});return this}const Re=t(de.pipes,ae);return Re===-1?this:(de.pipes.splice(Re,1),de.pipes.length===0&&this.pause(),ae.emit("unpipe",this,Be),this)},be.prototype.on=function(ae,de){const Be=P.prototype.on.call(this,ae,de),Re=this._readableState;return ae==="data"?(Re.readableListening=this.listenerCount("readable")>0,Re.flowing!==!1&&this.resume()):ae==="readable"&&!Re.endEmitted&&!Re.readableListening&&(Re.readableListening=Re.needReadable=!0,Re.flowing=!1,Re.emittedReadable=!1,G("on readable",Re.length,Re.reading),Re.length?V(this):Re.reading||e.nextTick(nt,this)),Be},be.prototype.addListener=be.prototype.on,be.prototype.removeListener=function(ae,de){const Be=P.prototype.removeListener.call(this,ae,de);return ae==="readable"&&e.nextTick(ze,this),Be},be.prototype.off=be.prototype.removeListener,be.prototype.removeAllListeners=function(ae){const de=P.prototype.removeAllListeners.apply(this,arguments);return(ae==="readable"||ae===void 0)&&e.nextTick(ze,this),de};function ze(ae){const de=ae._readableState;de.readableListening=ae.listenerCount("readable")>0,de.resumeScheduled&&de[h]===!1?de.flowing=!0:ae.listenerCount("data")>0?ae.resume():de.readableListening||(de.flowing=null)}function nt(ae){G("readable nexttick read 0"),ae.read(0)}be.prototype.resume=function(){const ae=this._readableState;return ae.flowing||(G("resume"),ae.flowing=!ae.readableListening,ut(this,ae)),ae[h]=!1,this};function ut(ae,de){de.resumeScheduled||(de.resumeScheduled=!0,e.nextTick(gt,ae,de))}function gt(ae,de){G("resume",de.reading),de.reading||ae.read(0),de.resumeScheduled=!1,ae.emit("resume"),ct(ae),de.flowing&&!de.reading&&ae.read(0)}be.prototype.pause=function(){return G("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(G("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[h]=!0,this};function ct(ae){const de=ae._readableState;for(G("flow",de.flowing);de.flowing&&ae.read()!==null;);}be.prototype.wrap=function(ae){let de=!1;ae.on("data",Re=>{!this.push(Re)&&ae.pause&&(de=!0,ae.pause())}),ae.on("end",()=>{this.push(null)}),ae.on("error",Re=>{B(this,Re)}),ae.on("close",()=>{this.destroy()}),ae.on("destroy",()=>{this.destroy()}),this._read=()=>{de&&ae.resume&&(de=!1,ae.resume())};const Be=l(ae);for(let Re=1;Re<Be.length;Re++){const Ue=Be[Re];this[Ue]===void 0&&typeof ae[Ue]=="function"&&(this[Ue]=ae[Ue].bind(ae))}return this},be.prototype[O]=function(){return Mn(this)},be.prototype.iterator=function(ae){return ae!==void 0&&f(ae,"options"),Mn(this,ae)};function Mn(ae,de){typeof ae.read!="function"&&(ae=be.wrap(ae,{objectMode:!0}));const Be=We(ae,de);return Be.stream=ae,Be}async function*We(ae,de){let Be=F;function Re(fn){this===ae?(Be(),Be=F):Be=fn}ae.on("readable",Re);let Ue;const tn=x(ae,{writable:!1},fn=>{Ue=fn?b(Ue,fn):null,Be(),Be=F});try{for(;;){const fn=ae.destroyed?null:ae.read();if(fn!==null)yield fn;else{if(Ue)throw Ue;if(Ue===null)return;await new y(Re)}}}catch(fn){throw Ue=b(Ue,fn),Ue}finally{(Ue||de?.destroyOnReturn!==!1)&&(Ue===void 0||ae._readableState.autoDestroy)?U.destroyer(ae,null):(ae.off("readable",Re),tn())}}u(be.prototype,{readable:{__proto__:null,get(){const ae=this._readableState;return!!ae&&ae.readable!==!1&&!ae.destroyed&&!ae.errorEmitted&&!ae.endEmitted},set(ae){this._readableState&&(this._readableState.readable=!!ae)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(ae){this._readableState&&(this._readableState.flowing=ae)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(ae){this._readableState&&(this._readableState.destroyed=ae)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),u(ve.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[h]!==!1},set(ae){this[h]=!!ae}}}),be._fromList=Xe;function Xe(ae,de){if(de.length===0)return null;let Be;return de.objectMode?Be=de.buffer.shift():!ae||ae>=de.length?(de.decoder?Be=de.buffer.join(""):de.buffer.length===1?Be=de.buffer.first():Be=de.buffer.concat(de.length),de.buffer.clear()):Be=de.buffer.consume(ae,de.decoder),Be}function Ze(ae){const de=ae._readableState;G("endReadable",de.endEmitted),de.endEmitted||(de.ended=!0,e.nextTick(Qe,de,ae))}function Qe(ae,de){if(G("endReadableNT",ae.endEmitted,ae.length),!ae.errored&&!ae.closeEmitted&&!ae.endEmitted&&ae.length===0){if(ae.endEmitted=!0,de.emit("end"),de.writable&&de.allowHalfOpen===!1)e.nextTick(Bt,de);else if(ae.autoDestroy){const Be=de._writableState;(!Be||Be.autoDestroy&&(Be.finished||Be.writable===!1))&&de.destroy()}}}function Bt(ae){ae.writable&&!ae.writableEnded&&!ae.destroyed&&ae.end()}be.from=function(ae,de){return N(be,ae,de)};let cn;function en(){return cn===void 0&&(cn={}),cn}return be.fromWeb=function(ae,de){return en().newStreamReadableFromReadableStream(ae,de)},be.toWeb=function(ae,de){return en().newReadableStreamFromStreamReadable(ae,de)},be.wrap=function(ae,de){var Be,Re;return new be({objectMode:(Be=(Re=ae.readableObjectMode)!==null&&Re!==void 0?Re:ae.objectMode)!==null&&Be!==void 0?Be:!0,...de,destroy(Ue,tn){U.destroyer(ae,Ue),tn(Ue)}}).wrap(ae)},uh}var ch,yT;function bm(){if(yT)return ch;yT=1;const e=Hs,{ArrayPrototypeSlice:t,Error:n,FunctionPrototypeSymbolHasInstance:i,ObjectDefineProperty:r,ObjectDefineProperties:u,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:d,Symbol:y,SymbolHasInstance:T}=Wt;ch=f,f.WritableState=a;const{EventEmitter:S}=xc,O=ym.Stream,{Buffer:I}=es,k=$o,{addAbortSignal:P}=Vc,{getHighWaterMark:m,getDefaultHighWaterMark:C}=Kc,{ERR_INVALID_ARG_TYPE:J,ERR_METHOD_NOT_IMPLEMENTED:x,ERR_MULTIPLE_CALLBACK:G,ERR_STREAM_CANNOT_PIPE:K,ERR_STREAM_DESTROYED:U,ERR_STREAM_ALREADY_FINISHED:R,ERR_STREAM_NULL_VALUES:A,ERR_STREAM_WRITE_AFTER_END:b,ERR_UNKNOWN_ENCODING:_}=In.codes,{errorOrDestroy:L}=k;l(f.prototype,O.prototype),l(f,O);function g(){}const p=y("kOnFinished");function a(le,fe,_e){typeof _e!="boolean"&&(_e=fe instanceof yr()),this.objectMode=!!(le&&le.objectMode),_e&&(this.objectMode=this.objectMode||!!(le&&le.writableObjectMode)),this.highWaterMark=le?m(this,le,"writableHighWaterMark",_e):C(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const Y=!!(le&&le.decodeStrings===!1);this.decodeStrings=!Y,this.defaultEncoding=le&&le.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=B.bind(void 0,fe),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,o(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!le||le.emitClose!==!1,this.autoDestroy=!le||le.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[p]=[]}function o(le){le.buffered=[],le.bufferedIndex=0,le.allBuffers=!0,le.allNoop=!0}a.prototype.getBuffer=function(){return t(this.buffered,this.bufferedIndex)},r(a.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function f(le){const fe=this instanceof yr();if(!fe&&!i(f,this))return new f(le);this._writableState=new a(le,this,fe),le&&(typeof le.write=="function"&&(this._write=le.write),typeof le.writev=="function"&&(this._writev=le.writev),typeof le.destroy=="function"&&(this._destroy=le.destroy),typeof le.final=="function"&&(this._final=le.final),typeof le.construct=="function"&&(this._construct=le.construct),le.signal&&P(le.signal,this)),O.call(this,le),k.construct(this,()=>{const _e=this._writableState;_e.writing||E(this,_e),$(this,_e)})}r(f,T,{__proto__:null,value:function(le){return i(this,le)?!0:this!==f?!1:le&&le._writableState instanceof a}}),f.prototype.pipe=function(){L(this,new K)};function h(le,fe,_e,Y){const M=le._writableState;if(typeof _e=="function")Y=_e,_e=M.defaultEncoding;else{if(!_e)_e=M.defaultEncoding;else if(_e!=="buffer"&&!I.isEncoding(_e))throw new _(_e);typeof Y!="function"&&(Y=g)}if(fe===null)throw new A;if(!M.objectMode)if(typeof fe=="string")M.decodeStrings!==!1&&(fe=I.from(fe,_e),_e="buffer");else if(fe instanceof I)_e="buffer";else if(O._isUint8Array(fe))fe=O._uint8ArrayToBuffer(fe),_e="buffer";else throw new J("chunk",["string","Buffer","Uint8Array"],fe);let q;return M.ending?q=new b:M.destroyed&&(q=new U("write")),q?(e.nextTick(Y,q),L(le,q,!0),q):(M.pendingcb++,w(le,M,fe,_e,Y))}f.prototype.write=function(le,fe,_e){return h(this,le,fe,_e)===!0},f.prototype.cork=function(){this._writableState.corked++},f.prototype.uncork=function(){const le=this._writableState;le.corked&&(le.corked--,le.writing||E(this,le))},f.prototype.setDefaultEncoding=function(fe){if(typeof fe=="string"&&(fe=d(fe)),!I.isEncoding(fe))throw new _(fe);return this._writableState.defaultEncoding=fe,this};function w(le,fe,_e,Y,M){const q=fe.objectMode?1:_e.length;fe.length+=q;const ie=fe.length<fe.highWaterMark;return ie||(fe.needDrain=!0),fe.writing||fe.corked||fe.errored||!fe.constructed?(fe.buffered.push({chunk:_e,encoding:Y,callback:M}),fe.allBuffers&&Y!=="buffer"&&(fe.allBuffers=!1),fe.allNoop&&M!==g&&(fe.allNoop=!1)):(fe.writelen=q,fe.writecb=M,fe.writing=!0,fe.sync=!0,le._write(_e,Y,fe.onwrite),fe.sync=!1),ie&&!fe.errored&&!fe.destroyed}function N(le,fe,_e,Y,M,q,ie){fe.writelen=Y,fe.writecb=ie,fe.writing=!0,fe.sync=!0,fe.destroyed?fe.onwrite(new U("write")):_e?le._writev(M,fe.onwrite):le._write(M,q,fe.onwrite),fe.sync=!1}function F(le,fe,_e,Y){--fe.pendingcb,Y(_e),z(fe),L(le,_e)}function B(le,fe){const _e=le._writableState,Y=_e.sync,M=_e.writecb;if(typeof M!="function"){L(le,new G);return}_e.writing=!1,_e.writecb=null,_e.length-=_e.writelen,_e.writelen=0,fe?(fe.stack,_e.errored||(_e.errored=fe),le._readableState&&!le._readableState.errored&&(le._readableState.errored=fe),Y?e.nextTick(F,le,_e,fe,M):F(le,_e,fe,M)):(_e.buffered.length>_e.bufferedIndex&&E(le,_e),Y?_e.afterWriteTickInfo!==null&&_e.afterWriteTickInfo.cb===M?_e.afterWriteTickInfo.count++:(_e.afterWriteTickInfo={count:1,cb:M,stream:le,state:_e},e.nextTick(W,_e.afterWriteTickInfo)):Q(le,_e,1,M))}function W({stream:le,state:fe,count:_e,cb:Y}){return fe.afterWriteTickInfo=null,Q(le,fe,_e,Y)}function Q(le,fe,_e,Y){for(!fe.ending&&!le.destroyed&&fe.length===0&&fe.needDrain&&(fe.needDrain=!1,le.emit("drain"));_e-- >0;)fe.pendingcb--,Y();fe.destroyed&&z(fe),$(le,fe)}function z(le){if(le.writing)return;for(let M=le.bufferedIndex;M<le.buffered.length;++M){var fe;const{chunk:q,callback:ie}=le.buffered[M],ue=le.objectMode?1:q.length;le.length-=ue,ie((fe=le.errored)!==null&&fe!==void 0?fe:new U("write"))}const _e=le[p].splice(0);for(let M=0;M<_e.length;M++){var Y;_e[M]((Y=le.errored)!==null&&Y!==void 0?Y:new U("end"))}o(le)}function E(le,fe){if(fe.corked||fe.bufferProcessing||fe.destroyed||!fe.constructed)return;const{buffered:_e,bufferedIndex:Y,objectMode:M}=fe,q=_e.length-Y;if(!q)return;let ie=Y;if(fe.bufferProcessing=!0,q>1&&le._writev){fe.pendingcb-=q-1;const ue=fe.allNoop?g:be=>{for(let Me=ie;Me<_e.length;++Me)_e[Me].callback(be)},ve=fe.allNoop&&ie===0?_e:t(_e,ie);ve.allBuffers=fe.allBuffers,N(le,fe,!0,fe.length,ve,"",ue),o(fe)}else{do{const{chunk:ue,encoding:ve,callback:be}=_e[ie];_e[ie++]=null;const Me=M?1:ue.length;N(le,fe,!1,Me,ue,ve,be)}while(ie<_e.length&&!fe.writing);ie===_e.length?o(fe):ie>256?(_e.splice(0,ie),fe.bufferedIndex=0):fe.bufferedIndex=ie}fe.bufferProcessing=!1}f.prototype._write=function(le,fe,_e){if(this._writev)this._writev([{chunk:le,encoding:fe}],_e);else throw new x("_write()")},f.prototype._writev=null,f.prototype.end=function(le,fe,_e){const Y=this._writableState;typeof le=="function"?(_e=le,le=null,fe=null):typeof fe=="function"&&(_e=fe,fe=null);let M;if(le!=null){const q=h(this,le,fe);q instanceof n&&(M=q)}return Y.corked&&(Y.corked=1,this.uncork()),M||(!Y.errored&&!Y.ending?(Y.ending=!0,$(this,Y,!0),Y.ended=!0):Y.finished?M=new R("end"):Y.destroyed&&(M=new U("end"))),typeof _e=="function"&&(M||Y.finished?e.nextTick(_e,M):Y[p].push(_e)),this};function j(le){return le.ending&&!le.destroyed&&le.constructed&&le.length===0&&!le.errored&&le.buffered.length===0&&!le.finished&&!le.writing&&!le.errorEmitted&&!le.closeEmitted}function X(le,fe){let _e=!1;function Y(M){if(_e){L(le,M??G());return}if(_e=!0,fe.pendingcb--,M){const q=fe[p].splice(0);for(let ie=0;ie<q.length;ie++)q[ie](M);L(le,M,fe.sync)}else j(fe)&&(fe.prefinished=!0,le.emit("prefinish"),fe.pendingcb++,e.nextTick(ne,le,fe))}fe.sync=!0,fe.pendingcb++;try{le._final(Y)}catch(M){Y(M)}fe.sync=!1}function te(le,fe){!fe.prefinished&&!fe.finalCalled&&(typeof le._final=="function"&&!fe.destroyed?(fe.finalCalled=!0,X(le,fe)):(fe.prefinished=!0,le.emit("prefinish")))}function $(le,fe,_e){j(fe)&&(te(le,fe),fe.pendingcb===0&&(_e?(fe.pendingcb++,e.nextTick((Y,M)=>{j(M)?ne(Y,M):M.pendingcb--},le,fe)):j(fe)&&(fe.pendingcb++,ne(le,fe))))}function ne(le,fe){fe.pendingcb--,fe.finished=!0;const _e=fe[p].splice(0);for(let Y=0;Y<_e.length;Y++)_e[Y]();if(le.emit("finish"),fe.autoDestroy){const Y=le._readableState;(!Y||Y.autoDestroy&&(Y.endEmitted||Y.readable===!1))&&le.destroy()}}u(f.prototype,{closed:{__proto__:null,get(){return this._writableState?this._writableState.closed:!1}},destroyed:{__proto__:null,get(){return this._writableState?this._writableState.destroyed:!1},set(le){this._writableState&&(this._writableState.destroyed=le)}},writable:{__proto__:null,get(){const le=this._writableState;return!!le&&le.writable!==!1&&!le.destroyed&&!le.errored&&!le.ending&&!le.ended},set(le){this._writableState&&(this._writableState.writable=!!le)}},writableFinished:{__proto__:null,get(){return this._writableState?this._writableState.finished:!1}},writableObjectMode:{__proto__:null,get(){return this._writableState?this._writableState.objectMode:!1}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return this._writableState?this._writableState.ending:!1}},writableNeedDrain:{__proto__:null,get(){const le=this._writableState;return le?!le.destroyed&&!le.ending&&le.needDrain:!1}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._writableState.writable!==!1&&(this._writableState.destroyed||this._writableState.errored)&&!this._writableState.finished)}}});const ce=k.destroy;f.prototype.destroy=function(le,fe){const _e=this._writableState;return!_e.destroyed&&(_e.bufferedIndex<_e.buffered.length||_e[p].length)&&e.nextTick(z,_e),ce.call(this,le,fe),this},f.prototype._undestroy=k.undestroy,f.prototype._destroy=function(le,fe){fe(le)},f.prototype[S.captureRejectionSymbol]=function(le){this.destroy(le)};let Te;function Ne(){return Te===void 0&&(Te={}),Te}return f.fromWeb=function(le,fe){return Ne().newStreamWritableFromWritableStream(le,fe)},f.toWeb=function(le){return Ne().newWritableStreamFromStreamWritable(le)},ch}var fh,gT;function FD(){if(gT)return fh;gT=1;const e=Hs,t=es,{isReadable:n,isWritable:i,isIterable:r,isNodeStream:u,isReadableNodeStream:l,isWritableNodeStream:d,isDuplexNodeStream:y,isReadableStream:T,isWritableStream:S}=wr,O=ts,{AbortError:I,codes:{ERR_INVALID_ARG_TYPE:k,ERR_INVALID_RETURN_VALUE:P}}=In,{destroyer:m}=$o,C=yr(),J=Zc(),x=bm(),{createDeferredPromise:G}=vn,K=h_,U=globalThis.Blob||t.Blob,R=typeof U<"u"?function(a){return a instanceof U}:function(a){return!1},A=globalThis.AbortController||Ka().AbortController,{FunctionPrototypeCall:b}=Wt;class _ extends C{constructor(a){super(a),a?.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),a?.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}fh=function p(a,o){if(y(a))return a;if(l(a))return g({readable:a});if(d(a))return g({writable:a});if(u(a))return g({writable:!1,readable:!1});if(T(a))return g({readable:J.fromWeb(a)});if(S(a))return g({writable:x.fromWeb(a)});if(typeof a=="function"){const{value:h,write:w,final:N,destroy:F}=L(a);if(r(h))return K(_,h,{objectMode:!0,write:w,final:N,destroy:F});const B=h?.then;if(typeof B=="function"){let W;const Q=b(B,h,z=>{if(z!=null)throw new P("nully","body",z)},z=>{m(W,z)});return W=new _({objectMode:!0,readable:!1,write:w,final(z){N(async()=>{try{await Q,e.nextTick(z,null)}catch(E){e.nextTick(z,E)}})},destroy:F})}throw new P("Iterable, AsyncIterable or AsyncFunction",o,h)}if(R(a))return p(a.arrayBuffer());if(r(a))return K(_,a,{objectMode:!0,writable:!1});if(T(a?.readable)&&S(a?.writable))return _.fromWeb(a);if(typeof a?.writable=="object"||typeof a?.readable=="object"){const h=a!=null&&a.readable?l(a?.readable)?a?.readable:p(a.readable):void 0,w=a!=null&&a.writable?d(a?.writable)?a?.writable:p(a.writable):void 0;return g({readable:h,writable:w})}const f=a?.then;if(typeof f=="function"){let h;return b(f,a,w=>{w!=null&&h.push(w),h.push(null)},w=>{m(h,w)}),h=new _({objectMode:!0,writable:!1,read(){}})}throw new k(o,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],a)};function L(p){let{promise:a,resolve:o}=G();const f=new A,h=f.signal;return{value:p(async function*(){for(;;){const N=a;a=null;const{chunk:F,done:B,cb:W}=await N;if(e.nextTick(W),B)return;if(h.aborted)throw new I(void 0,{cause:h.reason});({promise:a,resolve:o}=G()),yield F}}(),{signal:h}),write(N,F,B){const W=o;o=null,W({chunk:N,done:!1,cb:B})},final(N){const F=o;o=null,F({done:!0,cb:N})},destroy(N,F){f.abort(),F(N)}}}function g(p){const a=p.readable&&typeof p.readable.read!="function"?J.wrap(p.readable):p.readable,o=p.writable;let f=!!n(a),h=!!i(o),w,N,F,B,W;function Q(z){const E=B;B=null,E?E(z):z&&W.destroy(z)}return W=new _({readableObjectMode:!!(a!=null&&a.readableObjectMode),writableObjectMode:!!(o!=null&&o.writableObjectMode),readable:f,writable:h}),h&&(O(o,z=>{h=!1,z&&m(a,z),Q(z)}),W._write=function(z,E,j){o.write(z,E)?j():w=j},W._final=function(z){o.end(),N=z},o.on("drain",function(){if(w){const z=w;w=null,z()}}),o.on("finish",function(){if(N){const z=N;N=null,z()}})),f&&(O(a,z=>{f=!1,z&&m(a,z),Q(z)}),a.on("readable",function(){if(F){const z=F;F=null,z()}}),a.on("end",function(){W.push(null)}),W._read=function(){for(;;){const z=a.read();if(z===null){F=W._read;return}if(!W.push(z))return}}),W._destroy=function(z,E){!z&&B!==null&&(z=new I),F=null,w=null,N=null,B===null?E(z):(B=E,m(o,z),m(a,z))},W}return fh}var dh,bT;function yr(){if(bT)return dh;bT=1;const{ObjectDefineProperties:e,ObjectGetOwnPropertyDescriptor:t,ObjectKeys:n,ObjectSetPrototypeOf:i}=Wt;dh=l;const r=Zc(),u=bm();i(l.prototype,r.prototype),i(l,r);{const S=n(u.prototype);for(let O=0;O<S.length;O++){const I=S[O];l.prototype[I]||(l.prototype[I]=u.prototype[I])}}function l(S){if(!(this instanceof l))return new l(S);r.call(this,S),u.call(this,S),S?(this.allowHalfOpen=S.allowHalfOpen!==!1,S.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),S.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}e(l.prototype,{writable:{__proto__:null,...t(u.prototype,"writable")},writableHighWaterMark:{__proto__:null,...t(u.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...t(u.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...t(u.prototype,"writableBuffer")},writableLength:{__proto__:null,...t(u.prototype,"writableLength")},writableFinished:{__proto__:null,...t(u.prototype,"writableFinished")},writableCorked:{__proto__:null,...t(u.prototype,"writableCorked")},writableEnded:{__proto__:null,...t(u.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...t(u.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set(S){this._readableState&&this._writableState&&(this._readableState.destroyed=S,this._writableState.destroyed=S)}}});let d;function y(){return d===void 0&&(d={}),d}l.fromWeb=function(S,O){return y().newStreamDuplexFromReadableWritablePair(S,O)},l.toWeb=function(S){return y().newReadableWritablePairFromDuplex(S)};let T;return l.from=function(S){return T||(T=FD()),T(S,"body")},dh}const{ObjectSetPrototypeOf:p_,Symbol:PD}=Wt;var m_=gr;const{ERR_METHOD_NOT_IMPLEMENTED:ID}=In.codes,Tm=yr(),{getHighWaterMark:MD}=Kc;p_(gr.prototype,Tm.prototype);p_(gr,Tm);const Da=PD("kCallback");function gr(e){if(!(this instanceof gr))return new gr(e);const t=e?MD(this,e,"readableHighWaterMark",!0):null;t===0&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),Tm.call(this,e),this._readableState.sync=!1,this[Da]=null,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",jD)}function ip(e){typeof this._flush=="function"&&!this.destroyed?this._flush((t,n)=>{if(t){e?e(t):this.destroy(t);return}n!=null&&this.push(n),this.push(null),e&&e()}):(this.push(null),e&&e())}function jD(){this._final!==ip&&ip.call(this)}gr.prototype._final=ip;gr.prototype._transform=function(e,t,n){throw new ID("_transform()")};gr.prototype._write=function(e,t,n){const i=this._readableState,r=this._writableState,u=i.length;this._transform(e,t,(l,d)=>{if(l){n(l);return}d!=null&&this.push(d),r.ended||u===i.length||i.length<i.highWaterMark?n():this[Da]=n})};gr.prototype._read=function(){if(this[Da]){const e=this[Da];this[Da]=null,e()}};const{ObjectSetPrototypeOf:y_}=Wt;var g_=Ro;const Sm=m_;y_(Ro.prototype,Sm.prototype);y_(Ro,Sm);function Ro(e){if(!(this instanceof Ro))return new Ro(e);Sm.call(this,e)}Ro.prototype._transform=function(e,t,n){n(null,e)};const Aa=Hs,{ArrayIsArray:BD,Promise:RD,SymbolAsyncIterator:DD,SymbolDispose:xD}=Wt,Qu=ts,{once:UD}=vn,JD=$o,TT=yr(),{aggregateTwoErrors:zD,codes:{ERR_INVALID_ARG_TYPE:rp,ERR_INVALID_RETURN_VALUE:hh,ERR_MISSING_ARGS:WD,ERR_STREAM_DESTROYED:GD,ERR_STREAM_PREMATURE_CLOSE:qD},AbortError:HD}=In,{validateFunction:VD,validateAbortSignal:KD}=ll,{isIterable:bs,isReadable:ph,isReadableNodeStream:Bu,isNodeStream:ST,isTransformStream:To,isWebStream:ZD,isReadableStream:mh,isReadableFinished:QD}=wr,XD=globalThis.AbortController||Ka().AbortController;let yh,gh,bh;function vT(e,t,n){let i=!1;e.on("close",()=>{i=!0});const r=Qu(e,{readable:t,writable:n},u=>{i=!u});return{destroy:u=>{i||(i=!0,JD.destroyer(e,u||new GD("pipe")))},cleanup:r}}function YD(e){return VD(e[e.length-1],"streams[stream.length - 1]"),e.pop()}function Th(e){if(bs(e))return e;if(Bu(e))return $D(e);throw new rp("val",["Readable","Iterable","AsyncIterable"],e)}async function*$D(e){gh||(gh=Zc()),yield*gh.prototype[DD].call(e)}async function gu(e,t,n,{end:i}){let r,u=null;const l=T=>{if(T&&(r=T),u){const S=u;u=null,S()}},d=()=>new RD((T,S)=>{r?S(r):u=()=>{r?S(r):T()}});t.on("drain",l);const y=Qu(t,{readable:!1},l);try{t.writableNeedDrain&&await d();for await(const T of e)t.write(T)||await d();i&&(t.end(),await d()),n()}catch(T){n(r!==T?zD(r,T):T)}finally{y(),t.off("drain",l)}}async function Sh(e,t,n,{end:i}){To(t)&&(t=t.writable);const r=t.getWriter();try{for await(const u of e)await r.ready,r.write(u).catch(()=>{});await r.ready,i&&await r.close(),n()}catch(u){try{await r.abort(u),n(u)}catch(l){n(l)}}}function ex(...e){return b_(e,UD(YD(e)))}function b_(e,t,n){if(e.length===1&&BD(e[0])&&(e=e[0]),e.length<2)throw new WD("streams");const i=new XD,r=i.signal,u=n?.signal,l=[];KD(u,"options.signal");function d(){P(new HD)}bh=bh||vn.addAbortListener;let y;u&&(y=bh(u,d));let T,S;const O=[];let I=0;function k(x){P(x,--I===0)}function P(x,G){var K;if(x&&(!T||T.code==="ERR_STREAM_PREMATURE_CLOSE")&&(T=x),!(!T&&!G)){for(;O.length;)O.shift()(T);(K=y)===null||K===void 0||K[xD](),i.abort(),G&&(T||l.forEach(U=>U()),Aa.nextTick(t,T,S))}}let m;for(let x=0;x<e.length;x++){const G=e[x],K=x<e.length-1,U=x>0,R=K||n?.end!==!1,A=x===e.length-1;if(ST(G)){let b=function(_){_&&_.name!=="AbortError"&&_.code!=="ERR_STREAM_PREMATURE_CLOSE"&&k(_)};if(R){const{destroy:_,cleanup:L}=vT(G,K,U);O.push(_),ph(G)&&A&&l.push(L)}G.on("error",b),ph(G)&&A&&l.push(()=>{G.removeListener("error",b)})}if(x===0)if(typeof G=="function"){if(m=G({signal:r}),!bs(m))throw new hh("Iterable, AsyncIterable or Stream","source",m)}else bs(G)||Bu(G)||To(G)?m=G:m=TT.from(G);else if(typeof G=="function"){if(To(m)){var C;m=Th((C=m)===null||C===void 0?void 0:C.readable)}else m=Th(m);if(m=G(m,{signal:r}),K){if(!bs(m,!0))throw new hh("AsyncIterable",`transform[${x-1}]`,m)}else{var J;yh||(yh=g_);const b=new yh({objectMode:!0}),_=(J=m)===null||J===void 0?void 0:J.then;if(typeof _=="function")I++,_.call(m,p=>{S=p,p!=null&&b.write(p),R&&b.end(),Aa.nextTick(k)},p=>{b.destroy(p),Aa.nextTick(k,p)});else if(bs(m,!0))I++,gu(m,b,k,{end:R});else if(mh(m)||To(m)){const p=m.readable||m;I++,gu(p,b,k,{end:R})}else throw new hh("AsyncIterable or Promise","destination",m);m=b;const{destroy:L,cleanup:g}=vT(m,!1,!0);O.push(L),A&&l.push(g)}}else if(ST(G)){if(Bu(m)){I+=2;const b=tx(m,G,k,{end:R});ph(G)&&A&&l.push(b)}else if(To(m)||mh(m)){const b=m.readable||m;I++,gu(b,G,k,{end:R})}else if(bs(m))I++,gu(m,G,k,{end:R});else throw new rp("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],m);m=G}else if(ZD(G)){if(Bu(m))I++,Sh(Th(m),G,k,{end:R});else if(mh(m)||bs(m))I++,Sh(m,G,k,{end:R});else if(To(m))I++,Sh(m.readable,G,k,{end:R});else throw new rp("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],m);m=G}else m=TT.from(G)}return(r!=null&&r.aborted||u!=null&&u.aborted)&&Aa.nextTick(d),m}function tx(e,t,n,{end:i}){let r=!1;if(t.on("close",()=>{r||n(new qD)}),e.pipe(t,{end:!1}),i){let u=function(){r=!0,t.end()};QD(e)?Aa.nextTick(u):e.once("end",u)}else n();return Qu(e,{readable:!0,writable:!1},u=>{const l=e._readableState;u&&u.code==="ERR_STREAM_PREMATURE_CLOSE"&&l&&l.ended&&!l.errored&&!l.errorEmitted?e.once("end",n).once("error",n):n(u)}),Qu(t,{readable:!1,writable:!0},n)}var vm={pipelineImpl:b_,pipeline:ex};const{pipeline:nx}=vm,bu=yr(),{destroyer:ix}=$o,{isNodeStream:Tu,isReadable:wT,isWritable:_T,isWebStream:vh,isTransformStream:ms,isWritableStream:LT,isReadableStream:NT}=wr,{AbortError:rx,codes:{ERR_INVALID_ARG_VALUE:kT,ERR_MISSING_ARGS:sx}}=In,ox=ts;var T_=function(...t){if(t.length===0)throw new sx("streams");if(t.length===1)return bu.from(t[0]);const n=[...t];if(typeof t[0]=="function"&&(t[0]=bu.from(t[0])),typeof t[t.length-1]=="function"){const k=t.length-1;t[k]=bu.from(t[k])}for(let k=0;k<t.length;++k)if(!(!Tu(t[k])&&!vh(t[k]))){if(k<t.length-1&&!(wT(t[k])||NT(t[k])||ms(t[k])))throw new kT(`streams[${k}]`,n[k],"must be readable");if(k>0&&!(_T(t[k])||LT(t[k])||ms(t[k])))throw new kT(`streams[${k}]`,n[k],"must be writable")}let i,r,u,l,d;function y(k){const P=l;l=null,P?P(k):k?d.destroy(k):!I&&!O&&d.destroy()}const T=t[0],S=nx(t,y),O=!!(_T(T)||LT(T)||ms(T)),I=!!(wT(S)||NT(S)||ms(S));if(d=new bu({writableObjectMode:!!(T!=null&&T.writableObjectMode),readableObjectMode:!!(S!=null&&S.readableObjectMode),writable:O,readable:I}),O){if(Tu(T))d._write=function(P,m,C){T.write(P,m)?C():i=C},d._final=function(P){T.end(),r=P},T.on("drain",function(){if(i){const P=i;i=null,P()}});else if(vh(T)){const m=(ms(T)?T.writable:T).getWriter();d._write=async function(C,J,x){try{await m.ready,m.write(C).catch(()=>{}),x()}catch(G){x(G)}},d._final=async function(C){try{await m.ready,m.close().catch(()=>{}),r=C}catch(J){C(J)}}}const k=ms(S)?S.readable:S;ox(k,()=>{if(r){const P=r;r=null,P()}})}if(I){if(Tu(S))S.on("readable",function(){if(u){const k=u;u=null,k()}}),S.on("end",function(){d.push(null)}),d._read=function(){for(;;){const k=S.read();if(k===null){u=d._read;return}if(!d.push(k))return}};else if(vh(S)){const P=(ms(S)?S.readable:S).getReader();d._read=async function(){for(;;)try{const{value:m,done:C}=await P.read();if(!d.push(m))return;if(C){d.push(null);return}}catch{return}}}}return d._destroy=function(k,P){!k&&l!==null&&(k=new rx),u=null,i=null,r=null,l===null?P(k):(l=P,Tu(S)&&ix(S,k))},d};const ax=globalThis.AbortController||Ka().AbortController,{codes:{ERR_INVALID_ARG_VALUE:lx,ERR_INVALID_ARG_TYPE:cl,ERR_MISSING_ARGS:ux,ERR_OUT_OF_RANGE:cx},AbortError:zi}=In,{validateAbortSignal:Ks,validateInteger:OT,validateObject:Zs}=ll,fx=Wt.Symbol("kWeak"),dx=Wt.Symbol("kResistStopPropagation"),{finished:hx}=ts,px=T_,{addAbortSignalNoValidate:mx}=Vc,{isWritable:yx,isNodeStream:gx}=wr,{deprecate:bx}=vn,{ArrayPrototypePush:Tx,Boolean:Sx,MathFloor:ET,Number:vx,NumberIsNaN:wx,Promise:CT,PromiseReject:AT,PromiseResolve:_x,PromisePrototypeThen:FT,Symbol:S_}=Wt,Xu=S_("kEmpty"),PT=S_("kEof");function Lx(e,t){if(t!=null&&Zs(t,"options"),t?.signal!=null&&Ks(t.signal,"options.signal"),gx(e)&&!yx(e))throw new lx("stream",e,"must be writable");const n=px(this,e);return t!=null&&t.signal&&mx(t.signal,n),n}function Qc(e,t){if(typeof e!="function")throw new cl("fn",["Function","AsyncFunction"],e);t!=null&&Zs(t,"options"),t?.signal!=null&&Ks(t.signal,"options.signal");let n=1;t?.concurrency!=null&&(n=ET(t.concurrency));let i=n-1;return t?.highWaterMark!=null&&(i=ET(t.highWaterMark)),OT(n,"options.concurrency",1),OT(i,"options.highWaterMark",0),i+=n,async function*(){const u=vn.AbortSignalAny([t?.signal].filter(Sx)),l=this,d=[],y={signal:u};let T,S,O=!1,I=0;function k(){O=!0,P()}function P(){I-=1,m()}function m(){S&&!O&&I<n&&d.length<i&&(S(),S=null)}async function C(){try{for await(let J of l){if(O)return;if(u.aborted)throw new zi;try{if(J=e(J,y),J===Xu)continue;J=_x(J)}catch(x){J=AT(x)}I+=1,FT(J,P,k),d.push(J),T&&(T(),T=null),!O&&(d.length>=i||I>=n)&&await new CT(x=>{S=x})}d.push(PT)}catch(J){const x=AT(J);FT(x,P,k),d.push(x)}finally{O=!0,T&&(T(),T=null)}}C();try{for(;;){for(;d.length>0;){const J=await d[0];if(J===PT)return;if(u.aborted)throw new zi;J!==Xu&&(yield J),d.shift(),m()}await new CT(J=>{T=J})}}finally{O=!0,S&&(S(),S=null)}}.call(this)}function Nx(e=void 0){return e!=null&&Zs(e,"options"),e?.signal!=null&&Ks(e.signal,"options.signal"),async function*(){let n=0;for await(const r of this){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new zi({cause:e.signal.reason});yield[n++,r]}}.call(this)}async function v_(e,t=void 0){for await(const n of wm.call(this,e,t))return!0;return!1}async function kx(e,t=void 0){if(typeof e!="function")throw new cl("fn",["Function","AsyncFunction"],e);return!await v_.call(this,async(...n)=>!await e(...n),t)}async function Ox(e,t){for await(const n of wm.call(this,e,t))return n}async function Ex(e,t){if(typeof e!="function")throw new cl("fn",["Function","AsyncFunction"],e);async function n(i,r){return await e(i,r),Xu}for await(const i of Qc.call(this,n,t));}function wm(e,t){if(typeof e!="function")throw new cl("fn",["Function","AsyncFunction"],e);async function n(i,r){return await e(i,r)?i:Xu}return Qc.call(this,n,t)}class Cx extends ux{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}async function Ax(e,t,n){var i;if(typeof e!="function")throw new cl("reducer",["Function","AsyncFunction"],e);n!=null&&Zs(n,"options"),n?.signal!=null&&Ks(n.signal,"options.signal");let r=arguments.length>1;if(n!=null&&(i=n.signal)!==null&&i!==void 0&&i.aborted){const T=new zi(void 0,{cause:n.signal.reason});throw this.once("error",()=>{}),await hx(this.destroy(T)),T}const u=new ax,l=u.signal;if(n!=null&&n.signal){const T={once:!0,[fx]:this,[dx]:!0};n.signal.addEventListener("abort",()=>u.abort(),T)}let d=!1;try{for await(const T of this){var y;if(d=!0,n!=null&&(y=n.signal)!==null&&y!==void 0&&y.aborted)throw new zi;r?t=await e(t,T,{signal:l}):(t=T,r=!0)}if(!d&&!r)throw new Cx}finally{u.abort()}return t}async function Fx(e){e!=null&&Zs(e,"options"),e?.signal!=null&&Ks(e.signal,"options.signal");const t=[];for await(const i of this){var n;if(e!=null&&(n=e.signal)!==null&&n!==void 0&&n.aborted)throw new zi(void 0,{cause:e.signal.reason});Tx(t,i)}return t}function Px(e,t){const n=Qc.call(this,e,t);return async function*(){for await(const r of n)yield*r}.call(this)}function w_(e){if(e=vx(e),wx(e))return 0;if(e<0)throw new cx("number",">= 0",e);return e}function Ix(e,t=void 0){return t!=null&&Zs(t,"options"),t?.signal!=null&&Ks(t.signal,"options.signal"),e=w_(e),async function*(){var i;if(t!=null&&(i=t.signal)!==null&&i!==void 0&&i.aborted)throw new zi;for await(const u of this){var r;if(t!=null&&(r=t.signal)!==null&&r!==void 0&&r.aborted)throw new zi;e--<=0&&(yield u)}}.call(this)}function Mx(e,t=void 0){return t!=null&&Zs(t,"options"),t?.signal!=null&&Ks(t.signal,"options.signal"),e=w_(e),async function*(){var i;if(t!=null&&(i=t.signal)!==null&&i!==void 0&&i.aborted)throw new zi;for await(const u of this){var r;if(t!=null&&(r=t.signal)!==null&&r!==void 0&&r.aborted)throw new zi;if(e-- >0&&(yield u),e<=0)return}}.call(this)}fm.streamReturningOperators={asIndexedPairs:bx(Nx,"readable.asIndexedPairs will be removed in a future version."),drop:Ix,filter:wm,flatMap:Px,map:Qc,take:Mx,compose:Lx};fm.promiseReturningOperators={every:kx,forEach:Ex,reduce:Ax,toArray:Fx,some:v_,find:Ox};var wh,IT;function __(){if(IT)return wh;IT=1;const{ArrayPrototypePop:e,Promise:t}=Wt,{isIterable:n,isNodeStream:i,isWebStream:r}=wr,{pipelineImpl:u}=vm,{finished:l}=ts;L_();function d(...y){return new t((T,S)=>{let O,I;const k=y[y.length-1];if(k&&typeof k=="object"&&!i(k)&&!n(k)&&!r(k)){const P=e(y);O=P.signal,I=P.end}u(y,(P,m)=>{P?S(P):T(m)},{signal:O,end:I})})}return wh={finished:l,pipeline:d},wh}var MT;function L_(){if(MT)return rh.exports;MT=1;const{Buffer:e}=es,{ObjectDefineProperty:t,ObjectKeys:n,ReflectApply:i}=Wt,{promisify:{custom:r}}=vn,{streamReturningOperators:u,promiseReturningOperators:l}=fm,{codes:{ERR_ILLEGAL_CONSTRUCTOR:d}}=In,y=T_,{setDefaultHighWaterMark:T,getDefaultHighWaterMark:S}=Kc,{pipeline:O}=vm,{destroyer:I}=$o,k=ts,P=__(),m=wr,C=rh.exports=ym.Stream;C.isDestroyed=m.isDestroyed,C.isDisturbed=m.isDisturbed,C.isErrored=m.isErrored,C.isReadable=m.isReadable,C.isWritable=m.isWritable,C.Readable=Zc();for(const x of n(u)){let K=function(...U){if(new.target)throw d();return C.Readable.from(i(G,this,U))};const G=u[x];t(K,"name",{__proto__:null,value:G.name}),t(K,"length",{__proto__:null,value:G.length}),t(C.Readable.prototype,x,{__proto__:null,value:K,enumerable:!1,configurable:!0,writable:!0})}for(const x of n(l)){let K=function(...U){if(new.target)throw d();return i(G,this,U)};const G=l[x];t(K,"name",{__proto__:null,value:G.name}),t(K,"length",{__proto__:null,value:G.length}),t(C.Readable.prototype,x,{__proto__:null,value:K,enumerable:!1,configurable:!0,writable:!0})}C.Writable=bm(),C.Duplex=yr(),C.Transform=m_,C.PassThrough=g_,C.pipeline=O;const{addAbortSignal:J}=Vc;return C.addAbortSignal=J,C.finished=k,C.destroy=I,C.compose=y,C.setDefaultHighWaterMark=T,C.getDefaultHighWaterMark=S,t(C,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return P}}),t(O,r,{__proto__:null,enumerable:!0,get(){return P.pipeline}}),t(k,r,{__proto__:null,enumerable:!0,get(){return P.finished}}),C.Stream=C,C._isUint8Array=function(G){return G instanceof Uint8Array},C._uint8ArrayToBuffer=function(G){return e.from(G.buffer,G.byteOffset,G.byteLength)},rh.exports}(function(e){const t=L_(),n=__(),i=t.Readable.destroy;e.exports=t.Readable,e.exports._uint8ArrayToBuffer=t._uint8ArrayToBuffer,e.exports._isUint8Array=t._isUint8Array,e.exports.isDisturbed=t.isDisturbed,e.exports.isErrored=t.isErrored,e.exports.isReadable=t.isReadable,e.exports.Readable=t.Readable,e.exports.Writable=t.Writable,e.exports.Duplex=t.Duplex,e.exports.Transform=t.Transform,e.exports.PassThrough=t.PassThrough,e.exports.addAbortSignal=t.addAbortSignal,e.exports.finished=t.finished,e.exports.destroy=t.destroy,e.exports.destroy=i,e.exports.pipeline=t.pipeline,e.exports.compose=t.compose,Object.defineProperty(t,"promises",{configurable:!0,enumerable:!0,get(){return n}}),e.exports.Stream=t.Stream,e.exports.default=e.exports})(Sw);var jx=Sw.exports;Object.defineProperty(um,"__esModule",{value:!0});const Bx=jx;function Rx(e){e=Object.assign({},e);const t=e.array;let n=e.encoding;const i=n==="buffer";let r=!1;t?r=!(n||i):n=n||"utf8",i&&(n=void 0);let u=0;const l=[],d=new Bx.PassThrough({objectMode:r});return n&&d.setEncoding(n),d.on("data",y=>{l.push(y),r?u=l.length:u+=y.length}),d.getBufferedValue=()=>t?l:i?Buffer.concat(l,u):l.join(""),d.getBufferedLength=()=>u,d}um.default=Rx;var Dx=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(fr,"__esModule",{value:!0});fr.array=fr.buffer=fr.getStream=void 0;const xx=Dx(um);function _m(e,t={}){if(!e)return Promise.reject(new Error("Expected a stream"));t=Object.assign({maxBuffer:1/0},t);const n=t.maxBuffer||1/0;let i,r;const u=new Promise((l,d)=>{const y=T=>{T&&(T.bufferedData=i.getBufferedValue()),d(T)};i=(0,xx.default)(t),e.once("error",y),e.pipe(i),i.on("data",()=>{i.getBufferedLength()>n&&d(new Error("maxBuffer exceeded"))}),i.once("error",y),i.on("end",l),r=()=>{e.unpipe&&e.unpipe(i)}});return u.then(r,r),u.then(()=>i.getBufferedValue())}fr.getStream=_m;function Ux(e,t={}){_m(e,Object.assign({},t,{encoding:"buffer"}))}fr.buffer=Ux;function Jx(e,t={}){_m(e,Object.assign({},t,{array:!0}))}fr.array=Jx;var ys={};const zx={},Wx=Object.freeze(Object.defineProperty({__proto__:null,default:zx},Symbol.toStringTag,{value:"Module"})),Gx=xT(Wx);var N_={},Xc={};Object.defineProperty(Xc,"__esModule",{value:!0});Xc.DefaultMap=void 0;class qx extends Map{constructor(t,n){super(n),this._defaultFunc=t}get(t){let n=super.get(t);if(n===void 0){if(this.has(t))return n;n=this._defaultFunc(t),this.set(t,n)}return n}update(t,n){const i=n(this.get(t));return this.set(t,i),i}}Xc.DefaultMap=qx;var Do={};Object.defineProperty(Do,"__esModule",{value:!0});Do.makeBrandString=Do.brandString=void 0;function k_(e){return e}Do.brandString=k_;function Hx(){return k_}Do.makeBrandString=Hx;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.makeBrandString=e.brandString=e.DefaultMap=e.exceptionToError=e.exceptionToString=e.filterUndefined=e.mapFilterUndefined=e.hasOwnProperty=e.isArray=e.isEnumValue=e.definedMap=e.reduceTwo=e.sleep=e.dontAwait=e.defined=e.assertNever=e.assert=e.panic=e.proveNever=e.proveType=void 0;function t(K){}e.proveType=t;function n(K,U,R){return console.trace(U),R}e.proveNever=n;function i(K="This should not happen"){console.trace(K);debugger;throw new Error(K)}e.panic=i;function r(K,U="Assertion failed"){if(!K)return i(U)}e.assert=r;function u(K,U="`never` happened"){return i(U)}e.assertNever=u;function l(K,U){return K===void 0?i("Value was undefined but should be defined"+(U!==void 0?` because: ${U}`:"")):K}e.defined=l;function d(K){K instanceof Promise&&K.catch(U=>{throw console.trace("Unhandled error from unawaited promise",U),U})}e.dontAwait=d;function y(K){return new Promise(U=>{setTimeout(U,K)})}e.sleep=y;function T(K,U,R){return K===void 0?U:U===void 0?K:R(K,U)}e.reduceTwo=T;function S(K,U){if(K!==void 0)return U(K)}e.definedMap=S;function O(K,U){return Object.keys(K).map(R=>K[R]).some(R=>R===U)}e.isEnumValue=O;function I(K){return Array.isArray(K)}e.isArray=I;function k(K,U){return K==null?!1:Object.prototype.hasOwnProperty.call(K,U)}e.hasOwnProperty=k;function P(K,U){const R=[];let A=0;for(const b of K){const _=U(b,A);A+=1,_!==void 0&&R.push(_)}return R}e.mapFilterUndefined=P;function m(K){const U=[];for(const R of K)R!==void 0&&U.push(R);return U}e.filterUndefined=m;function C(K){if(K===void 0)return"";try{return K.toString()}catch(U){try{return`Exception can't be stringified: ${C(U)}`}catch{return"Exception can't be stringified"}}}e.exceptionToString=C;function J(K){return K instanceof Error?K:new Error(C(K))}e.exceptionToError=J;var x=Xc;Object.defineProperty(e,"DefaultMap",{enumerable:!0,get:function(){return x.DefaultMap}});var G=Do;Object.defineProperty(e,"brandString",{enumerable:!0,get:function(){return G.brandString}}),Object.defineProperty(e,"makeBrandString",{enumerable:!0,get:function(){return G.makeBrandString}})})(N_);var Lm=Object.defineProperty,Vx=Object.getOwnPropertyDescriptor,Kx=Object.getOwnPropertyNames,Zx=Object.prototype.hasOwnProperty,Qx=(e,t)=>{for(var n in t)Lm(e,n,{get:t[n],enumerable:!0})},Xx=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Kx(t))!Zx.call(e,r)&&r!==n&&Lm(e,r,{get:()=>t[r],enumerable:!(i=Vx(t,r))||i.enumerable});return e},Yx=e=>Xx(Lm({},"__esModule",{value:!0}),e),O_={};Qx(O_,{isBrowser:()=>eU,isBun:()=>sU,isDeno:()=>rU,isJsDom:()=>iU,isNode:()=>tU,isWebWorker:()=>nU});var $x=Yx(O_),eU=typeof window<"u"&&typeof window.document<"u",tU=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,nU=typeof self=="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",iU=typeof window<"u"&&window.name==="nodejs"||typeof navigator<"u"&&"userAgent"in navigator&&typeof navigator.userAgent=="string"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),rU=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",sU=typeof process<"u"&&process.versions!=null&&process.versions.bun!=null,sp={exports:{}};(function(e,t){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof Fe<"u"&&Fe,i=function(){function u(){this.fetch=!1,this.DOMException=n.DOMException}return u.prototype=n,new u}();(function(u){(function(l){var d=typeof u<"u"&&u||typeof self<"u"&&self||typeof d<"u"&&d,y={searchParams:"URLSearchParams"in d,iterable:"Symbol"in d&&"iterator"in Symbol,blob:"FileReader"in d&&"Blob"in d&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in d,arrayBuffer:"ArrayBuffer"in d};function T(f){return f&&DataView.prototype.isPrototypeOf(f)}if(y.arrayBuffer)var S=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],O=ArrayBuffer.isView||function(f){return f&&S.indexOf(Object.prototype.toString.call(f))>-1};function I(f){if(typeof f!="string"&&(f=String(f)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(f)||f==="")throw new TypeError('Invalid character in header field name: "'+f+'"');return f.toLowerCase()}function k(f){return typeof f!="string"&&(f=String(f)),f}function P(f){var h={next:function(){var w=f.shift();return{done:w===void 0,value:w}}};return y.iterable&&(h[Symbol.iterator]=function(){return h}),h}function m(f){this.map={},f instanceof m?f.forEach(function(h,w){this.append(w,h)},this):Array.isArray(f)?f.forEach(function(h){this.append(h[0],h[1])},this):f&&Object.getOwnPropertyNames(f).forEach(function(h){this.append(h,f[h])},this)}m.prototype.append=function(f,h){f=I(f),h=k(h);var w=this.map[f];this.map[f]=w?w+", "+h:h},m.prototype.delete=function(f){delete this.map[I(f)]},m.prototype.get=function(f){return f=I(f),this.has(f)?this.map[f]:null},m.prototype.has=function(f){return this.map.hasOwnProperty(I(f))},m.prototype.set=function(f,h){this.map[I(f)]=k(h)},m.prototype.forEach=function(f,h){for(var w in this.map)this.map.hasOwnProperty(w)&&f.call(h,this.map[w],w,this)},m.prototype.keys=function(){var f=[];return this.forEach(function(h,w){f.push(w)}),P(f)},m.prototype.values=function(){var f=[];return this.forEach(function(h){f.push(h)}),P(f)},m.prototype.entries=function(){var f=[];return this.forEach(function(h,w){f.push([w,h])}),P(f)},y.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function C(f){if(f.bodyUsed)return Promise.reject(new TypeError("Already read"));f.bodyUsed=!0}function J(f){return new Promise(function(h,w){f.onload=function(){h(f.result)},f.onerror=function(){w(f.error)}})}function x(f){var h=new FileReader,w=J(h);return h.readAsArrayBuffer(f),w}function G(f){var h=new FileReader,w=J(h);return h.readAsText(f),w}function K(f){for(var h=new Uint8Array(f),w=new Array(h.length),N=0;N<h.length;N++)w[N]=String.fromCharCode(h[N]);return w.join("")}function U(f){if(f.slice)return f.slice(0);var h=new Uint8Array(f.byteLength);return h.set(new Uint8Array(f)),h.buffer}function R(){return this.bodyUsed=!1,this._initBody=function(f){this.bodyUsed=this.bodyUsed,this._bodyInit=f,f?typeof f=="string"?this._bodyText=f:y.blob&&Blob.prototype.isPrototypeOf(f)?this._bodyBlob=f:y.formData&&FormData.prototype.isPrototypeOf(f)?this._bodyFormData=f:y.searchParams&&URLSearchParams.prototype.isPrototypeOf(f)?this._bodyText=f.toString():y.arrayBuffer&&y.blob&&T(f)?(this._bodyArrayBuffer=U(f.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):y.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(f)||O(f))?this._bodyArrayBuffer=U(f):this._bodyText=f=Object.prototype.toString.call(f):this._bodyText="",this.headers.get("content-type")||(typeof f=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):y.searchParams&&URLSearchParams.prototype.isPrototypeOf(f)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},y.blob&&(this.blob=function(){var f=C(this);if(f)return f;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var f=C(this);return f||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else return this.blob().then(x)}),this.text=function(){var f=C(this);if(f)return f;if(this._bodyBlob)return G(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(K(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},y.formData&&(this.formData=function(){return this.text().then(L)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(f){var h=f.toUpperCase();return A.indexOf(h)>-1?h:f}function _(f,h){if(!(this instanceof _))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');h=h||{};var w=h.body;if(f instanceof _){if(f.bodyUsed)throw new TypeError("Already read");this.url=f.url,this.credentials=f.credentials,h.headers||(this.headers=new m(f.headers)),this.method=f.method,this.mode=f.mode,this.signal=f.signal,!w&&f._bodyInit!=null&&(w=f._bodyInit,f.bodyUsed=!0)}else this.url=String(f);if(this.credentials=h.credentials||this.credentials||"same-origin",(h.headers||!this.headers)&&(this.headers=new m(h.headers)),this.method=b(h.method||this.method||"GET"),this.mode=h.mode||this.mode||null,this.signal=h.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&w)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(w),(this.method==="GET"||this.method==="HEAD")&&(h.cache==="no-store"||h.cache==="no-cache")){var N=/([?&])_=[^&]*/;if(N.test(this.url))this.url=this.url.replace(N,"$1_="+new Date().getTime());else{var F=/\?/;this.url+=(F.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})};function L(f){var h=new FormData;return f.trim().split("&").forEach(function(w){if(w){var N=w.split("="),F=N.shift().replace(/\+/g," "),B=N.join("=").replace(/\+/g," ");h.append(decodeURIComponent(F),decodeURIComponent(B))}}),h}function g(f){var h=new m,w=f.replace(/\r?\n[\t ]+/g," ");return w.split("\r").map(function(N){return N.indexOf(`
|
|
1026
|
+
`)===0?N.substr(1,N.length):N}).forEach(function(N){var F=N.split(":"),B=F.shift().trim();if(B){var W=F.join(":").trim();h.append(B,W)}}),h}R.call(_.prototype);function p(f,h){if(!(this instanceof p))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');h||(h={}),this.type="default",this.status=h.status===void 0?200:h.status,this.ok=this.status>=200&&this.status<300,this.statusText=h.statusText===void 0?"":""+h.statusText,this.headers=new m(h.headers),this.url=h.url||"",this._initBody(f)}R.call(p.prototype),p.prototype.clone=function(){return new p(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},p.error=function(){var f=new p(null,{status:0,statusText:""});return f.type="error",f};var a=[301,302,303,307,308];p.redirect=function(f,h){if(a.indexOf(h)===-1)throw new RangeError("Invalid status code");return new p(null,{status:h,headers:{location:f}})},l.DOMException=d.DOMException;try{new l.DOMException}catch{l.DOMException=function(h,w){this.message=h,this.name=w;var N=Error(h);this.stack=N.stack},l.DOMException.prototype=Object.create(Error.prototype),l.DOMException.prototype.constructor=l.DOMException}function o(f,h){return new Promise(function(w,N){var F=new _(f,h);if(F.signal&&F.signal.aborted)return N(new l.DOMException("Aborted","AbortError"));var B=new XMLHttpRequest;function W(){B.abort()}B.onload=function(){var z={status:B.status,statusText:B.statusText,headers:g(B.getAllResponseHeaders()||"")};z.url="responseURL"in B?B.responseURL:z.headers.get("X-Request-URL");var E="response"in B?B.response:B.responseText;setTimeout(function(){w(new p(E,z))},0)},B.onerror=function(){setTimeout(function(){N(new TypeError("Network request failed"))},0)},B.ontimeout=function(){setTimeout(function(){N(new TypeError("Network request failed"))},0)},B.onabort=function(){setTimeout(function(){N(new l.DOMException("Aborted","AbortError"))},0)};function Q(z){try{return z===""&&d.location.href?d.location.href:z}catch{return z}}B.open(F.method,Q(F.url),!0),F.credentials==="include"?B.withCredentials=!0:F.credentials==="omit"&&(B.withCredentials=!1),"responseType"in B&&(y.blob?B.responseType="blob":y.arrayBuffer&&F.headers.get("Content-Type")&&F.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(B.responseType="arraybuffer")),h&&typeof h.headers=="object"&&!(h.headers instanceof m)?Object.getOwnPropertyNames(h.headers).forEach(function(z){B.setRequestHeader(z,k(h.headers[z]))}):F.headers.forEach(function(z,E){B.setRequestHeader(E,z)}),F.signal&&(F.signal.addEventListener("abort",W),B.onreadystatechange=function(){B.readyState===4&&F.signal.removeEventListener("abort",W)}),B.send(typeof F._bodyInit>"u"?null:F._bodyInit)})}return o.polyfill=!0,d.fetch||(d.fetch=o,d.Headers=m,d.Request=_,d.Response=p),l.Headers=m,l.Request=_,l.Response=p,l.fetch=o,l})({})})(i),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var r=n.fetch?n:i;t=r.fetch,t.default=r.fetch,t.fetch=r.fetch,t.Headers=r.Headers,t.Request=r.Request,t.Response=r.Response,e.exports=t})(sp,sp.exports);var oU=sp.exports,aU=fU,lU=/^(?:\w+:)?\/\/(\S+)$/,uU=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,cU=/^[^\s\.]+\.\S{2,}$/;function fU(e){if(typeof e!="string")return!1;var t=e.match(lU);if(!t)return!1;var n=t[1];return n?!!(uU.test(n)||cU.test(n)):!1}var jT;function E_(){if(jT)return ys;jT=1;var e={},t=Fe&&Fe.__createBinding||(Object.create?function(x,G,K,U){U===void 0&&(U=K);var R=Object.getOwnPropertyDescriptor(G,K);(!R||("get"in R?!G.__esModule:R.writable||R.configurable))&&(R={enumerable:!0,get:function(){return G[K]}}),Object.defineProperty(x,U,R)}:function(x,G,K,U){U===void 0&&(U=K),x[U]=G[K]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(x,G){Object.defineProperty(x,"default",{enumerable:!0,value:G})}:function(x,G){x.default=G}),i=Fe&&Fe.__importStar||function(x){if(x&&x.__esModule)return x;var G={};if(x!=null)for(var K in x)K!=="default"&&Object.prototype.hasOwnProperty.call(x,K)&&t(G,x,K);return n(G,x),G},r=Fe&&Fe.__awaiter||function(x,G,K,U){function R(A){return A instanceof K?A:new K(function(b){b(A)})}return new(K||(K=Promise))(function(A,b){function _(p){try{g(U.next(p))}catch(a){b(a)}}function L(p){try{g(U.throw(p))}catch(a){b(a)}}function g(p){p.done?A(p.value):R(p.value).then(_,L)}g((U=U.apply(x,G||[])).next())})},u=Fe&&Fe.__importDefault||function(x){return x&&x.__esModule?x:{default:x}},l;Object.defineProperty(ys,"__esModule",{value:!0}),ys.readFromFileOrURL=ys.readableFromFileOrURL=void 0;const d=i(Gx),y=N_,T=$x,S=u(oU),O=fr,I=$c(),k=aU,P=e.CI?S.default:(l=Fe.fetch)!==null&&l!==void 0?l:S.default;function m(x){return Array.isArray(x)?x.reduce(function(G,K){if(K!==void 0&&K.length>0){const U=K.indexOf(":");if(U<0)return(0,I.panic)(`Could not parse HTTP header "${K}".`);const R=K.slice(0,U).trim(),A=K.slice(U+1).trim();G[R]=A}return G},{}):{}}function C(x,G){return r(this,void 0,void 0,function*(){try{if(k(x)){const K=yield P(x,{headers:m(G)});return(0,y.defined)(K.body)}else if(T.isNode){if(x==="-")return process.stdin;const K=d.lstatSync(x).isSymbolicLink()?d.readlinkSync(x):x;if(d.existsSync(K))return d.createReadStream(K,"utf8")}}catch(K){return(0,I.messageError)("MiscReadError",{fileOrURL:x,message:(0,y.exceptionToString)(K)})}return(0,I.messageError)("DriverInputFileDoesNotExist",{filename:x})})}ys.readableFromFileOrURL=C;function J(x,G){return r(this,void 0,void 0,function*(){const K=yield C(x,G);try{return yield(0,O.getStream)(K)}catch(U){return(0,I.messageError)("MiscReadError",{fileOrURL:x,message:(0,y.exceptionToString)(U)})}})}return ys.readFromFileOrURL=J,ys}var Na={},BT;function dU(){if(BT)return Na;BT=1;var e=Fe&&Fe.__awaiter||function(u,l,d,y){function T(S){return S instanceof d?S:new d(function(O){O(S)})}return new(d||(d=Promise))(function(S,O){function I(m){try{P(y.next(m))}catch(C){O(C)}}function k(m){try{P(y.throw(m))}catch(C){O(C)}}function P(m){m.done?S(m.value):T(m.value).then(I,k)}P((y=y.apply(u,l||[])).next())})};Object.defineProperty(Na,"__esModule",{value:!0}),Na.FetchingJSONSchemaStore=void 0;const t=Ko,n=$c(),i=E_();let r=class extends t.JSONSchemaStore{constructor(l){super(),this._httpHeaders=l}fetch(l){return e(this,void 0,void 0,function*(){return(0,n.parseJSON)(yield(0,i.readFromFileOrURL)(l,this._httpHeaders),"JSON Schema",l)})}};return Na.FetchingJSONSchemaStore=r,Na}var Yc={};Object.defineProperty(Yc,"__esModule",{value:!0});Yc.sourcesFromPostmanCollection=void 0;const hU=Ie;function pU(e){try{return JSON.parse(e),!0}catch{return!1}}function mU(e,t){const n=[],i=[];function r(d){if(typeof d=="object"){if(Array.isArray(d.item)){for(const y of d.item)r(y);typeof d.info=="object"&&typeof d.info.description=="string"&&i.push(d.info.description)}if(typeof d.name=="string"&&Array.isArray(d.response)){const y=[];for(const T of d.response)typeof T=="object"&&typeof T.body=="string"&&pU(T.body)&&y.push(T.body);if(y.length>0){const T={name:d.name,samples:y},S=[d.name];if(typeof d.request=="object"){const{method:O,url:I}=d.request;O!==void 0&&typeof I=="object"&&I.raw!==void 0&&S.push(`${O} ${I.raw}`)}typeof d.request=="object"&&typeof d.request.description=="string"&&S.push(d.request.description),T.description=S.length===0?void 0:S.join(`
|
|
1027
|
+
|
|
1028
|
+
`),n.push(T)}}}}r((0,hU.parseJSON)(e,"Postman collection",t));const u=i.join(`
|
|
1029
|
+
|
|
1030
|
+
`).trim();let l;return u!==""&&(l=u),{sources:n,description:l}}Yc.sourcesFromPostmanCollection=mU;var RT;function $c(){return RT||(RT=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ClassType=e.ArrayType=e.PrimitiveType=e.Type=e.messageAssert=e.messageError=e.QuickTypeError=e.trainMarkovChain=e.isLetterOrDigit=e.legalizeCharacters=e.allUpperWordStyle=e.firstUpperWordStyle=e.combineWords=e.capitalize=e.splitIntoWords=e.inflateBase64=e.checkArray=e.checkStringMap=e.parseJSON=e.assertNever=e.defined=e.assert=e.panic=e.IssueAnnotationData=e.Namer=e.funPrefixNamer=e.Name=e.parenIfNeeded=e.singleWord=e.modifySource=e.languageNamed=e.defaultTargetLanguages=e.TargetLanguage=e.getOptionValues=e.Option=e.Ref=e.JSONSchemaInput=e.jsonInputForTargetLanguage=e.JSONInput=e.InputData=e.CompressedJSON=e.inferenceFlagsObject=e.defaultInferenceFlags=e.inferenceFlagNames=e.inferenceFlags=e.combineRenderResults=e.quicktype=e.quicktypeMultiFileSync=e.quicktypeMultiFile=e.getTargetLanguage=void 0,e.JavaScriptPropTypesRenderer=e.JavaScriptPropTypesTargetLanguage=e.javaScriptOptions=e.JavaScriptRenderer=e.JavaScriptTargetLanguage=e.javaOptions=e.JavaRenderer=e.JavaTargetLanguage=e.objcOptions=e.ObjectiveCRenderer=e.ObjectiveCTargetLanguage=e.goOptions=e.GoRenderer=e.GoTargetLanguage=e.pythonOptions=e.PythonRenderer=e.PythonTargetLanguage=e.CSharpRenderer=e.cSharpOptions=e.CSharpTargetLanguage=e.cPlusPlusOptions=e.CPlusPlusRenderer=e.CPlusPlusTargetLanguage=e.cJSONOptions=e.CJSONRenderer=e.CJSONTargetLanguage=e.uriTypeAttributeKind=e.ConvenienceRenderer=e.nullableFromUnion=e.matchType=e.removeNullFromUnion=e.StringTypes=e.namesTypeAttributeKind=e.makeNamesTypeAttributes=e.TypeNames=e.emptyTypeAttributes=e.TypeAttributeKind=e.derefTypeRef=e.TypeBuilder=e.sourcesFromPostmanCollection=e.JSONSchemaStore=e.FetchingJSONSchemaStore=e.readFromFileOrURL=e.readableFromFileOrURL=e.getStream=e.ObjectType=e.UnionType=e.MapType=e.EnumType=e.ClassProperty=void 0,e.elixirOptions=e.ElixirRenderer=e.ElixirTargetLanguage=e.dartOptions=e.DartRenderer=e.DartTargetLanguage=e.haskellOptions=e.HaskellRenderer=e.HaskellTargetLanguage=e.CrystalRenderer=e.CrystalTargetLanguage=e.rubyOptions=e.RubyRenderer=e.RubyTargetLanguage=e.rustOptions=e.RustRenderer=e.RustTargetLanguage=e.JSONSchemaRenderer=e.JSONSchemaTargetLanguage=e.elmOptions=e.ElmRenderer=e.ElmTargetLanguage=e.SmithyOptions=e.Smithy4sRenderer=e.SmithyTargetLanguage=e.scala3Options=e.Scala3Renderer=e.Scala3TargetLanguage=e.kotlinOptions=e.KotlinRenderer=e.KotlinTargetLanguage=e.swiftOptions=e.SwiftRenderer=e.SwiftTargetLanguage=e.tsFlowOptions=e.FlowRenderer=e.FlowTargetLanguage=e.TypeScriptRenderer=e.TypeScriptTargetLanguage=e.javaScriptPropTypesOptions=void 0;var t=rB();Object.defineProperty(e,"getTargetLanguage",{enumerable:!0,get:function(){return t.getTargetLanguage}}),Object.defineProperty(e,"quicktypeMultiFile",{enumerable:!0,get:function(){return t.quicktypeMultiFile}}),Object.defineProperty(e,"quicktypeMultiFileSync",{enumerable:!0,get:function(){return t.quicktypeMultiFileSync}}),Object.defineProperty(e,"quicktype",{enumerable:!0,get:function(){return t.quicktype}}),Object.defineProperty(e,"combineRenderResults",{enumerable:!0,get:function(){return t.combineRenderResults}}),Object.defineProperty(e,"inferenceFlags",{enumerable:!0,get:function(){return t.inferenceFlags}}),Object.defineProperty(e,"inferenceFlagNames",{enumerable:!0,get:function(){return t.inferenceFlagNames}}),Object.defineProperty(e,"defaultInferenceFlags",{enumerable:!0,get:function(){return t.defaultInferenceFlags}}),Object.defineProperty(e,"inferenceFlagsObject",{enumerable:!0,get:function(){return t.inferenceFlagsObject}});var n=Ic;Object.defineProperty(e,"CompressedJSON",{enumerable:!0,get:function(){return n.CompressedJSON}});var i=yw();Object.defineProperty(e,"InputData",{enumerable:!0,get:function(){return i.InputData}}),Object.defineProperty(e,"JSONInput",{enumerable:!0,get:function(){return i.JSONInput}}),Object.defineProperty(e,"jsonInputForTargetLanguage",{enumerable:!0,get:function(){return i.jsonInputForTargetLanguage}});var r=Uh();Object.defineProperty(e,"JSONSchemaInput",{enumerable:!0,get:function(){return r.JSONSchemaInput}});var u=Uh();Object.defineProperty(e,"Ref",{enumerable:!0,get:function(){return u.Ref}});var l=dt;Object.defineProperty(e,"Option",{enumerable:!0,get:function(){return l.Option}}),Object.defineProperty(e,"getOptionValues",{enumerable:!0,get:function(){return l.getOptionValues}});var d=Lt;Object.defineProperty(e,"TargetLanguage",{enumerable:!0,get:function(){return d.TargetLanguage}});var y=Lc();Object.defineProperty(e,"defaultTargetLanguages",{enumerable:!0,get:function(){return y.all}}),Object.defineProperty(e,"languageNamed",{enumerable:!0,get:function(){return y.languageNamed}});var T=et;Object.defineProperty(e,"modifySource",{enumerable:!0,get:function(){return T.modifySource}}),Object.defineProperty(e,"singleWord",{enumerable:!0,get:function(){return T.singleWord}}),Object.defineProperty(e,"parenIfNeeded",{enumerable:!0,get:function(){return T.parenIfNeeded}});var S=qe;Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return S.Name}}),Object.defineProperty(e,"funPrefixNamer",{enumerable:!0,get:function(){return S.funPrefixNamer}}),Object.defineProperty(e,"Namer",{enumerable:!0,get:function(){return S.Namer}});var O=jt;Object.defineProperty(e,"IssueAnnotationData",{enumerable:!0,get:function(){return O.IssueAnnotationData}});var I=Ie;Object.defineProperty(e,"panic",{enumerable:!0,get:function(){return I.panic}}),Object.defineProperty(e,"assert",{enumerable:!0,get:function(){return I.assert}}),Object.defineProperty(e,"defined",{enumerable:!0,get:function(){return I.defined}}),Object.defineProperty(e,"assertNever",{enumerable:!0,get:function(){return I.assertNever}}),Object.defineProperty(e,"parseJSON",{enumerable:!0,get:function(){return I.parseJSON}}),Object.defineProperty(e,"checkStringMap",{enumerable:!0,get:function(){return I.checkStringMap}}),Object.defineProperty(e,"checkArray",{enumerable:!0,get:function(){return I.checkArray}}),Object.defineProperty(e,"inflateBase64",{enumerable:!0,get:function(){return I.inflateBase64}});var k=St();Object.defineProperty(e,"splitIntoWords",{enumerable:!0,get:function(){return k.splitIntoWords}}),Object.defineProperty(e,"capitalize",{enumerable:!0,get:function(){return k.capitalize}}),Object.defineProperty(e,"combineWords",{enumerable:!0,get:function(){return k.combineWords}}),Object.defineProperty(e,"firstUpperWordStyle",{enumerable:!0,get:function(){return k.firstUpperWordStyle}}),Object.defineProperty(e,"allUpperWordStyle",{enumerable:!0,get:function(){return k.allUpperWordStyle}}),Object.defineProperty(e,"legalizeCharacters",{enumerable:!0,get:function(){return k.legalizeCharacters}}),Object.defineProperty(e,"isLetterOrDigit",{enumerable:!0,get:function(){return k.isLetterOrDigit}});var P=Sn;Object.defineProperty(e,"trainMarkovChain",{enumerable:!0,get:function(){return P.train}});var m=Kt;Object.defineProperty(e,"QuickTypeError",{enumerable:!0,get:function(){return m.QuickTypeError}}),Object.defineProperty(e,"messageError",{enumerable:!0,get:function(){return m.messageError}}),Object.defineProperty(e,"messageAssert",{enumerable:!0,get:function(){return m.messageAssert}});var C=lt();Object.defineProperty(e,"Type",{enumerable:!0,get:function(){return C.Type}}),Object.defineProperty(e,"PrimitiveType",{enumerable:!0,get:function(){return C.PrimitiveType}}),Object.defineProperty(e,"ArrayType",{enumerable:!0,get:function(){return C.ArrayType}}),Object.defineProperty(e,"ClassType",{enumerable:!0,get:function(){return C.ClassType}}),Object.defineProperty(e,"ClassProperty",{enumerable:!0,get:function(){return C.ClassProperty}}),Object.defineProperty(e,"EnumType",{enumerable:!0,get:function(){return C.EnumType}}),Object.defineProperty(e,"MapType",{enumerable:!0,get:function(){return C.MapType}}),Object.defineProperty(e,"UnionType",{enumerable:!0,get:function(){return C.UnionType}}),Object.defineProperty(e,"ObjectType",{enumerable:!0,get:function(){return C.ObjectType}});var J=fr;Object.defineProperty(e,"getStream",{enumerable:!0,get:function(){return J.getStream}});var x=E_();Object.defineProperty(e,"readableFromFileOrURL",{enumerable:!0,get:function(){return x.readableFromFileOrURL}}),Object.defineProperty(e,"readFromFileOrURL",{enumerable:!0,get:function(){return x.readFromFileOrURL}});var G=dU();Object.defineProperty(e,"FetchingJSONSchemaStore",{enumerable:!0,get:function(){return G.FetchingJSONSchemaStore}});var K=Ko;Object.defineProperty(e,"JSONSchemaStore",{enumerable:!0,get:function(){return K.JSONSchemaStore}});var U=Yc;Object.defineProperty(e,"sourcesFromPostmanCollection",{enumerable:!0,get:function(){return U.sourcesFromPostmanCollection}});var R=Vo();Object.defineProperty(e,"TypeBuilder",{enumerable:!0,get:function(){return R.TypeBuilder}});var A=vi();Object.defineProperty(e,"derefTypeRef",{enumerable:!0,get:function(){return A.derefTypeRef}});var b=yt;Object.defineProperty(e,"TypeAttributeKind",{enumerable:!0,get:function(){return b.TypeAttributeKind}}),Object.defineProperty(e,"emptyTypeAttributes",{enumerable:!0,get:function(){return b.emptyTypeAttributes}});var _=mr;Object.defineProperty(e,"TypeNames",{enumerable:!0,get:function(){return _.TypeNames}}),Object.defineProperty(e,"makeNamesTypeAttributes",{enumerable:!0,get:function(){return _.makeNamesTypeAttributes}}),Object.defineProperty(e,"namesTypeAttributeKind",{enumerable:!0,get:function(){return _.namesTypeAttributeKind}});var L=Sr();Object.defineProperty(e,"StringTypes",{enumerable:!0,get:function(){return L.StringTypes}});var g=ot();Object.defineProperty(e,"removeNullFromUnion",{enumerable:!0,get:function(){return g.removeNullFromUnion}}),Object.defineProperty(e,"matchType",{enumerable:!0,get:function(){return g.matchType}}),Object.defineProperty(e,"nullableFromUnion",{enumerable:!0,get:function(){return g.nullableFromUnion}});var p=Et;Object.defineProperty(e,"ConvenienceRenderer",{enumerable:!0,get:function(){return p.ConvenienceRenderer}});var a=bc;Object.defineProperty(e,"uriTypeAttributeKind",{enumerable:!0,get:function(){return a.uriTypeAttributeKind}});var o=Jp;Object.defineProperty(e,"CJSONTargetLanguage",{enumerable:!0,get:function(){return o.CJSONTargetLanguage}}),Object.defineProperty(e,"CJSONRenderer",{enumerable:!0,get:function(){return o.CJSONRenderer}}),Object.defineProperty(e,"cJSONOptions",{enumerable:!0,get:function(){return o.cJSONOptions}});var f=zp;Object.defineProperty(e,"CPlusPlusTargetLanguage",{enumerable:!0,get:function(){return f.CPlusPlusTargetLanguage}}),Object.defineProperty(e,"CPlusPlusRenderer",{enumerable:!0,get:function(){return f.CPlusPlusRenderer}}),Object.defineProperty(e,"cPlusPlusOptions",{enumerable:!0,get:function(){return f.cPlusPlusOptions}});var h=op;Object.defineProperty(e,"CSharpTargetLanguage",{enumerable:!0,get:function(){return h.CSharpTargetLanguage}}),Object.defineProperty(e,"cSharpOptions",{enumerable:!0,get:function(){return h.cSharpOptions}}),Object.defineProperty(e,"CSharpRenderer",{enumerable:!0,get:function(){return h.CSharpRenderer}});var w=tm;Object.defineProperty(e,"PythonTargetLanguage",{enumerable:!0,get:function(){return w.PythonTargetLanguage}}),Object.defineProperty(e,"PythonRenderer",{enumerable:!0,get:function(){return w.PythonRenderer}}),Object.defineProperty(e,"pythonOptions",{enumerable:!0,get:function(){return w.pythonOptions}});var N=Up;Object.defineProperty(e,"GoTargetLanguage",{enumerable:!0,get:function(){return N.GoTargetLanguage}}),Object.defineProperty(e,"GoRenderer",{enumerable:!0,get:function(){return N.GoRenderer}}),Object.defineProperty(e,"goOptions",{enumerable:!0,get:function(){return N.goOptions}});var F=Wp;Object.defineProperty(e,"ObjectiveCTargetLanguage",{enumerable:!0,get:function(){return F.ObjectiveCTargetLanguage}}),Object.defineProperty(e,"ObjectiveCRenderer",{enumerable:!0,get:function(){return F.ObjectiveCRenderer}}),Object.defineProperty(e,"objcOptions",{enumerable:!0,get:function(){return F.objcOptions}});var B=Gp;Object.defineProperty(e,"JavaTargetLanguage",{enumerable:!0,get:function(){return B.JavaTargetLanguage}}),Object.defineProperty(e,"JavaRenderer",{enumerable:!0,get:function(){return B.JavaRenderer}}),Object.defineProperty(e,"javaOptions",{enumerable:!0,get:function(){return B.javaOptions}});var W=qs;Object.defineProperty(e,"JavaScriptTargetLanguage",{enumerable:!0,get:function(){return W.JavaScriptTargetLanguage}}),Object.defineProperty(e,"JavaScriptRenderer",{enumerable:!0,get:function(){return W.JavaScriptRenderer}}),Object.defineProperty(e,"javaScriptOptions",{enumerable:!0,get:function(){return W.javaScriptOptions}});var Q=Vv();Object.defineProperty(e,"JavaScriptPropTypesTargetLanguage",{enumerable:!0,get:function(){return Q.JavaScriptPropTypesTargetLanguage}}),Object.defineProperty(e,"JavaScriptPropTypesRenderer",{enumerable:!0,get:function(){return Q.JavaScriptPropTypesRenderer}}),Object.defineProperty(e,"javaScriptPropTypesOptions",{enumerable:!0,get:function(){return Q.javaScriptPropTypesOptions}});var z=Hp;Object.defineProperty(e,"TypeScriptTargetLanguage",{enumerable:!0,get:function(){return z.TypeScriptTargetLanguage}}),Object.defineProperty(e,"TypeScriptRenderer",{enumerable:!0,get:function(){return z.TypeScriptRenderer}}),Object.defineProperty(e,"FlowTargetLanguage",{enumerable:!0,get:function(){return z.FlowTargetLanguage}}),Object.defineProperty(e,"FlowRenderer",{enumerable:!0,get:function(){return z.FlowRenderer}}),Object.defineProperty(e,"tsFlowOptions",{enumerable:!0,get:function(){return z.tsFlowOptions}});var E=Vp;Object.defineProperty(e,"SwiftTargetLanguage",{enumerable:!0,get:function(){return E.SwiftTargetLanguage}}),Object.defineProperty(e,"SwiftRenderer",{enumerable:!0,get:function(){return E.SwiftRenderer}}),Object.defineProperty(e,"swiftOptions",{enumerable:!0,get:function(){return E.swiftOptions}});var j=Kp;Object.defineProperty(e,"KotlinTargetLanguage",{enumerable:!0,get:function(){return j.KotlinTargetLanguage}}),Object.defineProperty(e,"KotlinRenderer",{enumerable:!0,get:function(){return j.KotlinRenderer}}),Object.defineProperty(e,"kotlinOptions",{enumerable:!0,get:function(){return j.kotlinOptions}});var X=Zp;Object.defineProperty(e,"Scala3TargetLanguage",{enumerable:!0,get:function(){return X.Scala3TargetLanguage}}),Object.defineProperty(e,"Scala3Renderer",{enumerable:!0,get:function(){return X.Scala3Renderer}}),Object.defineProperty(e,"scala3Options",{enumerable:!0,get:function(){return X.scala3Options}});var te=Qp;Object.defineProperty(e,"SmithyTargetLanguage",{enumerable:!0,get:function(){return te.SmithyTargetLanguage}}),Object.defineProperty(e,"Smithy4sRenderer",{enumerable:!0,get:function(){return te.Smithy4sRenderer}}),Object.defineProperty(e,"SmithyOptions",{enumerable:!0,get:function(){return te.SmithyOptions}});var $=Xp;Object.defineProperty(e,"ElmTargetLanguage",{enumerable:!0,get:function(){return $.ElmTargetLanguage}}),Object.defineProperty(e,"ElmRenderer",{enumerable:!0,get:function(){return $.ElmRenderer}}),Object.defineProperty(e,"elmOptions",{enumerable:!0,get:function(){return $.elmOptions}});var ne=Bs;Object.defineProperty(e,"JSONSchemaTargetLanguage",{enumerable:!0,get:function(){return ne.JSONSchemaTargetLanguage}}),Object.defineProperty(e,"JSONSchemaRenderer",{enumerable:!0,get:function(){return ne.JSONSchemaRenderer}});var ce=Yp;Object.defineProperty(e,"RustTargetLanguage",{enumerable:!0,get:function(){return ce.RustTargetLanguage}}),Object.defineProperty(e,"RustRenderer",{enumerable:!0,get:function(){return ce.RustRenderer}}),Object.defineProperty(e,"rustOptions",{enumerable:!0,get:function(){return ce.rustOptions}});var Te=$p;Object.defineProperty(e,"RubyTargetLanguage",{enumerable:!0,get:function(){return Te.RubyTargetLanguage}}),Object.defineProperty(e,"RubyRenderer",{enumerable:!0,get:function(){return Te.RubyRenderer}}),Object.defineProperty(e,"rubyOptions",{enumerable:!0,get:function(){return Te.rubyOptions}});var Ne=Rs;Object.defineProperty(e,"CrystalTargetLanguage",{enumerable:!0,get:function(){return Ne.CrystalTargetLanguage}}),Object.defineProperty(e,"CrystalRenderer",{enumerable:!0,get:function(){return Ne.CrystalRenderer}});var le=rm;Object.defineProperty(e,"HaskellTargetLanguage",{enumerable:!0,get:function(){return le.HaskellTargetLanguage}}),Object.defineProperty(e,"HaskellRenderer",{enumerable:!0,get:function(){return le.HaskellRenderer}}),Object.defineProperty(e,"haskellOptions",{enumerable:!0,get:function(){return le.haskellOptions}});var fe=em;Object.defineProperty(e,"DartTargetLanguage",{enumerable:!0,get:function(){return fe.DartTargetLanguage}}),Object.defineProperty(e,"DartRenderer",{enumerable:!0,get:function(){return fe.DartRenderer}}),Object.defineProperty(e,"dartOptions",{enumerable:!0,get:function(){return fe.dartOptions}});var _e=sm;Object.defineProperty(e,"ElixirTargetLanguage",{enumerable:!0,get:function(){return _e.ElixirTargetLanguage}}),Object.defineProperty(e,"ElixirRenderer",{enumerable:!0,get:function(){return _e.ElixirRenderer}}),Object.defineProperty(e,"elixirOptions",{enumerable:!0,get:function(){return _e.elixirOptions}})}(pd)),pd}var _h=$c(),DT=Lc();const yU={border:"b base",flex:"~ items-center gap-2",sticky:"","left-0":"","right-0":"","top-0":"","z-1":"",p3:"","bg-base":""},gU=Fa("p",{"mr-2":""}," Schema ",-1),bU={key:0,flex:"~ items-center justify-center",absolute:"","bottom--1":"","right--2":"","h-4":"","w-4":"","rounded-full":"","bg-lime:30":"","text-8px":""},TU={flex:"~ col","w-100":"","of-auto":"",py2:""},SU={"text-xs":"",capitalize:"",op75:""},vU=Fa("div",{"flex-auto":""},null,-1),MU=JC({__name:"DataSchemaDrawer",setup(e){const t=zC(),n=dd(0),i=dd("TypeScript"),r=Qg(()=>DT.all.find(S=>S.displayName===i.value)),u=dd(r.value?.optionDefinitions.filter(S=>typeof S.defaultValue=="boolean")),l=WC(async()=>{if(n.value,!t.value)return"";const S=_h.jsonInputForTargetLanguage(i.value);await S.addSource({name:t.value.name??"Data",samples:[t.value.input]});const O=new _h.InputData;return O.addInput(S),(await _h.quicktype({inputData:O,lang:i.value,rendererOptions:u.value?.reduce((k,P)=>(k[P.name]=P.defaultValue,k),{})})).lines.join(`
|
|
1031
|
+
`)}),d=Qg(()=>{const S=i.value.toLocaleLowerCase();return S.startsWith("javascript")?"javascript":S.startsWith("json")?"json":S.startsWith("typescript")?"typescript":S});Xg(u,()=>{n.value++},{deep:!0}),Xg(i,()=>{u.value=r.value?.optionDefinitions.filter(S=>typeof S.defaultValue=="boolean")});const y=GC();function T(){y(l.value)}return(S,O)=>{const I=UC,k=VC,P=KC,m=ZC,C=QC,J=XC;return Jn(r)?(Pr(),iu(HC,{key:0,to:"body"},[ru(J,{"model-value":!!Jn(t)?.input,"auto-close":"","max-w-screen":"","w-2xl":"","n-code-block":"",onClose:O[2]||(O[2]=x=>t.value=null)},{default:ga(()=>[Fa("div",yU,[gU,ru(I,{modelValue:Jn(i),"onUpdate:modelValue":O[0]||(O[0]=x=>qC(i)?i.value=x:null),n:"xs primary"},{default:ga(()=>[(Pr(!0),su(Yg,null,$g(Jn(DT.all),x=>(Pr(),su("option",{key:x.displayName},hd(x.displayName),1))),128))]),_:1},8,["modelValue"]),Jn(u)?.length?(Pr(),iu(m,{key:0,n:"sm lime"},{trigger:ga(({click:x})=>[ru(k,{icon:"carbon-settings","h-full":"",onClick:G=>x()},null,8,["onClick"]),Jn(u)?(Pr(),su("span",bU,hd(Jn(u).length),1)):ou("",!0)]),default:ga(()=>[Fa("div",TU,[(Pr(!0),su(Yg,null,$g(Jn(u),(x,G)=>(Pr(),iu(P,{key:x.name,modelValue:Jn(u)[G].defaultValue,"onUpdate:modelValue":K=>Jn(u)[G].defaultValue=K,flex:"~ gap-2",rounded:"",px2:"",py2:""},{default:ga(()=>[Fa("span",SU,hd(x.description),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),128))])]),_:1})):ou("",!0),vU,ru(k,{icon:"carbon-copy","mr-6":"","h-full":"",onClick:O[1]||(O[1]=x=>T())})]),Jn(l)?(Pr(),iu(C,{key:0,lang:Jn(d),code:Jn(l)},null,8,["lang","code"])):ou("",!0)]),_:1},8,["model-value"])])):ou("",!0)}}});export{MU as default};
|