@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
|
@@ -1,982 +0,0 @@
|
|
|
1
|
-
import{_ as EC}from"./CkNuW12v.js";import{c as Fe,g as yT,d as CC,u as AC,r as Vf,a as Ag,b as FC,w as Fg,e as PC,f as Fn,o as Lr,h as Bu,i as Du,j as na,k as ya,l as IC,m as xu,F as Pg,n as Ig,t as Kf,p as Uu,T as MC,_ as jC}from"./Bb1mULLQ.js";import{_ as RC}from"./BawzGT5O.js";import{_ as BC}from"./jtaEtbvO.js";import{_ as DC}from"./iazTOtp7.js";import{_ as xC}from"./BpcRrzbR.js";import"./CUmEcBOj.js";var Zf={},Qf={},Je={};(function(e){var t=Fe&&Fe.__awaiter||function(Q,ee,G,A){return new(G||(G=Promise))(function(J,re){function me(Re){try{Le(A.next(Re))}catch(nt){re(nt)}}function Se(Re){try{Le(A.throw(Re))}catch(nt){re(nt)}}function Le(Re){Re.done?J(Re.value):new G(function(nt){nt(Re.value)}).then(me,Se)}Le((A=A.apply(Q,ee||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.hashCodeInit=17;function n(Q){let ee=0;for(let G=0;G<Q.length;G++){const A=Q.charCodeAt(G);ee=(ee<<5)-ee+A,ee=ee&ee}return ee}e.hashString=n;function i(Q,ee){return Q*31+(ee|0)|0}e.addHashCode=i;function r(Q,ee){return Q!==void 0?Q:ee}e.withDefault=r;function l(Q,ee){if(Q!==void 0)return ee(Q)}e.definedMap=l;function u(Q,ee,G){return r(l(Q,G),ee)}e.definedMapWithDefault=u;function f(Q,ee){return Q==null?!1:Object.prototype.hasOwnProperty.call(Q,ee)}e.hasOwnProperty=f;function m(Q,ee){for(const G of Q)if(ee(G))return G}e.iterableFind=m;function v(Q,ee){for(const G of Q)if(!ee(G))return!1;return!0}e.iterableEvery=v;function S(Q,ee){for(const G of Q)if(ee(G))return!0;return!1}e.iterableSome=S;function C(Q){for(const ee of Q)return ee}e.iterableFirst=C;function D(Q){let ee;for(const G of Q)(ee===void 0||G>ee)&&(ee=G);return ee}e.iterableMax=D;function _(Q,ee){let G,A;for(const J of Q){const re=ee(J);(G===void 0||re<G)&&(G=re,A=J)}return A}e.iterableMinBy=_;function E(Q,ee,G){let A=ee;for(const J of Q)A=G(A,J);return A}e.iterableReduce=E;function*T(Q){let ee=0;for(const G of Q)yield[ee,G],ee+=1}e.iterableEnumerate=T;function*P(Q,ee){let G=0;for(const A of Q)G>=ee?yield A:G+=1}e.iterableSkip=P;function I(Q,ee){const G=Q.length;if(!(ee>G))return Q[G-ee]}e.arrayGetFromEnd=I;function M(Q){return I(Q,1)}e.arrayLast=M;function H(Q){const ee=Q.length;if(ee===0)throw new Error("Cannot pop empty array");return Q.slice(0,ee-1)}e.arrayPop=H;function Z(Q,ee){const G=[];for(const A of ee)G.length>0&&G.push(Q),G.push(A);return G}e.arrayIntercalate=Z;function U(Q,ee){return t(this,void 0,void 0,function*(){const G=[];let A=0;for(const J of Q)G.push(yield ee(J,A)),A+=1;return G})}e.arrayMapSync=U;function B(Q,ee){return Q<ee?-1:Q>ee?1:0}function F(Q,ee){return Q.sort((G,A)=>B(ee(G),ee(A)))}e.arraySortByInto=F;function y(Q){return Array.isArray(Q)?Q:Array.from(Q)}e.toReadonlyArray=y;function w(Q,ee){const G=new Map;for(const[A,J]of Q)G.set(A,ee(J,A));return G}e.mapMap=w;function L(Q){for(const ee of Q.values())return ee}e.mapFirst=L;function N(Q,ee){for(const G of Q.values())if(G===ee)return!0;return!1}e.mapContains=N;function p(Q,ee){for(const[G,A]of Q)if(ee(A,G))return!0;return!1}e.mapSome=p;function o(Q,ee){for(const[G,A]of ee)Q.set(G,A);return Q}e.mapMergeInto=o;function a(Q,ee){const G=new Map(Q);return o(G,ee),G}e.mapMerge=a;function d(Q,ee,G){for(const[A,J]of G){const re=Q.get(A),me=re===void 0?J:ee(re,J,A);Q.set(A,me)}return Q}e.mapMergeWithInto=d;function h(Q,ee,G){const A=new Map(Q);return d(A,ee,G),A}e.mapMergeWith=h;function b(Q,ee){const G=new Map;for(const[A,J]of Q)ee(J,A)&&G.set(A,J);return G}e.mapFilter=b;function R(Q,ee){const G=new Map;for(const[A,J]of Q){const re=ee(J,A);re!==void 0&&G.set(A,re)}return G}e.mapFilterMap=R;function x(Q,ee){return F(Array.from(Q),([G,A])=>ee(A,G))}e.mapSortToArray=x;function j(Q,ee){return new Map(x(Q,ee))}e.mapSortBy=j;function W(Q){return j(Q,(ee,G)=>G)}e.mapSortByKey=W;function k(Q,ee){const G=new Map;for(const[A,J]of Q){const[re,me]=ee(J,A);G.set(re,me)}return G}e.mapMapEntries=k;function O(Q,ee,G){return Q.set(ee,G(Q.get(ee))),Q}e.mapUpdateInto=O;function V(Q){const ee=new Map;for(const G of Object.getOwnPropertyNames(Q))ee.set(G,Q[G]);return ee}e.mapFromObject=V;function te(Q){const ee={};for(const[G,A]of Q)ee[G]=A;return ee}e.mapToObject=te;function ue(Q,ee){const G=new Map;for(const A of Q)G.set(A,ee(A));return G}e.mapFromIterable=ue;function Y(Q,ee){for(const[G,A]of Q)if(ee(A,G))return A}e.mapFind=Y;function $(Q){const ee=new Map;for(const G of Q)for(const[A,J]of G){let re=ee.get(A);re===void 0&&(re=[],ee.set(A,re)),re.push(J)}return ee}e.mapTranspose=$;function ae(Q,ee){return t(this,void 0,void 0,function*(){const G=new Map;for(const[A,J]of Q)G.set(A,yield ee(J,A));return G})}e.mapMapSync=ae;function pe(Q,ee){for(const G of ee)if(!Q.has(G))return!1;return!0}e.setIsSuperset=pe;function Te(Q,ee){for(const G of ee)for(const A of G)Q.add(A);return Q}e.setUnionManyInto=Te;function Ne(Q,...ee){return Te(Q,ee)}e.setUnionInto=Ne;function ce(Q,ee){const G=new Set;for(const A of Q)ee.has(A)&&G.add(A);return G}e.setIntersect=ce;function fe(Q,ee){const G=new Set(Q);for(const A of ee)G.delete(A);return G}e.setSubtract=fe;function le(...Q){const ee=new Set;return Ne(ee,...Q),ee}e.setUnion=le;function X(Q,ee){const G=new Set;for(const A of Q)G.add(ee(A));return G}e.setMap=X;function z(Q,ee){const G=new Set;for(const A of Q)ee(A)&&G.add(A);return G}e.setFilter=z;function K(Q,ee){const G=new Set;for(const A of Q){const J=ee(A);J!==void 0&&G.add(J)}return G}e.setFilterMap=K;function se(Q,ee){return new Set(F(Array.from(Q),ee))}e.setSortBy=se;function he(Q,ee){const G=new Map;for(const A of Q){const J=ee(A);let re=G.get(J);re===void 0&&(re=new Set,G.set(J,re)),re.add(A)}return G}e.setGroupBy=he;function ve(Q){return Q instanceof Set?Q:new Set(Q)}e.toReadonlySet=ve;class we{constructor(){this._map=new Map}set(ee,G){let A=je(ee)|0;for(;;){const J=this._map.get(A);if(J===void 0){this._map.set(A,[ee,G]);return}if(Pe(ee,J[0])){J[1]=G;return}A=A+1|0}}get(ee){let G=je(ee)|0;for(;;){const A=this._map.get(G);if(A===void 0)return;if(Pe(ee,A[0]))return A[1];G=G+1|0}}has(ee){return this.get(ee)!==void 0}*values(){for(const[,[,ee]]of this._map)yield ee}}e.EqualityMap=we;function Pe(Q,ee){if(Q===ee)return!0;if(Q===void 0||ee===void 0||Q===null||ee===null)return!1;if(typeof Q.equals=="function"&&typeof ee.equals=="function")return Q.equals(ee);if(Q instanceof Set&&ee instanceof Set){if(Q.size!==ee.size)return!1;for(const G of Q)if(!ee.has(G))return!1;return!0}if(Q instanceof Map&&ee instanceof Map){if(Q.size!==ee.size)return!1;for(const[G,A]of Q){const J=ee.get(G);if(!Pe(A,J))return!1}return!0}if(Array.isArray(Q)&&Array.isArray(ee)){const G=Q.length;if(G!==ee.length)return!1;for(let A=0;A<G;A++)if(!Pe(Q[A],ee[A]))return!1;return!0}return!1}e.areEqual=Pe;function je(Q){if(typeof Q=="number")return Q|0;if(typeof Q=="string")return n(Q);let ee=e.hashCodeInit;if(Q===void 0)return ee;if(Q===!0)return ee+1|0;if(Q===!1)return ee+2|0;if(Q===null)return ee+3|0;if(typeof Q.hashCode=="function")return Q.hashCode();if(Q instanceof Set){for(const G of Q)ee+=je(G);return ee}if(Q instanceof Map){let G=e.hashCodeInit;for(const[A,J]of Q)G+=je(A),ee+=je(J);return i(G,ee)}if(Array.isArray(Q)){for(const G of Q)ee=i(ee,je(G));return ee}throw new Error(`Cannot hash ${Q}`)}e.hashCodeOf=je})(Je);var Xf={},xh={},Yf={},Ae={},gT={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.5",i=n,r=typeof atob=="function",l=typeof btoa=="function",u=typeof Buffer=="function",f=typeof TextDecoder=="function"?new TextDecoder:void 0,m=typeof TextEncoder=="function"?new TextEncoder:void 0,v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",S=Array.prototype.slice.call(v),C=function(Y){var $={};return Y.forEach(function(ae,pe){return $[ae]=pe}),$}(S),D=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_=String.fromCharCode.bind(String),E=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):function(Y){return new Uint8Array(Array.prototype.slice.call(Y,0))},T=function(Y){return Y.replace(/=/g,"").replace(/[+\/]/g,function($){return $=="+"?"-":"_"})},P=function(Y){return Y.replace(/[^A-Za-z0-9\+\/]/g,"")},I=function(Y){for(var $,ae,pe,Te,Ne="",ce=Y.length%3,fe=0;fe<Y.length;){if((ae=Y.charCodeAt(fe++))>255||(pe=Y.charCodeAt(fe++))>255||(Te=Y.charCodeAt(fe++))>255)throw new TypeError("invalid character found");$=ae<<16|pe<<8|Te,Ne+=S[$>>18&63]+S[$>>12&63]+S[$>>6&63]+S[$&63]}return ce?Ne.slice(0,ce-3)+"===".substring(ce):Ne},M=l?function(Y){return btoa(Y)}:u?function(Y){return Buffer.from(Y,"binary").toString("base64")}:I,H=u?function(Y){return Buffer.from(Y).toString("base64")}:function(Y){for(var $=4096,ae=[],pe=0,Te=Y.length;pe<Te;pe+=$)ae.push(_.apply(null,Y.subarray(pe,pe+$)));return M(ae.join(""))},Z=function(Y,$){return $===void 0&&($=!1),$?T(H(Y)):H(Y)},U=function(Y){if(Y.length<2){var $=Y.charCodeAt(0);return $<128?Y:$<2048?_(192|$>>>6)+_(128|$&63):_(224|$>>>12&15)+_(128|$>>>6&63)+_(128|$&63)}else{var $=65536+(Y.charCodeAt(0)-55296)*1024+(Y.charCodeAt(1)-56320);return _(240|$>>>18&7)+_(128|$>>>12&63)+_(128|$>>>6&63)+_(128|$&63)}},B=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,F=function(Y){return Y.replace(B,U)},y=u?function(Y){return Buffer.from(Y,"utf8").toString("base64")}:m?function(Y){return H(m.encode(Y))}:function(Y){return M(F(Y))},w=function(Y,$){return $===void 0&&($=!1),$?T(y(Y)):y(Y)},L=function(Y){return w(Y,!0)},N=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,p=function(Y){switch(Y.length){case 4:var $=(7&Y.charCodeAt(0))<<18|(63&Y.charCodeAt(1))<<12|(63&Y.charCodeAt(2))<<6|63&Y.charCodeAt(3),ae=$-65536;return _((ae>>>10)+55296)+_((ae&1023)+56320);case 3:return _((15&Y.charCodeAt(0))<<12|(63&Y.charCodeAt(1))<<6|63&Y.charCodeAt(2));default:return _((31&Y.charCodeAt(0))<<6|63&Y.charCodeAt(1))}},o=function(Y){return Y.replace(N,p)},a=function(Y){if(Y=Y.replace(/\s+/g,""),!D.test(Y))throw new TypeError("malformed base64.");Y+="==".slice(2-(Y.length&3));for(var $,ae="",pe,Te,Ne=0;Ne<Y.length;)$=C[Y.charAt(Ne++)]<<18|C[Y.charAt(Ne++)]<<12|(pe=C[Y.charAt(Ne++)])<<6|(Te=C[Y.charAt(Ne++)]),ae+=pe===64?_($>>16&255):Te===64?_($>>16&255,$>>8&255):_($>>16&255,$>>8&255,$&255);return ae},d=r?function(Y){return atob(P(Y))}:u?function(Y){return Buffer.from(Y,"base64").toString("binary")}:a,h=u?function(Y){return E(Buffer.from(Y,"base64"))}:function(Y){return E(d(Y).split("").map(function($){return $.charCodeAt(0)}))},b=function(Y){return h(x(Y))},R=u?function(Y){return Buffer.from(Y,"base64").toString("utf8")}:f?function(Y){return f.decode(h(Y))}:function(Y){return o(d(Y))},x=function(Y){return P(Y.replace(/[-_]/g,function($){return $=="-"?"+":"/"}))},j=function(Y){return R(x(Y))},W=function(Y){if(typeof Y!="string")return!1;var $=Y.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test($)||!/[^\s0-9a-zA-Z\-_]/.test($)},k=function(Y){return{value:Y,enumerable:!1,writable:!0,configurable:!0}},O=function(){var Y=function($,ae){return Object.defineProperty(String.prototype,$,k(ae))};Y("fromBase64",function(){return j(this)}),Y("toBase64",function($){return w(this,$)}),Y("toBase64URI",function(){return w(this,!0)}),Y("toBase64URL",function(){return w(this,!0)}),Y("toUint8Array",function(){return b(this)})},V=function(){var Y=function($,ae){return Object.defineProperty(Uint8Array.prototype,$,k(ae))};Y("toBase64",function($){return Z(this,$)}),Y("toBase64URI",function(){return Z(this,!0)}),Y("toBase64URL",function(){return Z(this,!0)})},te=function(){O(),V()},ue={version:n,VERSION:i,atob:d,atobPolyfill:a,btoa:M,btoaPolyfill:I,fromBase64:j,toBase64:w,encode:w,encodeURI:L,encodeURL:L,utob:F,btou:o,decode:j,isValid:W,fromUint8Array:Z,toUint8Array:b,extendString:O,extendUint8Array:V,extendBuiltins:te};return ue.Base64={},Object.keys(ue).forEach(function(Y){return ue.Base64[Y]=ue[Y]}),ue})})(gT);var UC=gT.exports,ur={};(function(e){var t=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function n(l,u){return Object.prototype.hasOwnProperty.call(l,u)}e.assign=function(l){for(var u=Array.prototype.slice.call(arguments,1);u.length;){var f=u.shift();if(f){if(typeof f!="object")throw new TypeError(f+"must be non-object");for(var m in f)n(f,m)&&(l[m]=f[m])}}return l},e.shrinkBuf=function(l,u){return l.length===u?l:l.subarray?l.subarray(0,u):(l.length=u,l)};var i={arraySet:function(l,u,f,m,v){if(u.subarray&&l.subarray){l.set(u.subarray(f,f+m),v);return}for(var S=0;S<m;S++)l[v+S]=u[f+S]},flattenChunks:function(l){var u,f,m,v,S,C;for(m=0,u=0,f=l.length;u<f;u++)m+=l[u].length;for(C=new Uint8Array(m),v=0,u=0,f=l.length;u<f;u++)S=l[u],C.set(S,v),v+=S.length;return C}},r={arraySet:function(l,u,f,m,v){for(var S=0;S<m;S++)l[v+S]=u[f+S]},flattenChunks:function(l){return[].concat.apply([],l)}};e.setTyped=function(l){l?(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)})(ur);var Ia={},ji={},Oo={},zC=ur,JC=4,Mg=0,jg=1,WC=2;function Eo(e){for(var t=e.length;--t>=0;)e[t]=0}var GC=0,bT=1,qC=2,HC=3,VC=258,Uh=29,Ma=256,_a=Ma+1+Uh,yo=30,zh=19,TT=2*_a+1,cs=15,$f=16,KC=7,Jh=256,ST=16,vT=17,wT=18,rh=[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],el=[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],ZC=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],LT=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],QC=512,Qi=new Array((_a+2)*2);Eo(Qi);var ga=new Array(yo*2);Eo(ga);var Na=new Array(QC);Eo(Na);var ka=new Array(VC-HC+1);Eo(ka);var Wh=new Array(Uh);Eo(Wh);var gl=new Array(yo);Eo(gl);function ed(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 _T,NT,kT;function td(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function OT(e){return e<256?Na[e]:Na[256+(e>>>7)]}function Oa(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function wn(e,t,n){e.bi_valid>$f-n?(e.bi_buf|=t<<e.bi_valid&65535,Oa(e,e.bi_buf),e.bi_buf=t>>$f-e.bi_valid,e.bi_valid+=n-$f):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function Oi(e,t,n){wn(e,n[t*2],n[t*2+1])}function ET(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function XC(e){e.bi_valid===16?(Oa(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 YC(e,t){var n=t.dyn_tree,i=t.max_code,r=t.stat_desc.static_tree,l=t.stat_desc.has_stree,u=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,m=t.stat_desc.max_length,v,S,C,D,_,E,T=0;for(D=0;D<=cs;D++)e.bl_count[D]=0;for(n[e.heap[e.heap_max]*2+1]=0,v=e.heap_max+1;v<TT;v++)S=e.heap[v],D=n[n[S*2+1]*2+1]+1,D>m&&(D=m,T++),n[S*2+1]=D,!(S>i)&&(e.bl_count[D]++,_=0,S>=f&&(_=u[S-f]),E=n[S*2],e.opt_len+=E*(D+_),l&&(e.static_len+=E*(r[S*2+1]+_)));if(T!==0){do{for(D=m-1;e.bl_count[D]===0;)D--;e.bl_count[D]--,e.bl_count[D+1]+=2,e.bl_count[m]--,T-=2}while(T>0);for(D=m;D!==0;D--)for(S=e.bl_count[D];S!==0;)C=e.heap[--v],!(C>i)&&(n[C*2+1]!==D&&(e.opt_len+=(D-n[C*2+1])*n[C*2],n[C*2+1]=D),S--)}}function CT(e,t,n){var i=new Array(cs+1),r=0,l,u;for(l=1;l<=cs;l++)i[l]=r=r+n[l-1]<<1;for(u=0;u<=t;u++){var f=e[u*2+1];f!==0&&(e[u*2]=ET(i[f]++,f))}}function $C(){var e,t,n,i,r,l=new Array(cs+1);for(n=0,i=0;i<Uh-1;i++)for(Wh[i]=n,e=0;e<1<<rh[i];e++)ka[n++]=i;for(ka[n-1]=i,r=0,i=0;i<16;i++)for(gl[i]=r,e=0;e<1<<el[i];e++)Na[r++]=i;for(r>>=7;i<yo;i++)for(gl[i]=r<<7,e=0;e<1<<el[i]-7;e++)Na[256+r++]=i;for(t=0;t<=cs;t++)l[t]=0;for(e=0;e<=143;)Qi[e*2+1]=8,e++,l[8]++;for(;e<=255;)Qi[e*2+1]=9,e++,l[9]++;for(;e<=279;)Qi[e*2+1]=7,e++,l[7]++;for(;e<=287;)Qi[e*2+1]=8,e++,l[8]++;for(CT(Qi,_a+1,l),e=0;e<yo;e++)ga[e*2+1]=5,ga[e*2]=ET(e,5);_T=new ed(Qi,rh,Ma+1,_a,cs),NT=new ed(ga,el,0,yo,cs),kT=new ed(new Array(0),ZC,0,zh,KC)}function AT(e){var t;for(t=0;t<_a;t++)e.dyn_ltree[t*2]=0;for(t=0;t<yo;t++)e.dyn_dtree[t*2]=0;for(t=0;t<zh;t++)e.bl_tree[t*2]=0;e.dyn_ltree[Jh*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function FT(e){e.bi_valid>8?Oa(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 eA(e,t,n,i){FT(e),i&&(Oa(e,n),Oa(e,~n)),zC.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function Rg(e,t,n,i){var r=t*2,l=n*2;return e[r]<e[l]||e[r]===e[l]&&i[t]<=i[n]}function nd(e,t,n){for(var i=e.heap[n],r=n<<1;r<=e.heap_len&&(r<e.heap_len&&Rg(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!Rg(t,i,e.heap[r],e.depth));)e.heap[n]=e.heap[r],n=r,r<<=1;e.heap[n]=i}function Bg(e,t,n){var i,r,l=0,u,f;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+l*2]<<8|e.pending_buf[e.d_buf+l*2+1],r=e.pending_buf[e.l_buf+l],l++,i===0?Oi(e,r,t):(u=ka[r],Oi(e,u+Ma+1,t),f=rh[u],f!==0&&(r-=Wh[u],wn(e,r,f)),i--,u=OT(i),Oi(e,u,n),f=el[u],f!==0&&(i-=gl[u],wn(e,i,f)));while(l<e.last_lit);Oi(e,Jh,t)}function sh(e,t){var n=t.dyn_tree,i=t.stat_desc.static_tree,r=t.stat_desc.has_stree,l=t.stat_desc.elems,u,f,m=-1,v;for(e.heap_len=0,e.heap_max=TT,u=0;u<l;u++)n[u*2]!==0?(e.heap[++e.heap_len]=m=u,e.depth[u]=0):n[u*2+1]=0;for(;e.heap_len<2;)v=e.heap[++e.heap_len]=m<2?++m:0,n[v*2]=1,e.depth[v]=0,e.opt_len--,r&&(e.static_len-=i[v*2+1]);for(t.max_code=m,u=e.heap_len>>1;u>=1;u--)nd(e,n,u);v=l;do u=e.heap[1],e.heap[1]=e.heap[e.heap_len--],nd(e,n,1),f=e.heap[1],e.heap[--e.heap_max]=u,e.heap[--e.heap_max]=f,n[v*2]=n[u*2]+n[f*2],e.depth[v]=(e.depth[u]>=e.depth[f]?e.depth[u]:e.depth[f])+1,n[u*2+1]=n[f*2+1]=v,e.heap[1]=v++,nd(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],YC(e,t),CT(n,m,e.bl_count)}function Dg(e,t,n){var i,r=-1,l,u=t[0*2+1],f=0,m=7,v=4;for(u===0&&(m=138,v=3),t[(n+1)*2+1]=65535,i=0;i<=n;i++)l=u,u=t[(i+1)*2+1],!(++f<m&&l===u)&&(f<v?e.bl_tree[l*2]+=f:l!==0?(l!==r&&e.bl_tree[l*2]++,e.bl_tree[ST*2]++):f<=10?e.bl_tree[vT*2]++:e.bl_tree[wT*2]++,f=0,r=l,u===0?(m=138,v=3):l===u?(m=6,v=3):(m=7,v=4))}function xg(e,t,n){var i,r=-1,l,u=t[0*2+1],f=0,m=7,v=4;for(u===0&&(m=138,v=3),i=0;i<=n;i++)if(l=u,u=t[(i+1)*2+1],!(++f<m&&l===u)){if(f<v)do Oi(e,l,e.bl_tree);while(--f!==0);else l!==0?(l!==r&&(Oi(e,l,e.bl_tree),f--),Oi(e,ST,e.bl_tree),wn(e,f-3,2)):f<=10?(Oi(e,vT,e.bl_tree),wn(e,f-3,3)):(Oi(e,wT,e.bl_tree),wn(e,f-11,7));f=0,r=l,u===0?(m=138,v=3):l===u?(m=6,v=3):(m=7,v=4)}}function tA(e){var t;for(Dg(e,e.dyn_ltree,e.l_desc.max_code),Dg(e,e.dyn_dtree,e.d_desc.max_code),sh(e,e.bl_desc),t=zh-1;t>=3&&e.bl_tree[LT[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function nA(e,t,n,i){var r;for(wn(e,t-257,5),wn(e,n-1,5),wn(e,i-4,4),r=0;r<i;r++)wn(e,e.bl_tree[LT[r]*2+1],3);xg(e,e.dyn_ltree,t-1),xg(e,e.dyn_dtree,n-1)}function iA(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return Mg;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return jg;for(n=32;n<Ma;n++)if(e.dyn_ltree[n*2]!==0)return jg;return Mg}var Ug=!1;function rA(e){Ug||($C(),Ug=!0),e.l_desc=new td(e.dyn_ltree,_T),e.d_desc=new td(e.dyn_dtree,NT),e.bl_desc=new td(e.bl_tree,kT),e.bi_buf=0,e.bi_valid=0,AT(e)}function PT(e,t,n,i){wn(e,(GC<<1)+(i?1:0),3),eA(e,t,n,!0)}function sA(e){wn(e,bT<<1,3),Oi(e,Jh,Qi),XC(e)}function oA(e,t,n,i){var r,l,u=0;e.level>0?(e.strm.data_type===WC&&(e.strm.data_type=iA(e)),sh(e,e.l_desc),sh(e,e.d_desc),u=tA(e),r=e.opt_len+3+7>>>3,l=e.static_len+3+7>>>3,l<=r&&(r=l)):r=l=n+5,n+4<=r&&t!==-1?PT(e,t,n,i):e.strategy===JC||l===r?(wn(e,(bT<<1)+(i?1:0),3),Bg(e,Qi,ga)):(wn(e,(qC<<1)+(i?1:0),3),nA(e,e.l_desc.max_code+1,e.d_desc.max_code+1,u+1),Bg(e,e.dyn_ltree,e.dyn_dtree)),AT(e),i&&FT(e)}function aA(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[(ka[n]+Ma+1)*2]++,e.dyn_dtree[OT(t)*2]++),e.last_lit===e.lit_bufsize-1}Oo._tr_init=rA;Oo._tr_stored_block=PT;Oo._tr_flush_block=oA;Oo._tr_tally=aA;Oo._tr_align=sA;function uA(e,t,n,i){for(var r=e&65535|0,l=e>>>16&65535|0,u=0;n!==0;){u=n>2e3?2e3:n,n-=u;do r=r+t[i++]|0,l=l+r|0;while(--u);r%=65521,l%=65521}return r|l<<16|0}var IT=uA;function lA(){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 cA=lA();function fA(e,t,n,i){var r=cA,l=i+n;e^=-1;for(var u=i;u<l;u++)e=e>>>8^r[(e^t[u])&255];return e^-1}var MT=fA,Gh={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"},cn=ur,Zn=Oo,jT=IT,Or=MT,dA=Gh,Cs=0,hA=1,pA=3,Rr=4,zg=5,Ei=0,Jg=1,Qn=-2,mA=-3,id=-5,yA=-1,gA=1,zu=2,bA=3,TA=4,SA=0,vA=2,Pl=8,wA=9,LA=15,_A=8,NA=29,kA=256,oh=kA+1+NA,OA=30,EA=19,CA=2*oh+1,AA=15,ct=3,Pr=258,li=Pr+ct+1,FA=32,Il=42,ah=69,tl=73,nl=91,il=103,fs=113,fa=666,Vt=1,ja=2,Ts=3,Co=4,PA=3;function Ir(e,t){return e.msg=dA[t],t}function Wg(e){return(e<<1)-(e>4?9:0)}function Fr(e){for(var t=e.length;--t>=0;)e[t]=0}function Er(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(cn.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 $t(e,t){Zn._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Er(e.strm)}function ht(e,t){e.pending_buf[e.pending++]=t}function ia(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function IA(e,t,n,i){var r=e.avail_in;return r>i&&(r=i),r===0?0:(e.avail_in-=r,cn.arraySet(t,e.input,e.next_in,r,n),e.state.wrap===1?e.adler=jT(e.adler,t,r,n):e.state.wrap===2&&(e.adler=Or(e.adler,t,r,n)),e.next_in+=r,e.total_in+=r,r)}function RT(e,t){var n=e.max_chain_length,i=e.strstart,r,l,u=e.prev_length,f=e.nice_match,m=e.strstart>e.w_size-li?e.strstart-(e.w_size-li):0,v=e.window,S=e.w_mask,C=e.prev,D=e.strstart+Pr,_=v[i+u-1],E=v[i+u];e.prev_length>=e.good_match&&(n>>=2),f>e.lookahead&&(f=e.lookahead);do if(r=t,!(v[r+u]!==E||v[r+u-1]!==_||v[r]!==v[i]||v[++r]!==v[i+1])){i+=2,r++;do;while(v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&v[++i]===v[++r]&&i<D);if(l=Pr-(D-i),i=D-Pr,l>u){if(e.match_start=t,u=l,l>=f)break;_=v[i+u-1],E=v[i+u]}}while((t=C[t&S])>m&&--n!==0);return u<=e.lookahead?u:e.lookahead}function Ss(e){var t=e.w_size,n,i,r,l,u;do{if(l=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-li)){cn.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);l+=t}if(e.strm.avail_in===0)break;if(i=IA(e.strm,e.window,e.strstart+e.lookahead,l),e.lookahead+=i,e.lookahead+e.insert>=ct)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+ct-1])&e.hash_mask,e.prev[u&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=u,u++,e.insert--,!(e.lookahead+e.insert<ct)););}while(e.lookahead<li&&e.strm.avail_in!==0)}function MA(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Ss(e),e.lookahead===0&&t===Cs)return Vt;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,$t(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-li&&($t(e,!1),e.strm.avail_out===0))return Vt}return e.insert=0,t===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):(e.strstart>e.block_start&&($t(e,!1),e.strm.avail_out===0),Vt)}function rd(e,t){for(var n,i;;){if(e.lookahead<li){if(Ss(e),e.lookahead<li&&t===Cs)return Vt;if(e.lookahead===0)break}if(n=0,e.lookahead>=ct&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-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-li&&(e.match_length=RT(e,n)),e.match_length>=ct)if(i=Zn._tr_tally(e,e.strstart-e.match_start,e.match_length-ct),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ct){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-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=Zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&($t(e,!1),e.strm.avail_out===0))return Vt}return e.insert=e.strstart<ct-1?e.strstart:ct-1,t===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function to(e,t){for(var n,i,r;;){if(e.lookahead<li){if(Ss(e),e.lookahead<li&&t===Cs)return Vt;if(e.lookahead===0)break}if(n=0,e.lookahead>=ct&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+ct-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=ct-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-li&&(e.match_length=RT(e,n),e.match_length<=5&&(e.strategy===gA||e.match_length===ct&&e.strstart-e.match_start>4096)&&(e.match_length=ct-1)),e.prev_length>=ct&&e.match_length<=e.prev_length){r=e.strstart+e.lookahead-ct,i=Zn._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-ct),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+ct-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=ct-1,e.strstart++,i&&($t(e,!1),e.strm.avail_out===0))return Vt}else if(e.match_available){if(i=Zn._tr_tally(e,0,e.window[e.strstart-1]),i&&$t(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Vt}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=Zn._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<ct-1?e.strstart:ct-1,t===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function jA(e,t){for(var n,i,r,l,u=e.window;;){if(e.lookahead<=Pr){if(Ss(e),e.lookahead<=Pr&&t===Cs)return Vt;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=ct&&e.strstart>0&&(r=e.strstart-1,i=u[r],i===u[++r]&&i===u[++r]&&i===u[++r])){l=e.strstart+Pr;do;while(i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&i===u[++r]&&r<l);e.match_length=Pr-(l-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ct?(n=Zn._tr_tally(e,1,e.match_length-ct),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&($t(e,!1),e.strm.avail_out===0))return Vt}return e.insert=0,t===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function RA(e,t){for(var n;;){if(e.lookahead===0&&(Ss(e),e.lookahead===0)){if(t===Cs)return Vt;break}if(e.match_length=0,n=Zn._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&($t(e,!1),e.strm.avail_out===0))return Vt}return e.insert=0,t===Rr?($t(e,!0),e.strm.avail_out===0?Ts:Co):e.last_lit&&($t(e,!1),e.strm.avail_out===0)?Vt:ja}function gi(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 lo;lo=[new gi(0,0,0,0,MA),new gi(4,4,8,4,rd),new gi(4,5,16,8,rd),new gi(4,6,32,32,rd),new gi(4,4,16,16,to),new gi(8,16,32,32,to),new gi(8,16,128,128,to),new gi(8,32,128,256,to),new gi(32,128,258,1024,to),new gi(32,258,258,4096,to)];function BA(e){e.window_size=2*e.w_size,Fr(e.head),e.max_lazy_match=lo[e.level].max_lazy,e.good_match=lo[e.level].good_length,e.nice_match=lo[e.level].nice_length,e.max_chain_length=lo[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ct-1,e.match_available=0,e.ins_h=0}function DA(){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=Pl,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 cn.Buf16(CA*2),this.dyn_dtree=new cn.Buf16((2*OA+1)*2),this.bl_tree=new cn.Buf16((2*EA+1)*2),Fr(this.dyn_ltree),Fr(this.dyn_dtree),Fr(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new cn.Buf16(AA+1),this.heap=new cn.Buf16(2*oh+1),Fr(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new cn.Buf16(2*oh+1),Fr(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 BT(e){var t;return!e||!e.state?Ir(e,Qn):(e.total_in=e.total_out=0,e.data_type=vA,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?Il:fs,e.adler=t.wrap===2?0:1,t.last_flush=Cs,Zn._tr_init(t),Ei)}function DT(e){var t=BT(e);return t===Ei&&BA(e.state),t}function xA(e,t){return!e||!e.state||e.state.wrap!==2?Qn:(e.state.gzhead=t,Ei)}function xT(e,t,n,i,r,l){if(!e)return Qn;var u=1;if(t===yA&&(t=6),i<0?(u=0,i=-i):i>15&&(u=2,i-=16),r<1||r>wA||n!==Pl||i<8||i>15||t<0||t>9||l<0||l>TA)return Ir(e,Qn);i===8&&(i=9);var f=new DA;return e.state=f,f.strm=e,f.wrap=u,f.gzhead=null,f.w_bits=i,f.w_size=1<<f.w_bits,f.w_mask=f.w_size-1,f.hash_bits=r+7,f.hash_size=1<<f.hash_bits,f.hash_mask=f.hash_size-1,f.hash_shift=~~((f.hash_bits+ct-1)/ct),f.window=new cn.Buf8(f.w_size*2),f.head=new cn.Buf16(f.hash_size),f.prev=new cn.Buf16(f.w_size),f.lit_bufsize=1<<r+6,f.pending_buf_size=f.lit_bufsize*4,f.pending_buf=new cn.Buf8(f.pending_buf_size),f.d_buf=1*f.lit_bufsize,f.l_buf=3*f.lit_bufsize,f.level=t,f.strategy=l,f.method=n,DT(e)}function UA(e,t){return xT(e,t,Pl,LA,_A,SA)}function zA(e,t){var n,i,r,l;if(!e||!e.state||t>zg||t<0)return e?Ir(e,Qn):Qn;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===fa&&t!==Rr)return Ir(e,e.avail_out===0?id:Qn);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===Il)if(i.wrap===2)e.adler=0,ht(i,31),ht(i,139),ht(i,8),i.gzhead?(ht(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)),ht(i,i.gzhead.time&255),ht(i,i.gzhead.time>>8&255),ht(i,i.gzhead.time>>16&255),ht(i,i.gzhead.time>>24&255),ht(i,i.level===9?2:i.strategy>=zu||i.level<2?4:0),ht(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(ht(i,i.gzhead.extra.length&255),ht(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Or(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=ah):(ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,i.level===9?2:i.strategy>=zu||i.level<2?4:0),ht(i,PA),i.status=fs);else{var u=Pl+(i.w_bits-8<<4)<<8,f=-1;i.strategy>=zu||i.level<2?f=0:i.level<6?f=1:i.level===6?f=2:f=3,u|=f<<6,i.strstart!==0&&(u|=FA),u+=31-u%31,i.status=fs,ia(i,u),i.strstart!==0&&(ia(i,e.adler>>>16),ia(i,e.adler&65535)),e.adler=1}if(i.status===ah)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=Or(e.adler,i.pending_buf,i.pending-r,r)),Er(e),r=i.pending,i.pending===i.pending_buf_size));)ht(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=tl)}else i.status=tl;if(i.status===tl)if(i.gzhead.name){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),Er(e),r=i.pending,i.pending===i.pending_buf_size)){l=1;break}i.gzindex<i.gzhead.name.length?l=i.gzhead.name.charCodeAt(i.gzindex++)&255:l=0,ht(i,l)}while(l!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),l===0&&(i.gzindex=0,i.status=nl)}else i.status=nl;if(i.status===nl)if(i.gzhead.comment){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),Er(e),r=i.pending,i.pending===i.pending_buf_size)){l=1;break}i.gzindex<i.gzhead.comment.length?l=i.gzhead.comment.charCodeAt(i.gzindex++)&255:l=0,ht(i,l)}while(l!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Or(e.adler,i.pending_buf,i.pending-r,r)),l===0&&(i.status=il)}else i.status=il;if(i.status===il&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&Er(e),i.pending+2<=i.pending_buf_size&&(ht(i,e.adler&255),ht(i,e.adler>>8&255),e.adler=0,i.status=fs)):i.status=fs),i.pending!==0){if(Er(e),e.avail_out===0)return i.last_flush=-1,Ei}else if(e.avail_in===0&&Wg(t)<=Wg(n)&&t!==Rr)return Ir(e,id);if(i.status===fa&&e.avail_in!==0)return Ir(e,id);if(e.avail_in!==0||i.lookahead!==0||t!==Cs&&i.status!==fa){var m=i.strategy===zu?RA(i,t):i.strategy===bA?jA(i,t):lo[i.level].func(i,t);if((m===Ts||m===Co)&&(i.status=fa),m===Vt||m===Ts)return e.avail_out===0&&(i.last_flush=-1),Ei;if(m===ja&&(t===hA?Zn._tr_align(i):t!==zg&&(Zn._tr_stored_block(i,0,0,!1),t===pA&&(Fr(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),Er(e),e.avail_out===0))return i.last_flush=-1,Ei}return t!==Rr?Ei:i.wrap<=0?Jg:(i.wrap===2?(ht(i,e.adler&255),ht(i,e.adler>>8&255),ht(i,e.adler>>16&255),ht(i,e.adler>>24&255),ht(i,e.total_in&255),ht(i,e.total_in>>8&255),ht(i,e.total_in>>16&255),ht(i,e.total_in>>24&255)):(ia(i,e.adler>>>16),ia(i,e.adler&65535)),Er(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ei:Jg)}function JA(e){var t;return!e||!e.state?Qn:(t=e.state.status,t!==Il&&t!==ah&&t!==tl&&t!==nl&&t!==il&&t!==fs&&t!==fa?Ir(e,Qn):(e.state=null,t===fs?Ir(e,mA):Ei))}function WA(e,t){var n=t.length,i,r,l,u,f,m,v,S;if(!e||!e.state||(i=e.state,u=i.wrap,u===2||u===1&&i.status!==Il||i.lookahead))return Qn;for(u===1&&(e.adler=jT(e.adler,t,n,0)),i.wrap=0,n>=i.w_size&&(u===0&&(Fr(i.head),i.strstart=0,i.block_start=0,i.insert=0),S=new cn.Buf8(i.w_size),cn.arraySet(S,t,n-i.w_size,i.w_size,0),t=S,n=i.w_size),f=e.avail_in,m=e.next_in,v=e.input,e.avail_in=n,e.next_in=0,e.input=t,Ss(i);i.lookahead>=ct;){r=i.strstart,l=i.lookahead-(ct-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[r+ct-1])&i.hash_mask,i.prev[r&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=r,r++;while(--l);i.strstart=r,i.lookahead=ct-1,Ss(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=ct-1,i.match_available=0,e.next_in=m,e.input=v,e.avail_in=f,i.wrap=u,Ei}ji.deflateInit=UA;ji.deflateInit2=xT;ji.deflateReset=DT;ji.deflateResetKeep=BT;ji.deflateSetHeader=xA;ji.deflate=zA;ji.deflateEnd=JA;ji.deflateSetDictionary=WA;ji.deflateInfo="pako deflate (from Nodeca project)";var As={},Ml=ur,UT=!0,zT=!0;try{String.fromCharCode.apply(null,[0])}catch{UT=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{zT=!1}var Ea=new Ml.Buf8(256);for(var _r=0;_r<256;_r++)Ea[_r]=_r>=252?6:_r>=248?5:_r>=240?4:_r>=224?3:_r>=192?2:1;Ea[254]=Ea[254]=1;As.string2buf=function(e){var t,n,i,r,l,u=e.length,f=0;for(r=0;r<u;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<u&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),f+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Ml.Buf8(f),l=0,r=0;l<f;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<u&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),n<128?t[l++]=n:n<2048?(t[l++]=192|n>>>6,t[l++]=128|n&63):n<65536?(t[l++]=224|n>>>12,t[l++]=128|n>>>6&63,t[l++]=128|n&63):(t[l++]=240|n>>>18,t[l++]=128|n>>>12&63,t[l++]=128|n>>>6&63,t[l++]=128|n&63);return t};function JT(e,t){if(t<65534&&(e.subarray&&zT||!e.subarray&&UT))return String.fromCharCode.apply(null,Ml.shrinkBuf(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}As.buf2binstring=function(e){return JT(e,e.length)};As.binstring2buf=function(e){for(var t=new Ml.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t};As.buf2string=function(e,t){var n,i,r,l,u=t||e.length,f=new Array(u*2);for(i=0,n=0;n<u;){if(r=e[n++],r<128){f[i++]=r;continue}if(l=Ea[r],l>4){f[i++]=65533,n+=l-1;continue}for(r&=l===2?31:l===3?15:7;l>1&&n<u;)r=r<<6|e[n++]&63,l--;if(l>1){f[i++]=65533;continue}r<65536?f[i++]=r:(r-=65536,f[i++]=55296|r>>10&1023,f[i++]=56320|r&1023)}return JT(f,i)};As.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+Ea[e[n]]>t?n:t};function GA(){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 WT=GA,ba=ji,Ta=ur,uh=As,lh=Gh,qA=WT,GT=Object.prototype.toString,HA=0,sd=4,go=0,Gg=1,qg=2,VA=-1,KA=0,ZA=8;function vs(e){if(!(this instanceof vs))return new vs(e);this.options=Ta.assign({level:VA,method:ZA,chunkSize:16384,windowBits:15,memLevel:8,strategy:KA,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 qA,this.strm.avail_out=0;var n=ba.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==go)throw new Error(lh[n]);if(t.header&&ba.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=uh.string2buf(t.dictionary):GT.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,n=ba.deflateSetDictionary(this.strm,i),n!==go)throw new Error(lh[n]);this._dict_set=!0}}vs.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r,l;if(this.ended)return!1;l=t===~~t?t:t===!0?sd:HA,typeof e=="string"?n.input=uh.string2buf(e):GT.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 Ta.Buf8(i),n.next_out=0,n.avail_out=i),r=ba.deflate(n,l),r!==Gg&&r!==go)return this.onEnd(r),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(l===sd||l===qg))&&(this.options.to==="string"?this.onData(uh.buf2binstring(Ta.shrinkBuf(n.output,n.next_out))):this.onData(Ta.shrinkBuf(n.output,n.next_out)))}while((n.avail_in>0||n.avail_out===0)&&r!==Gg);return l===sd?(r=ba.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===go):(l===qg&&(this.onEnd(go),n.avail_out=0),!0)};vs.prototype.onData=function(e){this.chunks.push(e)};vs.prototype.onEnd=function(e){e===go&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ta.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function qh(e,t){var n=new vs(t);if(n.push(e,!0),n.err)throw n.msg||lh[n.err];return n.result}function QA(e,t){return t=t||{},t.raw=!0,qh(e,t)}function XA(e,t){return t=t||{},t.gzip=!0,qh(e,t)}Ia.Deflate=vs;Ia.deflate=qh;Ia.deflateRaw=QA;Ia.gzip=XA;var Ra={},fi={},Ju=30,YA=12,$A=function(t,n){var i,r,l,u,f,m,v,S,C,D,_,E,T,P,I,M,H,Z,U,B,F,y,w,L,N;i=t.state,r=t.next_in,L=t.input,l=r+(t.avail_in-5),u=t.next_out,N=t.output,f=u-(n-t.avail_out),m=u+(t.avail_out-257),v=i.dmax,S=i.wsize,C=i.whave,D=i.wnext,_=i.window,E=i.hold,T=i.bits,P=i.lencode,I=i.distcode,M=(1<<i.lenbits)-1,H=(1<<i.distbits)-1;e:do{T<15&&(E+=L[r++]<<T,T+=8,E+=L[r++]<<T,T+=8),Z=P[E&M];t:for(;;){if(U=Z>>>24,E>>>=U,T-=U,U=Z>>>16&255,U===0)N[u++]=Z&65535;else if(U&16){B=Z&65535,U&=15,U&&(T<U&&(E+=L[r++]<<T,T+=8),B+=E&(1<<U)-1,E>>>=U,T-=U),T<15&&(E+=L[r++]<<T,T+=8,E+=L[r++]<<T,T+=8),Z=I[E&H];n:for(;;){if(U=Z>>>24,E>>>=U,T-=U,U=Z>>>16&255,U&16){if(F=Z&65535,U&=15,T<U&&(E+=L[r++]<<T,T+=8,T<U&&(E+=L[r++]<<T,T+=8)),F+=E&(1<<U)-1,F>v){t.msg="invalid distance too far back",i.mode=Ju;break e}if(E>>>=U,T-=U,U=u-f,F>U){if(U=F-U,U>C&&i.sane){t.msg="invalid distance too far back",i.mode=Ju;break e}if(y=0,w=_,D===0){if(y+=S-U,U<B){B-=U;do N[u++]=_[y++];while(--U);y=u-F,w=N}}else if(D<U){if(y+=S+D-U,U-=D,U<B){B-=U;do N[u++]=_[y++];while(--U);if(y=0,D<B){U=D,B-=U;do N[u++]=_[y++];while(--U);y=u-F,w=N}}}else if(y+=D-U,U<B){B-=U;do N[u++]=_[y++];while(--U);y=u-F,w=N}for(;B>2;)N[u++]=w[y++],N[u++]=w[y++],N[u++]=w[y++],B-=3;B&&(N[u++]=w[y++],B>1&&(N[u++]=w[y++]))}else{y=u-F;do N[u++]=N[y++],N[u++]=N[y++],N[u++]=N[y++],B-=3;while(B>2);B&&(N[u++]=N[y++],B>1&&(N[u++]=N[y++]))}}else if(U&64){t.msg="invalid distance code",i.mode=Ju;break e}else{Z=I[(Z&65535)+(E&(1<<U)-1)];continue n}break}}else if(U&64)if(U&32){i.mode=YA;break e}else{t.msg="invalid literal/length code",i.mode=Ju;break e}else{Z=P[(Z&65535)+(E&(1<<U)-1)];continue t}break}}while(r<l&&u<m);B=T>>3,r-=B,T-=B<<3,E&=(1<<T)-1,t.next_in=r,t.next_out=u,t.avail_in=r<l?5+(l-r):5-(r-l),t.avail_out=u<m?257+(m-u):257-(u-m),i.hold=E,i.bits=T},Hg=ur,no=15,Vg=852,Kg=592,Zg=0,od=1,Qg=2,eF=[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],tF=[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],nF=[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],iF=[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],rF=function(t,n,i,r,l,u,f,m){var v=m.bits,S=0,C=0,D=0,_=0,E=0,T=0,P=0,I=0,M=0,H=0,Z,U,B,F,y,w=null,L=0,N,p=new Hg.Buf16(no+1),o=new Hg.Buf16(no+1),a=null,d=0,h,b,R;for(S=0;S<=no;S++)p[S]=0;for(C=0;C<r;C++)p[n[i+C]]++;for(E=v,_=no;_>=1&&p[_]===0;_--);if(E>_&&(E=_),_===0)return l[u++]=1<<24|64<<16|0,l[u++]=1<<24|64<<16|0,m.bits=1,0;for(D=1;D<_&&p[D]===0;D++);for(E<D&&(E=D),I=1,S=1;S<=no;S++)if(I<<=1,I-=p[S],I<0)return-1;if(I>0&&(t===Zg||_!==1))return-1;for(o[1]=0,S=1;S<no;S++)o[S+1]=o[S]+p[S];for(C=0;C<r;C++)n[i+C]!==0&&(f[o[n[i+C]]++]=C);if(t===Zg?(w=a=f,N=19):t===od?(w=eF,L-=257,a=tF,d-=257,N=256):(w=nF,a=iF,N=-1),H=0,C=0,S=D,y=u,T=E,P=0,B=-1,M=1<<E,F=M-1,t===od&&M>Vg||t===Qg&&M>Kg)return 1;for(;;){h=S-P,f[C]<N?(b=0,R=f[C]):f[C]>N?(b=a[d+f[C]],R=w[L+f[C]]):(b=96,R=0),Z=1<<S-P,U=1<<T,D=U;do U-=Z,l[y+(H>>P)+U]=h<<24|b<<16|R|0;while(U!==0);for(Z=1<<S-1;H&Z;)Z>>=1;if(Z!==0?(H&=Z-1,H+=Z):H=0,C++,--p[S]===0){if(S===_)break;S=n[i+f[C]]}if(S>E&&(H&F)!==B){for(P===0&&(P=E),y+=D,T=S-P,I=1<<T;T+P<_&&(I-=p[T+P],!(I<=0));)T++,I<<=1;if(M+=1<<T,t===od&&M>Vg||t===Qg&&M>Kg)return 1;B=H&F,l[B]=E<<24|T<<16|y-u|0}}return H!==0&&(l[y+H]=S-P<<24|64<<16|0),m.bits=E,0},Mn=ur,ch=IT,bi=MT,sF=$A,Sa=rF,oF=0,qT=1,HT=2,Xg=4,aF=5,Wu=6,ws=0,uF=1,lF=2,Yn=-2,VT=-3,KT=-4,cF=-5,Yg=8,ZT=1,$g=2,eb=3,tb=4,nb=5,ib=6,rb=7,sb=8,ob=9,ab=10,bl=11,Hi=12,ad=13,ub=14,ud=15,lb=16,cb=17,fb=18,db=19,Gu=20,qu=21,hb=22,pb=23,mb=24,yb=25,gb=26,ld=27,bb=28,Tb=29,Et=30,QT=31,fF=32,dF=852,hF=592,pF=15,mF=pF;function Sb(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function yF(){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 Mn.Buf16(320),this.work=new Mn.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function XT(e){var t;return!e||!e.state?Yn:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=ZT,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Mn.Buf32(dF),t.distcode=t.distdyn=new Mn.Buf32(hF),t.sane=1,t.back=-1,ws)}function YT(e){var t;return!e||!e.state?Yn:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,XT(e))}function $T(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))?Yn:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,YT(e))}function eS(e,t){var n,i;return e?(i=new yF,e.state=i,i.window=null,n=$T(e,t),n!==ws&&(e.state=null),n):Yn}function gF(e){return eS(e,mF)}var vb=!0,cd,fd;function bF(e){if(vb){var t;for(cd=new Mn.Buf32(512),fd=new Mn.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(Sa(qT,e.lens,0,288,cd,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Sa(HT,e.lens,0,32,fd,0,e.work,{bits:5}),vb=!1}e.lencode=cd,e.lenbits=9,e.distcode=fd,e.distbits=5}function tS(e,t,n,i){var r,l=e.state;return l.window===null&&(l.wsize=1<<l.wbits,l.wnext=0,l.whave=0,l.window=new Mn.Buf8(l.wsize)),i>=l.wsize?(Mn.arraySet(l.window,t,n-l.wsize,l.wsize,0),l.wnext=0,l.whave=l.wsize):(r=l.wsize-l.wnext,r>i&&(r=i),Mn.arraySet(l.window,t,n-i,r,l.wnext),i-=r,i?(Mn.arraySet(l.window,t,n-i,i,0),l.wnext=i,l.whave=l.wsize):(l.wnext+=r,l.wnext===l.wsize&&(l.wnext=0),l.whave<l.wsize&&(l.whave+=r))),0}function TF(e,t){var n,i,r,l,u,f,m,v,S,C,D,_,E,T,P=0,I,M,H,Z,U,B,F,y,w=new Mn.Buf8(4),L,N,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 Yn;n=e.state,n.mode===Hi&&(n.mode=ad),u=e.next_out,r=e.output,m=e.avail_out,l=e.next_in,i=e.input,f=e.avail_in,v=n.hold,S=n.bits,C=f,D=m,y=ws;e:for(;;)switch(n.mode){case ZT:if(n.wrap===0){n.mode=ad;break}for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(n.wrap&2&&v===35615){n.check=0,w[0]=v&255,w[1]=v>>>8&255,n.check=bi(n.check,w,2,0),v=0,S=0,n.mode=$g;break}if(n.flags=0,n.head&&(n.head.done=!1),!(n.wrap&1)||(((v&255)<<8)+(v>>8))%31){e.msg="incorrect header check",n.mode=Et;break}if((v&15)!==Yg){e.msg="unknown compression method",n.mode=Et;break}if(v>>>=4,S-=4,F=(v&15)+8,n.wbits===0)n.wbits=F;else if(F>n.wbits){e.msg="invalid window size",n.mode=Et;break}n.dmax=1<<F,e.adler=n.check=1,n.mode=v&512?ab:Hi,v=0,S=0;break;case $g:for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(n.flags=v,(n.flags&255)!==Yg){e.msg="unknown compression method",n.mode=Et;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Et;break}n.head&&(n.head.text=v>>8&1),n.flags&512&&(w[0]=v&255,w[1]=v>>>8&255,n.check=bi(n.check,w,2,0)),v=0,S=0,n.mode=eb;case eb:for(;S<32;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}n.head&&(n.head.time=v),n.flags&512&&(w[0]=v&255,w[1]=v>>>8&255,w[2]=v>>>16&255,w[3]=v>>>24&255,n.check=bi(n.check,w,4,0)),v=0,S=0,n.mode=tb;case tb:for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}n.head&&(n.head.xflags=v&255,n.head.os=v>>8),n.flags&512&&(w[0]=v&255,w[1]=v>>>8&255,n.check=bi(n.check,w,2,0)),v=0,S=0,n.mode=nb;case nb:if(n.flags&1024){for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}n.length=v,n.head&&(n.head.extra_len=v),n.flags&512&&(w[0]=v&255,w[1]=v>>>8&255,n.check=bi(n.check,w,2,0)),v=0,S=0}else n.head&&(n.head.extra=null);n.mode=ib;case ib:if(n.flags&1024&&(_=n.length,_>f&&(_=f),_&&(n.head&&(F=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Mn.arraySet(n.head.extra,i,l,_,F)),n.flags&512&&(n.check=bi(n.check,i,_,l)),f-=_,l+=_,n.length-=_),n.length))break e;n.length=0,n.mode=rb;case rb:if(n.flags&2048){if(f===0)break e;_=0;do F=i[l+_++],n.head&&F&&n.length<65536&&(n.head.name+=String.fromCharCode(F));while(F&&_<f);if(n.flags&512&&(n.check=bi(n.check,i,_,l)),f-=_,l+=_,F)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=sb;case sb:if(n.flags&4096){if(f===0)break e;_=0;do F=i[l+_++],n.head&&F&&n.length<65536&&(n.head.comment+=String.fromCharCode(F));while(F&&_<f);if(n.flags&512&&(n.check=bi(n.check,i,_,l)),f-=_,l+=_,F)break e}else n.head&&(n.head.comment=null);n.mode=ob;case ob:if(n.flags&512){for(;S<16;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(v!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Et;break}v=0,S=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Hi;break;case ab:for(;S<32;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}e.adler=n.check=Sb(v),v=0,S=0,n.mode=bl;case bl:if(n.havedict===0)return e.next_out=u,e.avail_out=m,e.next_in=l,e.avail_in=f,n.hold=v,n.bits=S,lF;e.adler=n.check=1,n.mode=Hi;case Hi:if(t===aF||t===Wu)break e;case ad:if(n.last){v>>>=S&7,S-=S&7,n.mode=ld;break}for(;S<3;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}switch(n.last=v&1,v>>>=1,S-=1,v&3){case 0:n.mode=ub;break;case 1:if(bF(n),n.mode=Gu,t===Wu){v>>>=2,S-=2;break e}break;case 2:n.mode=cb;break;case 3:e.msg="invalid block type",n.mode=Et}v>>>=2,S-=2;break;case ub:for(v>>>=S&7,S-=S&7;S<32;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if((v&65535)!==(v>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Et;break}if(n.length=v&65535,v=0,S=0,n.mode=ud,t===Wu)break e;case ud:n.mode=lb;case lb:if(_=n.length,_){if(_>f&&(_=f),_>m&&(_=m),_===0)break e;Mn.arraySet(r,i,l,_,u),f-=_,l+=_,m-=_,u+=_,n.length-=_;break}n.mode=Hi;break;case cb:for(;S<14;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(n.nlen=(v&31)+257,v>>>=5,S-=5,n.ndist=(v&31)+1,v>>>=5,S-=5,n.ncode=(v&15)+4,v>>>=4,S-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Et;break}n.have=0,n.mode=fb;case fb:for(;n.have<n.ncode;){for(;S<3;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}n.lens[p[n.have++]]=v&7,v>>>=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},y=Sa(oF,n.lens,0,19,n.lencode,0,n.work,L),n.lenbits=L.bits,y){e.msg="invalid code lengths set",n.mode=Et;break}n.have=0,n.mode=db;case db:for(;n.have<n.nlen+n.ndist;){for(;P=n.lencode[v&(1<<n.lenbits)-1],I=P>>>24,M=P>>>16&255,H=P&65535,!(I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(H<16)v>>>=I,S-=I,n.lens[n.have++]=H;else{if(H===16){for(N=I+2;S<N;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(v>>>=I,S-=I,n.have===0){e.msg="invalid bit length repeat",n.mode=Et;break}F=n.lens[n.have-1],_=3+(v&3),v>>>=2,S-=2}else if(H===17){for(N=I+3;S<N;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}v>>>=I,S-=I,F=0,_=3+(v&7),v>>>=3,S-=3}else{for(N=I+7;S<N;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}v>>>=I,S-=I,F=0,_=11+(v&127),v>>>=7,S-=7}if(n.have+_>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Et;break}for(;_--;)n.lens[n.have++]=F}}if(n.mode===Et)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Et;break}if(n.lenbits=9,L={bits:n.lenbits},y=Sa(qT,n.lens,0,n.nlen,n.lencode,0,n.work,L),n.lenbits=L.bits,y){e.msg="invalid literal/lengths set",n.mode=Et;break}if(n.distbits=6,n.distcode=n.distdyn,L={bits:n.distbits},y=Sa(HT,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L),n.distbits=L.bits,y){e.msg="invalid distances set",n.mode=Et;break}if(n.mode=Gu,t===Wu)break e;case Gu:n.mode=qu;case qu:if(f>=6&&m>=258){e.next_out=u,e.avail_out=m,e.next_in=l,e.avail_in=f,n.hold=v,n.bits=S,sF(e,D),u=e.next_out,r=e.output,m=e.avail_out,l=e.next_in,i=e.input,f=e.avail_in,v=n.hold,S=n.bits,n.mode===Hi&&(n.back=-1);break}for(n.back=0;P=n.lencode[v&(1<<n.lenbits)-1],I=P>>>24,M=P>>>16&255,H=P&65535,!(I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(M&&!(M&240)){for(Z=I,U=M,B=H;P=n.lencode[B+((v&(1<<Z+U)-1)>>Z)],I=P>>>24,M=P>>>16&255,H=P&65535,!(Z+I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}v>>>=Z,S-=Z,n.back+=Z}if(v>>>=I,S-=I,n.back+=I,n.length=H,M===0){n.mode=gb;break}if(M&32){n.back=-1,n.mode=Hi;break}if(M&64){e.msg="invalid literal/length code",n.mode=Et;break}n.extra=M&15,n.mode=hb;case hb:if(n.extra){for(N=n.extra;S<N;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}n.length+=v&(1<<n.extra)-1,v>>>=n.extra,S-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=pb;case pb:for(;P=n.distcode[v&(1<<n.distbits)-1],I=P>>>24,M=P>>>16&255,H=P&65535,!(I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(!(M&240)){for(Z=I,U=M,B=H;P=n.distcode[B+((v&(1<<Z+U)-1)>>Z)],I=P>>>24,M=P>>>16&255,H=P&65535,!(Z+I<=S);){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}v>>>=Z,S-=Z,n.back+=Z}if(v>>>=I,S-=I,n.back+=I,M&64){e.msg="invalid distance code",n.mode=Et;break}n.offset=H,n.extra=M&15,n.mode=mb;case mb:if(n.extra){for(N=n.extra;S<N;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}n.offset+=v&(1<<n.extra)-1,v>>>=n.extra,S-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Et;break}n.mode=yb;case yb:if(m===0)break e;if(_=D-m,n.offset>_){if(_=n.offset-_,_>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Et;break}_>n.wnext?(_-=n.wnext,E=n.wsize-_):E=n.wnext-_,_>n.length&&(_=n.length),T=n.window}else T=r,E=u-n.offset,_=n.length;_>m&&(_=m),m-=_,n.length-=_;do r[u++]=T[E++];while(--_);n.length===0&&(n.mode=qu);break;case gb:if(m===0)break e;r[u++]=n.length,m--,n.mode=qu;break;case ld:if(n.wrap){for(;S<32;){if(f===0)break e;f--,v|=i[l++]<<S,S+=8}if(D-=m,e.total_out+=D,n.total+=D,D&&(e.adler=n.check=n.flags?bi(n.check,r,D,u-D):ch(n.check,r,D,u-D)),D=m,(n.flags?v:Sb(v))!==n.check){e.msg="incorrect data check",n.mode=Et;break}v=0,S=0}n.mode=bb;case bb:if(n.wrap&&n.flags){for(;S<32;){if(f===0)break e;f--,v+=i[l++]<<S,S+=8}if(v!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Et;break}v=0,S=0}n.mode=Tb;case Tb:y=uF;break e;case Et:y=VT;break e;case QT:return KT;case fF:default:return Yn}return e.next_out=u,e.avail_out=m,e.next_in=l,e.avail_in=f,n.hold=v,n.bits=S,(n.wsize||D!==e.avail_out&&n.mode<Et&&(n.mode<ld||t!==Xg))&&tS(e,e.output,e.next_out,D-e.avail_out),C-=e.avail_in,D-=e.avail_out,e.total_in+=C,e.total_out+=D,n.total+=D,n.wrap&&D&&(e.adler=n.check=n.flags?bi(n.check,r,D,e.next_out-D):ch(n.check,r,D,e.next_out-D)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Hi?128:0)+(n.mode===Gu||n.mode===ud?256:0),(C===0&&D===0||t===Xg)&&y===ws&&(y=cF),y}function SF(e){if(!e||!e.state)return Yn;var t=e.state;return t.window&&(t.window=null),e.state=null,ws}function vF(e,t){var n;return!e||!e.state||(n=e.state,!(n.wrap&2))?Yn:(n.head=t,t.done=!1,ws)}function wF(e,t){var n=t.length,i,r,l;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==bl)?Yn:i.mode===bl&&(r=1,r=ch(r,t,n,0),r!==i.check)?VT:(l=tS(e,t,n,n),l?(i.mode=QT,KT):(i.havedict=1,ws))}fi.inflateReset=YT;fi.inflateReset2=$T;fi.inflateResetKeep=XT;fi.inflateInit=gF;fi.inflateInit2=eS;fi.inflate=TF;fi.inflateEnd=SF;fi.inflateGetHeader=vF;fi.inflateSetDictionary=wF;fi.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 LF(){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 _F=LF,bo=fi,va=ur,rl=As,Ut=nS,fh=Gh,NF=WT,kF=_F,iS=Object.prototype.toString;function Ls(e){if(!(this instanceof Ls))return new Ls(e);this.options=va.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 NF,this.strm.avail_out=0;var n=bo.inflateInit2(this.strm,t.windowBits);if(n!==Ut.Z_OK)throw new Error(fh[n]);if(this.header=new kF,bo.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=rl.string2buf(t.dictionary):iS.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=bo.inflateSetDictionary(this.strm,t.dictionary),n!==Ut.Z_OK)))throw new Error(fh[n])}Ls.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r=this.options.dictionary,l,u,f,m,v,S=!1;if(this.ended)return!1;u=t===~~t?t:t===!0?Ut.Z_FINISH:Ut.Z_NO_FLUSH,typeof e=="string"?n.input=rl.binstring2buf(e):iS.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 va.Buf8(i),n.next_out=0,n.avail_out=i),l=bo.inflate(n,Ut.Z_NO_FLUSH),l===Ut.Z_NEED_DICT&&r&&(l=bo.inflateSetDictionary(this.strm,r)),l===Ut.Z_BUF_ERROR&&S===!0&&(l=Ut.Z_OK,S=!1),l!==Ut.Z_STREAM_END&&l!==Ut.Z_OK)return this.onEnd(l),this.ended=!0,!1;n.next_out&&(n.avail_out===0||l===Ut.Z_STREAM_END||n.avail_in===0&&(u===Ut.Z_FINISH||u===Ut.Z_SYNC_FLUSH))&&(this.options.to==="string"?(f=rl.utf8border(n.output,n.next_out),m=n.next_out-f,v=rl.buf2string(n.output,f),n.next_out=m,n.avail_out=i-m,m&&va.arraySet(n.output,n.output,f,m,0),this.onData(v)):this.onData(va.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)&&l!==Ut.Z_STREAM_END);return l===Ut.Z_STREAM_END&&(u=Ut.Z_FINISH),u===Ut.Z_FINISH?(l=bo.inflateEnd(this.strm),this.onEnd(l),this.ended=!0,l===Ut.Z_OK):(u===Ut.Z_SYNC_FLUSH&&(this.onEnd(Ut.Z_OK),n.avail_out=0),!0)};Ls.prototype.onData=function(e){this.chunks.push(e)};Ls.prototype.onEnd=function(e){e===Ut.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=va.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Hh(e,t){var n=new Ls(t);if(n.push(e,!0),n.err)throw n.msg||fh[n.err];return n.result}function OF(e,t){return t=t||{},t.raw=!0,Hh(e,t)}Ra.Inflate=Ls;Ra.inflate=Hh;Ra.inflateRaw=OF;Ra.ungzip=Hh;var EF=ur.assign,CF=Ia,AF=Ra,FF=nS,rS={};EF(rS,CF,AF,FF);var PF=rS,Jt={};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.messageAssert=Jt.messageError=Jt.QuickTypeError=void 0;const IF={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 sS extends Error{constructor(t,n,i,r){super(i),this.errorMessage=t,this.messageName=n,this.properties=r}}Jt.QuickTypeError=sS;function oS(e,t){const n=IF[e];let i=n;const r=t;for(const l of Object.getOwnPropertyNames(r)){let u=r[l];typeof u=="object"&&typeof u.toString=="function"?u=u.toString():typeof u.message=="string"?u=u.message:typeof u!="string"&&(u=JSON.stringify(u)),i=i.replace("${"+l+"}",u)}throw new sS(n,e,i,r)}Jt.messageError=oS;function MF(e,t,n){if(!e)return oS(t,n)}Jt.messageAssert=MF;const Vh=Symbol.for("yaml.alias"),dh=Symbol.for("yaml.document"),Br=Symbol.for("yaml.map"),aS=Symbol.for("yaml.pair"),nr=Symbol.for("yaml.scalar"),Ao=Symbol.for("yaml.seq"),$n=Symbol.for("yaml.node.type"),qr=e=>!!e&&typeof e=="object"&&e[$n]===Vh,Fs=e=>!!e&&typeof e=="object"&&e[$n]===dh,Ps=e=>!!e&&typeof e=="object"&&e[$n]===Br,kt=e=>!!e&&typeof e=="object"&&e[$n]===aS,wt=e=>!!e&&typeof e=="object"&&e[$n]===nr,Is=e=>!!e&&typeof e=="object"&&e[$n]===Ao;function Ct(e){if(e&&typeof e=="object")switch(e[$n]){case Br:case Ao:return!0}return!1}function Rt(e){if(e&&typeof e=="object")switch(e[$n]){case Vh:case Br:case nr:case Ao:return!0}return!1}const jF=e=>(wt(e)||Ct(e))&&!!e.anchor,Sn=Symbol("break visit"),uS=Symbol("skip children"),Ai=Symbol("remove node");function ir(e,t){const n=lS(t);Fs(e)?co(null,e.contents,n,Object.freeze([e]))===Ai&&(e.contents=null):co(null,e,n,Object.freeze([]))}ir.BREAK=Sn;ir.SKIP=uS;ir.REMOVE=Ai;function co(e,t,n,i){const r=cS(e,t,n,i);if(Rt(r)||kt(r))return fS(e,i,r),co(e,r,n,i);if(typeof r!="symbol"){if(Ct(t)){i=Object.freeze(i.concat(t));for(let l=0;l<t.items.length;++l){const u=co(l,t.items[l],n,i);if(typeof u=="number")l=u-1;else{if(u===Sn)return Sn;u===Ai&&(t.items.splice(l,1),l-=1)}}}else if(kt(t)){i=Object.freeze(i.concat(t));const l=co("key",t.key,n,i);if(l===Sn)return Sn;l===Ai&&(t.key=null);const u=co("value",t.value,n,i);if(u===Sn)return Sn;u===Ai&&(t.value=null)}}return r}async function Ba(e,t){const n=lS(t);Fs(e)?await fo(null,e.contents,n,Object.freeze([e]))===Ai&&(e.contents=null):await fo(null,e,n,Object.freeze([]))}Ba.BREAK=Sn;Ba.SKIP=uS;Ba.REMOVE=Ai;async function fo(e,t,n,i){const r=await cS(e,t,n,i);if(Rt(r)||kt(r))return fS(e,i,r),fo(e,r,n,i);if(typeof r!="symbol"){if(Ct(t)){i=Object.freeze(i.concat(t));for(let l=0;l<t.items.length;++l){const u=await fo(l,t.items[l],n,i);if(typeof u=="number")l=u-1;else{if(u===Sn)return Sn;u===Ai&&(t.items.splice(l,1),l-=1)}}}else if(kt(t)){i=Object.freeze(i.concat(t));const l=await fo("key",t.key,n,i);if(l===Sn)return Sn;l===Ai&&(t.key=null);const u=await fo("value",t.value,n,i);if(u===Sn)return Sn;u===Ai&&(t.value=null)}}return r}function lS(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 cS(e,t,n,i){if(typeof n=="function")return n(e,t,i);if(Ps(t))return n.Map?.(e,t,i);if(Is(t))return n.Seq?.(e,t,i);if(kt(t))return n.Pair?.(e,t,i);if(wt(t))return n.Scalar?.(e,t,i);if(qr(t))return n.Alias?.(e,t,i)}function fS(e,t,n){const i=t[t.length-1];if(Ct(i))i.items[e]=n;else if(kt(i))e==="key"?i.key=n:i.value=n;else if(Fs(i))i.contents=n;else{const r=qr(i)?"alias":"scalar";throw new Error(`Cannot replace node with ${r} parent`)}}const RF={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},BF=e=>e.replace(/[!,[\]{}]/g,t=>RF[t]);class ln{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},ln.defaultYaml,t),this.tags=Object.assign({},ln.defaultTags,n)}clone(){const t=new ln(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new ln(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:ln.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},ln.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:ln.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},ln.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[l,u]=i;return this.tags[l]=u,!0}case"%YAML":{if(this.yaml.explicit=!0,i.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[l]=i;if(l==="1.1"||l==="1.2")return this.yaml.version=l,!0;{const u=/^\d+\.\d+$/.test(l);return n(6,`Unsupported YAML version ${l}`,u),!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 u=t.slice(2,-1);return u==="!"||u==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),u)}const[,i,r]=t.match(/^(.*!)([^!]*)$/s);r||n(`The ${t} tag has no suffix`);const l=this.tags[i];if(l)try{return l+decodeURIComponent(r)}catch(u){return n(String(u)),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+BF(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&&Rt(t.contents)){const l={};ir(t.contents,(u,f)=>{Rt(f)&&f.tag&&(l[f.tag]=!0)}),r=Object.keys(l)}else r=[];for(const[l,u]of i)l==="!!"&&u==="tag:yaml.org,2002:"||(!t||r.some(f=>f.startsWith(u)))&&n.push(`%TAG ${l} ${u}`);return n.join(`
|
|
2
|
-
`)}}ln.defaultYaml={explicit:!1,version:"1.2"};ln.defaultTags={"!!":"tag:yaml.org,2002:"};function dS(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 hS(e){const t=new Set;return ir(e,{Value(n,i){i.anchor&&t.add(i.anchor)}}),t}function pS(e,t){for(let n=1;;++n){const i=`${e}${n}`;if(!t.has(i))return i}}function DF(e,t){const n=[],i=new Map;let r=null;return{onAnchor:l=>{n.push(l),r||(r=hS(e));const u=pS(t,r);return r.add(u),u},setAnchors:()=>{for(const l of n){const u=i.get(l);if(typeof u=="object"&&u.anchor&&(wt(u.node)||Ct(u.node)))u.node.anchor=u.anchor;else{const f=new Error("Failed to resolve repeated object (this should not happen)");throw f.source=l,f}}},sourceObjects:i}}function ho(e,t,n,i){if(i&&typeof i=="object")if(Array.isArray(i))for(let r=0,l=i.length;r<l;++r){const u=i[r],f=ho(e,i,String(r),u);f===void 0?delete i[r]:f!==u&&(i[r]=f)}else if(i instanceof Map)for(const r of Array.from(i.keys())){const l=i.get(r),u=ho(e,i,r,l);u===void 0?i.delete(r):u!==l&&i.set(r,u)}else if(i instanceof Set)for(const r of Array.from(i)){const l=ho(e,i,r,r);l===void 0?i.delete(r):l!==r&&(i.delete(r),i.add(l))}else for(const[r,l]of Object.entries(i)){const u=ho(e,i,r,l);u===void 0?delete i[r]:u!==l&&(i[r]=u)}return e.call(t,n,i)}function Xn(e,t,n){if(Array.isArray(e))return e.map((i,r)=>Xn(i,String(r),n));if(e&&typeof e.toJSON=="function"){if(!n||!jF(e))return e.toJSON(t,n);const i={aliasCount:0,count:1,res:void 0};n.anchors.set(e,i),n.onCreate=l=>{i.res=l,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 Kh{constructor(t){Object.defineProperty(this,$n,{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:l}={}){if(!Fs(t))throw new TypeError("A document argument is required");const u={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},f=Xn(this,"",u);if(typeof r=="function")for(const{count:m,res:v}of u.anchors.values())r(v,m);return typeof l=="function"?ho(l,{"":f},"",f):f}}class Da extends Kh{constructor(t){super(Vh),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return ir(t,{Node:(i,r)=>{if(r===this)return ir.BREAK;r.anchor===this.source&&(n=r)}}),n}toJSON(t,n){if(!n)return{source:this.source};const{anchors:i,doc:r,maxAliasCount:l}=n,u=this.resolve(r);if(!u){const m=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(m)}let f=i.get(u);if(f||(Xn(u,null,n),f=i.get(u)),!f||f.res===void 0){const m="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(m)}if(l>=0&&(f.count+=1,f.aliasCount===0&&(f.aliasCount=sl(r,u,i)),f.count*f.aliasCount>l)){const m="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(m)}return f.res}toString(t,n,i){const r=`*${this.source}`;if(t){if(dS(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(l)}if(t.implicitKey)return`${r} `}return r}}function sl(e,t,n){if(qr(t)){const i=t.resolve(e),r=n&&i&&n.get(i);return r?r.count*r.aliasCount:0}else if(Ct(t)){let i=0;for(const r of t.items){const l=sl(e,r,n);l>i&&(i=l)}return i}else if(kt(t)){const i=sl(e,t.key,n),r=sl(e,t.value,n);return Math.max(i,r)}return 1}const mS=e=>!e||typeof e!="function"&&typeof e!="object";class Qe extends Kh{constructor(t){super(nr),this.value=t}toJSON(t,n){return n?.keep?this.value:Xn(this.value,t,n)}toString(){return String(this.value)}}Qe.BLOCK_FOLDED="BLOCK_FOLDED";Qe.BLOCK_LITERAL="BLOCK_LITERAL";Qe.PLAIN="PLAIN";Qe.QUOTE_DOUBLE="QUOTE_DOUBLE";Qe.QUOTE_SINGLE="QUOTE_SINGLE";const xF="tag:yaml.org,2002:";function UF(e,t,n){if(t){const i=n.filter(l=>l.tag===t),r=i.find(l=>!l.format)??i[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find(i=>i.identify?.(e)&&!i.format)}function Ca(e,t,n){if(Fs(e)&&(e=e.contents),Rt(e))return e;if(kt(e)){const C=n.schema[Br].createNode?.(n.schema,null,n);return C.items.push(e),C}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:i,onAnchor:r,onTagObj:l,schema:u,sourceObjects:f}=n;let m;if(i&&e&&typeof e=="object"){if(m=f.get(e),m)return m.anchor||(m.anchor=r(e)),new Da(m.anchor);m={anchor:null,node:null},f.set(e,m)}t?.startsWith("!!")&&(t=xF+t.slice(2));let v=UF(e,t,u.tags);if(!v){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const C=new Qe(e);return m&&(m.node=C),C}v=e instanceof Map?u[Br]:Symbol.iterator in Object(e)?u[Ao]:u[Br]}l&&(l(v),delete n.onTagObj);const S=v?.createNode?v.createNode(n.schema,e,n):typeof v?.nodeClass?.from=="function"?v.nodeClass.from(n.schema,e,n):new Qe(e);return t?S.tag=t:v.default||(S.tag=v.tag),m&&(m.node=S),S}function Tl(e,t,n){let i=n;for(let r=t.length-1;r>=0;--r){const l=t[r];if(typeof l=="number"&&Number.isInteger(l)&&l>=0){const u=[];u[l]=i,i=u}else i=new Map([[l,i]])}return Ca(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 da=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done;class jl extends Kh{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=>Rt(i)||kt(i)?i.clone(t):i),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(da(t))this.add(n);else{const[i,...r]=t,l=this.get(i,!0);if(Ct(l))l.addIn(r,n);else if(l===void 0&&this.schema)this.set(i,Tl(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(Ct(r))return r.deleteIn(i);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}getIn(t,n){const[i,...r]=t,l=this.get(i,!0);return r.length===0?!n&&wt(l)?l.value:l:Ct(l)?l.getIn(r,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!kt(n))return!1;const i=n.value;return i==null||t&&wt(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 Ct(r)?r.hasIn(i):!1}setIn(t,n){const[i,...r]=t;if(r.length===0)this.set(i,n);else{const l=this.get(i,!0);if(Ct(l))l.setIn(r,n);else if(l===void 0&&this.schema)this.set(i,Tl(this.schema,r,n));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${r}`)}}}jl.maxFlowStringSingleLineLength=60;const zF=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Yi(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Mr=(e,t,n)=>e.endsWith(`
|
|
3
|
-
`)?Yi(n,t):n.includes(`
|
|
4
|
-
`)?`
|
|
5
|
-
`+Yi(n,t):(e.endsWith(" ")?"":" ")+n,yS="flow",hh="block",ol="quoted";function Rl(e,t,n="flow",{indentAtStart:i,lineWidth:r=80,minContentWidth:l=20,onFold:u,onOverflow:f}={}){if(!r||r<0)return e;const m=Math.max(1+l,1+r-t.length);if(e.length<=m)return e;const v=[],S={};let C=r-t.length;typeof i=="number"&&(i>r-Math.max(2,l)?v.push(0):C=r-i);let D,_,E=!1,T=-1,P=-1,I=-1;n===hh&&(T=wb(e,T),T!==-1&&(C=T+m));for(let H;H=e[T+=1];){if(n===ol&&H==="\\"){switch(P=T,e[T+1]){case"x":T+=3;break;case"u":T+=5;break;case"U":T+=9;break;default:T+=1}I=T}if(H===`
|
|
6
|
-
`)n===hh&&(T=wb(e,T)),C=T+m,D=void 0;else{if(H===" "&&_&&_!==" "&&_!==`
|
|
7
|
-
`&&_!==" "){const Z=e[T+1];Z&&Z!==" "&&Z!==`
|
|
8
|
-
`&&Z!==" "&&(D=T)}if(T>=C)if(D)v.push(D),C=D+m,D=void 0;else if(n===ol){for(;_===" "||_===" ";)_=H,H=e[T+=1],E=!0;const Z=T>I+1?T-2:P-1;if(S[Z])return e;v.push(Z),S[Z]=!0,C=Z+m,D=void 0}else E=!0}_=H}if(E&&f&&f(),v.length===0)return e;u&&u();let M=e.slice(0,v[0]);for(let H=0;H<v.length;++H){const Z=v[H],U=v[H+1]||e.length;Z===0?M=`
|
|
9
|
-
${t}${e.slice(0,U)}`:(n===ol&&S[Z]&&(M+=`${e[Z]}\\`),M+=`
|
|
10
|
-
${t}${e.slice(Z+1,U)}`)}return M}function wb(e,t){let n=e[t+1];for(;n===" "||n===" ";){do n=e[t+=1];while(n&&n!==`
|
|
11
|
-
`);n=e[t+1]}return t}const Bl=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),Dl=e=>/^(%|---|\.\.\.)/m.test(e);function JF(e,t,n){if(!t||t<0)return!1;const i=t-n,r=e.length;if(r<=i)return!1;for(let l=0,u=0;l<r;++l)if(e[l]===`
|
|
12
|
-
`){if(l-u>i)return!0;if(u=l+1,r-u<=i)return!1}return!0}function wa(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:i}=t,r=t.options.doubleQuotedMinMultiLineLength,l=t.indent||(Dl(e)?" ":"");let u="",f=0;for(let m=0,v=n[m];v;v=n[++m])if(v===" "&&n[m+1]==="\\"&&n[m+2]==="n"&&(u+=n.slice(f,m)+"\\ ",m+=1,f=m,v="\\"),v==="\\")switch(n[m+1]){case"u":{u+=n.slice(f,m);const S=n.substr(m+2,4);switch(S){case"0000":u+="\\0";break;case"0007":u+="\\a";break;case"000b":u+="\\v";break;case"001b":u+="\\e";break;case"0085":u+="\\N";break;case"00a0":u+="\\_";break;case"2028":u+="\\L";break;case"2029":u+="\\P";break;default:S.substr(0,2)==="00"?u+="\\x"+S.substr(2):u+=n.substr(m,6)}m+=5,f=m+1}break;case"n":if(i||n[m+2]==='"'||n.length<r)m+=1;else{for(u+=n.slice(f,m)+`
|
|
13
|
-
|
|
14
|
-
`;n[m+2]==="\\"&&n[m+3]==="n"&&n[m+4]!=='"';)u+=`
|
|
15
|
-
`,m+=2;u+=l,n[m+2]===" "&&(u+="\\"),m+=1,f=m+1}break;default:m+=1}return u=f?u+n.slice(f):n,i?u:Rl(u,l,ol,Bl(t,!1))}function ph(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
|
|
16
|
-
`)||/[ \t]\n|\n[ \t]/.test(e))return wa(e,t);const n=t.indent||(Dl(e)?" ":""),i="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
17
|
-
${n}`)+"'";return t.implicitKey?i:Rl(i,n,yS,Bl(t,!1))}function po(e,t){const{singleQuote:n}=t.options;let i;if(n===!1)i=wa;else{const r=e.includes('"'),l=e.includes("'");r&&!l?i=ph:l&&!r?i=wa:i=n?ph:wa}return i(e,t)}let mh;try{mh=new RegExp(`(^|(?<!
|
|
18
|
-
))
|
|
19
|
-
+(?!
|
|
20
|
-
|$)`,"g")}catch{mh=/\n+(?!\n|$)/g}function al({comment:e,type:t,value:n},i,r,l){const{blockQuote:u,commentString:f,lineWidth:m}=i.options;if(!u||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return po(n,i);const v=i.indent||(i.forceBlockIndent||Dl(n)?" ":""),S=u==="literal"?!0:u==="folded"||t===Qe.BLOCK_FOLDED?!1:t===Qe.BLOCK_LITERAL?!0:!JF(n,m,v.length);if(!n)return S?`|
|
|
21
|
-
`:`>
|
|
22
|
-
`;let C,D;for(D=n.length;D>0;--D){const B=n[D-1];if(B!==`
|
|
23
|
-
`&&B!==" "&&B!==" ")break}let _=n.substring(D);const E=_.indexOf(`
|
|
24
|
-
`);E===-1?C="-":n===_||E!==_.length-1?(C="+",l&&l()):C="",_&&(n=n.slice(0,-_.length),_[_.length-1]===`
|
|
25
|
-
`&&(_=_.slice(0,-1)),_=_.replace(mh,`$&${v}`));let T=!1,P,I=-1;for(P=0;P<n.length;++P){const B=n[P];if(B===" ")T=!0;else if(B===`
|
|
26
|
-
`)I=P;else break}let M=n.substring(0,I<P?I+1:P);M&&(n=n.substring(M.length),M=M.replace(/\n+/g,`$&${v}`));let Z=(S?"|":">")+(T?v?"2":"1":"")+C;if(e&&(Z+=" "+f(e.replace(/ ?[\r\n]+/g," ")),r&&r()),S)return n=n.replace(/\n+/g,`$&${v}`),`${Z}
|
|
27
|
-
${v}${M}${n}${_}`;n=n.replace(/\n+/g,`
|
|
28
|
-
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${v}`);const U=Rl(`${M}${n}${_}`,v,hh,Bl(i,!0));return`${Z}
|
|
29
|
-
${v}${U}`}function WF(e,t,n,i){const{type:r,value:l}=e,{actualString:u,implicitKey:f,indent:m,indentStep:v,inFlow:S}=t;if(f&&l.includes(`
|
|
30
|
-
`)||S&&/[[\]{},]/.test(l))return po(l,t);if(!l||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(l))return f||S||!l.includes(`
|
|
31
|
-
`)?po(l,t):al(e,t,n,i);if(!f&&!S&&r!==Qe.PLAIN&&l.includes(`
|
|
32
|
-
`))return al(e,t,n,i);if(Dl(l)){if(m==="")return t.forceBlockIndent=!0,al(e,t,n,i);if(f&&m===v)return po(l,t)}const C=l.replace(/\n+/g,`$&
|
|
33
|
-
${m}`);if(u){const D=T=>T.default&&T.tag!=="tag:yaml.org,2002:str"&&T.test?.test(C),{compat:_,tags:E}=t.doc.schema;if(E.some(D)||_?.some(D))return po(l,t)}return f?C:Rl(C,m,yS,Bl(t,!1))}function xa(e,t,n,i){const{implicitKey:r,inFlow:l}=t,u=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:f}=e;f!==Qe.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(u.value)&&(f=Qe.QUOTE_DOUBLE);const m=S=>{switch(S){case Qe.BLOCK_FOLDED:case Qe.BLOCK_LITERAL:return r||l?po(u.value,t):al(u,t,n,i);case Qe.QUOTE_DOUBLE:return wa(u.value,t);case Qe.QUOTE_SINGLE:return ph(u.value,t);case Qe.PLAIN:return WF(u,t,n,i);default:return null}};let v=m(f);if(v===null){const{defaultKeyType:S,defaultStringType:C}=t.options,D=r&&S||C;if(v=m(D),v===null)throw new Error(`Unsupported default string type ${D}`)}return v}function gS(e,t){const n=Object.assign({blockQuote:!0,commentString:zF,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 GF(e,t){if(t.tag){const r=e.filter(l=>l.tag===t.tag);if(r.length>0)return r.find(l=>l.format===t.format)??r[0]}let n,i;if(wt(t)){i=t.value;const r=e.filter(l=>l.identify?.(i));n=r.find(l=>l.format===t.format)??r.find(l=>!l.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 qF(e,t,{anchors:n,doc:i}){if(!i.directives)return"";const r=[],l=(wt(e)||Ct(e))&&e.anchor;l&&dS(l)&&(n.add(l),r.push(`&${l}`));const u=e.tag?e.tag:t.default?null:t.tag;return u&&r.push(i.directives.tagString(u)),r.join(" ")}function Lo(e,t,n,i){if(kt(e))return e.toString(t,n,i);if(qr(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 l=Rt(e)?e:t.doc.createNode(e,{onTagObj:m=>r=m});r||(r=GF(t.doc.schema.tags,l));const u=qF(l,r,t);u.length>0&&(t.indentAtStart=(t.indentAtStart??0)+u.length+1);const f=typeof r.stringify=="function"?r.stringify(l,t,n,i):wt(l)?xa(l,t,n,i):l.toString(t,n,i);return u?wt(l)||f[0]==="{"||f[0]==="["?`${u} ${f}`:`${u}
|
|
34
|
-
${t.indent}${f}`:f}function HF({key:e,value:t},n,i,r){const{allNullValues:l,doc:u,indent:f,indentStep:m,options:{commentString:v,indentSeq:S,simpleKeys:C}}=n;let D=Rt(e)&&e.comment||null;if(C){if(D)throw new Error("With simple keys, key nodes cannot have comments");if(Ct(e)){const F="With simple keys, collection cannot be used as a key value";throw new Error(F)}}let _=!C&&(!e||D&&t==null&&!n.inFlow||Ct(e)||(wt(e)?e.type===Qe.BLOCK_FOLDED||e.type===Qe.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!_&&(C||!l),indent:f+m});let E=!1,T=!1,P=Lo(e,n,()=>E=!0,()=>T=!0);if(!_&&!n.inFlow&&P.length>1024){if(C)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");_=!0}if(n.inFlow){if(l||t==null)return E&&i&&i(),P===""?"?":_?`? ${P}`:P}else if(l&&!C||t==null&&_)return P=`? ${P}`,D&&!E?P+=Mr(P,n.indent,v(D)):T&&r&&r(),P;E&&(D=null),_?(D&&(P+=Mr(P,n.indent,v(D))),P=`? ${P}
|
|
35
|
-
${f}:`):(P=`${P}:`,D&&(P+=Mr(P,n.indent,v(D))));let I,M,H;Rt(t)?(I=!!t.spaceBefore,M=t.commentBefore,H=t.comment):(I=!1,M=null,H=null,t&&typeof t=="object"&&(t=u.createNode(t))),n.implicitKey=!1,!_&&!D&&wt(t)&&(n.indentAtStart=P.length+1),T=!1,!S&&m.length>=2&&!n.inFlow&&!_&&Is(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let Z=!1;const U=Lo(t,n,()=>Z=!0,()=>T=!0);let B=" ";if(D||I||M){if(B=I?`
|
|
36
|
-
`:"",M){const F=v(M);B+=`
|
|
37
|
-
${Yi(F,n.indent)}`}U===""&&!n.inFlow?B===`
|
|
38
|
-
`&&(B=`
|
|
39
|
-
|
|
40
|
-
`):B+=`
|
|
41
|
-
${n.indent}`}else if(!_&&Ct(t)){const F=U[0],y=U.indexOf(`
|
|
42
|
-
`),w=y!==-1,L=n.inFlow??t.flow??t.items.length===0;if(w||!L){let N=!1;if(w&&(F==="&"||F==="!")){let p=U.indexOf(" ");F==="&"&&p!==-1&&p<y&&U[p+1]==="!"&&(p=U.indexOf(" ",p+1)),(p===-1||y<p)&&(N=!0)}N||(B=`
|
|
43
|
-
${n.indent}`)}}else(U===""||U[0]===`
|
|
44
|
-
`)&&(B="");return P+=B+U,n.inFlow?Z&&i&&i():H&&!Z?P+=Mr(P,n.indent,v(H)):T&&r&&r(),P}function bS(e,t){(e==="debug"||e==="warn")&&(typeof process<"u"&&process.emitWarning?process.emitWarning(t):console.warn(t))}const Lb="<<";function TS(e,t,{key:n,value:i}){if(e?.doc.schema.merge&&VF(n))if(i=qr(i)?i.resolve(e.doc):i,Is(i))for(const r of i.items)dd(e,t,r);else if(Array.isArray(i))for(const r of i)dd(e,t,r);else dd(e,t,i);else{const r=Xn(n,"",e);if(t instanceof Map)t.set(r,Xn(i,r,e));else if(t instanceof Set)t.add(r);else{const l=KF(n,r,e),u=Xn(i,l,e);l in t?Object.defineProperty(t,l,{value:u,writable:!0,enumerable:!0,configurable:!0}):t[l]=u}}return t}const VF=e=>e===Lb||wt(e)&&e.value===Lb&&(!e.type||e.type===Qe.PLAIN);function dd(e,t,n){const i=e&&qr(n)?n.resolve(e.doc):n;if(!Ps(i))throw new Error("Merge sources must be maps or map aliases");const r=i.toJSON(null,e,Map);for(const[l,u]of r)t instanceof Map?t.has(l)||t.set(l,u):t instanceof Set?t.add(l):Object.prototype.hasOwnProperty.call(t,l)||Object.defineProperty(t,l,{value:u,writable:!0,enumerable:!0,configurable:!0});return t}function KF(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(Rt(e)&&n?.doc){const i=gS(n.doc,{});i.anchors=new Set;for(const l of n.anchors.keys())i.anchors.add(l.anchor);i.inFlow=!0,i.inStringifyKey=!0;const r=e.toString(i);if(!n.mapKeyWarned){let l=JSON.stringify(r);l.length>40&&(l=l.substring(0,36)+'..."'),bS(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${l}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}function Zh(e,t,n){const i=Ca(e,void 0,n),r=Ca(t,void 0,n);return new en(i,r)}class en{constructor(t,n=null){Object.defineProperty(this,$n,{value:aS}),this.key=t,this.value=n}clone(t){let{key:n,value:i}=this;return Rt(n)&&(n=n.clone(t)),Rt(i)&&(i=i.clone(t)),new en(n,i)}toJSON(t,n){const i=n?.mapAsMap?new Map:{};return TS(n,i,this)}toString(t,n,i){return t?.doc?HF(this,t,n,i):JSON.stringify(this)}}function SS(e,t,n){return(t.inFlow??e.flow?QF:ZF)(e,t,n)}function ZF({comment:e,items:t},n,{blockItemPrefix:i,flowChars:r,itemIndent:l,onChompKeep:u,onComment:f}){const{indent:m,options:{commentString:v}}=n,S=Object.assign({},n,{indent:l,type:null});let C=!1;const D=[];for(let E=0;E<t.length;++E){const T=t[E];let P=null;if(Rt(T))!C&&T.spaceBefore&&D.push(""),Sl(n,D,T.commentBefore,C),T.comment&&(P=T.comment);else if(kt(T)){const M=Rt(T.key)?T.key:null;M&&(!C&&M.spaceBefore&&D.push(""),Sl(n,D,M.commentBefore,C))}C=!1;let I=Lo(T,S,()=>P=null,()=>C=!0);P&&(I+=Mr(I,l,v(P))),C&&P&&(C=!1),D.push(i+I)}let _;if(D.length===0)_=r.start+r.end;else{_=D[0];for(let E=1;E<D.length;++E){const T=D[E];_+=T?`
|
|
45
|
-
${m}${T}`:`
|
|
46
|
-
`}}return e?(_+=`
|
|
47
|
-
`+Yi(v(e),m),f&&f()):C&&u&&u(),_}function QF({comment:e,items:t},n,{flowChars:i,itemIndent:r,onComment:l}){const{indent:u,indentStep:f,flowCollectionPadding:m,options:{commentString:v}}=n;r+=f;const S=Object.assign({},n,{indent:r,inFlow:!0,type:null});let C=!1,D=0;const _=[];for(let I=0;I<t.length;++I){const M=t[I];let H=null;if(Rt(M))M.spaceBefore&&_.push(""),Sl(n,_,M.commentBefore,!1),M.comment&&(H=M.comment);else if(kt(M)){const U=Rt(M.key)?M.key:null;U&&(U.spaceBefore&&_.push(""),Sl(n,_,U.commentBefore,!1),U.comment&&(C=!0));const B=Rt(M.value)?M.value:null;B?(B.comment&&(H=B.comment),B.commentBefore&&(C=!0)):M.value==null&&U?.comment&&(H=U.comment)}H&&(C=!0);let Z=Lo(M,S,()=>H=null);I<t.length-1&&(Z+=","),H&&(Z+=Mr(Z,r,v(H))),!C&&(_.length>D||Z.includes(`
|
|
48
|
-
`))&&(C=!0),_.push(Z),D=_.length}let E;const{start:T,end:P}=i;if(_.length===0)E=T+P;else if(C||(C=_.reduce((M,H)=>M+H.length+2,2)>jl.maxFlowStringSingleLineLength),C){E=T;for(const I of _)E+=I?`
|
|
49
|
-
${f}${u}${I}`:`
|
|
50
|
-
`;E+=`
|
|
51
|
-
${u}${P}`}else E=`${T}${m}${_.join(" ")}${m}${P}`;return e&&(E+=Mr(E,u,v(e)),l&&l()),E}function Sl({indent:e,options:{commentString:t}},n,i,r){if(i&&r&&(i=i.replace(/^\n+/,"")),i){const l=Yi(t(i),e);n.push(l.trimStart())}}function ds(e,t){const n=wt(t)?t.value:t;for(const i of e)if(kt(i)&&(i.key===t||i.key===n||wt(i.key)&&i.key.value===n))return i}class vn extends jl{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Br,t),this.items=[]}static from(t,n,i){const{keepUndefined:r,replacer:l}=i,u=new this(t),f=(m,v)=>{if(typeof l=="function")v=l.call(n,m,v);else if(Array.isArray(l)&&!l.includes(m))return;(v!==void 0||r)&&u.items.push(Zh(m,v,i))};if(n instanceof Map)for(const[m,v]of n)f(m,v);else if(n&&typeof n=="object")for(const m of Object.keys(n))f(m,n[m]);return typeof t.sortMapEntries=="function"&&u.items.sort(t.sortMapEntries),u}add(t,n){let i;kt(t)?i=t:!t||typeof t!="object"||!("key"in t)?i=new en(t,t?.value):i=new en(t.key,t.value);const r=ds(this.items,i.key),l=this.schema?.sortMapEntries;if(r){if(!n)throw new Error(`Key ${i.key} already set`);wt(r.value)&&mS(i.value)?r.value.value=i.value:r.value=i.value}else if(l){const u=this.items.findIndex(f=>l(i,f)<0);u===-1?this.items.push(i):this.items.splice(u,0,i)}else this.items.push(i)}delete(t){const n=ds(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const r=ds(this.items,t)?.value;return(!n&&wt(r)?r.value:r)??void 0}has(t){return!!ds(this.items,t)}set(t,n){this.add(new en(t,n),!0)}toJSON(t,n,i){const r=i?new i:n?.mapAsMap?new Map:{};n?.onCreate&&n.onCreate(r);for(const l of this.items)TS(n,r,l);return r}toString(t,n,i){if(!t)return JSON.stringify(this);for(const r of this.items)if(!kt(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})),SS(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:i,onComment:n})}}const Fo={collection:"map",default:!0,nodeClass:vn,tag:"tag:yaml.org,2002:map",resolve(e,t){return Ps(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>vn.from(e,t,n)};class rr extends jl{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Ao,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=Hu(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const i=Hu(t);if(typeof i!="number")return;const r=this.items[i];return!n&&wt(r)?r.value:r}has(t){const n=Hu(t);return typeof n=="number"&&n<this.items.length}set(t,n){const i=Hu(t);if(typeof i!="number")throw new Error(`Expected a valid index, not ${t}.`);const r=this.items[i];wt(r)&&mS(n)?r.value=n:this.items[i]=n}toJSON(t,n){const i=[];n?.onCreate&&n.onCreate(i);let r=0;for(const l of this.items)i.push(Xn(l,String(r++),n));return i}toString(t,n,i){return t?SS(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,l=new this(t);if(n&&Symbol.iterator in Object(n)){let u=0;for(let f of n){if(typeof r=="function"){const m=n instanceof Set?f:String(u++);f=r.call(n,m,f)}l.items.push(Ca(f,void 0,i))}}return l}}function Hu(e){let t=wt(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}const Po={collection:"seq",default:!0,nodeClass:rr,tag:"tag:yaml.org,2002:seq",resolve(e,t){return Is(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>rr.from(e,t,n)},xl={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),xa(e,t,n,i)}},Ul={identify:e=>e==null,createNode:()=>new Qe(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Qe(null),stringify:({source:e},t)=>typeof e=="string"&&Ul.test.test(e)?e:t.options.nullStr},Qh={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Qe(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&Qh.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 di({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 l=JSON.stringify(i);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(l)){let u=l.indexOf(".");u<0&&(u=l.length,l+=".");let f=t-(l.length-u-1);for(;f-- >0;)l+="0"}return l}const vS={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:di},wS={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():di(e)}},LS={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 Qe(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:di},zl=e=>typeof e=="bigint"||Number.isInteger(e),Xh=(e,t,n,{intAsBigInt:i})=>i?BigInt(e):parseInt(e.substring(t),n);function _S(e,t,n){const{value:i}=e;return zl(i)&&i>=0?n+i.toString(t):di(e)}const NS={identify:e=>zl(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Xh(e,2,8,n),stringify:e=>_S(e,8,"0o")},kS={identify:zl,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Xh(e,0,10,n),stringify:di},OS={identify:e=>zl(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Xh(e,2,16,n),stringify:e=>_S(e,16,"0x")},XF=[Fo,Po,xl,Ul,Qh,NS,kS,OS,vS,wS,LS];function _b(e){return typeof e=="bigint"||Number.isInteger(e)}const Vu=({value:e})=>JSON.stringify(e),YF=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Vu},{identify:e=>e==null,createNode:()=>new Qe(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Vu},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:Vu},{identify:_b,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})=>_b(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:Vu}],$F={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},eP=[Fo,Po].concat(YF,$F),Yh={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,l){const u=n;let f;if(typeof Buffer=="function")f=u instanceof Buffer?u.toString("base64"):Buffer.from(u.buffer).toString("base64");else if(typeof btoa=="function"){let m="";for(let v=0;v<u.length;++v)m+=String.fromCharCode(u[v]);f=btoa(m)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t||(t=Qe.BLOCK_LITERAL),t!==Qe.QUOTE_DOUBLE){const m=Math.max(i.options.lineWidth-i.indent.length,i.options.minContentWidth),v=Math.ceil(f.length/m),S=new Array(v);for(let C=0,D=0;C<v;++C,D+=m)S[C]=f.substr(D,m);f=S.join(t===Qe.BLOCK_LITERAL?`
|
|
52
|
-
`:" ")}return xa({comment:e,type:t,value:f},i,r,l)}};function ES(e,t){if(Is(e))for(let n=0;n<e.items.length;++n){let i=e.items[n];if(!kt(i)){if(Ps(i)){i.items.length>1&&t("Each pair must have its own sequence indicator");const r=i.items[0]||new en(new Qe(null));if(i.commentBefore&&(r.key.commentBefore=r.key.commentBefore?`${i.commentBefore}
|
|
53
|
-
${r.key.commentBefore}`:i.commentBefore),i.comment){const l=r.value??r.key;l.comment=l.comment?`${i.comment}
|
|
54
|
-
${l.comment}`:i.comment}i=r}e.items[n]=kt(i)?i:new en(i)}}else t("Expected a sequence for this tag");return e}function CS(e,t,n){const{replacer:i}=n,r=new rr(e);r.tag="tag:yaml.org,2002:pairs";let l=0;if(t&&Symbol.iterator in Object(t))for(let u of t){typeof i=="function"&&(u=i.call(t,String(l++),u));let f,m;if(Array.isArray(u))if(u.length===2)f=u[0],m=u[1];else throw new TypeError(`Expected [key, value] tuple: ${u}`);else if(u&&u instanceof Object){const v=Object.keys(u);if(v.length===1)f=v[0],m=u[f];else throw new TypeError(`Expected tuple with one key, not ${v.length} keys`)}else f=u;r.items.push(Zh(f,m,n))}return r}const $h={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:ES,createNode:CS};class To extends rr{constructor(){super(),this.add=vn.prototype.add.bind(this),this.delete=vn.prototype.delete.bind(this),this.get=vn.prototype.get.bind(this),this.has=vn.prototype.has.bind(this),this.set=vn.prototype.set.bind(this),this.tag=To.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 l,u;if(kt(r)?(l=Xn(r.key,"",n),u=Xn(r.value,l,n)):l=Xn(r,"",n),i.has(l))throw new Error("Ordered maps must not include duplicate keys");i.set(l,u)}return i}static from(t,n,i){const r=CS(t,n,i),l=new this;return l.items=r.items,l}}To.tag="tag:yaml.org,2002:omap";const ep={collection:"seq",identify:e=>e instanceof Map,nodeClass:To,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=ES(e,t),i=[];for(const{key:r}of n.items)wt(r)&&(i.includes(r.value)?t(`Ordered maps must not include duplicate keys: ${r.value}`):i.push(r.value));return Object.assign(new To,n)},createNode:(e,t,n)=>To.from(e,t,n)};function AS({value:e,source:t},n){return t&&(e?FS:PS).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const FS={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 Qe(!0),stringify:AS},PS={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 Qe(!1),stringify:AS},tP={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:di},nP={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():di(e)}},iP={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 Qe(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:di},Ua=e=>typeof e=="bigint"||Number.isInteger(e);function Jl(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 u=BigInt(e);return r==="-"?BigInt(-1)*u:u}const l=parseInt(e,n);return r==="-"?-1*l:l}function tp(e,t,n){const{value:i}=e;if(Ua(i)){const r=i.toString(t);return i<0?"-"+n+r.substr(1):n+r}return di(e)}const rP={identify:Ua,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>Jl(e,2,2,n),stringify:e=>tp(e,2,"0b")},sP={identify:Ua,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>Jl(e,1,8,n),stringify:e=>tp(e,8,"0")},oP={identify:Ua,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>Jl(e,0,10,n),stringify:di},aP={identify:Ua,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>Jl(e,2,16,n),stringify:e=>tp(e,16,"0x")};class So extends vn{constructor(t){super(t),this.tag=So.tag}add(t){let n;kt(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new en(t.key,null):n=new en(t,null),ds(this.items,n.key)||this.items.push(n)}get(t,n){const i=ds(this.items,t);return!n&&kt(i)?wt(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=ds(this.items,t);i&&!n?this.items.splice(this.items.indexOf(i),1):!i&&n&&this.items.push(new en(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,l=new this(t);if(n&&Symbol.iterator in Object(n))for(let u of n)typeof r=="function"&&(u=r.call(n,u,u)),l.items.push(Zh(u,null,i));return l}}So.tag="tag:yaml.org,2002:set";const np={collection:"map",identify:e=>e instanceof Set,nodeClass:So,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>So.from(e,t,n),resolve(e,t){if(Ps(e)){if(e.hasAllNullValues(!0))return Object.assign(new So,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function ip(e,t){const n=e[0],i=n==="-"||n==="+"?e.substring(1):e,r=u=>t?BigInt(u):Number(u),l=i.replace(/_/g,"").split(":").reduce((u,f)=>u*r(60)+r(f),r(0));return n==="-"?r(-1)*l:l}function IS(e){let{value:t}=e,n=u=>u;if(typeof t=="bigint")n=u=>BigInt(u);else if(isNaN(t)||!isFinite(t))return di(e);let i="";t<0&&(i="-",t*=n(-1));const r=n(60),l=[t%r];return t<60?l.unshift(0):(t=(t-l[0])/r,l.unshift(t%r),t>=60&&(t=(t-l[0])/r,l.unshift(t))),i+l.map(u=>String(u).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const MS={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})=>ip(e,n),stringify:IS},jS={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=>ip(e,!1),stringify:IS},Wl={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(Wl.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,i,r,l,u,f]=t.map(Number),m=t[7]?Number((t[7]+"00").substr(1,3)):0;let v=Date.UTC(n,i-1,r,l||0,u||0,f||0,m);const S=t[8];if(S&&S!=="Z"){let C=ip(S,!1);Math.abs(C)<30&&(C*=60),v-=6e4*C}return new Date(v)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},Nb=[Fo,Po,xl,Ul,FS,PS,rP,sP,oP,aP,tP,nP,iP,Yh,ep,$h,np,MS,jS,Wl],kb=new Map([["core",XF],["failsafe",[Fo,Po,xl]],["json",eP],["yaml11",Nb],["yaml-1.1",Nb]]),Ob={binary:Yh,bool:Qh,float:LS,floatExp:wS,floatNaN:vS,floatTime:jS,int:kS,intHex:OS,intOct:NS,intTime:MS,map:Fo,null:Ul,omap:ep,pairs:$h,seq:Po,set:np,timestamp:Wl},uP={"tag:yaml.org,2002:binary":Yh,"tag:yaml.org,2002:omap":ep,"tag:yaml.org,2002:pairs":$h,"tag:yaml.org,2002:set":np,"tag:yaml.org,2002:timestamp":Wl};function hd(e,t){let n=kb.get(t);if(!n)if(Array.isArray(e))n=[];else{const i=Array.from(kb.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=Ob[i];if(r)return r;const l=Object.keys(Ob).map(u=>JSON.stringify(u)).join(", ");throw new Error(`Unknown custom tag "${i}"; use one of ${l}`)})}const lP=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;class za{constructor({compat:t,customTags:n,merge:i,resolveKnownTags:r,schema:l,sortMapEntries:u,toStringDefaults:f}){this.compat=Array.isArray(t)?hd(t,"compat"):t?hd(null,t):null,this.merge=!!i,this.name=typeof l=="string"&&l||"core",this.knownTags=r?uP:{},this.tags=hd(n,this.name),this.toStringOptions=f??null,Object.defineProperty(this,Br,{value:Fo}),Object.defineProperty(this,nr,{value:xl}),Object.defineProperty(this,Ao,{value:Po}),this.sortMapEntries=typeof u=="function"?u:u===!0?lP:null}clone(){const t=Object.create(za.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function cP(e,t){const n=[];let i=t.directives===!0;if(t.directives!==!1&&e.directives){const m=e.directives.toString(e);m?(n.push(m),i=!0):e.directives.docStart&&(i=!0)}i&&n.push("---");const r=gS(e,t),{commentString:l}=r.options;if(e.commentBefore){n.length!==1&&n.unshift("");const m=l(e.commentBefore);n.unshift(Yi(m,""))}let u=!1,f=null;if(e.contents){if(Rt(e.contents)){if(e.contents.spaceBefore&&i&&n.push(""),e.contents.commentBefore){const S=l(e.contents.commentBefore);n.push(Yi(S,""))}r.forceBlockIndent=!!e.comment,f=e.contents.comment}const m=f?void 0:()=>u=!0;let v=Lo(e.contents,r,()=>f=null,m);f&&(v+=Mr(v,"",l(f))),(v[0]==="|"||v[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${v}`:n.push(v)}else n.push(Lo(e.contents,r));if(e.directives?.docEnd)if(e.comment){const m=l(e.comment);m.includes(`
|
|
55
|
-
`)?(n.push("..."),n.push(Yi(m,""))):n.push(`... ${m}`)}else n.push("...");else{let m=e.comment;m&&u&&(m=m.replace(/^\n+/,"")),m&&((!u||f)&&n[n.length-1]!==""&&n.push(""),n.push(Yi(l(m),"")))}return n.join(`
|
|
56
|
-
`)+`
|
|
57
|
-
`}class Ms{constructor(t,n,i){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,$n,{value:dh});let r=null;typeof n=="function"||Array.isArray(n)?r=n:i===void 0&&n&&(i=n,n=void 0);const l=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},i);this.options=l;let{version:u}=l;i?._directives?(this.directives=i._directives.atDocument(),this.directives.yaml.explicit&&(u=this.directives.yaml.version)):this.directives=new ln({version:u}),this.setSchema(u,i),this.contents=t===void 0?null:this.createNode(t,r,i)}clone(){const t=Object.create(Ms.prototype,{[$n]:{value:dh}});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=Rt(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){io(this.contents)&&this.contents.add(t)}addIn(t,n){io(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const i=hS(this);t.anchor=!n||i.has(n)?pS(n||"a",i):n}return new Da(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 P=M=>typeof M=="number"||M instanceof String||M instanceof Number,I=n.filter(P).map(String);I.length>0&&(n=n.concat(I)),r=n}else i===void 0&&n&&(i=n,n=void 0);const{aliasDuplicateObjects:l,anchorPrefix:u,flow:f,keepUndefined:m,onTagObj:v,tag:S}=i??{},{onAnchor:C,setAnchors:D,sourceObjects:_}=DF(this,u||"a"),E={aliasDuplicateObjects:l??!0,keepUndefined:m??!1,onAnchor:C,onTagObj:v,replacer:r,schema:this.schema,sourceObjects:_},T=Ca(t,S,E);return f&&Ct(T)&&(T.flow=!0),D(),T}createPair(t,n,i={}){const r=this.createNode(t,null,i),l=this.createNode(n,null,i);return new en(r,l)}delete(t){return io(this.contents)?this.contents.delete(t):!1}deleteIn(t){return da(t)?this.contents==null?!1:(this.contents=null,!0):io(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return Ct(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return da(t)?!n&&wt(this.contents)?this.contents.value:this.contents:Ct(this.contents)?this.contents.getIn(t,n):void 0}has(t){return Ct(this.contents)?this.contents.has(t):!1}hasIn(t){return da(t)?this.contents!==void 0:Ct(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=Tl(this.schema,[t],n):io(this.contents)&&this.contents.set(t,n)}setIn(t,n){da(t)?this.contents=n:this.contents==null?this.contents=Tl(this.schema,Array.from(t),n):io(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 ln({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 ln({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 za(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:l,reviver:u}={}){const f={anchors:new Map,doc:this,keep:!t,mapAsMap:i===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},m=Xn(this.contents,n??"",f);if(typeof l=="function")for(const{count:v,res:S}of f.anchors.values())l(S,v);return typeof u=="function"?ho(u,{"":m},"",m):m}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 cP(this,t)}}function io(e){if(Ct(e))return!0;throw new Error("Expected a YAML collection as document contents")}class Gl extends Error{constructor(t,n,i,r){super(),this.name=t,this.code=i,this.message=r,this.pos=n}}class jr extends Gl{constructor(t,n,i){super("YAMLParseError",t,n,i)}}class rp extends Gl{constructor(t,n,i){super("YAMLWarning",t,n,i)}}const vl=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(f=>t.linePos(f));const{line:i,col:r}=n.linePos[0];n.message+=` at line ${i}, column ${r}`;let l=r-1,u=e.substring(t.lineStarts[i-1],t.lineStarts[i]).replace(/[\n\r]+$/,"");if(l>=60&&u.length>80){const f=Math.min(l-39,u.length-79);u="…"+u.substring(f),l-=f-1}if(u.length>80&&(u=u.substring(0,79)+"…"),i>1&&/^ *$/.test(u.substring(0,l))){let f=e.substring(t.lineStarts[i-2],t.lineStarts[i-1]);f.length>80&&(f=f.substring(0,79)+`…
|
|
58
|
-
`),u=f+u}if(/[^ ]/.test(u)){let f=1;const m=n.linePos[1];m&&m.line===i&&m.col>r&&(f=Math.max(1,Math.min(m.col-r,80-l)));const v=" ".repeat(l)+"^".repeat(f);n.message+=`:
|
|
59
|
-
|
|
60
|
-
${u}
|
|
61
|
-
${v}
|
|
62
|
-
`}};function _o(e,{flow:t,indicator:n,next:i,offset:r,onError:l,startOnNewline:u}){let f=!1,m=u,v=u,S="",C="",D=!1,_=!1,E=!1,T=null,P=null,I=null,M=null,H=null;for(const B of e)switch(E&&(B.type!=="space"&&B.type!=="newline"&&B.type!=="comma"&&l(B.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),E=!1),B.type){case"space":!t&&m&&n!=="doc-start"&&B.source[0]===" "&&l(B,"TAB_AS_INDENT","Tabs are not allowed as indentation"),v=!0;break;case"comment":{v||l(B,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const F=B.source.substring(1)||" ";S?S+=C+F:S=F,C="",m=!1;break}case"newline":m?S?S+=B.source:f=!0:C+=B.source,m=!0,D=!0,(T||P)&&(_=!0),v=!0;break;case"anchor":T&&l(B,"MULTIPLE_ANCHORS","A node can have at most one anchor"),B.source.endsWith(":")&&l(B.offset+B.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),T=B,H===null&&(H=B.offset),m=!1,v=!1,E=!0;break;case"tag":{P&&l(B,"MULTIPLE_TAGS","A node can have at most one tag"),P=B,H===null&&(H=B.offset),m=!1,v=!1,E=!0;break}case n:(T||P)&&l(B,"BAD_PROP_ORDER",`Anchors and tags must be after the ${B.source} indicator`),M&&l(B,"UNEXPECTED_TOKEN",`Unexpected ${B.source} in ${t??"collection"}`),M=B,m=!1,v=!1;break;case"comma":if(t){I&&l(B,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),I=B,m=!1,v=!1;break}default:l(B,"UNEXPECTED_TOKEN",`Unexpected ${B.type} token`),m=!1,v=!1}const Z=e[e.length-1],U=Z?Z.offset+Z.source.length:r;return E&&i&&i.type!=="space"&&i.type!=="newline"&&i.type!=="comma"&&(i.type!=="scalar"||i.source!=="")&&l(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:I,found:M,spaceBefore:f,comment:S,hasNewline:D,hasNewlineAfterProp:_,anchor:T,tag:P,end:U,start:H??U}}function Aa(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(Aa(t.key)||Aa(t.value))return!0}return!1;default:return!0}}function yh(e,t,n){if(t?.type==="flow-collection"){const i=t.end[0];i.indent===e&&(i.source==="]"||i.source==="}")&&Aa(t)&&n(i,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function RS(e,t,n){const{uniqueKeys:i}=e.options;if(i===!1)return!1;const r=typeof i=="function"?i:(l,u)=>l===u||wt(l)&&wt(u)&&l.value===u.value&&!(l.value==="<<"&&e.schema.merge);return t.some(l=>r(l.key,n))}const Eb="All mapping items must start at the same column";function fP({composeNode:e,composeEmptyNode:t},n,i,r,l){const u=l?.nodeClass??vn,f=new u(n.schema);n.atRoot&&(n.atRoot=!1);let m=i.offset,v=null;for(const S of i.items){const{start:C,key:D,sep:_,value:E}=S,T=_o(C,{indicator:"explicit-key-ind",next:D??_?.[0],offset:m,onError:r,startOnNewline:!0}),P=!T.found;if(P){if(D&&(D.type==="block-seq"?r(m,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in D&&D.indent!==i.indent&&r(m,"BAD_INDENT",Eb)),!T.anchor&&!T.tag&&!_){v=T.end,T.comment&&(f.comment?f.comment+=`
|
|
64
|
-
`+T.comment:f.comment=T.comment);continue}(T.hasNewlineAfterProp||Aa(D))&&r(D??C[C.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else T.found?.indent!==i.indent&&r(m,"BAD_INDENT",Eb);const I=T.end,M=D?e(n,D,T,r):t(n,I,C,null,T,r);n.schema.compat&&yh(i.indent,D,r),RS(n,f.items,M)&&r(I,"DUPLICATE_KEY","Map keys must be unique");const H=_o(_??[],{indicator:"map-value-ind",next:E,offset:M.range[2],onError:r,startOnNewline:!D||D.type==="block-scalar"});if(m=H.end,H.found){P&&(E?.type==="block-map"&&!H.hasNewline&&r(m,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&T.start<H.found.offset-1024&&r(M.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const Z=E?e(n,E,H,r):t(n,m,_,null,H,r);n.schema.compat&&yh(i.indent,E,r),m=Z.range[2];const U=new en(M,Z);n.options.keepSourceTokens&&(U.srcToken=S),f.items.push(U)}else{P&&r(M.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),H.comment&&(M.comment?M.comment+=`
|
|
65
|
-
`+H.comment:M.comment=H.comment);const Z=new en(M);n.options.keepSourceTokens&&(Z.srcToken=S),f.items.push(Z)}}return v&&v<m&&r(v,"IMPOSSIBLE","Map comment with trailing content"),f.range=[i.offset,m,v??m],f}function dP({composeNode:e,composeEmptyNode:t},n,i,r,l){const u=l?.nodeClass??rr,f=new u(n.schema);n.atRoot&&(n.atRoot=!1);let m=i.offset,v=null;for(const{start:S,value:C}of i.items){const D=_o(S,{indicator:"seq-item-ind",next:C,offset:m,onError:r,startOnNewline:!0});if(!D.found)if(D.anchor||D.tag||C)C&&C.type==="block-seq"?r(D.end,"BAD_INDENT","All sequence items must start at the same column"):r(m,"MISSING_CHAR","Sequence item without - indicator");else{v=D.end,D.comment&&(f.comment=D.comment);continue}const _=C?e(n,C,D,r):t(n,D.end,S,null,D,r);n.schema.compat&&yh(i.indent,C,r),m=_.range[2],f.items.push(_)}return f.range=[i.offset,m,v??m],f}function Ja(e,t,n,i){let r="";if(e){let l=!1,u="";for(const f of e){const{source:m,type:v}=f;switch(v){case"space":l=!0;break;case"comment":{n&&!l&&i(f,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const S=m.substring(1)||" ";r?r+=u+S:r=S,u="";break}case"newline":r&&(u+=m),l=!0;break;default:i(f,"UNEXPECTED_TOKEN",`Unexpected ${v} at node end`)}t+=m.length}}return{comment:r,offset:t}}const pd="Block collections are not allowed within flow collections",md=e=>e&&(e.type==="block-map"||e.type==="block-seq");function hP({composeNode:e,composeEmptyNode:t},n,i,r,l){const u=i.start.source==="{",f=u?"flow map":"flow sequence",m=l?.nodeClass??(u?vn:rr),v=new m(n.schema);v.flow=!0;const S=n.atRoot;S&&(n.atRoot=!1);let C=i.offset+i.start.source.length;for(let P=0;P<i.items.length;++P){const I=i.items[P],{start:M,key:H,sep:Z,value:U}=I,B=_o(M,{flow:f,indicator:"explicit-key-ind",next:H??Z?.[0],offset:C,onError:r,startOnNewline:!1});if(!B.found){if(!B.anchor&&!B.tag&&!Z&&!U){P===0&&B.comma?r(B.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${f}`):P<i.items.length-1&&r(B.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${f}`),B.comment&&(v.comment?v.comment+=`
|
|
66
|
-
`+B.comment:v.comment=B.comment),C=B.end;continue}!u&&n.options.strict&&Aa(H)&&r(H,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(P===0)B.comma&&r(B.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${f}`);else if(B.comma||r(B.start,"MISSING_CHAR",`Missing , between ${f} items`),B.comment){let F="";e:for(const y of M)switch(y.type){case"comma":case"space":break;case"comment":F=y.source.substring(1);break e;default:break e}if(F){let y=v.items[v.items.length-1];kt(y)&&(y=y.value??y.key),y.comment?y.comment+=`
|
|
67
|
-
`+F:y.comment=F,B.comment=B.comment.substring(F.length+1)}}if(!u&&!Z&&!B.found){const F=U?e(n,U,B,r):t(n,B.end,Z,null,B,r);v.items.push(F),C=F.range[2],md(U)&&r(F.range,"BLOCK_IN_FLOW",pd)}else{const F=B.end,y=H?e(n,H,B,r):t(n,F,M,null,B,r);md(H)&&r(y.range,"BLOCK_IN_FLOW",pd);const w=_o(Z??[],{flow:f,indicator:"map-value-ind",next:U,offset:y.range[2],onError:r,startOnNewline:!1});if(w.found){if(!u&&!B.found&&n.options.strict){if(Z)for(const p of Z){if(p===w.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}}B.start<w.found.offset-1024&&r(w.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 ${f}`):r(w.start,"MISSING_CHAR",`Missing , or : between ${f} items`));const L=U?e(n,U,w,r):w.found?t(n,w.end,Z,null,w,r):null;L?md(U)&&r(L.range,"BLOCK_IN_FLOW",pd):w.comment&&(y.comment?y.comment+=`
|
|
68
|
-
`+w.comment:y.comment=w.comment);const N=new en(y,L);if(n.options.keepSourceTokens&&(N.srcToken=I),u){const p=v;RS(n,p.items,y)&&r(F,"DUPLICATE_KEY","Map keys must be unique"),p.items.push(N)}else{const p=new vn(n.schema);p.flow=!0,p.items.push(N),v.items.push(p)}C=L?L.range[2]:w.end}}const D=u?"}":"]",[_,...E]=i.end;let T=C;if(_&&_.source===D)T=_.offset+_.source.length;else{const P=f[0].toUpperCase()+f.substring(1),I=S?`${P} must end with a ${D}`:`${P} in block collection must be sufficiently indented and end with a ${D}`;r(C,S?"MISSING_CHAR":"BAD_INDENT",I),_&&_.source.length!==1&&E.unshift(_)}if(E.length>0){const P=Ja(E,T,n.options.strict,r);P.comment&&(v.comment?v.comment+=`
|
|
69
|
-
`+P.comment:v.comment=P.comment),v.range=[i.offset,T,P.offset]}else v.range=[i.offset,T,T];return v}function yd(e,t,n,i,r,l){const u=n.type==="block-map"?fP(e,t,n,i,l):n.type==="block-seq"?dP(e,t,n,i,l):hP(e,t,n,i,l),f=u.constructor;return r==="!"||r===f.tagName?(u.tag=f.tagName,u):(r&&(u.tag=r),u)}function pP(e,t,n,i,r){const l=i?t.directives.tagName(i.source,C=>r(i,"TAG_RESOLVE_FAILED",C)):null,u=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!i||!l||l==="!"||l===vn.tagName&&u==="map"||l===rr.tagName&&u==="seq"||!u)return yd(e,t,n,r,l);let f=t.schema.tags.find(C=>C.tag===l&&C.collection===u);if(!f){const C=t.schema.knownTags[l];if(C&&C.collection===u)t.schema.tags.push(Object.assign({},C,{default:!1})),f=C;else return C?.collection?r(i,"BAD_COLLECTION_TYPE",`${C.tag} used for ${u} collection, but expects ${C.collection}`,!0):r(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${l}`,!0),yd(e,t,n,r,l)}const m=yd(e,t,n,r,l,f),v=f.resolve?.(m,C=>r(i,"TAG_RESOLVE_FAILED",C),t.options)??m,S=Rt(v)?v:new Qe(v);return S.range=m.range,S.tag=l,f?.format&&(S.format=f.format),S}function BS(e,t,n){const i=e.offset,r=mP(e,t,n);if(!r)return{value:"",type:null,comment:"",range:[i,i,i]};const l=r.mode===">"?Qe.BLOCK_FOLDED:Qe.BLOCK_LITERAL,u=e.source?yP(e.source):[];let f=u.length;for(let T=u.length-1;T>=0;--T){const P=u[T][1];if(P===""||P==="\r")f=T;else break}if(f===0){const T=r.chomp==="+"&&u.length>0?`
|
|
70
|
-
`.repeat(Math.max(1,u.length-1)):"";let P=i+r.length;return e.source&&(P+=e.source.length),{value:T,type:l,comment:r.comment,range:[i,P,P]}}let m=e.indent+r.indent,v=e.offset+r.length,S=0;for(let T=0;T<f;++T){const[P,I]=u[T];if(I===""||I==="\r")r.indent===0&&P.length>m&&(m=P.length);else{P.length<m&&n(v+P.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),r.indent===0&&(m=P.length),S=T;break}v+=P.length+I.length+1}for(let T=u.length-1;T>=f;--T)u[T][0].length>m&&(f=T+1);let C="",D="",_=!1;for(let T=0;T<S;++T)C+=u[T][0].slice(m)+`
|
|
71
|
-
`;for(let T=S;T<f;++T){let[P,I]=u[T];v+=P.length+I.length+1;const M=I[I.length-1]==="\r";if(M&&(I=I.slice(0,-1)),I&&P.length<m){const Z=`Block scalar lines must not be less indented than their ${r.indent?"explicit indentation indicator":"first line"}`;n(v-I.length-(M?2:1),"BAD_INDENT",Z),P=""}l===Qe.BLOCK_LITERAL?(C+=D+P.slice(m)+I,D=`
|
|
72
|
-
`):P.length>m||I[0]===" "?(D===" "?D=`
|
|
73
|
-
`:!_&&D===`
|
|
74
|
-
`&&(D=`
|
|
75
|
-
|
|
76
|
-
`),C+=D+P.slice(m)+I,D=`
|
|
77
|
-
`,_=!0):I===""?D===`
|
|
78
|
-
`?C+=`
|
|
79
|
-
`:D=`
|
|
80
|
-
`:(C+=D+I,D=" ",_=!1)}switch(r.chomp){case"-":break;case"+":for(let T=f;T<u.length;++T)C+=`
|
|
81
|
-
`+u[T][0].slice(m);C[C.length-1]!==`
|
|
82
|
-
`&&(C+=`
|
|
83
|
-
`);break;default:C+=`
|
|
84
|
-
`}const E=i+r.length+e.source.length;return{value:C,type:l,comment:r.comment,range:[i,E,E]}}function mP({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],l=r[0];let u=0,f="",m=-1;for(let D=1;D<r.length;++D){const _=r[D];if(!f&&(_==="-"||_==="+"))f=_;else{const E=Number(_);!u&&E?u=E:m===-1&&(m=e+D)}}m!==-1&&i(m,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${r}`);let v=!1,S="",C=r.length;for(let D=1;D<t.length;++D){const _=t[D];switch(_.type){case"space":v=!0;case"newline":C+=_.source.length;break;case"comment":n&&!v&&i(_,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),C+=_.source.length,S=_.source.substring(1);break;case"error":i(_,"UNEXPECTED_TOKEN",_.message),C+=_.source.length;break;default:{const E=`Unexpected token in block scalar header: ${_.type}`;i(_,"UNEXPECTED_TOKEN",E);const T=_.source;T&&typeof T=="string"&&(C+=T.length)}}}return{mode:l,indent:u,chomp:f,comment:S,length:C}}function yP(e){const t=e.split(/\n( *)/),n=t[0],i=n.match(/^( *)/),l=[i?.[1]?[i[1],n.slice(i[1].length)]:["",n]];for(let u=1;u<t.length;u+=2)l.push([t[u],t[u+1]]);return l}function DS(e,t,n){const{offset:i,type:r,source:l,end:u}=e;let f,m;const v=(D,_,E)=>n(i+D,_,E);switch(r){case"scalar":f=Qe.PLAIN,m=gP(l,v);break;case"single-quoted-scalar":f=Qe.QUOTE_SINGLE,m=bP(l,v);break;case"double-quoted-scalar":f=Qe.QUOTE_DOUBLE,m=TP(l,v);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${r}`),{value:"",type:null,comment:"",range:[i,i+l.length,i+l.length]}}const S=i+l.length,C=Ja(u,S,t,n);return{value:m,type:f,comment:C.comment,range:[i,S,C.offset]}}function gP(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}`),xS(e)}function bP(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),xS(e.slice(1,-1)).replace(/''/g,"'")}function xS(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],l=" ",u=t.lastIndex;for(n.lastIndex=u;i=n.exec(e);)i[1]===""?l===`
|
|
87
|
-
`?r+=l:l=`
|
|
88
|
-
`:(r+=l+i[1],l=" "),u=n.lastIndex;const f=/[ \t]*(.*)/sy;return f.lastIndex=u,i=f.exec(e),r+l+(i?.[1]??"")}function TP(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:l,offset:u}=SP(e,i);n+=l,i=u}else if(r==="\\"){let l=e[++i];const u=vP[l];if(u)n+=u;else if(l===`
|
|
91
|
-
`)for(l=e[i+1];l===" "||l===" ";)l=e[++i+1];else if(l==="\r"&&e[i+1]===`
|
|
92
|
-
`)for(l=e[++i+1];l===" "||l===" ";)l=e[++i+1];else if(l==="x"||l==="u"||l==="U"){const f={x:2,u:4,U:8}[l];n+=wP(e,i+1,f,t),i+=f}else{const f=e.substr(i-1,2);t(i-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${f}`),n+=f}}else if(r===" "||r===" "){const l=i;let u=e[i+1];for(;u===" "||u===" ";)u=e[++i+1];u!==`
|
|
93
|
-
`&&!(u==="\r"&&e[i+2]===`
|
|
94
|
-
`)&&(n+=i>l?e.slice(l,i+1):r)}else n+=r}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}function SP(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 vP={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
|
|
99
|
-
`,r:"\r",t:" ",v:"\v",N:"
",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function wP(e,t,n,i){const r=e.substr(t,n),u=r.length===n&&/^[0-9a-fA-F]+$/.test(r)?parseInt(r,16):NaN;if(isNaN(u)){const f=e.substr(t-2,n+2);return i(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${f}`),f}return String.fromCodePoint(u)}function US(e,t,n,i){const{value:r,type:l,comment:u,range:f}=t.type==="block-scalar"?BS(t,e.options.strict,i):DS(t,e.options.strict,i),m=n?e.directives.tagName(n.source,C=>i(n,"TAG_RESOLVE_FAILED",C)):null,v=n&&m?LP(e.schema,r,m,n,i):t.type==="scalar"?_P(e,r,t,i):e.schema[nr];let S;try{const C=v.resolve(r,D=>i(n??t,"TAG_RESOLVE_FAILED",D),e.options);S=wt(C)?C:new Qe(C)}catch(C){const D=C instanceof Error?C.message:String(C);i(n??t,"TAG_RESOLVE_FAILED",D),S=new Qe(r)}return S.range=f,S.source=r,l&&(S.type=l),m&&(S.tag=m),v.format&&(S.format=v.format),u&&(S.comment=u),S}function LP(e,t,n,i,r){if(n==="!")return e[nr];const l=[];for(const f of e.tags)if(!f.collection&&f.tag===n)if(f.default&&f.test)l.push(f);else return f;for(const f of l)if(f.test?.test(t))return f;const u=e.knownTags[n];return u&&!u.collection?(e.tags.push(Object.assign({},u,{default:!1,test:void 0})),u):(r(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[nr])}function _P({directives:e,schema:t},n,i,r){const l=t.tags.find(u=>u.default&&u.test?.test(n))||t[nr];if(t.compat){const u=t.compat.find(f=>f.default&&f.test?.test(n))??t[nr];if(l.tag!==u.tag){const f=e.tagString(l.tag),m=e.tagString(u.tag),v=`Value may be parsed as either ${f} or ${m}`;r(i,"TAG_RESOLVE_FAILED",v,!0)}}return l}function NP(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 kP={composeNode:zS,composeEmptyNode:sp};function zS(e,t,n,i){const{spaceBefore:r,comment:l,anchor:u,tag:f}=n;let m,v=!0;switch(t.type){case"alias":m=OP(e,t,i),(u||f)&&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":m=US(e,t,f,i),u&&(m.anchor=u.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":m=pP(kP,e,t,f,i),u&&(m.anchor=u.source.substring(1));break;default:{const S=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;i(t,"UNEXPECTED_TOKEN",S),m=sp(e,t.offset,void 0,null,n,i),v=!1}}return u&&m.anchor===""&&i(u,"BAD_ALIAS","Anchor cannot be an empty string"),r&&(m.spaceBefore=!0),l&&(t.type==="scalar"&&t.source===""?m.comment=l:m.commentBefore=l),e.options.keepSourceTokens&&v&&(m.srcToken=t),m}function sp(e,t,n,i,{spaceBefore:r,comment:l,anchor:u,tag:f,end:m},v){const S={type:"scalar",offset:NP(t,n,i),indent:-1,source:""},C=US(e,S,f,v);return u&&(C.anchor=u.source.substring(1),C.anchor===""&&v(u,"BAD_ALIAS","Anchor cannot be an empty string")),r&&(C.spaceBefore=!0),l&&(C.comment=l,C.range[2]=m),C}function OP({options:e},{offset:t,source:n,end:i},r){const l=new Da(n.substring(1));l.source===""&&r(t,"BAD_ALIAS","Alias cannot be an empty string"),l.source.endsWith(":")&&r(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const u=t+n.length,f=Ja(i,u,e.strict,r);return l.range=[t,u,f.offset],f.comment&&(l.comment=f.comment),l}function EP(e,t,{offset:n,start:i,value:r,end:l},u){const f=Object.assign({_directives:t},e),m=new Ms(void 0,f),v={atRoot:!0,directives:m.directives,options:m.options,schema:m.schema},S=_o(i,{indicator:"doc-start",next:r??l?.[0],offset:n,onError:u,startOnNewline:!0});S.found&&(m.directives.docStart=!0,r&&(r.type==="block-map"||r.type==="block-seq")&&!S.hasNewline&&u(S.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),m.contents=r?zS(v,r,S,u):sp(v,S.end,i,null,S,u);const C=m.contents.range[2],D=Ja(l,C,!1,u);return D.comment&&(m.comment=D.comment),m.range=[n,C,D.offset],m}function ra(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 Cb(e){let t="",n=!1,i=!1;for(let r=0;r<e.length;++r){const l=e[r];switch(l[0]){case"#":t+=(t===""?"":i?`
|
|
100
|
-
|
|
101
|
-
`:`
|
|
102
|
-
`)+(l.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 ql{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,i,r,l)=>{const u=ra(n);l?this.warnings.push(new rp(u,i,r)):this.errors.push(new jr(u,i,r))},this.directives=new ln({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:i,afterEmptyLine:r}=Cb(this.prelude);if(i){const l=t.contents;if(n)t.comment=t.comment?`${t.comment}
|
|
103
|
-
${i}`:i;else if(r||t.directives.docStart||!l)t.commentBefore=i;else if(Ct(l)&&!l.flow&&l.items.length>0){let u=l.items[0];kt(u)&&(u=u.key);const f=u.commentBefore;u.commentBefore=f?`${i}
|
|
104
|
-
${f}`:i}else{const u=l.commentBefore;l.commentBefore=u?`${i}
|
|
105
|
-
${u}`: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:Cb(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 l=ra(t);l[0]+=n,this.onError(l,"BAD_DIRECTIVE",i,r)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=EP(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 jr(ra(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 jr(ra(t),"UNEXPECTED_TOKEN",i));break}this.doc.directives.docEnd=!0;const n=Ja(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 jr(ra(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 Ms(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 CP(e,t=!0,n){if(e){const i=(r,l,u)=>{const f=typeof r=="number"?r:Array.isArray(r)?r[0]:r.offset;if(n)n(f,l,u);else throw new jr([f,f+1],l,u)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return DS(e,t,i);case"block-scalar":return BS(e,t,i)}}return null}function AP(e,t){const{implicitKey:n=!1,indent:i,inFlow:r=!1,offset:l=-1,type:u="PLAIN"}=t,f=xa({type:u,value:e},{implicitKey:n,indent:i>0?" ".repeat(i):"",inFlow:r,options:{blockQuote:!0,lineWidth:-1}}),m=t.end??[{type:"newline",offset:-1,indent:i,source:`
|
|
107
|
-
`}];switch(f[0]){case"|":case">":{const v=f.indexOf(`
|
|
108
|
-
`),S=f.substring(0,v),C=f.substring(v+1)+`
|
|
109
|
-
`,D=[{type:"block-scalar-header",offset:l,indent:i,source:S}];return JS(D,m)||D.push({type:"newline",offset:-1,indent:i,source:`
|
|
110
|
-
`}),{type:"block-scalar",offset:l,indent:i,props:D,source:C}}case'"':return{type:"double-quoted-scalar",offset:l,indent:i,source:f,end:m};case"'":return{type:"single-quoted-scalar",offset:l,indent:i,source:f,end:m};default:return{type:"scalar",offset:l,indent:i,source:f,end:m}}}function FP(e,t,n={}){let{afterKey:i=!1,implicitKey:r=!1,inFlow:l=!1,type:u}=n,f="indent"in e?e.indent:null;if(i&&typeof f=="number"&&(f+=2),!u)switch(e.type){case"single-quoted-scalar":u="QUOTE_SINGLE";break;case"double-quoted-scalar":u="QUOTE_DOUBLE";break;case"block-scalar":{const v=e.props[0];if(v.type!=="block-scalar-header")throw new Error("Invalid block scalar header");u=v.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:u="PLAIN"}const m=xa({type:u,value:t},{implicitKey:r||f===null,indent:f!==null&&f>0?" ".repeat(f):"",inFlow:l,options:{blockQuote:!0,lineWidth:-1}});switch(m[0]){case"|":case">":PP(e,m);break;case'"':gd(e,m,"double-quoted-scalar");break;case"'":gd(e,m,"single-quoted-scalar");break;default:gd(e,m,"scalar")}}function PP(e,t){const n=t.indexOf(`
|
|
111
|
-
`),i=t.substring(0,n),r=t.substring(n+1)+`
|
|
112
|
-
`;if(e.type==="block-scalar"){const l=e.props[0];if(l.type!=="block-scalar-header")throw new Error("Invalid block scalar header");l.source=i,e.source=r}else{const{offset:l}=e,u="indent"in e?e.indent:-1,f=[{type:"block-scalar-header",offset:l,indent:u,source:i}];JS(f,"end"in e?e.end:void 0)||f.push({type:"newline",offset:-1,indent:u,source:`
|
|
113
|
-
`});for(const m of Object.keys(e))m!=="type"&&m!=="offset"&&delete e[m];Object.assign(e,{type:"block-scalar",indent:u,props:f,source:r})}}function JS(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 gd(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 l of i)l.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(l=>l.type==="space"||l.type==="comment"||l.type==="newline"):[];for(const l of Object.keys(e))l!=="type"&&l!=="offset"&&delete e[l];Object.assign(e,{type:n,indent:i,source:t,end:r})}}}const IP=e=>"type"in e?wl(e):ul(e);function wl(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=wl(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=ul(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=ul(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=ul(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 ul({start:e,key:t,sep:n,value:i}){let r="";for(const l of e)r+=l.source;if(t&&(r+=wl(t)),n)for(const l of n)r+=l.source;return i&&(r+=wl(i)),r}const gh=Symbol("break visit"),MP=Symbol("skip children"),WS=Symbol("remove item");function _s(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),GS(Object.freeze([]),e,t)}_s.BREAK=gh;_s.SKIP=MP;_s.REMOVE=WS;_s.itemAtPath=(e,t)=>{let n=e;for(const[i,r]of t){const l=n?.[i];if(l&&"items"in l)n=l.items[r];else return}return n};_s.parentCollection=(e,t)=>{const n=_s.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 GS(e,t,n){let i=n(t,e);if(typeof i=="symbol")return i;for(const r of["key","value"]){const l=t[r];if(l&&"items"in l){for(let u=0;u<l.items.length;++u){const f=GS(Object.freeze(e.concat([[r,u]])),l.items[u],n);if(typeof f=="number")u=f-1;else{if(f===gh)return gh;f===WS&&(l.items.splice(u,1),u-=1)}}typeof i=="function"&&r==="key"&&(i=i(t,e))}}return typeof i=="function"?i(t,e):i}const Hl="\uFEFF",Vl="",Kl="",Fa="",jP=e=>!!e&&"items"in e,RP=e=>!!e&&(e.type==="scalar"||e.type==="single-quoted-scalar"||e.type==="double-quoted-scalar"||e.type==="block-scalar");function BP(e){switch(e){case Hl:return"<BOM>";case Vl:return"<DOC>";case Kl:return"<FLOW_END>";case Fa:return"<SCALAR>";default:return JSON.stringify(e)}}function qS(e){switch(e){case Hl:return"byte-order-mark";case Vl:return"doc-mode";case Kl:return"flow-error-end";case Fa: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 HS=Object.freeze(Object.defineProperty({__proto__:null,BOM:Hl,DOCUMENT:Vl,FLOW_END:Kl,SCALAR:Fa,createScalarToken:AP,isCollection:jP,isScalar:RP,prettyToken:BP,resolveAsScalar:CP,setScalarValue:FP,stringify:IP,tokenType:qS,visit:_s},Symbol.toStringTag,{value:"Module"}));function Hn(e){switch(e){case void 0:case" ":case`
|
|
117
|
-
`:case"\r":case" ":return!0;default:return!1}}const Ab="0123456789ABCDEFabcdef".split(""),DP="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),bd=",[]{}".split(""),xP=` ,[]{}
|
|
118
|
-
\r `.split(""),Td=e=>!e||xP.includes(e);class op{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==="...")&&Hn(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]===Hl&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let n=t.length;const i=t.indexOf("#");if(i!==-1){const l=t[i-1];(l===" "||l===" ")&&(n=i-1)}for(;;){const l=t[n-1];if(l===" "||l===" ")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 Vl,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==="---"&&Hn(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if(n==="..."&&Hn(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!Hn(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===":")&&Hn(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(Td),"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("..."))&&Hn(r[3]))&&!(i===this.indentNext-1&&this.flowLevel===1&&(r[0]==="]"||r[0]==="}")))return this.flowLevel=0,yield Kl,yield*this.parseLineStart();let l=0;for(;r[l]===",";)l+=yield*this.pushCount(1),l+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(l+=yield*this.pushIndicators(),r[l]){case void 0:return"flow";case"#":return yield*this.pushCount(r.length-l),"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(Td),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const u=this.charAt(1);if(this.flowKey||Hn(u)||u===",")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 l=0;for(;this.buffer[n-1-l]==="\\";)l+=1;if(l%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 l=this.continueScalar(r+1);if(l===-1)break;r=i.indexOf(`
|
|
125
|
-
`,l)}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=>Hn(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 l=this.buffer[r+1];if(!l&&!this.atEnd)return this.setNext("block-scalar");if(l===`
|
|
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,l=this.buffer[r];l==="\r"&&(l=this.buffer[--r]);const u=r;for(;l===" "||l===" ";)l=this.buffer[--r];if(l===`
|
|
129
|
-
`&&r>=this.pos&&r+1+n>u)t=r;else break}while(!0);return yield Fa,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 l=this.buffer[i+1];if(Hn(l)||t&&l===",")break;n=i}else if(Hn(r)){let l=this.buffer[i+1];if(r==="\r"&&(l===`
|
|
130
|
-
`?(i+=1,r=`
|
|
131
|
-
`,l=this.buffer[i+1]):n=i),l==="#"||t&&bd.includes(l))break;if(r===`
|
|
132
|
-
`){const u=this.continueScalar(i+1);if(u===-1)break;i=Math.max(i,u-2)}}else{if(t&&bd.includes(r))break;n=i}return!r&&!this.atEnd?this.setNext("plain-scalar"):(yield Fa,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(Td))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(Hn(n)||t&&bd.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(;!Hn(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(DP.includes(n))n=this.buffer[++t];else if(n==="%"&&Ab.includes(this.buffer[t+1])&&Ab.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 ap{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,i=this.lineStarts.length;for(;n<i;){const l=n+i>>1;this.lineStarts[l]<t?n=l+1:i=l}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 oi(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}function Fb(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 VS(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 Ku(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 ro(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 Pb(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!oi(t.start,"explicit-key-ind")&&!oi(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,VS(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 Zl{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 op,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=qS(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"&&Pb(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=!oi(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&&Fb(r.start)===-1&&(n.indent===0||r.start.every(l=>l.type!=="comment"||l.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":{Fb(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=Ku(this.peek(2)),i=ro(n);let r;t.end?(r=t.end,r.push(this.sourceToken),delete t.end):r=[this.sourceToken];const l={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]=l}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;let r=[];if(i&&n.sep&&!n.value){const l=[];for(let u=0;u<n.sep.length;++u){const f=n.sep[u];switch(f.type){case"newline":l.push(u);break;case"space":break;case"comment":f.indent>t.indent&&(l.length=0);break;default:l.length=0}}l.length>=2&&(r=n.sep.splice(l[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&&!oi(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(oi(n.start,"explicit-key-ind"))if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(oi(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(VS(n.key)&&!oi(n.sep,"newline")){const l=ro(n.start),u=n.key,f=n.sep;f.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:l,key:u,sep:f}]})}else r.length>0?n.sep=n.sep.concat(r,this.sourceToken):n.sep.push(this.sourceToken);else if(oi(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const l=ro(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:l,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||i?t.items.push({start:r,key:null,sep:[this.sourceToken]}):oi(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 l=this.flowScalar(this.type);i||n.value?(t.items.push({start:r,key:l,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(l):(Object.assign(n,{key:l,sep:[]}),this.onKeyLine=!0);return}default:{const l=this.startBlockValue(t);if(l){i&&l.type!=="block-seq"&&oi(n.start,"explicit-key-ind")&&t.items.push({start:r}),this.stack.push(l);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||oi(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=Ku(i),l=ro(r);Pb(t);const u=t.end.splice(1,t.end.length);u.push(this.sourceToken);const f={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:l,key:t,sep:u}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=f}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=Ku(t),i=ro(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=Ku(t),i=ro(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 KS(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new ap||null,prettyErrors:t}}function ZS(e,t={}){const{lineCounter:n,prettyErrors:i}=KS(t),r=new Zl(n?.addNewLine),l=new ql(t),u=Array.from(l.compose(r.parse(e)));if(i&&n)for(const f of u)f.errors.forEach(vl(e,n)),f.warnings.forEach(vl(e,n));return u.length>0?u:Object.assign([],{empty:!0},l.streamInfo())}function up(e,t={}){const{lineCounter:n,prettyErrors:i}=KS(t),r=new Zl(n?.addNewLine),l=new ql(t);let u=null;for(const f of l.compose(r.parse(e),!0,e.length))if(!u)u=f;else if(u.options.logLevel!=="silent"){u.errors.push(new jr(f.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return i&&n&&(u.errors.forEach(vl(e,n)),u.warnings.forEach(vl(e,n))),u}function QS(e,t,n){let i;typeof t=="function"?i=t:n===void 0&&t&&typeof t=="object"&&(n=t);const r=up(e,n);if(!r)return null;if(r.warnings.forEach(l=>bS(r.options.logLevel,l)),r.errors.length>0){if(r.options.logLevel!=="silent")throw r.errors[0];r.errors=[]}return r.toJS(Object.assign({reviver:i},n))}function XS(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 Ms(e,i,n).toString(n)}const UP=Object.freeze(Object.defineProperty({__proto__:null,Alias:Da,CST:HS,Composer:ql,Document:Ms,Lexer:op,LineCounter:ap,Pair:en,Parser:Zl,Scalar:Qe,Schema:za,YAMLError:Gl,YAMLMap:vn,YAMLParseError:jr,YAMLSeq:rr,YAMLWarning:rp,isAlias:qr,isCollection:Ct,isDocument:Fs,isMap:Ps,isNode:Rt,isPair:kt,isScalar:wt,isSeq:Is,parse:QS,parseAllDocuments:ZS,parseDocument:up,stringify:XS,visit:ir,visitAsync:Ba},Symbol.toStringTag,{value:"Module"})),zP=Object.freeze(Object.defineProperty({__proto__:null,Alias:Da,CST:HS,Composer:ql,Document:Ms,Lexer:op,LineCounter:ap,Pair:en,Parser:Zl,Scalar:Qe,Schema:za,YAMLError:Gl,YAMLMap:vn,YAMLParseError:jr,YAMLSeq:rr,YAMLWarning:rp,default:UP,isAlias:qr,isCollection:Ct,isDocument:Fs,isMap:Ps,isNode:Rt,isPair:kt,isScalar:wt,isSeq:Is,parse:QS,parseAllDocuments:ZS,parseDocument:up,stringify:XS,visit:ir,visitAsync:Ba},Symbol.toStringTag,{value:"Module"})),JP=yT(zP);var WP=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]}),GP=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),YS=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)&&WP(t,e,n);return GP(t,e),t};Object.defineProperty(Ae,"__esModule",{value:!0});Ae.numberEnumValues=Ae.indentationString=Ae.parseJSON=Ae.inflateBase64=Ae.errorMessage=Ae.repeatedCall=Ae.repeated=Ae.mustNotHappen=Ae.panic=Ae.assert=Ae.assertNever=Ae.nonNull=Ae.defined=Ae.checkArray=Ae.checkStringMap=Ae.checkString=Ae.isStringMap=void 0;const qP=UC,HP=YS(PF),Ql=Jt,VP=YS(JP);function $S(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}Ae.isStringMap=$S;function KP(e){return typeof e=="string"}Ae.checkString=KP;function ZP(e,t){return $S(e,t)?e:Ns(`Value must be an object, but is ${e}`)}Ae.checkStringMap=ZP;function QP(e,t){if(!Array.isArray(e))return Ns(`Value must be an array, but is ${e}`);if(t!==void 0){for(const n of e)if(!t(n))return Ns(`Array item does not satisfy constraint: ${n}`)}return e}Ae.checkArray=QP;function XP(e){return e!==void 0?e:Ns("Defined value expected, but got undefined")}Ae.defined=XP;function YP(e){return e!==null?e:Ns("Non-null value expected, but got null")}Ae.nonNull=YP;function $P(e){return(0,Ql.messageError)("InternalError",{message:`Unexpected object ${e}`})}Ae.assertNever=$P;function eI(e,t="Assertion failed"){if(!e)return(0,Ql.messageError)("InternalError",{message:t})}Ae.assert=eI;function Ns(e){return(0,Ql.messageError)("InternalError",{message:e})}Ae.panic=Ns;function tI(){return Ns("This must not happen")}Ae.mustNotHappen=tI;function nI(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}Ae.repeated=nI;function iI(e,t){const n=[];for(let i=0;i<e;i++)n.push(t());return n}Ae.repeatedCall=iI;function rI(e){return e instanceof Error?e.message:e.toString()}Ae.errorMessage=rI;function sI(e){const t=qP.Base64.atob(e);return HP.inflate(t,{to:"string"})}Ae.inflateBase64=sI;function oI(e,t,n="<unknown>"){try{return e.charCodeAt(0)===65279&&(e=e.slice(1)),VP.parse(e)}catch(i){let r;return i instanceof SyntaxError?r=i.message:r=`Unknown exception ${i}`,(0,Ql.messageError)("MiscJSONParseError",{description:t,address:n,message:r})}}Ae.parseJSON=oI;function aI(e){return" ".repeat(e)}Ae.indentationString=aI;function uI(e){const t=[];for(const n of Object.keys(e)){const i=e[n];typeof i=="number"&&t.push(i)}return t}Ae.numberEnumValues=uI;var sr={};function lI(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 ev={exports:{}};(function(e,t){(function(n,i){typeof lI=="function"?e.exports=i():n.pluralize=i()})(Fe,function(){var n=[],i=[],r={},l={},u={};function f(T){return typeof T=="string"?new RegExp("^"+T+"$","i"):T}function m(T,P){return T===P?P:T===T.toLowerCase()?P.toLowerCase():T===T.toUpperCase()?P.toUpperCase():T[0]===T[0].toUpperCase()?P.charAt(0).toUpperCase()+P.substr(1).toLowerCase():P.toLowerCase()}function v(T,P){return T.replace(/\$(\d{1,2})/g,function(I,M){return P[M]||""})}function S(T,P){return T.replace(P[0],function(I,M){var H=v(P[1],arguments);return m(I===""?T[M-1]:I,H)})}function C(T,P,I){if(!T.length||r.hasOwnProperty(T))return P;for(var M=I.length;M--;){var H=I[M];if(H[0].test(P))return S(P,H)}return P}function D(T,P,I){return function(M){var H=M.toLowerCase();return P.hasOwnProperty(H)?m(M,H):T.hasOwnProperty(H)?m(M,T[H]):C(H,M,I)}}function _(T,P,I,M){return function(H){var Z=H.toLowerCase();return P.hasOwnProperty(Z)?!0:T.hasOwnProperty(Z)?!1:C(Z,Z,I)===Z}}function E(T,P,I){var M=P===1?E.singular(T):E.plural(T);return(I?P+" ":"")+M}return E.plural=D(u,l,n),E.isPlural=_(u,l,n),E.singular=D(l,u,i),E.isSingular=_(l,u,i),E.addPluralRule=function(T,P){n.push([f(T),P])},E.addSingularRule=function(T,P){i.push([f(T),P])},E.addUncountableRule=function(T){if(typeof T=="string"){r[T.toLowerCase()]=!0;return}E.addPluralRule(T,"$0"),E.addSingularRule(T,"$0")},E.addIrregularRule=function(T,P){P=P.toLowerCase(),T=T.toLowerCase(),u[T]=P,l[P]=T},[["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(T){return E.addIrregularRule(T[0],T[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(T){return E.addPluralRule(T[0],T[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(T){return E.addSingularRule(T[0],T[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(E.addUncountableRule),E})})(ev);var tv=ev.exports,ft={};Object.defineProperty(ft,"__esModule",{value:!0});ft.increaseTypeAttributesDistance=ft.makeTypeAttributesInferred=ft.combineTypeAttributes=ft.emptyTypeAttributes=ft.TypeAttributeKind=void 0;const No=Je,Ll=Ae;class lp{constructor(t){this.name=t}appliesToTypeKind(t){return t!=="any"}combine(t){return(0,Ll.panic)(`Cannot combine type attribute ${this.name}`)}intersect(t){return this.combine(t)}makeInferred(t){return(0,Ll.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,No.mapFilter)(t,(n,i)=>i!==this)}equals(t){return t instanceof lp?this.name===t.name:!1}hashCode(){return(0,No.hashString)(this.name)}}ft.TypeAttributeKind=lp;ft.emptyTypeAttributes=new Map;function cI(e,t,n){const i=e==="union";let r;if(Array.isArray(t))r=t;else{if(n===void 0)return(0,Ll.panic)("Must have on array or two attributes");r=[t,n]}const l=(0,No.mapTranspose)(r);function u(f,m){return(0,Ll.assert)(f.length>0,"Cannot combine zero type attributes"),f.length===1?f[0]:i?m.combine(f):m.intersect(f)}return(0,No.mapFilterMap)(l,u)}ft.combineTypeAttributes=cI;function fI(e){return(0,No.mapFilterMap)(e,(t,n)=>n.makeInferred(t))}ft.makeTypeAttributesInferred=fI;function dI(e){return(0,No.mapFilterMap)(e,(t,n)=>n.increaseDistance(t))}ft.increaseTypeAttributesDistance=dI;var Sd={},vd={},at={};Object.defineProperty(at,"__esModule",{value:!0});at.EnumOption=at.StringOption=at.BooleanOption=at.getOptionValues=at.Option=void 0;const hI=Ae,pI=Jt,mI=Je;class Xl{constructor(t){t.renderer=!0,this.definition=t,(0,hI.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]}}}at.Option=Xl;function yI(e,t){const n={};for(const i of Object.getOwnPropertyNames(e))n[i]=e[i].getValue(t);return n}at.getOptionValues=yI;class gI extends Xl{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}}at.BooleanOption=gI;class bI extends Xl{constructor(t,n,i,r,l="primary"){const u={name:t,kind:l,type:String,description:n,typeLabel:i,defaultValue:r};super(u)}}at.StringOption=bI;class TI extends Xl{constructor(t,n,i,r=void 0,l="primary"){r===void 0&&(r=i[0][0]);const u={name:t,kind:l,type:String,description:n,typeLabel:i.map(([f,m])=>f).join("|"),legalValues:i.map(([f,m])=>f),defaultValue:r};super(u),this._values={};for(const[f,m]of i)this._values[f]=m}getValue(t){let n=t[this.definition.name];return n===void 0&&(n=this.definition.defaultValue),(0,mI.hasOwnProperty)(this._values,n)?this._values[n]:(0,pI.messageError)("RendererUnknownOptionValue",{value:n,name:this.definition.name})}}at.EnumOption=TI;var Ib;function lr(){return Ib||(Ib=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.acronymStyle=e.acronymOption=e.AcronymStyleOptions=e.acronyms=void 0;const t=at,n=yt();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(u){u.Pascal="pascal",u.Camel="camel",u.Original="original",u.Lower="lowerCase"})(i=e.AcronymStyleOptions||(e.AcronymStyleOptions={}));const r=function(u){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]],u,"secondary")};e.acronymOption=r;function l(u){return{[i.Pascal]:n.allUpperWordStyle,[i.Camel]:n.firstUpperWordStyle,[i.Original]:n.originalWord,[i.Lower]:n.allLowerWordStyle}[u]}e.acronymStyle=l}(vd)),vd}var nv={exports:{}},Io={};Io.byteLength=wI;Io.toByteArray=_I;Io.fromByteArray=OI;var Ci=[],Vn=[],SI=typeof Uint8Array<"u"?Uint8Array:Array,wd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var so=0,vI=wd.length;so<vI;++so)Ci[so]=wd[so],Vn[wd.charCodeAt(so)]=so;Vn[45]=62;Vn[95]=63;function iv(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 wI(e){var t=iv(e),n=t[0],i=t[1];return(n+i)*3/4-i}function LI(e,t,n){return(t+n)*3/4-n}function _I(e){var t,n=iv(e),i=n[0],r=n[1],l=new SI(LI(e,i,r)),u=0,f=r>0?i-4:i,m;for(m=0;m<f;m+=4)t=Vn[e.charCodeAt(m)]<<18|Vn[e.charCodeAt(m+1)]<<12|Vn[e.charCodeAt(m+2)]<<6|Vn[e.charCodeAt(m+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=t&255;return r===2&&(t=Vn[e.charCodeAt(m)]<<2|Vn[e.charCodeAt(m+1)]>>4,l[u++]=t&255),r===1&&(t=Vn[e.charCodeAt(m)]<<10|Vn[e.charCodeAt(m+1)]<<4|Vn[e.charCodeAt(m+2)]>>2,l[u++]=t>>8&255,l[u++]=t&255),l}function NI(e){return Ci[e>>18&63]+Ci[e>>12&63]+Ci[e>>6&63]+Ci[e&63]}function kI(e,t,n){for(var i,r=[],l=t;l<n;l+=3)i=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),r.push(NI(i));return r.join("")}function OI(e){for(var t,n=e.length,i=n%3,r=[],l=16383,u=0,f=n-i;u<f;u+=l)r.push(kI(e,u,u+l>f?f:u+l));return i===1?(t=e[n-1],r.push(Ci[t>>2]+Ci[t<<4&63]+"==")):i===2&&(t=(e[n-2]<<8)+e[n-1],r.push(Ci[t>>10]+Ci[t>>4&63]+Ci[t<<2&63]+"=")),r.join("")}var cp=0,rv=-3;function Pa(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function EI(e,t){this.source=e,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=t,this.destLen=0,this.ltree=new Pa,this.dtree=new Pa}var sv=new Pa,ov=new Pa,fp=new Uint8Array(30),dp=new Uint16Array(30),av=new Uint8Array(30),uv=new Uint16Array(30),CI=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Mb=new Pa,Ti=new Uint8Array(320);function lv(e,t,n,i){var r,l;for(r=0;r<n;++r)e[r]=0;for(r=0;r<30-n;++r)e[r+n]=r/n|0;for(l=i,r=0;r<30;++r)t[r]=l,l+=1<<e[r]}function AI(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 jb=new Uint16Array(16);function Ld(e,t,n,i){var r,l;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,l=0,r=0;r<16;++r)jb[r]=l,l+=e.table[r];for(r=0;r<i;++r)t[n+r]&&(e.trans[jb[t[n+r]]++]=r)}function FI(e){e.bitcount--||(e.tag=e.source[e.sourceIndex++],e.bitcount=7);var t=e.tag&1;return e.tag>>>=1,t}function Li(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 bh(e,t){for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var n=0,i=0,r=0,l=e.tag;do i=2*i+(l&1),l>>>=1,++r,n+=t.table[r],i-=t.table[r];while(i>=0);return e.tag=l,e.bitcount-=r,t.trans[n+i]}function PI(e,t,n){var i,r,l,u,f,m;for(i=Li(e,5,257),r=Li(e,5,1),l=Li(e,4,4),u=0;u<19;++u)Ti[u]=0;for(u=0;u<l;++u){var v=Li(e,3,0);Ti[CI[u]]=v}for(Ld(Mb,Ti,0,19),f=0;f<i+r;){var S=bh(e,Mb);switch(S){case 16:var C=Ti[f-1];for(m=Li(e,2,3);m;--m)Ti[f++]=C;break;case 17:for(m=Li(e,3,3);m;--m)Ti[f++]=0;break;case 18:for(m=Li(e,7,11);m;--m)Ti[f++]=0;break;default:Ti[f++]=S;break}}Ld(t,Ti,0,i),Ld(n,Ti,i,r)}function Rb(e,t,n){for(;;){var i=bh(e,t);if(i===256)return cp;if(i<256)e.dest[e.destLen++]=i;else{var r,l,u,f;for(i-=257,r=Li(e,fp[i],dp[i]),l=bh(e,n),u=e.destLen-Li(e,av[l],uv[l]),f=u;f<u+r;++f)e.dest[e.destLen++]=e.dest[f]}}}function II(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 rv;for(e.sourceIndex+=4,i=t;i;--i)e.dest[e.destLen++]=e.source[e.sourceIndex++];return e.bitcount=0,cp}function MI(e,t){var n=new EI(e,t),i,r,l;do{switch(i=FI(n),r=Li(n,2,0),r){case 0:l=II(n);break;case 1:l=Rb(n,sv,ov);break;case 2:PI(n,n.ltree,n.dtree),l=Rb(n,n.ltree,n.dtree);break;default:l=rv}if(l!==cp)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}AI(sv,ov);lv(fp,dp,4,3);lv(av,uv,2,1);fp[28]=0;dp[28]=258;var jI=MI;const RI=new Uint8Array(new Uint32Array([305419896]).buffer)[0]===18,Bb=(e,t,n)=>{let i=e[t];e[t]=e[n],e[n]=i},BI=e=>{const t=e.length;for(let n=0;n<t;n+=4)Bb(e,n,n+3),Bb(e,n+1,n+2)},DI=e=>{RI&&BI(e)};var xI={swap32LE:DI};const Db=jI,{swap32LE:UI}=xI,hp=11,ms=5,zI=hp-ms,JI=65536>>hp,WI=1<<zI,GI=WI-1,ll=2,qI=1<<ms,_d=qI-1,cv=65536>>ms,HI=1024>>ms,VI=cv+HI,KI=VI,ZI=32,QI=KI+ZI,XI=1<<ll;class YI{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=Db(t,new Uint8Array(i)),t=Db(t,new Uint8Array(i)),UI(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>>ms]<<ll)+(t&_d),this.data[n]):t<=65535?(n=(this.data[cv+(t-55296>>ms)]<<ll)+(t&_d),this.data[n]):t<this.highStart?(n=this.data[QI-JI+(t>>hp)],n=this.data[n+(t>>ms&GI)],n=(n<<ll)+(t&_d),this.data[n]):this.data[this.data.length-XI]}}var $I=YI;(function(e){var t=Io,n=$I;function i(O){return O&&O.__esModule?O.default:O}function r(O){Object.defineProperty(O,"__esModule",{value:!0,configurable:!0})}function l(O,V,te,ue){Object.defineProperty(O,V,{get:te,set:ue,enumerable:!0,configurable:!0})}r(e.exports),l(e.exports,"getCategory",()=>y),l(e.exports,"getCombiningClass",()=>w),l(e.exports,"getScript",()=>L),l(e.exports,"getEastAsianWidth",()=>N),l(e.exports,"getNumericValue",()=>p),l(e.exports,"isAlphabetic",()=>o),l(e.exports,"isDigit",()=>a),l(e.exports,"isPunctuation",()=>d),l(e.exports,"isLowerCase",()=>h),l(e.exports,"isUpperCase",()=>b),l(e.exports,"isTitleCase",()=>R),l(e.exports,"isWhiteSpace",()=>x),l(e.exports,"isBaseForm",()=>j),l(e.exports,"isMark",()=>W),l(e.exports,"default",()=>k);var u={};u=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 f=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++7iRu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OHvcjf/+oKbbtRqz9gbofoc2EzQ3pL6W5JdfJzAWmOk8oeoECe90lVMruwl/ltM015P/zIPazqvdvFmLNVHMIZrwiQ2tIKtGh6PDVH+85ew3caqVt2BsDv5rOcu3G9srQWd7NmgtzCRUXLYknYRSwtH9oUtkqyN3CfP20xQ1faXQl4MEmjQehWR6GmGnkdpYNQYeIG408yAX7uCZmYUic9juOfb+Re28+OVOB+scYK4DaPcBe+5wmji9gymtkMpKo4UKqCz7yxzuN8VIlx9yNozpRJpNaWHtaZVEqP45n2JemTlYBSmNIK1FuSYAUQ1yBLnKxevrjayd+h2i8PjdB3YY6b0nr3JuOXGpPMyh4V2dslpR3DFEvgpsBLqhqLDOWP4yEvIL6f21PpA7/8B")),m=Math.log2||(O=>Math.log(O)/Math.LN2),v=O=>m(O)+1|0,S=v(i(u).categories.length-1),C=v(i(u).combiningClasses.length-1),D=v(i(u).scripts.length-1),_=v(i(u).eaw.length-1),E=10,T=C+D+_+E,P=D+_+E,I=_+E,M=E,H=(1<<S)-1,Z=(1<<C)-1,U=(1<<D)-1,B=(1<<_)-1,F=(1<<E)-1;function y(O){const V=f.get(O);return i(u).categories[V>>T&H]}function w(O){const V=f.get(O);return i(u).combiningClasses[V>>P&Z]}function L(O){const V=f.get(O);return i(u).scripts[V>>I&U]}function N(O){const V=f.get(O);return i(u).eaw[V>>M&B]}function p(O){let V=f.get(O),te=V&F;if(te===0)return null;if(te<=50)return te-1;if(te<480){const ue=(te>>4)-12,Y=(te&15)+1;return ue/Y}else if(te<768){V=(te>>5)-14;let ue=(te&31)+2;for(;ue>0;)V*=10,ue--;return V}else{V=(te>>2)-191;let ue=(te&3)+1;for(;ue>0;)V*=60,ue--;return V}}function o(O){const V=y(O);return V==="Lu"||V==="Ll"||V==="Lt"||V==="Lm"||V==="Lo"||V==="Nl"}function a(O){return y(O)==="Nd"}function d(O){const V=y(O);return V==="Pc"||V==="Pd"||V==="Pe"||V==="Pf"||V==="Pi"||V==="Po"||V==="Ps"}function h(O){return y(O)==="Ll"}function b(O){return y(O)==="Lu"}function R(O){return y(O)==="Lt"}function x(O){const V=y(O);return V==="Zs"||V==="Zl"||V==="Zp"}function j(O){const V=y(O);return V==="Nd"||V==="No"||V==="Nl"||V==="Lu"||V==="Ll"||V==="Lt"||V==="Lm"||V==="Lo"||V==="Me"||V==="Mc"}function W(O){const V=y(O);return V==="Mn"||V==="Me"||V==="Mc"}var k={getCategory:y,getCombiningClass:w,getScript:L,getEastAsianWidth:N,getNumericValue:p,isAlphabetic:o,isDigit:a,isPunctuation:d,isLowerCase:h,isUpperCase:b,isTitleCase:R,isWhiteSpace:x,isBaseForm:j,isMark:W}})(nv);var Wa=nv.exports,xb;function yt(){return xb||(xb=1,function(e){var t=Fe&&Fe.__importDefault||function(le){return le&&le.__esModule?le:{default:le}};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 n=Ae,i=lr(),r=Jt,l=t(Wa);function u(le){const X=[],z=[];for(let K=0;K<128;K++){let se=0;const he=le(K);he===String.fromCharCode(K)&&(se=1),X.push(he),z.push(se)}return{charStringMap:X,charNoEscapeMap:z}}function f(le){const X=[];for(let z=0;z<128;z++)X.push(le(z));return function(z){return z<128?X[z]:le(z)}}function m(le){const{charStringMap:X,charNoEscapeMap:z}=u(le);return function(se){let he=null,ve=0,we=0;for(;we<se.length;){const Pe=se.charCodeAt(we);if(z[Pe]!==1){he===null&&(he=[]),he.push(se.substring(ve,we));const je=X[Pe];je===void 0?he.push(le(se.charCodeAt(we))):he.push(je),ve=we+1}we++}return he===null?se:(he.push(se.substring(ve,we)),he.join(""))}}e.utf16ConcatMap=m;function v(le){return le>=55296&&le<=56319}function S(le){return le>=56320&&le<=57343}function C(le){const{charStringMap:X,charNoEscapeMap:z}=u(le);return function(se){let he=null,ve=0,we=0;for(;we<se.length;){let Pe=se.charCodeAt(we);if(z[Pe]!==1){if(he===null&&(he=[]),he.push(se.substring(ve,we)),v(Pe)){const Q=Pe;we++;const ee=se.charCodeAt(we);(0,r.messageAssert)(S(ee),"MiscUnicodeHighSurrogateWithoutLowSurrogate",{});const G=Q-55296;Pe=65536+(ee-56320)+(G<<10)}const je=X[Pe];je===void 0?he.push(le(Pe)):he.push(je),ve=we+1}we++}return he===null?se:(he.push(se.substring(ve,we)),he.join(""))}}e.utf32ConcatMap=C;function D(le){return m(X=>le(X)?String.fromCharCode(X):"")}e.utf16LegalizeCharacters=D;function _(le){return C(X=>X<=65535&&le(X)?String.fromCharCode(X):"")}e.legalizeCharacters=_;function E(le,X){if((0,n.assert)(X>=0,"Cannot repeat a string a negative number of times"),X===0)return"";let z="";do X%2!==0&&(z+=le),X=Math.floor(X/2),X>0&&(le+=le);while(X>0);return z}e.repeatString=E;function T(le,X){let z=le.toString(16);return z.length>=X?z:E("0",X-z.length)+z}e.intToHex=T;function P(le){return le<=65535?"\\u"+T(le,4):"\\U"+T(le,8)}e.standardUnicodeHexEscape=P;function I(le,X){function z(K){switch(K){case 92:return"\\\\";case 34:return'\\"';case 10:return"\\n";case 9:return"\\t";default:return le(K)?String.fromCharCode(K):X(K)}}return z}e.escapeNonPrintableMapper=I,e.utf16StringEscape=m(I(M,P)),e.stringEscape=C(I(M,P));function M(le){if(le>65535)return!1;const X=l.default.getCategory(le);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(X)>=0}e.isPrintable=M;function H(le){return le<128}e.isAscii=H;function Z(le){const X=l.default.getCategory(le);return["Lu","Ll","Lt","Lo"].indexOf(X)>=0}e.isLetter=Z;function U(le){const X=l.default.getCategory(le);return["Nd"].indexOf(X)>=0}e.isDigit=U;function B(le){const X=l.default.getCategory(le);return["No","Nd","Nl"].indexOf(X)>=0}e.isNumeric=B;function F(le){return Z(le)||U(le)}e.isLetterOrDigit=F;function y(le){return Z(le)||le===95}e.isLetterOrUnderscore=y;function w(le){return y(le)||U(le)}e.isLetterOrUnderscoreOrDigit=w;function L(le){return Z(le)||U(le)}e.isWordCharacter=L;function N(le){const X=le.length;let z=X;for(let K=X-1;K>=0&&l.default.isWhiteSpace(le.charCodeAt(K));K--)z=K;return z===X?le:le.slice(0,z)}e.trimEnd=N;function p(le,X){return X===""?X:le(X[0])+X.slice(1)}function o(le){return p(X=>X.toUpperCase(),le)}e.capitalize=o;function a(le){return p(X=>X.toLowerCase(),le)}e.decapitalize=a;const d=/[-_. ]+/;function h(le){return le.split(d).map(o).join("")}e.pascalCase=h;function b(le){return a(h(le))}e.camelCase=b;function R(le){return ue(le).map(({word:z})=>z.toLowerCase()).join("_")}e.snakeCase=R;function x(le,X,z){const K=X?o:a;return z===""?K("empty"):le(z.charCodeAt(0))?K(z):K("the"+z)}e.startWithLetter=x;const j=new Set(i.acronyms),W=f(L),k=f(le=>!L(le)),O=f(le=>l.default.isLowerCase(le));e.fastIsUpperCase=f(le=>l.default.isUpperCase(le));const V=f(le=>!l.default.isLowerCase(le)&&!l.default.isUpperCase(le)),te=f(U);function ue(le){const X=[];let z;const K=le.length;let se=0,he;function ve(){return se>=K}function we(){return(0,n.defined)(le.codePointAt(se))}function Pe(Le){for(;!ve();){const Re=we();if(!Le(Re))break;O(Re)&&(he=se),se++}}function je(){Pe(k)}function Q(){Pe(O)}function ee(){Pe(e.fastIsUpperCase)}function G(){Pe(V)}function A(){Pe(te)}function J(){(0,n.assert)(z===void 0,"Interval started before last one was committed"),z=se}function re(){if(z===void 0)return(0,n.panic)("Tried to commit interval without starting one");(0,n.assert)(se>z,"Interval must be non-empty"),!ve()&&S(we())&&(se+=1);const Le=he===void 0||he<z;X.push([z,se,Le]),z=void 0}function me(){return z===void 0?(0,n.panic)("Tried to get interval length without starting one"):se-z}for(;je(),!ve();)J(),O(we())?(Q(),A(),re()):(0,e.fastIsUpperCase)(we())?(ee(),ve()?re():me()===1?(Q(),A(),re()):U(we())?(A(),re()):(W(we())&&(se-=1),re())):(G(),re());const Se=[];for(const[Le,Re,nt]of X){const st=le.slice(Le,Re),dt=he!==void 0&&nt||j.has(st.toLowerCase());Se.push({word:st,isAcronym:dt})}return Se}e.splitIntoWords=ue;function Y(le){return(0,n.assert)(le.length>0,"Cannot style an empty string"),le[0].toUpperCase()+le.slice(1).toLowerCase()}e.firstUpperWordStyle=Y;function $(le){return le.toUpperCase()}e.allUpperWordStyle=$;function ae(le){return le}e.originalWord=ae;function pe(le){return le.toLowerCase()}e.allLowerWordStyle=pe;function Te(le,X){(0,n.assert)(X.length>0,"Tried to style an empty word");const z=le(X);return(0,n.assert)(z.length>0,"Word style must not make word empty"),z}function Ne(le,X,z,K,se,he,ve,we){const Pe=[];for(const J of le){const re=X(J.word);re.length!==0&&Pe.push({word:re,isAcronym:J.isAcronym})}if(Pe.length===0){const J=X("empty");(0,n.assert)(J.length>0,'Word "empty" is invalid in target language'),Pe.push({word:J,isAcronym:!1})}const je=[],Q=Pe[0],ee=Q.isAcronym?se:z,G=Te(ee,Q.word);let A;if(we((0,n.defined)(G.codePointAt(0))))je.push(G),A=Pe.slice(1);else{const J=X("the");(0,n.assert)(J.length>0,'Word "the" is invalid in the target language');const re=Te(z,J);(0,n.assert)(we((0,n.defined)(re.codePointAt(0))),'The first character of styling "the" is not a start character'),je.push(re),A=Pe}for(const J of A){const re=J.isAcronym?he:K;je.push(Te(re,J.word))}return je.join(ve)}e.combineWords=Ne;function ce(le,X){return X.startsWith(le)?X:le+X}e.addPrefixIfNecessary=ce;function fe(le,X,z){let K,se,he,ve,we;switch(le==="pascal"||le==="camel"||le==="pascal-upper-acronyms"||le==="camel-upper-acronyms"?(K="",le==="pascal-upper-acronyms"||le==="camel-upper-acronyms"?(he=Y,we=$):he=we=Y):K="_",le){case"pascal":case"pascal-upper-acronyms":se=ve=Y;break;case"camel":case"camel-upper-acronyms":se=ve=pe;break;case"underscore":se=he=ve=we=pe;break;case"upper-underscore":se=he=ve=we=$;break;default:return(0,n.assertNever)(le)}return Pe=>{const je=ue(Pe),Q=Ne(je,X,se,he,ve,we,K,y);return z!==void 0?ce(z,Q):Q}}e.makeNameStyle=fe}(Sd)),Sd}var Yl={};Object.defineProperty(Yl,"__esModule",{value:!0});Yl.Chance=void 0;class e2{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 t2{constructor(t){this.seed=t,this.mt=new e2(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(n2[this.pick(t)])}city(){return this.pick(i2)}}Yl.Chance=t2;const n2={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"]},i2=["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(B,F,y,w){w===void 0&&(w=y);var L=Object.getOwnPropertyDescriptor(F,y);(!L||("get"in L?!F.__esModule:L.writable||L.configurable))&&(L={enumerable:!0,get:function(){return F[y]}}),Object.defineProperty(B,w,L)}:function(B,F,y,w){w===void 0&&(w=y),B[w]=F[y]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(B,F){Object.defineProperty(B,"default",{enumerable:!0,value:F})}:function(B,F){B.default=F}),i=Fe&&Fe.__importStar||function(B){if(B&&B.__esModule)return B;var F={};if(B!=null)for(var y in B)y!=="default"&&Object.prototype.hasOwnProperty.call(B,y)&&t(F,B,y);return n(F,B),F};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(tv),l=Je,u=Ae,f=ft,m=yt(),v=Yl;let S,C;function D(){S=new v.Chance(31415),C=new Set}e.initTypeNames=D,D();function _(){for(;;){const B=`${S.city()} ${S.animal()}`;if(!C.has(B))return C.add(B),B}}function E(B){let F=(0,l.iterableFirst)(B);if(F===void 0)return(0,u.panic)("Named type has no names");if(B.size===1)return F;const y=(0,l.setMap)(B,d=>(0,m.splitIntoWords)(d).map(h=>h.word.toLowerCase()).join("_")),w=(0,u.defined)((0,l.iterableFirst)(y));if(y.size===1)return w;let L=w.length,N=w.length;for(const d of(0,l.iterableSkip)(y,1)){L=Math.min(L,d.length);for(let h=0;h<L;h++)if(w[h]!==d[h]){L=h;break}N=Math.min(N,d.length);for(let h=0;h<N;h++)if(w[w.length-h-1]!==d[d.length-h-1]){N=h;break}}const p=L>2?w.slice(0,L):"",o=N>2?w.slice(w.length-N):"",a=p+o;return a.length>2?a:w}e.tooManyNamesThreshold=1e3;class T{static makeWithDistance(F,y,w){return F.size>=e.tooManyNamesThreshold?new I(w):((y===void 0||y.size>e.tooManyNamesThreshold)&&(y=void 0),new P(F,y,w))}static make(F,y,w){return T.makeWithDistance(F,y,w?1:0)}constructor(F){this.distance=F}get areInferred(){return this.distance>0}}e.TypeNames=T;class P extends T{constructor(F,y,w){super(w),this.names=F,this._alternativeNames=y}add(F,y=0){let w=new Set(this.names),L=this.distance,N=(0,l.definedMap)(this._alternativeNames,p=>new Set(p));for(let p=y;p<F.length;p++){const o=F[p];if(o instanceof P&&o._alternativeNames!==void 0&&(N===void 0&&(N=new Set),(0,l.setUnionInto)(N,o._alternativeNames)),!(o.distance>L)){if(!(o instanceof P))return(0,u.assert)(o instanceof I,"Unknown TypeNames instance"),o.add(F,p+1);o.distance<L?(w=new Set(o.names),L=o.distance,N=(0,l.definedMap)(o._alternativeNames,a=>new Set(a))):((0,u.assert)(o.distance===L,"This should be the only case left"),(0,l.setUnionInto)(w,o.names))}}return T.makeWithDistance(w,N,L)}clearInferred(){const F=this.areInferred?new Set:this.names;return T.makeWithDistance(F,new Set,this.distance)}get combinedName(){return E(this.names)}get proposedNames(){const F=new Set([this.combinedName]);return this._alternativeNames===void 0||(0,l.setUnionInto)(F,this._alternativeNames),F}makeInferred(){return T.makeWithDistance(this.names,this._alternativeNames,this.distance+1)}singularize(){return T.makeWithDistance((0,l.setMap)(this.names,r.singular),(0,l.definedMap)(this._alternativeNames,F=>(0,l.setMap)(F,r.singular)),this.distance+1)}toString(){const y=`${this.areInferred?`distance ${this.distance}`:"given"} ${Array.from(this.names).join(",")}`;return this._alternativeNames===void 0?y:`${y} (${Array.from(this._alternativeNames).join(",")})`}}e.RegularTypeNames=P;class I extends T{constructor(F,y){super(F),y===void 0&&(y=_()),this.names=new Set([y])}get combinedName(){return(0,u.defined)((0,l.iterableFirst)(this.names))}get proposedNames(){return this.names}add(F,y=0){if(!this.areInferred)return this;for(let w=y;w<F.length;w++){const L=F[w];if(L.distance<this.distance)return L.add(F,w+1)}return this}clearInferred(){return this.areInferred?T.makeWithDistance(new Set,new Set,this.distance):this}makeInferred(){return new I(this.distance+1,(0,l.iterableFirst)(this.names))}singularize(){return this}toString(){return`too many ${this.combinedName}`}}e.TooManyTypeNames=I;class M extends f.TypeAttributeKind{constructor(){super("names")}combine(F){return(0,u.assert)(F.length>0,"Can't combine zero type names"),F[0].add(F,1)}makeInferred(F){return F.makeInferred()}increaseDistance(F){return F.makeInferred()}stringify(F){return F.toString()}}e.namesTypeAttributeKind=new M;function H(B,F){return e.namesTypeAttributeKind.modifyInAttributes(B,F)}e.modifyTypeNames=H;function Z(B){return H(B,F=>{if(F!==void 0)return F.singularize()})}e.singularizeTypeNames=Z;function U(B,F){let y;return typeof B=="string"?y=T.make(new Set([B]),new Set,(0,u.defined)(F)):y=B,e.namesTypeAttributeKind.makeAttributes(y)}e.makeNamesTypeAttributes=U})(sr);var bt={},Ye={},Vi={},Nd={},Ub;function Mo(){return Ub||(Ub=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.TypeBuilder=e.getNoStringTypeMapping=e.stringTypeMappingGet=e.provenanceTypeAttributeKind=void 0;const t=Je,n=rt(),i=hi(),r=ft,l=Ae,u=cr();class f extends r.TypeAttributeKind{constructor(){super("provenance")}appliesToTypeKind(_){return!0}combine(_){return(0,t.setUnionManyInto)(new Set,_)}makeInferred(_){return _}stringify(_){return Array.from(_).sort().map(E=>E.toString()).join(",")}}e.provenanceTypeAttributeKind=new f;function m(D,_){const E=D.get(_);return E===void 0?"string":E}e.stringTypeMappingGet=m;let v;function S(){return v===void 0&&(v=new Map(Array.from(n.transformedStringTypeKinds).map(D=>[D,D]))),v}e.getNoStringTypeMapping=S;class C{constructor(_,E,T,P,I,M){this._stringTypeMapping=E,this.canonicalOrder=T,this._allPropertiesOptional=P,this._addProvenanceAttributes=I,this.topLevels=new Map,this.types=[],this.typeAttributes=[],this._addedForwardingIntersection=!1,this._typeForIdentity=new t.EqualityMap,(0,l.assert)(!I||!M,"We can't both inherit as well as add provenance"),this.typeGraph=new i.TypeGraph(this,_,I||M)}addTopLevel(_,E){(0,l.assert)(!this.topLevels.has(_),"Trying to add top-level with existing name"),(0,l.assert)(this.types[(0,i.typeRefIndex)(E)]!==void 0,"Trying to add a top-level type that doesn't exist (yet?)"),this.topLevels.set(_,E)}reserveTypeRef(){const _=this.types.length;this.types.push(void 0);const E=(0,i.makeTypeRef)(this.typeGraph,_),T=this._addProvenanceAttributes?e.provenanceTypeAttributeKind.makeAttributes(new Set([_])):r.emptyTypeAttributes;return this.typeAttributes.push(T),E}assertTypeRefGraph(_){_!==void 0&&(0,i.assertTypeRefGraph)(_,this.typeGraph)}assertTypeRefSetGraph(_){_!==void 0&&_.forEach(E=>this.assertTypeRefGraph(E))}filterTypeAttributes(_,E){const T=(0,t.mapFilter)(E,(P,I)=>I.appliesToTypeKind(_.kind));return E.size!==T.size&&this.setLostTypeAttributes(),T}commitType(_,E){this.assertTypeRefGraph(_);const T=(0,i.typeRefIndex)(_);(0,l.assert)(this.types[T]===void 0,"A type index was committed twice"),this.types[T]=E,this.typeAttributes[T]=this.filterTypeAttributes(E,this.typeAttributes[T])}addType(_,E,T){_!==void 0&&(this.assertTypeRefGraph(_),(0,l.assert)(this.types[(0,i.typeRefIndex)(_)]===void 0));const P=_!==void 0?_:this.reserveTypeRef();if(T!==void 0){const M=(0,i.typeRefIndex)(P);this.typeAttributes[M]=(0,r.combineTypeAttributes)("union",this.typeAttributes[M],T)}const I=E(P);return this.commitType(P,I),P}typeAtIndex(_){const E=this.types[_];return E===void 0?(0,l.panic)("Trying to deref an undefined type in a type builder"):E}atIndex(_){const E=this.typeAtIndex(_),T=this.typeAttributes[_];return[E,T]}addAttributes(_,E){this.assertTypeRefGraph(_);const T=(0,i.typeRefIndex)(_),P=this.typeAttributes[T];(0,l.assert)((0,t.iterableEvery)(E,([H,Z])=>{if(!H.inIdentity)return!0;const U=P.get(H);return U===void 0?!1:(0,t.areEqual)(U,Z)}),"Can't add different identity type attributes to an existing type");const I=this.types[T];I!==void 0&&(E=this.filterTypeAttributes(I,E));const M=(0,t.mapFilter)(E,(H,Z)=>!Z.inIdentity);this.typeAttributes[T]=(0,r.combineTypeAttributes)("union",P,M)}finish(){return this.typeGraph.freeze(this.topLevels,this.types.map(l.defined),this.typeAttributes),this.typeGraph}addForwardingIntersection(_,E){return this.assertTypeRefGraph(E),this._addedForwardingIntersection=!0,this.addType(_,T=>new n.IntersectionType(T,this.typeGraph,new Set([E])),void 0)}forwardIfNecessary(_,E){if(E!==void 0)return _===void 0?E:this.addForwardingIntersection(_,E)}get didAddForwardingIntersection(){return this._addedForwardingIntersection}registerTypeForIdentity(_,E){_!==void 0&&this._typeForIdentity.set(_,E)}makeIdentity(_){return _()}getOrAddType(_,E,T,P){const I=this.makeIdentity(_);let M;if(I===void 0?M=void 0:M=this._typeForIdentity.get(I),M!==void 0){const Z=this.forwardIfNecessary(P,M);return T!==void 0&&this.addAttributes(Z,(0,t.mapFilter)(T,(U,B)=>!B.inIdentity)),Z}const H=this.addType(P,E,T);return this.registerTypeForIdentity(I,H),H}registerType(_){this.registerTypeForIdentity(_.identity,_.typeRef)}getPrimitiveType(_,E,T){const P=(0,t.withDefault)(E,r.emptyTypeAttributes);let I=_==="string"?void 0:u.StringTypes.unrestricted;return(0,n.isPrimitiveStringTypeKind)(_)&&_!=="string"&&(_=m(this._stringTypeMapping,_)),_==="string"?this.getStringType(P,I,T):this.getOrAddType(()=>(0,n.primitiveTypeIdentity)(_,P),M=>new n.PrimitiveType(M,this.typeGraph,_),P,T)}getStringType(_,E,T){const P=(0,t.mapFind)(_,(I,M)=>M===u.stringTypesTypeAttributeKind);return(0,l.assert)(E===void 0!=(P===void 0),"Must instantiate string type with one enum case attribute"),P===void 0&&(_=(0,r.combineTypeAttributes)("union",_,u.stringTypesTypeAttributeKind.makeAttributes((0,l.defined)(E)))),this.getOrAddType(()=>(0,n.primitiveTypeIdentity)("string",_),I=>new n.PrimitiveType(I,this.typeGraph,"string"),_,T)}getEnumType(_,E,T){return this.getOrAddType(()=>(0,n.enumTypeIdentity)(_,E),P=>new n.EnumType(P,this.typeGraph,E),_,T)}makeClassProperty(_,E){return new n.ClassProperty(_,this.typeGraph,E)}getUniqueObjectType(_,E,T,P){return this.assertTypeRefGraph(T),E=(0,t.definedMap)(E,I=>this.modifyPropertiesIfNecessary(I)),this.addType(P,I=>new n.ObjectType(I,this.typeGraph,"object",!0,E,T),_)}getUniqueMapType(_){return this.addType(_,E=>new n.MapType(E,this.typeGraph,void 0),void 0)}getMapType(_,E,T){return this.assertTypeRefGraph(E),this.getOrAddType(()=>(0,n.mapTypeIdentify)(_,E),P=>new n.MapType(P,this.typeGraph,E),_,T)}setObjectProperties(_,E,T){this.assertTypeRefGraph(T);const P=(0,i.derefTypeRef)(_,this.typeGraph);if(!(P instanceof n.ObjectType))return(0,l.panic)("Tried to set properties of non-object type");P.setProperties(this.modifyPropertiesIfNecessary(E),T),this.registerType(P)}getUniqueArrayType(_){return this.addType(_,E=>new n.ArrayType(E,this.typeGraph,void 0),void 0)}getArrayType(_,E,T){return this.assertTypeRefGraph(E),this.getOrAddType(()=>(0,n.arrayTypeIdentity)(_,E),P=>new n.ArrayType(P,this.typeGraph,E),_,T)}setArrayItems(_,E){this.assertTypeRefGraph(E);const T=(0,i.derefTypeRef)(_,this.typeGraph);if(!(T instanceof n.ArrayType))return(0,l.panic)("Tried to set items of non-array type");T.setItems(E),this.registerType(T)}modifyPropertiesIfNecessary(_){return _.forEach(E=>this.assertTypeRefGraph(E.typeRef)),this.canonicalOrder&&(_=(0,t.mapSortByKey)(_)),this._allPropertiesOptional&&(_=(0,t.mapMap)(_,E=>this.makeClassProperty(E.typeRef,!0))),_}getClassType(_,E,T){return E=this.modifyPropertiesIfNecessary(E),this.getOrAddType(()=>(0,n.classTypeIdentity)(_,E),P=>new n.ClassType(P,this.typeGraph,!1,E),_,T)}getUniqueClassType(_,E,T,P){return T=(0,t.definedMap)(T,I=>this.modifyPropertiesIfNecessary(I)),this.addType(P,I=>new n.ClassType(I,this.typeGraph,E,T),_)}getUnionType(_,E,T){return this.assertTypeRefSetGraph(E),this.getOrAddType(()=>(0,n.unionTypeIdentity)(_,E),P=>new n.UnionType(P,this.typeGraph,E),_,T)}getUniqueUnionType(_,E,T){return this.assertTypeRefSetGraph(E),this.addType(T,P=>new n.UnionType(P,this.typeGraph,E),_)}getIntersectionType(_,E,T){return this.assertTypeRefSetGraph(E),this.getOrAddType(()=>(0,n.intersectionTypeIdentity)(_,E),P=>new n.IntersectionType(P,this.typeGraph,E),_,T)}getUniqueIntersectionType(_,E,T){return this.assertTypeRefSetGraph(E),this.addType(T,P=>new n.IntersectionType(P,this.typeGraph,E),_)}setSetOperationMembers(_,E){this.assertTypeRefSetGraph(E);const T=(0,i.derefTypeRef)(_,this.typeGraph);if(!(T instanceof n.UnionType||T instanceof n.IntersectionType))return(0,l.panic)("Tried to set members of non-set-operation type");T.setMembers(E),this.registerType(T)}setLostTypeAttributes(){}}e.TypeBuilder=C}(Nd)),Nd}var zb;function cr(){if(zb)return Vi;zb=1,Object.defineProperty(Vi,"__esModule",{value:!0}),Vi.inferTransformedStringTypeKindForString=Vi.stringTypesTypeAttributeKind=Vi.StringTypes=void 0;const e=Je,t=ft,n=Ae,i=Mo();let r=class Cr{static fromCase(P,I){return new Cr(new Map([[P,I]]),new Set)}static fromCases(P){for(const I of P);return new Cr(new Map(P.map(I=>[I,1])),new Set)}constructor(P,I){this.cases=P,this.transformations=I,P===void 0&&(0,n.assert)(I.size===0,"We can't have an unrestricted string that also allows transformations")}get isRestricted(){return this.cases!==void 0}union(P,I){if(this.cases===void 0)return this;const M=new Map(this.cases),H=new Set(this.transformations);for(let Z=I;Z<P.length;Z++){const U=P[Z];if(U.cases===void 0)return U;(0,e.mapMergeWithInto)(M,(B,F)=>B+F,U.cases),(0,e.setUnionInto)(H,U.transformations)}return new Cr(M,H)}intersect(P,I){let M=this.cases,H=this.transformations;for(let Z=I;Z<P.length;Z++){const U=P[Z];if(M===void 0)M=(0,e.definedMap)(U.cases,B=>new Map(B));else if(U.cases!==void 0){const B=M,F=U.cases,y=(0,e.setIntersect)(B.keys(),new Set(F.keys())),w=y.size>0?y.entries():new Set(B.keys()).entries();M=(0,e.mapMap)(w,L=>{var N;const p=(0,n.defined)(B.get(L)),o=(N=F.get(L))!==null&&N!==void 0?N:Math.min();return Math.min(p,o)})}H=(0,e.setIntersect)(H,U.transformations)}return new Cr(M,H)}applyStringTypeMapping(P){if(!this.isRestricted)return this;const I=new Set;for(const M of this.transformations){const H=(0,i.stringTypeMappingGet)(P,M);if(H==="string")return Cr.unrestricted;I.add(H)}return new Cr(this.cases,new Set(I))}equals(P){return P instanceof Cr?(0,e.areEqual)(this.cases,P.cases)&&(0,e.areEqual)(this.transformations,P.transformations):!1}hashCode(){let P=(0,e.hashCodeOf)(this.cases);return P=(0,e.addHashCode)(P,(0,e.hashCodeOf)(this.transformations)),P}toString(){const P=[],I=this.cases;if(I===void 0)P.push("unrestricted");else{const M=(0,e.iterableFirst)(I.keys());M===void 0?P.push("enum with no cases"):P.push(`${I.size.toString()} enums: ${M} (${I.get(M)}), ...`)}return P.concat(Array.from(this.transformations)).join(",")}};Vi.StringTypes=r,r.unrestricted=new r(void 0,new Set);class l extends t.TypeAttributeKind{constructor(){super("stringTypes")}get inIdentity(){return!0}requiresUniqueIdentity(P){return P.cases!==void 0&&P.cases.size>0}combine(P){return(0,n.assert)(P.length>0),P[0].union(P,1)}intersect(P){return(0,n.assert)(P.length>0),P[0].intersect(P,1)}makeInferred(P){}stringify(P){return P.toString()}}Vi.stringTypesTypeAttributeKind=new l;const u=/^(0|-?[1-9]\d*)$/,f=1<<31,m=-(f+1);function v(T){if(T.match(u)===null)return!1;const P=parseInt(T,10);return P>=f&&P<=m}const S=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function C(T){return T.match(S)!==null}const D=/^(https?|ftp):\/\/[^{}]+$/;function _(T){return T.match(D)!==null}function E(T,P){if(!(T.length===0||"0123456789-abcdefth".indexOf(T[0])<0)){if(P.isDate(T))return"date";if(P.isTime(T))return"time";if(P.isDateTime(T))return"date-time";if(v(T))return"integer-string";if(T==="false"||T==="true")return"bool-string";if(C(T))return"uuid";if(_(T))return"uri"}}return Vi.inferTransformedStringTypeKindForString=E,Vi}var Jb;function tt(){if(Jb)return Ye;Jb=1,Object.defineProperty(Ye,"__esModule",{value:!0}),Ye.matchCompoundType=Ye.matchType=Ye.matchTypeExhaustive=Ye.stringTypesForType=Ye.directlyReachableSingleNamedType=Ye.directlyReachableTypes=Ye.separateNamedTypes=Ye.isNamedType=Ye.getNullAsOptional=Ye.nonNullTypeCases=Ye.nullableFromUnion=Ye.removeNullFromType=Ye.removeNullFromUnion=Ye.isAnyOrNull=Ye.combineTypeAttributesOfTypes=Ye.makeGroupsToFlatten=Ye.setOperationMembersRecursively=Ye.assertIsClass=Ye.assertIsObject=void 0;const e=Je,t=Ae,n=ft,i=rt(),r=cr();function l(y){return y instanceof i.ObjectType?y:(0,t.panic)("Supposed object type is not an object type")}Ye.assertIsObject=l;function u(y){return y instanceof i.ClassType?y:(0,t.panic)("Supposed class type is not a class type")}Ye.assertIsClass=u;function f(y,w){const L=Array.isArray(y)?y:[y],N=L[0].kind,p=N!=="intersection",o=new Set,a=new Set;let d=n.emptyTypeAttributes;function h(b){if(b.kind===N){const R=b;if(o.has(R))return;o.add(R),w!==void 0&&(d=(0,n.combineTypeAttributes)(w,d,b.getAttributes()));for(const x of R.members)h(x)}else p||b.kind!=="any"?a.add(b):w!==void 0&&(d=(0,n.combineTypeAttributes)(w,d,b.getAttributes()))}for(const b of L)h(b);return[a,d]}Ye.setOperationMembersRecursively=f;function m(y,w){const L=new e.EqualityMap;for(const N of y){const p=new Set(f(N,void 0)[0]);if(w!==void 0&&!w(p))continue;let o=L.get(p);o===void 0&&(o=new Set,p.size===1&&o.add((0,t.defined)((0,e.iterableFirst)(p)))),o.add(N),L.set(p,o)}return Array.from(L.values()).map(N=>Array.from(N))}Ye.makeGroupsToFlatten=m;function v(y,w){return(0,n.combineTypeAttributes)(y,Array.from(w).map(L=>L.getAttributes()))}Ye.combineTypeAttributesOfTypes=v;function S(y){return y.kind==="any"||y.kind==="null"}Ye.isAnyOrNull=S;function C(y,w=!1){function L(p){return w===!1?p:w===!0?(0,e.setSortBy)(p,o=>o.kind):(0,e.setSortBy)(p,w)}const N=y.findMember("null");return N===void 0?[null,L(y.members)]:[N,L((0,e.setFilter)(y.members,p=>p.kind!=="null"))]}Ye.removeNullFromUnion=C;function D(y){return y.kind==="null"?[y,new Set]:y instanceof i.UnionType?C(y):[null,new Set([y])]}Ye.removeNullFromType=D;function _(y){const[w,L]=C(y);return w===null||L.size!==1?null:(0,t.defined)((0,e.iterableFirst)(L))}Ye.nullableFromUnion=_;function E(y){return D(y)[1]}Ye.nonNullTypeCases=E;function T(y){const[w,L]=D(y.type);return y.isOptional?[!0,L]:[w!==null,L]}Ye.getNullAsOptional=T;function P(y){return["class","union","enum","object"].indexOf(y.kind)>=0}Ye.isNamedType=P;function I(y){const w=(0,e.setFilter)(y,p=>p.kind==="object"||p.kind==="class"),L=(0,e.setFilter)(y,p=>p instanceof i.EnumType),N=(0,e.setFilter)(y,p=>p instanceof i.UnionType);return{objects:w,enums:L,unions:N}}Ye.separateNamedTypes=I;function M(y,w){const L=w(y);return L!==null?L:(0,e.setUnion)(...Array.from(y.getNonAttributeChildren()).map(N=>M(N,w)))}Ye.directlyReachableTypes=M;function H(y){const w=M(y,L=>!(L instanceof i.UnionType)&&P(L)||L instanceof i.UnionType&&_(L)===null?new Set([L]):null);return(0,t.assert)(w.size<=1,"Cannot have more than one defined type per top-level"),(0,e.iterableFirst)(w)}Ye.directlyReachableSingleNamedType=H;function Z(y){(0,t.assert)(y.kind==="string","Only strings can have string types");const w=r.stringTypesTypeAttributeKind.tryGetInAttributes(y.getAttributes());return w===void 0?(0,t.panic)("All strings must have a string type attribute"):w}Ye.stringTypesForType=Z;function U(y,w,L,N,p,o,a,d,h,b,R,x,j,W,k){if(y.isPrimitive()){if((0,i.isPrimitiveStringTypeKind)(y.kind))return y.kind==="string"?d(y):k(y);const O=y.kind,V={none:w,any:L,null:N,bool:p,integer:o,double:a}[O];return V!==void 0?V(y):(0,t.assertNever)(V)}else{if(y instanceof i.ArrayType)return h(y);if(y instanceof i.ClassType)return b(y);if(y instanceof i.MapType)return R(y);if(y instanceof i.ObjectType)return x(y);if(y instanceof i.EnumType)return j(y);if(y instanceof i.UnionType)return W(y)}return(0,t.panic)(`Unknown type ${y.kind}`)}Ye.matchTypeExhaustive=U;function B(y,w,L,N,p,o,a,d,h,b,R,x,j){function W(k){return(0,t.panic)(`Unsupported type ${k.kind} in non-exhaustive match`)}return U(y,W,w,L,N,p,o,a,d,h,b,W,R,x,j||W)}Ye.matchType=B;function F(y,w,L,N,p,o){function a(d){}return U(y,a,a,a,a,a,a,a,w,L,N,p,a,o,a)}return Ye.matchCompoundType=F,Ye}var si={},Wb;function r2(){if(Wb)return si;Wb=1,Object.defineProperty(si,"__esModule",{value:!0}),si.GraphRewriteBuilder=si.GraphRemapBuilder=si.BaseGraphRewriteBuilder=si.TypeReconstituter=void 0;const e=Je,t=tt(),n=hi(),i=ft,r=Ae,l=Mo();class u{constructor(C,D,_,E,T){this._typeBuilder=C,this._makeClassUnique=D,this._typeAttributes=_,this._forwardingRef=E,this._register=T,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(C){(0,r.assert)(this._typeRef===void 0,"Cannot register a type twice"),this._typeRef=C,this._register(C)}registerAndAddAttributes(C){this._typeBuilder.addAttributes(C,this._typeAttributes),this.register(C)}lookup(C){if((0,r.assert)(!this._wasUsed,"Cannot lookup constituents after building type"),(0,n.isTypeRef)(C))return this._typeBuilder.lookupTypeRefs([C],void 0,!1);{const D=Array.from(C).map(_=>this._typeBuilder.lookupTypeRefs([_],void 0,!1));return D.some(_=>_===void 0)?void 0:D}}lookupMap(C){const D=this.lookup(C.values());if(D===void 0)return;(0,r.assert)(D.length===C.size,"Didn't get back the correct number of types");const _=new Map;let E=0;for(const T of C.keys())_.set(T,D[E]),E+=1;return _}reconstitute(C){return(0,r.assert)(this._wasUsed,"Cannot reconstitute constituents before building type"),(0,n.isTypeRef)(C)?this._typeBuilder.reconstituteTypeRef(C):Array.from(C).map(D=>this._typeBuilder.reconstituteTypeRef(D))}reconstituteMap(C){return(0,e.mapMap)(C,D=>this._typeBuilder.reconstituteTypeRef(D))}getPrimitiveType(C){this.register(this.builderForNewType().getPrimitiveType(C,this._typeAttributes,this._forwardingRef))}getEnumType(C){this.register(this.builderForNewType().getEnumType(this._typeAttributes,C,this._forwardingRef))}getUniqueMapType(){this.registerAndAddAttributes(this.builderForNewType().getUniqueMapType(this._forwardingRef))}getMapType(C){this.register(this.builderForNewType().getMapType(this._typeAttributes,C,this._forwardingRef))}getUniqueArrayType(){this.registerAndAddAttributes(this.builderForNewType().getUniqueArrayType(this._forwardingRef))}getArrayType(C){this.register(this.builderForNewType().getArrayType(this._typeAttributes,C,this._forwardingRef))}setArrayItems(C){this.builderForSetting().setArrayItems(this.getResult(),C)}makeClassProperty(C,D){return this._typeBuilder.makeClassProperty(C,D)}getObjectType(C,D){this.register(this.builderForNewType().getUniqueObjectType(this._typeAttributes,C,D,this._forwardingRef))}getUniqueObjectType(C,D){this.register(this.builderForNewType().getUniqueObjectType(this._typeAttributes,C,D,this._forwardingRef))}getClassType(C){if(this._makeClassUnique){this.getUniqueClassType(!1,C);return}this.register(this.builderForNewType().getClassType(this._typeAttributes,C,this._forwardingRef))}getUniqueClassType(C,D){this.register(this.builderForNewType().getUniqueClassType(this._typeAttributes,C,D,this._forwardingRef))}setObjectProperties(C,D){this.builderForSetting().setObjectProperties(this.getResult(),C,D)}getUnionType(C){this.register(this.builderForNewType().getUnionType(this._typeAttributes,C,this._forwardingRef))}getUniqueUnionType(){this.register(this.builderForNewType().getUniqueUnionType(this._typeAttributes,void 0,this._forwardingRef))}getIntersectionType(C){this.register(this.builderForNewType().getIntersectionType(this._typeAttributes,C,this._forwardingRef))}getUniqueIntersectionType(C){this.register(this.builderForNewType().getUniqueIntersectionType(this._typeAttributes,C,this._forwardingRef))}setSetOperationMembers(C){this.builderForSetting().setSetOperationMembers(this.getResult(),C)}}si.TypeReconstituter=u;class f extends l.TypeBuilder{constructor(C,D,_,E,T){super(C.serial+1,D,_,!1,!1,E),this.originalGraph=C,this.debugPrint=T,this.reconstitutedTypes=new Map,this._lostTypeAttributes=!1,this._printIndent=0}withForwardingRef(C,D){if(C!==void 0)return D(C);const _=this.reserveTypeRef(),E=D(_);return(0,r.assert)(E===_,"Type creator didn't return its forwarding ref"),E}reconstituteType(C,D,_){return this.reconstituteTypeRef(C.typeRef,D,_)}reconstituteTypeRef(C,D,_){const E=this.lookupTypeRefs([C],_);return E!==void 0?(D!==void 0&&this.addAttributes(E,D),E):this.forceReconstituteTypeRef(C,D,_)}reconstituteTypeAttributes(C){return(0,e.mapMap)(C,(D,_)=>_.reconstitute(this,D))}assertTypeRefsToReconstitute(C,D){(0,r.assert)(C.length>0,"Must have at least one type to reconstitute");for(const _ of C)(0,n.assertTypeRefGraph)(_,this.originalGraph);D!==void 0&&(0,n.assertTypeRefGraph)(D,this.typeGraph)}changeDebugPrintIndent(C){this._printIndent+=C}get debugPrintIndentation(){return(0,r.indentationString)(this._printIndent)}finish(){for(const[C,D]of this.originalGraph.topLevels)this.addTopLevel(C,this.reconstituteType(D));return super.finish()}setLostTypeAttributes(){this._lostTypeAttributes=!0}get lostTypeAttributes(){return this._lostTypeAttributes}}si.BaseGraphRewriteBuilder=f;class m extends f{constructor(C,D,_,E,T,P){super(C,D,_,E,P),this._map=T,this._attributeSources=new Map;for(const[I,M]of T){let H=this._attributeSources.get(M);H===void 0&&(H=[M],this._attributeSources.set(M,H)),H.push(I)}}makeIdentity(C){}getMapTarget(C){const D=this._map.get((0,n.derefTypeRef)(C,this.originalGraph));return D===void 0?C:((0,r.assert)(this._map.get(D)===void 0,"We have a type that's remapped to a remapped type"),D.typeRef)}addForwardingIntersection(C,D){return(0,r.panic)("We can't add forwarding intersections when we're removing forwarding intersections")}lookupTypeRefs(C,D){(0,r.assert)(D===void 0,"We can't have a forwarding ref when we remap"),this.assertTypeRefsToReconstitute(C,D);const _=this.reconstitutedTypes.get((0,n.typeRefIndex)(this.getMapTarget(C[0])));if(_!==void 0){for(let E=1;E<C.length;E++){const T=this.reconstitutedTypes.get((0,n.typeRefIndex)(this.getMapTarget(C[E])));if(_!==T)return}return _}}forceReconstituteTypeRef(C,D,_){C=this.getMapTarget(C);const E=(0,n.typeRefIndex)(C);return(0,r.assert)(this.reconstitutedTypes.get(E)===void 0,"Type has already been reconstituted"),(0,r.assert)(_===void 0,"We can't have a forwarding ref when we remap"),this.withForwardingRef(void 0,T=>{this.reconstitutedTypes.set(E,T),this.debugPrint&&(console.log(`${this.debugPrintIndentation}reconstituting ${E} as ${(0,n.typeRefIndex)(T)}`),this.changeDebugPrintIndent(1));const[P,I]=(0,n.typeAndAttributesForTypeRef)(C,this.originalGraph),M=this._attributeSources.get(P);D===void 0&&(D=i.emptyTypeAttributes),M===void 0?D=(0,i.combineTypeAttributes)("union",D,this.reconstituteTypeAttributes(I)):D=(0,i.combineTypeAttributes)("union",D,this.reconstituteTypeAttributes((0,t.combineTypeAttributesOfTypes)("union",M)));const H=D,Z=new u(this,this.canonicalOrder,H,T,U=>{(0,r.assert)(U===T,"Reconstituted type as a different ref"),this.debugPrint&&(this.changeDebugPrintIndent(-1),console.log(`${this.debugPrintIndentation}reconstituted ${E} as ${(0,n.typeRefIndex)(U)}`))});return P.reconstitute(Z,this.canonicalOrder),Z.getResult()})}}si.GraphRemapBuilder=m;class v extends f{constructor(C,D,_,E,T,P,I){super(C,D,_,E,P),this._replacer=I,this._reconstitutedUnions=new e.EqualityMap,this._setsToReplaceByMember=new Map;for(const M of T){const H=new Set(M);for(const Z of H){const U=Z.index;(0,r.assert)(!this._setsToReplaceByMember.has(U),"A type is member of more than one set to be replaced"),this._setsToReplaceByMember.set(U,H)}}}registerUnion(C,D){const _=new Set(C);(0,r.assert)(!this._reconstitutedUnions.has(_),"Cannot register reconstituted set twice"),this._reconstitutedUnions.set(_,D)}replaceSet(C,D){return this.withForwardingRef(D,_=>{this.debugPrint&&(console.log(`${this.debugPrintIndentation}replacing set ${Array.from(C).map(T=>T.index.toString()).join(",")} as ${(0,n.typeRefIndex)(_)}`),this.changeDebugPrintIndent(1));for(const T of C){const P=T.typeRef,I=(0,n.typeRefIndex)(P);this.reconstitutedTypes.set(I,_),this._setsToReplaceByMember.delete(I)}const E=this._replacer(C,this,_);return(0,r.assert)(E===_,"The forwarding ref got lost when replacing"),this.debugPrint&&(this.changeDebugPrintIndent(-1),console.log(`${this.debugPrintIndentation}replaced set ${Array.from(C).map(T=>T.index.toString()).join(",")} as ${(0,n.typeRefIndex)(_)}`)),E})}forceReconstituteTypeRef(C,D,_){const[E,T]=(0,n.typeAndAttributesForTypeRef)(C,this.originalGraph),P=(0,n.typeRefIndex)(C);this.debugPrint&&(console.log(`${this.debugPrintIndentation}reconstituting ${P}`),this.changeDebugPrintIndent(1)),D===void 0?D=this.reconstituteTypeAttributes(T):D=(0,i.combineTypeAttributes)("union",D,this.reconstituteTypeAttributes(T));const I=new u(this,this.canonicalOrder,D,_,M=>{this.debugPrint&&(this.changeDebugPrintIndent(-1),console.log(`${this.debugPrintIndentation}reconstituted ${P} as ${(0,n.typeRefIndex)(M)}`)),_!==void 0&&(0,r.assert)(M===_,"We didn't pass the forwarding ref");const H=this.reconstitutedTypes.get(P);H===void 0?this.reconstitutedTypes.set(P,M):(0,r.assert)(M===H,"We reconstituted a type twice differently")});return E.reconstitute(I,this.canonicalOrder),I.getResult()}lookupTypeRefs(C,D,_=!0){this.assertTypeRefsToReconstitute(C,D);let E=this.reconstitutedTypes.get((0,n.typeRefIndex)(C[0]));if(E!==void 0&&E!==D){let P=!0;for(let I=1;I<C.length;I++)if(this.reconstitutedTypes.get((0,n.typeRefIndex)(C[I]))!==E){P=!1;break}if(P)return this.forwardIfNecessary(D,E)}if(E=this._reconstitutedUnions.get(new Set(C)),E!==void 0&&E!==D)return this.forwardIfNecessary(D,E);const T=this._setsToReplaceByMember.get((0,n.typeRefIndex)(C[0]));if(T!==void 0){for(let P=1;P<C.length;P++)if(this._setsToReplaceByMember.get((0,n.typeRefIndex)(C[P]))!==T)return;if(_)return this.replaceSet(T,D)}}}return si.GraphRewriteBuilder=v,si}var Ga={};Object.defineProperty(Ga,"__esModule",{value:!0});Ga.Graph=void 0;const s2=Je,Qt=Ae;function fv(e){if(e.length===0)return 0;let t=-1,n=0;for(const i of e){(0,Qt.assert)(i.length>0,"Empty component not allowed");for(const r of i)(0,Qt.assert)(r>=0,"Negative vertex index is invalid"),t=Math.max(t,r),n+=1}return(0,Qt.assert)(t+1===n,"Vertex indexes and count don't match up"),n}function o2(e){let t=0;const n=[],i=e.length,r=(0,Qt.repeated)(i,-1),l=(0,Qt.repeated)(i,-1),u=(0,Qt.repeated)(i,!1),f=[];function m(v){r[v]=t,l[v]=t,t+=1,n.push(v),u[v]=!0;for(const S of e[v])r[S]<0?(m(S),l[v]=Math.min(l[v],l[S])):u[S]&&(l[v]=Math.min(l[v],r[S]));if(l[v]===r[v]){const S=[];let C;do C=(0,Qt.defined)(n.pop()),u[C]=!1,S.push(C);while(C!==v);f.push(S)}}for(let v=0;v<i;v++)r[v]<0&&m(v);return(0,Qt.assert)(fv(f)===i,"We didn't put all the nodes into SCCs"),f}function a2(e,t){const n=t.length,i=e.length;(0,Qt.assert)(i===fv(t),"Components don't match up with graph");const r=(0,Qt.repeated)(i,-1);for(let l=0;l<n;l++)for(const u of t[l])(0,Qt.assert)(r[u]<0,"We have a node that's in two components"),r[u]=l;return r}function u2(e,t){const n=t.length,i=a2(e,t),r=(0,Qt.repeated)(n,!1),l=[];for(let u=0;u<n;u++){const f=[];for(const m of t[u])for(const v of e[m]){const S=i[v];S===u||r[S]||(f.push(S),r[S]=!0)}for(const m of f)(0,Qt.assert)(r[m]),r[m]=!1;l.push(f)}return l}function l2(e){const t=e.length,n=(0,Qt.repeatedCall)(t,()=>[]);for(let i=0;i<t;i++)for(const r of e[i])n[r].push(i);return n}function c2(e){const t=e.length,n=(0,Qt.repeated)(t,0);for(const i of e)for(const r of i)n[r]+=1;return n}function f2(e){const t=e.length,n=c2(e),i=[];for(let r=0;r<t;r++)n[r]===0&&i.push(r);return i}class pp{constructor(t,n,i){this._nodes=Array.from(t),this._indexByNode=new Map(this._nodes.map((l,u)=>[l,u]));let r;Array.isArray(i)?r=i:r=this._nodes.map(l=>Array.from(i(l)).map(u=>(0,Qt.defined)(this._indexByNode.get(u)))),n&&(r=l2(r)),this._successors=r}get size(){return this._nodes.length}get nodes(){return this._nodes}findRoots(){const t=f2(this._successors);return new Set(t.map(n=>this._nodes[n]))}dfsTraversal(t,n,i){const r=(0,Qt.repeated)(this.size,!1),l=u=>{if(!r[u]){r[u]=!0,n&&i(this._nodes[u]);for(const f of this._successors[u])l(f);n||i(this._nodes[u])}};l((0,Qt.defined)(this._indexByNode.get(t)))}stronglyConnectedComponents(){const t=o2(this._successors),n=u2(this._successors,t);return new pp(t.map(i=>(0,s2.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 l=this._nodes[r];t(l)&&i.push(` node${r} [label="${n(l)}"];`)}for(let r=0;r<this.size;r++)if(t(this._nodes[r]))for(const l of this._successors[r])t(this._nodes[l])&&i.push(` node${r} -> node${l};`);return i.push("}"),i.push(""),i.join(`
|
|
139
|
-
`)}}Ga.Graph=pp;var Gb;function hi(){if(Gb)return bt;Gb=1,Object.defineProperty(bt,"__esModule",{value:!0}),bt.removeIndirectionIntersections=bt.optionalToNullable=bt.noneToAny=bt.TypeGraph=bt.TypeAttributeStoreView=bt.TypeAttributeStore=bt.typeAndAttributesForTypeRef=bt.attributesForTypeRef=bt.derefTypeRef=bt.assertTypeRefGraph=bt.typeRefIndex=bt.makeTypeRef=bt.isTypeRef=void 0;const e=Je,t=rt(),n=tt(),i=Ae,r=Mo(),l=r2(),u=sr,f=Ga,m=ft,v=Jt,S=26,C=(1<<S)-1,_=(1<<31-S)-1;function E(p){return typeof p=="number"}bt.isTypeRef=E;function T(p,o){return(0,i.assert)(o<=C,"Too many types in graph"),(p.serial&_)<<S|o}bt.makeTypeRef=T;function P(p){return p&C}bt.typeRefIndex=P;function I(p,o){(0,i.assert)((p>>S&_)===(o.serial&_),"Mixing the wrong type reference and graph")}bt.assertTypeRefGraph=I;function M(p){return p instanceof y?p:p.originalGraph}function H(p,o){const a=M(o);return I(p,a),a.typeAtIndex(P(p))}bt.derefTypeRef=H;function Z(p,o){const a=M(o);return I(p,a),a.atIndex(P(p))[1]}bt.attributesForTypeRef=Z;function U(p,o){const a=M(o);return I(p,a),a.atIndex(P(p))}bt.typeAndAttributesForTypeRef=U;class B{constructor(o,a){this._typeGraph=o,this._values=a,this._topLevelValues=new Map}getTypeIndex(o){const a=o.typeRef;return I(a,this._typeGraph),P(a)}attributesForType(o){const a=this.getTypeIndex(o),d=this._values[a];return d!==void 0?d:m.emptyTypeAttributes}attributesForTopLevel(o){const a=this._topLevelValues.get(o);return a!==void 0?a:m.emptyTypeAttributes}setInMap(o,a,d){return new Map(o).set(a,d)}set(o,a,d){const h=this.getTypeIndex(a);for(;h>=this._values.length;)this._values.push(void 0);this._values[h]=this.setInMap(this.attributesForType(a),o,d)}setForTopLevel(o,a,d){this._topLevelValues.set(a,this.setInMap(this.attributesForTopLevel(a),o,d))}tryGetInMap(o,a){return o.get(a)}tryGet(o,a){return this.tryGetInMap(this.attributesForType(a),o)}tryGetForTopLevel(o,a){return this.tryGetInMap(this.attributesForTopLevel(a),o)}}bt.TypeAttributeStore=B;class F{constructor(o,a){this._attributeStore=o,this._definition=a}set(o,a){this._attributeStore.set(this._definition,o,a)}setForTopLevel(o,a){this._attributeStore.setForTopLevel(this._definition,o,a)}tryGet(o){return this._attributeStore.tryGet(this._definition,o)}get(o){return(0,i.defined)(this.tryGet(o))}tryGetForTopLevel(o){return this._attributeStore.tryGetForTopLevel(this._definition,o)}getForTopLevel(o){return(0,i.defined)(this.tryGetForTopLevel(o))}}bt.TypeAttributeStoreView=F;let y=class{constructor(o,a,d){this.serial=a,this._haveProvenanceAttributes=d,this._attributeStore=void 0,this._topLevels=new Map,this._parents=void 0,this._printOnRewrite=!1,this._typeBuilder=o}get isFrozen(){return this._typeBuilder===void 0}get attributeStore(){return(0,i.defined)(this._attributeStore)}freeze(o,a,d){(0,i.assert)(!this.isFrozen,"Tried to freeze TypeGraph a second time");for(const h of a)I(h.typeRef,this);this._attributeStore=new B(this,d),this._types=a,this._typeBuilder=void 0,this._topLevels=(0,e.mapMap)(o,h=>H(h,this))}get topLevels(){return(0,i.assert)(this.isFrozen,"Cannot get top-levels from a non-frozen graph"),this._topLevels}typeAtIndex(o){return this._typeBuilder!==void 0?this._typeBuilder.typeAtIndex(o):(0,i.defined)(this._types)[o]}atIndex(o){if(this._typeBuilder!==void 0)return this._typeBuilder.atIndex(o);const a=this.typeAtIndex(o);return[a,(0,i.defined)(this._attributeStore).attributesForType(a)]}filterTypes(o){const a=new Set;let d=[];function h(b){if(a.has(b))return;a.add(b),(o===void 0||o(b))&&d.push(b);for(const x of b.getChildren())h(x)}for(const[,b]of this.topLevels)h(b);return new Set(d)}allNamedTypes(){return this.filterTypes(n.isNamedType)}allNamedTypesSeparated(){const o=this.allNamedTypes();return(0,n.separateNamedTypes)(o)}allProvenance(){(0,i.assert)(this._haveProvenanceAttributes);const o=new F(this.attributeStore,r.provenanceTypeAttributeKind),a=Array.from(this.allTypesUnordered()).map(h=>{const b=o.tryGet(h);return b!==void 0?b:new Set}),d=new Set;return(0,e.setUnionManyInto)(d,a),d}setPrintOnRewrite(){this._printOnRewrite=!0}checkLostTypeAttributes(o,a){if(!this._haveProvenanceAttributes||o.lostTypeAttributes)return;const d=this.allProvenance(),h=a.allProvenance();if(d.size!==h.size){const b=(0,e.setSubtract)(d,h),R=Array.from(b);return(0,v.messageError)("IRTypeAttributesNotPropagated",{count:b.size,indexes:R})}}printRewrite(o){this._printOnRewrite&&console.log(`
|
|
140
|
-
# ${o}`)}rewrite(o,a,d,h,b,R,x=!1){if(this.printRewrite(o),!x&&h.length===0)return this;const j=new l.GraphRewriteBuilder(this,a,d,this._haveProvenanceAttributes,h,b,R),W=j.finish();return this.checkLostTypeAttributes(j,W),this._printOnRewrite&&(W.setPrintOnRewrite(),W.printGraph()),j.didAddForwardingIntersection?N(W,a,b):W}remap(o,a,d,h,b,R=!1){if(this.printRewrite(o),!R&&h.size===0)return this;const x=new l.GraphRemapBuilder(this,a,d,this._haveProvenanceAttributes,h,b),j=x.finish();return this.checkLostTypeAttributes(x,j),this._printOnRewrite&&(j.setPrintOnRewrite(),j.printGraph()),(0,i.assert)(!x.didAddForwardingIntersection),j}garbageCollect(o,a){return this.remap("GC",(0,r.getNoStringTypeMapping)(),o,new Map,a,!0)}rewriteFixedPoint(o,a){let d=this;for(;;){const h=this.rewrite("fixed-point",(0,r.getNoStringTypeMapping)(),o,[],a,i.mustNotHappen,!0);if(d.allTypesUnordered().size===h.allTypesUnordered().size)return d;d=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(o,a){return new f.Graph((0,i.defined)(this._types),o,a)}getParentsOfType(o){if(I(o.typeRef,this),this._parents===void 0){const a=(0,i.defined)(this._types).map(d=>new Set);for(const d of this.allTypesUnordered())for(const h of d.getChildren()){const b=h.index;a[b]=a[b].add(d)}this._parents=a}return this._parents[o.index]}printGraph(){const o=(0,i.defined)(this._types);for(let a=0;a<o.length;a++){const d=o[a],h=[];h.push(`${d.debugPrintKind}${d.hasNames?` ${d.getCombinedName()}`:""}`);const b=d.getChildren();b.size>0&&h.push(`children ${Array.from(b).map(R=>R.index).join(",")}`);for(const[R,x]of d.getAttributes()){const j=R.stringify(x);j!==void 0&&h.push(j)}console.log(`${a}: ${h.join(" | ")}`)}}};bt.TypeGraph=y;function w(p,o,a){const d=(0,e.setFilter)(p.allTypesUnordered(),h=>h.kind==="none");return d.size===0?p:((0,i.assert)(d.size===1,"Cannot have more than one none type"),p.rewrite("none to any",o,!1,[Array.from(d)],a,(h,b,R)=>{const x=(0,n.combineTypeAttributesOfTypes)("union",h);return b.getPrimitiveType("any",x,R)}))}bt.noneToAny=w;function L(p,o,a){function d(R,x,j){const W=(0,e.mapMap)(R.getProperties(),(k,O)=>{const V=k.type;let te;if(!k.isOptional||V.isNullable)te=x.reconstituteType(V);else{const ue=x.getPrimitiveType("null");let Y;V instanceof t.UnionType?Y=(0,e.setMap)(V.members,ae=>x.reconstituteType(ae)).add(ue):Y=new Set([x.reconstituteType(V),ue]);const $=u.namesTypeAttributeKind.setDefaultInAttributes(V.getAttributes(),()=>u.TypeNames.make(new Set([O]),new Set,!0));te=x.getUnionType($,Y)}return x.makeClassProperty(te,k.isOptional)});return R.isFixed?x.getUniqueClassType(R.getAttributes(),!0,W,j):x.getClassType(R.getAttributes(),W,j)}const h=(0,e.setFilter)(p.allTypesUnordered(),R=>R instanceof t.ClassType&&(0,e.mapSome)(R.getProperties(),x=>x.isOptional)),b=Array.from(h).map(R=>[R]);return h.size===0?p:p.rewrite("optional to nullable",o,!1,b,a,(R,x,j)=>{(0,i.assert)(R.size===1);const W=(0,i.defined)((0,e.iterableFirst)(R));return d(W,x,j)})}bt.optionalToNullable=L;function N(p,o,a){const d=[];for(const h of p.allTypesUnordered()){if(!(h instanceof t.IntersectionType))continue;const b=new Set([h]);let R=h;for(;R.members.size===1;){const x=(0,i.defined)((0,e.iterableFirst)(R.members));if(!(x instanceof t.IntersectionType)){d.push([h,x]);break}if(b.has(x))return(0,i.panic)("There's a cycle of intersection types");b.add(x),R=x}}return p.remap("remove indirection intersections",o,!1,new Map(d),a)}return bt.removeIndirectionIntersections=N,bt}var $l={},dv={exports:{}},ha={exports:{}};/*! https://mths.be/punycode v1.4.0 by @mathias */ha.exports;var qb;function d2(){return qb||(qb=1,function(e,t){(function(n){var i=t&&!t.nodeType&&t,r=e&&!e.nodeType&&e,l=typeof Fe=="object"&&Fe;(l.global===l||l.window===l||l.self===l)&&(n=l);var u,f=2147483647,m=36,v=1,S=26,C=38,D=700,_=72,E=128,T="-",P=/^xn--/,I=/[^\x20-\x7E]/,M=/[\x2E\u3002\uFF0E\uFF61]/g,H={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Z=m-v,U=Math.floor,B=String.fromCharCode,F;function y(j){throw new RangeError(H[j])}function w(j,W){for(var k=j.length,O=[];k--;)O[k]=W(j[k]);return O}function L(j,W){var k=j.split("@"),O="";k.length>1&&(O=k[0]+"@",j=k[1]),j=j.replace(M,".");var V=j.split("."),te=w(V,W).join(".");return O+te}function N(j){for(var W=[],k=0,O=j.length,V,te;k<O;)V=j.charCodeAt(k++),V>=55296&&V<=56319&&k<O?(te=j.charCodeAt(k++),(te&64512)==56320?W.push(((V&1023)<<10)+(te&1023)+65536):(W.push(V),k--)):W.push(V);return W}function p(j){return w(j,function(W){var k="";return W>65535&&(W-=65536,k+=B(W>>>10&1023|55296),W=56320|W&1023),k+=B(W),k}).join("")}function o(j){return j-48<10?j-22:j-65<26?j-65:j-97<26?j-97:m}function a(j,W){return j+22+75*(j<26)-((W!=0)<<5)}function d(j,W,k){var O=0;for(j=k?U(j/D):j>>1,j+=U(j/W);j>Z*S>>1;O+=m)j=U(j/Z);return U(O+(Z+1)*j/(j+C))}function h(j){var W=[],k=j.length,O,V=0,te=E,ue=_,Y,$,ae,pe,Te,Ne,ce,fe,le;for(Y=j.lastIndexOf(T),Y<0&&(Y=0),$=0;$<Y;++$)j.charCodeAt($)>=128&&y("not-basic"),W.push(j.charCodeAt($));for(ae=Y>0?Y+1:0;ae<k;){for(pe=V,Te=1,Ne=m;ae>=k&&y("invalid-input"),ce=o(j.charCodeAt(ae++)),(ce>=m||ce>U((f-V)/Te))&&y("overflow"),V+=ce*Te,fe=Ne<=ue?v:Ne>=ue+S?S:Ne-ue,!(ce<fe);Ne+=m)le=m-fe,Te>U(f/le)&&y("overflow"),Te*=le;O=W.length+1,ue=d(V-pe,O,pe==0),U(V/O)>f-te&&y("overflow"),te+=U(V/O),V%=O,W.splice(V++,0,te)}return p(W)}function b(j){var W,k,O,V,te,ue,Y,$,ae,pe,Te,Ne=[],ce,fe,le,X;for(j=N(j),ce=j.length,W=E,k=0,te=_,ue=0;ue<ce;++ue)Te=j[ue],Te<128&&Ne.push(B(Te));for(O=V=Ne.length,V&&Ne.push(T);O<ce;){for(Y=f,ue=0;ue<ce;++ue)Te=j[ue],Te>=W&&Te<Y&&(Y=Te);for(fe=O+1,Y-W>U((f-k)/fe)&&y("overflow"),k+=(Y-W)*fe,W=Y,ue=0;ue<ce;++ue)if(Te=j[ue],Te<W&&++k>f&&y("overflow"),Te==W){for($=k,ae=m;pe=ae<=te?v:ae>=te+S?S:ae-te,!($<pe);ae+=m)X=$-pe,le=m-pe,Ne.push(B(a(pe+X%le,0))),$=U(X/le);Ne.push(B(a($,0))),te=d(k,fe,O==V),k=0,++O}++k,++W}return Ne.join("")}function R(j){return L(j,function(W){return P.test(W)?h(W.slice(4).toLowerCase()):W})}function x(j){return L(j,function(W){return I.test(W)?"xn--"+b(W):W})}if(u={version:"1.3.2",ucs2:{decode:N,encode:p},decode:h,encode:b,toASCII:x,toUnicode:R},i&&r)if(e.exports==i)r.exports=u;else for(F in u)u.hasOwnProperty(F)&&(i[F]=u[F]);else n.punycode=u})(Fe)}(ha,ha.exports)),ha.exports}var kd={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 Hb;function h2(){return Hb||(Hb=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(l){var u=l.toLowerCase(),f=u.split(":"),m=f.length,v=8;f[0]===""&&f[1]===""&&f[2]===""?(f.shift(),f.shift()):f[0]===""&&f[1]===""?f.shift():f[m-1]===""&&f[m-2]===""&&f.pop(),m=f.length,f[m-1].indexOf(".")!==-1&&(v=7);var S;for(S=0;S<m&&f[S]!=="";S++);if(S<v)for(f.splice(S,1,"0000");f.length<v;)f.splice(S,0,"0000");for(var C,D=0;D<v;D++){C=f[D].split("");for(var _=0;_<3&&(C[0]==="0"&&C.length>1);_++)C.splice(0,1);f[D]=C.join("")}var E=-1,T=0,P=0,I=-1,M=!1;for(D=0;D<v;D++)M?f[D]==="0"?P+=1:(M=!1,P>T&&(E=I,T=P)):f[D]==="0"&&(M=!0,I=D,P=1);P>T&&(E=I,T=P),T>1&&f.splice(E,T,""),m=f.length;var H="";for(f[0]===""&&(H=":"),D=0;D<m&&(H+=f[D],D!==m-1);D++)H+=":";return f[m-1]===""&&(H+=":"),H}function r(){return t.IPv6===this&&(t.IPv6=n),this}return{best:i,noConflict:r}})}(kd)),kd.exports}var Od={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 Vb;function p2(){return Vb||(Vb=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 l=r.lastIndexOf(".");if(l<=0||l>=r.length-1)return!1;var u=r.lastIndexOf(".",l-1);if(u<=0||u>=l-1)return!1;var f=i.list[r.slice(l+1)];return f?f.indexOf(" "+r.slice(u+1,l)+" ")>=0:!1},is:function(r){var l=r.lastIndexOf(".");if(l<=0||l>=r.length-1)return!1;var u=r.lastIndexOf(".",l-1);if(u>=0)return!1;var f=i.list[r.slice(l+1)];return f?f.indexOf(" "+r.slice(0,l)+" ")>=0:!1},get:function(r){var l=r.lastIndexOf(".");if(l<=0||l>=r.length-1)return null;var u=r.lastIndexOf(".",l-1);if(u<=0||u>=l-1)return null;var f=i.list[r.slice(l+1)];return!f||f.indexOf(" "+r.slice(u+1,l)+" ")<0?null:r.slice(u+1)},noConflict:function(){return t.SecondLevelDomains===this&&(t.SecondLevelDomains=n),this}};return i})}(Od)),Od.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(d2(),h2(),p2()):t.URI=n(t.punycode,t.IPv6,t.SecondLevelDomains,t)})(Fe,function(t,n,i,r){var l=r&&r.URI;function u(o,a){var d=arguments.length>=1,h=arguments.length>=2;if(!(this instanceof u))return d?h?new u(o,a):new u(o):new u;if(o===void 0){if(d)throw new TypeError("undefined is not a valid argument for URI");typeof location<"u"?o=location.href+"":o=""}if(o===null&&d)throw new TypeError("null is not a valid argument for URI");return this.href(o),a!==void 0?this.absoluteTo(a):this}function f(o){return/^[0-9]+$/.test(o)}u.version="1.19.11";var m=u.prototype,v=Object.prototype.hasOwnProperty;function S(o){return o.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function C(o){return o===void 0?"Undefined":String(Object.prototype.toString.call(o)).slice(8,-1)}function D(o){return C(o)==="Array"}function _(o,a){var d={},h,b;if(C(a)==="RegExp")d=null;else if(D(a))for(h=0,b=a.length;h<b;h++)d[a[h]]=!0;else d[a]=!0;for(h=0,b=o.length;h<b;h++){var R=d&&d[o[h]]!==void 0||!d&&a.test(o[h]);R&&(o.splice(h,1),b--,h--)}return o}function E(o,a){var d,h;if(D(a)){for(d=0,h=a.length;d<h;d++)if(!E(o,a[d]))return!1;return!0}var b=C(a);for(d=0,h=o.length;d<h;d++)if(b==="RegExp"){if(typeof o[d]=="string"&&o[d].match(a))return!0}else if(o[d]===a)return!0;return!1}function T(o,a){if(!D(o)||!D(a)||o.length!==a.length)return!1;o.sort(),a.sort();for(var d=0,h=o.length;d<h;d++)if(o[d]!==a[d])return!1;return!0}function P(o){var a=/^\/+|\/+$/g;return o.replace(a,"")}u._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:u.preventInvalidHostname,duplicateQueryParameters:u.duplicateQueryParameters,escapeQuerySpace:u.escapeQuerySpace}},u.preventInvalidHostname=!1,u.duplicateQueryParameters=!1,u.escapeQuerySpace=!0,u.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,u.idn_exp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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*$/,u.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,u.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},u.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,u.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,u.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},u.hostProtocols=["http","https"],u.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,u.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"},u.getDomAttribute=function(o){if(!(!o||!o.nodeName)){var a=o.nodeName.toLowerCase();if(!(a==="input"&&o.type!=="image"))return u.domAttributes[a]}};function I(o){return escape(o)}function M(o){return encodeURIComponent(o).replace(/[!'()*]/g,I).replace(/\*/g,"%2A")}u.encode=M,u.decode=decodeURIComponent,u.iso8859=function(){u.encode=escape,u.decode=unescape},u.unicode=function(){u.encode=M,u.decode=decodeURIComponent},u.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"}}}},u.encodeQuery=function(o,a){var d=u.encode(o+"");return a===void 0&&(a=u.escapeQuerySpace),a?d.replace(/%20/g,"+"):d},u.decodeQuery=function(o,a){o+="",a===void 0&&(a=u.escapeQuerySpace);try{return u.decode(a?o.replace(/\+/g,"%20"):o)}catch{return o}};var H={encode:"encode",decode:"decode"},Z,U=function(o,a){return function(d){try{return u[a](d+"").replace(u.characters[o][a].expression,function(h){return u.characters[o][a].map[h]})}catch{return d}}};for(Z in H)u[Z+"PathSegment"]=U("pathname",H[Z]),u[Z+"UrnPathSegment"]=U("urnpath",H[Z]);var B=function(o,a,d){return function(h){var b;d?b=function(W){return u[a](u[d](W))}:b=u[a];for(var R=(h+"").split(o),x=0,j=R.length;x<j;x++)R[x]=b(R[x]);return R.join(o)}};u.decodePath=B("/","decodePathSegment"),u.decodeUrnPath=B(":","decodeUrnPathSegment"),u.recodePath=B("/","encodePathSegment","decode"),u.recodeUrnPath=B(":","encodeUrnPathSegment","decode"),u.encodeReserved=U("reserved","encode"),u.parse=function(o,a){var d;return a||(a={preventInvalidHostname:u.preventInvalidHostname}),o=o.replace(u.leading_whitespace_expression,""),o=o.replace(u.ascii_tab_whitespace,""),d=o.indexOf("#"),d>-1&&(a.fragment=o.substring(d+1)||null,o=o.substring(0,d)),d=o.indexOf("?"),d>-1&&(a.query=o.substring(d+1)||null,o=o.substring(0,d)),o=o.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://"),o=o.replace(/^[/\\]{2,}/i,"//"),o.substring(0,2)==="//"?(a.protocol=null,o=o.substring(2),o=u.parseAuthority(o,a)):(d=o.indexOf(":"),d>-1&&(a.protocol=o.substring(0,d)||null,a.protocol&&!a.protocol.match(u.protocol_expression)?a.protocol=void 0:o.substring(d+1,d+3).replace(/\\/g,"/")==="//"?(o=o.substring(d+3),o=u.parseAuthority(o,a)):(o=o.substring(d+1),a.urn=!0))),a.path=o,a},u.parseHost=function(o,a){o||(o=""),o=o.replace(/\\/g,"/");var d=o.indexOf("/"),h,b;if(d===-1&&(d=o.length),o.charAt(0)==="[")h=o.indexOf("]"),a.hostname=o.substring(1,h)||null,a.port=o.substring(h+2,d)||null,a.port==="/"&&(a.port=null);else{var R=o.indexOf(":"),x=o.indexOf("/"),j=o.indexOf(":",R+1);j!==-1&&(x===-1||j<x)?(a.hostname=o.substring(0,d)||null,a.port=null):(b=o.substring(0,d).split(":"),a.hostname=b[0]||null,a.port=b[1]||null)}return a.hostname&&o.substring(d).charAt(0)!=="/"&&(d++,o="/"+o),a.preventInvalidHostname&&u.ensureValidHostname(a.hostname,a.protocol),a.port&&u.ensureValidPort(a.port),o.substring(d)||"/"},u.parseAuthority=function(o,a){return o=u.parseUserinfo(o,a),u.parseHost(o,a)},u.parseUserinfo=function(o,a){var d=o,h=o.indexOf("\\");h!==-1&&(o=o.replace(/\\/g,"/"));var b=o.indexOf("/"),R=o.lastIndexOf("@",b>-1?b:o.length-1),x;return R>-1&&(b===-1||R<b)?(x=o.substring(0,R).split(":"),a.username=x[0]?u.decode(x[0]):null,x.shift(),a.password=x[0]?u.decode(x.join(":")):null,o=d.substring(R+1)):(a.username=null,a.password=null),o},u.parseQuery=function(o,a){if(!o)return{};if(o=o.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,""),!o)return{};for(var d={},h=o.split("&"),b=h.length,R,x,j,W=0;W<b;W++)R=h[W].split("="),x=u.decodeQuery(R.shift(),a),j=R.length?u.decodeQuery(R.join("="),a):null,x!=="__proto__"&&(v.call(d,x)?((typeof d[x]=="string"||d[x]===null)&&(d[x]=[d[x]]),d[x].push(j)):d[x]=j);return d},u.build=function(o){var a="",d=!1;return o.protocol&&(a+=o.protocol+":"),!o.urn&&(a||o.hostname)&&(a+="//",d=!0),a+=u.buildAuthority(o)||"",typeof o.path=="string"&&(o.path.charAt(0)!=="/"&&d&&(a+="/"),a+=o.path),typeof o.query=="string"&&o.query&&(a+="?"+o.query),typeof o.fragment=="string"&&o.fragment&&(a+="#"+o.fragment),a},u.buildHost=function(o){var a="";if(o.hostname)u.ip6_expression.test(o.hostname)?a+="["+o.hostname+"]":a+=o.hostname;else return"";return o.port&&(a+=":"+o.port),a},u.buildAuthority=function(o){return u.buildUserinfo(o)+u.buildHost(o)},u.buildUserinfo=function(o){var a="";return o.username&&(a+=u.encode(o.username)),o.password&&(a+=":"+u.encode(o.password)),a&&(a+="@"),a},u.buildQuery=function(o,a,d){var h="",b,R,x,j;for(R in o)if(R!=="__proto__"&&v.call(o,R))if(D(o[R]))for(b={},x=0,j=o[R].length;x<j;x++)o[R][x]!==void 0&&b[o[R][x]+""]===void 0&&(h+="&"+u.buildQueryParameter(R,o[R][x],d),a!==!0&&(b[o[R][x]+""]=!0));else o[R]!==void 0&&(h+="&"+u.buildQueryParameter(R,o[R],d));return h.substring(1)},u.buildQueryParameter=function(o,a,d){return u.encodeQuery(o,d)+(a!==null?"="+u.encodeQuery(a,d):"")},u.addQuery=function(o,a,d){if(typeof a=="object")for(var h in a)v.call(a,h)&&u.addQuery(o,h,a[h]);else if(typeof a=="string"){if(o[a]===void 0){o[a]=d;return}else typeof o[a]=="string"&&(o[a]=[o[a]]);D(d)||(d=[d]),o[a]=(o[a]||[]).concat(d)}else throw new TypeError("URI.addQuery() accepts an object, string as the name parameter")},u.setQuery=function(o,a,d){if(typeof a=="object")for(var h in a)v.call(a,h)&&u.setQuery(o,h,a[h]);else if(typeof a=="string")o[a]=d===void 0?null:d;else throw new TypeError("URI.setQuery() accepts an object, string as the name parameter")},u.removeQuery=function(o,a,d){var h,b,R;if(D(a))for(h=0,b=a.length;h<b;h++)o[a[h]]=void 0;else if(C(a)==="RegExp")for(R in o)a.test(R)&&(o[R]=void 0);else if(typeof a=="object")for(R in a)v.call(a,R)&&u.removeQuery(o,R,a[R]);else if(typeof a=="string")d!==void 0?C(d)==="RegExp"?!D(o[a])&&d.test(o[a])?o[a]=void 0:o[a]=_(o[a],d):o[a]===String(d)&&(!D(d)||d.length===1)?o[a]=void 0:D(o[a])&&(o[a]=_(o[a],d)):o[a]=void 0;else throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter")},u.hasQuery=function(o,a,d,h){switch(C(a)){case"String":break;case"RegExp":for(var b in o)if(v.call(o,b)&&a.test(b)&&(d===void 0||u.hasQuery(o,b,d)))return!0;return!1;case"Object":for(var R in a)if(v.call(a,R)&&!u.hasQuery(o,R,a[R]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(C(d)){case"Undefined":return a in o;case"Boolean":var x=!!(D(o[a])?o[a].length:o[a]);return d===x;case"Function":return!!d(o[a],a,o);case"Array":if(!D(o[a]))return!1;var j=h?E:T;return j(o[a],d);case"RegExp":return D(o[a])?h?E(o[a],d):!1:!!(o[a]&&o[a].match(d));case"Number":d=String(d);case"String":return D(o[a])?h?E(o[a],d):!1:o[a]===d;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},u.joinPaths=function(){for(var o=[],a=[],d=0,h=0;h<arguments.length;h++){var b=new u(arguments[h]);o.push(b);for(var R=b.segment(),x=0;x<R.length;x++)typeof R[x]=="string"&&a.push(R[x]),R[x]&&d++}if(!a.length||!d)return new u("");var j=new u("").segment(a);return(o[0].path()===""||o[0].path().slice(0,1)==="/")&&j.path("/"+j.path()),j.normalize()},u.commonPath=function(o,a){var d=Math.min(o.length,a.length),h;for(h=0;h<d;h++)if(o.charAt(h)!==a.charAt(h)){h--;break}return h<1?o.charAt(0)===a.charAt(0)&&o.charAt(0)==="/"?"/":"":((o.charAt(h)!=="/"||a.charAt(h)!=="/")&&(h=o.substring(0,h).lastIndexOf("/")),o.substring(0,h+1))},u.withinString=function(o,a,d){d||(d={});var h=d.start||u.findUri.start,b=d.end||u.findUri.end,R=d.trim||u.findUri.trim,x=d.parens||u.findUri.parens,j=/[a-z0-9-]=["']?$/i;for(h.lastIndex=0;;){var W=h.exec(o);if(!W)break;var k=W.index;if(d.ignoreHtml){var O=o.slice(Math.max(k-3,0),k);if(O&&j.test(O))continue}for(var V=k+o.slice(k).search(b),te=o.slice(k,V),ue=-1;;){var Y=x.exec(te);if(!Y)break;var $=Y.index+Y[0].length;ue=Math.max(ue,$)}if(ue>-1?te=te.slice(0,ue)+te.slice(ue).replace(R,""):te=te.replace(R,""),!(te.length<=W[0].length)&&!(d.ignore&&d.ignore.test(te))){V=k+te.length;var ae=a(te,k,V,o);if(ae===void 0){h.lastIndex=V;continue}ae=String(ae),o=o.slice(0,k)+ae+o.slice(V),h.lastIndex=k+ae.length}}return h.lastIndex=0,o},u.ensureValidHostname=function(o,a){var d=!!o,h=!!a,b=!1;if(h&&(b=E(u.hostProtocols,a)),b&&!d)throw new TypeError("Hostname cannot be empty, if protocol is "+a);if(o&&o.match(u.invalid_hostname_characters)){if(!t)throw new TypeError('Hostname "'+o+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(t.toASCII(o).match(u.invalid_hostname_characters))throw new TypeError('Hostname "'+o+'" contains characters other than [A-Z0-9.-:_]')}},u.ensureValidPort=function(o){if(o){var a=Number(o);if(!(f(a)&&a>0&&a<65536))throw new TypeError('Port "'+o+'" is not a valid port')}},u.noConflict=function(o){if(o){var a={URI:this.noConflict()};return r.URITemplate&&typeof r.URITemplate.noConflict=="function"&&(a.URITemplate=r.URITemplate.noConflict()),r.IPv6&&typeof r.IPv6.noConflict=="function"&&(a.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&typeof r.SecondLevelDomains.noConflict=="function"&&(a.SecondLevelDomains=r.SecondLevelDomains.noConflict()),a}else r.URI===this&&(r.URI=l);return this},m.build=function(o){return o===!0?this._deferred_build=!0:(o===void 0||this._deferred_build)&&(this._string=u.build(this._parts),this._deferred_build=!1),this},m.clone=function(){return new u(this)},m.valueOf=m.toString=function(){return this.build(!1)._string};function F(o){return function(a,d){return a===void 0?this._parts[o]||"":(this._parts[o]=a||null,this.build(!d),this)}}function y(o,a){return function(d,h){return d===void 0?this._parts[o]||"":(d!==null&&(d=d+"",d.charAt(0)===a&&(d=d.substring(1))),this._parts[o]=d,this.build(!h),this)}}m.protocol=F("protocol"),m.username=F("username"),m.password=F("password"),m.hostname=F("hostname"),m.port=F("port"),m.query=y("query","?"),m.fragment=y("fragment","#"),m.search=function(o,a){var d=this.query(o,a);return typeof d=="string"&&d.length?"?"+d:d},m.hash=function(o,a){var d=this.fragment(o,a);return typeof d=="string"&&d.length?"#"+d:d},m.pathname=function(o,a){if(o===void 0||o===!0){var d=this._parts.path||(this._parts.hostname?"/":"");return o?(this._parts.urn?u.decodeUrnPath:u.decodePath)(d):d}else return this._parts.urn?this._parts.path=o?u.recodeUrnPath(o):"":this._parts.path=o?u.recodePath(o):"/",this.build(!a),this},m.path=m.pathname,m.href=function(o,a){var d;if(o===void 0)return this.toString();this._string="",this._parts=u._parts();var h=o instanceof u,b=typeof o=="object"&&(o.hostname||o.path||o.pathname);if(o.nodeName){var R=u.getDomAttribute(o);o=o[R]||"",b=!1}if(!h&&b&&o.pathname!==void 0&&(o=o.toString()),typeof o=="string"||o instanceof String)this._parts=u.parse(String(o),this._parts);else if(h||b){var x=h?o._parts:o;for(d in x)d!=="query"&&v.call(this._parts,d)&&(this._parts[d]=x[d]);x.query&&this.query(x.query,!1)}else throw new TypeError("invalid input");return this.build(!a),this},m.is=function(o){var a=!1,d=!1,h=!1,b=!1,R=!1,x=!1,j=!1,W=!this._parts.urn;switch(this._parts.hostname&&(W=!1,d=u.ip4_expression.test(this._parts.hostname),h=u.ip6_expression.test(this._parts.hostname),a=d||h,b=!a,R=b&&i&&i.has(this._parts.hostname),x=b&&u.idn_expression.test(this._parts.hostname),j=b&&u.punycode_expression.test(this._parts.hostname)),o.toLowerCase()){case"relative":return W;case"absolute":return!W;case"domain":case"name":return b;case"sld":return R;case"ip":return a;case"ip4":case"ipv4":case"inet4":return d;case"ip6":case"ipv6":case"inet6":return h;case"idn":return x;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return j}return null};var w=m.protocol,L=m.port,N=m.hostname;m.protocol=function(o,a){if(o&&(o=o.replace(/:(\/\/)?$/,""),!o.match(u.protocol_expression)))throw new TypeError('Protocol "'+o+`" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]`);return w.call(this,o,a)},m.scheme=m.protocol,m.port=function(o,a){return this._parts.urn?o===void 0?"":this:(o!==void 0&&(o===0&&(o=null),o&&(o+="",o.charAt(0)===":"&&(o=o.substring(1)),u.ensureValidPort(o))),L.call(this,o,a))},m.hostname=function(o,a){if(this._parts.urn)return o===void 0?"":this;if(o!==void 0){var d={preventInvalidHostname:this._parts.preventInvalidHostname},h=u.parseHost(o,d);if(h!=="/")throw new TypeError('Hostname "'+o+'" contains characters other than [A-Z0-9.-]');o=d.hostname,this._parts.preventInvalidHostname&&u.ensureValidHostname(o,this._parts.protocol)}return N.call(this,o,a)},m.origin=function(o,a){if(this._parts.urn)return o===void 0?"":this;if(o===void 0){var d=this.protocol(),h=this.authority();return h?(d?d+"://":"")+this.authority():""}else{var b=u(o);return this.protocol(b.protocol()).authority(b.authority()).build(!a),this}},m.host=function(o,a){if(this._parts.urn)return o===void 0?"":this;if(o===void 0)return this._parts.hostname?u.buildHost(this._parts):"";var d=u.parseHost(o,this._parts);if(d!=="/")throw new TypeError('Hostname "'+o+'" contains characters other than [A-Z0-9.-]');return this.build(!a),this},m.authority=function(o,a){if(this._parts.urn)return o===void 0?"":this;if(o===void 0)return this._parts.hostname?u.buildAuthority(this._parts):"";var d=u.parseAuthority(o,this._parts);if(d!=="/")throw new TypeError('Hostname "'+o+'" contains characters other than [A-Z0-9.-]');return this.build(!a),this},m.userinfo=function(o,a){if(this._parts.urn)return o===void 0?"":this;if(o===void 0){var d=u.buildUserinfo(this._parts);return d&&d.substring(0,d.length-1)}else return o[o.length-1]!=="@"&&(o+="@"),u.parseUserinfo(o,this._parts),this.build(!a),this},m.resource=function(o,a){var d;return o===void 0?this.path()+this.search()+this.hash():(d=u.parse(o),this._parts.path=d.path,this._parts.query=d.query,this._parts.fragment=d.fragment,this.build(!a),this)},m.subdomain=function(o,a){if(this._parts.urn)return o===void 0?"":this;if(o===void 0){if(!this._parts.hostname||this.is("IP"))return"";var d=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,d)||""}else{var h=this._parts.hostname.length-this.domain().length,b=this._parts.hostname.substring(0,h),R=new RegExp("^"+S(b));if(o&&o.charAt(o.length-1)!=="."&&(o+="."),o.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");return o&&u.ensureValidHostname(o,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(R,o),this.build(!a),this}},m.domain=function(o,a){if(this._parts.urn)return o===void 0?"":this;if(typeof o=="boolean"&&(a=o,o=void 0),o===void 0){if(!this._parts.hostname||this.is("IP"))return"";var d=this._parts.hostname.match(/\./g);if(d&&d.length<2)return this._parts.hostname;var h=this._parts.hostname.length-this.tld(a).length-1;return h=this._parts.hostname.lastIndexOf(".",h-1)+1,this._parts.hostname.substring(h)||""}else{if(!o)throw new TypeError("cannot set domain empty");if(o.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");if(u.ensureValidHostname(o,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=o;else{var b=new RegExp(S(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(b,o)}return this.build(!a),this}},m.tld=function(o,a){if(this._parts.urn)return o===void 0?"":this;if(typeof o=="boolean"&&(a=o,o=void 0),o===void 0){if(!this._parts.hostname||this.is("IP"))return"";var d=this._parts.hostname.lastIndexOf("."),h=this._parts.hostname.substring(d+1);return a!==!0&&i&&i.list[h.toLowerCase()]&&i.get(this._parts.hostname)||h}else{var b;if(o)if(o.match(/[^a-zA-Z0-9-]/))if(i&&i.is(o))b=new RegExp(S(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(b,o);else throw new TypeError('TLD "'+o+'" 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");b=new RegExp(S(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(b,o)}else throw new TypeError("cannot set TLD empty");return this.build(!a),this}},m.directory=function(o,a){if(this._parts.urn)return o===void 0?"":this;if(o===void 0||o===!0){if(!this._parts.path&&!this._parts.hostname)return"";if(this._parts.path==="/")return"/";var d=this._parts.path.length-this.filename().length-1,h=this._parts.path.substring(0,d)||(this._parts.hostname?"/":"");return o?u.decodePath(h):h}else{var b=this._parts.path.length-this.filename().length,R=this._parts.path.substring(0,b),x=new RegExp("^"+S(R));return this.is("relative")||(o||(o="/"),o.charAt(0)!=="/"&&(o="/"+o)),o&&o.charAt(o.length-1)!=="/"&&(o+="/"),o=u.recodePath(o),this._parts.path=this._parts.path.replace(x,o),this.build(!a),this}},m.filename=function(o,a){if(this._parts.urn)return o===void 0?"":this;if(typeof o!="string"){if(!this._parts.path||this._parts.path==="/")return"";var d=this._parts.path.lastIndexOf("/"),h=this._parts.path.substring(d+1);return o?u.decodePathSegment(h):h}else{var b=!1;o.charAt(0)==="/"&&(o=o.substring(1)),o.match(/\.?\//)&&(b=!0);var R=new RegExp(S(this.filename())+"$");return o=u.recodePath(o),this._parts.path=this._parts.path.replace(R,o),b?this.normalizePath(a):this.build(!a),this}},m.suffix=function(o,a){if(this._parts.urn)return o===void 0?"":this;if(o===void 0||o===!0){if(!this._parts.path||this._parts.path==="/")return"";var d=this.filename(),h=d.lastIndexOf("."),b,R;return h===-1?"":(b=d.substring(h+1),R=/^[a-z0-9%]+$/i.test(b)?b:"",o?u.decodePathSegment(R):R)}else{o.charAt(0)==="."&&(o=o.substring(1));var x=this.suffix(),j;if(x)o?j=new RegExp(S(x)+"$"):j=new RegExp(S("."+x)+"$");else{if(!o)return this;this._parts.path+="."+u.recodePath(o)}return j&&(o=u.recodePath(o),this._parts.path=this._parts.path.replace(j,o)),this.build(!a),this}},m.segment=function(o,a,d){var h=this._parts.urn?":":"/",b=this.path(),R=b.substring(0,1)==="/",x=b.split(h);if(o!==void 0&&typeof o!="number"&&(d=a,a=o,o=void 0),o!==void 0&&typeof o!="number")throw new Error('Bad segment "'+o+'", must be 0-based integer');if(R&&x.shift(),o<0&&(o=Math.max(x.length+o,0)),a===void 0)return o===void 0?x:x[o];if(o===null||x[o]===void 0)if(D(a)){x=[];for(var j=0,W=a.length;j<W;j++)!a[j].length&&(!x.length||!x[x.length-1].length)||(x.length&&!x[x.length-1].length&&x.pop(),x.push(P(a[j])))}else(a||typeof a=="string")&&(a=P(a),x[x.length-1]===""?x[x.length-1]=a:x.push(a));else a?x[o]=P(a):x.splice(o,1);return R&&x.unshift(""),this.path(x.join(h),d)},m.segmentCoded=function(o,a,d){var h,b,R;if(typeof o!="number"&&(d=a,a=o,o=void 0),a===void 0){if(h=this.segment(o,a,d),!D(h))h=h!==void 0?u.decode(h):void 0;else for(b=0,R=h.length;b<R;b++)h[b]=u.decode(h[b]);return h}if(!D(a))a=typeof a=="string"||a instanceof String?u.encode(a):a;else for(b=0,R=a.length;b<R;b++)a[b]=u.encode(a[b]);return this.segment(o,a,d)};var p=m.query;return m.query=function(o,a){if(o===!0)return u.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if(typeof o=="function"){var d=u.parseQuery(this._parts.query,this._parts.escapeQuerySpace),h=o.call(this,d);return this._parts.query=u.buildQuery(h||d,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!a),this}else return o!==void 0&&typeof o!="string"?(this._parts.query=u.buildQuery(o,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!a),this):p.call(this,o,a)},m.setQuery=function(o,a,d){var h=u.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if(typeof o=="string"||o instanceof String)h[o]=a!==void 0?a:null;else if(typeof o=="object")for(var b in o)v.call(o,b)&&(h[b]=o[b]);else throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");return this._parts.query=u.buildQuery(h,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),typeof o!="string"&&(d=a),this.build(!d),this},m.addQuery=function(o,a,d){var h=u.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return u.addQuery(h,o,a===void 0?null:a),this._parts.query=u.buildQuery(h,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),typeof o!="string"&&(d=a),this.build(!d),this},m.removeQuery=function(o,a,d){var h=u.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return u.removeQuery(h,o,a),this._parts.query=u.buildQuery(h,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),typeof o!="string"&&(d=a),this.build(!d),this},m.hasQuery=function(o,a,d){var h=u.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return u.hasQuery(h,o,a,d)},m.setSearch=m.setQuery,m.addSearch=m.addQuery,m.removeSearch=m.removeQuery,m.hasSearch=m.hasQuery,m.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()},m.normalizeProtocol=function(o){return typeof this._parts.protocol=="string"&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!o)),this},m.normalizeHostname=function(o){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(!o)),this},m.normalizePort=function(o){return typeof this._parts.protocol=="string"&&this._parts.port===u.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!o)),this},m.normalizePath=function(o){var a=this._parts.path;if(!a)return this;if(this._parts.urn)return this._parts.path=u.recodeUrnPath(this._parts.path),this.build(!o),this;if(this._parts.path==="/")return this;a=u.recodePath(a);var d,h="",b,R;for(a.charAt(0)!=="/"&&(d=!0,a="/"+a),(a.slice(-3)==="/.."||a.slice(-2)==="/.")&&(a+="/"),a=a.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),d&&(h=a.substring(1).match(/^(\.\.\/)+/)||"",h&&(h=h[0]));b=a.search(/\/\.\.(\/|$)/),b!==-1;){if(b===0){a=a.substring(3);continue}R=a.substring(0,b).lastIndexOf("/"),R===-1&&(R=b),a=a.substring(0,R)+a.substring(b+3)}return d&&this.is("relative")&&(a=h+a.substring(1)),this._parts.path=a,this.build(!o),this},m.normalizePathname=m.normalizePath,m.normalizeQuery=function(o){return typeof this._parts.query=="string"&&(this._parts.query.length?this.query(u.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!o)),this},m.normalizeFragment=function(o){return this._parts.fragment||(this._parts.fragment=null,this.build(!o)),this},m.normalizeSearch=m.normalizeQuery,m.normalizeHash=m.normalizeFragment,m.iso8859=function(){var o=u.encode,a=u.decode;u.encode=escape,u.decode=decodeURIComponent;try{this.normalize()}finally{u.encode=o,u.decode=a}return this},m.unicode=function(){var o=u.encode,a=u.decode;u.encode=M,u.decode=unescape;try{this.normalize()}finally{u.encode=o,u.decode=a}return this},m.readable=function(){var o=this.clone();o.username("").password("").normalize();var a="";if(o._parts.protocol&&(a+=o._parts.protocol+"://"),o._parts.hostname&&(o.is("punycode")&&t?(a+=t.toUnicode(o._parts.hostname),o._parts.port&&(a+=":"+o._parts.port)):a+=o.host()),o._parts.hostname&&o._parts.path&&o._parts.path.charAt(0)!=="/"&&(a+="/"),a+=o.path(!0),o._parts.query){for(var d="",h=0,b=o._parts.query.split("&"),R=b.length;h<R;h++){var x=(b[h]||"").split("=");d+="&"+u.decodeQuery(x[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),x[1]!==void 0&&(d+="="+u.decodeQuery(x[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}a+="?"+d.substring(1)}return a+=u.decodeQuery(o.hash(),!0),a},m.absoluteTo=function(o){var a=this.clone(),d=["protocol","username","password","hostname","port"],h,b,R;if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(o instanceof u||(o=new u(o)),a._parts.protocol||(a._parts.protocol=o._parts.protocol,this._parts.hostname))return a;for(b=0;R=d[b];b++)a._parts[R]=o._parts[R];return a._parts.path?(a._parts.path.substring(-2)===".."&&(a._parts.path+="/"),a.path().charAt(0)!=="/"&&(h=o.directory(),h=h||(o.path().indexOf("/")===0?"/":""),a._parts.path=(h?h+"/":"")+a._parts.path,a.normalizePath())):(a._parts.path=o._parts.path,a._parts.query||(a._parts.query=o._parts.query)),a.build(),a},m.relativeTo=function(o){var a=this.clone().normalize(),d,h,b,R,x;if(a._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(o=new u(o).normalize(),d=a._parts,h=o._parts,R=a.path(),x=o.path(),R.charAt(0)!=="/")throw new Error("URI is already relative");if(x.charAt(0)!=="/")throw new Error("Cannot calculate a URI relative to another relative URI");if(d.protocol===h.protocol&&(d.protocol=null),d.username!==h.username||d.password!==h.password||d.protocol!==null||d.username!==null||d.password!==null)return a.build();if(d.hostname===h.hostname&&d.port===h.port)d.hostname=null,d.port=null;else return a.build();if(R===x)return d.path="",a.build();if(b=u.commonPath(R,x),!b)return a.build();var j=h.path.substring(b.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return d.path=j+d.path.substring(b.length)||"./",a.build()},m.equals=function(o){var a=this.clone(),d=new u(o),h={},b={},R={},x,j,W;if(a.normalize(),d.normalize(),a.toString()===d.toString())return!0;if(x=a.query(),j=d.query(),a.query(""),d.query(""),a.toString()!==d.toString()||x.length!==j.length)return!1;h=u.parseQuery(x,this._parts.escapeQuerySpace),b=u.parseQuery(j,this._parts.escapeQuerySpace);for(W in h)if(v.call(h,W)){if(D(h[W])){if(!T(h[W],b[W]))return!1}else if(h[W]!==b[W])return!1;R[W]=!0}for(W in b)if(v.call(b,W)&&!R[W])return!1;return!0},m.preventInvalidHostname=function(o){return this._parts.preventInvalidHostname=!!o,this},m.duplicateQueryParameters=function(o){return this._parts.duplicateQueryParameters=!!o,this},m.escapeQuerySpace=function(o){return this._parts.escapeQuerySpace=!!o,this},u})})(dv);var hv=dv.exports;(function(e){var t=Fe&&Fe.__importDefault||function(_){return _&&_.__esModule?_:{default:_}};Object.defineProperty(e,"__esModule",{value:!0}),e.uriSchemaAttributesProducer=e.uriInferenceAttributesProducer=e.uriTypeAttributeKind=void 0;const n=t(hv),i=ft,r=Je,l=Ae,u="qt-uri-protocols",f="qt-uri-extensions";class m extends i.TypeAttributeKind{constructor(){super("uriAttributes")}get inIdentity(){return!0}combine(E){const T=E.map(I=>I[0]),P=E.map(I=>I[1]);return[(0,r.setUnionManyInto)(new Set,T),(0,r.setUnionManyInto)(new Set,P)]}makeInferred(E){}addToSchema(E,T,P){if(T.kind!=="string"&&T.kind!=="uri")return;const[I,M]=P;I.size>0&&(E[u]=Array.from(I).sort()),M.size>0&&(E[f]=Array.from(M).sort())}}e.uriTypeAttributeKind=new m;const v=/^.+(\.[^./\\]+)$/;function S(_){const E=_.match(v);if(E!==null)return E[1]}function C(_){try{const E=(0,n.default)(_),T=S(E.path()),P=T===void 0?[]:[T.toLowerCase()];return e.uriTypeAttributeKind.makeAttributes([new Set([E.protocol().toLowerCase()]),new Set(P)])}catch{return i.emptyTypeAttributes}}e.uriInferenceAttributesProducer=C;function D(_,E,T){if(typeof _!="object"||!T.has("string"))return;let P;const I=_[u];I!==void 0?P=new Set((0,l.checkArray)(I,l.checkString)):P=new Set;let M;const H=_[f];if(H!==void 0?M=new Set((0,l.checkArray)(H,l.checkString)):M=new Set,!(P.size===0&&M.size===0))return{forString:e.uriTypeAttributeKind.makeAttributes([P,M])}}e.uriSchemaAttributesProducer=D})($l);var Kb;function rt(){return Kb||(Kb=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=Je,n=Ae,i=sr,r=Jt,l=hi(),f={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:$l.uriInferenceAttributesProducer},"integer-string":{jsonSchema:"integer",primitive:"integer"},"bool-string":{jsonSchema:"boolean",primitive:"bool"}};e.transformedStringTypeTargetTypeKindsMap=(0,t.mapFromObject)(f),e.transformedStringTypeKinds=new Set(Object.getOwnPropertyNames(f));function m(k){return k==="string"||(0,t.hasOwnProperty)(f,k)}e.isPrimitiveStringTypeKind=m;function v(k){const O=e.transformedStringTypeTargetTypeKindsMap.get(k);if(O!==void 0)return O.primitive}e.targetTypeKindForTransformedStringTypeKind=v;function S(k){return k==="integer"||k==="double"}e.isNumberTypeKind=S;function C(k){return m(k)||S(k)?!0:k==="none"||k==="any"||k==="null"||k==="bool"}e.isPrimitiveTypeKind=C;function D(k,O){return k.index===O.index||k.kind==="none"||O.kind==="none"}class _{constructor(O,V){this._kind=O,this._components=V;let te=t.hashCodeInit;te=(0,t.addHashCode)(te,(0,t.hashCodeOf)(this._kind));for(const ue of V)te=(0,t.addHashCode)(te,(0,t.hashCodeOf)(ue));this._hashCode=te}equals(O){if(!(O instanceof _)||this._kind!==O._kind)return!1;const V=this._components.length;(0,n.assert)(V===O._components.length,"Components of a type kind's identity must have the same length");for(let te=0;te<V;te++)if(!(0,t.areEqual)(this._components[te],O._components[te]))return!1;return!0}hashCode(){return this._hashCode}}e.TypeIdentity=_;class E{constructor(O,V){this.typeRef=O,this.graph=V}get index(){return(0,l.typeRefIndex)(this.typeRef)}getChildren(){let O=this.getNonAttributeChildren();for(const[V,te]of this.getAttributes())V.children!==void 0&&(0,t.setUnionInto)(O,V.children(te));return O}getAttributes(){return(0,l.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(O){return O instanceof E?this.typeRef===O.typeRef:!1}hashCode(){return(0,t.hashCodeOf)(this.typeRef)}structurallyCompatible(O,V=!1){function te(pe,Te){return pe===Te?!0:V?pe==="integer"?Te==="double":pe==="double"?Te==="integer":!1:!1}if(D(this,O))return!0;if(!te(this.kind,O.kind))return!1;const ue=[[this,O]],Y=[];let $;const ae=(pe,Te)=>D(pe,Te)?!0:te(pe.kind,Te.kind)?(ue.push([pe,Te]),!0):($=!0,!1);for(;ue.length>0;){let[pe,Te]=(0,n.defined)(ue.pop());if(pe.index>Te.index&&([pe,Te]=[Te,pe]),!pe.isPrimitive()){let Ne=pe.index,ce=Te.index,fe=!1;for(const[le,X]of Y)if(le===Ne&&X===ce){fe=!0;break}if(fe)continue;Y.push([Ne,ce])}if($=!1,!pe.structuralEqualityStep(Te,V,ae)||$)return!1}return!0}getParentTypes(){return this.graph.getParentsOfType(this)}getAncestorsNotInSet(O){const V=[this],te=new Set,ue=new Set;for(;;){const Y=V.pop();if(Y===void 0)break;const $=Y.getParentTypes();console.log(`${$.size} parents`);for(const ae of $)te.has(ae)||(te.add(ae),O.has(ae.typeRef)?(console.log(`adding ${ae.kind}`),V.push(ae)):(console.log(`found ${ae.kind}`),ue.add(ae)))}return ue}}e.Type=E;function T(k){return(0,t.mapSome)(k,(O,V)=>V.requiresUniqueIdentity(O))}function P(k){return(0,t.mapFilter)(k,(O,V)=>V.inIdentity)}function I(k,O){if(!T(O))return new _(k,[P(O)])}e.primitiveTypeIdentity=I;class M extends E{constructor(O,V,te){super(O,V),this.kind=te}get isNullable(){return this.kind==="null"||this.kind==="any"||this.kind==="none"}isPrimitive(){return!0}getNonAttributeChildren(){return new Set}get identity(){return I(this.kind,this.getAttributes())}reconstitute(O){O.getPrimitiveType(this.kind)}structuralEqualityStep(O,V,te){return!0}}e.PrimitiveType=M;function H(k,O){if(!T(k))return new _("array",[P(k),O])}e.arrayTypeIdentity=H;class Z extends E{constructor(O,V,te){super(O,V),this._itemsRef=te,this.kind="array"}setItems(O){if(this._itemsRef!==void 0)return(0,n.panic)("Can only set array items once");this._itemsRef=O}getItemsRef(){return this._itemsRef===void 0?(0,n.panic)("Array items accessed before they were set"):this._itemsRef}get items(){return(0,l.derefTypeRef)(this.getItemsRef(),this.graph)}getNonAttributeChildren(){return new Set([this.items])}get isNullable(){return!1}isPrimitive(){return!1}get identity(){return H(this.getAttributes(),this.getItemsRef())}reconstitute(O){const V=this.getItemsRef(),te=O.lookup(V);te===void 0?(O.getUniqueArrayType(),O.setArrayItems(O.reconstitute(this.getItemsRef()))):O.getArrayType(te)}structuralEqualityStep(O,V,te){return te(this.items,O.items)}}e.ArrayType=Z;class U{constructor(O,V){this.typeData=O,this.isOptional=V}equals(O){return O instanceof U?(0,t.areEqual)(this.typeData,O.typeData)&&this.isOptional===O.isOptional:!1}hashCode(){return(0,t.hashCodeOf)(this.typeData)+(this.isOptional?17:23)}}e.GenericClassProperty=U;class B extends U{constructor(O,V,te){super(O,te),this.graph=V}get typeRef(){return this.typeData}get type(){return(0,l.derefTypeRef)(this.typeRef,this.graph)}}e.ClassProperty=B;function F(k,O,V,te){if(!T(O))return new _(k,[P(O),V,te])}function y(k,O){return F("class",k,O,void 0)}e.classTypeIdentity=y;function w(k,O){return F("map",k,new Map,O)}e.mapTypeIdentify=w;class L extends E{constructor(O,V,te,ue,Y,$){super(O,V),this.kind=te,this.isFixed=ue,this._properties=Y,this._additionalPropertiesRef=$,te==="map"?(Y!==void 0&&(0,n.assert)(Y.size===0),(0,n.assert)(!ue)):te==="class"?(0,n.assert)($===void 0):(0,n.assert)(ue)}setProperties(O,V){(0,n.assert)(this._properties===void 0,"Tried to set object properties twice"),this instanceof p&&(0,n.assert)(O.size===0,"Cannot set properties on map type"),this instanceof N&&(0,n.assert)(V===void 0,"Cannot set additional properties of class type"),this._properties=O,this._additionalPropertiesRef=V}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 O=this.getAdditionalPropertiesRef();if(O!==void 0)return(0,l.derefTypeRef)(O,this.graph)}getNonAttributeChildren(){const O=(0,t.mapSortToArray)(this.getProperties(),(te,ue)=>ue).map(([te,ue])=>ue.type),V=this.getAdditionalProperties();return V!==void 0&&O.push(V),new Set(O)}get isNullable(){return!1}isPrimitive(){return!1}get identity(){if(!this.isFixed)return F(this.kind,this.getAttributes(),this.getProperties(),this.getAdditionalPropertiesRef())}reconstitute(O,V){const te=this.getSortedProperties(),ue=V?te:this.getProperties(),Y=O.lookupMap((0,t.mapMap)(te,ae=>ae.typeRef)),$=(0,t.definedMap)(this._additionalPropertiesRef,ae=>O.lookup(ae));if(Y!==void 0&&($!==void 0||this._additionalPropertiesRef===void 0)){const ae=(0,t.mapMap)(ue,(pe,Te)=>O.makeClassProperty((0,n.defined)(Y.get(Te)),pe.isOptional));switch(this.kind){case"object":(0,n.assert)(this.isFixed),O.getObjectType(ae,$);break;case"map":O.getMapType((0,n.defined)($));break;case"class":this.isFixed?O.getUniqueClassType(!0,ae):O.getClassType(ae);break;default:return(0,n.panic)(`Invalid object type kind ${this.kind}`)}}else{switch(this.kind){case"object":(0,n.assert)(this.isFixed),O.getUniqueObjectType(void 0,void 0);break;case"map":O.getUniqueMapType();break;case"class":O.getUniqueClassType(this.isFixed,void 0);break;default:return(0,n.panic)(`Invalid object type kind ${this.kind}`)}const ae=(0,t.mapMap)(te,Ne=>O.reconstitute(Ne.typeRef)),pe=(0,t.mapMap)(ue,(Ne,ce)=>O.makeClassProperty((0,n.defined)(ae.get(ce)),Ne.isOptional)),Te=(0,t.definedMap)(this._additionalPropertiesRef,Ne=>O.reconstitute(Ne));O.setObjectProperties(pe,Te)}}structuralEqualityStep(O,V,te){const ue=this.getProperties(),Y=O.getProperties();if(ue.size!==Y.size)return!1;let $=!1;for(const[Te,Ne]of ue){const ce=Y.get(Te);if(ce===void 0||Ne.isOptional!==ce.isOptional||!te(Ne.type,ce.type))return $=!0,!1}if($)return!1;const ae=this.getAdditionalProperties(),pe=O.getAdditionalProperties();return ae===void 0!=(pe===void 0)?!1:ae===void 0||pe===void 0?!0:te(ae,pe)}}e.ObjectType=L;class N extends L{constructor(O,V,te,ue){super(O,V,"class",te,ue,void 0)}}e.ClassType=N;class p extends L{constructor(O,V,te){super(O,V,"map",!1,(0,t.definedMap)(te,()=>new Map),te)}get values(){return(0,n.defined)(this.getAdditionalProperties())}}e.MapType=p;function o(k,O){if(!T(k))return new _("enum",[P(k),O])}e.enumTypeIdentity=o;class a extends E{constructor(O,V,te){super(O,V),this.cases=te,this.kind="enum"}get isNullable(){return!1}isPrimitive(){return!1}get identity(){return o(this.getAttributes(),this.cases)}getNonAttributeChildren(){return new Set}reconstitute(O){O.getEnumType(this.cases)}structuralEqualityStep(O,V,te){return(0,t.areEqual)(this.cases,O.cases)}}e.EnumType=a;function d(k,O,V,te){const ue=(0,t.toReadonlySet)(k),Y=(0,t.toReadonlySet)(O);return ue.size!==Y.size?!1:(0,t.iterableEvery)(ue,$=>{const ae=(0,t.iterableFind)(Y,pe=>pe.kind===$.kind);return!!(ae!==void 0&&te($,ae)||V&&($.kind==="integer"&&(0,t.iterableSome)(Y,pe=>pe.kind==="double")||$.kind==="double"&&(0,t.iterableSome)(Y,pe=>pe.kind==="integer")))})}e.setOperationCasesEqual=d;function h(k,O,V){if(!T(O))return new _(k,[P(O),V])}e.setOperationTypeIdentity=h;function b(k,O){return h("union",k,O)}e.unionTypeIdentity=b;function R(k,O){return h("intersection",k,O)}e.intersectionTypeIdentity=R;class x extends E{constructor(O,V,te,ue){super(O,V),this.kind=te,this._memberRefs=ue}setMembers(O){if(this._memberRefs!==void 0)return(0,n.panic)("Can only set map members once");this._memberRefs=O}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(),O=>(0,l.derefTypeRef)(O,this.graph))}get sortedMembers(){return this.getNonAttributeChildren()}getNonAttributeChildren(){return(0,t.setSortBy)(this.members,O=>O.kind)}isPrimitive(){return!1}get identity(){return h(this.kind,this.getAttributes(),this.getMemberRefs())}reconstituteSetOperation(O,V,te){const ue=(0,t.mapMap)(this.sortedMembers.entries(),ae=>ae.typeRef),Y=V?this.sortedMembers:this.members,$=O.lookupMap(ue);if($===void 0){te(void 0);const ae=O.reconstituteMap(ue);O.setSetOperationMembers((0,t.setMap)(Y,pe=>(0,n.defined)(ae.get(pe))))}else te((0,t.setMap)(Y,ae=>(0,n.defined)($.get(ae))))}structuralEqualityStep(O,V,te){return d(this.members,O.members,V,te)}}e.SetOperationType=x;class j extends x{constructor(O,V,te){super(O,V,"intersection",te)}get isNullable(){return(0,n.panic)("isNullable not implemented for IntersectionType")}reconstitute(O,V){this.reconstituteSetOperation(O,V,te=>{te===void 0?O.getUniqueIntersectionType():O.getIntersectionType(te)})}}e.IntersectionType=j;class W extends x{constructor(O,V,te){super(O,V,"union",te),te!==void 0&&(0,r.messageAssert)(te.size>0,"IRNoEmptyUnions",{})}setMembers(O){(0,r.messageAssert)(O.size>0,"IRNoEmptyUnions",{}),super.setMembers(O)}get stringTypeMembers(){return(0,t.setFilter)(this.members,O=>m(O.kind)||O.kind==="enum")}findMember(O){return(0,t.iterableFind)(this.members,V=>V.kind===O)}get isNullable(){return this.findMember("null")!==void 0}get isCanonical(){const O=this.members;if(O.size<=1)return!1;const V=(0,t.setMap)(O,ue=>ue.kind);if(V.size<O.size||V.has("union")||V.has("intersection")||V.has("none")||V.has("any")||V.has("string")&&V.has("enum"))return!1;let te=0;return V.has("class")&&(te+=1),V.has("map")&&(te+=1),V.has("object")&&(te+=1),!(te>1)}reconstitute(O,V){this.reconstituteSetOperation(O,V,te=>{te===void 0?O.getUniqueUnionType():O.getUnionType(te)})}}e.UnionType=W}(Yf)),Yf}var Ze={},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 Mt=Je,ci=Ae;class pv{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,Mt.setUnion)(this.additionalForbidden,...Array.from(this.forbiddenNamespaces).map(t=>t.members))}add(t){return this._members.add(t),t}}qe.Namespace=pv;class mv{constructor(t,n,i){this.name=t,this.nameStyle=n,this._prefixes=new Set(i)}assignNames(t,n,i){const r=new Set(n),l=Array.from(i);(0,ci.assert)(l.length>0,"Number of names can't be less than 1");const u=new Map;let f=[];for(const S of l){const C=S.proposeUnstyledNames(t),D=S.namingFunction,_=(0,Mt.iterableFind)(C,E=>!r.has(D.nameStyle(E))&&l.every(T=>T===S||!T.proposeUnstyledNames(t).has(E)));if(_!==void 0){const E=D.nameStyle(_),T=S.nameAssignments(r,E);if(T!==null){(0,Mt.mapMergeInto)(u,T),(0,Mt.setUnionInto)(r,T.values());continue}}f.push(S)}let m=this._prefixes.values(),v=1;for(const S of f){const C=(0,ci.defined)((0,Mt.iterableFirst)(S.proposeUnstyledNames(t)));for(;;){let D;const{done:_,value:E}=m.next();_?(D=`${C}_${v.toString()}`,v++):D=`${E}_${C}`;const T=S.namingFunction.nameStyle(D),P=S.nameAssignments(r,T);if(P!==null){(0,Mt.mapMergeInto)(u,P),(0,Mt.setUnionInto)(r,P.values());break}}}return u}}qe.Namer=mv;const m2=["Purple","Fluffy","Tentacled","Sticky","Indigo","Indecent","Hilarious","Ambitious","Cunning","Magenta","Frisky","Mischievous","Braggadocious"];function y2(e,t){return new mv(e,t,m2)}qe.funPrefixNamer=y2;class qa{constructor(t,n){this._namingFunction=t,this.order=n,this._associates=new Set}addAssociate(t){this._associates.add(t)}isFixed(){return this instanceof mp}get namingFunction(){return(0,ci.defined)(this._namingFunction)}firstProposedName(t){return(0,ci.defined)((0,Mt.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 l=r.getName(n);if(t.has(l))return null;i.set(r,l)}return i}}qe.Name=qa;class mp extends qa{constructor(t){super(void 0,0),this._fixedName=t}get dependencies(){return[]}addAssociate(t){return(0,ci.panic)("Cannot add associates to fixed names")}get fixedName(){return this._fixedName}proposeUnstyledNames(t){return(0,ci.panic)("Only fixedName should be called on FixedName.")}}qe.FixedName=mp;class g2 extends qa{constructor(t,n,i){super(n,i),this._unstyledNames=new Set(t)}get dependencies(){return[]}proposeUnstyledNames(t){return this._unstyledNames}}qe.SimpleName=g2;class b2 extends qa{constructor(t,n,i){super(void 0,n),this._sponsor=t,this.getName=i}get dependencies(){return[this._sponsor]}proposeUnstyledNames(t){return(0,ci.panic)("AssociatedName must be assigned via its sponsor")}}qe.AssociatedName=b2;class T2 extends qa{constructor(t,n,i){super(t,n),this._proposeUnstyledName=i;const r=[];i(l=>(r.push(l),"0xDEADBEEF")),this._dependencies=new Set(r)}get dependencies(){return Array.from(this._dependencies)}proposeUnstyledNames(t){return new Set([this._proposeUnstyledName(n=>((0,ci.assert)(this._dependencies.has(n),"DependencyName proposer is not pure"),(0,ci.defined)(t.get(n))))])}}qe.DependencyName=T2;function S2(e,t){const n=new pv(e,void 0,[],[]);for(const i of t)n.add(new mp(i));return n}qe.keywordNamespace=S2;function yv(e){return(0,Mt.setUnion)(e,...Array.from((0,Mt.setMap)(e,t=>yv(t.children))))}class v2{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 l of r)if(n.members.has(l)||n.forbiddenNameds.has(l))return!0;return!1},this.assign=(n,i,r)=>{(0,ci.assert)(!this.names.has(n),`Name "${r}" assigned twice`),(0,ci.assert)(!this.isConflicting(i,r),`Assigned name "${r}" conflicts`),this._names.set(n,r);let l=this._namedsForName.get(r);l===void 0&&(l=new Set,this._namedsForName.set(r,l)),l.add(n)},this.namespaces=yv(t)}get names(){return this._names}areForbiddensFullyNamed(t){return(0,Mt.iterableEvery)(t.forbiddenNameds,n=>this._names.has(n))}}function w2(e){const t=new v2(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,Mt.setFilter)(t.namespaces,u=>t.areForbiddensFullyNamed(u)),i=(0,Mt.iterableFind)(n,u=>(0,Mt.iterableSome)(u.members,t.isReadyToBeNamed));if(i===void 0)return t.names;const r=(0,Mt.setUnion)(i.members,i.forbiddenNameds);let l=(0,Mt.setFilterMap)(r,u=>t.names.get(u));for(;;){const u=(0,Mt.setFilter)(i.members,t.isReadyToBeNamed),f=(0,Mt.iterableMinBy)(u,C=>C.order);if(f===void 0)break;const m=f.order,v=(0,Mt.setFilter)(u,C=>C.order===m),S=(0,Mt.setGroupBy)(v,C=>C.namingFunction);for(const[C,D]of S){const _=(0,Mt.setGroupBy)(D,E=>E.namingFunction.nameStyle(E.firstProposedName(t.names)));for(const[,E]of _){const T=C.assignNames(t.names,l,E);for(const[P,I]of T)t.assign(P,i,I);(0,Mt.setUnionInto)(l,T.values())}}}}}qe.assignNames=w2;Object.defineProperty(Ze,"__esModule",{value:!0});Ze.parenIfNeeded=Ze.multiWord=Ze.singleWord=Ze.serializeRenderResult=Ze.modifySource=Ze.maybeAnnotated=Ze.annotated=Ze.sourcelikeToSource=Ze.newline=void 0;const ao=Je,L2=qe,In=Ae,Zb=yt();function gv(){return{kind:"newline",indentationChange:0}}Ze.newline=gv;function ec(e){if(e instanceof Array)return{kind:"sequence",sequence:e.map(ec)};if(typeof e=="string"){const t=e.split(`
|
|
176
|
-
`);return t.length===1?{kind:"text",text:e}:{kind:"sequence",sequence:(0,ao.arrayIntercalate)(gv(),t.map(n=>({kind:"text",text:n})))}}return e instanceof L2.Name?{kind:"name",named:e}:e}Ze.sourcelikeToSource=ec;function bv(e,t){return{kind:"annotated",annotation:e,source:ec(t)}}Ze.annotated=bv;function _2(e,t,n){return e?bv(t,n):n}Ze.maybeAnnotated=_2;function N2(e,t){return{kind:"modified",modifier:e,source:ec(t)}}Ze.modifySource=N2;function Th(e,t){switch(e.kind){case"text":return e.text.length;case"newline":return(0,In.panic)("Newline must not occur within a line.");case"sequence":return e.sequence.map(n=>Th(n,t)).reduce((n,i)=>n+i,0);case"table":return(0,In.panic)("Table must not occur within a line.");case"annotated":return Th(e.source,t);case"name":return(0,In.defined)(t.get(e.named)).length;case"modified":return yp(e,t,"").lines.join(`
|
|
177
|
-
`).length;default:return(0,In.assertNever)(e)}}function yp(e,t,n){let i=0,r=0;const l=[];let u=[];const f=[];function m(){r!==0&&(u.push((0,Zb.repeatString)(n,r)),r=0)}function v(){const _=u.join("");return u=[_],_}function S(){return{line:l.length,column:v().length}}function C(){l.push(v()),u=[]}function D(_){switch(_.kind){case"text":m(),u.push(_.text);break;case"newline":C(),i+=_.indentationChange,r=i;break;case"sequence":for(const B of _.sequence)D(B);break;case"table":const E=_.table,T=E.length;if(T===0)break;const P=E.map(B=>B.map(F=>Th(F,t))),I=(0,In.defined)((0,ao.iterableMax)(E.map(B=>B.length)));if(I===0)break;const M=[];for(let B=0;B<I;B++)M.push((0,In.defined)((0,ao.iterableMax)(P.map(F=>(0,ao.withDefault)(F[B],0)))));for(let B=0;B<T;B++){m();const F=(0,In.defined)(E[B]),y=(0,In.defined)(P[B]);for(let w=0;w<I;w++){const L=M[w],N=(0,ao.withDefault)(F[w],{kind:"text",text:""}),p=(0,ao.withDefault)(y[w],0);D(N),w<I-1&&p<L&&u.push((0,Zb.repeatString)(" ",L-p))}B<T-1&&(C(),r=i)}break;case"annotated":const H=S();D(_.source);const Z=S();f.push({annotation:_.annotation,span:{start:H,end:Z}});break;case"name":(0,In.assert)(t.has(_.named),"No name for Named"),m(),u.push((0,In.defined)(t.get(_.named)));break;case"modified":m();const U=yp(_.source,t,n).lines;(0,In.assert)(U.length===1,"Cannot modify more than one line."),u.push(_.modifier(U[0]));break;default:return(0,In.assertNever)(_)}}return D(e),C(),{lines:l,annotations:f}}Ze.serializeRenderResult=yp;function Tv(...e){return{source:e,needsParens:!1}}Ze.singleWord=Tv;function k2(e,...t){if((0,In.assert)(t.length>0,"Zero words is not multiple"),t.length===1)return Tv(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}}Ze.multiWord=k2;function O2({source:e,needsParens:t}){return t?["(",e,")"]:e}Ze.parenIfNeeded=O2;var _t={},tc={},At={};Object.defineProperty(At,"__esModule",{value:!0});At.nullTypeIssueAnnotation=At.anyTypeIssueAnnotation=At.IssueAnnotationData=At.AnnotationData=void 0;class Sv{}At.AnnotationData=Sv;class gp extends Sv{constructor(t){super(),this.message=t}}At.IssueAnnotationData=gp;At.anyTypeIssueAnnotation=new gp("quicktype cannot infer this type because there is no data about it in the input.");At.nullTypeIssueAnnotation=new gp("The only value for this in the input is null, which means you probably need a more complete input sample.");Object.defineProperty(tc,"__esModule",{value:!0});tc.Renderer=void 0;const E2=Je,C2=qe,pa=Ze,A2=At,cl=Ae;function F2(e){return Array.isArray(e)?{position:e[0],count:e[1]}:{position:e,count:1}}function P2(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 Ed{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,pa.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,cl.panic)("Cannot change indent for the first line");this._lastNewline.indentationChange+=t}}class I2{constructor(t,n){this.targetLanguage=t,this.emitTable=i=>{if(i.length===0)return;const r=i.map(l=>l.map(u=>(0,pa.sourcelikeToSource)(u)));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 Ed}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 l=1;l<i;l++){const u=n[l],{indent:f,text:m}=P2(u);if((0,cl.assert)(f%4===0,"Indentation is not a multiple of 4."),m!==null){const v=f/4;this.changeIndent(v-r),r=v,this.emitLine(m)}else this._emitContext.emitNewline()}r!==0&&this.changeIndent(-r)}gatherSource(t){const n=this._emitContext;this._emitContext=new Ed,t(),(0,cl.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,pa.sourcelikeToSource)(i);this._emitContext.emitItem((0,pa.annotated)(t,r))}emitIssue(t,n){this.emitAnnotated(new A2.IssueAnnotationData(t),n)}changeIndent(t){this._emitContext.changeIndent(t)}iterableForEach(t,n){const i=Array.from(t);let r=!0;for(const[l,u]of(0,E2.iterableEnumerate)(i)){const f=i.length===1?"only":r?"first":l===i.length-1?"last":"middle";n(u,f),r=!1}}forEach(t,n,i,r){let l=!1;return this.iterableForEach(t,([u,f],m)=>{m==="only"||m==="first"?this.ensureBlankLine(i):this.ensureBlankLine(n),r(f,u,m),l=!0}),l}forEachWithBlankLines(t,n,i){const{position:r,count:l}=F2(n),u=["interposing","leading-and-interposing"].indexOf(r)>=0,f=["leading","leading-and-interposing"].indexOf(r)>=0;return this.forEach(t,u?l:0,f?l:0,i)}indent(t){this.changeIndent(1),t(),this.changeIndent(-1)}assignNames(){return(0,C2.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,pa.sourcelikeToSource)(this._emitContext.source);this._finishedFiles.set(t,n),this._finishedEmitContexts.set(t.toLowerCase(),this._emitContext),this._emitContext=new Ed}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,cl.panic)("Names accessed before they were assigned"):this._names}}tc.Renderer=I2;var Dr={};Object.defineProperty(Dr,"__esModule",{value:!0});Dr.declarationsForGraph=Dr.cycleBreakerTypesForGraph=Dr.DeclarationIR=void 0;const is=Je,_l=Ae,M2=Ga,j2=Jt;class vv{constructor(t,n){this.forwardedTypes=n,this.declarations=Array.from(t)}}Dr.DeclarationIR=vv;function R2(e,t,n){const i=t.indexOf(e);if(i<0)return;if(n===void 0)return t[i];const l=t.slice(0,i+1).reverse().find(n);return l===void 0?(0,_l.panic)("Found a cycle that cannot be broken"):l}function B2(e,t,n){const i=new Set,r=new Set,l=Array.from(e.topLevels.values());function u(f,m){if(!i.has(f)){if(t(f))for(const v of f.getChildren())l.push(v);else{const v=R2(f,m,n);if(v!==void 0){r.add(v);return}for(const S of f.getChildren())m.unshift(f),u(S,m),m.shift()}i.add(f)}}for(;;){const f=l.pop();if(f===void 0)break;const m=[];u(f,m),(0,_l.assert)(m.length===0)}return r}Dr.cycleBreakerTypesForGraph=B2;function D2(e,t,n,i){const r=t===void 0,l=[],u=new Set,f=new Set;function m(S,C){const D=S.stronglyConnectedComponents();function _(P){if(f.has(P))return;f.add(P);const I=(0,is.setFilter)(P,i);if(I.size===1){l.push({kind:"define",type:(0,_l.defined)((0,is.iterableFirst)(I))});return}if(I.size===0&&P.size===1)return;if(I.size===0){l.push({kind:"define",type:(0,_l.defined)((0,is.iterableFirst)(P))});return}if(t===void 0){for(const U of I)l.push({kind:"define",type:U});return}const M=(0,is.setFilter)(P,t);if(M.size===0)return(0,j2.messageError)("IRNoForwardDeclarableTypeInCycle",{});for(const U of M)l.push({kind:"forward",type:U});(0,is.setUnionInto)(u,M);const H=(0,is.setSubtract)(P,M),Z=new M2.Graph(H,!0,U=>(0,is.setIntersect)(n(U),H));m(Z);for(const U of M)l.push({kind:"define",type:U})}const T=D.findRoots();for(const P of T)D.dfsTraversal(P,r,_)}const v=e.makeGraph(!1,n);return m(v),new vv(l,u)}Dr.declarationsForGraph=D2;var Cd={},Ad={},jo={},x2=Fe&&Fe.__awaiter||function(e,t,n,i){function r(l){return l instanceof n?l:new n(function(u){u(l)})}return new(n||(n=Promise))(function(l,u){function f(S){try{v(i.next(S))}catch(C){u(C)}}function m(S){try{v(i.throw(S))}catch(C){u(C)}}function v(S){S.done?l(S.value):r(S.value).then(f,m)}v((i=i.apply(e,t||[])).next())})};Object.defineProperty(jo,"__esModule",{value:!0});jo.JSONSchemaStore=void 0;const U2=Ae;class z2{constructor(){this._schemas=new Map}add(t,n){(0,U2.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})}}jo.JSONSchemaStore=z2;var Ro={};(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=Je,n=ft,i=Ae,r=Jt;class l extends n.TypeAttributeKind{constructor(){super("accessorNames")}makeInferred(B){}}e.accessorNamesTypeAttributeKind=new l;function u(U,B){if(typeof U=="string")return[U,!1];const F=U.get(B);if(F!==void 0)return[F,!0];const y=U.get("*");if(y!==void 0)return[y,!1]}function f(U,B,F){const y=U.get(B);if(y!==void 0)return u(y,F)}e.lookupKey=f;function m(U,B){const F=e.accessorNamesTypeAttributeKind.tryGetInAttributes(U.getAttributes()),y=U.getProperties();return F===void 0?(0,t.mapMap)(y,w=>{}):(0,t.mapMap)(y,(w,L)=>f(F,L,B))}e.objectPropertyNames=m;function v(U,B){const F=e.accessorNamesTypeAttributeKind.tryGetInAttributes(U.getAttributes());return F===void 0?(0,t.mapMap)(U.cases.entries(),y=>{}):(0,t.mapMap)(U.cases.entries(),y=>f(F,y,B))}e.enumCaseNames=v;function S(U,B){const F=U.get(B);return F===void 0?[void 0,!1]:F}e.getAccessorName=S;class C extends n.TypeAttributeKind{constructor(){super("unionIdentifier")}combine(B){return(0,t.setUnionManyInto)(new Set,B)}makeInferred(B){return new Set}}e.unionIdentifierTypeAttributeKind=new C;let D=0;function _(){const U=e.unionIdentifierTypeAttributeKind.makeAttributes(new Set([D]));return D+=1,U}e.makeUnionIdentifierAttribute=_;class E extends n.TypeAttributeKind{constructor(){super("unionMemberNames")}combine(B){const F=new Map;for(const y of B)(0,t.mapMergeInto)(F,y);return F}}e.unionMemberNamesTypeAttributeKind=new E;function T(U,B){const F=(0,i.defined)(e.unionIdentifierTypeAttributeKind.tryGetInAttributes(U)),y=(0,t.mapFromIterable)(F,w=>B);return e.unionMemberNamesTypeAttributeKind.makeAttributes(y)}e.makeUnionMemberNamesAttribute=T;function P(U,B,F){const y=e.unionIdentifierTypeAttributeKind.tryGetInAttributes(U.getAttributes());if(y===void 0)return[void 0,!1];const w=e.unionMemberNamesTypeAttributeKind.tryGetInAttributes(B.getAttributes());if(w===void 0)return[void 0,!1];const L=new Set,N=new Set;for(const d of y){const h=w.get(d);if(h===void 0)continue;const b=u(h,F);if(b===void 0)continue;const[R,x]=b;x?N.add(R):L.add(R)}let p,o,a=(0,t.iterableFirst)(N);if(a!==void 0)p=N.size,o=!0;else{if(a=(0,t.iterableFirst)(L),a===void 0)return[void 0,!1];p=L.size,o=!1}return(0,r.messageAssert)(p===1,"SchemaMoreThanOneUnionMemberName",{names:Array.from(L)}),[a,o]}e.unionMemberName=P;function I(U){return typeof U=="string"?!0:(0,i.isStringMap)(U,B=>typeof B=="string")}function M(U){return typeof U=="string"?U:(0,t.mapFromObject)(U)}function H(U){const B=(0,i.checkStringMap)(U,I);return(0,t.mapMap)((0,t.mapFromObject)(B),M)}e.makeAccessorNames=H;function Z(U,B,F,y){if(typeof U!="object")return;const w=U["qt-accessors"];if(w!==void 0){if(y===void 0)return{forType:e.accessorNamesTypeAttributeKind.makeAttributes(H(w))};{const L=_(),N=(0,i.checkArray)(w,I);(0,r.messageAssert)(y.length===N.length,"SchemaWrongAccessorEntryArrayLength",{operation:"oneOf",ref:B.push("oneOf")});const p=N.map(o=>T(L,M(o)));return{forUnion:L,forCases:p}}}}e.accessorNamesAttributeProducer=Z})(Ro);var nc={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.enumValuesAttributeProducer=e.enumCaseValues=e.enumValuesTypeAttributeKind=void 0;const t=Je,n=Ro,i=ft;class r extends i.TypeAttributeKind{constructor(){super("enumValues")}makeInferred(m){}}e.enumValuesTypeAttributeKind=new r;function l(f,m){const v=e.enumValuesTypeAttributeKind.tryGetInAttributes(f.getAttributes());return v===void 0?(0,t.mapMap)(f.cases.entries(),S=>{}):(0,t.mapMap)(f.cases.entries(),S=>(0,n.lookupKey)(v,S,m))}e.enumCaseValues=l;function u(f,m,v){if(typeof f!="object")return;const S=f["qt-enum-values"];if(S!==void 0)return{forType:e.enumValuesTypeAttributeKind.makeAttributes((0,n.makeAccessorNames)(S))}}e.enumValuesAttributeProducer=u})(nc);var ys={};(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=ft,n=Ae,i=Jt;function r(E){const[T,P]=E;if(typeof T=="number"&&typeof P=="number"&&T>P)return(0,i.messageError)("MiscInvalidMinMaxConstraint",{min:T,max:P});if(!(T===void 0&&P===void 0))return E}class l extends t.TypeAttributeKind{constructor(T,P,I,M){super(T),this._typeKinds=P,this._minSchemaProperty=I,this._maxSchemaProperty=M}get inIdentity(){return!0}combine(T){(0,n.assert)(T.length>0);let[P,I]=T[0];for(let M=1;M<T.length;M++){const[H,Z]=T[M];typeof P=="number"&&typeof H=="number"?P=Math.min(P,H):P=void 0,typeof I=="number"&&typeof Z=="number"?I=Math.max(I,Z):I=void 0}return r([P,I])}intersect(T){(0,n.assert)(T.length>0);let[P,I]=T[0];for(let M=1;M<T.length;M++){const[H,Z]=T[M];typeof P=="number"&&typeof H=="number"?P=Math.max(P,H):P===void 0&&(P=H),typeof I=="number"&&typeof Z=="number"?I=Math.min(I,Z):I===void 0&&(I=Z)}return r([P,I])}makeInferred(T){}addToSchema(T,P,I){if(this._typeKinds.has(P.kind))return;const[M,H]=I;M!==void 0&&(T[this._minSchemaProperty]=M),H!==void 0&&(T[this._maxSchemaProperty]=H)}stringify([T,P]){return`${T}-${P}`}}e.MinMaxConstraintTypeAttributeKind=l,e.minMaxTypeAttributeKind=new l("minMax",new Set(["integer","double"]),"minimum","maximum"),e.minMaxLengthTypeAttributeKind=new l("minMaxLength",new Set(["string"]),"minLength","maxLength");function u(E,T,P){if(typeof E!="object")return;let I,M;if(typeof E[T]=="number"&&(I=E[T]),typeof E[P]=="number"&&(M=E[P]),!(I===void 0&&M===void 0))return[I,M]}function f(E,T,P){if(!P.has("number")&&!P.has("integer"))return;const I=u(E,"minimum","maximum");if(I!==void 0)return{forNumber:e.minMaxTypeAttributeKind.makeAttributes(I)}}e.minMaxAttributeProducer=f;function m(E,T,P){if(!P.has("string"))return;const I=u(E,"minLength","maxLength");if(I!==void 0)return{forString:e.minMaxLengthTypeAttributeKind.makeAttributes(I)}}e.minMaxLengthAttributeProducer=m;function v(E){return e.minMaxTypeAttributeKind.tryGetInAttributes(E.getAttributes())}e.minMaxValueForType=v;function S(E){return e.minMaxLengthTypeAttributeKind.tryGetInAttributes(E.getAttributes())}e.minMaxLengthForType=S;class C extends t.TypeAttributeKind{constructor(){super("pattern")}get inIdentity(){return!0}combine(T){return(0,n.assert)(T.length>0),T.map(P=>`(${P})`).join("|")}intersect(T){}makeInferred(T){}addToSchema(T,P,I){P.kind==="string"&&(T.pattern=I)}}e.PatternTypeAttributeKind=C,e.patternTypeAttributeKind=new C;function D(E,T,P){if(typeof E!="object"||!P.has("string"))return;const I=E.pattern;if(typeof I=="string")return{forString:e.patternTypeAttributeKind.makeAttributes(I)}}e.patternAttributeProducer=D;function _(E){return e.patternTypeAttributeKind.tryGetInAttributes(E.getAttributes())}e.patternForType=_})(ys);var Qb;function Sh(){return Qb||(Qb=1,function(e){var t=Fe&&Fe.__awaiter||function(Y,$,ae,pe){function Te(Ne){return Ne instanceof ae?Ne:new ae(function(ce){ce(Ne)})}return new(ae||(ae=Promise))(function(Ne,ce){function fe(z){try{X(pe.next(z))}catch(K){ce(K)}}function le(z){try{X(pe.throw(z))}catch(K){ce(K)}}function X(z){z.done?Ne(z.value):Te(z.value).then(fe,le)}X((pe=pe.apply(Y,$||[])).next())})},n=Fe&&Fe.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(e,"__esModule",{value:!0}),e.JSONSchemaInput=e.schemaTypeDict=e.Ref=e.PathElementKind=void 0;const i=n(hv),r=Je,l=rt(),u=Ae,f=sr,m=sr,v=ft,S=jo,C=Jt,D=cr(),_=ic(),E=Ro,T=nc,P=ys,I=ys,M=ys,H=$l;var Z;(function(Y){Y[Y.Root=0]="Root",Y[Y.KeyOrIndex=1]="KeyOrIndex",Y[Y.Type=2]="Type",Y[Y.Object=3]="Object"})(Z=e.PathElementKind||(e.PathElementKind={}));function U(Y){if(Y.kind===Z.KeyOrIndex)return Y.key}function B(Y,$){if(Y.kind!==$.kind)return!1;switch(Y.kind){case Z.Type:return Y.index===$.index;case Z.KeyOrIndex:return Y.key===$.key;default:return!0}}function F(Y,$){const ae=typeof Y=="function"?Y():Y instanceof p?Y:Y.canonicalRef;return Object.assign({ref:ae},$===void 0?{}:$)}function y(Y,$){return Array.isArray(Y)?(0,C.messageError)("SchemaArrayIsInvalidSchema",F($)):Y===null?(0,C.messageError)("SchemaNullIsInvalidSchema",F($)):typeof Y!="object"?(0,C.messageError)("SchemaInvalidJSONSchemaType",F($,{type:typeof Y})):Y}function w(Y,$){return typeof Y=="boolean"?Y:y(Y,$)}const L=new RegExp("^[0-9]+$");function N(Y){return typeof Y=="string"&&(Y=new i.default(Y)),new i.default(i.default.decode(Y.clone().normalize().toString()))}class p{static root($){const ae=(0,r.definedMap)($,pe=>new i.default(pe));return new p(ae,[])}static parsePath($){const ae=[];if($.startsWith("/")&&(ae.push({kind:Z.Root}),$=$.slice(1)),$!==""){const pe=$.split("/");for(let Te=0;Te<pe.length;Te++)ae.push({kind:Z.KeyOrIndex,key:pe[Te]})}return ae}static parseURI($,ae=!1){ae||($=$.clone());let pe=$.fragment();$.fragment(""),($.host()!==""||$.filename()!=="")&&pe===""&&(pe="/");const Te=p.parsePath(pe);return new p($,Te)}static parse($){return p.parseURI(new i.default($),!0)}constructor($,ae){this.path=ae,$!==void 0?((0,u.assert)($.fragment()==="",`Ref URI with fragment is not allowed: ${$.toString()}`),this.addressURI=N($)):this.addressURI=void 0}get hasAddress(){return this.addressURI!==void 0}get address(){return(0,u.defined)(this.addressURI).toString()}get isRoot(){return this.path.length===1&&this.path[0].kind===Z.Root}pushElement($){const ae=Array.from(this.path);return ae.push($),new p(this.addressURI,ae)}push(...$){let ae=this;for(const pe of $)ae=ae.pushElement({kind:Z.KeyOrIndex,key:pe});return ae}pushObject(){return this.pushElement({kind:Z.Object})}pushType($){return this.pushElement({kind:Z.Type,index:$})}resolveAgainst($){let ae=this.addressURI;return $!==void 0&&$.addressURI!==void 0&&(ae=ae===void 0?$.addressURI:ae.absoluteTo($.addressURI)),new p(ae,this.path)}get name(){const $=Array.from(this.path);for(;;){const ae=$.pop();if(ae===void 0||ae.kind===Z.Root){let pe=this.addressURI!==void 0?this.addressURI.filename():"";const Te=this.addressURI!==void 0?this.addressURI.suffix():"";return pe.length>Te.length+1&&(pe=pe.slice(0,pe.length-Te.length-1)),pe===""?"Something":pe}switch(ae.kind){case Z.KeyOrIndex:if(L.test(ae.key))return ae.key;break;case Z.Type:case Z.Object:return(0,u.panic)("We shouldn't try to get the name of Type or Object refs");default:return(0,u.assertNever)(ae)}}}get definitionName(){const $=(0,r.arrayGetFromEnd)(this.path,2);if($!==void 0&&U($)==="definitions")return U((0,u.defined)((0,r.arrayLast)(this.path)))}toString(){function $(pe){switch(pe.kind){case Z.Root:return"";case Z.Type:return`type/${pe.index.toString()}`;case Z.Object:return"object";case Z.KeyOrIndex:return pe.key;default:return(0,u.assertNever)(pe)}}return(this.addressURI===void 0?"":this.addressURI.toString())+"#"+this.path.map($).join("/")}lookup($,ae,pe){const Te=()=>new p(this.addressURI,ae),Ne=ae[0];if(Ne===void 0)return w($,Te);const ce=ae.slice(1);switch(Ne.kind){case Z.Root:return this.lookup(pe,ce,pe);case Z.KeyOrIndex:const fe=Ne.key;if(Array.isArray($)){if(!/^\d+$/.test(fe))return(0,C.messageError)("SchemaCannotIndexArrayWithNonNumber",F(Te,{actual:fe}));const le=parseInt(Ne.key,10);return le>=$.length?(0,C.messageError)("SchemaIndexNotInArray",F(Te,{index:le})):this.lookup($[le],ce,pe)}else return(0,r.hasOwnProperty)($,fe)?this.lookup(y($,Te)[Ne.key],ce,pe):(0,C.messageError)("SchemaKeyNotInObject",F(Te,{key:fe}));case Z.Type:return(0,u.panic)('Cannot look up path that indexes "type"');case Z.Object:return(0,u.panic)('Cannot look up path that indexes "object"');default:return(0,u.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 ae=this.path.length;if(ae!==$.path.length)return!1;for(let pe=0;pe<ae;pe++)if(!B(this.path[pe],$.path[pe]))return!1;return!0}hashCode(){let $=(0,r.hashCodeOf)((0,r.definedMap)(this.addressURI,ae=>ae.toString()));for(const ae of this.path)switch($=(0,r.addHashCode)($,ae.kind),ae.kind){case Z.Type:$=(0,r.addHashCode)($,ae.index);break;case Z.KeyOrIndex:$=(0,r.addHashCode)($,(0,r.hashString)(ae.key));break}return $}}e.Ref=p;class o{constructor($,ae,pe=!1){this.haveID=pe,this.canonicalRef=$,this.virtualRef=ae!==void 0?ae:$}updateWithID($){if(typeof $!="string")return this;const ae=p.parse($),pe=this.haveID?ae.resolveAgainst(this.virtualRef):ae;return this.haveID||(0,C.messageAssert)(pe.hasAddress,"SchemaIDMustHaveAddress",F(this,{id:$})),new o(this.canonicalRef,pe,!0)}push(...$){return new o(this.canonicalRef.push(...$),this.virtualRef.push(...$),this.haveID)}pushObject(){return new o(this.canonicalRef.pushObject(),this.virtualRef.pushObject(),this.haveID)}pushType($){return new o(this.canonicalRef.pushType($),this.virtualRef.pushType($),this.haveID)}toString(){return`${this.virtualRef.toString()} (${this.canonicalRef.toString()})`}}class a{constructor($){this._ctx=$,this._map=new r.EqualityMap,this._schemaAddressesAdded=new Set}addIDs($,ae){if($===null)return;if(Array.isArray($)){for(let Ne=0;Ne<$.length;Ne++)this.addIDs($[Ne],ae.push(Ne.toString()));return}if(typeof $!="object")return;const pe=ae,Te=$.$id;typeof Te=="string"&&(ae=ae.updateWithID(Te)),ae.haveID&&(this._ctx.debugPrintSchemaResolving&&console.log(`adding mapping ${ae.toString()}`),this._map.set(ae.virtualRef,pe));for(const Ne of Object.getOwnPropertyNames($))this.addIDs($[Ne],ae.push(Ne))}addSchema($,ae){return this._schemaAddressesAdded.has(ae)?!1:(this.addIDs($,new o(p.root(ae),p.root(void 0))),this._schemaAddressesAdded.add(ae),!0)}canonize($,ae){const pe=ae.resolveAgainst($.virtualRef),Te=this._map.get(pe);if(Te!==void 0)return Te;const Ne=pe.addressURI===void 0?new p($.canonicalRef.addressURI,pe.path):pe;return new o(Ne,new p(void 0,pe.path))}}function d(Y,$){let ae;if(typeof Y=="string")ae=new Set([Y]);else if(Array.isArray(Y)){const Ne=[];for(const ce of Y){if(typeof ce!="string")return(0,C.messageError)("SchemaTypeElementMustBeString",F($,{element:ce}));Ne.push(ce)}ae=new Set(Ne)}else return(0,C.messageError)("SchemaTypeMustBeStringOrStringArray",F($,{actual:Y}));(0,C.messageAssert)(ae.size>0,"SchemaNoTypeSpecified",F($));const pe=["null","boolean","object","array","number","string","integer"],Te=(0,r.iterableFind)(ae,Ne=>pe.indexOf(Ne)<0);return Te!==void 0?(0,C.messageError)("SchemaInvalidType",F($,{type:Te})):ae}function h(Y,$){if(!Array.isArray(Y))return(0,C.messageError)("SchemaRequiredMustBeStringOrStringArray",F($,{actual:Y}));for(const ae of Y)if(typeof ae!="string")return(0,C.messageError)("SchemaRequiredElementMustBeString",F($,{element:ae}));return Y}e.schemaTypeDict={null:!0,boolean:!0,string:!0,integer:!0,number:!0,array:!0,object:!0};const b=Object.getOwnPropertyNames(e.schemaTypeDict);function R(Y){const $=(0,r.iterableFind)(l.transformedStringTypeTargetTypeKindsMap,([ae,{jsonSchema:pe}])=>pe===Y);if($!==void 0)return $[0]}function x(Y,$){return Y===void 0?(0,C.messageError)("SchemaFetchErrorTopLevel",{address:$}):(0,C.messageError)("SchemaFetchError",{address:$,base:Y.canonicalRef})}class j{constructor($,ae,pe){this._ctx=$,this._store=ae,this._canonizer=pe}tryResolveVirtualRef($,ae,pe){return t(this,void 0,void 0,function*(){let Te=!1;for(;;){const Ne=this._canonizer.canonize($,pe),ce=Ne.canonicalRef;(0,u.assert)(ce.hasAddress,"Canonical ref can't be resolved without an address");const fe=ce.address;let le=ce.addressURI===void 0?void 0:yield this._store.get(fe,this._ctx.debugPrintSchemaResolving);if(le===void 0)return[void 0,Ne];if(this._canonizer.addSchema(le,fe))(0,u.assert)(!Te,"We can't add a schema twice"),Te=!0;else{let X=this._canonizer.canonize(ae,pe);return $!==void 0&&(X=new o(new p(Ne.canonicalRef.addressURI,X.canonicalRef.path),X.virtualRef,X.haveID)),[X.canonicalRef.lookupRef(le),X]}}})}resolveVirtualRef($,ae){return t(this,void 0,void 0,function*(){this._ctx.debugPrintSchemaResolving&&console.log(`resolving ${ae.toString()} relative to ${$.toString()}`);let pe=yield this.tryResolveVirtualRef($,$,ae),Te=pe[0];if(Te!==void 0)return this._ctx.debugPrintSchemaResolving&&console.log(`resolved to ${pe[1].toString()}`),[Te,pe[1]];const Ne=new o($.canonicalRef,new p($.canonicalRef.addressURI,$.virtualRef.path),$.haveID);return pe=yield this.tryResolveVirtualRef(Ne,$,ae),Te=pe[0],Te!==void 0?(this._ctx.debugPrintSchemaResolving&&console.log(`resolved to ${pe[1].toString()}`),[Te,pe[1]]):x($,ae.address)})}resolveTopLevelRef($){return t(this,void 0,void 0,function*(){return yield this.resolveVirtualRef(new o(new p($.addressURI,[])),new p(void 0,$.path))})}}function W(Y,$,ae,pe){return t(this,void 0,void 0,function*(){let Te=new r.EqualityMap;function Ne(X,z){const K=Te.get(X.canonicalRef);K!==void 0&&(0,u.assert)(K===z,"Trying to set path again to different type"),Te.set(X.canonicalRef,z)}function ce(X,z,K,se,he,ve=we=>we.toLowerCase()){return t(this,void 0,void 0,function*(){const we=new Set(se),Pe=(0,r.mapSortBy)((0,r.mapFromObject)(K),(G,A)=>ve(A)),je=yield(0,r.mapMapSync)(Pe,(G,A)=>t(this,void 0,void 0,function*(){const J=X.push("properties",A),re=yield le(w(G,J.canonicalRef),J,(0,m.makeNamesTypeAttributes)(A,!0)),me=!we.has(A);return $.makeClassProperty(re,me)}));let Q;if(he===void 0||he===!0)Q=$.getPrimitiveType("any");else if(he===!1)Q=void 0;else{const G=X.push("additionalProperties");Q=yield le(w(he,G.canonicalRef),G,(0,m.singularizeTypeNames)(z))}const ee=(0,r.setSubtract)(we,je.keys());if(ee.size>0){const G=Q;if(G===void 0)return(0,C.messageError)("SchemaAdditionalTypesForbidRequired",F(X));const A=(0,r.mapFromIterable)(ee,J=>$.makeClassProperty(G,!1));(0,r.mapMergeInto)(je,A)}return $.getUniqueObjectType(z,je,Q)})}function fe(X,z,K){return t(this,void 0,void 0,function*(){const se=Array.isArray(X.enum)?X.enum:void 0,he=X.const!==void 0,ve=(0,r.definedMap)(X.type,xe=>d(xe,z));function we(xe){var He;if(ve!==void 0&&!ve.has(xe))return!1;if(se!==void 0){let Ue;switch(xe){case"null":Ue=De=>De===null;break;case"integer":Ue=De=>typeof De=="number"&&De===Math.floor(De);break;default:Ue=De=>typeof De===xe;break}return se.find(Ue)!==void 0}return he?xe===((He=X.type)!==null&&He!==void 0?He:typeof X.const):!0}const Pe=(0,r.setFilter)(b,we);let je;function Q(xe,He){let Ue;if(xe===void 0&&je!==void 0)Ue=je;else{Ue=[];for(const De of pe){const Bt=De(X,z.canonicalRef,Pe,xe);Bt!==void 0&&Ue.push(Bt)}xe===void 0&&(je=Ue)}for(const De of Ue)He(De)}function ee(xe){let He=v.emptyTypeAttributes;return Q(void 0,Ue=>{const De=xe(Ue);De!==void 0&&(He=(0,v.combineTypeAttributes)("union",He,De))}),He}function G(xe){return X.oneOf===void 0&&(xe=(0,v.combineTypeAttributes)("union",xe,ee(({forType:He,forUnion:Ue,forCases:De})=>((0,u.assert)(Ue===void 0&&De===void 0,"We can't have attributes for unions and cases if we don't have a union"),He)))),(0,m.modifyTypeNames)(xe,He=>{const Ue=(0,u.defined)(He);if(!Ue.areInferred)return Ue;let De=X.title;return typeof De!="string"&&(De=z.canonicalRef.definitionName),typeof De=="string"?f.TypeNames.make(new Set([De]),new Set,X.$ref!==void 0):Ue.makeInferred()})}K=G(K);const A=(0,v.makeTypeAttributesInferred)(K);function J(xe){const He=R(X.format);return He===void 0?$.getStringType(xe,D.StringTypes.unrestricted):$.getPrimitiveType(He,xe)}function re(){return t(this,void 0,void 0,function*(){const xe=(0,m.singularizeTypeNames)(K),He=X.items;let Ue;if(Array.isArray(He)){const De=z.push("items"),Bt=yield(0,r.arrayMapSync)(He,(Rn,sn)=>t(this,void 0,void 0,function*(){const Bn=De.push(sn.toString());return yield le(w(Rn,Bn.canonicalRef),Bn,xe)}));Ue=$.getUnionType(v.emptyTypeAttributes,new Set(Bt))}else if(typeof He=="object"){const De=z.push("items");Ue=yield le(w(He,De.canonicalRef),De,xe)}else{if(He!==void 0&&He!==!0)return(0,C.messageError)("SchemaArrayItemsMustBeStringOrArray",F(z,{actual:He}));Ue=$.getPrimitiveType("any")}return $.addAttributes(Ue,xe),$.getArrayType(v.emptyTypeAttributes,Ue)})}function me(){return t(this,void 0,void 0,function*(){let xe;X.required===void 0||typeof X.required=="boolean"?xe=[]:xe=Array.from(h(X.required,z));let He;X.properties===void 0?He={}:He=y(X.properties,z.canonicalRef);for(const sn of Object.getOwnPropertyNames(He))He[sn].required===!0&&xe.indexOf(sn)<0&&xe.push(sn);let Ue=X.additionalProperties;Ue===void 0&&typeof X.patternProperties=="object"&&(0,r.hasOwnProperty)(X.patternProperties,".*")&&(Ue=X.patternProperties[".*"]);const De=(0,v.combineTypeAttributes)("union",A,ee(({forObject:sn})=>sn)),Bt=X.quicktypePropertyOrder?X.quicktypePropertyOrder:[];return yield ce(z,De,He,xe,Ue,sn=>{const Bn=Bt.indexOf(sn);return Bn!==-1?Bn:sn.toLowerCase()})})}function Se(xe,He){return t(this,void 0,void 0,function*(){const Ue=z.push(He);return Array.isArray(xe)?yield(0,r.arrayMapSync)(xe,(De,Bt)=>t(this,void 0,void 0,function*(){const Rn=Ue.push(Bt.toString());return yield le(w(De,Rn.canonicalRef),Rn,(0,v.makeTypeAttributesInferred)(K))})):(0,C.messageError)("SchemaSetOperationCasesIsNotArray",F(Ue,{operation:He,cases:xe}))})}const Le=$.getUniqueIntersectionType(K,void 0);Ne(z,Le);function Re(xe,He){return t(this,void 0,void 0,function*(){const Ue=yield Se(xe,He);let De=(0,v.makeTypeAttributesInferred)(K);He==="oneOf"&&Q(xe,({forType:Rn,forUnion:sn,forCases:Bn})=>{if(Rn!==void 0&&$.addAttributes(Le,Rn),sn!==void 0&&(De=(0,v.combineTypeAttributes)("union",De,sn)),Bn!==void 0){(0,u.assert)(Bn.length===Ue.length,"Number of case attributes doesn't match number of cases");for(let Us=0;Us<Ue.length;Us++)$.addAttributes(Ue[Us],Bn[Us])}});const Bt=$.getUniqueUnionType(De,void 0);return $.setSetOperationMembers(Bt,new Set(Ue)),Bt})}const nt=se===void 0&&!he&&(ve===void 0||ve.has("object")),st=se===void 0&&!he&&(ve===void 0||ve.has("array")),dt=Pe.has("string")&&se!==void 0&&se.find(xe=>typeof xe=="string")!==void 0,ut=ve!==void 0||X.properties!==void 0||X.additionalProperties!==void 0||X.items!==void 0||X.required!==void 0||se!==void 0||he,jn=[];if(ut){const xe=[],He=ee(({forNumber:De})=>De);for(const[De,Bt]of[["null","null"],["number","double"],["integer","integer"],["boolean","bool"]]){if(!Pe.has(De))continue;const Rn=(0,l.isNumberTypeKind)(Bt)?He:void 0;xe.push($.getPrimitiveType(Bt,Rn))}const Ue=(0,v.combineTypeAttributes)("union",A,ee(({forString:De})=>De));if(dt||he){const De=he?[X.const]:se.filter(Bt=>typeof Bt=="string");xe.push($.getStringType(Ue,D.StringTypes.fromCases(De)))}else Pe.has("string")&&xe.push(J(Ue));st&&xe.push(yield re()),nt&&xe.push(yield me()),jn.push($.getUniqueUnionType(A,new Set(xe)))}if(X.$ref!==void 0){if(typeof X.$ref!="string")return(0,C.messageError)("SchemaRefMustBeString",F(z,{actual:typeof X.$ref}));const xe=p.parse(X.$ref),[He,Ue]=yield Y.resolveVirtualRef(z,xe),De=(0,m.modifyTypeNames)(K,Bt=>(0,u.defined)(Bt).areInferred?f.TypeNames.make(new Set([Ue.canonicalRef.name]),new Set,!0):Bt);jn.push(yield le(He,Ue,De))}return X.allOf!==void 0&&jn.push(...yield Se(X.allOf,"allOf")),X.oneOf!==void 0&&jn.push(yield Re(X.oneOf,"oneOf")),X.anyOf!==void 0&&jn.push(yield Re(X.anyOf,"anyOf")),$.setSetOperationMembers(Le,new Set(jn)),Le})}function le(X,z,K){return t(this,void 0,void 0,function*(){const se=Te.get(z.canonicalRef);if(se!==void 0)return se;let he;return typeof X=="boolean"?((0,C.messageAssert)(X===!0,"SchemaFalseNotSupported",F(z)),he=$.getPrimitiveType("any")):(z=z.updateWithID(X.$id),he=yield fe(X,z,K)),Ne(z,he),he})}for(const[X,z]of ae){const[K,se]=yield Y.resolveTopLevelRef(z),he=yield le(K,se,(0,m.makeNamesTypeAttributes)(X,!1));$.addTopLevel(X,he)}})}function k(Y){const $=Y.toLowerCase(),ae=[".json",".schema"];for(const pe of ae)if($.endsWith(pe)){const Te=Y.slice(0,Y.length-pe.length);if(Te.length>0)return Te}return Y}function O(Y){const $=Y.fragment();if($!==""){const pe=$.split("/"),Te=pe.length;if(pe[Te-1]!=="")return k(pe[Te-1]);if(Te>1&&pe[Te-2]!=="")return k(pe[Te-2])}const ae=Y.filename();return ae!==""?k(ae):(0,C.messageError)("DriverCannotInferNameForSchema",{uri:Y.toString()})}function V(Y,$,ae){return t(this,void 0,void 0,function*(){const pe=$.fragment();let Te=pe.endsWith("/");Te&&($=$.clone().fragment(pe.slice(0,-1)));const Ne=p.parseURI($);Ne.isRoot&&(Te=!1);const ce=(yield Y.resolveTopLevelRef(Ne))[0];if(Te)return typeof ce!="object"?(0,C.messageError)("SchemaCannotGetTypesFromBoolean",{ref:Ne.toString()}):(0,r.mapMap)((0,r.mapFromObject)(ce),(fe,le)=>Ne.push(le));{let fe;if(typeof ce=="object"&&typeof ce.title=="string")fe=ce.title;else{const le=O($);fe=le!==void 0?le:ae}return[fe,Ne]}})}class te extends S.JSONSchemaStore{constructor($,ae){super(),this._inputs=$,this._delegate=ae}fetch($){return t(this,void 0,void 0,function*(){const ae=this._inputs.get($);return ae!==void 0?w((0,u.parseJSON)(ae,"JSON Schema",$),()=>p.root($)):this._delegate===void 0?(0,u.panic)(`Schema URI ${$} requested, but no store given`):yield this._delegate.fetch($)})}}class ue{constructor($,ae=[],pe=[]){this._schemaStore=$,this._additionalSchemaAddresses=pe,this.kind="schema",this.needSchemaProcessing=!0,this._schemaInputs=new Map,this._schemaSources=[],this._topLevels=new Map,this._needIR=!1,this._attributeProducers=[_.descriptionAttributeProducer,E.accessorNamesAttributeProducer,T.enumValuesAttributeProducer,H.uriSchemaAttributesProducer,P.minMaxAttributeProducer,I.minMaxLengthAttributeProducer,M.patternAttributeProducer].concat(ae)}get needIR(){return this._needIR}addTopLevel($,ae){this._topLevels.set($,ae)}addTypes($,ae){return t(this,void 0,void 0,function*(){if(this._schemaSources.length===0)return;let pe=this._schemaStore;if(this._schemaInputs.size===0){if(pe===void 0)return(0,u.panic)("Must have a schema store to process JSON Schema")}else pe=this._schemaStore=new te(this._schemaInputs,pe);const Te=pe,Ne=new a($);for(const fe of this._additionalSchemaAddresses){const le=yield Te.get(fe,$.debugPrintSchemaResolving);if(le===void 0)return(0,C.messageError)("SchemaFetchErrorAdditional",{address:fe});Ne.addSchema(le,fe)}const ce=new j($,(0,u.defined)(this._schemaStore),Ne);for(const[fe,le]of this._schemaSources){const X=le.name,z=yield V(ce,fe,X);if(Array.isArray(z)){let K;this._schemaSources.length===1&&X!==void 0?K=X:K=z[0],this.addTopLevel(K,z[1])}else for(const[K,se]of z)this.addTopLevel(K,se)}yield W(ce,ae,this._topLevels,this._attributeProducers)})}addTypesSync(){return(0,u.panic)("addTypesSync not supported in JSONSchemaInput")}addSource($){return t(this,void 0,void 0,function*(){return this.addSourceSync($)})}addSourceSync($){const{name:ae,uris:pe,schema:Te,isConverted:Ne}=$;Ne!==!0&&(this._needIR=!0);let ce;if(pe===void 0?ce=[new i.default(ae)]:ce=pe.map(fe=>{const le=N(fe);return le.clone().hash("").toString()===""&&le.path(ae),le}),Te===void 0)(0,u.assert)(pe!==void 0,"URIs must be given if schema source is not specified");else for(let fe=0;fe<ce.length;fe++){const le=ce[fe],X=le.clone().hash(""),z=X.path();let K=0;do K>0&&X.path(`${z}-${K}`),K++;while(this._schemaInputs.has(X.toString()));this._schemaInputs.set(X.toString(),Te),ce[fe]=X.hash(le.hash())}for(const fe of ce)this._schemaSources.push([fe,$])}singleStringSchemaSource(){if(!this._schemaSources.every(([ae,{schema:pe}])=>typeof pe=="string"))return;const $=new Set(this._schemaSources.map(([ae,{schema:pe}])=>pe));if($.size===1)return(0,u.defined)((0,r.iterableFirst)($))}}e.JSONSchemaInput=ue}(Ad)),Ad}var Xb;function ic(){return Xb||(Xb=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.descriptionAttributeProducer=e.propertyDescriptionsTypeAttributeKind=e.descriptionTypeAttributeKind=e.addDescriptionToSchema=void 0;const t=Je,n=ft,i=Sh();function r(v,S){S!==void 0&&(v.description=Array.from(S).join(`
|
|
179
|
-
`))}e.addDescriptionToSchema=r;class l extends n.TypeAttributeKind{constructor(){super("description")}combine(S){return(0,t.setUnionManyInto)(new Set,S)}makeInferred(S){}addToSchema(S,C,D){r(S,D)}stringify(S){let C=(0,t.iterableFirst)(S);if(C!==void 0)return C.length>8&&(C=`${C.slice(0,5)}...`),S.size>1&&(C=`${C}, ...`),C}}e.descriptionTypeAttributeKind=new l;class u extends n.TypeAttributeKind{constructor(){super("propertyDescriptions")}combine(S){const C=new Map;for(const D of S)(0,t.mapMergeWithInto)(C,(_,E)=>(0,t.setUnion)(_,E),D);return C}makeInferred(S){}stringify(S){if(S.size!==0)return`prop descs: ${S.size}`}}e.propertyDescriptionsTypeAttributeKind=new u;function f(v){return v.kind===i.PathElementKind.KeyOrIndex&&v.key==="properties"}function m(v,S,C){if(typeof v!="object")return;let D=n.emptyTypeAttributes,_=n.emptyTypeAttributes;const E=S.path.length;if(C.has("object")||(0,t.setSubtract)(C,["null"]).size>1||v.enum!==void 0||E<2||!f(S.path[E-2])){const T=v.description;typeof T=="string"&&(D=e.descriptionTypeAttributeKind.makeAttributes(new Set([T])))}if(C.has("object")&&typeof v.properties=="object"){const T=(0,t.mapFilterMap)((0,t.mapFromObject)(v.properties),P=>{if(typeof P=="object"){const I=P.description;if(typeof I=="string")return new Set([I])}});T.size>0&&(_=e.propertyDescriptionsTypeAttributeKind.makeAttributes(T))}return{forType:D,forObject:_}}e.descriptionAttributeProducer=m}(Cd)),Cd}var Bo={};(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=Je,n=rt(),i=ft,r=Ae,l=hi();function u(o){const a=p(o);return o===a?o.kind:`${o.kind} (${a.kind})`}function f(o){return(0,t.definedMapWithDefault)(o,0,a=>a.getNumberOfNodes())}class m{constructor(a,d,h){this.kind=a,this.graph=d,this.sourceTypeRef=h}get sourceType(){return(0,l.derefTypeRef)(this.sourceTypeRef,this.graph)}getChildren(){return new Set([this.sourceType])}getNumberOfNodes(){return 1}equals(a){return a instanceof m?this.sourceTypeRef===a.sourceTypeRef:!1}hashCode(){return(0,t.hashCodeOf)(this.sourceTypeRef)}debugDescription(){return`${u(this.sourceType)} -> ${this.kind}`}debugPrintContinuations(a){}debugPrint(a){console.log((0,r.indentationString)(a)+this.debugDescription()),this.debugPrintContinuations(a+1)}}e.Transformer=m;class v extends m{constructor(a,d,h,b){super(a,d,h),this.consumer=b}getChildren(){const a=super.getChildren();return this.consumer===void 0?a:(0,t.setUnionInto)(a,this.consumer.getChildren())}getNumberOfNodes(){return super.getNumberOfNodes()+f(this.consumer)}equals(a){return!super.equals(a)||!(a instanceof v)?!1:(0,t.areEqual)(this.consumer,a.consumer)}hashCode(){const a=super.hashCode();return(0,t.addHashCode)(a,(0,t.hashCodeOf)(this.consumer))}debugPrintContinuations(a){this.consumer!==void 0&&this.consumer.debugPrint(a)}}e.ProducerTransformer=v;class S extends m{constructor(a,d,h,b){super(a,d,h),this.transformer=b}getChildren(){return(0,t.setUnionInto)(super.getChildren(),this.transformer.getChildren())}getNumberOfNodes(){return super.getNumberOfNodes()+this.transformer.getNumberOfNodes()}equals(a){return!super.equals(a)||!(a instanceof S)?!1:this.transformer.equals(a.transformer)}hashCode(){const a=super.hashCode();return(0,t.addHashCode)(a,this.transformer.hashCode())}debugPrintContinuations(a){this.transformer.debugPrint(a)}}e.MatchTransformer=S;class C extends v{constructor(a,d,h){super("decode",a,d,h)}get canFail(){return!1}reverse(a,d){return d!==void 0?(0,r.panic)("Reversing a decoding transformer cannot have a continuation"):this.consumer===void 0?new D(this.graph,a):this.consumer.reverse(a,new D(this.graph,this.consumer.sourceTypeRef))}reconstitute(a){return new C(a.typeGraph,a.reconstituteTypeRef(this.sourceTypeRef),(0,t.definedMap)(this.consumer,d=>d.reconstitute(a)))}equals(a){return super.equals(a)?a instanceof C:!1}}e.DecodingTransformer=C;class D extends m{constructor(a,d){super("encode",a,d)}get canFail(){return!1}reverse(a,d){return(0,r.panic)("Can't reverse encoding transformer")}reconstitute(a){return new D(a.typeGraph,a.reconstituteTypeRef(this.sourceTypeRef))}equals(a){return!(!super.equals(a)||!(a instanceof D))}}e.EncodingTransformer=D;class _ extends v{constructor(a,d,h,b,R){super("decode-array",a,d,h),this._itemTargetTypeRef=b,this.itemTransformer=R}getChildren(){const a=super.getChildren();return a.add(this.itemTargetType),(0,t.setUnionInto)(a,this.itemTransformer.getChildren())}getNumberOfNodes(){return super.getNumberOfNodes()+this.itemTransformer.getNumberOfNodes()}get canFail(){return!1}get itemTargetType(){return(0,l.derefTypeRef)(this._itemTargetTypeRef,this.graph)}reverse(a,d){if(d!==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 E(this.graph,a,this.itemTransformer.sourceTypeRef,h):this.consumer.reverse(a,new E(this.graph,this.consumer.sourceTypeRef,this.itemTransformer.sourceTypeRef,h))}reconstitute(a){return new _(a.typeGraph,a.reconstituteTypeRef(this.sourceTypeRef),(0,t.definedMap)(this.consumer,d=>d.reconstitute(a)),a.reconstituteTypeRef(this._itemTargetTypeRef),this.itemTransformer.reconstitute(a))}hashCode(){let a=super.hashCode();return a=(0,t.addHashCode)(a,(0,t.hashCodeOf)(this._itemTargetTypeRef)),a=(0,t.addHashCode)(a,this.itemTransformer.hashCode()),a}equals(a){return!super.equals(a)||!(a instanceof _)||!(0,t.areEqual)(this._itemTargetTypeRef,a._itemTargetTypeRef)?!1:this.itemTransformer.equals(a.itemTransformer)}debugPrintContinuations(a){this.itemTransformer.debugPrint(a),super.debugPrintContinuations(a)}}e.ArrayDecodingTransformer=_;class E extends m{constructor(a,d,h,b){super("encode-array",a,d),this._itemTargetTypeRef=h,this.itemTransformer=b}getChildren(){const a=super.getChildren();return a.add(this.itemTargetType),(0,t.setUnionInto)(a,this.itemTransformer.getChildren())}getNumberOfNodes(){return super.getNumberOfNodes()+this.itemTransformer.getNumberOfNodes()}get canFail(){return!1}get itemTargetType(){return(0,l.derefTypeRef)(this._itemTargetTypeRef,this.graph)}reverse(a,d){return(0,r.panic)("Can't reverse array encoding transformer")}reconstitute(a){return new E(a.typeGraph,a.reconstituteTypeRef(this.sourceTypeRef),a.reconstituteTypeRef(this._itemTargetTypeRef),this.itemTransformer.reconstitute(a))}hashCode(){let a=super.hashCode();return a=(0,t.addHashCode)(a,(0,t.hashCodeOf)(this._itemTargetTypeRef)),(0,t.addHashCode)(a,this.itemTransformer.hashCode())}equals(a){return!super.equals(a)||!(a instanceof E)||!(0,t.areEqual)(this._itemTargetTypeRef,a._itemTargetTypeRef)?!1:this.itemTransformer.equals(a.itemTransformer)}debugPrintContinuations(a){this.itemTransformer.debugPrint(a),super.debugPrintContinuations(a)}}e.ArrayEncodingTransformer=E;class T extends m{constructor(a,d,h){super("choice",a,d),this.transformers=h,(0,r.assert)(h.length>0,"Choice must have at least one transformer")}getChildren(){let a=super.getChildren();for(const d of this.transformers)(0,t.setUnionInto)(a,d.getChildren());return a}getNumberOfNodes(){let a=0;for(const d of this.transformers)a+=d.getNumberOfNodes();return super.getNumberOfNodes()+a}get canFail(){return this.transformers.some(a=>a.canFail)}reverse(a,d){const h=this.transformers.map(b=>b.reverse(a,d));if(h.every(b=>b instanceof I)){const b=h,R=b[0];if(b.every(x=>R.memberType.equals(x.memberType))){const x=b.map(j=>j.transformer);return new I(this.graph,a,new T(this.graph,x[0].sourceTypeRef,x),R.memberTypeRef)}}return new T(this.graph,a,h)}reconstitute(a){return new T(a.typeGraph,a.reconstituteTypeRef(this.sourceTypeRef),this.transformers.map(d=>d.reconstitute(a)))}equals(a){return!super.equals(a)||!(a instanceof T)?!1:(0,t.areEqual)(this.transformers,a.transformers)}hashCode(){const a=super.hashCode();return(0,t.addHashCode)(a,(0,t.hashCodeOf)(this.transformers))}debugPrintContinuations(a){for(const d of this.transformers)d.debugPrint(a)}}e.ChoiceTransformer=T;class P extends m{constructor(a,d,h,b,R,x,j,W,k){super("decoding-choice",a,d),this.nullTransformer=h,this.integerTransformer=b,this.doubleTransformer=R,this.boolTransformer=x,this.stringTransformer=j,this.arrayTransformer=W,this.objectTransformer=k}get transformers(){const a=[];function d(h){h!==void 0&&a.push(h)}return d(this.nullTransformer),d(this.integerTransformer),d(this.doubleTransformer),d(this.boolTransformer),d(this.stringTransformer),d(this.arrayTransformer),d(this.objectTransformer),a}getChildren(){let a=super.getChildren();for(const d of this.transformers)(0,t.setUnionInto)(a,d.getChildren());return a}getNumberOfNodes(){let a=super.getNumberOfNodes();for(const d of this.transformers)a+=f(d);return a}get canFail(){return!1}reverse(a,d){(0,r.assert)(d===void 0,"Reversing a decoding transformer can't have a target transformer");let h=new Map,b=new Map;function R(O){if(O instanceof I){const V=O.memberType;let te=b.get(V);te===void 0&&(te=[],b.set(V,te)),te.push(O)}else{const V=O.sourceType.kind;let te=h.get(V);te===void 0&&(te=[],h.set(V,te)),te.push(O)}}function x(O){const V=O.reverse(a,void 0);let te=[];V instanceof T?te=V.transformers:te=[V];for(const ue of te)R(ue)}function j(O){(0,r.assert)(O.length>0,"Must have at least one transformer");const V=O.filter(ue=>ue instanceof I?!ue.transformer.canFail:!ue.canFail);return V.length===0?O:[(0,t.arraySortByInto)(V.map(ue=>[ue.getNumberOfNodes(),ue]),([ue,Y])=>ue)[0][1]]}this.transformers.forEach(x);const W=Array.from(h.values()).concat(Array.from(b.values())),k=[].concat(...W.map(j));return k.length===1?k[0]:new T(this.graph,a,k)}reconstitute(a){function d(h){if(h!==void 0)return h.reconstitute(a)}return new P(a.typeGraph,a.reconstituteTypeRef(this.sourceTypeRef),d(this.nullTransformer),d(this.integerTransformer),d(this.doubleTransformer),d(this.boolTransformer),d(this.stringTransformer),d(this.arrayTransformer),d(this.objectTransformer))}equals(a){return!(!super.equals(a)||!(a instanceof P)||!(0,t.areEqual)(this.nullTransformer,a.nullTransformer)||!(0,t.areEqual)(this.integerTransformer,a.integerTransformer)||!(0,t.areEqual)(this.doubleTransformer,a.doubleTransformer)||!(0,t.areEqual)(this.boolTransformer,a.boolTransformer)||!(0,t.areEqual)(this.stringTransformer,a.stringTransformer)||!(0,t.areEqual)(this.arrayTransformer,a.arrayTransformer)||!(0,t.areEqual)(this.objectTransformer,a.objectTransformer))}hashCode(){let a=super.hashCode();return a=(0,t.addHashCode)(a,(0,t.hashCodeOf)(this.nullTransformer)),a=(0,t.addHashCode)(a,(0,t.hashCodeOf)(this.integerTransformer)),a=(0,t.addHashCode)(a,(0,t.hashCodeOf)(this.doubleTransformer)),a=(0,t.addHashCode)(a,(0,t.hashCodeOf)(this.boolTransformer)),a=(0,t.addHashCode)(a,(0,t.hashCodeOf)(this.stringTransformer)),a=(0,t.addHashCode)(a,(0,t.hashCodeOf)(this.arrayTransformer)),a=(0,t.addHashCode)(a,(0,t.hashCodeOf)(this.objectTransformer)),a}debugPrintContinuations(a){for(const d of this.transformers)d.debugPrint(a)}}e.DecodingChoiceTransformer=P;class I extends S{constructor(a,d,h,b){super("union-member-match",a,d,h),this.memberTypeRef=b}get sourceType(){const a=(0,l.derefTypeRef)(this.sourceTypeRef,this.graph);return a instanceof n.UnionType?a:(0,r.panic)("The source of a union member match transformer must be a union type")}get canFail(){return!0}get memberType(){return(0,l.derefTypeRef)(this.memberTypeRef,this.graph)}getChildren(){return super.getChildren().add(this.memberType)}reverse(a,d){return(0,r.panic)("Can't reverse union member match transformer")}reconstitute(a){return new I(a.typeGraph,a.reconstituteTypeRef(this.sourceTypeRef),this.transformer.reconstitute(a),a.reconstituteTypeRef(this.memberTypeRef))}equals(a){return!super.equals(a)||!(a instanceof I)?!1:this.memberTypeRef===a.memberTypeRef}hashCode(){const a=super.hashCode();return(0,t.addHashCode)(a,(0,t.hashCodeOf)(this.memberTypeRef))}debugDescription(){return`${super.debugDescription()} - member: ${u(this.memberType)}`}}e.UnionMemberMatchTransformer=I;class M extends S{constructor(a,d,h,b){super("string-match",a,d,h),this.stringCase=b}get sourceType(){const a=(0,l.derefTypeRef)(this.sourceTypeRef,this.graph);return!(a instanceof n.EnumType)&&!(a instanceof n.PrimitiveType&&a.kind==="string")?(0,r.panic)("The source of a string match transformer must be an enum or string type"):a}get canFail(){return!0}reverse(a,d){return this.transformer.reverse(a,new Z(this.graph,this.transformer.sourceTypeRef,d,this.stringCase))}reconstitute(a){return new M(a.typeGraph,a.reconstituteTypeRef(this.sourceTypeRef),this.transformer.reconstitute(a),this.stringCase)}equals(a){return!super.equals(a)||!(a instanceof M)?!1:this.stringCase!==a.stringCase}hashCode(){const a=super.hashCode();return(0,t.addHashCode)(a,(0,t.hashString)(this.stringCase))}debugDescription(){return`${super.debugDescription()} - case: ${this.stringCase}`}}e.StringMatchTransformer=M;class H extends m{constructor(a,d){super("union-instantiation",a,d)}get canFail(){return!1}reverse(a,d){return d===void 0?(0,r.panic)("Union instantiation transformer reverse must have a continuation"):new I(this.graph,a,d,this.sourceTypeRef)}reconstitute(a){return new H(a.typeGraph,a.reconstituteTypeRef(this.sourceTypeRef))}equals(a){return super.equals(a)?a instanceof H:!1}}e.UnionInstantiationTransformer=H;class Z extends v{constructor(a,d,h,b){super("string-producer",a,d,h),this.result=b}get canFail(){return!1}reverse(a,d){return d===void 0?(0,r.panic)("Reversing a string producer transformer must have a continuation"):this.consumer===void 0?new M(this.graph,a,d,this.result):this.consumer.reverse(a,new M(this.graph,this.consumer.sourceTypeRef,d,this.result))}reconstitute(a){return new Z(a.typeGraph,a.reconstituteTypeRef(this.sourceTypeRef),(0,t.definedMap)(this.consumer,d=>d.reconstitute(a)),this.result)}equals(a){return!super.equals(a)||!(a instanceof Z)?!1:this.result===a.result}hashCode(){const a=super.hashCode();return(0,t.addHashCode)(a,(0,t.hashCodeOf)(this.consumer))}debugDescription(){return`${super.debugDescription()} - result: ${this.result}`}}e.StringProducerTransformer=Z;class U extends v{constructor(a,d,h){super("parse-string",a,d,h)}get canFail(){return!0}reverse(a,d){return this.consumer===void 0?new B(this.graph,a,d):this.consumer.reverse(a,new B(this.graph,this.consumer.sourceTypeRef,d))}reconstitute(a){return new U(a.typeGraph,a.reconstituteTypeRef(this.sourceTypeRef),(0,t.definedMap)(this.consumer,d=>d.reconstitute(a)))}equals(a){return super.equals(a)?a instanceof U:!1}}e.ParseStringTransformer=U;class B extends v{constructor(a,d,h){super("stringify",a,d,h)}get canFail(){return!1}reverse(a,d){return this.consumer===void 0?new U(this.graph,a,d):this.consumer.reverse(a,new U(this.graph,this.consumer.sourceTypeRef,d))}reconstitute(a){return new B(a.typeGraph,a.reconstituteTypeRef(this.sourceTypeRef),(0,t.definedMap)(this.consumer,d=>d.reconstitute(a)))}equals(a){return super.equals(a)?a instanceof B:!1}}e.StringifyTransformer=B;class F extends v{constructor(a,d,h,b,R){super("min-max-length-check",a,d,h),this.minLength=b,this.maxLength=R}get canFail(){return!0}reverse(a,d){return this.consumer===void 0?new F(this.graph,a,d,this.minLength,this.maxLength):this.consumer.reverse(a,new F(this.graph,this.consumer.sourceTypeRef,d,this.minLength,this.maxLength))}reconstitute(a){return new F(a.typeGraph,a.reconstituteTypeRef(this.sourceTypeRef),(0,t.definedMap)(this.consumer,d=>d.reconstitute(a)),this.minLength,this.maxLength)}equals(a){return super.equals(a)?a instanceof F&&this.minLength===a.minLength&&this.maxLength===a.maxLength:!1}}e.MinMaxLengthCheckTransformer=F;class y extends v{constructor(a,d,h,b,R){super("min-max-value-check",a,d,h),this.minimum=b,this.maximum=R}get canFail(){return!0}reverse(a,d){return this.consumer===void 0?new y(this.graph,a,d,this.minimum,this.maximum):this.consumer.reverse(a,new y(this.graph,this.consumer.sourceTypeRef,d,this.minimum,this.maximum))}reconstitute(a){return new y(a.typeGraph,a.reconstituteTypeRef(this.sourceTypeRef),(0,t.definedMap)(this.consumer,d=>d.reconstitute(a)),this.minimum,this.maximum)}equals(a){return super.equals(a)?a instanceof y&&this.minimum===a.minimum&&this.maximum===a.maximum:!1}}e.MinMaxValueTransformer=y;class w{constructor(a,d,h){this._graph=a,this._targetTypeRef=d,this.transformer=h}get sourceType(){return this.transformer.sourceType}get targetType(){return(0,l.derefTypeRef)(this._targetTypeRef,this._graph)}get reverse(){return new w(this._graph,this.transformer.sourceTypeRef,this.transformer.reverse(this._targetTypeRef,void 0))}getChildren(){return this.transformer.getChildren().add(this.targetType)}reconstitute(a){return new w(a.typeGraph,a.reconstituteTypeRef(this._targetTypeRef),this.transformer.reconstitute(a))}equals(a){return a instanceof w?this._targetTypeRef===a._targetTypeRef&&this.transformer.equals(a.transformer):!1}hashCode(){let a=(0,t.hashCodeOf)(this._targetTypeRef);return a=(0,t.addHashCode)(a,this.transformer.hashCode()),a}debugPrint(){this.transformer.debugPrint(0),console.log(`-> ${u(this.targetType)}`)}}e.Transformation=w;class L extends i.TypeAttributeKind{constructor(){super("transformation")}appliesToTypeKind(a){return!0}get inIdentity(){return!0}children(a){return a.getChildren()}reconstitute(a,d){return d.reconstitute(a)}stringify(a){return"transformation"}}e.transformationTypeAttributeKind=new L;function N(o){return e.transformationTypeAttributeKind.tryGetInAttributes(o.getAttributes())}e.transformationForType=N;function p(o){for(;;){const a=N(o);if(a===void 0)return o;o=a.targetType}}e.followTargetType=p})(Bo);var rc={};Object.defineProperty(rc,"__esModule",{value:!0});rc.isStringComment=void 0;const J2=e=>typeof e=="string";rc.isStringComment=J2;var wv={exports:{}},Nl=wv.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(l){var u=l.toString().split(r).reduce(function(f,m){if(i==="hard")for(var v=0;v<m.length;v+=t-e)f.push(m.slice(v,v+t-e));else f.push(m);return f},[]);return u.reduce(function(f,m){if(m==="")return f;var v=m.replace(/\t/g," "),S=f.length-1;if(f[S].length+v.length>t)f[S]=f[S].replace(/\s+$/,""),v.split(/\n/).forEach(function(D){f.push(new Array(e+1).join(" ")+D.replace(/^\s+/,""))});else if(v.match(/\n/)){var C=v.split(/\n/);f[S]+=C.shift(),C.forEach(function(D){f.push(new Array(e+1).join(" ")+D.replace(/^\s+/,""))})}else f[S]+=v;return f},[new Array(e+1).join(" ")]).join(`
|
|
180
|
-
`)}};Nl.soft=Nl;Nl.hard=function(e,t){return Nl(e,t,{mode:"hard"})};var W2=wv.exports;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ConvenienceRenderer=e.inferredNameOrder=e.topLevelNameOrder=void 0;const t=Je,n=rt(),i=tt(),r=qe,l=tc,u=Ae,f=yt(),m=Ze,v=Dr,S=hi(),C=ft,D=ic(),_=Ro,E=Bo,T=rc,P=W2(90);e.topLevelNameOrder=1;const I=10;e.inferredNameOrder=30;const M=20,H=10,Z=20,U=10,B=40;function F(o){if(o===void 0)return;const a=Array.from(o).join(`
|
|
181
|
-
|
|
182
|
-
`).trim();if(a!=="")return P(a).split(`
|
|
183
|
-
`).map(d=>d.trim())}const y=new C.TypeAttributeKind("assignedName"),w=new C.TypeAttributeKind("assignedPropertyNames"),L=new C.TypeAttributeKind("assignedMemberNames"),N=new C.TypeAttributeKind("assignedCaseNames");class p extends l.Renderer{constructor(a,d){super(a,d),this._alphabetizeProperties=!1}get topLevels(){return this.typeGraph.topLevels}forbiddenNamesForGlobalNamespace(){return[]}forbiddenForObjectProperties(a,d){return{names:[],includeGlobalForbidden:!1}}forbiddenForUnionMembers(a,d){return{names:[],includeGlobalForbidden:!1}}forbiddenForEnumCases(a,d){return{names:[],includeGlobalForbidden:!1}}makeTopLevelDependencyNames(a,d){return[]}makeNamedTypeDependencyNames(a,d){return[]}makeNameForTransformation(a,d){}namedTypeToNameForTopLevel(a){if((0,i.isNamedType)(a))return a}get unionMembersInGlobalNamespace(){return!1}get enumCasesInGlobalNamespace(){return!1}get needsTypeDeclarationBeforeUse(){return!1}canBeForwardDeclared(a){return(0,u.panic)("If needsTypeDeclarationBeforeUse returns true, canBeForwardDeclared must be implemented")}unionNeedsName(a){return(0,i.nullableFromUnion)(a)===null}get globalNamespace(){return(0,u.defined)(this._globalNamespace)}get nameStoreView(){return(0,u.defined)(this._nameStoreView)}descriptionForType(a){let d=this.typeGraph.attributeStore.tryGet(D.descriptionTypeAttributeKind,a);return F(d)}descriptionForClassProperty(a,d){const h=this.typeGraph.attributeStore.tryGet(D.propertyDescriptionsTypeAttributeKind,a);if(h!==void 0)return F(h.get(d))}setUpNaming(){this._nameStoreView=new S.TypeAttributeStoreView(this.typeGraph.attributeStore,y),this._propertyNamesStoreView=new S.TypeAttributeStoreView(this.typeGraph.attributeStore,w),this._memberNamesStoreView=new S.TypeAttributeStoreView(this.typeGraph.attributeStore,L),this._caseNamesStoreView=new S.TypeAttributeStoreView(this.typeGraph.attributeStore,N),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:a,enums:d,unions:h}=this.typeGraph.allNamedTypesSeparated(),b=(0,t.setFilter)(h,R=>this.unionNeedsName(R));for(const[R,x]of this.topLevels)this.nameStoreView.setForTopLevel(R,this.addNameForTopLevel(x,R));for(const R of a){const x=this.addNameForNamedType(R);this.addPropertyNames(R,x)}for(const R of d){const x=this.addNameForNamedType(R);this.addEnumCaseNames(R,x)}for(const R of b){const x=this.addNameForNamedType(R);this.addUnionMemberNames(R,x)}for(const R of this.typeGraph.allTypesUnordered())this.addNameForTransformation(R);return(0,t.setUnion)([this._globalForbiddenNamespace,this._globalNamespace],this._otherForbiddenNamespaces.values())}addDependenciesForNamedType(a,d){const h=this.makeNamedTypeDependencyNames(a,d);for(const b of h)this.globalNamespace.add(b)}makeNameForTopLevel(a,d,h){return new r.SimpleName([d],(0,u.defined)(this._namedTypeNamer),e.topLevelNameOrder)}addNameForTopLevel(a,d){const h=this.namedTypeToNameForTopLevel(a),b=this.makeNameForTopLevel(a,d,h);this.globalNamespace.add(b);const R=this.makeTopLevelDependencyNames(a,b);for(const x of R)this.globalNamespace.add(x);return h!==void 0&&(this.addDependenciesForNamedType(h,b),this.nameStoreView.set(h,b)),b}makeNameForType(a,d,h,b){const R=a.getNames(),x=R.areInferred?b:h;return new r.SimpleName(R.proposedNames,d,x)}makeNameForNamedType(a){return this.makeNameForType(a,(0,u.defined)(this._namedTypeNamer),I,e.inferredNameOrder)}addNameForNamedType(a){const d=this.nameStoreView.tryGet(a);if(d!==void 0)return d;const h=this.globalNamespace.add(this.makeNameForNamedType(a));return this.addDependenciesForNamedType(a,h),this.nameStoreView.set(a,h),h}get typesWithNamedTransformations(){return(0,u.defined)(this._namesForTransformations)}nameForTransformation(a){if((0,E.transformationForType)(a)===void 0)return;const h=(0,u.defined)(this._namesForTransformations).get(a);return h===void 0?(0,u.panic)("No name for transformation"):h}addNameForTransformation(a){const d=(0,E.transformationForType)(a);if(d===void 0)return;(0,u.assert)((0,u.defined)(this._namesForTransformations).get(a)===void 0,"Tried to give two names to the same transformation");const h=this.makeNameForTransformation(d,this.nameStoreView.tryGet(d.targetType));h!==void 0&&(this.globalNamespace.add(h),(0,u.defined)(this._namesForTransformations).set(a,h))}processForbiddenWordsInfo(a,d){const h=[],b=[];for(const j of a.names)typeof j=="string"?b.push(j):h.push(j);let R=(0,u.defined)(this._otherForbiddenNamespaces).get(d);b.length>0&&R===void 0&&(R=(0,r.keywordNamespace)(d,b),this._otherForbiddenNamespaces=(0,u.defined)(this._otherForbiddenNamespaces).set(d,R));let x=new Set;return a.includeGlobalForbidden&&(x=x.add((0,u.defined)(this._globalForbiddenNamespace))),R!==void 0&&(x=x.add(R)),{forbiddenNames:new Set(h),forbiddenNamespaces:x}}makeNameForProperty(a,d,h,b,R){const x=this.namerForObjectProperty(a,h);if(x===null)return;const j=`${a.getCombinedName()}_${b}`,W=R===void 0?M:H,k=R===void 0?[b,j]:[R];return new r.SimpleName(k,x,W)}makePropertyDependencyNames(a,d,h,b,R){return[]}addPropertyNames(a,d){const{forbiddenNames:h,forbiddenNamespaces:b}=this.processForbiddenWordsInfo(this.forbiddenForObjectProperties(a,d),"forbidden-for-properties");let R;const x=(0,_.objectPropertyNames)(a,this.targetLanguage.name),j=(0,t.mapFilterMap)(a.getSortedProperties(),(W,k)=>{const[O,V]=(0,_.getAccessorName)(x,k);let te;if(V?te=new r.FixedName((0,u.defined)(O)):te=this.makeNameForProperty(a,d,W,k,O),te!==void 0){R===void 0&&(R=new r.Namespace(a.getCombinedName(),this.globalNamespace,b,h)),R.add(te);for(const ue of this.makePropertyDependencyNames(a,d,W,k,te))R.add(ue);return te}});(0,u.defined)(this._propertyNamesStoreView).set(a,j)}makeNameForUnionMember(a,d,h){const[b,R]=(0,_.unionMemberName)(a,h,this.targetLanguage.name);return R?new r.FixedName((0,u.defined)(b)):new r.DependencyName((0,u.nonNull)(this._unionMemberNamer),B,x=>b!==void 0?b:this.proposeUnionMemberName(a,d,h,x))}addUnionMemberNames(a,d){if(this._unionMemberNamer===null)return;const{forbiddenNames:b,forbiddenNamespaces:R}=this.processForbiddenWordsInfo(this.forbiddenForUnionMembers(a,d),"forbidden-for-union-members");let x;this.unionMembersInGlobalNamespace?x=this.globalNamespace:x=new r.Namespace(a.getCombinedName(),this.globalNamespace,R,b);let j=new Map;for(const W of a.members){const k=this.makeNameForUnionMember(a,d,(0,E.followTargetType)(W));j.set(W,x.add(k))}(0,u.defined)(this._memberNamesStoreView).set(a,j)}makeNameForEnumCase(a,d,h,b){const R=`${a.getCombinedName()}_${h}`,x=b===void 0?Z:U,j=b===void 0?[h,R]:[b];return new r.SimpleName(j,(0,u.nonNull)(this._enumCaseNamer),x)}addEnumCaseNames(a,d){if(this._enumCaseNamer===null)return;const{forbiddenNames:h,forbiddenNamespaces:b}=this.processForbiddenWordsInfo(this.forbiddenForEnumCases(a,d),"forbidden-for-enum-cases");let R;this.enumCasesInGlobalNamespace?R=this.globalNamespace:R=new r.Namespace(a.getCombinedName(),this.globalNamespace,b,h);let x=new Map;const j=(0,_.enumCaseNames)(a,this.targetLanguage.name);for(const W of a.cases){const[k,O]=(0,_.getAccessorName)(j,W);let V;O?V=new r.FixedName((0,u.defined)(k)):V=this.makeNameForEnumCase(a,d,W,k),x.set(W,R.add(V))}(0,u.defined)(this._caseNamesStoreView).set(a,x)}childrenOfType(a){const d=this.names;if(a instanceof n.ClassType){const h=(0,u.defined)(this._propertyNamesStoreView).get(a),b=(0,t.mapFilterMap)(a.getProperties(),(x,j)=>{if(h.get(j)!==void 0)return x.type}),R=(0,t.mapSortBy)(b,(x,j)=>(0,u.defined)(d.get((0,u.defined)(h.get(j)))));return new Set(R.values())}return a.getChildren()}get namedUnions(){return(0,u.defined)(this._namedUnions)}get haveNamedUnions(){return this.namedUnions.size>0}get haveNamedTypes(){return(0,u.defined)(this._namedTypes).length>0}get haveUnions(){return(0,u.defined)(this._haveUnions)}get haveMaps(){return(0,u.defined)(this._haveMaps)}get haveOptionalProperties(){return(0,u.defined)(this._haveOptionalProperties)}get enums(){return(0,u.defined)(this._namedEnums)}get haveEnums(){return this.enums.size>0}proposedUnionMemberNameForTypeKind(a){return null}proposeUnionMemberName(a,d,h,b){const R=this.proposedUnionMemberNameForTypeKind(h.kind);if(R!==null)return R;const x=j=>(0,i.matchTypeExhaustive)(j,W=>(0,u.panic)("none type should have been replaced"),W=>"anything",W=>"null",W=>"bool",W=>"integer",W=>"double",W=>"string",W=>x(W.items)+"_array",W=>b(this.nameForNamedType(W)),W=>x(W.values)+"_map",W=>((0,u.assert)(this.targetLanguage.supportsFullObjectType,"Object type should have been replaced in `replaceObjectType`"),b(this.nameForNamedType(W))),W=>"enum",W=>"union",W=>W.kind.replace("-","_"));return x(h)}nameForNamedType(a){return this.nameStoreView.get(a)}isForwardDeclaredType(a){return(0,u.defined)(this._declarationIR).forwardedTypes.has(a)}isImplicitCycleBreaker(a){return(0,u.panic)("A renderer that invokes isCycleBreakerType must implement isImplicitCycleBreaker")}canBreakCycles(a){return!0}isCycleBreakerType(a){return this._cycleBreakerTypes===void 0&&(this._cycleBreakerTypes=(0,v.cycleBreakerTypesForGraph)(this.typeGraph,d=>this.isImplicitCycleBreaker(d),d=>this.canBreakCycles(d))),this._cycleBreakerTypes.has(a)}forEachTopLevel(a,d,h){let b;return h!==void 0?b=(0,t.mapFilter)(this.topLevels,h):b=this.topLevels,this.forEachWithBlankLines(b,a,(R,x,j)=>d(R,this.nameStoreView.getForTopLevel(x),j))}forEachDeclaration(a,d){this.forEachWithBlankLines((0,t.iterableEnumerate)((0,u.defined)(this._declarationIR).declarations),a,(h,b,R)=>d(h,R))}setAlphabetizeProperties(a){this._alphabetizeProperties=a}getAlphabetizeProperties(){return this._alphabetizeProperties}propertyCount(a){return(0,u.defined)(this._propertyNamesStoreView).get(a).size}sortClassProperties(a,d){return this._alphabetizeProperties?(0,t.mapSortBy)(a,(h,b)=>{const R=(0,u.defined)(d.get(b));return(0,u.defined)(this.names.get(R))}):a}forEachClassProperty(a,d,h){const b=(0,u.defined)(this._propertyNamesStoreView).get(a),R=this.sortClassProperties(a.getProperties(),b);this.forEachWithBlankLines(R,d,(x,j,W)=>{const k=(0,u.defined)(b.get(j));h(k,j,x,W)})}nameForUnionMember(a,d){return(0,u.defined)((0,u.defined)(this._memberNamesStoreView).get(a).get(d))}nameForEnumCase(a,d){const h=(0,u.defined)(this._caseNamesStoreView).get(a);return(0,u.defined)(h.get(d))}forEachUnionMember(a,d,h,b,R){const x=d===null?a.members:d;b===null&&(b=k=>(0,u.defined)(this.names.get(k)));const j=(0,t.mapFilter)((0,u.defined)(this._memberNamesStoreView).get(a),(k,O)=>x.has(O)),W=(0,t.mapSortBy)(j,b);this.forEachWithBlankLines(W,h,R)}forEachEnumCase(a,d,h){const b=(0,u.defined)(this._caseNamesStoreView).get(a),R=(0,t.mapSortBy)(b,x=>(0,u.defined)(this.names.get(x)));this.forEachWithBlankLines(R,d,h)}forEachTransformation(a,d){this.forEachWithBlankLines((0,u.defined)(this._namesForTransformations),a,d)}forEachSpecificNamedType(a,d,h){this.forEachWithBlankLines(d,a,(b,R,x)=>h(b,this.nameForNamedType(b),x))}forEachObject(a,d){this.forEachSpecificNamedType(a,(0,u.defined)(this._namedObjects).entries(),d)}forEachEnum(a,d){this.forEachSpecificNamedType(a,this.enums.entries(),d)}forEachUnion(a,d){this.forEachSpecificNamedType(a,this.namedUnions.entries(),d)}forEachUniqueUnion(a,d,h){const b=new Map;for(const R of this.namedUnions){const x=d(R);b.has(x)||b.set(x,R)}this.forEachWithBlankLines(b,a,h)}forEachNamedType(a,d,h,b){this.forEachWithBlankLines((0,u.defined)(this._namedTypes).entries(),a,(R,x,j)=>{const W=this.nameForNamedType(R);if(R instanceof n.ObjectType)d(R,W,j);else if(R instanceof n.EnumType)h(R,W,j);else if(R instanceof n.UnionType)b(R,W,j);else return(0,u.panic)("Named type that's neither a class nor union")})}sourcelikeToString(a){return(0,m.serializeRenderResult)((0,m.sourcelikeToSource)(a),this.names,"").lines.join(`
|
|
184
|
-
`)}get commentLineStart(){return"// "}emitComments(a){a.forEach(d=>{(0,T.isStringComment)(d)?this.emitCommentLines([d]):"lines"in d?this.emitCommentLines(d.lines):"descriptionBlock"in d?this.emitDescriptionBlock(d.descriptionBlock):this.emitCommentLines(d.customLines,d),this.ensureBlankLine()})}emitCommentLines(a,{lineStart:d=this.commentLineStart,firstLineStart:h=d,lineEnd:b,beforeComment:R,afterComment:x}={}){R!==void 0&&this.emitLine(R);let j=!0;for(const W of a){let k=j?h:d;j=!1,this.sourcelikeToString(W)===""&&(k=(0,f.trimEnd)(k)),b?this.emitLine(k,W,b):this.emitLine(k,W)}x!==void 0&&this.emitLine(x)}emitDescription(a){a!==void 0&&this.emitDescriptionBlock(a)}emitDescriptionBlock(a){this.emitCommentLines(a)}emitPropertyTable(a,d){let h=[];const b=()=>{h.length!==0&&(this.emitTable(h),h=[])};this.forEachClassProperty(a,"none",(R,x,j)=>{const W=this.descriptionForClassProperty(a,x);W!==void 0&&(b(),this.emitDescription(W)),h.push(d(R,x,j))}),b()}processGraph(){this._declarationIR=(0,v.declarationsForGraph)(this.typeGraph,this.needsTypeDeclarationBeforeUse?x=>this.canBeForwardDeclared(x):void 0,x=>this.childrenOfType(x),x=>x instanceof n.UnionType?this.unionNeedsName(x):(0,i.isNamedType)(x));const a=this.typeGraph.allTypesUnordered();this._haveUnions=(0,t.iterableSome)(a,x=>x instanceof n.UnionType),this._haveMaps=(0,t.iterableSome)(a,x=>x instanceof n.MapType);const d=(0,t.setFilter)(a,x=>x instanceof n.ClassType);this._haveOptionalProperties=(0,t.iterableSome)(d,x=>(0,t.mapSome)(x.getProperties(),j=>j.isOptional)),this._namedTypes=this._declarationIR.declarations.filter(x=>x.kind==="define").map(x=>x.type);const{objects:h,enums:b,unions:R}=(0,i.separateNamedTypes)(this._namedTypes);this._namedObjects=new Set(h),this._namedEnums=new Set(b),this._namedUnions=new Set(R)}emitSource(a){this.processGraph(),this.emitSourceStructure(a)}forEachType(a){const d=new Set,h=new Set,b=Array.from(this.typeGraph.topLevels.values());function R(x){if(!d.has(x)){for(const j of x.getChildren())b.push(j);d.add(x),h.add(a(x))}}for(;;){const x=b.pop();if(x===void 0)break;R(x)}return h}}e.ConvenienceRenderer=p})(_t);var St={},Ha={};Object.defineProperty(Ha,"__esModule",{value:!0});Ha.DefaultDateTimeRecognizer=void 0;const G2=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,q2=[0,31,29,31,30,31,30,31,31,30,31,30,31],H2=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i,V2=/t|\s/i;class K2{isDate(t){const n=t.match(G2);if(n===null)return!1;const i=+n[2],r=+n[3];return i>=1&&i<=12&&r>=1&&r<=q2[i]}isTime(t){const n=t.match(H2);if(n===null)return!1;const i=+n[1],r=+n[2],l=+n[3];return i<=23&&r<=59&&l<=59}isDateTime(t){const n=t.split(V2);return n.length===2&&this.isDate(n[0])&&this.isTime(n[1])}}Ha.DefaultDateTimeRecognizer=K2;Object.defineProperty(St,"__esModule",{value:!0});St.TargetLanguage=void 0;const Z2=Je,Q2=Ze,Yb=Ae,X2=Ha;class Y2{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,Yb.defined)(this.names[0])}renderGraphAndSerialize(t,n,i,r,l,u){u===void 0&&(u=this.defaultIndentation);const f={typeGraph:t,leadingComments:r},m=this.makeRenderer(f,l);m.setAlphabetizeProperties!==void 0&&m.setAlphabetizeProperties(i);const v=m.render(n);return(0,Z2.mapMap)(v.sources,S=>(0,Q2.serializeRenderResult)(S,v.names,(0,Yb.defined)(u)))}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 X2.DefaultDateTimeRecognizer}}St.TargetLanguage=Y2;(function(e){var t=Fe&&Fe.__importDefault||function(W){return W&&W.__esModule?W:{default:W}};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 n=Je,i=rt(),r=tt(),l=Ze,u=yt(),f=Ae,m=qe,v=_t,S=St,C=at,D=At,_=Bo,E=ys,T=t(Wa);var P;(function(W){W[W.Newtonsoft=0]="Newtonsoft",W[W.SystemTextJson=1]="SystemTextJson"})(P=e.Framework||(e.Framework={}));var I;(function(W){W[W.None=0]="None",W[W.Public=1]="Public",W[W.Internal=2]="Internal"})(I=e.AccessModifier||(e.AccessModifier={}));function M(W){return W}function H(W){if(W instanceof i.UnionType){const k=(0,r.nullableFromUnion)(W);return k===null?"automatic":H(k)==="manual"?"nullable":"none"}if(W instanceof i.ArrayType){const k=H(W.items);return k==="manual"||k==="nullable"?"automatic":"none"}return W instanceof i.EnumType?"automatic":W.kind==="double"?(0,E.minMaxValueForType)(W)!==void 0?"manual":"none":W.kind==="integer-string"||W.kind==="bool-string"||W.kind==="string"&&(0,E.minMaxLengthForType)(W)!==void 0?"manual":"none"}function Z(W){const k=W.targetType;return k instanceof i.EnumType?!0:k instanceof i.UnionType?(0,r.nullableFromUnion)(k)===null:!1}function U(W){switch(W.kind){case"date-time":return"DateTimeOffset";case"uuid":return"Guid";case"uri":return"Uri";default:return(0,f.panic)(`Transformed string type ${W.kind} not supported`)}}e.cSharpOptions={framework:new C.EnumOption("framework","Serialization framework",[["NewtonSoft",P.Newtonsoft],["SystemTextJson",P.SystemTextJson]],"NewtonSoft"),useList:new C.EnumOption("array-type","Use T[] or List<T>",[["array",!1],["list",!0]]),dense:new C.EnumOption("density","Property density",[["normal",!1],["dense",!0]],"normal","secondary"),namespace:new C.StringOption("namespace","Generated namespace","NAME","QuickType"),version:new C.EnumOption("csharp-version","C# version",[["5",5],["6",6]],"6","secondary"),virtual:new C.BooleanOption("virtual","Generate virtual properties",!1),typeForAny:new C.EnumOption("any-type",'Type to use for "any"',[["object","object"],["dynamic","dynamic"]],"object","secondary"),useDecimal:new C.EnumOption("number-type","Type to use for numbers",[["double",!1],["decimal",!0]],"double","secondary"),features:new C.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 C.EnumOption("base-class","Base class",[["EntityData","EntityData"],["Object",void 0]],"Object","secondary"),checkRequired:new C.BooleanOption("check-required","Fail if required properties are missing",!1),keepPropertyName:new C.BooleanOption("keep-property-name","Keep original field name generate",!1)};class B extends S.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 k=new Map;return k.set("date","date-time"),k.set("time","date-time"),k.set("date-time","date-time"),k.set("uuid","uuid"),k.set("uri","uri"),k.set("integer-string","integer-string"),k.set("bool-string","bool-string"),k}get supportsUnionsWithBothNumberTypes(){return!0}get supportsOptionalClassProperties(){return!0}needsTransformerForType(k){const O=H(k);return O!=="none"&&O!=="nullable"}makeRenderer(k,O){const V=(0,C.getOptionValues)(e.cSharpOptions,O);switch(V.framework){case P.Newtonsoft:return new x(this,k,(0,C.getOptionValues)(e.newtonsoftCSharpOptions,O));case P.SystemTextJson:return new j(this,k,(0,C.getOptionValues)(e.systemTextJsonCSharpOptions,O));default:return(0,f.assertNever)(V.framework)}}}e.CSharpTargetLanguage=B;const F=(0,m.funPrefixNamer)("namer",d),y=(0,m.funPrefixNamer)("namerKeep",h),w="J",L="R",N="N";function p(W){return T.default.isAlphabetic(W)?!0:W===95}function o(W){const k=T.default.getCategory(W);return["Nd","Pc","Mn","Mc"].indexOf(k)>=0?!0:p(W)}const a=(0,u.utf16LegalizeCharacters)(o);function d(W){const k=(0,u.splitIntoWords)(W);return(0,u.combineWords)(k,a,u.firstUpperWordStyle,u.firstUpperWordStyle,u.firstUpperWordStyle,u.firstUpperWordStyle,"",p)}function h(W){const k=["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"],O=[{word:W,isAcronym:!1}],V=(0,u.combineWords)(O,a,te=>te,te=>te,te=>te,te=>te,"",p);return k.includes(V)?"@"+V:V}function b(W){return W instanceof i.UnionType?(0,r.nullableFromUnion)(W)===null:["integer","double","bool","enum","date-time","uuid"].indexOf(W.kind)>=0}class R extends v.ConvenienceRenderer{constructor(k,O,V){super(k,O),this._csOptions=V}forbiddenNamesForGlobalNamespace(){return["QuickType","Type","System","Console","Exception","DateTimeOffset","Guid","Uri"]}forbiddenForObjectProperties(k,O){return{names:[O,"ToString","GetHashCode","Finalize","Equals","GetType","MemberwiseClone","ReferenceEquals"],includeGlobalForbidden:!1}}forbiddenForUnionMembers(k,O){return{names:[O],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return F}namerForObjectProperty(){return this._csOptions.keepPropertyName?y:F}makeUnionMemberNamer(){return F}makeEnumCaseNamer(){return F}unionNeedsName(k){return(0,r.nullableFromUnion)(k)===null}namedTypeToNameForTopLevel(k){return(0,r.directlyReachableSingleNamedType)(k)}emitBlock(k,O=!1){this.emitLine("{"),this.indent(k),this.emitLine("}",O?";":"")}get doubleType(){return this._csOptions.useDecimal?"decimal":"double"}csType(k,O=_.followTargetType,V=!1){const te=O(k);return(0,r.matchType)(te,ue=>(0,l.maybeAnnotated)(V,D.anyTypeIssueAnnotation,this._csOptions.typeForAny),ue=>(0,l.maybeAnnotated)(V,D.nullTypeIssueAnnotation,this._csOptions.typeForAny),ue=>"bool",ue=>"long",ue=>this.doubleType,ue=>"string",ue=>{const Y=this.csType(ue.items,O,V);return this._csOptions.useList?["List<",Y,">"]:[Y,"[]"]},ue=>this.nameForNamedType(ue),ue=>["Dictionary<string, ",this.csType(ue.values,O,V),">"],ue=>this.nameForNamedType(ue),ue=>{const Y=(0,r.nullableFromUnion)(ue);return Y!==null?this.nullableCSType(Y,M):this.nameForNamedType(ue)},ue=>U(ue))}nullableCSType(k,O=_.followTargetType,V=!1){k=(0,_.followTargetType)(k);const te=this.csType(k,O,V);return b(k)?[te,"?"]:te}baseclassForType(k){}emitType(k,O,V,te,ue,Y){switch(O){case I.Public:V=["public ",V];break;case I.Internal:V=["internal ",V];break}this.emitDescription(k),ue===void 0?this.emitLine(V," ",te):this.emitLine(V," ",te," : ",ue),this.emitBlock(Y)}attributesForProperty(k,O,V,te){}propertyDefinition(k,O,V,te){const ue=k.type,Y=k.isOptional?this.nullableCSType(ue,_.followTargetType,!0):this.csType(ue,_.followTargetType,!0),$=["public "];return this._csOptions.virtual&&$.push("virtual "),[...$,Y," ",O," { get; set; }"]}emitDescriptionBlock(k){const O="/// <summary>";this._csOptions.dense?this.emitLine(O,k.join("; "),"</summary>"):this.emitCommentLines(k,{lineStart:"/// ",beforeComment:O,afterComment:"/// </summary>"})}blankLinesBetweenAttributes(){return!1}emitClassDefinition(k,O){this.emitType(this.descriptionForType(k),I.Public,"partial class",O,this.baseclassForType(k),()=>{if(k.getProperties().size===0)return;const V=this.blankLinesBetweenAttributes()?"interposing":"none";let te=[],ue=!0,Y;this.forEachClassProperty(k,V,($,ae,pe)=>{const Te=this.attributesForProperty(pe,$,k,ae),Ne=this.descriptionForClassProperty(k,ae),ce=this.propertyDefinition(pe,$,k,ae);if(Te===void 0)(!ue&&Ne!==void 0||Y!==void 0)&&this.ensureBlankLine(),this.emitDescription(Ne),this.emitLine(ce);else if(this._csOptions.dense&&Te.length>0){const fe=Ne===void 0?"":` // ${Ne.join("; ")}`;te.push([Te," ",ce,fe])}else{this.emitDescription(Ne);for(const fe of Te)this.emitLine(fe);this.emitLine(ce)}ue=!1,Y=Ne}),te.length>0&&this.emitTable(te)})}emitUnionDefinition(k,O){const V=(0,r.removeNullFromUnion)(k,!0)[1];this.emitType(this.descriptionForType(k),I.Public,"partial struct",O,this.baseclassForType(k),()=>{this.forEachUnionMember(k,V,"none",null,(ue,Y)=>{const $=this.nullableCSType(Y);this.emitLine("public ",$," ",ue,";")}),this.ensureBlankLine();const te=Array.from(V).map(ue=>[this.nameForUnionMember(k,ue)," == null"]);this.ensureBlankLine(),this.forEachUnionMember(k,V,"none",null,(ue,Y)=>{const $=this.csType(Y);this.emitExpressionMember(["public static implicit operator ",O,"(",$," ",ue,")"],["new ",O," { ",ue," = ",ue," }"])}),k.findMember("null")!==void 0&&this.emitExpressionMember("public bool IsNull",(0,n.arrayIntercalate)(" && ",te),!0)})}emitEnumDefinition(k,O){const V=[];this.forEachEnumCase(k,"none",te=>{V.length>0&&V.push(", "),V.push(te)}),this.emitDescription(this.descriptionForType(k)),this.emitLine("public enum ",O," { ",V," };")}emitExpressionMember(k,O,V=!1){this._csOptions.version===5?(this.emitLine(k),this.emitBlock(()=>{const te=["return ",O,";"];V?(this.emitLine("get"),this.emitBlock(()=>this.emitLine(te))):this.emitLine(te)})):this.emitLine(k," => ",O,";")}emitTypeSwitch(k,O,V,te,ue){(0,f.assert)(!te||V,"Can only have return with block");for(const Y of k)this.emitLine("if (",O(Y),")"),V?this.emitBlock(()=>{ue(Y),te&&this.emitLine("return;")}):this.indent(()=>ue(Y))}emitUsing(k){this.emitLine("using ",k,";")}emitUsings(){for(const k of["System","System.Collections.Generic"])this.emitUsing(k)}emitRequiredHelpers(){}emitTypesAndSupport(){this.forEachObject("leading-and-interposing",(k,O)=>this.emitClassDefinition(k,O)),this.forEachEnum("leading-and-interposing",(k,O)=>this.emitEnumDefinition(k,O)),this.forEachUnion("leading-and-interposing",(k,O)=>this.emitUnionDefinition(k,O)),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=R,e.newtonsoftCSharpOptions=Object.assign({},e.cSharpOptions,{});class x extends R{constructor(k,O,V){super(k,O,V),this._options=V,this._enumExtensionsNames=new Map,this._needHelpers=V.features.helpers,this._needAttributes=V.features.attributes,this._needNamespaces=V.features.namespaces}forbiddenNamesForGlobalNamespace(){const k=["Converter","JsonConverter","JsonSerializer","JsonWriter","JsonToken","Serialize","Newtonsoft","MetadataPropertyHandling","DateParseHandling","FromJson","Required"];return this._options.dense&&k.push("J","R","N"),this._options.baseclass!==void 0&&k.push(this._options.baseclass),super.forbiddenNamesForGlobalNamespace().concat(k)}forbiddenForObjectProperties(k,O){const V=super.forbiddenForObjectProperties(k,O);return V.names=V.names.concat(["ToJson","FromJson","Required"]),V}makeNameForTransformation(k,O){if(O===void 0){let V=k.transformer;return V instanceof _.DecodingTransformer&&V.consumer!==void 0&&(V=V.consumer),new m.SimpleName([`${V.kind}_converter`],F,v.inferredNameOrder+30)}return new m.DependencyName(F,O.order+30,V=>`${V(O)}_converter`)}makeNamedTypeDependencyNames(k,O){if(!(k instanceof i.EnumType))return[];const V=new m.DependencyName(F,O.order+30,te=>`${te(O)}_extensions`);return this._enumExtensionsNames.set(O,V),[V]}emitUsings(){if(!(!this._needAttributes&&!this._needHelpers)){super.emitUsings(),this.ensureBlankLine();for(const k of["System.Globalization","Newtonsoft.Json","Newtonsoft.Json.Converters"])this.emitUsing(k);this._options.dense&&(this.emitUsing([w," = Newtonsoft.Json.JsonPropertyAttribute"]),this.emitUsing([L," = Newtonsoft.Json.Required"]),this.emitUsing([N," = Newtonsoft.Json.NullValueHandling"])),this._options.baseclass==="EntityData"&&this.emitUsing("Microsoft.Azure.Mobile.Server")}}baseclassForType(k){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",(k,O)=>{let V;k instanceof i.EnumType?V=["JsonConvert.DeserializeObject<",O,">(jsonString)"]:V=[O,".FromJson(jsonString)"],this.emitLine("// var ",(0,l.modifySource)(u.camelCase,O)," = ",V,";")}))}converterForType(k){let O=(0,_.transformationForType)(k);if(O===void 0&&k instanceof i.UnionType){const V=(0,r.nullableFromUnion)(k);V!==null&&(k=V,O=(0,_.transformationForType)(k))}if(O!==void 0&&!Z(O))return(0,f.defined)(this.nameForTransformation(k))}attributesForProperty(k,O,V,te){if(!this._needAttributes)return;const ue=[],Y=this._options.dense?w:"JsonProperty",$=(0,u.utf16StringEscape)(te),ae=(0,_.followTargetType)(k.type).isNullable,pe=k.isOptional,Te=this._options.dense?"R":"Required",Ne=this._options.dense?"N":"NullValueHandling",ce=pe&&!ae?[", NullValueHandling = ",Ne,".Ignore"]:[];let fe;!this._options.checkRequired||pe&&ae?fe=[ce]:pe&&!ae?fe=[", Required = ",Te,".DisallowNull",ce]:!pe&&ae?fe=[", Required = ",Te,".AllowNull"]:fe=[", Required = ",Te,".Always",ce],ue.push(["[",Y,'("',$,'"',fe,")]"]);const le=this.converterForType(k.type);return le!==void 0&&ue.push(["[JsonConverter(typeof(",le,"))]"]),ue}blankLinesBetweenAttributes(){return this._needAttributes&&!this._options.dense}topLevelResultType(k){return k.kind==="any"||k.kind==="none"?"object":this.csType(k)}emitFromJsonForTopLevel(k,O){if(k instanceof i.EnumType)return;let V,te;const ue=this.namedTypeToNameForTopLevel(k);ue!==void 0?(V="partial ",te=ue instanceof i.ClassType?"class":"struct"):(V="",te="class");const Y=this.topLevelResultType(k);this.emitType(void 0,I.Public,[V,te],O,this.baseclassForType(k),()=>{this.emitExpressionMember(["public static ",Y," FromJson(string json)"],["JsonConvert.DeserializeObject<",Y,">(json, ",this._options.namespace,".Converter.Settings)"])})}emitDecoderSwitch(k){this.emitLine("switch (reader.TokenType)"),this.emitBlock(k)}emitTokenCase(k){this.emitLine("case JsonToken.",k,":")}emitThrow(k){this.emitLine("throw new Exception(",k,");")}deserializeTypeCode(k){return["serializer.Deserialize<",k,">(reader)"]}serializeValueCode(k){return["serializer.Serialize(writer, ",k,")"]}emitSerializeClass(){this.emitType(void 0,I.Public,"static class","Serialize",void 0,()=>{const k=new Set;this.forEachTopLevel("none",O=>{k.has(O)||(k.add(O),this.emitExpressionMember(["public static string ToJson(this ",this.topLevelResultType(O)," self)"],["JsonConvert.SerializeObject(self, ",this._options.namespace,".Converter.Settings)"]))})})}emitCanConvert(k){this.emitExpressionMember("public override bool CanConvert(Type t)",k)}emitReadJson(k){this.emitLine("public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer)"),this.emitBlock(k)}emitWriteJson(k,O){this.emitLine("public override void WriteJson(JsonWriter writer, object ",k,", JsonSerializer serializer)"),this.emitBlock(O)}converterObject(k){return[k,".Singleton"]}emitConverterClass(){const k=["Converter"];this.emitType(void 0,I.Internal,"static class",k,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[O,V]of this.typesWithNamedTransformations)Z((0,f.defined)((0,_.transformationForType)(O)))&&this.emitLine(this.converterObject(V),",");this.emitLine("new IsoDateTimeConverter { DateTimeStyles = DateTimeStyles.AssumeUniversal }")}),this.emitLine("},")},!0)})}emitDecoderTransformerCase(k,O,V,te,ue){if(V!==void 0){for(const Y of k)this.emitTokenCase(Y);this.indent(()=>{this.emitDecodeTransformer(V,te,ue,O)||this.emitLine("break;")})}}emitConsume(k,O,V,te){return O===void 0?(te(k),!0):this.emitTransformer(k,O,V,te)}emitDecodeTransformer(k,O,V,te="value"){if(k instanceof _.DecodingTransformer){const ue=k.sourceType,Y=this.converterForType(O);if(Y!==void 0){const $=this.csType(O);this.emitLine("var converter = ",this.converterObject(Y),";"),this.emitLine("var ",te," = (",$,")converter.ReadJson(reader, typeof(",$,"), null, serializer);")}else if(ue.kind!=="null"){let $=O.kind==="double"?O:ue;this.emitLine("var ",te," = ",this.deserializeTypeCode(this.csType($)),";")}return this.emitConsume(te,k.consumer,O,V)}else if(k instanceof _.ArrayDecodingTransformer){if(!(O instanceof i.ArrayType))return(0,f.panic)("Array decoding must produce an array type");this.emitLine("reader.Read();"),this.emitLine("var ",te," = new List<",this.csType(O.items),">();"),this.emitLine("while (reader.TokenType != JsonToken.EndArray)"),this.emitBlock(()=>{this.emitDecodeTransformer(k.itemTransformer,k.itemTargetType,Y=>this.emitLine(te,".Add(",Y,");"),"arrayItem"),this.emitLine("reader.Read();")});let ue=te;return this._options.useList||(ue=[ue,".ToArray()"]),V(ue),!0}else return k instanceof _.DecodingChoiceTransformer?(this.emitDecoderSwitch(()=>{const ue=k.nullTransformer;ue!==void 0&&(this.emitTokenCase("Null"),this.indent(()=>{this.emitDecodeTransformer(ue,O,V,"null")||this.emitLine("break")})),this.emitDecoderTransformerCase(["Integer"],"integerValue",k.integerTransformer,O,V),this.emitDecoderTransformerCase(k.integerTransformer===void 0?["Integer","Float"]:["Float"],"doubleValue",k.doubleTransformer,O,V),this.emitDecoderTransformerCase(["Boolean"],"boolValue",k.boolTransformer,O,V),this.emitDecoderTransformerCase(["String","Date"],"stringValue",k.stringTransformer,O,V),this.emitDecoderTransformerCase(["StartObject"],"objectValue",k.objectTransformer,O,V),this.emitDecoderTransformerCase(["StartArray"],"arrayValue",k.arrayTransformer,O,V)}),!1):(0,f.panic)("Unknown transformer")}stringCaseValue(k,O){return k.kind==="string"?['"',(0,u.utf16StringEscape)(O),'"']:k instanceof i.EnumType?[this.nameForNamedType(k),".",this.nameForEnumCase(k,O)]:(0,f.panic)(`Type ${k.kind} does not have string cases`)}emitTransformer(k,O,V,te){function ue(Y){return Y===void 0?V:(0,_.followTargetType)(Y.sourceType)}if(O instanceof _.ChoiceTransformer){const Y=O.transformers;if(Y.length>1&&Y.every($=>$ instanceof _.StringMatchTransformer))return this.emitLine("switch (",k,")"),this.emitBlock(()=>{for(const $ of Y){const ae=$,pe=this.stringCaseValue((0,_.followTargetType)(ae.sourceType),ae.stringCase);this.emitLine("case ",pe,":"),this.indent(()=>{this.emitTransformer(k,ae.transformer,V,te)||this.emitLine("break;")})}}),!1;for(const $ of Y)this.emitTransformer(k,$,V,te)}else if(O instanceof _.UnionMemberMatchTransformer){const Y=O.memberType,$=(0,r.nullableFromUnion)(O.sourceType);let ae,pe;if($!==null)Y.kind==="null"?(ae=[k," == null"],pe="null"):(ae=[k," != null"],pe=k);else if(Y.kind==="null")ae=[k,".IsNull"],pe="null";else{const Te=this.nameForUnionMember(O.sourceType,Y);pe=[k,".",Te],ae=[pe," != null"]}Y.kind!=="null"&&b(Y)&&(pe=[pe,".Value"]),this.emitLine("if (",ae,")"),this.emitBlock(()=>this.emitTransformer(pe,O.transformer,V,te))}else if(O instanceof _.StringMatchTransformer){const Y=this.stringCaseValue((0,_.followTargetType)(O.sourceType),O.stringCase);this.emitLine("if (",k," == ",Y,")"),this.emitBlock(()=>this.emitTransformer(k,O.transformer,V,te))}else if(O instanceof _.EncodingTransformer){const Y=this.converterForType(O.sourceType);return Y!==void 0?(this.emitLine("var converter = ",this.converterObject(Y),";"),this.emitLine("converter.WriteJson(writer, ",k,", serializer);")):this.emitLine(this.serializeValueCode(k),";"),te([]),!0}else if(O instanceof _.ArrayEncodingTransformer){this.emitLine("writer.WriteStartArray();");const Y="arrayItem";return this.emitLine("foreach (var ",Y," in ",k,")"),this.emitBlock(()=>{this.emitTransformer(Y,O.itemTransformer,O.itemTargetType,()=>{})}),this.emitLine("writer.WriteEndArray();"),te([]),!0}else if(O instanceof _.ParseStringTransformer){const Y=O.consumer===void 0?V:O.consumer.sourceType;switch(Y.kind){case"date-time":this.emitLine("DateTimeOffset dt;"),this.emitLine("if (DateTimeOffset.TryParse(",k,", out dt))"),this.emitBlock(()=>this.emitConsume("dt",O.consumer,V,te));break;case"uuid":this.emitLine("Guid guid;"),this.emitLine("if (Guid.TryParse(",k,", out guid))"),this.emitBlock(()=>this.emitConsume("guid",O.consumer,V,te));break;case"uri":this.emitLine("try"),this.emitBlock(()=>{this.emitLine("var uri = new Uri(",k,");"),this.emitConsume("uri",O.consumer,V,te)}),this.emitLine("catch (UriFormatException) {}");break;case"integer":this.emitLine("long l;"),this.emitLine("if (Int64.TryParse(",k,", out l))"),this.emitBlock(()=>this.emitConsume("l",O.consumer,V,te));break;case"bool":this.emitLine("bool b;"),this.emitLine("if (Boolean.TryParse(",k,", out b))"),this.emitBlock(()=>this.emitConsume("b",O.consumer,V,te));break;default:return(0,f.panic)(`Parsing string to ${Y.kind} not supported`)}}else if(O instanceof _.StringifyTransformer)switch(O.sourceType.kind){case"date-time":return this.emitConsume([k,'.ToString("o", System.Globalization.CultureInfo.InvariantCulture)'],O.consumer,V,te);case"uuid":return this.emitConsume([k,'.ToString("D", System.Globalization.CultureInfo.InvariantCulture)'],O.consumer,V,te);case"integer":case"uri":return this.emitConsume([k,".ToString()"],O.consumer,V,te);case"bool":return this.emitLine("var boolString = ",k,' ? "true" : "false";'),this.emitConsume("boolString",O.consumer,V,te);default:return(0,f.panic)(`Stringifying ${O.sourceType.kind} not supported`)}else if(O instanceof _.StringProducerTransformer){const Y=this.stringCaseValue(ue(O.consumer),O.result);return this.emitConsume(Y,O.consumer,V,te)}else if(O instanceof _.MinMaxLengthCheckTransformer){const Y=O.minLength,$=O.maxLength,ae=[];return Y!==void 0&&ae.push([k,".Length >= ",Y.toString()]),$!==void 0&&ae.push([k,".Length <= ",$.toString()]),this.emitLine("if (",(0,n.arrayIntercalate)([" && "],ae),")"),this.emitBlock(()=>this.emitConsume(k,O.consumer,V,te)),!1}else if(O instanceof _.MinMaxValueTransformer){const Y=O.minimum,$=O.maximum,ae=[];return Y!==void 0&&ae.push([k," >= ",Y.toString()]),$!==void 0&&ae.push([k," <= ",$.toString()]),this.emitLine("if (",(0,n.arrayIntercalate)([" && "],ae),")"),this.emitBlock(()=>this.emitConsume(k,O.consumer,V,te)),!1}else if(O instanceof _.UnionInstantiationTransformer){if(!(V instanceof i.UnionType))return(0,f.panic)("Union instantiation transformer must produce a union type");if((0,r.nullableFromUnion)(V)!==null)te(k);else{const $=this.nameForNamedType(V);let ae;O.sourceType.kind==="null"?ae=" ":ae=[" ",this.nameForUnionMember(V,O.sourceType)," = ",k," "],te(["new ",$," {",ae,"}"])}return!0}else return(0,f.panic)("Unknown transformer");return!1}emitTransformation(k,O){const V=(0,f.defined)((0,_.transformationForType)(O)),te=V.reverse,ue=V.targetType,Y=V.transformer;this.emitType(void 0,I.Internal,"class",k,"JsonConverter",()=>{const $=this.csType(ue);let ae=["t == typeof(",$,")"];const pe=b(ue);pe&&(ae=[ae," || t == typeof(",$,"?)"]),this.emitCanConvert(ae),this.ensureBlankLine(),this.emitReadJson(()=>{pe&&!(ue instanceof i.UnionType)&&this.emitLine("if (reader.TokenType == JsonToken.Null) return null;"),this.emitDecodeTransformer(Y,ue,Ne=>this.emitLine("return ",Ne,";"))||this.emitThrow(['"Cannot unmarshal type ',$,'"'])}),this.ensureBlankLine(),this.emitWriteJson("untypedValue",()=>{pe&&!(ue instanceof i.UnionType)&&(this.emitLine("if (untypedValue == null)"),this.emitBlock(()=>{this.emitLine("serializer.Serialize(writer, null);"),this.emitLine("return;")})),this.emitLine("var value = (",$,")untypedValue;"),this.emitTransformer("value",te.transformer,te.targetType,()=>this.emitLine("return;"))||this.emitThrow(['"Cannot marshal type ',$,'"'])}),this.ensureBlankLine(),this.emitLine("public static readonly ",k," Singleton = new ",k,"();")})}emitRequiredHelpers(){this._needHelpers&&(this.forEachTopLevel("leading-and-interposing",(k,O)=>this.emitFromJsonForTopLevel(k,O)),this.ensureBlankLine(),this.emitSerializeClass()),(this._needHelpers||this._needAttributes&&(this.haveNamedUnions||this.haveEnums))&&(this.ensureBlankLine(),this.emitConverterClass(),this.forEachTransformation("leading-and-interposing",(k,O)=>this.emitTransformation(k,O)))}needNamespace(){return this._needNamespaces}}e.NewtonsoftCSharpRenderer=x,e.systemTextJsonCSharpOptions=Object.assign({},e.cSharpOptions,{});class j extends R{constructor(k,O,V){super(k,O,V),this._options=V,this._enumExtensionsNames=new Map,this._needHelpers=V.features.helpers,this._needAttributes=V.features.attributes,this._needNamespaces=V.features.namespaces}forbiddenNamesForGlobalNamespace(){const k=["Converter","JsonConverter","JsonSerializer","JsonWriter","JsonToken","Serialize","JsonSerializerOptions","FromJson","Required"];return this._options.dense&&k.push("J","R","N"),this._options.baseclass!==void 0&&k.push(this._options.baseclass),super.forbiddenNamesForGlobalNamespace().concat(k)}forbiddenForObjectProperties(k,O){const V=super.forbiddenForObjectProperties(k,O);return V.names=V.names.concat(["ToJson","FromJson","Required"]),V}makeNameForTransformation(k,O){if(O===void 0){let V=k.transformer;return V instanceof _.DecodingTransformer&&V.consumer!==void 0&&(V=V.consumer),new m.SimpleName([`${V.kind}_converter`],F,v.inferredNameOrder+30)}return new m.DependencyName(F,O.order+30,V=>`${V(O)}_converter`)}makeNamedTypeDependencyNames(k,O){if(!(k instanceof i.EnumType))return[];const V=new m.DependencyName(F,O.order+30,te=>`${te(O)}_extensions`);return this._enumExtensionsNames.set(O,V),[V]}emitUsings(){if(!(!this._needAttributes&&!this._needHelpers)){super.emitUsings(),this.ensureBlankLine();for(const k of["System.Text.Json","System.Text.Json.Serialization","System.Globalization"])this.emitUsing(k);this._options.dense&&(this.emitUsing([w," = System.Text.Json.Serialization.JsonPropertyNameAttribute"]),this.emitUsing([N," = System.Text.Json.Serialization.JsonIgnoreCondition"])),this._options.baseclass==="EntityData"&&this.emitUsing("Microsoft.Azure.Mobile.Server")}}baseclassForType(k){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",(k,O)=>{let V;k instanceof i.EnumType?V=["JsonSerializer.Deserialize<",O,">(jsonString)"]:V=[O,".FromJson(jsonString)"],this.emitLine("// var ",(0,l.modifySource)(u.camelCase,O)," = ",V,";")}),this.emitLine("#nullable enable"),this.emitLine("#pragma warning disable CS8618"),this.emitLine("#pragma warning disable CS8601"),this.emitLine("#pragma warning disable CS8603"))}converterForType(k){let O=(0,_.transformationForType)(k);if(O===void 0&&k instanceof i.UnionType){const V=(0,r.nullableFromUnion)(k);V!==null&&(k=V,O=(0,_.transformationForType)(k))}if(O!==void 0&&!Z(O))return(0,f.defined)(this.nameForTransformation(k))}attributesForProperty(k,O,V,te){if(!this._needAttributes)return;const ue=[],Y=this._options.dense?w:"JsonPropertyName",$=(0,u.utf16StringEscape)(te),ae=(0,_.followTargetType)(k.type).isNullable;k.isOptional&&!ae&&ue.push(["[","JsonIgnore","(Condition = JsonIgnoreCondition.WhenWritingNull)]"]),ue.push(["[",Y,'("',$,'")]']);const Te=this.converterForType(k.type);return Te!==void 0&&ue.push(["[JsonConverter(typeof(",Te,"))]"]),ue}blankLinesBetweenAttributes(){return this._needAttributes&&!this._options.dense}topLevelResultType(k){return k.kind==="any"||k.kind==="none"?"object":this.csType(k)}emitFromJsonForTopLevel(k,O){if(k instanceof i.EnumType)return;let V,te;const ue=this.namedTypeToNameForTopLevel(k);ue!==void 0?(V="partial ",te=ue instanceof i.ClassType?"class":"struct"):(V="",te="class");const Y=this.topLevelResultType(k);this.emitType(void 0,I.Public,[V,te],O,this.baseclassForType(k),()=>{this.emitExpressionMember(["public static ",Y," FromJson(string json)"],["JsonSerializer.Deserialize<",Y,">(json, ",this._options.namespace,".Converter.Settings)"])})}emitDecoderSwitch(k){this.emitLine("switch (reader.TokenType)"),this.emitBlock(k)}emitTokenCase(k){this.emitLine("case JsonTokenType.",k,":")}emitThrow(k){this.emitLine("throw new Exception(",k,");")}deserializeTypeCode(k){switch(k){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<",k,">(ref reader, options)"]}}serializeValueCode(k){return k!=="null"?["JsonSerializer.Serialize(writer, ",k,", options)"]:["writer.WriteNullValue()"]}emitSerializeClass(){this.emitType(void 0,I.Public,"static class","Serialize",void 0,()=>{const k=new Set;this.forEachTopLevel("none",O=>{k.has(O)||(k.add(O),this.emitExpressionMember(["public static string ToJson(this ",this.topLevelResultType(O)," self)"],["JsonSerializer.Serialize(self, ",this._options.namespace,".Converter.Settings)"]))})})}emitCanConvert(k){this.emitExpressionMember("public override bool CanConvert(Type t)",k)}emitReadJson(k,O){this.emitLine("public override ",O," Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)"),this.emitBlock(k)}emitWriteJson(k,O,V){this.emitLine("public override void Write(Utf8JsonWriter writer, ",V," ",k,", JsonSerializerOptions options)"),this.emitBlock(O)}converterObject(k){return[k,".Singleton"]}emitConverterClass(){const k=["Converter"];this.emitType(void 0,I.Internal,"static class",k,void 0,()=>{this.emitLine("public static readonly JsonSerializerOptions Settings = new(JsonSerializerDefaults.General)"),this.emitBlock(()=>{this.emitLine("Converters ="),this.emitLine("{"),this.indent(()=>{for(const[O,V]of this.typesWithNamedTransformations)Z((0,f.defined)((0,_.transformationForType)(O)))&&this.emitLine(this.converterObject(V),",");this.emitLine("new DateOnlyConverter(),"),this.emitLine("new TimeOnlyConverter(),"),this.emitLine("IsoDateTimeOffsetConverter.Singleton")}),this.emitLine("},")},!0)})}emitDecoderTransformerCase(k,O,V,te,ue){if(V!==void 0){for(const Y of k)this.emitTokenCase(Y);this.indent(()=>{this.emitDecodeTransformer(V,te,ue,O)||this.emitLine("break;")})}}emitConsume(k,O,V,te){return O===void 0?(te(k),!0):this.emitTransformer(k,O,V,te)}emitDecodeTransformer(k,O,V,te="value"){if(k instanceof _.DecodingTransformer){const ue=k.sourceType,Y=this.converterForType(O);if(Y!==void 0){const $=this.csType(O);this.emitLine("var converter = ",this.converterObject(Y),";"),this.emitLine("var ",te," = (",$,")converter.ReadJson(reader, typeof(",$,"), null, serializer);")}else if(ue.kind!=="null"){let $=O.kind==="double"?O:ue;this.emitLine("var ",te," = ",this.deserializeTypeCode(this.csType($)),";")}return this.emitConsume(te,k.consumer,O,V)}else if(k instanceof _.ArrayDecodingTransformer){if(!(O instanceof i.ArrayType))return(0,f.panic)("Array decoding must produce an array type");this.emitLine("reader.Read();"),this.emitLine("var ",te," = new List<",this.csType(O.items),">();"),this.emitLine("while (reader.TokenType != JsonToken.EndArray)"),this.emitBlock(()=>{this.emitDecodeTransformer(k.itemTransformer,k.itemTargetType,Y=>this.emitLine(te,".Add(",Y,");"),"arrayItem"),this.emitLine("reader.Read();")});let ue=te;return this._options.useList||(ue=[ue,".ToArray()"]),V(ue),!0}else return k instanceof _.DecodingChoiceTransformer?(this.emitDecoderSwitch(()=>{const ue=k.nullTransformer;ue!==void 0&&(this.emitTokenCase("Null"),this.indent(()=>{this.emitDecodeTransformer(ue,O,V,"null")||this.emitLine("break")})),this.emitDecoderTransformerCase(["Number"],"integerValue",k.integerTransformer,O,V),this.emitDecoderTransformerCase(["Number"],"doubleValue",k.doubleTransformer,O,V),this.emitDecoderTransformerCase(["True","False"],"boolValue",k.boolTransformer,O,V),this.emitDecoderTransformerCase(["String"],"stringValue",k.stringTransformer,O,V),this.emitDecoderTransformerCase(["StartObject"],"objectValue",k.objectTransformer,O,V),this.emitDecoderTransformerCase(["StartArray"],"arrayValue",k.arrayTransformer,O,V)}),!1):(0,f.panic)("Unknown transformer")}stringCaseValue(k,O){return k.kind==="string"?['"',(0,u.utf16StringEscape)(O),'"']:k instanceof i.EnumType?[this.nameForNamedType(k),".",this.nameForEnumCase(k,O)]:(0,f.panic)(`Type ${k.kind} does not have string cases`)}emitTransformer(k,O,V,te){function ue(Y){return Y===void 0?V:(0,_.followTargetType)(Y.sourceType)}if(O instanceof _.ChoiceTransformer){const Y=O.transformers;if(Y.length>1&&Y.every($=>$ instanceof _.StringMatchTransformer))return this.emitLine("switch (",k,")"),this.emitBlock(()=>{for(const $ of Y){const ae=$,pe=this.stringCaseValue((0,_.followTargetType)(ae.sourceType),ae.stringCase);this.emitLine("case ",pe,":"),this.indent(()=>{this.emitTransformer(k,ae.transformer,V,te)||this.emitLine("break;")})}}),!1;for(const $ of Y)this.emitTransformer(k,$,V,te)}else if(O instanceof _.UnionMemberMatchTransformer){const Y=O.memberType,$=(0,r.nullableFromUnion)(O.sourceType);let ae,pe;if($!==null)Y.kind==="null"?(ae=[k," == null"],pe="null"):(ae=[k," != null"],pe=k);else if(Y.kind==="null")ae=[k,".IsNull"],pe="null";else{const Te=this.nameForUnionMember(O.sourceType,Y);pe=[k,".",Te],ae=[pe," != null"]}Y.kind!=="null"&&b(Y)&&(pe=[pe,".Value"]),this.emitLine("if (",ae,")"),this.emitBlock(()=>this.emitTransformer(pe,O.transformer,V,te))}else if(O instanceof _.StringMatchTransformer){const Y=this.stringCaseValue((0,_.followTargetType)(O.sourceType),O.stringCase);this.emitLine("if (",k," == ",Y,")"),this.emitBlock(()=>this.emitTransformer(k,O.transformer,V,te))}else if(O instanceof _.EncodingTransformer){const Y=this.converterForType(O.sourceType);return Y!==void 0?(this.emitLine("var converter = ",this.converterObject(Y),";"),this.emitLine("converter.WriteJson(writer, ",k,", serializer);")):this.emitLine(this.serializeValueCode(k),";"),te([]),!0}else if(O instanceof _.ArrayEncodingTransformer){this.emitLine("writer.WriteStartArray();");const Y="arrayItem";return this.emitLine("foreach (var ",Y," in ",k,")"),this.emitBlock(()=>{this.emitTransformer(Y,O.itemTransformer,O.itemTargetType,()=>{})}),this.emitLine("writer.WriteEndArray();"),te([]),!0}else if(O instanceof _.ParseStringTransformer){const Y=O.consumer===void 0?V:O.consumer.sourceType;switch(Y.kind){case"date-time":this.emitLine("DateTimeOffset dt;"),this.emitLine("if (DateTimeOffset.TryParse(",k,", out dt))"),this.emitBlock(()=>this.emitConsume("dt",O.consumer,V,te));break;case"uuid":this.emitLine("Guid guid;"),this.emitLine("if (Guid.TryParse(",k,", out guid))"),this.emitBlock(()=>this.emitConsume("guid",O.consumer,V,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(",k,");")}),this.emitConsume("uri",O.consumer,V,te)}),this.emitLine("catch (UriFormatException) {}");break;case"integer":this.emitLine("long l;"),this.emitLine("if (Int64.TryParse(",k,", out l))"),this.emitBlock(()=>this.emitConsume("l",O.consumer,V,te));break;case"bool":this.emitLine("bool b;"),this.emitLine("if (Boolean.TryParse(",k,", out b))"),this.emitBlock(()=>this.emitConsume("b",O.consumer,V,te));break;default:return(0,f.panic)(`Parsing string to ${Y.kind} not supported`)}}else if(O instanceof _.StringifyTransformer)switch(O.sourceType.kind){case"date-time":return this.emitConsume([k,'.ToString("o", System.Globalization.CultureInfo.InvariantCulture)'],O.consumer,V,te);case"uuid":return this.emitConsume([k,'.ToString("D", System.Globalization.CultureInfo.InvariantCulture)'],O.consumer,V,te);case"integer":case"uri":return this.emitConsume([k,".ToString()"],O.consumer,V,te);case"bool":return this.emitLine("var boolString = ",k,' ? "true" : "false";'),this.emitConsume("boolString",O.consumer,V,te);default:return(0,f.panic)(`Stringifying ${O.sourceType.kind} not supported`)}else if(O instanceof _.StringProducerTransformer){const Y=this.stringCaseValue(ue(O.consumer),O.result);return this.emitConsume(Y,O.consumer,V,te)}else if(O instanceof _.MinMaxLengthCheckTransformer){const Y=O.minLength,$=O.maxLength,ae=[];return Y!==void 0&&ae.push([k,".Length >= ",Y.toString()]),$!==void 0&&ae.push([k,".Length <= ",$.toString()]),this.emitLine("if (",(0,n.arrayIntercalate)([" && "],ae),")"),this.emitBlock(()=>this.emitConsume(k,O.consumer,V,te)),!1}else if(O instanceof _.MinMaxValueTransformer){const Y=O.minimum,$=O.maximum,ae=[];return Y!==void 0&&ae.push([k," >= ",Y.toString()]),$!==void 0&&ae.push([k," <= ",$.toString()]),this.emitLine("if (",(0,n.arrayIntercalate)([" && "],ae),")"),this.emitBlock(()=>this.emitConsume(k,O.consumer,V,te)),!1}else if(O instanceof _.UnionInstantiationTransformer){if(!(V instanceof i.UnionType))return(0,f.panic)("Union instantiation transformer must produce a union type");if((0,r.nullableFromUnion)(V)!==null)te(k);else{const $=this.nameForNamedType(V);let ae;O.sourceType.kind==="null"?ae=" ":ae=[" ",this.nameForUnionMember(V,O.sourceType)," = ",k," "],te(["new ",$," {",ae,"}"])}return!0}else return(0,f.panic)("Unknown transformer");return!1}emitTransformation(k,O){const V=(0,f.defined)((0,_.transformationForType)(O)),te=V.reverse,ue=V.targetType,Y=V.transformer,$=this.csType(ue);this.emitType(void 0,I.Internal,"class",k,["JsonConverter<",$,">"],()=>{let ae=["t == typeof(",$,")"];this.emitCanConvert(ae),this.ensureBlankLine(),this.emitReadJson(()=>{this.emitDecodeTransformer(Y,ue,Te=>this.emitLine("return ",Te,";"))||this.emitThrow(['"Cannot unmarshal type ',$,'"'])},$),this.ensureBlankLine(),this.emitWriteJson("value",()=>{this.emitTransformer("value",te.transformer,te.targetType,()=>this.emitLine("return;"))||this.emitThrow(['"Cannot marshal type ',$,'"'])},$),this.ensureBlankLine(),this.emitLine("public static readonly ",k," Singleton = new ",k,"();")})}emitRequiredHelpers(){this._needHelpers&&(this.forEachTopLevel("leading-and-interposing",(k,O)=>this.emitFromJsonForTopLevel(k,O)),this.ensureBlankLine(),this.emitSerializeClass()),(this._needHelpers||this._needAttributes&&(this.haveNamedUnions||this.haveEnums))&&(this.ensureBlankLine(),this.emitConverterClass(),this.forEachTransformation("leading-and-interposing",(k,O)=>this.emitTransformation(k,O)),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=j})(xh);var bp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.GoRenderer=e.GoTargetLanguage=e.goOptions=void 0;const t=rt(),n=tt(),i=qe,r=yt(),l=Ae,u=at,f=Ze,m=At,v=St,S=_t;e.goOptions={justTypes:new u.BooleanOption("just-types","Plain types only",!1),justTypesAndPackage:new u.BooleanOption("just-types-and-package","Plain types with package only",!1),packageName:new u.StringOption("package","Generated package name","NAME","main"),multiFileOutput:new u.BooleanOption("multi-file-output","Renders each top-level object in its own Go file",!1),fieldTags:new u.StringOption("field-tags","list of tags which should be generated for fields","TAGS","json"),omitEmpty:new u.BooleanOption("omit-empty",'If set, all non-required objects will be tagged with ",omitempty"',!1)};class C extends v.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,B){return new H(this,U,(0,u.getOptionValues)(e.goOptions,B))}get defaultIndentation(){return" "}}e.GoTargetLanguage=C;const D=(0,i.funPrefixNamer)("namer",E),_=(0,r.legalizeCharacters)(r.isLetterOrUnderscoreOrDigit);function E(Z){const U=(0,r.splitIntoWords)(Z);return(0,r.combineWords)(U,_,r.firstUpperWordStyle,r.firstUpperWordStyle,r.allUpperWordStyle,r.allUpperWordStyle,"",r.isLetterOrUnderscore)}const T=["integer","double","bool","string"],P=["array","class","map","enum"];function I(Z){const U=Z.kind;return T.indexOf(U)>=0||U==="class"||U==="enum"||U==="date-time"}function M(Z,U){if(!Z.isOptional)return!1;if(U)return!0;const B=Z.type;return["union","null","any"].indexOf(B.kind)<0}class H extends S.ConvenienceRenderer{constructor(U,B,F){super(U,B),this._options=F,this._topLevelUnmarshalNames=new Map}makeNamedTypeNamer(){return D}namerForObjectProperty(){return D}makeUnionMemberNamer(){return D}makeEnumCaseNamer(){return D}get enumCasesInGlobalNamespace(){return!0}makeTopLevelDependencyNames(U,B){const F=new i.DependencyName(D,B.order,y=>`unmarshal_${y(B)}`);return this._topLevelUnmarshalNames.set(B,F),[F]}startFile(U){this._options.multiFileOutput!==!1&&((0,l.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,l.defined)(this._currentFilename)),this._currentFilename=void 0)}emitBlock(U,B){this.emitLine(U," {"),this.indent(B),this.emitLine("}")}emitFunc(U,B){this.emitBlock(["func ",U],B)}emitStruct(U,B){this.emitBlock(["type ",U," struct"],()=>this.emitTable(B))}nullableGoType(U,B){const F=this.goType(U,B);return I(U)?["*",F]:F}propertyGoType(U){const B=U.type;return B instanceof t.UnionType&&(0,n.nullableFromUnion)(B)===null?["*",this.goType(B,!0)]:U.isOptional?this.nullableGoType(B,!0):this.goType(B,!0)}goType(U,B=!1){return(0,n.matchType)(U,F=>(0,f.maybeAnnotated)(B,m.anyTypeIssueAnnotation,"interface{}"),F=>(0,f.maybeAnnotated)(B,m.nullTypeIssueAnnotation,"interface{}"),F=>"bool",F=>"int64",F=>"float64",F=>"string",F=>["[]",this.goType(F.items,B)],F=>this.nameForNamedType(F),F=>{let y;const w=F.values;return w instanceof t.UnionType&&(0,n.nullableFromUnion)(w)===null?y=["*",this.nameForNamedType(w)]:y=this.goType(w,B),["map[string]",y]},F=>this.nameForNamedType(F),F=>{const y=(0,n.nullableFromUnion)(F);return y!==null?this.nullableGoType(y,B):this.nameForNamedType(F)},F=>F.kind==="date-time"?"time.Time":"string")}emitTopLevel(U,B){if(this.startFile(B),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 y=(0,f.modifySource)(r.camelCase,B);this.emitLineOnce("// ",y,", err := ",(0,l.defined)(this._topLevelUnmarshalNames.get(B)),"(bytes)"),this.emitLineOnce("// bytes, err = ",y,".Marshal()")}this.emitPackageDefinitons(!0);const F=(0,l.defined)(this._topLevelUnmarshalNames.get(B));this.namedTypeToNameForTopLevel(U)===void 0&&this.emitLine("type ",B," ",this.goType(U)),!(this._options.justTypes||this._options.justTypesAndPackage)&&(this.ensureBlankLine(),this.emitFunc([F,"(data []byte) (",B,", error)"],()=>{this.emitLine("var r ",B),this.emitLine("err := json.Unmarshal(data, &r)"),this.emitLine("return r, err")}),this.ensureBlankLine(),this.emitFunc(["(r *",B,") Marshal() ([]byte, error)"],()=>{this.emitLine("return json.Marshal(r)")}),this.endFile())}emitClass(U,B){this.startFile(B);let F=[];const y=new Set;this.forEachClassProperty(U,"none",(w,L,N)=>{const p=this.descriptionForClassProperty(U,L),o=p!==void 0&&p.length>0?p.map(b=>"// "+b):[],a=this.propertyGoType(N),d=M(N,this._options.omitEmpty)?",omitempty":[];o.forEach(b=>F.push([b]));const h=this._options.fieldTags.split(",").map(b=>b+':"'+(0,r.stringEscape)(L)+d+'"').join(" ");F.push([[w," "],[a," "],["`",h,"`"]]),y.add(a.toString())}),this.emitPackageDefinitons(!1,y.has("time.Time")||y.has("*,time.Time")||y.has("[],time.Time")?new Set(["time"]):void 0),this.emitDescription(this.descriptionForType(U)),this.emitStruct(B,F),this.endFile()}emitEnum(U,B){this.startFile(B),this.emitPackageDefinitons(!1),this.emitDescription(this.descriptionForType(U)),this.emitLine("type ",B," string"),this.ensureBlankLine(),this.emitLine("const (");let F=[];this.forEachEnumCase(U,"none",(y,w)=>{F.push([[y," "],[B,' = "',(0,r.stringEscape)(w),'"']])}),this.indent(()=>this.emitTable(F)),this.emitLine(")"),this.endFile()}emitUnion(U,B){this.startFile(B),this.emitPackageDefinitons(!1);const[F,y]=(0,n.removeNullFromUnion)(U),w=F!==null?"true":"false",L=(a,d,h)=>{const b=U.findMember(a);return b===void 0?d:h(b,this.nameForUnionMember(U,b),this.goType(b))},N=a=>{L(a,void 0,(d,h,b)=>{this.emitLine("x.",h," = nil")})},p=(a,d)=>{const h=[];for(const b of T)h.push(L(b,"nil",(R,x,j)=>a(x)),", ");for(const b of P)h.push(L(b,"false, nil",(R,x,j)=>d(R.kind==="class",x)),", ");return h.push(w),h};let o=[];this.forEachUnionMember(U,y,"none",null,(a,d)=>{const h=this.nullableGoType(d,!0);o.push([[a," "],h])}),this.emitDescription(this.descriptionForType(U)),this.emitStruct(B,o),!(this._options.justTypes||this._options.justTypesAndPackage)&&(this.ensureBlankLine(),this.emitFunc(["(x *",B,") UnmarshalJSON(data []byte) error"],()=>{for(const d of P)N(d);L("class",void 0,(d,h,b)=>{this.emitLine("var c ",b)});const a=p(d=>["&x.",d],(d,h)=>d?"true, &c":["true, &x.",h]);this.emitLine("object, err := unmarshalUnion(data, ",a,")"),this.emitBlock("if err != nil",()=>{this.emitLine("return err")}),this.emitBlock("if object",()=>{L("class",void 0,(d,h,b)=>{this.emitLine("x.",h," = &c")})}),this.emitLine("return nil")}),this.ensureBlankLine(),this.emitFunc(["(x *",B,") MarshalJSON() ([]byte, error)"],()=>{const a=p(d=>["x.",d],(d,h)=>["x.",h," != nil, x.",h]);this.emitLine("return marshalUnion(",a,")")}),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,B)=>{this.emitLine("//");const F=(0,f.modifySource)(r.camelCase,B);this.emitLine("// ",F,", err := ",(0,l.defined)(this._topLevelUnmarshalNames.get(B)),"(bytes)"),this.emitLine("// bytes, err = ",F,".Marshal()")})}emitPackageDefinitons(U,B=new Set){if(!this._options.justTypes||this._options.justTypesAndPackage){this.ensureBlankLine();const F="package "+this._options.packageName;this.emitLineOnce(F),this.ensureBlankLine()}!this._options.justTypes&&!this._options.justTypesAndPackage&&(this.haveNamedUnions&&this._options.multiFileOutput===!1&&(B.add("bytes"),B.add("errors")),U&&B.add("encoding/json")),this.emitImports(B)}emitImports(U){const B=Array.from(U).sort((F,y)=>F.localeCompare(y));B.length!==0&&(B.forEach(F=>{this.emitLineOnce(`import "${F}"`)}),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,B)=>this.emitTopLevel(U,B),U=>!(this._options.justTypes||this._options.justTypesAndPackage)||this.namedTypeToNameForTopLevel(U)===void 0),this.forEachObject("leading-and-interposing",(U,B)=>this.emitClass(U,B)),this.forEachEnum("leading-and-interposing",(U,B)=>this.emitEnum(U,B)),this.forEachUnion("leading-and-interposing",(U,B)=>this.emitUnion(U,B)),!(this._options.justTypes||this._options.justTypesAndPackage)&&this.emitHelperFunctions()}collectAllImports(){let U=new Set;return this.forEachObject("leading-and-interposing",(B,F)=>{const y=this.collectClassImports(B);U=new Set([...U,...y])}),this.forEachUnion("leading-and-interposing",(B,F)=>{const y=this.collectUnionImports(B);U=new Set([...U,...y])}),U}collectClassImports(U){const B=new Set,F=new Map;F.set("time.Time","time"),F.set("*,time.Time","time"),F.set("[],time.Time","time"),this.forEachClassProperty(U,"none",(w,L,N)=>{const p=this.propertyGoType(N);B.add(p.toString())});const y=new Set;return B.forEach(w=>{const L=F.get(w);L&&y.add(L)}),y}collectUnionImports(U){const B=new Set,F=new Map;F.set("time.Time","time"),F.set("*,time.Time","time"),this.forEachUnionMember(U,null,"none",null,(w,L)=>{const N=this.nullableGoType(L,!0);B.add(N.toString())});const y=new Set;return B.forEach(w=>{const L=F.get(w);L&&y.add(L)}),y}}e.GoRenderer=H})(bp);var Tp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CJSONRenderer=e.IncludeKind=e.GlobalNames=e.CJSONTargetLanguage=e.cJSONOptions=void 0;const t=St,n=rt(),i=tt(),r=qe,l=yt(),u=Ae,f=_t,m=at,v=Ae,S=Ro,C=nc,D=["pascal-case","pascal"],_=["underscore-case","underscore"],E=["camel-case","camel"],T=["upper-underscore-case","upper-underscore"],P=["pascal-case-upper-acronyms","pascal-upper-acronyms"],I=["camel-case-upper-acronyms","camel-upper-acronyms"];e.cJSONOptions={typeSourceStyle:new m.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 m.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 m.StringOption("hashtable-size","Hashtable size, used when maps are created (64 by default)","SIZE","64"),addTypedefAlias:new m.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 m.EnumOption("print-style","Which cJSON print should be used (formatted by default)",[["print-formatted",!1],["print-unformatted",!0]],"print-formatted","secondary"),typeNamingStyle:new m.EnumOption("type-style","Naming style for types",[D,_,E,T,P,I]),memberNamingStyle:new m.EnumOption("member-style","Naming style for members",[_,D,E,T,P,I]),enumeratorNamingStyle:new m.EnumOption("enumerator-style","Naming style for enumerators",[T,_,D,E,P,I])};class M extends t.TargetLanguage{constructor(w="C (cJSON)",L=["cjson","cJSON"],N="h"){super(w,L,N)}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(w,L){return new F(this,w,(0,m.getOptionValues)(e.cJSONOptions,L))}}e.CJSONTargetLanguage=M;const H=(0,l.legalizeCharacters)(y=>(0,l.isAscii)(y)&&(0,l.isLetterOrUnderscoreOrDigit)(y)),Z=["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(y){y[y.ClassMemberConstraints=0]="ClassMemberConstraints",y[y.ClassMemberConstraintException=1]="ClassMemberConstraintException",y[y.ValueTooLowException=2]="ValueTooLowException",y[y.ValueTooHighException=3]="ValueTooHighException",y[y.ValueTooShortException=4]="ValueTooShortException",y[y.ValueTooLongException=5]="ValueTooLongException",y[y.InvalidPatternException=6]="InvalidPatternException",y[y.CheckConstraint=7]="CheckConstraint"})(U=e.GlobalNames||(e.GlobalNames={}));var B;(function(y){y[y.ForwardDeclare=0]="ForwardDeclare",y[y.Include=1]="Include"})(B=e.IncludeKind||(e.IncludeKind={}));class F extends f.ConvenienceRenderer{constructor(w,L,N){super(w,L),this._options=N,this.typeIntegerSize=N.typeIntegerSize,this.hashtableSize=N.hashtableSize,this.typeNamingStyle=N.typeNamingStyle,this.namedTypeNameStyle=(0,l.makeNameStyle)(this.typeNamingStyle,H),this.enumeratorNamingStyle=N.enumeratorNamingStyle,this.memberNameStyle=(0,l.makeNameStyle)(N.memberNamingStyle,H),this.forbiddenGlobalNames=[];for(const p of(0,u.numberEnumValues)(U)){const o=this.namedTypeNameStyle(U[p]);this.forbiddenGlobalNames.push(o)}}forbiddenNamesForGlobalNamespace(){return[...Z,...this.forbiddenGlobalNames]}forbiddenForEnumCases(w,L){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(w,L){return{names:[],includeGlobalForbidden:!0}}forbiddenForObjectProperties(w,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,l.makeNameStyle)(this.enumeratorNamingStyle,H))}proposeUnionMemberName(w,L,N,p){let o=super.proposeUnionMemberName(w,L,N,p);return o==="bool"?o="boolean":o==="double"&&(o="number"),o}emitTypdefAlias(w,L){this._options.addTypedefAlias&&(this.emitLine("typedef ",this.quicktypeTypeToCJSON(w,!1).cType," ",L,";"),this.ensureBlankLine())}emitSourceStructure(w){this._options.typeSourceStyle?this.emitSingleSourceStructure(w):this.emitMultiSourceStructure()}emitSingleSourceStructure(w){this.startFile(w),this.forEachDeclaration("leading-and-interposing",L=>{if(L.kind==="forward")this.emitLine("struct ",this.nameForNamedType(L.type),";");else if(L.kind==="define"){const N=L.type;N instanceof n.ClassType?this.emitClassTypedef(N):N instanceof n.EnumType?this.emitEnumTypedef(N):N instanceof n.UnionType?this.emitUnionTypedef(N):(0,u.panic)("Cannot declare type")}else(0,u.assertNever)(L.kind)}),this.forEachTopLevel("leading",(L,N)=>this.emitTopLevelTypedef(L,N),L=>this.namedTypeToNameForTopLevel(L)===void 0),this.forEachEnum("leading-and-interposing",(L,N)=>this.emitEnumPrototypes(L)),this.forEachUnion("leading-and-interposing",L=>this.emitUnionPrototypes(L)),this.forEachObject("leading-and-interposing",(L,N)=>this.emitClassPrototypes(L)),this.forEachTopLevel("leading",(L,N)=>this.emitTopLevelPrototypes(L,N),L=>this.namedTypeToNameForTopLevel(L)===void 0),this.forEachEnum("leading-and-interposing",(L,N)=>this.emitEnumFunctions(L)),this.forEachUnion("leading-and-interposing",L=>this.emitUnionFunctions(L)),this.forEachObject("leading-and-interposing",(L,N)=>this.emitClassFunctions(L)),this.forEachTopLevel("leading",(L,N)=>this.emitTopLevelFunctions(L,N),L=>this.namedTypeToNameForTopLevel(L)===void 0),this.finishFile()}emitMultiSourceStructure(){let w;this.forEachNamedType("leading-and-interposing",(L,N)=>{this.emitClass(L,w)},(L,N)=>{this.emitEnum(L,w)},(L,N)=>{this.emitUnion(L,w)}),this.forEachTopLevel("leading",(L,N)=>this.emitTopLevel(L,N,w),L=>this.namedTypeToNameForTopLevel(L)===void 0)}emitEnum(w,L){const N=this.nameForNamedType(w),p=this.sourcelikeToString(N).concat(".h");L.push(p),this.startFile(p),this.emitIncludes(w,this.sourcelikeToString(p)),this.emitEnumTypedef(w),this.emitEnumPrototypes(w),this.emitEnumFunctions(w),this.finishFile()}emitEnumTypedef(w){const L=this.nameForNamedType(w),N=(0,C.enumCaseValues)(w,this.targetLanguage.name);this.emitDescription(this.descriptionForType(w)),this.emitBlock(["enum ",L],()=>{const p=(0,l.allUpperWordStyle)(this.sourcelikeToString(L));this.forEachEnumCase(w,"none",(o,a)=>{if(N!==void 0){const[d]=(0,S.getAccessorName)(N,a);d!==void 0?this.emitLine(p,"_",o," = ",d.toString(),","):this.emitLine(p,"_",o,",")}else this.emitLine(p,"_",o,",")})},"",!0),this.ensureBlankLine(),this.emitTypdefAlias(w,L)}emitEnumPrototypes(w){const L=this.nameForNamedType(w);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(w){const L=this.nameForNamedType(w);this.emitBlock(["enum ",L," cJSON_Get",L,"Value(",this.withConst("cJSON")," * j)"],()=>{this.emitLine("enum ",L," x = 0;"),this.emitBlock(["if (NULL != j)"],()=>{let N=!0;const p=(0,l.allUpperWordStyle)(this.sourcelikeToString(L));this.forEachEnumCase(w,"none",(o,a)=>{this.emitLine(N?"":"else ",'if (!strcmp(cJSON_GetStringValue(j), "',a,'")) x = ',p,"_",o,";"),N=!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 N=(0,l.allUpperWordStyle)(this.sourcelikeToString(L));this.forEachEnumCase(w,"none",(p,o)=>{this.emitLine("case ",N,"_",p,': j = cJSON_CreateString("',o,'"); break;')})}),this.emitLine("return j;")}),this.ensureBlankLine()}emitUnion(w,L){const N=this.nameForNamedType(w),p=this.sourcelikeToString(N).concat(".h");L.push(p),this.startFile(p),this.emitIncludes(w,this.sourcelikeToString(p)),this.emitUnionTypedef(w),this.emitUnionPrototypes(w),this.emitUnionFunctions(w),this.finishFile()}emitUnionTypedef(w){const[L,N]=(0,i.removeNullFromUnion)(w),p=this.nameForNamedType(w);this.emitDescription(this.descriptionForType(w)),this.emitBlock(["struct ",p],()=>{this.emitLine("int type;"),this.emitBlock(["union"],()=>{for(const o of N){const a=this.quicktypeTypeToCJSON(o,!1);this.emitLine(a.cType,a.optionalQualifier!==""?" ":"",a.optionalQualifier," ",this.nameForUnionMember(w,o),";")}},"value",!0)},"",!0),this.ensureBlankLine(),this.emitTypdefAlias(w,p)}emitUnionPrototypes(w){const L=this.nameForNamedType(w);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(w){const[L,N]=(0,i.removeNullFromUnion)(w),p=this.nameForNamedType(w);this.emitBlock(["struct ",p," * cJSON_Get",p,"Value(const cJSON * j)"],()=>{let o=!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;")}),o=!1);for(const a of N){const d=this.quicktypeTypeToCJSON(a,!1);this.emitBlock([o===!0?"if (":"else if (",d.isType,"(j))"],()=>{this.emitLine("x->type = ",d.cjsonType,";"),d.cjsonType==="cJSON_Array"&&d.items!==void 0?(this.emitLine(d.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 R=(x,j,W)=>{x.items.cjsonType==="cJSON_Array"||x.items.cjsonType==="cJSON_Map"||(x.items.cjsonType==="cJSON_Invalid"||x.items.cjsonType==="cJSON_NULL"?this.emitLine("list_add_tail(x",W.toString(),", (",x.items.cType," *)0xDEADBEEF, sizeof(",x.items.cType," *));"):x.items.cjsonType==="cJSON_String"?this.emitLine("list_add_tail(x",W.toString(),", strdup(",x.items.getValue,"(e",W.toString(),")), sizeof(",x.items.cType," *));"):x.items.cjsonType==="cJSON_Object"||x.items.cjsonType==="cJSON_Union"?this.emitLine("list_add_tail(x",W.toString(),", ",x.items.getValue,"(e",W.toString(),"), sizeof(",x.items.cType," *));"):(this.emitLine(x.items.cType," * tmp",j>0?j.toString():""," = cJSON_malloc(sizeof(",x.items.cType,"));"),this.emitBlock(["if (NULL != tmp",j>0?j.toString():"",")"],()=>{this.emitLine("* tmp",j>0?j.toString():""," = ",x.items.getValue,"(e",W.toString(),");"),this.emitLine("list_add_tail(x",W.toString(),", tmp",j>0?j.toString():"",", sizeof(",x.items.cType," *));")})))};d.items.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e","1","))"],()=>{R(d,0,1)}),this.emitBlock(["else"],()=>{this.emitLine("list_add_tail(x","1",", (void *)0xDEADBEEF, sizeof(void *));")})):R(d,0,1)}),this.emitLine("x->value.",this.nameForUnionMember(w,a)," = x","1",";")})):d.cjsonType==="cJSON_Map"&&d.items!==void 0?(this.emitLine(d.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 R=(x,j,W)=>{x.items.cjsonType==="cJSON_Array"||x.items.cjsonType==="cJSON_Map"||(x.items.cjsonType==="cJSON_Invalid"||x.items.cjsonType==="cJSON_NULL"?this.emitLine("hashtable_add(x",W.toString(),", e",W.toString(),"->string, (",x.items.cType," *)0xDEADBEEF, sizeof(",x.items.cType," *));"):x.items.cjsonType==="cJSON_String"?this.emitLine("hashtable_add(x",W.toString(),", e",W.toString(),"->string, strdup(",x.items.getValue,"(e",W.toString(),")), sizeof(",x.items.cType," *));"):x.items.cjsonType==="cJSON_Object"||x.items.cjsonType==="cJSON_Union"?this.emitLine("hashtable_add(x",W.toString(),", e",W.toString(),"->string, ",x.items.getValue,"(e",W.toString(),"), sizeof(",x.items.cType," *));"):(this.emitLine(x.items.cType," * tmp",j>0?j.toString():""," = cJSON_malloc(sizeof(",x.items.cType,"));"),this.emitBlock(["if (NULL != tmp",j>0?j.toString():"",")"],()=>{this.emitLine("* tmp",j>0?j.toString():""," = ",x.items.getValue,"(e",W.toString(),");"),this.emitLine("hashtable_add(x",W.toString(),", e",W.toString(),"->string, tmp",j>0?j.toString():"",", sizeof(",x.items.cType," *));")})))};d.items.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e","1","))"],()=>{R(d,0,1)}),this.emitBlock(["else"],()=>{this.emitLine("hashtable_add(x","1",", e","1","->string, (void *)0xDEADBEEF, sizeof(void *));")})):R(d,0,1)}),this.emitLine("x->value.",this.nameForUnionMember(w,a)," = x","1",";")})):d.cjsonType==="cJSON_Invalid"||d.cjsonType==="cJSON_NULL"?this.emitLine("x->value.",this.nameForUnionMember(w,a)," = (",d.cType," *)0xDEADBEEF;"):d.cjsonType==="cJSON_String"?this.emitLine("x->value.",this.nameForUnionMember(w,a)," = strdup(",d.getValue,"(j));"):this.emitLine("x->value.",this.nameForUnionMember(w,a)," = ",d.getValue,"(j);")}),o=!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 o=!0;L!==null&&(this.emitBlock(["if (cJSON_NULL == x->type)"],()=>{this.emitLine("j = cJSON_CreateNull();")}),o=!1);for(const a of N){const d=this.quicktypeTypeToCJSON(a,!1);this.emitBlock([o===!0?"if (":"else if (",d.cjsonType," == x->type)"],()=>{d.cjsonType==="cJSON_Array"&&d.items!==void 0?(this.emitLine("cJSON * j","1"," = ",d.createObject,"();"),this.emitBlock(["if (NULL != j","1",")"],()=>{this.emitLine(d.items.cType," * x","1"," = list_get_head(x","","->value.",this.nameForUnionMember(w,a),");"),this.emitBlock(["while (NULL != x","1",")"],()=>{const b=(R,x)=>{R.items.cjsonType==="cJSON_Array"||R.items.cjsonType==="cJSON_Map"||R.items.cjsonType==="cJSON_Invalid"||(R.items.cjsonType==="cJSON_NULL"?this.emitLine("cJSON_AddItemToArray(j",x.toString(),", ",R.items.createObject,"());"):R.items.cjsonType==="cJSON_String"||R.items.cjsonType==="cJSON_Object"||R.items.cjsonType==="cJSON_Union"?this.emitLine("cJSON_AddItemToArray(j",x.toString(),", ",R.items.createObject,"(x",x.toString(),"));"):this.emitLine("cJSON_AddItemToArray(j",x.toString(),", ",R.items.createObject,"(*x",x.toString(),"));"))};d.items.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x","1",")"],()=>{b(d,1)}),this.emitBlock(["else"],()=>{this.emitLine("cJSON_AddItemToArray(j","1",", cJSON_CreateNull());")})):b(d,1),this.emitLine("x","1"," = list_get_next(x","","->value.",this.nameForUnionMember(w,a),");")}),this.emitLine("j = j","1",";")})):d.cjsonType==="cJSON_Map"&&d.items!==void 0?(this.emitLine("cJSON * j","1"," = ",d.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(w,a),", &keys","1",");"),this.emitBlock(["if (NULL != keys","1",")"],()=>{this.emitBlock(["for (size_t index","1"," = 0; index","1"," < count","1","; index","1","++)"],()=>{this.emitLine(d.items.cType," *x","1"," = hashtable_lookup(x","","->value.",this.nameForUnionMember(w,a),", keys","1","[index","1","]);");const b=(R,x)=>{R.items.cjsonType==="cJSON_Array"||R.items.cjsonType==="cJSON_Map"||R.items.cjsonType==="cJSON_Invalid"||(R.items.cjsonType==="cJSON_NULL"?this.emitLine(R.addToObject,"(j",x.toString(),", keys",x.toString(),"[index",x.toString(),"], ",R.items.createObject,"());"):R.items.cjsonType==="cJSON_String"||R.items.cjsonType==="cJSON_Object"||R.items.cjsonType==="cJSON_Union"?this.emitLine(R.addToObject,"(j",x.toString(),", keys",x.toString(),"[index",x.toString(),"], ",R.items.createObject,"(x",x.toString(),"));"):this.emitLine(R.addToObject,"(j",x.toString(),", keys",x.toString(),"[index",x.toString(),"], ",R.items.createObject,"(*x",x.toString(),"));"))};d.items.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x","1",")"],()=>{b(d,1)}),this.emitBlock(["else"],()=>{this.emitLine(d.addToObject,"(j","1",", keys","1","[index","1","], cJSON_CreateNull());")})):b(d,1)}),this.emitLine("cJSON_free(keys","1",");")}),this.emitLine("j = j","1",";")})):d.cjsonType==="cJSON_Invalid"||(d.cjsonType==="cJSON_NULL"?this.emitLine("j = ",d.createObject,"();"):this.emitLine("j = ",d.createObject,"(x->value.",this.nameForUnionMember(w,a),");"))}),o=!1}}),this.emitLine("return j;")}),this.ensureBlankLine(),this.emitBlock(["void cJSON_Delete",p,"(struct ",p," * x)"],()=>{this.emitBlock(["if (NULL != x)"],()=>{let o=!0;for(const a of N){const d=this.quicktypeTypeToCJSON(a,!1);this.emitBlock([o===!0?"if (":"else if (",d.cjsonType," == x->type)"],()=>{d.cjsonType==="cJSON_Array"&&d.items!==void 0?this.emitBlock(["if (NULL != x","","->value.",this.nameForUnionMember(w,a),")"],()=>{this.emitLine(d.items.cType," * x","1"," = list_get_head(x","","->value.",this.nameForUnionMember(w,a),");"),this.emitBlock(["while (NULL != x","1",")"],()=>{d.items.cjsonType==="cJSON_Array"||d.items.cjsonType==="cJSON_Map"||d.items.cjsonType==="cJSON_Invalid"||d.items.cjsonType==="cJSON_NULL"||(d.items.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x","1",")"],()=>{this.emitLine(d.items.deleteType,"(x","1",");")}):this.emitLine(d.items.deleteType,"(x","1",");")),this.emitLine("x","1"," = list_get_next(x","","->value.",this.nameForUnionMember(w,a),");")}),this.emitLine(d.deleteType,"(x","","->value.",this.nameForUnionMember(w,a),");")}):d.cjsonType==="cJSON_Map"&&d.items!==void 0?this.emitBlock(["if (NULL != x","","->value.",this.nameForUnionMember(w,a),")"],()=>{this.emitLine("char **keys","1"," = NULL;"),this.emitLine("size_t count","1"," = hashtable_get_keys(x","","->value.",this.nameForUnionMember(w,a),", &keys","1",");"),this.emitBlock(["if (NULL != keys","1",")"],()=>{this.emitBlock(["for (size_t index","1"," = 0; index","1"," < count","1","; index","1","++)"],()=>{this.emitLine(d.items.cType," *x","1"," = hashtable_lookup(x","","->value.",this.nameForUnionMember(w,a),", keys","1","[index","1","]);"),this.emitBlock(["if (NULL != x","1",")"],()=>{d.items.cjsonType==="cJSON_Array"||d.items.cjsonType==="cJSON_Map"||d.items.cjsonType==="cJSON_Invalid"||d.items.cjsonType==="cJSON_NULL"||(d.items.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x","1",")"],()=>{this.emitLine(d.items.deleteType,"(x","1",");")}):this.emitLine(d.items.deleteType,"(x","1",");"))})}),this.emitLine("cJSON_free(keys","1",");")}),this.emitLine(d.deleteType,"(x","","->value.",this.nameForUnionMember(w,a),");")}):d.cjsonType==="cJSON_Invalid"||d.cjsonType==="cJSON_NULL"||(d.cjsonType==="cJSON_String"||d.cjsonType==="cJSON_Object"||d.cjsonType==="cJSON_Union")&&this.emitLine(d.deleteType,"(x->value.",this.nameForUnionMember(w,a),");")}),o=!1}this.emitLine("cJSON_free(x);")})}),this.ensureBlankLine()}emitClass(w,L){const N=this.nameForNamedType(w),p=this.sourcelikeToString(N).concat(".h");L.push(p),this.startFile(p),this.emitIncludes(w,this.sourcelikeToString(p)),this.emitClassTypedef(w),this.emitClassPrototypes(w),this.emitClassFunctions(w),this.finishFile()}emitClassTypedef(w){const L=this.nameForNamedType(w);this.emitDescription(this.descriptionForType(w)),this.emitBlock(["struct ",L],()=>{this.forEachClassProperty(w,"none",(N,p,o)=>{this.emitDescription(this.descriptionForClassProperty(w,p));const a=this.quicktypeTypeToCJSON(o.type,o.isOptional);this.emitLine(a.cType,a.optionalQualifier!==""?" ":"",a.optionalQualifier," ",N,";")})},"",!0),this.ensureBlankLine(),this.emitTypdefAlias(w,L)}emitClassPrototypes(w){const L=this.nameForNamedType(w);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(w){const L=this.nameForNamedType(w);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 N=(p,o)=>{if(p instanceof n.ArrayType){const a=o+1,d=this.quicktypeTypeToCJSON(p.items,!1);this.emitLine("list_t * x",a.toString()," = list_create(false, NULL);"),this.emitBlock(["if (NULL != x",a.toString(),")"],()=>{this.emitLine("cJSON * e",a.toString()," = NULL;"),this.emitBlock(["cJSON_ArrayForEach(e",a.toString(),", e",o.toString(),")"],()=>{if(d.cjsonType==="cJSON_Array"){const h=a+1;N(p.items,a),this.emitLine("list_add_tail(x",a.toString(),", x",h.toString(),", sizeof(",d.items.cType," *));")}else d.cjsonType==="cJSON_Map"||(d.cjsonType==="cJSON_Invalid"||d.cjsonType==="cJSON_NULL"?this.emitLine("list_add_tail(x",a.toString(),", (",d.cType," *)0xDEADBEEF, sizeof(",d.cType," *));"):d.cjsonType==="cJSON_String"?this.emitLine("list_add_tail(x",a.toString(),", strdup(",d.getValue,"(e",a.toString(),")), sizeof(",d.cType," *));"):d.cjsonType==="cJSON_Object"||d.cjsonType==="cJSON_Union"?this.emitLine("list_add_tail(x",a.toString(),", ",d.getValue,"(e",a.toString(),"), sizeof(",d.cType," *));"):(this.emitLine(d.cType," * tmp",o>0?o.toString():""," = cJSON_malloc(sizeof(",d.cType,"));"),this.emitBlock(["if (NULL != tmp",o>0?o.toString():"",")"],()=>{this.emitLine("* tmp",o>0?o.toString():""," = ",d.getValue,"(e",a.toString(),");"),this.emitLine("list_add_tail(x",a.toString(),", tmp",o>0?o.toString():"",", sizeof(",d.cType," *));")})))})})}else p instanceof n.ClassType&&this.forEachClassProperty(p,"none",(a,d,h)=>{const b=this.quicktypeTypeToCJSON(h.type,h.isOptional);this.emitBlock(b.isNullable?["if ((cJSON_HasObjectItem(j",o>0?o.toString():"",', "',d,'")) && (!cJSON_IsNull(cJSON_GetObjectItemCaseSensitive(j',o>0?o.toString():"",', "',d,'"))))']:["if (cJSON_HasObjectItem(j",o>0?o.toString():"",', "',d,'"))'],()=>{if(b.cjsonType==="cJSON_Array"&&b.items!==void 0){const R=o+1;this.emitLine(b.cType," * x",R.toString()," = list_create(false, NULL);"),this.emitBlock(["if (NULL != x",R.toString(),")"],()=>{this.emitLine("cJSON * e",R.toString()," = NULL;"),this.emitLine("cJSON * j",R.toString()," = cJSON_GetObjectItemCaseSensitive(j",o>0?o.toString():"",', "',d,'");'),this.emitBlock(["cJSON_ArrayForEach(e",R.toString(),", j",R.toString(),")"],()=>{const x=(j,W,k,O)=>{if(W.items.cjsonType==="cJSON_Array")if(j instanceof n.ArrayType){const V=O+1;N(j.items,O),this.emitLine("list_add_tail(x",O.toString(),", x",V.toString(),", sizeof(",W.items.cType," *));")}else(0,u.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",O.toString(),", (",W.items.cType," *)0xDEADBEEF, sizeof(",W.items.cType," *));"):W.items.cjsonType==="cJSON_String"?this.emitLine("list_add_tail(x",O.toString(),", strdup(",W.items.getValue,"(e",O.toString(),")), sizeof(",W.items.cType," *));"):W.items.cjsonType==="cJSON_Object"||W.items.cjsonType==="cJSON_Union"?this.emitLine("list_add_tail(x",O.toString(),", ",W.items.getValue,"(e",O.toString(),"), sizeof(",W.items.cType," *));"):(this.emitLine(W.items.cType," * tmp",k>0?k.toString():""," = cJSON_malloc(sizeof(",W.items.cType,"));"),this.emitBlock(["if (NULL != tmp",k>0?k.toString():"",")"],()=>{this.emitLine("* tmp",k>0?k.toString():""," = ",W.items.getValue,"(e",O.toString(),");"),this.emitLine("list_add_tail(x",O.toString(),", tmp",k>0?k.toString():"",", sizeof(",W.items.cType," *));")})))};b.items.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e",R.toString(),"))"],()=>{x(h.type,b,o,R)}),this.emitBlock(["else"],()=>{this.emitLine("list_add_tail(x",R.toString(),", (void *)0xDEADBEEF, sizeof(void *));")})):x(h.type,b,o,R)}),this.emitLine("x",o>0?o.toString():"","->",a," = x",R.toString(),";")})}else if(b.cjsonType==="cJSON_Map"&&b.items!==void 0){const R=o+1;this.emitLine(b.cType," * x",R.toString()," = hashtable_create(",this.hashtableSize,", false);"),this.emitBlock(["if (NULL != x",R.toString(),")"],()=>{this.emitLine("cJSON * e",R.toString()," = NULL;"),this.emitLine("cJSON * j",R.toString()," = cJSON_GetObjectItemCaseSensitive(j",o>0?o.toString():"",', "',d,'");'),this.emitBlock(["cJSON_ArrayForEach(e",R.toString(),", j",R.toString(),")"],()=>{const x=(j,W,k,O)=>{if(W.items.cjsonType==="cJSON_Array")if(j instanceof n.MapType){const V=O+1;N(j.values,O),this.emitLine("hashtable_add(x",O.toString(),", e",O.toString(),"->string, x",V.toString(),", sizeof(",W.items.cType," *));")}else(0,u.panic)("Invalid type");else W.items.cjsonType==="cJSON_Map"||(W.items.cjsonType==="cJSON_Invalid"||W.items.cjsonType==="cJSON_NULL"?this.emitLine("hashtable_add(x",O.toString(),", e",O.toString(),"->string, (",W.items.cType," *)0xDEADBEEF, sizeof(",W.items.cType," *));"):W.items.cjsonType==="cJSON_String"?this.emitLine("hashtable_add(x",O.toString(),", e",O.toString(),"->string, strdup(",W.items.getValue,"(e",O.toString(),")), sizeof(",W.items.cType," *));"):W.items.cjsonType==="cJSON_Object"||W.items.cjsonType==="cJSON_Union"?this.emitLine("hashtable_add(x",O.toString(),", e",O.toString(),"->string, ",W.items.getValue,"(e",O.toString(),"), sizeof(",W.items.cType," *));"):(this.emitLine(W.items.cType," * tmp",k>0?k.toString():""," = cJSON_malloc(sizeof(",W.items.cType,"));"),this.emitBlock(["if (NULL != tmp",k>0?k.toString():"",")"],()=>{this.emitLine("* tmp",k>0?k.toString():""," = ",W.items.getValue,"(e",O.toString(),");"),this.emitLine("hashtable_add(x",O.toString(),", e",O.toString(),"->string, tmp",k>0?k.toString():"",", sizeof(",W.items.cType," *));")})))};b.items.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e",R.toString(),"))"],()=>{x(h.type,b,o,R)}),this.emitBlock(["else"],()=>{this.emitLine("hashtable_add(x",R.toString(),", e",R.toString(),"->string, (void *)0xDEADBEEF, sizeof(void *));")})):x(h.type,b,o,R)}),this.emitLine("x",o>0?o.toString():"","->",a," = x",R.toString(),";")})}else b.cjsonType==="cJSON_Invalid"||b.cjsonType==="cJSON_NULL"?this.emitLine("x",o>0?o.toString():"","->",a," = (",b.cType," *)0xDEADBEEF;"):b.cjsonType==="cJSON_String"?this.emitLine("x",o>0?o.toString():"","->",a," = strdup(",b.getValue,"(cJSON_GetObjectItemCaseSensitive(j",o>0?o.toString():"",', "',d,'")));'):b.cjsonType==="cJSON_Object"||b.cjsonType==="cJSON_Union"?this.emitLine("x",o>0?o.toString():"","->",a," = ",b.getValue,"(cJSON_GetObjectItemCaseSensitive(j",o>0?o.toString():"",', "',d,'"));'):h.isOptional||b.isNullable?this.emitBlock(["if (NULL != (x",o>0?o.toString():"","->",a," = cJSON_malloc(sizeof(",b.cType,"))))"],()=>{this.emitLine("*x",o>0?o.toString():"","->",a," = ",b.getValue,"(cJSON_GetObjectItemCaseSensitive(j",o>0?o.toString():"",', "',d,'"));')}):this.emitLine("x",o>0?o.toString():"","->",a," = ",b.getValue,"(cJSON_GetObjectItemCaseSensitive(j",o>0?o.toString():"",', "',d,'"));')}),!h.isOptional&&!b.isNullable&&(b.cjsonType==="cJSON_Array"?this.emitBlock(["else"],()=>{this.emitLine("x",o>0?o.toString():"","->",a," = list_create(false, NULL);")}):b.cjsonType==="cJSON_Map"?this.emitBlock(["else"],()=>{this.emitLine("x",o>0?o.toString():"","->",a," = hashtable_create(",this.hashtableSize,", false);")}):b.cjsonType==="cJSON_Invalid"||b.cjsonType==="cJSON_NULL"?this.emitBlock(["else"],()=>{this.emitLine("x",o>0?o.toString():"","->",a," = (",b.cType," *)0xDEADBEEF;")}):b.cjsonType==="cJSON_String"&&this.emitBlock(["else"],()=>{this.emitBlock(["if (NULL != (x",o>0?o.toString():"","->",a," = cJSON_malloc(sizeof(",b.cType,"))))"],()=>{this.emitLine("x",o>0?o.toString():"","->",a,"[0] = '\\0';")})}))})};N(w,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 N=(p,o)=>{if(p instanceof n.ArrayType){const a=o+1,d=this.quicktypeTypeToCJSON(p.items,!1);this.emitLine("cJSON * j",a.toString()," = cJSON_CreateArray();"),this.emitBlock(["if (NULL != j",a.toString(),")"],()=>{this.emitLine(d.cType," * x",a.toString()," = list_get_head(x",o.toString(),");"),this.emitBlock(["while (NULL != x",a.toString(),")"],()=>{if(d.cjsonType==="cJSON_Array"){const h=a+1;N(p.items,a),this.emitLine("cJSON_AddItemToArray(j",a.toString(),", j",h.toString(),");")}else d.cjsonType==="cJSON_Map"||d.cjsonType==="cJSON_Invalid"||(d.cjsonType==="cJSON_NULL"?this.emitLine("cJSON_AddItemToArray(j",a.toString(),", ",d.createObject,"());"):d.cjsonType==="cJSON_String"||d.cjsonType==="cJSON_Object"||d.cjsonType==="cJSON_Union"?this.emitLine("cJSON_AddItemToArray(j",a.toString(),", ",d.createObject,"(x",a.toString(),"));"):this.emitLine("cJSON_AddItemToArray(j",a.toString(),", ",d.createObject,"(*x",a.toString(),"));"));this.emitLine("x",a.toString()," = list_get_next(x",o.toString(),");")})})}else p instanceof n.ClassType&&this.forEachClassProperty(p,"none",(a,d,h)=>{const b=this.quicktypeTypeToCJSON(h.type,h.isOptional);if(b.cjsonType==="cJSON_Array"&&b.items!==void 0){const R=o+1;this.emitBlock(["if (NULL != x",o>0?o.toString():"","->",a,")"],()=>{this.emitLine("cJSON * j",R.toString()," = cJSON_AddArrayToObject(j",o>0?o.toString():"",', "',d,'");'),this.emitBlock(["if (NULL != j",R.toString(),")"],()=>{this.emitLine(b.items.cType," * x",R.toString()," = list_get_head(x",o>0?o.toString():"","->",a,");"),this.emitBlock(["while (NULL != x",R.toString(),")"],()=>{const x=(j,W,k)=>{if(W.items.cjsonType==="cJSON_Array")if(j instanceof n.ArrayType){const O=k+1;N(j.items,k),this.emitLine("cJSON_AddItemToArray(j",k.toString(),", j",O.toString(),");")}else(0,u.panic)("Invalid type");else W.items.cjsonType==="cJSON_Map"||W.items.cjsonType==="cJSON_Invalid"||(W.items.cjsonType==="cJSON_NULL"?this.emitLine("cJSON_AddItemToArray(j",k.toString(),", ",W.items.createObject,"());"):W.items.cjsonType==="cJSON_String"||W.items.cjsonType==="cJSON_Object"||W.items.cjsonType==="cJSON_Union"?this.emitLine("cJSON_AddItemToArray(j",k.toString(),", ",W.items.createObject,"(x",k.toString(),"));"):this.emitLine("cJSON_AddItemToArray(j",k.toString(),", ",W.items.createObject,"(*x",k.toString(),"));"))};b.items.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x",R.toString(),")"],()=>{x(h.type,b,R)}),this.emitBlock(["else"],()=>{this.emitLine("cJSON_AddItemToArray(j",R.toString(),", cJSON_CreateNull());")})):x(h.type,b,R),this.emitLine("x",R.toString()," = list_get_next(x",o>0?o.toString():"","->",a,");")})})})}else if(b.cjsonType==="cJSON_Map"&&b.items!==void 0){const R=o+1;this.emitBlock(["if (NULL != x",o>0?o.toString():"","->",a,")"],()=>{this.emitLine("cJSON * j",R.toString()," = ",b.createObject,"();"),this.emitBlock(["if (NULL != j",R.toString(),")"],()=>{this.emitLine("char **keys",R.toString()," = NULL;"),this.emitLine("size_t count",R.toString()," = hashtable_get_keys(x",o>0?o.toString():"","->",a,", &keys",R.toString(),");"),this.emitBlock(["if (NULL != keys",R.toString(),")"],()=>{this.emitBlock(["for (size_t index",R.toString()," = 0; index",R.toString()," < count",R.toString(),"; index",R.toString(),"++)"],()=>{this.emitLine(b.items.cType," *x",R.toString()," = hashtable_lookup(x",o>0?o.toString():"","->",a,", keys",R.toString(),"[index",R.toString(),"]);");const x=(j,W,k)=>{if(W.items.cjsonType==="cJSON_Array")if(j instanceof n.MapType){const O=k+1;N(j.values,k),this.emitLine(W.addToObject,"(j",k.toString(),", keys",k.toString(),"[index",k.toString(),"], j",O.toString(),");")}else(0,u.panic)("Invalid type");else W.items.cjsonType==="cJSON_Map"||W.items.cjsonType==="cJSON_Invalid"||(W.items.cjsonType==="cJSON_NULL"?this.emitLine(W.addToObject,"(j",k.toString(),", keys",k.toString(),"[index",k.toString(),"], ",W.items.createObject,"());"):W.items.cjsonType==="cJSON_String"||W.items.cjsonType==="cJSON_Object"||W.items.cjsonType==="cJSON_Union"?this.emitLine(W.addToObject,"(j",k.toString(),", keys",k.toString(),"[index",k.toString(),"], ",W.items.createObject,"(x",k.toString(),"));"):this.emitLine(W.addToObject,"(j",k.toString(),", keys",k.toString(),"[index",k.toString(),"], ",W.items.createObject,"(*x",k.toString(),"));"))};b.items.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x",R.toString(),")"],()=>{x(h.type,b,R)}),this.emitBlock(["else"],()=>{this.emitLine(b.addToObject,"(j",R.toString(),", keys",R.toString(),"[index",R.toString(),"], cJSON_CreateNull());")})):x(h.type,b,R)}),this.emitLine("cJSON_free(keys",R.toString(),");")}),this.emitLine(b.addToObject,"(j",o>0?o.toString():"",', "',d,'", j',R.toString(),");")})})}else b.cjsonType==="cJSON_Invalid"||(b.cjsonType==="cJSON_NULL"?h.isOptional?this.emitBlock(["if (NULL != x",o>0?o.toString():"","->",a,")"],()=>{this.emitLine(b.addToObject,"(j",o>0?o.toString():"",', "',d,'");')}):this.emitLine(b.addToObject,"(j",o>0?o.toString():"",', "',d,'");'):b.cjsonType==="cJSON_String"?(this.emitBlock(["if (NULL != x",o>0?o.toString():"","->",a,")"],()=>{this.emitLine(b.addToObject,"(j",o>0?o.toString():"",', "',d,'", x',o>0?o.toString():"","->",a,");")}),!h.isOptional&&!b.isNullable&&this.emitBlock(["else"],()=>{this.emitLine(b.addToObject,"(j",o>0?o.toString():"",', "',d,'", "");')})):b.cjsonType==="cJSON_Object"||b.cjsonType==="cJSON_Union"?h.isOptional||b.isNullable?this.emitBlock(["if (NULL != x",o>0?o.toString():"","->",a,")"],()=>{this.emitLine(b.addToObject,"(j",o>0?o.toString():"",', "',d,'", ',b.createObject,"(x",o>0?o.toString():"","->",a,"));")}):this.emitLine(b.addToObject,"(j",o>0?o.toString():"",', "',d,'", ',b.createObject,"(x",o>0?o.toString():"","->",a,"));"):b.cjsonType==="cJSON_Enum"?h.isOptional||b.isNullable?this.emitBlock(["if (NULL != x",o>0?o.toString():"","->",a,")"],()=>{this.emitLine(b.addToObject,"(j",o>0?o.toString():"",', "',d,'", ',b.createObject,"(*x",o>0?o.toString():"","->",a,"));")}):this.emitLine(b.addToObject,"(j",o>0?o.toString():"",', "',d,'", ',b.createObject,"(x",o>0?o.toString():"","->",a,"));"):h.isOptional||b.isNullable?this.emitBlock(["if (NULL != x",o>0?o.toString():"","->",a,")"],()=>{this.emitLine(b.addToObject,"(j",o>0?o.toString():"",', "',d,'", *x',o>0?o.toString():"","->",a,");")}):this.emitLine(b.addToObject,"(j",o>0?o.toString():"",', "',d,'", x',o>0?o.toString():"","->",a,");"));b.isNullable&&this.emitBlock(["else"],()=>{this.emitLine("cJSON_AddNullToObject(j",o>0?o.toString():"",', "',d,'");')})})};N(w,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 N=(p,o)=>{if(p instanceof n.ArrayType){const a=o+1,d=this.quicktypeTypeToCJSON(p.items,!1);this.emitLine(d.cType," * x",a.toString()," = list_get_head(x",o.toString(),");"),this.emitBlock(["while (NULL != x",a.toString(),")"],()=>{d.cjsonType==="cJSON_Array"?(N(p.items,a),this.emitLine(d.deleteType,"(x",a.toString(),");")):d.cjsonType==="cJSON_Map"||d.cjsonType==="cJSON_Invalid"||d.cjsonType==="cJSON_NULL"||this.emitLine(d.deleteType,"(x",a.toString(),");"),this.emitLine("x",a.toString()," = list_get_next(x",o.toString(),");")})}else p instanceof n.ClassType&&this.forEachClassProperty(p,"none",(a,d,h)=>{const b=this.quicktypeTypeToCJSON(h.type,h.isOptional);if(b.cjsonType==="cJSON_Array"&&b.items!==void 0){const R=o+1;this.emitBlock(["if (NULL != x",o>0?o.toString():"","->",a,")"],()=>{this.emitLine(b.items.cType," * x",R.toString()," = list_get_head(x",o>0?o.toString():"","->",a,");"),this.emitBlock(["while (NULL != x",R.toString(),")"],()=>{b.items.cjsonType==="cJSON_Array"?h.type instanceof n.ArrayType?(N(h.type.items,R),this.emitLine(b.items.deleteType,"(x",R.toString(),");")):(0,u.panic)("Invalid type"):b.items.cjsonType==="cJSON_Map"||b.items.cjsonType==="cJSON_Invalid"||b.items.cjsonType==="cJSON_NULL"||(b.items.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x",R.toString(),")"],()=>{this.emitLine(b.items.deleteType,"(x",R.toString(),");")}):this.emitLine(b.items.deleteType,"(x",R.toString(),");")),this.emitLine("x",R.toString()," = list_get_next(x",o>0?o.toString():"","->",a,");")}),this.emitLine(b.deleteType,"(x",o>0?o.toString():"","->",a,");")})}else if(b.cjsonType==="cJSON_Map"&&b.items!==void 0){const R=o+1;this.emitBlock(["if (NULL != x",o>0?o.toString():"","->",a,")"],()=>{this.emitLine("char **keys",R.toString()," = NULL;"),this.emitLine("size_t count",R.toString()," = hashtable_get_keys(x",o>0?o.toString():"","->",a,", &keys",R.toString(),");"),this.emitBlock(["if (NULL != keys",R.toString(),")"],()=>{this.emitBlock(["for (size_t index",R.toString()," = 0; index",R.toString()," < count",R.toString(),"; index",R.toString(),"++)"],()=>{this.emitLine(b.items.cType," *x",R.toString()," = hashtable_lookup(x",o>0?o.toString():"","->",a,", keys",R.toString(),"[index",R.toString(),"]);"),this.emitBlock(["if (NULL != x",R.toString(),")"],()=>{b.items.cjsonType==="cJSON_Array"?h.type instanceof n.MapType?(N(h.type.values,R),this.emitLine(b.items.deleteType,"(x",R.toString(),");")):(0,u.panic)("Invalid type"):b.items.cjsonType==="cJSON_Map"||b.items.cjsonType==="cJSON_Invalid"||b.items.cjsonType==="cJSON_NULL"||(b.items.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x",R.toString(),")"],()=>{this.emitLine(b.items.deleteType,"(x",R.toString(),");")}):this.emitLine(b.items.deleteType,"(x",R.toString(),");"))})}),this.emitLine("cJSON_free(keys",R.toString(),");")}),this.emitLine(b.deleteType,"(x",o>0?o.toString():"","->",a,");")})}else b.cjsonType==="cJSON_Invalid"||b.cjsonType==="cJSON_NULL"||(b.cjsonType==="cJSON_String"||b.cjsonType==="cJSON_Object"||b.cjsonType==="cJSON_Union"?this.emitBlock(["if (NULL != x",o>0?o.toString():"","->",a,")"],()=>{this.emitLine(b.deleteType,"(x",o>0?o.toString():"","->",a,");")}):(h.isOptional||b.isNullable)&&this.emitBlock(["if (NULL != x",o>0?o.toString():"","->",a,")"],()=>{this.emitLine(b.deleteType,"(x",o>0?o.toString():"","->",a,");")}))})};N(w,0),this.emitLine("cJSON_free(x);")})}),this.ensureBlankLine()}emitTopLevel(w,L,N){const p=this.sourcelikeToString(L).concat(".h");this.startFile(p),N.forEach(o=>{this.emitIncludeLine(o)}),this.ensureBlankLine(),this.emitTopLevelTypedef(w,L),this.emitTopLevelPrototypes(w,L),this.emitTopLevelFunctions(w,L),this.finishFile()}emitTopLevelTypedef(w,L){this.emitBlock(["struct ",L],()=>{const N=this.quicktypeTypeToCJSON(w,!1);this.emitLine(N.cType,N.optionalQualifier!==""?" ":"",N.optionalQualifier," value;")},"",!0),this.ensureBlankLine(),this.emitTypdefAlias(w,L)}emitTopLevelPrototypes(w,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(w,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 N=this.quicktypeTypeToCJSON(w,!1);N.cjsonType==="cJSON_Array"&&N.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=o=>{o.items.cjsonType==="cJSON_Array"||o.items.cjsonType==="cJSON_Map"||(o.items.cjsonType==="cJSON_Invalid"||o.items.cjsonType==="cJSON_NULL"?this.emitLine("list_add_tail(x->value, (",o.items.cType," *)0xDEADBEAF, sizeof(",o.items.cType," *));"):o.items.cjsonType==="cJSON_String"?this.emitLine("list_add_tail(x->value, strdup(",o.items.getValue,"(e)), sizeof(",o.items.cType," *));"):this.emitLine("list_add_tail(x->value, ",o.items.getValue,"(e), sizeof(",o.items.cType," *));"))};N.items.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e))"],()=>{p(N)}),this.emitBlock(["else"],()=>{this.emitLine("list_add_tail(x->value, (void *)0xDEADBEEF, sizeof(void *));")})):p(N)})})):N.cjsonType==="cJSON_Map"&&N.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=o=>{o.items.cjsonType==="cJSON_Array"||o.items.cjsonType==="cJSON_Map"||(o.items.cjsonType==="cJSON_Invalid"||o.items.cjsonType==="cJSON_NULL"?this.emitLine("hashtable_add(x->value, e->string, (",o.items.cType," *)0xDEADBEEF, sizeof(",o.items.cType," *));"):o.items.cjsonType==="cJSON_String"?this.emitLine("hashtable_add(x->value, e->string, strdup(",o.items.getValue,"(e)), sizeof(",o.items.cType," *));"):this.emitLine("hashtable_add(x->value, e->string, ",o.items.getValue,"(e), sizeof(",o.items.cType," *));"))};N.items.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e))"],()=>{p(N)}),this.emitBlock(["else"],()=>{this.emitLine("hashtable_add(x->value, e->string, (void *)0xDEADBEEF, sizeof(void *));")})):p(N)})})):N.cjsonType==="cJSON_Invalid"||(N.cjsonType==="cJSON_NULL"?this.emitLine("x->value = (",N.cType," *)0xDEADBEEF;"):N.cjsonType==="cJSON_String"?this.emitLine("x->value = strdup(",N.getValue,"(j));"):this.emitLine("x->value = ",N.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 N=this.quicktypeTypeToCJSON(w,!1);N.cjsonType==="cJSON_Array"&&N.items!==void 0?this.emitBlock(["if (NULL != x->value)"],()=>{this.emitLine("j = ",N.createObject,"();"),this.emitBlock(["if (NULL != j)"],()=>{this.emitLine(N.items.cType," * x1 = list_get_head(x->value);"),this.emitBlock(["while (NULL != x1)"],()=>{const p=o=>{o.items.cjsonType==="cJSON_Array"||o.items.cjsonType==="cJSON_Map"||o.items.cjsonType==="cJSON_Invalid"||(o.items.cjsonType==="cJSON_NULL"?this.emitLine("cJSON_AddItemToArray(j, ",o.items.createObject,"());"):o.items.cjsonType==="cJSON_String"||o.items.cjsonType==="cJSON_Object"||o.items.cjsonType==="cJSON_Union"?this.emitLine("cJSON_AddItemToArray(j, ",o.items.createObject,"(x1));"):this.emitLine("cJSON_AddItemToArray(j, ",o.items.createObject,"(*x1));"))};N.items.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x1)"],()=>{p(N)}),this.emitBlock(["else"],()=>{this.emitLine("cJSON_AddItemToArray(j, cJSON_CreateNull());")})):p(N),this.emitLine("x1 = list_get_next(x->value);")})})}):N.cjsonType==="cJSON_Map"&&N.items!==void 0?this.emitBlock(["if (NULL != x->value)"],()=>{this.emitLine("j = ",N.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(N.items.cType," *x2 = hashtable_lookup(x->value, keys[index]);");const p=o=>{o.items.cjsonType==="cJSON_Array"||o.items.cjsonType==="cJSON_Map"||o.items.cjsonType==="cJSON_Invalid"||(o.items.cjsonType==="cJSON_NULL"?this.emitLine(o.addToObject,"(j, keys[index], ",o.items.createObject,"());"):o.items.cjsonType==="cJSON_String"||o.items.cjsonType==="cJSON_Object"||o.items.cjsonType==="cJSON_Union"?this.emitLine(o.addToObject,"(j, keys[index], ",o.items.createObject,"(x2));"):this.emitLine(o.addToObject,"(j, keys[index], ",o.items.createObject,"(*x2));"))};N.items.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x2)"],()=>{p(N)}),this.emitBlock(["else"],()=>{this.emitLine(N.addToObject,"(j, keys[index], cJSON_CreateNull());")})):p(N)}),this.emitLine("cJSON_free(keys);")})})}):N.cjsonType==="cJSON_Invalid"||(N.cjsonType==="cJSON_NULL"?this.emitLine("j = ",N.createObject,"();"):this.emitLine("j = ",N.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 N=this.quicktypeTypeToCJSON(w,!1);N.cjsonType==="cJSON_Array"&&N.items!==void 0?this.emitBlock(["if (NULL != x->value)"],()=>{this.emitLine(N.items.cType," * x1 = list_get_head(x->value);"),this.emitBlock(["while (NULL != x1)"],()=>{N.items.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x1)"],()=>{this.emitLine(N.items.deleteType,"(x1);")}):this.emitLine(N.items.deleteType,"(x1);"),this.emitLine("x1 = list_get_next(x->value);")}),this.emitLine(N.deleteType,"(x->value);")}):N.cjsonType==="cJSON_Map"&&N.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(N.items.cType," *x2 = hashtable_lookup(x->value, keys[index]);"),this.emitBlock(["if (NULL != x2)"],()=>{N.items.isNullable?this.emitBlock(["if ((",N.items.cType," *)0xDEADBEEF != x2)"],()=>{this.emitLine(N.items.deleteType,"(x2);")}):this.emitLine(N.items.deleteType,"(x2);")})}),this.emitLine("cJSON_free(keys);")}),this.emitLine(N.deleteType,"(x->value);")}):N.cjsonType==="cJSON_Invalid"||N.cjsonType==="cJSON_NULL"||(N.cjsonType==="cJSON_String"||N.cjsonType==="cJSON_Object"||N.cjsonType==="cJSON_Union")&&this.emitLine(N.deleteType,"(x->value);"),this.emitLine("cJSON_free(x);")})}),this.ensureBlankLine()}quicktypeTypeToCJSON(w,L,N=!1){return(0,i.matchType)(w,p=>({cType:"void",optionalQualifier:"*",cjsonType:"cJSON_Invalid",isType:"cJSON_IsInvalid",getValue:"",addToObject:"",createObject:"",deleteType:"",items:void 0,isNullable:N}),p=>({cType:"void",optionalQualifier:"*",cjsonType:"cJSON_NULL",isType:"cJSON_IsNull",getValue:"",addToObject:"cJSON_AddNullToObject",createObject:"cJSON_CreateNull",deleteType:"cJSON_free",items:void 0,isNullable:N}),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:N}),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:N}),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:N}),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:N}),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:N}),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:N}),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:N}),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:N}),p=>{const o=(0,i.nullableFromUnion)(p);return o!==null?this.quicktypeTypeToCJSON(o,!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:N}})}startFile(w){(0,v.assert)(this.currentFilename===void 0,"Previous file wasn't finished"),w!==void 0&&(this.currentFilename=this.sourcelikeToString(w)),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,l.allUpperWordStyle)(this.currentFilename.replace(new RegExp(/[^a-zA-Z0-9]+/,"g"),"_")),"__"),this.emitLine("#define __",(0,l.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,l.allUpperWordStyle)(this.currentFilename.replace(new RegExp(/[^a-zA-Z0-9]+/,"g"),"_")),"__ */"),this.ensureBlankLine(),super.finishFile((0,u.defined)(this.currentFilename)),this.currentFilename=void 0)}get needsTypeDeclarationBeforeUse(){return!0}canBeForwardDeclared(w){return w.kind==="class"}withConst(w){return["const ",w]}emitIncludeLine(w,L=!1){this.emitLine("#include ",L?"<":'"',w,L?">":'"')}emitDescriptionBlock(w){this.emitCommentLines(w,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(w,L,N="",p=!1,o=!0){this.emitLine(w," {"),this.preventBlankLine(),o?this.indent(L):L(),this.preventBlankLine(),p?N!==""?this.emitLine("} ",N,";"):this.emitLine("};"):N!==""?this.emitLine("} ",N):this.emitLine("}")}emitIncludes(w,L){const N=new Map;w instanceof n.UnionType?this.updateIncludes(!1,N,w):w instanceof n.ClassType&&this.forEachClassProperty(w,"none",(p,o,a)=>{this.updateIncludes(!0,N,a.type)}),N.size!==0&&N.forEach((p,o)=>{o=o.concat(".h"),o!==L&&this.emitIncludeLine(o)}),this.ensureBlankLine()}updateIncludes(w,L,N){const p=this.generatedTypes(w,N);for(const o of p){const a=this.sourcelikeToString(o.name),d={kind:void 0,typeKind:void 0};if(o.type instanceof n.ClassType)d.typeKind="class",d.kind=o.level===0?B.Include:B.ForwardDeclare,o.forceInclude&&(d.kind=B.Include);else if(o.type instanceof n.EnumType)d.typeKind="enum",d.kind=B.ForwardDeclare;else if(o.type instanceof n.UnionType){d.typeKind="union";const[h]=(0,i.removeNullFromUnion)(o.type,!0);h!==void 0||o.forceInclude?d.kind=B.Include:d.kind=B.ForwardDeclare}if(L.has(a)){const h=L.get(a);h!==void 0&&h.kind===B.ForwardDeclare&&L.set(a,d)}else L.set(a,d)}}generatedTypes(w,L){const N=[],p=(o,a,d,h)=>{if(h instanceof n.ArrayType)p(o,a,d+1,h.items);else if(h instanceof n.ClassType)N.push({name:this.nameForNamedType(h),type:h,level:d,variant:a,forceInclude:o});else if(h instanceof n.MapType)p(o,a,d+1,h.values);else if(h instanceof n.EnumType)N.push({name:this.nameForNamedType(h),type:h,level:d,variant:a,forceInclude:!1});else if(h instanceof n.UnionType){this.unionNeedsName(h)&&w&&(o=!0,N.push({name:this.nameForNamedType(h),type:h,level:d,variant:!0,forceInclude:o}));const[b,R]=(0,i.removeNullFromUnion)(h);a=b!==null;for(const x of R)p(o,a,d+1,x)}};return p(!1,!1,0,L),N}}e.CJSONRenderer=F})(Tp);var Sp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CPlusPlusRenderer=e.MemberNames=e.GlobalNames=e.IncludeKind=e.CPlusPlusTargetLanguage=e.cPlusPlusOptions=void 0;const t=Je,n=St,i=rt(),r=tt(),l=qe,u=Ze,f=At,m=yt(),v=Ae,S=_t,C=at,D=Ae,_=Ro,E=nc,T=ys,P=["pascal-case","pascal"],I=["underscore-case","underscore"],M=["camel-case","camel"],H=["upper-underscore-case","upper-underscore"],Z=["pascal-case-upper-acronyms","pascal-upper-acronyms"],U=["camel-case-upper-acronyms","camel-upper-acronyms"];e.cPlusPlusOptions={typeSourceStyle:new C.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 C.EnumOption("include-location","Whether json.hpp is to be located globally or locally",[["local-include",!0],["global-include",!1]],"local-include","secondary"),codeFormat:new C.EnumOption("code-format","Generate classes with getters/setters, instead of structs",[["with-struct",!1],["with-getter-setter",!0]],"with-getter-setter"),wstring:new C.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 C.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 C.BooleanOption("just-types","Plain types only",!1),namespace:new C.StringOption("namespace","Name of the generated namespace(s)","NAME","quicktype"),enumType:new C.StringOption("enum-type","Type of enum class","NAME","int","secondary"),typeNamingStyle:new C.EnumOption("type-style","Naming style for types",[P,I,M,H,Z,U]),memberNamingStyle:new C.EnumOption("member-style","Naming style for members",[I,P,M,H,Z,U]),enumeratorNamingStyle:new C.EnumOption("enumerator-style","Naming style for enumerators",[H,I,P,M,Z,U]),boost:new C.BooleanOption("boost","Require a dependency on boost. Without boost, C++17 is required",!0),hideNullOptional:new C.BooleanOption("hide-null-optional","Hide null value for optional field",!1)};class B extends n.TargetLanguage{constructor(j="C++",W=["c++","cpp","cplusplus"],k="cpp"){super(j,W,k)}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(j,W){return new R(this,j,(0,C.getOptionValues)(e.cPlusPlusOptions,W))}}e.CPlusPlusTargetLanguage=B;function F(x){const j=(0,T.minMaxValueForType)(x),W=(0,T.minMaxLengthForType)(x),k=(0,T.patternForType)(x);if(!(j===void 0&&W===void 0&&k===void 0))return{minMax:j,minMaxLength:W,pattern:k}}const y=(0,m.legalizeCharacters)(x=>(0,m.isAscii)(x)&&(0,m.isLetterOrUnderscoreOrDigit)(x)),w=["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",N="std::make_shared";var p;(function(x){x[x.ForwardDeclare=0]="ForwardDeclare",x[x.Include=1]="Include"})(p=e.IncludeKind||(e.IncludeKind={}));var o;(function(x){x[x.ClassMemberConstraints=0]="ClassMemberConstraints",x[x.ClassMemberConstraintException=1]="ClassMemberConstraintException",x[x.ValueTooLowException=2]="ValueTooLowException",x[x.ValueTooHighException=3]="ValueTooHighException",x[x.ValueTooShortException=4]="ValueTooShortException",x[x.ValueTooLongException=5]="ValueTooLongException",x[x.InvalidPatternException=6]="InvalidPatternException",x[x.CheckConstraint=7]="CheckConstraint"})(o=e.GlobalNames||(e.GlobalNames={}));var a;(function(x){x[x.MinIntValue=0]="MinIntValue",x[x.GetMinIntValue=1]="GetMinIntValue",x[x.SetMinIntValue=2]="SetMinIntValue",x[x.MaxIntValue=3]="MaxIntValue",x[x.GetMaxIntValue=4]="GetMaxIntValue",x[x.SetMaxIntValue=5]="SetMaxIntValue",x[x.MinDoubleValue=6]="MinDoubleValue",x[x.GetMinDoubleValue=7]="GetMinDoubleValue",x[x.SetMinDoubleValue=8]="SetMinDoubleValue",x[x.MaxDoubleValue=9]="MaxDoubleValue",x[x.GetMaxDoubleValue=10]="GetMaxDoubleValue",x[x.SetMaxDoubleValue=11]="SetMaxDoubleValue",x[x.MinLength=12]="MinLength",x[x.GetMinLength=13]="GetMinLength",x[x.SetMinLength=14]="SetMinLength",x[x.MaxLength=15]="MaxLength",x[x.GetMaxLength=16]="GetMaxLength",x[x.SetMaxLength=17]="SetMaxLength",x[x.Pattern=18]="Pattern",x[x.GetPattern=19]="GetPattern",x[x.SetPattern=20]="SetPattern"})(a=e.MemberNames||(e.MemberNames={}));function d(x,j){return j.length===0?[]:[x,j]}class h{constructor(j,W){this.start=j,this.end=W}wrap(j,W){return[d(j,this.start),W,this.end]}}class b{constructor(j,W,k,O,V,te,ue,Y){this._stringType=j,this._constStringType=W,this._smatch=k,this._regex=O,this._stringLiteralPrefix=V,this._toString=te,this._encodingClass=ue,this._encodingFunction=Y}getType(){return this._stringType}getConstType(){return this._constStringType}getSMatch(){return this._smatch}getRegex(){return this._regex}createStringLiteral(j){return[this._stringLiteralPrefix,'"',j,'"']}wrapToString(j){return this._toString.wrap([],j)}}class R extends S.ConvenienceRenderer{constructor(j,W,k){super(j,W),this._options=k,this._gettersAndSettersForPropertyName=new Map,this.NarrowString=new class extends b{constructor(){super("std::string","const std::string & ","std::smatch","std::regex","",new h(["std::to_string("],[")"]),"","")}wrapEncodingChange(O,V,te,ue){return ue}emitHelperFunctions(){}},this.WideString=new class extends b{constructor(O){super("std::wstring","const std::wstring & ","std::wsmatch","std::wregex","L",new h(["std::to_wstring("],[")"]),"Utf16_Utf8","convert"),this.superThis=O}wrapEncodingChange(O,V,te,ue){return this.superThis.sourcelikeToString(V)===this.superThis.sourcelikeToString(te)?ue:[d(O,[this._encodingClass]),"<",V,", ",te,">::",this._encodingFunction,"(",ue,")"]}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=k.enumType,this._namespaceNames=k.namespace.split("::"),this.typeNamingStyle=k.typeNamingStyle,this._namedTypeNameStyle=(0,m.makeNameStyle)(this.typeNamingStyle,y),this.enumeratorNamingStyle=k.enumeratorNamingStyle,this._memberNameStyle=(0,m.makeNameStyle)(k.memberNamingStyle,y),this._memberNamingFunction=(0,l.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=[],k.wstring?this._stringType=this.WideString:this._stringType=this.NarrowString,k.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(j){return j.kind==="union"}isOptionalAsValuePossible(j){if(this.isForwardDeclaredType(j))return!1;if(this.isUnion(j)){const[,W]=(0,r.removeNullFromUnion)(j);if(W.size===1){const k=(0,v.defined)((0,t.iterableFirst)(W));return!this.isCycleBreakerType(k)}}return!this.isCycleBreakerType(j)}isImplicitCycleBreaker(j){const W=j.kind;return W==="array"||W==="map"}optionalTypeStack(){return this._optionalType}optionalFactoryStack(){return this._optionalFactory}optionalTypeHeap(){return L}optionalFactoryHeap(){return N}optionalType(j){return this.isOptionalAsValuePossible(j)?this.optionalTypeStack():this.optionalTypeHeap()}optionalTypeLabel(j){return this.isOptionalAsValuePossible(j)?"stack":"heap"}getConstraintMembers(){return[{name:a.MinIntValue,getter:a.GetMinIntValue,setter:a.SetMinIntValue,cppType:"int64_t"},{name:a.MaxIntValue,getter:a.GetMaxIntValue,setter:a.SetMaxIntValue,cppType:"int64_t"},{name:a.MinDoubleValue,getter:a.GetMinDoubleValue,setter:a.SetMinDoubleValue,cppType:"double"},{name:a.MaxDoubleValue,getter:a.GetMaxDoubleValue,setter:a.SetMaxDoubleValue,cppType:"double"},{name:a.MinLength,getter:a.GetMinLength,setter:a.SetMinLength,cppType:"size_t"},{name:a.MaxLength,getter:a.GetMaxLength,setter:a.SetMaxLength,cppType:"size_t"},{name:a.Pattern,getter:a.GetPattern,setter:a.SetPattern,cppType:this._stringType.getType(),cppConstType:this._stringType.getConstType()}]}lookupGlobalName(j){return(0,v.defined)(this._generatedGlobalNames.get(j))}lookupMemberName(j){return(0,v.defined)(this._generatedMemberNames.get(j))}addGlobalName(j){const W=this._namedTypeNameStyle(o[j]);this._generatedGlobalNames.set(j,W),this._forbiddenGlobalNames.push(W)}addMemberName(j){this._generatedMemberNames.set(j,this._memberNameStyle(a[j]))}setupGlobalNames(){for(const j of(0,v.numberEnumValues)(o))this.addGlobalName(j);for(const j of(0,v.numberEnumValues)(a))this.addMemberName(j)}forbiddenNamesForGlobalNamespace(){return[...w,...this._forbiddenGlobalNames]}forbiddenForObjectProperties(j,W){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(j,W){return{names:[],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return(0,l.funPrefixNamer)("types",this._namedTypeNameStyle)}namerForObjectProperty(){return this._memberNamingFunction}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return(0,l.funPrefixNamer)("enumerators",(0,m.makeNameStyle)(this.enumeratorNamingStyle,y))}makeNamesForPropertyGetterAndSetter(j,W,k,O,V){const te=new l.DependencyName(this._memberNamingFunction,V.order,$=>`get_${$(V)}`),ue=new l.DependencyName(this._memberNamingFunction,V.order,$=>`getMutable_${$(V)}`),Y=new l.DependencyName(this._memberNamingFunction,V.order,$=>`set_${$(V)}`);return[te,ue,Y]}makePropertyDependencyNames(j,W,k,O,V){const te=this.makeNamesForPropertyGetterAndSetter(j,W,k,O,V);return this._gettersAndSettersForPropertyName.set(V,te),te}withConst(j){return this._options.westConst?["const ",j]:[j," const"]}emitInclude(j,W){this.emitLine("#include ",j?"<":'"',W,j?">":'"')}startFile(j,W=!0){(0,D.assert)(this._currentFilename===void 0,"Previous file wasn't finished"),j!==void 0&&(this._currentFilename=this.sourcelikeToString(j)),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",(k,O)=>{this.emitLine("// ",O," data = nlohmann::json::parse(jsonString);")}):this.emitLine("// ",j," 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",(k,O)=>{this.emitLine("// std::wcout << ","wdump((nlohmann::json) ",O,");")}))),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,v.defined)(this._currentFilename)),this._currentFilename=void 0}get needsTypeDeclarationBeforeUse(){return!0}canBeForwardDeclared(j){return j.kind==="class"}emitDescriptionBlock(j){this.emitCommentLines(j,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(j,W,k,O=!0){this.emitLine(j," {"),this.preventBlankLine(),O?this.indent(k):k(),this.preventBlankLine(),W?this.emitLine("};"):this.emitLine("}")}emitNamespaces(j,W){const k=(0,t.toReadonlyArray)(j),O=k[0];O===void 0?W():this.emitBlock(["namespace ",O],!1,()=>this.emitNamespaces(k.slice(1),W),k.length===1)}cppTypeInOptional(j,W,k,O){if(j.size===1)return this.cppType((0,v.defined)((0,t.iterableFirst)(j)),W,k,O,!1);const V=[];for(const te of j)V.length!==0&&V.push(", "),V.push(this.cppType(te,{needsForwardIndirection:!0,needsOptionalIndirection:!1,inJsonNamespace:W.inJsonNamespace},k,!1,!1));return[this._variantType,"<",V,">"]}variantType(j,W){const[k,O]=(0,r.removeNullFromUnion)(j,!0);(0,D.assert)(O.size>=2,"Variant not needed for less than two types.");const V=k!==null,te=this.cppTypeInOptional(O,{needsForwardIndirection:!V,needsOptionalIndirection:!V,inJsonNamespace:W},!0,!1);return V?[this.optionalType(j),"<",te,">"]:te}ourQualifier(j){return j?[(0,t.arrayIntercalate)("::",this._namespaceNames),"::"]:[]}jsonQualifier(j){return j?[]:"nlohmann::"}variantIndirection(j,W,k){return W?[this.optionalType(j),"<",k,">"]:k}cppType(j,W,k,O,V){const te=W.inJsonNamespace;if(V&&j instanceof i.UnionType){for(const Y of j.getChildren())if(Y.isNullable){V=!1;break}}const ue=(0,r.matchType)(j,Y=>(V=!1,(0,u.maybeAnnotated)(k,f.anyTypeIssueAnnotation,[this.jsonQualifier(te),"json"])),Y=>(V=!1,(0,u.maybeAnnotated)(k,f.nullTypeIssueAnnotation,[this.jsonQualifier(te),"json"])),Y=>"bool",Y=>"int64_t",Y=>"double",Y=>O?"std::string":this._stringType.getType(),Y=>["std::vector<",this.cppType(Y.items,{needsForwardIndirection:!1,needsOptionalIndirection:!0,inJsonNamespace:te},k,O,!1),">"],Y=>this.variantIndirection(Y,W.needsForwardIndirection&&this.isForwardDeclaredType(Y)&&!V,[this.ourQualifier(te),this.nameForNamedType(Y)]),Y=>{let $=this._stringType.getType();return O&&($="std::string"),["std::map<",$,", ",this.cppType(Y.values,{needsForwardIndirection:!1,needsOptionalIndirection:!0,inJsonNamespace:te},k,O,!1),">"]},Y=>[this.ourQualifier(te),this.nameForNamedType(Y)],Y=>{const $=(0,r.nullableFromUnion)(Y);return $!==null?(V=!0,this.cppType($,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:te},k,O,!1)):[this.ourQualifier(te),this.nameForNamedType(Y)]});return V?[this.optionalType(j),"<",ue,">"]:ue}generatedTypes(j,W){const k=[],O=(V,te,ue,Y)=>{if(Y instanceof i.ArrayType)O(!0,te,ue+1,Y.items);else if(Y instanceof i.ClassType)k.push({name:this.nameForNamedType(Y),type:Y,level:ue,variant:te,forceInclude:V});else if(Y instanceof i.MapType)O(!0,te,ue+1,Y.values);else if(Y instanceof i.EnumType)k.push({name:this.nameForNamedType(Y),type:Y,level:ue,variant:te,forceInclude:!1});else if(Y instanceof i.UnionType){this.unionNeedsName(Y)&&j&&(V=!0,k.push({name:this.nameForNamedType(Y),type:Y,level:ue,variant:!0,forceInclude:V}));const[$,ae]=(0,r.removeNullFromUnion)(Y);te=$!==null;for(const pe of ae)O(V,te,ue+1,pe)}};return O(!1,!1,0,W),k}constraintMember(j){return this._memberNameStyle(`${j}Constraint`)}emitMember(j,W){this.emitLine(j," ",W,";")}emitClassMembers(j,W){this._options.codeFormat&&(this.emitLine("private:"),this.forEachClassProperty(j,"none",(k,O,V)=>{if(this.emitMember(this.cppType(V.type,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,V.isOptional),k),W?.has(O)){const te=this.lookupGlobalName(o.ClassMemberConstraints);this.emitMember(te,this.constraintMember(O))}}),this.ensureBlankLine(),this.emitLine("public:")),this.forEachClassProperty(j,"none",(k,O,V)=>{if(this.emitDescription(this.descriptionForClassProperty(j,O)),!this._options.codeFormat)this.emitMember(this.cppType(V.type,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,V.isOptional),k);else{const[te,ue,Y]=(0,v.defined)(this._gettersAndSettersForPropertyName.get(k)),$=this.cppType(V.type,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,V.isOptional),ae=this.lookupGlobalName(o.CheckConstraint);V.type instanceof i.UnionType&&V.type.findMember("null")!==void 0||V.isOptional&&V.type.kind!=="null"&&V.type.kind!=="any"?(this.emitLine($," ",te,"() const { return ",k,"; }"),W?.has(O)?this.emitLine("void ",Y,"(",$," value) { if (value) ",ae,"(",this._stringType.createStringLiteral([k]),", ",this.constraintMember(O),", *value); this->",k," = value; }"):this.emitLine("void ",Y,"(",$," value) { this->",k," = value; }")):(this.emitLine(this.withConst($)," & ",te,"() const { return ",k,"; }"),this.emitLine($," & ",ue,"() { return ",k,"; }"),W?.has(O)?this.emitLine("void ",Y,"(",this.withConst($)," & value) { ",ae,"(",this._stringType.createStringLiteral([k]),", ",this.constraintMember(O),", value); this->",k," = value; }"):this.emitLine("void ",Y,"(",this.withConst($)," & value) { this->",k," = value; }")),this.ensureBlankLine()}})}generateClassConstraints(j){const W=new Map;return this.forEachClassProperty(j,"none",(k,O,V)=>{const te=F(V.type);if(te===void 0)return;const{minMax:ue,minMaxLength:Y,pattern:$}=te,ae=this.cppType(V.type,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,V.isOptional);W.set(O,[this.constraintMember(O),"(",ue?.[0]&&ae==="int64_t"?String(ue[0]):this._nulloptType,", ",ue?.[1]&&ae==="int64_t"?String(ue[1]):this._nulloptType,", ",ue?.[0]&&ae==="double"?String(ue[0]):this._nulloptType,", ",ue?.[1]&&ae==="double"?String(ue[1]):this._nulloptType,", ",Y?.[0]?String(Y[0]):this._nulloptType,", ",Y?.[1]?String(Y[1]):this._nulloptType,", ",$===void 0?this._nulloptType:[this._stringType.getType(),"(",this._stringType.createStringLiteral([(0,m.stringEscape)($)]),")"],")"])}),W.size===0?void 0:W}emitClass(j,W){this.emitDescription(this.descriptionForType(j)),this.emitBlock([this._options.codeFormat?"class ":"struct ",W],!0,()=>{const k=this.generateClassConstraints(j);if(this._options.codeFormat){if(this.emitLine("public:"),k===void 0)this.emitLine(W,"() = default;");else{this.emitLine(W,"() :");let O=0;k.forEach((V,te)=>{O++,this.indent(()=>{O===k.size?this.emitLine(V):this.emitLine(V,",")})}),this.emitLine("{}")}this.emitLine("virtual ~",W,"() = default;"),this.ensureBlankLine()}this.emitClassMembers(j,k)})}emitTopLevelHeaders(j,W){if(j instanceof i.MapType&&this._stringType!==this.NarrowString){const k=this.ourQualifier(!0);this.emitBlock(["struct adl_serializer<",k,W,">"],!0,()=>{this.emitLine("template <>"),this.emitLine("static void from_json(",this.withConst("json")," & j, ",k,W," & x);"),this.emitLine("static void to_json(json & j, ",this.withConst([k,W])," & x);")})}}emitClassHeaders(j){const W=this.ourQualifier(!1);this.emitLine("void from_json(",this.withConst("json")," & j, ",W,j," & x);"),this.emitLine("void to_json(json & j, ",this.withConst([W,j])," & x);")}emitTopLevelFunction(j,W){if(j instanceof i.MapType&&this._stringType!==this.NarrowString){const k=this.ourQualifier(!0);let O,V;this.emitBlock(["inline void adl_serializer<",k,W,">::from_json(",this.withConst("json")," & j, ",k,W,"& x)"],!1,()=>{O=this.cppType(j,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1),V=this.cppType(j,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1),this.emitLine(["x = ",this._stringType.wrapEncodingChange([k],O,V,["j.get<",O,">()"]),";"])}),this.emitBlock(["inline void adl_serializer<",k,W,">::to_json(json & j, ",this.withConst([k,W])," & x)"],!1,()=>{O=this.cppType(j,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1),V=this.cppType(j,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1),this.emitLine(["j = ",this._stringType.wrapEncodingChange([k],O,V,"x"),";"])})}}emitClassFunctions(j,W){const k=this.ourQualifier(!1);let O,V;this.emitBlock(["inline void from_json(",this.withConst("json")," & j, ",k,W,"& x)"],!1,()=>{this.forEachClassProperty(j,"none",(te,ue,Y)=>{const[,,$]=(0,v.defined)(this._gettersAndSettersForPropertyName.get(te)),ae=Y.type;let pe;if(this._options.codeFormat?pe=new h(["x.",$,"("],[")"]):pe=new h(["x.",te," = "],[]),ae.kind==="null"||ae.kind==="any"){this.emitLine(pe.wrap([],[k,"get_untyped(j, ",this._stringType.wrapEncodingChange([k],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,m.stringEscape)(ue)])]),")"]),";");return}if(Y.isOptional||ae instanceof i.UnionType){const[Te,Ne]=function(){if(ae instanceof i.UnionType){const[ce,fe]=(0,r.removeNullFromUnion)(ae,!0);return[ce!==null||Y.isOptional,fe]}else{const ce=new Set;return ce.add(ae),[!0,ce]}}();if(Te){O=this.cppTypeInOptional(Ne,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!1},!1,!0),V=this.cppTypeInOptional(Ne,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!1},!1,!1),this.emitLine(pe.wrap([],[this._stringType.wrapEncodingChange([k],[this.optionalType(ae),"<",O,">"],[this.optionalType(ae),"<",V,">"],[k,`get_${this.optionalTypeLabel(ae)}_optional<`,O,">(j, ",this._stringType.wrapEncodingChange([k],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,m.stringEscape)(ue)])]),")"])]),";");return}}O=this.cppType(ae,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!1,!0,Y.isOptional),V=this.cppType(ae,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!1,!1,Y.isOptional),this.emitLine(pe.wrap([],this._stringType.wrapEncodingChange([k],O,V,["j.at(",this._stringType.wrapEncodingChange([k],this._stringType.getType(),this.NarrowString.getType(),this._stringType.createStringLiteral([(0,m.stringEscape)(ue)])),").get<",O,">()"])),";")})}),this.ensureBlankLine(),this.emitBlock(["inline void to_json(json & j, ",this.withConst([k,W])," & x)"],!1,()=>{this.emitLine("j = json::object();"),this.forEachClassProperty(j,"none",(te,ue,Y)=>{const $=Y.type;O=this.cppType($,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!1,!1,Y.isOptional),V=this.cppType($,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!1,!0,Y.isOptional);const[ae,,]=(0,v.defined)(this._gettersAndSettersForPropertyName.get(te));let pe;this._options.codeFormat?pe=[ae,"()"]:pe=[te];const Te=["j[",this._stringType.wrapEncodingChange([k],this._stringType.getType(),this.NarrowString.getType(),this._stringType.createStringLiteral([(0,m.stringEscape)(ue)])),"] = ",this._stringType.wrapEncodingChange([k],O,V,["x.",pe]),";"];Y.isOptional&&this._options.hideNullOptional?this.emitBlock(["if (",this._stringType.wrapEncodingChange([k],O,V,["x.",pe]),")"],!1,()=>{this.emitLine(Te)}):this.emitLine(Te)})})}emitEnum(j,W){const k=[],O=(0,E.enumCaseValues)(j,this.targetLanguage.name);this.forEachEnumCase(j,"none",(V,te)=>{if(k.length>0&&k.push(", "),k.push(V),O!==void 0){const[ue]=(0,_.getAccessorName)(O,te);ue!==void 0&&k.push(" = ",ue.toString())}}),this.emitDescription(this.descriptionForType(j)),this.emitLine("enum class ",W," : ",this._enumType," { ",k," };")}emitUnionTypedefs(j,W){this.emitLine("using ",W," = ",this.variantType(j,!1),";")}emitUnionHeaders(j){const W=(0,r.removeNullFromUnion)(j,!0)[1],k=this.cppTypeInOptional(W,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!0},!1,!1);this.emitLine("template <>"),this.emitBlock(["struct adl_serializer<",k,">"],!0,()=>{this.emitLine("static void from_json(",this.withConst("json")," & j, ",k," & x);"),this.emitLine("static void to_json(json & j, ",this.withConst(k)," & x);")})}emitUnionFunctions(j){const W=this.ourQualifier(!0),k=[["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"]],O=(0,r.removeNullFromUnion)(j,!0)[1],V=this.cppTypeInOptional(O,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!0},!1,!1);this.emitBlock(["inline void adl_serializer<",V,">::from_json(",this.withConst("json")," & j, ",V," & x)"],!1,()=>{let te=!0;for(const[ue,Y]of k){const $=(0,t.iterableFind)(O,ae=>ae.kind===ue);$!==void 0&&(this.emitLine(te?"if":"else if"," (j.",Y,"())"),this.indent(()=>{const ae=this.cppType($,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1),pe=this.cppType($,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1);this.emitLine("x = ",this._stringType.wrapEncodingChange([W],ae,pe,["j.get<",ae,">()"]),";")}),te=!1)}this.emitLine('else throw std::runtime_error("Could not deserialise!");')}),this.ensureBlankLine(),this.emitBlock(["inline void adl_serializer<",V,">::to_json(json & j, ",this.withConst(V)," & x)"],!1,()=>{this.emitBlock(["switch (x.",this._variantIndexMethodName,"())"],!1,()=>{let te=0;for(const ue of O)this.emitLine("case ",te.toString(),":"),this.indent(()=>{const Y=this.cppType(ue,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1),$=this.cppType(ue,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1);this.emitLine("j = ",this._stringType.wrapEncodingChange([W],Y,$,[this._options.boost?"boost::get<":"std::get<",Y,">(x)"]),";"),this.emitLine("break;")}),te++;this.emitLine('default: throw std::runtime_error("Input JSON does not conform to schema!");')})})}emitEnumHeaders(j){const W=this.ourQualifier(!1);this.emitLine("void from_json(",this.withConst("json")," & j, ",W,j," & x);"),this.emitLine("void to_json(json & j, ",this.withConst([W,j])," & x);")}isLargeEnum(j){return j.cases.size>15}emitEnumFunctions(j,W){const k=this.ourQualifier(!1);this.emitBlock(["inline void from_json(",this.withConst("json")," & j, ",k,W," & x)"],!1,()=>{if(this.isLargeEnum(j))this.emitBlock(["static std::unordered_map<",this._stringType.getType(),", ",k,W,"> enumValues"],!0,()=>{this.forEachEnumCase(j,"none",(O,V)=>{this.emitLine("{",this._stringType.wrapEncodingChange([k],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,m.stringEscape)(V)])]),", ",k,W,"::",O,"},")})}),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 O=!0;this.forEachEnumCase(j,"none",(V,te)=>{const ue=O?"":"else ";this.emitLine(ue,"if (j == ",this._stringType.wrapEncodingChange([k],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,m.stringEscape)(te)])]),") x = ",k,W,"::",V,";"),O=!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([k,W])," & x)"],!1,()=>{this.emitBlock("switch (x)",!1,()=>{this.forEachEnumCase(j,"none",(O,V)=>{this.emitLine("case ",k,W,"::",O,": j = ",this._stringType.wrapEncodingChange([k],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,m.stringEscape)(V)])]),"; break;")}),this.emitLine(`default: throw std::runtime_error("Unexpected value in enumeration \\"${W}\\": " + std::to_string(static_cast<int>(x)));`)})})}emitTopLevelTypedef(j,W){this.emitLine("using ",W," = ",this.cppType(j,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,!1),";")}emitAllUnionFunctions(){this.forEachUniqueUnion("leading-and-interposing",j=>this.sourcelikeToString(this.cppTypeInOptional((0,r.removeNullFromUnion)(j,!0)[1],{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!0},!1,!1)),j=>this.emitUnionFunctions(j))}emitAllUnionHeaders(){this.forEachUniqueUnion("interposing",j=>this.sourcelikeToString(this.cppTypeInOptional((0,r.removeNullFromUnion)(j,!0)[1],{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!0},!1,!1)),j=>this.emitUnionHeaders(j))}emitOptionalHelpers(){this.emitLine("#ifndef NLOHMANN_OPT_HELPER"),this.emitLine("#define NLOHMANN_OPT_HELPER"),this.emitNamespaces(["nlohmann"],()=>{const j=(W,k)=>{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 ${k}<T>(); else return ${k}<T>(j.get<T>());`)})})};j(this.optionalTypeHeap(),this.optionalFactoryHeap()),j(this.optionalTypeStack(),this.optionalFactoryStack())}),this.emitLine("#endif")}emitDeclaration(j){if(j.kind==="forward")this._options.codeFormat?this.emitLine("class ",this.nameForNamedType(j.type),";"):this.emitLine("struct ",this.nameForNamedType(j.type),";");else if(j.kind==="define"){const W=j.type,k=this.nameForNamedType(W);W instanceof i.ClassType?this.emitClass(W,k):W instanceof i.EnumType?this.emitEnum(W,k):W instanceof i.UnionType?this.emitUnionTypedefs(W,k):(0,v.panic)(`Cannot declare type ${W.kind}`)}else(0,v.assertNever)(j.kind)}emitGetterSetter(j,W,k,O){this.emitLine("void ",k,"(",j," ",O,") { this->",O," = ",O,"; }"),this.emitLine("auto ",W,"() const { return ",O,"; }")}emitNumericCheckConstraints(j,W,k,O,V){this.emitBlock(["inline void ",j,"(",this._stringType.getConstType()," name, ",this.withConst(W)," & c, ",V," value)"],!1,()=>{this.emitBlock(["if (c.",k,"() != ",this._nulloptType," && value < *c.",k,"())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(o.ValueTooLowException)," (",this._stringType.createStringLiteral(["Value too low for "])," + name + ",this._stringType.createStringLiteral([" ("])," + ",this._stringType.wrapToString(["value"])," + ",this._stringType.createStringLiteral(["<"])," + ",this._stringType.wrapToString(["*c.",k,"()"])," + ",this._stringType.createStringLiteral([")"]),");")}),this.ensureBlankLine(),this.emitBlock(["if (c.",O,"() != ",this._nulloptType," && value > *c.",O,"())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(o.ValueTooHighException)," (",this._stringType.createStringLiteral(["Value too high for "])," + name + ",this._stringType.createStringLiteral([" ("])," + ",this._stringType.wrapToString(["value"])," + ",this._stringType.createStringLiteral([">"])," + ",this._stringType.wrapToString(["*c.",O,"()"])," + ",this._stringType.createStringLiteral([")"]),");")}),this.ensureBlankLine()}),this.ensureBlankLine()}emitConstraintClasses(){const j=this.ourQualifier(!1),W=this.lookupMemberName(a.GetMinIntValue),k=this.lookupMemberName(a.GetMaxIntValue),O=this.lookupMemberName(a.GetMinDoubleValue),V=this.lookupMemberName(a.GetMaxDoubleValue),te=this.lookupMemberName(a.GetMinLength),ue=this.lookupMemberName(a.GetMaxLength),Y=this.lookupMemberName(a.GetPattern),$=this.lookupGlobalName(o.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:le},X)=>{const z=X==="first"||X==="middle"?",":[];this.emitLine(this._optionalType,"<",le,"> ",this.lookupMemberName(fe),z)})});const ce=Ne.map(({name:fe})=>{const le=this.lookupMemberName(fe);return[le,"(",le,")"]});this.emitLine(") : ",(0,t.arrayIntercalate)([", "],ce)," {}"),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 ae=this.lookupGlobalName(o.ClassMemberConstraintException);this.emitBlock(["class ",ae," : public std::runtime_error"],!0,()=>{this.emitLine("public:"),this.emitLine(ae,"(",this._stringType.getConstType()," msg) : std::runtime_error(",this._stringType.wrapEncodingChange([j],this._stringType.getType(),this.NarrowString.getType(),["msg"]),") {}")}),this.ensureBlankLine();const pe=[o.ValueTooLowException,o.ValueTooHighException,o.ValueTooShortException,o.ValueTooLongException,o.InvalidPatternException];for(const Ne of pe){const ce=this.lookupGlobalName(Ne);this.emitBlock(["class ",ce," : public ",ae],!0,()=>{this.emitLine("public:"),this.emitLine(ce,"(",this._stringType.getConstType()," msg) : ",ae,"(msg) {}")}),this.ensureBlankLine()}const Te=this.lookupGlobalName(o.CheckConstraint);this.emitNumericCheckConstraints(Te,$,W,k,"int64_t"),this.emitNumericCheckConstraints(Te,$,O,V,"double"),this.emitBlock(["inline void ",Te,"(",this._stringType.getConstType()," name, ",this.withConst($)," & c, ",this._stringType.getConstType()," value)"],!1,()=>{this.emitBlock(["if (c.",te,"() != ",this._nulloptType," && value.length() < *c.",te,"())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(o.ValueTooShortException)," (",this._stringType.createStringLiteral(["Value too short for "])," + name + ",this._stringType.createStringLiteral([" ("])," + ",this._stringType.wrapToString(["value.length()"])," + ",this._stringType.createStringLiteral(["<"])," + ",this._stringType.wrapToString(["*c.",te,"()"])," + ",this._stringType.createStringLiteral([")"]),");")}),this.ensureBlankLine(),this.emitBlock(["if (c.",ue,"() != ",this._nulloptType," && value.length() > *c.",ue,"())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(o.ValueTooLongException)," (",this._stringType.createStringLiteral(["Value too long for "])," + name + ",this._stringType.createStringLiteral([" ("])," + ",this._stringType.wrapToString(["value.length()"])," + ",this._stringType.createStringLiteral([">"])," + ",this._stringType.wrapToString(["*c.",ue,"()"])," + ",this._stringType.createStringLiteral([")"]),");")}),this.ensureBlankLine(),this.emitBlock(["if (c.",Y,"() != ",this._nulloptType,")"],!1,()=>{this.emitLine(this._stringType.getSMatch()," result;"),this.emitLine("std::regex_search(value, result, ",this._stringType.getRegex(),"( *c.",Y,"() ));"),this.emitBlock(["if (result.empty())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(o.InvalidPatternException)," (",this._stringType.createStringLiteral(["Value doesn't match pattern for "])," + name + ",this._stringType.createStringLiteral([" ("])," + value +",this._stringType.createStringLiteral([" != "])," + *c.",Y,"() + ",this._stringType.createStringLiteral([")"]),");")})}),this.ensureBlankLine()})}emitHelperFunctions(){this._stringType.emitHelperFunctions(),this._options.codeFormat&&(0,t.iterableSome)(this.typeGraph.allTypesUnordered(),k=>F(k)!==void 0)&&(this.emitConstraintClasses(),this.ensureBlankLine()),this.ensureBlankLine();let j="NLOHMANN_UNTYPED_",W="NLOHMANN_OPTIONAL_";if(this._namespaceNames.forEach(k=>{j+=k,j+="_",W+=k,W+="_"}),j+="HELPER",W+="HELPER",this.emitLine(`#ifndef ${j}`),this.emitLine(`#define ${j}`),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 k=(O,V)=>{this.emitLine("template <typename T>"),this.emitBlock(["inline ",O,`<T> get_${V}_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<",O,"<T>>();")}),this.emitLine("return ",O,"<T>();")}),this.ensureBlankLine(),this.emitLine("template <typename T>"),this.emitBlock(["inline ",O,`<T> get_${V}_optional(`,this.withConst("json")," & j, std::string property)"],!1,()=>{this.emitLine(`return get_${V}_optional<T>(j, property.data());`)})};k(this.optionalTypeHeap(),"heap"),k(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(j=>this.isLargeEnum(j))&&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",j=>this.emitDeclaration(j)),!this._options.justTypes&&this.forEachTopLevel("leading",(j,W)=>this.emitTopLevelTypedef(j,W),j=>this.namedTypeToNameForTopLevel(j)===void 0)}gatherUserNamespaceForwardDecls(){return this.gatherSource(()=>{this.forEachObject("leading-and-interposing",(j,W)=>this.emitClassHeaders(W)),this.forEachEnum("leading-and-interposing",(j,W)=>this.emitEnumHeaders(W))})}gatherNlohmannNamespaceForwardDecls(){return this.gatherSource(()=>{this.forEachTopLevel("leading-and-interposing",(j,W)=>this.emitTopLevelHeaders(j,W)),this.ensureBlankLine(),this.emitAllUnionHeaders()})}emitUserNamespaceImpls(){this.forEachObject("leading-and-interposing",(j,W)=>this.emitClassFunctions(j,W)),this.forEachEnum("leading-and-interposing",(j,W)=>this.emitEnumFunctions(j,W))}emitNlohmannNamespaceImpls(){this.forEachTopLevel("leading-and-interposing",(j,W)=>this.emitTopLevelFunction(j,W),j=>this.namedTypeToNameForTopLevel(j)===void 0),this.ensureBlankLine(),this.emitAllUnionFunctions()}emitGenerators(){if(this._options.justTypes){let j=!1;const W=this.gatherSource(()=>this.emitNamespaces(this._namespaceNames,()=>{j=this.forEachTopLevel("none",(k,O)=>this.emitTopLevelTypedef(k,O),k=>this.namedTypeToNameForTopLevel(k)===void 0)}));j&&(this.emitGatheredSource(W),this.ensureBlankLine())}else{const j=this.gatherUserNamespaceForwardDecls(),W=this.gatherNlohmannNamespaceForwardDecls();j.length===0&&W.length>0?this.emitNamespaces(["nlohmann"],()=>{this.emitGatheredSource(W),this.emitNlohmannNamespaceImpls()}):j.length>0&&W.length===0?this.emitNamespaces(this._namespaceNames,()=>{this.emitGatheredSource(j),this.emitUserNamespaceImpls()}):j.length>0&&W.length>0&&(this.emitNamespaces(this._namespaceNames,()=>{this.emitGatheredSource(j)}),this.emitNamespaces(["nlohmann"],()=>{this.emitGatheredSource(W)}),this.emitNamespaces(this._namespaceNames,()=>{this.emitUserNamespaceImpls()}),this.emitNamespaces(["nlohmann"],()=>{this.emitNlohmannNamespaceImpls()}))}}emitSingleSourceStructure(j){this.startFile(j),this._generatedFiles.add(j),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(j,W,k,O){const V=this.generatedTypes(j,k);for(const te of V){const ue=this.sourcelikeToString(te.name),Y={kind:void 0,typeKind:void 0};if(te.type instanceof i.ClassType)Y.typeKind="class",Y.kind=te.level===0?p.Include:p.ForwardDeclare,te.forceInclude&&(Y.kind=p.Include);else if(te.type instanceof i.EnumType)Y.typeKind="enum",Y.kind=p.ForwardDeclare;else if(te.type instanceof i.UnionType){Y.typeKind="union";const[$]=(0,r.removeNullFromUnion)(te.type,!0);$!==void 0||te.forceInclude?Y.kind=p.Include:Y.kind=p.ForwardDeclare}if(W.has(ue)){const $=W.get(ue);$!==void 0&&$.kind===p.ForwardDeclare&&W.set(ue,Y)}else W.set(ue,Y)}}emitIncludes(j,W){const k=new Map;if(j instanceof i.UnionType?this.updateIncludes(!1,k,j,W):j instanceof i.ClassType&&this.forEachClassProperty(j,"none",(O,V,te)=>{this.updateIncludes(!0,k,te.type,W)}),k.size!==0){let O=0,V=0;k.forEach((te,ue)=>{ue!==W&&(te.kind!==p.ForwardDeclare?(this.emitInclude(!1,[ue,".hpp"]),V++):O++)}),V>0&&this.ensureBlankLine(),O>0&&this.emitNamespaces(this._namespaceNames,()=>{k.forEach((te,ue)=>{ue!==W&&te.kind===p.ForwardDeclare&&(te.typeKind==="class"||te.typeKind==="union"?this._options.codeFormat?this.emitLine("class ",ue,";"):this.emitLine("struct ",ue,";"):te.typeKind==="enum"?this.emitLine("enum class ",ue," : ",this._enumType,";"):(0,v.panic)(`Invalid type "${te.typeKind}" to forward declare`))})}),this.ensureBlankLine()}}emitDefinition(j,W){const k=`${this.sourcelikeToString(W)}.hpp`;this.startFile(k,!0),this._generatedFiles.add(k),this.emitIncludes(j,this.sourcelikeToString(W)),this.emitNamespaces(this._namespaceNames,()=>{this.emitDescription(this.descriptionForType(j)),this.ensureBlankLine(),this.emitLine("using nlohmann::json;"),this.ensureBlankLine(),j instanceof i.ClassType?this.emitClass(j,W):j instanceof i.EnumType?this.emitEnum(j,W):j instanceof i.UnionType&&this.emitUnionTypedefs(j,W)}),this.finishFile()}emitMultiSourceStructure(j){!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,k)=>{this.emitDefinition(W,k)},(W,k)=>{this.emitDefinition(W,k)},(W,k)=>{this.emitDefinition(W,k)}),this._generatedFiles.has(j)||(this.haveNamedTypes||this.emitHelper(),this.startFile(j),this._generatedFiles.forEach(W=>{this.emitInclude(!1,W)}),this.emitNamespaces(this._namespaceNames,()=>{this.forEachTopLevel("leading",(W,k)=>this.emitTopLevelTypedef(W,k),W=>this.namedTypeToNameForTopLevel(W)===void 0)}),this.finishFile())}emitSourceStructure(j){this._generatedFiles.clear(),this._allTypeNames.clear(),this.forEachDeclaration("none",W=>{const k=(0,r.directlyReachableTypes)(W.type,O=>(0,r.isNamedType)(O)&&(O instanceof i.ClassType||O instanceof i.EnumType||O instanceof i.UnionType)?new Set([this.sourcelikeToString(this.cppType(O,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!1},!0,!1,!1))]):null);this._allTypeNames=(0,t.setUnion)(k,this._allTypeNames)}),this._options.typeSourceStyle?this.emitSingleSourceStructure(j):this.emitMultiSourceStructure(j)}isConversionRequired(j){const W=this.cppType(j,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1),k=this.cppType(j,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1);return W!==k}}e.CPlusPlusRenderer=R})(Sp);var vp={};(function(e){var t=Fe&&Fe.__importDefault||function(N){return N&&N.__esModule?N:{default:N}};Object.defineProperty(e,"__esModule",{value:!0}),e.ObjectiveCRenderer=e.ObjectiveCTargetLanguage=e.objcOptions=void 0;const n=Je,i=St,r=rt(),l=tt(),u=qe,f=Ze,m=yt(),v=_t,S=at,C=Ae,D=t(Wa),_="QT";e.objcOptions={features:new S.EnumOption("features","Interface and implementation",[["all",{interface:!0,implementation:!0}],["interface",{interface:!0,implementation:!1}],["implementation",{interface:!1,implementation:!0}]]),justTypes:new S.BooleanOption("just-types","Plain types only",!1),marshallingFunctions:new S.BooleanOption("functions","C-style functions",!1),classPrefix:new S.StringOption("class-prefix","Class prefix","PREFIX",_),extraComments:new S.BooleanOption("extra-comments","Extra comments",!1)};class E extends i.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(p,o){return new L(this,p,(0,S.getOptionValues)(e.objcOptions,o))}}e.ObjectiveCTargetLanguage=E;function T(N,p){const o=(0,m.splitIntoWords)(p),a=(0,m.combineWords)(o,B,m.firstUpperWordStyle,m.firstUpperWordStyle,m.allUpperWordStyle,m.allUpperWordStyle,"",Z);return(0,m.addPrefixIfNecessary)(N,a)}function P(N,p=!1){N==="id"&&(N="identifier");let o=(0,m.splitIntoWords)(N);return p&&(o.length===0?o=[{word:"flag",isAcronym:!1}]:!o[0].isAcronym&&H.indexOf(o[0].word)<0&&(o=[{word:"is",isAcronym:!1},...o])),o.length>0&&M.indexOf(o[0].word)>=0&&(o=[{word:"the",isAcronym:!1},...o]),(0,m.combineWords)(o,B,m.allLowerWordStyle,m.firstUpperWordStyle,m.allLowerWordStyle,m.allUpperWordStyle,"",Z)}const I=["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"],M=["id","hash","description","init","copy","mutableCopy","superclass","debugDescription","new"],H=["is","are","were","was","will","all","some","many","has","have","had","does","do","requires","require","needs","need"];function Z(N){return D.default.isAlphabetic(N)||N===95}function U(N){const p=D.default.getCategory(N);return["Nd","Pc","Mn","Mc"].indexOf(p)>=0||Z(N)}const B=(0,m.utf16LegalizeCharacters)(U),F="values",y=["new",F];function w(N){const p=N.lastIndexOf("."),o=p!==-1?N.split(".").pop():"m";return N=p!==-1?N.slice(0,p):N,[N,o===void 0?"m":o]}class L extends v.ConvenienceRenderer{constructor(p,o,a){if(super(p,o),this._options=a,a.classPrefix===_){const d=(0,C.defined)((0,n.iterableFirst)(this.topLevels.keys()));this._classPrefix=this.inferClassPrefix(d)}else this._classPrefix=a.classPrefix}inferClassPrefix(p){const o=p.length;let a=0;for(;a<o&&(0,m.fastIsUpperCase)(p.charCodeAt(a));)a+=1;return a<2?_:p.slice(0,a-1)}forbiddenNamesForGlobalNamespace(){return I}forbiddenForObjectProperties(p,o){return{names:M,includeGlobalForbidden:!0}}forbiddenForEnumCases(p,o){return{names:y,includeGlobalForbidden:!0}}makeNamedTypeNamer(){return(0,u.funPrefixNamer)("types",p=>T(this._classPrefix,p))}namerForObjectProperty(p,o){return new u.Namer("properties",a=>P(a,o.type.kind==="bool"),["_","the","one","some","another"])}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return new u.Namer("enum-cases",P,[])}namedTypeToNameForTopLevel(p){return p}emitDescriptionBlock(p){this.emitCommentLines(p,{lineStart:"/// "})}emitBlock(p,o){this.emitLine(p," {"),this.indent(o),this.emitLine("}")}emitMethod(p,o){this.emitLine(p),this.emitLine("{"),this.indent(o),this.emitLine("}")}emitExtraComments(...p){if(this._options.extraComments)for(const o of p)this.emitLine("// ",o)}startFile(p,o){(0,C.assert)(this._currentFilename===void 0,"Previous file wasn't finished"),this._currentFilename=`${this.sourcelikeToString(p)}.${o}`}finishFile(){super.finishFile((0,C.defined)(this._currentFilename)),this._currentFilename=void 0}memoryAttribute(p,o){return(0,l.matchType)(p,a=>"copy",a=>"copy",a=>o?"strong":"assign",a=>o?"strong":"assign",a=>o?"strong":"assign",a=>"copy",a=>"copy",a=>"strong",a=>"copy",a=>"assign",a=>{const d=(0,l.nullableFromUnion)(a);return d!==null?this.memoryAttribute(d,!0):"copy"})}objcType(p,o=!1){return(0,l.matchType)(p,a=>["id",""],a=>["id",""],a=>o?["NSNumber"," *"]:["BOOL",""],a=>o?["NSNumber"," *"]:["NSInteger",""],a=>o?["NSNumber"," *"]:["double",""],a=>["NSString"," *"],a=>{const d=a.items,h=this.objcType(d,!0);return(0,l.isAnyOrNull)(d)?["NSArray"," *"]:[["NSArray<",h,">"]," *"]},a=>[this.nameForNamedType(a)," *"],a=>[["NSDictionary<NSString *, ",this.objcType(a.values,!0),">"]," *"],a=>[this.nameForNamedType(a)," *"],a=>{const d=(0,l.nullableFromUnion)(a);return d!==null?this.objcType(d,!0):["id",""]})}jsonType(p){return(0,l.matchType)(p,o=>["id",""],o=>["id",""],o=>["NSNumber"," *"],o=>["NSNumber"," *"],o=>["NSNumber"," *"],o=>["NSString"," *"],o=>["NSArray"," *"],o=>["NSDictionary<NSString *, id>"," *"],o=>[["NSDictionary<NSString *, ",this.jsonType(o.values),">"]," *"],o=>["NSString"," *"],o=>{const a=(0,l.nullableFromUnion)(o);return a!==null?this.jsonType(a):["id",""]})}fromDynamicExpression(p,...o){return(0,l.matchType)(p,a=>o,a=>o,a=>o,a=>o,a=>o,a=>o,a=>["map(",o,", λ(id x, ",this.fromDynamicExpression(a.items,"x"),"))"],a=>["[",this.nameForNamedType(a)," fromJSONDictionary:",o,"]"],a=>["map(",o,", λ(id x, ",this.fromDynamicExpression(a.values,"x"),"))"],a=>["[",this.nameForNamedType(a)," withValue:",o,"]"],a=>{const d=(0,l.nullableFromUnion)(a);return d!==null?this.fromDynamicExpression(d,o):o})}toDynamicExpression(p,o){return(0,l.matchType)(p,a=>["NSNullify(",o,")"],a=>["NSNullify(",o,")"],a=>[o," ? @YES : @NO"],a=>o,a=>o,a=>o,a=>this.implicitlyConvertsFromJSON(a)?o:["map(",o,", λ(id x, ",this.toDynamicExpression(a.items,"x"),"))"],a=>["[",o," JSONDictionary]"],a=>this.implicitlyConvertsFromJSON(a)?o:["map(",o,", λ(id x, ",this.toDynamicExpression(a.values,"x"),"))"],a=>["[",o," value]"],a=>{const d=(0,l.nullableFromUnion)(a);return d!==null?this.implicitlyConvertsFromJSON(d)?["NSNullify(",o,")"]:["NSNullify(",this.toDynamicExpression(d,o),")"]:o})}implicitlyConvertsFromJSON(p){if(p instanceof r.ClassType)return!1;if(p instanceof r.EnumType)return!1;if(p instanceof r.ArrayType)return this.implicitlyConvertsFromJSON(p.items);if(p instanceof r.MapType)return this.implicitlyConvertsFromJSON(p.values);if(p.isPrimitive())return!0;if(p instanceof r.UnionType){const o=(0,l.nullableFromUnion)(p);return o!==null?this.implicitlyConvertsFromJSON(o):!0}else return!1}implicitlyConvertsToJSON(p){return this.implicitlyConvertsFromJSON(p)&&p.kind!=="bool"}emitPropertyAssignment(p,o,a){const d=["_",p];(0,l.matchType)(a,h=>this.emitLine(d," = ",this.fromDynamicExpression(h,d),";"),h=>this.emitLine(d," = ",this.fromDynamicExpression(h,d),";"),h=>this.emitLine(d," = ",this.fromDynamicExpression(h,d),";"),h=>this.emitLine(d," = ",this.fromDynamicExpression(h,d),";"),h=>this.emitLine(d," = ",this.fromDynamicExpression(h,d),";"),h=>this.emitLine(d," = ",this.fromDynamicExpression(h,d),";"),h=>this.emitLine(d," = ",this.fromDynamicExpression(h,d),";"),h=>this.emitLine(d," = ",this.fromDynamicExpression(h,["(id)",d]),";"),h=>{const b=h.values;this.emitLine(d," = map(",d,", ",["λ(id x, ",this.fromDynamicExpression(b,"x"),")"],");")},h=>this.emitLine(d," = ",this.fromDynamicExpression(h,["(id)",d]),";"),h=>{const b=(0,l.nullableFromUnion)(h);b!==null?this.emitPropertyAssignment(p,o,b):this.emitLine(d," = ",this.fromDynamicExpression(h,d),";")})}emitPrivateClassInterface(p,o){this.emitLine("@interface ",o," (JSONConversion)"),this.emitLine("+ (instancetype)fromJSONDictionary:(NSDictionary *)dict;"),this.emitLine("- (NSDictionary *)JSONDictionary;"),this.emitLine("@end")}pointerAwareTypeName(p){const o=p instanceof r.Type?this.objcType(p):p;return o[1]!==""?o:[o," "]}emitNonClassTopLevelTypedef(p,o){let a=this.objcType(p)[0];this.emitLine("typedef ",a," ",o,";")}topLevelFromDataPrototype(p){return[p," *_Nullable ",p,"FromData(NSData *data, NSError **error)"]}topLevelFromJSONPrototype(p){return[p," *_Nullable ",p,"FromJSON(NSString *json, NSStringEncoding encoding, NSError **error)"]}topLevelToDataPrototype(p,o=!1){const a=this.variableNameForTopLevel(p);return["NSData",o?(0,m.repeatString)(" ",this.sourcelikeToString(p).length-6):""," *_Nullable ",p,"ToData(",p," *",a,", NSError **error)"]}topLevelToJSONPrototype(p,o=!1){const a=this.variableNameForTopLevel(p);return["NSString",o?(0,m.repeatString)(" ",this.sourcelikeToString(p).length-8):""," *_Nullable ",p,"ToJSON(",p," *",a,", NSStringEncoding encoding, NSError **error)"]}emitTopLevelFunctionDeclarations(p,o){this.emitLine(this.topLevelFromDataPrototype(o),";"),this.emitLine(this.topLevelFromJSONPrototype(o),";"),this.emitLine(this.topLevelToDataPrototype(o,!0),";"),this.emitLine(this.topLevelToJSONPrototype(o,!0),";")}emitTryCatchAsError(p,o){this.emitLine("@try {"),this.indent(p),this.emitLine("} @catch (NSException *exception) {"),this.indent(()=>{this.emitLine('*error = [NSError errorWithDomain:@"JSONSerialization" code:-1 userInfo:@{ @"exception": exception }];'),o()}),this.emitLine("}")}emitTopLevelFunctions(p,o){const a=this.variableNameForTopLevel(o);this.ensureBlankLine(),this.emitMethod(this.topLevelFromDataPrototype(o),()=>{this.emitTryCatchAsError(()=>{this.emitLine("id json = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:error];"),this.emitLine("return *error ? nil : ",this.fromDynamicExpression(p,"json"),";")},()=>this.emitLine("return nil;"))}),this.ensureBlankLine(),this.emitMethod(this.topLevelFromJSONPrototype(o),()=>{this.emitLine("return ",o,"FromData([json dataUsingEncoding:encoding], error);")}),this.ensureBlankLine(),this.emitMethod(this.topLevelToDataPrototype(o),()=>{this.emitTryCatchAsError(()=>{this.emitLine("id json = ",this.toDynamicExpression(p,a),";"),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(o),()=>{this.emitLine("NSData *data = ",o,"ToData(",a,", error);"),this.emitLine("return data ? [[NSString alloc] initWithData:data encoding:encoding] : nil;")})}emitClassInterface(p,o){const a=(0,n.mapContains)(this.topLevels,p);this.emitDescription(this.descriptionForType(p)),this.emitLine("@interface ",o," : NSObject"),this.emitPropertyTable(p,(d,h,b)=>{let R=["nonatomic"];return b.type.isNullable&&R.push("nullable"),R.push(this.memoryAttribute(b.type,b.type.isNullable)),[["@property ",["(",R.join(", "),")"]," "],[this.pointerAwareTypeName(b.type),d,";"]]}),!this._options.justTypes&&a&&(p.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(p){let o=!1;return this.forEachClassProperty(p,"none",(a,d)=>{o=o||(0,m.stringEscape)(d)!==this.sourcelikeToString(a)}),o}hasUnsafeProperties(p){let o=!1;return this.forEachClassProperty(p,"none",(a,d,h)=>{o=o||!this.implicitlyConvertsToJSON(h.type)}),o}emitClassImplementation(p,o){const a=(0,n.mapContains)(this.topLevels,p),d=this.hasIrregularProperties(p),h=this.hasUnsafeProperties(p);this.emitLine("@implementation ",o),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(p,"none",(b,R)=>this.emitLine(`@"${(0,m.stringEscape)(R)}": @"`,b,'",'))}),this.emitLine("};")}),this.ensureBlankLine(),a&&(this.emitMethod("+ (_Nullable instancetype)fromData:(NSData *)data error:(NSError *_Nullable *)error",()=>{this.emitLine("return ",o,"FromData(data, error);")}),this.ensureBlankLine(),this.emitMethod("+ (_Nullable instancetype)fromJSON:(NSString *)json encoding:(NSStringEncoding)encoding error:(NSError *_Nullable *)error",()=>{this.emitLine("return ",o,"FromJSON(json, encoding, error);")}),this.ensureBlankLine()),this.emitMethod("+ (instancetype)fromJSONDictionary:(NSDictionary *)dict",()=>{this.emitLine("return dict ? [[",o," 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(p,"none",(b,R,x)=>{this.implicitlyConvertsFromJSON(x.type)||this.emitPropertyAssignment(b,R,x.type)})}),this.emitLine("return self;")}),this.ensureBlankLine(),this.emitMethod("- (void)setValue:(nullable id)value forKey:(NSString *)key",()=>{this.emitLine("id resolved = ",o,".properties[key];"),this.emitLine("if (resolved) [super setValue:value forKey:resolved];")}),this.ensureBlankLine(),this.emitMethod("- (void)setNilValueForKey:(NSString *)key",()=>{this.emitLine("id resolved = ",o,".properties[key];"),this.emitLine("if (resolved) [super setValue:@(0) forKey:resolved];")}),this.ensureBlankLine(),this.emitMethod("- (NSDictionary *)JSONDictionary",()=>{if(!d&&!h){this.emitLine("return [self dictionaryWithValuesForKeys:",o,".properties.allValues];");return}this.emitLine("id dict = [[self dictionaryWithValuesForKeys:",o,".properties.allValues] mutableCopy];"),this.ensureBlankLine(),d&&(this.emitExtraComments("Rewrite property names that differ in JSON"),this.emitBlock(["for (id jsonName in ",o,".properties)"],()=>{this.emitLine("id propertyName = ",o,".properties[jsonName];"),this.emitBlock("if (![jsonName isEqualToString:propertyName])",()=>{this.emitLine("dict[jsonName] = dict[propertyName];"),this.emitLine("[dict removeObjectForKey:propertyName];")})})),h&&(this.ensureBlankLine(),this.emitExtraComments("Map values that need translation"),this.emitLine("[dict addEntriesFromDictionary:@{"),this.indent(()=>{this.forEachClassProperty(p,"none",(b,R,x)=>{if(!this.implicitlyConvertsToJSON(x.type)){const j=(0,m.stringEscape)(R),W=["_",b];this.emitLine('@"',j,'": ',this.toDynamicExpression(x.type,W),",")}})}),this.emitLine("}];")),this.ensureBlankLine(),this.emitLine("return dict;")}),a&&(this.ensureBlankLine(),this.emitMethod("- (NSData *_Nullable)toData:(NSError *_Nullable *)error",()=>{this.emitLine("return ",o,"ToData(self, error);")}),this.ensureBlankLine(),this.emitMethod("- (NSString *_Nullable)toJSON:(NSStringEncoding)encoding error:(NSError *_Nullable *)error",()=>{this.emitLine("return ",o,"ToJSON(self, encoding, error);")}))),this.emitLine("@end")}emitMark(p){this.ensureBlankLine(),this.emitLine(`#pragma mark - ${p}`),this.ensureBlankLine()}variableNameForTopLevel(p){return(0,f.modifySource)(a=>(a=a.slice(this._classPrefix.length),(0,m.camelCase)(a)),p)}emitPseudoEnumInterface(p,o){this.emitDescription(this.descriptionForType(p)),this.emitLine("@interface ",o," : NSObject"),this.emitLine("@property (nonatomic, readonly, copy) NSString *value;"),this.emitLine("+ (instancetype _Nullable)withValue:(NSString *)value;"),this.forEachEnumCase(p,"none",(a,d)=>{this.emitLine("+ (",o," *)",a,";")}),this.emitLine("@end")}emitPseudoEnumImplementation(p,o){this.emitLine("@implementation ",o);const a=[o,".",F];this.emitMethod(["+ (NSDictionary<NSString *, ",o," *> *)",F],()=>{this.emitLine("static NSDictionary<NSString *, ",o," *> *",F,";"),this.emitLine("return ",F," = ",F," ? ",F," : @{"),this.indent(()=>{this.forEachEnumCase(p,"none",(d,h)=>{const b=['@"',(0,m.stringEscape)(h),'"'];this.emitLine(b,": [[",o," alloc] initWithValue:",b,"],")})}),this.emitLine("};")}),this.ensureBlankLine(),this.forEachEnumCase(p,"none",(d,h)=>{this.emitLine("+ (",o," *)",d," { return ",a,'[@"',(0,m.stringEscape)(h),'"]; }')}),this.ensureBlankLine(),this.emitMethod("+ (instancetype _Nullable)withValue:(NSString *)value",()=>this.emitLine("return ",a,"[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(p){if(!(p!=="stdout")){const h=(0,C.defined)((0,n.mapFirst)(this.topLevels));p=this.sourcelikeToString(this.nameForNamedType(h))+".m"}const[a,d]=w(p);if(this._options.features.interface){this.startFile(a,"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",(b,R)=>{const x=b instanceof r.ClassType?["[",R," fromJSON:json encoding:NSUTF8Encoding error:&error];"]:[R,"FromJSON(json, NSUTF8Encoding, &error);"];this.emitLine("// ",R," *",this.variableNameForTopLevel(R)," = ",x)})),this.ensureBlankLine(),this.emitLine("#import <Foundation/Foundation.h>"),this.ensureBlankLine(),this.forEachNamedType("none",(b,R)=>this.emitLine("@class ",R,";"),(b,R)=>this.emitLine("@class ",R,";"),()=>null),this.ensureBlankLine(),this.ensureBlankLine(),this.emitLine("NS_ASSUME_NONNULL_BEGIN"),this.ensureBlankLine(),this.haveEnums&&(this.emitMark("Boxed enums"),this.forEachEnum("leading-and-interposing",(b,R)=>this.emitPseudoEnumInterface(b,R))),this.forEachTopLevel("leading-and-interposing",(b,R)=>this.emitNonClassTopLevelTypedef(b,R),b=>!(b instanceof r.ClassType));const h=(0,n.iterableSome)(this.topLevels,([b,R])=>!(R instanceof r.ClassType));!this._options.justTypes&&(h||this._options.marshallingFunctions)&&(this.ensureBlankLine(),this.emitMark("Top-level marshaling functions"),this.forEachTopLevel("leading-and-interposing",(b,R)=>this.emitTopLevelFunctionDeclarations(b,R),b=>this._options.marshallingFunctions||!(b instanceof r.ClassType))),this.emitMark("Object interfaces"),this.forEachNamedType("leading-and-interposing",(b,R)=>this.emitClassInterface(b,R),()=>null,()=>null),this.ensureBlankLine(),this.emitLine("NS_ASSUME_NONNULL_END"),this.finishFile()}this._options.features.implementation&&(this.startFile(a,d),this.emitLine(`#import "${a}.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",(h,b)=>this.emitPrivateClassInterface(h,b),()=>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",(h,b)=>this.emitPseudoEnumImplementation(h,b))),this.ensureBlankLine(),this.emitMapFunction(),this.ensureBlankLine(),this.emitMark("JSON serialization"),this.forEachTopLevel("leading-and-interposing",(h,b)=>this.emitTopLevelFunctions(h,b))),this.forEachNamedType("leading-and-interposing",(h,b)=>this.emitClassImplementation(h,b),()=>null,()=>null),this._options.justTypes||(this.ensureBlankLine(),this.emitLine("NS_ASSUME_NONNULL_END")),this.finishFile())}get needsMap(){function p(o){return o instanceof r.MapType||o instanceof r.ArrayType||o instanceof r.ClassType&&(0,n.mapSome)(o.getProperties(),a=>p(a.type))}return(0,n.iterableSome)(this.typeGraph.allTypesUnordered(),p)}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=L})(vp);var wp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.JacksonRenderer=e.JavaRenderer=e.javaNameStyle=e.stringEscape=e.JavaTargetLanguage=e.javaOptions=void 0;const t=At,n=_t,i=qe,r=at,l=Ze,u=lr(),f=yt(),m=Ae,v=St,S=rt(),C=tt();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,u.acronymOption)(u.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 D extends v.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(y,w){const L=(0,r.getOptionValues)(e.javaOptions,w);return L.justTypes?new U(this,y,L):new B(this,y,L)}get stringTypeMapping(){const y=new Map;return y.set("date","date"),y.set("time","time"),y.set("date-time","date-time"),y.set("uuid","uuid"),y}}e.JavaTargetLanguage=D;const _=["_","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,f.utf16ConcatMap)((0,f.escapeNonPrintableMapper)(f.isAscii,f.standardUnicodeHexEscape));function E(F){return F===95?!0:(0,f.isAscii)(F)&&(0,f.isLetter)(F)}function T(F){return E(F)||(0,f.isAscii)(F)&&(0,f.isDigit)(F)}const P=(0,f.utf16LegalizeCharacters)(T);function I(F,y,w,L=f.allUpperWordStyle){const N=(0,f.splitIntoWords)(w);return(0,f.combineWords)(N,P,y?f.allUpperWordStyle:F?f.firstUpperWordStyle:f.allLowerWordStyle,y?f.allUpperWordStyle:f.firstUpperWordStyle,y||F?f.allUpperWordStyle:f.allLowerWordStyle,L,y?"_":"",E)}e.javaNameStyle=I;class M{constructor(y,w){this._renderer=y,this._className=w,this.shouldEmitDateTimeConverter=!0,this.shouldEmitTimeConverter=!0,this.shouldEmitDateConverter=!0}}class H extends M{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(y){return[this._className,".parseDateTimeString(",y,")"]}convertStringToTime(y){return[this._className,".parseTimeString(",y,")"]}convertStringToDate(y){return["LocalDate.parse(",y,")"]}convertDateTimeToString(y){return[y,".format(java.time.format.DateTimeFormatter.ISO_OFFSET_DATE_TIME)"]}convertTimeToString(y){return[y,".format(java.time.format.DateTimeFormatter.ISO_OFFSET_TIME)"]}convertDateToString(y){return[y,".format(java.time.format.DateTimeFormatter.ISO_DATE)"]}}class Z extends M{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(y){return[this._className,".parseAllDateTimeString(",y,")"]}convertStringToTime(y){return[this._className,".parseAllDateTimeString(",y,")"]}convertStringToDate(y){return[this._className,".parseAllDateTimeString(",y,")"]}convertDateTimeToString(y){return[this._className,".serializeDateTime(",y,")"]}convertTimeToString(y){return[this._className,".serializeTime(",y,")"]}convertDateToString(y){return[this._className,".serializeDate(",y,")"]}}class U extends n.ConvenienceRenderer{constructor(y,w,L){switch(super(y,w),this._options=L,this._gettersAndSettersForPropertyName=new Map,this._haveEmittedLeadingComments=!1,this._converterClassname="Converter",this._converterKeywords=[],L.dateTimeProvider){default:case"java8":this._dateTimeProvider=new H(this,this._converterClassname);break;case"legacy":this._dateTimeProvider=new Z(this,this._converterClassname);break}}forbiddenNamesForGlobalNamespace(){return[..._,...this._converterKeywords,this._converterClassname,...this._dateTimeProvider.keywords]}forbiddenForObjectProperties(y,w){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(y){return(0,C.nullableFromUnion)(y)===null}namedTypeToNameForTopLevel(y){return(0,C.directlyReachableSingleNamedType)(y)}makeNamesForPropertyGetterAndSetter(y,w,L,N,p){const o=new i.DependencyName(this.getNameStyling("propertyNamingFunction"),p.order,d=>`get_${d(p)}`),a=new i.DependencyName(this.getNameStyling("propertyNamingFunction"),p.order,d=>`set_${d(p)}`);return[o,a]}makePropertyDependencyNames(y,w,L,N,p){const o=this.makeNamesForPropertyGetterAndSetter(y,w,L,N,p);return this._gettersAndSettersForPropertyName.set(p,o),o}getNameStyling(y){return{typeNamingFunction:(0,i.funPrefixNamer)("types",L=>I(!0,!1,L,(0,u.acronymStyle)(this._options.acronymStyle))),propertyNamingFunction:(0,i.funPrefixNamer)("properties",L=>I(!1,!1,L,(0,u.acronymStyle)(this._options.acronymStyle))),enumCaseNamingFunction:(0,i.funPrefixNamer)("enum-cases",L=>I(!0,!0,L,(0,u.acronymStyle)(this._options.acronymStyle)))}[y]}fieldOrMethodName(y,w){return this.topLevels.size===1?y:[w,(0,f.capitalize)(y)]}methodName(y,w,L){return this.topLevels.size===1?[y,w]:[y,L,w]}decoderName(y){return this.fieldOrMethodName("fromJsonString",y)}encoderName(y){return this.fieldOrMethodName("toJsonString",y)}readerGetterName(y){return this.methodName("get","ObjectReader",y)}writerGetterName(y){return this.methodName("get","ObjectWriter",y)}startFile(y){(0,m.assert)(this._currentFilename===void 0,"Previous file wasn't finished"),this._currentFilename=`${this.sourcelikeToString(y)}.java`,this.ensureBlankLine(),!this._haveEmittedLeadingComments&&this.leadingComments!==void 0&&(this.emitComments(this.leadingComments),this.ensureBlankLine(),this._haveEmittedLeadingComments=!0)}finishFile(){super.finishFile((0,m.defined)(this._currentFilename)),this._currentFilename=void 0}emitPackageAndImports(y){this.emitLine("package ",this._options.packageName,";"),this.ensureBlankLine();for(const w of y)this.emitLine("import ",w,";")}emitFileHeader(y,w){this.startFile(y),this.emitPackageAndImports(w),this.ensureBlankLine()}emitDescriptionBlock(y){this.emitCommentLines(y,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(y,w){this.emitLine(y," {"),this.indent(w),this.emitLine("}")}emitTryCatch(y,w,L="Exception"){this.emitLine("try {"),this.indent(y),this.emitLine("} catch (",L," ex) {"),this.indent(w),this.emitLine("}")}emitIgnoredTryCatchBlock(y){this.emitTryCatch(y,()=>this.emitLine("// Ignored"))}javaType(y,w,L=!1){return(0,C.matchType)(w,N=>(0,l.maybeAnnotated)(L,t.anyTypeIssueAnnotation,"Object"),N=>(0,l.maybeAnnotated)(L,t.nullTypeIssueAnnotation,"Object"),N=>y?"Boolean":"boolean",N=>y?"Long":"long",N=>y?"Double":"double",N=>"String",N=>this._options.useList?["List<",this.javaType(!0,N.items,L),">"]:[this.javaType(!1,N.items,L),"[]"],N=>this.nameForNamedType(N),N=>["Map<String, ",this.javaType(!0,N.values,L),">"],N=>this.nameForNamedType(N),N=>{const p=(0,C.nullableFromUnion)(N);return p!==null?this.javaType(!0,p,L):this.nameForNamedType(N)},N=>N.kind==="time"?this._dateTimeProvider.timeType:N.kind==="date"?this._dateTimeProvider.dateType:N.kind==="date-time"?this._dateTimeProvider.dateTimeType:N.kind==="uuid"?"UUID":"String")}javaImport(y){return(0,C.matchType)(y,w=>[],w=>[],w=>[],w=>[],w=>[],w=>[],w=>this._options.useList?[...this.javaImport(w.items),"java.util.List"]:[...this.javaImport(w.items)],w=>[],w=>[...this.javaImport(w.values),"java.util.Map"],w=>[],w=>{const L=[];return w.members.forEach(N=>this.javaImport(N).forEach(p=>L.push(p))),L},w=>w.kind==="time"?this._dateTimeProvider.timeImports:w.kind==="date"?this._dateTimeProvider.dateImports:w.kind==="date-time"?this._dateTimeProvider.dateTimeImports:w.kind==="uuid"?["java.util.UUID"]:[])}javaTypeWithoutGenerics(y,w){if(w instanceof S.ArrayType)return this._options.useList?["List"]:[this.javaTypeWithoutGenerics(!1,w.items),"[]"];if(w instanceof S.MapType)return"Map";if(w instanceof S.UnionType){const L=(0,C.nullableFromUnion)(w);return L!==null?this.javaTypeWithoutGenerics(!0,L):this.nameForNamedType(w)}else return this.javaType(y,w)}emitClassAttributes(y,w){this._options.lombok&&this.emitLine("@lombok.Data")}annotationsForAccessor(y,w,L,N,p,o){return[]}importsForType(y){return y instanceof S.ClassType?[]:y instanceof S.UnionType?["java.io.IOException"]:y instanceof S.EnumType?["java.io.IOException"]:(0,m.assertNever)(y)}importsForClass(y){const w=[];return this.forEachClassProperty(y,"none",(L,N,p)=>{this.javaImport(p.type).forEach(o=>w.push(o))}),w.sort(),[...new Set(w)]}importsForUnionMembers(y){const w=[],[,L]=(0,C.removeNullFromUnion)(y);return this.forEachUnionMember(y,L,"none",null,(N,p)=>{this.javaImport(p).forEach(o=>w.push(o))}),w.sort(),[...new Set(w)]}emitClassDefinition(y,w){let L=[...this.importsForType(y),...this.importsForClass(y)];this.emitFileHeader(w,L),this.emitDescription(this.descriptionForType(y)),this.emitClassAttributes(y,w),this.emitBlock(["public class ",w],()=>{this.forEachClassProperty(y,"none",(N,p,o)=>{if(this._options.lombok&&this._options.lombokCopyAnnotations){const a=this.annotationsForAccessor(y,w,N,p,o,!1),d=this.annotationsForAccessor(y,w,N,p,o,!0);a.length!==0&&this.emitLine("@lombok.Getter(onMethod_ = {"+a.join(", ")+"})"),d.length!==0&&this.emitLine("@lombok.Setter(onMethod_ = {"+d.join(", ")+"})")}this.emitLine("private ",this.javaType(!1,o.type,!0)," ",N,";")}),this._options.lombok||this.forEachClassProperty(y,"leading-and-interposing",(N,p,o)=>{this.emitDescription(this.descriptionForClassProperty(y,p));const[a,d]=(0,m.defined)(this._gettersAndSettersForPropertyName.get(N)),h=this.javaType(!1,o.type);this.annotationsForAccessor(y,w,N,p,o,!1).forEach(b=>this.emitLine(b)),this.emitLine("public ",h," ",a,"() { return ",N,"; }"),this.annotationsForAccessor(y,w,N,p,o,!0).forEach(b=>this.emitLine(b)),this.emitLine("public void ",d,"(",h," value) { this.",N," = value; }")})}),this.finishFile()}unionField(y,w,L=!1){const N=this.javaType(!0,w,L),p=[this.nameForUnionMember(y,w),"Value"];return{fieldType:N,fieldName:p}}emitUnionAttributes(y,w){}emitUnionSerializer(y,w){}emitUnionDefinition(y,w){const L=[...this.importsForType(y),...this.importsForUnionMembers(y)];this.emitFileHeader(w,L),this.emitDescription(this.descriptionForType(y));const[,N]=(0,C.removeNullFromUnion)(y);this.emitUnionAttributes(y,w),this.emitBlock(["public class ",w],()=>{for(const p of N){const{fieldType:o,fieldName:a}=this.unionField(y,p,!0);this.emitLine("public ",o," ",a,";")}this.emitUnionSerializer(y,w)}),this.finishFile()}emitEnumSerializationAttributes(y){}emitEnumDeserializationAttributes(y){}emitEnumDefinition(y,w){this.emitFileHeader(w,this.importsForType(y)),this.emitDescription(this.descriptionForType(y));const L=[];this.forEachEnumCase(y,"none",N=>{L.length>0&&L.push(", "),L.push(N)}),L.push(";"),this.emitBlock(["public enum ",w],()=>{this.emitLine(L),this.ensureBlankLine(),this.emitEnumSerializationAttributes(y),this.emitBlock("public String toValue()",()=>{this.emitLine("switch (this) {"),this.indent(()=>{this.forEachEnumCase(y,"none",(N,p)=>{this.emitLine("case ",N,': return "',(0,e.stringEscape)(p),'";')})}),this.emitLine("}"),this.emitLine("return null;")}),this.ensureBlankLine(),this.emitEnumDeserializationAttributes(y),this.emitBlock(["public static ",w," forValue(String value) throws IOException"],()=>{this.forEachEnumCase(y,"none",(N,p)=>{this.emitLine('if (value.equals("',(0,e.stringEscape)(p),'")) return ',N,";")}),this.emitLine('throw new IOException("Cannot deserialize ',w,'");')})}),this.finishFile()}emitSourceStructure(){this.forEachNamedType("leading-and-interposing",(y,w)=>this.emitClassDefinition(y,w),(y,w)=>this.emitEnumDefinition(y,w),(y,w)=>this.emitUnionDefinition(y,w))}}e.JavaRenderer=U;class B extends U{constructor(y,w,L){super(y,w,L),this._converterKeywords=["JsonProperty","JsonDeserialize","JsonDeserializer","JsonSerialize","JsonSerializer","JsonParser","JsonProcessingException","DeserializationContext","SerializerProvider"]}emitClassAttributes(y,w){y.getProperties().size===0&&this.emitLine("@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)"),super.emitClassAttributes(y,w)}annotationsForAccessor(y,w,L,N,p,o){const a=super.annotationsForAccessor(y,w,L,N,p,o),d=['@JsonProperty("'+(0,e.stringEscape)(N)+'")'];switch(p.type.kind){case"date-time":this._dateTimeProvider.dateTimeJacksonAnnotations.forEach(h=>d.push(h));break;case"date":this._dateTimeProvider.dateJacksonAnnotations.forEach(h=>d.push(h));break;case"time":this._dateTimeProvider.timeJacksonAnnotations.forEach(h=>d.push(h));break}return[...a,...d]}importsForType(y){if(y instanceof S.ClassType){const w=super.importsForType(y);return w.push("com.fasterxml.jackson.annotation.*"),w}if(y instanceof S.UnionType){const w=super.importsForType(y);return w.push("java.io.IOException","com.fasterxml.jackson.core.*","com.fasterxml.jackson.databind.*","com.fasterxml.jackson.databind.annotation.*"),this._options.useList&&w.push("com.fasterxml.jackson.core.type.*"),w}if(y instanceof S.EnumType){const w=super.importsForType(y);return w.push("com.fasterxml.jackson.annotation.*"),w}return(0,m.assertNever)(y)}emitUnionAttributes(y,w){this.emitLine("@JsonDeserialize(using = ",w,".Deserializer.class)"),this.emitLine("@JsonSerialize(using = ",w,".Serializer.class)")}emitUnionSerializer(y,w){const L=["uuid","time","date","date-time"],N=O=>{this.emitLine("case ",O,":")},p=()=>{this.indent(()=>{N("VALUE_NULL"),this.indent(()=>this.emitLine("break;"))})},o=(O,V,te)=>{switch(V){case"date":this.emitLine("value.",O," = ",this._dateTimeProvider.convertStringToDate(te),";");break;case"time":this.emitLine("value.",O," = ",this._dateTimeProvider.convertStringToTime(te),";");break;case"date-time":this.emitLine("value.",O," = ",this._dateTimeProvider.convertStringToDateTime(te),";");break;case"uuid":this.emitLine("value.",O," = UUID.fromString(",te,");");break;default:return(0,m.panic)("Requested type isnt an object!")}},a=(O,V="")=>{const{fieldName:te}=this.unionField(y,O),ue=this.javaTypeWithoutGenerics(!0,O);if(this._options.useList&&O instanceof S.ArrayType)this.emitLine("value.",te," = jsonParser.readValueAs(new TypeReference<",ue,">() {});");else if(L.some(Y=>O.kind===Y))o(te,O.kind,V);else if(O.kind==="string")this.emitLine("value.",te," = ",V,";");else if(O.kind==="enum"){const{fieldType:Y}=this.unionField(y,O,!0);this.emitLine("value.",te," = ",Y,".forValue(",V,");")}else this.emitLine("value.",te," = jsonParser.readValueAs(",ue,".class);")},d=(O,V)=>{const te=y.findMember(V);te!==void 0&&this.indent(()=>{for(const ue of O)N(ue);this.indent(()=>{a(te),this.emitLine("break;")})})},h=()=>{const O=y.findMember("enum"),V=y.findMember("string");L.every(te=>y.findMember(te)===void 0)&&V===void 0&&O===void 0||this.indent(()=>{N("VALUE_STRING"),this.indent(()=>{const te="string";this.emitLine("String "+te+" = jsonParser.readValueAs(String.class);"),L.forEach(ue=>{const Y=y.findMember(ue);Y!==void 0&&this.emitIgnoredTryCatchBlock(()=>{a(Y,te)})}),O!==void 0&&this.emitIgnoredTryCatchBlock(()=>{a(O,te)}),V!==void 0&&a(V,te),this.emitLine("break;")})})},b=()=>{const O=y.findMember("integer"),V=y.findMember("double");V===void 0&&O===void 0||this.indent(()=>{N("VALUE_NUMBER_INT"),O!==void 0&&this.indent(()=>{a(O),this.emitLine("break;")}),V!==void 0&&(N("VALUE_NUMBER_FLOAT"),this.indent(()=>{a(V),this.emitLine("break;")}))})},R=["time","date","date-time"],x=(O,V)=>{switch(O.kind){case"date":return this._dateTimeProvider.convertDateToString(V);case"time":return this._dateTimeProvider.convertTimeToString(V);case"date-time":return this._dateTimeProvider.convertDateTimeToString(V);default:return(0,m.panic)("Requested type doesn't have custom serializer code!")}},j=O=>{let{fieldName:V}=this.unionField(y,O,!0);this.emitBlock(["if (obj.",V," != null)"],()=>{R.some(te=>O.kind===te)?this.emitLine("jsonGenerator.writeObject(",x(O,["obj.",V]),");"):this.emitLine("jsonGenerator.writeObject(obj.",V,");"),this.emitLine("return;")})},[W,k]=(0,C.removeNullFromUnion)(y);this.ensureBlankLine(),this.emitBlock(["static class Deserializer extends JsonDeserializer<",w,">"],()=>{this.emitLine("@Override"),this.emitBlock(["public ",w," deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException"],()=>{this.emitLine(w," value = new ",w,"();"),this.emitLine("switch (jsonParser.currentToken()) {"),W!==null&&p(),b(),d(["VALUE_TRUE","VALUE_FALSE"],"bool"),h(),d(["START_ARRAY"],"array"),d(["START_OBJECT"],"class"),d(["START_OBJECT"],"map"),this.indent(()=>this.emitLine('default: throw new IOException("Cannot deserialize ',w,'");')),this.emitLine("}"),this.emitLine("return value;")})}),this.ensureBlankLine(),this.emitBlock(["static class Serializer extends JsonSerializer<",w,">"],()=>{this.emitLine("@Override"),this.emitBlock(["public void serialize(",w," obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException"],()=>{for(const O of k)j(O);W!==null?this.emitLine("jsonGenerator.writeNull();"):this.emitLine('throw new IOException("',w,' must not be null");')})})}emitEnumSerializationAttributes(y){this.emitLine("@JsonValue")}emitEnumDeserializationAttributes(y){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",(w,L)=>{this.emitLine("// ",this.javaType(!1,w)," data = Converter.",this.decoderName(L),"(jsonString);")}),this.ensureBlankLine();const y=["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(y),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",(w,L)=>{const N=this.javaType(!1,w);this.emitBlock(["public static ",N," ",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),"(",N," obj) throws JsonProcessingException"],()=>{this.emitLine("return ",this.writerGetterName(L),"().writeValueAsString(obj);")})}),this.forEachTopLevel("leading-and-interposing",(w,L)=>{const N=this.fieldOrMethodName("reader",L),p=this.fieldOrMethodName("writer",L);this.emitLine("private static ObjectReader ",N,";"),this.emitLine("private static ObjectWriter ",p,";"),this.ensureBlankLine(),this.emitBlock(["private static void ",this.methodName("instantiate","Mapper",L),"()"],()=>{const o=this.javaTypeWithoutGenerics(!1,w);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(N," = mapper.readerFor(",o,".class);"),this.emitLine(p," = mapper.writerFor(",o,".class);")}),this.ensureBlankLine(),this.emitBlock(["private static ObjectReader ",this.readerGetterName(L),"()"],()=>{this.emitLine("if (",N," == null) ",this.methodName("instantiate","Mapper",L),"();"),this.emitLine("return ",N,";")}),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=B})(wp);var js={},Lp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.convertersOption=e.ConvertersOptions=void 0;const t=at;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})(Lp);var Wr={};Object.defineProperty(Wr,"__esModule",{value:!0});Wr.isES3IdentifierPart=Wr.isES3IdentifierStart=void 0;function Lv(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 $2(e){return e>=65&&e<=90||e>=97&&e<=122||e===36||e===95||e>127&&Lv(e,tM)}Wr.isES3IdentifierStart=$2;function eM(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===36||e===95||e>127&&Lv(e,nM)}Wr.isES3IdentifierPart=eM;const tM=[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],nM=[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=Je,n=tt(),i=lr(),r=Lp,l=yt(),u=Ae,f=Ze,m=qe,v=_t,S=St,C=at,D=Wr;e.javaScriptOptions={acronymStyle:(0,i.acronymOption)(i.AcronymStyleOptions.Pascal),runtimeTypecheck:new C.BooleanOption("runtime-typecheck","Verify JSON.parse results at runtime",!0),runtimeTypecheckIgnoreUnknownProperties:new C.BooleanOption("runtime-typecheck-ignore-unknown-properties","Ignore unknown properties when verifying at runtime",!1,"secondary"),converters:(0,r.convertersOption)(),rawType:new C.EnumOption("raw-type","Type of raw input (json by default)",[["json","json"],["any","any"]],"json","secondary")};class _ extends S.TargetLanguage{constructor(I="JavaScript",M=["javascript","js","jsx"],H="js"){super(I,M,H)}getOptions(){return[e.javaScriptOptions.runtimeTypecheck,e.javaScriptOptions.runtimeTypecheckIgnoreUnknownProperties,e.javaScriptOptions.acronymStyle,e.javaScriptOptions.converters,e.javaScriptOptions.rawType]}get stringTypeMapping(){const I=new Map,M="date-time";return I.set("date",M),I.set("date-time",M),I}get supportsOptionalClassProperties(){return!0}get supportsFullObjectType(){return!0}makeRenderer(I,M){return new T(this,I,(0,C.getOptionValues)(e.javaScriptOptions,M))}}e.JavaScriptTargetLanguage=_,e.legalizeName=(0,l.utf16LegalizeCharacters)(D.isES3IdentifierPart);const E=(0,m.funPrefixNamer)("properties",P=>P);class T extends v.ConvenienceRenderer{constructor(I,M,H){super(I,M),this._jsOptions=H}nameStyle(I,M){const H=(0,i.acronymStyle)(this._jsOptions.acronymStyle),Z=(0,l.splitIntoWords)(I);return(0,l.combineWords)(Z,e.legalizeName,M?l.firstUpperWordStyle:l.allLowerWordStyle,l.firstUpperWordStyle,M?U=>(0,l.capitalize)(H(U)):l.allLowerWordStyle,H,"",D.isES3IdentifierStart)}makeNamedTypeNamer(){return(0,m.funPrefixNamer)("types",I=>this.nameStyle(I,!0))}namerForObjectProperty(){return E}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return(0,m.funPrefixNamer)("enum-cases",I=>this.nameStyle(I,!0))}namedTypeToNameForTopLevel(I){return(0,n.directlyReachableSingleNamedType)(I)}makeNameForProperty(I,M,H,Z,U){return super.makeNameForProperty(I,M,H,Z,void 0)}emitDescriptionBlock(I){this.emitCommentLines(I,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}typeMapTypeFor(I){return["class","object","enum"].indexOf(I.kind)>=0?['r("',this.nameForNamedType(I),'")']:(0,n.matchType)(I,M=>'"any"',M=>"null",M=>"true",M=>"0",M=>"3.14",M=>'""',M=>["a(",this.typeMapTypeFor(M.items),")"],M=>(0,u.panic)("We handled this above"),M=>["m(",this.typeMapTypeFor(M.values),")"],M=>(0,u.panic)("We handled this above"),M=>{const H=Array.from(M.getChildren()).map(Z=>this.typeMapTypeFor(Z));return["u(",...(0,t.arrayIntercalate)(", ",H),")"]},M=>M.kind==="date-time"?"Date":'""')}typeMapTypeForProperty(I){const M=this.typeMapTypeFor(I.type);return I.isOptional?["u(undefined, ",M,")"]:M}emitBlock(I,M,H){this.emitLine(I,"{"),this.indent(H),this.emitLine("}",M)}emitTypeMap(){const{any:I}=this.typeAnnotations;this.emitBlock(`const typeMap${I} = `,";",()=>{this.forEachObject("none",(M,H)=>{const Z=M.getAdditionalProperties(),U=Z!==void 0?this.typeMapTypeFor(Z):"false";this.emitLine('"',H,'": o(['),this.indent(()=>{this.forEachClassProperty(M,"none",(B,F,y)=>{this.emitLine('{ json: "',(0,l.utf16StringEscape)(F),'", js: "',(0,f.modifySource)(l.utf16StringEscape,B),'", typ: ',this.typeMapTypeForProperty(y)," },")})}),this.emitLine("], ",U,"),")}),this.forEachEnum("none",(M,H)=>{this.emitLine('"',H,'": ['),this.indent(()=>{this.forEachEnumCase(M,"none",(Z,U)=>{this.emitLine(`"${(0,l.utf16StringEscape)(U)}",`)})}),this.emitLine("],")})})}deserializerFunctionName(I){return["to",I]}deserializerFunctionLine(I,M){return["function ",this.deserializerFunctionName(M),"(json)"]}serializerFunctionName(I){return[(0,f.modifySource)(l.camelCase,I),"ToJson"]}serializerFunctionLine(I,M){return["function ",this.serializerFunctionName(M),"(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 I=(M,H)=>{const Z=this.typeMapTypeFor(M);this.emitBlock([this.deserializerFunctionLine(M,H)," "],"",()=>{const U=this._jsOptions.rawType==="json"?"JSON.parse(json)":"json";this._jsOptions.runtimeTypecheck?this.emitLine("return cast(",U,", ",Z,");"):this.emitLine("return ",U,";")}),this.ensureBlankLine(),this.emitBlock([this.serializerFunctionLine(M,H)," "],"",()=>{this._jsOptions.rawType==="json"?this._jsOptions.runtimeTypecheck?this.emitLine("return JSON.stringify(uncast(value, ",Z,"), null, 2);"):this.emitLine("return JSON.stringify(value);"):this._jsOptions.runtimeTypecheck?this.emitLine("return uncast(value, ",Z,");"):this.emitLine("return value;")})};switch(this._jsOptions.converters){case r.ConvertersOptions.AllObjects:this.forEachObject("interposing",I);break;default:this.forEachTopLevel("interposing",I);break}}emitConvertModuleHelpers(){if(this._jsOptions.runtimeTypecheck){const{any:I,anyArray:M,anyMap:H,string:Z,stringArray:U,never:B}=this.typeAnnotations;this.ensureBlankLine(),this.emitMultiline(`function invalidValue(typ${I}, val${I}, key${I}, parent${I} = '')${B} {
|
|
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${I})${Z} {
|
|
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${I})${I} {
|
|
439
|
-
if (typ.jsonToJS === undefined) {
|
|
440
|
-
const map${I} = {};
|
|
441
|
-
typ.props.forEach((p${I}) => map[p.json] = { key: p.js, typ: p.typ });
|
|
442
|
-
typ.jsonToJS = map;
|
|
443
|
-
}
|
|
444
|
-
return typ.jsonToJS;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
function jsToJSONProps(typ${I})${I} {
|
|
448
|
-
if (typ.jsToJSON === undefined) {
|
|
449
|
-
const map${I} = {};
|
|
450
|
-
typ.props.forEach((p${I}) => map[p.js] = { key: p.json, typ: p.typ });
|
|
451
|
-
typ.jsToJSON = map;
|
|
452
|
-
}
|
|
453
|
-
return typ.jsToJSON;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
function transform(val${I}, typ${I}, getProps${I}, key${I} = '', parent${I} = '')${I} {
|
|
457
|
-
function transformPrimitive(typ${Z}, val${I})${I} {
|
|
458
|
-
if (typeof typ === typeof val) return val;
|
|
459
|
-
return invalidValue(typ, val, key, parent);
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
function transformUnion(typs${M}, val${I})${I} {
|
|
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${I})${I} {
|
|
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${I}, val${I})${I} {
|
|
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${I})${I} {
|
|
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${H}, additional${I}, val${I})${I} {
|
|
497
|
-
if (val === null || typeof val !== "object" || Array.isArray(val)) {
|
|
498
|
-
return invalidValue(l(ref || "object"), val, key, parent);
|
|
499
|
-
}
|
|
500
|
-
const result${I} = {};
|
|
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${I} = 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${I}) {
|
|
546
|
-
return { literal: typ };
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
function a(typ${I}) {
|
|
550
|
-
return { arrayItems: typ };
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
function u(...typs${M}) {
|
|
554
|
-
return { unionMembers: typs };
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
function o(props${M}, additional${I}) {
|
|
558
|
-
return { props, additional };
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
function m(additional${I}) {
|
|
562
|
-
return { props: [], additional };
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
function r(name${Z}) {
|
|
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 I=this.moduleLine;I===void 0?this.emitConvertModuleBody():this.emitBlock([I," "],"",()=>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",(I,M)=>{const H=(0,f.modifySource)(l.camelCase,M);this.emitLine("// const ",H," = Convert.to",M,"(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",(I,M)=>{const H=this.serializerFunctionName(M),Z=this.deserializerFunctionName(M);this.emitLine('"',H,'": ',H,","),this.emitLine('"',Z,'": ',Z,",")})})}emitSourceStructure(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this.emitUsageComments(),this.emitTypes(),this.emitConvertModule(),this.emitConvertModuleHelpers(),this.emitModuleExports()}}e.JavaScriptRenderer=T})(js);var Fd={},$b;function _v(){return $b||($b=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.JavaScriptPropTypesRenderer=e.JavaScriptPropTypesTargetLanguage=e.javaScriptPropTypesOptions=void 0;const t=St,n=at,i=_t,r=qe,l=lr(),u=Ic(),f=yt(),m=Wr,v=js,S=Lp,C=tt(),D=Je,_=rt();e.javaScriptPropTypesOptions={acronymStyle:(0,l.acronymOption)(l.AcronymStyleOptions.Pascal),converters:(0,S.convertersOption)(),moduleSystem:new n.EnumOption("module-system","Which module system to use",[["common-js",!1],["es6",!0]],"es6")};class E extends t.TargetLanguage{getOptions(){return[e.javaScriptPropTypesOptions.acronymStyle,e.javaScriptPropTypesOptions.converters]}constructor(M="JavaScript PropTypes",H=["javascript-prop-types"],Z="js"){super(M,H,Z)}makeRenderer(M,H){return new P(this,M,(0,n.getOptionValues)(e.javaScriptPropTypesOptions,H))}}e.JavaScriptPropTypesTargetLanguage=E;const T=(0,r.funPrefixNamer)("properties",I=>I);class P extends i.ConvenienceRenderer{constructor(M,H,Z){super(M,H),this._jsOptions=Z}nameStyle(M,H){const Z=(0,l.acronymStyle)(this._jsOptions.acronymStyle),U=(0,u.splitIntoWords)(M);return(0,u.combineWords)(U,v.legalizeName,H?u.firstUpperWordStyle:f.allLowerWordStyle,u.firstUpperWordStyle,H?B=>(0,u.capitalize)(Z(B)):f.allLowerWordStyle,Z,"",m.isES3IdentifierStart)}makeNamedTypeNamer(){return(0,r.funPrefixNamer)("types",M=>this.nameStyle(M,!0))}namerForObjectProperty(){return T}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return(0,r.funPrefixNamer)("enum-cases",M=>this.nameStyle(M,!1))}namedTypeToNameForTopLevel(M){return(0,C.directlyReachableSingleNamedType)(M)}makeNameForProperty(M,H,Z,U,B){return super.makeNameForProperty(M,H,Z,U,void 0)}typeMapTypeFor(M,H=!0){if(["class","object","enum"].indexOf(M.kind)>=0)return["_",this.nameForNamedType(M)];const Z=(0,u.matchType)(M,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,u.panic)("Should already be handled."),U=>"PropTypes.object",U=>(0,u.panic)("Should already be handled."),U=>{const B=Array.from(U.getChildren()).map(F=>this.typeMapTypeFor(F,!1));return["PropTypes.oneOfType([",...(0,D.arrayIntercalate)(", ",B),"])"]},U=>"PropTypes.string");return H?[Z]:Z}typeMapTypeForProperty(M){return this.typeMapTypeFor(M.type)}importStatement(M,H){return this._jsOptions.moduleSystem?["import ",M," from ",H,";"]:["const ",M," = require(",H,");"]}emitUsageComments(){this.emitCommentLines(["Example usage:","",this.importStatement("{ MyShape }","./myShape.js"),"","class MyComponent extends React.Component {"," //","}","","MyComponent.propTypes = {"," input: MyShape","};"],{lineStart:"// "})}emitBlock(M,H,Z){this.emitLine(M,"{"),this.indent(Z),this.emitLine("}",H)}emitImports(){this.ensureBlankLine(),this.emitLine(this.importStatement("PropTypes",'"prop-types"'))}emitExport(M,H){this._jsOptions.moduleSystem?this.emitLine("export const ",M," = ",H,";"):this.emitLine("module.exports = exports = { ",M,": ",H," };")}emitTypes(){this.ensureBlankLine(),this.forEachObject("none",(U,B)=>{this.emitLine("let _",B,";")}),this.forEachEnum("none",(U,B)=>{const F=[];this.forEachEnumCase(U,"none",(y,w,L)=>{F.push("'"),F.push(y),F.push("'"),F.push(", ")}),F.pop(),this.emitLine(["const _",B," = PropTypes.oneOfType([",...F,"]);"])});const M=[],H=[],Z=[];this.forEachObject("none",(U,B)=>{H.push(B),Z.push(this.gatherSource(()=>this.emitObject(B,U)))}),H.forEach((U,B)=>{let F=0;const w=Z[B].filter(L=>L);for(let L=0;L<w.length;L++){const N=w[L];for(let p=0;p<M.length;p++){const o=M[p];H[o]===N&&(F=Math.max(F,o+1))}}M.splice(F,0,B)}),M.forEach(U=>this.emitGatheredSource(Z[U])),this.forEachTopLevel("none",(U,B)=>{U instanceof _.PrimitiveType?(this.ensureBlankLine(),this.emitExport(B,this.typeMapTypeFor(U))):U.kind==="array"?(this.ensureBlankLine(),this.emitExport(B,["PropTypes.arrayOf(",this.typeMapTypeFor(U.items),")"])):(this.ensureBlankLine(),this.emitExport(B,["_",B]))})}emitObject(M,H){this.ensureBlankLine(),this.emitLine("_",M," = PropTypes.shape({"),this.indent(()=>{this.forEachClassProperty(H,"none",(Z,U,B)=>{this.emitLine(`"${(0,f.utf16StringEscape)(U)}"`,": ",this.typeMapTypeForProperty(B),",")})}),this.emitLine("});")}emitSourceStructure(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this.emitUsageComments(),this.emitImports(),this.emitTypes()}}e.JavaScriptPropTypesRenderer=P}(Fd)),Fd}var _p={};(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=rt(),n=tt(),i=yt(),r=Ze,l=qe,u=at,f=js,m=Ae,v=Wr;e.tsFlowOptions=Object.assign({},f.javaScriptOptions,{justTypes:new u.BooleanOption("just-types","Interfaces only",!1),nicePropertyNames:new u.BooleanOption("nice-property-names","Transform property names to be JavaScripty",!1),declareUnions:new u.BooleanOption("explicit-unions","Explicitly name unions",!1),preferUnions:new u.BooleanOption("prefer-unions","Use union type instead of enum",!1),preferTypes:new u.BooleanOption("prefer-types","Use types instead of interfaces",!1),preferConstValues:new u.BooleanOption("prefer-const-values","Use string instead of enum for string enums with single value",!1)});const S={any:": any",anyArray:": any[]",anyMap:": { [k: string]: any }",string:": string",stringArray:": string[]",boolean:": boolean"};class C extends f.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]}get supportsOptionalClassProperties(){return!0}}e.TypeScriptFlowBaseTargetLanguage=C;class D extends C{constructor(){super("TypeScript",["typescript","ts","tsx"],"ts")}makeRenderer(H,Z){return new T(this,H,(0,u.getOptionValues)(e.tsFlowOptions,Z))}}e.TypeScriptTargetLanguage=D;function _(M){const H=(0,i.utf16StringEscape)(M),Z=`"${H}"`;return M.length===0?Z:(0,v.isES3IdentifierStart)(M.codePointAt(0))?H!==M||(0,f.legalizeName)(M)!==M?Z:M:Z}class E extends f.JavaScriptRenderer{constructor(H,Z,U){super(H,Z,U),this._tsFlowOptions=U}namerForObjectProperty(){return this._tsFlowOptions.nicePropertyNames?(0,l.funPrefixNamer)("properties",H=>this.nameStyle(H,!1)):super.namerForObjectProperty()}sourceFor(H){if(this._tsFlowOptions.preferConstValues&&H.kind==="enum"&&H instanceof t.EnumType&&H.cases.size===1){const Z=H.cases.values().next().value;return(0,r.singleWord)(`"${(0,i.utf16StringEscape)(Z)}"`)}return["class","object","enum"].indexOf(H.kind)>=0?(0,r.singleWord)(this.nameForNamedType(H)):(0,n.matchType)(H,Z=>(0,r.singleWord)("any"),Z=>(0,r.singleWord)("null"),Z=>(0,r.singleWord)("boolean"),Z=>(0,r.singleWord)("number"),Z=>(0,r.singleWord)("number"),Z=>(0,r.singleWord)("string"),Z=>{const U=this.sourceFor(Z.items);return Z.items instanceof t.UnionType&&!this._tsFlowOptions.declareUnions||Z.items instanceof t.ArrayType?(0,r.singleWord)(["Array<",U.source,">"]):(0,r.singleWord)([(0,r.parenIfNeeded)(U),"[]"])},Z=>(0,m.panic)("We handled this above"),Z=>(0,r.singleWord)(["{ [key: string]: ",this.sourceFor(Z.values).source," }"]),Z=>(0,m.panic)("We handled this above"),Z=>{if(!this._tsFlowOptions.declareUnions||(0,n.nullableFromUnion)(Z)!==null){const U=Array.from(Z.getChildren()).map(B=>(0,r.parenIfNeeded)(this.sourceFor(B)));return(0,r.multiWord)(" | ",...U)}else return(0,r.singleWord)(this.nameForNamedType(Z))},Z=>Z.kind==="date-time"?(0,r.singleWord)("Date"):(0,r.singleWord)("string"))}emitClassBlockBody(H){this.emitPropertyTable(H,(U,B,F)=>{const y=F.type;return[[(0,r.modifySource)(_,U),F.isOptional?"?":"",": "],[this.sourceFor(y).source,";"]]});const Z=H.getAdditionalProperties();Z&&this.emitTable([["[property: string]",": ",this.sourceFor(Z).source,";"]])}emitClass(H,Z){this.emitDescription(this.descriptionForType(H)),this.emitClassBlock(H,Z)}emitUnion(H,Z){if(!this._tsFlowOptions.declareUnions)return;this.emitDescription(this.descriptionForType(H));const U=(0,r.multiWord)(" | ",...Array.from(H.getChildren()).map(B=>(0,r.parenIfNeeded)(this.sourceFor(B))));this.emitLine("export type ",Z," = ",U.source,";")}emitTypes(){this.forEachNamedType("leading-and-interposing",(H,Z)=>this.emitClass(H,Z),(H,Z)=>this.emitEnum(H,Z),(H,Z)=>this.emitUnion(H,Z))}emitUsageComments(){this._tsFlowOptions.justTypes||super.emitUsageComments()}deserializerFunctionLine(H,Z){const U=this._tsFlowOptions.rawType==="json"?"string":"any";return["function to",Z,"(json: ",U,"): ",this.sourceFor(H).source]}serializerFunctionLine(H,Z){const U=(0,r.modifySource)(i.camelCase,Z),B=this._tsFlowOptions.rawType==="json"?"string":"any";return["function ",U,"ToJson(value: ",this.sourceFor(H).source,"): ",B]}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=E;class T extends E{forbiddenNamesForGlobalNamespace(){return["Array","Date"]}deserializerFunctionLine(H,Z){const U=this._tsFlowOptions.rawType==="json"?"string":"any";return["public static to",Z,"(json: ",U,"): ",this.sourceFor(H).source]}serializerFunctionLine(H,Z){const U=(0,r.modifySource)(i.camelCase,Z),B=this._tsFlowOptions.rawType==="json"?"string":"any";return["public static ",U,"ToJson(value: ",this.sourceFor(H).source,"): ",B]}get moduleLine(){return"export class Convert"}get typeAnnotations(){return Object.assign({never:": never"},S)}emitModuleExports(){}emitUsageImportComment(){const H=[];this.forEachTopLevel("none",(Z,U)=>{H.push(", ",U)},n.isNamedType),this.emitLine("// import { Convert",H,' } from "./file";')}emitEnum(H,Z){if(this.emitDescription(this.descriptionForType(H)),!(this._tsFlowOptions.preferConstValues&&H.cases.size===1))if(this._tsFlowOptions.preferUnions){let U="";H.cases.forEach(B=>{if(U===""){U+=`"${(0,i.utf16StringEscape)(B)}"`;return}U+=` | "${(0,i.utf16StringEscape)(B)}"`}),this.emitLine("export type ",Z," = ",U,";")}else this.emitBlock(["export enum ",Z," "],"",()=>{this.forEachEnumCase(H,"none",(U,B)=>{this.emitLine(U,` = "${(0,i.utf16StringEscape)(B)}",`)})})}emitClassBlock(H,Z){this.emitBlock(this._tsFlowOptions.preferTypes?["export type ",Z," = "]:["export interface ",Z," "],"",()=>{this.emitClassBlockBody(H)})}}e.TypeScriptRenderer=T;class P extends C{constructor(){super("Flow",["flow"],"js")}makeRenderer(H,Z){return new I(this,H,(0,u.getOptionValues)(e.tsFlowOptions,Z))}}e.FlowTargetLanguage=P;class I extends E{forbiddenNamesForGlobalNamespace(){return["Class","Date","Object","String","Array","JSON","Error"]}get typeAnnotations(){return Object.assign({never:""},S)}emitEnum(H,Z){this.emitDescription(this.descriptionForType(H));const U=[];this.forEachEnumCase(H,"none",(B,F)=>{const y=U.length===0?" ":"| ";U.push([y,'"',(0,i.utf16StringEscape)(F),'"'])}),(0,m.defined)(U[U.length-1]).push(";"),this.emitLine("export type ",Z," ="),this.indent(()=>{for(const B of U)this.emitLine(B)})}emitClassBlock(H,Z){this.emitBlock(["export type ",Z," = "],";",()=>{this.emitClassBlockBody(H)})}emitSourceStructure(){this.emitLine("// @flow"),this.ensureBlankLine(),super.emitSourceStructure()}}e.FlowRenderer=I})(_p);var Np={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SwiftRenderer=e.SwiftTargetLanguage=e.swiftOptions=void 0;const t=Je,n=Ae,i=St,r=rt(),l=tt(),u=qe,f=at,m=Ze,v=At,S=_t,C=yt(),D=Ae,_=Ha,E=lr(),T=4;e.swiftOptions={justTypes:new f.BooleanOption("just-types","Plain types only",!1),convenienceInitializers:new f.BooleanOption("initializers","Generate initializers and mutators",!0),explicitCodingKeys:new f.BooleanOption("coding-keys","Explicit CodingKey values in Codable types",!0),alamofire:new f.BooleanOption("alamofire","Alamofire extensions",!1),namedTypePrefix:new f.StringOption("type-prefix","Prefix for type names","PREFIX","","secondary"),useClasses:new f.EnumOption("struct-or-class","Structs or classes",[["struct",!1],["class",!0]]),mutableProperties:new f.BooleanOption("mutable-properties","Use var instead of let for object properties",!1),acronymStyle:(0,E.acronymOption)(E.AcronymStyleOptions.Pascal),dense:new f.EnumOption("density","Code density",[["dense",!0],["normal",!1]],"dense","secondary"),linux:new f.BooleanOption("support-linux","Support Linux",!1,"secondary"),objcSupport:new f.BooleanOption("objective-c-support","Objects inherit from NSObject and @objcMembers is added to classes",!1),optionalEnums:new f.BooleanOption("optional-enums","If no matching case is found enum value is set to null",!1),swift5Support:new f.BooleanOption("swift-5-support","Renders output in a Swift 5 compatible mode",!1),sendable:new f.BooleanOption("sendable","Mark generated models as Sendable",!1),multiFileOutput:new f.BooleanOption("multi-file-output","Renders each top-level object in its own Swift file",!1),accessLevel:new f.EnumOption("access-level","Access level",[["internal","internal"],["public","public"]],"internal","secondary"),protocol:new f.EnumOption("protocol","Make types implement protocol",[["none",{equatable:!1,hashable:!1}],["equatable",{equatable:!0,hashable:!1}],["hashable",{equatable:!1,hashable:!0}]],"none","secondary")};const P=/^\d+-\d+-\d+T\d+:\d+:\d+([zZ]|[+-]\d+(:\d+)?)$/;class I extends _.DefaultDateTimeRecognizer{isDateTime(p){return p.match(P)!==null}}class M 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.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,o){return new L(this,p,(0,f.getOptionValues)(e.swiftOptions,o))}get dateTimeRecognizer(){return new I}}e.SwiftTargetLanguage=M;const H=["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 Z(N){return(0,C.isLetterOrUnderscore)(N)||(0,C.isNumeric)(N)}function U(N){return Z(N)&&!(0,C.isDigit)(N)}const B=(0,C.legalizeCharacters)(Z);function F(N,p,o,a=C.allUpperWordStyle){const d=(0,C.splitIntoWords)(o),h=(0,C.combineWords)(d,B,p?C.firstUpperWordStyle:C.allLowerWordStyle,C.firstUpperWordStyle,p?C.allUpperWordStyle:C.allLowerWordStyle,a,"",U);return(0,C.addPrefixIfNecessary)(N,h)}function y(N){return"\\u{"+(0,C.intToHex)(N,0)+"}"}const w=(0,C.utf32ConcatMap)((0,C.escapeNonPrintableMapper)(C.isPrintable,y));class L extends S.ConvenienceRenderer{constructor(p,o,a){super(p,o),this._options=a,this._needAny=!1,this._needNull=!1,this.emitSupportFunctions4=()=>{this.startFile("JSONSchemaSupport"),this.emitLineOnce("import Foundation"),this.forEachTopLevel("leading",(d,h)=>this.renderTopLevelAlias(d,h),d=>this.namedTypeToNameForTopLevel(d)===void 0),this._options.convenienceInitializers&&(this.ensureBlankLine(),this.forEachTopLevel("leading-and-interposing",(d,h)=>this.emitTopLevelMapAndArrayConvenienceInitializerExtensions(d,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",...H]:H}forbiddenForObjectProperties(p,o){return{names:["fromURL","json"],includeGlobalForbidden:!0}}forbiddenForEnumCases(p,o){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(p,o){return{names:[],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return(0,u.funPrefixNamer)("upper",p=>F(this._options.namedTypePrefix,!0,p,(0,E.acronymStyle)(this._options.acronymStyle)))}namerForObjectProperty(){return this.lowerNamingFunction}makeUnionMemberNamer(){return this.lowerNamingFunction}makeEnumCaseNamer(){return this.lowerNamingFunction}isImplicitCycleBreaker(p){const o=p.kind;return o==="array"||o==="map"}emitDescriptionBlock(p){this.emitCommentLines(p,{lineStart:"/// "})}emitBlock(p,o){this.emitLine(p," {"),this.indent(o),this.emitLine("}")}emitBlockWithAccess(p,o){this.emitBlock([this.accessLevel,p],o)}justTypesCase(p,o){return this._options.justTypes?p:o}get lowerNamingFunction(){return(0,u.funPrefixNamer)("lower",p=>F("",!1,p,(0,E.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,o=!1,a=!1){const d=a?"":"?";return(0,l.matchType)(p,h=>(this._needAny=!0,(0,m.maybeAnnotated)(o,v.anyTypeIssueAnnotation,this.justTypesCase(["Any",d],"JSONAny"))),h=>(this._needNull=!0,(0,m.maybeAnnotated)(o,v.nullTypeIssueAnnotation,this.justTypesCase("NSNull",["JSONNull",d]))),h=>"Bool",h=>"Int",h=>"Double",h=>"String",h=>["[",this.swiftType(h.items,o),"]"],h=>this.nameForNamedType(h),h=>["[String: ",this.swiftType(h.values,o),"]"],h=>this.nameForNamedType(h),h=>{const b=(0,l.nullableFromUnion)(h);return b!==null?[this.swiftType(b,o),d]:this.nameForNamedType(h)},h=>h.kind==="date-time"?"Date":(0,D.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,o)=>{this._options.convenienceInitializers&&!(p instanceof r.EnumType)?this.emitLineOnce("// let ",(0,m.modifySource)(C.camelCase,o)," = try ",o,"(json)"):this.emitLineOnce("// let ",(0,m.modifySource)(C.camelCase,o)," = ","try? JSONDecoder().decode(",o,".self, from: jsonData)")})}renderHeader(p,o){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,m.modifySource)(C.camelCase,o)," = try ",o,"(json)"):this.emitLine("// let ",(0,m.modifySource)(C.camelCase,o)," = ","try? newJSONDecoder().decode(",o,".self, from: jsonData)")),this._options.alamofire&&(this.emitLine("//"),this.emitLine("// To parse values from Alamofire responses:"),this.emitLine("//"),this.emitLine("// Alamofire.request(url).response",o," { response in"),this.emitLine("// if let ",(0,m.modifySource)(C.camelCase,o)," = 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,o){this.emitLine(this.accessLevel,"typealias ",o," = ",this.swiftType(p,!0))}getProtocolsArray(p){const o=[],a=p==="class";return a&&this._options.objcSupport&&o.push("NSObject"),this._options.justTypes||o.push("Codable"),this._options.protocol.hashable&&o.push("Hashable"),this._options.protocol.equatable&&o.push("Equatable"),this._options.sendable&&(!this._options.mutableProperties||!a)&&!this._options.objcSupport&&o.push("Sendable"),o}getProtocolString(p,o=void 0){let a=this.getProtocolsArray(p);return o&&a.unshift(o),a.length>0?": "+a.join(", "):""}getEnumPropertyGroups(p){let o=[],a=[];return this.forEachClassProperty(p,"none",(d,h)=>{const b=w(h),R=this.sourcelikeToString(d)===b;this._options.dense&&R?a.push({name:d}):(a.length>0&&(o.push(a),a=[]),o.push([{name:d,label:b}]))}),a.length>0&&o.push(a),o}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,o){const a=this._options.mutableProperties;return[this.accessLevel,a?"var ":"let ",p,": ",this.swiftPropertyType(o)]}renderClassDefinition(p,o){this.startFile(o),this.renderHeader(p,o),this.emitDescription(this.descriptionForType(p)),this.emitMark(this.sourcelikeToString(o),!0);const a=this._options.useClasses||this.isCycleBreakerType(p),d=a?"class":"struct";a&&this._options.objcSupport&&this.emitItem(this.objcMembersDeclaration),this.emitBlockWithAccess([d," ",o,this.getProtocolString(d)],()=>{if(this._options.dense){let h,b=[];const R=()=>{if(h===void 0)return;const x=this._options.mutableProperties;let j=[[this._options.optionalEnums&&h.type.kind==="enum"?"@OptionallyDecodable ":"",this.accessLevel,x||this._options.optionalEnums&&h.type.kind==="enum"?"var ":"let "]];b.forEach((W,k)=>{k>0&&j.push(", "),j.push(W)}),j.push(": "),j.push(this.swiftPropertyType(h)),this.emitLine(j),h=void 0,b=[]};this.forEachClassProperty(p,"none",(x,j,W)=>{const k=this.descriptionForClassProperty(p,j);(!W.equals(h)||b.length>=T||k!==void 0)&&R(),h===void 0&&(h=W),b.push(x),k!==void 0&&(this.emitDescription(k),R())}),R()}else this.forEachClassProperty(p,"none",(h,b,R)=>{const x=this.descriptionForClassProperty(p,b),j=this.propertyLinesDefinition(h,R);this.emitDescription(x),this.emitLine(j)});if(!this._options.justTypes){const h=this.getEnumPropertyGroups(p);!h.every(R=>R.every(x=>x.label===void 0))&&p.getProperties().size>0&&(this.ensureBlankLine(),this.emitBlock("enum CodingKeys: String, CodingKey",()=>{for(const R of h){const{name:x,label:j}=R[0];if(this._options.explicitCodingKeys&&j!==void 0)this.emitLine("case ",x,' = "',j,'"');else{const W=(0,t.arrayIntercalate)(", ",R.map(k=>k.name));this.emitLine("case ",W)}}}))}if(a||this._options.accessLevel==="public"){this.ensureBlankLine();let h=this.initializableProperties(p),b=[];for(let R of h)b.length>0&&b.push(", "),b.push(R.name,": ",this.swiftPropertyType(R.parameter));this.propertyCount(p)===0&&this._options.objcSupport?this.emitBlockWithAccess(["override init()"],()=>""):this.emitBlockWithAccess(["init(",...b,")"],()=>{for(let R of h)this.emitLine("self.",R.name," = ",R.name)})}}),this._options.justTypes||this._options.convenienceInitializers&&(this.ensureBlankLine(),this.emitMark(this.sourcelikeToString(o)+" convenience initializers and mutators"),this.ensureBlankLine(),this.emitConvenienceInitializersExtension(p,o),this.ensureBlankLine()),this.endFile()}initializableProperties(p){const o=[];return this.forEachClassProperty(p,"none",(a,d,h,b)=>{const R={name:a,jsonName:d,parameter:h,position:b};o.push(R)}),o}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,o){const a=this._options.useClasses||this.isCycleBreakerType(p),d=a?"convenience ":"";this.emitBlockWithAccess(["extension ",o],()=>{a?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",b=>{h.length>0&&h.push(", "),h.push(b,": ","me.",b)}),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([d,"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([d,"init(fromURL url: URL) throws"],()=>{this.emitLine("try self.init(data: try Data(contentsOf: url))")}),this.ensureBlankLine(),this.emitConvenienceMutator(p,o),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,o){this.startFile(o),this.emitLineOnce("import Foundation"),this.ensureBlankLine(),this.emitDescription(this.descriptionForType(p));const a=this.getProtocolString("enum","String");this._options.justTypes?this.emitBlockWithAccess(["enum ",o,a],()=>{this.forEachEnumCase(p,"none",d=>{this.emitLine("case ",d)})}):this.emitBlockWithAccess(["enum ",o,a],()=>{this.forEachEnumCase(p,"none",(d,h)=>{this.emitLine("case ",d,' = "',w(h),'"')})}),this.endFile()}renderUnionDefinition(p,o){this.startFile(o),this.emitLineOnce("import Foundation"),this.ensureBlankLine();function a(x){const j=x.kind;return j==="class"?j:"_"+j}const d=x=>{this.emitBlock(["if let x = try? container.decode(",this.swiftType(x),".self)"],()=>{this.emitLine("self = .",this.nameForUnionMember(p,x),"(x)"),this.emitLine("return")})};this.emitDescription(this.descriptionForType(p));const h=this.isCycleBreakerType(p)?"indirect ":"",[b,R]=(0,l.removeNullFromUnion)(p,a);this.emitBlockWithAccess([h,"enum ",o,this.getProtocolString("enum")],()=>{this.forEachUnionMember(p,R,"none",null,(x,j)=>{this.emitLine("case ",x,"(",this.swiftType(j),")")}),b!==null&&this.emitLine("case ",this.nameForUnionMember(p,b)),this._options.justTypes||(this.ensureBlankLine(),this.emitBlockWithAccess("init(from decoder: Decoder) throws",()=>{this.emitLine("let container = try decoder.singleValueContainer()");const x=p.findMember("bool");x!==void 0&&d(x);const j=p.findMember("integer");j!==void 0&&d(j);for(const W of R)W.kind==="bool"||W.kind==="integer"||d(W);b!==null&&this.emitBlock("if container.decodeNil()",()=>{this.emitLine("self = .",this.nameForUnionMember(p,b)),this.emitLine("return")}),this.emitDecodingError(o)}),this.ensureBlankLine(),this.emitBlockWithAccess("func encode(to encoder: Encoder) throws",()=>{this.emitLine("var container = encoder.singleValueContainer()"),this.emitLine("switch self {"),this.forEachUnionMember(p,R,"none",null,(x,j)=>{this.emitLine("case .",x,"(let x):"),this.indent(()=>this.emitLine("try container.encode(x)"))}),b!==null&&(this.emitLine("case .",this.nameForUnionMember(p,b),":"),this.indent(()=>this.emitLine("try container.encodeNil()"))),this.emitLine("}")}))}),this.endFile()}emitTopLevelMapAndArrayConvenienceInitializerExtensions(p,o){let a;if(p instanceof r.ArrayType)a=["Array where Element == ",o,".Element"];else if(p instanceof r.MapType)a=["Dictionary where Key == String, Value == ",this.swiftType(p.values)];else return;this.emitBlockWithAccess(["extension ",a],()=>{this.emitBlock(["init(data: Data) throws"],()=>{this.emitLine("self = try newJSONDecoder().decode(",o,".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,o){this.emitLine("func with("),this.indent(()=>{this.forEachClassProperty(p,"none",(a,d,h,b)=>{this.emitLine(a,": ",this.swiftPropertyType(h),"? = nil",b!=="only"&&b!=="last"?",":"")})}),this.emitBlock([") -> ",o],()=>{this.emitLine("return ",o,"("),this.indent(()=>{this.forEachClassProperty(p,"none",(a,d,h,b)=>{this.emitLine(a,": ",a," ?? self.",a,b!=="only"&&b!=="last"?",":"")})}),this.emitLine(")")})}emitMark(p,o=!1){this.emitLine("// MARK:",o?" - ":" ",p)}emitSourceStructure(){this._options.multiFileOutput===!1&&this.renderSingleFileHeaderComments(),this.forEachNamedType("leading-and-interposing",(p,o)=>this.renderClassDefinition(p,o),(p,o)=>this.renderEnumDefinition(p,o),(p,o)=>this.renderUnionDefinition(p,o)),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,o)=>{this.emitLine("@discardableResult"),this.emitBlock(["func response",o,"(queue: DispatchQueue? = nil, completionHandler: @escaping (DataResponse<",o,">) -> Void) -> Self"],()=>{this.emitLine("return responseDecodable(queue: queue, completionHandler: completionHandler)")})})})}}e.SwiftRenderer=L})(Np);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=Je,n=At,i=_t,r=qe,l=at,u=Ze,f=yt(),m=Ae,v=St,S=rt(),C=tt(),D=lr();var _;(function(N){N[N.None=0]="None",N[N.Jackson=1]="Jackson",N[N.Klaxon=2]="Klaxon",N[N.KotlinX=3]="KotlinX"})(_=e.Framework||(e.Framework={})),e.kotlinOptions={framework:new l.EnumOption("framework","Serialization framework",[["just-types",_.None],["jackson",_.Jackson],["klaxon",_.Klaxon],["kotlinx",_.KotlinX]],"klaxon"),acronymStyle:(0,D.acronymOption)(D.AcronymStyleOptions.Pascal),packageName:new l.StringOption("package","Package","PACKAGE","quicktype")};class E extends v.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,o){const a=(0,l.getOptionValues)(e.kotlinOptions,o);switch(a.framework){case _.None:return new F(this,p,a);case _.Jackson:return new w(this,p,a);case _.Klaxon:return new y(this,p,a);case _.KotlinX:return new L(this,p,a);default:return(0,m.assertNever)(a.framework)}}}e.KotlinTargetLanguage=E;const T=["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 P(N){return(0,f.isLetterOrUnderscore)(N)||(0,f.isNumeric)(N)}function I(N){return P(N)&&!(0,f.isDigit)(N)}const M=(0,f.legalizeCharacters)(P);function H(N,p,o=f.allUpperWordStyle){const a=(0,f.splitIntoWords)(p);return(0,f.combineWords)(a,M,N?f.firstUpperWordStyle:f.allLowerWordStyle,f.firstUpperWordStyle,N?f.allUpperWordStyle:f.allLowerWordStyle,o,"",I)}function Z(N){return"\\u"+(0,f.intToHex)(N,4)}const U=(0,f.utf32ConcatMap)((0,f.escapeNonPrintableMapper)(f.isPrintable,Z));function B(N){return U(N).replace(/\$/g,"\\$")}class F extends i.ConvenienceRenderer{constructor(p,o,a){super(p,o),this._kotlinOptions=a}forbiddenNamesForGlobalNamespace(){return T}forbiddenForObjectProperties(p,o){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(p,o){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(p,o){return{names:[],includeGlobalForbidden:!1}}topLevelNameStyle(p){return H(!0,p)}makeNamedTypeNamer(){return(0,r.funPrefixNamer)("upper",p=>H(!0,p,(0,D.acronymStyle)(this._kotlinOptions.acronymStyle)))}namerForObjectProperty(){return(0,r.funPrefixNamer)("lower",p=>H(!1,p,(0,D.acronymStyle)(this._kotlinOptions.acronymStyle)))}makeUnionMemberNamer(){return(0,r.funPrefixNamer)("upper",p=>H(!0,p)+"Value")}makeEnumCaseNamer(){return(0,r.funPrefixNamer)("upper",p=>H(!0,p,(0,D.acronymStyle)(this._kotlinOptions.acronymStyle)))}emitDescriptionBlock(p){this.emitCommentLines(p,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(p,o,a="curly"){const[d,h]=a==="curly"?["{","}"]:a==="paren"?["(",")"]:["{","})"];this.emitLine(p," ",d),this.indent(o),this.emitLine(h)}anySourceType(p){return["Any",p]}arrayType(p,o=!1,a=!1){return["List<",this.kotlinType(p.items,o),">"]}mapType(p,o=!1,a=!1){return["Map<String, ",this.kotlinType(p.values,o),">"]}kotlinType(p,o=!1,a=!1){const d=a?"":"?";return(0,C.matchType)(p,h=>(0,u.maybeAnnotated)(o,n.anyTypeIssueAnnotation,this.anySourceType(d)),h=>(0,u.maybeAnnotated)(o,n.nullTypeIssueAnnotation,this.anySourceType(d)),h=>"Boolean",h=>"Long",h=>"Double",h=>"String",h=>this.arrayType(h,o),h=>this.nameForNamedType(h),h=>this.mapType(h,o),h=>this.nameForNamedType(h),h=>{const b=(0,C.nullableFromUnion)(h);return b!==null?[this.kotlinType(b,o),d]: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()}emitTopLevelArray(p,o){const a=this.kotlinType(p.items);this.emitLine(["typealias ",o," = ArrayList<",a,">"])}emitTopLevelMap(p,o){const a=this.kotlinType(p.values);this.emitLine(["typealias ",o," = HashMap<String, ",a,">"])}emitEmptyClassDefinition(p,o){this.emitDescription(this.descriptionForType(p)),this.emitClassAnnotations(p,o),this.emitLine("class ",o,"()")}emitClassDefinition(p,o){if(p.getProperties().size===0){this.emitEmptyClassDefinition(p,o);return}const a=d=>d.isOptional?[this.kotlinType(d.type,!0,!0),"?"]:this.kotlinType(d.type,!0);this.emitDescription(this.descriptionForType(p)),this.emitClassAnnotations(p,o),this.emitLine("data class ",o," ("),this.indent(()=>{let d=p.getProperties().size,h=!0;this.forEachClassProperty(p,"none",(b,R,x)=>{const j=x.type.kind==="union"&&(0,C.nullableFromUnion)(x.type)!==null,W=x.isOptional||x.type.kind==="null"||j,k=--d===0;let O=[];const V=this.descriptionForClassProperty(p,R);V!==void 0&&O.push(()=>this.emitDescription(V)),this.renameAttribute(b,R,!W,O),O.length>0&&!h&&this.ensureBlankLine();for(const te of O)te();this.emitLine("val ",b,": ",a(x),W?" = null":"",k?"":","),O.length>0&&!k&&this.ensureBlankLine(),h=!1})}),this.emitClassDefinitionMethods(p,o)}emitClassDefinitionMethods(p,o){this.emitLine(")")}emitClassAnnotations(p,o){}renameAttribute(p,o,a,d){}emitEnumDefinition(p,o){this.emitDescription(this.descriptionForType(p)),this.emitBlock(["enum class ",o],()=>{let a=p.cases.size;this.forEachEnumCase(p,"none",d=>{this.emitLine(d,--a===0?"":",")})})}emitUnionDefinition(p,o){function a(b){const R=b.kind;return R==="class"?R:"_"+R}this.emitDescription(this.descriptionForType(p));const[d,h]=(0,C.removeNullFromUnion)(p,a);this.emitClassAnnotations(p,o),this.emitBlock(["sealed class ",o],()=>{{let b=[];this.forEachUnionMember(p,h,"none",null,(R,x)=>{b.push([["class ",R,"(val value: ",this.kotlinType(x),")"],[" : ",o,"()"]])}),d!==null&&b.push([["class ",this.nameForUnionMember(p,d),"()"],[" : ",o,"()"]]),this.emitTable(b)}this.emitUnionDefinitionMethods(p,h,d,o)})}emitUnionDefinitionMethods(p,o,a,d){}emitSourceStructure(){this.emitHeader(),this.forEachTopLevel("leading",(p,o)=>{p instanceof S.ArrayType?this.emitTopLevelArray(p,o):p instanceof S.MapType&&this.emitTopLevelMap(p,o)}),this.forEachNamedType("leading-and-interposing",(p,o)=>this.emitClassDefinition(p,o),(p,o)=>this.emitEnumDefinition(p,o),(p,o)=>this.emitUnionDefinition(p,o))}}e.KotlinRenderer=F;class y extends F{constructor(p,o,a){super(p,o,a)}unionMemberFromJsonValue(p,o){return(0,C.matchType)(p,a=>[o,".inside"],a=>"null",a=>[o,".boolean"],a=>["(",o,".int?.toLong() ?: ",o,".longValue)"],a=>[o,".double"],a=>[o,".string"],a=>[o,".array?.let { klaxon.parseFromJsonArray<",this.kotlinType(a.items),">(it) }"],a=>[o,".obj?.let { klaxon.parseFromJsonObject<",this.kotlinType(p),">(it) }"],a=>[o,".obj?.let { klaxon.parseFromJsonObject<",this.kotlinType(p),">(it) }"],a=>[o,".string?.let { ",this.kotlinType(a),".fromValue(it) }"],a=>(0,m.mustNotHappen)())}unionMemberJsonValueGuard(p,o){return(0,C.matchType)(p,a=>"is Any",a=>"null",a=>"is Boolean",a=>"is Int, is Long",a=>"is Double",a=>"is String",a=>"is JsonArray<*>",a=>"is JsonObject",a=>"is JsonObject",a=>"is String",a=>(0,m.mustNotHappen)())}emitUsageHeader(){this.emitLine("// To parse the JSON, install Klaxon and do:"),this.emitLine("//"),this.forEachTopLevel("none",(p,o)=>{this.emitLine("// val ",(0,u.modifySource)(f.camelCase,o)," = ",o,".fromJson(jsonString)")})}emitHeader(){super.emitHeader(),this.emitLine("import com.beust.klaxon.*");const p=(0,t.iterableSome)(this.typeGraph.allNamedTypes(),d=>d instanceof S.UnionType&&(0,C.nullableFromUnion)(d)===null),o=(0,t.iterableSome)(this.typeGraph.allNamedTypes(),d=>d instanceof S.ClassType&&d.getProperties().size===0);(p||this.haveEnums||o)&&this.emitGenericConverter();let a=[];o&&a.push([[".convert(JsonObject::class,"],[" { it.obj!! },"],[" { it.toJsonString() })"]]),this.forEachEnum("none",(d,h)=>{a.push([[".convert(",h,"::class,"],[" { ",h,".fromValue(it.string!!) },"],[' { "\\"${it.value}\\"" })']])}),this.forEachUnion("none",(d,h)=>{a.push([[".convert(",h,"::class,"],[" { ",h,".fromJson(it) },"],[" { it.toJson() }, true)"]])}),this.ensureBlankLine(),this.emitLine("private val klaxon = Klaxon()"),a.length>0&&this.indent(()=>this.emitTable(a))}emitTopLevelArray(p,o){const a=this.kotlinType(p.items);this.emitBlock(["class ",o,"(elements: Collection<",a,">) : ArrayList<",a,">(elements)"],()=>{this.emitLine("public fun toJson() = klaxon.toJsonString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("public fun fromJson(json: String) = ",o,"(klaxon.parseArray<",a,">(json)!!)")})})}emitTopLevelMap(p,o){const a=this.kotlinType(p.values);this.emitBlock(["class ",o,"(elements: Map<String, ",a,">) : HashMap<String, ",a,">(elements)"],()=>{this.emitLine("public fun toJson() = klaxon.toJsonString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitBlock(["public fun fromJson(json: String) = ",o],()=>{this.emitLine("klaxon.parseJsonObject(java.io.StringReader(json)) as Map<String, ",a,">")},"paren")})})}klaxonRenameAttribute(p,o,a=!1){const d=B(o),h=this.sourcelikeToString(p)!==d,b=[];return h&&b.push(['name = "',d,'"']),a&&b.push("ignored = true"),b.length===0?void 0:["@Json(",(0,t.arrayIntercalate)(", ",b),")"]}emitEmptyClassDefinition(p,o){this.emitDescription(this.descriptionForType(p)),this.emitLine("typealias ",o," = JsonObject")}emitClassDefinitionMethods(p,o){(0,t.iterableSome)(this.topLevels,([d,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<",o,">(json)")})}):this.emitLine(")")}renameAttribute(p,o,a,d){const h=this.klaxonRenameAttribute(p,o);h!==void 0&&d.push(()=>this.emitLine(h))}emitEnumDefinition(p,o){this.emitDescription(this.descriptionForType(p)),this.emitBlock(["enum class ",o,"(val value: String)"],()=>{let a=p.cases.size;this.forEachEnumCase(p,"none",(d,h)=>{this.emitLine(d,`("${B(h)}")`,--a===0?";":",")}),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitBlock(["public fun fromValue(value: String): ",o," = when (value)"],()=>{let d=[];this.forEachEnumCase(p,"none",(h,b)=>{d.push([[`"${B(b)}"`],[" -> ",h]])}),d.push([["else"],[" -> throw IllegalArgumentException()"]]),this.emitTable(d)})})})}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,o,a,d){this.ensureBlankLine(),this.emitLine("public fun toJson(): String = klaxon.toJsonString(when (this) {"),this.indent(()=>{let h=[];if(this.forEachUnionMember(p,o,"none",null,b=>{h.push([["is ",b],[" -> this.value"]])}),a!==null){const b=this.nameForUnionMember(p,a);h.push([["is ",b],[' -> "null"']])}this.emitTable(h)}),this.emitLine("})"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("public fun fromJson(jv: JsonValue): ",d," = when (jv.inside) {"),this.indent(()=>{let h=[];if(this.forEachUnionMember(p,o,"none",null,(b,R)=>{h.push([[this.unionMemberJsonValueGuard(R,"jv.inside")],[" -> ",b,"(",this.unionMemberFromJsonValue(R,"jv"),"!!)"]])}),a!==null){const b=this.nameForUnionMember(p,a);h.push([[this.unionMemberJsonValueGuard(a,"jv.inside")],[" -> ",b,"()"]])}h.push([["else"],[" -> throw IllegalArgumentException()"]]),this.emitTable(h)}),this.emitLine("}")})}}e.KotlinKlaxonRenderer=y;class w extends F{constructor(p,o,a){super(p,o,a)}unionMemberJsonValueGuard(p,o){return(0,C.matchType)(p,a=>"is Any",a=>"null",a=>"is BooleanNode",a=>"is IntNode, is LongNode",a=>"is DoubleNode",a=>"is TextNode",a=>"is ArrayNode",a=>"is ObjectNode",a=>"is ObjectNode",a=>"is TextNode",a=>(0,m.mustNotHappen)())}emitUsageHeader(){this.emitLine("// To parse the JSON, install jackson-module-kotlin and do:"),this.emitLine("//"),this.forEachTopLevel("none",(p,o)=>{this.emitLine("// val ",(0,u.modifySource)(f.camelCase,o)," = ",o,".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(),d=>d instanceof S.UnionType&&(0,C.nullableFromUnion)(d)===null),o=(0,t.iterableSome)(this.typeGraph.allNamedTypes(),d=>d instanceof S.ClassType&&d.getProperties().size===0);(p||this.haveEnums||o)&&this.emitGenericConverter();let a=[];this.forEachEnum("none",(d,h)=>{a.push([["convert(",h,"::class,"],[" { ",h,".fromValue(it.asText()) },"],[' { "\\"${it.value}\\"" })']])}),this.forEachUnion("none",(d,h)=>{a.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)")}),a.length>0&&this.indent(()=>this.emitTable(a)),this.emitLine("}")}emitTopLevelArray(p,o){const a=this.kotlinType(p.items);this.emitBlock(["class ",o,"(elements: Collection<",a,">) : ArrayList<",a,">(elements)"],()=>{this.emitLine("fun toJson() = mapper.writeValueAsString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("fun fromJson(json: String) = mapper.readValue<",o,">(json)")})})}emitTopLevelMap(p,o){const a=this.kotlinType(p.values);this.emitBlock(["class ",o,"(elements: Map<String, ",a,">) : HashMap<String, ",a,">(elements)"],()=>{this.emitLine("fun toJson() = mapper.writeValueAsString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("fun fromJson(json: String) = mapper.readValue<",o,">(json)")})})}jacksonRenameAttribute(p,o,a,d=!1){const h=B(o),b=this.sourcelikeToString(p)!==h,R=[],x=o.startsWith("is"),j=[];return(b||x)&&j.push('"'+h+'"'),a&&j.push("required=true"),j.length>0&&(R.push(["@get:JsonProperty(",(0,t.arrayIntercalate)(", ",j),")"]),R.push(["@field:JsonProperty(",(0,t.arrayIntercalate)(", ",j),")"])),d&&(R.push("@get:JsonIgnore"),R.push("@field:JsonIgnore")),R.length===0?void 0:R}emitEmptyClassDefinition(p,o){this.emitDescription(this.descriptionForType(p)),this.emitLine("typealias ",o," = JsonNode")}emitClassDefinitionMethods(p,o){(0,t.iterableSome)(this.topLevels,([d,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<",o,">(json)")})}):this.emitLine(")")}renameAttribute(p,o,a,d){const h=this.jacksonRenameAttribute(p,o,a);h!==void 0&&d.push(()=>this.emitLine(h))}emitEnumDefinition(p,o){this.emitDescription(this.descriptionForType(p)),this.emitBlock(["enum class ",o,"(val value: String)"],()=>{let a=p.cases.size;this.forEachEnumCase(p,"none",(d,h)=>{this.emitLine(d,`("${B(h)}")`,--a===0?";":",")}),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitBlock(["fun fromValue(value: String): ",o," = when (value)"],()=>{let d=[];this.forEachEnumCase(p,"none",(h,b)=>{d.push([[`"${B(b)}"`],[" -> ",h]])}),d.push([["else"],[" -> throw IllegalArgumentException()"]]),this.emitTable(d)})})})}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,o,a,d){this.ensureBlankLine(),this.emitLine("fun toJson(): String = mapper.writeValueAsString(when (this) {"),this.indent(()=>{let h=[];if(this.forEachUnionMember(p,o,"none",null,b=>{h.push([["is ",b],[" -> this.value"]])}),a!==null){const b=this.nameForUnionMember(p,a);h.push([["is ",b],[' -> "null"']])}this.emitTable(h)}),this.emitLine("})"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("fun fromJson(jn: JsonNode): ",d," = when (jn) {"),this.indent(()=>{let h=[];if(this.forEachUnionMember(p,o,"none",null,(b,R)=>{h.push([[this.unionMemberJsonValueGuard(R,"jn")],[" -> ",b,"(mapper.treeToValue(jn))"]])}),a!==null){const b=this.nameForUnionMember(p,a);h.push([[this.unionMemberJsonValueGuard(a,"jn")],[" -> ",b,"()"]])}h.push([["else"],[" -> throw IllegalArgumentException()"]]),this.emitTable(h)}),this.emitLine("}")})}}e.KotlinJacksonRenderer=w;class L extends F{constructor(p,o,a){super(p,o,a)}anySourceType(p){return["JsonElement",p]}arrayType(p,o=!1,a=!1){const d=this.kotlinType(p.items,o,!0),h=this.sourcelikeToString(d);return h==="JsonObject"||h==="JsonElement"?"JsonArray":super.arrayType(p,o,a)}mapType(p,o=!1,a=!1){const d=this.kotlinType(p.values,o,!0),h=this.sourcelikeToString(d);return h==="JsonObject"||h==="JsonElement"?"JsonObject":super.mapType(p,o,a)}emitTopLevelMap(p,o){this.kotlinType(p.values)==="JsonObject"?this.emitLine(["typealias ",o," = JsonObject"]):super.emitTopLevelMap(p,o)}emitTopLevelArray(p,o){const a=this.kotlinType(p.items);this.emitLine(["typealias ",o," = JsonArray<",a,">"])}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",(o,a)=>{p.push(["// val ",(0,u.modifySource)(f.camelCase,a),` = json.parse(${this.sourcelikeToString(a)}.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,o){this.emitLine("@Serializable")}renameAttribute(p,o,a,d){const h=this._rename(p,o);h!==void 0&&d.push(()=>this.emitLine(h))}_rename(p,o){const a=B(o);if(this.sourcelikeToString(p)!==a)return['@SerialName("',a,'")']}emitEnumDefinition(p,o){this.emitDescription(this.descriptionForType(p)),this.emitLine(["@Serializable"]),this.emitBlock(["enum class ",o,"(val value: String)"],()=>{let a=p.cases.size;this.forEachEnumCase(p,"none",(d,h)=>{const b=B(h);this.emitLine(`@SerialName("${b}") `,d,`("${b}")`,--a===0?";":",")})})}}e.KotlinXRenderer=L})(kp);var Op={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scala3TargetLanguage=e.CirceRenderer=e.Smithy4sRenderer=e.UpickleRenderer=e.Scala3Renderer=e.scala3Options=e.Framework=void 0;const t=At,n=_t,i=qe,r=at,l=Ze,u=yt(),f=Ae,m=St,v=rt(),S=tt();var C;(function(N){N[N.None=0]="None",N[N.Upickle=1]="Upickle",N[N.Circe=2]="Circe"})(C=e.Framework||(e.Framework={})),e.scala3Options={framework:new r.EnumOption("framework","Serialization framework",[["just-types",C.None],["circe",C.Circe],["upickle",C.Upickle]],void 0),packageName:new r.StringOption("package","Package","PACKAGE","quicktype")};const D=[":","-","+","!","@","#","$","%","^","&","*","(",")",">","<","/",";","'",'"',"{","}",":","~","`","."],_=["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"],E=N=>_.some(p=>N===p)||D.some(p=>N.includes(p))||!isNaN(+parseFloat(N))||!isNaN(parseInt(N.charAt(0))),T=(N,p)=>p?"Option["+N+"]":N;function P(N){return(0,u.isLetterOrUnderscore)(N)||(0,u.isNumeric)(N)}function I(N){return P(N)&&!(0,u.isDigit)(N)}const M=(0,u.legalizeCharacters)(P);function H(N,p){const o=(0,u.splitIntoWords)(p);return(0,u.combineWords)(o,M,N?u.firstUpperWordStyle:u.allLowerWordStyle,u.firstUpperWordStyle,N?u.allUpperWordStyle:u.allLowerWordStyle,u.allUpperWordStyle,"",I)}const Z=(0,i.funPrefixNamer)("upper",N=>H(!0,N)),U=(0,i.funPrefixNamer)("lower",N=>H(!1,N));class B extends n.ConvenienceRenderer{constructor(p,o,a){super(p,o),this._scalaOptions=a}forbiddenNamesForGlobalNamespace(){return _}forbiddenForObjectProperties(p,o){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(p,o){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(p,o){return{names:[],includeGlobalForbidden:!1}}topLevelNameStyle(p){return H(!0,p)}makeNamedTypeNamer(){return Z}namerForObjectProperty(){return U}makeUnionMemberNamer(){return(0,i.funPrefixNamer)("upper",p=>H(!0,p)+"Value")}makeEnumCaseNamer(){return(0,i.funPrefixNamer)("upper",p=>p.replace(" ",""))}emitDescriptionBlock(p){this.emitCommentLines(p,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(p,o,a="curly"){const[d,h]=a==="curly"?["{","}"]:a==="paren"?["(",")"]:a==="none"?["",""]:["{","})"];this.emitLine(p," ",d),this.indent(o),this.emitLine(h)}anySourceType(p){return[T("Any",p)]}arrayType(p,o=!1){return["Seq[",this.scalaType(p.items,o),"]"]}mapType(p,o=!1){return["Map[String, ",this.scalaType(p.values,o),"]"]}scalaType(p,o=!1,a=!1){return(0,S.matchType)(p,d=>(0,l.maybeAnnotated)(o,t.anyTypeIssueAnnotation,this.anySourceType(!a)),d=>(0,l.maybeAnnotated)(o,t.nullTypeIssueAnnotation,this.anySourceType(!a)),d=>"Boolean",d=>"Long",d=>"Double",d=>"String",d=>this.arrayType(d,o),d=>this.nameForNamedType(d),d=>this.mapType(d,o),d=>this.nameForNamedType(d),d=>{const h=(0,S.nullableFromUnion)(d);return h!==null?a?[this.scalaType(h,o)]:["Option[",this.scalaType(h,o),"]"]:this.nameForNamedType(d)})}emitUsageHeader(){}emitHeader(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this.emitUsageHeader(),this.ensureBlankLine(),this.emitLine("package ",this._scalaOptions.packageName),this.ensureBlankLine()}emitTopLevelArray(p,o){const a=this.scalaType(p.items);this.emitLine(["type ",o," = List[",a,"]"])}emitTopLevelMap(p,o){const a=this.scalaType(p.values);this.emitLine(["type ",o," = Map[String, ",a,"]"])}emitEmptyClassDefinition(p,o){this.emitDescription(this.descriptionForType(p)),this.emitLine("case class ",o,"()")}emitClassDefinition(p,o){if(p.getProperties().size===0){this.emitEmptyClassDefinition(p,o);return}const a=d=>d.isOptional?["Option[",this.scalaType(d.type,!0,!0),"]"]:this.scalaType(d.type,!0);this.emitDescription(this.descriptionForType(p)),this.emitLine("case class ",o," ("),this.indent(()=>{let d=p.getProperties().size,h=!0;this.forEachClassProperty(p,"none",(b,R,x)=>{const j=x.type.kind==="union"&&(0,S.nullableFromUnion)(x.type)!==null,W=x.isOptional||x.type.kind==="null"||j,k=--d===0,O=[],V=this.descriptionForClassProperty(p,R);V!==void 0&&O.push(()=>this.emitDescription(V)),O.length>0&&!h&&this.ensureBlankLine();for(const Y of O)Y();const ue=R.endsWith("_")||E(R)?"`"+R+"`":R;this.emitLine("val ",ue," : ",a(x),x.isOptional||W?" = None":"",k?"":","),O.length>0&&!k&&this.ensureBlankLine(),h=!1})}),this.emitClassDefinitionMethods()}emitClassDefinitionMethods(){this.emitLine(")")}emitEnumDefinition(p,o){this.emitDescription(this.descriptionForType(p)),this.emitBlock(["enum ",o," : "],()=>{let a=p.cases.size;a>0&&this.emitItem(" case "),this.forEachEnumCase(p,"none",(d,h)=>{if(h!=""){const b=E(h)||h.includes(" ")||!isNaN(parseInt(h.charAt(0)));b&&this.emitItem("`"),this.emitItemOnce([d]),b&&this.emitItem("`"),--a>0&&this.emitItem([","])}else--a})},"none")}emitUnionDefinition(p,o){function a(R){const x=R.kind;return x==="class"?x:"_"+x}this.emitDescription(this.descriptionForType(p));const[d,h]=(0,S.removeNullFromUnion)(p,a),b=[];this.forEachUnionMember(p,h,"none",null,(R,x)=>{b.push(this.scalaType(x))}),d!==null&&b.push(this.nameForUnionMember(p,d)),this.emitItem(["type ",o," = "]),b.forEach((R,x)=>{this.emitItem(x===0?R:[" | ",R])}),this.ensureBlankLine()}emitSourceStructure(){this.emitHeader(),this.forEachTopLevel("leading",(p,o)=>{p instanceof v.ArrayType?this.emitTopLevelArray(p,o):p instanceof v.MapType&&this.emitTopLevelMap(p,o)}),this.forEachNamedType("leading-and-interposing",(p,o)=>this.emitClassDefinition(p,o),(p,o)=>this.emitEnumDefinition(p,o),(p,o)=>this.emitUnionDefinition(p,o))}}e.Scala3Renderer=B;class F extends B{emitClassDefinitionMethods(){this.emitLine(") derives ReadWriter ")}emitHeader(){super.emitHeader(),this.emitLine("import upickle.default.*"),this.ensureBlankLine()}}e.UpickleRenderer=F;class y extends B{emitHeader(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this.emitUsageHeader(),this.ensureBlankLine(),this.emitLine("namespace ",this._scalaOptions.packageName),this.ensureBlankLine()}emitTopLevelArray(p,o){const a=this.scalaType(p.items);this.emitLine(["list ",o," { member : ",a,"}"])}emitTopLevelMap(p,o){const a=this.scalaType(p.values);this.emitLine(["map ",o," { map[ key : String , value : ",a,"}"])}emitEmptyClassDefinition(p,o){this.emitDescription(this.descriptionForType(p)),this.emitLine("structure ",o,"{}")}emitEnumDefinition(p,o){this.emitDescription(this.descriptionForType(p)),this.ensureBlankLine(),this.emitItem(["enum ",o," { "]);let a=p.cases.size;this.forEachEnumCase(p,"none",(d,h)=>{this.emitLine(),this.emitItem([d,' = "',h,'"']),--a>0&&this.emitItem([","])}),this.ensureBlankLine(),this.emitItem(["}"])}}e.Smithy4sRenderer=y;class w extends B{constructor(){super(...arguments),this.seenUnionTypes=[]}circeEncoderForType(p,o=!1,a=!1,d=""){return(0,S.matchType)(p,h=>["Encoder.encodeJson(",d,")"],h=>["Encoder.encodeNone(",d,")"],h=>["Encoder.encodeBoolean(",d,")"],h=>["Encoder.encodeLong(",d,")"],h=>["Encoder.encodeDouble(",d,")"],h=>["Encoder.encodeString(",d,")"],h=>["Encoder.encodeSeq[",this.scalaType(h.items),"].apply(",d,")"],h=>["Encoder.AsObject[",this.scalaType(h),"].apply(",d,")"],h=>["Encoder.encodeMap[String,",this.scalaType(h.values),"].apply(",d,")"],h=>["Encoder.encodeString(",d,")"],h=>{const b=(0,S.nullableFromUnion)(h);return b!==null?a?["Encoder.AsObject[",this.nameForNamedType(b),"]"]:["Encoder.AsObject[Option[",this.nameForNamedType(b),"]]"]:["Encoder.AsObject[",this.nameForNamedType(h),"]"]})}emitEmptyClassDefinition(p,o){this.emitDescription(this.descriptionForType(p)),this.ensureBlankLine(),this.emitLine("case class ",o,"() derives Encoder.AsObject, Decoder")}anySourceType(p){return[T("Json",p)]}emitClassDefinitionMethods(){this.emitLine(") derives Encoder.AsObject, Decoder")}emitEnumDefinition(p,o){this.emitDescription(this.descriptionForType(p)),this.ensureBlankLine(),this.emitItem(["type ",o," = "]);let a=p.cases.size;this.forEachEnumCase(p,"none",(d,h)=>{this.emitItem(['"',h,'"']),--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(p,o){super.emitTopLevelArray(p,o);const a=this.scalaType(p.items);this.emitLine(["given (using ev : ",a,"): Encoder[Map[String,",a,"]] = Encoder.encodeMap[String, ",a,"]"])}emitTopLevelMap(p,o){super.emitTopLevelMap(p,o);const a=this.scalaType(p.values);this.ensureBlankLine(),this.emitLine(["given (using ev : ",a,"): Encoder[Map[String, ",a,"]] = Encoder.encodeMap[String, ",a,"]"])}emitUnionDefinition(p,o){function a(x){const j=x.kind;return j==="class"?j:"_"+j}this.emitDescription(this.descriptionForType(p));const[d,h]=(0,S.removeNullFromUnion)(p,a),b=[];this.forEachUnionMember(p,h,"none",null,(x,j)=>{b.push(this.scalaType(j))}),d!==null&&b.push(this.nameForUnionMember(p,d)),this.emitItem(["type ",o," = "]),b.forEach((x,j)=>{this.emitItem(j===0?x:[" | ",x])});const R=b.map(x=>this.sourcelikeToString(x)).join(" | ");if(this.ensureBlankLine(),!this.seenUnionTypes.some(x=>x===R)){this.seenUnionTypes.push(R);const x=[];this.forEachUnionMember(p,h,"none",null,(j,W)=>{x.push([this.scalaType(W),W])}),d!==null&&x.push([this.nameForUnionMember(p,d),d]),this.emitLine(["given Decoder[",o,"] = {"]),this.indent(()=>{this.emitLine(["List[Decoder[",o,"]]("]),this.indent(()=>{x.forEach(j=>{this.emitLine(["Decoder[",j[0],"].widen,"])})}),this.emitLine(").reduceLeft(_ or _)")}),this.emitLine(["}"]),this.ensureBlankLine(),this.emitLine(["given Encoder[",o,"] = Encoder.instance {"]),this.indent(()=>{x.forEach((j,W)=>{const k=`enc${W.toString()}`;this.emitLine(["case ",k," : ",j[0]," => ",this.circeEncoderForType(j[1],!1,!1,k)])})}),this.emitLine("}")}}}e.CirceRenderer=w;class L extends m.TargetLanguage{constructor(){super("Scala3",["scala3"],"scala")}getOptions(){return[e.scala3Options.framework,e.scala3Options.packageName]}get supportsOptionalClassProperties(){return!0}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(p,o){const a=(0,r.getOptionValues)(e.scala3Options,o);switch(a.framework){case C.None:return new B(this,p,a);case C.Upickle:return new F(this,p,a);case C.Circe:return new w(this,p,a);default:return(0,f.assertNever)(a.framework)}}}e.Scala3TargetLanguage=L})(Op);var Ep={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.SmithyTargetLanguage=e.Smithy4sRenderer=e.SmithyOptions=e.Framework=void 0;const t=At,n=_t,i=qe,r=at,l=Ze,u=yt(),f=Ae,m=St,v=rt(),S=tt();var C;(function(F){F[F.None=0]="None"})(C=e.Framework||(e.Framework={})),e.SmithyOptions={framework:new r.EnumOption("framework","Serialization framework",[["just-types",C.None]],void 0),packageName:new r.StringOption("package","Package","PACKAGE","quicktype")};const D=[":","-","+","!","@","#","%","^","&","*","(",")",">","<","/",";","'",'"',"{","}",":","~","`","."],_=["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"],E=F=>_.some(y=>F===y)||D.some(y=>F.includes(y))||!isNaN(parseFloat(F))||!isNaN(parseInt(F.charAt(0)));function T(F){return(0,u.isLetterOrUnderscore)(F)||(0,u.isNumeric)(F)}function P(F){return T(F)&&!(0,u.isDigit)(F)}const I=(0,u.legalizeCharacters)(T);function M(F,y){const w=(0,u.splitIntoWords)(y);return(0,u.combineWords)(w,I,F?u.firstUpperWordStyle:u.allLowerWordStyle,u.firstUpperWordStyle,F?u.allUpperWordStyle:u.allLowerWordStyle,u.allUpperWordStyle,"",P)}const H=(0,i.funPrefixNamer)("upper",F=>M(!0,F)),Z=(0,i.funPrefixNamer)("lower",F=>M(!1,F));class U extends n.ConvenienceRenderer{constructor(y,w,L){super(y,w),this._scalaOptions=L}forbiddenNamesForGlobalNamespace(){return _}forbiddenForObjectProperties(y,w){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(y,w){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(y,w){return{names:[],includeGlobalForbidden:!1}}topLevelNameStyle(y){return M(!0,y)}makeNamedTypeNamer(){return H}namerForObjectProperty(){return Z}makeUnionMemberNamer(){return(0,i.funPrefixNamer)("upper",y=>M(!0,y)+"Value")}makeEnumCaseNamer(){return(0,i.funPrefixNamer)("upper",y=>y.replace(" ",""))}emitDescriptionBlock(y){this.emitCommentLines(y,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(y,w,L="curly"){const[N,p]=L==="curly"?["{","}"]:L==="paren"?["(",")"]:L==="none"?["",""]:["{","})"];this.emitLine(y," ",N),this.indent(w),this.emitLine(p)}anySourceType(y){return["Document"]}arrayType(y,w=!1){return y.getCombinedName().toString()+"List"}emitArrayType(y,w){this.emitLine(["list ",w," { member : ","}"])}mapType(y,w=!1){return y.getCombinedName().toString()+"Map"}scalaType(y,w=!1,L=!1){return(0,S.matchType)(y,N=>(0,l.maybeAnnotated)(w,t.anyTypeIssueAnnotation,this.anySourceType(!L)),N=>(0,l.maybeAnnotated)(w,t.nullTypeIssueAnnotation,this.anySourceType(!L)),N=>"Boolean",N=>"Long",N=>"Double",N=>"String",N=>this.arrayType(N,w),N=>this.nameForNamedType(N),N=>this.mapType(N,w),N=>this.nameForNamedType(N),N=>{const p=(0,S.nullableFromUnion)(N);return p!==null?[this.scalaType(p,w)]:this.nameForNamedType(N)})}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(y,w){const L=this.scalaType(y.items);this.emitLine(["list ",w," { member : ",L,"}"])}emitTopLevelMap(y,w){const L=this.scalaType(y.values);this.emitLine(["map ",w," { map[ key : String , value : ",L,"}"])}emitEmptyClassDefinition(y,w){this.emitDescription(this.descriptionForType(y)),this.emitLine("structure ",w,"{}")}emitClassDefinition(y,w){if(y.getProperties().size===0){this.emitEmptyClassDefinition(y,w);return}const L=p=>p.isOptional?[this.scalaType(p.type,!0,!0)]:[this.scalaType(p.type,!0)],N=[];this.emitDescription(this.descriptionForType(y)),this.emitLine("structure ",w," {"),this.indent(()=>{let p=y.getProperties().size,o=!0;this.forEachClassProperty(y,"none",(a,d,h)=>{const b=h.type.kind==="union"&&(0,S.nullableFromUnion)(h.type)!==null,R=h.isOptional||h.type.kind==="null"||b,x=--p===0,j=[];(h.type.kind==="array"||h.type.kind==="map")&&N.push(h);const k=this.descriptionForClassProperty(y,d);k!==void 0&&j.push(()=>this.emitDescription(k)),j.length>0&&!o&&this.ensureBlankLine();for(const te of j)te();const V=d.endsWith("_")||E(d)?"`"+d+"`":d;this.emitLine(h.isOptional||R?"":"@required ",V," : ",L(h),x?"":","),j.length>0&&!x&&this.ensureBlankLine(),o=!1})}),this.emitClassDefinitionMethods(N)}emitClassDefinitionMethods(y){this.emitLine("}"),y.forEach(w=>{function L(N){}(0,S.matchCompoundType)(w.type,N=>{this.emitLine(["list ",this.scalaType(N,!0),"{ member: ",this.scalaType(N.items,!0),"}"])},L,N=>{this.emitLine(["map ",this.scalaType(N,!0),"{ key: String , value: ",this.scalaType(N.values,!0),"}"])},L,L)})}emitEnumDefinition(y,w){this.emitDescription(this.descriptionForType(y)),this.ensureBlankLine(),this.emitItem(["enum ",w," { "]);let L=y.cases.size;this.forEachEnumCase(y,"none",(N,p)=>{this.emitLine(),this.emitItem([N,' = "',p,'"']),--L>0&&this.emitItem([","])}),this.ensureBlankLine(),this.emitItem(["}"])}emitUnionDefinition(y,w){function L(d){const h=d.kind;return h==="class"?h:"_"+h}const N=[];this.emitDescription(this.descriptionForType(y));const[p,o]=(0,S.removeNullFromUnion)(y,L),a=[];this.forEachUnionMember(y,o,"none",null,(d,h)=>{(h.kind==="array"||h.kind==="map")&&N.push(h),a.push(this.scalaType(h))}),p!==null&&a.push(this.nameForUnionMember(y,p)),this.emitLine(["@untagged union ",w," { "]),this.indent(()=>{a.forEach((d,h)=>{this.emitLine([String.fromCharCode(h+65)," : ",d])})}),this.emitLine("}"),this.ensureBlankLine(),N.forEach(d=>{function h(b){}(0,S.matchCompoundType)(d,b=>{this.emitLine(["list ",this.scalaType(b,!0),"{ member: ",this.scalaType(b.items,!0),"}"])},h,b=>{this.emitLine(["map ",this.scalaType(b,!0),"{ key: String , value: ",this.scalaType(b.values,!0),"}"])},h,h)})}emitSourceStructure(){this.emitHeader(),this.forEachTopLevel("leading",(y,w)=>{y instanceof v.ArrayType?this.emitTopLevelArray(y,w):y instanceof v.MapType&&this.emitTopLevelMap(y,w)}),this.forEachNamedType("leading-and-interposing",(y,w)=>this.emitClassDefinition(y,w),(y,w)=>this.emitEnumDefinition(y,w),(y,w)=>this.emitUnionDefinition(y,w))}}e.Smithy4sRenderer=U;class B extends m.TargetLanguage{constructor(){super("Smithy",["Smithy"],"smithy")}getOptions(){return[e.SmithyOptions.framework,e.SmithyOptions.packageName]}get supportsOptionalClassProperties(){return!0}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(y,w){const L=(0,r.getOptionValues)(e.SmithyOptions,w);switch(L.framework){case C.None:return new U(this,y,L);default:return(0,f.assertNever)(L.framework)}}}e.SmithyTargetLanguage=B})(Ep);var Cp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ElmRenderer=e.ElmTargetLanguage=e.elmOptions=void 0;const t=Je,n=St,i=at,r=rt(),l=tt(),u=_t,f=qe,m=yt(),v=Ae,S=Ze,C=At;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 D 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,B){return new H(this,U,(0,i.getOptionValues)(e.elmOptions,B))}}e.ElmTargetLanguage=D;const _=["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"],E=(0,m.legalizeCharacters)(Z=>(0,m.isAscii)(Z)&&(0,m.isLetterOrUnderscoreOrDigit)(Z));function T(Z,U){const B=(0,m.splitIntoWords)(Z);return(0,m.combineWords)(B,E,U?m.firstUpperWordStyle:m.allLowerWordStyle,m.firstUpperWordStyle,U?m.allUpperWordStyle:m.allLowerWordStyle,m.allUpperWordStyle,"",m.isLetterOrUnderscore)}const P=(0,f.funPrefixNamer)("upper",Z=>T(Z,!0)),I=(0,f.funPrefixNamer)("lower",Z=>T(Z,!1));function M(Z){function U(F){return{reqOrOpt:"Jpipe.optional",fallback:F}}const B=Z.type;return Z.isOptional||B instanceof r.UnionType&&(0,l.nullableFromUnion)(B)!==null?U(" Nothing"):B.kind==="null"?U(" ()"):{reqOrOpt:"Jpipe.required",fallback:""}}class H extends u.ConvenienceRenderer{constructor(U,B,F){super(U,B),this._options=F,this._topLevelDependents=new Map,this._namedTypeDependents=new Map}forbiddenNamesForGlobalNamespace(){return _}makeTopLevelDependencyNames(U,B){const F=new f.DependencyName(I,B.order,w=>`${w(B)}_to_string`);let y;return this.namedTypeToNameForTopLevel(U)===void 0&&(y=new f.DependencyName(I,B.order,w=>w(B))),this._topLevelDependents.set(B,{encoder:F,decoder:y}),y!==void 0?[F,y]:[F]}makeNamedTypeNamer(){return P}makeNamedTypeDependencyNames(U,B){const F=new f.DependencyName(I,B.order,w=>`encode_${w(B)}`),y=new f.DependencyName(I,B.order,w=>w(B));return this._namedTypeDependents.set(B,{encoder:F,decoder:y}),[F,y]}namerForObjectProperty(){return I}forbiddenForObjectProperties(U,B){return{names:[],includeGlobalForbidden:!0}}makeUnionMemberNamer(){return P}get unionMembersInGlobalNamespace(){return!0}makeEnumCaseNamer(){return P}get enumCasesInGlobalNamespace(){return!0}proposeUnionMemberName(U,B,F,y){return`${super.proposeUnionMemberName(U,B,F,y)}_in_${y(B)}`}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,B=!1){return(0,l.matchType)(U,F=>(0,S.singleWord)((0,S.annotated)(C.anyTypeIssueAnnotation,"Jdec.Value")),F=>(0,S.singleWord)((0,S.annotated)(C.nullTypeIssueAnnotation,"()")),F=>(0,S.singleWord)("Bool"),F=>(0,S.singleWord)("Int"),F=>(0,S.singleWord)("Float"),F=>(0,S.singleWord)("String"),F=>(0,S.multiWord)(" ",this.arrayType,(0,S.parenIfNeeded)(this.elmType(F.items))),F=>(0,S.singleWord)(this.nameForNamedType(F)),F=>(0,S.multiWord)(" ","Dict String",(0,S.parenIfNeeded)(this.elmType(F.values))),F=>(0,S.singleWord)(this.nameForNamedType(F)),F=>{const y=(0,l.nullableFromUnion)(F);if(y!==null){const w=this.elmType(y);return B?w:(0,S.multiWord)(" ","Maybe",(0,S.parenIfNeeded)(w))}return(0,S.singleWord)(this.nameForNamedType(F))})}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 B=this.nameForNamedType(U);return(0,v.defined)(this._namedTypeDependents.get(B)).decoder}decoderNameForType(U,B=!1){return(0,l.matchType)(U,F=>(0,S.singleWord)("Jdec.value"),F=>(0,S.multiWord)(" ","Jdec.null","()"),F=>(0,S.singleWord)("Jdec.bool"),F=>(0,S.singleWord)("Jdec.int"),F=>(0,S.singleWord)("Jdec.float"),F=>(0,S.singleWord)("Jdec.string"),F=>(0,S.multiWord)(" ",["Jdec.",(0,m.decapitalize)(this.arrayType)],(0,S.parenIfNeeded)(this.decoderNameForType(F.items))),F=>(0,S.singleWord)(this.decoderNameForNamedType(F)),F=>(0,S.multiWord)(" ","Jdec.dict",(0,S.parenIfNeeded)(this.decoderNameForType(F.values))),F=>(0,S.singleWord)(this.decoderNameForNamedType(F)),F=>{const y=(0,l.nullableFromUnion)(F);if(y!==null){const w=this.decoderNameForType(y);return B?w:(0,S.multiWord)(" ","Jdec.nullable",(0,S.parenIfNeeded)(w))}return(0,S.singleWord)(this.decoderNameForNamedType(F))})}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 B=this.nameForNamedType(U);return(0,v.defined)(this._namedTypeDependents.get(B)).encoder}encoderNameForType(U,B=!1){return(0,l.matchType)(U,F=>(0,S.singleWord)("identity"),F=>(0,S.multiWord)(" ","always","Jenc.null"),F=>(0,S.singleWord)("Jenc.bool"),F=>(0,S.singleWord)("Jenc.int"),F=>(0,S.singleWord)("Jenc.float"),F=>(0,S.singleWord)("Jenc.string"),F=>(0,S.multiWord)(" ",["make",this.arrayType,"Encoder"],(0,S.parenIfNeeded)(this.encoderNameForType(F.items))),F=>(0,S.singleWord)(this.encoderNameForNamedType(F)),F=>(0,S.multiWord)(" ","makeDictEncoder",(0,S.parenIfNeeded)(this.encoderNameForType(F.values))),F=>(0,S.singleWord)(this.encoderNameForNamedType(F)),F=>{const y=(0,l.nullableFromUnion)(F);if(y!==null){const w=this.encoderNameForType(y);return B?w:(0,S.multiWord)(" ","makeNullableEncoder",(0,S.parenIfNeeded)(w))}return(0,S.singleWord)(this.encoderNameForNamedType(F))})}encoderNameForProperty(U){return U.isOptional?(0,S.multiWord)(" ","makeNullableEncoder",(0,S.parenIfNeeded)(this.encoderNameForType(U.type,!0))):this.encoderNameForType(U.type)}emitTopLevelDefinition(U,B){this.emitLine("type alias ",B," = ",this.elmType(U).source)}emitClassDefinition(U,B){let F=this.descriptionForType(U);this.forEachClassProperty(U,"none",(y,w)=>{const L=this.descriptionForClassProperty(U,w);L!==void 0&&(F===void 0?F=[]:F.push(""),F.push(`${this.sourcelikeToString(y)}:`),F.push(...L))}),this.emitDescription(F),this.emitLine("type alias ",B," ="),this.indent(()=>{let y=!0;this.forEachClassProperty(U,"none",(w,L,N)=>{this.emitLine(y?"{":","," ",w," : ",this.elmProperty(N)),y=!1}),y&&this.emitLine("{"),this.emitLine("}")})}emitEnumDefinition(U,B){this.emitDescription(this.descriptionForType(U)),this.emitLine("type ",B),this.indent(()=>{let F=!0;this.forEachEnumCase(U,"none",y=>{const w=F?"=":"|";this.emitLine(w," ",y),F=!1})})}emitUnionDefinition(U,B){this.emitDescription(this.descriptionForType(U)),this.emitLine("type ",B),this.indent(()=>{let F=!0;this.forEachUnionMember(U,null,"none",null,(y,w)=>{const L=F?"=":"|";w.kind==="null"?this.emitLine(L," ",y):this.emitLine(L," ",y," ",(0,S.parenIfNeeded)(this.elmType(w))),F=!1})})}emitTopLevelFunctions(U,B){const{encoder:F,decoder:y}=(0,v.defined)(this._topLevelDependents.get(B));this.namedTypeToNameForTopLevel(U)===void 0&&(this.emitLine((0,v.defined)(y)," : Jdec.Decoder ",B),this.emitLine((0,v.defined)(y)," = ",this.decoderNameForType(U).source),this.ensureBlankLine()),this.emitLine(F," : ",B," -> String"),this.emitLine(F," r = Jenc.encode 0 (",this.encoderNameForType(U).source," r)")}emitClassFunctions(U,B){const F=this.decoderNameForNamedType(U);this.emitLine(F," : Jdec.Decoder ",B),this.emitLine(F," ="),this.indent(()=>{this.emitLine("Jpipe.decode ",B),this.indent(()=>{this.forEachClassProperty(U,"none",(w,L,N)=>{const p=(0,S.parenIfNeeded)(this.decoderNameForProperty(N)),{reqOrOpt:o,fallback:a}=M(N);this.emitLine("|> ",o,' "',(0,m.stringEscape)(L),'" ',p,a)})})}),this.ensureBlankLine();const y=this.encoderNameForNamedType(U);this.emitLine(y," : ",B," -> Jenc.Value"),this.emitLine(y," x ="),this.indent(()=>{this.emitLine("Jenc.object"),this.indent(()=>{let w=!0;this.forEachClassProperty(U,"none",(L,N,p)=>{const o=w?"[":",",a=this.encoderNameForProperty(p).source;this.emitLine(o,' ("',(0,m.stringEscape)(N),'", ',a," x.",L,")"),w=!1}),w&&this.emitLine("["),this.emitLine("]")})})}emitEnumFunctions(U,B){const F=this.decoderNameForNamedType(U);this.emitLine(F," : Jdec.Decoder ",B),this.emitLine(F," ="),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",(w,L)=>{this.emitLine('"',(0,m.stringEscape)(L),'" -> Jdec.succeed ',w)}),this.emitLine('somethingElse -> Jdec.fail <| "Invalid ',B,': " ++ somethingElse')})}),this.emitLine(")")})}),this.ensureBlankLine();const y=this.encoderNameForNamedType(U);this.emitLine(y," : ",B," -> Jenc.Value"),this.emitLine(y," x = case x of"),this.indent(()=>{this.forEachEnumCase(U,"none",(w,L)=>{this.emitLine(w,' -> Jenc.string "',(0,m.stringEscape)(L),'"')})})}emitUnionFunctions(U,B){function F(L,N){return N.kind==="array"?" array":N.kind==="double"?" xdouble":N.isPrimitive()?" "+N.kind:N.kind}const y=this.decoderNameForNamedType(U);this.emitLine(y," : Jdec.Decoder ",B),this.emitLine(y," ="),this.indent(()=>{this.emitLine("Jdec.oneOf"),this.indent(()=>{let L=!0;this.forEachUnionMember(U,null,"none",F,(N,p)=>{const o=L?"[":",";if(p.kind==="null")this.emitLine(o," Jdec.null ",N);else{const a=(0,S.parenIfNeeded)(this.decoderNameForType(p));this.emitLine(o," Jdec.map ",N," ",a)}L=!1}),this.emitLine("]")})}),this.ensureBlankLine();const w=this.encoderNameForNamedType(U);this.emitLine(w," : ",B," -> Jenc.Value"),this.emitLine(w," x = case x of"),this.indent(()=>{this.forEachUnionMember(U,null,"none",F,(L,N)=>{if(N.kind==="null")this.emitLine(L," -> Jenc.null");else{const p=this.encoderNameForType(N).source;this.emitLine(L," y -> ",p," y")}})})}emitSourceStructure(){const U=[],B=[];this.forEachTopLevel("none",(F,y)=>{let{encoder:w,decoder:L}=(0,v.defined)(this._topLevelDependents.get(y));L===void 0&&(L=(0,v.defined)(this._namedTypeDependents.get(y)).decoder),B.push(L),U.push(y,w,L)}),this.forEachObject("none",(F,y)=>{(0,t.mapContains)(this.topLevels,F)||U.push(y)}),this.forEachEnum("none",(F,y)=>{(0,t.mapContains)(this.topLevels,F)||U.push([y,"(..)"])}),this.forEachUnion("none",(F,y)=>{(0,t.mapContains)(this.topLevels,F)||U.push([y,"(..)"])}),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)(", ",B),")"),this.emitMultiline(`--
|
|
851
|
-
-- and you're off to the races with
|
|
852
|
-
--`),this.forEachTopLevel("none",(F,y)=>{let{decoder:w}=(0,v.defined)(this._topLevelDependents.get(y));w===void 0&&(w=(0,v.defined)(this._namedTypeDependents.get(y)).decoder),this.emitLine("-- decodeString ",w," myJsonString")})),this._options.justTypes||(this.ensureBlankLine(),this.emitLine("module ",this._options.moduleName," exposing"),this.indent(()=>{for(let F=0;F<U.length;F++)this.emitLine(F===0?"(":","," ",U[F]);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",(F,y)=>this.emitTopLevelDefinition(F,y),F=>this.namedTypeToNameForTopLevel(F)===void 0),this.forEachNamedType("leading-and-interposing",(F,y)=>this.emitClassDefinition(F,y),(F,y)=>this.emitEnumDefinition(F,y),(F,y)=>this.emitUnionDefinition(F,y)),!this._options.justTypes&&(this.ensureBlankLine(),this.emitLine("-- decoders and encoders"),this.forEachTopLevel("leading-and-interposing",(F,y)=>this.emitTopLevelFunctions(F,y)),this.forEachNamedType("leading-and-interposing",(F,y)=>this.emitClassFunctions(F,y),(F,y)=>this.emitEnumFunctions(F,y),(F,y)=>this.emitUnionFunctions(F,y)),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,m.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=H})(Cp);var ks={};Object.defineProperty(ks,"__esModule",{value:!0});ks.JSONSchemaRenderer=ks.JSONSchemaTargetLanguage=void 0;const e0=Je,iM=St,rM=rt(),sM=tt(),oM=_t,aM=qe,us=yt(),Nr=Ae,uM=Mo(),lM=ic();class cM extends iM.TargetLanguage{constructor(){super("JSON Schema",["schema","json-schema"],"schema")}getOptions(){return[]}get stringTypeMapping(){return(0,uM.getNoStringTypeMapping)()}get supportsOptionalClassProperties(){return!0}get supportsFullObjectType(){return!0}makeRenderer(t,n){return new Nv(this,t)}}ks.JSONSchemaTargetLanguage=cM;const fM=(0,aM.funPrefixNamer)("namer",hM),dM=(0,us.legalizeCharacters)(e=>e>=32&&e<128&&e!==47);function hM(e){const t=(0,us.splitIntoWords)(e);return(0,us.combineWords)(t,dM,us.firstUpperWordStyle,us.firstUpperWordStyle,us.allUpperWordStyle,us.allUpperWordStyle,"",n=>!0)}class Nv extends oM.ConvenienceRenderer{makeNamedTypeNamer(){return fM}namerForObjectProperty(){return null}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return null}nameForType(t){return(0,Nr.defined)(this.names.get(this.nameForNamedType(t)))}makeOneOf(t){const n=(0,e0.iterableFirst)(t);return n===void 0?(0,Nr.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,l]of i)r.addToSchema(n,t,l)}schemaForType(t){const n=(0,sM.matchTypeExhaustive)(t,i=>(0,Nr.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=rM.transformedStringTypeTargetTypeKindsMap.get(i.kind);return r===void 0?(0,Nr.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 m={},v=[];for(const[S,C]of t.getProperties()){const D=this.schemaForType(C.type);D.description===void 0&&(0,lM.addDescriptionToSchema)(D,this.descriptionForClassProperty(t,S)),m[S]=D,C.isOptional||v.push(S)}i=m,r=v.sort()}const l=t.getAdditionalProperties(),f={type:"object",additionalProperties:l!==void 0?this.schemaForType(l):!1,properties:i,required:r,title:n};return this.addAttributesToSchema(t,f),f}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,Nr.defined)((0,e0.mapFirst)(this.topLevels))):{},n=Object.assign({$schema:"http://json-schema.org/draft-06/schema#"},t),i={};this.forEachObject("none",(r,l)=>{const u=(0,Nr.defined)(this.names.get(l));i[u]=this.definitionForObject(r,u)}),this.forEachUnion("none",(r,l)=>{if(!this.unionNeedsName(r))return;const u=(0,Nr.defined)(this.names.get(l));i[u]=this.definitionForUnion(r,u)}),this.forEachEnum("none",(r,l)=>{const u=(0,Nr.defined)(this.names.get(l));i[u]=this.definitionForEnum(r,u)}),n.definitions=i,this.emitMultiline(JSON.stringify(n,void 0," "))}}ks.JSONSchemaRenderer=Nv;var Ap={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.RustRenderer=e.RustTargetLanguage=e.rustOptions=e.Visibility=e.Density=void 0;const t=Je,n=St,i=_t,r=yt(),l=qe,u=rt(),f=tt(),m=Ze,v=At,S=at,C=Ae;var D;(function(o){o[o.Normal=0]="Normal",o[o.Dense=1]="Dense"})(D=e.Density||(e.Density={}));var _;(function(o){o[o.Private=0]="Private",o[o.Crate=1]="Crate",o[o.Public=2]="Public"})(_=e.Visibility||(e.Visibility={})),e.rustOptions={density:new S.EnumOption("density","Density",[["normal",D.Normal],["dense",D.Dense]]),visibility:new S.EnumOption("visibility","Field visibility",[["private",_.Private],["crate",_.Crate],["public",_.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 E={snake_case:{regex:/^[a-z][a-z0-9]*(_[a-z0-9]+)*$/,toParts:o=>o.split("_"),fromParts:o=>o.map(a=>a.toLowerCase()).join("_")},SCREAMING_SNAKE_CASE:{regex:/^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$/,toParts:o=>o.split("_"),fromParts:o=>o.map(a=>a.toUpperCase()).join("_")},camelCase:{regex:/^[a-z]+([A-Z0-9][a-z]*)*$/,toParts:o=>E.snake_case.toParts(o.replace(/(.)([A-Z])/g,"$1_$2")),fromParts:o=>o.map((a,d)=>d===0?a.toLowerCase():a.substring(0,1).toUpperCase()+a.substring(1).toLowerCase()).join("")},PascalCase:{regex:/^[A-Z][a-z]*([A-Z0-9][a-z]*)*$/,toParts:o=>E.snake_case.toParts(o.replace(/(.)([A-Z])/g,"$1_$2")),fromParts:o=>o.map(a=>a.substring(0,1).toUpperCase()+a.substring(1).toLowerCase()).join("")},"kebab-case":{regex:/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/,toParts:o=>o.split("-"),fromParts:o=>o.map(a=>a.toLowerCase()).join("-")},"SCREAMING-KEBAB-CASE":{regex:/^[A-Z][A-Z0-9]*(-[A-Z0-9]+)*$/,toParts:o=>o.split("-"),fromParts:o=>o.map(a=>a.toUpperCase()).join("-")},lowercase:{regex:/^[a-z][a-z0-9]*$/,toParts:o=>[o],fromParts:o=>o.map(a=>a.toLowerCase()).join("")},UPPERCASE:{regex:/^[A-Z][A-Z0-9]*$/,toParts:o=>[o],fromParts:o=>o.map(a=>a.toUpperCase()).join("")}};class T extends n.TargetLanguage{makeRenderer(a,d){return new w(this,a,(0,S.getOptionValues)(e.rustOptions,d))}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=T;const P=["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"],I=o=>(0,r.isAscii)(o)?(0,r.isLetterOrUnderscoreOrDigit)(o):!1,M=o=>(0,r.isAscii)(o)?(0,r.isLetterOrUnderscore)(o):!1,H=(0,r.legalizeCharacters)(I);function Z(o,a){const d=(0,r.splitIntoWords)(o),h=a?r.allLowerWordStyle:r.firstUpperWordStyle,b=(0,r.combineWords)(d,H,h,h,h,h,a?"_":"",M);return b==="_"?"_underscore":b}const U=(0,l.funPrefixNamer)("default",o=>Z(o,!0)),B=(0,l.funPrefixNamer)("camel",o=>Z(o,!1)),F=o=>o<=65535?"\\u{"+(0,r.intToHex)(o,4)+"}":"\\u{"+(0,r.intToHex)(o,6)+"}",y=(0,r.utf32ConcatMap)((0,r.escapeNonPrintableMapper)(r.isPrintable,F));class w extends i.ConvenienceRenderer{constructor(a,d,h){super(a,d),this._options=h}makeNamedTypeNamer(){return B}namerForObjectProperty(){return U}makeUnionMemberNamer(){return B}makeEnumCaseNamer(){return B}forbiddenNamesForGlobalNamespace(){return P}forbiddenForObjectProperties(a,d){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(a,d){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(a,d){return{names:[],includeGlobalForbidden:!0}}get commentLineStart(){return"/// "}nullableRustType(a,d){return["Option<",this.breakCycle(a,d),">"]}isImplicitCycleBreaker(a){const d=a.kind;return d==="array"||d==="map"}rustType(a,d=!1){return(0,f.matchType)(a,h=>(0,m.maybeAnnotated)(d,v.anyTypeIssueAnnotation,"Option<serde_json::Value>"),h=>(0,m.maybeAnnotated)(d,v.nullTypeIssueAnnotation,"Option<serde_json::Value>"),h=>"bool",h=>"i64",h=>"f64",h=>"String",h=>["Vec<",this.rustType(h.items,d),">"],h=>this.nameForNamedType(h),h=>["HashMap<String, ",this.rustType(h.values,d),">"],h=>this.nameForNamedType(h),h=>{const b=(0,f.nullableFromUnion)(h);if(b!==null)return this.nullableRustType(b,d);const[R]=(0,f.removeNullFromUnion)(h),j=this.isCycleBreakerType(h)?["Box<",this.nameForNamedType(h),">"]:this.nameForNamedType(h);return R!==null?["Option<",j,">"]:j})}breakCycle(a,d){const h=this.rustType(a,d);return this.isCycleBreakerType(a)?["Box<",h,">"]:h}emitRenameAttribute(a,d,h,b){const R=y(d),x=E[h].fromParts(this.sourcelikeToString(a).split(" ")),j=p(x,b);R!==j&&this.emitLine('#[serde(rename = "',R,'")]')}emitSkipSerializeNone(a){a instanceof u.UnionType&&(0,f.nullableFromUnion)(a)!==null&&this.emitLine('#[serde(skip_serializing_if = "Option::is_none")]')}get visibility(){return this._options.visibility===_.Crate?"pub(crate) ":this._options.visibility===_.Public?"pub ":""}emitStructDefinition(a,d){this.emitDescription(this.descriptionForType(a)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]");const h={};this.forEachClassProperty(a,"none",(W,k,O)=>{h[k]=N(k)});const b="snake_case",R=L(Object.values(h).flat(),b);R!==b&&this.emitLine(`#[serde(rename_all = "${R}")]`);const x=this._options.density===D.Dense?"none":"interposing",j=()=>this.forEachClassProperty(a,x,(W,k,O)=>{this.emitDescription(this.descriptionForClassProperty(a,k)),this.emitRenameAttribute(W,k,b,R),this._options.skipSerializingNone&&this.emitSkipSerializeNone(O.type),this.emitLine(this.visibility,W,": ",this.breakCycle(O.type,!0),",")});this.emitBlock(["pub struct ",d],j)}emitBlock(a,d){this.emitLine(a," {"),this.indent(d),this.emitLine("}")}emitUnion(a,d){if((0,f.nullableFromUnion)(a)!==null)return;this.emitDescription(this.descriptionForType(a)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]"),this.emitLine("#[serde(untagged)]");const[,b]=(0,f.removeNullFromUnion)(a),R=this._options.density===D.Dense?"none":"interposing";this.emitBlock(["pub enum ",d],()=>this.forEachUnionMember(a,b,R,null,(x,j)=>{const W=this.breakCycle(j,!0);this.emitLine([x,"(",W,"),"])}))}emitEnumDefinition(a,d){this.emitDescription(this.descriptionForType(a)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]");const h={};this.forEachEnumCase(a,"none",(j,W)=>{h[W]=N(W)});const b="PascalCase",R=L(Object.values(h).flat(),b);R!==b&&this.emitLine(`#[serde(rename_all = "${R}")]`);const x=this._options.density===D.Dense?"none":"interposing";this.emitBlock(["pub enum ",d],()=>this.forEachEnumCase(a,x,(j,W)=>{this.emitRenameAttribute(j,W,b,R),this.emitLine([j,","])}))}emitTopLevelAlias(a,d){this.emitLine("pub type ",d," = ",this.rustType(a),";")}emitLeadingComments(){if(this.leadingComments!==void 0){this.emitComments(this.leadingComments);return}const a=(0,C.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::${a};
|
|
870
|
-
//
|
|
871
|
-
// fn main() {
|
|
872
|
-
// let json = r#"{"answer": 42}"#;
|
|
873
|
-
// let model: ${a} = 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",(a,d)=>this.emitTopLevelAlias(a,d),a=>this.namedTypeToNameForTopLevel(a)===void 0),this.forEachNamedType("leading-and-interposing",(a,d)=>this.emitStructDefinition(a,d),(a,d)=>this.emitEnumDefinition(a,d),(a,d)=>this.emitUnion(a,d))}}e.RustRenderer=w;function L(o,a){const d=Object.fromEntries(Object.keys(E).map(R=>[R,0]));o.forEach(R=>++d[R]);const h=Math.max(...Object.values(d)),b=Object.entries(d).filter(([R,x])=>x===h).map(([R,x])=>R);return b.includes(a)?a:b[0]}function N(o){return Object.entries(E).filter(([a,{regex:d}])=>d.test(o)).map(([a,d])=>a)}function p(o,a){if(E[a].regex.test(o))return o;const d=N(o)[0];return d===void 0?o:E[a].fromParts(E[d].toParts(o))}})(Ap);var Os={};Object.defineProperty(Os,"__esModule",{value:!0});Os.CrystalRenderer=Os.CrystalTargetLanguage=void 0;const pM=St,mM=_t,Ln=yt(),kv=qe,sa=tt(),t0=Ze,n0=At;class yM extends pM.TargetLanguage{makeRenderer(t){return new Ev(this,t)}constructor(){super("Crystal",["crystal","cr","crystallang"],"cr")}get defaultIndentation(){return" "}getOptions(){return[]}}Os.CrystalTargetLanguage=yM;const gM=["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 bM(e){return(0,Ln.isAscii)(e)?(0,Ln.isLetterOrUnderscoreOrDigit)(e):!1}function TM(e){return(0,Ln.isAscii)(e)?(0,Ln.isLetterOrUnderscore)(e):!1}const SM=(0,Ln.legalizeCharacters)(bM);function Ov(e,t){const n=(0,Ln.splitIntoWords)(e),i=t?Ln.allLowerWordStyle:Ln.firstUpperWordStyle,r=(0,Ln.combineWords)(n,SM,i,i,i,i,t?"_":"",TM);return r==="_"?"_underscore":r}const vM=(0,kv.funPrefixNamer)("default",e=>Ov(e,!0)),Pd=(0,kv.funPrefixNamer)("camel",e=>Ov(e,!1));function wM(e){return e<=65535?"\\u{"+(0,Ln.intToHex)(e,4)+"}":"\\u{"+(0,Ln.intToHex)(e,6)+"}"}const LM=(0,Ln.utf32ConcatMap)((0,Ln.escapeNonPrintableMapper)(Ln.isPrintable,wM));class Ev extends mM.ConvenienceRenderer{constructor(t,n){super(t,n)}makeNamedTypeNamer(){return Pd}namerForObjectProperty(){return vM}makeUnionMemberNamer(){return Pd}makeEnumCaseNamer(){return Pd}forbiddenNamesForGlobalNamespace(){return gM}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,t0.maybeAnnotated)(n,n0.anyTypeIssueAnnotation,"JSON::Any?"),i=>(0,t0.maybeAnnotated)(n,n0.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[l]=(0,sa.removeNullFromUnion)(i),u=this.nameForNamedType(i);return l!==null?[u,"?"]:u})}breakCycle(t,n){return this.crystalType(t,n)}emitRenameAttribute(t,n){const i=LM(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,l,u)=>{this.ensureBlankLine(),this.emitDescription(this.descriptionForClassProperty(t,l)),this.emitRenameAttribute(r,l),this.emitLine("property ",r," : ",this.crystalType(u.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 l=[];this.forEachUnionMember(t,r,"none",null,(u,f)=>{const m=this.breakCycle(f,!0);l.push([m])}),this.emitLine(["alias ",n," = ",l.map(u=>u.map(f=>this.sourcelikeToString(f))).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))}}Os.CrystalRenderer=Ev;var Fp={},xr={};Object.defineProperty(xr,"__esModule",{value:!0});xr.reservedProperties=xr.globals=xr.keywords=void 0;xr.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 _M=["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"],NM=["__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"];xr.globals=NM.concat(_M);xr.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,N,p,o){o===void 0&&(o=p);var a=Object.getOwnPropertyDescriptor(N,p);(!a||("get"in a?!N.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return N[p]}}),Object.defineProperty(L,o,a)}:function(L,N,p,o){o===void 0&&(o=p),L[o]=N[p]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(L,N){Object.defineProperty(L,"default",{enumerable:!0,value:N})}:function(L,N){L.default=N}),i=Fe&&Fe.__importStar||function(L){if(L&&L.__esModule)return L;var N={};if(L!=null)for(var p in L)p!=="default"&&Object.prototype.hasOwnProperty.call(L,p)&&t(N,L,p);return n(N,L),N},r=Fe&&Fe.__importDefault||function(L){return L&&L.__esModule?L:{default:L}};Object.defineProperty(e,"__esModule",{value:!0}),e.RubyRenderer=e.RubyTargetLanguage=e.rubyOptions=e.Strictness=void 0;const l=r(Wa),u=Ze,f=qe,m=_t,v=St,S=at,C=i(xr),D=Array.from(new Set([...C.keywords,...C.reservedProperties])),_=rt(),E=tt(),T=yt();function P(L){return"\\u{"+(0,T.intToHex)(L,0)+"}"}const I=(0,T.utf32ConcatMap)((0,T.escapeNonPrintableMapper)(T.isPrintable,P));var M;(function(L){L.Strict="Strict::",L.Coercible="Coercible::",L.None="Types::"})(M=e.Strictness||(e.Strictness={})),e.rubyOptions={justTypes:new S.BooleanOption("just-types","Plain types only",!1),strictness:new S.EnumOption("strictness","Type strictness",[["strict",M.Strict],["coercible",M.Coercible],["none",M.None]]),namespace:new S.StringOption("namespace","Specify a wrapping Namespace","NAME","","secondary")};class H extends v.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(N,p){return new w(this,N,(0,S.getOptionValues)(e.rubyOptions,p))}}e.RubyTargetLanguage=H;const Z=T.isLetterOrUnderscore;function U(L){const N=l.default.getCategory(L);return["Nd","Pc","Mn","Mc"].indexOf(N)>=0||Z(L)}const B=(0,T.legalizeCharacters)(U);function F(L,N){/^[0-9]+$/.test(L)&&(L=L+"N");const p=(0,T.splitIntoWords)(L);return(0,T.combineWords)(p,B,N?T.firstUpperWordStyle:T.allLowerWordStyle,N?T.firstUpperWordStyle:T.allLowerWordStyle,T.allUpperWordStyle,T.allUpperWordStyle,"",Z)}function y(L){const N=(0,T.splitIntoWords)(L);return(0,T.combineWords)(N,B,T.allLowerWordStyle,T.allLowerWordStyle,T.allLowerWordStyle,T.allLowerWordStyle,"_",Z)}class w extends m.ConvenienceRenderer{constructor(N,p,o){super(N,p),this._options=o}get commentLineStart(){return"# "}get needsTypeDeclarationBeforeUse(){return!0}canBeForwardDeclared(N){return N.kind==="class"}forbiddenNamesForGlobalNamespace(){return C.globals.concat(["Types","JSON","Dry","Constructor","Self"])}forbiddenForObjectProperties(N,p){return{names:D,includeGlobalForbidden:!0}}makeNamedTypeNamer(){return new f.Namer("types",N=>F(N,!0),[])}namerForObjectProperty(){return new f.Namer("properties",y,[])}makeUnionMemberNamer(){return new f.Namer("properties",y,[])}makeEnumCaseNamer(){return new f.Namer("enum-cases",N=>F(N,!0),[])}dryType(N,p=!1){const o=p?".optional":"";return(0,E.matchType)(N,a=>["Types::Any",o],a=>["Types::Nil",o],a=>["Types::Bool",o],a=>["Types::Integer",o],a=>["Types::Double",o],a=>["Types::String",o],a=>["Types.Array(",this.dryType(a.items),")",o],a=>[this.nameForNamedType(a),o],a=>["Types::Hash.meta(of: ",this.dryType(a.values),")",o],a=>["Types::",this.nameForNamedType(a),o],a=>{const d=(0,E.nullableFromUnion)(a);return d!==null?[this.dryType(d),".optional"]:["Types.Instance(",this.nameForNamedType(a),")",o]})}exampleUse(N,p,o=6,a=!1){if(o--<=0)return p;const d=a?"&":"";return(0,E.matchType)(N,h=>p,h=>[p,".nil?"],h=>p,h=>[p,".even?"],h=>p,h=>p,h=>this.exampleUse(h.items,[p,d,".first"],o),h=>{let b;return this.forEachClassProperty(h,"none",(R,x,j)=>{["class","map","array"].indexOf(j.type.kind)>=0?b={name:R,prop:j}:b===void 0&&(b={name:R,prop:j})}),b!==void 0?this.exampleUse(b.prop.type,[p,d,".",b.name],o,b.prop.isOptional):p},h=>this.exampleUse(h.values,[p,d,'["…"]'],o),h=>{let b;return this.forEachEnumCase(h,"none",R=>{b===void 0&&(b=R)}),b!==void 0?[p," == ",this.nameForNamedType(h),"::",b]:p},h=>{const b=(0,E.nullableFromUnion)(h);return b!==null?["class","map","array"].indexOf(b.kind)>=0?this.exampleUse(b,p,o,!0):[p,".nil?"]:p})}jsonSample(N){function p(){return N instanceof _.ArrayType?"[…]":N instanceof _.MapType||N instanceof _.ClassType?"{…}":"…"}return`"${p()}"`}fromDynamic(N,p,o=!1,a=!1){const d=[this.dryType(N,o),"[",p,"]"],h=a?d:p,b=o?"&":"";return(0,E.matchType)(N,R=>h,R=>h,R=>h,R=>h,R=>h,R=>h,R=>[p,b,".map { |x| ",this.fromDynamic(R.items,"x",!1,!0)," }"],R=>{const x=[this.nameForNamedType(R),".from_dynamic!(",p,")"];return o?[p," ? ",x," : nil"]:x},R=>[["Types::Hash",o?".optional":"","[",p,"]"],b,".map { |k, v| [k, ",this.fromDynamic(R.values,"v",!1,!0),"] }",b,".to_h"],R=>{const x=["Types::",this.nameForNamedType(R),"[",p,"]"];return o?[p,".nil? ? nil : ",x]:x},R=>{const x=(0,E.nullableFromUnion)(R);if(x!==null)return this.fromDynamic(x,p,!0);const j=[this.nameForNamedType(R),".from_dynamic!(",p,")"];return o?[p," ? ",j," : nil"]:j})}toDynamic(N,p,o=!1){return this.marshalsImplicitlyToDynamic(N)?p:(0,E.matchType)(N,a=>p,a=>p,a=>p,a=>p,a=>p,a=>p,a=>[p,o?"&":"",".map { |x| ",this.toDynamic(a.items,"x")," }"],a=>[p,o?"&":"",".to_dynamic"],a=>[p,o?"&":"",".map { |k, v| [k, ",this.toDynamic(a.values,"v"),"] }.to_h"],a=>p,a=>{const d=(0,E.nullableFromUnion)(a);return d!==null?this.toDynamic(d,p,!0):this.marshalsImplicitlyToDynamic(a)?p:[p,o?"&":"",".to_dynamic"]})}marshalsImplicitlyToDynamic(N){return(0,E.matchType)(N,p=>!0,p=>!0,p=>!0,p=>!0,p=>!0,p=>!0,p=>this.marshalsImplicitlyToDynamic(p.items),p=>!1,p=>this.marshalsImplicitlyToDynamic(p.values),p=>!0,p=>{const o=(0,E.nullableFromUnion)(p);return o!==null?this.marshalsImplicitlyToDynamic(o):!1})}propertyTypeMarshalsImplicitlyFromDynamic(N){return(0,E.matchType)(N,p=>!0,p=>!0,p=>!0,p=>!0,p=>!0,p=>!0,p=>this.propertyTypeMarshalsImplicitlyFromDynamic(p.items),p=>!1,p=>!1,p=>!0,p=>{const o=(0,E.nullableFromUnion)(p);return o!==null?this.propertyTypeMarshalsImplicitlyFromDynamic(o):!1})}emitBlock(N,p){this.emitLine(N),this.indent(p),this.emitLine("end")}emitModule(N){const p=o=>{const[a,...d]=o.split("::");d.length>0?this.emitBlock(["module ",a],()=>{p(d.join("::"))}):this.emitBlock(["module ",o],N)};this._options.namespace!==void 0&&this._options.namespace!==""?p(this._options.namespace):N()}emitClass(N,p){this.emitDescription(this.descriptionForType(N)),this.emitBlock(["class ",p," < Dry::Struct"],()=>{let o=[],a=N.getProperties().size;this.forEachClassProperty(N,"none",(d,h,b)=>{const R=--a===0,x=this.descriptionForClassProperty(N,h),j=[["attribute :",d,","],[" ",this.dryType(b.type),b.isOptional?".optional":""]];x!==void 0?(o.length>0&&(this.emitTable(o),o=[]),this.ensureBlankLine(),this.emitDescriptionBlock(x),this.emitLine(j),R||this.ensureBlankLine()):o.push(j)}),o.length>0&&this.emitTable(o),!this._options.justTypes&&(this.ensureBlankLine(),this.emitBlock(["def self.from_dynamic!(d)"],()=>{this.emitLine("d = Types::Hash[d]"),this.emitLine("new("),this.indent(()=>{const d=[];this.forEachClassProperty(N,"none",(h,b,R)=>{const x=R.isOptional?`d["${I(b)}"]`:`d.fetch("${I(b)}")`;if(this.propertyTypeMarshalsImplicitlyFromDynamic(R.type))d.push([[h,": "],[x,","]]);else{const j=this.fromDynamic(R.type,x,R.isOptional);d.push([[h,": "],[j,","]])}}),this.emitTable(d)}),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 d=[];this.forEachClassProperty(N,"none",(h,b,R)=>{const x=this.toDynamic(R.type,h,R.isOptional);d.push([[`"${I(b)}"`],[" => ",x,","]])}),this.emitTable(d)}),this.emitLine("}")}),this.ensureBlankLine(),this.emitBlock("def to_json(options = nil)",()=>{this.emitLine("JSON.generate(to_dynamic, options)")}))})}emitEnum(N,p){this.emitDescription(this.descriptionForType(N)),this.emitBlock(["module ",p],()=>{const o=[];this.forEachEnumCase(N,"none",(a,d)=>{o.push([[a],[` = "${I(d)}"`]])}),this.emitTable(o)})}emitUnion(N,p){this.emitDescription(this.descriptionForType(N)),this.emitBlock(["class ",p," < Dry::Struct"],()=>{const o=[];if(this.forEachUnionMember(N,N.getChildren(),"none",null,(h,b)=>{o.push([["attribute :",h,", "],[this.dryType(b,!0)]])}),this.emitTable(o),this._options.justTypes)return;this.ensureBlankLine();const[a,d]=(0,E.removeNullFromUnion)(N,!1);this.emitBlock("def self.from_dynamic!(d)",()=>{const h=Array.from(N.getChildren()).map(b=>this.nameForUnionMember(N,b));this.forEachUnionMember(N,N.getChildren(),"none",null,(b,R)=>{const x=h.filter(j=>j!==b).map(j=>[", ",j,": nil"]);this.propertyTypeMarshalsImplicitlyFromDynamic(R)?this.emitBlock(["if schema[:",b,"].right.valid? d"],()=>{this.emitLine("return new(",b,": d",x,")")}):(this.emitLine("begin"),this.indent(()=>{this.emitLine("value = ",this.fromDynamic(R,"d")),this.emitBlock(["if schema[:",b,"].right.valid? value"],()=>{this.emitLine("return new(",b,": value",x,")")})}),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 h=!0;this.forEachUnionMember(N,d,"none",null,(b,R)=>{this.emitLine(h?"if":"elsif"," ",b," != nil"),this.indent(()=>{this.emitLine(this.toDynamic(R,b))}),h=!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 N=[];if(this._options.strictness!==M.None){let p={int:!1,nil:!1,bool:!1,hash:!1,string:!1,double:!1};this.forEachType(o=>{p={int:p.int||o.kind==="integer",nil:p.nil||o.kind==="null",bool:p.bool||o.kind==="bool",hash:p.hash||o.kind==="map"||o.kind==="class",string:p.string||o.kind==="string"||o.kind==="enum",double:p.double||o.kind==="double"}}),p.int&&N.push([["Integer"],[` = ${this._options.strictness}Integer`]]),this._options.strictness===M.Strict&&p.nil&&N.push([["Nil"],[` = ${this._options.strictness}Nil`]]),p.bool&&N.push([["Bool"],[` = ${this._options.strictness}Bool`]]),p.hash&&N.push([["Hash"],[` = ${this._options.strictness}Hash`]]),p.string&&N.push([["String"],[` = ${this._options.strictness}String`]]),p.double&&N.push([["Double"],[` = ${this._options.strictness}Float | ${this._options.strictness}Integer`]])}this.forEachEnum("none",(p,o)=>{const a=[];this.forEachEnumCase(p,"none",(d,h)=>{a.push([a.length===0?"":", ",`"${I(h)}"`])}),N.push([[o],[" = ",this._options.strictness,"String.enum(",...a,")"]])}),N.length>0&&(this.ensureBlankLine(),this.emitTable(N))})}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",(N,p)=>{const o=(0,u.modifySource)(T.snakeCase,p);this.emitLine("# ",o," = ",p,".from_json! ",this.jsonSample(N)),this.emitLine("# puts ",this.exampleUse(N,o)),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",N=>{N.kind==="forward"&&(this.emitCommentLines(["(forward declaration)"]),this.emitModule(()=>{this.emitLine("class ",this.nameForNamedType(N.type)," < Dry::Struct; end")}))}),this.forEachNamedType("leading-and-interposing",(N,p)=>this.emitClass(N,p),(N,p)=>this.emitEnum(N,p),(N,p)=>this.emitUnion(N,p)),this._options.justTypes||this.forEachTopLevel("leading-and-interposing",(N,p)=>{const o=(0,u.modifySource)(T.snakeCase,p),a=N.kind==="array",d=()=>{this.emitBlock(["class ",p],()=>{this.emitBlock(["def self.from_json!(json)"],()=>{a?(this.emitLine(o," = ",this.fromDynamic(N,"JSON.parse(json, quirks_mode: true)")),this.emitBlock([o,".define_singleton_method(:to_json) do"],()=>{this.emitLine("JSON.generate(",this.toDynamic(N,"self"),")")}),this.emitLine(o)):this.emitLine(this.fromDynamic(N,"JSON.parse(json, quirks_mode: true)"))})})};this.emitModule(()=>{d()})},N=>this.namedTypeToNameForTopLevel(N)===void 0)})}}e.RubyRenderer=w})(Fp);var Pp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DartRenderer=e.DartTargetLanguage=e.dartOptions=void 0;const t=rt(),n=tt(),i=Ze,r=yt(),l=qe,u=_t,f=St,m=at,v=At,S=Ae;e.dartOptions={nullSafety:new m.BooleanOption("null-safety","Null Safety",!0),justTypes:new m.BooleanOption("just-types","Types only",!1),codersInClass:new m.BooleanOption("coders-in-class","Put encoder & decoder in Class",!1),methodNamesWithMap:new m.BooleanOption("from-map","Use method names fromMap() & toMap()",!1,"secondary"),requiredProperties:new m.BooleanOption("required-props","Make all properties required",!1),finalProperties:new m.BooleanOption("final-props","Make all properties final",!1),generateCopyWith:new m.BooleanOption("copy-with","Generate CopyWith method",!1),useFreezed:new m.BooleanOption("use-freezed","Generate class definitions with @freezed compatibility",!1,"secondary"),useHive:new m.BooleanOption("use-hive","Generate annotations for Hive type adapters",!1,"secondary"),useJsonAnnotation:new m.BooleanOption("use-json-annotation","Generate annotations for json_serializable",!1,"secondary"),partName:new m.StringOption("part-name","Use this name in `part` directive","NAME","","secondary")};class C extends f.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 F=new Map;return F.set("date","date"),F.set("date-time","date-time"),F}makeRenderer(F,y){const w=(0,m.getOptionValues)(e.dartOptions,y);return new U(this,F,w)}}e.DartTargetLanguage=C;const D=["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"],_=(0,l.funPrefixNamer)("types",B=>Z(!0,!1,B)),E=(0,l.funPrefixNamer)("properties",B=>Z(!1,!1,B)),T=(0,l.funPrefixNamer)("enum-cases",B=>Z(!0,!0,B)),P=(0,r.utf16ConcatMap)((0,r.escapeNonPrintableMapper)(B=>(0,r.isPrintable)(B)&&B!==36,r.standardUnicodeHexEscape));function I(B){return B===95?!1:(0,r.isAscii)(B)&&(0,r.isLetter)(B)}function M(B){return I(B)||(0,r.isAscii)(B)&&(0,r.isDigit)(B)}const H=(0,r.utf16LegalizeCharacters)(M);function Z(B,F,y){const w=(0,r.splitIntoWords)(y),L=F?r.allUpperWordStyle:B?r.firstUpperWordStyle:r.allLowerWordStyle,N=F?r.allUpperWordStyle:r.firstUpperWordStyle;return(0,r.combineWords)(w,H,L,N,L,N,F?"_":"",I)}class U extends u.ConvenienceRenderer{constructor(F,y,w){super(F,y),this._options=w,this._gettersAndSettersForPropertyName=new Map,this._needEnumValues=!1,this.classCounter=0,this.classPropertyCounter=0,this._topLevelDependents=new Map,this._enumValues=new Map}forbiddenNamesForGlobalNamespace(){return D}forbiddenForObjectProperties(F,y){return{names:[],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return _}namerForObjectProperty(){return E}makeUnionMemberNamer(){return E}makeEnumCaseNamer(){return T}unionNeedsName(F){return(0,n.nullableFromUnion)(F)===null}namedTypeToNameForTopLevel(F){return(0,n.directlyReachableSingleNamedType)(F)}get toJson(){return`to${this._options.methodNamesWithMap?"Map":"Json"}`}get fromJson(){return`from${this._options.methodNamesWithMap?"Map":"Json"}`}makeTopLevelDependencyNames(F,y){const w=new l.DependencyName(E,y.order,N=>`${N(y)}_${this.toJson}`),L=new l.DependencyName(E,y.order,N=>`${N(y)}_${this.fromJson}`);return this._topLevelDependents.set(y,{encoder:w,decoder:L}),[w,L]}makeNamesForPropertyGetterAndSetter(F,y,w,L,N){const p=new l.DependencyName(E,N.order,a=>`get_${a(N)}`),o=new l.DependencyName(E,N.order,a=>`set_${a(N)}`);return[p,o]}makePropertyDependencyNames(F,y,w,L,N){const p=this.makeNamesForPropertyGetterAndSetter(F,y,w,L,N);return this._gettersAndSettersForPropertyName.set(N,p),p}makeNamedTypeDependencyNames(F,y){if(!(F instanceof t.EnumType))return[];const w=new l.DependencyName(E,y.order,L=>`${L(y)}_values`);return this._enumValues.set(F,w),[w]}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",(F,y)=>{const{decoder:w}=(0,S.defined)(this._topLevelDependents.get(y));this.emitLine("// final ",(0,i.modifySource)(r.decapitalize,y)," = ",w,"(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 F=this._options.partName.length===0,y=(0,i.modifySource)(r.snakeCase,F?[...this.topLevels.keys()][0]:this._options.partName);this._options.useFreezed&&this.emitLine("part '",y,".freezed.dart';"),this._options.justTypes||this.emitLine("part '",y,".g.dart';")}}emitDescriptionBlock(F){this.emitCommentLines(F,{lineStart:"///",beforeComment:""})}emitBlock(F,y){this.emitLine(F," {"),this.indent(y),this.emitLine("}")}dartType(F,y=!1,w=!1){const L=w||this._options.nullSafety&&F.isNullable&&!this._options.requiredProperties,N=p=>L?[p,"?"]:p;return(0,n.matchType)(F,p=>(0,i.maybeAnnotated)(y,v.anyTypeIssueAnnotation,"dynamic"),p=>(0,i.maybeAnnotated)(y,v.nullTypeIssueAnnotation,"dynamic"),p=>N("bool"),p=>N("int"),p=>N("double"),p=>N("String"),p=>N(["List<",this.dartType(p.items,y),">"]),p=>N(this.nameForNamedType(p)),p=>N(["Map<String, ",this.dartType(p.values,y),">"]),p=>N(this.nameForNamedType(p)),p=>{const o=(0,n.nullableFromUnion)(p);return o===null?"dynamic":N(this.dartType(o,y))},p=>{switch(p.kind){case"date-time":case"date":return N("DateTime");default:return N("String")}})}mapList(F,y,w,L){return this._options.nullSafety&&F&&!this._options.requiredProperties?[w," == null ? [] : ","List<",y,">.from(",w,"!.map((x) => ",L,"))"]:["List<",y,">.from(",w,".map((x) => ",L,"))"]}mapMap(F,y,w,L){return this._options.nullSafety&&F&&!this._options.requiredProperties?["Map.from(",w,"!).map((k, v) => MapEntry<String, ",y,">(k, ",L,"))"]:["Map.from(",w,").map((k, v) => MapEntry<String, ",y,">(k, ",L,"))"]}mapClass(F,y,w){return this._options.nullSafety&&F&&!this._options.requiredProperties?[w," == null ? null : ",this.nameForNamedType(y),".",this.fromJson,"(",w,")"]:[this.nameForNamedType(y),".",this.fromJson,"(",w,")"]}fromDynamicExpression(F=!1,y,...w){return(0,n.matchType)(y,L=>w,L=>w,L=>w,L=>w,L=>[w,this._options.nullSafety?"?.toDouble()":".toDouble()"],L=>w,L=>this.mapList(F||L.isNullable,this.dartType(L.items),w,this.fromDynamicExpression(L.items.isNullable,L.items,"x")),L=>this.mapClass(F||L.isNullable,L,w),L=>this.mapMap(L.isNullable||F,this.dartType(L.values),w,this.fromDynamicExpression(L.values.isNullable,L.values,"v")),L=>[(0,S.defined)(this._enumValues.get(L)),".map[",w,this._options.nullSafety?"]!":"]"],L=>{const N=(0,n.nullableFromUnion)(L);return N===null?w:this.fromDynamicExpression(L.isNullable,N,w)},L=>{switch(L.kind){case"date-time":case"date":return(L.isNullable||F)&&!this._options.requiredProperties&&this._options.nullSafety?[w," == null ? null : ","DateTime.parse(",w,")"]:["DateTime.parse(",w,")"];default:return w}})}toDynamicExpression(F=!1,y,...w){return(0,n.matchType)(y,L=>w,L=>w,L=>w,L=>w,L=>w,L=>w,L=>this.mapList(L.isNullable||F,"dynamic",w,this.toDynamicExpression(L.items.isNullable,L.items,"x")),L=>this._options.nullSafety&&(L.isNullable||F)&&!this._options.requiredProperties?[w,"?.",this.toJson,"()"]:[w,".",this.toJson,"()"],L=>this.mapMap(L.isNullable||F,"dynamic",w,this.toDynamicExpression(L.values.isNullable,L.values,"v")),L=>[(0,S.defined)(this._enumValues.get(L)),".reverse[",w,"]"],L=>{const N=(0,n.nullableFromUnion)(L);return N===null?w:this.toDynamicExpression(L.isNullable,N,w)},L=>{switch(L.kind){case"date-time":return this._options.nullSafety&&!this._options.requiredProperties&&(L.isNullable||F)?[w,"?.toIso8601String()"]:[w,".toIso8601String()"];case"date":return this._options.nullSafety&&!this._options.requiredProperties&&(L.isNullable||F)?['"${',w,"!.year.toString().padLeft(4, '0')","}-${",w,"!.month.toString().padLeft(2, '0')}-${",w,`!.day.toString().padLeft(2, '0')}"`]:['"${',w,".year.toString().padLeft(4, '0')","}-${",w,".month.toString().padLeft(2, '0')}-${",w,`.day.toString().padLeft(2, '0')}"`];default:return w}})}_emitEmptyConstructor(F){this.emitLine(F,"();")}_emitConstructor(F,y){this.emitLine(y,"({"),this.indent(()=>{this.forEachClassProperty(F,"none",(w,L,N)=>{const p=this._options.requiredProperties||this._options.nullSafety&&(!N.type.isNullable||!N.isOptional);this.emitLine(p?"required ":"","this.",w,",")})}),this.emitLine("});"),this.ensureBlankLine()}_emitVariables(F){this.forEachClassProperty(F,"none",(y,w,L)=>{const N=this.descriptionForClassProperty(F,w);N!==void 0&&this.emitDescription(N),this._options.useHive&&(this.classPropertyCounter++,this.emitLine(`@HiveField(${this.classPropertyCounter})`)),this._options.useJsonAnnotation&&(this.classPropertyCounter++,this.emitLine(`@JsonKey(name: "${w}")`)),this.emitLine(this._options.finalProperties?"final ":"",this.dartType(L.type,!0)," ",y,";")})}_emitCopyConstructor(F,y){this.ensureBlankLine(),this.emitLine(y," copyWith({"),this.indent(()=>{this.forEachClassProperty(F,"none",(w,L,N)=>{this.emitLine(this.dartType(N.type,!0,!0)," ",w,",")})}),this.emitLine("}) => "),this.indent(()=>{this.emitLine(y,"("),this.indent(()=>{this.forEachClassProperty(F,"none",(w,L,N)=>{this.emitLine(w,": ",w," ?? ","this.",w,",")})}),this.emitLine(");")})}_emitStringJsonEncoderDecoder(F){this.ensureBlankLine(),this.emitLine("factory ",F,".from",this._options.methodNamesWithMap?"Json":"RawJson","(String str) => ",F,".",this.fromJson,"(json.decode(str));"),this.ensureBlankLine(),this.emitLine("String ",this._options.methodNamesWithMap?"toJson() => ":"toRawJson() => ","json.encode(",this.toJson,"());")}_emitMapEncoderDecoder(F,y){this.ensureBlankLine(),this.emitLine("factory ",y,".",this.fromJson,"(Map<String, dynamic> json) => ",y,"("),this.indent(()=>{this.forEachClassProperty(F,"none",(w,L,N)=>{this.emitLine(w,": ",this.fromDynamicExpression(N.type.isNullable,N.type,'json["',P(L),'"]'),",")})}),this.emitLine(");"),this.ensureBlankLine(),this.emitLine("Map<String, dynamic> ",this.toJson,"() => {"),this.indent(()=>{this.forEachClassProperty(F,"none",(w,L,N)=>{this.emitLine('"',P(L),'": ',this.toDynamicExpression(N.type.isNullable,N.type,w),",")})}),this.emitLine("};")}emitClassDefinition(F,y){this.emitDescription(this.descriptionForType(F)),this._options.useHive&&(this.classCounter++,this.emitLine(`@HiveType(typeId: ${this.classCounter})`),this.classPropertyCounter=0),this._options.useJsonAnnotation&&this.emitLine("@JsonSerializable()"),this.emitBlock(["class ",y],()=>{if(F.getProperties().size===0?this._emitEmptyConstructor(y):(this._emitVariables(F),this.ensureBlankLine(),this._emitConstructor(F,y)),this._options.generateCopyWith&&this._emitCopyConstructor(F,y),this._options.useJsonAnnotation)this.ensureBlankLine(),this.emitLine("factory ",y,".fromJson(Map<String, dynamic> json) => ","_$",y,"FromJson(json);"),this.ensureBlankLine(),this.emitLine("Map<String, dynamic> toJson() => ","_$",y,"ToJson(this);");else{if(this._options.justTypes)return;this._options.codersInClass&&this._emitStringJsonEncoderDecoder(y),this._emitMapEncoderDecoder(F,y)}})}emitFreezedClassDefinition(F,y){this.emitDescription(this.descriptionForType(F)),this.emitLine("@freezed"),this.emitBlock(["class ",y," with _$",y],()=>{F.getProperties().size===0?this.emitLine("const factory ",y,"() = _",y,";"):(this.emitLine("const factory ",y,"({"),this.indent(()=>{this.forEachClassProperty(F,"none",(w,L,N)=>{const p=this.descriptionForClassProperty(F,L);p!==void 0&&this.emitDescription(p);const o=this._options.requiredProperties||this._options.nullSafety&&(!N.type.isNullable||!N.isOptional);this._options.useJsonAnnotation&&(this.classPropertyCounter++,this.emitLine(`@JsonKey(name: "${L}")`)),this.emitLine(o?"required ":"",this.dartType(N.type,!0)," ",w,",")})}),this.emitLine("}) = _",y,";")),!this._options.justTypes&&(this.ensureBlankLine(),this.emitLine("factory ",y,".fromJson(Map<String, dynamic> json) => ","_$",y,"FromJson(json);"))})}emitEnumDefinition(F,y){this.emitDescription(this.descriptionForType(F)),this.emitLine("enum ",y," {"),this.indent(()=>{this.forEachEnumCase(F,"none",(w,L,N)=>{const p=N==="first"||N==="middle"?",":[];this._options.useJsonAnnotation&&this.emitLine('@JsonValue("',P(L),'")'),this.emitLine(w,p)})}),this.emitLine("}"),!this._options.justTypes&&(this.ensureBlankLine(),this.emitLine("final ",(0,S.defined)(this._enumValues.get(F))," = EnumValues({"),this.indent(()=>{this.forEachEnumCase(F,"none",(w,L,N)=>{const p=N==="first"||N==="middle"?",":[];this.emitLine('"',P(L),'": ',y,".",w,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",(F,y)=>{const{encoder:w,decoder:L}=(0,S.defined)(this._topLevelDependents.get(y));this.emitLine(this.dartType(F)," ",L,"(String str) => ",this.fromDynamicExpression(F.isNullable,F,"json.decode(str)"),";"),this.ensureBlankLine(),this.emitLine("String ",w,"(",this.dartType(F)," data) => json.encode(",this.toDynamicExpression(F.isNullable,F,"data"),");")})}emitSourceStructure(){this.emitFileHeader(),!this._options.justTypes&&!this._options.codersInClass&&this._emitTopLvlEncoderDecoder(),this.forEachNamedType("leading-and-interposing",(F,y)=>this._options.useFreezed?this.emitFreezedClassDefinition(F,y):this.emitClassDefinition(F,y),(F,y)=>this.emitEnumDefinition(F,y),(F,y)=>{}),this._needEnumValues&&this.emitEnumValues()}}e.DartRenderer=U})(Pp);var Ip={};(function(e){var t=Fe&&Fe.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.JSONPythonRenderer=e.PythonRenderer=e.PythonTargetLanguage=e.pythonOptions=void 0;const n=St,i=rt(),r=at,l=_t,u=qe,f=yt(),m=Ae,v=Ze,S=tt(),C=Bo,D=Je,_=t(Wa),E=["Any","True","False","None","Enum","List","Dict","Optional","Union","Iterable","Type","TypeVar","T","EnumT"],T=["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 r.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 r.BooleanOption("just-types","Classes only",!1),nicePropertyNames:new r.BooleanOption("nice-property-names","Transform property names to be Pythonic",!0)};class P extends n.TargetLanguage{getOptions(){return[e.pythonOptions.features,e.pythonOptions.justTypes,e.pythonOptions.nicePropertyNames]}get stringTypeMapping(){const h=new Map,b="date-time";return h.set("date",b),h.set("time",b),h.set("date-time",b),h.set("uuid","uuid"),h.set("integer-string","integer-string"),h.set("bool-string","bool-string"),h}get supportsUnionsWithBothNumberTypes(){return!0}get supportsOptionalClassProperties(){return!1}needsTransformerForType(h){return h instanceof i.UnionType?(0,D.iterableSome)(h.members,b=>this.needsTransformerForType(b)):h.kind==="integer-string"||h.kind==="bool-string"}makeRenderer(h,b){const R=(0,r.getOptionValues)(e.pythonOptions,b);return R.justTypes?new w(this,h,R):new a(this,h,R)}}e.PythonTargetLanguage=P;function I(d){const h=_.default.getCategory(d);return["Lu","Ll","Lt","Lm","Lo","Nl"].indexOf(h)>=0}function M(d){if(I(d))return!0;const h=_.default.getCategory(d);return["Mn","Mc","Nd","Pc"].indexOf(h)>=0}function H(d){const h=String.fromCharCode(d).normalize("NFKC"),b=h.length;if(b===0||!I(h.charCodeAt(0)))return!1;for(let R=1;R<b;R++)if(!M(h.charCodeAt(R)))return!1;return!0}function Z(d){const h=String.fromCharCode(d).normalize("NFKC"),b=h.length;for(let R=0;R<b;R++)if(!M(h.charCodeAt(R)))return!1;return!0}const U=(0,f.utf16LegalizeCharacters)(Z);function B(d){const h=(0,f.splitIntoWords)(d);return(0,f.combineWords)(h,U,f.firstUpperWordStyle,f.firstUpperWordStyle,f.allUpperWordStyle,f.allUpperWordStyle,"",H)}function F(d,h){return h?d?f.allUpperWordStyle:f.allLowerWordStyle:f.originalWord}function y(d,h,b){const R=F(h,b),x=b?"_":"",j=(0,f.splitIntoWords)(d);return(0,f.combineWords)(j,U,R,R,R,R,x,H)}class w extends l.ConvenienceRenderer{constructor(h,b,R){super(h,b),this.pyOptions=R,this.imports=new Map,this.declaredTypes=new Set}forbiddenNamesForGlobalNamespace(){return E}forbiddenForObjectProperties(h,b){return{names:T,includeGlobalForbidden:!1}}makeNamedTypeNamer(){return(0,u.funPrefixNamer)("type",B)}namerForObjectProperty(){return(0,u.funPrefixNamer)("property",h=>y(h,!1,this.pyOptions.nicePropertyNames))}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return(0,u.funPrefixNamer)("enum-case",h=>y(h,!0,this.pyOptions.nicePropertyNames))}get commentLineStart(){return"# "}emitDescriptionBlock(h){if(h.length===1){const b=(0,v.modifySource)(R=>R.endsWith('"')?R.slice(0,-1)+'\\"':R,h[0]);this.emitComments([{customLines:[b],lineStart:'"""',lineEnd:'"""'}])}else this.emitCommentLines(h,{firstLineStart:'"""',lineStart:"",afterComment:'"""'})}get needsTypeDeclarationBeforeUse(){return!0}canBeForwardDeclared(h){const b=h.kind;return b==="class"||b==="enum"}emitBlock(h,b){this.emitLine(h),this.indent(b)}string(h){return['"',(0,f.stringEscape)(h),'"']}withImport(h,b){return(this.pyOptions.features.typeHints||h!=="typing")&&(0,D.mapUpdateInto)(this.imports,h,R=>R?(0,D.setUnionInto)(R,[b]):new Set([b])),b}withTyping(h){return this.withImport("typing",h)}namedType(h){const b=this.nameForNamedType(h);return this.declaredTypes.has(h)?b:["'",b,"'"]}pythonType(h,b=!1){const R=(0,C.followTargetType)(h);return(0,S.matchType)(R,x=>this.withTyping("Any"),x=>"None",x=>"bool",x=>"int",x=>"float",x=>"str",x=>[this.withTyping("List"),"[",this.pythonType(x.items),"]"],x=>this.namedType(x),x=>[this.withTyping("Dict"),"[str, ",this.pythonType(x.values),"]"],x=>this.namedType(x),x=>{const[j,W]=(0,S.removeNullFromUnion)(x),k=Array.from(W).map(O=>this.pythonType(O));if(j!==null){let O=[];return!this.getAlphabetizeProperties()&&this.pyOptions.features.dataClasses&&b&&O.push(" = None"),W.size>1?(this.withImport("typing","Union"),[this.withTyping("Optional"),"[Union[",(0,D.arrayIntercalate)(", ",k),"]]",...O]):[this.withTyping("Optional"),"[",(0,m.defined)((0,D.iterableFirst)(k)),"]",...O]}else return[this.withTyping("Union"),"[",(0,D.arrayIntercalate)(", ",k),"]"]},x=>x.kind==="date-time"?this.withImport("datetime","datetime"):x.kind==="uuid"?this.withImport("uuid","UUID"):(0,m.panic)(`Transformed type ${x.kind} not supported`))}declarationLine(h){return h instanceof i.ClassType?["class ",this.nameForNamedType(h),":"]:h instanceof i.EnumType?["class ",this.nameForNamedType(h),"(",this.withImport("enum","Enum"),"):"]:(0,m.panic)(`Can't declare type ${h.kind}`)}declareType(h,b){this.emitBlock(this.declarationLine(h),()=>{this.emitDescription(this.descriptionForType(h)),b()}),this.declaredTypes.add(h)}emitClassMembers(h){if(this.pyOptions.features.dataClasses)return;const b=[];this.forEachClassProperty(h,"none",(R,x,j)=>{b.push([R,this.typeHint(": ",this.pythonType(j.type))])}),this.emitBlock(["def __init__(self, ",(0,D.arrayIntercalate)(", ",b),")",this.typeHint(" -> None"),":"],()=>{b.length===0?this.emitLine("pass"):this.forEachClassProperty(h,"none",R=>{this.emitLine("self.",R," = ",R)})})}typeHint(...h){return this.pyOptions.features.typeHints?h:[]}typingDecl(h,b){return[h,this.typeHint(": ",this.withTyping(b))]}typingReturn(h){return this.typeHint(" -> ",this.withTyping(h))}sortClassProperties(h,b){return this.pyOptions.features.dataClasses?(0,D.mapSortBy)(h,R=>R.type instanceof i.UnionType&&(0,S.nullableFromUnion)(R.type)!=null||R.isOptional?1:0):super.sortClassProperties(h,b)}emitClass(h){this.pyOptions.features.dataClasses&&this.emitLine("@",this.withImport("dataclasses","dataclass")),this.declareType(h,()=>{this.pyOptions.features.typeHints&&(h.getProperties().size===0?this.emitLine("pass"):this.forEachClassProperty(h,"none",(b,R,x)=>{this.emitLine(b,this.typeHint(": ",this.pythonType(x.type,!0))),this.emitDescription(this.descriptionForClassProperty(h,R))}),this.ensureBlankLine()),this.emitClassMembers(h)})}emitEnum(h){this.declareType(h,()=>{this.forEachEnumCase(h,"none",(b,R)=>{this.emitLine([b," = ",this.string(R)])})})}emitImports(){this.imports.forEach((h,b)=>{this.emitLine("from ",b," import ",Array.from(h).join(", "))})}emitSupportCode(){}emitClosingCode(){}emitSourceStructure(h){const b=this.gatherSource(()=>{this.forEachNamedType(["interposing",2],j=>this.emitClass(j),j=>this.emitEnum(j),j=>{})}),R=this.gatherSource(()=>this.emitClosingCode()),x=this.gatherSource(()=>this.emitSupportCode());this.leadingComments!==void 0&&this.emitComments(this.leadingComments),this.ensureBlankLine(),this.emitImports(),this.ensureBlankLine(2),this.emitGatheredSource(x),this.ensureBlankLine(2),this.emitGatheredSource(b),this.ensureBlankLine(2),this.emitGatheredSource(R)}}e.PythonRenderer=w;function L(d,h){return typeof h=="function"?d.value!==void 0?{value:h(o(d))}:d.lambda!==void 0?{lambda:(0,v.multiWord)(" ","lambda x:",h([(0,v.parenIfNeeded)(d.lambda),"(x)"])),value:void 0}:{lambda:(0,v.multiWord)(" ","lambda x:",h("x")),value:void 0}:h.value!==void 0?(0,m.panic)("Cannot compose into a value"):h.lambda===void 0?d:d.value===void 0?d.lambda===void 0?h:{lambda:(0,v.multiWord)("","lambda x: ",(0,v.parenIfNeeded)(h.lambda),"(",(0,v.parenIfNeeded)(d.lambda),"(x))"),value:void 0}:{lambda:h.lambda,value:o(d)}}const N={value:void 0};function p(d){return d.lambda!==void 0?d.value===void 0?d.lambda:(0,v.multiWord)("","lambda x: ",(0,v.parenIfNeeded)(d.lambda),"(",d.value,")"):d.value!==void 0?(0,v.multiWord)(" ","lambda x:",d.value):(0,v.multiWord)(" ","lambda x:","x")}function o(d){return d.value===void 0?(0,m.panic)("Cannot make value from lambda without value"):d.lambda!==void 0?[(0,v.parenIfNeeded)(d.lambda),"(",d.value,")"]:d.value}class a extends w{constructor(){super(...arguments),this._deserializerFunctions=new Set,this._converterNamer=(0,u.funPrefixNamer)("converter",h=>y(h,!1,this.pyOptions.nicePropertyNames)),this._topLevelConverterNames=new Map,this._haveTypeVar=!1,this._haveEnumTypeVar=!1,this._haveDateutil=!1}emitTypeVar(h,b){this.pyOptions.features.typeHints&&this.emitLine(h," = ",this.withTyping("TypeVar"),"(",this.string(h),b,")")}typeVar(){return this._haveTypeVar=!0,this.withTyping("TypeVar"),"T"}enumTypeVar(){return this._haveEnumTypeVar=!0,this.withTyping("TypeVar"),this.withImport("enum","Enum"),"EnumT"}cast(h,b){return this.pyOptions.features.typeHints?[this.withTyping("cast"),"(",h,", ",b,")"]:b}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, 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 h=this.enumTypeVar();this.emitBlock(["def to_enum(c",this.typeHint(": ",this.withTyping("Type"),"[",h,"]"),", ",this.typingDecl("x","Any"),")",this.typeHint(" -> ",h),":"],()=>{this.emitLine("assert isinstance(x, c)"),this.emitLine("return x.value")})}emitListConverter(){const h=this.typeVar();this.emitBlock(["def from_list(f",this.typeHint(": ",this.withTyping("Callable"),"[[",this.withTyping("Any"),"], ",h,"]"),", ",this.typingDecl("x","Any"),")",this.typeHint(" -> ",this.withTyping("List"),"[",h,"]"),":"],()=>{this.emitLine("assert isinstance(x, list)"),this.emitLine("return [f(y) for y in x]")})}emitToClassConverter(){const h=this.typeVar();this.emitBlock(["def to_class(c",this.typeHint(": ",this.withTyping("Type"),"[",h,"]"),", ",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 h=this.typeVar();this.emitBlock(["def from_dict(f",this.typeHint(": ",this.withTyping("Callable"),"[[",this.withTyping("Any"),"], ",h,"]"),", ",this.typingDecl("x","Any"),")",this.typeHint(" -> ",this.withTyping("Dict"),"[str, ",h,"]"),":"],()=>{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 h=this.typeVar();this.emitBlock(["def is_type(t",this.typeHint(": ",this.withTyping("Type"),"[",h,"]"),", ",this.typingDecl("x","Any"),")",this.typeHint(" -> ",h),":"],()=>{this.emitLine("assert isinstance(x, t)"),this.emitLine("return x")})}emitConverter(h){switch(h){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,m.assertNever)(h)}}conv(h){this._deserializerFunctions.add(h);const b=h.replace(/-/g,"_");return h.startsWith("from-")||h.startsWith("to-")||h.startsWith("is-")?b:["from_",b]}convFn(h,b){return L(b,{lambda:(0,v.singleWord)(this.conv(h)),value:void 0})}typeObject(h){const b=(0,S.matchType)(h,R=>{},R=>"type(None)",R=>"bool",R=>"int",R=>"float",R=>"str",R=>"List",R=>this.nameForNamedType(R),R=>"dict",R=>this.nameForNamedType(R),R=>{},R=>{if(R.kind==="date-time")return this.withImport("datetime","datetime");if(R.kind==="uuid")return this.withImport("uuid","UUID")});return b===void 0?(0,m.panic)(`No type object for ${h.kind}`):b}transformer(h,b,R){const x=(W,k)=>W===void 0?k:this.transformer(k,W,R),j=(W,k)=>L(k,O=>[this.conv("is-type"),"(",this.typeObject(W),", ",O,")"]);if(b instanceof C.DecodingChoiceTransformer||b instanceof C.ChoiceTransformer){const W=b.transformers.map(k=>p(this.transformer(N,k,R)).source);return L(h,k=>[this.conv("union"),"([",(0,D.arrayIntercalate)(", ",W),"], ",k,")"])}else if(b instanceof C.DecodingTransformer){const W=b.consumer,k=this.deserializer(h,b.sourceType);return x(W,k)}else{if(b instanceof C.EncodingTransformer)return this.serializer(h,b.sourceType);if(b instanceof C.UnionInstantiationTransformer)return h;if(b instanceof C.UnionMemberMatchTransformer){const W=b.transformer,k=j(b.memberType,h);return x(W,k)}else if(b instanceof C.ParseStringTransformer){const W=b.consumer,k=W===void 0?R:W.sourceType;let O;switch(k.kind){case"integer":O=L(h,V=>["int(",V,")"]);break;case"bool":O=this.convFn("from-stringified-bool",h);break;case"enum":O=this.deserializer(h,k);break;case"date-time":O=this.convFn("from-datetime",h);break;case"uuid":O=L(h,V=>[this.withImport("uuid","UUID"),"(",V,")"]);break;default:return(0,m.panic)(`Parsing of ${k.kind} in a transformer is not supported`)}return x(W,O)}else if(b instanceof C.StringifyTransformer){const W=b.consumer;let k;switch(b.sourceType.kind){case"integer":k=L(h,O=>["str(",O,")"]);break;case"bool":k=L(h,O=>["str(",O,").lower()"]);break;case"enum":k=this.serializer(h,b.sourceType);break;case"date-time":k=L(h,O=>[O,".isoformat()"]);break;case"uuid":k=L(h,O=>["str(",O,")"]);break;default:return(0,m.panic)(`Parsing of ${b.sourceType.kind} in a transformer is not supported`)}return x(W,k)}else return(0,m.panic)(`Transformer ${b.kind} is not supported`)}}deserializer(h,b){const R=(0,C.transformationForType)(b);return R!==void 0?this.transformer(h,R.transformer,R.targetType):(0,S.matchType)(b,x=>h,x=>this.convFn("none",h),x=>this.convFn("bool",h),x=>this.convFn("int",h),x=>this.convFn("from-float",h),x=>this.convFn("str",h),x=>L(h,j=>[this.conv("list"),"(",p(this.deserializer(N,x.items)).source,", ",j,")"]),x=>L(h,{lambda:(0,v.singleWord)(this.nameForNamedType(x),".from_dict"),value:void 0}),x=>L(h,j=>[this.conv("dict"),"(",p(this.deserializer(N,x.values)).source,", ",j,")"]),x=>L(h,{lambda:(0,v.singleWord)(this.nameForNamedType(x)),value:void 0}),x=>{const j=Array.from(x.members).map(W=>p(this.deserializer(N,W)).source);return L(h,W=>[this.conv("union"),"([",(0,D.arrayIntercalate)(", ",j),"], ",W,")"])},x=>x.kind==="date-time"?this.convFn("from-datetime",h):x.kind==="uuid"?L(h,j=>[this.withImport("uuid","UUID"),"(",j,")"]):(0,m.panic)(`Transformed type ${x.kind} not supported`))}serializer(h,b){const R=(0,C.transformationForType)(b);if(R!==void 0){const x=R.reverse;return this.transformer(h,x.transformer,x.targetType)}return(0,S.matchType)(b,x=>h,x=>this.convFn("none",h),x=>this.convFn("bool",h),x=>this.convFn("int",h),x=>this.convFn("to-float",h),x=>this.convFn("str",h),x=>L(h,j=>[this.conv("list"),"(",p(this.serializer(N,x.items)).source,", ",j,")"]),x=>L(h,j=>[this.conv("to-class"),"(",this.nameForNamedType(x),", ",j,")"]),x=>L(h,j=>[this.conv("dict"),"(",p(this.serializer(N,x.values)).source,", ",j,")"]),x=>L(h,j=>[this.conv("to-enum"),"(",this.nameForNamedType(x),", ",j,")"]),x=>{const j=Array.from(x.members).map(W=>p(this.serializer(N,W)).source);return L(h,W=>[this.conv("union"),"([",(0,D.arrayIntercalate)(", ",j),"], ",W,")"])},x=>x.kind==="date-time"?L(h,j=>[j,".isoformat()"]):x.kind==="uuid"?L(h,j=>["str(",j,")"]):(0,m.panic)(`Transformed type ${x.kind} not supported`))}emitClassMembers(h){super.emitClassMembers(h),this.ensureBlankLine();const b=this.nameForNamedType(h);this.emitLine("@staticmethod"),this.emitBlock(["def from_dict(",this.typingDecl("obj","Any"),")",this.typeHint(" -> ",this.namedType(h)),":"],()=>{const R=[];this.emitLine("assert isinstance(obj, dict)"),this.forEachClassProperty(h,"none",(x,j,W)=>{const k={value:["obj.get(",this.string(j),")"]};this.emitLine(x," = ",o(this.deserializer(k,W.type))),R.push(x)}),this.emitLine("return ",b,"(",(0,D.arrayIntercalate)(", ",R),")")}),this.ensureBlankLine(),this.emitBlock(["def to_dict(self)",this.typeHint(" -> dict"),":"],()=>{this.emitLine("result",this.typeHint(": dict")," = {}"),this.forEachClassProperty(h,"none",(R,x,j)=>{const W={value:["self.",R]};j.isOptional?this.emitBlock(["if self.",R," is not None:"],()=>{this.emitLine("result[",this.string(x),"] = ",o(this.serializer(W,j.type)))}):this.emitLine("result[",this.string(x),"] = ",o(this.serializer(W,j.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 h=Array.from(this._deserializerFunctions).map(b=>[b,b]);this.forEachWithBlankLines(h,["interposing",2],b=>{this.emitConverter(b)})}makeTopLevelDependencyNames(h,b){const R=new u.DependencyName(this._converterNamer,l.topLevelNameOrder,j=>`${j(b)}_from_dict`),x=new u.DependencyName(this._converterNamer,l.topLevelNameOrder,j=>`${j(b)}_to_dict`);return this._topLevelConverterNames.set(b,{fromDict:R,toDict:x}),[R,x]}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",(h,b)=>{const{fromDict:R}=(0,m.defined)(this._topLevelConverterNames.get(b));this.emitLine(this.commentLineStart," result = ",R,"(json.loads(json_string))")})}emitClosingCode(){this.forEachTopLevel(["interposing",2],(h,b)=>{const{fromDict:R,toDict:x}=(0,m.defined)(this._topLevelConverterNames.get(b)),j=this.pythonType(h);this.emitBlock(["def ",R,"(",this.typingDecl("s","Any"),")",this.typeHint(" -> ",j),":"],()=>{this.emitLine("return ",o(this.deserializer({value:"s"},h)))}),this.ensureBlankLine(2),this.emitBlock(["def ",x,"(x",this.typeHint(": ",j),")",this.typingReturn("Any"),":"],()=>{this.emitLine("return ",o(this.serializer({value:"x"},h)))})})}}e.JSONPythonRenderer=a})(Ip);var Ur={};Object.defineProperty(Ur,"__esModule",{value:!0});Ur.PikeRenderer=Ur.PikeTargetLanguage=Ur.pikeOptions=void 0;const kM=_t,Mp=qe,gn=Ze,OM=St,oa=rt(),Zu=tt(),zr=yt();Ur.pikeOptions={};const EM=["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"],jp=(0,zr.legalizeCharacters)(zr.isLetterOrUnderscoreOrDigit),CM=(0,Mp.funPrefixNamer)("enumNamer",(0,zr.makeNameStyle)("upper-underscore",jp)),i0=(0,Mp.funPrefixNamer)("genericNamer",(0,zr.makeNameStyle)("underscore",jp)),AM=(0,Mp.funPrefixNamer)("typeNamer",(0,zr.makeNameStyle)("pascal",jp));class FM extends OM.TargetLanguage{constructor(){super("Pike",["pike","pikelang"],"pmod")}getOptions(){return[]}makeRenderer(t){return new Cv(this,t)}}Ur.PikeTargetLanguage=FM;class Cv extends kM.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 CM}makeNamedTypeNamer(){return AM}makeUnionMemberNamer(){return i0}namerForObjectProperty(){return i0}forbiddenNamesForGlobalNamespace(){return[...EM]}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,gn.singleWord)(this.nameForNamedType(t)):(0,Zu.matchType)(t,n=>(0,gn.singleWord)("mixed"),n=>(0,gn.singleWord)("mixed"),n=>(0,gn.singleWord)("bool"),n=>(0,gn.singleWord)("int"),n=>(0,gn.singleWord)("float"),n=>(0,gn.singleWord)("string"),n=>(0,gn.singleWord)(["array(",this.sourceFor(n.items).source,")"]),n=>(0,gn.singleWord)(this.nameForNamedType(n)),n=>{let i;const r=n.values;return i=this.sourceFor(r).source,(0,gn.singleWord)(["mapping(string:",i,")"])},n=>(0,gn.singleWord)("enum"),n=>{if((0,Zu.nullableFromUnion)(n)!==null){const i=Array.from(n.getChildren()).map(r=>(0,gn.parenIfNeeded)(this.sourceFor(r)));return(0,gn.multiWord)("|",...i)}else return(0,gn.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,l)=>{i.push([[r,' = "',(0,zr.stringEscape)(l),'", '],['// json: "',l,'"']])}),this.emitTable(i)})}emitUnion(t,n){if((0,Zu.nullableFromUnion)(t)!==null)return;this.emitDescription(this.descriptionForType(t));const[,r]=(0,Zu.removeNullFromUnion)(t);let l=[];this.forEachUnionMember(t,r,"none",null,(u,f)=>{const m=this.sourceFor(f).source;l.push([m])}),this.emitLine(["typedef ",l.map(u=>u.map(f=>this.sourcelikeToString(f))).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,l)=>{const u=this.sourceFor(l.type).source;n.push([[u," "],[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 oa.PrimitiveType)this.emitLine(["return json;"]);else if(t instanceof oa.ArrayType)t.items instanceof oa.PrimitiveType?this.emitLine(["return json;"]):this.emitLine(["return map(json, ",this.sourceFor(t.items).source,"_from_JSON);"]);else if(t instanceof oa.MapType){const i=this.sourceFor(t.values).source;this.emitLine(["mapping(string:",i,") retval = ([]);"]);let r;t.values instanceof oa.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;"])})}}Ur.PikeRenderer=Cv;var Rp={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.HaskellRenderer=e.HaskellTargetLanguage=e.haskellOptions=void 0;const t=Je,n=St,i=at,r=tt(),l=_t,u=qe,f=yt(),m=Ze;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 v 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(I,M){return new T(this,I,(0,i.getOptionValues)(e.haskellOptions,M))}}e.HaskellTargetLanguage=v;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"],C=(0,f.legalizeCharacters)(P=>(0,f.isAscii)(P)&&(0,f.isLetterOrUnderscoreOrDigit)(P));function D(P,I){const M=(0,f.splitIntoWords)(P);return(0,f.combineWords)(M,C,I?f.firstUpperWordStyle:f.allLowerWordStyle,f.firstUpperWordStyle,I?f.allUpperWordStyle:f.allLowerWordStyle,f.allUpperWordStyle,"",f.isLetterOrUnderscore)}const _=(0,u.funPrefixNamer)("upper",P=>D(P,!0)),E=(0,u.funPrefixNamer)("lower",P=>D(P,!1));class T extends l.ConvenienceRenderer{constructor(I,M,H){super(I,M),this._options=H}forbiddenNamesForGlobalNamespace(){return S}makeNamedTypeNamer(){return _}namerForObjectProperty(){return E}forbiddenForObjectProperties(I,M){return{names:[],includeGlobalForbidden:!0}}makeUnionMemberNamer(){return _}get unionMembersInGlobalNamespace(){return!0}makeEnumCaseNamer(){return _}get enumCasesInGlobalNamespace(){return!0}proposeUnionMemberName(I,M,H,Z){return`${super.proposeUnionMemberName(I,M,H,Z)}_in_${Z(M)}`}get commentLineStart(){return"-- "}emitDescriptionBlock(I){I.length===1?this.emitComments([{customLines:I,lineStart:"{-| ",lineEnd:" -}"}]):this.emitCommentLines(I,{firstLineStart:"{-| ",lineStart:"",afterComment:"-}"})}haskellType(I,M=!1){return(0,r.matchType)(I,H=>(0,m.multiWord)(" ","Maybe","Text"),H=>(0,m.multiWord)(" ","Maybe","Text"),H=>(0,m.singleWord)("Bool"),H=>(0,m.singleWord)("Int"),H=>(0,m.singleWord)("Float"),H=>(0,m.singleWord)("Text"),H=>this._options.useList?(0,m.multiWord)("","[",(0,m.parenIfNeeded)(this.haskellType(H.items)),"]"):(0,m.multiWord)(" ","Vector",(0,m.parenIfNeeded)(this.haskellType(H.items))),H=>(0,m.singleWord)(this.nameForNamedType(H)),H=>(0,m.multiWord)(" ","HashMap Text",(0,m.parenIfNeeded)(this.haskellType(H.values))),H=>(0,m.singleWord)(this.nameForNamedType(H)),H=>{const Z=(0,r.nullableFromUnion)(H);if(Z!==null){const U=this.haskellType(Z);return M?U:(0,m.multiWord)(" ","Maybe",(0,m.parenIfNeeded)(U))}return(0,m.singleWord)(this.nameForNamedType(H))})}haskellProperty(I){return I.isOptional?(0,m.multiWord)(" ","Maybe",(0,m.parenIfNeeded)(this.haskellType(I.type,!0))).source:this.haskellType(I.type).source}encoderNameForType(I){return(0,r.matchType)(I,M=>(0,m.singleWord)("String"),M=>(0,m.singleWord)("Null"),M=>(0,m.singleWord)("Bool"),M=>(0,m.singleWord)("Number"),M=>(0,m.singleWord)("Number"),M=>(0,m.singleWord)("String"),M=>(0,m.singleWord)("Array"),M=>(0,m.singleWord)("Object"),M=>(0,m.singleWord)("Object"),M=>(0,m.singleWord)("Object"),M=>(0,m.singleWord)("Object"))}emitTopLevelDefinition(I,M){this.emitLine("type ",M," = ",this.haskellType(I).source)}emitClassDefinition(I,M){let H=this.descriptionForType(I);this.forEachClassProperty(I,"none",(Z,U)=>{const B=this.descriptionForClassProperty(I,U);B!==void 0&&(H===void 0?H=[]:H.push(""),H.push(`${this.sourcelikeToString(Z)}:`),H.push(...B))}),this.emitDescription(H),this.emitLine("data ",M," = ",M),this.indent(()=>{let Z=!0;this.forEachClassProperty(I,"none",(U,B,F)=>{this.emitLine(Z?"{ ":", ",U,M," :: ",this.haskellProperty(F)),Z=!1}),Z&&this.emitLine("{"),this.emitLine("} deriving (Show)")})}emitEnumDefinition(I,M){this.emitDescription(this.descriptionForType(I)),this.emitLine("data ",M),this.indent(()=>{let H=!0;this.forEachEnumCase(I,"none",Z=>{const U=H?"=":"|";this.emitLine(U," ",Z,M),H=!1}),this.emitLine("deriving (Show)")})}emitUnionDefinition(I,M){this.emitDescription(this.descriptionForType(I)),this.emitLine("data ",M),this.indent(()=>{let H=!0;this.forEachUnionMember(I,null,"none",null,(Z,U)=>{const B=H?"=":"|";U.kind==="null"?this.emitLine(B," ",Z):this.emitLine(B," ",Z," ",(0,m.parenIfNeeded)(this.haskellType(U))),H=!1}),this.emitLine("deriving (Show)")})}emitTopLevelFunctions(I){this.emitLine("decodeTopLevel :: ByteString -> Maybe ",I),this.emitLine("decodeTopLevel = decode")}classPropertyLength(I){let M=0;return this.forEachClassProperty(I,"none",()=>{M+=1}),M}emitClassEncoderInstance(I,M){let H=[];this.forEachClassProperty(I,"none",Z=>{H.push(" "),H.push(Z),H.push(M)}),this.emitLine("instance ToJSON ",M," where"),this.indent(()=>{H.length===0?this.emitLine("toJSON = \\_ -> emptyObject"):(this.emitLine("toJSON (",M,...H,") ="),this.indent(()=>{this.emitLine("object");let Z=!0;this.forEachClassProperty(I,"none",(U,B)=>{this.emitLine(Z?"[ ":", ",'"',(0,f.stringEscape)(B),'" .= ',U,M),Z=!1}),Z&&this.emitLine("["),this.emitLine("]")}))})}emitClassDecoderInstance(I,M){this.emitLine("instance FromJSON ",M," where"),this.indent(()=>{this.classPropertyLength(I)===0?this.emitLine("parseJSON emptyObject = return ",M):(this.emitLine("parseJSON (Object v) = ",M),this.indent(()=>{let H=!0;this.forEachClassProperty(I,"none",(Z,U,B)=>{const F=B.isOptional?".:?":".:";this.emitLine(H?"<$> ":"<*> ","v ",F,' "',(0,f.stringEscape)(U),'"'),H=!1})}))})}emitClassFunctions(I,M){this.emitClassEncoderInstance(I,M),this.ensureBlankLine(),this.emitClassDecoderInstance(I,M)}emitEnumEncoderInstance(I,M){this.emitLine("instance ToJSON ",M," where"),this.indent(()=>{this.forEachEnumCase(I,"none",(H,Z)=>{this.emitLine("toJSON ",H,M,' = "',(0,f.stringEscape)(Z),'"')})})}emitEnumDecoderInstance(I,M){this.emitLine("instance FromJSON ",M," where"),this.indent(()=>{this.emitLine('parseJSON = withText "',M,'" parseText'),this.indent(()=>{this.emitLine("where"),this.indent(()=>{this.forEachEnumCase(I,"none",(H,Z)=>{this.emitLine('parseText "',(0,f.stringEscape)(Z),'" = return ',H,M)})})})})}emitEnumFunctions(I,M){this.emitEnumEncoderInstance(I,M),this.ensureBlankLine(),this.emitEnumDecoderInstance(I,M)}emitUnionEncoderInstance(I,M){this.emitLine("instance ToJSON ",M," where"),this.indent(()=>{this.forEachUnionMember(I,null,"none",null,(H,Z)=>{Z.kind==="null"?this.emitLine("toJSON ",H," = Null"):this.emitLine("toJSON (",H," x) = toJSON x")})})}emitUnionDecoderInstance(I,M){this.emitLine("instance FromJSON ",M," where"),this.indent(()=>{this.forEachUnionMember(I,null,"none",null,(H,Z)=>{Z.kind==="null"?this.emitLine("parseJSON Null = return ",H):this.emitLine("parseJSON xs@(",this.encoderNameForType(Z).source," _) = (fmap ",H," . parseJSON) xs")})})}emitUnionFunctions(I,M){this.emitUnionEncoderInstance(I,M),this.ensureBlankLine(),this.emitUnionDecoderInstance(I,M)}emitLanguageExtensions(I){this.emitLine(`{-# LANGUAGE ${I} #-}`)}emitSourceStructure(){const I=[];this.forEachTopLevel("none",(M,H)=>{I.push([H," (..)"])}),this.forEachObject("none",(M,H)=>{(0,t.mapContains)(this.topLevels,M)||I.push([H," (..)"])}),this.forEachEnum("none",(M,H)=>{(0,t.mapContains)(this.topLevels,M)||I.push([H," (..)"])}),this.forEachUnion("none",(M,H)=>{(0,t.mapContains)(this.topLevels,M)||I.push([H," (..)"])}),this.emitLanguageExtensions("StrictData"),this.emitLanguageExtensions("OverloadedStrings"),this._options.justTypes||(this.ensureBlankLine(),this.emitLine("module ",this._options.moduleName),this.indent(()=>{for(let M=0;M<I.length;M++)this.emitLine(M===0?"(":","," ",I[M]);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",(M,H)=>this.emitTopLevelDefinition(M,H),M=>this.namedTypeToNameForTopLevel(M)===void 0),this.forEachNamedType("leading-and-interposing",(M,H)=>this.emitClassDefinition(M,H),(M,H)=>this.emitEnumDefinition(M,H),(M,H)=>this.emitUnionDefinition(M,H)),this.forEachTopLevel("leading-and-interposing",(M,H)=>this.emitTopLevelFunctions(H)),this.forEachNamedType("leading-and-interposing",(M,H)=>this.emitClassFunctions(M,H),(M,H)=>this.emitEnumFunctions(M,H),(M,H)=>this.emitUnionFunctions(M,H)),!this._options.justTypes&&this.ensureBlankLine()}}e.HaskellRenderer=T})(Rp);var Av={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.TypeScriptZodRenderer=e.TypeScriptZodTargetLanguage=e.typeScriptZodOptions=void 0;const t=Je,n=_t,i=qe,r=at,l=St,u=rt(),f=tt(),m=lr(),v=yt(),S=Ae,C=js;e.typeScriptZodOptions={justSchema:new r.BooleanOption("just-schema","Schema only",!1)};class D extends l.TargetLanguage{getOptions(){return[]}constructor(T="TypeScript Zod",P=["typescript-zod"],I="ts"){super(T,P,I)}get stringTypeMapping(){const T=new Map;return T.set("date-time","date-time"),T}get supportsOptionalClassProperties(){return!0}makeRenderer(T,P){return new _(this,T,(0,r.getOptionValues)(e.typeScriptZodOptions,P))}}e.TypeScriptZodTargetLanguage=D;class _ extends n.ConvenienceRenderer{constructor(T,P,I){super(T,P),this._options=I}forbiddenNamesForGlobalNamespace(){return["Class","Date","Object","String","Array","JSON","Error"]}nameStyle(T,P){const I=(0,m.acronymStyle)(m.AcronymStyleOptions.Camel),M=(0,v.splitIntoWords)(T);return(0,v.combineWords)(M,C.legalizeName,P?v.firstUpperWordStyle:v.allLowerWordStyle,v.firstUpperWordStyle,P?H=>(0,v.capitalize)(I(H)):v.allLowerWordStyle,I,"",v.isLetterOrUnderscore)}makeNamedTypeNamer(){return(0,i.funPrefixNamer)("types",T=>this.nameStyle(T,!0))}makeUnionMemberNamer(){return(0,i.funPrefixNamer)("properties",T=>this.nameStyle(T,!0))}namerForObjectProperty(){return(0,i.funPrefixNamer)("properties",T=>this.nameStyle(T,!0))}makeEnumCaseNamer(){return(0,i.funPrefixNamer)("enum-cases",T=>this.nameStyle(T,!1))}importStatement(T,P){return["import ",T," from ",P,";"]}emitImports(){this.ensureBlankLine(),this.emitLine(this.importStatement("* as z",'"zod"'))}typeMapTypeForProperty(T){const P=this.typeMapTypeFor(T.type);return T.isOptional?[P,".optional()"]:P}typeMapTypeFor(T,P=!0){if(["class","object","enum"].indexOf(T.kind)>=0)return[this.nameForNamedType(T),"Schema"];const I=(0,f.matchType)(T,M=>"z.any()",M=>"z.null()",M=>"z.boolean()",M=>"z.number()",M=>"z.number()",M=>"z.string()",M=>["z.array(",this.typeMapTypeFor(M.items,!1),")"],M=>(0,S.panic)("Should already be handled."),M=>["z.record(z.string(), ",this.typeMapTypeFor(M.values,!1),")"],M=>(0,S.panic)("Should already be handled."),M=>{const H=Array.from(M.getChildren()).map(Z=>this.typeMapTypeFor(Z,!1));return["z.union([",...(0,t.arrayIntercalate)(", ",H),"])"]},M=>M.kind==="date-time"?"z.coerce.date()":"z.string()");return P?[I]:I}emitObject(T,P){this.ensureBlankLine(),this.emitLine(`
|
|
895
|
-
export const `,T,"Schema = ","z.object({"),this.indent(()=>{this.forEachClassProperty(P,"none",(I,M,H)=>{this.emitLine(`"${(0,v.utf16StringEscape)(M)}"`,": ",this.typeMapTypeForProperty(H),",")})}),this.emitLine("});"),this._options.justSchema||this.emitLine("export type ",T," = z.infer<typeof ",T,"Schema>;")}emitEnum(T,P){this.ensureBlankLine(),this.emitDescription(this.descriptionForType(T)),this.emitLine(`
|
|
896
|
-
export const `,P,"Schema = ","z.enum(["),this.indent(()=>this.forEachEnumCase(T,"none",(I,M)=>{this.emitLine('"',(0,v.stringEscape)(M),'",')})),this.emitLine("]);"),this._options.justSchema||this.emitLine("export type ",P," = z.infer<typeof ",P,"Schema>;")}static extractUnderlyingTyperefs(T){let P=[];if(!T.isPrimitive()&&T.kind!="enum"){if(T instanceof u.SetOperationType&&T.members.forEach(I=>{P.push(..._.extractUnderlyingTyperefs(I))}),T instanceof u.ObjectType){const I=T.getAdditionalProperties();I&&P.push(..._.extractUnderlyingTyperefs(I))}if(T instanceof u.ArrayType){const I=T.items;I&&P.push(..._.extractUnderlyingTyperefs(I))}T instanceof u.ClassType&&P.push(T.typeRef)}return P}emitSchemas(){this.ensureBlankLine(),this.forEachEnum("leading-and-interposing",(y,w)=>{this.emitEnum(y,w)});const T=[],P=[],I=[],M=[],H=[];this.forEachObject("none",(y,w)=>{P.push(y),I.push(y.typeRef),M.push(w);const L=y.getChildren();let N=[];L.forEach(p=>{N=N.concat(_.extractUnderlyingTyperefs(p))}),H.push(N)});let Z=[];P.forEach((y,w)=>{Z.push(w)});let U=[];const B=999;let F=0;do Z.forEach(y=>{const w=H[y];let L=!0;w.forEach(N=>{if(I.indexOf(N)>-1){let p=!1;for(let o=0;o<T.length;o++){const a=T[o];if(I[a]===N){p=!0;break}}L=L&&p}else console.error("A child type reference was not found amongst all Object definitions! TypeRef: "+N)}),L?T.push(y):U.push(y)}),Z=U,U=[],F++,F>B&&(T.push(...U),console.warn("Exceeded maximum number of passes when determining output order, output may contain forward references"));while(Z.length>0&&F<=B);T.forEach(y=>this.emitGatheredSource(this.gatherSource(()=>this.emitObject(M[y],P[y]))))}emitSourceStructure(){this.leadingComments!==void 0&&this.emitComments(this.leadingComments),this.emitImports(),this.emitSchemas()}}e.TypeScriptZodRenderer=_})(Av);var Fv={},kl={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
|
-
*/kl.exports;(function(e,t){(function(){var n,i="4.17.21",r=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",f="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",v=500,S="__lodash_placeholder__",C=1,D=2,_=4,E=1,T=2,P=1,I=2,M=4,H=8,Z=16,U=32,B=64,F=128,y=256,w=512,L=30,N="...",p=800,o=16,a=1,d=2,h=3,b=1/0,R=9007199254740991,x=17976931348623157e292,j=NaN,W=4294967295,k=W-1,O=W>>>1,V=[["ary",F],["bind",P],["bindKey",I],["curry",H],["curryRight",Z],["flip",w],["partial",U],["partialRight",B],["rearg",y]],te="[object Arguments]",ue="[object Array]",Y="[object AsyncFunction]",$="[object Boolean]",ae="[object Date]",pe="[object DOMException]",Te="[object Error]",Ne="[object Function]",ce="[object GeneratorFunction]",fe="[object Map]",le="[object Number]",X="[object Null]",z="[object Object]",K="[object Promise]",se="[object Proxy]",he="[object RegExp]",ve="[object Set]",we="[object String]",Pe="[object Symbol]",je="[object Undefined]",Q="[object WeakMap]",ee="[object WeakSet]",G="[object ArrayBuffer]",A="[object DataView]",J="[object Float32Array]",re="[object Float64Array]",me="[object Int8Array]",Se="[object Int16Array]",Le="[object Int32Array]",Re="[object Uint8Array]",nt="[object Uint8ClampedArray]",st="[object Uint16Array]",dt="[object Uint32Array]",ut=/\b__p \+= '';/g,jn=/\b(__p \+=) '' \+/g,xe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,He=/&(?:amp|lt|gt|quot|#39);/g,Ue=/[&<>"']/g,De=RegExp(He.source),Bt=RegExp(Ue.source),Rn=/<%-([\s\S]+?)%>/g,sn=/<%([\s\S]+?)%>/g,Bn=/<%=([\s\S]+?)%>/g,Us=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,iL=/^\w*$/,rL=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mc=/[\\^$.*+?()[\]{}|]/g,sL=RegExp(Mc.source),jc=/^\s+/,oL=/\s/,aL=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,uL=/\{\n\/\* \[wrapped with (.+)\] \*/,lL=/,? & /,cL=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,fL=/[()=,{}\[\]\/\s]/,dL=/\\(\\)?/g,hL=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rm=/\w*$/,pL=/^[-+]0x[0-9a-f]+$/i,mL=/^0b[01]+$/i,yL=/^\[object .+?Constructor\]$/,gL=/^0o[0-7]+$/i,bL=/^(?:0|[1-9]\d*)$/,TL=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Za=/($^)/,SL=/['\n\r\u2028\u2029\\]/g,Qa="\\ud800-\\udfff",vL="\\u0300-\\u036f",wL="\\ufe20-\\ufe2f",LL="\\u20d0-\\u20ff",sm=vL+wL+LL,om="\\u2700-\\u27bf",am="a-z\\xdf-\\xf6\\xf8-\\xff",_L="\\xac\\xb1\\xd7\\xf7",NL="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",kL="\\u2000-\\u206f",OL=" \\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",um="A-Z\\xc0-\\xd6\\xd8-\\xde",lm="\\ufe0e\\ufe0f",cm=_L+NL+kL+OL,Rc="['’]",EL="["+Qa+"]",fm="["+cm+"]",Xa="["+sm+"]",dm="\\d+",CL="["+om+"]",hm="["+am+"]",pm="[^"+Qa+cm+dm+om+am+um+"]",Bc="\\ud83c[\\udffb-\\udfff]",AL="(?:"+Xa+"|"+Bc+")",mm="[^"+Qa+"]",Dc="(?:\\ud83c[\\udde6-\\uddff]){2}",xc="[\\ud800-\\udbff][\\udc00-\\udfff]",zs="["+um+"]",ym="\\u200d",gm="(?:"+hm+"|"+pm+")",FL="(?:"+zs+"|"+pm+")",bm="(?:"+Rc+"(?:d|ll|m|re|s|t|ve))?",Tm="(?:"+Rc+"(?:D|LL|M|RE|S|T|VE))?",Sm=AL+"?",vm="["+lm+"]?",PL="(?:"+ym+"(?:"+[mm,Dc,xc].join("|")+")"+vm+Sm+")*",IL="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ML="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",wm=vm+Sm+PL,jL="(?:"+[CL,Dc,xc].join("|")+")"+wm,RL="(?:"+[mm+Xa+"?",Xa,Dc,xc,EL].join("|")+")",BL=RegExp(Rc,"g"),DL=RegExp(Xa,"g"),Uc=RegExp(Bc+"(?="+Bc+")|"+RL+wm,"g"),xL=RegExp([zs+"?"+hm+"+"+bm+"(?="+[fm,zs,"$"].join("|")+")",FL+"+"+Tm+"(?="+[fm,zs+gm,"$"].join("|")+")",zs+"?"+gm+"+"+bm,zs+"+"+Tm,ML,IL,dm,jL].join("|"),"g"),UL=RegExp("["+ym+Qa+sm+lm+"]"),zL=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,JL=["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"],WL=-1,Nt={};Nt[J]=Nt[re]=Nt[me]=Nt[Se]=Nt[Le]=Nt[Re]=Nt[nt]=Nt[st]=Nt[dt]=!0,Nt[te]=Nt[ue]=Nt[G]=Nt[$]=Nt[A]=Nt[ae]=Nt[Te]=Nt[Ne]=Nt[fe]=Nt[le]=Nt[z]=Nt[he]=Nt[ve]=Nt[we]=Nt[Q]=!1;var Lt={};Lt[te]=Lt[ue]=Lt[G]=Lt[A]=Lt[$]=Lt[ae]=Lt[J]=Lt[re]=Lt[me]=Lt[Se]=Lt[Le]=Lt[fe]=Lt[le]=Lt[z]=Lt[he]=Lt[ve]=Lt[we]=Lt[Pe]=Lt[Re]=Lt[nt]=Lt[st]=Lt[dt]=!0,Lt[Te]=Lt[Ne]=Lt[Q]=!1;var GL={À:"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",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"},HL={"&":"&","<":"<",">":">",""":'"',"'":"'"},VL={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},KL=parseFloat,ZL=parseInt,Lm=typeof Fe=="object"&&Fe&&Fe.Object===Object&&Fe,QL=typeof self=="object"&&self&&self.Object===Object&&self,Xt=Lm||QL||Function("return this")(),zc=t&&!t.nodeType&&t,Kr=zc&&!0&&e&&!e.nodeType&&e,_m=Kr&&Kr.exports===zc,Jc=_m&&Lm.process,Dn=function(){try{var ge=Kr&&Kr.require&&Kr.require("util").types;return ge||Jc&&Jc.binding&&Jc.binding("util")}catch{}}(),Nm=Dn&&Dn.isArrayBuffer,km=Dn&&Dn.isDate,Om=Dn&&Dn.isMap,Em=Dn&&Dn.isRegExp,Cm=Dn&&Dn.isSet,Am=Dn&&Dn.isTypedArray;function Nn(ge,ke,_e){switch(_e.length){case 0:return ge.call(ke);case 1:return ge.call(ke,_e[0]);case 2:return ge.call(ke,_e[0],_e[1]);case 3:return ge.call(ke,_e[0],_e[1],_e[2])}return ge.apply(ke,_e)}function XL(ge,ke,_e,Me){for(var Ve=-1,pt=ge==null?0:ge.length;++Ve<pt;){var Gt=ge[Ve];ke(Me,Gt,_e(Gt),ge)}return Me}function xn(ge,ke){for(var _e=-1,Me=ge==null?0:ge.length;++_e<Me&&ke(ge[_e],_e,ge)!==!1;);return ge}function YL(ge,ke){for(var _e=ge==null?0:ge.length;_e--&&ke(ge[_e],_e,ge)!==!1;);return ge}function Fm(ge,ke){for(var _e=-1,Me=ge==null?0:ge.length;++_e<Me;)if(!ke(ge[_e],_e,ge))return!1;return!0}function pr(ge,ke){for(var _e=-1,Me=ge==null?0:ge.length,Ve=0,pt=[];++_e<Me;){var Gt=ge[_e];ke(Gt,_e,ge)&&(pt[Ve++]=Gt)}return pt}function Ya(ge,ke){var _e=ge==null?0:ge.length;return!!_e&&Js(ge,ke,0)>-1}function Wc(ge,ke,_e){for(var Me=-1,Ve=ge==null?0:ge.length;++Me<Ve;)if(_e(ke,ge[Me]))return!0;return!1}function Ot(ge,ke){for(var _e=-1,Me=ge==null?0:ge.length,Ve=Array(Me);++_e<Me;)Ve[_e]=ke(ge[_e],_e,ge);return Ve}function mr(ge,ke){for(var _e=-1,Me=ke.length,Ve=ge.length;++_e<Me;)ge[Ve+_e]=ke[_e];return ge}function Gc(ge,ke,_e,Me){var Ve=-1,pt=ge==null?0:ge.length;for(Me&&pt&&(_e=ge[++Ve]);++Ve<pt;)_e=ke(_e,ge[Ve],Ve,ge);return _e}function $L(ge,ke,_e,Me){var Ve=ge==null?0:ge.length;for(Me&&Ve&&(_e=ge[--Ve]);Ve--;)_e=ke(_e,ge[Ve],Ve,ge);return _e}function qc(ge,ke){for(var _e=-1,Me=ge==null?0:ge.length;++_e<Me;)if(ke(ge[_e],_e,ge))return!0;return!1}var e_=Hc("length");function t_(ge){return ge.split("")}function n_(ge){return ge.match(cL)||[]}function Pm(ge,ke,_e){var Me;return _e(ge,function(Ve,pt,Gt){if(ke(Ve,pt,Gt))return Me=pt,!1}),Me}function $a(ge,ke,_e,Me){for(var Ve=ge.length,pt=_e+(Me?1:-1);Me?pt--:++pt<Ve;)if(ke(ge[pt],pt,ge))return pt;return-1}function Js(ge,ke,_e){return ke===ke?p_(ge,ke,_e):$a(ge,Im,_e)}function i_(ge,ke,_e,Me){for(var Ve=_e-1,pt=ge.length;++Ve<pt;)if(Me(ge[Ve],ke))return Ve;return-1}function Im(ge){return ge!==ge}function Mm(ge,ke){var _e=ge==null?0:ge.length;return _e?Kc(ge,ke)/_e:j}function Hc(ge){return function(ke){return ke==null?n:ke[ge]}}function Vc(ge){return function(ke){return ge==null?n:ge[ke]}}function jm(ge,ke,_e,Me,Ve){return Ve(ge,function(pt,Gt,vt){_e=Me?(Me=!1,pt):ke(_e,pt,Gt,vt)}),_e}function r_(ge,ke){var _e=ge.length;for(ge.sort(ke);_e--;)ge[_e]=ge[_e].value;return ge}function Kc(ge,ke){for(var _e,Me=-1,Ve=ge.length;++Me<Ve;){var pt=ke(ge[Me]);pt!==n&&(_e=_e===n?pt:_e+pt)}return _e}function Zc(ge,ke){for(var _e=-1,Me=Array(ge);++_e<ge;)Me[_e]=ke(_e);return Me}function s_(ge,ke){return Ot(ke,function(_e){return[_e,ge[_e]]})}function Rm(ge){return ge&&ge.slice(0,Um(ge)+1).replace(jc,"")}function kn(ge){return function(ke){return ge(ke)}}function Qc(ge,ke){return Ot(ke,function(_e){return ge[_e]})}function zo(ge,ke){return ge.has(ke)}function Bm(ge,ke){for(var _e=-1,Me=ge.length;++_e<Me&&Js(ke,ge[_e],0)>-1;);return _e}function Dm(ge,ke){for(var _e=ge.length;_e--&&Js(ke,ge[_e],0)>-1;);return _e}function o_(ge,ke){for(var _e=ge.length,Me=0;_e--;)ge[_e]===ke&&++Me;return Me}var a_=Vc(GL),u_=Vc(qL);function l_(ge){return"\\"+VL[ge]}function c_(ge,ke){return ge==null?n:ge[ke]}function Ws(ge){return UL.test(ge)}function f_(ge){return zL.test(ge)}function d_(ge){for(var ke,_e=[];!(ke=ge.next()).done;)_e.push(ke.value);return _e}function Xc(ge){var ke=-1,_e=Array(ge.size);return ge.forEach(function(Me,Ve){_e[++ke]=[Ve,Me]}),_e}function xm(ge,ke){return function(_e){return ge(ke(_e))}}function yr(ge,ke){for(var _e=-1,Me=ge.length,Ve=0,pt=[];++_e<Me;){var Gt=ge[_e];(Gt===ke||Gt===S)&&(ge[_e]=S,pt[Ve++]=_e)}return pt}function eu(ge){var ke=-1,_e=Array(ge.size);return ge.forEach(function(Me){_e[++ke]=Me}),_e}function h_(ge){var ke=-1,_e=Array(ge.size);return ge.forEach(function(Me){_e[++ke]=[Me,Me]}),_e}function p_(ge,ke,_e){for(var Me=_e-1,Ve=ge.length;++Me<Ve;)if(ge[Me]===ke)return Me;return-1}function m_(ge,ke,_e){for(var Me=_e+1;Me--;)if(ge[Me]===ke)return Me;return Me}function Gs(ge){return Ws(ge)?g_(ge):e_(ge)}function ti(ge){return Ws(ge)?b_(ge):t_(ge)}function Um(ge){for(var ke=ge.length;ke--&&oL.test(ge.charAt(ke)););return ke}var y_=Vc(HL);function g_(ge){for(var ke=Uc.lastIndex=0;Uc.test(ge);)++ke;return ke}function b_(ge){return ge.match(Uc)||[]}function T_(ge){return ge.match(xL)||[]}var S_=function ge(ke){ke=ke==null?Xt:qs.defaults(Xt.Object(),ke,qs.pick(Xt,JL));var _e=ke.Array,Me=ke.Date,Ve=ke.Error,pt=ke.Function,Gt=ke.Math,vt=ke.Object,Yc=ke.RegExp,v_=ke.String,Un=ke.TypeError,tu=_e.prototype,w_=pt.prototype,Hs=vt.prototype,nu=ke["__core-js_shared__"],iu=w_.toString,gt=Hs.hasOwnProperty,L_=0,zm=function(){var s=/[^.]+$/.exec(nu&&nu.keys&&nu.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),ru=Hs.toString,__=iu.call(vt),N_=Xt._,k_=Yc("^"+iu.call(gt).replace(Mc,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),su=_m?ke.Buffer:n,gr=ke.Symbol,ou=ke.Uint8Array,Jm=su?su.allocUnsafe:n,au=xm(vt.getPrototypeOf,vt),Wm=vt.create,Gm=Hs.propertyIsEnumerable,uu=tu.splice,qm=gr?gr.isConcatSpreadable:n,Jo=gr?gr.iterator:n,Zr=gr?gr.toStringTag:n,lu=function(){try{var s=es(vt,"defineProperty");return s({},"",{}),s}catch{}}(),O_=ke.clearTimeout!==Xt.clearTimeout&&ke.clearTimeout,E_=Me&&Me.now!==Xt.Date.now&&Me.now,C_=ke.setTimeout!==Xt.setTimeout&&ke.setTimeout,cu=Gt.ceil,fu=Gt.floor,$c=vt.getOwnPropertySymbols,A_=su?su.isBuffer:n,Hm=ke.isFinite,F_=tu.join,P_=xm(vt.keys,vt),qt=Gt.max,nn=Gt.min,I_=Me.now,M_=ke.parseInt,Vm=Gt.random,j_=tu.reverse,ef=es(ke,"DataView"),Wo=es(ke,"Map"),tf=es(ke,"Promise"),Vs=es(ke,"Set"),Go=es(ke,"WeakMap"),qo=es(vt,"create"),du=Go&&new Go,Ks={},R_=ts(ef),B_=ts(Wo),D_=ts(tf),x_=ts(Vs),U_=ts(Go),hu=gr?gr.prototype:n,Ho=hu?hu.valueOf:n,Km=hu?hu.toString:n;function ie(s){if(Pt(s)&&!Ke(s)&&!(s instanceof ot)){if(s instanceof zn)return s;if(gt.call(s,"__wrapped__"))return Zy(s)}return new zn(s)}var Zs=function(){function s(){}return function(c){if(!Ft(c))return{};if(Wm)return Wm(c);s.prototype=c;var g=new s;return s.prototype=n,g}}();function pu(){}function zn(s,c){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!c,this.__index__=0,this.__values__=n}ie.templateSettings={escape:Rn,evaluate:sn,interpolate:Bn,variable:"",imports:{_:ie}},ie.prototype=pu.prototype,ie.prototype.constructor=ie,zn.prototype=Zs(pu.prototype),zn.prototype.constructor=zn;function ot(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=W,this.__views__=[]}function z_(){var s=new ot(this.__wrapped__);return s.__actions__=hn(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=hn(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=hn(this.__views__),s}function J_(){if(this.__filtered__){var s=new ot(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function W_(){var s=this.__wrapped__.value(),c=this.__dir__,g=Ke(s),q=c<0,ne=g?s.length:0,oe=tN(0,ne,this.__views__),de=oe.start,ye=oe.end,be=ye-de,Oe=q?ye:de-1,Ee=this.__iteratees__,Ce=Ee.length,Ie=0,Be=nn(be,this.__takeCount__);if(!g||!q&&ne==be&&Be==be)return by(s,this.__actions__);var We=[];e:for(;be--&&Ie<Be;){Oe+=c;for(var $e=-1,Ge=s[Oe];++$e<Ce;){var it=Ee[$e],lt=it.iteratee,Cn=it.type,un=lt(Ge);if(Cn==d)Ge=un;else if(!un){if(Cn==a)continue e;break e}}We[Ie++]=Ge}return We}ot.prototype=Zs(pu.prototype),ot.prototype.constructor=ot;function Qr(s){var c=-1,g=s==null?0:s.length;for(this.clear();++c<g;){var q=s[c];this.set(q[0],q[1])}}function G_(){this.__data__=qo?qo(null):{},this.size=0}function q_(s){var c=this.has(s)&&delete this.__data__[s];return this.size-=c?1:0,c}function H_(s){var c=this.__data__;if(qo){var g=c[s];return g===m?n:g}return gt.call(c,s)?c[s]:n}function V_(s){var c=this.__data__;return qo?c[s]!==n:gt.call(c,s)}function K_(s,c){var g=this.__data__;return this.size+=this.has(s)?0:1,g[s]=qo&&c===n?m:c,this}Qr.prototype.clear=G_,Qr.prototype.delete=q_,Qr.prototype.get=H_,Qr.prototype.has=V_,Qr.prototype.set=K_;function Bi(s){var c=-1,g=s==null?0:s.length;for(this.clear();++c<g;){var q=s[c];this.set(q[0],q[1])}}function Z_(){this.__data__=[],this.size=0}function Q_(s){var c=this.__data__,g=mu(c,s);if(g<0)return!1;var q=c.length-1;return g==q?c.pop():uu.call(c,g,1),--this.size,!0}function X_(s){var c=this.__data__,g=mu(c,s);return g<0?n:c[g][1]}function Y_(s){return mu(this.__data__,s)>-1}function $_(s,c){var g=this.__data__,q=mu(g,s);return q<0?(++this.size,g.push([s,c])):g[q][1]=c,this}Bi.prototype.clear=Z_,Bi.prototype.delete=Q_,Bi.prototype.get=X_,Bi.prototype.has=Y_,Bi.prototype.set=$_;function Di(s){var c=-1,g=s==null?0:s.length;for(this.clear();++c<g;){var q=s[c];this.set(q[0],q[1])}}function e1(){this.size=0,this.__data__={hash:new Qr,map:new(Wo||Bi),string:new Qr}}function t1(s){var c=Ou(this,s).delete(s);return this.size-=c?1:0,c}function n1(s){return Ou(this,s).get(s)}function i1(s){return Ou(this,s).has(s)}function r1(s,c){var g=Ou(this,s),q=g.size;return g.set(s,c),this.size+=g.size==q?0:1,this}Di.prototype.clear=e1,Di.prototype.delete=t1,Di.prototype.get=n1,Di.prototype.has=i1,Di.prototype.set=r1;function Xr(s){var c=-1,g=s==null?0:s.length;for(this.__data__=new Di;++c<g;)this.add(s[c])}function s1(s){return this.__data__.set(s,m),this}function o1(s){return this.__data__.has(s)}Xr.prototype.add=Xr.prototype.push=s1,Xr.prototype.has=o1;function ni(s){var c=this.__data__=new Bi(s);this.size=c.size}function a1(){this.__data__=new Bi,this.size=0}function u1(s){var c=this.__data__,g=c.delete(s);return this.size=c.size,g}function l1(s){return this.__data__.get(s)}function c1(s){return this.__data__.has(s)}function f1(s,c){var g=this.__data__;if(g instanceof Bi){var q=g.__data__;if(!Wo||q.length<r-1)return q.push([s,c]),this.size=++g.size,this;g=this.__data__=new Di(q)}return g.set(s,c),this.size=g.size,this}ni.prototype.clear=a1,ni.prototype.delete=u1,ni.prototype.get=l1,ni.prototype.has=c1,ni.prototype.set=f1;function Zm(s,c){var g=Ke(s),q=!g&&ns(s),ne=!g&&!q&&wr(s),oe=!g&&!q&&!ne&&$s(s),de=g||q||ne||oe,ye=de?Zc(s.length,v_):[],be=ye.length;for(var Oe in s)(c||gt.call(s,Oe))&&!(de&&(Oe=="length"||ne&&(Oe=="offset"||Oe=="parent")||oe&&(Oe=="buffer"||Oe=="byteLength"||Oe=="byteOffset")||Ji(Oe,be)))&&ye.push(Oe);return ye}function Qm(s){var c=s.length;return c?s[hf(0,c-1)]:n}function d1(s,c){return Eu(hn(s),Yr(c,0,s.length))}function h1(s){return Eu(hn(s))}function nf(s,c,g){(g!==n&&!ii(s[c],g)||g===n&&!(c in s))&&xi(s,c,g)}function Vo(s,c,g){var q=s[c];(!(gt.call(s,c)&&ii(q,g))||g===n&&!(c in s))&&xi(s,c,g)}function mu(s,c){for(var g=s.length;g--;)if(ii(s[g][0],c))return g;return-1}function p1(s,c,g,q){return br(s,function(ne,oe,de){c(q,ne,g(ne),de)}),q}function Xm(s,c){return s&&mi(c,Zt(c),s)}function m1(s,c){return s&&mi(c,mn(c),s)}function xi(s,c,g){c=="__proto__"&&lu?lu(s,c,{configurable:!0,enumerable:!0,value:g,writable:!0}):s[c]=g}function rf(s,c){for(var g=-1,q=c.length,ne=_e(q),oe=s==null;++g<q;)ne[g]=oe?n:Df(s,c[g]);return ne}function Yr(s,c,g){return s===s&&(g!==n&&(s=s<=g?s:g),c!==n&&(s=s>=c?s:c)),s}function Jn(s,c,g,q,ne,oe){var de,ye=c&C,be=c&D,Oe=c&_;if(g&&(de=ne?g(s,q,ne,oe):g(s)),de!==n)return de;if(!Ft(s))return s;var Ee=Ke(s);if(Ee){if(de=iN(s),!ye)return hn(s,de)}else{var Ce=rn(s),Ie=Ce==Ne||Ce==ce;if(wr(s))return vy(s,ye);if(Ce==z||Ce==te||Ie&&!ne){if(de=be||Ie?{}:Uy(s),!ye)return be?H1(s,m1(de,s)):q1(s,Xm(de,s))}else{if(!Lt[Ce])return ne?s:{};de=rN(s,Ce,ye)}}oe||(oe=new ni);var Be=oe.get(s);if(Be)return Be;oe.set(s,de),mg(s)?s.forEach(function(Ge){de.add(Jn(Ge,c,g,Ge,s,oe))}):hg(s)&&s.forEach(function(Ge,it){de.set(it,Jn(Ge,c,g,it,s,oe))});var We=Oe?be?_f:Lf:be?mn:Zt,$e=Ee?n:We(s);return xn($e||s,function(Ge,it){$e&&(it=Ge,Ge=s[it]),Vo(de,it,Jn(Ge,c,g,it,s,oe))}),de}function y1(s){var c=Zt(s);return function(g){return Ym(g,s,c)}}function Ym(s,c,g){var q=g.length;if(s==null)return!q;for(s=vt(s);q--;){var ne=g[q],oe=c[ne],de=s[ne];if(de===n&&!(ne in s)||!oe(de))return!1}return!0}function $m(s,c,g){if(typeof s!="function")throw new Un(u);return ea(function(){s.apply(n,g)},c)}function Ko(s,c,g,q){var ne=-1,oe=Ya,de=!0,ye=s.length,be=[],Oe=c.length;if(!ye)return be;g&&(c=Ot(c,kn(g))),q?(oe=Wc,de=!1):c.length>=r&&(oe=zo,de=!1,c=new Xr(c));e:for(;++ne<ye;){var Ee=s[ne],Ce=g==null?Ee:g(Ee);if(Ee=q||Ee!==0?Ee:0,de&&Ce===Ce){for(var Ie=Oe;Ie--;)if(c[Ie]===Ce)continue e;be.push(Ee)}else oe(c,Ce,q)||be.push(Ee)}return be}var br=ky(pi),ey=ky(of,!0);function g1(s,c){var g=!0;return br(s,function(q,ne,oe){return g=!!c(q,ne,oe),g}),g}function yu(s,c,g){for(var q=-1,ne=s.length;++q<ne;){var oe=s[q],de=c(oe);if(de!=null&&(ye===n?de===de&&!En(de):g(de,ye)))var ye=de,be=oe}return be}function b1(s,c,g,q){var ne=s.length;for(g=Xe(g),g<0&&(g=-g>ne?0:ne+g),q=q===n||q>ne?ne:Xe(q),q<0&&(q+=ne),q=g>q?0:gg(q);g<q;)s[g++]=c;return s}function ty(s,c){var g=[];return br(s,function(q,ne,oe){c(q,ne,oe)&&g.push(q)}),g}function Yt(s,c,g,q,ne){var oe=-1,de=s.length;for(g||(g=oN),ne||(ne=[]);++oe<de;){var ye=s[oe];c>0&&g(ye)?c>1?Yt(ye,c-1,g,q,ne):mr(ne,ye):q||(ne[ne.length]=ye)}return ne}var sf=Oy(),ny=Oy(!0);function pi(s,c){return s&&sf(s,c,Zt)}function of(s,c){return s&&ny(s,c,Zt)}function gu(s,c){return pr(c,function(g){return Wi(s[g])})}function $r(s,c){c=Sr(c,s);for(var g=0,q=c.length;s!=null&&g<q;)s=s[yi(c[g++])];return g&&g==q?s:n}function iy(s,c,g){var q=c(s);return Ke(s)?q:mr(q,g(s))}function on(s){return s==null?s===n?je:X:Zr&&Zr in vt(s)?eN(s):hN(s)}function af(s,c){return s>c}function T1(s,c){return s!=null&>.call(s,c)}function S1(s,c){return s!=null&&c in vt(s)}function v1(s,c,g){return s>=nn(c,g)&&s<qt(c,g)}function uf(s,c,g){for(var q=g?Wc:Ya,ne=s[0].length,oe=s.length,de=oe,ye=_e(oe),be=1/0,Oe=[];de--;){var Ee=s[de];de&&c&&(Ee=Ot(Ee,kn(c))),be=nn(Ee.length,be),ye[de]=!g&&(c||ne>=120&&Ee.length>=120)?new Xr(de&&Ee):n}Ee=s[0];var Ce=-1,Ie=ye[0];e:for(;++Ce<ne&&Oe.length<be;){var Be=Ee[Ce],We=c?c(Be):Be;if(Be=g||Be!==0?Be:0,!(Ie?zo(Ie,We):q(Oe,We,g))){for(de=oe;--de;){var $e=ye[de];if(!($e?zo($e,We):q(s[de],We,g)))continue e}Ie&&Ie.push(We),Oe.push(Be)}}return Oe}function w1(s,c,g,q){return pi(s,function(ne,oe,de){c(q,g(ne),oe,de)}),q}function Zo(s,c,g){c=Sr(c,s),s=Gy(s,c);var q=s==null?s:s[yi(Gn(c))];return q==null?n:Nn(q,s,g)}function ry(s){return Pt(s)&&on(s)==te}function L1(s){return Pt(s)&&on(s)==G}function _1(s){return Pt(s)&&on(s)==ae}function Qo(s,c,g,q,ne){return s===c?!0:s==null||c==null||!Pt(s)&&!Pt(c)?s!==s&&c!==c:N1(s,c,g,q,Qo,ne)}function N1(s,c,g,q,ne,oe){var de=Ke(s),ye=Ke(c),be=de?ue:rn(s),Oe=ye?ue:rn(c);be=be==te?z:be,Oe=Oe==te?z:Oe;var Ee=be==z,Ce=Oe==z,Ie=be==Oe;if(Ie&&wr(s)){if(!wr(c))return!1;de=!0,Ee=!1}if(Ie&&!Ee)return oe||(oe=new ni),de||$s(s)?By(s,c,g,q,ne,oe):Y1(s,c,be,g,q,ne,oe);if(!(g&E)){var Be=Ee&>.call(s,"__wrapped__"),We=Ce&>.call(c,"__wrapped__");if(Be||We){var $e=Be?s.value():s,Ge=We?c.value():c;return oe||(oe=new ni),ne($e,Ge,g,q,oe)}}return Ie?(oe||(oe=new ni),$1(s,c,g,q,ne,oe)):!1}function k1(s){return Pt(s)&&rn(s)==fe}function lf(s,c,g,q){var ne=g.length,oe=ne,de=!q;if(s==null)return!oe;for(s=vt(s);ne--;){var ye=g[ne];if(de&&ye[2]?ye[1]!==s[ye[0]]:!(ye[0]in s))return!1}for(;++ne<oe;){ye=g[ne];var be=ye[0],Oe=s[be],Ee=ye[1];if(de&&ye[2]){if(Oe===n&&!(be in s))return!1}else{var Ce=new ni;if(q)var Ie=q(Oe,Ee,be,s,c,Ce);if(!(Ie===n?Qo(Ee,Oe,E|T,q,Ce):Ie))return!1}}return!0}function sy(s){if(!Ft(s)||uN(s))return!1;var c=Wi(s)?k_:yL;return c.test(ts(s))}function O1(s){return Pt(s)&&on(s)==he}function E1(s){return Pt(s)&&rn(s)==ve}function C1(s){return Pt(s)&&Mu(s.length)&&!!Nt[on(s)]}function oy(s){return typeof s=="function"?s:s==null?yn:typeof s=="object"?Ke(s)?ly(s[0],s[1]):uy(s):Eg(s)}function cf(s){if(!$o(s))return P_(s);var c=[];for(var g in vt(s))gt.call(s,g)&&g!="constructor"&&c.push(g);return c}function A1(s){if(!Ft(s))return dN(s);var c=$o(s),g=[];for(var q in s)q=="constructor"&&(c||!gt.call(s,q))||g.push(q);return g}function ff(s,c){return s<c}function ay(s,c){var g=-1,q=pn(s)?_e(s.length):[];return br(s,function(ne,oe,de){q[++g]=c(ne,oe,de)}),q}function uy(s){var c=kf(s);return c.length==1&&c[0][2]?Jy(c[0][0],c[0][1]):function(g){return g===s||lf(g,s,c)}}function ly(s,c){return Ef(s)&&zy(c)?Jy(yi(s),c):function(g){var q=Df(g,s);return q===n&&q===c?xf(g,s):Qo(c,q,E|T)}}function bu(s,c,g,q,ne){s!==c&&sf(c,function(oe,de){if(ne||(ne=new ni),Ft(oe))F1(s,c,de,g,bu,q,ne);else{var ye=q?q(Af(s,de),oe,de+"",s,c,ne):n;ye===n&&(ye=oe),nf(s,de,ye)}},mn)}function F1(s,c,g,q,ne,oe,de){var ye=Af(s,g),be=Af(c,g),Oe=de.get(be);if(Oe){nf(s,g,Oe);return}var Ee=oe?oe(ye,be,g+"",s,c,de):n,Ce=Ee===n;if(Ce){var Ie=Ke(be),Be=!Ie&&wr(be),We=!Ie&&!Be&&$s(be);Ee=be,Ie||Be||We?Ke(ye)?Ee=ye:Dt(ye)?Ee=hn(ye):Be?(Ce=!1,Ee=vy(be,!0)):We?(Ce=!1,Ee=wy(be,!0)):Ee=[]:ta(be)||ns(be)?(Ee=ye,ns(ye)?Ee=bg(ye):(!Ft(ye)||Wi(ye))&&(Ee=Uy(be))):Ce=!1}Ce&&(de.set(be,Ee),ne(Ee,be,q,oe,de),de.delete(be)),nf(s,g,Ee)}function cy(s,c){var g=s.length;if(g)return c+=c<0?g:0,Ji(c,g)?s[c]:n}function fy(s,c,g){c.length?c=Ot(c,function(oe){return Ke(oe)?function(de){return $r(de,oe.length===1?oe[0]:oe)}:oe}):c=[yn];var q=-1;c=Ot(c,kn(ze()));var ne=ay(s,function(oe,de,ye){var be=Ot(c,function(Oe){return Oe(oe)});return{criteria:be,index:++q,value:oe}});return r_(ne,function(oe,de){return G1(oe,de,g)})}function P1(s,c){return dy(s,c,function(g,q){return xf(s,q)})}function dy(s,c,g){for(var q=-1,ne=c.length,oe={};++q<ne;){var de=c[q],ye=$r(s,de);g(ye,de)&&Xo(oe,Sr(de,s),ye)}return oe}function I1(s){return function(c){return $r(c,s)}}function df(s,c,g,q){var ne=q?i_:Js,oe=-1,de=c.length,ye=s;for(s===c&&(c=hn(c)),g&&(ye=Ot(s,kn(g)));++oe<de;)for(var be=0,Oe=c[oe],Ee=g?g(Oe):Oe;(be=ne(ye,Ee,be,q))>-1;)ye!==s&&uu.call(ye,be,1),uu.call(s,be,1);return s}function hy(s,c){for(var g=s?c.length:0,q=g-1;g--;){var ne=c[g];if(g==q||ne!==oe){var oe=ne;Ji(ne)?uu.call(s,ne,1):yf(s,ne)}}return s}function hf(s,c){return s+fu(Vm()*(c-s+1))}function M1(s,c,g,q){for(var ne=-1,oe=qt(cu((c-s)/(g||1)),0),de=_e(oe);oe--;)de[q?oe:++ne]=s,s+=g;return de}function pf(s,c){var g="";if(!s||c<1||c>R)return g;do c%2&&(g+=s),c=fu(c/2),c&&(s+=s);while(c);return g}function et(s,c){return Ff(Wy(s,c,yn),s+"")}function j1(s){return Qm(eo(s))}function R1(s,c){var g=eo(s);return Eu(g,Yr(c,0,g.length))}function Xo(s,c,g,q){if(!Ft(s))return s;c=Sr(c,s);for(var ne=-1,oe=c.length,de=oe-1,ye=s;ye!=null&&++ne<oe;){var be=yi(c[ne]),Oe=g;if(be==="__proto__"||be==="constructor"||be==="prototype")return s;if(ne!=de){var Ee=ye[be];Oe=q?q(Ee,be,ye):n,Oe===n&&(Oe=Ft(Ee)?Ee:Ji(c[ne+1])?[]:{})}Vo(ye,be,Oe),ye=ye[be]}return s}var py=du?function(s,c){return du.set(s,c),s}:yn,B1=lu?function(s,c){return lu(s,"toString",{configurable:!0,enumerable:!1,value:zf(c),writable:!0})}:yn;function D1(s){return Eu(eo(s))}function Wn(s,c,g){var q=-1,ne=s.length;c<0&&(c=-c>ne?0:ne+c),g=g>ne?ne:g,g<0&&(g+=ne),ne=c>g?0:g-c>>>0,c>>>=0;for(var oe=_e(ne);++q<ne;)oe[q]=s[q+c];return oe}function x1(s,c){var g;return br(s,function(q,ne,oe){return g=c(q,ne,oe),!g}),!!g}function Tu(s,c,g){var q=0,ne=s==null?q:s.length;if(typeof c=="number"&&c===c&&ne<=O){for(;q<ne;){var oe=q+ne>>>1,de=s[oe];de!==null&&!En(de)&&(g?de<=c:de<c)?q=oe+1:ne=oe}return ne}return mf(s,c,yn,g)}function mf(s,c,g,q){var ne=0,oe=s==null?0:s.length;if(oe===0)return 0;c=g(c);for(var de=c!==c,ye=c===null,be=En(c),Oe=c===n;ne<oe;){var Ee=fu((ne+oe)/2),Ce=g(s[Ee]),Ie=Ce!==n,Be=Ce===null,We=Ce===Ce,$e=En(Ce);if(de)var Ge=q||We;else Oe?Ge=We&&(q||Ie):ye?Ge=We&&Ie&&(q||!Be):be?Ge=We&&Ie&&!Be&&(q||!$e):Be||$e?Ge=!1:Ge=q?Ce<=c:Ce<c;Ge?ne=Ee+1:oe=Ee}return nn(oe,k)}function my(s,c){for(var g=-1,q=s.length,ne=0,oe=[];++g<q;){var de=s[g],ye=c?c(de):de;if(!g||!ii(ye,be)){var be=ye;oe[ne++]=de===0?0:de}}return oe}function yy(s){return typeof s=="number"?s:En(s)?j:+s}function On(s){if(typeof s=="string")return s;if(Ke(s))return Ot(s,On)+"";if(En(s))return Km?Km.call(s):"";var c=s+"";return c=="0"&&1/s==-b?"-0":c}function Tr(s,c,g){var q=-1,ne=Ya,oe=s.length,de=!0,ye=[],be=ye;if(g)de=!1,ne=Wc;else if(oe>=r){var Oe=c?null:Q1(s);if(Oe)return eu(Oe);de=!1,ne=zo,be=new Xr}else be=c?[]:ye;e:for(;++q<oe;){var Ee=s[q],Ce=c?c(Ee):Ee;if(Ee=g||Ee!==0?Ee:0,de&&Ce===Ce){for(var Ie=be.length;Ie--;)if(be[Ie]===Ce)continue e;c&&be.push(Ce),ye.push(Ee)}else ne(be,Ce,g)||(be!==ye&&be.push(Ce),ye.push(Ee))}return ye}function yf(s,c){return c=Sr(c,s),s=Gy(s,c),s==null||delete s[yi(Gn(c))]}function gy(s,c,g,q){return Xo(s,c,g($r(s,c)),q)}function Su(s,c,g,q){for(var ne=s.length,oe=q?ne:-1;(q?oe--:++oe<ne)&&c(s[oe],oe,s););return g?Wn(s,q?0:oe,q?oe+1:ne):Wn(s,q?oe+1:0,q?ne:oe)}function by(s,c){var g=s;return g instanceof ot&&(g=g.value()),Gc(c,function(q,ne){return ne.func.apply(ne.thisArg,mr([q],ne.args))},g)}function gf(s,c,g){var q=s.length;if(q<2)return q?Tr(s[0]):[];for(var ne=-1,oe=_e(q);++ne<q;)for(var de=s[ne],ye=-1;++ye<q;)ye!=ne&&(oe[ne]=Ko(oe[ne]||de,s[ye],c,g));return Tr(Yt(oe,1),c,g)}function Ty(s,c,g){for(var q=-1,ne=s.length,oe=c.length,de={};++q<ne;){var ye=q<oe?c[q]:n;g(de,s[q],ye)}return de}function bf(s){return Dt(s)?s:[]}function Tf(s){return typeof s=="function"?s:yn}function Sr(s,c){return Ke(s)?s:Ef(s,c)?[s]:Ky(mt(s))}var U1=et;function vr(s,c,g){var q=s.length;return g=g===n?q:g,!c&&g>=q?s:Wn(s,c,g)}var Sy=O_||function(s){return Xt.clearTimeout(s)};function vy(s,c){if(c)return s.slice();var g=s.length,q=Jm?Jm(g):new s.constructor(g);return s.copy(q),q}function Sf(s){var c=new s.constructor(s.byteLength);return new ou(c).set(new ou(s)),c}function z1(s,c){var g=c?Sf(s.buffer):s.buffer;return new s.constructor(g,s.byteOffset,s.byteLength)}function J1(s){var c=new s.constructor(s.source,rm.exec(s));return c.lastIndex=s.lastIndex,c}function W1(s){return Ho?vt(Ho.call(s)):{}}function wy(s,c){var g=c?Sf(s.buffer):s.buffer;return new s.constructor(g,s.byteOffset,s.length)}function Ly(s,c){if(s!==c){var g=s!==n,q=s===null,ne=s===s,oe=En(s),de=c!==n,ye=c===null,be=c===c,Oe=En(c);if(!ye&&!Oe&&!oe&&s>c||oe&&de&&be&&!ye&&!Oe||q&&de&&be||!g&&be||!ne)return 1;if(!q&&!oe&&!Oe&&s<c||Oe&&g&&ne&&!q&&!oe||ye&&g&&ne||!de&&ne||!be)return-1}return 0}function G1(s,c,g){for(var q=-1,ne=s.criteria,oe=c.criteria,de=ne.length,ye=g.length;++q<de;){var be=Ly(ne[q],oe[q]);if(be){if(q>=ye)return be;var Oe=g[q];return be*(Oe=="desc"?-1:1)}}return s.index-c.index}function _y(s,c,g,q){for(var ne=-1,oe=s.length,de=g.length,ye=-1,be=c.length,Oe=qt(oe-de,0),Ee=_e(be+Oe),Ce=!q;++ye<be;)Ee[ye]=c[ye];for(;++ne<de;)(Ce||ne<oe)&&(Ee[g[ne]]=s[ne]);for(;Oe--;)Ee[ye++]=s[ne++];return Ee}function Ny(s,c,g,q){for(var ne=-1,oe=s.length,de=-1,ye=g.length,be=-1,Oe=c.length,Ee=qt(oe-ye,0),Ce=_e(Ee+Oe),Ie=!q;++ne<Ee;)Ce[ne]=s[ne];for(var Be=ne;++be<Oe;)Ce[Be+be]=c[be];for(;++de<ye;)(Ie||ne<oe)&&(Ce[Be+g[de]]=s[ne++]);return Ce}function hn(s,c){var g=-1,q=s.length;for(c||(c=_e(q));++g<q;)c[g]=s[g];return c}function mi(s,c,g,q){var ne=!g;g||(g={});for(var oe=-1,de=c.length;++oe<de;){var ye=c[oe],be=q?q(g[ye],s[ye],ye,g,s):n;be===n&&(be=s[ye]),ne?xi(g,ye,be):Vo(g,ye,be)}return g}function q1(s,c){return mi(s,Of(s),c)}function H1(s,c){return mi(s,Dy(s),c)}function vu(s,c){return function(g,q){var ne=Ke(g)?XL:p1,oe=c?c():{};return ne(g,s,ze(q,2),oe)}}function Qs(s){return et(function(c,g){var q=-1,ne=g.length,oe=ne>1?g[ne-1]:n,de=ne>2?g[2]:n;for(oe=s.length>3&&typeof oe=="function"?(ne--,oe):n,de&&an(g[0],g[1],de)&&(oe=ne<3?n:oe,ne=1),c=vt(c);++q<ne;){var ye=g[q];ye&&s(c,ye,q,oe)}return c})}function ky(s,c){return function(g,q){if(g==null)return g;if(!pn(g))return s(g,q);for(var ne=g.length,oe=c?ne:-1,de=vt(g);(c?oe--:++oe<ne)&&q(de[oe],oe,de)!==!1;);return g}}function Oy(s){return function(c,g,q){for(var ne=-1,oe=vt(c),de=q(c),ye=de.length;ye--;){var be=de[s?ye:++ne];if(g(oe[be],be,oe)===!1)break}return c}}function V1(s,c,g){var q=c&P,ne=Yo(s);function oe(){var de=this&&this!==Xt&&this instanceof oe?ne:s;return de.apply(q?g:this,arguments)}return oe}function Ey(s){return function(c){c=mt(c);var g=Ws(c)?ti(c):n,q=g?g[0]:c.charAt(0),ne=g?vr(g,1).join(""):c.slice(1);return q[s]()+ne}}function Xs(s){return function(c){return Gc(kg(Ng(c).replace(BL,"")),s,"")}}function Yo(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 g=Zs(s.prototype),q=s.apply(g,c);return Ft(q)?q:g}}function K1(s,c,g){var q=Yo(s);function ne(){for(var oe=arguments.length,de=_e(oe),ye=oe,be=Ys(ne);ye--;)de[ye]=arguments[ye];var Oe=oe<3&&de[0]!==be&&de[oe-1]!==be?[]:yr(de,be);if(oe-=Oe.length,oe<g)return Iy(s,c,wu,ne.placeholder,n,de,Oe,n,n,g-oe);var Ee=this&&this!==Xt&&this instanceof ne?q:s;return Nn(Ee,this,de)}return ne}function Cy(s){return function(c,g,q){var ne=vt(c);if(!pn(c)){var oe=ze(g,3);c=Zt(c),g=function(ye){return oe(ne[ye],ye,ne)}}var de=s(c,g,q);return de>-1?ne[oe?c[de]:de]:n}}function Ay(s){return zi(function(c){var g=c.length,q=g,ne=zn.prototype.thru;for(s&&c.reverse();q--;){var oe=c[q];if(typeof oe!="function")throw new Un(u);if(ne&&!de&&ku(oe)=="wrapper")var de=new zn([],!0)}for(q=de?q:g;++q<g;){oe=c[q];var ye=ku(oe),be=ye=="wrapper"?Nf(oe):n;be&&Cf(be[0])&&be[1]==(F|H|U|y)&&!be[4].length&&be[9]==1?de=de[ku(be[0])].apply(de,be[3]):de=oe.length==1&&Cf(oe)?de[ye]():de.thru(oe)}return function(){var Oe=arguments,Ee=Oe[0];if(de&&Oe.length==1&&Ke(Ee))return de.plant(Ee).value();for(var Ce=0,Ie=g?c[Ce].apply(this,Oe):Ee;++Ce<g;)Ie=c[Ce].call(this,Ie);return Ie}})}function wu(s,c,g,q,ne,oe,de,ye,be,Oe){var Ee=c&F,Ce=c&P,Ie=c&I,Be=c&(H|Z),We=c&w,$e=Ie?n:Yo(s);function Ge(){for(var it=arguments.length,lt=_e(it),Cn=it;Cn--;)lt[Cn]=arguments[Cn];if(Be)var un=Ys(Ge),An=o_(lt,un);if(q&&(lt=_y(lt,q,ne,Be)),oe&&(lt=Ny(lt,oe,de,Be)),it-=An,Be&&it<Oe){var xt=yr(lt,un);return Iy(s,c,wu,Ge.placeholder,g,lt,xt,ye,be,Oe-it)}var ri=Ce?g:this,qi=Ie?ri[s]:s;return it=lt.length,ye?lt=pN(lt,ye):We&&it>1&<.reverse(),Ee&&be<it&&(lt.length=be),this&&this!==Xt&&this instanceof Ge&&(qi=$e||Yo(qi)),qi.apply(ri,lt)}return Ge}function Fy(s,c){return function(g,q){return w1(g,s,c(q),{})}}function Lu(s,c){return function(g,q){var ne;if(g===n&&q===n)return c;if(g!==n&&(ne=g),q!==n){if(ne===n)return q;typeof g=="string"||typeof q=="string"?(g=On(g),q=On(q)):(g=yy(g),q=yy(q)),ne=s(g,q)}return ne}}function vf(s){return zi(function(c){return c=Ot(c,kn(ze())),et(function(g){var q=this;return s(c,function(ne){return Nn(ne,q,g)})})})}function _u(s,c){c=c===n?" ":On(c);var g=c.length;if(g<2)return g?pf(c,s):c;var q=pf(c,cu(s/Gs(c)));return Ws(c)?vr(ti(q),0,s).join(""):q.slice(0,s)}function Z1(s,c,g,q){var ne=c&P,oe=Yo(s);function de(){for(var ye=-1,be=arguments.length,Oe=-1,Ee=q.length,Ce=_e(Ee+be),Ie=this&&this!==Xt&&this instanceof de?oe:s;++Oe<Ee;)Ce[Oe]=q[Oe];for(;be--;)Ce[Oe++]=arguments[++ye];return Nn(Ie,ne?g:this,Ce)}return de}function Py(s){return function(c,g,q){return q&&typeof q!="number"&&an(c,g,q)&&(g=q=n),c=Gi(c),g===n?(g=c,c=0):g=Gi(g),q=q===n?c<g?1:-1:Gi(q),M1(c,g,q,s)}}function Nu(s){return function(c,g){return typeof c=="string"&&typeof g=="string"||(c=qn(c),g=qn(g)),s(c,g)}}function Iy(s,c,g,q,ne,oe,de,ye,be,Oe){var Ee=c&H,Ce=Ee?de:n,Ie=Ee?n:de,Be=Ee?oe:n,We=Ee?n:oe;c|=Ee?U:B,c&=~(Ee?B:U),c&M||(c&=~(P|I));var $e=[s,c,ne,Be,Ce,We,Ie,ye,be,Oe],Ge=g.apply(n,$e);return Cf(s)&&qy(Ge,$e),Ge.placeholder=q,Hy(Ge,s,c)}function wf(s){var c=Gt[s];return function(g,q){if(g=qn(g),q=q==null?0:nn(Xe(q),292),q&&Hm(g)){var ne=(mt(g)+"e").split("e"),oe=c(ne[0]+"e"+(+ne[1]+q));return ne=(mt(oe)+"e").split("e"),+(ne[0]+"e"+(+ne[1]-q))}return c(g)}}var Q1=Vs&&1/eu(new Vs([,-0]))[1]==b?function(s){return new Vs(s)}:Gf;function My(s){return function(c){var g=rn(c);return g==fe?Xc(c):g==ve?h_(c):s_(c,s(c))}}function Ui(s,c,g,q,ne,oe,de,ye){var be=c&I;if(!be&&typeof s!="function")throw new Un(u);var Oe=q?q.length:0;if(Oe||(c&=~(U|B),q=ne=n),de=de===n?de:qt(Xe(de),0),ye=ye===n?ye:Xe(ye),Oe-=ne?ne.length:0,c&B){var Ee=q,Ce=ne;q=ne=n}var Ie=be?n:Nf(s),Be=[s,c,g,q,ne,Ee,Ce,oe,de,ye];if(Ie&&fN(Be,Ie),s=Be[0],c=Be[1],g=Be[2],q=Be[3],ne=Be[4],ye=Be[9]=Be[9]===n?be?0:s.length:qt(Be[9]-Oe,0),!ye&&c&(H|Z)&&(c&=~(H|Z)),!c||c==P)var We=V1(s,c,g);else c==H||c==Z?We=K1(s,c,ye):(c==U||c==(P|U))&&!ne.length?We=Z1(s,c,g,q):We=wu.apply(n,Be);var $e=Ie?py:qy;return Hy($e(We,Be),s,c)}function jy(s,c,g,q){return s===n||ii(s,Hs[g])&&!gt.call(q,g)?c:s}function Ry(s,c,g,q,ne,oe){return Ft(s)&&Ft(c)&&(oe.set(c,s),bu(s,c,n,Ry,oe),oe.delete(c)),s}function X1(s){return ta(s)?n:s}function By(s,c,g,q,ne,oe){var de=g&E,ye=s.length,be=c.length;if(ye!=be&&!(de&&be>ye))return!1;var Oe=oe.get(s),Ee=oe.get(c);if(Oe&&Ee)return Oe==c&&Ee==s;var Ce=-1,Ie=!0,Be=g&T?new Xr:n;for(oe.set(s,c),oe.set(c,s);++Ce<ye;){var We=s[Ce],$e=c[Ce];if(q)var Ge=de?q($e,We,Ce,c,s,oe):q(We,$e,Ce,s,c,oe);if(Ge!==n){if(Ge)continue;Ie=!1;break}if(Be){if(!qc(c,function(it,lt){if(!zo(Be,lt)&&(We===it||ne(We,it,g,q,oe)))return Be.push(lt)})){Ie=!1;break}}else if(!(We===$e||ne(We,$e,g,q,oe))){Ie=!1;break}}return oe.delete(s),oe.delete(c),Ie}function Y1(s,c,g,q,ne,oe,de){switch(g){case A:if(s.byteLength!=c.byteLength||s.byteOffset!=c.byteOffset)return!1;s=s.buffer,c=c.buffer;case G:return!(s.byteLength!=c.byteLength||!oe(new ou(s),new ou(c)));case $:case ae:case le:return ii(+s,+c);case Te:return s.name==c.name&&s.message==c.message;case he:case we:return s==c+"";case fe:var ye=Xc;case ve:var be=q&E;if(ye||(ye=eu),s.size!=c.size&&!be)return!1;var Oe=de.get(s);if(Oe)return Oe==c;q|=T,de.set(s,c);var Ee=By(ye(s),ye(c),q,ne,oe,de);return de.delete(s),Ee;case Pe:if(Ho)return Ho.call(s)==Ho.call(c)}return!1}function $1(s,c,g,q,ne,oe){var de=g&E,ye=Lf(s),be=ye.length,Oe=Lf(c),Ee=Oe.length;if(be!=Ee&&!de)return!1;for(var Ce=be;Ce--;){var Ie=ye[Ce];if(!(de?Ie in c:gt.call(c,Ie)))return!1}var Be=oe.get(s),We=oe.get(c);if(Be&&We)return Be==c&&We==s;var $e=!0;oe.set(s,c),oe.set(c,s);for(var Ge=de;++Ce<be;){Ie=ye[Ce];var it=s[Ie],lt=c[Ie];if(q)var Cn=de?q(lt,it,Ie,c,s,oe):q(it,lt,Ie,s,c,oe);if(!(Cn===n?it===lt||ne(it,lt,g,q,oe):Cn)){$e=!1;break}Ge||(Ge=Ie=="constructor")}if($e&&!Ge){var un=s.constructor,An=c.constructor;un!=An&&"constructor"in s&&"constructor"in c&&!(typeof un=="function"&&un instanceof un&&typeof An=="function"&&An instanceof An)&&($e=!1)}return oe.delete(s),oe.delete(c),$e}function zi(s){return Ff(Wy(s,n,Yy),s+"")}function Lf(s){return iy(s,Zt,Of)}function _f(s){return iy(s,mn,Dy)}var Nf=du?function(s){return du.get(s)}:Gf;function ku(s){for(var c=s.name+"",g=Ks[c],q=gt.call(Ks,c)?g.length:0;q--;){var ne=g[q],oe=ne.func;if(oe==null||oe==s)return ne.name}return c}function Ys(s){var c=gt.call(ie,"placeholder")?ie:s;return c.placeholder}function ze(){var s=ie.iteratee||Jf;return s=s===Jf?oy:s,arguments.length?s(arguments[0],arguments[1]):s}function Ou(s,c){var g=s.__data__;return aN(c)?g[typeof c=="string"?"string":"hash"]:g.map}function kf(s){for(var c=Zt(s),g=c.length;g--;){var q=c[g],ne=s[q];c[g]=[q,ne,zy(ne)]}return c}function es(s,c){var g=c_(s,c);return sy(g)?g:n}function eN(s){var c=gt.call(s,Zr),g=s[Zr];try{s[Zr]=n;var q=!0}catch{}var ne=ru.call(s);return q&&(c?s[Zr]=g:delete s[Zr]),ne}var Of=$c?function(s){return s==null?[]:(s=vt(s),pr($c(s),function(c){return Gm.call(s,c)}))}:qf,Dy=$c?function(s){for(var c=[];s;)mr(c,Of(s)),s=au(s);return c}:qf,rn=on;(ef&&rn(new ef(new ArrayBuffer(1)))!=A||Wo&&rn(new Wo)!=fe||tf&&rn(tf.resolve())!=K||Vs&&rn(new Vs)!=ve||Go&&rn(new Go)!=Q)&&(rn=function(s){var c=on(s),g=c==z?s.constructor:n,q=g?ts(g):"";if(q)switch(q){case R_:return A;case B_:return fe;case D_:return K;case x_:return ve;case U_:return Q}return c});function tN(s,c,g){for(var q=-1,ne=g.length;++q<ne;){var oe=g[q],de=oe.size;switch(oe.type){case"drop":s+=de;break;case"dropRight":c-=de;break;case"take":c=nn(c,s+de);break;case"takeRight":s=qt(s,c-de);break}}return{start:s,end:c}}function nN(s){var c=s.match(uL);return c?c[1].split(lL):[]}function xy(s,c,g){c=Sr(c,s);for(var q=-1,ne=c.length,oe=!1;++q<ne;){var de=yi(c[q]);if(!(oe=s!=null&&g(s,de)))break;s=s[de]}return oe||++q!=ne?oe:(ne=s==null?0:s.length,!!ne&&Mu(ne)&&Ji(de,ne)&&(Ke(s)||ns(s)))}function iN(s){var c=s.length,g=new s.constructor(c);return c&&typeof s[0]=="string"&>.call(s,"index")&&(g.index=s.index,g.input=s.input),g}function Uy(s){return typeof s.constructor=="function"&&!$o(s)?Zs(au(s)):{}}function rN(s,c,g){var q=s.constructor;switch(c){case G:return Sf(s);case $:case ae:return new q(+s);case A:return z1(s,g);case J:case re:case me:case Se:case Le:case Re:case nt:case st:case dt:return wy(s,g);case fe:return new q;case le:case we:return new q(s);case he:return J1(s);case ve:return new q;case Pe:return W1(s)}}function sN(s,c){var g=c.length;if(!g)return s;var q=g-1;return c[q]=(g>1?"& ":"")+c[q],c=c.join(g>2?", ":" "),s.replace(aL,`{
|
|
904
|
-
/* [wrapped with `+c+`] */
|
|
905
|
-
`)}function oN(s){return Ke(s)||ns(s)||!!(qm&&s&&s[qm])}function Ji(s,c){var g=typeof s;return c=c??R,!!c&&(g=="number"||g!="symbol"&&bL.test(s))&&s>-1&&s%1==0&&s<c}function an(s,c,g){if(!Ft(g))return!1;var q=typeof c;return(q=="number"?pn(g)&&Ji(c,g.length):q=="string"&&c in g)?ii(g[c],s):!1}function Ef(s,c){if(Ke(s))return!1;var g=typeof s;return g=="number"||g=="symbol"||g=="boolean"||s==null||En(s)?!0:iL.test(s)||!Us.test(s)||c!=null&&s in vt(c)}function aN(s){var c=typeof s;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?s!=="__proto__":s===null}function Cf(s){var c=ku(s),g=ie[c];if(typeof g!="function"||!(c in ot.prototype))return!1;if(s===g)return!0;var q=Nf(g);return!!q&&s===q[0]}function uN(s){return!!zm&&zm in s}var lN=nu?Wi:Hf;function $o(s){var c=s&&s.constructor,g=typeof c=="function"&&c.prototype||Hs;return s===g}function zy(s){return s===s&&!Ft(s)}function Jy(s,c){return function(g){return g==null?!1:g[s]===c&&(c!==n||s in vt(g))}}function cN(s){var c=Pu(s,function(q){return g.size===v&&g.clear(),q}),g=c.cache;return c}function fN(s,c){var g=s[1],q=c[1],ne=g|q,oe=ne<(P|I|F),de=q==F&&g==H||q==F&&g==y&&s[7].length<=c[8]||q==(F|y)&&c[7].length<=c[8]&&g==H;if(!(oe||de))return s;q&P&&(s[2]=c[2],ne|=g&P?0:M);var ye=c[3];if(ye){var be=s[3];s[3]=be?_y(be,ye,c[4]):ye,s[4]=be?yr(s[3],S):c[4]}return ye=c[5],ye&&(be=s[5],s[5]=be?Ny(be,ye,c[6]):ye,s[6]=be?yr(s[5],S):c[6]),ye=c[7],ye&&(s[7]=ye),q&F&&(s[8]=s[8]==null?c[8]:nn(s[8],c[8])),s[9]==null&&(s[9]=c[9]),s[0]=c[0],s[1]=ne,s}function dN(s){var c=[];if(s!=null)for(var g in vt(s))c.push(g);return c}function hN(s){return ru.call(s)}function Wy(s,c,g){return c=qt(c===n?s.length-1:c,0),function(){for(var q=arguments,ne=-1,oe=qt(q.length-c,0),de=_e(oe);++ne<oe;)de[ne]=q[c+ne];ne=-1;for(var ye=_e(c+1);++ne<c;)ye[ne]=q[ne];return ye[c]=g(de),Nn(s,this,ye)}}function Gy(s,c){return c.length<2?s:$r(s,Wn(c,0,-1))}function pN(s,c){for(var g=s.length,q=nn(c.length,g),ne=hn(s);q--;){var oe=c[q];s[q]=Ji(oe,g)?ne[oe]:n}return s}function Af(s,c){if(!(c==="constructor"&&typeof s[c]=="function")&&c!="__proto__")return s[c]}var qy=Vy(py),ea=C_||function(s,c){return Xt.setTimeout(s,c)},Ff=Vy(B1);function Hy(s,c,g){var q=c+"";return Ff(s,sN(q,mN(nN(q),g)))}function Vy(s){var c=0,g=0;return function(){var q=I_(),ne=o-(q-g);if(g=q,ne>0){if(++c>=p)return arguments[0]}else c=0;return s.apply(n,arguments)}}function Eu(s,c){var g=-1,q=s.length,ne=q-1;for(c=c===n?q:c;++g<c;){var oe=hf(g,ne),de=s[oe];s[oe]=s[g],s[g]=de}return s.length=c,s}var Ky=cN(function(s){var c=[];return s.charCodeAt(0)===46&&c.push(""),s.replace(rL,function(g,q,ne,oe){c.push(ne?oe.replace(dL,"$1"):q||g)}),c});function yi(s){if(typeof s=="string"||En(s))return s;var c=s+"";return c=="0"&&1/s==-b?"-0":c}function ts(s){if(s!=null){try{return iu.call(s)}catch{}try{return s+""}catch{}}return""}function mN(s,c){return xn(V,function(g){var q="_."+g[0];c&g[1]&&!Ya(s,q)&&s.push(q)}),s.sort()}function Zy(s){if(s instanceof ot)return s.clone();var c=new zn(s.__wrapped__,s.__chain__);return c.__actions__=hn(s.__actions__),c.__index__=s.__index__,c.__values__=s.__values__,c}function yN(s,c,g){(g?an(s,c,g):c===n)?c=1:c=qt(Xe(c),0);var q=s==null?0:s.length;if(!q||c<1)return[];for(var ne=0,oe=0,de=_e(cu(q/c));ne<q;)de[oe++]=Wn(s,ne,ne+=c);return de}function gN(s){for(var c=-1,g=s==null?0:s.length,q=0,ne=[];++c<g;){var oe=s[c];oe&&(ne[q++]=oe)}return ne}function bN(){var s=arguments.length;if(!s)return[];for(var c=_e(s-1),g=arguments[0],q=s;q--;)c[q-1]=arguments[q];return mr(Ke(g)?hn(g):[g],Yt(c,1))}var TN=et(function(s,c){return Dt(s)?Ko(s,Yt(c,1,Dt,!0)):[]}),SN=et(function(s,c){var g=Gn(c);return Dt(g)&&(g=n),Dt(s)?Ko(s,Yt(c,1,Dt,!0),ze(g,2)):[]}),vN=et(function(s,c){var g=Gn(c);return Dt(g)&&(g=n),Dt(s)?Ko(s,Yt(c,1,Dt,!0),n,g):[]});function wN(s,c,g){var q=s==null?0:s.length;return q?(c=g||c===n?1:Xe(c),Wn(s,c<0?0:c,q)):[]}function LN(s,c,g){var q=s==null?0:s.length;return q?(c=g||c===n?1:Xe(c),c=q-c,Wn(s,0,c<0?0:c)):[]}function _N(s,c){return s&&s.length?Su(s,ze(c,3),!0,!0):[]}function NN(s,c){return s&&s.length?Su(s,ze(c,3),!0):[]}function kN(s,c,g,q){var ne=s==null?0:s.length;return ne?(g&&typeof g!="number"&&an(s,c,g)&&(g=0,q=ne),b1(s,c,g,q)):[]}function Qy(s,c,g){var q=s==null?0:s.length;if(!q)return-1;var ne=g==null?0:Xe(g);return ne<0&&(ne=qt(q+ne,0)),$a(s,ze(c,3),ne)}function Xy(s,c,g){var q=s==null?0:s.length;if(!q)return-1;var ne=q-1;return g!==n&&(ne=Xe(g),ne=g<0?qt(q+ne,0):nn(ne,q-1)),$a(s,ze(c,3),ne,!0)}function Yy(s){var c=s==null?0:s.length;return c?Yt(s,1):[]}function ON(s){var c=s==null?0:s.length;return c?Yt(s,b):[]}function EN(s,c){var g=s==null?0:s.length;return g?(c=c===n?1:Xe(c),Yt(s,c)):[]}function CN(s){for(var c=-1,g=s==null?0:s.length,q={};++c<g;){var ne=s[c];q[ne[0]]=ne[1]}return q}function $y(s){return s&&s.length?s[0]:n}function AN(s,c,g){var q=s==null?0:s.length;if(!q)return-1;var ne=g==null?0:Xe(g);return ne<0&&(ne=qt(q+ne,0)),Js(s,c,ne)}function FN(s){var c=s==null?0:s.length;return c?Wn(s,0,-1):[]}var PN=et(function(s){var c=Ot(s,bf);return c.length&&c[0]===s[0]?uf(c):[]}),IN=et(function(s){var c=Gn(s),g=Ot(s,bf);return c===Gn(g)?c=n:g.pop(),g.length&&g[0]===s[0]?uf(g,ze(c,2)):[]}),MN=et(function(s){var c=Gn(s),g=Ot(s,bf);return c=typeof c=="function"?c:n,c&&g.pop(),g.length&&g[0]===s[0]?uf(g,n,c):[]});function jN(s,c){return s==null?"":F_.call(s,c)}function Gn(s){var c=s==null?0:s.length;return c?s[c-1]:n}function RN(s,c,g){var q=s==null?0:s.length;if(!q)return-1;var ne=q;return g!==n&&(ne=Xe(g),ne=ne<0?qt(q+ne,0):nn(ne,q-1)),c===c?m_(s,c,ne):$a(s,Im,ne,!0)}function BN(s,c){return s&&s.length?cy(s,Xe(c)):n}var DN=et(eg);function eg(s,c){return s&&s.length&&c&&c.length?df(s,c):s}function xN(s,c,g){return s&&s.length&&c&&c.length?df(s,c,ze(g,2)):s}function UN(s,c,g){return s&&s.length&&c&&c.length?df(s,c,n,g):s}var zN=zi(function(s,c){var g=s==null?0:s.length,q=rf(s,c);return hy(s,Ot(c,function(ne){return Ji(ne,g)?+ne:ne}).sort(Ly)),q});function JN(s,c){var g=[];if(!(s&&s.length))return g;var q=-1,ne=[],oe=s.length;for(c=ze(c,3);++q<oe;){var de=s[q];c(de,q,s)&&(g.push(de),ne.push(q))}return hy(s,ne),g}function Pf(s){return s==null?s:j_.call(s)}function WN(s,c,g){var q=s==null?0:s.length;return q?(g&&typeof g!="number"&&an(s,c,g)?(c=0,g=q):(c=c==null?0:Xe(c),g=g===n?q:Xe(g)),Wn(s,c,g)):[]}function GN(s,c){return Tu(s,c)}function qN(s,c,g){return mf(s,c,ze(g,2))}function HN(s,c){var g=s==null?0:s.length;if(g){var q=Tu(s,c);if(q<g&&ii(s[q],c))return q}return-1}function VN(s,c){return Tu(s,c,!0)}function KN(s,c,g){return mf(s,c,ze(g,2),!0)}function ZN(s,c){var g=s==null?0:s.length;if(g){var q=Tu(s,c,!0)-1;if(ii(s[q],c))return q}return-1}function QN(s){return s&&s.length?my(s):[]}function XN(s,c){return s&&s.length?my(s,ze(c,2)):[]}function YN(s){var c=s==null?0:s.length;return c?Wn(s,1,c):[]}function $N(s,c,g){return s&&s.length?(c=g||c===n?1:Xe(c),Wn(s,0,c<0?0:c)):[]}function ek(s,c,g){var q=s==null?0:s.length;return q?(c=g||c===n?1:Xe(c),c=q-c,Wn(s,c<0?0:c,q)):[]}function tk(s,c){return s&&s.length?Su(s,ze(c,3),!1,!0):[]}function nk(s,c){return s&&s.length?Su(s,ze(c,3)):[]}var ik=et(function(s){return Tr(Yt(s,1,Dt,!0))}),rk=et(function(s){var c=Gn(s);return Dt(c)&&(c=n),Tr(Yt(s,1,Dt,!0),ze(c,2))}),sk=et(function(s){var c=Gn(s);return c=typeof c=="function"?c:n,Tr(Yt(s,1,Dt,!0),n,c)});function ok(s){return s&&s.length?Tr(s):[]}function ak(s,c){return s&&s.length?Tr(s,ze(c,2)):[]}function uk(s,c){return c=typeof c=="function"?c:n,s&&s.length?Tr(s,n,c):[]}function If(s){if(!(s&&s.length))return[];var c=0;return s=pr(s,function(g){if(Dt(g))return c=qt(g.length,c),!0}),Zc(c,function(g){return Ot(s,Hc(g))})}function tg(s,c){if(!(s&&s.length))return[];var g=If(s);return c==null?g:Ot(g,function(q){return Nn(c,n,q)})}var lk=et(function(s,c){return Dt(s)?Ko(s,c):[]}),ck=et(function(s){return gf(pr(s,Dt))}),fk=et(function(s){var c=Gn(s);return Dt(c)&&(c=n),gf(pr(s,Dt),ze(c,2))}),dk=et(function(s){var c=Gn(s);return c=typeof c=="function"?c:n,gf(pr(s,Dt),n,c)}),hk=et(If);function pk(s,c){return Ty(s||[],c||[],Vo)}function mk(s,c){return Ty(s||[],c||[],Xo)}var yk=et(function(s){var c=s.length,g=c>1?s[c-1]:n;return g=typeof g=="function"?(s.pop(),g):n,tg(s,g)});function ng(s){var c=ie(s);return c.__chain__=!0,c}function gk(s,c){return c(s),s}function Cu(s,c){return c(s)}var bk=zi(function(s){var c=s.length,g=c?s[0]:0,q=this.__wrapped__,ne=function(oe){return rf(oe,s)};return c>1||this.__actions__.length||!(q instanceof ot)||!Ji(g)?this.thru(ne):(q=q.slice(g,+g+(c?1:0)),q.__actions__.push({func:Cu,args:[ne],thisArg:n}),new zn(q,this.__chain__).thru(function(oe){return c&&!oe.length&&oe.push(n),oe}))});function Tk(){return ng(this)}function Sk(){return new zn(this.value(),this.__chain__)}function vk(){this.__values__===n&&(this.__values__=yg(this.value()));var s=this.__index__>=this.__values__.length,c=s?n:this.__values__[this.__index__++];return{done:s,value:c}}function wk(){return this}function Lk(s){for(var c,g=this;g instanceof pu;){var q=Zy(g);q.__index__=0,q.__values__=n,c?ne.__wrapped__=q:c=q;var ne=q;g=g.__wrapped__}return ne.__wrapped__=s,c}function _k(){var s=this.__wrapped__;if(s instanceof ot){var c=s;return this.__actions__.length&&(c=new ot(this)),c=c.reverse(),c.__actions__.push({func:Cu,args:[Pf],thisArg:n}),new zn(c,this.__chain__)}return this.thru(Pf)}function Nk(){return by(this.__wrapped__,this.__actions__)}var kk=vu(function(s,c,g){gt.call(s,g)?++s[g]:xi(s,g,1)});function Ok(s,c,g){var q=Ke(s)?Fm:g1;return g&&an(s,c,g)&&(c=n),q(s,ze(c,3))}function Ek(s,c){var g=Ke(s)?pr:ty;return g(s,ze(c,3))}var Ck=Cy(Qy),Ak=Cy(Xy);function Fk(s,c){return Yt(Au(s,c),1)}function Pk(s,c){return Yt(Au(s,c),b)}function Ik(s,c,g){return g=g===n?1:Xe(g),Yt(Au(s,c),g)}function ig(s,c){var g=Ke(s)?xn:br;return g(s,ze(c,3))}function rg(s,c){var g=Ke(s)?YL:ey;return g(s,ze(c,3))}var Mk=vu(function(s,c,g){gt.call(s,g)?s[g].push(c):xi(s,g,[c])});function jk(s,c,g,q){s=pn(s)?s:eo(s),g=g&&!q?Xe(g):0;var ne=s.length;return g<0&&(g=qt(ne+g,0)),ju(s)?g<=ne&&s.indexOf(c,g)>-1:!!ne&&Js(s,c,g)>-1}var Rk=et(function(s,c,g){var q=-1,ne=typeof c=="function",oe=pn(s)?_e(s.length):[];return br(s,function(de){oe[++q]=ne?Nn(c,de,g):Zo(de,c,g)}),oe}),Bk=vu(function(s,c,g){xi(s,g,c)});function Au(s,c){var g=Ke(s)?Ot:ay;return g(s,ze(c,3))}function Dk(s,c,g,q){return s==null?[]:(Ke(c)||(c=c==null?[]:[c]),g=q?n:g,Ke(g)||(g=g==null?[]:[g]),fy(s,c,g))}var xk=vu(function(s,c,g){s[g?0:1].push(c)},function(){return[[],[]]});function Uk(s,c,g){var q=Ke(s)?Gc:jm,ne=arguments.length<3;return q(s,ze(c,4),g,ne,br)}function zk(s,c,g){var q=Ke(s)?$L:jm,ne=arguments.length<3;return q(s,ze(c,4),g,ne,ey)}function Jk(s,c){var g=Ke(s)?pr:ty;return g(s,Iu(ze(c,3)))}function Wk(s){var c=Ke(s)?Qm:j1;return c(s)}function Gk(s,c,g){(g?an(s,c,g):c===n)?c=1:c=Xe(c);var q=Ke(s)?d1:R1;return q(s,c)}function qk(s){var c=Ke(s)?h1:D1;return c(s)}function Hk(s){if(s==null)return 0;if(pn(s))return ju(s)?Gs(s):s.length;var c=rn(s);return c==fe||c==ve?s.size:cf(s).length}function Vk(s,c,g){var q=Ke(s)?qc:x1;return g&&an(s,c,g)&&(c=n),q(s,ze(c,3))}var Kk=et(function(s,c){if(s==null)return[];var g=c.length;return g>1&&an(s,c[0],c[1])?c=[]:g>2&&an(c[0],c[1],c[2])&&(c=[c[0]]),fy(s,Yt(c,1),[])}),Fu=E_||function(){return Xt.Date.now()};function Zk(s,c){if(typeof c!="function")throw new Un(u);return s=Xe(s),function(){if(--s<1)return c.apply(this,arguments)}}function sg(s,c,g){return c=g?n:c,c=s&&c==null?s.length:c,Ui(s,F,n,n,n,n,c)}function og(s,c){var g;if(typeof c!="function")throw new Un(u);return s=Xe(s),function(){return--s>0&&(g=c.apply(this,arguments)),s<=1&&(c=n),g}}var Mf=et(function(s,c,g){var q=P;if(g.length){var ne=yr(g,Ys(Mf));q|=U}return Ui(s,q,c,g,ne)}),ag=et(function(s,c,g){var q=P|I;if(g.length){var ne=yr(g,Ys(ag));q|=U}return Ui(c,q,s,g,ne)});function ug(s,c,g){c=g?n:c;var q=Ui(s,H,n,n,n,n,n,c);return q.placeholder=ug.placeholder,q}function lg(s,c,g){c=g?n:c;var q=Ui(s,Z,n,n,n,n,n,c);return q.placeholder=lg.placeholder,q}function cg(s,c,g){var q,ne,oe,de,ye,be,Oe=0,Ee=!1,Ce=!1,Ie=!0;if(typeof s!="function")throw new Un(u);c=qn(c)||0,Ft(g)&&(Ee=!!g.leading,Ce="maxWait"in g,oe=Ce?qt(qn(g.maxWait)||0,c):oe,Ie="trailing"in g?!!g.trailing:Ie);function Be(xt){var ri=q,qi=ne;return q=ne=n,Oe=xt,de=s.apply(qi,ri),de}function We(xt){return Oe=xt,ye=ea(it,c),Ee?Be(xt):de}function $e(xt){var ri=xt-be,qi=xt-Oe,Cg=c-ri;return Ce?nn(Cg,oe-qi):Cg}function Ge(xt){var ri=xt-be,qi=xt-Oe;return be===n||ri>=c||ri<0||Ce&&qi>=oe}function it(){var xt=Fu();if(Ge(xt))return lt(xt);ye=ea(it,$e(xt))}function lt(xt){return ye=n,Ie&&q?Be(xt):(q=ne=n,de)}function Cn(){ye!==n&&Sy(ye),Oe=0,q=be=ne=ye=n}function un(){return ye===n?de:lt(Fu())}function An(){var xt=Fu(),ri=Ge(xt);if(q=arguments,ne=this,be=xt,ri){if(ye===n)return We(be);if(Ce)return Sy(ye),ye=ea(it,c),Be(be)}return ye===n&&(ye=ea(it,c)),de}return An.cancel=Cn,An.flush=un,An}var Qk=et(function(s,c){return $m(s,1,c)}),Xk=et(function(s,c,g){return $m(s,qn(c)||0,g)});function Yk(s){return Ui(s,w)}function Pu(s,c){if(typeof s!="function"||c!=null&&typeof c!="function")throw new Un(u);var g=function(){var q=arguments,ne=c?c.apply(this,q):q[0],oe=g.cache;if(oe.has(ne))return oe.get(ne);var de=s.apply(this,q);return g.cache=oe.set(ne,de)||oe,de};return g.cache=new(Pu.Cache||Di),g}Pu.Cache=Di;function Iu(s){if(typeof s!="function")throw new Un(u);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 $k(s){return og(2,s)}var eO=U1(function(s,c){c=c.length==1&&Ke(c[0])?Ot(c[0],kn(ze())):Ot(Yt(c,1),kn(ze()));var g=c.length;return et(function(q){for(var ne=-1,oe=nn(q.length,g);++ne<oe;)q[ne]=c[ne].call(this,q[ne]);return Nn(s,this,q)})}),jf=et(function(s,c){var g=yr(c,Ys(jf));return Ui(s,U,n,c,g)}),fg=et(function(s,c){var g=yr(c,Ys(fg));return Ui(s,B,n,c,g)}),tO=zi(function(s,c){return Ui(s,y,n,n,n,c)});function nO(s,c){if(typeof s!="function")throw new Un(u);return c=c===n?c:Xe(c),et(s,c)}function iO(s,c){if(typeof s!="function")throw new Un(u);return c=c==null?0:qt(Xe(c),0),et(function(g){var q=g[c],ne=vr(g,0,c);return q&&mr(ne,q),Nn(s,this,ne)})}function rO(s,c,g){var q=!0,ne=!0;if(typeof s!="function")throw new Un(u);return Ft(g)&&(q="leading"in g?!!g.leading:q,ne="trailing"in g?!!g.trailing:ne),cg(s,c,{leading:q,maxWait:c,trailing:ne})}function sO(s){return sg(s,1)}function oO(s,c){return jf(Tf(c),s)}function aO(){if(!arguments.length)return[];var s=arguments[0];return Ke(s)?s:[s]}function uO(s){return Jn(s,_)}function lO(s,c){return c=typeof c=="function"?c:n,Jn(s,_,c)}function cO(s){return Jn(s,C|_)}function fO(s,c){return c=typeof c=="function"?c:n,Jn(s,C|_,c)}function dO(s,c){return c==null||Ym(s,c,Zt(c))}function ii(s,c){return s===c||s!==s&&c!==c}var hO=Nu(af),pO=Nu(function(s,c){return s>=c}),ns=ry(function(){return arguments}())?ry:function(s){return Pt(s)&>.call(s,"callee")&&!Gm.call(s,"callee")},Ke=_e.isArray,mO=Nm?kn(Nm):L1;function pn(s){return s!=null&&Mu(s.length)&&!Wi(s)}function Dt(s){return Pt(s)&&pn(s)}function yO(s){return s===!0||s===!1||Pt(s)&&on(s)==$}var wr=A_||Hf,gO=km?kn(km):_1;function bO(s){return Pt(s)&&s.nodeType===1&&!ta(s)}function TO(s){if(s==null)return!0;if(pn(s)&&(Ke(s)||typeof s=="string"||typeof s.splice=="function"||wr(s)||$s(s)||ns(s)))return!s.length;var c=rn(s);if(c==fe||c==ve)return!s.size;if($o(s))return!cf(s).length;for(var g in s)if(gt.call(s,g))return!1;return!0}function SO(s,c){return Qo(s,c)}function vO(s,c,g){g=typeof g=="function"?g:n;var q=g?g(s,c):n;return q===n?Qo(s,c,n,g):!!q}function Rf(s){if(!Pt(s))return!1;var c=on(s);return c==Te||c==pe||typeof s.message=="string"&&typeof s.name=="string"&&!ta(s)}function wO(s){return typeof s=="number"&&Hm(s)}function Wi(s){if(!Ft(s))return!1;var c=on(s);return c==Ne||c==ce||c==Y||c==se}function dg(s){return typeof s=="number"&&s==Xe(s)}function Mu(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=R}function Ft(s){var c=typeof s;return s!=null&&(c=="object"||c=="function")}function Pt(s){return s!=null&&typeof s=="object"}var hg=Om?kn(Om):k1;function LO(s,c){return s===c||lf(s,c,kf(c))}function _O(s,c,g){return g=typeof g=="function"?g:n,lf(s,c,kf(c),g)}function NO(s){return pg(s)&&s!=+s}function kO(s){if(lN(s))throw new Ve(l);return sy(s)}function OO(s){return s===null}function EO(s){return s==null}function pg(s){return typeof s=="number"||Pt(s)&&on(s)==le}function ta(s){if(!Pt(s)||on(s)!=z)return!1;var c=au(s);if(c===null)return!0;var g=gt.call(c,"constructor")&&c.constructor;return typeof g=="function"&&g instanceof g&&iu.call(g)==__}var Bf=Em?kn(Em):O1;function CO(s){return dg(s)&&s>=-R&&s<=R}var mg=Cm?kn(Cm):E1;function ju(s){return typeof s=="string"||!Ke(s)&&Pt(s)&&on(s)==we}function En(s){return typeof s=="symbol"||Pt(s)&&on(s)==Pe}var $s=Am?kn(Am):C1;function AO(s){return s===n}function FO(s){return Pt(s)&&rn(s)==Q}function PO(s){return Pt(s)&&on(s)==ee}var IO=Nu(ff),MO=Nu(function(s,c){return s<=c});function yg(s){if(!s)return[];if(pn(s))return ju(s)?ti(s):hn(s);if(Jo&&s[Jo])return d_(s[Jo]());var c=rn(s),g=c==fe?Xc:c==ve?eu:eo;return g(s)}function Gi(s){if(!s)return s===0?s:0;if(s=qn(s),s===b||s===-b){var c=s<0?-1:1;return c*x}return s===s?s:0}function Xe(s){var c=Gi(s),g=c%1;return c===c?g?c-g:c:0}function gg(s){return s?Yr(Xe(s),0,W):0}function qn(s){if(typeof s=="number")return s;if(En(s))return j;if(Ft(s)){var c=typeof s.valueOf=="function"?s.valueOf():s;s=Ft(c)?c+"":c}if(typeof s!="string")return s===0?s:+s;s=Rm(s);var g=mL.test(s);return g||gL.test(s)?ZL(s.slice(2),g?2:8):pL.test(s)?j:+s}function bg(s){return mi(s,mn(s))}function jO(s){return s?Yr(Xe(s),-R,R):s===0?s:0}function mt(s){return s==null?"":On(s)}var RO=Qs(function(s,c){if($o(c)||pn(c)){mi(c,Zt(c),s);return}for(var g in c)gt.call(c,g)&&Vo(s,g,c[g])}),Tg=Qs(function(s,c){mi(c,mn(c),s)}),Ru=Qs(function(s,c,g,q){mi(c,mn(c),s,q)}),BO=Qs(function(s,c,g,q){mi(c,Zt(c),s,q)}),DO=zi(rf);function xO(s,c){var g=Zs(s);return c==null?g:Xm(g,c)}var UO=et(function(s,c){s=vt(s);var g=-1,q=c.length,ne=q>2?c[2]:n;for(ne&&an(c[0],c[1],ne)&&(q=1);++g<q;)for(var oe=c[g],de=mn(oe),ye=-1,be=de.length;++ye<be;){var Oe=de[ye],Ee=s[Oe];(Ee===n||ii(Ee,Hs[Oe])&&!gt.call(s,Oe))&&(s[Oe]=oe[Oe])}return s}),zO=et(function(s){return s.push(n,Ry),Nn(Sg,n,s)});function JO(s,c){return Pm(s,ze(c,3),pi)}function WO(s,c){return Pm(s,ze(c,3),of)}function GO(s,c){return s==null?s:sf(s,ze(c,3),mn)}function qO(s,c){return s==null?s:ny(s,ze(c,3),mn)}function HO(s,c){return s&&pi(s,ze(c,3))}function VO(s,c){return s&&of(s,ze(c,3))}function KO(s){return s==null?[]:gu(s,Zt(s))}function ZO(s){return s==null?[]:gu(s,mn(s))}function Df(s,c,g){var q=s==null?n:$r(s,c);return q===n?g:q}function QO(s,c){return s!=null&&xy(s,c,T1)}function xf(s,c){return s!=null&&xy(s,c,S1)}var XO=Fy(function(s,c,g){c!=null&&typeof c.toString!="function"&&(c=ru.call(c)),s[c]=g},zf(yn)),YO=Fy(function(s,c,g){c!=null&&typeof c.toString!="function"&&(c=ru.call(c)),gt.call(s,c)?s[c].push(g):s[c]=[g]},ze),$O=et(Zo);function Zt(s){return pn(s)?Zm(s):cf(s)}function mn(s){return pn(s)?Zm(s,!0):A1(s)}function eE(s,c){var g={};return c=ze(c,3),pi(s,function(q,ne,oe){xi(g,c(q,ne,oe),q)}),g}function tE(s,c){var g={};return c=ze(c,3),pi(s,function(q,ne,oe){xi(g,ne,c(q,ne,oe))}),g}var nE=Qs(function(s,c,g){bu(s,c,g)}),Sg=Qs(function(s,c,g,q){bu(s,c,g,q)}),iE=zi(function(s,c){var g={};if(s==null)return g;var q=!1;c=Ot(c,function(oe){return oe=Sr(oe,s),q||(q=oe.length>1),oe}),mi(s,_f(s),g),q&&(g=Jn(g,C|D|_,X1));for(var ne=c.length;ne--;)yf(g,c[ne]);return g});function rE(s,c){return vg(s,Iu(ze(c)))}var sE=zi(function(s,c){return s==null?{}:P1(s,c)});function vg(s,c){if(s==null)return{};var g=Ot(_f(s),function(q){return[q]});return c=ze(c),dy(s,g,function(q,ne){return c(q,ne[0])})}function oE(s,c,g){c=Sr(c,s);var q=-1,ne=c.length;for(ne||(ne=1,s=n);++q<ne;){var oe=s==null?n:s[yi(c[q])];oe===n&&(q=ne,oe=g),s=Wi(oe)?oe.call(s):oe}return s}function aE(s,c,g){return s==null?s:Xo(s,c,g)}function uE(s,c,g,q){return q=typeof q=="function"?q:n,s==null?s:Xo(s,c,g,q)}var wg=My(Zt),Lg=My(mn);function lE(s,c,g){var q=Ke(s),ne=q||wr(s)||$s(s);if(c=ze(c,4),g==null){var oe=s&&s.constructor;ne?g=q?new oe:[]:Ft(s)?g=Wi(oe)?Zs(au(s)):{}:g={}}return(ne?xn:pi)(s,function(de,ye,be){return c(g,de,ye,be)}),g}function cE(s,c){return s==null?!0:yf(s,c)}function fE(s,c,g){return s==null?s:gy(s,c,Tf(g))}function dE(s,c,g,q){return q=typeof q=="function"?q:n,s==null?s:gy(s,c,Tf(g),q)}function eo(s){return s==null?[]:Qc(s,Zt(s))}function hE(s){return s==null?[]:Qc(s,mn(s))}function pE(s,c,g){return g===n&&(g=c,c=n),g!==n&&(g=qn(g),g=g===g?g:0),c!==n&&(c=qn(c),c=c===c?c:0),Yr(qn(s),c,g)}function mE(s,c,g){return c=Gi(c),g===n?(g=c,c=0):g=Gi(g),s=qn(s),v1(s,c,g)}function yE(s,c,g){if(g&&typeof g!="boolean"&&an(s,c,g)&&(c=g=n),g===n&&(typeof c=="boolean"?(g=c,c=n):typeof s=="boolean"&&(g=s,s=n)),s===n&&c===n?(s=0,c=1):(s=Gi(s),c===n?(c=s,s=0):c=Gi(c)),s>c){var q=s;s=c,c=q}if(g||s%1||c%1){var ne=Vm();return nn(s+ne*(c-s+KL("1e-"+((ne+"").length-1))),c)}return hf(s,c)}var gE=Xs(function(s,c,g){return c=c.toLowerCase(),s+(g?_g(c):c)});function _g(s){return Uf(mt(s).toLowerCase())}function Ng(s){return s=mt(s),s&&s.replace(TL,a_).replace(DL,"")}function bE(s,c,g){s=mt(s),c=On(c);var q=s.length;g=g===n?q:Yr(Xe(g),0,q);var ne=g;return g-=c.length,g>=0&&s.slice(g,ne)==c}function TE(s){return s=mt(s),s&&Bt.test(s)?s.replace(Ue,u_):s}function SE(s){return s=mt(s),s&&sL.test(s)?s.replace(Mc,"\\$&"):s}var vE=Xs(function(s,c,g){return s+(g?"-":"")+c.toLowerCase()}),wE=Xs(function(s,c,g){return s+(g?" ":"")+c.toLowerCase()}),LE=Ey("toLowerCase");function _E(s,c,g){s=mt(s),c=Xe(c);var q=c?Gs(s):0;if(!c||q>=c)return s;var ne=(c-q)/2;return _u(fu(ne),g)+s+_u(cu(ne),g)}function NE(s,c,g){s=mt(s),c=Xe(c);var q=c?Gs(s):0;return c&&q<c?s+_u(c-q,g):s}function kE(s,c,g){s=mt(s),c=Xe(c);var q=c?Gs(s):0;return c&&q<c?_u(c-q,g)+s:s}function OE(s,c,g){return g||c==null?c=0:c&&(c=+c),M_(mt(s).replace(jc,""),c||0)}function EE(s,c,g){return(g?an(s,c,g):c===n)?c=1:c=Xe(c),pf(mt(s),c)}function CE(){var s=arguments,c=mt(s[0]);return s.length<3?c:c.replace(s[1],s[2])}var AE=Xs(function(s,c,g){return s+(g?"_":"")+c.toLowerCase()});function FE(s,c,g){return g&&typeof g!="number"&&an(s,c,g)&&(c=g=n),g=g===n?W:g>>>0,g?(s=mt(s),s&&(typeof c=="string"||c!=null&&!Bf(c))&&(c=On(c),!c&&Ws(s))?vr(ti(s),0,g):s.split(c,g)):[]}var PE=Xs(function(s,c,g){return s+(g?" ":"")+Uf(c)});function IE(s,c,g){return s=mt(s),g=g==null?0:Yr(Xe(g),0,s.length),c=On(c),s.slice(g,g+c.length)==c}function ME(s,c,g){var q=ie.templateSettings;g&&an(s,c,g)&&(c=n),s=mt(s),c=Ru({},c,q,jy);var ne=Ru({},c.imports,q.imports,jy),oe=Zt(ne),de=Qc(ne,oe),ye,be,Oe=0,Ee=c.interpolate||Za,Ce="__p += '",Ie=Yc((c.escape||Za).source+"|"+Ee.source+"|"+(Ee===Bn?hL:Za).source+"|"+(c.evaluate||Za).source+"|$","g"),Be="//# sourceURL="+(gt.call(c,"sourceURL")?(c.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++WL+"]")+`
|
|
906
|
-
`;s.replace(Ie,function(Ge,it,lt,Cn,un,An){return lt||(lt=Cn),Ce+=s.slice(Oe,An).replace(SL,l_),it&&(ye=!0,Ce+=`' +
|
|
907
|
-
__e(`+it+`) +
|
|
908
|
-
'`),un&&(be=!0,Ce+=`';
|
|
909
|
-
`+un+`;
|
|
910
|
-
__p += '`),lt&&(Ce+=`' +
|
|
911
|
-
((__t = (`+lt+`)) == null ? '' : __t) +
|
|
912
|
-
'`),Oe=An+Ge.length,Ge}),Ce+=`';
|
|
913
|
-
`;var We=gt.call(c,"variable")&&c.variable;if(!We)Ce=`with (obj) {
|
|
914
|
-
`+Ce+`
|
|
915
|
-
}
|
|
916
|
-
`;else if(fL.test(We))throw new Ve(f);Ce=(be?Ce.replace(ut,""):Ce).replace(jn,"$1").replace(xe,"$1;"),Ce="function("+(We||"obj")+`) {
|
|
917
|
-
`+(We?"":`obj || (obj = {});
|
|
918
|
-
`)+"var __t, __p = ''"+(ye?", __e = _.escape":"")+(be?`, __j = Array.prototype.join;
|
|
919
|
-
function print() { __p += __j.call(arguments, '') }
|
|
920
|
-
`:`;
|
|
921
|
-
`)+Ce+`return __p
|
|
922
|
-
}`;var $e=Og(function(){return pt(oe,Be+"return "+Ce).apply(n,de)});if($e.source=Ce,Rf($e))throw $e;return $e}function jE(s){return mt(s).toLowerCase()}function RE(s){return mt(s).toUpperCase()}function BE(s,c,g){if(s=mt(s),s&&(g||c===n))return Rm(s);if(!s||!(c=On(c)))return s;var q=ti(s),ne=ti(c),oe=Bm(q,ne),de=Dm(q,ne)+1;return vr(q,oe,de).join("")}function DE(s,c,g){if(s=mt(s),s&&(g||c===n))return s.slice(0,Um(s)+1);if(!s||!(c=On(c)))return s;var q=ti(s),ne=Dm(q,ti(c))+1;return vr(q,0,ne).join("")}function xE(s,c,g){if(s=mt(s),s&&(g||c===n))return s.replace(jc,"");if(!s||!(c=On(c)))return s;var q=ti(s),ne=Bm(q,ti(c));return vr(q,ne).join("")}function UE(s,c){var g=L,q=N;if(Ft(c)){var ne="separator"in c?c.separator:ne;g="length"in c?Xe(c.length):g,q="omission"in c?On(c.omission):q}s=mt(s);var oe=s.length;if(Ws(s)){var de=ti(s);oe=de.length}if(g>=oe)return s;var ye=g-Gs(q);if(ye<1)return q;var be=de?vr(de,0,ye).join(""):s.slice(0,ye);if(ne===n)return be+q;if(de&&(ye+=be.length-ye),Bf(ne)){if(s.slice(ye).search(ne)){var Oe,Ee=be;for(ne.global||(ne=Yc(ne.source,mt(rm.exec(ne))+"g")),ne.lastIndex=0;Oe=ne.exec(Ee);)var Ce=Oe.index;be=be.slice(0,Ce===n?ye:Ce)}}else if(s.indexOf(On(ne),ye)!=ye){var Ie=be.lastIndexOf(ne);Ie>-1&&(be=be.slice(0,Ie))}return be+q}function zE(s){return s=mt(s),s&&De.test(s)?s.replace(He,y_):s}var JE=Xs(function(s,c,g){return s+(g?" ":"")+c.toUpperCase()}),Uf=Ey("toUpperCase");function kg(s,c,g){return s=mt(s),c=g?n:c,c===n?f_(s)?T_(s):n_(s):s.match(c)||[]}var Og=et(function(s,c){try{return Nn(s,n,c)}catch(g){return Rf(g)?g:new Ve(g)}}),WE=zi(function(s,c){return xn(c,function(g){g=yi(g),xi(s,g,Mf(s[g],s))}),s});function GE(s){var c=s==null?0:s.length,g=ze();return s=c?Ot(s,function(q){if(typeof q[1]!="function")throw new Un(u);return[g(q[0]),q[1]]}):[],et(function(q){for(var ne=-1;++ne<c;){var oe=s[ne];if(Nn(oe[0],this,q))return Nn(oe[1],this,q)}})}function qE(s){return y1(Jn(s,C))}function zf(s){return function(){return s}}function HE(s,c){return s==null||s!==s?c:s}var VE=Ay(),KE=Ay(!0);function yn(s){return s}function Jf(s){return oy(typeof s=="function"?s:Jn(s,C))}function ZE(s){return uy(Jn(s,C))}function QE(s,c){return ly(s,Jn(c,C))}var XE=et(function(s,c){return function(g){return Zo(g,s,c)}}),YE=et(function(s,c){return function(g){return Zo(s,g,c)}});function Wf(s,c,g){var q=Zt(c),ne=gu(c,q);g==null&&!(Ft(c)&&(ne.length||!q.length))&&(g=c,c=s,s=this,ne=gu(c,Zt(c)));var oe=!(Ft(g)&&"chain"in g)||!!g.chain,de=Wi(s);return xn(ne,function(ye){var be=c[ye];s[ye]=be,de&&(s.prototype[ye]=function(){var Oe=this.__chain__;if(oe||Oe){var Ee=s(this.__wrapped__),Ce=Ee.__actions__=hn(this.__actions__);return Ce.push({func:be,args:arguments,thisArg:s}),Ee.__chain__=Oe,Ee}return be.apply(s,mr([this.value()],arguments))})}),s}function $E(){return Xt._===this&&(Xt._=N_),this}function Gf(){}function eC(s){return s=Xe(s),et(function(c){return cy(c,s)})}var tC=vf(Ot),nC=vf(Fm),iC=vf(qc);function Eg(s){return Ef(s)?Hc(yi(s)):I1(s)}function rC(s){return function(c){return s==null?n:$r(s,c)}}var sC=Py(),oC=Py(!0);function qf(){return[]}function Hf(){return!1}function aC(){return{}}function uC(){return""}function lC(){return!0}function cC(s,c){if(s=Xe(s),s<1||s>R)return[];var g=W,q=nn(s,W);c=ze(c),s-=W;for(var ne=Zc(q,c);++g<s;)c(g);return ne}function fC(s){return Ke(s)?Ot(s,yi):En(s)?[s]:hn(Ky(mt(s)))}function dC(s){var c=++L_;return mt(s)+c}var hC=Lu(function(s,c){return s+c},0),pC=wf("ceil"),mC=Lu(function(s,c){return s/c},1),yC=wf("floor");function gC(s){return s&&s.length?yu(s,yn,af):n}function bC(s,c){return s&&s.length?yu(s,ze(c,2),af):n}function TC(s){return Mm(s,yn)}function SC(s,c){return Mm(s,ze(c,2))}function vC(s){return s&&s.length?yu(s,yn,ff):n}function wC(s,c){return s&&s.length?yu(s,ze(c,2),ff):n}var LC=Lu(function(s,c){return s*c},1),_C=wf("round"),NC=Lu(function(s,c){return s-c},0);function kC(s){return s&&s.length?Kc(s,yn):0}function OC(s,c){return s&&s.length?Kc(s,ze(c,2)):0}return ie.after=Zk,ie.ary=sg,ie.assign=RO,ie.assignIn=Tg,ie.assignInWith=Ru,ie.assignWith=BO,ie.at=DO,ie.before=og,ie.bind=Mf,ie.bindAll=WE,ie.bindKey=ag,ie.castArray=aO,ie.chain=ng,ie.chunk=yN,ie.compact=gN,ie.concat=bN,ie.cond=GE,ie.conforms=qE,ie.constant=zf,ie.countBy=kk,ie.create=xO,ie.curry=ug,ie.curryRight=lg,ie.debounce=cg,ie.defaults=UO,ie.defaultsDeep=zO,ie.defer=Qk,ie.delay=Xk,ie.difference=TN,ie.differenceBy=SN,ie.differenceWith=vN,ie.drop=wN,ie.dropRight=LN,ie.dropRightWhile=_N,ie.dropWhile=NN,ie.fill=kN,ie.filter=Ek,ie.flatMap=Fk,ie.flatMapDeep=Pk,ie.flatMapDepth=Ik,ie.flatten=Yy,ie.flattenDeep=ON,ie.flattenDepth=EN,ie.flip=Yk,ie.flow=VE,ie.flowRight=KE,ie.fromPairs=CN,ie.functions=KO,ie.functionsIn=ZO,ie.groupBy=Mk,ie.initial=FN,ie.intersection=PN,ie.intersectionBy=IN,ie.intersectionWith=MN,ie.invert=XO,ie.invertBy=YO,ie.invokeMap=Rk,ie.iteratee=Jf,ie.keyBy=Bk,ie.keys=Zt,ie.keysIn=mn,ie.map=Au,ie.mapKeys=eE,ie.mapValues=tE,ie.matches=ZE,ie.matchesProperty=QE,ie.memoize=Pu,ie.merge=nE,ie.mergeWith=Sg,ie.method=XE,ie.methodOf=YE,ie.mixin=Wf,ie.negate=Iu,ie.nthArg=eC,ie.omit=iE,ie.omitBy=rE,ie.once=$k,ie.orderBy=Dk,ie.over=tC,ie.overArgs=eO,ie.overEvery=nC,ie.overSome=iC,ie.partial=jf,ie.partialRight=fg,ie.partition=xk,ie.pick=sE,ie.pickBy=vg,ie.property=Eg,ie.propertyOf=rC,ie.pull=DN,ie.pullAll=eg,ie.pullAllBy=xN,ie.pullAllWith=UN,ie.pullAt=zN,ie.range=sC,ie.rangeRight=oC,ie.rearg=tO,ie.reject=Jk,ie.remove=JN,ie.rest=nO,ie.reverse=Pf,ie.sampleSize=Gk,ie.set=aE,ie.setWith=uE,ie.shuffle=qk,ie.slice=WN,ie.sortBy=Kk,ie.sortedUniq=QN,ie.sortedUniqBy=XN,ie.split=FE,ie.spread=iO,ie.tail=YN,ie.take=$N,ie.takeRight=ek,ie.takeRightWhile=tk,ie.takeWhile=nk,ie.tap=gk,ie.throttle=rO,ie.thru=Cu,ie.toArray=yg,ie.toPairs=wg,ie.toPairsIn=Lg,ie.toPath=fC,ie.toPlainObject=bg,ie.transform=lE,ie.unary=sO,ie.union=ik,ie.unionBy=rk,ie.unionWith=sk,ie.uniq=ok,ie.uniqBy=ak,ie.uniqWith=uk,ie.unset=cE,ie.unzip=If,ie.unzipWith=tg,ie.update=fE,ie.updateWith=dE,ie.values=eo,ie.valuesIn=hE,ie.without=lk,ie.words=kg,ie.wrap=oO,ie.xor=ck,ie.xorBy=fk,ie.xorWith=dk,ie.zip=hk,ie.zipObject=pk,ie.zipObjectDeep=mk,ie.zipWith=yk,ie.entries=wg,ie.entriesIn=Lg,ie.extend=Tg,ie.extendWith=Ru,Wf(ie,ie),ie.add=hC,ie.attempt=Og,ie.camelCase=gE,ie.capitalize=_g,ie.ceil=pC,ie.clamp=pE,ie.clone=uO,ie.cloneDeep=cO,ie.cloneDeepWith=fO,ie.cloneWith=lO,ie.conformsTo=dO,ie.deburr=Ng,ie.defaultTo=HE,ie.divide=mC,ie.endsWith=bE,ie.eq=ii,ie.escape=TE,ie.escapeRegExp=SE,ie.every=Ok,ie.find=Ck,ie.findIndex=Qy,ie.findKey=JO,ie.findLast=Ak,ie.findLastIndex=Xy,ie.findLastKey=WO,ie.floor=yC,ie.forEach=ig,ie.forEachRight=rg,ie.forIn=GO,ie.forInRight=qO,ie.forOwn=HO,ie.forOwnRight=VO,ie.get=Df,ie.gt=hO,ie.gte=pO,ie.has=QO,ie.hasIn=xf,ie.head=$y,ie.identity=yn,ie.includes=jk,ie.indexOf=AN,ie.inRange=mE,ie.invoke=$O,ie.isArguments=ns,ie.isArray=Ke,ie.isArrayBuffer=mO,ie.isArrayLike=pn,ie.isArrayLikeObject=Dt,ie.isBoolean=yO,ie.isBuffer=wr,ie.isDate=gO,ie.isElement=bO,ie.isEmpty=TO,ie.isEqual=SO,ie.isEqualWith=vO,ie.isError=Rf,ie.isFinite=wO,ie.isFunction=Wi,ie.isInteger=dg,ie.isLength=Mu,ie.isMap=hg,ie.isMatch=LO,ie.isMatchWith=_O,ie.isNaN=NO,ie.isNative=kO,ie.isNil=EO,ie.isNull=OO,ie.isNumber=pg,ie.isObject=Ft,ie.isObjectLike=Pt,ie.isPlainObject=ta,ie.isRegExp=Bf,ie.isSafeInteger=CO,ie.isSet=mg,ie.isString=ju,ie.isSymbol=En,ie.isTypedArray=$s,ie.isUndefined=AO,ie.isWeakMap=FO,ie.isWeakSet=PO,ie.join=jN,ie.kebabCase=vE,ie.last=Gn,ie.lastIndexOf=RN,ie.lowerCase=wE,ie.lowerFirst=LE,ie.lt=IO,ie.lte=MO,ie.max=gC,ie.maxBy=bC,ie.mean=TC,ie.meanBy=SC,ie.min=vC,ie.minBy=wC,ie.stubArray=qf,ie.stubFalse=Hf,ie.stubObject=aC,ie.stubString=uC,ie.stubTrue=lC,ie.multiply=LC,ie.nth=BN,ie.noConflict=$E,ie.noop=Gf,ie.now=Fu,ie.pad=_E,ie.padEnd=NE,ie.padStart=kE,ie.parseInt=OE,ie.random=yE,ie.reduce=Uk,ie.reduceRight=zk,ie.repeat=EE,ie.replace=CE,ie.result=oE,ie.round=_C,ie.runInContext=ge,ie.sample=Wk,ie.size=Hk,ie.snakeCase=AE,ie.some=Vk,ie.sortedIndex=GN,ie.sortedIndexBy=qN,ie.sortedIndexOf=HN,ie.sortedLastIndex=VN,ie.sortedLastIndexBy=KN,ie.sortedLastIndexOf=ZN,ie.startCase=PE,ie.startsWith=IE,ie.subtract=NC,ie.sum=kC,ie.sumBy=OC,ie.template=ME,ie.times=cC,ie.toFinite=Gi,ie.toInteger=Xe,ie.toLength=gg,ie.toLower=jE,ie.toNumber=qn,ie.toSafeInteger=jO,ie.toString=mt,ie.toUpper=RE,ie.trim=BE,ie.trimEnd=DE,ie.trimStart=xE,ie.truncate=UE,ie.unescape=zE,ie.uniqueId=dC,ie.upperCase=JE,ie.upperFirst=Uf,ie.each=ig,ie.eachRight=rg,ie.first=$y,Wf(ie,function(){var s={};return pi(ie,function(c,g){gt.call(ie.prototype,g)||(s[g]=c)}),s}(),{chain:!1}),ie.VERSION=i,xn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){ie[s].placeholder=ie}),xn(["drop","take"],function(s,c){ot.prototype[s]=function(g){g=g===n?1:qt(Xe(g),0);var q=this.__filtered__&&!c?new ot(this):this.clone();return q.__filtered__?q.__takeCount__=nn(g,q.__takeCount__):q.__views__.push({size:nn(g,W),type:s+(q.__dir__<0?"Right":"")}),q},ot.prototype[s+"Right"]=function(g){return this.reverse()[s](g).reverse()}}),xn(["filter","map","takeWhile"],function(s,c){var g=c+1,q=g==a||g==h;ot.prototype[s]=function(ne){var oe=this.clone();return oe.__iteratees__.push({iteratee:ze(ne,3),type:g}),oe.__filtered__=oe.__filtered__||q,oe}}),xn(["head","last"],function(s,c){var g="take"+(c?"Right":"");ot.prototype[s]=function(){return this[g](1).value()[0]}}),xn(["initial","tail"],function(s,c){var g="drop"+(c?"":"Right");ot.prototype[s]=function(){return this.__filtered__?new ot(this):this[g](1)}}),ot.prototype.compact=function(){return this.filter(yn)},ot.prototype.find=function(s){return this.filter(s).head()},ot.prototype.findLast=function(s){return this.reverse().find(s)},ot.prototype.invokeMap=et(function(s,c){return typeof s=="function"?new ot(this):this.map(function(g){return Zo(g,s,c)})}),ot.prototype.reject=function(s){return this.filter(Iu(ze(s)))},ot.prototype.slice=function(s,c){s=Xe(s);var g=this;return g.__filtered__&&(s>0||c<0)?new ot(g):(s<0?g=g.takeRight(-s):s&&(g=g.drop(s)),c!==n&&(c=Xe(c),g=c<0?g.dropRight(-c):g.take(c-s)),g)},ot.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},ot.prototype.toArray=function(){return this.take(W)},pi(ot.prototype,function(s,c){var g=/^(?:filter|find|map|reject)|While$/.test(c),q=/^(?:head|last)$/.test(c),ne=ie[q?"take"+(c=="last"?"Right":""):c],oe=q||/^find/.test(c);ne&&(ie.prototype[c]=function(){var de=this.__wrapped__,ye=q?[1]:arguments,be=de instanceof ot,Oe=ye[0],Ee=be||Ke(de),Ce=function(it){var lt=ne.apply(ie,mr([it],ye));return q&&Ie?lt[0]:lt};Ee&&g&&typeof Oe=="function"&&Oe.length!=1&&(be=Ee=!1);var Ie=this.__chain__,Be=!!this.__actions__.length,We=oe&&!Ie,$e=be&&!Be;if(!oe&&Ee){de=$e?de:new ot(this);var Ge=s.apply(de,ye);return Ge.__actions__.push({func:Cu,args:[Ce],thisArg:n}),new zn(Ge,Ie)}return We&&$e?s.apply(this,ye):(Ge=this.thru(Ce),We?q?Ge.value()[0]:Ge.value():Ge)})}),xn(["pop","push","shift","sort","splice","unshift"],function(s){var c=tu[s],g=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",q=/^(?:pop|shift)$/.test(s);ie.prototype[s]=function(){var ne=arguments;if(q&&!this.__chain__){var oe=this.value();return c.apply(Ke(oe)?oe:[],ne)}return this[g](function(de){return c.apply(Ke(de)?de:[],ne)})}}),pi(ot.prototype,function(s,c){var g=ie[c];if(g){var q=g.name+"";gt.call(Ks,q)||(Ks[q]=[]),Ks[q].push({name:c,func:g})}}),Ks[wu(n,I).name]=[{name:"wrapper",func:n}],ot.prototype.clone=z_,ot.prototype.reverse=J_,ot.prototype.value=W_,ie.prototype.at=bk,ie.prototype.chain=Tk,ie.prototype.commit=Sk,ie.prototype.next=vk,ie.prototype.plant=Lk,ie.prototype.reverse=_k,ie.prototype.toJSON=ie.prototype.valueOf=ie.prototype.value=Nk,ie.prototype.first=ie.prototype.head,Jo&&(ie.prototype[Jo]=wk),ie},qs=S_();Kr?((Kr.exports=qs)._=qs,zc._=qs):Xt._=qs}).call(Fe)})(kl,kl.exports);var PM=kl.exports;(function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(U,B,F,y){y===void 0&&(y=F);var w=Object.getOwnPropertyDescriptor(B,F);(!w||("get"in w?!B.__esModule:w.writable||w.configurable))&&(w={enumerable:!0,get:function(){return B[F]}}),Object.defineProperty(U,y,w)}:function(U,B,F,y){y===void 0&&(y=F),U[y]=B[F]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(U,B){Object.defineProperty(U,"default",{enumerable:!0,value:B})}:function(U,B){U.default=B}),i=Fe&&Fe.__importStar||function(U){if(U&&U.__esModule)return U;var B={};if(U!=null)for(var F in U)F!=="default"&&Object.prototype.hasOwnProperty.call(U,F)&&t(B,U,F);return n(B,U),B};Object.defineProperty(e,"__esModule",{value:!0}),e.PhpRenderer=e.phpNameStyle=e.stringEscape=e.PhpTargetLanguage=e.phpOptions=void 0;const r=At,l=_t,u=qe,f=at,m=Ze,v=lr(),S=yt(),C=Ae,D=St,_=tt(),E=i(PM);e.phpOptions={withGet:new f.BooleanOption("with-get","Create Getter",!0),fastGet:new f.BooleanOption("fast-get","getter without validation",!1),withSet:new f.BooleanOption("with-set","Create Setter",!1),withClosing:new f.BooleanOption("with-closing","PHP Closing Tag",!1),acronymStyle:(0,v.acronymOption)(v.AcronymStyleOptions.Pascal)};class T extends D.TargetLanguage{constructor(){super("PHP",["php"],"php")}getOptions(){return E.values(e.phpOptions)}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(B,F){const y=(0,f.getOptionValues)(e.phpOptions,F);return new Z(this,B,y)}get stringTypeMapping(){const B=new Map;return B.set("date","date"),B.set("time","time"),B.set("uuid","uuid"),B.set("date-time","date-time"),B}}e.PhpTargetLanguage=T,e.stringEscape=(0,S.utf16ConcatMap)((0,S.escapeNonPrintableMapper)(S.isAscii,S.standardUnicodeHexEscape));function P(U){return U===95?!0:(0,S.isAscii)(U)&&(0,S.isLetter)(U)}function I(U){return P(U)||(0,S.isAscii)(U)&&(0,S.isDigit)(U)}const M=(0,S.utf16LegalizeCharacters)(I);function H(U,B,F,y=S.allUpperWordStyle){const w=(0,S.splitIntoWords)(F);return(0,S.combineWords)(w,M,B?S.allUpperWordStyle:U?S.firstUpperWordStyle:S.allLowerWordStyle,B?S.allUpperWordStyle:S.firstUpperWordStyle,B||U?S.allUpperWordStyle:S.allLowerWordStyle,y,B?"_":"",P)}e.phpNameStyle=H;class Z extends l.ConvenienceRenderer{constructor(B,F,y){super(B,F),this._options=y,this._gettersAndSettersForPropertyName=new Map,this._haveEmittedLeadingComments=!1,this._converterClassname="Converter",this._converterKeywords=[]}forbiddenForObjectProperties(B,F){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,_.nullableFromUnion)(B)===null}namedTypeToNameForTopLevel(B){return(0,_.directlyReachableSingleNamedType)(B)}makeNamesForPropertyGetterAndSetter(B,F,y,w,L){const N=new u.DependencyName(this.getNameStyling("propertyNamingFunction"),L.order,b=>`get_${b(L)}`),p=new u.DependencyName(this.getNameStyling("propertyNamingFunction"),L.order,b=>`set_${b(L)}`),o=new u.DependencyName(this.getNameStyling("propertyNamingFunction"),L.order,b=>`validate_${b(L)}`),a=new u.DependencyName(this.getNameStyling("propertyNamingFunction"),L.order,b=>`from_${b(L)}`),d=new u.DependencyName(this.getNameStyling("propertyNamingFunction"),L.order,b=>`to_${b(L)}`),h=new u.DependencyName(this.getNameStyling("propertyNamingFunction"),L.order,b=>`sample_${b(L)}`);return{getter:N,setter:p,validate:o,from:a,to:d,sample:h}}makePropertyDependencyNames(B,F,y,w,L){const N=this.makeNamesForPropertyGetterAndSetter(B,F,y,w,L);return this._gettersAndSettersForPropertyName.set(L,N),[N.getter,N.setter,N.validate,N.to,N.from,N.sample]}getNameStyling(B){return{typeNamingFunction:(0,u.funPrefixNamer)("types",y=>H(!0,!1,y,(0,v.acronymStyle)(this._options.acronymStyle))),propertyNamingFunction:(0,u.funPrefixNamer)("properties",y=>H(!1,!1,y,(0,v.acronymStyle)(this._options.acronymStyle))),enumCaseNamingFunction:(0,u.funPrefixNamer)("enum-cases",y=>H(!0,!0,y,(0,v.acronymStyle)(this._options.acronymStyle)))}[B]}startFile(B){this.ensureBlankLine(),!this._haveEmittedLeadingComments&&this.leadingComments!==void 0&&(this.emitComments(this.leadingComments),this.ensureBlankLine(),this._haveEmittedLeadingComments=!0)}finishFile(){}emitFileHeader(B,F){this.startFile(B),this.emitLine("// This is a autogenerated file:",B),this.ensureBlankLine()}emitDescriptionBlock(B){this.emitCommentLines(B,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(B,F){this.emitLine(B," {"),this.indent(F),this.emitLine("}")}phpType(B,F,y=!1,w="?",L=""){function N(p){return[y?w:"",p,y?L:""]}return(0,_.matchType)(F,p=>(0,m.maybeAnnotated)(y,r.anyTypeIssueAnnotation,"Object"),p=>(0,m.maybeAnnotated)(y,r.nullTypeIssueAnnotation,"Object"),p=>N("bool"),p=>N("int"),p=>N("float"),p=>N("string"),p=>N("array"),p=>N(this.nameForNamedType(p)),p=>N("stdClass"),p=>N(this.nameForNamedType(p)),p=>{const o=(0,_.nullableFromUnion)(p);return o!==null?this.phpType(!0,o,!0,w,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(B,F){return(0,_.matchType)(F,y=>"any",y=>"null",y=>"bool",y=>"int",y=>"float",y=>"string",y=>[this.phpDocConvertType(B,y.items),"[]"],y=>y.getCombinedName(),y=>"stdClass",y=>this.nameForNamedType(y),y=>{const w=(0,_.nullableFromUnion)(y);if(w!==null)return[this.phpDocConvertType(B,w),"|null"];throw Error("union are not supported")},y=>{if(y.kind==="date-time")return"DateTime";throw Error('transformedStringType.kind === "unknown"')})}phpConvertType(B,F){return(0,_.matchType)(F,y=>"any",y=>"null",y=>"bool",y=>"int",y=>"float",y=>"string",y=>"array",y=>"stdClass",y=>"stdClass",y=>"string",y=>{const w=(0,_.nullableFromUnion)(y);if(w!==null)return["?",this.phpConvertType(B,w)];throw Error("union are not supported")},y=>{if(y.kind==="date-time")return"string";throw Error('transformedStringType.kind === "unknown"')})}phpToObjConvert(B,F,y,w){return(0,_.matchType)(F,L=>this.emitLine(...y,...w,"; /*any*/"),L=>this.emitLine(...y,...w,"; /*null*/"),L=>this.emitLine(...y,...w,"; /*bool*/"),L=>this.emitLine(...y,...w,"; /*int*/"),L=>this.emitLine(...y,...w,"; /*float*/"),L=>this.emitLine(...y,...w,"; /*string*/"),L=>{this.emitLine(...y,"array_map(function ($value) {"),this.indent(()=>{this.phpToObjConvert(B,L.items,["return "],["$value"])}),this.emitLine("}, ",...w,");")},L=>this.emitLine(...y,...w,"->to(); ","/*class*/"),L=>{this.emitBlock(["function to($my): stdClass"],()=>{this.emitLine("$out = new stdClass();"),this.emitBlock(["foreach ($my as $k => $v)"],()=>{this.phpToObjConvert(B,L.values,["$my->$k = "],["$v"])}),this.emitLine("return $out;")}),this.emitLine("return to(",...w,");")},L=>this.emitLine(...y,this.nameForNamedType(L),"::to(",...w,"); ","/*enum*/"),L=>{const N=(0,_.nullableFromUnion)(L);if(N!==null){this.emitLine("if (!is_null(",...w,")) {"),this.indent(()=>this.phpToObjConvert(B,N,y,w)),this.emitLine("} else {"),this.indent(()=>this.emitLine(...y," null;")),this.emitLine("}");return}throw Error("union are not supported")},L=>{if(L.kind==="date-time"){this.emitLine(...y,...w,"->format(DateTimeInterface::ISO8601);");return}throw Error('transformedStringType.kind === "unknown"')})}transformDateTime(B,F,y){this.emitBlock(["if (!is_a(",y,", 'DateTime'))"],()=>this.emitLine("throw new Exception('Attribute Error:",B,"::",F,"');"))}phpFromObjConvert(B,F,y,w){return(0,_.matchType)(F,L=>this.emitLine(...y,...w,"; /*any*/"),L=>this.emitLine(...y,...w,"; /*null*/"),L=>this.emitLine(...y,...w,"; /*bool*/"),L=>this.emitLine(...y,...w,"; /*int*/"),L=>this.emitLine(...y,...w,"; /*float*/"),L=>this.emitLine(...y,...w,"; /*string*/"),L=>{this.emitLine(...y," array_map(function ($value) {"),this.indent(()=>{this.phpFromObjConvert(B,L.items,["return "],["$value"])}),this.emitLine("}, ",...w,");")},L=>this.emitLine(...y,this.nameForNamedType(L),"::from(",...w,"); ","/*class*/"),L=>{this.emitBlock(["function from($my): stdClass"],()=>{this.emitLine("$out = new stdClass();"),this.emitBlock(["foreach ($my as $k => $v)"],()=>{this.phpFromObjConvert(B,L.values,["$out->$k = "],["$v"])}),this.emitLine("return $out;")}),this.emitLine("return from(",...w,");")},L=>this.emitLine(...y,this.nameForNamedType(L),"::from(",...w,"); ","/*enum*/"),L=>{const N=(0,_.nullableFromUnion)(L);if(N!==null){this.emitLine("if (!is_null(",...w,")) {"),this.indent(()=>this.phpFromObjConvert(B,N,y,w)),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, ",w,");"),this.transformDateTime(B,"",["$tmp"]),this.emitLine("return $tmp;");return}throw Error('transformedStringType.kind === "unknown"')})}phpSampleConvert(B,F,y,w,L,N){return(0,_.matchType)(F,p=>this.emitLine(...y,"'AnyType::",B,"::",w,"::"+L,"'",N,"/*",""+L,":",w,"*/"),p=>this.emitLine(...y,"null",N," /*",""+L,":",w,"*/"),p=>this.emitLine(...y,"true",N," /*",""+L,":",w,"*/"),p=>this.emitLine(...y,""+L,N," /*",""+L,":",w,"*/"),p=>this.emitLine(...y,""+(L+L/1e3),N," /*",""+L,":",w,"*/"),p=>this.emitLine(...y,"'",B,"::",w,"::"+L,"'",N," /*",""+L,":",w,"*/"),p=>{this.emitLine(...y," array("),this.indent(()=>{this.phpSampleConvert(B,p.items,[],[],L,"")}),this.emitLine("); /* ",""+L,":",w,"*/")},p=>this.emitLine(...y,this.nameForNamedType(p),"::sample()",N," /*",""+L,":",w,"*/"),p=>{this.emitBlock(["function sample(): stdClass"],()=>{this.emitLine("$out = new stdClass();"),this.phpSampleConvert(B,p.values,["$out->{'",B,"'} = "],w,L,";"),this.emitLine("return $out;")}),this.emitLine("return sample();")},p=>this.emitLine(...y,this.nameForNamedType(p),"::sample()",N," /*enum*/"),p=>{const o=(0,_.nullableFromUnion)(p);if(o!==null){this.phpSampleConvert(B,o,y,w,L,N);return}throw Error("union are not supported:"+p)},p=>{if(p.kind==="date-time"){const o=E.pad(""+(1+L%31),2,"0");this.emitLine(...y,"DateTime::createFromFormat(DateTimeInterface::ISO8601, '",`2020-12-${o}T12:${o}:${o}+00:00`,"')",N);return}throw Error('transformedStringType.kind === "unknown"')})}phpValidate(B,F,y,w){const L=(N,p=B)=>{this.emitBlock(["if (!",N,"(",w,"))"],()=>this.emitLine('throw new Exception("Attribute Error:',p,"::",y,'");'))};return(0,_.matchType)(F,N=>L("defined"),N=>L("is_null"),N=>L("is_bool"),N=>L("is_integer"),N=>L("is_float"),N=>L("is_string"),N=>{L("is_array"),this.emitLine("array_walk(",w,", function(",w,"_v) {"),this.indent(()=>{this.phpValidate(B,N.items,y,`${w}_v`)}),this.emitLine("});")},N=>{this.emitLine(w,"->validate();")},N=>{this.emitLine("foreach (",w," as $k => $v) {"),this.indent(()=>{this.phpValidate(B,N.values,y,"$v")}),this.emitLine("}")},N=>{this.emitLine(this.phpType(!1,N),"::to(",w,");")},N=>{const p=(0,_.nullableFromUnion)(N);if(p!==null){this.emitBlock(["if (!is_null(",w,"))"],()=>{this.phpValidate(B,p,y,w)});return}throw Error("not implemented")},N=>{if(N.kind==="date-time"){this.transformDateTime(B,y,[w]);return}throw Error(`transformedStringType.kind === ${N.kind}`)})}emitFromMethod(B,F,y,w,L){this.emitLine("/**"),L!==void 0&&(this.emitLine(" * ",L),this.emitLine(" *")),this.emitLine(" * @param ",this.phpConvertType(y,F.type)," $value"),this.emitLine(" * @throws Exception"),this.emitLine(" * @return ",this.phpType(!1,F.type)),this.emitLine(" */"),this.emitBlock(["public static function ",B.from,"(",this.phpConvertType(y,F.type)," $value): ",this.phpType(!1,F.type)],()=>{this.phpFromObjConvert(y,F.type,["return "],["$value"])})}emitToMethod(B,F,y,w,L){this.emitLine("/**"),L!==void 0&&(this.emitLine(" * ",L),this.emitLine(" *")),this.emitLine(" * @throws Exception"),this.emitLine(" * @return ",this.phpConvertType(y,F.type)),this.emitLine(" */"),this.emitBlock(["public function ",B.to,"(): ",this.phpConvertType(y,F.type)],()=>{this.emitBlock(["if (",y,"::",B.validate,"($this->",w,")) "],()=>{this.phpToObjConvert(y,F.type,["return "],["$this->",w])}),this.emitLine("throw new Exception('never get to this ",y,"::",w,"');")})}emitValidateMethod(B,F,y,w,L){this.emitLine("/**"),L!==void 0&&(this.emitLine(" * ",L),this.emitLine(" *")),this.emitLine(" * @param ",this.phpType(!1,F.type,!1,"","|null")),this.emitLine(" * @return bool"),this.emitLine(" * @throws Exception"),this.emitLine(" */"),this.emitBlock(["public static function ",B.validate,"(",this.phpType(!1,F.type)," $value): bool"],()=>{this.phpValidate(y,F.type,w,"$value"),this.emitLine("return true;")})}emitGetMethod(B,F,y,w,L){if(this._options.withGet){this.emitLine("/**"),L!==void 0&&(this.emitLine(" * ",L),this.emitLine(" *")),this._options.fastGet||this.emitLine(" * @throws Exception");const N=this.phpType(!1,F.type);this.emitLine(" * @return ",N),this.emitLine(" */"),this.emitBlock(["public function ",B.getter,"(): ",N],()=>{this._options.fastGet?this.emitLine("return $this->",w,";"):(this.emitBlock(["if (",y,"::",B.validate,"($this->",w,")) "],()=>{this.emitLine("return $this->",w,";")}),this.emitLine("throw new Exception('never get to ",B.getter," ",y,"::",w,"');"))})}}emitSetMethod(B,F,y,w,L){this._options.withSet&&(this.emitLine("/**"),L!==void 0&&(this.emitLine(" * ",L),this.emitLine(" *")),this.emitLine(" * @param ",this.phpType(!1,F.type,!1,"","|null")),this.emitLine(" * @throws Exception"),this.emitLine(" */"),this.emitBlock(["public function ",B.setter,"(",this.phpType(!1,F.type)," $value)"],()=>{this.emitBlock(["if (",y,"::",B.validate,"($value)) "],()=>{this.emitLine("$this->",w," = $value;")})}))}emitSampleMethod(B,F,y,w,L,N){if(this._options.withGet){this.emitLine("/**"),L!==void 0&&(this.emitLine(" * ",L),this.emitLine(" *"));const p=this.phpType(!1,F.type);this.emitLine(" * @return ",p),this.emitLine(" */"),this.emitBlock(["public static function ",B.sample,"(): ",p],()=>{this.phpSampleConvert(y,F.type,["return "],[w],N,";")})}}emitClassDefinition(B,F){this.emitFileHeader(F,[]),this.emitBlock(["class ",F],()=>{this.forEachClassProperty(B,"none",(p,o,a)=>{this.emitLine("private ",this.phpType(!1,a.type)," $",p,"; // json:",o," ",a.type.isNullable?"Optional":"Required")}),this.ensureBlankLine();const y=[],w=[];let L="";this.forEachClassProperty(B,"none",(p,o,a)=>{w.push([L,this.phpType(!1,a.type)," $",p]),L=", ",y.push([" * @param ",this.phpType(!1,a.type,!1,"","|null")," $",p,`
|
|
923
|
-
`])}),this.emitBlock([`/**
|
|
924
|
-
`,...y,` */
|
|
925
|
-
`,"public function __construct(",...w,")"],()=>{this.forEachClassProperty(B,"none",p=>{this.emitLine("$this->",p," = $",p,";")})});let N=31;this.forEachClassProperty(B,"leading-and-interposing",(p,o,a)=>{const d=this.descriptionForClassProperty(B,o),h=(0,C.defined)(this._gettersAndSettersForPropertyName.get(p));this.ensureBlankLine(),this.emitFromMethod(h,a,F,p,d),this.ensureBlankLine(),this.emitToMethod(h,a,F,p,d),this.ensureBlankLine(),this.emitValidateMethod(h,a,F,p,d),this.ensureBlankLine(),this.emitGetMethod(h,a,F,p,d),this.ensureBlankLine(),this.emitSetMethod(h,a,F,p,d),this.ensureBlankLine(),this.emitSampleMethod(h,a,F,p,d,N++)}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
926
|
-
`,` * @throws Exception
|
|
927
|
-
`,` * @return bool
|
|
928
|
-
`,` */
|
|
929
|
-
`,"public function validate(): bool"],()=>{let p=[],o="return ";this.forEachClassProperty(B,"none",(a,d,h)=>{const b=(0,C.defined)(this._gettersAndSettersForPropertyName.get(a));p.push([o,F,"::",b.validate,"($this->",a,")"]),o="|| "}),p.forEach((a,d)=>{this.emitLine(...a,p.length===d+1?";":"")})}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
930
|
-
`,` * @return stdClass
|
|
931
|
-
`,` * @throws Exception
|
|
932
|
-
`,` */
|
|
933
|
-
`,"public function to(): stdClass "],()=>{this.emitLine("$out = new stdClass();"),this.forEachClassProperty(B,"none",(p,o)=>{const a=(0,C.defined)(this._gettersAndSettersForPropertyName.get(p));this.emitLine("$out->{'",o,"'} = $this->",a.to,"();")}),this.emitLine("return $out;")}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
934
|
-
`,` * @param stdClass $obj
|
|
935
|
-
`," * @return ",F,`
|
|
936
|
-
`,` * @throws Exception
|
|
937
|
-
`,` */
|
|
938
|
-
`,"public static function from(stdClass $obj): ",F],()=>{this._options.fastGet&&this.forEachClassProperty(B,"none",o=>{const a=(0,C.defined)(this._gettersAndSettersForPropertyName.get(o));this.emitLine(F,"::",a.validate,"($this->",o,", true);")}),this.emitLine("return new ",F,"(");let p=" ";this.forEachClassProperty(B,"none",(o,a)=>{const d=(0,C.defined)(this._gettersAndSettersForPropertyName.get(o));this.emitLine(p,F,"::",d.from,"($obj->{'",a,"'})"),p=","}),this.emitLine(");")}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
939
|
-
`," * @return ",F,`
|
|
940
|
-
`,` */
|
|
941
|
-
`,"public static function sample(): ",F],()=>{this.emitLine("return new ",F,"(");let p=" ";this.forEachClassProperty(B,"none",o=>{const a=(0,C.defined)(this._gettersAndSettersForPropertyName.get(o));this.emitLine(p,F,"::",a.sample,"()"),p=","}),this.emitLine(");")})}),this.finishFile()}emitUnionAttributes(B,F){}emitUnionSerializer(B,F){}emitUnionDefinition(B,F){throw Error("emitUnionDefinition not implemented")}emitEnumSerializationAttributes(B){}emitEnumDeserializationAttributes(B){}emitEnumDefinition(B,F){this.emitFileHeader(F,[]),this.emitDescription(this.descriptionForType(B));const y="string";this.emitBlock(["class ",F],()=>{this.forEachEnumCase(B,"none",(w,L)=>{this.emitLine("public static ",F," $",w,";")}),this.emitBlock("public static function init()",()=>{this.forEachEnumCase(B,"none",(w,L)=>{this.emitLine(F,"::$",w," = new ",F,"('",L,"');")})}),this.emitLine("private ",y," $enum;"),this.emitBlock(["public function __construct(",y," $enum)"],()=>{this.emitLine("$this->enum = $enum;")}),this.ensureBlankLine(),this.emitEnumSerializationAttributes(B),this.emitBlock([`/**
|
|
942
|
-
`," * @param ",F,`
|
|
943
|
-
`," * @return ",y,`
|
|
944
|
-
`,` * @throws Exception
|
|
945
|
-
`,` */
|
|
946
|
-
`,"public static function to(",F," $obj): ",y],()=>{this.emitLine("switch ($obj->enum) {"),this.indent(()=>{this.forEachEnumCase(B,"none",(w,L)=>{this.emitLine("case ",F,"::$",w,"->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(B),this.emitBlock([`/**
|
|
947
|
-
`,` * @param mixed
|
|
948
|
-
`," * @return ",F,`
|
|
949
|
-
`,` * @throws Exception
|
|
950
|
-
`,` */
|
|
951
|
-
`,"public static function from($obj): ",F],()=>{this.emitLine("switch ($obj) {"),this.indent(()=>{this.forEachEnumCase(B,"none",(w,L)=>{this.emitLine("case '",(0,e.stringEscape)(L),"': return ",F,"::$",w,";")})}),this.emitLine("}"),this.emitLine('throw new Exception("Cannot deserialize ',F,'");')}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
952
|
-
`," * @return ",F,`
|
|
953
|
-
`,` */
|
|
954
|
-
`,"public static function sample(): ",F],()=>{const w=[];this.forEachEnumCase(B,"none",L=>{w.push([F,"::$",L])}),this.emitLine("return ",w[0],";")})}),this.emitLine(F,"::init();"),this.finishFile()}emitSourceStructure(B){this.emitLine("<?php"),this.forEachNamedType("leading-and-interposing",(F,y)=>this.emitClassDefinition(F,y),(F,y)=>this.emitEnumDefinition(F,y),(F,y)=>this.emitUnionDefinition(F,y)),this._options.withClosing&&this.emitLine("?>"),super.finishFile((0,C.defined)(B))}}e.PhpRenderer=Z})(Fv);var Pv={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.TypeScriptEffectSchemaRenderer=e.TypeScriptEffectSchemaTargetLanguage=e.typeScriptEffectSchemaOptions=void 0;const t=Je,n=tt(),i=qe,r=at,l=lr(),u=yt(),f=St,m=js,v=Ae,S=_t;e.typeScriptEffectSchemaOptions={justSchema:new r.BooleanOption("just-schema","Schema only",!1)};class C extends f.TargetLanguage{getOptions(){return[]}constructor(E="TypeScript Effect Schema",T=["typescript-effect-schema"],P="ts"){super(E,T,P)}makeRenderer(E,T){return new D(this,E,(0,r.getOptionValues)(e.typeScriptEffectSchemaOptions,T))}}e.TypeScriptEffectSchemaTargetLanguage=C;class D extends S.ConvenienceRenderer{constructor(E,T,P){super(E,T),this._options=P}forbiddenNamesForGlobalNamespace(){return["Class","Date","Object","String","Array","JSON","Error"]}nameStyle(E,T){const P=(0,l.acronymStyle)(l.AcronymStyleOptions.Camel),I=(0,u.splitIntoWords)(E);return(0,u.combineWords)(I,m.legalizeName,T?u.firstUpperWordStyle:u.allLowerWordStyle,u.firstUpperWordStyle,T?M=>(0,u.capitalize)(P(M)):u.allLowerWordStyle,P,"",u.isLetterOrUnderscore)}makeNamedTypeNamer(){return(0,i.funPrefixNamer)("types",E=>this.nameStyle(E,!0))}makeUnionMemberNamer(){return(0,i.funPrefixNamer)("properties",E=>this.nameStyle(E,!0))}namerForObjectProperty(){return(0,i.funPrefixNamer)("properties",E=>this.nameStyle(E,!0))}makeEnumCaseNamer(){return(0,i.funPrefixNamer)("enum-cases",E=>this.nameStyle(E,!1))}importStatement(E,T){return["import ",E," from ",T,";"]}emitImports(){this.ensureBlankLine(),this.emitLine(this.importStatement("* as S",'"@effect/schema/Schema"'))}typeMapTypeForProperty(E){const T=this.typeMapTypeFor(E.type);return E.isOptional?["S.optional(",T,")"]:T}typeMapTypeFor(E,T=!0){if(["class","object","enum"].indexOf(E.kind)>=0)return["S.lazy(() => ",this.nameForNamedType(E),")"];const P=(0,n.matchType)(E,I=>"S.any",I=>"S.null",I=>"S.boolean",I=>"S.number",I=>"S.number",I=>"S.string",I=>["S.array(",this.typeMapTypeFor(I.items,!1),")"],I=>(0,v.panic)("Should already be handled."),I=>["S.record(S.string, ",this.typeMapTypeFor(I.values,!1),")"],I=>(0,v.panic)("Should already be handled."),I=>{const M=Array.from(I.getChildren()).map(H=>this.typeMapTypeFor(H,!1));return["S.union(",...(0,t.arrayIntercalate)(", ",M),")"]},I=>"S.string");return T?[P]:P}emitObject(E,T){this.ensureBlankLine(),this._options.justSchema?this.emitLine(`
|
|
955
|
-
export const `,E," = S.struct({"):this.emitLine(`
|
|
956
|
-
const `,E,"_ = S.struct({"),this.indent(()=>{this.forEachClassProperty(T,"none",(P,I,M)=>{this.emitLine(`"${(0,u.utf16StringEscape)(I)}"`,": ",this.typeMapTypeForProperty(M),",")})}),this.emitLine("});"),this._options.justSchema||(this.emitLine("export interface ",E," extends S.Schema.To<typeof ",E,"_> {}"),this.emitLine("export const ",E,": S.Schema<S.Schema.From<typeof ",E,"_>, ",E,"> = ",E,"_;"))}emitEnum(E,T){this.ensureBlankLine(),this.emitDescription(this.descriptionForType(E)),this.emitLine(`
|
|
957
|
-
export const `,T," = ","S.enums({"),this.indent(()=>this.forEachEnumCase(E,"none",(P,I)=>{const M=(0,u.stringEscape)(I);this.emitLine('"',M,'": "',M,'",')})),this.emitLine("});"),this._options.justSchema||this.emitLine("export type ",T," = S.Schema.To<typeof ",T,">;")}emitSchemas(){this.ensureBlankLine(),this.forEachEnum("leading-and-interposing",(I,M)=>{this.emitEnum(I,M)});const E=[],T=[],P=[];this.forEachObject("none",(I,M)=>{T.push(M),P.push(this.gatherSource(()=>this.emitObject(M,I)))}),T.forEach((I,M)=>{let H=0;const U=P[M].filter(B=>B);for(let B=0;B<U.length;B++){const F=U[B];for(let y=0;y<E.length;y++){const w=E[y];T[w]===F&&(H=Math.max(H,w+1))}}E.splice(H,0,M)}),E.forEach(I=>this.emitGatheredSource(P[I]))}emitSourceStructure(){this.leadingComments!==void 0&&this.emitComments(this.leadingComments),this.emitImports(),this.emitSchemas()}}e.TypeScriptEffectSchemaRenderer=D})(Pv);var r0;function sc(){return r0||(r0=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.languageNamed=e.all=void 0;const t=Je,n=xh,i=bp,r=Tp,l=Sp,u=vp,f=wp,m=js,v=_v(),S=_p,C=Np,D=kp,_=Op,E=Ep,T=Cp,P=ks,I=Ap,M=Os,H=Fp,Z=Pp,U=Ip,B=Ur,F=Rp,y=Av,w=Fv,L=Pv;e.all=[new n.CSharpTargetLanguage,new i.GoTargetLanguage,new I.RustTargetLanguage,new M.CrystalTargetLanguage,new r.CJSONTargetLanguage,new l.CPlusPlusTargetLanguage,new u.ObjectiveCTargetLanguage,new f.JavaTargetLanguage,new S.TypeScriptTargetLanguage,new m.JavaScriptTargetLanguage,new v.JavaScriptPropTypesTargetLanguage,new S.FlowTargetLanguage,new C.SwiftTargetLanguage,new _.Scala3TargetLanguage,new E.SmithyTargetLanguage,new D.KotlinTargetLanguage,new T.ElmTargetLanguage,new P.JSONSchemaTargetLanguage,new H.RubyTargetLanguage,new Z.DartTargetLanguage,new U.PythonTargetLanguage("Python",["python","py"],"py"),new B.PikeTargetLanguage,new F.HaskellTargetLanguage,new y.TypeScriptZodTargetLanguage,new L.TypeScriptEffectSchemaTargetLanguage,new w.PhpTargetLanguage];function N(p,o){o===void 0&&(o=e.all);const a=(0,t.iterableFind)(o,d=>d.names.indexOf(p)>=0||d.displayName===p);return a!==void 0?a:(0,t.iterableFind)(o,d=>d.extension===p)}e.languageNamed=N}(Xf)),Xf}var oc={},Fi={},Pi={};Object.defineProperty(Pi,"__esModule",{value:!0});Pi.UnionBuilder=Pi.TypeRefUnionAccumulator=Pi.UnionAccumulator=void 0;const hs=Je,Iv=rt(),IM=tt(),ai=ft,ui=Ae,rs=cr();function MM(e,t){return e===void 0?t:(0,ai.combineTypeAttributes)("union",e,t)}function jM(e,t,n){e.set(t,MM(e.get(t),n))}function Si(e,t,n){let i=e.get(t);i===void 0&&(i=[],e.set(t,i)),i.push(n)}function s0(e){return(0,hs.mapMap)(e,t=>(0,ai.combineTypeAttributes)("union",t))}function o0(e,t,n){const i=(0,ui.defined)(e.get(t));e.delete(t),jM(e,n,i)}class Mv{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){Si(this._nonStringTypeAttributes,"any",t),this._lostTypeAttributes=!0}addPrimitive(t,n){(0,ui.assert)(t!=="any","any must be added with addAny"),Si(this._nonStringTypeAttributes,t,n)}addFullStringType(t,n){let i;n===void 0?n=rs.stringTypesTypeAttributeKind.tryGetInAttributes(t):i=rs.stringTypesTypeAttributeKind.makeAttributes(n),n===void 0&&(n=rs.StringTypes.unrestricted,i=rs.stringTypesTypeAttributeKind.makeAttributes(n));const r=this._nonStringTypeAttributes.get("enum");n.isRestricted&&(0,ui.assert)(r===void 0,"We can't add both an enum as well as a restricted string type to a union builder"),Si(this._stringTypeAttributes,"string",t),i!==void 0&&Si(this._stringTypeAttributes,"string",i)}addStringType(t,n,i){if(t==="string"){this.addFullStringType(n,i);return}Si(this._stringTypeAttributes,t,n),i!==void 0&&Si(this._stringTypeAttributes,t,rs.stringTypesTypeAttributeKind.makeAttributes(i))}addArray(t,n){this.arrayData.push(t),Si(this._nonStringTypeAttributes,"array",n)}addObject(t,n){this.objectData.push(t),Si(this._nonStringTypeAttributes,"object",n)}addEnum(t,n){if(this._stringTypeAttributes.get("string")!==void 0){Si(this._stringTypeAttributes,"string",n);return}Si(this._nonStringTypeAttributes,"enum",n),(0,hs.setUnionInto)(this._enumCases,t)}addStringCases(t,n){this.addFullStringType(n,rs.StringTypes.fromCases(t))}addStringCase(t,n,i){this.addFullStringType(i,rs.StringTypes.fromCase(t,n))}get enumCases(){return this._enumCases}getMemberKinds(){(0,ui.assert)(!(this.have("enum")&&this.have("string")),"We can't have both strings and enums in the same union");let t=(0,hs.mapMerge)(s0(this._nonStringTypeAttributes),s0(this._stringTypeAttributes));if(t.size===0)return new Map([["none",ai.emptyTypeAttributes]]);if(this._nonStringTypeAttributes.has("any")){(0,ui.assert)(this._lostTypeAttributes,"This had to be set when we added 'any'");const n=(0,ai.combineTypeAttributes)("union",Array.from(t.values()));return new Map([["any",n]])}return this._conflateNumbers&&this.have("integer")&&this.have("double")&&o0(t,"integer","double"),this.have("map")&&o0(t,"map","class"),t}get lostTypeAttributes(){return this._lostTypeAttributes}}Pi.UnionAccumulator=Mv;class RM{getAttributes(){return ai.emptyTypeAttributes}}function BM(e){const t=new Map,n=new Map,i=new Set;let r=new Set;function l(S,C,D){if(S instanceof Iv.UnionType){i.add(S),D&&(r=r.add(S)),D=D&&S.members.size===1,C.push(S);for(const _ of S.members)l(_,C,D);C.pop()}else{(0,hs.mapUpdateInto)(t,S,_=>_===void 0?new Set(C):(0,hs.setUnionInto)(_,C));for(const _ of C)(0,hs.mapUpdateInto)(n,_,E=>E===void 0?new Set([S]):E.add(S))}}const u=[new RM],f=Array.from(e);for(const S of f)l(S,u,f.length===1);const m=(0,hs.mapMap)(t,(S,C)=>{const D=Array.from(S).filter(E=>(0,ui.defined)(n.get(E)).size===1);(0,ui.assert)(D.every(E=>(0,ui.defined)(n.get(E)).has(C)),"We messed up bookkeeping");const _=D.map(E=>E.getAttributes());return(0,ai.combineTypeAttributes)("union",[C.getAttributes()].concat(_))}),v=Array.from(i).map(S=>{const C=n.get(S);if(C!==void 0&&C.size===1)return ai.emptyTypeAttributes;const D=S.getAttributes();return r.has(S)?D:(0,ai.makeTypeAttributesInferred)(D)});return[m,(0,ai.combineTypeAttributes)("union",v)]}class DM extends Mv{addType(t,n){(0,IM.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,ui.panic)("The unions should have been eliminated in attributesForTypesInUnion"),i=>this.addStringType(i.kind,n))}addTypes(t){const[n,i]=BM(t);for(const[r,l]of n)this.addType(r,l);return i}}Pi.TypeRefUnionAccumulator=DM;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,Iv.isPrimitiveTypeKind)(n)?this.typeBuilder.getPrimitiveType(n,i,r):n==="union"||n==="class"||n==="map"||n==="intersection"?(0,ui.panic)(`getMemberKinds() shouldn't return ${n}`):(0,ui.assertNever)(n)}}buildUnion(t,n,i,r){const l=t.getMemberKinds();if(t.lostTypeAttributes&&this.typeBuilder.setLostTypeAttributes(),l.size===1){const[[v,S]]=Array.from(l),C=(0,ai.combineTypeAttributes)("union",i,(0,ai.increaseTypeAttributesDistance)(S));return this.makeTypeOfKind(t,v,C,r)}const u=n?this.typeBuilder.getUniqueUnionType(i,void 0,r):void 0,f=[];for(const[v,S]of l)f.push(this.makeTypeOfKind(t,v,S,void 0));const m=new Set(f);return u!==void 0?(this.typeBuilder.setSetOperationMembers(u,m),u):this.typeBuilder.getUnionType(i,m,r)}}Pi.UnionBuilder=xM;Object.defineProperty(Fi,"__esModule",{value:!0});Fi.unifyTypes=Fi.unionBuilderForUnification=Fi.UnifyUnionBuilder=void 0;const Ol=Je,UM=rt(),zM=tt(),jv=Pi,mo=Ae,Rv=ft,Bv=hi();function JM(e,t,n){let i=!1,r=new Set;for(const S of e)(0,Ol.setUnionInto)(r,S.getProperties().keys());let l=Array.from(r).map(S=>[S,new Set,!1]),u;for(const S of e){let C=S.getAdditionalProperties();C!==void 0&&(u===void 0&&(u=new Set),C!==void 0&&u.add(C));for(let D=0;D<l.length;D++){let[_,E,T]=l[D];const P=S.getProperties().get(_);P===void 0?(T=!0,C!==void 0&&C.kind!=="any"&&E.add(C)):(P.isOptional&&(T=!0),E.add(P.type)),l[D][2]=T}}const f=u===void 0?void 0:n(u),m=l.map(([S,C,D])=>[S,t.makeClassProperty(n(C),D)]);return[new Map(m),f,i]}function WM(e){let t=!1,n=!1,i=!1;for(const r of e){r.getProperties().size>0&&(t=!0);const l=r.getAdditionalProperties();l!==void 0&&(n=!0,l.kind!=="any"&&(i=!0))}return{hasProperties:t,hasAdditionalProperties:n,hasNonAnyAdditionalProperties:i}}class Dv extends jv.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,mo.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 l=t.map(v=>(0,zM.assertIsObject)((0,Bv.derefTypeRef)(v,this.typeBuilder))),{hasProperties:u,hasAdditionalProperties:f,hasNonAnyAdditionalProperties:m}=WM(l);if(!this._makeObjectTypes&&(m||!u&&f)){const v=new Set;for(const C of l)(0,Ol.setUnionInto)(v,Array.from(C.getProperties().values()).map(D=>D.typeRef));const S=new Set(l.filter(C=>C.getAdditionalProperties()!==void 0).map(C=>(0,mo.defined)(C.getAdditionalProperties()).typeRef));return(0,Ol.setUnionInto)(v,S),this.typeBuilder.getMapType(n,this._unifyTypes(Array.from(v)))}else{const[v,S,C]=JM(l,this.typeBuilder,D=>((0,mo.assert)(D.size>0,"Property has no type"),this._unifyTypes(Array.from(D).map(_=>_.typeRef))));return C&&this.typeBuilder.setLostTypeAttributes(),this._makeObjectTypes?this.typeBuilder.getUniqueObjectType(n,v,S,i):((0,mo.assert)(S===void 0,"We have additional properties but want to make a class"),this.typeBuilder.getUniqueClassType(n,this._makeClassesFixed,v,i))}}makeArray(t,n,i){return this.typeBuilder.getArrayType(n,this._unifyTypes(t),i)}}Fi.UnifyUnionBuilder=Dv;function xv(e,t,n,i){return new Dv(e,t,n,r=>Uv(new Set(r.map(l=>(0,Bv.derefTypeRef)(l,e))),Rv.emptyTypeAttributes,e,xv(e,t,n,i),i))}Fi.unionBuilderForUnification=xv;function Uv(e,t,n,i,r,l){if(t=n.reconstituteTypeAttributes(t),e.size===0)return(0,mo.panic)("Cannot unify empty set of types");if(e.size===1){const S=(0,mo.defined)((0,Ol.iterableFirst)(e));if(!(S instanceof UM.UnionType))return n.reconstituteTypeRef(S.typeRef,t,l)}const u=Array.from(e).map(S=>S.typeRef),f=n.lookupTypeRefs(u,l);if(f!==void 0)return n.addAttributes(f,t),f;const m=new jv.TypeRefUnionAccumulator(r),v=n.reconstituteTypeAttributes(m.addTypes(e));return t=(0,Rv.combineTypeAttributes)("union",t,v),n.withForwardingRef(l,S=>(n.registerUnion(u,S),i.buildUnion(m,!1,t,S)))}Fi.unifyTypes=Uv;Object.defineProperty(oc,"__esModule",{value:!0});oc.combineClasses=void 0;const zv=rt(),vh=tt(),wh=Ae,a0=Fi,Id=3/4;function GM(e,t){return(0,zv.setOperationCasesEqual)(e,t,!0,(n,i)=>n.structurallyCompatible(i,!0))}function qM(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*Id||r.size<i.size*Id)return!1;let l,u;i.size>r.size?(l=i,u=r):(l=r,u=i);let f;if(n)f=0;else{const S=Math.ceil(l.size*Id);f=u.size-S}(0,wh.assert)(f>=0,"Max faults negative");const m=[];let v=0;for(const[S]of u)if(l.has(S))m.push(S);else if(v+=1,v>f)break;if(v>f)return!1;for(const S of m){let C=u.get(S),D=l.get(S);if(C===void 0||D===void 0)return(0,wh.panic)(`Both classes should have property ${S}`);const _=(0,vh.nonNullTypeCases)(C.type),E=(0,vh.nonNullTypeCases)(D.type);if(_.size>0&&E.size>0&&!GM(_,E))return!1}return!0}function HM(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(qM(i,e,n))return t.prototypes.push(e),t.members.push(e),!0;return!1}function VM(e,t,n){const i=Array.from(e.allNamedTypesSeparated().objects).filter(l=>l instanceof zv.ClassType&&(n||!l.isFixed)),r=[];for(const l of i){let u;for(let m=0;m<r.length;m++)if(HM(l,r[m],t)){u=m;break}u===void 0&&(u=r.length,r.push({members:[l],prototypes:[l]}));const f=r[0];r[0]=r[u],r[u]=f}return r.map(l=>l.members).filter(l=>l.length>1)}function KM(e,t,n,i,r,l){const u=e.time(" find similarity cliques",()=>VM(t,r,!1));function f(m,v,S){(0,wh.assert)(m.size>0,"Clique can't be empty");const C=(0,vh.combineTypeAttributesOfTypes)("union",m);return(0,a0.unifyTypes)(m,C,v,(0,a0.unionBuilderForUnification)(v,!1,!1,i),i,S)}return t.rewrite("combine classes",e.stringTypeMapping,n,u,l,f)}oc.combineClasses=KM;var ac={},fn={},uc={};Object.defineProperty(uc,"__esModule",{value:!0});uc.encodedMarkovChain=void 0;uc.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/j81of8zwxiVf6Xb3P5X5D8fuoh823BaIJrNhhNyv9y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6EHOMOgMozbCrGY9MgiFCrUjidxCp840AYa34n8DOmWEP0Bh21VwfMouTyM8CxpiANgHzxGtNfqeLspcZbt21FXkjTRzdfQmvG1+3z1BPkLRWW1RvBejOAmwT51jJa0Xj8+abCkFEq0VFt0LoDB4Rc7w6sUkLjbQcuHgO9teiLA7pMkwVsA8tnodbIWfdYZnHekNvUIoOXAoqKGXh89E2JeQf25qccqfnvQzZ6XKGd4jJ/fccK/AZOEjwvINtfId1I2/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(fn,"__esModule",{value:!0});fn.test=fn.generate=fn.evaluate=fn.evaluateFull=fn.load=fn.train=void 0;const Jr=Ae,ZM=uc;function Jv(){const e=[];for(let t=0;t<128;t++)e.push(null);return{count:0,arr:e}}function Bp(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"?Bp(r,t,n+1):r/e.count}function Wv(e,t,n){let i=t.charCodeAt(n);if(i>=128&&(i=0),n>=t.length-1){if(typeof e!="object")return(0,Jr.panic)("Malformed trie");let l=e.arr[i];if(l===null)l=0;else if(typeof l=="object")return(0,Jr.panic)("Malformed trie");e.arr[i]=l+1,e.count+=1;return}let r=e.arr[i];return r===null&&(e.arr[i]=r=Jv()),typeof r!="object"?(0,Jr.panic)("Malformed trie"):Wv(r,t,n+1)}function QM(e,t){const n=Jv();for(const i of e)for(let r=t;r<=i.length;r++)Wv(n,i.slice(r-t,r),0);return{trie:n,depth:t}}fn.train=QM;function Gv(){return JSON.parse((0,Jr.inflateBase64)(ZM.encodedMarkovChain))}fn.load=Gv;function qv(e,t){const{trie:n,depth:i}=e;if(t.length<i)return[1,[]];let r=1;const l=[];for(let u=i;u<=t.length;u++){let f=Bp(n,t.slice(u-i,u),0);if(typeof f=="object")return(0,Jr.panic)("Did we mess up the depth?");f===void 0&&(f=1e-4),l.push(f),r=r*f}return[Math.pow(r,1/(t.length-i+1)),l]}fn.evaluateFull=qv;function Hv(e,t){return qv(e,t)[0]}fn.evaluate=Hv;function u0(e,t){const n=t-e;return e+Math.floor(Math.random()*n)}function XM(e,t,n){(0,Jr.assert)(t.length===e.depth-1,"State and chain length don't match up");const i=Bp(e.trie,t,0);if(typeof i=="number")return(0,Jr.panic)("Wrong depth?");if(i===void 0)return String.fromCharCode(u0(32,127));const r=i.arr.map((m,v)=>m===null?v===0?0:n:m);let l=0;for(const m of r)l+=m;const u=u0(0,l);let f=0;for(let m=0;m<r.length;m++)if(f+=r[m],u<f)return String.fromCharCode(m);return(0,Jr.panic)("We screwed up bookkeeping, or randomInt")}fn.generate=XM;function Ht(e,t){console.log(`"${t}": ${Hv(e,t)}`)}function YM(){const e=Gv();Ht(e,"url"),Ht(e,"json"),Ht(e,"my_property"),Ht(e,"ordinary"),Ht(e,"different"),Ht(e,"189512"),Ht(e,"2BTZIqw0ntH9MvilQ3ewNY"),Ht(e,"0uBTNdNGb2OY5lou41iYL52LcDq2"),Ht(e,"-KpqHmWuDOUnr1hmAhxp"),Ht(e,"granularity"),Ht(e,"coverage"),Ht(e,"postingFrequency"),Ht(e,"dataFrequency"),Ht(e,"units"),Ht(e,"datasetOwner"),Ht(e,"organization"),Ht(e,"timePeriod"),Ht(e,"contactInformation"),Ht(e,"🚾 🆒 🆓 🆕 🆖 🆗 🆙 🏧")}fn.test=YM;Object.defineProperty(ac,"__esModule",{value:!0});ac.inferMaps=void 0;const fl=Je,Lh=rt(),$M=tt(),l0=Ae,c0=Fi,f0=fn,ej=20,tj=50;let Md;function nj(e){return Md===void 0&&(Md=(0,f0.load)()),(0,f0.evaluate)(Md,e)}function d0(e){const t=e.size;if(t<2)return;if((0,fl.iterableEvery)(e.keys(),l=>/^[0-9]+$/.test(l)))return(0,fl.setMap)(e.values(),l=>l.type);if(t<tj&&(0,fl.iterableEvery)(e.values(),l=>(0,Lh.isPrimitiveStringTypeKind)(l.type.kind)||l.type.kind==="null"))return;if(t<ej){const f=Array.from(e.keys()).map(nj).reduce((D,_)=>D*_,1),m=Math.pow(f,1/t),v=5,S=Math.pow(22,v),C=Math.pow(t+2,v)/S+(.0025-Math.pow(3,v)/S);if(m>C)return}let n;const i=new Set;let r=!0;for(const[,l]of e){const u=(0,$M.removeNullFromType)(l.type)[1];if(u.size>0)if(n!==void 0){if(!(0,Lh.setOperationCasesEqual)(u,n,!0,(f,m)=>f.structurallyCompatible(m,!0))){r=!1;break}}else n=u;i.add(l.type)}if(r)return i}function ij(e,t,n,i){function r(u,f,m){const v=(0,l0.defined)((0,fl.iterableFirst)(u)),S=v.getProperties(),C=d0(S);return C===void 0?(0,l0.panic)(`We shouldn't be replacing class ${v.getCombinedName()} with a map`):f.getMapType(v.getAttributes(),(0,c0.unifyTypes)(C,v.getAttributes(),f,(0,c0.unionBuilderForUnification)(f,!1,!1,n),n),m)}const l=Array.from(e.allNamedTypesSeparated().objects).filter(u=>u instanceof Lh.ClassType?!u.isFixed&&d0(u.getProperties())!==void 0:!1);return e.rewrite("infer maps",t,!1,l.map(u=>[u]),i,r)}ac.inferMaps=ij;var lc={},rj=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]}),sj=Fe&&Fe.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),oj=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)&&rj(t,e,n);return sj(t,e),t};Object.defineProperty(lc,"__esModule",{value:!0});lc.gatherNames=void 0;const h0=oj(tv),Ki=Je,p0=rt(),jd=tt(),aa=sr,wi=Ae,m0=Bo;class aj{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,wi.assert)(!this.isEmpty,"Trying to unshift from an empty queue");const t=this._queue[this._front];return t===void 0?(0,wi.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 uj(e,t,n){function i(D,_){e.attributeStore.set(aa.namesTypeAttributeKind,D,_)}if(t)for(const D of e.allTypesUnordered())D.hasNames&&i(D,D.getNames().clearInferred());const r=new aj,l=new Map;function u(D,_){if(D.hasNames){const I=D.getNames();I.areInferred||(_=I.names)}const E=l.get(D);if(E===null)return;let T;E===void 0?T=_:_===null?T=null:T=(0,Ki.setUnion)(E,_),T!==null&&T.size>=aa.tooManyNamesThreshold&&(T=null),l.set(D,T);const P=(0,m0.transformationForType)(D);if(P!==void 0&&u(P.targetType,_),E!==void 0&&T!==null){if(E.size===T.size)return}else if(E===T)return;r.push(D)}for(const[D,_]of e.topLevels)u(_,new Set([D]));for(;!r.isEmpty;){const D=r.unshift(),_=(0,wi.defined)(l.get(D));if(D instanceof p0.ObjectType){const E=D.getSortedProperties();for(const[P,I]of E)u(I.type,new Set([P]));const T=D.getAdditionalProperties();T!==void 0&&u(T,_===null?null:(0,Ki.setMap)(_,h0.singular))}else(0,jd.matchCompoundType)(D,E=>{u(E.items,_===null?null:(0,Ki.setMap)(_,h0.singular))},E=>(0,wi.panic)("We handled this above"),E=>(0,wi.panic)("We handled this above"),E=>(0,wi.panic)("We handled this above"),E=>{const T=(0,Ki.setSortBy)(E.members,P=>P.kind);for(const P of T)u(P,_)})}if(n)for(const D of e.allTypesUnordered()){const _=l.get(D);if(_===void 0)return;const E=D.index;console.log(`${E}: ${_===null?"*** too many ***":Array.from(_).join(" ")}`)}const f=new Map,m=new Map,v=new Map;function S(D,_){return _.length===0||(D===void 0&&(D=new Set),D=(0,Ki.setUnion)(D,_),D.size<aa.tooManyNamesThreshold)?D:null}function C(D,_,E){const T=(0,wi.defined)(l.get(_));let P=v.get(D);if(P===void 0&&(P=new Set),P.has(_))return;P.add(_),v.set(D,P);const I=(0,m0.transformationForType)(_);I!==void 0&&C(D,I.targetType,E);let M=m.get(_),H=f.get(_);if(T===null)M=null,H=null;else{if(D!==void 0&&M!==null){const Z=l.get(D);if(Z===null)M=null;else if(Z!==void 0){const U=[];for(const B of T)U.push(...Array.from(Z).map(F=>`${F}_${B}`)),U.push(...Array.from(Z).map(F=>`${F}_${B}_${_.kind}`));M=S(M,U)}}if(E!==void 0&&H!==null){const Z=[];for(const U of T)Z.push(`${U}_${E}`);H=S(H,Z)}}if(M!==void 0&&m.set(_,M),H!==void 0&&f.set(_,H),_ instanceof p0.ObjectType){const Z=_.getSortedProperties();for(const[,B]of Z)C(_,B.type,void 0);const U=_.getAdditionalProperties();U!==void 0&&C(Z.size===0?D:_,U,"value")}else(0,jd.matchCompoundType)(_,Z=>{C(D,Z.items,"element")},Z=>(0,wi.panic)("We handled this above"),Z=>(0,wi.panic)("We handled this above"),Z=>(0,wi.panic)("We handled this above"),Z=>{const U=(0,Ki.setSortBy)(Z.members,w=>w.kind),y=Z.hasNames&&!Z.getNames().areInferred||(0,jd.nullableFromUnion)(Z)===null?Z:D;for(const w of U)C(y,w,void 0)})}for(const[,D]of e.topLevels)C(void 0,D,void 0);for(const D of e.allTypesUnordered()){const _=l.get(D);if(_===void 0)continue;if(_===null){f.set(D,null);continue}let E=f.get(D);E!==null&&(E===void 0&&(E=new Set),E=(0,Ki.setUnion)(E,(0,Ki.setMap)(_,T=>`${T}_${D.kind}`)),f.set(D,E))}for(const D of e.allTypesUnordered()){const _=l.get(D);if(_===void 0)continue;let E;if(_===null)E=new aa.TooManyTypeNames(1);else{const T=m.get(D),P=f.get(D);let I;T===null&&P===null?I=void 0:(P!=null?I=P:I=new Set,T!=null&&(I=(0,Ki.setUnion)(I,T))),E=aa.TypeNames.makeWithDistance(_,I,t?1:10)}i(D,D.hasNames?D.getNames().add([E]):E)}}lc.gatherNames=uj;var cc={};Object.defineProperty(cc,"__esModule",{value:!0});cc.expandStrings=void 0;const vi=Je,Rd=tt(),kr=Ae,lj=ft,y0=cr(),cj=10,fj=5,dj=3/4;function hj({numValues:e,cases:t}){return e>=cj&&t.size<Math.sqrt(e)}function pj(e,t,n){const i=n?e.size:Math.min(e.size,t.size);return(0,vi.setIntersect)(e,t).size>=i*dj}function g0(e){return e.length===1&&e[0]===""}function mj(e,t,n){const i=e.stringTypeMapping,r=Array.from(t.allTypesUnordered()).filter(v=>v.kind==="string"&&(0,Rd.stringTypesForType)(v).isRestricted);function l(v){const C=(0,Rd.stringTypesForType)(v).applyStringTypeMapping(i);if(!C.isRestricted)return;const D=(0,kr.defined)(C.cases);if(D.size===0)return;const _=(0,vi.iterableReduce)(D.values(),0,(E,T)=>E+T);if(n!=="all"){const E=Array.from(D.keys());if(g0(E)||!(0,vi.iterableSome)(E,P=>/^(\-|\+)?[0-9]+(\.[0-9]+)?$/.test(P)===!1))return}return{cases:new Set(D.keys()),numValues:_}}const u=new Map,f=[];if(n!=="none"){let v=function(S,C){return f.findIndex(D=>pj(S,D,C))};for(const S of r){const C=l(S);C!==void 0&&u.set(S,C)}for(const S of Array.from(u.keys())){const C=(0,kr.defined)(u.get(S)),D=C.cases;if(n==="all")f.push(D);else{if(!hj(C))continue;const _=v(D,!1);_>=0?f[_]=(0,vi.setUnion)(f[_],D):f.push(D)}u.delete(S)}n==="all"&&(0,kr.assert)(u.size===0);for(const[,S]of u.entries()){if(S.numValues<fj)continue;const C=v(S.cases,!0);C>=0&&(f[C]=(0,vi.setUnion)(f[C],S.cases))}}function m(v,S,C){(0,kr.assert)(v.size===1);const D=(0,kr.defined)((0,vi.iterableFirst)(v)),_=(0,Rd.stringTypesForType)(D),E=(0,vi.mapFilter)(D.getAttributes(),Z=>Z!==_),T=_.applyStringTypeMapping(i);if(!T.isRestricted)return S.getStringType(E,y0.StringTypes.unrestricted,C);const P=n==="all"?vi.areEqual:vi.setIsSuperset,I=[],M=(0,kr.defined)(T.cases);if(M.size>0){const Z=new Set(M.keys()),U=f.find(B=>P(B,Z));if(n!=="none"&&!g0(Array.from(Z))&&U!==void 0)I.push(S.getEnumType(lj.emptyTypeAttributes,U));else return S.getStringType(E,y0.StringTypes.unrestricted,C)}const H=T.transformations;if(I.length===0&&H.size===1){const Z=(0,kr.defined)((0,vi.iterableFirst)(H));return S.getPrimitiveType(Z,E,C)}return I.push(...Array.from(H).map(Z=>S.getPrimitiveType(Z))),(0,kr.assert)(I.length>0,"We got an empty string type"),S.getUnionType(E,new Set(I),C)}return t.rewrite("expand strings",i,!1,r.map(v=>[v]),e.debugPrintReconstitution,m)}cc.expandStrings=mj;var fc={};Object.defineProperty(fc,"__esModule",{value:!0});fc.flattenUnions=void 0;const Bd=Je,yj=hi(),b0=rt(),gj=tt(),bj=Ae,T0=Fi,Tj=Jt,S0=ft;function Sj(e,t,n,i,r){let l=!1;function u(C,D,_){const E=new T0.UnifyUnionBuilder(D,i,!0,T=>((0,bj.assert)(T.length>0,"Must have at least one type to build union"),T=T.map(P=>D.reconstituteType((0,yj.derefTypeRef)(P,e))),T.length===1?T[0]:(l=!0,D.getUnionType(S0.emptyTypeAttributes,new Set(T)))));return(0,T0.unifyTypes)(C,S0.emptyTypeAttributes,D,E,n,_)}const f=(0,Bd.setFilter)(e.allTypesUnordered(),C=>C instanceof b0.UnionType),m=(0,Bd.setFilter)(f,C=>!C.isCanonical);let v=!1;const S=(0,gj.makeGroupsToFlatten)(m,C=>((0,Tj.messageAssert)(C.size>0,"IRNoEmptyUnions",{}),(0,Bd.iterableSome)(C,D=>D instanceof b0.IntersectionType)?(v=!0,!1):!0));return e=e.rewrite("flatten unions",t,!1,S,r,u),[e,!l&&!v]}fc.flattenUnions=Sj;var dc={};Object.defineProperty(dc,"__esModule",{value:!0});dc.resolveIntersections=void 0;const zt=Je,vj=Pi,Kn=rt(),El=tt(),It=Ae,Tn=ft;function wj(e){const t=(0,El.setOperationMembersRecursively)(e,void 0)[0];return t.size<=1?!0:(0,zt.iterableEvery)(t,n=>!(n instanceof Kn.UnionType)||n.isCanonical)}function Lj(e){return(0,zt.mapMapEntries)(e.entries(),t=>[t.kind,t.getAttributes()])}class _j{constructor(){this._primitiveAttributes=new Map,this._arrayAttributes=Tn.emptyTypeAttributes,this._objectProperties=new Map,this._objectAttributes=Tn.emptyTypeAttributes,this._additionalPropertyTypes=new Set,this._lostTypeAttributes=!1}updatePrimitiveTypes(t){const n=(0,zt.setFilter)(t,u=>(0,Kn.isPrimitiveTypeKind)(u.kind)),i=Lj(n);(0,zt.mapMergeWithInto)(this._primitiveAttributes,(u,f)=>(0,Tn.combineTypeAttributes)("intersect",u,f),i);const r=(0,zt.setMap)(n,u=>u.kind);if(this._primitiveTypes===void 0){this._primitiveTypes=new Set(r);return}const l=(0,zt.iterableFind)(this._primitiveTypes,Kn.isNumberTypeKind)!==void 0&&(0,zt.iterableFind)(r,Kn.isNumberTypeKind)!==void 0;this._primitiveTypes=(0,zt.setIntersect)(this._primitiveTypes,r),l&&(0,zt.iterableFind)(this._primitiveTypes,Kn.isNumberTypeKind)===void 0&&(this._primitiveTypes=this._primitiveTypes.add("integer"))}updateArrayItemTypes(t){const n=(0,zt.iterableFind)(t,i=>i instanceof Kn.ArrayType);if(n===void 0){this._arrayItemTypes=!1;return}this._arrayAttributes=(0,Tn.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,zt.iterableFind)(t,l=>l instanceof Kn.ObjectType);if(n===void 0){this._objectProperties=void 0,this._additionalPropertyTypes=void 0;return}this._objectAttributes=(0,Tn.combineTypeAttributes)("intersect",this._objectAttributes,n.getAttributes());const i=n.getAdditionalProperties();if(this._objectProperties===void 0){(0,It.assert)(this._additionalPropertyTypes===void 0);return}const r=(0,zt.setUnionInto)(new Set(this._objectProperties.keys()),n.getProperties().keys());for(const l of r){const u=(0,It.defined)(this._objectProperties).get(l),f=n.getProperties().get(l);if(u!==void 0&&f!==void 0){const m=new Kn.GenericClassProperty(u.typeData.add(f.type),u.isOptional&&f.isOptional);(0,It.defined)(this._objectProperties).set(l,m)}else if(u!==void 0&&i!==void 0){const m=new Kn.GenericClassProperty(u.typeData.add(i),u.isOptional);(0,It.defined)(this._objectProperties).set(l,m)}else if(u!==void 0)(0,It.defined)(this._objectProperties).delete(l);else if(f!==void 0&&this._additionalPropertyTypes!==void 0){const m=new Set(this._additionalPropertyTypes).add(f.type);(0,It.defined)(this._objectProperties).set(l,new Kn.GenericClassProperty(m,f.isOptional))}else if(f!==void 0)(0,It.defined)(this._objectProperties).delete(l);else return(0,It.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,El.matchTypeExhaustive)(t,i=>(0,It.panic)("There shouldn't be a none type"),i=>(0,It.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,It.panic)("We should never see class types in intersections"),i=>(0,It.panic)("We should never see map types in intersections"),i=>this.addUnionSet([i]),i=>(0,It.panic)("We should never see enum types in intersections"),i=>{n=(0,Tn.combineTypeAttributes)("intersect",[n].concat(Array.from(i.members).map(r=>r.getAttributes()))),this.addUnionSet(i.members)},i=>this.addUnionSet([i])),(0,Tn.makeTypeAttributesInferred)(n)}get arrayData(){return this._arrayItemTypes===void 0||this._arrayItemTypes===!1?(0,It.panic)("This should not be called if the type can't be an array"):this._arrayItemTypes}get objectData(){if(this._objectProperties===void 0){(0,It.assert)(this._additionalPropertyTypes===void 0);return}return[this._objectProperties,this._additionalPropertyTypes]}get enumCases(){return(0,It.panic)("We don't support enums in intersections")}getMemberKinds(){const t=(0,zt.mapMap)((0,It.defined)(this._primitiveTypes).entries(),i=>(0,It.defined)(this._primitiveAttributes.get(i))),n=this._primitiveAttributes.get("double");return n!==void 0&&!t.has("double")&&t.has("integer")&&(0,zt.mapUpdateInto)(t,"integer",i=>(0,Tn.combineTypeAttributes)("intersect",(0,It.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 Nj extends vj.UnionBuilder{constructor(){super(...arguments),this._createdNewIntersections=!1}makeIntersection(t,n){const i=(0,zt.setMap)(t,l=>this.typeBuilder.reconstituteTypeRef(l.typeRef)),r=(0,It.defined)((0,zt.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,It.panic)("Either properties or additional properties must be given to make an object type");const[r,l]=t,u=(0,zt.mapMap)(r,m=>this.typeBuilder.makeClassProperty(this.makeIntersection(m.typeData,Tn.emptyTypeAttributes),m.isOptional)),f=l===void 0?void 0:this.makeIntersection(l,Tn.emptyTypeAttributes);return this.typeBuilder.getUniqueObjectType(n,u,f,i)}makeArray(t,n,i){const r=this.makeIntersection(t,Tn.emptyTypeAttributes);return this.typeBuilder.getArrayType(n,r,i)}}function kj(e,t,n){let i=!1;function r(m,v,S){const C=(0,zt.setFilter)(m,H=>H instanceof Kn.IntersectionType),[D,_]=(0,El.setOperationMembersRecursively)(Array.from(C),"intersect");if(D.size===0)return v.getPrimitiveType("any",_,S);if(D.size===1)return v.reconstituteType((0,It.defined)((0,zt.iterableFirst)(D)),_,S);const E=new _j,T=(0,Tn.makeTypeAttributesInferred)((0,Tn.combineTypeAttributes)("intersect",Array.from(D).map(H=>E.addType(H)))),P=(0,Tn.combineTypeAttributes)("intersect",_,T),I=new Nj(v),M=I.buildUnion(E,!0,P,S);return I.createdNewIntersections&&(i=!0),M}const l=(0,zt.setFilter)(e.allTypesUnordered(),m=>m instanceof Kn.IntersectionType),u=(0,zt.setFilter)(l,wj),f=(0,El.makeGroupsToFlatten)(u,void 0);return e=e.rewrite("resolve intersections",t,!1,f,n,r),[e,!i&&l.size===u.size]}dc.resolveIntersections=kj;var hc={};Object.defineProperty(hc,"__esModule",{value:!0});hc.replaceObjectType=void 0;const oo=Je,v0=Ae,Oj=ft;function Ej(e,t,n,i,r){function l(v,S,C){const D=(0,v0.defined)((0,oo.iterableFirst)(v)),_=D.getAttributes(),E=D.getProperties(),T=D.getAdditionalProperties();function P(){return(0,oo.mapMap)(E,U=>S.makeClassProperty(S.reconstituteTypeRef(U.typeRef),U.isOptional))}function I(){return S.getUniqueClassType(_,!0,P(),C)}function M(){return S.reconstituteType((0,v0.defined)(T))}if(T===void 0)return I();if(E.size===0)return S.getMapType(_,M(),C);if(T.kind==="any")return S.setLostTypeAttributes(),I();const H=(0,oo.setMap)(E.values(),U=>U.type).add(T);let Z=S.lookupTypeRefs(Array.from(H).map(U=>U.typeRef));if(Z===void 0){const U=(0,oo.setMap)(H,B=>S.reconstituteType(B));Z=S.getUniqueUnionType(Oj.emptyTypeAttributes,new Set(U))}return S.getMapType(_,Z,C)}const u=(0,oo.setFilter)(e.allTypesUnordered(),v=>v.kind==="object"),f=i?(0,oo.setFilter)(u,v=>v.getProperties().size===0||v.getAdditionalProperties()===void 0):u,m=Array.from(f).map(v=>[v]);return e.rewrite("replace object type",t,!1,m,r,l)}hc.replaceObjectType=Ej;var Zi={},pc={};(function(e){var t=Fe&&Fe.__awaiter||function(E,T,P,I){function M(H){return H instanceof P?H:new P(function(Z){Z(H)})}return new(P||(P=Promise))(function(H,Z){function U(y){try{F(I.next(y))}catch(w){Z(w)}}function B(y){try{F(I.throw(y))}catch(w){Z(w)}}function F(y){y.done?H(y.value):M(y.value).then(U,B)}F((I=I.apply(E,T||[])).next())})};Object.defineProperty(e,"__esModule",{value:!0}),e.CompressedJSONFromString=e.CompressedJSON=e.valueTag=e.makeValue=e.Tag=void 0;const n=Je,i=Ae,r=rt(),l=cr();var u;(function(E){E[E.Null=0]="Null",E[E.False=1]="False",E[E.True=2]="True",E[E.Integer=3]="Integer",E[E.Double=4]="Double",E[E.InternedString=5]="InternedString",E[E.UninternedString=6]="UninternedString",E[E.Object=7]="Object",E[E.Array=8]="Array",E[E.StringFormat=9]="StringFormat",E[E.TransformedString=10]="TransformedString"})(u=e.Tag||(e.Tag={}));const f=4,m=(1<<f)-1;function v(E,T){return E|T<<f}e.makeValue=v;function S(E,T){return(0,i.assert)(C(E)===T,"Trying to get index for value with invalid tag"),E>>f}function C(E){return E&m}e.valueTag=C;class D{constructor(T,P){this.dateTimeRecognizer=T,this.handleRefs=P,this._contextStack=[],this._strings=[],this._stringIndexes={},this._objects=[],this._arrays=[],this.getObjectForValue=I=>this._objects[S(I,u.Object)],this.getArrayForValue=I=>this._arrays[S(I,u.Array)],this.internArray=I=>{const M=this._arrays.length;return this._arrays.push(I),v(u.Array,M)}}parseSync(T){return(0,i.panic)("parseSync not implemented in CompressedJSON")}getStringForValue(T){const P=C(T);return(0,i.assert)(P===u.InternedString||P===u.TransformedString),this._strings[S(T,P)]}getStringFormatTypeKind(T){const P=this._strings[S(T,u.StringFormat)];return!(0,r.isPrimitiveStringTypeKind)(P)||P==="string"?(0,i.panic)("Not a transformed string type kind"):P}get context(){return(0,i.defined)(this._ctx)}internString(T){if(Object.prototype.hasOwnProperty.call(this._stringIndexes,T))return this._stringIndexes[T];const P=this._strings.length;return this._strings.push(T),this._stringIndexes[T]=P,P}makeString(T){const P=v(u.InternedString,this.internString(T));return(0,i.assert)(typeof P=="number",`Interned string value is not a number: ${P}`),P}internObject(T){const P=this._objects.length;return this._objects.push(T),v(u.Object,P)}get isExpectingRef(){return this._ctx!==void 0&&this._ctx.currentKey==="$ref"}commitValue(T){if((0,i.assert)(typeof T=="number",`CompressedJSON value is not a number: ${T}`),this._ctx===void 0)(0,i.assert)(this._rootValue===void 0,"Committing value but nowhere to commit to - root value still there."),this._rootValue=T;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),T),this._ctx.currentKey=void 0}else if(this._ctx.currentArray!==void 0)this._ctx.currentArray.push(T);else return(0,i.panic)("Committing value but nowhere to commit to")}commitNull(){this.commitValue(v(u.Null,0))}commitBoolean(T){this.commitValue(v(T?u.True:u.False,0))}commitNumber(T){const P=T?u.Double:u.Integer;this.commitValue(v(P,0))}commitString(T){let P;if(this.handleRefs&&this.isExpectingRef)P=this.makeString(T);else{const I=(0,l.inferTransformedStringTypeKindForString)(T,this.dateTimeRecognizer);I!==void 0?(0,i.defined)(r.transformedStringTypeTargetTypeKindsMap.get(I)).attributesProducer!==void 0?P=v(u.TransformedString,this.internString(T)):P=v(u.StringFormat,this.internString(I)):T.length<=64?P=this.makeString(T):P=v(u.UninternedString,0)}this.commitValue(P)}finish(){const T=this._rootValue;return T===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,T)}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(T){const P=this.context;P.currentKey=T}finishObject(){const T=this.context.currentObject;if(T===void 0)return(0,i.panic)("Object ended but not started");this.popContext(),this.commitValue(this.internObject(T))}pushArrayContext(){this.pushContext(),(0,i.defined)(this._ctx).currentArray=[]}finishArray(){const T=this.context.currentArray;if(T===void 0)return(0,i.panic)("Array ended but not started");this.popContext(),this.commitValue(this.internArray(T))}popContext(){(0,i.assert)(this._ctx!==void 0,"Popping context when there isn't one"),this._ctx=this._contextStack.pop()}equals(T){return this===T}hashCode(){let T=n.hashCodeInit;for(const P of this._strings)T=(0,n.addHashCode)(T,(0,n.hashString)(P));for(const P of Object.getOwnPropertyNames(this._stringIndexes).sort())T=(0,n.addHashCode)(T,(0,n.hashString)(P)),T=(0,n.addHashCode)(T,this._stringIndexes[P]);for(const P of this._objects)for(const I of P)T=(0,n.addHashCode)(T,I);for(const P of this._arrays)for(const I of P)T=(0,n.addHashCode)(T,I);return T}}e.CompressedJSON=D;class _ extends D{parse(T){return t(this,void 0,void 0,function*(){return this.parseSync(T)})}parseSync(T){const P=JSON.parse(T);return this.process(P),this.finish()}process(T){if(T===null)this.commitNull();else if(typeof T=="boolean")this.commitBoolean(T);else if(typeof T=="string")this.commitString(T);else if(typeof T=="number"){const P=T!==Math.floor(T)||T<Number.MIN_SAFE_INTEGER||T>Number.MAX_SAFE_INTEGER;this.commitNumber(P)}else if(Array.isArray(T)){this.pushArrayContext();for(const P of T)this.process(P);this.finishArray()}else if(typeof T=="object"){this.pushObjectContext();for(const P of Object.getOwnPropertyNames(T))this.setPropertyKey(P),this.process(T[P]);this.finishObject()}else return(0,i.panic)("Invalid JSON object")}}e.CompressedJSONFromString=_})(pc);var mc={};Object.defineProperty(mc,"__esModule",{value:!0});mc.TypeInference=void 0;const bn=pc,ss=Ae,_h=Pi,ua=rt(),Pn=ft,Dd=cr(),Cj=hi(),la=Jt,Aj=tt();function Dp(e,t){if(e.length!==0)if(Array.isArray(e[0]))for(const n of e)Dp(n,t);else t(e)}function Fj(e,t){Dp(e,n=>{for(const i of n)t(i)})}class Pj extends _h.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(Pn.emptyTypeAttributes,t,this._fixed,i))}}class Ij{constructor(t,n,i,r){this._cjson=t,this._typeBuilder=n,this._inferMaps=i,this._inferEnums=r}addValuesToAccumulator(t,n){Fj(t,i=>{const r=(0,bn.valueTag)(i);switch(r){case bn.Tag.Null:n.addPrimitive("null",Pn.emptyTypeAttributes);break;case bn.Tag.False:case bn.Tag.True:n.addPrimitive("bool",Pn.emptyTypeAttributes);break;case bn.Tag.Integer:n.addPrimitive("integer",Pn.emptyTypeAttributes);break;case bn.Tag.Double:n.addPrimitive("double",Pn.emptyTypeAttributes);break;case bn.Tag.InternedString:if(this._inferEnums){const l=this._cjson.getStringForValue(i);n.addStringCase(l,1,Pn.emptyTypeAttributes)}else n.addStringType("string",Pn.emptyTypeAttributes);break;case bn.Tag.UninternedString:n.addStringType("string",Pn.emptyTypeAttributes);break;case bn.Tag.Object:n.addObject(this._cjson.getObjectForValue(i),Pn.emptyTypeAttributes);break;case bn.Tag.Array:n.addArray(this._cjson.getArrayForValue(i),Pn.emptyTypeAttributes);break;case bn.Tag.StringFormat:{const l=this._cjson.getStringFormatTypeKind(i);n.addStringType("string",Pn.emptyTypeAttributes,new Dd.StringTypes(new Map,new Set([l])));break}case bn.Tag.TransformedString:{const l=this._cjson.getStringForValue(i),u=(0,Dd.inferTransformedStringTypeKindForString)(l,this._cjson.dateTimeRecognizer);if(u===void 0)return(0,ss.panic)("TransformedString does not have a kind");const f=(0,ss.defined)(ua.transformedStringTypeTargetTypeKindsMap.get(u)).attributesProducer;if(f===void 0)return(0,ss.panic)("TransformedString does not have attribute producer");n.addStringType("string",f(l),new Dd.StringTypes(new Map,new Set([u])));break}default:return(0,ss.assertNever)(r)}})}inferType(t,n,i,r){const l=this.accumulatorForArray(n);return this.makeTypeFromAccumulator(l,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 l=n;for(const u of i){let f=(0,Cj.derefTypeRef)(l,r);if(f instanceof ua.UnionType){const m=(0,Aj.nullableFromUnion)(f);if(m===null)return(0,la.messageError)("InferenceJSONReferenceToUnion",{reference:t});f=m}if(f instanceof ua.ClassType){const m=f.getProperties().get(u);if(m===void 0)return(0,la.messageError)("InferenceJSONReferenceWrongProperty",{reference:t});l=m.typeRef}else if(f instanceof ua.MapType)l=f.values.typeRef;else if(f instanceof ua.ArrayType){if(u.match("^[0-9]+$")===null)return(0,la.messageError)("InferenceJSONReferenceInvalidArrayIndex",{reference:t});l=f.items.typeRef}else return(0,la.messageError)("InferenceJSONReferenceWrongProperty",{reference:t})}return l}inferTopLevelType(t,n,i){(0,ss.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[l,u]of(0,ss.defined)(this._refIntersections)){const f=u.map(m=>this.resolveRef(m,r));this._typeBuilder.setSetOperationMembers(l,new Set(f))}this._refIntersections=void 0}return r}accumulatorForArray(t){const n=new _h.UnionAccumulator(!0);return this.addValuesToAccumulator(t,n),n}makeTypeFromAccumulator(t,n,i,r){return new Pj(this._typeBuilder,this,i).buildUnion(t,!1,n,r)}inferClassType(t,n,i,r){const l=[],u={};if(Dp(n,m=>{for(let v=0;v<m.length;v+=2){const S=this._cjson.getStringForValue(m[v]),C=m[v+1];Object.prototype.hasOwnProperty.call(u,S)||(l.push(S),u[S]=[]),u[S].push(C)}}),this._cjson.handleRefs&&l.length===1&&l[0]==="$ref"){const m=u.$ref;if(m.every(v=>(0,bn.valueTag)(v)===bn.Tag.InternedString)){const v=m.map(C=>this._cjson.getStringForValue(C)),S=this._typeBuilder.getUniqueIntersectionType(t,void 0);return(0,ss.defined)(this._refIntersections).push([S,v]),S}}if(this._inferMaps&&l.length>500){const m=new _h.UnionAccumulator(!0);for(const S of l)this.addValuesToAccumulator(u[S],m);const v=this.makeTypeFromAccumulator(m,Pn.emptyTypeAttributes,i);return this._typeBuilder.getMapType(t,v,r)}const f=new Map;for(const m of l){const v=u[m],S=this.inferType(Pn.emptyTypeAttributes,v,!1),C=v.length<n.length;f.set(m,this._typeBuilder.makeClassProperty(S,C))}return i?this._typeBuilder.getUniqueClassType(t,!0,f,r):this._typeBuilder.getClassType(t,f,r)}}mc.TypeInference=Ij;var w0;function Vv(){if(w0)return Zi;w0=1;var e=Fe&&Fe.__awaiter||function(_,E,T,P){function I(M){return M instanceof T?M:new T(function(H){H(M)})}return new(T||(T=Promise))(function(M,H){function Z(F){try{B(P.next(F))}catch(y){H(y)}}function U(F){try{B(P.throw(F))}catch(y){H(y)}}function B(F){F.done?M(F.value):I(F.value).then(Z,U)}B((P=P.apply(_,E||[])).next())})};Object.defineProperty(Zi,"__esModule",{value:!0}),Zi.InputData=Zi.jsonInputForTargetLanguage=Zi.JSONInput=void 0;const t=Je,n=pc,i=Ae,r=Jt,l=sr,u=ic(),f=mc,m=sc();function v(_,E,T){return(0,r.messageError)("MiscJSONParseError",{description:(0,t.withDefault)(E,"input"),address:_,message:(0,i.errorMessage)(T)})}class S{constructor(E){this._compressedJSON=E,this.kind="json",this.needIR=!0,this.needSchemaProcessing=!1,this._topLevels=new Map}addSample(E,T){let P=this._topLevels.get(E);P===void 0&&(P={samples:[],description:void 0},this._topLevels.set(E,P)),P.samples.push(T)}setDescription(E,T){let P=this._topLevels.get(E);if(P===void 0)return(0,i.panic)("Trying to set description for a top-level that doesn't exist");P.description=T}addSamples(E,T,P){for(const I of T)this.addSample(E,I),P!==void 0&&this.setDescription(E,P)}addSource(E){return e(this,void 0,void 0,function*(){const{name:T,samples:P,description:I}=E;try{const M=yield(0,t.arrayMapSync)(P,H=>e(this,void 0,void 0,function*(){return yield this._compressedJSON.parse(H)}));this.addSamples(T,M,I)}catch(M){return v(T,I,M)}})}addSourceSync(E){const{name:T,samples:P,description:I}=E;try{const M=P.map(H=>this._compressedJSON.parseSync(H));this.addSamples(T,M,I)}catch(M){return v(T,I,M)}}singleStringSchemaSource(){}addTypes(E,T,P,I,M){return e(this,void 0,void 0,function*(){return this.addTypesSync(E,T,P,I,M)})}addTypesSync(E,T,P,I,M){const H=new f.TypeInference(this._compressedJSON,T,P,I);for(const[Z,{samples:U,description:B}]of this._topLevels){const F=H.inferTopLevelType((0,l.makeNamesTypeAttributes)(Z,!1),U,M);if(T.addTopLevel(Z,F),B!==void 0){const y=u.descriptionTypeAttributeKind.makeAttributes(new Set([B]));T.addAttributes(F,y)}}}}Zi.JSONInput=S;function C(_,E,T=!1){typeof _=="string"&&(_=(0,i.defined)((0,m.languageNamed)(_,E)));const P=new n.CompressedJSONFromString(_.dateTimeRecognizer,T);return new S(P)}Zi.jsonInputForTargetLanguage=C;class D{constructor(){this._inputs=new Set}addInput(E){this._inputs=this._inputs.add(E)}getOrAddInput(E,T){let P=(0,t.iterableFind)(this._inputs,I=>I.kind===E);return P===void 0&&(P=T(),this.addInput(P)),P}addSource(E,T,P){return e(this,void 0,void 0,function*(){yield this.getOrAddInput(E,P).addSource(T)})}addSourceSync(E,T,P){this.getOrAddInput(E,P).addSourceSync(T)}addTypes(E,T,P,I,M){return e(this,void 0,void 0,function*(){for(const H of this._inputs)yield H.addTypes(E,T,P,I,M)})}addTypesSync(E,T,P,I,M){for(const H of this._inputs)H.addTypesSync(E,T,P,I,M)}get needIR(){return(0,t.iterableSome)(this._inputs,E=>E.needIR)}get needSchemaProcessing(){return(0,t.iterableSome)(this._inputs,E=>E.needSchemaProcessing)}singleStringSchemaSource(){const E=(0,t.setFilterMap)(this._inputs,T=>T.singleStringSchemaSource());return E.size>1?(0,i.panic)("We have more than one input with a string schema source"):(0,t.iterableFirst)(E)}}return Zi.InputData=D,Zi}var yc={};Object.defineProperty(yc,"__esModule",{value:!0});yc.flattenStrings=void 0;const Mj=Je,Kv=tt(),dl=Ae,jj=ft;function Zv(e){const t=e.stringTypeMembers;if(t.size<=1)return;const n=e.findMember("string");if(n!==void 0)return(0,dl.assert)(!(0,Kv.stringTypesForType)(n).isRestricted,"We must only flatten strings if we have no restriced strings"),t}function Rj(e,t,n){(0,dl.assert)(e.size===1);const i=(0,dl.defined)((0,Mj.iterableFirst)(e)),r=(0,dl.defined)(Zv(i)),l=(0,Kv.combineTypeAttributesOfTypes)("union",r),u=[];for(const f of i.members)r.has(f)||u.push(t.reconstituteType(f));return u.length===0?t.getStringType((0,jj.combineTypeAttributes)("union",l,i.getAttributes()),void 0,n):(u.push(t.getStringType(l,void 0)),t.getUnionType(i.getAttributes(),new Set(u),n))}function Bj(e,t,n){const i=e.allNamedTypesSeparated().unions,r=Array.from(i).filter(Zv).map(l=>[l]);return e.rewrite("flatten strings",t,!1,r,n,Rj)}yc.flattenStrings=Bj;var gc={};Object.defineProperty(gc,"__esModule",{value:!0});gc.makeTransformations=void 0;const gs=Je,Dj=hi(),ki=rt(),Xi=Ae,jt=Bo,$i=ft,Gr=cr(),xp=ys;function Do(e,t,n,i){const r=new jt.Transformation(e,t,n);return i&&(console.log(`transformation for ${(0,Dj.typeRefIndex)(t)}:`),r.debugPrint(),console.log("reverse:"),r.reverse.debugPrint()),jt.transformationTypeAttributeKind.makeAttributes(r)}function Qv(e,t,n,i){const l=Array.from(t.cases).sort().map(u=>new jt.StringMatchTransformer(e,n,new jt.StringProducerTransformer(e,n,i,u),u));return new jt.ChoiceTransformer(e,n,l)}function xj(e,t,n,i,r){const l=t.typeGraph;(0,Xi.assert)(e.members.size>0,"We can't have empty unions");let u=$i.emptyTypeAttributes;function f(w){if((0,ki.isPrimitiveStringTypeKind)(w.kind)){const L=(0,ki.targetTypeKindForTransformedStringTypeKind)(w.kind);if(L!==void 0){const N=e.findMember(L);return u=(0,$i.combineTypeAttributes)("union",u,w.getAttributes()),N!==void 0?t.reconstituteType(N):t.getPrimitiveType(L)}}return t.reconstituteType(w)}const m=(0,gs.mapMapEntries)(e.members.entries(),w=>[w.kind,f(w)]),v=new Set(m.values()),S=v.size>1;S||t.setLostTypeAttributes();const C=S?t.getUnionType(e.getAttributes(),v):(0,Xi.defined)((0,gs.iterableFirst)(v));function D(w){return(0,Xi.defined)(m.get(w))}function _(w){if(S)return new jt.UnionInstantiationTransformer(l,w)}function E(w){if(e.findMember(w)===void 0)return;const N=D(w);return new jt.DecodingTransformer(l,N,_(N))}let T;function P(){return T===void 0&&(T=t.getStringType($i.emptyTypeAttributes,Gr.StringTypes.unrestricted)),T}function I(w){const L=D(w.kind);if(w.kind==="string"){const N=(0,xp.minMaxLengthForType)(w);if(N===void 0)return _(L);const[p,o]=N;return new jt.MinMaxLengthCheckTransformer(l,P(),_(L),p,o)}else return w instanceof ki.EnumType&&i.has(w)?Qv(l,w,P(),_(L)):new jt.ParseStringTransformer(l,P(),_(L))}const M=(0,gs.arraySortByInto)(Array.from(e.stringTypeMembers),w=>w.kind);let H;if(M.length===0)H=void 0;else if(M.length===1){const w=M[0];H=new jt.DecodingTransformer(l,P(),I(w))}else H=new jt.DecodingTransformer(l,P(),new jt.ChoiceTransformer(l,P(),M.map(w=>(0,Xi.defined)(I(w)))));const Z=E("class"),U=E("map");(0,Xi.assert)(Z===void 0||U===void 0,"Can't have both class and map in a transformed union");const B=Z!==void 0?Z:U,F=new jt.DecodingChoiceTransformer(l,t.getPrimitiveType("any"),E("null"),E("integer"),E("double"),E("bool"),H,E("array"),B),y=Do(l,C,F,r);return t.getPrimitiveType("any",(0,$i.combineTypeAttributes)("union",y,u),n)}function Uj(e,t,n,i){const r=t.getPrimitiveType("any"),l=t.getArrayType($i.emptyTypeAttributes,r),u=t.reconstituteType(e.items),f=new jt.ArrayDecodingTransformer(t.typeGraph,l,void 0,u,new jt.DecodingTransformer(t.typeGraph,r,void 0)),m=t.getArrayType(t.reconstituteTypeAttributes(e.getAttributes()),u),v=Do(t.typeGraph,m,f,i);return t.getArrayType(v,r,n)}function zj(e,t,n,i){const r=t.getStringType($i.emptyTypeAttributes,Gr.StringTypes.unrestricted),l=new jt.DecodingTransformer(t.typeGraph,r,Qv(t.typeGraph,e,r)),u=t.getEnumType(e.getAttributes(),e.cases),f=Do(t.typeGraph,u,l,i);return t.getStringType(f,Gr.StringTypes.unrestricted,n)}function Jj(e,t,n,i){const r=t.getStringType($i.emptyTypeAttributes,Gr.StringTypes.unrestricted),[l,u]=(0,Xi.defined)((0,xp.minMaxValueForType)(e)),f=new jt.DecodingTransformer(t.typeGraph,r,new jt.MinMaxValueTransformer(t.typeGraph,r,void 0,l,u)),m=t.reconstituteTypeAttributes(e.getAttributes()),v=Do(t.typeGraph,t.getPrimitiveType("double",m,void 0),f,i);return t.getPrimitiveType("double",v,n)}function Wj(e,t,n,i){const[r,l]=(0,Xi.defined)((0,xp.minMaxLengthForType)(e)),u=t.reconstituteTypeAttributes(e.getAttributes()),f=t.getStringType($i.emptyTypeAttributes,Gr.StringTypes.unrestricted),m=new jt.DecodingTransformer(t.typeGraph,f,new jt.MinMaxLengthCheckTransformer(t.typeGraph,f,void 0,r,l)),v=Do(t.typeGraph,t.getStringType(u,void 0),m,i);return t.getStringType(v,Gr.StringTypes.unrestricted,n)}function Gj(e,t,n,i,r){const l=n.reconstituteTypeAttributes(e.getAttributes()),u=(0,gs.withDefault)((0,ki.targetTypeKindForTransformedStringTypeKind)(t),t),f=n.getStringType($i.emptyTypeAttributes,Gr.StringTypes.unrestricted),m=new jt.DecodingTransformer(n.typeGraph,f,new jt.ParseStringTransformer(n.typeGraph,f,void 0)),v=Do(n.typeGraph,n.getPrimitiveType(u,l),m,r);return n.getStringType(v,Gr.StringTypes.unrestricted,i)}function qj(e,t,n){const i=(0,gs.setFilter)(t.allTypesUnordered(),u=>{if(n.needsTransformerForType(u))return!0;if(!(u instanceof ki.UnionType))return!1;const f=u.stringTypeMembers;return f.size<=1?!1:(0,gs.iterableSome)(f,m=>n.needsTransformerForType(m))});function r(u,f,m){const v=(0,Xi.defined)((0,gs.iterableFirst)(u));return v instanceof ki.UnionType?xj(v,f,m,i,e.debugPrintTransformations):v instanceof ki.ArrayType?Uj(v,f,m,e.debugPrintTransformations):v instanceof ki.EnumType?zj(v,f,m,e.debugPrintTransformations):v.kind==="string"?Wj(v,f,m,e.debugPrintTransformations):(0,ki.isNumberTypeKind)(v.kind)?Jj(v,f,m,e.debugPrintTransformations):(0,ki.isPrimitiveStringTypeKind)(v.kind)?Gj(v,v.kind,f,m,e.debugPrintTransformations):(0,Xi.panic)(`Cannot make transformation for type ${v.kind}`)}const l=Array.from(i).map(u=>[u]);return t.rewrite("make-transformations",e.stringTypeMapping,!1,l,e.debugPrintReconstitution,r)}gc.makeTransformations=qj;var L0;function Hj(){return L0||(L0=1,function(e){var t=Fe&&Fe.__createBinding||(Object.create?function(h,b,R,x){x===void 0&&(x=R);var j=Object.getOwnPropertyDescriptor(b,R);(!j||("get"in j?!b.__esModule:j.writable||j.configurable))&&(j={enumerable:!0,get:function(){return b[R]}}),Object.defineProperty(h,x,j)}:function(h,b,R,x){x===void 0&&(x=R),h[x]=b[R]}),n=Fe&&Fe.__setModuleDefault||(Object.create?function(h,b){Object.defineProperty(h,"default",{enumerable:!0,value:b})}:function(h,b){h.default=b}),i=Fe&&Fe.__importStar||function(h){if(h&&h.__esModule)return h;var b={};if(h!=null)for(var R in h)R!=="default"&&Object.prototype.hasOwnProperty.call(h,R)&&t(b,h,R);return n(b,h),b},r=Fe&&Fe.__awaiter||function(h,b,R,x){function j(W){return W instanceof R?W:new R(function(k){k(W)})}return new(R||(R=Promise))(function(W,k){function O(ue){try{te(x.next(ue))}catch(Y){k(Y)}}function V(ue){try{te(x.throw(ue))}catch(Y){k(Y)}}function te(ue){ue.done?W(ue.value):j(ue.value).then(O,V)}te((x=x.apply(h,b||[])).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 l=Je,u=i(sc()),f=Ae,m=oc,v=ac,S=Mo(),C=hi(),D=sr,_=lc,E=cc,T=fc,P=dc,I=hc,M=Jt,H=Vv(),Z=yc,U=gc;function B(h){if(typeof h=="object")return h;const b=u.languageNamed(h);return b!==void 0?b:(0,M.messageError)("DriverUnknownOutputLanguage",{lang:h})}e.getTargetLanguage=B,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,
|
|
958
|
-
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.
|
|
959
|
-
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.
|
|
960
|
-
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,
|
|
961
|
-
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
|
|
962
|
-
'{ $ref: "#/foo/bar" }' to refer
|
|
963
|
-
to another part of the input.`,order:8}},e.inferenceFlagNames=Object.getOwnPropertyNames(e.inferenceFlagsObject),e.inferenceFlags=e.inferenceFlagsObject;const F={lang:"ts",inputData:new H.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 y(){const h={};for(const b of e.inferenceFlagNames)h[b]=!0;return h}e.defaultInferenceFlags=y();class w{constructor(b){this._options=Object.assign({},F,e.defaultInferenceFlags);for(const R of Object.getOwnPropertyNames(b)){const x=b[R];x!==void 0&&(this._options[R]=x)}}get stringTypeMapping(){const b=B(this._options.lang),R=new Map(b.stringTypeMapping);for(const x of e.inferenceFlagNames){const j=e.inferenceFlags[x].stringType;!this._options[x]&&j!==void 0&&R.set(j,"string")}return R}get debugPrintReconstitution(){return this._options.debugPrintReconstitution===!0}get debugPrintTransformations(){return this._options.debugPrintTransformations}get debugPrintSchemaResolving(){return this._options.debugPrintSchemaResolving}timeSync(b,R){return r(this,void 0,void 0,function*(){const x=Date.now(),j=yield R(),W=Date.now();return this._options.debugPrintTimes&&console.log(`${b} took ${W-x}ms`),j})}time(b,R){const x=Date.now(),j=R(),W=Date.now();return this._options.debugPrintTimes&&console.log(`${b} took ${W-x}ms`),j}makeGraphInputs(){const b=B(this._options.lang),R=this.stringTypeMapping,x=!b.supportsUnionsWithBothNumberTypes,j=new S.TypeBuilder(0,R,this._options.alphabetizeProperties,this._options.allPropertiesOptional,this._options.checkProvenance,!1);return{targetLanguage:b,stringTypeMapping:R,conflateNumbers:x,typeBuilder:j}}makeGraph(b){return r(this,void 0,void 0,function*(){const R=this.makeGraphInputs();return yield this.timeSync("read input",()=>r(this,void 0,void 0,function*(){return yield b.addTypes(this,R.typeBuilder,this._options.inferMaps,this._options.inferEnums,this._options.fixedTopLevels)})),this.processGraph(b,R)})}makeGraphSync(b){const R=this.makeGraphInputs();return this.time("read input",()=>b.addTypesSync(this,R.typeBuilder,this._options.inferMaps,this._options.inferEnums,this._options.fixedTopLevels)),this.processGraph(b,R)}processGraph(b,R){const{targetLanguage:x,stringTypeMapping:j,conflateNumbers:W,typeBuilder:k}=R;let O=k.finish();this._options.debugPrintGraph&&(O.setPrintOnRewrite(),O.printGraph());const V=this.debugPrintReconstitution;(k.didAddForwardingIntersection||!this._options.ignoreJsonRefs)&&this.time("remove indirection intersections",()=>O=(0,C.removeIndirectionIntersections)(O,j,V));let te=!1;if(b.needSchemaProcessing||!this._options.ignoreJsonRefs){let Y=!1;do{const $=O;Y||this.time("resolve intersections",()=>[O,Y]=(0,P.resolveIntersections)(O,j,V)),te||this.time("flatten unions",()=>[O,te]=(0,T.flattenUnions)(O,j,W,!0,V)),O===$&&(0,f.assert)(Y&&te,"Graph didn't change but we're not done")}while(!Y||!te)}this.time("replace object type",()=>O=(0,I.replaceObjectType)(O,j,W,x.supportsFullObjectType,V));do this.time("flatten unions",()=>[O,te]=(0,T.flattenUnions)(O,j,W,!1,V));while(!te);if(this._options.combineClasses){const Y=this.time("combine classes",()=>(0,m.combineClasses)(this,O,this._options.alphabetizeProperties,!0,!1,V));Y===O?O=Y:this.time("combine classes cleanup",()=>O=(0,m.combineClasses)(this,Y,this._options.alphabetizeProperties,!1,!0,V))}if(this._options.inferMaps)for(;;){const Y=this.time("infer maps",()=>(0,v.inferMaps)(O,j,!0,V));if(Y===O)break;O=Y}const ue=b.needSchemaProcessing?"all":this._options.inferEnums?"infer":"none";return this.time("expand strings",()=>O=(0,E.expandStrings)(this,O,ue)),this.time("flatten unions",()=>[O,te]=(0,T.flattenUnions)(O,j,W,!1,V)),(0,f.assert)(te,"We should only have to flatten unions once after expanding strings"),b.needSchemaProcessing&&this.time("flatten strings",()=>O=(0,Z.flattenStrings)(O,j,V)),this.time("none to any",()=>O=(0,C.noneToAny)(O,j,V)),x.supportsOptionalClassProperties||this.time("optional to nullable",()=>O=(0,C.optionalToNullable)(O,j,V)),this.time("fixed point",()=>O=O.rewriteFixedPoint(!1,V)),this.time("make transformations",()=>O=(0,U.makeTransformations)(this,O,x)),this.time("flatten unions",()=>[O,te]=(0,T.flattenUnions)(O,j,W,!1,V)),(0,f.assert)(te,"We should only have to flatten unions once after making transformations"),this.time("GC",()=>O=O.garbageCollect(this._options.alphabetizeProperties,V)),this._options.debugPrintGraph&&console.log(`
|
|
964
|
-
# gather names`),this.time("gather names",()=>(0,_.gatherNames)(O,!b.needSchemaProcessing,this._options.debugPrintGatherNames)),this._options.debugPrintGraph&&O.printGraph(),O}makeSimpleTextResult(b){return new Map([[this._options.outputFilename,{lines:b,annotations:[]}]])}preRun(){(0,D.initTypeNames)();const b=B(this._options.lang),R=this._options.inputData,j=R.needIR||b.names.indexOf("schema")<0?void 0:R.singleStringSchemaSource();if(j!==void 0){const W=JSON.stringify(JSON.parse(j),void 0,4).split(`
|
|
965
|
-
`);W.push("");const k={lines:W,annotations:[]};return new Map([[this._options.outputFilename,k]])}return[R,b]}run(){return r(this,void 0,void 0,function*(){const b=this.preRun();if(!Array.isArray(b))return b;const[R,x]=b,j=yield this.makeGraph(R);return this.renderGraph(x,j)})}runSync(){const b=this.preRun();if(!Array.isArray(b))return b;const[R,x]=b,j=this.makeGraphSync(R);return this.renderGraph(x,j)}renderGraph(b,R){return this._options.noRender?this.makeSimpleTextResult(["Done.",""]):b.renderGraphAndSerialize(R,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 w(h).run()})}e.quicktypeMultiFile=L;function N(h){return new w(h).runSync()}e.quicktypeMultiFileSync=N;function p(h,b){return{line:h.line+b,column:h.column}}function o(h,b){return{start:p(h.start,b),end:p(h.end,b)}}function a(h){if(h.size<=1){const x=(0,l.mapFirst)(h);return x===void 0?{lines:[],annotations:[]}:x}let b=[],R=[];for(const[x,j]of h){const W=b.length+2;b=b.concat([`// ${x}`,""],j.lines),R=R.concat(j.annotations.map(k=>({annotation:k.annotation,span:o(k.span,W)})))}return{lines:b,annotations:R}}e.combineRenderResults=a;function d(h){return r(this,void 0,void 0,function*(){const b=yield L(h);return a(b)})}e.quicktype=d}(Qf)),Qf}var tr={},Up={},Xv={exports:{}},xd={exports:{}},Hr={},bc={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */bc.read=function(e,t,n,i,r){var l,u,f=r*8-i-1,m=(1<<f)-1,v=m>>1,S=-7,C=n?r-1:0,D=n?-1:1,_=e[t+C];for(C+=D,l=_&(1<<-S)-1,_>>=-S,S+=f;S>0;l=l*256+e[t+C],C+=D,S-=8);for(u=l&(1<<-S)-1,l>>=-S,S+=i;S>0;u=u*256+e[t+C],C+=D,S-=8);if(l===0)l=1-v;else{if(l===m)return u?NaN:(_?-1:1)*(1/0);u=u+Math.pow(2,i),l=l-v}return(_?-1:1)*u*Math.pow(2,l-i)};bc.write=function(e,t,n,i,r,l){var u,f,m,v=l*8-r-1,S=(1<<v)-1,C=S>>1,D=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=i?0:l-1,E=i?1:-1,T=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(f=isNaN(t)?1:0,u=S):(u=Math.floor(Math.log(t)/Math.LN2),t*(m=Math.pow(2,-u))<1&&(u--,m*=2),u+C>=1?t+=D/m:t+=D*Math.pow(2,1-C),t*m>=2&&(u++,m/=2),u+C>=S?(f=0,u=S):u+C>=1?(f=(t*m-1)*Math.pow(2,r),u=u+C):(f=t*Math.pow(2,C-1)*Math.pow(2,r),u=0));r>=8;e[n+_]=f&255,_+=E,f/=256,r-=8);for(u=u<<r|f,v+=r;v>0;e[n+_]=u&255,_+=E,u/=256,v-=8);e[n+_-E]|=T*128};/*!
|
|
966
|
-
* The buffer module from node.js, for the browser.
|
|
967
|
-
*
|
|
968
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
969
|
-
* @license MIT
|
|
970
|
-
*/(function(e){const t=Io,n=bc,i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=f,e.SlowBuffer=M,e.INSPECT_MAX_BYTES=50;const r=2147483647;e.kMaxLength=r,f.TYPED_ARRAY_SUPPORT=l(),!f.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 l(){try{const G=new Uint8Array(1),A={foo:function(){return 42}};return Object.setPrototypeOf(A,Uint8Array.prototype),Object.setPrototypeOf(G,A),G.foo()===42}catch{return!1}}Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}});function u(G){if(G>r)throw new RangeError('The value "'+G+'" is invalid for option "size"');const A=new Uint8Array(G);return Object.setPrototypeOf(A,f.prototype),A}function f(G,A,J){if(typeof G=="number"){if(typeof A=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return C(G)}return m(G,A,J)}f.poolSize=8192;function m(G,A,J){if(typeof G=="string")return D(G,A);if(ArrayBuffer.isView(G))return E(G);if(G==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof G);if(we(G,ArrayBuffer)||G&&we(G.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(we(G,SharedArrayBuffer)||G&&we(G.buffer,SharedArrayBuffer)))return T(G,A,J);if(typeof G=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const re=G.valueOf&&G.valueOf();if(re!=null&&re!==G)return f.from(re,A,J);const me=P(G);if(me)return me;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof G[Symbol.toPrimitive]=="function")return f.from(G[Symbol.toPrimitive]("string"),A,J);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof G)}f.from=function(G,A,J){return m(G,A,J)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array);function v(G){if(typeof G!="number")throw new TypeError('"size" argument must be of type number');if(G<0)throw new RangeError('The value "'+G+'" is invalid for option "size"')}function S(G,A,J){return v(G),G<=0?u(G):A!==void 0?typeof J=="string"?u(G).fill(A,J):u(G).fill(A):u(G)}f.alloc=function(G,A,J){return S(G,A,J)};function C(G){return v(G),u(G<0?0:I(G)|0)}f.allocUnsafe=function(G){return C(G)},f.allocUnsafeSlow=function(G){return C(G)};function D(G,A){if((typeof A!="string"||A==="")&&(A="utf8"),!f.isEncoding(A))throw new TypeError("Unknown encoding: "+A);const J=H(G,A)|0;let re=u(J);const me=re.write(G,A);return me!==J&&(re=re.slice(0,me)),re}function _(G){const A=G.length<0?0:I(G.length)|0,J=u(A);for(let re=0;re<A;re+=1)J[re]=G[re]&255;return J}function E(G){if(we(G,Uint8Array)){const A=new Uint8Array(G);return T(A.buffer,A.byteOffset,A.byteLength)}return _(G)}function T(G,A,J){if(A<0||G.byteLength<A)throw new RangeError('"offset" is outside of buffer bounds');if(G.byteLength<A+(J||0))throw new RangeError('"length" is outside of buffer bounds');let re;return A===void 0&&J===void 0?re=new Uint8Array(G):J===void 0?re=new Uint8Array(G,A):re=new Uint8Array(G,A,J),Object.setPrototypeOf(re,f.prototype),re}function P(G){if(f.isBuffer(G)){const A=I(G.length)|0,J=u(A);return J.length===0||G.copy(J,0,0,A),J}if(G.length!==void 0)return typeof G.length!="number"||Pe(G.length)?u(0):_(G);if(G.type==="Buffer"&&Array.isArray(G.data))return _(G.data)}function I(G){if(G>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return G|0}function M(G){return+G!=G&&(G=0),f.alloc(+G)}f.isBuffer=function(A){return A!=null&&A._isBuffer===!0&&A!==f.prototype},f.compare=function(A,J){if(we(A,Uint8Array)&&(A=f.from(A,A.offset,A.byteLength)),we(J,Uint8Array)&&(J=f.from(J,J.offset,J.byteLength)),!f.isBuffer(A)||!f.isBuffer(J))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(A===J)return 0;let re=A.length,me=J.length;for(let Se=0,Le=Math.min(re,me);Se<Le;++Se)if(A[Se]!==J[Se]){re=A[Se],me=J[Se];break}return re<me?-1:me<re?1:0},f.isEncoding=function(A){switch(String(A).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}},f.concat=function(A,J){if(!Array.isArray(A))throw new TypeError('"list" argument must be an Array of Buffers');if(A.length===0)return f.alloc(0);let re;if(J===void 0)for(J=0,re=0;re<A.length;++re)J+=A[re].length;const me=f.allocUnsafe(J);let Se=0;for(re=0;re<A.length;++re){let Le=A[re];if(we(Le,Uint8Array))Se+Le.length>me.length?(f.isBuffer(Le)||(Le=f.from(Le)),Le.copy(me,Se)):Uint8Array.prototype.set.call(me,Le,Se);else if(f.isBuffer(Le))Le.copy(me,Se);else throw new TypeError('"list" argument must be an Array of Buffers');Se+=Le.length}return me};function H(G,A){if(f.isBuffer(G))return G.length;if(ArrayBuffer.isView(G)||we(G,ArrayBuffer))return G.byteLength;if(typeof G!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof G);const J=G.length,re=arguments.length>2&&arguments[2]===!0;if(!re&&J===0)return 0;let me=!1;for(;;)switch(A){case"ascii":case"latin1":case"binary":return J;case"utf8":case"utf-8":return z(G).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return J*2;case"hex":return J>>>1;case"base64":return he(G).length;default:if(me)return re?-1:z(G).length;A=(""+A).toLowerCase(),me=!0}}f.byteLength=H;function Z(G,A,J){let re=!1;if((A===void 0||A<0)&&(A=0),A>this.length||((J===void 0||J>this.length)&&(J=this.length),J<=0)||(J>>>=0,A>>>=0,J<=A))return"";for(G||(G="utf8");;)switch(G){case"hex":return x(this,A,J);case"utf8":case"utf-8":return a(this,A,J);case"ascii":return b(this,A,J);case"latin1":case"binary":return R(this,A,J);case"base64":return o(this,A,J);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,A,J);default:if(re)throw new TypeError("Unknown encoding: "+G);G=(G+"").toLowerCase(),re=!0}}f.prototype._isBuffer=!0;function U(G,A,J){const re=G[A];G[A]=G[J],G[J]=re}f.prototype.swap16=function(){const A=this.length;if(A%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let J=0;J<A;J+=2)U(this,J,J+1);return this},f.prototype.swap32=function(){const A=this.length;if(A%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let J=0;J<A;J+=4)U(this,J,J+3),U(this,J+1,J+2);return this},f.prototype.swap64=function(){const A=this.length;if(A%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let J=0;J<A;J+=8)U(this,J,J+7),U(this,J+1,J+6),U(this,J+2,J+5),U(this,J+3,J+4);return this},f.prototype.toString=function(){const A=this.length;return A===0?"":arguments.length===0?a(this,0,A):Z.apply(this,arguments)},f.prototype.toLocaleString=f.prototype.toString,f.prototype.equals=function(A){if(!f.isBuffer(A))throw new TypeError("Argument must be a Buffer");return this===A?!0:f.compare(this,A)===0},f.prototype.inspect=function(){let A="";const J=e.INSPECT_MAX_BYTES;return A=this.toString("hex",0,J).replace(/(.{2})/g,"$1 ").trim(),this.length>J&&(A+=" ... "),"<Buffer "+A+">"},i&&(f.prototype[i]=f.prototype.inspect),f.prototype.compare=function(A,J,re,me,Se){if(we(A,Uint8Array)&&(A=f.from(A,A.offset,A.byteLength)),!f.isBuffer(A))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof A);if(J===void 0&&(J=0),re===void 0&&(re=A?A.length:0),me===void 0&&(me=0),Se===void 0&&(Se=this.length),J<0||re>A.length||me<0||Se>this.length)throw new RangeError("out of range index");if(me>=Se&&J>=re)return 0;if(me>=Se)return-1;if(J>=re)return 1;if(J>>>=0,re>>>=0,me>>>=0,Se>>>=0,this===A)return 0;let Le=Se-me,Re=re-J;const nt=Math.min(Le,Re),st=this.slice(me,Se),dt=A.slice(J,re);for(let ut=0;ut<nt;++ut)if(st[ut]!==dt[ut]){Le=st[ut],Re=dt[ut];break}return Le<Re?-1:Re<Le?1:0};function B(G,A,J,re,me){if(G.length===0)return-1;if(typeof J=="string"?(re=J,J=0):J>2147483647?J=2147483647:J<-2147483648&&(J=-2147483648),J=+J,Pe(J)&&(J=me?0:G.length-1),J<0&&(J=G.length+J),J>=G.length){if(me)return-1;J=G.length-1}else if(J<0)if(me)J=0;else return-1;if(typeof A=="string"&&(A=f.from(A,re)),f.isBuffer(A))return A.length===0?-1:F(G,A,J,re,me);if(typeof A=="number")return A=A&255,typeof Uint8Array.prototype.indexOf=="function"?me?Uint8Array.prototype.indexOf.call(G,A,J):Uint8Array.prototype.lastIndexOf.call(G,A,J):F(G,[A],J,re,me);throw new TypeError("val must be string, number or Buffer")}function F(G,A,J,re,me){let Se=1,Le=G.length,Re=A.length;if(re!==void 0&&(re=String(re).toLowerCase(),re==="ucs2"||re==="ucs-2"||re==="utf16le"||re==="utf-16le")){if(G.length<2||A.length<2)return-1;Se=2,Le/=2,Re/=2,J/=2}function nt(dt,ut){return Se===1?dt[ut]:dt.readUInt16BE(ut*Se)}let st;if(me){let dt=-1;for(st=J;st<Le;st++)if(nt(G,st)===nt(A,dt===-1?0:st-dt)){if(dt===-1&&(dt=st),st-dt+1===Re)return dt*Se}else dt!==-1&&(st-=st-dt),dt=-1}else for(J+Re>Le&&(J=Le-Re),st=J;st>=0;st--){let dt=!0;for(let ut=0;ut<Re;ut++)if(nt(G,st+ut)!==nt(A,ut)){dt=!1;break}if(dt)return st}return-1}f.prototype.includes=function(A,J,re){return this.indexOf(A,J,re)!==-1},f.prototype.indexOf=function(A,J,re){return B(this,A,J,re,!0)},f.prototype.lastIndexOf=function(A,J,re){return B(this,A,J,re,!1)};function y(G,A,J,re){J=Number(J)||0;const me=G.length-J;re?(re=Number(re),re>me&&(re=me)):re=me;const Se=A.length;re>Se/2&&(re=Se/2);let Le;for(Le=0;Le<re;++Le){const Re=parseInt(A.substr(Le*2,2),16);if(Pe(Re))return Le;G[J+Le]=Re}return Le}function w(G,A,J,re){return ve(z(A,G.length-J),G,J,re)}function L(G,A,J,re){return ve(K(A),G,J,re)}function N(G,A,J,re){return ve(he(A),G,J,re)}function p(G,A,J,re){return ve(se(A,G.length-J),G,J,re)}f.prototype.write=function(A,J,re,me){if(J===void 0)me="utf8",re=this.length,J=0;else if(re===void 0&&typeof J=="string")me=J,re=this.length,J=0;else if(isFinite(J))J=J>>>0,isFinite(re)?(re=re>>>0,me===void 0&&(me="utf8")):(me=re,re=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Se=this.length-J;if((re===void 0||re>Se)&&(re=Se),A.length>0&&(re<0||J<0)||J>this.length)throw new RangeError("Attempt to write outside buffer bounds");me||(me="utf8");let Le=!1;for(;;)switch(me){case"hex":return y(this,A,J,re);case"utf8":case"utf-8":return w(this,A,J,re);case"ascii":case"latin1":case"binary":return L(this,A,J,re);case"base64":return N(this,A,J,re);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p(this,A,J,re);default:if(Le)throw new TypeError("Unknown encoding: "+me);me=(""+me).toLowerCase(),Le=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function o(G,A,J){return A===0&&J===G.length?t.fromByteArray(G):t.fromByteArray(G.slice(A,J))}function a(G,A,J){J=Math.min(G.length,J);const re=[];let me=A;for(;me<J;){const Se=G[me];let Le=null,Re=Se>239?4:Se>223?3:Se>191?2:1;if(me+Re<=J){let nt,st,dt,ut;switch(Re){case 1:Se<128&&(Le=Se);break;case 2:nt=G[me+1],(nt&192)===128&&(ut=(Se&31)<<6|nt&63,ut>127&&(Le=ut));break;case 3:nt=G[me+1],st=G[me+2],(nt&192)===128&&(st&192)===128&&(ut=(Se&15)<<12|(nt&63)<<6|st&63,ut>2047&&(ut<55296||ut>57343)&&(Le=ut));break;case 4:nt=G[me+1],st=G[me+2],dt=G[me+3],(nt&192)===128&&(st&192)===128&&(dt&192)===128&&(ut=(Se&15)<<18|(nt&63)<<12|(st&63)<<6|dt&63,ut>65535&&ut<1114112&&(Le=ut))}}Le===null?(Le=65533,Re=1):Le>65535&&(Le-=65536,re.push(Le>>>10&1023|55296),Le=56320|Le&1023),re.push(Le),me+=Re}return h(re)}const d=4096;function h(G){const A=G.length;if(A<=d)return String.fromCharCode.apply(String,G);let J="",re=0;for(;re<A;)J+=String.fromCharCode.apply(String,G.slice(re,re+=d));return J}function b(G,A,J){let re="";J=Math.min(G.length,J);for(let me=A;me<J;++me)re+=String.fromCharCode(G[me]&127);return re}function R(G,A,J){let re="";J=Math.min(G.length,J);for(let me=A;me<J;++me)re+=String.fromCharCode(G[me]);return re}function x(G,A,J){const re=G.length;(!A||A<0)&&(A=0),(!J||J<0||J>re)&&(J=re);let me="";for(let Se=A;Se<J;++Se)me+=je[G[Se]];return me}function j(G,A,J){const re=G.slice(A,J);let me="";for(let Se=0;Se<re.length-1;Se+=2)me+=String.fromCharCode(re[Se]+re[Se+1]*256);return me}f.prototype.slice=function(A,J){const re=this.length;A=~~A,J=J===void 0?re:~~J,A<0?(A+=re,A<0&&(A=0)):A>re&&(A=re),J<0?(J+=re,J<0&&(J=0)):J>re&&(J=re),J<A&&(J=A);const me=this.subarray(A,J);return Object.setPrototypeOf(me,f.prototype),me};function W(G,A,J){if(G%1!==0||G<0)throw new RangeError("offset is not uint");if(G+A>J)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUintLE=f.prototype.readUIntLE=function(A,J,re){A=A>>>0,J=J>>>0,re||W(A,J,this.length);let me=this[A],Se=1,Le=0;for(;++Le<J&&(Se*=256);)me+=this[A+Le]*Se;return me},f.prototype.readUintBE=f.prototype.readUIntBE=function(A,J,re){A=A>>>0,J=J>>>0,re||W(A,J,this.length);let me=this[A+--J],Se=1;for(;J>0&&(Se*=256);)me+=this[A+--J]*Se;return me},f.prototype.readUint8=f.prototype.readUInt8=function(A,J){return A=A>>>0,J||W(A,1,this.length),this[A]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(A,J){return A=A>>>0,J||W(A,2,this.length),this[A]|this[A+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(A,J){return A=A>>>0,J||W(A,2,this.length),this[A]<<8|this[A+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(A,J){return A=A>>>0,J||W(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+this[A+3]*16777216},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(A,J){return A=A>>>0,J||W(A,4,this.length),this[A]*16777216+(this[A+1]<<16|this[A+2]<<8|this[A+3])},f.prototype.readBigUInt64LE=Q(function(A){A=A>>>0,ce(A,"offset");const J=this[A],re=this[A+7];(J===void 0||re===void 0)&&fe(A,this.length-8);const me=J+this[++A]*2**8+this[++A]*2**16+this[++A]*2**24,Se=this[++A]+this[++A]*2**8+this[++A]*2**16+re*2**24;return BigInt(me)+(BigInt(Se)<<BigInt(32))}),f.prototype.readBigUInt64BE=Q(function(A){A=A>>>0,ce(A,"offset");const J=this[A],re=this[A+7];(J===void 0||re===void 0)&&fe(A,this.length-8);const me=J*2**24+this[++A]*2**16+this[++A]*2**8+this[++A],Se=this[++A]*2**24+this[++A]*2**16+this[++A]*2**8+re;return(BigInt(me)<<BigInt(32))+BigInt(Se)}),f.prototype.readIntLE=function(A,J,re){A=A>>>0,J=J>>>0,re||W(A,J,this.length);let me=this[A],Se=1,Le=0;for(;++Le<J&&(Se*=256);)me+=this[A+Le]*Se;return Se*=128,me>=Se&&(me-=Math.pow(2,8*J)),me},f.prototype.readIntBE=function(A,J,re){A=A>>>0,J=J>>>0,re||W(A,J,this.length);let me=J,Se=1,Le=this[A+--me];for(;me>0&&(Se*=256);)Le+=this[A+--me]*Se;return Se*=128,Le>=Se&&(Le-=Math.pow(2,8*J)),Le},f.prototype.readInt8=function(A,J){return A=A>>>0,J||W(A,1,this.length),this[A]&128?(255-this[A]+1)*-1:this[A]},f.prototype.readInt16LE=function(A,J){A=A>>>0,J||W(A,2,this.length);const re=this[A]|this[A+1]<<8;return re&32768?re|4294901760:re},f.prototype.readInt16BE=function(A,J){A=A>>>0,J||W(A,2,this.length);const re=this[A+1]|this[A]<<8;return re&32768?re|4294901760:re},f.prototype.readInt32LE=function(A,J){return A=A>>>0,J||W(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},f.prototype.readInt32BE=function(A,J){return A=A>>>0,J||W(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},f.prototype.readBigInt64LE=Q(function(A){A=A>>>0,ce(A,"offset");const J=this[A],re=this[A+7];(J===void 0||re===void 0)&&fe(A,this.length-8);const me=this[A+4]+this[A+5]*2**8+this[A+6]*2**16+(re<<24);return(BigInt(me)<<BigInt(32))+BigInt(J+this[++A]*2**8+this[++A]*2**16+this[++A]*2**24)}),f.prototype.readBigInt64BE=Q(function(A){A=A>>>0,ce(A,"offset");const J=this[A],re=this[A+7];(J===void 0||re===void 0)&&fe(A,this.length-8);const me=(J<<24)+this[++A]*2**16+this[++A]*2**8+this[++A];return(BigInt(me)<<BigInt(32))+BigInt(this[++A]*2**24+this[++A]*2**16+this[++A]*2**8+re)}),f.prototype.readFloatLE=function(A,J){return A=A>>>0,J||W(A,4,this.length),n.read(this,A,!0,23,4)},f.prototype.readFloatBE=function(A,J){return A=A>>>0,J||W(A,4,this.length),n.read(this,A,!1,23,4)},f.prototype.readDoubleLE=function(A,J){return A=A>>>0,J||W(A,8,this.length),n.read(this,A,!0,52,8)},f.prototype.readDoubleBE=function(A,J){return A=A>>>0,J||W(A,8,this.length),n.read(this,A,!1,52,8)};function k(G,A,J,re,me,Se){if(!f.isBuffer(G))throw new TypeError('"buffer" argument must be a Buffer instance');if(A>me||A<Se)throw new RangeError('"value" argument is out of bounds');if(J+re>G.length)throw new RangeError("Index out of range")}f.prototype.writeUintLE=f.prototype.writeUIntLE=function(A,J,re,me){if(A=+A,J=J>>>0,re=re>>>0,!me){const Re=Math.pow(2,8*re)-1;k(this,A,J,re,Re,0)}let Se=1,Le=0;for(this[J]=A&255;++Le<re&&(Se*=256);)this[J+Le]=A/Se&255;return J+re},f.prototype.writeUintBE=f.prototype.writeUIntBE=function(A,J,re,me){if(A=+A,J=J>>>0,re=re>>>0,!me){const Re=Math.pow(2,8*re)-1;k(this,A,J,re,Re,0)}let Se=re-1,Le=1;for(this[J+Se]=A&255;--Se>=0&&(Le*=256);)this[J+Se]=A/Le&255;return J+re},f.prototype.writeUint8=f.prototype.writeUInt8=function(A,J,re){return A=+A,J=J>>>0,re||k(this,A,J,1,255,0),this[J]=A&255,J+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(A,J,re){return A=+A,J=J>>>0,re||k(this,A,J,2,65535,0),this[J]=A&255,this[J+1]=A>>>8,J+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(A,J,re){return A=+A,J=J>>>0,re||k(this,A,J,2,65535,0),this[J]=A>>>8,this[J+1]=A&255,J+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(A,J,re){return A=+A,J=J>>>0,re||k(this,A,J,4,4294967295,0),this[J+3]=A>>>24,this[J+2]=A>>>16,this[J+1]=A>>>8,this[J]=A&255,J+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(A,J,re){return A=+A,J=J>>>0,re||k(this,A,J,4,4294967295,0),this[J]=A>>>24,this[J+1]=A>>>16,this[J+2]=A>>>8,this[J+3]=A&255,J+4};function O(G,A,J,re,me){Ne(A,re,me,G,J,7);let Se=Number(A&BigInt(4294967295));G[J++]=Se,Se=Se>>8,G[J++]=Se,Se=Se>>8,G[J++]=Se,Se=Se>>8,G[J++]=Se;let Le=Number(A>>BigInt(32)&BigInt(4294967295));return G[J++]=Le,Le=Le>>8,G[J++]=Le,Le=Le>>8,G[J++]=Le,Le=Le>>8,G[J++]=Le,J}function V(G,A,J,re,me){Ne(A,re,me,G,J,7);let Se=Number(A&BigInt(4294967295));G[J+7]=Se,Se=Se>>8,G[J+6]=Se,Se=Se>>8,G[J+5]=Se,Se=Se>>8,G[J+4]=Se;let Le=Number(A>>BigInt(32)&BigInt(4294967295));return G[J+3]=Le,Le=Le>>8,G[J+2]=Le,Le=Le>>8,G[J+1]=Le,Le=Le>>8,G[J]=Le,J+8}f.prototype.writeBigUInt64LE=Q(function(A,J=0){return O(this,A,J,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeBigUInt64BE=Q(function(A,J=0){return V(this,A,J,BigInt(0),BigInt("0xffffffffffffffff"))}),f.prototype.writeIntLE=function(A,J,re,me){if(A=+A,J=J>>>0,!me){const nt=Math.pow(2,8*re-1);k(this,A,J,re,nt-1,-nt)}let Se=0,Le=1,Re=0;for(this[J]=A&255;++Se<re&&(Le*=256);)A<0&&Re===0&&this[J+Se-1]!==0&&(Re=1),this[J+Se]=(A/Le>>0)-Re&255;return J+re},f.prototype.writeIntBE=function(A,J,re,me){if(A=+A,J=J>>>0,!me){const nt=Math.pow(2,8*re-1);k(this,A,J,re,nt-1,-nt)}let Se=re-1,Le=1,Re=0;for(this[J+Se]=A&255;--Se>=0&&(Le*=256);)A<0&&Re===0&&this[J+Se+1]!==0&&(Re=1),this[J+Se]=(A/Le>>0)-Re&255;return J+re},f.prototype.writeInt8=function(A,J,re){return A=+A,J=J>>>0,re||k(this,A,J,1,127,-128),A<0&&(A=255+A+1),this[J]=A&255,J+1},f.prototype.writeInt16LE=function(A,J,re){return A=+A,J=J>>>0,re||k(this,A,J,2,32767,-32768),this[J]=A&255,this[J+1]=A>>>8,J+2},f.prototype.writeInt16BE=function(A,J,re){return A=+A,J=J>>>0,re||k(this,A,J,2,32767,-32768),this[J]=A>>>8,this[J+1]=A&255,J+2},f.prototype.writeInt32LE=function(A,J,re){return A=+A,J=J>>>0,re||k(this,A,J,4,2147483647,-2147483648),this[J]=A&255,this[J+1]=A>>>8,this[J+2]=A>>>16,this[J+3]=A>>>24,J+4},f.prototype.writeInt32BE=function(A,J,re){return A=+A,J=J>>>0,re||k(this,A,J,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),this[J]=A>>>24,this[J+1]=A>>>16,this[J+2]=A>>>8,this[J+3]=A&255,J+4},f.prototype.writeBigInt64LE=Q(function(A,J=0){return O(this,A,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),f.prototype.writeBigInt64BE=Q(function(A,J=0){return V(this,A,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function te(G,A,J,re,me,Se){if(J+re>G.length)throw new RangeError("Index out of range");if(J<0)throw new RangeError("Index out of range")}function ue(G,A,J,re,me){return A=+A,J=J>>>0,me||te(G,A,J,4),n.write(G,A,J,re,23,4),J+4}f.prototype.writeFloatLE=function(A,J,re){return ue(this,A,J,!0,re)},f.prototype.writeFloatBE=function(A,J,re){return ue(this,A,J,!1,re)};function Y(G,A,J,re,me){return A=+A,J=J>>>0,me||te(G,A,J,8),n.write(G,A,J,re,52,8),J+8}f.prototype.writeDoubleLE=function(A,J,re){return Y(this,A,J,!0,re)},f.prototype.writeDoubleBE=function(A,J,re){return Y(this,A,J,!1,re)},f.prototype.copy=function(A,J,re,me){if(!f.isBuffer(A))throw new TypeError("argument should be a Buffer");if(re||(re=0),!me&&me!==0&&(me=this.length),J>=A.length&&(J=A.length),J||(J=0),me>0&&me<re&&(me=re),me===re||A.length===0||this.length===0)return 0;if(J<0)throw new RangeError("targetStart out of bounds");if(re<0||re>=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),A.length-J<me-re&&(me=A.length-J+re);const Se=me-re;return this===A&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(J,re,me):Uint8Array.prototype.set.call(A,this.subarray(re,me),J),Se},f.prototype.fill=function(A,J,re,me){if(typeof A=="string"){if(typeof J=="string"?(me=J,J=0,re=this.length):typeof re=="string"&&(me=re,re=this.length),me!==void 0&&typeof me!="string")throw new TypeError("encoding must be a string");if(typeof me=="string"&&!f.isEncoding(me))throw new TypeError("Unknown encoding: "+me);if(A.length===1){const Le=A.charCodeAt(0);(me==="utf8"&&Le<128||me==="latin1")&&(A=Le)}}else typeof A=="number"?A=A&255:typeof A=="boolean"&&(A=Number(A));if(J<0||this.length<J||this.length<re)throw new RangeError("Out of range index");if(re<=J)return this;J=J>>>0,re=re===void 0?this.length:re>>>0,A||(A=0);let Se;if(typeof A=="number")for(Se=J;Se<re;++Se)this[Se]=A;else{const Le=f.isBuffer(A)?A:f.from(A,me),Re=Le.length;if(Re===0)throw new TypeError('The value "'+A+'" is invalid for argument "value"');for(Se=0;Se<re-J;++Se)this[Se+J]=Le[Se%Re]}return this};const $={};function ae(G,A,J){$[G]=class extends J{constructor(){super(),Object.defineProperty(this,"message",{value:A.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${G}]`,this.stack,delete this.name}get code(){return G}set code(me){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:me,writable:!0})}toString(){return`${this.name} [${G}]: ${this.message}`}}}ae("ERR_BUFFER_OUT_OF_BOUNDS",function(G){return G?`${G} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ae("ERR_INVALID_ARG_TYPE",function(G,A){return`The "${G}" argument must be of type number. Received type ${typeof A}`},TypeError),ae("ERR_OUT_OF_RANGE",function(G,A,J){let re=`The value of "${G}" is out of range.`,me=J;return Number.isInteger(J)&&Math.abs(J)>2**32?me=pe(String(J)):typeof J=="bigint"&&(me=String(J),(J>BigInt(2)**BigInt(32)||J<-(BigInt(2)**BigInt(32)))&&(me=pe(me)),me+="n"),re+=` It must be ${A}. Received ${me}`,re},RangeError);function pe(G){let A="",J=G.length;const re=G[0]==="-"?1:0;for(;J>=re+4;J-=3)A=`_${G.slice(J-3,J)}${A}`;return`${G.slice(0,J)}${A}`}function Te(G,A,J){ce(A,"offset"),(G[A]===void 0||G[A+J]===void 0)&&fe(A,G.length-(J+1))}function Ne(G,A,J,re,me,Se){if(G>J||G<A){const Le=typeof A=="bigint"?"n":"";let Re;throw Se>3?A===0||A===BigInt(0)?Re=`>= 0${Le} and < 2${Le} ** ${(Se+1)*8}${Le}`:Re=`>= -(2${Le} ** ${(Se+1)*8-1}${Le}) and < 2 ** ${(Se+1)*8-1}${Le}`:Re=`>= ${A}${Le} and <= ${J}${Le}`,new $.ERR_OUT_OF_RANGE("value",Re,G)}Te(re,me,Se)}function ce(G,A){if(typeof G!="number")throw new $.ERR_INVALID_ARG_TYPE(A,"number",G)}function fe(G,A,J){throw Math.floor(G)!==G?(ce(G,J),new $.ERR_OUT_OF_RANGE(J||"offset","an integer",G)):A<0?new $.ERR_BUFFER_OUT_OF_BOUNDS:new $.ERR_OUT_OF_RANGE(J||"offset",`>= ${J?1:0} and <= ${A}`,G)}const le=/[^+/0-9A-Za-z-_]/g;function X(G){if(G=G.split("=")[0],G=G.trim().replace(le,""),G.length<2)return"";for(;G.length%4!==0;)G=G+"=";return G}function z(G,A){A=A||1/0;let J;const re=G.length;let me=null;const Se=[];for(let Le=0;Le<re;++Le){if(J=G.charCodeAt(Le),J>55295&&J<57344){if(!me){if(J>56319){(A-=3)>-1&&Se.push(239,191,189);continue}else if(Le+1===re){(A-=3)>-1&&Se.push(239,191,189);continue}me=J;continue}if(J<56320){(A-=3)>-1&&Se.push(239,191,189),me=J;continue}J=(me-55296<<10|J-56320)+65536}else me&&(A-=3)>-1&&Se.push(239,191,189);if(me=null,J<128){if((A-=1)<0)break;Se.push(J)}else if(J<2048){if((A-=2)<0)break;Se.push(J>>6|192,J&63|128)}else if(J<65536){if((A-=3)<0)break;Se.push(J>>12|224,J>>6&63|128,J&63|128)}else if(J<1114112){if((A-=4)<0)break;Se.push(J>>18|240,J>>12&63|128,J>>6&63|128,J&63|128)}else throw new Error("Invalid code point")}return Se}function K(G){const A=[];for(let J=0;J<G.length;++J)A.push(G.charCodeAt(J)&255);return A}function se(G,A){let J,re,me;const Se=[];for(let Le=0;Le<G.length&&!((A-=2)<0);++Le)J=G.charCodeAt(Le),re=J>>8,me=J%256,Se.push(me),Se.push(re);return Se}function he(G){return t.toByteArray(X(G))}function ve(G,A,J,re){let me;for(me=0;me<re&&!(me+J>=A.length||me>=G.length);++me)A[me+J]=G[me];return me}function we(G,A){return G instanceof A||G!=null&&G.constructor!=null&&G.constructor.name!=null&&G.constructor.name===A.name}function Pe(G){return G!==G}const je=function(){const G="0123456789abcdef",A=new Array(256);for(let J=0;J<16;++J){const re=J*16;for(let me=0;me<16;++me)A[re+me]=G[J]+G[me]}return A}();function Q(G){return typeof BigInt>"u"?ee:G}function ee(){throw new Error("BigInt not supported")}})(Hr);var Kt={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)},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,TypedArrayPrototypeSet(e,t,n){return e.set(t,n)},Uint8Array},Yv={exports:{}};(function(e){const t=Hr,n=Object.getPrototypeOf(async function(){}).constructor,i=globalThis.Blob||t.Blob,r=typeof i<"u"?function(f){return f instanceof i}:function(f){return!1};class l extends Error{constructor(f){if(!Array.isArray(f))throw new TypeError(`Expected input to be an Array, got ${typeof f}`);let m="";for(let v=0;v<f.length;v++)m+=` ${f[v].stack}
|
|
971
|
-
`;super(m),this.name="AggregateError",this.errors=f}}e.exports={AggregateError:l,kEmptyObject:Object.freeze({}),once(u){let f=!1;return function(...m){f||(f=!0,u.apply(this,m))}},createDeferredPromise:function(){let u,f;return{promise:new Promise((v,S)=>{u=v,f=S}),resolve:u,reject:f}},promisify(u){return new Promise((f,m)=>{u((v,...S)=>v?m(v):f(...S))})},debuglog(){return function(){}},format(u,...f){return u.replace(/%([sdifj])/g,function(...[m,v]){const S=f.shift();return v==="f"?S.toFixed(6):v==="j"?JSON.stringify(S):v==="s"&&typeof S=="object"?`${S.constructor!==Object?S.constructor.name:""} {}`.trim():S.toString()})},inspect(u){switch(typeof u){case"string":if(u.includes("'"))if(u.includes('"')){if(!u.includes("`")&&!u.includes("${"))return`\`${u}\``}else return`"${u}"`;return`'${u}'`;case"number":return isNaN(u)?"NaN":Object.is(u,-0)?String(u):u;case"bigint":return`${String(u)}n`;case"boolean":case"undefined":return String(u);case"object":return"{}"}},types:{isAsyncFunction(u){return u instanceof n},isArrayBufferView(u){return ArrayBuffer.isView(u)}},isBlob:r},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(Yv);var fr=Yv.exports,zp={},hl={exports:{}},Vj=hl.exports,_0;function Jp(){return _0||(_0=1,Object.defineProperty(Vj,"__esModule",{value:!0}),hl.exports=Object.freeze(Object.create(null,{__unenv__:{get:()=>!0}}))),hl.exports}const{format:Kj,inspect:Cl,AggregateError:Zj}=fr,Qj=globalThis.AggregateError||Zj,Xj=Symbol("kIsNodeError"),Yj=["string","function","number","object","Function","Object","boolean","bigint","symbol"],$j=/^([A-Z][a-z0-9]*)+$/,eR="__node_internal_",Tc={};function bs(e,t){if(!e)throw new Tc.ERR_INTERNAL_ASSERTION(t)}function N0(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 tR(e,t,n){if(typeof t=="function")return bs(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 bs(i===n.length,`Code: ${e}; The provided arguments length (${n.length}) does not match the required ones (${i}).`),n.length===0?t:Kj(t,...n)}function tn(e,t,n){n||(n=Error);class i extends n{constructor(...l){super(tR(e,t,l))}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[Xj]=!0,Tc[e]=i}function k0(e){const t=eR+e.name;return Object.defineProperty(e,"name",{value:t}),e}function nR(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const n=new Qj([t,e],t.message);return n.code=t.code,n}return e||t}let iR=class extends Error{constructor(t="The operation was aborted",n=void 0){if(n!==void 0&&typeof n!="object")throw new Tc.ERR_INVALID_ARG_TYPE("options","Object",n);super(t,n),this.code="ABORT_ERR",this.name="AbortError"}};tn("ERR_ASSERTION","%s",Error);tn("ERR_INVALID_ARG_TYPE",(e,t,n)=>{bs(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=[],l=[],u=[];for(const m of t)bs(typeof m=="string","All expected entries have to be of type string"),Yj.includes(m)?r.push(m.toLowerCase()):$j.test(m)?l.push(m):(bs(m!=="object",'The value "object" should be written as "Object"'),u.push(m));if(l.length>0){const m=r.indexOf("object");m!==-1&&(r.splice(r,m,1),l.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 m=r.pop();i+=`one of type ${r.join(", ")}, or ${m}`}}(l.length>0||u.length>0)&&(i+=" or ")}if(l.length>0){switch(l.length){case 1:i+=`an instance of ${l[0]}`;break;case 2:i+=`an instance of ${l[0]} or ${l[1]}`;break;default:{const m=l.pop();i+=`an instance of ${l.join(", ")}, or ${m}`}}u.length>0&&(i+=" or ")}switch(u.length){case 0:break;case 1:u[0].toLowerCase()!==u[0]&&(i+="an "),i+=`${u[0]}`;break;case 2:i+=`one of ${u[0]} or ${u[1]}`;break;default:{const m=u.pop();i+=`one of ${u.join(", ")}, or ${m}`}}if(n==null)i+=`. Received ${n}`;else if(typeof n=="function"&&n.name)i+=`. Received function ${n.name}`;else if(typeof n=="object"){var f;if((f=n.constructor)!==null&&f!==void 0&&f.name)i+=`. Received an instance of ${n.constructor.name}`;else{const m=Cl(n,{depth:-1});i+=`. Received ${m}`}}else{let m=Cl(n,{colors:!1});m.length>25&&(m=`${m.slice(0,25)}...`),i+=`. Received type ${typeof n} (${m})`}return i},TypeError);tn("ERR_INVALID_ARG_VALUE",(e,t,n="is invalid")=>{let i=Cl(t);return i.length>128&&(i=i.slice(0,128)+"..."),`The ${e.includes(".")?"property":"argument"} '${e}' ${n}. Received ${i}`},TypeError);tn("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);tn("ERR_MISSING_ARGS",(...e)=>{bs(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);tn("ERR_OUT_OF_RANGE",(e,t,n)=>{bs(t,'Missing "range" argument');let i;return Number.isInteger(n)&&Math.abs(n)>2**32?i=N0(String(n)):typeof n=="bigint"?(i=String(n),(n>2n**32n||n<-(2n**32n))&&(i=N0(i)),i+="n"):i=Cl(n),`The value of "${e}" is out of range. It must be ${t}. Received ${i}`},RangeError);tn("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);tn("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);tn("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);tn("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);tn("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);tn("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);tn("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);tn("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);tn("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);tn("ERR_STREAM_WRITE_AFTER_END","write after end",Error);tn("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var _n={AbortError:iR,aggregateTwoErrors:k0(nR),hideStackFrames:k0,codes:Tc};const{ArrayIsArray:Wp,ArrayPrototypeIncludes:$v,ArrayPrototypeJoin:ew,ArrayPrototypeMap:rR,NumberIsInteger:Gp,NumberIsNaN:sR,NumberMAX_SAFE_INTEGER:oR,NumberMIN_SAFE_INTEGER:aR,NumberParseInt:uR,ObjectPrototypeHasOwnProperty:lR,RegExpPrototypeExec:tw,String:cR,StringPrototypeToUpperCase:fR,StringPrototypeTrim:dR}=Kt,{hideStackFrames:ei,codes:{ERR_SOCKET_BAD_PORT:hR,ERR_INVALID_ARG_TYPE:dn,ERR_INVALID_ARG_VALUE:xo,ERR_OUT_OF_RANGE:Es,ERR_UNKNOWN_SIGNAL:O0}}=_n,{normalizeEncoding:pR}=fr,{isAsyncFunction:mR,isArrayBufferView:yR}=fr.types,E0={};function gR(e){return e===(e|0)}function bR(e){return e===e>>>0}const TR=/^[0-7]+$/,SR="must be a 32-bit unsigned integer or an octal string";function vR(e,t,n){if(typeof e>"u"&&(e=n),typeof e=="string"){if(tw(TR,e)===null)throw new xo(t,e,SR);e=uR(e,8)}return nw(e,t),e}const wR=ei((e,t,n=aR,i=oR)=>{if(typeof e!="number")throw new dn(t,"number",e);if(!Gp(e))throw new Es(t,"an integer",e);if(e<n||e>i)throw new Es(t,`>= ${n} && <= ${i}`,e)}),LR=ei((e,t,n=-2147483648,i=2147483647)=>{if(typeof e!="number")throw new dn(t,"number",e);if(!Gp(e))throw new Es(t,"an integer",e);if(e<n||e>i)throw new Es(t,`>= ${n} && <= ${i}`,e)}),nw=ei((e,t,n=!1)=>{if(typeof e!="number")throw new dn(t,"number",e);if(!Gp(e))throw new Es(t,"an integer",e);const i=n?1:0,r=4294967295;if(e<i||e>r)throw new Es(t,`>= ${i} && <= ${r}`,e)});function qp(e,t){if(typeof e!="string")throw new dn(t,"string",e)}function _R(e,t,n=void 0,i){if(typeof e!="number")throw new dn(t,"number",e);if(n!=null&&e<n||i!=null&&e>i||(n!=null||i!=null)&&sR(e))throw new Es(t,`${n!=null?`>= ${n}`:""}${n!=null&&i!=null?" && ":""}${i!=null?`<= ${i}`:""}`,e)}const NR=ei((e,t,n)=>{if(!$v(n,e)){const r="must be one of: "+ew(rR(n,l=>typeof l=="string"?`'${l}'`:cR(l)),", ");throw new xo(t,e,r)}});function iw(e,t){if(typeof e!="boolean")throw new dn(t,"boolean",e)}function Ud(e,t,n){return e==null||!lR(e,t)?n:e[t]}const kR=ei((e,t,n=null)=>{const i=Ud(n,"allowArray",!1),r=Ud(n,"allowFunction",!1);if(!Ud(n,"nullable",!1)&&e===null||!i&&Wp(e)||typeof e!="object"&&(!r||typeof e!="function"))throw new dn(t,"Object",e)}),OR=ei((e,t)=>{if(e!=null&&typeof e!="object"&&typeof e!="function")throw new dn(t,"a dictionary",e)}),Hp=ei((e,t,n=0)=>{if(!Wp(e))throw new dn(t,"Array",e);if(e.length<n){const i=`must be longer than ${n}`;throw new xo(t,e,i)}});function ER(e,t){Hp(e,t);for(let n=0;n<e.length;n++)qp(e[n],`${t}[${n}]`)}function CR(e,t){Hp(e,t);for(let n=0;n<e.length;n++)iw(e[n],`${t}[${n}]`)}function AR(e,t="signal"){if(qp(e,t),E0[e]===void 0)throw E0[fR(e)]!==void 0?new O0(e+" (signals must use all capital letters)"):new O0(e)}const FR=ei((e,t="buffer")=>{if(!yR(e))throw new dn(t,["Buffer","TypedArray","DataView"],e)});function PR(e,t){const n=pR(t),i=e.length;if(n==="hex"&&i%2!==0)throw new xo("encoding",t,`is invalid for data of length ${i}`)}function IR(e,t="Port",n=!0){if(typeof e!="number"&&typeof e!="string"||typeof e=="string"&&dR(e).length===0||+e!==+e>>>0||e>65535||e===0&&!n)throw new hR(t,e,n);return e|0}const MR=ei((e,t)=>{if(e!==void 0&&(e===null||typeof e!="object"||!("aborted"in e)))throw new dn(t,"AbortSignal",e)}),jR=ei((e,t)=>{if(typeof e!="function")throw new dn(t,"Function",e)}),RR=ei((e,t)=>{if(typeof e!="function"||mR(e))throw new dn(t,"Function",e)}),BR=ei((e,t)=>{if(e!==void 0)throw new dn(t,"undefined",e)});function DR(e,t,n){if(!$v(n,e))throw new dn(t,`('${ew(n,"|")}')`,e)}const xR=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function C0(e,t){if(typeof e>"u"||!tw(xR,e))throw new xo(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}function UR(e){if(typeof e=="string")return C0(e,"hints"),e;if(Wp(e)){const t=e.length;let n="";if(t===0)return n;for(let i=0;i<t;i++){const r=e[i];C0(r,"hints"),n+=r,i!==t-1&&(n+=", ")}return n}throw new xo("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}var Sc={isInt32:gR,isUint32:bR,parseFileMode:vR,validateArray:Hp,validateStringArray:ER,validateBooleanArray:CR,validateBoolean:iw,validateBuffer:FR,validateDictionary:OR,validateEncoding:PR,validateFunction:jR,validateInt32:LR,validateInteger:wR,validateNumber:_R,validateObject:kR,validateOneOf:NR,validatePlainFunction:RR,validatePort:IR,validateSignalName:AR,validateString:qp,validateUint32:nw,validateUndefined:BR,validateUnion:DR,validateAbortSignal:MR,validateLinkHeaderValue:UR},Vp={exports:{}},rw={exports:{}},Wt=rw.exports={},_i,Ni;function Nh(){throw new Error("setTimeout has not been defined")}function kh(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?_i=setTimeout:_i=Nh}catch{_i=Nh}try{typeof clearTimeout=="function"?Ni=clearTimeout:Ni=kh}catch{Ni=kh}})();function sw(e){if(_i===setTimeout)return setTimeout(e,0);if((_i===Nh||!_i)&&setTimeout)return _i=setTimeout,setTimeout(e,0);try{return _i(e,0)}catch{try{return _i.call(null,e,0)}catch{return _i.call(this,e,0)}}}function zR(e){if(Ni===clearTimeout)return clearTimeout(e);if((Ni===kh||!Ni)&&clearTimeout)return Ni=clearTimeout,clearTimeout(e);try{return Ni(e)}catch{try{return Ni.call(null,e)}catch{return Ni.call(this,e)}}}var er=[],vo=!1,ps,pl=-1;function JR(){!vo||!ps||(vo=!1,ps.length?er=ps.concat(er):pl=-1,er.length&&ow())}function ow(){if(!vo){var e=sw(JR);vo=!0;for(var t=er.length;t;){for(ps=er,er=[];++pl<t;)ps&&ps[pl].run();pl=-1,t=er.length}ps=null,vo=!1,zR(e)}}Wt.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];er.push(new aw(e,t)),er.length===1&&!vo&&sw(ow)};function aw(e,t){this.fun=e,this.array=t}aw.prototype.run=function(){this.fun.apply(null,this.array)};Wt.title="browser";Wt.browser=!0;Wt.env={};Wt.argv=[];Wt.version="";Wt.versions={};function dr(){}Wt.on=dr;Wt.addListener=dr;Wt.once=dr;Wt.off=dr;Wt.removeListener=dr;Wt.removeAllListeners=dr;Wt.emit=dr;Wt.prependListener=dr;Wt.prependOnceListener=dr;Wt.listeners=function(e){return[]};Wt.binding=function(e){throw new Error("process.binding is not supported")};Wt.cwd=function(){return"/"};Wt.chdir=function(e){throw new Error("process.chdir is not supported")};Wt.umask=function(){return 0};var Rs=rw.exports;const{Symbol:vc,SymbolAsyncIterator:A0,SymbolIterator:F0,SymbolFor:uw}=Kt,lw=vc("kDestroyed"),cw=vc("kIsErrored"),Oh=vc("kIsReadable"),fw=vc("kIsDisturbed"),WR=uw("nodejs.webstream.isClosedPromise"),GR=uw("nodejs.webstream.controllerErrorFunction");function wc(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 Lc(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 qR(e){return!!(e&&typeof e.pipe=="function"&&e._readableState&&typeof e.on=="function"&&typeof e.write=="function")}function Ri(e){return e&&(e._readableState||e._writableState||typeof e.write=="function"&&typeof e.on=="function"||typeof e.pipe=="function"&&typeof e.on=="function")}function dw(e){return!!(e&&!Ri(e)&&typeof e.pipeThrough=="function"&&typeof e.getReader=="function"&&typeof e.cancel=="function")}function hw(e){return!!(e&&!Ri(e)&&typeof e.getWriter=="function"&&typeof e.abort=="function")}function pw(e){return!!(e&&!Ri(e)&&typeof e.readable=="object"&&typeof e.writable=="object")}function HR(e){return dw(e)||hw(e)||pw(e)}function VR(e,t){return e==null?!1:t===!0?typeof e[A0]=="function":t===!1?typeof e[F0]=="function":typeof e[A0]=="function"||typeof e[F0]=="function"}function _c(e){if(!Ri(e))return null;const t=e._writableState,n=e._readableState,i=t||n;return!!(e.destroyed||e[lw]||i!=null&&i.destroyed)}function mw(e){if(!Lc(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 KR(e,t){if(!Lc(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 ZR(e){if(!wc(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 yw(e,t){if(!wc(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 gw(e){return e&&e[Oh]!=null?e[Oh]:typeof e?.readable!="boolean"?null:_c(e)?!1:wc(e)&&e.readable&&!yw(e)}function bw(e){return typeof e?.writable!="boolean"?null:_c(e)?!1:Lc(e)&&e.writable&&!mw(e)}function QR(e,t){return Ri(e)?_c(e)?!0:!(t?.readable!==!1&&gw(e)||t?.writable!==!1&&bw(e)):null}function XR(e){var t,n;return Ri(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 Ri(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 $R(e){if(!Ri(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"&&Tw(e)?e._closed:null}function Tw(e){return typeof e._closed=="boolean"&&typeof e._defaultKeepAlive=="boolean"&&typeof e._removedConnection=="boolean"&&typeof e._removedContLen=="boolean"}function Sw(e){return typeof e._sent100=="boolean"&&Tw(e)}function eB(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 tB(e){if(!Ri(e))return null;const t=e._writableState,n=e._readableState,i=t||n;return!i&&Sw(e)||!!(i&&i.autoDestroy&&i.emitClose&&i.closed===!1)}function nB(e){var t;return!!(e&&((t=e[fw])!==null&&t!==void 0?t:e.readableDidRead||e.readableAborted))}function iB(e){var t,n,i,r,l,u,f,m,v,S;return!!(e&&((t=(n=(i=(r=(l=(u=e[cw])!==null&&u!==void 0?u:e.readableErrored)!==null&&l!==void 0?l:e.writableErrored)!==null&&r!==void 0?r:(f=e._readableState)===null||f===void 0?void 0:f.errorEmitted)!==null&&i!==void 0?i:(m=e._writableState)===null||m===void 0?void 0:m.errorEmitted)!==null&&n!==void 0?n:(v=e._readableState)===null||v===void 0?void 0:v.errored)!==null&&t!==void 0?t:!((S=e._writableState)===null||S===void 0)&&S.errored))}var hr={kDestroyed:lw,isDisturbed:nB,kIsDisturbed:fw,isErrored:iB,kIsErrored:cw,isReadable:gw,kIsReadable:Oh,kIsClosedPromise:WR,kControllerErrorFunction:GR,isClosed:$R,isDestroyed:_c,isDuplexNodeStream:qR,isFinished:QR,isIterable:VR,isReadableNodeStream:wc,isReadableStream:dw,isReadableEnded:ZR,isReadableFinished:yw,isReadableErrored:YR,isNodeStream:Ri,isWebStream:HR,isWritable:bw,isWritableNodeStream:Lc,isWritableStream:hw,isWritableEnded:mw,isWritableFinished:KR,isWritableErrored:XR,isServerRequest:eB,isServerResponse:Sw,willEmitClose:tB,isTransformStream:pw};const Ar=Rs,{AbortError:vw,codes:rB}=_n,{ERR_INVALID_ARG_TYPE:sB,ERR_STREAM_PREMATURE_CLOSE:P0}=rB,{kEmptyObject:Eh,once:Ch}=fr,{validateAbortSignal:oB,validateFunction:aB,validateObject:uB,validateBoolean:lB}=Sc,{Promise:cB,PromisePrototypeThen:fB}=Kt,{isClosed:dB,isReadable:I0,isReadableNodeStream:zd,isReadableStream:hB,isReadableFinished:M0,isReadableErrored:j0,isWritable:R0,isWritableNodeStream:B0,isWritableStream:pB,isWritableFinished:D0,isWritableErrored:x0,isNodeStream:mB,willEmitClose:yB,kIsClosedPromise:gB}=hr;function bB(e){return e.setHeader&&typeof e.abort=="function"}const Ah=()=>{};function ww(e,t,n){var i,r;if(arguments.length===2?(n=t,t=Eh):t==null?t=Eh:uB(t,"options"),aB(n,"callback"),oB(t.signal,"options.signal"),n=Ch(n),hB(e)||pB(e))return TB(e,t,n);if(!mB(e))throw new sB("stream",["ReadableStream","WritableStream","Stream"],e);const l=(i=t.readable)!==null&&i!==void 0?i:zd(e),u=(r=t.writable)!==null&&r!==void 0?r:B0(e),f=e._writableState,m=e._readableState,v=()=>{e.writable||D()};let S=yB(e)&&zd(e)===l&&B0(e)===u,C=D0(e,!1);const D=()=>{C=!0,e.destroyed&&(S=!1),!(S&&(!e.readable||l))&&(!l||_)&&n.call(e)};let _=M0(e,!1);const E=()=>{_=!0,e.destroyed&&(S=!1),!(S&&(!e.writable||u))&&(!u||C)&&n.call(e)},T=U=>{n.call(e,U)};let P=dB(e);const I=()=>{P=!0;const U=x0(e)||j0(e);if(U&&typeof U!="boolean")return n.call(e,U);if(l&&!_&&zd(e,!0)&&!M0(e,!1))return n.call(e,new P0);if(u&&!C&&!D0(e,!1))return n.call(e,new P0);n.call(e)},M=()=>{P=!0;const U=x0(e)||j0(e);if(U&&typeof U!="boolean")return n.call(e,U);n.call(e)},H=()=>{e.req.on("finish",D)};bB(e)?(e.on("complete",D),S||e.on("abort",I),e.req?H():e.on("request",H)):u&&!f&&(e.on("end",v),e.on("close",v)),!S&&typeof e.aborted=="boolean"&&e.on("aborted",I),e.on("end",E),e.on("finish",D),t.error!==!1&&e.on("error",T),e.on("close",I),P?Ar.nextTick(I):f!=null&&f.errorEmitted||m!=null&&m.errorEmitted?S||Ar.nextTick(M):(!l&&(!S||I0(e))&&(C||R0(e)===!1)||!u&&(!S||R0(e))&&(_||I0(e)===!1)||m&&e.req&&e.aborted)&&Ar.nextTick(M);const Z=()=>{n=Ah,e.removeListener("aborted",I),e.removeListener("complete",D),e.removeListener("abort",I),e.removeListener("request",H),e.req&&e.req.removeListener("finish",D),e.removeListener("end",v),e.removeListener("close",v),e.removeListener("finish",D),e.removeListener("end",E),e.removeListener("error",T),e.removeListener("close",I)};if(t.signal&&!P){const U=()=>{const B=n;Z(),B.call(e,new vw(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)Ar.nextTick(U);else{const B=n;n=Ch((...F)=>{t.signal.removeEventListener("abort",U),B.apply(e,F)}),t.signal.addEventListener("abort",U)}}return Z}function TB(e,t,n){let i=!1,r=Ah;if(t.signal)if(r=()=>{i=!0,n.call(e,new vw(void 0,{cause:t.signal.reason}))},t.signal.aborted)Ar.nextTick(r);else{const u=n;n=Ch((...f)=>{t.signal.removeEventListener("abort",r),u.apply(e,f)}),t.signal.addEventListener("abort",r)}const l=(...u)=>{i||Ar.nextTick(()=>n.apply(e,u))};return fB(e[gB].promise,l,l),Ah}function SB(e,t){var n;let i=!1;return t===null&&(t=Eh),(n=t)!==null&&n!==void 0&&n.cleanup&&(lB(t.cleanup,"cleanup"),i=t.cleanup),new cB((r,l)=>{const u=ww(e,t,f=>{i&&u(),f?l(f):r()})})}Vp.exports=ww;Vp.exports.finished=SB;var Vr=Vp.exports;const Ii=Rs,{aggregateTwoErrors:vB,codes:{ERR_MULTIPLE_CALLBACK:wB},AbortError:LB}=_n,{Symbol:Lw}=Kt,{kDestroyed:_B,isDestroyed:NB,isFinished:kB,isServerRequest:OB}=hr,_w=Lw("kDestroy"),Fh=Lw("kConstruct");function Nw(e,t,n){e&&(e.stack,t&&!t.errored&&(t.errored=e),n&&!n.errored&&(n.errored=e))}function EB(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):(Nw(e,i,n),i&&(i.destroyed=!0),n&&(n.destroyed=!0),r.constructed?U0(this,e,t):this.once(_w,function(l){U0(this,vB(l,e),t)}),this)}function U0(e,t,n){let i=!1;function r(l){if(i)return;i=!0;const u=e._readableState,f=e._writableState;Nw(l,f,u),f&&(f.closed=!0),u&&(u.closed=!0),typeof n=="function"&&n(l),l?Ii.nextTick(CB,e,l):Ii.nextTick(kw,e)}try{e._destroy(t||null,r)}catch(l){r(l)}}function CB(e,t){Ph(e,t),kw(e)}function kw(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 Ph(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 AB(){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 Ih(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?Ii.nextTick(Ph,e,t):Ph(e,t))}function FB(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(Fh,t),!(e.listenerCount(Fh)>1)&&Ii.nextTick(PB,e)}function PB(e){let t=!1;function n(i){if(t){Ih(e,i??new wB);return}t=!0;const r=e._readableState,l=e._writableState,u=l||r;r&&(r.constructed=!0),l&&(l.constructed=!0),u.destroyed?e.emit(_w,i):i?Ih(e,i,!0):Ii.nextTick(IB,e)}try{e._construct(i=>{Ii.nextTick(n,i)})}catch(i){Ii.nextTick(n,i)}}function IB(e){e.emit(Fh)}function z0(e){return e?.setHeader&&typeof e.abort=="function"}function Ow(e){e.emit("close")}function MB(e,t){e.emit("error",t),Ii.nextTick(Ow,e)}function jB(e,t){!e||NB(e)||(!t&&!kB(e)&&(t=new LB),OB(e)?(e.socket=null,e.destroy(t)):z0(e)?e.abort():z0(e.req)?e.req.abort():typeof e.destroy=="function"?e.destroy(t):typeof e.close=="function"?e.close():t?Ii.nextTick(MB,e,t):Ii.nextTick(Ow,e),e.destroyed||(e[_B]=!0))}var Uo={construct:FB,destroyer:jB,destroy:EB,undestroy:AB,errorOrDestroy:Ih},Kp={exports:{}},wo=typeof Reflect=="object"?Reflect:null,J0=wo&&typeof wo.apply=="function"?wo.apply:function(t,n,i){return Function.prototype.apply.call(t,n,i)},ml;wo&&typeof wo.ownKeys=="function"?ml=wo.ownKeys:Object.getOwnPropertySymbols?ml=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:ml=function(t){return Object.getOwnPropertyNames(t)};function RB(e){console&&console.warn&&console.warn(e)}var Ew=Number.isNaN||function(t){return t!==t};function Tt(){Tt.init.call(this)}Kp.exports=Tt;Kp.exports.once=UB;Tt.EventEmitter=Tt;Tt.prototype._events=void 0;Tt.prototype._eventsCount=0;Tt.prototype._maxListeners=void 0;var W0=10;function Nc(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Tt,"defaultMaxListeners",{enumerable:!0,get:function(){return W0},set:function(e){if(typeof e!="number"||e<0||Ew(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");W0=e}});Tt.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};Tt.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||Ew(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 Cw(e){return e._maxListeners===void 0?Tt.defaultMaxListeners:e._maxListeners}Tt.prototype.getMaxListeners=function(){return Cw(this)};Tt.prototype.emit=function(t){for(var n=[],i=1;i<arguments.length;i++)n.push(arguments[i]);var r=t==="error",l=this._events;if(l!==void 0)r=r&&l.error===void 0;else if(!r)return!1;if(r){var u;if(n.length>0&&(u=n[0]),u instanceof Error)throw u;var f=new Error("Unhandled error."+(u?" ("+u.message+")":""));throw f.context=u,f}var m=l[t];if(m===void 0)return!1;if(typeof m=="function")J0(m,this,n);else for(var v=m.length,S=Mw(m,v),i=0;i<v;++i)J0(S[i],this,n);return!0};function Aw(e,t,n,i){var r,l,u;if(Nc(n),l=e._events,l===void 0?(l=e._events=Object.create(null),e._eventsCount=0):(l.newListener!==void 0&&(e.emit("newListener",t,n.listener?n.listener:n),l=e._events),u=l[t]),u===void 0)u=l[t]=n,++e._eventsCount;else if(typeof u=="function"?u=l[t]=i?[n,u]:[u,n]:i?u.unshift(n):u.push(n),r=Cw(e),r>0&&u.length>r&&!u.warned){u.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+u.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=e,f.type=t,f.count=u.length,RB(f)}return e}Tt.prototype.addListener=function(t,n){return Aw(this,t,n,!1)};Tt.prototype.on=Tt.prototype.addListener;Tt.prototype.prependListener=function(t,n){return Aw(this,t,n,!0)};function BB(){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 Fw(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=BB.bind(i);return r.listener=n,i.wrapFn=r,r}Tt.prototype.once=function(t,n){return Nc(n),this.on(t,Fw(this,t,n)),this};Tt.prototype.prependOnceListener=function(t,n){return Nc(n),this.prependListener(t,Fw(this,t,n)),this};Tt.prototype.removeListener=function(t,n){var i,r,l,u,f;if(Nc(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(l=-1,u=i.length-1;u>=0;u--)if(i[u]===n||i[u].listener===n){f=i[u].listener,l=u;break}if(l<0)return this;l===0?i.shift():DB(i,l),i.length===1&&(r[t]=i[0]),r.removeListener!==void 0&&this.emit("removeListener",t,f||n)}return this};Tt.prototype.off=Tt.prototype.removeListener;Tt.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 l=Object.keys(i),u;for(r=0;r<l.length;++r)u=l[r],u!=="removeListener"&&this.removeAllListeners(u);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 Pw(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?xB(r):Mw(r,r.length)}Tt.prototype.listeners=function(t){return Pw(this,t,!0)};Tt.prototype.rawListeners=function(t){return Pw(this,t,!1)};Tt.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):Iw.call(e,t)};Tt.prototype.listenerCount=Iw;function Iw(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}Tt.prototype.eventNames=function(){return this._eventsCount>0?ml(this._events):[]};function Mw(e,t){for(var n=new Array(t),i=0;i<t;++i)n[i]=e[i];return n}function DB(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function xB(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function UB(e,t){return new Promise(function(n,i){function r(u){e.removeListener(t,l),i(u)}function l(){typeof e.removeListener=="function"&&e.removeListener("error",r),n([].slice.call(arguments))}jw(e,t,l,{once:!0}),t!=="error"&&zB(e,r,{once:!0})})}function zB(e,t,n){typeof e.on=="function"&&jw(e,"error",t,n)}function jw(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(l){i.once&&e.removeEventListener(t,r),n(l)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var Zp=Kp.exports;const{ArrayIsArray:JB,ObjectSetPrototypeOf:Rw}=Kt,{EventEmitter:kc}=Zp;function Oc(e){kc.call(this,e)}Rw(Oc.prototype,kc.prototype);Rw(Oc,kc);Oc.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",u),n.on("close",f));let l=!1;function u(){l||(l=!0,e.end())}function f(){l||(l=!0,typeof e.destroy=="function"&&e.destroy())}function m(S){v(),kc.listenerCount(this,"error")===0&&this.emit("error",S)}Mh(n,"error",m),Mh(e,"error",m);function v(){n.removeListener("data",i),e.removeListener("drain",r),n.removeListener("end",u),n.removeListener("close",f),n.removeListener("error",m),e.removeListener("error",m),n.removeListener("end",v),n.removeListener("close",v),e.removeListener("close",v)}return n.on("end",v),n.on("close",v),e.on("close",v),e.emit("pipe",n),e};function Mh(e,t,n){if(typeof e.prependListener=="function")return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):JB(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}var Qp={Stream:Oc,prependListener:Mh},Bw={exports:{}};(function(e){const{AbortError:t,codes:n}=_n,{isNodeStream:i,isWebStream:r,kControllerErrorFunction:l}=hr,u=Vr,{ERR_INVALID_ARG_TYPE:f}=n,m=(v,S)=>{if(typeof v!="object"||!("aborted"in v))throw new f(S,"AbortSignal",v)};e.exports.addAbortSignal=function(S,C){if(m(S,"signal"),!i(C)&&!r(C))throw new f("stream",["ReadableStream","WritableStream","Stream"],C);return e.exports.addAbortSignalNoValidate(S,C)},e.exports.addAbortSignalNoValidate=function(v,S){if(typeof v!="object"||!("aborted"in v))return S;const C=i(S)?()=>{S.destroy(new t(void 0,{cause:v.reason}))}:()=>{S[l](new t(void 0,{cause:v.reason}))};return v.aborted?C():(v.addEventListener("abort",C),u(S,()=>v.removeEventListener("abort",C))),S}})(Bw);var Ec=Bw.exports;const{StringPrototypeSlice:G0,SymbolIterator:WB,TypedArrayPrototypeSet:Qu,Uint8Array:GB}=Kt,{Buffer:Jd}=Hr,{inspect:qB}=fr;var HB=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 Jd.alloc(0);const n=Jd.allocUnsafe(t>>>0);let i=this.head,r=0;for(;i;)Qu(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}*[WB](){for(let t=this.head;t;t=t.next)yield t.data}_getString(t){let n="",i=this.head,r=0;do{const l=i.data;if(t>l.length)n+=l,t-=l.length;else{t===l.length?(n+=l,++r,i.next?this.head=i.next:this.head=this.tail=null):(n+=G0(l,0,t),this.head=i,i.data=G0(l,t));break}++r}while((i=i.next)!==null);return this.length-=r,n}_getBuffer(t){const n=Jd.allocUnsafe(t),i=t;let r=this.head,l=0;do{const u=r.data;if(t>u.length)Qu(n,u,i-t),t-=u.length;else{t===u.length?(Qu(n,u,i-t),++l,r.next?this.head=r.next:this.head=this.tail=null):(Qu(n,new GB(u.buffer,u.byteOffset,t),i-t),this.head=r,r.data=u.slice(t));break}++l}while((r=r.next)!==null);return this.length-=l,n}[Symbol.for("nodejs.util.inspect.custom")](t,n){return qB(this,{...n,depth:0,customInspect:!1})}};const{MathFloor:VB,NumberIsInteger:KB}=Kt,{ERR_INVALID_ARG_VALUE:ZB}=_n.codes;function QB(e,t,n){return e.highWaterMark!=null?e.highWaterMark:t?e[n]:null}function Dw(e){return e?16:16*1024}function XB(e,t,n,i){const r=QB(t,i,n);if(r!=null){if(!KB(r)||r<0){const l=i?`options.${n}`:"options.highWaterMark";throw new ZB(l,r)}return VB(r)}return Dw(e.objectMode)}var Xp={getHighWaterMark:XB,getDefaultHighWaterMark:Dw},xw={},jh={exports:{}},Uw={};/*!
|
|
972
|
-
* The buffer module from node.js, for the browser.
|
|
973
|
-
*
|
|
974
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
975
|
-
* @license MIT
|
|
976
|
-
*/(function(e){var t=Io,n=bc,i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=f,e.SlowBuffer=M,e.INSPECT_MAX_BYTES=50;var r=2147483647;e.kMaxLength=r,f.TYPED_ARRAY_SUPPORT=l(),!f.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 l(){try{var X=new Uint8Array(1),z={foo:function(){return 42}};return Object.setPrototypeOf(z,Uint8Array.prototype),Object.setPrototypeOf(X,z),X.foo()===42}catch{return!1}}Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}});function u(X){if(X>r)throw new RangeError('The value "'+X+'" is invalid for option "size"');var z=new Uint8Array(X);return Object.setPrototypeOf(z,f.prototype),z}function f(X,z,K){if(typeof X=="number"){if(typeof z=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return C(X)}return m(X,z,K)}f.poolSize=8192;function m(X,z,K){if(typeof X=="string")return D(X,z);if(ArrayBuffer.isView(X))return E(X);if(X==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof X);if(ce(X,ArrayBuffer)||X&&ce(X.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ce(X,SharedArrayBuffer)||X&&ce(X.buffer,SharedArrayBuffer)))return T(X,z,K);if(typeof X=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var se=X.valueOf&&X.valueOf();if(se!=null&&se!==X)return f.from(se,z,K);var he=P(X);if(he)return he;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof X[Symbol.toPrimitive]=="function")return f.from(X[Symbol.toPrimitive]("string"),z,K);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof X)}f.from=function(X,z,K){return m(X,z,K)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array);function v(X){if(typeof X!="number")throw new TypeError('"size" argument must be of type number');if(X<0)throw new RangeError('The value "'+X+'" is invalid for option "size"')}function S(X,z,K){return v(X),X<=0?u(X):z!==void 0?typeof K=="string"?u(X).fill(z,K):u(X).fill(z):u(X)}f.alloc=function(X,z,K){return S(X,z,K)};function C(X){return v(X),u(X<0?0:I(X)|0)}f.allocUnsafe=function(X){return C(X)},f.allocUnsafeSlow=function(X){return C(X)};function D(X,z){if((typeof z!="string"||z==="")&&(z="utf8"),!f.isEncoding(z))throw new TypeError("Unknown encoding: "+z);var K=H(X,z)|0,se=u(K),he=se.write(X,z);return he!==K&&(se=se.slice(0,he)),se}function _(X){for(var z=X.length<0?0:I(X.length)|0,K=u(z),se=0;se<z;se+=1)K[se]=X[se]&255;return K}function E(X){if(ce(X,Uint8Array)){var z=new Uint8Array(X);return T(z.buffer,z.byteOffset,z.byteLength)}return _(X)}function T(X,z,K){if(z<0||X.byteLength<z)throw new RangeError('"offset" is outside of buffer bounds');if(X.byteLength<z+(K||0))throw new RangeError('"length" is outside of buffer bounds');var se;return z===void 0&&K===void 0?se=new Uint8Array(X):K===void 0?se=new Uint8Array(X,z):se=new Uint8Array(X,z,K),Object.setPrototypeOf(se,f.prototype),se}function P(X){if(f.isBuffer(X)){var z=I(X.length)|0,K=u(z);return K.length===0||X.copy(K,0,0,z),K}if(X.length!==void 0)return typeof X.length!="number"||fe(X.length)?u(0):_(X);if(X.type==="Buffer"&&Array.isArray(X.data))return _(X.data)}function I(X){if(X>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return X|0}function M(X){return+X!=X&&(X=0),f.alloc(+X)}f.isBuffer=function(z){return z!=null&&z._isBuffer===!0&&z!==f.prototype},f.compare=function(z,K){if(ce(z,Uint8Array)&&(z=f.from(z,z.offset,z.byteLength)),ce(K,Uint8Array)&&(K=f.from(K,K.offset,K.byteLength)),!f.isBuffer(z)||!f.isBuffer(K))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(z===K)return 0;for(var se=z.length,he=K.length,ve=0,we=Math.min(se,he);ve<we;++ve)if(z[ve]!==K[ve]){se=z[ve],he=K[ve];break}return se<he?-1:he<se?1:0},f.isEncoding=function(z){switch(String(z).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}},f.concat=function(z,K){if(!Array.isArray(z))throw new TypeError('"list" argument must be an Array of Buffers');if(z.length===0)return f.alloc(0);var se;if(K===void 0)for(K=0,se=0;se<z.length;++se)K+=z[se].length;var he=f.allocUnsafe(K),ve=0;for(se=0;se<z.length;++se){var we=z[se];if(ce(we,Uint8Array))ve+we.length>he.length?f.from(we).copy(he,ve):Uint8Array.prototype.set.call(he,we,ve);else if(f.isBuffer(we))we.copy(he,ve);else throw new TypeError('"list" argument must be an Array of Buffers');ve+=we.length}return he};function H(X,z){if(f.isBuffer(X))return X.length;if(ArrayBuffer.isView(X)||ce(X,ArrayBuffer))return X.byteLength;if(typeof X!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof X);var K=X.length,se=arguments.length>2&&arguments[2]===!0;if(!se&&K===0)return 0;for(var he=!1;;)switch(z){case"ascii":case"latin1":case"binary":return K;case"utf8":case"utf-8":return $(X).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return K*2;case"hex":return K>>>1;case"base64":return Te(X).length;default:if(he)return se?-1:$(X).length;z=(""+z).toLowerCase(),he=!0}}f.byteLength=H;function Z(X,z,K){var se=!1;if((z===void 0||z<0)&&(z=0),z>this.length||((K===void 0||K>this.length)&&(K=this.length),K<=0)||(K>>>=0,z>>>=0,K<=z))return"";for(X||(X="utf8");;)switch(X){case"hex":return x(this,z,K);case"utf8":case"utf-8":return a(this,z,K);case"ascii":return b(this,z,K);case"latin1":case"binary":return R(this,z,K);case"base64":return o(this,z,K);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,z,K);default:if(se)throw new TypeError("Unknown encoding: "+X);X=(X+"").toLowerCase(),se=!0}}f.prototype._isBuffer=!0;function U(X,z,K){var se=X[z];X[z]=X[K],X[K]=se}f.prototype.swap16=function(){var z=this.length;if(z%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var K=0;K<z;K+=2)U(this,K,K+1);return this},f.prototype.swap32=function(){var z=this.length;if(z%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var K=0;K<z;K+=4)U(this,K,K+3),U(this,K+1,K+2);return this},f.prototype.swap64=function(){var z=this.length;if(z%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var K=0;K<z;K+=8)U(this,K,K+7),U(this,K+1,K+6),U(this,K+2,K+5),U(this,K+3,K+4);return this},f.prototype.toString=function(){var z=this.length;return z===0?"":arguments.length===0?a(this,0,z):Z.apply(this,arguments)},f.prototype.toLocaleString=f.prototype.toString,f.prototype.equals=function(z){if(!f.isBuffer(z))throw new TypeError("Argument must be a Buffer");return this===z?!0:f.compare(this,z)===0},f.prototype.inspect=function(){var z="",K=e.INSPECT_MAX_BYTES;return z=this.toString("hex",0,K).replace(/(.{2})/g,"$1 ").trim(),this.length>K&&(z+=" ... "),"<Buffer "+z+">"},i&&(f.prototype[i]=f.prototype.inspect),f.prototype.compare=function(z,K,se,he,ve){if(ce(z,Uint8Array)&&(z=f.from(z,z.offset,z.byteLength)),!f.isBuffer(z))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof z);if(K===void 0&&(K=0),se===void 0&&(se=z?z.length:0),he===void 0&&(he=0),ve===void 0&&(ve=this.length),K<0||se>z.length||he<0||ve>this.length)throw new RangeError("out of range index");if(he>=ve&&K>=se)return 0;if(he>=ve)return-1;if(K>=se)return 1;if(K>>>=0,se>>>=0,he>>>=0,ve>>>=0,this===z)return 0;for(var we=ve-he,Pe=se-K,je=Math.min(we,Pe),Q=this.slice(he,ve),ee=z.slice(K,se),G=0;G<je;++G)if(Q[G]!==ee[G]){we=Q[G],Pe=ee[G];break}return we<Pe?-1:Pe<we?1:0};function B(X,z,K,se,he){if(X.length===0)return-1;if(typeof K=="string"?(se=K,K=0):K>2147483647?K=2147483647:K<-2147483648&&(K=-2147483648),K=+K,fe(K)&&(K=he?0:X.length-1),K<0&&(K=X.length+K),K>=X.length){if(he)return-1;K=X.length-1}else if(K<0)if(he)K=0;else return-1;if(typeof z=="string"&&(z=f.from(z,se)),f.isBuffer(z))return z.length===0?-1:F(X,z,K,se,he);if(typeof z=="number")return z=z&255,typeof Uint8Array.prototype.indexOf=="function"?he?Uint8Array.prototype.indexOf.call(X,z,K):Uint8Array.prototype.lastIndexOf.call(X,z,K):F(X,[z],K,se,he);throw new TypeError("val must be string, number or Buffer")}function F(X,z,K,se,he){var ve=1,we=X.length,Pe=z.length;if(se!==void 0&&(se=String(se).toLowerCase(),se==="ucs2"||se==="ucs-2"||se==="utf16le"||se==="utf-16le")){if(X.length<2||z.length<2)return-1;ve=2,we/=2,Pe/=2,K/=2}function je(J,re){return ve===1?J[re]:J.readUInt16BE(re*ve)}var Q;if(he){var ee=-1;for(Q=K;Q<we;Q++)if(je(X,Q)===je(z,ee===-1?0:Q-ee)){if(ee===-1&&(ee=Q),Q-ee+1===Pe)return ee*ve}else ee!==-1&&(Q-=Q-ee),ee=-1}else for(K+Pe>we&&(K=we-Pe),Q=K;Q>=0;Q--){for(var G=!0,A=0;A<Pe;A++)if(je(X,Q+A)!==je(z,A)){G=!1;break}if(G)return Q}return-1}f.prototype.includes=function(z,K,se){return this.indexOf(z,K,se)!==-1},f.prototype.indexOf=function(z,K,se){return B(this,z,K,se,!0)},f.prototype.lastIndexOf=function(z,K,se){return B(this,z,K,se,!1)};function y(X,z,K,se){K=Number(K)||0;var he=X.length-K;se?(se=Number(se),se>he&&(se=he)):se=he;var ve=z.length;se>ve/2&&(se=ve/2);for(var we=0;we<se;++we){var Pe=parseInt(z.substr(we*2,2),16);if(fe(Pe))return we;X[K+we]=Pe}return we}function w(X,z,K,se){return Ne($(z,X.length-K),X,K,se)}function L(X,z,K,se){return Ne(ae(z),X,K,se)}function N(X,z,K,se){return Ne(Te(z),X,K,se)}function p(X,z,K,se){return Ne(pe(z,X.length-K),X,K,se)}f.prototype.write=function(z,K,se,he){if(K===void 0)he="utf8",se=this.length,K=0;else if(se===void 0&&typeof K=="string")he=K,se=this.length,K=0;else if(isFinite(K))K=K>>>0,isFinite(se)?(se=se>>>0,he===void 0&&(he="utf8")):(he=se,se=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var ve=this.length-K;if((se===void 0||se>ve)&&(se=ve),z.length>0&&(se<0||K<0)||K>this.length)throw new RangeError("Attempt to write outside buffer bounds");he||(he="utf8");for(var we=!1;;)switch(he){case"hex":return y(this,z,K,se);case"utf8":case"utf-8":return w(this,z,K,se);case"ascii":case"latin1":case"binary":return L(this,z,K,se);case"base64":return N(this,z,K,se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p(this,z,K,se);default:if(we)throw new TypeError("Unknown encoding: "+he);he=(""+he).toLowerCase(),we=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function o(X,z,K){return z===0&&K===X.length?t.fromByteArray(X):t.fromByteArray(X.slice(z,K))}function a(X,z,K){K=Math.min(X.length,K);for(var se=[],he=z;he<K;){var ve=X[he],we=null,Pe=ve>239?4:ve>223?3:ve>191?2:1;if(he+Pe<=K){var je,Q,ee,G;switch(Pe){case 1:ve<128&&(we=ve);break;case 2:je=X[he+1],(je&192)===128&&(G=(ve&31)<<6|je&63,G>127&&(we=G));break;case 3:je=X[he+1],Q=X[he+2],(je&192)===128&&(Q&192)===128&&(G=(ve&15)<<12|(je&63)<<6|Q&63,G>2047&&(G<55296||G>57343)&&(we=G));break;case 4:je=X[he+1],Q=X[he+2],ee=X[he+3],(je&192)===128&&(Q&192)===128&&(ee&192)===128&&(G=(ve&15)<<18|(je&63)<<12|(Q&63)<<6|ee&63,G>65535&&G<1114112&&(we=G))}}we===null?(we=65533,Pe=1):we>65535&&(we-=65536,se.push(we>>>10&1023|55296),we=56320|we&1023),se.push(we),he+=Pe}return h(se)}var d=4096;function h(X){var z=X.length;if(z<=d)return String.fromCharCode.apply(String,X);for(var K="",se=0;se<z;)K+=String.fromCharCode.apply(String,X.slice(se,se+=d));return K}function b(X,z,K){var se="";K=Math.min(X.length,K);for(var he=z;he<K;++he)se+=String.fromCharCode(X[he]&127);return se}function R(X,z,K){var se="";K=Math.min(X.length,K);for(var he=z;he<K;++he)se+=String.fromCharCode(X[he]);return se}function x(X,z,K){var se=X.length;(!z||z<0)&&(z=0),(!K||K<0||K>se)&&(K=se);for(var he="",ve=z;ve<K;++ve)he+=le[X[ve]];return he}function j(X,z,K){for(var se=X.slice(z,K),he="",ve=0;ve<se.length-1;ve+=2)he+=String.fromCharCode(se[ve]+se[ve+1]*256);return he}f.prototype.slice=function(z,K){var se=this.length;z=~~z,K=K===void 0?se:~~K,z<0?(z+=se,z<0&&(z=0)):z>se&&(z=se),K<0?(K+=se,K<0&&(K=0)):K>se&&(K=se),K<z&&(K=z);var he=this.subarray(z,K);return Object.setPrototypeOf(he,f.prototype),he};function W(X,z,K){if(X%1!==0||X<0)throw new RangeError("offset is not uint");if(X+z>K)throw new RangeError("Trying to access beyond buffer length")}f.prototype.readUintLE=f.prototype.readUIntLE=function(z,K,se){z=z>>>0,K=K>>>0,se||W(z,K,this.length);for(var he=this[z],ve=1,we=0;++we<K&&(ve*=256);)he+=this[z+we]*ve;return he},f.prototype.readUintBE=f.prototype.readUIntBE=function(z,K,se){z=z>>>0,K=K>>>0,se||W(z,K,this.length);for(var he=this[z+--K],ve=1;K>0&&(ve*=256);)he+=this[z+--K]*ve;return he},f.prototype.readUint8=f.prototype.readUInt8=function(z,K){return z=z>>>0,K||W(z,1,this.length),this[z]},f.prototype.readUint16LE=f.prototype.readUInt16LE=function(z,K){return z=z>>>0,K||W(z,2,this.length),this[z]|this[z+1]<<8},f.prototype.readUint16BE=f.prototype.readUInt16BE=function(z,K){return z=z>>>0,K||W(z,2,this.length),this[z]<<8|this[z+1]},f.prototype.readUint32LE=f.prototype.readUInt32LE=function(z,K){return z=z>>>0,K||W(z,4,this.length),(this[z]|this[z+1]<<8|this[z+2]<<16)+this[z+3]*16777216},f.prototype.readUint32BE=f.prototype.readUInt32BE=function(z,K){return z=z>>>0,K||W(z,4,this.length),this[z]*16777216+(this[z+1]<<16|this[z+2]<<8|this[z+3])},f.prototype.readIntLE=function(z,K,se){z=z>>>0,K=K>>>0,se||W(z,K,this.length);for(var he=this[z],ve=1,we=0;++we<K&&(ve*=256);)he+=this[z+we]*ve;return ve*=128,he>=ve&&(he-=Math.pow(2,8*K)),he},f.prototype.readIntBE=function(z,K,se){z=z>>>0,K=K>>>0,se||W(z,K,this.length);for(var he=K,ve=1,we=this[z+--he];he>0&&(ve*=256);)we+=this[z+--he]*ve;return ve*=128,we>=ve&&(we-=Math.pow(2,8*K)),we},f.prototype.readInt8=function(z,K){return z=z>>>0,K||W(z,1,this.length),this[z]&128?(255-this[z]+1)*-1:this[z]},f.prototype.readInt16LE=function(z,K){z=z>>>0,K||W(z,2,this.length);var se=this[z]|this[z+1]<<8;return se&32768?se|4294901760:se},f.prototype.readInt16BE=function(z,K){z=z>>>0,K||W(z,2,this.length);var se=this[z+1]|this[z]<<8;return se&32768?se|4294901760:se},f.prototype.readInt32LE=function(z,K){return z=z>>>0,K||W(z,4,this.length),this[z]|this[z+1]<<8|this[z+2]<<16|this[z+3]<<24},f.prototype.readInt32BE=function(z,K){return z=z>>>0,K||W(z,4,this.length),this[z]<<24|this[z+1]<<16|this[z+2]<<8|this[z+3]},f.prototype.readFloatLE=function(z,K){return z=z>>>0,K||W(z,4,this.length),n.read(this,z,!0,23,4)},f.prototype.readFloatBE=function(z,K){return z=z>>>0,K||W(z,4,this.length),n.read(this,z,!1,23,4)},f.prototype.readDoubleLE=function(z,K){return z=z>>>0,K||W(z,8,this.length),n.read(this,z,!0,52,8)},f.prototype.readDoubleBE=function(z,K){return z=z>>>0,K||W(z,8,this.length),n.read(this,z,!1,52,8)};function k(X,z,K,se,he,ve){if(!f.isBuffer(X))throw new TypeError('"buffer" argument must be a Buffer instance');if(z>he||z<ve)throw new RangeError('"value" argument is out of bounds');if(K+se>X.length)throw new RangeError("Index out of range")}f.prototype.writeUintLE=f.prototype.writeUIntLE=function(z,K,se,he){if(z=+z,K=K>>>0,se=se>>>0,!he){var ve=Math.pow(2,8*se)-1;k(this,z,K,se,ve,0)}var we=1,Pe=0;for(this[K]=z&255;++Pe<se&&(we*=256);)this[K+Pe]=z/we&255;return K+se},f.prototype.writeUintBE=f.prototype.writeUIntBE=function(z,K,se,he){if(z=+z,K=K>>>0,se=se>>>0,!he){var ve=Math.pow(2,8*se)-1;k(this,z,K,se,ve,0)}var we=se-1,Pe=1;for(this[K+we]=z&255;--we>=0&&(Pe*=256);)this[K+we]=z/Pe&255;return K+se},f.prototype.writeUint8=f.prototype.writeUInt8=function(z,K,se){return z=+z,K=K>>>0,se||k(this,z,K,1,255,0),this[K]=z&255,K+1},f.prototype.writeUint16LE=f.prototype.writeUInt16LE=function(z,K,se){return z=+z,K=K>>>0,se||k(this,z,K,2,65535,0),this[K]=z&255,this[K+1]=z>>>8,K+2},f.prototype.writeUint16BE=f.prototype.writeUInt16BE=function(z,K,se){return z=+z,K=K>>>0,se||k(this,z,K,2,65535,0),this[K]=z>>>8,this[K+1]=z&255,K+2},f.prototype.writeUint32LE=f.prototype.writeUInt32LE=function(z,K,se){return z=+z,K=K>>>0,se||k(this,z,K,4,4294967295,0),this[K+3]=z>>>24,this[K+2]=z>>>16,this[K+1]=z>>>8,this[K]=z&255,K+4},f.prototype.writeUint32BE=f.prototype.writeUInt32BE=function(z,K,se){return z=+z,K=K>>>0,se||k(this,z,K,4,4294967295,0),this[K]=z>>>24,this[K+1]=z>>>16,this[K+2]=z>>>8,this[K+3]=z&255,K+4},f.prototype.writeIntLE=function(z,K,se,he){if(z=+z,K=K>>>0,!he){var ve=Math.pow(2,8*se-1);k(this,z,K,se,ve-1,-ve)}var we=0,Pe=1,je=0;for(this[K]=z&255;++we<se&&(Pe*=256);)z<0&&je===0&&this[K+we-1]!==0&&(je=1),this[K+we]=(z/Pe>>0)-je&255;return K+se},f.prototype.writeIntBE=function(z,K,se,he){if(z=+z,K=K>>>0,!he){var ve=Math.pow(2,8*se-1);k(this,z,K,se,ve-1,-ve)}var we=se-1,Pe=1,je=0;for(this[K+we]=z&255;--we>=0&&(Pe*=256);)z<0&&je===0&&this[K+we+1]!==0&&(je=1),this[K+we]=(z/Pe>>0)-je&255;return K+se},f.prototype.writeInt8=function(z,K,se){return z=+z,K=K>>>0,se||k(this,z,K,1,127,-128),z<0&&(z=255+z+1),this[K]=z&255,K+1},f.prototype.writeInt16LE=function(z,K,se){return z=+z,K=K>>>0,se||k(this,z,K,2,32767,-32768),this[K]=z&255,this[K+1]=z>>>8,K+2},f.prototype.writeInt16BE=function(z,K,se){return z=+z,K=K>>>0,se||k(this,z,K,2,32767,-32768),this[K]=z>>>8,this[K+1]=z&255,K+2},f.prototype.writeInt32LE=function(z,K,se){return z=+z,K=K>>>0,se||k(this,z,K,4,2147483647,-2147483648),this[K]=z&255,this[K+1]=z>>>8,this[K+2]=z>>>16,this[K+3]=z>>>24,K+4},f.prototype.writeInt32BE=function(z,K,se){return z=+z,K=K>>>0,se||k(this,z,K,4,2147483647,-2147483648),z<0&&(z=4294967295+z+1),this[K]=z>>>24,this[K+1]=z>>>16,this[K+2]=z>>>8,this[K+3]=z&255,K+4};function O(X,z,K,se,he,ve){if(K+se>X.length)throw new RangeError("Index out of range");if(K<0)throw new RangeError("Index out of range")}function V(X,z,K,se,he){return z=+z,K=K>>>0,he||O(X,z,K,4),n.write(X,z,K,se,23,4),K+4}f.prototype.writeFloatLE=function(z,K,se){return V(this,z,K,!0,se)},f.prototype.writeFloatBE=function(z,K,se){return V(this,z,K,!1,se)};function te(X,z,K,se,he){return z=+z,K=K>>>0,he||O(X,z,K,8),n.write(X,z,K,se,52,8),K+8}f.prototype.writeDoubleLE=function(z,K,se){return te(this,z,K,!0,se)},f.prototype.writeDoubleBE=function(z,K,se){return te(this,z,K,!1,se)},f.prototype.copy=function(z,K,se,he){if(!f.isBuffer(z))throw new TypeError("argument should be a Buffer");if(se||(se=0),!he&&he!==0&&(he=this.length),K>=z.length&&(K=z.length),K||(K=0),he>0&&he<se&&(he=se),he===se||z.length===0||this.length===0)return 0;if(K<0)throw new RangeError("targetStart out of bounds");if(se<0||se>=this.length)throw new RangeError("Index out of range");if(he<0)throw new RangeError("sourceEnd out of bounds");he>this.length&&(he=this.length),z.length-K<he-se&&(he=z.length-K+se);var ve=he-se;return this===z&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(K,se,he):Uint8Array.prototype.set.call(z,this.subarray(se,he),K),ve},f.prototype.fill=function(z,K,se,he){if(typeof z=="string"){if(typeof K=="string"?(he=K,K=0,se=this.length):typeof se=="string"&&(he=se,se=this.length),he!==void 0&&typeof he!="string")throw new TypeError("encoding must be a string");if(typeof he=="string"&&!f.isEncoding(he))throw new TypeError("Unknown encoding: "+he);if(z.length===1){var ve=z.charCodeAt(0);(he==="utf8"&&ve<128||he==="latin1")&&(z=ve)}}else typeof z=="number"?z=z&255:typeof z=="boolean"&&(z=Number(z));if(K<0||this.length<K||this.length<se)throw new RangeError("Out of range index");if(se<=K)return this;K=K>>>0,se=se===void 0?this.length:se>>>0,z||(z=0);var we;if(typeof z=="number")for(we=K;we<se;++we)this[we]=z;else{var Pe=f.isBuffer(z)?z:f.from(z,he),je=Pe.length;if(je===0)throw new TypeError('The value "'+z+'" is invalid for argument "value"');for(we=0;we<se-K;++we)this[we+K]=Pe[we%je]}return this};var ue=/[^+/0-9A-Za-z-_]/g;function Y(X){if(X=X.split("=")[0],X=X.trim().replace(ue,""),X.length<2)return"";for(;X.length%4!==0;)X=X+"=";return X}function $(X,z){z=z||1/0;for(var K,se=X.length,he=null,ve=[],we=0;we<se;++we){if(K=X.charCodeAt(we),K>55295&&K<57344){if(!he){if(K>56319){(z-=3)>-1&&ve.push(239,191,189);continue}else if(we+1===se){(z-=3)>-1&&ve.push(239,191,189);continue}he=K;continue}if(K<56320){(z-=3)>-1&&ve.push(239,191,189),he=K;continue}K=(he-55296<<10|K-56320)+65536}else he&&(z-=3)>-1&&ve.push(239,191,189);if(he=null,K<128){if((z-=1)<0)break;ve.push(K)}else if(K<2048){if((z-=2)<0)break;ve.push(K>>6|192,K&63|128)}else if(K<65536){if((z-=3)<0)break;ve.push(K>>12|224,K>>6&63|128,K&63|128)}else if(K<1114112){if((z-=4)<0)break;ve.push(K>>18|240,K>>12&63|128,K>>6&63|128,K&63|128)}else throw new Error("Invalid code point")}return ve}function ae(X){for(var z=[],K=0;K<X.length;++K)z.push(X.charCodeAt(K)&255);return z}function pe(X,z){for(var K,se,he,ve=[],we=0;we<X.length&&!((z-=2)<0);++we)K=X.charCodeAt(we),se=K>>8,he=K%256,ve.push(he),ve.push(se);return ve}function Te(X){return t.toByteArray(Y(X))}function Ne(X,z,K,se){for(var he=0;he<se&&!(he+K>=z.length||he>=X.length);++he)z[he+K]=X[he];return he}function ce(X,z){return X instanceof z||X!=null&&X.constructor!=null&&X.constructor.name!=null&&X.constructor.name===z.name}function fe(X){return X!==X}var le=function(){for(var X="0123456789abcdef",z=new Array(256),K=0;K<16;++K)for(var se=K*16,he=0;he<16;++he)z[se+he]=X[K]+X[he];return z}()})(Uw);/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */(function(e,t){var n=Uw,i=n.Buffer;function r(u,f){for(var m in u)f[m]=u[m]}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(r(n,t),t.Buffer=l);function l(u,f,m){return i(u,f,m)}l.prototype=Object.create(i.prototype),r(i,l),l.from=function(u,f,m){if(typeof u=="number")throw new TypeError("Argument must not be a number");return i(u,f,m)},l.alloc=function(u,f,m){if(typeof u!="number")throw new TypeError("Argument must be a number");var v=i(u);return f!==void 0?typeof m=="string"?v.fill(f,m):v.fill(f):v.fill(0),v},l.allocUnsafe=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return i(u)},l.allocUnsafeSlow=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(u)}})(jh,jh.exports);var YB=jh.exports,Yp=YB.Buffer,q0=Yp.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 $B(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 eD(e){var t=$B(e);if(typeof t!="string"&&(Yp.isEncoding===q0||!q0(e)))throw new Error("Unknown encoding: "+e);return t||e}xw.StringDecoder=Va;function Va(e){this.encoding=eD(e);var t;switch(this.encoding){case"utf16le":this.text=oD,this.end=aD,t=4;break;case"utf8":this.fillLast=iD,t=4;break;case"base64":this.text=uD,this.end=lD,t=3;break;default:this.write=cD,this.end=fD;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Yp.allocUnsafe(t)}Va.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||""};Va.prototype.end=sD;Va.prototype.text=rD;Va.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 Wd(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function tD(e,t,n){var i=t.length-1;if(i<n)return 0;var r=Wd(t[i]);return r>=0?(r>0&&(e.lastNeed=r-1),r):--i<n||r===-2?0:(r=Wd(t[i]),r>=0?(r>0&&(e.lastNeed=r-2),r):--i<n||r===-2?0:(r=Wd(t[i]),r>=0?(r>0&&(r===2?r=0:e.lastNeed=r-3),r):0))}function nD(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 iD(e){var t=this.lastTotal-this.lastNeed,n=nD(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 rD(e,t){var n=tD(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 sD(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function oD(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 aD(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 uD(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 lD(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function cD(e){return e.toString(this.encoding)}function fD(e){return e&&e.length?this.write(e):""}const H0=Rs,{PromisePrototypeThen:dD,SymbolAsyncIterator:V0,SymbolIterator:K0}=Kt,{Buffer:hD}=Hr,{ERR_INVALID_ARG_TYPE:pD,ERR_STREAM_NULL_VALUES:mD}=_n.codes;function yD(e,t,n){let i;if(typeof t=="string"||t instanceof hD)return new e({objectMode:!0,...n,read(){this.push(t),this.push(null)}});let r;if(t&&t[V0])r=!0,i=t[V0]();else if(t&&t[K0])r=!1,i=t[K0]();else throw new pD("iterable",["Iterable"],t);const l=new e({objectMode:!0,highWaterMark:1,...n});let u=!1;l._read=function(){u||(u=!0,m())},l._destroy=function(v,S){dD(f(v),()=>H0.nextTick(S,v),C=>H0.nextTick(S,C||v))};async function f(v){const S=v!=null,C=typeof i.throw=="function";if(S&&C){const{value:D,done:_}=await i.throw(v);if(await D,_)return}if(typeof i.return=="function"){const{value:D}=await i.return();await D}}async function m(){for(;;){try{const{value:v,done:S}=r?await i.next():i.next();if(S)l.push(null);else{const C=v&&typeof v.then=="function"?await v:v;if(C===null)throw u=!1,new mD;if(l.push(C))continue;u=!1}}catch(v){l.destroy(v)}break}}return l}var zw=yD,Gd,Z0;function Cc(){if(Z0)return Gd;Z0=1;const e=Rs,{ArrayPrototypeIndexOf:t,NumberIsInteger:n,NumberIsNaN:i,NumberParseInt:r,ObjectDefineProperties:l,ObjectKeys:u,ObjectSetPrototypeOf:f,Promise:m,SafeSet:v,SymbolAsyncIterator:S,Symbol:C}=Kt;Gd=j,j.ReadableState=x;const{EventEmitter:D}=Zp,{Stream:_,prependListener:E}=Qp,{Buffer:T}=Hr,{addAbortSignal:P}=Ec,I=Vr;let M=fr.debuglog("stream",Q=>{M=Q});const H=HB,Z=Uo,{getHighWaterMark:U,getDefaultHighWaterMark:B}=Xp,{aggregateTwoErrors:F,codes:{ERR_INVALID_ARG_TYPE:y,ERR_METHOD_NOT_IMPLEMENTED:w,ERR_OUT_OF_RANGE:L,ERR_STREAM_PUSH_AFTER_EOF:N,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:p}}=_n,{validateObject:o}=Sc,a=C("kPaused"),{StringDecoder:d}=xw,h=zw;f(j.prototype,_.prototype),f(j,_);const b=()=>{},{errorOrDestroy:R}=Z;function x(Q,ee,G){typeof G!="boolean"&&(G=ee instanceof or()),this.objectMode=!!(Q&&Q.objectMode),G&&(this.objectMode=this.objectMode||!!(Q&&Q.readableObjectMode)),this.highWaterMark=Q?U(this,Q,"readableHighWaterMark",G):B(!1),this.buffer=new H,this.length=0,this.pipes=[],this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.constructed=!0,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this[a]=null,this.errorEmitted=!1,this.emitClose=!Q||Q.emitClose!==!1,this.autoDestroy=!Q||Q.autoDestroy!==!1,this.destroyed=!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this.defaultEncoding=Q&&Q.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.multiAwaitDrain=!1,this.readingMore=!1,this.dataEmitted=!1,this.decoder=null,this.encoding=null,Q&&Q.encoding&&(this.decoder=new d(Q.encoding),this.encoding=Q.encoding)}function j(Q){if(!(this instanceof j))return new j(Q);const ee=this instanceof or();this._readableState=new x(Q,this,ee),Q&&(typeof Q.read=="function"&&(this._read=Q.read),typeof Q.destroy=="function"&&(this._destroy=Q.destroy),typeof Q.construct=="function"&&(this._construct=Q.construct),Q.signal&&!ee&&P(Q.signal,this)),_.call(this,Q),Z.construct(this,()=>{this._readableState.needReadable&&ae(this,this._readableState)})}j.prototype.destroy=Z.destroy,j.prototype._undestroy=Z.undestroy,j.prototype._destroy=function(Q,ee){ee(Q)},j.prototype[D.captureRejectionSymbol]=function(Q){this.destroy(Q)},j.prototype.push=function(Q,ee){return W(this,Q,ee,!1)},j.prototype.unshift=function(Q,ee){return W(this,Q,ee,!0)};function W(Q,ee,G,A){M("readableAddChunk",ee);const J=Q._readableState;let re;if(J.objectMode||(typeof ee=="string"?(G=G||J.defaultEncoding,J.encoding!==G&&(A&&J.encoding?ee=T.from(ee,G).toString(J.encoding):(ee=T.from(ee,G),G=""))):ee instanceof T?G="":_._isUint8Array(ee)?(ee=_._uint8ArrayToBuffer(ee),G=""):ee!=null&&(re=new y("chunk",["string","Buffer","Uint8Array"],ee))),re)R(Q,re);else if(ee===null)J.reading=!1,ue(Q,J);else if(J.objectMode||ee&&ee.length>0)if(A)if(J.endEmitted)R(Q,new p);else{if(J.destroyed||J.errored)return!1;k(Q,J,ee,!0)}else if(J.ended)R(Q,new N);else{if(J.destroyed||J.errored)return!1;J.reading=!1,J.decoder&&!G?(ee=J.decoder.write(ee),J.objectMode||ee.length!==0?k(Q,J,ee,!1):ae(Q,J)):k(Q,J,ee,!1)}else A||(J.reading=!1,ae(Q,J));return!J.ended&&(J.length<J.highWaterMark||J.length===0)}function k(Q,ee,G,A){ee.flowing&&ee.length===0&&!ee.sync&&Q.listenerCount("data")>0?(ee.multiAwaitDrain?ee.awaitDrainWriters.clear():ee.awaitDrainWriters=null,ee.dataEmitted=!0,Q.emit("data",G)):(ee.length+=ee.objectMode?1:G.length,A?ee.buffer.unshift(G):ee.buffer.push(G),ee.needReadable&&Y(Q)),ae(Q,ee)}j.prototype.isPaused=function(){const Q=this._readableState;return Q[a]===!0||Q.flowing===!1},j.prototype.setEncoding=function(Q){const ee=new d(Q);this._readableState.decoder=ee,this._readableState.encoding=this._readableState.decoder.encoding;const G=this._readableState.buffer;let A="";for(const J of G)A+=ee.write(J);return G.clear(),A!==""&&G.push(A),this._readableState.length=A.length,this};const O=1073741824;function V(Q){if(Q>O)throw new L("size","<= 1GiB",Q);return Q--,Q|=Q>>>1,Q|=Q>>>2,Q|=Q>>>4,Q|=Q>>>8,Q|=Q>>>16,Q++,Q}function te(Q,ee){return Q<=0||ee.length===0&&ee.ended?0:ee.objectMode?1:i(Q)?ee.flowing&&ee.length?ee.buffer.first().length:ee.length:Q<=ee.length?Q:ee.ended?ee.length:0}j.prototype.read=function(Q){M("read",Q),Q===void 0?Q=NaN:n(Q)||(Q=r(Q,10));const ee=this._readableState,G=Q;if(Q>ee.highWaterMark&&(ee.highWaterMark=V(Q)),Q!==0&&(ee.emittedReadable=!1),Q===0&&ee.needReadable&&((ee.highWaterMark!==0?ee.length>=ee.highWaterMark:ee.length>0)||ee.ended))return M("read: emitReadable",ee.length,ee.ended),ee.length===0&&ee.ended?he(this):Y(this),null;if(Q=te(Q,ee),Q===0&&ee.ended)return ee.length===0&&he(this),null;let A=ee.needReadable;if(M("need readable",A),(ee.length===0||ee.length-Q<ee.highWaterMark)&&(A=!0,M("length less than watermark",A)),ee.ended||ee.reading||ee.destroyed||ee.errored||!ee.constructed)A=!1,M("reading, ended or constructing",A);else if(A){M("do read"),ee.reading=!0,ee.sync=!0,ee.length===0&&(ee.needReadable=!0);try{this._read(ee.highWaterMark)}catch(re){R(this,re)}ee.sync=!1,ee.reading||(Q=te(G,ee))}let J;return Q>0?J=se(Q,ee):J=null,J===null?(ee.needReadable=ee.length<=ee.highWaterMark,Q=0):(ee.length-=Q,ee.multiAwaitDrain?ee.awaitDrainWriters.clear():ee.awaitDrainWriters=null),ee.length===0&&(ee.ended||(ee.needReadable=!0),G!==Q&&ee.ended&&he(this)),J!==null&&!ee.errorEmitted&&!ee.closeEmitted&&(ee.dataEmitted=!0,this.emit("data",J)),J};function ue(Q,ee){if(M("onEofChunk"),!ee.ended){if(ee.decoder){const G=ee.decoder.end();G&&G.length&&(ee.buffer.push(G),ee.length+=ee.objectMode?1:G.length)}ee.ended=!0,ee.sync?Y(Q):(ee.needReadable=!1,ee.emittedReadable=!0,$(Q))}}function Y(Q){const ee=Q._readableState;M("emitReadable",ee.needReadable,ee.emittedReadable),ee.needReadable=!1,ee.emittedReadable||(M("emitReadable",ee.flowing),ee.emittedReadable=!0,e.nextTick($,Q))}function $(Q){const ee=Q._readableState;M("emitReadable_",ee.destroyed,ee.length,ee.ended),!ee.destroyed&&!ee.errored&&(ee.length||ee.ended)&&(Q.emit("readable"),ee.emittedReadable=!1),ee.needReadable=!ee.flowing&&!ee.ended&&ee.length<=ee.highWaterMark,X(Q)}function ae(Q,ee){!ee.readingMore&&ee.constructed&&(ee.readingMore=!0,e.nextTick(pe,Q,ee))}function pe(Q,ee){for(;!ee.reading&&!ee.ended&&(ee.length<ee.highWaterMark||ee.flowing&&ee.length===0);){const G=ee.length;if(M("maybeReadMore read 0"),Q.read(0),G===ee.length)break}ee.readingMore=!1}j.prototype._read=function(Q){throw new w("_read()")},j.prototype.pipe=function(Q,ee){const G=this,A=this._readableState;A.pipes.length===1&&(A.multiAwaitDrain||(A.multiAwaitDrain=!0,A.awaitDrainWriters=new v(A.awaitDrainWriters?[A.awaitDrainWriters]:[]))),A.pipes.push(Q),M("pipe count=%d opts=%j",A.pipes.length,ee);const re=(!ee||ee.end!==!1)&&Q!==e.stdout&&Q!==e.stderr?Se:He;A.endEmitted?e.nextTick(re):G.once("end",re),Q.on("unpipe",me);function me(Ue,De){M("onunpipe"),Ue===G&&De&&De.hasUnpiped===!1&&(De.hasUnpiped=!0,nt())}function Se(){M("onend"),Q.end()}let Le,Re=!1;function nt(){M("cleanup"),Q.removeListener("close",jn),Q.removeListener("finish",xe),Le&&Q.removeListener("drain",Le),Q.removeListener("error",ut),Q.removeListener("unpipe",me),G.removeListener("end",Se),G.removeListener("end",He),G.removeListener("data",dt),Re=!0,Le&&A.awaitDrainWriters&&(!Q._writableState||Q._writableState.needDrain)&&Le()}function st(){Re||(A.pipes.length===1&&A.pipes[0]===Q?(M("false write response, pause",0),A.awaitDrainWriters=Q,A.multiAwaitDrain=!1):A.pipes.length>1&&A.pipes.includes(Q)&&(M("false write response, pause",A.awaitDrainWriters.size),A.awaitDrainWriters.add(Q)),G.pause()),Le||(Le=Te(G,Q),Q.on("drain",Le))}G.on("data",dt);function dt(Ue){M("ondata");const De=Q.write(Ue);M("dest.write",De),De===!1&&st()}function ut(Ue){if(M("onerror",Ue),He(),Q.removeListener("error",ut),Q.listenerCount("error")===0){const De=Q._writableState||Q._readableState;De&&!De.errorEmitted?R(Q,Ue):Q.emit("error",Ue)}}E(Q,"error",ut);function jn(){Q.removeListener("finish",xe),He()}Q.once("close",jn);function xe(){M("onfinish"),Q.removeListener("close",jn),He()}Q.once("finish",xe);function He(){M("unpipe"),G.unpipe(Q)}return Q.emit("pipe",G),Q.writableNeedDrain===!0?A.flowing&&st():A.flowing||(M("pipe resume"),G.resume()),Q};function Te(Q,ee){return function(){const A=Q._readableState;A.awaitDrainWriters===ee?(M("pipeOnDrain",1),A.awaitDrainWriters=null):A.multiAwaitDrain&&(M("pipeOnDrain",A.awaitDrainWriters.size),A.awaitDrainWriters.delete(ee)),(!A.awaitDrainWriters||A.awaitDrainWriters.size===0)&&Q.listenerCount("data")&&Q.resume()}}j.prototype.unpipe=function(Q){const ee=this._readableState,G={hasUnpiped:!1};if(ee.pipes.length===0)return this;if(!Q){const J=ee.pipes;ee.pipes=[],this.pause();for(let re=0;re<J.length;re++)J[re].emit("unpipe",this,{hasUnpiped:!1});return this}const A=t(ee.pipes,Q);return A===-1?this:(ee.pipes.splice(A,1),ee.pipes.length===0&&this.pause(),Q.emit("unpipe",this,G),this)},j.prototype.on=function(Q,ee){const G=_.prototype.on.call(this,Q,ee),A=this._readableState;return Q==="data"?(A.readableListening=this.listenerCount("readable")>0,A.flowing!==!1&&this.resume()):Q==="readable"&&!A.endEmitted&&!A.readableListening&&(A.readableListening=A.needReadable=!0,A.flowing=!1,A.emittedReadable=!1,M("on readable",A.length,A.reading),A.length?Y(this):A.reading||e.nextTick(ce,this)),G},j.prototype.addListener=j.prototype.on,j.prototype.removeListener=function(Q,ee){const G=_.prototype.removeListener.call(this,Q,ee);return Q==="readable"&&e.nextTick(Ne,this),G},j.prototype.off=j.prototype.removeListener,j.prototype.removeAllListeners=function(Q){const ee=_.prototype.removeAllListeners.apply(this,arguments);return(Q==="readable"||Q===void 0)&&e.nextTick(Ne,this),ee};function Ne(Q){const ee=Q._readableState;ee.readableListening=Q.listenerCount("readable")>0,ee.resumeScheduled&&ee[a]===!1?ee.flowing=!0:Q.listenerCount("data")>0?Q.resume():ee.readableListening||(ee.flowing=null)}function ce(Q){M("readable nexttick read 0"),Q.read(0)}j.prototype.resume=function(){const Q=this._readableState;return Q.flowing||(M("resume"),Q.flowing=!Q.readableListening,fe(this,Q)),Q[a]=!1,this};function fe(Q,ee){ee.resumeScheduled||(ee.resumeScheduled=!0,e.nextTick(le,Q,ee))}function le(Q,ee){M("resume",ee.reading),ee.reading||Q.read(0),ee.resumeScheduled=!1,Q.emit("resume"),X(Q),ee.flowing&&!ee.reading&&Q.read(0)}j.prototype.pause=function(){return M("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(M("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[a]=!0,this};function X(Q){const ee=Q._readableState;for(M("flow",ee.flowing);ee.flowing&&Q.read()!==null;);}j.prototype.wrap=function(Q){let ee=!1;Q.on("data",A=>{!this.push(A)&&Q.pause&&(ee=!0,Q.pause())}),Q.on("end",()=>{this.push(null)}),Q.on("error",A=>{R(this,A)}),Q.on("close",()=>{this.destroy()}),Q.on("destroy",()=>{this.destroy()}),this._read=()=>{ee&&Q.resume&&(ee=!1,Q.resume())};const G=u(Q);for(let A=1;A<G.length;A++){const J=G[A];this[J]===void 0&&typeof Q[J]=="function"&&(this[J]=Q[J].bind(Q))}return this},j.prototype[S]=function(){return z(this)},j.prototype.iterator=function(Q){return Q!==void 0&&o(Q,"options"),z(this,Q)};function z(Q,ee){typeof Q.read!="function"&&(Q=j.wrap(Q,{objectMode:!0}));const G=K(Q,ee);return G.stream=Q,G}async function*K(Q,ee){let G=b;function A(me){this===Q?(G(),G=b):G=me}Q.on("readable",A);let J;const re=I(Q,{writable:!1},me=>{J=me?F(J,me):null,G(),G=b});try{for(;;){const me=Q.destroyed?null:Q.read();if(me!==null)yield me;else{if(J)throw J;if(J===null)return;await new m(A)}}}catch(me){throw J=F(J,me),J}finally{(J||ee?.destroyOnReturn!==!1)&&(J===void 0||Q._readableState.autoDestroy)?Z.destroyer(Q,null):(Q.off("readable",A),re())}}l(j.prototype,{readable:{__proto__:null,get(){const Q=this._readableState;return!!Q&&Q.readable!==!1&&!Q.destroyed&&!Q.errorEmitted&&!Q.endEmitted},set(Q){this._readableState&&(this._readableState.readable=!!Q)}},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(Q){this._readableState&&(this._readableState.flowing=Q)}},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(Q){this._readableState&&(this._readableState.destroyed=Q)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),l(x.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[a]!==!1},set(Q){this[a]=!!Q}}}),j._fromList=se;function se(Q,ee){if(ee.length===0)return null;let G;return ee.objectMode?G=ee.buffer.shift():!Q||Q>=ee.length?(ee.decoder?G=ee.buffer.join(""):ee.buffer.length===1?G=ee.buffer.first():G=ee.buffer.concat(ee.length),ee.buffer.clear()):G=ee.buffer.consume(Q,ee.decoder),G}function he(Q){const ee=Q._readableState;M("endReadable",ee.endEmitted),ee.endEmitted||(ee.ended=!0,e.nextTick(ve,ee,Q))}function ve(Q,ee){if(M("endReadableNT",Q.endEmitted,Q.length),!Q.errored&&!Q.closeEmitted&&!Q.endEmitted&&Q.length===0){if(Q.endEmitted=!0,ee.emit("end"),ee.writable&&ee.allowHalfOpen===!1)e.nextTick(we,ee);else if(Q.autoDestroy){const G=ee._writableState;(!G||G.autoDestroy&&(G.finished||G.writable===!1))&&ee.destroy()}}}function we(Q){Q.writable&&!Q.writableEnded&&!Q.destroyed&&Q.end()}j.from=function(Q,ee){return h(j,Q,ee)};let Pe;function je(){return Pe===void 0&&(Pe={}),Pe}return j.fromWeb=function(Q,ee){return je().newStreamReadableFromReadableStream(Q,ee)},j.toWeb=function(Q,ee){return je().newReadableStreamFromStreamReadable(Q,ee)},j.wrap=function(Q,ee){var G,A;return new j({objectMode:(G=(A=Q.readableObjectMode)!==null&&A!==void 0?A:Q.objectMode)!==null&&G!==void 0?G:!0,...ee,destroy(J,re){Z.destroyer(Q,J),re(J)}}).wrap(Q)},Gd}var qd,Q0;function Jw(){if(Q0)return qd;Q0=1;const e=Rs,{ArrayPrototypeSlice:t,Error:n,FunctionPrototypeSymbolHasInstance:i,ObjectDefineProperty:r,ObjectDefineProperties:l,ObjectSetPrototypeOf:u,StringPrototypeToLowerCase:f,Symbol:m,SymbolHasInstance:v}=Kt;qd=d,d.WritableState=o;const{EventEmitter:S}=Zp,C=Qp.Stream,{Buffer:D}=Hr,_=Uo,{addAbortSignal:E}=Ec,{getHighWaterMark:T,getDefaultHighWaterMark:P}=Xp,{ERR_INVALID_ARG_TYPE:I,ERR_METHOD_NOT_IMPLEMENTED:M,ERR_MULTIPLE_CALLBACK:H,ERR_STREAM_CANNOT_PIPE:Z,ERR_STREAM_DESTROYED:U,ERR_STREAM_ALREADY_FINISHED:B,ERR_STREAM_NULL_VALUES:F,ERR_STREAM_WRITE_AFTER_END:y,ERR_UNKNOWN_ENCODING:w}=_n.codes,{errorOrDestroy:L}=_;u(d.prototype,C.prototype),u(d,C);function N(){}const p=m("kOnFinished");function o(ce,fe,le){typeof le!="boolean"&&(le=fe instanceof or()),this.objectMode=!!(ce&&ce.objectMode),le&&(this.objectMode=this.objectMode||!!(ce&&ce.writableObjectMode)),this.highWaterMark=ce?T(this,ce,"writableHighWaterMark",le):P(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const X=!!(ce&&ce.decodeStrings===!1);this.decodeStrings=!X,this.defaultEncoding=ce&&ce.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=j.bind(void 0,fe),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,a(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!ce||ce.emitClose!==!1,this.autoDestroy=!ce||ce.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[p]=[]}function a(ce){ce.buffered=[],ce.bufferedIndex=0,ce.allBuffers=!0,ce.allNoop=!0}o.prototype.getBuffer=function(){return t(this.buffered,this.bufferedIndex)},r(o.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function d(ce){const fe=this instanceof or();if(!fe&&!i(d,this))return new d(ce);this._writableState=new o(ce,this,fe),ce&&(typeof ce.write=="function"&&(this._write=ce.write),typeof ce.writev=="function"&&(this._writev=ce.writev),typeof ce.destroy=="function"&&(this._destroy=ce.destroy),typeof ce.final=="function"&&(this._final=ce.final),typeof ce.construct=="function"&&(this._construct=ce.construct),ce.signal&&E(ce.signal,this)),C.call(this,ce),_.construct(this,()=>{const le=this._writableState;le.writing||V(this,le),$(this,le)})}r(d,v,{__proto__:null,value:function(ce){return i(this,ce)?!0:this!==d?!1:ce&&ce._writableState instanceof o}}),d.prototype.pipe=function(){L(this,new Z)};function h(ce,fe,le,X){const z=ce._writableState;if(typeof le=="function")X=le,le=z.defaultEncoding;else{if(!le)le=z.defaultEncoding;else if(le!=="buffer"&&!D.isEncoding(le))throw new w(le);typeof X!="function"&&(X=N)}if(fe===null)throw new F;if(!z.objectMode)if(typeof fe=="string")z.decodeStrings!==!1&&(fe=D.from(fe,le),le="buffer");else if(fe instanceof D)le="buffer";else if(C._isUint8Array(fe))fe=C._uint8ArrayToBuffer(fe),le="buffer";else throw new I("chunk",["string","Buffer","Uint8Array"],fe);let K;return z.ending?K=new y:z.destroyed&&(K=new U("write")),K?(e.nextTick(X,K),L(ce,K,!0),K):(z.pendingcb++,b(ce,z,fe,le,X))}d.prototype.write=function(ce,fe,le){return h(this,ce,fe,le)===!0},d.prototype.cork=function(){this._writableState.corked++},d.prototype.uncork=function(){const ce=this._writableState;ce.corked&&(ce.corked--,ce.writing||V(this,ce))},d.prototype.setDefaultEncoding=function(fe){if(typeof fe=="string"&&(fe=f(fe)),!D.isEncoding(fe))throw new w(fe);return this._writableState.defaultEncoding=fe,this};function b(ce,fe,le,X,z){const K=fe.objectMode?1:le.length;fe.length+=K;const se=fe.length<fe.highWaterMark;return se||(fe.needDrain=!0),fe.writing||fe.corked||fe.errored||!fe.constructed?(fe.buffered.push({chunk:le,encoding:X,callback:z}),fe.allBuffers&&X!=="buffer"&&(fe.allBuffers=!1),fe.allNoop&&z!==N&&(fe.allNoop=!1)):(fe.writelen=K,fe.writecb=z,fe.writing=!0,fe.sync=!0,ce._write(le,X,fe.onwrite),fe.sync=!1),se&&!fe.errored&&!fe.destroyed}function R(ce,fe,le,X,z,K,se){fe.writelen=X,fe.writecb=se,fe.writing=!0,fe.sync=!0,fe.destroyed?fe.onwrite(new U("write")):le?ce._writev(z,fe.onwrite):ce._write(z,K,fe.onwrite),fe.sync=!1}function x(ce,fe,le,X){--fe.pendingcb,X(le),O(fe),L(ce,le)}function j(ce,fe){const le=ce._writableState,X=le.sync,z=le.writecb;if(typeof z!="function"){L(ce,new H);return}le.writing=!1,le.writecb=null,le.length-=le.writelen,le.writelen=0,fe?(fe.stack,le.errored||(le.errored=fe),ce._readableState&&!ce._readableState.errored&&(ce._readableState.errored=fe),X?e.nextTick(x,ce,le,fe,z):x(ce,le,fe,z)):(le.buffered.length>le.bufferedIndex&&V(ce,le),X?le.afterWriteTickInfo!==null&&le.afterWriteTickInfo.cb===z?le.afterWriteTickInfo.count++:(le.afterWriteTickInfo={count:1,cb:z,stream:ce,state:le},e.nextTick(W,le.afterWriteTickInfo)):k(ce,le,1,z))}function W({stream:ce,state:fe,count:le,cb:X}){return fe.afterWriteTickInfo=null,k(ce,fe,le,X)}function k(ce,fe,le,X){for(!fe.ending&&!ce.destroyed&&fe.length===0&&fe.needDrain&&(fe.needDrain=!1,ce.emit("drain"));le-- >0;)fe.pendingcb--,X();fe.destroyed&&O(fe),$(ce,fe)}function O(ce){if(ce.writing)return;for(let z=ce.bufferedIndex;z<ce.buffered.length;++z){var fe;const{chunk:K,callback:se}=ce.buffered[z],he=ce.objectMode?1:K.length;ce.length-=he,se((fe=ce.errored)!==null&&fe!==void 0?fe:new U("write"))}const le=ce[p].splice(0);for(let z=0;z<le.length;z++){var X;le[z]((X=ce.errored)!==null&&X!==void 0?X:new U("end"))}a(ce)}function V(ce,fe){if(fe.corked||fe.bufferProcessing||fe.destroyed||!fe.constructed)return;const{buffered:le,bufferedIndex:X,objectMode:z}=fe,K=le.length-X;if(!K)return;let se=X;if(fe.bufferProcessing=!0,K>1&&ce._writev){fe.pendingcb-=K-1;const he=fe.allNoop?N:we=>{for(let Pe=se;Pe<le.length;++Pe)le[Pe].callback(we)},ve=fe.allNoop&&se===0?le:t(le,se);ve.allBuffers=fe.allBuffers,R(ce,fe,!0,fe.length,ve,"",he),a(fe)}else{do{const{chunk:he,encoding:ve,callback:we}=le[se];le[se++]=null;const Pe=z?1:he.length;R(ce,fe,!1,Pe,he,ve,we)}while(se<le.length&&!fe.writing);se===le.length?a(fe):se>256?(le.splice(0,se),fe.bufferedIndex=0):fe.bufferedIndex=se}fe.bufferProcessing=!1}d.prototype._write=function(ce,fe,le){if(this._writev)this._writev([{chunk:ce,encoding:fe}],le);else throw new M("_write()")},d.prototype._writev=null,d.prototype.end=function(ce,fe,le){const X=this._writableState;typeof ce=="function"?(le=ce,ce=null,fe=null):typeof fe=="function"&&(le=fe,fe=null);let z;if(ce!=null){const K=h(this,ce,fe);K instanceof n&&(z=K)}return X.corked&&(X.corked=1,this.uncork()),z||(!X.errored&&!X.ending?(X.ending=!0,$(this,X,!0),X.ended=!0):X.finished?z=new B("end"):X.destroyed&&(z=new U("end"))),typeof le=="function"&&(z||X.finished?e.nextTick(le,z):X[p].push(le)),this};function te(ce){return ce.ending&&!ce.destroyed&&ce.constructed&&ce.length===0&&!ce.errored&&ce.buffered.length===0&&!ce.finished&&!ce.writing&&!ce.errorEmitted&&!ce.closeEmitted}function ue(ce,fe){let le=!1;function X(z){if(le){L(ce,z??H());return}if(le=!0,fe.pendingcb--,z){const K=fe[p].splice(0);for(let se=0;se<K.length;se++)K[se](z);L(ce,z,fe.sync)}else te(fe)&&(fe.prefinished=!0,ce.emit("prefinish"),fe.pendingcb++,e.nextTick(ae,ce,fe))}fe.sync=!0,fe.pendingcb++;try{ce._final(X)}catch(z){X(z)}fe.sync=!1}function Y(ce,fe){!fe.prefinished&&!fe.finalCalled&&(typeof ce._final=="function"&&!fe.destroyed?(fe.finalCalled=!0,ue(ce,fe)):(fe.prefinished=!0,ce.emit("prefinish")))}function $(ce,fe,le){te(fe)&&(Y(ce,fe),fe.pendingcb===0&&(le?(fe.pendingcb++,e.nextTick((X,z)=>{te(z)?ae(X,z):z.pendingcb--},ce,fe)):te(fe)&&(fe.pendingcb++,ae(ce,fe))))}function ae(ce,fe){fe.pendingcb--,fe.finished=!0;const le=fe[p].splice(0);for(let X=0;X<le.length;X++)le[X]();if(ce.emit("finish"),fe.autoDestroy){const X=ce._readableState;(!X||X.autoDestroy&&(X.endEmitted||X.readable===!1))&&ce.destroy()}}l(d.prototype,{closed:{__proto__:null,get(){return this._writableState?this._writableState.closed:!1}},destroyed:{__proto__:null,get(){return this._writableState?this._writableState.destroyed:!1},set(ce){this._writableState&&(this._writableState.destroyed=ce)}},writable:{__proto__:null,get(){const ce=this._writableState;return!!ce&&ce.writable!==!1&&!ce.destroyed&&!ce.errored&&!ce.ending&&!ce.ended},set(ce){this._writableState&&(this._writableState.writable=!!ce)}},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 ce=this._writableState;return ce?!ce.destroyed&&!ce.ending&&ce.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 pe=_.destroy;d.prototype.destroy=function(ce,fe){const le=this._writableState;return!le.destroyed&&(le.bufferedIndex<le.buffered.length||le[p].length)&&e.nextTick(O,le),pe.call(this,ce,fe),this},d.prototype._undestroy=_.undestroy,d.prototype._destroy=function(ce,fe){fe(ce)},d.prototype[S.captureRejectionSymbol]=function(ce){this.destroy(ce)};let Te;function Ne(){return Te===void 0&&(Te={}),Te}return d.fromWeb=function(ce,fe){return Ne().newStreamWritableFromWritableStream(ce,fe)},d.toWeb=function(ce){return Ne().newWritableStreamFromStreamWritable(ce)},qd}var Hd,X0;function gD(){if(X0)return Hd;X0=1;const e=Rs,t=Hr,{isReadable:n,isWritable:i,isIterable:r,isNodeStream:l,isReadableNodeStream:u,isWritableNodeStream:f,isDuplexNodeStream:m}=hr,v=Vr,{AbortError:S,codes:{ERR_INVALID_ARG_TYPE:C,ERR_INVALID_RETURN_VALUE:D}}=_n,{destroyer:_}=Uo,E=or(),T=Cc(),{createDeferredPromise:P}=fr,I=zw,M=globalThis.Blob||t.Blob,H=typeof M<"u"?function(L){return L instanceof M}:function(L){return!1},Z=globalThis.AbortController||Jp().AbortController,{FunctionPrototypeCall:U}=Kt;class B extends E{constructor(L){super(L),L?.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),L?.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}Hd=function w(L,N){if(m(L))return L;if(u(L))return y({readable:L});if(f(L))return y({writable:L});if(l(L))return y({writable:!1,readable:!1});if(typeof L=="function"){const{value:o,write:a,final:d,destroy:h}=F(L);if(r(o))return I(B,o,{objectMode:!0,write:a,final:d,destroy:h});const b=o?.then;if(typeof b=="function"){let R;const x=U(b,o,j=>{if(j!=null)throw new D("nully","body",j)},j=>{_(R,j)});return R=new B({objectMode:!0,readable:!1,write:a,final(j){d(async()=>{try{await x,e.nextTick(j,null)}catch(W){e.nextTick(j,W)}})},destroy:h})}throw new D("Iterable, AsyncIterable or AsyncFunction",N,o)}if(H(L))return w(L.arrayBuffer());if(r(L))return I(B,L,{objectMode:!0,writable:!1});if(typeof L?.writable=="object"||typeof L?.readable=="object"){const o=L!=null&&L.readable?u(L?.readable)?L?.readable:w(L.readable):void 0,a=L!=null&&L.writable?f(L?.writable)?L?.writable:w(L.writable):void 0;return y({readable:o,writable:a})}const p=L?.then;if(typeof p=="function"){let o;return U(p,L,a=>{a!=null&&o.push(a),o.push(null)},a=>{_(o,a)}),o=new B({objectMode:!0,writable:!1,read(){}})}throw new C(N,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],L)};function F(w){let{promise:L,resolve:N}=P();const p=new Z,o=p.signal;return{value:w(async function*(){for(;;){const d=L;L=null;const{chunk:h,done:b,cb:R}=await d;if(e.nextTick(R),b)return;if(o.aborted)throw new S(void 0,{cause:o.reason});({promise:L,resolve:N}=P()),yield h}}(),{signal:o}),write(d,h,b){const R=N;N=null,R({chunk:d,done:!1,cb:b})},final(d){const h=N;N=null,h({done:!0,cb:d})},destroy(d,h){p.abort(),h(d)}}}function y(w){const L=w.readable&&typeof w.readable.read!="function"?T.wrap(w.readable):w.readable,N=w.writable;let p=!!n(L),o=!!i(N),a,d,h,b,R;function x(j){const W=b;b=null,W?W(j):j&&R.destroy(j)}return R=new B({readableObjectMode:!!(L!=null&&L.readableObjectMode),writableObjectMode:!!(N!=null&&N.writableObjectMode),readable:p,writable:o}),o&&(v(N,j=>{o=!1,j&&_(L,j),x(j)}),R._write=function(j,W,k){N.write(j,W)?k():a=k},R._final=function(j){N.end(),d=j},N.on("drain",function(){if(a){const j=a;a=null,j()}}),N.on("finish",function(){if(d){const j=d;d=null,j()}})),p&&(v(L,j=>{p=!1,j&&_(L,j),x(j)}),L.on("readable",function(){if(h){const j=h;h=null,j()}}),L.on("end",function(){R.push(null)}),R._read=function(){for(;;){const j=L.read();if(j===null){h=R._read;return}if(!R.push(j))return}}),R._destroy=function(j,W){!j&&b!==null&&(j=new S),h=null,a=null,d=null,b===null?W(j):(b=W,_(N,j),_(L,j))},R}return Hd}var Vd,Y0;function or(){if(Y0)return Vd;Y0=1;const{ObjectDefineProperties:e,ObjectGetOwnPropertyDescriptor:t,ObjectKeys:n,ObjectSetPrototypeOf:i}=Kt;Vd=u;const r=Cc(),l=Jw();i(u.prototype,r.prototype),i(u,r);{const S=n(l.prototype);for(let C=0;C<S.length;C++){const D=S[C];u.prototype[D]||(u.prototype[D]=l.prototype[D])}}function u(S){if(!(this instanceof u))return new u(S);r.call(this,S),l.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(u.prototype,{writable:{__proto__:null,...t(l.prototype,"writable")},writableHighWaterMark:{__proto__:null,...t(l.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...t(l.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...t(l.prototype,"writableBuffer")},writableLength:{__proto__:null,...t(l.prototype,"writableLength")},writableFinished:{__proto__:null,...t(l.prototype,"writableFinished")},writableCorked:{__proto__:null,...t(l.prototype,"writableCorked")},writableEnded:{__proto__:null,...t(l.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...t(l.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 f;function m(){return f===void 0&&(f={}),f}u.fromWeb=function(S,C){return m().newStreamDuplexFromReadableWritablePair(S,C)},u.toWeb=function(S){return m().newReadableWritablePairFromDuplex(S)};let v;return u.from=function(S){return v||(v=gD()),v(S,"body")},Vd}const{ObjectSetPrototypeOf:Ww,Symbol:bD}=Kt;var Gw=ar;const{ERR_METHOD_NOT_IMPLEMENTED:TD}=_n.codes,$p=or(),{getHighWaterMark:SD}=Xp;Ww(ar.prototype,$p.prototype);Ww(ar,$p);const La=bD("kCallback");function ar(e){if(!(this instanceof ar))return new ar(e);const t=e?SD(this,e,"readableHighWaterMark",!0):null;t===0&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),$p.call(this,e),this._readableState.sync=!1,this[La]=null,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",vD)}function Rh(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 vD(){this._final!==Rh&&Rh.call(this)}ar.prototype._final=Rh;ar.prototype._transform=function(e,t,n){throw new TD("_transform()")};ar.prototype._write=function(e,t,n){const i=this._readableState,r=this._writableState,l=i.length;this._transform(e,t,(u,f)=>{if(u){n(u);return}f!=null&&this.push(f),r.ended||l===i.length||i.length<i.highWaterMark?n():this[La]=n})};ar.prototype._read=function(){if(this[La]){const e=this[La];this[La]=null,e()}};const{ObjectSetPrototypeOf:qw}=Kt;var Hw=ko;const em=Gw;qw(ko.prototype,em.prototype);qw(ko,em);function ko(e){if(!(this instanceof ko))return new ko(e);em.call(this,e)}ko.prototype._transform=function(e,t,n){n(null,e)};const ma=Rs,{ArrayIsArray:wD,Promise:LD,SymbolAsyncIterator:_D}=Kt,Al=Vr,{once:ND}=fr,kD=Uo,$0=or(),{aggregateTwoErrors:OD,codes:{ERR_INVALID_ARG_TYPE:Bh,ERR_INVALID_RETURN_VALUE:Kd,ERR_MISSING_ARGS:ED,ERR_STREAM_DESTROYED:CD,ERR_STREAM_PREMATURE_CLOSE:AD},AbortError:FD}=_n,{validateFunction:PD,validateAbortSignal:ID}=Sc,{isIterable:ls,isReadable:Zd,isReadableNodeStream:yl,isNodeStream:eT,isTransformStream:uo,isWebStream:MD,isReadableStream:Qd,isReadableEnded:jD}=hr,RD=globalThis.AbortController||Jp().AbortController;let Xd,Yd;function tT(e,t,n){let i=!1;e.on("close",()=>{i=!0});const r=Al(e,{readable:t,writable:n},l=>{i=!l});return{destroy:l=>{i||(i=!0,kD.destroyer(e,l||new CD("pipe")))},cleanup:r}}function BD(e){return PD(e[e.length-1],"streams[stream.length - 1]"),e.pop()}function $d(e){if(ls(e))return e;if(yl(e))return DD(e);throw new Bh("val",["Readable","Iterable","AsyncIterable"],e)}async function*DD(e){Yd||(Yd=Cc()),yield*Yd.prototype[_D].call(e)}async function Xu(e,t,n,{end:i}){let r,l=null;const u=v=>{if(v&&(r=v),l){const S=l;l=null,S()}},f=()=>new LD((v,S)=>{r?S(r):l=()=>{r?S(r):v()}});t.on("drain",u);const m=Al(t,{readable:!1},u);try{t.writableNeedDrain&&await f();for await(const v of e)t.write(v)||await f();i&&t.end(),await f(),n()}catch(v){n(r!==v?OD(r,v):v)}finally{m(),t.off("drain",u)}}async function eh(e,t,n,{end:i}){uo(t)&&(t=t.writable);const r=t.getWriter();try{for await(const l of e)await r.ready,r.write(l).catch(()=>{});await r.ready,i&&await r.close(),n()}catch(l){try{await r.abort(l),n(l)}catch(u){n(u)}}}function xD(...e){return Vw(e,ND(BD(e)))}function Vw(e,t,n){if(e.length===1&&wD(e[0])&&(e=e[0]),e.length<2)throw new ED("streams");const i=new RD,r=i.signal,l=n?.signal,u=[];ID(l,"options.signal");function f(){_(new FD)}l?.addEventListener("abort",f);let m,v;const S=[];let C=0;function D(I){_(I,--C===0)}function _(I,M){if(I&&(!m||m.code==="ERR_STREAM_PREMATURE_CLOSE")&&(m=I),!(!m&&!M)){for(;S.length;)S.shift()(m);l?.removeEventListener("abort",f),i.abort(),M&&(m||u.forEach(H=>H()),ma.nextTick(t,m,v))}}let E;for(let I=0;I<e.length;I++){const M=e[I],H=I<e.length-1,Z=I>0,U=H||n?.end!==!1,B=I===e.length-1;if(eT(M)){let F=function(y){y&&y.name!=="AbortError"&&y.code!=="ERR_STREAM_PREMATURE_CLOSE"&&D(y)};if(U){const{destroy:y,cleanup:w}=tT(M,H,Z);S.push(y),Zd(M)&&B&&u.push(w)}M.on("error",F),Zd(M)&&B&&u.push(()=>{M.removeListener("error",F)})}if(I===0)if(typeof M=="function"){if(E=M({signal:r}),!ls(E))throw new Kd("Iterable, AsyncIterable or Stream","source",E)}else ls(M)||yl(M)||uo(M)?E=M:E=$0.from(M);else if(typeof M=="function"){if(uo(E)){var T;E=$d((T=E)===null||T===void 0?void 0:T.readable)}else E=$d(E);if(E=M(E,{signal:r}),H){if(!ls(E,!0))throw new Kd("AsyncIterable",`transform[${I-1}]`,E)}else{var P;Xd||(Xd=Hw);const F=new Xd({objectMode:!0}),y=(P=E)===null||P===void 0?void 0:P.then;if(typeof y=="function")C++,y.call(E,N=>{v=N,N!=null&&F.write(N),U&&F.end(),ma.nextTick(D)},N=>{F.destroy(N),ma.nextTick(D,N)});else if(ls(E,!0))C++,Xu(E,F,D,{end:U});else if(Qd(E)||uo(E)){const N=E.readable||E;C++,Xu(N,F,D,{end:U})}else throw new Kd("AsyncIterable or Promise","destination",E);E=F;const{destroy:w,cleanup:L}=tT(E,!1,!0);S.push(w),B&&u.push(L)}}else if(eT(M)){if(yl(E)){C+=2;const F=UD(E,M,D,{end:U});Zd(M)&&B&&u.push(F)}else if(uo(E)||Qd(E)){const F=E.readable||E;C++,Xu(F,M,D,{end:U})}else if(ls(E))C++,Xu(E,M,D,{end:U});else throw new Bh("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],E);E=M}else if(MD(M)){if(yl(E))C++,eh($d(E),M,D,{end:U});else if(Qd(E)||ls(E))C++,eh(E,M,D,{end:U});else if(uo(E))C++,eh(E.readable,M,D,{end:U});else throw new Bh("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],E);E=M}else E=$0.from(M)}return(r!=null&&r.aborted||l!=null&&l.aborted)&&ma.nextTick(f),E}function UD(e,t,n,{end:i}){let r=!1;if(t.on("close",()=>{r||n(new AD)}),e.pipe(t,{end:!1}),i){let l=function(){r=!0,t.end()};jD(e)?ma.nextTick(l):e.once("end",l)}else n();return Al(e,{readable:!0,writable:!1},l=>{const u=e._readableState;l&&l.code==="ERR_STREAM_PREMATURE_CLOSE"&&u&&u.ended&&!u.errored&&!u.errorEmitted?e.once("end",n).once("error",n):n(l)}),Al(t,{readable:!1,writable:!0},n)}var tm={pipelineImpl:Vw,pipeline:xD};const{pipeline:zD}=tm,Yu=or(),{destroyer:JD}=Uo,{isNodeStream:$u,isReadable:nT,isWritable:iT,isWebStream:th,isTransformStream:os,isWritableStream:rT,isReadableStream:sT}=hr,{AbortError:WD,codes:{ERR_INVALID_ARG_VALUE:oT,ERR_MISSING_ARGS:GD}}=_n,qD=Vr;var Kw=function(...t){if(t.length===0)throw new GD("streams");if(t.length===1)return Yu.from(t[0]);const n=[...t];if(typeof t[0]=="function"&&(t[0]=Yu.from(t[0])),typeof t[t.length-1]=="function"){const _=t.length-1;t[_]=Yu.from(t[_])}for(let _=0;_<t.length;++_)if(!(!$u(t[_])&&!th(t[_]))){if(_<t.length-1&&!(nT(t[_])||sT(t[_])||os(t[_])))throw new oT(`streams[${_}]`,n[_],"must be readable");if(_>0&&!(iT(t[_])||rT(t[_])||os(t[_])))throw new oT(`streams[${_}]`,n[_],"must be writable")}let i,r,l,u,f;function m(_){const E=u;u=null,E?E(_):_?f.destroy(_):!D&&!C&&f.destroy()}const v=t[0],S=zD(t,m),C=!!(iT(v)||rT(v)||os(v)),D=!!(nT(S)||sT(S)||os(S));if(f=new Yu({writableObjectMode:!!(v!=null&&v.writableObjectMode),readableObjectMode:!!(S!=null&&S.writableObjectMode),writable:C,readable:D}),C){if($u(v))f._write=function(E,T,P){v.write(E,T)?P():i=P},f._final=function(E){v.end(),r=E},v.on("drain",function(){if(i){const E=i;i=null,E()}});else if(th(v)){const T=(os(v)?v.writable:v).getWriter();f._write=async function(P,I,M){try{await T.ready,T.write(P).catch(()=>{}),M()}catch(H){M(H)}},f._final=async function(P){try{await T.ready,T.close().catch(()=>{}),r=P}catch(I){P(I)}}}const _=os(S)?S.readable:S;qD(_,()=>{if(r){const E=r;r=null,E()}})}if(D){if($u(S))S.on("readable",function(){if(l){const _=l;l=null,_()}}),S.on("end",function(){f.push(null)}),f._read=function(){for(;;){const _=S.read();if(_===null){l=f._read;return}if(!f.push(_))return}};else if(th(S)){const E=(os(S)?S.readable:S).getReader();f._read=async function(){for(;;)try{const{value:T,done:P}=await E.read();if(!f.push(T))return;if(P){f.push(null);return}}catch{return}}}}return f._destroy=function(_,E){!_&&u!==null&&(_=new WD),l=null,i=null,r=null,u===null?E(_):(u=E,$u(S)&&JD(S,_))},f};const Zw=globalThis.AbortController||Jp().AbortController,{codes:{ERR_INVALID_ARG_VALUE:HD,ERR_INVALID_ARG_TYPE:Ka,ERR_MISSING_ARGS:VD,ERR_OUT_OF_RANGE:KD},AbortError:Mi}=_n,{validateAbortSignal:Bs,validateInteger:ZD,validateObject:Ds}=Sc,QD=Kt.Symbol("kWeak"),{finished:XD}=Vr,YD=Kw,{addAbortSignalNoValidate:$D}=Ec,{isWritable:ex,isNodeStream:tx}=hr,{ArrayPrototypePush:nx,MathFloor:ix,Number:rx,NumberIsNaN:sx,Promise:aT,PromiseReject:uT,PromisePrototypeThen:ox,Symbol:Qw}=Kt,Fl=Qw("kEmpty"),lT=Qw("kEof");function ax(e,t){if(t!=null&&Ds(t,"options"),t?.signal!=null&&Bs(t.signal,"options.signal"),tx(e)&&!ex(e))throw new HD("stream",e,"must be writable");const n=YD(this,e);return t!=null&&t.signal&&$D(t.signal,n),n}function Ac(e,t){if(typeof e!="function")throw new Ka("fn",["Function","AsyncFunction"],e);t!=null&&Ds(t,"options"),t?.signal!=null&&Bs(t.signal,"options.signal");let n=1;return t?.concurrency!=null&&(n=ix(t.concurrency)),ZD(n,"concurrency",1),async function*(){var r,l;const u=new Zw,f=this,m=[],v=u.signal,S={signal:v},C=()=>u.abort();t!=null&&(r=t.signal)!==null&&r!==void 0&&r.aborted&&C(),t==null||(l=t.signal)===null||l===void 0||l.addEventListener("abort",C);let D,_,E=!1;function T(){E=!0}async function P(){try{for await(let H of f){var I;if(E)return;if(v.aborted)throw new Mi;try{H=e(H,S)}catch(Z){H=uT(Z)}H!==Fl&&(typeof((I=H)===null||I===void 0?void 0:I.catch)=="function"&&H.catch(T),m.push(H),D&&(D(),D=null),!E&&m.length&&m.length>=n&&await new aT(Z=>{_=Z}))}m.push(lT)}catch(H){const Z=uT(H);ox(Z,void 0,T),m.push(Z)}finally{var M;E=!0,D&&(D(),D=null),t==null||(M=t.signal)===null||M===void 0||M.removeEventListener("abort",C)}}P();try{for(;;){for(;m.length>0;){const I=await m[0];if(I===lT)return;if(v.aborted)throw new Mi;I!==Fl&&(yield I),m.shift(),_&&(_(),_=null)}await new aT(I=>{D=I})}}finally{u.abort(),E=!0,_&&(_(),_=null)}}.call(this)}function ux(e=void 0){return e!=null&&Ds(e,"options"),e?.signal!=null&&Bs(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 Mi({cause:e.signal.reason});yield[n++,r]}}.call(this)}async function Xw(e,t=void 0){for await(const n of nm.call(this,e,t))return!0;return!1}async function lx(e,t=void 0){if(typeof e!="function")throw new Ka("fn",["Function","AsyncFunction"],e);return!await Xw.call(this,async(...n)=>!await e(...n),t)}async function cx(e,t){for await(const n of nm.call(this,e,t))return n}async function fx(e,t){if(typeof e!="function")throw new Ka("fn",["Function","AsyncFunction"],e);async function n(i,r){return await e(i,r),Fl}for await(const i of Ac.call(this,n,t));}function nm(e,t){if(typeof e!="function")throw new Ka("fn",["Function","AsyncFunction"],e);async function n(i,r){return await e(i,r)?i:Fl}return Ac.call(this,n,t)}class dx extends VD{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}async function hx(e,t,n){var i;if(typeof e!="function")throw new Ka("reducer",["Function","AsyncFunction"],e);n!=null&&Ds(n,"options"),n?.signal!=null&&Bs(n.signal,"options.signal");let r=arguments.length>1;if(n!=null&&(i=n.signal)!==null&&i!==void 0&&i.aborted){const v=new Mi(void 0,{cause:n.signal.reason});throw this.once("error",()=>{}),await XD(this.destroy(v)),v}const l=new Zw,u=l.signal;if(n!=null&&n.signal){const v={once:!0,[QD]:this};n.signal.addEventListener("abort",()=>l.abort(),v)}let f=!1;try{for await(const v of this){var m;if(f=!0,n!=null&&(m=n.signal)!==null&&m!==void 0&&m.aborted)throw new Mi;r?t=await e(t,v,{signal:u}):(t=v,r=!0)}if(!f&&!r)throw new dx}finally{l.abort()}return t}async function px(e){e!=null&&Ds(e,"options"),e?.signal!=null&&Bs(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 Mi(void 0,{cause:e.signal.reason});nx(t,i)}return t}function mx(e,t){const n=Ac.call(this,e,t);return async function*(){for await(const r of n)yield*r}.call(this)}function Yw(e){if(e=rx(e),sx(e))return 0;if(e<0)throw new KD("number",">= 0",e);return e}function yx(e,t=void 0){return t!=null&&Ds(t,"options"),t?.signal!=null&&Bs(t.signal,"options.signal"),e=Yw(e),async function*(){var i;if(t!=null&&(i=t.signal)!==null&&i!==void 0&&i.aborted)throw new Mi;for await(const l of this){var r;if(t!=null&&(r=t.signal)!==null&&r!==void 0&&r.aborted)throw new Mi;e--<=0&&(yield l)}}.call(this)}function gx(e,t=void 0){return t!=null&&Ds(t,"options"),t?.signal!=null&&Bs(t.signal,"options.signal"),e=Yw(e),async function*(){var i;if(t!=null&&(i=t.signal)!==null&&i!==void 0&&i.aborted)throw new Mi;for await(const l of this){var r;if(t!=null&&(r=t.signal)!==null&&r!==void 0&&r.aborted)throw new Mi;if(e-- >0)yield l;else return}}.call(this)}zp.streamReturningOperators={asIndexedPairs:ux,drop:yx,filter:nm,flatMap:mx,map:Ac,take:gx,compose:ax};zp.promiseReturningOperators={every:lx,forEach:fx,reduce:hx,toArray:px,some:Xw,find:cx};var nh,cT;function $w(){if(cT)return nh;cT=1;const{ArrayPrototypePop:e,Promise:t}=Kt,{isIterable:n,isNodeStream:i,isWebStream:r}=hr,{pipelineImpl:l}=tm,{finished:u}=Vr;eL();function f(...m){return new t((v,S)=>{let C,D;const _=m[m.length-1];if(_&&typeof _=="object"&&!i(_)&&!n(_)&&!r(_)){const E=e(m);C=E.signal,D=E.end}l(m,(E,T)=>{E?S(E):v(T)},{signal:C,end:D})})}return nh={finished:u,pipeline:f},nh}var fT;function eL(){if(fT)return xd.exports;fT=1;const{Buffer:e}=Hr,{ObjectDefineProperty:t,ObjectKeys:n,ReflectApply:i}=Kt,{promisify:{custom:r}}=fr,{streamReturningOperators:l,promiseReturningOperators:u}=zp,{codes:{ERR_ILLEGAL_CONSTRUCTOR:f}}=_n,m=Kw,{pipeline:v}=tm,{destroyer:S}=Uo,C=Vr,D=$w(),_=hr,E=xd.exports=Qp.Stream;E.isDisturbed=_.isDisturbed,E.isErrored=_.isErrored,E.isReadable=_.isReadable,E.Readable=Cc();for(const P of n(l)){let M=function(...H){if(new.target)throw f();return E.Readable.from(i(I,this,H))};const I=l[P];t(M,"name",{__proto__:null,value:I.name}),t(M,"length",{__proto__:null,value:I.length}),t(E.Readable.prototype,P,{__proto__:null,value:M,enumerable:!1,configurable:!0,writable:!0})}for(const P of n(u)){let M=function(...H){if(new.target)throw f();return i(I,this,H)};const I=u[P];t(M,"name",{__proto__:null,value:I.name}),t(M,"length",{__proto__:null,value:I.length}),t(E.Readable.prototype,P,{__proto__:null,value:M,enumerable:!1,configurable:!0,writable:!0})}E.Writable=Jw(),E.Duplex=or(),E.Transform=Gw,E.PassThrough=Hw,E.pipeline=v;const{addAbortSignal:T}=Ec;return E.addAbortSignal=T,E.finished=C,E.destroy=S,E.compose=m,t(E,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return D}}),t(v,r,{__proto__:null,enumerable:!0,get(){return D.pipeline}}),t(C,r,{__proto__:null,enumerable:!0,get(){return D.finished}}),E.Stream=E,E._isUint8Array=function(I){return I instanceof Uint8Array},E._uint8ArrayToBuffer=function(I){return e.from(I.buffer,I.byteOffset,I.byteLength)},xd.exports}(function(e){const t=eL(),n=$w(),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})(Xv);var bx=Xv.exports;Object.defineProperty(Up,"__esModule",{value:!0});const Tx=bx;function Sx(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 l=0;const u=[],f=new Tx.PassThrough({objectMode:r});return n&&f.setEncoding(n),f.on("data",m=>{u.push(m),r?l=u.length:l+=m.length}),f.getBufferedValue=()=>t?u:i?Buffer.concat(u,l):u.join(""),f.getBufferedLength=()=>l,f}Up.default=Sx;var vx=Fe&&Fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(tr,"__esModule",{value:!0});tr.array=tr.buffer=tr.getStream=void 0;const wx=vx(Up);function im(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 l=new Promise((u,f)=>{const m=v=>{v&&(v.bufferedData=i.getBufferedValue()),f(v)};i=(0,wx.default)(t),e.once("error",m),e.pipe(i),i.on("data",()=>{i.getBufferedLength()>n&&f(new Error("maxBuffer exceeded"))}),i.once("error",m),i.on("end",u),r=()=>{e.unpipe&&e.unpipe(i)}});return l.then(r,r),l.then(()=>i.getBufferedValue())}tr.getStream=im;function Lx(e,t={}){im(e,Object.assign({},t,{encoding:"buffer"}))}tr.buffer=Lx;function _x(e,t={}){im(e,Object.assign({},t,{array:!0}))}tr.array=_x;var as={};const Nx={},kx=Object.freeze(Object.defineProperty({__proto__:null,default:Nx},Symbol.toStringTag,{value:"Module"})),Ox=yT(kx);var xs={};Object.defineProperty(xs,"__esModule",{value:!0});var Ex=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cx=typeof window<"u"&&typeof window.document<"u",Ax=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,Fx=(typeof self>"u"?"undefined":Ex(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",Px=typeof window<"u"&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Ix=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u";xs.isBrowser=Cx;xs.isWebWorker=Fx;xs.isNode=Ax;xs.isJsDom=Px;xs.isDeno=Ix;var tL={},Fc={};Object.defineProperty(Fc,"__esModule",{value:!0});Fc.DefaultMap=void 0;class Mx 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}}Fc.DefaultMap=Mx;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultMap=e.exceptionToError=e.exceptionToString=e.filterUndefined=e.mapFilterUndefined=e.hasOwnProperty=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(M){}e.proveType=t;function n(M,H,Z){return console.trace(H),Z}e.proveNever=n;function i(M="This should not happen"){console.trace(M);debugger;throw new Error(M)}e.panic=i;function r(M,H="Assertion failed"){if(!M)return i(H)}e.assert=r;function l(M,H="`never` happened"){return i(H)}e.assertNever=l;function u(M,H){return M===void 0?i("Value was undefined but should be defined"+(H!==void 0?` because: ${H}`:"")):M}e.defined=u;function f(M){M instanceof Promise&&M.catch(H=>{throw console.trace("Unhandled error from unawaited promise",H),H})}e.dontAwait=f;function m(M){return new Promise(H=>{setTimeout(H,M)})}e.sleep=m;function v(M,H,Z){return M===void 0?H:H===void 0?M:Z(M,H)}e.reduceTwo=v;function S(M,H){if(M!==void 0)return H(M)}e.definedMap=S;function C(M,H){return Object.keys(M).map(Z=>M[Z]).some(Z=>Z===H)}e.isEnumValue=C;function D(M,H){return M==null?!1:Object.prototype.hasOwnProperty.call(M,H)}e.hasOwnProperty=D;function _(M,H){const Z=[];let U=0;for(const B of M){const F=H(B,U);U+=1,F!==void 0&&Z.push(F)}return Z}e.mapFilterUndefined=_;function E(M){const H=[];for(const Z of M)Z!==void 0&&H.push(Z);return H}e.filterUndefined=E;function T(M){if(M===void 0)return"";try{return M.toString()}catch(H){try{return`Exception can't be stringified: ${T(H)}`}catch{return"Exception can't be stringified"}}}e.exceptionToString=T;function P(M){return M instanceof Error?M:new Error(T(M))}e.exceptionToError=P;var I=Fc;Object.defineProperty(e,"DefaultMap",{enumerable:!0,get:function(){return I.DefaultMap}})})(tL);var jx=xx,Rx=/^(?:\w+:)?\/\/(\S+)$/,Bx=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,Dx=/^[^\s\.]+\.\S{2,}$/;function xx(e){if(typeof e!="string")return!1;var t=e.match(Rx);if(!t)return!1;var n=t[1];return n?!!(Bx.test(n)||Dx.test(n)):!1}var Dh={exports:{}};(function(e,t){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof Fe<"u"&&Fe,i=function(){function l(){this.fetch=!1,this.DOMException=n.DOMException}return l.prototype=n,new l}();(function(l){(function(u){var f=typeof l<"u"&&l||typeof self<"u"&&self||typeof f<"u"&&f,m={searchParams:"URLSearchParams"in f,iterable:"Symbol"in f&&"iterator"in Symbol,blob:"FileReader"in f&&"Blob"in f&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in f,arrayBuffer:"ArrayBuffer"in f};function v(d){return d&&DataView.prototype.isPrototypeOf(d)}if(m.arrayBuffer)var S=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],C=ArrayBuffer.isView||function(d){return d&&S.indexOf(Object.prototype.toString.call(d))>-1};function D(d){if(typeof d!="string"&&(d=String(d)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(d)||d==="")throw new TypeError('Invalid character in header field name: "'+d+'"');return d.toLowerCase()}function _(d){return typeof d!="string"&&(d=String(d)),d}function E(d){var h={next:function(){var b=d.shift();return{done:b===void 0,value:b}}};return m.iterable&&(h[Symbol.iterator]=function(){return h}),h}function T(d){this.map={},d instanceof T?d.forEach(function(h,b){this.append(b,h)},this):Array.isArray(d)?d.forEach(function(h){this.append(h[0],h[1])},this):d&&Object.getOwnPropertyNames(d).forEach(function(h){this.append(h,d[h])},this)}T.prototype.append=function(d,h){d=D(d),h=_(h);var b=this.map[d];this.map[d]=b?b+", "+h:h},T.prototype.delete=function(d){delete this.map[D(d)]},T.prototype.get=function(d){return d=D(d),this.has(d)?this.map[d]:null},T.prototype.has=function(d){return this.map.hasOwnProperty(D(d))},T.prototype.set=function(d,h){this.map[D(d)]=_(h)},T.prototype.forEach=function(d,h){for(var b in this.map)this.map.hasOwnProperty(b)&&d.call(h,this.map[b],b,this)},T.prototype.keys=function(){var d=[];return this.forEach(function(h,b){d.push(b)}),E(d)},T.prototype.values=function(){var d=[];return this.forEach(function(h){d.push(h)}),E(d)},T.prototype.entries=function(){var d=[];return this.forEach(function(h,b){d.push([b,h])}),E(d)},m.iterable&&(T.prototype[Symbol.iterator]=T.prototype.entries);function P(d){if(d.bodyUsed)return Promise.reject(new TypeError("Already read"));d.bodyUsed=!0}function I(d){return new Promise(function(h,b){d.onload=function(){h(d.result)},d.onerror=function(){b(d.error)}})}function M(d){var h=new FileReader,b=I(h);return h.readAsArrayBuffer(d),b}function H(d){var h=new FileReader,b=I(h);return h.readAsText(d),b}function Z(d){for(var h=new Uint8Array(d),b=new Array(h.length),R=0;R<h.length;R++)b[R]=String.fromCharCode(h[R]);return b.join("")}function U(d){if(d.slice)return d.slice(0);var h=new Uint8Array(d.byteLength);return h.set(new Uint8Array(d)),h.buffer}function B(){return this.bodyUsed=!1,this._initBody=function(d){this.bodyUsed=this.bodyUsed,this._bodyInit=d,d?typeof d=="string"?this._bodyText=d:m.blob&&Blob.prototype.isPrototypeOf(d)?this._bodyBlob=d:m.formData&&FormData.prototype.isPrototypeOf(d)?this._bodyFormData=d:m.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)?this._bodyText=d.toString():m.arrayBuffer&&m.blob&&v(d)?(this._bodyArrayBuffer=U(d.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):m.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(d)||C(d))?this._bodyArrayBuffer=U(d):this._bodyText=d=Object.prototype.toString.call(d):this._bodyText="",this.headers.get("content-type")||(typeof d=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):m.searchParams&&URLSearchParams.prototype.isPrototypeOf(d)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m.blob&&(this.blob=function(){var d=P(this);if(d)return d;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 d=P(this);return d||(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(M)}),this.text=function(){var d=P(this);if(d)return d;if(this._bodyBlob)return H(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(Z(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(L)}),this.json=function(){return this.text().then(JSON.parse)},this}var F=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(d){var h=d.toUpperCase();return F.indexOf(h)>-1?h:d}function w(d,h){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');h=h||{};var b=h.body;if(d instanceof w){if(d.bodyUsed)throw new TypeError("Already read");this.url=d.url,this.credentials=d.credentials,h.headers||(this.headers=new T(d.headers)),this.method=d.method,this.mode=d.mode,this.signal=d.signal,!b&&d._bodyInit!=null&&(b=d._bodyInit,d.bodyUsed=!0)}else this.url=String(d);if(this.credentials=h.credentials||this.credentials||"same-origin",(h.headers||!this.headers)&&(this.headers=new T(h.headers)),this.method=y(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")&&b)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(b),(this.method==="GET"||this.method==="HEAD")&&(h.cache==="no-store"||h.cache==="no-cache")){var R=/([?&])_=[^&]*/;if(R.test(this.url))this.url=this.url.replace(R,"$1_="+new Date().getTime());else{var x=/\?/;this.url+=(x.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})};function L(d){var h=new FormData;return d.trim().split("&").forEach(function(b){if(b){var R=b.split("="),x=R.shift().replace(/\+/g," "),j=R.join("=").replace(/\+/g," ");h.append(decodeURIComponent(x),decodeURIComponent(j))}}),h}function N(d){var h=new T,b=d.replace(/\r?\n[\t ]+/g," ");return b.split("\r").map(function(R){return R.indexOf(`
|
|
977
|
-
`)===0?R.substr(1,R.length):R}).forEach(function(R){var x=R.split(":"),j=x.shift().trim();if(j){var W=x.join(":").trim();h.append(j,W)}}),h}B.call(w.prototype);function p(d,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 T(h.headers),this.url=h.url||"",this._initBody(d)}B.call(p.prototype),p.prototype.clone=function(){return new p(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new T(this.headers),url:this.url})},p.error=function(){var d=new p(null,{status:0,statusText:""});return d.type="error",d};var o=[301,302,303,307,308];p.redirect=function(d,h){if(o.indexOf(h)===-1)throw new RangeError("Invalid status code");return new p(null,{status:h,headers:{location:d}})},u.DOMException=f.DOMException;try{new u.DOMException}catch{u.DOMException=function(h,b){this.message=h,this.name=b;var R=Error(h);this.stack=R.stack},u.DOMException.prototype=Object.create(Error.prototype),u.DOMException.prototype.constructor=u.DOMException}function a(d,h){return new Promise(function(b,R){var x=new w(d,h);if(x.signal&&x.signal.aborted)return R(new u.DOMException("Aborted","AbortError"));var j=new XMLHttpRequest;function W(){j.abort()}j.onload=function(){var O={status:j.status,statusText:j.statusText,headers:N(j.getAllResponseHeaders()||"")};O.url="responseURL"in j?j.responseURL:O.headers.get("X-Request-URL");var V="response"in j?j.response:j.responseText;setTimeout(function(){b(new p(V,O))},0)},j.onerror=function(){setTimeout(function(){R(new TypeError("Network request failed"))},0)},j.ontimeout=function(){setTimeout(function(){R(new TypeError("Network request failed"))},0)},j.onabort=function(){setTimeout(function(){R(new u.DOMException("Aborted","AbortError"))},0)};function k(O){try{return O===""&&f.location.href?f.location.href:O}catch{return O}}j.open(x.method,k(x.url),!0),x.credentials==="include"?j.withCredentials=!0:x.credentials==="omit"&&(j.withCredentials=!1),"responseType"in j&&(m.blob?j.responseType="blob":m.arrayBuffer&&x.headers.get("Content-Type")&&x.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(j.responseType="arraybuffer")),h&&typeof h.headers=="object"&&!(h.headers instanceof T)?Object.getOwnPropertyNames(h.headers).forEach(function(O){j.setRequestHeader(O,_(h.headers[O]))}):x.headers.forEach(function(O,V){j.setRequestHeader(V,O)}),x.signal&&(x.signal.addEventListener("abort",W),j.onreadystatechange=function(){j.readyState===4&&x.signal.removeEventListener("abort",W)}),j.send(typeof x._bodyInit>"u"?null:x._bodyInit)})}return a.polyfill=!0,f.fetch||(f.fetch=a,f.Headers=T,f.Request=w,f.Response=p),u.Headers=T,u.Request=w,u.Response=p,u.fetch=a,u})({})})(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})(Dh,Dh.exports);var Ux=Dh.exports,dT;function nL(){if(dT)return as;dT=1;var e=Fe&&Fe.__createBinding||(Object.create?function(T,P,I,M){M===void 0&&(M=I);var H=Object.getOwnPropertyDescriptor(P,I);(!H||("get"in H?!P.__esModule:H.writable||H.configurable))&&(H={enumerable:!0,get:function(){return P[I]}}),Object.defineProperty(T,M,H)}:function(T,P,I,M){M===void 0&&(M=I),T[M]=P[I]}),t=Fe&&Fe.__setModuleDefault||(Object.create?function(T,P){Object.defineProperty(T,"default",{enumerable:!0,value:P})}:function(T,P){T.default=P}),n=Fe&&Fe.__importStar||function(T){if(T&&T.__esModule)return T;var P={};if(T!=null)for(var I in T)I!=="default"&&Object.prototype.hasOwnProperty.call(T,I)&&e(P,T,I);return t(P,T),P},i=Fe&&Fe.__awaiter||function(T,P,I,M){function H(Z){return Z instanceof I?Z:new I(function(U){U(Z)})}return new(I||(I=Promise))(function(Z,U){function B(w){try{y(M.next(w))}catch(L){U(L)}}function F(w){try{y(M.throw(w))}catch(L){U(L)}}function y(w){w.done?Z(w.value):H(w.value).then(B,F)}y((M=M.apply(T,P||[])).next())})},r=Fe&&Fe.__importDefault||function(T){return T&&T.__esModule?T:{default:T}};Object.defineProperty(as,"__esModule",{value:!0}),as.readFromFileOrURL=as.readableFromFileOrURL=void 0;const l=n(Ox),u=xs,f=tr,m=tL,v=Ic(),S=jx,C=r(Ux);function D(T){return Array.isArray(T)?T.reduce(function(P,I){if(I!==void 0&&I.length>0){const M=I.indexOf(":");if(M<0)return(0,v.panic)(`Could not parse HTTP header "${I}".`);const H=I.slice(0,M).trim(),Z=I.slice(M+1).trim();P[H]=Z}return P},{}):{}}function _(T,P){return i(this,void 0,void 0,function*(){try{if(S(T)){const I=yield(0,C.default)(T,{headers:D(P)});return(0,m.defined)(I.body)}else if(u.isNode){if(T==="-")return process.stdin;const I=l.lstatSync(T).isSymbolicLink()?l.readlinkSync(T):T;if(l.existsSync(I))return l.createReadStream(I,"utf8")}}catch(I){return(0,v.messageError)("MiscReadError",{fileOrURL:T,message:(0,m.exceptionToString)(I)})}return(0,v.messageError)("DriverInputFileDoesNotExist",{filename:T})})}as.readableFromFileOrURL=_;function E(T,P){return i(this,void 0,void 0,function*(){const I=yield _(T,P);try{return yield(0,f.getStream)(I)}catch(M){return(0,v.messageError)("MiscReadError",{fileOrURL:T,message:(0,m.exceptionToString)(M)})}})}return as.readFromFileOrURL=E,as}var ca={},hT;function zx(){if(hT)return ca;hT=1;var e=Fe&&Fe.__awaiter||function(l,u,f,m){function v(S){return S instanceof f?S:new f(function(C){C(S)})}return new(f||(f=Promise))(function(S,C){function D(T){try{E(m.next(T))}catch(P){C(P)}}function _(T){try{E(m.throw(T))}catch(P){C(P)}}function E(T){T.done?S(T.value):v(T.value).then(D,_)}E((m=m.apply(l,u||[])).next())})};Object.defineProperty(ca,"__esModule",{value:!0}),ca.FetchingJSONSchemaStore=void 0;const t=jo,n=Ic(),i=nL();let r=class extends t.JSONSchemaStore{constructor(u){super(),this._httpHeaders=u}fetch(u){return e(this,void 0,void 0,function*(){return(0,n.parseJSON)(yield(0,i.readFromFileOrURL)(u,this._httpHeaders),"JSON Schema",u)})}};return ca.FetchingJSONSchemaStore=r,ca}var Pc={};Object.defineProperty(Pc,"__esModule",{value:!0});Pc.sourcesFromPostmanCollection=void 0;const Jx=Ae;function Wx(e){try{return JSON.parse(e),!0}catch{return!1}}function Gx(e,t){const n=[],i=[];function r(f){if(typeof f=="object"){if(Array.isArray(f.item)){for(const m of f.item)r(m);typeof f.info=="object"&&typeof f.info.description=="string"&&i.push(f.info.description)}if(typeof f.name=="string"&&Array.isArray(f.response)){const m=[];for(const v of f.response)typeof v=="object"&&typeof v.body=="string"&&Wx(v.body)&&m.push(v.body);if(m.length>0){const v={name:f.name,samples:m},S=[f.name];if(typeof f.request=="object"){const{method:C,url:D}=f.request;C!==void 0&&typeof D=="object"&&D.raw!==void 0&&S.push(`${C} ${D.raw}`)}typeof f.request=="object"&&typeof f.request.description=="string"&&S.push(f.request.description),v.description=S.length===0?void 0:S.join(`
|
|
978
|
-
|
|
979
|
-
`),n.push(v)}}}}r((0,Jx.parseJSON)(e,"Postman collection",t));const l=i.join(`
|
|
980
|
-
|
|
981
|
-
`).trim();let u;return l!==""&&(u=l),{sources:n,description:u}}Pc.sourcesFromPostmanCollection=Gx;var pT;function Ic(){return pT||(pT=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.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=Hj();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=pc;Object.defineProperty(e,"CompressedJSON",{enumerable:!0,get:function(){return n.CompressedJSON}});var i=Vv();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=Sh();Object.defineProperty(e,"JSONSchemaInput",{enumerable:!0,get:function(){return r.JSONSchemaInput}});var l=Sh();Object.defineProperty(e,"Ref",{enumerable:!0,get:function(){return l.Ref}});var u=at;Object.defineProperty(e,"Option",{enumerable:!0,get:function(){return u.Option}}),Object.defineProperty(e,"getOptionValues",{enumerable:!0,get:function(){return u.getOptionValues}});var f=St;Object.defineProperty(e,"TargetLanguage",{enumerable:!0,get:function(){return f.TargetLanguage}});var m=sc();Object.defineProperty(e,"defaultTargetLanguages",{enumerable:!0,get:function(){return m.all}}),Object.defineProperty(e,"languageNamed",{enumerable:!0,get:function(){return m.languageNamed}});var v=Ze;Object.defineProperty(e,"modifySource",{enumerable:!0,get:function(){return v.modifySource}}),Object.defineProperty(e,"singleWord",{enumerable:!0,get:function(){return v.singleWord}}),Object.defineProperty(e,"parenIfNeeded",{enumerable:!0,get:function(){return v.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 C=At;Object.defineProperty(e,"IssueAnnotationData",{enumerable:!0,get:function(){return C.IssueAnnotationData}});var D=Ae;Object.defineProperty(e,"panic",{enumerable:!0,get:function(){return D.panic}}),Object.defineProperty(e,"assert",{enumerable:!0,get:function(){return D.assert}}),Object.defineProperty(e,"defined",{enumerable:!0,get:function(){return D.defined}}),Object.defineProperty(e,"assertNever",{enumerable:!0,get:function(){return D.assertNever}}),Object.defineProperty(e,"parseJSON",{enumerable:!0,get:function(){return D.parseJSON}}),Object.defineProperty(e,"checkStringMap",{enumerable:!0,get:function(){return D.checkStringMap}}),Object.defineProperty(e,"checkArray",{enumerable:!0,get:function(){return D.checkArray}}),Object.defineProperty(e,"inflateBase64",{enumerable:!0,get:function(){return D.inflateBase64}});var _=yt();Object.defineProperty(e,"splitIntoWords",{enumerable:!0,get:function(){return _.splitIntoWords}}),Object.defineProperty(e,"capitalize",{enumerable:!0,get:function(){return _.capitalize}}),Object.defineProperty(e,"combineWords",{enumerable:!0,get:function(){return _.combineWords}}),Object.defineProperty(e,"firstUpperWordStyle",{enumerable:!0,get:function(){return _.firstUpperWordStyle}}),Object.defineProperty(e,"allUpperWordStyle",{enumerable:!0,get:function(){return _.allUpperWordStyle}}),Object.defineProperty(e,"legalizeCharacters",{enumerable:!0,get:function(){return _.legalizeCharacters}}),Object.defineProperty(e,"isLetterOrDigit",{enumerable:!0,get:function(){return _.isLetterOrDigit}});var E=fn;Object.defineProperty(e,"trainMarkovChain",{enumerable:!0,get:function(){return E.train}});var T=Jt;Object.defineProperty(e,"QuickTypeError",{enumerable:!0,get:function(){return T.QuickTypeError}}),Object.defineProperty(e,"messageError",{enumerable:!0,get:function(){return T.messageError}}),Object.defineProperty(e,"messageAssert",{enumerable:!0,get:function(){return T.messageAssert}});var P=rt();Object.defineProperty(e,"Type",{enumerable:!0,get:function(){return P.Type}}),Object.defineProperty(e,"PrimitiveType",{enumerable:!0,get:function(){return P.PrimitiveType}}),Object.defineProperty(e,"ArrayType",{enumerable:!0,get:function(){return P.ArrayType}}),Object.defineProperty(e,"ClassType",{enumerable:!0,get:function(){return P.ClassType}}),Object.defineProperty(e,"ClassProperty",{enumerable:!0,get:function(){return P.ClassProperty}}),Object.defineProperty(e,"EnumType",{enumerable:!0,get:function(){return P.EnumType}}),Object.defineProperty(e,"MapType",{enumerable:!0,get:function(){return P.MapType}}),Object.defineProperty(e,"UnionType",{enumerable:!0,get:function(){return P.UnionType}}),Object.defineProperty(e,"ObjectType",{enumerable:!0,get:function(){return P.ObjectType}});var I=tr;Object.defineProperty(e,"getStream",{enumerable:!0,get:function(){return I.getStream}});var M=nL();Object.defineProperty(e,"readableFromFileOrURL",{enumerable:!0,get:function(){return M.readableFromFileOrURL}}),Object.defineProperty(e,"readFromFileOrURL",{enumerable:!0,get:function(){return M.readFromFileOrURL}});var H=zx();Object.defineProperty(e,"FetchingJSONSchemaStore",{enumerable:!0,get:function(){return H.FetchingJSONSchemaStore}});var Z=jo;Object.defineProperty(e,"JSONSchemaStore",{enumerable:!0,get:function(){return Z.JSONSchemaStore}});var U=Pc;Object.defineProperty(e,"sourcesFromPostmanCollection",{enumerable:!0,get:function(){return U.sourcesFromPostmanCollection}});var B=Mo();Object.defineProperty(e,"TypeBuilder",{enumerable:!0,get:function(){return B.TypeBuilder}});var F=hi();Object.defineProperty(e,"derefTypeRef",{enumerable:!0,get:function(){return F.derefTypeRef}});var y=ft;Object.defineProperty(e,"TypeAttributeKind",{enumerable:!0,get:function(){return y.TypeAttributeKind}}),Object.defineProperty(e,"emptyTypeAttributes",{enumerable:!0,get:function(){return y.emptyTypeAttributes}});var w=sr;Object.defineProperty(e,"TypeNames",{enumerable:!0,get:function(){return w.TypeNames}}),Object.defineProperty(e,"makeNamesTypeAttributes",{enumerable:!0,get:function(){return w.makeNamesTypeAttributes}}),Object.defineProperty(e,"namesTypeAttributeKind",{enumerable:!0,get:function(){return w.namesTypeAttributeKind}});var L=cr();Object.defineProperty(e,"StringTypes",{enumerable:!0,get:function(){return L.StringTypes}});var N=tt();Object.defineProperty(e,"removeNullFromUnion",{enumerable:!0,get:function(){return N.removeNullFromUnion}}),Object.defineProperty(e,"matchType",{enumerable:!0,get:function(){return N.matchType}}),Object.defineProperty(e,"nullableFromUnion",{enumerable:!0,get:function(){return N.nullableFromUnion}});var p=_t;Object.defineProperty(e,"ConvenienceRenderer",{enumerable:!0,get:function(){return p.ConvenienceRenderer}});var o=$l;Object.defineProperty(e,"uriTypeAttributeKind",{enumerable:!0,get:function(){return o.uriTypeAttributeKind}});var a=Tp;Object.defineProperty(e,"CJSONTargetLanguage",{enumerable:!0,get:function(){return a.CJSONTargetLanguage}}),Object.defineProperty(e,"CJSONRenderer",{enumerable:!0,get:function(){return a.CJSONRenderer}}),Object.defineProperty(e,"cJSONOptions",{enumerable:!0,get:function(){return a.cJSONOptions}});var d=Sp;Object.defineProperty(e,"CPlusPlusTargetLanguage",{enumerable:!0,get:function(){return d.CPlusPlusTargetLanguage}}),Object.defineProperty(e,"CPlusPlusRenderer",{enumerable:!0,get:function(){return d.CPlusPlusRenderer}}),Object.defineProperty(e,"cPlusPlusOptions",{enumerable:!0,get:function(){return d.cPlusPlusOptions}});var h=xh;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 b=Ip;Object.defineProperty(e,"PythonTargetLanguage",{enumerable:!0,get:function(){return b.PythonTargetLanguage}}),Object.defineProperty(e,"PythonRenderer",{enumerable:!0,get:function(){return b.PythonRenderer}}),Object.defineProperty(e,"pythonOptions",{enumerable:!0,get:function(){return b.pythonOptions}});var R=bp;Object.defineProperty(e,"GoTargetLanguage",{enumerable:!0,get:function(){return R.GoTargetLanguage}}),Object.defineProperty(e,"GoRenderer",{enumerable:!0,get:function(){return R.GoRenderer}}),Object.defineProperty(e,"goOptions",{enumerable:!0,get:function(){return R.goOptions}});var x=vp;Object.defineProperty(e,"ObjectiveCTargetLanguage",{enumerable:!0,get:function(){return x.ObjectiveCTargetLanguage}}),Object.defineProperty(e,"ObjectiveCRenderer",{enumerable:!0,get:function(){return x.ObjectiveCRenderer}}),Object.defineProperty(e,"objcOptions",{enumerable:!0,get:function(){return x.objcOptions}});var j=wp;Object.defineProperty(e,"JavaTargetLanguage",{enumerable:!0,get:function(){return j.JavaTargetLanguage}}),Object.defineProperty(e,"JavaRenderer",{enumerable:!0,get:function(){return j.JavaRenderer}}),Object.defineProperty(e,"javaOptions",{enumerable:!0,get:function(){return j.javaOptions}});var W=js;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 k=_v();Object.defineProperty(e,"JavaScriptPropTypesTargetLanguage",{enumerable:!0,get:function(){return k.JavaScriptPropTypesTargetLanguage}}),Object.defineProperty(e,"JavaScriptPropTypesRenderer",{enumerable:!0,get:function(){return k.JavaScriptPropTypesRenderer}}),Object.defineProperty(e,"javaScriptPropTypesOptions",{enumerable:!0,get:function(){return k.javaScriptPropTypesOptions}});var O=_p;Object.defineProperty(e,"TypeScriptTargetLanguage",{enumerable:!0,get:function(){return O.TypeScriptTargetLanguage}}),Object.defineProperty(e,"TypeScriptRenderer",{enumerable:!0,get:function(){return O.TypeScriptRenderer}}),Object.defineProperty(e,"FlowTargetLanguage",{enumerable:!0,get:function(){return O.FlowTargetLanguage}}),Object.defineProperty(e,"FlowRenderer",{enumerable:!0,get:function(){return O.FlowRenderer}}),Object.defineProperty(e,"tsFlowOptions",{enumerable:!0,get:function(){return O.tsFlowOptions}});var V=Np;Object.defineProperty(e,"SwiftTargetLanguage",{enumerable:!0,get:function(){return V.SwiftTargetLanguage}}),Object.defineProperty(e,"SwiftRenderer",{enumerable:!0,get:function(){return V.SwiftRenderer}}),Object.defineProperty(e,"swiftOptions",{enumerable:!0,get:function(){return V.swiftOptions}});var te=kp;Object.defineProperty(e,"KotlinTargetLanguage",{enumerable:!0,get:function(){return te.KotlinTargetLanguage}}),Object.defineProperty(e,"KotlinRenderer",{enumerable:!0,get:function(){return te.KotlinRenderer}}),Object.defineProperty(e,"kotlinOptions",{enumerable:!0,get:function(){return te.kotlinOptions}});var ue=Op;Object.defineProperty(e,"Scala3TargetLanguage",{enumerable:!0,get:function(){return ue.Scala3TargetLanguage}}),Object.defineProperty(e,"Scala3Renderer",{enumerable:!0,get:function(){return ue.Scala3Renderer}}),Object.defineProperty(e,"scala3Options",{enumerable:!0,get:function(){return ue.scala3Options}});var Y=Ep;Object.defineProperty(e,"SmithyTargetLanguage",{enumerable:!0,get:function(){return Y.SmithyTargetLanguage}}),Object.defineProperty(e,"Smithy4sRenderer",{enumerable:!0,get:function(){return Y.Smithy4sRenderer}}),Object.defineProperty(e,"SmithyOptions",{enumerable:!0,get:function(){return Y.SmithyOptions}});var $=Cp;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 ae=ks;Object.defineProperty(e,"JSONSchemaTargetLanguage",{enumerable:!0,get:function(){return ae.JSONSchemaTargetLanguage}}),Object.defineProperty(e,"JSONSchemaRenderer",{enumerable:!0,get:function(){return ae.JSONSchemaRenderer}});var pe=Ap;Object.defineProperty(e,"RustTargetLanguage",{enumerable:!0,get:function(){return pe.RustTargetLanguage}}),Object.defineProperty(e,"RustRenderer",{enumerable:!0,get:function(){return pe.RustRenderer}}),Object.defineProperty(e,"rustOptions",{enumerable:!0,get:function(){return pe.rustOptions}});var Te=Fp;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=Os;Object.defineProperty(e,"CrystalTargetLanguage",{enumerable:!0,get:function(){return Ne.CrystalTargetLanguage}}),Object.defineProperty(e,"CrystalRenderer",{enumerable:!0,get:function(){return Ne.CrystalRenderer}});var ce=Rp;Object.defineProperty(e,"HaskellTargetLanguage",{enumerable:!0,get:function(){return ce.HaskellTargetLanguage}}),Object.defineProperty(e,"HaskellRenderer",{enumerable:!0,get:function(){return ce.HaskellRenderer}}),Object.defineProperty(e,"haskellOptions",{enumerable:!0,get:function(){return ce.haskellOptions}});var fe=Pp;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}})}(Zf)),Zf}var ih=Ic(),mT=sc();const qx={border:"b base",flex:"~ items-center gap-2",sticky:"","left-0":"","right-0":"","top-0":"","z-1":"",p3:"","bg-base":""},Hx=ya("p",{"mr-2":""}," Schema ",-1),Vx={key:0,flex:"~ items-center justify-center",absolute:"","bottom--1":"","right--2":"","h-4":"","w-4":"","rounded-full":"","bg-lime:30":"","text-8px":""},Kx={flex:"~ col","w-100":"","of-auto":"",py2:""},Zx={"text-xs":"",capitalize:"",op75:""},Qx=ya("div",{"flex-auto":""},null,-1),lU=CC({__name:"DataSchemaDrawer",setup(e){const t=AC(),n=Vf(0),i=Vf("TypeScript"),r=Ag(()=>mT.all.find(S=>S.displayName===i.value)),l=Vf(r.value?.optionDefinitions.filter(S=>typeof S.defaultValue=="boolean")),u=FC(async()=>{if(n.value,!t.value)return"";const S=ih.jsonInputForTargetLanguage(i.value);await S.addSource({name:t.value.name??"Data",samples:[t.value.input]});const C=new ih.InputData;return C.addInput(S),(await ih.quicktype({inputData:C,lang:i.value,rendererOptions:l.value?.reduce((_,E)=>(_[E.name]=E.defaultValue,_),{})})).lines.join(`
|
|
982
|
-
`)}),f=Ag(()=>{const S=i.value.toLocaleLowerCase();return S.startsWith("javascript")?"javascript":S.startsWith("json")?"json":S.startsWith("typescript")?"typescript":S});Fg(l,()=>{n.value++},{deep:!0}),Fg(i,()=>{l.value=r.value?.optionDefinitions.filter(S=>typeof S.defaultValue=="boolean")});const m=PC();function v(){m(u.value)}return(S,C)=>{const D=EC,_=jC,E=RC,T=BC,P=DC,I=xC;return Fn(r)?(Lr(),Bu(MC,{key:0,to:"body"},[Du(I,{"model-value":!!Fn(t)?.input,"auto-close":"","max-w-screen":"","w-2xl":"","n-code-block":"",onClose:C[2]||(C[2]=M=>t.value=null)},{default:na(()=>[ya("div",qx,[Hx,Du(D,{modelValue:Fn(i),"onUpdate:modelValue":C[0]||(C[0]=M=>IC(i)?i.value=M:null),n:"xs primary"},{default:na(()=>[(Lr(!0),xu(Pg,null,Ig(Fn(mT.all),M=>(Lr(),xu("option",{key:M.displayName},Kf(M.displayName),1))),128))]),_:1},8,["modelValue"]),Fn(l)?.length?(Lr(),Bu(T,{key:0,n:"sm lime"},{trigger:na(({click:M})=>[Du(_,{icon:"carbon-settings","h-full":"",onClick:H=>M()},null,8,["onClick"]),Fn(l)?(Lr(),xu("span",Vx,Kf(Fn(l).length),1)):Uu("",!0)]),default:na(()=>[ya("div",Kx,[(Lr(!0),xu(Pg,null,Ig(Fn(l),(M,H)=>(Lr(),Bu(E,{key:M.name,modelValue:Fn(l)[H].defaultValue,"onUpdate:modelValue":Z=>Fn(l)[H].defaultValue=Z,flex:"~ gap-2",rounded:"",px2:"",py2:""},{default:na(()=>[ya("span",Zx,Kf(M.description),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),128))])]),_:1})):Uu("",!0),Qx,Du(_,{icon:"carbon-copy","mr-6":"","h-full":"",onClick:C[1]||(C[1]=M=>v())})]),Fn(u)?(Lr(),Bu(P,{key:0,lang:Fn(f),code:Fn(u)},null,8,["lang","code"])):Uu("",!0)]),_:1},8,["model-value"])])):Uu("",!0)}}});export{lU as default};
|