@nuxt/devtools 1.3.3 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/module-main.mjs +11 -6
- package/dist/chunks/vite-inspect.mjs +1 -1
- package/dist/client/200.html +25 -26
- package/dist/client/404.html +25 -26
- package/dist/client/_nuxt/{BC70P7_F.js → 5icOpXn4.js} +1 -1
- package/dist/client/_nuxt/{DDnrbwm6.js → 8B46VhQd.js} +10 -10
- package/dist/client/_nuxt/{DkWzd13i.js → 95vJRnOC.js} +1 -1
- package/dist/client/_nuxt/{wH9tLl3L.js → B6pqls1-.js} +1 -1
- package/dist/client/_nuxt/{CxjTqXJ3.js → BBwATVWa.js} +1 -1
- package/dist/client/_nuxt/BFU18nbo.js +1 -0
- package/dist/client/_nuxt/BHFh0d3M.js +1 -0
- package/dist/client/_nuxt/{CiJaujZp.js → BOCztcZa.js} +1 -1
- package/dist/client/_nuxt/BSxPYwaX.js +9 -0
- package/dist/client/_nuxt/{BUsJdU1D.js → BZttYiGX.js} +1 -1
- package/dist/client/_nuxt/{B_TJJefU.js → BaHHWTDW.js} +1 -1
- package/dist/client/_nuxt/{BMFk7jIo.js → BcY_kb8Z.js} +2 -7
- package/dist/client/_nuxt/{Cf2y5AWw.js → Bdw4ogYl.js} +1 -1
- package/dist/client/_nuxt/{CPaWbrKR.js → Bm7GelXr.js} +1 -1
- package/dist/client/_nuxt/{Dja8TLy7.js → BqFTXkdX.js} +1 -1
- package/dist/client/_nuxt/{BGq4KZyx.js → Br6ll-O0.js} +1 -1
- package/dist/client/_nuxt/{D9QwXXm-.js → BuHEGYFm.js} +1 -1
- package/dist/client/_nuxt/{hV8zgwZN.js → BwZNBl_i.js} +1 -1
- package/dist/client/_nuxt/{V_y36BGi.js → Bxkoe-BC.js} +1 -1
- package/dist/client/_nuxt/BzZi0kk8.js +30 -0
- package/dist/client/_nuxt/{CJh8tcLd.js → C84bMERG.js} +1 -1
- package/dist/client/_nuxt/{DNKTLI-X.js → CB2p7gUj.js} +1 -1
- package/dist/client/_nuxt/{Du-HkQgI.js → CKyeeumc.js} +1 -1
- package/dist/client/_nuxt/{d9hkAmu-.js → CNMcdA5y.js} +1 -1
- package/dist/client/_nuxt/{CJA0Nzuy.js → CR9D18UE.js} +1 -1
- package/dist/client/_nuxt/{D67vQ_AH.js → CUz7aF6D.js} +1 -1
- package/dist/client/_nuxt/{DNcopq6z.js → CVTYawdK.js} +1 -1
- package/dist/client/_nuxt/{BVv9Eso3.js → C_00-WxQ.js} +1 -1
- package/dist/client/_nuxt/C_UmrX8j.js +1 -0
- package/dist/client/_nuxt/{Chcty9cC.js → Cesx2JqR.js} +1 -1
- package/dist/client/_nuxt/{BIZE-RmO.js → ChEasZVw.js} +1 -1
- package/dist/client/_nuxt/{CY3rhNYA.js → CxRAjt7E.js} +1 -1
- package/dist/client/_nuxt/{DHStGI0s.js → CzSsbgVT.js} +1 -1
- package/dist/client/_nuxt/{CG2u9oVp.js → D49UL1Mz.js} +2 -2
- package/dist/client/_nuxt/{yolNcZdz.js → D5uuYwbV.js} +1 -1
- package/dist/client/_nuxt/{CicM_Tn6.js → DA_gWIKG.js} +1 -1
- package/dist/client/_nuxt/{BkHeZ-Kl.js → DGbyHtVw.js} +1 -1
- package/dist/client/_nuxt/{CQ4DIexe.js → DI2S-mmO.js} +1 -1
- package/dist/client/_nuxt/DL_Umk9C.js +100 -0
- package/dist/client/_nuxt/{Rgd--cyG.js → DMQf3nI6.js} +1 -1
- package/dist/client/_nuxt/DMihCQJ_.js +2 -0
- package/dist/client/_nuxt/DP008-Ly.js +1 -0
- package/dist/client/_nuxt/{DtbS56cH.js → DP4rCJej.js} +1 -1
- package/dist/client/_nuxt/{D6s5UxPA.js → DYgqHVwa.js} +1 -1
- package/dist/client/_nuxt/{Cj0TlqSt.js → De1Y8lB-.js} +1 -1
- package/dist/client/_nuxt/{C6Ei2A0L.js → Dh5Afz2J.js} +1 -1
- package/dist/client/_nuxt/{B7GIg3G6.js → DpejoWnk.js} +1 -1
- package/dist/client/_nuxt/{BmLFD5M3.js → Drfq5M3J.js} +1 -1
- package/dist/client/_nuxt/DvA7Ywdy.js +1032 -0
- package/dist/client/_nuxt/{pO9n-Epq.js → DvifPl4v.js} +1 -1
- package/dist/client/_nuxt/{D3UZejev.js → ElxmrMfl.js} +1 -1
- package/dist/client/_nuxt/{szFYwhVn.js → Kxk8Hc64.js} +1 -1
- package/dist/client/_nuxt/{CY-72W8G.js → LlSIX508.js} +1 -1
- package/dist/client/_nuxt/{NCodeBlock.Bcfh0aRP.css → NCodeBlock.BJ-XAY5s.css} +1 -1
- package/dist/client/_nuxt/NSectionBlock.Dnwb6MN5.css +1 -0
- package/dist/client/_nuxt/{BQNSMSKH.js → PF6U826s.js} +1 -1
- package/dist/client/_nuxt/{B4UVI4YI.js → TuJR20B4.js} +1 -1
- package/dist/client/_nuxt/{CaqiXFWz.js → ZyHoMeHZ.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/0148a850-ea4d-465f-8f41-a17235e36e50.json +1 -0
- package/dist/client/_nuxt/{BdPp7ki7.js → dVuo_hLp.js} +1 -1
- package/dist/client/_nuxt/entry.CuU2sB_i.css +1 -0
- package/dist/client/_nuxt/{B_kufNum.js → eoRoFZz1.js} +1 -1
- package/dist/client/_nuxt/error-404.CdZ-8tbX.css +1 -0
- package/dist/client/_nuxt/error-500.4KK_ddFR.css +1 -0
- package/dist/client/_nuxt/{VjEYhvFP.js → fMHX_-wi.js} +1 -1
- package/dist/client/_nuxt/{BQwqZtdq.js → giz0tI1M.js} +1 -1
- package/dist/client/_nuxt/{CwbK9Dp1.js → ifvc2XRc.js} +1 -1
- package/dist/client/_nuxt/l1tWIxUc.js +9 -0
- package/dist/client/_nuxt/{BJ6YdImB.js → mckm0NQH.js} +1 -1
- package/dist/client/_nuxt/{d85UEzaq.js → oC4jMXG3.js} +1 -1
- package/dist/client/_nuxt/{Diil_3yv.js → pATA0c1v.js} +2 -2
- package/dist/client/_nuxt/terminals.dNTO8Cf0.css +1 -0
- package/dist/client/_nuxt/vTxNztlt.js +43 -0
- package/dist/client/index.html +25 -26
- package/dist/module.json +1 -1
- package/dist/runtime/settings.d.ts +1 -1
- package/package.json +33 -35
- package/dist/client/_nuxt/B-raFxqM.js +0 -30
- package/dist/client/_nuxt/B3Qmg_qx.js +0 -99
- package/dist/client/_nuxt/B8I-AuTp.js +0 -1031
- package/dist/client/_nuxt/BCmHY4gl.js +0 -1
- package/dist/client/_nuxt/BQJhJYMu.js +0 -1
- package/dist/client/_nuxt/CCmycU7E.js +0 -1
- package/dist/client/_nuxt/CNqbp7Gb.js +0 -1
- package/dist/client/_nuxt/CSqTRDVQ.js +0 -2
- package/dist/client/_nuxt/DdXfWFmw.js +0 -9
- package/dist/client/_nuxt/DrlyhbnE.js +0 -9
- package/dist/client/_nuxt/NSectionBlock.DF4F_onM.css +0 -1
- package/dist/client/_nuxt/builds/meta/18b2ce8f-3b8c-41e7-8fa5-448213ee4a24.json +0 -1
- package/dist/client/_nuxt/entry.C09IdXcP.css +0 -1
- package/dist/client/_nuxt/error-404.ClUqCsUG.css +0 -1
- package/dist/client/_nuxt/error-500.Xj6Xfe4d.css +0 -1
- package/dist/client/_nuxt/p0yxMpsq.js +0 -48
- package/dist/client/_nuxt/terminals.bPBXyte9.css +0 -32
|
@@ -0,0 +1,1032 @@
|
|
|
1
|
+
import{_ as _R}from"./Bdw4ogYl.js";import{c as Ee,g as RL,d as wR,u as LR,r as Pm,a as nv,b as NR,w as iv,e as kR,f as ui,o as Ds,h as jf,i as Bf,j as tu,k as Ou,l as OR,m as Df,F as rv,n as sv,t as Mm,p as Uf,T as ER,_ as CR}from"./vTxNztlt.js";import{_ as AR}from"./LlSIX508.js";import{_ as FR}from"./CUz7aF6D.js";import{_ as PR}from"./ifvc2XRc.js";import{_ as MR}from"./CKyeeumc.js";import"./giz0tI1M.js";var wd={},jL={},Ve={};(function(n){var e=Ee&&Ee.__awaiter||function(ce,me,P,_){return new(P||(P=Promise))(function(O,Z){function pe(We){try{we(_.next(We))}catch(ft){Z(ft)}}function Se(We){try{we(_.throw(We))}catch(ft){Z(ft)}}function we(We){We.done?O(We.value):new P(function(ft){ft(We.value)}).then(pe,Se)}we((_=_.apply(ce,me||[])).next())})};Object.defineProperty(n,"__esModule",{value:!0}),n.hashCodeInit=17;function t(ce){let me=0;for(let P=0;P<ce.length;P++){const _=ce.charCodeAt(P);me=(me<<5)-me+_,me=me&me}return me}n.hashString=t;function i(ce,me){return ce*31+(me|0)|0}n.addHashCode=i;function r(ce,me){return ce!==void 0?ce:me}n.withDefault=r;function s(ce,me){if(ce!==void 0)return me(ce)}n.definedMap=s;function o(ce,me,P){return r(s(ce,P),me)}n.definedMapWithDefault=o;function a(ce,me){return ce==null?!1:Object.prototype.hasOwnProperty.call(ce,me)}n.hasOwnProperty=a;function c(ce,me){for(const P of ce)if(me(P))return P}n.iterableFind=c;function f(ce,me){for(const P of ce)if(!me(P))return!1;return!0}n.iterableEvery=f;function d(ce,me){for(const P of ce)if(me(P))return!0;return!1}n.iterableSome=d;function p(ce){for(const me of ce)return me}n.iterableFirst=p;function y(ce){let me;for(const P of ce)(me===void 0||P>me)&&(me=P);return me}n.iterableMax=y;function h(ce,me){let P,_;for(const O of ce){const Z=me(O);(P===void 0||Z<P)&&(P=Z,_=O)}return _}n.iterableMinBy=h;function S(ce,me,P){let _=me;for(const O of ce)_=P(_,O);return _}n.iterableReduce=S;function*m(ce){let me=0;for(const P of ce)yield[me,P],me+=1}n.iterableEnumerate=m;function*v(ce,me){let P=0;for(const _ of ce)P>=me?yield _:P+=1}n.iterableSkip=v;function C(ce,me){const P=ce.length;if(!(me>P))return ce[P-me]}n.arrayGetFromEnd=C;function U(ce){return C(ce,1)}n.arrayLast=U;function x(ce){const me=ce.length;if(me===0)throw new Error("Cannot pop empty array");return ce.slice(0,me-1)}n.arrayPop=x;function J(ce,me){const P=[];for(const _ of me)P.length>0&&P.push(ce),P.push(_);return P}n.arrayIntercalate=J;function D(ce,me){return e(this,void 0,void 0,function*(){const P=[];let _=0;for(const O of ce)P.push(yield me(O,_)),_+=1;return P})}n.arrayMapSync=D;function K(ce,me){return ce<me?-1:ce>me?1:0}function X(ce,me){return ce.sort((P,_)=>K(me(P),me(_)))}n.arraySortByInto=X;function E(ce){return Array.isArray(ce)?ce:Array.from(ce)}n.toReadonlyArray=E;function j(ce,me){const P=new Map;for(const[_,O]of ce)P.set(_,me(O,_));return P}n.mapMap=j;function ne(ce){for(const me of ce.values())return me}n.mapFirst=ne;function se(ce,me){for(const P of ce.values())if(P===me)return!0;return!1}n.mapContains=se;function re(ce,me){for(const[P,_]of ce)if(me(_,P))return!0;return!1}n.mapSome=re;function T(ce,me){for(const[P,_]of me)ce.set(P,_);return ce}n.mapMergeInto=T;function b(ce,me){const P=new Map(ce);return T(P,me),P}n.mapMerge=b;function w(ce,me,P){for(const[_,O]of P){const Z=ce.get(_),pe=Z===void 0?O:me(Z,O,_);ce.set(_,pe)}return ce}n.mapMergeWithInto=w;function L(ce,me,P){const _=new Map(ce);return w(_,me,P),_}n.mapMergeWith=L;function M(ce,me){const P=new Map;for(const[_,O]of ce)me(O,_)&&P.set(_,O);return P}n.mapFilter=M;function z(ce,me){const P=new Map;for(const[_,O]of ce){const Z=me(O,_);Z!==void 0&&P.set(_,Z)}return P}n.mapFilterMap=z;function q(ce,me){return X(Array.from(ce),([P,_])=>me(_,P))}n.mapSortToArray=q;function H(ce,me){return new Map(q(ce,me))}n.mapSortBy=H;function $(ce){return H(ce,(me,P)=>P)}n.mapSortByKey=$;function fe(ce,me){const P=new Map;for(const[_,O]of ce){const[Z,pe]=me(O,_);P.set(Z,pe)}return P}n.mapMapEntries=fe;function I(ce,me,P){return ce.set(me,P(ce.get(me))),ce}n.mapUpdateInto=I;function W(ce){const me=new Map;for(const P of Object.getOwnPropertyNames(ce))me.set(P,ce[P]);return me}n.mapFromObject=W;function F(ce){const me={};for(const[P,_]of ce)me[P]=_;return me}n.mapToObject=F;function Y(ce,me){const P=new Map;for(const _ of ce)P.set(_,me(_));return P}n.mapFromIterable=Y;function de(ce,me){for(const[P,_]of ce)if(me(_,P))return _}n.mapFind=de;function ve(ce){const me=new Map;for(const P of ce)for(const[_,O]of P){let Z=me.get(_);Z===void 0&&(Z=[],me.set(_,Z)),Z.push(O)}return me}n.mapTranspose=ve;function Le(ce,me){return e(this,void 0,void 0,function*(){const P=new Map;for(const[_,O]of ce)P.set(_,yield me(O,_));return P})}n.mapMapSync=Le;function Fe(ce,me){for(const P of me)if(!ce.has(P))return!1;return!0}n.setIsSuperset=Fe;function Pe(ce,me){for(const P of me)for(const _ of P)ce.add(_);return ce}n.setUnionManyInto=Pe;function Me(ce,...me){return Pe(ce,me)}n.setUnionInto=Me;function te(ce,me){const P=new Set;for(const _ of ce)me.has(_)&&P.add(_);return P}n.setIntersect=te;function ue(ce,me){const P=new Set(ce);for(const _ of me)P.delete(_);return P}n.setSubtract=ue;function ie(...ce){const me=new Set;return Me(me,...ce),me}n.setUnion=ie;function R(ce,me){const P=new Set;for(const _ of ce)P.add(me(_));return P}n.setMap=R;function N(ce,me){const P=new Set;for(const _ of ce)me(_)&&P.add(_);return P}n.setFilter=N;function A(ce,me){const P=new Set;for(const _ of ce){const O=me(_);O!==void 0&&P.add(O)}return P}n.setFilterMap=A;function V(ce,me){return new Set(X(Array.from(ce),me))}n.setSortBy=V;function le(ce,me){const P=new Map;for(const _ of ce){const O=me(_);let Z=P.get(O);Z===void 0&&(Z=new Set,P.set(O,Z)),Z.add(_)}return P}n.setGroupBy=le;function Te(ce){return ce instanceof Set?ce:new Set(ce)}n.toReadonlySet=Te;class ye{constructor(){this._map=new Map}set(me,P){let _=Ue(me)|0;for(;;){const O=this._map.get(_);if(O===void 0){this._map.set(_,[me,P]);return}if(Ie(me,O[0])){O[1]=P;return}_=_+1|0}}get(me){let P=Ue(me)|0;for(;;){const _=this._map.get(P);if(_===void 0)return;if(Ie(me,_[0]))return _[1];P=P+1|0}}has(me){return this.get(me)!==void 0}*values(){for(const[,[,me]]of this._map)yield me}}n.EqualityMap=ye;function Ie(ce,me){if(ce===me)return!0;if(ce===void 0||me===void 0||ce===null||me===null)return!1;if(typeof ce.equals=="function"&&typeof me.equals=="function")return ce.equals(me);if(ce instanceof Set&&me instanceof Set){if(ce.size!==me.size)return!1;for(const P of ce)if(!me.has(P))return!1;return!0}if(ce instanceof Map&&me instanceof Map){if(ce.size!==me.size)return!1;for(const[P,_]of ce){const O=me.get(P);if(!Ie(_,O))return!1}return!0}if(Array.isArray(ce)&&Array.isArray(me)){const P=ce.length;if(P!==me.length)return!1;for(let _=0;_<P;_++)if(!Ie(ce[_],me[_]))return!1;return!0}return!1}n.areEqual=Ie;function Ue(ce){if(typeof ce=="number")return ce|0;if(typeof ce=="string")return t(ce);let me=n.hashCodeInit;if(ce===void 0)return me;if(ce===!0)return me+1|0;if(ce===!1)return me+2|0;if(ce===null)return me+3|0;if(typeof ce.hashCode=="function")return ce.hashCode();if(ce instanceof Set){for(const P of ce)me+=Ue(P);return me}if(ce instanceof Map){let P=n.hashCodeInit;for(const[_,O]of ce)P+=Ue(_),me+=Ue(O);return i(P,me)}if(Array.isArray(ce)){for(const P of ce)me=i(me,Ue(P));return me}throw new Error(`Cannot hash ${ce}`)}n.hashCodeOf=Ue})(Ve);var co={};function IR(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var BL={exports:{}};(function(n,e){(function(t,i){typeof IR=="function"?n.exports=i():t.pluralize=i()})(Ee,function(){var t=[],i=[],r={},s={},o={};function a(m){return typeof m=="string"?new RegExp("^"+m+"$","i"):m}function c(m,v){return m===v?v:m===m.toLowerCase()?v.toLowerCase():m===m.toUpperCase()?v.toUpperCase():m[0]===m[0].toUpperCase()?v.charAt(0).toUpperCase()+v.substr(1).toLowerCase():v.toLowerCase()}function f(m,v){return m.replace(/\$(\d{1,2})/g,function(C,U){return v[U]||""})}function d(m,v){return m.replace(v[0],function(C,U){var x=f(v[1],arguments);return c(C===""?m[U-1]:C,x)})}function p(m,v,C){if(!m.length||r.hasOwnProperty(m))return v;for(var U=C.length;U--;){var x=C[U];if(x[0].test(v))return d(v,x)}return v}function y(m,v,C){return function(U){var x=U.toLowerCase();return v.hasOwnProperty(x)?c(U,x):m.hasOwnProperty(x)?c(U,m[x]):p(x,U,C)}}function h(m,v,C,U){return function(x){var J=x.toLowerCase();return v.hasOwnProperty(J)?!0:m.hasOwnProperty(J)?!1:p(J,J,C)===J}}function S(m,v,C){var U=v===1?S.singular(m):S.plural(m);return(C?v+" ":"")+U}return S.plural=y(o,s,t),S.isPlural=h(o,s,t),S.singular=y(s,o,i),S.isSingular=h(s,o,i),S.addPluralRule=function(m,v){t.push([a(m),v])},S.addSingularRule=function(m,v){i.push([a(m),v])},S.addUncountableRule=function(m){if(typeof m=="string"){r[m.toLowerCase()]=!0;return}S.addPluralRule(m,"$0"),S.addSingularRule(m,"$0")},S.addIrregularRule=function(m,v){v=v.toLowerCase(),m=m.toLowerCase(),o[m]=v,s[v]=m},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(m){return S.addIrregularRule(m[0],m[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(m){return S.addPluralRule(m[0],m[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(m){return S.addSingularRule(m[0],m[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(S.addUncountableRule),S})})(BL);var DL=BL.exports,nh={};Object.defineProperty(nh,"__esModule",{value:!0});nh.Chance=void 0;class RR{constructor(e){e===void 0&&(e=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(e)}init_genrand(e){for(this.mt[0]=e>>>0,this.mti=1;this.mti<this.N;this.mti++)e=this.mt[this.mti-1]^this.mt[this.mti-1]>>>30,this.mt[this.mti]=(((e&4294901760)>>>16)*1812433253<<16)+(e&65535)*1812433253+this.mti,this.mt[this.mti]>>>=0}genrand_int32(){let e,t=[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++)e=this.mt[i]&this.UPPER_MASK|this.mt[i+1]&this.LOWER_MASK,this.mt[i]=this.mt[i+this.M]^e>>>1^t[e&1];for(;i<this.N-1;i++)e=this.mt[i]&this.UPPER_MASK|this.mt[i+1]&this.LOWER_MASK,this.mt[i]=this.mt[i+(this.M-this.N)]^e>>>1^t[e&1];e=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^e>>>1^t[e&1],this.mti=0}return e=this.mt[this.mti++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,e^=e>>>18,e>>>0}random(){return this.genrand_int32()*(1/4294967296)}}class jR{constructor(e){this.seed=e,this.mt=new RR(this.seed)}random(){return this.mt.random()}integer(e){return Math.floor(this.random()*(e.max-e.min+1)+e.min)}natural(e){return this.integer({min:0,max:e.max})}pick(e){if(e.length===0)throw new RangeError("Chance: Cannot pick() from an empty array");return e[this.natural({max:e.length-1})]}animal(){const e=["desert","forest","ocean","zoo","farm","pet","grassland"];return this.pick(BR[this.pick(e)])}city(){return this.pick(DR)}}nh.Chance=jR;const BR={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"]},DR=["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"];var Ke={},UL={exports:{}},wl={};wl.byteLength=JR;wl.toByteArray=WR;wl.fromByteArray=HR;var Ar=[],Mi=[],UR=typeof Uint8Array<"u"?Uint8Array:Array,Im="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Ba=0,xR=Im.length;Ba<xR;++Ba)Ar[Ba]=Im[Ba],Mi[Im.charCodeAt(Ba)]=Ba;Mi[45]=62;Mi[95]=63;function xL(n){var e=n.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=n.indexOf("=");t===-1&&(t=e);var i=t===e?0:4-t%4;return[t,i]}function JR(n){var e=xL(n),t=e[0],i=e[1];return(t+i)*3/4-i}function zR(n,e,t){return(e+t)*3/4-t}function WR(n){var e,t=xL(n),i=t[0],r=t[1],s=new UR(zR(n,i,r)),o=0,a=r>0?i-4:i,c;for(c=0;c<a;c+=4)e=Mi[n.charCodeAt(c)]<<18|Mi[n.charCodeAt(c+1)]<<12|Mi[n.charCodeAt(c+2)]<<6|Mi[n.charCodeAt(c+3)],s[o++]=e>>16&255,s[o++]=e>>8&255,s[o++]=e&255;return r===2&&(e=Mi[n.charCodeAt(c)]<<2|Mi[n.charCodeAt(c+1)]>>4,s[o++]=e&255),r===1&&(e=Mi[n.charCodeAt(c)]<<10|Mi[n.charCodeAt(c+1)]<<4|Mi[n.charCodeAt(c+2)]>>2,s[o++]=e>>8&255,s[o++]=e&255),s}function GR(n){return Ar[n>>18&63]+Ar[n>>12&63]+Ar[n>>6&63]+Ar[n&63]}function qR(n,e,t){for(var i,r=[],s=e;s<t;s+=3)i=(n[s]<<16&16711680)+(n[s+1]<<8&65280)+(n[s+2]&255),r.push(GR(i));return r.join("")}function HR(n){for(var e,t=n.length,i=t%3,r=[],s=16383,o=0,a=t-i;o<a;o+=s)r.push(qR(n,o,o+s>a?a:o+s));return i===1?(e=n[t-1],r.push(Ar[e>>2]+Ar[e<<4&63]+"==")):i===2&&(e=(n[t-2]<<8)+n[t-1],r.push(Ar[e>>10]+Ar[e>>4&63]+Ar[e<<2&63]+"=")),r.join("")}var $g=0,JL=-3;function ju(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function VR(n,e){this.source=n,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=e,this.destLen=0,this.ltree=new ju,this.dtree=new ju}var zL=new ju,WL=new ju,eb=new Uint8Array(30),tb=new Uint16Array(30),GL=new Uint8Array(30),qL=new Uint16Array(30),KR=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ov=new ju,hr=new Uint8Array(320);function HL(n,e,t,i){var r,s;for(r=0;r<t;++r)n[r]=0;for(r=0;r<30-t;++r)n[r+t]=r/t|0;for(s=i,r=0;r<30;++r)e[r]=s,s+=1<<n[r]}function ZR(n,e){var t;for(t=0;t<7;++t)n.table[t]=0;for(n.table[7]=24,n.table[8]=152,n.table[9]=112,t=0;t<24;++t)n.trans[t]=256+t;for(t=0;t<144;++t)n.trans[24+t]=t;for(t=0;t<8;++t)n.trans[168+t]=280+t;for(t=0;t<112;++t)n.trans[176+t]=144+t;for(t=0;t<5;++t)e.table[t]=0;for(e.table[5]=32,t=0;t<32;++t)e.trans[t]=t}var av=new Uint16Array(16);function Rm(n,e,t,i){var r,s;for(r=0;r<16;++r)n.table[r]=0;for(r=0;r<i;++r)n.table[e[t+r]]++;for(n.table[0]=0,s=0,r=0;r<16;++r)av[r]=s,s+=n.table[r];for(r=0;r<i;++r)e[t+r]&&(n.trans[av[e[t+r]]++]=r)}function QR(n){n.bitcount--||(n.tag=n.source[n.sourceIndex++],n.bitcount=7);var e=n.tag&1;return n.tag>>>=1,e}function kr(n,e,t){if(!e)return t;for(;n.bitcount<24;)n.tag|=n.source[n.sourceIndex++]<<n.bitcount,n.bitcount+=8;var i=n.tag&65535>>>16-e;return n.tag>>>=e,n.bitcount-=e,i+t}function dg(n,e){for(;n.bitcount<24;)n.tag|=n.source[n.sourceIndex++]<<n.bitcount,n.bitcount+=8;var t=0,i=0,r=0,s=n.tag;do i=2*i+(s&1),s>>>=1,++r,t+=e.table[r],i-=e.table[r];while(i>=0);return n.tag=s,n.bitcount-=r,e.trans[t+i]}function XR(n,e,t){var i,r,s,o,a,c;for(i=kr(n,5,257),r=kr(n,5,1),s=kr(n,4,4),o=0;o<19;++o)hr[o]=0;for(o=0;o<s;++o){var f=kr(n,3,0);hr[KR[o]]=f}for(Rm(ov,hr,0,19),a=0;a<i+r;){var d=dg(n,ov);switch(d){case 16:var p=hr[a-1];for(c=kr(n,2,3);c;--c)hr[a++]=p;break;case 17:for(c=kr(n,3,3);c;--c)hr[a++]=0;break;case 18:for(c=kr(n,7,11);c;--c)hr[a++]=0;break;default:hr[a++]=d;break}}Rm(e,hr,0,i),Rm(t,hr,i,r)}function lv(n,e,t){for(;;){var i=dg(n,e);if(i===256)return $g;if(i<256)n.dest[n.destLen++]=i;else{var r,s,o,a;for(i-=257,r=kr(n,eb[i],tb[i]),s=dg(n,t),o=n.destLen-kr(n,GL[s],qL[s]),a=o;a<o+r;++a)n.dest[n.destLen++]=n.dest[a]}}}function YR(n){for(var e,t,i;n.bitcount>8;)n.sourceIndex--,n.bitcount-=8;if(e=n.source[n.sourceIndex+1],e=256*e+n.source[n.sourceIndex],t=n.source[n.sourceIndex+3],t=256*t+n.source[n.sourceIndex+2],e!==(~t&65535))return JL;for(n.sourceIndex+=4,i=e;i;--i)n.dest[n.destLen++]=n.source[n.sourceIndex++];return n.bitcount=0,$g}function $R(n,e){var t=new VR(n,e),i,r,s;do{switch(i=QR(t),r=kr(t,2,0),r){case 0:s=YR(t);break;case 1:s=lv(t,zL,WL);break;case 2:XR(t,t.ltree,t.dtree),s=lv(t,t.ltree,t.dtree);break;default:s=JL}if(s!==$g)throw new Error("Data error")}while(!i);return t.destLen<t.dest.length?typeof t.dest.slice=="function"?t.dest.slice(0,t.destLen):t.dest.subarray(0,t.destLen):t.dest}ZR(zL,WL);HL(eb,tb,4,3);HL(GL,qL,2,1);eb[28]=0;tb[28]=258;var ej=$R;const tj=new Uint8Array(new Uint32Array([305419896]).buffer)[0]===18,uv=(n,e,t)=>{let i=n[e];n[e]=n[t],n[t]=i},nj=n=>{const e=n.length;for(let t=0;t<e;t+=4)uv(n,t,t+3),uv(n,t+1,t+2)},ij=n=>{tj&&nj(n)};var rj={swap32LE:ij};const cv=ej,{swap32LE:sj}=rj,nb=11,Zo=5,oj=nb-Zo,aj=65536>>nb,lj=1<<oj,uj=lj-1,Ld=2,cj=1<<Zo,jm=cj-1,VL=65536>>Zo,fj=1024>>Zo,dj=VL+fj,hj=dj,pj=32,mj=hj+pj,yj=1<<Ld;class gj{constructor(e){const t=typeof e.readUInt32BE=="function"&&typeof e.slice=="function";if(t||e instanceof Uint8Array){let i;if(t)this.highStart=e.readUInt32LE(0),this.errorValue=e.readUInt32LE(4),i=e.readUInt32LE(8),e=e.slice(12);else{const r=new DataView(e.buffer);this.highStart=r.getUint32(0,!0),this.errorValue=r.getUint32(4,!0),i=r.getUint32(8,!0),e=e.subarray(12)}e=cv(e,new Uint8Array(i)),e=cv(e,new Uint8Array(i)),sj(e),this.data=new Uint32Array(e.buffer)}else({data:this.data,highStart:this.highStart,errorValue:this.errorValue}=e)}get(e){let t;return e<0||e>1114111?this.errorValue:e<55296||e>56319&&e<=65535?(t=(this.data[e>>Zo]<<Ld)+(e&jm),this.data[t]):e<=65535?(t=(this.data[VL+(e-55296>>Zo)]<<Ld)+(e&jm),this.data[t]):e<this.highStart?(t=this.data[mj-aj+(e>>nb)],t=this.data[t+(e>>Zo&uj)],t=(t<<Ld)+(e&jm),this.data[t]):this.data[this.data.length-yj]}}var bj=gj;(function(n){var e=wl,t=bj;function i(I){return I&&I.__esModule?I.default:I}function r(I){Object.defineProperty(I,"__esModule",{value:!0,configurable:!0})}function s(I,W,F,Y){Object.defineProperty(I,W,{get:F,set:Y,enumerable:!0,configurable:!0})}r(n.exports),s(n.exports,"getCategory",()=>E),s(n.exports,"getCombiningClass",()=>j),s(n.exports,"getScript",()=>ne),s(n.exports,"getEastAsianWidth",()=>se),s(n.exports,"getNumericValue",()=>re),s(n.exports,"isAlphabetic",()=>T),s(n.exports,"isDigit",()=>b),s(n.exports,"isPunctuation",()=>w),s(n.exports,"isLowerCase",()=>L),s(n.exports,"isUpperCase",()=>M),s(n.exports,"isTitleCase",()=>z),s(n.exports,"isWhiteSpace",()=>q),s(n.exports,"isBaseForm",()=>H),s(n.exports,"isMark",()=>$),s(n.exports,"default",()=>fe);var o={};o=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_Pu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qhqLDOWP4yEvIL6f21PpA7/8B")),c=Math.log2||(I=>Math.log(I)/Math.LN2),f=I=>c(I)+1|0,d=f(i(o).categories.length-1),p=f(i(o).combiningClasses.length-1),y=f(i(o).scripts.length-1),h=f(i(o).eaw.length-1),S=10,m=p+y+h+S,v=y+h+S,C=h+S,U=S,x=(1<<d)-1,J=(1<<p)-1,D=(1<<y)-1,K=(1<<h)-1,X=(1<<S)-1;function E(I){const W=a.get(I);return i(o).categories[W>>m&x]}function j(I){const W=a.get(I);return i(o).combiningClasses[W>>v&J]}function ne(I){const W=a.get(I);return i(o).scripts[W>>C&D]}function se(I){const W=a.get(I);return i(o).eaw[W>>U&K]}function re(I){let W=a.get(I),F=W&X;if(F===0)return null;if(F<=50)return F-1;if(F<480){const Y=(F>>4)-12,de=(F&15)+1;return Y/de}else if(F<768){W=(F>>5)-14;let Y=(F&31)+2;for(;Y>0;)W*=10,Y--;return W}else{W=(F>>2)-191;let Y=(F&3)+1;for(;Y>0;)W*=60,Y--;return W}}function T(I){const W=E(I);return W==="Lu"||W==="Ll"||W==="Lt"||W==="Lm"||W==="Lo"||W==="Nl"}function b(I){return E(I)==="Nd"}function w(I){const W=E(I);return W==="Pc"||W==="Pd"||W==="Pe"||W==="Pf"||W==="Pi"||W==="Po"||W==="Ps"}function L(I){return E(I)==="Ll"}function M(I){return E(I)==="Lu"}function z(I){return E(I)==="Lt"}function q(I){const W=E(I);return W==="Zs"||W==="Zl"||W==="Zp"}function H(I){const W=E(I);return W==="Nd"||W==="No"||W==="Nl"||W==="Lu"||W==="Ll"||W==="Lt"||W==="Lm"||W==="Lo"||W==="Me"||W==="Mc"}function $(I){const W=E(I);return W==="Mn"||W==="Me"||W==="Mc"}var fe={getCategory:E,getCombiningClass:j,getScript:ne,getEastAsianWidth:se,getNumericValue:re,isAlphabetic:T,isDigit:b,isPunctuation:w,isLowerCase:L,isUpperCase:M,isTitleCase:z,isWhiteSpace:q,isBaseForm:H,isMark:$}})(UL);var ca=UL.exports,Yt={};Object.defineProperty(Yt,"__esModule",{value:!0});Yt.messageAssert=Yt.messageError=Yt.QuickTypeError=void 0;const Tj={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 KL extends Error{constructor(e,t,i,r){super(i),this.errorMessage=e,this.messageName=t,this.userMessage=i,this.properties=r}}Yt.QuickTypeError=KL;function ZL(n,e){const t=Tj[n];let i=t;const r=e;for(const s of Object.getOwnPropertyNames(r)){let o=r[s];typeof o=="object"&&typeof o.toString=="function"?o=o.toString():typeof o.message=="string"?o=o.message:typeof o!="string"&&(o=JSON.stringify(o)),i=i.replace("${"+s+"}",o)}throw new KL(t,n,i,r)}Yt.messageError=ZL;function Sj(n,e,t){if(!n)return ZL(e,t)}Yt.messageAssert=Sj;var ih={};Object.defineProperty(ih,"__esModule",{value:!0});ih.acronyms=void 0;ih.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 Ce={},QL={exports:{}};(function(n,e){(function(t,i){n.exports=i()})(typeof self<"u"?self:typeof window<"u"?window:typeof Ee<"u"?Ee:Ee,function(){var t="3.7.7",i=t,r=typeof Buffer=="function",s=typeof TextDecoder=="function"?new TextDecoder:void 0,o=typeof TextEncoder=="function"?new TextEncoder:void 0,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=Array.prototype.slice.call(a),f=function(F){var Y={};return F.forEach(function(de,ve){return Y[de]=ve}),Y}(c),d=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,p=String.fromCharCode.bind(String),y=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):function(F){return new Uint8Array(Array.prototype.slice.call(F,0))},h=function(F){return F.replace(/=/g,"").replace(/[+\/]/g,function(Y){return Y=="+"?"-":"_"})},S=function(F){return F.replace(/[^A-Za-z0-9\+\/]/g,"")},m=function(F){for(var Y,de,ve,Le,Fe="",Pe=F.length%3,Me=0;Me<F.length;){if((de=F.charCodeAt(Me++))>255||(ve=F.charCodeAt(Me++))>255||(Le=F.charCodeAt(Me++))>255)throw new TypeError("invalid character found");Y=de<<16|ve<<8|Le,Fe+=c[Y>>18&63]+c[Y>>12&63]+c[Y>>6&63]+c[Y&63]}return Pe?Fe.slice(0,Pe-3)+"===".substring(Pe):Fe},v=typeof btoa=="function"?function(F){return btoa(F)}:r?function(F){return Buffer.from(F,"binary").toString("base64")}:m,C=r?function(F){return Buffer.from(F).toString("base64")}:function(F){for(var Y=4096,de=[],ve=0,Le=F.length;ve<Le;ve+=Y)de.push(p.apply(null,F.subarray(ve,ve+Y)));return v(de.join(""))},U=function(F,Y){return Y===void 0&&(Y=!1),Y?h(C(F)):C(F)},x=function(F){if(F.length<2){var Y=F.charCodeAt(0);return Y<128?F:Y<2048?p(192|Y>>>6)+p(128|Y&63):p(224|Y>>>12&15)+p(128|Y>>>6&63)+p(128|Y&63)}else{var Y=65536+(F.charCodeAt(0)-55296)*1024+(F.charCodeAt(1)-56320);return p(240|Y>>>18&7)+p(128|Y>>>12&63)+p(128|Y>>>6&63)+p(128|Y&63)}},J=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,D=function(F){return F.replace(J,x)},K=r?function(F){return Buffer.from(F,"utf8").toString("base64")}:o?function(F){return C(o.encode(F))}:function(F){return v(D(F))},X=function(F,Y){return Y===void 0&&(Y=!1),Y?h(K(F)):K(F)},E=function(F){return X(F,!0)},j=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ne=function(F){switch(F.length){case 4:var Y=(7&F.charCodeAt(0))<<18|(63&F.charCodeAt(1))<<12|(63&F.charCodeAt(2))<<6|63&F.charCodeAt(3),de=Y-65536;return p((de>>>10)+55296)+p((de&1023)+56320);case 3:return p((15&F.charCodeAt(0))<<12|(63&F.charCodeAt(1))<<6|63&F.charCodeAt(2));default:return p((31&F.charCodeAt(0))<<6|63&F.charCodeAt(1))}},se=function(F){return F.replace(j,ne)},re=function(F){if(F=F.replace(/\s+/g,""),!d.test(F))throw new TypeError("malformed base64.");F+="==".slice(2-(F.length&3));for(var Y,de="",ve,Le,Fe=0;Fe<F.length;)Y=f[F.charAt(Fe++)]<<18|f[F.charAt(Fe++)]<<12|(ve=f[F.charAt(Fe++)])<<6|(Le=f[F.charAt(Fe++)]),de+=ve===64?p(Y>>16&255):Le===64?p(Y>>16&255,Y>>8&255):p(Y>>16&255,Y>>8&255,Y&255);return de},T=typeof atob=="function"?function(F){return atob(S(F))}:r?function(F){return Buffer.from(F,"base64").toString("binary")}:re,b=r?function(F){return y(Buffer.from(F,"base64"))}:function(F){return y(T(F).split("").map(function(Y){return Y.charCodeAt(0)}))},w=function(F){return b(M(F))},L=r?function(F){return Buffer.from(F,"base64").toString("utf8")}:s?function(F){return s.decode(b(F))}:function(F){return se(T(F))},M=function(F){return S(F.replace(/[-_]/g,function(Y){return Y=="-"?"+":"/"}))},z=function(F){return L(M(F))},q=function(F){if(typeof F!="string")return!1;var Y=F.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(Y)||!/[^\s0-9a-zA-Z\-_]/.test(Y)},H=function(F){return{value:F,enumerable:!1,writable:!0,configurable:!0}},$=function(){var F=function(Y,de){return Object.defineProperty(String.prototype,Y,H(de))};F("fromBase64",function(){return z(this)}),F("toBase64",function(Y){return X(this,Y)}),F("toBase64URI",function(){return X(this,!0)}),F("toBase64URL",function(){return X(this,!0)}),F("toUint8Array",function(){return w(this)})},fe=function(){var F=function(Y,de){return Object.defineProperty(Uint8Array.prototype,Y,H(de))};F("toBase64",function(Y){return U(this,Y)}),F("toBase64URI",function(){return U(this,!0)}),F("toBase64URL",function(){return U(this,!0)})},I=function(){$(),fe()},W={version:t,VERSION:i,atob:T,atobPolyfill:re,btoa:v,btoaPolyfill:m,fromBase64:z,toBase64:X,encode:X,encodeURI:E,encodeURL:E,utob:D,btou:se,decode:z,isValid:q,fromUint8Array:U,toUint8Array:w,extendString:$,extendUint8Array:fe,extendBuiltins:I};return W.Base64={},Object.keys(W).forEach(function(F){return W.Base64[F]=W[F]}),W})})(QL);var vj=QL.exports,Ls={};(function(n){var e=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function t(s,o){return Object.prototype.hasOwnProperty.call(s,o)}n.assign=function(s){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var a=o.shift();if(a){if(typeof a!="object")throw new TypeError(a+"must be non-object");for(var c in a)t(a,c)&&(s[c]=a[c])}}return s},n.shrinkBuf=function(s,o){return s.length===o?s:s.subarray?s.subarray(0,o):(s.length=o,s)};var i={arraySet:function(s,o,a,c,f){if(o.subarray&&s.subarray){s.set(o.subarray(a,a+c),f);return}for(var d=0;d<c;d++)s[f+d]=o[a+d]},flattenChunks:function(s){var o,a,c,f,d,p;for(c=0,o=0,a=s.length;o<a;o++)c+=s[o].length;for(p=new Uint8Array(c),f=0,o=0,a=s.length;o<a;o++)d=s[o],p.set(d,f),f+=d.length;return p}},r={arraySet:function(s,o,a,c,f){for(var d=0;d<c;d++)s[f+d]=o[a+d]},flattenChunks:function(s){return[].concat.apply([],s)}};n.setTyped=function(s){s?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,r))},n.setTyped(e)})(Ls);var Vu={},Ur={},Ll={},_j=Ls,wj=4,fv=0,dv=1,Lj=2;function Nl(n){for(var e=n.length;--e>=0;)n[e]=0}var Nj=0,XL=1,kj=2,Oj=3,Ej=258,ib=29,Ku=256,Bu=Ku+1+ib,rl=30,rb=19,YL=2*Bu+1,Wo=15,Bm=16,Cj=7,sb=256,$L=16,e1=17,t1=18,hg=[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],Nd=[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],Aj=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],n1=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Fj=512,ls=new Array((Bu+2)*2);Nl(ls);var Eu=new Array(rl*2);Nl(Eu);var Du=new Array(Fj);Nl(Du);var Uu=new Array(Ej-Oj+1);Nl(Uu);var ob=new Array(ib);Nl(ob);var Jd=new Array(rl);Nl(Jd);function Dm(n,e,t,i,r){this.static_tree=n,this.extra_bits=e,this.extra_base=t,this.elems=i,this.max_length=r,this.has_stree=n&&n.length}var i1,r1,s1;function Um(n,e){this.dyn_tree=n,this.max_code=0,this.stat_desc=e}function o1(n){return n<256?Du[n]:Du[256+(n>>>7)]}function xu(n,e){n.pending_buf[n.pending++]=e&255,n.pending_buf[n.pending++]=e>>>8&255}function $n(n,e,t){n.bi_valid>Bm-t?(n.bi_buf|=e<<n.bi_valid&65535,xu(n,n.bi_buf),n.bi_buf=e>>Bm-n.bi_valid,n.bi_valid+=t-Bm):(n.bi_buf|=e<<n.bi_valid&65535,n.bi_valid+=t)}function Fr(n,e,t){$n(n,t[e*2],t[e*2+1])}function a1(n,e){var t=0;do t|=n&1,n>>>=1,t<<=1;while(--e>0);return t>>>1}function Pj(n){n.bi_valid===16?(xu(n,n.bi_buf),n.bi_buf=0,n.bi_valid=0):n.bi_valid>=8&&(n.pending_buf[n.pending++]=n.bi_buf&255,n.bi_buf>>=8,n.bi_valid-=8)}function Mj(n,e){var t=e.dyn_tree,i=e.max_code,r=e.stat_desc.static_tree,s=e.stat_desc.has_stree,o=e.stat_desc.extra_bits,a=e.stat_desc.extra_base,c=e.stat_desc.max_length,f,d,p,y,h,S,m=0;for(y=0;y<=Wo;y++)n.bl_count[y]=0;for(t[n.heap[n.heap_max]*2+1]=0,f=n.heap_max+1;f<YL;f++)d=n.heap[f],y=t[t[d*2+1]*2+1]+1,y>c&&(y=c,m++),t[d*2+1]=y,!(d>i)&&(n.bl_count[y]++,h=0,d>=a&&(h=o[d-a]),S=t[d*2],n.opt_len+=S*(y+h),s&&(n.static_len+=S*(r[d*2+1]+h)));if(m!==0){do{for(y=c-1;n.bl_count[y]===0;)y--;n.bl_count[y]--,n.bl_count[y+1]+=2,n.bl_count[c]--,m-=2}while(m>0);for(y=c;y!==0;y--)for(d=n.bl_count[y];d!==0;)p=n.heap[--f],!(p>i)&&(t[p*2+1]!==y&&(n.opt_len+=(y-t[p*2+1])*t[p*2],t[p*2+1]=y),d--)}}function l1(n,e,t){var i=new Array(Wo+1),r=0,s,o;for(s=1;s<=Wo;s++)i[s]=r=r+t[s-1]<<1;for(o=0;o<=e;o++){var a=n[o*2+1];a!==0&&(n[o*2]=a1(i[a]++,a))}}function Ij(){var n,e,t,i,r,s=new Array(Wo+1);for(t=0,i=0;i<ib-1;i++)for(ob[i]=t,n=0;n<1<<hg[i];n++)Uu[t++]=i;for(Uu[t-1]=i,r=0,i=0;i<16;i++)for(Jd[i]=r,n=0;n<1<<Nd[i];n++)Du[r++]=i;for(r>>=7;i<rl;i++)for(Jd[i]=r<<7,n=0;n<1<<Nd[i]-7;n++)Du[256+r++]=i;for(e=0;e<=Wo;e++)s[e]=0;for(n=0;n<=143;)ls[n*2+1]=8,n++,s[8]++;for(;n<=255;)ls[n*2+1]=9,n++,s[9]++;for(;n<=279;)ls[n*2+1]=7,n++,s[7]++;for(;n<=287;)ls[n*2+1]=8,n++,s[8]++;for(l1(ls,Bu+1,s),n=0;n<rl;n++)Eu[n*2+1]=5,Eu[n*2]=a1(n,5);i1=new Dm(ls,hg,Ku+1,Bu,Wo),r1=new Dm(Eu,Nd,0,rl,Wo),s1=new Dm(new Array(0),Aj,0,rb,Cj)}function u1(n){var e;for(e=0;e<Bu;e++)n.dyn_ltree[e*2]=0;for(e=0;e<rl;e++)n.dyn_dtree[e*2]=0;for(e=0;e<rb;e++)n.bl_tree[e*2]=0;n.dyn_ltree[sb*2]=1,n.opt_len=n.static_len=0,n.last_lit=n.matches=0}function c1(n){n.bi_valid>8?xu(n,n.bi_buf):n.bi_valid>0&&(n.pending_buf[n.pending++]=n.bi_buf),n.bi_buf=0,n.bi_valid=0}function Rj(n,e,t,i){c1(n),i&&(xu(n,t),xu(n,~t)),_j.arraySet(n.pending_buf,n.window,e,t,n.pending),n.pending+=t}function hv(n,e,t,i){var r=e*2,s=t*2;return n[r]<n[s]||n[r]===n[s]&&i[e]<=i[t]}function xm(n,e,t){for(var i=n.heap[t],r=t<<1;r<=n.heap_len&&(r<n.heap_len&&hv(e,n.heap[r+1],n.heap[r],n.depth)&&r++,!hv(e,i,n.heap[r],n.depth));)n.heap[t]=n.heap[r],t=r,r<<=1;n.heap[t]=i}function pv(n,e,t){var i,r,s=0,o,a;if(n.last_lit!==0)do i=n.pending_buf[n.d_buf+s*2]<<8|n.pending_buf[n.d_buf+s*2+1],r=n.pending_buf[n.l_buf+s],s++,i===0?Fr(n,r,e):(o=Uu[r],Fr(n,o+Ku+1,e),a=hg[o],a!==0&&(r-=ob[o],$n(n,r,a)),i--,o=o1(i),Fr(n,o,t),a=Nd[o],a!==0&&(i-=Jd[o],$n(n,i,a)));while(s<n.last_lit);Fr(n,sb,e)}function pg(n,e){var t=e.dyn_tree,i=e.stat_desc.static_tree,r=e.stat_desc.has_stree,s=e.stat_desc.elems,o,a,c=-1,f;for(n.heap_len=0,n.heap_max=YL,o=0;o<s;o++)t[o*2]!==0?(n.heap[++n.heap_len]=c=o,n.depth[o]=0):t[o*2+1]=0;for(;n.heap_len<2;)f=n.heap[++n.heap_len]=c<2?++c:0,t[f*2]=1,n.depth[f]=0,n.opt_len--,r&&(n.static_len-=i[f*2+1]);for(e.max_code=c,o=n.heap_len>>1;o>=1;o--)xm(n,t,o);f=s;do o=n.heap[1],n.heap[1]=n.heap[n.heap_len--],xm(n,t,1),a=n.heap[1],n.heap[--n.heap_max]=o,n.heap[--n.heap_max]=a,t[f*2]=t[o*2]+t[a*2],n.depth[f]=(n.depth[o]>=n.depth[a]?n.depth[o]:n.depth[a])+1,t[o*2+1]=t[a*2+1]=f,n.heap[1]=f++,xm(n,t,1);while(n.heap_len>=2);n.heap[--n.heap_max]=n.heap[1],Mj(n,e),l1(t,c,n.bl_count)}function mv(n,e,t){var i,r=-1,s,o=e[0*2+1],a=0,c=7,f=4;for(o===0&&(c=138,f=3),e[(t+1)*2+1]=65535,i=0;i<=t;i++)s=o,o=e[(i+1)*2+1],!(++a<c&&s===o)&&(a<f?n.bl_tree[s*2]+=a:s!==0?(s!==r&&n.bl_tree[s*2]++,n.bl_tree[$L*2]++):a<=10?n.bl_tree[e1*2]++:n.bl_tree[t1*2]++,a=0,r=s,o===0?(c=138,f=3):s===o?(c=6,f=3):(c=7,f=4))}function yv(n,e,t){var i,r=-1,s,o=e[0*2+1],a=0,c=7,f=4;for(o===0&&(c=138,f=3),i=0;i<=t;i++)if(s=o,o=e[(i+1)*2+1],!(++a<c&&s===o)){if(a<f)do Fr(n,s,n.bl_tree);while(--a!==0);else s!==0?(s!==r&&(Fr(n,s,n.bl_tree),a--),Fr(n,$L,n.bl_tree),$n(n,a-3,2)):a<=10?(Fr(n,e1,n.bl_tree),$n(n,a-3,3)):(Fr(n,t1,n.bl_tree),$n(n,a-11,7));a=0,r=s,o===0?(c=138,f=3):s===o?(c=6,f=3):(c=7,f=4)}}function jj(n){var e;for(mv(n,n.dyn_ltree,n.l_desc.max_code),mv(n,n.dyn_dtree,n.d_desc.max_code),pg(n,n.bl_desc),e=rb-1;e>=3&&n.bl_tree[n1[e]*2+1]===0;e--);return n.opt_len+=3*(e+1)+5+5+4,e}function Bj(n,e,t,i){var r;for($n(n,e-257,5),$n(n,t-1,5),$n(n,i-4,4),r=0;r<i;r++)$n(n,n.bl_tree[n1[r]*2+1],3);yv(n,n.dyn_ltree,e-1),yv(n,n.dyn_dtree,t-1)}function Dj(n){var e=4093624447,t;for(t=0;t<=31;t++,e>>>=1)if(e&1&&n.dyn_ltree[t*2]!==0)return fv;if(n.dyn_ltree[9*2]!==0||n.dyn_ltree[10*2]!==0||n.dyn_ltree[13*2]!==0)return dv;for(t=32;t<Ku;t++)if(n.dyn_ltree[t*2]!==0)return dv;return fv}var gv=!1;function Uj(n){gv||(Ij(),gv=!0),n.l_desc=new Um(n.dyn_ltree,i1),n.d_desc=new Um(n.dyn_dtree,r1),n.bl_desc=new Um(n.bl_tree,s1),n.bi_buf=0,n.bi_valid=0,u1(n)}function f1(n,e,t,i){$n(n,(Nj<<1)+(i?1:0),3),Rj(n,e,t,!0)}function xj(n){$n(n,XL<<1,3),Fr(n,sb,ls),Pj(n)}function Jj(n,e,t,i){var r,s,o=0;n.level>0?(n.strm.data_type===Lj&&(n.strm.data_type=Dj(n)),pg(n,n.l_desc),pg(n,n.d_desc),o=jj(n),r=n.opt_len+3+7>>>3,s=n.static_len+3+7>>>3,s<=r&&(r=s)):r=s=t+5,t+4<=r&&e!==-1?f1(n,e,t,i):n.strategy===wj||s===r?($n(n,(XL<<1)+(i?1:0),3),pv(n,ls,Eu)):($n(n,(kj<<1)+(i?1:0),3),Bj(n,n.l_desc.max_code+1,n.d_desc.max_code+1,o+1),pv(n,n.dyn_ltree,n.dyn_dtree)),u1(n),i&&c1(n)}function zj(n,e,t){return n.pending_buf[n.d_buf+n.last_lit*2]=e>>>8&255,n.pending_buf[n.d_buf+n.last_lit*2+1]=e&255,n.pending_buf[n.l_buf+n.last_lit]=t&255,n.last_lit++,e===0?n.dyn_ltree[t*2]++:(n.matches++,e--,n.dyn_ltree[(Uu[t]+Ku+1)*2]++,n.dyn_dtree[o1(e)*2]++),n.last_lit===n.lit_bufsize-1}Ll._tr_init=Uj;Ll._tr_stored_block=f1;Ll._tr_flush_block=Jj;Ll._tr_tally=zj;Ll._tr_align=xj;function Wj(n,e,t,i){for(var r=n&65535|0,s=n>>>16&65535|0,o=0;t!==0;){o=t>2e3?2e3:t,t-=o;do r=r+e[i++]|0,s=s+r|0;while(--o);r%=65521,s%=65521}return r|s<<16|0}var d1=Wj;function Gj(){for(var n,e=[],t=0;t<256;t++){n=t;for(var i=0;i<8;i++)n=n&1?3988292384^n>>>1:n>>>1;e[t]=n}return e}var qj=Gj();function Hj(n,e,t,i){var r=qj,s=i+t;n^=-1;for(var o=i;o<s;o++)n=n>>>8^r[(n^e[o])&255];return n^-1}var h1=Hj,ab={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"},Bn=Ls,xi=Ll,p1=d1,Vs=h1,Vj=ab,fa=0,Kj=1,Zj=3,to=4,bv=5,Pr=0,Tv=1,Ji=-2,Qj=-3,Jm=-5,Xj=-1,Yj=1,xf=2,$j=3,e2=4,t2=0,n2=2,rh=8,i2=9,r2=15,s2=8,o2=29,a2=256,mg=a2+1+o2,l2=30,u2=19,c2=2*mg+1,f2=15,bt=3,Ys=258,sr=Ys+bt+1,d2=32,sh=42,yg=69,kd=73,Od=91,Ed=103,Go=113,_u=666,fn=1,Zu=2,Yo=3,kl=4,h2=3;function $s(n,e){return n.msg=Vj[e],e}function Sv(n){return(n<<1)-(n>4?9:0)}function Xs(n){for(var e=n.length;--e>=0;)n[e]=0}function Ks(n){var e=n.state,t=e.pending;t>n.avail_out&&(t=n.avail_out),t!==0&&(Bn.arraySet(n.output,e.pending_buf,e.pending_out,t,n.next_out),n.next_out+=t,e.pending_out+=t,n.total_out+=t,n.avail_out-=t,e.pending-=t,e.pending===0&&(e.pending_out=0))}function Tn(n,e){xi._tr_flush_block(n,n.block_start>=0?n.block_start:-1,n.strstart-n.block_start,e),n.block_start=n.strstart,Ks(n.strm)}function St(n,e){n.pending_buf[n.pending++]=e}function nu(n,e){n.pending_buf[n.pending++]=e>>>8&255,n.pending_buf[n.pending++]=e&255}function p2(n,e,t,i){var r=n.avail_in;return r>i&&(r=i),r===0?0:(n.avail_in-=r,Bn.arraySet(e,n.input,n.next_in,r,t),n.state.wrap===1?n.adler=p1(n.adler,e,r,t):n.state.wrap===2&&(n.adler=Vs(n.adler,e,r,t)),n.next_in+=r,n.total_in+=r,r)}function m1(n,e){var t=n.max_chain_length,i=n.strstart,r,s,o=n.prev_length,a=n.nice_match,c=n.strstart>n.w_size-sr?n.strstart-(n.w_size-sr):0,f=n.window,d=n.w_mask,p=n.prev,y=n.strstart+Ys,h=f[i+o-1],S=f[i+o];n.prev_length>=n.good_match&&(t>>=2),a>n.lookahead&&(a=n.lookahead);do if(r=e,!(f[r+o]!==S||f[r+o-1]!==h||f[r]!==f[i]||f[++r]!==f[i+1])){i+=2,r++;do;while(f[++i]===f[++r]&&f[++i]===f[++r]&&f[++i]===f[++r]&&f[++i]===f[++r]&&f[++i]===f[++r]&&f[++i]===f[++r]&&f[++i]===f[++r]&&f[++i]===f[++r]&&i<y);if(s=Ys-(y-i),i=y-Ys,s>o){if(n.match_start=e,o=s,s>=a)break;h=f[i+o-1],S=f[i+o]}}while((e=p[e&d])>c&&--t!==0);return o<=n.lookahead?o:n.lookahead}function $o(n){var e=n.w_size,t,i,r,s,o;do{if(s=n.window_size-n.lookahead-n.strstart,n.strstart>=e+(e-sr)){Bn.arraySet(n.window,n.window,e,e,0),n.match_start-=e,n.strstart-=e,n.block_start-=e,i=n.hash_size,t=i;do r=n.head[--t],n.head[t]=r>=e?r-e:0;while(--i);i=e,t=i;do r=n.prev[--t],n.prev[t]=r>=e?r-e:0;while(--i);s+=e}if(n.strm.avail_in===0)break;if(i=p2(n.strm,n.window,n.strstart+n.lookahead,s),n.lookahead+=i,n.lookahead+n.insert>=bt)for(o=n.strstart-n.insert,n.ins_h=n.window[o],n.ins_h=(n.ins_h<<n.hash_shift^n.window[o+1])&n.hash_mask;n.insert&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[o+bt-1])&n.hash_mask,n.prev[o&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=o,o++,n.insert--,!(n.lookahead+n.insert<bt)););}while(n.lookahead<sr&&n.strm.avail_in!==0)}function m2(n,e){var t=65535;for(t>n.pending_buf_size-5&&(t=n.pending_buf_size-5);;){if(n.lookahead<=1){if($o(n),n.lookahead===0&&e===fa)return fn;if(n.lookahead===0)break}n.strstart+=n.lookahead,n.lookahead=0;var i=n.block_start+t;if((n.strstart===0||n.strstart>=i)&&(n.lookahead=n.strstart-i,n.strstart=i,Tn(n,!1),n.strm.avail_out===0)||n.strstart-n.block_start>=n.w_size-sr&&(Tn(n,!1),n.strm.avail_out===0))return fn}return n.insert=0,e===to?(Tn(n,!0),n.strm.avail_out===0?Yo:kl):(n.strstart>n.block_start&&(Tn(n,!1),n.strm.avail_out===0),fn)}function zm(n,e){for(var t,i;;){if(n.lookahead<sr){if($o(n),n.lookahead<sr&&e===fa)return fn;if(n.lookahead===0)break}if(t=0,n.lookahead>=bt&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+bt-1])&n.hash_mask,t=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),t!==0&&n.strstart-t<=n.w_size-sr&&(n.match_length=m1(n,t)),n.match_length>=bt)if(i=xi._tr_tally(n,n.strstart-n.match_start,n.match_length-bt),n.lookahead-=n.match_length,n.match_length<=n.max_lazy_match&&n.lookahead>=bt){n.match_length--;do n.strstart++,n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+bt-1])&n.hash_mask,t=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart;while(--n.match_length!==0);n.strstart++}else n.strstart+=n.match_length,n.match_length=0,n.ins_h=n.window[n.strstart],n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+1])&n.hash_mask;else i=xi._tr_tally(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++;if(i&&(Tn(n,!1),n.strm.avail_out===0))return fn}return n.insert=n.strstart<bt-1?n.strstart:bt-1,e===to?(Tn(n,!0),n.strm.avail_out===0?Yo:kl):n.last_lit&&(Tn(n,!1),n.strm.avail_out===0)?fn:Zu}function Da(n,e){for(var t,i,r;;){if(n.lookahead<sr){if($o(n),n.lookahead<sr&&e===fa)return fn;if(n.lookahead===0)break}if(t=0,n.lookahead>=bt&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+bt-1])&n.hash_mask,t=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),n.prev_length=n.match_length,n.prev_match=n.match_start,n.match_length=bt-1,t!==0&&n.prev_length<n.max_lazy_match&&n.strstart-t<=n.w_size-sr&&(n.match_length=m1(n,t),n.match_length<=5&&(n.strategy===Yj||n.match_length===bt&&n.strstart-n.match_start>4096)&&(n.match_length=bt-1)),n.prev_length>=bt&&n.match_length<=n.prev_length){r=n.strstart+n.lookahead-bt,i=xi._tr_tally(n,n.strstart-1-n.prev_match,n.prev_length-bt),n.lookahead-=n.prev_length-1,n.prev_length-=2;do++n.strstart<=r&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+bt-1])&n.hash_mask,t=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart);while(--n.prev_length!==0);if(n.match_available=0,n.match_length=bt-1,n.strstart++,i&&(Tn(n,!1),n.strm.avail_out===0))return fn}else if(n.match_available){if(i=xi._tr_tally(n,0,n.window[n.strstart-1]),i&&Tn(n,!1),n.strstart++,n.lookahead--,n.strm.avail_out===0)return fn}else n.match_available=1,n.strstart++,n.lookahead--}return n.match_available&&(i=xi._tr_tally(n,0,n.window[n.strstart-1]),n.match_available=0),n.insert=n.strstart<bt-1?n.strstart:bt-1,e===to?(Tn(n,!0),n.strm.avail_out===0?Yo:kl):n.last_lit&&(Tn(n,!1),n.strm.avail_out===0)?fn:Zu}function y2(n,e){for(var t,i,r,s,o=n.window;;){if(n.lookahead<=Ys){if($o(n),n.lookahead<=Ys&&e===fa)return fn;if(n.lookahead===0)break}if(n.match_length=0,n.lookahead>=bt&&n.strstart>0&&(r=n.strstart-1,i=o[r],i===o[++r]&&i===o[++r]&&i===o[++r])){s=n.strstart+Ys;do;while(i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&i===o[++r]&&r<s);n.match_length=Ys-(s-r),n.match_length>n.lookahead&&(n.match_length=n.lookahead)}if(n.match_length>=bt?(t=xi._tr_tally(n,1,n.match_length-bt),n.lookahead-=n.match_length,n.strstart+=n.match_length,n.match_length=0):(t=xi._tr_tally(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++),t&&(Tn(n,!1),n.strm.avail_out===0))return fn}return n.insert=0,e===to?(Tn(n,!0),n.strm.avail_out===0?Yo:kl):n.last_lit&&(Tn(n,!1),n.strm.avail_out===0)?fn:Zu}function g2(n,e){for(var t;;){if(n.lookahead===0&&($o(n),n.lookahead===0)){if(e===fa)return fn;break}if(n.match_length=0,t=xi._tr_tally(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++,t&&(Tn(n,!1),n.strm.avail_out===0))return fn}return n.insert=0,e===to?(Tn(n,!0),n.strm.avail_out===0?Yo:kl):n.last_lit&&(Tn(n,!1),n.strm.avail_out===0)?fn:Zu}function pr(n,e,t,i,r){this.good_length=n,this.max_lazy=e,this.nice_length=t,this.max_chain=i,this.func=r}var Xa;Xa=[new pr(0,0,0,0,m2),new pr(4,4,8,4,zm),new pr(4,5,16,8,zm),new pr(4,6,32,32,zm),new pr(4,4,16,16,Da),new pr(8,16,32,32,Da),new pr(8,16,128,128,Da),new pr(8,32,128,256,Da),new pr(32,128,258,1024,Da),new pr(32,258,258,4096,Da)];function b2(n){n.window_size=2*n.w_size,Xs(n.head),n.max_lazy_match=Xa[n.level].max_lazy,n.good_match=Xa[n.level].good_length,n.nice_match=Xa[n.level].nice_length,n.max_chain_length=Xa[n.level].max_chain,n.strstart=0,n.block_start=0,n.lookahead=0,n.insert=0,n.match_length=n.prev_length=bt-1,n.match_available=0,n.ins_h=0}function T2(){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=rh,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 Bn.Buf16(c2*2),this.dyn_dtree=new Bn.Buf16((2*l2+1)*2),this.bl_tree=new Bn.Buf16((2*u2+1)*2),Xs(this.dyn_ltree),Xs(this.dyn_dtree),Xs(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Bn.Buf16(f2+1),this.heap=new Bn.Buf16(2*mg+1),Xs(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Bn.Buf16(2*mg+1),Xs(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 y1(n){var e;return!n||!n.state?$s(n,Ji):(n.total_in=n.total_out=0,n.data_type=n2,e=n.state,e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?sh:Go,n.adler=e.wrap===2?0:1,e.last_flush=fa,xi._tr_init(e),Pr)}function g1(n){var e=y1(n);return e===Pr&&b2(n.state),e}function S2(n,e){return!n||!n.state||n.state.wrap!==2?Ji:(n.state.gzhead=e,Pr)}function b1(n,e,t,i,r,s){if(!n)return Ji;var o=1;if(e===Xj&&(e=6),i<0?(o=0,i=-i):i>15&&(o=2,i-=16),r<1||r>i2||t!==rh||i<8||i>15||e<0||e>9||s<0||s>e2)return $s(n,Ji);i===8&&(i=9);var a=new T2;return n.state=a,a.strm=n,a.wrap=o,a.gzhead=null,a.w_bits=i,a.w_size=1<<a.w_bits,a.w_mask=a.w_size-1,a.hash_bits=r+7,a.hash_size=1<<a.hash_bits,a.hash_mask=a.hash_size-1,a.hash_shift=~~((a.hash_bits+bt-1)/bt),a.window=new Bn.Buf8(a.w_size*2),a.head=new Bn.Buf16(a.hash_size),a.prev=new Bn.Buf16(a.w_size),a.lit_bufsize=1<<r+6,a.pending_buf_size=a.lit_bufsize*4,a.pending_buf=new Bn.Buf8(a.pending_buf_size),a.d_buf=1*a.lit_bufsize,a.l_buf=3*a.lit_bufsize,a.level=e,a.strategy=s,a.method=t,g1(n)}function v2(n,e){return b1(n,e,rh,r2,s2,t2)}function _2(n,e){var t,i,r,s;if(!n||!n.state||e>bv||e<0)return n?$s(n,Ji):Ji;if(i=n.state,!n.output||!n.input&&n.avail_in!==0||i.status===_u&&e!==to)return $s(n,n.avail_out===0?Jm:Ji);if(i.strm=n,t=i.last_flush,i.last_flush=e,i.status===sh)if(i.wrap===2)n.adler=0,St(i,31),St(i,139),St(i,8),i.gzhead?(St(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)),St(i,i.gzhead.time&255),St(i,i.gzhead.time>>8&255),St(i,i.gzhead.time>>16&255),St(i,i.gzhead.time>>24&255),St(i,i.level===9?2:i.strategy>=xf||i.level<2?4:0),St(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(St(i,i.gzhead.extra.length&255),St(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(n.adler=Vs(n.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=yg):(St(i,0),St(i,0),St(i,0),St(i,0),St(i,0),St(i,i.level===9?2:i.strategy>=xf||i.level<2?4:0),St(i,h2),i.status=Go);else{var o=rh+(i.w_bits-8<<4)<<8,a=-1;i.strategy>=xf||i.level<2?a=0:i.level<6?a=1:i.level===6?a=2:a=3,o|=a<<6,i.strstart!==0&&(o|=d2),o+=31-o%31,i.status=Go,nu(i,o),i.strstart!==0&&(nu(i,n.adler>>>16),nu(i,n.adler&65535)),n.adler=1}if(i.status===yg)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&&(n.adler=Vs(n.adler,i.pending_buf,i.pending-r,r)),Ks(n),r=i.pending,i.pending===i.pending_buf_size));)St(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>r&&(n.adler=Vs(n.adler,i.pending_buf,i.pending-r,r)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=kd)}else i.status=kd;if(i.status===kd)if(i.gzhead.name){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(n.adler=Vs(n.adler,i.pending_buf,i.pending-r,r)),Ks(n),r=i.pending,i.pending===i.pending_buf_size)){s=1;break}i.gzindex<i.gzhead.name.length?s=i.gzhead.name.charCodeAt(i.gzindex++)&255:s=0,St(i,s)}while(s!==0);i.gzhead.hcrc&&i.pending>r&&(n.adler=Vs(n.adler,i.pending_buf,i.pending-r,r)),s===0&&(i.gzindex=0,i.status=Od)}else i.status=Od;if(i.status===Od)if(i.gzhead.comment){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(n.adler=Vs(n.adler,i.pending_buf,i.pending-r,r)),Ks(n),r=i.pending,i.pending===i.pending_buf_size)){s=1;break}i.gzindex<i.gzhead.comment.length?s=i.gzhead.comment.charCodeAt(i.gzindex++)&255:s=0,St(i,s)}while(s!==0);i.gzhead.hcrc&&i.pending>r&&(n.adler=Vs(n.adler,i.pending_buf,i.pending-r,r)),s===0&&(i.status=Ed)}else i.status=Ed;if(i.status===Ed&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&Ks(n),i.pending+2<=i.pending_buf_size&&(St(i,n.adler&255),St(i,n.adler>>8&255),n.adler=0,i.status=Go)):i.status=Go),i.pending!==0){if(Ks(n),n.avail_out===0)return i.last_flush=-1,Pr}else if(n.avail_in===0&&Sv(e)<=Sv(t)&&e!==to)return $s(n,Jm);if(i.status===_u&&n.avail_in!==0)return $s(n,Jm);if(n.avail_in!==0||i.lookahead!==0||e!==fa&&i.status!==_u){var c=i.strategy===xf?g2(i,e):i.strategy===$j?y2(i,e):Xa[i.level].func(i,e);if((c===Yo||c===kl)&&(i.status=_u),c===fn||c===Yo)return n.avail_out===0&&(i.last_flush=-1),Pr;if(c===Zu&&(e===Kj?xi._tr_align(i):e!==bv&&(xi._tr_stored_block(i,0,0,!1),e===Zj&&(Xs(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),Ks(n),n.avail_out===0))return i.last_flush=-1,Pr}return e!==to?Pr:i.wrap<=0?Tv:(i.wrap===2?(St(i,n.adler&255),St(i,n.adler>>8&255),St(i,n.adler>>16&255),St(i,n.adler>>24&255),St(i,n.total_in&255),St(i,n.total_in>>8&255),St(i,n.total_in>>16&255),St(i,n.total_in>>24&255)):(nu(i,n.adler>>>16),nu(i,n.adler&65535)),Ks(n),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Pr:Tv)}function w2(n){var e;return!n||!n.state?Ji:(e=n.state.status,e!==sh&&e!==yg&&e!==kd&&e!==Od&&e!==Ed&&e!==Go&&e!==_u?$s(n,Ji):(n.state=null,e===Go?$s(n,Qj):Pr))}function L2(n,e){var t=e.length,i,r,s,o,a,c,f,d;if(!n||!n.state||(i=n.state,o=i.wrap,o===2||o===1&&i.status!==sh||i.lookahead))return Ji;for(o===1&&(n.adler=p1(n.adler,e,t,0)),i.wrap=0,t>=i.w_size&&(o===0&&(Xs(i.head),i.strstart=0,i.block_start=0,i.insert=0),d=new Bn.Buf8(i.w_size),Bn.arraySet(d,e,t-i.w_size,i.w_size,0),e=d,t=i.w_size),a=n.avail_in,c=n.next_in,f=n.input,n.avail_in=t,n.next_in=0,n.input=e,$o(i);i.lookahead>=bt;){r=i.strstart,s=i.lookahead-(bt-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[r+bt-1])&i.hash_mask,i.prev[r&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=r,r++;while(--s);i.strstart=r,i.lookahead=bt-1,$o(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=bt-1,i.match_available=0,n.next_in=c,n.input=f,n.avail_in=a,i.wrap=o,Pr}Ur.deflateInit=v2;Ur.deflateInit2=b1;Ur.deflateReset=g1;Ur.deflateResetKeep=y1;Ur.deflateSetHeader=S2;Ur.deflate=_2;Ur.deflateEnd=w2;Ur.deflateSetDictionary=L2;Ur.deflateInfo="pako deflate (from Nodeca project)";var da={},oh=Ls,T1=!0,S1=!0;try{String.fromCharCode.apply(null,[0])}catch{T1=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{S1=!1}var Ju=new oh.Buf8(256);for(var Us=0;Us<256;Us++)Ju[Us]=Us>=252?6:Us>=248?5:Us>=240?4:Us>=224?3:Us>=192?2:1;Ju[254]=Ju[254]=1;da.string2buf=function(n){var e,t,i,r,s,o=n.length,a=0;for(r=0;r<o;r++)t=n.charCodeAt(r),(t&64512)===55296&&r+1<o&&(i=n.charCodeAt(r+1),(i&64512)===56320&&(t=65536+(t-55296<<10)+(i-56320),r++)),a+=t<128?1:t<2048?2:t<65536?3:4;for(e=new oh.Buf8(a),s=0,r=0;s<a;r++)t=n.charCodeAt(r),(t&64512)===55296&&r+1<o&&(i=n.charCodeAt(r+1),(i&64512)===56320&&(t=65536+(t-55296<<10)+(i-56320),r++)),t<128?e[s++]=t:t<2048?(e[s++]=192|t>>>6,e[s++]=128|t&63):t<65536?(e[s++]=224|t>>>12,e[s++]=128|t>>>6&63,e[s++]=128|t&63):(e[s++]=240|t>>>18,e[s++]=128|t>>>12&63,e[s++]=128|t>>>6&63,e[s++]=128|t&63);return e};function v1(n,e){if(e<65534&&(n.subarray&&S1||!n.subarray&&T1))return String.fromCharCode.apply(null,oh.shrinkBuf(n,e));for(var t="",i=0;i<e;i++)t+=String.fromCharCode(n[i]);return t}da.buf2binstring=function(n){return v1(n,n.length)};da.binstring2buf=function(n){for(var e=new oh.Buf8(n.length),t=0,i=e.length;t<i;t++)e[t]=n.charCodeAt(t);return e};da.buf2string=function(n,e){var t,i,r,s,o=e||n.length,a=new Array(o*2);for(i=0,t=0;t<o;){if(r=n[t++],r<128){a[i++]=r;continue}if(s=Ju[r],s>4){a[i++]=65533,t+=s-1;continue}for(r&=s===2?31:s===3?15:7;s>1&&t<o;)r=r<<6|n[t++]&63,s--;if(s>1){a[i++]=65533;continue}r<65536?a[i++]=r:(r-=65536,a[i++]=55296|r>>10&1023,a[i++]=56320|r&1023)}return v1(a,i)};da.utf8border=function(n,e){var t;for(e=e||n.length,e>n.length&&(e=n.length),t=e-1;t>=0&&(n[t]&192)===128;)t--;return t<0||t===0?e:t+Ju[n[t]]>e?t:e};function N2(){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 _1=N2,Cu=Ur,Au=Ls,gg=da,bg=ab,k2=_1,w1=Object.prototype.toString,O2=0,Wm=4,sl=0,vv=1,_v=2,E2=-1,C2=0,A2=8;function ea(n){if(!(this instanceof ea))return new ea(n);this.options=Au.assign({level:E2,method:A2,chunkSize:16384,windowBits:15,memLevel:8,strategy:C2,to:""},n||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new k2,this.strm.avail_out=0;var t=Cu.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(t!==sl)throw new Error(bg[t]);if(e.header&&Cu.deflateSetHeader(this.strm,e.header),e.dictionary){var i;if(typeof e.dictionary=="string"?i=gg.string2buf(e.dictionary):w1.call(e.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(e.dictionary):i=e.dictionary,t=Cu.deflateSetDictionary(this.strm,i),t!==sl)throw new Error(bg[t]);this._dict_set=!0}}ea.prototype.push=function(n,e){var t=this.strm,i=this.options.chunkSize,r,s;if(this.ended)return!1;s=e===~~e?e:e===!0?Wm:O2,typeof n=="string"?t.input=gg.string2buf(n):w1.call(n)==="[object ArrayBuffer]"?t.input=new Uint8Array(n):t.input=n,t.next_in=0,t.avail_in=t.input.length;do{if(t.avail_out===0&&(t.output=new Au.Buf8(i),t.next_out=0,t.avail_out=i),r=Cu.deflate(t,s),r!==vv&&r!==sl)return this.onEnd(r),this.ended=!0,!1;(t.avail_out===0||t.avail_in===0&&(s===Wm||s===_v))&&(this.options.to==="string"?this.onData(gg.buf2binstring(Au.shrinkBuf(t.output,t.next_out))):this.onData(Au.shrinkBuf(t.output,t.next_out)))}while((t.avail_in>0||t.avail_out===0)&&r!==vv);return s===Wm?(r=Cu.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===sl):(s===_v&&(this.onEnd(sl),t.avail_out=0),!0)};ea.prototype.onData=function(n){this.chunks.push(n)};ea.prototype.onEnd=function(n){n===sl&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Au.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg};function lb(n,e){var t=new ea(e);if(t.push(n,!0),t.err)throw t.msg||bg[t.err];return t.result}function F2(n,e){return e=e||{},e.raw=!0,lb(n,e)}function P2(n,e){return e=e||{},e.gzip=!0,lb(n,e)}Vu.Deflate=ea;Vu.deflate=lb;Vu.deflateRaw=F2;Vu.gzip=P2;var Qu={},ar={},Jf=30,M2=12,I2=function(e,t){var i,r,s,o,a,c,f,d,p,y,h,S,m,v,C,U,x,J,D,K,X,E,j,ne,se;i=e.state,r=e.next_in,ne=e.input,s=r+(e.avail_in-5),o=e.next_out,se=e.output,a=o-(t-e.avail_out),c=o+(e.avail_out-257),f=i.dmax,d=i.wsize,p=i.whave,y=i.wnext,h=i.window,S=i.hold,m=i.bits,v=i.lencode,C=i.distcode,U=(1<<i.lenbits)-1,x=(1<<i.distbits)-1;e:do{m<15&&(S+=ne[r++]<<m,m+=8,S+=ne[r++]<<m,m+=8),J=v[S&U];t:for(;;){if(D=J>>>24,S>>>=D,m-=D,D=J>>>16&255,D===0)se[o++]=J&65535;else if(D&16){K=J&65535,D&=15,D&&(m<D&&(S+=ne[r++]<<m,m+=8),K+=S&(1<<D)-1,S>>>=D,m-=D),m<15&&(S+=ne[r++]<<m,m+=8,S+=ne[r++]<<m,m+=8),J=C[S&x];n:for(;;){if(D=J>>>24,S>>>=D,m-=D,D=J>>>16&255,D&16){if(X=J&65535,D&=15,m<D&&(S+=ne[r++]<<m,m+=8,m<D&&(S+=ne[r++]<<m,m+=8)),X+=S&(1<<D)-1,X>f){e.msg="invalid distance too far back",i.mode=Jf;break e}if(S>>>=D,m-=D,D=o-a,X>D){if(D=X-D,D>p&&i.sane){e.msg="invalid distance too far back",i.mode=Jf;break e}if(E=0,j=h,y===0){if(E+=d-D,D<K){K-=D;do se[o++]=h[E++];while(--D);E=o-X,j=se}}else if(y<D){if(E+=d+y-D,D-=y,D<K){K-=D;do se[o++]=h[E++];while(--D);if(E=0,y<K){D=y,K-=D;do se[o++]=h[E++];while(--D);E=o-X,j=se}}}else if(E+=y-D,D<K){K-=D;do se[o++]=h[E++];while(--D);E=o-X,j=se}for(;K>2;)se[o++]=j[E++],se[o++]=j[E++],se[o++]=j[E++],K-=3;K&&(se[o++]=j[E++],K>1&&(se[o++]=j[E++]))}else{E=o-X;do se[o++]=se[E++],se[o++]=se[E++],se[o++]=se[E++],K-=3;while(K>2);K&&(se[o++]=se[E++],K>1&&(se[o++]=se[E++]))}}else if(D&64){e.msg="invalid distance code",i.mode=Jf;break e}else{J=C[(J&65535)+(S&(1<<D)-1)];continue n}break}}else if(D&64)if(D&32){i.mode=M2;break e}else{e.msg="invalid literal/length code",i.mode=Jf;break e}else{J=v[(J&65535)+(S&(1<<D)-1)];continue t}break}}while(r<s&&o<c);K=m>>3,r-=K,m-=K<<3,S&=(1<<m)-1,e.next_in=r,e.next_out=o,e.avail_in=r<s?5+(s-r):5-(r-s),e.avail_out=o<c?257+(c-o):257-(o-c),i.hold=S,i.bits=m},wv=Ls,Ua=15,Lv=852,Nv=592,kv=0,Gm=1,Ov=2,R2=[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],j2=[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],B2=[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],D2=[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],U2=function(e,t,i,r,s,o,a,c){var f=c.bits,d=0,p=0,y=0,h=0,S=0,m=0,v=0,C=0,U=0,x=0,J,D,K,X,E,j=null,ne=0,se,re=new wv.Buf16(Ua+1),T=new wv.Buf16(Ua+1),b=null,w=0,L,M,z;for(d=0;d<=Ua;d++)re[d]=0;for(p=0;p<r;p++)re[t[i+p]]++;for(S=f,h=Ua;h>=1&&re[h]===0;h--);if(S>h&&(S=h),h===0)return s[o++]=1<<24|64<<16|0,s[o++]=1<<24|64<<16|0,c.bits=1,0;for(y=1;y<h&&re[y]===0;y++);for(S<y&&(S=y),C=1,d=1;d<=Ua;d++)if(C<<=1,C-=re[d],C<0)return-1;if(C>0&&(e===kv||h!==1))return-1;for(T[1]=0,d=1;d<Ua;d++)T[d+1]=T[d]+re[d];for(p=0;p<r;p++)t[i+p]!==0&&(a[T[t[i+p]]++]=p);if(e===kv?(j=b=a,se=19):e===Gm?(j=R2,ne-=257,b=j2,w-=257,se=256):(j=B2,b=D2,se=-1),x=0,p=0,d=y,E=o,m=S,v=0,K=-1,U=1<<S,X=U-1,e===Gm&&U>Lv||e===Ov&&U>Nv)return 1;for(;;){L=d-v,a[p]<se?(M=0,z=a[p]):a[p]>se?(M=b[w+a[p]],z=j[ne+a[p]]):(M=96,z=0),J=1<<d-v,D=1<<m,y=D;do D-=J,s[E+(x>>v)+D]=L<<24|M<<16|z|0;while(D!==0);for(J=1<<d-1;x&J;)J>>=1;if(J!==0?(x&=J-1,x+=J):x=0,p++,--re[d]===0){if(d===h)break;d=t[i+a[p]]}if(d>S&&(x&X)!==K){for(v===0&&(v=S),E+=y,m=d-v,C=1<<m;m+v<h&&(C-=re[m+v],!(C<=0));)m++,C<<=1;if(U+=1<<m,e===Gm&&U>Lv||e===Ov&&U>Nv)return 1;K=x&X,s[K]=S<<24|m<<16|E-o|0}}return x!==0&&(s[E+x]=d-v<<24|64<<16|0),c.bits=S,0},Si=Ls,Tg=d1,mr=h1,x2=I2,Fu=U2,J2=0,L1=1,N1=2,Ev=4,z2=5,zf=6,ta=0,W2=1,G2=2,Wi=-2,k1=-3,O1=-4,q2=-5,Cv=8,E1=1,Av=2,Fv=3,Pv=4,Mv=5,Iv=6,Rv=7,jv=8,Bv=9,Dv=10,zd=11,$r=12,qm=13,Uv=14,Hm=15,xv=16,Jv=17,zv=18,Wv=19,Wf=20,Gf=21,Gv=22,qv=23,Hv=24,Vv=25,Kv=26,Vm=27,Zv=28,Qv=29,Ut=30,C1=31,H2=32,V2=852,K2=592,Z2=15,Q2=Z2;function Xv(n){return(n>>>24&255)+(n>>>8&65280)+((n&65280)<<8)+((n&255)<<24)}function X2(){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 Si.Buf16(320),this.work=new Si.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function A1(n){var e;return!n||!n.state?Wi:(e=n.state,n.total_in=n.total_out=e.total=0,n.msg="",e.wrap&&(n.adler=e.wrap&1),e.mode=E1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Si.Buf32(V2),e.distcode=e.distdyn=new Si.Buf32(K2),e.sane=1,e.back=-1,ta)}function F1(n){var e;return!n||!n.state?Wi:(e=n.state,e.wsize=0,e.whave=0,e.wnext=0,A1(n))}function P1(n,e){var t,i;return!n||!n.state||(i=n.state,e<0?(t=0,e=-e):(t=(e>>4)+1,e<48&&(e&=15)),e&&(e<8||e>15))?Wi:(i.window!==null&&i.wbits!==e&&(i.window=null),i.wrap=t,i.wbits=e,F1(n))}function M1(n,e){var t,i;return n?(i=new X2,n.state=i,i.window=null,t=P1(n,e),t!==ta&&(n.state=null),t):Wi}function Y2(n){return M1(n,Q2)}var Yv=!0,Km,Zm;function $2(n){if(Yv){var e;for(Km=new Si.Buf32(512),Zm=new Si.Buf32(32),e=0;e<144;)n.lens[e++]=8;for(;e<256;)n.lens[e++]=9;for(;e<280;)n.lens[e++]=7;for(;e<288;)n.lens[e++]=8;for(Fu(L1,n.lens,0,288,Km,0,n.work,{bits:9}),e=0;e<32;)n.lens[e++]=5;Fu(N1,n.lens,0,32,Zm,0,n.work,{bits:5}),Yv=!1}n.lencode=Km,n.lenbits=9,n.distcode=Zm,n.distbits=5}function I1(n,e,t,i){var r,s=n.state;return s.window===null&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Si.Buf8(s.wsize)),i>=s.wsize?(Si.arraySet(s.window,e,t-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(r=s.wsize-s.wnext,r>i&&(r=i),Si.arraySet(s.window,e,t-i,r,s.wnext),i-=r,i?(Si.arraySet(s.window,e,t-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=r,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=r))),0}function eB(n,e){var t,i,r,s,o,a,c,f,d,p,y,h,S,m,v=0,C,U,x,J,D,K,X,E,j=new Si.Buf8(4),ne,se,re=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!n||!n.state||!n.output||!n.input&&n.avail_in!==0)return Wi;t=n.state,t.mode===$r&&(t.mode=qm),o=n.next_out,r=n.output,c=n.avail_out,s=n.next_in,i=n.input,a=n.avail_in,f=t.hold,d=t.bits,p=a,y=c,E=ta;e:for(;;)switch(t.mode){case E1:if(t.wrap===0){t.mode=qm;break}for(;d<16;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}if(t.wrap&2&&f===35615){t.check=0,j[0]=f&255,j[1]=f>>>8&255,t.check=mr(t.check,j,2,0),f=0,d=0,t.mode=Av;break}if(t.flags=0,t.head&&(t.head.done=!1),!(t.wrap&1)||(((f&255)<<8)+(f>>8))%31){n.msg="incorrect header check",t.mode=Ut;break}if((f&15)!==Cv){n.msg="unknown compression method",t.mode=Ut;break}if(f>>>=4,d-=4,X=(f&15)+8,t.wbits===0)t.wbits=X;else if(X>t.wbits){n.msg="invalid window size",t.mode=Ut;break}t.dmax=1<<X,n.adler=t.check=1,t.mode=f&512?Dv:$r,f=0,d=0;break;case Av:for(;d<16;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}if(t.flags=f,(t.flags&255)!==Cv){n.msg="unknown compression method",t.mode=Ut;break}if(t.flags&57344){n.msg="unknown header flags set",t.mode=Ut;break}t.head&&(t.head.text=f>>8&1),t.flags&512&&(j[0]=f&255,j[1]=f>>>8&255,t.check=mr(t.check,j,2,0)),f=0,d=0,t.mode=Fv;case Fv:for(;d<32;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}t.head&&(t.head.time=f),t.flags&512&&(j[0]=f&255,j[1]=f>>>8&255,j[2]=f>>>16&255,j[3]=f>>>24&255,t.check=mr(t.check,j,4,0)),f=0,d=0,t.mode=Pv;case Pv:for(;d<16;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}t.head&&(t.head.xflags=f&255,t.head.os=f>>8),t.flags&512&&(j[0]=f&255,j[1]=f>>>8&255,t.check=mr(t.check,j,2,0)),f=0,d=0,t.mode=Mv;case Mv:if(t.flags&1024){for(;d<16;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}t.length=f,t.head&&(t.head.extra_len=f),t.flags&512&&(j[0]=f&255,j[1]=f>>>8&255,t.check=mr(t.check,j,2,0)),f=0,d=0}else t.head&&(t.head.extra=null);t.mode=Iv;case Iv:if(t.flags&1024&&(h=t.length,h>a&&(h=a),h&&(t.head&&(X=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),Si.arraySet(t.head.extra,i,s,h,X)),t.flags&512&&(t.check=mr(t.check,i,h,s)),a-=h,s+=h,t.length-=h),t.length))break e;t.length=0,t.mode=Rv;case Rv:if(t.flags&2048){if(a===0)break e;h=0;do X=i[s+h++],t.head&&X&&t.length<65536&&(t.head.name+=String.fromCharCode(X));while(X&&h<a);if(t.flags&512&&(t.check=mr(t.check,i,h,s)),a-=h,s+=h,X)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=jv;case jv:if(t.flags&4096){if(a===0)break e;h=0;do X=i[s+h++],t.head&&X&&t.length<65536&&(t.head.comment+=String.fromCharCode(X));while(X&&h<a);if(t.flags&512&&(t.check=mr(t.check,i,h,s)),a-=h,s+=h,X)break e}else t.head&&(t.head.comment=null);t.mode=Bv;case Bv:if(t.flags&512){for(;d<16;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}if(f!==(t.check&65535)){n.msg="header crc mismatch",t.mode=Ut;break}f=0,d=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),n.adler=t.check=0,t.mode=$r;break;case Dv:for(;d<32;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}n.adler=t.check=Xv(f),f=0,d=0,t.mode=zd;case zd:if(t.havedict===0)return n.next_out=o,n.avail_out=c,n.next_in=s,n.avail_in=a,t.hold=f,t.bits=d,G2;n.adler=t.check=1,t.mode=$r;case $r:if(e===z2||e===zf)break e;case qm:if(t.last){f>>>=d&7,d-=d&7,t.mode=Vm;break}for(;d<3;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}switch(t.last=f&1,f>>>=1,d-=1,f&3){case 0:t.mode=Uv;break;case 1:if($2(t),t.mode=Wf,e===zf){f>>>=2,d-=2;break e}break;case 2:t.mode=Jv;break;case 3:n.msg="invalid block type",t.mode=Ut}f>>>=2,d-=2;break;case Uv:for(f>>>=d&7,d-=d&7;d<32;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}if((f&65535)!==(f>>>16^65535)){n.msg="invalid stored block lengths",t.mode=Ut;break}if(t.length=f&65535,f=0,d=0,t.mode=Hm,e===zf)break e;case Hm:t.mode=xv;case xv:if(h=t.length,h){if(h>a&&(h=a),h>c&&(h=c),h===0)break e;Si.arraySet(r,i,s,h,o),a-=h,s+=h,c-=h,o+=h,t.length-=h;break}t.mode=$r;break;case Jv:for(;d<14;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}if(t.nlen=(f&31)+257,f>>>=5,d-=5,t.ndist=(f&31)+1,f>>>=5,d-=5,t.ncode=(f&15)+4,f>>>=4,d-=4,t.nlen>286||t.ndist>30){n.msg="too many length or distance symbols",t.mode=Ut;break}t.have=0,t.mode=zv;case zv:for(;t.have<t.ncode;){for(;d<3;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}t.lens[re[t.have++]]=f&7,f>>>=3,d-=3}for(;t.have<19;)t.lens[re[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,ne={bits:t.lenbits},E=Fu(J2,t.lens,0,19,t.lencode,0,t.work,ne),t.lenbits=ne.bits,E){n.msg="invalid code lengths set",t.mode=Ut;break}t.have=0,t.mode=Wv;case Wv:for(;t.have<t.nlen+t.ndist;){for(;v=t.lencode[f&(1<<t.lenbits)-1],C=v>>>24,U=v>>>16&255,x=v&65535,!(C<=d);){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}if(x<16)f>>>=C,d-=C,t.lens[t.have++]=x;else{if(x===16){for(se=C+2;d<se;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}if(f>>>=C,d-=C,t.have===0){n.msg="invalid bit length repeat",t.mode=Ut;break}X=t.lens[t.have-1],h=3+(f&3),f>>>=2,d-=2}else if(x===17){for(se=C+3;d<se;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}f>>>=C,d-=C,X=0,h=3+(f&7),f>>>=3,d-=3}else{for(se=C+7;d<se;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}f>>>=C,d-=C,X=0,h=11+(f&127),f>>>=7,d-=7}if(t.have+h>t.nlen+t.ndist){n.msg="invalid bit length repeat",t.mode=Ut;break}for(;h--;)t.lens[t.have++]=X}}if(t.mode===Ut)break;if(t.lens[256]===0){n.msg="invalid code -- missing end-of-block",t.mode=Ut;break}if(t.lenbits=9,ne={bits:t.lenbits},E=Fu(L1,t.lens,0,t.nlen,t.lencode,0,t.work,ne),t.lenbits=ne.bits,E){n.msg="invalid literal/lengths set",t.mode=Ut;break}if(t.distbits=6,t.distcode=t.distdyn,ne={bits:t.distbits},E=Fu(N1,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,ne),t.distbits=ne.bits,E){n.msg="invalid distances set",t.mode=Ut;break}if(t.mode=Wf,e===zf)break e;case Wf:t.mode=Gf;case Gf:if(a>=6&&c>=258){n.next_out=o,n.avail_out=c,n.next_in=s,n.avail_in=a,t.hold=f,t.bits=d,x2(n,y),o=n.next_out,r=n.output,c=n.avail_out,s=n.next_in,i=n.input,a=n.avail_in,f=t.hold,d=t.bits,t.mode===$r&&(t.back=-1);break}for(t.back=0;v=t.lencode[f&(1<<t.lenbits)-1],C=v>>>24,U=v>>>16&255,x=v&65535,!(C<=d);){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}if(U&&!(U&240)){for(J=C,D=U,K=x;v=t.lencode[K+((f&(1<<J+D)-1)>>J)],C=v>>>24,U=v>>>16&255,x=v&65535,!(J+C<=d);){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}f>>>=J,d-=J,t.back+=J}if(f>>>=C,d-=C,t.back+=C,t.length=x,U===0){t.mode=Kv;break}if(U&32){t.back=-1,t.mode=$r;break}if(U&64){n.msg="invalid literal/length code",t.mode=Ut;break}t.extra=U&15,t.mode=Gv;case Gv:if(t.extra){for(se=t.extra;d<se;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}t.length+=f&(1<<t.extra)-1,f>>>=t.extra,d-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=qv;case qv:for(;v=t.distcode[f&(1<<t.distbits)-1],C=v>>>24,U=v>>>16&255,x=v&65535,!(C<=d);){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}if(!(U&240)){for(J=C,D=U,K=x;v=t.distcode[K+((f&(1<<J+D)-1)>>J)],C=v>>>24,U=v>>>16&255,x=v&65535,!(J+C<=d);){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}f>>>=J,d-=J,t.back+=J}if(f>>>=C,d-=C,t.back+=C,U&64){n.msg="invalid distance code",t.mode=Ut;break}t.offset=x,t.extra=U&15,t.mode=Hv;case Hv:if(t.extra){for(se=t.extra;d<se;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}t.offset+=f&(1<<t.extra)-1,f>>>=t.extra,d-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){n.msg="invalid distance too far back",t.mode=Ut;break}t.mode=Vv;case Vv:if(c===0)break e;if(h=y-c,t.offset>h){if(h=t.offset-h,h>t.whave&&t.sane){n.msg="invalid distance too far back",t.mode=Ut;break}h>t.wnext?(h-=t.wnext,S=t.wsize-h):S=t.wnext-h,h>t.length&&(h=t.length),m=t.window}else m=r,S=o-t.offset,h=t.length;h>c&&(h=c),c-=h,t.length-=h;do r[o++]=m[S++];while(--h);t.length===0&&(t.mode=Gf);break;case Kv:if(c===0)break e;r[o++]=t.length,c--,t.mode=Gf;break;case Vm:if(t.wrap){for(;d<32;){if(a===0)break e;a--,f|=i[s++]<<d,d+=8}if(y-=c,n.total_out+=y,t.total+=y,y&&(n.adler=t.check=t.flags?mr(t.check,r,y,o-y):Tg(t.check,r,y,o-y)),y=c,(t.flags?f:Xv(f))!==t.check){n.msg="incorrect data check",t.mode=Ut;break}f=0,d=0}t.mode=Zv;case Zv:if(t.wrap&&t.flags){for(;d<32;){if(a===0)break e;a--,f+=i[s++]<<d,d+=8}if(f!==(t.total&4294967295)){n.msg="incorrect length check",t.mode=Ut;break}f=0,d=0}t.mode=Qv;case Qv:E=W2;break e;case Ut:E=k1;break e;case C1:return O1;case H2:default:return Wi}return n.next_out=o,n.avail_out=c,n.next_in=s,n.avail_in=a,t.hold=f,t.bits=d,(t.wsize||y!==n.avail_out&&t.mode<Ut&&(t.mode<Vm||e!==Ev))&&I1(n,n.output,n.next_out,y-n.avail_out),p-=n.avail_in,y-=n.avail_out,n.total_in+=p,n.total_out+=y,t.total+=y,t.wrap&&y&&(n.adler=t.check=t.flags?mr(t.check,r,y,n.next_out-y):Tg(t.check,r,y,n.next_out-y)),n.data_type=t.bits+(t.last?64:0)+(t.mode===$r?128:0)+(t.mode===Wf||t.mode===Hm?256:0),(p===0&&y===0||e===Ev)&&E===ta&&(E=q2),E}function tB(n){if(!n||!n.state)return Wi;var e=n.state;return e.window&&(e.window=null),n.state=null,ta}function nB(n,e){var t;return!n||!n.state||(t=n.state,!(t.wrap&2))?Wi:(t.head=e,e.done=!1,ta)}function iB(n,e){var t=e.length,i,r,s;return!n||!n.state||(i=n.state,i.wrap!==0&&i.mode!==zd)?Wi:i.mode===zd&&(r=1,r=Tg(r,e,t,0),r!==i.check)?k1:(s=I1(n,e,t,t),s?(i.mode=C1,O1):(i.havedict=1,ta))}ar.inflateReset=F1;ar.inflateReset2=P1;ar.inflateResetKeep=A1;ar.inflateInit=Y2;ar.inflateInit2=M1;ar.inflate=eB;ar.inflateEnd=tB;ar.inflateGetHeader=nB;ar.inflateSetDictionary=iB;ar.inflateInfo="pako inflate (from Nodeca project)";var R1={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 rB(){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 sB=rB,ol=ar,Pu=Ls,Cd=da,nn=R1,Sg=ab,oB=_1,aB=sB,j1=Object.prototype.toString;function na(n){if(!(this instanceof na))return new na(n);this.options=Pu.assign({chunkSize:16384,windowBits:0,to:""},n||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,e.windowBits===0&&(e.windowBits=-15)),e.windowBits>=0&&e.windowBits<16&&!(n&&n.windowBits)&&(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&(e.windowBits&15||(e.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new oB,this.strm.avail_out=0;var t=ol.inflateInit2(this.strm,e.windowBits);if(t!==nn.Z_OK)throw new Error(Sg[t]);if(this.header=new aB,ol.inflateGetHeader(this.strm,this.header),e.dictionary&&(typeof e.dictionary=="string"?e.dictionary=Cd.string2buf(e.dictionary):j1.call(e.dictionary)==="[object ArrayBuffer]"&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(t=ol.inflateSetDictionary(this.strm,e.dictionary),t!==nn.Z_OK)))throw new Error(Sg[t])}na.prototype.push=function(n,e){var t=this.strm,i=this.options.chunkSize,r=this.options.dictionary,s,o,a,c,f,d=!1;if(this.ended)return!1;o=e===~~e?e:e===!0?nn.Z_FINISH:nn.Z_NO_FLUSH,typeof n=="string"?t.input=Cd.binstring2buf(n):j1.call(n)==="[object ArrayBuffer]"?t.input=new Uint8Array(n):t.input=n,t.next_in=0,t.avail_in=t.input.length;do{if(t.avail_out===0&&(t.output=new Pu.Buf8(i),t.next_out=0,t.avail_out=i),s=ol.inflate(t,nn.Z_NO_FLUSH),s===nn.Z_NEED_DICT&&r&&(s=ol.inflateSetDictionary(this.strm,r)),s===nn.Z_BUF_ERROR&&d===!0&&(s=nn.Z_OK,d=!1),s!==nn.Z_STREAM_END&&s!==nn.Z_OK)return this.onEnd(s),this.ended=!0,!1;t.next_out&&(t.avail_out===0||s===nn.Z_STREAM_END||t.avail_in===0&&(o===nn.Z_FINISH||o===nn.Z_SYNC_FLUSH))&&(this.options.to==="string"?(a=Cd.utf8border(t.output,t.next_out),c=t.next_out-a,f=Cd.buf2string(t.output,a),t.next_out=c,t.avail_out=i-c,c&&Pu.arraySet(t.output,t.output,a,c,0),this.onData(f)):this.onData(Pu.shrinkBuf(t.output,t.next_out))),t.avail_in===0&&t.avail_out===0&&(d=!0)}while((t.avail_in>0||t.avail_out===0)&&s!==nn.Z_STREAM_END);return s===nn.Z_STREAM_END&&(o=nn.Z_FINISH),o===nn.Z_FINISH?(s=ol.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===nn.Z_OK):(o===nn.Z_SYNC_FLUSH&&(this.onEnd(nn.Z_OK),t.avail_out=0),!0)};na.prototype.onData=function(n){this.chunks.push(n)};na.prototype.onEnd=function(n){n===nn.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Pu.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg};function ub(n,e){var t=new na(e);if(t.push(n,!0),t.err)throw t.msg||Sg[t.err];return t.result}function lB(n,e){return e=e||{},e.raw=!0,ub(n,e)}Qu.Inflate=na;Qu.inflate=ub;Qu.inflateRaw=lB;Qu.ungzip=ub;var uB=Ls.assign,cB=Vu,fB=Qu,dB=R1,B1={};uB(B1,cB,fB,dB);var hB=B1;const cb=Symbol.for("yaml.alias"),vg=Symbol.for("yaml.document"),no=Symbol.for("yaml.map"),D1=Symbol.for("yaml.pair"),gs=Symbol.for("yaml.scalar"),Ol=Symbol.for("yaml.seq"),Gi=Symbol.for("yaml.node.type"),fo=n=>!!n&&typeof n=="object"&&n[Gi]===cb,ha=n=>!!n&&typeof n=="object"&&n[Gi]===vg,pa=n=>!!n&&typeof n=="object"&&n[Gi]===no,Bt=n=>!!n&&typeof n=="object"&&n[Gi]===D1,Ft=n=>!!n&&typeof n=="object"&&n[Gi]===gs,ma=n=>!!n&&typeof n=="object"&&n[Gi]===Ol;function zt(n){if(n&&typeof n=="object")switch(n[Gi]){case no:case Ol:return!0}return!1}function qt(n){if(n&&typeof n=="object")switch(n[Gi]){case cb:case no:case gs:case Ol:return!0}return!1}const pB=n=>(Ft(n)||zt(n))&&!!n.anchor,Zn=Symbol("break visit"),U1=Symbol("skip children"),Ir=Symbol("remove node");function bs(n,e){const t=x1(e);ha(n)?Ya(null,n.contents,t,Object.freeze([n]))===Ir&&(n.contents=null):Ya(null,n,t,Object.freeze([]))}bs.BREAK=Zn;bs.SKIP=U1;bs.REMOVE=Ir;function Ya(n,e,t,i){const r=J1(n,e,t,i);if(qt(r)||Bt(r))return z1(n,i,r),Ya(n,r,t,i);if(typeof r!="symbol"){if(zt(e)){i=Object.freeze(i.concat(e));for(let s=0;s<e.items.length;++s){const o=Ya(s,e.items[s],t,i);if(typeof o=="number")s=o-1;else{if(o===Zn)return Zn;o===Ir&&(e.items.splice(s,1),s-=1)}}}else if(Bt(e)){i=Object.freeze(i.concat(e));const s=Ya("key",e.key,t,i);if(s===Zn)return Zn;s===Ir&&(e.key=null);const o=Ya("value",e.value,t,i);if(o===Zn)return Zn;o===Ir&&(e.value=null)}}return r}async function Xu(n,e){const t=x1(e);ha(n)?await $a(null,n.contents,t,Object.freeze([n]))===Ir&&(n.contents=null):await $a(null,n,t,Object.freeze([]))}Xu.BREAK=Zn;Xu.SKIP=U1;Xu.REMOVE=Ir;async function $a(n,e,t,i){const r=await J1(n,e,t,i);if(qt(r)||Bt(r))return z1(n,i,r),$a(n,r,t,i);if(typeof r!="symbol"){if(zt(e)){i=Object.freeze(i.concat(e));for(let s=0;s<e.items.length;++s){const o=await $a(s,e.items[s],t,i);if(typeof o=="number")s=o-1;else{if(o===Zn)return Zn;o===Ir&&(e.items.splice(s,1),s-=1)}}}else if(Bt(e)){i=Object.freeze(i.concat(e));const s=await $a("key",e.key,t,i);if(s===Zn)return Zn;s===Ir&&(e.key=null);const o=await $a("value",e.value,t,i);if(o===Zn)return Zn;o===Ir&&(e.value=null)}}return r}function x1(n){return typeof n=="object"&&(n.Collection||n.Node||n.Value)?Object.assign({Alias:n.Node,Map:n.Node,Scalar:n.Node,Seq:n.Node},n.Value&&{Map:n.Value,Scalar:n.Value,Seq:n.Value},n.Collection&&{Map:n.Collection,Seq:n.Collection},n):n}function J1(n,e,t,i){if(typeof t=="function")return t(n,e,i);if(pa(e))return t.Map?.(n,e,i);if(ma(e))return t.Seq?.(n,e,i);if(Bt(e))return t.Pair?.(n,e,i);if(Ft(e))return t.Scalar?.(n,e,i);if(fo(e))return t.Alias?.(n,e,i)}function z1(n,e,t){const i=e[e.length-1];if(zt(i))i.items[n]=t;else if(Bt(i))n==="key"?i.key=t:i.value=t;else if(ha(i))i.contents=t;else{const r=fo(i)?"alias":"scalar";throw new Error(`Cannot replace node with ${r} parent`)}}const mB={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},yB=n=>n.replace(/[!,[\]{}]/g,e=>mB[e]);class jn{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},jn.defaultYaml,e),this.tags=Object.assign({},jn.defaultTags,t)}clone(){const e=new jn(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){const e=new jn(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:jn.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},jn.defaultTags);break}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:jn.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},jn.defaultTags),this.atNextDocument=!1);const i=e.trim().split(/[ \t]+/),r=i.shift();switch(r){case"%TAG":{if(i.length!==2&&(t(0,"%TAG directive should contain exactly two parts"),i.length<2))return!1;const[s,o]=i;return this.tags[s]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,i.length!==1)return t(0,"%YAML directive should contain exactly one part"),!1;const[s]=i;if(s==="1.1"||s==="1.2")return this.yaml.version=s,!0;{const o=/^\d+\.\d+$/.test(s);return t(6,`Unsupported YAML version ${s}`,o),!1}}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if(e==="!")return"!";if(e[0]!=="!")return t(`Not a valid tag: ${e}`),null;if(e[1]==="<"){const o=e.slice(2,-1);return o==="!"||o==="!!"?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==">"&&t("Verbatim tags must end with a >"),o)}const[,i,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);const s=this.tags[i];if(s)try{return s+decodeURIComponent(r)}catch(o){return t(String(o)),null}return i==="!"?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,i]of Object.entries(this.tags))if(e.startsWith(i))return t+yB(e.substring(i.length));return e[0]==="!"?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],i=Object.entries(this.tags);let r;if(e&&i.length>0&&qt(e.contents)){const s={};bs(e.contents,(o,a)=>{qt(a)&&a.tag&&(s[a.tag]=!0)}),r=Object.keys(s)}else r=[];for(const[s,o]of i)s==="!!"&&o==="tag:yaml.org,2002:"||(!e||r.some(a=>a.startsWith(o)))&&t.push(`%TAG ${s} ${o}`);return t.join(`
|
|
2
|
+
`)}}jn.defaultYaml={explicit:!1,version:"1.2"};jn.defaultTags={"!!":"tag:yaml.org,2002:"};function W1(n){if(/[\x00-\x19\s,[\]{}]/.test(n)){const t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(n)}`;throw new Error(t)}return!0}function G1(n){const e=new Set;return bs(n,{Value(t,i){i.anchor&&e.add(i.anchor)}}),e}function q1(n,e){for(let t=1;;++t){const i=`${n}${t}`;if(!e.has(i))return i}}function gB(n,e){const t=[],i=new Map;let r=null;return{onAnchor:s=>{t.push(s),r||(r=G1(n));const o=q1(e,r);return r.add(o),o},setAnchors:()=>{for(const s of t){const o=i.get(s);if(typeof o=="object"&&o.anchor&&(Ft(o.node)||zt(o.node)))o.node.anchor=o.anchor;else{const a=new Error("Failed to resolve repeated object (this should not happen)");throw a.source=s,a}}},sourceObjects:i}}function el(n,e,t,i){if(i&&typeof i=="object")if(Array.isArray(i))for(let r=0,s=i.length;r<s;++r){const o=i[r],a=el(n,i,String(r),o);a===void 0?delete i[r]:a!==o&&(i[r]=a)}else if(i instanceof Map)for(const r of Array.from(i.keys())){const s=i.get(r),o=el(n,i,r,s);o===void 0?i.delete(r):o!==s&&i.set(r,o)}else if(i instanceof Set)for(const r of Array.from(i)){const s=el(n,i,r,r);s===void 0?i.delete(r):s!==r&&(i.delete(r),i.add(s))}else for(const[r,s]of Object.entries(i)){const o=el(n,i,r,s);o===void 0?delete i[r]:o!==s&&(i[r]=o)}return n.call(e,t,i)}function zi(n,e,t){if(Array.isArray(n))return n.map((i,r)=>zi(i,String(r),t));if(n&&typeof n.toJSON=="function"){if(!t||!pB(n))return n.toJSON(e,t);const i={aliasCount:0,count:1,res:void 0};t.anchors.set(n,i),t.onCreate=s=>{i.res=s,delete t.onCreate};const r=n.toJSON(e,t);return t.onCreate&&t.onCreate(r),r}return typeof n=="bigint"&&!t?.keep?Number(n):n}class fb{constructor(e){Object.defineProperty(this,Gi,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:i,onAnchor:r,reviver:s}={}){if(!ha(e))throw new TypeError("A document argument is required");const o={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},a=zi(this,"",o);if(typeof r=="function")for(const{count:c,res:f}of o.anchors.values())r(f,c);return typeof s=="function"?el(s,{"":a},"",a):a}}class Yu extends fb{constructor(e){super(cb),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return bs(e,{Node:(i,r)=>{if(r===this)return bs.BREAK;r.anchor===this.source&&(t=r)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:i,doc:r,maxAliasCount:s}=t,o=this.resolve(r);if(!o){const c=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(c)}let a=i.get(o);if(a||(zi(o,null,t),a=i.get(o)),!a||a.res===void 0){const c="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(c)}if(s>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=Ad(r,o,i)),a.count*a.aliasCount>s)){const c="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(c)}return a.res}toString(e,t,i){const r=`*${this.source}`;if(e){if(W1(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const s=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(s)}if(e.implicitKey)return`${r} `}return r}}function Ad(n,e,t){if(fo(e)){const i=e.resolve(n),r=t&&i&&t.get(i);return r?r.count*r.aliasCount:0}else if(zt(e)){let i=0;for(const r of e.items){const s=Ad(n,r,t);s>i&&(i=s)}return i}else if(Bt(e)){const i=Ad(n,e.key,t),r=Ad(n,e.value,t);return Math.max(i,r)}return 1}const H1=n=>!n||typeof n!="function"&&typeof n!="object";class ot extends fb{constructor(e){super(gs),this.value=e}toJSON(e,t){return t?.keep?this.value:zi(this.value,e,t)}toString(){return String(this.value)}}ot.BLOCK_FOLDED="BLOCK_FOLDED";ot.BLOCK_LITERAL="BLOCK_LITERAL";ot.PLAIN="PLAIN";ot.QUOTE_DOUBLE="QUOTE_DOUBLE";ot.QUOTE_SINGLE="QUOTE_SINGLE";const bB="tag:yaml.org,2002:";function TB(n,e,t){if(e){const i=t.filter(s=>s.tag===e),r=i.find(s=>!s.format)??i[0];if(!r)throw new Error(`Tag ${e} not found`);return r}return t.find(i=>i.identify?.(n)&&!i.format)}function zu(n,e,t){if(ha(n)&&(n=n.contents),qt(n))return n;if(Bt(n)){const p=t.schema[no].createNode?.(t.schema,null,t);return p.items.push(n),p}(n instanceof String||n instanceof Number||n instanceof Boolean||typeof BigInt<"u"&&n instanceof BigInt)&&(n=n.valueOf());const{aliasDuplicateObjects:i,onAnchor:r,onTagObj:s,schema:o,sourceObjects:a}=t;let c;if(i&&n&&typeof n=="object"){if(c=a.get(n),c)return c.anchor||(c.anchor=r(n)),new Yu(c.anchor);c={anchor:null,node:null},a.set(n,c)}e?.startsWith("!!")&&(e=bB+e.slice(2));let f=TB(n,e,o.tags);if(!f){if(n&&typeof n.toJSON=="function"&&(n=n.toJSON()),!n||typeof n!="object"){const p=new ot(n);return c&&(c.node=p),p}f=n instanceof Map?o[no]:Symbol.iterator in Object(n)?o[Ol]:o[no]}s&&(s(f),delete t.onTagObj);const d=f?.createNode?f.createNode(t.schema,n,t):typeof f?.nodeClass?.from=="function"?f.nodeClass.from(t.schema,n,t):new ot(n);return e?d.tag=e:f.default||(d.tag=f.tag),c&&(c.node=d),d}function Wd(n,e,t){let i=t;for(let r=e.length-1;r>=0;--r){const s=e[r];if(typeof s=="number"&&Number.isInteger(s)&&s>=0){const o=[];o[s]=i,i=o}else i=new Map([[s,i]])}return zu(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:n,sourceObjects:new Map})}const wu=n=>n==null||typeof n=="object"&&!!n[Symbol.iterator]().next().done;class db extends fb{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(i=>qt(i)||Bt(i)?i.clone(e):i),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(wu(e))this.add(t);else{const[i,...r]=e,s=this.get(i,!0);if(zt(s))s.addIn(r,t);else if(s===void 0&&this.schema)this.set(i,Wd(this.schema,r,t));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${r}`)}}deleteIn(e){const[t,...i]=e;if(i.length===0)return this.delete(t);const r=this.get(t,!0);if(zt(r))return r.deleteIn(i);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${i}`)}getIn(e,t){const[i,...r]=e,s=this.get(i,!0);return r.length===0?!t&&Ft(s)?s.value:s:zt(s)?s.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!Bt(t))return!1;const i=t.value;return i==null||e&&Ft(i)&&i.value==null&&!i.commentBefore&&!i.comment&&!i.tag})}hasIn(e){const[t,...i]=e;if(i.length===0)return this.has(t);const r=this.get(t,!0);return zt(r)?r.hasIn(i):!1}setIn(e,t){const[i,...r]=e;if(r.length===0)this.set(i,t);else{const s=this.get(i,!0);if(zt(s))s.setIn(r,t);else if(s===void 0&&this.schema)this.set(i,Wd(this.schema,r,t));else throw new Error(`Expected YAML collection at ${i}. Remaining path: ${r}`)}}}db.maxFlowStringSingleLineLength=60;const SB=n=>n.replace(/^(?!$)(?: $)?/gm,"#");function cs(n,e){return/^\n+$/.test(n)?n.substring(1):e?n.replace(/^(?! *$)/gm,e):n}const qo=(n,e,t)=>n.endsWith(`
|
|
3
|
+
`)?cs(t,e):t.includes(`
|
|
4
|
+
`)?`
|
|
5
|
+
`+cs(t,e):(n.endsWith(" ")?"":" ")+t,V1="flow",_g="block",Fd="quoted";function ah(n,e,t="flow",{indentAtStart:i,lineWidth:r=80,minContentWidth:s=20,onFold:o,onOverflow:a}={}){if(!r||r<0)return n;const c=Math.max(1+s,1+r-e.length);if(n.length<=c)return n;const f=[],d={};let p=r-e.length;typeof i=="number"&&(i>r-Math.max(2,s)?f.push(0):p=r-i);let y,h,S=!1,m=-1,v=-1,C=-1;t===_g&&(m=$v(n,m,e.length),m!==-1&&(p=m+c));for(let x;x=n[m+=1];){if(t===Fd&&x==="\\"){switch(v=m,n[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}C=m}if(x===`
|
|
6
|
+
`)t===_g&&(m=$v(n,m,e.length)),p=m+e.length+c,y=void 0;else{if(x===" "&&h&&h!==" "&&h!==`
|
|
7
|
+
`&&h!==" "){const J=n[m+1];J&&J!==" "&&J!==`
|
|
8
|
+
`&&J!==" "&&(y=m)}if(m>=p)if(y)f.push(y),p=y+c,y=void 0;else if(t===Fd){for(;h===" "||h===" ";)h=x,x=n[m+=1],S=!0;const J=m>C+1?m-2:v-1;if(d[J])return n;f.push(J),d[J]=!0,p=J+c,y=void 0}else S=!0}h=x}if(S&&a&&a(),f.length===0)return n;o&&o();let U=n.slice(0,f[0]);for(let x=0;x<f.length;++x){const J=f[x],D=f[x+1]||n.length;J===0?U=`
|
|
9
|
+
${e}${n.slice(0,D)}`:(t===Fd&&d[J]&&(U+=`${n[J]}\\`),U+=`
|
|
10
|
+
${e}${n.slice(J+1,D)}`)}return U}function $v(n,e,t){let i=e,r=e+1,s=n[r];for(;s===" "||s===" ";)if(e<r+t)s=n[++e];else{do s=n[++e];while(s&&s!==`
|
|
11
|
+
`);i=e,r=e+1,s=n[r]}return i}const lh=(n,e)=>({indentAtStart:e?n.indent.length:n.indentAtStart,lineWidth:n.options.lineWidth,minContentWidth:n.options.minContentWidth}),uh=n=>/^(%|---|\.\.\.)/m.test(n);function vB(n,e,t){if(!e||e<0)return!1;const i=e-t,r=n.length;if(r<=i)return!1;for(let s=0,o=0;s<r;++s)if(n[s]===`
|
|
12
|
+
`){if(s-o>i)return!0;if(o=s+1,r-o<=i)return!1}return!0}function Mu(n,e){const t=JSON.stringify(n);if(e.options.doubleQuotedAsJSON)return t;const{implicitKey:i}=e,r=e.options.doubleQuotedMinMultiLineLength,s=e.indent||(uh(n)?" ":"");let o="",a=0;for(let c=0,f=t[c];f;f=t[++c])if(f===" "&&t[c+1]==="\\"&&t[c+2]==="n"&&(o+=t.slice(a,c)+"\\ ",c+=1,a=c,f="\\"),f==="\\")switch(t[c+1]){case"u":{o+=t.slice(a,c);const d=t.substr(c+2,4);switch(d){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:d.substr(0,2)==="00"?o+="\\x"+d.substr(2):o+=t.substr(c,6)}c+=5,a=c+1}break;case"n":if(i||t[c+2]==='"'||t.length<r)c+=1;else{for(o+=t.slice(a,c)+`
|
|
13
|
+
|
|
14
|
+
`;t[c+2]==="\\"&&t[c+3]==="n"&&t[c+4]!=='"';)o+=`
|
|
15
|
+
`,c+=2;o+=s,t[c+2]===" "&&(o+="\\"),c+=1,a=c+1}break;default:c+=1}return o=a?o+t.slice(a):t,i?o:ah(o,s,Fd,lh(e,!1))}function wg(n,e){if(e.options.singleQuote===!1||e.implicitKey&&n.includes(`
|
|
16
|
+
`)||/[ \t]\n|\n[ \t]/.test(n))return Mu(n,e);const t=e.indent||(uh(n)?" ":""),i="'"+n.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
17
|
+
${t}`)+"'";return e.implicitKey?i:ah(i,t,V1,lh(e,!1))}function tl(n,e){const{singleQuote:t}=e.options;let i;if(t===!1)i=Mu;else{const r=n.includes('"'),s=n.includes("'");r&&!s?i=wg:s&&!r?i=Mu:i=t?wg:Mu}return i(n,e)}let Lg;try{Lg=new RegExp(`(^|(?<!
|
|
18
|
+
))
|
|
19
|
+
+(?!
|
|
20
|
+
|$)`,"g")}catch{Lg=/\n+(?!\n|$)/g}function Pd({comment:n,type:e,value:t},i,r,s){const{blockQuote:o,commentString:a,lineWidth:c}=i.options;if(!o||/\n[\t ]+$/.test(t)||/^\s*$/.test(t))return tl(t,i);const f=i.indent||(i.forceBlockIndent||uh(t)?" ":""),d=o==="literal"?!0:o==="folded"||e===ot.BLOCK_FOLDED?!1:e===ot.BLOCK_LITERAL?!0:!vB(t,c,f.length);if(!t)return d?`|
|
|
21
|
+
`:`>
|
|
22
|
+
`;let p,y;for(y=t.length;y>0;--y){const K=t[y-1];if(K!==`
|
|
23
|
+
`&&K!==" "&&K!==" ")break}let h=t.substring(y);const S=h.indexOf(`
|
|
24
|
+
`);S===-1?p="-":t===h||S!==h.length-1?(p="+",s&&s()):p="",h&&(t=t.slice(0,-h.length),h[h.length-1]===`
|
|
25
|
+
`&&(h=h.slice(0,-1)),h=h.replace(Lg,`$&${f}`));let m=!1,v,C=-1;for(v=0;v<t.length;++v){const K=t[v];if(K===" ")m=!0;else if(K===`
|
|
26
|
+
`)C=v;else break}let U=t.substring(0,C<v?C+1:v);U&&(t=t.substring(U.length),U=U.replace(/\n+/g,`$&${f}`));let J=(d?"|":">")+(m?f?"2":"1":"")+p;if(n&&(J+=" "+a(n.replace(/ ?[\r\n]+/g," ")),r&&r()),d)return t=t.replace(/\n+/g,`$&${f}`),`${J}
|
|
27
|
+
${f}${U}${t}${h}`;t=t.replace(/\n+/g,`
|
|
28
|
+
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${f}`);const D=ah(`${U}${t}${h}`,f,_g,lh(i,!0));return`${J}
|
|
29
|
+
${f}${D}`}function _B(n,e,t,i){const{type:r,value:s}=n,{actualString:o,implicitKey:a,indent:c,indentStep:f,inFlow:d}=e;if(a&&s.includes(`
|
|
30
|
+
`)||d&&/[[\]{},]/.test(s))return tl(s,e);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return a||d||!s.includes(`
|
|
31
|
+
`)?tl(s,e):Pd(n,e,t,i);if(!a&&!d&&r!==ot.PLAIN&&s.includes(`
|
|
32
|
+
`))return Pd(n,e,t,i);if(uh(s)){if(c==="")return e.forceBlockIndent=!0,Pd(n,e,t,i);if(a&&c===f)return tl(s,e)}const p=s.replace(/\n+/g,`$&
|
|
33
|
+
${c}`);if(o){const y=m=>m.default&&m.tag!=="tag:yaml.org,2002:str"&&m.test?.test(p),{compat:h,tags:S}=e.doc.schema;if(S.some(y)||h?.some(y))return tl(s,e)}return a?p:ah(p,c,V1,lh(e,!1))}function $u(n,e,t,i){const{implicitKey:r,inFlow:s}=e,o=typeof n.value=="string"?n:Object.assign({},n,{value:String(n.value)});let{type:a}=n;a!==ot.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=ot.QUOTE_DOUBLE);const c=d=>{switch(d){case ot.BLOCK_FOLDED:case ot.BLOCK_LITERAL:return r||s?tl(o.value,e):Pd(o,e,t,i);case ot.QUOTE_DOUBLE:return Mu(o.value,e);case ot.QUOTE_SINGLE:return wg(o.value,e);case ot.PLAIN:return _B(o,e,t,i);default:return null}};let f=c(a);if(f===null){const{defaultKeyType:d,defaultStringType:p}=e.options,y=r&&d||p;if(f=c(y),f===null)throw new Error(`Unsupported default string type ${y}`)}return f}function K1(n,e){const t=Object.assign({blockQuote:!0,commentString:SB,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},n.schema.toStringOptions,e);let i;switch(t.collectionStyle){case"block":i=!1;break;case"flow":i=!0;break;default:i=null}return{anchors:new Set,doc:n,flowCollectionPadding:t.flowCollectionPadding?" ":"",indent:"",indentStep:typeof t.indent=="number"?" ".repeat(t.indent):" ",inFlow:i,options:t}}function wB(n,e){if(e.tag){const r=n.filter(s=>s.tag===e.tag);if(r.length>0)return r.find(s=>s.format===e.format)??r[0]}let t,i;if(Ft(e)){i=e.value;const r=n.filter(s=>s.identify?.(i));t=r.find(s=>s.format===e.format)??r.find(s=>!s.format)}else i=e,t=n.find(r=>r.nodeClass&&i instanceof r.nodeClass);if(!t){const r=i?.constructor?.name??typeof i;throw new Error(`Tag not resolved for ${r} value`)}return t}function LB(n,e,{anchors:t,doc:i}){if(!i.directives)return"";const r=[],s=(Ft(n)||zt(n))&&n.anchor;s&&W1(s)&&(t.add(s),r.push(`&${s}`));const o=n.tag?n.tag:e.default?null:e.tag;return o&&r.push(i.directives.tagString(o)),r.join(" ")}function dl(n,e,t,i){if(Bt(n))return n.toString(e,t,i);if(fo(n)){if(e.doc.directives)return n.toString(e);if(e.resolvedAliases?.has(n))throw new TypeError("Cannot stringify circular structure without alias nodes");e.resolvedAliases?e.resolvedAliases.add(n):e.resolvedAliases=new Set([n]),n=n.resolve(e.doc)}let r;const s=qt(n)?n:e.doc.createNode(n,{onTagObj:c=>r=c});r||(r=wB(e.doc.schema.tags,s));const o=LB(s,r,e);o.length>0&&(e.indentAtStart=(e.indentAtStart??0)+o.length+1);const a=typeof r.stringify=="function"?r.stringify(s,e,t,i):Ft(s)?$u(s,e,t,i):s.toString(e,t,i);return o?Ft(s)||a[0]==="{"||a[0]==="["?`${o} ${a}`:`${o}
|
|
34
|
+
${e.indent}${a}`:a}function NB({key:n,value:e},t,i,r){const{allNullValues:s,doc:o,indent:a,indentStep:c,options:{commentString:f,indentSeq:d,simpleKeys:p}}=t;let y=qt(n)&&n.comment||null;if(p){if(y)throw new Error("With simple keys, key nodes cannot have comments");if(zt(n)||!qt(n)&&typeof n=="object"){const X="With simple keys, collection cannot be used as a key value";throw new Error(X)}}let h=!p&&(!n||y&&e==null&&!t.inFlow||zt(n)||(Ft(n)?n.type===ot.BLOCK_FOLDED||n.type===ot.BLOCK_LITERAL:typeof n=="object"));t=Object.assign({},t,{allNullValues:!1,implicitKey:!h&&(p||!s),indent:a+c});let S=!1,m=!1,v=dl(n,t,()=>S=!0,()=>m=!0);if(!h&&!t.inFlow&&v.length>1024){if(p)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");h=!0}if(t.inFlow){if(s||e==null)return S&&i&&i(),v===""?"?":h?`? ${v}`:v}else if(s&&!p||e==null&&h)return v=`? ${v}`,y&&!S?v+=qo(v,t.indent,f(y)):m&&r&&r(),v;S&&(y=null),h?(y&&(v+=qo(v,t.indent,f(y))),v=`? ${v}
|
|
35
|
+
${a}:`):(v=`${v}:`,y&&(v+=qo(v,t.indent,f(y))));let C,U,x;qt(e)?(C=!!e.spaceBefore,U=e.commentBefore,x=e.comment):(C=!1,U=null,x=null,e&&typeof e=="object"&&(e=o.createNode(e))),t.implicitKey=!1,!h&&!y&&Ft(e)&&(t.indentAtStart=v.length+1),m=!1,!d&&c.length>=2&&!t.inFlow&&!h&&ma(e)&&!e.flow&&!e.tag&&!e.anchor&&(t.indent=t.indent.substring(2));let J=!1;const D=dl(e,t,()=>J=!0,()=>m=!0);let K=" ";if(y||C||U){if(K=C?`
|
|
36
|
+
`:"",U){const X=f(U);K+=`
|
|
37
|
+
${cs(X,t.indent)}`}D===""&&!t.inFlow?K===`
|
|
38
|
+
`&&(K=`
|
|
39
|
+
|
|
40
|
+
`):K+=`
|
|
41
|
+
${t.indent}`}else if(!h&&zt(e)){const X=D[0],E=D.indexOf(`
|
|
42
|
+
`),j=E!==-1,ne=t.inFlow??e.flow??e.items.length===0;if(j||!ne){let se=!1;if(j&&(X==="&"||X==="!")){let re=D.indexOf(" ");X==="&"&&re!==-1&&re<E&&D[re+1]==="!"&&(re=D.indexOf(" ",re+1)),(re===-1||E<re)&&(se=!0)}se||(K=`
|
|
43
|
+
${t.indent}`)}}else(D===""||D[0]===`
|
|
44
|
+
`)&&(K="");return v+=K+D,t.inFlow?J&&i&&i():x&&!J?v+=qo(v,t.indent,f(x)):m&&r&&r(),v}function Z1(n,e){(n==="debug"||n==="warn")&&(typeof process<"u"&&process.emitWarning?process.emitWarning(e):console.warn(e))}const e_="<<";function Q1(n,e,{key:t,value:i}){if(n?.doc.schema.merge&&kB(t))if(i=fo(i)?i.resolve(n.doc):i,ma(i))for(const r of i.items)Qm(n,e,r);else if(Array.isArray(i))for(const r of i)Qm(n,e,r);else Qm(n,e,i);else{const r=zi(t,"",n);if(e instanceof Map)e.set(r,zi(i,r,n));else if(e instanceof Set)e.add(r);else{const s=OB(t,r,n),o=zi(i,s,n);s in e?Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0}):e[s]=o}}return e}const kB=n=>n===e_||Ft(n)&&n.value===e_&&(!n.type||n.type===ot.PLAIN);function Qm(n,e,t){const i=n&&fo(t)?t.resolve(n.doc):t;if(!pa(i))throw new Error("Merge sources must be maps or map aliases");const r=i.toJSON(null,n,Map);for(const[s,o]of r)e instanceof Map?e.has(s)||e.set(s,o):e instanceof Set?e.add(s):Object.prototype.hasOwnProperty.call(e,s)||Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0});return e}function OB(n,e,t){if(e===null)return"";if(typeof e!="object")return String(e);if(qt(n)&&t?.doc){const i=K1(t.doc,{});i.anchors=new Set;for(const s of t.anchors.keys())i.anchors.add(s.anchor);i.inFlow=!0,i.inStringifyKey=!0;const r=n.toString(i);if(!t.mapKeyWarned){let s=JSON.stringify(r);s.length>40&&(s=s.substring(0,36)+'..."'),Z1(t.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${s}. Set mapAsMap: true to use object keys.`),t.mapKeyWarned=!0}return r}return JSON.stringify(e)}function hb(n,e,t){const i=zu(n,void 0,t),r=zu(e,void 0,t);return new Sn(i,r)}class Sn{constructor(e,t=null){Object.defineProperty(this,Gi,{value:D1}),this.key=e,this.value=t}clone(e){let{key:t,value:i}=this;return qt(t)&&(t=t.clone(e)),qt(i)&&(i=i.clone(e)),new Sn(t,i)}toJSON(e,t){const i=t?.mapAsMap?new Map:{};return Q1(t,i,this)}toString(e,t,i){return e?.doc?NB(this,e,t,i):JSON.stringify(this)}}function X1(n,e,t){return(e.inFlow??n.flow?CB:EB)(n,e,t)}function EB({comment:n,items:e},t,{blockItemPrefix:i,flowChars:r,itemIndent:s,onChompKeep:o,onComment:a}){const{indent:c,options:{commentString:f}}=t,d=Object.assign({},t,{indent:s,type:null});let p=!1;const y=[];for(let S=0;S<e.length;++S){const m=e[S];let v=null;if(qt(m))!p&&m.spaceBefore&&y.push(""),Gd(t,y,m.commentBefore,p),m.comment&&(v=m.comment);else if(Bt(m)){const U=qt(m.key)?m.key:null;U&&(!p&&U.spaceBefore&&y.push(""),Gd(t,y,U.commentBefore,p))}p=!1;let C=dl(m,d,()=>v=null,()=>p=!0);v&&(C+=qo(C,s,f(v))),p&&v&&(p=!1),y.push(i+C)}let h;if(y.length===0)h=r.start+r.end;else{h=y[0];for(let S=1;S<y.length;++S){const m=y[S];h+=m?`
|
|
45
|
+
${c}${m}`:`
|
|
46
|
+
`}}return n?(h+=`
|
|
47
|
+
`+cs(f(n),c),a&&a()):p&&o&&o(),h}function CB({items:n},e,{flowChars:t,itemIndent:i}){const{indent:r,indentStep:s,flowCollectionPadding:o,options:{commentString:a}}=e;i+=s;const c=Object.assign({},e,{indent:i,inFlow:!0,type:null});let f=!1,d=0;const p=[];for(let S=0;S<n.length;++S){const m=n[S];let v=null;if(qt(m))m.spaceBefore&&p.push(""),Gd(e,p,m.commentBefore,!1),m.comment&&(v=m.comment);else if(Bt(m)){const U=qt(m.key)?m.key:null;U&&(U.spaceBefore&&p.push(""),Gd(e,p,U.commentBefore,!1),U.comment&&(f=!0));const x=qt(m.value)?m.value:null;x?(x.comment&&(v=x.comment),x.commentBefore&&(f=!0)):m.value==null&&U?.comment&&(v=U.comment)}v&&(f=!0);let C=dl(m,c,()=>v=null);S<n.length-1&&(C+=","),v&&(C+=qo(C,i,a(v))),!f&&(p.length>d||C.includes(`
|
|
48
|
+
`))&&(f=!0),p.push(C),d=p.length}const{start:y,end:h}=t;if(p.length===0)return y+h;if(!f){const S=p.reduce((m,v)=>m+v.length+2,2);f=e.options.lineWidth>0&&S>e.options.lineWidth}if(f){let S=y;for(const m of p)S+=m?`
|
|
49
|
+
${s}${r}${m}`:`
|
|
50
|
+
`;return`${S}
|
|
51
|
+
${r}${h}`}else return`${y}${o}${p.join(" ")}${o}${h}`}function Gd({indent:n,options:{commentString:e}},t,i,r){if(i&&r&&(i=i.replace(/^\n+/,"")),i){const s=cs(e(i),n);t.push(s.trimStart())}}function Ho(n,e){const t=Ft(e)?e.value:e;for(const i of n)if(Bt(i)&&(i.key===e||i.key===t||Ft(i.key)&&i.key.value===t))return i}class Yn extends db{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(no,e),this.items=[]}static from(e,t,i){const{keepUndefined:r,replacer:s}=i,o=new this(e),a=(c,f)=>{if(typeof s=="function")f=s.call(t,c,f);else if(Array.isArray(s)&&!s.includes(c))return;(f!==void 0||r)&&o.items.push(hb(c,f,i))};if(t instanceof Map)for(const[c,f]of t)a(c,f);else if(t&&typeof t=="object")for(const c of Object.keys(t))a(c,t[c]);return typeof e.sortMapEntries=="function"&&o.items.sort(e.sortMapEntries),o}add(e,t){let i;Bt(e)?i=e:!e||typeof e!="object"||!("key"in e)?i=new Sn(e,e?.value):i=new Sn(e.key,e.value);const r=Ho(this.items,i.key),s=this.schema?.sortMapEntries;if(r){if(!t)throw new Error(`Key ${i.key} already set`);Ft(r.value)&&H1(i.value)?r.value.value=i.value:r.value=i.value}else if(s){const o=this.items.findIndex(a=>s(i,a)<0);o===-1?this.items.push(i):this.items.splice(o,0,i)}else this.items.push(i)}delete(e){const t=Ho(this.items,e);return t?this.items.splice(this.items.indexOf(t),1).length>0:!1}get(e,t){const r=Ho(this.items,e)?.value;return(!t&&Ft(r)?r.value:r)??void 0}has(e){return!!Ho(this.items,e)}set(e,t){this.add(new Sn(e,t),!0)}toJSON(e,t,i){const r=i?new i:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(const s of this.items)Q1(t,r,s);return r}toString(e,t,i){if(!e)return JSON.stringify(this);for(const r of this.items)if(!Bt(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),X1(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:i,onComment:t})}}const El={collection:"map",default:!0,nodeClass:Yn,tag:"tag:yaml.org,2002:map",resolve(n,e){return pa(n)||e("Expected a mapping for this tag"),n},createNode:(n,e,t)=>Yn.from(n,e,t)};class Ts extends db{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(Ol,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=qf(e);return typeof t!="number"?!1:this.items.splice(t,1).length>0}get(e,t){const i=qf(e);if(typeof i!="number")return;const r=this.items[i];return!t&&Ft(r)?r.value:r}has(e){const t=qf(e);return typeof t=="number"&&t<this.items.length}set(e,t){const i=qf(e);if(typeof i!="number")throw new Error(`Expected a valid index, not ${e}.`);const r=this.items[i];Ft(r)&&H1(t)?r.value=t:this.items[i]=t}toJSON(e,t){const i=[];t?.onCreate&&t.onCreate(i);let r=0;for(const s of this.items)i.push(zi(s,String(r++),t));return i}toString(e,t,i){return e?X1(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:i,onComment:t}):JSON.stringify(this)}static from(e,t,i){const{replacer:r}=i,s=new this(e);if(t&&Symbol.iterator in Object(t)){let o=0;for(let a of t){if(typeof r=="function"){const c=t instanceof Set?a:String(o++);a=r.call(t,c,a)}s.items.push(zu(a,void 0,i))}}return s}}function qf(n){let e=Ft(n)?n.value:n;return e&&typeof e=="string"&&(e=Number(e)),typeof e=="number"&&Number.isInteger(e)&&e>=0?e:null}const Cl={collection:"seq",default:!0,nodeClass:Ts,tag:"tag:yaml.org,2002:seq",resolve(n,e){return ma(n)||e("Expected a sequence for this tag"),n},createNode:(n,e,t)=>Ts.from(n,e,t)},ch={identify:n=>typeof n=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:n=>n,stringify(n,e,t,i){return e=Object.assign({actualString:!0},e),$u(n,e,t,i)}},fh={identify:n=>n==null,createNode:()=>new ot(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new ot(null),stringify:({source:n},e)=>typeof n=="string"&&fh.test.test(n)?n:e.options.nullStr},pb={identify:n=>typeof n=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:n=>new ot(n[0]==="t"||n[0]==="T"),stringify({source:n,value:e},t){if(n&&pb.test.test(n)){const i=n[0]==="t"||n[0]==="T";if(e===i)return n}return e?t.options.trueStr:t.options.falseStr}};function lr({format:n,minFractionDigits:e,tag:t,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 s=JSON.stringify(i);if(!n&&e&&(!t||t==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let o=s.indexOf(".");o<0&&(o=s.length,s+=".");let a=e-(s.length-o-1);for(;a-- >0;)s+="0"}return s}const Y1={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:n=>n.slice(-3).toLowerCase()==="nan"?NaN:n[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:lr},$1={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:n=>parseFloat(n),stringify(n){const e=Number(n.value);return isFinite(e)?e.toExponential():lr(n)}},eN={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(n){const e=new ot(parseFloat(n)),t=n.indexOf(".");return t!==-1&&n[n.length-1]==="0"&&(e.minFractionDigits=n.length-t-1),e},stringify:lr},dh=n=>typeof n=="bigint"||Number.isInteger(n),mb=(n,e,t,{intAsBigInt:i})=>i?BigInt(n):parseInt(n.substring(e),t);function tN(n,e,t){const{value:i}=n;return dh(i)&&i>=0?t+i.toString(e):lr(n)}const nN={identify:n=>dh(n)&&n>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(n,e,t)=>mb(n,2,8,t),stringify:n=>tN(n,8,"0o")},iN={identify:dh,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(n,e,t)=>mb(n,0,10,t),stringify:lr},rN={identify:n=>dh(n)&&n>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(n,e,t)=>mb(n,2,16,t),stringify:n=>tN(n,16,"0x")},AB=[El,Cl,ch,fh,pb,nN,iN,rN,Y1,$1,eN];function t_(n){return typeof n=="bigint"||Number.isInteger(n)}const Hf=({value:n})=>JSON.stringify(n),FB=[{identify:n=>typeof n=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:n=>n,stringify:Hf},{identify:n=>n==null,createNode:()=>new ot(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Hf},{identify:n=>typeof n=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:n=>n==="true",stringify:Hf},{identify:t_,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(n,e,{intAsBigInt:t})=>t?BigInt(n):parseInt(n,10),stringify:({value:n})=>t_(n)?n.toString():JSON.stringify(n)},{identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:n=>parseFloat(n),stringify:Hf}],PB={default:!0,tag:"",test:/^/,resolve(n,e){return e(`Unresolved plain scalar ${JSON.stringify(n)}`),n}},MB=[El,Cl].concat(FB,PB),yb={identify:n=>n instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(n,e){if(typeof Buffer=="function")return Buffer.from(n,"base64");if(typeof atob=="function"){const t=atob(n.replace(/[\n\r]/g,"")),i=new Uint8Array(t.length);for(let r=0;r<t.length;++r)i[r]=t.charCodeAt(r);return i}else return e("This environment does not support reading binary tags; either Buffer or atob is required"),n},stringify({comment:n,type:e,value:t},i,r,s){const o=t;let a;if(typeof Buffer=="function")a=o instanceof Buffer?o.toString("base64"):Buffer.from(o.buffer).toString("base64");else if(typeof btoa=="function"){let c="";for(let f=0;f<o.length;++f)c+=String.fromCharCode(o[f]);a=btoa(c)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(e||(e=ot.BLOCK_LITERAL),e!==ot.QUOTE_DOUBLE){const c=Math.max(i.options.lineWidth-i.indent.length,i.options.minContentWidth),f=Math.ceil(a.length/c),d=new Array(f);for(let p=0,y=0;p<f;++p,y+=c)d[p]=a.substr(y,c);a=d.join(e===ot.BLOCK_LITERAL?`
|
|
52
|
+
`:" ")}return $u({comment:n,type:e,value:a},i,r,s)}};function sN(n,e){if(ma(n))for(let t=0;t<n.items.length;++t){let i=n.items[t];if(!Bt(i)){if(pa(i)){i.items.length>1&&e("Each pair must have its own sequence indicator");const r=i.items[0]||new Sn(new ot(null));if(i.commentBefore&&(r.key.commentBefore=r.key.commentBefore?`${i.commentBefore}
|
|
53
|
+
${r.key.commentBefore}`:i.commentBefore),i.comment){const s=r.value??r.key;s.comment=s.comment?`${i.comment}
|
|
54
|
+
${s.comment}`:i.comment}i=r}n.items[t]=Bt(i)?i:new Sn(i)}}else e("Expected a sequence for this tag");return n}function oN(n,e,t){const{replacer:i}=t,r=new Ts(n);r.tag="tag:yaml.org,2002:pairs";let s=0;if(e&&Symbol.iterator in Object(e))for(let o of e){typeof i=="function"&&(o=i.call(e,String(s++),o));let a,c;if(Array.isArray(o))if(o.length===2)a=o[0],c=o[1];else throw new TypeError(`Expected [key, value] tuple: ${o}`);else if(o&&o instanceof Object){const f=Object.keys(o);if(f.length===1)a=f[0],c=o[a];else throw new TypeError(`Expected tuple with one key, not ${f.length} keys`)}else a=o;r.items.push(hb(a,c,t))}return r}const gb={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:sN,createNode:oN};class al extends Ts{constructor(){super(),this.add=Yn.prototype.add.bind(this),this.delete=Yn.prototype.delete.bind(this),this.get=Yn.prototype.get.bind(this),this.has=Yn.prototype.has.bind(this),this.set=Yn.prototype.set.bind(this),this.tag=al.tag}toJSON(e,t){if(!t)return super.toJSON(e);const i=new Map;t?.onCreate&&t.onCreate(i);for(const r of this.items){let s,o;if(Bt(r)?(s=zi(r.key,"",t),o=zi(r.value,s,t)):s=zi(r,"",t),i.has(s))throw new Error("Ordered maps must not include duplicate keys");i.set(s,o)}return i}static from(e,t,i){const r=oN(e,t,i),s=new this;return s.items=r.items,s}}al.tag="tag:yaml.org,2002:omap";const bb={collection:"seq",identify:n=>n instanceof Map,nodeClass:al,default:!1,tag:"tag:yaml.org,2002:omap",resolve(n,e){const t=sN(n,e),i=[];for(const{key:r}of t.items)Ft(r)&&(i.includes(r.value)?e(`Ordered maps must not include duplicate keys: ${r.value}`):i.push(r.value));return Object.assign(new al,t)},createNode:(n,e,t)=>al.from(n,e,t)};function aN({value:n,source:e},t){return e&&(n?lN:uN).test.test(e)?e:n?t.options.trueStr:t.options.falseStr}const lN={identify:n=>n===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new ot(!0),stringify:aN},uN={identify:n=>n===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new ot(!1),stringify:aN},IB={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:n=>n.slice(-3).toLowerCase()==="nan"?NaN:n[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:lr},RB={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:n=>parseFloat(n.replace(/_/g,"")),stringify(n){const e=Number(n.value);return isFinite(e)?e.toExponential():lr(n)}},jB={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(n){const e=new ot(parseFloat(n.replace(/_/g,""))),t=n.indexOf(".");if(t!==-1){const i=n.substring(t+1).replace(/_/g,"");i[i.length-1]==="0"&&(e.minFractionDigits=i.length)}return e},stringify:lr},ec=n=>typeof n=="bigint"||Number.isInteger(n);function hh(n,e,t,{intAsBigInt:i}){const r=n[0];if((r==="-"||r==="+")&&(e+=1),n=n.substring(e).replace(/_/g,""),i){switch(t){case 2:n=`0b${n}`;break;case 8:n=`0o${n}`;break;case 16:n=`0x${n}`;break}const o=BigInt(n);return r==="-"?BigInt(-1)*o:o}const s=parseInt(n,t);return r==="-"?-1*s:s}function Tb(n,e,t){const{value:i}=n;if(ec(i)){const r=i.toString(e);return i<0?"-"+t+r.substr(1):t+r}return lr(n)}const BB={identify:ec,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(n,e,t)=>hh(n,2,2,t),stringify:n=>Tb(n,2,"0b")},DB={identify:ec,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(n,e,t)=>hh(n,1,8,t),stringify:n=>Tb(n,8,"0")},UB={identify:ec,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(n,e,t)=>hh(n,0,10,t),stringify:lr},xB={identify:ec,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(n,e,t)=>hh(n,2,16,t),stringify:n=>Tb(n,16,"0x")};class ll extends Yn{constructor(e){super(e),this.tag=ll.tag}add(e){let t;Bt(e)?t=e:e&&typeof e=="object"&&"key"in e&&"value"in e&&e.value===null?t=new Sn(e.key,null):t=new Sn(e,null),Ho(this.items,t.key)||this.items.push(t)}get(e,t){const i=Ho(this.items,e);return!t&&Bt(i)?Ft(i.key)?i.key.value:i.key:i}set(e,t){if(typeof t!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);const i=Ho(this.items,e);i&&!t?this.items.splice(this.items.indexOf(i),1):!i&&t&&this.items.push(new Sn(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,i){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,i);throw new Error("Set items must all have null values")}static from(e,t,i){const{replacer:r}=i,s=new this(e);if(t&&Symbol.iterator in Object(t))for(let o of t)typeof r=="function"&&(o=r.call(t,o,o)),s.items.push(hb(o,null,i));return s}}ll.tag="tag:yaml.org,2002:set";const Sb={collection:"map",identify:n=>n instanceof Set,nodeClass:ll,default:!1,tag:"tag:yaml.org,2002:set",createNode:(n,e,t)=>ll.from(n,e,t),resolve(n,e){if(pa(n)){if(n.hasAllNullValues(!0))return Object.assign(new ll,n);e("Set items must all have null values")}else e("Expected a mapping for this tag");return n}};function vb(n,e){const t=n[0],i=t==="-"||t==="+"?n.substring(1):n,r=o=>e?BigInt(o):Number(o),s=i.replace(/_/g,"").split(":").reduce((o,a)=>o*r(60)+r(a),r(0));return t==="-"?r(-1)*s:s}function cN(n){let{value:e}=n,t=o=>o;if(typeof e=="bigint")t=o=>BigInt(o);else if(isNaN(e)||!isFinite(e))return lr(n);let i="";e<0&&(i="-",e*=t(-1));const r=t(60),s=[e%r];return e<60?s.unshift(0):(e=(e-s[0])/r,s.unshift(e%r),e>=60&&(e=(e-s[0])/r,s.unshift(e))),i+s.map(o=>String(o).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}const fN={identify:n=>typeof n=="bigint"||Number.isInteger(n),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(n,e,{intAsBigInt:t})=>vb(n,t),stringify:cN},dN={identify:n=>typeof n=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:n=>vb(n,!1),stringify:cN},ph={identify:n=>n 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(n){const e=n.match(ph.test);if(!e)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,t,i,r,s,o,a]=e.map(Number),c=e[7]?Number((e[7]+"00").substr(1,3)):0;let f=Date.UTC(t,i-1,r,s||0,o||0,a||0,c);const d=e[8];if(d&&d!=="Z"){let p=vb(d,!1);Math.abs(p)<30&&(p*=60),f-=6e4*p}return new Date(f)},stringify:({value:n})=>n.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},n_=[El,Cl,ch,fh,lN,uN,BB,DB,UB,xB,IB,RB,jB,yb,bb,gb,Sb,fN,dN,ph],i_=new Map([["core",AB],["failsafe",[El,Cl,ch]],["json",MB],["yaml11",n_],["yaml-1.1",n_]]),r_={binary:yb,bool:pb,float:eN,floatExp:$1,floatNaN:Y1,floatTime:dN,int:iN,intHex:rN,intOct:nN,intTime:fN,map:El,null:fh,omap:bb,pairs:gb,seq:Cl,set:Sb,timestamp:ph},JB={"tag:yaml.org,2002:binary":yb,"tag:yaml.org,2002:omap":bb,"tag:yaml.org,2002:pairs":gb,"tag:yaml.org,2002:set":Sb,"tag:yaml.org,2002:timestamp":ph};function Xm(n,e){let t=i_.get(e);if(!t)if(Array.isArray(n))t=[];else{const i=Array.from(i_.keys()).filter(r=>r!=="yaml11").map(r=>JSON.stringify(r)).join(", ");throw new Error(`Unknown schema "${e}"; use one of ${i} or define customTags array`)}if(Array.isArray(n))for(const i of n)t=t.concat(i);else typeof n=="function"&&(t=n(t.slice()));return t.map(i=>{if(typeof i!="string")return i;const r=r_[i];if(r)return r;const s=Object.keys(r_).map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown custom tag "${i}"; use one of ${s}`)})}const zB=(n,e)=>n.key<e.key?-1:n.key>e.key?1:0;class tc{constructor({compat:e,customTags:t,merge:i,resolveKnownTags:r,schema:s,sortMapEntries:o,toStringDefaults:a}){this.compat=Array.isArray(e)?Xm(e,"compat"):e?Xm(null,e):null,this.merge=!!i,this.name=typeof s=="string"&&s||"core",this.knownTags=r?JB:{},this.tags=Xm(t,this.name),this.toStringOptions=a??null,Object.defineProperty(this,no,{value:El}),Object.defineProperty(this,gs,{value:ch}),Object.defineProperty(this,Ol,{value:Cl}),this.sortMapEntries=typeof o=="function"?o:o===!0?zB:null}clone(){const e=Object.create(tc.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}function WB(n,e){const t=[];let i=e.directives===!0;if(e.directives!==!1&&n.directives){const c=n.directives.toString(n);c?(t.push(c),i=!0):n.directives.docStart&&(i=!0)}i&&t.push("---");const r=K1(n,e),{commentString:s}=r.options;if(n.commentBefore){t.length!==1&&t.unshift("");const c=s(n.commentBefore);t.unshift(cs(c,""))}let o=!1,a=null;if(n.contents){if(qt(n.contents)){if(n.contents.spaceBefore&&i&&t.push(""),n.contents.commentBefore){const d=s(n.contents.commentBefore);t.push(cs(d,""))}r.forceBlockIndent=!!n.comment,a=n.contents.comment}const c=a?void 0:()=>o=!0;let f=dl(n.contents,r,()=>a=null,c);a&&(f+=qo(f,"",s(a))),(f[0]==="|"||f[0]===">")&&t[t.length-1]==="---"?t[t.length-1]=`--- ${f}`:t.push(f)}else t.push(dl(n.contents,r));if(n.directives?.docEnd)if(n.comment){const c=s(n.comment);c.includes(`
|
|
55
|
+
`)?(t.push("..."),t.push(cs(c,""))):t.push(`... ${c}`)}else t.push("...");else{let c=n.comment;c&&o&&(c=c.replace(/^\n+/,"")),c&&((!o||a)&&t[t.length-1]!==""&&t.push(""),t.push(cs(s(c),"")))}return t.join(`
|
|
56
|
+
`)+`
|
|
57
|
+
`}class ya{constructor(e,t,i){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Gi,{value:vg});let r=null;typeof t=="function"||Array.isArray(t)?r=t:i===void 0&&t&&(i=t,t=void 0);const s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},i);this.options=s;let{version:o}=s;i?._directives?(this.directives=i._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new jn({version:o}),this.setSchema(o,i),this.contents=e===void 0?null:this.createNode(e,r,i)}clone(){const e=Object.create(ya.prototype,{[Gi]:{value:vg}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=qt(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){xa(this.contents)&&this.contents.add(e)}addIn(e,t){xa(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const i=G1(this);e.anchor=!t||i.has(t)?q1(t||"a",i):t}return new Yu(e.anchor)}createNode(e,t,i){let r;if(typeof t=="function")e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){const v=U=>typeof U=="number"||U instanceof String||U instanceof Number,C=t.filter(v).map(String);C.length>0&&(t=t.concat(C)),r=t}else i===void 0&&t&&(i=t,t=void 0);const{aliasDuplicateObjects:s,anchorPrefix:o,flow:a,keepUndefined:c,onTagObj:f,tag:d}=i??{},{onAnchor:p,setAnchors:y,sourceObjects:h}=gB(this,o||"a"),S={aliasDuplicateObjects:s??!0,keepUndefined:c??!1,onAnchor:p,onTagObj:f,replacer:r,schema:this.schema,sourceObjects:h},m=zu(e,d,S);return a&&zt(m)&&(m.flow=!0),y(),m}createPair(e,t,i={}){const r=this.createNode(e,null,i),s=this.createNode(t,null,i);return new Sn(r,s)}delete(e){return xa(this.contents)?this.contents.delete(e):!1}deleteIn(e){return wu(e)?this.contents==null?!1:(this.contents=null,!0):xa(this.contents)?this.contents.deleteIn(e):!1}get(e,t){return zt(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return wu(e)?!t&&Ft(this.contents)?this.contents.value:this.contents:zt(this.contents)?this.contents.getIn(e,t):void 0}has(e){return zt(this.contents)?this.contents.has(e):!1}hasIn(e){return wu(e)?this.contents!==void 0:zt(this.contents)?this.contents.hasIn(e):!1}set(e,t){this.contents==null?this.contents=Wd(this.schema,[e],t):xa(this.contents)&&this.contents.set(e,t)}setIn(e,t){wu(e)?this.contents=t:this.contents==null?this.contents=Wd(this.schema,Array.from(e),t):xa(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){typeof e=="number"&&(e=String(e));let i;switch(e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new jn({version:"1.1"}),i={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new jn({version:e}),i={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,i=null;break;default:{const r=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${r}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(i)this.schema=new tc(Object.assign(i,t));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:i,maxAliasCount:r,onAnchor:s,reviver:o}={}){const a={anchors:new Map,doc:this,keep:!e,mapAsMap:i===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},c=zi(this.contents,t??"",a);if(typeof s=="function")for(const{count:f,res:d}of a.anchors.values())s(d,f);return typeof o=="function"?el(o,{"":c},"",c):c}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return WB(this,e)}}function xa(n){if(zt(n))return!0;throw new Error("Expected a YAML collection as document contents")}class mh extends Error{constructor(e,t,i,r){super(),this.name=e,this.code=i,this.message=r,this.pos=t}}class eo extends mh{constructor(e,t,i){super("YAMLParseError",e,t,i)}}class _b extends mh{constructor(e,t,i){super("YAMLWarning",e,t,i)}}const qd=(n,e)=>t=>{if(t.pos[0]===-1)return;t.linePos=t.pos.map(a=>e.linePos(a));const{line:i,col:r}=t.linePos[0];t.message+=` at line ${i}, column ${r}`;let s=r-1,o=n.substring(e.lineStarts[i-1],e.lineStarts[i]).replace(/[\n\r]+$/,"");if(s>=60&&o.length>80){const a=Math.min(s-39,o.length-79);o="…"+o.substring(a),s-=a-1}if(o.length>80&&(o=o.substring(0,79)+"…"),i>1&&/^ *$/.test(o.substring(0,s))){let a=n.substring(e.lineStarts[i-2],e.lineStarts[i-1]);a.length>80&&(a=a.substring(0,79)+`…
|
|
58
|
+
`),o=a+o}if(/[^ ]/.test(o)){let a=1;const c=t.linePos[1];c&&c.line===i&&c.col>r&&(a=Math.max(1,Math.min(c.col-r,80-s)));const f=" ".repeat(s)+"^".repeat(a);t.message+=`:
|
|
59
|
+
|
|
60
|
+
${o}
|
|
61
|
+
${f}
|
|
62
|
+
`}};function hl(n,{flow:e,indicator:t,next:i,offset:r,onError:s,parentIndent:o,startOnNewline:a}){let c=!1,f=a,d=a,p="",y="",h=!1,S=!1,m=!1,v=null,C=null,U=null,x=null,J=null,D=null;for(const E of n)switch(m&&(E.type!=="space"&&E.type!=="newline"&&E.type!=="comma"&&s(E.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m=!1),v&&(f&&E.type!=="comment"&&E.type!=="newline"&&s(v,"TAB_AS_INDENT","Tabs are not allowed as indentation"),v=null),E.type){case"space":!e&&(t!=="doc-start"||i?.type!=="flow-collection")&&E.source.includes(" ")&&(v=E),d=!0;break;case"comment":{d||s(E,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const j=E.source.substring(1)||" ";p?p+=y+j:p=j,y="",f=!1;break}case"newline":f?p?p+=E.source:c=!0:y+=E.source,f=!0,h=!0,(C||U)&&(S=!0),d=!0;break;case"anchor":C&&s(E,"MULTIPLE_ANCHORS","A node can have at most one anchor"),E.source.endsWith(":")&&s(E.offset+E.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),C=E,D===null&&(D=E.offset),f=!1,d=!1,m=!0;break;case"tag":{U&&s(E,"MULTIPLE_TAGS","A node can have at most one tag"),U=E,D===null&&(D=E.offset),f=!1,d=!1,m=!0;break}case t:(C||U)&&s(E,"BAD_PROP_ORDER",`Anchors and tags must be after the ${E.source} indicator`),J&&s(E,"UNEXPECTED_TOKEN",`Unexpected ${E.source} in ${e??"collection"}`),J=E,f=t==="seq-item-ind"||t==="explicit-key-ind",d=!1;break;case"comma":if(e){x&&s(E,"UNEXPECTED_TOKEN",`Unexpected , in ${e}`),x=E,f=!1,d=!1;break}default:s(E,"UNEXPECTED_TOKEN",`Unexpected ${E.type} token`),f=!1,d=!1}const K=n[n.length-1],X=K?K.offset+K.source.length:r;return m&&i&&i.type!=="space"&&i.type!=="newline"&&i.type!=="comma"&&(i.type!=="scalar"||i.source!=="")&&s(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),v&&(f&&v.indent<=o||i?.type==="block-map"||i?.type==="block-seq")&&s(v,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:x,found:J,spaceBefore:c,comment:p,hasNewline:h,hasNewlineAfterProp:S,anchor:C,tag:U,end:X,start:D??X}}function Wu(n){if(!n)return null;switch(n.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(n.source.includes(`
|
|
63
|
+
`))return!0;if(n.end){for(const e of n.end)if(e.type==="newline")return!0}return!1;case"flow-collection":for(const e of n.items){for(const t of e.start)if(t.type==="newline")return!0;if(e.sep){for(const t of e.sep)if(t.type==="newline")return!0}if(Wu(e.key)||Wu(e.value))return!0}return!1;default:return!0}}function Ng(n,e,t){if(e?.type==="flow-collection"){const i=e.end[0];i.indent===n&&(i.source==="]"||i.source==="}")&&Wu(e)&&t(i,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function hN(n,e,t){const{uniqueKeys:i}=n.options;if(i===!1)return!1;const r=typeof i=="function"?i:(s,o)=>s===o||Ft(s)&&Ft(o)&&s.value===o.value&&!(s.value==="<<"&&n.schema.merge);return e.some(s=>r(s.key,t))}const s_="All mapping items must start at the same column";function GB({composeNode:n,composeEmptyNode:e},t,i,r,s){const o=s?.nodeClass??Yn,a=new o(t.schema);t.atRoot&&(t.atRoot=!1);let c=i.offset,f=null;for(const d of i.items){const{start:p,key:y,sep:h,value:S}=d,m=hl(p,{indicator:"explicit-key-ind",next:y??h?.[0],offset:c,onError:r,parentIndent:i.indent,startOnNewline:!0}),v=!m.found;if(v){if(y&&(y.type==="block-seq"?r(c,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in y&&y.indent!==i.indent&&r(c,"BAD_INDENT",s_)),!m.anchor&&!m.tag&&!h){f=m.end,m.comment&&(a.comment?a.comment+=`
|
|
64
|
+
`+m.comment:a.comment=m.comment);continue}(m.hasNewlineAfterProp||Wu(y))&&r(y??p[p.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else m.found?.indent!==i.indent&&r(c,"BAD_INDENT",s_);const C=m.end,U=y?n(t,y,m,r):e(t,C,p,null,m,r);t.schema.compat&&Ng(i.indent,y,r),hN(t,a.items,U)&&r(C,"DUPLICATE_KEY","Map keys must be unique");const x=hl(h??[],{indicator:"map-value-ind",next:S,offset:U.range[2],onError:r,parentIndent:i.indent,startOnNewline:!y||y.type==="block-scalar"});if(c=x.end,x.found){v&&(S?.type==="block-map"&&!x.hasNewline&&r(c,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),t.options.strict&&m.start<x.found.offset-1024&&r(U.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const J=S?n(t,S,x,r):e(t,c,h,null,x,r);t.schema.compat&&Ng(i.indent,S,r),c=J.range[2];const D=new Sn(U,J);t.options.keepSourceTokens&&(D.srcToken=d),a.items.push(D)}else{v&&r(U.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),x.comment&&(U.comment?U.comment+=`
|
|
65
|
+
`+x.comment:U.comment=x.comment);const J=new Sn(U);t.options.keepSourceTokens&&(J.srcToken=d),a.items.push(J)}}return f&&f<c&&r(f,"IMPOSSIBLE","Map comment with trailing content"),a.range=[i.offset,c,f??c],a}function qB({composeNode:n,composeEmptyNode:e},t,i,r,s){const o=s?.nodeClass??Ts,a=new o(t.schema);t.atRoot&&(t.atRoot=!1);let c=i.offset,f=null;for(const{start:d,value:p}of i.items){const y=hl(d,{indicator:"seq-item-ind",next:p,offset:c,onError:r,parentIndent:i.indent,startOnNewline:!0});if(!y.found)if(y.anchor||y.tag||p)p&&p.type==="block-seq"?r(y.end,"BAD_INDENT","All sequence items must start at the same column"):r(c,"MISSING_CHAR","Sequence item without - indicator");else{f=y.end,y.comment&&(a.comment=y.comment);continue}const h=p?n(t,p,y,r):e(t,y.end,d,null,y,r);t.schema.compat&&Ng(i.indent,p,r),c=h.range[2],a.items.push(h)}return a.range=[i.offset,c,f??c],a}function nc(n,e,t,i){let r="";if(n){let s=!1,o="";for(const a of n){const{source:c,type:f}=a;switch(f){case"space":s=!0;break;case"comment":{t&&!s&&i(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const d=c.substring(1)||" ";r?r+=o+d:r=d,o="";break}case"newline":r&&(o+=c),s=!0;break;default:i(a,"UNEXPECTED_TOKEN",`Unexpected ${f} at node end`)}e+=c.length}}return{comment:r,offset:e}}const Ym="Block collections are not allowed within flow collections",$m=n=>n&&(n.type==="block-map"||n.type==="block-seq");function HB({composeNode:n,composeEmptyNode:e},t,i,r,s){const o=i.start.source==="{",a=o?"flow map":"flow sequence",c=s?.nodeClass??(o?Yn:Ts),f=new c(t.schema);f.flow=!0;const d=t.atRoot;d&&(t.atRoot=!1);let p=i.offset+i.start.source.length;for(let v=0;v<i.items.length;++v){const C=i.items[v],{start:U,key:x,sep:J,value:D}=C,K=hl(U,{flow:a,indicator:"explicit-key-ind",next:x??J?.[0],offset:p,onError:r,parentIndent:i.indent,startOnNewline:!1});if(!K.found){if(!K.anchor&&!K.tag&&!J&&!D){v===0&&K.comma?r(K.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`):v<i.items.length-1&&r(K.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${a}`),K.comment&&(f.comment?f.comment+=`
|
|
66
|
+
`+K.comment:f.comment=K.comment),p=K.end;continue}!o&&t.options.strict&&Wu(x)&&r(x,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(v===0)K.comma&&r(K.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`);else if(K.comma||r(K.start,"MISSING_CHAR",`Missing , between ${a} items`),K.comment){let X="";e:for(const E of U)switch(E.type){case"comma":case"space":break;case"comment":X=E.source.substring(1);break e;default:break e}if(X){let E=f.items[f.items.length-1];Bt(E)&&(E=E.value??E.key),E.comment?E.comment+=`
|
|
67
|
+
`+X:E.comment=X,K.comment=K.comment.substring(X.length+1)}}if(!o&&!J&&!K.found){const X=D?n(t,D,K,r):e(t,K.end,J,null,K,r);f.items.push(X),p=X.range[2],$m(D)&&r(X.range,"BLOCK_IN_FLOW",Ym)}else{const X=K.end,E=x?n(t,x,K,r):e(t,X,U,null,K,r);$m(x)&&r(E.range,"BLOCK_IN_FLOW",Ym);const j=hl(J??[],{flow:a,indicator:"map-value-ind",next:D,offset:E.range[2],onError:r,parentIndent:i.indent,startOnNewline:!1});if(j.found){if(!o&&!K.found&&t.options.strict){if(J)for(const re of J){if(re===j.found)break;if(re.type==="newline"){r(re,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}K.start<j.found.offset-1024&&r(j.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else D&&("source"in D&&D.source&&D.source[0]===":"?r(D,"MISSING_CHAR",`Missing space after : in ${a}`):r(j.start,"MISSING_CHAR",`Missing , or : between ${a} items`));const ne=D?n(t,D,j,r):j.found?e(t,j.end,J,null,j,r):null;ne?$m(D)&&r(ne.range,"BLOCK_IN_FLOW",Ym):j.comment&&(E.comment?E.comment+=`
|
|
68
|
+
`+j.comment:E.comment=j.comment);const se=new Sn(E,ne);if(t.options.keepSourceTokens&&(se.srcToken=C),o){const re=f;hN(t,re.items,E)&&r(X,"DUPLICATE_KEY","Map keys must be unique"),re.items.push(se)}else{const re=new Yn(t.schema);re.flow=!0,re.items.push(se),f.items.push(re)}p=ne?ne.range[2]:j.end}}const y=o?"}":"]",[h,...S]=i.end;let m=p;if(h&&h.source===y)m=h.offset+h.source.length;else{const v=a[0].toUpperCase()+a.substring(1),C=d?`${v} must end with a ${y}`:`${v} in block collection must be sufficiently indented and end with a ${y}`;r(p,d?"MISSING_CHAR":"BAD_INDENT",C),h&&h.source.length!==1&&S.unshift(h)}if(S.length>0){const v=nc(S,m,t.options.strict,r);v.comment&&(f.comment?f.comment+=`
|
|
69
|
+
`+v.comment:f.comment=v.comment),f.range=[i.offset,m,v.offset]}else f.range=[i.offset,m,m];return f}function ey(n,e,t,i,r,s){const o=t.type==="block-map"?GB(n,e,t,i,s):t.type==="block-seq"?qB(n,e,t,i,s):HB(n,e,t,i,s),a=o.constructor;return r==="!"||r===a.tagName?(o.tag=a.tagName,o):(r&&(o.tag=r),o)}function VB(n,e,t,i,r){const s=i?e.directives.tagName(i.source,p=>r(i,"TAG_RESOLVE_FAILED",p)):null,o=t.type==="block-map"?"map":t.type==="block-seq"?"seq":t.start.source==="{"?"map":"seq";if(!i||!s||s==="!"||s===Yn.tagName&&o==="map"||s===Ts.tagName&&o==="seq"||!o)return ey(n,e,t,r,s);let a=e.schema.tags.find(p=>p.tag===s&&p.collection===o);if(!a){const p=e.schema.knownTags[s];if(p&&p.collection===o)e.schema.tags.push(Object.assign({},p,{default:!1})),a=p;else return p?.collection?r(i,"BAD_COLLECTION_TYPE",`${p.tag} used for ${o} collection, but expects ${p.collection}`,!0):r(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,!0),ey(n,e,t,r,s)}const c=ey(n,e,t,r,s,a),f=a.resolve?.(c,p=>r(i,"TAG_RESOLVE_FAILED",p),e.options)??c,d=qt(f)?f:new ot(f);return d.range=c.range,d.tag=s,a?.format&&(d.format=a.format),d}function pN(n,e,t){const i=e.offset,r=KB(e,n.options.strict,t);if(!r)return{value:"",type:null,comment:"",range:[i,i,i]};const s=r.mode===">"?ot.BLOCK_FOLDED:ot.BLOCK_LITERAL,o=e.source?ZB(e.source):[];let a=o.length;for(let m=o.length-1;m>=0;--m){const v=o[m][1];if(v===""||v==="\r")a=m;else break}if(a===0){const m=r.chomp==="+"&&o.length>0?`
|
|
70
|
+
`.repeat(Math.max(1,o.length-1)):"";let v=i+r.length;return e.source&&(v+=e.source.length),{value:m,type:s,comment:r.comment,range:[i,v,v]}}let c=e.indent+r.indent,f=e.offset+r.length,d=0;for(let m=0;m<a;++m){const[v,C]=o[m];if(C===""||C==="\r")r.indent===0&&v.length>c&&(c=v.length);else{v.length<c&&t(f+v.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),r.indent===0&&(c=v.length),d=m,c===0&&!n.atRoot&&t(f,"BAD_INDENT","Block scalar values in collections must be indented");break}f+=v.length+C.length+1}for(let m=o.length-1;m>=a;--m)o[m][0].length>c&&(a=m+1);let p="",y="",h=!1;for(let m=0;m<d;++m)p+=o[m][0].slice(c)+`
|
|
71
|
+
`;for(let m=d;m<a;++m){let[v,C]=o[m];f+=v.length+C.length+1;const U=C[C.length-1]==="\r";if(U&&(C=C.slice(0,-1)),C&&v.length<c){const J=`Block scalar lines must not be less indented than their ${r.indent?"explicit indentation indicator":"first line"}`;t(f-C.length-(U?2:1),"BAD_INDENT",J),v=""}s===ot.BLOCK_LITERAL?(p+=y+v.slice(c)+C,y=`
|
|
72
|
+
`):v.length>c||C[0]===" "?(y===" "?y=`
|
|
73
|
+
`:!h&&y===`
|
|
74
|
+
`&&(y=`
|
|
75
|
+
|
|
76
|
+
`),p+=y+v.slice(c)+C,y=`
|
|
77
|
+
`,h=!0):C===""?y===`
|
|
78
|
+
`?p+=`
|
|
79
|
+
`:y=`
|
|
80
|
+
`:(p+=y+C,y=" ",h=!1)}switch(r.chomp){case"-":break;case"+":for(let m=a;m<o.length;++m)p+=`
|
|
81
|
+
`+o[m][0].slice(c);p[p.length-1]!==`
|
|
82
|
+
`&&(p+=`
|
|
83
|
+
`);break;default:p+=`
|
|
84
|
+
`}const S=i+r.length+e.source.length;return{value:p,type:s,comment:r.comment,range:[i,S,S]}}function KB({offset:n,props:e},t,i){if(e[0].type!=="block-scalar-header")return i(e[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:r}=e[0],s=r[0];let o=0,a="",c=-1;for(let y=1;y<r.length;++y){const h=r[y];if(!a&&(h==="-"||h==="+"))a=h;else{const S=Number(h);!o&&S?o=S:c===-1&&(c=n+y)}}c!==-1&&i(c,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${r}`);let f=!1,d="",p=r.length;for(let y=1;y<e.length;++y){const h=e[y];switch(h.type){case"space":f=!0;case"newline":p+=h.source.length;break;case"comment":t&&!f&&i(h,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),p+=h.source.length,d=h.source.substring(1);break;case"error":i(h,"UNEXPECTED_TOKEN",h.message),p+=h.source.length;break;default:{const S=`Unexpected token in block scalar header: ${h.type}`;i(h,"UNEXPECTED_TOKEN",S);const m=h.source;m&&typeof m=="string"&&(p+=m.length)}}}return{mode:s,indent:o,chomp:a,comment:d,length:p}}function ZB(n){const e=n.split(/\n( *)/),t=e[0],i=t.match(/^( *)/),s=[i?.[1]?[i[1],t.slice(i[1].length)]:["",t]];for(let o=1;o<e.length;o+=2)s.push([e[o],e[o+1]]);return s}function mN(n,e,t){const{offset:i,type:r,source:s,end:o}=n;let a,c;const f=(y,h,S)=>t(i+y,h,S);switch(r){case"scalar":a=ot.PLAIN,c=QB(s,f);break;case"single-quoted-scalar":a=ot.QUOTE_SINGLE,c=XB(s,f);break;case"double-quoted-scalar":a=ot.QUOTE_DOUBLE,c=YB(s,f);break;default:return t(n,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${r}`),{value:"",type:null,comment:"",range:[i,i+s.length,i+s.length]}}const d=i+s.length,p=nc(o,d,e,t);return{value:c,type:a,comment:p.comment,range:[i,d,p.offset]}}function QB(n,e){let t="";switch(n[0]){case" ":t="a tab character";break;case",":t="flow indicator character ,";break;case"%":t="directive indicator character %";break;case"|":case">":{t=`block scalar indicator ${n[0]}`;break}case"@":case"`":{t=`reserved character ${n[0]}`;break}}return t&&e(0,"BAD_SCALAR_START",`Plain value cannot start with ${t}`),yN(n)}function XB(n,e){return(n[n.length-1]!=="'"||n.length===1)&&e(n.length,"MISSING_CHAR","Missing closing 'quote"),yN(n.slice(1,-1)).replace(/''/g,"'")}function yN(n){let e,t;try{e=new RegExp(`(.*?)(?<![ ])[ ]*\r?
|
|
85
|
+
`,"sy"),t=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
|
|
86
|
+
`,"sy")}catch{e=/(.*?)[ \t]*\r?\n/sy,t=/[ \t]*(.*?)[ \t]*\r?\n/sy}let i=e.exec(n);if(!i)return n;let r=i[1],s=" ",o=e.lastIndex;for(t.lastIndex=o;i=t.exec(n);)i[1]===""?s===`
|
|
87
|
+
`?r+=s:s=`
|
|
88
|
+
`:(r+=s+i[1],s=" "),o=t.lastIndex;const a=/[ \t]*(.*)/sy;return a.lastIndex=o,i=a.exec(n),r+s+(i?.[1]??"")}function YB(n,e){let t="";for(let i=1;i<n.length-1;++i){const r=n[i];if(!(r==="\r"&&n[i+1]===`
|
|
89
|
+
`))if(r===`
|
|
90
|
+
`){const{fold:s,offset:o}=$B(n,i);t+=s,i=o}else if(r==="\\"){let s=n[++i];const o=eD[s];if(o)t+=o;else if(s===`
|
|
91
|
+
`)for(s=n[i+1];s===" "||s===" ";)s=n[++i+1];else if(s==="\r"&&n[i+1]===`
|
|
92
|
+
`)for(s=n[++i+1];s===" "||s===" ";)s=n[++i+1];else if(s==="x"||s==="u"||s==="U"){const a={x:2,u:4,U:8}[s];t+=tD(n,i+1,a,e),i+=a}else{const a=n.substr(i-1,2);e(i-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),t+=a}}else if(r===" "||r===" "){const s=i;let o=n[i+1];for(;o===" "||o===" ";)o=n[++i+1];o!==`
|
|
93
|
+
`&&!(o==="\r"&&n[i+2]===`
|
|
94
|
+
`)&&(t+=i>s?n.slice(s,i+1):r)}else t+=r}return(n[n.length-1]!=='"'||n.length===1)&&e(n.length,"MISSING_CHAR",'Missing closing "quote'),t}function $B(n,e){let t="",i=n[e+1];for(;(i===" "||i===" "||i===`
|
|
95
|
+
`||i==="\r")&&!(i==="\r"&&n[e+2]!==`
|
|
96
|
+
`);)i===`
|
|
97
|
+
`&&(t+=`
|
|
98
|
+
`),e+=1,i=n[e+1];return t||(t=" "),{fold:t,offset:e}}const eD={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
|
|
99
|
+
`,r:"\r",t:" ",v:"\v",N:"
",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function tD(n,e,t,i){const r=n.substr(e,t),o=r.length===t&&/^[0-9a-fA-F]+$/.test(r)?parseInt(r,16):NaN;if(isNaN(o)){const a=n.substr(e-2,t+2);return i(e-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),a}return String.fromCodePoint(o)}function gN(n,e,t,i){const{value:r,type:s,comment:o,range:a}=e.type==="block-scalar"?pN(n,e,i):mN(e,n.options.strict,i),c=t?n.directives.tagName(t.source,p=>i(t,"TAG_RESOLVE_FAILED",p)):null,f=t&&c?nD(n.schema,r,c,t,i):e.type==="scalar"?iD(n,r,e,i):n.schema[gs];let d;try{const p=f.resolve(r,y=>i(t??e,"TAG_RESOLVE_FAILED",y),n.options);d=Ft(p)?p:new ot(p)}catch(p){const y=p instanceof Error?p.message:String(p);i(t??e,"TAG_RESOLVE_FAILED",y),d=new ot(r)}return d.range=a,d.source=r,s&&(d.type=s),c&&(d.tag=c),f.format&&(d.format=f.format),o&&(d.comment=o),d}function nD(n,e,t,i,r){if(t==="!")return n[gs];const s=[];for(const a of n.tags)if(!a.collection&&a.tag===t)if(a.default&&a.test)s.push(a);else return a;for(const a of s)if(a.test?.test(e))return a;const o=n.knownTags[t];return o&&!o.collection?(n.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(r(i,"TAG_RESOLVE_FAILED",`Unresolved tag: ${t}`,t!=="tag:yaml.org,2002:str"),n[gs])}function iD({directives:n,schema:e},t,i,r){const s=e.tags.find(o=>o.default&&o.test?.test(t))||e[gs];if(e.compat){const o=e.compat.find(a=>a.default&&a.test?.test(t))??e[gs];if(s.tag!==o.tag){const a=n.tagString(s.tag),c=n.tagString(o.tag),f=`Value may be parsed as either ${a} or ${c}`;r(i,"TAG_RESOLVE_FAILED",f,!0)}}return s}function rD(n,e,t){if(e){t===null&&(t=e.length);for(let i=t-1;i>=0;--i){let r=e[i];switch(r.type){case"space":case"comment":case"newline":n-=r.source.length;continue}for(r=e[++i];r?.type==="space";)n+=r.source.length,r=e[++i];break}}return n}const sD={composeNode:bN,composeEmptyNode:wb};function bN(n,e,t,i){const{spaceBefore:r,comment:s,anchor:o,tag:a}=t;let c,f=!0;switch(e.type){case"alias":c=oD(n,e,i),(o||a)&&i(e,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":c=gN(n,e,a,i),o&&(c.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":c=VB(sD,n,e,a,i),o&&(c.anchor=o.source.substring(1));break;default:{const d=e.type==="error"?e.message:`Unsupported token (type: ${e.type})`;i(e,"UNEXPECTED_TOKEN",d),c=wb(n,e.offset,void 0,null,t,i),f=!1}}return o&&c.anchor===""&&i(o,"BAD_ALIAS","Anchor cannot be an empty string"),r&&(c.spaceBefore=!0),s&&(e.type==="scalar"&&e.source===""?c.comment=s:c.commentBefore=s),n.options.keepSourceTokens&&f&&(c.srcToken=e),c}function wb(n,e,t,i,{spaceBefore:r,comment:s,anchor:o,tag:a,end:c},f){const d={type:"scalar",offset:rD(e,t,i),indent:-1,source:""},p=gN(n,d,a,f);return o&&(p.anchor=o.source.substring(1),p.anchor===""&&f(o,"BAD_ALIAS","Anchor cannot be an empty string")),r&&(p.spaceBefore=!0),s&&(p.comment=s,p.range[2]=c),p}function oD({options:n},{offset:e,source:t,end:i},r){const s=new Yu(t.substring(1));s.source===""&&r(e,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&r(e+t.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=e+t.length,a=nc(i,o,n.strict,r);return s.range=[e,o,a.offset],a.comment&&(s.comment=a.comment),s}function aD(n,e,{offset:t,start:i,value:r,end:s},o){const a=Object.assign({_directives:e},n),c=new ya(void 0,a),f={atRoot:!0,directives:c.directives,options:c.options,schema:c.schema},d=hl(i,{indicator:"doc-start",next:r??s?.[0],offset:t,onError:o,parentIndent:0,startOnNewline:!0});d.found&&(c.directives.docStart=!0,r&&(r.type==="block-map"||r.type==="block-seq")&&!d.hasNewline&&o(d.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),c.contents=r?bN(f,r,d,o):wb(f,d.end,i,null,d,o);const p=c.contents.range[2],y=nc(s,p,!1,o);return y.comment&&(c.comment=y.comment),c.range=[t,p,y.offset],c}function iu(n){if(typeof n=="number")return[n,n+1];if(Array.isArray(n))return n.length===2?n:[n[0],n[1]];const{offset:e,source:t}=n;return[e,e+(typeof t=="string"?t.length:1)]}function o_(n){let e="",t=!1,i=!1;for(let r=0;r<n.length;++r){const s=n[r];switch(s[0]){case"#":e+=(e===""?"":i?`
|
|
100
|
+
|
|
101
|
+
`:`
|
|
102
|
+
`)+(s.substring(1)||" "),t=!0,i=!1;break;case"%":n[r+1]?.[0]!=="#"&&(r+=1),t=!1;break;default:t||(i=!0),t=!1}}return{comment:e,afterEmptyLine:i}}class yh{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(t,i,r,s)=>{const o=iu(t);s?this.warnings.push(new _b(o,i,r)):this.errors.push(new eo(o,i,r))},this.directives=new jn({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:i,afterEmptyLine:r}=o_(this.prelude);if(i){const s=e.contents;if(t)e.comment=e.comment?`${e.comment}
|
|
103
|
+
${i}`:i;else if(r||e.directives.docStart||!s)e.commentBefore=i;else if(zt(s)&&!s.flow&&s.items.length>0){let o=s.items[0];Bt(o)&&(o=o.key);const a=o.commentBefore;o.commentBefore=a?`${i}
|
|
104
|
+
${a}`:i}else{const o=s.commentBefore;s.commentBefore=o?`${i}
|
|
105
|
+
${o}`:i}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:o_(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,i=-1){for(const r of e)yield*this.next(r);yield*this.end(t,i)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,i,r)=>{const s=iu(e);s[0]+=t,this.onError(s,"BAD_DIRECTIVE",i,r)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=aD(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,i=new eo(iu(e),"UNEXPECTED_TOKEN",t);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 eo(iu(e),"UNEXPECTED_TOKEN",i));break}this.doc.directives.docEnd=!0;const t=nc(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const i=this.doc.comment;this.doc.comment=i?`${i}
|
|
106
|
+
${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new eo(iu(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const i=Object.assign({_directives:this.directives},this.options),r=new ya(void 0,i);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),r.range=[0,t,t],this.decorate(r,!1),yield r}}}function lD(n,e=!0,t){if(n){const i=(r,s,o)=>{const a=typeof r=="number"?r:Array.isArray(r)?r[0]:r.offset;if(t)t(a,s,o);else throw new eo([a,a+1],s,o)};switch(n.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return mN(n,e,i);case"block-scalar":return pN({options:{strict:e}},n,i)}}return null}function uD(n,e){const{implicitKey:t=!1,indent:i,inFlow:r=!1,offset:s=-1,type:o="PLAIN"}=e,a=$u({type:o,value:n},{implicitKey:t,indent:i>0?" ".repeat(i):"",inFlow:r,options:{blockQuote:!0,lineWidth:-1}}),c=e.end??[{type:"newline",offset:-1,indent:i,source:`
|
|
107
|
+
`}];switch(a[0]){case"|":case">":{const f=a.indexOf(`
|
|
108
|
+
`),d=a.substring(0,f),p=a.substring(f+1)+`
|
|
109
|
+
`,y=[{type:"block-scalar-header",offset:s,indent:i,source:d}];return TN(y,c)||y.push({type:"newline",offset:-1,indent:i,source:`
|
|
110
|
+
`}),{type:"block-scalar",offset:s,indent:i,props:y,source:p}}case'"':return{type:"double-quoted-scalar",offset:s,indent:i,source:a,end:c};case"'":return{type:"single-quoted-scalar",offset:s,indent:i,source:a,end:c};default:return{type:"scalar",offset:s,indent:i,source:a,end:c}}}function cD(n,e,t={}){let{afterKey:i=!1,implicitKey:r=!1,inFlow:s=!1,type:o}=t,a="indent"in n?n.indent:null;if(i&&typeof a=="number"&&(a+=2),!o)switch(n.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{const f=n.props[0];if(f.type!=="block-scalar-header")throw new Error("Invalid block scalar header");o=f.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}const c=$u({type:o,value:e},{implicitKey:r||a===null,indent:a!==null&&a>0?" ".repeat(a):"",inFlow:s,options:{blockQuote:!0,lineWidth:-1}});switch(c[0]){case"|":case">":fD(n,c);break;case'"':ty(n,c,"double-quoted-scalar");break;case"'":ty(n,c,"single-quoted-scalar");break;default:ty(n,c,"scalar")}}function fD(n,e){const t=e.indexOf(`
|
|
111
|
+
`),i=e.substring(0,t),r=e.substring(t+1)+`
|
|
112
|
+
`;if(n.type==="block-scalar"){const s=n.props[0];if(s.type!=="block-scalar-header")throw new Error("Invalid block scalar header");s.source=i,n.source=r}else{const{offset:s}=n,o="indent"in n?n.indent:-1,a=[{type:"block-scalar-header",offset:s,indent:o,source:i}];TN(a,"end"in n?n.end:void 0)||a.push({type:"newline",offset:-1,indent:o,source:`
|
|
113
|
+
`});for(const c of Object.keys(n))c!=="type"&&c!=="offset"&&delete n[c];Object.assign(n,{type:"block-scalar",indent:o,props:a,source:r})}}function TN(n,e){if(e)for(const t of e)switch(t.type){case"space":case"comment":n.push(t);break;case"newline":return n.push(t),!0}return!1}function ty(n,e,t){switch(n.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":n.type=t,n.source=e;break;case"block-scalar":{const i=n.props.slice(1);let r=e.length;n.props[0].type==="block-scalar-header"&&(r-=n.props[0].source.length);for(const s of i)s.offset+=r;delete n.props,Object.assign(n,{type:t,source:e,end:i});break}case"block-map":case"block-seq":{const r={type:"newline",offset:n.offset+e.length,indent:n.indent,source:`
|
|
114
|
+
`};delete n.items,Object.assign(n,{type:t,source:e,end:[r]});break}default:{const i="indent"in n?n.indent:-1,r="end"in n&&Array.isArray(n.end)?n.end.filter(s=>s.type==="space"||s.type==="comment"||s.type==="newline"):[];for(const s of Object.keys(n))s!=="type"&&s!=="offset"&&delete n[s];Object.assign(n,{type:t,indent:i,source:e,end:r})}}}const dD=n=>"type"in n?Hd(n):Md(n);function Hd(n){switch(n.type){case"block-scalar":{let e="";for(const t of n.props)e+=Hd(t);return e+n.source}case"block-map":case"block-seq":{let e="";for(const t of n.items)e+=Md(t);return e}case"flow-collection":{let e=n.start.source;for(const t of n.items)e+=Md(t);for(const t of n.end)e+=t.source;return e}case"document":{let e=Md(n);if(n.end)for(const t of n.end)e+=t.source;return e}default:{let e=n.source;if("end"in n&&n.end)for(const t of n.end)e+=t.source;return e}}}function Md({start:n,key:e,sep:t,value:i}){let r="";for(const s of n)r+=s.source;if(e&&(r+=Hd(e)),t)for(const s of t)r+=s.source;return i&&(r+=Hd(i)),r}const kg=Symbol("break visit"),hD=Symbol("skip children"),SN=Symbol("remove item");function ia(n,e){"type"in n&&n.type==="document"&&(n={start:n.start,value:n.value}),vN(Object.freeze([]),n,e)}ia.BREAK=kg;ia.SKIP=hD;ia.REMOVE=SN;ia.itemAtPath=(n,e)=>{let t=n;for(const[i,r]of e){const s=t?.[i];if(s&&"items"in s)t=s.items[r];else return}return t};ia.parentCollection=(n,e)=>{const t=ia.itemAtPath(n,e.slice(0,-1)),i=e[e.length-1][0],r=t?.[i];if(r&&"items"in r)return r;throw new Error("Parent collection not found")};function vN(n,e,t){let i=t(e,n);if(typeof i=="symbol")return i;for(const r of["key","value"]){const s=e[r];if(s&&"items"in s){for(let o=0;o<s.items.length;++o){const a=vN(Object.freeze(n.concat([[r,o]])),s.items[o],t);if(typeof a=="number")o=a-1;else{if(a===kg)return kg;a===SN&&(s.items.splice(o,1),o-=1)}}typeof i=="function"&&r==="key"&&(i=i(e,n))}}return typeof i=="function"?i(e,n):i}const gh="\uFEFF",bh="",Th="",Gu="",pD=n=>!!n&&"items"in n,mD=n=>!!n&&(n.type==="scalar"||n.type==="single-quoted-scalar"||n.type==="double-quoted-scalar"||n.type==="block-scalar");function yD(n){switch(n){case gh:return"<BOM>";case bh:return"<DOC>";case Th:return"<FLOW_END>";case Gu:return"<SCALAR>";default:return JSON.stringify(n)}}function _N(n){switch(n){case gh:return"byte-order-mark";case bh:return"doc-mode";case Th:return"flow-error-end";case Gu: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(n[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 wN=Object.freeze(Object.defineProperty({__proto__:null,BOM:gh,DOCUMENT:bh,FLOW_END:Th,SCALAR:Gu,createScalarToken:uD,isCollection:pD,isScalar:mD,prettyToken:yD,resolveAsScalar:lD,setScalarValue:cD,stringify:dD,tokenType:_N,visit:ia},Symbol.toStringTag,{value:"Module"}));function Ci(n){switch(n){case void 0:case" ":case`
|
|
117
|
+
`:case"\r":case" ":return!0;default:return!1}}const a_=new Set("0123456789ABCDEFabcdef"),gD=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),Vf=new Set(",[]{}"),bD=new Set(` ,[]{}
|
|
118
|
+
\r `),ny=n=>!n||bD.has(n);class Lb{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(e,t=!1){if(e){if(typeof e!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let i=this.next??"stream";for(;i&&(t||this.hasChars(1));)i=yield*this.parseNext(i)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;t===" "||t===" ";)t=this.buffer[++e];return!t||t==="#"||t===`
|
|
119
|
+
`?!0:t==="\r"?this.buffer[e+1]===`
|
|
120
|
+
`:!1}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let i=0;for(;t===" ";)t=this.buffer[++i+e];if(t==="\r"){const r=this.buffer[i+e+1];if(r===`
|
|
121
|
+
`||!r&&!this.atEnd)return e+i+1}return t===`
|
|
122
|
+
`||i>=this.indentNext||!t&&!this.atEnd?e+i:-1}if(t==="-"||t==="."){const i=this.buffer.substr(e,3);if((i==="---"||i==="...")&&Ci(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return(typeof e!="number"||e!==-1&&e<this.pos)&&(e=this.buffer.indexOf(`
|
|
123
|
+
`,this.pos),this.lineEndPos=e),e===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[e-1]==="\r"&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){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 e=this.getLine();if(e===null)return this.setNext("stream");if(e[0]===gh&&(yield*this.pushCount(1),e=e.substring(1)),e[0]==="%"){let t=e.length,i=e.indexOf("#");for(;i!==-1;){const s=e[i-1];if(s===" "||s===" "){t=i-1;break}else i=e.indexOf("#",i+1)}for(;;){const s=e[t-1];if(s===" "||s===" ")t-=1;else break}const r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){const t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield bh,yield*this.parseLineStart()}*parseLineStart(){const e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if(e==="-"||e==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const t=this.peek(3);if(t==="---"&&Ci(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if(t==="..."&&Ci(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!Ci(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if((e==="-"||e==="?"||e===":")&&Ci(t)){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 e=this.getLine();if(e===null)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);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(ny),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,i=-1;do e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=i=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>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("..."))&&Ci(r[3]))&&!(i===this.indentNext-1&&this.flowLevel===1&&(r[0]==="]"||r[0]==="}")))return this.flowLevel=0,yield Th,yield*this.parseLineStart();let s=0;for(;r[s]===",";)s+=yield*this.pushCount(1),s+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(s+=yield*this.pushIndicators(),r[s]){case void 0:return"flow";case"#":return yield*this.pushCount(r.length-s),"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(ny),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const o=this.charAt(1);if(this.flowKey||Ci(o)||o===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const e=this.charAt(0);let t=this.buffer.indexOf(e,this.pos+1);if(e==="'")for(;t!==-1&&this.buffer[t+1]==="'";)t=this.buffer.indexOf("'",t+2);else for(;t!==-1;){let s=0;for(;this.buffer[t-1-s]==="\\";)s+=1;if(s%2===0)break;t=this.buffer.indexOf('"',t+1)}const i=this.buffer.substring(0,t);let r=i.indexOf(`
|
|
124
|
+
`,this.pos);if(r!==-1){for(;r!==-1;){const s=this.continueScalar(r+1);if(s===-1)break;r=i.indexOf(`
|
|
125
|
+
`,s)}r!==-1&&(t=r-(i[r-1]==="\r"?2:1))}if(t===-1){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){const t=this.buffer[++e];if(t==="+")this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if(t!=="-")break}return yield*this.pushUntil(t=>Ci(t)||t==="#")}*parseBlockScalar(){let e=this.pos-1,t=0,i;e:for(let s=this.pos;i=this.buffer[s];++s)switch(i){case" ":t+=1;break;case`
|
|
126
|
+
`:e=s,t=0;break;case"\r":{const o=this.buffer[s+1];if(!o&&!this.atEnd)return this.setNext("block-scalar");if(o===`
|
|
127
|
+
`)break}default:break e}if(!i&&!this.atEnd)return this.setNext("block-scalar");if(t>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=t:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const s=this.continueScalar(e+1);if(s===-1)break;e=this.buffer.indexOf(`
|
|
128
|
+
`,s)}while(e!==-1);if(e===-1){if(!this.atEnd)return this.setNext("block-scalar");e=this.buffer.length}}let r=e+1;for(i=this.buffer[r];i===" ";)i=this.buffer[++r];if(i===" "){for(;i===" "||i===" "||i==="\r"||i===`
|
|
129
|
+
`;)i=this.buffer[++r];e=r-1}else if(!this.blockScalarKeep)do{let s=e-1,o=this.buffer[s];o==="\r"&&(o=this.buffer[--s]);const a=s;for(;o===" ";)o=this.buffer[--s];if(o===`
|
|
130
|
+
`&&s>=this.pos&&s+1+t>a)e=s;else break}while(!0);return yield Gu,yield*this.pushToIndex(e+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t=this.pos-1,i=this.pos-1,r;for(;r=this.buffer[++i];)if(r===":"){const s=this.buffer[i+1];if(Ci(s)||e&&Vf.has(s))break;t=i}else if(Ci(r)){let s=this.buffer[i+1];if(r==="\r"&&(s===`
|
|
131
|
+
`?(i+=1,r=`
|
|
132
|
+
`,s=this.buffer[i+1]):t=i),s==="#"||e&&Vf.has(s))break;if(r===`
|
|
133
|
+
`){const o=this.continueScalar(i+1);if(o===-1)break;i=Math.max(i,o-2)}}else{if(e&&Vf.has(r))break;t=i}return!r&&!this.atEnd?this.setNext("plain-scalar"):(yield Gu,yield*this.pushToIndex(t+1,!0),e?"flow":"doc")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const i=this.buffer.slice(this.pos,e);return i?(yield i,this.pos+=i.length,i.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(ny))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(Ci(t)||e&&Vf.has(t))return e?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 e=this.pos+2,t=this.buffer[e];for(;!Ci(t)&&t!==">";)t=this.buffer[++e];return yield*this.pushToIndex(t===">"?e+1:e,!1)}else{let e=this.pos+1,t=this.buffer[e];for(;t;)if(gD.has(t))t=this.buffer[++e];else if(t==="%"&&a_.has(this.buffer[e+1])&&a_.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return e===`
|
|
134
|
+
`?yield*this.pushCount(1):e==="\r"&&this.charAt(1)===`
|
|
135
|
+
`?yield*this.pushCount(2):0}*pushSpaces(e){let t=this.pos-1,i;do i=this.buffer[++t];while(i===" "||e&&i===" ");const r=t-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=t),r}*pushUntil(e){let t=this.pos,i=this.buffer[t];for(;!e(i);)i=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class Nb{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,i=this.lineStarts.length;for(;t<i;){const s=t+i>>1;this.lineStarts[s]<e?t=s+1:i=s}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(t===0)return{line:0,col:e};const r=this.lineStarts[t-1];return{line:t,col:e-r+1}}}}function xo(n,e){for(let t=0;t<n.length;++t)if(n[t].type===e)return!0;return!1}function l_(n){for(let e=0;e<n.length;++e)switch(n[e].type){case"space":case"comment":case"newline":break;default:return e}return-1}function LN(n){switch(n?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function Kf(n){switch(n.type){case"document":return n.start;case"block-map":{const e=n.items[n.items.length-1];return e.sep??e.start}case"block-seq":return n.items[n.items.length-1].start;default:return[]}}function Ja(n){if(n.length===0)return[];let e=n.length;e:for(;--e>=0;)switch(n[e].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;n[++e]?.type==="space";);return n.splice(e,n.length)}function u_(n){if(n.start.type==="flow-seq-start")for(const e of n.items)e.sep&&!e.value&&!xo(e.start,"explicit-key-ind")&&!xo(e.sep,"map-value-ind")&&(e.key&&(e.value=e.key),delete e.key,LN(e.value)?e.value.end?Array.prototype.push.apply(e.value.end,e.sep):e.value.end=e.sep:Array.prototype.push.apply(e.start,e.sep),delete e.sep)}class Sh{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new Lb,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const i of this.lexer.lex(e,t))yield*this.next(i);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}const t=_N(e);if(t)if(t==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&e[0]===" "&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const i=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:i,source:e}),this.offset+=e.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 e=this.peek(1);if(this.type==="doc-end"&&(!e||e.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(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(!t)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield t;else{const i=this.peek(1);switch(t.type==="block-scalar"?t.indent="indent"in i?i.indent:0:t.type==="flow-collection"&&i.type==="document"&&(t.indent=0),t.type==="flow-collection"&&u_(t),i.type){case"document":i.value=t;break;case"block-scalar":i.props.push(t);break;case"block-map":{const r=i.items[i.items.length-1];if(r.value){i.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}else if(r.sep)r.value=t;else{Object.assign(r,{key:t,sep:[]}),this.onKeyLine=!r.explicitKey;return}break}case"block-seq":{const r=i.items[i.items.length-1];r.value?i.items.push({start:[],value:t}):r.value=t;break}case"flow-collection":{const r=i.items[i.items.length-1];!r||r.value?i.items.push({start:[],key:t,sep:[]}):r.sep?r.value=t:Object.assign(r,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if((i.type==="document"||i.type==="block-map"||i.type==="block-seq")&&(t.type==="block-map"||t.type==="block-seq")){const r=t.items[t.items.length-1];r&&!r.sep&&!r.value&&r.start.length>0&&l_(r.start)===-1&&(t.indent===0||r.start.every(s=>s.type!=="comment"||s.indent<t.indent))&&(i.type==="document"?i.end=r.start:i.items.push({start:r.start}),t.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 e={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":{l_(e.start)!==-1?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}const t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if(this.type==="map-value-ind"){const t=Kf(this.peek(2)),i=Ja(t);let r;e.end?(r=e.end,r.push(this.sourceToken),delete e.end):r=[this.sourceToken];const s={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:i,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let t=this.source.indexOf(`
|
|
136
|
+
`)+1;for(;t!==0;)this.onNewLine(this.offset+t),t=this.source.indexOf(`
|
|
137
|
+
`,t)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){const i="end"in t.value?t.value.end:void 0;(Array.isArray(i)?i[i.length-1]:void 0)?.type==="comment"?i?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){const r=e.items[e.items.length-2]?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){const i=!this.onKeyLine&&this.indent===e.indent,r=i&&(t.sep||t.explicitKey)&&this.type!=="seq-item-ind";let s=[];if(r&&t.sep&&!t.value){const o=[];for(let a=0;a<t.sep.length;++a){const c=t.sep[a];switch(c.type){case"newline":o.push(a);break;case"space":break;case"comment":c.indent>e.indent&&(o.length=0);break;default:o.length=0}}o.length>=2&&(s=t.sep.splice(o[1]))}switch(this.type){case"anchor":case"tag":r||t.value?(s.push(this.sourceToken),e.items.push({start:s}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":!t.sep&&!t.explicitKey?(t.start.push(this.sourceToken),t.explicitKey=!0):r||t.value?(s.push(this.sourceToken),e.items.push({start:s,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(xo(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]});else if(LN(t.key)&&!xo(t.sep,"newline")){const o=Ja(t.start),a=t.key,c=t.sep;c.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:a,sep:c}]})}else s.length>0?t.sep=t.sep.concat(s,this.sourceToken):t.sep.push(this.sourceToken);else if(xo(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const o=Ja(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||r?e.items.push({start:s,key:null,sep:[this.sourceToken]}):xo(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const o=this.flowScalar(this.type);r||t.value?(e.items.push({start:s,key:o,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(o):(Object.assign(t,{key:o,sep:[]}),this.onKeyLine=!0);return}default:{const o=this.startBlockValue(e);if(o){i&&o.type!=="block-seq"&&e.items.push({start:s}),this.stack.push(o);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const i="end"in t.value?t.value.end:void 0;(Array.isArray(i)?i[i.length-1]:void 0)?.type==="comment"?i?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const r=e.items[e.items.length-2]?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||xo(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){const i=this.startBlockValue(e);if(i){this.stack.push(i);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.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(e.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const r=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:r,sep:[]}):t.sep?this.stack.push(r):Object.assign(t,{key:r,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}const i=this.startBlockValue(e);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===e.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=Kf(i),s=Ja(r);u_(e);const o=e.end.splice(1,e.end.length);o.push(this.sourceToken);const a={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:s,key:e,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let t=this.source.indexOf(`
|
|
138
|
+
`)+1;for(;t!==0;)this.onNewLine(this.offset+t),t=this.source.indexOf(`
|
|
139
|
+
`,t)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){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 t=Kf(e),i=Ja(t);return i.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const t=Kf(e),i=Ja(t);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!=="comment"||this.indent<=t?!1:e.every(i=>i.type==="newline"||i.type==="space")}*documentEnd(e){this.type!=="doc-mode"&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(e){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:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function NN(n){const e=n.prettyErrors!==!1;return{lineCounter:n.lineCounter||e&&new Nb||null,prettyErrors:e}}function kN(n,e={}){const{lineCounter:t,prettyErrors:i}=NN(e),r=new Sh(t?.addNewLine),s=new yh(e),o=Array.from(s.compose(r.parse(n)));if(i&&t)for(const a of o)a.errors.forEach(qd(n,t)),a.warnings.forEach(qd(n,t));return o.length>0?o:Object.assign([],{empty:!0},s.streamInfo())}function kb(n,e={}){const{lineCounter:t,prettyErrors:i}=NN(e),r=new Sh(t?.addNewLine),s=new yh(e);let o=null;for(const a of s.compose(r.parse(n),!0,n.length))if(!o)o=a;else if(o.options.logLevel!=="silent"){o.errors.push(new eo(a.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return i&&t&&(o.errors.forEach(qd(n,t)),o.warnings.forEach(qd(n,t))),o}function ON(n,e,t){let i;typeof e=="function"?i=e:t===void 0&&e&&typeof e=="object"&&(t=e);const r=kb(n,t);if(!r)return null;if(r.warnings.forEach(s=>Z1(r.options.logLevel,s)),r.errors.length>0){if(r.options.logLevel!=="silent")throw r.errors[0];r.errors=[]}return r.toJS(Object.assign({reviver:i},t))}function EN(n,e,t){let i=null;if(typeof e=="function"||Array.isArray(e)?i=e:t===void 0&&e&&(t=e),typeof t=="string"&&(t=t.length),typeof t=="number"){const r=Math.round(t);t=r<1?void 0:r>8?{indent:8}:{indent:r}}if(n===void 0){const{keepUndefined:r}=t??e??{};if(!r)return}return new ya(n,i,t).toString(t)}const TD=Object.freeze(Object.defineProperty({__proto__:null,Alias:Yu,CST:wN,Composer:yh,Document:ya,Lexer:Lb,LineCounter:Nb,Pair:Sn,Parser:Sh,Scalar:ot,Schema:tc,YAMLError:mh,YAMLMap:Yn,YAMLParseError:eo,YAMLSeq:Ts,YAMLWarning:_b,isAlias:fo,isCollection:zt,isDocument:ha,isMap:pa,isNode:qt,isPair:Bt,isScalar:Ft,isSeq:ma,parse:ON,parseAllDocuments:kN,parseDocument:kb,stringify:EN,visit:bs,visitAsync:Xu},Symbol.toStringTag,{value:"Module"})),SD=Object.freeze(Object.defineProperty({__proto__:null,Alias:Yu,CST:wN,Composer:yh,Document:ya,Lexer:Lb,LineCounter:Nb,Pair:Sn,Parser:Sh,Scalar:ot,Schema:tc,YAMLError:mh,YAMLMap:Yn,YAMLParseError:eo,YAMLSeq:Ts,YAMLWarning:_b,default:TD,isAlias:fo,isCollection:zt,isDocument:ha,isMap:pa,isNode:qt,isPair:Bt,isScalar:Ft,isSeq:ma,parse:ON,parseAllDocuments:kN,parseDocument:kb,stringify:EN,visit:bs,visitAsync:Xu},Symbol.toStringTag,{value:"Module"})),vD=RL(SD);var _D=Ee&&Ee.__createBinding||(Object.create?function(n,e,t,i){i===void 0&&(i=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,i,r)}:function(n,e,t,i){i===void 0&&(i=t),n[i]=e[t]}),wD=Ee&&Ee.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),CN=Ee&&Ee.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&_D(e,n,t);return wD(e,n),e};Object.defineProperty(Ce,"__esModule",{value:!0});Ce.numberEnumValues=Ce.indentationString=Ce.parseJSON=Ce.inflateBase64=Ce.errorMessage=Ce.repeatedCall=Ce.repeated=Ce.mustNotHappen=Ce.panic=Ce.assert=Ce.assertNever=Ce.nonNull=Ce.defined=Ce.checkArray=Ce.checkStringMap=Ce.checkString=Ce.isStringMap=void 0;const LD=vj,ND=CN(hB),kD=CN(vD),vh=Yt;function Og(n,e){if(typeof n!="object"||Array.isArray(n)||n===null)return!1;if(e!==void 0)for(const t of Object.getOwnPropertyNames(n)){const i=n[t];if(!e(i))return!1}return!0}Ce.isStringMap=Og;function OD(n){return typeof n=="string"}Ce.checkString=OD;function ED(n,e){return e&&Og(n,e)||Og(n)?n:ra(`Value must be an object, but is ${n}`)}Ce.checkStringMap=ED;function CD(n,e){if(!Array.isArray(n))return ra(`Value must be an array, but is ${n}`);if(e!==void 0){for(const t of n)if(!e(t))return ra(`Array item does not satisfy constraint: ${t}`)}return n}Ce.checkArray=CD;function AD(n){return n!==void 0?n:ra("Defined value expected, but got undefined")}Ce.defined=AD;function FD(n){return n!==null?n:ra("Non-null value expected, but got null")}Ce.nonNull=FD;function PD(n){return(0,vh.messageError)("InternalError",{message:`Unexpected object ${n}`})}Ce.assertNever=PD;function MD(n,e="Assertion failed"){if(!n)return(0,vh.messageError)("InternalError",{message:e})}Ce.assert=MD;function ra(n){return(0,vh.messageError)("InternalError",{message:n})}Ce.panic=ra;function ID(){return ra("This must not happen")}Ce.mustNotHappen=ID;function RD(n,e){const t=[];for(let i=0;i<n;i++)t.push(e);return t}Ce.repeated=RD;function jD(n,e){const t=[];for(let i=0;i<n;i++)t.push(e());return t}Ce.repeatedCall=jD;function BD(n){return n instanceof Error?n.message:n.toString()}Ce.errorMessage=BD;function DD(n){const e=LD.Base64.atob(n);return ND.inflate(e,{to:"string"})}Ce.inflateBase64=DD;function UD(n,e,t="<unknown>"){try{return n.charCodeAt(0)===65279&&(n=n.slice(1)),kD.parse(n)}catch(i){let r;return i instanceof SyntaxError?r=i.message:r=`Unknown exception ${i}`,(0,vh.messageError)("MiscJSONParseError",{description:e,address:t,message:r})}}Ce.parseJSON=UD;function xD(n){return" ".repeat(n)}Ce.indentationString=xD;function JD(n){const e=[];for(const t of Object.keys(n)){const i=n[t];typeof i=="number"&&e.push(i)}return e}Ce.numberEnumValues=JD;(function(n){var e=Ee&&Ee.__importDefault||function(ie){return ie&&ie.__esModule?ie:{default:ie}};Object.defineProperty(n,"__esModule",{value:!0}),n.makeNameStyle=n.addPrefixIfNecessary=n.combineWords=n.allLowerWordStyle=n.originalWord=n.allUpperWordStyle=n.firstUpperWordStyle=n.splitIntoWords=n.fastIsUpperCase=n.startWithLetter=n.snakeCase=n.camelCase=n.pascalCase=n.decapitalize=n.capitalize=n.trimEnd=n.isWordCharacter=n.isLetterOrUnderscoreOrDigit=n.isLetterOrUnderscore=n.isLetterOrDigit=n.isNumeric=n.isDigit=n.isLetter=n.isAscii=n.isPrintable=n.stringEscape=n.utf16StringEscape=n.escapeNonPrintableMapper=n.standardUnicodeHexEscape=n.intToHex=n.repeatString=n.legalizeCharacters=n.utf16LegalizeCharacters=n.utf32ConcatMap=n.utf16ConcatMap=void 0;const t=e(ca),i=Yt,r=ih,s=Ce;function o(ie){const R=[],N=[];for(let A=0;A<128;A++){let V=0;const le=ie(A);le===String.fromCharCode(A)&&(V=1),R.push(le),N.push(V)}return{charStringMap:R,charNoEscapeMap:N}}function a(ie){const R=[];for(let N=0;N<128;N++)R.push(ie(N));return function(N){return N<128?R[N]:ie(N)}}function c(ie){const{charStringMap:R,charNoEscapeMap:N}=o(ie);return function(V){let le=null,Te=0,ye=0;for(;ye<V.length;){const Ie=V.charCodeAt(ye);if(N[Ie]!==1){le===null&&(le=[]),le.push(V.substring(Te,ye));const Ue=R[Ie];Ue===void 0?le.push(ie(V.charCodeAt(ye))):le.push(Ue),Te=ye+1}ye++}return le===null?V:(le.push(V.substring(Te,ye)),le.join(""))}}n.utf16ConcatMap=c;function f(ie){return ie>=55296&&ie<=56319}function d(ie){return ie>=56320&&ie<=57343}function p(ie){const{charStringMap:R,charNoEscapeMap:N}=o(ie);return function(V){let le=null,Te=0,ye=0;for(;ye<V.length;){let Ie=V.charCodeAt(ye);if(N[Ie]!==1){if(le===null&&(le=[]),le.push(V.substring(Te,ye)),f(Ie)){const ce=Ie;ye++;const me=V.charCodeAt(ye);(0,i.messageAssert)(d(me),"MiscUnicodeHighSurrogateWithoutLowSurrogate",{});const P=ce-55296;Ie=65536+(me-56320)+(P<<10)}const Ue=R[Ie];Ue===void 0?le.push(ie(Ie)):le.push(Ue),Te=ye+1}ye++}return le===null?V:(le.push(V.substring(Te,ye)),le.join(""))}}n.utf32ConcatMap=p;function y(ie){return c(R=>ie(R)?String.fromCharCode(R):"")}n.utf16LegalizeCharacters=y;function h(ie){return p(R=>R<=65535&&ie(R)?String.fromCharCode(R):"")}n.legalizeCharacters=h;function S(ie,R){if((0,s.assert)(R>=0,"Cannot repeat a string a negative number of times"),R===0)return"";let N="";do R%2!==0&&(N+=ie),R=Math.floor(R/2),R>0&&(ie+=ie);while(R>0);return N}n.repeatString=S;function m(ie,R){let N=ie.toString(16);return N.length>=R?N:S("0",R-N.length)+N}n.intToHex=m;function v(ie){return ie<=65535?"\\u"+m(ie,4):"\\U"+m(ie,8)}n.standardUnicodeHexEscape=v;function C(ie,R){function N(A){switch(A){case 92:return"\\\\";case 34:return'\\"';case 10:return"\\n";case 9:return"\\t";default:return ie(A)?String.fromCharCode(A):R(A)}}return N}n.escapeNonPrintableMapper=C,n.utf16StringEscape=c(C(U,v)),n.stringEscape=p(C(U,v));function U(ie){if(ie>65535)return!1;const R=t.default.getCategory(ie);return["Mc","No","Sk","Me","Nd","Po","Lt","Pc","Sm","Zs","Lu","Pd","So","Pe","Pf","Ps","Sc","Ll","Lm","Pi","Nl","Mn","Lo"].includes(R)}n.isPrintable=U;function x(ie){return ie<128}n.isAscii=x;function J(ie){const R=t.default.getCategory(ie);return["Lu","Ll","Lt","Lo"].includes(R)}n.isLetter=J;function D(ie){const R=t.default.getCategory(ie);return["Nd"].includes(R)}n.isDigit=D;function K(ie){const R=t.default.getCategory(ie);return["No","Nd","Nl"].includes(R)}n.isNumeric=K;function X(ie){return J(ie)||D(ie)}n.isLetterOrDigit=X;function E(ie){return J(ie)||ie===95}n.isLetterOrUnderscore=E;function j(ie){return E(ie)||D(ie)}n.isLetterOrUnderscoreOrDigit=j;function ne(ie){return J(ie)||D(ie)}n.isWordCharacter=ne;function se(ie){const R=ie.length;let N=R;for(let A=R-1;A>=0&&t.default.isWhiteSpace(ie.charCodeAt(A));A--)N=A;return N===R?ie:ie.slice(0,N)}n.trimEnd=se;function re(ie,R){return R===""?R:ie(R[0])+R.slice(1)}function T(ie){return re(R=>R.toUpperCase(),ie)}n.capitalize=T;function b(ie){return re(R=>R.toLowerCase(),ie)}n.decapitalize=b;const w=/[-_. ]+/;function L(ie){return ie.split(w).map(T).join("")}n.pascalCase=L;function M(ie){return b(L(ie))}n.camelCase=M;function z(ie){return Y(ie).map(({word:N})=>N.toLowerCase()).join("_")}n.snakeCase=z;function q(ie,R,N){const A=R?T:b;return N===""?A("empty"):ie(N.charCodeAt(0))?A(N):A("the"+N)}n.startWithLetter=q;const H=new Set(r.acronyms),$=a(ne),fe=a(ie=>!ne(ie)),I=a(ie=>t.default.isLowerCase(ie));n.fastIsUpperCase=a(ie=>t.default.isUpperCase(ie));const W=a(ie=>!t.default.isLowerCase(ie)&&!t.default.isUpperCase(ie)),F=a(D);function Y(ie){const R=[];let N;const A=ie.length;let V=0,le;function Te(){return V>=A}function ye(){return(0,s.defined)(ie.codePointAt(V))}function Ie(we){for(;!Te();){const We=ye();if(!we(We))break;I(We)&&(le=V),V++}}function Ue(){Ie(fe)}function ce(){Ie(I)}function me(){Ie(n.fastIsUpperCase)}function P(){Ie(W)}function _(){Ie(F)}function O(){(0,s.assert)(N===void 0,"Interval started before last one was committed"),N=V}function Z(){if(N===void 0)return(0,s.panic)("Tried to commit interval without starting one");(0,s.assert)(V>N,"Interval must be non-empty"),!Te()&&d(ye())&&(V+=1);const we=le===void 0||le<N;R.push([N,V,we]),N=void 0}function pe(){return N===void 0?(0,s.panic)("Tried to get interval length without starting one"):V-N}for(;Ue(),!Te();)O(),I(ye())?(ce(),_(),Z()):(0,n.fastIsUpperCase)(ye())?(me(),Te()?Z():pe()===1?(ce(),_(),Z()):D(ye())?(_(),Z()):($(ye())&&(V-=1),Z())):(P(),Z());const Se=[];for(const[we,We,ft]of R){const yt=ie.slice(we,We),dt=le!==void 0&&ft||H.has(yt.toLowerCase());Se.push({word:yt,isAcronym:dt})}return Se}n.splitIntoWords=Y;function de(ie){return(0,s.assert)(ie.length>0,"Cannot style an empty string"),ie[0].toUpperCase()+ie.slice(1).toLowerCase()}n.firstUpperWordStyle=de;function ve(ie){return ie.toUpperCase()}n.allUpperWordStyle=ve;function Le(ie){return ie}n.originalWord=Le;function Fe(ie){return ie.toLowerCase()}n.allLowerWordStyle=Fe;function Pe(ie,R){(0,s.assert)(R.length>0,"Tried to style an empty word");const N=ie(R);return(0,s.assert)(N.length>0,"Word style must not make word empty"),N}function Me(ie,R,N,A,V,le,Te,ye){const Ie=[];for(const O of ie){const Z=R(O.word);Z.length!==0&&Ie.push({word:Z,isAcronym:O.isAcronym})}if(Ie.length===0){const O=R("empty");(0,s.assert)(O.length>0,'Word "empty" is invalid in target language'),Ie.push({word:O,isAcronym:!1})}const Ue=[],ce=Ie[0],me=ce.isAcronym?V:N,P=Pe(me,ce.word);let _;if(ye((0,s.defined)(P.codePointAt(0))))Ue.push(P),_=Ie.slice(1);else{const O=R("the");(0,s.assert)(O.length>0,'Word "the" is invalid in the target language');const Z=Pe(N,O);(0,s.assert)(ye((0,s.defined)(Z.codePointAt(0))),'The first character of styling "the" is not a start character'),Ue.push(Z),_=Ie}for(const O of _){const Z=O.isAcronym?le:A;Ue.push(Pe(Z,O.word))}return Ue.join(Te)}n.combineWords=Me;function te(ie,R){return R.startsWith(ie)?R:ie+R}n.addPrefixIfNecessary=te;function ue(ie,R,N){let A,V,le,Te,ye;switch(ie==="pascal"||ie==="camel"||ie==="pascal-upper-acronyms"||ie==="camel-upper-acronyms"?(A="",ie==="pascal-upper-acronyms"||ie==="camel-upper-acronyms"?(le=de,ye=ve):le=ye=de):A="_",ie){case"pascal":case"pascal-upper-acronyms":V=Te=de;break;case"camel":case"camel-upper-acronyms":V=Te=Fe;break;case"underscore":V=le=Te=ye=Fe;break;case"upper-underscore":V=le=Te=ye=ve;break;default:return(0,s.assertNever)(ie)}return Ie=>{const Ue=Y(Ie),ce=Me(Ue,R,V,le,Te,ye,A,E);return N!==void 0?te(N,ce):ce}}n.makeNameStyle=ue})(Ke);var Tt={};Object.defineProperty(Tt,"__esModule",{value:!0});Tt.increaseTypeAttributesDistance=Tt.makeTypeAttributesInferred=Tt.combineTypeAttributes=Tt.emptyTypeAttributes=Tt.TypeAttributeKind=void 0;const pl=Ve,Vd=Ce;class Ob{constructor(e){this.name=e}appliesToTypeKind(e){return e!=="any"}combine(e){return(0,Vd.panic)(`Cannot combine type attribute ${this.name}`)}intersect(e){return this.combine(e)}makeInferred(e){return(0,Vd.panic)(`Cannot make type attribute ${this.name} inferred`)}increaseDistance(e){return e}addToSchema(e,t,i){}children(e){return new Set}stringify(e){}get inIdentity(){return!1}requiresUniqueIdentity(e){return!1}reconstitute(e,t){return t}makeAttributes(e){const t=[[this,e]];return new Map(t)}tryGetInAttributes(e){return e.get(this)}setInAttributes(e,t){return new Map(e).set(this,t)}modifyInAttributes(e,t){const i=t(this.tryGetInAttributes(e));if(i===void 0){const r=new Map(e);return r.delete(this),r}return this.setInAttributes(e,i)}setDefaultInAttributes(e,t){return this.tryGetInAttributes(e)!==void 0?e:this.modifyInAttributes(e,t)}removeInAttributes(e){return(0,pl.mapFilter)(e,(t,i)=>i!==this)}equals(e){return e instanceof Ob?this.name===e.name:!1}hashCode(){return(0,pl.hashString)(this.name)}}Tt.TypeAttributeKind=Ob;Tt.emptyTypeAttributes=new Map;function zD(n,e,t){const i=n==="union";let r;if(Array.isArray(e))r=e;else{if(t===void 0)return(0,Vd.panic)("Must have on array or two attributes");r=[e,t]}const s=(0,pl.mapTranspose)(r);function o(a,c){return(0,Vd.assert)(a.length>0,"Cannot combine zero type attributes"),a.length===1?a[0]:i?c.combine(a):c.intersect(a)}return(0,pl.mapFilterMap)(s,o)}Tt.combineTypeAttributes=zD;function WD(n){return(0,pl.mapFilterMap)(n,(e,t)=>t.makeInferred(e))}Tt.makeTypeAttributesInferred=WD;function GD(n){return(0,pl.mapFilterMap)(n,(e,t)=>t.increaseDistance(e))}Tt.increaseTypeAttributesDistance=GD;(function(n){var e=Ee&&Ee.__createBinding||(Object.create?function(K,X,E,j){j===void 0&&(j=E);var ne=Object.getOwnPropertyDescriptor(X,E);(!ne||("get"in ne?!X.__esModule:ne.writable||ne.configurable))&&(ne={enumerable:!0,get:function(){return X[E]}}),Object.defineProperty(K,j,ne)}:function(K,X,E,j){j===void 0&&(j=E),K[j]=X[E]}),t=Ee&&Ee.__setModuleDefault||(Object.create?function(K,X){Object.defineProperty(K,"default",{enumerable:!0,value:X})}:function(K,X){K.default=X}),i=Ee&&Ee.__importStar||function(K){if(K&&K.__esModule)return K;var X={};if(K!=null)for(var E in K)E!=="default"&&Object.prototype.hasOwnProperty.call(K,E)&&e(X,K,E);return t(X,K),X};Object.defineProperty(n,"__esModule",{value:!0}),n.makeNamesTypeAttributes=n.singularizeTypeNames=n.modifyTypeNames=n.namesTypeAttributeKind=n.TooManyTypeNames=n.RegularTypeNames=n.TypeNames=n.tooManyNamesThreshold=n.initTypeNames=void 0;const r=Ve,s=i(DL),o=nh,a=Ke,c=Ce,f=Tt;let d,p;function y(){d=new o.Chance(31415),p=new Set}n.initTypeNames=y,y();function h(){for(;;){const K=`${d.city()} ${d.animal()}`;if(!p.has(K))return p.add(K),K}}function S(K){let X=(0,r.iterableFirst)(K);if(X===void 0)return(0,c.panic)("Named type has no names");if(K.size===1)return X;const E=(0,r.setMap)(K,w=>(0,a.splitIntoWords)(w).map(L=>L.word.toLowerCase()).join("_")),j=(0,c.defined)((0,r.iterableFirst)(E));if(E.size===1)return j;let ne=j.length,se=j.length;for(const w of(0,r.iterableSkip)(E,1)){ne=Math.min(ne,w.length);for(let L=0;L<ne;L++)if(j[L]!==w[L]){ne=L;break}se=Math.min(se,w.length);for(let L=0;L<se;L++)if(j[j.length-L-1]!==w[w.length-L-1]){se=L;break}}const re=ne>2?j.slice(0,ne):"",T=se>2?j.slice(j.length-se):"",b=re+T;return b.length>2?b:j}n.tooManyNamesThreshold=1e3;class m{static makeWithDistance(X,E,j){return X.size>=n.tooManyNamesThreshold?new C(j):((E===void 0||E.size>n.tooManyNamesThreshold)&&(E=void 0),new v(X,E,j))}static make(X,E,j){return m.makeWithDistance(X,E,j?1:0)}constructor(X){this.distance=X}get areInferred(){return this.distance>0}}n.TypeNames=m;class v extends m{constructor(X,E,j){super(j),this.names=X,this._alternativeNames=E}add(X,E=0){let j=new Set(this.names),ne=this.distance,se=(0,r.definedMap)(this._alternativeNames,re=>new Set(re));for(let re=E;re<X.length;re++){const T=X[re];if(T instanceof v&&T._alternativeNames!==void 0&&(se===void 0&&(se=new Set),(0,r.setUnionInto)(se,T._alternativeNames)),!(T.distance>ne)){if(!(T instanceof v))return(0,c.assert)(T instanceof C,"Unknown TypeNames instance"),T.add(X,re+1);T.distance<ne?(j=new Set(T.names),ne=T.distance,se=(0,r.definedMap)(T._alternativeNames,b=>new Set(b))):((0,c.assert)(T.distance===ne,"This should be the only case left"),(0,r.setUnionInto)(j,T.names))}}return m.makeWithDistance(j,se,ne)}clearInferred(){const X=this.areInferred?new Set:this.names;return m.makeWithDistance(X,new Set,this.distance)}get combinedName(){return S(this.names)}get proposedNames(){const X=new Set([this.combinedName]);return this._alternativeNames===void 0||(0,r.setUnionInto)(X,this._alternativeNames),X}makeInferred(){return m.makeWithDistance(this.names,this._alternativeNames,this.distance+1)}singularize(){return m.makeWithDistance((0,r.setMap)(this.names,s.singular),(0,r.definedMap)(this._alternativeNames,X=>(0,r.setMap)(X,s.singular)),this.distance+1)}toString(){const E=`${this.areInferred?`distance ${this.distance}`:"given"} ${Array.from(this.names).join(",")}`;return this._alternativeNames===void 0?E:`${E} (${Array.from(this._alternativeNames).join(",")})`}}n.RegularTypeNames=v;class C extends m{constructor(X,E){super(X),E===void 0&&(E=h()),this.names=new Set([E])}get combinedName(){return(0,c.defined)((0,r.iterableFirst)(this.names))}get proposedNames(){return this.names}add(X,E=0){if(!this.areInferred)return this;for(let j=E;j<X.length;j++){const ne=X[j];if(ne.distance<this.distance)return ne.add(X,j+1)}return this}clearInferred(){return this.areInferred?m.makeWithDistance(new Set,new Set,this.distance):this}makeInferred(){return new C(this.distance+1,(0,r.iterableFirst)(this.names))}singularize(){return this}toString(){return`too many ${this.combinedName}`}}n.TooManyTypeNames=C;class U extends f.TypeAttributeKind{constructor(){super("names")}combine(X){return(0,c.assert)(X.length>0,"Can't combine zero type names"),X[0].add(X,1)}makeInferred(X){return X.makeInferred()}increaseDistance(X){return X.makeInferred()}stringify(X){return X.toString()}}n.namesTypeAttributeKind=new U;function x(K,X){return n.namesTypeAttributeKind.modifyInAttributes(K,X)}n.modifyTypeNames=x;function J(K){return x(K,X=>{if(X!==void 0)return X.singularize()})}n.singularizeTypeNames=J;function D(K,X){let E;return typeof K=="string"?E=m.make(new Set([K]),new Set,(0,c.defined)(X)):E=K,n.namesTypeAttributeKind.makeAttributes(E)}n.makeNamesTypeAttributes=D})(co);var _h={},Ns={},iy={},wh={},AN={exports:{}},Lu={exports:{}};/*! https://mths.be/punycode v1.4.0 by @mathias */Lu.exports;var c_;function qD(){return c_||(c_=1,function(n,e){(function(t){var i=e&&!e.nodeType&&e,r=n&&!n.nodeType&&n,s=typeof Ee=="object"&&Ee;(s.global===s||s.window===s||s.self===s)&&(t=s);var o,a=2147483647,c=36,f=1,d=26,p=38,y=700,h=72,S=128,m="-",v=/^xn--/,C=/[^\x20-\x7E]/,U=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},J=c-f,D=Math.floor,K=String.fromCharCode,X;function E(H){throw new RangeError(x[H])}function j(H,$){for(var fe=H.length,I=[];fe--;)I[fe]=$(H[fe]);return I}function ne(H,$){var fe=H.split("@"),I="";fe.length>1&&(I=fe[0]+"@",H=fe[1]),H=H.replace(U,".");var W=H.split("."),F=j(W,$).join(".");return I+F}function se(H){for(var $=[],fe=0,I=H.length,W,F;fe<I;)W=H.charCodeAt(fe++),W>=55296&&W<=56319&&fe<I?(F=H.charCodeAt(fe++),(F&64512)==56320?$.push(((W&1023)<<10)+(F&1023)+65536):($.push(W),fe--)):$.push(W);return $}function re(H){return j(H,function($){var fe="";return $>65535&&($-=65536,fe+=K($>>>10&1023|55296),$=56320|$&1023),fe+=K($),fe}).join("")}function T(H){return H-48<10?H-22:H-65<26?H-65:H-97<26?H-97:c}function b(H,$){return H+22+75*(H<26)-(($!=0)<<5)}function w(H,$,fe){var I=0;for(H=fe?D(H/y):H>>1,H+=D(H/$);H>J*d>>1;I+=c)H=D(H/J);return D(I+(J+1)*H/(H+p))}function L(H){var $=[],fe=H.length,I,W=0,F=S,Y=h,de,ve,Le,Fe,Pe,Me,te,ue,ie;for(de=H.lastIndexOf(m),de<0&&(de=0),ve=0;ve<de;++ve)H.charCodeAt(ve)>=128&&E("not-basic"),$.push(H.charCodeAt(ve));for(Le=de>0?de+1:0;Le<fe;){for(Fe=W,Pe=1,Me=c;Le>=fe&&E("invalid-input"),te=T(H.charCodeAt(Le++)),(te>=c||te>D((a-W)/Pe))&&E("overflow"),W+=te*Pe,ue=Me<=Y?f:Me>=Y+d?d:Me-Y,!(te<ue);Me+=c)ie=c-ue,Pe>D(a/ie)&&E("overflow"),Pe*=ie;I=$.length+1,Y=w(W-Fe,I,Fe==0),D(W/I)>a-F&&E("overflow"),F+=D(W/I),W%=I,$.splice(W++,0,F)}return re($)}function M(H){var $,fe,I,W,F,Y,de,ve,Le,Fe,Pe,Me=[],te,ue,ie,R;for(H=se(H),te=H.length,$=S,fe=0,F=h,Y=0;Y<te;++Y)Pe=H[Y],Pe<128&&Me.push(K(Pe));for(I=W=Me.length,W&&Me.push(m);I<te;){for(de=a,Y=0;Y<te;++Y)Pe=H[Y],Pe>=$&&Pe<de&&(de=Pe);for(ue=I+1,de-$>D((a-fe)/ue)&&E("overflow"),fe+=(de-$)*ue,$=de,Y=0;Y<te;++Y)if(Pe=H[Y],Pe<$&&++fe>a&&E("overflow"),Pe==$){for(ve=fe,Le=c;Fe=Le<=F?f:Le>=F+d?d:Le-F,!(ve<Fe);Le+=c)R=ve-Fe,ie=c-Fe,Me.push(K(b(Fe+R%ie,0))),ve=D(R/ie);Me.push(K(b(ve,0))),F=w(fe,ue,I==W),fe=0,++I}++fe,++$}return Me.join("")}function z(H){return ne(H,function($){return v.test($)?L($.slice(4).toLowerCase()):$})}function q(H){return ne(H,function($){return C.test($)?"xn--"+M($):$})}if(o={version:"1.3.2",ucs2:{decode:se,encode:re},decode:L,encode:M,toASCII:q,toUnicode:z},i&&r)if(n.exports==i)r.exports=o;else for(X in o)o.hasOwnProperty(X)&&(i[X]=o[X]);else t.punycode=o})(Ee)}(Lu,Lu.exports)),Lu.exports}var ry={exports:{}};/*!
|
|
140
|
+
* URI.js - Mutating URLs
|
|
141
|
+
* IPv6 Support
|
|
142
|
+
*
|
|
143
|
+
* Version: 1.19.11
|
|
144
|
+
*
|
|
145
|
+
* Author: Rodney Rehm
|
|
146
|
+
* Web: http://medialize.github.io/URI.js/
|
|
147
|
+
*
|
|
148
|
+
* Licensed under
|
|
149
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
|
150
|
+
*
|
|
151
|
+
*/var f_;function HD(){return f_||(f_=1,function(n){(function(e,t){n.exports?n.exports=t():e.IPv6=t(e)})(Ee,function(e){var t=e&&e.IPv6;function i(s){var o=s.toLowerCase(),a=o.split(":"),c=a.length,f=8;a[0]===""&&a[1]===""&&a[2]===""?(a.shift(),a.shift()):a[0]===""&&a[1]===""?a.shift():a[c-1]===""&&a[c-2]===""&&a.pop(),c=a.length,a[c-1].indexOf(".")!==-1&&(f=7);var d;for(d=0;d<c&&a[d]!=="";d++);if(d<f)for(a.splice(d,1,"0000");a.length<f;)a.splice(d,0,"0000");for(var p,y=0;y<f;y++){p=a[y].split("");for(var h=0;h<3&&(p[0]==="0"&&p.length>1);h++)p.splice(0,1);a[y]=p.join("")}var S=-1,m=0,v=0,C=-1,U=!1;for(y=0;y<f;y++)U?a[y]==="0"?v+=1:(U=!1,v>m&&(S=C,m=v)):a[y]==="0"&&(U=!0,C=y,v=1);v>m&&(S=C,m=v),m>1&&a.splice(S,m,""),c=a.length;var x="";for(a[0]===""&&(x=":"),y=0;y<c&&(x+=a[y],y!==c-1);y++)x+=":";return a[c-1]===""&&(x+=":"),x}function r(){return e.IPv6===this&&(e.IPv6=t),this}return{best:i,noConflict:r}})}(ry)),ry.exports}var sy={exports:{}};/*!
|
|
152
|
+
* URI.js - Mutating URLs
|
|
153
|
+
* Second Level Domain (SLD) Support
|
|
154
|
+
*
|
|
155
|
+
* Version: 1.19.11
|
|
156
|
+
*
|
|
157
|
+
* Author: Rodney Rehm
|
|
158
|
+
* Web: http://medialize.github.io/URI.js/
|
|
159
|
+
*
|
|
160
|
+
* Licensed under
|
|
161
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
|
162
|
+
*
|
|
163
|
+
*/var d_;function VD(){return d_||(d_=1,function(n){(function(e,t){n.exports?n.exports=t():e.SecondLevelDomains=t(e)})(Ee,function(e){var t=e&&e.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 s=r.lastIndexOf(".");if(s<=0||s>=r.length-1)return!1;var o=r.lastIndexOf(".",s-1);if(o<=0||o>=s-1)return!1;var a=i.list[r.slice(s+1)];return a?a.indexOf(" "+r.slice(o+1,s)+" ")>=0:!1},is:function(r){var s=r.lastIndexOf(".");if(s<=0||s>=r.length-1)return!1;var o=r.lastIndexOf(".",s-1);if(o>=0)return!1;var a=i.list[r.slice(s+1)];return a?a.indexOf(" "+r.slice(0,s)+" ")>=0:!1},get:function(r){var s=r.lastIndexOf(".");if(s<=0||s>=r.length-1)return null;var o=r.lastIndexOf(".",s-1);if(o<=0||o>=s-1)return null;var a=i.list[r.slice(s+1)];return!a||a.indexOf(" "+r.slice(o+1,s)+" ")<0?null:r.slice(o+1)},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return i})}(sy)),sy.exports}/*!
|
|
164
|
+
* URI.js - Mutating URLs
|
|
165
|
+
*
|
|
166
|
+
* Version: 1.19.11
|
|
167
|
+
*
|
|
168
|
+
* Author: Rodney Rehm
|
|
169
|
+
* Web: http://medialize.github.io/URI.js/
|
|
170
|
+
*
|
|
171
|
+
* Licensed under
|
|
172
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
|
173
|
+
*
|
|
174
|
+
*/(function(n){(function(e,t){n.exports?n.exports=t(qD(),HD(),VD()):e.URI=t(e.punycode,e.IPv6,e.SecondLevelDomains,e)})(Ee,function(e,t,i,r){var s=r&&r.URI;function o(T,b){var w=arguments.length>=1,L=arguments.length>=2;if(!(this instanceof o))return w?L?new o(T,b):new o(T):new o;if(T===void 0){if(w)throw new TypeError("undefined is not a valid argument for URI");typeof location<"u"?T=location.href+"":T=""}if(T===null&&w)throw new TypeError("null is not a valid argument for URI");return this.href(T),b!==void 0?this.absoluteTo(b):this}function a(T){return/^[0-9]+$/.test(T)}o.version="1.19.11";var c=o.prototype,f=Object.prototype.hasOwnProperty;function d(T){return T.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function p(T){return T===void 0?"Undefined":String(Object.prototype.toString.call(T)).slice(8,-1)}function y(T){return p(T)==="Array"}function h(T,b){var w={},L,M;if(p(b)==="RegExp")w=null;else if(y(b))for(L=0,M=b.length;L<M;L++)w[b[L]]=!0;else w[b]=!0;for(L=0,M=T.length;L<M;L++){var z=w&&w[T[L]]!==void 0||!w&&b.test(T[L]);z&&(T.splice(L,1),M--,L--)}return T}function S(T,b){var w,L;if(y(b)){for(w=0,L=b.length;w<L;w++)if(!S(T,b[w]))return!1;return!0}var M=p(b);for(w=0,L=T.length;w<L;w++)if(M==="RegExp"){if(typeof T[w]=="string"&&T[w].match(b))return!0}else if(T[w]===b)return!0;return!1}function m(T,b){if(!y(T)||!y(b)||T.length!==b.length)return!1;T.sort(),b.sort();for(var w=0,L=T.length;w<L;w++)if(T[w]!==b[w])return!1;return!0}function v(T){var b=/^\/+|\/+$/g;return T.replace(b,"")}o._parts=function(){return{protocol:null,username:null,password:null,hostname:null,urn:null,port:null,path:null,query:null,fragment:null,preventInvalidHostname:o.preventInvalidHostname,duplicateQueryParameters:o.duplicateQueryParameters,escapeQuerySpace:o.escapeQuerySpace}},o.preventInvalidHostname=!1,o.duplicateQueryParameters=!1,o.escapeQuerySpace=!0,o.protocol_expression=/^[a-z][a-z0-9.+-]*$/i,o.idn_expression=/[^a-z0-9\._-]/i,o.punycode_expression=/(xn--)/i,o.ip4_expression=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,o.ip6_expression=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,o.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,o.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},o.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,o.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,o.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},o.hostProtocols=["http","https"],o.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,o.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"},o.getDomAttribute=function(T){if(!(!T||!T.nodeName)){var b=T.nodeName.toLowerCase();if(!(b==="input"&&T.type!=="image"))return o.domAttributes[b]}};function C(T){return escape(T)}function U(T){return encodeURIComponent(T).replace(/[!'()*]/g,C).replace(/\*/g,"%2A")}o.encode=U,o.decode=decodeURIComponent,o.iso8859=function(){o.encode=escape,o.decode=unescape},o.unicode=function(){o.encode=U,o.decode=decodeURIComponent},o.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"}}}},o.encodeQuery=function(T,b){var w=o.encode(T+"");return b===void 0&&(b=o.escapeQuerySpace),b?w.replace(/%20/g,"+"):w},o.decodeQuery=function(T,b){T+="",b===void 0&&(b=o.escapeQuerySpace);try{return o.decode(b?T.replace(/\+/g,"%20"):T)}catch{return T}};var x={encode:"encode",decode:"decode"},J,D=function(T,b){return function(w){try{return o[b](w+"").replace(o.characters[T][b].expression,function(L){return o.characters[T][b].map[L]})}catch{return w}}};for(J in x)o[J+"PathSegment"]=D("pathname",x[J]),o[J+"UrnPathSegment"]=D("urnpath",x[J]);var K=function(T,b,w){return function(L){var M;w?M=function($){return o[b](o[w]($))}:M=o[b];for(var z=(L+"").split(T),q=0,H=z.length;q<H;q++)z[q]=M(z[q]);return z.join(T)}};o.decodePath=K("/","decodePathSegment"),o.decodeUrnPath=K(":","decodeUrnPathSegment"),o.recodePath=K("/","encodePathSegment","decode"),o.recodeUrnPath=K(":","encodeUrnPathSegment","decode"),o.encodeReserved=D("reserved","encode"),o.parse=function(T,b){var w;return b||(b={preventInvalidHostname:o.preventInvalidHostname}),T=T.replace(o.leading_whitespace_expression,""),T=T.replace(o.ascii_tab_whitespace,""),w=T.indexOf("#"),w>-1&&(b.fragment=T.substring(w+1)||null,T=T.substring(0,w)),w=T.indexOf("?"),w>-1&&(b.query=T.substring(w+1)||null,T=T.substring(0,w)),T=T.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://"),T=T.replace(/^[/\\]{2,}/i,"//"),T.substring(0,2)==="//"?(b.protocol=null,T=T.substring(2),T=o.parseAuthority(T,b)):(w=T.indexOf(":"),w>-1&&(b.protocol=T.substring(0,w)||null,b.protocol&&!b.protocol.match(o.protocol_expression)?b.protocol=void 0:T.substring(w+1,w+3).replace(/\\/g,"/")==="//"?(T=T.substring(w+3),T=o.parseAuthority(T,b)):(T=T.substring(w+1),b.urn=!0))),b.path=T,b},o.parseHost=function(T,b){T||(T=""),T=T.replace(/\\/g,"/");var w=T.indexOf("/"),L,M;if(w===-1&&(w=T.length),T.charAt(0)==="[")L=T.indexOf("]"),b.hostname=T.substring(1,L)||null,b.port=T.substring(L+2,w)||null,b.port==="/"&&(b.port=null);else{var z=T.indexOf(":"),q=T.indexOf("/"),H=T.indexOf(":",z+1);H!==-1&&(q===-1||H<q)?(b.hostname=T.substring(0,w)||null,b.port=null):(M=T.substring(0,w).split(":"),b.hostname=M[0]||null,b.port=M[1]||null)}return b.hostname&&T.substring(w).charAt(0)!=="/"&&(w++,T="/"+T),b.preventInvalidHostname&&o.ensureValidHostname(b.hostname,b.protocol),b.port&&o.ensureValidPort(b.port),T.substring(w)||"/"},o.parseAuthority=function(T,b){return T=o.parseUserinfo(T,b),o.parseHost(T,b)},o.parseUserinfo=function(T,b){var w=T,L=T.indexOf("\\");L!==-1&&(T=T.replace(/\\/g,"/"));var M=T.indexOf("/"),z=T.lastIndexOf("@",M>-1?M:T.length-1),q;return z>-1&&(M===-1||z<M)?(q=T.substring(0,z).split(":"),b.username=q[0]?o.decode(q[0]):null,q.shift(),b.password=q[0]?o.decode(q.join(":")):null,T=w.substring(z+1)):(b.username=null,b.password=null),T},o.parseQuery=function(T,b){if(!T)return{};if(T=T.replace(/&+/g,"&").replace(/^\?*&*|&+$/g,""),!T)return{};for(var w={},L=T.split("&"),M=L.length,z,q,H,$=0;$<M;$++)z=L[$].split("="),q=o.decodeQuery(z.shift(),b),H=z.length?o.decodeQuery(z.join("="),b):null,q!=="__proto__"&&(f.call(w,q)?((typeof w[q]=="string"||w[q]===null)&&(w[q]=[w[q]]),w[q].push(H)):w[q]=H);return w},o.build=function(T){var b="",w=!1;return T.protocol&&(b+=T.protocol+":"),!T.urn&&(b||T.hostname)&&(b+="//",w=!0),b+=o.buildAuthority(T)||"",typeof T.path=="string"&&(T.path.charAt(0)!=="/"&&w&&(b+="/"),b+=T.path),typeof T.query=="string"&&T.query&&(b+="?"+T.query),typeof T.fragment=="string"&&T.fragment&&(b+="#"+T.fragment),b},o.buildHost=function(T){var b="";if(T.hostname)o.ip6_expression.test(T.hostname)?b+="["+T.hostname+"]":b+=T.hostname;else return"";return T.port&&(b+=":"+T.port),b},o.buildAuthority=function(T){return o.buildUserinfo(T)+o.buildHost(T)},o.buildUserinfo=function(T){var b="";return T.username&&(b+=o.encode(T.username)),T.password&&(b+=":"+o.encode(T.password)),b&&(b+="@"),b},o.buildQuery=function(T,b,w){var L="",M,z,q,H;for(z in T)if(z!=="__proto__"&&f.call(T,z))if(y(T[z]))for(M={},q=0,H=T[z].length;q<H;q++)T[z][q]!==void 0&&M[T[z][q]+""]===void 0&&(L+="&"+o.buildQueryParameter(z,T[z][q],w),b!==!0&&(M[T[z][q]+""]=!0));else T[z]!==void 0&&(L+="&"+o.buildQueryParameter(z,T[z],w));return L.substring(1)},o.buildQueryParameter=function(T,b,w){return o.encodeQuery(T,w)+(b!==null?"="+o.encodeQuery(b,w):"")},o.addQuery=function(T,b,w){if(typeof b=="object")for(var L in b)f.call(b,L)&&o.addQuery(T,L,b[L]);else if(typeof b=="string"){if(T[b]===void 0){T[b]=w;return}else typeof T[b]=="string"&&(T[b]=[T[b]]);y(w)||(w=[w]),T[b]=(T[b]||[]).concat(w)}else throw new TypeError("URI.addQuery() accepts an object, string as the name parameter")},o.setQuery=function(T,b,w){if(typeof b=="object")for(var L in b)f.call(b,L)&&o.setQuery(T,L,b[L]);else if(typeof b=="string")T[b]=w===void 0?null:w;else throw new TypeError("URI.setQuery() accepts an object, string as the name parameter")},o.removeQuery=function(T,b,w){var L,M,z;if(y(b))for(L=0,M=b.length;L<M;L++)T[b[L]]=void 0;else if(p(b)==="RegExp")for(z in T)b.test(z)&&(T[z]=void 0);else if(typeof b=="object")for(z in b)f.call(b,z)&&o.removeQuery(T,z,b[z]);else if(typeof b=="string")w!==void 0?p(w)==="RegExp"?!y(T[b])&&w.test(T[b])?T[b]=void 0:T[b]=h(T[b],w):T[b]===String(w)&&(!y(w)||w.length===1)?T[b]=void 0:y(T[b])&&(T[b]=h(T[b],w)):T[b]=void 0;else throw new TypeError("URI.removeQuery() accepts an object, string, RegExp as the first parameter")},o.hasQuery=function(T,b,w,L){switch(p(b)){case"String":break;case"RegExp":for(var M in T)if(f.call(T,M)&&b.test(M)&&(w===void 0||o.hasQuery(T,M,w)))return!0;return!1;case"Object":for(var z in b)if(f.call(b,z)&&!o.hasQuery(T,z,b[z]))return!1;return!0;default:throw new TypeError("URI.hasQuery() accepts a string, regular expression or object as the name parameter")}switch(p(w)){case"Undefined":return b in T;case"Boolean":var q=!!(y(T[b])?T[b].length:T[b]);return w===q;case"Function":return!!w(T[b],b,T);case"Array":if(!y(T[b]))return!1;var H=L?S:m;return H(T[b],w);case"RegExp":return y(T[b])?L?S(T[b],w):!1:!!(T[b]&&T[b].match(w));case"Number":w=String(w);case"String":return y(T[b])?L?S(T[b],w):!1:T[b]===w;default:throw new TypeError("URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter")}},o.joinPaths=function(){for(var T=[],b=[],w=0,L=0;L<arguments.length;L++){var M=new o(arguments[L]);T.push(M);for(var z=M.segment(),q=0;q<z.length;q++)typeof z[q]=="string"&&b.push(z[q]),z[q]&&w++}if(!b.length||!w)return new o("");var H=new o("").segment(b);return(T[0].path()===""||T[0].path().slice(0,1)==="/")&&H.path("/"+H.path()),H.normalize()},o.commonPath=function(T,b){var w=Math.min(T.length,b.length),L;for(L=0;L<w;L++)if(T.charAt(L)!==b.charAt(L)){L--;break}return L<1?T.charAt(0)===b.charAt(0)&&T.charAt(0)==="/"?"/":"":((T.charAt(L)!=="/"||b.charAt(L)!=="/")&&(L=T.substring(0,L).lastIndexOf("/")),T.substring(0,L+1))},o.withinString=function(T,b,w){w||(w={});var L=w.start||o.findUri.start,M=w.end||o.findUri.end,z=w.trim||o.findUri.trim,q=w.parens||o.findUri.parens,H=/[a-z0-9-]=["']?$/i;for(L.lastIndex=0;;){var $=L.exec(T);if(!$)break;var fe=$.index;if(w.ignoreHtml){var I=T.slice(Math.max(fe-3,0),fe);if(I&&H.test(I))continue}for(var W=fe+T.slice(fe).search(M),F=T.slice(fe,W),Y=-1;;){var de=q.exec(F);if(!de)break;var ve=de.index+de[0].length;Y=Math.max(Y,ve)}if(Y>-1?F=F.slice(0,Y)+F.slice(Y).replace(z,""):F=F.replace(z,""),!(F.length<=$[0].length)&&!(w.ignore&&w.ignore.test(F))){W=fe+F.length;var Le=b(F,fe,W,T);if(Le===void 0){L.lastIndex=W;continue}Le=String(Le),T=T.slice(0,fe)+Le+T.slice(W),L.lastIndex=fe+Le.length}}return L.lastIndex=0,T},o.ensureValidHostname=function(T,b){var w=!!T,L=!!b,M=!1;if(L&&(M=S(o.hostProtocols,b)),M&&!w)throw new TypeError("Hostname cannot be empty, if protocol is "+b);if(T&&T.match(o.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+T+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(T).match(o.invalid_hostname_characters))throw new TypeError('Hostname "'+T+'" contains characters other than [A-Z0-9.-:_]')}},o.ensureValidPort=function(T){if(T){var b=Number(T);if(!(a(b)&&b>0&&b<65536))throw new TypeError('Port "'+T+'" is not a valid port')}},o.noConflict=function(T){if(T){var b={URI:this.noConflict()};return r.URITemplate&&typeof r.URITemplate.noConflict=="function"&&(b.URITemplate=r.URITemplate.noConflict()),r.IPv6&&typeof r.IPv6.noConflict=="function"&&(b.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&typeof r.SecondLevelDomains.noConflict=="function"&&(b.SecondLevelDomains=r.SecondLevelDomains.noConflict()),b}else r.URI===this&&(r.URI=s);return this},c.build=function(T){return T===!0?this._deferred_build=!0:(T===void 0||this._deferred_build)&&(this._string=o.build(this._parts),this._deferred_build=!1),this},c.clone=function(){return new o(this)},c.valueOf=c.toString=function(){return this.build(!1)._string};function X(T){return function(b,w){return b===void 0?this._parts[T]||"":(this._parts[T]=b||null,this.build(!w),this)}}function E(T,b){return function(w,L){return w===void 0?this._parts[T]||"":(w!==null&&(w=w+"",w.charAt(0)===b&&(w=w.substring(1))),this._parts[T]=w,this.build(!L),this)}}c.protocol=X("protocol"),c.username=X("username"),c.password=X("password"),c.hostname=X("hostname"),c.port=X("port"),c.query=E("query","?"),c.fragment=E("fragment","#"),c.search=function(T,b){var w=this.query(T,b);return typeof w=="string"&&w.length?"?"+w:w},c.hash=function(T,b){var w=this.fragment(T,b);return typeof w=="string"&&w.length?"#"+w:w},c.pathname=function(T,b){if(T===void 0||T===!0){var w=this._parts.path||(this._parts.hostname?"/":"");return T?(this._parts.urn?o.decodeUrnPath:o.decodePath)(w):w}else return this._parts.urn?this._parts.path=T?o.recodeUrnPath(T):"":this._parts.path=T?o.recodePath(T):"/",this.build(!b),this},c.path=c.pathname,c.href=function(T,b){var w;if(T===void 0)return this.toString();this._string="",this._parts=o._parts();var L=T instanceof o,M=typeof T=="object"&&(T.hostname||T.path||T.pathname);if(T.nodeName){var z=o.getDomAttribute(T);T=T[z]||"",M=!1}if(!L&&M&&T.pathname!==void 0&&(T=T.toString()),typeof T=="string"||T instanceof String)this._parts=o.parse(String(T),this._parts);else if(L||M){var q=L?T._parts:T;for(w in q)w!=="query"&&f.call(this._parts,w)&&(this._parts[w]=q[w]);q.query&&this.query(q.query,!1)}else throw new TypeError("invalid input");return this.build(!b),this},c.is=function(T){var b=!1,w=!1,L=!1,M=!1,z=!1,q=!1,H=!1,$=!this._parts.urn;switch(this._parts.hostname&&($=!1,w=o.ip4_expression.test(this._parts.hostname),L=o.ip6_expression.test(this._parts.hostname),b=w||L,M=!b,z=M&&i&&i.has(this._parts.hostname),q=M&&o.idn_expression.test(this._parts.hostname),H=M&&o.punycode_expression.test(this._parts.hostname)),T.toLowerCase()){case"relative":return $;case"absolute":return!$;case"domain":case"name":return M;case"sld":return z;case"ip":return b;case"ip4":case"ipv4":case"inet4":return w;case"ip6":case"ipv6":case"inet6":return L;case"idn":return q;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return H}return null};var j=c.protocol,ne=c.port,se=c.hostname;c.protocol=function(T,b){if(T&&(T=T.replace(/:(\/\/)?$/,""),!T.match(o.protocol_expression)))throw new TypeError('Protocol "'+T+`" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]`);return j.call(this,T,b)},c.scheme=c.protocol,c.port=function(T,b){return this._parts.urn?T===void 0?"":this:(T!==void 0&&(T===0&&(T=null),T&&(T+="",T.charAt(0)===":"&&(T=T.substring(1)),o.ensureValidPort(T))),ne.call(this,T,b))},c.hostname=function(T,b){if(this._parts.urn)return T===void 0?"":this;if(T!==void 0){var w={preventInvalidHostname:this._parts.preventInvalidHostname},L=o.parseHost(T,w);if(L!=="/")throw new TypeError('Hostname "'+T+'" contains characters other than [A-Z0-9.-]');T=w.hostname,this._parts.preventInvalidHostname&&o.ensureValidHostname(T,this._parts.protocol)}return se.call(this,T,b)},c.origin=function(T,b){if(this._parts.urn)return T===void 0?"":this;if(T===void 0){var w=this.protocol(),L=this.authority();return L?(w?w+"://":"")+this.authority():""}else{var M=o(T);return this.protocol(M.protocol()).authority(M.authority()).build(!b),this}},c.host=function(T,b){if(this._parts.urn)return T===void 0?"":this;if(T===void 0)return this._parts.hostname?o.buildHost(this._parts):"";var w=o.parseHost(T,this._parts);if(w!=="/")throw new TypeError('Hostname "'+T+'" contains characters other than [A-Z0-9.-]');return this.build(!b),this},c.authority=function(T,b){if(this._parts.urn)return T===void 0?"":this;if(T===void 0)return this._parts.hostname?o.buildAuthority(this._parts):"";var w=o.parseAuthority(T,this._parts);if(w!=="/")throw new TypeError('Hostname "'+T+'" contains characters other than [A-Z0-9.-]');return this.build(!b),this},c.userinfo=function(T,b){if(this._parts.urn)return T===void 0?"":this;if(T===void 0){var w=o.buildUserinfo(this._parts);return w&&w.substring(0,w.length-1)}else return T[T.length-1]!=="@"&&(T+="@"),o.parseUserinfo(T,this._parts),this.build(!b),this},c.resource=function(T,b){var w;return T===void 0?this.path()+this.search()+this.hash():(w=o.parse(T),this._parts.path=w.path,this._parts.query=w.query,this._parts.fragment=w.fragment,this.build(!b),this)},c.subdomain=function(T,b){if(this._parts.urn)return T===void 0?"":this;if(T===void 0){if(!this._parts.hostname||this.is("IP"))return"";var w=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,w)||""}else{var L=this._parts.hostname.length-this.domain().length,M=this._parts.hostname.substring(0,L),z=new RegExp("^"+d(M));if(T&&T.charAt(T.length-1)!=="."&&(T+="."),T.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");return T&&o.ensureValidHostname(T,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(z,T),this.build(!b),this}},c.domain=function(T,b){if(this._parts.urn)return T===void 0?"":this;if(typeof T=="boolean"&&(b=T,T=void 0),T===void 0){if(!this._parts.hostname||this.is("IP"))return"";var w=this._parts.hostname.match(/\./g);if(w&&w.length<2)return this._parts.hostname;var L=this._parts.hostname.length-this.tld(b).length-1;return L=this._parts.hostname.lastIndexOf(".",L-1)+1,this._parts.hostname.substring(L)||""}else{if(!T)throw new TypeError("cannot set domain empty");if(T.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");if(o.ensureValidHostname(T,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=T;else{var M=new RegExp(d(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(M,T)}return this.build(!b),this}},c.tld=function(T,b){if(this._parts.urn)return T===void 0?"":this;if(typeof T=="boolean"&&(b=T,T=void 0),T===void 0){if(!this._parts.hostname||this.is("IP"))return"";var w=this._parts.hostname.lastIndexOf("."),L=this._parts.hostname.substring(w+1);return b!==!0&&i&&i.list[L.toLowerCase()]&&i.get(this._parts.hostname)||L}else{var M;if(T)if(T.match(/[^a-zA-Z0-9-]/))if(i&&i.is(T))M=new RegExp(d(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(M,T);else throw new TypeError('TLD "'+T+'" 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");M=new RegExp(d(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(M,T)}else throw new TypeError("cannot set TLD empty");return this.build(!b),this}},c.directory=function(T,b){if(this._parts.urn)return T===void 0?"":this;if(T===void 0||T===!0){if(!this._parts.path&&!this._parts.hostname)return"";if(this._parts.path==="/")return"/";var w=this._parts.path.length-this.filename().length-1,L=this._parts.path.substring(0,w)||(this._parts.hostname?"/":"");return T?o.decodePath(L):L}else{var M=this._parts.path.length-this.filename().length,z=this._parts.path.substring(0,M),q=new RegExp("^"+d(z));return this.is("relative")||(T||(T="/"),T.charAt(0)!=="/"&&(T="/"+T)),T&&T.charAt(T.length-1)!=="/"&&(T+="/"),T=o.recodePath(T),this._parts.path=this._parts.path.replace(q,T),this.build(!b),this}},c.filename=function(T,b){if(this._parts.urn)return T===void 0?"":this;if(typeof T!="string"){if(!this._parts.path||this._parts.path==="/")return"";var w=this._parts.path.lastIndexOf("/"),L=this._parts.path.substring(w+1);return T?o.decodePathSegment(L):L}else{var M=!1;T.charAt(0)==="/"&&(T=T.substring(1)),T.match(/\.?\//)&&(M=!0);var z=new RegExp(d(this.filename())+"$");return T=o.recodePath(T),this._parts.path=this._parts.path.replace(z,T),M?this.normalizePath(b):this.build(!b),this}},c.suffix=function(T,b){if(this._parts.urn)return T===void 0?"":this;if(T===void 0||T===!0){if(!this._parts.path||this._parts.path==="/")return"";var w=this.filename(),L=w.lastIndexOf("."),M,z;return L===-1?"":(M=w.substring(L+1),z=/^[a-z0-9%]+$/i.test(M)?M:"",T?o.decodePathSegment(z):z)}else{T.charAt(0)==="."&&(T=T.substring(1));var q=this.suffix(),H;if(q)T?H=new RegExp(d(q)+"$"):H=new RegExp(d("."+q)+"$");else{if(!T)return this;this._parts.path+="."+o.recodePath(T)}return H&&(T=o.recodePath(T),this._parts.path=this._parts.path.replace(H,T)),this.build(!b),this}},c.segment=function(T,b,w){var L=this._parts.urn?":":"/",M=this.path(),z=M.substring(0,1)==="/",q=M.split(L);if(T!==void 0&&typeof T!="number"&&(w=b,b=T,T=void 0),T!==void 0&&typeof T!="number")throw new Error('Bad segment "'+T+'", must be 0-based integer');if(z&&q.shift(),T<0&&(T=Math.max(q.length+T,0)),b===void 0)return T===void 0?q:q[T];if(T===null||q[T]===void 0)if(y(b)){q=[];for(var H=0,$=b.length;H<$;H++)!b[H].length&&(!q.length||!q[q.length-1].length)||(q.length&&!q[q.length-1].length&&q.pop(),q.push(v(b[H])))}else(b||typeof b=="string")&&(b=v(b),q[q.length-1]===""?q[q.length-1]=b:q.push(b));else b?q[T]=v(b):q.splice(T,1);return z&&q.unshift(""),this.path(q.join(L),w)},c.segmentCoded=function(T,b,w){var L,M,z;if(typeof T!="number"&&(w=b,b=T,T=void 0),b===void 0){if(L=this.segment(T,b,w),!y(L))L=L!==void 0?o.decode(L):void 0;else for(M=0,z=L.length;M<z;M++)L[M]=o.decode(L[M]);return L}if(!y(b))b=typeof b=="string"||b instanceof String?o.encode(b):b;else for(M=0,z=b.length;M<z;M++)b[M]=o.encode(b[M]);return this.segment(T,b,w)};var re=c.query;return c.query=function(T,b){if(T===!0)return o.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if(typeof T=="function"){var w=o.parseQuery(this._parts.query,this._parts.escapeQuerySpace),L=T.call(this,w);return this._parts.query=o.buildQuery(L||w,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!b),this}else return T!==void 0&&typeof T!="string"?(this._parts.query=o.buildQuery(T,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),this.build(!b),this):re.call(this,T,b)},c.setQuery=function(T,b,w){var L=o.parseQuery(this._parts.query,this._parts.escapeQuerySpace);if(typeof T=="string"||T instanceof String)L[T]=b!==void 0?b:null;else if(typeof T=="object")for(var M in T)f.call(T,M)&&(L[M]=T[M]);else throw new TypeError("URI.addQuery() accepts an object, string as the name parameter");return this._parts.query=o.buildQuery(L,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),typeof T!="string"&&(w=b),this.build(!w),this},c.addQuery=function(T,b,w){var L=o.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return o.addQuery(L,T,b===void 0?null:b),this._parts.query=o.buildQuery(L,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),typeof T!="string"&&(w=b),this.build(!w),this},c.removeQuery=function(T,b,w){var L=o.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return o.removeQuery(L,T,b),this._parts.query=o.buildQuery(L,this._parts.duplicateQueryParameters,this._parts.escapeQuerySpace),typeof T!="string"&&(w=b),this.build(!w),this},c.hasQuery=function(T,b,w){var L=o.parseQuery(this._parts.query,this._parts.escapeQuerySpace);return o.hasQuery(L,T,b,w)},c.setSearch=c.setQuery,c.addSearch=c.addQuery,c.removeSearch=c.removeQuery,c.hasSearch=c.hasQuery,c.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()},c.normalizeProtocol=function(T){return typeof this._parts.protocol=="string"&&(this._parts.protocol=this._parts.protocol.toLowerCase(),this.build(!T)),this},c.normalizeHostname=function(T){return this._parts.hostname&&(this.is("IDN")&&e?this._parts.hostname=e.toASCII(this._parts.hostname):this.is("IPv6")&&t&&(this._parts.hostname=t.best(this._parts.hostname)),this._parts.hostname=this._parts.hostname.toLowerCase(),this.build(!T)),this},c.normalizePort=function(T){return typeof this._parts.protocol=="string"&&this._parts.port===o.defaultPorts[this._parts.protocol]&&(this._parts.port=null,this.build(!T)),this},c.normalizePath=function(T){var b=this._parts.path;if(!b)return this;if(this._parts.urn)return this._parts.path=o.recodeUrnPath(this._parts.path),this.build(!T),this;if(this._parts.path==="/")return this;b=o.recodePath(b);var w,L="",M,z;for(b.charAt(0)!=="/"&&(w=!0,b="/"+b),(b.slice(-3)==="/.."||b.slice(-2)==="/.")&&(b+="/"),b=b.replace(/(\/(\.\/)+)|(\/\.$)/g,"/").replace(/\/{2,}/g,"/"),w&&(L=b.substring(1).match(/^(\.\.\/)+/)||"",L&&(L=L[0]));M=b.search(/\/\.\.(\/|$)/),M!==-1;){if(M===0){b=b.substring(3);continue}z=b.substring(0,M).lastIndexOf("/"),z===-1&&(z=M),b=b.substring(0,z)+b.substring(M+3)}return w&&this.is("relative")&&(b=L+b.substring(1)),this._parts.path=b,this.build(!T),this},c.normalizePathname=c.normalizePath,c.normalizeQuery=function(T){return typeof this._parts.query=="string"&&(this._parts.query.length?this.query(o.parseQuery(this._parts.query,this._parts.escapeQuerySpace)):this._parts.query=null,this.build(!T)),this},c.normalizeFragment=function(T){return this._parts.fragment||(this._parts.fragment=null,this.build(!T)),this},c.normalizeSearch=c.normalizeQuery,c.normalizeHash=c.normalizeFragment,c.iso8859=function(){var T=o.encode,b=o.decode;o.encode=escape,o.decode=decodeURIComponent;try{this.normalize()}finally{o.encode=T,o.decode=b}return this},c.unicode=function(){var T=o.encode,b=o.decode;o.encode=U,o.decode=unescape;try{this.normalize()}finally{o.encode=T,o.decode=b}return this},c.readable=function(){var T=this.clone();T.username("").password("").normalize();var b="";if(T._parts.protocol&&(b+=T._parts.protocol+"://"),T._parts.hostname&&(T.is("punycode")&&e?(b+=e.toUnicode(T._parts.hostname),T._parts.port&&(b+=":"+T._parts.port)):b+=T.host()),T._parts.hostname&&T._parts.path&&T._parts.path.charAt(0)!=="/"&&(b+="/"),b+=T.path(!0),T._parts.query){for(var w="",L=0,M=T._parts.query.split("&"),z=M.length;L<z;L++){var q=(M[L]||"").split("=");w+="&"+o.decodeQuery(q[0],this._parts.escapeQuerySpace).replace(/&/g,"%26"),q[1]!==void 0&&(w+="="+o.decodeQuery(q[1],this._parts.escapeQuerySpace).replace(/&/g,"%26"))}b+="?"+w.substring(1)}return b+=o.decodeQuery(T.hash(),!0),b},c.absoluteTo=function(T){var b=this.clone(),w=["protocol","username","password","hostname","port"],L,M,z;if(this._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(T instanceof o||(T=new o(T)),b._parts.protocol||(b._parts.protocol=T._parts.protocol,this._parts.hostname))return b;for(M=0;z=w[M];M++)b._parts[z]=T._parts[z];return b._parts.path?(b._parts.path.substring(-2)===".."&&(b._parts.path+="/"),b.path().charAt(0)!=="/"&&(L=T.directory(),L=L||(T.path().indexOf("/")===0?"/":""),b._parts.path=(L?L+"/":"")+b._parts.path,b.normalizePath())):(b._parts.path=T._parts.path,b._parts.query||(b._parts.query=T._parts.query)),b.build(),b},c.relativeTo=function(T){var b=this.clone().normalize(),w,L,M,z,q;if(b._parts.urn)throw new Error("URNs do not have any generally defined hierarchical components");if(T=new o(T).normalize(),w=b._parts,L=T._parts,z=b.path(),q=T.path(),z.charAt(0)!=="/")throw new Error("URI is already relative");if(q.charAt(0)!=="/")throw new Error("Cannot calculate a URI relative to another relative URI");if(w.protocol===L.protocol&&(w.protocol=null),w.username!==L.username||w.password!==L.password||w.protocol!==null||w.username!==null||w.password!==null)return b.build();if(w.hostname===L.hostname&&w.port===L.port)w.hostname=null,w.port=null;else return b.build();if(z===q)return w.path="",b.build();if(M=o.commonPath(z,q),!M)return b.build();var H=L.path.substring(M.length).replace(/[^\/]*$/,"").replace(/.*?\//g,"../");return w.path=H+w.path.substring(M.length)||"./",b.build()},c.equals=function(T){var b=this.clone(),w=new o(T),L={},M={},z={},q,H,$;if(b.normalize(),w.normalize(),b.toString()===w.toString())return!0;if(q=b.query(),H=w.query(),b.query(""),w.query(""),b.toString()!==w.toString()||q.length!==H.length)return!1;L=o.parseQuery(q,this._parts.escapeQuerySpace),M=o.parseQuery(H,this._parts.escapeQuerySpace);for($ in L)if(f.call(L,$)){if(y(L[$])){if(!m(L[$],M[$]))return!1}else if(L[$]!==M[$])return!1;z[$]=!0}for($ in M)if(f.call(M,$)&&!z[$])return!1;return!0},c.preventInvalidHostname=function(T){return this._parts.preventInvalidHostname=!!T,this},c.duplicateQueryParameters=function(T){return this._parts.duplicateQueryParameters=!!T,this},c.escapeQuerySpace=function(T){return this._parts.escapeQuerySpace=!!T,this},o})})(AN);var FN=AN.exports;(function(n){var e=Ee&&Ee.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(n,"__esModule",{value:!0}),n.uriSchemaAttributesProducer=n.uriInferenceAttributesProducer=n.uriTypeAttributeKind=void 0;const t=Ve,i=e(FN),r=Ce,s=Tt,o="qt-uri-protocols",a="qt-uri-extensions";class c extends s.TypeAttributeKind{constructor(){super("uriAttributes")}get inIdentity(){return!0}combine(S){const m=S.map(C=>C[0]),v=S.map(C=>C[1]);return[(0,t.setUnionManyInto)(new Set,m),(0,t.setUnionManyInto)(new Set,v)]}makeInferred(S){}addToSchema(S,m,v){if(m.kind!=="string"&&m.kind!=="uri")return;const[C,U]=v;C.size>0&&(S[o]=Array.from(C).sort()),U.size>0&&(S[a]=Array.from(U).sort())}}n.uriTypeAttributeKind=new c;const f=/^.+(\.[^./\\]+)$/;function d(h){const S=f.exec(h);if(S!==null)return S[1]}function p(h){try{const S=(0,i.default)(h),m=d(S.path()),v=m===void 0?[]:[m.toLowerCase()];return n.uriTypeAttributeKind.makeAttributes([new Set([S.protocol().toLowerCase()]),new Set(v)])}catch{return s.emptyTypeAttributes}}n.uriInferenceAttributesProducer=p;function y(h,S,m){if(typeof h!="object"||!m.has("string"))return;let v;const C=h[o];C!==void 0?v=new Set((0,r.checkArray)(C,r.checkString)):v=new Set;let U;const x=h[a];if(x!==void 0?U=new Set((0,r.checkArray)(x,r.checkString)):U=new Set,!(v.size===0&&U.size===0))return{forString:n.uriTypeAttributeKind.makeAttributes([v,U])}}n.uriSchemaAttributesProducer=y})(wh);var kt={},ic={};Object.defineProperty(ic,"__esModule",{value:!0});ic.Graph=void 0;const KD=Ve,pn=Ce;function PN(n){if(n.length===0)return 0;let e=-1,t=0;for(const i of n){(0,pn.assert)(i.length>0,"Empty component not allowed");for(const r of i)(0,pn.assert)(r>=0,"Negative vertex index is invalid"),e=Math.max(e,r),t+=1}return(0,pn.assert)(e+1===t,"Vertex indexes and count don't match up"),t}function ZD(n){let e=0;const t=[],i=n.length,r=(0,pn.repeated)(i,-1),s=(0,pn.repeated)(i,-1),o=(0,pn.repeated)(i,!1),a=[];function c(f){r[f]=e,s[f]=e,e+=1,t.push(f),o[f]=!0;for(const d of n[f])r[d]<0?(c(d),s[f]=Math.min(s[f],s[d])):o[d]&&(s[f]=Math.min(s[f],r[d]));if(s[f]===r[f]){const d=[];let p;do p=(0,pn.defined)(t.pop()),o[p]=!1,d.push(p);while(p!==f);a.push(d)}}for(let f=0;f<i;f++)r[f]<0&&c(f);return(0,pn.assert)(PN(a)===i,"We didn't put all the nodes into SCCs"),a}function QD(n,e){const t=e.length,i=n.length;(0,pn.assert)(i===PN(e),"Components don't match up with graph");const r=(0,pn.repeated)(i,-1);for(let s=0;s<t;s++)for(const o of e[s])(0,pn.assert)(r[o]<0,"We have a node that's in two components"),r[o]=s;return r}function XD(n,e){const t=e.length,i=QD(n,e),r=(0,pn.repeated)(t,!1),s=[];for(let o=0;o<t;o++){const a=[];for(const c of e[o])for(const f of n[c]){const d=i[f];d===o||r[d]||(a.push(d),r[d]=!0)}for(const c of a)(0,pn.assert)(r[c]),r[c]=!1;s.push(a)}return s}function YD(n){const e=n.length,t=(0,pn.repeatedCall)(e,()=>[]);for(let i=0;i<e;i++)for(const r of n[i])t[r].push(i);return t}function $D(n){const e=n.length,t=(0,pn.repeated)(e,0);for(const i of n)for(const r of i)t[r]+=1;return t}function eU(n){const e=n.length,t=$D(n),i=[];for(let r=0;r<e;r++)t[r]===0&&i.push(r);return i}class Eb{constructor(e,t,i){this._nodes=Array.from(e),this._indexByNode=new Map(this._nodes.map((s,o)=>[s,o]));let r;Array.isArray(i)?r=i:r=this._nodes.map(s=>Array.from(i(s)).map(o=>(0,pn.defined)(this._indexByNode.get(o)))),t&&(r=YD(r)),this._successors=r}get size(){return this._nodes.length}get nodes(){return this._nodes}findRoots(){const e=eU(this._successors);return new Set(e.map(t=>this._nodes[t]))}dfsTraversal(e,t,i){const r=(0,pn.repeated)(this.size,!1),s=o=>{if(!r[o]){r[o]=!0,t&&i(this._nodes[o]);for(const a of this._successors[o])s(a);t||i(this._nodes[o])}};s((0,pn.defined)(this._indexByNode.get(e)))}stronglyConnectedComponents(){const e=ZD(this._successors),t=XD(this._successors,e);return new Eb(e.map(i=>(0,KD.setMap)(i,r=>this._nodes[r])),!1,t)}makeDot(e,t){const i=[];i.push("digraph G {"),i.push(" ordering = out;"),i.push("");for(let r=0;r<this.size;r++){const s=this._nodes[r];e(s)&&i.push(` node${r} [label="${t(s)}"];`)}for(let r=0;r<this.size;r++)if(e(this._nodes[r]))for(const s of this._successors[r])e(this._nodes[s])&&i.push(` node${r} -> node${s};`);return i.push("}"),i.push(""),i.join(`
|
|
175
|
+
`)}}ic.Graph=Eb;var Xi={},oy={},es={},h_;function ks(){if(h_)return es;h_=1,Object.defineProperty(es,"__esModule",{value:!0}),es.inferTransformedStringTypeKindForString=es.stringTypesTypeAttributeKind=es.StringTypes=void 0;const n=Ve,e=Ce,t=Al(),i=Tt;let r=class Zs{static fromCase(v,C){return new Zs(new Map([[v,C]]),new Set)}static fromCases(v){for(const C of v);return new Zs(new Map(v.map(C=>[C,1])),new Set)}constructor(v,C){this.cases=v,this.transformations=C,v===void 0&&(0,e.assert)(C.size===0,"We can't have an unrestricted string that also allows transformations")}get isRestricted(){return this.cases!==void 0}union(v,C){if(this.cases===void 0)return this;const U=new Map(this.cases),x=new Set(this.transformations);for(let J=C;J<v.length;J++){const D=v[J];if(D.cases===void 0)return D;(0,n.mapMergeWithInto)(U,(K,X)=>K+X,D.cases),(0,n.setUnionInto)(x,D.transformations)}return new Zs(U,x)}intersect(v,C){let U=this.cases,x=this.transformations;for(let J=C;J<v.length;J++){const D=v[J];if(U===void 0)U=(0,n.definedMap)(D.cases,K=>new Map(K));else if(D.cases!==void 0){const K=U,X=D.cases,E=(0,n.setIntersect)(K.keys(),new Set(X.keys())),j=E.size>0?E.entries():new Set(K.keys()).entries();U=(0,n.mapMap)(j,ne=>{var se;const re=(0,e.defined)(K.get(ne)),T=(se=X.get(ne))!==null&&se!==void 0?se:Math.min();return Math.min(re,T)})}x=(0,n.setIntersect)(x,D.transformations)}return new Zs(U,x)}applyStringTypeMapping(v){if(!this.isRestricted)return this;const C=new Set;for(const U of this.transformations){const x=(0,t.stringTypeMappingGet)(v,U);if(x==="string")return Zs.unrestricted;C.add(x)}return new Zs(this.cases,new Set(C))}equals(v){return v instanceof Zs?(0,n.areEqual)(this.cases,v.cases)&&(0,n.areEqual)(this.transformations,v.transformations):!1}hashCode(){let v=(0,n.hashCodeOf)(this.cases);return v=(0,n.addHashCode)(v,(0,n.hashCodeOf)(this.transformations)),v}toString(){const v=[],C=this.cases;if(C===void 0)v.push("unrestricted");else{const U=(0,n.iterableFirst)(C.keys());U===void 0?v.push("enum with no cases"):v.push(`${C.size.toString()} enums: ${U} (${C.get(U)}), ...`)}return v.concat(Array.from(this.transformations)).join(",")}};es.StringTypes=r,r.unrestricted=new r(void 0,new Set);class s extends i.TypeAttributeKind{constructor(){super("stringTypes")}get inIdentity(){return!0}requiresUniqueIdentity(v){return v.cases!==void 0&&v.cases.size>0}combine(v){return(0,e.assert)(v.length>0),v[0].union(v,1)}intersect(v){return(0,e.assert)(v.length>0),v[0].intersect(v,1)}makeInferred(v){}stringify(v){return v.toString()}}es.stringTypesTypeAttributeKind=new s;const o=/^(0|-?[1-9]\d*)$/,a=1<<31,c=-(a+1);function f(m){if(o.exec(m)===null)return!1;const v=parseInt(m,10);return v>=a&&v<=c}const d=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function p(m){return d.exec(m)!==null}const y=/^(https?|ftp):\/\/[^{}]+$/;function h(m){return y.exec(m)!==null}function S(m,v){if(!(m.length===0||!"0123456789-abcdefth".includes(m[0]))){if(v.isDate(m))return"date";if(v.isTime(m))return"time";if(v.isDateTime(m))return"date-time";if(f(m))return"integer-string";if(m==="false"||m==="true")return"bool-string";if(p(m))return"uuid";if(h(m))return"uri"}}return es.inferTransformedStringTypeKindForString=S,es}var p_;function Al(){return p_||(p_=1,function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.TypeBuilder=n.getNoStringTypeMapping=n.stringTypeMappingGet=n.provenanceTypeAttributeKind=void 0;const e=Ve,t=ks(),i=Tt,r=Ce,s=rt(),o=ur();class a extends i.TypeAttributeKind{constructor(){super("provenance")}appliesToTypeKind(h){return!0}combine(h){return(0,e.setUnionManyInto)(new Set,h)}makeInferred(h){return h}stringify(h){return Array.from(h).sort().map(S=>S.toString()).join(",")}}n.provenanceTypeAttributeKind=new a;function c(y,h){const S=y.get(h);return S===void 0?"string":S}n.stringTypeMappingGet=c;let f;function d(){return f===void 0&&(f=new Map(Array.from(s.transformedStringTypeKinds).map(y=>[y,y]))),f}n.getNoStringTypeMapping=d;class p{constructor(h,S,m,v,C,U){this._stringTypeMapping=S,this.canonicalOrder=m,this._allPropertiesOptional=v,this._addProvenanceAttributes=C,this.topLevels=new Map,this.types=[],this.typeAttributes=[],this._addedForwardingIntersection=!1,this._typeForIdentity=new e.EqualityMap,(0,r.assert)(!C||!U,"We can't both inherit as well as add provenance"),this.typeGraph=new o.TypeGraph(this,h,C||U)}addTopLevel(h,S){(0,r.assert)(!this.topLevels.has(h),"Trying to add top-level with existing name"),(0,r.assert)(this.types[(0,o.typeRefIndex)(S)]!==void 0,"Trying to add a top-level type that doesn't exist (yet?)"),this.topLevels.set(h,S)}reserveTypeRef(){const h=this.types.length;this.types.push(void 0);const S=(0,o.makeTypeRef)(this.typeGraph,h),m=this._addProvenanceAttributes?n.provenanceTypeAttributeKind.makeAttributes(new Set([h])):i.emptyTypeAttributes;return this.typeAttributes.push(m),S}assertTypeRefGraph(h){h!==void 0&&(0,o.assertTypeRefGraph)(h,this.typeGraph)}assertTypeRefSetGraph(h){h!==void 0&&h.forEach(S=>this.assertTypeRefGraph(S))}filterTypeAttributes(h,S){const m=(0,e.mapFilter)(S,(v,C)=>C.appliesToTypeKind(h.kind));return S.size!==m.size&&this.setLostTypeAttributes(),m}commitType(h,S){this.assertTypeRefGraph(h);const m=(0,o.typeRefIndex)(h);(0,r.assert)(this.types[m]===void 0,"A type index was committed twice"),this.types[m]=S,this.typeAttributes[m]=this.filterTypeAttributes(S,this.typeAttributes[m])}addType(h,S,m){h!==void 0&&(this.assertTypeRefGraph(h),(0,r.assert)(this.types[(0,o.typeRefIndex)(h)]===void 0));const v=h??this.reserveTypeRef();if(m!==void 0){const U=(0,o.typeRefIndex)(v);this.typeAttributes[U]=(0,i.combineTypeAttributes)("union",this.typeAttributes[U],m)}const C=S(v);return this.commitType(v,C),v}typeAtIndex(h){const S=this.types[h];return S===void 0?(0,r.panic)("Trying to deref an undefined type in a type builder"):S}atIndex(h){const S=this.typeAtIndex(h),m=this.typeAttributes[h];return[S,m]}addAttributes(h,S){this.assertTypeRefGraph(h);const m=(0,o.typeRefIndex)(h),v=this.typeAttributes[m];(0,r.assert)((0,e.iterableEvery)(S,([x,J])=>{if(!x.inIdentity)return!0;const D=v.get(x);return D===void 0?!1:(0,e.areEqual)(D,J)}),"Can't add different identity type attributes to an existing type");const C=this.types[m];C!==void 0&&(S=this.filterTypeAttributes(C,S));const U=(0,e.mapFilter)(S,(x,J)=>!J.inIdentity);this.typeAttributes[m]=(0,i.combineTypeAttributes)("union",v,U)}finish(){return this.typeGraph.freeze(this.topLevels,this.types.map(r.defined),this.typeAttributes),this.typeGraph}addForwardingIntersection(h,S){return this.assertTypeRefGraph(S),this._addedForwardingIntersection=!0,this.addType(h,m=>new s.IntersectionType(m,this.typeGraph,new Set([S])),void 0)}forwardIfNecessary(h,S){if(S!==void 0)return h===void 0?S:this.addForwardingIntersection(h,S)}get didAddForwardingIntersection(){return this._addedForwardingIntersection}registerTypeForIdentity(h,S){h!==void 0&&this._typeForIdentity.set(h,S)}makeIdentity(h){return h()}getOrAddType(h,S,m,v){const C=this.makeIdentity(h);let U;if(C===void 0?U=void 0:U=this._typeForIdentity.get(C),U!==void 0){const J=this.forwardIfNecessary(v,U);return m!==void 0&&this.addAttributes(J,(0,e.mapFilter)(m,(D,K)=>!K.inIdentity)),J}const x=this.addType(v,S,m);return this.registerTypeForIdentity(C,x),x}registerType(h){this.registerTypeForIdentity(h.identity,h.typeRef)}getPrimitiveType(h,S,m){const v=(0,e.withDefault)(S,i.emptyTypeAttributes);let C=h==="string"?void 0:t.StringTypes.unrestricted;return(0,s.isPrimitiveStringTypeKind)(h)&&h!=="string"&&(h=c(this._stringTypeMapping,h)),h==="string"?this.getStringType(v,C,m):this.getOrAddType(()=>(0,s.primitiveTypeIdentity)(h,v),U=>new s.PrimitiveType(U,this.typeGraph,h),v,m)}getStringType(h,S,m){const v=(0,e.mapFind)(h,(C,U)=>U===t.stringTypesTypeAttributeKind);return(0,r.assert)(S===void 0!=(v===void 0),"Must instantiate string type with one enum case attribute"),v===void 0&&(h=(0,i.combineTypeAttributes)("union",h,t.stringTypesTypeAttributeKind.makeAttributes((0,r.defined)(S)))),this.getOrAddType(()=>(0,s.primitiveTypeIdentity)("string",h),C=>new s.PrimitiveType(C,this.typeGraph,"string"),h,m)}getEnumType(h,S,m){return this.getOrAddType(()=>(0,s.enumTypeIdentity)(h,S),v=>new s.EnumType(v,this.typeGraph,S),h,m)}makeClassProperty(h,S){return new s.ClassProperty(h,this.typeGraph,S)}getUniqueObjectType(h,S,m,v){return this.assertTypeRefGraph(m),S=(0,e.definedMap)(S,C=>this.modifyPropertiesIfNecessary(C)),this.addType(v,C=>new s.ObjectType(C,this.typeGraph,"object",!0,S,m),h)}getUniqueMapType(h){return this.addType(h,S=>new s.MapType(S,this.typeGraph,void 0),void 0)}getMapType(h,S,m){return this.assertTypeRefGraph(S),this.getOrAddType(()=>(0,s.mapTypeIdentify)(h,S),v=>new s.MapType(v,this.typeGraph,S),h,m)}setObjectProperties(h,S,m){this.assertTypeRefGraph(m);const v=(0,o.derefTypeRef)(h,this.typeGraph);if(!(v instanceof s.ObjectType))return(0,r.panic)("Tried to set properties of non-object type");v.setProperties(this.modifyPropertiesIfNecessary(S),m),this.registerType(v)}getUniqueArrayType(h){return this.addType(h,S=>new s.ArrayType(S,this.typeGraph,void 0),void 0)}getArrayType(h,S,m){return this.assertTypeRefGraph(S),this.getOrAddType(()=>(0,s.arrayTypeIdentity)(h,S),v=>new s.ArrayType(v,this.typeGraph,S),h,m)}setArrayItems(h,S){this.assertTypeRefGraph(S);const m=(0,o.derefTypeRef)(h,this.typeGraph);if(!(m instanceof s.ArrayType))return(0,r.panic)("Tried to set items of non-array type");m.setItems(S),this.registerType(m)}modifyPropertiesIfNecessary(h){return h.forEach(S=>this.assertTypeRefGraph(S.typeRef)),this.canonicalOrder&&(h=(0,e.mapSortByKey)(h)),this._allPropertiesOptional&&(h=(0,e.mapMap)(h,S=>this.makeClassProperty(S.typeRef,!0))),h}getClassType(h,S,m){return S=this.modifyPropertiesIfNecessary(S),this.getOrAddType(()=>(0,s.classTypeIdentity)(h,S),v=>new s.ClassType(v,this.typeGraph,!1,S),h,m)}getUniqueClassType(h,S,m,v){return m=(0,e.definedMap)(m,C=>this.modifyPropertiesIfNecessary(C)),this.addType(v,C=>new s.ClassType(C,this.typeGraph,S,m),h)}getUnionType(h,S,m){return this.assertTypeRefSetGraph(S),this.getOrAddType(()=>(0,s.unionTypeIdentity)(h,S),v=>new s.UnionType(v,this.typeGraph,S),h,m)}getUniqueUnionType(h,S,m){return this.assertTypeRefSetGraph(S),this.addType(m,v=>new s.UnionType(v,this.typeGraph,S),h)}getIntersectionType(h,S,m){return this.assertTypeRefSetGraph(S),this.getOrAddType(()=>(0,s.intersectionTypeIdentity)(h,S),v=>new s.IntersectionType(v,this.typeGraph,S),h,m)}getUniqueIntersectionType(h,S,m){return this.assertTypeRefSetGraph(S),this.addType(m,v=>new s.IntersectionType(v,this.typeGraph,S),h)}setSetOperationMembers(h,S){this.assertTypeRefSetGraph(S);const m=(0,o.derefTypeRef)(h,this.typeGraph);if(!(m instanceof s.UnionType||m instanceof s.IntersectionType))return(0,r.panic)("Tried to set members of non-set-operation type");m.setMembers(S),this.registerType(m)}setLostTypeAttributes(){}}n.TypeBuilder=p}(oy)),oy}var lt={},m_;function et(){if(m_)return lt;m_=1,Object.defineProperty(lt,"__esModule",{value:!0}),lt.matchCompoundType=lt.matchType=lt.matchTypeExhaustive=lt.stringTypesForType=lt.directlyReachableSingleNamedType=lt.directlyReachableTypes=lt.separateNamedTypes=lt.isNamedType=lt.getNullAsOptional=lt.nonNullTypeCases=lt.nullableFromUnion=lt.removeNullFromType=lt.removeNullFromUnion=lt.isAnyOrNull=lt.combineTypeAttributesOfTypes=lt.makeGroupsToFlatten=lt.setOperationMembersRecursively=lt.assertIsClass=lt.assertIsObject=void 0;const n=Ve,e=Tt,t=Ce,i=rt(),r=ks();function s(E){return E instanceof i.ObjectType?E:(0,t.panic)("Supposed object type is not an object type")}lt.assertIsObject=s;function o(E){return E instanceof i.ClassType?E:(0,t.panic)("Supposed class type is not a class type")}lt.assertIsClass=o;function a(E,j){const ne=Array.isArray(E)?E:[E],se=ne[0].kind,re=se!=="intersection",T=new Set,b=new Set;let w=e.emptyTypeAttributes;function L(M){if(M.kind===se){const z=M;if(T.has(z))return;T.add(z),j!==void 0&&(w=(0,e.combineTypeAttributes)(j,w,M.getAttributes()));for(const q of z.members)L(q)}else re||M.kind!=="any"?b.add(M):j!==void 0&&(w=(0,e.combineTypeAttributes)(j,w,M.getAttributes()))}for(const M of ne)L(M);return[b,w]}lt.setOperationMembersRecursively=a;function c(E,j){const ne=new n.EqualityMap;for(const se of E){const re=new Set(a(se,void 0)[0]);if(j!==void 0&&!j(re))continue;let T=ne.get(re);T===void 0&&(T=new Set,re.size===1&&T.add((0,t.defined)((0,n.iterableFirst)(re)))),T.add(se),ne.set(re,T)}return Array.from(ne.values()).map(se=>Array.from(se))}lt.makeGroupsToFlatten=c;function f(E,j){return(0,e.combineTypeAttributes)(E,Array.from(j).map(ne=>ne.getAttributes()))}lt.combineTypeAttributesOfTypes=f;function d(E){return E.kind==="any"||E.kind==="null"}lt.isAnyOrNull=d;function p(E,j=!1){function ne(re){return j===!1?re:j===!0?(0,n.setSortBy)(re,T=>T.kind):(0,n.setSortBy)(re,j)}const se=E.findMember("null");return se===void 0?[null,ne(E.members)]:[se,ne((0,n.setFilter)(E.members,re=>re.kind!=="null"))]}lt.removeNullFromUnion=p;function y(E){return E.kind==="null"?[E,new Set]:E instanceof i.UnionType?p(E):[null,new Set([E])]}lt.removeNullFromType=y;function h(E){const[j,ne]=p(E);return j===null||ne.size!==1?null:(0,t.defined)((0,n.iterableFirst)(ne))}lt.nullableFromUnion=h;function S(E){return y(E)[1]}lt.nonNullTypeCases=S;function m(E){const[j,ne]=y(E.type);return E.isOptional?[!0,ne]:[j!==null,ne]}lt.getNullAsOptional=m;function v(E){return["class","union","enum","object"].includes(E.kind)}lt.isNamedType=v;function C(E){const j=(0,n.setFilter)(E,re=>re.kind==="object"||re.kind==="class"),ne=(0,n.setFilter)(E,re=>re instanceof i.EnumType),se=(0,n.setFilter)(E,re=>re instanceof i.UnionType);return{objects:j,enums:ne,unions:se}}lt.separateNamedTypes=C;function U(E,j){const ne=j(E);return ne!==null?ne:(0,n.setUnion)(...Array.from(E.getNonAttributeChildren()).map(se=>U(se,j)))}lt.directlyReachableTypes=U;function x(E){const j=U(E,ne=>!(ne instanceof i.UnionType)&&v(ne)||ne instanceof i.UnionType&&h(ne)===null?new Set([ne]):null);return(0,t.assert)(j.size<=1,"Cannot have more than one defined type per top-level"),(0,n.iterableFirst)(j)}lt.directlyReachableSingleNamedType=x;function J(E){(0,t.assert)(E.kind==="string","Only strings can have string types");const j=r.stringTypesTypeAttributeKind.tryGetInAttributes(E.getAttributes());return j===void 0?(0,t.panic)("All strings must have a string type attribute"):j}lt.stringTypesForType=J;function D(E,j,ne,se,re,T,b,w,L,M,z,q,H,$,fe){if(E.isPrimitive()){if((0,i.isPrimitiveStringTypeKind)(E.kind))return E.kind==="string"?w(E):fe(E);const I=E.kind,W={none:j,any:ne,null:se,bool:re,integer:T,double:b}[I];return W!==void 0?W(E):(0,t.assertNever)(W)}else{if(E instanceof i.ArrayType)return L(E);if(E instanceof i.ClassType)return M(E);if(E instanceof i.MapType)return z(E);if(E instanceof i.ObjectType)return q(E);if(E instanceof i.EnumType)return H(E);if(E instanceof i.UnionType)return $(E)}return(0,t.panic)(`Unknown type ${E.kind}`)}lt.matchTypeExhaustive=D;function K(E,j,ne,se,re,T,b,w,L,M,z,q,H){function $(fe){return(0,t.panic)(`Unsupported type ${fe.kind} in non-exhaustive match`)}return D(E,$,j,ne,se,re,T,b,w,L,M,$,z,q,H??$)}lt.matchType=K;function X(E,j,ne,se,re,T){function b(w){}D(E,b,b,b,b,b,b,b,j,ne,se,re,b,T,b)}return lt.matchCompoundType=X,lt}var y_;function tU(){if(y_)return Xi;y_=1,Object.defineProperty(Xi,"__esModule",{value:!0}),Xi.GraphRewriteBuilder=Xi.GraphRemapBuilder=Xi.BaseGraphRewriteBuilder=Xi.TypeReconstituter=void 0;const n=Ve,e=Tt,t=Ce,i=Al(),r=ur(),s=et();class o{constructor(p,y,h,S,m){this._typeBuilder=p,this._makeClassUnique=y,this._typeAttributes=h,this._forwardingRef=S,this._register=m,this._wasUsed=!1,this._typeRef=void 0}builderForNewType(){return(0,t.assert)(!this._wasUsed,"TypeReconstituter used more than once"),this._wasUsed=!0,this._typeBuilder}builderForSetting(){return(0,t.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,t.panic)("Type was not reconstituted"):this._typeRef}register(p){(0,t.assert)(this._typeRef===void 0,"Cannot register a type twice"),this._typeRef=p,this._register(p)}registerAndAddAttributes(p){this._typeBuilder.addAttributes(p,this._typeAttributes),this.register(p)}lookup(p){if((0,t.assert)(!this._wasUsed,"Cannot lookup constituents after building type"),(0,r.isTypeRef)(p))return this._typeBuilder.lookupTypeRefs([p],void 0,!1);{const y=Array.from(p).map(h=>this._typeBuilder.lookupTypeRefs([h],void 0,!1));return y.some(h=>h===void 0)?void 0:y}}lookupMap(p){const y=this.lookup(p.values());if(y===void 0)return;(0,t.assert)(y.length===p.size,"Didn't get back the correct number of types");const h=new Map;let S=0;for(const m of p.keys())h.set(m,y[S]),S+=1;return h}reconstitute(p){return(0,t.assert)(this._wasUsed,"Cannot reconstitute constituents before building type"),(0,r.isTypeRef)(p)?this._typeBuilder.reconstituteTypeRef(p):Array.from(p).map(y=>this._typeBuilder.reconstituteTypeRef(y))}reconstituteMap(p){return(0,n.mapMap)(p,y=>this._typeBuilder.reconstituteTypeRef(y))}getPrimitiveType(p){this.register(this.builderForNewType().getPrimitiveType(p,this._typeAttributes,this._forwardingRef))}getEnumType(p){this.register(this.builderForNewType().getEnumType(this._typeAttributes,p,this._forwardingRef))}getUniqueMapType(){this.registerAndAddAttributes(this.builderForNewType().getUniqueMapType(this._forwardingRef))}getMapType(p){this.register(this.builderForNewType().getMapType(this._typeAttributes,p,this._forwardingRef))}getUniqueArrayType(){this.registerAndAddAttributes(this.builderForNewType().getUniqueArrayType(this._forwardingRef))}getArrayType(p){this.register(this.builderForNewType().getArrayType(this._typeAttributes,p,this._forwardingRef))}setArrayItems(p){this.builderForSetting().setArrayItems(this.getResult(),p)}makeClassProperty(p,y){return this._typeBuilder.makeClassProperty(p,y)}getObjectType(p,y){this.register(this.builderForNewType().getUniqueObjectType(this._typeAttributes,p,y,this._forwardingRef))}getUniqueObjectType(p,y){this.register(this.builderForNewType().getUniqueObjectType(this._typeAttributes,p,y,this._forwardingRef))}getClassType(p){if(this._makeClassUnique){this.getUniqueClassType(!1,p);return}this.register(this.builderForNewType().getClassType(this._typeAttributes,p,this._forwardingRef))}getUniqueClassType(p,y){this.register(this.builderForNewType().getUniqueClassType(this._typeAttributes,p,y,this._forwardingRef))}setObjectProperties(p,y){this.builderForSetting().setObjectProperties(this.getResult(),p,y)}getUnionType(p){this.register(this.builderForNewType().getUnionType(this._typeAttributes,p,this._forwardingRef))}getUniqueUnionType(){this.register(this.builderForNewType().getUniqueUnionType(this._typeAttributes,void 0,this._forwardingRef))}getIntersectionType(p){this.register(this.builderForNewType().getIntersectionType(this._typeAttributes,p,this._forwardingRef))}getUniqueIntersectionType(p){this.register(this.builderForNewType().getUniqueIntersectionType(this._typeAttributes,p,this._forwardingRef))}setSetOperationMembers(p){this.builderForSetting().setSetOperationMembers(this.getResult(),p)}}Xi.TypeReconstituter=o;class a extends i.TypeBuilder{constructor(p,y,h,S,m){super(p.serial+1,y,h,!1,!1,S),this.originalGraph=p,this.debugPrint=m,this.reconstitutedTypes=new Map,this._lostTypeAttributes=!1,this._printIndent=0}withForwardingRef(p,y){if(p!==void 0)return y(p);const h=this.reserveTypeRef(),S=y(h);return(0,t.assert)(S===h,"Type creator didn't return its forwarding ref"),S}reconstituteType(p,y,h){return this.reconstituteTypeRef(p.typeRef,y,h)}reconstituteTypeRef(p,y,h){const S=this.lookupTypeRefs([p],h);return S!==void 0?(y!==void 0&&this.addAttributes(S,y),S):this.forceReconstituteTypeRef(p,y,h)}reconstituteTypeAttributes(p){return(0,n.mapMap)(p,(y,h)=>h.reconstitute(this,y))}assertTypeRefsToReconstitute(p,y){(0,t.assert)(p.length>0,"Must have at least one type to reconstitute");for(const h of p)(0,r.assertTypeRefGraph)(h,this.originalGraph);y!==void 0&&(0,r.assertTypeRefGraph)(y,this.typeGraph)}changeDebugPrintIndent(p){this._printIndent+=p}get debugPrintIndentation(){return(0,t.indentationString)(this._printIndent)}finish(){for(const[p,y]of this.originalGraph.topLevels)this.addTopLevel(p,this.reconstituteType(y));return super.finish()}setLostTypeAttributes(){this._lostTypeAttributes=!0}get lostTypeAttributes(){return this._lostTypeAttributes}}Xi.BaseGraphRewriteBuilder=a;class c extends a{constructor(p,y,h,S,m,v){super(p,y,h,S,v),this._map=m,this._attributeSources=new Map;for(const[C,U]of m){let x=this._attributeSources.get(U);x===void 0&&(x=[U],this._attributeSources.set(U,x)),x.push(C)}}makeIdentity(p){}getMapTarget(p){const y=this._map.get((0,r.derefTypeRef)(p,this.originalGraph));return y===void 0?p:((0,t.assert)(this._map.get(y)===void 0,"We have a type that's remapped to a remapped type"),y.typeRef)}addForwardingIntersection(p,y){return(0,t.panic)("We can't add forwarding intersections when we're removing forwarding intersections")}lookupTypeRefs(p,y){(0,t.assert)(y===void 0,"We can't have a forwarding ref when we remap"),this.assertTypeRefsToReconstitute(p,y);const h=this.reconstitutedTypes.get((0,r.typeRefIndex)(this.getMapTarget(p[0])));if(h!==void 0){for(let S=1;S<p.length;S++){const m=this.reconstitutedTypes.get((0,r.typeRefIndex)(this.getMapTarget(p[S])));if(h!==m)return}return h}}forceReconstituteTypeRef(p,y,h){p=this.getMapTarget(p);const S=(0,r.typeRefIndex)(p);return(0,t.assert)(this.reconstitutedTypes.get(S)===void 0,"Type has already been reconstituted"),(0,t.assert)(h===void 0,"We can't have a forwarding ref when we remap"),this.withForwardingRef(void 0,m=>{this.reconstitutedTypes.set(S,m),this.debugPrint&&(console.log(`${this.debugPrintIndentation}reconstituting ${S} as ${(0,r.typeRefIndex)(m)}`),this.changeDebugPrintIndent(1));const[v,C]=(0,r.typeAndAttributesForTypeRef)(p,this.originalGraph),U=this._attributeSources.get(v);y===void 0&&(y=e.emptyTypeAttributes),U===void 0?y=(0,e.combineTypeAttributes)("union",y,this.reconstituteTypeAttributes(C)):y=(0,e.combineTypeAttributes)("union",y,this.reconstituteTypeAttributes((0,s.combineTypeAttributesOfTypes)("union",U)));const x=y,J=new o(this,this.canonicalOrder,x,m,D=>{(0,t.assert)(D===m,"Reconstituted type as a different ref"),this.debugPrint&&(this.changeDebugPrintIndent(-1),console.log(`${this.debugPrintIndentation}reconstituted ${S} as ${(0,r.typeRefIndex)(D)}`))});return v.reconstitute(J,this.canonicalOrder),J.getResult()})}}Xi.GraphRemapBuilder=c;class f extends a{constructor(p,y,h,S,m,v,C){super(p,y,h,S,v),this._replacer=C,this._reconstitutedUnions=new n.EqualityMap,this._setsToReplaceByMember=new Map;for(const U of m){const x=new Set(U);for(const J of x){const D=J.index;(0,t.assert)(!this._setsToReplaceByMember.has(D),"A type is member of more than one set to be replaced"),this._setsToReplaceByMember.set(D,x)}}}registerUnion(p,y){const h=new Set(p);(0,t.assert)(!this._reconstitutedUnions.has(h),"Cannot register reconstituted set twice"),this._reconstitutedUnions.set(h,y)}replaceSet(p,y){return this.withForwardingRef(y,h=>{this.debugPrint&&(console.log(`${this.debugPrintIndentation}replacing set ${Array.from(p).map(m=>m.index.toString()).join(",")} as ${(0,r.typeRefIndex)(h)}`),this.changeDebugPrintIndent(1));for(const m of p){const v=m.typeRef,C=(0,r.typeRefIndex)(v);this.reconstitutedTypes.set(C,h),this._setsToReplaceByMember.delete(C)}const S=this._replacer(p,this,h);return(0,t.assert)(S===h,"The forwarding ref got lost when replacing"),this.debugPrint&&(this.changeDebugPrintIndent(-1),console.log(`${this.debugPrintIndentation}replaced set ${Array.from(p).map(m=>m.index.toString()).join(",")} as ${(0,r.typeRefIndex)(h)}`)),S})}forceReconstituteTypeRef(p,y,h){const[S,m]=(0,r.typeAndAttributesForTypeRef)(p,this.originalGraph),v=(0,r.typeRefIndex)(p);this.debugPrint&&(console.log(`${this.debugPrintIndentation}reconstituting ${v}`),this.changeDebugPrintIndent(1)),y===void 0?y=this.reconstituteTypeAttributes(m):y=(0,e.combineTypeAttributes)("union",y,this.reconstituteTypeAttributes(m));const C=new o(this,this.canonicalOrder,y,h,U=>{this.debugPrint&&(this.changeDebugPrintIndent(-1),console.log(`${this.debugPrintIndentation}reconstituted ${v} as ${(0,r.typeRefIndex)(U)}`)),h!==void 0&&(0,t.assert)(U===h,"We didn't pass the forwarding ref");const x=this.reconstitutedTypes.get(v);x===void 0?this.reconstitutedTypes.set(v,U):(0,t.assert)(U===x,"We reconstituted a type twice differently")});return S.reconstitute(C,this.canonicalOrder),C.getResult()}lookupTypeRefs(p,y,h=!0){this.assertTypeRefsToReconstitute(p,y);let S=this.reconstitutedTypes.get((0,r.typeRefIndex)(p[0]));if(S!==void 0&&S!==y){let v=!0;for(let C=1;C<p.length;C++)if(this.reconstitutedTypes.get((0,r.typeRefIndex)(p[C]))!==S){v=!1;break}if(v)return this.forwardIfNecessary(y,S)}if(S=this._reconstitutedUnions.get(new Set(p)),S!==void 0&&S!==y)return this.forwardIfNecessary(y,S);const m=this._setsToReplaceByMember.get((0,r.typeRefIndex)(p[0]));if(m!==void 0){for(let v=1;v<p.length;v++)if(this._setsToReplaceByMember.get((0,r.typeRefIndex)(p[v]))!==m)return;if(h)return this.replaceSet(m,y)}}}return Xi.GraphRewriteBuilder=f,Xi}var g_;function ur(){if(g_)return kt;g_=1,Object.defineProperty(kt,"__esModule",{value:!0}),kt.removeIndirectionIntersections=kt.optionalToNullable=kt.noneToAny=kt.TypeGraph=kt.TypeAttributeStoreView=kt.TypeAttributeStore=kt.typeAndAttributesForTypeRef=kt.attributesForTypeRef=kt.derefTypeRef=kt.assertTypeRefGraph=kt.typeRefIndex=kt.makeTypeRef=kt.isTypeRef=void 0;const n=Ve,e=Tt,t=co,i=ic,r=tU(),s=Yt,o=Ce,a=rt(),c=Al(),f=et(),d=26,p=(1<<d)-1,h=(1<<31-d)-1;function S(re){return typeof re=="number"}kt.isTypeRef=S;function m(re,T){return(0,o.assert)(T<=p,"Too many types in graph"),(re.serial&h)<<d|T}kt.makeTypeRef=m;function v(re){return re&p}kt.typeRefIndex=v;function C(re,T){(0,o.assert)((re>>d&h)===(T.serial&h),"Mixing the wrong type reference and graph")}kt.assertTypeRefGraph=C;function U(re){return re instanceof E?re:re.originalGraph}function x(re,T){const b=U(T);return C(re,b),b.typeAtIndex(v(re))}kt.derefTypeRef=x;function J(re,T){const b=U(T);return C(re,b),b.atIndex(v(re))[1]}kt.attributesForTypeRef=J;function D(re,T){const b=U(T);return C(re,b),b.atIndex(v(re))}kt.typeAndAttributesForTypeRef=D;class K{constructor(T,b){this._typeGraph=T,this._values=b,this._topLevelValues=new Map}getTypeIndex(T){const b=T.typeRef;return C(b,this._typeGraph),v(b)}attributesForType(T){const b=this.getTypeIndex(T),w=this._values[b];return w!==void 0?w:e.emptyTypeAttributes}attributesForTopLevel(T){const b=this._topLevelValues.get(T);return b!==void 0?b:e.emptyTypeAttributes}setInMap(T,b,w){return new Map(T).set(b,w)}set(T,b,w){const L=this.getTypeIndex(b);for(;L>=this._values.length;)this._values.push(void 0);this._values[L]=this.setInMap(this.attributesForType(b),T,w)}setForTopLevel(T,b,w){this._topLevelValues.set(b,this.setInMap(this.attributesForTopLevel(b),T,w))}tryGetInMap(T,b){return T.get(b)}tryGet(T,b){return this.tryGetInMap(this.attributesForType(b),T)}tryGetForTopLevel(T,b){return this.tryGetInMap(this.attributesForTopLevel(b),T)}}kt.TypeAttributeStore=K;class X{constructor(T,b){this._attributeStore=T,this._definition=b}set(T,b){this._attributeStore.set(this._definition,T,b)}setForTopLevel(T,b){this._attributeStore.setForTopLevel(this._definition,T,b)}tryGet(T){return this._attributeStore.tryGet(this._definition,T)}get(T){return(0,o.defined)(this.tryGet(T))}tryGetForTopLevel(T){return this._attributeStore.tryGetForTopLevel(this._definition,T)}getForTopLevel(T){return(0,o.defined)(this.tryGetForTopLevel(T))}}kt.TypeAttributeStoreView=X;let E=class{constructor(T,b,w){this.serial=b,this._haveProvenanceAttributes=w,this._attributeStore=void 0,this._topLevels=new Map,this._parents=void 0,this._printOnRewrite=!1,this._typeBuilder=T}get isFrozen(){return this._typeBuilder===void 0}get attributeStore(){return(0,o.defined)(this._attributeStore)}freeze(T,b,w){(0,o.assert)(!this.isFrozen,"Tried to freeze TypeGraph a second time");for(const L of b)C(L.typeRef,this);this._attributeStore=new K(this,w),this._types=b,this._typeBuilder=void 0,this._topLevels=(0,n.mapMap)(T,L=>x(L,this))}get topLevels(){return(0,o.assert)(this.isFrozen,"Cannot get top-levels from a non-frozen graph"),this._topLevels}typeAtIndex(T){return this._typeBuilder!==void 0?this._typeBuilder.typeAtIndex(T):(0,o.defined)(this._types)[T]}atIndex(T){if(this._typeBuilder!==void 0)return this._typeBuilder.atIndex(T);const b=this.typeAtIndex(T);return[b,(0,o.defined)(this._attributeStore).attributesForType(b)]}filterTypes(T){const b=new Set;let w=[];function L(M){if(b.has(M))return;b.add(M),(T===void 0||T(M))&&w.push(M);for(const q of M.getChildren())L(q)}for(const[,M]of this.topLevels)L(M);return new Set(w)}allNamedTypes(){return this.filterTypes(f.isNamedType)}allNamedTypesSeparated(){const T=this.allNamedTypes();return(0,f.separateNamedTypes)(T)}allProvenance(){(0,o.assert)(this._haveProvenanceAttributes);const T=new X(this.attributeStore,c.provenanceTypeAttributeKind),b=Array.from(this.allTypesUnordered()).map(L=>{const M=T.tryGet(L);return M!==void 0?M:new Set}),w=new Set;return(0,n.setUnionManyInto)(w,b),w}setPrintOnRewrite(){this._printOnRewrite=!0}checkLostTypeAttributes(T,b){if(!this._haveProvenanceAttributes||T.lostTypeAttributes)return;const w=this.allProvenance(),L=b.allProvenance();if(w.size!==L.size){const M=(0,n.setSubtract)(w,L),z=Array.from(M);return(0,s.messageError)("IRTypeAttributesNotPropagated",{count:M.size,indexes:z})}}printRewrite(T){this._printOnRewrite&&console.log(`
|
|
176
|
+
# ${T}`)}rewrite(T,b,w,L,M,z,q=!1){if(this.printRewrite(T),!q&&L.length===0)return this;const H=new r.GraphRewriteBuilder(this,b,w,this._haveProvenanceAttributes,L,M,z),$=H.finish();return this.checkLostTypeAttributes(H,$),this._printOnRewrite&&($.setPrintOnRewrite(),$.printGraph()),H.didAddForwardingIntersection?se($,b,M):$}remap(T,b,w,L,M,z=!1){if(this.printRewrite(T),!z&&L.size===0)return this;const q=new r.GraphRemapBuilder(this,b,w,this._haveProvenanceAttributes,L,M),H=q.finish();return this.checkLostTypeAttributes(q,H),this._printOnRewrite&&(H.setPrintOnRewrite(),H.printGraph()),(0,o.assert)(!q.didAddForwardingIntersection),H}garbageCollect(T,b){return this.remap("GC",(0,c.getNoStringTypeMapping)(),T,new Map,b,!0)}rewriteFixedPoint(T,b){let w=this;for(;;){const L=this.rewrite("fixed-point",(0,c.getNoStringTypeMapping)(),T,[],b,o.mustNotHappen,!0);if(w.allTypesUnordered().size===L.allTypesUnordered().size)return w;w=L}}allTypesUnordered(){return(0,o.assert)(this.isFrozen,"Tried to get all graph types before it was frozen"),new Set((0,o.defined)(this._types))}makeGraph(T,b){return new i.Graph((0,o.defined)(this._types),T,b)}getParentsOfType(T){if(C(T.typeRef,this),this._parents===void 0){const b=(0,o.defined)(this._types).map(w=>new Set);for(const w of this.allTypesUnordered())for(const L of w.getChildren()){const M=L.index;b[M]=b[M].add(w)}this._parents=b}return this._parents[T.index]}printGraph(){const T=(0,o.defined)(this._types);for(let b=0;b<T.length;b++){const w=T[b],L=[];L.push(`${w.debugPrintKind}${w.hasNames?` ${w.getCombinedName()}`:""}`);const M=w.getChildren();M.size>0&&L.push(`children ${Array.from(M).map(z=>z.index).join(",")}`);for(const[z,q]of w.getAttributes()){const H=z.stringify(q);H!==void 0&&L.push(H)}console.log(`${b}: ${L.join(" | ")}`)}}};kt.TypeGraph=E;function j(re,T,b){const w=(0,n.setFilter)(re.allTypesUnordered(),L=>L.kind==="none");return w.size===0?re:((0,o.assert)(w.size===1,"Cannot have more than one none type"),re.rewrite("none to any",T,!1,[Array.from(w)],b,(L,M,z)=>{const q=(0,f.combineTypeAttributesOfTypes)("union",L);return M.getPrimitiveType("any",q,z)}))}kt.noneToAny=j;function ne(re,T,b){function w(z,q,H){const $=(0,n.mapMap)(z.getProperties(),(fe,I)=>{const W=fe.type;let F;if(!fe.isOptional||W.isNullable)F=q.reconstituteType(W);else{const Y=q.getPrimitiveType("null");let de;W instanceof a.UnionType?de=(0,n.setMap)(W.members,Le=>q.reconstituteType(Le)).add(Y):de=new Set([q.reconstituteType(W),Y]);const ve=t.namesTypeAttributeKind.setDefaultInAttributes(W.getAttributes(),()=>t.TypeNames.make(new Set([I]),new Set,!0));F=q.getUnionType(ve,de)}return q.makeClassProperty(F,fe.isOptional)});return z.isFixed?q.getUniqueClassType(z.getAttributes(),!0,$,H):q.getClassType(z.getAttributes(),$,H)}const L=(0,n.setFilter)(re.allTypesUnordered(),z=>z instanceof a.ClassType&&(0,n.mapSome)(z.getProperties(),q=>q.isOptional)),M=Array.from(L).map(z=>[z]);return L.size===0?re:re.rewrite("optional to nullable",T,!1,M,b,(z,q,H)=>{(0,o.assert)(z.size===1);const $=(0,o.defined)((0,n.iterableFirst)(z));return w($,q,H)})}kt.optionalToNullable=ne;function se(re,T,b){const w=[];for(const L of re.allTypesUnordered()){if(!(L instanceof a.IntersectionType))continue;const M=new Set([L]);let z=L;for(;z.members.size===1;){const q=(0,o.defined)((0,n.iterableFirst)(z.members));if(!(q instanceof a.IntersectionType)){w.push([L,q]);break}if(M.has(q))return(0,o.panic)("There's a cycle of intersection types");M.add(q),z=q}}return re.remap("remove indirection intersections",T,!1,new Map(w),b)}return kt.removeIndirectionIntersections=se,kt}var b_;function rt(){return b_||(b_=1,function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.UnionType=n.IntersectionType=n.SetOperationType=n.intersectionTypeIdentity=n.unionTypeIdentity=n.setOperationTypeIdentity=n.setOperationCasesEqual=n.EnumType=n.enumTypeIdentity=n.MapType=n.ClassType=n.ObjectType=n.mapTypeIdentify=n.classTypeIdentity=n.ClassProperty=n.GenericClassProperty=n.ArrayType=n.arrayTypeIdentity=n.PrimitiveType=n.primitiveTypeIdentity=n.Type=n.TypeIdentity=n.isPrimitiveTypeKind=n.isNumberTypeKind=n.targetTypeKindForTransformedStringTypeKind=n.isPrimitiveStringTypeKind=n.transformedStringTypeKinds=n.transformedStringTypeTargetTypeKindsMap=void 0;const e=Ve,t=co,i=wh,r=Yt,s=Ce,o=ur(),a={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:i.uriInferenceAttributesProducer},"integer-string":{jsonSchema:"integer",primitive:"integer"},"bool-string":{jsonSchema:"boolean",primitive:"bool"}};n.transformedStringTypeTargetTypeKindsMap=(0,e.mapFromObject)(a),n.transformedStringTypeKinds=new Set(Object.getOwnPropertyNames(a));function c(fe){return fe==="string"||(0,e.hasOwnProperty)(a,fe)}n.isPrimitiveStringTypeKind=c;function f(fe){const I=n.transformedStringTypeTargetTypeKindsMap.get(fe);if(I!==void 0)return I.primitive}n.targetTypeKindForTransformedStringTypeKind=f;function d(fe){return fe==="integer"||fe==="double"}n.isNumberTypeKind=d;function p(fe){return c(fe)||d(fe)?!0:fe==="none"||fe==="any"||fe==="null"||fe==="bool"}n.isPrimitiveTypeKind=p;function y(fe,I){return fe.index===I.index||fe.kind==="none"||I.kind==="none"}class h{constructor(I,W){this._kind=I,this._components=W;let F=e.hashCodeInit;F=(0,e.addHashCode)(F,(0,e.hashCodeOf)(this._kind));for(const Y of W)F=(0,e.addHashCode)(F,(0,e.hashCodeOf)(Y));this._hashCode=F}equals(I){if(!(I instanceof h)||this._kind!==I._kind)return!1;const W=this._components.length;(0,s.assert)(W===I._components.length,"Components of a type kind's identity must have the same length");for(let F=0;F<W;F++)if(!(0,e.areEqual)(this._components[F],I._components[F]))return!1;return!0}hashCode(){return this._hashCode}}n.TypeIdentity=h;class S{constructor(I,W){this.typeRef=I,this.graph=W}get index(){return(0,o.typeRefIndex)(this.typeRef)}getChildren(){let I=this.getNonAttributeChildren();for(const[W,F]of this.getAttributes())W.children!==void 0&&(0,e.setUnionInto)(I,W.children(F));return I}getAttributes(){return(0,o.attributesForTypeRef)(this.typeRef,this.graph)}get hasNames(){return t.namesTypeAttributeKind.tryGetInAttributes(this.getAttributes())!==void 0}getNames(){return(0,s.defined)(t.namesTypeAttributeKind.tryGetInAttributes(this.getAttributes()))}getCombinedName(){return this.getNames().combinedName}get debugPrintKind(){return this.kind}equals(I){return I instanceof S?this.typeRef===I.typeRef:!1}hashCode(){return(0,e.hashCodeOf)(this.typeRef)}structurallyCompatible(I,W=!1){function F(Fe,Pe){return Fe===Pe?!0:W?Fe==="integer"?Pe==="double":Fe==="double"?Pe==="integer":!1:!1}if(y(this,I))return!0;if(!F(this.kind,I.kind))return!1;const Y=[[this,I]],de=[];let ve;const Le=(Fe,Pe)=>y(Fe,Pe)?!0:F(Fe.kind,Pe.kind)?(Y.push([Fe,Pe]),!0):(ve=!0,!1);for(;Y.length>0;){let[Fe,Pe]=(0,s.defined)(Y.pop());if(Fe.index>Pe.index&&([Fe,Pe]=[Pe,Fe]),!Fe.isPrimitive()){let Me=Fe.index,te=Pe.index,ue=!1;for(const[ie,R]of de)if(ie===Me&&R===te){ue=!0;break}if(ue)continue;de.push([Me,te])}if(ve=!1,!Fe.structuralEqualityStep(Pe,W,Le)||ve)return!1}return!0}getParentTypes(){return this.graph.getParentsOfType(this)}getAncestorsNotInSet(I){const W=[this],F=new Set,Y=new Set;for(;;){const de=W.pop();if(de===void 0)break;const ve=de.getParentTypes();console.log(`${ve.size} parents`);for(const Le of ve)F.has(Le)||(F.add(Le),I.has(Le.typeRef)?(console.log(`adding ${Le.kind}`),W.push(Le)):(console.log(`found ${Le.kind}`),Y.add(Le)))}return Y}}n.Type=S;function m(fe){return(0,e.mapSome)(fe,(I,W)=>W.requiresUniqueIdentity(I))}function v(fe){return(0,e.mapFilter)(fe,(I,W)=>W.inIdentity)}function C(fe,I){if(!m(I))return new h(fe,[v(I)])}n.primitiveTypeIdentity=C;class U extends S{constructor(I,W,F){super(I,W),this.kind=F}get isNullable(){return this.kind==="null"||this.kind==="any"||this.kind==="none"}isPrimitive(){return!0}getNonAttributeChildren(){return new Set}get identity(){return C(this.kind,this.getAttributes())}reconstitute(I){I.getPrimitiveType(this.kind)}structuralEqualityStep(I,W,F){return!0}}n.PrimitiveType=U;function x(fe,I){if(!m(fe))return new h("array",[v(fe),I])}n.arrayTypeIdentity=x;class J extends S{constructor(I,W,F){super(I,W),this._itemsRef=F,this.kind="array"}setItems(I){if(this._itemsRef!==void 0)return(0,s.panic)("Can only set array items once");this._itemsRef=I}getItemsRef(){return this._itemsRef===void 0?(0,s.panic)("Array items accessed before they were set"):this._itemsRef}get items(){return(0,o.derefTypeRef)(this.getItemsRef(),this.graph)}getNonAttributeChildren(){return new Set([this.items])}get isNullable(){return!1}isPrimitive(){return!1}get identity(){return x(this.getAttributes(),this.getItemsRef())}reconstitute(I){const W=this.getItemsRef(),F=I.lookup(W);F===void 0?(I.getUniqueArrayType(),I.setArrayItems(I.reconstitute(this.getItemsRef()))):I.getArrayType(F)}structuralEqualityStep(I,W,F){return F(this.items,I.items)}}n.ArrayType=J;class D{constructor(I,W){this.typeData=I,this.isOptional=W}equals(I){return I instanceof D?(0,e.areEqual)(this.typeData,I.typeData)&&this.isOptional===I.isOptional:!1}hashCode(){return(0,e.hashCodeOf)(this.typeData)+(this.isOptional?17:23)}}n.GenericClassProperty=D;class K extends D{constructor(I,W,F){super(I,F),this.graph=W}get typeRef(){return this.typeData}get type(){return(0,o.derefTypeRef)(this.typeRef,this.graph)}}n.ClassProperty=K;function X(fe,I,W,F){if(!m(I))return new h(fe,[v(I),W,F])}function E(fe,I){return X("class",fe,I,void 0)}n.classTypeIdentity=E;function j(fe,I){return X("map",fe,new Map,I)}n.mapTypeIdentify=j;class ne extends S{constructor(I,W,F,Y,de,ve){super(I,W),this.kind=F,this.isFixed=Y,this._properties=de,this._additionalPropertiesRef=ve,F==="map"?(de!==void 0&&(0,s.assert)(de.size===0),(0,s.assert)(!Y)):F==="class"?(0,s.assert)(ve===void 0):(0,s.assert)(Y)}setProperties(I,W){(0,s.assert)(this._properties===void 0,"Tried to set object properties twice"),this instanceof re&&(0,s.assert)(I.size===0,"Cannot set properties on map type"),this instanceof se&&(0,s.assert)(W===void 0,"Cannot set additional properties of class type"),this._properties=I,this._additionalPropertiesRef=W}getProperties(){return(0,s.defined)(this._properties)}getSortedProperties(){return(0,e.mapSortByKey)(this.getProperties())}getAdditionalPropertiesRef(){return(0,s.assert)(this._properties!==void 0,"Properties are not set yet"),this._additionalPropertiesRef}getAdditionalProperties(){const I=this.getAdditionalPropertiesRef();if(I!==void 0)return(0,o.derefTypeRef)(I,this.graph)}getNonAttributeChildren(){const I=(0,e.mapSortToArray)(this.getProperties(),(F,Y)=>Y).map(([F,Y])=>Y.type),W=this.getAdditionalProperties();return W!==void 0&&I.push(W),new Set(I)}get isNullable(){return!1}isPrimitive(){return!1}get identity(){if(!this.isFixed)return X(this.kind,this.getAttributes(),this.getProperties(),this.getAdditionalPropertiesRef())}reconstitute(I,W){const F=this.getSortedProperties(),Y=W?F:this.getProperties(),de=I.lookupMap((0,e.mapMap)(F,Le=>Le.typeRef)),ve=(0,e.definedMap)(this._additionalPropertiesRef,Le=>I.lookup(Le));if(de!==void 0&&(ve!==void 0||this._additionalPropertiesRef===void 0)){const Le=(0,e.mapMap)(Y,(Fe,Pe)=>I.makeClassProperty((0,s.defined)(de.get(Pe)),Fe.isOptional));switch(this.kind){case"object":(0,s.assert)(this.isFixed),I.getObjectType(Le,ve);break;case"map":I.getMapType((0,s.defined)(ve));break;case"class":this.isFixed?I.getUniqueClassType(!0,Le):I.getClassType(Le);break;default:return(0,s.panic)(`Invalid object type kind ${this.kind}`)}}else{switch(this.kind){case"object":(0,s.assert)(this.isFixed),I.getUniqueObjectType(void 0,void 0);break;case"map":I.getUniqueMapType();break;case"class":I.getUniqueClassType(this.isFixed,void 0);break;default:return(0,s.panic)(`Invalid object type kind ${this.kind}`)}const Le=(0,e.mapMap)(F,Me=>I.reconstitute(Me.typeRef)),Fe=(0,e.mapMap)(Y,(Me,te)=>I.makeClassProperty((0,s.defined)(Le.get(te)),Me.isOptional)),Pe=(0,e.definedMap)(this._additionalPropertiesRef,Me=>I.reconstitute(Me));I.setObjectProperties(Fe,Pe)}}structuralEqualityStep(I,W,F){const Y=this.getProperties(),de=I.getProperties();if(Y.size!==de.size)return!1;let ve=!1;for(const[Pe,Me]of Y){const te=de.get(Pe);if(te===void 0||Me.isOptional!==te.isOptional||!F(Me.type,te.type))return ve=!0,!1}if(ve)return!1;const Le=this.getAdditionalProperties(),Fe=I.getAdditionalProperties();return Le===void 0!=(Fe===void 0)?!1:Le===void 0||Fe===void 0?!0:F(Le,Fe)}}n.ObjectType=ne;class se extends ne{constructor(I,W,F,Y){super(I,W,"class",F,Y,void 0)}}n.ClassType=se;class re extends ne{constructor(I,W,F){super(I,W,"map",!1,(0,e.definedMap)(F,()=>new Map),F)}get values(){return(0,s.defined)(this.getAdditionalProperties())}}n.MapType=re;function T(fe,I){if(!m(fe))return new h("enum",[v(fe),I])}n.enumTypeIdentity=T;class b extends S{constructor(I,W,F){super(I,W),this.cases=F,this.kind="enum"}get isNullable(){return!1}isPrimitive(){return!1}get identity(){return T(this.getAttributes(),this.cases)}getNonAttributeChildren(){return new Set}reconstitute(I){I.getEnumType(this.cases)}structuralEqualityStep(I,W,F){return(0,e.areEqual)(this.cases,I.cases)}}n.EnumType=b;function w(fe,I,W,F){const Y=(0,e.toReadonlySet)(fe),de=(0,e.toReadonlySet)(I);return Y.size!==de.size?!1:(0,e.iterableEvery)(Y,ve=>{const Le=(0,e.iterableFind)(de,Fe=>Fe.kind===ve.kind);return!!(Le!==void 0&&F(ve,Le)||W&&(ve.kind==="integer"&&(0,e.iterableSome)(de,Fe=>Fe.kind==="double")||ve.kind==="double"&&(0,e.iterableSome)(de,Fe=>Fe.kind==="integer")))})}n.setOperationCasesEqual=w;function L(fe,I,W){if(!m(I))return new h(fe,[v(I),W])}n.setOperationTypeIdentity=L;function M(fe,I){return L("union",fe,I)}n.unionTypeIdentity=M;function z(fe,I){return L("intersection",fe,I)}n.intersectionTypeIdentity=z;class q extends S{constructor(I,W,F,Y){super(I,W),this.kind=F,this._memberRefs=Y}setMembers(I){if(this._memberRefs!==void 0)return(0,s.panic)("Can only set map members once");this._memberRefs=I}getMemberRefs(){return this._memberRefs===void 0?(0,s.panic)("Map members accessed before they were set"):this._memberRefs}get members(){return(0,e.setMap)(this.getMemberRefs(),I=>(0,o.derefTypeRef)(I,this.graph))}get sortedMembers(){return this.getNonAttributeChildren()}getNonAttributeChildren(){return(0,e.setSortBy)(this.members,I=>I.kind)}isPrimitive(){return!1}get identity(){return L(this.kind,this.getAttributes(),this.getMemberRefs())}reconstituteSetOperation(I,W,F){const Y=(0,e.mapMap)(this.sortedMembers.entries(),Le=>Le.typeRef),de=W?this.sortedMembers:this.members,ve=I.lookupMap(Y);if(ve===void 0){F(void 0);const Le=I.reconstituteMap(Y);I.setSetOperationMembers((0,e.setMap)(de,Fe=>(0,s.defined)(Le.get(Fe))))}else F((0,e.setMap)(de,Le=>(0,s.defined)(ve.get(Le))))}structuralEqualityStep(I,W,F){return w(this.members,I.members,W,F)}}n.SetOperationType=q;class H extends q{constructor(I,W,F){super(I,W,"intersection",F)}get isNullable(){return(0,s.panic)("isNullable not implemented for IntersectionType")}reconstitute(I,W){this.reconstituteSetOperation(I,W,F=>{F===void 0?I.getUniqueIntersectionType():I.getIntersectionType(F)})}}n.IntersectionType=H;class $ extends q{constructor(I,W,F){super(I,W,"union",F),F!==void 0&&(0,r.messageAssert)(F.size>0,"IRNoEmptyUnions",{})}setMembers(I){(0,r.messageAssert)(I.size>0,"IRNoEmptyUnions",{}),super.setMembers(I)}get stringTypeMembers(){return(0,e.setFilter)(this.members,I=>c(I.kind)||I.kind==="enum")}findMember(I){return(0,e.iterableFind)(this.members,W=>W.kind===I)}get isNullable(){return this.findMember("null")!==void 0}get isCanonical(){const I=this.members;if(I.size<=1)return!1;const W=(0,e.setMap)(I,Y=>Y.kind);if(W.size<I.size||W.has("union")||W.has("intersection")||W.has("none")||W.has("any")||W.has("string")&&W.has("enum"))return!1;let F=0;return W.has("class")&&(F+=1),W.has("map")&&(F+=1),W.has("object")&&(F+=1),!(F>1)}reconstitute(I,W){this.reconstituteSetOperation(I,W,F=>{F===void 0?I.getUniqueUnionType():I.getUnionType(F)})}}n.UnionType=$}(iy)),iy}(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.followTargetType=n.transformationForType=n.transformationTypeAttributeKind=n.Transformation=n.MinMaxValueTransformer=n.MinMaxLengthCheckTransformer=n.StringifyTransformer=n.ParseStringTransformer=n.StringProducerTransformer=n.UnionInstantiationTransformer=n.StringMatchTransformer=n.UnionMemberMatchTransformer=n.DecodingChoiceTransformer=n.ChoiceTransformer=n.ArrayEncodingTransformer=n.ArrayDecodingTransformer=n.EncodingTransformer=n.DecodingTransformer=n.MatchTransformer=n.ProducerTransformer=n.Transformer=void 0;const e=Ve,t=Tt,i=Ce,r=rt(),s=ur();function o(T){const b=re(T);return T===b?T.kind:`${T.kind} (${b.kind})`}function a(T){return(0,e.definedMapWithDefault)(T,0,b=>b.getNumberOfNodes())}class c{constructor(b,w,L){this.kind=b,this.graph=w,this.sourceTypeRef=L}get sourceType(){return(0,s.derefTypeRef)(this.sourceTypeRef,this.graph)}getChildren(){return new Set([this.sourceType])}getNumberOfNodes(){return 1}equals(b){return this.sourceTypeRef===b.sourceTypeRef}hashCode(){return(0,e.hashCodeOf)(this.sourceTypeRef)}debugDescription(){return`${o(this.sourceType)} -> ${this.kind}`}debugPrintContinuations(b){}debugPrint(b){console.log((0,i.indentationString)(b)+this.debugDescription()),this.debugPrintContinuations(b+1)}}n.Transformer=c;class f extends c{constructor(b,w,L,M){super(b,w,L),this.consumer=M}getChildren(){const b=super.getChildren();return this.consumer===void 0?b:(0,e.setUnionInto)(b,this.consumer.getChildren())}getNumberOfNodes(){return super.getNumberOfNodes()+a(this.consumer)}equals(b){return!super.equals(b)||!(b instanceof f)?!1:(0,e.areEqual)(this.consumer,b.consumer)}hashCode(){const b=super.hashCode();return(0,e.addHashCode)(b,(0,e.hashCodeOf)(this.consumer))}debugPrintContinuations(b){this.consumer!==void 0&&this.consumer.debugPrint(b)}}n.ProducerTransformer=f;class d extends c{constructor(b,w,L,M){super(b,w,L),this.transformer=M}getChildren(){return(0,e.setUnionInto)(super.getChildren(),this.transformer.getChildren())}getNumberOfNodes(){return super.getNumberOfNodes()+this.transformer.getNumberOfNodes()}equals(b){return!super.equals(b)||!(b instanceof d)?!1:this.transformer.equals(b.transformer)}hashCode(){const b=super.hashCode();return(0,e.addHashCode)(b,this.transformer.hashCode())}debugPrintContinuations(b){this.transformer.debugPrint(b)}}n.MatchTransformer=d;class p extends f{constructor(b,w,L){super("decode",b,w,L)}get canFail(){return!1}reverse(b,w){return w!==void 0?(0,i.panic)("Reversing a decoding transformer cannot have a continuation"):this.consumer===void 0?new y(this.graph,b):this.consumer.reverse(b,new y(this.graph,this.consumer.sourceTypeRef))}reconstitute(b){return new p(b.typeGraph,b.reconstituteTypeRef(this.sourceTypeRef),(0,e.definedMap)(this.consumer,w=>w.reconstitute(b)))}equals(b){return super.equals(b)?b instanceof p:!1}}n.DecodingTransformer=p;class y extends c{constructor(b,w){super("encode",b,w)}get canFail(){return!1}reverse(b,w){return(0,i.panic)("Can't reverse encoding transformer")}reconstitute(b){return new y(b.typeGraph,b.reconstituteTypeRef(this.sourceTypeRef))}equals(b){return!(!super.equals(b)||!(b instanceof y))}}n.EncodingTransformer=y;class h extends f{constructor(b,w,L,M,z){super("decode-array",b,w,L),this._itemTargetTypeRef=M,this.itemTransformer=z}getChildren(){const b=super.getChildren();return b.add(this.itemTargetType),(0,e.setUnionInto)(b,this.itemTransformer.getChildren())}getNumberOfNodes(){return super.getNumberOfNodes()+this.itemTransformer.getNumberOfNodes()}get canFail(){return!1}get itemTargetType(){return(0,s.derefTypeRef)(this._itemTargetTypeRef,this.graph)}reverse(b,w){if(w!==void 0)return(0,i.panic)("Reversing a decoding transformer cannot have a continuation");const L=this.itemTransformer.reverse(this._itemTargetTypeRef,void 0);return this.consumer===void 0?new S(this.graph,b,this.itemTransformer.sourceTypeRef,L):this.consumer.reverse(b,new S(this.graph,this.consumer.sourceTypeRef,this.itemTransformer.sourceTypeRef,L))}reconstitute(b){return new h(b.typeGraph,b.reconstituteTypeRef(this.sourceTypeRef),(0,e.definedMap)(this.consumer,w=>w.reconstitute(b)),b.reconstituteTypeRef(this._itemTargetTypeRef),this.itemTransformer.reconstitute(b))}hashCode(){let b=super.hashCode();return b=(0,e.addHashCode)(b,(0,e.hashCodeOf)(this._itemTargetTypeRef)),b=(0,e.addHashCode)(b,this.itemTransformer.hashCode()),b}equals(b){return!super.equals(b)||!(b instanceof h)||!(0,e.areEqual)(this._itemTargetTypeRef,b._itemTargetTypeRef)?!1:this.itemTransformer.equals(b.itemTransformer)}debugPrintContinuations(b){this.itemTransformer.debugPrint(b),super.debugPrintContinuations(b)}}n.ArrayDecodingTransformer=h;class S extends c{constructor(b,w,L,M){super("encode-array",b,w),this._itemTargetTypeRef=L,this.itemTransformer=M}getChildren(){const b=super.getChildren();return b.add(this.itemTargetType),(0,e.setUnionInto)(b,this.itemTransformer.getChildren())}getNumberOfNodes(){return super.getNumberOfNodes()+this.itemTransformer.getNumberOfNodes()}get canFail(){return!1}get itemTargetType(){return(0,s.derefTypeRef)(this._itemTargetTypeRef,this.graph)}reverse(b,w){return(0,i.panic)("Can't reverse array encoding transformer")}reconstitute(b){return new S(b.typeGraph,b.reconstituteTypeRef(this.sourceTypeRef),b.reconstituteTypeRef(this._itemTargetTypeRef),this.itemTransformer.reconstitute(b))}hashCode(){let b=super.hashCode();return b=(0,e.addHashCode)(b,(0,e.hashCodeOf)(this._itemTargetTypeRef)),(0,e.addHashCode)(b,this.itemTransformer.hashCode())}equals(b){return!super.equals(b)||!(b instanceof S)||!(0,e.areEqual)(this._itemTargetTypeRef,b._itemTargetTypeRef)?!1:this.itemTransformer.equals(b.itemTransformer)}debugPrintContinuations(b){this.itemTransformer.debugPrint(b),super.debugPrintContinuations(b)}}n.ArrayEncodingTransformer=S;class m extends c{constructor(b,w,L){super("choice",b,w),this.transformers=L,(0,i.assert)(L.length>0,"Choice must have at least one transformer")}getChildren(){let b=super.getChildren();for(const w of this.transformers)(0,e.setUnionInto)(b,w.getChildren());return b}getNumberOfNodes(){let b=0;for(const w of this.transformers)b+=w.getNumberOfNodes();return super.getNumberOfNodes()+b}get canFail(){return this.transformers.some(b=>b.canFail)}reverse(b,w){const L=this.transformers.map(M=>M.reverse(b,w));if(L.every(M=>M instanceof C)){const M=L,z=M[0];if(M.every(q=>z.memberType.equals(q.memberType))){const q=M.map(H=>H.transformer);return new C(this.graph,b,new m(this.graph,q[0].sourceTypeRef,q),z.memberTypeRef)}}return new m(this.graph,b,L)}reconstitute(b){return new m(b.typeGraph,b.reconstituteTypeRef(this.sourceTypeRef),this.transformers.map(w=>w.reconstitute(b)))}equals(b){return!super.equals(b)||!(b instanceof m)?!1:(0,e.areEqual)(this.transformers,b.transformers)}hashCode(){const b=super.hashCode();return(0,e.addHashCode)(b,(0,e.hashCodeOf)(this.transformers))}debugPrintContinuations(b){for(const w of this.transformers)w.debugPrint(b)}}n.ChoiceTransformer=m;class v extends c{constructor(b,w,L,M,z,q,H,$,fe){super("decoding-choice",b,w),this.nullTransformer=L,this.integerTransformer=M,this.doubleTransformer=z,this.boolTransformer=q,this.stringTransformer=H,this.arrayTransformer=$,this.objectTransformer=fe}get transformers(){const b=[];function w(L){L!==void 0&&b.push(L)}return w(this.nullTransformer),w(this.integerTransformer),w(this.doubleTransformer),w(this.boolTransformer),w(this.stringTransformer),w(this.arrayTransformer),w(this.objectTransformer),b}getChildren(){let b=super.getChildren();for(const w of this.transformers)(0,e.setUnionInto)(b,w.getChildren());return b}getNumberOfNodes(){let b=super.getNumberOfNodes();for(const w of this.transformers)b+=a(w);return b}get canFail(){return!1}reverse(b,w){(0,i.assert)(w===void 0,"Reversing a decoding transformer can't have a target transformer");let L=new Map,M=new Map;function z(I){if(I instanceof C){const W=I.memberType;let F=M.get(W);F===void 0&&(F=[],M.set(W,F)),F.push(I)}else{const W=I.sourceType.kind;let F=L.get(W);F===void 0&&(F=[],L.set(W,F)),F.push(I)}}function q(I){const W=I.reverse(b,void 0);let F=[];W instanceof m?F=W.transformers:F=[W];for(const Y of F)z(Y)}function H(I){(0,i.assert)(I.length>0,"Must have at least one transformer");const W=I.filter(Y=>Y instanceof C?!Y.transformer.canFail:!Y.canFail);return W.length===0?I:[(0,e.arraySortByInto)(W.map(Y=>[Y.getNumberOfNodes(),Y]),([Y,de])=>Y)[0][1]]}this.transformers.forEach(q);const $=Array.from(L.values()).concat(Array.from(M.values())),fe=[].concat(...$.map(H));return fe.length===1?fe[0]:new m(this.graph,b,fe)}reconstitute(b){function w(L){if(L!==void 0)return L.reconstitute(b)}return new v(b.typeGraph,b.reconstituteTypeRef(this.sourceTypeRef),w(this.nullTransformer),w(this.integerTransformer),w(this.doubleTransformer),w(this.boolTransformer),w(this.stringTransformer),w(this.arrayTransformer),w(this.objectTransformer))}equals(b){return!(!super.equals(b)||!(b instanceof v)||!(0,e.areEqual)(this.nullTransformer,b.nullTransformer)||!(0,e.areEqual)(this.integerTransformer,b.integerTransformer)||!(0,e.areEqual)(this.doubleTransformer,b.doubleTransformer)||!(0,e.areEqual)(this.boolTransformer,b.boolTransformer)||!(0,e.areEqual)(this.stringTransformer,b.stringTransformer)||!(0,e.areEqual)(this.arrayTransformer,b.arrayTransformer)||!(0,e.areEqual)(this.objectTransformer,b.objectTransformer))}hashCode(){let b=super.hashCode();return b=(0,e.addHashCode)(b,(0,e.hashCodeOf)(this.nullTransformer)),b=(0,e.addHashCode)(b,(0,e.hashCodeOf)(this.integerTransformer)),b=(0,e.addHashCode)(b,(0,e.hashCodeOf)(this.doubleTransformer)),b=(0,e.addHashCode)(b,(0,e.hashCodeOf)(this.boolTransformer)),b=(0,e.addHashCode)(b,(0,e.hashCodeOf)(this.stringTransformer)),b=(0,e.addHashCode)(b,(0,e.hashCodeOf)(this.arrayTransformer)),b=(0,e.addHashCode)(b,(0,e.hashCodeOf)(this.objectTransformer)),b}debugPrintContinuations(b){for(const w of this.transformers)w.debugPrint(b)}}n.DecodingChoiceTransformer=v;class C extends d{constructor(b,w,L,M){super("union-member-match",b,w,L),this.memberTypeRef=M}get sourceType(){const b=(0,s.derefTypeRef)(this.sourceTypeRef,this.graph);return b instanceof r.UnionType?b:(0,i.panic)("The source of a union member match transformer must be a union type")}get canFail(){return!0}get memberType(){return(0,s.derefTypeRef)(this.memberTypeRef,this.graph)}getChildren(){return super.getChildren().add(this.memberType)}reverse(b,w){return(0,i.panic)("Can't reverse union member match transformer")}reconstitute(b){return new C(b.typeGraph,b.reconstituteTypeRef(this.sourceTypeRef),this.transformer.reconstitute(b),b.reconstituteTypeRef(this.memberTypeRef))}equals(b){return!super.equals(b)||!(b instanceof C)?!1:this.memberTypeRef===b.memberTypeRef}hashCode(){const b=super.hashCode();return(0,e.addHashCode)(b,(0,e.hashCodeOf)(this.memberTypeRef))}debugDescription(){return`${super.debugDescription()} - member: ${o(this.memberType)}`}}n.UnionMemberMatchTransformer=C;class U extends d{constructor(b,w,L,M){super("string-match",b,w,L),this.stringCase=M}get sourceType(){const b=(0,s.derefTypeRef)(this.sourceTypeRef,this.graph);return!(b instanceof r.EnumType)&&!(b instanceof r.PrimitiveType&&b.kind==="string")?(0,i.panic)("The source of a string match transformer must be an enum or string type"):b}get canFail(){return!0}reverse(b,w){return this.transformer.reverse(b,new J(this.graph,this.transformer.sourceTypeRef,w,this.stringCase))}reconstitute(b){return new U(b.typeGraph,b.reconstituteTypeRef(this.sourceTypeRef),this.transformer.reconstitute(b),this.stringCase)}equals(b){return!super.equals(b)||!(b instanceof U)?!1:this.stringCase!==b.stringCase}hashCode(){const b=super.hashCode();return(0,e.addHashCode)(b,(0,e.hashString)(this.stringCase))}debugDescription(){return`${super.debugDescription()} - case: ${this.stringCase}`}}n.StringMatchTransformer=U;class x extends c{constructor(b,w){super("union-instantiation",b,w)}get canFail(){return!1}reverse(b,w){return w===void 0?(0,i.panic)("Union instantiation transformer reverse must have a continuation"):new C(this.graph,b,w,this.sourceTypeRef)}reconstitute(b){return new x(b.typeGraph,b.reconstituteTypeRef(this.sourceTypeRef))}equals(b){return super.equals(b)?b instanceof x:!1}}n.UnionInstantiationTransformer=x;class J extends f{constructor(b,w,L,M){super("string-producer",b,w,L),this.result=M}get canFail(){return!1}reverse(b,w){return w===void 0?(0,i.panic)("Reversing a string producer transformer must have a continuation"):this.consumer===void 0?new U(this.graph,b,w,this.result):this.consumer.reverse(b,new U(this.graph,this.consumer.sourceTypeRef,w,this.result))}reconstitute(b){return new J(b.typeGraph,b.reconstituteTypeRef(this.sourceTypeRef),(0,e.definedMap)(this.consumer,w=>w.reconstitute(b)),this.result)}equals(b){return!super.equals(b)||!(b instanceof J)?!1:this.result===b.result}hashCode(){const b=super.hashCode();return(0,e.addHashCode)(b,(0,e.hashCodeOf)(this.consumer))}debugDescription(){return`${super.debugDescription()} - result: ${this.result}`}}n.StringProducerTransformer=J;class D extends f{constructor(b,w,L){super("parse-string",b,w,L)}get canFail(){return!0}reverse(b,w){return this.consumer===void 0?new K(this.graph,b,w):this.consumer.reverse(b,new K(this.graph,this.consumer.sourceTypeRef,w))}reconstitute(b){return new D(b.typeGraph,b.reconstituteTypeRef(this.sourceTypeRef),(0,e.definedMap)(this.consumer,w=>w.reconstitute(b)))}equals(b){return super.equals(b)?b instanceof D:!1}}n.ParseStringTransformer=D;class K extends f{constructor(b,w,L){super("stringify",b,w,L)}get canFail(){return!1}reverse(b,w){return this.consumer===void 0?new D(this.graph,b,w):this.consumer.reverse(b,new D(this.graph,this.consumer.sourceTypeRef,w))}reconstitute(b){return new K(b.typeGraph,b.reconstituteTypeRef(this.sourceTypeRef),(0,e.definedMap)(this.consumer,w=>w.reconstitute(b)))}equals(b){return super.equals(b)?b instanceof K:!1}}n.StringifyTransformer=K;class X extends f{constructor(b,w,L,M,z){super("min-max-length-check",b,w,L),this.minLength=M,this.maxLength=z}get canFail(){return!0}reverse(b,w){return this.consumer===void 0?new X(this.graph,b,w,this.minLength,this.maxLength):this.consumer.reverse(b,new X(this.graph,this.consumer.sourceTypeRef,w,this.minLength,this.maxLength))}reconstitute(b){return new X(b.typeGraph,b.reconstituteTypeRef(this.sourceTypeRef),(0,e.definedMap)(this.consumer,w=>w.reconstitute(b)),this.minLength,this.maxLength)}equals(b){return super.equals(b)?b instanceof X&&this.minLength===b.minLength&&this.maxLength===b.maxLength:!1}}n.MinMaxLengthCheckTransformer=X;class E extends f{constructor(b,w,L,M,z){super("min-max-value-check",b,w,L),this.minimum=M,this.maximum=z}get canFail(){return!0}reverse(b,w){return this.consumer===void 0?new E(this.graph,b,w,this.minimum,this.maximum):this.consumer.reverse(b,new E(this.graph,this.consumer.sourceTypeRef,w,this.minimum,this.maximum))}reconstitute(b){return new E(b.typeGraph,b.reconstituteTypeRef(this.sourceTypeRef),(0,e.definedMap)(this.consumer,w=>w.reconstitute(b)),this.minimum,this.maximum)}equals(b){return super.equals(b)?b instanceof E&&this.minimum===b.minimum&&this.maximum===b.maximum:!1}}n.MinMaxValueTransformer=E;class j{constructor(b,w,L){this._graph=b,this._targetTypeRef=w,this.transformer=L}get sourceType(){return this.transformer.sourceType}get targetType(){return(0,s.derefTypeRef)(this._targetTypeRef,this._graph)}get reverse(){return new j(this._graph,this.transformer.sourceTypeRef,this.transformer.reverse(this._targetTypeRef,void 0))}getChildren(){return this.transformer.getChildren().add(this.targetType)}reconstitute(b){return new j(b.typeGraph,b.reconstituteTypeRef(this._targetTypeRef),this.transformer.reconstitute(b))}equals(b){return b instanceof j?this._targetTypeRef===b._targetTypeRef&&this.transformer.equals(b.transformer):!1}hashCode(){let b=(0,e.hashCodeOf)(this._targetTypeRef);return b=(0,e.addHashCode)(b,this.transformer.hashCode()),b}debugPrint(){this.transformer.debugPrint(0),console.log(`-> ${o(this.targetType)}`)}}n.Transformation=j;class ne extends t.TypeAttributeKind{constructor(){super("transformation")}appliesToTypeKind(b){return!0}get inIdentity(){return!0}children(b){return b.getChildren()}reconstitute(b,w){return w.reconstitute(b)}stringify(b){return"transformation"}}n.transformationTypeAttributeKind=new ne;function se(T){return n.transformationTypeAttributeKind.tryGetInAttributes(T.getAttributes())}n.transformationForType=se;function re(T){for(;;){const b=se(T);if(b===void 0)return T;T=b.targetType}}n.followTargetType=re})(Ns);var nU=Ee&&Ee.__createBinding||(Object.create?function(n,e,t,i){i===void 0&&(i=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,i,r)}:function(n,e,t,i){i===void 0&&(i=t),n[i]=e[t]}),iU=Ee&&Ee.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),rU=Ee&&Ee.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&nU(e,n,t);return iU(e,n),e};Object.defineProperty(_h,"__esModule",{value:!0});_h.gatherNames=void 0;const ts=Ve,T_=rU(DL),ru=co,Nr=Ce,S_=Ns,v_=rt(),ay=et();class sU{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(e){this._present.has(e)||(this._queue.push(e),this._present.add(e))}unshift(){(0,Nr.assert)(!this.isEmpty,"Trying to unshift from an empty queue");const e=this._queue[this._front];return e===void 0?(0,Nr.panic)("Value should have been present in queue"):(this._queue[this._front]=void 0,this._front+=1,this._present.delete(e),this._front>this.size&&(this._queue=this._queue.slice(this._front),this._front=0),e)}}function oU(n,e,t){function i(y,h){n.attributeStore.set(ru.namesTypeAttributeKind,y,h)}if(e)for(const y of n.allTypesUnordered())y.hasNames&&i(y,y.getNames().clearInferred());const r=new sU,s=new Map;function o(y,h){if(y.hasNames){const C=y.getNames();C.areInferred||(h=C.names)}const S=s.get(y);if(S===null)return;let m;S===void 0?m=h:h===null?m=null:m=(0,ts.setUnion)(S,h),m!==null&&m.size>=ru.tooManyNamesThreshold&&(m=null),s.set(y,m);const v=(0,S_.transformationForType)(y);if(v!==void 0&&o(v.targetType,h),S!==void 0&&m!==null){if(S.size===m.size)return}else if(S===m)return;r.push(y)}for(const[y,h]of n.topLevels)o(h,new Set([y]));for(;!r.isEmpty;){const y=r.unshift(),h=(0,Nr.defined)(s.get(y));if(y instanceof v_.ObjectType){const S=y.getSortedProperties();for(const[v,C]of S)o(C.type,new Set([v]));const m=y.getAdditionalProperties();m!==void 0&&o(m,h===null?null:(0,ts.setMap)(h,T_.singular))}else(0,ay.matchCompoundType)(y,S=>{o(S.items,h===null?null:(0,ts.setMap)(h,T_.singular))},S=>(0,Nr.panic)("We handled this above"),S=>(0,Nr.panic)("We handled this above"),S=>(0,Nr.panic)("We handled this above"),S=>{const m=(0,ts.setSortBy)(S.members,v=>v.kind);for(const v of m)o(v,h)})}if(t)for(const y of n.allTypesUnordered()){const h=s.get(y);if(h===void 0)return;const S=y.index;console.log(`${S}: ${h===null?"*** too many ***":Array.from(h).join(" ")}`)}const a=new Map,c=new Map,f=new Map;function d(y,h){return h.length===0||(y===void 0&&(y=new Set),y=(0,ts.setUnion)(y,h),y.size<ru.tooManyNamesThreshold)?y:null}function p(y,h,S){const m=(0,Nr.defined)(s.get(h));let v=f.get(y);if(v===void 0&&(v=new Set),v.has(h))return;v.add(h),f.set(y,v);const C=(0,S_.transformationForType)(h);C!==void 0&&p(y,C.targetType,S);let U=c.get(h),x=a.get(h);if(m===null)U=null,x=null;else{if(y!==void 0&&U!==null){const J=s.get(y);if(J===null)U=null;else if(J!==void 0){const D=[];for(const K of m)D.push(...Array.from(J).map(X=>`${X}_${K}`)),D.push(...Array.from(J).map(X=>`${X}_${K}_${h.kind}`));U=d(U,D)}}if(S!==void 0&&x!==null){const J=[];for(const D of m)J.push(`${D}_${S}`);x=d(x,J)}}if(U!==void 0&&c.set(h,U),x!==void 0&&a.set(h,x),h instanceof v_.ObjectType){const J=h.getSortedProperties();for(const[,K]of J)p(h,K.type,void 0);const D=h.getAdditionalProperties();D!==void 0&&p(J.size===0?y:h,D,"value")}else(0,ay.matchCompoundType)(h,J=>{p(y,J.items,"element")},J=>(0,Nr.panic)("We handled this above"),J=>(0,Nr.panic)("We handled this above"),J=>(0,Nr.panic)("We handled this above"),J=>{const D=(0,ts.setSortBy)(J.members,j=>j.kind),E=J.hasNames&&!J.getNames().areInferred||(0,ay.nullableFromUnion)(J)===null?J:y;for(const j of D)p(E,j,void 0)})}for(const[,y]of n.topLevels)p(void 0,y,void 0);for(const y of n.allTypesUnordered()){const h=s.get(y);if(h===void 0)continue;if(h===null){a.set(y,null);continue}let S=a.get(y);S!==null&&(S===void 0&&(S=new Set),S=(0,ts.setUnion)(S,(0,ts.setMap)(h,m=>`${m}_${y.kind}`)),a.set(y,S))}for(const y of n.allTypesUnordered()){const h=s.get(y);if(h===void 0)continue;let S;if(h===null)S=new ru.TooManyTypeNames(1);else{const m=c.get(y),v=a.get(y);let C;m===null&&v===null?C=void 0:(v!=null?C=v:C=new Set,m!=null&&(C=(0,ts.setUnion)(C,m))),S=ru.TypeNames.makeWithDistance(h,C,e?1:10)}i(y,y.hasNames?y.getNames().add([S]):S)}}_h.gatherNames=oU;var hs={},ly={},uy={},Fl={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.accessorNamesAttributeProducer=n.makeAccessorNames=n.unionMemberName=n.makeUnionMemberNamesAttribute=n.unionMemberNamesTypeAttributeKind=n.makeUnionIdentifierAttribute=n.unionIdentifierTypeAttributeKind=n.getAccessorName=n.enumCaseNames=n.objectPropertyNames=n.lookupKey=n.accessorNamesTypeAttributeKind=void 0;const e=Ve,t=Yt,i=Ce,r=Tt;class s extends r.TypeAttributeKind{constructor(){super("accessorNames")}makeInferred(K){}}n.accessorNamesTypeAttributeKind=new s;function o(D,K){if(typeof D=="string")return[D,!1];const X=D.get(K);if(X!==void 0)return[X,!0];const E=D.get("*");if(E!==void 0)return[E,!1]}function a(D,K,X){const E=D.get(K);if(E!==void 0)return o(E,X)}n.lookupKey=a;function c(D,K){const X=n.accessorNamesTypeAttributeKind.tryGetInAttributes(D.getAttributes()),E=D.getProperties();return X===void 0?(0,e.mapMap)(E,j=>{}):(0,e.mapMap)(E,(j,ne)=>a(X,ne,K))}n.objectPropertyNames=c;function f(D,K){const X=n.accessorNamesTypeAttributeKind.tryGetInAttributes(D.getAttributes());return X===void 0?(0,e.mapMap)(D.cases.entries(),E=>{}):(0,e.mapMap)(D.cases.entries(),E=>a(X,E,K))}n.enumCaseNames=f;function d(D,K){const X=D.get(K);return X===void 0?[void 0,!1]:X}n.getAccessorName=d;class p extends r.TypeAttributeKind{constructor(){super("unionIdentifier")}combine(K){return(0,e.setUnionManyInto)(new Set,K)}makeInferred(K){return new Set}}n.unionIdentifierTypeAttributeKind=new p;let y=0;function h(){const D=n.unionIdentifierTypeAttributeKind.makeAttributes(new Set([y]));return y+=1,D}n.makeUnionIdentifierAttribute=h;class S extends r.TypeAttributeKind{constructor(){super("unionMemberNames")}combine(K){const X=new Map;for(const E of K)(0,e.mapMergeInto)(X,E);return X}}n.unionMemberNamesTypeAttributeKind=new S;function m(D,K){const X=(0,i.defined)(n.unionIdentifierTypeAttributeKind.tryGetInAttributes(D)),E=(0,e.mapFromIterable)(X,j=>K);return n.unionMemberNamesTypeAttributeKind.makeAttributes(E)}n.makeUnionMemberNamesAttribute=m;function v(D,K,X){const E=n.unionIdentifierTypeAttributeKind.tryGetInAttributes(D.getAttributes());if(E===void 0)return[void 0,!1];const j=n.unionMemberNamesTypeAttributeKind.tryGetInAttributes(K.getAttributes());if(j===void 0)return[void 0,!1];const ne=new Set,se=new Set;for(const w of E){const L=j.get(w);if(L===void 0)continue;const M=o(L,X);if(M===void 0)continue;const[z,q]=M;q?se.add(z):ne.add(z)}let re,T,b=(0,e.iterableFirst)(se);if(b!==void 0)re=se.size,T=!0;else{if(b=(0,e.iterableFirst)(ne),b===void 0)return[void 0,!1];re=ne.size,T=!1}return(0,t.messageAssert)(re===1,"SchemaMoreThanOneUnionMemberName",{names:Array.from(ne)}),[b,T]}n.unionMemberName=v;function C(D){return typeof D=="string"?!0:(0,i.isStringMap)(D,K=>typeof K=="string")}function U(D){return typeof D=="string"?D:(0,e.mapFromObject)(D)}function x(D){const K=(0,i.checkStringMap)(D,C);return(0,e.mapMap)((0,e.mapFromObject)(K),U)}n.makeAccessorNames=x;function J(D,K,X,E){if(typeof D!="object")return;const j=D["qt-accessors"];if(j!==void 0){if(E===void 0)return{forType:n.accessorNamesTypeAttributeKind.makeAttributes(x(j))};{const ne=h(),se=(0,i.checkArray)(j,C);(0,t.messageAssert)(E.length===se.length,"SchemaWrongAccessorEntryArrayLength",{operation:"oneOf",ref:K.push("oneOf")});const re=se.map(T=>m(ne,U(T)));return{forUnion:ne,forCases:re}}}}n.accessorNamesAttributeProducer=J})(Fl);var rc={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.patternForType=n.patternAttributeProducer=n.patternTypeAttributeKind=n.PatternTypeAttributeKind=n.minMaxLengthForType=n.minMaxValueForType=n.minMaxLengthAttributeProducer=n.minMaxAttributeProducer=n.minMaxLengthTypeAttributeKind=n.minMaxTypeAttributeKind=n.MinMaxConstraintTypeAttributeKind=void 0;const e=Yt,t=Ce,i=Tt;function r(S){const[m,v]=S;if(typeof m=="number"&&typeof v=="number"&&m>v)return(0,e.messageError)("MiscInvalidMinMaxConstraint",{min:m,max:v});if(!(m===void 0&&v===void 0))return S}class s extends i.TypeAttributeKind{constructor(m,v,C,U){super(m),this._typeKinds=v,this._minSchemaProperty=C,this._maxSchemaProperty=U}get inIdentity(){return!0}combine(m){(0,t.assert)(m.length>0);let[v,C]=m[0];for(let U=1;U<m.length;U++){const[x,J]=m[U];typeof v=="number"&&typeof x=="number"?v=Math.min(v,x):v=void 0,typeof C=="number"&&typeof J=="number"?C=Math.max(C,J):C=void 0}return r([v,C])}intersect(m){(0,t.assert)(m.length>0);let[v,C]=m[0];for(let U=1;U<m.length;U++){const[x,J]=m[U];typeof v=="number"&&typeof x=="number"?v=Math.max(v,x):v===void 0&&(v=x),typeof C=="number"&&typeof J=="number"?C=Math.min(C,J):C===void 0&&(C=J)}return r([v,C])}makeInferred(m){}addToSchema(m,v,C){if(this._typeKinds.has(v.kind))return;const[U,x]=C;U!==void 0&&(m[this._minSchemaProperty]=U),x!==void 0&&(m[this._maxSchemaProperty]=x)}stringify([m,v]){return`${m}-${v}`}}n.MinMaxConstraintTypeAttributeKind=s,n.minMaxTypeAttributeKind=new s("minMax",new Set(["integer","double"]),"minimum","maximum"),n.minMaxLengthTypeAttributeKind=new s("minMaxLength",new Set(["string"]),"minLength","maxLength");function o(S,m,v){if(typeof S!="object")return;let C,U;if(typeof S[m]=="number"&&(C=S[m]),typeof S[v]=="number"&&(U=S[v]),!(C===void 0&&U===void 0))return[C,U]}function a(S,m,v){if(!v.has("number")&&!v.has("integer"))return;const C=o(S,"minimum","maximum");if(C!==void 0)return{forNumber:n.minMaxTypeAttributeKind.makeAttributes(C)}}n.minMaxAttributeProducer=a;function c(S,m,v){if(!v.has("string"))return;const C=o(S,"minLength","maxLength");if(C!==void 0)return{forString:n.minMaxLengthTypeAttributeKind.makeAttributes(C)}}n.minMaxLengthAttributeProducer=c;function f(S){return n.minMaxTypeAttributeKind.tryGetInAttributes(S.getAttributes())}n.minMaxValueForType=f;function d(S){return n.minMaxLengthTypeAttributeKind.tryGetInAttributes(S.getAttributes())}n.minMaxLengthForType=d;class p extends i.TypeAttributeKind{constructor(){super("pattern")}get inIdentity(){return!0}combine(m){return(0,t.assert)(m.length>0),m.map(v=>`(${v})`).join("|")}intersect(m){}makeInferred(m){}addToSchema(m,v,C){v.kind==="string"&&(m.pattern=C)}}n.PatternTypeAttributeKind=p,n.patternTypeAttributeKind=new p;function y(S,m,v){if(typeof S!="object"||!v.has("string"))return;const C=S.pattern;if(typeof C=="string")return{forString:n.patternTypeAttributeKind.makeAttributes(C)}}n.patternAttributeProducer=y;function h(S){return n.patternTypeAttributeKind.tryGetInAttributes(S.getAttributes())}n.patternForType=h})(rc);var Lh={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.enumValuesAttributeProducer=n.enumCaseValues=n.enumValuesTypeAttributeKind=void 0;const e=Ve,t=Fl,i=Tt;class r extends i.TypeAttributeKind{constructor(){super("enumValues")}makeInferred(c){}}n.enumValuesTypeAttributeKind=new r;function s(a,c){const f=n.enumValuesTypeAttributeKind.tryGetInAttributes(a.getAttributes());return f===void 0?(0,e.mapMap)(a.cases.entries(),d=>{}):(0,e.mapMap)(a.cases.entries(),d=>(0,t.lookupKey)(f,d,c))}n.enumCaseValues=s;function o(a,c,f){if(typeof a!="object")return;const d=a["qt-enum-values"];if(d!==void 0)return{forType:n.enumValuesTypeAttributeKind.makeAttributes((0,t.makeAccessorNames)(d))}}n.enumValuesAttributeProducer=o})(Lh);var Pl={},aU=Ee&&Ee.__awaiter||function(n,e,t,i){function r(s){return s instanceof t?s:new t(function(o){o(s)})}return new(t||(t=Promise))(function(s,o){function a(d){try{f(i.next(d))}catch(p){o(p)}}function c(d){try{f(i.throw(d))}catch(p){o(p)}}function f(d){d.done?s(d.value):r(d.value).then(a,c)}f((i=i.apply(n,e||[])).next())})};Object.defineProperty(Pl,"__esModule",{value:!0});Pl.JSONSchemaStore=void 0;const lU=Ce;class uU{constructor(){this._schemas=new Map}add(e,t){(0,lU.assert)(!this._schemas.has(e),"Cannot set a schema for an address twice"),this._schemas.set(e,t)}get(e,t){return aU(this,void 0,void 0,function*(){let i=this._schemas.get(e);if(i!==void 0)return i;t&&console.log(`trying to fetch ${e}`);try{i=yield this.fetch(e)}catch{}if(i===void 0){t&&console.log(`couldn't fetch ${e}`);return}return t&&console.log(`successully fetched ${e}`),this.add(e,i),i})}}Pl.JSONSchemaStore=uU;var __;function Eg(){return __||(__=1,function(n){var e=Ee&&Ee.__awaiter||function(W,F,Y,de){function ve(Le){return Le instanceof Y?Le:new Y(function(Fe){Fe(Le)})}return new(Y||(Y=Promise))(function(Le,Fe){function Pe(ue){try{te(de.next(ue))}catch(ie){Fe(ie)}}function Me(ue){try{te(de.throw(ue))}catch(ie){Fe(ie)}}function te(ue){ue.done?Le(ue.value):ve(ue.value).then(Pe,Me)}te((de=de.apply(W,F||[])).next())})},t=Ee&&Ee.__importDefault||function(W){return W&&W.__esModule?W:{default:W}};Object.defineProperty(n,"__esModule",{value:!0}),n.JSONSchemaInput=n.schemaTypeDict=n.Ref=n.PathElementKind=void 0;const i=Ve,r=t(FN),s=Fl,o=rc,a=Nh(),c=Lh,f=ks(),d=Tt,p=co,y=wh,h=Yt,S=Ce,m=rt(),v=Pl;var C;(function(W){W[W.Root=1]="Root",W[W.KeyOrIndex=2]="KeyOrIndex",W[W.Type=3]="Type",W[W.Object=4]="Object"})(C=n.PathElementKind||(n.PathElementKind={}));function U(W){if(W.kind===C.KeyOrIndex)return W.key}function x(W,F){return W.kind!==F.kind?!1:W.kind===C.Type&&F.kind===C.Type?W.index===F.index:W.kind===C.KeyOrIndex&&F.kind===C.KeyOrIndex?W.key===F.key:!0}function J(W,F){const Y=typeof W=="function"?W():W instanceof j?W:W.canonicalRef;return Object.assign({ref:Y},F??{})}function D(W,F){return Array.isArray(W)?(0,h.messageError)("SchemaArrayIsInvalidSchema",J(F)):W===null?(0,h.messageError)("SchemaNullIsInvalidSchema",J(F)):typeof W!="object"?(0,h.messageError)("SchemaInvalidJSONSchemaType",J(F,{type:typeof W})):W}function K(W,F){return typeof W=="boolean"?W:D(W,F)}const X=new RegExp("^[0-9]+$");function E(W){return typeof W=="string"&&(W=new r.default(W)),new r.default(r.default.decode(W.clone().normalize().toString()))}class j{static root(F){const Y=(0,i.definedMap)(F,de=>new r.default(de));return new j(Y,[])}static parsePath(F){const Y=[];return F.startsWith("/")&&(Y.push({kind:C.Root}),F=F.slice(1)),F!==""&&F.split("/").forEach(ve=>Y.push({kind:C.KeyOrIndex,key:ve})),Y}static parseURI(F,Y=!1){Y||(F=F.clone());let de=F.fragment();F.fragment(""),(F.host()!==""||F.filename()!=="")&&de===""&&(de="/");const ve=j.parsePath(de);return new j(F,ve)}static parse(F){return j.parseURI(new r.default(F),!0)}constructor(F,Y){this.path=Y,F!==void 0?((0,S.assert)(F.fragment()==="",`Ref URI with fragment is not allowed: ${F.toString()}`),this.addressURI=E(F)):this.addressURI=void 0}get hasAddress(){return this.addressURI!==void 0}get address(){return(0,S.defined)(this.addressURI).toString()}get isRoot(){return this.path.length===1&&this.path[0].kind===C.Root}pushElement(F){const Y=Array.from(this.path);return Y.push(F),new j(this.addressURI,Y)}push(...F){let Y=this;for(const de of F)Y=Y.pushElement({kind:C.KeyOrIndex,key:de});return Y}pushObject(){return this.pushElement({kind:C.Object})}pushType(F){return this.pushElement({kind:C.Type,index:F})}resolveAgainst(F){let Y=this.addressURI;return F?.addressURI!==void 0&&(Y=Y===void 0?F.addressURI:Y.absoluteTo(F.addressURI)),new j(Y,this.path)}get name(){const F=Array.from(this.path);for(;;){const Y=F.pop();if(Y===void 0||Y.kind===C.Root){let de=this.addressURI!==void 0?this.addressURI.filename():"";const ve=this.addressURI!==void 0?this.addressURI.suffix():"";return de.length>ve.length+1&&(de=de.slice(0,de.length-ve.length-1)),de===""?"Something":de}switch(Y.kind){case C.KeyOrIndex:if(X.test(Y.key))return Y.key;break;case C.Type:case C.Object:return(0,S.panic)("We shouldn't try to get the name of Type or Object refs");default:return(0,S.assertNever)(Y)}}}get definitionName(){const F=(0,i.arrayGetFromEnd)(this.path,2);if(F!==void 0&&U(F)==="definitions")return U((0,S.defined)((0,i.arrayLast)(this.path)))}toString(){function F(de){switch(de.kind){case C.Root:return"";case C.Type:return`type/${de.index.toString()}`;case C.Object:return"object";case C.KeyOrIndex:return de.key;default:return(0,S.assertNever)(de)}}return(this.addressURI===void 0?"":this.addressURI.toString())+"#"+this.path.map(F).join("/")}lookup(F,Y,de){const ve=()=>new j(this.addressURI,Y),Le=Y[0];if(Le===void 0)return K(F,ve);const Fe=Y.slice(1);switch(Le.kind){case C.Root:return this.lookup(de,Fe,de);case C.KeyOrIndex:const Pe=Le.key;if(Array.isArray(F)){if(!/^\d+$/.test(Pe))return(0,h.messageError)("SchemaCannotIndexArrayWithNonNumber",J(ve,{actual:Pe}));const Me=parseInt(Le.key,10);return Me>=F.length?(0,h.messageError)("SchemaIndexNotInArray",J(ve,{index:Me})):this.lookup(F[Me],Fe,de)}else return(0,i.hasOwnProperty)(F,Pe)?this.lookup(D(F,ve)[Le.key],Fe,de):(0,h.messageError)("SchemaKeyNotInObject",J(ve,{key:Pe}));case C.Type:return(0,S.panic)('Cannot look up path that indexes "type"');case C.Object:return(0,S.panic)('Cannot look up path that indexes "object"');default:return(0,S.assertNever)(Le)}}lookupRef(F){return this.lookup(F,this.path,F)}equals(F){if(!(F instanceof j))return!1;if(this.addressURI!==void 0&&F.addressURI!==void 0){if(!this.addressURI.equals(F.addressURI))return!1}else if(this.addressURI===void 0!=(F.addressURI===void 0))return!1;const Y=this.path.length;if(Y!==F.path.length)return!1;for(let de=0;de<Y;de++)if(!x(this.path[de],F.path[de]))return!1;return!0}hashCode(){let F=(0,i.hashCodeOf)((0,i.definedMap)(this.addressURI,Y=>Y.toString()));for(const Y of this.path)switch(F=(0,i.addHashCode)(F,Y.kind),Y.kind){case C.Type:F=(0,i.addHashCode)(F,Y.index);break;case C.KeyOrIndex:F=(0,i.addHashCode)(F,(0,i.hashString)(Y.key));break}return F}}n.Ref=j;class ne{constructor(F,Y,de=!1){this.haveID=de,this.canonicalRef=F,this.virtualRef=Y??F}updateWithID(F){if(typeof F!="string")return this;const Y=j.parse(F),de=this.haveID?Y.resolveAgainst(this.virtualRef):Y;return this.haveID||(0,h.messageAssert)(de.hasAddress,"SchemaIDMustHaveAddress",J(this,{id:F})),new ne(this.canonicalRef,de,!0)}push(...F){return new ne(this.canonicalRef.push(...F),this.virtualRef.push(...F),this.haveID)}pushObject(){return new ne(this.canonicalRef.pushObject(),this.virtualRef.pushObject(),this.haveID)}pushType(F){return new ne(this.canonicalRef.pushType(F),this.virtualRef.pushType(F),this.haveID)}toString(){return`${this.virtualRef.toString()} (${this.canonicalRef.toString()})`}}class se{constructor(F){this._ctx=F,this._map=new i.EqualityMap,this._schemaAddressesAdded=new Set}addIDs(F,Y){if(F===null)return;if(Array.isArray(F)){for(let Le=0;Le<F.length;Le++)this.addIDs(F[Le],Y.push(Le.toString()));return}if(typeof F!="object")return;const de=Y,ve="$id"in F?F.$id:void 0;typeof ve=="string"&&(Y=Y.updateWithID(ve)),Y.haveID&&(this._ctx.debugPrintSchemaResolving&&console.log(`adding mapping ${Y.toString()}`),this._map.set(Y.virtualRef,de));for(const Le of Object.getOwnPropertyNames(F))this.addIDs(F[Le],Y.push(Le))}addSchema(F,Y){return this._schemaAddressesAdded.has(Y)?!1:(this.addIDs(F,new ne(j.root(Y),j.root(void 0))),this._schemaAddressesAdded.add(Y),!0)}canonize(F,Y){const de=Y.resolveAgainst(F.virtualRef),ve=this._map.get(de);if(ve!==void 0)return ve;const Le=de.addressURI===void 0?new j(F.canonicalRef.addressURI,de.path):de;return new ne(Le,new j(void 0,de.path))}}function re(W,F){let Y;if(typeof W=="string")Y=new Set([W]);else if(Array.isArray(W)){const Le=[];for(const Fe of W){if(typeof Fe!="string")return(0,h.messageError)("SchemaTypeElementMustBeString",J(F,{element:Fe}));Le.push(Fe)}Y=new Set(Le)}else return(0,h.messageError)("SchemaTypeMustBeStringOrStringArray",J(F,{actual:W}));(0,h.messageAssert)(Y.size>0,"SchemaNoTypeSpecified",J(F));const de=["null","boolean","object","array","number","string","integer"],ve=(0,i.iterableFind)(Y,Le=>!de.includes(Le));return ve!==void 0?(0,h.messageError)("SchemaInvalidType",J(F,{type:ve})):Y}function T(W,F){if(!Array.isArray(W))return(0,h.messageError)("SchemaRequiredMustBeStringOrStringArray",J(F,{actual:W}));for(const Y of W)if(typeof Y!="string")return(0,h.messageError)("SchemaRequiredElementMustBeString",J(F,{element:Y}));return W}n.schemaTypeDict={null:!0,boolean:!0,string:!0,integer:!0,number:!0,array:!0,object:!0};const b=Object.getOwnPropertyNames(n.schemaTypeDict);function w(W){const F=(0,i.iterableFind)(m.transformedStringTypeTargetTypeKindsMap,([Y,{jsonSchema:de}])=>de===W);if(F!==void 0)return F[0]}function L(W,F){return W===void 0?(0,h.messageError)("SchemaFetchErrorTopLevel",{address:F}):(0,h.messageError)("SchemaFetchError",{address:F,base:W.canonicalRef})}class M{constructor(F,Y,de){this._ctx=F,this._store=Y,this._canonizer=de}tryResolveVirtualRef(F,Y,de){return e(this,void 0,void 0,function*(){let ve=!1;for(;;){const Le=this._canonizer.canonize(F,de),Fe=Le.canonicalRef;(0,S.assert)(Fe.hasAddress,"Canonical ref can't be resolved without an address");const Pe=Fe.address;let Me=Fe.addressURI===void 0?void 0:yield this._store.get(Pe,this._ctx.debugPrintSchemaResolving);if(Me===void 0)return[void 0,Le];if(this._canonizer.addSchema(Me,Pe))(0,S.assert)(!ve,"We can't add a schema twice"),ve=!0;else{let te=this._canonizer.canonize(Y,de);return F!==void 0&&(te=new ne(new j(Le.canonicalRef.addressURI,te.canonicalRef.path),te.virtualRef,te.haveID)),[te.canonicalRef.lookupRef(Me),te]}}})}resolveVirtualRef(F,Y){return e(this,void 0,void 0,function*(){this._ctx.debugPrintSchemaResolving&&console.log(`resolving ${Y.toString()} relative to ${F.toString()}`);let de=yield this.tryResolveVirtualRef(F,F,Y),ve=de[0];if(ve!==void 0)return this._ctx.debugPrintSchemaResolving&&console.log(`resolved to ${de[1].toString()}`),[ve,de[1]];const Le=new ne(F.canonicalRef,new j(F.canonicalRef.addressURI,F.virtualRef.path),F.haveID);return de=yield this.tryResolveVirtualRef(Le,F,Y),ve=de[0],ve!==void 0?(this._ctx.debugPrintSchemaResolving&&console.log(`resolved to ${de[1].toString()}`),[ve,de[1]]):L(F,Y.address)})}resolveTopLevelRef(F){return e(this,void 0,void 0,function*(){return yield this.resolveVirtualRef(new ne(new j(F.addressURI,[])),new j(void 0,F.path))})}}function z(W,F,Y,de){return e(this,void 0,void 0,function*(){let ve=new i.EqualityMap;function Le(te,ue){const ie=ve.get(te.canonicalRef);ie!==void 0&&(0,S.assert)(ie===ue,"Trying to set path again to different type"),ve.set(te.canonicalRef,ue)}function Fe(te,ue,ie,R,N,A=V=>V.toLowerCase()){return e(this,void 0,void 0,function*(){const V=new Set(R),le=(0,i.mapSortBy)((0,i.mapFromObject)(ie),(Ue,ce)=>A(ce)),Te=yield(0,i.mapMapSync)(le,(Ue,ce)=>e(this,void 0,void 0,function*(){const me=te.push("properties",ce),P=yield Me(K(Ue,me.canonicalRef),me,(0,p.makeNamesTypeAttributes)(ce,!0)),_=!V.has(ce);return F.makeClassProperty(P,_)}));let ye;if(N===void 0||N===!0)ye=F.getPrimitiveType("any");else if(N===!1)ye=void 0;else{const Ue=te.push("additionalProperties");ye=yield Me(K(N,Ue.canonicalRef),Ue,(0,p.singularizeTypeNames)(ue))}const Ie=(0,i.setSubtract)(V,Te.keys());if(Ie.size>0){const Ue=ye;if(Ue===void 0)return(0,h.messageError)("SchemaAdditionalTypesForbidRequired",J(te));const ce=(0,i.mapFromIterable)(Ie,me=>F.makeClassProperty(Ue,!1));(0,i.mapMergeInto)(Te,ce)}return F.getUniqueObjectType(ue,Te,ye)})}function Pe(te,ue,ie){var R;return e(this,void 0,void 0,function*(){const N=Array.isArray(te.enum)?te.enum:void 0,A=te.const!==void 0,V=(0,i.definedMap)(te.type,Be=>re(Be,ue));function le(Be){var nt;if(V!==void 0&&!V.has(Be))return!1;if(N!==void 0){let tt;switch(Be){case"null":tt=Qe=>Qe===null;break;case"integer":tt=Qe=>typeof Qe=="number"&&Qe===Math.floor(Qe);break;default:tt=Qe=>typeof Qe===Be;break}return N.find(tt)!==void 0}return A?Be===((nt=te.type)!==null&&nt!==void 0?nt:typeof te.const):!0}const Te=(0,i.setFilter)(b,le);let ye;function Ie(Be,nt){let tt;if(Be===void 0&&ye!==void 0)tt=ye;else{tt=[];for(const Qe of de){const Pt=Qe(te,ue.canonicalRef,Te,Be);Pt!==void 0&&tt.push(Pt)}Be===void 0&&(ye=tt)}for(const Qe of tt)nt(Qe)}function Ue(Be){let nt=d.emptyTypeAttributes;return Ie(void 0,tt=>{const Qe=Be(tt);Qe!==void 0&&(nt=(0,d.combineTypeAttributes)("union",nt,Qe))}),nt}function ce(Be){return te.oneOf===void 0&&(Be=(0,d.combineTypeAttributes)("union",Be,Ue(({forType:nt,forUnion:tt,forCases:Qe})=>((0,S.assert)(tt===void 0&&Qe===void 0,"We can't have attributes for unions and cases if we don't have a union"),nt)))),(0,p.modifyTypeNames)(Be,nt=>{const tt=(0,S.defined)(nt);if(!tt.areInferred)return tt;let Qe=te.title;return typeof Qe!="string"&&(Qe=ue.canonicalRef.definitionName),typeof Qe=="string"?p.TypeNames.make(new Set([Qe]),new Set,te.$ref!==void 0):tt.makeInferred()})}ie=ce(ie);const me=(0,d.makeTypeAttributesInferred)(ie);function P(Be){const nt=w(te.format);return nt===void 0?F.getStringType(Be,f.StringTypes.unrestricted):F.getPrimitiveType(nt,Be)}function _(){return e(this,void 0,void 0,function*(){const Be=(0,p.singularizeTypeNames)(ie),nt=te.items;let tt;if(Array.isArray(nt)){const Qe=ue.push("items"),Pt=yield(0,i.arrayMapSync)(nt,(xn,mn)=>e(this,void 0,void 0,function*(){const An=Qe.push(mn.toString());return yield Me(K(xn,An.canonicalRef),An,Be)}));tt=F.getUnionType(d.emptyTypeAttributes,new Set(Pt))}else if(typeof nt=="object"){const Qe=ue.push("items");tt=yield Me(K(nt,Qe.canonicalRef),Qe,Be)}else{if(nt!==void 0&&nt!==!0)return(0,h.messageError)("SchemaArrayItemsMustBeStringOrArray",J(ue,{actual:nt}));tt=F.getPrimitiveType("any")}return F.addAttributes(tt,Be),F.getArrayType(d.emptyTypeAttributes,tt)})}function O(){return e(this,void 0,void 0,function*(){let Be;te.required===void 0||typeof te.required=="boolean"?Be=[]:Be=Array.from(T(te.required,ue));let nt;te.properties===void 0?nt={}:nt=D(te.properties,ue.canonicalRef);for(const mn of Object.getOwnPropertyNames(nt))nt[mn].required===!0&&!Be.includes(mn)&&Be.push(mn);let tt=te.additionalProperties;tt===void 0&&typeof te.patternProperties=="object"&&(0,i.hasOwnProperty)(te.patternProperties,".*")&&(tt=te.patternProperties[".*"]);const Qe=(0,d.combineTypeAttributes)("union",me,Ue(({forObject:mn})=>mn)),Pt=te.quicktypePropertyOrder?te.quicktypePropertyOrder:[];return yield Fe(ue,Qe,nt,Be,tt,mn=>{const An=Pt.indexOf(mn);return An!==-1?An:mn.toLowerCase()})})}function Z(Be,nt){return e(this,void 0,void 0,function*(){const tt=ue.push(nt);return Array.isArray(Be)?yield(0,i.arrayMapSync)(Be,(Qe,Pt)=>e(this,void 0,void 0,function*(){const xn=tt.push(Pt.toString());return yield Me(K(Qe,xn.canonicalRef),xn,(0,d.makeTypeAttributesInferred)(ie))})):(0,h.messageError)("SchemaSetOperationCasesIsNotArray",J(tt,{operation:nt,cases:Be}))})}const pe=F.getUniqueIntersectionType(ie,void 0);Le(ue,pe);function Se(Be,nt){return e(this,void 0,void 0,function*(){const tt=yield Z(Be,nt);let Qe=(0,d.makeTypeAttributesInferred)(ie);nt==="oneOf"&&Ie(Be,({forType:xn,forUnion:mn,forCases:An})=>{if(xn!==void 0&&F.addAttributes(pe,xn),mn!==void 0&&(Qe=(0,d.combineTypeAttributes)("union",Qe,mn)),An!==void 0){(0,S.assert)(An.length===tt.length,"Number of case attributes doesn't match number of cases");for(let Jr=0;Jr<tt.length;Jr++)F.addAttributes(tt[Jr],An[Jr])}});const Pt=F.getUniqueUnionType(Qe,void 0);return F.setSetOperationMembers(Pt,new Set(tt)),Pt})}const we=N===void 0&&!A&&(V===void 0||V.has("object")),We=N===void 0&&!A&&(V===void 0||V.has("array")),ft=Te.has("string")&&N!==void 0&&N.find(Be=>typeof Be=="string")!==void 0,yt=V!==void 0||te.properties!==void 0||te.additionalProperties!==void 0||te.items!==void 0||te.required!==void 0||N!==void 0||A,dt=[];if(yt){const Be=[],nt=Ue(({forNumber:Qe})=>Qe);for(const[Qe,Pt]of[["null","null"],["number","double"],["integer","integer"],["boolean","bool"]]){if(!Te.has(Qe))continue;const xn=(0,m.isNumberTypeKind)(Pt)?nt:void 0;Be.push(F.getPrimitiveType(Pt,xn))}const tt=(0,d.combineTypeAttributes)("union",me,Ue(({forString:Qe})=>Qe));if(ft||A){const Qe=A?[te.const]:(R=N?.filter(Pt=>typeof Pt=="string"))!==null&&R!==void 0?R:[];Be.push(F.getStringType(tt,f.StringTypes.fromCases(Qe)))}else Te.has("string")&&Be.push(P(tt));We&&Be.push(yield _()),we&&Be.push(yield O()),dt.push(F.getUniqueUnionType(me,new Set(Be)))}if(te.$ref!==void 0){if(typeof te.$ref!="string")return(0,h.messageError)("SchemaRefMustBeString",J(ue,{actual:typeof te.$ref}));const Be=j.parse(te.$ref),[nt,tt]=yield W.resolveVirtualRef(ue,Be),Qe=(0,p.modifyTypeNames)(ie,Pt=>(0,S.defined)(Pt).areInferred?p.TypeNames.make(new Set([tt.canonicalRef.name]),new Set,!0):Pt);dt.push(yield Me(nt,tt,Qe))}return te.allOf!==void 0&&dt.push(...yield Z(te.allOf,"allOf")),te.oneOf!==void 0&&dt.push(yield Se(te.oneOf,"oneOf")),te.anyOf!==void 0&&dt.push(yield Se(te.anyOf,"anyOf")),F.setSetOperationMembers(pe,new Set(dt)),pe})}function Me(te,ue,ie){return e(this,void 0,void 0,function*(){const R=ve.get(ue.canonicalRef);if(R!==void 0)return R;let N;return typeof te=="boolean"?((0,h.messageAssert)(te===!0,"SchemaFalseNotSupported",J(ue)),N=F.getPrimitiveType("any")):(ue=ue.updateWithID(te.$id),N=yield Pe(te,ue,ie)),Le(ue,N),N})}for(const[te,ue]of Y){const[ie,R]=yield W.resolveTopLevelRef(ue),N=yield Me(ie,R,(0,p.makeNamesTypeAttributes)(te,!1));F.addTopLevel(te,N)}})}function q(W){const F=W.toLowerCase(),Y=[".json",".schema"];for(const de of Y)if(F.endsWith(de)){const ve=W.slice(0,W.length-de.length);if(ve.length>0)return ve}return W}function H(W){const F=W.fragment();if(F!==""){const de=F.split("/"),ve=de.length;if(de[ve-1]!=="")return q(de[ve-1]);if(ve>1&&de[ve-2]!=="")return q(de[ve-2])}const Y=W.filename();return Y!==""?q(Y):(0,h.messageError)("DriverCannotInferNameForSchema",{uri:W.toString()})}function $(W,F,Y){return e(this,void 0,void 0,function*(){const de=F.fragment();let ve=de.endsWith("/");ve&&(F=F.clone().fragment(de.slice(0,-1)));const Le=j.parseURI(F);Le.isRoot&&(ve=!1);const Fe=(yield W.resolveTopLevelRef(Le))[0];if(ve)return typeof Fe!="object"?(0,h.messageError)("SchemaCannotGetTypesFromBoolean",{ref:Le.toString()}):(0,i.mapMap)((0,i.mapFromObject)(Fe),(Pe,Me)=>Le.push(Me));{let Pe;if(typeof Fe=="object"&&typeof Fe.title=="string")Pe=Fe.title;else{const Me=H(F);Pe=Me??Y}return[Pe,Le]}})}class fe extends v.JSONSchemaStore{constructor(F,Y){super(),this._inputs=F,this._delegate=Y}fetch(F){return e(this,void 0,void 0,function*(){const Y=this._inputs.get(F);return Y!==void 0?K((0,S.parseJSON)(Y,"JSON Schema",F),()=>j.root(F)):this._delegate===void 0?(0,S.panic)(`Schema URI ${F} requested, but no store given`):yield this._delegate.fetch(F)})}}class I{constructor(F,Y=[],de=[]){this._schemaStore=F,this._additionalSchemaAddresses=de,this.kind="schema",this.needSchemaProcessing=!0,this._schemaInputs=new Map,this._schemaSources=[],this._topLevels=new Map,this._needIR=!1,this._attributeProducers=[a.descriptionAttributeProducer,s.accessorNamesAttributeProducer,c.enumValuesAttributeProducer,y.uriSchemaAttributesProducer,o.minMaxAttributeProducer,o.minMaxLengthAttributeProducer,o.patternAttributeProducer].concat(Y)}get needIR(){return this._needIR}addTopLevel(F,Y){this._topLevels.set(F,Y)}addTypes(F,Y){return e(this,void 0,void 0,function*(){if(this._schemaSources.length===0)return;let de=this._schemaStore;if(this._schemaInputs.size===0){if(de===void 0)return(0,S.panic)("Must have a schema store to process JSON Schema")}else de=this._schemaStore=new fe(this._schemaInputs,de);const ve=de,Le=new se(F);for(const Pe of this._additionalSchemaAddresses){const Me=yield ve.get(Pe,F.debugPrintSchemaResolving);if(Me===void 0)return(0,h.messageError)("SchemaFetchErrorAdditional",{address:Pe});Le.addSchema(Me,Pe)}const Fe=new M(F,(0,S.defined)(this._schemaStore),Le);for(const[Pe,Me]of this._schemaSources){const te=Me.name,ue=yield $(Fe,Pe,te);if(Array.isArray(ue)){let ie;this._schemaSources.length===1&&te!==void 0?ie=te:ie=ue[0],this.addTopLevel(ie,ue[1])}else for(const[ie,R]of ue)this.addTopLevel(ie,R)}yield z(Fe,Y,this._topLevels,this._attributeProducers)})}addTypesSync(){return(0,S.panic)("addTypesSync not supported in JSONSchemaInput")}addSource(F){return e(this,void 0,void 0,function*(){this.addSourceSync(F)})}addSourceSync(F){const{name:Y,uris:de,schema:ve,isConverted:Le}=F;Le!==!0&&(this._needIR=!0);let Fe;if(de===void 0?Fe=[new r.default(Y)]:Fe=de.map(Pe=>{const Me=E(Pe);return Me.clone().hash("").toString()===""&&Me.path(Y),Me}),ve===void 0)(0,S.assert)(de!==void 0,"URIs must be given if schema source is not specified");else for(let Pe=0;Pe<Fe.length;Pe++){const Me=Fe[Pe],te=Me.clone().hash(""),ue=te.path();let ie=0;do ie>0&&te.path(`${ue}-${ie}`),ie++;while(this._schemaInputs.has(te.toString()));this._schemaInputs.set(te.toString(),ve),Fe[Pe]=te.hash(Me.hash())}for(const Pe of Fe)this._schemaSources.push([Pe,F])}singleStringSchemaSource(){if(!this._schemaSources.every(([Y,{schema:de}])=>typeof de=="string"))return;const F=new Set(this._schemaSources.map(([Y,{schema:de}])=>de));if(F.size===1)return(0,S.defined)((0,i.iterableFirst)(F))}}n.JSONSchemaInput=I}(uy)),uy}var w_;function Nh(){return w_||(w_=1,function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.descriptionAttributeProducer=n.propertyDescriptionsTypeAttributeKind=n.descriptionTypeAttributeKind=n.addDescriptionToSchema=void 0;const e=Ve,t=Eg(),i=Tt;function r(f,d){d!==void 0&&(f.description=Array.from(d).join(`
|
|
177
|
+
`))}n.addDescriptionToSchema=r;class s extends i.TypeAttributeKind{constructor(){super("description")}combine(d){return(0,e.setUnionManyInto)(new Set,d)}makeInferred(d){}addToSchema(d,p,y){r(d,y)}stringify(d){let p=(0,e.iterableFirst)(d);if(p!==void 0)return p.length>8&&(p=`${p.slice(0,5)}...`),d.size>1&&(p=`${p}, ...`),p}}n.descriptionTypeAttributeKind=new s;class o extends i.TypeAttributeKind{constructor(){super("propertyDescriptions")}combine(d){const p=new Map;for(const y of d)(0,e.mapMergeWithInto)(p,(h,S)=>(0,e.setUnion)(h,S),y);return p}makeInferred(d){}stringify(d){if(d.size!==0)return`prop descs: ${d.size}`}}n.propertyDescriptionsTypeAttributeKind=new o;function a(f){return f.kind===t.PathElementKind.KeyOrIndex&&f.key==="properties"}function c(f,d,p){if(typeof f!="object")return;let y=i.emptyTypeAttributes,h=i.emptyTypeAttributes;const S=d.path.length;if(p.has("object")||(0,e.setSubtract)(p,["null"]).size>1||f.enum!==void 0||S<2||!a(d.path[S-2])){const m=f.description;typeof m=="string"&&(y=n.descriptionTypeAttributeKind.makeAttributes(new Set([m])))}if(p.has("object")&&typeof f.properties=="object"){const m=(0,e.mapFilterMap)((0,e.mapFromObject)(f.properties),v=>{if(v&&typeof v=="object"&&"description"in v){const C=v.description;if(typeof C=="string")return new Set([C])}});m.size>0&&(h=n.propertyDescriptionsTypeAttributeKind.makeAttributes(m))}return{forType:y,forObject:h}}n.descriptionAttributeProducer=c}(ly)),ly}var ml={},Cb={},MN={},pt={};Object.defineProperty(pt,"__esModule",{value:!0});pt.EnumOption=pt.StringOption=pt.BooleanOption=pt.getOptionValues=pt.Option=void 0;const cU=Ve,fU=Yt,dU=Ce;class kh{constructor(e){e.renderer=!0,this.definition=e,(0,dU.assert)(e.kind!==void 0,"Renderer option kind must be defined")}getValue(e){const t=e[this.definition.name];return t===void 0?this.definition.defaultValue:t}get cliDefinitions(){return{actual:[this.definition],display:[this.definition]}}}pt.Option=kh;function hU(n,e){const t={};for(const i of Object.getOwnPropertyNames(n))t[i]=n[i].getValue(e);return t}pt.getOptionValues=hU;class pU extends kh{constructor(e,t,i,r="primary"){super({name:e,kind:r,type:Boolean,description:t,defaultValue:i})}get cliDefinitions(){const e=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,e]}}getValue(e){let t=e[this.definition.name];t===void 0&&(t=this.definition.defaultValue);let i=e[`no-${this.definition.name}`];return i===void 0&&(i=!this.definition.defaultValue),t==="true"?t=!0:t==="false"&&(t=!1),this.definition.defaultValue?t&&!i:t||!i}}pt.BooleanOption=pU;class mU extends kh{constructor(e,t,i,r,s="primary"){const o={name:e,kind:s,type:String,description:t,typeLabel:i,defaultValue:r};super(o)}}pt.StringOption=mU;class yU extends kh{constructor(e,t,i,r=void 0,s="primary"){r===void 0&&(r=i[0][0]);const o={name:e,kind:s,type:String,description:t,typeLabel:i.map(([a,c])=>a).join("|"),legalValues:i.map(([a,c])=>a),defaultValue:r};super(o),this._values={};for(const[a,c]of i)this._values[a]=c}getValue(e){let t=e[this.definition.name];return t===void 0&&(t=this.definition.defaultValue),(0,cU.hasOwnProperty)(this._values,t)?this._values[t]:(0,fU.messageError)("RendererUnknownOptionValue",{value:t,name:this.definition.name})}}pt.EnumOption=yU;var Ot={},wt={},IN={exports:{}},Kd=IN.exports=function(n,e,t){typeof n=="object"&&(t=n,n=t.start,e=t.stop),typeof e=="object"&&(t=e,n=n||t.start,e=void 0),e||(e=n,n=0),t||(t={});var i=t.mode||"soft",r=i==="hard"?/\b/:/(\S+\s+)/;return function(s){var o=s.toString().split(r).reduce(function(a,c){if(i==="hard")for(var f=0;f<c.length;f+=e-n)a.push(c.slice(f,f+e-n));else a.push(c);return a},[]);return o.reduce(function(a,c){if(c==="")return a;var f=c.replace(/\t/g," "),d=a.length-1;if(a[d].length+f.length>e)a[d]=a[d].replace(/\s+$/,""),f.split(/\n/).forEach(function(y){a.push(new Array(n+1).join(" ")+y.replace(/^\s+/,""))});else if(f.match(/\n/)){var p=f.split(/\n/);a[d]+=p.shift(),p.forEach(function(y){a.push(new Array(n+1).join(" ")+y.replace(/^\s+/,""))})}else a[d]+=f;return a},[new Array(n+1).join(" ")]).join(`
|
|
178
|
+
`)}};Kd.soft=Kd;Kd.hard=function(n,e){return Kd(n,e,{mode:"hard"})};var gU=IN.exports,io={};Object.defineProperty(io,"__esModule",{value:!0});io.declarationsForGraph=io.cycleBreakerTypesForGraph=io.DeclarationIR=void 0;const Oo=Ve,bU=ic,TU=Yt,Zd=Ce;class RN{constructor(e,t){this.forwardedTypes=t,this.declarations=Array.from(e)}}io.DeclarationIR=RN;function SU(n,e,t){const i=e.indexOf(n);if(i<0)return;if(t===void 0)return e[i];const s=e.slice(0,i+1).reverse().find(t);return s===void 0?(0,Zd.panic)("Found a cycle that cannot be broken"):s}function vU(n,e,t){const i=new Set,r=new Set,s=Array.from(n.topLevels.values());function o(a,c){if(!i.has(a)){if(e(a))for(const f of a.getChildren())s.push(f);else{const f=SU(a,c,t);if(f!==void 0){r.add(f);return}for(const d of a.getChildren())c.unshift(a),o(d,c),c.shift()}i.add(a)}}for(;;){const a=s.pop();if(a===void 0)break;const c=[];o(a,c),(0,Zd.assert)(c.length===0)}return r}io.cycleBreakerTypesForGraph=vU;function _U(n,e,t,i){const r=e===void 0,s=[],o=new Set,a=new Set;function c(d,p){const y=d.stronglyConnectedComponents();function h(v){if(a.has(v))return;a.add(v);const C=(0,Oo.setFilter)(v,i);if(C.size===1){s.push({kind:"define",type:(0,Zd.defined)((0,Oo.iterableFirst)(C))});return}if(C.size===0&&v.size===1)return;if(C.size===0){s.push({kind:"define",type:(0,Zd.defined)((0,Oo.iterableFirst)(v))});return}if(e===void 0){for(const D of C)s.push({kind:"define",type:D});return}const U=(0,Oo.setFilter)(v,e);if(U.size===0)return(0,TU.messageError)("IRNoForwardDeclarableTypeInCycle",{});for(const D of U)s.push({kind:"forward",type:D});(0,Oo.setUnionInto)(o,U);const x=(0,Oo.setSubtract)(v,U),J=new bU.Graph(x,!0,D=>(0,Oo.setIntersect)(t(D),x));c(J);for(const D of U)s.push({kind:"define",type:D})}const m=y.findRoots();for(const v of m)y.dfsTraversal(v,r,h)}const f=n.makeGraph(!1,t);return c(f),new RN(s,o)}io.declarationsForGraph=_U;var 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 Qt=Ve,or=Ce;class jN{constructor(e,t,i,r){this._children=new Set,this._members=new Set,this.forbiddenNamespaces=new Set(i),this.additionalForbidden=new Set(r),t!==void 0&&t.addChild(this)}addChild(e){this._children.add(e)}get children(){return this._children}get members(){return this._members}get forbiddenNameds(){return(0,Qt.setUnion)(this.additionalForbidden,...Array.from(this.forbiddenNamespaces).map(e=>e.members))}add(e){return this._members.add(e),e}}qe.Namespace=jN;class BN{constructor(e,t,i){this.name=e,this.nameStyle=t,this.prefixes=i,this._prefixes=new Set(i)}assignNames(e,t,i){const r=new Set(t),s=Array.from(i);(0,or.assert)(s.length>0,"Number of names can't be less than 1");const o=new Map;let a=[];for(const d of s){const p=d.proposeUnstyledNames(e),y=d.namingFunction,h=(0,Qt.iterableFind)(p,S=>!r.has(y.nameStyle(S))&&s.every(m=>m===d||!m.proposeUnstyledNames(e).has(S)));if(h!==void 0){const S=y.nameStyle(h),m=d.nameAssignments(r,S);if(m!==null){(0,Qt.mapMergeInto)(o,m),(0,Qt.setUnionInto)(r,m.values());continue}}a.push(d)}let c=this._prefixes.values(),f=1;for(const d of a){const p=(0,or.defined)((0,Qt.iterableFirst)(d.proposeUnstyledNames(e)));for(;;){let y;const{done:h,value:S}=c.next();h?(y=`${p}_${f.toString()}`,f++):y=`${S}_${p}`;const m=d.namingFunction.nameStyle(y),v=d.nameAssignments(r,m);if(v!==null){(0,Qt.mapMergeInto)(o,v),(0,Qt.setUnionInto)(r,v.values());break}}}return o}}qe.Namer=BN;const wU=["Purple","Fluffy","Tentacled","Sticky","Indigo","Indecent","Hilarious","Ambitious","Cunning","Magenta","Frisky","Mischievous","Braggadocious"];function LU(n,e){return new BN(n,e,wU)}qe.funPrefixNamer=LU;class sc{constructor(e,t){this._namingFunction=e,this.order=t,this._associates=new Set}addAssociate(e){this._associates.add(e)}isFixed(){return this instanceof Ab}get namingFunction(){return(0,or.defined)(this._namingFunction)}firstProposedName(e){return(0,or.defined)((0,Qt.iterableFirst)(this.proposeUnstyledNames(e)))}nameAssignments(e,t){if(e.has(t))return null;const i=new Map([[this,t]]);for(const r of this._associates){const s=r.getName(t);if(e.has(s))return null;i.set(r,s)}return i}}qe.Name=sc;class Ab extends sc{constructor(e){super(void 0,0),this._fixedName=e}get dependencies(){return[]}addAssociate(e){return(0,or.panic)("Cannot add associates to fixed names")}get fixedName(){return this._fixedName}proposeUnstyledNames(e){return(0,or.panic)("Only fixedName should be called on FixedName.")}}qe.FixedName=Ab;class NU extends sc{constructor(e,t,i){super(t,i),this._unstyledNames=new Set(e)}get dependencies(){return[]}proposeUnstyledNames(e){return this._unstyledNames}}qe.SimpleName=NU;class kU extends sc{constructor(e,t,i){super(void 0,t),this._sponsor=e,this.getName=i}get dependencies(){return[this._sponsor]}proposeUnstyledNames(e){return(0,or.panic)("AssociatedName must be assigned via its sponsor")}}qe.AssociatedName=kU;class OU extends sc{constructor(e,t,i){super(e,t),this._proposeUnstyledName=i;const r=[];i(s=>(r.push(s),"0xDEADBEEF")),this._dependencies=new Set(r)}get dependencies(){return Array.from(this._dependencies)}proposeUnstyledNames(e){return new Set([this._proposeUnstyledName(t=>((0,or.assert)(this._dependencies.has(t),"DependencyName proposer is not pure"),(0,or.defined)(e.get(t))))])}}qe.DependencyName=OU;function EU(n,e){const t=new jN(n,void 0,[],[]);for(const i of e)t.add(new Ab(i));return t}qe.keywordNamespace=EU;function DN(n){return(0,Qt.setUnion)(n,...Array.from((0,Qt.setMap)(n,e=>DN(e.children))))}class CU{constructor(e){this._names=new Map,this._namedsForName=new Map,this.namespaces=DN(e)}get names(){return this._names}isReadyToBeNamed(e){return this._names.has(e)?!1:e.dependencies.every(t=>this._names.has(t))}areForbiddensFullyNamed(e){return(0,Qt.iterableEvery)(e.forbiddenNameds,t=>this._names.has(t))}isConflicting(e,t){const i=this._namedsForName.get(t);if(i===void 0)return!1;for(const r of i)if(e.members.has(r)||e.forbiddenNameds.has(r))return!0;return!1}assign(e,t,i){(0,or.assert)(!this.names.has(e),`Name "${i}" assigned twice`),(0,or.assert)(!this.isConflicting(t,i),`Assigned name "${i}" conflicts`),this._names.set(e,i);let r=this._namedsForName.get(i);r===void 0&&(r=new Set,this._namedsForName.set(i,r)),r.add(e)}}function AU(n){const e=new CU(n);for(const t of e.namespaces)for(const i of t.members)i.isFixed()&&e.assign(i,t,i.fixedName);for(;;){const t=(0,Qt.setFilter)(e.namespaces,o=>e.areForbiddensFullyNamed(o)),i=(0,Qt.iterableFind)(t,o=>(0,Qt.iterableSome)(o.members,a=>e.isReadyToBeNamed(a)));if(i===void 0)return e.names;const r=(0,Qt.setUnion)(i.members,i.forbiddenNameds);let s=(0,Qt.setFilterMap)(r,o=>e.names.get(o));for(;;){const o=(0,Qt.setFilter)(i.members,p=>e.isReadyToBeNamed(p)),a=(0,Qt.iterableMinBy)(o,p=>p.order);if(a===void 0)break;const c=a.order,f=(0,Qt.setFilter)(o,p=>p.order===c),d=(0,Qt.setGroupBy)(f,p=>p.namingFunction);for(const[p,y]of d){const h=(0,Qt.setGroupBy)(y,S=>S.namingFunction.nameStyle(S.firstProposedName(e.names)));for(const[,S]of h){const m=p.assignNames(e.names,s,S);for(const[v,C]of m)e.assign(v,i,C);(0,Qt.setUnionInto)(s,m.values())}}}}}qe.assignNames=AU;var Oh={},Wt={};Object.defineProperty(Wt,"__esModule",{value:!0});Wt.nullTypeIssueAnnotation=Wt.anyTypeIssueAnnotation=Wt.IssueAnnotationData=Wt.AnnotationData=void 0;class UN{}Wt.AnnotationData=UN;class Fb extends UN{constructor(e){super(),this.message=e}}Wt.IssueAnnotationData=Fb;Wt.anyTypeIssueAnnotation=new Fb("quicktype cannot infer this type because there is no data about it in the input.");Wt.nullTypeIssueAnnotation=new Fb("The only value for this in the input is null, which means you probably need a more complete input sample.");var $e={};Object.defineProperty($e,"__esModule",{value:!0});$e.parenIfNeeded=$e.multiWord=$e.singleWord=$e.serializeRenderResult=$e.modifySource=$e.maybeAnnotated=$e.annotated=$e.sourcelikeToSource=$e.newline=void 0;const Za=Ve,FU=qe,L_=Ke,bi=Ce;function xN(){return{kind:"newline",indentationChange:0}}$e.newline=xN;function Eh(n){if(n instanceof Array)return{kind:"sequence",sequence:n.map(Eh)};if(typeof n=="string"){const e=n.split(`
|
|
179
|
+
`);return e.length===1?{kind:"text",text:n}:{kind:"sequence",sequence:(0,Za.arrayIntercalate)(xN(),e.map(t=>({kind:"text",text:t})))}}return n instanceof FU.Name?{kind:"name",named:n}:n}$e.sourcelikeToSource=Eh;function JN(n,e){return{kind:"annotated",annotation:n,source:Eh(e)}}$e.annotated=JN;function PU(n,e,t){return n?JN(e,t):t}$e.maybeAnnotated=PU;function MU(n,e){return{kind:"modified",modifier:n,source:Eh(e)}}$e.modifySource=MU;function Cg(n,e){switch(n.kind){case"text":return n.text.length;case"newline":return(0,bi.panic)("Newline must not occur within a line.");case"sequence":return n.sequence.map(t=>Cg(t,e)).reduce((t,i)=>t+i,0);case"table":return(0,bi.panic)("Table must not occur within a line.");case"annotated":return Cg(n.source,e);case"name":return(0,bi.defined)(e.get(n.named)).length;case"modified":return Pb(n,e,"").lines.join(`
|
|
180
|
+
`).length;default:return(0,bi.assertNever)(n)}}function Pb(n,e,t){let i=0,r=0;const s=[];let o=[];const a=[];function c(){r!==0&&(o.push((0,L_.repeatString)(t,r)),r=0)}function f(){const h=o.join("");return o=[h],h}function d(){return{line:s.length,column:f().length}}function p(){s.push(f()),o=[]}function y(h){switch(h.kind){case"text":c(),o.push(h.text);break;case"newline":p(),i+=h.indentationChange,r=i;break;case"sequence":for(const K of h.sequence)y(K);break;case"table":const S=h.table,m=S.length;if(m===0)break;const v=S.map(K=>K.map(X=>Cg(X,e))),C=(0,bi.defined)((0,Za.iterableMax)(S.map(K=>K.length)));if(C===0)break;const U=[];for(let K=0;K<C;K++)U.push((0,bi.defined)((0,Za.iterableMax)(v.map(X=>(0,Za.withDefault)(X[K],0)))));for(let K=0;K<m;K++){c();const X=(0,bi.defined)(S[K]),E=(0,bi.defined)(v[K]);for(let j=0;j<C;j++){const ne=U[j],se=(0,Za.withDefault)(X[j],{kind:"text",text:""}),re=(0,Za.withDefault)(E[j],0);y(se),j<C-1&&re<ne&&o.push((0,L_.repeatString)(" ",ne-re))}K<m-1&&(p(),r=i)}break;case"annotated":const x=d();y(h.source);const J=d();a.push({annotation:h.annotation,span:{start:x,end:J}});break;case"name":(0,bi.assert)(e.has(h.named),"No name for Named"),c(),o.push((0,bi.defined)(e.get(h.named)));break;case"modified":c();const D=Pb(h.source,e,t).lines;(0,bi.assert)(D.length===1,"Cannot modify more than one line."),o.push(h.modifier(D[0]));break;default:return(0,bi.assertNever)(h)}}return y(n),p(),{lines:s,annotations:a}}$e.serializeRenderResult=Pb;function zN(...n){return{source:n,needsParens:!1}}$e.singleWord=zN;function IU(n,...e){if((0,bi.assert)(e.length>0,"Zero words is not multiple"),e.length===1)return zN(e[0]);const t=[];for(let i=0;i<e.length;i++)i>0&&t.push(n),t.push(e[i]);return{source:t,needsParens:!0}}$e.multiWord=IU;function RU({source:n,needsParens:e}){return e?["(",n,")"]:n}$e.parenIfNeeded=RU;Object.defineProperty(Oh,"__esModule",{value:!0});Oh.Renderer=void 0;const jU=Ve,BU=Wt,DU=qe,Nu=$e,Id=Ce;function UU(n){return Array.isArray(n)?{position:n[0],count:n[1]}:{position:n,count:1}}function xU(n){const e=n.length;let t=0;for(let i=0;i<e;i++){const r=n.charAt(i);if(r===" ")t+=1;else if(r===" ")t=(t/4+1)*4;else return{indent:t,text:n.substring(i)}}return{indent:0,text:null}}class cy{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(e){this._currentEmitTarget.push(e),this._preventBlankLine=!1}emitNewline(){const e=(0,Nu.newline)();this.pushItem(e),this._lastNewline=e}emitItem(e){if(!this.isEmpty)for(let t=0;t<this._numBlankLinesNeeded;t++)this.emitNewline();this._numBlankLinesNeeded=0,this.pushItem(e)}containsItem(e){return this._currentEmitTarget.find(i=>e===i)!==void 0}ensureBlankLine(e){this._preventBlankLine||(this._numBlankLinesNeeded=Math.max(this._numBlankLinesNeeded,e))}preventBlankLine(){this._numBlankLinesNeeded=0,this._preventBlankLine=!0}changeIndent(e){if(this._lastNewline===void 0)return(0,Id.panic)("Cannot change indent for the first line");this._lastNewline.indentationChange+=e}}class JU{constructor(e,t){this.targetLanguage=e,this.emitTable=i=>{if(i.length===0)return;const r=i.map(s=>s.map(o=>(0,Nu.sourcelikeToSource)(o)));this._emitContext.emitItem({kind:"table",table:r}),this._emitContext.emitNewline()},this.typeGraph=t.typeGraph,this.leadingComments=t.leadingComments,this._finishedFiles=new Map,this._finishedEmitContexts=new Map,this._emitContext=new cy}ensureBlankLine(e=1){this._emitContext.ensureBlankLine(e)}preventBlankLine(){this._emitContext.preventBlankLine()}emitItem(e){this._emitContext.emitItem(e)}emitItemOnce(e){return this._emitContext.containsItem(e)?!1:(this.emitItem(e),!0)}emitLineOnce(...e){let t=!0;e.length===1?t=this.emitItemOnce(e[0]):e.length>1&&(t=this.emitItemOnce(e)),t&&this._emitContext.emitNewline()}emitLine(...e){e.length===1?this._emitContext.emitItem(e[0]):e.length>1&&this._emitContext.emitItem(e),this._emitContext.emitNewline()}emitMultiline(e){const t=e.split(`
|
|
181
|
+
`),i=t.length;if(i===0)return;this.emitLine(t[0]);let r=0;for(let s=1;s<i;s++){const o=t[s],{indent:a,text:c}=xU(o);if((0,Id.assert)(a%4===0,"Indentation is not a multiple of 4."),c!==null){const f=a/4;this.changeIndent(f-r),r=f,this.emitLine(c)}else this._emitContext.emitNewline()}r!==0&&this.changeIndent(-r)}gatherSource(e){const t=this._emitContext;this._emitContext=new cy,e(),(0,Id.assert)(!this._emitContext.isNested,"emit context not restored correctly");const i=this._emitContext.source;return this._emitContext=t,i}emitGatheredSource(e){for(const t of e)this._emitContext.emitItem(t)}emitAnnotated(e,t){const i=this.gatherSource(t),r=(0,Nu.sourcelikeToSource)(i);this._emitContext.emitItem((0,Nu.annotated)(e,r))}emitIssue(e,t){this.emitAnnotated(new BU.IssueAnnotationData(e),t)}changeIndent(e){this._emitContext.changeIndent(e)}iterableForEach(e,t){const i=Array.from(e);let r=!0;for(const[s,o]of(0,jU.iterableEnumerate)(i)){const a=i.length===1?"only":r?"first":s===i.length-1?"last":"middle";t(o,a),r=!1}}forEach(e,t,i,r){let s=!1;return this.iterableForEach(e,([o,a],c)=>{c==="only"||c==="first"?this.ensureBlankLine(i):this.ensureBlankLine(t),r(a,o,c),s=!0}),s}forEachWithBlankLines(e,t,i){const{position:r,count:s}=UU(t),o=["interposing","leading-and-interposing"].includes(r),a=["leading","leading-and-interposing"].includes(r);return this.forEach(e,o?s:0,a?s:0,i)}indent(e){this.changeIndent(1),e(),this.changeIndent(-1)}assignNames(){return(0,DU.assignNames)(this.setUpNaming())}initializeEmitContextForFilename(e){if(this._finishedEmitContexts.has(e.toLowerCase())){const t=this._finishedEmitContexts.get(e.toLowerCase());t!==void 0&&(this._emitContext=t)}}finishFile(e){this._finishedFiles.has(e)&&console.log(`[WARNING] Tried to emit file ${e} more than once. If performing multi-file output this warning can be safely ignored.`);const t=(0,Nu.sourcelikeToSource)(this._emitContext.source);this._finishedFiles.set(e,t),this._finishedEmitContexts.set(e.toLowerCase(),this._emitContext),this._emitContext=new cy}render(e){return this._names=this.assignNames(),this.emitSource(e),this._emitContext.isEmpty||this.finishFile(e),{sources:this._finishedFiles,names:this._names}}get names(){return this._names===void 0?(0,Id.panic)("Names accessed before they were assigned"):this._names}}Oh.Renderer=JU;var Ch={};Object.defineProperty(Ch,"__esModule",{value:!0});Ch.isStringComment=void 0;const zU=n=>typeof n=="string";Ch.isStringComment=zU;(function(n){var e=Ee&&Ee.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(n,"__esModule",{value:!0}),n.ConvenienceRenderer=n.inferredNameOrder=n.topLevelNameOrder=void 0;const t=Ve,i=e(gU),r=Fl,s=Nh(),o=Tt,a=io,c=qe,f=Oh,d=$e,p=Ch,y=Ke,h=Ce,S=Ns,m=rt(),v=ur(),C=et(),U=(0,i.default)(90);n.topLevelNameOrder=1;const x=10;n.inferredNameOrder=30;const J=20,D=10,K=20,X=10,E=40;function j(w){if(w===void 0)return;const L=Array.from(w).join(`
|
|
182
|
+
|
|
183
|
+
`).trim();if(L!=="")return U(L).split(`
|
|
184
|
+
`).map(M=>M.trim())}const ne=new o.TypeAttributeKind("assignedName"),se=new o.TypeAttributeKind("assignedPropertyNames"),re=new o.TypeAttributeKind("assignedMemberNames"),T=new o.TypeAttributeKind("assignedCaseNames");class b extends f.Renderer{constructor(L,M){super(L,M),this._alphabetizeProperties=!1}get topLevels(){return this.typeGraph.topLevels}forbiddenNamesForGlobalNamespace(){return[]}forbiddenForObjectProperties(L,M){return{names:[],includeGlobalForbidden:!1}}forbiddenForUnionMembers(L,M){return{names:[],includeGlobalForbidden:!1}}forbiddenForEnumCases(L,M){return{names:[],includeGlobalForbidden:!1}}makeTopLevelDependencyNames(L,M){return[]}makeNamedTypeDependencyNames(L,M){return[]}makeNameForTransformation(L,M){}namedTypeToNameForTopLevel(L){if((0,C.isNamedType)(L))return L}get unionMembersInGlobalNamespace(){return!1}get enumCasesInGlobalNamespace(){return!1}get needsTypeDeclarationBeforeUse(){return!1}canBeForwardDeclared(L){return(0,h.panic)("If needsTypeDeclarationBeforeUse returns true, canBeForwardDeclared must be implemented")}unionNeedsName(L){return(0,C.nullableFromUnion)(L)===null}get globalNamespace(){return(0,h.defined)(this._globalNamespace)}get nameStoreView(){return(0,h.defined)(this._nameStoreView)}descriptionForType(L){let M=this.typeGraph.attributeStore.tryGet(s.descriptionTypeAttributeKind,L);return j(M)}descriptionForClassProperty(L,M){const z=this.typeGraph.attributeStore.tryGet(s.propertyDescriptionsTypeAttributeKind,L);if(z!==void 0)return j(z.get(M))}setUpNaming(){this._nameStoreView=new v.TypeAttributeStoreView(this.typeGraph.attributeStore,ne),this._propertyNamesStoreView=new v.TypeAttributeStoreView(this.typeGraph.attributeStore,se),this._memberNamesStoreView=new v.TypeAttributeStoreView(this.typeGraph.attributeStore,re),this._caseNamesStoreView=new v.TypeAttributeStoreView(this.typeGraph.attributeStore,T),this._namesForTransformations=new Map,this._namedTypeNamer=this.makeNamedTypeNamer(),this._unionMemberNamer=this.makeUnionMemberNamer(),this._enumCaseNamer=this.makeEnumCaseNamer(),this._globalForbiddenNamespace=(0,c.keywordNamespace)("forbidden",this.forbiddenNamesForGlobalNamespace()),this._otherForbiddenNamespaces=new Map,this._globalNamespace=new c.Namespace("global",void 0,[this._globalForbiddenNamespace],[]);const{objects:L,enums:M,unions:z}=this.typeGraph.allNamedTypesSeparated(),q=(0,t.setFilter)(z,H=>this.unionNeedsName(H));for(const[H,$]of this.topLevels)this.nameStoreView.setForTopLevel(H,this.addNameForTopLevel($,H));for(const H of L){const $=this.addNameForNamedType(H);this.addPropertyNames(H,$)}for(const H of M){const $=this.addNameForNamedType(H);this.addEnumCaseNames(H,$)}for(const H of q){const $=this.addNameForNamedType(H);this.addUnionMemberNames(H,$)}for(const H of this.typeGraph.allTypesUnordered())this.addNameForTransformation(H);return(0,t.setUnion)([this._globalForbiddenNamespace,this._globalNamespace],this._otherForbiddenNamespaces.values())}addDependenciesForNamedType(L,M){const z=this.makeNamedTypeDependencyNames(L,M);for(const q of z)this.globalNamespace.add(q)}makeNameForTopLevel(L,M,z){return new c.SimpleName([M],(0,h.defined)(this._namedTypeNamer),n.topLevelNameOrder)}addNameForTopLevel(L,M){const z=this.namedTypeToNameForTopLevel(L),q=this.makeNameForTopLevel(L,M,z);this.globalNamespace.add(q);const H=this.makeTopLevelDependencyNames(L,q);for(const $ of H)this.globalNamespace.add($);return z!==void 0&&(this.addDependenciesForNamedType(z,q),this.nameStoreView.set(z,q)),q}makeNameForType(L,M,z,q){const H=L.getNames(),$=H.areInferred?q:z;return new c.SimpleName(H.proposedNames,M,$)}makeNameForNamedType(L){return this.makeNameForType(L,(0,h.defined)(this._namedTypeNamer),x,n.inferredNameOrder)}addNameForNamedType(L){const M=this.nameStoreView.tryGet(L);if(M!==void 0)return M;const z=this.globalNamespace.add(this.makeNameForNamedType(L));return this.addDependenciesForNamedType(L,z),this.nameStoreView.set(L,z),z}get typesWithNamedTransformations(){return(0,h.defined)(this._namesForTransformations)}nameForTransformation(L){if((0,S.transformationForType)(L)===void 0)return;const z=(0,h.defined)(this._namesForTransformations).get(L);return z===void 0?(0,h.panic)("No name for transformation"):z}addNameForTransformation(L){const M=(0,S.transformationForType)(L);if(M===void 0)return;(0,h.assert)((0,h.defined)(this._namesForTransformations).get(L)===void 0,"Tried to give two names to the same transformation");const z=this.makeNameForTransformation(M,this.nameStoreView.tryGet(M.targetType));z!==void 0&&(this.globalNamespace.add(z),(0,h.defined)(this._namesForTransformations).set(L,z))}processForbiddenWordsInfo(L,M){const z=[],q=[];for(const fe of L.names)typeof fe=="string"?q.push(fe):z.push(fe);let H=(0,h.defined)(this._otherForbiddenNamespaces).get(M);q.length>0&&H===void 0&&(H=(0,c.keywordNamespace)(M,q),this._otherForbiddenNamespaces=(0,h.defined)(this._otherForbiddenNamespaces).set(M,H));let $=new Set;return L.includeGlobalForbidden&&($=$.add((0,h.defined)(this._globalForbiddenNamespace))),H!==void 0&&($=$.add(H)),{forbiddenNames:new Set(z),forbiddenNamespaces:$}}makeNameForProperty(L,M,z,q,H){const $=this.namerForObjectProperty(L,z);if($===null)return;const fe=`${L.getCombinedName()}_${q}`,I=H===void 0?J:D,W=H===void 0?[q,fe]:[H];return new c.SimpleName(W,$,I)}makePropertyDependencyNames(L,M,z,q,H){return[]}addPropertyNames(L,M){const{forbiddenNames:z,forbiddenNamespaces:q}=this.processForbiddenWordsInfo(this.forbiddenForObjectProperties(L,M),"forbidden-for-properties");let H;const $=(0,r.objectPropertyNames)(L,this.targetLanguage.name),fe=(0,t.mapFilterMap)(L.getSortedProperties(),(I,W)=>{const[F,Y]=(0,r.getAccessorName)($,W);let de;if(Y?de=new c.FixedName((0,h.defined)(F)):de=this.makeNameForProperty(L,M,I,W,F),de!==void 0){H===void 0&&(H=new c.Namespace(L.getCombinedName(),this.globalNamespace,q,z)),H.add(de);for(const ve of this.makePropertyDependencyNames(L,M,I,W,de))H.add(ve);return de}});(0,h.defined)(this._propertyNamesStoreView).set(L,fe)}makeNameForUnionMember(L,M,z){const[q,H]=(0,r.unionMemberName)(L,z,this.targetLanguage.name);return H?new c.FixedName((0,h.defined)(q)):new c.DependencyName((0,h.nonNull)(this._unionMemberNamer),E,$=>q!==void 0?q:this.proposeUnionMemberName(L,M,z,$))}addUnionMemberNames(L,M){if(this._unionMemberNamer===null)return;const{forbiddenNames:q,forbiddenNamespaces:H}=this.processForbiddenWordsInfo(this.forbiddenForUnionMembers(L,M),"forbidden-for-union-members");let $;this.unionMembersInGlobalNamespace?$=this.globalNamespace:$=new c.Namespace(L.getCombinedName(),this.globalNamespace,H,q);let fe=new Map;for(const I of L.members){const W=this.makeNameForUnionMember(L,M,(0,S.followTargetType)(I));fe.set(I,$.add(W))}(0,h.defined)(this._memberNamesStoreView).set(L,fe)}makeNameForEnumCase(L,M,z,q){const H=`${L.getCombinedName()}_${z}`,$=q===void 0?K:X,fe=q===void 0?[z,H]:[q];return new c.SimpleName(fe,(0,h.nonNull)(this._enumCaseNamer),$)}addEnumCaseNames(L,M){if(this._enumCaseNamer===null)return;const{forbiddenNames:z,forbiddenNamespaces:q}=this.processForbiddenWordsInfo(this.forbiddenForEnumCases(L,M),"forbidden-for-enum-cases");let H;this.enumCasesInGlobalNamespace?H=this.globalNamespace:H=new c.Namespace(L.getCombinedName(),this.globalNamespace,q,z);let $=new Map;const fe=(0,r.enumCaseNames)(L,this.targetLanguage.name);for(const I of L.cases){const[W,F]=(0,r.getAccessorName)(fe,I);let Y;F?Y=new c.FixedName((0,h.defined)(W)):Y=this.makeNameForEnumCase(L,M,I,W),$.set(I,H.add(Y))}(0,h.defined)(this._caseNamesStoreView).set(L,$)}childrenOfType(L){const M=this.names;if(L instanceof m.ClassType){const z=(0,h.defined)(this._propertyNamesStoreView).get(L),q=(0,t.mapFilterMap)(L.getProperties(),($,fe)=>{if(z.get(fe)!==void 0)return $.type}),H=(0,t.mapSortBy)(q,($,fe)=>(0,h.defined)(M.get((0,h.defined)(z.get(fe)))));return new Set(H.values())}return L.getChildren()}get namedUnions(){return(0,h.defined)(this._namedUnions)}get haveNamedUnions(){return this.namedUnions.size>0}get haveNamedTypes(){return(0,h.defined)(this._namedTypes).length>0}get haveUnions(){return(0,h.defined)(this._haveUnions)}get haveMaps(){return(0,h.defined)(this._haveMaps)}get haveOptionalProperties(){return(0,h.defined)(this._haveOptionalProperties)}get enums(){return(0,h.defined)(this._namedEnums)}get haveEnums(){return this.enums.size>0}proposedUnionMemberNameForTypeKind(L){return null}proposeUnionMemberName(L,M,z,q){const H=this.proposedUnionMemberNameForTypeKind(z.kind);if(H!==null)return H;const $=fe=>(0,C.matchTypeExhaustive)(fe,I=>(0,h.panic)("none type should have been replaced"),I=>"anything",I=>"null",I=>"bool",I=>"integer",I=>"double",I=>"string",I=>$(I.items)+"_array",I=>q(this.nameForNamedType(I)),I=>$(I.values)+"_map",I=>((0,h.assert)(this.targetLanguage.supportsFullObjectType,"Object type should have been replaced in `replaceObjectType`"),q(this.nameForNamedType(I))),I=>"enum",I=>"union",I=>I.kind.replace("-","_"));return $(z)}nameForNamedType(L){return this.nameStoreView.get(L)}isForwardDeclaredType(L){return(0,h.defined)(this._declarationIR).forwardedTypes.has(L)}isImplicitCycleBreaker(L){return(0,h.panic)("A renderer that invokes isCycleBreakerType must implement isImplicitCycleBreaker")}canBreakCycles(L){return!0}isCycleBreakerType(L){return this._cycleBreakerTypes===void 0&&(this._cycleBreakerTypes=(0,a.cycleBreakerTypesForGraph)(this.typeGraph,M=>this.isImplicitCycleBreaker(M),M=>this.canBreakCycles(M))),this._cycleBreakerTypes.has(L)}forEachTopLevel(L,M,z){let q;return z!==void 0?q=(0,t.mapFilter)(this.topLevels,z):q=this.topLevels,this.forEachWithBlankLines(q,L,(H,$,fe)=>M(H,this.nameStoreView.getForTopLevel($),fe))}forEachDeclaration(L,M){this.forEachWithBlankLines((0,t.iterableEnumerate)((0,h.defined)(this._declarationIR).declarations),L,(z,q,H)=>M(z,H))}setAlphabetizeProperties(L){this._alphabetizeProperties=L}getAlphabetizeProperties(){return this._alphabetizeProperties}propertyCount(L){return(0,h.defined)(this._propertyNamesStoreView).get(L).size}sortClassProperties(L,M){return this._alphabetizeProperties?(0,t.mapSortBy)(L,(z,q)=>{const H=(0,h.defined)(M.get(q));return(0,h.defined)(this.names.get(H))}):L}forEachClassProperty(L,M,z){const q=(0,h.defined)(this._propertyNamesStoreView).get(L),H=this.sortClassProperties(L.getProperties(),q);this.forEachWithBlankLines(H,M,($,fe,I)=>{const W=(0,h.defined)(q.get(fe));z(W,fe,$,I)})}nameForUnionMember(L,M){return(0,h.defined)((0,h.defined)(this._memberNamesStoreView).get(L).get(M))}nameForEnumCase(L,M){const z=(0,h.defined)(this._caseNamesStoreView).get(L);return(0,h.defined)(z.get(M))}forEachUnionMember(L,M,z,q,H){const $=M??L.members;q===null&&(q=W=>(0,h.defined)(this.names.get(W)));const fe=(0,t.mapFilter)((0,h.defined)(this._memberNamesStoreView).get(L),(W,F)=>$.has(F)),I=(0,t.mapSortBy)(fe,q);this.forEachWithBlankLines(I,z,H)}forEachEnumCase(L,M,z){const q=(0,h.defined)(this._caseNamesStoreView).get(L),H=(0,t.mapSortBy)(q,$=>(0,h.defined)(this.names.get($)));this.forEachWithBlankLines(H,M,z)}forEachTransformation(L,M){this.forEachWithBlankLines((0,h.defined)(this._namesForTransformations),L,M)}forEachSpecificNamedType(L,M,z){this.forEachWithBlankLines(M,L,(q,H,$)=>z(q,this.nameForNamedType(q),$))}forEachObject(L,M){this.forEachSpecificNamedType(L,(0,h.defined)(this._namedObjects).entries(),M)}forEachEnum(L,M){this.forEachSpecificNamedType(L,this.enums.entries(),M)}forEachUnion(L,M){this.forEachSpecificNamedType(L,this.namedUnions.entries(),M)}forEachUniqueUnion(L,M,z){const q=new Map;for(const H of this.namedUnions){const $=M(H);q.has($)||q.set($,H)}this.forEachWithBlankLines(q,L,z)}forEachNamedType(L,M,z,q){this.forEachWithBlankLines((0,h.defined)(this._namedTypes).entries(),L,(H,$,fe)=>{const I=this.nameForNamedType(H);if(H instanceof m.ObjectType)M(H,I,fe);else if(H instanceof m.EnumType)z(H,I,fe);else if(H instanceof m.UnionType)q(H,I,fe);else return(0,h.panic)("Named type that's neither a class nor union")})}sourcelikeToString(L){return(0,d.serializeRenderResult)((0,d.sourcelikeToSource)(L),this.names,"").lines.join(`
|
|
185
|
+
`)}get commentLineStart(){return"// "}emitComments(L){L.forEach(M=>{(0,p.isStringComment)(M)?this.emitCommentLines([M]):"lines"in M?this.emitCommentLines(M.lines):"descriptionBlock"in M?this.emitDescriptionBlock(M.descriptionBlock):this.emitCommentLines(M.customLines,M),this.ensureBlankLine()})}emitCommentLines(L,{lineStart:M=this.commentLineStart,firstLineStart:z=M,lineEnd:q,beforeComment:H,afterComment:$}={}){H!==void 0&&this.emitLine(H);let fe=!0;for(const I of L){let W=fe?z:M;fe=!1,this.sourcelikeToString(I)===""&&(W=(0,y.trimEnd)(W)),q?this.emitLine(W,I,q):this.emitLine(W,I)}$!==void 0&&this.emitLine($)}emitDescription(L){L!==void 0&&this.emitDescriptionBlock(L)}emitDescriptionBlock(L){this.emitCommentLines(L)}emitPropertyTable(L,M){let z=[];const q=()=>{z.length!==0&&(this.emitTable(z),z=[])};this.forEachClassProperty(L,"none",(H,$,fe)=>{const I=this.descriptionForClassProperty(L,$);I!==void 0&&(q(),this.emitDescription(I)),z.push(M(H,$,fe))}),q()}processGraph(){this._declarationIR=(0,a.declarationsForGraph)(this.typeGraph,this.needsTypeDeclarationBeforeUse?$=>this.canBeForwardDeclared($):void 0,$=>this.childrenOfType($),$=>$ instanceof m.UnionType?this.unionNeedsName($):(0,C.isNamedType)($));const L=this.typeGraph.allTypesUnordered();this._haveUnions=(0,t.iterableSome)(L,$=>$ instanceof m.UnionType),this._haveMaps=(0,t.iterableSome)(L,$=>$ instanceof m.MapType);const M=(0,t.setFilter)(L,$=>$ instanceof m.ClassType);this._haveOptionalProperties=(0,t.iterableSome)(M,$=>(0,t.mapSome)($.getProperties(),fe=>fe.isOptional)),this._namedTypes=this._declarationIR.declarations.filter($=>$.kind==="define").map($=>$.type);const{objects:z,enums:q,unions:H}=(0,C.separateNamedTypes)(this._namedTypes);this._namedObjects=new Set(z),this._namedEnums=new Set(q),this._namedUnions=new Set(H)}emitSource(L){this.processGraph(),this.emitSourceStructure(L)}forEachType(L){const M=new Set,z=new Set,q=Array.from(this.typeGraph.topLevels.values());function H($){if(!M.has($)){for(const fe of $.getChildren())q.push(fe);M.add($),z.add(L($))}}for(;;){const $=q.pop();if($===void 0)break;H($)}return z}}n.ConvenienceRenderer=b})(wt);var oc={};Object.defineProperty(oc,"__esModule",{value:!0});oc.DefaultDateTimeRecognizer=void 0;const WU=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,GU=[0,31,29,31,30,31,30,31,31,30,31,30,31],qU=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i,HU=/t|\s/i;class VU{isDate(e){const t=WU.exec(e);if(t===null)return!1;const i=+t[2],r=+t[3];return i>=1&&i<=12&&r>=1&&r<=GU[i]}isTime(e){const t=qU.exec(e);if(t===null)return!1;const i=+t[1],r=+t[2],s=+t[3];return i<=23&&r<=59&&s<=59}isDateTime(e){const t=e.split(HU);return t.length===2&&this.isDate(t[0])&&this.isTime(t[1])}}oc.DefaultDateTimeRecognizer=VU;Object.defineProperty(Ot,"__esModule",{value:!0});Ot.TargetLanguage=void 0;const KU=Ve,ZU=wt,QU=oc,XU=$e,N_=Ce;class YU{constructor(e,t,i){this.displayName=e,this.names=t,this.extension=i}get optionDefinitions(){return this.getOptions().map(e=>e.definition)}get cliOptionDefinitions(){let e=[],t=[];for(const{cliDefinitions:i}of this.getOptions())e=e.concat(i.actual),t=t.concat(i.display);return{actual:e,display:t}}get name(){return(0,N_.defined)(this.names[0])}renderGraphAndSerialize(e,t,i,r,s,o){o===void 0&&(o=this.defaultIndentation);const a={typeGraph:e,leadingComments:r},c=this.makeRenderer(a,s);c instanceof ZU.ConvenienceRenderer&&c.setAlphabetizeProperties(i);const f=c.render(t);return(0,KU.mapMap)(f.sources,d=>(0,XU.serializeRenderResult)(d,f.names,(0,N_.defined)(o)))}get defaultIndentation(){return" "}get stringTypeMapping(){return new Map}get supportsOptionalClassProperties(){return!1}get supportsUnionsWithBothNumberTypes(){return!1}get supportsFullObjectType(){return!1}needsTransformerForType(e){return!1}get dateTimeRecognizer(){return new QU.DefaultDateTimeRecognizer}}Ot.TargetLanguage=YU;var ac={},Ah={};Object.defineProperty(Ah,"__esModule",{value:!0});Ah.keywords=void 0;Ah.keywords=["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 WN={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.IncludeKind=n.GlobalNames=n.legalizeName=void 0;const e=Ke;n.legalizeName=(0,e.legalizeCharacters)(t=>(0,e.isAscii)(t)&&(0,e.isLetterOrUnderscoreOrDigit)(t)),function(t){t[t.ClassMemberConstraints=1]="ClassMemberConstraints",t[t.ClassMemberConstraintException=2]="ClassMemberConstraintException",t[t.ValueTooLowException=3]="ValueTooLowException",t[t.ValueTooHighException=4]="ValueTooHighException",t[t.ValueTooShortException=5]="ValueTooShortException",t[t.ValueTooLongException=6]="ValueTooLongException",t[t.InvalidPatternException=7]="InvalidPatternException",t[t.CheckConstraint=8]="CheckConstraint"}(n.GlobalNames||(n.GlobalNames={})),function(t){t.ForwardDeclare="ForwardDeclare",t.Include="Include"}(n.IncludeKind||(n.IncludeKind={}))})(WN);Object.defineProperty(ac,"__esModule",{value:!0});ac.CJSONRenderer=void 0;const $U=Fl,ex=Lh,tx=wt,Zf=qe,ns=Ke,Yi=Ce,Rt=rt(),za=et(),nx=Ah,ci=WN;class ix extends tx.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._options=i,this.typeIntegerSize=i.typeIntegerSize,this.hashtableSize=i.hashtableSize,this.typeNamingStyle=i.typeNamingStyle,this.namedTypeNameStyle=(0,ns.makeNameStyle)(this.typeNamingStyle,ci.legalizeName),this.enumeratorNamingStyle=i.enumeratorNamingStyle,this.memberNameStyle=(0,ns.makeNameStyle)(i.memberNamingStyle,ci.legalizeName),this.forbiddenGlobalNames=[];for(const r of(0,Yi.numberEnumValues)(ci.GlobalNames)){const s=this.namedTypeNameStyle(ci.GlobalNames[r]);this.forbiddenGlobalNames.push(s)}}forbiddenNamesForGlobalNamespace(){return[...nx.keywords,...this.forbiddenGlobalNames]}forbiddenForEnumCases(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForObjectProperties(e,t){return{names:[],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return(0,Zf.funPrefixNamer)("types",this.namedTypeNameStyle)}namerForObjectProperty(){return(0,Zf.funPrefixNamer)("members",this.memberNameStyle)}makeUnionMemberNamer(){return(0,Zf.funPrefixNamer)("members",this.memberNameStyle)}makeEnumCaseNamer(){return(0,Zf.funPrefixNamer)("enumerators",(0,ns.makeNameStyle)(this.enumeratorNamingStyle,ci.legalizeName))}proposeUnionMemberName(e,t,i,r){let s=super.proposeUnionMemberName(e,t,i,r);return s==="bool"?s="boolean":s==="double"&&(s="number"),s}emitTypedefAlias(e,t){this._options.addTypedefAlias&&(this.emitLine("typedef ",this.quicktypeTypeToCJSON(e,!1).cType," ",t,";"),this.ensureBlankLine())}emitSourceStructure(e){this._options.typeSourceStyle?this.emitSingleSourceStructure(e):this.emitMultiSourceStructure()}emitSingleSourceStructure(e){this.startFile(e),this.forEachDeclaration("leading-and-interposing",t=>{if(t.kind==="forward")this.emitLine("struct ",this.nameForNamedType(t.type),";");else if(t.kind==="define"){const i=t.type;i instanceof Rt.ClassType?this.emitClassTypedef(i):i instanceof Rt.EnumType?this.emitEnumTypedef(i):i instanceof Rt.UnionType?this.emitUnionTypedef(i):(0,Yi.panic)("Cannot declare type")}else(0,Yi.assertNever)(t.kind)}),this.forEachTopLevel("leading",(t,i)=>this.emitTopLevelTypedef(t,i),t=>this.namedTypeToNameForTopLevel(t)===void 0),this.forEachEnum("leading-and-interposing",(t,i)=>this.emitEnumPrototypes(t)),this.forEachUnion("leading-and-interposing",t=>this.emitUnionPrototypes(t)),this.forEachObject("leading-and-interposing",(t,i)=>this.emitClassPrototypes(t)),this.forEachTopLevel("leading",(t,i)=>this.emitTopLevelPrototypes(t,i),t=>this.namedTypeToNameForTopLevel(t)===void 0),this.forEachEnum("leading-and-interposing",(t,i)=>this.emitEnumFunctions(t)),this.forEachUnion("leading-and-interposing",t=>this.emitUnionFunctions(t)),this.forEachObject("leading-and-interposing",(t,i)=>this.emitClassFunctions(t)),this.forEachTopLevel("leading",(t,i)=>this.emitTopLevelFunctions(t,i),t=>this.namedTypeToNameForTopLevel(t)===void 0),this.finishFile()}emitMultiSourceStructure(){let e;this.forEachNamedType("leading-and-interposing",(t,i)=>{this.emitClass(t,e)},(t,i)=>{this.emitEnum(t,e)},(t,i)=>{this.emitUnion(t,e)}),this.forEachTopLevel("leading",(t,i)=>this.emitTopLevel(t,i,e),t=>this.namedTypeToNameForTopLevel(t)===void 0)}emitEnum(e,t){const i=this.nameForNamedType(e),r=this.sourcelikeToString(i).concat(".h");t.push(r),this.startFile(r),this.emitIncludes(e,this.sourcelikeToString(r)),this.emitEnumTypedef(e),this.emitEnumPrototypes(e),this.emitEnumFunctions(e),this.finishFile()}emitEnumTypedef(e){const t=this.nameForNamedType(e),i=(0,ex.enumCaseValues)(e,this.targetLanguage.name);this.emitDescription(this.descriptionForType(e)),this.emitBlock(["enum ",t],()=>{const r=(0,ns.allUpperWordStyle)(this.sourcelikeToString(t));this.forEachEnumCase(e,"none",(s,o)=>{if(i!==void 0){const[a]=(0,$U.getAccessorName)(i,o);a!==void 0?this.emitLine(r,"_",s," = ",a.toString(),","):this.emitLine(r,"_",s,",")}else this.emitLine(r,"_",s,",")})},"",!0),this.ensureBlankLine(),this.emitTypedefAlias(e,t)}emitEnumPrototypes(e){const t=this.nameForNamedType(e);this.emitLine("enum ",t," cJSON_Get",t,"Value(",this.withConst("cJSON")," * j);"),this.emitLine("cJSON * cJSON_Create",t,"(",this.withConst(["enum ",t])," x);"),this.ensureBlankLine()}emitEnumFunctions(e){const t=this.nameForNamedType(e);this.emitBlock(["enum ",t," cJSON_Get",t,"Value(",this.withConst("cJSON")," * j)"],()=>{this.emitLine("enum ",t," x = 0;"),this.emitBlock(["if (NULL != j)"],()=>{let i=!0;const r=(0,ns.allUpperWordStyle)(this.sourcelikeToString(t));this.forEachEnumCase(e,"none",(s,o)=>{this.emitLine(i?"":"else ",'if (!strcmp(cJSON_GetStringValue(j), "',o,'")) x = ',r,"_",s,";"),i=!1})}),this.emitLine("return x;")}),this.ensureBlankLine(),this.emitBlock(["cJSON * cJSON_Create",t,"(",this.withConst(["enum ",t])," x)"],()=>{this.emitLine("cJSON * j = NULL;"),this.emitBlock(["switch (x)"],()=>{const i=(0,ns.allUpperWordStyle)(this.sourcelikeToString(t));this.forEachEnumCase(e,"none",(r,s)=>{this.emitLine("case ",i,"_",r,': j = cJSON_CreateString("',s,'"); break;')})}),this.emitLine("return j;")}),this.ensureBlankLine()}emitUnion(e,t){const i=this.nameForNamedType(e),r=this.sourcelikeToString(i).concat(".h");t.push(r),this.startFile(r),this.emitIncludes(e,this.sourcelikeToString(r)),this.emitUnionTypedef(e),this.emitUnionPrototypes(e),this.emitUnionFunctions(e),this.finishFile()}emitUnionTypedef(e){const[t,i]=(0,za.removeNullFromUnion)(e),r=this.nameForNamedType(e);this.emitDescription(this.descriptionForType(e)),this.emitBlock(["struct ",r],()=>{this.emitLine("int type;"),this.emitBlock(["union"],()=>{for(const s of i){const o=this.quicktypeTypeToCJSON(s,!1);this.emitLine(o.cType,o.optionalQualifier!==""?" ":"",o.optionalQualifier," ",this.nameForUnionMember(e,s),";")}},"value",!0)},"",!0),this.ensureBlankLine(),this.emitTypedefAlias(e,r)}emitUnionPrototypes(e){const t=this.nameForNamedType(e);this.emitLine("struct ",t," * cJSON_Get",t,"Value(const cJSON * j);"),this.emitLine("cJSON * cJSON_Create",t,"(",this.withConst(["struct ",t])," * x);"),this.emitLine("void cJSON_Delete",t,"(struct ",t," * x);"),this.ensureBlankLine()}emitUnionFunctions(e){const[t,i]=(0,za.removeNullFromUnion)(e),r=this.nameForNamedType(e);this.emitBlock(["struct ",r," * cJSON_Get",r,"Value(const cJSON * j)"],()=>{let s=!0;this.emitLine("struct ",r," * x = cJSON_malloc(sizeof(struct ",r,"));"),this.emitBlock(["if (NULL != x)"],()=>{this.emitLine("memset(x, 0, sizeof(struct ",r,"));"),t!==null&&(this.emitBlock(["if (cJSON_IsNull(j))"],()=>{this.emitLine("x->type = cJSON_NULL;")}),s=!1);for(const o of i){const a=this.quicktypeTypeToCJSON(o,!1);this.emitBlock([s===!0?"if (":"else if (",a.isType,"(j))"],()=>{this.emitLine("x->type = ",a.cjsonType,";"),a.cjsonType==="cJSON_Array"&&a.items!==void 0?(this.emitLine(a.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","",")"],()=>{var d;const p=(y,h,S)=>{var m,v,C,U,x,J,D,K,X,E,j,ne,se,re,T;((m=y.items)===null||m===void 0?void 0:m.cjsonType)==="cJSON_Array"||((v=y.items)===null||v===void 0?void 0:v.cjsonType)==="cJSON_Map"||(((C=y.items)===null||C===void 0?void 0:C.cjsonType)==="cJSON_Invalid"||((U=y.items)===null||U===void 0?void 0:U.cjsonType)==="cJSON_NULL"?this.emitLine("list_add_tail(x",S.toString(),", (",(x=y.items)===null||x===void 0?void 0:x.cType," *)0xDEADBEEF, sizeof(",(J=y.items)===null||J===void 0?void 0:J.cType," *));"):((D=y.items)===null||D===void 0?void 0:D.cjsonType)==="cJSON_String"?this.emitLine("list_add_tail(x",S.toString(),", strdup(",(K=y.items)===null||K===void 0?void 0:K.getValue,"(e",S.toString(),")), sizeof(",(X=y.items)===null||X===void 0?void 0:X.cType," *));"):((E=y.items)===null||E===void 0?void 0:E.cjsonType)==="cJSON_Object"||((j=y.items)===null||j===void 0?void 0:j.cjsonType)==="cJSON_Union"?this.emitLine("list_add_tail(x",S.toString(),", ",(ne=y.items)===null||ne===void 0?void 0:ne.getValue,"(e",S.toString(),"), sizeof(",(se=y.items)===null||se===void 0?void 0:se.cType," *));"):(this.emitLine((re=y.items)===null||re===void 0?void 0:re.cType," * tmp",h>0?h.toString():""," = cJSON_malloc(sizeof(",(T=y.items)===null||T===void 0?void 0:T.cType,"));"),this.emitBlock(["if (NULL != tmp",h>0?h.toString():"",")"],()=>{var b,w;this.emitLine("* tmp",h>0?h.toString():""," = ",(b=y.items)===null||b===void 0?void 0:b.getValue,"(e",S.toString(),");"),this.emitLine("list_add_tail(x",S.toString(),", tmp",h>0?h.toString():"",", sizeof(",(w=y.items)===null||w===void 0?void 0:w.cType," *));")})))};!((d=a.items)===null||d===void 0)&&d.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e","1","))"],()=>{p(a,0,1)}),this.emitBlock(["else"],()=>{this.emitLine("list_add_tail(x","1",", (void *)0xDEADBEEF, sizeof(void *));")})):p(a,0,1)}),this.emitLine("x->value.",this.nameForUnionMember(e,o)," = x","1",";")})):a.cjsonType==="cJSON_Map"&&a.items!==void 0?(this.emitLine(a.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","",")"],()=>{var d;const p=(y,h,S)=>{var m,v,C,U,x,J,D,K,X,E,j,ne,se,re,T;((m=y.items)===null||m===void 0?void 0:m.cjsonType)==="cJSON_Array"||((v=y.items)===null||v===void 0?void 0:v.cjsonType)==="cJSON_Map"||(((C=y.items)===null||C===void 0?void 0:C.cjsonType)==="cJSON_Invalid"||((U=y.items)===null||U===void 0?void 0:U.cjsonType)==="cJSON_NULL"?this.emitLine("hashtable_add(x",S.toString(),", e",S.toString(),"->string, (",(x=y.items)===null||x===void 0?void 0:x.cType," *)0xDEADBEEF, sizeof(",(J=y.items)===null||J===void 0?void 0:J.cType," *));"):((D=y.items)===null||D===void 0?void 0:D.cjsonType)==="cJSON_String"?this.emitLine("hashtable_add(x",S.toString(),", e",S.toString(),"->string, strdup(",(K=y.items)===null||K===void 0?void 0:K.getValue,"(e",S.toString(),")), sizeof(",(X=y.items)===null||X===void 0?void 0:X.cType," *));"):((E=y.items)===null||E===void 0?void 0:E.cjsonType)==="cJSON_Object"||((j=y.items)===null||j===void 0?void 0:j.cjsonType)==="cJSON_Union"?this.emitLine("hashtable_add(x",S.toString(),", e",S.toString(),"->string, ",(ne=y.items)===null||ne===void 0?void 0:ne.getValue,"(e",S.toString(),"), sizeof(",(se=y.items)===null||se===void 0?void 0:se.cType," *));"):(this.emitLine((re=y.items)===null||re===void 0?void 0:re.cType," * tmp",h>0?h.toString():""," = cJSON_malloc(sizeof(",(T=y.items)===null||T===void 0?void 0:T.cType,"));"),this.emitBlock(["if (NULL != tmp",h>0?h.toString():"",")"],()=>{var b,w;this.emitLine("* tmp",h>0?h.toString():""," = ",(b=y.items)===null||b===void 0?void 0:b.getValue,"(e",S.toString(),");"),this.emitLine("hashtable_add(x",S.toString(),", e",S.toString(),"->string, tmp",h>0?h.toString():"",", sizeof(",(w=y.items)===null||w===void 0?void 0:w.cType," *));")})))};!((d=a.items)===null||d===void 0)&&d.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e","1","))"],()=>{p(a,0,1)}),this.emitBlock(["else"],()=>{this.emitLine("hashtable_add(x","1",", e","1","->string, (void *)0xDEADBEEF, sizeof(void *));")})):p(a,0,1)}),this.emitLine("x->value.",this.nameForUnionMember(e,o)," = x","1",";")})):a.cjsonType==="cJSON_Invalid"||a.cjsonType==="cJSON_NULL"?this.emitLine("x->value.",this.nameForUnionMember(e,o)," = (",a.cType," *)0xDEADBEEF;"):a.cjsonType==="cJSON_String"?this.emitLine("x->value.",this.nameForUnionMember(e,o)," = strdup(",a.getValue,"(j));"):this.emitLine("x->value.",this.nameForUnionMember(e,o)," = ",a.getValue,"(j);")}),s=!1}}),this.emitLine("return x;")}),this.ensureBlankLine(),this.emitBlock(["cJSON * cJSON_Create",r,"(",this.withConst(["struct ",r])," * x)"],()=>{this.emitLine("cJSON * j = NULL;"),this.emitBlock(["if (NULL != x)"],()=>{let s=!0;t!==null&&(this.emitBlock(["if (cJSON_NULL == x->type)"],()=>{this.emitLine("j = cJSON_CreateNull();")}),s=!1);for(const o of i){const a=this.quicktypeTypeToCJSON(o,!1);this.emitBlock([s===!0?"if (":"else if (",a.cjsonType," == x->type)"],()=>{a.cjsonType==="cJSON_Array"&&a.items!==void 0?(this.emitLine("cJSON * j","1"," = ",a.createObject,"();"),this.emitBlock(["if (NULL != j","1",")"],()=>{var f;this.emitLine((f=a.items)===null||f===void 0?void 0:f.cType," * x","1"," = list_get_head(x","","->value.",this.nameForUnionMember(e,o),");"),this.emitBlock(["while (NULL != x","1",")"],()=>{var d;const p=(y,h)=>{var S,m,v,C,U,x,J,D,K,X;((S=y.items)===null||S===void 0?void 0:S.cjsonType)==="cJSON_Array"||((m=y.items)===null||m===void 0?void 0:m.cjsonType)==="cJSON_Map"||((v=y.items)===null||v===void 0?void 0:v.cjsonType)==="cJSON_Invalid"||(((C=y.items)===null||C===void 0?void 0:C.cjsonType)==="cJSON_NULL"?this.emitLine("cJSON_AddItemToArray(j",h.toString(),", ",(U=y.items)===null||U===void 0?void 0:U.createObject,"());"):((x=y.items)===null||x===void 0?void 0:x.cjsonType)==="cJSON_String"||((J=y.items)===null||J===void 0?void 0:J.cjsonType)==="cJSON_Object"||((D=y.items)===null||D===void 0?void 0:D.cjsonType)==="cJSON_Union"?this.emitLine("cJSON_AddItemToArray(j",h.toString(),", ",(K=y.items)===null||K===void 0?void 0:K.createObject,"(x",h.toString(),"));"):this.emitLine("cJSON_AddItemToArray(j",h.toString(),", ",(X=y.items)===null||X===void 0?void 0:X.createObject,"(*x",h.toString(),"));"))};!((d=a.items)===null||d===void 0)&&d.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x","1",")"],()=>{p(a,1)}),this.emitBlock(["else"],()=>{this.emitLine("cJSON_AddItemToArray(j","1",", cJSON_CreateNull());")})):p(a,1),this.emitLine("x","1"," = list_get_next(x","","->value.",this.nameForUnionMember(e,o),");")}),this.emitLine("j = j","1",";")})):a.cjsonType==="cJSON_Map"&&a.items!==void 0?(this.emitLine("cJSON * j","1"," = ",a.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(e,o),", &keys","1",");"),this.emitBlock(["if (NULL != keys","1",")"],()=>{this.emitBlock(["for (size_t index","1"," = 0; index","1"," < count","1","; index","1","++)"],()=>{var f,d;this.emitLine((f=a.items)===null||f===void 0?void 0:f.cType," *x","1"," = hashtable_lookup(x","","->value.",this.nameForUnionMember(e,o),", keys","1","[index","1","]);");const p=(y,h)=>{var S,m,v,C,U,x,J,D,K,X;((S=y.items)===null||S===void 0?void 0:S.cjsonType)==="cJSON_Array"||((m=y.items)===null||m===void 0?void 0:m.cjsonType)==="cJSON_Map"||((v=y.items)===null||v===void 0?void 0:v.cjsonType)==="cJSON_Invalid"||(((C=y.items)===null||C===void 0?void 0:C.cjsonType)==="cJSON_NULL"?this.emitLine(y.addToObject,"(j",h.toString(),", keys",h.toString(),"[index",h.toString(),"], ",(U=y.items)===null||U===void 0?void 0:U.createObject,"());"):((x=y.items)===null||x===void 0?void 0:x.cjsonType)==="cJSON_String"||((J=y.items)===null||J===void 0?void 0:J.cjsonType)==="cJSON_Object"||((D=y.items)===null||D===void 0?void 0:D.cjsonType)==="cJSON_Union"?this.emitLine(y.addToObject,"(j",h.toString(),", keys",h.toString(),"[index",h.toString(),"], ",(K=y.items)===null||K===void 0?void 0:K.createObject,"(x",h.toString(),"));"):this.emitLine(y.addToObject,"(j",h.toString(),", keys",h.toString(),"[index",h.toString(),"], ",(X=y.items)===null||X===void 0?void 0:X.createObject,"(*x",h.toString(),"));"))};!((d=a.items)===null||d===void 0)&&d.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x","1",")"],()=>{p(a,1)}),this.emitBlock(["else"],()=>{this.emitLine(a.addToObject,"(j","1",", keys","1","[index","1","], cJSON_CreateNull());")})):p(a,1)}),this.emitLine("cJSON_free(keys","1",");")}),this.emitLine("j = j","1",";")})):a.cjsonType==="cJSON_Invalid"||(a.cjsonType==="cJSON_NULL"?this.emitLine("j = ",a.createObject,"();"):this.emitLine("j = ",a.createObject,"(x->value.",this.nameForUnionMember(e,o),");"))}),s=!1}}),this.emitLine("return j;")}),this.ensureBlankLine(),this.emitBlock(["void cJSON_Delete",r,"(struct ",r," * x)"],()=>{this.emitBlock(["if (NULL != x)"],()=>{let s=!0;for(const o of i){const a=this.quicktypeTypeToCJSON(o,!1);this.emitBlock([s===!0?"if (":"else if (",a.cjsonType," == x->type)"],()=>{a.cjsonType==="cJSON_Array"&&a.items!==void 0?this.emitBlock(["if (NULL != x","","->value.",this.nameForUnionMember(e,o),")"],()=>{var f;this.emitLine((f=a.items)===null||f===void 0?void 0:f.cType," * x","1"," = list_get_head(x","","->value.",this.nameForUnionMember(e,o),");"),this.emitBlock(["while (NULL != x","1",")"],()=>{var d,p,y,h,S,m;((d=a.items)===null||d===void 0?void 0:d.cjsonType)==="cJSON_Array"||((p=a.items)===null||p===void 0?void 0:p.cjsonType)==="cJSON_Map"||((y=a.items)===null||y===void 0?void 0:y.cjsonType)==="cJSON_Invalid"||((h=a.items)===null||h===void 0?void 0:h.cjsonType)==="cJSON_NULL"||(!((S=a.items)===null||S===void 0)&&S.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x","1",")"],()=>{var v;this.emitLine((v=a.items)===null||v===void 0?void 0:v.deleteType,"(x","1",");")}):this.emitLine((m=a.items)===null||m===void 0?void 0:m.deleteType,"(x","1",");")),this.emitLine("x","1"," = list_get_next(x","","->value.",this.nameForUnionMember(e,o),");")}),this.emitLine(a.deleteType,"(x","","->value.",this.nameForUnionMember(e,o),");")}):a.cjsonType==="cJSON_Map"&&a.items!==void 0?this.emitBlock(["if (NULL != x","","->value.",this.nameForUnionMember(e,o),")"],()=>{this.emitLine("char **keys","1"," = NULL;"),this.emitLine("size_t count","1"," = hashtable_get_keys(x","","->value.",this.nameForUnionMember(e,o),", &keys","1",");"),this.emitBlock(["if (NULL != keys","1",")"],()=>{this.emitBlock(["for (size_t index","1"," = 0; index","1"," < count","1","; index","1","++)"],()=>{var f;this.emitLine((f=a.items)===null||f===void 0?void 0:f.cType," *x","1"," = hashtable_lookup(x","","->value.",this.nameForUnionMember(e,o),", keys","1","[index","1","]);"),this.emitBlock(["if (NULL != x","1",")"],()=>{var d,p,y,h,S,m;((d=a.items)===null||d===void 0?void 0:d.cjsonType)==="cJSON_Array"||((p=a.items)===null||p===void 0?void 0:p.cjsonType)==="cJSON_Map"||((y=a.items)===null||y===void 0?void 0:y.cjsonType)==="cJSON_Invalid"||((h=a.items)===null||h===void 0?void 0:h.cjsonType)==="cJSON_NULL"||(!((S=a.items)===null||S===void 0)&&S.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x","1",")"],()=>{var v;this.emitLine((v=a.items)===null||v===void 0?void 0:v.deleteType,"(x","1",");")}):this.emitLine((m=a.items)===null||m===void 0?void 0:m.deleteType,"(x","1",");"))})}),this.emitLine("cJSON_free(keys","1",");")}),this.emitLine(a.deleteType,"(x","","->value.",this.nameForUnionMember(e,o),");")}):a.cjsonType==="cJSON_Invalid"||a.cjsonType==="cJSON_NULL"||(a.cjsonType==="cJSON_String"||a.cjsonType==="cJSON_Object"||a.cjsonType==="cJSON_Union")&&this.emitLine(a.deleteType,"(x->value.",this.nameForUnionMember(e,o),");")}),s=!1}this.emitLine("cJSON_free(x);")})}),this.ensureBlankLine()}emitClass(e,t){const i=this.nameForNamedType(e),r=this.sourcelikeToString(i).concat(".h");t.push(r),this.startFile(r),this.emitIncludes(e,this.sourcelikeToString(r)),this.emitClassTypedef(e),this.emitClassPrototypes(e),this.emitClassFunctions(e),this.finishFile()}emitClassTypedef(e){const t=this.nameForNamedType(e);this.emitDescription(this.descriptionForType(e)),this.emitBlock(["struct ",t],()=>{this.forEachClassProperty(e,"none",(i,r,s)=>{this.emitDescription(this.descriptionForClassProperty(e,r));const o=this.quicktypeTypeToCJSON(s.type,s.isOptional);this.emitLine(o.cType,o.optionalQualifier!==""?" ":"",o.optionalQualifier," ",i,";")})},"",!0),this.ensureBlankLine(),this.emitTypedefAlias(e,t)}emitClassPrototypes(e){const t=this.nameForNamedType(e);this.emitLine("struct ",t," * cJSON_Parse",t,"(",this.withConst("char")," * s);"),this.emitLine("struct ",t," * cJSON_Get",t,"Value(",this.withConst("cJSON")," * j);"),this.emitLine("cJSON * cJSON_Create",t,"(",this.withConst(["struct ",t])," * x);"),this.emitLine("char * cJSON_Print",t,"(",this.withConst(["struct ",t])," * x);"),this.emitLine("void cJSON_Delete",t,"(struct ",t," * x);"),this.ensureBlankLine()}emitClassFunctions(e){const t=this.nameForNamedType(e);this.emitBlock(["struct ",t," * cJSON_Parse",t,"(",this.withConst("char")," * s)"],()=>{this.emitLine("struct ",t," * x = NULL;"),this.emitBlock(["if (NULL != s)"],()=>{this.emitLine("cJSON * j = cJSON_Parse(s);"),this.emitBlock(["if (NULL != j)"],()=>{this.emitLine("x = cJSON_Get",t,"Value(j);"),this.emitLine("cJSON_Delete(j);")})}),this.emitLine("return x;")}),this.ensureBlankLine(),this.emitBlock(["struct ",t," * cJSON_Get",t,"Value(",this.withConst("cJSON")," * j)"],()=>{this.emitLine("struct ",t," * x = NULL;"),this.emitBlock(["if (NULL != j)"],()=>{this.emitBlock(["if (NULL != (x = cJSON_malloc(sizeof(struct ",t,"))))"],()=>{this.emitLine("memset(x, 0, sizeof(struct ",t,"));");const i=(r,s)=>{if(r instanceof Rt.ArrayType){const o=s+1,a=this.quicktypeTypeToCJSON(r.items,!1);this.emitLine("list_t * x",o.toString()," = list_create(false, NULL);"),this.emitBlock(["if (NULL != x",o.toString(),")"],()=>{this.emitLine("cJSON * e",o.toString()," = NULL;"),this.emitBlock(["cJSON_ArrayForEach(e",o.toString(),", e",s.toString(),")"],()=>{var c;if(a.cjsonType==="cJSON_Array"){const f=o+1;i(r.items,o),this.emitLine("list_add_tail(x",o.toString(),", x",f.toString(),", sizeof(",(c=a.items)===null||c===void 0?void 0:c.cType," *));")}else a.cjsonType==="cJSON_Map"||(a.cjsonType==="cJSON_Invalid"||a.cjsonType==="cJSON_NULL"?this.emitLine("list_add_tail(x",o.toString(),", (",a.cType," *)0xDEADBEEF, sizeof(",a.cType," *));"):a.cjsonType==="cJSON_String"?this.emitLine("list_add_tail(x",o.toString(),", strdup(",a.getValue,"(e",o.toString(),")), sizeof(",a.cType," *));"):a.cjsonType==="cJSON_Object"||a.cjsonType==="cJSON_Union"?this.emitLine("list_add_tail(x",o.toString(),", ",a.getValue,"(e",o.toString(),"), sizeof(",a.cType," *));"):(this.emitLine(a.cType," * tmp",s>0?s.toString():""," = cJSON_malloc(sizeof(",a.cType,"));"),this.emitBlock(["if (NULL != tmp",s>0?s.toString():"",")"],()=>{this.emitLine("* tmp",s>0?s.toString():""," = ",a.getValue,"(e",o.toString(),");"),this.emitLine("list_add_tail(x",o.toString(),", tmp",s>0?s.toString():"",", sizeof(",a.cType," *));")})))})})}else r instanceof Rt.ClassType&&this.forEachClassProperty(r,"none",(o,a,c)=>{const f=this.quicktypeTypeToCJSON(c.type,c.isOptional);this.emitBlock(f.isNullable?["if ((cJSON_HasObjectItem(j",s>0?s.toString():"",', "',a,'")) && (!cJSON_IsNull(cJSON_GetObjectItemCaseSensitive(j',s>0?s.toString():"",', "',a,'"))))']:["if (cJSON_HasObjectItem(j",s>0?s.toString():"",', "',a,'"))'],()=>{if(f.cjsonType==="cJSON_Array"&&f.items!==void 0){const d=s+1;this.emitLine(f.cType," * x",d.toString()," = list_create(false, NULL);"),this.emitBlock(["if (NULL != x",d.toString(),")"],()=>{this.emitLine("cJSON * e",d.toString()," = NULL;"),this.emitLine("cJSON * j",d.toString()," = cJSON_GetObjectItemCaseSensitive(j",s>0?s.toString():"",', "',a,'");'),this.emitBlock(["cJSON_ArrayForEach(e",d.toString(),", j",d.toString(),")"],()=>{var p;const y=(h,S,m,v)=>{var C,U,x,J,D,K,X,E,j,ne,se,re,T,b,w,L;if(((C=S.items)===null||C===void 0?void 0:C.cjsonType)==="cJSON_Array")if(h instanceof Rt.ArrayType){const M=v+1;i(h.items,v),this.emitLine("list_add_tail(x",v.toString(),", x",M.toString(),", sizeof(",(U=S.items)===null||U===void 0?void 0:U.cType," *));")}else(0,Yi.panic)("Invalid type");else((x=S.items)===null||x===void 0?void 0:x.cjsonType)==="cJSON_Map"||(((J=S.items)===null||J===void 0?void 0:J.cjsonType)==="cJSON_Invalid"||((D=S.items)===null||D===void 0?void 0:D.cjsonType)==="cJSON_NULL"?this.emitLine("list_add_tail(x",v.toString(),", (",(K=S.items)===null||K===void 0?void 0:K.cType," *)0xDEADBEEF, sizeof(",(X=S.items)===null||X===void 0?void 0:X.cType," *));"):((E=S.items)===null||E===void 0?void 0:E.cjsonType)==="cJSON_String"?this.emitLine("list_add_tail(x",v.toString(),", strdup(",(j=S.items)===null||j===void 0?void 0:j.getValue,"(e",v.toString(),")), sizeof(",(ne=S.items)===null||ne===void 0?void 0:ne.cType," *));"):((se=S.items)===null||se===void 0?void 0:se.cjsonType)==="cJSON_Object"||((re=S.items)===null||re===void 0?void 0:re.cjsonType)==="cJSON_Union"?this.emitLine("list_add_tail(x",v.toString(),", ",(T=S.items)===null||T===void 0?void 0:T.getValue,"(e",v.toString(),"), sizeof(",(b=S.items)===null||b===void 0?void 0:b.cType," *));"):(this.emitLine((w=S.items)===null||w===void 0?void 0:w.cType," * tmp",m>0?m.toString():""," = cJSON_malloc(sizeof(",(L=S.items)===null||L===void 0?void 0:L.cType,"));"),this.emitBlock(["if (NULL != tmp",m>0?m.toString():"",")"],()=>{var M,z;this.emitLine("* tmp",m>0?m.toString():""," = ",(M=S.items)===null||M===void 0?void 0:M.getValue,"(e",v.toString(),");"),this.emitLine("list_add_tail(x",v.toString(),", tmp",m>0?m.toString():"",", sizeof(",(z=S.items)===null||z===void 0?void 0:z.cType," *));")})))};!((p=f.items)===null||p===void 0)&&p.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e",d.toString(),"))"],()=>{y(c.type,f,s,d)}),this.emitBlock(["else"],()=>{this.emitLine("list_add_tail(x",d.toString(),", (void *)0xDEADBEEF, sizeof(void *));")})):y(c.type,f,s,d)}),this.emitLine("x",s>0?s.toString():"","->",o," = x",d.toString(),";")})}else if(f.cjsonType==="cJSON_Map"&&f.items!==void 0){const d=s+1;this.emitLine(f.cType," * x",d.toString()," = hashtable_create(",this.hashtableSize,", false);"),this.emitBlock(["if (NULL != x",d.toString(),")"],()=>{this.emitLine("cJSON * e",d.toString()," = NULL;"),this.emitLine("cJSON * j",d.toString()," = cJSON_GetObjectItemCaseSensitive(j",s>0?s.toString():"",', "',a,'");'),this.emitBlock(["cJSON_ArrayForEach(e",d.toString(),", j",d.toString(),")"],()=>{var p;const y=(h,S,m,v)=>{var C,U,x,J,D,K,X,E,j,ne,se,re,T,b,w,L;if(((C=S.items)===null||C===void 0?void 0:C.cjsonType)==="cJSON_Array")if(h instanceof Rt.MapType){const M=v+1;i(h.values,v),this.emitLine("hashtable_add(x",v.toString(),", e",v.toString(),"->string, x",M.toString(),", sizeof(",(U=S.items)===null||U===void 0?void 0:U.cType," *));")}else(0,Yi.panic)("Invalid type");else((x=S.items)===null||x===void 0?void 0:x.cjsonType)==="cJSON_Map"||(((J=S.items)===null||J===void 0?void 0:J.cjsonType)==="cJSON_Invalid"||((D=S.items)===null||D===void 0?void 0:D.cjsonType)==="cJSON_NULL"?this.emitLine("hashtable_add(x",v.toString(),", e",v.toString(),"->string, (",(K=S.items)===null||K===void 0?void 0:K.cType," *)0xDEADBEEF, sizeof(",(X=S.items)===null||X===void 0?void 0:X.cType," *));"):((E=S.items)===null||E===void 0?void 0:E.cjsonType)==="cJSON_String"?this.emitLine("hashtable_add(x",v.toString(),", e",v.toString(),"->string, strdup(",(j=S.items)===null||j===void 0?void 0:j.getValue,"(e",v.toString(),")), sizeof(",(ne=S.items)===null||ne===void 0?void 0:ne.cType," *));"):((se=S.items)===null||se===void 0?void 0:se.cjsonType)==="cJSON_Object"||((re=S.items)===null||re===void 0?void 0:re.cjsonType)==="cJSON_Union"?this.emitLine("hashtable_add(x",v.toString(),", e",v.toString(),"->string, ",(T=S.items)===null||T===void 0?void 0:T.getValue,"(e",v.toString(),"), sizeof(",(b=S.items)===null||b===void 0?void 0:b.cType," *));"):(this.emitLine((w=S.items)===null||w===void 0?void 0:w.cType," * tmp",m>0?m.toString():""," = cJSON_malloc(sizeof(",(L=S.items)===null||L===void 0?void 0:L.cType,"));"),this.emitBlock(["if (NULL != tmp",m>0?m.toString():"",")"],()=>{var M,z;this.emitLine("* tmp",m>0?m.toString():""," = ",(M=S.items)===null||M===void 0?void 0:M.getValue,"(e",v.toString(),");"),this.emitLine("hashtable_add(x",v.toString(),", e",v.toString(),"->string, tmp",m>0?m.toString():"",", sizeof(",(z=S.items)===null||z===void 0?void 0:z.cType," *));")})))};!((p=f.items)===null||p===void 0)&&p.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e",d.toString(),"))"],()=>{y(c.type,f,s,d)}),this.emitBlock(["else"],()=>{this.emitLine("hashtable_add(x",d.toString(),", e",d.toString(),"->string, (void *)0xDEADBEEF, sizeof(void *));")})):y(c.type,f,s,d)}),this.emitLine("x",s>0?s.toString():"","->",o," = x",d.toString(),";")})}else f.cjsonType==="cJSON_Invalid"||f.cjsonType==="cJSON_NULL"?this.emitLine("x",s>0?s.toString():"","->",o," = (",f.cType," *)0xDEADBEEF;"):f.cjsonType==="cJSON_String"?this.emitLine("x",s>0?s.toString():"","->",o," = strdup(",f.getValue,"(cJSON_GetObjectItemCaseSensitive(j",s>0?s.toString():"",', "',a,'")));'):f.cjsonType==="cJSON_Object"||f.cjsonType==="cJSON_Union"?this.emitLine("x",s>0?s.toString():"","->",o," = ",f.getValue,"(cJSON_GetObjectItemCaseSensitive(j",s>0?s.toString():"",', "',a,'"));'):c.isOptional||f.isNullable?this.emitBlock(["if (NULL != (x",s>0?s.toString():"","->",o," = cJSON_malloc(sizeof(",f.cType,"))))"],()=>{this.emitLine("*x",s>0?s.toString():"","->",o," = ",f.getValue,"(cJSON_GetObjectItemCaseSensitive(j",s>0?s.toString():"",', "',a,'"));')}):this.emitLine("x",s>0?s.toString():"","->",o," = ",f.getValue,"(cJSON_GetObjectItemCaseSensitive(j",s>0?s.toString():"",', "',a,'"));')}),!c.isOptional&&!f.isNullable&&(f.cjsonType==="cJSON_Array"?this.emitBlock(["else"],()=>{this.emitLine("x",s>0?s.toString():"","->",o," = list_create(false, NULL);")}):f.cjsonType==="cJSON_Map"?this.emitBlock(["else"],()=>{this.emitLine("x",s>0?s.toString():"","->",o," = hashtable_create(",this.hashtableSize,", false);")}):f.cjsonType==="cJSON_Invalid"||f.cjsonType==="cJSON_NULL"?this.emitBlock(["else"],()=>{this.emitLine("x",s>0?s.toString():"","->",o," = (",f.cType," *)0xDEADBEEF;")}):f.cjsonType==="cJSON_String"&&this.emitBlock(["else"],()=>{this.emitBlock(["if (NULL != (x",s>0?s.toString():"","->",o," = cJSON_malloc(sizeof(",f.cType,"))))"],()=>{this.emitLine("x",s>0?s.toString():"","->",o,"[0] = '\\0';")})}))})};i(e,0)})}),this.emitLine("return x;")}),this.ensureBlankLine(),this.emitBlock(["cJSON * cJSON_Create",t,"(",this.withConst(["struct ",t])," * x)"],()=>{this.emitLine("cJSON * j = NULL;"),this.emitBlock(["if (NULL != x)"],()=>{this.emitBlock(["if (NULL != (j = cJSON_CreateObject()))"],()=>{const i=(r,s)=>{if(r instanceof Rt.ArrayType){const o=s+1,a=this.quicktypeTypeToCJSON(r.items,!1);this.emitLine("cJSON * j",o.toString()," = cJSON_CreateArray();"),this.emitBlock(["if (NULL != j",o.toString(),")"],()=>{this.emitLine(a.cType," * x",o.toString()," = list_get_head(x",s.toString(),");"),this.emitBlock(["while (NULL != x",o.toString(),")"],()=>{if(a.cjsonType==="cJSON_Array"){const c=o+1;i(r.items,o),this.emitLine("cJSON_AddItemToArray(j",o.toString(),", j",c.toString(),");")}else a.cjsonType==="cJSON_Map"||a.cjsonType==="cJSON_Invalid"||(a.cjsonType==="cJSON_NULL"?this.emitLine("cJSON_AddItemToArray(j",o.toString(),", ",a.createObject,"());"):a.cjsonType==="cJSON_String"||a.cjsonType==="cJSON_Object"||a.cjsonType==="cJSON_Union"?this.emitLine("cJSON_AddItemToArray(j",o.toString(),", ",a.createObject,"(x",o.toString(),"));"):this.emitLine("cJSON_AddItemToArray(j",o.toString(),", ",a.createObject,"(*x",o.toString(),"));"));this.emitLine("x",o.toString()," = list_get_next(x",s.toString(),");")})})}else r instanceof Rt.ClassType&&this.forEachClassProperty(r,"none",(o,a,c)=>{const f=this.quicktypeTypeToCJSON(c.type,c.isOptional);if(f.cjsonType==="cJSON_Array"&&f.items!==void 0){const d=s+1;this.emitBlock(["if (NULL != x",s>0?s.toString():"","->",o,")"],()=>{this.emitLine("cJSON * j",d.toString()," = cJSON_AddArrayToObject(j",s>0?s.toString():"",', "',a,'");'),this.emitBlock(["if (NULL != j",d.toString(),")"],()=>{var p;this.emitLine((p=f.items)===null||p===void 0?void 0:p.cType," * x",d.toString()," = list_get_head(x",s>0?s.toString():"","->",o,");"),this.emitBlock(["while (NULL != x",d.toString(),")"],()=>{var y;const h=(S,m,v)=>{var C,U,x,J,D,K,X,E,j,ne;if(((C=m.items)===null||C===void 0?void 0:C.cjsonType)==="cJSON_Array")if(S instanceof Rt.ArrayType){const se=v+1;i(S.items,v),this.emitLine("cJSON_AddItemToArray(j",v.toString(),", j",se.toString(),");")}else(0,Yi.panic)("Invalid type");else((U=m.items)===null||U===void 0?void 0:U.cjsonType)==="cJSON_Map"||((x=m.items)===null||x===void 0?void 0:x.cjsonType)==="cJSON_Invalid"||(((J=m.items)===null||J===void 0?void 0:J.cjsonType)==="cJSON_NULL"?this.emitLine("cJSON_AddItemToArray(j",v.toString(),", ",(D=m.items)===null||D===void 0?void 0:D.createObject,"());"):((K=m.items)===null||K===void 0?void 0:K.cjsonType)==="cJSON_String"||((X=m.items)===null||X===void 0?void 0:X.cjsonType)==="cJSON_Object"||((E=m.items)===null||E===void 0?void 0:E.cjsonType)==="cJSON_Union"?this.emitLine("cJSON_AddItemToArray(j",v.toString(),", ",(j=m.items)===null||j===void 0?void 0:j.createObject,"(x",v.toString(),"));"):this.emitLine("cJSON_AddItemToArray(j",v.toString(),", ",(ne=m.items)===null||ne===void 0?void 0:ne.createObject,"(*x",v.toString(),"));"))};!((y=f.items)===null||y===void 0)&&y.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x",d.toString(),")"],()=>{h(c.type,f,d)}),this.emitBlock(["else"],()=>{this.emitLine("cJSON_AddItemToArray(j",d.toString(),", cJSON_CreateNull());")})):h(c.type,f,d),this.emitLine("x",d.toString()," = list_get_next(x",s>0?s.toString():"","->",o,");")})})})}else if(f.cjsonType==="cJSON_Map"&&f.items!==void 0){const d=s+1;this.emitBlock(["if (NULL != x",s>0?s.toString():"","->",o,")"],()=>{this.emitLine("cJSON * j",d.toString()," = ",f.createObject,"();"),this.emitBlock(["if (NULL != j",d.toString(),")"],()=>{this.emitLine("char **keys",d.toString()," = NULL;"),this.emitLine("size_t count",d.toString()," = hashtable_get_keys(x",s>0?s.toString():"","->",o,", &keys",d.toString(),");"),this.emitBlock(["if (NULL != keys",d.toString(),")"],()=>{this.emitBlock(["for (size_t index",d.toString()," = 0; index",d.toString()," < count",d.toString(),"; index",d.toString(),"++)"],()=>{var p,y;this.emitLine((p=f.items)===null||p===void 0?void 0:p.cType," *x",d.toString()," = hashtable_lookup(x",s>0?s.toString():"","->",o,", keys",d.toString(),"[index",d.toString(),"]);");const h=(S,m,v)=>{var C,U,x,J,D,K,X,E,j,ne;if(((C=m.items)===null||C===void 0?void 0:C.cjsonType)==="cJSON_Array")if(S instanceof Rt.MapType){const se=v+1;i(S.values,v),this.emitLine(m.addToObject,"(j",v.toString(),", keys",v.toString(),"[index",v.toString(),"], j",se.toString(),");")}else(0,Yi.panic)("Invalid type");else((U=m.items)===null||U===void 0?void 0:U.cjsonType)==="cJSON_Map"||((x=m.items)===null||x===void 0?void 0:x.cjsonType)==="cJSON_Invalid"||(((J=m.items)===null||J===void 0?void 0:J.cjsonType)==="cJSON_NULL"?this.emitLine(m.addToObject,"(j",v.toString(),", keys",v.toString(),"[index",v.toString(),"], ",(D=m.items)===null||D===void 0?void 0:D.createObject,"());"):((K=m.items)===null||K===void 0?void 0:K.cjsonType)==="cJSON_String"||((X=m.items)===null||X===void 0?void 0:X.cjsonType)==="cJSON_Object"||((E=m.items)===null||E===void 0?void 0:E.cjsonType)==="cJSON_Union"?this.emitLine(m.addToObject,"(j",v.toString(),", keys",v.toString(),"[index",v.toString(),"], ",(j=m.items)===null||j===void 0?void 0:j.createObject,"(x",v.toString(),"));"):this.emitLine(m.addToObject,"(j",v.toString(),", keys",v.toString(),"[index",v.toString(),"], ",(ne=m.items)===null||ne===void 0?void 0:ne.createObject,"(*x",v.toString(),"));"))};!((y=f.items)===null||y===void 0)&&y.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x",d.toString(),")"],()=>{h(c.type,f,d)}),this.emitBlock(["else"],()=>{this.emitLine(f.addToObject,"(j",d.toString(),", keys",d.toString(),"[index",d.toString(),"], cJSON_CreateNull());")})):h(c.type,f,d)}),this.emitLine("cJSON_free(keys",d.toString(),");")}),this.emitLine(f.addToObject,"(j",s>0?s.toString():"",', "',a,'", j',d.toString(),");")})})}else f.cjsonType==="cJSON_Invalid"||(f.cjsonType==="cJSON_NULL"?c.isOptional?this.emitBlock(["if (NULL != x",s>0?s.toString():"","->",o,")"],()=>{this.emitLine(f.addToObject,"(j",s>0?s.toString():"",', "',a,'");')}):this.emitLine(f.addToObject,"(j",s>0?s.toString():"",', "',a,'");'):f.cjsonType==="cJSON_String"?(this.emitBlock(["if (NULL != x",s>0?s.toString():"","->",o,")"],()=>{this.emitLine(f.addToObject,"(j",s>0?s.toString():"",', "',a,'", x',s>0?s.toString():"","->",o,");")}),!c.isOptional&&!f.isNullable&&this.emitBlock(["else"],()=>{this.emitLine(f.addToObject,"(j",s>0?s.toString():"",', "',a,'", "");')})):f.cjsonType==="cJSON_Object"||f.cjsonType==="cJSON_Union"?c.isOptional||f.isNullable?this.emitBlock(["if (NULL != x",s>0?s.toString():"","->",o,")"],()=>{this.emitLine(f.addToObject,"(j",s>0?s.toString():"",', "',a,'", ',f.createObject,"(x",s>0?s.toString():"","->",o,"));")}):this.emitLine(f.addToObject,"(j",s>0?s.toString():"",', "',a,'", ',f.createObject,"(x",s>0?s.toString():"","->",o,"));"):f.cjsonType==="cJSON_Enum"?c.isOptional||f.isNullable?this.emitBlock(["if (NULL != x",s>0?s.toString():"","->",o,")"],()=>{this.emitLine(f.addToObject,"(j",s>0?s.toString():"",', "',a,'", ',f.createObject,"(*x",s>0?s.toString():"","->",o,"));")}):this.emitLine(f.addToObject,"(j",s>0?s.toString():"",', "',a,'", ',f.createObject,"(x",s>0?s.toString():"","->",o,"));"):c.isOptional||f.isNullable?this.emitBlock(["if (NULL != x",s>0?s.toString():"","->",o,")"],()=>{this.emitLine(f.addToObject,"(j",s>0?s.toString():"",', "',a,'", *x',s>0?s.toString():"","->",o,");")}):this.emitLine(f.addToObject,"(j",s>0?s.toString():"",', "',a,'", x',s>0?s.toString():"","->",o,");"));f.isNullable&&this.emitBlock(["else"],()=>{this.emitLine("cJSON_AddNullToObject(j",s>0?s.toString():"",', "',a,'");')})})};i(e,0)})}),this.emitLine("return j;")}),this.ensureBlankLine(),this.emitBlock(["char * cJSON_Print",t,"(",this.withConst(["struct ",t])," * x)"],()=>{this.emitLine("char * s = NULL;"),this.emitBlock(["if (NULL != x)"],()=>{this.emitLine("cJSON * j = cJSON_Create",t,"(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",t,"(struct ",t," * x)"],()=>{this.emitBlock(["if (NULL != x)"],()=>{const i=(r,s)=>{if(r instanceof Rt.ArrayType){const o=s+1,a=this.quicktypeTypeToCJSON(r.items,!1);this.emitLine(a.cType," * x",o.toString()," = list_get_head(x",s.toString(),");"),this.emitBlock(["while (NULL != x",o.toString(),")"],()=>{a.cjsonType==="cJSON_Array"?(i(r.items,o),this.emitLine(a.deleteType,"(x",o.toString(),");")):a.cjsonType==="cJSON_Map"||a.cjsonType==="cJSON_Invalid"||a.cjsonType==="cJSON_NULL"||this.emitLine(a.deleteType,"(x",o.toString(),");"),this.emitLine("x",o.toString()," = list_get_next(x",s.toString(),");")})}else r instanceof Rt.ClassType&&this.forEachClassProperty(r,"none",(o,a,c)=>{const f=this.quicktypeTypeToCJSON(c.type,c.isOptional);if(f.cjsonType==="cJSON_Array"&&f.items!==void 0){const d=s+1;this.emitBlock(["if (NULL != x",s>0?s.toString():"","->",o,")"],()=>{var p;this.emitLine((p=f.items)===null||p===void 0?void 0:p.cType," * x",d.toString()," = list_get_head(x",s>0?s.toString():"","->",o,");"),this.emitBlock(["while (NULL != x",d.toString(),")"],()=>{var y,h,S,m,v,C,U;((y=f.items)===null||y===void 0?void 0:y.cjsonType)==="cJSON_Array"?c.type instanceof Rt.ArrayType?(i(c.type.items,d),this.emitLine((h=f.items)===null||h===void 0?void 0:h.deleteType,"(x",d.toString(),");")):(0,Yi.panic)("Invalid type"):((S=f.items)===null||S===void 0?void 0:S.cjsonType)==="cJSON_Map"||((m=f.items)===null||m===void 0?void 0:m.cjsonType)==="cJSON_Invalid"||((v=f.items)===null||v===void 0?void 0:v.cjsonType)==="cJSON_NULL"||(!((C=f.items)===null||C===void 0)&&C.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x",d.toString(),")"],()=>{var x;this.emitLine((x=f.items)===null||x===void 0?void 0:x.deleteType,"(x",d.toString(),");")}):this.emitLine((U=f.items)===null||U===void 0?void 0:U.deleteType,"(x",d.toString(),");")),this.emitLine("x",d.toString()," = list_get_next(x",s>0?s.toString():"","->",o,");")}),this.emitLine(f.deleteType,"(x",s>0?s.toString():"","->",o,");")})}else if(f.cjsonType==="cJSON_Map"&&f.items!==void 0){const d=s+1;this.emitBlock(["if (NULL != x",s>0?s.toString():"","->",o,")"],()=>{this.emitLine("char **keys",d.toString()," = NULL;"),this.emitLine("size_t count",d.toString()," = hashtable_get_keys(x",s>0?s.toString():"","->",o,", &keys",d.toString(),");"),this.emitBlock(["if (NULL != keys",d.toString(),")"],()=>{this.emitBlock(["for (size_t index",d.toString()," = 0; index",d.toString()," < count",d.toString(),"; index",d.toString(),"++)"],()=>{var p;this.emitLine((p=f.items)===null||p===void 0?void 0:p.cType," *x",d.toString()," = hashtable_lookup(x",s>0?s.toString():"","->",o,", keys",d.toString(),"[index",d.toString(),"]);"),this.emitBlock(["if (NULL != x",d.toString(),")"],()=>{var y,h,S,m,v,C,U;((y=f.items)===null||y===void 0?void 0:y.cjsonType)==="cJSON_Array"?c.type instanceof Rt.MapType?(i(c.type.values,d),this.emitLine((h=f.items)===null||h===void 0?void 0:h.deleteType,"(x",d.toString(),");")):(0,Yi.panic)("Invalid type"):((S=f.items)===null||S===void 0?void 0:S.cjsonType)==="cJSON_Map"||((m=f.items)===null||m===void 0?void 0:m.cjsonType)==="cJSON_Invalid"||((v=f.items)===null||v===void 0?void 0:v.cjsonType)==="cJSON_NULL"||(!((C=f.items)===null||C===void 0)&&C.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x",d.toString(),")"],()=>{var x;this.emitLine((x=f.items)===null||x===void 0?void 0:x.deleteType,"(x",d.toString(),");")}):this.emitLine((U=f.items)===null||U===void 0?void 0:U.deleteType,"(x",d.toString(),");"))})}),this.emitLine("cJSON_free(keys",d.toString(),");")}),this.emitLine(f.deleteType,"(x",s>0?s.toString():"","->",o,");")})}else f.cjsonType==="cJSON_Invalid"||f.cjsonType==="cJSON_NULL"||(f.cjsonType==="cJSON_String"||f.cjsonType==="cJSON_Object"||f.cjsonType==="cJSON_Union"?this.emitBlock(["if (NULL != x",s>0?s.toString():"","->",o,")"],()=>{this.emitLine(f.deleteType,"(x",s>0?s.toString():"","->",o,");")}):(c.isOptional||f.isNullable)&&this.emitBlock(["if (NULL != x",s>0?s.toString():"","->",o,")"],()=>{this.emitLine(f.deleteType,"(x",s>0?s.toString():"","->",o,");")}))})};i(e,0),this.emitLine("cJSON_free(x);")})}),this.ensureBlankLine()}emitTopLevel(e,t,i){const r=this.sourcelikeToString(t).concat(".h");this.startFile(r),i.forEach(s=>{this.emitIncludeLine(s)}),this.ensureBlankLine(),this.emitTopLevelTypedef(e,t),this.emitTopLevelPrototypes(e,t),this.emitTopLevelFunctions(e,t),this.finishFile()}emitTopLevelTypedef(e,t){this.emitBlock(["struct ",t],()=>{const i=this.quicktypeTypeToCJSON(e,!1);this.emitLine(i.cType,i.optionalQualifier!==""?" ":"",i.optionalQualifier," value;")},"",!0),this.ensureBlankLine(),this.emitTypedefAlias(e,t)}emitTopLevelPrototypes(e,t){this.emitLine("struct ",t," * cJSON_Parse",t,"(",this.withConst("char")," * s);"),this.emitLine("struct ",t," * cJSON_Get",t,"Value(",this.withConst("cJSON")," * j);"),this.emitLine("cJSON * cJSON_Create",t,"(",this.withConst(["struct ",t])," * x);"),this.emitLine("char * cJSON_Print",t,"(",this.withConst(["struct ",t])," * x);"),this.emitLine("void cJSON_Delete",t,"(struct ",t," * x);"),this.ensureBlankLine()}emitTopLevelFunctions(e,t){this.emitBlock(["struct ",t," * cJSON_Parse",t,"(",this.withConst("char")," * s)"],()=>{this.emitLine("struct ",t," * x = NULL;"),this.emitBlock(["if (NULL != s)"],()=>{this.emitLine("cJSON * j = cJSON_Parse(s);"),this.emitBlock(["if (NULL != j)"],()=>{this.emitLine("x = cJSON_Get",t,"Value(j);"),this.emitLine("cJSON_Delete(j);")})}),this.emitLine("return x;")}),this.ensureBlankLine(),this.emitBlock(["struct ",t," * cJSON_Get",t,"Value(",this.withConst("cJSON")," * j)"],()=>{this.emitLine("struct ",t," * x = NULL;"),this.emitBlock(["if (NULL != j)"],()=>{this.emitBlock(["if (NULL != (x = cJSON_malloc(sizeof(struct ",t,"))))"],()=>{this.emitLine("memset(x, 0, sizeof(struct ",t,"));");const i=this.quicktypeTypeToCJSON(e,!1);i.cjsonType==="cJSON_Array"&&i.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)"],()=>{var r;const s=o=>{var a,c,f,d,p,y,h,S,m,v,C;((a=o.items)===null||a===void 0?void 0:a.cjsonType)==="cJSON_Array"||((c=o.items)===null||c===void 0?void 0:c.cjsonType)==="cJSON_Map"||(((f=o.items)===null||f===void 0?void 0:f.cjsonType)==="cJSON_Invalid"||((d=o.items)===null||d===void 0?void 0:d.cjsonType)==="cJSON_NULL"?this.emitLine("list_add_tail(x->value, (",(p=o.items)===null||p===void 0?void 0:p.cType," *)0xDEADBEAF, sizeof(",(y=o.items)===null||y===void 0?void 0:y.cType," *));"):((h=o.items)===null||h===void 0?void 0:h.cjsonType)==="cJSON_String"?this.emitLine("list_add_tail(x->value, strdup(",(S=o.items)===null||S===void 0?void 0:S.getValue,"(e)), sizeof(",(m=o.items)===null||m===void 0?void 0:m.cType," *));"):this.emitLine("list_add_tail(x->value, ",(v=o.items)===null||v===void 0?void 0:v.getValue,"(e), sizeof(",(C=o.items)===null||C===void 0?void 0:C.cType," *));"))};!((r=i.items)===null||r===void 0)&&r.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e))"],()=>{s(i)}),this.emitBlock(["else"],()=>{this.emitLine("list_add_tail(x->value, (void *)0xDEADBEEF, sizeof(void *));")})):s(i)})})):i.cjsonType==="cJSON_Map"&&i.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)"],()=>{var r;const s=o=>{var a,c,f,d,p,y,h,S,m,v,C;((a=o.items)===null||a===void 0?void 0:a.cjsonType)==="cJSON_Array"||((c=o.items)===null||c===void 0?void 0:c.cjsonType)==="cJSON_Map"||(((f=o.items)===null||f===void 0?void 0:f.cjsonType)==="cJSON_Invalid"||((d=o.items)===null||d===void 0?void 0:d.cjsonType)==="cJSON_NULL"?this.emitLine("hashtable_add(x->value, e->string, (",(p=o.items)===null||p===void 0?void 0:p.cType," *)0xDEADBEEF, sizeof(",(y=o.items)===null||y===void 0?void 0:y.cType," *));"):((h=o.items)===null||h===void 0?void 0:h.cjsonType)==="cJSON_String"?this.emitLine("hashtable_add(x->value, e->string, strdup(",(S=o.items)===null||S===void 0?void 0:S.getValue,"(e)), sizeof(",(m=o.items)===null||m===void 0?void 0:m.cType," *));"):this.emitLine("hashtable_add(x->value, e->string, ",(v=o.items)===null||v===void 0?void 0:v.getValue,"(e), sizeof(",(C=o.items)===null||C===void 0?void 0:C.cType," *));"))};!((r=i.items)===null||r===void 0)&&r.isNullable?(this.emitBlock(["if (!cJSON_IsNull(e))"],()=>{s(i)}),this.emitBlock(["else"],()=>{this.emitLine("hashtable_add(x->value, e->string, (void *)0xDEADBEEF, sizeof(void *));")})):s(i)})})):i.cjsonType==="cJSON_Invalid"||(i.cjsonType==="cJSON_NULL"?this.emitLine("x->value = (",i.cType," *)0xDEADBEEF;"):i.cjsonType==="cJSON_String"?this.emitLine("x->value = strdup(",i.getValue,"(j));"):this.emitLine("x->value = ",i.getValue,"(j);"))})}),this.emitLine("return x;")}),this.ensureBlankLine(),this.emitBlock(["cJSON * cJSON_Create",t,"(",this.withConst(["struct ",t])," * x)"],()=>{this.emitLine("cJSON * j = NULL;"),this.emitBlock(["if (NULL != x)"],()=>{const i=this.quicktypeTypeToCJSON(e,!1);i.cjsonType==="cJSON_Array"&&i.items!==void 0?this.emitBlock(["if (NULL != x->value)"],()=>{this.emitLine("j = ",i.createObject,"();"),this.emitBlock(["if (NULL != j)"],()=>{var r;this.emitLine((r=i.items)===null||r===void 0?void 0:r.cType," * x1 = list_get_head(x->value);"),this.emitBlock(["while (NULL != x1)"],()=>{var s;const o=a=>{var c,f,d,p,y,h,S,m,v,C;((c=a.items)===null||c===void 0?void 0:c.cjsonType)==="cJSON_Array"||((f=a.items)===null||f===void 0?void 0:f.cjsonType)==="cJSON_Map"||((d=a.items)===null||d===void 0?void 0:d.cjsonType)==="cJSON_Invalid"||(((p=a.items)===null||p===void 0?void 0:p.cjsonType)==="cJSON_NULL"?this.emitLine("cJSON_AddItemToArray(j, ",(y=a.items)===null||y===void 0?void 0:y.createObject,"());"):((h=a.items)===null||h===void 0?void 0:h.cjsonType)==="cJSON_String"||((S=a.items)===null||S===void 0?void 0:S.cjsonType)==="cJSON_Object"||((m=a.items)===null||m===void 0?void 0:m.cjsonType)==="cJSON_Union"?this.emitLine("cJSON_AddItemToArray(j, ",(v=a.items)===null||v===void 0?void 0:v.createObject,"(x1));"):this.emitLine("cJSON_AddItemToArray(j, ",(C=a.items)===null||C===void 0?void 0:C.createObject,"(*x1));"))};!((s=i.items)===null||s===void 0)&&s.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x1)"],()=>{o(i)}),this.emitBlock(["else"],()=>{this.emitLine("cJSON_AddItemToArray(j, cJSON_CreateNull());")})):o(i),this.emitLine("x1 = list_get_next(x->value);")})})}):i.cjsonType==="cJSON_Map"&&i.items!==void 0?this.emitBlock(["if (NULL != x->value)"],()=>{this.emitLine("j = ",i.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++)"],()=>{var r,s;this.emitLine((r=i.items)===null||r===void 0?void 0:r.cType," *x2 = hashtable_lookup(x->value, keys[index]);");const o=a=>{var c,f,d,p,y,h,S,m,v,C;((c=a.items)===null||c===void 0?void 0:c.cjsonType)==="cJSON_Array"||((f=a.items)===null||f===void 0?void 0:f.cjsonType)==="cJSON_Map"||((d=a.items)===null||d===void 0?void 0:d.cjsonType)==="cJSON_Invalid"||(((p=a.items)===null||p===void 0?void 0:p.cjsonType)==="cJSON_NULL"?this.emitLine(a.addToObject,"(j, keys[index], ",(y=a.items)===null||y===void 0?void 0:y.createObject,"());"):((h=a.items)===null||h===void 0?void 0:h.cjsonType)==="cJSON_String"||((S=a.items)===null||S===void 0?void 0:S.cjsonType)==="cJSON_Object"||((m=a.items)===null||m===void 0?void 0:m.cjsonType)==="cJSON_Union"?this.emitLine(a.addToObject,"(j, keys[index], ",(v=a.items)===null||v===void 0?void 0:v.createObject,"(x2));"):this.emitLine(a.addToObject,"(j, keys[index], ",(C=a.items)===null||C===void 0?void 0:C.createObject,"(*x2));"))};!((s=i.items)===null||s===void 0)&&s.isNullable?(this.emitBlock(["if ((void *)0xDEADBEEF != x2)"],()=>{o(i)}),this.emitBlock(["else"],()=>{this.emitLine(i.addToObject,"(j, keys[index], cJSON_CreateNull());")})):o(i)}),this.emitLine("cJSON_free(keys);")})})}):i.cjsonType==="cJSON_Invalid"||(i.cjsonType==="cJSON_NULL"?this.emitLine("j = ",i.createObject,"();"):this.emitLine("j = ",i.createObject,"(x->value);"))}),this.emitLine("return j;")}),this.ensureBlankLine(),this.emitBlock(["char * cJSON_Print",t,"(",this.withConst(["struct ",t])," * x)"],()=>{this.emitLine("char * s = NULL;"),this.emitBlock(["if (NULL != x)"],()=>{this.emitLine("cJSON * j = cJSON_Create",t,"(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",t,"(struct ",t," * x)"],()=>{this.emitBlock(["if (NULL != x)"],()=>{const i=this.quicktypeTypeToCJSON(e,!1);i.cjsonType==="cJSON_Array"&&i.items!==void 0?this.emitBlock(["if (NULL != x->value)"],()=>{var r;this.emitLine((r=i.items)===null||r===void 0?void 0:r.cType," * x1 = list_get_head(x->value);"),this.emitBlock(["while (NULL != x1)"],()=>{var s,o;!((s=i.items)===null||s===void 0)&&s.isNullable?this.emitBlock(["if ((void *)0xDEADBEEF != x1)"],()=>{var a;this.emitLine((a=i.items)===null||a===void 0?void 0:a.deleteType,"(x1);")}):this.emitLine((o=i.items)===null||o===void 0?void 0:o.deleteType,"(x1);"),this.emitLine("x1 = list_get_next(x->value);")}),this.emitLine(i.deleteType,"(x->value);")}):i.cjsonType==="cJSON_Map"&&i.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++)"],()=>{var r;this.emitLine((r=i.items)===null||r===void 0?void 0:r.cType," *x2 = hashtable_lookup(x->value, keys[index]);"),this.emitBlock(["if (NULL != x2)"],()=>{var s,o,a;!((s=i.items)===null||s===void 0)&&s.isNullable?this.emitBlock(["if ((",(o=i.items)===null||o===void 0?void 0:o.cType," *)0xDEADBEEF != x2)"],()=>{var c;this.emitLine((c=i.items)===null||c===void 0?void 0:c.deleteType,"(x2);")}):this.emitLine((a=i.items)===null||a===void 0?void 0:a.deleteType,"(x2);")})}),this.emitLine("cJSON_free(keys);")}),this.emitLine(i.deleteType,"(x->value);")}):i.cjsonType==="cJSON_Invalid"||i.cjsonType==="cJSON_NULL"||(i.cjsonType==="cJSON_String"||i.cjsonType==="cJSON_Object"||i.cjsonType==="cJSON_Union")&&this.emitLine(i.deleteType,"(x->value);"),this.emitLine("cJSON_free(x);")})}),this.ensureBlankLine()}quicktypeTypeToCJSON(e,t,i=!1){return(0,za.matchType)(e,r=>({cType:"void",optionalQualifier:"*",cjsonType:"cJSON_Invalid",isType:"cJSON_IsInvalid",getValue:"",addToObject:"",createObject:"",deleteType:"",items:void 0,isNullable:i}),r=>({cType:"void",optionalQualifier:"*",cjsonType:"cJSON_NULL",isType:"cJSON_IsNull",getValue:"",addToObject:"cJSON_AddNullToObject",createObject:"cJSON_CreateNull",deleteType:"cJSON_free",items:void 0,isNullable:i}),r=>({cType:"bool",optionalQualifier:t===!0?"*":"",cjsonType:"cJSON_Bool",isType:"cJSON_IsBool",getValue:"cJSON_IsTrue",addToObject:"cJSON_AddBoolToObject",createObject:"cJSON_CreateBool",deleteType:"cJSON_free",items:void 0,isNullable:i}),r=>({cType:this.typeIntegerSize,optionalQualifier:t===!0?"*":"",cjsonType:"cJSON_Number",isType:"cJSON_IsNumber",getValue:"cJSON_GetNumberValue",addToObject:"cJSON_AddNumberToObject",createObject:"cJSON_CreateNumber",deleteType:"cJSON_free",items:void 0,isNullable:i}),r=>({cType:"double",optionalQualifier:t===!0?"*":"",cjsonType:"cJSON_Number",isType:"cJSON_IsNumber",getValue:"cJSON_GetNumberValue",addToObject:"cJSON_AddNumberToObject",createObject:"cJSON_CreateNumber",deleteType:"cJSON_free",items:void 0,isNullable:i}),r=>({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:i}),r=>({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(r.items,!1),isNullable:i}),r=>({cType:["struct ",this.nameForNamedType(r)],optionalQualifier:"*",cjsonType:"cJSON_Object",isType:"cJSON_IsObject",getValue:["cJSON_Get",this.nameForNamedType(r),"Value"],addToObject:"cJSON_AddItemToObject",createObject:["cJSON_Create",this.nameForNamedType(r)],deleteType:["cJSON_Delete",this.nameForNamedType(r)],items:void 0,isNullable:i}),r=>({cType:"hashtable_t",optionalQualifier:"*",cjsonType:"cJSON_Map",isType:"cJSON_IsObject",getValue:"",addToObject:"cJSON_AddItemToObject",createObject:"cJSON_CreateObject",deleteType:"hashtable_release",items:this.quicktypeTypeToCJSON(r.values,!1),isNullable:i}),r=>({cType:["enum ",this.nameForNamedType(r)],optionalQualifier:t===!0?"*":"",cjsonType:"cJSON_Enum",isType:"cJSON_IsString",getValue:["cJSON_Get",this.nameForNamedType(r),"Value"],addToObject:"cJSON_AddItemToObject",createObject:["cJSON_Create",this.nameForNamedType(r)],deleteType:"cJSON_free",items:void 0,isNullable:i}),r=>{const s=(0,za.nullableFromUnion)(r);return s!==null?this.quicktypeTypeToCJSON(s,!0,!0):{cType:["struct ",this.nameForNamedType(r)],optionalQualifier:"*",cjsonType:"cJSON_Union",isType:"",getValue:["cJSON_Get",this.nameForNamedType(r),"Value"],addToObject:"cJSON_AddItemToObject",createObject:["cJSON_Create",this.nameForNamedType(r)],deleteType:["cJSON_Delete",this.nameForNamedType(r)],items:void 0,isNullable:i}})}startFile(e){(0,Yi.assert)(this.currentFilename===void 0,"Previous file wasn't finished"),e!==void 0&&(this.currentFilename=this.sourcelikeToString(e)),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,ns.allUpperWordStyle)(this.currentFilename.replace(new RegExp(/[^a-zA-Z0-9]+/,"g"),"_")),"__"),this.emitLine("#define __",(0,ns.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,ns.allUpperWordStyle)(this.currentFilename.replace(new RegExp(/[^a-zA-Z0-9]+/,"g"),"_")),"__ */"),this.ensureBlankLine(),super.finishFile((0,Yi.defined)(this.currentFilename)),this.currentFilename=void 0)}get needsTypeDeclarationBeforeUse(){return!0}canBeForwardDeclared(e){return e.kind==="class"}withConst(e){return["const ",e]}emitIncludeLine(e,t=!1){this.emitLine("#include ",t?"<":'"',e,t?">":'"')}emitDescriptionBlock(e){this.emitCommentLines(e,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(e,t,i="",r=!1,s=!0){this.emitLine(e," {"),this.preventBlankLine(),s?this.indent(t):t(),this.preventBlankLine(),r?i!==""?this.emitLine("} ",i,";"):this.emitLine("};"):i!==""?this.emitLine("} ",i):this.emitLine("}")}emitIncludes(e,t){const i=new Map;e instanceof Rt.UnionType?this.updateIncludes(!1,i,e):e instanceof Rt.ClassType&&this.forEachClassProperty(e,"none",(r,s,o)=>{this.updateIncludes(!0,i,o.type)}),i.size!==0&&i.forEach((r,s)=>{s=s.concat(".h"),s!==t&&this.emitIncludeLine(s)}),this.ensureBlankLine()}updateIncludes(e,t,i){const r=this.generatedTypes(e,i);for(const s of r){const o=this.sourcelikeToString(s.name),a={kind:void 0,typeKind:void 0};if(s.type instanceof Rt.ClassType)a.typeKind="class",a.kind=s.level===0?ci.IncludeKind.Include:ci.IncludeKind.ForwardDeclare,s.forceInclude&&(a.kind=ci.IncludeKind.Include);else if(s.type instanceof Rt.EnumType)a.typeKind="enum",a.kind=ci.IncludeKind.ForwardDeclare;else if(s.type instanceof Rt.UnionType){a.typeKind="union";const[c]=(0,za.removeNullFromUnion)(s.type,!0);c!==void 0||s.forceInclude?a.kind=ci.IncludeKind.Include:a.kind=ci.IncludeKind.ForwardDeclare}if(t.has(o)){const c=t.get(o);c!==void 0&&c.kind===ci.IncludeKind.ForwardDeclare&&t.set(o,a)}else t.set(o,a)}}generatedTypes(e,t){const i=[],r=(s,o,a,c)=>{if(c instanceof Rt.ArrayType)r(s,o,a+1,c.items);else if(c instanceof Rt.ClassType)i.push({name:this.nameForNamedType(c),type:c,level:a,variant:o,forceInclude:s});else if(c instanceof Rt.MapType)r(s,o,a+1,c.values);else if(c instanceof Rt.EnumType)i.push({name:this.nameForNamedType(c),type:c,level:a,variant:o,forceInclude:!1});else if(c instanceof Rt.UnionType){this.unionNeedsName(c)&&e&&(s=!0,i.push({name:this.nameForNamedType(c),type:c,level:a,variant:!0,forceInclude:s}));const[f,d]=(0,za.removeNullFromUnion)(c);o=f!==null;for(const p of d)r(s,o,a+1,p)}};return r(!1,!1,0,t),i}}ac.CJSONRenderer=ix;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.CJSONTargetLanguage=n.cJSONOptions=void 0;const e=pt,t=Ot,i=ac,r=["pascal-case","pascal"],s=["underscore-case","underscore"],o=["camel-case","camel"],a=["upper-underscore-case","upper-underscore"],c=["pascal-case-upper-acronyms","pascal-upper-acronyms"],f=["camel-case-upper-acronyms","camel-upper-acronyms"];n.cJSONOptions={typeSourceStyle:new e.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 e.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 e.StringOption("hashtable-size","Hashtable size, used when maps are created (64 by default)","SIZE","64"),addTypedefAlias:new e.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 e.EnumOption("print-style","Which cJSON print should be used (formatted by default)",[["print-formatted",!1],["print-unformatted",!0]],"print-formatted","secondary"),typeNamingStyle:new e.EnumOption("type-style","Naming style for types",[r,s,o,a,c,f]),memberNamingStyle:new e.EnumOption("member-style","Naming style for members",[s,r,o,a,c,f]),enumeratorNamingStyle:new e.EnumOption("enumerator-style","Naming style for enumerators",[a,s,r,o,c,f])};class d extends t.TargetLanguage{constructor(y="C (cJSON)",h=["cjson","cJSON"],S="h"){super(y,h,S)}getOptions(){return[n.cJSONOptions.typeSourceStyle,n.cJSONOptions.typeIntegerSize,n.cJSONOptions.addTypedefAlias,n.cJSONOptions.printStyle,n.cJSONOptions.hashtableSize,n.cJSONOptions.typeNamingStyle,n.cJSONOptions.memberNamingStyle,n.cJSONOptions.enumeratorNamingStyle]}get supportsUnionsWithBothNumberTypes(){return!0}get supportsOptionalClassProperties(){return!0}makeRenderer(y,h){return new i.CJSONRenderer(this,y,(0,e.getOptionValues)(n.cJSONOptions,h))}}n.CJSONTargetLanguage=d})(MN);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.CJSONRenderer=n.cJSONOptions=n.CJSONTargetLanguage=void 0;var e=MN;Object.defineProperty(n,"CJSONTargetLanguage",{enumerable:!0,get:function(){return e.CJSONTargetLanguage}}),Object.defineProperty(n,"cJSONOptions",{enumerable:!0,get:function(){return e.cJSONOptions}});var t=ac;Object.defineProperty(n,"CJSONRenderer",{enumerable:!0,get:function(){return t.CJSONRenderer}})})(Cb);var Mb={},GN={},lc={},Fh={};Object.defineProperty(Fh,"__esModule",{value:!0});Fh.keywords=void 0;Fh.keywords=["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"];var qN={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.BaseString=n.WrappingCode=n.addQualifier=n.MemberNames=n.GlobalNames=n.IncludeKind=n.optionalFactoryAsSharedType=n.optionalAsSharedType=n.legalizeName=n.constraintsForType=void 0;const e=rc,t=Ke;function i(a){const c=(0,e.minMaxValueForType)(a),f=(0,e.minMaxLengthForType)(a),d=(0,e.patternForType)(a);if(!(c===void 0&&f===void 0&&d===void 0))return{minMax:c,minMaxLength:f,pattern:d}}n.constraintsForType=i,n.legalizeName=(0,t.legalizeCharacters)(a=>(0,t.isAscii)(a)&&(0,t.isLetterOrUnderscoreOrDigit)(a)),n.optionalAsSharedType="std::shared_ptr",n.optionalFactoryAsSharedType="std::make_shared",function(a){a.ForwardDeclare="ForwardDeclare",a.Include="Include"}(n.IncludeKind||(n.IncludeKind={})),function(a){a[a.ClassMemberConstraints=1]="ClassMemberConstraints",a[a.ClassMemberConstraintException=2]="ClassMemberConstraintException",a[a.ValueTooLowException=3]="ValueTooLowException",a[a.ValueTooHighException=4]="ValueTooHighException",a[a.ValueTooShortException=5]="ValueTooShortException",a[a.ValueTooLongException=6]="ValueTooLongException",a[a.InvalidPatternException=7]="InvalidPatternException",a[a.CheckConstraint=8]="CheckConstraint"}(n.GlobalNames||(n.GlobalNames={})),function(a){a[a.MinIntValue=1]="MinIntValue",a[a.GetMinIntValue=2]="GetMinIntValue",a[a.SetMinIntValue=3]="SetMinIntValue",a[a.MaxIntValue=4]="MaxIntValue",a[a.GetMaxIntValue=5]="GetMaxIntValue",a[a.SetMaxIntValue=6]="SetMaxIntValue",a[a.MinDoubleValue=7]="MinDoubleValue",a[a.GetMinDoubleValue=8]="GetMinDoubleValue",a[a.SetMinDoubleValue=9]="SetMinDoubleValue",a[a.MaxDoubleValue=10]="MaxDoubleValue",a[a.GetMaxDoubleValue=11]="GetMaxDoubleValue",a[a.SetMaxDoubleValue=12]="SetMaxDoubleValue",a[a.MinLength=13]="MinLength",a[a.GetMinLength=14]="GetMinLength",a[a.SetMinLength=15]="SetMinLength",a[a.MaxLength=16]="MaxLength",a[a.GetMaxLength=17]="GetMaxLength",a[a.SetMaxLength=18]="SetMaxLength",a[a.Pattern=19]="Pattern",a[a.GetPattern=20]="GetPattern",a[a.SetPattern=21]="SetPattern"}(n.MemberNames||(n.MemberNames={}));function r(a,c){return c.length===0?[]:[a,c]}n.addQualifier=r;class s{constructor(c,f){this.start=c,this.end=f}wrap(c,f){return[r(c,this.start),f,this.end]}}n.WrappingCode=s;class o{constructor(c,f,d,p,y,h,S,m){this._stringType=c,this._constStringType=f,this._smatch=d,this._regex=p,this._stringLiteralPrefix=y,this._toString=h,this._encodingClass=S,this._encodingFunction=m}getType(){return this._stringType}getConstType(){return this._constStringType}getSMatch(){return this._smatch}getRegex(){return this._regex}createStringLiteral(c){return[this._stringLiteralPrefix,'"',c,'"']}wrapToString(c){return this._toString.wrap([],c)}}n.BaseString=o})(qN);Object.defineProperty(lc,"__esModule",{value:!0});lc.CPlusPlusRenderer=void 0;const is=Ve,k_=Wt,rx=Fl,sx=Lh,ox=wt,Wa=qe,O_=$e,$i=Ke,In=Ce,jt=rt(),fi=et(),ax=Fh,xe=qN;class lx extends ox.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._options=i,this._gettersAndSettersForPropertyName=new Map,this.NarrowString=new class extends xe.BaseString{constructor(){super("std::string","const std::string & ","std::smatch","std::regex","",new xe.WrappingCode(["std::to_string("],[")"]),"","")}wrapEncodingChange(r,s,o,a){return a}emitHelperFunctions(){}},this.WideString=new class extends xe.BaseString{constructor(r){super("std::wstring","const std::wstring & ","std::wsmatch","std::wregex","L",new xe.WrappingCode(["std::to_wstring("],[")"]),"Utf16_Utf8","convert"),this.superThis=r}wrapEncodingChange(r,s,o,a){return this.superThis.sourcelikeToString(s)===this.superThis.sourcelikeToString(o)?a:[(0,xe.addQualifier)(r,[this._encodingClass]),"<",s,", ",o,">::",this._encodingFunction,"(",a,")"]}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=i.enumType,this._namespaceNames=i.namespace.split("::"),this.typeNamingStyle=i.typeNamingStyle,this._namedTypeNameStyle=(0,$i.makeNameStyle)(this.typeNamingStyle,xe.legalizeName),this.enumeratorNamingStyle=i.enumeratorNamingStyle,this._memberNameStyle=(0,$i.makeNameStyle)(i.memberNamingStyle,xe.legalizeName),this._memberNamingFunction=(0,Wa.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=[],i.wstring?this._stringType=this.WideString:this._stringType=this.NarrowString,i.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(e){return e.kind==="union"}isOptionalAsValuePossible(e){if(this.isForwardDeclaredType(e))return!1;if(this.isUnion(e)){const[,t]=(0,fi.removeNullFromUnion)(e);if(t.size===1){const i=(0,In.defined)((0,is.iterableFirst)(t));return!this.isCycleBreakerType(i)}}return!this.isCycleBreakerType(e)}isImplicitCycleBreaker(e){const t=e.kind;return t==="array"||t==="map"}optionalTypeStack(){return this._optionalType}optionalFactoryStack(){return this._optionalFactory}optionalTypeHeap(){return xe.optionalAsSharedType}optionalFactoryHeap(){return xe.optionalFactoryAsSharedType}optionalType(e){return this.isOptionalAsValuePossible(e)?this.optionalTypeStack():this.optionalTypeHeap()}optionalTypeLabel(e){return this.isOptionalAsValuePossible(e)?"stack":"heap"}getConstraintMembers(){return[{name:xe.MemberNames.MinIntValue,getter:xe.MemberNames.GetMinIntValue,setter:xe.MemberNames.SetMinIntValue,cppType:"int64_t"},{name:xe.MemberNames.MaxIntValue,getter:xe.MemberNames.GetMaxIntValue,setter:xe.MemberNames.SetMaxIntValue,cppType:"int64_t"},{name:xe.MemberNames.MinDoubleValue,getter:xe.MemberNames.GetMinDoubleValue,setter:xe.MemberNames.SetMinDoubleValue,cppType:"double"},{name:xe.MemberNames.MaxDoubleValue,getter:xe.MemberNames.GetMaxDoubleValue,setter:xe.MemberNames.SetMaxDoubleValue,cppType:"double"},{name:xe.MemberNames.MinLength,getter:xe.MemberNames.GetMinLength,setter:xe.MemberNames.SetMinLength,cppType:"size_t"},{name:xe.MemberNames.MaxLength,getter:xe.MemberNames.GetMaxLength,setter:xe.MemberNames.SetMaxLength,cppType:"size_t"},{name:xe.MemberNames.Pattern,getter:xe.MemberNames.GetPattern,setter:xe.MemberNames.SetPattern,cppType:this._stringType.getType(),cppConstType:this._stringType.getConstType()}]}lookupGlobalName(e){return(0,In.defined)(this._generatedGlobalNames.get(e))}lookupMemberName(e){return(0,In.defined)(this._generatedMemberNames.get(e))}addGlobalName(e){const t=this._namedTypeNameStyle(xe.GlobalNames[e]);this._generatedGlobalNames.set(e,t),this._forbiddenGlobalNames.push(t)}addMemberName(e){this._generatedMemberNames.set(e,this._memberNameStyle(xe.MemberNames[e]))}setupGlobalNames(){for(const e of(0,In.numberEnumValues)(xe.GlobalNames))this.addGlobalName(e);for(const e of(0,In.numberEnumValues)(xe.MemberNames))this.addMemberName(e)}forbiddenNamesForGlobalNamespace(){return[...ax.keywords,...this._forbiddenGlobalNames]}forbiddenForObjectProperties(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(e,t){return{names:[],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return(0,Wa.funPrefixNamer)("types",this._namedTypeNameStyle)}namerForObjectProperty(){return this._memberNamingFunction}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return(0,Wa.funPrefixNamer)("enumerators",(0,$i.makeNameStyle)(this.enumeratorNamingStyle,xe.legalizeName))}makeNamesForPropertyGetterAndSetter(e,t,i,r,s){const o=new Wa.DependencyName(this._memberNamingFunction,s.order,f=>`get_${f(s)}`),a=new Wa.DependencyName(this._memberNamingFunction,s.order,f=>`getMutable_${f(s)}`),c=new Wa.DependencyName(this._memberNamingFunction,s.order,f=>`set_${f(s)}`);return[o,a,c]}makePropertyDependencyNames(e,t,i,r,s){const o=this.makeNamesForPropertyGetterAndSetter(e,t,i,r,s);return this._gettersAndSettersForPropertyName.set(s,o),o}withConst(e){return this._options.westConst?["const ",e]:[e," const"]}emitInclude(e,t){this.emitLine("#include ",e?"<":'"',t,e?">":'"')}startFile(e,t=!0){(0,In.assert)(this._currentFilename===void 0,"Previous file wasn't finished"),e!==void 0&&(this._currentFilename=this.sourcelikeToString(e)),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",(i,r)=>{this.emitLine("// ",r," data = nlohmann::json::parse(jsonString);")}):this.emitLine("// ",e," 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",(i,r)=>{this.emitLine("// std::wcout << ","wdump((nlohmann::json) ",r,");")}))),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"),t&&!this._options.typeSourceStyle&&this.emitInclude(!1,"helper.hpp")),this.ensureBlankLine()}finishFile(){super.finishFile((0,In.defined)(this._currentFilename)),this._currentFilename=void 0}get needsTypeDeclarationBeforeUse(){return!0}canBeForwardDeclared(e){return e.kind==="class"}emitDescriptionBlock(e){this.emitCommentLines(e,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(e,t,i,r=!0){this.emitLine(e," {"),this.preventBlankLine(),r?this.indent(i):i(),this.preventBlankLine(),t?this.emitLine("};"):this.emitLine("}")}emitNamespaces(e,t){const i=(0,is.toReadonlyArray)(e),r=i[0];r===void 0?t():this.emitBlock(["namespace ",r],!1,()=>this.emitNamespaces(i.slice(1),t),i.length===1)}cppTypeInOptional(e,t,i,r){if(e.size===1)return this.cppType((0,In.defined)((0,is.iterableFirst)(e)),t,i,r,!1);const s=[];for(const o of e)s.length!==0&&s.push(", "),s.push(this.cppType(o,{needsForwardIndirection:!0,needsOptionalIndirection:!1,inJsonNamespace:t.inJsonNamespace},i,!1,!1));return[this._variantType,"<",s,">"]}variantType(e,t){const[i,r]=(0,fi.removeNullFromUnion)(e,!0);(0,In.assert)(r.size>=2,"Variant not needed for less than two types.");const s=i!==null,o=this.cppTypeInOptional(r,{needsForwardIndirection:!s,needsOptionalIndirection:!s,inJsonNamespace:t},!0,!1);return s?[this.optionalType(e),"<",o,">"]:o}ourQualifier(e){return e?[(0,is.arrayIntercalate)("::",this._namespaceNames),"::"]:[]}jsonQualifier(e){return e?[]:"nlohmann::"}variantIndirection(e,t,i){return t?[this.optionalType(e),"<",i,">"]:i}cppType(e,t,i,r,s){const o=t.inJsonNamespace;if(s&&e instanceof jt.UnionType){for(const c of e.getChildren())if(c.isNullable){s=!1;break}}const a=(0,fi.matchType)(e,c=>(s=!1,(0,O_.maybeAnnotated)(i,k_.anyTypeIssueAnnotation,[this.jsonQualifier(o),"json"])),c=>(s=!1,(0,O_.maybeAnnotated)(i,k_.nullTypeIssueAnnotation,[this.jsonQualifier(o),"json"])),c=>"bool",c=>"int64_t",c=>"double",c=>r?"std::string":this._stringType.getType(),c=>["std::vector<",this.cppType(c.items,{needsForwardIndirection:!1,needsOptionalIndirection:!0,inJsonNamespace:o},i,r,!1),">"],c=>this.variantIndirection(c,t.needsForwardIndirection&&this.isForwardDeclaredType(c)&&!s,[this.ourQualifier(o),this.nameForNamedType(c)]),c=>{let f=this._stringType.getType();return r&&(f="std::string"),["std::map<",f,", ",this.cppType(c.values,{needsForwardIndirection:!1,needsOptionalIndirection:!0,inJsonNamespace:o},i,r,!1),">"]},c=>[this.ourQualifier(o),this.nameForNamedType(c)],c=>{const f=(0,fi.nullableFromUnion)(c);return f!==null?(s=!0,this.cppType(f,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:o},i,r,!1)):[this.ourQualifier(o),this.nameForNamedType(c)]});return s?[this.optionalType(e),"<",a,">"]:a}generatedTypes(e,t){const i=[],r=(s,o,a,c)=>{if(c instanceof jt.ArrayType)r(!0,o,a+1,c.items);else if(c instanceof jt.ClassType)i.push({name:this.nameForNamedType(c),type:c,level:a,variant:o,forceInclude:s});else if(c instanceof jt.MapType)r(!0,o,a+1,c.values);else if(c instanceof jt.EnumType)i.push({name:this.nameForNamedType(c),type:c,level:a,variant:o,forceInclude:!1});else if(c instanceof jt.UnionType){this.unionNeedsName(c)&&e&&(s=!0,i.push({name:this.nameForNamedType(c),type:c,level:a,variant:!0,forceInclude:s}));const[f,d]=(0,fi.removeNullFromUnion)(c);o=f!==null;for(const p of d)r(s,o,a+1,p)}};return r(!1,!1,0,t),i}constraintMember(e){return this._memberNameStyle(`${e}Constraint`)}emitMember(e,t){this.emitLine(e," ",t,";")}emitClassMembers(e,t){this._options.codeFormat&&(this.emitLine("private:"),this.forEachClassProperty(e,"none",(i,r,s)=>{if(this.emitMember(this.cppType(s.type,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,s.isOptional),i),t?.has(r)){const o=this.lookupGlobalName(xe.GlobalNames.ClassMemberConstraints);this.emitMember(o,this.constraintMember(r))}}),this.ensureBlankLine(),this.emitLine("public:")),this.forEachClassProperty(e,"none",(i,r,s)=>{if(this.emitDescription(this.descriptionForClassProperty(e,r)),!this._options.codeFormat)this.emitMember(this.cppType(s.type,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,s.isOptional),i);else{const[o,a,c]=(0,In.defined)(this._gettersAndSettersForPropertyName.get(i)),f=this.cppType(s.type,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,s.isOptional),d=this.lookupGlobalName(xe.GlobalNames.CheckConstraint);s.type instanceof jt.UnionType&&s.type.findMember("null")!==void 0||s.isOptional&&s.type.kind!=="null"&&s.type.kind!=="any"?(this.emitLine(f," ",o,"() const { return ",i,"; }"),t?.has(r)?this.emitLine("void ",c,"(",f," value) { if (value) ",d,"(",this._stringType.createStringLiteral([i]),", ",this.constraintMember(r),", *value); this->",i," = value; }"):this.emitLine("void ",c,"(",f," value) { this->",i," = value; }")):(this.emitLine(this.withConst(f)," & ",o,"() const { return ",i,"; }"),this.emitLine(f," & ",a,"() { return ",i,"; }"),t?.has(r)?this.emitLine("void ",c,"(",this.withConst(f)," & value) { ",d,"(",this._stringType.createStringLiteral([i]),", ",this.constraintMember(r),", value); this->",i," = value; }"):this.emitLine("void ",c,"(",this.withConst(f)," & value) { this->",i," = value; }")),this.ensureBlankLine()}})}generateClassConstraints(e){const t=new Map;return this.forEachClassProperty(e,"none",(i,r,s)=>{const o=(0,xe.constraintsForType)(s.type);if(o===void 0)return;const{minMax:a,minMaxLength:c,pattern:f}=o,d=this.cppType(s.type,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,s.isOptional);t.set(r,[this.constraintMember(r),"(",a?.[0]&&d==="int64_t"?String(a[0]):this._nulloptType,", ",a?.[1]&&d==="int64_t"?String(a[1]):this._nulloptType,", ",a?.[0]&&d==="double"?String(a[0]):this._nulloptType,", ",a?.[1]&&d==="double"?String(a[1]):this._nulloptType,", ",c?.[0]?String(c[0]):this._nulloptType,", ",c?.[1]?String(c[1]):this._nulloptType,", ",f===void 0?this._nulloptType:[this._stringType.getType(),"(",this._stringType.createStringLiteral([(0,$i.stringEscape)(f)]),")"],")"])}),t.size===0?void 0:t}emitClass(e,t){this.emitDescription(this.descriptionForType(e)),this.emitBlock([this._options.codeFormat?"class ":"struct ",t],!0,()=>{const i=this.generateClassConstraints(e);if(this._options.codeFormat){if(this.emitLine("public:"),i===void 0)this.emitLine(t,"() = default;");else{this.emitLine(t,"() :");let r=0;i.forEach((s,o)=>{r++,this.indent(()=>{r===i.size?this.emitLine(s):this.emitLine(s,",")})}),this.emitLine("{}")}this.emitLine("virtual ~",t,"() = default;"),this.ensureBlankLine()}this.emitClassMembers(e,i)})}emitTopLevelHeaders(e,t){if(e instanceof jt.MapType&&this._stringType!==this.NarrowString){const i=this.ourQualifier(!0);this.emitBlock(["struct adl_serializer<",i,t,">"],!0,()=>{this.emitLine("template <>"),this.emitLine("static void from_json(",this.withConst("json")," & j, ",i,t," & x);"),this.emitLine("static void to_json(json & j, ",this.withConst([i,t])," & x);")})}}emitClassHeaders(e){const t=this.ourQualifier(!1);this.emitLine("void from_json(",this.withConst("json")," & j, ",t,e," & x);"),this.emitLine("void to_json(json & j, ",this.withConst([t,e])," & x);")}emitTopLevelFunction(e,t){if(e instanceof jt.MapType&&this._stringType!==this.NarrowString){const i=this.ourQualifier(!0);let r,s;this.emitBlock(["inline void adl_serializer<",i,t,">::from_json(",this.withConst("json")," & j, ",i,t,"& x)"],!1,()=>{r=this.cppType(e,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1),s=this.cppType(e,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1),this.emitLine(["x = ",this._stringType.wrapEncodingChange([i],r,s,["j.get<",r,">()"]),";"])}),this.emitBlock(["inline void adl_serializer<",i,t,">::to_json(json & j, ",this.withConst([i,t])," & x)"],!1,()=>{r=this.cppType(e,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1),s=this.cppType(e,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1),this.emitLine(["j = ",this._stringType.wrapEncodingChange([i],r,s,"x"),";"])})}}emitClassFunctions(e,t){const i=this.ourQualifier(!1);let r,s;this.emitBlock(["inline void from_json(",this.withConst("json")," & j, ",i,t,"& x)"],!1,()=>{this.forEachClassProperty(e,"none",(o,a,c)=>{const[,,f]=(0,In.defined)(this._gettersAndSettersForPropertyName.get(o)),d=c.type;let p;if(this._options.codeFormat?p=new xe.WrappingCode(["x.",f,"("],[")"]):p=new xe.WrappingCode(["x.",o," = "],[]),d.kind==="null"||d.kind==="any"){this.emitLine(p.wrap([],[i,"get_untyped(j, ",this._stringType.wrapEncodingChange([i],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,$i.stringEscape)(a)])]),")"]),";");return}if(c.isOptional||d instanceof jt.UnionType){const[y,h]=function(){if(d instanceof jt.UnionType){const[S,m]=(0,fi.removeNullFromUnion)(d,!0);return[S!==null||c.isOptional,m]}else{const S=new Set;return S.add(d),[!0,S]}}();if(y){r=this.cppTypeInOptional(h,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!1},!1,!0),s=this.cppTypeInOptional(h,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!1},!1,!1),this.emitLine(p.wrap([],[this._stringType.wrapEncodingChange([i],[this.optionalType(d),"<",r,">"],[this.optionalType(d),"<",s,">"],[i,`get_${this.optionalTypeLabel(d)}_optional<`,r,">(j, ",this._stringType.wrapEncodingChange([i],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,$i.stringEscape)(a)])]),")"])]),";");return}}r=this.cppType(d,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!1,!0,c.isOptional),s=this.cppType(d,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!1,!1,c.isOptional),this.emitLine(p.wrap([],this._stringType.wrapEncodingChange([i],r,s,["j.at(",this._stringType.wrapEncodingChange([i],this._stringType.getType(),this.NarrowString.getType(),this._stringType.createStringLiteral([(0,$i.stringEscape)(a)])),").get<",r,">()"])),";")})}),this.ensureBlankLine(),this.emitBlock(["inline void to_json(json & j, ",this.withConst([i,t])," & x)"],!1,()=>{this.emitLine("j = json::object();"),this.forEachClassProperty(e,"none",(o,a,c)=>{const f=c.type;r=this.cppType(f,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!1,!1,c.isOptional),s=this.cppType(f,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!1,!0,c.isOptional);const[d,,]=(0,In.defined)(this._gettersAndSettersForPropertyName.get(o));let p;this._options.codeFormat?p=[d,"()"]:p=[o];const y=["j[",this._stringType.wrapEncodingChange([i],this._stringType.getType(),this.NarrowString.getType(),this._stringType.createStringLiteral([(0,$i.stringEscape)(a)])),"] = ",this._stringType.wrapEncodingChange([i],r,s,["x.",p]),";"];c.isOptional&&this._options.hideNullOptional?this.emitBlock(["if (",this._stringType.wrapEncodingChange([i],r,s,["x.",p]),")"],!1,()=>{this.emitLine(y)}):this.emitLine(y)})})}emitEnum(e,t){const i=[],r=(0,sx.enumCaseValues)(e,this.targetLanguage.name);this.forEachEnumCase(e,"none",(s,o)=>{if(i.length>0&&i.push(", "),i.push(s),r!==void 0){const[a]=(0,rx.getAccessorName)(r,o);a!==void 0&&i.push(" = ",a.toString())}}),this.emitDescription(this.descriptionForType(e)),this.emitLine("enum class ",t," : ",this._enumType," { ",i," };")}emitUnionTypedefs(e,t){this.emitLine("using ",t," = ",this.variantType(e,!1),";")}emitUnionHeaders(e){const t=(0,fi.removeNullFromUnion)(e,!0)[1],i=this.cppTypeInOptional(t,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!0},!1,!1);this.emitLine("template <>"),this.emitBlock(["struct adl_serializer<",i,">"],!0,()=>{this.emitLine("static void from_json(",this.withConst("json")," & j, ",i," & x);"),this.emitLine("static void to_json(json & j, ",this.withConst(i)," & x);")})}emitUnionFunctions(e){const t=this.ourQualifier(!0),i=[["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"]],r=(0,fi.removeNullFromUnion)(e,!0)[1],s=this.cppTypeInOptional(r,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!0},!1,!1);this.emitBlock(["inline void adl_serializer<",s,">::from_json(",this.withConst("json")," & j, ",s," & x)"],!1,()=>{let o=!0;for(const[a,c]of i){const f=(0,is.iterableFind)(r,d=>d.kind===a);f!==void 0&&(this.emitLine(o?"if":"else if"," (j.",c,"())"),this.indent(()=>{const d=this.cppType(f,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1),p=this.cppType(f,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1);this.emitLine("x = ",this._stringType.wrapEncodingChange([t],d,p,["j.get<",d,">()"]),";")}),o=!1)}this.emitLine('else throw std::runtime_error("Could not deserialise!");')}),this.ensureBlankLine(),this.emitBlock(["inline void adl_serializer<",s,">::to_json(json & j, ",this.withConst(s)," & x)"],!1,()=>{this.emitBlock(["switch (x.",this._variantIndexMethodName,"())"],!1,()=>{let o=0;for(const a of r)this.emitLine("case ",o.toString(),":"),this.indent(()=>{const c=this.cppType(a,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1),f=this.cppType(a,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1);this.emitLine("j = ",this._stringType.wrapEncodingChange([t],c,f,[this._options.boost?"boost::get<":"std::get<",c,">(x)"]),";"),this.emitLine("break;")}),o++;this.emitLine('default: throw std::runtime_error("Input JSON does not conform to schema!");')})})}emitEnumHeaders(e){const t=this.ourQualifier(!1);this.emitLine("void from_json(",this.withConst("json")," & j, ",t,e," & x);"),this.emitLine("void to_json(json & j, ",this.withConst([t,e])," & x);")}isLargeEnum(e){return e.cases.size>15}emitEnumFunctions(e,t){const i=this.ourQualifier(!1);this.emitBlock(["inline void from_json(",this.withConst("json")," & j, ",i,t," & x)"],!1,()=>{if(this.isLargeEnum(e))this.emitBlock(["static std::unordered_map<",this._stringType.getType(),", ",i,t,"> enumValues"],!0,()=>{this.forEachEnumCase(e,"none",(r,s)=>{this.emitLine("{",this._stringType.wrapEncodingChange([i],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,$i.stringEscape)(s)])]),", ",i,t,"::",r,"},")})}),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 r=!0;this.forEachEnumCase(e,"none",(s,o)=>{const a=r?"":"else ";this.emitLine(a,"if (j == ",this._stringType.wrapEncodingChange([i],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,$i.stringEscape)(o)])]),") x = ",i,t,"::",s,";"),r=!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([i,t])," & x)"],!1,()=>{this.emitBlock("switch (x)",!1,()=>{this.forEachEnumCase(e,"none",(r,s)=>{this.emitLine("case ",i,t,"::",r,": j = ",this._stringType.wrapEncodingChange([i],this._stringType.getType(),this.NarrowString.getType(),[this._stringType.createStringLiteral([(0,$i.stringEscape)(s)])]),"; break;")}),this.emitLine(`default: throw std::runtime_error("Unexpected value in enumeration \\"${t}\\": " + std::to_string(static_cast<int>(x)));`)})})}emitTopLevelTypedef(e,t){this.emitLine("using ",t," = ",this.cppType(e,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!1},!0,!1,!1),";")}emitAllUnionFunctions(){this.forEachUniqueUnion("leading-and-interposing",e=>this.sourcelikeToString(this.cppTypeInOptional((0,fi.removeNullFromUnion)(e,!0)[1],{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!0},!1,!1)),e=>this.emitUnionFunctions(e))}emitAllUnionHeaders(){this.forEachUniqueUnion("interposing",e=>this.sourcelikeToString(this.cppTypeInOptional((0,fi.removeNullFromUnion)(e,!0)[1],{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!0},!1,!1)),e=>this.emitUnionHeaders(e))}emitOptionalHelpers(){this.emitLine("#ifndef NLOHMANN_OPT_HELPER"),this.emitLine("#define NLOHMANN_OPT_HELPER"),this.emitNamespaces(["nlohmann"],()=>{const e=(t,i)=>{this.emitLine("template <typename T>"),this.emitBlock(["struct adl_serializer<",t,"<T>>"],!0,()=>{this.emitBlock(["static void to_json(json & j, ",this.withConst([t,"<T>"])," & opt)"],!1,()=>{this.emitLine("if (!opt) j = nullptr; else j = *opt;")}),this.ensureBlankLine(),this.emitBlock(["static ",t,"<T> from_json(",this.withConst("json")," & j)"],!1,()=>{this.emitLine(`if (j.is_null()) return ${i}<T>(); else return ${i}<T>(j.get<T>());`)})})};e(this.optionalTypeHeap(),this.optionalFactoryHeap()),e(this.optionalTypeStack(),this.optionalFactoryStack())}),this.emitLine("#endif")}emitDeclaration(e){if(e.kind==="forward")this._options.codeFormat?this.emitLine("class ",this.nameForNamedType(e.type),";"):this.emitLine("struct ",this.nameForNamedType(e.type),";");else if(e.kind==="define"){const t=e.type,i=this.nameForNamedType(t);t instanceof jt.ClassType?this.emitClass(t,i):t instanceof jt.EnumType?this.emitEnum(t,i):t instanceof jt.UnionType?this.emitUnionTypedefs(t,i):(0,In.panic)(`Cannot declare type ${t.kind}`)}else(0,In.assertNever)(e.kind)}emitGetterSetter(e,t,i,r){this.emitLine("void ",i,"(",e," ",r,") { this->",r," = ",r,"; }"),this.emitLine("auto ",t,"() const { return ",r,"; }")}emitNumericCheckConstraints(e,t,i,r,s){this.emitBlock(["inline void ",e,"(",this._stringType.getConstType()," name, ",this.withConst(t)," & c, ",s," value)"],!1,()=>{this.emitBlock(["if (c.",i,"() != ",this._nulloptType," && value < *c.",i,"())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(xe.GlobalNames.ValueTooLowException)," (",this._stringType.createStringLiteral(["Value too low for "])," + name + ",this._stringType.createStringLiteral([" ("])," + ",this._stringType.wrapToString(["value"])," + ",this._stringType.createStringLiteral(["<"])," + ",this._stringType.wrapToString(["*c.",i,"()"])," + ",this._stringType.createStringLiteral([")"]),");")}),this.ensureBlankLine(),this.emitBlock(["if (c.",r,"() != ",this._nulloptType," && value > *c.",r,"())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(xe.GlobalNames.ValueTooHighException)," (",this._stringType.createStringLiteral(["Value too high for "])," + name + ",this._stringType.createStringLiteral([" ("])," + ",this._stringType.wrapToString(["value"])," + ",this._stringType.createStringLiteral([">"])," + ",this._stringType.wrapToString(["*c.",r,"()"])," + ",this._stringType.createStringLiteral([")"]),");")}),this.ensureBlankLine()}),this.ensureBlankLine()}emitConstraintClasses(){const e=this.ourQualifier(!1),t=this.lookupMemberName(xe.MemberNames.GetMinIntValue),i=this.lookupMemberName(xe.MemberNames.GetMaxIntValue),r=this.lookupMemberName(xe.MemberNames.GetMinDoubleValue),s=this.lookupMemberName(xe.MemberNames.GetMaxDoubleValue),o=this.lookupMemberName(xe.MemberNames.GetMinLength),a=this.lookupMemberName(xe.MemberNames.GetMaxLength),c=this.lookupMemberName(xe.MemberNames.GetPattern),f=this.lookupGlobalName(xe.GlobalNames.ClassMemberConstraints);this.emitBlock(["class ",f],!0,()=>{this.emitLine("private:");const h=this.getConstraintMembers();for(const m of h)this.emitMember([this._optionalType,"<",m.cppType,">"],this.lookupMemberName(m.name));this.ensureBlankLine(),this.emitLine("public:"),this.emitLine(f,"("),this.indent(()=>{this.iterableForEach(h,({name:m,cppType:v},C)=>{const U=C==="first"||C==="middle"?",":[];this.emitLine(this._optionalType,"<",v,"> ",this.lookupMemberName(m),U)})});const S=h.map(({name:m})=>{const v=this.lookupMemberName(m);return[v,"(",v,")"]});this.emitLine(") : ",(0,is.arrayIntercalate)([", "],S)," {}"),this.emitLine(f,"() = default;"),this.emitLine("virtual ~",f,"() = default;");for(const m of h)this.ensureBlankLine(),this.emitGetterSetter((0,is.withDefault)(m.cppConstType,m.cppType),this.lookupMemberName(m.getter),this.lookupMemberName(m.setter),this.lookupMemberName(m.name))}),this.ensureBlankLine();const d=this.lookupGlobalName(xe.GlobalNames.ClassMemberConstraintException);this.emitBlock(["class ",d," : public std::runtime_error"],!0,()=>{this.emitLine("public:"),this.emitLine(d,"(",this._stringType.getConstType()," msg) : std::runtime_error(",this._stringType.wrapEncodingChange([e],this._stringType.getType(),this.NarrowString.getType(),["msg"]),") {}")}),this.ensureBlankLine();const p=[xe.GlobalNames.ValueTooLowException,xe.GlobalNames.ValueTooHighException,xe.GlobalNames.ValueTooShortException,xe.GlobalNames.ValueTooLongException,xe.GlobalNames.InvalidPatternException];for(const h of p){const S=this.lookupGlobalName(h);this.emitBlock(["class ",S," : public ",d],!0,()=>{this.emitLine("public:"),this.emitLine(S,"(",this._stringType.getConstType()," msg) : ",d,"(msg) {}")}),this.ensureBlankLine()}const y=this.lookupGlobalName(xe.GlobalNames.CheckConstraint);this.emitNumericCheckConstraints(y,f,t,i,"int64_t"),this.emitNumericCheckConstraints(y,f,r,s,"double"),this.emitBlock(["inline void ",y,"(",this._stringType.getConstType()," name, ",this.withConst(f)," & c, ",this._stringType.getConstType()," value)"],!1,()=>{this.emitBlock(["if (c.",o,"() != ",this._nulloptType," && value.length() < *c.",o,"())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(xe.GlobalNames.ValueTooShortException)," (",this._stringType.createStringLiteral(["Value too short for "])," + name + ",this._stringType.createStringLiteral([" ("])," + ",this._stringType.wrapToString(["value.length()"])," + ",this._stringType.createStringLiteral(["<"])," + ",this._stringType.wrapToString(["*c.",o,"()"])," + ",this._stringType.createStringLiteral([")"]),");")}),this.ensureBlankLine(),this.emitBlock(["if (c.",a,"() != ",this._nulloptType," && value.length() > *c.",a,"())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(xe.GlobalNames.ValueTooLongException)," (",this._stringType.createStringLiteral(["Value too long for "])," + name + ",this._stringType.createStringLiteral([" ("])," + ",this._stringType.wrapToString(["value.length()"])," + ",this._stringType.createStringLiteral([">"])," + ",this._stringType.wrapToString(["*c.",a,"()"])," + ",this._stringType.createStringLiteral([")"]),");")}),this.ensureBlankLine(),this.emitBlock(["if (c.",c,"() != ",this._nulloptType,")"],!1,()=>{this.emitLine(this._stringType.getSMatch()," result;"),this.emitLine("std::regex_search(value, result, ",this._stringType.getRegex(),"( *c.",c,"() ));"),this.emitBlock(["if (result.empty())"],!1,()=>{this.emitLine("throw ",this.lookupGlobalName(xe.GlobalNames.InvalidPatternException)," (",this._stringType.createStringLiteral(["Value doesn't match pattern for "])," + name + ",this._stringType.createStringLiteral([" ("])," + value +",this._stringType.createStringLiteral([" != "])," + *c.",c,"() + ",this._stringType.createStringLiteral([")"]),");")})}),this.ensureBlankLine()})}emitHelperFunctions(){this._stringType.emitHelperFunctions(),this._options.codeFormat&&(0,is.iterableSome)(this.typeGraph.allTypesUnordered(),i=>(0,xe.constraintsForType)(i)!==void 0)&&(this.emitConstraintClasses(),this.ensureBlankLine()),this.ensureBlankLine();let e="NLOHMANN_UNTYPED_",t="NLOHMANN_OPTIONAL_";if(this._namespaceNames.forEach(i=>{e+=i,e+="_",t+=i,t+="_"}),e+="HELPER",t+="HELPER",this.emitLine(`#ifndef ${e}`),this.emitLine(`#define ${e}`),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 ${t}`),this.emitLine(`#define ${t}`);const i=(r,s)=>{this.emitLine("template <typename T>"),this.emitBlock(["inline ",r,`<T> get_${s}_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<",r,"<T>>();")}),this.emitLine("return ",r,"<T>();")}),this.ensureBlankLine(),this.emitLine("template <typename T>"),this.emitBlock(["inline ",r,`<T> get_${s}_optional(`,this.withConst("json")," & j, std::string property)"],!1,()=>{this.emitLine(`return get_${s}_optional<T>(j, property.data());`)})};i(this.optionalTypeHeap(),"heap"),i(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(e=>this.isLargeEnum(e))&&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",e=>this.emitDeclaration(e)),!this._options.justTypes&&this.forEachTopLevel("leading",(e,t)=>this.emitTopLevelTypedef(e,t),e=>this.namedTypeToNameForTopLevel(e)===void 0)}gatherUserNamespaceForwardDecls(){return this.gatherSource(()=>{this.forEachObject("leading-and-interposing",(e,t)=>this.emitClassHeaders(t)),this.forEachEnum("leading-and-interposing",(e,t)=>this.emitEnumHeaders(t))})}gatherNlohmannNamespaceForwardDecls(){return this.gatherSource(()=>{this.forEachTopLevel("leading-and-interposing",(e,t)=>this.emitTopLevelHeaders(e,t)),this.ensureBlankLine(),this.emitAllUnionHeaders()})}emitUserNamespaceImpls(){this.forEachObject("leading-and-interposing",(e,t)=>this.emitClassFunctions(e,t)),this.forEachEnum("leading-and-interposing",(e,t)=>this.emitEnumFunctions(e,t))}emitNlohmannNamespaceImpls(){this.forEachTopLevel("leading-and-interposing",(e,t)=>this.emitTopLevelFunction(e,t),e=>this.namedTypeToNameForTopLevel(e)===void 0),this.ensureBlankLine(),this.emitAllUnionFunctions()}emitGenerators(){if(this._options.justTypes){let e=!1;const t=this.gatherSource(()=>this.emitNamespaces(this._namespaceNames,()=>{e=this.forEachTopLevel("none",(i,r)=>this.emitTopLevelTypedef(i,r),i=>this.namedTypeToNameForTopLevel(i)===void 0)}));e&&(this.emitGatheredSource(t),this.ensureBlankLine())}else{const e=this.gatherUserNamespaceForwardDecls(),t=this.gatherNlohmannNamespaceForwardDecls();e.length===0&&t.length>0?this.emitNamespaces(["nlohmann"],()=>{this.emitGatheredSource(t),this.emitNlohmannNamespaceImpls()}):e.length>0&&t.length===0?this.emitNamespaces(this._namespaceNames,()=>{this.emitGatheredSource(e),this.emitUserNamespaceImpls()}):e.length>0&&t.length>0&&(this.emitNamespaces(this._namespaceNames,()=>{this.emitGatheredSource(e)}),this.emitNamespaces(["nlohmann"],()=>{this.emitGatheredSource(t)}),this.emitNamespaces(this._namespaceNames,()=>{this.emitUserNamespaceImpls()}),this.emitNamespaces(["nlohmann"],()=>{this.emitNlohmannNamespaceImpls()}))}}emitSingleSourceStructure(e){this.startFile(e),this._generatedFiles.add(e),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(e,t,i,r){const s=this.generatedTypes(e,i);for(const o of s){const a=this.sourcelikeToString(o.name),c={kind:void 0,typeKind:void 0};if(o.type instanceof jt.ClassType)c.typeKind="class",c.kind=o.level===0?xe.IncludeKind.Include:xe.IncludeKind.ForwardDeclare,o.forceInclude&&(c.kind=xe.IncludeKind.Include);else if(o.type instanceof jt.EnumType)c.typeKind="enum",c.kind=xe.IncludeKind.ForwardDeclare;else if(o.type instanceof jt.UnionType){c.typeKind="union";const[f]=(0,fi.removeNullFromUnion)(o.type,!0);f!==void 0||o.forceInclude?c.kind=xe.IncludeKind.Include:c.kind=xe.IncludeKind.ForwardDeclare}if(t.has(a)){const f=t.get(a);f!==void 0&&f.kind===xe.IncludeKind.ForwardDeclare&&t.set(a,c)}else t.set(a,c)}}emitIncludes(e,t){const i=new Map;if(e instanceof jt.UnionType?this.updateIncludes(!1,i,e,t):e instanceof jt.ClassType&&this.forEachClassProperty(e,"none",(r,s,o)=>{this.updateIncludes(!0,i,o.type,t)}),i.size!==0){let r=0,s=0;i.forEach((o,a)=>{a!==t&&(o.kind!==xe.IncludeKind.ForwardDeclare?(this.emitInclude(!1,[a,".hpp"]),s++):r++)}),s>0&&this.ensureBlankLine(),r>0&&this.emitNamespaces(this._namespaceNames,()=>{i.forEach((o,a)=>{a!==t&&o.kind===xe.IncludeKind.ForwardDeclare&&(o.typeKind==="class"||o.typeKind==="union"?this._options.codeFormat?this.emitLine("class ",a,";"):this.emitLine("struct ",a,";"):o.typeKind==="enum"?this.emitLine("enum class ",a," : ",this._enumType,";"):(0,In.panic)(`Invalid type "${o.typeKind}" to forward declare`))})}),this.ensureBlankLine()}}emitDefinition(e,t){const i=`${this.sourcelikeToString(t)}.hpp`;this.startFile(i,!0),this._generatedFiles.add(i),this.emitIncludes(e,this.sourcelikeToString(t)),this.emitNamespaces(this._namespaceNames,()=>{this.emitDescription(this.descriptionForType(e)),this.ensureBlankLine(),this.emitLine("using nlohmann::json;"),this.ensureBlankLine(),e instanceof jt.ClassType?this.emitClass(e,t):e instanceof jt.EnumType?this.emitEnum(e,t):e instanceof jt.UnionType&&this.emitUnionTypedefs(e,t)}),this.finishFile()}emitMultiSourceStructure(e){!this._options.justTypes&&this.haveNamedTypes&&(this.emitHelper(),this.startFile("Generators.hpp",!0),this._allTypeNames.forEach(t=>{this.emitInclude(!1,[t,".hpp"])}),this.ensureBlankLine(),this.emitGenerators(),this.finishFile()),this.forEachNamedType("leading-and-interposing",(t,i)=>{this.emitDefinition(t,i)},(t,i)=>{this.emitDefinition(t,i)},(t,i)=>{this.emitDefinition(t,i)}),this._generatedFiles.has(e)||(this.haveNamedTypes||this.emitHelper(),this.startFile(e),this._generatedFiles.forEach(t=>{this.emitInclude(!1,t)}),this.emitNamespaces(this._namespaceNames,()=>{this.forEachTopLevel("leading",(t,i)=>this.emitTopLevelTypedef(t,i),t=>this.namedTypeToNameForTopLevel(t)===void 0)}),this.finishFile())}emitSourceStructure(e){this._generatedFiles.clear(),this._allTypeNames.clear(),this.forEachDeclaration("none",t=>{const i=(0,fi.directlyReachableTypes)(t.type,r=>(0,fi.isNamedType)(r)&&(r instanceof jt.ClassType||r instanceof jt.EnumType||r instanceof jt.UnionType)?new Set([this.sourcelikeToString(this.cppType(r,{needsForwardIndirection:!1,needsOptionalIndirection:!1,inJsonNamespace:!1},!0,!1,!1))]):null);this._allTypeNames=(0,is.setUnion)(i,this._allTypeNames)}),this._options.typeSourceStyle?this.emitSingleSourceStructure(e):this.emitMultiSourceStructure(e)}isConversionRequired(e){const t=this.cppType(e,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!1,!1),i=this.cppType(e,{needsForwardIndirection:!0,needsOptionalIndirection:!0,inJsonNamespace:!0},!1,!0,!1);return t!==i}}lc.CPlusPlusRenderer=lx;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.CPlusPlusTargetLanguage=n.cPlusPlusOptions=void 0;const e=pt,t=Ot,i=lc,r=["pascal-case","pascal"],s=["underscore-case","underscore"],o=["camel-case","camel"],a=["upper-underscore-case","upper-underscore"],c=["pascal-case-upper-acronyms","pascal-upper-acronyms"],f=["camel-case-upper-acronyms","camel-upper-acronyms"];n.cPlusPlusOptions={typeSourceStyle:new e.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 e.EnumOption("include-location","Whether json.hpp is to be located globally or locally",[["local-include",!0],["global-include",!1]],"local-include","secondary"),codeFormat:new e.EnumOption("code-format","Generate classes with getters/setters, instead of structs",[["with-struct",!1],["with-getter-setter",!0]],"with-getter-setter"),wstring:new e.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 e.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 e.BooleanOption("just-types","Plain types only",!1),namespace:new e.StringOption("namespace","Name of the generated namespace(s)","NAME","quicktype"),enumType:new e.StringOption("enum-type","Type of enum class","NAME","int","secondary"),typeNamingStyle:new e.EnumOption("type-style","Naming style for types",[r,s,o,a,c,f]),memberNamingStyle:new e.EnumOption("member-style","Naming style for members",[s,r,o,a,c,f]),enumeratorNamingStyle:new e.EnumOption("enumerator-style","Naming style for enumerators",[a,s,r,o,c,f]),boost:new e.BooleanOption("boost","Require a dependency on boost. Without boost, C++17 is required",!0),hideNullOptional:new e.BooleanOption("hide-null-optional","Hide null value for optional field",!1)};class d extends t.TargetLanguage{constructor(y="C++",h=["c++","cpp","cplusplus"],S="cpp"){super(y,h,S)}getOptions(){return[n.cPlusPlusOptions.justTypes,n.cPlusPlusOptions.namespace,n.cPlusPlusOptions.codeFormat,n.cPlusPlusOptions.wstring,n.cPlusPlusOptions.westConst,n.cPlusPlusOptions.typeSourceStyle,n.cPlusPlusOptions.includeLocation,n.cPlusPlusOptions.typeNamingStyle,n.cPlusPlusOptions.memberNamingStyle,n.cPlusPlusOptions.enumeratorNamingStyle,n.cPlusPlusOptions.enumType,n.cPlusPlusOptions.boost,n.cPlusPlusOptions.hideNullOptional]}get supportsUnionsWithBothNumberTypes(){return!0}get supportsOptionalClassProperties(){return!0}makeRenderer(y,h){return new i.CPlusPlusRenderer(this,y,(0,e.getOptionValues)(n.cPlusPlusOptions,h))}}n.CPlusPlusTargetLanguage=d})(GN);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.CPlusPlusRenderer=n.cPlusPlusOptions=n.CPlusPlusTargetLanguage=void 0;var e=GN;Object.defineProperty(n,"CPlusPlusTargetLanguage",{enumerable:!0,get:function(){return e.CPlusPlusTargetLanguage}}),Object.defineProperty(n,"cPlusPlusOptions",{enumerable:!0,get:function(){return e.cPlusPlusOptions}});var t=lc;Object.defineProperty(n,"CPlusPlusRenderer",{enumerable:!0,get:function(){return t.CPlusPlusRenderer}})})(Mb);var Ib={},Ph={},uc={},Mh={};Object.defineProperty(Mh,"__esModule",{value:!0});Mh.keywords=void 0;Mh.keywords=["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"];var ro={};Object.defineProperty(ro,"__esModule",{value:!0});ro.crystalStringEscape=ro.camelNamingFunction=ro.snakeNamingFunction=void 0;const HN=qe,ei=Ke;function ux(n){return(0,ei.isAscii)(n)?(0,ei.isLetterOrUnderscoreOrDigit)(n):!1}function cx(n){return(0,ei.isAscii)(n)?(0,ei.isLetterOrUnderscore)(n):!1}const fx=(0,ei.legalizeCharacters)(ux);function VN(n,e){const t=(0,ei.splitIntoWords)(n),i=e?ei.allLowerWordStyle:ei.firstUpperWordStyle,r=(0,ei.combineWords)(t,fx,i,i,i,i,e?"_":"",cx);return r==="_"?"_underscore":r}ro.snakeNamingFunction=(0,HN.funPrefixNamer)("default",n=>VN(n,!0));ro.camelNamingFunction=(0,HN.funPrefixNamer)("camel",n=>VN(n,!1));function dx(n){return n<=65535?"\\u{"+(0,ei.intToHex)(n,4)+"}":"\\u{"+(0,ei.intToHex)(n,6)+"}"}ro.crystalStringEscape=(0,ei.utf32ConcatMap)((0,ei.escapeNonPrintableMapper)(ei.isPrintable,dx));Object.defineProperty(uc,"__esModule",{value:!0});uc.CrystalRenderer=void 0;const E_=Wt,hx=wt,C_=$e,su=et(),px=Mh,ou=ro;class mx extends hx.ConvenienceRenderer{constructor(e,t){super(e,t)}makeNamedTypeNamer(){return ou.camelNamingFunction}namerForObjectProperty(){return ou.snakeNamingFunction}makeUnionMemberNamer(){return ou.camelNamingFunction}makeEnumCaseNamer(){return ou.camelNamingFunction}forbiddenNamesForGlobalNamespace(){return px.keywords}forbiddenForObjectProperties(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(e,t){return{names:[],includeGlobalForbidden:!0}}get commentLineStart(){return"# "}nullableCrystalType(e,t){return[this.crystalType(e,t),"?"]}isImplicitCycleBreaker(e){const t=e.kind;return t==="array"||t==="map"}crystalType(e,t=!1){return(0,su.matchType)(e,i=>(0,C_.maybeAnnotated)(t,E_.anyTypeIssueAnnotation,"JSON::Any?"),i=>(0,C_.maybeAnnotated)(t,E_.nullTypeIssueAnnotation,"Nil"),i=>"Bool",i=>"Int32",i=>"Float64",i=>"String",i=>["Array(",this.crystalType(i.items,t),")"],i=>this.nameForNamedType(i),i=>["Hash(String, ",this.crystalType(i.values,t),")"],i=>"String",i=>{const r=(0,su.nullableFromUnion)(i);if(r!==null)return this.nullableCrystalType(r,t);const[s]=(0,su.removeNullFromUnion)(i),o=this.nameForNamedType(i);return s!==null?[o,"?"]:o})}breakCycle(e,t){return this.crystalType(e,t)}emitRenameAttribute(e,t){const i=(0,ou.crystalStringEscape)(t);this.sourcelikeToString(e)!==i&&this.emitLine('@[JSON::Field(key: "',i,'")]')}emitStructDefinition(e,t){this.emitDescription(this.descriptionForType(e));const i=()=>this.forEachClassProperty(e,"none",(r,s,o)=>{this.ensureBlankLine(),this.emitDescription(this.descriptionForClassProperty(e,s)),this.emitRenameAttribute(r,s),this.emitLine("property ",r," : ",this.crystalType(o.type,!0))});this.emitBlock(["class ",t],i)}emitBlock(e,t){this.emitLine(e),this.indent(()=>{this.emitLine("include JSON::Serializable")}),this.ensureBlankLine(),this.indent(t),this.emitLine("end")}emitEnum(e,t){this.emitLine(e),this.indent(t),this.emitLine("end")}emitUnion(e,t){if((0,su.nullableFromUnion)(e)!==null)return;this.emitDescription(this.descriptionForType(e));const[,r]=(0,su.removeNullFromUnion)(e);let s=[];this.forEachUnionMember(e,r,"none",null,(o,a)=>{const c=this.breakCycle(a,!0);s.push([c])}),this.emitLine(["alias ",t," = ",s.map(o=>o.map(a=>this.sourcelikeToString(a))).join(" | ")])}emitTopLevelAlias(e,t){this.emitLine("alias ",t," = ",this.crystalType(e))}emitLeadingComments(){if(this.leadingComments!==void 0){this.emitComments(this.leadingComments);return}}emitSourceStructure(){this.emitLeadingComments(),this.ensureBlankLine(),this.emitLine('require "json"'),this.forEachTopLevel("leading",(e,t)=>this.emitTopLevelAlias(e,t),e=>this.namedTypeToNameForTopLevel(e)===void 0),this.forEachObject("leading-and-interposing",(e,t)=>this.emitStructDefinition(e,t)),this.forEachUnion("leading-and-interposing",(e,t)=>this.emitUnion(e,t))}}uc.CrystalRenderer=mx;Object.defineProperty(Ph,"__esModule",{value:!0});Ph.CrystalTargetLanguage=void 0;const yx=Ot,gx=uc;class bx extends yx.TargetLanguage{makeRenderer(e){return new gx.CrystalRenderer(this,e)}constructor(){super("Crystal",["crystal","cr","crystallang"],"cr")}get defaultIndentation(){return" "}getOptions(){return[]}}Ph.CrystalTargetLanguage=bx;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.CrystalRenderer=n.CrystalTargetLanguage=void 0;var e=Ph;Object.defineProperty(n,"CrystalTargetLanguage",{enumerable:!0,get:function(){return e.CrystalTargetLanguage}});var t=uc;Object.defineProperty(n,"CrystalRenderer",{enumerable:!0,get:function(){return t.CrystalRenderer}})})(Ib);var Rb={},KN={},cc={},Ml={},fc={},Ih={};Object.defineProperty(Ih,"__esModule",{value:!0});Ih.keywords=void 0;Ih.keywords=["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"];(function(n){var e=Ee&&Ee.__importDefault||function(J){return J&&J.__esModule?J:{default:J}};Object.defineProperty(n,"__esModule",{value:!0}),n.isValueType=n.csNameStyle=n.isStartCharacter=n.denseNullValueHandlingEnumName=n.denseRequiredEnumName=n.denseJsonPropertyName=n.namingFunctionKeep=n.namingFunction=n.csTypeForTransformedStringType=n.alwaysApplyTransformation=n.needTransformerForType=n.noFollow=n.AccessModifier=void 0;const t=e(ca),i=rc,r=qe,s=Ke,o=Ce,a=rt(),c=et(),f=Ih;(function(J){J.None="None",J.Public="Public",J.Internal="Internal"})(n.AccessModifier||(n.AccessModifier={}));function d(J){return J}n.noFollow=d;function p(J){if(J instanceof a.UnionType){const D=(0,c.nullableFromUnion)(J);return D===null?"automatic":p(D)==="manual"?"nullable":"none"}if(J instanceof a.ArrayType){const D=p(J.items);return D==="manual"||D==="nullable"?"automatic":"none"}return J instanceof a.EnumType?"automatic":J.kind==="double"?(0,i.minMaxValueForType)(J)!==void 0?"manual":"none":J.kind==="integer-string"||J.kind==="bool-string"||J.kind==="string"&&(0,i.minMaxLengthForType)(J)!==void 0?"manual":"none"}n.needTransformerForType=p;function y(J){const D=J.targetType;return D instanceof a.EnumType?!0:D instanceof a.UnionType?(0,c.nullableFromUnion)(D)===null:!1}n.alwaysApplyTransformation=y;function h(J){switch(J.kind){case"date-time":return"DateTimeOffset";case"uuid":return"Guid";case"uri":return"Uri";default:return(0,o.panic)(`Transformed string type ${J.kind} not supported`)}}n.csTypeForTransformedStringType=h,n.namingFunction=(0,r.funPrefixNamer)("namer",C),n.namingFunctionKeep=(0,r.funPrefixNamer)("namerKeep",U),n.denseJsonPropertyName="J",n.denseRequiredEnumName="R",n.denseNullValueHandlingEnumName="N";function S(J){return t.default.isAlphabetic(J)?!0:J===95}n.isStartCharacter=S;function m(J){const D=t.default.getCategory(J);return["Nd","Pc","Mn","Mc"].includes(D)?!0:S(J)}const v=(0,s.utf16LegalizeCharacters)(m);function C(J){const D=(0,s.splitIntoWords)(J);return(0,s.combineWords)(D,v,s.firstUpperWordStyle,s.firstUpperWordStyle,s.firstUpperWordStyle,s.firstUpperWordStyle,"",S)}n.csNameStyle=C;function U(J){const D=[{word:J,isAcronym:!1}],K=(0,s.combineWords)(D,v,X=>X,X=>X,X=>X,X=>X,"",S);return f.keywords.includes(K)?"@"+K:K}function x(J){return J instanceof a.UnionType?(0,c.nullableFromUnion)(J)===null:["integer","double","bool","enum","date-time","uuid"].includes(J.kind)}n.isValueType=x})(fc);Object.defineProperty(Ml,"__esModule",{value:!0});Ml.CSharpRenderer=void 0;const Tx=Ve,A_=Wt,Sx=wt,F_=$e,vx=Ce,au=Ns,lu=et(),Ai=fc;class _x extends Sx.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._csOptions=i}forbiddenNamesForGlobalNamespace(){return["QuickType","Type","System","Console","Exception","DateTimeOffset","Guid","Uri"]}forbiddenForObjectProperties(e,t){return{names:[t,"ToString","GetHashCode","Finalize","Equals","GetType","MemberwiseClone","ReferenceEquals"],includeGlobalForbidden:!1}}forbiddenForUnionMembers(e,t){return{names:[t],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return Ai.namingFunction}namerForObjectProperty(){return this._csOptions.keepPropertyName?Ai.namingFunctionKeep:Ai.namingFunction}makeUnionMemberNamer(){return Ai.namingFunction}makeEnumCaseNamer(){return Ai.namingFunction}unionNeedsName(e){return(0,lu.nullableFromUnion)(e)===null}namedTypeToNameForTopLevel(e){return(0,lu.directlyReachableSingleNamedType)(e)}emitBlock(e,t=!1){this.emitLine("{"),this.indent(e),this.emitLine("}",t?";":"")}get doubleType(){return this._csOptions.useDecimal?"decimal":"double"}csType(e,t=au.followTargetType,i=!1){const r=t(e);return(0,lu.matchType)(r,s=>(0,F_.maybeAnnotated)(i,A_.anyTypeIssueAnnotation,this._csOptions.typeForAny),s=>(0,F_.maybeAnnotated)(i,A_.nullTypeIssueAnnotation,this._csOptions.typeForAny),s=>"bool",s=>"long",s=>this.doubleType,s=>"string",s=>{const o=this.csType(s.items,t,i);return this._csOptions.useList?["List<",o,">"]:[o,"[]"]},s=>this.nameForNamedType(s),s=>["Dictionary<string, ",this.csType(s.values,t,i),">"],s=>this.nameForNamedType(s),s=>{const o=(0,lu.nullableFromUnion)(s);return o!==null?this.nullableCSType(o,Ai.noFollow):this.nameForNamedType(s)},s=>(0,Ai.csTypeForTransformedStringType)(s))}nullableCSType(e,t=au.followTargetType,i=!1){e=(0,au.followTargetType)(e);const r=this.csType(e,t,i);return(0,Ai.isValueType)(e)?[r,"?"]:r}baseclassForType(e){}emitType(e,t,i,r,s,o){switch(t){case Ai.AccessModifier.Public:i=["public ",i];break;case Ai.AccessModifier.Internal:i=["internal ",i];break}this.emitDescription(e),s===void 0?this.emitLine(i," ",r):this.emitLine(i," ",r," : ",s),this.emitBlock(o)}attributesForProperty(e,t,i,r){}propertyDefinition(e,t,i,r){const s=e.type,o=e.isOptional?this.nullableCSType(s,au.followTargetType,!0):this.csType(s,au.followTargetType,!0),a=["public "];return this._csOptions.virtual&&a.push("virtual "),[...a,o," ",t," { get; set; }"]}emitDescriptionBlock(e){const t="/// <summary>";this._csOptions.dense?this.emitLine(t,e.join("; "),"</summary>"):this.emitCommentLines(e,{lineStart:"/// ",beforeComment:t,afterComment:"/// </summary>"})}blankLinesBetweenAttributes(){return!1}emitClassDefinition(e,t){this.emitType(this.descriptionForType(e),Ai.AccessModifier.Public,"partial class",t,this.baseclassForType(e),()=>{if(e.getProperties().size===0)return;const i=this.blankLinesBetweenAttributes()?"interposing":"none";let r=[],s=!0,o;this.forEachClassProperty(e,i,(a,c,f)=>{const d=this.attributesForProperty(f,a,e,c),p=this.descriptionForClassProperty(e,c),y=this.propertyDefinition(f,a,e,c);if(d===void 0)(!s&&p!==void 0||o!==void 0)&&this.ensureBlankLine(),this.emitDescription(p),this.emitLine(y);else if(this._csOptions.dense&&d.length>0){const h=p===void 0?"":` // ${p.join("; ")}`;r.push([d," ",y,h])}else{this.emitDescription(p);for(const h of d)this.emitLine(h);this.emitLine(y)}s=!1,o=p}),r.length>0&&this.emitTable(r)})}emitUnionDefinition(e,t){const i=(0,lu.removeNullFromUnion)(e,!0)[1];this.emitType(this.descriptionForType(e),Ai.AccessModifier.Public,"partial struct",t,this.baseclassForType(e),()=>{this.forEachUnionMember(e,i,"none",null,(s,o)=>{const a=this.nullableCSType(o);this.emitLine("public ",a," ",s,";")}),this.ensureBlankLine();const r=Array.from(i).map(s=>[this.nameForUnionMember(e,s)," == null"]);this.ensureBlankLine(),this.forEachUnionMember(e,i,"none",null,(s,o)=>{const a=this.csType(o);this.emitExpressionMember(["public static implicit operator ",t,"(",a," ",s,")"],["new ",t," { ",s," = ",s," }"])}),e.findMember("null")!==void 0&&this.emitExpressionMember("public bool IsNull",(0,Tx.arrayIntercalate)(" && ",r),!0)})}emitEnumDefinition(e,t){const i=[];this.forEachEnumCase(e,"none",r=>{i.length>0&&i.push(", "),i.push(r)}),this.emitDescription(this.descriptionForType(e)),this.emitLine("public enum ",t," { ",i," };")}emitExpressionMember(e,t,i=!1){this._csOptions.version===5?(this.emitLine(e),this.emitBlock(()=>{const r=["return ",t,";"];i?(this.emitLine("get"),this.emitBlock(()=>this.emitLine(r))):this.emitLine(r)})):this.emitLine(e," => ",t,";")}emitTypeSwitch(e,t,i,r,s){(0,vx.assert)(!r||i,"Can only have return with block");for(const o of e)this.emitLine("if (",t(o),")"),i?this.emitBlock(()=>{s(o),r&&this.emitLine("return;")}):this.indent(()=>s(o))}emitUsing(e){this.emitLine("using ",e,";")}emitUsings(){for(const e of["System","System.Collections.Generic"])this.emitUsing(e)}emitRequiredHelpers(){}emitTypesAndSupport(){this.forEachObject("leading-and-interposing",(e,t)=>this.emitClassDefinition(e,t)),this.forEachEnum("leading-and-interposing",(e,t)=>this.emitEnumDefinition(e,t)),this.forEachUnion("leading-and-interposing",(e,t)=>this.emitUnionDefinition(e,t)),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()}}Ml.CSharpRenderer=_x;Object.defineProperty(cc,"__esModule",{value:!0});cc.NewtonsoftCSharpRenderer=void 0;const P_=Ve,wx=wt,fy=qe,Lx=$e,dy=Ke,yr=Ce,xt=Ns,gr=rt(),hy=et(),Nx=Ml,Rn=fc;class kx extends Nx.CSharpRenderer{constructor(e,t,i){super(e,t,i),this._options=i,this._enumExtensionsNames=new Map,this._needHelpers=i.features.helpers,this._needAttributes=i.features.attributes,this._needNamespaces=i.features.namespaces}forbiddenNamesForGlobalNamespace(){const e=["Converter","JsonConverter","JsonSerializer","JsonWriter","JsonToken","Serialize","Newtonsoft","MetadataPropertyHandling","DateParseHandling","FromJson","Required"];return this._options.dense&&e.push("J","R","N"),this._options.baseclass!==void 0&&e.push(this._options.baseclass),super.forbiddenNamesForGlobalNamespace().concat(e)}forbiddenForObjectProperties(e,t){const i=super.forbiddenForObjectProperties(e,t);return i.names=i.names.concat(["ToJson","FromJson","Required"]),i}makeNameForTransformation(e,t){if(t===void 0){let i=e.transformer;return i instanceof xt.DecodingTransformer&&i.consumer!==void 0&&(i=i.consumer),new fy.SimpleName([`${i.kind}_converter`],Rn.namingFunction,wx.inferredNameOrder+30)}return new fy.DependencyName(Rn.namingFunction,t.order+30,i=>`${i(t)}_converter`)}makeNamedTypeDependencyNames(e,t){if(!(e instanceof gr.EnumType))return[];const i=new fy.DependencyName(Rn.namingFunction,t.order+30,r=>`${r(t)}_extensions`);return this._enumExtensionsNames.set(t,i),[i]}emitUsings(){if(!(!this._needAttributes&&!this._needHelpers)){super.emitUsings(),this.ensureBlankLine();for(const e of["System.Globalization","Newtonsoft.Json","Newtonsoft.Json.Converters"])this.emitUsing(e);this._options.dense&&(this.emitUsing([Rn.denseJsonPropertyName," = Newtonsoft.Json.JsonPropertyAttribute"]),this.emitUsing([Rn.denseRequiredEnumName," = Newtonsoft.Json.Required"]),this.emitUsing([Rn.denseNullValueHandlingEnumName," = Newtonsoft.Json.NullValueHandling"])),this._options.baseclass==="EntityData"&&this.emitUsing("Microsoft.Azure.Mobile.Server")}}baseclassForType(e){return this._options.baseclass}emitDefaultLeadingComments(){this._needHelpers&&(this.emitLine("// <auto-generated />"),this.emitLine("//"),this.emitLine("// To parse this JSON data, add NuGet 'Newtonsoft.Json' then do",this.topLevels.size===1?"":" one of these",":"),this.emitLine("//"),this.emitLine("// using ",this._options.namespace,";"),this.emitLine("//"),this.forEachTopLevel("none",(e,t)=>{let i;e instanceof gr.EnumType?i=["JsonConvert.DeserializeObject<",t,">(jsonString)"]:i=[t,".FromJson(jsonString)"],this.emitLine("// var ",(0,Lx.modifySource)(dy.camelCase,t)," = ",i,";")}))}converterForType(e){let t=(0,xt.transformationForType)(e);if(t===void 0&&e instanceof gr.UnionType){const i=(0,hy.nullableFromUnion)(e);i!==null&&(e=i,t=(0,xt.transformationForType)(e))}if(t!==void 0&&!(0,Rn.alwaysApplyTransformation)(t))return(0,yr.defined)(this.nameForTransformation(e))}attributesForProperty(e,t,i,r){if(!this._needAttributes)return;const s=[],o=this._options.dense?Rn.denseJsonPropertyName:"JsonProperty",a=(0,dy.utf16StringEscape)(r),c=(0,xt.followTargetType)(e.type).isNullable,f=e.isOptional,d=this._options.dense?"R":"Required",p=this._options.dense?"N":"NullValueHandling",y=f&&!c?[", NullValueHandling = ",p,".Ignore"]:[];let h;!this._options.checkRequired||f&&c?h=[y]:f&&!c?h=[", Required = ",d,".DisallowNull",y]:!f&&c?h=[", Required = ",d,".AllowNull"]:h=[", Required = ",d,".Always",y],s.push(["[",o,'("',a,'"',h,")]"]);const S=this.converterForType(e.type);return S!==void 0&&s.push(["[JsonConverter(typeof(",S,"))]"]),s}blankLinesBetweenAttributes(){return this._needAttributes&&!this._options.dense}topLevelResultType(e){return e.kind==="any"||e.kind==="none"?"object":this.csType(e)}emitFromJsonForTopLevel(e,t){if(e instanceof gr.EnumType)return;let i,r;const s=this.namedTypeToNameForTopLevel(e);s!==void 0?(i="partial ",r=s instanceof gr.ClassType?"class":"struct"):(i="",r="class");const o=this.topLevelResultType(e);this.emitType(void 0,Rn.AccessModifier.Public,[i,r],t,this.baseclassForType(e),()=>{this.emitExpressionMember(["public static ",o," FromJson(string json)"],["JsonConvert.DeserializeObject<",o,">(json, ",this._options.namespace,".Converter.Settings)"])})}emitDecoderSwitch(e){this.emitLine("switch (reader.TokenType)"),this.emitBlock(e)}emitTokenCase(e){this.emitLine("case JsonToken.",e,":")}emitThrow(e){this.emitLine("throw new Exception(",e,");")}deserializeTypeCode(e){return["serializer.Deserialize<",e,">(reader)"]}serializeValueCode(e){return["serializer.Serialize(writer, ",e,")"]}emitSerializeClass(){this.emitType(void 0,Rn.AccessModifier.Public,"static class","Serialize",void 0,()=>{const e=new Set;this.forEachTopLevel("none",t=>{e.has(t)||(e.add(t),this.emitExpressionMember(["public static string ToJson(this ",this.topLevelResultType(t)," self)"],["JsonConvert.SerializeObject(self, ",this._options.namespace,".Converter.Settings)"]))})})}emitCanConvert(e){this.emitExpressionMember("public override bool CanConvert(Type t)",e)}emitReadJson(e){this.emitLine("public override object ReadJson(JsonReader reader, Type t, object existingValue, JsonSerializer serializer)"),this.emitBlock(e)}emitWriteJson(e,t){this.emitLine("public override void WriteJson(JsonWriter writer, object ",e,", JsonSerializer serializer)"),this.emitBlock(t)}converterObject(e){return[e,".Singleton"]}emitConverterClass(){const e=["Converter"];this.emitType(void 0,Rn.AccessModifier.Internal,"static class",e,void 0,()=>{this.emitLine("public static readonly JsonSerializerSettings Settings = new JsonSerializerSettings"),this.emitBlock(()=>{this.emitLine("MetadataPropertyHandling = MetadataPropertyHandling.Ignore,"),this.emitLine("DateParseHandling = DateParseHandling.None,"),this.emitLine("Converters ="),this.emitLine("{"),this.indent(()=>{for(const[t,i]of this.typesWithNamedTransformations)(0,Rn.alwaysApplyTransformation)((0,yr.defined)((0,xt.transformationForType)(t)))&&this.emitLine(this.converterObject(i),",");this.emitLine("new IsoDateTimeConverter { DateTimeStyles = DateTimeStyles.AssumeUniversal }")}),this.emitLine("},")},!0)})}emitDecoderTransformerCase(e,t,i,r,s){if(i!==void 0){for(const o of e)this.emitTokenCase(o);this.indent(()=>{this.emitDecodeTransformer(i,r,s,t)||this.emitLine("break;")})}}emitConsume(e,t,i,r){return t===void 0?(r(e),!0):this.emitTransformer(e,t,i,r)}emitDecodeTransformer(e,t,i,r="value"){if(e instanceof xt.DecodingTransformer){const s=e.sourceType,o=this.converterForType(t);if(o!==void 0){const a=this.csType(t);this.emitLine("var converter = ",this.converterObject(o),";"),this.emitLine("var ",r," = (",a,")converter.ReadJson(reader, typeof(",a,"), null, serializer);")}else if(s.kind!=="null"){let a=t.kind==="double"?t:s;this.emitLine("var ",r," = ",this.deserializeTypeCode(this.csType(a)),";")}return this.emitConsume(r,e.consumer,t,i)}else if(e instanceof xt.ArrayDecodingTransformer){if(!(t instanceof gr.ArrayType))return(0,yr.panic)("Array decoding must produce an array type");this.emitLine("reader.Read();"),this.emitLine("var ",r," = new List<",this.csType(t.items),">();"),this.emitLine("while (reader.TokenType != JsonToken.EndArray)"),this.emitBlock(()=>{this.emitDecodeTransformer(e.itemTransformer,e.itemTargetType,o=>this.emitLine(r,".Add(",o,");"),"arrayItem"),this.emitLine("reader.Read();")});let s=r;return this._options.useList||(s=[s,".ToArray()"]),i(s),!0}else return e instanceof xt.DecodingChoiceTransformer?(this.emitDecoderSwitch(()=>{const s=e.nullTransformer;s!==void 0&&(this.emitTokenCase("Null"),this.indent(()=>{this.emitDecodeTransformer(s,t,i,"null")||this.emitLine("break")})),this.emitDecoderTransformerCase(["Integer"],"integerValue",e.integerTransformer,t,i),this.emitDecoderTransformerCase(e.integerTransformer===void 0?["Integer","Float"]:["Float"],"doubleValue",e.doubleTransformer,t,i),this.emitDecoderTransformerCase(["Boolean"],"boolValue",e.boolTransformer,t,i),this.emitDecoderTransformerCase(["String","Date"],"stringValue",e.stringTransformer,t,i),this.emitDecoderTransformerCase(["StartObject"],"objectValue",e.objectTransformer,t,i),this.emitDecoderTransformerCase(["StartArray"],"arrayValue",e.arrayTransformer,t,i)}),!1):(0,yr.panic)("Unknown transformer")}stringCaseValue(e,t){return e.kind==="string"?['"',(0,dy.utf16StringEscape)(t),'"']:e instanceof gr.EnumType?[this.nameForNamedType(e),".",this.nameForEnumCase(e,t)]:(0,yr.panic)(`Type ${e.kind} does not have string cases`)}emitTransformer(e,t,i,r){function s(o){return o===void 0?i:(0,xt.followTargetType)(o.sourceType)}if(t instanceof xt.ChoiceTransformer){const o=t.transformers;if(o.length>1&&o.every(a=>a instanceof xt.StringMatchTransformer))return this.emitLine("switch (",e,")"),this.emitBlock(()=>{for(const a of o){const c=a,f=this.stringCaseValue((0,xt.followTargetType)(c.sourceType),c.stringCase);this.emitLine("case ",f,":"),this.indent(()=>{this.emitTransformer(e,c.transformer,i,r)||this.emitLine("break;")})}}),!1;for(const a of o)this.emitTransformer(e,a,i,r)}else if(t instanceof xt.UnionMemberMatchTransformer){const o=t.memberType,a=(0,hy.nullableFromUnion)(t.sourceType);let c,f;if(a!==null)o.kind==="null"?(c=[e," == null"],f="null"):(c=[e," != null"],f=e);else if(o.kind==="null")c=[e,".IsNull"],f="null";else{const d=this.nameForUnionMember(t.sourceType,o);f=[e,".",d],c=[f," != null"]}o.kind!=="null"&&(0,Rn.isValueType)(o)&&(f=[f,".Value"]),this.emitLine("if (",c,")"),this.emitBlock(()=>this.emitTransformer(f,t.transformer,i,r))}else if(t instanceof xt.StringMatchTransformer){const o=this.stringCaseValue((0,xt.followTargetType)(t.sourceType),t.stringCase);this.emitLine("if (",e," == ",o,")"),this.emitBlock(()=>this.emitTransformer(e,t.transformer,i,r))}else if(t instanceof xt.EncodingTransformer){const o=this.converterForType(t.sourceType);return o!==void 0?(this.emitLine("var converter = ",this.converterObject(o),";"),this.emitLine("converter.WriteJson(writer, ",e,", serializer);")):this.emitLine(this.serializeValueCode(e),";"),r([]),!0}else if(t instanceof xt.ArrayEncodingTransformer){this.emitLine("writer.WriteStartArray();");const o="arrayItem";return this.emitLine("foreach (var ",o," in ",e,")"),this.emitBlock(()=>{this.emitTransformer(o,t.itemTransformer,t.itemTargetType,()=>{})}),this.emitLine("writer.WriteEndArray();"),r([]),!0}else if(t instanceof xt.ParseStringTransformer){const o=t.consumer===void 0?i:t.consumer.sourceType;switch(o.kind){case"date-time":this.emitLine("DateTimeOffset dt;"),this.emitLine("if (DateTimeOffset.TryParse(",e,", out dt))"),this.emitBlock(()=>this.emitConsume("dt",t.consumer,i,r));break;case"uuid":this.emitLine("Guid guid;"),this.emitLine("if (Guid.TryParse(",e,", out guid))"),this.emitBlock(()=>this.emitConsume("guid",t.consumer,i,r));break;case"uri":this.emitLine("try"),this.emitBlock(()=>{this.emitLine("var uri = new Uri(",e,");"),this.emitConsume("uri",t.consumer,i,r)}),this.emitLine("catch (UriFormatException) {}");break;case"integer":this.emitLine("long l;"),this.emitLine("if (Int64.TryParse(",e,", out l))"),this.emitBlock(()=>this.emitConsume("l",t.consumer,i,r));break;case"bool":this.emitLine("bool b;"),this.emitLine("if (Boolean.TryParse(",e,", out b))"),this.emitBlock(()=>this.emitConsume("b",t.consumer,i,r));break;default:return(0,yr.panic)(`Parsing string to ${o.kind} not supported`)}}else if(t instanceof xt.StringifyTransformer)switch(t.sourceType.kind){case"date-time":return this.emitConsume([e,'.ToString("o", System.Globalization.CultureInfo.InvariantCulture)'],t.consumer,i,r);case"uuid":return this.emitConsume([e,'.ToString("D", System.Globalization.CultureInfo.InvariantCulture)'],t.consumer,i,r);case"integer":case"uri":return this.emitConsume([e,".ToString()"],t.consumer,i,r);case"bool":return this.emitLine("var boolString = ",e,' ? "true" : "false";'),this.emitConsume("boolString",t.consumer,i,r);default:return(0,yr.panic)(`Stringifying ${t.sourceType.kind} not supported`)}else if(t instanceof xt.StringProducerTransformer){const o=this.stringCaseValue(s(t.consumer),t.result);return this.emitConsume(o,t.consumer,i,r)}else if(t instanceof xt.MinMaxLengthCheckTransformer){const o=t.minLength,a=t.maxLength,c=[];return o!==void 0&&c.push([e,".Length >= ",o.toString()]),a!==void 0&&c.push([e,".Length <= ",a.toString()]),this.emitLine("if (",(0,P_.arrayIntercalate)([" && "],c),")"),this.emitBlock(()=>this.emitConsume(e,t.consumer,i,r)),!1}else if(t instanceof xt.MinMaxValueTransformer){const o=t.minimum,a=t.maximum,c=[];return o!==void 0&&c.push([e," >= ",o.toString()]),a!==void 0&&c.push([e," <= ",a.toString()]),this.emitLine("if (",(0,P_.arrayIntercalate)([" && "],c),")"),this.emitBlock(()=>this.emitConsume(e,t.consumer,i,r)),!1}else if(t instanceof xt.UnionInstantiationTransformer){if(!(i instanceof gr.UnionType))return(0,yr.panic)("Union instantiation transformer must produce a union type");if((0,hy.nullableFromUnion)(i)!==null)r(e);else{const a=this.nameForNamedType(i);let c;t.sourceType.kind==="null"?c=" ":c=[" ",this.nameForUnionMember(i,t.sourceType)," = ",e," "],r(["new ",a," {",c,"}"])}return!0}else return(0,yr.panic)("Unknown transformer");return!1}emitTransformation(e,t){const i=(0,yr.defined)((0,xt.transformationForType)(t)),r=i.reverse,s=i.targetType,o=i.transformer;this.emitType(void 0,Rn.AccessModifier.Internal,"class",e,"JsonConverter",()=>{const a=this.csType(s);let c=["t == typeof(",a,")"];const f=(0,Rn.isValueType)(s);f&&(c=[c," || t == typeof(",a,"?)"]),this.emitCanConvert(c),this.ensureBlankLine(),this.emitReadJson(()=>{f&&!(s instanceof gr.UnionType)&&this.emitLine("if (reader.TokenType == JsonToken.Null) return null;"),this.emitDecodeTransformer(o,s,p=>this.emitLine("return ",p,";"))||this.emitThrow(['"Cannot unmarshal type ',a,'"'])}),this.ensureBlankLine(),this.emitWriteJson("untypedValue",()=>{f&&!(s instanceof gr.UnionType)&&(this.emitLine("if (untypedValue == null)"),this.emitBlock(()=>{this.emitLine("serializer.Serialize(writer, null);"),this.emitLine("return;")})),this.emitLine("var value = (",a,")untypedValue;"),this.emitTransformer("value",r.transformer,r.targetType,()=>this.emitLine("return;"))||this.emitThrow(['"Cannot marshal type ',a,'"'])}),this.ensureBlankLine(),this.emitLine("public static readonly ",e," Singleton = new ",e,"();")})}emitRequiredHelpers(){this._needHelpers&&(this.forEachTopLevel("leading-and-interposing",(e,t)=>this.emitFromJsonForTopLevel(e,t)),this.ensureBlankLine(),this.emitSerializeClass()),(this._needHelpers||this._needAttributes&&(this.haveNamedUnions||this.haveEnums))&&(this.ensureBlankLine(),this.emitConverterClass(),this.forEachTransformation("leading-and-interposing",(e,t)=>this.emitTransformation(e,t)))}needNamespace(){return this._needNamespaces}}cc.NewtonsoftCSharpRenderer=kx;var dc={};Object.defineProperty(dc,"__esModule",{value:!0});dc.SystemTextJsonCSharpRenderer=void 0;const M_=Ve,Ox=wt,py=qe,Ex=$e,my=Ke,br=Ce,Jt=Ns,xs=rt(),yy=et(),Cx=Ml,di=fc;class Ax extends Cx.CSharpRenderer{constructor(e,t,i){super(e,t,i),this._options=i,this._enumExtensionsNames=new Map,this._needHelpers=i.features.helpers,this._needAttributes=i.features.attributes,this._needNamespaces=i.features.namespaces}forbiddenNamesForGlobalNamespace(){const e=["Converter","JsonConverter","JsonSerializer","JsonWriter","JsonToken","Serialize","JsonSerializerOptions","FromJson","Required"];return this._options.dense&&e.push("J","R","N"),this._options.baseclass!==void 0&&e.push(this._options.baseclass),super.forbiddenNamesForGlobalNamespace().concat(e)}forbiddenForObjectProperties(e,t){const i=super.forbiddenForObjectProperties(e,t);return i.names=i.names.concat(["ToJson","FromJson","Required"]),i}makeNameForTransformation(e,t){if(t===void 0){let i=e.transformer;return i instanceof Jt.DecodingTransformer&&i.consumer!==void 0&&(i=i.consumer),new py.SimpleName([`${i.kind}_converter`],di.namingFunction,Ox.inferredNameOrder+30)}return new py.DependencyName(di.namingFunction,t.order+30,i=>`${i(t)}_converter`)}makeNamedTypeDependencyNames(e,t){if(!(e instanceof xs.EnumType))return[];const i=new py.DependencyName(di.namingFunction,t.order+30,r=>`${r(t)}_extensions`);return this._enumExtensionsNames.set(t,i),[i]}emitUsings(){if(!(!this._needAttributes&&!this._needHelpers)){super.emitUsings(),this.ensureBlankLine();for(const e of["System.Text.Json","System.Text.Json.Serialization","System.Globalization"])this.emitUsing(e);this._options.dense&&(this.emitUsing([di.denseJsonPropertyName," = System.Text.Json.Serialization.JsonPropertyNameAttribute"]),this.emitUsing([di.denseNullValueHandlingEnumName," = System.Text.Json.Serialization.JsonIgnoreCondition"])),this._options.baseclass==="EntityData"&&this.emitUsing("Microsoft.Azure.Mobile.Server")}}baseclassForType(e){return this._options.baseclass}emitDefaultFollowingComments(){this._needHelpers&&(this.emitLine("#pragma warning restore CS8618"),this.emitLine("#pragma warning restore CS8601"),this.emitLine("#pragma warning restore CS8603"))}emitDefaultLeadingComments(){this._needHelpers&&(this.emitLine("// <auto-generated />"),this.emitLine("//"),this.emitLine("// To parse this JSON data, add NuGet 'System.Text.Json' then do",this.topLevels.size===1?"":" one of these",":"),this.emitLine("//"),this.emitLine("// using ",this._options.namespace,";"),this.emitLine("//"),this.forEachTopLevel("none",(e,t)=>{let i;e instanceof xs.EnumType?i=["JsonSerializer.Deserialize<",t,">(jsonString)"]:i=[t,".FromJson(jsonString)"],this.emitLine("// var ",(0,Ex.modifySource)(my.camelCase,t)," = ",i,";")}),this.emitLine("#nullable enable"),this.emitLine("#pragma warning disable CS8618"),this.emitLine("#pragma warning disable CS8601"),this.emitLine("#pragma warning disable CS8603"))}converterForType(e){let t=(0,Jt.transformationForType)(e);if(t===void 0&&e instanceof xs.UnionType){const i=(0,yy.nullableFromUnion)(e);i!==null&&(e=i,t=(0,Jt.transformationForType)(e))}if(t!==void 0&&!(0,di.alwaysApplyTransformation)(t))return(0,br.defined)(this.nameForTransformation(e))}attributesForProperty(e,t,i,r){if(!this._needAttributes)return;const s=[],o=this._options.dense?di.denseJsonPropertyName:"JsonPropertyName",a=(0,my.utf16StringEscape)(r),c=(0,Jt.followTargetType)(e.type).isNullable;e.isOptional&&!c&&s.push(["[","JsonIgnore","(Condition = JsonIgnoreCondition.WhenWritingNull)]"]),s.push(["[",o,'("',a,'")]']);const d=this.converterForType(e.type);return d!==void 0&&s.push(["[JsonConverter(typeof(",d,"))]"]),s}blankLinesBetweenAttributes(){return this._needAttributes&&!this._options.dense}topLevelResultType(e){return e.kind==="any"||e.kind==="none"?"object":this.csType(e)}emitFromJsonForTopLevel(e,t){if(e instanceof xs.EnumType)return;let i,r;const s=this.namedTypeToNameForTopLevel(e);s!==void 0?(i="partial ",r=s instanceof xs.ClassType?"class":"struct"):(i="",r="class");const o=this.topLevelResultType(e);this.emitType(void 0,di.AccessModifier.Public,[i,r],t,this.baseclassForType(e),()=>{this.emitExpressionMember(["public static ",o," FromJson(string json)"],["JsonSerializer.Deserialize<",o,">(json, ",this._options.namespace,".Converter.Settings)"])})}emitDecoderSwitch(e){this.emitLine("switch (reader.TokenType)"),this.emitBlock(e)}emitTokenCase(e){this.emitLine("case JsonTokenType.",e,":")}emitThrow(e){this.emitLine("throw new Exception(",e,");")}deserializeTypeCode(e){switch(e){case"bool":return["reader.GetBoolean()"];case"long":return["reader.GetInt64()"];case"decimal":return["reader.GetDecimal()"];case"double":return["reader.GetDouble()"];case"string":return["reader.GetString()"];default:return["JsonSerializer.Deserialize<",e,">(ref reader, options)"]}}serializeValueCode(e){return e!=="null"?["JsonSerializer.Serialize(writer, ",e,", options)"]:["writer.WriteNullValue()"]}emitSerializeClass(){this.emitType(void 0,di.AccessModifier.Public,"static class","Serialize",void 0,()=>{const e=new Set;this.forEachTopLevel("none",t=>{e.has(t)||(e.add(t),this.emitExpressionMember(["public static string ToJson(this ",this.topLevelResultType(t)," self)"],["JsonSerializer.Serialize(self, ",this._options.namespace,".Converter.Settings)"]))})})}emitCanConvert(e){this.emitExpressionMember("public override bool CanConvert(Type t)",e)}emitReadJson(e,t){this.emitLine("public override ",t," Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)"),this.emitBlock(e)}emitWriteJson(e,t,i){this.emitLine("public override void Write(Utf8JsonWriter writer, ",i," ",e,", JsonSerializerOptions options)"),this.emitBlock(t)}converterObject(e){return[e,".Singleton"]}emitConverterClass(){const e=["Converter"];this.emitType(void 0,di.AccessModifier.Internal,"static class",e,void 0,()=>{this.emitLine("public static readonly JsonSerializerOptions Settings = new(JsonSerializerDefaults.General)"),this.emitBlock(()=>{this.emitLine("Converters ="),this.emitLine("{"),this.indent(()=>{for(const[t,i]of this.typesWithNamedTransformations)(0,di.alwaysApplyTransformation)((0,br.defined)((0,Jt.transformationForType)(t)))&&this.emitLine(this.converterObject(i),",");this.emitLine("new DateOnlyConverter(),"),this.emitLine("new TimeOnlyConverter(),"),this.emitLine("IsoDateTimeOffsetConverter.Singleton")}),this.emitLine("},")},!0)})}emitDecoderTransformerCase(e,t,i,r,s){if(i!==void 0){for(const o of e)this.emitTokenCase(o);this.indent(()=>{this.emitDecodeTransformer(i,r,s,t)||this.emitLine("break;")})}}emitConsume(e,t,i,r){return t===void 0?(r(e),!0):this.emitTransformer(e,t,i,r)}emitDecodeTransformer(e,t,i,r="value"){if(e instanceof Jt.DecodingTransformer){const s=e.sourceType,o=this.converterForType(t);if(o!==void 0){const a=this.csType(t);this.emitLine("var converter = ",this.converterObject(o),";"),this.emitLine("var ",r," = (",a,")converter.ReadJson(reader, typeof(",a,"), null, serializer);")}else if(s.kind!=="null"){let a=t.kind==="double"?t:s;this.emitLine("var ",r," = ",this.deserializeTypeCode(this.csType(a)),";")}return this.emitConsume(r,e.consumer,t,i)}else if(e instanceof Jt.ArrayDecodingTransformer){if(!(t instanceof xs.ArrayType))return(0,br.panic)("Array decoding must produce an array type");this.emitLine("reader.Read();"),this.emitLine("var ",r," = new List<",this.csType(t.items),">();"),this.emitLine("while (reader.TokenType != JsonToken.EndArray)"),this.emitBlock(()=>{this.emitDecodeTransformer(e.itemTransformer,e.itemTargetType,o=>this.emitLine(r,".Add(",o,");"),"arrayItem"),this.emitLine("reader.Read();")});let s=r;return this._options.useList||(s=[s,".ToArray()"]),i(s),!0}else return e instanceof Jt.DecodingChoiceTransformer?(this.emitDecoderSwitch(()=>{const s=e.nullTransformer;s!==void 0&&(this.emitTokenCase("Null"),this.indent(()=>{this.emitDecodeTransformer(s,t,i,"null")||this.emitLine("break")})),this.emitDecoderTransformerCase(["Number"],"integerValue",e.integerTransformer,t,i),this.emitDecoderTransformerCase(["Number"],"doubleValue",e.doubleTransformer,t,i),this.emitDecoderTransformerCase(["True","False"],"boolValue",e.boolTransformer,t,i),this.emitDecoderTransformerCase(["String"],"stringValue",e.stringTransformer,t,i),this.emitDecoderTransformerCase(["StartObject"],"objectValue",e.objectTransformer,t,i),this.emitDecoderTransformerCase(["StartArray"],"arrayValue",e.arrayTransformer,t,i)}),!1):(0,br.panic)("Unknown transformer")}stringCaseValue(e,t){return e.kind==="string"?['"',(0,my.utf16StringEscape)(t),'"']:e instanceof xs.EnumType?[this.nameForNamedType(e),".",this.nameForEnumCase(e,t)]:(0,br.panic)(`Type ${e.kind} does not have string cases`)}emitTransformer(e,t,i,r){function s(o){return o===void 0?i:(0,Jt.followTargetType)(o.sourceType)}if(t instanceof Jt.ChoiceTransformer){const o=t.transformers;if(o.length>1&&o.every(a=>a instanceof Jt.StringMatchTransformer))return this.emitLine("switch (",e,")"),this.emitBlock(()=>{for(const a of o){const c=a,f=this.stringCaseValue((0,Jt.followTargetType)(c.sourceType),c.stringCase);this.emitLine("case ",f,":"),this.indent(()=>{this.emitTransformer(e,c.transformer,i,r)||this.emitLine("break;")})}}),!1;for(const a of o)this.emitTransformer(e,a,i,r)}else if(t instanceof Jt.UnionMemberMatchTransformer){const o=t.memberType,a=(0,yy.nullableFromUnion)(t.sourceType);let c,f;if(a!==null)o.kind==="null"?(c=[e," == null"],f="null"):(c=[e," != null"],f=e);else if(o.kind==="null")c=[e,".IsNull"],f="null";else{const d=this.nameForUnionMember(t.sourceType,o);f=[e,".",d],c=[f," != null"]}o.kind!=="null"&&(0,di.isValueType)(o)&&(f=[f,".Value"]),this.emitLine("if (",c,")"),this.emitBlock(()=>this.emitTransformer(f,t.transformer,i,r))}else if(t instanceof Jt.StringMatchTransformer){const o=this.stringCaseValue((0,Jt.followTargetType)(t.sourceType),t.stringCase);this.emitLine("if (",e," == ",o,")"),this.emitBlock(()=>this.emitTransformer(e,t.transformer,i,r))}else if(t instanceof Jt.EncodingTransformer){const o=this.converterForType(t.sourceType);return o!==void 0?(this.emitLine("var converter = ",this.converterObject(o),";"),this.emitLine("converter.WriteJson(writer, ",e,", serializer);")):this.emitLine(this.serializeValueCode(e),";"),r([]),!0}else if(t instanceof Jt.ArrayEncodingTransformer){this.emitLine("writer.WriteStartArray();");const o="arrayItem";return this.emitLine("foreach (var ",o," in ",e,")"),this.emitBlock(()=>{this.emitTransformer(o,t.itemTransformer,t.itemTargetType,()=>{})}),this.emitLine("writer.WriteEndArray();"),r([]),!0}else if(t instanceof Jt.ParseStringTransformer){const o=t.consumer===void 0?i:t.consumer.sourceType;switch(o.kind){case"date-time":this.emitLine("DateTimeOffset dt;"),this.emitLine("if (DateTimeOffset.TryParse(",e,", out dt))"),this.emitBlock(()=>this.emitConsume("dt",t.consumer,i,r));break;case"uuid":this.emitLine("Guid guid;"),this.emitLine("if (Guid.TryParse(",e,", out guid))"),this.emitBlock(()=>this.emitConsume("guid",t.consumer,i,r));break;case"uri":this.emitLine("try"),this.emitBlock(()=>{this.emitLine('var uri = new Uri("about:blank");'),this.emitLine("if (!string.IsNullOrEmpty(stringValue))"),this.emitBlock(()=>{this.emitLine("uri = new Uri(",e,");")}),this.emitConsume("uri",t.consumer,i,r)}),this.emitLine("catch (UriFormatException) {}");break;case"integer":this.emitLine("long l;"),this.emitLine("if (Int64.TryParse(",e,", out l))"),this.emitBlock(()=>this.emitConsume("l",t.consumer,i,r));break;case"bool":this.emitLine("bool b;"),this.emitLine("if (Boolean.TryParse(",e,", out b))"),this.emitBlock(()=>this.emitConsume("b",t.consumer,i,r));break;default:return(0,br.panic)(`Parsing string to ${o.kind} not supported`)}}else if(t instanceof Jt.StringifyTransformer)switch(t.sourceType.kind){case"date-time":return this.emitConsume([e,'.ToString("o", System.Globalization.CultureInfo.InvariantCulture)'],t.consumer,i,r);case"uuid":return this.emitConsume([e,'.ToString("D", System.Globalization.CultureInfo.InvariantCulture)'],t.consumer,i,r);case"integer":case"uri":return this.emitConsume([e,".ToString()"],t.consumer,i,r);case"bool":return this.emitLine("var boolString = ",e,' ? "true" : "false";'),this.emitConsume("boolString",t.consumer,i,r);default:return(0,br.panic)(`Stringifying ${t.sourceType.kind} not supported`)}else if(t instanceof Jt.StringProducerTransformer){const o=this.stringCaseValue(s(t.consumer),t.result);return this.emitConsume(o,t.consumer,i,r)}else if(t instanceof Jt.MinMaxLengthCheckTransformer){const o=t.minLength,a=t.maxLength,c=[];return o!==void 0&&c.push([e,".Length >= ",o.toString()]),a!==void 0&&c.push([e,".Length <= ",a.toString()]),this.emitLine("if (",(0,M_.arrayIntercalate)([" && "],c),")"),this.emitBlock(()=>this.emitConsume(e,t.consumer,i,r)),!1}else if(t instanceof Jt.MinMaxValueTransformer){const o=t.minimum,a=t.maximum,c=[];return o!==void 0&&c.push([e," >= ",o.toString()]),a!==void 0&&c.push([e," <= ",a.toString()]),this.emitLine("if (",(0,M_.arrayIntercalate)([" && "],c),")"),this.emitBlock(()=>this.emitConsume(e,t.consumer,i,r)),!1}else if(t instanceof Jt.UnionInstantiationTransformer){if(!(i instanceof xs.UnionType))return(0,br.panic)("Union instantiation transformer must produce a union type");if((0,yy.nullableFromUnion)(i)!==null)r(e);else{const a=this.nameForNamedType(i);let c;t.sourceType.kind==="null"?c=" ":c=[" ",this.nameForUnionMember(i,t.sourceType)," = ",e," "],r(["new ",a," {",c,"}"])}return!0}else return(0,br.panic)("Unknown transformer");return!1}emitTransformation(e,t){const i=(0,br.defined)((0,Jt.transformationForType)(t)),r=i.reverse,s=i.targetType,o=i.transformer,a=this.csType(s);this.emitType(void 0,di.AccessModifier.Internal,"class",e,["JsonConverter<",a,">"],()=>{let c=["t == typeof(",a,")"];this.emitCanConvert(c),this.ensureBlankLine(),this.emitReadJson(()=>{this.emitDecodeTransformer(o,s,d=>this.emitLine("return ",d,";"))||this.emitThrow(['"Cannot unmarshal type ',a,'"'])},a),this.ensureBlankLine(),this.emitWriteJson("value",()=>{this.emitTransformer("value",r.transformer,r.targetType,()=>this.emitLine("return;"))||this.emitThrow(['"Cannot marshal type ',a,'"'])},a),this.ensureBlankLine(),this.emitLine("public static readonly ",e," Singleton = new ",e,"();")})}emitRequiredHelpers(){this._needHelpers&&(this.forEachTopLevel("leading-and-interposing",(e,t)=>this.emitFromJsonForTopLevel(e,t)),this.ensureBlankLine(),this.emitSerializeClass()),(this._needHelpers||this._needAttributes&&(this.haveNamedUnions||this.haveEnums))&&(this.ensureBlankLine(),this.emitConverterClass(),this.forEachTransformation("leading-and-interposing",(e,t)=>this.emitTransformation(e,t)),this.emitMultiline(`
|
|
186
|
+
public class DateOnlyConverter : JsonConverter<DateOnly>
|
|
187
|
+
{
|
|
188
|
+
private readonly string serializationFormat;
|
|
189
|
+
public DateOnlyConverter() : this(null) { }
|
|
190
|
+
|
|
191
|
+
public DateOnlyConverter(string? serializationFormat)
|
|
192
|
+
{
|
|
193
|
+
this.serializationFormat = serializationFormat ?? "yyyy-MM-dd";
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
public override DateOnly Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
|
|
197
|
+
{
|
|
198
|
+
var value = reader.GetString();
|
|
199
|
+
return DateOnly.Parse(value!);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
public override void Write(Utf8JsonWriter writer, DateOnly value, JsonSerializerOptions options)
|
|
203
|
+
=> writer.WriteStringValue(value.ToString(serializationFormat));
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
public class TimeOnlyConverter : JsonConverter<TimeOnly>
|
|
207
|
+
{
|
|
208
|
+
private readonly string serializationFormat;
|
|
209
|
+
|
|
210
|
+
public TimeOnlyConverter() : this(null) { }
|
|
211
|
+
|
|
212
|
+
public TimeOnlyConverter(string? serializationFormat)
|
|
213
|
+
{
|
|
214
|
+
this.serializationFormat = serializationFormat ?? "HH:mm:ss.fff";
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
public override TimeOnly Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
|
|
218
|
+
{
|
|
219
|
+
var value = reader.GetString();
|
|
220
|
+
return TimeOnly.Parse(value!);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
public override void Write(Utf8JsonWriter writer, TimeOnly value, JsonSerializerOptions options)
|
|
224
|
+
=> writer.WriteStringValue(value.ToString(serializationFormat));
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
internal class IsoDateTimeOffsetConverter : JsonConverter<DateTimeOffset>
|
|
228
|
+
{
|
|
229
|
+
public override bool CanConvert(Type t) => t == typeof(DateTimeOffset);
|
|
230
|
+
|
|
231
|
+
private const string DefaultDateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK";
|
|
232
|
+
|
|
233
|
+
private DateTimeStyles _dateTimeStyles = DateTimeStyles.RoundtripKind;
|
|
234
|
+
private string? _dateTimeFormat;
|
|
235
|
+
private CultureInfo? _culture;
|
|
236
|
+
|
|
237
|
+
public DateTimeStyles DateTimeStyles
|
|
238
|
+
{
|
|
239
|
+
get => _dateTimeStyles;
|
|
240
|
+
set => _dateTimeStyles = value;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
public string? DateTimeFormat
|
|
244
|
+
{
|
|
245
|
+
get => _dateTimeFormat ?? string.Empty;
|
|
246
|
+
set => _dateTimeFormat = (string.IsNullOrEmpty(value)) ? null : value;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
public CultureInfo Culture
|
|
250
|
+
{
|
|
251
|
+
get => _culture ?? CultureInfo.CurrentCulture;
|
|
252
|
+
set => _culture = value;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
public override void Write(Utf8JsonWriter writer, DateTimeOffset value, JsonSerializerOptions options)
|
|
256
|
+
{
|
|
257
|
+
string text;
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
if ((_dateTimeStyles & DateTimeStyles.AdjustToUniversal) == DateTimeStyles.AdjustToUniversal
|
|
261
|
+
|| (_dateTimeStyles & DateTimeStyles.AssumeUniversal) == DateTimeStyles.AssumeUniversal)
|
|
262
|
+
{
|
|
263
|
+
value = value.ToUniversalTime();
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
text = value.ToString(_dateTimeFormat ?? DefaultDateTimeFormat, Culture);
|
|
267
|
+
|
|
268
|
+
writer.WriteStringValue(text);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
public override DateTimeOffset Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
|
|
272
|
+
{
|
|
273
|
+
string? dateText = reader.GetString();
|
|
274
|
+
|
|
275
|
+
if (string.IsNullOrEmpty(dateText) == false)
|
|
276
|
+
{
|
|
277
|
+
if (!string.IsNullOrEmpty(_dateTimeFormat))
|
|
278
|
+
{
|
|
279
|
+
return DateTimeOffset.ParseExact(dateText, _dateTimeFormat, Culture, _dateTimeStyles);
|
|
280
|
+
}
|
|
281
|
+
else
|
|
282
|
+
{
|
|
283
|
+
return DateTimeOffset.Parse(dateText, Culture, _dateTimeStyles);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
else
|
|
287
|
+
{
|
|
288
|
+
return default(DateTimeOffset);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
public static readonly IsoDateTimeOffsetConverter Singleton = new IsoDateTimeOffsetConverter();
|
|
294
|
+
}`))}needNamespace(){return this._needNamespaces}}dc.SystemTextJsonCSharpRenderer=Ax;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.CSharpTargetLanguage=n.systemTextJsonCSharpOptions=n.newtonsoftCSharpOptions=n.cSharpOptions=n.Framework=void 0;const e=pt,t=Ce,i=Ot,r=cc,s=dc,o=fc;var a;(function(f){f.Newtonsoft="Newtonsoft",f.SystemTextJson="SystemTextJson"})(a=n.Framework||(n.Framework={})),n.cSharpOptions={framework:new e.EnumOption("framework","Serialization framework",[["NewtonSoft",a.Newtonsoft],["SystemTextJson",a.SystemTextJson]],"NewtonSoft"),useList:new e.EnumOption("array-type","Use T[] or List<T>",[["array",!1],["list",!0]]),dense:new e.EnumOption("density","Property density",[["normal",!1],["dense",!0]],"normal","secondary"),namespace:new e.StringOption("namespace","Generated namespace","NAME","QuickType"),version:new e.EnumOption("csharp-version","C# version",[["5",5],["6",6]],"6","secondary"),virtual:new e.BooleanOption("virtual","Generate virtual properties",!1),typeForAny:new e.EnumOption("any-type",'Type to use for "any"',[["object","object"],["dynamic","dynamic"]],"object","secondary"),useDecimal:new e.EnumOption("number-type","Type to use for numbers",[["double",!1],["decimal",!0]],"double","secondary"),features:new e.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 e.EnumOption("base-class","Base class",[["EntityData","EntityData"],["Object",void 0]],"Object","secondary"),checkRequired:new e.BooleanOption("check-required","Fail if required properties are missing",!1),keepPropertyName:new e.BooleanOption("keep-property-name","Keep original field name generate",!1)},n.newtonsoftCSharpOptions=Object.assign({},n.cSharpOptions,{}),n.systemTextJsonCSharpOptions=Object.assign({},n.cSharpOptions,{});class c extends i.TargetLanguage{constructor(){super("C#",["cs","csharp"],"cs")}getOptions(){return[n.cSharpOptions.framework,n.cSharpOptions.namespace,n.cSharpOptions.version,n.cSharpOptions.dense,n.cSharpOptions.useList,n.cSharpOptions.useDecimal,n.cSharpOptions.typeForAny,n.cSharpOptions.virtual,n.cSharpOptions.features,n.cSharpOptions.baseclass,n.cSharpOptions.checkRequired,n.cSharpOptions.keepPropertyName]}get stringTypeMapping(){const d=new Map;return d.set("date","date-time"),d.set("time","date-time"),d.set("date-time","date-time"),d.set("uuid","uuid"),d.set("uri","uri"),d.set("integer-string","integer-string"),d.set("bool-string","bool-string"),d}get supportsUnionsWithBothNumberTypes(){return!0}get supportsOptionalClassProperties(){return!0}needsTransformerForType(d){const p=(0,o.needTransformerForType)(d);return p!=="none"&&p!=="nullable"}makeRenderer(d,p){const y=(0,e.getOptionValues)(n.cSharpOptions,p);switch(y.framework){case a.Newtonsoft:return new r.NewtonsoftCSharpRenderer(this,d,(0,e.getOptionValues)(n.newtonsoftCSharpOptions,p));case a.SystemTextJson:return new s.SystemTextJsonCSharpRenderer(this,d,(0,e.getOptionValues)(n.systemTextJsonCSharpOptions,p));default:return(0,t.assertNever)(y.framework)}}}n.CSharpTargetLanguage=c})(KN);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.SystemTextJsonCSharpRenderer=n.NewtonsoftCSharpRenderer=n.CSharpRenderer=n.systemTextJsonCSharpOptions=n.newtonsoftCSharpOptions=n.cSharpOptions=n.CSharpTargetLanguage=void 0;var e=KN;Object.defineProperty(n,"CSharpTargetLanguage",{enumerable:!0,get:function(){return e.CSharpTargetLanguage}}),Object.defineProperty(n,"cSharpOptions",{enumerable:!0,get:function(){return e.cSharpOptions}}),Object.defineProperty(n,"newtonsoftCSharpOptions",{enumerable:!0,get:function(){return e.newtonsoftCSharpOptions}}),Object.defineProperty(n,"systemTextJsonCSharpOptions",{enumerable:!0,get:function(){return e.systemTextJsonCSharpOptions}});var t=Ml;Object.defineProperty(n,"CSharpRenderer",{enumerable:!0,get:function(){return t.CSharpRenderer}});var i=cc;Object.defineProperty(n,"NewtonsoftCSharpRenderer",{enumerable:!0,get:function(){return i.NewtonsoftCSharpRenderer}});var r=dc;Object.defineProperty(n,"SystemTextJsonCSharpRenderer",{enumerable:!0,get:function(){return r.SystemTextJsonCSharpRenderer}})})(Rb);var jb={},ZN={},hc={},Rh={};Object.defineProperty(Rh,"__esModule",{value:!0});Rh.keywords=void 0;Rh.keywords=["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"];var Ui={};Object.defineProperty(Ui,"__esModule",{value:!0});Ui.dartNameStyle=Ui.stringEscape=Ui.enumCaseNamingFunction=Ui.propertyNamingFunction=Ui.typeNamingFunction=void 0;const Bb=qe,En=Ke;Ui.typeNamingFunction=(0,Bb.funPrefixNamer)("types",n=>jh(!0,!1,n));Ui.propertyNamingFunction=(0,Bb.funPrefixNamer)("properties",n=>jh(!1,!1,n));Ui.enumCaseNamingFunction=(0,Bb.funPrefixNamer)("enum-cases",n=>jh(!0,!0,n));Ui.stringEscape=(0,En.utf16ConcatMap)((0,En.escapeNonPrintableMapper)(n=>(0,En.isPrintable)(n)&&n!==36,En.standardUnicodeHexEscape));function QN(n){return n===95?!1:(0,En.isAscii)(n)&&(0,En.isLetter)(n)}function Fx(n){return QN(n)||(0,En.isAscii)(n)&&(0,En.isDigit)(n)}const Px=(0,En.utf16LegalizeCharacters)(Fx);function jh(n,e,t){const i=(0,En.splitIntoWords)(t),r=e?En.allUpperWordStyle:n?En.firstUpperWordStyle:En.allLowerWordStyle,s=e?En.allUpperWordStyle:En.firstUpperWordStyle;return(0,En.combineWords)(i,Px,r,s,r,s,e?"_":"",QN)}Ui.dartNameStyle=jh;Object.defineProperty(hc,"__esModule",{value:!0});hc.DartRenderer=void 0;const I_=Wt,Mx=wt,uu=qe,Qf=$e,R_=Ke,cu=Ce,Ix=rt(),Js=et(),Rx=Rh,hi=Ui;class jx extends Mx.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._options=i,this._gettersAndSettersForPropertyName=new Map,this._needEnumValues=!1,this.classCounter=0,this.classPropertyCounter=0,this._topLevelDependents=new Map,this._enumValues=new Map}forbiddenNamesForGlobalNamespace(){return Rx.keywords}forbiddenForObjectProperties(e,t){return{names:[],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return hi.typeNamingFunction}namerForObjectProperty(){return hi.propertyNamingFunction}makeUnionMemberNamer(){return hi.propertyNamingFunction}makeEnumCaseNamer(){return hi.enumCaseNamingFunction}unionNeedsName(e){return(0,Js.nullableFromUnion)(e)===null}namedTypeToNameForTopLevel(e){return(0,Js.directlyReachableSingleNamedType)(e)}get toJson(){return`to${this._options.methodNamesWithMap?"Map":"Json"}`}get fromJson(){return`from${this._options.methodNamesWithMap?"Map":"Json"}`}makeTopLevelDependencyNames(e,t){const i=new uu.DependencyName(hi.propertyNamingFunction,t.order,s=>`${s(t)}_${this.toJson}`),r=new uu.DependencyName(hi.propertyNamingFunction,t.order,s=>`${s(t)}_${this.fromJson}`);return this._topLevelDependents.set(t,{encoder:i,decoder:r}),[i,r]}makeNamesForPropertyGetterAndSetter(e,t,i,r,s){const o=new uu.DependencyName(hi.propertyNamingFunction,s.order,c=>`get_${c(s)}`),a=new uu.DependencyName(hi.propertyNamingFunction,s.order,c=>`set_${c(s)}`);return[o,a]}makePropertyDependencyNames(e,t,i,r,s){const o=this.makeNamesForPropertyGetterAndSetter(e,t,i,r,s);return this._gettersAndSettersForPropertyName.set(s,o),o}makeNamedTypeDependencyNames(e,t){if(!(e instanceof Ix.EnumType))return[];const i=new uu.DependencyName(hi.propertyNamingFunction,t.order,r=>`${r(t)}_values`);return this._enumValues.set(e,i),[i]}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",(e,t)=>{const{decoder:i}=(0,cu.defined)(this._topLevelDependents.get(t));this.emitLine("// final ",(0,Qf.modifySource)(R_.decapitalize,t)," = ",i,"(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 e=this._options.partName.length===0,t=(0,Qf.modifySource)(R_.snakeCase,e?[...this.topLevels.keys()][0]:this._options.partName);this._options.useFreezed&&this.emitLine("part '",t,".freezed.dart';"),this._options.justTypes||this.emitLine("part '",t,".g.dart';")}}emitDescriptionBlock(e){this.emitCommentLines(e,{lineStart:"///",beforeComment:""})}emitBlock(e,t){this.emitLine(e," {"),this.indent(t),this.emitLine("}")}dartType(e,t=!1,i=!1){const r=i||this._options.nullSafety&&e.isNullable&&!this._options.requiredProperties,s=o=>r?[o,"?"]:o;return(0,Js.matchType)(e,o=>(0,Qf.maybeAnnotated)(t,I_.anyTypeIssueAnnotation,"dynamic"),o=>(0,Qf.maybeAnnotated)(t,I_.nullTypeIssueAnnotation,"dynamic"),o=>s("bool"),o=>s("int"),o=>s("double"),o=>s("String"),o=>s(["List<",this.dartType(o.items,t),">"]),o=>s(this.nameForNamedType(o)),o=>s(["Map<String, ",this.dartType(o.values,t),">"]),o=>s(this.nameForNamedType(o)),o=>{const a=(0,Js.nullableFromUnion)(o);return a===null?"dynamic":s(this.dartType(a,t))},o=>{switch(o.kind){case"date-time":case"date":return s("DateTime");default:return s("String")}})}mapList(e,t,i,r){return this._options.nullSafety&&e&&!this._options.requiredProperties?[i," == null ? [] : ","List<",t,">.from(",i,"!.map((x) => ",r,"))"]:["List<",t,">.from(",i,".map((x) => ",r,"))"]}mapMap(e,t,i,r){return this._options.nullSafety&&e&&!this._options.requiredProperties?["Map.from(",i,"!).map((k, v) => MapEntry<String, ",t,">(k, ",r,"))"]:["Map.from(",i,").map((k, v) => MapEntry<String, ",t,">(k, ",r,"))"]}mapClass(e,t,i){return this._options.nullSafety&&e&&!this._options.requiredProperties?[i," == null ? null : ",this.nameForNamedType(t),".",this.fromJson,"(",i,")"]:[this.nameForNamedType(t),".",this.fromJson,"(",i,")"]}fromDynamicExpression(e=!1,t,...i){return(0,Js.matchType)(t,r=>i,r=>i,r=>i,r=>i,r=>[i,this._options.nullSafety?"?.toDouble()":".toDouble()"],r=>i,r=>this.mapList(e||r.isNullable,this.dartType(r.items),i,this.fromDynamicExpression(r.items.isNullable,r.items,"x")),r=>this.mapClass(e||r.isNullable,r,i),r=>this.mapMap(r.isNullable||e,this.dartType(r.values),i,this.fromDynamicExpression(r.values.isNullable,r.values,"v")),r=>[(0,cu.defined)(this._enumValues.get(r)),".map[",i,this._options.nullSafety?"]!":"]"],r=>{const s=(0,Js.nullableFromUnion)(r);return s===null?i:this.fromDynamicExpression(r.isNullable,s,i)},r=>{switch(r.kind){case"date-time":case"date":return(r.isNullable||e)&&!this._options.requiredProperties&&this._options.nullSafety?[i," == null ? null : ","DateTime.parse(",i,")"]:["DateTime.parse(",i,")"];default:return i}})}toDynamicExpression(e=!1,t,...i){return(0,Js.matchType)(t,r=>i,r=>i,r=>i,r=>i,r=>i,r=>i,r=>this.mapList(r.isNullable||e,"dynamic",i,this.toDynamicExpression(r.items.isNullable,r.items,"x")),r=>this._options.nullSafety&&(r.isNullable||e)&&!this._options.requiredProperties?[i,"?.",this.toJson,"()"]:[i,".",this.toJson,"()"],r=>this.mapMap(r.isNullable||e,"dynamic",i,this.toDynamicExpression(r.values.isNullable,r.values,"v")),r=>[(0,cu.defined)(this._enumValues.get(r)),".reverse[",i,"]"],r=>{const s=(0,Js.nullableFromUnion)(r);return s===null?i:this.toDynamicExpression(r.isNullable,s,i)},r=>{switch(r.kind){case"date-time":return this._options.nullSafety&&!this._options.requiredProperties&&(r.isNullable||e)?[i,"?.toIso8601String()"]:[i,".toIso8601String()"];case"date":return this._options.nullSafety&&!this._options.requiredProperties&&(r.isNullable||e)?['"${',i,"!.year.toString().padLeft(4, '0')","}-${",i,"!.month.toString().padLeft(2, '0')}-${",i,`!.day.toString().padLeft(2, '0')}"`]:['"${',i,".year.toString().padLeft(4, '0')","}-${",i,".month.toString().padLeft(2, '0')}-${",i,`.day.toString().padLeft(2, '0')}"`];default:return i}})}_emitEmptyConstructor(e){this.emitLine(e,"();")}_emitConstructor(e,t){this.emitLine(t,"({"),this.indent(()=>{this.forEachClassProperty(e,"none",(i,r,s)=>{const o=this._options.requiredProperties||this._options.nullSafety&&(!s.type.isNullable||!s.isOptional);this.emitLine(o?"required ":"","this.",i,",")})}),this.emitLine("});"),this.ensureBlankLine()}_emitVariables(e){this.forEachClassProperty(e,"none",(t,i,r)=>{const s=this.descriptionForClassProperty(e,i);s!==void 0&&this.emitDescription(s),this._options.useHive&&(this.classPropertyCounter++,this.emitLine(`@HiveField(${this.classPropertyCounter})`)),this._options.useJsonAnnotation&&(this.classPropertyCounter++,this.emitLine(`@JsonKey(name: "${i}")`)),this.emitLine(this._options.finalProperties?"final ":"",this.dartType(r.type,!0)," ",t,";")})}_emitCopyConstructor(e,t){this.ensureBlankLine(),this.emitLine(t," copyWith({"),this.indent(()=>{this.forEachClassProperty(e,"none",(i,r,s)=>{this.emitLine(this.dartType(s.type,!0,!0)," ",i,",")})}),this.emitLine("}) => "),this.indent(()=>{this.emitLine(t,"("),this.indent(()=>{this.forEachClassProperty(e,"none",(i,r,s)=>{this.emitLine(i,": ",i," ?? ","this.",i,",")})}),this.emitLine(");")})}_emitStringJsonEncoderDecoder(e){this.ensureBlankLine(),this.emitLine("factory ",e,".from",this._options.methodNamesWithMap?"Json":"RawJson","(String str) => ",e,".",this.fromJson,"(json.decode(str));"),this.ensureBlankLine(),this.emitLine("String ",this._options.methodNamesWithMap?"toJson() => ":"toRawJson() => ","json.encode(",this.toJson,"());")}_emitMapEncoderDecoder(e,t){this.ensureBlankLine(),this.emitLine("factory ",t,".",this.fromJson,"(Map<String, dynamic> json) => ",t,"("),this.indent(()=>{this.forEachClassProperty(e,"none",(i,r,s)=>{this.emitLine(i,": ",this.fromDynamicExpression(s.type.isNullable,s.type,'json["',(0,hi.stringEscape)(r),'"]'),",")})}),this.emitLine(");"),this.ensureBlankLine(),this.emitLine("Map<String, dynamic> ",this.toJson,"() => {"),this.indent(()=>{this.forEachClassProperty(e,"none",(i,r,s)=>{this.emitLine('"',(0,hi.stringEscape)(r),'": ',this.toDynamicExpression(s.type.isNullable,s.type,i),",")})}),this.emitLine("};")}emitClassDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this._options.useHive&&(this.classCounter++,this.emitLine(`@HiveType(typeId: ${this.classCounter})`),this.classPropertyCounter=0),this._options.useJsonAnnotation&&this.emitLine("@JsonSerializable()"),this.emitBlock(["class ",t],()=>{if(e.getProperties().size===0?this._emitEmptyConstructor(t):(this._emitVariables(e),this.ensureBlankLine(),this._emitConstructor(e,t)),this._options.generateCopyWith&&this._emitCopyConstructor(e,t),this._options.useJsonAnnotation)this.ensureBlankLine(),this.emitLine("factory ",t,".fromJson(Map<String, dynamic> json) => ","_$",t,"FromJson(json);"),this.ensureBlankLine(),this.emitLine("Map<String, dynamic> toJson() => ","_$",t,"ToJson(this);");else{if(this._options.justTypes)return;this._options.codersInClass&&this._emitStringJsonEncoderDecoder(t),this._emitMapEncoderDecoder(e,t)}})}emitFreezedClassDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitLine("@freezed"),this.emitBlock(["class ",t," with _$",t],()=>{e.getProperties().size===0?this.emitLine("const factory ",t,"() = _",t,";"):(this.emitLine("const factory ",t,"({"),this.indent(()=>{this.forEachClassProperty(e,"none",(i,r,s)=>{const o=this.descriptionForClassProperty(e,r);o!==void 0&&this.emitDescription(o);const a=this._options.requiredProperties||this._options.nullSafety&&(!s.type.isNullable||!s.isOptional);this._options.useJsonAnnotation&&(this.classPropertyCounter++,this.emitLine(`@JsonKey(name: "${r}")`)),this.emitLine(a?"required ":"",this.dartType(s.type,!0)," ",i,",")})}),this.emitLine("}) = _",t,";")),!this._options.justTypes&&(this.ensureBlankLine(),this.emitLine("factory ",t,".fromJson(Map<String, dynamic> json) => ","_$",t,"FromJson(json);"))})}emitEnumDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitLine("enum ",t," {"),this.indent(()=>{this.forEachEnumCase(e,"none",(i,r,s)=>{const o=s==="first"||s==="middle"?",":[];this._options.useJsonAnnotation&&this.emitLine('@JsonValue("',(0,hi.stringEscape)(r),'")'),this.emitLine(i,o)})}),this.emitLine("}"),!this._options.justTypes&&(this.ensureBlankLine(),this.emitLine("final ",(0,cu.defined)(this._enumValues.get(e))," = EnumValues({"),this.indent(()=>{this.forEachEnumCase(e,"none",(i,r,s)=>{const o=s==="first"||s==="middle"?",":[];this.emitLine('"',(0,hi.stringEscape)(r),'": ',t,".",i,o)})}),this.emitLine("});"),this._needEnumValues=!0)}emitEnumValues(){this.ensureBlankLine(),this.emitMultiline(`class EnumValues<T> {
|
|
295
|
+
Map<String, T> map;
|
|
296
|
+
late Map<T, String> reverseMap;
|
|
297
|
+
|
|
298
|
+
EnumValues(this.map);
|
|
299
|
+
|
|
300
|
+
Map<T, String> get reverse {
|
|
301
|
+
reverseMap = map.map((k, v) => MapEntry(v, k));
|
|
302
|
+
return reverseMap;
|
|
303
|
+
}
|
|
304
|
+
}`)}_emitTopLvlEncoderDecoder(){this.forEachTopLevel("leading-and-interposing",(e,t)=>{const{encoder:i,decoder:r}=(0,cu.defined)(this._topLevelDependents.get(t));this.emitLine(this.dartType(e)," ",r,"(String str) => ",this.fromDynamicExpression(e.isNullable,e,"json.decode(str)"),";"),this.ensureBlankLine(),this.emitLine("String ",i,"(",this.dartType(e)," data) => json.encode(",this.toDynamicExpression(e.isNullable,e,"data"),");")})}emitSourceStructure(){this.emitFileHeader(),!this._options.justTypes&&!this._options.codersInClass&&this._emitTopLvlEncoderDecoder(),this.forEachNamedType("leading-and-interposing",(e,t)=>this._options.useFreezed?this.emitFreezedClassDefinition(e,t):this.emitClassDefinition(e,t),(e,t)=>this.emitEnumDefinition(e,t),(e,t)=>{}),this._needEnumValues&&this.emitEnumValues()}}hc.DartRenderer=jx;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.DartTargetLanguage=n.dartOptions=void 0;const e=pt,t=Ot,i=hc;n.dartOptions={nullSafety:new e.BooleanOption("null-safety","Null Safety",!0),justTypes:new e.BooleanOption("just-types","Types only",!1),codersInClass:new e.BooleanOption("coders-in-class","Put encoder & decoder in Class",!1),methodNamesWithMap:new e.BooleanOption("from-map","Use method names fromMap() & toMap()",!1,"secondary"),requiredProperties:new e.BooleanOption("required-props","Make all properties required",!1),finalProperties:new e.BooleanOption("final-props","Make all properties final",!1),generateCopyWith:new e.BooleanOption("copy-with","Generate CopyWith method",!1),useFreezed:new e.BooleanOption("use-freezed","Generate class definitions with @freezed compatibility",!1,"secondary"),useHive:new e.BooleanOption("use-hive","Generate annotations for Hive type adapters",!1,"secondary"),useJsonAnnotation:new e.BooleanOption("use-json-annotation","Generate annotations for json_serializable",!1,"secondary"),partName:new e.StringOption("part-name","Use this name in `part` directive","NAME","","secondary")};class r extends t.TargetLanguage{constructor(){super("Dart",["dart"],"dart")}getOptions(){return[n.dartOptions.nullSafety,n.dartOptions.justTypes,n.dartOptions.codersInClass,n.dartOptions.methodNamesWithMap,n.dartOptions.requiredProperties,n.dartOptions.finalProperties,n.dartOptions.generateCopyWith,n.dartOptions.useFreezed,n.dartOptions.useHive,n.dartOptions.useJsonAnnotation,n.dartOptions.partName]}get supportsUnionsWithBothNumberTypes(){return!0}get stringTypeMapping(){const o=new Map;return o.set("date","date"),o.set("date-time","date-time"),o}makeRenderer(o,a){const c=(0,e.getOptionValues)(n.dartOptions,a);return new i.DartRenderer(this,o,c)}}n.DartTargetLanguage=r})(ZN);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.DartRenderer=n.dartOptions=n.DartTargetLanguage=void 0;var e=ZN;Object.defineProperty(n,"DartTargetLanguage",{enumerable:!0,get:function(){return e.DartTargetLanguage}}),Object.defineProperty(n,"dartOptions",{enumerable:!0,get:function(){return e.dartOptions}});var t=hc;Object.defineProperty(n,"DartRenderer",{enumerable:!0,get:function(){return t.DartRenderer}})})(jb);var Db={},XN={},pc={},yl={};Object.defineProperty(yl,"__esModule",{value:!0});yl.reservedWords=yl.forbiddenModuleNames=void 0;yl.forbiddenModuleNames=["Access","Agent","Any","Application","ArgumentError","ArithmeticError","Atom","BadArityError","BadBooleanError","BadFunctionError","BadMapError","BadStructError","Base","Behaviour","Bitwise","Calendar","CaseClauseError","Code","Collectable","CondClauseError","Config","Date","DateTime","Dict","DynamicSupervisor","Enum","ErlangError","Exception","File","Float","Function","FunctionClauseError","GenEvent","GenServer","HashDict","HashSet","IO","Inspect","Integer","Kernel","KeyError","Keyword","List","Macro","Map","MapSet","MatchError","Module","Node","OptionParser","Path","Port","Process","Protocol","Range","Record","Regex","Registry","RuntimeError","Set","Stream","String","StringIO","Supervisor","SyntaxError","System","SystemLimitError","Task","Time","TokenMissingError","Tuple","URI","UndefinedFunctionError","UnicodeConversionError","Version","WithClauseError"];yl.reservedWords=["def","defmodule","use","import","alias","true","false","nil","when","and","or","not","in","fn","do","end","catch","rescue","after","else"];var Qn={},Bx=Ee&&Ee.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Qn,"__esModule",{value:!0});Qn.memberNameStyle=Qn.simpleNameStyle=Qn.escapeNewLines=Qn.escapeDoubleQuotes=Qn.stringEscape=Qn.capitalizeFirstLetter=void 0;const Dx=Bx(ca),on=Ke;function Ux(n){return`\\u{${(0,on.intToHex)(n,0)}}`}function xx(n){return n.charAt(0).toUpperCase()+n.slice(1)}Qn.capitalizeFirstLetter=xx;Qn.stringEscape=(0,on.utf32ConcatMap)((0,on.escapeNonPrintableMapper)(on.isPrintable,Ux));function Jx(n){return n.replace(/"/g,'\\"')}Qn.escapeDoubleQuotes=Jx;function zx(n){return n.replace(/\n/g,"\\n")}Qn.escapeNewLines=zx;const Ub=on.isLetterOrUnderscore;function Wx(n){const e=Dx.default.getCategory(n);return["Nd","Pc","Mn","Mc"].includes(e)||Ub(n)}const YN=(0,on.legalizeCharacters)(Wx);function Gx(n,e){/^[0-9]+$/.test(n)&&(n=`${n}N`);const t=(0,on.splitIntoWords)(n);return(0,on.combineWords)(t,YN,e?on.firstUpperWordStyle:on.allLowerWordStyle,e?on.firstUpperWordStyle:on.allLowerWordStyle,on.allUpperWordStyle,on.allUpperWordStyle,"",Ub)}Qn.simpleNameStyle=Gx;function qx(n){const e=(0,on.splitIntoWords)(n);return(0,on.combineWords)(e,YN,on.allLowerWordStyle,on.allLowerWordStyle,on.allLowerWordStyle,on.allLowerWordStyle,"_",Ub)}Qn.memberNameStyle=qx;Object.defineProperty(pc,"__esModule",{value:!0});pc.ElixirRenderer=void 0;const Hx=wt,Xf=qe,At=rt(),zs=et(),gy=yl,Ws=Qn;class Vx extends Hx.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._options=i}get commentLineStart(){return"# "}get needsTypeDeclarationBeforeUse(){return!0}canBeForwardDeclared(e){return e.kind==="class"}forbiddenNamesForGlobalNamespace(){return[...gy.forbiddenModuleNames,...gy.reservedWords.map(e=>(0,Ws.capitalizeFirstLetter)(e))]}forbiddenForObjectProperties(e,t){return{names:gy.reservedWords,includeGlobalForbidden:!0}}makeNamedTypeNamer(){return new Xf.Namer("types",e=>(0,Ws.simpleNameStyle)(e,!0),[])}namerForObjectProperty(){return new Xf.Namer("properties",Ws.memberNameStyle,[])}makeUnionMemberNamer(){return new Xf.Namer("properties",Ws.memberNameStyle,[])}makeEnumCaseNamer(){return new Xf.Namer("enum-cases",e=>(0,Ws.simpleNameStyle)(e,!0),[])}nameForNamedTypeWithNamespace(e){return this._options.namespace?[this._options.namespace,".",this.nameForNamedType(e)]:[this.nameForNamedType(e)]}nameWithNamespace(e){return this._options.namespace?[this._options.namespace,".",e]:[e]}elixirType(e,t=!1){const i=t?" | nil":"";return(0,zs.matchType)(e,r=>["any()",i],r=>["nil"],r=>["boolean()",i],r=>["integer()",i],r=>["float()",i],r=>["String.t()",i],r=>["[",this.elixirType(r.items),"]",i],r=>[this.nameForNamedTypeWithNamespace(r),".t()",i],r=>["%{String.t() => ",this.elixirType(r.values),"}",i],r=>[this.nameForNamedTypeWithNamespace(r),".t()",i],r=>{const s=[...r.getChildren()].map(o=>this.elixirType(o));return[s.flatMap((o,a)=>a===s.length-1?o:[o," | "]),i]})}patternMatchClauseDecode(e,t,i=""){return(0,zs.matchType)(e,r=>[],r=>["def decode_",t,i,"(value) when is_nil(value), do: value"],r=>["def decode_",t,i,"(value) when is_boolean(value), do: value"],r=>["def decode_",t,i,"(value) when is_integer(value), do: value"],r=>["def decode_",t,i,`(value) when is_float(value), do: value
|
|
305
|
+
`,"def decode_",t,i,"(value) when is_integer(value), do: value"],r=>["def decode_",t,i,"(value) when is_binary(value), do: value"],r=>["def decode_",t,i,"(value) when is_list(value), do: value"],r=>{const s=[];return this.forEachClassProperty(r,"none",(o,a,c)=>{c.isOptional||s.push(['"',a,'" => _,'])}),["def decode_",t,i,"(%{",s,"} = value), do: ",this.nameForNamedTypeWithNamespace(r),".from_map(value)"]},r=>["def decode_",t,i,"(value) when is_map(value), do: value"],r=>["def decode_",t,i,"(value) when is_binary(value)",", do: ",this.nameForNamedTypeWithNamespace(r),".decode(value)"],r=>[])}patternMatchClauseEncode(e,t,i=""){return(0,zs.matchType)(e,r=>[],r=>["def encode_",t,i,"(value) when is_nil(value), do: value"],r=>["def encode_",t,i,"(value) when is_boolean(value), do: value"],r=>["def encode_",t,i,"(value) when is_integer(value), do: value"],r=>["def encode_",t,i,`(value) when is_float(value), do: value
|
|
306
|
+
`,"def encode_",t,i,"(value) when is_integer(value), do: value"],r=>["def encode_",t,i,"(value) when is_binary(value), do: value"],r=>["def encode_",t,i,"(value) when is_list(value), do: value"],r=>(this.forEachClassProperty(r,"none",(s,o,a)=>{a.isOptional}),["def encode_",t,i,"(%",this.nameForNamedTypeWithNamespace(r),"{} = value), do: ",this.nameForNamedTypeWithNamespace(r),".to_map(value)"]),r=>["def encode_",t,i,"(value) when is_map(value), do: value"],r=>["def encode_",t,i,"(value) when is_atom(value)",", do: ",this.nameForNamedTypeWithNamespace(r),".encode(value)"],r=>[])}sortAndFilterPatternMatchTypes(e){return e.filter(t=>!(t instanceof At.UnionType)).sort((t,i)=>t instanceof At.ClassType&&!(i instanceof At.ClassType)?-1:i instanceof At.ClassType&&!(t instanceof At.ClassType)?1:t.kind==="bool"&&i.kind!=="bool"?-1:i.kind==="bool"&&t.kind!=="bool"?1:t instanceof At.EnumType&&!(i instanceof At.EnumType)?-1:i instanceof At.EnumType&&!(t instanceof At.EnumType)?1:t.isPrimitive()&&!i.isPrimitive()?-1:i.isPrimitive()&&!t.isPrimitive()?1:0)}emitPatternMatches(e,t,i,r="",s=!1){this.ensureBlankLine();let o=this.sortAndFilterPatternMatchTypes(e);o.length<2||(o.find(a=>a.kind==="double")&&(o=o.filter(a=>a.kind!=="integer")),o.forEach(a=>{this.emitLine(this.patternMatchClauseDecode(a,t,r))}),s&&!o.find(a=>a.kind==="null")&&this.emitLine("def decode_",t,r,"(value) when is_nil(value), do: value"),this.emitLine("def decode_",t,r,'(_), do: {:error, "Unexpected type when decoding ',i,".",t,'"}'),this.ensureBlankLine(),o.forEach(a=>{this.emitLine(this.patternMatchClauseEncode(a,t,r))}),s&&!o.find(a=>a.kind==="null")&&this.emitLine("def encode_",t,r,"(value) when is_nil(value), do: value"),this.emitLine("def encode_",t,r,'(_), do: {:error, "Unexpected type when encoding ',i,".",t,'"}'),this.ensureBlankLine())}nameOfTransformFunction(e,t,i=!1,r=""){let s="decode";return i&&(s="encode"),(0,zs.matchType)(e,o=>[],o=>[],o=>[],o=>[],o=>[],o=>[],o=>[],o=>[this.nameForNamedTypeWithNamespace(o),`.${i?"to":"from"}_map`],o=>[],o=>[this.nameForNamedTypeWithNamespace(o),`.${s}`],o=>[`${s}_`,t,r])}fromDynamic(e,t,i,r=!1){const s=['m["',t,'"]'];return(0,zs.matchType)(e,o=>s,o=>s,o=>s,o=>s,o=>s,o=>s,o=>{const a=o.items;return a instanceof At.ArrayType||a.isPrimitive()||a instanceof At.MapType?s:r?["m",'["',t,'"] && Enum.map(m["',t,'"], &',this.nameOfTransformFunction(a,i,!1,"_element"),"/1)"]:['Enum.map(m["',t,'"], &',this.nameOfTransformFunction(a,i,!1,"_element"),"/1)"]},o=>[r?[s," && "]:"",this.nameForNamedTypeWithNamespace(o),".from_map(",s,")"],o=>[...o.values.getChildren()].filter(f=>!(f instanceof At.PrimitiveType)).length===0?[s]:o.values.kind==="union"?['m["',t,`"]
|
|
307
|
+
|> Map.new(fn {key, value} -> {key, `,this.nameOfTransformFunction(o.values,t,!1),"_value(value)} end)"]:o.values instanceof At.EnumType||o.values instanceof At.ClassType?['m["',t,`"]
|
|
308
|
+
|> Map.new(fn {key, value} -> {key, `,this.nameOfTransformFunction(o.values,t,!1),"(value)} end)"]:[s],o=>[r?[s," && "]:"",this.nameOfTransformFunction(o,i),"(",s,")"],o=>{const a=[...o.getChildren()],c=a.filter(d=>d.isPrimitive());if(a.length===c.length)return['m["',t,'"]'];const f=(0,zs.nullableFromUnion)(o);return f!==null?f instanceof At.ClassType?this.fromDynamic(f,t,i,!0):[...f.getChildren()].length<2?this.fromDynamic(f,t,i,!0):['m["',t,'"] && decode_',i,'(m["',t,'"])']:["decode_",i,'(m["',t,'"])']})}toDynamic(e,t,i=!1){const r=["struct.",t];return(0,zs.matchType)(e,s=>r,s=>r,s=>r,s=>r,s=>r,s=>r,s=>{const o=s.items;return o instanceof At.ArrayType||o.isPrimitive()||o instanceof At.MapType||o.kind==="array"?r:i?["struct.",t," && Enum.map(struct.",t,", &",this.nameOfTransformFunction(o,t,!0,"_element"),"/1)"]:["struct.",t," && Enum.map(struct.",t,", &",this.nameOfTransformFunction(o,t,!0,"_element"),"/1)"]},s=>[i?["struct.",t," && "]:"",this.nameForNamedTypeWithNamespace(s),".to_map(","struct.",t,")"],s=>[...s.values.getChildren()].filter(c=>!(c instanceof At.PrimitiveType)).length===0?[r]:s.values.kind==="union"?["struct.",t,`
|
|
309
|
+
|> Map.new(fn {key, value} -> {key, `,this.nameOfTransformFunction(s.values,t,!0),"_value(value)} end)"]:s.values instanceof At.EnumType||s.values instanceof At.ClassType?["struct.",t,`
|
|
310
|
+
|> Map.new(fn {key, value} -> {key, `,this.nameOfTransformFunction(s.values,t,!0),"(value)} end)"]:[r],s=>[i?["struct.",t," && "]:"",this.nameForNamedTypeWithNamespace(s),".encode(struct.",t,")"],s=>{const o=[...s.getChildren()],a=o.filter(f=>f.isPrimitive());if(o.length===a.length)return["struct.",t];const c=(0,zs.nullableFromUnion)(s);return c!==null?c instanceof At.ClassType?this.toDynamic(c,t,!0):[...c.getChildren()].length<2?this.toDynamic(c,t,!0):["struct.",t," && encode_",t,"(struct.",t,")"]:["encode_",t,"(struct.",t,")"]})}emitBlock(e,t){this.emitLine(e),this.indent(t),this.emitLine("end")}emitDescriptionBlock(e){this.emitCommentLines(e,{firstLineStart:`@moduledoc """
|
|
311
|
+
`,lineStart:"",afterComment:'"""'})}emitModule(e,t){this.emitBlock(["defmodule ",this.nameWithNamespace(t)," do"],()=>{var i;const r=(i=this.descriptionForType(e))!==null&&i!==void 0?i:[],s=[];this.forEachClassProperty(e,"none",(y,h,S)=>{const m=this.descriptionForClassProperty(e,h);m&&s.push(["- `:",y,"` - ",m])}),(r.length||s.length)&&(this.emitDescription([...r,...s]),this.ensureBlankLine());const o=[];this.forEachClassProperty(e,"none",(y,h,S)=>{S.isOptional||(o.length===0?o.push([":",y]):o.push([", :",y]))}),o.length&&this.emitLine(["@enforce_keys [",o,"]"]);const a=[];this.forEachClassProperty(e,"none",(y,h,S)=>{a.length===0?a.push([":",y]):a.push([", :",y])}),this.emitLine(["defstruct [",a,"]"]),this.ensureBlankLine();const c=[[["@type "],["t :: %__MODULE__{"]]];let f=e.getProperties().size;if(this.forEachClassProperty(e,"none",(y,h,S)=>{const m=--f===0,v=[[],[" ",y,": ",this.elixirType(S.type),S.isOptional?" | nil":"",m?"":","]];c.push(v)}),c.push([[],["}"]]),this.emitTable(c),this._options.justTypes)return;this.forEachClassProperty(e,"none",(y,h,S)=>{if(S.type.kind==="union"){const m=[...S.type.getChildren()],v=m.filter(U=>U.isPrimitive());if(m.length===v.length)return;const C=m.filter(U=>U.kind!=="null");if(C.length===1){let U="",x=[];C[0]instanceof At.ArrayType?(U="_element",x=[...C[0].getChildren()]):C[0]instanceof At.MapType&&(U="_value",x=[...C[0].getChildren()]),x.length===1&&x[0]instanceof At.UnionType&&(x=[...x[0].getChildren()]),this.emitPatternMatches(x,y,this.nameForNamedTypeWithNamespace(e),U,S.isOptional)}else this.emitPatternMatches(m,y,this.nameForNamedTypeWithNamespace(e),"",S.isOptional)}else if(S.type.kind==="array"){const m=S.type;if(m.items instanceof At.UnionType){const C=[...m.items.getChildren()];this.emitPatternMatches(C,y,this.nameForNamedTypeWithNamespace(e),"_element")}}else if(S.type.kind==="map"){const m=S.type;if(m.values instanceof At.UnionType){const C=[...m.values.getChildren()];this.emitPatternMatches(C,y,this.nameForNamedTypeWithNamespace(e),"_value")}}});let d=0;this.forEachClassProperty(e,"none",(y,h,S)=>{d++});const p=!d;this.ensureBlankLine(),this.emitBlock([`def from_map(${p?"_":""}m) do`],()=>{this.emitLine("%",this.nameWithNamespace(t),"{"),this.indent(()=>{this.forEachClassProperty(e,"none",(y,h,S)=>{h=(0,Ws.escapeDoubleQuotes)(h),h=(0,Ws.escapeNewLines)(h);const m=this.fromDynamic(S.type,h,y,S.isOptional);this.emitLine(y,": ",m,",")})}),this.emitLine("}")}),this.ensureBlankLine(),this.emitBlock("def from_json(json) do",()=>{this.emitMultiline(`json
|
|
312
|
+
|> Jason.decode!()
|
|
313
|
+
|> from_map()`)}),this.ensureBlankLine(),this.emitBlock([`def to_map(${p?"_":""}struct) do`],()=>{this.emitLine("%{"),this.indent(()=>{this.forEachClassProperty(e,"none",(y,h,S)=>{const m=this.toDynamic(S.type,y,S.isOptional);this.emitLine([[`"${(0,Ws.stringEscape)(h)}"`],[" => ",m,","]])})}),this.emitLine("}")}),this.ensureBlankLine(),this.emitBlock("def to_json(struct) do",()=>{this.emitMultiline(`struct
|
|
314
|
+
|> to_map()
|
|
315
|
+
|> Jason.encode!()`)})})}isValidAtom(e){function t(s){return/^[A-Za-z_]$/.test(s)}function i(s){return/^[A-Za-z0-9_]$/.test(s)}if(e.length===0)return!1;const r=e[0];if(!t(r))return!1;for(let s=1;s<e.length;s++){const o=e[s];if(!i(o)&&o!=="@"&&!(s===e.length-1&&(o==="!"||o==="?")))return!1}return!0}emitEnum(e,t){this.emitBlock(["defmodule ",this.nameWithNamespace(t)," do"],()=>{this.emitDescription(this.descriptionForType(e)),this.emitLine("@valid_enum_members ["),this.indent(()=>{this.forEachEnumCase(e,"none",(i,r)=>{this.isValidAtom(r)?this.emitLine(":",r,","):this.emitLine(":",`"${r}"`,",")})}),this.emitLine("]"),this.ensureBlankLine(),this.emitMultiline(`def valid_atom?(value), do: value in @valid_enum_members
|
|
316
|
+
|
|
317
|
+
def valid_atom_string?(value) do
|
|
318
|
+
try do
|
|
319
|
+
atom = String.to_existing_atom(value)
|
|
320
|
+
atom in @valid_enum_members
|
|
321
|
+
rescue
|
|
322
|
+
ArgumentError -> false
|
|
323
|
+
end
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
def encode(value) do
|
|
327
|
+
if valid_atom?(value) do
|
|
328
|
+
Atom.to_string(value)
|
|
329
|
+
else
|
|
330
|
+
{:error, "Unexpected value when encoding atom: #{inspect(value)}"}
|
|
331
|
+
end
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
def decode(value) do
|
|
335
|
+
if valid_atom_string?(value) do
|
|
336
|
+
String.to_existing_atom(value)
|
|
337
|
+
else
|
|
338
|
+
{:error, "Unexpected value when decoding atom: #{inspect(value)}"}
|
|
339
|
+
end
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
def from_json(json) do
|
|
343
|
+
json
|
|
344
|
+
|> Jason.decode!()
|
|
345
|
+
|> decode()
|
|
346
|
+
end
|
|
347
|
+
|
|
348
|
+
def to_json(data) do
|
|
349
|
+
data
|
|
350
|
+
|> encode()
|
|
351
|
+
|> Jason.encode!()
|
|
352
|
+
end`)})}emitUnion(e,t){}emitSourceStructure(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this._options.justTypes||(this.emitMultiline(`# This file was autogenerated using quicktype https://github.com/quicktype/quicktype
|
|
353
|
+
#
|
|
354
|
+
# Add Jason to your mix.exs`),this.forEachTopLevel("none",(e,t)=>{this.emitLine("#"),this.emitLine("# Decode a JSON string: ",this.nameWithNamespace(t),".from_json(data)"),this.emitLine("# Encode into a JSON string: ",this.nameWithNamespace(t),".to_json(struct)")})),this.ensureBlankLine(),this.forEachNamedType("leading-and-interposing",(e,t)=>this.emitModule(e,t),(e,t)=>this.emitEnum(e,t),(e,t)=>this.emitUnion(e,t)),this._options.justTypes||this.forEachTopLevel("leading-and-interposing",(e,t)=>{const i=e.kind==="array";this.emitBlock(["defmodule ",this.nameWithNamespace(t)," do"],()=>{var r;const s=(r=this.descriptionForType(e))!==null&&r!==void 0?r:[];if(s.length&&(this.emitDescription([...s]),this.ensureBlankLine()),i){const o=e.items;let a=!1;o instanceof At.UnionType&&(this.emitPatternMatches([...o.getChildren()],"element",t),a=!0),this.emitBlock("def from_json(json) do",()=>{this.emitLine("json"),this.emitLine("|> Jason.decode!()"),this.emitLine("|> Enum.map(&",a?["decode_element/1)"]:[this.nameWithNamespace(t),"Element.from_map/1)"])}),this.ensureBlankLine(),this.emitBlock("def to_json(list) do",()=>{this.emitLine("Enum.map(list, &",a?["encode_element/1)"]:[this.nameWithNamespace(t),"Element.to_map/1)"]),this.emitLine("|> Jason.encode!()")})}else this.emitBlock("def from_json(json) do",()=>{this.emitLine("Jason.decode!(json)")}),this.ensureBlankLine(),this.emitBlock("def to_json(data) do",()=>{this.emitLine("Jason.encode!(data)")})})},e=>this.namedTypeToNameForTopLevel(e)===void 0)}}pc.ElixirRenderer=Vx;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.ElixirTargetLanguage=n.elixirOptions=void 0;const e=pt,t=Ot,i=pc;n.elixirOptions={justTypes:new e.BooleanOption("just-types","Plain types only",!1),namespace:new e.StringOption("namespace","Specify a module namespace","NAME","")};class r extends t.TargetLanguage{constructor(){super("Elixir",["elixir"],"ex")}getOptions(){return[n.elixirOptions.justTypes,n.elixirOptions.namespace]}get supportsOptionalClassProperties(){return!0}get defaultIndentation(){return" "}makeRenderer(o,a){return new i.ElixirRenderer(this,o,(0,e.getOptionValues)(n.elixirOptions,a))}}n.ElixirTargetLanguage=r})(XN);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.ElixirRenderer=n.elixirOptions=n.ElixirTargetLanguage=void 0;var e=XN;Object.defineProperty(n,"ElixirTargetLanguage",{enumerable:!0,get:function(){return e.ElixirTargetLanguage}}),Object.defineProperty(n,"elixirOptions",{enumerable:!0,get:function(){return e.elixirOptions}});var t=pc;Object.defineProperty(n,"ElixirRenderer",{enumerable:!0,get:function(){return t.ElixirRenderer}})})(Db);var xb={},$N={},mc={},Bh={};Object.defineProperty(Bh,"__esModule",{value:!0});Bh.forbiddenNames=void 0;Bh.forbiddenNames=["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"];var so={};Object.defineProperty(so,"__esModule",{value:!0});so.requiredOrOptional=so.lowerNamingFunction=so.upperNamingFunction=void 0;const ek=qe,Ii=Ke,Kx=rt(),Zx=et(),Qx=(0,Ii.legalizeCharacters)(n=>(0,Ii.isAscii)(n)&&(0,Ii.isLetterOrUnderscoreOrDigit)(n));function tk(n,e){const t=(0,Ii.splitIntoWords)(n);return(0,Ii.combineWords)(t,Qx,e?Ii.firstUpperWordStyle:Ii.allLowerWordStyle,Ii.firstUpperWordStyle,e?Ii.allUpperWordStyle:Ii.allLowerWordStyle,Ii.allUpperWordStyle,"",Ii.isLetterOrUnderscore)}so.upperNamingFunction=(0,ek.funPrefixNamer)("upper",n=>tk(n,!0));so.lowerNamingFunction=(0,ek.funPrefixNamer)("lower",n=>tk(n,!1));function Xx(n){function e(i){return{reqOrOpt:"Jpipe.optional",fallback:i}}const t=n.type;return n.isOptional||t instanceof Kx.UnionType&&(0,Zx.nullableFromUnion)(t)!==null?e(" Nothing"):t.kind==="null"?e(" ()"):{reqOrOpt:"Jpipe.required",fallback:""}}so.requiredOrOptional=Xx;Object.defineProperty(mc,"__esModule",{value:!0});mc.ElmRenderer=void 0;const Yf=Ve,j_=Wt,Yx=wt,$f=qe,He=$e,Ga=Ke,rs=Ce,qa=et(),$x=Bh,ss=so;class e3 extends Yx.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._options=i,this._topLevelDependents=new Map,this._namedTypeDependents=new Map}forbiddenNamesForGlobalNamespace(){return $x.forbiddenNames}makeTopLevelDependencyNames(e,t){const i=new $f.DependencyName(ss.lowerNamingFunction,t.order,s=>`${s(t)}_to_string`);let r;return this.namedTypeToNameForTopLevel(e)===void 0&&(r=new $f.DependencyName(ss.lowerNamingFunction,t.order,s=>s(t))),this._topLevelDependents.set(t,{encoder:i,decoder:r}),r!==void 0?[i,r]:[i]}makeNamedTypeNamer(){return ss.upperNamingFunction}makeNamedTypeDependencyNames(e,t){const i=new $f.DependencyName(ss.lowerNamingFunction,t.order,s=>`encode_${s(t)}`),r=new $f.DependencyName(ss.lowerNamingFunction,t.order,s=>s(t));return this._namedTypeDependents.set(t,{encoder:i,decoder:r}),[i,r]}namerForObjectProperty(){return ss.lowerNamingFunction}forbiddenForObjectProperties(e,t){return{names:[],includeGlobalForbidden:!0}}makeUnionMemberNamer(){return ss.upperNamingFunction}get unionMembersInGlobalNamespace(){return!0}makeEnumCaseNamer(){return ss.upperNamingFunction}get enumCasesInGlobalNamespace(){return!0}proposeUnionMemberName(e,t,i,r){return`${super.proposeUnionMemberName(e,t,i,r)}_in_${r(t)}`}get commentLineStart(){return"-- "}emitDescriptionBlock(e){e.length===1?this.emitComments([{customLines:e,lineStart:"{-| ",lineEnd:" -}"}]):this.emitCommentLines(e,{firstLineStart:"{-| ",lineStart:"",afterComment:"-}"})}get arrayType(){return this._options.useList?"List":"Array"}elmType(e,t=!1){return(0,qa.matchType)(e,i=>(0,He.singleWord)((0,He.annotated)(j_.anyTypeIssueAnnotation,"Jdec.Value")),i=>(0,He.singleWord)((0,He.annotated)(j_.nullTypeIssueAnnotation,"()")),i=>(0,He.singleWord)("Bool"),i=>(0,He.singleWord)("Int"),i=>(0,He.singleWord)("Float"),i=>(0,He.singleWord)("String"),i=>(0,He.multiWord)(" ",this.arrayType,(0,He.parenIfNeeded)(this.elmType(i.items))),i=>(0,He.singleWord)(this.nameForNamedType(i)),i=>(0,He.multiWord)(" ","Dict String",(0,He.parenIfNeeded)(this.elmType(i.values))),i=>(0,He.singleWord)(this.nameForNamedType(i)),i=>{const r=(0,qa.nullableFromUnion)(i);if(r!==null){const s=this.elmType(r);return t?s:(0,He.multiWord)(" ","Maybe",(0,He.parenIfNeeded)(s))}return(0,He.singleWord)(this.nameForNamedType(i))})}elmProperty(e){return e.isOptional?(0,He.multiWord)(" ","Maybe",(0,He.parenIfNeeded)(this.elmType(e.type,!0))).source:this.elmType(e.type).source}decoderNameForNamedType(e){const t=this.nameForNamedType(e);return(0,rs.defined)(this._namedTypeDependents.get(t)).decoder}decoderNameForType(e,t=!1){return(0,qa.matchType)(e,i=>(0,He.singleWord)("Jdec.value"),i=>(0,He.multiWord)(" ","Jdec.null","()"),i=>(0,He.singleWord)("Jdec.bool"),i=>(0,He.singleWord)("Jdec.int"),i=>(0,He.singleWord)("Jdec.float"),i=>(0,He.singleWord)("Jdec.string"),i=>(0,He.multiWord)(" ",["Jdec.",(0,Ga.decapitalize)(this.arrayType)],(0,He.parenIfNeeded)(this.decoderNameForType(i.items))),i=>(0,He.singleWord)(this.decoderNameForNamedType(i)),i=>(0,He.multiWord)(" ","Jdec.dict",(0,He.parenIfNeeded)(this.decoderNameForType(i.values))),i=>(0,He.singleWord)(this.decoderNameForNamedType(i)),i=>{const r=(0,qa.nullableFromUnion)(i);if(r!==null){const s=this.decoderNameForType(r);return t?s:(0,He.multiWord)(" ","Jdec.nullable",(0,He.parenIfNeeded)(s))}return(0,He.singleWord)(this.decoderNameForNamedType(i))})}decoderNameForProperty(e){return e.isOptional?(0,He.multiWord)(" ","Jdec.nullable",(0,He.parenIfNeeded)(this.decoderNameForType(e.type,!0))):this.decoderNameForType(e.type)}encoderNameForNamedType(e){const t=this.nameForNamedType(e);return(0,rs.defined)(this._namedTypeDependents.get(t)).encoder}encoderNameForType(e,t=!1){return(0,qa.matchType)(e,i=>(0,He.singleWord)("identity"),i=>(0,He.multiWord)(" ","always","Jenc.null"),i=>(0,He.singleWord)("Jenc.bool"),i=>(0,He.singleWord)("Jenc.int"),i=>(0,He.singleWord)("Jenc.float"),i=>(0,He.singleWord)("Jenc.string"),i=>(0,He.multiWord)(" ",["make",this.arrayType,"Encoder"],(0,He.parenIfNeeded)(this.encoderNameForType(i.items))),i=>(0,He.singleWord)(this.encoderNameForNamedType(i)),i=>(0,He.multiWord)(" ","makeDictEncoder",(0,He.parenIfNeeded)(this.encoderNameForType(i.values))),i=>(0,He.singleWord)(this.encoderNameForNamedType(i)),i=>{const r=(0,qa.nullableFromUnion)(i);if(r!==null){const s=this.encoderNameForType(r);return t?s:(0,He.multiWord)(" ","makeNullableEncoder",(0,He.parenIfNeeded)(s))}return(0,He.singleWord)(this.encoderNameForNamedType(i))})}encoderNameForProperty(e){return e.isOptional?(0,He.multiWord)(" ","makeNullableEncoder",(0,He.parenIfNeeded)(this.encoderNameForType(e.type,!0))):this.encoderNameForType(e.type)}emitTopLevelDefinition(e,t){this.emitLine("type alias ",t," = ",this.elmType(e).source)}emitClassDefinition(e,t){let i=this.descriptionForType(e);this.forEachClassProperty(e,"none",(r,s)=>{const o=this.descriptionForClassProperty(e,s);o!==void 0&&(i===void 0?i=[]:i.push(""),i.push(`${this.sourcelikeToString(r)}:`),i.push(...o))}),this.emitDescription(i),this.emitLine("type alias ",t," ="),this.indent(()=>{let r=!0;this.forEachClassProperty(e,"none",(s,o,a)=>{this.emitLine(r?"{":","," ",s," : ",this.elmProperty(a)),r=!1}),r&&this.emitLine("{"),this.emitLine("}")})}emitEnumDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitLine("type ",t),this.indent(()=>{let i=!0;this.forEachEnumCase(e,"none",r=>{const s=i?"=":"|";this.emitLine(s," ",r),i=!1})})}emitUnionDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitLine("type ",t),this.indent(()=>{let i=!0;this.forEachUnionMember(e,null,"none",null,(r,s)=>{const o=i?"=":"|";s.kind==="null"?this.emitLine(o," ",r):this.emitLine(o," ",r," ",(0,He.parenIfNeeded)(this.elmType(s))),i=!1})})}emitTopLevelFunctions(e,t){const{encoder:i,decoder:r}=(0,rs.defined)(this._topLevelDependents.get(t));this.namedTypeToNameForTopLevel(e)===void 0&&(this.emitLine((0,rs.defined)(r)," : Jdec.Decoder ",t),this.emitLine((0,rs.defined)(r)," = ",this.decoderNameForType(e).source),this.ensureBlankLine()),this.emitLine(i," : ",t," -> String"),this.emitLine(i," r = Jenc.encode 0 (",this.encoderNameForType(e).source," r)")}emitClassFunctions(e,t){const i=this.decoderNameForNamedType(e);this.emitLine(i," : Jdec.Decoder ",t),this.emitLine(i," ="),this.indent(()=>{this.emitLine("Jpipe.decode ",t),this.indent(()=>{this.forEachClassProperty(e,"none",(s,o,a)=>{const c=(0,He.parenIfNeeded)(this.decoderNameForProperty(a)),{reqOrOpt:f,fallback:d}=(0,ss.requiredOrOptional)(a);this.emitLine("|> ",f,' "',(0,Ga.stringEscape)(o),'" ',c,d)})})}),this.ensureBlankLine();const r=this.encoderNameForNamedType(e);this.emitLine(r," : ",t," -> Jenc.Value"),this.emitLine(r," x ="),this.indent(()=>{this.emitLine("Jenc.object"),this.indent(()=>{let s=!0;this.forEachClassProperty(e,"none",(o,a,c)=>{const f=s?"[":",",d=this.encoderNameForProperty(c).source;this.emitLine(f,' ("',(0,Ga.stringEscape)(a),'", ',d," x.",o,")"),s=!1}),s&&this.emitLine("["),this.emitLine("]")})})}emitEnumFunctions(e,t){const i=this.decoderNameForNamedType(e);this.emitLine(i," : Jdec.Decoder ",t),this.emitLine(i," ="),this.indent(()=>{this.emitLine("Jdec.string"),this.indent(()=>{this.emitLine("|> Jdec.andThen (\\str ->"),this.indent(()=>{this.emitLine("case str of"),this.indent(()=>{this.forEachEnumCase(e,"none",(s,o)=>{this.emitLine('"',(0,Ga.stringEscape)(o),'" -> Jdec.succeed ',s)}),this.emitLine('somethingElse -> Jdec.fail <| "Invalid ',t,': " ++ somethingElse')})}),this.emitLine(")")})}),this.ensureBlankLine();const r=this.encoderNameForNamedType(e);this.emitLine(r," : ",t," -> Jenc.Value"),this.emitLine(r," x = case x of"),this.indent(()=>{this.forEachEnumCase(e,"none",(s,o)=>{this.emitLine(s,' -> Jenc.string "',(0,Ga.stringEscape)(o),'"')})})}emitUnionFunctions(e,t){function i(o,a){return a.kind==="array"?" array":a.kind==="double"?" xdouble":a.isPrimitive()?" "+a.kind:a.kind}const r=this.decoderNameForNamedType(e);this.emitLine(r," : Jdec.Decoder ",t),this.emitLine(r," ="),this.indent(()=>{this.emitLine("Jdec.oneOf"),this.indent(()=>{let o=!0;this.forEachUnionMember(e,null,"none",i,(a,c)=>{const f=o?"[":",";if(c.kind==="null")this.emitLine(f," Jdec.null ",a);else{const d=(0,He.parenIfNeeded)(this.decoderNameForType(c));this.emitLine(f," Jdec.map ",a," ",d)}o=!1}),this.emitLine("]")})}),this.ensureBlankLine();const s=this.encoderNameForNamedType(e);this.emitLine(s," : ",t," -> Jenc.Value"),this.emitLine(s," x = case x of"),this.indent(()=>{this.forEachUnionMember(e,null,"none",i,(o,a)=>{if(a.kind==="null")this.emitLine(o," -> Jenc.null");else{const c=this.encoderNameForType(a).source;this.emitLine(o," y -> ",c," y")}})})}emitSourceStructure(){const e=[],t=[];this.forEachTopLevel("none",(i,r)=>{let{encoder:s,decoder:o}=(0,rs.defined)(this._topLevelDependents.get(r));o===void 0&&(o=(0,rs.defined)(this._namedTypeDependents.get(r)).decoder),t.push(o),e.push(r,s,o)}),this.forEachObject("none",(i,r)=>{(0,Yf.mapContains)(this.topLevels,i)||e.push(r)}),this.forEachEnum("none",(i,r)=>{(0,Yf.mapContains)(this.topLevels,i)||e.push([r,"(..)"])}),this.forEachUnion("none",(i,r)=>{(0,Yf.mapContains)(this.topLevels,i)||e.push([r,"(..)"])}),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,Yf.arrayIntercalate)(", ",t),")"),this.emitMultiline(`--
|
|
355
|
+
-- and you're off to the races with
|
|
356
|
+
--`),this.forEachTopLevel("none",(i,r)=>{let{decoder:s}=(0,rs.defined)(this._topLevelDependents.get(r));s===void 0&&(s=(0,rs.defined)(this._namedTypeDependents.get(r)).decoder),this.emitLine("-- decodeString ",s," myJsonString")})),this._options.justTypes||(this.ensureBlankLine(),this.emitLine("module ",this._options.moduleName," exposing"),this.indent(()=>{for(let i=0;i<e.length;i++)this.emitLine(i===0?"(":","," ",e[i]);this.emitLine(")")}),this.ensureBlankLine(),this.emitMultiline(`import Json.Decode as Jdec
|
|
357
|
+
import Json.Decode.Pipeline as Jpipe
|
|
358
|
+
import Json.Encode as Jenc
|
|
359
|
+
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",(i,r)=>this.emitTopLevelDefinition(i,r),i=>this.namedTypeToNameForTopLevel(i)===void 0),this.forEachNamedType("leading-and-interposing",(i,r)=>this.emitClassDefinition(i,r),(i,r)=>this.emitEnumDefinition(i,r),(i,r)=>this.emitUnionDefinition(i,r)),!this._options.justTypes&&(this.ensureBlankLine(),this.emitLine("-- decoders and encoders"),this.forEachTopLevel("leading-and-interposing",(i,r)=>this.emitTopLevelFunctions(i,r)),this.forEachNamedType("leading-and-interposing",(i,r)=>this.emitClassFunctions(i,r),(i,r)=>this.emitEnumFunctions(i,r),(i,r)=>this.emitUnionFunctions(i,r)),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,Ga.decapitalize)(this.arrayType)," (",this.arrayType,".map f arr)")}),this.ensureBlankLine(),this.emitMultiline(`makeDictEncoder : (a -> Jenc.Value) -> Dict String a -> Jenc.Value
|
|
360
|
+
makeDictEncoder f dict =
|
|
361
|
+
Jenc.object (toList (Dict.map (\\k -> f) dict))
|
|
362
|
+
|
|
363
|
+
makeNullableEncoder : (a -> Jenc.Value) -> Maybe a -> Jenc.Value
|
|
364
|
+
makeNullableEncoder f m =
|
|
365
|
+
case m of
|
|
366
|
+
Just x -> f x
|
|
367
|
+
Nothing -> Jenc.null`))}}mc.ElmRenderer=e3;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.ElmTargetLanguage=n.elmOptions=void 0;const e=pt,t=Ot,i=mc;n.elmOptions={justTypes:new e.BooleanOption("just-types","Plain types only",!1),useList:new e.EnumOption("array-type","Use Array or List",[["array",!1],["list",!0]]),moduleName:new e.StringOption("module","Generated module name","NAME","QuickType")};class r extends t.TargetLanguage{constructor(){super("Elm",["elm"],"elm")}getOptions(){return[n.elmOptions.justTypes,n.elmOptions.moduleName,n.elmOptions.useList]}get supportsOptionalClassProperties(){return!0}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(o,a){return new i.ElmRenderer(this,o,(0,e.getOptionValues)(n.elmOptions,a))}}n.ElmTargetLanguage=r})($N);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.ElmRenderer=n.elmOptions=n.ElmTargetLanguage=void 0;var e=$N;Object.defineProperty(n,"ElmTargetLanguage",{enumerable:!0,get:function(){return e.ElmTargetLanguage}}),Object.defineProperty(n,"elmOptions",{enumerable:!0,get:function(){return e.elmOptions}});var t=mc;Object.defineProperty(n,"ElmRenderer",{enumerable:!0,get:function(){return t.ElmRenderer}})})(xb);var Jb={},nk={},yc={},ik={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.canOmitEmpty=n.isValueType=n.compoundTypeKinds=n.primitiveValueTypeKinds=n.namingFunction=void 0;const e=qe,t=Ke;n.namingFunction=(0,e.funPrefixNamer)("namer",r);const i=(0,t.legalizeCharacters)(t.isLetterOrUnderscoreOrDigit);function r(a){const c=(0,t.splitIntoWords)(a);return(0,t.combineWords)(c,i,t.firstUpperWordStyle,t.firstUpperWordStyle,t.allUpperWordStyle,t.allUpperWordStyle,"",t.isLetterOrUnderscore)}n.primitiveValueTypeKinds=["integer","double","bool","string"],n.compoundTypeKinds=["array","class","map","enum"];function s(a){const c=a.kind;return n.primitiveValueTypeKinds.includes(c)||c==="class"||c==="enum"||c==="date-time"}n.isValueType=s;function o(a,c){if(!a.isOptional)return!1;if(c)return!0;const f=a.type;return!["union","null","any"].includes(f.kind)}n.canOmitEmpty=o})(ik);Object.defineProperty(yc,"__esModule",{value:!0});yc.GoRenderer=void 0;const B_=Wt,t3=wt,n3=qe,ed=$e,td=Ke,fu=Ce,D_=rt(),du=et(),Tr=ik;class i3 extends t3.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._options=i,this._topLevelUnmarshalNames=new Map}makeNamedTypeNamer(){return Tr.namingFunction}namerForObjectProperty(){return Tr.namingFunction}makeUnionMemberNamer(){return Tr.namingFunction}makeEnumCaseNamer(){return Tr.namingFunction}get enumCasesInGlobalNamespace(){return!0}makeTopLevelDependencyNames(e,t){const i=new n3.DependencyName(Tr.namingFunction,t.order,r=>`unmarshal_${r(t)}`);return this._topLevelUnmarshalNames.set(t,i),[i]}startFile(e){this._options.multiFileOutput!==!1&&((0,fu.assert)(this._currentFilename===void 0,"Previous file wasn't finished: "+this._currentFilename),this._currentFilename=`${this.sourcelikeToString(e)}.go`,this.initializeEmitContextForFilename(this._currentFilename))}endFile(){this._options.multiFileOutput!==!1&&(this.finishFile((0,fu.defined)(this._currentFilename)),this._currentFilename=void 0)}emitBlock(e,t){this.emitLine(e," {"),this.indent(t),this.emitLine("}")}emitFunc(e,t){this.emitBlock(["func ",e],t)}emitStruct(e,t){this.emitBlock(["type ",e," struct"],()=>this.emitTable(t))}nullableGoType(e,t){const i=this.goType(e,t);return(0,Tr.isValueType)(e)?["*",i]:i}propertyGoType(e){const t=e.type;return t instanceof D_.UnionType&&(0,du.nullableFromUnion)(t)===null?["*",this.goType(t,!0)]:e.isOptional?this.nullableGoType(t,!0):this.goType(t,!0)}goType(e,t=!1){return(0,du.matchType)(e,i=>(0,ed.maybeAnnotated)(t,B_.anyTypeIssueAnnotation,"interface{}"),i=>(0,ed.maybeAnnotated)(t,B_.nullTypeIssueAnnotation,"interface{}"),i=>"bool",i=>"int64",i=>"float64",i=>"string",i=>["[]",this.goType(i.items,t)],i=>this.nameForNamedType(i),i=>{let r;const s=i.values;return s instanceof D_.UnionType&&(0,du.nullableFromUnion)(s)===null?r=["*",this.nameForNamedType(s)]:r=this.goType(s,t),["map[string]",r]},i=>this.nameForNamedType(i),i=>{const r=(0,du.nullableFromUnion)(i);return r!==null?this.nullableGoType(r,t):this.nameForNamedType(i)},i=>i.kind==="date-time"?"time.Time":"string")}emitTopLevel(e,t){if(this.startFile(t),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 r=(0,ed.modifySource)(td.camelCase,t);this.emitLineOnce("// ",r,", err := ",(0,fu.defined)(this._topLevelUnmarshalNames.get(t)),"(bytes)"),this.emitLineOnce("// bytes, err = ",r,".Marshal()")}this.emitPackageDefinitons(!0);const i=(0,fu.defined)(this._topLevelUnmarshalNames.get(t));this.namedTypeToNameForTopLevel(e)===void 0&&this.emitLine("type ",t," ",this.goType(e)),!(this._options.justTypes||this._options.justTypesAndPackage)&&(this.ensureBlankLine(),this.emitFunc([i,"(data []byte) (",t,", error)"],()=>{this.emitLine("var r ",t),this.emitLine("err := json.Unmarshal(data, &r)"),this.emitLine("return r, err")}),this.ensureBlankLine(),this.emitFunc(["(r *",t,") Marshal() ([]byte, error)"],()=>{this.emitLine("return json.Marshal(r)")}),this.endFile())}emitClass(e,t){this.startFile(t);let i=[];const r=new Set;this.forEachClassProperty(e,"none",(s,o,a)=>{const c=this.descriptionForClassProperty(e,o),f=c!==void 0&&c.length>0?c.map(h=>"// "+h):[],d=this.propertyGoType(a),p=(0,Tr.canOmitEmpty)(a,this._options.omitEmpty)?",omitempty":[];f.forEach(h=>i.push([h]));const y=this._options.fieldTags.split(",").map(h=>h+':"'+(0,td.stringEscape)(o)+p+'"').join(" ");i.push([[s," "],[d," "],["`",y,"`"]]),r.add(d.toString())}),this.emitPackageDefinitons(!1,r.has("time.Time")||r.has("*,time.Time")||r.has("[],time.Time")?new Set(["time"]):void 0),this.emitDescription(this.descriptionForType(e)),this.emitStruct(t,i),this.endFile()}emitEnum(e,t){this.startFile(t),this.emitPackageDefinitons(!1),this.emitDescription(this.descriptionForType(e)),this.emitLine("type ",t," string"),this.ensureBlankLine(),this.emitLine("const (");let i=[];this.forEachEnumCase(e,"none",(r,s)=>{i.push([[r," "],[t,' = "',(0,td.stringEscape)(s),'"']])}),this.indent(()=>this.emitTable(i)),this.emitLine(")"),this.endFile()}emitUnion(e,t){this.startFile(t),this.emitPackageDefinitons(!1);const[i,r]=(0,du.removeNullFromUnion)(e),s=i!==null?"true":"false",o=(d,p,y)=>{const h=e.findMember(d);return h===void 0?p:y(h,this.nameForUnionMember(e,h),this.goType(h))},a=d=>{o(d,void 0,(p,y,h)=>{this.emitLine("x.",y," = nil")})},c=(d,p)=>{const y=[];for(const h of Tr.primitiveValueTypeKinds)y.push(o(h,"nil",(S,m,v)=>d(m)),", ");for(const h of Tr.compoundTypeKinds)y.push(o(h,"false, nil",(S,m,v)=>p(S.kind==="class",m)),", ");return y.push(s),y};let f=[];this.forEachUnionMember(e,r,"none",null,(d,p)=>{const y=this.nullableGoType(p,!0);f.push([[d," "],y])}),this.emitDescription(this.descriptionForType(e)),this.emitStruct(t,f),!(this._options.justTypes||this._options.justTypesAndPackage)&&(this.ensureBlankLine(),this.emitFunc(["(x *",t,") UnmarshalJSON(data []byte) error"],()=>{for(const p of Tr.compoundTypeKinds)a(p);o("class",void 0,(p,y,h)=>{this.emitLine("var c ",h)});const d=c(p=>["&x.",p],(p,y)=>p?"true, &c":["true, &x.",y]);this.emitLine("object, err := unmarshalUnion(data, ",d,")"),this.emitBlock("if err != nil",()=>{this.emitLine("return err")}),this.emitBlock("if object",()=>{o("class",void 0,(p,y,h)=>{this.emitLine("x.",y," = &c")})}),this.emitLine("return nil")}),this.ensureBlankLine(),this.emitFunc(["(x *",t,") MarshalJSON() ([]byte, error)"],()=>{const d=c(p=>["x.",p],(p,y)=>["x.",y," != nil, x.",y]);this.emitLine("return marshalUnion(",d,")")}),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",(e,t)=>{this.emitLine("//");const i=(0,ed.modifySource)(td.camelCase,t);this.emitLine("// ",i,", err := ",(0,fu.defined)(this._topLevelUnmarshalNames.get(t)),"(bytes)"),this.emitLine("// bytes, err = ",i,".Marshal()")})}emitPackageDefinitons(e,t=new Set){if(!this._options.justTypes||this._options.justTypesAndPackage){this.ensureBlankLine();const i="package "+this._options.packageName;this.emitLineOnce(i),this.ensureBlankLine()}!this._options.justTypes&&!this._options.justTypesAndPackage&&(this.haveNamedUnions&&this._options.multiFileOutput===!1&&(t.add("bytes"),t.add("errors")),e&&t.add("encoding/json")),this.emitImports(t)}emitImports(e){const t=Array.from(e).sort((i,r)=>i.localeCompare(r));t.length!==0&&(t.forEach(i=>{this.emitLineOnce(`import "${i}"`)}),this.ensureBlankLine())}emitHelperFunctions(){if(this.haveNamedUnions){this.startFile("JSONSchemaSupport");const e=new Set;this._options.multiFileOutput&&(e.add("bytes"),e.add("errors")),this.emitPackageDefinitons(!0,e),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) {
|
|
368
|
+
if pi != nil {
|
|
369
|
+
*pi = nil
|
|
370
|
+
}
|
|
371
|
+
if pf != nil {
|
|
372
|
+
*pf = nil
|
|
373
|
+
}
|
|
374
|
+
if pb != nil {
|
|
375
|
+
*pb = nil
|
|
376
|
+
}
|
|
377
|
+
if ps != nil {
|
|
378
|
+
*ps = nil
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
dec := json.NewDecoder(bytes.NewReader(data))
|
|
382
|
+
dec.UseNumber()
|
|
383
|
+
tok, err := dec.Token()
|
|
384
|
+
if err != nil {
|
|
385
|
+
return false, err
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
switch v := tok.(type) {
|
|
389
|
+
case json.Number:
|
|
390
|
+
if pi != nil {
|
|
391
|
+
i, err := v.Int64()
|
|
392
|
+
if err == nil {
|
|
393
|
+
*pi = &i
|
|
394
|
+
return false, nil
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
if pf != nil {
|
|
398
|
+
f, err := v.Float64()
|
|
399
|
+
if err == nil {
|
|
400
|
+
*pf = &f
|
|
401
|
+
return false, nil
|
|
402
|
+
}
|
|
403
|
+
return false, errors.New("Unparsable number")
|
|
404
|
+
}
|
|
405
|
+
return false, errors.New("Union does not contain number")
|
|
406
|
+
case float64:
|
|
407
|
+
return false, errors.New("Decoder should not return float64")
|
|
408
|
+
case bool:
|
|
409
|
+
if pb != nil {
|
|
410
|
+
*pb = &v
|
|
411
|
+
return false, nil
|
|
412
|
+
}
|
|
413
|
+
return false, errors.New("Union does not contain bool")
|
|
414
|
+
case string:
|
|
415
|
+
if haveEnum {
|
|
416
|
+
return false, json.Unmarshal(data, pe)
|
|
417
|
+
}
|
|
418
|
+
if ps != nil {
|
|
419
|
+
*ps = &v
|
|
420
|
+
return false, nil
|
|
421
|
+
}
|
|
422
|
+
return false, errors.New("Union does not contain string")
|
|
423
|
+
case nil:
|
|
424
|
+
if nullable {
|
|
425
|
+
return false, nil
|
|
426
|
+
}
|
|
427
|
+
return false, errors.New("Union does not contain null")
|
|
428
|
+
case json.Delim:
|
|
429
|
+
if v == '{' {
|
|
430
|
+
if haveObject {
|
|
431
|
+
return true, json.Unmarshal(data, pc)
|
|
432
|
+
}
|
|
433
|
+
if haveMap {
|
|
434
|
+
return false, json.Unmarshal(data, pm)
|
|
435
|
+
}
|
|
436
|
+
return false, errors.New("Union does not contain object")
|
|
437
|
+
}
|
|
438
|
+
if v == '[' {
|
|
439
|
+
if haveArray {
|
|
440
|
+
return false, json.Unmarshal(data, pa)
|
|
441
|
+
}
|
|
442
|
+
return false, errors.New("Union does not contain array")
|
|
443
|
+
}
|
|
444
|
+
return false, errors.New("Cannot handle delimiter")
|
|
445
|
+
}
|
|
446
|
+
return false, errors.New("Cannot unmarshal union")
|
|
447
|
+
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
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) {
|
|
451
|
+
if pi != nil {
|
|
452
|
+
return json.Marshal(*pi)
|
|
453
|
+
}
|
|
454
|
+
if pf != nil {
|
|
455
|
+
return json.Marshal(*pf)
|
|
456
|
+
}
|
|
457
|
+
if pb != nil {
|
|
458
|
+
return json.Marshal(*pb)
|
|
459
|
+
}
|
|
460
|
+
if ps != nil {
|
|
461
|
+
return json.Marshal(*ps)
|
|
462
|
+
}
|
|
463
|
+
if haveArray {
|
|
464
|
+
return json.Marshal(pa)
|
|
465
|
+
}
|
|
466
|
+
if haveObject {
|
|
467
|
+
return json.Marshal(pc)
|
|
468
|
+
}
|
|
469
|
+
if haveMap {
|
|
470
|
+
return json.Marshal(pm)
|
|
471
|
+
}
|
|
472
|
+
if haveEnum {
|
|
473
|
+
return json.Marshal(pe)
|
|
474
|
+
}
|
|
475
|
+
if nullable {
|
|
476
|
+
return json.Marshal(nil)
|
|
477
|
+
}
|
|
478
|
+
return nil, errors.New("Union must not be null")
|
|
479
|
+
}`),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",(e,t)=>this.emitTopLevel(e,t),e=>!(this._options.justTypes||this._options.justTypesAndPackage)||this.namedTypeToNameForTopLevel(e)===void 0),this.forEachObject("leading-and-interposing",(e,t)=>this.emitClass(e,t)),this.forEachEnum("leading-and-interposing",(e,t)=>this.emitEnum(e,t)),this.forEachUnion("leading-and-interposing",(e,t)=>this.emitUnion(e,t)),!(this._options.justTypes||this._options.justTypesAndPackage)&&this.emitHelperFunctions()}collectAllImports(){let e=new Set;return this.forEachObject("leading-and-interposing",(t,i)=>{const r=this.collectClassImports(t);e=new Set([...e,...r])}),this.forEachUnion("leading-and-interposing",(t,i)=>{const r=this.collectUnionImports(t);e=new Set([...e,...r])}),e}collectClassImports(e){const t=new Set,i=new Map;i.set("time.Time","time"),i.set("*,time.Time","time"),i.set("[],time.Time","time"),this.forEachClassProperty(e,"none",(s,o,a)=>{const c=this.propertyGoType(a);t.add(c.toString())});const r=new Set;return t.forEach(s=>{const o=i.get(s);o&&r.add(o)}),r}collectUnionImports(e){const t=new Set,i=new Map;i.set("time.Time","time"),i.set("*,time.Time","time"),this.forEachUnionMember(e,null,"none",null,(s,o)=>{const a=this.nullableGoType(o,!0);t.add(a.toString())});const r=new Set;return t.forEach(s=>{const o=i.get(s);o&&r.add(o)}),r}}yc.GoRenderer=i3;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.GoTargetLanguage=n.goOptions=void 0;const e=pt,t=Ot,i=yc;n.goOptions={justTypes:new e.BooleanOption("just-types","Plain types only",!1),justTypesAndPackage:new e.BooleanOption("just-types-and-package","Plain types with package only",!1),packageName:new e.StringOption("package","Generated package name","NAME","main"),multiFileOutput:new e.BooleanOption("multi-file-output","Renders each top-level object in its own Go file",!1),fieldTags:new e.StringOption("field-tags","list of tags which should be generated for fields","TAGS","json"),omitEmpty:new e.BooleanOption("omit-empty",'If set, all non-required objects will be tagged with ",omitempty"',!1)};class r extends t.TargetLanguage{constructor(){super("Go",["go","golang"],"go")}getOptions(){return[n.goOptions.justTypes,n.goOptions.justTypesAndPackage,n.goOptions.packageName,n.goOptions.multiFileOutput,n.goOptions.fieldTags,n.goOptions.omitEmpty]}get supportsUnionsWithBothNumberTypes(){return!0}get stringTypeMapping(){const o=new Map;return o.set("date-time","date-time"),o}get supportsOptionalClassProperties(){return!0}makeRenderer(o,a){return new i.GoRenderer(this,o,(0,e.getOptionValues)(n.goOptions,a))}get defaultIndentation(){return" "}}n.GoTargetLanguage=r})(nk);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.GoRenderer=n.goOptions=n.GoTargetLanguage=void 0;var e=nk;Object.defineProperty(n,"GoTargetLanguage",{enumerable:!0,get:function(){return e.GoTargetLanguage}}),Object.defineProperty(n,"goOptions",{enumerable:!0,get:function(){return e.goOptions}});var t=yc;Object.defineProperty(n,"GoRenderer",{enumerable:!0,get:function(){return t.GoRenderer}})})(Jb);var zb={},rk={},gc={},Dh={};Object.defineProperty(Dh,"__esModule",{value:!0});Dh.forbiddenNames=void 0;Dh.forbiddenNames=["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"];var gl={};Object.defineProperty(gl,"__esModule",{value:!0});gl.lowerNamingFunction=gl.upperNamingFunction=void 0;const sk=qe,Ri=Ke,r3=(0,Ri.legalizeCharacters)(n=>(0,Ri.isAscii)(n)&&(0,Ri.isLetterOrUnderscoreOrDigit)(n));function ok(n,e){const t=(0,Ri.splitIntoWords)(n);return(0,Ri.combineWords)(t,r3,e?Ri.firstUpperWordStyle:Ri.allLowerWordStyle,Ri.firstUpperWordStyle,e?Ri.allUpperWordStyle:Ri.allLowerWordStyle,Ri.allUpperWordStyle,"",Ri.isLetterOrUnderscore)}gl.upperNamingFunction=(0,sk.funPrefixNamer)("upper",n=>ok(n,!0));gl.lowerNamingFunction=(0,sk.funPrefixNamer)("lower",n=>ok(n,!1));Object.defineProperty(gc,"__esModule",{value:!0});gc.HaskellRenderer=void 0;const by=Ve,s3=wt,_t=$e,nd=Ke,Ty=et(),o3=Dh,id=gl;class a3 extends s3.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._options=i}forbiddenNamesForGlobalNamespace(){return o3.forbiddenNames}makeNamedTypeNamer(){return id.upperNamingFunction}namerForObjectProperty(){return id.lowerNamingFunction}forbiddenForObjectProperties(e,t){return{names:[],includeGlobalForbidden:!0}}makeUnionMemberNamer(){return id.upperNamingFunction}get unionMembersInGlobalNamespace(){return!0}makeEnumCaseNamer(){return id.upperNamingFunction}get enumCasesInGlobalNamespace(){return!0}proposeUnionMemberName(e,t,i,r){return`${super.proposeUnionMemberName(e,t,i,r)}_in_${r(t)}`}get commentLineStart(){return"-- "}emitDescriptionBlock(e){e.length===1?this.emitComments([{customLines:e,lineStart:"{-| ",lineEnd:" -}"}]):this.emitCommentLines(e,{firstLineStart:"{-| ",lineStart:"",afterComment:"-}"})}haskellType(e,t=!1){return(0,Ty.matchType)(e,i=>(0,_t.multiWord)(" ","Maybe","Text"),i=>(0,_t.multiWord)(" ","Maybe","Text"),i=>(0,_t.singleWord)("Bool"),i=>(0,_t.singleWord)("Int"),i=>(0,_t.singleWord)("Float"),i=>(0,_t.singleWord)("Text"),i=>this._options.useList?(0,_t.multiWord)("","[",(0,_t.parenIfNeeded)(this.haskellType(i.items)),"]"):(0,_t.multiWord)(" ","Vector",(0,_t.parenIfNeeded)(this.haskellType(i.items))),i=>(0,_t.singleWord)(this.nameForNamedType(i)),i=>(0,_t.multiWord)(" ","HashMap Text",(0,_t.parenIfNeeded)(this.haskellType(i.values))),i=>(0,_t.singleWord)(this.nameForNamedType(i)),i=>{const r=(0,Ty.nullableFromUnion)(i);if(r!==null){const s=this.haskellType(r);return t?s:(0,_t.multiWord)(" ","Maybe",(0,_t.parenIfNeeded)(s))}return(0,_t.singleWord)(this.nameForNamedType(i))})}haskellProperty(e){return e.isOptional?(0,_t.multiWord)(" ","Maybe",(0,_t.parenIfNeeded)(this.haskellType(e.type,!0))).source:this.haskellType(e.type).source}encoderNameForType(e){return(0,Ty.matchType)(e,t=>(0,_t.singleWord)("String"),t=>(0,_t.singleWord)("Null"),t=>(0,_t.singleWord)("Bool"),t=>(0,_t.singleWord)("Number"),t=>(0,_t.singleWord)("Number"),t=>(0,_t.singleWord)("String"),t=>(0,_t.singleWord)("Array"),t=>(0,_t.singleWord)("Object"),t=>(0,_t.singleWord)("Object"),t=>(0,_t.singleWord)("Object"),t=>(0,_t.singleWord)("Object"))}emitTopLevelDefinition(e,t){this.emitLine("type ",t," = ",this.haskellType(e).source)}emitClassDefinition(e,t){let i=this.descriptionForType(e);this.forEachClassProperty(e,"none",(r,s)=>{const o=this.descriptionForClassProperty(e,s);o!==void 0&&(i===void 0?i=[]:i.push(""),i.push(`${this.sourcelikeToString(r)}:`),i.push(...o))}),this.emitDescription(i),this.emitLine("data ",t," = ",t),this.indent(()=>{let r=!0;this.forEachClassProperty(e,"none",(s,o,a)=>{this.emitLine(r?"{ ":", ",s,t," :: ",this.haskellProperty(a)),r=!1}),r&&this.emitLine("{"),this.emitLine("} deriving (Show)")})}emitEnumDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitLine("data ",t),this.indent(()=>{let i=!0;this.forEachEnumCase(e,"none",r=>{const s=i?"=":"|";this.emitLine(s," ",r,t),i=!1}),this.emitLine("deriving (Show)")})}emitUnionDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitLine("data ",t),this.indent(()=>{let i=!0;this.forEachUnionMember(e,null,"none",null,(r,s)=>{const o=i?"=":"|";s.kind==="null"?this.emitLine(o," ",r):this.emitLine(o," ",r," ",(0,_t.parenIfNeeded)(this.haskellType(s))),i=!1}),this.emitLine("deriving (Show)")})}emitTopLevelFunctions(e){this.emitLine("decodeTopLevel :: ByteString -> Maybe ",e),this.emitLine("decodeTopLevel = decode")}classPropertyLength(e){let t=0;return this.forEachClassProperty(e,"none",()=>{t+=1}),t}emitClassEncoderInstance(e,t){let i=[];this.forEachClassProperty(e,"none",r=>{i.push(" "),i.push(r),i.push(t)}),this.emitLine("instance ToJSON ",t," where"),this.indent(()=>{i.length===0?this.emitLine("toJSON = \\_ -> emptyObject"):(this.emitLine("toJSON (",t,...i,") ="),this.indent(()=>{this.emitLine("object");let r=!0;this.forEachClassProperty(e,"none",(s,o)=>{this.emitLine(r?"[ ":", ",'"',(0,nd.stringEscape)(o),'" .= ',s,t),r=!1}),r&&this.emitLine("["),this.emitLine("]")}))})}emitClassDecoderInstance(e,t){this.emitLine("instance FromJSON ",t," where"),this.indent(()=>{this.classPropertyLength(e)===0?this.emitLine("parseJSON emptyObject = return ",t):(this.emitLine("parseJSON (Object v) = ",t),this.indent(()=>{let i=!0;this.forEachClassProperty(e,"none",(r,s,o)=>{const a=o.isOptional?".:?":".:";this.emitLine(i?"<$> ":"<*> ","v ",a,' "',(0,nd.stringEscape)(s),'"'),i=!1})}))})}emitClassFunctions(e,t){this.emitClassEncoderInstance(e,t),this.ensureBlankLine(),this.emitClassDecoderInstance(e,t)}emitEnumEncoderInstance(e,t){this.emitLine("instance ToJSON ",t," where"),this.indent(()=>{this.forEachEnumCase(e,"none",(i,r)=>{this.emitLine("toJSON ",i,t,' = "',(0,nd.stringEscape)(r),'"')})})}emitEnumDecoderInstance(e,t){this.emitLine("instance FromJSON ",t," where"),this.indent(()=>{this.emitLine('parseJSON = withText "',t,'" parseText'),this.indent(()=>{this.emitLine("where"),this.indent(()=>{this.forEachEnumCase(e,"none",(i,r)=>{this.emitLine('parseText "',(0,nd.stringEscape)(r),'" = return ',i,t)})})})})}emitEnumFunctions(e,t){this.emitEnumEncoderInstance(e,t),this.ensureBlankLine(),this.emitEnumDecoderInstance(e,t)}emitUnionEncoderInstance(e,t){this.emitLine("instance ToJSON ",t," where"),this.indent(()=>{this.forEachUnionMember(e,null,"none",null,(i,r)=>{r.kind==="null"?this.emitLine("toJSON ",i," = Null"):this.emitLine("toJSON (",i," x) = toJSON x")})})}emitUnionDecoderInstance(e,t){this.emitLine("instance FromJSON ",t," where"),this.indent(()=>{this.forEachUnionMember(e,null,"none",null,(i,r)=>{r.kind==="null"?this.emitLine("parseJSON Null = return ",i):this.emitLine("parseJSON xs@(",this.encoderNameForType(r).source," _) = (fmap ",i," . parseJSON) xs")})})}emitUnionFunctions(e,t){this.emitUnionEncoderInstance(e,t),this.ensureBlankLine(),this.emitUnionDecoderInstance(e,t)}emitLanguageExtensions(e){this.emitLine(`{-# LANGUAGE ${e} #-}`)}emitSourceStructure(){const e=[];this.forEachTopLevel("none",(t,i)=>{e.push([i," (..)"])}),this.forEachObject("none",(t,i)=>{(0,by.mapContains)(this.topLevels,t)||e.push([i," (..)"])}),this.forEachEnum("none",(t,i)=>{(0,by.mapContains)(this.topLevels,t)||e.push([i," (..)"])}),this.forEachUnion("none",(t,i)=>{(0,by.mapContains)(this.topLevels,t)||e.push([i," (..)"])}),this.emitLanguageExtensions("StrictData"),this.emitLanguageExtensions("OverloadedStrings"),this._options.justTypes||(this.ensureBlankLine(),this.emitLine("module ",this._options.moduleName),this.indent(()=>{for(let t=0;t<e.length;t++)this.emitLine(t===0?"(":","," ",e[t]);this.emitLine(", decodeTopLevel"),this.emitLine(") where")}),this.ensureBlankLine(),this.emitMultiline(`import Data.Aeson
|
|
480
|
+
import Data.Aeson.Types (emptyObject)
|
|
481
|
+
import Data.ByteString.Lazy (ByteString)
|
|
482
|
+
import Data.HashMap.Strict (HashMap)
|
|
483
|
+
import Data.Text (Text)`),this._options.useList||this.emitLine("import Data.Vector (Vector)")),this.forEachTopLevel("leading-and-interposing",(t,i)=>this.emitTopLevelDefinition(t,i),t=>this.namedTypeToNameForTopLevel(t)===void 0),this.forEachNamedType("leading-and-interposing",(t,i)=>this.emitClassDefinition(t,i),(t,i)=>this.emitEnumDefinition(t,i),(t,i)=>this.emitUnionDefinition(t,i)),this.forEachTopLevel("leading-and-interposing",(t,i)=>this.emitTopLevelFunctions(i)),this.forEachNamedType("leading-and-interposing",(t,i)=>this.emitClassFunctions(t,i),(t,i)=>this.emitEnumFunctions(t,i),(t,i)=>this.emitUnionFunctions(t,i)),!this._options.justTypes&&this.ensureBlankLine()}}gc.HaskellRenderer=a3;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.HaskellTargetLanguage=n.haskellOptions=void 0;const e=pt,t=Ot,i=gc;n.haskellOptions={justTypes:new e.BooleanOption("just-types","Plain types only",!1),useList:new e.EnumOption("array-type","Use Array or List",[["array",!1],["list",!0]]),moduleName:new e.StringOption("module","Generated module name","NAME","QuickType")};class r extends t.TargetLanguage{constructor(){super("Haskell",["haskell"],"haskell")}getOptions(){return[n.haskellOptions.justTypes,n.haskellOptions.moduleName,n.haskellOptions.useList]}get supportsOptionalClassProperties(){return!0}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(o,a){return new i.HaskellRenderer(this,o,(0,e.getOptionValues)(n.haskellOptions,a))}}n.HaskellTargetLanguage=r})(rk);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.HaskellRenderer=n.haskellOptions=n.HaskellTargetLanguage=void 0;var e=rk;Object.defineProperty(n,"HaskellTargetLanguage",{enumerable:!0,get:function(){return e.HaskellTargetLanguage}}),Object.defineProperty(n,"haskellOptions",{enumerable:!0,get:function(){return e.haskellOptions}});var t=gc;Object.defineProperty(n,"HaskellRenderer",{enumerable:!0,get:function(){return t.HaskellRenderer}})})(zb);var Wb={},ti={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.acronymStyle=n.acronymOption=n.AcronymStyleOptions=void 0;const e=pt,t=Ke;var i;(function(a){a.Camel="camel",a.Lower="lowerCase",a.Original="original",a.Pascal="pascal"})(i=n.AcronymStyleOptions||(n.AcronymStyleOptions={}));const r=function(a){return new e.EnumOption("acronym-style","Acronym naming style",[[i.Original,i.Original],[i.Pascal,i.Pascal],[i.Camel,i.Camel],[i.Lower,i.Lower]],a,"secondary")};n.acronymOption=r;const s={[i.Pascal]:t.allUpperWordStyle,[i.Camel]:t.firstUpperWordStyle,[i.Original]:t.originalWord,[i.Lower]:t.allLowerWordStyle};function o(a){return s[a]}n.acronymStyle=o})(ti);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.JacksonRenderer=n.JavaRenderer=n.javaNameStyle=n.stringEscape=n.JavaTargetLanguage=n.javaOptions=void 0;const e=Wt,t=wt,i=qe,r=pt,s=$e,o=ti,a=Ke,c=Ce,f=Ot,d=rt(),p=et();n.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,o.acronymOption)(o.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 y extends f.TargetLanguage{constructor(){super("Java",["java"],"java")}getOptions(){return[n.javaOptions.useList,n.javaOptions.justTypes,n.javaOptions.dateTimeProvider,n.javaOptions.acronymStyle,n.javaOptions.packageName,n.javaOptions.lombok,n.javaOptions.lombokCopyAnnotations]}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(E,j){const ne=(0,r.getOptionValues)(n.javaOptions,j);return ne.justTypes?new D(this,E,ne):new K(this,E,ne)}get stringTypeMapping(){const E=new Map;return E.set("date","date"),E.set("time","time"),E.set("date-time","date-time"),E.set("uuid","uuid"),E}}n.JavaTargetLanguage=y;const h=["_","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"];n.stringEscape=(0,a.utf16ConcatMap)((0,a.escapeNonPrintableMapper)(a.isAscii,a.standardUnicodeHexEscape));function S(X){return X===95?!0:(0,a.isAscii)(X)&&(0,a.isLetter)(X)}function m(X){return S(X)||(0,a.isAscii)(X)&&(0,a.isDigit)(X)}const v=(0,a.utf16LegalizeCharacters)(m);function C(X,E,j,ne=a.allUpperWordStyle){const se=(0,a.splitIntoWords)(j);return(0,a.combineWords)(se,v,E?a.allUpperWordStyle:X?a.firstUpperWordStyle:a.allLowerWordStyle,E?a.allUpperWordStyle:a.firstUpperWordStyle,E||X?a.allUpperWordStyle:a.allLowerWordStyle,ne,E?"_":"",S)}n.javaNameStyle=C;class U{constructor(E,j){this._renderer=E,this._className=j,this.shouldEmitDateTimeConverter=!0,this.shouldEmitTimeConverter=!0,this.shouldEmitDateConverter=!0}}class x extends U{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(E){return[this._className,".parseDateTimeString(",E,")"]}convertStringToTime(E){return[this._className,".parseTimeString(",E,")"]}convertStringToDate(E){return["LocalDate.parse(",E,")"]}convertDateTimeToString(E){return[E,".format(java.time.format.DateTimeFormatter.ISO_OFFSET_DATE_TIME)"]}convertTimeToString(E){return[E,".format(java.time.format.DateTimeFormatter.ISO_OFFSET_TIME)"]}convertDateToString(E){return[E,".format(java.time.format.DateTimeFormatter.ISO_DATE)"]}}class J extends U{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(E){return[this._className,".parseAllDateTimeString(",E,")"]}convertStringToTime(E){return[this._className,".parseAllDateTimeString(",E,")"]}convertStringToDate(E){return[this._className,".parseAllDateTimeString(",E,")"]}convertDateTimeToString(E){return[this._className,".serializeDateTime(",E,")"]}convertTimeToString(E){return[this._className,".serializeTime(",E,")"]}convertDateToString(E){return[this._className,".serializeDate(",E,")"]}}class D extends t.ConvenienceRenderer{constructor(E,j,ne){switch(super(E,j),this._options=ne,this._gettersAndSettersForPropertyName=new Map,this._haveEmittedLeadingComments=!1,this._converterClassname="Converter",this._converterKeywords=[],ne.dateTimeProvider){default:case"java8":this._dateTimeProvider=new x(this,this._converterClassname);break;case"legacy":this._dateTimeProvider=new J(this,this._converterClassname);break}}forbiddenNamesForGlobalNamespace(){return[...h,...this._converterKeywords,this._converterClassname,...this._dateTimeProvider.keywords]}forbiddenForObjectProperties(E,j){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(E){return(0,p.nullableFromUnion)(E)===null}namedTypeToNameForTopLevel(E){return(0,p.directlyReachableSingleNamedType)(E)}makeNamesForPropertyGetterAndSetter(E,j,ne,se,re){const T=new i.DependencyName(this.getNameStyling("propertyNamingFunction"),re.order,w=>`get_${w(re)}`),b=new i.DependencyName(this.getNameStyling("propertyNamingFunction"),re.order,w=>`set_${w(re)}`);return[T,b]}makePropertyDependencyNames(E,j,ne,se,re){const T=this.makeNamesForPropertyGetterAndSetter(E,j,ne,se,re);return this._gettersAndSettersForPropertyName.set(re,T),T}getNameStyling(E){return{typeNamingFunction:(0,i.funPrefixNamer)("types",ne=>C(!0,!1,ne,(0,o.acronymStyle)(this._options.acronymStyle))),propertyNamingFunction:(0,i.funPrefixNamer)("properties",ne=>C(!1,!1,ne,(0,o.acronymStyle)(this._options.acronymStyle))),enumCaseNamingFunction:(0,i.funPrefixNamer)("enum-cases",ne=>C(!0,!0,ne,(0,o.acronymStyle)(this._options.acronymStyle)))}[E]}fieldOrMethodName(E,j){return this.topLevels.size===1?E:[j,(0,a.capitalize)(E)]}methodName(E,j,ne){return this.topLevels.size===1?[E,j]:[E,ne,j]}decoderName(E){return this.fieldOrMethodName("fromJsonString",E)}encoderName(E){return this.fieldOrMethodName("toJsonString",E)}readerGetterName(E){return this.methodName("get","ObjectReader",E)}writerGetterName(E){return this.methodName("get","ObjectWriter",E)}startFile(E){(0,c.assert)(this._currentFilename===void 0,"Previous file wasn't finished"),this._currentFilename=`${this.sourcelikeToString(E)}.java`,this.ensureBlankLine(),!this._haveEmittedLeadingComments&&this.leadingComments!==void 0&&(this.emitComments(this.leadingComments),this.ensureBlankLine(),this._haveEmittedLeadingComments=!0)}finishFile(){super.finishFile((0,c.defined)(this._currentFilename)),this._currentFilename=void 0}emitPackageAndImports(E){this.emitLine("package ",this._options.packageName,";"),this.ensureBlankLine();for(const j of E)this.emitLine("import ",j,";")}emitFileHeader(E,j){this.startFile(E),this.emitPackageAndImports(j),this.ensureBlankLine()}emitDescriptionBlock(E){this.emitCommentLines(E,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(E,j){this.emitLine(E," {"),this.indent(j),this.emitLine("}")}emitTryCatch(E,j,ne="Exception"){this.emitLine("try {"),this.indent(E),this.emitLine("} catch (",ne," ex) {"),this.indent(j),this.emitLine("}")}emitIgnoredTryCatchBlock(E){this.emitTryCatch(E,()=>this.emitLine("// Ignored"))}javaType(E,j,ne=!1){return(0,p.matchType)(j,se=>(0,s.maybeAnnotated)(ne,e.anyTypeIssueAnnotation,"Object"),se=>(0,s.maybeAnnotated)(ne,e.nullTypeIssueAnnotation,"Object"),se=>E?"Boolean":"boolean",se=>E?"Long":"long",se=>E?"Double":"double",se=>"String",se=>this._options.useList?["List<",this.javaType(!0,se.items,ne),">"]:[this.javaType(!1,se.items,ne),"[]"],se=>this.nameForNamedType(se),se=>["Map<String, ",this.javaType(!0,se.values,ne),">"],se=>this.nameForNamedType(se),se=>{const re=(0,p.nullableFromUnion)(se);return re!==null?this.javaType(!0,re,ne):this.nameForNamedType(se)},se=>se.kind==="time"?this._dateTimeProvider.timeType:se.kind==="date"?this._dateTimeProvider.dateType:se.kind==="date-time"?this._dateTimeProvider.dateTimeType:se.kind==="uuid"?"UUID":"String")}javaImport(E){return(0,p.matchType)(E,j=>[],j=>[],j=>[],j=>[],j=>[],j=>[],j=>this._options.useList?[...this.javaImport(j.items),"java.util.List"]:[...this.javaImport(j.items)],j=>[],j=>[...this.javaImport(j.values),"java.util.Map"],j=>[],j=>{const ne=[];return j.members.forEach(se=>this.javaImport(se).forEach(re=>ne.push(re))),ne},j=>j.kind==="time"?this._dateTimeProvider.timeImports:j.kind==="date"?this._dateTimeProvider.dateImports:j.kind==="date-time"?this._dateTimeProvider.dateTimeImports:j.kind==="uuid"?["java.util.UUID"]:[])}javaTypeWithoutGenerics(E,j){if(j instanceof d.ArrayType)return this._options.useList?["List"]:[this.javaTypeWithoutGenerics(!1,j.items),"[]"];if(j instanceof d.MapType)return"Map";if(j instanceof d.UnionType){const ne=(0,p.nullableFromUnion)(j);return ne!==null?this.javaTypeWithoutGenerics(!0,ne):this.nameForNamedType(j)}else return this.javaType(E,j)}emitClassAttributes(E,j){this._options.lombok&&this.emitLine("@lombok.Data")}annotationsForAccessor(E,j,ne,se,re,T){return[]}importsForType(E){return E instanceof d.ClassType?[]:E instanceof d.UnionType?["java.io.IOException"]:E instanceof d.EnumType?["java.io.IOException"]:(0,c.assertNever)(E)}importsForClass(E){const j=[];return this.forEachClassProperty(E,"none",(ne,se,re)=>{this.javaImport(re.type).forEach(T=>j.push(T))}),j.sort(),[...new Set(j)]}importsForUnionMembers(E){const j=[],[,ne]=(0,p.removeNullFromUnion)(E);return this.forEachUnionMember(E,ne,"none",null,(se,re)=>{this.javaImport(re).forEach(T=>j.push(T))}),j.sort(),[...new Set(j)]}emitClassDefinition(E,j){let ne=[...this.importsForType(E),...this.importsForClass(E)];this.emitFileHeader(j,ne),this.emitDescription(this.descriptionForType(E)),this.emitClassAttributes(E,j),this.emitBlock(["public class ",j],()=>{this.forEachClassProperty(E,"none",(se,re,T)=>{if(this._options.lombok&&this._options.lombokCopyAnnotations){const b=this.annotationsForAccessor(E,j,se,re,T,!1),w=this.annotationsForAccessor(E,j,se,re,T,!0);b.length!==0&&this.emitLine("@lombok.Getter(onMethod_ = {"+b.join(", ")+"})"),w.length!==0&&this.emitLine("@lombok.Setter(onMethod_ = {"+w.join(", ")+"})")}this.emitLine("private ",this.javaType(!1,T.type,!0)," ",se,";")}),this._options.lombok||this.forEachClassProperty(E,"leading-and-interposing",(se,re,T)=>{this.emitDescription(this.descriptionForClassProperty(E,re));const[b,w]=(0,c.defined)(this._gettersAndSettersForPropertyName.get(se)),L=this.javaType(!1,T.type);this.annotationsForAccessor(E,j,se,re,T,!1).forEach(M=>this.emitLine(M)),this.emitLine("public ",L," ",b,"() { return ",se,"; }"),this.annotationsForAccessor(E,j,se,re,T,!0).forEach(M=>this.emitLine(M)),this.emitLine("public void ",w,"(",L," value) { this.",se," = value; }")})}),this.finishFile()}unionField(E,j,ne=!1){const se=this.javaType(!0,j,ne),re=[this.nameForUnionMember(E,j),"Value"];return{fieldType:se,fieldName:re}}emitUnionAttributes(E,j){}emitUnionSerializer(E,j){}emitUnionDefinition(E,j){const ne=[...this.importsForType(E),...this.importsForUnionMembers(E)];this.emitFileHeader(j,ne),this.emitDescription(this.descriptionForType(E));const[,se]=(0,p.removeNullFromUnion)(E);this.emitUnionAttributes(E,j),this.emitBlock(["public class ",j],()=>{for(const re of se){const{fieldType:T,fieldName:b}=this.unionField(E,re,!0);this.emitLine("public ",T," ",b,";")}this.emitUnionSerializer(E,j)}),this.finishFile()}emitEnumSerializationAttributes(E){}emitEnumDeserializationAttributes(E){}emitEnumDefinition(E,j){this.emitFileHeader(j,this.importsForType(E)),this.emitDescription(this.descriptionForType(E));const ne=[];this.forEachEnumCase(E,"none",se=>{ne.length>0&&ne.push(", "),ne.push(se)}),ne.push(";"),this.emitBlock(["public enum ",j],()=>{this.emitLine(ne),this.ensureBlankLine(),this.emitEnumSerializationAttributes(E),this.emitBlock("public String toValue()",()=>{this.emitLine("switch (this) {"),this.indent(()=>{this.forEachEnumCase(E,"none",(se,re)=>{this.emitLine("case ",se,': return "',(0,n.stringEscape)(re),'";')})}),this.emitLine("}"),this.emitLine("return null;")}),this.ensureBlankLine(),this.emitEnumDeserializationAttributes(E),this.emitBlock(["public static ",j," forValue(String value) throws IOException"],()=>{this.forEachEnumCase(E,"none",(se,re)=>{this.emitLine('if (value.equals("',(0,n.stringEscape)(re),'")) return ',se,";")}),this.emitLine('throw new IOException("Cannot deserialize ',j,'");')})}),this.finishFile()}emitSourceStructure(){this.forEachNamedType("leading-and-interposing",(E,j)=>this.emitClassDefinition(E,j),(E,j)=>this.emitEnumDefinition(E,j),(E,j)=>this.emitUnionDefinition(E,j))}}n.JavaRenderer=D;class K extends D{constructor(E,j,ne){super(E,j,ne),this._converterKeywords=["JsonProperty","JsonDeserialize","JsonDeserializer","JsonSerialize","JsonSerializer","JsonParser","JsonProcessingException","DeserializationContext","SerializerProvider"]}emitClassAttributes(E,j){E.getProperties().size===0&&this.emitLine("@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)"),super.emitClassAttributes(E,j)}annotationsForAccessor(E,j,ne,se,re,T){const b=super.annotationsForAccessor(E,j,ne,se,re,T),w=['@JsonProperty("'+(0,n.stringEscape)(se)+'")'];switch(re.type.kind){case"date-time":this._dateTimeProvider.dateTimeJacksonAnnotations.forEach(L=>w.push(L));break;case"date":this._dateTimeProvider.dateJacksonAnnotations.forEach(L=>w.push(L));break;case"time":this._dateTimeProvider.timeJacksonAnnotations.forEach(L=>w.push(L));break}return[...b,...w]}importsForType(E){if(E instanceof d.ClassType){const j=super.importsForType(E);return j.push("com.fasterxml.jackson.annotation.*"),j}if(E instanceof d.UnionType){const j=super.importsForType(E);return j.push("java.io.IOException","com.fasterxml.jackson.core.*","com.fasterxml.jackson.databind.*","com.fasterxml.jackson.databind.annotation.*"),this._options.useList&&j.push("com.fasterxml.jackson.core.type.*"),j}if(E instanceof d.EnumType){const j=super.importsForType(E);return j.push("com.fasterxml.jackson.annotation.*"),j}return(0,c.assertNever)(E)}emitUnionAttributes(E,j){this.emitLine("@JsonDeserialize(using = ",j,".Deserializer.class)"),this.emitLine("@JsonSerialize(using = ",j,".Serializer.class)")}emitUnionSerializer(E,j){const ne=["uuid","time","date","date-time"],se=I=>{this.emitLine("case ",I,":")},re=()=>{this.indent(()=>{se("VALUE_NULL"),this.indent(()=>this.emitLine("break;"))})},T=(I,W,F)=>{switch(W){case"date":this.emitLine("value.",I," = ",this._dateTimeProvider.convertStringToDate(F),";");break;case"time":this.emitLine("value.",I," = ",this._dateTimeProvider.convertStringToTime(F),";");break;case"date-time":this.emitLine("value.",I," = ",this._dateTimeProvider.convertStringToDateTime(F),";");break;case"uuid":this.emitLine("value.",I," = UUID.fromString(",F,");");break;default:return(0,c.panic)("Requested type isnt an object!")}},b=(I,W="")=>{const{fieldName:F}=this.unionField(E,I),Y=this.javaTypeWithoutGenerics(!0,I);if(this._options.useList&&I instanceof d.ArrayType)this.emitLine("value.",F," = jsonParser.readValueAs(new TypeReference<",Y,">() {});");else if(ne.some(de=>I.kind===de))T(F,I.kind,W);else if(I.kind==="string")this.emitLine("value.",F," = ",W,";");else if(I.kind==="enum"){const{fieldType:de}=this.unionField(E,I,!0);this.emitLine("value.",F," = ",de,".forValue(",W,");")}else this.emitLine("value.",F," = jsonParser.readValueAs(",Y,".class);")},w=(I,W)=>{const F=E.findMember(W);F!==void 0&&this.indent(()=>{for(const Y of I)se(Y);this.indent(()=>{b(F),this.emitLine("break;")})})},L=()=>{const I=E.findMember("enum"),W=E.findMember("string");ne.every(F=>E.findMember(F)===void 0)&&W===void 0&&I===void 0||this.indent(()=>{se("VALUE_STRING"),this.indent(()=>{const F="string";this.emitLine("String "+F+" = jsonParser.readValueAs(String.class);"),ne.forEach(Y=>{const de=E.findMember(Y);de!==void 0&&this.emitIgnoredTryCatchBlock(()=>{b(de,F)})}),I!==void 0&&this.emitIgnoredTryCatchBlock(()=>{b(I,F)}),W!==void 0&&b(W,F),this.emitLine("break;")})})},M=()=>{const I=E.findMember("integer"),W=E.findMember("double");W===void 0&&I===void 0||this.indent(()=>{se("VALUE_NUMBER_INT"),I!==void 0&&this.indent(()=>{b(I),this.emitLine("break;")}),W!==void 0&&(se("VALUE_NUMBER_FLOAT"),this.indent(()=>{b(W),this.emitLine("break;")}))})},z=["time","date","date-time"],q=(I,W)=>{switch(I.kind){case"date":return this._dateTimeProvider.convertDateToString(W);case"time":return this._dateTimeProvider.convertTimeToString(W);case"date-time":return this._dateTimeProvider.convertDateTimeToString(W);default:return(0,c.panic)("Requested type doesn't have custom serializer code!")}},H=I=>{let{fieldName:W}=this.unionField(E,I,!0);this.emitBlock(["if (obj.",W," != null)"],()=>{z.some(F=>I.kind===F)?this.emitLine("jsonGenerator.writeObject(",q(I,["obj.",W]),");"):this.emitLine("jsonGenerator.writeObject(obj.",W,");"),this.emitLine("return;")})},[$,fe]=(0,p.removeNullFromUnion)(E);this.ensureBlankLine(),this.emitBlock(["static class Deserializer extends JsonDeserializer<",j,">"],()=>{this.emitLine("@Override"),this.emitBlock(["public ",j," deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException, JsonProcessingException"],()=>{this.emitLine(j," value = new ",j,"();"),this.emitLine("switch (jsonParser.currentToken()) {"),$!==null&&re(),M(),w(["VALUE_TRUE","VALUE_FALSE"],"bool"),L(),w(["START_ARRAY"],"array"),w(["START_OBJECT"],"class"),w(["START_OBJECT"],"map"),this.indent(()=>this.emitLine('default: throw new IOException("Cannot deserialize ',j,'");')),this.emitLine("}"),this.emitLine("return value;")})}),this.ensureBlankLine(),this.emitBlock(["static class Serializer extends JsonSerializer<",j,">"],()=>{this.emitLine("@Override"),this.emitBlock(["public void serialize(",j," obj, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException"],()=>{for(const I of fe)H(I);$!==null?this.emitLine("jsonGenerator.writeNull();"):this.emitLine('throw new IOException("',j,' must not be null");')})})}emitEnumSerializationAttributes(E){this.emitLine("@JsonValue")}emitEnumDeserializationAttributes(E){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(`//
|
|
484
|
+
// Then you can deserialize a JSON string with
|
|
485
|
+
//`),this.forEachTopLevel("none",(j,ne)=>{this.emitLine("// ",this.javaType(!1,j)," data = Converter.",this.decoderName(ne),"(jsonString);")}),this.ensureBlankLine();const E=["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(E),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",(j,ne)=>{const se=this.javaType(!1,j);this.emitBlock(["public static ",se," ",this.decoderName(ne),"(String json) throws IOException"],()=>{this.emitLine("return ",this.readerGetterName(ne),"().readValue(json);")}),this.ensureBlankLine(),this.emitBlock(["public static String ",this.encoderName(ne),"(",se," obj) throws JsonProcessingException"],()=>{this.emitLine("return ",this.writerGetterName(ne),"().writeValueAsString(obj);")})}),this.forEachTopLevel("leading-and-interposing",(j,ne)=>{const se=this.fieldOrMethodName("reader",ne),re=this.fieldOrMethodName("writer",ne);this.emitLine("private static ObjectReader ",se,";"),this.emitLine("private static ObjectWriter ",re,";"),this.ensureBlankLine(),this.emitBlock(["private static void ",this.methodName("instantiate","Mapper",ne),"()"],()=>{const T=this.javaTypeWithoutGenerics(!1,j);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(se," = mapper.readerFor(",T,".class);"),this.emitLine(re," = mapper.writerFor(",T,".class);")}),this.ensureBlankLine(),this.emitBlock(["private static ObjectReader ",this.readerGetterName(ne),"()"],()=>{this.emitLine("if (",se," == null) ",this.methodName("instantiate","Mapper",ne),"();"),this.emitLine("return ",se,";")}),this.ensureBlankLine(),this.emitBlock(["private static ObjectWriter ",this.writerGetterName(ne),"()"],()=>{this.emitLine("if (",re," == null) ",this.methodName("instantiate","Mapper",ne),"();"),this.emitLine("return ",re,";")})})}),this.finishFile()}emitSourceStructure(){this.emitConverterClass(),super.emitSourceStructure()}}n.JacksonRenderer=K})(Wb);var bc={},ak={},Uh={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.convertersOption=n.ConvertersOptions=void 0;const e=pt;var t;(function(r){r.AllObjects="all-objects",r.TopLevel="top-level"})(t=n.ConvertersOptions||(n.ConvertersOptions={}));function i(){return new e.EnumOption("converters","Which converters to generate (top-level by default)",[[t.TopLevel,t.TopLevel],[t.AllObjects,t.AllObjects]],t.TopLevel,"secondary")}n.convertersOption=i})(Uh);var Tc={},Ss={};Object.defineProperty(Ss,"__esModule",{value:!0});Ss.isES3IdentifierPart=Ss.isES3IdentifierStart=void 0;function lk(n,e){if(n<e[0])return!1;let t=0,i=e.length,r;for(;t+1<i;){if(r=t+(i-t)/2,r-=r%2,e[r]<=n&&n<=e[r+1])return!0;n<e[r]?i=r:t=r+2}return!1}function l3(n){return n>=65&&n<=90||n>=97&&n<=122||n===36||n===95||n>127&&lk(n,c3)}Ss.isES3IdentifierStart=l3;function u3(n){return n>=65&&n<=90||n>=97&&n<=122||n>=48&&n<=57||n===36||n===95||n>127&&lk(n,f3)}Ss.isES3IdentifierPart=u3;const c3=[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],f3=[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];var ho={};Object.defineProperty(ho,"__esModule",{value:!0});ho.legalizeName=void 0;const d3=Ke,h3=Ss;ho.legalizeName=(0,d3.utf16LegalizeCharacters)(h3.isES3IdentifierPart);Object.defineProperty(Tc,"__esModule",{value:!0});Tc.JavaScriptRenderer=void 0;const p3=Ve,m3=wt,Ag=qe,Sy=$e,y3=ti,g3=Uh,Fi=Ke,U_=Ce,x_=et(),b3=Ss,T3=ho,S3=(0,Ag.funPrefixNamer)("properties",n=>n);class v3 extends m3.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._jsOptions=i}nameStyle(e,t){const i=(0,y3.acronymStyle)(this._jsOptions.acronymStyle),r=(0,Fi.splitIntoWords)(e);return(0,Fi.combineWords)(r,T3.legalizeName,t?Fi.firstUpperWordStyle:Fi.allLowerWordStyle,Fi.firstUpperWordStyle,t?s=>(0,Fi.capitalize)(i(s)):Fi.allLowerWordStyle,i,"",b3.isES3IdentifierStart)}makeNamedTypeNamer(){return(0,Ag.funPrefixNamer)("types",e=>this.nameStyle(e,!0))}namerForObjectProperty(){return S3}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return(0,Ag.funPrefixNamer)("enum-cases",e=>this.nameStyle(e,!0))}namedTypeToNameForTopLevel(e){return(0,x_.directlyReachableSingleNamedType)(e)}makeNameForProperty(e,t,i,r,s){return super.makeNameForProperty(e,t,i,r,void 0)}emitDescriptionBlock(e){this.emitCommentLines(e,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}typeMapTypeFor(e){return["class","object","enum"].includes(e.kind)?['r("',this.nameForNamedType(e),'")']:(0,x_.matchType)(e,t=>'"any"',t=>"null",t=>"true",t=>"0",t=>"3.14",t=>'""',t=>["a(",this.typeMapTypeFor(t.items),")"],t=>(0,U_.panic)("We handled this above"),t=>["m(",this.typeMapTypeFor(t.values),")"],t=>(0,U_.panic)("We handled this above"),t=>{const i=Array.from(t.getChildren()).map(r=>this.typeMapTypeFor(r));return["u(",...(0,p3.arrayIntercalate)(", ",i),")"]},t=>t.kind==="date-time"?"Date":'""')}typeMapTypeForProperty(e){const t=this.typeMapTypeFor(e.type);return e.isOptional?["u(undefined, ",t,")"]:t}emitBlock(e,t,i){this.emitLine(e,"{"),this.indent(i),this.emitLine("}",t)}emitTypeMap(){const{any:e}=this.typeAnnotations;this.emitBlock(`const typeMap${e} = `,";",()=>{this.forEachObject("none",(t,i)=>{const r=t.getAdditionalProperties(),s=r!==void 0?this.typeMapTypeFor(r):"false";this.emitLine('"',i,'": o(['),this.indent(()=>{this.forEachClassProperty(t,"none",(o,a,c)=>{this.emitLine('{ json: "',(0,Fi.utf16StringEscape)(a),'", js: "',(0,Sy.modifySource)(Fi.utf16StringEscape,o),'", typ: ',this.typeMapTypeForProperty(c)," },")})}),this.emitLine("], ",s,"),")}),this.forEachEnum("none",(t,i)=>{this.emitLine('"',i,'": ['),this.indent(()=>{this.forEachEnumCase(t,"none",(r,s)=>{this.emitLine(`"${(0,Fi.utf16StringEscape)(s)}",`)})}),this.emitLine("],")})})}deserializerFunctionName(e){return["to",e]}deserializerFunctionLine(e,t){return["function ",this.deserializerFunctionName(t),"(json)"]}serializerFunctionName(e){return[(0,Sy.modifySource)(Fi.camelCase,e),"ToJson"]}serializerFunctionLine(e,t){return["function ",this.serializerFunctionName(t),"(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 e=(t,i)=>{const r=this.typeMapTypeFor(t);this.emitBlock([this.deserializerFunctionLine(t,i)," "],"",()=>{const s=this._jsOptions.rawType==="json"?"JSON.parse(json)":"json";this._jsOptions.runtimeTypecheck?this.emitLine("return cast(",s,", ",r,");"):this.emitLine("return ",s,";")}),this.ensureBlankLine(),this.emitBlock([this.serializerFunctionLine(t,i)," "],"",()=>{this._jsOptions.rawType==="json"?this._jsOptions.runtimeTypecheck?this.emitLine("return JSON.stringify(uncast(value, ",r,"), null, 2);"):this.emitLine("return JSON.stringify(value);"):this._jsOptions.runtimeTypecheck?this.emitLine("return uncast(value, ",r,");"):this.emitLine("return value;")})};switch(this._jsOptions.converters){case g3.ConvertersOptions.AllObjects:this.forEachObject("interposing",e);break;default:this.forEachTopLevel("interposing",e);break}}emitConvertModuleHelpers(){if(this._jsOptions.runtimeTypecheck){const{any:e,anyArray:t,anyMap:i,string:r,stringArray:s,never:o}=this.typeAnnotations;this.ensureBlankLine(),this.emitMultiline(`function invalidValue(typ${e}, val${e}, key${e}, parent${e} = '')${o} {
|
|
486
|
+
const prettyTyp = prettyTypeName(typ);
|
|
487
|
+
const parentText = parent ? \` on \${parent}\` : '';
|
|
488
|
+
const keyText = key ? \` for key "\${key}"\` : '';
|
|
489
|
+
throw Error(\`Invalid value\${keyText}\${parentText}. Expected \${prettyTyp} but got \${JSON.stringify(val)}\`);
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
function prettyTypeName(typ${e})${r} {
|
|
493
|
+
if (Array.isArray(typ)) {
|
|
494
|
+
if (typ.length === 2 && typ[0] === undefined) {
|
|
495
|
+
return \`an optional \${prettyTypeName(typ[1])}\`;
|
|
496
|
+
} else {
|
|
497
|
+
return \`one of [\${typ.map(a => { return prettyTypeName(a); }).join(", ")}]\`;
|
|
498
|
+
}
|
|
499
|
+
} else if (typeof typ === "object" && typ.literal !== undefined) {
|
|
500
|
+
return typ.literal;
|
|
501
|
+
} else {
|
|
502
|
+
return typeof typ;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
function jsonToJSProps(typ${e})${e} {
|
|
507
|
+
if (typ.jsonToJS === undefined) {
|
|
508
|
+
const map${e} = {};
|
|
509
|
+
typ.props.forEach((p${e}) => map[p.json] = { key: p.js, typ: p.typ });
|
|
510
|
+
typ.jsonToJS = map;
|
|
511
|
+
}
|
|
512
|
+
return typ.jsonToJS;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
function jsToJSONProps(typ${e})${e} {
|
|
516
|
+
if (typ.jsToJSON === undefined) {
|
|
517
|
+
const map${e} = {};
|
|
518
|
+
typ.props.forEach((p${e}) => map[p.js] = { key: p.json, typ: p.typ });
|
|
519
|
+
typ.jsToJSON = map;
|
|
520
|
+
}
|
|
521
|
+
return typ.jsToJSON;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
function transform(val${e}, typ${e}, getProps${e}, key${e} = '', parent${e} = '')${e} {
|
|
525
|
+
function transformPrimitive(typ${r}, val${e})${e} {
|
|
526
|
+
if (typeof typ === typeof val) return val;
|
|
527
|
+
return invalidValue(typ, val, key, parent);
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
function transformUnion(typs${t}, val${e})${e} {
|
|
531
|
+
// val must validate against one typ in typs
|
|
532
|
+
const l = typs.length;
|
|
533
|
+
for (let i = 0; i < l; i++) {
|
|
534
|
+
const typ = typs[i];
|
|
535
|
+
try {
|
|
536
|
+
return transform(val, typ, getProps);
|
|
537
|
+
} catch (_) {}
|
|
538
|
+
}
|
|
539
|
+
return invalidValue(typs, val, key, parent);
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
function transformEnum(cases${s}, val${e})${e} {
|
|
543
|
+
if (cases.indexOf(val) !== -1) return val;
|
|
544
|
+
return invalidValue(cases.map(a => { return l(a); }), val, key, parent);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
function transformArray(typ${e}, val${e})${e} {
|
|
548
|
+
// val must be an array with no invalid elements
|
|
549
|
+
if (!Array.isArray(val)) return invalidValue(l("array"), val, key, parent);
|
|
550
|
+
return val.map(el => transform(el, typ, getProps));
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
function transformDate(val${e})${e} {
|
|
554
|
+
if (val === null) {
|
|
555
|
+
return null;
|
|
556
|
+
}
|
|
557
|
+
const d = new Date(val);
|
|
558
|
+
if (isNaN(d.valueOf())) {
|
|
559
|
+
return invalidValue(l("Date"), val, key, parent);
|
|
560
|
+
}
|
|
561
|
+
return d;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
function transformObject(props${i}, additional${e}, val${e})${e} {
|
|
565
|
+
if (val === null || typeof val !== "object" || Array.isArray(val)) {
|
|
566
|
+
return invalidValue(l(ref || "object"), val, key, parent);
|
|
567
|
+
}
|
|
568
|
+
const result${e} = {};
|
|
569
|
+
Object.getOwnPropertyNames(props).forEach(key => {
|
|
570
|
+
const prop = props[key];
|
|
571
|
+
const v = Object.prototype.hasOwnProperty.call(val, key) ? val[key] : undefined;
|
|
572
|
+
result[prop.key] = transform(v, prop.typ, getProps, key, ref);
|
|
573
|
+
});
|
|
574
|
+
Object.getOwnPropertyNames(val).forEach(key => {
|
|
575
|
+
if (!Object.prototype.hasOwnProperty.call(props, key)) {
|
|
576
|
+
result[key] = ${this._jsOptions.runtimeTypecheckIgnoreUnknownProperties?"val[key]":"transform(val[key], additional, getProps, key, ref)"};
|
|
577
|
+
}
|
|
578
|
+
});
|
|
579
|
+
return result;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
if (typ === "any") return val;
|
|
583
|
+
if (typ === null) {
|
|
584
|
+
if (val === null) return val;
|
|
585
|
+
return invalidValue(typ, val, key, parent);
|
|
586
|
+
}
|
|
587
|
+
if (typ === false) return invalidValue(typ, val, key, parent);
|
|
588
|
+
let ref${e} = undefined;
|
|
589
|
+
while (typeof typ === "object" && typ.ref !== undefined) {
|
|
590
|
+
ref = typ.ref;
|
|
591
|
+
typ = typeMap[typ.ref];
|
|
592
|
+
}
|
|
593
|
+
if (Array.isArray(typ)) return transformEnum(typ, val);
|
|
594
|
+
if (typeof typ === "object") {
|
|
595
|
+
return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val)
|
|
596
|
+
: typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val)
|
|
597
|
+
: typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val)
|
|
598
|
+
: invalidValue(typ, val, key, parent);
|
|
599
|
+
}
|
|
600
|
+
// Numbers can be parsed by Date but shouldn't be.
|
|
601
|
+
if (typ === Date && typeof val !== "number") return transformDate(val);
|
|
602
|
+
return transformPrimitive(typ, val);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
${this.castFunctionLines[0]} {
|
|
606
|
+
return transform(val, typ, jsonToJSProps);
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
${this.castFunctionLines[1]} {
|
|
610
|
+
return transform(val, typ, jsToJSONProps);
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
function l(typ${e}) {
|
|
614
|
+
return { literal: typ };
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
function a(typ${e}) {
|
|
618
|
+
return { arrayItems: typ };
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
function u(...typs${t}) {
|
|
622
|
+
return { unionMembers: typs };
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
function o(props${t}, additional${e}) {
|
|
626
|
+
return { props, additional };
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
function m(additional${e}) {
|
|
630
|
+
return { props: [], additional };
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
function r(name${r}) {
|
|
634
|
+
return { ref: name };
|
|
635
|
+
}
|
|
636
|
+
`),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 e=this.moduleLine;e===void 0?this.emitConvertModuleBody():this.emitBlock([e," "],"",()=>this.emitConvertModuleBody())}emitTypes(){}emitUsageImportComment(){this.emitLine('// const Convert = require("./file");')}emitUsageComments(){this.emitMultiline(`// To parse this data:
|
|
637
|
+
//`),this.emitUsageImportComment(),this.emitLine("//"),this.forEachTopLevel("none",(e,t)=>{const i=(0,Sy.modifySource)(Fi.camelCase,t);this.emitLine("// const ",i," = Convert.to",t,"(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",(e,t)=>{const i=this.serializerFunctionName(t),r=this.deserializerFunctionName(t);this.emitLine('"',i,'": ',i,","),this.emitLine('"',r,'": ',r,",")})})}emitSourceStructure(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this.emitUsageComments(),this.emitTypes(),this.emitConvertModule(),this.emitConvertModuleHelpers(),this.emitModuleExports()}}Tc.JavaScriptRenderer=v3;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.JavaScriptTargetLanguage=n.javaScriptOptions=void 0;const e=pt,t=ti,i=Uh,r=Ot,s=Tc;n.javaScriptOptions={acronymStyle:(0,t.acronymOption)(t.AcronymStyleOptions.Pascal),runtimeTypecheck:new e.BooleanOption("runtime-typecheck","Verify JSON.parse results at runtime",!0),runtimeTypecheckIgnoreUnknownProperties:new e.BooleanOption("runtime-typecheck-ignore-unknown-properties","Ignore unknown properties when verifying at runtime",!1,"secondary"),converters:(0,i.convertersOption)(),rawType:new e.EnumOption("raw-type","Type of raw input (json by default)",[["json","json"],["any","any"]],"json","secondary")};class o extends r.TargetLanguage{constructor(c="JavaScript",f=["javascript","js","jsx"],d="js"){super(c,f,d)}getOptions(){return[n.javaScriptOptions.runtimeTypecheck,n.javaScriptOptions.runtimeTypecheckIgnoreUnknownProperties,n.javaScriptOptions.acronymStyle,n.javaScriptOptions.converters,n.javaScriptOptions.rawType]}get stringTypeMapping(){const c=new Map,f="date-time";return c.set("date",f),c.set("date-time",f),c}get supportsOptionalClassProperties(){return!0}get supportsFullObjectType(){return!0}makeRenderer(c,f){return new s.JavaScriptRenderer(this,c,(0,e.getOptionValues)(n.javaScriptOptions,f))}}n.JavaScriptTargetLanguage=o})(ak);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.JavaScriptRenderer=n.javaScriptOptions=n.JavaScriptTargetLanguage=void 0;var e=ak;Object.defineProperty(n,"JavaScriptTargetLanguage",{enumerable:!0,get:function(){return e.JavaScriptTargetLanguage}}),Object.defineProperty(n,"javaScriptOptions",{enumerable:!0,get:function(){return e.javaScriptOptions}});var t=Tc;Object.defineProperty(n,"JavaScriptRenderer",{enumerable:!0,get:function(){return t.JavaScriptRenderer}})})(bc);var Gb={},uk={},Sc={};Object.defineProperty(Sc,"__esModule",{value:!0});Sc.JavaScriptPropTypesRenderer=void 0;const _3=Ve,w3=wt,Fg=qe,L3=ti,Gs=Ke,J_=Ce,N3=rt(),z_=et(),k3=Ss,O3=ho,E3=(0,Fg.funPrefixNamer)("properties",n=>n);class C3 extends w3.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._jsOptions=i}nameStyle(e,t){const i=(0,L3.acronymStyle)(this._jsOptions.acronymStyle),r=(0,Gs.splitIntoWords)(e);return(0,Gs.combineWords)(r,O3.legalizeName,t?Gs.firstUpperWordStyle:Gs.allLowerWordStyle,Gs.firstUpperWordStyle,t?s=>(0,Gs.capitalize)(i(s)):Gs.allLowerWordStyle,i,"",k3.isES3IdentifierStart)}makeNamedTypeNamer(){return(0,Fg.funPrefixNamer)("types",e=>this.nameStyle(e,!0))}namerForObjectProperty(){return E3}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return(0,Fg.funPrefixNamer)("enum-cases",e=>this.nameStyle(e,!1))}namedTypeToNameForTopLevel(e){return(0,z_.directlyReachableSingleNamedType)(e)}makeNameForProperty(e,t,i,r,s){return super.makeNameForProperty(e,t,i,r,void 0)}typeMapTypeFor(e,t=!0){if(["class","object","enum"].includes(e.kind))return["_",this.nameForNamedType(e)];const i=(0,z_.matchType)(e,r=>"PropTypes.any",r=>"PropTypes.any",r=>"PropTypes.bool",r=>"PropTypes.number",r=>"PropTypes.number",r=>"PropTypes.string",r=>["PropTypes.arrayOf(",this.typeMapTypeFor(r.items,!1),")"],r=>(0,J_.panic)("Should already be handled."),r=>"PropTypes.object",r=>(0,J_.panic)("Should already be handled."),r=>{const s=Array.from(r.getChildren()).map(o=>this.typeMapTypeFor(o,!1));return["PropTypes.oneOfType([",...(0,_3.arrayIntercalate)(", ",s),"])"]},r=>"PropTypes.string");return t?[i]:i}typeMapTypeForProperty(e){return this.typeMapTypeFor(e.type)}importStatement(e,t){return this._jsOptions.moduleSystem?["import ",e," from ",t,";"]:["const ",e," = require(",t,");"]}emitUsageComments(){this.emitCommentLines(["Example usage:","",this.importStatement("{ MyShape }","./myShape.js"),"","class MyComponent extends React.Component {"," //","}","","MyComponent.propTypes = {"," input: MyShape","};"],{lineStart:"// "})}emitBlock(e,t,i){this.emitLine(e,"{"),this.indent(i),this.emitLine("}",t)}emitImports(){this.ensureBlankLine(),this.emitLine(this.importStatement("PropTypes",'"prop-types"'))}emitExport(e,t){this._jsOptions.moduleSystem?this.emitLine("export const ",e," = ",t,";"):this.emitLine("module.exports = exports = { ",e,": ",t," };")}emitTypes(){this.ensureBlankLine(),this.forEachObject("none",(r,s)=>{this.emitLine("let _",s,";")}),this.forEachEnum("none",(r,s)=>{const o=[];this.forEachEnumCase(r,"none",(a,c,f)=>{o.push("'"),o.push(a),o.push("'"),o.push(", ")}),o.pop(),this.emitLine(["const _",s," = PropTypes.oneOfType([",...o,"]);"])});const e=[],t=[],i=[];this.forEachObject("none",(r,s)=>{t.push(s),i.push(this.gatherSource(()=>this.emitObject(s,r)))}),t.forEach((r,s)=>{let o=0;i[s].filter(f=>f).forEach(f=>{const d=f;e.forEach(p=>{const y=p;t[y]===d&&(o=Math.max(o,y+1))})}),e.splice(o,0,s)}),e.forEach(r=>this.emitGatheredSource(i[r])),this.forEachTopLevel("none",(r,s)=>{r instanceof N3.PrimitiveType?(this.ensureBlankLine(),this.emitExport(s,this.typeMapTypeFor(r))):r.kind==="array"?(this.ensureBlankLine(),this.emitExport(s,["PropTypes.arrayOf(",this.typeMapTypeFor(r.items),")"])):(this.ensureBlankLine(),this.emitExport(s,["_",s]))})}emitObject(e,t){this.ensureBlankLine(),this.emitLine("_",e," = PropTypes.shape({"),this.indent(()=>{this.forEachClassProperty(t,"none",(i,r,s)=>{this.emitLine(`"${(0,Gs.utf16StringEscape)(r)}"`,": ",this.typeMapTypeForProperty(s),",")})}),this.emitLine("});")}emitSourceStructure(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this.emitUsageComments(),this.emitImports(),this.emitTypes()}}Sc.JavaScriptPropTypesRenderer=C3;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.JavaScriptPropTypesTargetLanguage=n.javaScriptPropTypesOptions=void 0;const e=pt,t=ti,i=Uh,r=Ot,s=Sc;n.javaScriptPropTypesOptions={acronymStyle:(0,t.acronymOption)(t.AcronymStyleOptions.Pascal),converters:(0,i.convertersOption)(),moduleSystem:new e.EnumOption("module-system","Which module system to use",[["common-js",!1],["es6",!0]],"es6")};class o extends r.TargetLanguage{getOptions(){return[n.javaScriptPropTypesOptions.acronymStyle,n.javaScriptPropTypesOptions.converters]}constructor(c="JavaScript PropTypes",f=["javascript-prop-types"],d="js"){super(c,f,d)}makeRenderer(c,f){return new s.JavaScriptPropTypesRenderer(this,c,(0,e.getOptionValues)(n.javaScriptPropTypesOptions,f))}}n.JavaScriptPropTypesTargetLanguage=o})(uk);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.JavaScriptPropTypesRenderer=n.javaScriptPropTypesOptions=n.JavaScriptPropTypesTargetLanguage=void 0;var e=uk;Object.defineProperty(n,"JavaScriptPropTypesTargetLanguage",{enumerable:!0,get:function(){return e.JavaScriptPropTypesTargetLanguage}}),Object.defineProperty(n,"javaScriptPropTypesOptions",{enumerable:!0,get:function(){return e.javaScriptPropTypesOptions}});var t=Sc;Object.defineProperty(n,"JavaScriptPropTypesRenderer",{enumerable:!0,get:function(){return t.JavaScriptPropTypesRenderer}})})(Gb);var qb={},xh={},vc={},Jh={};Object.defineProperty(Jh,"__esModule",{value:!0});Jh.namingFunction=void 0;const A3=qe,Do=Ke;Jh.namingFunction=(0,A3.funPrefixNamer)("namer",P3);const F3=(0,Do.legalizeCharacters)(n=>n>=32&&n<128&&n!==47);function P3(n){const e=(0,Do.splitIntoWords)(n);return(0,Do.combineWords)(e,F3,Do.firstUpperWordStyle,Do.firstUpperWordStyle,Do.allUpperWordStyle,Do.allUpperWordStyle,"",t=>!0)}Object.defineProperty(vc,"__esModule",{value:!0});vc.JSONSchemaRenderer=void 0;const W_=Ve,M3=Nh(),I3=wt,qs=Ce,R3=rt(),j3=et(),B3=Jh;class D3 extends I3.ConvenienceRenderer{makeNamedTypeNamer(){return B3.namingFunction}namerForObjectProperty(){return null}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return null}nameForType(e){return(0,qs.defined)(this.names.get(this.nameForNamedType(e)))}makeOneOf(e){const t=(0,W_.iterableFirst)(e);return t===void 0?(0,qs.panic)("Must have at least one type for oneOf"):e.size===1?this.schemaForType(t):{anyOf:Array.from(e).map(i=>this.schemaForType(i))}}makeRef(e){return{$ref:`#/definitions/${this.nameForType(e)}`}}addAttributesToSchema(e,t){const i=this.typeGraph.attributeStore.attributesForType(e);for(const[r,s]of i)r.addToSchema(t,e,s)}schemaForType(e){const t=(0,j3.matchTypeExhaustive)(e,i=>(0,qs.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=R3.transformedStringTypeTargetTypeKindsMap.get(i.kind);return r===void 0?(0,qs.panic)(`Unknown transformed string type ${i.kind}`):{type:"string",format:r.jsonSchema}});return t.$ref===void 0&&this.addAttributesToSchema(e,t),t}definitionForObject(e,t){let i,r;if(e.getProperties().size===0)i=void 0,r=void 0;else{const c={},f=[];for(const[d,p]of e.getProperties()){const y=this.schemaForType(p.type);y.description===void 0&&(0,M3.addDescriptionToSchema)(y,this.descriptionForClassProperty(e,d)),c[d]=y,p.isOptional||f.push(d)}i=c,r=f.sort()}const s=e.getAdditionalProperties(),a={type:"object",additionalProperties:s!==void 0?this.schemaForType(s):!1,properties:i,required:r,title:t};return this.addAttributesToSchema(e,a),a}definitionForUnion(e,t){const i=this.makeOneOf(e.sortedMembers);return t!==void 0&&(i.title=t),this.addAttributesToSchema(e,i),i}definitionForEnum(e,t){const i={type:"string",enum:Array.from(e.cases),title:t};return this.addAttributesToSchema(e,i),i}emitSourceStructure(){const e=this.topLevels.size===1?this.schemaForType((0,qs.defined)((0,W_.mapFirst)(this.topLevels))):{},t=Object.assign({$schema:"http://json-schema.org/draft-06/schema#"},e),i={};this.forEachObject("none",(r,s)=>{const o=(0,qs.defined)(this.names.get(s));i[o]=this.definitionForObject(r,o)}),this.forEachUnion("none",(r,s)=>{if(!this.unionNeedsName(r))return;const o=(0,qs.defined)(this.names.get(s));i[o]=this.definitionForUnion(r,o)}),this.forEachEnum("none",(r,s)=>{const o=(0,qs.defined)(this.names.get(s));i[o]=this.definitionForEnum(r,o)}),t.definitions=i,this.emitMultiline(JSON.stringify(t,void 0," "))}}vc.JSONSchemaRenderer=D3;Object.defineProperty(xh,"__esModule",{value:!0});xh.JSONSchemaTargetLanguage=void 0;const U3=Ot,x3=Al(),J3=vc;class z3 extends U3.TargetLanguage{constructor(){super("JSON Schema",["schema","json-schema"],"schema")}getOptions(){return[]}get stringTypeMapping(){return(0,x3.getNoStringTypeMapping)()}get supportsOptionalClassProperties(){return!0}get supportsFullObjectType(){return!0}makeRenderer(e,t){return new J3.JSONSchemaRenderer(this,e)}}xh.JSONSchemaTargetLanguage=z3;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.JSONSchemaRenderer=n.JSONSchemaTargetLanguage=void 0;var e=xh;Object.defineProperty(n,"JSONSchemaTargetLanguage",{enumerable:!0,get:function(){return e.JSONSchemaTargetLanguage}});var t=vc;Object.defineProperty(n,"JSONSchemaRenderer",{enumerable:!0,get:function(){return t.JSONSchemaRenderer}})})(qb);var Hb={},ck={},_c={},po={},zh={};Object.defineProperty(zh,"__esModule",{value:!0});zh.keywords=void 0;zh.keywords=["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"];var vs={};Object.defineProperty(vs,"__esModule",{value:!0});vs.stringEscape=vs.kotlinNameStyle=void 0;const On=Ke;function fk(n){return(0,On.isLetterOrUnderscore)(n)||(0,On.isNumeric)(n)}function W3(n){return fk(n)&&!(0,On.isDigit)(n)}const G3=(0,On.legalizeCharacters)(fk);function q3(n,e,t=On.allUpperWordStyle){const i=(0,On.splitIntoWords)(e);return(0,On.combineWords)(i,G3,n?On.firstUpperWordStyle:On.allLowerWordStyle,On.firstUpperWordStyle,n?On.allUpperWordStyle:On.allLowerWordStyle,t,"",W3)}vs.kotlinNameStyle=q3;function H3(n){return"\\u"+(0,On.intToHex)(n,4)}const V3=(0,On.utf32ConcatMap)((0,On.escapeNonPrintableMapper)(On.isPrintable,H3));function K3(n){return V3(n).replace(/\$/g,"\\$")}vs.stringEscape=K3;Object.defineProperty(po,"__esModule",{value:!0});po.KotlinRenderer=void 0;const G_=Wt,Z3=wt,rd=qe,q_=$e,vy=ti,H_=rt(),sd=et(),Q3=zh,hu=vs;class X3 extends Z3.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._kotlinOptions=i}forbiddenNamesForGlobalNamespace(){return Q3.keywords}forbiddenForObjectProperties(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(e,t){return{names:[],includeGlobalForbidden:!1}}topLevelNameStyle(e){return(0,hu.kotlinNameStyle)(!0,e)}makeNamedTypeNamer(){return(0,rd.funPrefixNamer)("upper",e=>(0,hu.kotlinNameStyle)(!0,e,(0,vy.acronymStyle)(this._kotlinOptions.acronymStyle)))}namerForObjectProperty(){return(0,rd.funPrefixNamer)("lower",e=>(0,hu.kotlinNameStyle)(!1,e,(0,vy.acronymStyle)(this._kotlinOptions.acronymStyle)))}makeUnionMemberNamer(){return(0,rd.funPrefixNamer)("upper",e=>(0,hu.kotlinNameStyle)(!0,e)+"Value")}makeEnumCaseNamer(){return(0,rd.funPrefixNamer)("upper",e=>(0,hu.kotlinNameStyle)(!0,e,(0,vy.acronymStyle)(this._kotlinOptions.acronymStyle)))}emitDescriptionBlock(e){this.emitCommentLines(e,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(e,t,i="curly"){const[r,s]=i==="curly"?["{","}"]:i==="paren"?["(",")"]:["{","})"];this.emitLine(e," ",r),this.indent(t),this.emitLine(s)}anySourceType(e){return["Any",e]}arrayType(e,t=!1,i=!1){return["List<",this.kotlinType(e.items,t),">"]}mapType(e,t=!1,i=!1){return["Map<String, ",this.kotlinType(e.values,t),">"]}kotlinType(e,t=!1,i=!1){const r=i?"":"?";return(0,sd.matchType)(e,s=>(0,q_.maybeAnnotated)(t,G_.anyTypeIssueAnnotation,this.anySourceType(r)),s=>(0,q_.maybeAnnotated)(t,G_.nullTypeIssueAnnotation,this.anySourceType(r)),s=>"Boolean",s=>"Long",s=>"Double",s=>"String",s=>this.arrayType(s,t),s=>this.nameForNamedType(s),s=>this.mapType(s,t),s=>this.nameForNamedType(s),s=>{const o=(0,sd.nullableFromUnion)(s);return o!==null?[this.kotlinType(o,t),r]:this.nameForNamedType(s)})}emitUsageHeader(){}emitHeader(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this.emitUsageHeader(),this.ensureBlankLine(),this.emitLine("package ",this._kotlinOptions.packageName),this.ensureBlankLine()}emitTopLevelPrimitive(e,t){const i=this.kotlinType(e);this.emitLine(["typealias ",t," = ",i,""])}emitTopLevelArray(e,t){const i=this.kotlinType(e.items);this.emitLine(["typealias ",t," = ArrayList<",i,">"])}emitTopLevelMap(e,t){const i=this.kotlinType(e.values);this.emitLine(["typealias ",t," = HashMap<String, ",i,">"])}emitEmptyClassDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitClassAnnotations(e,t),this.emitLine("class ",t,"()")}emitClassDefinition(e,t){if(e.getProperties().size===0){this.emitEmptyClassDefinition(e,t);return}const i=r=>r.isOptional?[this.kotlinType(r.type,!0,!0),"?"]:this.kotlinType(r.type,!0);this.emitDescription(this.descriptionForType(e)),this.emitClassAnnotations(e,t),this.emitLine("data class ",t," ("),this.indent(()=>{let r=e.getProperties().size,s=!0;this.forEachClassProperty(e,"none",(o,a,c)=>{const f=c.type.kind==="union"&&(0,sd.nullableFromUnion)(c.type)!==null,d=c.isOptional||c.type.kind==="null"||f,p=--r===0;let y=[];const h=this.descriptionForClassProperty(e,a);h!==void 0&&y.push(()=>this.emitDescription(h)),this.renameAttribute(o,a,!d,y),y.length>0&&!s&&this.ensureBlankLine();for(const S of y)S();this.emitLine("val ",o,": ",i(c),d?" = null":"",p?"":","),y.length>0&&!p&&this.ensureBlankLine(),s=!1})}),this.emitClassDefinitionMethods(e,t)}emitClassDefinitionMethods(e,t){this.emitLine(")")}emitClassAnnotations(e,t){}renameAttribute(e,t,i,r){}emitEnumDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitBlock(["enum class ",t],()=>{let i=e.cases.size;this.forEachEnumCase(e,"none",r=>{this.emitLine(r,--i===0?"":",")})})}emitUnionDefinition(e,t){function i(o){const a=o.kind;return a==="class"?a:"_"+a}this.emitDescription(this.descriptionForType(e));const[r,s]=(0,sd.removeNullFromUnion)(e,i);this.emitClassAnnotations(e,t),this.emitBlock(["sealed class ",t],()=>{{let o=[];this.forEachUnionMember(e,s,"none",null,(a,c)=>{o.push([["class ",a,"(val value: ",this.kotlinType(c),")"],[" : ",t,"()"]])}),r!==null&&o.push([["class ",this.nameForUnionMember(e,r),"()"],[" : ",t,"()"]]),this.emitTable(o)}this.emitUnionDefinitionMethods(e,s,r,t)})}emitUnionDefinitionMethods(e,t,i,r){}emitSourceStructure(){this.emitHeader(),this.forEachTopLevel("leading",(e,t)=>{e instanceof H_.ArrayType?this.emitTopLevelArray(e,t):e instanceof H_.MapType?this.emitTopLevelMap(e,t):e.isPrimitive()&&this.emitTopLevelPrimitive(e,t)}),this.forEachNamedType("leading-and-interposing",(e,t)=>this.emitClassDefinition(e,t),(e,t)=>this.emitEnumDefinition(e,t),(e,t)=>this.emitUnionDefinition(e,t))}}po.KotlinRenderer=X3;Object.defineProperty(_c,"__esModule",{value:!0});_c.KotlinJacksonRenderer=void 0;const pu=Ve,Y3=$e,$3=Ke,e8=Ce,V_=rt(),K_=et(),t8=po,_y=vs;class n8 extends t8.KotlinRenderer{constructor(e,t,i){super(e,t,i)}unionMemberJsonValueGuard(e,t){return(0,K_.matchType)(e,i=>"is Any",i=>"null",i=>"is BooleanNode",i=>"is IntNode, is LongNode",i=>"is DoubleNode",i=>"is TextNode",i=>"is ArrayNode",i=>"is ObjectNode",i=>"is ObjectNode",i=>"is TextNode",i=>(0,e8.mustNotHappen)())}emitUsageHeader(){this.emitLine("// To parse the JSON, install jackson-module-kotlin and do:"),this.emitLine("//"),this.forEachTopLevel("none",(e,t)=>{this.emitLine("// val ",(0,Y3.modifySource)($3.camelCase,t)," = ",t,".fromJson(jsonString)")})}emitHeader(){super.emitHeader(),this.emitMultiline(`import com.fasterxml.jackson.annotation.*
|
|
638
|
+
import com.fasterxml.jackson.core.*
|
|
639
|
+
import com.fasterxml.jackson.databind.*
|
|
640
|
+
import com.fasterxml.jackson.databind.deser.std.StdDeserializer
|
|
641
|
+
import com.fasterxml.jackson.databind.module.SimpleModule
|
|
642
|
+
import com.fasterxml.jackson.databind.node.*
|
|
643
|
+
import com.fasterxml.jackson.databind.ser.std.StdSerializer
|
|
644
|
+
import com.fasterxml.jackson.module.kotlin.*`);const e=(0,pu.iterableSome)(this.typeGraph.allNamedTypes(),r=>r instanceof V_.UnionType&&(0,K_.nullableFromUnion)(r)===null),t=(0,pu.iterableSome)(this.typeGraph.allNamedTypes(),r=>r instanceof V_.ClassType&&r.getProperties().size===0);(e||this.haveEnums||t)&&this.emitGenericConverter();let i=[];this.forEachEnum("none",(r,s)=>{i.push([["convert(",s,"::class,"],[" { ",s,".fromValue(it.asText()) },"],[' { "\\"${it.value}\\"" })']])}),this.forEachUnion("none",(r,s)=>{i.push([["convert(",s,"::class,"],[" { ",s,".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)")}),i.length>0&&this.indent(()=>this.emitTable(i)),this.emitLine("}")}emitTopLevelArray(e,t){const i=this.kotlinType(e.items);this.emitBlock(["class ",t,"(elements: Collection<",i,">) : ArrayList<",i,">(elements)"],()=>{this.emitLine("fun toJson() = mapper.writeValueAsString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("fun fromJson(json: String) = mapper.readValue<",t,">(json)")})})}emitTopLevelMap(e,t){const i=this.kotlinType(e.values);this.emitBlock(["class ",t,"(elements: Map<String, ",i,">) : HashMap<String, ",i,">(elements)"],()=>{this.emitLine("fun toJson() = mapper.writeValueAsString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("fun fromJson(json: String) = mapper.readValue<",t,">(json)")})})}jacksonRenameAttribute(e,t,i,r=!1){const s=(0,_y.stringEscape)(t),o=this.sourcelikeToString(e)!==s,a=[],c=t.startsWith("is"),f=[];return(o||c)&&f.push('"'+s+'"'),i&&f.push("required=true"),f.length>0&&(a.push(["@get:JsonProperty(",(0,pu.arrayIntercalate)(", ",f),")"]),a.push(["@field:JsonProperty(",(0,pu.arrayIntercalate)(", ",f),")"])),r&&(a.push("@get:JsonIgnore"),a.push("@field:JsonIgnore")),a.length===0?void 0:a}emitEmptyClassDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitLine("typealias ",t," = JsonNode")}emitClassDefinitionMethods(e,t){(0,pu.iterableSome)(this.topLevels,([r,s])=>s===e)?this.emitBlock(")",()=>{this.emitLine("fun toJson() = mapper.writeValueAsString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("fun fromJson(json: String) = mapper.readValue<",t,">(json)")})}):this.emitLine(")")}renameAttribute(e,t,i,r){const s=this.jacksonRenameAttribute(e,t,i);s!==void 0&&r.push(()=>this.emitLine(s))}emitEnumDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitBlock(["enum class ",t,"(val value: String)"],()=>{let i=e.cases.size;this.forEachEnumCase(e,"none",(r,s)=>{this.emitLine(r,`("${(0,_y.stringEscape)(s)}")`,--i===0?";":",")}),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitBlock(["fun fromValue(value: String): ",t," = when (value)"],()=>{let r=[];this.forEachEnumCase(e,"none",(s,o)=>{r.push([[`"${(0,_y.stringEscape)(o)}"`],[" -> ",s]])}),r.push([["else"],[" -> throw IllegalArgumentException()"]]),this.emitTable(r)})})})}emitGenericConverter(){this.ensureBlankLine(),this.emitMultiline(`
|
|
645
|
+
@Suppress("UNCHECKED_CAST")
|
|
646
|
+
private fun <T> ObjectMapper.convert(k: kotlin.reflect.KClass<*>, fromJson: (JsonNode) -> T, toJson: (T) -> String, isUnion: Boolean = false) = registerModule(SimpleModule().apply {
|
|
647
|
+
addSerializer(k.java as Class<T>, object : StdSerializer<T>(k.java as Class<T>) {
|
|
648
|
+
override fun serialize(value: T, gen: JsonGenerator, provider: SerializerProvider) = gen.writeRawValue(toJson(value))
|
|
649
|
+
})
|
|
650
|
+
addDeserializer(k.java as Class<T>, object : StdDeserializer<T>(k.java as Class<T>) {
|
|
651
|
+
override fun deserialize(p: JsonParser, ctxt: DeserializationContext) = fromJson(p.readValueAsTree())
|
|
652
|
+
})
|
|
653
|
+
})`)}emitUnionDefinitionMethods(e,t,i,r){this.ensureBlankLine(),this.emitLine("fun toJson(): String = mapper.writeValueAsString(when (this) {"),this.indent(()=>{let s=[];if(this.forEachUnionMember(e,t,"none",null,o=>{s.push([["is ",o],[" -> this.value"]])}),i!==null){const o=this.nameForUnionMember(e,i);s.push([["is ",o],[' -> "null"']])}this.emitTable(s)}),this.emitLine("})"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("fun fromJson(jn: JsonNode): ",r," = when (jn) {"),this.indent(()=>{let s=[];if(this.forEachUnionMember(e,t,"none",null,(o,a)=>{s.push([[this.unionMemberJsonValueGuard(a,"jn")],[" -> ",o,"(mapper.treeToValue(jn))"]])}),i!==null){const o=this.nameForUnionMember(e,i);s.push([[this.unionMemberJsonValueGuard(i,"jn")],[" -> ",o,"()"]])}s.push([["else"],[" -> throw IllegalArgumentException()"]]),this.emitTable(s)}),this.emitLine("}")})}}_c.KotlinJacksonRenderer=n8;var wc={};Object.defineProperty(wc,"__esModule",{value:!0});wc.KotlinKlaxonRenderer=void 0;const od=Ve,i8=$e,r8=Ke,Z_=Ce,Q_=rt(),wy=et(),s8=po,Ly=vs;class o8 extends s8.KotlinRenderer{constructor(e,t,i){super(e,t,i)}unionMemberFromJsonValue(e,t){return(0,wy.matchType)(e,i=>[t,".inside"],i=>"null",i=>[t,".boolean"],i=>["(",t,".int?.toLong() ?: ",t,".longValue)"],i=>[t,".double"],i=>[t,".string"],i=>[t,".array?.let { klaxon.parseFromJsonArray<",this.kotlinType(i.items),">(it) }"],i=>[t,".obj?.let { klaxon.parseFromJsonObject<",this.kotlinType(e),">(it) }"],i=>[t,".obj?.let { klaxon.parseFromJsonObject<",this.kotlinType(e),">(it) }"],i=>[t,".string?.let { ",this.kotlinType(i),".fromValue(it) }"],i=>(0,Z_.mustNotHappen)())}unionMemberJsonValueGuard(e,t){return(0,wy.matchType)(e,i=>"is Any",i=>"null",i=>"is Boolean",i=>"is Int, is Long",i=>"is Double",i=>"is String",i=>"is JsonArray<*>",i=>"is JsonObject",i=>"is JsonObject",i=>"is String",i=>(0,Z_.mustNotHappen)())}emitUsageHeader(){this.emitLine("// To parse the JSON, install Klaxon and do:"),this.emitLine("//"),this.forEachTopLevel("none",(e,t)=>{this.emitLine("// val ",(0,i8.modifySource)(r8.camelCase,t)," = ",t,".fromJson(jsonString)")})}emitHeader(){super.emitHeader(),this.emitLine("import com.beust.klaxon.*");const e=(0,od.iterableSome)(this.typeGraph.allNamedTypes(),r=>r instanceof Q_.UnionType&&(0,wy.nullableFromUnion)(r)===null),t=(0,od.iterableSome)(this.typeGraph.allNamedTypes(),r=>r instanceof Q_.ClassType&&r.getProperties().size===0);(e||this.haveEnums||t)&&this.emitGenericConverter();let i=[];t&&i.push([[".convert(JsonObject::class,"],[" { it.obj!! },"],[" { it.toJsonString() })"]]),this.forEachEnum("none",(r,s)=>{i.push([[".convert(",s,"::class,"],[" { ",s,".fromValue(it.string!!) },"],[' { "\\"${it.value}\\"" })']])}),this.forEachUnion("none",(r,s)=>{i.push([[".convert(",s,"::class,"],[" { ",s,".fromJson(it) },"],[" { it.toJson() }, true)"]])}),this.ensureBlankLine(),this.emitLine("private val klaxon = Klaxon()"),i.length>0&&this.indent(()=>this.emitTable(i))}emitTopLevelArray(e,t){const i=this.kotlinType(e.items);this.emitBlock(["class ",t,"(elements: Collection<",i,">) : ArrayList<",i,">(elements)"],()=>{this.emitLine("public fun toJson() = klaxon.toJsonString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("public fun fromJson(json: String) = ",t,"(klaxon.parseArray<",i,">(json)!!)")})})}emitTopLevelMap(e,t){const i=this.kotlinType(e.values);this.emitBlock(["class ",t,"(elements: Map<String, ",i,">) : HashMap<String, ",i,">(elements)"],()=>{this.emitLine("public fun toJson() = klaxon.toJsonString(this)"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitBlock(["public fun fromJson(json: String) = ",t],()=>{this.emitLine("klaxon.parseJsonObject(java.io.StringReader(json)) as Map<String, ",i,">")},"paren")})})}klaxonRenameAttribute(e,t,i=!1){const r=(0,Ly.stringEscape)(t),s=this.sourcelikeToString(e)!==r,o=[];return s&&o.push(['name = "',r,'"']),i&&o.push("ignored = true"),o.length===0?void 0:["@Json(",(0,od.arrayIntercalate)(", ",o),")"]}emitEmptyClassDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitLine("typealias ",t," = JsonObject")}emitClassDefinitionMethods(e,t){(0,od.iterableSome)(this.topLevels,([r,s])=>s===e)?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<",t,">(json)")})}):this.emitLine(")")}renameAttribute(e,t,i,r){const s=this.klaxonRenameAttribute(e,t);s!==void 0&&r.push(()=>this.emitLine(s))}emitEnumDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitBlock(["enum class ",t,"(val value: String)"],()=>{let i=e.cases.size;this.forEachEnumCase(e,"none",(r,s)=>{this.emitLine(r,`("${(0,Ly.stringEscape)(s)}")`,--i===0?";":",")}),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitBlock(["public fun fromValue(value: String): ",t," = when (value)"],()=>{let r=[];this.forEachEnumCase(e,"none",(s,o)=>{r.push([[`"${(0,Ly.stringEscape)(o)}"`],[" -> ",s]])}),r.push([["else"],[" -> throw IllegalArgumentException()"]]),this.emitTable(r)})})})}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(e,t,i,r){this.ensureBlankLine(),this.emitLine("public fun toJson(): String = klaxon.toJsonString(when (this) {"),this.indent(()=>{let s=[];if(this.forEachUnionMember(e,t,"none",null,o=>{s.push([["is ",o],[" -> this.value"]])}),i!==null){const o=this.nameForUnionMember(e,i);s.push([["is ",o],[' -> "null"']])}this.emitTable(s)}),this.emitLine("})"),this.ensureBlankLine(),this.emitBlock("companion object",()=>{this.emitLine("public fun fromJson(jv: JsonValue): ",r," = when (jv.inside) {"),this.indent(()=>{let s=[];if(this.forEachUnionMember(e,t,"none",null,(o,a)=>{s.push([[this.unionMemberJsonValueGuard(a,"jv.inside")],[" -> ",o,"(",this.unionMemberFromJsonValue(a,"jv"),"!!)"]])}),i!==null){const o=this.nameForUnionMember(e,i);s.push([[this.unionMemberJsonValueGuard(i,"jv.inside")],[" -> ",o,"()"]])}s.push([["else"],[" -> throw IllegalArgumentException()"]]),this.emitTable(s)}),this.emitLine("}")})}}wc.KotlinKlaxonRenderer=o8;var Lc={};Object.defineProperty(Lc,"__esModule",{value:!0});Lc.KotlinXRenderer=void 0;const a8=$e,l8=Ke,u8=po,X_=vs;class c8 extends u8.KotlinRenderer{constructor(e,t,i){super(e,t,i)}anySourceType(e){return["JsonElement",e]}arrayType(e,t=!1,i=!1){const r=this.kotlinType(e.items,t,!0),s=this.sourcelikeToString(r);return s==="JsonObject"||s==="JsonElement"?"JsonArray":super.arrayType(e,t,i)}mapType(e,t=!1,i=!1){const r=this.kotlinType(e.values,t,!0),s=this.sourcelikeToString(r);return s==="JsonObject"||s==="JsonElement"?"JsonObject":super.mapType(e,t,i)}emitTopLevelMap(e,t){this.kotlinType(e.values)==="JsonObject"?this.emitLine(["typealias ",t," = JsonObject"]):super.emitTopLevelMap(e,t)}emitTopLevelArray(e,t){const i=this.kotlinType(e.items);this.emitLine(["typealias ",t," = JsonArray<",i,">"])}emitUsageHeader(){this.emitLine("// To parse the JSON, install kotlin's serialization plugin and do:"),this.emitLine("//");const e=[];e.push(["// val ","json"," = Json { allowStructuredMapKeys = true }"]),this.forEachTopLevel("none",(t,i)=>{e.push(["// val ",(0,a8.modifySource)(l8.camelCase,i),` = json.parse(${this.sourcelikeToString(i)}.serializer(), jsonString)`])}),this.emitTable(e)}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(e,t){this.emitLine("@Serializable")}renameAttribute(e,t,i,r){const s=this._rename(e,t);s!==void 0&&r.push(()=>this.emitLine(s))}_rename(e,t){const i=(0,X_.stringEscape)(t);if(this.sourcelikeToString(e)!==i)return['@SerialName("',i,'")']}emitEnumDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitLine(["@Serializable"]),this.emitBlock(["enum class ",t,"(val value: String)"],()=>{let i=e.cases.size;this.forEachEnumCase(e,"none",(r,s)=>{const o=(0,X_.stringEscape)(s);this.emitLine(`@SerialName("${o}") `,r,`("${o}")`,--i===0?";":",")})})}}Lc.KotlinXRenderer=c8;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.KotlinTargetLanguage=n.kotlinOptions=n.Framework=void 0;const e=pt,t=ti,i=Ce,r=Ot,s=_c,o=wc,a=po,c=Lc;var f;(function(p){p.None="None",p.Jackson="Jackson",p.Klaxon="Klaxon",p.KotlinX="KotlinX"})(f=n.Framework||(n.Framework={})),n.kotlinOptions={framework:new e.EnumOption("framework","Serialization framework",[["just-types",f.None],["jackson",f.Jackson],["klaxon",f.Klaxon],["kotlinx",f.KotlinX]],"klaxon"),acronymStyle:(0,t.acronymOption)(t.AcronymStyleOptions.Pascal),packageName:new e.StringOption("package","Package","PACKAGE","quicktype")};class d extends r.TargetLanguage{constructor(){super("Kotlin",["kotlin"],"kt")}getOptions(){return[n.kotlinOptions.framework,n.kotlinOptions.acronymStyle,n.kotlinOptions.packageName]}get supportsOptionalClassProperties(){return!0}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(y,h){const S=(0,e.getOptionValues)(n.kotlinOptions,h);switch(S.framework){case f.None:return new a.KotlinRenderer(this,y,S);case f.Jackson:return new s.KotlinJacksonRenderer(this,y,S);case f.Klaxon:return new o.KotlinKlaxonRenderer(this,y,S);case f.KotlinX:return new c.KotlinXRenderer(this,y,S);default:return(0,i.assertNever)(S.framework)}}}n.KotlinTargetLanguage=d})(ck);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.KotlinXRenderer=n.KotlinKlaxonRenderer=n.KotlinJacksonRenderer=n.KotlinRenderer=n.kotlinOptions=n.KotlinTargetLanguage=void 0;var e=ck;Object.defineProperty(n,"KotlinTargetLanguage",{enumerable:!0,get:function(){return e.KotlinTargetLanguage}}),Object.defineProperty(n,"kotlinOptions",{enumerable:!0,get:function(){return e.kotlinOptions}});var t=po;Object.defineProperty(n,"KotlinRenderer",{enumerable:!0,get:function(){return t.KotlinRenderer}});var i=_c;Object.defineProperty(n,"KotlinJacksonRenderer",{enumerable:!0,get:function(){return i.KotlinJacksonRenderer}});var r=wc;Object.defineProperty(n,"KotlinKlaxonRenderer",{enumerable:!0,get:function(){return r.KotlinKlaxonRenderer}});var s=Lc;Object.defineProperty(n,"KotlinXRenderer",{enumerable:!0,get:function(){return s.KotlinXRenderer}})})(Hb);var Vb={},dk={},Nc={},ps={};Object.defineProperty(ps,"__esModule",{value:!0});ps.booleanPrefixes=ps.forbiddenPropertyNames=ps.keywords=void 0;ps.keywords=["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"];ps.forbiddenPropertyNames=["id","hash","description","init","copy","mutableCopy","superclass","debugDescription","new"];ps.booleanPrefixes=["is","are","were","was","will","all","some","many","has","have","had","does","do","requires","require","needs","need"];var Kb={};(function(n){var e=Ee&&Ee.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(n,"__esModule",{value:!0}),n.splitExtension=n.forbiddenForEnumCases=n.staticEnumValuesIdentifier=n.propertyNameStyle=n.typeNameStyle=n.DEFAULT_CLASS_PREFIX=void 0;const t=e(ca),i=Ke,r=ps;n.DEFAULT_CLASS_PREFIX="QT";function s(p,y){const h=(0,i.splitIntoWords)(y),S=(0,i.combineWords)(h,f,i.firstUpperWordStyle,i.firstUpperWordStyle,i.allUpperWordStyle,i.allUpperWordStyle,"",a);return(0,i.addPrefixIfNecessary)(p,S)}n.typeNameStyle=s;function o(p,y=!1){p==="id"&&(p="identifier");let h=(0,i.splitIntoWords)(p);return y&&(h.length===0?h=[{word:"flag",isAcronym:!1}]:!h[0].isAcronym&&!r.booleanPrefixes.includes(h[0].word)&&(h=[{word:"is",isAcronym:!1},...h])),h.length>0&&r.forbiddenPropertyNames.includes(h[0].word)&&(h=[{word:"the",isAcronym:!1},...h]),(0,i.combineWords)(h,f,i.allLowerWordStyle,i.firstUpperWordStyle,i.allLowerWordStyle,i.allUpperWordStyle,"",a)}n.propertyNameStyle=o;function a(p){return t.default.isAlphabetic(p)||p===95}function c(p){const y=t.default.getCategory(p);return["Nd","Pc","Mn","Mc"].includes(y)||a(p)}const f=(0,i.utf16LegalizeCharacters)(c);n.staticEnumValuesIdentifier="values",n.forbiddenForEnumCases=["new",n.staticEnumValuesIdentifier];function d(p){const y=p.lastIndexOf("."),h=y!==-1?p.split(".").pop():"m";return p=y!==-1?p.slice(0,y):p,[p,h??"m"]}n.splitExtension=d})(Kb);Object.defineProperty(Nc,"__esModule",{value:!0});Nc.ObjectiveCRenderer=void 0;const Eo=Ve,f8=wt,Ny=qe,d8=$e,os=Ke,ad=Ce,pi=rt(),qn=et(),Y_=ps,mi=Kb;class h8 extends f8.ConvenienceRenderer{constructor(e,t,i){if(super(e,t),this._options=i,i.classPrefix===mi.DEFAULT_CLASS_PREFIX){const r=(0,ad.defined)((0,Eo.iterableFirst)(this.topLevels.keys()));this._classPrefix=this.inferClassPrefix(r)}else this._classPrefix=i.classPrefix}inferClassPrefix(e){const t=e.length;let i=0;for(;i<t&&(0,os.fastIsUpperCase)(e.charCodeAt(i));)i+=1;return i<2?mi.DEFAULT_CLASS_PREFIX:e.slice(0,i-1)}forbiddenNamesForGlobalNamespace(){return Y_.keywords}forbiddenForObjectProperties(e,t){return{names:Y_.forbiddenPropertyNames,includeGlobalForbidden:!0}}forbiddenForEnumCases(e,t){return{names:mi.forbiddenForEnumCases,includeGlobalForbidden:!0}}makeNamedTypeNamer(){return(0,Ny.funPrefixNamer)("types",e=>(0,mi.typeNameStyle)(this._classPrefix,e))}namerForObjectProperty(e,t){return new Ny.Namer("properties",i=>(0,mi.propertyNameStyle)(i,t.type.kind==="bool"),["_","the","one","some","another"])}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return new Ny.Namer("enum-cases",mi.propertyNameStyle,[])}namedTypeToNameForTopLevel(e){return e}emitDescriptionBlock(e){this.emitCommentLines(e,{lineStart:"/// "})}emitBlock(e,t){this.emitLine(e," {"),this.indent(t),this.emitLine("}")}emitMethod(e,t){this.emitLine(e),this.emitLine("{"),this.indent(t),this.emitLine("}")}emitExtraComments(...e){if(this._options.extraComments)for(const t of e)this.emitLine("// ",t)}startFile(e,t){(0,ad.assert)(this._currentFilename===void 0,"Previous file wasn't finished"),this._currentFilename=`${this.sourcelikeToString(e)}.${t}`}finishFile(){super.finishFile((0,ad.defined)(this._currentFilename)),this._currentFilename=void 0}memoryAttribute(e,t){return(0,qn.matchType)(e,i=>"copy",i=>"copy",i=>t?"strong":"assign",i=>t?"strong":"assign",i=>t?"strong":"assign",i=>"copy",i=>"copy",i=>"strong",i=>"copy",i=>"assign",i=>{const r=(0,qn.nullableFromUnion)(i);return r!==null?this.memoryAttribute(r,!0):"copy"})}objcType(e,t=!1){return(0,qn.matchType)(e,i=>["id",""],i=>["id",""],i=>t?["NSNumber"," *"]:["BOOL",""],i=>t?["NSNumber"," *"]:["NSInteger",""],i=>t?["NSNumber"," *"]:["double",""],i=>["NSString"," *"],i=>{const r=i.items,s=this.objcType(r,!0);return(0,qn.isAnyOrNull)(r)?["NSArray"," *"]:[["NSArray<",s,">"]," *"]},i=>[this.nameForNamedType(i)," *"],i=>[["NSDictionary<NSString *, ",this.objcType(i.values,!0),">"]," *"],i=>[this.nameForNamedType(i)," *"],i=>{const r=(0,qn.nullableFromUnion)(i);return r!==null?this.objcType(r,!0):["id",""]})}jsonType(e){return(0,qn.matchType)(e,t=>["id",""],t=>["id",""],t=>["NSNumber"," *"],t=>["NSNumber"," *"],t=>["NSNumber"," *"],t=>["NSString"," *"],t=>["NSArray"," *"],t=>["NSDictionary<NSString *, id>"," *"],t=>[["NSDictionary<NSString *, ",this.jsonType(t.values),">"]," *"],t=>["NSString"," *"],t=>{const i=(0,qn.nullableFromUnion)(t);return i!==null?this.jsonType(i):["id",""]})}fromDynamicExpression(e,...t){return(0,qn.matchType)(e,i=>t,i=>t,i=>t,i=>t,i=>t,i=>t,i=>["map(",t,", λ(id x, ",this.fromDynamicExpression(i.items,"x"),"))"],i=>["[",this.nameForNamedType(i)," fromJSONDictionary:",t,"]"],i=>["map(",t,", λ(id x, ",this.fromDynamicExpression(i.values,"x"),"))"],i=>["[",this.nameForNamedType(i)," withValue:",t,"]"],i=>{const r=(0,qn.nullableFromUnion)(i);return r!==null?this.fromDynamicExpression(r,t):t})}toDynamicExpression(e,t){return(0,qn.matchType)(e,i=>["NSNullify(",t,")"],i=>["NSNullify(",t,")"],i=>[t," ? @YES : @NO"],i=>t,i=>t,i=>t,i=>this.implicitlyConvertsFromJSON(i)?t:["map(",t,", λ(id x, ",this.toDynamicExpression(i.items,"x"),"))"],i=>["[",t," JSONDictionary]"],i=>this.implicitlyConvertsFromJSON(i)?t:["map(",t,", λ(id x, ",this.toDynamicExpression(i.values,"x"),"))"],i=>["[",t," value]"],i=>{const r=(0,qn.nullableFromUnion)(i);return r!==null?this.implicitlyConvertsFromJSON(r)?["NSNullify(",t,")"]:["NSNullify(",this.toDynamicExpression(r,t),")"]:t})}implicitlyConvertsFromJSON(e){if(e instanceof pi.ClassType)return!1;if(e instanceof pi.EnumType)return!1;if(e instanceof pi.ArrayType)return this.implicitlyConvertsFromJSON(e.items);if(e instanceof pi.MapType)return this.implicitlyConvertsFromJSON(e.values);if(e.isPrimitive())return!0;if(e instanceof pi.UnionType){const t=(0,qn.nullableFromUnion)(e);return t!==null?this.implicitlyConvertsFromJSON(t):!0}else return!1}implicitlyConvertsToJSON(e){return this.implicitlyConvertsFromJSON(e)&&e.kind!=="bool"}emitPropertyAssignment(e,t,i){const r=["_",e];(0,qn.matchType)(i,s=>this.emitLine(r," = ",this.fromDynamicExpression(s,r),";"),s=>this.emitLine(r," = ",this.fromDynamicExpression(s,r),";"),s=>this.emitLine(r," = ",this.fromDynamicExpression(s,r),";"),s=>this.emitLine(r," = ",this.fromDynamicExpression(s,r),";"),s=>this.emitLine(r," = ",this.fromDynamicExpression(s,r),";"),s=>this.emitLine(r," = ",this.fromDynamicExpression(s,r),";"),s=>this.emitLine(r," = ",this.fromDynamicExpression(s,r),";"),s=>this.emitLine(r," = ",this.fromDynamicExpression(s,["(id)",r]),";"),s=>{const o=s.values;this.emitLine(r," = map(",r,", ",["λ(id x, ",this.fromDynamicExpression(o,"x"),")"],");")},s=>this.emitLine(r," = ",this.fromDynamicExpression(s,["(id)",r]),";"),s=>{const o=(0,qn.nullableFromUnion)(s);o!==null?this.emitPropertyAssignment(e,t,o):this.emitLine(r," = ",this.fromDynamicExpression(s,r),";")})}emitPrivateClassInterface(e,t){this.emitLine("@interface ",t," (JSONConversion)"),this.emitLine("+ (instancetype)fromJSONDictionary:(NSDictionary *)dict;"),this.emitLine("- (NSDictionary *)JSONDictionary;"),this.emitLine("@end")}pointerAwareTypeName(e){const t=e instanceof pi.Type?this.objcType(e):e;return t[1]!==""?t:[t," "]}emitNonClassTopLevelTypedef(e,t){let i=this.objcType(e)[0];this.emitLine("typedef ",i," ",t,";")}topLevelFromDataPrototype(e){return[e," *_Nullable ",e,"FromData(NSData *data, NSError **error)"]}topLevelFromJSONPrototype(e){return[e," *_Nullable ",e,"FromJSON(NSString *json, NSStringEncoding encoding, NSError **error)"]}topLevelToDataPrototype(e,t=!1){const i=this.variableNameForTopLevel(e);return["NSData",t?(0,os.repeatString)(" ",this.sourcelikeToString(e).length-6):""," *_Nullable ",e,"ToData(",e," *",i,", NSError **error)"]}topLevelToJSONPrototype(e,t=!1){const i=this.variableNameForTopLevel(e);return["NSString",t?(0,os.repeatString)(" ",this.sourcelikeToString(e).length-8):""," *_Nullable ",e,"ToJSON(",e," *",i,", NSStringEncoding encoding, NSError **error)"]}emitTopLevelFunctionDeclarations(e,t){this.emitLine(this.topLevelFromDataPrototype(t),";"),this.emitLine(this.topLevelFromJSONPrototype(t),";"),this.emitLine(this.topLevelToDataPrototype(t,!0),";"),this.emitLine(this.topLevelToJSONPrototype(t,!0),";")}emitTryCatchAsError(e,t){this.emitLine("@try {"),this.indent(e),this.emitLine("} @catch (NSException *exception) {"),this.indent(()=>{this.emitLine('*error = [NSError errorWithDomain:@"JSONSerialization" code:-1 userInfo:@{ @"exception": exception }];'),t()}),this.emitLine("}")}emitTopLevelFunctions(e,t){const i=this.variableNameForTopLevel(t);this.ensureBlankLine(),this.emitMethod(this.topLevelFromDataPrototype(t),()=>{this.emitTryCatchAsError(()=>{this.emitLine("id json = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:error];"),this.emitLine("return *error ? nil : ",this.fromDynamicExpression(e,"json"),";")},()=>this.emitLine("return nil;"))}),this.ensureBlankLine(),this.emitMethod(this.topLevelFromJSONPrototype(t),()=>{this.emitLine("return ",t,"FromData([json dataUsingEncoding:encoding], error);")}),this.ensureBlankLine(),this.emitMethod(this.topLevelToDataPrototype(t),()=>{this.emitTryCatchAsError(()=>{this.emitLine("id json = ",this.toDynamicExpression(e,i),";"),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(t),()=>{this.emitLine("NSData *data = ",t,"ToData(",i,", error);"),this.emitLine("return data ? [[NSString alloc] initWithData:data encoding:encoding] : nil;")})}emitClassInterface(e,t){const i=(0,Eo.mapContains)(this.topLevels,e);this.emitDescription(this.descriptionForType(e)),this.emitLine("@interface ",t," : NSObject"),this.emitPropertyTable(e,(r,s,o)=>{let a=["nonatomic"];return o.type.isNullable&&a.push("nullable"),a.push(this.memoryAttribute(o.type,o.type.isNullable)),[["@property ",["(",a.join(", "),")"]," "],[this.pointerAwareTypeName(o.type),r,";"]]}),!this._options.justTypes&&i&&(e.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(e){let t=!1;return this.forEachClassProperty(e,"none",(i,r)=>{t=t||(0,os.stringEscape)(r)!==this.sourcelikeToString(i)}),t}hasUnsafeProperties(e){let t=!1;return this.forEachClassProperty(e,"none",(i,r,s)=>{t=t||!this.implicitlyConvertsToJSON(s.type)}),t}emitClassImplementation(e,t){const i=(0,Eo.mapContains)(this.topLevels,e),r=this.hasIrregularProperties(e),s=this.hasUnsafeProperties(e);this.emitLine("@implementation ",t),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(e,"none",(o,a)=>this.emitLine(`@"${(0,os.stringEscape)(a)}": @"`,o,'",'))}),this.emitLine("};")}),this.ensureBlankLine(),i&&(this.emitMethod("+ (_Nullable instancetype)fromData:(NSData *)data error:(NSError *_Nullable *)error",()=>{this.emitLine("return ",t,"FromData(data, error);")}),this.ensureBlankLine(),this.emitMethod("+ (_Nullable instancetype)fromJSON:(NSString *)json encoding:(NSStringEncoding)encoding error:(NSError *_Nullable *)error",()=>{this.emitLine("return ",t,"FromJSON(json, encoding, error);")}),this.ensureBlankLine()),this.emitMethod("+ (instancetype)fromJSONDictionary:(NSDictionary *)dict",()=>{this.emitLine("return dict ? [[",t," 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(e,"none",(o,a,c)=>{this.implicitlyConvertsFromJSON(c.type)||this.emitPropertyAssignment(o,a,c.type)})}),this.emitLine("return self;")}),this.ensureBlankLine(),this.emitMethod("- (void)setValue:(nullable id)value forKey:(NSString *)key",()=>{this.emitLine("id resolved = ",t,".properties[key];"),this.emitLine("if (resolved) [super setValue:value forKey:resolved];")}),this.ensureBlankLine(),this.emitMethod("- (void)setNilValueForKey:(NSString *)key",()=>{this.emitLine("id resolved = ",t,".properties[key];"),this.emitLine("if (resolved) [super setValue:@(0) forKey:resolved];")}),this.ensureBlankLine(),this.emitMethod("- (NSDictionary *)JSONDictionary",()=>{if(!r&&!s){this.emitLine("return [self dictionaryWithValuesForKeys:",t,".properties.allValues];");return}this.emitLine("id dict = [[self dictionaryWithValuesForKeys:",t,".properties.allValues] mutableCopy];"),this.ensureBlankLine(),r&&(this.emitExtraComments("Rewrite property names that differ in JSON"),this.emitBlock(["for (id jsonName in ",t,".properties)"],()=>{this.emitLine("id propertyName = ",t,".properties[jsonName];"),this.emitBlock("if (![jsonName isEqualToString:propertyName])",()=>{this.emitLine("dict[jsonName] = dict[propertyName];"),this.emitLine("[dict removeObjectForKey:propertyName];")})})),s&&(this.ensureBlankLine(),this.emitExtraComments("Map values that need translation"),this.emitLine("[dict addEntriesFromDictionary:@{"),this.indent(()=>{this.forEachClassProperty(e,"none",(o,a,c)=>{if(!this.implicitlyConvertsToJSON(c.type)){const f=(0,os.stringEscape)(a),d=["_",o];this.emitLine('@"',f,'": ',this.toDynamicExpression(c.type,d),",")}})}),this.emitLine("}];")),this.ensureBlankLine(),this.emitLine("return dict;")}),i&&(this.ensureBlankLine(),this.emitMethod("- (NSData *_Nullable)toData:(NSError *_Nullable *)error",()=>{this.emitLine("return ",t,"ToData(self, error);")}),this.ensureBlankLine(),this.emitMethod("- (NSString *_Nullable)toJSON:(NSStringEncoding)encoding error:(NSError *_Nullable *)error",()=>{this.emitLine("return ",t,"ToJSON(self, encoding, error);")}))),this.emitLine("@end")}emitMark(e){this.ensureBlankLine(),this.emitLine(`#pragma mark - ${e}`),this.ensureBlankLine()}variableNameForTopLevel(e){return(0,d8.modifySource)(i=>(i=i.slice(this._classPrefix.length),(0,os.camelCase)(i)),e)}emitPseudoEnumInterface(e,t){this.emitDescription(this.descriptionForType(e)),this.emitLine("@interface ",t," : NSObject"),this.emitLine("@property (nonatomic, readonly, copy) NSString *value;"),this.emitLine("+ (instancetype _Nullable)withValue:(NSString *)value;"),this.forEachEnumCase(e,"none",(i,r)=>{this.emitLine("+ (",t," *)",i,";")}),this.emitLine("@end")}emitPseudoEnumImplementation(e,t){this.emitLine("@implementation ",t);const i=[t,".",mi.staticEnumValuesIdentifier];this.emitMethod(["+ (NSDictionary<NSString *, ",t," *> *)",mi.staticEnumValuesIdentifier],()=>{this.emitLine("static NSDictionary<NSString *, ",t," *> *",mi.staticEnumValuesIdentifier,";"),this.emitLine("return ",mi.staticEnumValuesIdentifier," = ",mi.staticEnumValuesIdentifier," ? ",mi.staticEnumValuesIdentifier," : @{"),this.indent(()=>{this.forEachEnumCase(e,"none",(r,s)=>{const o=['@"',(0,os.stringEscape)(s),'"'];this.emitLine(o,": [[",t," alloc] initWithValue:",o,"],")})}),this.emitLine("};")}),this.ensureBlankLine(),this.forEachEnumCase(e,"none",(r,s)=>{this.emitLine("+ (",t," *)",r," { return ",i,'[@"',(0,os.stringEscape)(s),'"]; }')}),this.ensureBlankLine(),this.emitMethod("+ (instancetype _Nullable)withValue:(NSString *)value",()=>this.emitLine("return ",i,"[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(e){if(!(e!=="stdout")){const s=(0,ad.defined)((0,Eo.mapFirst)(this.topLevels));e=this.sourcelikeToString(this.nameForNamedType(s))+".m"}const[i,r]=(0,mi.splitExtension)(e);if(this._options.features.interface){this.startFile(i,"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",(o,a)=>{const c=o instanceof pi.ClassType?["[",a," fromJSON:json encoding:NSUTF8Encoding error:&error];"]:[a,"FromJSON(json, NSUTF8Encoding, &error);"];this.emitLine("// ",a," *",this.variableNameForTopLevel(a)," = ",c)})),this.ensureBlankLine(),this.emitLine("#import <Foundation/Foundation.h>"),this.ensureBlankLine(),this.forEachNamedType("none",(o,a)=>this.emitLine("@class ",a,";"),(o,a)=>this.emitLine("@class ",a,";"),()=>null),this.ensureBlankLine(),this.ensureBlankLine(),this.emitLine("NS_ASSUME_NONNULL_BEGIN"),this.ensureBlankLine(),this.haveEnums&&(this.emitMark("Boxed enums"),this.forEachEnum("leading-and-interposing",(o,a)=>this.emitPseudoEnumInterface(o,a))),this.forEachTopLevel("leading-and-interposing",(o,a)=>this.emitNonClassTopLevelTypedef(o,a),o=>!(o instanceof pi.ClassType));const s=(0,Eo.iterableSome)(this.topLevels,([o,a])=>!(a instanceof pi.ClassType));!this._options.justTypes&&(s||this._options.marshallingFunctions)&&(this.ensureBlankLine(),this.emitMark("Top-level marshaling functions"),this.forEachTopLevel("leading-and-interposing",(o,a)=>this.emitTopLevelFunctionDeclarations(o,a),o=>this._options.marshallingFunctions||!(o instanceof pi.ClassType))),this.emitMark("Object interfaces"),this.forEachNamedType("leading-and-interposing",(o,a)=>this.emitClassInterface(o,a),()=>null,()=>null),this.ensureBlankLine(),this.emitLine("NS_ASSUME_NONNULL_END"),this.finishFile()}this._options.features.implementation&&(this.startFile(i,r),this.emitLine(`#import "${i}.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",(s,o)=>this.emitPrivateClassInterface(s,o),()=>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",(s,o)=>this.emitPseudoEnumImplementation(s,o))),this.ensureBlankLine(),this.emitMapFunction(),this.ensureBlankLine(),this.emitMark("JSON serialization"),this.forEachTopLevel("leading-and-interposing",(s,o)=>this.emitTopLevelFunctions(s,o))),this.forEachNamedType("leading-and-interposing",(s,o)=>this.emitClassImplementation(s,o),()=>null,()=>null),this._options.justTypes||(this.ensureBlankLine(),this.emitLine("NS_ASSUME_NONNULL_END")),this.finishFile())}get needsMap(){function e(t){return t instanceof pi.MapType||t instanceof pi.ArrayType||t instanceof pi.ClassType&&(0,Eo.mapSome)(t.getProperties(),i=>e(i.type))}return(0,Eo.iterableSome)(this.typeGraph.allTypesUnordered(),e)}emitMapFunction(){this.needsMap&&this.emitMultiline(`static id map(id collection, id (^f)(id value)) {
|
|
654
|
+
id result = nil;
|
|
655
|
+
if ([collection isKindOfClass:NSArray.class]) {
|
|
656
|
+
result = [NSMutableArray arrayWithCapacity:[collection count]];
|
|
657
|
+
for (id x in collection) [result addObject:f(x)];
|
|
658
|
+
} else if ([collection isKindOfClass:NSDictionary.class]) {
|
|
659
|
+
result = [NSMutableDictionary dictionaryWithCapacity:[collection count]];
|
|
660
|
+
for (id key in collection) [result setObject:f([collection objectForKey:key]) forKey:key];
|
|
661
|
+
}
|
|
662
|
+
return result;
|
|
663
|
+
}`)}}Nc.ObjectiveCRenderer=h8;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.ObjectiveCTargetLanguage=n.objectiveCOptions=void 0;const e=pt,t=Ot,i=Nc,r=Kb;n.objectiveCOptions={features:new e.EnumOption("features","Interface and implementation",[["all",{interface:!0,implementation:!0}],["interface",{interface:!0,implementation:!1}],["implementation",{interface:!1,implementation:!0}]]),justTypes:new e.BooleanOption("just-types","Plain types only",!1),marshallingFunctions:new e.BooleanOption("functions","C-style functions",!1),classPrefix:new e.StringOption("class-prefix","Class prefix","PREFIX",r.DEFAULT_CLASS_PREFIX),extraComments:new e.BooleanOption("extra-comments","Extra comments",!1)};class s extends t.TargetLanguage{constructor(){super("Objective-C",["objc","objective-c","objectivec"],"m")}getOptions(){return[n.objectiveCOptions.justTypes,n.objectiveCOptions.classPrefix,n.objectiveCOptions.features,n.objectiveCOptions.extraComments,n.objectiveCOptions.marshallingFunctions]}makeRenderer(a,c){return new i.ObjectiveCRenderer(this,a,(0,e.getOptionValues)(n.objectiveCOptions,c))}}n.ObjectiveCTargetLanguage=s})(dk);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.ObjectiveCRenderer=n.objectiveCOptions=n.ObjectiveCTargetLanguage=void 0;var e=dk;Object.defineProperty(n,"ObjectiveCTargetLanguage",{enumerable:!0,get:function(){return e.ObjectiveCTargetLanguage}}),Object.defineProperty(n,"objectiveCOptions",{enumerable:!0,get:function(){return e.objectiveCOptions}});var t=Nc;Object.defineProperty(n,"ObjectiveCRenderer",{enumerable:!0,get:function(){return t.ObjectiveCRenderer}})})(Vb);var Zb={},hk={},Qd={exports:{}};/**
|
|
664
|
+
* @license
|
|
665
|
+
* Lodash <https://lodash.com/>
|
|
666
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
667
|
+
* Released under MIT license <https://lodash.com/license>
|
|
668
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
669
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
670
|
+
*/Qd.exports;(function(n,e){(function(){var t,i="4.17.21",r=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",a="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",f=500,d="__lodash_placeholder__",p=1,y=2,h=4,S=1,m=2,v=1,C=2,U=4,x=8,J=16,D=32,K=64,X=128,E=256,j=512,ne=30,se="...",re=800,T=16,b=1,w=2,L=3,M=1/0,z=9007199254740991,q=17976931348623157e292,H=NaN,$=4294967295,fe=$-1,I=$>>>1,W=[["ary",X],["bind",v],["bindKey",C],["curry",x],["curryRight",J],["flip",j],["partial",D],["partialRight",K],["rearg",E]],F="[object Arguments]",Y="[object Array]",de="[object AsyncFunction]",ve="[object Boolean]",Le="[object Date]",Fe="[object DOMException]",Pe="[object Error]",Me="[object Function]",te="[object GeneratorFunction]",ue="[object Map]",ie="[object Number]",R="[object Null]",N="[object Object]",A="[object Promise]",V="[object Proxy]",le="[object RegExp]",Te="[object Set]",ye="[object String]",Ie="[object Symbol]",Ue="[object Undefined]",ce="[object WeakMap]",me="[object WeakSet]",P="[object ArrayBuffer]",_="[object DataView]",O="[object Float32Array]",Z="[object Float64Array]",pe="[object Int8Array]",Se="[object Int16Array]",we="[object Int32Array]",We="[object Uint8Array]",ft="[object Uint8ClampedArray]",yt="[object Uint16Array]",dt="[object Uint32Array]",Be=/\b__p \+= '';/g,nt=/\b(__p \+=) '' \+/g,tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Qe=/&(?:amp|lt|gt|quot|#39);/g,Pt=/[&<>"']/g,xn=RegExp(Qe.source),mn=RegExp(Pt.source),An=/<%-([\s\S]+?)%>/g,Jr=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,oe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Re=/^\w*$/,je=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ze=/[\\^$.*+?()[\]{}|]/g,dn=RegExp(ze.source),_n=/^\s+/,Wc=/\s/,zr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Gc=/\{\n\/\* \[wrapped with (.+)\] \*/,vp=/,? & /,qc=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Hc=/[()=,{}\[\]\/\s]/,Dl=/\\(\\)?/g,Ul=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_a=/\w*$/,go=/^[-+]0x[0-9a-f]+$/i,Wr=/^0b[01]+$/i,Hi=/^\[object .+?Constructor\]$/,fE=/^0o[0-7]+$/i,dE=/^(?:0|[1-9]\d*)$/,hE=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Vc=/($^)/,pE=/['\n\r\u2028\u2029\\]/g,Kc="\\ud800-\\udfff",mE="\\u0300-\\u036f",yE="\\ufe20-\\ufe2f",gE="\\u20d0-\\u20ff",F0=mE+yE+gE,P0="\\u2700-\\u27bf",M0="a-z\\xdf-\\xf6\\xf8-\\xff",bE="\\xac\\xb1\\xd7\\xf7",TE="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",SE="\\u2000-\\u206f",vE=" \\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",I0="A-Z\\xc0-\\xd6\\xd8-\\xde",R0="\\ufe0e\\ufe0f",j0=bE+TE+SE+vE,_p="['’]",_E="["+Kc+"]",B0="["+j0+"]",Zc="["+F0+"]",D0="\\d+",wE="["+P0+"]",U0="["+M0+"]",x0="[^"+Kc+j0+D0+P0+M0+I0+"]",wp="\\ud83c[\\udffb-\\udfff]",LE="(?:"+Zc+"|"+wp+")",J0="[^"+Kc+"]",Lp="(?:\\ud83c[\\udde6-\\uddff]){2}",Np="[\\ud800-\\udbff][\\udc00-\\udfff]",wa="["+I0+"]",z0="\\u200d",W0="(?:"+U0+"|"+x0+")",NE="(?:"+wa+"|"+x0+")",G0="(?:"+_p+"(?:d|ll|m|re|s|t|ve))?",q0="(?:"+_p+"(?:D|LL|M|RE|S|T|VE))?",H0=LE+"?",V0="["+R0+"]?",kE="(?:"+z0+"(?:"+[J0,Lp,Np].join("|")+")"+V0+H0+")*",OE="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",EE="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",K0=V0+H0+kE,CE="(?:"+[wE,Lp,Np].join("|")+")"+K0,AE="(?:"+[J0+Zc+"?",Zc,Lp,Np,_E].join("|")+")",FE=RegExp(_p,"g"),PE=RegExp(Zc,"g"),kp=RegExp(wp+"(?="+wp+")|"+AE+K0,"g"),ME=RegExp([wa+"?"+U0+"+"+G0+"(?="+[B0,wa,"$"].join("|")+")",NE+"+"+q0+"(?="+[B0,wa+W0,"$"].join("|")+")",wa+"?"+W0+"+"+G0,wa+"+"+q0,EE,OE,D0,CE].join("|"),"g"),IE=RegExp("["+z0+Kc+F0+R0+"]"),RE=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,jE=["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"],BE=-1,It={};It[O]=It[Z]=It[pe]=It[Se]=It[we]=It[We]=It[ft]=It[yt]=It[dt]=!0,It[F]=It[Y]=It[P]=It[ve]=It[_]=It[Le]=It[Pe]=It[Me]=It[ue]=It[ie]=It[N]=It[le]=It[Te]=It[ye]=It[ce]=!1;var Mt={};Mt[F]=Mt[Y]=Mt[P]=Mt[_]=Mt[ve]=Mt[Le]=Mt[O]=Mt[Z]=Mt[pe]=Mt[Se]=Mt[we]=Mt[ue]=Mt[ie]=Mt[N]=Mt[le]=Mt[Te]=Mt[ye]=Mt[Ie]=Mt[We]=Mt[ft]=Mt[yt]=Mt[dt]=!0,Mt[Pe]=Mt[Me]=Mt[ce]=!1;var DE={À:"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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<":"<",">":">",'"':""","'":"'"},xE={"&":"&","<":"<",">":">",""":'"',"'":"'"},JE={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},zE=parseFloat,WE=parseInt,Z0=typeof Ee=="object"&&Ee&&Ee.Object===Object&&Ee,GE=typeof self=="object"&&self&&self.Object===Object&&self,yn=Z0||GE||Function("return this")(),Op=e&&!e.nodeType&&e,bo=Op&&!0&&n&&!n.nodeType&&n,Q0=bo&&bo.exports===Op,Ep=Q0&&Z0.process,vi=function(){try{var ge=bo&&bo.require&&bo.require("util").types;return ge||Ep&&Ep.binding&&Ep.binding("util")}catch{}}(),X0=vi&&vi.isArrayBuffer,Y0=vi&&vi.isDate,$0=vi&&vi.isMap,eT=vi&&vi.isRegExp,tT=vi&&vi.isSet,nT=vi&&vi.isTypedArray;function ii(ge,Ne,_e){switch(_e.length){case 0:return ge.call(Ne);case 1:return ge.call(Ne,_e[0]);case 2:return ge.call(Ne,_e[0],_e[1]);case 3:return ge.call(Ne,_e[0],_e[1],_e[2])}return ge.apply(Ne,_e)}function qE(ge,Ne,_e,Je){for(var it=-1,vt=ge==null?0:ge.length;++it<vt;){var an=ge[it];Ne(Je,an,_e(an),ge)}return Je}function _i(ge,Ne){for(var _e=-1,Je=ge==null?0:ge.length;++_e<Je&&Ne(ge[_e],_e,ge)!==!1;);return ge}function HE(ge,Ne){for(var _e=ge==null?0:ge.length;_e--&&Ne(ge[_e],_e,ge)!==!1;);return ge}function iT(ge,Ne){for(var _e=-1,Je=ge==null?0:ge.length;++_e<Je;)if(!Ne(ge[_e],_e,ge))return!1;return!0}function Cs(ge,Ne){for(var _e=-1,Je=ge==null?0:ge.length,it=0,vt=[];++_e<Je;){var an=ge[_e];Ne(an,_e,ge)&&(vt[it++]=an)}return vt}function Qc(ge,Ne){var _e=ge==null?0:ge.length;return!!_e&&La(ge,Ne,0)>-1}function Cp(ge,Ne,_e){for(var Je=-1,it=ge==null?0:ge.length;++Je<it;)if(_e(Ne,ge[Je]))return!0;return!1}function Dt(ge,Ne){for(var _e=-1,Je=ge==null?0:ge.length,it=Array(Je);++_e<Je;)it[_e]=Ne(ge[_e],_e,ge);return it}function As(ge,Ne){for(var _e=-1,Je=Ne.length,it=ge.length;++_e<Je;)ge[it+_e]=Ne[_e];return ge}function Ap(ge,Ne,_e,Je){var it=-1,vt=ge==null?0:ge.length;for(Je&&vt&&(_e=ge[++it]);++it<vt;)_e=Ne(_e,ge[it],it,ge);return _e}function VE(ge,Ne,_e,Je){var it=ge==null?0:ge.length;for(Je&&it&&(_e=ge[--it]);it--;)_e=Ne(_e,ge[it],it,ge);return _e}function Fp(ge,Ne){for(var _e=-1,Je=ge==null?0:ge.length;++_e<Je;)if(Ne(ge[_e],_e,ge))return!0;return!1}var KE=Pp("length");function ZE(ge){return ge.split("")}function QE(ge){return ge.match(qc)||[]}function rT(ge,Ne,_e){var Je;return _e(ge,function(it,vt,an){if(Ne(it,vt,an))return Je=vt,!1}),Je}function Xc(ge,Ne,_e,Je){for(var it=ge.length,vt=_e+(Je?1:-1);Je?vt--:++vt<it;)if(Ne(ge[vt],vt,ge))return vt;return-1}function La(ge,Ne,_e){return Ne===Ne?lC(ge,Ne,_e):Xc(ge,sT,_e)}function XE(ge,Ne,_e,Je){for(var it=_e-1,vt=ge.length;++it<vt;)if(Je(ge[it],Ne))return it;return-1}function sT(ge){return ge!==ge}function oT(ge,Ne){var _e=ge==null?0:ge.length;return _e?Ip(ge,Ne)/_e:H}function Pp(ge){return function(Ne){return Ne==null?t:Ne[ge]}}function Mp(ge){return function(Ne){return ge==null?t:ge[Ne]}}function aT(ge,Ne,_e,Je,it){return it(ge,function(vt,an,Ct){_e=Je?(Je=!1,vt):Ne(_e,vt,an,Ct)}),_e}function YE(ge,Ne){var _e=ge.length;for(ge.sort(Ne);_e--;)ge[_e]=ge[_e].value;return ge}function Ip(ge,Ne){for(var _e,Je=-1,it=ge.length;++Je<it;){var vt=Ne(ge[Je]);vt!==t&&(_e=_e===t?vt:_e+vt)}return _e}function Rp(ge,Ne){for(var _e=-1,Je=Array(ge);++_e<ge;)Je[_e]=Ne(_e);return Je}function $E(ge,Ne){return Dt(Ne,function(_e){return[_e,ge[_e]]})}function lT(ge){return ge&&ge.slice(0,dT(ge)+1).replace(_n,"")}function ri(ge){return function(Ne){return ge(Ne)}}function jp(ge,Ne){return Dt(Ne,function(_e){return ge[_e]})}function xl(ge,Ne){return ge.has(Ne)}function uT(ge,Ne){for(var _e=-1,Je=ge.length;++_e<Je&&La(Ne,ge[_e],0)>-1;);return _e}function cT(ge,Ne){for(var _e=ge.length;_e--&&La(Ne,ge[_e],0)>-1;);return _e}function eC(ge,Ne){for(var _e=ge.length,Je=0;_e--;)ge[_e]===Ne&&++Je;return Je}var tC=Mp(DE),nC=Mp(UE);function iC(ge){return"\\"+JE[ge]}function rC(ge,Ne){return ge==null?t:ge[Ne]}function Na(ge){return IE.test(ge)}function sC(ge){return RE.test(ge)}function oC(ge){for(var Ne,_e=[];!(Ne=ge.next()).done;)_e.push(Ne.value);return _e}function Bp(ge){var Ne=-1,_e=Array(ge.size);return ge.forEach(function(Je,it){_e[++Ne]=[it,Je]}),_e}function fT(ge,Ne){return function(_e){return ge(Ne(_e))}}function Fs(ge,Ne){for(var _e=-1,Je=ge.length,it=0,vt=[];++_e<Je;){var an=ge[_e];(an===Ne||an===d)&&(ge[_e]=d,vt[it++]=_e)}return vt}function Yc(ge){var Ne=-1,_e=Array(ge.size);return ge.forEach(function(Je){_e[++Ne]=Je}),_e}function aC(ge){var Ne=-1,_e=Array(ge.size);return ge.forEach(function(Je){_e[++Ne]=[Je,Je]}),_e}function lC(ge,Ne,_e){for(var Je=_e-1,it=ge.length;++Je<it;)if(ge[Je]===Ne)return Je;return-1}function uC(ge,Ne,_e){for(var Je=_e+1;Je--;)if(ge[Je]===Ne)return Je;return Je}function ka(ge){return Na(ge)?fC(ge):KE(ge)}function Vi(ge){return Na(ge)?dC(ge):ZE(ge)}function dT(ge){for(var Ne=ge.length;Ne--&&Wc.test(ge.charAt(Ne)););return Ne}var cC=Mp(xE);function fC(ge){for(var Ne=kp.lastIndex=0;kp.test(ge);)++Ne;return Ne}function dC(ge){return ge.match(kp)||[]}function hC(ge){return ge.match(ME)||[]}var pC=function ge(Ne){Ne=Ne==null?yn:Oa.defaults(yn.Object(),Ne,Oa.pick(yn,jE));var _e=Ne.Array,Je=Ne.Date,it=Ne.Error,vt=Ne.Function,an=Ne.Math,Ct=Ne.Object,Dp=Ne.RegExp,mC=Ne.String,wi=Ne.TypeError,$c=_e.prototype,yC=vt.prototype,Ea=Ct.prototype,ef=Ne["__core-js_shared__"],tf=yC.toString,Nt=Ea.hasOwnProperty,gC=0,hT=function(){var l=/[^.]+$/.exec(ef&&ef.keys&&ef.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}(),nf=Ea.toString,bC=tf.call(Ct),TC=yn._,SC=Dp("^"+tf.call(Nt).replace(ze,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),rf=Q0?Ne.Buffer:t,Ps=Ne.Symbol,sf=Ne.Uint8Array,pT=rf?rf.allocUnsafe:t,of=fT(Ct.getPrototypeOf,Ct),mT=Ct.create,yT=Ea.propertyIsEnumerable,af=$c.splice,gT=Ps?Ps.isConcatSpreadable:t,Jl=Ps?Ps.iterator:t,To=Ps?Ps.toStringTag:t,lf=function(){try{var l=Lo(Ct,"defineProperty");return l({},"",{}),l}catch{}}(),vC=Ne.clearTimeout!==yn.clearTimeout&&Ne.clearTimeout,_C=Je&&Je.now!==yn.Date.now&&Je.now,wC=Ne.setTimeout!==yn.setTimeout&&Ne.setTimeout,uf=an.ceil,cf=an.floor,Up=Ct.getOwnPropertySymbols,LC=rf?rf.isBuffer:t,bT=Ne.isFinite,NC=$c.join,kC=fT(Ct.keys,Ct),ln=an.max,wn=an.min,OC=Je.now,EC=Ne.parseInt,TT=an.random,CC=$c.reverse,xp=Lo(Ne,"DataView"),zl=Lo(Ne,"Map"),Jp=Lo(Ne,"Promise"),Ca=Lo(Ne,"Set"),Wl=Lo(Ne,"WeakMap"),Gl=Lo(Ct,"create"),ff=Wl&&new Wl,Aa={},AC=No(xp),FC=No(zl),PC=No(Jp),MC=No(Ca),IC=No(Wl),df=Ps?Ps.prototype:t,ql=df?df.valueOf:t,ST=df?df.toString:t;function G(l){if(Ht(l)&&!st(l)&&!(l instanceof mt)){if(l instanceof Li)return l;if(Nt.call(l,"__wrapped__"))return vS(l)}return new Li(l)}var Fa=function(){function l(){}return function(u){if(!Gt(u))return{};if(mT)return mT(u);l.prototype=u;var g=new l;return l.prototype=t,g}}();function hf(){}function Li(l,u){this.__wrapped__=l,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}G.templateSettings={escape:An,evaluate:Jr,interpolate:ee,variable:"",imports:{_:G}},G.prototype=hf.prototype,G.prototype.constructor=G,Li.prototype=Fa(hf.prototype),Li.prototype.constructor=Li;function mt(l){this.__wrapped__=l,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$,this.__views__=[]}function RC(){var l=new mt(this.__wrapped__);return l.__actions__=Jn(this.__actions__),l.__dir__=this.__dir__,l.__filtered__=this.__filtered__,l.__iteratees__=Jn(this.__iteratees__),l.__takeCount__=this.__takeCount__,l.__views__=Jn(this.__views__),l}function jC(){if(this.__filtered__){var l=new mt(this);l.__dir__=-1,l.__filtered__=!0}else l=this.clone(),l.__dir__*=-1;return l}function BC(){var l=this.__wrapped__.value(),u=this.__dir__,g=st(l),k=u<0,B=g?l.length:0,Q=ZA(0,B,this.__views__),ae=Q.start,he=Q.end,be=he-ae,ke=k?he:ae-1,Oe=this.__iteratees__,Ae=Oe.length,De=0,Ge=wn(be,this.__takeCount__);if(!g||!k&&B==be&&Ge==be)return GT(l,this.__actions__);var Xe=[];e:for(;be--&&De<Ge;){ke+=u;for(var ut=-1,Ye=l[ke];++ut<Ae;){var ht=Oe[ut],gt=ht.iteratee,ai=ht.type,Mn=gt(Ye);if(ai==w)Ye=Mn;else if(!Mn){if(ai==b)continue e;break e}}Xe[De++]=Ye}return Xe}mt.prototype=Fa(hf.prototype),mt.prototype.constructor=mt;function So(l){var u=-1,g=l==null?0:l.length;for(this.clear();++u<g;){var k=l[u];this.set(k[0],k[1])}}function DC(){this.__data__=Gl?Gl(null):{},this.size=0}function UC(l){var u=this.has(l)&&delete this.__data__[l];return this.size-=u?1:0,u}function xC(l){var u=this.__data__;if(Gl){var g=u[l];return g===c?t:g}return Nt.call(u,l)?u[l]:t}function JC(l){var u=this.__data__;return Gl?u[l]!==t:Nt.call(u,l)}function zC(l,u){var g=this.__data__;return this.size+=this.has(l)?0:1,g[l]=Gl&&u===t?c:u,this}So.prototype.clear=DC,So.prototype.delete=UC,So.prototype.get=xC,So.prototype.has=JC,So.prototype.set=zC;function Gr(l){var u=-1,g=l==null?0:l.length;for(this.clear();++u<g;){var k=l[u];this.set(k[0],k[1])}}function WC(){this.__data__=[],this.size=0}function GC(l){var u=this.__data__,g=pf(u,l);if(g<0)return!1;var k=u.length-1;return g==k?u.pop():af.call(u,g,1),--this.size,!0}function qC(l){var u=this.__data__,g=pf(u,l);return g<0?t:u[g][1]}function HC(l){return pf(this.__data__,l)>-1}function VC(l,u){var g=this.__data__,k=pf(g,l);return k<0?(++this.size,g.push([l,u])):g[k][1]=u,this}Gr.prototype.clear=WC,Gr.prototype.delete=GC,Gr.prototype.get=qC,Gr.prototype.has=HC,Gr.prototype.set=VC;function qr(l){var u=-1,g=l==null?0:l.length;for(this.clear();++u<g;){var k=l[u];this.set(k[0],k[1])}}function KC(){this.size=0,this.__data__={hash:new So,map:new(zl||Gr),string:new So}}function ZC(l){var u=kf(this,l).delete(l);return this.size-=u?1:0,u}function QC(l){return kf(this,l).get(l)}function XC(l){return kf(this,l).has(l)}function YC(l,u){var g=kf(this,l),k=g.size;return g.set(l,u),this.size+=g.size==k?0:1,this}qr.prototype.clear=KC,qr.prototype.delete=ZC,qr.prototype.get=QC,qr.prototype.has=XC,qr.prototype.set=YC;function vo(l){var u=-1,g=l==null?0:l.length;for(this.__data__=new qr;++u<g;)this.add(l[u])}function $C(l){return this.__data__.set(l,c),this}function eA(l){return this.__data__.has(l)}vo.prototype.add=vo.prototype.push=$C,vo.prototype.has=eA;function Ki(l){var u=this.__data__=new Gr(l);this.size=u.size}function tA(){this.__data__=new Gr,this.size=0}function nA(l){var u=this.__data__,g=u.delete(l);return this.size=u.size,g}function iA(l){return this.__data__.get(l)}function rA(l){return this.__data__.has(l)}function sA(l,u){var g=this.__data__;if(g instanceof Gr){var k=g.__data__;if(!zl||k.length<r-1)return k.push([l,u]),this.size=++g.size,this;g=this.__data__=new qr(k)}return g.set(l,u),this.size=g.size,this}Ki.prototype.clear=tA,Ki.prototype.delete=nA,Ki.prototype.get=iA,Ki.prototype.has=rA,Ki.prototype.set=sA;function vT(l,u){var g=st(l),k=!g&&ko(l),B=!g&&!k&&Bs(l),Q=!g&&!k&&!B&&Ra(l),ae=g||k||B||Q,he=ae?Rp(l.length,mC):[],be=he.length;for(var ke in l)(u||Nt.call(l,ke))&&!(ae&&(ke=="length"||B&&(ke=="offset"||ke=="parent")||Q&&(ke=="buffer"||ke=="byteLength"||ke=="byteOffset")||Zr(ke,be)))&&he.push(ke);return he}function _T(l){var u=l.length;return u?l[Yp(0,u-1)]:t}function oA(l,u){return Of(Jn(l),_o(u,0,l.length))}function aA(l){return Of(Jn(l))}function zp(l,u,g){(g!==t&&!Zi(l[u],g)||g===t&&!(u in l))&&Hr(l,u,g)}function Hl(l,u,g){var k=l[u];(!(Nt.call(l,u)&&Zi(k,g))||g===t&&!(u in l))&&Hr(l,u,g)}function pf(l,u){for(var g=l.length;g--;)if(Zi(l[g][0],u))return g;return-1}function lA(l,u,g,k){return Ms(l,function(B,Q,ae){u(k,B,g(B),ae)}),k}function wT(l,u){return l&&fr(u,hn(u),l)}function uA(l,u){return l&&fr(u,Wn(u),l)}function Hr(l,u,g){u=="__proto__"&&lf?lf(l,u,{configurable:!0,enumerable:!0,value:g,writable:!0}):l[u]=g}function Wp(l,u){for(var g=-1,k=u.length,B=_e(k),Q=l==null;++g<k;)B[g]=Q?t:wm(l,u[g]);return B}function _o(l,u,g){return l===l&&(g!==t&&(l=l<=g?l:g),u!==t&&(l=l>=u?l:u)),l}function Ni(l,u,g,k,B,Q){var ae,he=u&p,be=u&y,ke=u&h;if(g&&(ae=B?g(l,k,B,Q):g(l)),ae!==t)return ae;if(!Gt(l))return l;var Oe=st(l);if(Oe){if(ae=XA(l),!he)return Jn(l,ae)}else{var Ae=Ln(l),De=Ae==Me||Ae==te;if(Bs(l))return VT(l,he);if(Ae==N||Ae==F||De&&!B){if(ae=be||De?{}:dS(l),!he)return be?xA(l,uA(ae,l)):UA(l,wT(ae,l))}else{if(!Mt[Ae])return B?l:{};ae=YA(l,Ae,he)}}Q||(Q=new Ki);var Ge=Q.get(l);if(Ge)return Ge;Q.set(l,ae),JS(l)?l.forEach(function(Ye){ae.add(Ni(Ye,u,g,Ye,l,Q))}):US(l)&&l.forEach(function(Ye,ht){ae.set(ht,Ni(Ye,u,g,ht,l,Q))});var Xe=ke?be?um:lm:be?Wn:hn,ut=Oe?t:Xe(l);return _i(ut||l,function(Ye,ht){ut&&(ht=Ye,Ye=l[ht]),Hl(ae,ht,Ni(Ye,u,g,ht,l,Q))}),ae}function cA(l){var u=hn(l);return function(g){return LT(g,l,u)}}function LT(l,u,g){var k=g.length;if(l==null)return!k;for(l=Ct(l);k--;){var B=g[k],Q=u[B],ae=l[B];if(ae===t&&!(B in l)||!Q(ae))return!1}return!0}function NT(l,u,g){if(typeof l!="function")throw new wi(o);return $l(function(){l.apply(t,g)},u)}function Vl(l,u,g,k){var B=-1,Q=Qc,ae=!0,he=l.length,be=[],ke=u.length;if(!he)return be;g&&(u=Dt(u,ri(g))),k?(Q=Cp,ae=!1):u.length>=r&&(Q=xl,ae=!1,u=new vo(u));e:for(;++B<he;){var Oe=l[B],Ae=g==null?Oe:g(Oe);if(Oe=k||Oe!==0?Oe:0,ae&&Ae===Ae){for(var De=ke;De--;)if(u[De]===Ae)continue e;be.push(Oe)}else Q(u,Ae,k)||be.push(Oe)}return be}var Ms=YT(cr),kT=YT(qp,!0);function fA(l,u){var g=!0;return Ms(l,function(k,B,Q){return g=!!u(k,B,Q),g}),g}function mf(l,u,g){for(var k=-1,B=l.length;++k<B;){var Q=l[k],ae=u(Q);if(ae!=null&&(he===t?ae===ae&&!oi(ae):g(ae,he)))var he=ae,be=Q}return be}function dA(l,u,g,k){var B=l.length;for(g=at(g),g<0&&(g=-g>B?0:B+g),k=k===t||k>B?B:at(k),k<0&&(k+=B),k=g>k?0:WS(k);g<k;)l[g++]=u;return l}function OT(l,u){var g=[];return Ms(l,function(k,B,Q){u(k,B,Q)&&g.push(k)}),g}function gn(l,u,g,k,B){var Q=-1,ae=l.length;for(g||(g=eF),B||(B=[]);++Q<ae;){var he=l[Q];u>0&&g(he)?u>1?gn(he,u-1,g,k,B):As(B,he):k||(B[B.length]=he)}return B}var Gp=$T(),ET=$T(!0);function cr(l,u){return l&&Gp(l,u,hn)}function qp(l,u){return l&&ET(l,u,hn)}function yf(l,u){return Cs(u,function(g){return Qr(l[g])})}function wo(l,u){u=Rs(u,l);for(var g=0,k=u.length;l!=null&&g<k;)l=l[dr(u[g++])];return g&&g==k?l:t}function CT(l,u,g){var k=u(l);return st(l)?k:As(k,g(l))}function Fn(l){return l==null?l===t?Ue:R:To&&To in Ct(l)?KA(l):aF(l)}function Hp(l,u){return l>u}function hA(l,u){return l!=null&&Nt.call(l,u)}function pA(l,u){return l!=null&&u in Ct(l)}function mA(l,u,g){return l>=wn(u,g)&&l<ln(u,g)}function Vp(l,u,g){for(var k=g?Cp:Qc,B=l[0].length,Q=l.length,ae=Q,he=_e(Q),be=1/0,ke=[];ae--;){var Oe=l[ae];ae&&u&&(Oe=Dt(Oe,ri(u))),be=wn(Oe.length,be),he[ae]=!g&&(u||B>=120&&Oe.length>=120)?new vo(ae&&Oe):t}Oe=l[0];var Ae=-1,De=he[0];e:for(;++Ae<B&&ke.length<be;){var Ge=Oe[Ae],Xe=u?u(Ge):Ge;if(Ge=g||Ge!==0?Ge:0,!(De?xl(De,Xe):k(ke,Xe,g))){for(ae=Q;--ae;){var ut=he[ae];if(!(ut?xl(ut,Xe):k(l[ae],Xe,g)))continue e}De&&De.push(Xe),ke.push(Ge)}}return ke}function yA(l,u,g,k){return cr(l,function(B,Q,ae){u(k,g(B),Q,ae)}),k}function Kl(l,u,g){u=Rs(u,l),l=yS(l,u);var k=l==null?l:l[dr(Oi(u))];return k==null?t:ii(k,l,g)}function AT(l){return Ht(l)&&Fn(l)==F}function gA(l){return Ht(l)&&Fn(l)==P}function bA(l){return Ht(l)&&Fn(l)==Le}function Zl(l,u,g,k,B){return l===u?!0:l==null||u==null||!Ht(l)&&!Ht(u)?l!==l&&u!==u:TA(l,u,g,k,Zl,B)}function TA(l,u,g,k,B,Q){var ae=st(l),he=st(u),be=ae?Y:Ln(l),ke=he?Y:Ln(u);be=be==F?N:be,ke=ke==F?N:ke;var Oe=be==N,Ae=ke==N,De=be==ke;if(De&&Bs(l)){if(!Bs(u))return!1;ae=!0,Oe=!1}if(De&&!Oe)return Q||(Q=new Ki),ae||Ra(l)?uS(l,u,g,k,B,Q):HA(l,u,be,g,k,B,Q);if(!(g&S)){var Ge=Oe&&Nt.call(l,"__wrapped__"),Xe=Ae&&Nt.call(u,"__wrapped__");if(Ge||Xe){var ut=Ge?l.value():l,Ye=Xe?u.value():u;return Q||(Q=new Ki),B(ut,Ye,g,k,Q)}}return De?(Q||(Q=new Ki),VA(l,u,g,k,B,Q)):!1}function SA(l){return Ht(l)&&Ln(l)==ue}function Kp(l,u,g,k){var B=g.length,Q=B,ae=!k;if(l==null)return!Q;for(l=Ct(l);B--;){var he=g[B];if(ae&&he[2]?he[1]!==l[he[0]]:!(he[0]in l))return!1}for(;++B<Q;){he=g[B];var be=he[0],ke=l[be],Oe=he[1];if(ae&&he[2]){if(ke===t&&!(be in l))return!1}else{var Ae=new Ki;if(k)var De=k(ke,Oe,be,l,u,Ae);if(!(De===t?Zl(Oe,ke,S|m,k,Ae):De))return!1}}return!0}function FT(l){if(!Gt(l)||nF(l))return!1;var u=Qr(l)?SC:Hi;return u.test(No(l))}function vA(l){return Ht(l)&&Fn(l)==le}function _A(l){return Ht(l)&&Ln(l)==Te}function wA(l){return Ht(l)&&Mf(l.length)&&!!It[Fn(l)]}function PT(l){return typeof l=="function"?l:l==null?Gn:typeof l=="object"?st(l)?RT(l[0],l[1]):IT(l):ev(l)}function Zp(l){if(!Yl(l))return kC(l);var u=[];for(var g in Ct(l))Nt.call(l,g)&&g!="constructor"&&u.push(g);return u}function LA(l){if(!Gt(l))return oF(l);var u=Yl(l),g=[];for(var k in l)k=="constructor"&&(u||!Nt.call(l,k))||g.push(k);return g}function Qp(l,u){return l<u}function MT(l,u){var g=-1,k=zn(l)?_e(l.length):[];return Ms(l,function(B,Q,ae){k[++g]=u(B,Q,ae)}),k}function IT(l){var u=fm(l);return u.length==1&&u[0][2]?pS(u[0][0],u[0][1]):function(g){return g===l||Kp(g,l,u)}}function RT(l,u){return hm(l)&&hS(u)?pS(dr(l),u):function(g){var k=wm(g,l);return k===t&&k===u?Lm(g,l):Zl(u,k,S|m)}}function gf(l,u,g,k,B){l!==u&&Gp(u,function(Q,ae){if(B||(B=new Ki),Gt(Q))NA(l,u,ae,g,gf,k,B);else{var he=k?k(mm(l,ae),Q,ae+"",l,u,B):t;he===t&&(he=Q),zp(l,ae,he)}},Wn)}function NA(l,u,g,k,B,Q,ae){var he=mm(l,g),be=mm(u,g),ke=ae.get(be);if(ke){zp(l,g,ke);return}var Oe=Q?Q(he,be,g+"",l,u,ae):t,Ae=Oe===t;if(Ae){var De=st(be),Ge=!De&&Bs(be),Xe=!De&&!Ge&&Ra(be);Oe=be,De||Ge||Xe?st(he)?Oe=he:en(he)?Oe=Jn(he):Ge?(Ae=!1,Oe=VT(be,!0)):Xe?(Ae=!1,Oe=KT(be,!0)):Oe=[]:eu(be)||ko(be)?(Oe=he,ko(he)?Oe=GS(he):(!Gt(he)||Qr(he))&&(Oe=dS(be))):Ae=!1}Ae&&(ae.set(be,Oe),B(Oe,be,k,Q,ae),ae.delete(be)),zp(l,g,Oe)}function jT(l,u){var g=l.length;if(g)return u+=u<0?g:0,Zr(u,g)?l[u]:t}function BT(l,u,g){u.length?u=Dt(u,function(Q){return st(Q)?function(ae){return wo(ae,Q.length===1?Q[0]:Q)}:Q}):u=[Gn];var k=-1;u=Dt(u,ri(Ze()));var B=MT(l,function(Q,ae,he){var be=Dt(u,function(ke){return ke(Q)});return{criteria:be,index:++k,value:Q}});return YE(B,function(Q,ae){return DA(Q,ae,g)})}function kA(l,u){return DT(l,u,function(g,k){return Lm(l,k)})}function DT(l,u,g){for(var k=-1,B=u.length,Q={};++k<B;){var ae=u[k],he=wo(l,ae);g(he,ae)&&Ql(Q,Rs(ae,l),he)}return Q}function OA(l){return function(u){return wo(u,l)}}function Xp(l,u,g,k){var B=k?XE:La,Q=-1,ae=u.length,he=l;for(l===u&&(u=Jn(u)),g&&(he=Dt(l,ri(g)));++Q<ae;)for(var be=0,ke=u[Q],Oe=g?g(ke):ke;(be=B(he,Oe,be,k))>-1;)he!==l&&af.call(he,be,1),af.call(l,be,1);return l}function UT(l,u){for(var g=l?u.length:0,k=g-1;g--;){var B=u[g];if(g==k||B!==Q){var Q=B;Zr(B)?af.call(l,B,1):tm(l,B)}}return l}function Yp(l,u){return l+cf(TT()*(u-l+1))}function EA(l,u,g,k){for(var B=-1,Q=ln(uf((u-l)/(g||1)),0),ae=_e(Q);Q--;)ae[k?Q:++B]=l,l+=g;return ae}function $p(l,u){var g="";if(!l||u<1||u>z)return g;do u%2&&(g+=l),u=cf(u/2),u&&(l+=l);while(u);return g}function ct(l,u){return ym(mS(l,u,Gn),l+"")}function CA(l){return _T(ja(l))}function AA(l,u){var g=ja(l);return Of(g,_o(u,0,g.length))}function Ql(l,u,g,k){if(!Gt(l))return l;u=Rs(u,l);for(var B=-1,Q=u.length,ae=Q-1,he=l;he!=null&&++B<Q;){var be=dr(u[B]),ke=g;if(be==="__proto__"||be==="constructor"||be==="prototype")return l;if(B!=ae){var Oe=he[be];ke=k?k(Oe,be,he):t,ke===t&&(ke=Gt(Oe)?Oe:Zr(u[B+1])?[]:{})}Hl(he,be,ke),he=he[be]}return l}var xT=ff?function(l,u){return ff.set(l,u),l}:Gn,FA=lf?function(l,u){return lf(l,"toString",{configurable:!0,enumerable:!1,value:km(u),writable:!0})}:Gn;function PA(l){return Of(ja(l))}function ki(l,u,g){var k=-1,B=l.length;u<0&&(u=-u>B?0:B+u),g=g>B?B:g,g<0&&(g+=B),B=u>g?0:g-u>>>0,u>>>=0;for(var Q=_e(B);++k<B;)Q[k]=l[k+u];return Q}function MA(l,u){var g;return Ms(l,function(k,B,Q){return g=u(k,B,Q),!g}),!!g}function bf(l,u,g){var k=0,B=l==null?k:l.length;if(typeof u=="number"&&u===u&&B<=I){for(;k<B;){var Q=k+B>>>1,ae=l[Q];ae!==null&&!oi(ae)&&(g?ae<=u:ae<u)?k=Q+1:B=Q}return B}return em(l,u,Gn,g)}function em(l,u,g,k){var B=0,Q=l==null?0:l.length;if(Q===0)return 0;u=g(u);for(var ae=u!==u,he=u===null,be=oi(u),ke=u===t;B<Q;){var Oe=cf((B+Q)/2),Ae=g(l[Oe]),De=Ae!==t,Ge=Ae===null,Xe=Ae===Ae,ut=oi(Ae);if(ae)var Ye=k||Xe;else ke?Ye=Xe&&(k||De):he?Ye=Xe&&De&&(k||!Ge):be?Ye=Xe&&De&&!Ge&&(k||!ut):Ge||ut?Ye=!1:Ye=k?Ae<=u:Ae<u;Ye?B=Oe+1:Q=Oe}return wn(Q,fe)}function JT(l,u){for(var g=-1,k=l.length,B=0,Q=[];++g<k;){var ae=l[g],he=u?u(ae):ae;if(!g||!Zi(he,be)){var be=he;Q[B++]=ae===0?0:ae}}return Q}function zT(l){return typeof l=="number"?l:oi(l)?H:+l}function si(l){if(typeof l=="string")return l;if(st(l))return Dt(l,si)+"";if(oi(l))return ST?ST.call(l):"";var u=l+"";return u=="0"&&1/l==-M?"-0":u}function Is(l,u,g){var k=-1,B=Qc,Q=l.length,ae=!0,he=[],be=he;if(g)ae=!1,B=Cp;else if(Q>=r){var ke=u?null:GA(l);if(ke)return Yc(ke);ae=!1,B=xl,be=new vo}else be=u?[]:he;e:for(;++k<Q;){var Oe=l[k],Ae=u?u(Oe):Oe;if(Oe=g||Oe!==0?Oe:0,ae&&Ae===Ae){for(var De=be.length;De--;)if(be[De]===Ae)continue e;u&&be.push(Ae),he.push(Oe)}else B(be,Ae,g)||(be!==he&&be.push(Ae),he.push(Oe))}return he}function tm(l,u){return u=Rs(u,l),l=yS(l,u),l==null||delete l[dr(Oi(u))]}function WT(l,u,g,k){return Ql(l,u,g(wo(l,u)),k)}function Tf(l,u,g,k){for(var B=l.length,Q=k?B:-1;(k?Q--:++Q<B)&&u(l[Q],Q,l););return g?ki(l,k?0:Q,k?Q+1:B):ki(l,k?Q+1:0,k?B:Q)}function GT(l,u){var g=l;return g instanceof mt&&(g=g.value()),Ap(u,function(k,B){return B.func.apply(B.thisArg,As([k],B.args))},g)}function nm(l,u,g){var k=l.length;if(k<2)return k?Is(l[0]):[];for(var B=-1,Q=_e(k);++B<k;)for(var ae=l[B],he=-1;++he<k;)he!=B&&(Q[B]=Vl(Q[B]||ae,l[he],u,g));return Is(gn(Q,1),u,g)}function qT(l,u,g){for(var k=-1,B=l.length,Q=u.length,ae={};++k<B;){var he=k<Q?u[k]:t;g(ae,l[k],he)}return ae}function im(l){return en(l)?l:[]}function rm(l){return typeof l=="function"?l:Gn}function Rs(l,u){return st(l)?l:hm(l,u)?[l]:SS(Lt(l))}var IA=ct;function js(l,u,g){var k=l.length;return g=g===t?k:g,!u&&g>=k?l:ki(l,u,g)}var HT=vC||function(l){return yn.clearTimeout(l)};function VT(l,u){if(u)return l.slice();var g=l.length,k=pT?pT(g):new l.constructor(g);return l.copy(k),k}function sm(l){var u=new l.constructor(l.byteLength);return new sf(u).set(new sf(l)),u}function RA(l,u){var g=u?sm(l.buffer):l.buffer;return new l.constructor(g,l.byteOffset,l.byteLength)}function jA(l){var u=new l.constructor(l.source,_a.exec(l));return u.lastIndex=l.lastIndex,u}function BA(l){return ql?Ct(ql.call(l)):{}}function KT(l,u){var g=u?sm(l.buffer):l.buffer;return new l.constructor(g,l.byteOffset,l.length)}function ZT(l,u){if(l!==u){var g=l!==t,k=l===null,B=l===l,Q=oi(l),ae=u!==t,he=u===null,be=u===u,ke=oi(u);if(!he&&!ke&&!Q&&l>u||Q&&ae&&be&&!he&&!ke||k&&ae&&be||!g&&be||!B)return 1;if(!k&&!Q&&!ke&&l<u||ke&&g&&B&&!k&&!Q||he&&g&&B||!ae&&B||!be)return-1}return 0}function DA(l,u,g){for(var k=-1,B=l.criteria,Q=u.criteria,ae=B.length,he=g.length;++k<ae;){var be=ZT(B[k],Q[k]);if(be){if(k>=he)return be;var ke=g[k];return be*(ke=="desc"?-1:1)}}return l.index-u.index}function QT(l,u,g,k){for(var B=-1,Q=l.length,ae=g.length,he=-1,be=u.length,ke=ln(Q-ae,0),Oe=_e(be+ke),Ae=!k;++he<be;)Oe[he]=u[he];for(;++B<ae;)(Ae||B<Q)&&(Oe[g[B]]=l[B]);for(;ke--;)Oe[he++]=l[B++];return Oe}function XT(l,u,g,k){for(var B=-1,Q=l.length,ae=-1,he=g.length,be=-1,ke=u.length,Oe=ln(Q-he,0),Ae=_e(Oe+ke),De=!k;++B<Oe;)Ae[B]=l[B];for(var Ge=B;++be<ke;)Ae[Ge+be]=u[be];for(;++ae<he;)(De||B<Q)&&(Ae[Ge+g[ae]]=l[B++]);return Ae}function Jn(l,u){var g=-1,k=l.length;for(u||(u=_e(k));++g<k;)u[g]=l[g];return u}function fr(l,u,g,k){var B=!g;g||(g={});for(var Q=-1,ae=u.length;++Q<ae;){var he=u[Q],be=k?k(g[he],l[he],he,g,l):t;be===t&&(be=l[he]),B?Hr(g,he,be):Hl(g,he,be)}return g}function UA(l,u){return fr(l,dm(l),u)}function xA(l,u){return fr(l,cS(l),u)}function Sf(l,u){return function(g,k){var B=st(g)?qE:lA,Q=u?u():{};return B(g,l,Ze(k,2),Q)}}function Pa(l){return ct(function(u,g){var k=-1,B=g.length,Q=B>1?g[B-1]:t,ae=B>2?g[2]:t;for(Q=l.length>3&&typeof Q=="function"?(B--,Q):t,ae&&Pn(g[0],g[1],ae)&&(Q=B<3?t:Q,B=1),u=Ct(u);++k<B;){var he=g[k];he&&l(u,he,k,Q)}return u})}function YT(l,u){return function(g,k){if(g==null)return g;if(!zn(g))return l(g,k);for(var B=g.length,Q=u?B:-1,ae=Ct(g);(u?Q--:++Q<B)&&k(ae[Q],Q,ae)!==!1;);return g}}function $T(l){return function(u,g,k){for(var B=-1,Q=Ct(u),ae=k(u),he=ae.length;he--;){var be=ae[l?he:++B];if(g(Q[be],be,Q)===!1)break}return u}}function JA(l,u,g){var k=u&v,B=Xl(l);function Q(){var ae=this&&this!==yn&&this instanceof Q?B:l;return ae.apply(k?g:this,arguments)}return Q}function eS(l){return function(u){u=Lt(u);var g=Na(u)?Vi(u):t,k=g?g[0]:u.charAt(0),B=g?js(g,1).join(""):u.slice(1);return k[l]()+B}}function Ma(l){return function(u){return Ap(YS(XS(u).replace(FE,"")),l,"")}}function Xl(l){return function(){var u=arguments;switch(u.length){case 0:return new l;case 1:return new l(u[0]);case 2:return new l(u[0],u[1]);case 3:return new l(u[0],u[1],u[2]);case 4:return new l(u[0],u[1],u[2],u[3]);case 5:return new l(u[0],u[1],u[2],u[3],u[4]);case 6:return new l(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new l(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var g=Fa(l.prototype),k=l.apply(g,u);return Gt(k)?k:g}}function zA(l,u,g){var k=Xl(l);function B(){for(var Q=arguments.length,ae=_e(Q),he=Q,be=Ia(B);he--;)ae[he]=arguments[he];var ke=Q<3&&ae[0]!==be&&ae[Q-1]!==be?[]:Fs(ae,be);if(Q-=ke.length,Q<g)return sS(l,u,vf,B.placeholder,t,ae,ke,t,t,g-Q);var Oe=this&&this!==yn&&this instanceof B?k:l;return ii(Oe,this,ae)}return B}function tS(l){return function(u,g,k){var B=Ct(u);if(!zn(u)){var Q=Ze(g,3);u=hn(u),g=function(he){return Q(B[he],he,B)}}var ae=l(u,g,k);return ae>-1?B[Q?u[ae]:ae]:t}}function nS(l){return Kr(function(u){var g=u.length,k=g,B=Li.prototype.thru;for(l&&u.reverse();k--;){var Q=u[k];if(typeof Q!="function")throw new wi(o);if(B&&!ae&&Nf(Q)=="wrapper")var ae=new Li([],!0)}for(k=ae?k:g;++k<g;){Q=u[k];var he=Nf(Q),be=he=="wrapper"?cm(Q):t;be&&pm(be[0])&&be[1]==(X|x|D|E)&&!be[4].length&&be[9]==1?ae=ae[Nf(be[0])].apply(ae,be[3]):ae=Q.length==1&&pm(Q)?ae[he]():ae.thru(Q)}return function(){var ke=arguments,Oe=ke[0];if(ae&&ke.length==1&&st(Oe))return ae.plant(Oe).value();for(var Ae=0,De=g?u[Ae].apply(this,ke):Oe;++Ae<g;)De=u[Ae].call(this,De);return De}})}function vf(l,u,g,k,B,Q,ae,he,be,ke){var Oe=u&X,Ae=u&v,De=u&C,Ge=u&(x|J),Xe=u&j,ut=De?t:Xl(l);function Ye(){for(var ht=arguments.length,gt=_e(ht),ai=ht;ai--;)gt[ai]=arguments[ai];if(Ge)var Mn=Ia(Ye),li=eC(gt,Mn);if(k&&(gt=QT(gt,k,B,Ge)),Q&&(gt=XT(gt,Q,ae,Ge)),ht-=li,Ge&&ht<ke){var tn=Fs(gt,Mn);return sS(l,u,vf,Ye.placeholder,g,gt,tn,he,be,ke-ht)}var Qi=Ae?g:this,Yr=De?Qi[l]:l;return ht=gt.length,he?gt=lF(gt,he):Xe&&ht>1&>.reverse(),Oe&&be<ht&&(gt.length=be),this&&this!==yn&&this instanceof Ye&&(Yr=ut||Xl(Yr)),Yr.apply(Qi,gt)}return Ye}function iS(l,u){return function(g,k){return yA(g,l,u(k),{})}}function _f(l,u){return function(g,k){var B;if(g===t&&k===t)return u;if(g!==t&&(B=g),k!==t){if(B===t)return k;typeof g=="string"||typeof k=="string"?(g=si(g),k=si(k)):(g=zT(g),k=zT(k)),B=l(g,k)}return B}}function om(l){return Kr(function(u){return u=Dt(u,ri(Ze())),ct(function(g){var k=this;return l(u,function(B){return ii(B,k,g)})})})}function wf(l,u){u=u===t?" ":si(u);var g=u.length;if(g<2)return g?$p(u,l):u;var k=$p(u,uf(l/ka(u)));return Na(u)?js(Vi(k),0,l).join(""):k.slice(0,l)}function WA(l,u,g,k){var B=u&v,Q=Xl(l);function ae(){for(var he=-1,be=arguments.length,ke=-1,Oe=k.length,Ae=_e(Oe+be),De=this&&this!==yn&&this instanceof ae?Q:l;++ke<Oe;)Ae[ke]=k[ke];for(;be--;)Ae[ke++]=arguments[++he];return ii(De,B?g:this,Ae)}return ae}function rS(l){return function(u,g,k){return k&&typeof k!="number"&&Pn(u,g,k)&&(g=k=t),u=Xr(u),g===t?(g=u,u=0):g=Xr(g),k=k===t?u<g?1:-1:Xr(k),EA(u,g,k,l)}}function Lf(l){return function(u,g){return typeof u=="string"&&typeof g=="string"||(u=Ei(u),g=Ei(g)),l(u,g)}}function sS(l,u,g,k,B,Q,ae,he,be,ke){var Oe=u&x,Ae=Oe?ae:t,De=Oe?t:ae,Ge=Oe?Q:t,Xe=Oe?t:Q;u|=Oe?D:K,u&=~(Oe?K:D),u&U||(u&=~(v|C));var ut=[l,u,B,Ge,Ae,Xe,De,he,be,ke],Ye=g.apply(t,ut);return pm(l)&&gS(Ye,ut),Ye.placeholder=k,bS(Ye,l,u)}function am(l){var u=an[l];return function(g,k){if(g=Ei(g),k=k==null?0:wn(at(k),292),k&&bT(g)){var B=(Lt(g)+"e").split("e"),Q=u(B[0]+"e"+(+B[1]+k));return B=(Lt(Q)+"e").split("e"),+(B[0]+"e"+(+B[1]-k))}return u(g)}}var GA=Ca&&1/Yc(new Ca([,-0]))[1]==M?function(l){return new Ca(l)}:Cm;function oS(l){return function(u){var g=Ln(u);return g==ue?Bp(u):g==Te?aC(u):$E(u,l(u))}}function Vr(l,u,g,k,B,Q,ae,he){var be=u&C;if(!be&&typeof l!="function")throw new wi(o);var ke=k?k.length:0;if(ke||(u&=~(D|K),k=B=t),ae=ae===t?ae:ln(at(ae),0),he=he===t?he:at(he),ke-=B?B.length:0,u&K){var Oe=k,Ae=B;k=B=t}var De=be?t:cm(l),Ge=[l,u,g,k,B,Oe,Ae,Q,ae,he];if(De&&sF(Ge,De),l=Ge[0],u=Ge[1],g=Ge[2],k=Ge[3],B=Ge[4],he=Ge[9]=Ge[9]===t?be?0:l.length:ln(Ge[9]-ke,0),!he&&u&(x|J)&&(u&=~(x|J)),!u||u==v)var Xe=JA(l,u,g);else u==x||u==J?Xe=zA(l,u,he):(u==D||u==(v|D))&&!B.length?Xe=WA(l,u,g,k):Xe=vf.apply(t,Ge);var ut=De?xT:gS;return bS(ut(Xe,Ge),l,u)}function aS(l,u,g,k){return l===t||Zi(l,Ea[g])&&!Nt.call(k,g)?u:l}function lS(l,u,g,k,B,Q){return Gt(l)&&Gt(u)&&(Q.set(u,l),gf(l,u,t,lS,Q),Q.delete(u)),l}function qA(l){return eu(l)?t:l}function uS(l,u,g,k,B,Q){var ae=g&S,he=l.length,be=u.length;if(he!=be&&!(ae&&be>he))return!1;var ke=Q.get(l),Oe=Q.get(u);if(ke&&Oe)return ke==u&&Oe==l;var Ae=-1,De=!0,Ge=g&m?new vo:t;for(Q.set(l,u),Q.set(u,l);++Ae<he;){var Xe=l[Ae],ut=u[Ae];if(k)var Ye=ae?k(ut,Xe,Ae,u,l,Q):k(Xe,ut,Ae,l,u,Q);if(Ye!==t){if(Ye)continue;De=!1;break}if(Ge){if(!Fp(u,function(ht,gt){if(!xl(Ge,gt)&&(Xe===ht||B(Xe,ht,g,k,Q)))return Ge.push(gt)})){De=!1;break}}else if(!(Xe===ut||B(Xe,ut,g,k,Q))){De=!1;break}}return Q.delete(l),Q.delete(u),De}function HA(l,u,g,k,B,Q,ae){switch(g){case _:if(l.byteLength!=u.byteLength||l.byteOffset!=u.byteOffset)return!1;l=l.buffer,u=u.buffer;case P:return!(l.byteLength!=u.byteLength||!Q(new sf(l),new sf(u)));case ve:case Le:case ie:return Zi(+l,+u);case Pe:return l.name==u.name&&l.message==u.message;case le:case ye:return l==u+"";case ue:var he=Bp;case Te:var be=k&S;if(he||(he=Yc),l.size!=u.size&&!be)return!1;var ke=ae.get(l);if(ke)return ke==u;k|=m,ae.set(l,u);var Oe=uS(he(l),he(u),k,B,Q,ae);return ae.delete(l),Oe;case Ie:if(ql)return ql.call(l)==ql.call(u)}return!1}function VA(l,u,g,k,B,Q){var ae=g&S,he=lm(l),be=he.length,ke=lm(u),Oe=ke.length;if(be!=Oe&&!ae)return!1;for(var Ae=be;Ae--;){var De=he[Ae];if(!(ae?De in u:Nt.call(u,De)))return!1}var Ge=Q.get(l),Xe=Q.get(u);if(Ge&&Xe)return Ge==u&&Xe==l;var ut=!0;Q.set(l,u),Q.set(u,l);for(var Ye=ae;++Ae<be;){De=he[Ae];var ht=l[De],gt=u[De];if(k)var ai=ae?k(gt,ht,De,u,l,Q):k(ht,gt,De,l,u,Q);if(!(ai===t?ht===gt||B(ht,gt,g,k,Q):ai)){ut=!1;break}Ye||(Ye=De=="constructor")}if(ut&&!Ye){var Mn=l.constructor,li=u.constructor;Mn!=li&&"constructor"in l&&"constructor"in u&&!(typeof Mn=="function"&&Mn instanceof Mn&&typeof li=="function"&&li instanceof li)&&(ut=!1)}return Q.delete(l),Q.delete(u),ut}function Kr(l){return ym(mS(l,t,LS),l+"")}function lm(l){return CT(l,hn,dm)}function um(l){return CT(l,Wn,cS)}var cm=ff?function(l){return ff.get(l)}:Cm;function Nf(l){for(var u=l.name+"",g=Aa[u],k=Nt.call(Aa,u)?g.length:0;k--;){var B=g[k],Q=B.func;if(Q==null||Q==l)return B.name}return u}function Ia(l){var u=Nt.call(G,"placeholder")?G:l;return u.placeholder}function Ze(){var l=G.iteratee||Om;return l=l===Om?PT:l,arguments.length?l(arguments[0],arguments[1]):l}function kf(l,u){var g=l.__data__;return tF(u)?g[typeof u=="string"?"string":"hash"]:g.map}function fm(l){for(var u=hn(l),g=u.length;g--;){var k=u[g],B=l[k];u[g]=[k,B,hS(B)]}return u}function Lo(l,u){var g=rC(l,u);return FT(g)?g:t}function KA(l){var u=Nt.call(l,To),g=l[To];try{l[To]=t;var k=!0}catch{}var B=nf.call(l);return k&&(u?l[To]=g:delete l[To]),B}var dm=Up?function(l){return l==null?[]:(l=Ct(l),Cs(Up(l),function(u){return yT.call(l,u)}))}:Am,cS=Up?function(l){for(var u=[];l;)As(u,dm(l)),l=of(l);return u}:Am,Ln=Fn;(xp&&Ln(new xp(new ArrayBuffer(1)))!=_||zl&&Ln(new zl)!=ue||Jp&&Ln(Jp.resolve())!=A||Ca&&Ln(new Ca)!=Te||Wl&&Ln(new Wl)!=ce)&&(Ln=function(l){var u=Fn(l),g=u==N?l.constructor:t,k=g?No(g):"";if(k)switch(k){case AC:return _;case FC:return ue;case PC:return A;case MC:return Te;case IC:return ce}return u});function ZA(l,u,g){for(var k=-1,B=g.length;++k<B;){var Q=g[k],ae=Q.size;switch(Q.type){case"drop":l+=ae;break;case"dropRight":u-=ae;break;case"take":u=wn(u,l+ae);break;case"takeRight":l=ln(l,u-ae);break}}return{start:l,end:u}}function QA(l){var u=l.match(Gc);return u?u[1].split(vp):[]}function fS(l,u,g){u=Rs(u,l);for(var k=-1,B=u.length,Q=!1;++k<B;){var ae=dr(u[k]);if(!(Q=l!=null&&g(l,ae)))break;l=l[ae]}return Q||++k!=B?Q:(B=l==null?0:l.length,!!B&&Mf(B)&&Zr(ae,B)&&(st(l)||ko(l)))}function XA(l){var u=l.length,g=new l.constructor(u);return u&&typeof l[0]=="string"&&Nt.call(l,"index")&&(g.index=l.index,g.input=l.input),g}function dS(l){return typeof l.constructor=="function"&&!Yl(l)?Fa(of(l)):{}}function YA(l,u,g){var k=l.constructor;switch(u){case P:return sm(l);case ve:case Le:return new k(+l);case _:return RA(l,g);case O:case Z:case pe:case Se:case we:case We:case ft:case yt:case dt:return KT(l,g);case ue:return new k;case ie:case ye:return new k(l);case le:return jA(l);case Te:return new k;case Ie:return BA(l)}}function $A(l,u){var g=u.length;if(!g)return l;var k=g-1;return u[k]=(g>1?"& ":"")+u[k],u=u.join(g>2?", ":" "),l.replace(zr,`{
|
|
671
|
+
/* [wrapped with `+u+`] */
|
|
672
|
+
`)}function eF(l){return st(l)||ko(l)||!!(gT&&l&&l[gT])}function Zr(l,u){var g=typeof l;return u=u??z,!!u&&(g=="number"||g!="symbol"&&dE.test(l))&&l>-1&&l%1==0&&l<u}function Pn(l,u,g){if(!Gt(g))return!1;var k=typeof u;return(k=="number"?zn(g)&&Zr(u,g.length):k=="string"&&u in g)?Zi(g[u],l):!1}function hm(l,u){if(st(l))return!1;var g=typeof l;return g=="number"||g=="symbol"||g=="boolean"||l==null||oi(l)?!0:Re.test(l)||!oe.test(l)||u!=null&&l in Ct(u)}function tF(l){var u=typeof l;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?l!=="__proto__":l===null}function pm(l){var u=Nf(l),g=G[u];if(typeof g!="function"||!(u in mt.prototype))return!1;if(l===g)return!0;var k=cm(g);return!!k&&l===k[0]}function nF(l){return!!hT&&hT in l}var iF=ef?Qr:Fm;function Yl(l){var u=l&&l.constructor,g=typeof u=="function"&&u.prototype||Ea;return l===g}function hS(l){return l===l&&!Gt(l)}function pS(l,u){return function(g){return g==null?!1:g[l]===u&&(u!==t||l in Ct(g))}}function rF(l){var u=Ff(l,function(k){return g.size===f&&g.clear(),k}),g=u.cache;return u}function sF(l,u){var g=l[1],k=u[1],B=g|k,Q=B<(v|C|X),ae=k==X&&g==x||k==X&&g==E&&l[7].length<=u[8]||k==(X|E)&&u[7].length<=u[8]&&g==x;if(!(Q||ae))return l;k&v&&(l[2]=u[2],B|=g&v?0:U);var he=u[3];if(he){var be=l[3];l[3]=be?QT(be,he,u[4]):he,l[4]=be?Fs(l[3],d):u[4]}return he=u[5],he&&(be=l[5],l[5]=be?XT(be,he,u[6]):he,l[6]=be?Fs(l[5],d):u[6]),he=u[7],he&&(l[7]=he),k&X&&(l[8]=l[8]==null?u[8]:wn(l[8],u[8])),l[9]==null&&(l[9]=u[9]),l[0]=u[0],l[1]=B,l}function oF(l){var u=[];if(l!=null)for(var g in Ct(l))u.push(g);return u}function aF(l){return nf.call(l)}function mS(l,u,g){return u=ln(u===t?l.length-1:u,0),function(){for(var k=arguments,B=-1,Q=ln(k.length-u,0),ae=_e(Q);++B<Q;)ae[B]=k[u+B];B=-1;for(var he=_e(u+1);++B<u;)he[B]=k[B];return he[u]=g(ae),ii(l,this,he)}}function yS(l,u){return u.length<2?l:wo(l,ki(u,0,-1))}function lF(l,u){for(var g=l.length,k=wn(u.length,g),B=Jn(l);k--;){var Q=u[k];l[k]=Zr(Q,g)?B[Q]:t}return l}function mm(l,u){if(!(u==="constructor"&&typeof l[u]=="function")&&u!="__proto__")return l[u]}var gS=TS(xT),$l=wC||function(l,u){return yn.setTimeout(l,u)},ym=TS(FA);function bS(l,u,g){var k=u+"";return ym(l,$A(k,uF(QA(k),g)))}function TS(l){var u=0,g=0;return function(){var k=OC(),B=T-(k-g);if(g=k,B>0){if(++u>=re)return arguments[0]}else u=0;return l.apply(t,arguments)}}function Of(l,u){var g=-1,k=l.length,B=k-1;for(u=u===t?k:u;++g<u;){var Q=Yp(g,B),ae=l[Q];l[Q]=l[g],l[g]=ae}return l.length=u,l}var SS=rF(function(l){var u=[];return l.charCodeAt(0)===46&&u.push(""),l.replace(je,function(g,k,B,Q){u.push(B?Q.replace(Dl,"$1"):k||g)}),u});function dr(l){if(typeof l=="string"||oi(l))return l;var u=l+"";return u=="0"&&1/l==-M?"-0":u}function No(l){if(l!=null){try{return tf.call(l)}catch{}try{return l+""}catch{}}return""}function uF(l,u){return _i(W,function(g){var k="_."+g[0];u&g[1]&&!Qc(l,k)&&l.push(k)}),l.sort()}function vS(l){if(l instanceof mt)return l.clone();var u=new Li(l.__wrapped__,l.__chain__);return u.__actions__=Jn(l.__actions__),u.__index__=l.__index__,u.__values__=l.__values__,u}function cF(l,u,g){(g?Pn(l,u,g):u===t)?u=1:u=ln(at(u),0);var k=l==null?0:l.length;if(!k||u<1)return[];for(var B=0,Q=0,ae=_e(uf(k/u));B<k;)ae[Q++]=ki(l,B,B+=u);return ae}function fF(l){for(var u=-1,g=l==null?0:l.length,k=0,B=[];++u<g;){var Q=l[u];Q&&(B[k++]=Q)}return B}function dF(){var l=arguments.length;if(!l)return[];for(var u=_e(l-1),g=arguments[0],k=l;k--;)u[k-1]=arguments[k];return As(st(g)?Jn(g):[g],gn(u,1))}var hF=ct(function(l,u){return en(l)?Vl(l,gn(u,1,en,!0)):[]}),pF=ct(function(l,u){var g=Oi(u);return en(g)&&(g=t),en(l)?Vl(l,gn(u,1,en,!0),Ze(g,2)):[]}),mF=ct(function(l,u){var g=Oi(u);return en(g)&&(g=t),en(l)?Vl(l,gn(u,1,en,!0),t,g):[]});function yF(l,u,g){var k=l==null?0:l.length;return k?(u=g||u===t?1:at(u),ki(l,u<0?0:u,k)):[]}function gF(l,u,g){var k=l==null?0:l.length;return k?(u=g||u===t?1:at(u),u=k-u,ki(l,0,u<0?0:u)):[]}function bF(l,u){return l&&l.length?Tf(l,Ze(u,3),!0,!0):[]}function TF(l,u){return l&&l.length?Tf(l,Ze(u,3),!0):[]}function SF(l,u,g,k){var B=l==null?0:l.length;return B?(g&&typeof g!="number"&&Pn(l,u,g)&&(g=0,k=B),dA(l,u,g,k)):[]}function _S(l,u,g){var k=l==null?0:l.length;if(!k)return-1;var B=g==null?0:at(g);return B<0&&(B=ln(k+B,0)),Xc(l,Ze(u,3),B)}function wS(l,u,g){var k=l==null?0:l.length;if(!k)return-1;var B=k-1;return g!==t&&(B=at(g),B=g<0?ln(k+B,0):wn(B,k-1)),Xc(l,Ze(u,3),B,!0)}function LS(l){var u=l==null?0:l.length;return u?gn(l,1):[]}function vF(l){var u=l==null?0:l.length;return u?gn(l,M):[]}function _F(l,u){var g=l==null?0:l.length;return g?(u=u===t?1:at(u),gn(l,u)):[]}function wF(l){for(var u=-1,g=l==null?0:l.length,k={};++u<g;){var B=l[u];k[B[0]]=B[1]}return k}function NS(l){return l&&l.length?l[0]:t}function LF(l,u,g){var k=l==null?0:l.length;if(!k)return-1;var B=g==null?0:at(g);return B<0&&(B=ln(k+B,0)),La(l,u,B)}function NF(l){var u=l==null?0:l.length;return u?ki(l,0,-1):[]}var kF=ct(function(l){var u=Dt(l,im);return u.length&&u[0]===l[0]?Vp(u):[]}),OF=ct(function(l){var u=Oi(l),g=Dt(l,im);return u===Oi(g)?u=t:g.pop(),g.length&&g[0]===l[0]?Vp(g,Ze(u,2)):[]}),EF=ct(function(l){var u=Oi(l),g=Dt(l,im);return u=typeof u=="function"?u:t,u&&g.pop(),g.length&&g[0]===l[0]?Vp(g,t,u):[]});function CF(l,u){return l==null?"":NC.call(l,u)}function Oi(l){var u=l==null?0:l.length;return u?l[u-1]:t}function AF(l,u,g){var k=l==null?0:l.length;if(!k)return-1;var B=k;return g!==t&&(B=at(g),B=B<0?ln(k+B,0):wn(B,k-1)),u===u?uC(l,u,B):Xc(l,sT,B,!0)}function FF(l,u){return l&&l.length?jT(l,at(u)):t}var PF=ct(kS);function kS(l,u){return l&&l.length&&u&&u.length?Xp(l,u):l}function MF(l,u,g){return l&&l.length&&u&&u.length?Xp(l,u,Ze(g,2)):l}function IF(l,u,g){return l&&l.length&&u&&u.length?Xp(l,u,t,g):l}var RF=Kr(function(l,u){var g=l==null?0:l.length,k=Wp(l,u);return UT(l,Dt(u,function(B){return Zr(B,g)?+B:B}).sort(ZT)),k});function jF(l,u){var g=[];if(!(l&&l.length))return g;var k=-1,B=[],Q=l.length;for(u=Ze(u,3);++k<Q;){var ae=l[k];u(ae,k,l)&&(g.push(ae),B.push(k))}return UT(l,B),g}function gm(l){return l==null?l:CC.call(l)}function BF(l,u,g){var k=l==null?0:l.length;return k?(g&&typeof g!="number"&&Pn(l,u,g)?(u=0,g=k):(u=u==null?0:at(u),g=g===t?k:at(g)),ki(l,u,g)):[]}function DF(l,u){return bf(l,u)}function UF(l,u,g){return em(l,u,Ze(g,2))}function xF(l,u){var g=l==null?0:l.length;if(g){var k=bf(l,u);if(k<g&&Zi(l[k],u))return k}return-1}function JF(l,u){return bf(l,u,!0)}function zF(l,u,g){return em(l,u,Ze(g,2),!0)}function WF(l,u){var g=l==null?0:l.length;if(g){var k=bf(l,u,!0)-1;if(Zi(l[k],u))return k}return-1}function GF(l){return l&&l.length?JT(l):[]}function qF(l,u){return l&&l.length?JT(l,Ze(u,2)):[]}function HF(l){var u=l==null?0:l.length;return u?ki(l,1,u):[]}function VF(l,u,g){return l&&l.length?(u=g||u===t?1:at(u),ki(l,0,u<0?0:u)):[]}function KF(l,u,g){var k=l==null?0:l.length;return k?(u=g||u===t?1:at(u),u=k-u,ki(l,u<0?0:u,k)):[]}function ZF(l,u){return l&&l.length?Tf(l,Ze(u,3),!1,!0):[]}function QF(l,u){return l&&l.length?Tf(l,Ze(u,3)):[]}var XF=ct(function(l){return Is(gn(l,1,en,!0))}),YF=ct(function(l){var u=Oi(l);return en(u)&&(u=t),Is(gn(l,1,en,!0),Ze(u,2))}),$F=ct(function(l){var u=Oi(l);return u=typeof u=="function"?u:t,Is(gn(l,1,en,!0),t,u)});function eP(l){return l&&l.length?Is(l):[]}function tP(l,u){return l&&l.length?Is(l,Ze(u,2)):[]}function nP(l,u){return u=typeof u=="function"?u:t,l&&l.length?Is(l,t,u):[]}function bm(l){if(!(l&&l.length))return[];var u=0;return l=Cs(l,function(g){if(en(g))return u=ln(g.length,u),!0}),Rp(u,function(g){return Dt(l,Pp(g))})}function OS(l,u){if(!(l&&l.length))return[];var g=bm(l);return u==null?g:Dt(g,function(k){return ii(u,t,k)})}var iP=ct(function(l,u){return en(l)?Vl(l,u):[]}),rP=ct(function(l){return nm(Cs(l,en))}),sP=ct(function(l){var u=Oi(l);return en(u)&&(u=t),nm(Cs(l,en),Ze(u,2))}),oP=ct(function(l){var u=Oi(l);return u=typeof u=="function"?u:t,nm(Cs(l,en),t,u)}),aP=ct(bm);function lP(l,u){return qT(l||[],u||[],Hl)}function uP(l,u){return qT(l||[],u||[],Ql)}var cP=ct(function(l){var u=l.length,g=u>1?l[u-1]:t;return g=typeof g=="function"?(l.pop(),g):t,OS(l,g)});function ES(l){var u=G(l);return u.__chain__=!0,u}function fP(l,u){return u(l),l}function Ef(l,u){return u(l)}var dP=Kr(function(l){var u=l.length,g=u?l[0]:0,k=this.__wrapped__,B=function(Q){return Wp(Q,l)};return u>1||this.__actions__.length||!(k instanceof mt)||!Zr(g)?this.thru(B):(k=k.slice(g,+g+(u?1:0)),k.__actions__.push({func:Ef,args:[B],thisArg:t}),new Li(k,this.__chain__).thru(function(Q){return u&&!Q.length&&Q.push(t),Q}))});function hP(){return ES(this)}function pP(){return new Li(this.value(),this.__chain__)}function mP(){this.__values__===t&&(this.__values__=zS(this.value()));var l=this.__index__>=this.__values__.length,u=l?t:this.__values__[this.__index__++];return{done:l,value:u}}function yP(){return this}function gP(l){for(var u,g=this;g instanceof hf;){var k=vS(g);k.__index__=0,k.__values__=t,u?B.__wrapped__=k:u=k;var B=k;g=g.__wrapped__}return B.__wrapped__=l,u}function bP(){var l=this.__wrapped__;if(l instanceof mt){var u=l;return this.__actions__.length&&(u=new mt(this)),u=u.reverse(),u.__actions__.push({func:Ef,args:[gm],thisArg:t}),new Li(u,this.__chain__)}return this.thru(gm)}function TP(){return GT(this.__wrapped__,this.__actions__)}var SP=Sf(function(l,u,g){Nt.call(l,g)?++l[g]:Hr(l,g,1)});function vP(l,u,g){var k=st(l)?iT:fA;return g&&Pn(l,u,g)&&(u=t),k(l,Ze(u,3))}function _P(l,u){var g=st(l)?Cs:OT;return g(l,Ze(u,3))}var wP=tS(_S),LP=tS(wS);function NP(l,u){return gn(Cf(l,u),1)}function kP(l,u){return gn(Cf(l,u),M)}function OP(l,u,g){return g=g===t?1:at(g),gn(Cf(l,u),g)}function CS(l,u){var g=st(l)?_i:Ms;return g(l,Ze(u,3))}function AS(l,u){var g=st(l)?HE:kT;return g(l,Ze(u,3))}var EP=Sf(function(l,u,g){Nt.call(l,g)?l[g].push(u):Hr(l,g,[u])});function CP(l,u,g,k){l=zn(l)?l:ja(l),g=g&&!k?at(g):0;var B=l.length;return g<0&&(g=ln(B+g,0)),If(l)?g<=B&&l.indexOf(u,g)>-1:!!B&&La(l,u,g)>-1}var AP=ct(function(l,u,g){var k=-1,B=typeof u=="function",Q=zn(l)?_e(l.length):[];return Ms(l,function(ae){Q[++k]=B?ii(u,ae,g):Kl(ae,u,g)}),Q}),FP=Sf(function(l,u,g){Hr(l,g,u)});function Cf(l,u){var g=st(l)?Dt:MT;return g(l,Ze(u,3))}function PP(l,u,g,k){return l==null?[]:(st(u)||(u=u==null?[]:[u]),g=k?t:g,st(g)||(g=g==null?[]:[g]),BT(l,u,g))}var MP=Sf(function(l,u,g){l[g?0:1].push(u)},function(){return[[],[]]});function IP(l,u,g){var k=st(l)?Ap:aT,B=arguments.length<3;return k(l,Ze(u,4),g,B,Ms)}function RP(l,u,g){var k=st(l)?VE:aT,B=arguments.length<3;return k(l,Ze(u,4),g,B,kT)}function jP(l,u){var g=st(l)?Cs:OT;return g(l,Pf(Ze(u,3)))}function BP(l){var u=st(l)?_T:CA;return u(l)}function DP(l,u,g){(g?Pn(l,u,g):u===t)?u=1:u=at(u);var k=st(l)?oA:AA;return k(l,u)}function UP(l){var u=st(l)?aA:PA;return u(l)}function xP(l){if(l==null)return 0;if(zn(l))return If(l)?ka(l):l.length;var u=Ln(l);return u==ue||u==Te?l.size:Zp(l).length}function JP(l,u,g){var k=st(l)?Fp:MA;return g&&Pn(l,u,g)&&(u=t),k(l,Ze(u,3))}var zP=ct(function(l,u){if(l==null)return[];var g=u.length;return g>1&&Pn(l,u[0],u[1])?u=[]:g>2&&Pn(u[0],u[1],u[2])&&(u=[u[0]]),BT(l,gn(u,1),[])}),Af=_C||function(){return yn.Date.now()};function WP(l,u){if(typeof u!="function")throw new wi(o);return l=at(l),function(){if(--l<1)return u.apply(this,arguments)}}function FS(l,u,g){return u=g?t:u,u=l&&u==null?l.length:u,Vr(l,X,t,t,t,t,u)}function PS(l,u){var g;if(typeof u!="function")throw new wi(o);return l=at(l),function(){return--l>0&&(g=u.apply(this,arguments)),l<=1&&(u=t),g}}var Tm=ct(function(l,u,g){var k=v;if(g.length){var B=Fs(g,Ia(Tm));k|=D}return Vr(l,k,u,g,B)}),MS=ct(function(l,u,g){var k=v|C;if(g.length){var B=Fs(g,Ia(MS));k|=D}return Vr(u,k,l,g,B)});function IS(l,u,g){u=g?t:u;var k=Vr(l,x,t,t,t,t,t,u);return k.placeholder=IS.placeholder,k}function RS(l,u,g){u=g?t:u;var k=Vr(l,J,t,t,t,t,t,u);return k.placeholder=RS.placeholder,k}function jS(l,u,g){var k,B,Q,ae,he,be,ke=0,Oe=!1,Ae=!1,De=!0;if(typeof l!="function")throw new wi(o);u=Ei(u)||0,Gt(g)&&(Oe=!!g.leading,Ae="maxWait"in g,Q=Ae?ln(Ei(g.maxWait)||0,u):Q,De="trailing"in g?!!g.trailing:De);function Ge(tn){var Qi=k,Yr=B;return k=B=t,ke=tn,ae=l.apply(Yr,Qi),ae}function Xe(tn){return ke=tn,he=$l(ht,u),Oe?Ge(tn):ae}function ut(tn){var Qi=tn-be,Yr=tn-ke,tv=u-Qi;return Ae?wn(tv,Q-Yr):tv}function Ye(tn){var Qi=tn-be,Yr=tn-ke;return be===t||Qi>=u||Qi<0||Ae&&Yr>=Q}function ht(){var tn=Af();if(Ye(tn))return gt(tn);he=$l(ht,ut(tn))}function gt(tn){return he=t,De&&k?Ge(tn):(k=B=t,ae)}function ai(){he!==t&&HT(he),ke=0,k=be=B=he=t}function Mn(){return he===t?ae:gt(Af())}function li(){var tn=Af(),Qi=Ye(tn);if(k=arguments,B=this,be=tn,Qi){if(he===t)return Xe(be);if(Ae)return HT(he),he=$l(ht,u),Ge(be)}return he===t&&(he=$l(ht,u)),ae}return li.cancel=ai,li.flush=Mn,li}var GP=ct(function(l,u){return NT(l,1,u)}),qP=ct(function(l,u,g){return NT(l,Ei(u)||0,g)});function HP(l){return Vr(l,j)}function Ff(l,u){if(typeof l!="function"||u!=null&&typeof u!="function")throw new wi(o);var g=function(){var k=arguments,B=u?u.apply(this,k):k[0],Q=g.cache;if(Q.has(B))return Q.get(B);var ae=l.apply(this,k);return g.cache=Q.set(B,ae)||Q,ae};return g.cache=new(Ff.Cache||qr),g}Ff.Cache=qr;function Pf(l){if(typeof l!="function")throw new wi(o);return function(){var u=arguments;switch(u.length){case 0:return!l.call(this);case 1:return!l.call(this,u[0]);case 2:return!l.call(this,u[0],u[1]);case 3:return!l.call(this,u[0],u[1],u[2])}return!l.apply(this,u)}}function VP(l){return PS(2,l)}var KP=IA(function(l,u){u=u.length==1&&st(u[0])?Dt(u[0],ri(Ze())):Dt(gn(u,1),ri(Ze()));var g=u.length;return ct(function(k){for(var B=-1,Q=wn(k.length,g);++B<Q;)k[B]=u[B].call(this,k[B]);return ii(l,this,k)})}),Sm=ct(function(l,u){var g=Fs(u,Ia(Sm));return Vr(l,D,t,u,g)}),BS=ct(function(l,u){var g=Fs(u,Ia(BS));return Vr(l,K,t,u,g)}),ZP=Kr(function(l,u){return Vr(l,E,t,t,t,u)});function QP(l,u){if(typeof l!="function")throw new wi(o);return u=u===t?u:at(u),ct(l,u)}function XP(l,u){if(typeof l!="function")throw new wi(o);return u=u==null?0:ln(at(u),0),ct(function(g){var k=g[u],B=js(g,0,u);return k&&As(B,k),ii(l,this,B)})}function YP(l,u,g){var k=!0,B=!0;if(typeof l!="function")throw new wi(o);return Gt(g)&&(k="leading"in g?!!g.leading:k,B="trailing"in g?!!g.trailing:B),jS(l,u,{leading:k,maxWait:u,trailing:B})}function $P(l){return FS(l,1)}function eM(l,u){return Sm(rm(u),l)}function tM(){if(!arguments.length)return[];var l=arguments[0];return st(l)?l:[l]}function nM(l){return Ni(l,h)}function iM(l,u){return u=typeof u=="function"?u:t,Ni(l,h,u)}function rM(l){return Ni(l,p|h)}function sM(l,u){return u=typeof u=="function"?u:t,Ni(l,p|h,u)}function oM(l,u){return u==null||LT(l,u,hn(u))}function Zi(l,u){return l===u||l!==l&&u!==u}var aM=Lf(Hp),lM=Lf(function(l,u){return l>=u}),ko=AT(function(){return arguments}())?AT:function(l){return Ht(l)&&Nt.call(l,"callee")&&!yT.call(l,"callee")},st=_e.isArray,uM=X0?ri(X0):gA;function zn(l){return l!=null&&Mf(l.length)&&!Qr(l)}function en(l){return Ht(l)&&zn(l)}function cM(l){return l===!0||l===!1||Ht(l)&&Fn(l)==ve}var Bs=LC||Fm,fM=Y0?ri(Y0):bA;function dM(l){return Ht(l)&&l.nodeType===1&&!eu(l)}function hM(l){if(l==null)return!0;if(zn(l)&&(st(l)||typeof l=="string"||typeof l.splice=="function"||Bs(l)||Ra(l)||ko(l)))return!l.length;var u=Ln(l);if(u==ue||u==Te)return!l.size;if(Yl(l))return!Zp(l).length;for(var g in l)if(Nt.call(l,g))return!1;return!0}function pM(l,u){return Zl(l,u)}function mM(l,u,g){g=typeof g=="function"?g:t;var k=g?g(l,u):t;return k===t?Zl(l,u,t,g):!!k}function vm(l){if(!Ht(l))return!1;var u=Fn(l);return u==Pe||u==Fe||typeof l.message=="string"&&typeof l.name=="string"&&!eu(l)}function yM(l){return typeof l=="number"&&bT(l)}function Qr(l){if(!Gt(l))return!1;var u=Fn(l);return u==Me||u==te||u==de||u==V}function DS(l){return typeof l=="number"&&l==at(l)}function Mf(l){return typeof l=="number"&&l>-1&&l%1==0&&l<=z}function Gt(l){var u=typeof l;return l!=null&&(u=="object"||u=="function")}function Ht(l){return l!=null&&typeof l=="object"}var US=$0?ri($0):SA;function gM(l,u){return l===u||Kp(l,u,fm(u))}function bM(l,u,g){return g=typeof g=="function"?g:t,Kp(l,u,fm(u),g)}function TM(l){return xS(l)&&l!=+l}function SM(l){if(iF(l))throw new it(s);return FT(l)}function vM(l){return l===null}function _M(l){return l==null}function xS(l){return typeof l=="number"||Ht(l)&&Fn(l)==ie}function eu(l){if(!Ht(l)||Fn(l)!=N)return!1;var u=of(l);if(u===null)return!0;var g=Nt.call(u,"constructor")&&u.constructor;return typeof g=="function"&&g instanceof g&&tf.call(g)==bC}var _m=eT?ri(eT):vA;function wM(l){return DS(l)&&l>=-z&&l<=z}var JS=tT?ri(tT):_A;function If(l){return typeof l=="string"||!st(l)&&Ht(l)&&Fn(l)==ye}function oi(l){return typeof l=="symbol"||Ht(l)&&Fn(l)==Ie}var Ra=nT?ri(nT):wA;function LM(l){return l===t}function NM(l){return Ht(l)&&Ln(l)==ce}function kM(l){return Ht(l)&&Fn(l)==me}var OM=Lf(Qp),EM=Lf(function(l,u){return l<=u});function zS(l){if(!l)return[];if(zn(l))return If(l)?Vi(l):Jn(l);if(Jl&&l[Jl])return oC(l[Jl]());var u=Ln(l),g=u==ue?Bp:u==Te?Yc:ja;return g(l)}function Xr(l){if(!l)return l===0?l:0;if(l=Ei(l),l===M||l===-M){var u=l<0?-1:1;return u*q}return l===l?l:0}function at(l){var u=Xr(l),g=u%1;return u===u?g?u-g:u:0}function WS(l){return l?_o(at(l),0,$):0}function Ei(l){if(typeof l=="number")return l;if(oi(l))return H;if(Gt(l)){var u=typeof l.valueOf=="function"?l.valueOf():l;l=Gt(u)?u+"":u}if(typeof l!="string")return l===0?l:+l;l=lT(l);var g=Wr.test(l);return g||fE.test(l)?WE(l.slice(2),g?2:8):go.test(l)?H:+l}function GS(l){return fr(l,Wn(l))}function CM(l){return l?_o(at(l),-z,z):l===0?l:0}function Lt(l){return l==null?"":si(l)}var AM=Pa(function(l,u){if(Yl(u)||zn(u)){fr(u,hn(u),l);return}for(var g in u)Nt.call(u,g)&&Hl(l,g,u[g])}),qS=Pa(function(l,u){fr(u,Wn(u),l)}),Rf=Pa(function(l,u,g,k){fr(u,Wn(u),l,k)}),FM=Pa(function(l,u,g,k){fr(u,hn(u),l,k)}),PM=Kr(Wp);function MM(l,u){var g=Fa(l);return u==null?g:wT(g,u)}var IM=ct(function(l,u){l=Ct(l);var g=-1,k=u.length,B=k>2?u[2]:t;for(B&&Pn(u[0],u[1],B)&&(k=1);++g<k;)for(var Q=u[g],ae=Wn(Q),he=-1,be=ae.length;++he<be;){var ke=ae[he],Oe=l[ke];(Oe===t||Zi(Oe,Ea[ke])&&!Nt.call(l,ke))&&(l[ke]=Q[ke])}return l}),RM=ct(function(l){return l.push(t,lS),ii(HS,t,l)});function jM(l,u){return rT(l,Ze(u,3),cr)}function BM(l,u){return rT(l,Ze(u,3),qp)}function DM(l,u){return l==null?l:Gp(l,Ze(u,3),Wn)}function UM(l,u){return l==null?l:ET(l,Ze(u,3),Wn)}function xM(l,u){return l&&cr(l,Ze(u,3))}function JM(l,u){return l&&qp(l,Ze(u,3))}function zM(l){return l==null?[]:yf(l,hn(l))}function WM(l){return l==null?[]:yf(l,Wn(l))}function wm(l,u,g){var k=l==null?t:wo(l,u);return k===t?g:k}function GM(l,u){return l!=null&&fS(l,u,hA)}function Lm(l,u){return l!=null&&fS(l,u,pA)}var qM=iS(function(l,u,g){u!=null&&typeof u.toString!="function"&&(u=nf.call(u)),l[u]=g},km(Gn)),HM=iS(function(l,u,g){u!=null&&typeof u.toString!="function"&&(u=nf.call(u)),Nt.call(l,u)?l[u].push(g):l[u]=[g]},Ze),VM=ct(Kl);function hn(l){return zn(l)?vT(l):Zp(l)}function Wn(l){return zn(l)?vT(l,!0):LA(l)}function KM(l,u){var g={};return u=Ze(u,3),cr(l,function(k,B,Q){Hr(g,u(k,B,Q),k)}),g}function ZM(l,u){var g={};return u=Ze(u,3),cr(l,function(k,B,Q){Hr(g,B,u(k,B,Q))}),g}var QM=Pa(function(l,u,g){gf(l,u,g)}),HS=Pa(function(l,u,g,k){gf(l,u,g,k)}),XM=Kr(function(l,u){var g={};if(l==null)return g;var k=!1;u=Dt(u,function(Q){return Q=Rs(Q,l),k||(k=Q.length>1),Q}),fr(l,um(l),g),k&&(g=Ni(g,p|y|h,qA));for(var B=u.length;B--;)tm(g,u[B]);return g});function YM(l,u){return VS(l,Pf(Ze(u)))}var $M=Kr(function(l,u){return l==null?{}:kA(l,u)});function VS(l,u){if(l==null)return{};var g=Dt(um(l),function(k){return[k]});return u=Ze(u),DT(l,g,function(k,B){return u(k,B[0])})}function eI(l,u,g){u=Rs(u,l);var k=-1,B=u.length;for(B||(B=1,l=t);++k<B;){var Q=l==null?t:l[dr(u[k])];Q===t&&(k=B,Q=g),l=Qr(Q)?Q.call(l):Q}return l}function tI(l,u,g){return l==null?l:Ql(l,u,g)}function nI(l,u,g,k){return k=typeof k=="function"?k:t,l==null?l:Ql(l,u,g,k)}var KS=oS(hn),ZS=oS(Wn);function iI(l,u,g){var k=st(l),B=k||Bs(l)||Ra(l);if(u=Ze(u,4),g==null){var Q=l&&l.constructor;B?g=k?new Q:[]:Gt(l)?g=Qr(Q)?Fa(of(l)):{}:g={}}return(B?_i:cr)(l,function(ae,he,be){return u(g,ae,he,be)}),g}function rI(l,u){return l==null?!0:tm(l,u)}function sI(l,u,g){return l==null?l:WT(l,u,rm(g))}function oI(l,u,g,k){return k=typeof k=="function"?k:t,l==null?l:WT(l,u,rm(g),k)}function ja(l){return l==null?[]:jp(l,hn(l))}function aI(l){return l==null?[]:jp(l,Wn(l))}function lI(l,u,g){return g===t&&(g=u,u=t),g!==t&&(g=Ei(g),g=g===g?g:0),u!==t&&(u=Ei(u),u=u===u?u:0),_o(Ei(l),u,g)}function uI(l,u,g){return u=Xr(u),g===t?(g=u,u=0):g=Xr(g),l=Ei(l),mA(l,u,g)}function cI(l,u,g){if(g&&typeof g!="boolean"&&Pn(l,u,g)&&(u=g=t),g===t&&(typeof u=="boolean"?(g=u,u=t):typeof l=="boolean"&&(g=l,l=t)),l===t&&u===t?(l=0,u=1):(l=Xr(l),u===t?(u=l,l=0):u=Xr(u)),l>u){var k=l;l=u,u=k}if(g||l%1||u%1){var B=TT();return wn(l+B*(u-l+zE("1e-"+((B+"").length-1))),u)}return Yp(l,u)}var fI=Ma(function(l,u,g){return u=u.toLowerCase(),l+(g?QS(u):u)});function QS(l){return Nm(Lt(l).toLowerCase())}function XS(l){return l=Lt(l),l&&l.replace(hE,tC).replace(PE,"")}function dI(l,u,g){l=Lt(l),u=si(u);var k=l.length;g=g===t?k:_o(at(g),0,k);var B=g;return g-=u.length,g>=0&&l.slice(g,B)==u}function hI(l){return l=Lt(l),l&&mn.test(l)?l.replace(Pt,nC):l}function pI(l){return l=Lt(l),l&&dn.test(l)?l.replace(ze,"\\$&"):l}var mI=Ma(function(l,u,g){return l+(g?"-":"")+u.toLowerCase()}),yI=Ma(function(l,u,g){return l+(g?" ":"")+u.toLowerCase()}),gI=eS("toLowerCase");function bI(l,u,g){l=Lt(l),u=at(u);var k=u?ka(l):0;if(!u||k>=u)return l;var B=(u-k)/2;return wf(cf(B),g)+l+wf(uf(B),g)}function TI(l,u,g){l=Lt(l),u=at(u);var k=u?ka(l):0;return u&&k<u?l+wf(u-k,g):l}function SI(l,u,g){l=Lt(l),u=at(u);var k=u?ka(l):0;return u&&k<u?wf(u-k,g)+l:l}function vI(l,u,g){return g||u==null?u=0:u&&(u=+u),EC(Lt(l).replace(_n,""),u||0)}function _I(l,u,g){return(g?Pn(l,u,g):u===t)?u=1:u=at(u),$p(Lt(l),u)}function wI(){var l=arguments,u=Lt(l[0]);return l.length<3?u:u.replace(l[1],l[2])}var LI=Ma(function(l,u,g){return l+(g?"_":"")+u.toLowerCase()});function NI(l,u,g){return g&&typeof g!="number"&&Pn(l,u,g)&&(u=g=t),g=g===t?$:g>>>0,g?(l=Lt(l),l&&(typeof u=="string"||u!=null&&!_m(u))&&(u=si(u),!u&&Na(l))?js(Vi(l),0,g):l.split(u,g)):[]}var kI=Ma(function(l,u,g){return l+(g?" ":"")+Nm(u)});function OI(l,u,g){return l=Lt(l),g=g==null?0:_o(at(g),0,l.length),u=si(u),l.slice(g,g+u.length)==u}function EI(l,u,g){var k=G.templateSettings;g&&Pn(l,u,g)&&(u=t),l=Lt(l),u=Rf({},u,k,aS);var B=Rf({},u.imports,k.imports,aS),Q=hn(B),ae=jp(B,Q),he,be,ke=0,Oe=u.interpolate||Vc,Ae="__p += '",De=Dp((u.escape||Vc).source+"|"+Oe.source+"|"+(Oe===ee?Ul:Vc).source+"|"+(u.evaluate||Vc).source+"|$","g"),Ge="//# sourceURL="+(Nt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++BE+"]")+`
|
|
673
|
+
`;l.replace(De,function(Ye,ht,gt,ai,Mn,li){return gt||(gt=ai),Ae+=l.slice(ke,li).replace(pE,iC),ht&&(he=!0,Ae+=`' +
|
|
674
|
+
__e(`+ht+`) +
|
|
675
|
+
'`),Mn&&(be=!0,Ae+=`';
|
|
676
|
+
`+Mn+`;
|
|
677
|
+
__p += '`),gt&&(Ae+=`' +
|
|
678
|
+
((__t = (`+gt+`)) == null ? '' : __t) +
|
|
679
|
+
'`),ke=li+Ye.length,Ye}),Ae+=`';
|
|
680
|
+
`;var Xe=Nt.call(u,"variable")&&u.variable;if(!Xe)Ae=`with (obj) {
|
|
681
|
+
`+Ae+`
|
|
682
|
+
}
|
|
683
|
+
`;else if(Hc.test(Xe))throw new it(a);Ae=(be?Ae.replace(Be,""):Ae).replace(nt,"$1").replace(tt,"$1;"),Ae="function("+(Xe||"obj")+`) {
|
|
684
|
+
`+(Xe?"":`obj || (obj = {});
|
|
685
|
+
`)+"var __t, __p = ''"+(he?", __e = _.escape":"")+(be?`, __j = Array.prototype.join;
|
|
686
|
+
function print() { __p += __j.call(arguments, '') }
|
|
687
|
+
`:`;
|
|
688
|
+
`)+Ae+`return __p
|
|
689
|
+
}`;var ut=$S(function(){return vt(Q,Ge+"return "+Ae).apply(t,ae)});if(ut.source=Ae,vm(ut))throw ut;return ut}function CI(l){return Lt(l).toLowerCase()}function AI(l){return Lt(l).toUpperCase()}function FI(l,u,g){if(l=Lt(l),l&&(g||u===t))return lT(l);if(!l||!(u=si(u)))return l;var k=Vi(l),B=Vi(u),Q=uT(k,B),ae=cT(k,B)+1;return js(k,Q,ae).join("")}function PI(l,u,g){if(l=Lt(l),l&&(g||u===t))return l.slice(0,dT(l)+1);if(!l||!(u=si(u)))return l;var k=Vi(l),B=cT(k,Vi(u))+1;return js(k,0,B).join("")}function MI(l,u,g){if(l=Lt(l),l&&(g||u===t))return l.replace(_n,"");if(!l||!(u=si(u)))return l;var k=Vi(l),B=uT(k,Vi(u));return js(k,B).join("")}function II(l,u){var g=ne,k=se;if(Gt(u)){var B="separator"in u?u.separator:B;g="length"in u?at(u.length):g,k="omission"in u?si(u.omission):k}l=Lt(l);var Q=l.length;if(Na(l)){var ae=Vi(l);Q=ae.length}if(g>=Q)return l;var he=g-ka(k);if(he<1)return k;var be=ae?js(ae,0,he).join(""):l.slice(0,he);if(B===t)return be+k;if(ae&&(he+=be.length-he),_m(B)){if(l.slice(he).search(B)){var ke,Oe=be;for(B.global||(B=Dp(B.source,Lt(_a.exec(B))+"g")),B.lastIndex=0;ke=B.exec(Oe);)var Ae=ke.index;be=be.slice(0,Ae===t?he:Ae)}}else if(l.indexOf(si(B),he)!=he){var De=be.lastIndexOf(B);De>-1&&(be=be.slice(0,De))}return be+k}function RI(l){return l=Lt(l),l&&xn.test(l)?l.replace(Qe,cC):l}var jI=Ma(function(l,u,g){return l+(g?" ":"")+u.toUpperCase()}),Nm=eS("toUpperCase");function YS(l,u,g){return l=Lt(l),u=g?t:u,u===t?sC(l)?hC(l):QE(l):l.match(u)||[]}var $S=ct(function(l,u){try{return ii(l,t,u)}catch(g){return vm(g)?g:new it(g)}}),BI=Kr(function(l,u){return _i(u,function(g){g=dr(g),Hr(l,g,Tm(l[g],l))}),l});function DI(l){var u=l==null?0:l.length,g=Ze();return l=u?Dt(l,function(k){if(typeof k[1]!="function")throw new wi(o);return[g(k[0]),k[1]]}):[],ct(function(k){for(var B=-1;++B<u;){var Q=l[B];if(ii(Q[0],this,k))return ii(Q[1],this,k)}})}function UI(l){return cA(Ni(l,p))}function km(l){return function(){return l}}function xI(l,u){return l==null||l!==l?u:l}var JI=nS(),zI=nS(!0);function Gn(l){return l}function Om(l){return PT(typeof l=="function"?l:Ni(l,p))}function WI(l){return IT(Ni(l,p))}function GI(l,u){return RT(l,Ni(u,p))}var qI=ct(function(l,u){return function(g){return Kl(g,l,u)}}),HI=ct(function(l,u){return function(g){return Kl(l,g,u)}});function Em(l,u,g){var k=hn(u),B=yf(u,k);g==null&&!(Gt(u)&&(B.length||!k.length))&&(g=u,u=l,l=this,B=yf(u,hn(u)));var Q=!(Gt(g)&&"chain"in g)||!!g.chain,ae=Qr(l);return _i(B,function(he){var be=u[he];l[he]=be,ae&&(l.prototype[he]=function(){var ke=this.__chain__;if(Q||ke){var Oe=l(this.__wrapped__),Ae=Oe.__actions__=Jn(this.__actions__);return Ae.push({func:be,args:arguments,thisArg:l}),Oe.__chain__=ke,Oe}return be.apply(l,As([this.value()],arguments))})}),l}function VI(){return yn._===this&&(yn._=TC),this}function Cm(){}function KI(l){return l=at(l),ct(function(u){return jT(u,l)})}var ZI=om(Dt),QI=om(iT),XI=om(Fp);function ev(l){return hm(l)?Pp(dr(l)):OA(l)}function YI(l){return function(u){return l==null?t:wo(l,u)}}var $I=rS(),eR=rS(!0);function Am(){return[]}function Fm(){return!1}function tR(){return{}}function nR(){return""}function iR(){return!0}function rR(l,u){if(l=at(l),l<1||l>z)return[];var g=$,k=wn(l,$);u=Ze(u),l-=$;for(var B=Rp(k,u);++g<l;)u(g);return B}function sR(l){return st(l)?Dt(l,dr):oi(l)?[l]:Jn(SS(Lt(l)))}function oR(l){var u=++gC;return Lt(l)+u}var aR=_f(function(l,u){return l+u},0),lR=am("ceil"),uR=_f(function(l,u){return l/u},1),cR=am("floor");function fR(l){return l&&l.length?mf(l,Gn,Hp):t}function dR(l,u){return l&&l.length?mf(l,Ze(u,2),Hp):t}function hR(l){return oT(l,Gn)}function pR(l,u){return oT(l,Ze(u,2))}function mR(l){return l&&l.length?mf(l,Gn,Qp):t}function yR(l,u){return l&&l.length?mf(l,Ze(u,2),Qp):t}var gR=_f(function(l,u){return l*u},1),bR=am("round"),TR=_f(function(l,u){return l-u},0);function SR(l){return l&&l.length?Ip(l,Gn):0}function vR(l,u){return l&&l.length?Ip(l,Ze(u,2)):0}return G.after=WP,G.ary=FS,G.assign=AM,G.assignIn=qS,G.assignInWith=Rf,G.assignWith=FM,G.at=PM,G.before=PS,G.bind=Tm,G.bindAll=BI,G.bindKey=MS,G.castArray=tM,G.chain=ES,G.chunk=cF,G.compact=fF,G.concat=dF,G.cond=DI,G.conforms=UI,G.constant=km,G.countBy=SP,G.create=MM,G.curry=IS,G.curryRight=RS,G.debounce=jS,G.defaults=IM,G.defaultsDeep=RM,G.defer=GP,G.delay=qP,G.difference=hF,G.differenceBy=pF,G.differenceWith=mF,G.drop=yF,G.dropRight=gF,G.dropRightWhile=bF,G.dropWhile=TF,G.fill=SF,G.filter=_P,G.flatMap=NP,G.flatMapDeep=kP,G.flatMapDepth=OP,G.flatten=LS,G.flattenDeep=vF,G.flattenDepth=_F,G.flip=HP,G.flow=JI,G.flowRight=zI,G.fromPairs=wF,G.functions=zM,G.functionsIn=WM,G.groupBy=EP,G.initial=NF,G.intersection=kF,G.intersectionBy=OF,G.intersectionWith=EF,G.invert=qM,G.invertBy=HM,G.invokeMap=AP,G.iteratee=Om,G.keyBy=FP,G.keys=hn,G.keysIn=Wn,G.map=Cf,G.mapKeys=KM,G.mapValues=ZM,G.matches=WI,G.matchesProperty=GI,G.memoize=Ff,G.merge=QM,G.mergeWith=HS,G.method=qI,G.methodOf=HI,G.mixin=Em,G.negate=Pf,G.nthArg=KI,G.omit=XM,G.omitBy=YM,G.once=VP,G.orderBy=PP,G.over=ZI,G.overArgs=KP,G.overEvery=QI,G.overSome=XI,G.partial=Sm,G.partialRight=BS,G.partition=MP,G.pick=$M,G.pickBy=VS,G.property=ev,G.propertyOf=YI,G.pull=PF,G.pullAll=kS,G.pullAllBy=MF,G.pullAllWith=IF,G.pullAt=RF,G.range=$I,G.rangeRight=eR,G.rearg=ZP,G.reject=jP,G.remove=jF,G.rest=QP,G.reverse=gm,G.sampleSize=DP,G.set=tI,G.setWith=nI,G.shuffle=UP,G.slice=BF,G.sortBy=zP,G.sortedUniq=GF,G.sortedUniqBy=qF,G.split=NI,G.spread=XP,G.tail=HF,G.take=VF,G.takeRight=KF,G.takeRightWhile=ZF,G.takeWhile=QF,G.tap=fP,G.throttle=YP,G.thru=Ef,G.toArray=zS,G.toPairs=KS,G.toPairsIn=ZS,G.toPath=sR,G.toPlainObject=GS,G.transform=iI,G.unary=$P,G.union=XF,G.unionBy=YF,G.unionWith=$F,G.uniq=eP,G.uniqBy=tP,G.uniqWith=nP,G.unset=rI,G.unzip=bm,G.unzipWith=OS,G.update=sI,G.updateWith=oI,G.values=ja,G.valuesIn=aI,G.without=iP,G.words=YS,G.wrap=eM,G.xor=rP,G.xorBy=sP,G.xorWith=oP,G.zip=aP,G.zipObject=lP,G.zipObjectDeep=uP,G.zipWith=cP,G.entries=KS,G.entriesIn=ZS,G.extend=qS,G.extendWith=Rf,Em(G,G),G.add=aR,G.attempt=$S,G.camelCase=fI,G.capitalize=QS,G.ceil=lR,G.clamp=lI,G.clone=nM,G.cloneDeep=rM,G.cloneDeepWith=sM,G.cloneWith=iM,G.conformsTo=oM,G.deburr=XS,G.defaultTo=xI,G.divide=uR,G.endsWith=dI,G.eq=Zi,G.escape=hI,G.escapeRegExp=pI,G.every=vP,G.find=wP,G.findIndex=_S,G.findKey=jM,G.findLast=LP,G.findLastIndex=wS,G.findLastKey=BM,G.floor=cR,G.forEach=CS,G.forEachRight=AS,G.forIn=DM,G.forInRight=UM,G.forOwn=xM,G.forOwnRight=JM,G.get=wm,G.gt=aM,G.gte=lM,G.has=GM,G.hasIn=Lm,G.head=NS,G.identity=Gn,G.includes=CP,G.indexOf=LF,G.inRange=uI,G.invoke=VM,G.isArguments=ko,G.isArray=st,G.isArrayBuffer=uM,G.isArrayLike=zn,G.isArrayLikeObject=en,G.isBoolean=cM,G.isBuffer=Bs,G.isDate=fM,G.isElement=dM,G.isEmpty=hM,G.isEqual=pM,G.isEqualWith=mM,G.isError=vm,G.isFinite=yM,G.isFunction=Qr,G.isInteger=DS,G.isLength=Mf,G.isMap=US,G.isMatch=gM,G.isMatchWith=bM,G.isNaN=TM,G.isNative=SM,G.isNil=_M,G.isNull=vM,G.isNumber=xS,G.isObject=Gt,G.isObjectLike=Ht,G.isPlainObject=eu,G.isRegExp=_m,G.isSafeInteger=wM,G.isSet=JS,G.isString=If,G.isSymbol=oi,G.isTypedArray=Ra,G.isUndefined=LM,G.isWeakMap=NM,G.isWeakSet=kM,G.join=CF,G.kebabCase=mI,G.last=Oi,G.lastIndexOf=AF,G.lowerCase=yI,G.lowerFirst=gI,G.lt=OM,G.lte=EM,G.max=fR,G.maxBy=dR,G.mean=hR,G.meanBy=pR,G.min=mR,G.minBy=yR,G.stubArray=Am,G.stubFalse=Fm,G.stubObject=tR,G.stubString=nR,G.stubTrue=iR,G.multiply=gR,G.nth=FF,G.noConflict=VI,G.noop=Cm,G.now=Af,G.pad=bI,G.padEnd=TI,G.padStart=SI,G.parseInt=vI,G.random=cI,G.reduce=IP,G.reduceRight=RP,G.repeat=_I,G.replace=wI,G.result=eI,G.round=bR,G.runInContext=ge,G.sample=BP,G.size=xP,G.snakeCase=LI,G.some=JP,G.sortedIndex=DF,G.sortedIndexBy=UF,G.sortedIndexOf=xF,G.sortedLastIndex=JF,G.sortedLastIndexBy=zF,G.sortedLastIndexOf=WF,G.startCase=kI,G.startsWith=OI,G.subtract=TR,G.sum=SR,G.sumBy=vR,G.template=EI,G.times=rR,G.toFinite=Xr,G.toInteger=at,G.toLength=WS,G.toLower=CI,G.toNumber=Ei,G.toSafeInteger=CM,G.toString=Lt,G.toUpper=AI,G.trim=FI,G.trimEnd=PI,G.trimStart=MI,G.truncate=II,G.unescape=RI,G.uniqueId=oR,G.upperCase=jI,G.upperFirst=Nm,G.each=CS,G.eachRight=AS,G.first=NS,Em(G,function(){var l={};return cr(G,function(u,g){Nt.call(G.prototype,g)||(l[g]=u)}),l}(),{chain:!1}),G.VERSION=i,_i(["bind","bindKey","curry","curryRight","partial","partialRight"],function(l){G[l].placeholder=G}),_i(["drop","take"],function(l,u){mt.prototype[l]=function(g){g=g===t?1:ln(at(g),0);var k=this.__filtered__&&!u?new mt(this):this.clone();return k.__filtered__?k.__takeCount__=wn(g,k.__takeCount__):k.__views__.push({size:wn(g,$),type:l+(k.__dir__<0?"Right":"")}),k},mt.prototype[l+"Right"]=function(g){return this.reverse()[l](g).reverse()}}),_i(["filter","map","takeWhile"],function(l,u){var g=u+1,k=g==b||g==L;mt.prototype[l]=function(B){var Q=this.clone();return Q.__iteratees__.push({iteratee:Ze(B,3),type:g}),Q.__filtered__=Q.__filtered__||k,Q}}),_i(["head","last"],function(l,u){var g="take"+(u?"Right":"");mt.prototype[l]=function(){return this[g](1).value()[0]}}),_i(["initial","tail"],function(l,u){var g="drop"+(u?"":"Right");mt.prototype[l]=function(){return this.__filtered__?new mt(this):this[g](1)}}),mt.prototype.compact=function(){return this.filter(Gn)},mt.prototype.find=function(l){return this.filter(l).head()},mt.prototype.findLast=function(l){return this.reverse().find(l)},mt.prototype.invokeMap=ct(function(l,u){return typeof l=="function"?new mt(this):this.map(function(g){return Kl(g,l,u)})}),mt.prototype.reject=function(l){return this.filter(Pf(Ze(l)))},mt.prototype.slice=function(l,u){l=at(l);var g=this;return g.__filtered__&&(l>0||u<0)?new mt(g):(l<0?g=g.takeRight(-l):l&&(g=g.drop(l)),u!==t&&(u=at(u),g=u<0?g.dropRight(-u):g.take(u-l)),g)},mt.prototype.takeRightWhile=function(l){return this.reverse().takeWhile(l).reverse()},mt.prototype.toArray=function(){return this.take($)},cr(mt.prototype,function(l,u){var g=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),B=G[k?"take"+(u=="last"?"Right":""):u],Q=k||/^find/.test(u);B&&(G.prototype[u]=function(){var ae=this.__wrapped__,he=k?[1]:arguments,be=ae instanceof mt,ke=he[0],Oe=be||st(ae),Ae=function(ht){var gt=B.apply(G,As([ht],he));return k&&De?gt[0]:gt};Oe&&g&&typeof ke=="function"&&ke.length!=1&&(be=Oe=!1);var De=this.__chain__,Ge=!!this.__actions__.length,Xe=Q&&!De,ut=be&&!Ge;if(!Q&&Oe){ae=ut?ae:new mt(this);var Ye=l.apply(ae,he);return Ye.__actions__.push({func:Ef,args:[Ae],thisArg:t}),new Li(Ye,De)}return Xe&&ut?l.apply(this,he):(Ye=this.thru(Ae),Xe?k?Ye.value()[0]:Ye.value():Ye)})}),_i(["pop","push","shift","sort","splice","unshift"],function(l){var u=$c[l],g=/^(?:push|sort|unshift)$/.test(l)?"tap":"thru",k=/^(?:pop|shift)$/.test(l);G.prototype[l]=function(){var B=arguments;if(k&&!this.__chain__){var Q=this.value();return u.apply(st(Q)?Q:[],B)}return this[g](function(ae){return u.apply(st(ae)?ae:[],B)})}}),cr(mt.prototype,function(l,u){var g=G[u];if(g){var k=g.name+"";Nt.call(Aa,k)||(Aa[k]=[]),Aa[k].push({name:u,func:g})}}),Aa[vf(t,C).name]=[{name:"wrapper",func:t}],mt.prototype.clone=RC,mt.prototype.reverse=jC,mt.prototype.value=BC,G.prototype.at=dP,G.prototype.chain=hP,G.prototype.commit=pP,G.prototype.next=mP,G.prototype.plant=gP,G.prototype.reverse=bP,G.prototype.toJSON=G.prototype.valueOf=G.prototype.value=TP,G.prototype.first=G.prototype.head,Jl&&(G.prototype[Jl]=yP),G},Oa=pC();bo?((bo.exports=Oa)._=Oa,Op._=Oa):yn._=Oa}).call(Ee)})(Qd,Qd.exports);var pk=Qd.exports,kc={},bl={};Object.defineProperty(bl,"__esModule",{value:!0});bl.phpNameStyle=bl.stringEscape=void 0;const cn=Ke;bl.stringEscape=(0,cn.utf16ConcatMap)((0,cn.escapeNonPrintableMapper)(cn.isAscii,cn.standardUnicodeHexEscape));function mk(n){return n===95?!0:(0,cn.isAscii)(n)&&(0,cn.isLetter)(n)}function p8(n){return mk(n)||(0,cn.isAscii)(n)&&(0,cn.isDigit)(n)}const m8=(0,cn.utf16LegalizeCharacters)(p8);function y8(n,e,t,i=cn.allUpperWordStyle){const r=(0,cn.splitIntoWords)(t);return(0,cn.combineWords)(r,m8,e?cn.allUpperWordStyle:n?cn.firstUpperWordStyle:cn.allLowerWordStyle,e?cn.allUpperWordStyle:cn.firstUpperWordStyle,e||n?cn.allUpperWordStyle:cn.allLowerWordStyle,i,e?"_":"",mk)}bl.phpNameStyle=y8;var g8=Ee&&Ee.__createBinding||(Object.create?function(n,e,t,i){i===void 0&&(i=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,i,r)}:function(n,e,t,i){i===void 0&&(i=t),n[i]=e[t]}),b8=Ee&&Ee.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),T8=Ee&&Ee.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&g8(e,n,t);return b8(e,n),e};Object.defineProperty(kc,"__esModule",{value:!0});kc.PhpRenderer=void 0;const S8=T8(pk),$_=Wt,v8=wt,as=qe,ew=$e,ky=ti,Co=Ce,Nn=et(),mu=bl;class _8 extends v8.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._options=i,this._gettersAndSettersForPropertyName=new Map,this._haveEmittedLeadingComments=!1,this._converterClassname="Converter",this._converterKeywords=[]}forbiddenForObjectProperties(e,t){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(e){return(0,Nn.nullableFromUnion)(e)===null}namedTypeToNameForTopLevel(e){return(0,Nn.directlyReachableSingleNamedType)(e)}makeNamesForPropertyGetterAndSetter(e,t,i,r,s){const o=new as.DependencyName(this.getNameStyling("propertyNamingFunction"),s.order,y=>`get_${y(s)}`),a=new as.DependencyName(this.getNameStyling("propertyNamingFunction"),s.order,y=>`set_${y(s)}`),c=new as.DependencyName(this.getNameStyling("propertyNamingFunction"),s.order,y=>`validate_${y(s)}`),f=new as.DependencyName(this.getNameStyling("propertyNamingFunction"),s.order,y=>`from_${y(s)}`),d=new as.DependencyName(this.getNameStyling("propertyNamingFunction"),s.order,y=>`to_${y(s)}`),p=new as.DependencyName(this.getNameStyling("propertyNamingFunction"),s.order,y=>`sample_${y(s)}`);return{getter:o,setter:a,validate:c,from:f,to:d,sample:p}}makePropertyDependencyNames(e,t,i,r,s){const o=this.makeNamesForPropertyGetterAndSetter(e,t,i,r,s);return this._gettersAndSettersForPropertyName.set(s,o),[o.getter,o.setter,o.validate,o.to,o.from,o.sample]}getNameStyling(e){return{typeNamingFunction:(0,as.funPrefixNamer)("types",i=>(0,mu.phpNameStyle)(!0,!1,i,(0,ky.acronymStyle)(this._options.acronymStyle))),propertyNamingFunction:(0,as.funPrefixNamer)("properties",i=>(0,mu.phpNameStyle)(!1,!1,i,(0,ky.acronymStyle)(this._options.acronymStyle))),enumCaseNamingFunction:(0,as.funPrefixNamer)("enum-cases",i=>(0,mu.phpNameStyle)(!0,!0,i,(0,ky.acronymStyle)(this._options.acronymStyle)))}[e]}startFile(e){this.ensureBlankLine(),!this._haveEmittedLeadingComments&&this.leadingComments!==void 0&&(this.emitComments(this.leadingComments),this.ensureBlankLine(),this._haveEmittedLeadingComments=!0)}finishFile(){}emitFileHeader(e,t){this.startFile(e),this.emitLine("// This is a autogenerated file:",e),this.ensureBlankLine()}emitDescriptionBlock(e){this.emitCommentLines(e,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(e,t){this.emitLine(e," {"),this.indent(t),this.emitLine("}")}phpType(e,t,i=!1,r="?",s=""){function o(a){return[i?r:"",a,i?s:""]}return(0,Nn.matchType)(t,a=>(0,ew.maybeAnnotated)(i,$_.anyTypeIssueAnnotation,"Object"),a=>(0,ew.maybeAnnotated)(i,$_.nullTypeIssueAnnotation,"Object"),a=>o("bool"),a=>o("int"),a=>o("float"),a=>o("string"),a=>o("array"),a=>o(this.nameForNamedType(a)),a=>o("stdClass"),a=>o(this.nameForNamedType(a)),a=>{const c=(0,Nn.nullableFromUnion)(a);return c!==null?this.phpType(!0,c,!0,r,s):this.nameForNamedType(a)},a=>{if(a.kind==="time")throw Error('transformedStringType.kind === "time"');if(a.kind==="date")throw Error('transformedStringType.kind === "date"');if(a.kind==="date-time")return"DateTime";if(a.kind==="uuid")throw Error('transformedStringType.kind === "uuid"');return"string"})}phpDocConvertType(e,t){return(0,Nn.matchType)(t,i=>"any",i=>"null",i=>"bool",i=>"int",i=>"float",i=>"string",i=>[this.phpDocConvertType(e,i.items),"[]"],i=>i.getCombinedName(),i=>"stdClass",i=>this.nameForNamedType(i),i=>{const r=(0,Nn.nullableFromUnion)(i);if(r!==null)return[this.phpDocConvertType(e,r),"|null"];throw Error("union are not supported")},i=>{if(i.kind==="date-time")return"DateTime";throw Error('transformedStringType.kind === "unknown"')})}phpConvertType(e,t){return(0,Nn.matchType)(t,i=>"any",i=>"null",i=>"bool",i=>"int",i=>"float",i=>"string",i=>"array",i=>"stdClass",i=>"stdClass",i=>"string",i=>{const r=(0,Nn.nullableFromUnion)(i);if(r!==null)return["?",this.phpConvertType(e,r)];throw Error("union are not supported")},i=>{if(i.kind==="date-time")return"string";throw Error('transformedStringType.kind === "unknown"')})}phpToObjConvert(e,t,i,r){(0,Nn.matchType)(t,s=>this.emitLine(...i,...r,"; /*any*/"),s=>this.emitLine(...i,...r,"; /*null*/"),s=>this.emitLine(...i,...r,"; /*bool*/"),s=>this.emitLine(...i,...r,"; /*int*/"),s=>this.emitLine(...i,...r,"; /*float*/"),s=>this.emitLine(...i,...r,"; /*string*/"),s=>{this.emitLine(...i,"array_map(function ($value) {"),this.indent(()=>{this.phpToObjConvert(e,s.items,["return "],["$value"])}),this.emitLine("}, ",...r,");")},s=>this.emitLine(...i,...r,"->to(); ","/*class*/"),s=>{this.emitBlock(["function to($my): stdClass"],()=>{this.emitLine("$out = new stdClass();"),this.emitBlock(["foreach ($my as $k => $v)"],()=>{this.phpToObjConvert(e,s.values,["$my->$k = "],["$v"])}),this.emitLine("return $out;")}),this.emitLine("return to(",...r,");")},s=>this.emitLine(...i,this.nameForNamedType(s),"::to(",...r,"); ","/*enum*/"),s=>{const o=(0,Nn.nullableFromUnion)(s);if(o!==null){this.emitLine("if (!is_null(",...r,")) {"),this.indent(()=>this.phpToObjConvert(e,o,i,r)),this.emitLine("} else {"),this.indent(()=>this.emitLine(...i," null;")),this.emitLine("}");return}throw Error("union are not supported")},s=>{if(s.kind==="date-time"){this.emitLine(...i,...r,"->format(DateTimeInterface::ISO8601);");return}throw Error('transformedStringType.kind === "unknown"')})}transformDateTime(e,t,i){this.emitBlock(["if (!is_a(",i,", 'DateTime'))"],()=>this.emitLine("throw new Exception('Attribute Error:",e,"::",t,"');"))}phpFromObjConvert(e,t,i,r){(0,Nn.matchType)(t,s=>this.emitLine(...i,...r,"; /*any*/"),s=>this.emitLine(...i,...r,"; /*null*/"),s=>this.emitLine(...i,...r,"; /*bool*/"),s=>this.emitLine(...i,...r,"; /*int*/"),s=>this.emitLine(...i,...r,"; /*float*/"),s=>this.emitLine(...i,...r,"; /*string*/"),s=>{this.emitLine(...i," array_map(function ($value) {"),this.indent(()=>{this.phpFromObjConvert(e,s.items,["return "],["$value"])}),this.emitLine("}, ",...r,");")},s=>this.emitLine(...i,this.nameForNamedType(s),"::from(",...r,"); ","/*class*/"),s=>{this.emitBlock(["function from($my): stdClass"],()=>{this.emitLine("$out = new stdClass();"),this.emitBlock(["foreach ($my as $k => $v)"],()=>{this.phpFromObjConvert(e,s.values,["$out->$k = "],["$v"])}),this.emitLine("return $out;")}),this.emitLine("return from(",...r,");")},s=>this.emitLine(...i,this.nameForNamedType(s),"::from(",...r,"); ","/*enum*/"),s=>{const o=(0,Nn.nullableFromUnion)(s);if(o!==null){this.emitLine("if (!is_null(",...r,")) {"),this.indent(()=>this.phpFromObjConvert(e,o,i,r)),this.emitLine("} else {"),this.indent(()=>this.emitLine("return null;")),this.emitLine("}");return}throw Error("union are not supported")},s=>{if(s.kind==="date-time"){this.emitLine("$tmp = ","DateTime::createFromFormat(DateTimeInterface::ISO8601, ",r,");"),this.transformDateTime(e,"",["$tmp"]),this.emitLine("return $tmp;");return}throw Error('transformedStringType.kind === "unknown"')})}phpSampleConvert(e,t,i,r,s,o){(0,Nn.matchType)(t,a=>this.emitLine(...i,"'AnyType::",e,"::",r,"::"+s,"'",o,"/*",""+s,":",r,"*/"),a=>this.emitLine(...i,"null",o," /*",""+s,":",r,"*/"),a=>this.emitLine(...i,"true",o," /*",""+s,":",r,"*/"),a=>this.emitLine(...i,""+s,o," /*",""+s,":",r,"*/"),a=>this.emitLine(...i,""+(s+s/1e3),o," /*",""+s,":",r,"*/"),a=>this.emitLine(...i,"'",e,"::",r,"::"+s,"'",o," /*",""+s,":",r,"*/"),a=>{this.emitLine(...i," array("),this.indent(()=>{this.phpSampleConvert(e,a.items,[],[],s,"")}),this.emitLine("); /* ",""+s,":",r,"*/")},a=>this.emitLine(...i,this.nameForNamedType(a),"::sample()",o," /*",""+s,":",r,"*/"),a=>{this.emitBlock(["function sample(): stdClass"],()=>{this.emitLine("$out = new stdClass();"),this.phpSampleConvert(e,a.values,["$out->{'",e,"'} = "],r,s,";"),this.emitLine("return $out;")}),this.emitLine("return sample();")},a=>this.emitLine(...i,this.nameForNamedType(a),"::sample()",o," /*enum*/"),a=>{const c=(0,Nn.nullableFromUnion)(a);if(c!==null){this.phpSampleConvert(e,c,i,r,s,o);return}throw Error("union are not supported:"+a)},a=>{if(a.kind==="date-time"){const c=S8.pad(""+(1+s%31),2,"0");this.emitLine(...i,"DateTime::createFromFormat(DateTimeInterface::ISO8601, '",`2020-12-${c}T12:${c}:${c}+00:00`,"')",o);return}throw Error('transformedStringType.kind === "unknown"')})}phpValidate(e,t,i,r){const s=(o,a=e)=>{this.emitBlock(["if (!",o,"(",r,"))"],()=>this.emitLine('throw new Exception("Attribute Error:',a,"::",i,'");'))};(0,Nn.matchType)(t,o=>s("defined"),o=>s("is_null"),o=>s("is_bool"),o=>s("is_integer"),o=>s("is_float"),o=>s("is_string"),o=>{s("is_array"),this.emitLine("array_walk(",r,", function(",r,"_v) {"),this.indent(()=>{this.phpValidate(e,o.items,i,`${r}_v`)}),this.emitLine("});")},o=>{this.emitLine(r,"->validate();")},o=>{this.emitLine("foreach (",r," as $k => $v) {"),this.indent(()=>{this.phpValidate(e,o.values,i,"$v")}),this.emitLine("}")},o=>{this.emitLine(this.phpType(!1,o),"::to(",r,");")},o=>{const a=(0,Nn.nullableFromUnion)(o);if(a!==null){this.emitBlock(["if (!is_null(",r,"))"],()=>{this.phpValidate(e,a,i,r)});return}throw Error("not implemented")},o=>{if(o.kind==="date-time"){this.transformDateTime(e,i,[r]);return}throw Error(`transformedStringType.kind === ${o.kind}`)})}emitFromMethod(e,t,i,r,s){this.emitLine("/**"),s!==void 0&&(this.emitLine(" * ",s),this.emitLine(" *")),this.emitLine(" * @param ",this.phpConvertType(i,t.type)," $value"),this.emitLine(" * @throws Exception"),this.emitLine(" * @return ",this.phpType(!1,t.type)),this.emitLine(" */"),this.emitBlock(["public static function ",e.from,"(",this.phpConvertType(i,t.type)," $value): ",this.phpType(!1,t.type)],()=>{this.phpFromObjConvert(i,t.type,["return "],["$value"])})}emitToMethod(e,t,i,r,s){this.emitLine("/**"),s!==void 0&&(this.emitLine(" * ",s),this.emitLine(" *")),this.emitLine(" * @throws Exception"),this.emitLine(" * @return ",this.phpConvertType(i,t.type)),this.emitLine(" */"),this.emitBlock(["public function ",e.to,"(): ",this.phpConvertType(i,t.type)],()=>{this.emitBlock(["if (",i,"::",e.validate,"($this->",r,")) "],()=>{this.phpToObjConvert(i,t.type,["return "],["$this->",r])}),this.emitLine("throw new Exception('never get to this ",i,"::",r,"');")})}emitValidateMethod(e,t,i,r,s){this.emitLine("/**"),s!==void 0&&(this.emitLine(" * ",s),this.emitLine(" *")),this.emitLine(" * @param ",this.phpType(!1,t.type,!1,"","|null")),this.emitLine(" * @return bool"),this.emitLine(" * @throws Exception"),this.emitLine(" */"),this.emitBlock(["public static function ",e.validate,"(",this.phpType(!1,t.type)," $value): bool"],()=>{this.phpValidate(i,t.type,r,"$value"),this.emitLine("return true;")})}emitGetMethod(e,t,i,r,s){if(this._options.withGet){this.emitLine("/**"),s!==void 0&&(this.emitLine(" * ",s),this.emitLine(" *")),this._options.fastGet||this.emitLine(" * @throws Exception");const o=this.phpType(!1,t.type);this.emitLine(" * @return ",o),this.emitLine(" */"),this.emitBlock(["public function ",e.getter,"(): ",o],()=>{this._options.fastGet?this.emitLine("return $this->",r,";"):(this.emitBlock(["if (",i,"::",e.validate,"($this->",r,")) "],()=>{this.emitLine("return $this->",r,";")}),this.emitLine("throw new Exception('never get to ",e.getter," ",i,"::",r,"');"))})}}emitSetMethod(e,t,i,r,s){this._options.withSet&&(this.emitLine("/**"),s!==void 0&&(this.emitLine(" * ",s),this.emitLine(" *")),this.emitLine(" * @param ",this.phpType(!1,t.type,!1,"","|null")),this.emitLine(" * @throws Exception"),this.emitLine(" */"),this.emitBlock(["public function ",e.setter,"(",this.phpType(!1,t.type)," $value)"],()=>{this.emitBlock(["if (",i,"::",e.validate,"($value)) "],()=>{this.emitLine("$this->",r," = $value;")})}))}emitSampleMethod(e,t,i,r,s,o){if(this._options.withGet){this.emitLine("/**"),s!==void 0&&(this.emitLine(" * ",s),this.emitLine(" *"));const a=this.phpType(!1,t.type);this.emitLine(" * @return ",a),this.emitLine(" */"),this.emitBlock(["public static function ",e.sample,"(): ",a],()=>{this.phpSampleConvert(i,t.type,["return "],[r],o,";")})}}emitClassDefinition(e,t){this.emitFileHeader(t,[]),this.emitBlock(["class ",t],()=>{this.forEachClassProperty(e,"none",(a,c,f)=>{this.emitLine("private ",this.phpType(!1,f.type)," $",a,"; // json:",c," ",f.type.isNullable?"Optional":"Required")}),this.ensureBlankLine();const i=[],r=[];let s="";this.forEachClassProperty(e,"none",(a,c,f)=>{r.push([s,this.phpType(!1,f.type)," $",a]),s=", ",i.push([" * @param ",this.phpType(!1,f.type,!1,"","|null")," $",a,`
|
|
690
|
+
`])}),this.emitBlock([`/**
|
|
691
|
+
`,...i,` */
|
|
692
|
+
`,"public function __construct(",...r,")"],()=>{this.forEachClassProperty(e,"none",a=>{this.emitLine("$this->",a," = $",a,";")})});let o=31;this.forEachClassProperty(e,"leading-and-interposing",(a,c,f)=>{const d=this.descriptionForClassProperty(e,c),p=(0,Co.defined)(this._gettersAndSettersForPropertyName.get(a));this.ensureBlankLine(),this.emitFromMethod(p,f,t,a,d),this.ensureBlankLine(),this.emitToMethod(p,f,t,a,d),this.ensureBlankLine(),this.emitValidateMethod(p,f,t,a,d),this.ensureBlankLine(),this.emitGetMethod(p,f,t,a,d),this.ensureBlankLine(),this.emitSetMethod(p,f,t,a,d),this.ensureBlankLine(),this.emitSampleMethod(p,f,t,a,d,o++)}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
693
|
+
`,` * @throws Exception
|
|
694
|
+
`,` * @return bool
|
|
695
|
+
`,` */
|
|
696
|
+
`,"public function validate(): bool"],()=>{let a=[],c="return ";this.forEachClassProperty(e,"none",(f,d,p)=>{const y=(0,Co.defined)(this._gettersAndSettersForPropertyName.get(f));a.push([c,t,"::",y.validate,"($this->",f,")"]),c="|| "}),a.forEach((f,d)=>{this.emitLine(...f,a.length===d+1?";":"")})}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
697
|
+
`,` * @return stdClass
|
|
698
|
+
`,` * @throws Exception
|
|
699
|
+
`,` */
|
|
700
|
+
`,"public function to(): stdClass "],()=>{this.emitLine("$out = new stdClass();"),this.forEachClassProperty(e,"none",(a,c)=>{const f=(0,Co.defined)(this._gettersAndSettersForPropertyName.get(a));this.emitLine("$out->{'",c,"'} = $this->",f.to,"();")}),this.emitLine("return $out;")}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
701
|
+
`,` * @param stdClass $obj
|
|
702
|
+
`," * @return ",t,`
|
|
703
|
+
`,` * @throws Exception
|
|
704
|
+
`,` */
|
|
705
|
+
`,"public static function from(stdClass $obj): ",t],()=>{this._options.fastGet&&this.forEachClassProperty(e,"none",c=>{const f=(0,Co.defined)(this._gettersAndSettersForPropertyName.get(c));this.emitLine(t,"::",f.validate,"($this->",c,", true);")}),this.emitLine("return new ",t,"(");let a=" ";this.forEachClassProperty(e,"none",(c,f)=>{const d=(0,Co.defined)(this._gettersAndSettersForPropertyName.get(c));this.emitLine(a,t,"::",d.from,"($obj->{'",f,"'})"),a=","}),this.emitLine(");")}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
706
|
+
`," * @return ",t,`
|
|
707
|
+
`,` */
|
|
708
|
+
`,"public static function sample(): ",t],()=>{this.emitLine("return new ",t,"(");let a=" ";this.forEachClassProperty(e,"none",c=>{const f=(0,Co.defined)(this._gettersAndSettersForPropertyName.get(c));this.emitLine(a,t,"::",f.sample,"()"),a=","}),this.emitLine(");")})}),this.finishFile()}emitUnionAttributes(e,t){}emitUnionSerializer(e,t){}emitUnionDefinition(e,t){throw Error("emitUnionDefinition not implemented")}emitEnumSerializationAttributes(e){}emitEnumDeserializationAttributes(e){}emitEnumDefinition(e,t){this.emitFileHeader(t,[]),this.emitDescription(this.descriptionForType(e));const i="string";this.emitBlock(["class ",t],()=>{this.forEachEnumCase(e,"none",(r,s)=>{this.emitLine("public static ",t," $",r,";")}),this.emitBlock("public static function init()",()=>{this.forEachEnumCase(e,"none",(r,s)=>{this.emitLine(t,"::$",r," = new ",t,"('",s,"');")})}),this.emitLine("private ",i," $enum;"),this.emitBlock(["public function __construct(",i," $enum)"],()=>{this.emitLine("$this->enum = $enum;")}),this.ensureBlankLine(),this.emitEnumSerializationAttributes(e),this.emitBlock([`/**
|
|
709
|
+
`," * @param ",t,`
|
|
710
|
+
`," * @return ",i,`
|
|
711
|
+
`,` * @throws Exception
|
|
712
|
+
`,` */
|
|
713
|
+
`,"public static function to(",t," $obj): ",i],()=>{this.emitLine("switch ($obj->enum) {"),this.indent(()=>{this.forEachEnumCase(e,"none",(r,s)=>{this.emitLine("case ",t,"::$",r,"->enum: return '",(0,mu.stringEscape)(s),"';")})}),this.emitLine("}"),this.emitLine("throw new Exception('the give value is not an enum-value.');")}),this.ensureBlankLine(),this.emitEnumDeserializationAttributes(e),this.emitBlock([`/**
|
|
714
|
+
`,` * @param mixed
|
|
715
|
+
`," * @return ",t,`
|
|
716
|
+
`,` * @throws Exception
|
|
717
|
+
`,` */
|
|
718
|
+
`,"public static function from($obj): ",t],()=>{this.emitLine("switch ($obj) {"),this.indent(()=>{this.forEachEnumCase(e,"none",(r,s)=>{this.emitLine("case '",(0,mu.stringEscape)(s),"': return ",t,"::$",r,";")})}),this.emitLine("}"),this.emitLine('throw new Exception("Cannot deserialize ',t,'");')}),this.ensureBlankLine(),this.emitBlock([`/**
|
|
719
|
+
`," * @return ",t,`
|
|
720
|
+
`,` */
|
|
721
|
+
`,"public static function sample(): ",t],()=>{const r=[];this.forEachEnumCase(e,"none",s=>{r.push([t,"::$",s])}),this.emitLine("return ",r[0],";")})}),this.emitLine(t,"::init();"),this.finishFile()}emitSourceStructure(e){this.emitLine("<?php"),this.forEachNamedType("leading-and-interposing",(t,i)=>this.emitClassDefinition(t,i),(t,i)=>this.emitEnumDefinition(t,i),(t,i)=>this.emitUnionDefinition(t,i)),this._options.withClosing&&this.emitLine("?>"),super.finishFile((0,Co.defined)(e))}}kc.PhpRenderer=_8;(function(n){var e=Ee&&Ee.__createBinding||(Object.create?function(d,p,y,h){h===void 0&&(h=y);var S=Object.getOwnPropertyDescriptor(p,y);(!S||("get"in S?!p.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return p[y]}}),Object.defineProperty(d,h,S)}:function(d,p,y,h){h===void 0&&(h=y),d[h]=p[y]}),t=Ee&&Ee.__setModuleDefault||(Object.create?function(d,p){Object.defineProperty(d,"default",{enumerable:!0,value:p})}:function(d,p){d.default=p}),i=Ee&&Ee.__importStar||function(d){if(d&&d.__esModule)return d;var p={};if(d!=null)for(var y in d)y!=="default"&&Object.prototype.hasOwnProperty.call(d,y)&&e(p,d,y);return t(p,d),p};Object.defineProperty(n,"__esModule",{value:!0}),n.PhpTargetLanguage=n.phpOptions=void 0;const r=i(pk),s=pt,o=ti,a=Ot,c=kc;n.phpOptions={withGet:new s.BooleanOption("with-get","Create Getter",!0),fastGet:new s.BooleanOption("fast-get","getter without validation",!1),withSet:new s.BooleanOption("with-set","Create Setter",!1),withClosing:new s.BooleanOption("with-closing","PHP Closing Tag",!1),acronymStyle:(0,o.acronymOption)(o.AcronymStyleOptions.Pascal)};class f extends a.TargetLanguage{constructor(){super("PHP",["php"],"php")}getOptions(){return r.values(n.phpOptions)}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(p,y){const h=(0,s.getOptionValues)(n.phpOptions,y);return new c.PhpRenderer(this,p,h)}get stringTypeMapping(){const p=new Map;return p.set("date","date"),p.set("time","time"),p.set("uuid","uuid"),p.set("date-time","date-time"),p}}n.PhpTargetLanguage=f})(hk);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.PhpRenderer=n.phpOptions=n.PhpTargetLanguage=void 0;var e=hk;Object.defineProperty(n,"PhpTargetLanguage",{enumerable:!0,get:function(){return e.PhpTargetLanguage}}),Object.defineProperty(n,"phpOptions",{enumerable:!0,get:function(){return e.phpOptions}});var t=kc;Object.defineProperty(n,"PhpRenderer",{enumerable:!0,get:function(){return t.PhpRenderer}})})(Zb);var Qb={},Tl={},Oc={},Wh={};Object.defineProperty(Wh,"__esModule",{value:!0});Wh.keywords=void 0;Wh.keywords=["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"];var oo={};Object.defineProperty(oo,"__esModule",{value:!0});oo.namedTypeNamingFunction=oo.namingFunction=oo.enumNamingFunction=void 0;const Xb=qe,qu=Ke,Yb=(0,qu.legalizeCharacters)(qu.isLetterOrUnderscoreOrDigit);oo.enumNamingFunction=(0,Xb.funPrefixNamer)("enumNamer",(0,qu.makeNameStyle)("upper-underscore",Yb));oo.namingFunction=(0,Xb.funPrefixNamer)("genericNamer",(0,qu.makeNameStyle)("underscore",Yb));oo.namedTypeNamingFunction=(0,Xb.funPrefixNamer)("typeNamer",(0,qu.makeNameStyle)("pascal",Yb));Object.defineProperty(Oc,"__esModule",{value:!0});Oc.PikeRenderer=void 0;const w8=wt,Hn=$e,Oy=Ke,yu=rt(),ld=et(),L8=Wh,ud=oo;class N8 extends w8.ConvenienceRenderer{emitSourceStructure(){this.emitInformationComment(),this.ensureBlankLine(),this.forEachTopLevel("leading",(e,t)=>{this.emitTopLevelTypedef(e,t),this.ensureBlankLine(),this.emitTopLevelConverter(e,t),this.ensureBlankLine()},e=>this.namedTypeToNameForTopLevel(e)===void 0),this.ensureBlankLine(),this.forEachNamedType("leading-and-interposing",(e,t)=>this.emitClassDefinition(e,t),(e,t)=>this.emitEnum(e,t),(e,t)=>this.emitUnion(e,t))}get enumCasesInGlobalNamespace(){return!0}makeEnumCaseNamer(){return ud.enumNamingFunction}makeNamedTypeNamer(){return ud.namedTypeNamingFunction}makeUnionMemberNamer(){return ud.namingFunction}namerForObjectProperty(){return ud.namingFunction}forbiddenNamesForGlobalNamespace(){return[...L8.keywords]}forbiddenForObjectProperties(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(e,t){return{names:[],includeGlobalForbidden:!0}}sourceFor(e){return["class","object","enum"].includes(e.kind)?(0,Hn.singleWord)(this.nameForNamedType(e)):(0,ld.matchType)(e,t=>(0,Hn.singleWord)("mixed"),t=>(0,Hn.singleWord)("mixed"),t=>(0,Hn.singleWord)("bool"),t=>(0,Hn.singleWord)("int"),t=>(0,Hn.singleWord)("float"),t=>(0,Hn.singleWord)("string"),t=>(0,Hn.singleWord)(["array(",this.sourceFor(t.items).source,")"]),t=>(0,Hn.singleWord)(this.nameForNamedType(t)),t=>{let i;const r=t.values;return i=this.sourceFor(r).source,(0,Hn.singleWord)(["mapping(string:",i,")"])},t=>(0,Hn.singleWord)("enum"),t=>{if((0,ld.nullableFromUnion)(t)!==null){const i=Array.from(t.getChildren()).map(r=>(0,Hn.parenIfNeeded)(this.sourceFor(r)));return(0,Hn.multiWord)("|",...i)}else return(0,Hn.singleWord)(this.nameForNamedType(t))})}emitClassDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitBlock(["class ",t],()=>{this.emitClassMembers(e),this.ensureBlankLine(),this.emitEncodingFunction(e)}),this.ensureBlankLine(),this.emitDecodingFunction(t,e)}emitEnum(e,t){this.emitBlock([e.kind," ",t],()=>{let i=[];this.forEachEnumCase(e,"none",(r,s)=>{i.push([[r,' = "',(0,Oy.stringEscape)(s),'", '],['// json: "',s,'"']])}),this.emitTable(i)})}emitUnion(e,t){if((0,ld.nullableFromUnion)(e)!==null)return;this.emitDescription(this.descriptionForType(e));const[,r]=(0,ld.removeNullFromUnion)(e);let s=[];this.forEachUnionMember(e,r,"none",null,(o,a)=>{const c=this.sourceFor(a).source;s.push([c])}),this.emitLine(["typedef ",s.map(o=>o.map(a=>this.sourcelikeToString(a))).join("|")," ",t,";"]),this.ensureBlankLine(),this.emitBlock([t," ",t,"_from_JSON(mixed json)"],()=>{this.emitLine(["return json;"])})}emitBlock(e,t,i=" {",r="}"){this.emitLine(e,i),this.indent(t),this.emitLine(r)}emitMappingBlock(e,t){this.emitBlock(e,t,"([","]);")}emitClassMembers(e){let t=[];this.forEachClassProperty(e,"none",(i,r,s)=>{const o=this.sourceFor(s.type).source;t.push([[o," "],[i,"; "],['// json: "',r,'"']])}),this.emitTable(t)}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(e,t){this.emitLine("typedef ",this.sourceFor(e).source," ",t,";")}emitTopLevelConverter(e,t){this.emitBlock([t," ",t,"_from_JSON(mixed json)"],()=>{if(e instanceof yu.PrimitiveType)this.emitLine(["return json;"]);else if(e instanceof yu.ArrayType)e.items instanceof yu.PrimitiveType?this.emitLine(["return json;"]):this.emitLine(["return map(json, ",this.sourceFor(e.items).source,"_from_JSON);"]);else if(e instanceof yu.MapType){const i=this.sourceFor(e.values).source;this.emitLine(["mapping(string:",i,") retval = ([]);"]);let r;e.values instanceof yu.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(e){this.emitBlock(["string encode_json()"],()=>{this.emitMappingBlock(["mapping(string:mixed) json = "],()=>{this.forEachClassProperty(e,"none",(t,i)=>{this.emitLine(['"',(0,Oy.stringEscape)(i),'" : ',t,","])})}),this.ensureBlankLine(),this.emitLine(["return Standards.JSON.encode(json);"])})}emitDecodingFunction(e,t){this.emitBlock([e," ",e,"_from_JSON(mixed json)"],()=>{this.emitLine([e," retval = ",e,"();"]),this.ensureBlankLine(),this.forEachClassProperty(t,"none",(i,r)=>{this.emitLine(["retval.",i,' = json["',(0,Oy.stringEscape)(r),'"];'])}),this.ensureBlankLine(),this.emitLine(["return retval;"])})}}Oc.PikeRenderer=N8;Object.defineProperty(Tl,"__esModule",{value:!0});Tl.PikeTargetLanguage=Tl.pikeOptions=void 0;const k8=Ot,O8=Oc;Tl.pikeOptions={};class E8 extends k8.TargetLanguage{constructor(){super("Pike",["pike","pikelang"],"pmod")}getOptions(){return[]}makeRenderer(e){return new O8.PikeRenderer(this,e)}}Tl.PikeTargetLanguage=E8;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.PikeRenderer=n.pikeOptions=n.PikeTargetLanguage=void 0;var e=Tl;Object.defineProperty(n,"PikeTargetLanguage",{enumerable:!0,get:function(){return e.PikeTargetLanguage}}),Object.defineProperty(n,"pikeOptions",{enumerable:!0,get:function(){return e.pikeOptions}});var t=Oc;Object.defineProperty(n,"PikeRenderer",{enumerable:!0,get:function(){return t.PikeRenderer}})})(Qb);var $b={},yk={},Ec={},Il={},Sl={};Object.defineProperty(Sl,"__esModule",{value:!0});Sl.forbiddenPropertyNames=Sl.forbiddenTypeNames=void 0;Sl.forbiddenTypeNames=["Any","True","False","None","Enum","List","Dict","Optional","Union","Iterable","Type","TypeVar","T","EnumT"];Sl.forbiddenPropertyNames=["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"];var sa={},C8=Ee&&Ee.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(sa,"__esModule",{value:!0});sa.snakeNameStyle=sa.classNameStyle=void 0;const gk=C8(ca),Di=Ke;function bk(n){const e=gk.default.getCategory(n);return["Lu","Ll","Lt","Lm","Lo","Nl"].includes(e)}function Tk(n){if(bk(n))return!0;const e=gk.default.getCategory(n);return["Mn","Mc","Nd","Pc"].includes(e)}function Sk(n){const e=String.fromCharCode(n).normalize("NFKC"),t=e.length;if(t===0||!bk(e.charCodeAt(0)))return!1;for(let i=1;i<t;i++)if(!Tk(e.charCodeAt(i)))return!1;return!0}function A8(n){const e=String.fromCharCode(n).normalize("NFKC"),t=e.length;for(let i=0;i<t;i++)if(!Tk(e.charCodeAt(i)))return!1;return!0}const vk=(0,Di.utf16LegalizeCharacters)(A8);function F8(n){const e=(0,Di.splitIntoWords)(n);return(0,Di.combineWords)(e,vk,Di.firstUpperWordStyle,Di.firstUpperWordStyle,Di.allUpperWordStyle,Di.allUpperWordStyle,"",Sk)}sa.classNameStyle=F8;function P8(n,e){return e?n?Di.allUpperWordStyle:Di.allLowerWordStyle:Di.originalWord}function M8(n,e,t){const i=P8(e,t),r=t?"_":"",s=(0,Di.splitIntoWords)(n);return(0,Di.combineWords)(s,vk,i,i,i,i,r,Sk)}sa.snakeNameStyle=M8;Object.defineProperty(Il,"__esModule",{value:!0});Il.PythonRenderer=void 0;const Ao=Ve,I8=wt,Ey=qe,R8=$e,j8=Ke,Cy=Ce,B8=Ns,Ay=rt(),Fy=et(),tw=Sl,Py=sa;class D8 extends I8.ConvenienceRenderer{constructor(e,t,i){super(e,t),this.pyOptions=i,this.imports=new Map,this.declaredTypes=new Set}forbiddenNamesForGlobalNamespace(){return tw.forbiddenTypeNames}forbiddenForObjectProperties(e,t){return{names:tw.forbiddenPropertyNames,includeGlobalForbidden:!1}}makeNamedTypeNamer(){return(0,Ey.funPrefixNamer)("type",Py.classNameStyle)}namerForObjectProperty(){return(0,Ey.funPrefixNamer)("property",e=>(0,Py.snakeNameStyle)(e,!1,this.pyOptions.nicePropertyNames))}makeUnionMemberNamer(){return null}makeEnumCaseNamer(){return(0,Ey.funPrefixNamer)("enum-case",e=>(0,Py.snakeNameStyle)(e,!0,this.pyOptions.nicePropertyNames))}get commentLineStart(){return"# "}emitDescriptionBlock(e){if(e.length===1){const t=(0,R8.modifySource)(i=>i.endsWith('"')?i.slice(0,-1)+'\\"':i,e[0]);this.emitComments([{customLines:[t],lineStart:'"""',lineEnd:'"""'}])}else this.emitCommentLines(e,{firstLineStart:'"""',lineStart:"",afterComment:'"""'})}get needsTypeDeclarationBeforeUse(){return!0}canBeForwardDeclared(e){const t=e.kind;return t==="class"||t==="enum"}emitBlock(e,t){this.emitLine(e),this.indent(t)}string(e){return['"',(0,j8.stringEscape)(e),'"']}withImport(e,t){return(this.pyOptions.features.typeHints||e!=="typing")&&(0,Ao.mapUpdateInto)(this.imports,e,i=>i?(0,Ao.setUnionInto)(i,[t]):new Set([t])),t}withTyping(e){return this.withImport("typing",e)}namedType(e){const t=this.nameForNamedType(e);return this.declaredTypes.has(e)?t:["'",t,"'"]}pythonType(e,t=!1){const i=(0,B8.followTargetType)(e);return(0,Fy.matchType)(i,r=>this.withTyping("Any"),r=>"None",r=>"bool",r=>"int",r=>"float",r=>"str",r=>[this.withTyping("List"),"[",this.pythonType(r.items),"]"],r=>this.namedType(r),r=>[this.withTyping("Dict"),"[str, ",this.pythonType(r.values),"]"],r=>this.namedType(r),r=>{const[s,o]=(0,Fy.removeNullFromUnion)(r),a=Array.from(o).map(c=>this.pythonType(c));if(s!==null){let c=[];return!this.getAlphabetizeProperties()&&this.pyOptions.features.dataClasses&&t&&c.push(" = None"),o.size>1?(this.withImport("typing","Union"),[this.withTyping("Optional"),"[Union[",(0,Ao.arrayIntercalate)(", ",a),"]]",...c]):[this.withTyping("Optional"),"[",(0,Cy.defined)((0,Ao.iterableFirst)(a)),"]",...c]}else return[this.withTyping("Union"),"[",(0,Ao.arrayIntercalate)(", ",a),"]"]},r=>r.kind==="date-time"?this.withImport("datetime","datetime"):r.kind==="uuid"?this.withImport("uuid","UUID"):(0,Cy.panic)(`Transformed type ${r.kind} not supported`))}declarationLine(e){return e instanceof Ay.ClassType?["class ",this.nameForNamedType(e),":"]:e instanceof Ay.EnumType?["class ",this.nameForNamedType(e),"(",this.withImport("enum","Enum"),"):"]:(0,Cy.panic)(`Can't declare type ${e.kind}`)}declareType(e,t){this.emitBlock(this.declarationLine(e),()=>{this.emitDescription(this.descriptionForType(e)),t()}),this.declaredTypes.add(e)}emitClassMembers(e){if(this.pyOptions.features.dataClasses)return;const t=[];this.forEachClassProperty(e,"none",(i,r,s)=>{t.push([i,this.typeHint(": ",this.pythonType(s.type))])}),this.emitBlock(["def __init__(self, ",(0,Ao.arrayIntercalate)(", ",t),")",this.typeHint(" -> None"),":"],()=>{t.length===0?this.emitLine("pass"):this.forEachClassProperty(e,"none",i=>{this.emitLine("self.",i," = ",i)})})}typeHint(...e){return this.pyOptions.features.typeHints?e:[]}typingDecl(e,t){return[e,this.typeHint(": ",this.withTyping(t))]}typingReturn(e){return this.typeHint(" -> ",this.withTyping(e))}sortClassProperties(e,t){return this.pyOptions.features.dataClasses?(0,Ao.mapSortBy)(e,i=>i.type instanceof Ay.UnionType&&(0,Fy.nullableFromUnion)(i.type)!=null||i.isOptional?1:0):super.sortClassProperties(e,t)}emitClass(e){this.pyOptions.features.dataClasses&&this.emitLine("@",this.withImport("dataclasses","dataclass")),this.declareType(e,()=>{this.pyOptions.features.typeHints&&(e.getProperties().size===0?this.emitLine("pass"):this.forEachClassProperty(e,"none",(t,i,r)=>{this.emitLine(t,this.typeHint(": ",this.pythonType(r.type,!0))),this.emitDescription(this.descriptionForClassProperty(e,i))}),this.ensureBlankLine()),this.emitClassMembers(e)})}emitEnum(e){this.declareType(e,()=>{this.forEachEnumCase(e,"none",(t,i)=>{this.emitLine([t," = ",this.string(i)])})})}emitImports(){this.imports.forEach((e,t)=>{this.emitLine("from ",t," import ",Array.from(e).join(", "))})}emitSupportCode(){}emitClosingCode(){}emitSourceStructure(e){const t=this.gatherSource(()=>{this.forEachNamedType(["interposing",2],s=>this.emitClass(s),s=>this.emitEnum(s),s=>{})}),i=this.gatherSource(()=>this.emitClosingCode()),r=this.gatherSource(()=>this.emitSupportCode());this.leadingComments!==void 0&&this.emitComments(this.leadingComments),this.ensureBlankLine(),this.emitImports(),this.ensureBlankLine(2),this.emitGatheredSource(r),this.ensureBlankLine(2),this.emitGatheredSource(t),this.ensureBlankLine(2),this.emitGatheredSource(i)}}Il.PythonRenderer=D8;Object.defineProperty(Ec,"__esModule",{value:!0});Ec.JSONPythonRenderer=void 0;const cd=Ve,nw=wt,My=qe,Xn=$e,er=Ce,Sr=Ns,Iy=et(),U8=Il,x8=sa;function Vt(n,e){return typeof e=="function"?n.value!==void 0?{value:e(Jo(n))}:n.lambda!==void 0?{lambda:(0,Xn.multiWord)(" ","lambda x:",e([(0,Xn.parenIfNeeded)(n.lambda),"(x)"])),value:void 0}:{lambda:(0,Xn.multiWord)(" ","lambda x:",e("x")),value:void 0}:e.value!==void 0?(0,er.panic)("Cannot compose into a value"):e.lambda===void 0?n:n.value===void 0?n.lambda===void 0?e:{lambda:(0,Xn.multiWord)("","lambda x: ",(0,Xn.parenIfNeeded)(e.lambda),"(",(0,Xn.parenIfNeeded)(n.lambda),"(x))"),value:void 0}:{lambda:e.lambda,value:Jo(n)}}const Fo={value:void 0};function Po(n){return n.lambda!==void 0?n.value===void 0?n.lambda:(0,Xn.multiWord)("","lambda x: ",(0,Xn.parenIfNeeded)(n.lambda),"(",n.value,")"):n.value!==void 0?(0,Xn.multiWord)(" ","lambda x:",n.value):(0,Xn.multiWord)(" ","lambda x:","x")}function Jo(n){return n.value===void 0?(0,er.panic)("Cannot make value from lambda without value"):n.lambda!==void 0?[(0,Xn.parenIfNeeded)(n.lambda),"(",n.value,")"]:n.value}class J8 extends U8.PythonRenderer{constructor(){super(...arguments),this._deserializerFunctions=new Set,this._converterNamer=(0,My.funPrefixNamer)("converter",e=>(0,x8.snakeNameStyle)(e,!1,this.pyOptions.nicePropertyNames)),this._topLevelConverterNames=new Map,this._haveTypeVar=!1,this._haveEnumTypeVar=!1,this._haveDateutil=!1}emitTypeVar(e,t){this.pyOptions.features.typeHints&&this.emitLine(e," = ",this.withTyping("TypeVar"),"(",this.string(e),t,")")}typeVar(){return this._haveTypeVar=!0,this.withTyping("TypeVar"),"T"}enumTypeVar(){return this._haveEnumTypeVar=!0,this.withTyping("TypeVar"),this.withImport("enum","Enum"),"EnumT"}cast(e,t){return this.pyOptions.features.typeHints?[this.withTyping("cast"),"(",e,", ",t,")"]:t}emitNoneConverter(){this.emitBlock(["def from_none(",this.typingDecl("x","Any"),")",this.typeHint(" -> ",this.withTyping("Any")),":"],()=>{this.emitLine("assert x is None"),this.emitLine("return x")})}emitBoolConverter(){this.emitBlock(["def from_bool(",this.typingDecl("x","Any"),")",this.typeHint(" -> bool"),":"],()=>{this.emitLine("assert isinstance(x, bool)"),this.emitLine("return x")})}emitIntConverter(){this.emitBlock(["def from_int(",this.typingDecl("x","Any"),")",this.typeHint(" -> int"),":"],()=>{this.emitLine("assert isinstance(x, int) and not isinstance(x, bool)"),this.emitLine("return x")})}emitFromFloatConverter(){this.emitBlock(["def from_float(",this.typingDecl("x","Any"),")",this.typeHint(" -> float"),":"],()=>{this.emitLine("assert isinstance(x, (float, int)) and not isinstance(x, bool)"),this.emitLine("return float(x)")})}emitToFloatConverter(){this.emitBlock(["def to_float(",this.typingDecl("x","Any"),")",this.typeHint(" -> float"),":"],()=>{this.emitLine("assert isinstance(x, (int, float))"),this.emitLine("return x")})}emitStrConverter(){this.emitBlock(["def from_str(",this.typingDecl("x","Any"),")",this.typeHint(" -> str"),":"],()=>{this.emitLine("assert isinstance(x, ","str",")"),this.emitLine("return x")})}emitToEnumConverter(){const e=this.enumTypeVar();this.emitBlock(["def to_enum(c",this.typeHint(": ",this.withTyping("Type"),"[",e,"]"),", ",this.typingDecl("x","Any"),")",this.typeHint(" -> ",e),":"],()=>{this.emitLine("assert isinstance(x, c)"),this.emitLine("return x.value")})}emitListConverter(){const e=this.typeVar();this.emitBlock(["def from_list(f",this.typeHint(": ",this.withTyping("Callable"),"[[",this.withTyping("Any"),"], ",e,"]"),", ",this.typingDecl("x","Any"),")",this.typeHint(" -> ",this.withTyping("List"),"[",e,"]"),":"],()=>{this.emitLine("assert isinstance(x, list)"),this.emitLine("return [f(y) for y in x]")})}emitToClassConverter(){const e=this.typeVar();this.emitBlock(["def to_class(c",this.typeHint(": ",this.withTyping("Type"),"[",e,"]"),", ",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 e=this.typeVar();this.emitBlock(["def from_dict(f",this.typeHint(": ",this.withTyping("Callable"),"[[",this.withTyping("Any"),"], ",e,"]"),", ",this.typingDecl("x","Any"),")",this.typeHint(" -> ",this.withTyping("Dict"),"[str, ",e,"]"),":"],()=>{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):
|
|
722
|
+
for f in fs:
|
|
723
|
+
try:
|
|
724
|
+
return f(x)
|
|
725
|
+
except:
|
|
726
|
+
pass
|
|
727
|
+
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 e=this.typeVar();this.emitBlock(["def is_type(t",this.typeHint(": ",this.withTyping("Type"),"[",e,"]"),", ",this.typingDecl("x","Any"),")",this.typeHint(" -> ",e),":"],()=>{this.emitLine("assert isinstance(x, t)"),this.emitLine("return x")})}emitConverter(e){switch(e){case"none":{this.emitNoneConverter();return}case"bool":{this.emitBoolConverter();return}case"int":{this.emitIntConverter();return}case"from-float":{this.emitFromFloatConverter();return}case"to-float":{this.emitToFloatConverter();return}case"str":{this.emitStrConverter();return}case"to-enum":{this.emitToEnumConverter();return}case"list":{this.emitListConverter();return}case"to-class":{this.emitToClassConverter();return}case"dict":{this.emitDictConverter();return}case"union":{this.emitUnionConverter();return}case"from-datetime":{this.emitFromDatetimeConverter();return}case"from-stringified-bool":{this.emitFromStringifiedBoolConverter();return}case"is-type":{this.emitIsTypeConverter();return}default:return(0,er.assertNever)(e)}}conv(e){this._deserializerFunctions.add(e);const t=e.replace(/-/g,"_");return e.startsWith("from-")||e.startsWith("to-")||e.startsWith("is-")?t:["from_",t]}convFn(e,t){return Vt(t,{lambda:(0,Xn.singleWord)(this.conv(e)),value:void 0})}typeObject(e){const t=(0,Iy.matchType)(e,i=>{},i=>"type(None)",i=>"bool",i=>"int",i=>"float",i=>"str",i=>"List",i=>this.nameForNamedType(i),i=>"dict",i=>this.nameForNamedType(i),i=>{},i=>{if(i.kind==="date-time")return this.withImport("datetime","datetime");if(i.kind==="uuid")return this.withImport("uuid","UUID")});return t===void 0?(0,er.panic)(`No type object for ${e.kind}`):t}transformer(e,t,i){const r=(o,a)=>o===void 0?a:this.transformer(a,o,i),s=(o,a)=>Vt(a,c=>[this.conv("is-type"),"(",this.typeObject(o),", ",c,")"]);if(t instanceof Sr.DecodingChoiceTransformer||t instanceof Sr.ChoiceTransformer){const o=t.transformers.map(a=>Po(this.transformer(Fo,a,i)).source);return Vt(e,a=>[this.conv("union"),"([",(0,cd.arrayIntercalate)(", ",o),"], ",a,")"])}else if(t instanceof Sr.DecodingTransformer){const o=t.consumer,a=this.deserializer(e,t.sourceType);return r(o,a)}else{if(t instanceof Sr.EncodingTransformer)return this.serializer(e,t.sourceType);if(t instanceof Sr.UnionInstantiationTransformer)return e;if(t instanceof Sr.UnionMemberMatchTransformer){const o=t.transformer,a=s(t.memberType,e);return r(o,a)}else if(t instanceof Sr.ParseStringTransformer){const o=t.consumer,a=o===void 0?i:o.sourceType;let c;switch(a.kind){case"integer":c=Vt(e,f=>["int(",f,")"]);break;case"bool":c=this.convFn("from-stringified-bool",e);break;case"enum":c=this.deserializer(e,a);break;case"date-time":c=this.convFn("from-datetime",e);break;case"uuid":c=Vt(e,f=>[this.withImport("uuid","UUID"),"(",f,")"]);break;default:return(0,er.panic)(`Parsing of ${a.kind} in a transformer is not supported`)}return r(o,c)}else if(t instanceof Sr.StringifyTransformer){const o=t.consumer;let a;switch(t.sourceType.kind){case"integer":a=Vt(e,c=>["str(",c,")"]);break;case"bool":a=Vt(e,c=>["str(",c,").lower()"]);break;case"enum":a=this.serializer(e,t.sourceType);break;case"date-time":a=Vt(e,c=>[c,".isoformat()"]);break;case"uuid":a=Vt(e,c=>["str(",c,")"]);break;default:return(0,er.panic)(`Parsing of ${t.sourceType.kind} in a transformer is not supported`)}return r(o,a)}else return(0,er.panic)(`Transformer ${t.kind} is not supported`)}}deserializer(e,t){const i=(0,Sr.transformationForType)(t);return i!==void 0?this.transformer(e,i.transformer,i.targetType):(0,Iy.matchType)(t,r=>e,r=>this.convFn("none",e),r=>this.convFn("bool",e),r=>this.convFn("int",e),r=>this.convFn("from-float",e),r=>this.convFn("str",e),r=>Vt(e,s=>[this.conv("list"),"(",Po(this.deserializer(Fo,r.items)).source,", ",s,")"]),r=>Vt(e,{lambda:(0,Xn.singleWord)(this.nameForNamedType(r),".from_dict"),value:void 0}),r=>Vt(e,s=>[this.conv("dict"),"(",Po(this.deserializer(Fo,r.values)).source,", ",s,")"]),r=>Vt(e,{lambda:(0,Xn.singleWord)(this.nameForNamedType(r)),value:void 0}),r=>{const s=Array.from(r.members).map(o=>Po(this.deserializer(Fo,o)).source);return Vt(e,o=>[this.conv("union"),"([",(0,cd.arrayIntercalate)(", ",s),"], ",o,")"])},r=>r.kind==="date-time"?this.convFn("from-datetime",e):r.kind==="uuid"?Vt(e,s=>[this.withImport("uuid","UUID"),"(",s,")"]):(0,er.panic)(`Transformed type ${r.kind} not supported`))}serializer(e,t){const i=(0,Sr.transformationForType)(t);if(i!==void 0){const r=i.reverse;return this.transformer(e,r.transformer,r.targetType)}return(0,Iy.matchType)(t,r=>e,r=>this.convFn("none",e),r=>this.convFn("bool",e),r=>this.convFn("int",e),r=>this.convFn("to-float",e),r=>this.convFn("str",e),r=>Vt(e,s=>[this.conv("list"),"(",Po(this.serializer(Fo,r.items)).source,", ",s,")"]),r=>Vt(e,s=>[this.conv("to-class"),"(",this.nameForNamedType(r),", ",s,")"]),r=>Vt(e,s=>[this.conv("dict"),"(",Po(this.serializer(Fo,r.values)).source,", ",s,")"]),r=>Vt(e,s=>[this.conv("to-enum"),"(",this.nameForNamedType(r),", ",s,")"]),r=>{const s=Array.from(r.members).map(o=>Po(this.serializer(Fo,o)).source);return Vt(e,o=>[this.conv("union"),"([",(0,cd.arrayIntercalate)(", ",s),"], ",o,")"])},r=>r.kind==="date-time"?Vt(e,s=>[s,".isoformat()"]):r.kind==="uuid"?Vt(e,s=>["str(",s,")"]):(0,er.panic)(`Transformed type ${r.kind} not supported`))}emitClassMembers(e){super.emitClassMembers(e),this.ensureBlankLine();const t=this.nameForNamedType(e);this.emitLine("@staticmethod"),this.emitBlock(["def from_dict(",this.typingDecl("obj","Any"),")",this.typeHint(" -> ",this.namedType(e)),":"],()=>{const i=[];this.emitLine("assert isinstance(obj, dict)"),this.forEachClassProperty(e,"none",(r,s,o)=>{const a={value:["obj.get(",this.string(s),")"]};this.emitLine(r," = ",Jo(this.deserializer(a,o.type))),i.push(r)}),this.emitLine("return ",t,"(",(0,cd.arrayIntercalate)(", ",i),")")}),this.ensureBlankLine(),this.emitBlock(["def to_dict(self)",this.typeHint(" -> dict"),":"],()=>{this.emitLine("result",this.typeHint(": dict")," = {}"),this.forEachClassProperty(e,"none",(i,r,s)=>{const o={value:["self.",i]};s.isOptional?this.emitBlock(["if self.",i," is not None:"],()=>{this.emitLine("result[",this.string(r),"] = ",Jo(this.serializer(o,s.type)))}):this.emitLine("result[",this.string(r),"] = ",Jo(this.serializer(o,s.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 e=Array.from(this._deserializerFunctions).map(t=>[t,t]);this.forEachWithBlankLines(e,["interposing",2],t=>{this.emitConverter(t)})}makeTopLevelDependencyNames(e,t){const i=new My.DependencyName(this._converterNamer,nw.topLevelNameOrder,s=>`${s(t)}_from_dict`),r=new My.DependencyName(this._converterNamer,nw.topLevelNameOrder,s=>`${s(t)}_to_dict`);return this._topLevelConverterNames.set(t,{fromDict:i,toDict:r}),[i,r]}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",(e,t)=>{const{fromDict:i}=(0,er.defined)(this._topLevelConverterNames.get(t));this.emitLine(this.commentLineStart," result = ",i,"(json.loads(json_string))")})}emitClosingCode(){this.forEachTopLevel(["interposing",2],(e,t)=>{const{fromDict:i,toDict:r}=(0,er.defined)(this._topLevelConverterNames.get(t)),s=this.pythonType(e);this.emitBlock(["def ",i,"(",this.typingDecl("s","Any"),")",this.typeHint(" -> ",s),":"],()=>{this.emitLine("return ",Jo(this.deserializer({value:"s"},e)))}),this.ensureBlankLine(2),this.emitBlock(["def ",r,"(x",this.typeHint(": ",s),")",this.typingReturn("Any"),":"],()=>{this.emitLine("return ",Jo(this.serializer({value:"x"},e)))})})}}Ec.JSONPythonRenderer=J8;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.PythonTargetLanguage=n.pythonOptions=void 0;const e=Ve,t=pt,i=Ot,r=rt(),s=Ec,o=Il;n.pythonOptions={features:new t.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 t.BooleanOption("just-types","Classes only",!1),nicePropertyNames:new t.BooleanOption("nice-property-names","Transform property names to be Pythonic",!0)};class a extends i.TargetLanguage{getOptions(){return[n.pythonOptions.features,n.pythonOptions.justTypes,n.pythonOptions.nicePropertyNames]}get stringTypeMapping(){const f=new Map,d="date-time";return f.set("date",d),f.set("time",d),f.set("date-time",d),f.set("uuid","uuid"),f.set("integer-string","integer-string"),f.set("bool-string","bool-string"),f}get supportsUnionsWithBothNumberTypes(){return!0}get supportsOptionalClassProperties(){return!1}needsTransformerForType(f){return f instanceof r.UnionType?(0,e.iterableSome)(f.members,d=>this.needsTransformerForType(d)):f.kind==="integer-string"||f.kind==="bool-string"}makeRenderer(f,d){const p=(0,t.getOptionValues)(n.pythonOptions,d);return p.justTypes?new o.PythonRenderer(this,f,p):new s.JSONPythonRenderer(this,f,p)}}n.PythonTargetLanguage=a})(yk);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.JSONPythonRenderer=n.PythonRenderer=n.pythonOptions=n.PythonTargetLanguage=void 0;var e=yk;Object.defineProperty(n,"PythonTargetLanguage",{enumerable:!0,get:function(){return e.PythonTargetLanguage}}),Object.defineProperty(n,"pythonOptions",{enumerable:!0,get:function(){return e.pythonOptions}});var t=Il;Object.defineProperty(n,"PythonRenderer",{enumerable:!0,get:function(){return t.PythonRenderer}});var i=Ec;Object.defineProperty(n,"JSONPythonRenderer",{enumerable:!0,get:function(){return i.JSONPythonRenderer}})})($b);var e0={},_k={},Cc={},ms={};Object.defineProperty(ms,"__esModule",{value:!0});ms.reservedProperties=ms.globals=ms.keywords=void 0;ms.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 z8=["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"],W8=["__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"];ms.globals=[...W8,...z8];ms.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"];var t0={};(function(n){var e=Ee&&Ee.__createBinding||(Object.create?function(S,m,v,C){C===void 0&&(C=v);var U=Object.getOwnPropertyDescriptor(m,v);(!U||("get"in U?!m.__esModule:U.writable||U.configurable))&&(U={enumerable:!0,get:function(){return m[v]}}),Object.defineProperty(S,C,U)}:function(S,m,v,C){C===void 0&&(C=v),S[C]=m[v]}),t=Ee&&Ee.__setModuleDefault||(Object.create?function(S,m){Object.defineProperty(S,"default",{enumerable:!0,value:m})}:function(S,m){S.default=m}),i=Ee&&Ee.__importStar||function(S){if(S&&S.__esModule)return S;var m={};if(S!=null)for(var v in S)v!=="default"&&Object.prototype.hasOwnProperty.call(S,v)&&e(m,S,v);return t(m,S),m},r=Ee&&Ee.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(n,"__esModule",{value:!0}),n.memberNameStyle=n.simpleNameStyle=n.stringEscape=n.forbiddenForObjectProperties=n.Strictness=void 0;const s=r(ca),o=Ke,a=i(ms);(function(S){S.Strict="Strict::",S.Coercible="Coercible::",S.None="Types::"})(n.Strictness||(n.Strictness={})),n.forbiddenForObjectProperties=Array.from(new Set([...a.keywords,...a.reservedProperties]));function c(S){return"\\u{"+(0,o.intToHex)(S,0)+"}"}n.stringEscape=(0,o.utf32ConcatMap)((0,o.escapeNonPrintableMapper)(o.isPrintable,c));const f=o.isLetterOrUnderscore;function d(S){const m=s.default.getCategory(S);return["Nd","Pc","Mn","Mc"].includes(m)||f(S)}const p=(0,o.legalizeCharacters)(d);function y(S,m){/^[0-9]+$/.test(S)&&(S=S+"N");const v=(0,o.splitIntoWords)(S);return(0,o.combineWords)(v,p,m?o.firstUpperWordStyle:o.allLowerWordStyle,m?o.firstUpperWordStyle:o.allLowerWordStyle,o.allUpperWordStyle,o.allUpperWordStyle,"",f)}n.simpleNameStyle=y;function h(S){const m=(0,o.splitIntoWords)(S);return(0,o.combineWords)(m,p,o.allLowerWordStyle,o.allLowerWordStyle,o.allLowerWordStyle,o.allLowerWordStyle,"_",f)}n.memberNameStyle=h})(t0);Object.defineProperty(Cc,"__esModule",{value:!0});Cc.RubyRenderer=void 0;const G8=wt,fd=qe,iw=$e,rw=Ke,Ry=rt(),yi=et(),q8=ms,Pi=t0;class H8 extends G8.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._options=i}get commentLineStart(){return"# "}get needsTypeDeclarationBeforeUse(){return!0}canBeForwardDeclared(e){return e.kind==="class"}forbiddenNamesForGlobalNamespace(){return[...q8.globals,"Types","JSON","Dry","Constructor","Self"]}forbiddenForObjectProperties(e,t){return{names:Pi.forbiddenForObjectProperties,includeGlobalForbidden:!0}}makeNamedTypeNamer(){return new fd.Namer("types",e=>(0,Pi.simpleNameStyle)(e,!0),[])}namerForObjectProperty(){return new fd.Namer("properties",Pi.memberNameStyle,[])}makeUnionMemberNamer(){return new fd.Namer("properties",Pi.memberNameStyle,[])}makeEnumCaseNamer(){return new fd.Namer("enum-cases",e=>(0,Pi.simpleNameStyle)(e,!0),[])}dryType(e,t=!1){const i=t?".optional":"";return(0,yi.matchType)(e,r=>["Types::Any",i],r=>["Types::Nil",i],r=>["Types::Bool",i],r=>["Types::Integer",i],r=>["Types::Double",i],r=>["Types::String",i],r=>["Types.Array(",this.dryType(r.items),")",i],r=>[this.nameForNamedType(r),i],r=>["Types::Hash.meta(of: ",this.dryType(r.values),")",i],r=>["Types::",this.nameForNamedType(r),i],r=>{const s=(0,yi.nullableFromUnion)(r);return s!==null?[this.dryType(s),".optional"]:["Types.Instance(",this.nameForNamedType(r),")",i]})}exampleUse(e,t,i=6,r=!1){if(i--<=0)return t;const s=r?"&":"";return(0,yi.matchType)(e,o=>t,o=>[t,".nil?"],o=>t,o=>[t,".even?"],o=>t,o=>t,o=>this.exampleUse(o.items,[t,s,".first"],i),o=>{let a;return this.forEachClassProperty(o,"none",(c,f,d)=>{["class","map","array"].includes(d.type.kind)?a={name:c,prop:d}:a===void 0&&(a={name:c,prop:d})}),a!==void 0?this.exampleUse(a.prop.type,[t,s,".",a.name],i,a.prop.isOptional):t},o=>this.exampleUse(o.values,[t,s,'["…"]'],i),o=>{let a;return this.forEachEnumCase(o,"none",c=>{a===void 0&&(a=c)}),a!==void 0?[t," == ",this.nameForNamedType(o),"::",a]:t},o=>{const a=(0,yi.nullableFromUnion)(o);return a!==null?["class","map","array"].includes(a.kind)?this.exampleUse(a,t,i,!0):[t,".nil?"]:t})}jsonSample(e){function t(){return e instanceof Ry.ArrayType?"[…]":e instanceof Ry.MapType||e instanceof Ry.ClassType?"{…}":"…"}return`"${t()}"`}fromDynamic(e,t,i=!1,r=!1){const s=[this.dryType(e,i),"[",t,"]"],o=r?s:t,a=i?"&":"";return(0,yi.matchType)(e,c=>o,c=>o,c=>o,c=>o,c=>o,c=>o,c=>[t,a,".map { |x| ",this.fromDynamic(c.items,"x",!1,!0)," }"],c=>{const f=[this.nameForNamedType(c),".from_dynamic!(",t,")"];return i?[t," ? ",f," : nil"]:f},c=>[["Types::Hash",i?".optional":"","[",t,"]"],a,".map { |k, v| [k, ",this.fromDynamic(c.values,"v",!1,!0),"] }",a,".to_h"],c=>{const f=["Types::",this.nameForNamedType(c),"[",t,"]"];return i?[t,".nil? ? nil : ",f]:f},c=>{const f=(0,yi.nullableFromUnion)(c);if(f!==null)return this.fromDynamic(f,t,!0);const d=[this.nameForNamedType(c),".from_dynamic!(",t,")"];return i?[t," ? ",d," : nil"]:d})}toDynamic(e,t,i=!1){return this.marshalsImplicitlyToDynamic(e)?t:(0,yi.matchType)(e,r=>t,r=>t,r=>t,r=>t,r=>t,r=>t,r=>[t,i?"&":"",".map { |x| ",this.toDynamic(r.items,"x")," }"],r=>[t,i?"&":"",".to_dynamic"],r=>[t,i?"&":"",".map { |k, v| [k, ",this.toDynamic(r.values,"v"),"] }.to_h"],r=>t,r=>{const s=(0,yi.nullableFromUnion)(r);return s!==null?this.toDynamic(s,t,!0):this.marshalsImplicitlyToDynamic(r)?t:[t,i?"&":"",".to_dynamic"]})}marshalsImplicitlyToDynamic(e){return(0,yi.matchType)(e,t=>!0,t=>!0,t=>!0,t=>!0,t=>!0,t=>!0,t=>this.marshalsImplicitlyToDynamic(t.items),t=>!1,t=>this.marshalsImplicitlyToDynamic(t.values),t=>!0,t=>{const i=(0,yi.nullableFromUnion)(t);return i!==null?this.marshalsImplicitlyToDynamic(i):!1})}propertyTypeMarshalsImplicitlyFromDynamic(e){return(0,yi.matchType)(e,t=>!0,t=>!0,t=>!0,t=>!0,t=>!0,t=>!0,t=>this.propertyTypeMarshalsImplicitlyFromDynamic(t.items),t=>!1,t=>!1,t=>!0,t=>{const i=(0,yi.nullableFromUnion)(t);return i!==null?this.propertyTypeMarshalsImplicitlyFromDynamic(i):!1})}emitBlock(e,t){this.emitLine(e),this.indent(t),this.emitLine("end")}emitModule(e){const t=i=>{const[r,...s]=i.split("::");s.length>0?this.emitBlock(["module ",r],()=>{t(s.join("::"))}):this.emitBlock(["module ",i],e)};this._options.namespace!==void 0&&this._options.namespace!==""?t(this._options.namespace):e()}emitClass(e,t){this.emitDescription(this.descriptionForType(e)),this.emitBlock(["class ",t," < Dry::Struct"],()=>{let i=[],r=e.getProperties().size;this.forEachClassProperty(e,"none",(s,o,a)=>{const c=--r===0,f=this.descriptionForClassProperty(e,o),d=[["attribute :",s,","],[" ",this.dryType(a.type),a.isOptional?".optional":""]];f!==void 0?(i.length>0&&(this.emitTable(i),i=[]),this.ensureBlankLine(),this.emitDescriptionBlock(f),this.emitLine(d),c||this.ensureBlankLine()):i.push(d)}),i.length>0&&this.emitTable(i),!this._options.justTypes&&(this.ensureBlankLine(),this.emitBlock(["def self.from_dynamic!(d)"],()=>{this.emitLine("d = Types::Hash[d]"),this.emitLine("new("),this.indent(()=>{const s=[];this.forEachClassProperty(e,"none",(o,a,c)=>{const f=c.isOptional?`d["${(0,Pi.stringEscape)(a)}"]`:`d.fetch("${(0,Pi.stringEscape)(a)}")`;if(this.propertyTypeMarshalsImplicitlyFromDynamic(c.type))s.push([[o,": "],[f,","]]);else{const d=this.fromDynamic(c.type,f,c.isOptional);s.push([[o,": "],[d,","]])}}),this.emitTable(s)}),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 s=[];this.forEachClassProperty(e,"none",(o,a,c)=>{const f=this.toDynamic(c.type,o,c.isOptional);s.push([[`"${(0,Pi.stringEscape)(a)}"`],[" => ",f,","]])}),this.emitTable(s)}),this.emitLine("}")}),this.ensureBlankLine(),this.emitBlock("def to_json(options = nil)",()=>{this.emitLine("JSON.generate(to_dynamic, options)")}))})}emitEnum(e,t){this.emitDescription(this.descriptionForType(e)),this.emitBlock(["module ",t],()=>{const i=[];this.forEachEnumCase(e,"none",(r,s)=>{i.push([[r],[` = "${(0,Pi.stringEscape)(s)}"`]])}),this.emitTable(i)})}emitUnion(e,t){this.emitDescription(this.descriptionForType(e)),this.emitBlock(["class ",t," < Dry::Struct"],()=>{const i=[];if(this.forEachUnionMember(e,e.getChildren(),"none",null,(o,a)=>{i.push([["attribute :",o,", "],[this.dryType(a,!0)]])}),this.emitTable(i),this._options.justTypes)return;this.ensureBlankLine();const[r,s]=(0,yi.removeNullFromUnion)(e,!1);this.emitBlock("def self.from_dynamic!(d)",()=>{const o=Array.from(e.getChildren()).map(a=>this.nameForUnionMember(e,a));this.forEachUnionMember(e,e.getChildren(),"none",null,(a,c)=>{const f=o.filter(d=>d!==a).map(d=>[", ",d,": nil"]);this.propertyTypeMarshalsImplicitlyFromDynamic(c)?this.emitBlock(["if schema[:",a,"].right.valid? d"],()=>{this.emitLine("return new(",a,": d",f,")")}):(this.emitLine("begin"),this.indent(()=>{this.emitLine("value = ",this.fromDynamic(c,"d")),this.emitBlock(["if schema[:",a,"].right.valid? value"],()=>{this.emitLine("return new(",a,": value",f,")")})}),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 o=!0;this.forEachUnionMember(e,s,"none",null,(a,c)=>{this.emitLine(o?"if":"elsif"," ",a," != nil"),this.indent(()=>{this.emitLine(this.toDynamic(c,a))}),o=!1}),r!==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 e=[];if(this._options.strictness!==Pi.Strictness.None){let t={int:!1,nil:!1,bool:!1,hash:!1,string:!1,double:!1};this.forEachType(i=>{t={int:t.int||i.kind==="integer",nil:t.nil||i.kind==="null",bool:t.bool||i.kind==="bool",hash:t.hash||i.kind==="map"||i.kind==="class",string:t.string||i.kind==="string"||i.kind==="enum",double:t.double||i.kind==="double"}}),t.int&&e.push([["Integer"],[` = ${this._options.strictness}Integer`]]),this._options.strictness===Pi.Strictness.Strict&&t.nil&&e.push([["Nil"],[` = ${this._options.strictness}Nil`]]),t.bool&&e.push([["Bool"],[` = ${this._options.strictness}Bool`]]),t.hash&&e.push([["Hash"],[` = ${this._options.strictness}Hash`]]),t.string&&e.push([["String"],[` = ${this._options.strictness}String`]]),t.double&&e.push([["Double"],[` = ${this._options.strictness}Float | ${this._options.strictness}Integer`]])}this.forEachEnum("none",(t,i)=>{const r=[];this.forEachEnumCase(t,"none",(s,o)=>{r.push([r.length===0?"":", ",`"${(0,Pi.stringEscape)(o)}"`])}),e.push([[i],[" = ",this._options.strictness,"String.enum(",...r,")"]])}),e.length>0&&(this.ensureBlankLine(),this.emitTable(e))})}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",(e,t)=>{const i=(0,iw.modifySource)(rw.snakeCase,t);this.emitLine("# ",i," = ",t,".from_json! ",this.jsonSample(e)),this.emitLine("# puts ",this.exampleUse(e,i)),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",e=>{e.kind==="forward"&&(this.emitCommentLines(["(forward declaration)"]),this.emitModule(()=>{this.emitLine("class ",this.nameForNamedType(e.type)," < Dry::Struct; end")}))}),this.forEachNamedType("leading-and-interposing",(e,t)=>this.emitClass(e,t),(e,t)=>this.emitEnum(e,t),(e,t)=>this.emitUnion(e,t)),this._options.justTypes||this.forEachTopLevel("leading-and-interposing",(e,t)=>{const i=(0,iw.modifySource)(rw.snakeCase,t),r=e.kind==="array",s=()=>{this.emitBlock(["class ",t],()=>{this.emitBlock(["def self.from_json!(json)"],()=>{r?(this.emitLine(i," = ",this.fromDynamic(e,"JSON.parse(json, quirks_mode: true)")),this.emitBlock([i,".define_singleton_method(:to_json) do"],()=>{this.emitLine("JSON.generate(",this.toDynamic(e,"self"),")")}),this.emitLine(i)):this.emitLine(this.fromDynamic(e,"JSON.parse(json, quirks_mode: true)"))})})};this.emitModule(()=>{s()})},e=>this.namedTypeToNameForTopLevel(e)===void 0)})}}Cc.RubyRenderer=H8;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.RubyTargetLanguage=n.rubyOptions=void 0;const e=pt,t=Ot,i=Cc,r=t0;n.rubyOptions={justTypes:new e.BooleanOption("just-types","Plain types only",!1),strictness:new e.EnumOption("strictness","Type strictness",[["strict",r.Strictness.Strict],["coercible",r.Strictness.Coercible],["none",r.Strictness.None]]),namespace:new e.StringOption("namespace","Specify a wrapping Namespace","NAME","","secondary")};class s extends t.TargetLanguage{constructor(){super("Ruby",["ruby"],"rb")}getOptions(){return[n.rubyOptions.justTypes,n.rubyOptions.strictness,n.rubyOptions.namespace]}get supportsOptionalClassProperties(){return!0}get defaultIndentation(){return" "}makeRenderer(a,c){return new i.RubyRenderer(this,a,(0,e.getOptionValues)(n.rubyOptions,c))}}n.RubyTargetLanguage=s})(_k);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.RubyRenderer=n.rubyOptions=n.RubyTargetLanguage=void 0;var e=_k;Object.defineProperty(n,"RubyTargetLanguage",{enumerable:!0,get:function(){return e.RubyTargetLanguage}}),Object.defineProperty(n,"rubyOptions",{enumerable:!0,get:function(){return e.rubyOptions}});var t=Cc;Object.defineProperty(n,"RubyRenderer",{enumerable:!0,get:function(){return t.RubyRenderer}})})(e0);var n0={},wk={},Ac={},Gh={};Object.defineProperty(Gh,"__esModule",{value:!0});Gh.keywords=void 0;Gh.keywords=["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"];var i0={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.nameWithNamingStyle=n.listMatchingNamingStyles=n.getPreferredNamingStyle=n.rustStringEscape=n.camelNamingFunction=n.snakeNamingFunction=n.namingStyles=n.Visibility=n.Density=void 0;const e=qe,t=Ke;(function(p){p.Normal="Normal",p.Dense="Dense"})(n.Density||(n.Density={})),function(p){p.Private="Private",p.Crate="Crate",p.Public="Public"}(n.Visibility||(n.Visibility={})),n.namingStyles={snake_case:{regex:/^[a-z][a-z0-9]*(_[a-z0-9]+)*$/,toParts:p=>p.split("_"),fromParts:p=>p.map(y=>y.toLowerCase()).join("_")},SCREAMING_SNAKE_CASE:{regex:/^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$/,toParts:p=>p.split("_"),fromParts:p=>p.map(y=>y.toUpperCase()).join("_")},camelCase:{regex:/^[a-z]+([A-Z0-9][a-z]*)*$/,toParts:p=>n.namingStyles.snake_case.toParts(p.replace(/(.)([A-Z])/g,"$1_$2")),fromParts:p=>p.map((y,h)=>h===0?y.toLowerCase():y.substring(0,1).toUpperCase()+y.substring(1).toLowerCase()).join("")},PascalCase:{regex:/^[A-Z][a-z]*([A-Z0-9][a-z]*)*$/,toParts:p=>n.namingStyles.snake_case.toParts(p.replace(/(.)([A-Z])/g,"$1_$2")),fromParts:p=>p.map(y=>y.substring(0,1).toUpperCase()+y.substring(1).toLowerCase()).join("")},"kebab-case":{regex:/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/,toParts:p=>p.split("-"),fromParts:p=>p.map(y=>y.toLowerCase()).join("-")},"SCREAMING-KEBAB-CASE":{regex:/^[A-Z][A-Z0-9]*(-[A-Z0-9]+)*$/,toParts:p=>p.split("-"),fromParts:p=>p.map(y=>y.toUpperCase()).join("-")},lowercase:{regex:/^[a-z][a-z0-9]*$/,toParts:p=>[p],fromParts:p=>p.map(y=>y.toLowerCase()).join("")},UPPERCASE:{regex:/^[A-Z][A-Z0-9]*$/,toParts:p=>[p],fromParts:p=>p.map(y=>y.toUpperCase()).join("")}},n.namingStyles;const i=p=>(0,t.isAscii)(p)?(0,t.isLetterOrUnderscoreOrDigit)(p):!1,r=p=>(0,t.isAscii)(p)?(0,t.isLetterOrUnderscore)(p):!1,s=(0,t.legalizeCharacters)(i);function o(p,y){const h=(0,t.splitIntoWords)(p),S=y?t.allLowerWordStyle:t.firstUpperWordStyle,m=(0,t.combineWords)(h,s,S,S,S,S,y?"_":"",r);return m==="_"?"_underscore":m}n.snakeNamingFunction=(0,e.funPrefixNamer)("default",p=>o(p,!0)),n.camelNamingFunction=(0,e.funPrefixNamer)("camel",p=>o(p,!1));const a=p=>p<=65535?"\\u{"+(0,t.intToHex)(p,4)+"}":"\\u{"+(0,t.intToHex)(p,6)+"}";n.rustStringEscape=(0,t.utf32ConcatMap)((0,t.escapeNonPrintableMapper)(t.isPrintable,a));function c(p,y){const h=Object.fromEntries(Object.keys(n.namingStyles).map(v=>[v,0]));p.forEach(v=>++h[v]);const S=Math.max(...Object.values(h)),m=Object.entries(h).flatMap(([v,C])=>C===S?[v]:[]);return m.includes(y)?y:m[0]}n.getPreferredNamingStyle=c;function f(p){return Object.entries(n.namingStyles).flatMap(([y,{regex:h}])=>h.test(p)?[y]:[])}n.listMatchingNamingStyles=f;function d(p,y){if(n.namingStyles[y].regex.test(p))return p;const h=f(p)[0];return h===void 0?p:n.namingStyles[y].fromParts(n.namingStyles[h].toParts(p))}n.nameWithNamingStyle=d})(i0);Object.defineProperty(Ac,"__esModule",{value:!0});Ac.RustRenderer=void 0;const V8=Ve,sw=Wt,K8=wt,ow=$e,Z8=Ce,Q8=rt(),Ha=et(),X8=Gh,kn=i0;class Y8 extends K8.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._options=i}makeNamedTypeNamer(){return kn.camelNamingFunction}namerForObjectProperty(){return kn.snakeNamingFunction}makeUnionMemberNamer(){return kn.camelNamingFunction}makeEnumCaseNamer(){return kn.camelNamingFunction}forbiddenNamesForGlobalNamespace(){return X8.keywords}forbiddenForObjectProperties(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(e,t){return{names:[],includeGlobalForbidden:!0}}get commentLineStart(){return"/// "}nullableRustType(e,t){return["Option<",this.breakCycle(e,t),">"]}isImplicitCycleBreaker(e){const t=e.kind;return t==="array"||t==="map"}rustType(e,t=!1){return(0,Ha.matchType)(e,i=>(0,ow.maybeAnnotated)(t,sw.anyTypeIssueAnnotation,"Option<serde_json::Value>"),i=>(0,ow.maybeAnnotated)(t,sw.nullTypeIssueAnnotation,"Option<serde_json::Value>"),i=>"bool",i=>"i64",i=>"f64",i=>"String",i=>["Vec<",this.rustType(i.items,t),">"],i=>this.nameForNamedType(i),i=>["HashMap<String, ",this.rustType(i.values,t),">"],i=>this.nameForNamedType(i),i=>{const r=(0,Ha.nullableFromUnion)(i);if(r!==null)return this.nullableRustType(r,t);const[s]=(0,Ha.removeNullFromUnion)(i),a=this.isCycleBreakerType(i)?["Box<",this.nameForNamedType(i),">"]:this.nameForNamedType(i);return s!==null?["Option<",a,">"]:a})}breakCycle(e,t){const i=this.rustType(e,t);return this.isCycleBreakerType(e)?["Box<",i,">"]:i}emitRenameAttribute(e,t,i,r){const s=(0,kn.rustStringEscape)(t),o=kn.namingStyles[i].fromParts(this.sourcelikeToString(e).split(" ")),a=(0,kn.nameWithNamingStyle)(o,r);s!==a&&this.emitLine('#[serde(rename = "',s,'")]')}emitSkipSerializeNone(e){e instanceof Q8.UnionType&&(0,Ha.nullableFromUnion)(e)!==null&&this.emitLine('#[serde(skip_serializing_if = "Option::is_none")]')}get visibility(){return this._options.visibility===kn.Visibility.Crate?"pub(crate) ":this._options.visibility===kn.Visibility.Public?"pub ":""}emitStructDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]");const i={};this.forEachClassProperty(e,"none",(c,f,d)=>{i[f]=(0,kn.listMatchingNamingStyles)(f)});const r="snake_case",s=(0,kn.getPreferredNamingStyle)(Object.values(i).flat(),r);s!==r&&this.emitLine(`#[serde(rename_all = "${s}")]`);const o=this._options.density===kn.Density.Dense?"none":"interposing",a=()=>this.forEachClassProperty(e,o,(c,f,d)=>{this.emitDescription(this.descriptionForClassProperty(e,f)),this.emitRenameAttribute(c,f,r,s),this._options.skipSerializingNone&&this.emitSkipSerializeNone(d.type),this.emitLine(this.visibility,c,": ",this.breakCycle(d.type,!0),",")});this.emitBlock(["pub struct ",t],a)}emitBlock(e,t){this.emitLine(e," {"),this.indent(t),this.emitLine("}")}emitUnion(e,t){if((0,Ha.nullableFromUnion)(e)!==null)return;this.emitDescription(this.descriptionForType(e)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]"),this.emitLine("#[serde(untagged)]");const[,r]=(0,Ha.removeNullFromUnion)(e),s=this._options.density===kn.Density.Dense?"none":"interposing";this.emitBlock(["pub enum ",t],()=>this.forEachUnionMember(e,r,s,null,(o,a)=>{const c=this.breakCycle(a,!0);this.emitLine([o,"(",c,"),"])}))}emitEnumDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitLine("#[derive(",this._options.deriveDebug?"Debug, ":"",this._options.deriveClone?"Clone, ":"",this._options.derivePartialEq?"PartialEq, ":"","Serialize, Deserialize)]");const i={};this.forEachEnumCase(e,"none",(a,c)=>{i[c]=(0,kn.listMatchingNamingStyles)(c)});const r="PascalCase",s=(0,kn.getPreferredNamingStyle)(Object.values(i).flat(),r);s!==r&&this.emitLine(`#[serde(rename_all = "${s}")]`);const o=this._options.density===kn.Density.Dense?"none":"interposing";this.emitBlock(["pub enum ",t],()=>this.forEachEnumCase(e,o,(a,c)=>{this.emitRenameAttribute(a,c,r,s),this.emitLine([a,","])}))}emitTopLevelAlias(e,t){this.emitLine("pub type ",t," = ",this.rustType(e),";")}emitLeadingComments(){if(this.leadingComments!==void 0){this.emitComments(this.leadingComments);return}const e=(0,Z8.defined)((0,V8.mapFirst)(this.topLevels)).getCombinedName();this.emitMultiline(`// Example code that deserializes and serializes the model.
|
|
728
|
+
// extern crate serde;
|
|
729
|
+
// #[macro_use]
|
|
730
|
+
// extern crate serde_derive;
|
|
731
|
+
// extern crate serde_json;
|
|
732
|
+
//
|
|
733
|
+
// use generated_module::${e};
|
|
734
|
+
//
|
|
735
|
+
// fn main() {
|
|
736
|
+
// let json = r#"{"answer": 42}"#;
|
|
737
|
+
// let model: ${e} = serde_json::from_str(&json).unwrap();
|
|
738
|
+
// }`)}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",(e,t)=>this.emitTopLevelAlias(e,t),e=>this.namedTypeToNameForTopLevel(e)===void 0),this.forEachNamedType("leading-and-interposing",(e,t)=>this.emitStructDefinition(e,t),(e,t)=>this.emitEnumDefinition(e,t),(e,t)=>this.emitUnion(e,t))}}Ac.RustRenderer=Y8;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.RustTargetLanguage=n.rustOptions=void 0;const e=pt,t=Ot,i=Ac,r=i0;n.rustOptions={density:new e.EnumOption("density","Density",[["normal",r.Density.Normal],["dense",r.Density.Dense]]),visibility:new e.EnumOption("visibility","Field visibility",[["private",r.Visibility.Private],["crate",r.Visibility.Crate],["public",r.Visibility.Public]]),deriveDebug:new e.BooleanOption("derive-debug","Derive Debug impl",!1),deriveClone:new e.BooleanOption("derive-clone","Derive Clone impl",!1),derivePartialEq:new e.BooleanOption("derive-partial-eq","Derive PartialEq impl",!1),skipSerializingNone:new e.BooleanOption("skip-serializing-none","Skip serializing empty Option fields",!1),edition2018:new e.BooleanOption("edition-2018","Edition 2018",!0),leadingComments:new e.BooleanOption("leading-comments","Leading Comments",!0)};class s extends t.TargetLanguage{makeRenderer(a,c){return new i.RustRenderer(this,a,(0,e.getOptionValues)(n.rustOptions,c))}constructor(){super("Rust",["rust","rs","rustlang"],"rs")}getOptions(){return[n.rustOptions.density,n.rustOptions.visibility,n.rustOptions.deriveDebug,n.rustOptions.deriveClone,n.rustOptions.derivePartialEq,n.rustOptions.edition2018,n.rustOptions.leadingComments,n.rustOptions.skipSerializingNone]}}n.RustTargetLanguage=s})(wk);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.RustRenderer=n.rustOptions=n.RustTargetLanguage=void 0;var e=wk;Object.defineProperty(n,"RustTargetLanguage",{enumerable:!0,get:function(){return e.RustTargetLanguage}}),Object.defineProperty(n,"rustOptions",{enumerable:!0,get:function(){return e.rustOptions}});var t=Ac;Object.defineProperty(n,"RustRenderer",{enumerable:!0,get:function(){return t.RustRenderer}})})(n0);var r0={},Lk={},Fc={},ga={},oa={};Object.defineProperty(oa,"__esModule",{value:!0});oa.keywords=oa.invalidSymbols=void 0;oa.invalidSymbols=[":","-","+","!","@","#","$","%","^","&","*","(",")",">","<","/",";","'",'"',"{","}",":","~","`","."];oa.keywords=["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"];var Ti={};Object.defineProperty(Ti,"__esModule",{value:!0});Ti.lowerNamingFunction=Ti.upperNamingFunction=Ti.scalaNameStyle=Ti.wrapOption=Ti.shouldAddBacktick=void 0;const Nk=qe,Bi=Ke,aw=oa,$8=n=>aw.keywords.some(e=>n===e)||aw.invalidSymbols.some(e=>n.includes(e))||!isNaN(+parseFloat(n))||!isNaN(parseInt(n.charAt(0)));Ti.shouldAddBacktick=$8;const e6=(n,e)=>e?"Option["+n+"]":n;Ti.wrapOption=e6;function kk(n){return(0,Bi.isLetterOrUnderscore)(n)||(0,Bi.isNumeric)(n)}function t6(n){return kk(n)&&!(0,Bi.isDigit)(n)}const n6=(0,Bi.legalizeCharacters)(kk);function s0(n,e){const t=(0,Bi.splitIntoWords)(e);return(0,Bi.combineWords)(t,n6,n?Bi.firstUpperWordStyle:Bi.allLowerWordStyle,Bi.firstUpperWordStyle,n?Bi.allUpperWordStyle:Bi.allLowerWordStyle,Bi.allUpperWordStyle,"",t6)}Ti.scalaNameStyle=s0;Ti.upperNamingFunction=(0,Nk.funPrefixNamer)("upper",n=>s0(!0,n));Ti.lowerNamingFunction=(0,Nk.funPrefixNamer)("lower",n=>s0(!1,n));Object.defineProperty(ga,"__esModule",{value:!0});ga.Scala3Renderer=void 0;const lw=Wt,i6=wt,uw=qe,cw=$e,fw=rt(),dd=et(),r6=oa,Mo=Ti;class s6 extends i6.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._scalaOptions=i}forbiddenNamesForGlobalNamespace(){return r6.keywords}forbiddenForObjectProperties(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(e,t){return{names:[],includeGlobalForbidden:!1}}topLevelNameStyle(e){return(0,Mo.scalaNameStyle)(!0,e)}makeNamedTypeNamer(){return Mo.upperNamingFunction}namerForObjectProperty(){return Mo.lowerNamingFunction}makeUnionMemberNamer(){return(0,uw.funPrefixNamer)("upper",e=>(0,Mo.scalaNameStyle)(!0,e)+"Value")}makeEnumCaseNamer(){return(0,uw.funPrefixNamer)("upper",e=>e.replace(" ",""))}emitDescriptionBlock(e){this.emitCommentLines(e,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(e,t,i="curly"){const[r,s]=i==="curly"?["{","}"]:i==="paren"?["(",")"]:i==="none"?["",""]:["{","})"];this.emitLine(e," ",r),this.indent(t),this.emitLine(s)}anySourceType(e){return[(0,Mo.wrapOption)("Any",e)]}arrayType(e,t=!1){return["Seq[",this.scalaType(e.items,t),"]"]}mapType(e,t=!1){return["Map[String, ",this.scalaType(e.values,t),"]"]}scalaType(e,t=!1,i=!1){return(0,dd.matchType)(e,r=>(0,cw.maybeAnnotated)(t,lw.anyTypeIssueAnnotation,this.anySourceType(!i)),r=>(0,cw.maybeAnnotated)(t,lw.nullTypeIssueAnnotation,this.anySourceType(!i)),r=>"Boolean",r=>"Long",r=>"Double",r=>"String",r=>this.arrayType(r,t),r=>this.nameForNamedType(r),r=>this.mapType(r,t),r=>this.nameForNamedType(r),r=>{const s=(0,dd.nullableFromUnion)(r);return s!==null?i?[this.scalaType(s,t)]:["Option[",this.scalaType(s,t),"]"]:this.nameForNamedType(r)})}emitUsageHeader(){}emitHeader(){this.leadingComments!==void 0?this.emitComments(this.leadingComments):this.emitUsageHeader(),this.ensureBlankLine(),this.emitLine("package ",this._scalaOptions.packageName),this.ensureBlankLine()}emitTopLevelArray(e,t){const i=this.scalaType(e.items);this.emitLine(["type ",t," = List[",i,"]"])}emitTopLevelMap(e,t){const i=this.scalaType(e.values);this.emitLine(["type ",t," = Map[String, ",i,"]"])}emitEmptyClassDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitLine("case class ",t,"()")}emitClassDefinition(e,t){if(e.getProperties().size===0){this.emitEmptyClassDefinition(e,t);return}const i=r=>r.isOptional?["Option[",this.scalaType(r.type,!0,!0),"]"]:this.scalaType(r.type,!0);this.emitDescription(this.descriptionForType(e)),this.emitLine("case class ",t," ("),this.indent(()=>{let r=e.getProperties().size,s=!0;this.forEachClassProperty(e,"none",(o,a,c)=>{const f=c.type.kind==="union"&&(0,dd.nullableFromUnion)(c.type)!==null,d=c.isOptional||c.type.kind==="null"||f,p=--r===0,y=[],h=this.descriptionForClassProperty(e,a);h!==void 0&&y.push(()=>this.emitDescription(h)),y.length>0&&!s&&this.ensureBlankLine();for(const v of y)v();const m=a.endsWith("_")||(0,Mo.shouldAddBacktick)(a)?"`"+a+"`":a;this.emitLine("val ",m," : ",i(c),c.isOptional||d?" = None":"",p?"":","),y.length>0&&!p&&this.ensureBlankLine(),s=!1})}),this.emitClassDefinitionMethods()}emitClassDefinitionMethods(){this.emitLine(")")}emitEnumDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitBlock(["enum ",t," : "],()=>{let i=e.cases.size;i>0&&this.emitItem(" case "),this.forEachEnumCase(e,"none",(r,s)=>{if(s!=""){const o=(0,Mo.shouldAddBacktick)(s)||s.includes(" ")||!isNaN(parseInt(s.charAt(0)));o&&this.emitItem("`"),this.emitItemOnce([r]),o&&this.emitItem("`"),--i>0&&this.emitItem([","])}else--i})},"none")}emitUnionDefinition(e,t){function i(a){const c=a.kind;return c==="class"?c:"_"+c}this.emitDescription(this.descriptionForType(e));const[r,s]=(0,dd.removeNullFromUnion)(e,i),o=[];this.forEachUnionMember(e,s,"none",null,(a,c)=>{o.push(this.scalaType(c))}),r!==null&&o.push(this.nameForUnionMember(e,r)),this.emitItem(["type ",t," = "]),o.forEach((a,c)=>{this.emitItem(c===0?a:[" | ",a])}),this.ensureBlankLine()}emitSourceStructure(){this.emitHeader(),this.forEachTopLevel("leading",(e,t)=>{e instanceof fw.ArrayType?this.emitTopLevelArray(e,t):e instanceof fw.MapType&&this.emitTopLevelMap(e,t)}),this.forEachNamedType("leading-and-interposing",(e,t)=>this.emitClassDefinition(e,t),(e,t)=>this.emitEnumDefinition(e,t),(e,t)=>this.emitUnionDefinition(e,t))}}ga.Scala3Renderer=s6;Object.defineProperty(Fc,"__esModule",{value:!0});Fc.CirceRenderer=void 0;const jy=et(),o6=ga,a6=Ti;class l6 extends o6.Scala3Renderer{constructor(){super(...arguments),this.seenUnionTypes=[]}circeEncoderForType(e,t=!1,i=!1,r=""){return(0,jy.matchType)(e,s=>["Encoder.encodeJson(",r,")"],s=>["Encoder.encodeNone(",r,")"],s=>["Encoder.encodeBoolean(",r,")"],s=>["Encoder.encodeLong(",r,")"],s=>["Encoder.encodeDouble(",r,")"],s=>["Encoder.encodeString(",r,")"],s=>["Encoder.encodeSeq[",this.scalaType(s.items),"].apply(",r,")"],s=>["Encoder.AsObject[",this.scalaType(s),"].apply(",r,")"],s=>["Encoder.encodeMap[String,",this.scalaType(s.values),"].apply(",r,")"],s=>["Encoder.encodeString(",r,")"],s=>{const o=(0,jy.nullableFromUnion)(s);return o!==null?i?["Encoder.AsObject[",this.nameForNamedType(o),"]"]:["Encoder.AsObject[Option[",this.nameForNamedType(o),"]]"]:["Encoder.AsObject[",this.nameForNamedType(s),"]"]})}emitEmptyClassDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.ensureBlankLine(),this.emitLine("case class ",t,"() derives Encoder.AsObject, Decoder")}anySourceType(e){return[(0,a6.wrapOption)("Json",e)]}emitClassDefinitionMethods(){this.emitLine(") derives Encoder.AsObject, Decoder")}emitEnumDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.ensureBlankLine(),this.emitItem(["type ",t," = "]);let i=e.cases.size;this.forEachEnumCase(e,"none",(r,s)=>{this.emitItem(['"',s,'"']),--i>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(e,t){super.emitTopLevelArray(e,t);const i=this.scalaType(e.items);this.emitLine(["given (using ev : ",i,"): Encoder[Map[String,",i,"]] = Encoder.encodeMap[String, ",i,"]"])}emitTopLevelMap(e,t){super.emitTopLevelMap(e,t);const i=this.scalaType(e.values);this.ensureBlankLine(),this.emitLine(["given (using ev : ",i,"): Encoder[Map[String, ",i,"]] = Encoder.encodeMap[String, ",i,"]"])}emitUnionDefinition(e,t){function i(c){const f=c.kind;return f==="class"?f:"_"+f}this.emitDescription(this.descriptionForType(e));const[r,s]=(0,jy.removeNullFromUnion)(e,i),o=[];this.forEachUnionMember(e,s,"none",null,(c,f)=>{o.push(this.scalaType(f))}),r!==null&&o.push(this.nameForUnionMember(e,r)),this.emitItem(["type ",t," = "]),o.forEach((c,f)=>{this.emitItem(f===0?c:[" | ",c])});const a=o.map(c=>this.sourcelikeToString(c)).join(" | ");if(this.ensureBlankLine(),!this.seenUnionTypes.some(c=>c===a)){this.seenUnionTypes.push(a);const c=[];this.forEachUnionMember(e,s,"none",null,(f,d)=>{c.push([this.scalaType(d),d])}),r!==null&&c.push([this.nameForUnionMember(e,r),r]),this.emitLine(["given Decoder[",t,"] = {"]),this.indent(()=>{this.emitLine(["List[Decoder[",t,"]]("]),this.indent(()=>{c.forEach(f=>{this.emitLine(["Decoder[",f[0],"].widen,"])})}),this.emitLine(").reduceLeft(_ or _)")}),this.emitLine(["}"]),this.ensureBlankLine(),this.emitLine(["given Encoder[",t,"] = Encoder.instance {"]),this.indent(()=>{c.forEach((f,d)=>{const p=`enc${d.toString()}`;this.emitLine(["case ",p," : ",f[0]," => ",this.circeEncoderForType(f[1],!1,!1,p)])})}),this.emitLine("}")}}}Fc.CirceRenderer=l6;var Pc={};Object.defineProperty(Pc,"__esModule",{value:!0});Pc.UpickleRenderer=void 0;const u6=ga;class c6 extends u6.Scala3Renderer{emitClassDefinitionMethods(){this.emitLine(") derives ReadWriter ")}emitHeader(){super.emitHeader(),this.emitLine("import upickle.default.*"),this.ensureBlankLine()}}Pc.UpickleRenderer=c6;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.Scala3TargetLanguage=n.scala3Options=n.Framework=void 0;const e=pt,t=Ce,i=Ot,r=Fc,s=ga,o=Pc;var a;(function(f){f.None="None",f.Upickle="Upickle",f.Circe="Circe"})(a=n.Framework||(n.Framework={})),n.scala3Options={framework:new e.EnumOption("framework","Serialization framework",[["just-types",a.None],["circe",a.Circe],["upickle",a.Upickle]],void 0),packageName:new e.StringOption("package","Package","PACKAGE","quicktype")};class c extends i.TargetLanguage{constructor(){super("Scala3",["scala3"],"scala")}getOptions(){return[n.scala3Options.framework,n.scala3Options.packageName]}get supportsOptionalClassProperties(){return!0}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(d,p){const y=(0,e.getOptionValues)(n.scala3Options,p);switch(y.framework){case a.None:return new s.Scala3Renderer(this,d,y);case a.Upickle:return new o.UpickleRenderer(this,d,y);case a.Circe:return new r.CirceRenderer(this,d,y);default:return(0,t.assertNever)(y.framework)}}}n.Scala3TargetLanguage=c})(Lk);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.UpickleRenderer=n.CirceRenderer=n.Scala3Renderer=n.scala3Options=n.Scala3TargetLanguage=void 0;var e=Lk;Object.defineProperty(n,"Scala3TargetLanguage",{enumerable:!0,get:function(){return e.Scala3TargetLanguage}}),Object.defineProperty(n,"scala3Options",{enumerable:!0,get:function(){return e.scala3Options}});var t=ga;Object.defineProperty(n,"Scala3Renderer",{enumerable:!0,get:function(){return t.Scala3Renderer}});var i=Fc;Object.defineProperty(n,"CirceRenderer",{enumerable:!0,get:function(){return i.CirceRenderer}});var r=Pc;Object.defineProperty(n,"UpickleRenderer",{enumerable:!0,get:function(){return r.UpickleRenderer}})})(r0);var o0={},Ok={},Mc={},aa={};Object.defineProperty(aa,"__esModule",{value:!0});aa.keywords=aa.invalidSymbols=void 0;aa.invalidSymbols=[":","-","+","!","@","#","%","^","&","*","(",")",">","<","/",";","'",'"',"{","}",":","~","`","."];aa.keywords=["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"];var Mr={};Object.defineProperty(Mr,"__esModule",{value:!0});Mr.lowerNamingFunction=Mr.upperNamingFunction=Mr.scalaNameStyle=Mr.shouldAddBacktick=void 0;const f6=ca,Ek=qe,tr=Ke,dw=aa,d6=n=>dw.keywords.some(e=>n===e)||dw.invalidSymbols.some(e=>n.includes(e))||!isNaN(parseFloat(n))||!isNaN(parseInt(n.charAt(0)));Mr.shouldAddBacktick=d6;function Ck(n){return(0,tr.isLetterOrUnderscore)(n)||(0,tr.isNumeric)(n)}function h6(n){return Ck(n)&&!(0,f6.isDigit)(n)}const p6=(0,tr.legalizeCharacters)(Ck);function a0(n,e){const t=(0,tr.splitIntoWords)(e);return(0,tr.combineWords)(t,p6,n?tr.firstUpperWordStyle:tr.allLowerWordStyle,tr.firstUpperWordStyle,n?tr.allUpperWordStyle:tr.allLowerWordStyle,tr.allUpperWordStyle,"",h6)}Mr.scalaNameStyle=a0;Mr.upperNamingFunction=(0,Ek.funPrefixNamer)("upper",n=>a0(!0,n));Mr.lowerNamingFunction=(0,Ek.funPrefixNamer)("lower",n=>a0(!1,n));Object.defineProperty(Mc,"__esModule",{value:!0});Mc.Smithy4sRenderer=void 0;const hw=Wt,m6=wt,pw=qe,mw=$e,yw=rt(),Va=et(),y6=aa,gu=Mr;class g6 extends m6.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._scalaOptions=i}forbiddenNamesForGlobalNamespace(){return y6.keywords}forbiddenForObjectProperties(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForEnumCases(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(e,t){return{names:[],includeGlobalForbidden:!1}}topLevelNameStyle(e){return(0,gu.scalaNameStyle)(!0,e)}makeNamedTypeNamer(){return gu.upperNamingFunction}namerForObjectProperty(){return gu.lowerNamingFunction}makeUnionMemberNamer(){return(0,pw.funPrefixNamer)("upper",e=>(0,gu.scalaNameStyle)(!0,e)+"Value")}makeEnumCaseNamer(){return(0,pw.funPrefixNamer)("upper",e=>e.replace(" ",""))}emitDescriptionBlock(e){this.emitCommentLines(e,{lineStart:" * ",beforeComment:"/**",afterComment:" */"})}emitBlock(e,t,i="curly"){const[r,s]=i==="curly"?["{","}"]:i==="paren"?["(",")"]:i==="none"?["",""]:["{","})"];this.emitLine(e," ",r),this.indent(t),this.emitLine(s)}anySourceType(e){return["Document"]}arrayType(e,t=!1){return e.getCombinedName().toString()+"List"}emitArrayType(e,t){this.emitLine(["list ",t," { member : ","}"])}mapType(e,t=!1){return e.getCombinedName().toString()+"Map"}scalaType(e,t=!1,i=!1){return(0,Va.matchType)(e,r=>(0,mw.maybeAnnotated)(t,hw.anyTypeIssueAnnotation,this.anySourceType(!i)),r=>(0,mw.maybeAnnotated)(t,hw.nullTypeIssueAnnotation,this.anySourceType(!i)),r=>"Boolean",r=>"Long",r=>"Double",r=>"String",r=>this.arrayType(r,t),r=>this.nameForNamedType(r),r=>this.mapType(r,t),r=>this.nameForNamedType(r),r=>{const s=(0,Va.nullableFromUnion)(r);return s!==null?[this.scalaType(s,t)]:this.nameForNamedType(r)})}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(e,t){const i=this.scalaType(e.items);this.emitLine(["list ",t," { member : ",i,"}"])}emitTopLevelMap(e,t){const i=this.scalaType(e.values);this.emitLine(["map ",t," { map[ key : String , value : ",i,"}"])}emitEmptyClassDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.emitLine("structure ",t,"{}")}emitClassDefinition(e,t){if(e.getProperties().size===0){this.emitEmptyClassDefinition(e,t);return}const i=s=>s.isOptional?[this.scalaType(s.type,!0,!0)]:[this.scalaType(s.type,!0)],r=[];this.emitDescription(this.descriptionForType(e)),this.emitLine("structure ",t," {"),this.indent(()=>{let s=e.getProperties().size,o=!0;this.forEachClassProperty(e,"none",(a,c,f)=>{const d=f.type.kind==="union"&&(0,Va.nullableFromUnion)(f.type)!==null,p=f.isOptional||f.type.kind==="null"||d,y=--s===0,h=[];(f.type.kind==="array"||f.type.kind==="map")&&r.push(f);const m=this.descriptionForClassProperty(e,c);m!==void 0&&h.push(()=>this.emitDescription(m)),h.length>0&&!o&&this.ensureBlankLine();for(const U of h)U();const C=c.endsWith("_")||(0,gu.shouldAddBacktick)(c)?"`"+c+"`":c;this.emitLine(f.isOptional||p?"":"@required ",C," : ",i(f),y?"":","),h.length>0&&!y&&this.ensureBlankLine(),o=!1})}),this.emitClassDefinitionMethods(r)}emitClassDefinitionMethods(e){this.emitLine("}"),e.forEach(t=>{function i(r){}(0,Va.matchCompoundType)(t.type,r=>{this.emitLine(["list ",this.scalaType(r,!0),"{ member: ",this.scalaType(r.items,!0),"}"])},i,r=>{this.emitLine(["map ",this.scalaType(r,!0),"{ key: String , value: ",this.scalaType(r.values,!0),"}"])},i,i)})}emitEnumDefinition(e,t){this.emitDescription(this.descriptionForType(e)),this.ensureBlankLine(),this.emitItem(["enum ",t," { "]);let i=e.cases.size;this.forEachEnumCase(e,"none",(r,s)=>{this.emitLine(),this.emitItem([r,' = "',s,'"']),--i>0&&this.emitItem([","])}),this.ensureBlankLine(),this.emitItem(["}"])}emitUnionDefinition(e,t){function i(c){const f=c.kind;return f==="class"?f:"_"+f}const r=[];this.emitDescription(this.descriptionForType(e));const[s,o]=(0,Va.removeNullFromUnion)(e,i),a=[];this.forEachUnionMember(e,o,"none",null,(c,f)=>{(f.kind==="array"||f.kind==="map")&&r.push(f),a.push(this.scalaType(f))}),s!==null&&a.push(this.nameForUnionMember(e,s)),this.emitLine(["@untagged union ",t," { "]),this.indent(()=>{a.forEach((c,f)=>{this.emitLine([String.fromCharCode(f+65)," : ",c])})}),this.emitLine("}"),this.ensureBlankLine(),r.forEach(c=>{function f(d){}(0,Va.matchCompoundType)(c,d=>{this.emitLine(["list ",this.scalaType(d,!0),"{ member: ",this.scalaType(d.items,!0),"}"])},f,d=>{this.emitLine(["map ",this.scalaType(d,!0),"{ key: String , value: ",this.scalaType(d.values,!0),"}"])},f,f)})}emitSourceStructure(){this.emitHeader(),this.forEachTopLevel("leading",(e,t)=>{e instanceof yw.ArrayType?this.emitTopLevelArray(e,t):e instanceof yw.MapType&&this.emitTopLevelMap(e,t)}),this.forEachNamedType("leading-and-interposing",(e,t)=>this.emitClassDefinition(e,t),(e,t)=>this.emitEnumDefinition(e,t),(e,t)=>this.emitUnionDefinition(e,t))}}Mc.Smithy4sRenderer=g6;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.SmithyTargetLanguage=n.smithyOptions=n.Framework=void 0;const e=pt,t=Ce,i=Ot,r=Mc;var s;(function(a){a.None="None"})(s=n.Framework||(n.Framework={})),n.smithyOptions={framework:new e.EnumOption("framework","Serialization framework",[["just-types",s.None]],void 0),packageName:new e.StringOption("package","Package","PACKAGE","quicktype")};class o extends i.TargetLanguage{constructor(){super("Smithy",["Smithy"],"smithy")}getOptions(){return[n.smithyOptions.framework,n.smithyOptions.packageName]}get supportsOptionalClassProperties(){return!0}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(c,f){const d=(0,e.getOptionValues)(n.smithyOptions,f);switch(d.framework){case s.None:return new r.Smithy4sRenderer(this,c,d);default:return(0,t.assertNever)(d.framework)}}}n.SmithyTargetLanguage=o})(Ok);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.Smithy4sRenderer=n.smithyOptions=n.SmithyTargetLanguage=void 0;var e=Ok;Object.defineProperty(n,"SmithyTargetLanguage",{enumerable:!0,get:function(){return e.SmithyTargetLanguage}}),Object.defineProperty(n,"smithyOptions",{enumerable:!0,get:function(){return e.smithyOptions}});var t=Mc;Object.defineProperty(n,"Smithy4sRenderer",{enumerable:!0,get:function(){return t.Smithy4sRenderer}})})(o0);var l0={},Ak={},Ic={},qh={};Object.defineProperty(qh,"__esModule",{value:!0});qh.keywords=void 0;qh.keywords=["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"];var nr={};Object.defineProperty(nr,"__esModule",{value:!0});nr.stringEscape=nr.swiftNameStyle=nr.SwiftDateTimeRecognizer=nr.MAX_SAMELINE_PROPERTIES=void 0;const b6=oc,bn=Ke;nr.MAX_SAMELINE_PROPERTIES=4;const T6=/^\d+-\d+-\d+T\d+:\d+:\d+([zZ]|[+-]\d+(:\d+)?)$/;class S6 extends b6.DefaultDateTimeRecognizer{isDateTime(e){return T6.exec(e)!==null}}nr.SwiftDateTimeRecognizer=S6;function Fk(n){return(0,bn.isLetterOrUnderscore)(n)||(0,bn.isNumeric)(n)}function v6(n){return Fk(n)&&!(0,bn.isDigit)(n)}const _6=(0,bn.legalizeCharacters)(Fk);function w6(n,e,t,i=bn.allUpperWordStyle){const r=(0,bn.splitIntoWords)(t),s=(0,bn.combineWords)(r,_6,e?bn.firstUpperWordStyle:bn.allLowerWordStyle,bn.firstUpperWordStyle,e?bn.allUpperWordStyle:bn.allLowerWordStyle,i,"",v6);return(0,bn.addPrefixIfNecessary)(n,s)}nr.swiftNameStyle=w6;function L6(n){return"\\u{"+(0,bn.intToHex)(n,0)+"}"}nr.stringEscape=(0,bn.utf32ConcatMap)((0,bn.escapeNonPrintableMapper)(bn.isPrintable,L6));Object.defineProperty(Ic,"__esModule",{value:!0});Ic.SwiftRenderer=void 0;const N6=Ve,gw=Wt,k6=wt,bw=qe,Io=$e,Tw=ti,bu=Ke,By=Ce,hd=rt(),Dy=et(),Sw=qh,Tu=nr;class O6 extends k6.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._options=i,this._needAny=!1,this._needNull=!1,this.emitSupportFunctions4=()=>{this.startFile("JSONSchemaSupport"),this.emitLineOnce("import Foundation"),this.forEachTopLevel("leading",(r,s)=>this.renderTopLevelAlias(r,s),r=>this.namedTypeToNameForTopLevel(r)===void 0),this._options.convenienceInitializers&&(this.ensureBlankLine(),this.forEachTopLevel("leading-and-interposing",(r,s)=>this.emitTopLevelMapAndArrayConvenienceInitializerExtensions(r,s))),(!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 {
|
|
739
|
+
return true
|
|
740
|
+
}`),this._options.objcSupport===!1&&(this.ensureBlankLine(),this.emitMultiline(` public var hashValue: Int {
|
|
741
|
+
return 0
|
|
742
|
+
}`),this._options.swift5Support&&(this.ensureBlankLine(),this.emitMultiline(` public func hash(into hasher: inout Hasher) {
|
|
743
|
+
// No-op
|
|
744
|
+
}`))),this.ensureBlankLine(),this._options.objcSupport?this.emitItem(" override "):this.emitItem(" "),this.emitMultiline(`public init() {}
|
|
745
|
+
|
|
746
|
+
public required init(from decoder: Decoder) throws {
|
|
747
|
+
let container = try decoder.singleValueContainer()
|
|
748
|
+
if !container.decodeNil() {
|
|
749
|
+
throw DecodingError.typeMismatch(JSONNull.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for JSONNull"))
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
public func encode(to encoder: Encoder) throws {
|
|
754
|
+
var container = encoder.singleValueContainer()
|
|
755
|
+
try container.encodeNil()
|
|
756
|
+
}
|
|
757
|
+
}`)),this._needAny&&(this.ensureBlankLine(),this.emitMultiline(`class JSONCodingKey: CodingKey {
|
|
758
|
+
let key: String
|
|
759
|
+
|
|
760
|
+
required init?(intValue: Int) {
|
|
761
|
+
return nil
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
required init?(stringValue: String) {
|
|
765
|
+
key = stringValue
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
var intValue: Int? {
|
|
769
|
+
return nil
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
var stringValue: String {
|
|
773
|
+
return key
|
|
774
|
+
}
|
|
775
|
+
}`),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
|
|
776
|
+
|
|
777
|
+
static func decodingError(forCodingPath codingPath: [CodingKey]) -> DecodingError {
|
|
778
|
+
let context = DecodingError.Context(codingPath: codingPath, debugDescription: "Cannot decode JSONAny")
|
|
779
|
+
return DecodingError.typeMismatch(JSONAny.self, context)
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
static func encodingError(forValue value: Any, codingPath: [CodingKey]) -> EncodingError {
|
|
783
|
+
let context = EncodingError.Context(codingPath: codingPath, debugDescription: "Cannot encode JSONAny")
|
|
784
|
+
return EncodingError.invalidValue(value, context)
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
static func decode(from container: SingleValueDecodingContainer) throws -> Any {
|
|
788
|
+
if let value = try? container.decode(Bool.self) {
|
|
789
|
+
return value
|
|
790
|
+
}
|
|
791
|
+
if let value = try? container.decode(Int64.self) {
|
|
792
|
+
return value
|
|
793
|
+
}
|
|
794
|
+
if let value = try? container.decode(Double.self) {
|
|
795
|
+
return value
|
|
796
|
+
}
|
|
797
|
+
if let value = try? container.decode(String.self) {
|
|
798
|
+
return value
|
|
799
|
+
}
|
|
800
|
+
if container.decodeNil() {
|
|
801
|
+
return JSONNull()
|
|
802
|
+
}
|
|
803
|
+
throw decodingError(forCodingPath: container.codingPath)
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
static func decode(from container: inout UnkeyedDecodingContainer) throws -> Any {
|
|
807
|
+
if let value = try? container.decode(Bool.self) {
|
|
808
|
+
return value
|
|
809
|
+
}
|
|
810
|
+
if let value = try? container.decode(Int64.self) {
|
|
811
|
+
return value
|
|
812
|
+
}
|
|
813
|
+
if let value = try? container.decode(Double.self) {
|
|
814
|
+
return value
|
|
815
|
+
}
|
|
816
|
+
if let value = try? container.decode(String.self) {
|
|
817
|
+
return value
|
|
818
|
+
}
|
|
819
|
+
if let value = try? container.decodeNil() {
|
|
820
|
+
if value {
|
|
821
|
+
return JSONNull()
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
if var container = try? container.nestedUnkeyedContainer() {
|
|
825
|
+
return try decodeArray(from: &container)
|
|
826
|
+
}
|
|
827
|
+
if var container = try? container.nestedContainer(keyedBy: JSONCodingKey.self) {
|
|
828
|
+
return try decodeDictionary(from: &container)
|
|
829
|
+
}
|
|
830
|
+
throw decodingError(forCodingPath: container.codingPath)
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
static func decode(from container: inout KeyedDecodingContainer<JSONCodingKey>, forKey key: JSONCodingKey) throws -> Any {
|
|
834
|
+
if let value = try? container.decode(Bool.self, forKey: key) {
|
|
835
|
+
return value
|
|
836
|
+
}
|
|
837
|
+
if let value = try? container.decode(Int64.self, forKey: key) {
|
|
838
|
+
return value
|
|
839
|
+
}
|
|
840
|
+
if let value = try? container.decode(Double.self, forKey: key) {
|
|
841
|
+
return value
|
|
842
|
+
}
|
|
843
|
+
if let value = try? container.decode(String.self, forKey: key) {
|
|
844
|
+
return value
|
|
845
|
+
}
|
|
846
|
+
if let value = try? container.decodeNil(forKey: key) {
|
|
847
|
+
if value {
|
|
848
|
+
return JSONNull()
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
if var container = try? container.nestedUnkeyedContainer(forKey: key) {
|
|
852
|
+
return try decodeArray(from: &container)
|
|
853
|
+
}
|
|
854
|
+
if var container = try? container.nestedContainer(keyedBy: JSONCodingKey.self, forKey: key) {
|
|
855
|
+
return try decodeDictionary(from: &container)
|
|
856
|
+
}
|
|
857
|
+
throw decodingError(forCodingPath: container.codingPath)
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
static func decodeArray(from container: inout UnkeyedDecodingContainer) throws -> [Any] {
|
|
861
|
+
var arr: [Any] = []
|
|
862
|
+
while !container.isAtEnd {
|
|
863
|
+
let value = try decode(from: &container)
|
|
864
|
+
arr.append(value)
|
|
865
|
+
}
|
|
866
|
+
return arr
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
static func decodeDictionary(from container: inout KeyedDecodingContainer<JSONCodingKey>) throws -> [String: Any] {
|
|
870
|
+
var dict = [String: Any]()
|
|
871
|
+
for key in container.allKeys {
|
|
872
|
+
let value = try decode(from: &container, forKey: key)
|
|
873
|
+
dict[key.stringValue] = value
|
|
874
|
+
}
|
|
875
|
+
return dict
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
static func encode(to container: inout UnkeyedEncodingContainer, array: [Any]) throws {
|
|
879
|
+
for value in array {
|
|
880
|
+
if let value = value as? Bool {
|
|
881
|
+
try container.encode(value)
|
|
882
|
+
} else if let value = value as? Int64 {
|
|
883
|
+
try container.encode(value)
|
|
884
|
+
} else if let value = value as? Double {
|
|
885
|
+
try container.encode(value)
|
|
886
|
+
} else if let value = value as? String {
|
|
887
|
+
try container.encode(value)
|
|
888
|
+
} else if value is JSONNull {
|
|
889
|
+
try container.encodeNil()
|
|
890
|
+
} else if let value = value as? [Any] {
|
|
891
|
+
var container = container.nestedUnkeyedContainer()
|
|
892
|
+
try encode(to: &container, array: value)
|
|
893
|
+
} else if let value = value as? [String: Any] {
|
|
894
|
+
var container = container.nestedContainer(keyedBy: JSONCodingKey.self)
|
|
895
|
+
try encode(to: &container, dictionary: value)
|
|
896
|
+
} else {
|
|
897
|
+
throw encodingError(forValue: value, codingPath: container.codingPath)
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
static func encode(to container: inout KeyedEncodingContainer<JSONCodingKey>, dictionary: [String: Any]) throws {
|
|
903
|
+
for (key, value) in dictionary {
|
|
904
|
+
let key = JSONCodingKey(stringValue: key)!
|
|
905
|
+
if let value = value as? Bool {
|
|
906
|
+
try container.encode(value, forKey: key)
|
|
907
|
+
} else if let value = value as? Int64 {
|
|
908
|
+
try container.encode(value, forKey: key)
|
|
909
|
+
} else if let value = value as? Double {
|
|
910
|
+
try container.encode(value, forKey: key)
|
|
911
|
+
} else if let value = value as? String {
|
|
912
|
+
try container.encode(value, forKey: key)
|
|
913
|
+
} else if value is JSONNull {
|
|
914
|
+
try container.encodeNil(forKey: key)
|
|
915
|
+
} else if let value = value as? [Any] {
|
|
916
|
+
var container = container.nestedUnkeyedContainer(forKey: key)
|
|
917
|
+
try encode(to: &container, array: value)
|
|
918
|
+
} else if let value = value as? [String: Any] {
|
|
919
|
+
var container = container.nestedContainer(keyedBy: JSONCodingKey.self, forKey: key)
|
|
920
|
+
try encode(to: &container, dictionary: value)
|
|
921
|
+
} else {
|
|
922
|
+
throw encodingError(forValue: value, codingPath: container.codingPath)
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
static func encode(to container: inout SingleValueEncodingContainer, value: Any) throws {
|
|
928
|
+
if let value = value as? Bool {
|
|
929
|
+
try container.encode(value)
|
|
930
|
+
} else if let value = value as? Int64 {
|
|
931
|
+
try container.encode(value)
|
|
932
|
+
} else if let value = value as? Double {
|
|
933
|
+
try container.encode(value)
|
|
934
|
+
} else if let value = value as? String {
|
|
935
|
+
try container.encode(value)
|
|
936
|
+
} else if value is JSONNull {
|
|
937
|
+
try container.encodeNil()
|
|
938
|
+
} else {
|
|
939
|
+
throw encodingError(forValue: value, codingPath: container.codingPath)
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
public required init(from decoder: Decoder) throws {
|
|
944
|
+
if var arrayContainer = try? decoder.unkeyedContainer() {
|
|
945
|
+
self.value = try JSONAny.decodeArray(from: &arrayContainer)
|
|
946
|
+
} else if var container = try? decoder.container(keyedBy: JSONCodingKey.self) {
|
|
947
|
+
self.value = try JSONAny.decodeDictionary(from: &container)
|
|
948
|
+
} else {
|
|
949
|
+
let container = try decoder.singleValueContainer()
|
|
950
|
+
self.value = try JSONAny.decode(from: container)
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
public func encode(to encoder: Encoder) throws {
|
|
955
|
+
if let arr = self.value as? [Any] {
|
|
956
|
+
var container = encoder.unkeyedContainer()
|
|
957
|
+
try JSONAny.encode(to: &container, array: arr)
|
|
958
|
+
} else if let dict = self.value as? [String: Any] {
|
|
959
|
+
var container = encoder.container(keyedBy: JSONCodingKey.self)
|
|
960
|
+
try JSONAny.encode(to: &container, dictionary: dict)
|
|
961
|
+
} else {
|
|
962
|
+
var container = encoder.singleValueContainer()
|
|
963
|
+
try JSONAny.encode(to: &container, value: self.value)
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
}`)),this.endFile()}}forbiddenNamesForGlobalNamespace(){return this._options.alamofire?["DataRequest",...Sw.keywords]:Sw.keywords}forbiddenForObjectProperties(e,t){return{names:["fromURL","json"],includeGlobalForbidden:!0}}forbiddenForEnumCases(e,t){return{names:[],includeGlobalForbidden:!0}}forbiddenForUnionMembers(e,t){return{names:[],includeGlobalForbidden:!0}}makeNamedTypeNamer(){return(0,bw.funPrefixNamer)("upper",e=>(0,Tu.swiftNameStyle)(this._options.namedTypePrefix,!0,e,(0,Tw.acronymStyle)(this._options.acronymStyle)))}namerForObjectProperty(){return this.lowerNamingFunction}makeUnionMemberNamer(){return this.lowerNamingFunction}makeEnumCaseNamer(){return this.lowerNamingFunction}isImplicitCycleBreaker(e){const t=e.kind;return t==="array"||t==="map"}emitDescriptionBlock(e){this.emitCommentLines(e,{lineStart:"/// "})}emitBlock(e,t){this.emitLine(e," {"),this.indent(t),this.emitLine("}")}emitBlockWithAccess(e,t){this.emitBlock([this.accessLevel,e],t)}justTypesCase(e,t){return this._options.justTypes?e:t}get lowerNamingFunction(){return(0,bw.funPrefixNamer)("lower",e=>(0,Tu.swiftNameStyle)("",!1,e,(0,Tw.acronymStyle)(this._options.acronymStyle)))}swiftPropertyType(e){return e.isOptional||this._options.optionalEnums&&e.type.kind==="enum"?[this.swiftType(e.type,!0,!0),"?"]:this.swiftType(e.type,!0)}swiftType(e,t=!1,i=!1){const r=i?"":"?";return(0,Dy.matchType)(e,s=>(this._needAny=!0,(0,Io.maybeAnnotated)(t,gw.anyTypeIssueAnnotation,this.justTypesCase(["Any",r],"JSONAny"))),s=>(this._needNull=!0,(0,Io.maybeAnnotated)(t,gw.nullTypeIssueAnnotation,this.justTypesCase("NSNull",["JSONNull",r]))),s=>"Bool",s=>"Int",s=>"Double",s=>"String",s=>["[",this.swiftType(s.items,t),"]"],s=>this.nameForNamedType(s),s=>["[String: ",this.swiftType(s.values,t),"]"],s=>this.nameForNamedType(s),s=>{const o=(0,Dy.nullableFromUnion)(s);return o!==null?[this.swiftType(o,t),r]:this.nameForNamedType(s)},s=>s.kind==="date-time"?"Date":(0,By.panic)(`Transformed string type ${s.kind} not supported`))}proposedUnionMemberNameForTypeKind(e){return e==="enum"?"enumeration":e==="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",(e,t)=>{this._options.convenienceInitializers&&!(e instanceof hd.EnumType)?this.emitLineOnce("// let ",(0,Io.modifySource)(bu.camelCase,t)," = try ",t,"(json)"):this.emitLineOnce("// let ",(0,Io.modifySource)(bu.camelCase,t)," = ","try? JSONDecoder().decode(",t,".self, from: jsonData)")})}renderHeader(e,t){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&&!(e instanceof hd.EnumType)?this.emitLine("// let ",(0,Io.modifySource)(bu.camelCase,t)," = try ",t,"(json)"):this.emitLine("// let ",(0,Io.modifySource)(bu.camelCase,t)," = ","try? newJSONDecoder().decode(",t,".self, from: jsonData)")),this._options.alamofire&&(this.emitLine("//"),this.emitLine("// To parse values from Alamofire responses:"),this.emitLine("//"),this.emitLine("// Alamofire.request(url).response",t," { response in"),this.emitLine("// if let ",(0,Io.modifySource)(bu.camelCase,t)," = 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(e,t){this.emitLine(this.accessLevel,"typealias ",t," = ",this.swiftType(e,!0))}getProtocolsArray(e){const t=[],i=e==="class";return i&&this._options.objcSupport&&t.push("NSObject"),this._options.justTypes||t.push("Codable"),this._options.protocol.hashable&&t.push("Hashable"),this._options.protocol.equatable&&t.push("Equatable"),this._options.sendable&&(!this._options.mutableProperties||!i)&&!this._options.objcSupport&&t.push("Sendable"),t}getProtocolString(e,t=void 0){let i=this.getProtocolsArray(e);return t&&i.unshift(t),i.length>0?": "+i.join(", "):""}getEnumPropertyGroups(e){let t=[],i=[];return this.forEachClassProperty(e,"none",(r,s)=>{const o=(0,Tu.stringEscape)(s),a=this.sourcelikeToString(r)===o;this._options.dense&&a?i.push({name:r}):(i.length>0&&(t.push(i),i=[]),t.push([{name:r,label:o}]))}),i.length>0&&t.push(i),t}get accessLevel(){return this._options.accessLevel==="internal"?"":this._options.accessLevel+" "}get objcMembersDeclaration(){return this._options.objcSupport?"@objcMembers ":""}startFile(e){this._options.multiFileOutput!==!1&&((0,By.assert)(this._currentFilename===void 0,"Previous file wasn't finished: "+this._currentFilename),this._currentFilename=`${this.sourcelikeToString(e)}.swift`,this.initializeEmitContextForFilename(this._currentFilename))}endFile(){this._options.multiFileOutput!==!1&&(this.finishFile((0,By.defined)(this._currentFilename)),this._currentFilename=void 0)}propertyLinesDefinition(e,t){const i=this._options.mutableProperties;return[this.accessLevel,i?"var ":"let ",e,": ",this.swiftPropertyType(t)]}renderClassDefinition(e,t){this.startFile(t),this.renderHeader(e,t),this.emitDescription(this.descriptionForType(e)),this.emitMark(this.sourcelikeToString(t),!0);const i=this._options.useClasses||this.isCycleBreakerType(e),r=i?"class":"struct";i&&this._options.objcSupport&&this.emitItem(this.objcMembersDeclaration),this.emitBlockWithAccess([r," ",t,this.getProtocolString(r)],()=>{if(this._options.dense){let s,o=[];const a=()=>{if(s===void 0)return;const c=this._options.mutableProperties;let f=[[this._options.optionalEnums&&s.type.kind==="enum"?"@OptionallyDecodable ":"",this.accessLevel,c||this._options.optionalEnums&&s.type.kind==="enum"?"var ":"let "]];o.forEach((d,p)=>{p>0&&f.push(", "),f.push(d)}),f.push(": "),f.push(this.swiftPropertyType(s)),this.emitLine(f),s=void 0,o=[]};this.forEachClassProperty(e,"none",(c,f,d)=>{const p=this.descriptionForClassProperty(e,f);(s&&!d.equals(s)||o.length>=Tu.MAX_SAMELINE_PROPERTIES||p!==void 0)&&a(),s===void 0&&(s=d),o.push(c),p!==void 0&&(this.emitDescription(p),a())}),a()}else this.forEachClassProperty(e,"none",(s,o,a)=>{const c=this.descriptionForClassProperty(e,o),f=this.propertyLinesDefinition(s,a);this.emitDescription(c),this.emitLine(f)});if(!this._options.justTypes){const s=this.getEnumPropertyGroups(e);if(!s.every(a=>a.every(c=>c.label===void 0))&&e.getProperties().size>0){this.ensureBlankLine();let a=this.accessLevel;a+="enum CodingKeys: String, CodingKey",this._options.codingKeysProtocol&&this._options.codingKeysProtocol.length>0&&(a+=", ",a+=this._options.codingKeysProtocol),this.emitBlock(a,()=>{for(const c of s){const{name:f,label:d}=c[0];if(this._options.explicitCodingKeys&&d!==void 0)this.emitLine("case ",f,' = "',d,'"');else{const p=(0,N6.arrayIntercalate)(", ",c.map(y=>y.name));this.emitLine("case ",p)}}})}}if(i||this._options.accessLevel==="public"){this.ensureBlankLine();let s=this.initializableProperties(e),o=[];for(let a of s)o.length>0&&o.push(", "),o.push(a.name,": ",this.swiftPropertyType(a.parameter));this.propertyCount(e)===0&&this._options.objcSupport?this.emitBlockWithAccess(["override init()"],()=>""):this.emitBlockWithAccess(["init(",...o,")"],()=>{for(let a of s)this.emitLine("self.",a.name," = ",a.name)})}}),this._options.justTypes||this._options.convenienceInitializers&&(this.ensureBlankLine(),this.emitMark(this.sourcelikeToString(t)+" convenience initializers and mutators"),this.ensureBlankLine(),this.emitConvenienceInitializersExtension(e,t),this.ensureBlankLine()),this.endFile()}initializableProperties(e){const t=[];return this.forEachClassProperty(e,"none",(i,r,s,o)=>{const a={name:i,jsonName:r,parameter:s,position:o};t.push(a)}),t}emitNewEncoderDecoder(){this.emitBlock("func newJSONDecoder() -> JSONDecoder",()=>{this.emitLine("let decoder = JSONDecoder()"),this._options.linux?this.emitMultiline(`decoder.dateDecodingStrategy = .custom({ (decoder) -> Date in
|
|
967
|
+
let container = try decoder.singleValueContainer()
|
|
968
|
+
let dateStr = try container.decode(String.self)
|
|
969
|
+
|
|
970
|
+
let formatter = DateFormatter()
|
|
971
|
+
formatter.calendar = Calendar(identifier: .iso8601)
|
|
972
|
+
formatter.locale = Locale(identifier: "en_US_POSIX")
|
|
973
|
+
formatter.timeZone = TimeZone(secondsFromGMT: 0)
|
|
974
|
+
formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSXXXXX"
|
|
975
|
+
if let date = formatter.date(from: dateStr) {
|
|
976
|
+
return date
|
|
977
|
+
}
|
|
978
|
+
formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ssXXXXX"
|
|
979
|
+
if let date = formatter.date(from: dateStr) {
|
|
980
|
+
return date
|
|
981
|
+
}
|
|
982
|
+
throw DecodingError.typeMismatch(Date.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Could not decode date"))
|
|
983
|
+
})`):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()
|
|
984
|
+
formatter.calendar = Calendar(identifier: .iso8601)
|
|
985
|
+
formatter.locale = Locale(identifier: "en_US_POSIX")
|
|
986
|
+
formatter.timeZone = TimeZone(secondsFromGMT: 0)
|
|
987
|
+
formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ssXXXXX"
|
|
988
|
+
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(e,t){const i=this._options.useClasses||this.isCycleBreakerType(e),r=i?"convenience ":"";this.emitBlockWithAccess(["extension ",t],()=>{i?this.emitBlock("convenience init(data: Data) throws",()=>{this.propertyCount(e)>0?this.emitLine("let me = try newJSONDecoder().decode(",this.swiftType(e),".self, from: data)"):this.emitLine("let _ = try newJSONDecoder().decode(",this.swiftType(e),".self, from: data)");let s=[];this.forEachClassProperty(e,"none",o=>{s.length>0&&s.push(", "),s.push(o,": ","me.",o)}),this.emitLine("self.init(",...s,")")}):this.emitBlock("init(data: Data) throws",()=>{this.emitLine("self = try newJSONDecoder().decode(",this.swiftType(e),".self, from: data)")}),this.ensureBlankLine(),this.emitBlock([r,"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([r,"init(fromURL url: URL) throws"],()=>{this.emitLine("try self.init(data: try Data(contentsOf: url))")}),this.ensureBlankLine(),this.emitConvenienceMutator(e,t),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(e,t){this.startFile(t),this.emitLineOnce("import Foundation"),this.ensureBlankLine(),this.emitDescription(this.descriptionForType(e));const i=this.getProtocolString("enum","String");this._options.justTypes?this.emitBlockWithAccess(["enum ",t,i],()=>{this.forEachEnumCase(e,"none",r=>{this.emitLine("case ",r)})}):this.emitBlockWithAccess(["enum ",t,i],()=>{this.forEachEnumCase(e,"none",(r,s)=>{this.emitLine("case ",r,' = "',(0,Tu.stringEscape)(s),'"')})}),this.endFile()}renderUnionDefinition(e,t){this.startFile(t),this.emitLineOnce("import Foundation"),this.ensureBlankLine();function i(c){const f=c.kind;return f==="class"?f:"_"+f}const r=c=>{this.emitBlock(["if let x = try? container.decode(",this.swiftType(c),".self)"],()=>{this.emitLine("self = .",this.nameForUnionMember(e,c),"(x)"),this.emitLine("return")})};this.emitDescription(this.descriptionForType(e));const s=this.isCycleBreakerType(e)?"indirect ":"",[o,a]=(0,Dy.removeNullFromUnion)(e,i);this.emitBlockWithAccess([s,"enum ",t,this.getProtocolString("enum")],()=>{this.forEachUnionMember(e,a,"none",null,(c,f)=>{this.emitLine("case ",c,"(",this.swiftType(f),")")}),o!==null&&this.emitLine("case ",this.nameForUnionMember(e,o)),this._options.justTypes||(this.ensureBlankLine(),this.emitBlockWithAccess("init(from decoder: Decoder) throws",()=>{this.emitLine("let container = try decoder.singleValueContainer()");const c=e.findMember("bool");c!==void 0&&r(c);const f=e.findMember("integer");f!==void 0&&r(f);for(const d of a)d.kind==="bool"||d.kind==="integer"||r(d);o!==null&&this.emitBlock("if container.decodeNil()",()=>{this.emitLine("self = .",this.nameForUnionMember(e,o)),this.emitLine("return")}),this.emitDecodingError(t)}),this.ensureBlankLine(),this.emitBlockWithAccess("func encode(to encoder: Encoder) throws",()=>{this.emitLine("var container = encoder.singleValueContainer()"),this.emitLine("switch self {"),this.forEachUnionMember(e,a,"none",null,(c,f)=>{this.emitLine("case .",c,"(let x):"),this.indent(()=>this.emitLine("try container.encode(x)"))}),o!==null&&(this.emitLine("case .",this.nameForUnionMember(e,o),":"),this.indent(()=>this.emitLine("try container.encodeNil()"))),this.emitLine("}")}))}),this.endFile()}emitTopLevelMapAndArrayConvenienceInitializerExtensions(e,t){let i;if(e instanceof hd.ArrayType)i=["Array where Element == ",t,".Element"];else if(e instanceof hd.MapType)i=["Dictionary where Key == String, Value == ",this.swiftType(e.values)];else return;this.emitBlockWithAccess(["extension ",i],()=>{this.emitBlock(["init(data: Data) throws"],()=>{this.emitLine("self = try newJSONDecoder().decode(",t,".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(e){this.emitLine("throw DecodingError.typeMismatch(",e,'.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for ',e,'"))')}emitConvenienceMutator(e,t){this.emitLine("func with("),this.indent(()=>{this.forEachClassProperty(e,"none",(i,r,s,o)=>{this.emitLine(i,": ",this.swiftPropertyType(s),"? = nil",o!=="only"&&o!=="last"?",":"")})}),this.emitBlock([") -> ",t],()=>{this.emitLine("return ",t,"("),this.indent(()=>{this.forEachClassProperty(e,"none",(i,r,s,o)=>{this.emitLine(i,": ",i," ?? self.",i,o!=="only"&&o!=="last"?",":"")})}),this.emitLine(")")})}emitMark(e,t=!1){this.emitLine("// MARK:",t?" - ":" ",e)}emitSourceStructure(){this._options.multiFileOutput===!1&&this.renderSingleFileHeaderComments(),this.forEachNamedType("leading-and-interposing",(e,t)=>this.renderClassDefinition(e,t),(e,t)=>this.renderEnumDefinition(e,t),(e,t)=>this.renderUnionDefinition(e,t)),this._options.justTypes||this.emitSupportFunctions4()}emitAlamofireExtension(){this.ensureBlankLine(),this.emitBlockWithAccess("extension DataRequest",()=>{this.emitMultiline(`fileprivate func decodableResponseSerializer<T: Decodable>() -> DataResponseSerializer<T> {
|
|
989
|
+
return DataResponseSerializer { _, response, data, error in
|
|
990
|
+
guard error == nil else { return .failure(error!) }
|
|
991
|
+
|
|
992
|
+
guard let data = data else {
|
|
993
|
+
return .failure(AFError.responseSerializationFailed(reason: .inputDataNil))
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
return Result { try newJSONDecoder().decode(T.self, from: data) }
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
@discardableResult
|
|
1001
|
+
fileprivate func responseDecodable<T: Decodable>(queue: DispatchQueue? = nil, completionHandler: @escaping (DataResponse<T>) -> Void) -> Self {
|
|
1002
|
+
return response(queue: queue, responseSerializer: decodableResponseSerializer(), completionHandler: completionHandler)
|
|
1003
|
+
}`),this.ensureBlankLine(),this.forEachTopLevel("leading-and-interposing",(e,t)=>{this.emitLine("@discardableResult"),this.emitBlock(["func response",t,"(queue: DispatchQueue? = nil, completionHandler: @escaping (DataResponse<",t,">) -> Void) -> Self"],()=>{this.emitLine("return responseDecodable(queue: queue, completionHandler: completionHandler)")})})})}}Ic.SwiftRenderer=O6;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.SwiftTargetLanguage=n.swiftOptions=void 0;const e=pt,t=ti,i=Ot,r=Ic,s=nr;n.swiftOptions={justTypes:new e.BooleanOption("just-types","Plain types only",!1),convenienceInitializers:new e.BooleanOption("initializers","Generate initializers and mutators",!0),explicitCodingKeys:new e.BooleanOption("coding-keys","Explicit CodingKey values in Codable types",!0),codingKeysProtocol:new e.StringOption("coding-keys-protocol","CodingKeys implements protocols","protocol1, protocol2...","","secondary"),alamofire:new e.BooleanOption("alamofire","Alamofire extensions",!1),namedTypePrefix:new e.StringOption("type-prefix","Prefix for type names","PREFIX","","secondary"),useClasses:new e.EnumOption("struct-or-class","Structs or classes",[["struct",!1],["class",!0]]),mutableProperties:new e.BooleanOption("mutable-properties","Use var instead of let for object properties",!1),acronymStyle:(0,t.acronymOption)(t.AcronymStyleOptions.Pascal),dense:new e.EnumOption("density","Code density",[["dense",!0],["normal",!1]],"dense","secondary"),linux:new e.BooleanOption("support-linux","Support Linux",!1,"secondary"),objcSupport:new e.BooleanOption("objective-c-support","Objects inherit from NSObject and @objcMembers is added to classes",!1),optionalEnums:new e.BooleanOption("optional-enums","If no matching case is found enum value is set to null",!1),swift5Support:new e.BooleanOption("swift-5-support","Renders output in a Swift 5 compatible mode",!1),sendable:new e.BooleanOption("sendable","Mark generated models as Sendable",!1),multiFileOutput:new e.BooleanOption("multi-file-output","Renders each top-level object in its own Swift file",!1),accessLevel:new e.EnumOption("access-level","Access level",[["internal","internal"],["public","public"]],"internal","secondary"),protocol:new e.EnumOption("protocol","Make types implement protocol",[["none",{equatable:!1,hashable:!1}],["equatable",{equatable:!0,hashable:!1}],["hashable",{equatable:!1,hashable:!0}]],"none","secondary")};class o extends i.TargetLanguage{constructor(){super("Swift",["swift","swift4"],"swift")}getOptions(){return[n.swiftOptions.justTypes,n.swiftOptions.useClasses,n.swiftOptions.dense,n.swiftOptions.convenienceInitializers,n.swiftOptions.explicitCodingKeys,n.swiftOptions.codingKeysProtocol,n.swiftOptions.accessLevel,n.swiftOptions.alamofire,n.swiftOptions.linux,n.swiftOptions.namedTypePrefix,n.swiftOptions.protocol,n.swiftOptions.acronymStyle,n.swiftOptions.objcSupport,n.swiftOptions.optionalEnums,n.swiftOptions.sendable,n.swiftOptions.swift5Support,n.swiftOptions.multiFileOutput,n.swiftOptions.mutableProperties]}get stringTypeMapping(){const c=new Map;return c.set("date-time","date-time"),c}get supportsOptionalClassProperties(){return!0}get supportsUnionsWithBothNumberTypes(){return!0}makeRenderer(c,f){return new r.SwiftRenderer(this,c,(0,e.getOptionValues)(n.swiftOptions,f))}get dateTimeRecognizer(){return new s.SwiftDateTimeRecognizer}}n.SwiftTargetLanguage=o})(Ak);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.SwiftRenderer=n.swiftOptions=n.SwiftTargetLanguage=void 0;var e=Ak;Object.defineProperty(n,"SwiftTargetLanguage",{enumerable:!0,get:function(){return e.SwiftTargetLanguage}}),Object.defineProperty(n,"swiftOptions",{enumerable:!0,get:function(){return e.swiftOptions}});var t=Ic;Object.defineProperty(n,"SwiftRenderer",{enumerable:!0,get:function(){return t.SwiftRenderer}})})(l0);var u0={},Pk={},Rc={};Object.defineProperty(Rc,"__esModule",{value:!0});Rc.TypeScriptEffectSchemaRenderer=void 0;const E6=Ve,C6=wt,pd=qe,vw=ti,vr=Ke,_w=Ce,Uy=rt(),A6=et(),F6=ho;class P6 extends C6.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._options=i,this.emittedObjects=new Set}forbiddenNamesForGlobalNamespace(){return["Class","Date","Object","String","Array","JSON","Error"]}nameStyle(e,t){const i=(0,vw.acronymStyle)(vw.AcronymStyleOptions.Camel),r=(0,vr.splitIntoWords)(e);return(0,vr.combineWords)(r,F6.legalizeName,t?vr.firstUpperWordStyle:vr.allLowerWordStyle,vr.firstUpperWordStyle,t?s=>(0,vr.capitalize)(i(s)):vr.allLowerWordStyle,i,"",vr.isLetterOrUnderscore)}makeNamedTypeNamer(){return(0,pd.funPrefixNamer)("types",e=>this.nameStyle(e,!0))}makeUnionMemberNamer(){return(0,pd.funPrefixNamer)("properties",e=>this.nameStyle(e,!0))}namerForObjectProperty(){return(0,pd.funPrefixNamer)("properties",e=>this.nameStyle(e,!0))}makeEnumCaseNamer(){return(0,pd.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(e.kind==="class"||e.kind==="object"||e.kind==="enum"){const r=this.nameForNamedType(e);return this.emittedObjects.has(r)?[r]:["S.suspend(() => ",r,")"]}const i=(0,A6.matchType)(e,r=>"S.Any",r=>"S.Null",r=>"S.Boolean",r=>"S.Number",r=>"S.Number",r=>"S.String",r=>["S.Array(",this.typeMapTypeFor(r.items,!1),")"],r=>(0,_w.panic)("Should already be handled."),r=>["S.Record(S.String, ",this.typeMapTypeFor(r.values,!1),")"],r=>(0,_w.panic)("Should already be handled."),r=>{const s=Array.from(r.getChildren()).map(o=>this.typeMapTypeFor(o,!1));return["S.Union(",...(0,E6.arrayIntercalate)(", ",s),")"]},r=>"S.String");return t?[i]:i}emitObject(e,t){this.emittedObjects.add(e),this.ensureBlankLine(),this.emitLine(`
|
|
1004
|
+
export class `,e," extends S.Class<",e,'>("',e,'")({'),this.indent(()=>{this.forEachClassProperty(t,"none",(i,r,s)=>{this.emitLine(`"${(0,vr.utf16StringEscape)(r)}"`,": ",this.typeMapTypeForProperty(s),",")})}),this.emitLine("}) {}")}emitEnum(e,t){this.emittedObjects.add(t),this.ensureBlankLine(),this.emitDescription(this.descriptionForType(e)),this.emitLine(`
|
|
1005
|
+
export const `,t," = ","S.Literal("),this.indent(()=>this.forEachEnumCase(e,"none",(i,r)=>{this.emitLine('"',(0,vr.stringEscape)(r),'",')})),this.emitLine(");"),this._options.justSchema||this.emitLine("export type ",t," = S.Schema.Type<typeof ",t,">;")}walkObjectNames(e){const t=[],i=r=>{if(r.kind==="object"||r.kind==="class")t.push(this.nameForNamedType(r)),this.forEachClassProperty(r,"none",(s,o,a)=>{i(a.type)});else if(r instanceof Uy.ArrayType)i(r.items);else if(r instanceof Uy.MapType)i(r.values);else if(r instanceof Uy.EnumType)for(const s of r.getChildren())i(s)};return this.forEachClassProperty(e,"none",(r,s,o)=>{i(o.type)}),t}emitSchemas(){this.ensureBlankLine(),this.forEachEnum("leading-and-interposing",(r,s)=>{this.emitEnum(r,s)});const e=[],t=[],i=[];this.forEachObject("none",(r,s)=>{t.push(s),i.push(r)}),t.forEach((r,s)=>{let o=0;const a=i[s];this.walkObjectNames(a).forEach(f=>{const d=f;e.forEach(p=>{const y=p;t[y]===d&&(o=Math.max(o,y+1))})}),e.splice(o,0,s)}),e.forEach(r=>this.emitGatheredSource(this.gatherSource(()=>this.emitObject(t[r],i[r]))))}emitSourceStructure(){this.leadingComments!==void 0&&this.emitComments(this.leadingComments),this.emitImports(),this.emitSchemas()}}Rc.TypeScriptEffectSchemaRenderer=P6;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.TypeScriptEffectSchemaTargetLanguage=n.typeScriptEffectSchemaOptions=void 0;const e=pt,t=Ot,i=Rc;n.typeScriptEffectSchemaOptions={justSchema:new e.BooleanOption("just-schema","Schema only",!1)};class r extends t.TargetLanguage{getOptions(){return[]}constructor(o="TypeScript Effect Schema",a=["typescript-effect-schema"],c="ts"){super(o,a,c)}makeRenderer(o,a){return new i.TypeScriptEffectSchemaRenderer(this,o,(0,e.getOptionValues)(n.typeScriptEffectSchemaOptions,a))}}n.TypeScriptEffectSchemaTargetLanguage=r})(Pk);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.TypeScriptEffectSchemaRenderer=n.typeScriptEffectSchemaOptions=n.TypeScriptEffectSchemaTargetLanguage=void 0;var e=Pk;Object.defineProperty(n,"TypeScriptEffectSchemaTargetLanguage",{enumerable:!0,get:function(){return e.TypeScriptEffectSchemaTargetLanguage}}),Object.defineProperty(n,"typeScriptEffectSchemaOptions",{enumerable:!0,get:function(){return e.typeScriptEffectSchemaOptions}});var t=Rc;Object.defineProperty(n,"TypeScriptEffectSchemaRenderer",{enumerable:!0,get:function(){return t.TypeScriptEffectSchemaRenderer}})})(u0);var c0={},jc={},Bc={},lo={};Object.defineProperty(lo,"__esModule",{value:!0});lo.quotePropertyName=lo.tsFlowTypeAnnotations=void 0;const M6=Ke,I6=Ss,R6=ho;lo.tsFlowTypeAnnotations={any:": any",anyArray:": any[]",anyMap:": { [k: string]: any }",string:": string",stringArray:": string[]",boolean:": boolean"};function j6(n){const e=(0,M6.utf16StringEscape)(n),t=`"${e}"`;return n.length===0?t:(0,I6.isES3IdentifierStart)(n.codePointAt(0))?e!==n||(0,R6.legalizeName)(n)!==n?t:n:t}lo.quotePropertyName=j6;Object.defineProperty(Bc,"__esModule",{value:!0});Bc.TypeScriptFlowBaseRenderer=void 0;const B6=qe,Kt=$e,ww=Ke,Lw=Ce,xy=rt(),Nw=et(),D6=bc,U6=lo;class x6 extends D6.JavaScriptRenderer{constructor(e,t,i){super(e,t,i),this._tsFlowOptions=i}namerForObjectProperty(){return this._tsFlowOptions.nicePropertyNames?(0,B6.funPrefixNamer)("properties",e=>this.nameStyle(e,!1)):super.namerForObjectProperty()}sourceFor(e){if(this._tsFlowOptions.preferConstValues&&e.kind==="enum"&&e instanceof xy.EnumType&&e.cases.size===1){const t=e.cases.values().next().value;return(0,Kt.singleWord)(`"${(0,ww.utf16StringEscape)(t)}"`)}return["class","object","enum"].includes(e.kind)?(0,Kt.singleWord)(this.nameForNamedType(e)):(0,Nw.matchType)(e,t=>(0,Kt.singleWord)("any"),t=>(0,Kt.singleWord)("null"),t=>(0,Kt.singleWord)("boolean"),t=>(0,Kt.singleWord)("number"),t=>(0,Kt.singleWord)("number"),t=>(0,Kt.singleWord)("string"),t=>{const i=this.sourceFor(t.items);return t.items instanceof xy.UnionType&&!this._tsFlowOptions.declareUnions||t.items instanceof xy.ArrayType?(0,Kt.singleWord)(["Array<",i.source,">"]):(0,Kt.singleWord)([(0,Kt.parenIfNeeded)(i),"[]"])},t=>(0,Lw.panic)("We handled this above"),t=>(0,Kt.singleWord)(["{ [key: string]: ",this.sourceFor(t.values).source," }"]),t=>(0,Lw.panic)("We handled this above"),t=>{if(!this._tsFlowOptions.declareUnions||(0,Nw.nullableFromUnion)(t)!==null){const i=Array.from(t.getChildren()).map(r=>(0,Kt.parenIfNeeded)(this.sourceFor(r)));return(0,Kt.multiWord)(" | ",...i)}else return(0,Kt.singleWord)(this.nameForNamedType(t))},t=>t.kind==="date-time"?(0,Kt.singleWord)("Date"):(0,Kt.singleWord)("string"))}emitClassBlockBody(e){this.emitPropertyTable(e,(i,r,s)=>{const o=s.type;let a=i;return a=(0,Kt.modifySource)(U6.quotePropertyName,i),this._tsFlowOptions.readonly&&(a=(0,Kt.modifySource)(c=>"readonly "+c,a)),[[a,s.isOptional?"?":"",": "],[this.sourceFor(o).source,";"]]});const t=e.getAdditionalProperties();t&&this.emitTable([["[property: string]",": ",this.sourceFor(t).source,";"]])}emitClass(e,t){this.emitDescription(this.descriptionForType(e)),this.emitClassBlock(e,t)}emitUnion(e,t){if(!this._tsFlowOptions.declareUnions)return;this.emitDescription(this.descriptionForType(e));const i=(0,Kt.multiWord)(" | ",...Array.from(e.getChildren()).map(r=>(0,Kt.parenIfNeeded)(this.sourceFor(r))));this.emitLine("export type ",t," = ",i.source,";")}emitTypes(){this.forEachTopLevel("none",(e,t)=>{e.isPrimitive()&&(this.ensureBlankLine(),this.emitDescription(this.descriptionForType(e)),this.emitLine("type ",t," = ",this.sourceFor(e).source,";"))}),this.forEachNamedType("leading-and-interposing",(e,t)=>this.emitClass(e,t),(e,t)=>this.emitEnum(e,t),(e,t)=>this.emitUnion(e,t))}emitUsageComments(){this._tsFlowOptions.justTypes||super.emitUsageComments()}deserializerFunctionLine(e,t){const i=this._tsFlowOptions.rawType==="json"?"string":"any";return["function to",t,"(json: ",i,"): ",this.sourceFor(e).source]}serializerFunctionLine(e,t){const i=(0,Kt.modifySource)(ww.camelCase,t),r=this._tsFlowOptions.rawType==="json"?"string":"any";return["function ",i,"ToJson(value: ",this.sourceFor(e).source,"): ",r]}get moduleLine(){}get castFunctionLines(){return["function cast<T>(val: any, typ: any): T","function uncast<T>(val: T, typ: any): any"]}get typeAnnotations(){throw new Error("not implemented")}emitConvertModule(){this._tsFlowOptions.justTypes||super.emitConvertModule()}emitConvertModuleHelpers(){this._tsFlowOptions.justTypes||super.emitConvertModuleHelpers()}emitModuleExports(){this._tsFlowOptions.justTypes||super.emitModuleExports()}}Bc.TypeScriptFlowBaseRenderer=x6;Object.defineProperty(jc,"__esModule",{value:!0});jc.FlowRenderer=void 0;const J6=Ke,z6=Ce,W6=Bc,G6=lo;class q6 extends W6.TypeScriptFlowBaseRenderer{forbiddenNamesForGlobalNamespace(){return["Class","Date","Object","String","Array","JSON","Error"]}get typeAnnotations(){return Object.assign({never:""},G6.tsFlowTypeAnnotations)}emitEnum(e,t){this.emitDescription(this.descriptionForType(e));const i=[];this.forEachEnumCase(e,"none",(r,s)=>{const o=i.length===0?" ":"| ";i.push([o,'"',(0,J6.utf16StringEscape)(s),'"'])}),(0,z6.defined)(i[i.length-1]).push(";"),this.emitLine("export type ",t," ="),this.indent(()=>{for(const r of i)this.emitLine(r)})}emitClassBlock(e,t){this.emitBlock(["export type ",t," = "],";",()=>{this.emitClassBlockBody(e)})}emitSourceStructure(){this.emitLine("// @flow"),this.ensureBlankLine(),super.emitSourceStructure()}}jc.FlowRenderer=q6;var Dc={};Object.defineProperty(Dc,"__esModule",{value:!0});Dc.TypeScriptRenderer=void 0;const H6=$e,md=Ke,V6=et(),K6=Bc,Z6=lo;class Q6 extends K6.TypeScriptFlowBaseRenderer{forbiddenNamesForGlobalNamespace(){return["Array","Date"]}deserializerFunctionLine(e,t){const i=this._tsFlowOptions.rawType==="json"?"string":"any";return["public static to",t,"(json: ",i,"): ",this.sourceFor(e).source]}serializerFunctionLine(e,t){const i=(0,H6.modifySource)(md.camelCase,t),r=this._tsFlowOptions.rawType==="json"?"string":"any";return["public static ",i,"ToJson(value: ",this.sourceFor(e).source,"): ",r]}get moduleLine(){return"export class Convert"}get typeAnnotations(){return Object.assign({never:": never"},Z6.tsFlowTypeAnnotations)}emitModuleExports(){}emitUsageImportComment(){const e=[];this.forEachTopLevel("none",(t,i)=>{e.push(", ",i)},V6.isNamedType),this.emitLine("// import { Convert",e,' } from "./file";')}emitEnum(e,t){if(this.emitDescription(this.descriptionForType(e)),!(this._tsFlowOptions.preferConstValues&&e.cases.size===1))if(this._tsFlowOptions.preferUnions){let i="";e.cases.forEach(r=>{if(i===""){i+=`"${(0,md.utf16StringEscape)(r)}"`;return}i+=` | "${(0,md.utf16StringEscape)(r)}"`}),this.emitLine("export type ",t," = ",i,";")}else this.emitBlock(["export enum ",t," "],"",()=>{this.forEachEnumCase(e,"none",(i,r)=>{this.emitLine(i,` = "${(0,md.utf16StringEscape)(r)}",`)})})}emitClassBlock(e,t){this.emitBlock(this._tsFlowOptions.preferTypes?["export type ",t," = "]:["export interface ",t," "],"",()=>{this.emitClassBlockBody(e)})}}Dc.TypeScriptRenderer=Q6;var Mk={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.FlowTargetLanguage=n.TypeScriptTargetLanguage=n.TypeScriptFlowBaseTargetLanguage=n.tsFlowOptions=void 0;const e=pt,t=bc,i=jc,r=Dc;n.tsFlowOptions=Object.assign({},t.javaScriptOptions,{justTypes:new e.BooleanOption("just-types","Interfaces only",!1),nicePropertyNames:new e.BooleanOption("nice-property-names","Transform property names to be JavaScripty",!1),declareUnions:new e.BooleanOption("explicit-unions","Explicitly name unions",!1),preferUnions:new e.BooleanOption("prefer-unions","Use union type instead of enum",!1),preferTypes:new e.BooleanOption("prefer-types","Use types instead of interfaces",!1),preferConstValues:new e.BooleanOption("prefer-const-values","Use string instead of enum for string enums with single value",!1),readonly:new e.BooleanOption("readonly","Use readonly type members",!1)});class s extends t.JavaScriptTargetLanguage{getOptions(){return[n.tsFlowOptions.justTypes,n.tsFlowOptions.nicePropertyNames,n.tsFlowOptions.declareUnions,n.tsFlowOptions.runtimeTypecheck,n.tsFlowOptions.runtimeTypecheckIgnoreUnknownProperties,n.tsFlowOptions.acronymStyle,n.tsFlowOptions.converters,n.tsFlowOptions.rawType,n.tsFlowOptions.preferUnions,n.tsFlowOptions.preferTypes,n.tsFlowOptions.preferConstValues,n.tsFlowOptions.readonly]}get supportsOptionalClassProperties(){return!0}}n.TypeScriptFlowBaseTargetLanguage=s;class o extends s{constructor(){super("TypeScript",["typescript","ts","tsx"],"ts")}makeRenderer(f,d){return new r.TypeScriptRenderer(this,f,(0,e.getOptionValues)(n.tsFlowOptions,d))}}n.TypeScriptTargetLanguage=o;class a extends s{constructor(){super("Flow",["flow"],"js")}makeRenderer(f,d){return new i.FlowRenderer(this,f,(0,e.getOptionValues)(n.tsFlowOptions,d))}}n.FlowTargetLanguage=a})(Mk);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.tsFlowOptions=n.TypeScriptTargetLanguage=n.FlowTargetLanguage=n.TypeScriptRenderer=n.FlowRenderer=void 0;var e=jc;Object.defineProperty(n,"FlowRenderer",{enumerable:!0,get:function(){return e.FlowRenderer}});var t=Dc;Object.defineProperty(n,"TypeScriptRenderer",{enumerable:!0,get:function(){return t.TypeScriptRenderer}});var i=Mk;Object.defineProperty(n,"FlowTargetLanguage",{enumerable:!0,get:function(){return i.FlowTargetLanguage}}),Object.defineProperty(n,"TypeScriptTargetLanguage",{enumerable:!0,get:function(){return i.TypeScriptTargetLanguage}}),Object.defineProperty(n,"tsFlowOptions",{enumerable:!0,get:function(){return i.tsFlowOptions}})})(c0);var f0={},Ik={},Uc={};Object.defineProperty(Uc,"__esModule",{value:!0});Uc.TypeScriptZodRenderer=void 0;const X6=Ve,Y6=wt,yd=qe,kw=ti,_r=Ke,Ow=Ce,gd=rt(),$6=et(),e4=ho;class nl extends Y6.ConvenienceRenderer{constructor(e,t,i){super(e,t),this._options=i}forbiddenNamesForGlobalNamespace(){return["Class","Date","Object","String","Array","JSON","Error"]}nameStyle(e,t){const i=(0,kw.acronymStyle)(kw.AcronymStyleOptions.Camel),r=(0,_r.splitIntoWords)(e);return(0,_r.combineWords)(r,e4.legalizeName,t?_r.firstUpperWordStyle:_r.allLowerWordStyle,_r.firstUpperWordStyle,t?s=>(0,_r.capitalize)(i(s)):_r.allLowerWordStyle,i,"",_r.isLetterOrUnderscore)}makeNamedTypeNamer(){return(0,yd.funPrefixNamer)("types",e=>this.nameStyle(e,!0))}makeUnionMemberNamer(){return(0,yd.funPrefixNamer)("properties",e=>this.nameStyle(e,!0))}namerForObjectProperty(){return(0,yd.funPrefixNamer)("properties",e=>this.nameStyle(e,!0))}makeEnumCaseNamer(){return(0,yd.funPrefixNamer)("enum-cases",e=>this.nameStyle(e,!1))}importStatement(e,t){return["import ",e," from ",t,";"]}emitImports(){this.ensureBlankLine(),this.emitLine(this.importStatement("* as z",'"zod"'))}typeMapTypeForProperty(e){const t=this.typeMapTypeFor(e.type);return e.isOptional?[t,".optional()"]:t}typeMapTypeFor(e,t=!0){if(["class","object","enum"].includes(e.kind))return[this.nameForNamedType(e),"Schema"];const i=(0,$6.matchType)(e,r=>"z.any()",r=>"z.null()",r=>"z.boolean()",r=>"z.number()",r=>"z.number()",r=>"z.string()",r=>["z.array(",this.typeMapTypeFor(r.items,!1),")"],r=>(0,Ow.panic)("Should already be handled."),r=>["z.record(z.string(), ",this.typeMapTypeFor(r.values,!1),")"],r=>(0,Ow.panic)("Should already be handled."),r=>{const s=Array.from(r.getChildren()).map(o=>this.typeMapTypeFor(o,!1));return["z.union([",...(0,X6.arrayIntercalate)(", ",s),"])"]},r=>r.kind==="date-time"?"z.coerce.date()":"z.string()");return t?[i]:i}emitObject(e,t){this.ensureBlankLine(),this.emitLine(`
|
|
1006
|
+
export const `,e,"Schema = ","z.object({"),this.indent(()=>{this.forEachClassProperty(t,"none",(i,r,s)=>{this.emitLine(`"${(0,_r.utf16StringEscape)(r)}"`,": ",this.typeMapTypeForProperty(s),",")})}),this.emitLine("});"),this._options.justSchema||this.emitLine("export type ",e," = z.infer<typeof ",e,"Schema>;")}emitEnum(e,t){this.ensureBlankLine(),this.emitDescription(this.descriptionForType(e)),this.emitLine(`
|
|
1007
|
+
export const `,t,"Schema = ","z.enum(["),this.indent(()=>this.forEachEnumCase(e,"none",(i,r)=>{this.emitLine('"',(0,_r.stringEscape)(r),'",')})),this.emitLine("]);"),this._options.justSchema||this.emitLine("export type ",t," = z.infer<typeof ",t,"Schema>;")}static extractUnderlyingTyperefs(e){let t=[];if(!e.isPrimitive()&&e.kind!="enum"){if(e instanceof gd.SetOperationType&&e.members.forEach(i=>{t.push(...nl.extractUnderlyingTyperefs(i))}),e instanceof gd.ObjectType){const i=e.getAdditionalProperties();i&&t.push(...nl.extractUnderlyingTyperefs(i))}if(e instanceof gd.ArrayType){const i=e.items;i&&t.push(...nl.extractUnderlyingTyperefs(i))}e instanceof gd.ClassType&&t.push(e.typeRef)}return t}emitSchemas(){this.ensureBlankLine(),this.forEachEnum("leading-and-interposing",(d,p)=>{this.emitEnum(d,p)});const e=[],t=[],i=[],r=[],s=[];this.forEachObject("none",(d,p)=>{t.push(d),i.push(d.typeRef),r.push(p);const y=d.getChildren();let h=[];y.forEach(S=>{h=h.concat(nl.extractUnderlyingTyperefs(S))}),s.push(h)});let o=[];t.forEach((d,p)=>{o.push(p)});let a=[];const c=999;let f=0;do o.forEach(d=>{const p=s[d];let y=!0;p.forEach(h=>{if(i.includes(h)){let S=!1;for(let m=0;m<e.length;m++){const v=e[m];if(i[v]===h){S=!0;break}}y=y&&S}else console.error("A child type reference was not found amongst all Object definitions! TypeRef: "+h)}),y?e.push(d):a.push(d)}),o=a,a=[],f++,f>c&&(e.push(...a),console.warn("Exceeded maximum number of passes when determining output order, output may contain forward references"));while(o.length>0&&f<=c);e.forEach(d=>this.emitGatheredSource(this.gatherSource(()=>this.emitObject(r[d],t[d]))))}emitSourceStructure(){this.leadingComments!==void 0&&this.emitComments(this.leadingComments),this.emitImports(),this.emitSchemas()}}Uc.TypeScriptZodRenderer=nl;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.TypeScriptZodTargetLanguage=n.typeScriptZodOptions=void 0;const e=pt,t=Ot,i=Uc;n.typeScriptZodOptions={justSchema:new e.BooleanOption("just-schema","Schema only",!1)};class r extends t.TargetLanguage{getOptions(){return[]}constructor(o="TypeScript Zod",a=["typescript-zod"],c="ts"){super(o,a,c)}get stringTypeMapping(){const o=new Map;return o.set("date-time","date-time"),o}get supportsOptionalClassProperties(){return!0}makeRenderer(o,a){return new i.TypeScriptZodRenderer(this,o,(0,e.getOptionValues)(n.typeScriptZodOptions,a))}}n.TypeScriptZodTargetLanguage=r})(Ik);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.TypeScriptZodRenderer=n.typeScriptZodOptions=n.TypeScriptZodTargetLanguage=void 0;var e=Ik;Object.defineProperty(n,"TypeScriptZodTargetLanguage",{enumerable:!0,get:function(){return e.TypeScriptZodTargetLanguage}}),Object.defineProperty(n,"typeScriptZodOptions",{enumerable:!0,get:function(){return e.typeScriptZodOptions}});var t=Uc;Object.defineProperty(n,"TypeScriptZodRenderer",{enumerable:!0,get:function(){return t.TypeScriptZodRenderer}})})(f0);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.languageNamed=n.all=void 0;const e=Ve,t=Cb,i=Mb,r=Ib,s=Rb,o=jb,a=Db,c=xb,f=Jb,d=zb,p=Wb,y=bc,h=Gb,S=qb,m=Hb,v=Vb,C=Zb,U=Qb,x=$b,J=e0,D=n0,K=r0,X=o0,E=l0,j=u0,ne=c0,se=f0;n.all=[new t.CJSONTargetLanguage,new i.CPlusPlusTargetLanguage,new r.CrystalTargetLanguage,new s.CSharpTargetLanguage,new o.DartTargetLanguage,new a.ElixirTargetLanguage,new c.ElmTargetLanguage,new ne.FlowTargetLanguage,new f.GoTargetLanguage,new d.HaskellTargetLanguage,new p.JavaTargetLanguage,new y.JavaScriptTargetLanguage,new h.JavaScriptPropTypesTargetLanguage,new S.JSONSchemaTargetLanguage,new m.KotlinTargetLanguage,new v.ObjectiveCTargetLanguage,new C.PhpTargetLanguage,new U.PikeTargetLanguage,new x.PythonTargetLanguage("Python",["python","py"],"py"),new J.RubyTargetLanguage,new D.RustTargetLanguage,new K.Scala3TargetLanguage,new X.SmithyTargetLanguage,new E.SwiftTargetLanguage,new ne.TypeScriptTargetLanguage,new j.TypeScriptEffectSchemaTargetLanguage,new se.TypeScriptZodTargetLanguage];function re(T,b){b===void 0&&(b=n.all);const w=(0,e.iterableFind)(b,L=>L.names.includes(T)||L.displayName===T);return w!==void 0?w:(0,e.iterableFind)(b,L=>L.extension===T)}n.languageNamed=re})(ml);var Hh={};(function(n){var e=Ee&&Ee.__awaiter||function(S,m,v,C){function U(x){return x instanceof v?x:new v(function(J){J(x)})}return new(v||(v=Promise))(function(x,J){function D(E){try{X(C.next(E))}catch(j){J(j)}}function K(E){try{X(C.throw(E))}catch(j){J(j)}}function X(E){E.done?x(E.value):U(E.value).then(D,K)}X((C=C.apply(S,m||[])).next())})};Object.defineProperty(n,"__esModule",{value:!0}),n.CompressedJSONFromString=n.CompressedJSON=n.valueTag=n.makeValue=n.Tag=void 0;const t=Ve,i=ks(),r=Ce,s=rt();var o;(function(S){S[S.Null=1]="Null",S[S.False=2]="False",S[S.True=3]="True",S[S.Integer=4]="Integer",S[S.Double=5]="Double",S[S.InternedString=6]="InternedString",S[S.UninternedString=7]="UninternedString",S[S.Object=8]="Object",S[S.Array=9]="Array",S[S.StringFormat=10]="StringFormat",S[S.TransformedString=11]="TransformedString"})(o=n.Tag||(n.Tag={}));const a=4,c=(1<<a)-1;function f(S,m){return S|m<<a}n.makeValue=f;function d(S,m){return(0,r.assert)(p(S)===m,"Trying to get index for value with invalid tag"),S>>a}function p(S){return S&c}n.valueTag=p;class y{constructor(m,v){this.dateTimeRecognizer=m,this.handleRefs=v,this._contextStack=[],this._strings=[],this._stringIndexes={},this._objects=[],this._arrays=[],this.getObjectForValue=C=>this._objects[d(C,o.Object)],this.getArrayForValue=C=>this._arrays[d(C,o.Array)],this.internArray=C=>{const U=this._arrays.length;return this._arrays.push(C),f(o.Array,U)}}parseSync(m){return(0,r.panic)("parseSync not implemented in CompressedJSON")}getStringForValue(m){const v=p(m);return(0,r.assert)(v===o.InternedString||v===o.TransformedString),this._strings[d(m,v)]}getStringFormatTypeKind(m){const v=this._strings[d(m,o.StringFormat)];return!(0,s.isPrimitiveStringTypeKind)(v)||v==="string"?(0,r.panic)("Not a transformed string type kind"):v}get context(){return(0,r.defined)(this._ctx)}internString(m){if(Object.prototype.hasOwnProperty.call(this._stringIndexes,m))return this._stringIndexes[m];const v=this._strings.length;return this._strings.push(m),this._stringIndexes[m]=v,v}makeString(m){const v=f(o.InternedString,this.internString(m));return(0,r.assert)(typeof v=="number",`Interned string value is not a number: ${v}`),v}internObject(m){const v=this._objects.length;return this._objects.push(m),f(o.Object,v)}get isExpectingRef(){return this._ctx!==void 0&&this._ctx.currentKey==="$ref"}commitValue(m){if((0,r.assert)(typeof m=="number",`CompressedJSON value is not a number: ${m}`),this._ctx===void 0)(0,r.assert)(this._rootValue===void 0,"Committing value but nowhere to commit to - root value still there."),this._rootValue=m;else if(this._ctx.currentObject!==void 0){if(this._ctx.currentKey===void 0)return(0,r.panic)("Must have key and can't have string when committing");this._ctx.currentObject.push(this.makeString(this._ctx.currentKey),m),this._ctx.currentKey=void 0}else if(this._ctx.currentArray!==void 0)this._ctx.currentArray.push(m);else return(0,r.panic)("Committing value but nowhere to commit to")}commitNull(){this.commitValue(f(o.Null,0))}commitBoolean(m){this.commitValue(f(m?o.True:o.False,0))}commitNumber(m){const v=m?o.Double:o.Integer;this.commitValue(f(v,0))}commitString(m){let v;if(this.handleRefs&&this.isExpectingRef)v=this.makeString(m);else{const C=(0,i.inferTransformedStringTypeKindForString)(m,this.dateTimeRecognizer);C!==void 0?(0,r.defined)(s.transformedStringTypeTargetTypeKindsMap.get(C)).attributesProducer!==void 0?v=f(o.TransformedString,this.internString(m)):v=f(o.StringFormat,this.internString(C)):m.length<=64?v=this.makeString(m):v=f(o.UninternedString,0)}this.commitValue(v)}finish(){const m=this._rootValue;return m===void 0?(0,r.panic)("Finished without root document"):((0,r.assert)(this._ctx===void 0&&this._contextStack.length===0,"Finished with contexts present"),this._rootValue=void 0,m)}pushContext(){this._ctx!==void 0&&this._contextStack.push(this._ctx),this._ctx={currentObject:void 0,currentArray:void 0,currentKey:void 0,currentNumberIsDouble:!1}}pushObjectContext(){this.pushContext(),(0,r.defined)(this._ctx).currentObject=[]}setPropertyKey(m){const v=this.context;v.currentKey=m}finishObject(){const m=this.context.currentObject;if(m===void 0)return(0,r.panic)("Object ended but not started");this.popContext(),this.commitValue(this.internObject(m))}pushArrayContext(){this.pushContext(),(0,r.defined)(this._ctx).currentArray=[]}finishArray(){const m=this.context.currentArray;if(m===void 0)return(0,r.panic)("Array ended but not started");this.popContext(),this.commitValue(this.internArray(m))}popContext(){(0,r.assert)(this._ctx!==void 0,"Popping context when there isn't one"),this._ctx=this._contextStack.pop()}equals(m){return this===m}hashCode(){let m=t.hashCodeInit;for(const v of this._strings)m=(0,t.addHashCode)(m,(0,t.hashString)(v));for(const v of Object.getOwnPropertyNames(this._stringIndexes).sort())m=(0,t.addHashCode)(m,(0,t.hashString)(v)),m=(0,t.addHashCode)(m,this._stringIndexes[v]);for(const v of this._objects)for(const C of v)m=(0,t.addHashCode)(m,C);for(const v of this._arrays)for(const C of v)m=(0,t.addHashCode)(m,C);return m}}n.CompressedJSON=y;class h extends y{parse(m){return e(this,void 0,void 0,function*(){return this.parseSync(m)})}parseSync(m){const v=JSON.parse(m);return this.process(v),this.finish()}process(m){if(m===null)this.commitNull();else if(typeof m=="boolean")this.commitBoolean(m);else if(typeof m=="string")this.commitString(m);else if(typeof m=="number"){const v=m!==Math.floor(m)||m<Number.MIN_SAFE_INTEGER||m>Number.MAX_SAFE_INTEGER;this.commitNumber(v)}else if(Array.isArray(m)){this.pushArrayContext();for(const v of m)this.process(v);this.finishArray()}else if(typeof m=="object"){this.pushObjectContext();for(const v of Object.getOwnPropertyNames(m))this.setPropertyKey(v),this.process(m[v]);this.finishObject()}else return(0,r.panic)("Invalid JSON object")}}n.CompressedJSONFromString=h})(Hh);var Vh={},Rr={};Object.defineProperty(Rr,"__esModule",{value:!0});Rr.UnionBuilder=Rr.TypeRefUnionAccumulator=Rr.UnionAccumulator=void 0;const Vo=Ve,Ro=ks(),ir=Tt,rr=Ce,Rk=rt(),t4=et();function n4(n,e){return n===void 0?e:(0,ir.combineTypeAttributes)("union",n,e)}function i4(n,e,t){n.set(e,n4(n.get(e),t))}function wr(n,e,t){let i=n.get(e);i===void 0&&(i=[],n.set(e,i)),i.push(t)}function Ew(n){return(0,Vo.mapMap)(n,e=>(0,ir.combineTypeAttributes)("union",e))}function Cw(n,e,t){const i=(0,rr.defined)(n.get(e));n.delete(e),i4(n,t,i)}class jk{constructor(e){this._conflateNumbers=e,this._nonStringTypeAttributes=new Map,this._stringTypeAttributes=new Map,this.arrayData=[],this.objectData=[],this._enumCases=new Set,this._lostTypeAttributes=!1}have(e){return this._nonStringTypeAttributes.has(e)||this._stringTypeAttributes.has(e)}addNone(e){this._lostTypeAttributes=!0}addAny(e){wr(this._nonStringTypeAttributes,"any",e),this._lostTypeAttributes=!0}addPrimitive(e,t){(0,rr.assert)(e!=="any","any must be added with addAny"),wr(this._nonStringTypeAttributes,e,t)}addFullStringType(e,t){let i;t===void 0?t=Ro.stringTypesTypeAttributeKind.tryGetInAttributes(e):i=Ro.stringTypesTypeAttributeKind.makeAttributes(t),t===void 0&&(t=Ro.StringTypes.unrestricted,i=Ro.stringTypesTypeAttributeKind.makeAttributes(t));const r=this._nonStringTypeAttributes.get("enum");t.isRestricted&&(0,rr.assert)(r===void 0,"We can't add both an enum as well as a restricted string type to a union builder"),wr(this._stringTypeAttributes,"string",e),i!==void 0&&wr(this._stringTypeAttributes,"string",i)}addStringType(e,t,i){if(e==="string"){this.addFullStringType(t,i);return}wr(this._stringTypeAttributes,e,t),i!==void 0&&wr(this._stringTypeAttributes,e,Ro.stringTypesTypeAttributeKind.makeAttributes(i))}addArray(e,t){this.arrayData.push(e),wr(this._nonStringTypeAttributes,"array",t)}addObject(e,t){this.objectData.push(e),wr(this._nonStringTypeAttributes,"object",t)}addEnum(e,t){if(this._stringTypeAttributes.get("string")!==void 0){wr(this._stringTypeAttributes,"string",t);return}wr(this._nonStringTypeAttributes,"enum",t),(0,Vo.setUnionInto)(this._enumCases,e)}addStringCases(e,t){this.addFullStringType(t,Ro.StringTypes.fromCases(e))}addStringCase(e,t,i){this.addFullStringType(i,Ro.StringTypes.fromCase(e,t))}get enumCases(){return this._enumCases}getMemberKinds(){(0,rr.assert)(!(this.have("enum")&&this.have("string")),"We can't have both strings and enums in the same union");let e=(0,Vo.mapMerge)(Ew(this._nonStringTypeAttributes),Ew(this._stringTypeAttributes));if(e.size===0)return new Map([["none",ir.emptyTypeAttributes]]);if(this._nonStringTypeAttributes.has("any")){(0,rr.assert)(this._lostTypeAttributes,"This had to be set when we added 'any'");const t=(0,ir.combineTypeAttributes)("union",Array.from(e.values()));return new Map([["any",t]])}return this._conflateNumbers&&this.have("integer")&&this.have("double")&&Cw(e,"integer","double"),this.have("map")&&Cw(e,"map","class"),e}get lostTypeAttributes(){return this._lostTypeAttributes}}Rr.UnionAccumulator=jk;class r4{getAttributes(){return ir.emptyTypeAttributes}}function s4(n){const e=new Map,t=new Map,i=new Set;let r=new Set;function s(d,p,y){if(d instanceof Rk.UnionType){i.add(d),y&&(r=r.add(d)),y=y&&d.members.size===1,p.push(d);for(const h of d.members)s(h,p,y);p.pop()}else{(0,Vo.mapUpdateInto)(e,d,h=>h===void 0?new Set(p):(0,Vo.setUnionInto)(h,p));for(const h of p)(0,Vo.mapUpdateInto)(t,h,S=>S===void 0?new Set([d]):S.add(d))}}const o=[new r4],a=Array.from(n);for(const d of a)s(d,o,a.length===1);const c=(0,Vo.mapMap)(e,(d,p)=>{const y=Array.from(d).filter(S=>(0,rr.defined)(t.get(S)).size===1);(0,rr.assert)(y.every(S=>(0,rr.defined)(t.get(S)).has(p)),"We messed up bookkeeping");const h=y.map(S=>S.getAttributes());return(0,ir.combineTypeAttributes)("union",[p.getAttributes()].concat(h))}),f=Array.from(i).map(d=>{const p=t.get(d);if(p!==void 0&&p.size===1)return ir.emptyTypeAttributes;const y=d.getAttributes();return r.has(d)?y:(0,ir.makeTypeAttributesInferred)(y)});return[c,(0,ir.combineTypeAttributes)("union",f)]}class o4 extends jk{addType(e,t){(0,t4.matchTypeExhaustive)(e,i=>this.addNone(t),i=>this.addAny(t),i=>this.addPrimitive("null",t),i=>this.addPrimitive("bool",t),i=>this.addPrimitive("integer",t),i=>this.addPrimitive("double",t),i=>this.addStringType("string",t),i=>this.addArray(i.items.typeRef,t),i=>this.addObject(i.typeRef,t),i=>this.addObject(i.typeRef,t),i=>this.addObject(i.typeRef,t),i=>this.addEnum(i.cases,t),i=>(0,rr.panic)("The unions should have been eliminated in attributesForTypesInUnion"),i=>this.addStringType(i.kind,t))}addTypes(e){const[t,i]=s4(e);for(const[r,s]of t)this.addType(r,s);return i}}Rr.TypeRefUnionAccumulator=o4;class a4{constructor(e){this.typeBuilder=e}makeTypeOfKind(e,t,i,r){switch(t){case"string":return this.typeBuilder.getStringType(i,void 0,r);case"enum":return this.typeBuilder.getEnumType(i,e.enumCases,r);case"object":return this.makeObject(e.objectData,i,r);case"array":return this.makeArray(e.arrayData,i,r);default:return(0,Rk.isPrimitiveTypeKind)(t)?this.typeBuilder.getPrimitiveType(t,i,r):t==="union"||t==="class"||t==="map"||t==="intersection"?(0,rr.panic)(`getMemberKinds() shouldn't return ${t}`):(0,rr.assertNever)(t)}}buildUnion(e,t,i,r){const s=e.getMemberKinds();if(e.lostTypeAttributes&&this.typeBuilder.setLostTypeAttributes(),s.size===1){const[[f,d]]=Array.from(s),p=(0,ir.combineTypeAttributes)("union",i,(0,ir.increaseTypeAttributesDistance)(d));return this.makeTypeOfKind(e,f,p,r)}const o=t?this.typeBuilder.getUniqueUnionType(i,void 0,r):void 0,a=[];for(const[f,d]of s)a.push(this.makeTypeOfKind(e,f,d,void 0));const c=new Set(a);return o!==void 0?(this.typeBuilder.setSetOperationMembers(o,c),o):this.typeBuilder.getUnionType(i,c,r)}}Rr.UnionBuilder=a4;Object.defineProperty(Vh,"__esModule",{value:!0});Vh.TypeInference=void 0;const Jy=ks(),gi=Tt,Su=Yt,jo=Ce,vu=rt(),l4=ur(),u4=et(),Pg=Rr,Vn=Hh;function d0(n,e){if(n.length!==0)if(Array.isArray(n[0]))for(const t of n)d0(t,e);else e(n)}function c4(n,e){d0(n,t=>{for(const i of t)e(i)})}class f4 extends Pg.UnionBuilder{constructor(e,t,i){super(e),this._typeInference=t,this._fixed=i}makeObject(e,t,i){return this._typeInference.inferClassType(t,e,this._fixed,i)}makeArray(e,t,i){return this.typeBuilder.getArrayType(t,this._typeInference.inferType(gi.emptyTypeAttributes,e,this._fixed,i))}}class d4{constructor(e,t,i,r){this._cjson=e,this._typeBuilder=t,this._inferMaps=i,this._inferEnums=r}addValuesToAccumulator(e,t){c4(e,i=>{const r=(0,Vn.valueTag)(i);switch(r){case Vn.Tag.Null:t.addPrimitive("null",gi.emptyTypeAttributes);break;case Vn.Tag.False:case Vn.Tag.True:t.addPrimitive("bool",gi.emptyTypeAttributes);break;case Vn.Tag.Integer:t.addPrimitive("integer",gi.emptyTypeAttributes);break;case Vn.Tag.Double:t.addPrimitive("double",gi.emptyTypeAttributes);break;case Vn.Tag.InternedString:if(this._inferEnums){const s=this._cjson.getStringForValue(i);t.addStringCase(s,1,gi.emptyTypeAttributes)}else t.addStringType("string",gi.emptyTypeAttributes);break;case Vn.Tag.UninternedString:t.addStringType("string",gi.emptyTypeAttributes);break;case Vn.Tag.Object:t.addObject(this._cjson.getObjectForValue(i),gi.emptyTypeAttributes);break;case Vn.Tag.Array:t.addArray(this._cjson.getArrayForValue(i),gi.emptyTypeAttributes);break;case Vn.Tag.StringFormat:{const s=this._cjson.getStringFormatTypeKind(i);t.addStringType("string",gi.emptyTypeAttributes,new Jy.StringTypes(new Map,new Set([s])));break}case Vn.Tag.TransformedString:{const s=this._cjson.getStringForValue(i),o=(0,Jy.inferTransformedStringTypeKindForString)(s,this._cjson.dateTimeRecognizer);if(o===void 0)return(0,jo.panic)("TransformedString does not have a kind");const a=(0,jo.defined)(vu.transformedStringTypeTargetTypeKindsMap.get(o)).attributesProducer;if(a===void 0)return(0,jo.panic)("TransformedString does not have attribute producer");t.addStringType("string",a(s),new Jy.StringTypes(new Map,new Set([o])));break}default:return(0,jo.assertNever)(r)}})}inferType(e,t,i,r){const s=this.accumulatorForArray(t);return this.makeTypeFromAccumulator(s,e,i,r)}resolveRef(e,t){if(!e.startsWith("#/"))return(0,Su.messageError)("InferenceJSONReferenceNotRooted",{reference:e});const i=e.split("/").slice(1),r=this._typeBuilder.typeGraph;let s=t;for(const o of i){let a=(0,l4.derefTypeRef)(s,r);if(a instanceof vu.UnionType){const c=(0,u4.nullableFromUnion)(a);if(c===null)return(0,Su.messageError)("InferenceJSONReferenceToUnion",{reference:e});a=c}if(a instanceof vu.ClassType){const c=a.getProperties().get(o);if(c===void 0)return(0,Su.messageError)("InferenceJSONReferenceWrongProperty",{reference:e});s=c.typeRef}else if(a instanceof vu.MapType)s=a.values.typeRef;else if(a instanceof vu.ArrayType){if(/^[0-9]+$/.exec(o)===null)return(0,Su.messageError)("InferenceJSONReferenceInvalidArrayIndex",{reference:e});s=a.items.typeRef}else return(0,Su.messageError)("InferenceJSONReferenceWrongProperty",{reference:e})}return s}inferTopLevelType(e,t,i){(0,jo.assert)(this._refIntersections===void 0,"Didn't reset ref intersections - nested invocations?"),this._cjson.handleRefs&&(this._refIntersections=[]);const r=this.inferType(e,t,i);if(this._cjson.handleRefs){for(const[s,o]of(0,jo.defined)(this._refIntersections)){const a=o.map(c=>this.resolveRef(c,r));this._typeBuilder.setSetOperationMembers(s,new Set(a))}this._refIntersections=void 0}return r}accumulatorForArray(e){const t=new Pg.UnionAccumulator(!0);return this.addValuesToAccumulator(e,t),t}makeTypeFromAccumulator(e,t,i,r){return new f4(this._typeBuilder,this,i).buildUnion(e,!1,t,r)}inferClassType(e,t,i,r){const s=[],o={};if(d0(t,c=>{for(let f=0;f<c.length;f+=2){const d=this._cjson.getStringForValue(c[f]),p=c[f+1];Object.prototype.hasOwnProperty.call(o,d)||(s.push(d),o[d]=[]),o[d].push(p)}}),this._cjson.handleRefs&&s.length===1&&s[0]==="$ref"){const c=o.$ref;if(c.every(f=>(0,Vn.valueTag)(f)===Vn.Tag.InternedString)){const f=c.map(p=>this._cjson.getStringForValue(p)),d=this._typeBuilder.getUniqueIntersectionType(e,void 0);return(0,jo.defined)(this._refIntersections).push([d,f]),d}}if(this._inferMaps&&s.length>500){const c=new Pg.UnionAccumulator(!0);for(const d of s)this.addValuesToAccumulator(o[d],c);const f=this.makeTypeFromAccumulator(c,gi.emptyTypeAttributes,i);return this._typeBuilder.getMapType(e,f,r)}const a=new Map;for(const c of s){const f=o[c],d=this.inferType(gi.emptyTypeAttributes,f,!1),p=f.length<t.length;a.set(c,this._typeBuilder.makeClassProperty(d,p))}return i?this._typeBuilder.getUniqueClassType(e,!0,a,r):this._typeBuilder.getClassType(e,a,r)}}Vh.TypeInference=d4;var Iu=Ee&&Ee.__awaiter||function(n,e,t,i){function r(s){return s instanceof t?s:new t(function(o){o(s)})}return new(t||(t=Promise))(function(s,o){function a(d){try{f(i.next(d))}catch(p){o(p)}}function c(d){try{f(i.throw(d))}catch(p){o(p)}}function f(d){d.done?s(d.value):r(d.value).then(a,c)}f((i=i.apply(n,e||[])).next())})};Object.defineProperty(hs,"__esModule",{value:!0});hs.InputData=hs.jsonInputForTargetLanguage=hs.JSONInput=void 0;const zo=Ve,h4=Nh(),p4=co,m4=ml,y4=Yt,Kh=Ce,g4=Hh,b4=Vh;function Aw(n,e,t){return(0,y4.messageError)("MiscJSONParseError",{description:(0,zo.withDefault)(e,"input"),address:n,message:(0,Kh.errorMessage)(t)})}class Bk{constructor(e){this._compressedJSON=e,this.kind="json",this.needIR=!0,this.needSchemaProcessing=!1,this._topLevels=new Map}addSample(e,t){let i=this._topLevels.get(e);i===void 0&&(i={samples:[],description:void 0},this._topLevels.set(e,i)),i.samples.push(t)}setDescription(e,t){let i=this._topLevels.get(e);if(i===void 0)return(0,Kh.panic)("Trying to set description for a top-level that doesn't exist");i.description=t}addSamples(e,t,i){for(const r of t)this.addSample(e,r),i!==void 0&&this.setDescription(e,i)}addSource(e){return Iu(this,void 0,void 0,function*(){const{name:t,samples:i,description:r}=e;try{const s=yield(0,zo.arrayMapSync)(i,o=>Iu(this,void 0,void 0,function*(){return yield this._compressedJSON.parse(o)}));this.addSamples(t,s,r)}catch(s){return Aw(t,r,s)}})}addSourceSync(e){const{name:t,samples:i,description:r}=e;try{const s=i.map(o=>this._compressedJSON.parseSync(o));this.addSamples(t,s,r)}catch(s){return Aw(t,r,s)}}singleStringSchemaSource(){}addTypes(e,t,i,r,s){return Iu(this,void 0,void 0,function*(){this.addTypesSync(e,t,i,r,s)})}addTypesSync(e,t,i,r,s){const o=new b4.TypeInference(this._compressedJSON,t,i,r);for(const[a,{samples:c,description:f}]of this._topLevels){const d=o.inferTopLevelType((0,p4.makeNamesTypeAttributes)(a,!1),c,s);if(t.addTopLevel(a,d),f!==void 0){const p=h4.descriptionTypeAttributeKind.makeAttributes(new Set([f]));t.addAttributes(d,p)}}}}hs.JSONInput=Bk;function T4(n,e,t=!1){typeof n=="string"&&(n=(0,Kh.defined)((0,m4.languageNamed)(n,e)));const i=new g4.CompressedJSONFromString(n.dateTimeRecognizer,t);return new Bk(i)}hs.jsonInputForTargetLanguage=T4;class S4{constructor(){this._inputs=new Set}addInput(e){this._inputs=this._inputs.add(e)}getOrAddInput(e,t){let i=(0,zo.iterableFind)(this._inputs,r=>r.kind===e);return i===void 0&&(i=t(),this.addInput(i)),i}addSource(e,t,i){return Iu(this,void 0,void 0,function*(){yield this.getOrAddInput(e,i).addSource(t)})}addSourceSync(e,t,i){this.getOrAddInput(e,i).addSourceSync(t)}addTypes(e,t,i,r,s){return Iu(this,void 0,void 0,function*(){for(const o of this._inputs)yield o.addTypes(e,t,i,r,s)})}addTypesSync(e,t,i,r,s){for(const o of this._inputs)o.addTypesSync(e,t,i,r,s)}get needIR(){return(0,zo.iterableSome)(this._inputs,e=>e.needIR)}get needSchemaProcessing(){return(0,zo.iterableSome)(this._inputs,e=>e.needSchemaProcessing)}singleStringSchemaSource(){const e=(0,zo.setFilterMap)(this._inputs,t=>t.singleStringSchemaSource());return e.size>1?(0,Kh.panic)("We have more than one input with a string schema source"):(0,zo.iterableFirst)(e)}}hs.InputData=S4;var Zh={};Object.defineProperty(Zh,"__esModule",{value:!0});Zh.makeTransformations=void 0;const Qo=Ve,h0=rc,uo=ks(),fs=Tt,us=Ce,Xt=Ns,Cr=rt(),v4=ur();function Rl(n,e,t,i){const r=new Xt.Transformation(n,e,t);return i&&(console.log(`transformation for ${(0,v4.typeRefIndex)(e)}:`),r.debugPrint(),console.log("reverse:"),r.reverse.debugPrint()),Xt.transformationTypeAttributeKind.makeAttributes(r)}function Dk(n,e,t,i){const s=Array.from(e.cases).sort().map(o=>new Xt.StringMatchTransformer(n,t,new Xt.StringProducerTransformer(n,t,i,o),o));return new Xt.ChoiceTransformer(n,t,s)}function _4(n,e,t,i,r){const s=e.typeGraph;(0,us.assert)(n.members.size>0,"We can't have empty unions");let o=fs.emptyTypeAttributes;function a(j){if((0,Cr.isPrimitiveStringTypeKind)(j.kind)){const ne=(0,Cr.targetTypeKindForTransformedStringTypeKind)(j.kind);if(ne!==void 0){const se=n.findMember(ne);return o=(0,fs.combineTypeAttributes)("union",o,j.getAttributes()),se!==void 0?e.reconstituteType(se):e.getPrimitiveType(ne)}}return e.reconstituteType(j)}const c=(0,Qo.mapMapEntries)(n.members.entries(),j=>[j.kind,a(j)]),f=new Set(c.values()),d=f.size>1;d||e.setLostTypeAttributes();const p=d?e.getUnionType(n.getAttributes(),f):(0,us.defined)((0,Qo.iterableFirst)(f));function y(j){return(0,us.defined)(c.get(j))}function h(j){if(d)return new Xt.UnionInstantiationTransformer(s,j)}function S(j){if(n.findMember(j)===void 0)return;const se=y(j);return new Xt.DecodingTransformer(s,se,h(se))}let m;function v(){return m===void 0&&(m=e.getStringType(fs.emptyTypeAttributes,uo.StringTypes.unrestricted)),m}function C(j){const ne=y(j.kind);if(j.kind==="string"){const se=(0,h0.minMaxLengthForType)(j);if(se===void 0)return h(ne);const[re,T]=se;return new Xt.MinMaxLengthCheckTransformer(s,v(),h(ne),re,T)}else return j instanceof Cr.EnumType&&i.has(j)?Dk(s,j,v(),h(ne)):new Xt.ParseStringTransformer(s,v(),h(ne))}const U=(0,Qo.arraySortByInto)(Array.from(n.stringTypeMembers),j=>j.kind);let x;if(U.length===0)x=void 0;else if(U.length===1){const j=U[0];x=new Xt.DecodingTransformer(s,v(),C(j))}else x=new Xt.DecodingTransformer(s,v(),new Xt.ChoiceTransformer(s,v(),U.map(j=>(0,us.defined)(C(j)))));const J=S("class"),D=S("map");(0,us.assert)(J===void 0||D===void 0,"Can't have both class and map in a transformed union");const K=J??D,X=new Xt.DecodingChoiceTransformer(s,e.getPrimitiveType("any"),S("null"),S("integer"),S("double"),S("bool"),x,S("array"),K),E=Rl(s,p,X,r);return e.getPrimitiveType("any",(0,fs.combineTypeAttributes)("union",E,o),t)}function w4(n,e,t,i){const r=e.getPrimitiveType("any"),s=e.getArrayType(fs.emptyTypeAttributes,r),o=e.reconstituteType(n.items),a=new Xt.ArrayDecodingTransformer(e.typeGraph,s,void 0,o,new Xt.DecodingTransformer(e.typeGraph,r,void 0)),c=e.getArrayType(e.reconstituteTypeAttributes(n.getAttributes()),o),f=Rl(e.typeGraph,c,a,i);return e.getArrayType(f,r,t)}function L4(n,e,t,i){const r=e.getStringType(fs.emptyTypeAttributes,uo.StringTypes.unrestricted),s=new Xt.DecodingTransformer(e.typeGraph,r,Dk(e.typeGraph,n,r)),o=e.getEnumType(n.getAttributes(),n.cases),a=Rl(e.typeGraph,o,s,i);return e.getStringType(a,uo.StringTypes.unrestricted,t)}function N4(n,e,t,i){const r=e.getStringType(fs.emptyTypeAttributes,uo.StringTypes.unrestricted),[s,o]=(0,us.defined)((0,h0.minMaxValueForType)(n)),a=new Xt.DecodingTransformer(e.typeGraph,r,new Xt.MinMaxValueTransformer(e.typeGraph,r,void 0,s,o)),c=e.reconstituteTypeAttributes(n.getAttributes()),f=Rl(e.typeGraph,e.getPrimitiveType("double",c,void 0),a,i);return e.getPrimitiveType("double",f,t)}function k4(n,e,t,i){const[r,s]=(0,us.defined)((0,h0.minMaxLengthForType)(n)),o=e.reconstituteTypeAttributes(n.getAttributes()),a=e.getStringType(fs.emptyTypeAttributes,uo.StringTypes.unrestricted),c=new Xt.DecodingTransformer(e.typeGraph,a,new Xt.MinMaxLengthCheckTransformer(e.typeGraph,a,void 0,r,s)),f=Rl(e.typeGraph,e.getStringType(o,void 0),c,i);return e.getStringType(f,uo.StringTypes.unrestricted,t)}function O4(n,e,t,i,r){const s=t.reconstituteTypeAttributes(n.getAttributes()),o=(0,Qo.withDefault)((0,Cr.targetTypeKindForTransformedStringTypeKind)(e),e),a=t.getStringType(fs.emptyTypeAttributes,uo.StringTypes.unrestricted),c=new Xt.DecodingTransformer(t.typeGraph,a,new Xt.ParseStringTransformer(t.typeGraph,a,void 0)),f=Rl(t.typeGraph,t.getPrimitiveType(o,s),c,r);return t.getStringType(f,uo.StringTypes.unrestricted,i)}function E4(n,e,t){const i=(0,Qo.setFilter)(e.allTypesUnordered(),o=>{if(t.needsTransformerForType(o))return!0;if(!(o instanceof Cr.UnionType))return!1;const a=o.stringTypeMembers;return a.size<=1?!1:(0,Qo.iterableSome)(a,c=>t.needsTransformerForType(c))});function r(o,a,c){const f=(0,us.defined)((0,Qo.iterableFirst)(o));return f instanceof Cr.UnionType?_4(f,a,c,i,n.debugPrintTransformations):f instanceof Cr.ArrayType?w4(f,a,c,n.debugPrintTransformations):f instanceof Cr.EnumType?L4(f,a,c,n.debugPrintTransformations):f.kind==="string"?k4(f,a,c,n.debugPrintTransformations):(0,Cr.isNumberTypeKind)(f.kind)?N4(f,a,c,n.debugPrintTransformations):(0,Cr.isPrimitiveStringTypeKind)(f.kind)?O4(f,f.kind,a,c,n.debugPrintTransformations):(0,us.panic)(`Cannot make transformation for type ${f.kind}`)}const s=Array.from(i).map(o=>[o]);return e.rewrite("make-transformations",n.stringTypeMapping,!1,s,n.debugPrintReconstitution,r)}Zh.makeTransformations=E4;var Qh={},jr={};Object.defineProperty(jr,"__esModule",{value:!0});jr.unifyTypes=jr.unionBuilderForUnification=jr.UnifyUnionBuilder=void 0;const Xd=Ve,Uk=Tt,il=Ce,C4=rt(),xk=ur(),A4=et(),Jk=Rr;function F4(n,e,t){let i=!1,r=new Set;for(const d of n)(0,Xd.setUnionInto)(r,d.getProperties().keys());let s=Array.from(r).map(d=>[d,new Set,!1]),o;for(const d of n){let p=d.getAdditionalProperties();p!==void 0&&(o===void 0&&(o=new Set),p!==void 0&&o.add(p));for(let y=0;y<s.length;y++){let[h,S,m]=s[y];const v=d.getProperties().get(h);v===void 0?(m=!0,p!==void 0&&p.kind!=="any"&&S.add(p)):(v.isOptional&&(m=!0),S.add(v.type)),s[y][2]=m}}const a=o===void 0?void 0:t(o),c=s.map(([d,p,y])=>[d,e.makeClassProperty(t(p),y)]);return[new Map(c),a,i]}function P4(n){let e=!1,t=!1,i=!1;for(const r of n){r.getProperties().size>0&&(e=!0);const s=r.getAdditionalProperties();s!==void 0&&(t=!0,s.kind!=="any"&&(i=!0))}return{hasProperties:e,hasAdditionalProperties:t,hasNonAnyAdditionalProperties:i}}class zk extends Jk.UnionBuilder{constructor(e,t,i,r){super(e),this._makeObjectTypes=t,this._makeClassesFixed=i,this._unifyTypes=r}makeObject(e,t,i){const r=this.typeBuilder.lookupTypeRefs(e,i);if(r!==void 0)return(0,il.assert)(i===void 0||r===i,"The forwarding ref must be consumed"),this.typeBuilder.addAttributes(r,t),r;if(e.length===1)return this.typeBuilder.reconstituteTypeRef(e[0],t,i);const s=e.map(f=>(0,A4.assertIsObject)((0,xk.derefTypeRef)(f,this.typeBuilder))),{hasProperties:o,hasAdditionalProperties:a,hasNonAnyAdditionalProperties:c}=P4(s);if(!this._makeObjectTypes&&(c||!o&&a)){const f=new Set;for(const p of s)(0,Xd.setUnionInto)(f,Array.from(p.getProperties().values()).map(y=>y.typeRef));const d=new Set(s.filter(p=>p.getAdditionalProperties()!==void 0).map(p=>(0,il.defined)(p.getAdditionalProperties()).typeRef));return(0,Xd.setUnionInto)(f,d),this.typeBuilder.getMapType(t,this._unifyTypes(Array.from(f)))}else{const[f,d,p]=F4(s,this.typeBuilder,y=>((0,il.assert)(y.size>0,"Property has no type"),this._unifyTypes(Array.from(y).map(h=>h.typeRef))));return p&&this.typeBuilder.setLostTypeAttributes(),this._makeObjectTypes?this.typeBuilder.getUniqueObjectType(t,f,d,i):((0,il.assert)(d===void 0,"We have additional properties but want to make a class"),this.typeBuilder.getUniqueClassType(t,this._makeClassesFixed,f,i))}}makeArray(e,t,i){return this.typeBuilder.getArrayType(t,this._unifyTypes(e),i)}}jr.UnifyUnionBuilder=zk;function Wk(n,e,t,i){return new zk(n,e,t,r=>Gk(new Set(r.map(s=>(0,xk.derefTypeRef)(s,n))),Uk.emptyTypeAttributes,n,Wk(n,e,t,i),i))}jr.unionBuilderForUnification=Wk;function Gk(n,e,t,i,r,s){if(e=t.reconstituteTypeAttributes(e),n.size===0)return(0,il.panic)("Cannot unify empty set of types");if(n.size===1){const d=(0,il.defined)((0,Xd.iterableFirst)(n));if(!(d instanceof C4.UnionType))return t.reconstituteTypeRef(d.typeRef,e,s)}const o=Array.from(n).map(d=>d.typeRef),a=t.lookupTypeRefs(o,s);if(a!==void 0)return t.addAttributes(a,e),a;const c=new Jk.TypeRefUnionAccumulator(r),f=t.reconstituteTypeAttributes(c.addTypes(n));return e=(0,Uk.combineTypeAttributes)("union",e,f),t.withForwardingRef(s,d=>(t.registerUnion(o,d),i.buildUnion(c,!1,e,d)))}jr.unifyTypes=Gk;Object.defineProperty(Qh,"__esModule",{value:!0});Qh.combineClasses=void 0;const Mg=Ce,qk=rt(),Ig=et(),Fw=jr,zy=3/4;function M4(n,e){return(0,qk.setOperationCasesEqual)(n,e,!0,(t,i)=>t.structurallyCompatible(i,!0))}function I4(n,e,t){const i=n.getProperties(),r=e.getProperties();if(t){if(i.size!==r.size)return!1}else if(i.size<r.size*zy||r.size<i.size*zy)return!1;let s,o;i.size>r.size?(s=i,o=r):(s=r,o=i);let a;if(t)a=0;else{const d=Math.ceil(s.size*zy);a=o.size-d}(0,Mg.assert)(a>=0,"Max faults negative");const c=[];let f=0;for(const[d]of o)if(s.has(d))c.push(d);else if(f+=1,f>a)break;if(f>a)return!1;for(const d of c){let p=o.get(d),y=s.get(d);if(p===void 0||y===void 0)return(0,Mg.panic)(`Both classes should have property ${d}`);const h=(0,Ig.nonNullTypeCases)(p.type),S=(0,Ig.nonNullTypeCases)(y.type);if(h.size>0&&S.size>0&&!M4(h,S))return!1}return!0}function R4(n,e,t){for(const i of e.prototypes)if(i.structurallyCompatible(n))return e.members.push(n),!0;for(const i of e.prototypes)if(I4(i,n,t))return e.prototypes.push(n),e.members.push(n),!0;return!1}function j4(n,e,t){const i=Array.from(n.allNamedTypesSeparated().objects).filter(s=>s instanceof qk.ClassType&&(t||!s.isFixed)),r=[];for(const s of i){let o;for(let c=0;c<r.length;c++)if(R4(s,r[c],e)){o=c;break}o===void 0&&(o=r.length,r.push({members:[s],prototypes:[s]}));const a=r[0];r[0]=r[o],r[o]=a}return r.map(s=>s.members).filter(s=>s.length>1)}function B4(n,e,t,i,r,s){const o=n.time(" find similarity cliques",()=>j4(e,r,!1));function a(c,f,d){(0,Mg.assert)(c.size>0,"Clique can't be empty");const p=(0,Ig.combineTypeAttributesOfTypes)("union",c);return(0,Fw.unifyTypes)(c,p,f,(0,Fw.unionBuilderForUnification)(f,!1,!1,i),i,d)}return e.rewrite("combine classes",n.stringTypeMapping,t,o,s,a)}Qh.combineClasses=B4;var Xh={};Object.defineProperty(Xh,"__esModule",{value:!0});Xh.expandStrings=void 0;const Lr=Ve,Pw=ks(),D4=Tt,Hs=Ce,Wy=et(),U4=10,x4=5,J4=3/4;function z4({numValues:n,cases:e}){return n>=U4&&e.size<Math.sqrt(n)}function W4(n,e,t){const i=t?n.size:Math.min(n.size,e.size);return(0,Lr.setIntersect)(n,e).size>=i*J4}function Mw(n){return n.length===1&&n[0]===""}function G4(n,e,t){const i=n.stringTypeMapping,r=Array.from(e.allTypesUnordered()).filter(f=>f.kind==="string"&&(0,Wy.stringTypesForType)(f).isRestricted);function s(f){const p=(0,Wy.stringTypesForType)(f).applyStringTypeMapping(i);if(!p.isRestricted)return;const y=(0,Hs.defined)(p.cases);if(y.size===0)return;const h=(0,Lr.iterableReduce)(y.values(),0,(S,m)=>S+m);if(t!=="all"){const S=Array.from(y.keys());if(Mw(S)||!(0,Lr.iterableSome)(S,v=>/^[-+]?[0-9]+(\.[0-9]+)?$/.test(v)===!1))return}return{cases:new Set(y.keys()),numValues:h}}const o=new Map,a=[];if(t!=="none"){let f=function(d,p){return a.findIndex(y=>W4(d,y,p))};for(const d of r){const p=s(d);p!==void 0&&o.set(d,p)}for(const d of Array.from(o.keys())){const p=(0,Hs.defined)(o.get(d)),y=p.cases;if(t==="all")a.push(y);else{if(!z4(p))continue;const h=f(y,!1);h>=0?a[h]=(0,Lr.setUnion)(a[h],y):a.push(y)}o.delete(d)}t==="all"&&(0,Hs.assert)(o.size===0);for(const[,d]of o.entries()){if(d.numValues<x4)continue;const p=f(d.cases,!0);p>=0&&(a[p]=(0,Lr.setUnion)(a[p],d.cases))}}function c(f,d,p){(0,Hs.assert)(f.size===1);const y=(0,Hs.defined)((0,Lr.iterableFirst)(f)),h=(0,Wy.stringTypesForType)(y),S=(0,Lr.mapFilter)(y.getAttributes(),J=>J!==h),m=h.applyStringTypeMapping(i);if(!m.isRestricted)return d.getStringType(S,Pw.StringTypes.unrestricted,p);const v=t==="all"?Lr.areEqual:Lr.setIsSuperset,C=[],U=(0,Hs.defined)(m.cases);if(U.size>0){const J=new Set(U.keys()),D=a.find(K=>v(K,J));if(t!=="none"&&!Mw(Array.from(J))&&D!==void 0)C.push(d.getEnumType(D4.emptyTypeAttributes,D));else return d.getStringType(S,Pw.StringTypes.unrestricted,p)}const x=m.transformations;if(C.length===0&&x.size===1){const J=(0,Hs.defined)((0,Lr.iterableFirst)(x));return d.getPrimitiveType(J,S,p)}return C.push(...Array.from(x).map(J=>d.getPrimitiveType(J))),(0,Hs.assert)(C.length>0,"We got an empty string type"),d.getUnionType(S,new Set(C),p)}return e.rewrite("expand strings",i,!1,r.map(f=>[f]),n.debugPrintReconstitution,c)}Xh.expandStrings=G4;var Yh={};Object.defineProperty(Yh,"__esModule",{value:!0});Yh.flattenStrings=void 0;const q4=Ve,H4=Tt,Rd=Ce,Hk=et();function Vk(n){const e=n.stringTypeMembers;if(e.size<=1)return;const t=n.findMember("string");if(t!==void 0)return(0,Rd.assert)(!(0,Hk.stringTypesForType)(t).isRestricted,"We must only flatten strings if we have no restriced strings"),e}function V4(n,e,t){(0,Rd.assert)(n.size===1);const i=(0,Rd.defined)((0,q4.iterableFirst)(n)),r=(0,Rd.defined)(Vk(i)),s=(0,Hk.combineTypeAttributesOfTypes)("union",r),o=[];for(const a of i.members)r.has(a)||o.push(e.reconstituteType(a));return o.length===0?e.getStringType((0,H4.combineTypeAttributes)("union",s,i.getAttributes()),void 0,t):(o.push(e.getStringType(s,void 0)),e.getUnionType(i.getAttributes(),new Set(o),t))}function K4(n,e,t){const i=n.allNamedTypesSeparated().unions,r=Array.from(i).filter(Vk).map(s=>[s]);return n.rewrite("flatten strings",e,!1,r,t,V4)}Yh.flattenStrings=K4;var $h={};Object.defineProperty($h,"__esModule",{value:!0});$h.flattenUnions=void 0;const Gy=Ve,Iw=Tt,Z4=Yt,Q4=Ce,Rw=rt(),X4=ur(),Y4=et(),jw=jr;function $4(n,e,t,i,r){let s=!1;function o(p,y,h){const S=new jw.UnifyUnionBuilder(y,i,!0,m=>((0,Q4.assert)(m.length>0,"Must have at least one type to build union"),m=m.map(v=>y.reconstituteType((0,X4.derefTypeRef)(v,n))),m.length===1?m[0]:(s=!0,y.getUnionType(Iw.emptyTypeAttributes,new Set(m)))));return(0,jw.unifyTypes)(p,Iw.emptyTypeAttributes,y,S,t,h)}const a=(0,Gy.setFilter)(n.allTypesUnordered(),p=>p instanceof Rw.UnionType),c=(0,Gy.setFilter)(a,p=>!p.isCanonical);let f=!1;const d=(0,Y4.makeGroupsToFlatten)(c,p=>((0,Z4.messageAssert)(p.size>0,"IRNoEmptyUnions",{}),(0,Gy.iterableSome)(p,y=>y instanceof Rw.IntersectionType)?(f=!0,!1):!0));return n=n.rewrite("flatten unions",e,!1,d,r,o),[n,!s&&!f]}$h.flattenUnions=$4;var ep={},Dn={},tp={};Object.defineProperty(tp,"__esModule",{value:!0});tp.encodedMarkovChain=void 0;tp.encodedMarkovChain="H4sICBHke1oCA21hcmtvdi5qc29uAOy9yW4jMbQl+C9vHQtezqxfafSi0OhFAw/VwEPVqtD/3jyHMYiOQRFSyGmbRGaGbVmWndbV5R3O8L//43/+1//zf//Hf/vf//F//b//63/8z//4b2r4j//+X//1H//t//gf/+s//3P4wZff9xN/9tdgvQut/iaCV0MQNXjRg9N6sMEMNn9sbByMtoMOftD59iYj5Lsu/+f/twSjeGNbDUaJLv+Lg/j81of8zwxiVf6Xb3P5X5D8fuoh823BaIJrNhhNyv9yEFqb/+WAzK9LMTkYXf6nFQNRdOgh823BiHTQajDqEmyicyDm47j8y9nR5LdKDzlpJtMD5ttCUeXfe6uhqPJBrPNBLDkUc6WY4y76IeUblWEsJt/D5bsCMSZpNQ4TMl8oEZeGFIaUuxg7xDCENATbI+XbYlCanSPkfiQaxFt+GeZKOYdk/hs0I7BnwW+LwGB9sxGYhmgRhFEx8BxSX9RDLpVdz4HfFoEuNJsDfU59arB6yC/CHH7O4Jb8vov42+PksxF4Zc6tjbimJ/6tXWLgpEpjkpVfi7k6tmmw+WQYMMsa8j+P2ZYMOndwku/sHG7MNYzOd8wtXT5Ryhf5Ifd2cq431hJ6lDU2tdcRf3MgSQ4XN2A0kONF5phxiMRBDKcG0wQf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weg4KRk9NMEFWrp0TNj4IkXWUuc9HBFvGskhUJ+UoKE876EfW0k6YCv1IlmwSKbTmJWz+7IIQtP2d1rsKbbYQH7DZYzsTkdlniHEBE7Y9O3Sv3/Rp2FZCYzqczH3fnSDaEL3vpii23Jd19XwVsW3H/TL/mptAt/epCllIW3T41iPvHmR3XRJdkwGvnqgrB/KggkPyc/7DJ3RkylCft0/eggVQsqbj+0US/wkOUSd/fITuMTX2zYIl0lo2mOPNk99o8KMCwzSsTh8dtpFhoMmw9Jhe+MbAINTrr8uMeQ6/3uMjZkwkYkN2CxOxMbbMuVS/dI///787/9f7KP//vEHg3kIvAaYHAA=";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.test=Dn.generate=Dn.evaluate=Dn.evaluateFull=Dn.load=Dn.train=void 0;const eJ=tp,ao=Ce;function Kk(){const n=[];for(let e=0;e<128;e++)n.push(null);return{count:0,arr:n}}function p0(n,e,t){if(t>=e.length)return n;let i=e.charCodeAt(t);i>=128&&(i=0);const r=n.arr[i];if(r!==null)return typeof r=="object"?p0(r,e,t+1):r/n.count}function Zk(n,e,t){let i=e.charCodeAt(t);if(i>=128&&(i=0),t>=e.length-1){if(typeof n!="object")return(0,ao.panic)("Malformed trie");let s=n.arr[i];if(s===null)s=0;else if(typeof s=="object")return(0,ao.panic)("Malformed trie");n.arr[i]=s+1,n.count+=1;return}let r=n.arr[i];if(r===null&&(n.arr[i]=r=Kk()),typeof r!="object")return(0,ao.panic)("Malformed trie");Zk(r,e,t+1)}function tJ(n,e){const t=Kk();for(const i of n)for(let r=e;r<=i.length;r++)Zk(t,i.slice(r-e,r),0);return{trie:t,depth:e}}Dn.train=tJ;function Qk(){return JSON.parse((0,ao.inflateBase64)(eJ.encodedMarkovChain))}Dn.load=Qk;function Xk(n,e){const{trie:t,depth:i}=n;if(e.length<i)return[1,[]];let r=1;const s=[];for(let o=i;o<=e.length;o++){let a=p0(t,e.slice(o-i,o),0);if(typeof a=="object")return(0,ao.panic)("Did we mess up the depth?");a===void 0&&(a=1e-4),s.push(a),r=r*a}return[Math.pow(r,1/(e.length-i+1)),s]}Dn.evaluateFull=Xk;function Yk(n,e){return Xk(n,e)[0]}Dn.evaluate=Yk;function Bw(n,e){const t=e-n;return n+Math.floor(Math.random()*t)}function nJ(n,e,t){(0,ao.assert)(e.length===n.depth-1,"State and chain length don't match up");const i=p0(n.trie,e,0);if(typeof i=="number")return(0,ao.panic)("Wrong depth?");if(i===void 0)return String.fromCharCode(Bw(32,127));const r=i.arr.map((c,f)=>c===null?f===0?0:t:c);let s=0;for(const c of r)s+=c;const o=Bw(0,s);let a=0;for(let c=0;c<r.length;c++)if(a+=r[c],o<a)return String.fromCharCode(c);return(0,ao.panic)("We screwed up bookkeeping, or randomInt")}Dn.generate=nJ;function un(n,e){console.log(`"${e}": ${Yk(n,e)}`)}function iJ(){const n=Qk();un(n,"url"),un(n,"json"),un(n,"my_property"),un(n,"ordinary"),un(n,"different"),un(n,"189512"),un(n,"2BTZIqw0ntH9MvilQ3ewNY"),un(n,"0uBTNdNGb2OY5lou41iYL52LcDq2"),un(n,"-KpqHmWuDOUnr1hmAhxp"),un(n,"granularity"),un(n,"coverage"),un(n,"postingFrequency"),un(n,"dataFrequency"),un(n,"units"),un(n,"datasetOwner"),un(n,"organization"),un(n,"timePeriod"),un(n,"contactInformation"),un(n,"🚾 🆒 🆓 🆕 🆖 🆗 🆙 🏧")}Dn.test=iJ;Object.defineProperty(ep,"__esModule",{value:!0});ep.inferMaps=void 0;const jd=Ve,Dw=Dn,Uw=Ce,Rg=rt(),rJ=et(),xw=jr,sJ=20,oJ=50;let qy;function aJ(n){return qy===void 0&&(qy=(0,Dw.load)()),(0,Dw.evaluate)(qy,n)}function Jw(n){const e=n.size;if(e<2)return;if((0,jd.iterableEvery)(n.keys(),s=>/^[0-9]+$/.test(s)))return(0,jd.setMap)(n.values(),s=>s.type);if(e<oJ&&(0,jd.iterableEvery)(n.values(),s=>(0,Rg.isPrimitiveStringTypeKind)(s.type.kind)||s.type.kind==="null"))return;if(e<sJ){const a=Array.from(n.keys()).map(aJ).reduce((y,h)=>y*h,1),c=Math.pow(a,1/e),f=5,d=Math.pow(22,f),p=Math.pow(e+2,f)/d+(.0025-Math.pow(3,f)/d);if(c>p)return}let t;const i=new Set;let r=!0;for(const[,s]of n){const o=(0,rJ.removeNullFromType)(s.type)[1];if(o.size>0)if(t!==void 0){if(!(0,Rg.setOperationCasesEqual)(o,t,!0,(a,c)=>a.structurallyCompatible(c,!0))){r=!1;break}}else t=o;i.add(s.type)}if(r)return i}function lJ(n,e,t,i){function r(o,a,c){const f=(0,Uw.defined)((0,jd.iterableFirst)(o)),d=f.getProperties(),p=Jw(d);return p===void 0?(0,Uw.panic)(`We shouldn't be replacing class ${f.getCombinedName()} with a map`):a.getMapType(f.getAttributes(),(0,xw.unifyTypes)(p,f.getAttributes(),a,(0,xw.unionBuilderForUnification)(a,!1,!1,t),t),c)}const s=Array.from(n.allNamedTypesSeparated().objects).filter(o=>o instanceof Rg.ClassType?!o.isFixed&&Jw(o.getProperties())!==void 0:!1);return n.rewrite("infer maps",e,!1,s.map(o=>[o]),i,r)}ep.inferMaps=lJ;var np={};Object.defineProperty(np,"__esModule",{value:!0});np.replaceObjectType=void 0;const Ka=Ve,uJ=Tt,zw=Ce;function cJ(n,e,t,i,r){function s(f,d,p){const y=(0,zw.defined)((0,Ka.iterableFirst)(f)),h=y.getAttributes(),S=y.getProperties(),m=y.getAdditionalProperties();function v(){return(0,Ka.mapMap)(S,D=>d.makeClassProperty(d.reconstituteTypeRef(D.typeRef),D.isOptional))}function C(){return d.getUniqueClassType(h,!0,v(),p)}function U(){return d.reconstituteType((0,zw.defined)(m))}if(m===void 0)return C();if(S.size===0)return d.getMapType(h,U(),p);if(m.kind==="any")return d.setLostTypeAttributes(),C();const x=(0,Ka.setMap)(S.values(),D=>D.type).add(m);let J=d.lookupTypeRefs(Array.from(x).map(D=>D.typeRef));if(J===void 0){const D=(0,Ka.setMap)(x,K=>d.reconstituteType(K));J=d.getUniqueUnionType(uJ.emptyTypeAttributes,new Set(D))}return d.getMapType(h,J,p)}const o=(0,Ka.setFilter)(n.allTypesUnordered(),f=>f.kind==="object"),a=i?(0,Ka.setFilter)(o,f=>f.getProperties().size===0||f.getAdditionalProperties()===void 0):o,c=Array.from(a).map(f=>[f]);return n.rewrite("replace object type",e,!1,c,r,s)}np.replaceObjectType=cJ;var ip={};Object.defineProperty(ip,"__esModule",{value:!0});ip.resolveIntersections=void 0;const rn=Ve,Kn=Tt,Zt=Ce,ji=rt(),Yd=et(),fJ=Rr;function dJ(n){const e=(0,Yd.setOperationMembersRecursively)(n,void 0)[0];return e.size<=1?!0:(0,rn.iterableEvery)(e,t=>!(t instanceof ji.UnionType)||t.isCanonical)}function hJ(n){return(0,rn.mapMapEntries)(n.entries(),e=>[e.kind,e.getAttributes()])}class pJ{constructor(){this._primitiveAttributes=new Map,this._arrayAttributes=Kn.emptyTypeAttributes,this._objectProperties=new Map,this._objectAttributes=Kn.emptyTypeAttributes,this._additionalPropertyTypes=new Set,this._lostTypeAttributes=!1}updatePrimitiveTypes(e){const t=(0,rn.setFilter)(e,o=>(0,ji.isPrimitiveTypeKind)(o.kind)),i=hJ(t);(0,rn.mapMergeWithInto)(this._primitiveAttributes,(o,a)=>(0,Kn.combineTypeAttributes)("intersect",o,a),i);const r=(0,rn.setMap)(t,o=>o.kind);if(this._primitiveTypes===void 0){this._primitiveTypes=new Set(r);return}const s=(0,rn.iterableFind)(this._primitiveTypes,ji.isNumberTypeKind)!==void 0&&(0,rn.iterableFind)(r,ji.isNumberTypeKind)!==void 0;this._primitiveTypes=(0,rn.setIntersect)(this._primitiveTypes,r),s&&(0,rn.iterableFind)(this._primitiveTypes,ji.isNumberTypeKind)===void 0&&(this._primitiveTypes=this._primitiveTypes.add("integer"))}updateArrayItemTypes(e){const t=(0,rn.iterableFind)(e,i=>i instanceof ji.ArrayType);if(t===void 0){this._arrayItemTypes=!1;return}this._arrayAttributes=(0,Kn.combineTypeAttributes)("intersect",this._arrayAttributes,t.getAttributes()),this._arrayItemTypes===void 0?this._arrayItemTypes=new Set:this._arrayItemTypes!==!1&&this._arrayItemTypes.add(t.items)}updateObjectProperties(e){const t=(0,rn.iterableFind)(e,s=>s instanceof ji.ObjectType);if(t===void 0){this._objectProperties=void 0,this._additionalPropertyTypes=void 0;return}this._objectAttributes=(0,Kn.combineTypeAttributes)("intersect",this._objectAttributes,t.getAttributes());const i=t.getAdditionalProperties();if(this._objectProperties===void 0){(0,Zt.assert)(this._additionalPropertyTypes===void 0);return}const r=(0,rn.setUnionInto)(new Set(this._objectProperties.keys()),t.getProperties().keys());for(const s of r){const o=(0,Zt.defined)(this._objectProperties).get(s),a=t.getProperties().get(s);if(o!==void 0&&a!==void 0){const c=new ji.GenericClassProperty(o.typeData.add(a.type),o.isOptional&&a.isOptional);(0,Zt.defined)(this._objectProperties).set(s,c)}else if(o!==void 0&&i!==void 0){const c=new ji.GenericClassProperty(o.typeData.add(i),o.isOptional);(0,Zt.defined)(this._objectProperties).set(s,c)}else if(o!==void 0)(0,Zt.defined)(this._objectProperties).delete(s);else if(a!==void 0&&this._additionalPropertyTypes!==void 0){const c=new Set(this._additionalPropertyTypes).add(a.type);(0,Zt.defined)(this._objectProperties).set(s,new ji.GenericClassProperty(c,a.isOptional))}else if(a!==void 0)(0,Zt.defined)(this._objectProperties).delete(s);else return(0,Zt.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(e){this.updatePrimitiveTypes(e),this.updateArrayItemTypes(e),this.updateObjectProperties(e)}addType(e){let t=e.getAttributes();return(0,Yd.matchTypeExhaustive)(e,i=>(0,Zt.panic)("There shouldn't be a none type"),i=>(0,Zt.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,Zt.panic)("We should never see class types in intersections"),i=>(0,Zt.panic)("We should never see map types in intersections"),i=>this.addUnionSet([i]),i=>(0,Zt.panic)("We should never see enum types in intersections"),i=>{t=(0,Kn.combineTypeAttributes)("intersect",[t].concat(Array.from(i.members).map(r=>r.getAttributes()))),this.addUnionSet(i.members)},i=>this.addUnionSet([i])),(0,Kn.makeTypeAttributesInferred)(t)}get arrayData(){return this._arrayItemTypes===void 0||this._arrayItemTypes===!1?(0,Zt.panic)("This should not be called if the type can't be an array"):this._arrayItemTypes}get objectData(){if(this._objectProperties===void 0){(0,Zt.assert)(this._additionalPropertyTypes===void 0);return}return[this._objectProperties,this._additionalPropertyTypes]}get enumCases(){return(0,Zt.panic)("We don't support enums in intersections")}getMemberKinds(){const e=(0,rn.mapMap)((0,Zt.defined)(this._primitiveTypes).entries(),i=>(0,Zt.defined)(this._primitiveAttributes.get(i))),t=this._primitiveAttributes.get("double");return t!==void 0&&!e.has("double")&&e.has("integer")&&(0,rn.mapUpdateInto)(e,"integer",i=>(0,Kn.combineTypeAttributes)("intersect",(0,Zt.defined)(i),t)),this._arrayItemTypes!==void 0&&this._arrayItemTypes!==!1?e.set("array",this._arrayAttributes):this._arrayAttributes.size>0&&(this._lostTypeAttributes=!0),this._objectProperties!==void 0?e.set("object",this._objectAttributes):this._objectAttributes.size>0&&(this._lostTypeAttributes=!0),e}get lostTypeAttributes(){return this._lostTypeAttributes}}class mJ extends fJ.UnionBuilder{constructor(){super(...arguments),this._createdNewIntersections=!1}makeIntersection(e,t){const i=(0,rn.setMap)(e,s=>this.typeBuilder.reconstituteTypeRef(s.typeRef)),r=(0,Zt.defined)((0,rn.iterableFirst)(i));return i.size===1?(this.typeBuilder.addAttributes(r,t),r):(this._createdNewIntersections=!0,this.typeBuilder.getUniqueIntersectionType(t,i))}get createdNewIntersections(){return this._createdNewIntersections}makeObject(e,t,i){if(e===void 0)return(0,Zt.panic)("Either properties or additional properties must be given to make an object type");const[r,s]=e,o=(0,rn.mapMap)(r,c=>this.typeBuilder.makeClassProperty(this.makeIntersection(c.typeData,Kn.emptyTypeAttributes),c.isOptional)),a=s===void 0?void 0:this.makeIntersection(s,Kn.emptyTypeAttributes);return this.typeBuilder.getUniqueObjectType(t,o,a,i)}makeArray(e,t,i){const r=this.makeIntersection(e,Kn.emptyTypeAttributes);return this.typeBuilder.getArrayType(t,r,i)}}function yJ(n,e,t){let i=!1;function r(c,f,d){const p=(0,rn.setFilter)(c,x=>x instanceof ji.IntersectionType),[y,h]=(0,Yd.setOperationMembersRecursively)(Array.from(p),"intersect");if(y.size===0)return f.getPrimitiveType("any",h,d);if(y.size===1)return f.reconstituteType((0,Zt.defined)((0,rn.iterableFirst)(y)),h,d);const S=new pJ,m=(0,Kn.makeTypeAttributesInferred)((0,Kn.combineTypeAttributes)("intersect",Array.from(y).map(x=>S.addType(x)))),v=(0,Kn.combineTypeAttributes)("intersect",h,m),C=new mJ(f),U=C.buildUnion(S,!0,v,d);return C.createdNewIntersections&&(i=!0),U}const s=(0,rn.setFilter)(n.allTypesUnordered(),c=>c instanceof ji.IntersectionType),o=(0,rn.setFilter)(s,dJ),a=(0,Yd.makeGroupsToFlatten)(o,void 0);return n=n.rewrite("resolve intersections",e,!1,a,t,r),[n,!i&&s.size===o.size]}ip.resolveIntersections=yJ;(function(n){var e=Ee&&Ee.__createBinding||(Object.create?function(L,M,z,q){q===void 0&&(q=z);var H=Object.getOwnPropertyDescriptor(M,z);(!H||("get"in H?!M.__esModule:H.writable||H.configurable))&&(H={enumerable:!0,get:function(){return M[z]}}),Object.defineProperty(L,q,H)}:function(L,M,z,q){q===void 0&&(q=z),L[q]=M[z]}),t=Ee&&Ee.__setModuleDefault||(Object.create?function(L,M){Object.defineProperty(L,"default",{enumerable:!0,value:M})}:function(L,M){L.default=M}),i=Ee&&Ee.__importStar||function(L){if(L&&L.__esModule)return L;var M={};if(L!=null)for(var z in L)z!=="default"&&Object.prototype.hasOwnProperty.call(L,z)&&e(M,L,z);return t(M,L),M},r=Ee&&Ee.__awaiter||function(L,M,z,q){function H($){return $ instanceof z?$:new z(function(fe){fe($)})}return new(z||(z=Promise))(function($,fe){function I(Y){try{F(q.next(Y))}catch(de){fe(de)}}function W(Y){try{F(q.throw(Y))}catch(de){fe(de)}}function F(Y){Y.done?$(Y.value):H(Y.value).then(I,W)}F((q=q.apply(L,M||[])).next())})};Object.defineProperty(n,"__esModule",{value:!0}),n.quicktype=n.combineRenderResults=n.quicktypeMultiFileSync=n.quicktypeMultiFile=n.defaultInferenceFlags=n.inferenceFlags=n.inferenceFlagNames=n.inferenceFlagsObject=n.getTargetLanguage=void 0;const s=Ve,o=co,a=_h,c=hs,f=i(ml),d=Zh,p=Yt,y=Qh,h=Xh,S=Yh,m=$h,v=ep,C=np,U=ip,x=Ce,J=Al(),D=ur();function K(L){if(typeof L=="object")return L;const M=f.languageNamed(L);return M!==void 0?M:(0,p.messageError)("DriverUnknownOutputLanguage",{lang:L})}n.getTargetLanguage=K,n.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,
|
|
1008
|
+
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.
|
|
1009
|
+
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.
|
|
1010
|
+
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,
|
|
1011
|
+
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
|
|
1012
|
+
'{ $ref: "#/foo/bar" }' to refer
|
|
1013
|
+
to another part of the input.`,order:8}},n.inferenceFlagNames=Object.getOwnPropertyNames(n.inferenceFlagsObject),n.inferenceFlags=n.inferenceFlagsObject;const X={lang:"ts",inputData:new c.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 E(){const L={};for(const M of n.inferenceFlagNames)L[M]=!0;return L}n.defaultInferenceFlags=E();class j{constructor(M){this._options=Object.assign({},X,n.defaultInferenceFlags);for(const z of Object.getOwnPropertyNames(M)){const q=M[z];q!==void 0&&(this._options[z]=q)}}get stringTypeMapping(){const M=K(this._options.lang),z=new Map(M.stringTypeMapping);for(const q of n.inferenceFlagNames){const H=n.inferenceFlags[q].stringType;!this._options[q]&&H!==void 0&&z.set(H,"string")}return z}get debugPrintReconstitution(){return this._options.debugPrintReconstitution===!0}get debugPrintTransformations(){return this._options.debugPrintTransformations}get debugPrintSchemaResolving(){return this._options.debugPrintSchemaResolving}timeSync(M,z){return r(this,void 0,void 0,function*(){const q=Date.now(),H=yield z(),$=Date.now();return this._options.debugPrintTimes&&console.log(`${M} took ${$-q}ms`),H})}time(M,z){const q=Date.now(),H=z(),$=Date.now();return this._options.debugPrintTimes&&console.log(`${M} took ${$-q}ms`),H}makeGraphInputs(){const M=K(this._options.lang),z=this.stringTypeMapping,q=!M.supportsUnionsWithBothNumberTypes,H=new J.TypeBuilder(0,z,this._options.alphabetizeProperties,this._options.allPropertiesOptional,this._options.checkProvenance,!1);return{targetLanguage:M,stringTypeMapping:z,conflateNumbers:q,typeBuilder:H}}makeGraph(M){return r(this,void 0,void 0,function*(){const z=this.makeGraphInputs();return yield this.timeSync("read input",()=>r(this,void 0,void 0,function*(){return yield M.addTypes(this,z.typeBuilder,this._options.inferMaps,this._options.inferEnums,this._options.fixedTopLevels)})),this.processGraph(M,z)})}makeGraphSync(M){const z=this.makeGraphInputs();return this.time("read input",()=>M.addTypesSync(this,z.typeBuilder,this._options.inferMaps,this._options.inferEnums,this._options.fixedTopLevels)),this.processGraph(M,z)}processGraph(M,z){const{targetLanguage:q,stringTypeMapping:H,conflateNumbers:$,typeBuilder:fe}=z;let I=fe.finish();this._options.debugPrintGraph&&(I.setPrintOnRewrite(),I.printGraph());const W=this.debugPrintReconstitution;(fe.didAddForwardingIntersection||!this._options.ignoreJsonRefs)&&this.time("remove indirection intersections",()=>I=(0,D.removeIndirectionIntersections)(I,H,W));let F=!1;if(M.needSchemaProcessing||!this._options.ignoreJsonRefs){let de=!1;do{const ve=I;de||this.time("resolve intersections",()=>[I,de]=(0,U.resolveIntersections)(I,H,W)),F||this.time("flatten unions",()=>[I,F]=(0,m.flattenUnions)(I,H,$,!0,W)),I===ve&&(0,x.assert)(de&&F,"Graph didn't change but we're not done")}while(!de||!F)}this.time("replace object type",()=>I=(0,C.replaceObjectType)(I,H,$,q.supportsFullObjectType,W));do this.time("flatten unions",()=>[I,F]=(0,m.flattenUnions)(I,H,$,!1,W));while(!F);if(this._options.combineClasses){const de=this.time("combine classes",()=>(0,y.combineClasses)(this,I,this._options.alphabetizeProperties,!0,!1,W));de===I?I=de:this.time("combine classes cleanup",()=>I=(0,y.combineClasses)(this,de,this._options.alphabetizeProperties,!1,!0,W))}if(this._options.inferMaps)for(;;){const de=this.time("infer maps",()=>(0,v.inferMaps)(I,H,!0,W));if(de===I)break;I=de}const Y=M.needSchemaProcessing?"all":this._options.inferEnums?"infer":"none";return this.time("expand strings",()=>I=(0,h.expandStrings)(this,I,Y)),this.time("flatten unions",()=>[I,F]=(0,m.flattenUnions)(I,H,$,!1,W)),(0,x.assert)(F,"We should only have to flatten unions once after expanding strings"),M.needSchemaProcessing&&this.time("flatten strings",()=>I=(0,S.flattenStrings)(I,H,W)),this.time("none to any",()=>I=(0,D.noneToAny)(I,H,W)),q.supportsOptionalClassProperties||this.time("optional to nullable",()=>I=(0,D.optionalToNullable)(I,H,W)),this.time("fixed point",()=>I=I.rewriteFixedPoint(!1,W)),this.time("make transformations",()=>I=(0,d.makeTransformations)(this,I,q)),this.time("flatten unions",()=>[I,F]=(0,m.flattenUnions)(I,H,$,!1,W)),(0,x.assert)(F,"We should only have to flatten unions once after making transformations"),this.time("GC",()=>I=I.garbageCollect(this._options.alphabetizeProperties,W)),this._options.debugPrintGraph&&console.log(`
|
|
1014
|
+
# gather names`),this.time("gather names",()=>(0,a.gatherNames)(I,!M.needSchemaProcessing,this._options.debugPrintGatherNames)),this._options.debugPrintGraph&&I.printGraph(),I}makeSimpleTextResult(M){return new Map([[this._options.outputFilename,{lines:M,annotations:[]}]])}preRun(){(0,o.initTypeNames)();const M=K(this._options.lang),z=this._options.inputData,H=z.needIR||!M.names.includes("schema")?void 0:z.singleStringSchemaSource();if(H!==void 0){const $=JSON.stringify(JSON.parse(H),void 0,4).split(`
|
|
1015
|
+
`);$.push("");const fe={lines:$,annotations:[]};return new Map([[this._options.outputFilename,fe]])}return[z,M]}run(){return r(this,void 0,void 0,function*(){const M=this.preRun();if(!Array.isArray(M))return M;const[z,q]=M,H=yield this.makeGraph(z);return this.renderGraph(q,H)})}runSync(){const M=this.preRun();if(!Array.isArray(M))return M;const[z,q]=M,H=this.makeGraphSync(z);return this.renderGraph(q,H)}renderGraph(M,z){return this._options.noRender?this.makeSimpleTextResult(["Done.",""]):M.renderGraphAndSerialize(z,this._options.outputFilename,this._options.alphabetizeProperties,this._options.leadingComments,this._options.rendererOptions,this._options.indentation)}}function ne(L){return r(this,void 0,void 0,function*(){return yield new j(L).run()})}n.quicktypeMultiFile=ne;function se(L){return new j(L).runSync()}n.quicktypeMultiFileSync=se;function re(L,M){return{line:L.line+M,column:L.column}}function T(L,M){return{start:re(L.start,M),end:re(L.end,M)}}function b(L){if(L.size<=1){const q=(0,s.mapFirst)(L);return q===void 0?{lines:[],annotations:[]}:q}let M=[],z=[];for(const[q,H]of L){const $=M.length+2;M=M.concat([`// ${q}`,""],H.lines),z=z.concat(H.annotations.map(fe=>({annotation:fe.annotation,span:T(fe.span,$)})))}return{lines:M,annotations:z}}n.combineRenderResults=b;function w(L){return r(this,void 0,void 0,function*(){const M=yield ne(L);return b(M)})}n.quicktype=w})(jL);var ys={},m0={},$k={exports:{}},Hy={exports:{}},mo={},rp={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */rp.read=function(n,e,t,i,r){var s,o,a=r*8-i-1,c=(1<<a)-1,f=c>>1,d=-7,p=t?r-1:0,y=t?-1:1,h=n[e+p];for(p+=y,s=h&(1<<-d)-1,h>>=-d,d+=a;d>0;s=s*256+n[e+p],p+=y,d-=8);for(o=s&(1<<-d)-1,s>>=-d,d+=i;d>0;o=o*256+n[e+p],p+=y,d-=8);if(s===0)s=1-f;else{if(s===c)return o?NaN:(h?-1:1)*(1/0);o=o+Math.pow(2,i),s=s-f}return(h?-1:1)*o*Math.pow(2,s-i)};rp.write=function(n,e,t,i,r,s){var o,a,c,f=s*8-r-1,d=(1<<f)-1,p=d>>1,y=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=i?0:s-1,S=i?1:-1,m=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=d):(o=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+p>=1?e+=y/c:e+=y*Math.pow(2,1-p),e*c>=2&&(o++,c/=2),o+p>=d?(a=0,o=d):o+p>=1?(a=(e*c-1)*Math.pow(2,r),o=o+p):(a=e*Math.pow(2,p-1)*Math.pow(2,r),o=0));r>=8;n[t+h]=a&255,h+=S,a/=256,r-=8);for(o=o<<r|a,f+=r;f>0;n[t+h]=o&255,h+=S,o/=256,f-=8);n[t+h-S]|=m*128};/*!
|
|
1016
|
+
* The buffer module from node.js, for the browser.
|
|
1017
|
+
*
|
|
1018
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
1019
|
+
* @license MIT
|
|
1020
|
+
*/(function(n){const e=wl,t=rp,i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=a,n.SlowBuffer=U,n.INSPECT_MAX_BYTES=50;const r=2147483647;n.kMaxLength=r,a.TYPED_ARRAY_SUPPORT=s(),!a.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 s(){try{const P=new Uint8Array(1),_={foo:function(){return 42}};return Object.setPrototypeOf(_,Uint8Array.prototype),Object.setPrototypeOf(P,_),P.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function o(P){if(P>r)throw new RangeError('The value "'+P+'" is invalid for option "size"');const _=new Uint8Array(P);return Object.setPrototypeOf(_,a.prototype),_}function a(P,_,O){if(typeof P=="number"){if(typeof _=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return p(P)}return c(P,_,O)}a.poolSize=8192;function c(P,_,O){if(typeof P=="string")return y(P,_);if(ArrayBuffer.isView(P))return S(P);if(P==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof P);if(ye(P,ArrayBuffer)||P&&ye(P.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ye(P,SharedArrayBuffer)||P&&ye(P.buffer,SharedArrayBuffer)))return m(P,_,O);if(typeof P=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const Z=P.valueOf&&P.valueOf();if(Z!=null&&Z!==P)return a.from(Z,_,O);const pe=v(P);if(pe)return pe;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof P[Symbol.toPrimitive]=="function")return a.from(P[Symbol.toPrimitive]("string"),_,O);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof P)}a.from=function(P,_,O){return c(P,_,O)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function f(P){if(typeof P!="number")throw new TypeError('"size" argument must be of type number');if(P<0)throw new RangeError('The value "'+P+'" is invalid for option "size"')}function d(P,_,O){return f(P),P<=0?o(P):_!==void 0?typeof O=="string"?o(P).fill(_,O):o(P).fill(_):o(P)}a.alloc=function(P,_,O){return d(P,_,O)};function p(P){return f(P),o(P<0?0:C(P)|0)}a.allocUnsafe=function(P){return p(P)},a.allocUnsafeSlow=function(P){return p(P)};function y(P,_){if((typeof _!="string"||_==="")&&(_="utf8"),!a.isEncoding(_))throw new TypeError("Unknown encoding: "+_);const O=x(P,_)|0;let Z=o(O);const pe=Z.write(P,_);return pe!==O&&(Z=Z.slice(0,pe)),Z}function h(P){const _=P.length<0?0:C(P.length)|0,O=o(_);for(let Z=0;Z<_;Z+=1)O[Z]=P[Z]&255;return O}function S(P){if(ye(P,Uint8Array)){const _=new Uint8Array(P);return m(_.buffer,_.byteOffset,_.byteLength)}return h(P)}function m(P,_,O){if(_<0||P.byteLength<_)throw new RangeError('"offset" is outside of buffer bounds');if(P.byteLength<_+(O||0))throw new RangeError('"length" is outside of buffer bounds');let Z;return _===void 0&&O===void 0?Z=new Uint8Array(P):O===void 0?Z=new Uint8Array(P,_):Z=new Uint8Array(P,_,O),Object.setPrototypeOf(Z,a.prototype),Z}function v(P){if(a.isBuffer(P)){const _=C(P.length)|0,O=o(_);return O.length===0||P.copy(O,0,0,_),O}if(P.length!==void 0)return typeof P.length!="number"||Ie(P.length)?o(0):h(P);if(P.type==="Buffer"&&Array.isArray(P.data))return h(P.data)}function C(P){if(P>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return P|0}function U(P){return+P!=P&&(P=0),a.alloc(+P)}a.isBuffer=function(_){return _!=null&&_._isBuffer===!0&&_!==a.prototype},a.compare=function(_,O){if(ye(_,Uint8Array)&&(_=a.from(_,_.offset,_.byteLength)),ye(O,Uint8Array)&&(O=a.from(O,O.offset,O.byteLength)),!a.isBuffer(_)||!a.isBuffer(O))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(_===O)return 0;let Z=_.length,pe=O.length;for(let Se=0,we=Math.min(Z,pe);Se<we;++Se)if(_[Se]!==O[Se]){Z=_[Se],pe=O[Se];break}return Z<pe?-1:pe<Z?1:0},a.isEncoding=function(_){switch(String(_).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}},a.concat=function(_,O){if(!Array.isArray(_))throw new TypeError('"list" argument must be an Array of Buffers');if(_.length===0)return a.alloc(0);let Z;if(O===void 0)for(O=0,Z=0;Z<_.length;++Z)O+=_[Z].length;const pe=a.allocUnsafe(O);let Se=0;for(Z=0;Z<_.length;++Z){let we=_[Z];if(ye(we,Uint8Array))Se+we.length>pe.length?(a.isBuffer(we)||(we=a.from(we)),we.copy(pe,Se)):Uint8Array.prototype.set.call(pe,we,Se);else if(a.isBuffer(we))we.copy(pe,Se);else throw new TypeError('"list" argument must be an Array of Buffers');Se+=we.length}return pe};function x(P,_){if(a.isBuffer(P))return P.length;if(ArrayBuffer.isView(P)||ye(P,ArrayBuffer))return P.byteLength;if(typeof P!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof P);const O=P.length,Z=arguments.length>2&&arguments[2]===!0;if(!Z&&O===0)return 0;let pe=!1;for(;;)switch(_){case"ascii":case"latin1":case"binary":return O;case"utf8":case"utf-8":return N(P).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O*2;case"hex":return O>>>1;case"base64":return le(P).length;default:if(pe)return Z?-1:N(P).length;_=(""+_).toLowerCase(),pe=!0}}a.byteLength=x;function J(P,_,O){let Z=!1;if((_===void 0||_<0)&&(_=0),_>this.length||((O===void 0||O>this.length)&&(O=this.length),O<=0)||(O>>>=0,_>>>=0,O<=_))return"";for(P||(P="utf8");;)switch(P){case"hex":return q(this,_,O);case"utf8":case"utf-8":return b(this,_,O);case"ascii":return M(this,_,O);case"latin1":case"binary":return z(this,_,O);case"base64":return T(this,_,O);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,_,O);default:if(Z)throw new TypeError("Unknown encoding: "+P);P=(P+"").toLowerCase(),Z=!0}}a.prototype._isBuffer=!0;function D(P,_,O){const Z=P[_];P[_]=P[O],P[O]=Z}a.prototype.swap16=function(){const _=this.length;if(_%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let O=0;O<_;O+=2)D(this,O,O+1);return this},a.prototype.swap32=function(){const _=this.length;if(_%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let O=0;O<_;O+=4)D(this,O,O+3),D(this,O+1,O+2);return this},a.prototype.swap64=function(){const _=this.length;if(_%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let O=0;O<_;O+=8)D(this,O,O+7),D(this,O+1,O+6),D(this,O+2,O+5),D(this,O+3,O+4);return this},a.prototype.toString=function(){const _=this.length;return _===0?"":arguments.length===0?b(this,0,_):J.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(_){if(!a.isBuffer(_))throw new TypeError("Argument must be a Buffer");return this===_?!0:a.compare(this,_)===0},a.prototype.inspect=function(){let _="";const O=n.INSPECT_MAX_BYTES;return _=this.toString("hex",0,O).replace(/(.{2})/g,"$1 ").trim(),this.length>O&&(_+=" ... "),"<Buffer "+_+">"},i&&(a.prototype[i]=a.prototype.inspect),a.prototype.compare=function(_,O,Z,pe,Se){if(ye(_,Uint8Array)&&(_=a.from(_,_.offset,_.byteLength)),!a.isBuffer(_))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof _);if(O===void 0&&(O=0),Z===void 0&&(Z=_?_.length:0),pe===void 0&&(pe=0),Se===void 0&&(Se=this.length),O<0||Z>_.length||pe<0||Se>this.length)throw new RangeError("out of range index");if(pe>=Se&&O>=Z)return 0;if(pe>=Se)return-1;if(O>=Z)return 1;if(O>>>=0,Z>>>=0,pe>>>=0,Se>>>=0,this===_)return 0;let we=Se-pe,We=Z-O;const ft=Math.min(we,We),yt=this.slice(pe,Se),dt=_.slice(O,Z);for(let Be=0;Be<ft;++Be)if(yt[Be]!==dt[Be]){we=yt[Be],We=dt[Be];break}return we<We?-1:We<we?1:0};function K(P,_,O,Z,pe){if(P.length===0)return-1;if(typeof O=="string"?(Z=O,O=0):O>2147483647?O=2147483647:O<-2147483648&&(O=-2147483648),O=+O,Ie(O)&&(O=pe?0:P.length-1),O<0&&(O=P.length+O),O>=P.length){if(pe)return-1;O=P.length-1}else if(O<0)if(pe)O=0;else return-1;if(typeof _=="string"&&(_=a.from(_,Z)),a.isBuffer(_))return _.length===0?-1:X(P,_,O,Z,pe);if(typeof _=="number")return _=_&255,typeof Uint8Array.prototype.indexOf=="function"?pe?Uint8Array.prototype.indexOf.call(P,_,O):Uint8Array.prototype.lastIndexOf.call(P,_,O):X(P,[_],O,Z,pe);throw new TypeError("val must be string, number or Buffer")}function X(P,_,O,Z,pe){let Se=1,we=P.length,We=_.length;if(Z!==void 0&&(Z=String(Z).toLowerCase(),Z==="ucs2"||Z==="ucs-2"||Z==="utf16le"||Z==="utf-16le")){if(P.length<2||_.length<2)return-1;Se=2,we/=2,We/=2,O/=2}function ft(dt,Be){return Se===1?dt[Be]:dt.readUInt16BE(Be*Se)}let yt;if(pe){let dt=-1;for(yt=O;yt<we;yt++)if(ft(P,yt)===ft(_,dt===-1?0:yt-dt)){if(dt===-1&&(dt=yt),yt-dt+1===We)return dt*Se}else dt!==-1&&(yt-=yt-dt),dt=-1}else for(O+We>we&&(O=we-We),yt=O;yt>=0;yt--){let dt=!0;for(let Be=0;Be<We;Be++)if(ft(P,yt+Be)!==ft(_,Be)){dt=!1;break}if(dt)return yt}return-1}a.prototype.includes=function(_,O,Z){return this.indexOf(_,O,Z)!==-1},a.prototype.indexOf=function(_,O,Z){return K(this,_,O,Z,!0)},a.prototype.lastIndexOf=function(_,O,Z){return K(this,_,O,Z,!1)};function E(P,_,O,Z){O=Number(O)||0;const pe=P.length-O;Z?(Z=Number(Z),Z>pe&&(Z=pe)):Z=pe;const Se=_.length;Z>Se/2&&(Z=Se/2);let we;for(we=0;we<Z;++we){const We=parseInt(_.substr(we*2,2),16);if(Ie(We))return we;P[O+we]=We}return we}function j(P,_,O,Z){return Te(N(_,P.length-O),P,O,Z)}function ne(P,_,O,Z){return Te(A(_),P,O,Z)}function se(P,_,O,Z){return Te(le(_),P,O,Z)}function re(P,_,O,Z){return Te(V(_,P.length-O),P,O,Z)}a.prototype.write=function(_,O,Z,pe){if(O===void 0)pe="utf8",Z=this.length,O=0;else if(Z===void 0&&typeof O=="string")pe=O,Z=this.length,O=0;else if(isFinite(O))O=O>>>0,isFinite(Z)?(Z=Z>>>0,pe===void 0&&(pe="utf8")):(pe=Z,Z=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Se=this.length-O;if((Z===void 0||Z>Se)&&(Z=Se),_.length>0&&(Z<0||O<0)||O>this.length)throw new RangeError("Attempt to write outside buffer bounds");pe||(pe="utf8");let we=!1;for(;;)switch(pe){case"hex":return E(this,_,O,Z);case"utf8":case"utf-8":return j(this,_,O,Z);case"ascii":case"latin1":case"binary":return ne(this,_,O,Z);case"base64":return se(this,_,O,Z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,_,O,Z);default:if(we)throw new TypeError("Unknown encoding: "+pe);pe=(""+pe).toLowerCase(),we=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function T(P,_,O){return _===0&&O===P.length?e.fromByteArray(P):e.fromByteArray(P.slice(_,O))}function b(P,_,O){O=Math.min(P.length,O);const Z=[];let pe=_;for(;pe<O;){const Se=P[pe];let we=null,We=Se>239?4:Se>223?3:Se>191?2:1;if(pe+We<=O){let ft,yt,dt,Be;switch(We){case 1:Se<128&&(we=Se);break;case 2:ft=P[pe+1],(ft&192)===128&&(Be=(Se&31)<<6|ft&63,Be>127&&(we=Be));break;case 3:ft=P[pe+1],yt=P[pe+2],(ft&192)===128&&(yt&192)===128&&(Be=(Se&15)<<12|(ft&63)<<6|yt&63,Be>2047&&(Be<55296||Be>57343)&&(we=Be));break;case 4:ft=P[pe+1],yt=P[pe+2],dt=P[pe+3],(ft&192)===128&&(yt&192)===128&&(dt&192)===128&&(Be=(Se&15)<<18|(ft&63)<<12|(yt&63)<<6|dt&63,Be>65535&&Be<1114112&&(we=Be))}}we===null?(we=65533,We=1):we>65535&&(we-=65536,Z.push(we>>>10&1023|55296),we=56320|we&1023),Z.push(we),pe+=We}return L(Z)}const w=4096;function L(P){const _=P.length;if(_<=w)return String.fromCharCode.apply(String,P);let O="",Z=0;for(;Z<_;)O+=String.fromCharCode.apply(String,P.slice(Z,Z+=w));return O}function M(P,_,O){let Z="";O=Math.min(P.length,O);for(let pe=_;pe<O;++pe)Z+=String.fromCharCode(P[pe]&127);return Z}function z(P,_,O){let Z="";O=Math.min(P.length,O);for(let pe=_;pe<O;++pe)Z+=String.fromCharCode(P[pe]);return Z}function q(P,_,O){const Z=P.length;(!_||_<0)&&(_=0),(!O||O<0||O>Z)&&(O=Z);let pe="";for(let Se=_;Se<O;++Se)pe+=Ue[P[Se]];return pe}function H(P,_,O){const Z=P.slice(_,O);let pe="";for(let Se=0;Se<Z.length-1;Se+=2)pe+=String.fromCharCode(Z[Se]+Z[Se+1]*256);return pe}a.prototype.slice=function(_,O){const Z=this.length;_=~~_,O=O===void 0?Z:~~O,_<0?(_+=Z,_<0&&(_=0)):_>Z&&(_=Z),O<0?(O+=Z,O<0&&(O=0)):O>Z&&(O=Z),O<_&&(O=_);const pe=this.subarray(_,O);return Object.setPrototypeOf(pe,a.prototype),pe};function $(P,_,O){if(P%1!==0||P<0)throw new RangeError("offset is not uint");if(P+_>O)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(_,O,Z){_=_>>>0,O=O>>>0,Z||$(_,O,this.length);let pe=this[_],Se=1,we=0;for(;++we<O&&(Se*=256);)pe+=this[_+we]*Se;return pe},a.prototype.readUintBE=a.prototype.readUIntBE=function(_,O,Z){_=_>>>0,O=O>>>0,Z||$(_,O,this.length);let pe=this[_+--O],Se=1;for(;O>0&&(Se*=256);)pe+=this[_+--O]*Se;return pe},a.prototype.readUint8=a.prototype.readUInt8=function(_,O){return _=_>>>0,O||$(_,1,this.length),this[_]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(_,O){return _=_>>>0,O||$(_,2,this.length),this[_]|this[_+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(_,O){return _=_>>>0,O||$(_,2,this.length),this[_]<<8|this[_+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(_,O){return _=_>>>0,O||$(_,4,this.length),(this[_]|this[_+1]<<8|this[_+2]<<16)+this[_+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(_,O){return _=_>>>0,O||$(_,4,this.length),this[_]*16777216+(this[_+1]<<16|this[_+2]<<8|this[_+3])},a.prototype.readBigUInt64LE=ce(function(_){_=_>>>0,te(_,"offset");const O=this[_],Z=this[_+7];(O===void 0||Z===void 0)&&ue(_,this.length-8);const pe=O+this[++_]*2**8+this[++_]*2**16+this[++_]*2**24,Se=this[++_]+this[++_]*2**8+this[++_]*2**16+Z*2**24;return BigInt(pe)+(BigInt(Se)<<BigInt(32))}),a.prototype.readBigUInt64BE=ce(function(_){_=_>>>0,te(_,"offset");const O=this[_],Z=this[_+7];(O===void 0||Z===void 0)&&ue(_,this.length-8);const pe=O*2**24+this[++_]*2**16+this[++_]*2**8+this[++_],Se=this[++_]*2**24+this[++_]*2**16+this[++_]*2**8+Z;return(BigInt(pe)<<BigInt(32))+BigInt(Se)}),a.prototype.readIntLE=function(_,O,Z){_=_>>>0,O=O>>>0,Z||$(_,O,this.length);let pe=this[_],Se=1,we=0;for(;++we<O&&(Se*=256);)pe+=this[_+we]*Se;return Se*=128,pe>=Se&&(pe-=Math.pow(2,8*O)),pe},a.prototype.readIntBE=function(_,O,Z){_=_>>>0,O=O>>>0,Z||$(_,O,this.length);let pe=O,Se=1,we=this[_+--pe];for(;pe>0&&(Se*=256);)we+=this[_+--pe]*Se;return Se*=128,we>=Se&&(we-=Math.pow(2,8*O)),we},a.prototype.readInt8=function(_,O){return _=_>>>0,O||$(_,1,this.length),this[_]&128?(255-this[_]+1)*-1:this[_]},a.prototype.readInt16LE=function(_,O){_=_>>>0,O||$(_,2,this.length);const Z=this[_]|this[_+1]<<8;return Z&32768?Z|4294901760:Z},a.prototype.readInt16BE=function(_,O){_=_>>>0,O||$(_,2,this.length);const Z=this[_+1]|this[_]<<8;return Z&32768?Z|4294901760:Z},a.prototype.readInt32LE=function(_,O){return _=_>>>0,O||$(_,4,this.length),this[_]|this[_+1]<<8|this[_+2]<<16|this[_+3]<<24},a.prototype.readInt32BE=function(_,O){return _=_>>>0,O||$(_,4,this.length),this[_]<<24|this[_+1]<<16|this[_+2]<<8|this[_+3]},a.prototype.readBigInt64LE=ce(function(_){_=_>>>0,te(_,"offset");const O=this[_],Z=this[_+7];(O===void 0||Z===void 0)&&ue(_,this.length-8);const pe=this[_+4]+this[_+5]*2**8+this[_+6]*2**16+(Z<<24);return(BigInt(pe)<<BigInt(32))+BigInt(O+this[++_]*2**8+this[++_]*2**16+this[++_]*2**24)}),a.prototype.readBigInt64BE=ce(function(_){_=_>>>0,te(_,"offset");const O=this[_],Z=this[_+7];(O===void 0||Z===void 0)&&ue(_,this.length-8);const pe=(O<<24)+this[++_]*2**16+this[++_]*2**8+this[++_];return(BigInt(pe)<<BigInt(32))+BigInt(this[++_]*2**24+this[++_]*2**16+this[++_]*2**8+Z)}),a.prototype.readFloatLE=function(_,O){return _=_>>>0,O||$(_,4,this.length),t.read(this,_,!0,23,4)},a.prototype.readFloatBE=function(_,O){return _=_>>>0,O||$(_,4,this.length),t.read(this,_,!1,23,4)},a.prototype.readDoubleLE=function(_,O){return _=_>>>0,O||$(_,8,this.length),t.read(this,_,!0,52,8)},a.prototype.readDoubleBE=function(_,O){return _=_>>>0,O||$(_,8,this.length),t.read(this,_,!1,52,8)};function fe(P,_,O,Z,pe,Se){if(!a.isBuffer(P))throw new TypeError('"buffer" argument must be a Buffer instance');if(_>pe||_<Se)throw new RangeError('"value" argument is out of bounds');if(O+Z>P.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(_,O,Z,pe){if(_=+_,O=O>>>0,Z=Z>>>0,!pe){const We=Math.pow(2,8*Z)-1;fe(this,_,O,Z,We,0)}let Se=1,we=0;for(this[O]=_&255;++we<Z&&(Se*=256);)this[O+we]=_/Se&255;return O+Z},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(_,O,Z,pe){if(_=+_,O=O>>>0,Z=Z>>>0,!pe){const We=Math.pow(2,8*Z)-1;fe(this,_,O,Z,We,0)}let Se=Z-1,we=1;for(this[O+Se]=_&255;--Se>=0&&(we*=256);)this[O+Se]=_/we&255;return O+Z},a.prototype.writeUint8=a.prototype.writeUInt8=function(_,O,Z){return _=+_,O=O>>>0,Z||fe(this,_,O,1,255,0),this[O]=_&255,O+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(_,O,Z){return _=+_,O=O>>>0,Z||fe(this,_,O,2,65535,0),this[O]=_&255,this[O+1]=_>>>8,O+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(_,O,Z){return _=+_,O=O>>>0,Z||fe(this,_,O,2,65535,0),this[O]=_>>>8,this[O+1]=_&255,O+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(_,O,Z){return _=+_,O=O>>>0,Z||fe(this,_,O,4,4294967295,0),this[O+3]=_>>>24,this[O+2]=_>>>16,this[O+1]=_>>>8,this[O]=_&255,O+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(_,O,Z){return _=+_,O=O>>>0,Z||fe(this,_,O,4,4294967295,0),this[O]=_>>>24,this[O+1]=_>>>16,this[O+2]=_>>>8,this[O+3]=_&255,O+4};function I(P,_,O,Z,pe){Me(_,Z,pe,P,O,7);let Se=Number(_&BigInt(4294967295));P[O++]=Se,Se=Se>>8,P[O++]=Se,Se=Se>>8,P[O++]=Se,Se=Se>>8,P[O++]=Se;let we=Number(_>>BigInt(32)&BigInt(4294967295));return P[O++]=we,we=we>>8,P[O++]=we,we=we>>8,P[O++]=we,we=we>>8,P[O++]=we,O}function W(P,_,O,Z,pe){Me(_,Z,pe,P,O,7);let Se=Number(_&BigInt(4294967295));P[O+7]=Se,Se=Se>>8,P[O+6]=Se,Se=Se>>8,P[O+5]=Se,Se=Se>>8,P[O+4]=Se;let we=Number(_>>BigInt(32)&BigInt(4294967295));return P[O+3]=we,we=we>>8,P[O+2]=we,we=we>>8,P[O+1]=we,we=we>>8,P[O]=we,O+8}a.prototype.writeBigUInt64LE=ce(function(_,O=0){return I(this,_,O,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=ce(function(_,O=0){return W(this,_,O,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(_,O,Z,pe){if(_=+_,O=O>>>0,!pe){const ft=Math.pow(2,8*Z-1);fe(this,_,O,Z,ft-1,-ft)}let Se=0,we=1,We=0;for(this[O]=_&255;++Se<Z&&(we*=256);)_<0&&We===0&&this[O+Se-1]!==0&&(We=1),this[O+Se]=(_/we>>0)-We&255;return O+Z},a.prototype.writeIntBE=function(_,O,Z,pe){if(_=+_,O=O>>>0,!pe){const ft=Math.pow(2,8*Z-1);fe(this,_,O,Z,ft-1,-ft)}let Se=Z-1,we=1,We=0;for(this[O+Se]=_&255;--Se>=0&&(we*=256);)_<0&&We===0&&this[O+Se+1]!==0&&(We=1),this[O+Se]=(_/we>>0)-We&255;return O+Z},a.prototype.writeInt8=function(_,O,Z){return _=+_,O=O>>>0,Z||fe(this,_,O,1,127,-128),_<0&&(_=255+_+1),this[O]=_&255,O+1},a.prototype.writeInt16LE=function(_,O,Z){return _=+_,O=O>>>0,Z||fe(this,_,O,2,32767,-32768),this[O]=_&255,this[O+1]=_>>>8,O+2},a.prototype.writeInt16BE=function(_,O,Z){return _=+_,O=O>>>0,Z||fe(this,_,O,2,32767,-32768),this[O]=_>>>8,this[O+1]=_&255,O+2},a.prototype.writeInt32LE=function(_,O,Z){return _=+_,O=O>>>0,Z||fe(this,_,O,4,2147483647,-2147483648),this[O]=_&255,this[O+1]=_>>>8,this[O+2]=_>>>16,this[O+3]=_>>>24,O+4},a.prototype.writeInt32BE=function(_,O,Z){return _=+_,O=O>>>0,Z||fe(this,_,O,4,2147483647,-2147483648),_<0&&(_=4294967295+_+1),this[O]=_>>>24,this[O+1]=_>>>16,this[O+2]=_>>>8,this[O+3]=_&255,O+4},a.prototype.writeBigInt64LE=ce(function(_,O=0){return I(this,_,O,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=ce(function(_,O=0){return W(this,_,O,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function F(P,_,O,Z,pe,Se){if(O+Z>P.length)throw new RangeError("Index out of range");if(O<0)throw new RangeError("Index out of range")}function Y(P,_,O,Z,pe){return _=+_,O=O>>>0,pe||F(P,_,O,4),t.write(P,_,O,Z,23,4),O+4}a.prototype.writeFloatLE=function(_,O,Z){return Y(this,_,O,!0,Z)},a.prototype.writeFloatBE=function(_,O,Z){return Y(this,_,O,!1,Z)};function de(P,_,O,Z,pe){return _=+_,O=O>>>0,pe||F(P,_,O,8),t.write(P,_,O,Z,52,8),O+8}a.prototype.writeDoubleLE=function(_,O,Z){return de(this,_,O,!0,Z)},a.prototype.writeDoubleBE=function(_,O,Z){return de(this,_,O,!1,Z)},a.prototype.copy=function(_,O,Z,pe){if(!a.isBuffer(_))throw new TypeError("argument should be a Buffer");if(Z||(Z=0),!pe&&pe!==0&&(pe=this.length),O>=_.length&&(O=_.length),O||(O=0),pe>0&&pe<Z&&(pe=Z),pe===Z||_.length===0||this.length===0)return 0;if(O<0)throw new RangeError("targetStart out of bounds");if(Z<0||Z>=this.length)throw new RangeError("Index out of range");if(pe<0)throw new RangeError("sourceEnd out of bounds");pe>this.length&&(pe=this.length),_.length-O<pe-Z&&(pe=_.length-O+Z);const Se=pe-Z;return this===_&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(O,Z,pe):Uint8Array.prototype.set.call(_,this.subarray(Z,pe),O),Se},a.prototype.fill=function(_,O,Z,pe){if(typeof _=="string"){if(typeof O=="string"?(pe=O,O=0,Z=this.length):typeof Z=="string"&&(pe=Z,Z=this.length),pe!==void 0&&typeof pe!="string")throw new TypeError("encoding must be a string");if(typeof pe=="string"&&!a.isEncoding(pe))throw new TypeError("Unknown encoding: "+pe);if(_.length===1){const we=_.charCodeAt(0);(pe==="utf8"&&we<128||pe==="latin1")&&(_=we)}}else typeof _=="number"?_=_&255:typeof _=="boolean"&&(_=Number(_));if(O<0||this.length<O||this.length<Z)throw new RangeError("Out of range index");if(Z<=O)return this;O=O>>>0,Z=Z===void 0?this.length:Z>>>0,_||(_=0);let Se;if(typeof _=="number")for(Se=O;Se<Z;++Se)this[Se]=_;else{const we=a.isBuffer(_)?_:a.from(_,pe),We=we.length;if(We===0)throw new TypeError('The value "'+_+'" is invalid for argument "value"');for(Se=0;Se<Z-O;++Se)this[Se+O]=we[Se%We]}return this};const ve={};function Le(P,_,O){ve[P]=class extends O{constructor(){super(),Object.defineProperty(this,"message",{value:_.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${P}]`,this.stack,delete this.name}get code(){return P}set code(pe){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:pe,writable:!0})}toString(){return`${this.name} [${P}]: ${this.message}`}}}Le("ERR_BUFFER_OUT_OF_BOUNDS",function(P){return P?`${P} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Le("ERR_INVALID_ARG_TYPE",function(P,_){return`The "${P}" argument must be of type number. Received type ${typeof _}`},TypeError),Le("ERR_OUT_OF_RANGE",function(P,_,O){let Z=`The value of "${P}" is out of range.`,pe=O;return Number.isInteger(O)&&Math.abs(O)>2**32?pe=Fe(String(O)):typeof O=="bigint"&&(pe=String(O),(O>BigInt(2)**BigInt(32)||O<-(BigInt(2)**BigInt(32)))&&(pe=Fe(pe)),pe+="n"),Z+=` It must be ${_}. Received ${pe}`,Z},RangeError);function Fe(P){let _="",O=P.length;const Z=P[0]==="-"?1:0;for(;O>=Z+4;O-=3)_=`_${P.slice(O-3,O)}${_}`;return`${P.slice(0,O)}${_}`}function Pe(P,_,O){te(_,"offset"),(P[_]===void 0||P[_+O]===void 0)&&ue(_,P.length-(O+1))}function Me(P,_,O,Z,pe,Se){if(P>O||P<_){const we=typeof _=="bigint"?"n":"";let We;throw Se>3?_===0||_===BigInt(0)?We=`>= 0${we} and < 2${we} ** ${(Se+1)*8}${we}`:We=`>= -(2${we} ** ${(Se+1)*8-1}${we}) and < 2 ** ${(Se+1)*8-1}${we}`:We=`>= ${_}${we} and <= ${O}${we}`,new ve.ERR_OUT_OF_RANGE("value",We,P)}Pe(Z,pe,Se)}function te(P,_){if(typeof P!="number")throw new ve.ERR_INVALID_ARG_TYPE(_,"number",P)}function ue(P,_,O){throw Math.floor(P)!==P?(te(P,O),new ve.ERR_OUT_OF_RANGE(O||"offset","an integer",P)):_<0?new ve.ERR_BUFFER_OUT_OF_BOUNDS:new ve.ERR_OUT_OF_RANGE(O||"offset",`>= ${O?1:0} and <= ${_}`,P)}const ie=/[^+/0-9A-Za-z-_]/g;function R(P){if(P=P.split("=")[0],P=P.trim().replace(ie,""),P.length<2)return"";for(;P.length%4!==0;)P=P+"=";return P}function N(P,_){_=_||1/0;let O;const Z=P.length;let pe=null;const Se=[];for(let we=0;we<Z;++we){if(O=P.charCodeAt(we),O>55295&&O<57344){if(!pe){if(O>56319){(_-=3)>-1&&Se.push(239,191,189);continue}else if(we+1===Z){(_-=3)>-1&&Se.push(239,191,189);continue}pe=O;continue}if(O<56320){(_-=3)>-1&&Se.push(239,191,189),pe=O;continue}O=(pe-55296<<10|O-56320)+65536}else pe&&(_-=3)>-1&&Se.push(239,191,189);if(pe=null,O<128){if((_-=1)<0)break;Se.push(O)}else if(O<2048){if((_-=2)<0)break;Se.push(O>>6|192,O&63|128)}else if(O<65536){if((_-=3)<0)break;Se.push(O>>12|224,O>>6&63|128,O&63|128)}else if(O<1114112){if((_-=4)<0)break;Se.push(O>>18|240,O>>12&63|128,O>>6&63|128,O&63|128)}else throw new Error("Invalid code point")}return Se}function A(P){const _=[];for(let O=0;O<P.length;++O)_.push(P.charCodeAt(O)&255);return _}function V(P,_){let O,Z,pe;const Se=[];for(let we=0;we<P.length&&!((_-=2)<0);++we)O=P.charCodeAt(we),Z=O>>8,pe=O%256,Se.push(pe),Se.push(Z);return Se}function le(P){return e.toByteArray(R(P))}function Te(P,_,O,Z){let pe;for(pe=0;pe<Z&&!(pe+O>=_.length||pe>=P.length);++pe)_[pe+O]=P[pe];return pe}function ye(P,_){return P instanceof _||P!=null&&P.constructor!=null&&P.constructor.name!=null&&P.constructor.name===_.name}function Ie(P){return P!==P}const Ue=function(){const P="0123456789abcdef",_=new Array(256);for(let O=0;O<16;++O){const Z=O*16;for(let pe=0;pe<16;++pe)_[Z+pe]=P[O]+P[pe]}return _}();function ce(P){return typeof BigInt>"u"?me:P}function me(){throw new Error("BigInt not supported")}})(mo);var $t={ArrayIsArray(n){return Array.isArray(n)},ArrayPrototypeIncludes(n,e){return n.includes(e)},ArrayPrototypeIndexOf(n,e){return n.indexOf(e)},ArrayPrototypeJoin(n,e){return n.join(e)},ArrayPrototypeMap(n,e){return n.map(e)},ArrayPrototypePop(n,e){return n.pop(e)},ArrayPrototypePush(n,e){return n.push(e)},ArrayPrototypeSlice(n,e,t){return n.slice(e,t)},Error,FunctionPrototypeCall(n,e,...t){return n.call(e,...t)},FunctionPrototypeSymbolHasInstance(n,e){return Function.prototype[Symbol.hasInstance].call(n,e)},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(n,e){return Object.defineProperties(n,e)},ObjectDefineProperty(n,e,t){return Object.defineProperty(n,e,t)},ObjectGetOwnPropertyDescriptor(n,e){return Object.getOwnPropertyDescriptor(n,e)},ObjectKeys(n){return Object.keys(n)},ObjectSetPrototypeOf(n,e){return Object.setPrototypeOf(n,e)},Promise,PromisePrototypeCatch(n,e){return n.catch(e)},PromisePrototypeThen(n,e,t){return n.then(e,t)},PromiseReject(n){return Promise.reject(n)},PromiseResolve(n){return Promise.resolve(n)},ReflectApply:Reflect.apply,RegExpPrototypeTest(n,e){return n.test(e)},SafeSet:Set,String,StringPrototypeSlice(n,e,t){return n.slice(e,t)},StringPrototypeToLowerCase(n){return n.toLowerCase()},StringPrototypeToUpperCase(n){return n.toUpperCase()},StringPrototypeTrim(n){return n.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(n,e,t){return n.set(e,t)},Boolean,Uint8Array},eO={exports:{}},Bd={exports:{}},gJ=Bd.exports,Ww;function Hu(){return Ww||(Ww=1,Object.defineProperty(gJ,"__esModule",{value:!0}),Bd.exports=Object.freeze(Object.create(null,{__unenv__:{get:()=>!0}}))),Bd.exports}var y0={exports:{}},ul=typeof Reflect=="object"?Reflect:null,Gw=ul&&typeof ul.apply=="function"?ul.apply:function(e,t,i){return Function.prototype.apply.call(e,t,i)},Dd;ul&&typeof ul.ownKeys=="function"?Dd=ul.ownKeys:Object.getOwnPropertySymbols?Dd=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Dd=function(e){return Object.getOwnPropertyNames(e)};function bJ(n){console&&console.warn&&console.warn(n)}var tO=Number.isNaN||function(e){return e!==e};function Et(){Et.init.call(this)}y0.exports=Et;y0.exports.once=_J;Et.EventEmitter=Et;Et.prototype._events=void 0;Et.prototype._eventsCount=0;Et.prototype._maxListeners=void 0;var qw=10;function sp(n){if(typeof n!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n)}Object.defineProperty(Et,"defaultMaxListeners",{enumerable:!0,get:function(){return qw},set:function(n){if(typeof n!="number"||n<0||tO(n))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+n+".");qw=n}});Et.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};Et.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||tO(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function nO(n){return n._maxListeners===void 0?Et.defaultMaxListeners:n._maxListeners}Et.prototype.getMaxListeners=function(){return nO(this)};Et.prototype.emit=function(e){for(var t=[],i=1;i<arguments.length;i++)t.push(arguments[i]);var r=e==="error",s=this._events;if(s!==void 0)r=r&&s.error===void 0;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var c=s[e];if(c===void 0)return!1;if(typeof c=="function")Gw(c,this,t);else for(var f=c.length,d=aO(c,f),i=0;i<f;++i)Gw(d[i],this,t);return!0};function iO(n,e,t,i){var r,s,o;if(sp(t),s=n._events,s===void 0?(s=n._events=Object.create(null),n._eventsCount=0):(s.newListener!==void 0&&(n.emit("newListener",e,t.listener?t.listener:t),s=n._events),o=s[e]),o===void 0)o=s[e]=t,++n._eventsCount;else if(typeof o=="function"?o=s[e]=i?[t,o]:[o,t]:i?o.unshift(t):o.push(t),r=nO(n),r>0&&o.length>r&&!o.warned){o.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=n,a.type=e,a.count=o.length,bJ(a)}return n}Et.prototype.addListener=function(e,t){return iO(this,e,t,!1)};Et.prototype.on=Et.prototype.addListener;Et.prototype.prependListener=function(e,t){return iO(this,e,t,!0)};function TJ(){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 rO(n,e,t){var i={fired:!1,wrapFn:void 0,target:n,type:e,listener:t},r=TJ.bind(i);return r.listener=t,i.wrapFn=r,r}Et.prototype.once=function(e,t){return sp(t),this.on(e,rO(this,e,t)),this};Et.prototype.prependOnceListener=function(e,t){return sp(t),this.prependListener(e,rO(this,e,t)),this};Et.prototype.removeListener=function(e,t){var i,r,s,o,a;if(sp(t),r=this._events,r===void 0)return this;if(i=r[e],i===void 0)return this;if(i===t||i.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,i.listener||t));else if(typeof i!="function"){for(s=-1,o=i.length-1;o>=0;o--)if(i[o]===t||i[o].listener===t){a=i[o].listener,s=o;break}if(s<0)return this;s===0?i.shift():SJ(i,s),i.length===1&&(r[e]=i[0]),r.removeListener!==void 0&&this.emit("removeListener",e,a||t)}return this};Et.prototype.off=Et.prototype.removeListener;Et.prototype.removeAllListeners=function(e){var t,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[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete i[e]),this;if(arguments.length===0){var s=Object.keys(i),o;for(r=0;r<s.length;++r)o=s[r],o!=="removeListener"&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=i[e],typeof t=="function")this.removeListener(e,t);else if(t!==void 0)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this};function sO(n,e,t){var i=n._events;if(i===void 0)return[];var r=i[e];return r===void 0?[]:typeof r=="function"?t?[r.listener||r]:[r]:t?vJ(r):aO(r,r.length)}Et.prototype.listeners=function(e){return sO(this,e,!0)};Et.prototype.rawListeners=function(e){return sO(this,e,!1)};Et.listenerCount=function(n,e){return typeof n.listenerCount=="function"?n.listenerCount(e):oO.call(n,e)};Et.prototype.listenerCount=oO;function oO(n){var e=this._events;if(e!==void 0){var t=e[n];if(typeof t=="function")return 1;if(t!==void 0)return t.length}return 0}Et.prototype.eventNames=function(){return this._eventsCount>0?Dd(this._events):[]};function aO(n,e){for(var t=new Array(e),i=0;i<e;++i)t[i]=n[i];return t}function SJ(n,e){for(;e+1<n.length;e++)n[e]=n[e+1];n.pop()}function vJ(n){for(var e=new Array(n.length),t=0;t<e.length;++t)e[t]=n[t].listener||n[t];return e}function _J(n,e){return new Promise(function(t,i){function r(o){n.removeListener(e,s),i(o)}function s(){typeof n.removeListener=="function"&&n.removeListener("error",r),t([].slice.call(arguments))}lO(n,e,s,{once:!0}),e!=="error"&&wJ(n,r,{once:!0})})}function wJ(n,e,t){typeof n.on=="function"&&lO(n,"error",e,t)}function lO(n,e,t,i){if(typeof n.on=="function")i.once?n.once(e,t):n.on(e,t);else if(typeof n.addEventListener=="function")n.addEventListener(e,function r(s){i.once&&n.removeEventListener(e,r),t(s)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof n)}var op=y0.exports;(function(n){const e=mo,{kResistStopPropagation:t,SymbolDispose:i}=$t,r=globalThis.AbortSignal||Hu().AbortSignal,s=globalThis.AbortController||Hu().AbortController,o=Object.getPrototypeOf(async function(){}).constructor,a=globalThis.Blob||e.Blob,c=typeof a<"u"?function(h){return h instanceof a}:function(h){return!1},f=(y,h)=>{if(y!==void 0&&(y===null||typeof y!="object"||!("aborted"in y)))throw new ERR_INVALID_ARG_TYPE(h,"AbortSignal",y)},d=(y,h)=>{if(typeof y!="function")throw new ERR_INVALID_ARG_TYPE(h,"Function",y)};class p extends Error{constructor(h){if(!Array.isArray(h))throw new TypeError(`Expected input to be an Array, got ${typeof h}`);let S="";for(let m=0;m<h.length;m++)S+=` ${h[m].stack}
|
|
1021
|
+
`;super(S),this.name="AggregateError",this.errors=h}}n.exports={AggregateError:p,kEmptyObject:Object.freeze({}),once(y){let h=!1;return function(...S){h||(h=!0,y.apply(this,S))}},createDeferredPromise:function(){let y,h;return{promise:new Promise((m,v)=>{y=m,h=v}),resolve:y,reject:h}},promisify(y){return new Promise((h,S)=>{y((m,...v)=>m?S(m):h(...v))})},debuglog(){return function(){}},format(y,...h){return y.replace(/%([sdifj])/g,function(...[S,m]){const v=h.shift();return m==="f"?v.toFixed(6):m==="j"?JSON.stringify(v):m==="s"&&typeof v=="object"?`${v.constructor!==Object?v.constructor.name:""} {}`.trim():v.toString()})},inspect(y){switch(typeof y){case"string":if(y.includes("'"))if(y.includes('"')){if(!y.includes("`")&&!y.includes("${"))return`\`${y}\``}else return`"${y}"`;return`'${y}'`;case"number":return isNaN(y)?"NaN":Object.is(y,-0)?String(y):y;case"bigint":return`${String(y)}n`;case"boolean":case"undefined":return String(y);case"object":return"{}"}},types:{isAsyncFunction(y){return y instanceof o},isArrayBufferView(y){return ArrayBuffer.isView(y)}},isBlob:c,deprecate(y,h){return y},addAbortListener:op.addAbortListener||function(h,S){if(h===void 0)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",h);f(h,"signal"),d(S,"listener");let m;return h.aborted?queueMicrotask(()=>S()):(h.addEventListener("abort",S,{__proto__:null,once:!0,[t]:!0}),m=()=>{h.removeEventListener("abort",S)}),{__proto__:null,[i](){var v;(v=m)===null||v===void 0||v()}}},AbortSignalAny:r.any||function(h){if(h.length===1)return h[0];const S=new s,m=()=>S.abort();return h.forEach(v=>{f(v,"signals"),v.addEventListener("abort",m,{once:!0})}),S.signal.addEventListener("abort",()=>{h.forEach(v=>v.removeEventListener("abort",m))},{once:!0}),S.signal}},n.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})(eO);var Un=eO.exports,g0={};const{format:LJ,inspect:$d,AggregateError:NJ}=Un,kJ=globalThis.AggregateError||NJ,OJ=Symbol("kIsNodeError"),EJ=["string","function","number","object","Function","Object","boolean","bigint","symbol"],CJ=/^([A-Z][a-z0-9]*)+$/,AJ="__node_internal_",ap={};function Xo(n,e){if(!n)throw new ap.ERR_INTERNAL_ASSERTION(e)}function Hw(n){let e="",t=n.length;const i=n[0]==="-"?1:0;for(;t>=i+4;t-=3)e=`_${n.slice(t-3,t)}${e}`;return`${n.slice(0,t)}${e}`}function FJ(n,e,t){if(typeof e=="function")return Xo(e.length<=t.length,`Code: ${n}; The provided arguments length (${t.length}) does not match the required ones (${e.length}).`),e(...t);const i=(e.match(/%[dfijoOs]/g)||[]).length;return Xo(i===t.length,`Code: ${n}; The provided arguments length (${t.length}) does not match the required ones (${i}).`),t.length===0?e:LJ(e,...t)}function vn(n,e,t){t||(t=Error);class i extends t{constructor(...s){super(FJ(n,e,s))}toString(){return`${this.name} [${n}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:t.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${n}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=n,i.prototype[OJ]=!0,ap[n]=i}function Vw(n){const e=AJ+n.name;return Object.defineProperty(n,"name",{value:e}),n}function PJ(n,e){if(n&&e&&n!==e){if(Array.isArray(e.errors))return e.errors.push(n),e;const t=new kJ([e,n],e.message);return t.code=e.code,t}return n||e}let MJ=class extends Error{constructor(e="The operation was aborted",t=void 0){if(t!==void 0&&typeof t!="object")throw new ap.ERR_INVALID_ARG_TYPE("options","Object",t);super(e,t),this.code="ABORT_ERR",this.name="AbortError"}};vn("ERR_ASSERTION","%s",Error);vn("ERR_INVALID_ARG_TYPE",(n,e,t)=>{Xo(typeof n=="string","'name' must be a string"),Array.isArray(e)||(e=[e]);let i="The ";n.endsWith(" argument")?i+=`${n} `:i+=`"${n}" ${n.includes(".")?"property":"argument"} `,i+="must be ";const r=[],s=[],o=[];for(const c of e)Xo(typeof c=="string","All expected entries have to be of type string"),EJ.includes(c)?r.push(c.toLowerCase()):CJ.test(c)?s.push(c):(Xo(c!=="object",'The value "object" should be written as "Object"'),o.push(c));if(s.length>0){const c=r.indexOf("object");c!==-1&&(r.splice(r,c,1),s.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 c=r.pop();i+=`one of type ${r.join(", ")}, or ${c}`}}(s.length>0||o.length>0)&&(i+=" or ")}if(s.length>0){switch(s.length){case 1:i+=`an instance of ${s[0]}`;break;case 2:i+=`an instance of ${s[0]} or ${s[1]}`;break;default:{const c=s.pop();i+=`an instance of ${s.join(", ")}, or ${c}`}}o.length>0&&(i+=" or ")}switch(o.length){case 0:break;case 1:o[0].toLowerCase()!==o[0]&&(i+="an "),i+=`${o[0]}`;break;case 2:i+=`one of ${o[0]} or ${o[1]}`;break;default:{const c=o.pop();i+=`one of ${o.join(", ")}, or ${c}`}}if(t==null)i+=`. Received ${t}`;else if(typeof t=="function"&&t.name)i+=`. Received function ${t.name}`;else if(typeof t=="object"){var a;if((a=t.constructor)!==null&&a!==void 0&&a.name)i+=`. Received an instance of ${t.constructor.name}`;else{const c=$d(t,{depth:-1});i+=`. Received ${c}`}}else{let c=$d(t,{colors:!1});c.length>25&&(c=`${c.slice(0,25)}...`),i+=`. Received type ${typeof t} (${c})`}return i},TypeError);vn("ERR_INVALID_ARG_VALUE",(n,e,t="is invalid")=>{let i=$d(e);return i.length>128&&(i=i.slice(0,128)+"..."),`The ${n.includes(".")?"property":"argument"} '${n}' ${t}. Received ${i}`},TypeError);vn("ERR_INVALID_RETURN_VALUE",(n,e,t)=>{var i;const r=t!=null&&(i=t.constructor)!==null&&i!==void 0&&i.name?`instance of ${t.constructor.name}`:`type ${typeof t}`;return`Expected ${n} to be returned from the "${e}" function but got ${r}.`},TypeError);vn("ERR_MISSING_ARGS",(...n)=>{Xo(n.length>0,"At least one arg needs to be specified");let e;const t=n.length;switch(n=(Array.isArray(n)?n:[n]).map(i=>`"${i}"`).join(" or "),t){case 1:e+=`The ${n[0]} argument`;break;case 2:e+=`The ${n[0]} and ${n[1]} arguments`;break;default:{const i=n.pop();e+=`The ${n.join(", ")}, and ${i} arguments`}break}return`${e} must be specified`},TypeError);vn("ERR_OUT_OF_RANGE",(n,e,t)=>{Xo(e,'Missing "range" argument');let i;return Number.isInteger(t)&&Math.abs(t)>2**32?i=Hw(String(t)):typeof t=="bigint"?(i=String(t),(t>2n**32n||t<-(2n**32n))&&(i=Hw(i)),i+="n"):i=$d(t),`The value of "${n}" is out of range. It must be ${e}. Received ${i}`},RangeError);vn("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);vn("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);vn("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);vn("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);vn("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);vn("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);vn("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);vn("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);vn("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);vn("ERR_STREAM_WRITE_AFTER_END","write after end",Error);vn("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);var ni={AbortError:MJ,aggregateTwoErrors:Vw(PJ),hideStackFrames:Vw,codes:ap};const{ArrayIsArray:b0,ArrayPrototypeIncludes:uO,ArrayPrototypeJoin:cO,ArrayPrototypeMap:IJ,NumberIsInteger:T0,NumberIsNaN:RJ,NumberMAX_SAFE_INTEGER:jJ,NumberMIN_SAFE_INTEGER:BJ,NumberParseInt:DJ,ObjectPrototypeHasOwnProperty:UJ,RegExpPrototypeExec:fO,String:xJ,StringPrototypeToUpperCase:JJ,StringPrototypeTrim:zJ}=$t,{hideStackFrames:qi,codes:{ERR_SOCKET_BAD_PORT:WJ,ERR_INVALID_ARG_TYPE:Cn,ERR_INVALID_ARG_VALUE:jl,ERR_OUT_OF_RANGE:la,ERR_UNKNOWN_SIGNAL:Kw}}=ni,{normalizeEncoding:GJ}=Un,{isAsyncFunction:qJ,isArrayBufferView:HJ}=Un.types,Zw={};function VJ(n){return n===(n|0)}function KJ(n){return n===n>>>0}const ZJ=/^[0-7]+$/,QJ="must be a 32-bit unsigned integer or an octal string";function XJ(n,e,t){if(typeof n>"u"&&(n=t),typeof n=="string"){if(fO(ZJ,n)===null)throw new jl(e,n,QJ);n=DJ(n,8)}return dO(n,e),n}const YJ=qi((n,e,t=BJ,i=jJ)=>{if(typeof n!="number")throw new Cn(e,"number",n);if(!T0(n))throw new la(e,"an integer",n);if(n<t||n>i)throw new la(e,`>= ${t} && <= ${i}`,n)}),$J=qi((n,e,t=-2147483648,i=2147483647)=>{if(typeof n!="number")throw new Cn(e,"number",n);if(!T0(n))throw new la(e,"an integer",n);if(n<t||n>i)throw new la(e,`>= ${t} && <= ${i}`,n)}),dO=qi((n,e,t=!1)=>{if(typeof n!="number")throw new Cn(e,"number",n);if(!T0(n))throw new la(e,"an integer",n);const i=t?1:0,r=4294967295;if(n<i||n>r)throw new la(e,`>= ${i} && <= ${r}`,n)});function S0(n,e){if(typeof n!="string")throw new Cn(e,"string",n)}function ez(n,e,t=void 0,i){if(typeof n!="number")throw new Cn(e,"number",n);if(t!=null&&n<t||i!=null&&n>i||(t!=null||i!=null)&&RJ(n))throw new la(e,`${t!=null?`>= ${t}`:""}${t!=null&&i!=null?" && ":""}${i!=null?`<= ${i}`:""}`,n)}const tz=qi((n,e,t)=>{if(!uO(t,n)){const r="must be one of: "+cO(IJ(t,s=>typeof s=="string"?`'${s}'`:xJ(s)),", ");throw new jl(e,n,r)}});function hO(n,e){if(typeof n!="boolean")throw new Cn(e,"boolean",n)}function Vy(n,e,t){return n==null||!UJ(n,e)?t:n[e]}const nz=qi((n,e,t=null)=>{const i=Vy(t,"allowArray",!1),r=Vy(t,"allowFunction",!1);if(!Vy(t,"nullable",!1)&&n===null||!i&&b0(n)||typeof n!="object"&&(!r||typeof n!="function"))throw new Cn(e,"Object",n)}),iz=qi((n,e)=>{if(n!=null&&typeof n!="object"&&typeof n!="function")throw new Cn(e,"a dictionary",n)}),lp=qi((n,e,t=0)=>{if(!b0(n))throw new Cn(e,"Array",n);if(n.length<t){const i=`must be longer than ${t}`;throw new jl(e,n,i)}});function rz(n,e){lp(n,e);for(let t=0;t<n.length;t++)S0(n[t],`${e}[${t}]`)}function sz(n,e){lp(n,e);for(let t=0;t<n.length;t++)hO(n[t],`${e}[${t}]`)}function oz(n,e){lp(n,e);for(let t=0;t<n.length;t++){const i=n[t],r=`${e}[${t}]`;if(i==null)throw new Cn(r,"AbortSignal",i);pO(i,r)}}function az(n,e="signal"){if(S0(n,e),Zw[n]===void 0)throw Zw[JJ(n)]!==void 0?new Kw(n+" (signals must use all capital letters)"):new Kw(n)}const lz=qi((n,e="buffer")=>{if(!HJ(n))throw new Cn(e,["Buffer","TypedArray","DataView"],n)});function uz(n,e){const t=GJ(e),i=n.length;if(t==="hex"&&i%2!==0)throw new jl("encoding",e,`is invalid for data of length ${i}`)}function cz(n,e="Port",t=!0){if(typeof n!="number"&&typeof n!="string"||typeof n=="string"&&zJ(n).length===0||+n!==+n>>>0||n>65535||n===0&&!t)throw new WJ(e,n,t);return n|0}const pO=qi((n,e)=>{if(n!==void 0&&(n===null||typeof n!="object"||!("aborted"in n)))throw new Cn(e,"AbortSignal",n)}),fz=qi((n,e)=>{if(typeof n!="function")throw new Cn(e,"Function",n)}),dz=qi((n,e)=>{if(typeof n!="function"||qJ(n))throw new Cn(e,"Function",n)}),hz=qi((n,e)=>{if(n!==void 0)throw new Cn(e,"undefined",n)});function pz(n,e,t){if(!uO(t,n))throw new Cn(e,`('${cO(t,"|")}')`,n)}const mz=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function Qw(n,e){if(typeof n>"u"||!fO(mz,n))throw new jl(e,n,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}function yz(n){if(typeof n=="string")return Qw(n,"hints"),n;if(b0(n)){const e=n.length;let t="";if(e===0)return t;for(let i=0;i<e;i++){const r=n[i];Qw(r,"hints"),t+=r,i!==e-1&&(t+=", ")}return t}throw new jl("hints",n,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}var xc={isInt32:VJ,isUint32:KJ,parseFileMode:XJ,validateArray:lp,validateStringArray:rz,validateBooleanArray:sz,validateAbortSignalArray:oz,validateBoolean:hO,validateBuffer:lz,validateDictionary:iz,validateEncoding:uz,validateFunction:fz,validateInt32:$J,validateInteger:YJ,validateNumber:ez,validateObject:nz,validateOneOf:tz,validatePlainFunction:dz,validatePort:cz,validateSignalName:az,validateString:S0,validateUint32:dO,validateUndefined:hz,validateUnion:pz,validateAbortSignal:pO,validateLinkHeaderValue:yz},v0={exports:{}},mO={exports:{}},sn=mO.exports={},Or,Er;function jg(){throw new Error("setTimeout has not been defined")}function Bg(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Or=setTimeout:Or=jg}catch{Or=jg}try{typeof clearTimeout=="function"?Er=clearTimeout:Er=Bg}catch{Er=Bg}})();function yO(n){if(Or===setTimeout)return setTimeout(n,0);if((Or===jg||!Or)&&setTimeout)return Or=setTimeout,setTimeout(n,0);try{return Or(n,0)}catch{try{return Or.call(null,n,0)}catch{return Or.call(this,n,0)}}}function gz(n){if(Er===clearTimeout)return clearTimeout(n);if((Er===Bg||!Er)&&clearTimeout)return Er=clearTimeout,clearTimeout(n);try{return Er(n)}catch{try{return Er.call(null,n)}catch{return Er.call(this,n)}}}var ds=[],cl=!1,Ko,Ud=-1;function bz(){!cl||!Ko||(cl=!1,Ko.length?ds=Ko.concat(ds):Ud=-1,ds.length&&gO())}function gO(){if(!cl){var n=yO(bz);cl=!0;for(var e=ds.length;e;){for(Ko=ds,ds=[];++Ud<e;)Ko&&Ko[Ud].run();Ud=-1,e=ds.length}Ko=null,cl=!1,gz(n)}}sn.nextTick=function(n){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];ds.push(new bO(n,e)),ds.length===1&&!cl&&yO(gO)};function bO(n,e){this.fun=n,this.array=e}bO.prototype.run=function(){this.fun.apply(null,this.array)};sn.title="browser";sn.browser=!0;sn.env={};sn.argv=[];sn.version="";sn.versions={};function Os(){}sn.on=Os;sn.addListener=Os;sn.once=Os;sn.off=Os;sn.removeListener=Os;sn.removeAllListeners=Os;sn.emit=Os;sn.prependListener=Os;sn.prependOnceListener=Os;sn.listeners=function(n){return[]};sn.binding=function(n){throw new Error("process.binding is not supported")};sn.cwd=function(){return"/"};sn.chdir=function(n){throw new Error("process.chdir is not supported")};sn.umask=function(){return 0};var ba=mO.exports;const{SymbolAsyncIterator:Xw,SymbolIterator:Yw,SymbolFor:Ta}=$t,TO=Ta("nodejs.stream.destroyed"),SO=Ta("nodejs.stream.errored"),Dg=Ta("nodejs.stream.readable"),Ug=Ta("nodejs.stream.writable"),vO=Ta("nodejs.stream.disturbed"),Tz=Ta("nodejs.webstream.isClosedPromise"),Sz=Ta("nodejs.webstream.controllerErrorFunction");function up(n,e=!1){var t;return!!(n&&typeof n.pipe=="function"&&typeof n.on=="function"&&(!e||typeof n.pause=="function"&&typeof n.resume=="function")&&(!n._writableState||((t=n._readableState)===null||t===void 0?void 0:t.readable)!==!1)&&(!n._writableState||n._readableState))}function cp(n){var e;return!!(n&&typeof n.write=="function"&&typeof n.on=="function"&&(!n._readableState||((e=n._writableState)===null||e===void 0?void 0:e.writable)!==!1))}function vz(n){return!!(n&&typeof n.pipe=="function"&&n._readableState&&typeof n.on=="function"&&typeof n.write=="function")}function xr(n){return n&&(n._readableState||n._writableState||typeof n.write=="function"&&typeof n.on=="function"||typeof n.pipe=="function"&&typeof n.on=="function")}function _O(n){return!!(n&&!xr(n)&&typeof n.pipeThrough=="function"&&typeof n.getReader=="function"&&typeof n.cancel=="function")}function wO(n){return!!(n&&!xr(n)&&typeof n.getWriter=="function"&&typeof n.abort=="function")}function LO(n){return!!(n&&!xr(n)&&typeof n.readable=="object"&&typeof n.writable=="object")}function _z(n){return _O(n)||wO(n)||LO(n)}function wz(n,e){return n==null?!1:e===!0?typeof n[Xw]=="function":e===!1?typeof n[Yw]=="function":typeof n[Xw]=="function"||typeof n[Yw]=="function"}function fp(n){if(!xr(n))return null;const e=n._writableState,t=n._readableState,i=e||t;return!!(n.destroyed||n[TO]||i!=null&&i.destroyed)}function NO(n){if(!cp(n))return null;if(n.writableEnded===!0)return!0;const e=n._writableState;return e!=null&&e.errored?!1:typeof e?.ended!="boolean"?null:e.ended}function Lz(n,e){if(!cp(n))return null;if(n.writableFinished===!0)return!0;const t=n._writableState;return t!=null&&t.errored?!1:typeof t?.finished!="boolean"?null:!!(t.finished||e===!1&&t.ended===!0&&t.length===0)}function Nz(n){if(!up(n))return null;if(n.readableEnded===!0)return!0;const e=n._readableState;return!e||e.errored?!1:typeof e?.ended!="boolean"?null:e.ended}function kO(n,e){if(!up(n))return null;const t=n._readableState;return t!=null&&t.errored?!1:typeof t?.endEmitted!="boolean"?null:!!(t.endEmitted||e===!1&&t.ended===!0&&t.length===0)}function OO(n){return n&&n[Dg]!=null?n[Dg]:typeof n?.readable!="boolean"?null:fp(n)?!1:up(n)&&n.readable&&!kO(n)}function EO(n){return n&&n[Ug]!=null?n[Ug]:typeof n?.writable!="boolean"?null:fp(n)?!1:cp(n)&&n.writable&&!NO(n)}function kz(n,e){return xr(n)?fp(n)?!0:!(e?.readable!==!1&&OO(n)||e?.writable!==!1&&EO(n)):null}function Oz(n){var e,t;return xr(n)?n.writableErrored?n.writableErrored:(e=(t=n._writableState)===null||t===void 0?void 0:t.errored)!==null&&e!==void 0?e:null:null}function Ez(n){var e,t;return xr(n)?n.readableErrored?n.readableErrored:(e=(t=n._readableState)===null||t===void 0?void 0:t.errored)!==null&&e!==void 0?e:null:null}function Cz(n){if(!xr(n))return null;if(typeof n.closed=="boolean")return n.closed;const e=n._writableState,t=n._readableState;return typeof e?.closed=="boolean"||typeof t?.closed=="boolean"?e?.closed||t?.closed:typeof n._closed=="boolean"&&CO(n)?n._closed:null}function CO(n){return typeof n._closed=="boolean"&&typeof n._defaultKeepAlive=="boolean"&&typeof n._removedConnection=="boolean"&&typeof n._removedContLen=="boolean"}function AO(n){return typeof n._sent100=="boolean"&&CO(n)}function Az(n){var e;return typeof n._consuming=="boolean"&&typeof n._dumped=="boolean"&&((e=n.req)===null||e===void 0?void 0:e.upgradeOrConnect)===void 0}function Fz(n){if(!xr(n))return null;const e=n._writableState,t=n._readableState,i=e||t;return!i&&AO(n)||!!(i&&i.autoDestroy&&i.emitClose&&i.closed===!1)}function Pz(n){var e;return!!(n&&((e=n[vO])!==null&&e!==void 0?e:n.readableDidRead||n.readableAborted))}function Mz(n){var e,t,i,r,s,o,a,c,f,d;return!!(n&&((e=(t=(i=(r=(s=(o=n[SO])!==null&&o!==void 0?o:n.readableErrored)!==null&&s!==void 0?s:n.writableErrored)!==null&&r!==void 0?r:(a=n._readableState)===null||a===void 0?void 0:a.errorEmitted)!==null&&i!==void 0?i:(c=n._writableState)===null||c===void 0?void 0:c.errorEmitted)!==null&&t!==void 0?t:(f=n._readableState)===null||f===void 0?void 0:f.errored)!==null&&e!==void 0?e:!((d=n._writableState)===null||d===void 0)&&d.errored))}var Es={isDestroyed:fp,kIsDestroyed:TO,isDisturbed:Pz,kIsDisturbed:vO,isErrored:Mz,kIsErrored:SO,isReadable:OO,kIsReadable:Dg,kIsClosedPromise:Tz,kControllerErrorFunction:Sz,kIsWritable:Ug,isClosed:Cz,isDuplexNodeStream:vz,isFinished:kz,isIterable:wz,isReadableNodeStream:up,isReadableStream:_O,isReadableEnded:Nz,isReadableFinished:kO,isReadableErrored:Ez,isNodeStream:xr,isWebStream:_z,isWritable:EO,isWritableNodeStream:cp,isWritableStream:wO,isWritableEnded:NO,isWritableFinished:Lz,isWritableErrored:Oz,isServerRequest:Az,isServerResponse:AO,willEmitClose:Fz,isTransformStream:LO};const Qs=ba,{AbortError:FO,codes:Iz}=ni,{ERR_INVALID_ARG_TYPE:Rz,ERR_STREAM_PREMATURE_CLOSE:$w}=Iz,{kEmptyObject:xg,once:Jg}=Un,{validateAbortSignal:jz,validateFunction:Bz,validateObject:Dz,validateBoolean:Uz}=xc,{Promise:xz,PromisePrototypeThen:Jz,SymbolDispose:PO}=$t,{isClosed:zz,isReadable:eL,isReadableNodeStream:Ky,isReadableStream:Wz,isReadableFinished:tL,isReadableErrored:nL,isWritable:iL,isWritableNodeStream:rL,isWritableStream:Gz,isWritableFinished:sL,isWritableErrored:oL,isNodeStream:qz,willEmitClose:Hz,kIsClosedPromise:Vz}=Es;let fl;function Kz(n){return n.setHeader&&typeof n.abort=="function"}const zg=()=>{};function MO(n,e,t){var i,r;if(arguments.length===2?(t=e,e=xg):e==null?e=xg:Dz(e,"options"),Bz(t,"callback"),jz(e.signal,"options.signal"),t=Jg(t),Wz(n)||Gz(n))return Zz(n,e,t);if(!qz(n))throw new Rz("stream",["ReadableStream","WritableStream","Stream"],n);const s=(i=e.readable)!==null&&i!==void 0?i:Ky(n),o=(r=e.writable)!==null&&r!==void 0?r:rL(n),a=n._writableState,c=n._readableState,f=()=>{n.writable||y()};let d=Hz(n)&&Ky(n)===s&&rL(n)===o,p=sL(n,!1);const y=()=>{p=!0,n.destroyed&&(d=!1),!(d&&(!n.readable||s))&&(!s||h)&&t.call(n)};let h=tL(n,!1);const S=()=>{h=!0,n.destroyed&&(d=!1),!(d&&(!n.writable||o))&&(!o||p)&&t.call(n)},m=D=>{t.call(n,D)};let v=zz(n);const C=()=>{v=!0;const D=oL(n)||nL(n);if(D&&typeof D!="boolean")return t.call(n,D);if(s&&!h&&Ky(n,!0)&&!tL(n,!1))return t.call(n,new $w);if(o&&!p&&!sL(n,!1))return t.call(n,new $w);t.call(n)},U=()=>{v=!0;const D=oL(n)||nL(n);if(D&&typeof D!="boolean")return t.call(n,D);t.call(n)},x=()=>{n.req.on("finish",y)};Kz(n)?(n.on("complete",y),d||n.on("abort",C),n.req?x():n.on("request",x)):o&&!a&&(n.on("end",f),n.on("close",f)),!d&&typeof n.aborted=="boolean"&&n.on("aborted",C),n.on("end",S),n.on("finish",y),e.error!==!1&&n.on("error",m),n.on("close",C),v?Qs.nextTick(C):a!=null&&a.errorEmitted||c!=null&&c.errorEmitted?d||Qs.nextTick(U):(!s&&(!d||eL(n))&&(p||iL(n)===!1)||!o&&(!d||iL(n))&&(h||eL(n)===!1)||c&&n.req&&n.aborted)&&Qs.nextTick(U);const J=()=>{t=zg,n.removeListener("aborted",C),n.removeListener("complete",y),n.removeListener("abort",C),n.removeListener("request",x),n.req&&n.req.removeListener("finish",y),n.removeListener("end",f),n.removeListener("close",f),n.removeListener("finish",y),n.removeListener("end",S),n.removeListener("error",m),n.removeListener("close",C)};if(e.signal&&!v){const D=()=>{const K=t;J(),K.call(n,new FO(void 0,{cause:e.signal.reason}))};if(e.signal.aborted)Qs.nextTick(D);else{fl=fl||Un.addAbortListener;const K=fl(e.signal,D),X=t;t=Jg((...E)=>{K[PO](),X.apply(n,E)})}}return J}function Zz(n,e,t){let i=!1,r=zg;if(e.signal)if(r=()=>{i=!0,t.call(n,new FO(void 0,{cause:e.signal.reason}))},e.signal.aborted)Qs.nextTick(r);else{fl=fl||Un.addAbortListener;const o=fl(e.signal,r),a=t;t=Jg((...c)=>{o[PO](),a.apply(n,c)})}const s=(...o)=>{i||Qs.nextTick(()=>t.apply(n,o))};return Jz(n[Vz].promise,s,s),zg}function Qz(n,e){var t;let i=!1;return e===null&&(e=xg),(t=e)!==null&&t!==void 0&&t.cleanup&&(Uz(e.cleanup,"cleanup"),i=e.cleanup),new xz((r,s)=>{const o=MO(n,e,a=>{i&&o(),a?s(a):r()})})}v0.exports=MO;v0.exports.finished=Qz;var yo=v0.exports;const Br=ba,{aggregateTwoErrors:Xz,codes:{ERR_MULTIPLE_CALLBACK:Yz},AbortError:$z}=ni,{Symbol:IO}=$t,{kIsDestroyed:eW,isDestroyed:tW,isFinished:nW,isServerRequest:iW}=Es,RO=IO("kDestroy"),Wg=IO("kConstruct");function jO(n,e,t){n&&(n.stack,e&&!e.errored&&(e.errored=n),t&&!t.errored&&(t.errored=n))}function rW(n,e){const t=this._readableState,i=this._writableState,r=i||t;return i!=null&&i.destroyed||t!=null&&t.destroyed?(typeof e=="function"&&e(),this):(jO(n,i,t),i&&(i.destroyed=!0),t&&(t.destroyed=!0),r.constructed?aL(this,n,e):this.once(RO,function(s){aL(this,Xz(s,n),e)}),this)}function aL(n,e,t){let i=!1;function r(s){if(i)return;i=!0;const o=n._readableState,a=n._writableState;jO(s,a,o),a&&(a.closed=!0),o&&(o.closed=!0),typeof t=="function"&&t(s),s?Br.nextTick(sW,n,s):Br.nextTick(BO,n)}try{n._destroy(e||null,r)}catch(s){r(s)}}function sW(n,e){Gg(n,e),BO(n)}function BO(n){const e=n._readableState,t=n._writableState;t&&(t.closeEmitted=!0),e&&(e.closeEmitted=!0),(t!=null&&t.emitClose||e!=null&&e.emitClose)&&n.emit("close")}function Gg(n,e){const t=n._readableState,i=n._writableState;i!=null&&i.errorEmitted||t!=null&&t.errorEmitted||(i&&(i.errorEmitted=!0),t&&(t.errorEmitted=!0),n.emit("error",e))}function oW(){const n=this._readableState,e=this._writableState;n&&(n.constructed=!0,n.closed=!1,n.closeEmitted=!1,n.destroyed=!1,n.errored=null,n.errorEmitted=!1,n.reading=!1,n.ended=n.readable===!1,n.endEmitted=n.readable===!1),e&&(e.constructed=!0,e.destroyed=!1,e.closed=!1,e.closeEmitted=!1,e.errored=null,e.errorEmitted=!1,e.finalCalled=!1,e.prefinished=!1,e.ended=e.writable===!1,e.ending=e.writable===!1,e.finished=e.writable===!1)}function qg(n,e,t){const i=n._readableState,r=n._writableState;if(r!=null&&r.destroyed||i!=null&&i.destroyed)return this;i!=null&&i.autoDestroy||r!=null&&r.autoDestroy?n.destroy(e):e&&(e.stack,r&&!r.errored&&(r.errored=e),i&&!i.errored&&(i.errored=e),t?Br.nextTick(Gg,n,e):Gg(n,e))}function aW(n,e){if(typeof n._construct!="function")return;const t=n._readableState,i=n._writableState;t&&(t.constructed=!1),i&&(i.constructed=!1),n.once(Wg,e),!(n.listenerCount(Wg)>1)&&Br.nextTick(lW,n)}function lW(n){let e=!1;function t(i){if(e){qg(n,i??new Yz);return}e=!0;const r=n._readableState,s=n._writableState,o=s||r;r&&(r.constructed=!0),s&&(s.constructed=!0),o.destroyed?n.emit(RO,i):i?qg(n,i,!0):Br.nextTick(uW,n)}try{n._construct(i=>{Br.nextTick(t,i)})}catch(i){Br.nextTick(t,i)}}function uW(n){n.emit(Wg)}function lL(n){return n?.setHeader&&typeof n.abort=="function"}function DO(n){n.emit("close")}function cW(n,e){n.emit("error",e),Br.nextTick(DO,n)}function fW(n,e){!n||tW(n)||(!e&&!nW(n)&&(e=new $z),iW(n)?(n.socket=null,n.destroy(e)):lL(n)?n.abort():lL(n.req)?n.req.abort():typeof n.destroy=="function"?n.destroy(e):typeof n.close=="function"?n.close():e?Br.nextTick(cW,n,e):Br.nextTick(DO,n),n.destroyed||(n[eW]=!0))}var Bl={construct:aW,destroyer:fW,destroy:rW,undestroy:oW,errorOrDestroy:qg};const{ArrayIsArray:dW,ObjectSetPrototypeOf:UO}=$t,{EventEmitter:dp}=op;function hp(n){dp.call(this,n)}UO(hp.prototype,dp.prototype);UO(hp,dp);hp.prototype.pipe=function(n,e){const t=this;function i(d){n.writable&&n.write(d)===!1&&t.pause&&t.pause()}t.on("data",i);function r(){t.readable&&t.resume&&t.resume()}n.on("drain",r),!n._isStdio&&(!e||e.end!==!1)&&(t.on("end",o),t.on("close",a));let s=!1;function o(){s||(s=!0,n.end())}function a(){s||(s=!0,typeof n.destroy=="function"&&n.destroy())}function c(d){f(),dp.listenerCount(this,"error")===0&&this.emit("error",d)}Hg(t,"error",c),Hg(n,"error",c);function f(){t.removeListener("data",i),n.removeListener("drain",r),t.removeListener("end",o),t.removeListener("close",a),t.removeListener("error",c),n.removeListener("error",c),t.removeListener("end",f),t.removeListener("close",f),n.removeListener("close",f)}return t.on("end",f),t.on("close",f),n.on("close",f),n.emit("pipe",t),n};function Hg(n,e,t){if(typeof n.prependListener=="function")return n.prependListener(e,t);!n._events||!n._events[e]?n.on(e,t):dW(n._events[e])?n._events[e].unshift(t):n._events[e]=[t,n._events[e]]}var _0={Stream:hp,prependListener:Hg},xO={exports:{}};(function(n){const{SymbolDispose:e}=$t,{AbortError:t,codes:i}=ni,{isNodeStream:r,isWebStream:s,kControllerErrorFunction:o}=Es,a=yo,{ERR_INVALID_ARG_TYPE:c}=i;let f;const d=(p,y)=>{if(typeof p!="object"||!("aborted"in p))throw new c(y,"AbortSignal",p)};n.exports.addAbortSignal=function(y,h){if(d(y,"signal"),!r(h)&&!s(h))throw new c("stream",["ReadableStream","WritableStream","Stream"],h);return n.exports.addAbortSignalNoValidate(y,h)},n.exports.addAbortSignalNoValidate=function(p,y){if(typeof p!="object"||!("aborted"in p))return y;const h=r(y)?()=>{y.destroy(new t(void 0,{cause:p.reason}))}:()=>{y[o](new t(void 0,{cause:p.reason}))};if(p.aborted)h();else{f=f||Un.addAbortListener;const S=f(p,h);a(y,S[e])}return y}})(xO);var pp=xO.exports;const{StringPrototypeSlice:uL,SymbolIterator:hW,TypedArrayPrototypeSet:bd,Uint8Array:pW}=$t,{Buffer:Zy}=mo,{inspect:mW}=Un;var yW=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){const t={data:e,next:this.head};this.length===0&&(this.tail=t),this.head=t,++this.length}shift(){if(this.length===0)return;const e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(this.length===0)return"";let t=this.head,i=""+t.data;for(;(t=t.next)!==null;)i+=e+t.data;return i}concat(e){if(this.length===0)return Zy.alloc(0);const t=Zy.allocUnsafe(e>>>0);let i=this.head,r=0;for(;i;)bd(t,i.data,r),r+=i.data.length,i=i.next;return t}consume(e,t){const i=this.head.data;if(e<i.length){const r=i.slice(0,e);return this.head.data=i.slice(e),r}return e===i.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[hW](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t="",i=this.head,r=0;do{const s=i.data;if(e>s.length)t+=s,e-=s.length;else{e===s.length?(t+=s,++r,i.next?this.head=i.next:this.head=this.tail=null):(t+=uL(s,0,e),this.head=i,i.data=uL(s,e));break}++r}while((i=i.next)!==null);return this.length-=r,t}_getBuffer(e){const t=Zy.allocUnsafe(e),i=e;let r=this.head,s=0;do{const o=r.data;if(e>o.length)bd(t,o,i-e),e-=o.length;else{e===o.length?(bd(t,o,i-e),++s,r.next?this.head=r.next:this.head=this.tail=null):(bd(t,new pW(o.buffer,o.byteOffset,e),i-e),this.head=r,r.data=o.slice(e));break}++s}while((r=r.next)!==null);return this.length-=s,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return mW(this,{...t,depth:0,customInspect:!1})}};const{MathFloor:gW,NumberIsInteger:bW}=$t,{validateInteger:TW}=xc,{ERR_INVALID_ARG_VALUE:SW}=ni.codes;let JO=16*1024,zO=16;function vW(n,e,t){return n.highWaterMark!=null?n.highWaterMark:e?n[t]:null}function WO(n){return n?zO:JO}function _W(n,e){TW(e,"value",0),n?zO=e:JO=e}function wW(n,e,t,i){const r=vW(e,i,t);if(r!=null){if(!bW(r)||r<0){const s=i?`options.${t}`:"options.highWaterMark";throw new SW(s,r)}return gW(r)}return WO(n.objectMode)}var mp={getHighWaterMark:wW,getDefaultHighWaterMark:WO,setDefaultHighWaterMark:_W},GO={},Vg={exports:{}},qO={};/*!
|
|
1022
|
+
* The buffer module from node.js, for the browser.
|
|
1023
|
+
*
|
|
1024
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
1025
|
+
* @license MIT
|
|
1026
|
+
*/(function(n){var e=wl,t=rp,i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=a,n.SlowBuffer=U,n.INSPECT_MAX_BYTES=50;var r=2147483647;n.kMaxLength=r,a.TYPED_ARRAY_SUPPORT=s(),!a.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 s(){try{var R=new Uint8Array(1),N={foo:function(){return 42}};return Object.setPrototypeOf(N,Uint8Array.prototype),Object.setPrototypeOf(R,N),R.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function o(R){if(R>r)throw new RangeError('The value "'+R+'" is invalid for option "size"');var N=new Uint8Array(R);return Object.setPrototypeOf(N,a.prototype),N}function a(R,N,A){if(typeof R=="number"){if(typeof N=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return p(R)}return c(R,N,A)}a.poolSize=8192;function c(R,N,A){if(typeof R=="string")return y(R,N);if(ArrayBuffer.isView(R))return S(R);if(R==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof R);if(te(R,ArrayBuffer)||R&&te(R.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(te(R,SharedArrayBuffer)||R&&te(R.buffer,SharedArrayBuffer)))return m(R,N,A);if(typeof R=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var V=R.valueOf&&R.valueOf();if(V!=null&&V!==R)return a.from(V,N,A);var le=v(R);if(le)return le;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof R[Symbol.toPrimitive]=="function")return a.from(R[Symbol.toPrimitive]("string"),N,A);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof R)}a.from=function(R,N,A){return c(R,N,A)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function f(R){if(typeof R!="number")throw new TypeError('"size" argument must be of type number');if(R<0)throw new RangeError('The value "'+R+'" is invalid for option "size"')}function d(R,N,A){return f(R),R<=0?o(R):N!==void 0?typeof A=="string"?o(R).fill(N,A):o(R).fill(N):o(R)}a.alloc=function(R,N,A){return d(R,N,A)};function p(R){return f(R),o(R<0?0:C(R)|0)}a.allocUnsafe=function(R){return p(R)},a.allocUnsafeSlow=function(R){return p(R)};function y(R,N){if((typeof N!="string"||N==="")&&(N="utf8"),!a.isEncoding(N))throw new TypeError("Unknown encoding: "+N);var A=x(R,N)|0,V=o(A),le=V.write(R,N);return le!==A&&(V=V.slice(0,le)),V}function h(R){for(var N=R.length<0?0:C(R.length)|0,A=o(N),V=0;V<N;V+=1)A[V]=R[V]&255;return A}function S(R){if(te(R,Uint8Array)){var N=new Uint8Array(R);return m(N.buffer,N.byteOffset,N.byteLength)}return h(R)}function m(R,N,A){if(N<0||R.byteLength<N)throw new RangeError('"offset" is outside of buffer bounds');if(R.byteLength<N+(A||0))throw new RangeError('"length" is outside of buffer bounds');var V;return N===void 0&&A===void 0?V=new Uint8Array(R):A===void 0?V=new Uint8Array(R,N):V=new Uint8Array(R,N,A),Object.setPrototypeOf(V,a.prototype),V}function v(R){if(a.isBuffer(R)){var N=C(R.length)|0,A=o(N);return A.length===0||R.copy(A,0,0,N),A}if(R.length!==void 0)return typeof R.length!="number"||ue(R.length)?o(0):h(R);if(R.type==="Buffer"&&Array.isArray(R.data))return h(R.data)}function C(R){if(R>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return R|0}function U(R){return+R!=R&&(R=0),a.alloc(+R)}a.isBuffer=function(N){return N!=null&&N._isBuffer===!0&&N!==a.prototype},a.compare=function(N,A){if(te(N,Uint8Array)&&(N=a.from(N,N.offset,N.byteLength)),te(A,Uint8Array)&&(A=a.from(A,A.offset,A.byteLength)),!a.isBuffer(N)||!a.isBuffer(A))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(N===A)return 0;for(var V=N.length,le=A.length,Te=0,ye=Math.min(V,le);Te<ye;++Te)if(N[Te]!==A[Te]){V=N[Te],le=A[Te];break}return V<le?-1:le<V?1:0},a.isEncoding=function(N){switch(String(N).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}},a.concat=function(N,A){if(!Array.isArray(N))throw new TypeError('"list" argument must be an Array of Buffers');if(N.length===0)return a.alloc(0);var V;if(A===void 0)for(A=0,V=0;V<N.length;++V)A+=N[V].length;var le=a.allocUnsafe(A),Te=0;for(V=0;V<N.length;++V){var ye=N[V];if(te(ye,Uint8Array))Te+ye.length>le.length?a.from(ye).copy(le,Te):Uint8Array.prototype.set.call(le,ye,Te);else if(a.isBuffer(ye))ye.copy(le,Te);else throw new TypeError('"list" argument must be an Array of Buffers');Te+=ye.length}return le};function x(R,N){if(a.isBuffer(R))return R.length;if(ArrayBuffer.isView(R)||te(R,ArrayBuffer))return R.byteLength;if(typeof R!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof R);var A=R.length,V=arguments.length>2&&arguments[2]===!0;if(!V&&A===0)return 0;for(var le=!1;;)switch(N){case"ascii":case"latin1":case"binary":return A;case"utf8":case"utf-8":return ve(R).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A*2;case"hex":return A>>>1;case"base64":return Pe(R).length;default:if(le)return V?-1:ve(R).length;N=(""+N).toLowerCase(),le=!0}}a.byteLength=x;function J(R,N,A){var V=!1;if((N===void 0||N<0)&&(N=0),N>this.length||((A===void 0||A>this.length)&&(A=this.length),A<=0)||(A>>>=0,N>>>=0,A<=N))return"";for(R||(R="utf8");;)switch(R){case"hex":return q(this,N,A);case"utf8":case"utf-8":return b(this,N,A);case"ascii":return M(this,N,A);case"latin1":case"binary":return z(this,N,A);case"base64":return T(this,N,A);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,N,A);default:if(V)throw new TypeError("Unknown encoding: "+R);R=(R+"").toLowerCase(),V=!0}}a.prototype._isBuffer=!0;function D(R,N,A){var V=R[N];R[N]=R[A],R[A]=V}a.prototype.swap16=function(){var N=this.length;if(N%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var A=0;A<N;A+=2)D(this,A,A+1);return this},a.prototype.swap32=function(){var N=this.length;if(N%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var A=0;A<N;A+=4)D(this,A,A+3),D(this,A+1,A+2);return this},a.prototype.swap64=function(){var N=this.length;if(N%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var A=0;A<N;A+=8)D(this,A,A+7),D(this,A+1,A+6),D(this,A+2,A+5),D(this,A+3,A+4);return this},a.prototype.toString=function(){var N=this.length;return N===0?"":arguments.length===0?b(this,0,N):J.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(N){if(!a.isBuffer(N))throw new TypeError("Argument must be a Buffer");return this===N?!0:a.compare(this,N)===0},a.prototype.inspect=function(){var N="",A=n.INSPECT_MAX_BYTES;return N=this.toString("hex",0,A).replace(/(.{2})/g,"$1 ").trim(),this.length>A&&(N+=" ... "),"<Buffer "+N+">"},i&&(a.prototype[i]=a.prototype.inspect),a.prototype.compare=function(N,A,V,le,Te){if(te(N,Uint8Array)&&(N=a.from(N,N.offset,N.byteLength)),!a.isBuffer(N))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof N);if(A===void 0&&(A=0),V===void 0&&(V=N?N.length:0),le===void 0&&(le=0),Te===void 0&&(Te=this.length),A<0||V>N.length||le<0||Te>this.length)throw new RangeError("out of range index");if(le>=Te&&A>=V)return 0;if(le>=Te)return-1;if(A>=V)return 1;if(A>>>=0,V>>>=0,le>>>=0,Te>>>=0,this===N)return 0;for(var ye=Te-le,Ie=V-A,Ue=Math.min(ye,Ie),ce=this.slice(le,Te),me=N.slice(A,V),P=0;P<Ue;++P)if(ce[P]!==me[P]){ye=ce[P],Ie=me[P];break}return ye<Ie?-1:Ie<ye?1:0};function K(R,N,A,V,le){if(R.length===0)return-1;if(typeof A=="string"?(V=A,A=0):A>2147483647?A=2147483647:A<-2147483648&&(A=-2147483648),A=+A,ue(A)&&(A=le?0:R.length-1),A<0&&(A=R.length+A),A>=R.length){if(le)return-1;A=R.length-1}else if(A<0)if(le)A=0;else return-1;if(typeof N=="string"&&(N=a.from(N,V)),a.isBuffer(N))return N.length===0?-1:X(R,N,A,V,le);if(typeof N=="number")return N=N&255,typeof Uint8Array.prototype.indexOf=="function"?le?Uint8Array.prototype.indexOf.call(R,N,A):Uint8Array.prototype.lastIndexOf.call(R,N,A):X(R,[N],A,V,le);throw new TypeError("val must be string, number or Buffer")}function X(R,N,A,V,le){var Te=1,ye=R.length,Ie=N.length;if(V!==void 0&&(V=String(V).toLowerCase(),V==="ucs2"||V==="ucs-2"||V==="utf16le"||V==="utf-16le")){if(R.length<2||N.length<2)return-1;Te=2,ye/=2,Ie/=2,A/=2}function Ue(O,Z){return Te===1?O[Z]:O.readUInt16BE(Z*Te)}var ce;if(le){var me=-1;for(ce=A;ce<ye;ce++)if(Ue(R,ce)===Ue(N,me===-1?0:ce-me)){if(me===-1&&(me=ce),ce-me+1===Ie)return me*Te}else me!==-1&&(ce-=ce-me),me=-1}else for(A+Ie>ye&&(A=ye-Ie),ce=A;ce>=0;ce--){for(var P=!0,_=0;_<Ie;_++)if(Ue(R,ce+_)!==Ue(N,_)){P=!1;break}if(P)return ce}return-1}a.prototype.includes=function(N,A,V){return this.indexOf(N,A,V)!==-1},a.prototype.indexOf=function(N,A,V){return K(this,N,A,V,!0)},a.prototype.lastIndexOf=function(N,A,V){return K(this,N,A,V,!1)};function E(R,N,A,V){A=Number(A)||0;var le=R.length-A;V?(V=Number(V),V>le&&(V=le)):V=le;var Te=N.length;V>Te/2&&(V=Te/2);for(var ye=0;ye<V;++ye){var Ie=parseInt(N.substr(ye*2,2),16);if(ue(Ie))return ye;R[A+ye]=Ie}return ye}function j(R,N,A,V){return Me(ve(N,R.length-A),R,A,V)}function ne(R,N,A,V){return Me(Le(N),R,A,V)}function se(R,N,A,V){return Me(Pe(N),R,A,V)}function re(R,N,A,V){return Me(Fe(N,R.length-A),R,A,V)}a.prototype.write=function(N,A,V,le){if(A===void 0)le="utf8",V=this.length,A=0;else if(V===void 0&&typeof A=="string")le=A,V=this.length,A=0;else if(isFinite(A))A=A>>>0,isFinite(V)?(V=V>>>0,le===void 0&&(le="utf8")):(le=V,V=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Te=this.length-A;if((V===void 0||V>Te)&&(V=Te),N.length>0&&(V<0||A<0)||A>this.length)throw new RangeError("Attempt to write outside buffer bounds");le||(le="utf8");for(var ye=!1;;)switch(le){case"hex":return E(this,N,A,V);case"utf8":case"utf-8":return j(this,N,A,V);case"ascii":case"latin1":case"binary":return ne(this,N,A,V);case"base64":return se(this,N,A,V);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,N,A,V);default:if(ye)throw new TypeError("Unknown encoding: "+le);le=(""+le).toLowerCase(),ye=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function T(R,N,A){return N===0&&A===R.length?e.fromByteArray(R):e.fromByteArray(R.slice(N,A))}function b(R,N,A){A=Math.min(R.length,A);for(var V=[],le=N;le<A;){var Te=R[le],ye=null,Ie=Te>239?4:Te>223?3:Te>191?2:1;if(le+Ie<=A){var Ue,ce,me,P;switch(Ie){case 1:Te<128&&(ye=Te);break;case 2:Ue=R[le+1],(Ue&192)===128&&(P=(Te&31)<<6|Ue&63,P>127&&(ye=P));break;case 3:Ue=R[le+1],ce=R[le+2],(Ue&192)===128&&(ce&192)===128&&(P=(Te&15)<<12|(Ue&63)<<6|ce&63,P>2047&&(P<55296||P>57343)&&(ye=P));break;case 4:Ue=R[le+1],ce=R[le+2],me=R[le+3],(Ue&192)===128&&(ce&192)===128&&(me&192)===128&&(P=(Te&15)<<18|(Ue&63)<<12|(ce&63)<<6|me&63,P>65535&&P<1114112&&(ye=P))}}ye===null?(ye=65533,Ie=1):ye>65535&&(ye-=65536,V.push(ye>>>10&1023|55296),ye=56320|ye&1023),V.push(ye),le+=Ie}return L(V)}var w=4096;function L(R){var N=R.length;if(N<=w)return String.fromCharCode.apply(String,R);for(var A="",V=0;V<N;)A+=String.fromCharCode.apply(String,R.slice(V,V+=w));return A}function M(R,N,A){var V="";A=Math.min(R.length,A);for(var le=N;le<A;++le)V+=String.fromCharCode(R[le]&127);return V}function z(R,N,A){var V="";A=Math.min(R.length,A);for(var le=N;le<A;++le)V+=String.fromCharCode(R[le]);return V}function q(R,N,A){var V=R.length;(!N||N<0)&&(N=0),(!A||A<0||A>V)&&(A=V);for(var le="",Te=N;Te<A;++Te)le+=ie[R[Te]];return le}function H(R,N,A){for(var V=R.slice(N,A),le="",Te=0;Te<V.length-1;Te+=2)le+=String.fromCharCode(V[Te]+V[Te+1]*256);return le}a.prototype.slice=function(N,A){var V=this.length;N=~~N,A=A===void 0?V:~~A,N<0?(N+=V,N<0&&(N=0)):N>V&&(N=V),A<0?(A+=V,A<0&&(A=0)):A>V&&(A=V),A<N&&(A=N);var le=this.subarray(N,A);return Object.setPrototypeOf(le,a.prototype),le};function $(R,N,A){if(R%1!==0||R<0)throw new RangeError("offset is not uint");if(R+N>A)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(N,A,V){N=N>>>0,A=A>>>0,V||$(N,A,this.length);for(var le=this[N],Te=1,ye=0;++ye<A&&(Te*=256);)le+=this[N+ye]*Te;return le},a.prototype.readUintBE=a.prototype.readUIntBE=function(N,A,V){N=N>>>0,A=A>>>0,V||$(N,A,this.length);for(var le=this[N+--A],Te=1;A>0&&(Te*=256);)le+=this[N+--A]*Te;return le},a.prototype.readUint8=a.prototype.readUInt8=function(N,A){return N=N>>>0,A||$(N,1,this.length),this[N]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(N,A){return N=N>>>0,A||$(N,2,this.length),this[N]|this[N+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(N,A){return N=N>>>0,A||$(N,2,this.length),this[N]<<8|this[N+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(N,A){return N=N>>>0,A||$(N,4,this.length),(this[N]|this[N+1]<<8|this[N+2]<<16)+this[N+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(N,A){return N=N>>>0,A||$(N,4,this.length),this[N]*16777216+(this[N+1]<<16|this[N+2]<<8|this[N+3])},a.prototype.readIntLE=function(N,A,V){N=N>>>0,A=A>>>0,V||$(N,A,this.length);for(var le=this[N],Te=1,ye=0;++ye<A&&(Te*=256);)le+=this[N+ye]*Te;return Te*=128,le>=Te&&(le-=Math.pow(2,8*A)),le},a.prototype.readIntBE=function(N,A,V){N=N>>>0,A=A>>>0,V||$(N,A,this.length);for(var le=A,Te=1,ye=this[N+--le];le>0&&(Te*=256);)ye+=this[N+--le]*Te;return Te*=128,ye>=Te&&(ye-=Math.pow(2,8*A)),ye},a.prototype.readInt8=function(N,A){return N=N>>>0,A||$(N,1,this.length),this[N]&128?(255-this[N]+1)*-1:this[N]},a.prototype.readInt16LE=function(N,A){N=N>>>0,A||$(N,2,this.length);var V=this[N]|this[N+1]<<8;return V&32768?V|4294901760:V},a.prototype.readInt16BE=function(N,A){N=N>>>0,A||$(N,2,this.length);var V=this[N+1]|this[N]<<8;return V&32768?V|4294901760:V},a.prototype.readInt32LE=function(N,A){return N=N>>>0,A||$(N,4,this.length),this[N]|this[N+1]<<8|this[N+2]<<16|this[N+3]<<24},a.prototype.readInt32BE=function(N,A){return N=N>>>0,A||$(N,4,this.length),this[N]<<24|this[N+1]<<16|this[N+2]<<8|this[N+3]},a.prototype.readFloatLE=function(N,A){return N=N>>>0,A||$(N,4,this.length),t.read(this,N,!0,23,4)},a.prototype.readFloatBE=function(N,A){return N=N>>>0,A||$(N,4,this.length),t.read(this,N,!1,23,4)},a.prototype.readDoubleLE=function(N,A){return N=N>>>0,A||$(N,8,this.length),t.read(this,N,!0,52,8)},a.prototype.readDoubleBE=function(N,A){return N=N>>>0,A||$(N,8,this.length),t.read(this,N,!1,52,8)};function fe(R,N,A,V,le,Te){if(!a.isBuffer(R))throw new TypeError('"buffer" argument must be a Buffer instance');if(N>le||N<Te)throw new RangeError('"value" argument is out of bounds');if(A+V>R.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(N,A,V,le){if(N=+N,A=A>>>0,V=V>>>0,!le){var Te=Math.pow(2,8*V)-1;fe(this,N,A,V,Te,0)}var ye=1,Ie=0;for(this[A]=N&255;++Ie<V&&(ye*=256);)this[A+Ie]=N/ye&255;return A+V},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(N,A,V,le){if(N=+N,A=A>>>0,V=V>>>0,!le){var Te=Math.pow(2,8*V)-1;fe(this,N,A,V,Te,0)}var ye=V-1,Ie=1;for(this[A+ye]=N&255;--ye>=0&&(Ie*=256);)this[A+ye]=N/Ie&255;return A+V},a.prototype.writeUint8=a.prototype.writeUInt8=function(N,A,V){return N=+N,A=A>>>0,V||fe(this,N,A,1,255,0),this[A]=N&255,A+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(N,A,V){return N=+N,A=A>>>0,V||fe(this,N,A,2,65535,0),this[A]=N&255,this[A+1]=N>>>8,A+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(N,A,V){return N=+N,A=A>>>0,V||fe(this,N,A,2,65535,0),this[A]=N>>>8,this[A+1]=N&255,A+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(N,A,V){return N=+N,A=A>>>0,V||fe(this,N,A,4,4294967295,0),this[A+3]=N>>>24,this[A+2]=N>>>16,this[A+1]=N>>>8,this[A]=N&255,A+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(N,A,V){return N=+N,A=A>>>0,V||fe(this,N,A,4,4294967295,0),this[A]=N>>>24,this[A+1]=N>>>16,this[A+2]=N>>>8,this[A+3]=N&255,A+4},a.prototype.writeIntLE=function(N,A,V,le){if(N=+N,A=A>>>0,!le){var Te=Math.pow(2,8*V-1);fe(this,N,A,V,Te-1,-Te)}var ye=0,Ie=1,Ue=0;for(this[A]=N&255;++ye<V&&(Ie*=256);)N<0&&Ue===0&&this[A+ye-1]!==0&&(Ue=1),this[A+ye]=(N/Ie>>0)-Ue&255;return A+V},a.prototype.writeIntBE=function(N,A,V,le){if(N=+N,A=A>>>0,!le){var Te=Math.pow(2,8*V-1);fe(this,N,A,V,Te-1,-Te)}var ye=V-1,Ie=1,Ue=0;for(this[A+ye]=N&255;--ye>=0&&(Ie*=256);)N<0&&Ue===0&&this[A+ye+1]!==0&&(Ue=1),this[A+ye]=(N/Ie>>0)-Ue&255;return A+V},a.prototype.writeInt8=function(N,A,V){return N=+N,A=A>>>0,V||fe(this,N,A,1,127,-128),N<0&&(N=255+N+1),this[A]=N&255,A+1},a.prototype.writeInt16LE=function(N,A,V){return N=+N,A=A>>>0,V||fe(this,N,A,2,32767,-32768),this[A]=N&255,this[A+1]=N>>>8,A+2},a.prototype.writeInt16BE=function(N,A,V){return N=+N,A=A>>>0,V||fe(this,N,A,2,32767,-32768),this[A]=N>>>8,this[A+1]=N&255,A+2},a.prototype.writeInt32LE=function(N,A,V){return N=+N,A=A>>>0,V||fe(this,N,A,4,2147483647,-2147483648),this[A]=N&255,this[A+1]=N>>>8,this[A+2]=N>>>16,this[A+3]=N>>>24,A+4},a.prototype.writeInt32BE=function(N,A,V){return N=+N,A=A>>>0,V||fe(this,N,A,4,2147483647,-2147483648),N<0&&(N=4294967295+N+1),this[A]=N>>>24,this[A+1]=N>>>16,this[A+2]=N>>>8,this[A+3]=N&255,A+4};function I(R,N,A,V,le,Te){if(A+V>R.length)throw new RangeError("Index out of range");if(A<0)throw new RangeError("Index out of range")}function W(R,N,A,V,le){return N=+N,A=A>>>0,le||I(R,N,A,4),t.write(R,N,A,V,23,4),A+4}a.prototype.writeFloatLE=function(N,A,V){return W(this,N,A,!0,V)},a.prototype.writeFloatBE=function(N,A,V){return W(this,N,A,!1,V)};function F(R,N,A,V,le){return N=+N,A=A>>>0,le||I(R,N,A,8),t.write(R,N,A,V,52,8),A+8}a.prototype.writeDoubleLE=function(N,A,V){return F(this,N,A,!0,V)},a.prototype.writeDoubleBE=function(N,A,V){return F(this,N,A,!1,V)},a.prototype.copy=function(N,A,V,le){if(!a.isBuffer(N))throw new TypeError("argument should be a Buffer");if(V||(V=0),!le&&le!==0&&(le=this.length),A>=N.length&&(A=N.length),A||(A=0),le>0&&le<V&&(le=V),le===V||N.length===0||this.length===0)return 0;if(A<0)throw new RangeError("targetStart out of bounds");if(V<0||V>=this.length)throw new RangeError("Index out of range");if(le<0)throw new RangeError("sourceEnd out of bounds");le>this.length&&(le=this.length),N.length-A<le-V&&(le=N.length-A+V);var Te=le-V;return this===N&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(A,V,le):Uint8Array.prototype.set.call(N,this.subarray(V,le),A),Te},a.prototype.fill=function(N,A,V,le){if(typeof N=="string"){if(typeof A=="string"?(le=A,A=0,V=this.length):typeof V=="string"&&(le=V,V=this.length),le!==void 0&&typeof le!="string")throw new TypeError("encoding must be a string");if(typeof le=="string"&&!a.isEncoding(le))throw new TypeError("Unknown encoding: "+le);if(N.length===1){var Te=N.charCodeAt(0);(le==="utf8"&&Te<128||le==="latin1")&&(N=Te)}}else typeof N=="number"?N=N&255:typeof N=="boolean"&&(N=Number(N));if(A<0||this.length<A||this.length<V)throw new RangeError("Out of range index");if(V<=A)return this;A=A>>>0,V=V===void 0?this.length:V>>>0,N||(N=0);var ye;if(typeof N=="number")for(ye=A;ye<V;++ye)this[ye]=N;else{var Ie=a.isBuffer(N)?N:a.from(N,le),Ue=Ie.length;if(Ue===0)throw new TypeError('The value "'+N+'" is invalid for argument "value"');for(ye=0;ye<V-A;++ye)this[ye+A]=Ie[ye%Ue]}return this};var Y=/[^+/0-9A-Za-z-_]/g;function de(R){if(R=R.split("=")[0],R=R.trim().replace(Y,""),R.length<2)return"";for(;R.length%4!==0;)R=R+"=";return R}function ve(R,N){N=N||1/0;for(var A,V=R.length,le=null,Te=[],ye=0;ye<V;++ye){if(A=R.charCodeAt(ye),A>55295&&A<57344){if(!le){if(A>56319){(N-=3)>-1&&Te.push(239,191,189);continue}else if(ye+1===V){(N-=3)>-1&&Te.push(239,191,189);continue}le=A;continue}if(A<56320){(N-=3)>-1&&Te.push(239,191,189),le=A;continue}A=(le-55296<<10|A-56320)+65536}else le&&(N-=3)>-1&&Te.push(239,191,189);if(le=null,A<128){if((N-=1)<0)break;Te.push(A)}else if(A<2048){if((N-=2)<0)break;Te.push(A>>6|192,A&63|128)}else if(A<65536){if((N-=3)<0)break;Te.push(A>>12|224,A>>6&63|128,A&63|128)}else if(A<1114112){if((N-=4)<0)break;Te.push(A>>18|240,A>>12&63|128,A>>6&63|128,A&63|128)}else throw new Error("Invalid code point")}return Te}function Le(R){for(var N=[],A=0;A<R.length;++A)N.push(R.charCodeAt(A)&255);return N}function Fe(R,N){for(var A,V,le,Te=[],ye=0;ye<R.length&&!((N-=2)<0);++ye)A=R.charCodeAt(ye),V=A>>8,le=A%256,Te.push(le),Te.push(V);return Te}function Pe(R){return e.toByteArray(de(R))}function Me(R,N,A,V){for(var le=0;le<V&&!(le+A>=N.length||le>=R.length);++le)N[le+A]=R[le];return le}function te(R,N){return R instanceof N||R!=null&&R.constructor!=null&&R.constructor.name!=null&&R.constructor.name===N.name}function ue(R){return R!==R}var ie=function(){for(var R="0123456789abcdef",N=new Array(256),A=0;A<16;++A)for(var V=A*16,le=0;le<16;++le)N[V+le]=R[A]+R[le];return N}()})(qO);/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */(function(n,e){var t=qO,i=t.Buffer;function r(o,a){for(var c in o)a[c]=o[c]}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?n.exports=t:(r(t,e),e.Buffer=s);function s(o,a,c){return i(o,a,c)}s.prototype=Object.create(i.prototype),r(i,s),s.from=function(o,a,c){if(typeof o=="number")throw new TypeError("Argument must not be a number");return i(o,a,c)},s.alloc=function(o,a,c){if(typeof o!="number")throw new TypeError("Argument must be a number");var f=i(o);return a!==void 0?typeof c=="string"?f.fill(a,c):f.fill(a):f.fill(0),f},s.allocUnsafe=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return i(o)},s.allocUnsafeSlow=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(o)}})(Vg,Vg.exports);var LW=Vg.exports,w0=LW.Buffer,cL=w0.isEncoding||function(n){switch(n=""+n,n&&n.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 NW(n){if(!n)return"utf8";for(var e;;)switch(n){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 n;default:if(e)return;n=(""+n).toLowerCase(),e=!0}}function kW(n){var e=NW(n);if(typeof e!="string"&&(w0.isEncoding===cL||!cL(n)))throw new Error("Unknown encoding: "+n);return e||n}GO.StringDecoder=Jc;function Jc(n){this.encoding=kW(n);var e;switch(this.encoding){case"utf16le":this.text=PW,this.end=MW,e=4;break;case"utf8":this.fillLast=CW,e=4;break;case"base64":this.text=IW,this.end=RW,e=3;break;default:this.write=jW,this.end=BW;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=w0.allocUnsafe(e)}Jc.prototype.write=function(n){if(n.length===0)return"";var e,t;if(this.lastNeed){if(e=this.fillLast(n),e===void 0)return"";t=this.lastNeed,this.lastNeed=0}else t=0;return t<n.length?e?e+this.text(n,t):this.text(n,t):e||""};Jc.prototype.end=FW;Jc.prototype.text=AW;Jc.prototype.fillLast=function(n){if(this.lastNeed<=n.length)return n.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);n.copy(this.lastChar,this.lastTotal-this.lastNeed,0,n.length),this.lastNeed-=n.length};function Qy(n){return n<=127?0:n>>5===6?2:n>>4===14?3:n>>3===30?4:n>>6===2?-1:-2}function OW(n,e,t){var i=e.length-1;if(i<t)return 0;var r=Qy(e[i]);return r>=0?(r>0&&(n.lastNeed=r-1),r):--i<t||r===-2?0:(r=Qy(e[i]),r>=0?(r>0&&(n.lastNeed=r-2),r):--i<t||r===-2?0:(r=Qy(e[i]),r>=0?(r>0&&(r===2?r=0:n.lastNeed=r-3),r):0))}function EW(n,e,t){if((e[0]&192)!==128)return n.lastNeed=0,"�";if(n.lastNeed>1&&e.length>1){if((e[1]&192)!==128)return n.lastNeed=1,"�";if(n.lastNeed>2&&e.length>2&&(e[2]&192)!==128)return n.lastNeed=2,"�"}}function CW(n){var e=this.lastTotal-this.lastNeed,t=EW(this,n);if(t!==void 0)return t;if(this.lastNeed<=n.length)return n.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);n.copy(this.lastChar,e,0,n.length),this.lastNeed-=n.length}function AW(n,e){var t=OW(this,n,e);if(!this.lastNeed)return n.toString("utf8",e);this.lastTotal=t;var i=n.length-(t-this.lastNeed);return n.copy(this.lastChar,0,i),n.toString("utf8",e,i)}function FW(n){var e=n&&n.length?this.write(n):"";return this.lastNeed?e+"�":e}function PW(n,e){if((n.length-e)%2===0){var t=n.toString("utf16le",e);if(t){var i=t.charCodeAt(t.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1],t.slice(0,-1)}return t}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=n[n.length-1],n.toString("utf16le",e,n.length-1)}function MW(n){var e=n&&n.length?this.write(n):"";if(this.lastNeed){var t=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,t)}return e}function IW(n,e){var t=(n.length-e)%3;return t===0?n.toString("base64",e):(this.lastNeed=3-t,this.lastTotal=3,t===1?this.lastChar[0]=n[n.length-1]:(this.lastChar[0]=n[n.length-2],this.lastChar[1]=n[n.length-1]),n.toString("base64",e,n.length-t))}function RW(n){var e=n&&n.length?this.write(n):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function jW(n){return n.toString(this.encoding)}function BW(n){return n&&n.length?this.write(n):""}const fL=ba,{PromisePrototypeThen:DW,SymbolAsyncIterator:dL,SymbolIterator:hL}=$t,{Buffer:UW}=mo,{ERR_INVALID_ARG_TYPE:xW,ERR_STREAM_NULL_VALUES:JW}=ni.codes;function zW(n,e,t){let i;if(typeof e=="string"||e instanceof UW)return new n({objectMode:!0,...t,read(){this.push(e),this.push(null)}});let r;if(e&&e[dL])r=!0,i=e[dL]();else if(e&&e[hL])r=!1,i=e[hL]();else throw new xW("iterable",["Iterable"],e);const s=new n({objectMode:!0,highWaterMark:1,...t});let o=!1;s._read=function(){o||(o=!0,c())},s._destroy=function(f,d){DW(a(f),()=>fL.nextTick(d,f),p=>fL.nextTick(d,p||f))};async function a(f){const d=f!=null,p=typeof i.throw=="function";if(d&&p){const{value:y,done:h}=await i.throw(f);if(await y,h)return}if(typeof i.return=="function"){const{value:y}=await i.return();await y}}async function c(){for(;;){try{const{value:f,done:d}=r?await i.next():i.next();if(d)s.push(null);else{const p=f&&typeof f.then=="function"?await f:f;if(p===null)throw o=!1,new JW;if(s.push(p))continue;o=!1}}catch(f){s.destroy(f)}break}}return s}var HO=zW,Xy,pL;function yp(){if(pL)return Xy;pL=1;const n=ba,{ArrayPrototypeIndexOf:e,NumberIsInteger:t,NumberIsNaN:i,NumberParseInt:r,ObjectDefineProperties:s,ObjectKeys:o,ObjectSetPrototypeOf:a,Promise:c,SafeSet:f,SymbolAsyncDispose:d,SymbolAsyncIterator:p,Symbol:y}=$t;Xy=ye,ye.ReadableState=Te;const{EventEmitter:h}=op,{Stream:S,prependListener:m}=_0,{Buffer:v}=mo,{addAbortSignal:C}=pp,U=yo;let x=Un.debuglog("stream",ee=>{x=ee});const J=yW,D=Bl,{getHighWaterMark:K,getDefaultHighWaterMark:X}=mp,{aggregateTwoErrors:E,codes:{ERR_INVALID_ARG_TYPE:j,ERR_METHOD_NOT_IMPLEMENTED:ne,ERR_OUT_OF_RANGE:se,ERR_STREAM_PUSH_AFTER_EOF:re,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:T},AbortError:b}=ni,{validateObject:w}=xc,L=y("kPaused"),{StringDecoder:M}=GO,z=HO;a(ye.prototype,S.prototype),a(ye,S);const q=()=>{},{errorOrDestroy:H}=D,$=1,fe=2,I=4,W=8,F=16,Y=32,de=64,ve=128,Le=256,Fe=512,Pe=1024,Me=2048,te=4096,ue=8192,ie=16384,R=32768,N=65536,A=1<<17,V=1<<18;function le(ee){return{enumerable:!1,get(){return(this.state&ee)!==0},set(oe){oe?this.state|=ee:this.state&=~ee}}}s(Te.prototype,{objectMode:le($),ended:le(fe),endEmitted:le(I),reading:le(W),constructed:le(F),sync:le(Y),needReadable:le(de),emittedReadable:le(ve),readableListening:le(Le),resumeScheduled:le(Fe),errorEmitted:le(Pe),emitClose:le(Me),autoDestroy:le(te),destroyed:le(ue),closed:le(ie),closeEmitted:le(R),multiAwaitDrain:le(N),readingMore:le(A),dataEmitted:le(V)});function Te(ee,oe,Re){typeof Re!="boolean"&&(Re=oe instanceof _s()),this.state=Me|te|F|Y,ee&&ee.objectMode&&(this.state|=$),Re&&ee&&ee.readableObjectMode&&(this.state|=$),this.highWaterMark=ee?K(this,ee,"readableHighWaterMark",Re):X(!1),this.buffer=new J,this.length=0,this.pipes=[],this.flowing=null,this[L]=null,ee&&ee.emitClose===!1&&(this.state&=~Me),ee&&ee.autoDestroy===!1&&(this.state&=~te),this.errored=null,this.defaultEncoding=ee&&ee.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,ee&&ee.encoding&&(this.decoder=new M(ee.encoding),this.encoding=ee.encoding)}function ye(ee){if(!(this instanceof ye))return new ye(ee);const oe=this instanceof _s();this._readableState=new Te(ee,this,oe),ee&&(typeof ee.read=="function"&&(this._read=ee.read),typeof ee.destroy=="function"&&(this._destroy=ee.destroy),typeof ee.construct=="function"&&(this._construct=ee.construct),ee.signal&&!oe&&C(ee.signal,this)),S.call(this,ee),D.construct(this,()=>{this._readableState.needReadable&&pe(this,this._readableState)})}ye.prototype.destroy=D.destroy,ye.prototype._undestroy=D.undestroy,ye.prototype._destroy=function(ee,oe){oe(ee)},ye.prototype[h.captureRejectionSymbol]=function(ee){this.destroy(ee)},ye.prototype[d]=function(){let ee;return this.destroyed||(ee=this.readableEnded?null:new b,this.destroy(ee)),new c((oe,Re)=>U(this,je=>je&&je!==ee?Re(je):oe(null)))},ye.prototype.push=function(ee,oe){return Ie(this,ee,oe,!1)},ye.prototype.unshift=function(ee,oe){return Ie(this,ee,oe,!0)};function Ie(ee,oe,Re,je){x("readableAddChunk",oe);const ze=ee._readableState;let dn;if(ze.state&$||(typeof oe=="string"?(Re=Re||ze.defaultEncoding,ze.encoding!==Re&&(je&&ze.encoding?oe=v.from(oe,Re).toString(ze.encoding):(oe=v.from(oe,Re),Re=""))):oe instanceof v?Re="":S._isUint8Array(oe)?(oe=S._uint8ArrayToBuffer(oe),Re=""):oe!=null&&(dn=new j("chunk",["string","Buffer","Uint8Array"],oe))),dn)H(ee,dn);else if(oe===null)ze.state&=~W,_(ee,ze);else if(ze.state&$||oe&&oe.length>0)if(je)if(ze.state&I)H(ee,new T);else{if(ze.destroyed||ze.errored)return!1;Ue(ee,ze,oe,!0)}else if(ze.ended)H(ee,new re);else{if(ze.destroyed||ze.errored)return!1;ze.state&=~W,ze.decoder&&!Re?(oe=ze.decoder.write(oe),ze.objectMode||oe.length!==0?Ue(ee,ze,oe,!1):pe(ee,ze)):Ue(ee,ze,oe,!1)}else je||(ze.state&=~W,pe(ee,ze));return!ze.ended&&(ze.length<ze.highWaterMark||ze.length===0)}function Ue(ee,oe,Re,je){oe.flowing&&oe.length===0&&!oe.sync&&ee.listenerCount("data")>0?(oe.state&N?oe.awaitDrainWriters.clear():oe.awaitDrainWriters=null,oe.dataEmitted=!0,ee.emit("data",Re)):(oe.length+=oe.objectMode?1:Re.length,je?oe.buffer.unshift(Re):oe.buffer.push(Re),oe.state&de&&O(ee)),pe(ee,oe)}ye.prototype.isPaused=function(){const ee=this._readableState;return ee[L]===!0||ee.flowing===!1},ye.prototype.setEncoding=function(ee){const oe=new M(ee);this._readableState.decoder=oe,this._readableState.encoding=this._readableState.decoder.encoding;const Re=this._readableState.buffer;let je="";for(const ze of Re)je+=oe.write(ze);return Re.clear(),je!==""&&Re.push(je),this._readableState.length=je.length,this};const ce=1073741824;function me(ee){if(ee>ce)throw new se("size","<= 1GiB",ee);return ee--,ee|=ee>>>1,ee|=ee>>>2,ee|=ee>>>4,ee|=ee>>>8,ee|=ee>>>16,ee++,ee}function P(ee,oe){return ee<=0||oe.length===0&&oe.ended?0:oe.state&$?1:i(ee)?oe.flowing&&oe.length?oe.buffer.first().length:oe.length:ee<=oe.length?ee:oe.ended?oe.length:0}ye.prototype.read=function(ee){x("read",ee),ee===void 0?ee=NaN:t(ee)||(ee=r(ee,10));const oe=this._readableState,Re=ee;if(ee>oe.highWaterMark&&(oe.highWaterMark=me(ee)),ee!==0&&(oe.state&=~ve),ee===0&&oe.needReadable&&((oe.highWaterMark!==0?oe.length>=oe.highWaterMark:oe.length>0)||oe.ended))return x("read: emitReadable",oe.length,oe.ended),oe.length===0&&oe.ended?Pt(this):O(this),null;if(ee=P(ee,oe),ee===0&&oe.ended)return oe.length===0&&Pt(this),null;let je=(oe.state&de)!==0;if(x("need readable",je),(oe.length===0||oe.length-ee<oe.highWaterMark)&&(je=!0,x("length less than watermark",je)),oe.ended||oe.reading||oe.destroyed||oe.errored||!oe.constructed)je=!1,x("reading, ended or constructing",je);else if(je){x("do read"),oe.state|=W|Y,oe.length===0&&(oe.state|=de);try{this._read(oe.highWaterMark)}catch(dn){H(this,dn)}oe.state&=~Y,oe.reading||(ee=P(Re,oe))}let ze;return ee>0?ze=Qe(ee,oe):ze=null,ze===null?(oe.needReadable=oe.length<=oe.highWaterMark,ee=0):(oe.length-=ee,oe.multiAwaitDrain?oe.awaitDrainWriters.clear():oe.awaitDrainWriters=null),oe.length===0&&(oe.ended||(oe.needReadable=!0),Re!==ee&&oe.ended&&Pt(this)),ze!==null&&!oe.errorEmitted&&!oe.closeEmitted&&(oe.dataEmitted=!0,this.emit("data",ze)),ze};function _(ee,oe){if(x("onEofChunk"),!oe.ended){if(oe.decoder){const Re=oe.decoder.end();Re&&Re.length&&(oe.buffer.push(Re),oe.length+=oe.objectMode?1:Re.length)}oe.ended=!0,oe.sync?O(ee):(oe.needReadable=!1,oe.emittedReadable=!0,Z(ee))}}function O(ee){const oe=ee._readableState;x("emitReadable",oe.needReadable,oe.emittedReadable),oe.needReadable=!1,oe.emittedReadable||(x("emitReadable",oe.flowing),oe.emittedReadable=!0,n.nextTick(Z,ee))}function Z(ee){const oe=ee._readableState;x("emitReadable_",oe.destroyed,oe.length,oe.ended),!oe.destroyed&&!oe.errored&&(oe.length||oe.ended)&&(ee.emit("readable"),oe.emittedReadable=!1),oe.needReadable=!oe.flowing&&!oe.ended&&oe.length<=oe.highWaterMark,Be(ee)}function pe(ee,oe){!oe.readingMore&&oe.constructed&&(oe.readingMore=!0,n.nextTick(Se,ee,oe))}function Se(ee,oe){for(;!oe.reading&&!oe.ended&&(oe.length<oe.highWaterMark||oe.flowing&&oe.length===0);){const Re=oe.length;if(x("maybeReadMore read 0"),ee.read(0),Re===oe.length)break}oe.readingMore=!1}ye.prototype._read=function(ee){throw new ne("_read()")},ye.prototype.pipe=function(ee,oe){const Re=this,je=this._readableState;je.pipes.length===1&&(je.multiAwaitDrain||(je.multiAwaitDrain=!0,je.awaitDrainWriters=new f(je.awaitDrainWriters?[je.awaitDrainWriters]:[]))),je.pipes.push(ee),x("pipe count=%d opts=%j",je.pipes.length,oe);const dn=(!oe||oe.end!==!1)&&ee!==n.stdout&&ee!==n.stderr?Wc:go;je.endEmitted?n.nextTick(dn):Re.once("end",dn),ee.on("unpipe",_n);function _n(Wr,Hi){x("onunpipe"),Wr===Re&&Hi&&Hi.hasUnpiped===!1&&(Hi.hasUnpiped=!0,vp())}function Wc(){x("onend"),ee.end()}let zr,Gc=!1;function vp(){x("cleanup"),ee.removeListener("close",Ul),ee.removeListener("finish",_a),zr&&ee.removeListener("drain",zr),ee.removeListener("error",Dl),ee.removeListener("unpipe",_n),Re.removeListener("end",Wc),Re.removeListener("end",go),Re.removeListener("data",Hc),Gc=!0,zr&&je.awaitDrainWriters&&(!ee._writableState||ee._writableState.needDrain)&&zr()}function qc(){Gc||(je.pipes.length===1&&je.pipes[0]===ee?(x("false write response, pause",0),je.awaitDrainWriters=ee,je.multiAwaitDrain=!1):je.pipes.length>1&&je.pipes.includes(ee)&&(x("false write response, pause",je.awaitDrainWriters.size),je.awaitDrainWriters.add(ee)),Re.pause()),zr||(zr=we(Re,ee),ee.on("drain",zr))}Re.on("data",Hc);function Hc(Wr){x("ondata");const Hi=ee.write(Wr);x("dest.write",Hi),Hi===!1&&qc()}function Dl(Wr){if(x("onerror",Wr),go(),ee.removeListener("error",Dl),ee.listenerCount("error")===0){const Hi=ee._writableState||ee._readableState;Hi&&!Hi.errorEmitted?H(ee,Wr):ee.emit("error",Wr)}}m(ee,"error",Dl);function Ul(){ee.removeListener("finish",_a),go()}ee.once("close",Ul);function _a(){x("onfinish"),ee.removeListener("close",Ul),go()}ee.once("finish",_a);function go(){x("unpipe"),Re.unpipe(ee)}return ee.emit("pipe",Re),ee.writableNeedDrain===!0?qc():je.flowing||(x("pipe resume"),Re.resume()),ee};function we(ee,oe){return function(){const je=ee._readableState;je.awaitDrainWriters===oe?(x("pipeOnDrain",1),je.awaitDrainWriters=null):je.multiAwaitDrain&&(x("pipeOnDrain",je.awaitDrainWriters.size),je.awaitDrainWriters.delete(oe)),(!je.awaitDrainWriters||je.awaitDrainWriters.size===0)&&ee.listenerCount("data")&&ee.resume()}}ye.prototype.unpipe=function(ee){const oe=this._readableState,Re={hasUnpiped:!1};if(oe.pipes.length===0)return this;if(!ee){const ze=oe.pipes;oe.pipes=[],this.pause();for(let dn=0;dn<ze.length;dn++)ze[dn].emit("unpipe",this,{hasUnpiped:!1});return this}const je=e(oe.pipes,ee);return je===-1?this:(oe.pipes.splice(je,1),oe.pipes.length===0&&this.pause(),ee.emit("unpipe",this,Re),this)},ye.prototype.on=function(ee,oe){const Re=S.prototype.on.call(this,ee,oe),je=this._readableState;return ee==="data"?(je.readableListening=this.listenerCount("readable")>0,je.flowing!==!1&&this.resume()):ee==="readable"&&!je.endEmitted&&!je.readableListening&&(je.readableListening=je.needReadable=!0,je.flowing=!1,je.emittedReadable=!1,x("on readable",je.length,je.reading),je.length?O(this):je.reading||n.nextTick(ft,this)),Re},ye.prototype.addListener=ye.prototype.on,ye.prototype.removeListener=function(ee,oe){const Re=S.prototype.removeListener.call(this,ee,oe);return ee==="readable"&&n.nextTick(We,this),Re},ye.prototype.off=ye.prototype.removeListener,ye.prototype.removeAllListeners=function(ee){const oe=S.prototype.removeAllListeners.apply(this,arguments);return(ee==="readable"||ee===void 0)&&n.nextTick(We,this),oe};function We(ee){const oe=ee._readableState;oe.readableListening=ee.listenerCount("readable")>0,oe.resumeScheduled&&oe[L]===!1?oe.flowing=!0:ee.listenerCount("data")>0?ee.resume():oe.readableListening||(oe.flowing=null)}function ft(ee){x("readable nexttick read 0"),ee.read(0)}ye.prototype.resume=function(){const ee=this._readableState;return ee.flowing||(x("resume"),ee.flowing=!ee.readableListening,yt(this,ee)),ee[L]=!1,this};function yt(ee,oe){oe.resumeScheduled||(oe.resumeScheduled=!0,n.nextTick(dt,ee,oe))}function dt(ee,oe){x("resume",oe.reading),oe.reading||ee.read(0),oe.resumeScheduled=!1,ee.emit("resume"),Be(ee),oe.flowing&&!oe.reading&&ee.read(0)}ye.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[L]=!0,this};function Be(ee){const oe=ee._readableState;for(x("flow",oe.flowing);oe.flowing&&ee.read()!==null;);}ye.prototype.wrap=function(ee){let oe=!1;ee.on("data",je=>{!this.push(je)&&ee.pause&&(oe=!0,ee.pause())}),ee.on("end",()=>{this.push(null)}),ee.on("error",je=>{H(this,je)}),ee.on("close",()=>{this.destroy()}),ee.on("destroy",()=>{this.destroy()}),this._read=()=>{oe&&ee.resume&&(oe=!1,ee.resume())};const Re=o(ee);for(let je=1;je<Re.length;je++){const ze=Re[je];this[ze]===void 0&&typeof ee[ze]=="function"&&(this[ze]=ee[ze].bind(ee))}return this},ye.prototype[p]=function(){return nt(this)},ye.prototype.iterator=function(ee){return ee!==void 0&&w(ee,"options"),nt(this,ee)};function nt(ee,oe){typeof ee.read!="function"&&(ee=ye.wrap(ee,{objectMode:!0}));const Re=tt(ee,oe);return Re.stream=ee,Re}async function*tt(ee,oe){let Re=q;function je(_n){this===ee?(Re(),Re=q):Re=_n}ee.on("readable",je);let ze;const dn=U(ee,{writable:!1},_n=>{ze=_n?E(ze,_n):null,Re(),Re=q});try{for(;;){const _n=ee.destroyed?null:ee.read();if(_n!==null)yield _n;else{if(ze)throw ze;if(ze===null)return;await new c(je)}}}catch(_n){throw ze=E(ze,_n),ze}finally{(ze||oe?.destroyOnReturn!==!1)&&(ze===void 0||ee._readableState.autoDestroy)?D.destroyer(ee,null):(ee.off("readable",je),dn())}}s(ye.prototype,{readable:{__proto__:null,get(){const ee=this._readableState;return!!ee&&ee.readable!==!1&&!ee.destroyed&&!ee.errorEmitted&&!ee.endEmitted},set(ee){this._readableState&&(this._readableState.readable=!!ee)}},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(ee){this._readableState&&(this._readableState.flowing=ee)}},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(ee){this._readableState&&(this._readableState.destroyed=ee)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),s(Te.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[L]!==!1},set(ee){this[L]=!!ee}}}),ye._fromList=Qe;function Qe(ee,oe){if(oe.length===0)return null;let Re;return oe.objectMode?Re=oe.buffer.shift():!ee||ee>=oe.length?(oe.decoder?Re=oe.buffer.join(""):oe.buffer.length===1?Re=oe.buffer.first():Re=oe.buffer.concat(oe.length),oe.buffer.clear()):Re=oe.buffer.consume(ee,oe.decoder),Re}function Pt(ee){const oe=ee._readableState;x("endReadable",oe.endEmitted),oe.endEmitted||(oe.ended=!0,n.nextTick(xn,oe,ee))}function xn(ee,oe){if(x("endReadableNT",ee.endEmitted,ee.length),!ee.errored&&!ee.closeEmitted&&!ee.endEmitted&&ee.length===0){if(ee.endEmitted=!0,oe.emit("end"),oe.writable&&oe.allowHalfOpen===!1)n.nextTick(mn,oe);else if(ee.autoDestroy){const Re=oe._writableState;(!Re||Re.autoDestroy&&(Re.finished||Re.writable===!1))&&oe.destroy()}}}function mn(ee){ee.writable&&!ee.writableEnded&&!ee.destroyed&&ee.end()}ye.from=function(ee,oe){return z(ye,ee,oe)};let An;function Jr(){return An===void 0&&(An={}),An}return ye.fromWeb=function(ee,oe){return Jr().newStreamReadableFromReadableStream(ee,oe)},ye.toWeb=function(ee,oe){return Jr().newReadableStreamFromStreamReadable(ee,oe)},ye.wrap=function(ee,oe){var Re,je;return new ye({objectMode:(Re=(je=ee.readableObjectMode)!==null&&je!==void 0?je:ee.objectMode)!==null&&Re!==void 0?Re:!0,...oe,destroy(ze,dn){D.destroyer(ee,ze),dn(ze)}}).wrap(ee)},Xy}var Yy,mL;function L0(){if(mL)return Yy;mL=1;const n=ba,{ArrayPrototypeSlice:e,Error:t,FunctionPrototypeSymbolHasInstance:i,ObjectDefineProperty:r,ObjectDefineProperties:s,ObjectSetPrototypeOf:o,StringPrototypeToLowerCase:a,Symbol:c,SymbolHasInstance:f}=$t;Yy=w,w.WritableState=T;const{EventEmitter:d}=op,p=_0.Stream,{Buffer:y}=mo,h=Bl,{addAbortSignal:S}=pp,{getHighWaterMark:m,getDefaultHighWaterMark:v}=mp,{ERR_INVALID_ARG_TYPE:C,ERR_METHOD_NOT_IMPLEMENTED:U,ERR_MULTIPLE_CALLBACK:x,ERR_STREAM_CANNOT_PIPE:J,ERR_STREAM_DESTROYED:D,ERR_STREAM_ALREADY_FINISHED:K,ERR_STREAM_NULL_VALUES:X,ERR_STREAM_WRITE_AFTER_END:E,ERR_UNKNOWN_ENCODING:j}=ni.codes,{errorOrDestroy:ne}=h;o(w.prototype,p.prototype),o(w,p);function se(){}const re=c("kOnFinished");function T(te,ue,ie){typeof ie!="boolean"&&(ie=ue instanceof _s()),this.objectMode=!!(te&&te.objectMode),ie&&(this.objectMode=this.objectMode||!!(te&&te.writableObjectMode)),this.highWaterMark=te?m(this,te,"writableHighWaterMark",ie):v(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const R=!!(te&&te.decodeStrings===!1);this.decodeStrings=!R,this.defaultEncoding=te&&te.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=H.bind(void 0,ue),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,b(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!te||te.emitClose!==!1,this.autoDestroy=!te||te.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[re]=[]}function b(te){te.buffered=[],te.bufferedIndex=0,te.allBuffers=!0,te.allNoop=!0}T.prototype.getBuffer=function(){return e(this.buffered,this.bufferedIndex)},r(T.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function w(te){const ue=this instanceof _s();if(!ue&&!i(w,this))return new w(te);this._writableState=new T(te,this,ue),te&&(typeof te.write=="function"&&(this._write=te.write),typeof te.writev=="function"&&(this._writev=te.writev),typeof te.destroy=="function"&&(this._destroy=te.destroy),typeof te.final=="function"&&(this._final=te.final),typeof te.construct=="function"&&(this._construct=te.construct),te.signal&&S(te.signal,this)),p.call(this,te),h.construct(this,()=>{const ie=this._writableState;ie.writing||W(this,ie),ve(this,ie)})}r(w,f,{__proto__:null,value:function(te){return i(this,te)?!0:this!==w?!1:te&&te._writableState instanceof T}}),w.prototype.pipe=function(){ne(this,new J)};function L(te,ue,ie,R){const N=te._writableState;if(typeof ie=="function")R=ie,ie=N.defaultEncoding;else{if(!ie)ie=N.defaultEncoding;else if(ie!=="buffer"&&!y.isEncoding(ie))throw new j(ie);typeof R!="function"&&(R=se)}if(ue===null)throw new X;if(!N.objectMode)if(typeof ue=="string")N.decodeStrings!==!1&&(ue=y.from(ue,ie),ie="buffer");else if(ue instanceof y)ie="buffer";else if(p._isUint8Array(ue))ue=p._uint8ArrayToBuffer(ue),ie="buffer";else throw new C("chunk",["string","Buffer","Uint8Array"],ue);let A;return N.ending?A=new E:N.destroyed&&(A=new D("write")),A?(n.nextTick(R,A),ne(te,A,!0),A):(N.pendingcb++,M(te,N,ue,ie,R))}w.prototype.write=function(te,ue,ie){return L(this,te,ue,ie)===!0},w.prototype.cork=function(){this._writableState.corked++},w.prototype.uncork=function(){const te=this._writableState;te.corked&&(te.corked--,te.writing||W(this,te))},w.prototype.setDefaultEncoding=function(ue){if(typeof ue=="string"&&(ue=a(ue)),!y.isEncoding(ue))throw new j(ue);return this._writableState.defaultEncoding=ue,this};function M(te,ue,ie,R,N){const A=ue.objectMode?1:ie.length;ue.length+=A;const V=ue.length<ue.highWaterMark;return V||(ue.needDrain=!0),ue.writing||ue.corked||ue.errored||!ue.constructed?(ue.buffered.push({chunk:ie,encoding:R,callback:N}),ue.allBuffers&&R!=="buffer"&&(ue.allBuffers=!1),ue.allNoop&&N!==se&&(ue.allNoop=!1)):(ue.writelen=A,ue.writecb=N,ue.writing=!0,ue.sync=!0,te._write(ie,R,ue.onwrite),ue.sync=!1),V&&!ue.errored&&!ue.destroyed}function z(te,ue,ie,R,N,A,V){ue.writelen=R,ue.writecb=V,ue.writing=!0,ue.sync=!0,ue.destroyed?ue.onwrite(new D("write")):ie?te._writev(N,ue.onwrite):te._write(N,A,ue.onwrite),ue.sync=!1}function q(te,ue,ie,R){--ue.pendingcb,R(ie),I(ue),ne(te,ie)}function H(te,ue){const ie=te._writableState,R=ie.sync,N=ie.writecb;if(typeof N!="function"){ne(te,new x);return}ie.writing=!1,ie.writecb=null,ie.length-=ie.writelen,ie.writelen=0,ue?(ue.stack,ie.errored||(ie.errored=ue),te._readableState&&!te._readableState.errored&&(te._readableState.errored=ue),R?n.nextTick(q,te,ie,ue,N):q(te,ie,ue,N)):(ie.buffered.length>ie.bufferedIndex&&W(te,ie),R?ie.afterWriteTickInfo!==null&&ie.afterWriteTickInfo.cb===N?ie.afterWriteTickInfo.count++:(ie.afterWriteTickInfo={count:1,cb:N,stream:te,state:ie},n.nextTick($,ie.afterWriteTickInfo)):fe(te,ie,1,N))}function $({stream:te,state:ue,count:ie,cb:R}){return ue.afterWriteTickInfo=null,fe(te,ue,ie,R)}function fe(te,ue,ie,R){for(!ue.ending&&!te.destroyed&&ue.length===0&&ue.needDrain&&(ue.needDrain=!1,te.emit("drain"));ie-- >0;)ue.pendingcb--,R();ue.destroyed&&I(ue),ve(te,ue)}function I(te){if(te.writing)return;for(let N=te.bufferedIndex;N<te.buffered.length;++N){var ue;const{chunk:A,callback:V}=te.buffered[N],le=te.objectMode?1:A.length;te.length-=le,V((ue=te.errored)!==null&&ue!==void 0?ue:new D("write"))}const ie=te[re].splice(0);for(let N=0;N<ie.length;N++){var R;ie[N]((R=te.errored)!==null&&R!==void 0?R:new D("end"))}b(te)}function W(te,ue){if(ue.corked||ue.bufferProcessing||ue.destroyed||!ue.constructed)return;const{buffered:ie,bufferedIndex:R,objectMode:N}=ue,A=ie.length-R;if(!A)return;let V=R;if(ue.bufferProcessing=!0,A>1&&te._writev){ue.pendingcb-=A-1;const le=ue.allNoop?se:ye=>{for(let Ie=V;Ie<ie.length;++Ie)ie[Ie].callback(ye)},Te=ue.allNoop&&V===0?ie:e(ie,V);Te.allBuffers=ue.allBuffers,z(te,ue,!0,ue.length,Te,"",le),b(ue)}else{do{const{chunk:le,encoding:Te,callback:ye}=ie[V];ie[V++]=null;const Ie=N?1:le.length;z(te,ue,!1,Ie,le,Te,ye)}while(V<ie.length&&!ue.writing);V===ie.length?b(ue):V>256?(ie.splice(0,V),ue.bufferedIndex=0):ue.bufferedIndex=V}ue.bufferProcessing=!1}w.prototype._write=function(te,ue,ie){if(this._writev)this._writev([{chunk:te,encoding:ue}],ie);else throw new U("_write()")},w.prototype._writev=null,w.prototype.end=function(te,ue,ie){const R=this._writableState;typeof te=="function"?(ie=te,te=null,ue=null):typeof ue=="function"&&(ie=ue,ue=null);let N;if(te!=null){const A=L(this,te,ue);A instanceof t&&(N=A)}return R.corked&&(R.corked=1,this.uncork()),N||(!R.errored&&!R.ending?(R.ending=!0,ve(this,R,!0),R.ended=!0):R.finished?N=new K("end"):R.destroyed&&(N=new D("end"))),typeof ie=="function"&&(N||R.finished?n.nextTick(ie,N):R[re].push(ie)),this};function F(te){return te.ending&&!te.destroyed&&te.constructed&&te.length===0&&!te.errored&&te.buffered.length===0&&!te.finished&&!te.writing&&!te.errorEmitted&&!te.closeEmitted}function Y(te,ue){let ie=!1;function R(N){if(ie){ne(te,N??x());return}if(ie=!0,ue.pendingcb--,N){const A=ue[re].splice(0);for(let V=0;V<A.length;V++)A[V](N);ne(te,N,ue.sync)}else F(ue)&&(ue.prefinished=!0,te.emit("prefinish"),ue.pendingcb++,n.nextTick(Le,te,ue))}ue.sync=!0,ue.pendingcb++;try{te._final(R)}catch(N){R(N)}ue.sync=!1}function de(te,ue){!ue.prefinished&&!ue.finalCalled&&(typeof te._final=="function"&&!ue.destroyed?(ue.finalCalled=!0,Y(te,ue)):(ue.prefinished=!0,te.emit("prefinish")))}function ve(te,ue,ie){F(ue)&&(de(te,ue),ue.pendingcb===0&&(ie?(ue.pendingcb++,n.nextTick((R,N)=>{F(N)?Le(R,N):N.pendingcb--},te,ue)):F(ue)&&(ue.pendingcb++,Le(te,ue))))}function Le(te,ue){ue.pendingcb--,ue.finished=!0;const ie=ue[re].splice(0);for(let R=0;R<ie.length;R++)ie[R]();if(te.emit("finish"),ue.autoDestroy){const R=te._readableState;(!R||R.autoDestroy&&(R.endEmitted||R.readable===!1))&&te.destroy()}}s(w.prototype,{closed:{__proto__:null,get(){return this._writableState?this._writableState.closed:!1}},destroyed:{__proto__:null,get(){return this._writableState?this._writableState.destroyed:!1},set(te){this._writableState&&(this._writableState.destroyed=te)}},writable:{__proto__:null,get(){const te=this._writableState;return!!te&&te.writable!==!1&&!te.destroyed&&!te.errored&&!te.ending&&!te.ended},set(te){this._writableState&&(this._writableState.writable=!!te)}},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 te=this._writableState;return te?!te.destroyed&&!te.ending&&te.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 Fe=h.destroy;w.prototype.destroy=function(te,ue){const ie=this._writableState;return!ie.destroyed&&(ie.bufferedIndex<ie.buffered.length||ie[re].length)&&n.nextTick(I,ie),Fe.call(this,te,ue),this},w.prototype._undestroy=h.undestroy,w.prototype._destroy=function(te,ue){ue(te)},w.prototype[d.captureRejectionSymbol]=function(te){this.destroy(te)};let Pe;function Me(){return Pe===void 0&&(Pe={}),Pe}return w.fromWeb=function(te,ue){return Me().newStreamWritableFromWritableStream(te,ue)},w.toWeb=function(te){return Me().newWritableStreamFromStreamWritable(te)},Yy}var $y,yL;function WW(){if(yL)return $y;yL=1;const n=ba,e=mo,{isReadable:t,isWritable:i,isIterable:r,isNodeStream:s,isReadableNodeStream:o,isWritableNodeStream:a,isDuplexNodeStream:c,isReadableStream:f,isWritableStream:d}=Es,p=yo,{AbortError:y,codes:{ERR_INVALID_ARG_TYPE:h,ERR_INVALID_RETURN_VALUE:S}}=ni,{destroyer:m}=Bl,v=_s(),C=yp(),U=L0(),{createDeferredPromise:x}=Un,J=HO,D=globalThis.Blob||e.Blob,K=typeof D<"u"?function(T){return T instanceof D}:function(T){return!1},X=globalThis.AbortController||Hu().AbortController,{FunctionPrototypeCall:E}=$t;class j extends v{constructor(T){super(T),T?.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),T?.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}$y=function re(T,b){if(c(T))return T;if(o(T))return se({readable:T});if(a(T))return se({writable:T});if(s(T))return se({writable:!1,readable:!1});if(f(T))return se({readable:C.fromWeb(T)});if(d(T))return se({writable:U.fromWeb(T)});if(typeof T=="function"){const{value:L,write:M,final:z,destroy:q}=ne(T);if(r(L))return J(j,L,{objectMode:!0,write:M,final:z,destroy:q});const H=L?.then;if(typeof H=="function"){let $;const fe=E(H,L,I=>{if(I!=null)throw new S("nully","body",I)},I=>{m($,I)});return $=new j({objectMode:!0,readable:!1,write:M,final(I){z(async()=>{try{await fe,n.nextTick(I,null)}catch(W){n.nextTick(I,W)}})},destroy:q})}throw new S("Iterable, AsyncIterable or AsyncFunction",b,L)}if(K(T))return re(T.arrayBuffer());if(r(T))return J(j,T,{objectMode:!0,writable:!1});if(f(T?.readable)&&d(T?.writable))return j.fromWeb(T);if(typeof T?.writable=="object"||typeof T?.readable=="object"){const L=T!=null&&T.readable?o(T?.readable)?T?.readable:re(T.readable):void 0,M=T!=null&&T.writable?a(T?.writable)?T?.writable:re(T.writable):void 0;return se({readable:L,writable:M})}const w=T?.then;if(typeof w=="function"){let L;return E(w,T,M=>{M!=null&&L.push(M),L.push(null)},M=>{m(L,M)}),L=new j({objectMode:!0,writable:!1,read(){}})}throw new h(b,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],T)};function ne(re){let{promise:T,resolve:b}=x();const w=new X,L=w.signal;return{value:re(async function*(){for(;;){const z=T;T=null;const{chunk:q,done:H,cb:$}=await z;if(n.nextTick($),H)return;if(L.aborted)throw new y(void 0,{cause:L.reason});({promise:T,resolve:b}=x()),yield q}}(),{signal:L}),write(z,q,H){const $=b;b=null,$({chunk:z,done:!1,cb:H})},final(z){const q=b;b=null,q({done:!0,cb:z})},destroy(z,q){w.abort(),q(z)}}}function se(re){const T=re.readable&&typeof re.readable.read!="function"?C.wrap(re.readable):re.readable,b=re.writable;let w=!!t(T),L=!!i(b),M,z,q,H,$;function fe(I){const W=H;H=null,W?W(I):I&&$.destroy(I)}return $=new j({readableObjectMode:!!(T!=null&&T.readableObjectMode),writableObjectMode:!!(b!=null&&b.writableObjectMode),readable:w,writable:L}),L&&(p(b,I=>{L=!1,I&&m(T,I),fe(I)}),$._write=function(I,W,F){b.write(I,W)?F():M=F},$._final=function(I){b.end(),z=I},b.on("drain",function(){if(M){const I=M;M=null,I()}}),b.on("finish",function(){if(z){const I=z;z=null,I()}})),w&&(p(T,I=>{w=!1,I&&m(T,I),fe(I)}),T.on("readable",function(){if(q){const I=q;q=null,I()}}),T.on("end",function(){$.push(null)}),$._read=function(){for(;;){const I=T.read();if(I===null){q=$._read;return}if(!$.push(I))return}}),$._destroy=function(I,W){!I&&H!==null&&(I=new y),q=null,M=null,z=null,H===null?W(I):(H=W,m(b,I),m(T,I))},$}return $y}var eg,gL;function _s(){if(gL)return eg;gL=1;const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:e,ObjectKeys:t,ObjectSetPrototypeOf:i}=$t;eg=o;const r=yp(),s=L0();i(o.prototype,r.prototype),i(o,r);{const d=t(s.prototype);for(let p=0;p<d.length;p++){const y=d[p];o.prototype[y]||(o.prototype[y]=s.prototype[y])}}function o(d){if(!(this instanceof o))return new o(d);r.call(this,d),s.call(this,d),d?(this.allowHalfOpen=d.allowHalfOpen!==!1,d.readable===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),d.writable===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}n(o.prototype,{writable:{__proto__:null,...e(s.prototype,"writable")},writableHighWaterMark:{__proto__:null,...e(s.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...e(s.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...e(s.prototype,"writableBuffer")},writableLength:{__proto__:null,...e(s.prototype,"writableLength")},writableFinished:{__proto__:null,...e(s.prototype,"writableFinished")},writableCorked:{__proto__:null,...e(s.prototype,"writableCorked")},writableEnded:{__proto__:null,...e(s.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...e(s.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set(d){this._readableState&&this._writableState&&(this._readableState.destroyed=d,this._writableState.destroyed=d)}}});let a;function c(){return a===void 0&&(a={}),a}o.fromWeb=function(d,p){return c().newStreamDuplexFromReadableWritablePair(d,p)},o.toWeb=function(d){return c().newReadableWritablePairFromDuplex(d)};let f;return o.from=function(d){return f||(f=WW()),f(d,"body")},eg}const{ObjectSetPrototypeOf:VO,Symbol:GW}=$t;var KO=ws;const{ERR_METHOD_NOT_IMPLEMENTED:qW}=ni.codes,N0=_s(),{getHighWaterMark:HW}=mp;VO(ws.prototype,N0.prototype);VO(ws,N0);const Ru=GW("kCallback");function ws(n){if(!(this instanceof ws))return new ws(n);const e=n?HW(this,n,"readableHighWaterMark",!0):null;e===0&&(n={...n,highWaterMark:null,readableHighWaterMark:e,writableHighWaterMark:n.writableHighWaterMark||0}),N0.call(this,n),this._readableState.sync=!1,this[Ru]=null,n&&(typeof n.transform=="function"&&(this._transform=n.transform),typeof n.flush=="function"&&(this._flush=n.flush)),this.on("prefinish",VW)}function Kg(n){typeof this._flush=="function"&&!this.destroyed?this._flush((e,t)=>{if(e){n?n(e):this.destroy(e);return}t!=null&&this.push(t),this.push(null),n&&n()}):(this.push(null),n&&n())}function VW(){this._final!==Kg&&Kg.call(this)}ws.prototype._final=Kg;ws.prototype._transform=function(n,e,t){throw new qW("_transform()")};ws.prototype._write=function(n,e,t){const i=this._readableState,r=this._writableState,s=i.length;this._transform(n,e,(o,a)=>{if(o){t(o);return}a!=null&&this.push(a),r.ended||s===i.length||i.length<i.highWaterMark?t():this[Ru]=t})};ws.prototype._read=function(){if(this[Ru]){const n=this[Ru];this[Ru]=null,n()}};const{ObjectSetPrototypeOf:ZO}=$t;var QO=vl;const k0=KO;ZO(vl.prototype,k0.prototype);ZO(vl,k0);function vl(n){if(!(this instanceof vl))return new vl(n);k0.call(this,n)}vl.prototype._transform=function(n,e,t){t(null,n)};const ku=ba,{ArrayIsArray:KW,Promise:ZW,SymbolAsyncIterator:QW,SymbolDispose:XW}=$t,eh=yo,{once:YW}=Un,$W=Bl,bL=_s(),{aggregateTwoErrors:e5,codes:{ERR_INVALID_ARG_TYPE:Zg,ERR_INVALID_RETURN_VALUE:tg,ERR_MISSING_ARGS:t5,ERR_STREAM_DESTROYED:n5,ERR_STREAM_PREMATURE_CLOSE:i5},AbortError:r5}=ni,{validateFunction:s5,validateAbortSignal:o5}=xc,{isIterable:Uo,isReadable:ng,isReadableNodeStream:xd,isNodeStream:TL,isTransformStream:Qa,isWebStream:a5,isReadableStream:ig,isReadableFinished:l5}=Es,u5=globalThis.AbortController||Hu().AbortController;let rg,sg,og;function SL(n,e,t){let i=!1;n.on("close",()=>{i=!0});const r=eh(n,{readable:e,writable:t},s=>{i=!s});return{destroy:s=>{i||(i=!0,$W.destroyer(n,s||new n5("pipe")))},cleanup:r}}function c5(n){return s5(n[n.length-1],"streams[stream.length - 1]"),n.pop()}function ag(n){if(Uo(n))return n;if(xd(n))return f5(n);throw new Zg("val",["Readable","Iterable","AsyncIterable"],n)}async function*f5(n){sg||(sg=yp()),yield*sg.prototype[QW].call(n)}async function Td(n,e,t,{end:i}){let r,s=null;const o=f=>{if(f&&(r=f),s){const d=s;s=null,d()}},a=()=>new ZW((f,d)=>{r?d(r):s=()=>{r?d(r):f()}});e.on("drain",o);const c=eh(e,{readable:!1},o);try{e.writableNeedDrain&&await a();for await(const f of n)e.write(f)||await a();i&&(e.end(),await a()),t()}catch(f){t(r!==f?e5(r,f):f)}finally{c(),e.off("drain",o)}}async function lg(n,e,t,{end:i}){Qa(e)&&(e=e.writable);const r=e.getWriter();try{for await(const s of n)await r.ready,r.write(s).catch(()=>{});await r.ready,i&&await r.close(),t()}catch(s){try{await r.abort(s),t(s)}catch(o){t(o)}}}function d5(...n){return XO(n,YW(c5(n)))}function XO(n,e,t){if(n.length===1&&KW(n[0])&&(n=n[0]),n.length<2)throw new t5("streams");const i=new u5,r=i.signal,s=t?.signal,o=[];o5(s,"options.signal");function a(){S(new r5)}og=og||Un.addAbortListener;let c;s&&(c=og(s,a));let f,d;const p=[];let y=0;function h(U){S(U,--y===0)}function S(U,x){var J;if(U&&(!f||f.code==="ERR_STREAM_PREMATURE_CLOSE")&&(f=U),!(!f&&!x)){for(;p.length;)p.shift()(f);(J=c)===null||J===void 0||J[XW](),i.abort(),x&&(f||o.forEach(D=>D()),ku.nextTick(e,f,d))}}let m;for(let U=0;U<n.length;U++){const x=n[U],J=U<n.length-1,D=U>0,K=J||t?.end!==!1,X=U===n.length-1;if(TL(x)){let E=function(j){j&&j.name!=="AbortError"&&j.code!=="ERR_STREAM_PREMATURE_CLOSE"&&h(j)};if(K){const{destroy:j,cleanup:ne}=SL(x,J,D);p.push(j),ng(x)&&X&&o.push(ne)}x.on("error",E),ng(x)&&X&&o.push(()=>{x.removeListener("error",E)})}if(U===0)if(typeof x=="function"){if(m=x({signal:r}),!Uo(m))throw new tg("Iterable, AsyncIterable or Stream","source",m)}else Uo(x)||xd(x)||Qa(x)?m=x:m=bL.from(x);else if(typeof x=="function"){if(Qa(m)){var v;m=ag((v=m)===null||v===void 0?void 0:v.readable)}else m=ag(m);if(m=x(m,{signal:r}),J){if(!Uo(m,!0))throw new tg("AsyncIterable",`transform[${U-1}]`,m)}else{var C;rg||(rg=QO);const E=new rg({objectMode:!0}),j=(C=m)===null||C===void 0?void 0:C.then;if(typeof j=="function")y++,j.call(m,re=>{d=re,re!=null&&E.write(re),K&&E.end(),ku.nextTick(h)},re=>{E.destroy(re),ku.nextTick(h,re)});else if(Uo(m,!0))y++,Td(m,E,h,{end:K});else if(ig(m)||Qa(m)){const re=m.readable||m;y++,Td(re,E,h,{end:K})}else throw new tg("AsyncIterable or Promise","destination",m);m=E;const{destroy:ne,cleanup:se}=SL(m,!1,!0);p.push(ne),X&&o.push(se)}}else if(TL(x)){if(xd(m)){y+=2;const E=h5(m,x,h,{end:K});ng(x)&&X&&o.push(E)}else if(Qa(m)||ig(m)){const E=m.readable||m;y++,Td(E,x,h,{end:K})}else if(Uo(m))y++,Td(m,x,h,{end:K});else throw new Zg("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],m);m=x}else if(a5(x)){if(xd(m))y++,lg(ag(m),x,h,{end:K});else if(ig(m)||Uo(m))y++,lg(m,x,h,{end:K});else if(Qa(m))y++,lg(m.readable,x,h,{end:K});else throw new Zg("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],m);m=x}else m=bL.from(x)}return(r!=null&&r.aborted||s!=null&&s.aborted)&&ku.nextTick(a),m}function h5(n,e,t,{end:i}){let r=!1;if(e.on("close",()=>{r||t(new i5)}),n.pipe(e,{end:!1}),i){let s=function(){r=!0,e.end()};l5(n)?ku.nextTick(s):n.once("end",s)}else t();return eh(n,{readable:!0,writable:!1},s=>{const o=n._readableState;s&&s.code==="ERR_STREAM_PREMATURE_CLOSE"&&o&&o.ended&&!o.errored&&!o.errorEmitted?n.once("end",t).once("error",t):t(s)}),eh(e,{readable:!1,writable:!0},t)}var O0={pipelineImpl:XO,pipeline:d5};const{pipeline:p5}=O0,Sd=_s(),{destroyer:m5}=Bl,{isNodeStream:vd,isReadable:vL,isWritable:_L,isWebStream:ug,isTransformStream:Bo,isWritableStream:wL,isReadableStream:LL}=Es,{AbortError:y5,codes:{ERR_INVALID_ARG_VALUE:NL,ERR_MISSING_ARGS:g5}}=ni,b5=yo;var YO=function(...e){if(e.length===0)throw new g5("streams");if(e.length===1)return Sd.from(e[0]);const t=[...e];if(typeof e[0]=="function"&&(e[0]=Sd.from(e[0])),typeof e[e.length-1]=="function"){const h=e.length-1;e[h]=Sd.from(e[h])}for(let h=0;h<e.length;++h)if(!(!vd(e[h])&&!ug(e[h]))){if(h<e.length-1&&!(vL(e[h])||LL(e[h])||Bo(e[h])))throw new NL(`streams[${h}]`,t[h],"must be readable");if(h>0&&!(_L(e[h])||wL(e[h])||Bo(e[h])))throw new NL(`streams[${h}]`,t[h],"must be writable")}let i,r,s,o,a;function c(h){const S=o;o=null,S?S(h):h?a.destroy(h):!y&&!p&&a.destroy()}const f=e[0],d=p5(e,c),p=!!(_L(f)||wL(f)||Bo(f)),y=!!(vL(d)||LL(d)||Bo(d));if(a=new Sd({writableObjectMode:!!(f!=null&&f.writableObjectMode),readableObjectMode:!!(d!=null&&d.readableObjectMode),writable:p,readable:y}),p){if(vd(f))a._write=function(S,m,v){f.write(S,m)?v():i=v},a._final=function(S){f.end(),r=S},f.on("drain",function(){if(i){const S=i;i=null,S()}});else if(ug(f)){const m=(Bo(f)?f.writable:f).getWriter();a._write=async function(v,C,U){try{await m.ready,m.write(v).catch(()=>{}),U()}catch(x){U(x)}},a._final=async function(v){try{await m.ready,m.close().catch(()=>{}),r=v}catch(C){v(C)}}}const h=Bo(d)?d.readable:d;b5(h,()=>{if(r){const S=r;r=null,S()}})}if(y){if(vd(d))d.on("readable",function(){if(s){const h=s;s=null,h()}}),d.on("end",function(){a.push(null)}),a._read=function(){for(;;){const h=d.read();if(h===null){s=a._read;return}if(!a.push(h))return}};else if(ug(d)){const S=(Bo(d)?d.readable:d).getReader();a._read=async function(){for(;;)try{const{value:m,done:v}=await S.read();if(!a.push(m))return;if(v){a.push(null);return}}catch{return}}}}return a._destroy=function(h,S){!h&&o!==null&&(h=new y5),s=null,i=null,r=null,o===null?S(h):(o=S,vd(d)&&m5(d,h))},a};const T5=globalThis.AbortController||Hu().AbortController,{codes:{ERR_INVALID_ARG_VALUE:S5,ERR_INVALID_ARG_TYPE:zc,ERR_MISSING_ARGS:v5,ERR_OUT_OF_RANGE:_5},AbortError:Dr}=ni,{validateAbortSignal:Sa,validateInteger:kL,validateObject:va}=xc,w5=$t.Symbol("kWeak"),L5=$t.Symbol("kResistStopPropagation"),{finished:N5}=yo,k5=YO,{addAbortSignalNoValidate:O5}=pp,{isWritable:E5,isNodeStream:C5}=Es,{deprecate:A5}=Un,{ArrayPrototypePush:F5,Boolean:P5,MathFloor:OL,Number:M5,NumberIsNaN:I5,Promise:EL,PromiseReject:CL,PromiseResolve:R5,PromisePrototypeThen:AL,Symbol:$O}=$t,th=$O("kEmpty"),FL=$O("kEof");function j5(n,e){if(e!=null&&va(e,"options"),e?.signal!=null&&Sa(e.signal,"options.signal"),C5(n)&&!E5(n))throw new S5("stream",n,"must be writable");const t=k5(this,n);return e!=null&&e.signal&&O5(e.signal,t),t}function gp(n,e){if(typeof n!="function")throw new zc("fn",["Function","AsyncFunction"],n);e!=null&&va(e,"options"),e?.signal!=null&&Sa(e.signal,"options.signal");let t=1;e?.concurrency!=null&&(t=OL(e.concurrency));let i=t-1;return e?.highWaterMark!=null&&(i=OL(e.highWaterMark)),kL(t,"options.concurrency",1),kL(i,"options.highWaterMark",0),i+=t,async function*(){const s=Un.AbortSignalAny([e?.signal].filter(P5)),o=this,a=[],c={signal:s};let f,d,p=!1,y=0;function h(){p=!0,S()}function S(){y-=1,m()}function m(){d&&!p&&y<t&&a.length<i&&(d(),d=null)}async function v(){try{for await(let C of o){if(p)return;if(s.aborted)throw new Dr;try{if(C=n(C,c),C===th)continue;C=R5(C)}catch(U){C=CL(U)}y+=1,AL(C,S,h),a.push(C),f&&(f(),f=null),!p&&(a.length>=i||y>=t)&&await new EL(U=>{d=U})}a.push(FL)}catch(C){const U=CL(C);AL(U,S,h),a.push(U)}finally{p=!0,f&&(f(),f=null)}}v();try{for(;;){for(;a.length>0;){const C=await a[0];if(C===FL)return;if(s.aborted)throw new Dr;C!==th&&(yield C),a.shift(),m()}await new EL(C=>{f=C})}}finally{p=!0,d&&(d(),d=null)}}.call(this)}function B5(n=void 0){return n!=null&&va(n,"options"),n?.signal!=null&&Sa(n.signal,"options.signal"),async function*(){let t=0;for await(const r of this){var i;if(n!=null&&(i=n.signal)!==null&&i!==void 0&&i.aborted)throw new Dr({cause:n.signal.reason});yield[t++,r]}}.call(this)}async function eE(n,e=void 0){for await(const t of E0.call(this,n,e))return!0;return!1}async function D5(n,e=void 0){if(typeof n!="function")throw new zc("fn",["Function","AsyncFunction"],n);return!await eE.call(this,async(...t)=>!await n(...t),e)}async function U5(n,e){for await(const t of E0.call(this,n,e))return t}async function x5(n,e){if(typeof n!="function")throw new zc("fn",["Function","AsyncFunction"],n);async function t(i,r){return await n(i,r),th}for await(const i of gp.call(this,t,e));}function E0(n,e){if(typeof n!="function")throw new zc("fn",["Function","AsyncFunction"],n);async function t(i,r){return await n(i,r)?i:th}return gp.call(this,t,e)}class J5 extends v5{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}async function z5(n,e,t){var i;if(typeof n!="function")throw new zc("reducer",["Function","AsyncFunction"],n);t!=null&&va(t,"options"),t?.signal!=null&&Sa(t.signal,"options.signal");let r=arguments.length>1;if(t!=null&&(i=t.signal)!==null&&i!==void 0&&i.aborted){const f=new Dr(void 0,{cause:t.signal.reason});throw this.once("error",()=>{}),await N5(this.destroy(f)),f}const s=new T5,o=s.signal;if(t!=null&&t.signal){const f={once:!0,[w5]:this,[L5]:!0};t.signal.addEventListener("abort",()=>s.abort(),f)}let a=!1;try{for await(const f of this){var c;if(a=!0,t!=null&&(c=t.signal)!==null&&c!==void 0&&c.aborted)throw new Dr;r?e=await n(e,f,{signal:o}):(e=f,r=!0)}if(!a&&!r)throw new J5}finally{s.abort()}return e}async function W5(n){n!=null&&va(n,"options"),n?.signal!=null&&Sa(n.signal,"options.signal");const e=[];for await(const i of this){var t;if(n!=null&&(t=n.signal)!==null&&t!==void 0&&t.aborted)throw new Dr(void 0,{cause:n.signal.reason});F5(e,i)}return e}function G5(n,e){const t=gp.call(this,n,e);return async function*(){for await(const r of t)yield*r}.call(this)}function tE(n){if(n=M5(n),I5(n))return 0;if(n<0)throw new _5("number",">= 0",n);return n}function q5(n,e=void 0){return e!=null&&va(e,"options"),e?.signal!=null&&Sa(e.signal,"options.signal"),n=tE(n),async function*(){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new Dr;for await(const s of this){var r;if(e!=null&&(r=e.signal)!==null&&r!==void 0&&r.aborted)throw new Dr;n--<=0&&(yield s)}}.call(this)}function H5(n,e=void 0){return e!=null&&va(e,"options"),e?.signal!=null&&Sa(e.signal,"options.signal"),n=tE(n),async function*(){var i;if(e!=null&&(i=e.signal)!==null&&i!==void 0&&i.aborted)throw new Dr;for await(const s of this){var r;if(e!=null&&(r=e.signal)!==null&&r!==void 0&&r.aborted)throw new Dr;if(n-- >0&&(yield s),n<=0)return}}.call(this)}g0.streamReturningOperators={asIndexedPairs:A5(B5,"readable.asIndexedPairs will be removed in a future version."),drop:q5,filter:E0,flatMap:G5,map:gp,take:H5,compose:j5};g0.promiseReturningOperators={every:D5,forEach:x5,reduce:z5,toArray:W5,some:eE,find:U5};var cg,PL;function nE(){if(PL)return cg;PL=1;const{ArrayPrototypePop:n,Promise:e}=$t,{isIterable:t,isNodeStream:i,isWebStream:r}=Es,{pipelineImpl:s}=O0,{finished:o}=yo;iE();function a(...c){return new e((f,d)=>{let p,y;const h=c[c.length-1];if(h&&typeof h=="object"&&!i(h)&&!t(h)&&!r(h)){const S=n(c);p=S.signal,y=S.end}s(c,(S,m)=>{S?d(S):f(m)},{signal:p,end:y})})}return cg={finished:o,pipeline:a},cg}var ML;function iE(){if(ML)return Hy.exports;ML=1;const{Buffer:n}=mo,{ObjectDefineProperty:e,ObjectKeys:t,ReflectApply:i}=$t,{promisify:{custom:r}}=Un,{streamReturningOperators:s,promiseReturningOperators:o}=g0,{codes:{ERR_ILLEGAL_CONSTRUCTOR:a}}=ni,c=YO,{setDefaultHighWaterMark:f,getDefaultHighWaterMark:d}=mp,{pipeline:p}=O0,{destroyer:y}=Bl,h=yo,S=nE(),m=Es,v=Hy.exports=_0.Stream;v.isDestroyed=m.isDestroyed,v.isDisturbed=m.isDisturbed,v.isErrored=m.isErrored,v.isReadable=m.isReadable,v.isWritable=m.isWritable,v.Readable=yp();for(const U of t(s)){let J=function(...D){if(new.target)throw a();return v.Readable.from(i(x,this,D))};const x=s[U];e(J,"name",{__proto__:null,value:x.name}),e(J,"length",{__proto__:null,value:x.length}),e(v.Readable.prototype,U,{__proto__:null,value:J,enumerable:!1,configurable:!0,writable:!0})}for(const U of t(o)){let J=function(...D){if(new.target)throw a();return i(x,this,D)};const x=o[U];e(J,"name",{__proto__:null,value:x.name}),e(J,"length",{__proto__:null,value:x.length}),e(v.Readable.prototype,U,{__proto__:null,value:J,enumerable:!1,configurable:!0,writable:!0})}v.Writable=L0(),v.Duplex=_s(),v.Transform=KO,v.PassThrough=QO,v.pipeline=p;const{addAbortSignal:C}=pp;return v.addAbortSignal=C,v.finished=h,v.destroy=y,v.compose=c,v.setDefaultHighWaterMark=f,v.getDefaultHighWaterMark=d,e(v,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return S}}),e(p,r,{__proto__:null,enumerable:!0,get(){return S.pipeline}}),e(h,r,{__proto__:null,enumerable:!0,get(){return S.finished}}),v.Stream=v,v._isUint8Array=function(x){return x instanceof Uint8Array},v._uint8ArrayToBuffer=function(x){return n.from(x.buffer,x.byteOffset,x.byteLength)},Hy.exports}(function(n){const e=iE(),t=nE(),i=e.Readable.destroy;n.exports=e.Readable,n.exports._uint8ArrayToBuffer=e._uint8ArrayToBuffer,n.exports._isUint8Array=e._isUint8Array,n.exports.isDisturbed=e.isDisturbed,n.exports.isErrored=e.isErrored,n.exports.isReadable=e.isReadable,n.exports.Readable=e.Readable,n.exports.Writable=e.Writable,n.exports.Duplex=e.Duplex,n.exports.Transform=e.Transform,n.exports.PassThrough=e.PassThrough,n.exports.addAbortSignal=e.addAbortSignal,n.exports.finished=e.finished,n.exports.destroy=e.destroy,n.exports.destroy=i,n.exports.pipeline=e.pipeline,n.exports.compose=e.compose,Object.defineProperty(e,"promises",{configurable:!0,enumerable:!0,get(){return t}}),n.exports.Stream=e.Stream,n.exports.default=n.exports})($k);var V5=$k.exports;Object.defineProperty(m0,"__esModule",{value:!0});const K5=V5;function Z5(n){n=Object.assign({},n);const e=n.array;let t=n.encoding;const i=t==="buffer";let r=!1;e?r=!(t||i):t=t||"utf8",i&&(t=void 0);let s=0;const o=[],a=new K5.PassThrough({objectMode:r});return t&&a.setEncoding(t),a.on("data",c=>{o.push(c),r?s=o.length:s+=c.length}),a.getBufferedValue=()=>e?o:i?Buffer.concat(o,s):o.join(""),a.getBufferedLength=()=>s,a}m0.default=Z5;var Q5=Ee&&Ee.__awaiter||function(n,e,t,i){function r(s){return s instanceof t?s:new t(function(o){o(s)})}return new(t||(t=Promise))(function(s,o){function a(d){try{f(i.next(d))}catch(p){o(p)}}function c(d){try{f(i.throw(d))}catch(p){o(p)}}function f(d){d.done?s(d.value):r(d.value).then(a,c)}f((i=i.apply(n,e||[])).next())})},X5=Ee&&Ee.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(ys,"__esModule",{value:!0});ys.array=ys.buffer=ys.getStream=void 0;const Y5=X5(m0);function C0(n,e={}){var t;return Q5(this,void 0,void 0,function*(){if(!n)return yield Promise.reject(new Error("Expected a stream"));e=Object.assign({maxBuffer:1/0},e);const i=(t=e.maxBuffer)!==null&&t!==void 0?t:1/0;let r,s;return yield new Promise((a,c)=>{const f=d=>{d&&(d.bufferedData=r.getBufferedValue()),c(d)};r=(0,Y5.default)(e),n.once("error",f),n.pipe(r),r.on("data",()=>{r.getBufferedLength()>i&&c(new Error("maxBuffer exceeded"))}),r.once("error",f),r.on("end",a),s=()=>{n.unpipe&&n.unpipe(r)}}).then(s,s).then(()=>r.getBufferedValue())})}ys.getStream=C0;function $5(n,e={}){C0(n,Object.assign({},e,{encoding:"buffer"}))}ys.buffer=$5;function e9(n,e={}){C0(n,Object.assign({},e,{array:!0}))}ys.array=e9;var ua={};const t9={},n9=Object.freeze(Object.defineProperty({__proto__:null,default:t9},Symbol.toStringTag,{value:"Module"})),i9=RL(n9);var rE={},bp={};Object.defineProperty(bp,"__esModule",{value:!0});bp.DefaultMap=void 0;class r9 extends Map{constructor(e,t){super(t),this._defaultFunc=e}get(e){let t=super.get(e);if(t===void 0){if(this.has(e))return t;t=this._defaultFunc(e),this.set(e,t)}return t}update(e,t){const i=t(this.get(e));return this.set(e,i),i}}bp.DefaultMap=r9;var _l={};Object.defineProperty(_l,"__esModule",{value:!0});_l.makeBrandString=_l.brandString=void 0;function sE(n){return n}_l.brandString=sE;function s9(){return sE}_l.makeBrandString=s9;(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.makeBrandString=n.brandString=n.DefaultMap=n.exceptionToError=n.exceptionToString=n.filterUndefined=n.mapFilterUndefined=n.hasOwnProperty=n.isArray=n.isEnumValue=n.definedMap=n.reduceTwo=n.sleep=n.dontAwait=n.defined=n.assertNever=n.assert=n.panic=n.proveNever=n.proveType=void 0;function e(J){}n.proveType=e;function t(J,D,K){return console.trace(D),K}n.proveNever=t;function i(J="This should not happen"){console.trace(J);debugger;throw new Error(J)}n.panic=i;function r(J,D="Assertion failed"){if(!J)return i(D)}n.assert=r;function s(J,D="`never` happened"){return i(D)}n.assertNever=s;function o(J,D){return J===void 0?i("Value was undefined but should be defined"+(D!==void 0?` because: ${D}`:"")):J}n.defined=o;function a(J){J instanceof Promise&&J.catch(D=>{throw console.trace("Unhandled error from unawaited promise",D),D})}n.dontAwait=a;function c(J){return new Promise(D=>{setTimeout(D,J)})}n.sleep=c;function f(J,D,K){return J===void 0?D:D===void 0?J:K(J,D)}n.reduceTwo=f;function d(J,D){if(J!==void 0)return D(J)}n.definedMap=d;function p(J,D){return Object.keys(J).map(K=>J[K]).some(K=>K===D)}n.isEnumValue=p;function y(J){return Array.isArray(J)}n.isArray=y;function h(J,D){return J==null?!1:Object.prototype.hasOwnProperty.call(J,D)}n.hasOwnProperty=h;function S(J,D){const K=[];let X=0;for(const E of J){const j=D(E,X);X+=1,j!==void 0&&K.push(j)}return K}n.mapFilterUndefined=S;function m(J){const D=[];for(const K of J)K!==void 0&&D.push(K);return D}n.filterUndefined=m;function v(J){if(J===void 0)return"";try{return J.toString()}catch(D){try{return`Exception can't be stringified: ${v(D)}`}catch{return"Exception can't be stringified"}}}n.exceptionToString=v;function C(J){return J instanceof Error?J:new Error(v(J))}n.exceptionToError=C;var U=bp;Object.defineProperty(n,"DefaultMap",{enumerable:!0,get:function(){return U.DefaultMap}});var x=_l;Object.defineProperty(n,"brandString",{enumerable:!0,get:function(){return x.brandString}}),Object.defineProperty(n,"makeBrandString",{enumerable:!0,get:function(){return x.makeBrandString}})})(rE);var A0=Object.defineProperty,o9=Object.getOwnPropertyDescriptor,a9=Object.getOwnPropertyNames,l9=Object.prototype.hasOwnProperty,u9=(n,e)=>{for(var t in e)A0(n,t,{get:e[t],enumerable:!0})},c9=(n,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of a9(e))!l9.call(n,r)&&r!==t&&A0(n,r,{get:()=>e[r],enumerable:!(i=o9(e,r))||i.enumerable});return n},f9=n=>c9(A0({},"__esModule",{value:!0}),n),oE={};u9(oE,{isBrowser:()=>h9,isBun:()=>b9,isDeno:()=>g9,isJsDom:()=>y9,isNode:()=>p9,isWebWorker:()=>m9});var d9=f9(oE),h9=typeof window<"u"&&typeof window.document<"u",p9=typeof process<"u"&&process.versions!=null&&process.versions.node!=null,m9=typeof self=="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",y9=typeof window<"u"&&window.name==="nodejs"||typeof navigator<"u"&&"userAgent"in navigator&&typeof navigator.userAgent=="string"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),g9=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",b9=typeof process<"u"&&process.versions!=null&&process.versions.bun!=null,Qg={exports:{}};(function(n,e){var t=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof Ee<"u"&&Ee,i=function(){function s(){this.fetch=!1,this.DOMException=t.DOMException}return s.prototype=t,new s}();(function(s){(function(o){var a=typeof s<"u"&&s||typeof self<"u"&&self||typeof a<"u"&&a,c={searchParams:"URLSearchParams"in a,iterable:"Symbol"in a&&"iterator"in Symbol,blob:"FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in a,arrayBuffer:"ArrayBuffer"in a};function f(w){return w&&DataView.prototype.isPrototypeOf(w)}if(c.arrayBuffer)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],p=ArrayBuffer.isView||function(w){return w&&d.indexOf(Object.prototype.toString.call(w))>-1};function y(w){if(typeof w!="string"&&(w=String(w)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(w)||w==="")throw new TypeError('Invalid character in header field name: "'+w+'"');return w.toLowerCase()}function h(w){return typeof w!="string"&&(w=String(w)),w}function S(w){var L={next:function(){var M=w.shift();return{done:M===void 0,value:M}}};return c.iterable&&(L[Symbol.iterator]=function(){return L}),L}function m(w){this.map={},w instanceof m?w.forEach(function(L,M){this.append(M,L)},this):Array.isArray(w)?w.forEach(function(L){this.append(L[0],L[1])},this):w&&Object.getOwnPropertyNames(w).forEach(function(L){this.append(L,w[L])},this)}m.prototype.append=function(w,L){w=y(w),L=h(L);var M=this.map[w];this.map[w]=M?M+", "+L:L},m.prototype.delete=function(w){delete this.map[y(w)]},m.prototype.get=function(w){return w=y(w),this.has(w)?this.map[w]:null},m.prototype.has=function(w){return this.map.hasOwnProperty(y(w))},m.prototype.set=function(w,L){this.map[y(w)]=h(L)},m.prototype.forEach=function(w,L){for(var M in this.map)this.map.hasOwnProperty(M)&&w.call(L,this.map[M],M,this)},m.prototype.keys=function(){var w=[];return this.forEach(function(L,M){w.push(M)}),S(w)},m.prototype.values=function(){var w=[];return this.forEach(function(L){w.push(L)}),S(w)},m.prototype.entries=function(){var w=[];return this.forEach(function(L,M){w.push([M,L])}),S(w)},c.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function v(w){if(w.bodyUsed)return Promise.reject(new TypeError("Already read"));w.bodyUsed=!0}function C(w){return new Promise(function(L,M){w.onload=function(){L(w.result)},w.onerror=function(){M(w.error)}})}function U(w){var L=new FileReader,M=C(L);return L.readAsArrayBuffer(w),M}function x(w){var L=new FileReader,M=C(L);return L.readAsText(w),M}function J(w){for(var L=new Uint8Array(w),M=new Array(L.length),z=0;z<L.length;z++)M[z]=String.fromCharCode(L[z]);return M.join("")}function D(w){if(w.slice)return w.slice(0);var L=new Uint8Array(w.byteLength);return L.set(new Uint8Array(w)),L.buffer}function K(){return this.bodyUsed=!1,this._initBody=function(w){this.bodyUsed=this.bodyUsed,this._bodyInit=w,w?typeof w=="string"?this._bodyText=w:c.blob&&Blob.prototype.isPrototypeOf(w)?this._bodyBlob=w:c.formData&&FormData.prototype.isPrototypeOf(w)?this._bodyFormData=w:c.searchParams&&URLSearchParams.prototype.isPrototypeOf(w)?this._bodyText=w.toString():c.arrayBuffer&&c.blob&&f(w)?(this._bodyArrayBuffer=D(w.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(w)||p(w))?this._bodyArrayBuffer=D(w):this._bodyText=w=Object.prototype.toString.call(w):this._bodyText="",this.headers.get("content-type")||(typeof w=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):c.searchParams&&URLSearchParams.prototype.isPrototypeOf(w)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},c.blob&&(this.blob=function(){var w=v(this);if(w)return w;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 w=v(this);return w||(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(U)}),this.text=function(){var w=v(this);if(w)return w;if(this._bodyBlob)return x(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(J(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},c.formData&&(this.formData=function(){return this.text().then(ne)}),this.json=function(){return this.text().then(JSON.parse)},this}var X=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function E(w){var L=w.toUpperCase();return X.indexOf(L)>-1?L:w}function j(w,L){if(!(this instanceof j))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');L=L||{};var M=L.body;if(w instanceof j){if(w.bodyUsed)throw new TypeError("Already read");this.url=w.url,this.credentials=w.credentials,L.headers||(this.headers=new m(w.headers)),this.method=w.method,this.mode=w.mode,this.signal=w.signal,!M&&w._bodyInit!=null&&(M=w._bodyInit,w.bodyUsed=!0)}else this.url=String(w);if(this.credentials=L.credentials||this.credentials||"same-origin",(L.headers||!this.headers)&&(this.headers=new m(L.headers)),this.method=E(L.method||this.method||"GET"),this.mode=L.mode||this.mode||null,this.signal=L.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&M)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(M),(this.method==="GET"||this.method==="HEAD")&&(L.cache==="no-store"||L.cache==="no-cache")){var z=/([?&])_=[^&]*/;if(z.test(this.url))this.url=this.url.replace(z,"$1_="+new Date().getTime());else{var q=/\?/;this.url+=(q.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}j.prototype.clone=function(){return new j(this,{body:this._bodyInit})};function ne(w){var L=new FormData;return w.trim().split("&").forEach(function(M){if(M){var z=M.split("="),q=z.shift().replace(/\+/g," "),H=z.join("=").replace(/\+/g," ");L.append(decodeURIComponent(q),decodeURIComponent(H))}}),L}function se(w){var L=new m,M=w.replace(/\r?\n[\t ]+/g," ");return M.split("\r").map(function(z){return z.indexOf(`
|
|
1027
|
+
`)===0?z.substr(1,z.length):z}).forEach(function(z){var q=z.split(":"),H=q.shift().trim();if(H){var $=q.join(":").trim();L.append(H,$)}}),L}K.call(j.prototype);function re(w,L){if(!(this instanceof re))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');L||(L={}),this.type="default",this.status=L.status===void 0?200:L.status,this.ok=this.status>=200&&this.status<300,this.statusText=L.statusText===void 0?"":""+L.statusText,this.headers=new m(L.headers),this.url=L.url||"",this._initBody(w)}K.call(re.prototype),re.prototype.clone=function(){return new re(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},re.error=function(){var w=new re(null,{status:0,statusText:""});return w.type="error",w};var T=[301,302,303,307,308];re.redirect=function(w,L){if(T.indexOf(L)===-1)throw new RangeError("Invalid status code");return new re(null,{status:L,headers:{location:w}})},o.DOMException=a.DOMException;try{new o.DOMException}catch{o.DOMException=function(L,M){this.message=L,this.name=M;var z=Error(L);this.stack=z.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function b(w,L){return new Promise(function(M,z){var q=new j(w,L);if(q.signal&&q.signal.aborted)return z(new o.DOMException("Aborted","AbortError"));var H=new XMLHttpRequest;function $(){H.abort()}H.onload=function(){var I={status:H.status,statusText:H.statusText,headers:se(H.getAllResponseHeaders()||"")};I.url="responseURL"in H?H.responseURL:I.headers.get("X-Request-URL");var W="response"in H?H.response:H.responseText;setTimeout(function(){M(new re(W,I))},0)},H.onerror=function(){setTimeout(function(){z(new TypeError("Network request failed"))},0)},H.ontimeout=function(){setTimeout(function(){z(new TypeError("Network request failed"))},0)},H.onabort=function(){setTimeout(function(){z(new o.DOMException("Aborted","AbortError"))},0)};function fe(I){try{return I===""&&a.location.href?a.location.href:I}catch{return I}}H.open(q.method,fe(q.url),!0),q.credentials==="include"?H.withCredentials=!0:q.credentials==="omit"&&(H.withCredentials=!1),"responseType"in H&&(c.blob?H.responseType="blob":c.arrayBuffer&&q.headers.get("Content-Type")&&q.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(H.responseType="arraybuffer")),L&&typeof L.headers=="object"&&!(L.headers instanceof m)?Object.getOwnPropertyNames(L.headers).forEach(function(I){H.setRequestHeader(I,h(L.headers[I]))}):q.headers.forEach(function(I,W){H.setRequestHeader(W,I)}),q.signal&&(q.signal.addEventListener("abort",$),H.onreadystatechange=function(){H.readyState===4&&q.signal.removeEventListener("abort",$)}),H.send(typeof q._bodyInit>"u"?null:q._bodyInit)})}return b.polyfill=!0,a.fetch||(a.fetch=b,a.Headers=m,a.Request=j,a.Response=re),o.Headers=m,o.Request=j,o.Response=re,o.fetch=b,o})({})})(i),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var r=t.fetch?t:i;e=r.fetch,e.default=r.fetch,e.fetch=r.fetch,e.Headers=r.Headers,e.Request=r.Request,e.Response=r.Response,n.exports=e})(Qg,Qg.exports);var T9=Qg.exports,S9=L9,v9=/^(?:\w+:)?\/\/(\S+)$/,_9=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,w9=/^[^\s\.]+\.\S{2,}$/;function L9(n){if(typeof n!="string")return!1;var e=n.match(v9);if(!e)return!1;var t=e[1];return t?!!(_9.test(t)||w9.test(t)):!1}var N9={},k9=Ee&&Ee.__createBinding||(Object.create?function(n,e,t,i){i===void 0&&(i=t);var r=Object.getOwnPropertyDescriptor(e,t);(!r||("get"in r?!e.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,i,r)}:function(n,e,t,i){i===void 0&&(i=t),n[i]=e[t]}),O9=Ee&&Ee.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),E9=Ee&&Ee.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&k9(e,n,t);return O9(e,n),e},aE=Ee&&Ee.__awaiter||function(n,e,t,i){function r(s){return s instanceof t?s:new t(function(o){o(s)})}return new(t||(t=Promise))(function(s,o){function a(d){try{f(i.next(d))}catch(p){o(p)}}function c(d){try{f(i.throw(d))}catch(p){o(p)}}function f(d){d.done?s(d.value):r(d.value).then(a,c)}f((i=i.apply(n,e||[])).next())})},lE=Ee&&Ee.__importDefault||function(n){return n&&n.__esModule?n:{default:n}},fg;Object.defineProperty(ua,"__esModule",{value:!0});ua.readFromFileOrURL=ua.readableFromFileOrURL=void 0;const _d=E9(i9),Xg=rE,C9=d9,IL=lE(T9),A9=lE(S9),Yg=Yt,F9=Ce,P9=ys,M9=N9.CI?IL.default:(fg=Ee.fetch)!==null&&fg!==void 0?fg:IL.default;function I9(n){return Array.isArray(n)?n.reduce(function(e,t){if(t!==void 0&&t.length>0){const i=t.indexOf(":");if(i<0)return(0,F9.panic)(`Could not parse HTTP header "${t}".`);const r=t.slice(0,i).trim(),s=t.slice(i+1).trim();e[r]=s}return e},{}):{}}function uE(n,e){return aE(this,void 0,void 0,function*(){try{if((0,A9.default)(n)){const t=yield M9(n,{headers:I9(e)});return(0,Xg.defined)(t.body)}else if(C9.isNode){if(n==="-")return process.stdin;const t=_d.lstatSync(n).isSymbolicLink()?_d.readlinkSync(n):n;if(_d.existsSync(t))return _d.createReadStream(t,"utf8")}}catch(t){return(0,Yg.messageError)("MiscReadError",{fileOrURL:n,message:(0,Xg.exceptionToString)(t)})}return(0,Yg.messageError)("DriverInputFileDoesNotExist",{filename:n})})}ua.readableFromFileOrURL=uE;function R9(n,e){return aE(this,void 0,void 0,function*(){const t=yield uE(n,e);try{return yield(0,P9.getStream)(t)}catch(i){return(0,Yg.messageError)("MiscReadError",{fileOrURL:n,message:(0,Xg.exceptionToString)(i)})}})}ua.readFromFileOrURL=R9;var Tp={},j9=Ee&&Ee.__awaiter||function(n,e,t,i){function r(s){return s instanceof t?s:new t(function(o){o(s)})}return new(t||(t=Promise))(function(s,o){function a(d){try{f(i.next(d))}catch(p){o(p)}}function c(d){try{f(i.throw(d))}catch(p){o(p)}}function f(d){d.done?s(d.value):r(d.value).then(a,c)}f((i=i.apply(n,e||[])).next())})};Object.defineProperty(Tp,"__esModule",{value:!0});Tp.FetchingJSONSchemaStore=void 0;const B9=Ce,D9=ua,U9=Pl;class x9 extends U9.JSONSchemaStore{constructor(e){super(),this._httpHeaders=e}fetch(e){return j9(this,void 0,void 0,function*(){return(0,B9.parseJSON)(yield(0,D9.readFromFileOrURL)(e,this._httpHeaders),"JSON Schema",e)})}}Tp.FetchingJSONSchemaStore=x9;var Sp={};Object.defineProperty(Sp,"__esModule",{value:!0});Sp.sourcesFromPostmanCollection=void 0;const J9=Ce;function z9(n){try{return JSON.parse(n),!0}catch{return!1}}function W9(n,e){const t=[],i=[];function r(a){if(typeof a=="object"){if(Array.isArray(a.item)){for(const c of a.item)r(c);typeof a.info=="object"&&typeof a.info.description=="string"&&i.push(a.info.description)}if(typeof a.name=="string"&&Array.isArray(a.response)){const c=[];for(const f of a.response)typeof f=="object"&&typeof f.body=="string"&&z9(f.body)&&c.push(f.body);if(c.length>0){const f={name:a.name,samples:c},d=[a.name];if(typeof a.request=="object"){const{method:p,url:y}=a.request;p!==void 0&&typeof y=="object"&&y.raw!==void 0&&d.push(`${p} ${y.raw}`)}typeof a.request=="object"&&typeof a.request.description=="string"&&d.push(a.request.description),f.description=d.length===0?void 0:d.join(`
|
|
1028
|
+
|
|
1029
|
+
`),t.push(f)}}}}r((0,J9.parseJSON)(n,"Postman collection",e));const s=i.join(`
|
|
1030
|
+
|
|
1031
|
+
`).trim();let o;return s!==""&&(o=s),{sources:t,description:o}}Sp.sourcesFromPostmanCollection=W9;var cE={};(function(n){var e=Ee&&Ee.__createBinding||(Object.create?function(i,r,s,o){o===void 0&&(o=s);var a=Object.getOwnPropertyDescriptor(r,s);(!a||("get"in a?!r.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return r[s]}}),Object.defineProperty(i,o,a)}:function(i,r,s,o){o===void 0&&(o=s),i[o]=r[s]}),t=Ee&&Ee.__exportStar||function(i,r){for(var s in i)s!=="default"&&!Object.prototype.hasOwnProperty.call(r,s)&&e(r,i,s)};Object.defineProperty(n,"__esModule",{value:!0}),t(Cb,n),t(Mb,n),t(Ib,n),t(Rb,n),t(jb,n),t(Db,n),t(xb,n),t(Jb,n),t(zb,n),t(Wb,n),t(bc,n),t(Gb,n),t(qb,n),t(Hb,n),t(Vb,n),t(Zb,n),t(Qb,n),t($b,n),t(e0,n),t(n0,n),t(r0,n),t(o0,n),t(l0,n),t(c0,n),t(u0,n),t(f0,n)})(cE);(function(n){var e=Ee&&Ee.__createBinding||(Object.create?function(L,M,z,q){q===void 0&&(q=z);var H=Object.getOwnPropertyDescriptor(M,z);(!H||("get"in H?!M.__esModule:H.writable||H.configurable))&&(H={enumerable:!0,get:function(){return M[z]}}),Object.defineProperty(L,q,H)}:function(L,M,z,q){q===void 0&&(q=z),L[q]=M[z]}),t=Ee&&Ee.__exportStar||function(L,M){for(var z in L)z!=="default"&&!Object.prototype.hasOwnProperty.call(M,z)&&e(M,L,z)};Object.defineProperty(n,"__esModule",{value:!0}),n.ClassType=n.ArrayType=n.PrimitiveType=n.Type=n.messageAssert=n.messageError=n.QuickTypeError=n.trainMarkovChain=n.isLetterOrDigit=n.legalizeCharacters=n.allUpperWordStyle=n.firstUpperWordStyle=n.combineWords=n.capitalize=n.splitIntoWords=n.inflateBase64=n.checkArray=n.checkStringMap=n.parseJSON=n.assertNever=n.defined=n.assert=n.panic=n.IssueAnnotationData=n.Namer=n.funPrefixNamer=n.Name=n.parenIfNeeded=n.singleWord=n.modifySource=n.languageNamed=n.defaultTargetLanguages=n.TargetLanguage=n.getOptionValues=n.Option=n.Ref=n.JSONSchemaInput=n.jsonInputForTargetLanguage=n.JSONInput=n.InputData=n.CompressedJSON=n.inferenceFlagsObject=n.defaultInferenceFlags=n.inferenceFlagNames=n.inferenceFlags=n.combineRenderResults=n.quicktype=n.quicktypeMultiFileSync=n.quicktypeMultiFile=n.getTargetLanguage=void 0,n.uriTypeAttributeKind=n.ConvenienceRenderer=n.nullableFromUnion=n.matchType=n.removeNullFromUnion=n.StringTypes=n.namesTypeAttributeKind=n.makeNamesTypeAttributes=n.TypeNames=n.emptyTypeAttributes=n.TypeAttributeKind=n.derefTypeRef=n.TypeBuilder=n.sourcesFromPostmanCollection=n.JSONSchemaStore=n.FetchingJSONSchemaStore=n.readFromFileOrURL=n.readableFromFileOrURL=n.getStream=n.ObjectType=n.UnionType=n.MapType=n.EnumType=n.ClassProperty=void 0;var i=jL;Object.defineProperty(n,"getTargetLanguage",{enumerable:!0,get:function(){return i.getTargetLanguage}}),Object.defineProperty(n,"quicktypeMultiFile",{enumerable:!0,get:function(){return i.quicktypeMultiFile}}),Object.defineProperty(n,"quicktypeMultiFileSync",{enumerable:!0,get:function(){return i.quicktypeMultiFileSync}}),Object.defineProperty(n,"quicktype",{enumerable:!0,get:function(){return i.quicktype}}),Object.defineProperty(n,"combineRenderResults",{enumerable:!0,get:function(){return i.combineRenderResults}}),Object.defineProperty(n,"inferenceFlags",{enumerable:!0,get:function(){return i.inferenceFlags}}),Object.defineProperty(n,"inferenceFlagNames",{enumerable:!0,get:function(){return i.inferenceFlagNames}}),Object.defineProperty(n,"defaultInferenceFlags",{enumerable:!0,get:function(){return i.defaultInferenceFlags}}),Object.defineProperty(n,"inferenceFlagsObject",{enumerable:!0,get:function(){return i.inferenceFlagsObject}});var r=Hh;Object.defineProperty(n,"CompressedJSON",{enumerable:!0,get:function(){return r.CompressedJSON}});var s=hs;Object.defineProperty(n,"InputData",{enumerable:!0,get:function(){return s.InputData}}),Object.defineProperty(n,"JSONInput",{enumerable:!0,get:function(){return s.JSONInput}}),Object.defineProperty(n,"jsonInputForTargetLanguage",{enumerable:!0,get:function(){return s.jsonInputForTargetLanguage}});var o=Eg();Object.defineProperty(n,"JSONSchemaInput",{enumerable:!0,get:function(){return o.JSONSchemaInput}});var a=Eg();Object.defineProperty(n,"Ref",{enumerable:!0,get:function(){return a.Ref}});var c=pt;Object.defineProperty(n,"Option",{enumerable:!0,get:function(){return c.Option}}),Object.defineProperty(n,"getOptionValues",{enumerable:!0,get:function(){return c.getOptionValues}});var f=Ot;Object.defineProperty(n,"TargetLanguage",{enumerable:!0,get:function(){return f.TargetLanguage}});var d=ml;Object.defineProperty(n,"defaultTargetLanguages",{enumerable:!0,get:function(){return d.all}}),Object.defineProperty(n,"languageNamed",{enumerable:!0,get:function(){return d.languageNamed}});var p=$e;Object.defineProperty(n,"modifySource",{enumerable:!0,get:function(){return p.modifySource}}),Object.defineProperty(n,"singleWord",{enumerable:!0,get:function(){return p.singleWord}}),Object.defineProperty(n,"parenIfNeeded",{enumerable:!0,get:function(){return p.parenIfNeeded}});var y=qe;Object.defineProperty(n,"Name",{enumerable:!0,get:function(){return y.Name}}),Object.defineProperty(n,"funPrefixNamer",{enumerable:!0,get:function(){return y.funPrefixNamer}}),Object.defineProperty(n,"Namer",{enumerable:!0,get:function(){return y.Namer}});var h=Wt;Object.defineProperty(n,"IssueAnnotationData",{enumerable:!0,get:function(){return h.IssueAnnotationData}});var S=Ce;Object.defineProperty(n,"panic",{enumerable:!0,get:function(){return S.panic}}),Object.defineProperty(n,"assert",{enumerable:!0,get:function(){return S.assert}}),Object.defineProperty(n,"defined",{enumerable:!0,get:function(){return S.defined}}),Object.defineProperty(n,"assertNever",{enumerable:!0,get:function(){return S.assertNever}}),Object.defineProperty(n,"parseJSON",{enumerable:!0,get:function(){return S.parseJSON}}),Object.defineProperty(n,"checkStringMap",{enumerable:!0,get:function(){return S.checkStringMap}}),Object.defineProperty(n,"checkArray",{enumerable:!0,get:function(){return S.checkArray}}),Object.defineProperty(n,"inflateBase64",{enumerable:!0,get:function(){return S.inflateBase64}});var m=Ke;Object.defineProperty(n,"splitIntoWords",{enumerable:!0,get:function(){return m.splitIntoWords}}),Object.defineProperty(n,"capitalize",{enumerable:!0,get:function(){return m.capitalize}}),Object.defineProperty(n,"combineWords",{enumerable:!0,get:function(){return m.combineWords}}),Object.defineProperty(n,"firstUpperWordStyle",{enumerable:!0,get:function(){return m.firstUpperWordStyle}}),Object.defineProperty(n,"allUpperWordStyle",{enumerable:!0,get:function(){return m.allUpperWordStyle}}),Object.defineProperty(n,"legalizeCharacters",{enumerable:!0,get:function(){return m.legalizeCharacters}}),Object.defineProperty(n,"isLetterOrDigit",{enumerable:!0,get:function(){return m.isLetterOrDigit}});var v=Dn;Object.defineProperty(n,"trainMarkovChain",{enumerable:!0,get:function(){return v.train}});var C=Yt;Object.defineProperty(n,"QuickTypeError",{enumerable:!0,get:function(){return C.QuickTypeError}}),Object.defineProperty(n,"messageError",{enumerable:!0,get:function(){return C.messageError}}),Object.defineProperty(n,"messageAssert",{enumerable:!0,get:function(){return C.messageAssert}});var U=rt();Object.defineProperty(n,"Type",{enumerable:!0,get:function(){return U.Type}}),Object.defineProperty(n,"PrimitiveType",{enumerable:!0,get:function(){return U.PrimitiveType}}),Object.defineProperty(n,"ArrayType",{enumerable:!0,get:function(){return U.ArrayType}}),Object.defineProperty(n,"ClassType",{enumerable:!0,get:function(){return U.ClassType}}),Object.defineProperty(n,"ClassProperty",{enumerable:!0,get:function(){return U.ClassProperty}}),Object.defineProperty(n,"EnumType",{enumerable:!0,get:function(){return U.EnumType}}),Object.defineProperty(n,"MapType",{enumerable:!0,get:function(){return U.MapType}}),Object.defineProperty(n,"UnionType",{enumerable:!0,get:function(){return U.UnionType}}),Object.defineProperty(n,"ObjectType",{enumerable:!0,get:function(){return U.ObjectType}});var x=ys;Object.defineProperty(n,"getStream",{enumerable:!0,get:function(){return x.getStream}});var J=ua;Object.defineProperty(n,"readableFromFileOrURL",{enumerable:!0,get:function(){return J.readableFromFileOrURL}}),Object.defineProperty(n,"readFromFileOrURL",{enumerable:!0,get:function(){return J.readFromFileOrURL}});var D=Tp;Object.defineProperty(n,"FetchingJSONSchemaStore",{enumerable:!0,get:function(){return D.FetchingJSONSchemaStore}});var K=Pl;Object.defineProperty(n,"JSONSchemaStore",{enumerable:!0,get:function(){return K.JSONSchemaStore}});var X=Sp;Object.defineProperty(n,"sourcesFromPostmanCollection",{enumerable:!0,get:function(){return X.sourcesFromPostmanCollection}});var E=Al();Object.defineProperty(n,"TypeBuilder",{enumerable:!0,get:function(){return E.TypeBuilder}});var j=ur();Object.defineProperty(n,"derefTypeRef",{enumerable:!0,get:function(){return j.derefTypeRef}});var ne=Tt;Object.defineProperty(n,"TypeAttributeKind",{enumerable:!0,get:function(){return ne.TypeAttributeKind}}),Object.defineProperty(n,"emptyTypeAttributes",{enumerable:!0,get:function(){return ne.emptyTypeAttributes}});var se=co;Object.defineProperty(n,"TypeNames",{enumerable:!0,get:function(){return se.TypeNames}}),Object.defineProperty(n,"makeNamesTypeAttributes",{enumerable:!0,get:function(){return se.makeNamesTypeAttributes}}),Object.defineProperty(n,"namesTypeAttributeKind",{enumerable:!0,get:function(){return se.namesTypeAttributeKind}});var re=ks();Object.defineProperty(n,"StringTypes",{enumerable:!0,get:function(){return re.StringTypes}});var T=et();Object.defineProperty(n,"removeNullFromUnion",{enumerable:!0,get:function(){return T.removeNullFromUnion}}),Object.defineProperty(n,"matchType",{enumerable:!0,get:function(){return T.matchType}}),Object.defineProperty(n,"nullableFromUnion",{enumerable:!0,get:function(){return T.nullableFromUnion}});var b=wt;Object.defineProperty(n,"ConvenienceRenderer",{enumerable:!0,get:function(){return b.ConvenienceRenderer}});var w=wh;Object.defineProperty(n,"uriTypeAttributeKind",{enumerable:!0,get:function(){return w.uriTypeAttributeKind}}),t(cE,n)})(wd);const G9={border:"b base",flex:"~ items-center gap-2",sticky:"","left-0":"","right-0":"","top-0":"","z-1":"",p3:"","bg-base":""},q9=Ou("p",{"mr-2":""}," Schema ",-1),H9={key:0,flex:"~ items-center justify-center",absolute:"","bottom--1":"","right--2":"","h-4":"","w-4":"","rounded-full":"","bg-lime:30":"","text-8px":""},V9={flex:"~ col","w-100":"","of-auto":"",py2:""},K9={"text-xs":"",capitalize:"",op75:""},Z9=Ou("div",{"flex-auto":""},null,-1),aG=wR({__name:"DataSchemaDrawer",setup(n){const e=LR(),t=Pm(0),i=Pm("TypeScript"),r=nv(()=>ml.all.find(d=>d.displayName===i.value)),s=Pm(r.value?.optionDefinitions.filter(d=>typeof d.defaultValue=="boolean")),o=NR(async()=>{if(t.value,!e.value)return"";const d=wd.jsonInputForTargetLanguage(i.value);await d.addSource({name:e.value.name??"Data",samples:[e.value.input]});const p=new wd.InputData;return p.addInput(d),(await wd.quicktype({inputData:p,lang:i.value,rendererOptions:s.value?.reduce((h,S)=>(h[S.name]=S.defaultValue,h),{})})).lines.join(`
|
|
1032
|
+
`)}),a=nv(()=>{const d=i.value.toLocaleLowerCase();return d.startsWith("javascript")?"javascript":d.startsWith("json")?"json":d.startsWith("typescript")?"typescript":d});iv(s,()=>{t.value++},{deep:!0}),iv(i,()=>{s.value=r.value?.optionDefinitions.filter(d=>typeof d.defaultValue=="boolean")});const c=kR();function f(){c(o.value)}return(d,p)=>{const y=_R,h=CR,S=AR,m=FR,v=PR,C=MR;return ui(r)?(Ds(),jf(ER,{key:0,to:"body"},[Bf(C,{"model-value":!!ui(e)?.input,"auto-close":"","max-w-screen":"","w-2xl":"","n-code-block":"",onClose:p[2]||(p[2]=U=>e.value=null)},{default:tu(()=>[Ou("div",G9,[q9,Bf(y,{modelValue:ui(i),"onUpdate:modelValue":p[0]||(p[0]=U=>OR(i)?i.value=U:null),n:"xs primary"},{default:tu(()=>[(Ds(!0),Df(rv,null,sv(ui(ml.all),U=>(Ds(),Df("option",{key:U.displayName},Mm(U.displayName),1))),128))]),_:1},8,["modelValue"]),ui(s)?.length?(Ds(),jf(m,{key:0,n:"sm lime"},{trigger:tu(({click:U})=>[Bf(h,{icon:"carbon-settings","h-full":"",onClick:x=>U()},null,8,["onClick"]),ui(s)?(Ds(),Df("span",H9,Mm(ui(s).length),1)):Uf("",!0)]),default:tu(()=>[Ou("div",V9,[(Ds(!0),Df(rv,null,sv(ui(s),(U,x)=>(Ds(),jf(S,{key:U.name,modelValue:ui(s)[x].defaultValue,"onUpdate:modelValue":J=>ui(s)[x].defaultValue=J,flex:"~ gap-2",rounded:"",px2:"",py2:""},{default:tu(()=>[Ou("span",K9,Mm(U.description),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),128))])]),_:1})):Uf("",!0),Z9,Bf(h,{icon:"carbon-copy","mr-6":"","h-full":"",onClick:p[1]||(p[1]=U=>f())})]),ui(o)?(Ds(),jf(v,{key:0,lang:ui(a),code:ui(o)},null,8,["lang","code"])):Uf("",!0)]),_:1},8,["model-value"])])):Uf("",!0)}}});export{aG as default};
|